Add trusted plugin surfaces#32
Open
JMidoro wants to merge 4 commits into
Open
Conversation
|
Nyx downstream integration found one Windows/Deno type-check issue while merging this plugin surface: The compatible declaration is: let timeoutId: ReturnType<typeof setTimeout> | undefined;We applied that downstream and the combined plugin API/Psycheros/Entity Core suite passes (35 focused plugin tests; 312 full repository tests). Everything else in the host integrated cleanly with our multimodal extensions. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
I can now load trusted local plugins from my persistent data directory, with separate entrypoints for my Psycheros embodiment and my canonical entity-core. This adds plugin manifest validation, prompt/context hooks, plugin tools, namespaced routes/assets, entity-core MCP tool/result extension points, plugin status surfacing, and backup/restore support while keeping plugin secrets out of portable exports.
Affected packages
packages/psycherospackages/entity-corepackages/entity-loompackages/launcherpackages/launcher-v2packages/plugin-apiChecklist
deno checkpasses for the affected entry pointsdeno lintpassesdeno fmt --checkpassesdocs/orCLAUDE.mdis updatedNotes
This adds a new workspace package,
packages/plugin-api, for shared plugin manifest/types/testing helpers. No new external dependency is introduced.Focused plugin tests pass with
deno test -A packages/plugin-api/tests/.A full
deno task testrun currently reaches the existing Windows temp-directory cleanup issue inpackages/entity-core/tests/runner_test.ts, where the test cleanup cannot remove a temp directory while a SQLite-backedGraphStorehandle is still open. That appears unrelated to this plugin surface.Related issues