Repository navigation
feat: support portable Agent Plugins end to end - #3594
Conversation
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
c0b4cd0 to
6d43f6d
Compare
Test evidence — agent-plugins-import-stays-portable-across-current-schemas-and-mcp-transport — 0/0 screenshots passed · 4 assertions✅ 0/0 screenshots passed · 4 assertions · 4 expectations passed · 0 failed · 0 pending
ℹ️ ASSERTION — 1. Published packages and the current working draft remain interoperableThe shipped OpenWork Connect package targets published Agent Plugins 1.0.0, while discovery and import accept the schema-identical 1.1.0 working draft, preserve the recognized source version, and reject a mixed plugin.json and mcp.json version without disabling independent component types.
ℹ️ ASSERTION — 2. Portable component failures stay isolated and visibleThe import witness accepts conforming immediate Agent Skills and safe remote MCP entries, skips a directory-name mismatch or invalid server independently, and exposes unsupported stdio, static-header, and malformed configuration states to the administrator-facing preview.
ℹ️ ASSERTION — 3. Existing Claude-compatible import behavior remains intactThe regression witness preserves the legacy mcp object parser and its static-header behavior, and an explicit Claude plugin manifest keeps the established Claude interpretation when both package markers exist.
ℹ️ ASSERTION — 4. The package endpoint negotiates current MCP without dropping existing clientsThe OpenWork Connect package selects Streamable HTTP without pinning a wire revision; the endpoint witness serves stateless MCP 2026-07-28 with fresh request-local servers and retains its 2025 compatibility path.
Test run created 2026-08-28T18:23:35.665Z · Source: |
6d43f6d to
d1f07c4
Compare
There was a problem hiding this comment.
Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (d1f07c48c2e20c7690a86fcfd53af7a0924d26a2). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run
d1f07c4 to
cafeaf2
Compare
cafeaf2 to
c6b9b7e
Compare
There was a problem hiding this comment.
Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (c6b9b7e3c7d2f7fb7701a604a11e487f979f755a). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run
c6b9b7e to
3beeed1
Compare
There was a problem hiding this comment.
Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (3beeed15a012346184b0f00c409effe928c835d4). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run
Summary
search_capabilities→execute_capabilityworkflowCompatibility contract
Agent Plugins
The shipped package deliberately targets published Agent Plugins 1.0.0 for broad client compatibility. Den explicitly recognizes both:
https://agent-plugins.org/schemas/1.0.0/...https://agent-plugins.org/schemas/1.1.0/...(working draft)The 1.0.0 and 1.1.0 schemas currently have the same validation rules. Den preserves the recognized version as provenance and requires a package's
plugin.jsonandmcp.jsonto declare the same version. A mismatch disables MCP for that package without hiding independent valid skills.Discovery follows the standard fixed locations:
plugin.jsonmcp.jsonskills/<name>/SKILL.mdentrypointsAgent Skills must satisfy the Agent Skills name/description/body constraints and the frontmatter name must match its parent directory. Invalid skills and invalid MCP server entries are reported and skipped independently.
MCP
The portable package selects
streamable-httpbut does not pin a wire revision or store a session identifier, protocol header, token, or static authorization value.The existing OpenWork Connect endpoint now has explicit regression evidence for:
2026-07-28with fresh request-local servers2025-11-25compatibility pathThis PR does not replace the endpoint, change its OAuth boundary, or introduce a second connection model.
Existing behavior
Existing Claude-compatible repositories remain valid:
.claude-plugin/marketplace.jsonand.claude-plugin/plugin.jsonretain their established discovery behaviormcp/mcpServersparsing and its existing static-header behavior are covered by a regression witnessSupported import boundary
Den imports:
SKILL.mdstreamable-httpMCP entriessseentries supported by the current connection runtimeDen reports and skips:
stdioservers, pending a desktop execution and trust policySKILL.md; the entrypoint imports and omitted files are surfaced in previewThe administrator-facing preview exposes these limits as
invalid_config,invalid_url,headers_unsupported, orlocal_unsupportedinstead of implying a complete install.Product changes
integrations/agent-plugins/openwork-connect/withplugin.json,mcp.json, and the OpenWork Connect Agent Skillsource_formatandsource_schema_versionPlugin provenance via migration0083_tidy_carnage.sql(renumbered from 0079 after rebasing past dev migrations 0079-0082)Verification
Exact candidate:
95442220a8748c4bb37607e6682187d64cd20f403beeed15a012346184b0f00c409effe928c835d4Passed locally on the exact head:
git diff --checkThe import-policy unit test stubs the app auth module the same way the
repository's bearer-session test does: dev now imports the auth module
statically through the session middleware, and constructing real better-auth
seeds the OAuth resource registry against a database the no-DB unit lane does
not provide.
Exact-head assertion evidence is published in the PR's
<!-- test-evidence -->comment.Two broader checks are already red on the untouched base and are not changed here:
mcp-agent-config-policy.test.ts: 14 pass / 2 fail on both base and candidate because the assertions still expect an older OpenAPI body shapeevals:typecheck: existing repository-wide NodeNext/import/type errors; this PR's proof spec executes successfully and is not present in the reported error listGitHub checks on the refreshed exact head passed, including the required Ubuntu and macOS test matrix, CodeQL, Warden security and desktop/Den sync reviews, schema/migration consistency, Den container builds and smoke tests, documentation, i18n, and preview deployments. Neutral or intentionally skipped checks are non-blocking.
Specifications