@cello-protocol/cli 0.0.140 → 0.0.142
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.
|
@@ -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,
|
|
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,QAkjCjC,CAAC;AAEF,wEAAwE;AACxE,eAAO,MAAM,eAAe,60GAiE3B,CAAC"}
|
package/dist/hermes/assets.js
CHANGED
|
@@ -815,16 +815,41 @@ class CelloAdapter(BasePlatformAdapter):
|
|
|
815
815
|
if who is not None
|
|
816
816
|
else "from counterparty pubkey " + sender
|
|
817
817
|
)
|
|
818
|
-
|
|
818
|
+
preamble = (
|
|
819
819
|
"CELLO wake: a new message arrived on session "
|
|
820
820
|
+ session_id
|
|
821
821
|
+ " "
|
|
822
822
|
+ origin
|
|
823
|
-
+ ". A peer is waiting on you.
|
|
824
|
-
" it. Use the MCP tools named cello_* (from the 'cello'
|
|
825
|
-
" already available to you. Do NOT run the 'cello'
|
|
826
|
-
"
|
|
827
|
-
|
|
823
|
+
+ ". A peer is waiting on you. The message content was not delivered with this"
|
|
824
|
+
" notice, so you must fetch it. Use the MCP tools named cello_* (from the 'cello'"
|
|
825
|
+
" MCP server) - they are already available to you. Do NOT run the 'cello'"
|
|
826
|
+
" command-line program, and do NOT restart anything."
|
|
827
|
+
)
|
|
828
|
+
if self._delivery_mode == "channel":
|
|
829
|
+
# LIVE DEFECT, 2026-08-07: this notice used to end with "reply with cello_send",
|
|
830
|
+
# in BOTH modes. In channel mode the adapter also delivers the turn's final text,
|
|
831
|
+
# so an agent that followed the instruction correctly produced TWO messages to the
|
|
832
|
+
# peer - its reply, and then whatever the turn ended with, which was the agent's
|
|
833
|
+
# own internal note-to-self ("I've successfully received and replied..."). Sending
|
|
834
|
+
# a counterparty the agent's private status is worse than the duplicate.
|
|
835
|
+
#
|
|
836
|
+
# Reading still has to be manual here: this notice is only reached when the
|
|
837
|
+
# adapter deliberately did NOT fetch (the chat was mid-turn, and fetching consumes
|
|
838
|
+
# the message). Sending must NOT be, because the bridge owns it.
|
|
839
|
+
return (
|
|
840
|
+
preamble
|
|
841
|
+
+ " Do this now, in order: (1) call the cello_use_agent tool with name='"
|
|
842
|
+
+ agent
|
|
843
|
+
+ "'; (2) call the cello_receive tool with cello_session_id='"
|
|
844
|
+
+ session_id
|
|
845
|
+
+ "' to read the message. Then simply WRITE YOUR REPLY as your normal answer"
|
|
846
|
+
" - this bridge sends it to the peer for you. Do NOT call cello_send: it is"
|
|
847
|
+
" already handled, and calling it delivers your answer twice."
|
|
848
|
+
" Do NOT answer [SILENT] - reading the message is not optional."
|
|
849
|
+
)
|
|
850
|
+
return (
|
|
851
|
+
preamble
|
|
852
|
+
+ " Do this now, in order: (1) call the cello_use_agent tool with name='"
|
|
828
853
|
+ agent
|
|
829
854
|
+ "'; (2) call the cello_receive tool with cello_session_id='"
|
|
830
855
|
+ session_id
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assets.js","sourceRoot":"","sources":["../../src/hermes/assets.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,sEAAsE;AACtE,MAAM,CAAC,MAAM,kBAAkB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6BjC,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkjC9C,CAAC;AAEF,wEAAwE;AACxE,MAAM,CAAC,MAAM,eAAe,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiE9B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cello-protocol/cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.142",
|
|
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/
|
|
21
|
-
"@cello-protocol/
|
|
20
|
+
"@cello-protocol/protocol-types": "0.0.47",
|
|
21
|
+
"@cello-protocol/daemon": "0.0.138"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@types/node": "^25.6.2"
|