instar 1.3.574 → 1.3.575
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/commands/server.d.ts.map +1 -1
- package/dist/commands/server.js +19 -0
- package/dist/commands/server.js.map +1 -1
- package/dist/core/ws2SendWiring.d.ts +0 -3
- package/dist/core/ws2SendWiring.d.ts.map +1 -1
- package/dist/core/ws2SendWiring.js +1 -4
- package/dist/core/ws2SendWiring.js.map +1 -1
- package/package.json +1 -1
- package/src/data/builtin-manifest.json +2 -2
- package/upgrades/1.3.575.md +44 -0
- package/upgrades/side-effects/ws2-send-2b-topicoperator.md +45 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../src/commands/server.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAkCH,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAS3D,OAAO,EAAE,eAAe,EAAiC,MAAM,iCAAiC,CAAC;AAuBjG,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAGvD,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAkH7D,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAsBtD;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,yBAAyB,CACvC,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAC1C,OAAO,CAUT;AAyID,UAAU,YAAY;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;2DACuD;IACvD,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAg4CD,wBAAgB,mBAAmB,CACjC,QAAQ,EAAE,eAAe,EACzB,cAAc,EAAE,cAAc,EAC9B,YAAY,CAAC,EAAE,YAAY,EAC3B,WAAW,CA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E,YAAY,EAC3B,WAAW,CAAC,EAAE,WAAW,EACzB,WAAW,CAAC,EAAE,WAAW,EACzB,iBAAiB,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,OAAO,CAAC,EAGvE,UAAU,CAAC,EAAE,MAAM,OAAO,8BAA8B,EAAE,WAAW,GAAG,IAAI,EAK5E,qBAAqB,CAAC,EAAE,MAAM,OAAO,gCAAgC,EAAE,kBAAkB,GAAG,IAAI,EAKhG,mBAAmB,CAAC,EAAE,MAAM,MAAM,GAAG,IAAI,GAAG,SAAS,GACpD,IAAI,CA8eN;AA2lBD,wBAAsB,WAAW,CAAC,OAAO,EAAE,YAAY,GAAG,OAAO,CAAC,IAAI,CAAC,CA+tctE;AAED,wBAAsB,UAAU,CAAC,OAAO,EAAE;IAAE,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAsDzE;AAED;;;;;;;;;;;GAWG;AACH,wBAAsB,aAAa,CAAC,OAAO,EAAE;IAAE,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAuD5E"}
|
package/dist/commands/server.js
CHANGED
|
@@ -15912,6 +15912,25 @@ export async function startServer(options) {
|
|
|
15912
15912
|
// wired before the server existed; from here on inbound binds use the
|
|
15913
15913
|
// server's own store instance.
|
|
15914
15914
|
_agentServerRef = server;
|
|
15915
|
+
// ── WS2.6 SEND-SIDE: topicOperator (the THIRD PII kind) ──────────────
|
|
15916
|
+
// The AUTHORITATIVE topic-operator writer is the AgentServer's OWN
|
|
15917
|
+
// TopicOperatorStore (it constructs `this.topicOperatorStore` internally and
|
|
15918
|
+
// binds it from the authenticated sender via setOperator). server.ts has no
|
|
15919
|
+
// canonical instance of its own, so we attach the journal-backed emitter to the
|
|
15920
|
+
// server's store here, right after the AgentServer exists. setOperator already
|
|
15921
|
+
// fires emitPut on every real bind/rebind. PUT-ONLY BY CONSTRUCTION — a topic
|
|
15922
|
+
// rebinds, never unbinds, so there is NO emitDelete path (the receive side
|
|
15923
|
+
// resolves the latest binding by HLC). Dark by default
|
|
15924
|
+
// (multiMachine.stateSync.topicOperator); off ⇒ no-op. A content name can never
|
|
15925
|
+
// become an operator — only the platform-verified uid is emitted (Know Your
|
|
15926
|
+
// Principal); a replicated record is NEVER authoritative for inbound resolution.
|
|
15927
|
+
if (replicatedRecordEmitter) {
|
|
15928
|
+
const _topicOpEmitter = replicatedRecordEmitter;
|
|
15929
|
+
const { TOPIC_OPERATOR_STORE_KEY, deriveTopicOperatorRecordKey, buildTopicOperatorRecordData } = await import('../core/TopicOperatorReplicatedStore.js');
|
|
15930
|
+
server.getTopicOperatorStore()?.setOperatorReplicationEmitter({
|
|
15931
|
+
emitPut: (topicId, record) => _topicOpEmitter.emit(TOPIC_OPERATOR_STORE_KEY, deriveTopicOperatorRecordKey(topicId, record.uid), (hlc, origin, observed) => buildTopicOperatorRecordData({ topicId, record, hlc, origin, observed })),
|
|
15932
|
+
});
|
|
15933
|
+
}
|
|
15915
15934
|
// ── WS5.3 (escalation-rides-topic) destination re-admit driver ──
|
|
15916
15935
|
// Bound here (after the AgentServer exists) so it can reach the SAME
|
|
15917
15936
|
// ModelSwapService the /sessions/:name/model-swap route uses. Re-admission
|