@agentunion/fastaun-browser 0.5.12 → 0.5.14
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/CHANGELOG.md +16 -0
- package/_packed_docs/CHANGELOG.md +16 -0
- package/_packed_docs/INDEX.md +3 -3
- package/_packed_docs/KITE_DOCS_GUIDE.md +1 -1
- package/_packed_docs/agent.md/SCHEMA.md +84 -84
- package/_packed_docs/aun/345/210/206/345/270/203/345/274/217/346/265/213/350/257/225/350/277/220/350/241/214/346/214/207/345/215/227.md +8 -6
- package/_packed_docs/aun/346/265/213/350/257/225/350/277/220/350/241/214/346/214/207/345/215/227.md +29 -15
- package/dist/agent-md-schema.d.ts.map +1 -1
- package/dist/agent-md-schema.js +8 -4
- package/dist/agent-md-schema.js.map +1 -1
- package/dist/bundle.js +71 -63
- package/dist/client/delivery.d.ts +1 -0
- package/dist/client/delivery.d.ts.map +1 -1
- package/dist/client/delivery.js +53 -33
- package/dist/client/delivery.js.map +1 -1
- package/dist/client/rpc-pipeline.d.ts +2 -3
- package/dist/client/rpc-pipeline.d.ts.map +1 -1
- package/dist/client/rpc-pipeline.js +22 -32
- package/dist/client/rpc-pipeline.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/dist/bundle.js
CHANGED
|
@@ -460,7 +460,7 @@ var init_indexeddb_store = __esm({
|
|
|
460
460
|
});
|
|
461
461
|
|
|
462
462
|
// src/version.ts
|
|
463
|
-
var VERSION = "0.5.
|
|
463
|
+
var VERSION = "0.5.13";
|
|
464
464
|
|
|
465
465
|
// src/types.ts
|
|
466
466
|
var ConnectionState = /* @__PURE__ */ ((ConnectionState2) => {
|
|
@@ -5111,15 +5111,15 @@ var MessageDeliveryEngine = class {
|
|
|
5111
5111
|
isInlineGenerationCurrent(generation) {
|
|
5112
5112
|
return generation === this.inlineGeneration;
|
|
5113
5113
|
}
|
|
5114
|
-
isPullOperationCurrent() {
|
|
5115
|
-
const
|
|
5116
|
-
|
|
5117
|
-
|
|
5118
|
-
|
|
5119
|
-
|
|
5114
|
+
isPullOperationCurrent(namespace = "") {
|
|
5115
|
+
const pipeline = this.runtime.client._rpcPipeline;
|
|
5116
|
+
return typeof pipeline?.isPullNamespaceCurrent === "function" ? pipeline.isPullNamespaceCurrent(namespace) : true;
|
|
5117
|
+
}
|
|
5118
|
+
ensurePullOperationCurrent(namespace = "") {
|
|
5119
|
+
if (!this.isPullOperationCurrent(namespace)) throw new Error("pull invalidated");
|
|
5120
5120
|
}
|
|
5121
|
-
|
|
5122
|
-
|
|
5121
|
+
isPullScopedSource(source) {
|
|
5122
|
+
return source === "pull";
|
|
5123
5123
|
}
|
|
5124
5124
|
captureInlineGeneration() {
|
|
5125
5125
|
return this.inlineGeneration;
|
|
@@ -5723,7 +5723,7 @@ var MessageDeliveryEngine = class {
|
|
|
5723
5723
|
}
|
|
5724
5724
|
async confirmPlainForwardAck(ns, method, ackSeq, groupId = "") {
|
|
5725
5725
|
const client = this.runtime.client;
|
|
5726
|
-
this.ensurePullOperationCurrent();
|
|
5726
|
+
this.ensurePullOperationCurrent(ns);
|
|
5727
5727
|
const coordinator = this.forwardCoordinator();
|
|
5728
5728
|
const generation = this.captureInlineGeneration();
|
|
5729
5729
|
coordinator.recordForwardAck(ns, ackSeq);
|
|
@@ -5740,7 +5740,7 @@ var MessageDeliveryEngine = class {
|
|
|
5740
5740
|
_rpc_background: true
|
|
5741
5741
|
};
|
|
5742
5742
|
const result = await client._rpcPipeline.rawCall(method, params2, { background: true });
|
|
5743
|
-
this.ensurePullOperationCurrent();
|
|
5743
|
+
this.ensurePullOperationCurrent(ns);
|
|
5744
5744
|
const actualAckSeq = this.resolveForwardAckSeq(result, ackSeq);
|
|
5745
5745
|
if (actualAckSeq < ackSeq) {
|
|
5746
5746
|
throw new Error(`${method} server ACK watermark ${actualAckSeq} is below requested ${ackSeq}`);
|
|
@@ -5757,7 +5757,7 @@ var MessageDeliveryEngine = class {
|
|
|
5757
5757
|
throw new Error(`${method} response must be an object`);
|
|
5758
5758
|
}
|
|
5759
5759
|
const client = this.runtime.client;
|
|
5760
|
-
this.ensurePullOperationCurrent();
|
|
5760
|
+
this.ensurePullOperationCurrent(ns);
|
|
5761
5761
|
const response = result;
|
|
5762
5762
|
const messages = deduplicatePlainForwardPageMessages(response.messages, afterSeq);
|
|
5763
5763
|
const coordinator = this.forwardCoordinator();
|
|
@@ -5785,31 +5785,31 @@ var MessageDeliveryEngine = class {
|
|
|
5785
5785
|
let committed = false;
|
|
5786
5786
|
try {
|
|
5787
5787
|
for (const rawMessage of messages) {
|
|
5788
|
-
this.ensurePullOperationCurrent();
|
|
5788
|
+
this.ensurePullOperationCurrent(ns);
|
|
5789
5789
|
const seq2 = positiveSafeSequenceHint(rawMessage.seq);
|
|
5790
5790
|
if (method === "message.pull") {
|
|
5791
5791
|
const appEvent = p2pAppEventFromPlainPullMessage(rawMessage);
|
|
5792
5792
|
if (await this.publishPulledMessage(appEvent.event, ns, seq2, appEvent.payload, false)) {
|
|
5793
5793
|
publishedCount += 1;
|
|
5794
5794
|
}
|
|
5795
|
-
this.ensurePullOperationCurrent();
|
|
5795
|
+
this.ensurePullOperationCurrent(ns);
|
|
5796
5796
|
continue;
|
|
5797
5797
|
}
|
|
5798
5798
|
const message = normalizeGroupMentionMode(rawMessage);
|
|
5799
5799
|
if (this.recallEventFromGroupMessage(message)) {
|
|
5800
5800
|
if (await this.publishGroupRecallTombstone(groupId, seq2, message, "pull")) {
|
|
5801
|
-
this.ensurePullOperationCurrent();
|
|
5801
|
+
this.ensurePullOperationCurrent(ns);
|
|
5802
5802
|
this.markPublishedSeq(ns, seq2);
|
|
5803
5803
|
publishedCount += 1;
|
|
5804
5804
|
}
|
|
5805
5805
|
} else if (this.isSelfSentGroupMessage(message)) {
|
|
5806
5806
|
this.markPublishedSeq(ns, seq2);
|
|
5807
5807
|
} else if (await this.publishPulledMessage("group.message_created", ns, seq2, message, false)) {
|
|
5808
|
-
this.ensurePullOperationCurrent();
|
|
5808
|
+
this.ensurePullOperationCurrent(ns);
|
|
5809
5809
|
publishedCount += 1;
|
|
5810
5810
|
}
|
|
5811
5811
|
}
|
|
5812
|
-
this.ensurePullOperationCurrent();
|
|
5812
|
+
this.ensurePullOperationCurrent(ns);
|
|
5813
5813
|
const contiguousSeq = Number.isSafeInteger(result.contiguous_seq) ? result.contiguous_seq : void 0;
|
|
5814
5814
|
if (contiguousSeq === void 0) client._seqTracker.onPullResult(ns, messages, afterSeq);
|
|
5815
5815
|
else client._seqTracker.onPullResult(ns, messages, afterSeq, contiguousSeq);
|
|
@@ -5823,20 +5823,20 @@ var MessageDeliveryEngine = class {
|
|
|
5823
5823
|
client._seqTracker.forceContiguousSeq(ns, commitTarget);
|
|
5824
5824
|
}
|
|
5825
5825
|
if (client._seqTracker.getContiguousSeq(ns) !== pageContigBefore) {
|
|
5826
|
-
this.ensurePullOperationCurrent();
|
|
5826
|
+
this.ensurePullOperationCurrent(ns);
|
|
5827
5827
|
await this.drainOrderedMessages(ns, void 0, false, false);
|
|
5828
|
-
this.ensurePullOperationCurrent();
|
|
5828
|
+
this.ensurePullOperationCurrent(ns);
|
|
5829
5829
|
await client._commitSeqTrackerState(ns);
|
|
5830
5830
|
}
|
|
5831
5831
|
committed = true;
|
|
5832
5832
|
} catch (exc) {
|
|
5833
|
-
if (this.isPullOperationCurrent() && !committed && typeof client._seqTracker.restoreNamespaceSnapshot === "function") {
|
|
5833
|
+
if (this.isPullOperationCurrent(ns) && !committed && typeof client._seqTracker.restoreNamespaceSnapshot === "function") {
|
|
5834
5834
|
client._seqTracker.restoreNamespaceSnapshot(ns, pageTrackerSnapshot);
|
|
5835
5835
|
this.dropSeqTrackerPending(ns);
|
|
5836
5836
|
}
|
|
5837
5837
|
throw exc;
|
|
5838
5838
|
}
|
|
5839
|
-
this.ensurePullOperationCurrent();
|
|
5839
|
+
this.ensurePullOperationCurrent(ns);
|
|
5840
5840
|
const committedAck = client._seqTracker.getContiguousSeq(ns);
|
|
5841
5841
|
if (deferredServerCursor > 0 && committedAck >= deferredServerCursor) {
|
|
5842
5842
|
coordinator.clearForwardCursor(ns, committedAck);
|
|
@@ -5869,7 +5869,7 @@ var MessageDeliveryEngine = class {
|
|
|
5869
5869
|
if (clampedAckSeq < pendingAckSeq) {
|
|
5870
5870
|
throw new Error(`${ackMethod} cannot confirm pending Forward watermark ${pendingAckSeq}`);
|
|
5871
5871
|
}
|
|
5872
|
-
this.ensurePullOperationCurrent();
|
|
5872
|
+
this.ensurePullOperationCurrent(ns);
|
|
5873
5873
|
await this.confirmPlainForwardAck(ns, ackMethod, pendingAckSeq, groupId);
|
|
5874
5874
|
}
|
|
5875
5875
|
const remaining = typeof response.remaining === "number" && Number.isSafeInteger(response.remaining) && response.remaining >= 0 ? response.remaining : null;
|
|
@@ -5903,12 +5903,16 @@ var MessageDeliveryEngine = class {
|
|
|
5903
5903
|
}
|
|
5904
5904
|
async publishOrderedQueueItem(ns, event, seq2, payload, pullResponse = false, source = "push", batch) {
|
|
5905
5905
|
const client = this.runtime.client;
|
|
5906
|
+
const pullScoped = this.isPullScopedSource(source);
|
|
5907
|
+
if (pullScoped) this.ensurePullOperationCurrent(ns);
|
|
5906
5908
|
if (event === "group.changed" && this.isGroupEventNamespace(ns)) {
|
|
5907
5909
|
await this.publishOrderedGroupChanged(payload, source);
|
|
5910
|
+
if (pullScoped) this.ensurePullOperationCurrent(ns);
|
|
5908
5911
|
return;
|
|
5909
5912
|
}
|
|
5910
5913
|
if (event === "message.recalled") {
|
|
5911
5914
|
await this.publishMessageRecallTombstone(seq2, payload, source);
|
|
5915
|
+
if (pullScoped) this.ensurePullOperationCurrent(ns);
|
|
5912
5916
|
return;
|
|
5913
5917
|
}
|
|
5914
5918
|
if (pullResponse) {
|
|
@@ -5916,6 +5920,7 @@ var MessageDeliveryEngine = class {
|
|
|
5916
5920
|
return;
|
|
5917
5921
|
}
|
|
5918
5922
|
await client._publishAppEvent(event, payload, source, ns, batch);
|
|
5923
|
+
if (pullScoped) this.ensurePullOperationCurrent(ns);
|
|
5919
5924
|
}
|
|
5920
5925
|
async publishOrderedGroupChanged(payload, source = "ordered") {
|
|
5921
5926
|
const client = this.runtime.client;
|
|
@@ -8039,7 +8044,8 @@ var MessageDeliveryEngine = class {
|
|
|
8039
8044
|
}
|
|
8040
8045
|
async drainOrderedMessages(ns, beforeSeq, pullResponse = false, persist = true, batch, source = "pull") {
|
|
8041
8046
|
const client = this.runtime.client;
|
|
8042
|
-
this.
|
|
8047
|
+
const pullScoped = this.isPullScopedSource(source);
|
|
8048
|
+
if (pullScoped) this.ensurePullOperationCurrent(ns);
|
|
8043
8049
|
const queue = client._pendingOrderedMsgs.get(ns);
|
|
8044
8050
|
if (!queue || queue.size === 0) return;
|
|
8045
8051
|
const contig = client._seqTracker.getContiguousSeq(ns);
|
|
@@ -8048,7 +8054,7 @@ var MessageDeliveryEngine = class {
|
|
|
8048
8054
|
const drainBatches = /* @__PURE__ */ new Map();
|
|
8049
8055
|
try {
|
|
8050
8056
|
for (const seq2 of ready) {
|
|
8051
|
-
this.ensurePullOperationCurrent();
|
|
8057
|
+
if (pullScoped) this.ensurePullOperationCurrent(ns);
|
|
8052
8058
|
const item = queue.get(seq2);
|
|
8053
8059
|
queue.delete(seq2);
|
|
8054
8060
|
if (!item || client._pushedSeqs.get(ns)?.has(seq2)) continue;
|
|
@@ -8070,7 +8076,7 @@ var MessageDeliveryEngine = class {
|
|
|
8070
8076
|
itemSource,
|
|
8071
8077
|
itemBatch
|
|
8072
8078
|
);
|
|
8073
|
-
this.ensurePullOperationCurrent();
|
|
8079
|
+
if (pullScoped) this.ensurePullOperationCurrent(ns);
|
|
8074
8080
|
this.markPublishedSeq(ns, seq2);
|
|
8075
8081
|
delivered = true;
|
|
8076
8082
|
}
|
|
@@ -8082,7 +8088,7 @@ var MessageDeliveryEngine = class {
|
|
|
8082
8088
|
if (queue.size === 0) {
|
|
8083
8089
|
client._pendingOrderedMsgs.delete(ns);
|
|
8084
8090
|
if (delivered && persist) {
|
|
8085
|
-
this.ensurePullOperationCurrent();
|
|
8091
|
+
if (pullScoped) this.ensurePullOperationCurrent(ns);
|
|
8086
8092
|
await this.saveSeqTrackerState();
|
|
8087
8093
|
}
|
|
8088
8094
|
}
|
|
@@ -8126,8 +8132,9 @@ var MessageDeliveryEngine = class {
|
|
|
8126
8132
|
const client = this.runtime.client;
|
|
8127
8133
|
const ownsBatch = !operationBatch && (source === "push" || source === "inline_push");
|
|
8128
8134
|
const batch = operationBatch ?? (ownsBatch ? this.createDeliveryChangeBatch(source) : void 0);
|
|
8135
|
+
const pullScoped = this.isPullScopedSource(source);
|
|
8129
8136
|
try {
|
|
8130
|
-
this.ensurePullOperationCurrent();
|
|
8137
|
+
if (pullScoped) this.ensurePullOperationCurrent(ns);
|
|
8131
8138
|
const seqNum = Number(seq2);
|
|
8132
8139
|
if (!Number.isFinite(seqNum) || !Number.isInteger(seqNum) || seqNum <= 0 || !ns) {
|
|
8133
8140
|
if (event === "message.recalled") {
|
|
@@ -8135,11 +8142,11 @@ var MessageDeliveryEngine = class {
|
|
|
8135
8142
|
ns,
|
|
8136
8143
|
() => this.publishMessageRecallTombstone(seq2, payload, source)
|
|
8137
8144
|
);
|
|
8138
|
-
this.ensurePullOperationCurrent();
|
|
8145
|
+
if (pullScoped) this.ensurePullOperationCurrent(ns);
|
|
8139
8146
|
return published;
|
|
8140
8147
|
}
|
|
8141
8148
|
await client._withPullResponseProcessing(ns, () => client._publishAppEvent(event, payload, source, ns, batch));
|
|
8142
|
-
this.ensurePullOperationCurrent();
|
|
8149
|
+
if (pullScoped) this.ensurePullOperationCurrent(ns);
|
|
8143
8150
|
return true;
|
|
8144
8151
|
}
|
|
8145
8152
|
const queue = client._pendingOrderedMsgs.get(ns);
|
|
@@ -8149,7 +8156,7 @@ var MessageDeliveryEngine = class {
|
|
|
8149
8156
|
return false;
|
|
8150
8157
|
}
|
|
8151
8158
|
await this.drainOrderedMessages(ns, seqNum, false, persist, batch, source);
|
|
8152
|
-
this.ensurePullOperationCurrent();
|
|
8159
|
+
if (pullScoped) this.ensurePullOperationCurrent(ns);
|
|
8153
8160
|
queue?.delete(seqNum);
|
|
8154
8161
|
if (queue && queue.size === 0) client._pendingOrderedMsgs.delete(ns);
|
|
8155
8162
|
if (event === "message.recalled") {
|
|
@@ -8157,12 +8164,12 @@ var MessageDeliveryEngine = class {
|
|
|
8157
8164
|
ns,
|
|
8158
8165
|
() => this.publishMessageRecallTombstone(seqNum, payload, source)
|
|
8159
8166
|
);
|
|
8160
|
-
this.ensurePullOperationCurrent();
|
|
8167
|
+
if (pullScoped) this.ensurePullOperationCurrent(ns);
|
|
8161
8168
|
this.markPublishedSeq(ns, seqNum);
|
|
8162
8169
|
return published;
|
|
8163
8170
|
}
|
|
8164
8171
|
await client._withPullResponseProcessing(ns, () => client._publishAppEvent(event, payload, source, ns, batch));
|
|
8165
|
-
this.ensurePullOperationCurrent();
|
|
8172
|
+
if (pullScoped) this.ensurePullOperationCurrent(ns);
|
|
8166
8173
|
this.markPublishedSeq(ns, seqNum);
|
|
8167
8174
|
return true;
|
|
8168
8175
|
} finally {
|
|
@@ -15331,12 +15338,15 @@ function validateAgentMdDocument(content, opts = {}) {
|
|
|
15331
15338
|
if (new TextEncoder().encode(parsed.payload).byteLength > (opts.maxPayloadBytes ?? 4096)) throw new ValidationError("agent.md payload exceeds 4096 bytes");
|
|
15332
15339
|
if (parsed.fields && new TextEncoder().encode(String(content)).byteLength - new TextEncoder().encode(parsed.payload).byteLength > AGENT_MD_MAX_SIGNATURE_BYTES) throw new ValidationError(`agent.md signature block exceeds ${AGENT_MD_MAX_SIGNATURE_BYTES} bytes`);
|
|
15333
15340
|
const meta = frontmatter(parsed.payload);
|
|
15334
|
-
for (const key of ["aid", "name", "type", "version"
|
|
15341
|
+
for (const key of ["aid", "name", "type", "version"]) if (!(key in meta)) throw new ValidationError(`agent.md frontmatter missing ${key}`);
|
|
15335
15342
|
if (typeof meta.aid !== "string" || !AID_RE.test(meta.aid)) throw new ValidationError("agent.md frontmatter aid has invalid format");
|
|
15336
15343
|
if (opts.expectedAid && meta.aid.toLowerCase() !== opts.expectedAid.trim().toLowerCase()) throw new ValidationError("agent.md frontmatter aid does not match local AID");
|
|
15337
|
-
for (const key of ["name", "type"
|
|
15344
|
+
for (const key of ["name", "type"]) if (typeof meta[key] !== "string" || !String(meta[key]).trim()) throw new ValidationError(`agent.md frontmatter ${key} must be a non-empty string`);
|
|
15338
15345
|
if (typeof meta.version !== "string" || !SEMVER_RE.test(meta.version)) throw new ValidationError("agent.md version must be SemVer MAJOR.MINOR.PATCH");
|
|
15339
|
-
if (
|
|
15346
|
+
if ("description" in meta) {
|
|
15347
|
+
if (typeof meta.description !== "string") throw new ValidationError("agent.md frontmatter description must be a string");
|
|
15348
|
+
if (Array.from(meta.description).length > 100) throw new ValidationError("agent.md description exceeds 100 characters");
|
|
15349
|
+
}
|
|
15340
15350
|
if (meta.tags !== void 0 && (!Array.isArray(meta.tags) || meta.tags.some((item) => typeof item !== "string"))) throw new ValidationError("agent.md tags must be an array of strings");
|
|
15341
15351
|
const fields = parsed.fields;
|
|
15342
15352
|
if (fields) {
|
|
@@ -15853,7 +15863,6 @@ var RpcPipeline = class {
|
|
|
15853
15863
|
__publicField(this, "pullGateStates", /* @__PURE__ */ new Map());
|
|
15854
15864
|
__publicField(this, "inlineRealtimeScopes", /* @__PURE__ */ new Set());
|
|
15855
15865
|
__publicField(this, "pullWorkTokens", /* @__PURE__ */ new Set());
|
|
15856
|
-
__publicField(this, "pullGeneration", 0);
|
|
15857
15866
|
__publicField(this, "pullInvalidationWait", null);
|
|
15858
15867
|
this.runtime = runtime;
|
|
15859
15868
|
}
|
|
@@ -15948,13 +15957,19 @@ var RpcPipeline = class {
|
|
|
15948
15957
|
if (pullGateKey) {
|
|
15949
15958
|
return await this.runPullSerialized(
|
|
15950
15959
|
pullGateKey,
|
|
15951
|
-
async () => await this.callImplInner(
|
|
15960
|
+
async () => await this.callImplInner(
|
|
15961
|
+
method,
|
|
15962
|
+
p,
|
|
15963
|
+
skipSendResultEnvelope,
|
|
15964
|
+
deferGroupReadyPostprocess,
|
|
15965
|
+
this.pullScopeKey(pullGateKey)
|
|
15966
|
+
),
|
|
15952
15967
|
rpcBackground && this.pullGateBackgroundForCall(method, p)
|
|
15953
15968
|
);
|
|
15954
15969
|
}
|
|
15955
15970
|
return await runWithRpcPriority(() => this.callImplInner(method, p, skipSendResultEnvelope, deferGroupReadyPostprocess));
|
|
15956
15971
|
}
|
|
15957
|
-
async callImplInner(method, p, skipSendResultEnvelope = false, deferGroupReadyPostprocess = false) {
|
|
15972
|
+
async callImplInner(method, p, skipSendResultEnvelope = false, deferGroupReadyPostprocess = false, pullNamespace = "") {
|
|
15958
15973
|
const client = this.runtime.client;
|
|
15959
15974
|
if (method === "message.v2.pull" || method === "message.pull" && hasMatchingV2Session(client)) {
|
|
15960
15975
|
try {
|
|
@@ -16034,7 +16049,10 @@ var RpcPipeline = class {
|
|
|
16034
16049
|
};
|
|
16035
16050
|
let result = await this.transportCallWithIdentityRecovery(invokeTransport, method, p);
|
|
16036
16051
|
const sendResultModeSource = result;
|
|
16037
|
-
result = await this.postprocessResult(method, p, result, {
|
|
16052
|
+
result = await this.postprocessResult(method, p, result, {
|
|
16053
|
+
skipGroupState: deferGroupReadyPostprocess,
|
|
16054
|
+
pullNamespace
|
|
16055
|
+
});
|
|
16038
16056
|
if (!skipSendResultEnvelope) {
|
|
16039
16057
|
result = client._delivery.attachSendResultEnvelope(
|
|
16040
16058
|
method,
|
|
@@ -16296,7 +16314,6 @@ var RpcPipeline = class {
|
|
|
16296
16314
|
if (active.timedOut) return;
|
|
16297
16315
|
active.timedOut = true;
|
|
16298
16316
|
active.invalidated = true;
|
|
16299
|
-
this.pullGeneration += 1;
|
|
16300
16317
|
active.cancel?.();
|
|
16301
16318
|
const err = new TimeoutError(`pull gate timeout: ${active.namespace}`, { retryable: true });
|
|
16302
16319
|
this.runtime.client._clientLog?.warn(`pull gate watchdog timeout: gate=${name} key=${active.key}`);
|
|
@@ -16471,12 +16488,14 @@ var RpcPipeline = class {
|
|
|
16471
16488
|
gate.inflight = false;
|
|
16472
16489
|
gate.startedAt = 0;
|
|
16473
16490
|
}
|
|
16474
|
-
|
|
16475
|
-
|
|
16491
|
+
isPullNamespaceCurrent(namespace) {
|
|
16492
|
+
const ns = this.pullScopeKey(namespace);
|
|
16493
|
+
if (!ns) return true;
|
|
16494
|
+
const active = this.pullGateStates.get(this.pullGateName(ns))?.active;
|
|
16495
|
+
return !active || active.namespace !== ns || !active.timedOut && !active.invalidated;
|
|
16476
16496
|
}
|
|
16477
16497
|
invalidatePulls() {
|
|
16478
16498
|
if (this.pullInvalidationWait) return this.pullInvalidationWait;
|
|
16479
|
-
this.pullGeneration += 1;
|
|
16480
16499
|
const error = new Error("pull invalidated");
|
|
16481
16500
|
const waits = [];
|
|
16482
16501
|
for (const state of this.pullGateStates.values()) {
|
|
@@ -16589,23 +16608,11 @@ var RpcPipeline = class {
|
|
|
16589
16608
|
}
|
|
16590
16609
|
async executePullOperation(operation, background) {
|
|
16591
16610
|
const client = this.runtime.client;
|
|
16592
|
-
|
|
16593
|
-
|
|
16594
|
-
client._pullOperationGeneration = this.pullGeneration;
|
|
16595
|
-
try {
|
|
16596
|
-
if (background) return await client._withBackgroundRpc(operation);
|
|
16597
|
-
return await operation();
|
|
16598
|
-
} finally {
|
|
16599
|
-
if (hadPrevious) client._pullOperationGeneration = previous;
|
|
16600
|
-
else delete client._pullOperationGeneration;
|
|
16601
|
-
}
|
|
16602
|
-
}
|
|
16603
|
-
pullOperationIsCurrent() {
|
|
16604
|
-
const generation = this.runtime.client._pullOperationGeneration;
|
|
16605
|
-
return generation === void 0 || this.isPullGenerationCurrent(generation);
|
|
16611
|
+
if (background) return await client._withBackgroundRpc(operation);
|
|
16612
|
+
return await operation();
|
|
16606
16613
|
}
|
|
16607
|
-
throwIfPullInvalidated() {
|
|
16608
|
-
if (!this.
|
|
16614
|
+
throwIfPullInvalidated(namespace) {
|
|
16615
|
+
if (!this.isPullNamespaceCurrent(namespace)) throw new Error("pull invalidated");
|
|
16609
16616
|
}
|
|
16610
16617
|
async yieldPullGate(key, nextKey, background) {
|
|
16611
16618
|
if (!key) return;
|
|
@@ -16710,7 +16717,7 @@ var RpcPipeline = class {
|
|
|
16710
16717
|
return this.bindActivePullCancellation(method, payload, request);
|
|
16711
16718
|
};
|
|
16712
16719
|
const result = await this.transportCallWithIdentityRecovery(invokeTransport, method, payload);
|
|
16713
|
-
this.throwIfPullInvalidated();
|
|
16720
|
+
this.throwIfPullInvalidated(this.pullScopeKey(this.pullGateKeyForCall(method, payload)));
|
|
16714
16721
|
return result;
|
|
16715
16722
|
}
|
|
16716
16723
|
async transportCallWithIdentityRecovery(operation, method, params2) {
|
|
@@ -16734,7 +16741,8 @@ var RpcPipeline = class {
|
|
|
16734
16741
|
}
|
|
16735
16742
|
async postprocessResult(method, params2, result, options = {}) {
|
|
16736
16743
|
const client = this.runtime.client;
|
|
16737
|
-
this.
|
|
16744
|
+
const pullNamespace = this.pullScopeKey(options.pullNamespace || this.pullGateKeyForCall(method, params2));
|
|
16745
|
+
this.throwIfPullInvalidated(pullNamespace);
|
|
16738
16746
|
let next = result;
|
|
16739
16747
|
if ((method === "group.send" || method === "group.v2.send") && isJsonObject(next)) {
|
|
16740
16748
|
next = normalizeGroupMentionMode(next);
|
|
@@ -16753,7 +16761,7 @@ var RpcPipeline = class {
|
|
|
16753
16761
|
if (method === "message.pull" && isJsonObject(next)) {
|
|
16754
16762
|
const isTail = String(next.window_mode ?? params2.window_mode ?? "").trim().toLowerCase() === "tail";
|
|
16755
16763
|
if (!isTail && client._aid && client._seqTracker) {
|
|
16756
|
-
const ns = `p2p:${client._aid}`;
|
|
16764
|
+
const ns = pullNamespace || `p2p:${client._aid}`;
|
|
16757
16765
|
const afterSeq = Math.max(0, Number(params2.after_seq ?? 0) || 0);
|
|
16758
16766
|
await client._delivery.commitPlainForwardPage(ns, afterSeq, "message.pull", next);
|
|
16759
16767
|
} else {
|
|
@@ -16771,7 +16779,7 @@ var RpcPipeline = class {
|
|
|
16771
16779
|
if (!ownsCursor) {
|
|
16772
16780
|
client._clientLog.debug(`group.pull external cursor skips local Forward commit: group=${gid}`);
|
|
16773
16781
|
} else if (!isTail && gid && client._seqTracker) {
|
|
16774
|
-
const ns = `group:${gid}`;
|
|
16782
|
+
const ns = pullNamespace || `group:${gid}`;
|
|
16775
16783
|
const afterSeq = Math.max(0, Number(params2.after_message_seq ?? params2.after_seq ?? 0) || 0);
|
|
16776
16784
|
await client._delivery.commitPlainForwardPage(ns, afterSeq, "group.pull", next, gid);
|
|
16777
16785
|
} else {
|
|
@@ -36,6 +36,7 @@ export declare class MessageDeliveryEngine {
|
|
|
36
36
|
isInlineGenerationCurrent(generation: number): boolean;
|
|
37
37
|
private isPullOperationCurrent;
|
|
38
38
|
private ensurePullOperationCurrent;
|
|
39
|
+
private isPullScopedSource;
|
|
39
40
|
captureInlineGeneration(): number;
|
|
40
41
|
private beginRealtimeSync;
|
|
41
42
|
private endRealtimeSync;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delivery.d.ts","sourceRoot":"","sources":["../../src/client/delivery.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAEjD,OAAO,EAAiC,KAAK,UAAU,EAAkB,KAAK,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,aAAa,CAAC;AAE3H,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAmClD,MAAM,MAAM,mBAAmB,GAAG;IAChC,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,GAAG,aAAa,CAAC;IAChC,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC7B,MAAM,EAAE,OAAO,CAAC;CACjB,CAAC;AAcF,KAAK,oBA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