deepline 0.3.284 → 0.3.285
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/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/activity-observation.ts +26 -2
- package/dist/bundling-sources/shared_libs/play-runtime/batch-runtime.ts +7 -0
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +817 -2236
- package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +19 -6
- package/dist/bundling-sources/shared_libs/play-runtime/durable-receipt-execution.ts +127 -789
- package/dist/bundling-sources/shared_libs/play-runtime/run-ledger.ts +180 -14
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +1 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona.ts +3 -22
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-incident-drills.ts +26 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +50 -8
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-progress.ts +122 -18
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +218 -41
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-capacity.ts +20 -2
- package/dist/bundling-sources/shared_libs/play-runtime/test-runtime-seams.ts +13 -2
- package/dist/bundling-sources/shared_libs/play-runtime/tool-call/receipt-cohort.ts +181 -326
- package/dist/bundling-sources/shared_libs/play-runtime/tool-call/runtime-step-receipts-adapter.ts +38 -151
- package/dist/bundling-sources/shared_libs/play-runtime/worker-api-types.ts +8 -0
- package/dist/cli/index.js +28 -3
- package/dist/cli/index.mjs +28 -3
- package/dist/{client-B0AjIkgb.d.mts → client-Cl-zj2oS.d.mts} +4 -0
- package/dist/{client-BCXQ_Ftc.d.ts → client-T2jVnZrq.d.ts} +4 -0
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +25 -1
- package/dist/index.mjs +25 -1
- package/dist/install-integrity.json +2 -2
- package/dist/plays/run-request.d.mts +1 -1
- package/dist/plays/run-request.d.ts +1 -1
- package/dist/release.d.mts +1 -1
- package/dist/release.d.ts +1 -1
- package/dist/release.js +1 -1
- package/dist/release.mjs +1 -1
- package/package.json +1 -1
|
@@ -71,10 +71,11 @@ export interface RowState {
|
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
export interface ToolCallRequest {
|
|
74
|
+
/** Internal delivery identity, unique for each invocation. */
|
|
74
75
|
callId: string;
|
|
75
76
|
/**
|
|
76
|
-
*
|
|
77
|
-
*
|
|
77
|
+
* Replay-stable per-run invocation identity, independent of the completed
|
|
78
|
+
* result cache and the author-supplied call id.
|
|
78
79
|
*/
|
|
79
80
|
logicalCallId?: string;
|
|
80
81
|
cacheKey: string;
|
|
@@ -626,6 +627,12 @@ export type PlayExecutionEvent =
|
|
|
626
627
|
completedRows: number;
|
|
627
628
|
failedRows: number;
|
|
628
629
|
totalRows?: number;
|
|
630
|
+
/** Rows whose resolver began, including rows awaiting a tool or receipt. */
|
|
631
|
+
startedRows?: number;
|
|
632
|
+
/** Admitted row resolvers still executing; this is not an HTTP count. */
|
|
633
|
+
activeRows?: number;
|
|
634
|
+
/** Input rows whose resolver has not started yet. */
|
|
635
|
+
waitingRows?: number;
|
|
629
636
|
/** Rows whose Runtime Sheet write lost to a newer write; not failures. */
|
|
630
637
|
supersededRows?: number;
|
|
631
638
|
/**
|
|
@@ -1180,6 +1187,15 @@ export interface ContextOptions {
|
|
|
1180
1187
|
executionGovernor?: PlayExecutionGovernor;
|
|
1181
1188
|
}
|
|
1182
1189
|
|
|
1190
|
+
export interface ProviderRetryCursor {
|
|
1191
|
+
invocationAttempt: number;
|
|
1192
|
+
retryFromInvocationAttempt: number;
|
|
1193
|
+
/** Preserve an outgoing invocation's fence across mixed-worker resumes. */
|
|
1194
|
+
legacyProviderOperationKey?: string;
|
|
1195
|
+
legacyTransportReceiptKey?: string;
|
|
1196
|
+
legacyProviderOperationForceRefreshIdentities?: readonly string[];
|
|
1197
|
+
}
|
|
1198
|
+
|
|
1183
1199
|
export interface PlayCheckpoint {
|
|
1184
1200
|
/** Last completed runner invocation within the current scheduler attempt. */
|
|
1185
1201
|
workCounterInvocationAttempt?: number;
|
|
@@ -1190,10 +1206,7 @@ export interface PlayCheckpoint {
|
|
|
1190
1206
|
*/
|
|
1191
1207
|
durableCallCacheEpochMs?: number;
|
|
1192
1208
|
/** Retry identity for a provider-owned 429 while its map row is suspended. */
|
|
1193
|
-
providerRetryCursors?: Record<
|
|
1194
|
-
string,
|
|
1195
|
-
{ invocationAttempt: number; retryFromInvocationAttempt: number }
|
|
1196
|
-
>;
|
|
1209
|
+
providerRetryCursors?: Record<string, ProviderRetryCursor>;
|
|
1197
1210
|
/** First provider hold per credential scope, retained across durable resumes. */
|
|
1198
1211
|
providerNoProgressStartedAtMsByScope?: Record<string, number>;
|
|
1199
1212
|
/** Waterfall batches that have completed: key = `${toolName}:${provider}`, value = results array. */
|