deepline 0.3.392 → 0.3.393
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/client.ts +156 -24
- package/dist/bundling-sources/sdk/src/compat.ts +9 -0
- package/dist/bundling-sources/sdk/src/http.ts +5 -1
- package/dist/bundling-sources/sdk/src/index.ts +5 -0
- package/dist/bundling-sources/sdk/src/plays/run-request.ts +182 -6
- package/dist/bundling-sources/sdk/src/release.ts +4 -1
- package/dist/bundling-sources/sdk/src/types.ts +13 -0
- package/dist/bundling-sources/shared_libs/integration-contracts/request-warnings.ts +64 -0
- package/dist/bundling-sources/shared_libs/play-data-plane/runtime-sheet-storage-contract.ts +315 -0
- package/dist/bundling-sources/shared_libs/play-runtime/async-operation.ts +41 -8
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +418 -44
- package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +36 -3
- package/dist/bundling-sources/shared_libs/play-runtime/durable-invocation-fence.ts +36 -0
- package/dist/bundling-sources/shared_libs/play-runtime/map-execution-frame.ts +11 -3
- package/dist/bundling-sources/shared_libs/play-runtime/play-runs/projection/gateway-adapter.ts +1 -0
- package/dist/bundling-sources/shared_libs/play-runtime/play-runtime-semantics.ts +19 -1
- package/dist/bundling-sources/shared_libs/play-runtime/run-identity.ts +26 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +158 -10
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-api.ts +235 -2
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +92 -58
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-pool.ts +7 -1
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-progress.ts +30 -7
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +1161 -316
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-event-search.ts +28 -15
- package/dist/bundling-sources/shared_libs/play-runtime/tool-execute-retry-policy.ts +24 -3
- package/dist/bundling-sources/shared_libs/play-runtime/tool-result.ts +31 -0
- package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +37 -4
- package/dist/bundling-sources/shared_libs/plays/dataset.ts +172 -79
- package/dist/bundling-sources/shared_libs/plays/static-pipeline.ts +173 -1
- package/dist/cli/{auth-6JSA2ZCW.mjs → auth-5PXHA232.mjs} +4 -4
- package/dist/cli/auth-P3MVDTXM.js +39 -0
- package/dist/cli/{billing-Q5BLQHIU.js → billing-JFB2XLSO.js} +101 -74
- package/dist/cli/{billing-MRRO643H.mjs → billing-Z2N7ZAGM.mjs} +32 -5
- package/dist/cli/{chunk-CVLM3WMJ.js → chunk-2HAD745V.js} +242 -183
- package/dist/cli/{chunk-HGYBEAQP.mjs → chunk-2LGC4EFT.mjs} +3 -3
- package/dist/cli/{chunk-A3APGZFP.mjs → chunk-4PT2VA3A.mjs} +2 -2
- package/dist/cli/{chunk-6DBOU7UH.js → chunk-4XX6443T.js} +176 -87
- package/dist/cli/{chunk-2QLML6G4.mjs → chunk-5KWKZIQR.mjs} +4 -4
- package/dist/cli/{chunk-2G7DXFHI.mjs → chunk-5PRVMXKB.mjs} +27 -2
- package/dist/cli/{chunk-DSWSEHRX.mjs → chunk-6I73X254.mjs} +1 -1
- package/dist/cli/{chunk-ZTACINO5.mjs → chunk-7HR7BGZL.mjs} +13 -3
- package/dist/cli/{chunk-BB3FNYFY.js → chunk-AARX5L4B.js} +2 -2
- package/dist/cli/{chunk-WMS5U6YB.js → chunk-CDFH2DYL.js} +20 -19
- package/dist/cli/{chunk-R3O2CZ4H.mjs → chunk-FQ6VHPW4.mjs} +2 -2
- package/dist/cli/{chunk-MU6M3URX.mjs → chunk-HLEESTCH.mjs} +1 -1
- package/dist/cli/{chunk-Q6EOHNRH.mjs → chunk-JI2B4RZP.mjs} +119 -6
- package/dist/cli/{chunk-2Q3GEFL4.mjs → chunk-KIYU2TGL.mjs} +2 -2
- package/dist/cli/{chunk-Y6VOGHF2.mjs → chunk-KZZC33PY.mjs} +0 -181
- package/dist/cli/{chunk-UCKJQG25.js → chunk-L2SYLGRP.js} +8 -8
- package/dist/cli/{chunk-2GAHHSLB.mjs → chunk-LMMEAMA7.mjs} +3 -2
- package/dist/cli/{chunk-YAZCDBXX.mjs → chunk-LZPCDB7U.mjs} +3 -2
- package/dist/cli/{chunk-RV6ALZIX.js → chunk-M7Y7JYZX.js} +32 -7
- package/dist/cli/{chunk-QGKPTBRR.js → chunk-MS6GUPBB.js} +3 -3
- package/dist/cli/{chunk-4SFPVW7A.js → chunk-OXNOAD6Y.js} +26 -26
- package/dist/cli/{chunk-JOFPQGXW.js → chunk-PTDECJGP.js} +50 -50
- package/dist/cli/{chunk-5O4B6AUN.js → chunk-PWSWAN7Q.js} +25 -2
- package/dist/cli/{chunk-YN6YA7ZZ.mjs → chunk-Q26LUSQ2.mjs} +79 -20
- package/dist/cli/{chunk-3VN4FTE3.js → chunk-RDXFGPJU.js} +1 -182
- package/dist/cli/{chunk-7E66A24V.mjs → chunk-RKMB3N7K.mjs} +25 -2
- package/dist/cli/{chunk-JSLPHFP7.js → chunk-RWHWF5ZJ.js} +3 -2
- package/dist/cli/{chunk-3FV4GBRK.mjs → chunk-STNYIMIV.mjs} +97 -8
- package/dist/cli/chunk-UBKA33KY.mjs +310 -0
- package/dist/cli/{chunk-PAIMOGCM.js → chunk-UHNDVD3P.js} +125 -12
- package/dist/cli/{chunk-24VEN5PQ.mjs → chunk-UOGZUA24.mjs} +179 -17
- package/dist/cli/{chunk-T7OKJ2T6.js → chunk-VIQJIX2P.js} +73 -63
- package/dist/cli/{chunk-RIV2GS5E.js → chunk-VIWE6WRK.js} +627 -465
- package/dist/cli/{chunk-EY7RFC6A.js → chunk-W4WOMXR3.js} +15 -15
- package/dist/cli/chunk-XDVT3GOM.js +310 -0
- package/dist/cli/{chunk-2FQG2HU4.js → chunk-Z3OOZM5L.js} +8 -8
- package/dist/cli/{csv-E4QGUIGI.mjs → csv-KJWZHKCH.mjs} +3 -3
- package/dist/cli/{csv-26U5T24Z.js → csv-P3Z3YE7H.js} +12 -12
- package/dist/cli/{db-JTRJIAQW.mjs → db-NCM4CQIS.mjs} +6 -5
- package/dist/cli/{db-QHBFLMVL.js → db-NUZGJNQC.js} +31 -30
- package/dist/cli/{describe-E3DE3ZK3.mjs → describe-WT6MM2GO.mjs} +17 -16
- package/dist/cli/{describe-FDV2V74F.js → describe-YGSEN5WC.js} +24 -23
- package/dist/cli/{executions-VZYOGVQY.js → executions-PCOLHN7Q.js} +8 -7
- package/dist/cli/{executions-B3GTNPRE.mjs → executions-XS2IPJ4W.mjs} +6 -5
- package/dist/cli/{feedback-CR55FJA2.js → feedback-4MSH7TFU.js} +7 -7
- package/dist/cli/{feedback-4CEBR3OV.mjs → feedback-CCLTS5SV.mjs} +3 -3
- package/dist/cli/{git-NM2PHHZ4.mjs → git-K2DHPMPC.mjs} +4 -4
- package/dist/cli/git-RNM45FX4.js +23 -0
- package/dist/cli/index.js +96 -92
- package/dist/cli/index.mjs +46 -42
- package/dist/cli/{legacy-noops-A7MSW5ND.mjs → legacy-noops-B5S4AR3P.mjs} +4 -4
- package/dist/cli/{legacy-noops-ZUA4YFIH.js → legacy-noops-GPNOPFXV.js} +7 -7
- package/dist/cli/{monitors-NVPRQYP3.mjs → monitors-JLMAIPRG.mjs} +6 -5
- package/dist/cli/{monitors-ZE3TLZ4H.js → monitors-ZAWD7NSN.js} +87 -86
- package/dist/cli/{org-U7A6DV5D.js → org-P2KN4CES.js} +66 -65
- package/dist/cli/{org-KUBILNQV.mjs → org-T3JTHP4G.mjs} +6 -5
- package/dist/cli/{play-HRDXQ4QE.mjs → play-NK6BLRGL.mjs} +11 -10
- package/dist/cli/play-PDXR6JFB.js +158 -0
- package/dist/cli/{providers-OHIWI453.mjs → providers-3NQRA7IT.mjs} +6 -5
- package/dist/cli/{providers-VD6YTVQZ.js → providers-5QRZN3DT.js} +9 -8
- package/dist/cli/{quickstart-UBV2FONF.mjs → quickstart-PIA2JGPV.mjs} +3 -3
- package/dist/cli/{quickstart-ETTCWPA4.js → quickstart-R7NUZGNW.js} +5 -5
- package/dist/cli/run-identity-G257GQED.js +25 -0
- package/dist/cli/run-identity-MRNCEGV2.mjs +25 -0
- package/dist/cli/{search-F44IZRT7.mjs → search-AIDIIGLY.mjs} +7 -6
- package/dist/cli/search-QRWL7MFM.js +27 -0
- package/dist/cli/{secrets-CAEMRORF.js → secrets-BT3PGMWN.js} +15 -14
- package/dist/cli/{secrets-R6XOJZKU.mjs → secrets-OQNHL45O.mjs} +6 -5
- package/dist/cli/{sessions-6GC7OFTT.js → sessions-EYXWOSWK.js} +5 -5
- package/dist/cli/{sessions-RLN6UQS3.mjs → sessions-SF7WJPJP.mjs} +4 -4
- package/dist/cli/{settings-DPNVUAV2.js → settings-BA3GHBOD.js} +76 -75
- package/dist/cli/{settings-KIPAMRPP.mjs → settings-Y57JTFDD.mjs} +9 -8
- package/dist/cli/{setup-TU2F7PU5.mjs → setup-7GR5GBHA.mjs} +6 -6
- package/dist/cli/{setup-DTL3L5SG.js → setup-RERXYC66.js} +41 -41
- package/dist/cli/{skills-UV5MYJ46.mjs → skills-SJWIQAV5.mjs} +4 -4
- package/dist/cli/skills-V7EY75HB.js +28 -0
- package/dist/cli/tools-H5HLBCHH.js +41 -0
- package/dist/cli/{tools-QRRNDCQ7.mjs → tools-ZF3JXPNL.mjs} +10 -9
- package/dist/cli/update-472HA3LT.js +28 -0
- package/dist/cli/{update-4426TF35.mjs → update-FFFYQAOJ.mjs} +6 -6
- package/dist/cli/{workflow-HNLOVISB.js → workflow-SZJVQH4T.js} +17 -16
- package/dist/cli/{workflow-N4U5VLZ3.mjs → workflow-XVFEEGAS.mjs} +7 -6
- package/dist/{client-e6Qh5ZIg.d.mts → client-DU5dtHDy.d.mts} +153 -4
- package/dist/{client-Uxuy-xQ2.d.ts → client-mCE88hC4.d.ts} +153 -4
- package/dist/{compiler-manifest-CY2v8ab0.d.ts → compiler-manifest-DE4RdAiY.d.mts} +61 -1
- package/dist/{compiler-manifest-CY2v8ab0.d.mts → compiler-manifest-DE4RdAiY.d.ts} +61 -1
- package/dist/{index-B9fBZH1g.d.mts → index-BI6nWgaV.d.mts} +1 -1
- package/dist/{index-BZ6uzZJl.d.ts → index-Bi-f7HFT.d.ts} +1 -1
- package/dist/index.d.mts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +120 -29
- package/dist/index.mjs +111 -20
- package/dist/install-integrity.json +91 -86
- 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 +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 +5 -2
- package/dist/plays/run-request.mjs +4 -1
- package/dist/release.d.mts +4 -1
- package/dist/release.d.ts +4 -1
- package/dist/release.js +2 -2
- package/dist/release.mjs +1 -1
- package/package.json +1 -1
- package/dist/cli/auth-67TAELQL.js +0 -39
- package/dist/cli/git-I5JTK6YU.js +0 -23
- package/dist/cli/play-A2V7YDU7.js +0 -157
- package/dist/cli/search-WWXMBVPH.js +0 -26
- package/dist/cli/skills-SWOSEZLB.js +0 -28
- package/dist/cli/tools-IL2YCDQ6.js +0 -40
- package/dist/cli/update-BERDPEYR.js +0 -28
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference path="./text-imports.d.ts" />
|
|
2
|
-
import { g as PlayCompilerManifest, ak as ToolResultBilling, Y as BillingEntitlements } from './compiler-manifest-
|
|
2
|
+
import { g as PlayCompilerManifest, ak as ToolResultBilling, Y as BillingEntitlements } from './compiler-manifest-DE4RdAiY.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { MonitorFleetDefinition } from './monitor-fleet-contract.mjs';
|
|
5
5
|
|
|
@@ -308,6 +308,30 @@ type FixtureBehaviorV3 = {
|
|
|
308
308
|
};
|
|
309
309
|
type FixtureBehavior = FixtureBehaviorV1 | FixtureBehaviorV2 | FixtureBehaviorV3;
|
|
310
310
|
|
|
311
|
+
/** Declarative request predicates authored by the server, with no provider knowledge in clients. */
|
|
312
|
+
type ToolRequestCondition = {
|
|
313
|
+
field: string;
|
|
314
|
+
operator: 'equals';
|
|
315
|
+
value: string | number | boolean | null;
|
|
316
|
+
} | {
|
|
317
|
+
field: string;
|
|
318
|
+
operator: 'number_equals';
|
|
319
|
+
value: number;
|
|
320
|
+
} | {
|
|
321
|
+
field: string;
|
|
322
|
+
operator: 'present_nonblank';
|
|
323
|
+
} | {
|
|
324
|
+
all: readonly ToolRequestCondition[];
|
|
325
|
+
} | {
|
|
326
|
+
any: readonly ToolRequestCondition[];
|
|
327
|
+
};
|
|
328
|
+
type ToolRequestWarningRule = {
|
|
329
|
+
code: string;
|
|
330
|
+
/** Customer-safe Deepline billing guidance; never upstream spend. */
|
|
331
|
+
message: string;
|
|
332
|
+
when: ToolRequestCondition;
|
|
333
|
+
};
|
|
334
|
+
|
|
311
335
|
type PlayGrepMatch = {
|
|
312
336
|
field: 'name' | 'description' | 'provider' | 'source';
|
|
313
337
|
terms: string[];
|
|
@@ -1710,6 +1734,8 @@ interface ToolDefinition extends ToolExecutionMetadataFields {
|
|
|
1710
1734
|
message: string;
|
|
1711
1735
|
execution?: 'terminal' | 'forward';
|
|
1712
1736
|
};
|
|
1737
|
+
/** Ordered server-authored request warnings. The CLI prints the first match before dispatch. */
|
|
1738
|
+
requestWarnings?: readonly ToolRequestWarningRule[];
|
|
1713
1739
|
/**
|
|
1714
1740
|
* Connection status for discovery: `managed` (Deepline-run credentials),
|
|
1715
1741
|
* `connected` (your own credential is connected), or `requires_connection`
|
|
@@ -3344,6 +3370,12 @@ interface PlayCheckToolGetterHint {
|
|
|
3344
3370
|
* ```
|
|
3345
3371
|
*/
|
|
3346
3372
|
interface StartPlayRunRequest {
|
|
3373
|
+
/** Tenant pin supplied by admission capability discovery; recovery must preserve it. */
|
|
3374
|
+
admissionOrgId?: string;
|
|
3375
|
+
/** Caller-owned canonical run ID. Reuse it to reconcile or replay an ambiguous start. */
|
|
3376
|
+
workflowId?: string;
|
|
3377
|
+
/** Strict total Deepline spend ceiling, including compute. Unbounded workloads are refused before admission. */
|
|
3378
|
+
maxTotalCredits?: number;
|
|
3347
3379
|
/** Play name for registered revisions. */
|
|
3348
3380
|
name?: string;
|
|
3349
3381
|
/** Explicit revision ID when the caller wants a specific saved version. */
|
|
@@ -3924,6 +3956,34 @@ interface PlayStagedFileRef {
|
|
|
3924
3956
|
bytes: number;
|
|
3925
3957
|
}
|
|
3926
3958
|
|
|
3959
|
+
type RuntimeSheetRunRowMembership = {
|
|
3960
|
+
runId: string;
|
|
3961
|
+
datasetId: string;
|
|
3962
|
+
rowKey: string;
|
|
3963
|
+
phase: 'admitted' | 'terminal';
|
|
3964
|
+
/** Durable terminal row version distinguishes repair within an attempt. */
|
|
3965
|
+
generation: string;
|
|
3966
|
+
attemptSeq: number | null;
|
|
3967
|
+
rowVersion: number | null;
|
|
3968
|
+
inputIndex: number | null;
|
|
3969
|
+
inputDigest: string;
|
|
3970
|
+
status: 'pending' | 'enriched' | 'failed' | 'cancelled';
|
|
3971
|
+
data: Record<string, unknown>;
|
|
3972
|
+
source: Record<string, unknown>;
|
|
3973
|
+
recordedAt: string;
|
|
3974
|
+
};
|
|
3975
|
+
type RuntimeSheetRunRowMembershipPage = {
|
|
3976
|
+
entries: RuntimeSheetRunRowMembership[];
|
|
3977
|
+
nextCursor: string | null;
|
|
3978
|
+
coverage: {
|
|
3979
|
+
complete: boolean;
|
|
3980
|
+
expectedRows: number | null;
|
|
3981
|
+
captureStartedAt: string | null;
|
|
3982
|
+
captureCompletedAt: string | null;
|
|
3983
|
+
reason: 'storage_not_expanded' | 'legacy_or_capture_not_enabled' | 'capture_in_progress' | 'complete';
|
|
3984
|
+
};
|
|
3985
|
+
};
|
|
3986
|
+
|
|
3927
3987
|
/**
|
|
3928
3988
|
* The one client-side construction of a Play run start.
|
|
3929
3989
|
*
|
|
@@ -3954,6 +4014,7 @@ declare const PLAY_FILES_STAGE_MINT_PATH = "/api/v2/plays/files/stage/mint";
|
|
|
3954
4014
|
* responses so the staging fallbacks below classify failures identically.
|
|
3955
4015
|
*/
|
|
3956
4016
|
interface PlayRunHttp {
|
|
4017
|
+
get?<T = unknown>(path: string): Promise<T>;
|
|
3957
4018
|
post<T = unknown>(path: string, body: unknown, headers?: Record<string, string>, options?: {
|
|
3958
4019
|
maxRetries?: number;
|
|
3959
4020
|
exactUrlOnly?: boolean;
|
|
@@ -3976,7 +4037,20 @@ declare function buildPlayRunStartBody(request: ResolvedStartPlayRunRequest): Re
|
|
|
3976
4037
|
* or times out, and retrying without an idempotency key can create a second
|
|
3977
4038
|
* root run, so callers resolve ambiguous failures explicitly.
|
|
3978
4039
|
*/
|
|
3979
|
-
declare function
|
|
4040
|
+
declare function preparePlayRunAdmission(http: PlayRunHttp, request: ResolvedStartPlayRunRequest, onSubmission?: (intent: {
|
|
4041
|
+
workflowId: string;
|
|
4042
|
+
orgId: string;
|
|
4043
|
+
request: Record<string, unknown>;
|
|
4044
|
+
}) => void | Promise<void>): Promise<{
|
|
4045
|
+
body: Record<string, unknown>;
|
|
4046
|
+
workflowId?: string;
|
|
4047
|
+
supportsCallerIntent: boolean;
|
|
4048
|
+
}>;
|
|
4049
|
+
declare function startPlayRun(http: PlayRunHttp, request: ResolvedStartPlayRunRequest, headers?: Record<string, string>, onSubmission?: (intent: {
|
|
4050
|
+
workflowId: string;
|
|
4051
|
+
orgId: string;
|
|
4052
|
+
request: Record<string, unknown>;
|
|
4053
|
+
}) => void | Promise<void>): Promise<PlayRunStart>;
|
|
3980
4054
|
declare function isPlayRunPackage(value: unknown): value is PlayRunPackage;
|
|
3981
4055
|
/** Normalize any run-start response shape to `{ workflowId, … }`. */
|
|
3982
4056
|
declare function normalizePlayRunStart(raw: Record<string, unknown>): PlayRunStart;
|
|
@@ -4644,6 +4718,13 @@ type PlaySheetRowsResult = {
|
|
|
4644
4718
|
customerDbUrl?: string;
|
|
4645
4719
|
deltaCursor?: number;
|
|
4646
4720
|
};
|
|
4721
|
+
type PlayRunRowHistoryOptions = {
|
|
4722
|
+
playName: string;
|
|
4723
|
+
runId: string;
|
|
4724
|
+
tableNamespace: string;
|
|
4725
|
+
limit?: number;
|
|
4726
|
+
cursor?: string;
|
|
4727
|
+
};
|
|
4647
4728
|
type PlaySecretMetadata = {
|
|
4648
4729
|
_id: string;
|
|
4649
4730
|
orgId: string;
|
|
@@ -4720,6 +4801,8 @@ type RunsNamespace = {
|
|
|
4720
4801
|
/** Cancel the page request, including its response body and retry waits. */
|
|
4721
4802
|
signal?: AbortSignal;
|
|
4722
4803
|
}) => Promise<PlaySheetRowsResult>;
|
|
4804
|
+
/** One immutable history page; incomplete legacy coverage stays explicit. */
|
|
4805
|
+
rowHistory: (input: PlayRunRowHistoryOptions) => Promise<RuntimeSheetRunRowMembershipPage>;
|
|
4723
4806
|
/** Stop a running/waiting run. */
|
|
4724
4807
|
stop: (runId: string, options?: {
|
|
4725
4808
|
reason?: string;
|
|
@@ -5922,6 +6005,8 @@ type BillingUsageResult = {
|
|
|
5922
6005
|
* @sdkReference client 030 client.billing
|
|
5923
6006
|
*/
|
|
5924
6007
|
type BillingNamespace = {
|
|
6008
|
+
/** Read a bounded sandbox-session estimate; excludes tools and Customer DB. */
|
|
6009
|
+
quote: (input: BillingQuoteRequest) => Promise<BillingQuoteResult>;
|
|
5925
6010
|
/** Current workspace provider benefits; discovery does not authorize a call. */
|
|
5926
6011
|
entitlements: () => Promise<BillingEntitlements>;
|
|
5927
6012
|
/** Charge the saved payment method and add Deepline credits to the active workspace. */
|
|
@@ -5994,6 +6079,31 @@ type BillingNamespace = {
|
|
|
5994
6079
|
url: string;
|
|
5995
6080
|
}>;
|
|
5996
6081
|
};
|
|
6082
|
+
type BillingQuoteRequest = {
|
|
6083
|
+
quantity: number;
|
|
6084
|
+
sandbox_runtime: {
|
|
6085
|
+
timeout?: string;
|
|
6086
|
+
size?: 'standard';
|
|
6087
|
+
};
|
|
6088
|
+
};
|
|
6089
|
+
type BillingQuoteResult = {
|
|
6090
|
+
scope: 'sandbox_session';
|
|
6091
|
+
quantity: number;
|
|
6092
|
+
resources: {
|
|
6093
|
+
timeoutSeconds: number;
|
|
6094
|
+
memoryGiB: number;
|
|
6095
|
+
cpu: number;
|
|
6096
|
+
diskGiB: number;
|
|
6097
|
+
};
|
|
6098
|
+
maximum_credits: number;
|
|
6099
|
+
maximum_billing_seconds: number;
|
|
6100
|
+
total_play_credits: null;
|
|
6101
|
+
total_budget_supported: false;
|
|
6102
|
+
unbounded_components: string[];
|
|
6103
|
+
explanation: string;
|
|
6104
|
+
plan_version_id: string;
|
|
6105
|
+
rate_card_id: string;
|
|
6106
|
+
};
|
|
5997
6107
|
/**
|
|
5998
6108
|
* Low-level typed REST client with authentication, retries, and localhost failover.
|
|
5999
6109
|
*
|
|
@@ -6228,7 +6338,31 @@ declare class DeeplineClient {
|
|
|
6228
6338
|
* });
|
|
6229
6339
|
* ```
|
|
6230
6340
|
*/
|
|
6231
|
-
startPlayRun(request: StartPlayRunRequest
|
|
6341
|
+
startPlayRun(request: StartPlayRunRequest, options?: {
|
|
6342
|
+
onSubmission?: (intent: {
|
|
6343
|
+
workflowId: string;
|
|
6344
|
+
orgId: string;
|
|
6345
|
+
request: Record<string, unknown>;
|
|
6346
|
+
}) => void | Promise<void>;
|
|
6347
|
+
}): Promise<PlayRunStart>;
|
|
6348
|
+
/**
|
|
6349
|
+
* Prepare a tenant-scoped start intent without executing it. Its stream
|
|
6350
|
+
* sender retains the exact body and transport selected during preparation.
|
|
6351
|
+
*/
|
|
6352
|
+
preparePlayRunAdmission(request: StartPlayRunRequest, options?: {
|
|
6353
|
+
onSubmission?: (intent: {
|
|
6354
|
+
workflowId: string;
|
|
6355
|
+
orgId: string;
|
|
6356
|
+
request: Record<string, unknown>;
|
|
6357
|
+
}) => void | Promise<void>;
|
|
6358
|
+
}): Promise<{
|
|
6359
|
+
startStream(streamOptions?: {
|
|
6360
|
+
signal?: AbortSignal;
|
|
6361
|
+
}): AsyncGenerator<PlayLiveEvent, void, unknown>;
|
|
6362
|
+
body: Record<string, unknown>;
|
|
6363
|
+
workflowId?: string;
|
|
6364
|
+
supportsCallerIntent: boolean;
|
|
6365
|
+
}>;
|
|
6232
6366
|
/**
|
|
6233
6367
|
* Submit a play run through the legacy event response.
|
|
6234
6368
|
*
|
|
@@ -6244,6 +6378,11 @@ declare class DeeplineClient {
|
|
|
6244
6378
|
*/
|
|
6245
6379
|
startPlayRunStream(request: StartPlayRunRequest, options?: {
|
|
6246
6380
|
signal?: AbortSignal;
|
|
6381
|
+
onSubmission?: (intent: {
|
|
6382
|
+
workflowId: string;
|
|
6383
|
+
orgId: string;
|
|
6384
|
+
request: Record<string, unknown>;
|
|
6385
|
+
}) => void | Promise<void>;
|
|
6247
6386
|
}): AsyncGenerator<PlayLiveEvent>;
|
|
6248
6387
|
/**
|
|
6249
6388
|
* Register a bundled play artifact.
|
|
@@ -6719,6 +6858,11 @@ declare class DeeplineClient {
|
|
|
6719
6858
|
private assertRunLogQueryRunId;
|
|
6720
6859
|
/** Read structured history across the active organization without requiring a run ID. Defaults to the last hour, newest first; use the returned cursor and exact time bounds to continue. See [run logs and events](run-events.md) for all kinds, indexed fields, payloads and SDK/API response types. */
|
|
6721
6860
|
searchRunEvents(options?: RunsEventSearchOptions): Promise<RunsEventSearchResult>;
|
|
6861
|
+
/**
|
|
6862
|
+
* Read one page of immutable admitted and terminal rows for a Play Run dataset.
|
|
6863
|
+
* Follow nextCursor; coverage explicitly identifies unavailable or incomplete history.
|
|
6864
|
+
*/
|
|
6865
|
+
getPlayRunRowHistory(input: PlayRunRowHistoryOptions): Promise<RuntimeSheetRunRowMembershipPage>;
|
|
6722
6866
|
/**
|
|
6723
6867
|
* Export persisted runtime-sheet rows for a play dataset/table namespace.
|
|
6724
6868
|
*
|
|
@@ -6803,6 +6947,11 @@ declare class DeeplineClient {
|
|
|
6803
6947
|
}>;
|
|
6804
6948
|
/** Read product-notification destinations, subscriptions, event catalog, and DLQ health. */
|
|
6805
6949
|
getNotificationSettings(): Promise<ProductNotificationSettings>;
|
|
6950
|
+
/** Save provider-owned credential fields without starting an OAuth browser flow. */
|
|
6951
|
+
setIntegrationCredentials(provider: string, credentials: Record<string, string>): Promise<{
|
|
6952
|
+
ok: boolean;
|
|
6953
|
+
credential_saved?: boolean;
|
|
6954
|
+
}>;
|
|
6806
6955
|
/** Start the Slack OAuth flow required by product notifications. */
|
|
6807
6956
|
connectNotificationSlack(options?: {
|
|
6808
6957
|
successUrl?: string;
|
|
@@ -7348,4 +7497,4 @@ declare class DeeplineClient {
|
|
|
7348
7497
|
}>;
|
|
7349
7498
|
}
|
|
7350
7499
|
|
|
7351
|
-
export { type
|
|
7500
|
+
export { type MonitorDetail as $, type CreateNotificationGroupResult as A, type BillingNamespace as B, type ClearPlayHistoryResult as C, type DeeplineClientOptions as D, type ExecuteToolRawOptions as E, type CustomerDbQueryOptions as F, type CustomerDbQueryPlan as G, type CustomerDbQueryResult as H, DEEPLINE_TOOL_CATEGORIES as I, type DbNamespace as J, type DeeplineToolCategory as K, type IngestionStorageRepairResult as L, type LegacyMonitorStatusFilter as M, type LiveEventEnvelope as N, MONITOR_JOB_PHASES as O, type PlayListItem as P, MONITOR_JOB_RECONCILIATION_STATES as Q, type ResolvedConfig as R, type StopPlayRunResult as S, type ToolDefinition as T, MONITOR_JOB_STATES as U, type MonitorBatchNamespace as V, type MonitorCheckResult as W, type MonitorDefinition as X, type MonitorDeleteResult as Y, type MonitorDependents as Z, type MonitorDeployResult as _, type ToolMetadata as a, type RunEventCountResult as a$, type MonitorFleetDeactivateOptions as a0, type MonitorFleetGetOptions as a1, type MonitorFleetReactivateOptions as a2, type MonitorFleetResult as a3, type MonitorFleetStatus as a4, type MonitorFleetSyncOptions as a5, type MonitorFleetWaitOptions as a6, type MonitorFleetsNamespace as a7, type MonitorJobDeployOptions as a8, type MonitorJobLogsOptions as a9, type PlayLiveEvent as aA, type PlayPath as aB, type PlayRunActionPackage as aC, type PlayRunActivityProjection as aD, type PlayRunDatasetActions as aE, type PlayRunPackage as aF, type PlayRunResult as aG, type PlayRunRowHistoryOptions as aH, type PlayRunStart as aI, type PlaySettings as aJ, type PlaySettingsPatch as aK, type PlaySettingsPathsPage as aL, type PlaySettingsResult as aM, type PlaySheetRow as aN, type PlaySheetRowsResult as aO, type PlayTriggerConfigUpdate as aP, type PlayTriggerConfigUpdateResult as aQ, type PlayTriggerConfigView as aR, type PlayWebhookAuthConfig as aS, type PlayWebhookTriggerConfig as aT, type PlaysActivityResponse as aU, type PlaysListOptions as aV, type PlaysListPage as aW, type PublishPlayVersionRequest as aX, type RerunOptions as aY, type RerunPlayRunResult as aZ, type RunChildrenPage as a_, type MonitorJobPhase as aa, type MonitorJobReconciliationState as ab, type MonitorJobResult as ac, type MonitorJobState as ad, type MonitorJobWaitOptions as ae, type MonitorJobsNamespace as af, type MonitorListEntry as ag, type MonitorPayload as ah, type MonitorReactivateResult as ai, type MonitorSpec as aj, type MonitorState as ak, type MonitorStateFilter as al, type MonitorUpdateChangeSummary as am, type MonitorUpdateResult as an, type MonitorsAccessStatus as ao, type MonitorsAvailableOptions as ap, type MonitorsAvailableResult as aq, type MonitorsListOptions as ar, type MonitorsListResult as as, type MonitorsNamespace as at, type NormalizedRunEventQuery as au, type PlayActivityObservation as av, type PlayActivityState as aw, type PlayActivityTarget as ax, type PlayCostEstimate as ay, type PlayCronTriggerConfig as az, type ExecutionRecovery as b, type ToolSearchResult as b$, type RunEventField as b0, type RunEventFieldDescriptor as b1, type RunEventFieldOperators as b2, type RunEventFieldsResult as b3, type RunEventGroupValue as b4, type RunEventMeasure as b5, type RunEventQueryCriteria as b6, type RunEventQueryEvent as b7, RunEventQueryInputError as b8, type RunEventQueryOptions as b9, type RunsListPage as bA, type RunsLogCriteria as bB, type RunsLogsCountResult as bC, type RunsLogsNamespace as bD, type RunsLogsOptions as bE, type RunsLogsQueryOptions as bF, type RunsLogsQueryResult as bG, type RunsLogsResult as bH, type RunsLogsSummaryOptions as bI, type RunsLogsSummaryResult as bJ, type RunsNamespace as bK, type RunsTailOptions as bL, type RunsWatchOptions as bM, type SearchOptions as bN, type SearchResult as bO, type SearchResultItem as bP, type SearchType as bQ, type StartPlayRunRequest as bR, type StopAllCandidate as bS, type StopAllPlayRunsDryRunResult as bT, type StopAllPlayRunsResult as bU, type StopAllPlayRunsStopResult as bV, type StopAllRunsOptions as bW, type ToolExecution as bX, type ToolRequestCondition as bY, type ToolRequestWarningRule as bZ, type ToolSearchOptions as b_, type RunEventQueryPage as ba, type RunEventQueryRetention as bb, type RunEventScalar as bc, type RunEventSummaryOptions as bd, type RunEventSummaryResult as be, type RunEventWhere as bf, type RunLifecycleStatus as bg, type RunToolReceiptResult as bh, type RunToolReceiptsResponse as bi, type RunsChildrenOptions as bj, type RunsEventPayload as bk, type RunsEventSearchEntry as bl, type RunsEventSearchOptions as bm, type RunsEventSearchResult as bn, type RunsEventsCountResult as bo, type RunsEventsCriteria as bp, type RunsEventsFieldsOptions as bq, type RunsEventsListOptions as br, type RunsEventsListResult as bs, type RunsEventsNamespace as bt, type RunsEventsSummaryOptions as bu, type RunsEventsSummaryResult as bv, type RunsHistoryItem as bw, type RunsHistoryOptions as bx, type RunsHistoryPage as by, type RunsListOptions as bz, type ExecutionByKeyResult as c, type WorkspaceCreateResult as c0, type WorkspacesNamespace as c1, defineMonitor as c2, isStopAllPlayRunsDryRunResult as c3, planCustomerDbQuery as c4, CSV_DATA_INPUT_KEY as c5, type FileInputBinding as c6, type LocalFileInput as c7, type MintStagedFileUpload as c8, PLAY_FILES_STAGE_MINT_PATH as c9, webStagedFileCodec as cA, PLAY_FILES_STAGE_PATH as ca, PLAY_RUN_START_PATH as cb, PLAY_RUN_START_STREAM_PATH as cc, type PlayRunHttp as cd, type ResolvedStartPlayRunRequest as ce, STAGE_LEGACY_MULTIPART_MAX_BYTES as cf, type StagedFileCodec as cg, type StagedFileInputs as ch, type StagedFileUpload as ci, buildNamedPlayRunRequest as cj, buildPlayRunStartBody as ck, createSessionPlayRunHttp as cl, createStagedFileUpload as cm, fileInputBindingsFromPlaySchema as cn, fileInputBindingsFromStaticPipeline as co, getDottedInputValue as cp, isPlayRunPackage as cq, mintStagedPlayFileUploads as cr, normalizePlayRunStart as cs, playRunFileInputBindings as ct, preparePlayRunAdmission as cu, setDottedInputValue as cv, stageFileInputs as cw, stagePlayFiles as cx, stagedFileContentType as cy, startPlayRun as cz, type PlayDetail as d, type PlayRunListItem as e, type PlayRevisionSummary as f, type PublishPlayVersionResult as g, type PlayStatus as h, DeeplineClient as i, type BillingCreditPool as j, type BillingInvoiceEntry as k, type BillingInvoicesResult as l, type BillingPaymentMethodSummary as m, type BillingQuoteRequest as n, type BillingQuoteResult as o, type BillingRecentUsageEntry as p, type BillingSubscriptionCancelResult as q, type BillingSubscriptionStatus as r, type BillingTopUpReceipt as s, type BillingTopUpResult as t, type BillingUsageEvent as u, type BillingUsageOptions as v, type BillingUsageResult as w, type ChildRunSummary as x, type ClearPlayHistoryRequest as y, type CreateNotificationGroupInput as z };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference path="./text-imports.d.ts" />
|
|
2
|
-
import { g as PlayCompilerManifest, ak as ToolResultBilling, Y as BillingEntitlements } from './compiler-manifest-
|
|
2
|
+
import { g as PlayCompilerManifest, ak as ToolResultBilling, Y as BillingEntitlements } from './compiler-manifest-DE4RdAiY.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { MonitorFleetDefinition } from './monitor-fleet-contract.js';
|
|
5
5
|
|
|
@@ -308,6 +308,30 @@ type FixtureBehaviorV3 = {
|
|
|
308
308
|
};
|
|
309
309
|
type FixtureBehavior = FixtureBehaviorV1 | FixtureBehaviorV2 | FixtureBehaviorV3;
|
|
310
310
|
|
|
311
|
+
/** Declarative request predicates authored by the server, with no provider knowledge in clients. */
|
|
312
|
+
type ToolRequestCondition = {
|
|
313
|
+
field: string;
|
|
314
|
+
operator: 'equals';
|
|
315
|
+
value: string | number | boolean | null;
|
|
316
|
+
} | {
|
|
317
|
+
field: string;
|
|
318
|
+
operator: 'number_equals';
|
|
319
|
+
value: number;
|
|
320
|
+
} | {
|
|
321
|
+
field: string;
|
|
322
|
+
operator: 'present_nonblank';
|
|
323
|
+
} | {
|
|
324
|
+
all: readonly ToolRequestCondition[];
|
|
325
|
+
} | {
|
|
326
|
+
any: readonly ToolRequestCondition[];
|
|
327
|
+
};
|
|
328
|
+
type ToolRequestWarningRule = {
|
|
329
|
+
code: string;
|
|
330
|
+
/** Customer-safe Deepline billing guidance; never upstream spend. */
|
|
331
|
+
message: string;
|
|
332
|
+
when: ToolRequestCondition;
|
|
333
|
+
};
|
|
334
|
+
|
|
311
335
|
type PlayGrepMatch = {
|
|
312
336
|
field: 'name' | 'description' | 'provider' | 'source';
|
|
313
337
|
terms: string[];
|
|
@@ -1710,6 +1734,8 @@ interface ToolDefinition extends ToolExecutionMetadataFields {
|
|
|
1710
1734
|
message: string;
|
|
1711
1735
|
execution?: 'terminal' | 'forward';
|
|
1712
1736
|
};
|
|
1737
|
+
/** Ordered server-authored request warnings. The CLI prints the first match before dispatch. */
|
|
1738
|
+
requestWarnings?: readonly ToolRequestWarningRule[];
|
|
1713
1739
|
/**
|
|
1714
1740
|
* Connection status for discovery: `managed` (Deepline-run credentials),
|
|
1715
1741
|
* `connected` (your own credential is connected), or `requires_connection`
|
|
@@ -3344,6 +3370,12 @@ interface PlayCheckToolGetterHint {
|
|
|
3344
3370
|
* ```
|
|
3345
3371
|
*/
|
|
3346
3372
|
interface StartPlayRunRequest {
|
|
3373
|
+
/** Tenant pin supplied by admission capability discovery; recovery must preserve it. */
|
|
3374
|
+
admissionOrgId?: string;
|
|
3375
|
+
/** Caller-owned canonical run ID. Reuse it to reconcile or replay an ambiguous start. */
|
|
3376
|
+
workflowId?: string;
|
|
3377
|
+
/** Strict total Deepline spend ceiling, including compute. Unbounded workloads are refused before admission. */
|
|
3378
|
+
maxTotalCredits?: number;
|
|
3347
3379
|
/** Play name for registered revisions. */
|
|
3348
3380
|
name?: string;
|
|
3349
3381
|
/** Explicit revision ID when the caller wants a specific saved version. */
|
|
@@ -3924,6 +3956,34 @@ interface PlayStagedFileRef {
|
|
|
3924
3956
|
bytes: number;
|
|
3925
3957
|
}
|
|
3926
3958
|
|
|
3959
|
+
type RuntimeSheetRunRowMembership = {
|
|
3960
|
+
runId: string;
|
|
3961
|
+
datasetId: string;
|
|
3962
|
+
rowKey: string;
|
|
3963
|
+
phase: 'admitted' | 'terminal';
|
|
3964
|
+
/** Durable terminal row version distinguishes repair within an attempt. */
|
|
3965
|
+
generation: string;
|
|
3966
|
+
attemptSeq: number | null;
|
|
3967
|
+
rowVersion: number | null;
|
|
3968
|
+
inputIndex: number | null;
|
|
3969
|
+
inputDigest: string;
|
|
3970
|
+
status: 'pending' | 'enriched' | 'failed' | 'cancelled';
|
|
3971
|
+
data: Record<string, unknown>;
|
|
3972
|
+
source: Record<string, unknown>;
|
|
3973
|
+
recordedAt: string;
|
|
3974
|
+
};
|
|
3975
|
+
type RuntimeSheetRunRowMembershipPage = {
|
|
3976
|
+
entries: RuntimeSheetRunRowMembership[];
|
|
3977
|
+
nextCursor: string | null;
|
|
3978
|
+
coverage: {
|
|
3979
|
+
complete: boolean;
|
|
3980
|
+
expectedRows: number | null;
|
|
3981
|
+
captureStartedAt: string | null;
|
|
3982
|
+
captureCompletedAt: string | null;
|
|
3983
|
+
reason: 'storage_not_expanded' | 'legacy_or_capture_not_enabled' | 'capture_in_progress' | 'complete';
|
|
3984
|
+
};
|
|
3985
|
+
};
|
|
3986
|
+
|
|
3927
3987
|
/**
|
|
3928
3988
|
* The one client-side construction of a Play run start.
|
|
3929
3989
|
*
|
|
@@ -3954,6 +4014,7 @@ declare const PLAY_FILES_STAGE_MINT_PATH = "/api/v2/plays/files/stage/mint";
|
|
|
3954
4014
|
* responses so the staging fallbacks below classify failures identically.
|
|
3955
4015
|
*/
|
|
3956
4016
|
interface PlayRunHttp {
|
|
4017
|
+
get?<T = unknown>(path: string): Promise<T>;
|
|
3957
4018
|
post<T = unknown>(path: string, body: unknown, headers?: Record<string, string>, options?: {
|
|
3958
4019
|
maxRetries?: number;
|
|
3959
4020
|
exactUrlOnly?: boolean;
|
|
@@ -3976,7 +4037,20 @@ declare function buildPlayRunStartBody(request: ResolvedStartPlayRunRequest): Re
|
|
|
3976
4037
|
* or times out, and retrying without an idempotency key can create a second
|
|
3977
4038
|
* root run, so callers resolve ambiguous failures explicitly.
|
|
3978
4039
|
*/
|
|
3979
|
-
declare function
|
|
4040
|
+
declare function preparePlayRunAdmission(http: PlayRunHttp, request: ResolvedStartPlayRunRequest, onSubmission?: (intent: {
|
|
4041
|
+
workflowId: string;
|
|
4042
|
+
orgId: string;
|
|
4043
|
+
request: Record<string, unknown>;
|
|
4044
|
+
}) => void | Promise<void>): Promise<{
|
|
4045
|
+
body: Record<string, unknown>;
|
|
4046
|
+
workflowId?: string;
|
|
4047
|
+
supportsCallerIntent: boolean;
|
|
4048
|
+
}>;
|
|
4049
|
+
declare function startPlayRun(http: PlayRunHttp, request: ResolvedStartPlayRunRequest, headers?: Record<string, string>, onSubmission?: (intent: {
|
|
4050
|
+
workflowId: string;
|
|
4051
|
+
orgId: string;
|
|
4052
|
+
request: Record<string, unknown>;
|
|
4053
|
+
}) => void | Promise<void>): Promise<PlayRunStart>;
|
|
3980
4054
|
declare function isPlayRunPackage(value: unknown): value is PlayRunPackage;
|
|
3981
4055
|
/** Normalize any run-start response shape to `{ workflowId, … }`. */
|
|
3982
4056
|
declare function normalizePlayRunStart(raw: Record<string, unknown>): PlayRunStart;
|
|
@@ -4644,6 +4718,13 @@ type PlaySheetRowsResult = {
|
|
|
4644
4718
|
customerDbUrl?: string;
|
|
4645
4719
|
deltaCursor?: number;
|
|
4646
4720
|
};
|
|
4721
|
+
type PlayRunRowHistoryOptions = {
|
|
4722
|
+
playName: string;
|
|
4723
|
+
runId: string;
|
|
4724
|
+
tableNamespace: string;
|
|
4725
|
+
limit?: number;
|
|
4726
|
+
cursor?: string;
|
|
4727
|
+
};
|
|
4647
4728
|
type PlaySecretMetadata = {
|
|
4648
4729
|
_id: string;
|
|
4649
4730
|
orgId: string;
|
|
@@ -4720,6 +4801,8 @@ type RunsNamespace = {
|
|
|
4720
4801
|
/** Cancel the page request, including its response body and retry waits. */
|
|
4721
4802
|
signal?: AbortSignal;
|
|
4722
4803
|
}) => Promise<PlaySheetRowsResult>;
|
|
4804
|
+
/** One immutable history page; incomplete legacy coverage stays explicit. */
|
|
4805
|
+
rowHistory: (input: PlayRunRowHistoryOptions) => Promise<RuntimeSheetRunRowMembershipPage>;
|
|
4723
4806
|
/** Stop a running/waiting run. */
|
|
4724
4807
|
stop: (runId: string, options?: {
|
|
4725
4808
|
reason?: string;
|
|
@@ -5922,6 +6005,8 @@ type BillingUsageResult = {
|
|
|
5922
6005
|
* @sdkReference client 030 client.billing
|
|
5923
6006
|
*/
|
|
5924
6007
|
type BillingNamespace = {
|
|
6008
|
+
/** Read a bounded sandbox-session estimate; excludes tools and Customer DB. */
|
|
6009
|
+
quote: (input: BillingQuoteRequest) => Promise<BillingQuoteResult>;
|
|
5925
6010
|
/** Current workspace provider benefits; discovery does not authorize a call. */
|
|
5926
6011
|
entitlements: () => Promise<BillingEntitlements>;
|
|
5927
6012
|
/** Charge the saved payment method and add Deepline credits to the active workspace. */
|
|
@@ -5994,6 +6079,31 @@ type BillingNamespace = {
|
|
|
5994
6079
|
url: string;
|
|
5995
6080
|
}>;
|
|
5996
6081
|
};
|
|
6082
|
+
type BillingQuoteRequest = {
|
|
6083
|
+
quantity: number;
|
|
6084
|
+
sandbox_runtime: {
|
|
6085
|
+
timeout?: string;
|
|
6086
|
+
size?: 'standard';
|
|
6087
|
+
};
|
|
6088
|
+
};
|
|
6089
|
+
type BillingQuoteResult = {
|
|
6090
|
+
scope: 'sandbox_session';
|
|
6091
|
+
quantity: number;
|
|
6092
|
+
resources: {
|
|
6093
|
+
timeoutSeconds: number;
|
|
6094
|
+
memoryGiB: number;
|
|
6095
|
+
cpu: number;
|
|
6096
|
+
diskGiB: number;
|
|
6097
|
+
};
|
|
6098
|
+
maximum_credits: number;
|
|
6099
|
+
maximum_billing_seconds: number;
|
|
6100
|
+
total_play_credits: null;
|
|
6101
|
+
total_budget_supported: false;
|
|
6102
|
+
unbounded_components: string[];
|
|
6103
|
+
explanation: string;
|
|
6104
|
+
plan_version_id: string;
|
|
6105
|
+
rate_card_id: string;
|
|
6106
|
+
};
|
|
5997
6107
|
/**
|
|
5998
6108
|
* Low-level typed REST client with authentication, retries, and localhost failover.
|
|
5999
6109
|
*
|
|
@@ -6228,7 +6338,31 @@ declare class DeeplineClient {
|
|
|
6228
6338
|
* });
|
|
6229
6339
|
* ```
|
|
6230
6340
|
*/
|
|
6231
|
-
startPlayRun(request: StartPlayRunRequest
|
|
6341
|
+
startPlayRun(request: StartPlayRunRequest, options?: {
|
|
6342
|
+
onSubmission?: (intent: {
|
|
6343
|
+
workflowId: string;
|
|
6344
|
+
orgId: string;
|
|
6345
|
+
request: Record<string, unknown>;
|
|
6346
|
+
}) => void | Promise<void>;
|
|
6347
|
+
}): Promise<PlayRunStart>;
|
|
6348
|
+
/**
|
|
6349
|
+
* Prepare a tenant-scoped start intent without executing it. Its stream
|
|
6350
|
+
* sender retains the exact body and transport selected during preparation.
|
|
6351
|
+
*/
|
|
6352
|
+
preparePlayRunAdmission(request: StartPlayRunRequest, options?: {
|
|
6353
|
+
onSubmission?: (intent: {
|
|
6354
|
+
workflowId: string;
|
|
6355
|
+
orgId: string;
|
|
6356
|
+
request: Record<string, unknown>;
|
|
6357
|
+
}) => void | Promise<void>;
|
|
6358
|
+
}): Promise<{
|
|
6359
|
+
startStream(streamOptions?: {
|
|
6360
|
+
signal?: AbortSignal;
|
|
6361
|
+
}): AsyncGenerator<PlayLiveEvent, void, unknown>;
|
|
6362
|
+
body: Record<string, unknown>;
|
|
6363
|
+
workflowId?: string;
|
|
6364
|
+
supportsCallerIntent: boolean;
|
|
6365
|
+
}>;
|
|
6232
6366
|
/**
|
|
6233
6367
|
* Submit a play run through the legacy event response.
|
|
6234
6368
|
*
|
|
@@ -6244,6 +6378,11 @@ declare class DeeplineClient {
|
|
|
6244
6378
|
*/
|
|
6245
6379
|
startPlayRunStream(request: StartPlayRunRequest, options?: {
|
|
6246
6380
|
signal?: AbortSignal;
|
|
6381
|
+
onSubmission?: (intent: {
|
|
6382
|
+
workflowId: string;
|
|
6383
|
+
orgId: string;
|
|
6384
|
+
request: Record<string, unknown>;
|
|
6385
|
+
}) => void | Promise<void>;
|
|
6247
6386
|
}): AsyncGenerator<PlayLiveEvent>;
|
|
6248
6387
|
/**
|
|
6249
6388
|
* Register a bundled play artifact.
|
|
@@ -6719,6 +6858,11 @@ declare class DeeplineClient {
|
|
|
6719
6858
|
private assertRunLogQueryRunId;
|
|
6720
6859
|
/** Read structured history across the active organization without requiring a run ID. Defaults to the last hour, newest first; use the returned cursor and exact time bounds to continue. See [run logs and events](run-events.md) for all kinds, indexed fields, payloads and SDK/API response types. */
|
|
6721
6860
|
searchRunEvents(options?: RunsEventSearchOptions): Promise<RunsEventSearchResult>;
|
|
6861
|
+
/**
|
|
6862
|
+
* Read one page of immutable admitted and terminal rows for a Play Run dataset.
|
|
6863
|
+
* Follow nextCursor; coverage explicitly identifies unavailable or incomplete history.
|
|
6864
|
+
*/
|
|
6865
|
+
getPlayRunRowHistory(input: PlayRunRowHistoryOptions): Promise<RuntimeSheetRunRowMembershipPage>;
|
|
6722
6866
|
/**
|
|
6723
6867
|
* Export persisted runtime-sheet rows for a play dataset/table namespace.
|
|
6724
6868
|
*
|
|
@@ -6803,6 +6947,11 @@ declare class DeeplineClient {
|
|
|
6803
6947
|
}>;
|
|
6804
6948
|
/** Read product-notification destinations, subscriptions, event catalog, and DLQ health. */
|
|
6805
6949
|
getNotificationSettings(): Promise<ProductNotificationSettings>;
|
|
6950
|
+
/** Save provider-owned credential fields without starting an OAuth browser flow. */
|
|
6951
|
+
setIntegrationCredentials(provider: string, credentials: Record<string, string>): Promise<{
|
|
6952
|
+
ok: boolean;
|
|
6953
|
+
credential_saved?: boolean;
|
|
6954
|
+
}>;
|
|
6806
6955
|
/** Start the Slack OAuth flow required by product notifications. */
|
|
6807
6956
|
connectNotificationSlack(options?: {
|
|
6808
6957
|
successUrl?: string;
|
|
@@ -7348,4 +7497,4 @@ declare class DeeplineClient {
|
|
|
7348
7497
|
}>;
|
|
7349
7498
|
}
|
|
7350
7499
|
|
|
7351
|
-
export { type
|
|
7500
|
+
export { type MonitorDetail as $, type CreateNotificationGroupResult as A, type BillingNamespace as B, type ClearPlayHistoryResult as C, type DeeplineClientOptions as D, type ExecuteToolRawOptions as E, type CustomerDbQueryOptions as F, type CustomerDbQueryPlan as G, type CustomerDbQueryResult as H, DEEPLINE_TOOL_CATEGORIES as I, type DbNamespace as J, type DeeplineToolCategory as K, type IngestionStorageRepairResult as L, type LegacyMonitorStatusFilter as M, type LiveEventEnvelope as N, MONITOR_JOB_PHASES as O, type PlayListItem as P, MONITOR_JOB_RECONCILIATION_STATES as Q, type ResolvedConfig as R, type StopPlayRunResult as S, type ToolDefinition as T, MONITOR_JOB_STATES as U, type MonitorBatchNamespace as V, type MonitorCheckResult as W, type MonitorDefinition as X, type MonitorDeleteResult as Y, type MonitorDependents as Z, type MonitorDeployResult as _, type ToolMetadata as a, type RunEventCountResult as a$, type MonitorFleetDeactivateOptions as a0, type MonitorFleetGetOptions as a1, type MonitorFleetReactivateOptions as a2, type MonitorFleetResult as a3, type MonitorFleetStatus as a4, type MonitorFleetSyncOptions as a5, type MonitorFleetWaitOptions as a6, type MonitorFleetsNamespace as a7, type MonitorJobDeployOptions as a8, type MonitorJobLogsOptions as a9, type PlayLiveEvent as aA, type PlayPath as aB, type PlayRunActionPackage as aC, type PlayRunActivityProjection as aD, type PlayRunDatasetActions as aE, type PlayRunPackage as aF, type PlayRunResult as aG, type PlayRunRowHistoryOptions as aH, type PlayRunStart as aI, type PlaySettings as aJ, type PlaySettingsPatch as aK, type PlaySettingsPathsPage as aL, type PlaySettingsResult as aM, type PlaySheetRow as aN, type PlaySheetRowsResult as aO, type PlayTriggerConfigUpdate as aP, type PlayTriggerConfigUpdateResult as aQ, type PlayTriggerConfigView as aR, type PlayWebhookAuthConfig as aS, type PlayWebhookTriggerConfig as aT, type PlaysActivityResponse as aU, type PlaysListOptions as aV, type PlaysListPage as aW, type PublishPlayVersionRequest as aX, type RerunOptions as aY, type RerunPlayRunResult as aZ, type RunChildrenPage as a_, type MonitorJobPhase as aa, type MonitorJobReconciliationState as ab, type MonitorJobResult as ac, type MonitorJobState as ad, type MonitorJobWaitOptions as ae, type MonitorJobsNamespace as af, type MonitorListEntry as ag, type MonitorPayload as ah, type MonitorReactivateResult as ai, type MonitorSpec as aj, type MonitorState as ak, type MonitorStateFilter as al, type MonitorUpdateChangeSummary as am, type MonitorUpdateResult as an, type MonitorsAccessStatus as ao, type MonitorsAvailableOptions as ap, type MonitorsAvailableResult as aq, type MonitorsListOptions as ar, type MonitorsListResult as as, type MonitorsNamespace as at, type NormalizedRunEventQuery as au, type PlayActivityObservation as av, type PlayActivityState as aw, type PlayActivityTarget as ax, type PlayCostEstimate as ay, type PlayCronTriggerConfig as az, type ExecutionRecovery as b, type ToolSearchResult as b$, type RunEventField as b0, type RunEventFieldDescriptor as b1, type RunEventFieldOperators as b2, type RunEventFieldsResult as b3, type RunEventGroupValue as b4, type RunEventMeasure as b5, type RunEventQueryCriteria as b6, type RunEventQueryEvent as b7, RunEventQueryInputError as b8, type RunEventQueryOptions as b9, type RunsListPage as bA, type RunsLogCriteria as bB, type RunsLogsCountResult as bC, type RunsLogsNamespace as bD, type RunsLogsOptions as bE, type RunsLogsQueryOptions as bF, type RunsLogsQueryResult as bG, type RunsLogsResult as bH, type RunsLogsSummaryOptions as bI, type RunsLogsSummaryResult as bJ, type RunsNamespace as bK, type RunsTailOptions as bL, type RunsWatchOptions as bM, type SearchOptions as bN, type SearchResult as bO, type SearchResultItem as bP, type SearchType as bQ, type StartPlayRunRequest as bR, type StopAllCandidate as bS, type StopAllPlayRunsDryRunResult as bT, type StopAllPlayRunsResult as bU, type StopAllPlayRunsStopResult as bV, type StopAllRunsOptions as bW, type ToolExecution as bX, type ToolRequestCondition as bY, type ToolRequestWarningRule as bZ, type ToolSearchOptions as b_, type RunEventQueryPage as ba, type RunEventQueryRetention as bb, type RunEventScalar as bc, type RunEventSummaryOptions as bd, type RunEventSummaryResult as be, type RunEventWhere as bf, type RunLifecycleStatus as bg, type RunToolReceiptResult as bh, type RunToolReceiptsResponse as bi, type RunsChildrenOptions as bj, type RunsEventPayload as bk, type RunsEventSearchEntry as bl, type RunsEventSearchOptions as bm, type RunsEventSearchResult as bn, type RunsEventsCountResult as bo, type RunsEventsCriteria as bp, type RunsEventsFieldsOptions as bq, type RunsEventsListOptions as br, type RunsEventsListResult as bs, type RunsEventsNamespace as bt, type RunsEventsSummaryOptions as bu, type RunsEventsSummaryResult as bv, type RunsHistoryItem as bw, type RunsHistoryOptions as bx, type RunsHistoryPage as by, type RunsListOptions as bz, type ExecutionByKeyResult as c, type WorkspaceCreateResult as c0, type WorkspacesNamespace as c1, defineMonitor as c2, isStopAllPlayRunsDryRunResult as c3, planCustomerDbQuery as c4, CSV_DATA_INPUT_KEY as c5, type FileInputBinding as c6, type LocalFileInput as c7, type MintStagedFileUpload as c8, PLAY_FILES_STAGE_MINT_PATH as c9, webStagedFileCodec as cA, PLAY_FILES_STAGE_PATH as ca, PLAY_RUN_START_PATH as cb, PLAY_RUN_START_STREAM_PATH as cc, type PlayRunHttp as cd, type ResolvedStartPlayRunRequest as ce, STAGE_LEGACY_MULTIPART_MAX_BYTES as cf, type StagedFileCodec as cg, type StagedFileInputs as ch, type StagedFileUpload as ci, buildNamedPlayRunRequest as cj, buildPlayRunStartBody as ck, createSessionPlayRunHttp as cl, createStagedFileUpload as cm, fileInputBindingsFromPlaySchema as cn, fileInputBindingsFromStaticPipeline as co, getDottedInputValue as cp, isPlayRunPackage as cq, mintStagedPlayFileUploads as cr, normalizePlayRunStart as cs, playRunFileInputBindings as ct, preparePlayRunAdmission as cu, setDottedInputValue as cv, stageFileInputs as cw, stagePlayFiles as cx, stagedFileContentType as cy, startPlayRun as cz, type PlayDetail as d, type PlayRunListItem as e, type PlayRevisionSummary as f, type PublishPlayVersionResult as g, type PlayStatus as h, DeeplineClient as i, type BillingCreditPool as j, type BillingInvoiceEntry as k, type BillingInvoicesResult as l, type BillingPaymentMethodSummary as m, type BillingQuoteRequest as n, type BillingQuoteResult as o, type BillingRecentUsageEntry as p, type BillingSubscriptionCancelResult as q, type BillingSubscriptionStatus as r, type BillingTopUpReceipt as s, type BillingTopUpResult as t, type BillingUsageEvent as u, type BillingUsageOptions as v, type BillingUsageResult as w, type ChildRunSummary as x, type ClearPlayHistoryRequest as y, type CreateNotificationGroupInput as z };
|