deepline 0.3.184 → 0.3.186
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/sdk/src/types.ts +4 -0
- package/dist/bundling-sources/shared_libs/play-runtime/app-runtime-api.ts +53 -0
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +751 -193
- package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +4 -0
- package/dist/bundling-sources/shared_libs/play-runtime/durable-receipt-execution.ts +3 -1
- package/dist/bundling-sources/shared_libs/play-runtime/fixture-behavior.ts +1 -0
- package/dist/bundling-sources/shared_libs/play-runtime/governor/app-runtime-rate-state-backend.ts +437 -150
- package/dist/bundling-sources/shared_libs/play-runtime/governor/governor.ts +47 -4
- package/dist/bundling-sources/shared_libs/play-runtime/governor/policy.ts +3 -1
- package/dist/bundling-sources/shared_libs/play-runtime/governor/rate-state-backend.ts +18 -0
- package/dist/bundling-sources/shared_libs/play-runtime/launch-identity.ts +229 -0
- package/dist/bundling-sources/shared_libs/play-runtime/map-execution-frame.ts +3 -0
- package/dist/bundling-sources/shared_libs/play-runtime/play-runs/admission/contracts.ts +16 -1
- package/dist/bundling-sources/shared_libs/play-runtime/play-runs/admission/postgres-adapter.ts +3 -0
- package/dist/bundling-sources/shared_libs/play-runtime/protocol.ts +22 -2
- package/dist/bundling-sources/shared_libs/play-runtime/resource-governor.ts +6 -1
- package/dist/bundling-sources/shared_libs/play-runtime/run-failure.ts +11 -5
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-flow.ts +102 -12
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-operation-contract.ts +8 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-telemetry.ts +9 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backend.ts +7 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +136 -28
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-rate-scope.ts +80 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-rate-state.ts +897 -207
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +271 -25
- package/dist/bundling-sources/shared_libs/play-runtime/suspension.ts +21 -0
- package/dist/bundling-sources/shared_libs/play-runtime/tool-execute-retry-policy.ts +120 -34
- package/dist/bundling-sources/shared_libs/play-runtime/tool-result.ts +82 -2
- package/dist/bundling-sources/shared_libs/plays/tool-result-types.ts +7 -2
- package/dist/cli/index.js +29 -3
- package/dist/cli/index.mjs +29 -3
- package/dist/index.d.mts +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/install-integrity.json +2 -0
- 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
|
@@ -485,6 +485,8 @@ export interface MapExecutionFrame {
|
|
|
485
485
|
suspendedInputRows?: Array<{
|
|
486
486
|
inputIndex: number;
|
|
487
487
|
data: Record<string, unknown>;
|
|
488
|
+
/** Digest of the authored input before Runtime Sheet outputs were merged. */
|
|
489
|
+
authoredInputDigest?: string;
|
|
488
490
|
}>;
|
|
489
491
|
completedRowsCount?: number;
|
|
490
492
|
pendingRowsCount?: number;
|
|
@@ -1191,6 +1193,8 @@ export interface PlayCheckpoint {
|
|
|
1191
1193
|
kind: 'integration_event';
|
|
1192
1194
|
eventKey: string;
|
|
1193
1195
|
timeoutMs: number;
|
|
1196
|
+
/** Original absolute expiry; old checkpoints may omit it. */
|
|
1197
|
+
eventExpiresAtMs?: number;
|
|
1194
1198
|
provider?: string;
|
|
1195
1199
|
toolId?: string;
|
|
1196
1200
|
messageRef?: {
|
|
@@ -19,6 +19,7 @@ import type { DurableReceiptRecoverySource } from './tool-execution-outcome';
|
|
|
19
19
|
import {
|
|
20
20
|
isPlayExecutionSuspendedError,
|
|
21
21
|
isPlayRowExecutionSuspendedError,
|
|
22
|
+
PlayRowProviderBackpressureError,
|
|
22
23
|
} from './suspension';
|
|
23
24
|
import type { WorkReceiptFailureKind } from './work-receipts';
|
|
24
25
|
import {
|
|
@@ -1548,7 +1549,8 @@ export async function executeWithDurableRuntimeReceipt<T>(input: {
|
|
|
1548
1549
|
}
|
|
1549
1550
|
if (
|
|
1550
1551
|
isPlayExecutionSuspendedError(error) ||
|
|
1551
|
-
isPlayRowExecutionSuspendedError(error)
|
|
1552
|
+
isPlayRowExecutionSuspendedError(error) ||
|
|
1553
|
+
error instanceof PlayRowProviderBackpressureError
|
|
1552
1554
|
) {
|
|
1553
1555
|
const released = await input.store.release(
|
|
1554
1556
|
input.receiptKey,
|