deepline 0.3.391 → 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/csv-data-input.ts +3 -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 +15 -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/extension-bridge.ts +57 -0
- package/dist/bundling-sources/shared_libs/plays/run-summary-types.ts +1 -0
- package/dist/bundling-sources/shared_libs/plays/static-pipeline.ts +173 -1
- package/dist/cli/{auth-6QET7NFP.mjs → auth-5PXHA232.mjs} +4 -4
- package/dist/cli/auth-P3MVDTXM.js +39 -0
- package/dist/cli/{billing-KJAGTCFR.js → billing-JFB2XLSO.js} +101 -74
- package/dist/cli/{billing-HAQ2VDQX.mjs → billing-Z2N7ZAGM.mjs} +32 -5
- package/dist/cli/{chunk-556BMGEB.js → chunk-2HAD745V.js} +242 -183
- package/dist/cli/{chunk-HFTOOZGN.mjs → chunk-2LGC4EFT.mjs} +3 -3
- package/dist/cli/{chunk-QCWIORKR.mjs → chunk-4PT2VA3A.mjs} +2 -2
- package/dist/cli/{chunk-KA7X75HC.js → chunk-4XX6443T.js} +176 -87
- package/dist/cli/{chunk-YBZY3EZF.mjs → chunk-5KWKZIQR.mjs} +4 -4
- package/dist/cli/{chunk-VH4B5OYM.mjs → chunk-5PRVMXKB.mjs} +27 -2
- package/dist/cli/{chunk-DSWSEHRX.mjs → chunk-6I73X254.mjs} +1 -1
- package/dist/cli/{chunk-6L4P7Z6C.mjs → chunk-7HR7BGZL.mjs} +13 -3
- package/dist/cli/{chunk-4S6X74A3.js → chunk-AARX5L4B.js} +2 -2
- package/dist/cli/{chunk-MHLCMJ2E.js → chunk-CDFH2DYL.js} +20 -19
- package/dist/cli/{chunk-PFPP4BKS.mjs → chunk-FQ6VHPW4.mjs} +2 -2
- package/dist/cli/{chunk-5JLQPVNX.js → chunk-GSK6NHVM.js} +1 -0
- package/dist/cli/{chunk-TLHF54VX.mjs → chunk-HLEESTCH.mjs} +1 -1
- package/dist/cli/{chunk-EDWJY6T4.mjs → chunk-HQXL5526.mjs} +1 -0
- package/dist/cli/{chunk-Q6EOHNRH.mjs → chunk-JI2B4RZP.mjs} +119 -6
- package/dist/cli/{chunk-I3MKXASV.mjs → chunk-KIYU2TGL.mjs} +2 -2
- package/dist/cli/{chunk-Y6VOGHF2.mjs → chunk-KZZC33PY.mjs} +0 -181
- package/dist/cli/{chunk-XBPLTHGB.js → chunk-L2SYLGRP.js} +8 -8
- package/dist/cli/{chunk-K3ODOHOI.mjs → chunk-LMMEAMA7.mjs} +3 -2
- package/dist/cli/{chunk-KWF4HJF7.mjs → chunk-LZPCDB7U.mjs} +3 -2
- package/dist/cli/{chunk-I7EVBLTW.js → chunk-M7Y7JYZX.js} +32 -7
- package/dist/cli/{chunk-QGKPTBRR.js → chunk-MS6GUPBB.js} +3 -3
- package/dist/cli/{chunk-ME2DZAHC.js → chunk-OXNOAD6Y.js} +26 -26
- package/dist/cli/{chunk-XEV5LMS2.js → chunk-PTDECJGP.js} +50 -50
- package/dist/cli/{chunk-5O4B6AUN.js → chunk-PWSWAN7Q.js} +25 -2
- package/dist/cli/{chunk-DRZFTRZJ.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-WLODHQ7S.js → chunk-RWHWF5ZJ.js} +3 -2
- package/dist/cli/{chunk-H3DCZOXR.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-H2ER7QWR.mjs → chunk-UOGZUA24.mjs} +180 -18
- package/dist/cli/{chunk-RTH26NF3.js → chunk-VIQJIX2P.js} +73 -63
- package/dist/cli/{chunk-ED42XCOW.js → chunk-VIWE6WRK.js} +629 -467
- package/dist/cli/{chunk-RA2SDTSX.js → chunk-W4WOMXR3.js} +15 -15
- package/dist/cli/chunk-XDVT3GOM.js +310 -0
- package/dist/cli/{chunk-UOSKJIXE.js → chunk-Z3OOZM5L.js} +8 -8
- package/dist/cli/{csv-V7UHOBFE.mjs → csv-KJWZHKCH.mjs} +3 -3
- package/dist/cli/{csv-2WSF5TEM.js → csv-P3Z3YE7H.js} +12 -12
- package/dist/cli/{db-TD375E4N.mjs → db-NCM4CQIS.mjs} +6 -5
- package/dist/cli/{db-42RL4FZD.js → db-NUZGJNQC.js} +31 -30
- package/dist/cli/{describe-GPUKAWOZ.mjs → describe-WT6MM2GO.mjs} +18 -17
- package/dist/cli/{describe-7WFCBZUY.js → describe-YGSEN5WC.js} +25 -24
- package/dist/cli/{executions-LGVG3FPH.js → executions-PCOLHN7Q.js} +8 -7
- package/dist/cli/{executions-M7O63JNA.mjs → executions-XS2IPJ4W.mjs} +6 -5
- package/dist/cli/{feedback-PZZA2M4S.js → feedback-4MSH7TFU.js} +7 -7
- package/dist/cli/{feedback-6PBSKVB2.mjs → feedback-CCLTS5SV.mjs} +3 -3
- package/dist/cli/{git-2VIFM5DI.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-DPUBZI7N.mjs → legacy-noops-B5S4AR3P.mjs} +4 -4
- package/dist/cli/{legacy-noops-IQ6QTZNZ.js → legacy-noops-GPNOPFXV.js} +7 -7
- package/dist/cli/{monitors-KBZVQG2U.mjs → monitors-JLMAIPRG.mjs} +6 -5
- package/dist/cli/{monitors-6GWAZFYV.js → monitors-ZAWD7NSN.js} +87 -86
- package/dist/cli/{org-JKGTHXOZ.js → org-P2KN4CES.js} +66 -65
- package/dist/cli/{org-CP3VSJBX.mjs → org-T3JTHP4G.mjs} +6 -5
- package/dist/cli/{play-DD2ME4L4.mjs → play-NK6BLRGL.mjs} +12 -11
- package/dist/cli/play-PDXR6JFB.js +158 -0
- package/dist/cli/{providers-JUNOFKI7.mjs → providers-3NQRA7IT.mjs} +6 -5
- package/dist/cli/{providers-P34QYYG6.js → providers-5QRZN3DT.js} +9 -8
- package/dist/cli/{quickstart-N6SWOK7E.mjs → quickstart-PIA2JGPV.mjs} +3 -3
- package/dist/cli/{quickstart-UL3DEFA4.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-SC7I56HX.mjs → search-AIDIIGLY.mjs} +7 -6
- package/dist/cli/search-QRWL7MFM.js +27 -0
- package/dist/cli/{secrets-6ZJE7ZPM.js → secrets-BT3PGMWN.js} +15 -14
- package/dist/cli/{secrets-RTARNYF5.mjs → secrets-OQNHL45O.mjs} +6 -5
- package/dist/cli/{sessions-6IZ2XHGW.js → sessions-EYXWOSWK.js} +5 -5
- package/dist/cli/{sessions-7RKV2T3O.mjs → sessions-SF7WJPJP.mjs} +4 -4
- package/dist/cli/{settings-YX3XJDXE.js → settings-BA3GHBOD.js} +76 -75
- package/dist/cli/{settings-V6PXA6HY.mjs → settings-Y57JTFDD.mjs} +9 -8
- package/dist/cli/{setup-V2O4UJNT.mjs → setup-7GR5GBHA.mjs} +6 -6
- package/dist/cli/{setup-CQ5VRNNU.js → setup-RERXYC66.js} +41 -41
- package/dist/cli/{skills-VHJZWEHA.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-OD5WKEWY.mjs → tools-ZF3JXPNL.mjs} +10 -9
- package/dist/cli/update-472HA3LT.js +28 -0
- package/dist/cli/{update-CRMNOMJ3.mjs → update-FFFYQAOJ.mjs} +6 -6
- package/dist/cli/{workflow-XHORSD5T.js → workflow-SZJVQH4T.js} +17 -16
- package/dist/cli/{workflow-EVDYNCDD.mjs → workflow-XVFEEGAS.mjs} +7 -6
- package/dist/{client-DpzZi4fU.d.mts → client-DU5dtHDy.d.mts} +157 -4
- package/dist/{client-BhK9kix9.d.ts → client-mCE88hC4.d.ts} +157 -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 +94 -88
- 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/csv-data-input.d.mts +2 -0
- package/dist/plays/csv-data-input.d.ts +2 -0
- package/dist/plays/csv-data-input.js +2 -2
- package/dist/plays/csv-data-input.mjs +1 -1
- 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-6ZUH42ZA.js +0 -39
- package/dist/cli/git-ZSJD3BID.js +0 -23
- package/dist/cli/play-G5GVMIBN.js +0 -157
- package/dist/cli/search-W4GXWTOM.js +0 -26
- package/dist/cli/skills-LBZPJTPI.js +0 -28
- package/dist/cli/tools-TQNM473H.js +0 -40
- package/dist/cli/update-QY6GAK6B.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`
|
|
@@ -2163,6 +2189,10 @@ interface PlayRunPackage {
|
|
|
2163
2189
|
/** Revision pinned at admission, never the play's current revision. */
|
|
2164
2190
|
revisionId?: string;
|
|
2165
2191
|
playName: string;
|
|
2192
|
+
/** Retained manual requester, when requested with include=requester. */
|
|
2193
|
+
requestedBy?: {
|
|
2194
|
+
name: string;
|
|
2195
|
+
};
|
|
2166
2196
|
status: string;
|
|
2167
2197
|
dashboardUrl?: string;
|
|
2168
2198
|
/** Durable acceptance time: the run record was created. */
|
|
@@ -3340,6 +3370,12 @@ interface PlayCheckToolGetterHint {
|
|
|
3340
3370
|
* ```
|
|
3341
3371
|
*/
|
|
3342
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;
|
|
3343
3379
|
/** Play name for registered revisions. */
|
|
3344
3380
|
name?: string;
|
|
3345
3381
|
/** Explicit revision ID when the caller wants a specific saved version. */
|
|
@@ -3920,6 +3956,34 @@ interface PlayStagedFileRef {
|
|
|
3920
3956
|
bytes: number;
|
|
3921
3957
|
}
|
|
3922
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
|
+
|
|
3923
3987
|
/**
|
|
3924
3988
|
* The one client-side construction of a Play run start.
|
|
3925
3989
|
*
|
|
@@ -3950,6 +4014,7 @@ declare const PLAY_FILES_STAGE_MINT_PATH = "/api/v2/plays/files/stage/mint";
|
|
|
3950
4014
|
* responses so the staging fallbacks below classify failures identically.
|
|
3951
4015
|
*/
|
|
3952
4016
|
interface PlayRunHttp {
|
|
4017
|
+
get?<T = unknown>(path: string): Promise<T>;
|
|
3953
4018
|
post<T = unknown>(path: string, body: unknown, headers?: Record<string, string>, options?: {
|
|
3954
4019
|
maxRetries?: number;
|
|
3955
4020
|
exactUrlOnly?: boolean;
|
|
@@ -3972,7 +4037,20 @@ declare function buildPlayRunStartBody(request: ResolvedStartPlayRunRequest): Re
|
|
|
3972
4037
|
* or times out, and retrying without an idempotency key can create a second
|
|
3973
4038
|
* root run, so callers resolve ambiguous failures explicitly.
|
|
3974
4039
|
*/
|
|
3975
|
-
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>;
|
|
3976
4054
|
declare function isPlayRunPackage(value: unknown): value is PlayRunPackage;
|
|
3977
4055
|
/** Normalize any run-start response shape to `{ workflowId, … }`. */
|
|
3978
4056
|
declare function normalizePlayRunStart(raw: Record<string, unknown>): PlayRunStart;
|
|
@@ -4640,6 +4718,13 @@ type PlaySheetRowsResult = {
|
|
|
4640
4718
|
customerDbUrl?: string;
|
|
4641
4719
|
deltaCursor?: number;
|
|
4642
4720
|
};
|
|
4721
|
+
type PlayRunRowHistoryOptions = {
|
|
4722
|
+
playName: string;
|
|
4723
|
+
runId: string;
|
|
4724
|
+
tableNamespace: string;
|
|
4725
|
+
limit?: number;
|
|
4726
|
+
cursor?: string;
|
|
4727
|
+
};
|
|
4643
4728
|
type PlaySecretMetadata = {
|
|
4644
4729
|
_id: string;
|
|
4645
4730
|
orgId: string;
|
|
@@ -4716,6 +4801,8 @@ type RunsNamespace = {
|
|
|
4716
4801
|
/** Cancel the page request, including its response body and retry waits. */
|
|
4717
4802
|
signal?: AbortSignal;
|
|
4718
4803
|
}) => Promise<PlaySheetRowsResult>;
|
|
4804
|
+
/** One immutable history page; incomplete legacy coverage stays explicit. */
|
|
4805
|
+
rowHistory: (input: PlayRunRowHistoryOptions) => Promise<RuntimeSheetRunRowMembershipPage>;
|
|
4719
4806
|
/** Stop a running/waiting run. */
|
|
4720
4807
|
stop: (runId: string, options?: {
|
|
4721
4808
|
reason?: string;
|
|
@@ -5918,6 +6005,8 @@ type BillingUsageResult = {
|
|
|
5918
6005
|
* @sdkReference client 030 client.billing
|
|
5919
6006
|
*/
|
|
5920
6007
|
type BillingNamespace = {
|
|
6008
|
+
/** Read a bounded sandbox-session estimate; excludes tools and Customer DB. */
|
|
6009
|
+
quote: (input: BillingQuoteRequest) => Promise<BillingQuoteResult>;
|
|
5921
6010
|
/** Current workspace provider benefits; discovery does not authorize a call. */
|
|
5922
6011
|
entitlements: () => Promise<BillingEntitlements>;
|
|
5923
6012
|
/** Charge the saved payment method and add Deepline credits to the active workspace. */
|
|
@@ -5990,6 +6079,31 @@ type BillingNamespace = {
|
|
|
5990
6079
|
url: string;
|
|
5991
6080
|
}>;
|
|
5992
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
|
+
};
|
|
5993
6107
|
/**
|
|
5994
6108
|
* Low-level typed REST client with authentication, retries, and localhost failover.
|
|
5995
6109
|
*
|
|
@@ -6224,7 +6338,31 @@ declare class DeeplineClient {
|
|
|
6224
6338
|
* });
|
|
6225
6339
|
* ```
|
|
6226
6340
|
*/
|
|
6227
|
-
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
|
+
}>;
|
|
6228
6366
|
/**
|
|
6229
6367
|
* Submit a play run through the legacy event response.
|
|
6230
6368
|
*
|
|
@@ -6240,6 +6378,11 @@ declare class DeeplineClient {
|
|
|
6240
6378
|
*/
|
|
6241
6379
|
startPlayRunStream(request: StartPlayRunRequest, options?: {
|
|
6242
6380
|
signal?: AbortSignal;
|
|
6381
|
+
onSubmission?: (intent: {
|
|
6382
|
+
workflowId: string;
|
|
6383
|
+
orgId: string;
|
|
6384
|
+
request: Record<string, unknown>;
|
|
6385
|
+
}) => void | Promise<void>;
|
|
6243
6386
|
}): AsyncGenerator<PlayLiveEvent>;
|
|
6244
6387
|
/**
|
|
6245
6388
|
* Register a bundled play artifact.
|
|
@@ -6715,6 +6858,11 @@ declare class DeeplineClient {
|
|
|
6715
6858
|
private assertRunLogQueryRunId;
|
|
6716
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. */
|
|
6717
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>;
|
|
6718
6866
|
/**
|
|
6719
6867
|
* Export persisted runtime-sheet rows for a play dataset/table namespace.
|
|
6720
6868
|
*
|
|
@@ -6799,6 +6947,11 @@ declare class DeeplineClient {
|
|
|
6799
6947
|
}>;
|
|
6800
6948
|
/** Read product-notification destinations, subscriptions, event catalog, and DLQ health. */
|
|
6801
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
|
+
}>;
|
|
6802
6955
|
/** Start the Slack OAuth flow required by product notifications. */
|
|
6803
6956
|
connectNotificationSlack(options?: {
|
|
6804
6957
|
successUrl?: string;
|
|
@@ -7344,4 +7497,4 @@ declare class DeeplineClient {
|
|
|
7344
7497
|
}>;
|
|
7345
7498
|
}
|
|
7346
7499
|
|
|
7347
|
-
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`
|
|
@@ -2163,6 +2189,10 @@ interface PlayRunPackage {
|
|
|
2163
2189
|
/** Revision pinned at admission, never the play's current revision. */
|
|
2164
2190
|
revisionId?: string;
|
|
2165
2191
|
playName: string;
|
|
2192
|
+
/** Retained manual requester, when requested with include=requester. */
|
|
2193
|
+
requestedBy?: {
|
|
2194
|
+
name: string;
|
|
2195
|
+
};
|
|
2166
2196
|
status: string;
|
|
2167
2197
|
dashboardUrl?: string;
|
|
2168
2198
|
/** Durable acceptance time: the run record was created. */
|
|
@@ -3340,6 +3370,12 @@ interface PlayCheckToolGetterHint {
|
|
|
3340
3370
|
* ```
|
|
3341
3371
|
*/
|
|
3342
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;
|
|
3343
3379
|
/** Play name for registered revisions. */
|
|
3344
3380
|
name?: string;
|
|
3345
3381
|
/** Explicit revision ID when the caller wants a specific saved version. */
|
|
@@ -3920,6 +3956,34 @@ interface PlayStagedFileRef {
|
|
|
3920
3956
|
bytes: number;
|
|
3921
3957
|
}
|
|
3922
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
|
+
|
|
3923
3987
|
/**
|
|
3924
3988
|
* The one client-side construction of a Play run start.
|
|
3925
3989
|
*
|
|
@@ -3950,6 +4014,7 @@ declare const PLAY_FILES_STAGE_MINT_PATH = "/api/v2/plays/files/stage/mint";
|
|
|
3950
4014
|
* responses so the staging fallbacks below classify failures identically.
|
|
3951
4015
|
*/
|
|
3952
4016
|
interface PlayRunHttp {
|
|
4017
|
+
get?<T = unknown>(path: string): Promise<T>;
|
|
3953
4018
|
post<T = unknown>(path: string, body: unknown, headers?: Record<string, string>, options?: {
|
|
3954
4019
|
maxRetries?: number;
|
|
3955
4020
|
exactUrlOnly?: boolean;
|
|
@@ -3972,7 +4037,20 @@ declare function buildPlayRunStartBody(request: ResolvedStartPlayRunRequest): Re
|
|
|
3972
4037
|
* or times out, and retrying without an idempotency key can create a second
|
|
3973
4038
|
* root run, so callers resolve ambiguous failures explicitly.
|
|
3974
4039
|
*/
|
|
3975
|
-
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>;
|
|
3976
4054
|
declare function isPlayRunPackage(value: unknown): value is PlayRunPackage;
|
|
3977
4055
|
/** Normalize any run-start response shape to `{ workflowId, … }`. */
|
|
3978
4056
|
declare function normalizePlayRunStart(raw: Record<string, unknown>): PlayRunStart;
|
|
@@ -4640,6 +4718,13 @@ type PlaySheetRowsResult = {
|
|
|
4640
4718
|
customerDbUrl?: string;
|
|
4641
4719
|
deltaCursor?: number;
|
|
4642
4720
|
};
|
|
4721
|
+
type PlayRunRowHistoryOptions = {
|
|
4722
|
+
playName: string;
|
|
4723
|
+
runId: string;
|
|
4724
|
+
tableNamespace: string;
|
|
4725
|
+
limit?: number;
|
|
4726
|
+
cursor?: string;
|
|
4727
|
+
};
|
|
4643
4728
|
type PlaySecretMetadata = {
|
|
4644
4729
|
_id: string;
|
|
4645
4730
|
orgId: string;
|
|
@@ -4716,6 +4801,8 @@ type RunsNamespace = {
|
|
|
4716
4801
|
/** Cancel the page request, including its response body and retry waits. */
|
|
4717
4802
|
signal?: AbortSignal;
|
|
4718
4803
|
}) => Promise<PlaySheetRowsResult>;
|
|
4804
|
+
/** One immutable history page; incomplete legacy coverage stays explicit. */
|
|
4805
|
+
rowHistory: (input: PlayRunRowHistoryOptions) => Promise<RuntimeSheetRunRowMembershipPage>;
|
|
4719
4806
|
/** Stop a running/waiting run. */
|
|
4720
4807
|
stop: (runId: string, options?: {
|
|
4721
4808
|
reason?: string;
|
|
@@ -5918,6 +6005,8 @@ type BillingUsageResult = {
|
|
|
5918
6005
|
* @sdkReference client 030 client.billing
|
|
5919
6006
|
*/
|
|
5920
6007
|
type BillingNamespace = {
|
|
6008
|
+
/** Read a bounded sandbox-session estimate; excludes tools and Customer DB. */
|
|
6009
|
+
quote: (input: BillingQuoteRequest) => Promise<BillingQuoteResult>;
|
|
5921
6010
|
/** Current workspace provider benefits; discovery does not authorize a call. */
|
|
5922
6011
|
entitlements: () => Promise<BillingEntitlements>;
|
|
5923
6012
|
/** Charge the saved payment method and add Deepline credits to the active workspace. */
|
|
@@ -5990,6 +6079,31 @@ type BillingNamespace = {
|
|
|
5990
6079
|
url: string;
|
|
5991
6080
|
}>;
|
|
5992
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
|
+
};
|
|
5993
6107
|
/**
|
|
5994
6108
|
* Low-level typed REST client with authentication, retries, and localhost failover.
|
|
5995
6109
|
*
|
|
@@ -6224,7 +6338,31 @@ declare class DeeplineClient {
|
|
|
6224
6338
|
* });
|
|
6225
6339
|
* ```
|
|
6226
6340
|
*/
|
|
6227
|
-
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
|
+
}>;
|
|
6228
6366
|
/**
|
|
6229
6367
|
* Submit a play run through the legacy event response.
|
|
6230
6368
|
*
|
|
@@ -6240,6 +6378,11 @@ declare class DeeplineClient {
|
|
|
6240
6378
|
*/
|
|
6241
6379
|
startPlayRunStream(request: StartPlayRunRequest, options?: {
|
|
6242
6380
|
signal?: AbortSignal;
|
|
6381
|
+
onSubmission?: (intent: {
|
|
6382
|
+
workflowId: string;
|
|
6383
|
+
orgId: string;
|
|
6384
|
+
request: Record<string, unknown>;
|
|
6385
|
+
}) => void | Promise<void>;
|
|
6243
6386
|
}): AsyncGenerator<PlayLiveEvent>;
|
|
6244
6387
|
/**
|
|
6245
6388
|
* Register a bundled play artifact.
|
|
@@ -6715,6 +6858,11 @@ declare class DeeplineClient {
|
|
|
6715
6858
|
private assertRunLogQueryRunId;
|
|
6716
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. */
|
|
6717
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>;
|
|
6718
6866
|
/**
|
|
6719
6867
|
* Export persisted runtime-sheet rows for a play dataset/table namespace.
|
|
6720
6868
|
*
|
|
@@ -6799,6 +6947,11 @@ declare class DeeplineClient {
|
|
|
6799
6947
|
}>;
|
|
6800
6948
|
/** Read product-notification destinations, subscriptions, event catalog, and DLQ health. */
|
|
6801
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
|
+
}>;
|
|
6802
6955
|
/** Start the Slack OAuth flow required by product notifications. */
|
|
6803
6956
|
connectNotificationSlack(options?: {
|
|
6804
6957
|
successUrl?: string;
|
|
@@ -7344,4 +7497,4 @@ declare class DeeplineClient {
|
|
|
7344
7497
|
}>;
|
|
7345
7498
|
}
|
|
7346
7499
|
|
|
7347
|
-
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 };
|