GeezerVison is showing github.com — feat: support portable Agent Plugins end to end by reachjalil · Pull Request #3594 · different-ai/openwork
Conversation
reachjalil
commented
Aug 6, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Summary
- publish OpenWork Connect as a portable Agent Plugins package with the existing production Streamable HTTP endpoint and the
search_capabilities → execute_capability workflow
- recognize Agent Plugin packages at repository roots or subdirectories in Den's GitHub discovery and Library import paths
- accept the published Agent Plugins 1.0.0 schema and the schema-identical 1.1.0 working draft without invalidating existing 1.0.0 packages
- validate fixed package entrypoints, import valid Agent Skills and remote MCP servers independently, and preserve exact source-format/schema provenance
- retain existing Claude-compatible discovery and import behavior, including repositories that carry both package markers
- document the current MCP 2026 transport contract and the explicit partial-import boundaries
Compatibility 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.json and mcp.json to declare the same version. A mismatch disables MCP for that package without hiding independent valid skills.
Discovery follows the standard fixed locations:
- root
plugin.json
- root
mcp.json
- immediate
skills/<name>/SKILL.md entrypoints
Agent 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-http but 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:
- stateless MCP
2026-07-28 with fresh request-local servers
- the existing MCP
2025-11-25 compatibility path
- client-managed OAuth protected-resource discovery and credential storage
This 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.json and .claude-plugin/plugin.json retain their established discovery behavior
- when both an explicit Claude manifest and Agent Plugin manifest are present, Den preserves the Claude-compatible interpretation
- legacy
mcp/mcpServers parsing and its existing static-header behavior are covered by a regression witness
Supported import boundary
Den imports:
- conforming Agent Skills whose instructions are contained in
SKILL.md
- safe remote
streamable-http MCP entries
- legacy remote
sse entries supported by the current connection runtime
- valid siblings when another component is malformed or unsupported
Den reports and skips:
- local
stdio servers, pending a desktop execution and trust policy
- remote entries with package-defined static headers, because Den does not persist or forward arbitrary package headers
- extra scripts, references, and assets beside
SKILL.md; the entrypoint imports and omitted files are surfaced in preview
- non-loopback plain-HTTP URLs, URLs with user information or fragments, invalid server variants, and mixed schema versions
The administrator-facing preview exposes these limits as invalid_config, invalid_url, headers_unsupported, or local_unsupported instead of implying a complete install.
Product changes
- adds
integrations/agent-plugins/openwork-connect/ with plugin.json, mcp.json, and the OpenWork Connect Agent Skill
- adds Agent Plugin recognition to public and connected GitHub discovery
- maps supported package components into the existing Den Plugin, config-object, MCP-connection, marketplace, team, member, and grant model
- adds nullable
source_format and source_schema_version Plugin provenance via migration 0083_tidy_carnage.sql (renumbered from 0079 after rebasing past dev migrations 0079-0082)
- returns provenance and Agent Plugin status through API, Den UI, and desktop extension projections
- adds setup/import documentation and a focused repository-native proof spec
Verification
Exact candidate:
- base:
95442220a8748c4bb37607e6682187d64cd20f40
- head:
3beeed15a012346184b0f00c409effe928c835d4
Passed locally on the exact head:
- repository-native PR proof: 1/1 spec passed, witnessing 39 product tests
- 30 Den API package, discovery, import-policy, and compatibility tests
- 3 Den Web import-flow tests
- 6 MCP endpoint stateless/current-and-compatibility tests
- Den API TypeScript check
- Den Web TypeScript check
- desktop app TypeScript check
- Den DB generation/build; a second generation reports no schema changes
- generated OpenAPI document parses successfully and changes only the 11 feature-owned schemas; servers and paths remain unchanged
git diff --check
The 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 shape
evals:typecheck: existing repository-wide NodeNext/import/type errors; this PR's proof spec executes successfully and is not present in the reported error list
GitHub 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
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
mintlify
Bot
commented
Aug 6, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
vercel
Bot
commented
Aug 6, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
reachjalil
commented
Aug 26, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
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
screenshots not uploaded (no BLOB_READ_WRITE_TOKEN)
ℹ️ ASSERTION — 1. Published packages and the current working draft remain interoperable
The 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.
- ✅ PASS Published packages and the current working draft remain interoperable — The 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 visible
The 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.
- ✅ PASS Portable component failures stay isolated and visible — The 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 intact
The 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.
- ✅ PASS Existing Claude-compatible import behavior remains intact — The 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 clients
The 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.
- ✅ PASS The package endpoint negotiates current MCP without dropping existing clients — The 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: evals/results/test-runs/2026-08-28T18-23-35-665Z-agent-plugins-import-stays-portable-across-current-schemas-and-mcp-transport/test-run.json · Repro: pnpm --dir evals artifacts:publish -- --pr 3594 --test-run 2026-08-28T18-23-35-665Z-agent-plugins-import-stays-portable-across-current-schemas-and-mcp-transport
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
reachjalil
changed the title
feat: support Agent Plugins v1 end to end
feat: support portable Agent Plugins end to end
Aug 26, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This branch was successfully deployed
6 active (1 outdated)
deployments
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.
|