@junghanacs/entwurf 0.12.9 → 0.12.10
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.md +134 -248
- package/BASELINE.md +1 -1
- package/CHANGELOG.md +19 -0
- package/DELIVERY.md +4 -3
- package/README.md +26 -13
- package/VERIFY.md +3 -2
- package/demo/demo.sh +7 -1
- package/docs/setup-clean-host.md +10 -4
- package/mcp/entwurf-bridge/dist/mcp/entwurf-bridge/src/index.js +159 -66
- package/mcp/entwurf-bridge/dist/pi-extensions/lib/acp/overlay.js +5 -3
- package/mcp/entwurf-bridge/dist/pi-extensions/lib/entwurf-core.js +26 -9
- package/mcp/entwurf-bridge/dist/pi-extensions/lib/entwurf-deliverability.js +10 -6
- package/mcp/entwurf-bridge/dist/pi-extensions/lib/entwurf-fact-provider.js +15 -17
- package/mcp/entwurf-bridge/dist/pi-extensions/lib/entwurf-facts.js +13 -13
- package/mcp/entwurf-bridge/dist/pi-extensions/lib/entwurf-resume-args.js +31 -41
- package/mcp/entwurf-bridge/dist/pi-extensions/lib/entwurf-self-address.js +8 -9
- package/mcp/entwurf-bridge/dist/pi-extensions/lib/entwurf-v2-contract.js +32 -25
- package/mcp/entwurf-bridge/dist/pi-extensions/lib/entwurf-v2-decider.js +4 -4
- package/mcp/entwurf-bridge/dist/pi-extensions/lib/entwurf-v2-lock.js +5 -4
- package/mcp/entwurf-bridge/dist/pi-extensions/lib/entwurf-v2-production.js +9 -11
- package/mcp/entwurf-bridge/dist/pi-extensions/lib/entwurf-v2-spawn-production.js +3 -1
- package/mcp/entwurf-bridge/dist/pi-extensions/lib/meta-session.js +17 -20
- package/mcp/entwurf-bridge/src/index.ts +190 -82
- package/package.json +5 -3
- package/pi-extensions/entwurf-control.ts +69 -27
- package/pi-extensions/lib/acp/overlay.ts +5 -3
- package/pi-extensions/lib/entwurf-core.ts +26 -9
- package/pi-extensions/lib/entwurf-deliverability.ts +10 -6
- package/pi-extensions/lib/entwurf-fact-provider.ts +15 -17
- package/pi-extensions/lib/entwurf-facts.ts +13 -13
- package/pi-extensions/lib/entwurf-resume-args.ts +40 -46
- package/pi-extensions/lib/entwurf-self-address.ts +8 -9
- package/pi-extensions/lib/entwurf-v2-contract-schema.ts +7 -2
- package/pi-extensions/lib/entwurf-v2-contract.ts +32 -25
- package/pi-extensions/lib/entwurf-v2-decider.ts +8 -8
- package/pi-extensions/lib/entwurf-v2-lock.ts +5 -4
- package/pi-extensions/lib/entwurf-v2-production.ts +14 -11
- package/pi-extensions/lib/entwurf-v2-spawn-production.ts +3 -1
- package/pi-extensions/lib/meta-session.ts +17 -20
- package/run.sh +48 -41
- package/scripts/agy-bridge-config.py +249 -49
- package/scripts/agy-bridge.sh +59 -14
- package/scripts/check-acp-carrier-augment.ts +34 -2
- package/scripts/check-acp-sdk-surface.ts +22 -11
- package/scripts/check-agy-permission-matrix.py +655 -0
- package/scripts/check-entwurf-deliverability.ts +9 -6
- package/scripts/check-entwurf-fact-provider.ts +7 -7
- package/scripts/check-entwurf-facts.ts +12 -12
- package/scripts/check-entwurf-resume-args.ts +22 -60
- package/scripts/check-entwurf-self-address.ts +187 -4
- package/scripts/check-entwurf-v2-contract.ts +2 -2
- package/scripts/check-entwurf-v2-production.ts +5 -5
- package/scripts/check-entwurf-v2-spawn-production.ts +6 -2
- package/scripts/check-entwurf-v2-surface.ts +327 -14
- package/scripts/check-gate-qualification.ts +785 -0
- package/scripts/check-meta-identity-consumers.ts +1 -1
- package/scripts/check-shell-quote.ts +2 -1
- package/scripts/lib/mutation-qualify.ts +794 -0
- package/scripts/mutants/acp-augment.json +30 -0
- package/scripts/mutants/agy-permission.json +144 -0
- package/scripts/mutants/meta-identity.json +17 -0
- package/scripts/mutants/self-address.json +59 -0
- package/scripts/mutants/v2-surface.json +87 -0
- package/scripts/smoke-acp-raw-turn-live.ts +1 -1
- package/scripts/smoke-acp-v2-send-live.ts +33 -18
- package/scripts/smoke-agy-install-state.sh +205 -20
- package/scripts/smoke-entwurf-v2-matrix-live.ts +3 -2
- package/pi-extensions/lib/entwurf-mailbox-guard.ts +0 -100
- package/scripts/check-entwurf-mailbox-guard.ts +0 -266
|
@@ -4,12 +4,23 @@
|
|
|
4
4
|
// the peer-resolution that makes the Claude ACP adapter satisfiable:
|
|
5
5
|
//
|
|
6
6
|
// @agentclientprotocol/sdk 1.3.0 wire SDK (acp-bridge import source)
|
|
7
|
-
// @agentclientprotocol/claude-agent-acp 0.
|
|
7
|
+
// @agentclientprotocol/claude-agent-acp 0.62.0 Claude adapter (spawn binary)
|
|
8
8
|
// @anthropic-ai/sdk 0.100.1 peer-resolution pin ONLY (see below)
|
|
9
9
|
//
|
|
10
|
+
// 2026-07-27 bump 0.61.0 → 0.62.0: the adapter's own `dist/` is byte-identical
|
|
11
|
+
// across the two releases; 0.62.0 moves only its declared deps
|
|
12
|
+
// (claude-agent-sdk 0.3.217 → 0.3.219; its devDep anthropic sdk, which does not
|
|
13
|
+
// reach us). So this bump is a dependency refresh that carries NO adapter-code
|
|
14
|
+
// change — and specifically NOT a fix for the bundled-MCP readiness race
|
|
15
|
+
// (ROADMAP 🔴): 0.62.0 adds no explicit readiness fence. Effective runtime
|
|
16
|
+
// behavior is NOT claimed identical: the transitive SDK moved, and MCP startup
|
|
17
|
+
// lives inside it, so timing may differ — what is established is only that no
|
|
18
|
+
// new fence was added.
|
|
19
|
+
//
|
|
10
20
|
// The anthropic SDK is NOT an API client / auth surface here. It is a direct
|
|
11
|
-
// dep solely to satisfy @anthropic-ai/claude-agent-sdk@0.3.
|
|
12
|
-
// (>=0.93.0
|
|
21
|
+
// dep solely to satisfy @anthropic-ai/claude-agent-sdk@0.3.219's peer floor
|
|
22
|
+
// (>=0.93.0 — re-measured at 0.3.219, unchanged from 0.3.217, so the 0.100.1
|
|
23
|
+
// pin stands rather than rising mechanically); drop it and the tree resolves a stale 0.91.1 so the peer goes
|
|
13
24
|
// unmet — a failure that would only surface at the first raw turn. The
|
|
14
25
|
// lockfile proves the same shape. Source-level import / API-client
|
|
15
26
|
// instantiation / credential use stays forbidden — asserted in layer (4).
|
|
@@ -43,7 +54,7 @@ const pkg = JSON.parse(read("package.json")) as { dependencies?: Record<string,
|
|
|
43
54
|
const deps = pkg.dependencies ?? {};
|
|
44
55
|
const PINS: Record<string, string> = {
|
|
45
56
|
"@agentclientprotocol/sdk": "1.3.0",
|
|
46
|
-
"@agentclientprotocol/claude-agent-acp": "0.
|
|
57
|
+
"@agentclientprotocol/claude-agent-acp": "0.62.0",
|
|
47
58
|
[ANTHROPIC_SDK]: "0.100.1",
|
|
48
59
|
};
|
|
49
60
|
for (const [name, ver] of Object.entries(PINS)) {
|
|
@@ -63,13 +74,13 @@ for (const [name, ver] of Object.entries(PINS)) {
|
|
|
63
74
|
const lock = read("pnpm-lock.yaml");
|
|
64
75
|
assert.match(
|
|
65
76
|
lock,
|
|
66
|
-
/@agentclientprotocol\/claude-agent-acp@0\.
|
|
67
|
-
"pnpm-lock: claude-agent-acp@0.
|
|
77
|
+
/@agentclientprotocol\/claude-agent-acp@0\.62\.0\(@anthropic-ai\/sdk@0\.100\.1/,
|
|
78
|
+
"pnpm-lock: claude-agent-acp@0.62.0 must peer-resolve @anthropic-ai/sdk@0.100.1 (peer-pin), not the stale 0.91.1",
|
|
68
79
|
);
|
|
69
80
|
assert.match(
|
|
70
81
|
lock,
|
|
71
|
-
/@anthropic-ai\/claude-agent-sdk@0\.3\.
|
|
72
|
-
"pnpm-lock: claude-agent-sdk@0.3.
|
|
82
|
+
/@anthropic-ai\/claude-agent-sdk@0\.3\.219\(@anthropic-ai\/sdk@0\.100\.1/,
|
|
83
|
+
"pnpm-lock: claude-agent-sdk@0.3.219 must peer-resolve @anthropic-ai/sdk@0.100.1 — else its >=0.93.0 peer floor is unmet",
|
|
73
84
|
);
|
|
74
85
|
|
|
75
86
|
// ---------------------------------------------------------------------------
|
|
@@ -108,8 +119,8 @@ const casEntry = adapterRequire.resolve("@anthropic-ai/claude-agent-sdk");
|
|
|
108
119
|
const casInfo = pkgInfoFromEntry(casEntry);
|
|
109
120
|
assert.equal(
|
|
110
121
|
casInfo.version,
|
|
111
|
-
"0.3.
|
|
112
|
-
`@anthropic-ai/claude-agent-sdk must runtime-resolve to 0.3.
|
|
122
|
+
"0.3.219",
|
|
123
|
+
`@anthropic-ai/claude-agent-sdk must runtime-resolve to 0.3.219 from the adapter context (got ${casInfo.version})`,
|
|
113
124
|
);
|
|
114
125
|
const casRequire = createRequire(resolve(casInfo.dir, "package.json"));
|
|
115
126
|
const sdkEntry = casRequire.resolve(ANTHROPIC_SDK);
|
|
@@ -152,7 +163,7 @@ const mcpEntry = casRequire.resolve("@modelcontextprotocol/sdk/server/index.js")
|
|
|
152
163
|
const mcpInfo = pkgInfoFromEntry(mcpEntry);
|
|
153
164
|
assert.ok(
|
|
154
165
|
mcpInfo.version.startsWith("1.29."),
|
|
155
|
-
`@modelcontextprotocol/sdk must runtime-resolve to 1.29.x from the claude-agent-sdk context (got ${mcpInfo.version}) — claude-agent-sdk 0.3.
|
|
166
|
+
`@modelcontextprotocol/sdk must runtime-resolve to 1.29.x from the claude-agent-sdk context (got ${mcpInfo.version}) — claude-agent-sdk 0.3.219 declares a ^1.29.0 peer`,
|
|
156
167
|
);
|
|
157
168
|
|
|
158
169
|
// ---------------------------------------------------------------------------
|