deepline 0.3.409 → 0.3.411
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/agent-runtime.ts +18 -1
- package/dist/bundling-sources/sdk/src/client.ts +206 -333
- package/dist/bundling-sources/sdk/src/compat.ts +45 -2
- package/dist/bundling-sources/sdk/src/db/query.ts +9 -10
- package/dist/bundling-sources/sdk/src/http.ts +38 -20
- package/dist/bundling-sources/sdk/src/index.ts +4 -5
- package/dist/bundling-sources/sdk/src/play.ts +10 -10
- package/dist/bundling-sources/sdk/src/plays/bundle-play-file.ts +6 -4
- package/dist/bundling-sources/sdk/src/plays/check-local-play-graph.ts +114 -0
- package/dist/bundling-sources/sdk/src/plays/client.ts +431 -0
- package/dist/bundling-sources/sdk/src/plays/local-play-execution.ts +2 -2
- package/dist/bundling-sources/sdk/src/plays/run-request.ts +106 -16
- package/dist/bundling-sources/sdk/src/release.ts +13 -7
- package/dist/bundling-sources/sdk/src/runs/read-errors.ts +8 -0
- package/dist/bundling-sources/sdk/src/runs/watch-polling.ts +124 -13
- package/dist/bundling-sources/sdk/src/tool-calls.ts +108 -19
- package/dist/bundling-sources/sdk/src/types.ts +18 -0
- package/dist/bundling-sources/shared_libs/integration-contracts/execute-retry-contract.ts +37 -0
- package/dist/bundling-sources/shared_libs/integration-contracts/package.json +3 -0
- package/dist/bundling-sources/shared_libs/monitors/package.json +1 -1
- package/dist/bundling-sources/shared_libs/play-data-plane/r2.ts +3 -1
- package/dist/bundling-sources/shared_libs/play-runtime/async-operation.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +277 -76
- package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +6 -0
- package/dist/bundling-sources/shared_libs/play-runtime/dataset-row-input.ts +124 -0
- package/dist/bundling-sources/shared_libs/play-runtime/durable-call-cache.ts +6 -62
- package/dist/bundling-sources/shared_libs/play-runtime/durable-receipt-execution.ts +1 -0
- package/dist/bundling-sources/shared_libs/play-runtime/durable-tool-identity.ts +67 -0
- package/dist/bundling-sources/shared_libs/play-runtime/execute-server-timing.ts +64 -6
- package/dist/bundling-sources/shared_libs/play-runtime/freshness-receipt-execution.ts +1 -5
- package/dist/bundling-sources/shared_libs/play-runtime/ledger-safe-payload.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/play-artifact-runtime-contract.ts +3 -0
- package/dist/bundling-sources/shared_libs/play-runtime/play-http-request.ts +10 -0
- package/dist/bundling-sources/shared_libs/play-runtime/query-result-dataset.ts +3 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/egress-probe.ts +3 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +26 -16
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/runtime-heartbeat.ts +36 -11
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/runtime-terminal-push.ts +35 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-launch-transport.ts +21 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-payload-transport.ts +21 -6
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-session-execution.ts +11 -2
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona.ts +85 -20
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-api.ts +71 -13
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-execution-queries.ts +100 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-pool.ts +9 -5
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +337 -146
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-shared.ts +26 -12
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-rate-state.ts +3 -1
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +425 -102
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/run-ledger-dispatch-authority.ts +4 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/run-ledger-outbox-recovery.ts +4 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-event-search.ts +9 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-capacity.ts +181 -124
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-worker-wake.ts +152 -0
- package/dist/bundling-sources/shared_libs/play-runtime/test-runtime-seams.ts +5 -3
- package/dist/bundling-sources/shared_libs/play-runtime/tool-cache-policy.ts +31 -0
- package/dist/bundling-sources/shared_libs/play-runtime/transient-service-error.ts +10 -0
- package/dist/bundling-sources/shared_libs/plays/ambiguous-write-error.ts +25 -0
- package/dist/bundling-sources/shared_libs/plays/artifact-types.ts +4 -0
- package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +63 -68
- package/dist/bundling-sources/shared_libs/plays/bundling/index.ts +129 -63
- package/dist/bundling-sources/shared_libs/plays/contracts.ts +14 -0
- package/dist/bundling-sources/shared_libs/plays/enrich-play-compiler.ts +58 -16
- package/dist/bundling-sources/shared_libs/plays/fetch-http-error.ts +50 -0
- package/dist/bundling-sources/shared_libs/plays/source-authoring-edition.ts +351 -0
- package/dist/bundling-sources/shared_libs/plays/tool-list-getter-mode.ts +9 -0
- package/dist/bundling-sources/shared_libs/plays/tool-result-types.ts +1 -1
- package/dist/cli/auth-M7TBLW55.js +40 -0
- package/dist/cli/{auth-5HIIACF7.mjs → auth-YD6ZTMB2.mjs} +6 -6
- package/dist/cli/{billing-4275N7FL.js → billing-2L3MOB42.js} +84 -84
- package/dist/cli/{billing-EVZ3ZWKC.mjs → billing-ZT46GV4C.mjs} +8 -8
- package/dist/cli/{chunk-ZAAKSJAS.js → chunk-27GJKC5Q.js} +17 -10
- package/dist/cli/{chunk-UHNDVD3P.js → chunk-2H4EY7KH.js} +100 -41
- package/dist/cli/{chunk-GAICVLKL.js → chunk-2NI6DHN7.js} +2 -2
- package/dist/cli/{chunk-JGHG4NBA.js → chunk-2WUY3VNK.js} +19 -4
- package/dist/cli/{chunk-FHPCKULR.mjs → chunk-4BA6ATHA.mjs} +2 -2
- package/dist/cli/{chunk-RTCDW2GU.js → chunk-4O4WNFFC.js} +170 -49
- package/dist/cli/{chunk-OSDXE27V.mjs → chunk-4PG4ARL2.mjs} +17 -10
- package/dist/cli/{chunk-AU4OFDFX.js → chunk-5IGDNBG7.js} +26 -26
- package/dist/cli/{chunk-WYQO2CBS.mjs → chunk-5LRWWMRV.mjs} +149 -28
- package/dist/cli/{chunk-PMVFAYL7.mjs → chunk-63ILLN5H.mjs} +2 -2
- package/dist/cli/chunk-6AUE6JXY.js +35 -0
- package/dist/cli/chunk-7DSMMCXP.js +501 -0
- package/dist/cli/{chunk-6BJK4EJ3.mjs → chunk-AARWVK4C.mjs} +2132 -65
- package/dist/cli/{chunk-FERRDNMO.js → chunk-AD47BXN2.js} +5 -5
- package/dist/cli/{chunk-J6DCKJNM.mjs → chunk-BJV3VSKE.mjs} +16 -1
- package/dist/cli/{chunk-S6R3OX7B.js → chunk-E4CABWXL.js} +25 -2
- package/dist/cli/{chunk-NXGCO4JB.mjs → chunk-E4IXDAZI.mjs} +5 -0
- package/dist/cli/{chunk-BEVLCKXG.mjs → chunk-E4KBNNNB.mjs} +1 -1
- package/dist/cli/{chunk-2PRO2JTX.mjs → chunk-E52TKKVI.mjs} +36 -284
- package/dist/cli/chunk-FR2ILQ4G.mjs +8 -0
- package/dist/cli/{chunk-2GI3QD3L.js → chunk-FRVPOXGB.js} +644 -330
- package/dist/cli/chunk-G43JLBDE.mjs +501 -0
- package/dist/cli/{chunk-BZAMOCPA.mjs → chunk-IMZ56EOH.mjs} +3 -3
- package/dist/cli/chunk-IPGV6VFA.mjs +6084 -0
- package/dist/cli/{chunk-IT3XBJQR.mjs → chunk-IR3AKJAY.mjs} +330 -625
- package/dist/cli/chunk-J33TSWO5.js +8 -0
- package/dist/cli/chunk-JQMZUWNM.mjs +35 -0
- package/dist/cli/chunk-JYHSEGRM.js +6084 -0
- package/dist/cli/{chunk-JI2B4RZP.mjs → chunk-KCC3FKIW.mjs} +71 -12
- package/dist/cli/{chunk-6IKARAYD.mjs → chunk-L2VKAASU.mjs} +23 -0
- package/dist/cli/{chunk-O3VSXP2F.js → chunk-LWBM5FFL.js} +50 -50
- package/dist/cli/{chunk-VWBTTJYQ.mjs → chunk-M6OASCVL.mjs} +6 -3
- package/dist/cli/{chunk-YHPYUZZX.mjs → chunk-MAMVGOSC.mjs} +1 -1
- package/dist/cli/{chunk-Q2E4E4FJ.js → chunk-NPBJI7RE.js} +8 -8
- package/dist/cli/chunk-NQWIZ5PZ.js +313 -0
- package/dist/cli/{chunk-HQXL5526.mjs → chunk-NUX2QHNC.mjs} +1 -1
- package/dist/cli/{chunk-TQNHMWUR.mjs → chunk-OGSXENOF.mjs} +5 -2
- package/dist/cli/{chunk-SEFMGO3Z.js → chunk-OQQOXSYA.js} +2184 -117
- package/dist/cli/{chunk-FJCIUF34.js → chunk-OZSC6CEW.js} +128 -376
- package/dist/cli/{chunk-NZSF57UO.mjs → chunk-PO2VU6WV.mjs} +2 -2
- package/dist/cli/{chunk-7P5AA3SN.js → chunk-PPDBRJRW.js} +6 -1
- package/dist/cli/{chunk-ILHRA7AD.js → chunk-QADCFSGH.js} +7 -7
- package/dist/cli/{chunk-N44JHMKY.mjs → chunk-RFES6Q2J.mjs} +452 -138
- package/dist/cli/{chunk-DEC3JECC.js → chunk-RMINBDYY.js} +5 -2
- package/dist/cli/{chunk-WLOCMJWV.js → chunk-TPFD4F5S.js} +426 -721
- package/dist/cli/{chunk-V76R6HMV.js → chunk-U5AQKE3T.js} +1029 -806
- package/dist/cli/{chunk-PBZYY7VZ.mjs → chunk-UAEVKAUR.mjs} +734 -511
- package/dist/cli/{chunk-WHG43Z67.js → chunk-VGHWJL4W.js} +11 -8
- package/dist/cli/chunk-VKKVSFRD.js +62 -0
- package/dist/cli/{chunk-GSK6NHVM.js → chunk-WU4U6VSB.js} +5 -5
- package/dist/cli/chunk-XAB47ZRV.mjs +313 -0
- package/dist/cli/{chunk-JRAVVJ3T.mjs → chunk-XJD6LZCO.mjs} +2 -2
- package/dist/cli/chunk-ZCALLYF6.mjs +62 -0
- package/dist/cli/{chunk-YD7B53RW.js → chunk-ZHWBU36H.js} +12 -12
- package/dist/cli/{csv-A2MP6EFV.mjs → csv-BKNRRW7D.mjs} +5 -5
- package/dist/cli/{csv-BBOTCGQY.js → csv-SVDP2EU7.js} +14 -14
- package/dist/cli/{db-3W5DMTUX.mjs → db-LU4KLRM6.mjs} +15 -20
- package/dist/cli/{db-G4CODDCA.js → db-OQ6S7TTZ.js} +42 -47
- package/dist/cli/{describe-PQTQ5B6F.js → describe-45TGETKR.js} +27 -22
- package/dist/cli/{describe-XYJ2ZT4M.mjs → describe-U4KOGDRA.mjs} +20 -15
- package/dist/cli/describe-core.d.mts +2 -2
- package/dist/cli/describe-core.d.ts +2 -2
- package/dist/cli/describe-core.js +6 -6
- package/dist/cli/describe-core.mjs +5 -5
- package/dist/cli/{executions-UR67CA5H.mjs → executions-2GAAUXLA.mjs} +8 -8
- package/dist/cli/{executions-TLANVR7Y.js → executions-VZN56VRC.js} +10 -10
- package/dist/cli/{feedback-6C2YTRJL.js → feedback-NS76B5GU.js} +13 -9
- package/dist/cli/{feedback-WHCMGEIL.mjs → feedback-XW5IWA5R.mjs} +11 -7
- package/dist/cli/{git-GWLB6VSA.mjs → git-CLI66XP6.mjs} +6 -6
- package/dist/cli/git-VGYRGFEN.js +24 -0
- package/dist/cli/index.js +236 -348
- package/dist/cli/index.mjs +162 -274
- package/dist/cli/{legacy-noops-ZUFA7RWI.js → legacy-noops-HCFB3ZOV.js} +9 -9
- package/dist/cli/{legacy-noops-KF4XIFEF.mjs → legacy-noops-ODDOMLBL.mjs} +6 -6
- package/dist/cli/{monitors-TB3K2IVE.js → monitors-7WXQ7JFT.js} +94 -94
- package/dist/cli/{monitors-6UOIDIMB.mjs → monitors-ZXX456TE.mjs} +8 -8
- package/dist/cli/{org-CKWMBPIR.js → org-YLX5PHBQ.js} +68 -68
- package/dist/cli/{org-WGHHMVDZ.mjs → org-YUN3TLNP.mjs} +8 -8
- package/dist/cli/{play-LYPAXCLD.mjs → play-LL73A7EP.mjs} +533 -98
- package/dist/cli/{play-N2B3KAVS.js → play-YGOXL52D.js} +1067 -632
- package/dist/cli/{providers-6DI5BVZJ.mjs → providers-35QSAUHL.mjs} +8 -8
- package/dist/cli/{providers-UR42MD6Z.js → providers-RHCIU2PX.js} +11 -11
- package/dist/cli/{quickstart-MNA2S6PO.mjs → quickstart-6BN3LCZH.mjs} +5 -5
- package/dist/cli/{quickstart-FCJG4XGB.js → quickstart-ORMM4NRK.js} +7 -7
- package/dist/cli/search-EWDMUPHR.js +30 -0
- package/dist/cli/{search-VPPYUJ2M.mjs → search-GAERWLSE.mjs} +9 -9
- package/dist/cli/{secrets-QOSMVO36.js → secrets-3AFCTGT7.js} +17 -17
- package/dist/cli/{secrets-DRI4W7Z5.mjs → secrets-FCL5PALY.mjs} +8 -8
- package/dist/cli/sessions-3OEHEQG7.js +16 -0
- package/dist/cli/{sessions-DQNUKP43.mjs → sessions-RSSL7I7O.mjs} +6 -6
- package/dist/cli/{settings-DWDK3Y2R.mjs → settings-GE4NRE7Y.mjs} +12 -12
- package/dist/cli/{settings-JUGGCOPS.js → settings-RX5K4I7H.js} +79 -79
- package/dist/cli/{setup-AWBHNYXK.js → setup-N3ZNAEL5.js} +45 -44
- package/dist/cli/{setup-D5DWVNY4.mjs → setup-X3RXGG4F.mjs} +11 -10
- package/dist/cli/{skills-YV2XR35J.mjs → skills-5JEAJBDE.mjs} +7 -7
- package/dist/cli/skills-VAAQVEQC.js +29 -0
- package/dist/cli/tools-BYYOT2DU.js +44 -0
- package/dist/cli/{tools-VFJYHNV2.mjs → tools-JOKUWEBZ.mjs} +19 -14
- package/dist/cli/update-36G4ZD7B.js +31 -0
- package/dist/cli/{update-IM6VOTGL.mjs → update-UBHEVFR3.mjs} +11 -9
- package/dist/cli/{workflow-26URBWPV.mjs → workflow-FR6EXAXF.mjs} +44 -20
- package/dist/cli/{workflow-3BS6U6SL.js → workflow-SZAVOHN6.js} +54 -30
- package/dist/{client-BfInrZPB.d.mts → client-74k4IPh6.d.mts} +135 -54
- package/dist/{client-BMjJFpan.d.ts → client-C1IK1f8c.d.ts} +135 -54
- package/dist/{compiler-manifest-Ycx-hoAr.d.mts → compiler-manifest-lzWpbV3w.d.mts} +83 -66
- package/dist/{compiler-manifest-Ycx-hoAr.d.ts → compiler-manifest-lzWpbV3w.d.ts} +83 -66
- package/dist/{index-CZXgiN3E.d.mts → index-C8Cy-YTm.d.ts} +5 -1
- package/dist/{index-NPG5pqxQ.d.ts → index-CtNK-0nI.d.mts} +5 -1
- package/dist/index.d.mts +47 -9
- package/dist/index.d.ts +47 -9
- package/dist/index.js +17 -14
- package/dist/index.mjs +13 -10
- package/dist/install-integrity.json +118 -102
- package/dist/plays/bundle-play-file.d.mts +3 -3
- package/dist/plays/bundle-play-file.d.ts +3 -3
- package/dist/plays/bundle-play-file.mjs +5 -4
- package/dist/plays/csv-data-input.js +3 -3
- package/dist/plays/csv-data-input.mjs +2 -2
- package/dist/plays/play-description.d.mts +2 -2
- package/dist/plays/play-description.d.ts +2 -2
- package/dist/plays/run-request.d.mts +2 -2
- package/dist/plays/run-request.d.ts +2 -2
- package/dist/plays/run-request.js +11 -3
- package/dist/plays/run-request.mjs +10 -2
- package/dist/release.d.mts +15 -6
- package/dist/release.d.ts +15 -6
- package/dist/release.js +2 -2
- package/dist/release.mjs +1 -1
- package/package.json +2 -2
- package/dist/cli/auth-F6BX32XZ.js +0 -40
- package/dist/cli/chunk-264PC2RN.mjs +0 -83
- package/dist/cli/chunk-44ZTYHMQ.mjs +0 -155
- package/dist/cli/chunk-53HN7WZN.js +0 -392
- package/dist/cli/chunk-7AALNGTA.mjs +0 -392
- package/dist/cli/chunk-ALD4COBH.js +0 -155
- package/dist/cli/chunk-CLJGSOVM.mjs +0 -1716
- package/dist/cli/chunk-WNUR6VP5.js +0 -83
- package/dist/cli/chunk-Z4VNJOF7.js +0 -1716
- package/dist/cli/git-VQFF6D7C.js +0 -24
- package/dist/cli/search-NCEEONMQ.js +0 -30
- package/dist/cli/sessions-3WYKQABW.js +0 -16
- package/dist/cli/skills-AKPAJVSO.js +0 -29
- package/dist/cli/tools-RBKEK6PM.js +0 -39
- package/dist/cli/update-VFNUBLDA.js +0 -29
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference path="./text-imports.d.ts" />
|
|
2
|
-
import { g as PlayCompilerManifest,
|
|
2
|
+
import { g as PlayCompilerManifest, aj as ToolResultBilling, V as DeeplineError, Y as BillingEntitlements, ao as BillingBenefitValues } from './compiler-manifest-lzWpbV3w.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { MonitorFleetDefinition } from './monitor-fleet-contract.js';
|
|
5
5
|
|
|
@@ -1579,6 +1579,16 @@ interface ProviderDefinition {
|
|
|
1579
1579
|
releasedAt?: string;
|
|
1580
1580
|
}
|
|
1581
1581
|
|
|
1582
|
+
/** Visible category membership count; a tool can belong to several categories. */
|
|
1583
|
+
interface ToolCategorySummary {
|
|
1584
|
+
name: string;
|
|
1585
|
+
count: number;
|
|
1586
|
+
}
|
|
1587
|
+
/** Selected tool definitions and all visible category counts. */
|
|
1588
|
+
interface ToolCategoryListing {
|
|
1589
|
+
categories: ToolCategorySummary[];
|
|
1590
|
+
tools: ToolDefinition[];
|
|
1591
|
+
}
|
|
1582
1592
|
/**
|
|
1583
1593
|
* Summary definition of a callable provider-backed tool.
|
|
1584
1594
|
*
|
|
@@ -2214,6 +2224,8 @@ interface PlayRunPackage {
|
|
|
2214
2224
|
warnings?: string[];
|
|
2215
2225
|
/** Step-level summaries emitted by the runtime. */
|
|
2216
2226
|
steps: Array<Record<string, unknown>>;
|
|
2227
|
+
/** Whether the admitted graph or observed ledger expects public steps. */
|
|
2228
|
+
stepsExpected?: boolean;
|
|
2217
2229
|
/** Named output summaries, including dataset handles and scalar outputs. */
|
|
2218
2230
|
outputs: Record<string, Record<string, unknown>>;
|
|
2219
2231
|
/** Every durable Dataset Handle explicitly registered by this run. */
|
|
@@ -3141,6 +3153,8 @@ interface PlayRunStart {
|
|
|
3141
3153
|
dashboardUrl?: string;
|
|
3142
3154
|
/** Terminal status returned when the start request used a short completion wait. */
|
|
3143
3155
|
finalStatus?: unknown;
|
|
3156
|
+
/** Explicit full representation assembled by the canonical status reader. */
|
|
3157
|
+
finalStatusView?: 'full';
|
|
3144
3158
|
/** Canonical compact run package returned by current SDK/API responses. */
|
|
3145
3159
|
package?: PlayRunPackage;
|
|
3146
3160
|
}
|
|
@@ -3450,6 +3464,8 @@ interface StartPlayRunRequest {
|
|
|
3450
3464
|
maxCredits?: number;
|
|
3451
3465
|
/** Optionally let the start request wait briefly and return a terminal result. */
|
|
3452
3466
|
waitForCompletionMs?: number;
|
|
3467
|
+
/** Request full terminal status within an optional start completion wait. */
|
|
3468
|
+
terminalStatus?: 'full';
|
|
3453
3469
|
/**
|
|
3454
3470
|
* Per-run execution profile override. The server defaults to absurd. The
|
|
3455
3471
|
* Only `absurd` is accepted; most callers should leave this unset.
|
|
@@ -3598,15 +3614,31 @@ type CustomerDbQueryPlan = {
|
|
|
3598
3614
|
recovery: 'original_operation_key' | 'unkeyed_unknown_outcome';
|
|
3599
3615
|
};
|
|
3600
3616
|
transport: {
|
|
3601
|
-
maxRetries:
|
|
3602
|
-
urlFailover: 'disabled';
|
|
3617
|
+
maxRetries: number;
|
|
3618
|
+
urlFailover: 'disabled' | 'loopback_only';
|
|
3603
3619
|
};
|
|
3604
3620
|
};
|
|
3605
3621
|
/** Validate and describe SQL execution without sending it. */
|
|
3606
|
-
declare function planCustomerDbQuery(input: CustomerDbQueryOptions): CustomerDbQueryPlan;
|
|
3622
|
+
declare function planCustomerDbQuery(input: CustomerDbQueryOptions, maxRetries?: number): CustomerDbQueryPlan;
|
|
3623
|
+
|
|
3624
|
+
/**
|
|
3625
|
+
* Response-path stages emitted by the deployed integration execute endpoint.
|
|
3626
|
+
*
|
|
3627
|
+
* This is deliberately a small, additive observability contract: the runner
|
|
3628
|
+
* treats a missing or malformed header as absent telemetry, never as a failed
|
|
3629
|
+
* tool call. Keeping the names here lets the response writer and the runner
|
|
3630
|
+
* agree without inventing a runtime protocol version.
|
|
3631
|
+
*/
|
|
3632
|
+
declare const EXECUTE_SERVER_TIMING_STAGES: readonly ["auth", "rate_limit", "catalog", "credential_plan", "provider_prepare", "charge_open", "charge_eligibility", "charge_cap_preflight", "charge_open_mutation", "charge_retry_wait", "billing_settle", "billing_price", "billing_precision", "billing_caps", "billing_catalog", "billing_witness", "billing_handoff", "billing_handoff_rpc", "billing_handoff_headers", "billing_handoff_after_headers", "billing_handoff_process_cpu", "billing_handoff_event_loop_active", "billing_handoff_event_loop_idle", "fixture_load", "execute", "identity", "usage_schedule", "ai_prepare", "ai_billing_authorize", "ai_provider_work_start", "ai_gateway_first_output", "ai_gateway_stream_wall", "ai_generation_evidence_persist", "ai_billing_settlement", "ai_output_canonicalization", "ai_result_persist", "provider_admission", "provider_fetch_headers", "provider_fetch_error_wait", "provider_retry_wait", "provider_body_read", "provider_json_parse", "provider_result_transform", "provider_output_normalization", "total", "auth_launch", "auth_verify", "body_parse", "dispatch_pool", "dispatch_callback", "upstream_headers", "upstream_body"];
|
|
3633
|
+
declare const PUBLIC_EXECUTE_SERVER_TIMING_STAGES: readonly ["public_load", "public_route", "public_core_load", "public_recovery_load", "public_auth", "public_claim", "public_claim_headers", "public_claim_after_headers", "public_core", "public_prepare", "public_r2", "public_complete", "public_complete_headers", "public_complete_after_headers", "public_total"];
|
|
3634
|
+
type PublicExecuteServerTimingStage = (typeof PUBLIC_EXECUTE_SERVER_TIMING_STAGES)[number];
|
|
3635
|
+
type ExecuteServerTimingStage = (typeof EXECUTE_SERVER_TIMING_STAGES)[number];
|
|
3636
|
+
type ExecuteServerTiming = Record<ExecuteServerTimingStage | PublicExecuteServerTimingStage, number | null>;
|
|
3607
3637
|
|
|
3608
3638
|
type ExecuteToolRawOptions = {
|
|
3609
3639
|
includeToolMetadata?: boolean;
|
|
3640
|
+
/** Use the atomic-tools endpoint, which rejects Plays before charge admission. */
|
|
3641
|
+
atomicToolOnly?: boolean;
|
|
3610
3642
|
responseIntent?: 'dataset' | 'raw' | 'row_artifact';
|
|
3611
3643
|
metadata?: Record<string, unknown>;
|
|
3612
3644
|
timeout?: number;
|
|
@@ -3632,7 +3664,9 @@ type ExecuteToolRawOptions = {
|
|
|
3632
3664
|
receivedAtMs: number;
|
|
3633
3665
|
httpStatus: number;
|
|
3634
3666
|
state: 'completed' | 'failed' | 'cancelled';
|
|
3635
|
-
}) => void
|
|
3667
|
+
}) => void | Promise<void>;
|
|
3668
|
+
/** Optional response-path diagnostics; does not affect execution or retries. */
|
|
3669
|
+
onServerTiming?: (timing: ExecuteServerTiming | null) => void | Promise<void>;
|
|
3636
3670
|
};
|
|
3637
3671
|
/** Durable state returned for a keyed tool execution. */
|
|
3638
3672
|
type ExecutionRecovery = {
|
|
@@ -3684,6 +3718,44 @@ type ToolExecution<TData = unknown, TMeta = Record<string, unknown>> = {
|
|
|
3684
3718
|
[key: string]: unknown;
|
|
3685
3719
|
};
|
|
3686
3720
|
|
|
3721
|
+
/** The only lifecycle states exposed by the API, SDK, CLI, and UI. */
|
|
3722
|
+
type PlayRunPublicStatus = 'queued' | 'running' | 'waiting' | 'completed' | 'failed' | 'cancelled';
|
|
3723
|
+
|
|
3724
|
+
type RuntimeSheetRunRowMembership = {
|
|
3725
|
+
runId: string;
|
|
3726
|
+
datasetId: string;
|
|
3727
|
+
rowKey: string;
|
|
3728
|
+
phase: 'admitted' | 'terminal';
|
|
3729
|
+
/** Durable terminal row version distinguishes repair within an attempt. */
|
|
3730
|
+
generation: string;
|
|
3731
|
+
attemptSeq: number | null;
|
|
3732
|
+
rowVersion: number | null;
|
|
3733
|
+
inputIndex: number | null;
|
|
3734
|
+
inputDigest: string;
|
|
3735
|
+
status: 'pending' | 'enriched' | 'failed' | 'cancelled';
|
|
3736
|
+
data: Record<string, unknown>;
|
|
3737
|
+
source: Record<string, unknown>;
|
|
3738
|
+
recordedAt: string;
|
|
3739
|
+
};
|
|
3740
|
+
type RuntimeSheetRunRowMembershipPage = {
|
|
3741
|
+
entries: RuntimeSheetRunRowMembership[];
|
|
3742
|
+
nextCursor: string | null;
|
|
3743
|
+
coverage: {
|
|
3744
|
+
complete: boolean;
|
|
3745
|
+
expectedRows: number | null;
|
|
3746
|
+
captureStartedAt: string | null;
|
|
3747
|
+
captureCompletedAt: string | null;
|
|
3748
|
+
reason: 'storage_not_expanded' | 'legacy_or_capture_not_enabled' | 'capture_in_progress' | 'complete';
|
|
3749
|
+
};
|
|
3750
|
+
};
|
|
3751
|
+
|
|
3752
|
+
type WatchPollObservation = {
|
|
3753
|
+
poll: number;
|
|
3754
|
+
durationMs: number;
|
|
3755
|
+
status?: number;
|
|
3756
|
+
serverTiming?: string;
|
|
3757
|
+
};
|
|
3758
|
+
|
|
3687
3759
|
/** Public criteria shared by the API, SDK and CLI; no database/runtime imports. */
|
|
3688
3760
|
type RunEventScalar = string | number | boolean | null;
|
|
3689
3761
|
type RunEventField = keyof typeof RUN_EVENT_QUERY_FIELD_CATALOG | `context.${string}`;
|
|
@@ -3996,34 +4068,6 @@ interface PlayStagedFileRef {
|
|
|
3996
4068
|
bytes: number;
|
|
3997
4069
|
}
|
|
3998
4070
|
|
|
3999
|
-
type RuntimeSheetRunRowMembership = {
|
|
4000
|
-
runId: string;
|
|
4001
|
-
datasetId: string;
|
|
4002
|
-
rowKey: string;
|
|
4003
|
-
phase: 'admitted' | 'terminal';
|
|
4004
|
-
/** Durable terminal row version distinguishes repair within an attempt. */
|
|
4005
|
-
generation: string;
|
|
4006
|
-
attemptSeq: number | null;
|
|
4007
|
-
rowVersion: number | null;
|
|
4008
|
-
inputIndex: number | null;
|
|
4009
|
-
inputDigest: string;
|
|
4010
|
-
status: 'pending' | 'enriched' | 'failed' | 'cancelled';
|
|
4011
|
-
data: Record<string, unknown>;
|
|
4012
|
-
source: Record<string, unknown>;
|
|
4013
|
-
recordedAt: string;
|
|
4014
|
-
};
|
|
4015
|
-
type RuntimeSheetRunRowMembershipPage = {
|
|
4016
|
-
entries: RuntimeSheetRunRowMembership[];
|
|
4017
|
-
nextCursor: string | null;
|
|
4018
|
-
coverage: {
|
|
4019
|
-
complete: boolean;
|
|
4020
|
-
expectedRows: number | null;
|
|
4021
|
-
captureStartedAt: string | null;
|
|
4022
|
-
captureCompletedAt: string | null;
|
|
4023
|
-
reason: 'storage_not_expanded' | 'legacy_or_capture_not_enabled' | 'capture_in_progress' | 'complete';
|
|
4024
|
-
};
|
|
4025
|
-
};
|
|
4026
|
-
|
|
4027
4071
|
/**
|
|
4028
4072
|
* The one client-side construction of a Play run start.
|
|
4029
4073
|
*
|
|
@@ -4042,9 +4086,12 @@ type RuntimeSheetRunRowMembershipPage = {
|
|
|
4042
4086
|
* passed in as explicit request fields.
|
|
4043
4087
|
*/
|
|
4044
4088
|
|
|
4045
|
-
/**
|
|
4089
|
+
/** Canonical admission; the CLI adapter adds compatibility before this handler. */
|
|
4046
4090
|
declare const PLAY_RUN_START_PATH = "/api/v2/plays/run";
|
|
4091
|
+
declare const CLI_PLAY_RUN_START_PATH = "/api/v2/plays/run/cli";
|
|
4092
|
+
declare const CLI_PLAY_RUN_SUPPORTED_HEADER = "x-deepline-cli-play-admission";
|
|
4047
4093
|
declare const PLAY_RUN_START_STREAM_PATH = "/api/v2/plays/run?stream=true";
|
|
4094
|
+
declare const CLI_PLAY_RUN_START_STREAM_PATH = "/api/v2/plays/run/cli?stream=true";
|
|
4048
4095
|
declare const PLAY_FILES_STAGE_PATH = "/api/v2/plays/files/stage";
|
|
4049
4096
|
declare const PLAY_FILES_STAGE_MINT_PATH = "/api/v2/plays/files/stage/mint";
|
|
4050
4097
|
/**
|
|
@@ -4054,10 +4101,14 @@ declare const PLAY_FILES_STAGE_MINT_PATH = "/api/v2/plays/files/stage/mint";
|
|
|
4054
4101
|
* responses so the staging fallbacks below classify failures identically.
|
|
4055
4102
|
*/
|
|
4056
4103
|
interface PlayRunHttp {
|
|
4057
|
-
get?<T = unknown>(path: string
|
|
4104
|
+
get?<T = unknown>(path: string, options?: {
|
|
4105
|
+
signal?: AbortSignal;
|
|
4106
|
+
}): Promise<T>;
|
|
4058
4107
|
post<T = unknown>(path: string, body: unknown, headers?: Record<string, string>, options?: {
|
|
4059
4108
|
maxRetries?: number;
|
|
4060
4109
|
exactUrlOnly?: boolean;
|
|
4110
|
+
signal?: AbortSignal;
|
|
4111
|
+
onResponse?: (response: Response) => void;
|
|
4061
4112
|
}): Promise<T>;
|
|
4062
4113
|
postFormData<T = unknown>(path: string, formData: FormData | (() => FormData)): Promise<T>;
|
|
4063
4114
|
}
|
|
@@ -4067,6 +4118,20 @@ interface PlayRunHttp {
|
|
|
4067
4118
|
* `integrationMode`, `runtime`, and `testPolicyOverrides` before calling it.
|
|
4068
4119
|
*/
|
|
4069
4120
|
type ResolvedStartPlayRunRequest = StartPlayRunRequest;
|
|
4121
|
+
type PlayRunStartOptions = {
|
|
4122
|
+
signal?: AbortSignal;
|
|
4123
|
+
onSubmission?: (intent: {
|
|
4124
|
+
workflowId: string;
|
|
4125
|
+
orgId: string;
|
|
4126
|
+
request: Record<string, unknown>;
|
|
4127
|
+
}) => void | Promise<void>;
|
|
4128
|
+
/** @internal CLI JSON admission checks compatibility in the same request. */
|
|
4129
|
+
cliAdmission?: boolean;
|
|
4130
|
+
};
|
|
4131
|
+
/** Only the transport can prove that the named action never dispatched. */
|
|
4132
|
+
declare class CliPlayAdmissionUnsupportedError extends DeeplineError {
|
|
4133
|
+
constructor(status: number);
|
|
4134
|
+
}
|
|
4070
4135
|
/** The exact JSON body `POST /api/v2/plays/run` receives. Key order is part of the contract. */
|
|
4071
4136
|
declare function buildPlayRunStartBody(request: ResolvedStartPlayRunRequest): Record<string, unknown>;
|
|
4072
4137
|
/**
|
|
@@ -4081,16 +4146,14 @@ declare function preparePlayRunAdmission(http: PlayRunHttp, request: ResolvedSta
|
|
|
4081
4146
|
workflowId: string;
|
|
4082
4147
|
orgId: string;
|
|
4083
4148
|
request: Record<string, unknown>;
|
|
4084
|
-
}) => void | Promise<void
|
|
4149
|
+
}) => void | Promise<void>, options?: {
|
|
4150
|
+
signal?: AbortSignal;
|
|
4151
|
+
}): Promise<{
|
|
4085
4152
|
body: Record<string, unknown>;
|
|
4086
4153
|
workflowId?: string;
|
|
4087
4154
|
supportsCallerIntent: boolean;
|
|
4088
4155
|
}>;
|
|
4089
|
-
declare function startPlayRun(http: PlayRunHttp, request: ResolvedStartPlayRunRequest, headers?: Record<string, string>,
|
|
4090
|
-
workflowId: string;
|
|
4091
|
-
orgId: string;
|
|
4092
|
-
request: Record<string, unknown>;
|
|
4093
|
-
}) => void | Promise<void>): Promise<PlayRunStart>;
|
|
4156
|
+
declare function startPlayRun(http: PlayRunHttp, request: ResolvedStartPlayRunRequest, headers?: Record<string, string>, options?: PlayRunStartOptions): Promise<PlayRunStart>;
|
|
4094
4157
|
declare function isPlayRunPackage(value: unknown): value is PlayRunPackage;
|
|
4095
4158
|
/** Normalize any run-start response shape to `{ workflowId, … }`. */
|
|
4096
4159
|
declare function normalizePlayRunStart(raw: Record<string, unknown>): PlayRunStart;
|
|
@@ -4259,9 +4322,6 @@ type EnrichCompiledConfig = {
|
|
|
4259
4322
|
};
|
|
4260
4323
|
};
|
|
4261
4324
|
|
|
4262
|
-
/** The only lifecycle states exposed by the API, SDK, CLI, and UI. */
|
|
4263
|
-
type PlayRunPublicStatus = 'queued' | 'running' | 'waiting' | 'completed' | 'failed' | 'cancelled';
|
|
4264
|
-
|
|
4265
4325
|
type SlackNotificationTarget = {
|
|
4266
4326
|
channel: string;
|
|
4267
4327
|
memberId?: never;
|
|
@@ -4978,7 +5038,7 @@ type StopAllRunsOptions = {
|
|
|
4978
5038
|
};
|
|
4979
5039
|
/** Current mutable customer database namespace exposed as `client.db`. */
|
|
4980
5040
|
type DbNamespace = {
|
|
4981
|
-
/** Run
|
|
5041
|
+
/** Run bounded SQL; unkeyed requests run once, while keyed requests retain one recovery identity across safe retries. */
|
|
4982
5042
|
query: (input: CustomerDbQueryOptions) => Promise<CustomerDbQueryResult>;
|
|
4983
5043
|
/** Describe the request, effects and recovery policy without executing SQL. */
|
|
4984
5044
|
planQuery: (input: CustomerDbQueryOptions) => CustomerDbQueryPlan;
|
|
@@ -5960,6 +6020,10 @@ type BillingUsageEvent = {
|
|
|
5960
6020
|
pricing_model: string | null;
|
|
5961
6021
|
policy_id: string | null;
|
|
5962
6022
|
created_at: string;
|
|
6023
|
+
/** Present when the original request is resolved through its canonical charge. */
|
|
6024
|
+
charge_state?: BillingRecentUsageEntry['charge_state'];
|
|
6025
|
+
/** Pending/unknown amounts are null; a final amount can be zero. */
|
|
6026
|
+
charge_finality?: BillingRecentUsageEntry['charge_finality'];
|
|
5963
6027
|
};
|
|
5964
6028
|
/** One customer-facing recent billing operation from `/api/v2/billing/usage`. */
|
|
5965
6029
|
type BillingRecentUsageEntry = {
|
|
@@ -6170,6 +6234,7 @@ type BillingQuoteResult = {
|
|
|
6170
6234
|
declare class DeeplineClient {
|
|
6171
6235
|
private readonly http;
|
|
6172
6236
|
private readonly toolCalls;
|
|
6237
|
+
private readonly playClient;
|
|
6173
6238
|
private readonly config;
|
|
6174
6239
|
private readonly environment;
|
|
6175
6240
|
/** Canonical run lifecycle namespace backed by `/api/v2/runs`. */
|
|
@@ -6235,6 +6300,12 @@ declare class DeeplineClient {
|
|
|
6235
6300
|
grepMode?: 'all' | 'any' | 'phrase';
|
|
6236
6301
|
compact?: boolean;
|
|
6237
6302
|
}): Promise<ToolDefinition[]>;
|
|
6303
|
+
/** List category counts without downloading tool definitions. */
|
|
6304
|
+
listToolCategories(): Promise<ToolCategorySummary[]>;
|
|
6305
|
+
/** Read one complete category and its live category counts in one request. */
|
|
6306
|
+
listToolsInCategory(category: string, options?: {
|
|
6307
|
+
compact?: boolean;
|
|
6308
|
+
}): Promise<ToolCategoryListing>;
|
|
6238
6309
|
/** List discoverable providers without requiring a local plugin catalog. */
|
|
6239
6310
|
listProviders(options?: {
|
|
6240
6311
|
changed?: boolean;
|
|
@@ -6377,18 +6448,13 @@ declare class DeeplineClient {
|
|
|
6377
6448
|
* });
|
|
6378
6449
|
* ```
|
|
6379
6450
|
*/
|
|
6380
|
-
startPlayRun(request: StartPlayRunRequest, options?:
|
|
6381
|
-
onSubmission?: (intent: {
|
|
6382
|
-
workflowId: string;
|
|
6383
|
-
orgId: string;
|
|
6384
|
-
request: Record<string, unknown>;
|
|
6385
|
-
}) => void | Promise<void>;
|
|
6386
|
-
}): Promise<PlayRunStart>;
|
|
6451
|
+
startPlayRun(request: StartPlayRunRequest, options?: PlayRunStartOptions): Promise<PlayRunStart>;
|
|
6387
6452
|
/**
|
|
6388
6453
|
* Prepare a tenant-scoped start intent without executing it. Its stream
|
|
6389
6454
|
* sender retains the exact body and transport selected during preparation.
|
|
6390
6455
|
*/
|
|
6391
6456
|
preparePlayRunAdmission(request: StartPlayRunRequest, options?: {
|
|
6457
|
+
cliAdmission?: boolean;
|
|
6392
6458
|
onSubmission?: (intent: {
|
|
6393
6459
|
workflowId: string;
|
|
6394
6460
|
orgId: string;
|
|
@@ -6676,11 +6742,26 @@ declare class DeeplineClient {
|
|
|
6676
6742
|
billing?: boolean;
|
|
6677
6743
|
full?: boolean;
|
|
6678
6744
|
}): Promise<PlayStatus>;
|
|
6679
|
-
/**
|
|
6745
|
+
/**
|
|
6746
|
+
* Poll authenticated snapshots and emit changes; `deferLogs` delays terminal logs; `omitTerminalLogs` skips them.
|
|
6747
|
+
*/
|
|
6680
6748
|
watchRunEvents(workflowId: string, options?: {
|
|
6681
6749
|
signal?: AbortSignal;
|
|
6682
6750
|
onNotice?: (message: string) => void;
|
|
6683
6751
|
onRetry?: RunsWatchOptions['onRetry'];
|
|
6752
|
+
/** Defer log-store reads until the run is terminal; the final log tail is unchanged. */
|
|
6753
|
+
deferLogs?: boolean;
|
|
6754
|
+
/** Skip log-store reads entirely for consumers that never render run logs. */
|
|
6755
|
+
omitTerminalLogs?: boolean;
|
|
6756
|
+
/** @internal Exposes bounded request timing for CLI diagnostics. */
|
|
6757
|
+
onPoll?: (observation: WatchPollObservation) => void;
|
|
6758
|
+
/** @internal Receive the requested durable status before terminal events. */
|
|
6759
|
+
terminalStatus?: {
|
|
6760
|
+
full?: boolean;
|
|
6761
|
+
billing?: boolean;
|
|
6762
|
+
runStatus?: boolean;
|
|
6763
|
+
onStatus: (status: PlayStatus) => void | Promise<void>;
|
|
6764
|
+
};
|
|
6684
6765
|
}): AsyncGenerator<PlayLiveEvent>;
|
|
6685
6766
|
/**
|
|
6686
6767
|
* Read raw legacy SSE events for callers that explicitly require that
|
|
@@ -7533,4 +7614,4 @@ declare class DeeplineClient {
|
|
|
7533
7614
|
}>;
|
|
7534
7615
|
}
|
|
7535
7616
|
|
|
7536
|
-
export { type MonitorDeleteResult as $, type ChildRunSummary as A, type BillingNamespace as B, type ClearPlayHistoryResult as C, type DeeplineAgentModelDescription as D, type ExecuteToolRawOptions as E, type ClearPlayHistoryRequest as F, type CreateNotificationGroupInput as G, type CreateNotificationGroupResult as H, type CustomerDbQueryOptions as I, type CustomerDbQueryPlan as J, type CustomerDbQueryResult as K, DEEPLINE_TOOL_CATEGORIES as L, type DbNamespace as M, type DeeplineToolCategory as N, type IngestionStorageRepairResult as O, type PlayDescription as P, type LegacyMonitorStatusFilter as Q, type ResolvedConfig as R, type SearchType as S, type ToolDefinition as T, type LiveEventEnvelope as U, MONITOR_JOB_PHASES as V, MONITOR_JOB_RECONCILIATION_STATES as W, MONITOR_JOB_STATES as X, type MonitorBatchNamespace as Y, type MonitorCheckResult as Z, type MonitorDefinition as _, DeeplineClient as a, type PublishPlayVersionRequest as a$, type MonitorDependents as a0, type MonitorDeployResult as a1, type MonitorDetail as a2, type MonitorFleetDeactivateOptions as a3, type MonitorFleetGetOptions as a4, type MonitorFleetReactivateOptions as a5, type MonitorFleetResult as a6, type MonitorFleetStatus as a7, type MonitorFleetSyncOptions as a8, type MonitorFleetWaitOptions as a9, type PlayActivityTarget as aA, type PlayCostEstimate as aB, type PlayCronTriggerConfig as aC, type PlayDescriptionOptions as aD, type PlayLiveEvent as aE, type PlayPath as aF, type PlayRunActionPackage as aG, type PlayRunActivityProjection as aH, type PlayRunDatasetActions as aI, type PlayRunPackage as aJ, type PlayRunResult as aK, type PlayRunRowHistoryOptions as aL, type PlayRunStart as aM, type PlaySettings as aN, type PlaySettingsPatch as aO, type PlaySettingsPathsPage as aP, type PlaySettingsResult as aQ, type PlaySheetRow as aR, type PlaySheetRowsResult as aS, type PlayTriggerConfigUpdate as aT, type PlayTriggerConfigUpdateResult as aU, type PlayTriggerConfigView as aV, type PlayWebhookAuthConfig as aW, type PlayWebhookTriggerConfig as aX, type PlaysActivityResponse as aY, type PlaysListOptions as aZ, type PlaysListPage as a_, type MonitorFleetsNamespace as aa, type MonitorJobDeployOptions as ab, type MonitorJobLogsOptions as ac, type MonitorJobPhase as ad, type MonitorJobReconciliationState as ae, type MonitorJobResult as af, type MonitorJobState as ag, type MonitorJobWaitOptions as ah, type MonitorJobsNamespace as ai, type MonitorListEntry as aj, type MonitorPayload as ak, type MonitorReactivateResult as al, type MonitorSpec as am, type MonitorState as an, type MonitorStateFilter as ao, type MonitorUpdateChangeSummary as ap, type MonitorUpdateResult as aq, type MonitorsAccessStatus as ar, type MonitorsAvailableOptions as as, type MonitorsAvailableResult as at, type MonitorsListOptions as au, type MonitorsListResult as av, type MonitorsNamespace as aw, type NormalizedRunEventQuery as ax, type PlayActivityObservation as ay, type PlayActivityState as az, type DeeplineClientOptions as b, type
|
|
7617
|
+
export { type MonitorDeleteResult as $, type ChildRunSummary as A, type BillingNamespace as B, type ClearPlayHistoryResult as C, type DeeplineAgentModelDescription as D, type ExecuteToolRawOptions as E, type ClearPlayHistoryRequest as F, type CreateNotificationGroupInput as G, type CreateNotificationGroupResult as H, type CustomerDbQueryOptions as I, type CustomerDbQueryPlan as J, type CustomerDbQueryResult as K, DEEPLINE_TOOL_CATEGORIES as L, type DbNamespace as M, type DeeplineToolCategory as N, type IngestionStorageRepairResult as O, type PlayDescription as P, type LegacyMonitorStatusFilter as Q, type ResolvedConfig as R, type SearchType as S, type ToolDefinition as T, type LiveEventEnvelope as U, MONITOR_JOB_PHASES as V, MONITOR_JOB_RECONCILIATION_STATES as W, MONITOR_JOB_STATES as X, type MonitorBatchNamespace as Y, type MonitorCheckResult as Z, type MonitorDefinition as _, DeeplineClient as a, type PublishPlayVersionRequest as a$, type MonitorDependents as a0, type MonitorDeployResult as a1, type MonitorDetail as a2, type MonitorFleetDeactivateOptions as a3, type MonitorFleetGetOptions as a4, type MonitorFleetReactivateOptions as a5, type MonitorFleetResult as a6, type MonitorFleetStatus as a7, type MonitorFleetSyncOptions as a8, type MonitorFleetWaitOptions as a9, type PlayActivityTarget as aA, type PlayCostEstimate as aB, type PlayCronTriggerConfig as aC, type PlayDescriptionOptions as aD, type PlayLiveEvent as aE, type PlayPath as aF, type PlayRunActionPackage as aG, type PlayRunActivityProjection as aH, type PlayRunDatasetActions as aI, type PlayRunPackage as aJ, type PlayRunResult as aK, type PlayRunRowHistoryOptions as aL, type PlayRunStart as aM, type PlaySettings as aN, type PlaySettingsPatch as aO, type PlaySettingsPathsPage as aP, type PlaySettingsResult as aQ, type PlaySheetRow as aR, type PlaySheetRowsResult as aS, type PlayTriggerConfigUpdate as aT, type PlayTriggerConfigUpdateResult as aU, type PlayTriggerConfigView as aV, type PlayWebhookAuthConfig as aW, type PlayWebhookTriggerConfig as aX, type PlaysActivityResponse as aY, type PlaysListOptions as aZ, type PlaysListPage as a_, type MonitorFleetsNamespace as aa, type MonitorJobDeployOptions as ab, type MonitorJobLogsOptions as ac, type MonitorJobPhase as ad, type MonitorJobReconciliationState as ae, type MonitorJobResult as af, type MonitorJobState as ag, type MonitorJobWaitOptions as ah, type MonitorJobsNamespace as ai, type MonitorListEntry as aj, type MonitorPayload as ak, type MonitorReactivateResult as al, type MonitorSpec as am, type MonitorState as an, type MonitorStateFilter as ao, type MonitorUpdateChangeSummary as ap, type MonitorUpdateResult as aq, type MonitorsAccessStatus as ar, type MonitorsAvailableOptions as as, type MonitorsAvailableResult as at, type MonitorsListOptions as au, type MonitorsListResult as av, type MonitorsNamespace as aw, type NormalizedRunEventQuery as ax, type PlayActivityObservation as ay, type PlayActivityState as az, type DeeplineClientOptions as b, type ToolCategorySummary as b$, type RerunOptions as b0, type RerunPlayRunResult as b1, type RunChildrenPage as b2, type RunEventCountResult as b3, type RunEventField as b4, type RunEventFieldDescriptor as b5, type RunEventFieldOperators as b6, type RunEventFieldsResult as b7, type RunEventGroupValue as b8, type RunEventMeasure as b9, type RunsHistoryItem as bA, type RunsHistoryOptions as bB, type RunsHistoryPage as bC, type RunsListOptions as bD, type RunsListPage as bE, type RunsLogCriteria as bF, type RunsLogsCountResult as bG, type RunsLogsNamespace as bH, type RunsLogsOptions as bI, type RunsLogsQueryOptions as bJ, type RunsLogsQueryResult as bK, type RunsLogsResult as bL, type RunsLogsSummaryOptions as bM, type RunsLogsSummaryResult as bN, type RunsNamespace as bO, type RunsTailOptions as bP, type RunsWatchOptions as bQ, type SearchOptions as bR, type SearchResult as bS, type SearchResultItem as bT, type StartPlayRunRequest as bU, type StopAllCandidate as bV, type StopAllPlayRunsDryRunResult as bW, type StopAllPlayRunsResult as bX, type StopAllPlayRunsStopResult as bY, type StopAllRunsOptions as bZ, type ToolCategoryListing as b_, type RunEventQueryCriteria as ba, type RunEventQueryEvent as bb, RunEventQueryInputError as bc, type RunEventQueryOptions as bd, type RunEventQueryPage as be, type RunEventQueryRetention as bf, type RunEventScalar as bg, type RunEventSummaryOptions as bh, type RunEventSummaryResult as bi, type RunEventWhere as bj, type RunLifecycleStatus as bk, type RunToolReceiptResult as bl, type RunToolReceiptsResponse as bm, type RunsChildrenOptions as bn, type RunsEventPayload as bo, type RunsEventSearchEntry as bp, type RunsEventSearchOptions as bq, type RunsEventSearchResult as br, type RunsEventsCountResult as bs, type RunsEventsCriteria as bt, type RunsEventsFieldsOptions as bu, type RunsEventsListOptions as bv, type RunsEventsListResult as bw, type RunsEventsNamespace as bx, type RunsEventsSummaryOptions as by, type RunsEventsSummaryResult as bz, type ToolMetadata as c, type ToolExecution as c0, type ToolRequestCondition as c1, type ToolRequestWarningRule as c2, type ToolSearchOptions as c3, type ToolSearchResult as c4, type WorkspaceCreateResult as c5, type WorkspacesNamespace as c6, defineMonitor as c7, isStopAllPlayRunsDryRunResult as c8, planCustomerDbQuery as c9, fileInputBindingsFromPlaySchema as cA, fileInputBindingsFromStaticPipeline as cB, getDottedInputValue as cC, isPlayRunPackage as cD, mintStagedPlayFileUploads as cE, normalizePlayRunStart as cF, playRunFileInputBindings as cG, preparePlayRunAdmission as cH, setDottedInputValue as cI, stageFileInputs as cJ, stagePlayFiles as cK, stagedFileContentType as cL, startPlayRun as cM, webStagedFileCodec as cN, cloneEditStarter as ca, describePlayDetail as cb, describePlayListItem as cc, CLI_PLAY_RUN_START_PATH as cd, CLI_PLAY_RUN_START_STREAM_PATH as ce, CLI_PLAY_RUN_SUPPORTED_HEADER as cf, CSV_DATA_INPUT_KEY as cg, CliPlayAdmissionUnsupportedError as ch, type FileInputBinding as ci, type LocalFileInput as cj, type MintStagedFileUpload as ck, PLAY_FILES_STAGE_MINT_PATH as cl, PLAY_FILES_STAGE_PATH as cm, PLAY_RUN_START_PATH as cn, PLAY_RUN_START_STREAM_PATH as co, type PlayRunHttp as cp, type PlayRunStartOptions as cq, type ResolvedStartPlayRunRequest as cr, STAGE_LEGACY_MULTIPART_MAX_BYTES as cs, type StagedFileCodec as ct, type StagedFileInputs as cu, type StagedFileUpload as cv, buildNamedPlayRunRequest as cw, buildPlayRunStartBody as cx, createSessionPlayRunHttp as cy, createStagedFileUpload as cz, type ExecutionRecovery as d, type ExecutionByKeyResult as e, type PlayListItem as f, type PlayDetail as g, type PlayRunListItem as h, type PlayRevisionSummary as i, type PublishPlayVersionResult as j, type PlayStatus as k, type StopPlayRunResult as l, type BillingCreditPool as m, type BillingInvoiceEntry as n, type BillingInvoicesResult as o, type BillingPaymentMethodSummary as p, type BillingQuoteRequest as q, type BillingQuoteResult as r, type BillingRecentUsageEntry as s, type BillingSubscriptionCancelResult as t, type BillingSubscriptionStatus as u, type BillingTopUpReceipt as v, type BillingTopUpResult as w, type BillingUsageEvent as x, type BillingUsageOptions as y, type BillingUsageResult as z };
|
|
@@ -296,38 +296,6 @@ declare const V2_TOOL_RESPONSE_CONTRACT: "v2-tool-response";
|
|
|
296
296
|
declare const RAW_V2_TOOL_RESPONSE_CONTRACT: "raw-v2";
|
|
297
297
|
type ToolResponseContract = typeof V2_TOOL_RESPONSE_CONTRACT | typeof RAW_V2_TOOL_RESPONSE_CONTRACT;
|
|
298
298
|
|
|
299
|
-
/**
|
|
300
|
-
* Previous durable cell value passed to object-column resolvers.
|
|
301
|
-
*
|
|
302
|
-
* The runtime supplies this when a row+column is being recomputed after a
|
|
303
|
-
* previous value existed. `value` has the same type that the column returns;
|
|
304
|
-
* freshness metadata lives beside it.
|
|
305
|
-
*
|
|
306
|
-
* @sdkReference runtime 120
|
|
307
|
-
*/
|
|
308
|
-
type PreviousCell<Value = unknown> = {
|
|
309
|
-
/** Previous completed value for this row+column. */
|
|
310
|
-
value: Value;
|
|
311
|
-
/** Millisecond timestamp when the previous value completed. */
|
|
312
|
-
completedAt?: number;
|
|
313
|
-
/** Millisecond timestamp when the previous value becomes stale; `null` means no expiry. */
|
|
314
|
-
staleAt?: number | null;
|
|
315
|
-
/** Resolved numeric TTL in seconds for the previous value, when present. */
|
|
316
|
-
staleAfterSeconds?: number;
|
|
317
|
-
};
|
|
318
|
-
|
|
319
|
-
type PlaySandboxRuntimeLimits = {
|
|
320
|
-
timeoutSeconds: number;
|
|
321
|
-
memoryGiB: number;
|
|
322
|
-
cpu: number;
|
|
323
|
-
diskGiB: number;
|
|
324
|
-
};
|
|
325
|
-
type PlaySandboxSize = 'standard';
|
|
326
|
-
type PlaySandboxRuntimeDeclaration = {
|
|
327
|
-
timeout?: string;
|
|
328
|
-
size?: PlaySandboxSize;
|
|
329
|
-
};
|
|
330
|
-
|
|
331
299
|
type EmailStatusVerdict = 'send' | 'send_with_caution' | 'verify_next' | 'hold' | 'drop';
|
|
332
300
|
type EmailStatusValue = 'valid' | 'invalid' | 'catch_all' | 'valid_catch_all' | 'unknown' | 'do_not_mail' | 'spamtrap' | 'abuse' | 'disposable';
|
|
333
301
|
type EmailDeliverability = 'high' | 'medium' | 'low' | 'unknown';
|
|
@@ -839,7 +807,7 @@ type ToolExecuteResultAccessors<TExtracted extends Record<string, unknown> = Par
|
|
|
839
807
|
* Provider data: `toolResponse.rawV2`; metadata: `toolResponse.meta`.
|
|
840
808
|
* Single-value getters: `extractedValues.<name>.get()`; lists: `extractedLists.<name>.get()`.
|
|
841
809
|
*
|
|
842
|
-
* Prefer declared getters.
|
|
810
|
+
* Prefer declared getters. Edition 10 and later Plays receive ordinary arrays from
|
|
843
811
|
* list `.get()` synchronously; persist explicitly with ctx.dataset. Lazy or
|
|
844
812
|
* incomplete lists throw: use readList(result, path) for explicit dataset access.
|
|
845
813
|
* Provider pagination requires a separate request; getters never fetch it.
|
|
@@ -851,6 +819,38 @@ type ToolExecuteResultAccessors<TExtracted extends Record<string, unknown> = Par
|
|
|
851
819
|
*/
|
|
852
820
|
type ToolExecuteResult<TResult = unknown, TMeta = Record<string, unknown>, TExtracted extends Record<string, unknown> = Partial<DeeplineGetterValueMap>, TLists extends Record<string, Record<string, unknown>> = Record<string, Record<string, unknown>>> = ToolExecuteResultBase<TResult, TMeta> & ToolExecuteResultAccessors<TExtracted, TLists>;
|
|
853
821
|
|
|
822
|
+
/**
|
|
823
|
+
* Previous durable cell value passed to object-column resolvers.
|
|
824
|
+
*
|
|
825
|
+
* The runtime supplies this when a row+column is being recomputed after a
|
|
826
|
+
* previous value existed. `value` has the same type that the column returns;
|
|
827
|
+
* freshness metadata lives beside it.
|
|
828
|
+
*
|
|
829
|
+
* @sdkReference runtime 120
|
|
830
|
+
*/
|
|
831
|
+
type PreviousCell<Value = unknown> = {
|
|
832
|
+
/** Previous completed value for this row+column. */
|
|
833
|
+
value: Value;
|
|
834
|
+
/** Millisecond timestamp when the previous value completed. */
|
|
835
|
+
completedAt?: number;
|
|
836
|
+
/** Millisecond timestamp when the previous value becomes stale; `null` means no expiry. */
|
|
837
|
+
staleAt?: number | null;
|
|
838
|
+
/** Resolved numeric TTL in seconds for the previous value, when present. */
|
|
839
|
+
staleAfterSeconds?: number;
|
|
840
|
+
};
|
|
841
|
+
|
|
842
|
+
type PlaySandboxRuntimeLimits = {
|
|
843
|
+
timeoutSeconds: number;
|
|
844
|
+
memoryGiB: number;
|
|
845
|
+
cpu: number;
|
|
846
|
+
diskGiB: number;
|
|
847
|
+
};
|
|
848
|
+
type PlaySandboxSize = 'standard';
|
|
849
|
+
type PlaySandboxRuntimeDeclaration = {
|
|
850
|
+
timeout?: string;
|
|
851
|
+
size?: PlaySandboxSize;
|
|
852
|
+
};
|
|
853
|
+
|
|
854
854
|
declare const SUPPORTED_PLAY_AUTHORING_CONTRACT_EDITIONS: readonly [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11];
|
|
855
855
|
type PlayAuthoringContractEdition = (typeof SUPPORTED_PLAY_AUTHORING_CONTRACT_EDITIONS)[number];
|
|
856
856
|
type PlaySqlListenerOperation = 'INSERT' | 'UPDATE' | 'DELETE';
|
|
@@ -942,6 +942,8 @@ type PlayAuthoringBindings<TInput = Record<string, unknown>> = {
|
|
|
942
942
|
displayName?: string;
|
|
943
943
|
description?: string;
|
|
944
944
|
compatibility?: {
|
|
945
|
+
/** Opt new source into the current explicit-freshness authoring edition. */
|
|
946
|
+
authoringContract?: 'explicit-freshness';
|
|
945
947
|
toolErrorSchemaVersion?: ToolExecutionErrorSchemaVersion;
|
|
946
948
|
/**
|
|
947
949
|
* Bump only when a Play's response transformation changes serialized tool
|
|
@@ -1128,7 +1130,7 @@ type PlayAuthoringStepProgram<Input, Output, TContext, Return = Output> = {
|
|
|
1128
1130
|
readonly continueOnProviderUnavailable?: boolean;
|
|
1129
1131
|
readonly __inputType?: (input: Input) => void;
|
|
1130
1132
|
step<Name extends string, Value>(name: Name, resolver: PlayAuthoringStepResolver<Output, Value, TContext> | PlayAuthoringConditionalStepResolver<Output, Value, TContext> | PlayAuthoringStepProgramResolver<Output, Value, TContext>): PlayAuthoringStepProgram<Input, Output & Record<Name, Value>, TContext, Return>;
|
|
1131
|
-
step<Name extends string, Value
|
|
1133
|
+
step<Name extends string, Value, Options extends PlayAuthoringStepOptions<Output, Value>>(name: Name, resolver: PlayAuthoringStepResolver<Output, Value, TContext> | PlayAuthoringStepProgramResolver<Output, Value, TContext>, options: Options): PlayAuthoringStepProgram<Input, Output & Record<Name, 'runIf' extends keyof Options ? Value | null : Value>, TContext, Return>;
|
|
1132
1134
|
return<Value>(resolver: PlayAuthoringStepResolver<Output, Value, TContext>): PlayAuthoringStepProgram<Input, Output, TContext, Value>;
|
|
1133
1135
|
};
|
|
1134
1136
|
type PlayAuthoringStepProgramResolver<Input, Return, TContext> = {
|
|
@@ -1153,7 +1155,7 @@ type PlayAuthoringDatasetDefinitionOptions<InputRow extends object> = {
|
|
|
1153
1155
|
type PlayAuthoringDatasetRunOptions<InputRow extends object> = {
|
|
1154
1156
|
description?: string;
|
|
1155
1157
|
key?: PlayAuthoringDatasetRowKey<InputRow>;
|
|
1156
|
-
/** Edition 11 CSVs always use source-row identity; key-based deduplication remains for non-CSV inputs and
|
|
1158
|
+
/** Edition 11 CSVs always use source-row occurrence identity; key-based deduplication remains available for non-CSV inputs and editions 1–10. */
|
|
1157
1159
|
rowIdentity?: 'source_row' | 'key';
|
|
1158
1160
|
onRowError?: 'isolate' | 'fail';
|
|
1159
1161
|
mode?: 'upsert' | 'net_new';
|
|
@@ -1265,6 +1267,8 @@ type PlayAuthoringFetchOptions = {
|
|
|
1265
1267
|
* @sdkReference runtime 175 PlayFetchResponse
|
|
1266
1268
|
*/
|
|
1267
1269
|
type PlayAuthoringFetchResponse = {
|
|
1270
|
+
/** Freshness and same-run recovery metadata for edition 11 calls. */
|
|
1271
|
+
freshness?: CallFreshnessMetadata;
|
|
1268
1272
|
/** True when the response status is in the 2xx range. */
|
|
1269
1273
|
ok: boolean;
|
|
1270
1274
|
/** HTTP status code as returned by the upstream server. */
|
|
@@ -1287,35 +1291,7 @@ type PlayAuthoringFetchResponse = {
|
|
|
1287
1291
|
*/
|
|
1288
1292
|
json: unknown | null;
|
|
1289
1293
|
};
|
|
1290
|
-
|
|
1291
|
-
* Edition 5+ `ctx.fetch` error for a non-2xx response. Its full readable body is secret-redacted; editions 1–4 retain `PlayFetchResponse { ok: false }`.
|
|
1292
|
-
*
|
|
1293
|
-
* @sdkReference runtime 178 CtxFetchHttpError
|
|
1294
|
-
*/
|
|
1295
|
-
declare class CtxFetchHttpError extends Error {
|
|
1296
|
-
readonly response: PlayAuthoringFetchResponse;
|
|
1297
|
-
/**
|
|
1298
|
-
* Play source and the runtime are separately bundled. Recognize the stable
|
|
1299
|
-
* public error code so `instanceof` works across that boundary as well.
|
|
1300
|
-
*/
|
|
1301
|
-
static [Symbol.hasInstance](value: unknown): boolean;
|
|
1302
|
-
/** Stable machine-readable HTTP-failure code. */
|
|
1303
|
-
readonly code: "CTX_FETCH_HTTP_ERROR";
|
|
1304
|
-
/** Upstream HTTP status. */
|
|
1305
|
-
readonly status: number;
|
|
1306
|
-
/** Upstream HTTP status text. */
|
|
1307
|
-
readonly statusText: string;
|
|
1308
|
-
/** Final response URL after redirects. */
|
|
1309
|
-
readonly url: string;
|
|
1310
|
-
/** Secret-redacted response headers. */
|
|
1311
|
-
readonly headers: Record<string, string>;
|
|
1312
|
-
/** Complete secret-redacted response body. */
|
|
1313
|
-
readonly bodyText: string;
|
|
1314
|
-
/** Eagerly parsed secret-redacted JSON, or null. */
|
|
1315
|
-
readonly json: unknown | null;
|
|
1316
|
-
/** Build the error from the durable response record. */
|
|
1317
|
-
constructor(response: PlayAuthoringFetchResponse);
|
|
1318
|
-
}
|
|
1294
|
+
|
|
1319
1295
|
type PlayAuthoringCustomerDbQueryOptions = {
|
|
1320
1296
|
id?: string;
|
|
1321
1297
|
staleAfterSeconds?: 0;
|
|
@@ -1324,6 +1300,7 @@ type PlayAuthoringCustomerDbQueryOptions = {
|
|
|
1324
1300
|
};
|
|
1325
1301
|
type PlayAuthoringRunStepsOptions = {
|
|
1326
1302
|
description?: string;
|
|
1303
|
+
staleAfterSeconds?: DurableCallStaleAfterSeconds;
|
|
1327
1304
|
};
|
|
1328
1305
|
/**
|
|
1329
1306
|
* Stable identity of the currently executing Play invocation.
|
|
@@ -1509,6 +1486,24 @@ declare const PLAY_AUTHORING_FIELD_REGISTRY: {
|
|
|
1509
1486
|
readonly description: "Artifact-pinned tool error behavior, either 0 or 1.";
|
|
1510
1487
|
readonly errorMessage: "compatibility.toolErrorSchemaVersion must be the static literal 0 or 1.";
|
|
1511
1488
|
};
|
|
1489
|
+
readonly 'compatibility.authoringContract': {
|
|
1490
|
+
readonly schema: _sinclair_typebox.TLiteral<"explicit-freshness">;
|
|
1491
|
+
readonly fixtures: {
|
|
1492
|
+
readonly valid: "explicit-freshness";
|
|
1493
|
+
readonly invalid: "legacy";
|
|
1494
|
+
readonly absent: undefined;
|
|
1495
|
+
readonly unresolved: {
|
|
1496
|
+
readonly expression: "authoringContract";
|
|
1497
|
+
};
|
|
1498
|
+
readonly edition1: undefined;
|
|
1499
|
+
};
|
|
1500
|
+
readonly referenceType: "'explicit-freshness'";
|
|
1501
|
+
readonly required: false;
|
|
1502
|
+
readonly resolution: "static-required";
|
|
1503
|
+
readonly issueCode: "play_authoring_binding_invalid";
|
|
1504
|
+
readonly description: "Opts new source into the current explicit-freshness authoring edition; an already-pinned edition-10 artifact retains its admitted behavior.";
|
|
1505
|
+
readonly errorMessage: "compatibility.authoringContract must be the static literal \"explicit-freshness\".";
|
|
1506
|
+
};
|
|
1512
1507
|
readonly 'compatibility.toolResponseReceiptRevision': {
|
|
1513
1508
|
readonly schema: _sinclair_typebox.TString;
|
|
1514
1509
|
readonly fixtures: {
|
|
@@ -2350,7 +2345,7 @@ declare const PLAY_AUTHORING_FIELD_REGISTRY: {
|
|
|
2350
2345
|
readonly required: false;
|
|
2351
2346
|
readonly resolution: "static-when-present";
|
|
2352
2347
|
readonly issueCode: "play_authoring_dataset_option_invalid";
|
|
2353
|
-
readonly description: "Edition 11 CSV inputs always use source-row occurrence identity, even with rowIdentity: key; key-based
|
|
2348
|
+
readonly description: "Edition 11 requires explicit freshness and semantic identity for supported durable calls. CSV inputs always use source-row occurrence identity, even with rowIdentity: \"key\"; key-based dedup remains available for non-CSV inputs and editions 1–10.";
|
|
2354
2349
|
readonly errorMessage: "ctx.dataset run rowIdentity must be \"source_row\" or \"key\".";
|
|
2355
2350
|
};
|
|
2356
2351
|
readonly 'ctx.dataset.run.onRowError': {
|
|
@@ -2916,6 +2911,24 @@ declare const PLAY_AUTHORING_FIELD_REGISTRY: {
|
|
|
2916
2911
|
readonly description: "Non-empty purpose for a reusable step program.";
|
|
2917
2912
|
readonly errorMessage: "ctx.runSteps options.description must be non-empty.";
|
|
2918
2913
|
};
|
|
2914
|
+
readonly 'ctx.runSteps.options.staleAfterSeconds': {
|
|
2915
|
+
readonly schema: _sinclair_typebox.TUnion<[_sinclair_typebox.TNull, _sinclair_typebox.TInteger]>;
|
|
2916
|
+
readonly fixtures: {
|
|
2917
|
+
readonly valid: 0;
|
|
2918
|
+
readonly invalid: -1;
|
|
2919
|
+
readonly absent: undefined;
|
|
2920
|
+
readonly unresolved: {
|
|
2921
|
+
readonly expression: "ttl";
|
|
2922
|
+
};
|
|
2923
|
+
readonly edition1: null;
|
|
2924
|
+
};
|
|
2925
|
+
readonly referenceType: "number | null";
|
|
2926
|
+
readonly required: false;
|
|
2927
|
+
readonly resolution: "runtime-dynamic";
|
|
2928
|
+
readonly issueCode: "play_authoring_durable_policy_invalid";
|
|
2929
|
+
readonly description: string;
|
|
2930
|
+
readonly errorMessage: "staleAfterSeconds must be null, 0 (always execute), or a positive whole number of seconds.";
|
|
2931
|
+
};
|
|
2919
2932
|
readonly 'ctx.sleep.ms': {
|
|
2920
2933
|
readonly schema: _sinclair_typebox.TInteger;
|
|
2921
2934
|
readonly fixtures: {
|
|
@@ -3036,6 +3049,8 @@ type PlayArtifactCompatibility = {
|
|
|
3036
3049
|
toolResponseReceiptRevision?: string;
|
|
3037
3050
|
/** Missing preserves Slack HITL's historical parked timeout behavior. */
|
|
3038
3051
|
slackHitlTimeoutOutcome?: 'error';
|
|
3052
|
+
/** Missing preserves historical stored-output hydration into dataset rows. */
|
|
3053
|
+
datasetRowInput?: 'current_run';
|
|
3039
3054
|
};
|
|
3040
3055
|
/** The only executable Play artifact contract. */
|
|
3041
3056
|
declare const PLAY_ARTIFACT_KINDS: {
|
|
@@ -3047,6 +3062,8 @@ type PlayBundleArtifact = {
|
|
|
3047
3062
|
/** Defaults to cjs_node20 when not present on legacy Node artifacts. */
|
|
3048
3063
|
artifactKind?: PlayArtifactKind;
|
|
3049
3064
|
entryFile: string;
|
|
3065
|
+
/** Source declaration selected by a named-export bundle. Absent preserves legacy admission. */
|
|
3066
|
+
exportName?: string;
|
|
3050
3067
|
virtualFilename: string;
|
|
3051
3068
|
sourceHash: string;
|
|
3052
3069
|
graphHash: string;
|
|
@@ -3485,4 +3502,4 @@ type PlayCompilerManifest = {
|
|
|
3485
3502
|
authoringContract?: AdmittedPlayAuthoringContract;
|
|
3486
3503
|
};
|
|
3487
3504
|
|
|
3488
|
-
export {
|
|
3505
|
+
export { type DeeplineEmailStatusGetterValue as $, type AsyncPlayRunRef as A, type BasicToolExecuteResult as B, type PlayAuthoringBindings as C, type PlayAuthoringCallExecution as D, type PlayAuthoringCallOptions as E, type PlayAuthoringInputContract as F, type PlayRunId as G, type PlayAuthoringStepProgramStep as H, type PlayAuthoringRuntimeStepOptions as I, type PlaySqlListenerDeclaration as J, type PlaySqlListenerEvent as K, type PlaySqlListenerOperation as L, type PlaySqlQuery as M, type PlayAuthoringStepOptions as N, type PlayAuthoringStepProgram as O, PLAY_ARTIFACT_KINDS as P, type PlayAuthoringStepProgramResolver as Q, type PlayAuthoringStepResolver as R, type PlayToolExecutionRequest as S, type ToolExecuteResult as T, type PlayAuthoringStepProgramOptions as U, DeeplineError as V, ToolExecutionError as W, type ToolExecutionErrorOptions as X, type BillingEntitlements as Y, DEEPLINE_EXTRACTOR_TARGETS as Z, DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS as _, type PlayArtifactCompatibility as a, type DeeplineExtractorTarget as a0, type DeeplineGetterValue as a1, type DeeplineGetterValueMap as a2, JOB_CHANGE_STATUS_VALUES as a3, type JobChangeStatus as a4, PHONE_STATUS_VALUES as a5, type PhoneStatus as a6, type PlayDatasetInput as a7, type PreviousCell as a8, ProviderTransientError as a9, type ProviderTransientErrorCategory as aa, type ProviderUnavailableError as ab, type ProviderUnavailableReason as ac, type ToolExecutionErrorCategory as ad, type ToolExecutionErrorOrigin as ae, type ToolExecutionFailureV1 as af, type ToolExecutionNetworkKind as ag, type ToolExecutionNetworkScope as ah, type ToolExecutionPublicDetails as ai, type ToolResultBilling as aj, getProviderUnavailableReason as ak, isDeeplineExtractorTarget as al, isProviderUnavailable as am, isProviderWaterfallUnavailableError as an, type BillingBenefitValues as ao, type PlayBundleArtifact as b, type PlayImportPolicy as c, type PlayPackageImport as d, type PlayRuntimeFeature as e, type PlaySandboxRuntimeDeclaration as f, type PlayCompilerManifest as g, type PlayArtifactKind as h, type PlayAuthoringFetchResponse as i, type PlayDataset as j, type PlayAuthoringColumnMap as k, type PlayAuthoringColumnResolver as l, type PlayAuthoringRuntimeContext as m, type PlayAuthoringConditionalStepResolver as n, type PlayAuthoringCsvInput as o, type PlayAuthoringCsvOptions as p, type PlayAuthoringDatasetBuilder as q, type PlayAuthoringDatasetColumnDefinition as r, type PlayAuthoringDatasetColumnRunInput as s, type PlayAuthoringReferenceLike as t, type PlayReturnObject as u, type PlayAuthoringDefineConfig as v, type PlayAuthoringDefinedPlay as w, type PlayAuthoringFetchOptions as x, type PlayAuthoringFileInput as y, type PlayAuthoringAsyncCallOptions as z };
|