Repository navigation
feat(extensions): MCP Client、Plugin 包与受限生命周期 Hooks - #114
Merged
Merged
Conversation
Qiyuanqiii
marked this pull request as ready for review
August 20, 2026 06:07
29 of 30 tasks
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.
Closes #104
Summary
plugin.v1packages with inert staging, two-stage capability review, pinned HTTPS/Git imports, publisher trust, upgrade/rollback/revoke, audit, and Desktop/CLI/HTTP controlsdeny,narrow,annotate,record) across tool, Run, Session, compaction, Specialist, and checkpoint boundariesSecurity boundaries
full_accesshost capability. Its process has a minimal environment and bounded lifecycle, but it is not Docker/OS filesystem isolation.Conflict reconciliation
mainat4fa37c5without rewriting the PR branch history8887138Verification
go test -count=1 -timeout 30m ./internal/store(866.350s locally)go test -race -count=1 ./internal/mcp ./internal/plugins ./internal/hooks ./internal/uievidencego vet ./...go mod tidy -diffnpm test(62 files / 269 tests)npm run typechecknpm run buildnpm audit --audit-level=high(0 vulnerabilities)npm run check:apiCI follow-up
go test ./...suite while raising its per-package deadline from 20 to 30 minutes; the migration-heavy Store suite took 988 seconds in one hosted run and exceeded 1,200 seconds in another8887138passed CI run 32341250820 and Desktop release run 32341250829