@cello-protocol/daemon 0.0.193 → 0.0.194
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/daemon.js +4 -1
- package/dist/daemon.js.map +1 -1
- package/dist/inbound-sessions.d.ts +1 -1
- package/dist/inbound-sessions.d.ts.map +1 -1
- package/dist/inbound-sessions.js +124 -5
- package/dist/inbound-sessions.js.map +1 -1
- package/dist/initiate-session-handler.d.ts.map +1 -1
- package/dist/initiate-session-handler.js +19 -0
- package/dist/initiate-session-handler.js.map +1 -1
- package/dist/refusal-reasons.d.ts +23 -0
- package/dist/refusal-reasons.d.ts.map +1 -1
- package/dist/refusal-reasons.js +66 -0
- package/dist/refusal-reasons.js.map +1 -1
- package/dist/session-node-manager.d.ts +28 -17
- package/dist/session-node-manager.d.ts.map +1 -1
- package/dist/session-node-manager.js +540 -80
- package/dist/session-node-manager.js.map +1 -1
- package/dist/session-own-chain-store.d.ts +65 -0
- package/dist/session-own-chain-store.d.ts.map +1 -0
- package/dist/session-own-chain-store.js +75 -0
- package/dist/session-own-chain-store.js.map +1 -0
- package/dist/session-relay-client.d.ts +35 -3
- package/dist/session-relay-client.d.ts.map +1 -1
- package/dist/session-relay-client.js +211 -30
- package/dist/session-relay-client.js.map +1 -1
- package/package.json +5 -5
package/dist/daemon.js
CHANGED
|
@@ -1094,7 +1094,7 @@ async function startDaemonHoldingLock(config, singletonLock) {
|
|
|
1094
1094
|
});
|
|
1095
1095
|
// CELLO-M7-CONN-001 (DOD-CONN-2): inbound session_assignment + seal_interrupted_request
|
|
1096
1096
|
// on THIS agent's own stream, so a non-primary agent receives inbound sessions (SPINE-5).
|
|
1097
|
-
wirePerAgentSessionInbound(mgr);
|
|
1097
|
+
wirePerAgentSessionInbound(mgr, agentName);
|
|
1098
1098
|
return entry;
|
|
1099
1099
|
}
|
|
1100
1100
|
/** Resolve once `mgr` reaches "connected", or false on timeout. */
|
|
@@ -1971,6 +1971,9 @@ async function startDaemonHoldingLock(config, singletonLock) {
|
|
|
1971
1971
|
// seal depends on — silently, while reporting success.
|
|
1972
1972
|
receiptStore: stores.receiptStore,
|
|
1973
1973
|
sealLeafStore: stores.sealLeafStore,
|
|
1974
|
+
// `DOD-M15-SELFCHAIN-1` — without this the client cannot chain a message to this agent's own
|
|
1975
|
+
// previous one, and says so rather than signing an unlinked claim.
|
|
1976
|
+
ownChainStore: stores.ownChainStore,
|
|
1974
1977
|
// DOD-M15-RELAYSLOTS-1: the manager owns the current token and hands the accessor down, so
|
|
1975
1978
|
// this client reads a fresh one at every auth instead of a snapshot taken here at build time.
|
|
1976
1979
|
onlineToken: stores.onlineToken,
|