Avoid host RPCs from event handlers#5
Conversation
4463629 to
08c4c86
Compare
|
Thanks for the careful report and patch. We agreed with the core intent here: subscribed Paperclip event callbacks should not call host-scoped APIs that may require an active invocation scope. We did not merge this branch as-is because its memory-only event path removed immediate persistence and broke our restart/replay guarantees for event-derived Focus state. Instead, we shipped the fix in
Published in To update: paperclipai plugin uninstall tomismeta.paperclip-aperture --force
paperclipai plugin install @tomismeta/paperclip-apertureIf the host supports package updates directly, installing the package again without a version suffix should pick up the Closing this PR because the issue has been addressed on |
|
Closed after shipping the event-scope-safe implementation in v0.4.7. |
Summary
issues,state, orstreamsAPIsVerification
Note
Local verification used
pnpm install --frozen-lockfile --ignore-workspace --ignore-scriptsbecause pnpm 11 required interactive build-script approval for esbuild in this clean clone.