@cello-protocol/cli 0.0.36 → 0.0.37
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,ysBAiB9B,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,ysBAiB9B,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,qBAAqB,QA+kBjC,CAAC;AAEF,wEAAwE;AACxE,eAAO,MAAM,eAAe,yoEA+C3B,CAAC"}
|
package/dist/hermes/assets.js
CHANGED
|
@@ -157,11 +157,15 @@ def _render_who(data: Any) -> Optional[str]:
|
|
|
157
157
|
"""DOD-HERMES-3: the daemon-resolved counterparty label, or None.
|
|
158
158
|
|
|
159
159
|
The daemon stamps who/whoKnown on both counterparty-bearing frames (MONIKER-4 AC2) with three
|
|
160
|
-
tiers: the operator's own pet name, the caller's
|
|
160
|
+
tiers: the operator's own pet name, the caller's self-declared offered name, or a fingerprint.
|
|
161
161
|
Only a NAME is rendered - the fingerprint tier ('agent 77d0c806...') is derived from the very
|
|
162
|
-
pubkey every wake already carries in full, so echoing it is noise.
|
|
163
|
-
as a claim exactly as the Claude Code shim marks it, and the marker cannot be forged
|
|
164
|
-
MONIKER_RE excludes quotes and parentheses.
|
|
162
|
+
pubkey every wake already carries in full, so echoing it is noise. A self-declared name is
|
|
163
|
+
marked as a claim exactly as the Claude Code shim marks it, and the marker cannot be forged
|
|
164
|
+
because MONIKER_RE excludes quotes and parentheses.
|
|
165
|
+
|
|
166
|
+
The marker says the name came from its owner rather than from the operator. whoKnown is true
|
|
167
|
+
only when the operator set a local pet name, so it appears for every contact they have not
|
|
168
|
+
named - not only new ones. Nothing in the protocol ever verifies a name.
|
|
165
169
|
|
|
166
170
|
Re-validated here rather than trusted: Hermes has no metadata layer, so this prose IS the frame
|
|
167
171
|
(spec §11) and a name-shaped token is the only thing that may ever enter it.
|
|
@@ -173,7 +177,7 @@ def _render_who(data: Any) -> Optional[str]:
|
|
|
173
177
|
return None
|
|
174
178
|
if data.get("whoKnown") is True:
|
|
175
179
|
return who
|
|
176
|
-
return '"' + who + '" (
|
|
180
|
+
return '"' + who + '" (self-declared)'
|
|
177
181
|
|
|
178
182
|
|
|
179
183
|
class CelloAdapter(BasePlatformAdapter):
|
|
@@ -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;;;;;;;;;;;;;;;;;CAiBjC,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,MAAM,CAAC,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"assets.js","sourceRoot":"","sources":["../../src/hermes/assets.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,sEAAsE;AACtE,MAAM,CAAC,MAAM,kBAAkB,GAAG;;;;;;;;;;;;;;;;;CAiBjC,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+kB9C,CAAC;AAEF,wEAAwE;AACxE,MAAM,CAAC,MAAM,eAAe,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+C9B,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.37",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"package.json"
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@cello-protocol/daemon": "0.0.
|
|
28
|
+
"@cello-protocol/daemon": "0.0.40",
|
|
29
29
|
"@cello-protocol/protocol-types": "0.0.19"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|