@cello-protocol/cli 0.0.215 → 0.0.217
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/dist/hermes/assets.d.ts
CHANGED
|
@@ -31,5 +31,5 @@ export declare const HERMES_PLUGIN_YAML = "name: cello\nlabel: CELLO\nkind: plat
|
|
|
31
31
|
*/
|
|
32
32
|
export declare const HERMES_PLUGIN_INIT_PY: string;
|
|
33
33
|
/** The setup skill — `~/.hermes/skills/cello-bridge-setup/SKILL.md`. */
|
|
34
|
-
export declare const HERMES_SKILL_MD = "---\nname: cello-bridge-setup\ndescription: \"Install and configure the CELLO agent-to-agent bridge for this Hermes instance.\"\nversion: 1.0.0\nplatforms: [linux, macos]\nmetadata:\n hermes:\n tags: [cello, messaging, integration, agent-to-agent]\n related_skills: []\n---\n\n# CELLO Bridge Setup\n\nCELLO is a peer-to-peer identity and trust layer for agent-to-agent communication:\nsplit-key signing, tamper-evident hash chains, and content-free wake notifications.\nThis skill wires the local CELLO daemon into Hermes so this agent can talk to other\nCELLO agents anywhere.\n\nTrigger: /cello-bridge-setup, or \"install the CELLO bridge\".\n\n## Steps\n\n1. **Check CELLO is set up.** Run `cello status`. If the CLI is missing or the daemon\n is not running, walk the user through CELLO onboarding first:\n `npx --yes @cello-protocol/cli@latest login`, then `cello create-agent <name>`,\n then `cello register-agent <name> <pre-auth-token>` (token from the CELLO Operations\n Agent on Telegram). Confirm with `cello status`.\n2. **Pick the agent.** Ask the user which registered CELLO agent this Hermes instance\n should bind to (the `cello status` output lists them).\n3. **Run the installer** \u2014 one command does all the work (plugin scaffold, env binding,\n `hermes plugins enable cello`, `hermes mcp add cello`):\n\n cello bridge hermes --agent <name>\n\n Pass `--hermes-home <path>` only if Hermes does not live at ~/.hermes.\n4. **Choose how this agent should behave** (both optional, both per-agent):\n\n --delivery-mode channel CELLO acts like a normal chat channel (DEFAULT)\n --delivery-mode wake content-free notices; the agent reads/replies itself\n\n --session-scope agent one conversation per CELLO agent (DEFAULT)\n --session-scope peer one conversation per counterparty\n\n Use `--session-scope peer` for anything customer-facing: under `agent` scope every\n caller shares one conversation, so two customers' problems land in one context.\n Omitting a flag on a re-run RESETS it to the default \u2014 it does not keep the old value.\n5. **Restart the gateway:** `hermes gateway restart`.\n6. **Verify.** Call the `cello_status` MCP tool and report the bound agent's state
|
|
34
|
+
export declare const HERMES_SKILL_MD = "---\nname: cello-bridge-setup\ndescription: \"Install and configure the CELLO agent-to-agent bridge for this Hermes instance.\"\nversion: 1.0.0\nplatforms: [linux, macos]\nmetadata:\n hermes:\n tags: [cello, messaging, integration, agent-to-agent]\n related_skills: []\n---\n\n# CELLO Bridge Setup\n\nCELLO is a peer-to-peer identity and trust layer for agent-to-agent communication:\nsplit-key signing, tamper-evident hash chains, and content-free wake notifications.\nThis skill wires the local CELLO daemon into Hermes so this agent can talk to other\nCELLO agents anywhere.\n\nTrigger: /cello-bridge-setup, or \"install the CELLO bridge\".\n\n## Steps\n\n1. **Check CELLO is set up.** Run `cello status`. If the CLI is missing or the daemon\n is not running, walk the user through CELLO onboarding first:\n `npx --yes @cello-protocol/cli@latest login`, then `cello create-agent <name>`,\n then `cello register-agent <name> <pre-auth-token>` (token from the CELLO Operations\n Agent on Telegram). Confirm with `cello status`.\n2. **Pick the agent.** Ask the user which registered CELLO agent this Hermes instance\n should bind to (the `cello status` output lists them).\n3. **Run the installer** \u2014 one command does all the work (plugin scaffold, env binding,\n `hermes plugins enable cello`, `hermes mcp add cello`):\n\n cello bridge hermes --agent <name>\n\n Pass `--hermes-home <path>` only if Hermes does not live at ~/.hermes.\n4. **Choose how this agent should behave** (both optional, both per-agent):\n\n --delivery-mode channel CELLO acts like a normal chat channel (DEFAULT)\n --delivery-mode wake content-free notices; the agent reads/replies itself\n\n --session-scope agent one conversation per CELLO agent (DEFAULT)\n --session-scope peer one conversation per counterparty\n\n Use `--session-scope peer` for anything customer-facing: under `agent` scope every\n caller shares one conversation, so two customers' problems land in one context.\n Omitting a flag on a re-run RESETS it to the default \u2014 it does not keep the old value.\n5. **Restart the gateway:** `hermes gateway restart`.\n6. **Verify.** Call the `cello_status` MCP tool and report the bound agent's state,\n `standing_receiver_ready` and `standing_receiver_reachability`. The bridge is live when the\n agent shows online and reachability reads `ready` \u2014 an idle agent holds no relay slot on\n purpose, so `ready` IS the healthy answer and `reserved` only appears once a conversation is\n running. **Do not treat `ready` as a failure or wait for `reserved`.** `unreachable` is the\n one value worth acting on: only peers that can connect directly will get in.\n\n## How to operate CELLO (after setup)\n\n**In `channel` mode (the default):** a peer's message arrives as an ordinary message in the\nconversation and whatever you reply is sent back to them automatically. Do **not** call\n`cello_receive` or `cello_send` for the normal back-and-forth \u2014 the bridge does both, and\ndoing it yourself delivers the reply twice. The `cello_*` tools are still there for what the\nconversation cannot do: `cello_initiate_session`, `cello_close_session`, `cello_status`,\n`cello_sessions`, and pushing a message to a peer from a turn that did not come from them.\n\n**In `wake` mode:** notices are content-free \u2014 they name a session and a counterparty pubkey,\nnever the message. Fetch content with `cello_inbox` and `cello_receive`, then reply with\n`cello_send`. Read before you send, or the daemon rejects it with `session_not_current`.\n\n**Either mode:** answer `[SILENT]` only for a state-change notice that genuinely needs nothing\nfrom you \u2014 never when a peer has sent a message and is waiting.\n";
|
|
35
35
|
//# sourceMappingURL=assets.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assets.d.ts","sourceRoot":"","sources":["../../src/hermes/assets.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,sEAAsE;AACtE,eAAO,MAAM,kBAAkB,w4CA6B9B,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,qBAAqB,QAkxCjC,CAAC;AAEF,wEAAwE;AACxE,eAAO,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"assets.d.ts","sourceRoot":"","sources":["../../src/hermes/assets.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,sEAAsE;AACtE,eAAO,MAAM,kBAAkB,w4CA6B9B,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,qBAAqB,QAkxCjC,CAAC;AAEF,wEAAwE;AACxE,eAAO,MAAM,eAAe,+sHAqE3B,CAAC"}
|
package/dist/hermes/assets.js
CHANGED
|
@@ -1405,12 +1405,12 @@ Trigger: /cello-bridge-setup, or "install the CELLO bridge".
|
|
|
1405
1405
|
caller shares one conversation, so two customers' problems land in one context.
|
|
1406
1406
|
Omitting a flag on a re-run RESETS it to the default — it does not keep the old value.
|
|
1407
1407
|
5. **Restart the gateway:** \`hermes gateway restart\`.
|
|
1408
|
-
6. **Verify.** Call the \`cello_status\` MCP tool and report the bound agent's state
|
|
1409
|
-
\`standing_receiver_ready\`
|
|
1410
|
-
agent shows online
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
connect directly will get in.
|
|
1408
|
+
6. **Verify.** Call the \`cello_status\` MCP tool and report the bound agent's state,
|
|
1409
|
+
\`standing_receiver_ready\` and \`standing_receiver_reachability\`. The bridge is live when the
|
|
1410
|
+
agent shows online and reachability reads \`ready\` — an idle agent holds no relay slot on
|
|
1411
|
+
purpose, so \`ready\` IS the healthy answer and \`reserved\` only appears once a conversation is
|
|
1412
|
+
running. **Do not treat \`ready\` as a failure or wait for \`reserved\`.** \`unreachable\` is the
|
|
1413
|
+
one value worth acting on: only peers that can connect directly will get in.
|
|
1414
1414
|
|
|
1415
1415
|
## How to operate CELLO (after setup)
|
|
1416
1416
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cello-protocol/cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.217",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
"package.json"
|
|
18
18
|
],
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@cello-protocol/daemon": "0.0.
|
|
21
|
-
"@cello-protocol/protocol-types": "0.0.
|
|
20
|
+
"@cello-protocol/daemon": "0.0.210",
|
|
21
|
+
"@cello-protocol/protocol-types": "0.0.90"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@types/node": "^25.6.2"
|