codex-coordination 0.0.0-stage → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agents/plugins/marketplace.json +16 -0
- package/CHANGELOG.md +159 -0
- package/LICENSE +201 -0
- package/NOTICE +26 -0
- package/README.md +114 -2
- package/README.zh-CN.md +128 -0
- package/docs/AMP-INTEGRATION.md +107 -0
- package/docs/AMP-INVENTORY.json +57868 -0
- package/docs/COORDINATION-TOOLS.md +75 -0
- package/docs/LIVE-TOOL-TEST-2026-11-03.md +139 -0
- package/docs/NOTIFICATIONS.md +28 -0
- package/docs/PROTOCOL.md +79 -0
- package/package.json +95 -4
- package/playwright.config.ts +9 -0
- package/plugins/codex-coordination/.codex-plugin/plugin.json +51 -0
- package/plugins/codex-coordination/.mcp.json +43 -0
- package/plugins/codex-coordination/README.md +21 -0
- package/plugins/codex-coordination/app/THIRD_PARTY_LICENSES.md +782 -0
- package/plugins/codex-coordination/app/index.html +173 -0
- package/plugins/codex-coordination/assets/COORDINATION_THIRD_PARTY_LICENSES.md +2844 -0
- package/plugins/codex-coordination/assets/THIRD_PARTY_LICENSES.md +1871 -0
- package/plugins/codex-coordination/assets/composer-icon.svg +13 -0
- package/plugins/codex-coordination/assets/logo.svg +19 -0
- package/plugins/codex-coordination/mcp/amp/api.mjs +359 -0
- package/plugins/codex-coordination/mcp/amp/artifacts.mjs +50 -0
- package/plugins/codex-coordination/mcp/amp/cognitive.mjs +134 -0
- package/plugins/codex-coordination/mcp/amp/config.mjs +22 -0
- package/plugins/codex-coordination/mcp/amp/connections.mjs +287 -0
- package/plugins/codex-coordination/mcp/amp/file-ports.mjs +65 -0
- package/plugins/codex-coordination/mcp/amp/hooks.mjs +57 -0
- package/plugins/codex-coordination/mcp/amp/host-client.mjs +50 -0
- package/plugins/codex-coordination/mcp/amp/host.mjs +1425 -0
- package/plugins/codex-coordination/mcp/amp/keys.mjs +155 -0
- package/plugins/codex-coordination/mcp/amp/registries.mjs +256 -0
- package/plugins/codex-coordination/mcp/amp/retrieval.mjs +463 -0
- package/plugins/codex-coordination/mcp/amp/runtime.mjs +352400 -0
- package/plugins/codex-coordination/mcp/amp/schemas.mjs +1710 -0
- package/plugins/codex-coordination/mcp/amp/search-process.mjs +63 -0
- package/plugins/codex-coordination/mcp/amp/search.mjs +399 -0
- package/plugins/codex-coordination/mcp/amp/workspace.mjs +820 -0
- package/plugins/codex-coordination/mcp/contracts.mjs +18 -0
- package/plugins/codex-coordination/mcp/coordination/host.mjs +432 -0
- package/plugins/codex-coordination/mcp/coordination/runtime.mjs +148783 -0
- package/plugins/codex-coordination/mcp/coordination/schema.mjs +1131 -0
- package/plugins/codex-coordination/mcp/coordination/tools.mjs +1157 -0
- package/plugins/codex-coordination/mcp/guidance.mjs +8 -0
- package/plugins/codex-coordination/mcp/lib/amp.mjs +606 -0
- package/plugins/codex-coordination/mcp/lib/check.mjs +244 -0
- package/plugins/codex-coordination/mcp/lib/collaboration.mjs +245 -0
- package/plugins/codex-coordination/mcp/lib/dashboard.mjs +31 -0
- package/plugins/codex-coordination/mcp/lib/goals.mjs +212 -0
- package/plugins/codex-coordination/mcp/lib/plans.mjs +454 -0
- package/plugins/codex-coordination/mcp/lib/protocol.mjs +8245 -0
- package/plugins/codex-coordination/mcp/lib/status.mjs +110 -0
- package/plugins/codex-coordination/mcp/lib/store.mjs +337 -0
- package/plugins/codex-coordination/mcp/lib/tools.mjs +541 -0
- package/plugins/codex-coordination/mcp/server.mjs +7944 -0
- package/plugins/codex-coordination/scripts/launch-mcp.cmd +43 -0
- package/plugins/codex-coordination/skills/amp-collaboration/SKILL.md +16 -0
- package/plugins/codex-coordination/skills/amp-delegation/SKILL.md +18 -0
- package/plugins/codex-coordination/skills/amp-duties/SKILL.md +22 -0
- package/plugins/codex-coordination/skills/amp-goals/SKILL.md +22 -0
- package/plugins/codex-coordination/skills/amp-handoffs/SKILL.md +22 -0
- package/plugins/codex-coordination/skills/amp-missions/SKILL.md +22 -0
- package/plugins/codex-coordination/skills/amp-planning/SKILL.md +18 -0
- package/plugins/codex-coordination/skills/amp-plans/SKILL.md +24 -0
- package/plugins/codex-coordination/skills/amp-runtime/SKILL.md +42 -0
- package/plugins/codex-coordination/skills/coordination-audit/SKILL.md +87 -0
- package/plugins/codex-coordination/skills/coordination-goals/SKILL.md +77 -0
- package/plugins/codex-coordination/skills/coordination-handoffs/SKILL.md +86 -0
- package/plugins/codex-coordination/skills/coordination-planning/SKILL.md +108 -0
- package/scripts/amp-conformance.mjs +435 -0
- package/scripts/amp-search-smoke.mjs +57 -0
- package/scripts/amp-snapshot.mjs +74 -0
- package/scripts/build-coordination.mjs +60 -0
- package/scripts/build.mjs +49 -0
- package/scripts/context-benchmark.mjs +19 -0
- package/scripts/inventory-amp.mjs +68 -0
- package/scripts/inventory-coordination.mjs +16 -0
- package/scripts/mcp-smoke.mjs +422 -0
- package/scripts/package-smoke.mjs +18 -0
- package/scripts/validate.mjs +236 -0
- package/src/app/AmpWorkbench.tsx +63 -0
- package/src/app/Dashboard.tsx +161 -0
- package/src/app/Notifications.tsx +70 -0
- package/src/app/bridge.ts +35 -0
- package/src/app/index.html +5 -0
- package/src/app/main.tsx +6 -0
- package/src/app/style.css +59 -0
- package/src/mcp/amp/api.mts +318 -0
- package/src/mcp/amp/artifacts.mts +41 -0
- package/src/mcp/amp/catalog.json +1 -0
- package/src/mcp/amp/cognitive.mts +98 -0
- package/src/mcp/amp/config.mts +32 -0
- package/src/mcp/amp/connections.mts +212 -0
- package/src/mcp/amp/file-ports.mts +52 -0
- package/src/mcp/amp/hooks.mts +45 -0
- package/src/mcp/amp/host-client.mts +27 -0
- package/src/mcp/amp/host.mts +360 -0
- package/src/mcp/amp/keys.mts +129 -0
- package/src/mcp/amp/registries.mts +195 -0
- package/src/mcp/amp/retrieval.mts +119 -0
- package/src/mcp/amp/runtime.mts +64 -0
- package/src/mcp/amp/schemas.mts +36 -0
- package/src/mcp/amp/search-process.mts +41 -0
- package/src/mcp/amp/search.mts +48 -0
- package/src/mcp/amp/workspace.mts +123 -0
- package/src/mcp/contracts.mts +75 -0
- package/src/mcp/coordination/catalog.json +1117 -0
- package/src/mcp/coordination/host.mts +73 -0
- package/src/mcp/coordination/runtime.d.mts +10 -0
- package/src/mcp/coordination/schema.mts +7 -0
- package/src/mcp/coordination/tools.mts +31 -0
- package/src/mcp/guidance.mts +1 -0
- package/src/mcp/lib/amp.mts +394 -0
- package/src/mcp/lib/check.mts +279 -0
- package/src/mcp/lib/collaboration.mts +348 -0
- package/src/mcp/lib/dashboard.mts +22 -0
- package/src/mcp/lib/goals.mts +286 -0
- package/src/mcp/lib/plans.mts +548 -0
- package/src/mcp/lib/protocol.mts +43 -0
- package/src/mcp/lib/status.mts +154 -0
- package/src/mcp/lib/store.mts +520 -0
- package/src/mcp/lib/tools.mts +628 -0
- package/src/mcp/server.mts +286 -0
- package/test/amp-connections.test.mjs +141 -0
- package/test/amp-domains.test.mjs +265 -0
- package/test/amp-host.test.mjs +110 -0
- package/test/amp.test.mjs +142 -0
- package/test/browser/dashboard.spec.ts +168 -0
- package/test/check.test.mjs +145 -0
- package/test/collaboration.test.mjs +198 -0
- package/test/coordination-tools.test.mjs +104 -0
- package/test/goals.test.mjs +142 -0
- package/test/helpers.mjs +164 -0
- package/test/plans.test.mjs +209 -0
- package/test/protocol.test.mjs +62 -0
- package/test/retrieval.test.mjs +63 -0
- package/test/store.test.mjs +147 -0
- package/tsconfig.app.json +24 -0
- package/tsconfig.json +23 -0
- package/vendor/coordination-runtime/LICENSE +201 -0
- package/vendor/coordination-runtime/NOTICE +12 -0
- package/vendor/coordination-runtime/SNAPSHOT.json +642 -0
- package/vendor/coordination-runtime/entry.ts +71 -0
- package/vendor/coordination-runtime/fs-async.ts +8 -0
- package/vendor/coordination-runtime/fs-guard.ts +19 -0
- package/vendor/coordination-runtime/fs-sync.ts +10 -0
- package/vendor/coordination-runtime/locale/en.json +6 -0
- package/vendor/coordination-runtime/locale/zh.json +6 -0
- package/vendor/coordination-runtime/package.json +123 -0
- package/vendor/coordination-runtime/src/host/adapters/sqlite/executionStore.ts +87 -0
- package/vendor/coordination-runtime/src/host/adapters/sqlite/professionStore.ts +120 -0
- package/vendor/coordination-runtime/src/host/adapters/sqlite/traceStore.ts +66 -0
- package/vendor/coordination-runtime/src/host/adapters/sqlite/turnStore.ts +126 -0
- package/vendor/coordination-runtime/src/host/amp.ts +1729 -0
- package/vendor/coordination-runtime/src/host/ampCollaboration.ts +192 -0
- package/vendor/coordination-runtime/src/host/ampCollaborationTools.ts +166 -0
- package/vendor/coordination-runtime/src/host/ampExtensions.ts +276 -0
- package/vendor/coordination-runtime/src/host/ampPlanning.ts +549 -0
- package/vendor/coordination-runtime/src/host/ampPlanningTools.ts +248 -0
- package/vendor/coordination-runtime/src/host/ampRoutes.ts +375 -0
- package/vendor/coordination-runtime/src/host/ampScope.ts +251 -0
- package/vendor/coordination-runtime/src/host/ampSkills.ts +316 -0
- package/vendor/coordination-runtime/src/host/ampStore.ts +262 -0
- package/vendor/coordination-runtime/src/host/ampSubagents.ts +81 -0
- package/vendor/coordination-runtime/src/host/approve.ts +248 -0
- package/vendor/coordination-runtime/src/host/approveTools.ts +201 -0
- package/vendor/coordination-runtime/src/host/bayesian.ts +1105 -0
- package/vendor/coordination-runtime/src/host/cache.ts +296 -0
- package/vendor/coordination-runtime/src/host/cacheStrategy.ts +710 -0
- package/vendor/coordination-runtime/src/host/chain.ts +1697 -0
- package/vendor/coordination-runtime/src/host/cognition.ts +630 -0
- package/vendor/coordination-runtime/src/host/command.ts +201 -0
- package/vendor/coordination-runtime/src/host/compact.ts +210 -0
- package/vendor/coordination-runtime/src/host/compactionState.ts +88 -0
- package/vendor/coordination-runtime/src/host/comprehension.ts +1980 -0
- package/vendor/coordination-runtime/src/host/config.ts +557 -0
- package/vendor/coordination-runtime/src/host/control.ts +811 -0
- package/vendor/coordination-runtime/src/host/controlRoutes.ts +300 -0
- package/vendor/coordination-runtime/src/host/controlTools.ts +646 -0
- package/vendor/coordination-runtime/src/host/coordination.ts +1555 -0
- package/vendor/coordination-runtime/src/host/database.ts +1482 -0
- package/vendor/coordination-runtime/src/host/directive.ts +84 -0
- package/vendor/coordination-runtime/src/host/dsh.ts +690 -0
- package/vendor/coordination-runtime/src/host/emotion.ts +900 -0
- package/vendor/coordination-runtime/src/host/environment.ts +252 -0
- package/vendor/coordination-runtime/src/host/executionStore.ts +18 -0
- package/vendor/coordination-runtime/src/host/fileGate.ts +389 -0
- package/vendor/coordination-runtime/src/host/goal.ts +168 -0
- package/vendor/coordination-runtime/src/host/graphIndex.ts +145 -0
- package/vendor/coordination-runtime/src/host/graphStore.ts +619 -0
- package/vendor/coordination-runtime/src/host/graphView.ts +5205 -0
- package/vendor/coordination-runtime/src/host/handle.ts +50 -0
- package/vendor/coordination-runtime/src/host/harnessSync.ts +474 -0
- package/vendor/coordination-runtime/src/host/knowledge.ts +305 -0
- package/vendor/coordination-runtime/src/host/leanSchemas.ts +66 -0
- package/vendor/coordination-runtime/src/host/learning.ts +546 -0
- package/vendor/coordination-runtime/src/host/modelBrand.ts +289 -0
- package/vendor/coordination-runtime/src/host/module.ts +355 -0
- package/vendor/coordination-runtime/src/host/nodeRegistry.ts +629 -0
- package/vendor/coordination-runtime/src/host/notify.ts +306 -0
- package/vendor/coordination-runtime/src/host/notifyTools.ts +215 -0
- package/vendor/coordination-runtime/src/host/orchestration.ts +1101 -0
- package/vendor/coordination-runtime/src/host/organization.ts +586 -0
- package/vendor/coordination-runtime/src/host/parseService.ts +1540 -0
- package/vendor/coordination-runtime/src/host/permission.ts +547 -0
- package/vendor/coordination-runtime/src/host/plan.ts +1172 -0
- package/vendor/coordination-runtime/src/host/predict.ts +624 -0
- package/vendor/coordination-runtime/src/host/profession.ts +447 -0
- package/vendor/coordination-runtime/src/host/professionStore.ts +49 -0
- package/vendor/coordination-runtime/src/host/provider.ts +446 -0
- package/vendor/coordination-runtime/src/host/proxyAdapter.ts +308 -0
- package/vendor/coordination-runtime/src/host/proxyService.ts +881 -0
- package/vendor/coordination-runtime/src/host/resource.ts +830 -0
- package/vendor/coordination-runtime/src/host/row.ts +372 -0
- package/vendor/coordination-runtime/src/host/score.ts +206 -0
- package/vendor/coordination-runtime/src/host/search.ts +354 -0
- package/vendor/coordination-runtime/src/host/searchTools.ts +179 -0
- package/vendor/coordination-runtime/src/host/selection.ts +863 -0
- package/vendor/coordination-runtime/src/host/session.ts +109 -0
- package/vendor/coordination-runtime/src/host/settingsStore.ts +88 -0
- package/vendor/coordination-runtime/src/host/stateCard.ts +164 -0
- package/vendor/coordination-runtime/src/host/takeover.ts +309 -0
- package/vendor/coordination-runtime/src/host/takeoverGate.ts +706 -0
- package/vendor/coordination-runtime/src/host/texSync.ts +125 -0
- package/vendor/coordination-runtime/src/host/text/book.ts +887 -0
- package/vendor/coordination-runtime/src/host/text/cFamily.ts +1769 -0
- package/vendor/coordination-runtime/src/host/text/cache.ts +170 -0
- package/vendor/coordination-runtime/src/host/text/dependency.ts +325 -0
- package/vendor/coordination-runtime/src/host/text/formula.ts +1353 -0
- package/vendor/coordination-runtime/src/host/text/index.ts +186 -0
- package/vendor/coordination-runtime/src/host/text/java.ts +1535 -0
- package/vendor/coordination-runtime/src/host/text/javascript.ts +2408 -0
- package/vendor/coordination-runtime/src/host/text/markup.ts +3589 -0
- package/vendor/coordination-runtime/src/host/text/maven.ts +673 -0
- package/vendor/coordination-runtime/src/host/text/npm.ts +581 -0
- package/vendor/coordination-runtime/src/host/text/office.ts +1635 -0
- package/vendor/coordination-runtime/src/host/text/parser.ts +1827 -0
- package/vendor/coordination-runtime/src/host/text/php.ts +1458 -0
- package/vendor/coordination-runtime/src/host/text/python.ts +1131 -0
- package/vendor/coordination-runtime/src/host/text/rust.ts +1392 -0
- package/vendor/coordination-runtime/src/host/text/sentence.ts +349 -0
- package/vendor/coordination-runtime/src/host/text/tex.ts +1278 -0
- package/vendor/coordination-runtime/src/host/text/tokenizer.ts +528 -0
- package/vendor/coordination-runtime/src/host/token.ts +1393 -0
- package/vendor/coordination-runtime/src/host/toolCatalog.ts +197 -0
- package/vendor/coordination-runtime/src/host/toolProfiles.ts +58 -0
- package/vendor/coordination-runtime/src/host/toolTiming.ts +78 -0
- package/vendor/coordination-runtime/src/host/tools.ts +4180 -0
- package/vendor/coordination-runtime/src/host/trace.ts +125 -0
- package/vendor/coordination-runtime/src/host/tracePort.ts +24 -0
- package/vendor/coordination-runtime/src/host/traceStore.ts +9 -0
- package/vendor/coordination-runtime/src/host/turn.ts +450 -0
- package/vendor/coordination-runtime/src/host/turnStore.ts +55 -0
- package/vendor/coordination-runtime/src/host/workspaceTools.ts +337 -0
- package/vendor/coordination-runtime/src/protocol/canonical.ts +39 -0
- package/vendor/coordination-runtime/src/protocol/envelope.ts +624 -0
- package/vendor/coordination-runtime/src/protocol/errors.ts +47 -0
- package/vendor/coordination-runtime/src/protocol/frame.ts +543 -0
- package/vendor/coordination-runtime/src/protocol/ids.ts +33 -0
- package/vendor/coordination-runtime/src/protocol/index.ts +29 -0
- package/vendor/coordination-runtime/src/protocol/ledger.ts +926 -0
- package/vendor/coordination-runtime/src/protocol/manifest.ts +278 -0
- package/vendor/coordination-runtime/src/protocol/plan.ts +224 -0
- package/vendor/coordination-runtime/src/protocol/receipt.ts +235 -0
- package/vendor/coordination-runtime/src/protocol/sha256.ts +18 -0
- package/vendor/coordination-runtime/src/protocol/social.ts +274 -0
- package/vendor/coordination-runtime/src/protocol/types.ts +144 -0
- package/vendor/coordination-runtime/src/protocol/warrant.ts +344 -0
- package/vendor/coordination-runtime/src/shared/about.ts +431 -0
- package/vendor/coordination-runtime/src/shared/ampInsights.ts +33 -0
- package/vendor/coordination-runtime/src/shared/ampScope.ts +20 -0
- package/vendor/coordination-runtime/src/shared/approve.ts +65 -0
- package/vendor/coordination-runtime/src/shared/ast.ts +622 -0
- package/vendor/coordination-runtime/src/shared/control.ts +253 -0
- package/vendor/coordination-runtime/src/shared/entity.ts +996 -0
- package/vendor/coordination-runtime/src/shared/enum.ts +579 -0
- package/vendor/coordination-runtime/src/shared/error.ts +180 -0
- package/vendor/coordination-runtime/src/shared/graph.ts +381 -0
- package/vendor/coordination-runtime/src/shared/grid.ts +404 -0
- package/vendor/coordination-runtime/src/shared/hash.ts +231 -0
- package/vendor/coordination-runtime/src/shared/heap.ts +324 -0
- package/vendor/coordination-runtime/src/shared/i18n.ts +3332 -0
- package/vendor/coordination-runtime/src/shared/jsonSafe.ts +136 -0
- package/vendor/coordination-runtime/src/shared/list.ts +358 -0
- package/vendor/coordination-runtime/src/shared/lru.ts +882 -0
- package/vendor/coordination-runtime/src/shared/map.ts +276 -0
- package/vendor/coordination-runtime/src/shared/node.ts +102 -0
- package/vendor/coordination-runtime/src/shared/nodeRecord.ts +232 -0
- package/vendor/coordination-runtime/src/shared/notification.ts +103 -0
- package/vendor/coordination-runtime/src/shared/redblack.ts +662 -0
- package/vendor/coordination-runtime/src/shared/selection.ts +973 -0
- package/vendor/coordination-runtime/src/shared/service.ts +437 -0
- package/vendor/coordination-runtime/src/shared/set.ts +288 -0
- package/vendor/coordination-runtime/src/shared/stack.ts +309 -0
- package/vendor/coordination-runtime/src/shared/tree.ts +835 -0
- package/vendor/coordination-runtime/src/shared/trie.ts +212 -0
- package/vite.config.ts +48 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "codex-coordination",
|
|
3
|
+
"interface": {
|
|
4
|
+
"displayName": "Codex Coordination"
|
|
5
|
+
},
|
|
6
|
+
"plugins": [
|
|
7
|
+
{
|
|
8
|
+
"name": "codex-coordination",
|
|
9
|
+
"source": {
|
|
10
|
+
"source": "local",
|
|
11
|
+
"path": "./plugins/codex-coordination"
|
|
12
|
+
},
|
|
13
|
+
"category": "Productivity"
|
|
14
|
+
}
|
|
15
|
+
]
|
|
16
|
+
}
|
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project are documented here. The format follows
|
|
4
|
+
Keep a Changelog; the project adheres to Semantic Versioning.
|
|
5
|
+
|
|
6
|
+
## [0.5.1] — 2026-11-03
|
|
7
|
+
|
|
8
|
+
- Render coordination_notification with Periodicity Snackbar, Popover, Dialog and Alert, including anchors, severity, multiline messages, durations and dismiss-only actions.
|
|
9
|
+
- Share agent-delivered and workbench notifications through a deduplicated display queue; support notification-only MCP App views.
|
|
10
|
+
- Add production bridge checks for all four surfaces, dismissal, timed closure, queue order, replay deduplication and initial notification delivery.
|
|
11
|
+
|
|
12
|
+
## [0.5.0] — 2026-11-03
|
|
13
|
+
|
|
14
|
+
- Copy all 24 agent tool implementations and eight workflow skills from deepseek-coordination 0.23.2, keeping formal coordination_* names. Verify a 152-file source snapshot before every build; retain licenses and notices.
|
|
15
|
+
- Add coordination_project over native AMP. Merge colliding goal/plan/workspace interfaces with their existing parameter forms; preserve the original JSON ledger and all 60 canonical AMP definitions. The combined surface has 98 tools and 13 skills.
|
|
16
|
+
- Bind copied file operations to AMP authorization, commands and approvals to correlated MCP host decisions, notifications to MCP results/UI, and search plus knowledge-file metadata to the existing AMP Elasticsearch backend.
|
|
17
|
+
- Add coordination_context search/read/detail/metrics: exact tool discovery, one-call native reading/settlement, compact default pages, durable full-result references, explicit file/target line ranges and static catalog/projection accounting.
|
|
18
|
+
- Shorten server guidance, compact JSON transport text and workspace diagnostics, and expose every named tool in the React workbench.
|
|
19
|
+
- Preserve explicit boundaries for DSH-only composer, native-child and conversation-compaction ports. Measure output characters separately from unknown Codex token/cache usage.
|
|
20
|
+
|
|
21
|
+
## [0.4.1] — 2026-11-03
|
|
22
|
+
|
|
23
|
+
- Upgrade to AMP 0.6.3, which caches immutable input digests during compiler scanning and preserves the exact original revision/source bytes.
|
|
24
|
+
- Exclude this plugin's explicitly marked generated server bundles from semantic scans, retaining paged filesystem access and TypeScript source indexing.
|
|
25
|
+
- Add optional scan phase timings under CODEX_COORDINATION_DEBUG and a generated-bundle regression check. Fix first binding of this repository exceeding the MCP timeout.
|
|
26
|
+
- Advertise positional JSON argument types explicitly so MCP hosts can pass numbers, objects and nested arrays without stringifying them.
|
|
27
|
+
|
|
28
|
+
## [0.4.0] — 2026-11-03
|
|
29
|
+
|
|
30
|
+
- Import published AMP 0.6.2, including its compiler, Markdown, Office and TeX scanners; reuse native search and domain algorithms.
|
|
31
|
+
- Expose all 60 canonical AMP agent service definitions unchanged, nine host adapters and the existing seven coordination tools.
|
|
32
|
+
- Make all 16 registry families editable and connect their native consumers, including parser dispatch, SQL dialects, cognitive behaviors and tool aliases. Persist versions and replayable edits.
|
|
33
|
+
- Add native context settlement, schema artifacts, evidence, warrants, calibration, attention, delegation, governance, workflows, signed envelopes, key lifecycle and durable domain resource access.
|
|
34
|
+
- Bind configured MCP HTTP/stdio, A2A, AMP team and cooperation transports with native catalog pins, budgets, receipts and correlated host approval.
|
|
35
|
+
- Integrate native CognitiveRuntime, KernelRuntime and GovernedTask with SQLite sessions, turns, outbox and measured provider usage.
|
|
36
|
+
- Add the React / Periodicity AMP workbench, private host configuration, search process lifecycle and capability/configuration documentation.
|
|
37
|
+
|
|
38
|
+
## [0.3.1] — 2026-11-03
|
|
39
|
+
|
|
40
|
+
### Fixed
|
|
41
|
+
|
|
42
|
+
- Restore Periodicity React's default button and card ripple effects by removing
|
|
43
|
+
the wrapper overrides that disabled them.
|
|
44
|
+
- Publish a new plugin cache version so the repaired UI can be installed without
|
|
45
|
+
replacing the active 0.3.0 cache directory.
|
|
46
|
+
|
|
47
|
+
## [0.3.0] — 2026-11-03
|
|
48
|
+
|
|
49
|
+
### Changed
|
|
50
|
+
|
|
51
|
+
- Migrate server source to strict TypeScript under `src/mcp`, retaining generated
|
|
52
|
+
installable `.mjs` output and compatibility with version 2 ledgers.
|
|
53
|
+
- Import `attention-manifest-protocol@0.6.0` directly from npm for canonical JSON,
|
|
54
|
+
digests, cloning, goal lifecycle, plan preconditions, schemas and snapshot
|
|
55
|
+
verification. Bundle runtime dependencies; require Node.js 24+.
|
|
56
|
+
- Run AMP conformance against the installed npm package by default, retaining
|
|
57
|
+
optional `--amp` checkout comparisons.
|
|
58
|
+
|
|
59
|
+
### Added
|
|
60
|
+
|
|
61
|
+
- React 19 / `periodicity-react@0.1.15` dashboard with goals, plans, handoffs,
|
|
62
|
+
attention records, audits, filtering, snapshot export and JSON validation.
|
|
63
|
+
- MCP Apps HTML resource, thread entrypoint, structured tool results, host theme
|
|
64
|
+
and safe-area integration, plus a loopback read-only development preview.
|
|
65
|
+
- `coordination_protocol` for schema discovery, validation, and immutable
|
|
66
|
+
frame/receipt recording; `coordination_dashboard` for opening the interface.
|
|
67
|
+
- Lockfile, separate server/UI builds, third-party license output and browser
|
|
68
|
+
checks of responsive layouts and the production MCP Apps bridge.
|
|
69
|
+
|
|
70
|
+
## [0.2.0] — 2026-11-03
|
|
71
|
+
|
|
72
|
+
The ledger now emits strict AMP v0.1 artifacts instead of AMP-shaped
|
|
73
|
+
approximations.
|
|
74
|
+
|
|
75
|
+
### Added
|
|
76
|
+
|
|
77
|
+
- **AMP chain** (`mcp/lib/store.mjs`): entries are `{seq, kind, payload, prev, hash}`
|
|
78
|
+
with `hash = digestOf({seq, kind, payload, prev})`, `seq` from zero and
|
|
79
|
+
`seq 0` linked to `sha256:` + 64 zeros. The advisory `at` timestamp is host
|
|
80
|
+
metadata and is excluded from the hash.
|
|
81
|
+
- **`ledger-snapshot` export** (`snapshotOf`, `verifySnapshot`): `coordination_check`
|
|
82
|
+
with `action:"snapshot"` returns the artifact and refuses a chain that does not
|
|
83
|
+
verify; `scripts/amp-snapshot.mjs` writes the same value to
|
|
84
|
+
`<workspace>/.codex-coordination/ledger-snapshot.json`.
|
|
85
|
+
- **Reference conformance** (`scripts/amp-conformance.mjs`): imports
|
|
86
|
+
`attention-manifest-protocol` 0.5.0, compares `canonicalJson`/`digestOf` byte for
|
|
87
|
+
byte, validates every emitted Goal and Plan against `plan.schema.json`, validates
|
|
88
|
+
the snapshot against `ledger-snapshot.schema.json`, and verifies the chain with
|
|
89
|
+
the reference's own `verifySnapshot`.
|
|
90
|
+
- **Strict canonical JSON**: RFC 8785-style ordering plus rejection of
|
|
91
|
+
`undefined`, non-finite numbers, `-0`, unpaired surrogates, sparse arrays and
|
|
92
|
+
class instances.
|
|
93
|
+
- **Strict input validation**: `requireExactKeys` rejects unknown and missing
|
|
94
|
+
fields; AMP spellings (`commitment_window`, `abandon_if`) are required and
|
|
95
|
+
camelCase is rejected with the field to use instead.
|
|
96
|
+
|
|
97
|
+
### Changed
|
|
98
|
+
|
|
99
|
+
- **Goals** are stored as a strict AMP `Goal` artifact plus AMP's `GoalLifecycle`;
|
|
100
|
+
tool results return `goal` (the artifact) beside `lifecycle`, `createdAt`,
|
|
101
|
+
`updatedAt` and `history`.
|
|
102
|
+
- **Plans** are strict AMP `Plan` artifacts: `goal` and `abandon_if` are required,
|
|
103
|
+
`edges` are derived, `commitment_window` is 1–5, `budget` defaults to `{}`, and
|
|
104
|
+
`status`/`created` are stamped by the server. Every mutation appends the updated
|
|
105
|
+
artifact.
|
|
106
|
+
- **Duties** are explicitly host projections: no `amp`/`kind` fields, recorded in
|
|
107
|
+
the chain as bounded `duty.assigned` / `duty.transitioned` events.
|
|
108
|
+
- **Goal transitions** are chained as `event` entries (the artifact does not
|
|
109
|
+
change), **plan mutations** as updated `plan` entries.
|
|
110
|
+
- Ledger document version is **2**; chain truncation was removed, because a
|
|
111
|
+
truncated chain cannot verify from genesis.
|
|
112
|
+
|
|
113
|
+
### Removed
|
|
114
|
+
|
|
115
|
+
- The 0.1 journal shape (`{seq, at, type, id, data, prev, digest}`) and its
|
|
116
|
+
unprefixed hex digests. A 0.1 ledger is refused with `INVALID_STATE` rather than
|
|
117
|
+
re-chained.
|
|
118
|
+
|
|
119
|
+
## [0.1.0] — 2026-11-03
|
|
120
|
+
|
|
121
|
+
First release: a working Codex plugin, not a scaffold.
|
|
122
|
+
|
|
123
|
+
### Added
|
|
124
|
+
|
|
125
|
+
- **Local marketplace** (`.agents/plugins/marketplace.json`) listing the plugin,
|
|
126
|
+
so `codex plugin marketplace add <path>` is the whole installation.
|
|
127
|
+
- **Plugin manifest** with interface metadata, four skills and one MCP server.
|
|
128
|
+
- **MCP server** (`mcp/server.mjs`): stdio, one JSON object per line, JSON-RPC
|
|
129
|
+
2.0, sequential dispatch, protocol negotiation across `2025-06-18`,
|
|
130
|
+
`2025-03-26` and `2024-11-05`, and no third-party dependencies.
|
|
131
|
+
- **Ledger store** (`mcp/lib/store.mjs`): one `<workspace>/.codex-coordination/
|
|
132
|
+
ledger.json`, atomic temp-file rename, per-ledger serialisation, and an
|
|
133
|
+
append-only SHA-256 journal that verifies after truncation.
|
|
134
|
+
- **Goals** (`mcp/lib/goals.mjs`): AMP Goal objects with mandatory observable
|
|
135
|
+
checks, the five-state lifecycle, and an `achieved` gate over linked plans.
|
|
136
|
+
- **Plans** (`mcp/lib/plans.mjs`): up to 12 tasks, dependencies declared on the
|
|
137
|
+
task and edges derived, Kahn cycle detection, predecessor gates, automatic
|
|
138
|
+
draft → committed → executing promotion.
|
|
139
|
+
- **Handoffs** (`mcp/lib/collaboration.mjs`): owner/assignee duties, the
|
|
140
|
+
assignee-only and owner-only moves, evidence required on submit and review
|
|
141
|
+
required on verify.
|
|
142
|
+
- **Audit** (`mcp/lib/check.mjs`): chain verification plus structural
|
|
143
|
+
violations and warnings, with stable violation codes.
|
|
144
|
+
- **Five MCP tools**: `coordination_status`, `coordination_goal`,
|
|
145
|
+
`coordination_plan`, `coordination_handoff`, `coordination_check`.
|
|
146
|
+
- **Four skills**: `coordination-goals`, `coordination-planning`,
|
|
147
|
+
`coordination-handoffs`, `coordination-audit` (bilingual body notes).
|
|
148
|
+
- **Windows launcher** that resolves Node from `NODE_EXE`, `PATH`, the Codex
|
|
149
|
+
bundled runtime, or the standard install directory.
|
|
150
|
+
- **Tooling**: `scripts/validate.mjs` (manifests, skill frontmatter, tool
|
|
151
|
+
references), `scripts/mcp-smoke.mjs` (real stdio handshake, tool calls, a
|
|
152
|
+
tampered-digest check), and 30 `node:test` unit tests.
|
|
153
|
+
|
|
154
|
+
### Notes
|
|
155
|
+
|
|
156
|
+
- Identity is declared, not authenticated; the README and `docs/PROTOCOL.md`
|
|
157
|
+
say so where a reader might otherwise assume a security boundary.
|
|
158
|
+
- No `achieved`/`done`/`verified` transition runs the corresponding check. The
|
|
159
|
+
tools record assertions and enforce structure only.
|
package/LICENSE
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright [yyyy] [name of copyright owner]
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
package/NOTICE
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
codex-coordination
|
|
2
|
+
Copyright 2026 Eloy Kim
|
|
3
|
+
|
|
4
|
+
Licensed under the Apache License, Version 2.0 (see LICENSE).
|
|
5
|
+
|
|
6
|
+
This product imports attention-manifest-protocol 0.6.3 from npm, Copyright
|
|
7
|
+
2026 Eloy Kim, licensed under Apache-2.0. It bundles the published protocol,
|
|
8
|
+
scanner, registry, search, runtime, governance, signing and domain implementations,
|
|
9
|
+
together with all published JSON Schemas. AMP wire version is 0.1.
|
|
10
|
+
Host bindings and authorization boundaries are described in docs/AMP-INTEGRATION.md.
|
|
11
|
+
|
|
12
|
+
At the user's request, this product includes a source snapshot of
|
|
13
|
+
deepseek-coordination 0.23.2, Copyright 2026 Eloy Kim, under Apache-2.0.
|
|
14
|
+
Its 24 agent tool implementations and eight skills are ported with separate
|
|
15
|
+
Codex host adapters. Source hashes and boundaries are documented in
|
|
16
|
+
docs/COORDINATION-TOOLS.md. Original notices and bundled dependency licenses are
|
|
17
|
+
retained in assets/COORDINATION_THIRD_PARTY_LICENSES.md inside the plugin.
|
|
18
|
+
|
|
19
|
+
The React interface uses periodicity-react 0.1.15 (Apache-2.0), React and React
|
|
20
|
+
DOM (MIT), and the MCP Apps client SDK. Published schemas are validated with
|
|
21
|
+
Ajv and ajv-formats (MIT). Build tools bundle dependencies for installation;
|
|
22
|
+
the server runtime does not fetch code from npm.
|
|
23
|
+
|
|
24
|
+
Bundled server license texts and upstream notices are retained in
|
|
25
|
+
plugins/codex-coordination/assets/THIRD_PARTY_LICENSES.md. Bundled frontend
|
|
26
|
+
license texts are in plugins/codex-coordination/app/THIRD_PARTY_LICENSES.md.
|
package/README.md
CHANGED
|
@@ -1,3 +1,115 @@
|
|
|
1
|
-
#
|
|
1
|
+
# codex-coordination
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
A Codex plugin with a **TypeScript MCP server**, a **React 19 dashboard**, and 13 workflow skills. The server imports **attention-manifest-protocol 0.6.3 from npm**; the interface uses **periodicity-react 0.1.15**, including its default ripple effects.
|
|
4
|
+
|
|
5
|
+
**English** · [简体中文](README.zh-CN.md)
|
|
6
|
+
|
|
7
|
+
It exposes AMP's 60 original service tools, nine host adapters and the original coordination tools, plus all 24 coordination agent tools and coordination_project (overlapping names are merged): 98 tools total. Native registries, structured scanning, Elasticsearch search, context, governance, signing, delegation, connections and cognitive runtimes use AMP implementations. The **AMP 能力** dashboard tab calls the same tools. See [capability mapping and configuration](docs/AMP-INTEGRATION.md).
|
|
8
|
+
|
|
9
|
+
Goals, plans, handoffs, attention frames and receipts remain compatible with the existing version 2 `.codex-coordination/ledger.json` and AMP wire version `0.1`. Native AMP control and domain state use host-owned SQLite databases.
|
|
10
|
+
|
|
11
|
+
## Develop
|
|
12
|
+
|
|
13
|
+
Requires Node.js **24+** and npm.
|
|
14
|
+
|
|
15
|
+
```powershell
|
|
16
|
+
npm ci
|
|
17
|
+
npm run build
|
|
18
|
+
npm run dev
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
Open the local Vite URL, enter an absolute repository path, and inspect its real ledger. Browser development preview permits reading, auditing, snapshot export and schema validation. Recording changes uses the Codex MCP connection.
|
|
22
|
+
|
|
23
|
+
```powershell
|
|
24
|
+
npx playwright install chromium
|
|
25
|
+
npm run check
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
`check` runs strict TypeScript checks, both builds, plugin validation, unit tests, stdio MCP smoke tests, npm AMP conformance and browser tests at desktop/tablet/mobile widths. `npm run conformance -- --amp <checkout>` can additionally compare an explicit protocol checkout; its default is the installed npm package.
|
|
29
|
+
|
|
30
|
+
## Install in Codex
|
|
31
|
+
|
|
32
|
+
Install the published repository marketplace (the bundled marketplace launcher currently targets Windows):
|
|
33
|
+
|
|
34
|
+
```sh
|
|
35
|
+
codex plugin marketplace add eloyhere/codex-coordination --ref v0.5.1
|
|
36
|
+
codex plugin add codex-coordination@codex-coordination
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
The npm package also includes the compiled server, UI, skills and marketplace:
|
|
40
|
+
|
|
41
|
+
```sh
|
|
42
|
+
npm install codex-coordination@0.5.1
|
|
43
|
+
codex plugin marketplace add ./node_modules/codex-coordination
|
|
44
|
+
codex plugin add codex-coordination@codex-coordination
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
For a standalone stdio MCP command, use `npx -y codex-coordination@0.5.1`. This starts the MCP server; it does not register a plugin marketplace automatically.
|
|
48
|
+
|
|
49
|
+
Build before installing from source:
|
|
50
|
+
|
|
51
|
+
```powershell
|
|
52
|
+
npm ci
|
|
53
|
+
npm run build
|
|
54
|
+
codex plugin marketplace add R:\project\codex-coordination
|
|
55
|
+
codex plugin add codex-coordination@codex-coordination
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
Start a new chat after installing or reloading the plugin. In chat, ask Codex to open `coordination_dashboard` for the repository, or open Coordination from the chat's app entrypoint and enter the repository path. The React view is an MCP App resource, served through the local stdio process. It needs a host that supports MCP Apps; the ordinary tools also work without the interface.
|
|
59
|
+
|
|
60
|
+
The plugin contains built server modules and one self-contained HTML app. Its runtime dependencies are bundled during development, so the installed plugin does not run `npm install` or access npm. Keep Node.js 24+ available; the included Windows launcher also searches for the Codex-bundled runtime. On macOS/Linux, change `.mcp.json` to invoke `node mcp/server.mjs` from the plugin directory.
|
|
61
|
+
|
|
62
|
+
## Tools
|
|
63
|
+
|
|
64
|
+
| Tool | Purpose |
|
|
65
|
+
| --- | --- |
|
|
66
|
+
| `coordination_status` | Bounded ledger summary and next actions |
|
|
67
|
+
| `coordination_goal` | Create, list, read and advance observable goals |
|
|
68
|
+
| `coordination_plan` | Create and advance bounded dependency-aware plans |
|
|
69
|
+
| `coordination_handoff` | Assign, accept, start, submit and review duties |
|
|
70
|
+
| `coordination_check` | Audit consistency or export an AMP snapshot |
|
|
71
|
+
| `coordination_protocol` | Discover schemas, validate AMP artifacts, record/list frames and receipts |
|
|
72
|
+
| `coordination_dashboard` | Open the React view, inspect data and run audits |
|
|
73
|
+
|
|
74
|
+
The original ledger forms above take an absolute `workspace`, except that the dashboard entrypoint also accepts `{}`. Goal/plan calls without workspace use the copied workspace-bound interface; [all named tools and compatibility rules](docs/COORDINATION-TOOLS.md) are documented separately. Native AMP tools first bind a repository through `coordination_workspace`; credentials remain in the host.
|
|
75
|
+
|
|
76
|
+
The nine host adapters are `coordination_workspace`, `coordination_registry`, `coordination_context`, `coordination_amp`, `coordination_artifacts`, `coordination_keys`, `coordination_connections`, `coordination_runtime` and `coordination_hooks`. Start with `coordination_amp` action `describe` for the module catalog and original signatures. The bundled `amp-runtime` skill explains discovery, editable registries and resource handles.
|
|
77
|
+
|
|
78
|
+
`coordination_protocol` supports `describe`, `validate`, `record`, and `list`. Validation covers all 28 published JSON Schema root kinds. Its legacy ledger recording accepts immutable **frames and receipts only**; goal/plan writes retain their lifecycle tools. `coordination_artifacts` records other schema kinds in the native store. A repeated kind/id conflicts instead of overwriting history. List results are newest first, with a limit of 1–50.
|
|
79
|
+
|
|
80
|
+
```json
|
|
81
|
+
{
|
|
82
|
+
"workspace": "R:\\project\\my-project",
|
|
83
|
+
"action": "record",
|
|
84
|
+
"artifact": {
|
|
85
|
+
"amp": "0.1", "kind": "receipt", "id": "build-result",
|
|
86
|
+
"op": "act", "at": "2026-11-03T00:00:00Z",
|
|
87
|
+
"usage": {}, "outcome": "success", "note": "Build exit code was 0"
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
Only record observed outcomes. Frame/receipt fields are caller assertions: schema validation and the hash chain do not authenticate identities, measure usage, or prove evidence. A frame's `digest` retains the protocol's caller-provided meaning; the host computes the enclosing chain hash separately. [Protocol scope](docs/PROTOCOL.md) describes the boundaries.
|
|
93
|
+
|
|
94
|
+
## Source and build
|
|
95
|
+
|
|
96
|
+
| Path | Responsibility |
|
|
97
|
+
| --- | --- |
|
|
98
|
+
| `src/mcp/*.mts`, `src/mcp/lib/*.mts` | TypeScript server and host adapter; edit these files |
|
|
99
|
+
| `src/mcp/contracts.mts` | Shared server/UI data contracts |
|
|
100
|
+
| `src/app/` | React dashboard, MCP Apps bridge and styling |
|
|
101
|
+
| `scripts/build.mjs` | Bundle npm runtime dependencies while retaining shared store identity |
|
|
102
|
+
| `vite.config.ts` | Single-file UI build and local read-only preview |
|
|
103
|
+
| `plugins/codex-coordination/mcp/` | Generated installable server output |
|
|
104
|
+
| `plugins/codex-coordination/app/index.html` | Generated MCP App resource |
|
|
105
|
+
| `src/mcp/amp/` | Native AMP host adapters, generated export/signature catalog |
|
|
106
|
+
| `plugins/codex-coordination/skills/` | 13 coordination and AMP workflow skills |
|
|
107
|
+
| `test/`, `test/browser/` | Ledger, integration and real browser regression checks |
|
|
108
|
+
|
|
109
|
+
Run `npm run build` after source changes; generated files are retained for marketplace installation. `npm run serve` starts the built stdio service. `npm run snapshot -- --help` documents standalone snapshot export.
|
|
110
|
+
|
|
111
|
+
## Privacy and limits
|
|
112
|
+
|
|
113
|
+
Repository operations stay inside the selected authorized root. Host credentials, signing keys and native state stay in the host directory; configured search, model and protocol endpoints may receive requests. Endpoint metadata cannot grant a network connection. The Vite preview binds to loopback and accepts only read/validate operations. Keep one writer per legacy JSON ledger; cross-process locking is not provided there. Declared handoff identities are not authentication. Native sessions and signed operations have their own AMP authorization rules.
|
|
114
|
+
|
|
115
|
+
Apache-2.0. See [LICENSE](LICENSE), [NOTICE](NOTICE), and the bundled dependency notices under the plugin assets.
|
package/README.zh-CN.md
ADDED
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
# codex-coordination
|
|
2
|
+
|
|
3
|
+
Agent 可调用 `coordination_notification`,在插件界面显示 snackbar、popover、dialog 或 alert,支持严重程度、位置、自动关闭和关闭按钮。参见 [通知用法](docs/NOTIFICATIONS.md)。
|
|
4
|
+
|
|
5
|
+
一个包含 **TypeScript MCP 服务、React 19 界面与十三个工作流 skill** 的 Codex 插件。服务直接从 npm 导入 **attention-manifest-protocol 0.6.3**,界面使用 **periodicity-react 0.1.15** 并保留默认 ripple 特效。
|
|
6
|
+
|
|
7
|
+
**简体中文** · [English](README.md)
|
|
8
|
+
|
|
9
|
+
插件提供 AMP 原有的 60 个服务工具、9 个宿主适配工具和原有 7 个协调工具,合并 24 个 coordination agent 工具及 coordination_project,并处理同名兼容后,共 **98 个工具**。注册中心、结构扫描、Elasticsearch 搜索、上下文、治理、签名、委派、连接与认知运行时直接使用 AMP 实现。界面的 **AMP 能力** 标签页调用同一组工具。完整入口与配置见 [AMP 接入说明](docs/AMP-INTEGRATION.md)。
|
|
10
|
+
|
|
11
|
+
原有目标、计划、交接、注意帧与回执仍保存在 `.codex-coordination/ledger.json`,兼容 version 2 台账和 AMP wire tag `0.1`。AMP 原生控制和领域状态使用宿主侧 SQLite。
|
|
12
|
+
|
|
13
|
+
## 开发
|
|
14
|
+
|
|
15
|
+
需要 **Node.js 24+** 与 npm。
|
|
16
|
+
|
|
17
|
+
```powershell
|
|
18
|
+
npm ci
|
|
19
|
+
npm run build
|
|
20
|
+
npm run dev
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
打开 Vite 输出的本地地址,输入仓库绝对路径,即可查看真实台账。浏览器开发预览支持读取、审计、导出快照与校验协议对象;追加记录通过 Codex 中的 MCP 连接完成。
|
|
24
|
+
|
|
25
|
+
```powershell
|
|
26
|
+
npx playwright install chromium
|
|
27
|
+
npm run check
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
`check` 依次执行严格 TypeScript 检查、前后端构建、插件结构检查、单元测试、stdio MCP 冒烟测试、npm AMP 一致性检查,以及桌面、平板和手机宽度的浏览器测试。
|
|
31
|
+
|
|
32
|
+
`npm run conformance` 默认对照已安装的 npm 协议包;也可以用 `npm run conformance -- --amp <协议仓库路径>` 对照指定源码仓库。
|
|
33
|
+
|
|
34
|
+
## 安装到 Codex
|
|
35
|
+
|
|
36
|
+
从已发布的仓库自定义市场安装(当前随包市场启动器面向 Windows):
|
|
37
|
+
|
|
38
|
+
```sh
|
|
39
|
+
codex plugin marketplace add eloyhere/codex-coordination --ref v0.5.1
|
|
40
|
+
codex plugin add codex-coordination@codex-coordination
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
npm 包也包含编译后的服务、界面、skills 和市场目录:
|
|
44
|
+
|
|
45
|
+
```sh
|
|
46
|
+
npm install codex-coordination@0.5.1
|
|
47
|
+
codex plugin marketplace add ./node_modules/codex-coordination
|
|
48
|
+
codex plugin add codex-coordination@codex-coordination
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
仅需 stdio MCP 服务时可运行 `npx -y codex-coordination@0.5.1`;它不会自动注册插件市场。仓库自定义市场与 OpenAI 官方公共目录是不同的分发渠道。
|
|
52
|
+
|
|
53
|
+
从源码安装前先构建:
|
|
54
|
+
|
|
55
|
+
```powershell
|
|
56
|
+
npm ci
|
|
57
|
+
npm run build
|
|
58
|
+
codex plugin marketplace add R:\project\codex-coordination
|
|
59
|
+
codex plugin add codex-coordination@codex-coordination
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
安装或重新加载后新开一个聊天。可以请 Codex 调用 `coordination_dashboard` 打开当前仓库的界面,也可以从聊天的应用入口打开 Coordination,再输入仓库路径。
|
|
63
|
+
|
|
64
|
+
React 界面作为 MCP App 资源由本地 stdio 服务提供,需要宿主支持 MCP Apps;普通工具可以独立使用。构建产物包含服务模块和一个内联脚本、样式的 HTML 文件,npm 依赖在开发时打包,安装后的插件无需执行 `npm install` 或访问 npm。
|
|
65
|
+
|
|
66
|
+
Windows 启动器会寻找 PATH、`NODE_EXE` 或 Codex 自带的 Node 运行时。macOS/Linux 可将 `.mcp.json` 改为在插件目录运行 `node mcp/server.mjs`。运行时需要 Node.js 24+。
|
|
67
|
+
|
|
68
|
+
## 工具
|
|
69
|
+
|
|
70
|
+
| 工具 | 用途 |
|
|
71
|
+
| --- | --- |
|
|
72
|
+
| `coordination_status` | 有界台账概览与下一步动作 |
|
|
73
|
+
| `coordination_goal` | 创建、读取、列出和推进可观察目标 |
|
|
74
|
+
| `coordination_plan` | 创建和推进带依赖约束的有界计划 |
|
|
75
|
+
| `coordination_handoff` | 指派、接受、开始、提交及验收交接 |
|
|
76
|
+
| `coordination_check` | 审计台账或导出 AMP 快照 |
|
|
77
|
+
| `coordination_protocol` | 发现 schema、校验对象、追加及列出注意帧与回执 |
|
|
78
|
+
| `coordination_dashboard` | 打开 React 界面、查看记录及执行审计 |
|
|
79
|
+
|
|
80
|
+
上表的旧台账模式要求传入绝对 `workspace`,界面入口也接受 `{}`。goal/plan 不带 workspace 时使用迁入的工作区绑定接口;[完整工具清单与兼容规则](docs/COORDINATION-TOOLS.md) 单独说明。AMP 原生工具先通过 `coordination_workspace` 绑定仓库,认证凭证由宿主持有。
|
|
81
|
+
|
|
82
|
+
9 个宿主工具分别是 `coordination_workspace`、`coordination_registry`、`coordination_context`、`coordination_amp`、`coordination_artifacts`、`coordination_keys`、`coordination_connections`、`coordination_runtime` 和 `coordination_hooks`。从 `coordination_amp` 的 `describe` 查询模块、原始签名与绑定方式;新增的 `amp-runtime` skill 说明实际调用流程。
|
|
83
|
+
|
|
84
|
+
`coordination_protocol` 的 action:
|
|
85
|
+
|
|
86
|
+
- `describe`:查询 npm 协议版本、支持的类型;传 `kind` 时返回对应 schema。
|
|
87
|
+
- `validate`:覆盖协议包发布的全部 28 种 JSON Schema 根对象;快照还通过协议包自己的摘要链校验。其他类型的持久化通过 `coordination_artifacts` 进入原生对象存储。
|
|
88
|
+
- `record`:仅追加不可变的注意帧和回执,同 kind/id 重复会冲突。目标和计划仍通过原有生命周期工具写入。
|
|
89
|
+
- `list`:倒序读取注意帧和回执,可按 kind 筛选,limit 为 1–50。
|
|
90
|
+
|
|
91
|
+
追加回执示例:
|
|
92
|
+
|
|
93
|
+
```json
|
|
94
|
+
{
|
|
95
|
+
"workspace": "R:\\project\\my-project",
|
|
96
|
+
"action": "record",
|
|
97
|
+
"artifact": {
|
|
98
|
+
"amp": "0.1", "kind": "receipt", "id": "build-result",
|
|
99
|
+
"op": "act", "at": "2026-11-03T00:00:00Z",
|
|
100
|
+
"usage": {}, "outcome": "success", "note": "构建退出码为 0"
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
只记录实际观察到的结果。注意帧和回执中的字段属于调用者声明;schema 和摘要链不证明证据真实,不认证身份,也不会自动计量 token 或时间。注意帧的 `digest` 保留协议中调用者提供的含义,宿主另外计算外层台账链摘要。完整范围见 [协议说明](docs/PROTOCOL.md)。
|
|
106
|
+
|
|
107
|
+
## 代码结构
|
|
108
|
+
|
|
109
|
+
| 路径 | 职责 |
|
|
110
|
+
| --- | --- |
|
|
111
|
+
| `src/mcp/*.mts`、`src/mcp/lib/*.mts` | TypeScript 服务和 Codex 适配层,修改这里的源码 |
|
|
112
|
+
| `src/mcp/contracts.mts` | 前后端共享数据契约 |
|
|
113
|
+
| `src/app/` | React 界面、MCP Apps 桥接与样式 |
|
|
114
|
+
| `scripts/build.mjs` | 打包 npm 运行时依赖,保留台账事务队列的模块共享关系 |
|
|
115
|
+
| `vite.config.ts` | 单文件界面构建、本机只读预览接口 |
|
|
116
|
+
| `plugins/codex-coordination/mcp/` | 生成的可安装服务产物 |
|
|
117
|
+
| `plugins/codex-coordination/app/index.html` | 生成的 MCP App 资源 |
|
|
118
|
+
| `src/mcp/amp/` | AMP 宿主适配、生成的导出与签名目录 |
|
|
119
|
+
| `plugins/codex-coordination/skills/` | 十三个协调与 AMP 工作流技能 |
|
|
120
|
+
| `test/`、`test/browser/` | 台账、协议、工具和浏览器回归检查 |
|
|
121
|
+
|
|
122
|
+
修改源码后运行 `npm run build`。保留生成产物,便于 Codex marketplace 安装。`npm run serve` 启动构建后的 stdio 服务;`npm run snapshot -- --help` 查看独立导出命令。
|
|
123
|
+
|
|
124
|
+
## 数据与边界
|
|
125
|
+
|
|
126
|
+
仓库操作限制在选定的授权根目录,宿主凭证、签名私钥与原生状态保存在宿主目录。配置的搜索、模型和协议服务可以接收请求,单独编辑 endpoint 元数据不会授予网络连接。本地 Vite 预览只监听 loopback,仅开放读取和校验操作。旧 JSON 台账没有跨进程锁,同一工作区应只运行一个写入服务。交接身份属于声明;原生会话及签名操作使用 AMP 各自的授权机制。
|
|
127
|
+
|
|
128
|
+
Apache-2.0。参见 [LICENSE](LICENSE)、[NOTICE](NOTICE) 和插件 assets 中的依赖许可证。
|