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
|
@@ -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 };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference path="./text-imports.d.ts" />
|
|
2
|
-
import { b as PlayBundleArtifact, f as PlaySandboxRuntimeDeclaration, g as PlayCompilerManifest, h as PlayArtifactKind } from './compiler-manifest-
|
|
2
|
+
import { b as PlayBundleArtifact, f as PlaySandboxRuntimeDeclaration, g as PlayCompilerManifest, h as PlayArtifactKind, a as PlayArtifactCompatibility } from './compiler-manifest-lzWpbV3w.js';
|
|
3
3
|
|
|
4
4
|
type ImportedPlayDependency = {
|
|
5
5
|
filePath: string;
|
|
@@ -70,6 +70,10 @@ type BundlePlayFileOptions = {
|
|
|
70
70
|
/** Must be `cjs_node20`; retained as an explicit compile-contract assertion. */
|
|
71
71
|
target?: PlayArtifactKind;
|
|
72
72
|
exportName?: string;
|
|
73
|
+
/** Retain an existing artifact's full contract when changing only source declarations. */
|
|
74
|
+
compatibility?: PlayArtifactCompatibility;
|
|
75
|
+
/** Disable local artifact cache writes for inspection-only bundling. */
|
|
76
|
+
cache?: boolean;
|
|
73
77
|
};
|
|
74
78
|
|
|
75
79
|
export { type BundledPlayFileResult as B, type ImportedPlayDependency as I, type PlayBundlingAdapter as P, type BundlePlayFileOptions as a, type BundledPlayFileSuccess as b, type PlayLocalFileDiscoveryError as c, type PlayLocalFileReference as d, extractDefinedPlayName as e };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference path="./text-imports.d.ts" />
|
|
2
|
-
import { b as PlayBundleArtifact, f as PlaySandboxRuntimeDeclaration, g as PlayCompilerManifest, h as PlayArtifactKind } from './compiler-manifest-
|
|
2
|
+
import { b as PlayBundleArtifact, f as PlaySandboxRuntimeDeclaration, g as PlayCompilerManifest, h as PlayArtifactKind, a as PlayArtifactCompatibility } from './compiler-manifest-lzWpbV3w.mjs';
|
|
3
3
|
|
|
4
4
|
type ImportedPlayDependency = {
|
|
5
5
|
filePath: string;
|
|
@@ -70,6 +70,10 @@ type BundlePlayFileOptions = {
|
|
|
70
70
|
/** Must be `cjs_node20`; retained as an explicit compile-contract assertion. */
|
|
71
71
|
target?: PlayArtifactKind;
|
|
72
72
|
exportName?: string;
|
|
73
|
+
/** Retain an existing artifact's full contract when changing only source declarations. */
|
|
74
|
+
compatibility?: PlayArtifactCompatibility;
|
|
75
|
+
/** Disable local artifact cache writes for inspection-only bundling. */
|
|
76
|
+
cache?: boolean;
|
|
73
77
|
};
|
|
74
78
|
|
|
75
79
|
export { type BundledPlayFileResult as B, type ImportedPlayDependency as I, type PlayBundlingAdapter as P, type BundlePlayFileOptions as a, type BundledPlayFileSuccess as b, type PlayLocalFileDiscoveryError as c, type PlayLocalFileReference as d, extractDefinedPlayName as e };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,14 +1,54 @@
|
|
|
1
1
|
/// <reference path="./text-imports.d.ts" />
|
|
2
|
-
import { T as ToolExecuteResult, B as BasicToolExecuteResult,
|
|
3
|
-
export { Y as BillingEntitlements, Z as
|
|
4
|
-
import { b as DeeplineClientOptions, B as BillingNamespace, T as ToolDefinition, c as ToolMetadata, E as ExecuteToolRawOptions, d as ExecutionRecovery, e as ExecutionByKeyResult, f as PlayListItem, g as PlayDetail, h as PlayRunListItem, i as PlayRevisionSummary, j as PublishPlayVersionResult, C as ClearPlayHistoryResult, k as PlayStatus, l as StopPlayRunResult, a as DeeplineClient, R as ResolvedConfig } from './client-
|
|
5
|
-
export { m as BillingCreditPool, n as BillingInvoiceEntry, o as BillingInvoicesResult, p as BillingPaymentMethodSummary, q as BillingQuoteRequest, r as BillingQuoteResult, s as BillingRecentUsageEntry, t as BillingSubscriptionCancelResult, u as BillingSubscriptionStatus, v as BillingTopUpReceipt, w as BillingTopUpResult, x as BillingUsageEvent, y as BillingUsageOptions, z as BillingUsageResult, A as ChildRunSummary, F as ClearPlayHistoryRequest, G as CreateNotificationGroupInput, H as CreateNotificationGroupResult, I as CustomerDbQueryOptions, J as CustomerDbQueryPlan, K as CustomerDbQueryResult, L as DEEPLINE_TOOL_CATEGORIES, M as DbNamespace, N as DeeplineToolCategory, O as IngestionStorageRepairResult, Q as LegacyMonitorStatusFilter, U as LiveEventEnvelope, V as MONITOR_JOB_PHASES, W as MONITOR_JOB_RECONCILIATION_STATES, X as MONITOR_JOB_STATES, Y as MonitorBatchNamespace, Z as MonitorCheckResult, _ as MonitorDefinition, $ as MonitorDeleteResult, a0 as MonitorDependents, a1 as MonitorDeployResult, a2 as MonitorDetail, a3 as MonitorFleetDeactivateOptions, a4 as MonitorFleetGetOptions, a5 as MonitorFleetReactivateOptions, a6 as MonitorFleetResult, a7 as MonitorFleetStatus, a8 as MonitorFleetSyncOptions, a9 as MonitorFleetWaitOptions, aa as MonitorFleetsNamespace, ab as MonitorJobDeployOptions, ac as MonitorJobLogsOptions, ad as MonitorJobPhase, ae as MonitorJobReconciliationState, af as MonitorJobResult, ag as MonitorJobState, ah as MonitorJobWaitOptions, ai as MonitorJobsNamespace, aj as MonitorListEntry, ak as MonitorPayload, al as MonitorReactivateResult, am as MonitorSpec, an as MonitorState, ao as MonitorStateFilter, ap as MonitorUpdateChangeSummary, aq as MonitorUpdateResult, ar as MonitorsAccessStatus, as as MonitorsAvailableOptions, at as MonitorsAvailableResult, au as MonitorsListOptions, av as MonitorsListResult, aw as MonitorsNamespace, ax as NormalizedRunEventQuery, ay as PlayActivityObservation, az as PlayActivityState, aA as PlayActivityTarget, aB as PlayCostEstimate, aC as PlayCronTriggerConfig, aD as PlayDescriptionOptions, aE as PlayLiveEvent, aF as PlayPath, aG as PlayRunActionPackage, aH as PlayRunActivityProjection, aI as PlayRunDatasetActions, aJ as PlayRunPackage, aK as PlayRunResult, aL as PlayRunRowHistoryOptions, aM as PlayRunStart, aN as PlaySettings, aO as PlaySettingsPatch, aP as PlaySettingsPathsPage, aQ as PlaySettingsResult, aR as PlaySheetRow, aS as PlaySheetRowsResult, aT as PlayTriggerConfigUpdate, aU as PlayTriggerConfigUpdateResult, aV as PlayTriggerConfigView, aW as PlayWebhookAuthConfig, aX as PlayWebhookTriggerConfig, aY as PlaysActivityResponse, aZ as PlaysListOptions, a_ as PlaysListPage, a$ as PublishPlayVersionRequest, b0 as RerunOptions, b1 as RerunPlayRunResult, b2 as RunChildrenPage, b3 as RunEventCountResult, b4 as RunEventField, b5 as RunEventFieldDescriptor, b6 as RunEventFieldOperators, b7 as RunEventFieldsResult, b8 as RunEventGroupValue, b9 as RunEventMeasure, ba as RunEventQueryCriteria, bb as RunEventQueryEvent, bc as RunEventQueryInputError, bd as RunEventQueryOptions, be as RunEventQueryPage, bf as RunEventQueryRetention, bg as RunEventScalar, bh as RunEventSummaryOptions, bi as RunEventSummaryResult, bj as RunEventWhere, bk as RunLifecycleStatus, bl as RunToolReceiptResult, bm as RunToolReceiptsResponse, bn as RunsChildrenOptions, bo as RunsEventPayload, bp as RunsEventSearchEntry, bq as RunsEventSearchOptions, br as RunsEventSearchResult, bs as RunsEventsCountResult, bt as RunsEventsCriteria, bu as RunsEventsFieldsOptions, bv as RunsEventsListOptions, bw as RunsEventsListResult, bx as RunsEventsNamespace, by as RunsEventsSummaryOptions, bz as RunsEventsSummaryResult, bA as RunsHistoryItem, bB as RunsHistoryOptions, bC as RunsHistoryPage, bD as RunsListOptions, bE as RunsListPage, bF as RunsLogCriteria, bG as RunsLogsCountResult, bH as RunsLogsNamespace, bI as RunsLogsOptions, bJ as RunsLogsQueryOptions, bK as RunsLogsQueryResult, bL as RunsLogsResult, bM as RunsLogsSummaryOptions, bN as RunsLogsSummaryResult, bO as RunsNamespace, bP as RunsTailOptions, bQ as RunsWatchOptions, bR as SearchOptions, bS as SearchResult, bT as SearchResultItem, S as SearchType, bU as StartPlayRunRequest, bV as StopAllCandidate, bW as StopAllPlayRunsDryRunResult, bX as StopAllPlayRunsResult, bY as StopAllPlayRunsStopResult, bZ as StopAllRunsOptions, b_ as
|
|
6
|
-
import { b as BundledPlayFileSuccess } from './index-
|
|
2
|
+
import { i as PlayAuthoringFetchResponse, T as ToolExecuteResult, B as BasicToolExecuteResult, j as PlayDataset, A as AsyncPlayRunRef$1, k as PlayAuthoringColumnMap, l as PlayAuthoringColumnResolver, m as PlayAuthoringRuntimeContext, n as PlayAuthoringConditionalStepResolver, o as PlayAuthoringCsvInput, p as PlayAuthoringCsvOptions, q as PlayAuthoringDatasetBuilder, r as PlayAuthoringDatasetColumnDefinition, s as PlayAuthoringDatasetColumnRunInput, t as PlayAuthoringReferenceLike, u as PlayReturnObject$1, v as PlayAuthoringDefineConfig, w as PlayAuthoringDefinedPlay, x as PlayAuthoringFetchOptions, y as PlayAuthoringFileInput, z as PlayAuthoringAsyncCallOptions, C as PlayAuthoringBindings, D as PlayAuthoringCallExecution, E as PlayAuthoringCallOptions, F as PlayAuthoringInputContract, G as PlayRunId$1, H as PlayAuthoringStepProgramStep, I as PlayAuthoringRuntimeStepOptions, J as PlaySqlListenerDeclaration, K as PlaySqlListenerEvent, L as PlaySqlListenerOperation, M as PlaySqlQuery, N as PlayAuthoringStepOptions, O as PlayAuthoringStepProgram, Q as PlayAuthoringStepProgramResolver, R as PlayAuthoringStepResolver, S as PlayToolExecutionRequest, U as PlayAuthoringStepProgramOptions, V as DeeplineError, W as ToolExecutionError, X as ToolExecutionErrorOptions } from './compiler-manifest-lzWpbV3w.mjs';
|
|
3
|
+
export { Y as BillingEntitlements, Z as DEEPLINE_EXTRACTOR_TARGETS, _ as DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS, $ as DeeplineEmailStatusGetterValue, a0 as DeeplineExtractorTarget, a1 as DeeplineGetterValue, a2 as DeeplineGetterValueMap, a3 as JOB_CHANGE_STATUS_VALUES, a4 as JobChangeStatus, a5 as PHONE_STATUS_VALUES, a6 as PhoneStatus, a7 as PlayDatasetInput, a8 as PreviousCell, a9 as ProviderTransientError, aa as ProviderTransientErrorCategory, ab as ProviderUnavailableError, ac as ProviderUnavailableReason, ad as ToolExecutionErrorCategory, ae as ToolExecutionErrorOrigin, af as ToolExecutionFailureV1, ag as ToolExecutionNetworkKind, ah as ToolExecutionNetworkScope, ai as ToolExecutionPublicDetails, aj as ToolResultBilling, ak as getProviderUnavailableReason, al as isDeeplineExtractorTarget, am as isProviderUnavailable, an as isProviderWaterfallUnavailableError } from './compiler-manifest-lzWpbV3w.mjs';
|
|
4
|
+
import { b as DeeplineClientOptions, B as BillingNamespace, T as ToolDefinition, c as ToolMetadata, E as ExecuteToolRawOptions, d as ExecutionRecovery, e as ExecutionByKeyResult, f as PlayListItem, g as PlayDetail, h as PlayRunListItem, i as PlayRevisionSummary, j as PublishPlayVersionResult, C as ClearPlayHistoryResult, k as PlayStatus, l as StopPlayRunResult, a as DeeplineClient, R as ResolvedConfig } from './client-74k4IPh6.mjs';
|
|
5
|
+
export { m as BillingCreditPool, n as BillingInvoiceEntry, o as BillingInvoicesResult, p as BillingPaymentMethodSummary, q as BillingQuoteRequest, r as BillingQuoteResult, s as BillingRecentUsageEntry, t as BillingSubscriptionCancelResult, u as BillingSubscriptionStatus, v as BillingTopUpReceipt, w as BillingTopUpResult, x as BillingUsageEvent, y as BillingUsageOptions, z as BillingUsageResult, A as ChildRunSummary, F as ClearPlayHistoryRequest, G as CreateNotificationGroupInput, H as CreateNotificationGroupResult, I as CustomerDbQueryOptions, J as CustomerDbQueryPlan, K as CustomerDbQueryResult, L as DEEPLINE_TOOL_CATEGORIES, M as DbNamespace, N as DeeplineToolCategory, O as IngestionStorageRepairResult, Q as LegacyMonitorStatusFilter, U as LiveEventEnvelope, V as MONITOR_JOB_PHASES, W as MONITOR_JOB_RECONCILIATION_STATES, X as MONITOR_JOB_STATES, Y as MonitorBatchNamespace, Z as MonitorCheckResult, _ as MonitorDefinition, $ as MonitorDeleteResult, a0 as MonitorDependents, a1 as MonitorDeployResult, a2 as MonitorDetail, a3 as MonitorFleetDeactivateOptions, a4 as MonitorFleetGetOptions, a5 as MonitorFleetReactivateOptions, a6 as MonitorFleetResult, a7 as MonitorFleetStatus, a8 as MonitorFleetSyncOptions, a9 as MonitorFleetWaitOptions, aa as MonitorFleetsNamespace, ab as MonitorJobDeployOptions, ac as MonitorJobLogsOptions, ad as MonitorJobPhase, ae as MonitorJobReconciliationState, af as MonitorJobResult, ag as MonitorJobState, ah as MonitorJobWaitOptions, ai as MonitorJobsNamespace, aj as MonitorListEntry, ak as MonitorPayload, al as MonitorReactivateResult, am as MonitorSpec, an as MonitorState, ao as MonitorStateFilter, ap as MonitorUpdateChangeSummary, aq as MonitorUpdateResult, ar as MonitorsAccessStatus, as as MonitorsAvailableOptions, at as MonitorsAvailableResult, au as MonitorsListOptions, av as MonitorsListResult, aw as MonitorsNamespace, ax as NormalizedRunEventQuery, ay as PlayActivityObservation, az as PlayActivityState, aA as PlayActivityTarget, aB as PlayCostEstimate, aC as PlayCronTriggerConfig, aD as PlayDescriptionOptions, aE as PlayLiveEvent, aF as PlayPath, aG as PlayRunActionPackage, aH as PlayRunActivityProjection, aI as PlayRunDatasetActions, aJ as PlayRunPackage, aK as PlayRunResult, aL as PlayRunRowHistoryOptions, aM as PlayRunStart, aN as PlaySettings, aO as PlaySettingsPatch, aP as PlaySettingsPathsPage, aQ as PlaySettingsResult, aR as PlaySheetRow, aS as PlaySheetRowsResult, aT as PlayTriggerConfigUpdate, aU as PlayTriggerConfigUpdateResult, aV as PlayTriggerConfigView, aW as PlayWebhookAuthConfig, aX as PlayWebhookTriggerConfig, aY as PlaysActivityResponse, aZ as PlaysListOptions, a_ as PlaysListPage, a$ as PublishPlayVersionRequest, b0 as RerunOptions, b1 as RerunPlayRunResult, b2 as RunChildrenPage, b3 as RunEventCountResult, b4 as RunEventField, b5 as RunEventFieldDescriptor, b6 as RunEventFieldOperators, b7 as RunEventFieldsResult, b8 as RunEventGroupValue, b9 as RunEventMeasure, ba as RunEventQueryCriteria, bb as RunEventQueryEvent, bc as RunEventQueryInputError, bd as RunEventQueryOptions, be as RunEventQueryPage, bf as RunEventQueryRetention, bg as RunEventScalar, bh as RunEventSummaryOptions, bi as RunEventSummaryResult, bj as RunEventWhere, bk as RunLifecycleStatus, bl as RunToolReceiptResult, bm as RunToolReceiptsResponse, bn as RunsChildrenOptions, bo as RunsEventPayload, bp as RunsEventSearchEntry, bq as RunsEventSearchOptions, br as RunsEventSearchResult, bs as RunsEventsCountResult, bt as RunsEventsCriteria, bu as RunsEventsFieldsOptions, bv as RunsEventsListOptions, bw as RunsEventsListResult, bx as RunsEventsNamespace, by as RunsEventsSummaryOptions, bz as RunsEventsSummaryResult, bA as RunsHistoryItem, bB as RunsHistoryOptions, bC as RunsHistoryPage, bD as RunsListOptions, bE as RunsListPage, bF as RunsLogCriteria, bG as RunsLogsCountResult, bH as RunsLogsNamespace, bI as RunsLogsOptions, bJ as RunsLogsQueryOptions, bK as RunsLogsQueryResult, bL as RunsLogsResult, bM as RunsLogsSummaryOptions, bN as RunsLogsSummaryResult, bO as RunsNamespace, bP as RunsTailOptions, bQ as RunsWatchOptions, bR as SearchOptions, bS as SearchResult, bT as SearchResultItem, S as SearchType, bU as StartPlayRunRequest, bV as StopAllCandidate, bW as StopAllPlayRunsDryRunResult, bX as StopAllPlayRunsResult, bY as StopAllPlayRunsStopResult, bZ as StopAllRunsOptions, b_ as ToolCategoryListing, b$ as ToolCategorySummary, c0 as ToolExecution, c1 as ToolRequestCondition, c2 as ToolRequestWarningRule, c3 as ToolSearchOptions, c4 as ToolSearchResult, c5 as WorkspaceCreateResult, c6 as WorkspacesNamespace, c7 as defineMonitor, c8 as isStopAllPlayRunsDryRunResult, c9 as planCustomerDbQuery } from './client-74k4IPh6.mjs';
|
|
6
|
+
import { b as BundledPlayFileSuccess } from './index-CtNK-0nI.mjs';
|
|
7
7
|
export { BatchMonitorInput, MonitorInputIssue, MonitorSpec as MonitorInputSpec, lintMonitorBatchInput, lintMonitorSpecTemplate, renderMonitorSpecTemplate } from './monitor-input-contract.mjs';
|
|
8
8
|
export { AdmittedMonitorFleetAuthoringContract, MONITOR_FLEET_AUTHORING_CONTRACT_CHANGELOG, MONITOR_FLEET_AUTHORING_CONTRACT_EDITION, MONITOR_FLEET_DOCUMENTATION, MONITOR_FLEET_FRONTIER_MAX_ROWS, MONITOR_FLEET_MAX_MEMBERS, MonitorFleetAuthoringContractEdition, MonitorFleetAuthoringContractResult, MonitorFleetColumn, MonitorFleetContractIssue, MonitorFleetDefinition, MonitorFleetExpression, MonitorFleetTemplate, admitMonitorFleetAuthoringContract, defineMonitorFleet, fleetColumn, fleetKey, lintMonitorFleetInput, validateMonitorFleetDefinition } from './monitor-fleet-contract.mjs';
|
|
9
9
|
import '@sinclair/typebox';
|
|
10
10
|
import 'zod';
|
|
11
11
|
|
|
12
|
+
/** A dispatched HTTP write whose outcome could not be confirmed. */
|
|
13
|
+
declare class CtxFetchAmbiguousWriteError extends Error {
|
|
14
|
+
readonly method: string;
|
|
15
|
+
readonly origin: string;
|
|
16
|
+
static [Symbol.hasInstance](value: unknown): boolean;
|
|
17
|
+
readonly code: "CTX_FETCH_WRITE_OUTCOME_UNKNOWN";
|
|
18
|
+
readonly outcome: "unknown";
|
|
19
|
+
constructor(method: string, origin: string, options?: ErrorOptions);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Edition 5+ `ctx.fetch` error for a non-2xx response. Its full readable body is secret-redacted; editions 1–4 retain `PlayFetchResponse { ok: false }`.
|
|
24
|
+
*
|
|
25
|
+
* @sdkReference runtime 178 CtxFetchHttpError
|
|
26
|
+
*/
|
|
27
|
+
declare class CtxFetchHttpError extends Error {
|
|
28
|
+
readonly response: PlayAuthoringFetchResponse;
|
|
29
|
+
/**
|
|
30
|
+
* Play source and the runtime are separately bundled. Recognize the stable
|
|
31
|
+
* public error code so `instanceof` works across that boundary as well.
|
|
32
|
+
*/
|
|
33
|
+
static [Symbol.hasInstance](value: unknown): boolean;
|
|
34
|
+
/** Stable machine-readable HTTP-failure code. */
|
|
35
|
+
readonly code: "CTX_FETCH_HTTP_ERROR";
|
|
36
|
+
/** Upstream HTTP status. */
|
|
37
|
+
readonly status: number;
|
|
38
|
+
/** Upstream HTTP status text. */
|
|
39
|
+
readonly statusText: string;
|
|
40
|
+
/** Final response URL after redirects. */
|
|
41
|
+
readonly url: string;
|
|
42
|
+
/** Secret-redacted response headers. */
|
|
43
|
+
readonly headers: Record<string, string>;
|
|
44
|
+
/** Complete secret-redacted response body. */
|
|
45
|
+
readonly bodyText: string;
|
|
46
|
+
/** Eagerly parsed secret-redacted JSON, or null. */
|
|
47
|
+
readonly json: unknown | null;
|
|
48
|
+
/** Build the error from the durable response record. */
|
|
49
|
+
constructor(response: PlayAuthoringFetchResponse);
|
|
50
|
+
}
|
|
51
|
+
|
|
12
52
|
/**
|
|
13
53
|
* Read array rows out of a tool result — by selector paths, else the first
|
|
14
54
|
* declared list accessor. Companion to {@link readValue} for `extractList`.
|
|
@@ -476,9 +516,7 @@ type PlayMetadata<TInput = Record<string, unknown>> = {
|
|
|
476
516
|
compatibility?: PlayBindings<TInput>['compatibility'];
|
|
477
517
|
};
|
|
478
518
|
/**
|
|
479
|
-
*
|
|
480
|
-
*
|
|
481
|
-
* Created by {@link Deepline.connect}. Wraps a {@link DeeplineClient} with a friendlier API for common operations.
|
|
519
|
+
* SDK context with tool shortcuts and play handles, created by {@link Deepline.connect}. Wraps a {@link DeeplineClient} for common operations.
|
|
482
520
|
*
|
|
483
521
|
* @example
|
|
484
522
|
* ```typescript
|
|
@@ -1064,4 +1102,4 @@ declare function writeCsvOutputFile(rows: Array<Record<string, unknown>>, stem:
|
|
|
1064
1102
|
*/
|
|
1065
1103
|
declare function extractSummaryFields(payload: unknown): Record<string, Scalar>;
|
|
1066
1104
|
|
|
1067
|
-
export { type AsyncPlayRunRef, AuthError, BillingNamespace, ClearPlayHistoryResult, type ColumnMap, type ColumnResolver, type ConditionalStepResolver, ConfigError, type CsvInput, type CsvOptions, CustomerDbQueryOutcomeUnknownError, type DatasetBuilder, type DatasetColumnDefinition, type DatasetColumnRunInput, Deepline, DeeplineClient, DeeplineClientOptions, DeeplineContext, DeeplineError, type DeeplineExecutionsNamespace, type DeeplineNamedPlay, type DeeplinePlayRuntimeContext, type DeeplinePlaysNamespace, type DeeplineToolCallOptions, type DeeplineToolExecuteResult, type DeeplineToolsNamespace, type DefinePlayConfig, type DefinedPlay, ExecutionByKeyResult, ExecutionRecovery, type FetchOptions, type FileInput, type LocalPlayGraph, PROD_URL, type PlayAsyncCallOptions, type PlayBindings, type PlayCallExecution, type PlayCallOptions, PlayDataset, type PlayFetchResponse, type PlayInputContract, type PlayJob, PlayListItem, type PlayReferenceLike, PlayRevisionSummary, type PlayRunId, PlayStatus, type PlayStepProgramStep, type PrebuiltPlayRef, PublishPlayVersionResult, RateLimitError, ResolvedConfig, RunObserveTransportUnavailableError, type RuntimeStepOptions, SDK_API_CONTRACT, SDK_VERSION, type SqlListenerDeclaration, type SqlListenerEvent, type SqlListenerOperation, type SqlQuery, type StepOptions, type StepProgram, type StepProgramResolver, type StepResolver, StopPlayRunResult, ToolDefinition, BasicToolExecuteResult as ToolExecuteResult, ToolExecutionError, ToolExecutionErrorOptions, type ToolExecutionRequest, ToolMetadata, ToolRateLimitError, defineInput, definePlay, defineWorkflow, extractSummaryFields, getDefinedPlayMetadata, pinLocalPlayImports, planLocalPlayExecution, readList, resolveConfig, runIf, steps, tryConvertToList, writeCsvOutputFile, writeJsonOutputFile };
|
|
1105
|
+
export { type AsyncPlayRunRef, AuthError, BillingNamespace, ClearPlayHistoryResult, type ColumnMap, type ColumnResolver, type ConditionalStepResolver, ConfigError, type CsvInput, type CsvOptions, CtxFetchAmbiguousWriteError, CtxFetchHttpError, CustomerDbQueryOutcomeUnknownError, type DatasetBuilder, type DatasetColumnDefinition, type DatasetColumnRunInput, Deepline, DeeplineClient, DeeplineClientOptions, DeeplineContext, DeeplineError, type DeeplineExecutionsNamespace, type DeeplineNamedPlay, type DeeplinePlayRuntimeContext, type DeeplinePlaysNamespace, type DeeplineToolCallOptions, type DeeplineToolExecuteResult, type DeeplineToolsNamespace, type DefinePlayConfig, type DefinedPlay, ExecutionByKeyResult, ExecutionRecovery, type FetchOptions, type FileInput, type LocalPlayGraph, PROD_URL, type PlayAsyncCallOptions, type PlayBindings, type PlayCallExecution, type PlayCallOptions, PlayDataset, type PlayFetchResponse, type PlayInputContract, type PlayJob, PlayListItem, type PlayReferenceLike, PlayRevisionSummary, type PlayRunId, PlayStatus, type PlayStepProgramStep, type PrebuiltPlayRef, PublishPlayVersionResult, RateLimitError, ResolvedConfig, RunObserveTransportUnavailableError, type RuntimeStepOptions, SDK_API_CONTRACT, SDK_VERSION, type SqlListenerDeclaration, type SqlListenerEvent, type SqlListenerOperation, type SqlQuery, type StepOptions, type StepProgram, type StepProgramResolver, type StepResolver, StopPlayRunResult, ToolDefinition, BasicToolExecuteResult as ToolExecuteResult, ToolExecutionError, ToolExecutionErrorOptions, type ToolExecutionRequest, ToolMetadata, ToolRateLimitError, defineInput, definePlay, defineWorkflow, extractSummaryFields, getDefinedPlayMetadata, pinLocalPlayImports, planLocalPlayExecution, readList, resolveConfig, runIf, steps, tryConvertToList, writeCsvOutputFile, writeJsonOutputFile };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,14 +1,54 @@
|
|
|
1
1
|
/// <reference path="./text-imports.d.ts" />
|
|
2
|
-
import { T as ToolExecuteResult, B as BasicToolExecuteResult,
|
|
3
|
-
export { Y as BillingEntitlements, Z as
|
|
4
|
-
import { b as DeeplineClientOptions, B as BillingNamespace, T as ToolDefinition, c as ToolMetadata, E as ExecuteToolRawOptions, d as ExecutionRecovery, e as ExecutionByKeyResult, f as PlayListItem, g as PlayDetail, h as PlayRunListItem, i as PlayRevisionSummary, j as PublishPlayVersionResult, C as ClearPlayHistoryResult, k as PlayStatus, l as StopPlayRunResult, a as DeeplineClient, R as ResolvedConfig } from './client-
|
|
5
|
-
export { m as BillingCreditPool, n as BillingInvoiceEntry, o as BillingInvoicesResult, p as BillingPaymentMethodSummary, q as BillingQuoteRequest, r as BillingQuoteResult, s as BillingRecentUsageEntry, t as BillingSubscriptionCancelResult, u as BillingSubscriptionStatus, v as BillingTopUpReceipt, w as BillingTopUpResult, x as BillingUsageEvent, y as BillingUsageOptions, z as BillingUsageResult, A as ChildRunSummary, F as ClearPlayHistoryRequest, G as CreateNotificationGroupInput, H as CreateNotificationGroupResult, I as CustomerDbQueryOptions, J as CustomerDbQueryPlan, K as CustomerDbQueryResult, L as DEEPLINE_TOOL_CATEGORIES, M as DbNamespace, N as DeeplineToolCategory, O as IngestionStorageRepairResult, Q as LegacyMonitorStatusFilter, U as LiveEventEnvelope, V as MONITOR_JOB_PHASES, W as MONITOR_JOB_RECONCILIATION_STATES, X as MONITOR_JOB_STATES, Y as MonitorBatchNamespace, Z as MonitorCheckResult, _ as MonitorDefinition, $ as MonitorDeleteResult, a0 as MonitorDependents, a1 as MonitorDeployResult, a2 as MonitorDetail, a3 as MonitorFleetDeactivateOptions, a4 as MonitorFleetGetOptions, a5 as MonitorFleetReactivateOptions, a6 as MonitorFleetResult, a7 as MonitorFleetStatus, a8 as MonitorFleetSyncOptions, a9 as MonitorFleetWaitOptions, aa as MonitorFleetsNamespace, ab as MonitorJobDeployOptions, ac as MonitorJobLogsOptions, ad as MonitorJobPhase, ae as MonitorJobReconciliationState, af as MonitorJobResult, ag as MonitorJobState, ah as MonitorJobWaitOptions, ai as MonitorJobsNamespace, aj as MonitorListEntry, ak as MonitorPayload, al as MonitorReactivateResult, am as MonitorSpec, an as MonitorState, ao as MonitorStateFilter, ap as MonitorUpdateChangeSummary, aq as MonitorUpdateResult, ar as MonitorsAccessStatus, as as MonitorsAvailableOptions, at as MonitorsAvailableResult, au as MonitorsListOptions, av as MonitorsListResult, aw as MonitorsNamespace, ax as NormalizedRunEventQuery, ay as PlayActivityObservation, az as PlayActivityState, aA as PlayActivityTarget, aB as PlayCostEstimate, aC as PlayCronTriggerConfig, aD as PlayDescriptionOptions, aE as PlayLiveEvent, aF as PlayPath, aG as PlayRunActionPackage, aH as PlayRunActivityProjection, aI as PlayRunDatasetActions, aJ as PlayRunPackage, aK as PlayRunResult, aL as PlayRunRowHistoryOptions, aM as PlayRunStart, aN as PlaySettings, aO as PlaySettingsPatch, aP as PlaySettingsPathsPage, aQ as PlaySettingsResult, aR as PlaySheetRow, aS as PlaySheetRowsResult, aT as PlayTriggerConfigUpdate, aU as PlayTriggerConfigUpdateResult, aV as PlayTriggerConfigView, aW as PlayWebhookAuthConfig, aX as PlayWebhookTriggerConfig, aY as PlaysActivityResponse, aZ as PlaysListOptions, a_ as PlaysListPage, a$ as PublishPlayVersionRequest, b0 as RerunOptions, b1 as RerunPlayRunResult, b2 as RunChildrenPage, b3 as RunEventCountResult, b4 as RunEventField, b5 as RunEventFieldDescriptor, b6 as RunEventFieldOperators, b7 as RunEventFieldsResult, b8 as RunEventGroupValue, b9 as RunEventMeasure, ba as RunEventQueryCriteria, bb as RunEventQueryEvent, bc as RunEventQueryInputError, bd as RunEventQueryOptions, be as RunEventQueryPage, bf as RunEventQueryRetention, bg as RunEventScalar, bh as RunEventSummaryOptions, bi as RunEventSummaryResult, bj as RunEventWhere, bk as RunLifecycleStatus, bl as RunToolReceiptResult, bm as RunToolReceiptsResponse, bn as RunsChildrenOptions, bo as RunsEventPayload, bp as RunsEventSearchEntry, bq as RunsEventSearchOptions, br as RunsEventSearchResult, bs as RunsEventsCountResult, bt as RunsEventsCriteria, bu as RunsEventsFieldsOptions, bv as RunsEventsListOptions, bw as RunsEventsListResult, bx as RunsEventsNamespace, by as RunsEventsSummaryOptions, bz as RunsEventsSummaryResult, bA as RunsHistoryItem, bB as RunsHistoryOptions, bC as RunsHistoryPage, bD as RunsListOptions, bE as RunsListPage, bF as RunsLogCriteria, bG as RunsLogsCountResult, bH as RunsLogsNamespace, bI as RunsLogsOptions, bJ as RunsLogsQueryOptions, bK as RunsLogsQueryResult, bL as RunsLogsResult, bM as RunsLogsSummaryOptions, bN as RunsLogsSummaryResult, bO as RunsNamespace, bP as RunsTailOptions, bQ as RunsWatchOptions, bR as SearchOptions, bS as SearchResult, bT as SearchResultItem, S as SearchType, bU as StartPlayRunRequest, bV as StopAllCandidate, bW as StopAllPlayRunsDryRunResult, bX as StopAllPlayRunsResult, bY as StopAllPlayRunsStopResult, bZ as StopAllRunsOptions, b_ as
|
|
6
|
-
import { b as BundledPlayFileSuccess } from './index-
|
|
2
|
+
import { i as PlayAuthoringFetchResponse, T as ToolExecuteResult, B as BasicToolExecuteResult, j as PlayDataset, A as AsyncPlayRunRef$1, k as PlayAuthoringColumnMap, l as PlayAuthoringColumnResolver, m as PlayAuthoringRuntimeContext, n as PlayAuthoringConditionalStepResolver, o as PlayAuthoringCsvInput, p as PlayAuthoringCsvOptions, q as PlayAuthoringDatasetBuilder, r as PlayAuthoringDatasetColumnDefinition, s as PlayAuthoringDatasetColumnRunInput, t as PlayAuthoringReferenceLike, u as PlayReturnObject$1, v as PlayAuthoringDefineConfig, w as PlayAuthoringDefinedPlay, x as PlayAuthoringFetchOptions, y as PlayAuthoringFileInput, z as PlayAuthoringAsyncCallOptions, C as PlayAuthoringBindings, D as PlayAuthoringCallExecution, E as PlayAuthoringCallOptions, F as PlayAuthoringInputContract, G as PlayRunId$1, H as PlayAuthoringStepProgramStep, I as PlayAuthoringRuntimeStepOptions, J as PlaySqlListenerDeclaration, K as PlaySqlListenerEvent, L as PlaySqlListenerOperation, M as PlaySqlQuery, N as PlayAuthoringStepOptions, O as PlayAuthoringStepProgram, Q as PlayAuthoringStepProgramResolver, R as PlayAuthoringStepResolver, S as PlayToolExecutionRequest, U as PlayAuthoringStepProgramOptions, V as DeeplineError, W as ToolExecutionError, X as ToolExecutionErrorOptions } from './compiler-manifest-lzWpbV3w.js';
|
|
3
|
+
export { Y as BillingEntitlements, Z as DEEPLINE_EXTRACTOR_TARGETS, _ as DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS, $ as DeeplineEmailStatusGetterValue, a0 as DeeplineExtractorTarget, a1 as DeeplineGetterValue, a2 as DeeplineGetterValueMap, a3 as JOB_CHANGE_STATUS_VALUES, a4 as JobChangeStatus, a5 as PHONE_STATUS_VALUES, a6 as PhoneStatus, a7 as PlayDatasetInput, a8 as PreviousCell, a9 as ProviderTransientError, aa as ProviderTransientErrorCategory, ab as ProviderUnavailableError, ac as ProviderUnavailableReason, ad as ToolExecutionErrorCategory, ae as ToolExecutionErrorOrigin, af as ToolExecutionFailureV1, ag as ToolExecutionNetworkKind, ah as ToolExecutionNetworkScope, ai as ToolExecutionPublicDetails, aj as ToolResultBilling, ak as getProviderUnavailableReason, al as isDeeplineExtractorTarget, am as isProviderUnavailable, an as isProviderWaterfallUnavailableError } from './compiler-manifest-lzWpbV3w.js';
|
|
4
|
+
import { b as DeeplineClientOptions, B as BillingNamespace, T as ToolDefinition, c as ToolMetadata, E as ExecuteToolRawOptions, d as ExecutionRecovery, e as ExecutionByKeyResult, f as PlayListItem, g as PlayDetail, h as PlayRunListItem, i as PlayRevisionSummary, j as PublishPlayVersionResult, C as ClearPlayHistoryResult, k as PlayStatus, l as StopPlayRunResult, a as DeeplineClient, R as ResolvedConfig } from './client-C1IK1f8c.js';
|
|
5
|
+
export { m as BillingCreditPool, n as BillingInvoiceEntry, o as BillingInvoicesResult, p as BillingPaymentMethodSummary, q as BillingQuoteRequest, r as BillingQuoteResult, s as BillingRecentUsageEntry, t as BillingSubscriptionCancelResult, u as BillingSubscriptionStatus, v as BillingTopUpReceipt, w as BillingTopUpResult, x as BillingUsageEvent, y as BillingUsageOptions, z as BillingUsageResult, A as ChildRunSummary, F as ClearPlayHistoryRequest, G as CreateNotificationGroupInput, H as CreateNotificationGroupResult, I as CustomerDbQueryOptions, J as CustomerDbQueryPlan, K as CustomerDbQueryResult, L as DEEPLINE_TOOL_CATEGORIES, M as DbNamespace, N as DeeplineToolCategory, O as IngestionStorageRepairResult, Q as LegacyMonitorStatusFilter, U as LiveEventEnvelope, V as MONITOR_JOB_PHASES, W as MONITOR_JOB_RECONCILIATION_STATES, X as MONITOR_JOB_STATES, Y as MonitorBatchNamespace, Z as MonitorCheckResult, _ as MonitorDefinition, $ as MonitorDeleteResult, a0 as MonitorDependents, a1 as MonitorDeployResult, a2 as MonitorDetail, a3 as MonitorFleetDeactivateOptions, a4 as MonitorFleetGetOptions, a5 as MonitorFleetReactivateOptions, a6 as MonitorFleetResult, a7 as MonitorFleetStatus, a8 as MonitorFleetSyncOptions, a9 as MonitorFleetWaitOptions, aa as MonitorFleetsNamespace, ab as MonitorJobDeployOptions, ac as MonitorJobLogsOptions, ad as MonitorJobPhase, ae as MonitorJobReconciliationState, af as MonitorJobResult, ag as MonitorJobState, ah as MonitorJobWaitOptions, ai as MonitorJobsNamespace, aj as MonitorListEntry, ak as MonitorPayload, al as MonitorReactivateResult, am as MonitorSpec, an as MonitorState, ao as MonitorStateFilter, ap as MonitorUpdateChangeSummary, aq as MonitorUpdateResult, ar as MonitorsAccessStatus, as as MonitorsAvailableOptions, at as MonitorsAvailableResult, au as MonitorsListOptions, av as MonitorsListResult, aw as MonitorsNamespace, ax as NormalizedRunEventQuery, ay as PlayActivityObservation, az as PlayActivityState, aA as PlayActivityTarget, aB as PlayCostEstimate, aC as PlayCronTriggerConfig, aD as PlayDescriptionOptions, aE as PlayLiveEvent, aF as PlayPath, aG as PlayRunActionPackage, aH as PlayRunActivityProjection, aI as PlayRunDatasetActions, aJ as PlayRunPackage, aK as PlayRunResult, aL as PlayRunRowHistoryOptions, aM as PlayRunStart, aN as PlaySettings, aO as PlaySettingsPatch, aP as PlaySettingsPathsPage, aQ as PlaySettingsResult, aR as PlaySheetRow, aS as PlaySheetRowsResult, aT as PlayTriggerConfigUpdate, aU as PlayTriggerConfigUpdateResult, aV as PlayTriggerConfigView, aW as PlayWebhookAuthConfig, aX as PlayWebhookTriggerConfig, aY as PlaysActivityResponse, aZ as PlaysListOptions, a_ as PlaysListPage, a$ as PublishPlayVersionRequest, b0 as RerunOptions, b1 as RerunPlayRunResult, b2 as RunChildrenPage, b3 as RunEventCountResult, b4 as RunEventField, b5 as RunEventFieldDescriptor, b6 as RunEventFieldOperators, b7 as RunEventFieldsResult, b8 as RunEventGroupValue, b9 as RunEventMeasure, ba as RunEventQueryCriteria, bb as RunEventQueryEvent, bc as RunEventQueryInputError, bd as RunEventQueryOptions, be as RunEventQueryPage, bf as RunEventQueryRetention, bg as RunEventScalar, bh as RunEventSummaryOptions, bi as RunEventSummaryResult, bj as RunEventWhere, bk as RunLifecycleStatus, bl as RunToolReceiptResult, bm as RunToolReceiptsResponse, bn as RunsChildrenOptions, bo as RunsEventPayload, bp as RunsEventSearchEntry, bq as RunsEventSearchOptions, br as RunsEventSearchResult, bs as RunsEventsCountResult, bt as RunsEventsCriteria, bu as RunsEventsFieldsOptions, bv as RunsEventsListOptions, bw as RunsEventsListResult, bx as RunsEventsNamespace, by as RunsEventsSummaryOptions, bz as RunsEventsSummaryResult, bA as RunsHistoryItem, bB as RunsHistoryOptions, bC as RunsHistoryPage, bD as RunsListOptions, bE as RunsListPage, bF as RunsLogCriteria, bG as RunsLogsCountResult, bH as RunsLogsNamespace, bI as RunsLogsOptions, bJ as RunsLogsQueryOptions, bK as RunsLogsQueryResult, bL as RunsLogsResult, bM as RunsLogsSummaryOptions, bN as RunsLogsSummaryResult, bO as RunsNamespace, bP as RunsTailOptions, bQ as RunsWatchOptions, bR as SearchOptions, bS as SearchResult, bT as SearchResultItem, S as SearchType, bU as StartPlayRunRequest, bV as StopAllCandidate, bW as StopAllPlayRunsDryRunResult, bX as StopAllPlayRunsResult, bY as StopAllPlayRunsStopResult, bZ as StopAllRunsOptions, b_ as ToolCategoryListing, b$ as ToolCategorySummary, c0 as ToolExecution, c1 as ToolRequestCondition, c2 as ToolRequestWarningRule, c3 as ToolSearchOptions, c4 as ToolSearchResult, c5 as WorkspaceCreateResult, c6 as WorkspacesNamespace, c7 as defineMonitor, c8 as isStopAllPlayRunsDryRunResult, c9 as planCustomerDbQuery } from './client-C1IK1f8c.js';
|
|
6
|
+
import { b as BundledPlayFileSuccess } from './index-C8Cy-YTm.js';
|
|
7
7
|
export { BatchMonitorInput, MonitorInputIssue, MonitorSpec as MonitorInputSpec, lintMonitorBatchInput, lintMonitorSpecTemplate, renderMonitorSpecTemplate } from './monitor-input-contract.js';
|
|
8
8
|
export { AdmittedMonitorFleetAuthoringContract, MONITOR_FLEET_AUTHORING_CONTRACT_CHANGELOG, MONITOR_FLEET_AUTHORING_CONTRACT_EDITION, MONITOR_FLEET_DOCUMENTATION, MONITOR_FLEET_FRONTIER_MAX_ROWS, MONITOR_FLEET_MAX_MEMBERS, MonitorFleetAuthoringContractEdition, MonitorFleetAuthoringContractResult, MonitorFleetColumn, MonitorFleetContractIssue, MonitorFleetDefinition, MonitorFleetExpression, MonitorFleetTemplate, admitMonitorFleetAuthoringContract, defineMonitorFleet, fleetColumn, fleetKey, lintMonitorFleetInput, validateMonitorFleetDefinition } from './monitor-fleet-contract.js';
|
|
9
9
|
import '@sinclair/typebox';
|
|
10
10
|
import 'zod';
|
|
11
11
|
|
|
12
|
+
/** A dispatched HTTP write whose outcome could not be confirmed. */
|
|
13
|
+
declare class CtxFetchAmbiguousWriteError extends Error {
|
|
14
|
+
readonly method: string;
|
|
15
|
+
readonly origin: string;
|
|
16
|
+
static [Symbol.hasInstance](value: unknown): boolean;
|
|
17
|
+
readonly code: "CTX_FETCH_WRITE_OUTCOME_UNKNOWN";
|
|
18
|
+
readonly outcome: "unknown";
|
|
19
|
+
constructor(method: string, origin: string, options?: ErrorOptions);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Edition 5+ `ctx.fetch` error for a non-2xx response. Its full readable body is secret-redacted; editions 1–4 retain `PlayFetchResponse { ok: false }`.
|
|
24
|
+
*
|
|
25
|
+
* @sdkReference runtime 178 CtxFetchHttpError
|
|
26
|
+
*/
|
|
27
|
+
declare class CtxFetchHttpError extends Error {
|
|
28
|
+
readonly response: PlayAuthoringFetchResponse;
|
|
29
|
+
/**
|
|
30
|
+
* Play source and the runtime are separately bundled. Recognize the stable
|
|
31
|
+
* public error code so `instanceof` works across that boundary as well.
|
|
32
|
+
*/
|
|
33
|
+
static [Symbol.hasInstance](value: unknown): boolean;
|
|
34
|
+
/** Stable machine-readable HTTP-failure code. */
|
|
35
|
+
readonly code: "CTX_FETCH_HTTP_ERROR";
|
|
36
|
+
/** Upstream HTTP status. */
|
|
37
|
+
readonly status: number;
|
|
38
|
+
/** Upstream HTTP status text. */
|
|
39
|
+
readonly statusText: string;
|
|
40
|
+
/** Final response URL after redirects. */
|
|
41
|
+
readonly url: string;
|
|
42
|
+
/** Secret-redacted response headers. */
|
|
43
|
+
readonly headers: Record<string, string>;
|
|
44
|
+
/** Complete secret-redacted response body. */
|
|
45
|
+
readonly bodyText: string;
|
|
46
|
+
/** Eagerly parsed secret-redacted JSON, or null. */
|
|
47
|
+
readonly json: unknown | null;
|
|
48
|
+
/** Build the error from the durable response record. */
|
|
49
|
+
constructor(response: PlayAuthoringFetchResponse);
|
|
50
|
+
}
|
|
51
|
+
|
|
12
52
|
/**
|
|
13
53
|
* Read array rows out of a tool result — by selector paths, else the first
|
|
14
54
|
* declared list accessor. Companion to {@link readValue} for `extractList`.
|
|
@@ -476,9 +516,7 @@ type PlayMetadata<TInput = Record<string, unknown>> = {
|
|
|
476
516
|
compatibility?: PlayBindings<TInput>['compatibility'];
|
|
477
517
|
};
|
|
478
518
|
/**
|
|
479
|
-
*
|
|
480
|
-
*
|
|
481
|
-
* Created by {@link Deepline.connect}. Wraps a {@link DeeplineClient} with a friendlier API for common operations.
|
|
519
|
+
* SDK context with tool shortcuts and play handles, created by {@link Deepline.connect}. Wraps a {@link DeeplineClient} for common operations.
|
|
482
520
|
*
|
|
483
521
|
* @example
|
|
484
522
|
* ```typescript
|
|
@@ -1064,4 +1102,4 @@ declare function writeCsvOutputFile(rows: Array<Record<string, unknown>>, stem:
|
|
|
1064
1102
|
*/
|
|
1065
1103
|
declare function extractSummaryFields(payload: unknown): Record<string, Scalar>;
|
|
1066
1104
|
|
|
1067
|
-
export { type AsyncPlayRunRef, AuthError, BillingNamespace, ClearPlayHistoryResult, type ColumnMap, type ColumnResolver, type ConditionalStepResolver, ConfigError, type CsvInput, type CsvOptions, CustomerDbQueryOutcomeUnknownError, type DatasetBuilder, type DatasetColumnDefinition, type DatasetColumnRunInput, Deepline, DeeplineClient, DeeplineClientOptions, DeeplineContext, DeeplineError, type DeeplineExecutionsNamespace, type DeeplineNamedPlay, type DeeplinePlayRuntimeContext, type DeeplinePlaysNamespace, type DeeplineToolCallOptions, type DeeplineToolExecuteResult, type DeeplineToolsNamespace, type DefinePlayConfig, type DefinedPlay, ExecutionByKeyResult, ExecutionRecovery, type FetchOptions, type FileInput, type LocalPlayGraph, PROD_URL, type PlayAsyncCallOptions, type PlayBindings, type PlayCallExecution, type PlayCallOptions, PlayDataset, type PlayFetchResponse, type PlayInputContract, type PlayJob, PlayListItem, type PlayReferenceLike, PlayRevisionSummary, type PlayRunId, PlayStatus, type PlayStepProgramStep, type PrebuiltPlayRef, PublishPlayVersionResult, RateLimitError, ResolvedConfig, RunObserveTransportUnavailableError, type RuntimeStepOptions, SDK_API_CONTRACT, SDK_VERSION, type SqlListenerDeclaration, type SqlListenerEvent, type SqlListenerOperation, type SqlQuery, type StepOptions, type StepProgram, type StepProgramResolver, type StepResolver, StopPlayRunResult, ToolDefinition, BasicToolExecuteResult as ToolExecuteResult, ToolExecutionError, ToolExecutionErrorOptions, type ToolExecutionRequest, ToolMetadata, ToolRateLimitError, defineInput, definePlay, defineWorkflow, extractSummaryFields, getDefinedPlayMetadata, pinLocalPlayImports, planLocalPlayExecution, readList, resolveConfig, runIf, steps, tryConvertToList, writeCsvOutputFile, writeJsonOutputFile };
|
|
1105
|
+
export { type AsyncPlayRunRef, AuthError, BillingNamespace, ClearPlayHistoryResult, type ColumnMap, type ColumnResolver, type ConditionalStepResolver, ConfigError, type CsvInput, type CsvOptions, CtxFetchAmbiguousWriteError, CtxFetchHttpError, CustomerDbQueryOutcomeUnknownError, type DatasetBuilder, type DatasetColumnDefinition, type DatasetColumnRunInput, Deepline, DeeplineClient, DeeplineClientOptions, DeeplineContext, DeeplineError, type DeeplineExecutionsNamespace, type DeeplineNamedPlay, type DeeplinePlayRuntimeContext, type DeeplinePlaysNamespace, type DeeplineToolCallOptions, type DeeplineToolExecuteResult, type DeeplineToolsNamespace, type DefinePlayConfig, type DefinedPlay, ExecutionByKeyResult, ExecutionRecovery, type FetchOptions, type FileInput, type LocalPlayGraph, PROD_URL, type PlayAsyncCallOptions, type PlayBindings, type PlayCallExecution, type PlayCallOptions, PlayDataset, type PlayFetchResponse, type PlayInputContract, type PlayJob, PlayListItem, type PlayReferenceLike, PlayRevisionSummary, type PlayRunId, PlayStatus, type PlayStepProgramStep, type PrebuiltPlayRef, PublishPlayVersionResult, RateLimitError, ResolvedConfig, RunObserveTransportUnavailableError, type RuntimeStepOptions, SDK_API_CONTRACT, SDK_VERSION, type SqlListenerDeclaration, type SqlListenerEvent, type SqlListenerOperation, type SqlQuery, type StepOptions, type StepProgram, type StepProgramResolver, type StepResolver, StopPlayRunResult, ToolDefinition, BasicToolExecuteResult as ToolExecuteResult, ToolExecutionError, ToolExecutionErrorOptions, type ToolExecutionRequest, ToolMetadata, ToolRateLimitError, defineInput, definePlay, defineWorkflow, extractSummaryFields, getDefinedPlayMetadata, pinLocalPlayImports, planLocalPlayExecution, readList, resolveConfig, runIf, steps, tryConvertToList, writeCsvOutputFile, writeJsonOutputFile };
|