veryfront 0.1.243 → 0.1.244
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/esm/deno.js +1 -1
- package/esm/src/agent/durable.js +4 -4
- package/esm/src/utils/version-constant.d.ts +1 -1
- package/esm/src/utils/version-constant.js +1 -1
- package/package.json +1 -1
- package/src/deno.js +1 -1
- package/src/src/agent/durable.ts +4 -4
- package/src/src/utils/version-constant.ts +1 -1
package/esm/deno.js
CHANGED
package/esm/src/agent/durable.js
CHANGED
|
@@ -249,15 +249,15 @@ export async function resyncConversationRunAppendCursor(input) {
|
|
|
249
249
|
runId: input.runId,
|
|
250
250
|
abortSignal: input.abortSignal,
|
|
251
251
|
});
|
|
252
|
-
if (run
|
|
252
|
+
if (!isAppendableConversationRunProjection(run)) {
|
|
253
253
|
return {
|
|
254
|
-
result: "
|
|
254
|
+
result: "non_appendable",
|
|
255
255
|
run,
|
|
256
256
|
};
|
|
257
257
|
}
|
|
258
|
-
if (
|
|
258
|
+
if (run.latestExternalEventSequence > input.previousLatestExternalEventSequence) {
|
|
259
259
|
return {
|
|
260
|
-
result: "
|
|
260
|
+
result: "advanced",
|
|
261
261
|
run,
|
|
262
262
|
};
|
|
263
263
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.1.
|
|
1
|
+
export declare const VERSION = "0.1.244";
|
|
2
2
|
//# sourceMappingURL=version-constant.d.ts.map
|
package/package.json
CHANGED
package/src/deno.js
CHANGED
package/src/src/agent/durable.ts
CHANGED
|
@@ -362,16 +362,16 @@ export async function resyncConversationRunAppendCursor(input: {
|
|
|
362
362
|
abortSignal: input.abortSignal,
|
|
363
363
|
});
|
|
364
364
|
|
|
365
|
-
if (run
|
|
365
|
+
if (!isAppendableConversationRunProjection(run)) {
|
|
366
366
|
return {
|
|
367
|
-
result: "
|
|
367
|
+
result: "non_appendable",
|
|
368
368
|
run,
|
|
369
369
|
};
|
|
370
370
|
}
|
|
371
371
|
|
|
372
|
-
if (
|
|
372
|
+
if (run.latestExternalEventSequence > input.previousLatestExternalEventSequence) {
|
|
373
373
|
return {
|
|
374
|
-
result: "
|
|
374
|
+
result: "advanced",
|
|
375
375
|
run,
|
|
376
376
|
};
|
|
377
377
|
}
|