Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

system.invokeFunctionOnServer syscall to force proxying syscalls to server #974

Merged
merged 1 commit into from
Jul 24, 2024

Conversation

justyns
Copy link
Contributor

@justyns justyns commented Jul 24, 2024

Related to justyns/silverbullet-ai#47

It's pretty much a copy of system.invokeFunction, but always uses proxySyscall. I'm not committed to this approach if there's a better idea

@zefhemel
Copy link
Collaborator

Let's go with this to start and see how far it get you.

@zefhemel zefhemel merged commit 1d8dfb9 into silverbulletmd:main Jul 24, 2024
1 check passed
@zefhemel
Copy link
Collaborator

Once you confirmed this helps, probably it's nice to add a wrapper like this one too: https://github.com/silverbulletmd/silverbullet/blob/main/plug-api/syscalls/system.ts#L6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants