@embassys/ambassador 0.2.7 → 0.2.9
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/README.md +25 -4
- package/dist/agent-capabilities.d.ts +1 -2
- package/dist/agent-capabilities.js +12 -24
- package/dist/agent-capabilities.js.map +1 -1
- package/dist/direct-delivery.js +2 -3
- package/dist/direct-delivery.js.map +1 -1
- package/docs/getting-started-claude.md +10 -7
- package/docs/getting-started-codex.md +8 -6
- package/docs/getting-started-gemini.md +7 -5
- package/docs/getting-started-hermes.md +9 -5
- package/docs/getting-started-openclaw.md +8 -5
- package/docs/live-qualification.md +126 -10
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@ agent over ACP v1 or to an authenticated webhook.
|
|
|
7
7
|
## Start
|
|
8
8
|
|
|
9
9
|
```sh
|
|
10
|
-
npx --yes @embassys/ambassador@
|
|
10
|
+
npx --yes @embassys/ambassador@latest start
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
- No Ambassador token or environment variable is needed for direct delivery.
|
|
@@ -23,18 +23,39 @@ npx --yes @embassys/ambassador@0.2.7 start
|
|
|
23
23
|
Direct delivery supports OpenClaw, Hermes, Codex, Claude Code, and Gemini CLI.
|
|
24
24
|
Webhook delivery supports OpenClaw and Hermes. Unknown or incomplete profiles
|
|
25
25
|
fail closed. The agent cannot choose an executable, adapter, or arbitrary
|
|
26
|
-
delivery implementation.
|
|
26
|
+
delivery implementation. Ambassador matches exact known MCP client and ACP
|
|
27
|
+
agent names, but treats their reported versions as diagnostic metadata. It
|
|
28
|
+
tries the fixed ACP v1 contract and reports an actual incompatibility at
|
|
29
|
+
startup, initialization, session creation, or delivery.
|
|
27
30
|
|
|
28
31
|
The central integration uses the unversioned REST API at
|
|
29
32
|
`https://mcp.embassys.ai`. Verification binds the central token to an
|
|
30
33
|
Ambassador-owned P-256 key. Protected requests use Bearer authorization plus a
|
|
31
34
|
separate DPoP proof. Ambassador does not use the central MCP endpoint.
|
|
32
35
|
|
|
36
|
+
## Repeat a local registration test
|
|
37
|
+
|
|
38
|
+
Stop the foreground Ambassador process, then move the entire local Ambassador
|
|
39
|
+
state directory to Trash or to an owner-only backup:
|
|
40
|
+
|
|
41
|
+
- macOS: `~/Library/Application Support/ambassador`
|
|
42
|
+
- Linux: `$XDG_STATE_HOME/ambassador`, or `~/.local/state/ambassador` when
|
|
43
|
+
`XDG_STATE_HOME` is unset
|
|
44
|
+
|
|
45
|
+
Remove the directory as one unit. Deleting only `delivery-profile.json`, the
|
|
46
|
+
encrypted credential, or its key leaves an intentionally invalid partial state.
|
|
47
|
+
The next `ambassador start` creates clean local state. This does not delete the
|
|
48
|
+
central registration, so use a new disposable email when rerunning without
|
|
49
|
+
server-side cleanup. It does not change the agent's normal provider
|
|
50
|
+
configuration or credentials.
|
|
51
|
+
|
|
33
52
|
## Implementation status
|
|
34
53
|
|
|
35
54
|
The REST, DPoP, delivery, and zero-configuration startup paths are implemented.
|
|
36
|
-
|
|
37
|
-
|
|
55
|
+
Live-central qualification has passed with real Codex and with Hermes Agent
|
|
56
|
+
0.20.5 in both delivery modes. Ambassador 0.2.8 includes that Hermes direct
|
|
57
|
+
profile. Four other profile/mode cases remain open under the disclosed release
|
|
58
|
+
exception in
|
|
38
59
|
[ADR 0015](docs/adr/0015-npm-distribution.md); outstanding work remains in the
|
|
39
60
|
[implementation plan](docs/implementation-plan.md).
|
|
40
61
|
|
|
@@ -9,7 +9,6 @@ export interface DirectAgentCapability {
|
|
|
9
9
|
readonly args: readonly string[];
|
|
10
10
|
readonly agentInfo: {
|
|
11
11
|
readonly name: string;
|
|
12
|
-
readonly versions: readonly string[];
|
|
13
12
|
};
|
|
14
13
|
readonly mcp: McpConfigurationBehavior;
|
|
15
14
|
readonly environment: readonly string[];
|
|
@@ -18,7 +17,7 @@ export interface AgentCapability {
|
|
|
18
17
|
readonly kind: string;
|
|
19
18
|
readonly displayName: string;
|
|
20
19
|
readonly enabled: boolean;
|
|
21
|
-
readonly aliases: readonly
|
|
20
|
+
readonly aliases: readonly string[];
|
|
22
21
|
readonly modes: readonly DeliveryMode[];
|
|
23
22
|
readonly direct?: DirectAgentCapability;
|
|
24
23
|
readonly qualificationCases: readonly string[];
|
|
@@ -6,12 +6,12 @@ export const PRODUCTION_AGENT_CAPABILITIES = [
|
|
|
6
6
|
kind: "openclaw",
|
|
7
7
|
displayName: "OpenClaw",
|
|
8
8
|
enabled: true,
|
|
9
|
-
aliases: [
|
|
9
|
+
aliases: ["openclaw-bundle-mcp"],
|
|
10
10
|
modes: ["direct", "webhook"],
|
|
11
11
|
direct: {
|
|
12
12
|
command: "openclaw",
|
|
13
13
|
args: ["acp"],
|
|
14
|
-
agentInfo: { name: "openclaw-acp"
|
|
14
|
+
agentInfo: { name: "openclaw-acp" },
|
|
15
15
|
mcp: "provider_config",
|
|
16
16
|
environment: [
|
|
17
17
|
"HOME",
|
|
@@ -34,12 +34,12 @@ export const PRODUCTION_AGENT_CAPABILITIES = [
|
|
|
34
34
|
kind: "hermes",
|
|
35
35
|
displayName: "Hermes",
|
|
36
36
|
enabled: true,
|
|
37
|
-
aliases: [
|
|
37
|
+
aliases: ["mcp"],
|
|
38
38
|
modes: ["direct", "webhook"],
|
|
39
39
|
direct: {
|
|
40
40
|
command: "hermes-acp",
|
|
41
41
|
args: [],
|
|
42
|
-
agentInfo: { name: "hermes-agent"
|
|
42
|
+
agentInfo: { name: "hermes-agent" },
|
|
43
43
|
mcp: "session",
|
|
44
44
|
environment: [
|
|
45
45
|
"HOME",
|
|
@@ -62,15 +62,12 @@ export const PRODUCTION_AGENT_CAPABILITIES = [
|
|
|
62
62
|
kind: "codex",
|
|
63
63
|
displayName: "Codex",
|
|
64
64
|
enabled: true,
|
|
65
|
-
aliases: [
|
|
66
|
-
{ name: "codex-mcp-client", version: "0.149.0" },
|
|
67
|
-
{ name: "codex-mcp-client", version: "0.152.1" },
|
|
68
|
-
],
|
|
65
|
+
aliases: ["codex-mcp-client"],
|
|
69
66
|
modes: ["direct"],
|
|
70
67
|
direct: {
|
|
71
68
|
command: "codex-acp",
|
|
72
69
|
args: [],
|
|
73
|
-
agentInfo: { name: "@agentclientprotocol/codex-acp"
|
|
70
|
+
agentInfo: { name: "@agentclientprotocol/codex-acp" },
|
|
74
71
|
mcp: "session",
|
|
75
72
|
environment: [
|
|
76
73
|
"CODEX_API_KEY",
|
|
@@ -96,15 +93,12 @@ export const PRODUCTION_AGENT_CAPABILITIES = [
|
|
|
96
93
|
kind: "claude",
|
|
97
94
|
displayName: "Claude Code",
|
|
98
95
|
enabled: true,
|
|
99
|
-
aliases: [
|
|
100
|
-
{ name: "claude-code", version: "2.1.257" },
|
|
101
|
-
{ name: "claude-code", version: "2.1.258" },
|
|
102
|
-
],
|
|
96
|
+
aliases: ["claude-code"],
|
|
103
97
|
modes: ["direct"],
|
|
104
98
|
direct: {
|
|
105
99
|
command: "claude-agent-acp",
|
|
106
100
|
args: [],
|
|
107
|
-
agentInfo: { name: "@agentclientprotocol/claude-agent-acp"
|
|
101
|
+
agentInfo: { name: "@agentclientprotocol/claude-agent-acp" },
|
|
108
102
|
mcp: "session",
|
|
109
103
|
environment: [
|
|
110
104
|
"ANTHROPIC_API_KEY",
|
|
@@ -130,12 +124,12 @@ export const PRODUCTION_AGENT_CAPABILITIES = [
|
|
|
130
124
|
kind: "gemini",
|
|
131
125
|
displayName: "Gemini CLI",
|
|
132
126
|
enabled: true,
|
|
133
|
-
aliases: [
|
|
127
|
+
aliases: ["gemini-cli-mcp-client"],
|
|
134
128
|
modes: ["direct"],
|
|
135
129
|
direct: {
|
|
136
130
|
command: "gemini",
|
|
137
131
|
args: ["--acp"],
|
|
138
|
-
agentInfo: { name: "gemini-cli"
|
|
132
|
+
agentInfo: { name: "gemini-cli" },
|
|
139
133
|
mcp: "session",
|
|
140
134
|
environment: [
|
|
141
135
|
"GEMINI_API_KEY",
|
|
@@ -169,10 +163,6 @@ function completeDirect(value) {
|
|
|
169
163
|
value.args.length <= 16 &&
|
|
170
164
|
value.args.every((argument) => BOUNDED_METADATA.test(argument)) &&
|
|
171
165
|
BOUNDED_METADATA.test(value.agentInfo.name) &&
|
|
172
|
-
value.agentInfo.versions.length > 0 &&
|
|
173
|
-
value.agentInfo.versions.length <= 16 &&
|
|
174
|
-
value.agentInfo.versions.every((version) => BOUNDED_METADATA.test(version)) &&
|
|
175
|
-
unique(value.agentInfo.versions) &&
|
|
176
166
|
(value.mcp === "provider_config" || value.mcp === "session") &&
|
|
177
167
|
value.environment.length <= 32 &&
|
|
178
168
|
value.environment.every((name) => ENVIRONMENT_NAME.test(name)) &&
|
|
@@ -192,9 +182,7 @@ export function isCompleteAgentCapability(value) {
|
|
|
192
182
|
!unique(value.qualificationCases)) {
|
|
193
183
|
return false;
|
|
194
184
|
}
|
|
195
|
-
|
|
196
|
-
if (!unique(aliases) ||
|
|
197
|
-
!value.aliases.every(({ name, version }) => BOUNDED_METADATA.test(name) && BOUNDED_METADATA.test(version))) {
|
|
185
|
+
if (!unique(value.aliases) || !value.aliases.every((name) => BOUNDED_METADATA.test(name))) {
|
|
198
186
|
return false;
|
|
199
187
|
}
|
|
200
188
|
if (value.modes.some((mode) => mode !== "direct" && mode !== "webhook"))
|
|
@@ -209,7 +197,7 @@ export function resolveAgentCapability(clientInfo, registry = PRODUCTION_AGENT_C
|
|
|
209
197
|
return { status: "unsupported" };
|
|
210
198
|
const matches = registry.filter((profile) => profile.enabled &&
|
|
211
199
|
isCompleteAgentCapability(profile) &&
|
|
212
|
-
profile.aliases.
|
|
200
|
+
profile.aliases.includes(clientInfo.name));
|
|
213
201
|
return matches.length === 1 && matches[0] !== undefined
|
|
214
202
|
? { status: "matched", profile: matches[0] }
|
|
215
203
|
: { status: "unsupported" };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-capabilities.js","sourceRoot":"","sources":["../src/agent-capabilities.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"agent-capabilities.js","source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AC,OAAO,IAAI,yBAAyB,CAAC,OAAO,CAAC,CAC5F,CAAC;IACF,OAAO,OAAO,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;AACvD,CAAC"}
|
package/dist/direct-delivery.js
CHANGED
|
@@ -138,7 +138,7 @@ export class DirectDeliveryTarget {
|
|
|
138
138
|
if (process.platform === "win32" ||
|
|
139
139
|
this.#capability.command.length === 0 ||
|
|
140
140
|
this.#capability.args.length > 16 ||
|
|
141
|
-
this.#capability.agentInfo.
|
|
141
|
+
this.#capability.agentInfo.name.length === 0 ||
|
|
142
142
|
!this.#mcpEndpoint.startsWith("http://127.0.0.1:") ||
|
|
143
143
|
![
|
|
144
144
|
this.#initializationDeadlineMs,
|
|
@@ -229,8 +229,7 @@ export class DirectDeliveryTarget {
|
|
|
229
229
|
clientInfo: { name: "ambassador", version: "1" },
|
|
230
230
|
}, { cancellationSignal: initializeSignal }), initializeSignal);
|
|
231
231
|
if (initialized.protocolVersion !== acp.PROTOCOL_VERSION ||
|
|
232
|
-
initialized.agentInfo?.name !== this.#capability.agentInfo.name
|
|
233
|
-
!this.#capability.agentInfo.versions.includes(initialized.agentInfo.version)) {
|
|
232
|
+
initialized.agentInfo?.name !== this.#capability.agentInfo.name) {
|
|
234
233
|
throw new DirectDeliveryError("startup_failed");
|
|
235
234
|
}
|
|
236
235
|
const mcpServers = this.#capability.mcp === "session"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"direct-delivery.js","sourceRoot":"","sources":["../src/direct-delivery.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwC,KAAK,EAAE,MAAM,oBAAoB,CAAC;AACjF,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,EAAE,UAAU,IAAI,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAE3D,OAAO,KAAK,GAAG,MAAM,0BAA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,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;QACpB,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,CAAC;QACvB,MAAM,OAAO,CAAC,GAAG,CACf,CAAC,GAAG,IAAI,CAAC,eAAe,CAAC,CAAC,GAAG,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE;YAC5C,MAAM,YAAY,CAAC,KAAK,EAAE,IAAI,CAAC,kBAAkB,CAAC,CAAC;YACnD,IAAI,CAAC,eAAe,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QACrC,CAAC,CAAC,CACH,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
## Before you start
|
|
4
4
|
|
|
5
5
|
- Install Node.js `>=24.19.0 <25`.
|
|
6
|
-
-
|
|
7
|
-
- For direct delivery, install
|
|
8
|
-
so `claude-agent-acp` is on `PATH`.
|
|
6
|
+
- Install and authenticate the latest Claude Code release.
|
|
7
|
+
- For direct delivery, install the latest
|
|
8
|
+
`@agentclientprotocol/claude-agent-acp` so `claude-agent-acp` is on `PATH`.
|
|
9
9
|
- Sign in to Claude Code normally. Ambassador never receives your Claude
|
|
10
10
|
credential.
|
|
11
11
|
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
1. From the directory Claude Code may access, keep Ambassador running:
|
|
15
15
|
|
|
16
16
|
```sh
|
|
17
|
-
npx --yes @embassys/ambassador@
|
|
17
|
+
npx --yes @embassys/ambassador@latest start
|
|
18
18
|
```
|
|
19
19
|
|
|
20
20
|
2. Add `http://127.0.0.1:8787/mcp` as a Streamable HTTP MCP server in Claude
|
|
@@ -28,6 +28,9 @@
|
|
|
28
28
|
Ambassador will launch `claude-agent-acp` when a central message arrives. That
|
|
29
29
|
is a new gateway-managed session, not the chat used for registration.
|
|
30
30
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
Ambassador selects this profile by the exact known MCP client name, then tries
|
|
32
|
+
the fixed `claude-agent-acp` ACP v1 contract. Reported client and adapter
|
|
33
|
+
versions are diagnostic only. An incompatible release fails at startup, ACP
|
|
34
|
+
initialization, session creation, or delivery instead of being rejected by a
|
|
35
|
+
version list. See
|
|
36
|
+
[Qualification](qualification.md) for compatibility evidence.
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
## Before you start
|
|
4
4
|
|
|
5
5
|
- Install Node.js `>=24.19.0 <25`.
|
|
6
|
-
-
|
|
7
|
-
- For direct delivery, install `@agentclientprotocol/codex-acp`
|
|
6
|
+
- Install and authenticate the latest Codex release.
|
|
7
|
+
- For direct delivery, install the latest `@agentclientprotocol/codex-acp` so
|
|
8
8
|
`codex-acp` is on `PATH`.
|
|
9
9
|
- Sign in to Codex normally. Ambassador never receives your Codex credential.
|
|
10
10
|
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
1. From the directory Codex may access, keep Ambassador running:
|
|
14
14
|
|
|
15
15
|
```sh
|
|
16
|
-
npx --yes @embassys/ambassador@
|
|
16
|
+
npx --yes @embassys/ambassador@latest start
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
2. In another terminal, add its token-free local MCP endpoint:
|
|
@@ -31,6 +31,8 @@
|
|
|
31
31
|
Ambassador will launch `codex-acp` when a central message arrives. That is a
|
|
32
32
|
new gateway-managed session, not the chat used for registration.
|
|
33
33
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
34
|
+
Ambassador selects this profile by the exact known MCP client name, then tries
|
|
35
|
+
the fixed `codex-acp` ACP v1 contract. Reported client and adapter versions are
|
|
36
|
+
diagnostic only. An incompatible release fails at startup, ACP initialization,
|
|
37
|
+
session creation, or delivery instead of being rejected by a version list. See
|
|
38
|
+
[Qualification](qualification.md) for compatibility evidence.
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
## Before you start
|
|
4
4
|
|
|
5
5
|
- Install Node.js `>=24.19.0 <25`.
|
|
6
|
-
- Install and sign in to Gemini CLI
|
|
6
|
+
- Install and sign in to the latest Gemini CLI release.
|
|
7
7
|
- Gemini supplies native ACP through `gemini --acp`; no adapter is needed.
|
|
8
8
|
- Ambassador never receives your Gemini or Google credential.
|
|
9
9
|
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
1. From the directory Gemini CLI may access, keep Ambassador running:
|
|
13
13
|
|
|
14
14
|
```sh
|
|
15
|
-
npx --yes @embassys/ambassador@
|
|
15
|
+
npx --yes @embassys/ambassador@latest start
|
|
16
16
|
```
|
|
17
17
|
|
|
18
18
|
2. Add `http://127.0.0.1:8787/mcp` as a Streamable HTTP MCP server in Gemini
|
|
@@ -26,6 +26,8 @@
|
|
|
26
26
|
Ambassador will launch `gemini --acp` when a central message arrives. That is
|
|
27
27
|
a new gateway-managed session, not the chat used for registration.
|
|
28
28
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
Ambassador selects this profile by the exact known MCP client name, then tries
|
|
30
|
+
the fixed `gemini --acp` ACP v1 contract. Reported client and agent versions are
|
|
31
|
+
diagnostic only. An incompatible release fails at startup, ACP initialization,
|
|
32
|
+
session creation, or delivery instead of being rejected by a version list. See
|
|
33
|
+
[Qualification](qualification.md) for compatibility evidence.
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
## Before you start
|
|
4
4
|
|
|
5
5
|
- Install Node.js `>=24.19.0 <25`.
|
|
6
|
-
- Install and authenticate Hermes Agent
|
|
6
|
+
- Install and authenticate the latest Hermes Agent release.
|
|
7
7
|
- Make sure `hermes-acp` is on `PATH` for direct delivery.
|
|
8
8
|
- Ambassador never receives your provider credential.
|
|
9
9
|
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
1. From the directory Hermes may access, keep Ambassador running:
|
|
13
13
|
|
|
14
14
|
```sh
|
|
15
|
-
npx --yes @embassys/ambassador@
|
|
15
|
+
npx --yes @embassys/ambassador@latest start
|
|
16
16
|
```
|
|
17
17
|
|
|
18
18
|
2. Add `http://127.0.0.1:8787/mcp` as a Streamable HTTP MCP server in Hermes's
|
|
@@ -42,6 +42,10 @@ new gateway-managed session, not the chat used for registration.
|
|
|
42
42
|
- Hermes supplies `delivery.url` and `delivery.secret_env`; it never receives
|
|
43
43
|
the secret value.
|
|
44
44
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
45
|
+
Ambassador selects this profile by the exact known MCP client name, then tries
|
|
46
|
+
the fixed `hermes-acp` ACP v1 contract for direct delivery. Reported client and
|
|
47
|
+
agent versions are diagnostic only. An incompatible release fails at startup,
|
|
48
|
+
ACP initialization, session creation, or delivery instead of being rejected by
|
|
49
|
+
a version list. See
|
|
50
|
+
[Qualification](qualification.md) for the artifact-specific compatibility
|
|
51
|
+
evidence.
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
## Before you start
|
|
4
4
|
|
|
5
5
|
- Install Node.js `>=24.19.0 <25`.
|
|
6
|
-
- Install and authenticate OpenClaw
|
|
6
|
+
- Install and authenticate the latest OpenClaw release.
|
|
7
7
|
- Make sure `openclaw` is on `PATH` for direct delivery.
|
|
8
8
|
- Ambassador never receives your provider credential.
|
|
9
9
|
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
1. From the directory OpenClaw may access, keep Ambassador running:
|
|
13
13
|
|
|
14
14
|
```sh
|
|
15
|
-
npx --yes @embassys/ambassador@
|
|
15
|
+
npx --yes @embassys/ambassador@latest start
|
|
16
16
|
```
|
|
17
17
|
|
|
18
18
|
2. Add `http://127.0.0.1:8787/mcp` as a Streamable HTTP MCP server in
|
|
@@ -43,6 +43,9 @@ step 2 configured.
|
|
|
43
43
|
- OpenClaw supplies `delivery.url` and `delivery.secret_env`; it never receives
|
|
44
44
|
the secret value.
|
|
45
45
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
46
|
+
Ambassador selects this profile by the exact known MCP client name, then tries
|
|
47
|
+
the fixed `openclaw acp` ACP v1 contract for direct delivery. Reported client
|
|
48
|
+
and agent versions are diagnostic only. An incompatible release fails at
|
|
49
|
+
startup, ACP initialization, session creation, or delivery instead of being
|
|
50
|
+
rejected by a version list. See
|
|
51
|
+
[Qualification](qualification.md) for compatibility evidence.
|
|
@@ -10,8 +10,11 @@ general reply operations. It does test the deployed, action-specific
|
|
|
10
10
|
|
|
11
11
|
The runner covers the current package name, guided registration, one
|
|
12
12
|
full-message webhook target, and one direct target. The default direct target
|
|
13
|
-
is the deterministic mock ACP agent.
|
|
14
|
-
|
|
13
|
+
is the deterministic mock ACP agent. Separately confirmed modes use the fixed
|
|
14
|
+
Codex or Hermes profiles. Real-provider modes use isolated provider
|
|
15
|
+
configuration copies. Installed-version probes are observational; production
|
|
16
|
+
requires the exact known client and ACP agent names and then tries the fixed
|
|
17
|
+
ACP v1 contract.
|
|
15
18
|
|
|
16
19
|
## Safety
|
|
17
20
|
|
|
@@ -26,7 +29,7 @@ fixed Codex profile and `codex-acp` 1.8.0 with an isolated Codex login.
|
|
|
26
29
|
|
|
27
30
|
1. Pack and scan the exact candidate package.
|
|
28
31
|
2. Create two disposable identities through loopback local MCP.
|
|
29
|
-
3. Use the exact enabled `clientInfo`
|
|
32
|
+
3. Use the exact enabled `clientInfo.name` for one webhook profile and one
|
|
30
33
|
direct profile. Prove a dual-mode profile advertises direct as its default;
|
|
31
34
|
prove a direct-only profile proceeds without a delivery question.
|
|
32
35
|
4. Receive and use both verification emails without persisting their codes.
|
|
@@ -60,8 +63,8 @@ mode, the runner uses the mock ACP fixture compiled by `pnpm run test:build`
|
|
|
60
63
|
and does not run a paid provider.
|
|
61
64
|
|
|
62
65
|
For the real Codex mode, prepare an owner-only temporary home containing only
|
|
63
|
-
the copied Codex authentication needed for the run. Put
|
|
64
|
-
`codex-acp`
|
|
66
|
+
the copied Codex authentication needed for the run. Put the installed
|
|
67
|
+
`codex-acp` on `PATH`, then set:
|
|
65
68
|
|
|
66
69
|
```sh
|
|
67
70
|
export AMBASSADOR_LIVE_DIRECT_AGENT=codex
|
|
@@ -70,11 +73,45 @@ export AMBASSADOR_CONFIRM_LIVE_QUALIFICATION=run-live-qualification-with-real-co
|
|
|
70
73
|
pnpm run qualify:live
|
|
71
74
|
```
|
|
72
75
|
|
|
73
|
-
The runner rejects an ordinary user home,
|
|
74
|
-
|
|
75
|
-
accepts a command override.
|
|
76
|
-
|
|
77
|
-
|
|
76
|
+
The runner rejects an ordinary user home, records the installed version when
|
|
77
|
+
one can be observed, uses the compiled-in Codex command and profile, and never
|
|
78
|
+
accepts a command override. The observation does not establish compatibility;
|
|
79
|
+
ACP v1 initialization with the exact known agent name remains authoritative.
|
|
80
|
+
The runner also lets
|
|
81
|
+
abandoned server-side polls expire after the restart check before it enqueues a
|
|
82
|
+
message. Delete the isolated home after the run.
|
|
83
|
+
|
|
84
|
+
For Hermes, prepare an owner-only temporary home containing only `.hermes/.env`,
|
|
85
|
+
`.hermes/auth.json`, `.hermes/config.yaml`, and
|
|
86
|
+
`.hermes/shared/nous_auth.json` copied from the authenticated installation.
|
|
87
|
+
Remove unrelated MCP entries only from that copy. Put the installed Hermes
|
|
88
|
+
Agent and `hermes-acp` on `PATH`, then choose one fixed mode:
|
|
89
|
+
|
|
90
|
+
```sh
|
|
91
|
+
export AMBASSADOR_HERMES_QUALIFICATION_HOME=/absolute/path/to/isolated/home
|
|
92
|
+
export AMBASSADOR_LIVE_DIRECT_AGENT=hermes-direct
|
|
93
|
+
export AMBASSADOR_CONFIRM_LIVE_QUALIFICATION=run-live-qualification-with-real-hermes-direct-and-two-disposable-mailosaur-identities
|
|
94
|
+
pnpm run qualify:live
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
or:
|
|
98
|
+
|
|
99
|
+
```sh
|
|
100
|
+
export AMBASSADOR_HERMES_QUALIFICATION_HOME=/absolute/path/to/isolated/home
|
|
101
|
+
export AMBASSADOR_LIVE_DIRECT_AGENT=hermes-webhook
|
|
102
|
+
export AMBASSADOR_CONFIRM_LIVE_QUALIFICATION=run-live-qualification-with-real-hermes-webhook-and-two-disposable-mailosaur-identities
|
|
103
|
+
pnpm run qualify:live
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
The runner rejects the ordinary Hermes home and non-owner-only copies. It uses
|
|
107
|
+
the exact MCP client name `mcp` with a deliberately non-release version value,
|
|
108
|
+
launches only compiled-in `hermes-acp` for direct mode, and configures
|
|
109
|
+
Ambassador MCP only in the isolated copy. The runner records the installed
|
|
110
|
+
Hermes version when it can, but does not use that observation as a compatibility
|
|
111
|
+
gate; direct mode requires ACP v1 and the exact `hermes-agent` name. Webhook
|
|
112
|
+
mode starts Hermes's authenticated generic route,
|
|
113
|
+
requires its bearer filter and native HMAC V2 validation, and suppresses
|
|
114
|
+
provider output. Delete the isolated home after every attempt.
|
|
78
115
|
|
|
79
116
|
## Required report
|
|
80
117
|
|
|
@@ -148,6 +185,85 @@ behavior passed. The supported-Node repeat remains part of the qualification
|
|
|
148
185
|
record even though the user approved 0.2.6 as a one-release exception before
|
|
149
186
|
that repeat.
|
|
150
187
|
|
|
188
|
+
## Hermes 0.20.5 observations
|
|
189
|
+
|
|
190
|
+
On 2026-09-03, Hermes Agent 0.20.5 ran on macOS 26.5.2 arm64 with Node
|
|
191
|
+
24.19.0. Both live cases reviewed central source revision
|
|
192
|
+
`ac3f7a6e33829eb80301c7944f611d29cc2499b5`; the live deployment did not
|
|
193
|
+
expose its revision. The actual npm artifact was downloaded from the registry,
|
|
194
|
+
clean-installed, and used through its installed `ambassador` CLI. Its npm
|
|
195
|
+
integrity was
|
|
196
|
+
`sha512-qaL4IHTrMwpyrY1OisPXMexytmnNfO7Bjc5tXgLCF3LolXQW2R8GrzErqJkMIlM+Zh8Cce9ijN+zfYb3xiNHSQ==`,
|
|
197
|
+
its registry SHA-1 was `c0179df957bc05de921da578344fab6c1ba4a713`,
|
|
198
|
+
and its tarball SHA-256 was
|
|
199
|
+
`312b514ce2dd43de81502debd63004ea9a84da79099d4730c301b52e593c97c8`.
|
|
200
|
+
The installed CLI started without options, rejected a forbidden option, and
|
|
201
|
+
passed the packed-runtime scan.
|
|
202
|
+
|
|
203
|
+
The artifact-specific outcomes were:
|
|
204
|
+
|
|
205
|
+
| Delivery case | Ambassador artifact | Outcome |
|
|
206
|
+
| --- | --- | --- |
|
|
207
|
+
| Webhook | Published `@embassys/ambassador@0.2.7` | Passed the complete live round trip |
|
|
208
|
+
| Direct eligibility probe | Published `@embassys/ambassador@0.2.7` | Ambassador capability-registry rejection at `startup_failed`, as required by its exact 0.21.0 profile |
|
|
209
|
+
| Direct | Source candidate adding exact Hermes ACP 0.20.5 | Passed the complete live round trip |
|
|
210
|
+
|
|
211
|
+
The source-built direct candidate was not substituted for the published
|
|
212
|
+
artifact checks. Its tarball SHA-256 was
|
|
213
|
+
`1d434e8a5dbf027a42326a7e6b42a58094fe17cfdbf8cf96a4e7d314a24835be`,
|
|
214
|
+
and the direct qualification runner SHA-256 was
|
|
215
|
+
`7b6a680bba64abe8d86c9f2328a7562360b15def1eea1d7cf11f21d8f7dea24f`.
|
|
216
|
+
The final strict webhook pass used runner SHA-256
|
|
217
|
+
`e2506c09012f5e7bb3630acb70b5844be3a1769b5baaef3fc76dda07ed27c8c0`.
|
|
218
|
+
No later source change altered the direct profile or delivery implementation
|
|
219
|
+
used by that candidate.
|
|
220
|
+
|
|
221
|
+
Each pass registered and email-verified a controlled requester and the real
|
|
222
|
+
Hermes target through separate local Ambassador MCP endpoints, then restarted
|
|
223
|
+
both gateways and reloaded the encrypted credentials and delivery profiles.
|
|
224
|
+
The requester obtained `get_phone_number` permission, Hermes called
|
|
225
|
+
`respond_to_permission` with a grant, the requester called `call_action` with
|
|
226
|
+
approved synthetic data, and Hermes received the complete correlated
|
|
227
|
+
`action_call`. The real model called `submit_action_result` exactly once with
|
|
228
|
+
the supplied call ID, success status, and approved synthetic phone object.
|
|
229
|
+
The requester received the matching `action_response`. Local webhook custody
|
|
230
|
+
or ACP completion was observed before each corresponding central
|
|
231
|
+
acknowledgement.
|
|
232
|
+
|
|
233
|
+
Both modes passed Bearer plus DPoP behavior, the negative DPoP matrix, the
|
|
234
|
+
deployed six-action catalog, zero central MCP requests, artifact scanning, and
|
|
235
|
+
Mailosaur and temporary-state cleanup. Direct mode proved ACP v1 initialization
|
|
236
|
+
and injected Ambassador MCP. Webhook mode proved the Hermes receiver's bearer
|
|
237
|
+
filter, HMAC V2 authentication, and custody before acknowledgement. The normal
|
|
238
|
+
Hermes home was not changed; owner-only credential copies were removed after
|
|
239
|
+
the runs.
|
|
240
|
+
|
|
241
|
+
The live DPoP positive case needed no nonce. The deployed catalog names and
|
|
242
|
+
input-schema SHA-256 digests were:
|
|
243
|
+
|
|
244
|
+
| Action | Input schema SHA-256 |
|
|
245
|
+
| --- | --- |
|
|
246
|
+
| `create_calendar_event` | `4b9c97f146bfbb4c2cc1ec0812ada60406ce563d59c5abc807fcb6ba2dc0270c` |
|
|
247
|
+
| `get_email` | `032af9a4835a30e280f7c122f8971565b4e2527b25d9fcb0ad2f778f654aecbd` |
|
|
248
|
+
| `get_free_busy_permission` | `7775afae503f343ae09ed3510c66410cb361ea4125b28047d15321e7430f4f96` |
|
|
249
|
+
| `get_phone_number` | `6c7954b7f42f818db7f93433bd07dc2aac273bd4599a637d2233529c6149bc48` |
|
|
250
|
+
| `read_calendar_event_by_title` | `92ddb62ec62f187cdd1cfe0995d01afd06f283f2c174f6f24173083b1aab0d2f` |
|
|
251
|
+
| `read_calendar_permission` | `27deb9a2fbadef8582fa9036fa9bc4a173eeaa92034d0fab8f4e12b1dfdf0662` |
|
|
252
|
+
|
|
253
|
+
One earlier strict webhook attempt failed at
|
|
254
|
+
`action_response_webhook_timeout_failed` after the real target had granted the
|
|
255
|
+
permission, submitted one successful correlated result, accepted both target
|
|
256
|
+
messages, and received both target acknowledgements. Ambassador reported no
|
|
257
|
+
stderr. The safe evidence cannot distinguish central response queueing from a
|
|
258
|
+
consuming-poll delivery loss, so this is classified in the central REST
|
|
259
|
+
action-response delivery phase, not as Ambassador target delivery, Hermes
|
|
260
|
+
webhook custody, model execution, or MCP invocation. A fresh isolated rerun of
|
|
261
|
+
the same strict case passed. No compatibility fallback or replay was added.
|
|
262
|
+
|
|
263
|
+
These observations approve the source registry's exact Hermes ACP 0.20.5
|
|
264
|
+
entry. They do not show that published Ambassador 0.2.7 supports Hermes 0.20.5
|
|
265
|
+
direct mode. Ambassador 0.2.8 contains the candidate change.
|
|
266
|
+
|
|
151
267
|
## Earlier direct observation
|
|
152
268
|
|
|
153
269
|
On 2026-09-02, real Codex had already passed delivery, injected Ambassador MCP
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@embassys/ambassador",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.9",
|
|
4
4
|
"description": "Local Ambassador for the Embassys agent network",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -46,6 +46,7 @@
|
|
|
46
46
|
"clean": "node scripts/clean.mjs",
|
|
47
47
|
"format": "biome check --write .",
|
|
48
48
|
"lint": "biome check .",
|
|
49
|
+
"probe:agents": "node scripts/probe-agent-versions.mjs",
|
|
49
50
|
"qualify:agents": "node scripts/qualify-agents.mjs",
|
|
50
51
|
"qualify:live": "node scripts/live-qualification.mjs",
|
|
51
52
|
"test": "pnpm run test:build && node scripts/run-tests.mjs",
|