deepline 0.3.407 → 0.3.409
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 +8 -1
- package/dist/bundling-sources/sdk/src/play.ts +13 -0
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/sdk/src/types.ts +23 -0
- package/dist/bundling-sources/shared_libs/play-runtime/admission-timings.ts +64 -0
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +11 -1
- package/dist/bundling-sources/shared_libs/play-runtime/modal-runtime-config.ts +1 -4
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +2 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/local-process.ts +15 -6
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +188 -45
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/run-ledger-outbox-recovery.ts +22 -4
- package/dist/bundling-sources/shared_libs/play-runtime/tool-http-errors.ts +10 -4
- package/dist/bundling-sources/shared_libs/play-runtime/tool-result.ts +72 -0
- package/dist/bundling-sources/shared_libs/play-runtime/webhook-receipt-source-commit-retry.ts +90 -0
- package/dist/bundling-sources/shared_libs/play-runtime/worker-api-types.ts +5 -0
- package/dist/bundling-sources/shared_libs/plays/tool-result-types.ts +6 -0
- package/dist/cli/{auth-WURWNNLE.mjs → auth-5HIIACF7.mjs} +4 -4
- package/dist/cli/auth-F6BX32XZ.js +40 -0
- package/dist/cli/{billing-2QJGXGJX.js → billing-4275N7FL.js} +92 -85
- package/dist/cli/{billing-BP3E6WIM.mjs → billing-EVZ3ZWKC.mjs} +23 -16
- package/dist/cli/{chunk-WXLOW623.mjs → chunk-264PC2RN.mjs} +14 -7
- package/dist/cli/{chunk-RMZAOYDN.js → chunk-2GI3QD3L.js} +53 -53
- package/dist/cli/{chunk-ZBCTXQ3P.mjs → chunk-2PRO2JTX.mjs} +1 -1
- package/dist/cli/{chunk-GAMFK2ZP.mjs → chunk-44ZTYHMQ.mjs} +10 -3
- package/dist/cli/{chunk-G4LJS2RE.js → chunk-53HN7WZN.js} +8 -8
- package/dist/cli/{chunk-URWF7NGQ.js → chunk-5MLCBXXU.js} +36 -15
- package/dist/cli/{chunk-XT6GG3QO.mjs → chunk-7AALNGTA.mjs} +3 -3
- package/dist/cli/{chunk-WJYPBHTE.js → chunk-ALD4COBH.js} +11 -4
- package/dist/cli/{chunk-RZLXVHNO.js → chunk-AU4OFDFX.js} +26 -26
- package/dist/cli/{chunk-N6OAMAO5.mjs → chunk-BEVLCKXG.mjs} +1 -1
- package/dist/cli/{chunk-7LKYHZVB.js → chunk-DEC3JECC.js} +1 -1
- package/dist/cli/{chunk-UFFSOV6I.mjs → chunk-FHPCKULR.mjs} +2 -2
- package/dist/cli/{chunk-THHM4DPE.js → chunk-FJCIUF34.js} +4 -4
- package/dist/cli/{chunk-H6EWQFPQ.js → chunk-GAICVLKL.js} +2 -2
- package/dist/cli/{chunk-4TV43THC.mjs → chunk-IT3XBJQR.mjs} +4 -4
- package/dist/cli/{chunk-UFS752TU.mjs → chunk-J6DCKJNM.mjs} +5 -1
- package/dist/cli/{chunk-AYHLUHE5.js → chunk-JGHG4NBA.js} +6 -2
- package/dist/cli/{chunk-BKC6VMYZ.mjs → chunk-JRAVVJ3T.mjs} +73 -4
- package/dist/cli/{chunk-ZI2ZNDJK.mjs → chunk-LFSHGNT2.mjs} +36 -15
- package/dist/cli/{chunk-L25GBGQU.mjs → chunk-N44JHMKY.mjs} +6 -6
- package/dist/cli/{chunk-QJAX7QN7.mjs → chunk-NZSF57UO.mjs} +2 -2
- package/dist/cli/{chunk-IY6GKJ4O.js → chunk-O3VSXP2F.js} +50 -50
- package/dist/cli/{chunk-J67NU4MQ.mjs → chunk-PBZYY7VZ.mjs} +5 -2
- package/dist/cli/{chunk-G6U74WNM.js → chunk-RTCDW2GU.js} +15 -15
- package/dist/cli/{chunk-UPEOEYZ3.mjs → chunk-TQNHMWUR.mjs} +1 -1
- package/dist/cli/{chunk-KUQAU5MG.js → chunk-V76R6HMV.js} +10 -7
- package/dist/cli/{chunk-6JZZNP5G.mjs → chunk-VWBTTJYQ.mjs} +2 -2
- package/dist/cli/{chunk-SOQIPKF2.js → chunk-WHG43Z67.js} +8 -8
- package/dist/cli/{chunk-Y6CX4QPR.js → chunk-WLOCMJWV.js} +67 -67
- package/dist/cli/{chunk-QJBJZVG6.js → chunk-WNUR6VP5.js} +15 -8
- package/dist/cli/{chunk-P7HOTKOK.mjs → chunk-WYQO2CBS.mjs} +4 -4
- package/dist/cli/{chunk-D2ZRMZKF.js → chunk-YD7B53RW.js} +99 -30
- package/dist/cli/command-docs.js +2 -2
- package/dist/cli/command-docs.mjs +1 -1
- package/dist/cli/{csv-N6KYTG7L.mjs → csv-A2MP6EFV.mjs} +3 -3
- package/dist/cli/{csv-7E5BE23B.js → csv-BBOTCGQY.js} +12 -12
- package/dist/cli/{db-XMBJNVBD.mjs → db-3W5DMTUX.mjs} +4 -4
- package/dist/cli/{db-4VLZP33O.js → db-G4CODDCA.js} +25 -25
- package/dist/cli/{describe-4I6EIVXD.js → describe-PQTQ5B6F.js} +11 -11
- package/dist/cli/{describe-WERH4TD2.mjs → describe-XYJ2ZT4M.mjs} +7 -7
- package/dist/cli/describe-core.d.mts +2 -2
- package/dist/cli/describe-core.d.ts +2 -2
- package/dist/cli/{executions-W7TWJRBK.js → executions-TLANVR7Y.js} +6 -6
- package/dist/cli/{executions-JWQXE7G6.mjs → executions-UR67CA5H.mjs} +4 -4
- package/dist/cli/{feedback-FMGRC6KO.js → feedback-6C2YTRJL.js} +7 -7
- package/dist/cli/{feedback-OEJFX4F7.mjs → feedback-WHCMGEIL.mjs} +3 -3
- package/dist/cli/{git-IVC4KHXX.mjs → git-GWLB6VSA.mjs} +4 -4
- package/dist/cli/git-VQFF6D7C.js +24 -0
- package/dist/cli/index.js +204 -127
- package/dist/cli/index.mjs +124 -47
- package/dist/cli/{legacy-noops-LT36CLWZ.mjs → legacy-noops-KF4XIFEF.mjs} +4 -4
- package/dist/cli/{legacy-noops-X3BQ7MUK.js → legacy-noops-ZUFA7RWI.js} +7 -7
- package/dist/cli/{monitors-MNLCELF7.mjs → monitors-6UOIDIMB.mjs} +4 -4
- package/dist/cli/{monitors-DLIIAVLW.js → monitors-TB3K2IVE.js} +84 -84
- package/dist/cli/{org-CYHDEW7P.js → org-CKWMBPIR.js} +64 -64
- package/dist/cli/{org-QV5LMUPT.mjs → org-WGHHMVDZ.mjs} +4 -4
- package/dist/cli/{play-5Z4ROZ3P.mjs → play-LYPAXCLD.mjs} +70 -18
- package/dist/cli/{play-MEFXC2QA.js → play-N2B3KAVS.js} +345 -293
- package/dist/cli/{providers-FJLYSHB3.mjs → providers-6DI5BVZJ.mjs} +4 -4
- package/dist/cli/{providers-2MKUNFBQ.js → providers-UR42MD6Z.js} +7 -7
- package/dist/cli/{quickstart-ULWXKAOT.js → quickstart-FCJG4XGB.js} +5 -5
- package/dist/cli/{quickstart-PQO3OQRT.mjs → quickstart-MNA2S6PO.mjs} +3 -3
- package/dist/cli/search-NCEEONMQ.js +30 -0
- package/dist/cli/{search-KGAAXMDG.mjs → search-VPPYUJ2M.mjs} +5 -5
- package/dist/cli/{secrets-PD5I3KAF.mjs → secrets-DRI4W7Z5.mjs} +4 -4
- package/dist/cli/{secrets-X2VGG2PO.js → secrets-QOSMVO36.js} +13 -13
- package/dist/cli/{sessions-R3XAKTBQ.js → sessions-3WYKQABW.js} +5 -5
- package/dist/cli/{sessions-3WVEU4PE.mjs → sessions-DQNUKP43.mjs} +4 -4
- package/dist/cli/{settings-645RSFQX.mjs → settings-DWDK3Y2R.mjs} +8 -8
- package/dist/cli/{settings-ZIDO3IP6.js → settings-JUGGCOPS.js} +75 -75
- package/dist/cli/{setup-LH5HOZ3D.js → setup-AWBHNYXK.js} +42 -42
- package/dist/cli/{setup-LISKIJKP.mjs → setup-D5DWVNY4.mjs} +7 -7
- package/dist/cli/skills-AKPAJVSO.js +29 -0
- package/dist/cli/{skills-VVQJHLSF.mjs → skills-YV2XR35J.mjs} +5 -5
- package/dist/cli/{tools-FTPJCNAM.js → tools-RBKEK6PM.js} +8 -8
- package/dist/cli/{tools-Y3LOMXFT.mjs → tools-VFJYHNV2.mjs} +7 -7
- package/dist/cli/{update-DOBNQNJI.mjs → update-IM6VOTGL.mjs} +7 -7
- package/dist/cli/update-VFNUBLDA.js +29 -0
- package/dist/cli/{workflow-ZMAA5VCN.mjs → workflow-26URBWPV.mjs} +5 -5
- package/dist/cli/{workflow-LGENKZBV.js → workflow-3BS6U6SL.js} +15 -15
- package/dist/{client-IrPHUE5J.d.ts → client-BMjJFpan.d.ts} +28 -2
- package/dist/{client-6rEB46Lv.d.mts → client-BfInrZPB.d.mts} +28 -2
- package/dist/{compiler-manifest-BHnXE43X.d.ts → compiler-manifest-Ycx-hoAr.d.mts} +2 -0
- package/dist/{compiler-manifest-BHnXE43X.d.mts → compiler-manifest-Ycx-hoAr.d.ts} +2 -0
- package/dist/{index-Da_Y8z5e.d.mts → index-CZXgiN3E.d.mts} +1 -1
- package/dist/{index-SODb2ROS.d.ts → index-NPG5pqxQ.d.ts} +1 -1
- package/dist/index.d.mts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +26 -9
- package/dist/index.mjs +23 -6
- package/dist/install-integrity.json +86 -84
- package/dist/plays/bundle-play-file.d.mts +3 -3
- package/dist/plays/bundle-play-file.d.ts +3 -3
- package/dist/plays/play-description.d.mts +2 -2
- package/dist/plays/play-description.d.ts +2 -2
- package/dist/plays/run-request.d.mts +2 -2
- package/dist/plays/run-request.d.ts +2 -2
- package/dist/release.d.mts +1 -1
- package/dist/release.d.ts +1 -1
- package/dist/release.js +2 -2
- package/dist/release.mjs +1 -1
- package/package.json +1 -1
- package/dist/cli/auth-4JTX6AGM.js +0 -40
- package/dist/cli/git-OFXE7G4X.js +0 -24
- package/dist/cli/search-ANKSJ224.js +0 -30
- package/dist/cli/skills-WLHYSVQA.js +0 -29
- package/dist/cli/update-A622H2DZ.js +0 -29
|
@@ -6,7 +6,7 @@ var _chunk3XX5TEA4js = require('./chunk-3XX5TEA4.js');
|
|
|
6
6
|
var _chunk3KC45UVFjs = require('./chunk-3KC45UVF.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkV76R6HMVjs = require('./chunk-V76R6HMV.js');
|
|
10
10
|
require('./chunk-S6R3OX7B.js');
|
|
11
11
|
require('./chunk-UHNDVD3P.js');
|
|
12
12
|
require('./chunk-KXMNM4AQ.js');
|
|
@@ -16,12 +16,12 @@ require('./chunk-XDVT3GOM.js');
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var
|
|
20
|
-
require('./chunk-
|
|
19
|
+
var _chunkYD7B53RWjs = require('./chunk-YD7B53RW.js');
|
|
20
|
+
require('./chunk-FJCIUF34.js');
|
|
21
21
|
require('./chunk-Q2E4E4FJ.js');
|
|
22
22
|
require('./chunk-XNYIZMNQ.js');
|
|
23
23
|
require('./chunk-7P5AA3SN.js');
|
|
24
|
-
require('./chunk-
|
|
24
|
+
require('./chunk-DEC3JECC.js');
|
|
25
25
|
require('./chunk-OG64RBAC.js');
|
|
26
26
|
require('./chunk-COGTRVWW.js');
|
|
27
27
|
|
|
@@ -1603,18 +1603,18 @@ function noticeToStderr(command) {
|
|
|
1603
1603
|
);
|
|
1604
1604
|
}
|
|
1605
1605
|
function emitPassThrough(command, payload, options) {
|
|
1606
|
-
const json =
|
|
1606
|
+
const json = _chunkYD7B53RWjs.shouldEmitJson.call(void 0, options.json);
|
|
1607
1607
|
const deprecation = migrationDeprecation(command);
|
|
1608
1608
|
if (json) {
|
|
1609
1609
|
const enriched = payload && typeof payload === "object" && !Array.isArray(payload) ? { ...payload, deprecation } : { result: payload, deprecation };
|
|
1610
|
-
|
|
1610
|
+
_chunkYD7B53RWjs.printJson.call(void 0, enriched);
|
|
1611
1611
|
return;
|
|
1612
1612
|
}
|
|
1613
|
-
|
|
1613
|
+
_chunkYD7B53RWjs.printJson.call(void 0, payload);
|
|
1614
1614
|
noticeToStderr(command);
|
|
1615
1615
|
}
|
|
1616
1616
|
function client() {
|
|
1617
|
-
return new (0,
|
|
1617
|
+
return new (0, _chunkV76R6HMVjs.DeeplineClient)();
|
|
1618
1618
|
}
|
|
1619
1619
|
function clientWithTimeout(timeoutSeconds) {
|
|
1620
1620
|
if (!timeoutSeconds) return client();
|
|
@@ -1622,7 +1622,7 @@ function clientWithTimeout(timeoutSeconds) {
|
|
|
1622
1622
|
if (!Number.isFinite(seconds) || seconds <= 0) {
|
|
1623
1623
|
throw new Error("--timeout must be a positive number of seconds.");
|
|
1624
1624
|
}
|
|
1625
|
-
return new (0,
|
|
1625
|
+
return new (0, _chunkV76R6HMVjs.DeeplineClient)({ timeout: seconds * 1e3 });
|
|
1626
1626
|
}
|
|
1627
1627
|
function readStatus(payload) {
|
|
1628
1628
|
if (!payload || typeof payload !== "object") return null;
|
|
@@ -1676,7 +1676,7 @@ async function transformOne(api, workflowId, outDir, publish) {
|
|
|
1676
1676
|
await _promises.writeFile.call(void 0, file, compiled.sourceCode, "utf8");
|
|
1677
1677
|
let published = false;
|
|
1678
1678
|
if (publish) {
|
|
1679
|
-
const { handlePlayPublish } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-
|
|
1679
|
+
const { handlePlayPublish } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-N2B3KAVS.js")));
|
|
1680
1680
|
const code = await handlePlayPublish([file]);
|
|
1681
1681
|
if (code !== 0) {
|
|
1682
1682
|
return {
|
|
@@ -1751,10 +1751,10 @@ async function handleTransform(id, options) {
|
|
|
1751
1751
|
for (const workflowId of ids) {
|
|
1752
1752
|
outcomes.push(await transformOne(api, workflowId, outDir, publish));
|
|
1753
1753
|
}
|
|
1754
|
-
|
|
1754
|
+
_chunkYD7B53RWjs.printCommandEnvelope.call(void 0,
|
|
1755
1755
|
{ outcomes, deprecation: null },
|
|
1756
1756
|
{
|
|
1757
|
-
json:
|
|
1757
|
+
json: _chunkYD7B53RWjs.shouldEmitJson.call(void 0, options.json),
|
|
1758
1758
|
text: renderTransformReport(outcomes)
|
|
1759
1759
|
}
|
|
1760
1760
|
);
|
|
@@ -1775,11 +1775,11 @@ async function handleDelete(id, options) {
|
|
|
1775
1775
|
}
|
|
1776
1776
|
async function handleDisable(id, options) {
|
|
1777
1777
|
const result = await client().disableWorkflow(id);
|
|
1778
|
-
|
|
1778
|
+
_chunkYD7B53RWjs.printJson.call(void 0, result);
|
|
1779
1779
|
}
|
|
1780
1780
|
async function handleEnable(id, options) {
|
|
1781
1781
|
const result = await client().enableWorkflow(id);
|
|
1782
|
-
|
|
1782
|
+
_chunkYD7B53RWjs.printJson.call(void 0, result);
|
|
1783
1783
|
}
|
|
1784
1784
|
async function handleApply(options) {
|
|
1785
1785
|
const body = await readJsonOption(options.payload, options.file);
|
|
@@ -1844,7 +1844,7 @@ async function handleTail(id, runId, options) {
|
|
|
1844
1844
|
if (status && TERMINAL_RUN_STATUSES.has(status) || Date.now() > deadline) {
|
|
1845
1845
|
return;
|
|
1846
1846
|
}
|
|
1847
|
-
await
|
|
1847
|
+
await _chunkYD7B53RWjs.sleep.call(void 0, intervalMs);
|
|
1848
1848
|
}
|
|
1849
1849
|
}
|
|
1850
1850
|
function registerWorkflowCommands(program) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference path="./text-imports.d.ts" />
|
|
2
|
-
import { g as PlayCompilerManifest, ak as ToolResultBilling, Y as BillingEntitlements, ap as BillingBenefitValues } from './compiler-manifest-
|
|
2
|
+
import { g as PlayCompilerManifest, ak as ToolResultBilling, Y as BillingEntitlements, ap as BillingBenefitValues } from './compiler-manifest-Ycx-hoAr.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { MonitorFleetDefinition } from './monitor-fleet-contract.js';
|
|
5
5
|
|
|
@@ -2869,11 +2869,33 @@ type PlayCostEstimate = {
|
|
|
2869
2869
|
sampleRunCount: number;
|
|
2870
2870
|
basedOnRunId: string | null;
|
|
2871
2871
|
modelVersion: string;
|
|
2872
|
+
compute?: {
|
|
2873
|
+
scope: 'sandbox_session';
|
|
2874
|
+
maximumCredits: number;
|
|
2875
|
+
maximumBillingSeconds: number;
|
|
2876
|
+
maximumBackend: 'daytona' | 'modal';
|
|
2877
|
+
pricedBackends: Array<'daytona' | 'modal'>;
|
|
2878
|
+
totalPlayCredits: null;
|
|
2879
|
+
totalPlayCreditsSupported: false;
|
|
2880
|
+
actualUsageBased: true;
|
|
2881
|
+
totalSandboxSessions: 'unbounded';
|
|
2882
|
+
};
|
|
2872
2883
|
} | {
|
|
2873
2884
|
status: 'unavailable';
|
|
2874
|
-
reason: 'ambiguous_output_unit' | 'unbounded_loop' | 'unresolved_tool' | 'mixed_run_and_row_costs';
|
|
2885
|
+
reason: 'ambiguous_output_unit' | 'unbounded_loop' | 'unresolved_tool' | 'unresolved_call_graph' | 'mixed_run_and_row_costs';
|
|
2875
2886
|
message: string;
|
|
2876
2887
|
modelVersion: string;
|
|
2888
|
+
compute?: {
|
|
2889
|
+
scope: 'sandbox_session';
|
|
2890
|
+
maximumCredits: number;
|
|
2891
|
+
maximumBillingSeconds: number;
|
|
2892
|
+
maximumBackend: 'daytona' | 'modal';
|
|
2893
|
+
pricedBackends: Array<'daytona' | 'modal'>;
|
|
2894
|
+
totalPlayCredits: null;
|
|
2895
|
+
totalPlayCreditsSupported: false;
|
|
2896
|
+
actualUsageBased: true;
|
|
2897
|
+
totalSandboxSessions: 'unbounded';
|
|
2898
|
+
};
|
|
2877
2899
|
};
|
|
2878
2900
|
interface PlayListItem {
|
|
2879
2901
|
settings?: PlaySettings;
|
|
@@ -6115,6 +6137,8 @@ type BillingQuoteResult = {
|
|
|
6115
6137
|
cpu: number;
|
|
6116
6138
|
diskGiB: number;
|
|
6117
6139
|
};
|
|
6140
|
+
maximum_backend?: 'daytona' | 'modal';
|
|
6141
|
+
priced_backends?: Array<'daytona' | 'modal'>;
|
|
6118
6142
|
maximum_credits: number;
|
|
6119
6143
|
maximum_billing_seconds: number;
|
|
6120
6144
|
total_play_credits: null;
|
|
@@ -7050,6 +7074,8 @@ declare class DeeplineClient {
|
|
|
7050
7074
|
searchPlays(options: {
|
|
7051
7075
|
query: string;
|
|
7052
7076
|
compact?: boolean;
|
|
7077
|
+
/** Include compiled pipelines. Defaults to true for compatibility. */
|
|
7078
|
+
pipeline?: boolean;
|
|
7053
7079
|
scope?: 'prebuilt' | 'owned' | 'all';
|
|
7054
7080
|
cliInvocationId?: string;
|
|
7055
7081
|
}): Promise<PlayDescription[]>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference path="./text-imports.d.ts" />
|
|
2
|
-
import { g as PlayCompilerManifest, ak as ToolResultBilling, Y as BillingEntitlements, ap as BillingBenefitValues } from './compiler-manifest-
|
|
2
|
+
import { g as PlayCompilerManifest, ak as ToolResultBilling, Y as BillingEntitlements, ap as BillingBenefitValues } from './compiler-manifest-Ycx-hoAr.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { MonitorFleetDefinition } from './monitor-fleet-contract.mjs';
|
|
5
5
|
|
|
@@ -2869,11 +2869,33 @@ type PlayCostEstimate = {
|
|
|
2869
2869
|
sampleRunCount: number;
|
|
2870
2870
|
basedOnRunId: string | null;
|
|
2871
2871
|
modelVersion: string;
|
|
2872
|
+
compute?: {
|
|
2873
|
+
scope: 'sandbox_session';
|
|
2874
|
+
maximumCredits: number;
|
|
2875
|
+
maximumBillingSeconds: number;
|
|
2876
|
+
maximumBackend: 'daytona' | 'modal';
|
|
2877
|
+
pricedBackends: Array<'daytona' | 'modal'>;
|
|
2878
|
+
totalPlayCredits: null;
|
|
2879
|
+
totalPlayCreditsSupported: false;
|
|
2880
|
+
actualUsageBased: true;
|
|
2881
|
+
totalSandboxSessions: 'unbounded';
|
|
2882
|
+
};
|
|
2872
2883
|
} | {
|
|
2873
2884
|
status: 'unavailable';
|
|
2874
|
-
reason: 'ambiguous_output_unit' | 'unbounded_loop' | 'unresolved_tool' | 'mixed_run_and_row_costs';
|
|
2885
|
+
reason: 'ambiguous_output_unit' | 'unbounded_loop' | 'unresolved_tool' | 'unresolved_call_graph' | 'mixed_run_and_row_costs';
|
|
2875
2886
|
message: string;
|
|
2876
2887
|
modelVersion: string;
|
|
2888
|
+
compute?: {
|
|
2889
|
+
scope: 'sandbox_session';
|
|
2890
|
+
maximumCredits: number;
|
|
2891
|
+
maximumBillingSeconds: number;
|
|
2892
|
+
maximumBackend: 'daytona' | 'modal';
|
|
2893
|
+
pricedBackends: Array<'daytona' | 'modal'>;
|
|
2894
|
+
totalPlayCredits: null;
|
|
2895
|
+
totalPlayCreditsSupported: false;
|
|
2896
|
+
actualUsageBased: true;
|
|
2897
|
+
totalSandboxSessions: 'unbounded';
|
|
2898
|
+
};
|
|
2877
2899
|
};
|
|
2878
2900
|
interface PlayListItem {
|
|
2879
2901
|
settings?: PlaySettings;
|
|
@@ -6115,6 +6137,8 @@ type BillingQuoteResult = {
|
|
|
6115
6137
|
cpu: number;
|
|
6116
6138
|
diskGiB: number;
|
|
6117
6139
|
};
|
|
6140
|
+
maximum_backend?: 'daytona' | 'modal';
|
|
6141
|
+
priced_backends?: Array<'daytona' | 'modal'>;
|
|
6118
6142
|
maximum_credits: number;
|
|
6119
6143
|
maximum_billing_seconds: number;
|
|
6120
6144
|
total_play_credits: null;
|
|
@@ -7050,6 +7074,8 @@ declare class DeeplineClient {
|
|
|
7050
7074
|
searchPlays(options: {
|
|
7051
7075
|
query: string;
|
|
7052
7076
|
compact?: boolean;
|
|
7077
|
+
/** Include compiled pipelines. Defaults to true for compatibility. */
|
|
7078
|
+
pipeline?: boolean;
|
|
7053
7079
|
scope?: 'prebuilt' | 'owned' | 'all';
|
|
7054
7080
|
cliInvocationId?: string;
|
|
7055
7081
|
}): Promise<PlayDescription[]>;
|
|
@@ -821,6 +821,8 @@ type ToolExecuteResultBase<TResult = unknown, TMeta = Record<string, unknown>> =
|
|
|
821
821
|
}>;
|
|
822
822
|
/** Original declarations preserve semantic accessor names across replay. */
|
|
823
823
|
listExtractorPaths?: readonly string[];
|
|
824
|
+
/** Additional semantic names for another declared list; original names win. */
|
|
825
|
+
listExtractorAliases?: Readonly<Record<string, string>>;
|
|
824
826
|
};
|
|
825
827
|
};
|
|
826
828
|
type ToolExecuteResultAccessors<TExtracted extends Record<string, unknown> = Partial<DeeplineGetterValueMap>, TLists extends Record<string, Record<string, unknown>> = Record<string, Record<string, unknown>>> = {
|
|
@@ -821,6 +821,8 @@ type ToolExecuteResultBase<TResult = unknown, TMeta = Record<string, unknown>> =
|
|
|
821
821
|
}>;
|
|
822
822
|
/** Original declarations preserve semantic accessor names across replay. */
|
|
823
823
|
listExtractorPaths?: readonly string[];
|
|
824
|
+
/** Additional semantic names for another declared list; original names win. */
|
|
825
|
+
listExtractorAliases?: Readonly<Record<string, string>>;
|
|
824
826
|
};
|
|
825
827
|
};
|
|
826
828
|
type ToolExecuteResultAccessors<TExtracted extends Record<string, unknown> = Partial<DeeplineGetterValueMap>, TLists extends Record<string, Record<string, unknown>> = Record<string, Record<string, unknown>>> = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference path="./text-imports.d.ts" />
|
|
2
|
-
import { b as PlayBundleArtifact, f as PlaySandboxRuntimeDeclaration, g as PlayCompilerManifest, h as PlayArtifactKind } from './compiler-manifest-
|
|
2
|
+
import { b as PlayBundleArtifact, f as PlaySandboxRuntimeDeclaration, g as PlayCompilerManifest, h as PlayArtifactKind } from './compiler-manifest-Ycx-hoAr.mjs';
|
|
3
3
|
|
|
4
4
|
type ImportedPlayDependency = {
|
|
5
5
|
filePath: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference path="./text-imports.d.ts" />
|
|
2
|
-
import { b as PlayBundleArtifact, f as PlaySandboxRuntimeDeclaration, g as PlayCompilerManifest, h as PlayArtifactKind } from './compiler-manifest-
|
|
2
|
+
import { b as PlayBundleArtifact, f as PlaySandboxRuntimeDeclaration, g as PlayCompilerManifest, h as PlayArtifactKind } from './compiler-manifest-Ycx-hoAr.js';
|
|
3
3
|
|
|
4
4
|
type ImportedPlayDependency = {
|
|
5
5
|
filePath: string;
|
package/dist/index.d.mts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/// <reference path="./text-imports.d.ts" />
|
|
2
|
-
import { T as ToolExecuteResult, B as BasicToolExecuteResult, i as PlayDataset, A as AsyncPlayRunRef$1, j as PlayAuthoringColumnMap, k as PlayAuthoringColumnResolver, l as PlayAuthoringRuntimeContext, m as PlayAuthoringConditionalStepResolver, n as PlayAuthoringCsvInput, o as PlayAuthoringCsvOptions, p as PlayAuthoringDatasetBuilder, q as PlayAuthoringDatasetColumnDefinition, r as PlayAuthoringDatasetColumnRunInput, s as PlayAuthoringReferenceLike, t as PlayReturnObject$1, u as PlayAuthoringDefineConfig, v as PlayAuthoringDefinedPlay, w as PlayAuthoringFetchOptions, x as PlayAuthoringFileInput, y as PlayAuthoringAsyncCallOptions, z as PlayAuthoringBindings, C as PlayAuthoringCallExecution, D as PlayAuthoringCallOptions, E as PlayAuthoringFetchResponse, F as PlayAuthoringInputContract, G as PlayRunId$1, H as PlayAuthoringStepProgramStep, I as PlayAuthoringRuntimeStepOptions, J as PlaySqlListenerDeclaration, K as PlaySqlListenerEvent, L as PlaySqlListenerOperation, M as PlaySqlQuery, N as PlayAuthoringStepOptions, O as PlayAuthoringStepProgram, Q as PlayAuthoringStepProgramResolver, R as PlayAuthoringStepResolver, S as PlayToolExecutionRequest, U as PlayAuthoringStepProgramOptions, V as DeeplineError, W as ToolExecutionError, X as ToolExecutionErrorOptions } from './compiler-manifest-
|
|
3
|
-
export { Y as BillingEntitlements, Z as CtxFetchHttpError, _ as DEEPLINE_EXTRACTOR_TARGETS, $ as DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS, a0 as DeeplineEmailStatusGetterValue, a1 as DeeplineExtractorTarget, a2 as DeeplineGetterValue, a3 as DeeplineGetterValueMap, a4 as JOB_CHANGE_STATUS_VALUES, a5 as JobChangeStatus, a6 as PHONE_STATUS_VALUES, a7 as PhoneStatus, a8 as PlayDatasetInput, a9 as PreviousCell, aa as ProviderTransientError, ab as ProviderTransientErrorCategory, ac as ProviderUnavailableError, ad as ProviderUnavailableReason, ae as ToolExecutionErrorCategory, af as ToolExecutionErrorOrigin, ag as ToolExecutionFailureV1, ah as ToolExecutionNetworkKind, ai as ToolExecutionNetworkScope, aj as ToolExecutionPublicDetails, ak as ToolResultBilling, al as getProviderUnavailableReason, am as isDeeplineExtractorTarget, an as isProviderUnavailable, ao as isProviderWaterfallUnavailableError } from './compiler-manifest-
|
|
4
|
-
import { b as DeeplineClientOptions, B as BillingNamespace, T as ToolDefinition, c as ToolMetadata, E as ExecuteToolRawOptions, d as ExecutionRecovery, e as ExecutionByKeyResult, f as PlayListItem, g as PlayDetail, h as PlayRunListItem, i as PlayRevisionSummary, j as PublishPlayVersionResult, C as ClearPlayHistoryResult, k as PlayStatus, l as StopPlayRunResult, a as DeeplineClient, R as ResolvedConfig } from './client-
|
|
5
|
-
export { m as BillingCreditPool, n as BillingInvoiceEntry, o as BillingInvoicesResult, p as BillingPaymentMethodSummary, q as BillingQuoteRequest, r as BillingQuoteResult, s as BillingRecentUsageEntry, t as BillingSubscriptionCancelResult, u as BillingSubscriptionStatus, v as BillingTopUpReceipt, w as BillingTopUpResult, x as BillingUsageEvent, y as BillingUsageOptions, z as BillingUsageResult, A as ChildRunSummary, F as ClearPlayHistoryRequest, G as CreateNotificationGroupInput, H as CreateNotificationGroupResult, I as CustomerDbQueryOptions, J as CustomerDbQueryPlan, K as CustomerDbQueryResult, L as DEEPLINE_TOOL_CATEGORIES, M as DbNamespace, N as DeeplineToolCategory, O as IngestionStorageRepairResult, Q as LegacyMonitorStatusFilter, U as LiveEventEnvelope, V as MONITOR_JOB_PHASES, W as MONITOR_JOB_RECONCILIATION_STATES, X as MONITOR_JOB_STATES, Y as MonitorBatchNamespace, Z as MonitorCheckResult, _ as MonitorDefinition, $ as MonitorDeleteResult, a0 as MonitorDependents, a1 as MonitorDeployResult, a2 as MonitorDetail, a3 as MonitorFleetDeactivateOptions, a4 as MonitorFleetGetOptions, a5 as MonitorFleetReactivateOptions, a6 as MonitorFleetResult, a7 as MonitorFleetStatus, a8 as MonitorFleetSyncOptions, a9 as MonitorFleetWaitOptions, aa as MonitorFleetsNamespace, ab as MonitorJobDeployOptions, ac as MonitorJobLogsOptions, ad as MonitorJobPhase, ae as MonitorJobReconciliationState, af as MonitorJobResult, ag as MonitorJobState, ah as MonitorJobWaitOptions, ai as MonitorJobsNamespace, aj as MonitorListEntry, ak as MonitorPayload, al as MonitorReactivateResult, am as MonitorSpec, an as MonitorState, ao as MonitorStateFilter, ap as MonitorUpdateChangeSummary, aq as MonitorUpdateResult, ar as MonitorsAccessStatus, as as MonitorsAvailableOptions, at as MonitorsAvailableResult, au as MonitorsListOptions, av as MonitorsListResult, aw as MonitorsNamespace, ax as NormalizedRunEventQuery, ay as PlayActivityObservation, az as PlayActivityState, aA as PlayActivityTarget, aB as PlayCostEstimate, aC as PlayCronTriggerConfig, aD as PlayDescriptionOptions, aE as PlayLiveEvent, aF as PlayPath, aG as PlayRunActionPackage, aH as PlayRunActivityProjection, aI as PlayRunDatasetActions, aJ as PlayRunPackage, aK as PlayRunResult, aL as PlayRunRowHistoryOptions, aM as PlayRunStart, aN as PlaySettings, aO as PlaySettingsPatch, aP as PlaySettingsPathsPage, aQ as PlaySettingsResult, aR as PlaySheetRow, aS as PlaySheetRowsResult, aT as PlayTriggerConfigUpdate, aU as PlayTriggerConfigUpdateResult, aV as PlayTriggerConfigView, aW as PlayWebhookAuthConfig, aX as PlayWebhookTriggerConfig, aY as PlaysActivityResponse, aZ as PlaysListOptions, a_ as PlaysListPage, a$ as PublishPlayVersionRequest, b0 as RerunOptions, b1 as RerunPlayRunResult, b2 as RunChildrenPage, b3 as RunEventCountResult, b4 as RunEventField, b5 as RunEventFieldDescriptor, b6 as RunEventFieldOperators, b7 as RunEventFieldsResult, b8 as RunEventGroupValue, b9 as RunEventMeasure, ba as RunEventQueryCriteria, bb as RunEventQueryEvent, bc as RunEventQueryInputError, bd as RunEventQueryOptions, be as RunEventQueryPage, bf as RunEventQueryRetention, bg as RunEventScalar, bh as RunEventSummaryOptions, bi as RunEventSummaryResult, bj as RunEventWhere, bk as RunLifecycleStatus, bl as RunToolReceiptResult, bm as RunToolReceiptsResponse, bn as RunsChildrenOptions, bo as RunsEventPayload, bp as RunsEventSearchEntry, bq as RunsEventSearchOptions, br as RunsEventSearchResult, bs as RunsEventsCountResult, bt as RunsEventsCriteria, bu as RunsEventsFieldsOptions, bv as RunsEventsListOptions, bw as RunsEventsListResult, bx as RunsEventsNamespace, by as RunsEventsSummaryOptions, bz as RunsEventsSummaryResult, bA as RunsHistoryItem, bB as RunsHistoryOptions, bC as RunsHistoryPage, bD as RunsListOptions, bE as RunsListPage, bF as RunsLogCriteria, bG as RunsLogsCountResult, bH as RunsLogsNamespace, bI as RunsLogsOptions, bJ as RunsLogsQueryOptions, bK as RunsLogsQueryResult, bL as RunsLogsResult, bM as RunsLogsSummaryOptions, bN as RunsLogsSummaryResult, bO as RunsNamespace, bP as RunsTailOptions, bQ as RunsWatchOptions, bR as SearchOptions, bS as SearchResult, bT as SearchResultItem, S as SearchType, bU as StartPlayRunRequest, bV as StopAllCandidate, bW as StopAllPlayRunsDryRunResult, bX as StopAllPlayRunsResult, bY as StopAllPlayRunsStopResult, bZ as StopAllRunsOptions, b_ as ToolExecution, b$ as ToolRequestCondition, c0 as ToolRequestWarningRule, c1 as ToolSearchOptions, c2 as ToolSearchResult, c3 as WorkspaceCreateResult, c4 as WorkspacesNamespace, c5 as defineMonitor, c6 as isStopAllPlayRunsDryRunResult, c7 as planCustomerDbQuery } from './client-
|
|
6
|
-
import { b as BundledPlayFileSuccess } from './index-
|
|
2
|
+
import { T as ToolExecuteResult, B as BasicToolExecuteResult, i as PlayDataset, A as AsyncPlayRunRef$1, j as PlayAuthoringColumnMap, k as PlayAuthoringColumnResolver, l as PlayAuthoringRuntimeContext, m as PlayAuthoringConditionalStepResolver, n as PlayAuthoringCsvInput, o as PlayAuthoringCsvOptions, p as PlayAuthoringDatasetBuilder, q as PlayAuthoringDatasetColumnDefinition, r as PlayAuthoringDatasetColumnRunInput, s as PlayAuthoringReferenceLike, t as PlayReturnObject$1, u as PlayAuthoringDefineConfig, v as PlayAuthoringDefinedPlay, w as PlayAuthoringFetchOptions, x as PlayAuthoringFileInput, y as PlayAuthoringAsyncCallOptions, z as PlayAuthoringBindings, C as PlayAuthoringCallExecution, D as PlayAuthoringCallOptions, E as PlayAuthoringFetchResponse, F as PlayAuthoringInputContract, G as PlayRunId$1, H as PlayAuthoringStepProgramStep, I as PlayAuthoringRuntimeStepOptions, J as PlaySqlListenerDeclaration, K as PlaySqlListenerEvent, L as PlaySqlListenerOperation, M as PlaySqlQuery, N as PlayAuthoringStepOptions, O as PlayAuthoringStepProgram, Q as PlayAuthoringStepProgramResolver, R as PlayAuthoringStepResolver, S as PlayToolExecutionRequest, U as PlayAuthoringStepProgramOptions, V as DeeplineError, W as ToolExecutionError, X as ToolExecutionErrorOptions } from './compiler-manifest-Ycx-hoAr.mjs';
|
|
3
|
+
export { Y as BillingEntitlements, Z as CtxFetchHttpError, _ as DEEPLINE_EXTRACTOR_TARGETS, $ as DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS, a0 as DeeplineEmailStatusGetterValue, a1 as DeeplineExtractorTarget, a2 as DeeplineGetterValue, a3 as DeeplineGetterValueMap, a4 as JOB_CHANGE_STATUS_VALUES, a5 as JobChangeStatus, a6 as PHONE_STATUS_VALUES, a7 as PhoneStatus, a8 as PlayDatasetInput, a9 as PreviousCell, aa as ProviderTransientError, ab as ProviderTransientErrorCategory, ac as ProviderUnavailableError, ad as ProviderUnavailableReason, ae as ToolExecutionErrorCategory, af as ToolExecutionErrorOrigin, ag as ToolExecutionFailureV1, ah as ToolExecutionNetworkKind, ai as ToolExecutionNetworkScope, aj as ToolExecutionPublicDetails, ak as ToolResultBilling, al as getProviderUnavailableReason, am as isDeeplineExtractorTarget, an as isProviderUnavailable, ao as isProviderWaterfallUnavailableError } from './compiler-manifest-Ycx-hoAr.mjs';
|
|
4
|
+
import { b as DeeplineClientOptions, B as BillingNamespace, T as ToolDefinition, c as ToolMetadata, E as ExecuteToolRawOptions, d as ExecutionRecovery, e as ExecutionByKeyResult, f as PlayListItem, g as PlayDetail, h as PlayRunListItem, i as PlayRevisionSummary, j as PublishPlayVersionResult, C as ClearPlayHistoryResult, k as PlayStatus, l as StopPlayRunResult, a as DeeplineClient, R as ResolvedConfig } from './client-BfInrZPB.mjs';
|
|
5
|
+
export { m as BillingCreditPool, n as BillingInvoiceEntry, o as BillingInvoicesResult, p as BillingPaymentMethodSummary, q as BillingQuoteRequest, r as BillingQuoteResult, s as BillingRecentUsageEntry, t as BillingSubscriptionCancelResult, u as BillingSubscriptionStatus, v as BillingTopUpReceipt, w as BillingTopUpResult, x as BillingUsageEvent, y as BillingUsageOptions, z as BillingUsageResult, A as ChildRunSummary, F as ClearPlayHistoryRequest, G as CreateNotificationGroupInput, H as CreateNotificationGroupResult, I as CustomerDbQueryOptions, J as CustomerDbQueryPlan, K as CustomerDbQueryResult, L as DEEPLINE_TOOL_CATEGORIES, M as DbNamespace, N as DeeplineToolCategory, O as IngestionStorageRepairResult, Q as LegacyMonitorStatusFilter, U as LiveEventEnvelope, V as MONITOR_JOB_PHASES, W as MONITOR_JOB_RECONCILIATION_STATES, X as MONITOR_JOB_STATES, Y as MonitorBatchNamespace, Z as MonitorCheckResult, _ as MonitorDefinition, $ as MonitorDeleteResult, a0 as MonitorDependents, a1 as MonitorDeployResult, a2 as MonitorDetail, a3 as MonitorFleetDeactivateOptions, a4 as MonitorFleetGetOptions, a5 as MonitorFleetReactivateOptions, a6 as MonitorFleetResult, a7 as MonitorFleetStatus, a8 as MonitorFleetSyncOptions, a9 as MonitorFleetWaitOptions, aa as MonitorFleetsNamespace, ab as MonitorJobDeployOptions, ac as MonitorJobLogsOptions, ad as MonitorJobPhase, ae as MonitorJobReconciliationState, af as MonitorJobResult, ag as MonitorJobState, ah as MonitorJobWaitOptions, ai as MonitorJobsNamespace, aj as MonitorListEntry, ak as MonitorPayload, al as MonitorReactivateResult, am as MonitorSpec, an as MonitorState, ao as MonitorStateFilter, ap as MonitorUpdateChangeSummary, aq as MonitorUpdateResult, ar as MonitorsAccessStatus, as as MonitorsAvailableOptions, at as MonitorsAvailableResult, au as MonitorsListOptions, av as MonitorsListResult, aw as MonitorsNamespace, ax as NormalizedRunEventQuery, ay as PlayActivityObservation, az as PlayActivityState, aA as PlayActivityTarget, aB as PlayCostEstimate, aC as PlayCronTriggerConfig, aD as PlayDescriptionOptions, aE as PlayLiveEvent, aF as PlayPath, aG as PlayRunActionPackage, aH as PlayRunActivityProjection, aI as PlayRunDatasetActions, aJ as PlayRunPackage, aK as PlayRunResult, aL as PlayRunRowHistoryOptions, aM as PlayRunStart, aN as PlaySettings, aO as PlaySettingsPatch, aP as PlaySettingsPathsPage, aQ as PlaySettingsResult, aR as PlaySheetRow, aS as PlaySheetRowsResult, aT as PlayTriggerConfigUpdate, aU as PlayTriggerConfigUpdateResult, aV as PlayTriggerConfigView, aW as PlayWebhookAuthConfig, aX as PlayWebhookTriggerConfig, aY as PlaysActivityResponse, aZ as PlaysListOptions, a_ as PlaysListPage, a$ as PublishPlayVersionRequest, b0 as RerunOptions, b1 as RerunPlayRunResult, b2 as RunChildrenPage, b3 as RunEventCountResult, b4 as RunEventField, b5 as RunEventFieldDescriptor, b6 as RunEventFieldOperators, b7 as RunEventFieldsResult, b8 as RunEventGroupValue, b9 as RunEventMeasure, ba as RunEventQueryCriteria, bb as RunEventQueryEvent, bc as RunEventQueryInputError, bd as RunEventQueryOptions, be as RunEventQueryPage, bf as RunEventQueryRetention, bg as RunEventScalar, bh as RunEventSummaryOptions, bi as RunEventSummaryResult, bj as RunEventWhere, bk as RunLifecycleStatus, bl as RunToolReceiptResult, bm as RunToolReceiptsResponse, bn as RunsChildrenOptions, bo as RunsEventPayload, bp as RunsEventSearchEntry, bq as RunsEventSearchOptions, br as RunsEventSearchResult, bs as RunsEventsCountResult, bt as RunsEventsCriteria, bu as RunsEventsFieldsOptions, bv as RunsEventsListOptions, bw as RunsEventsListResult, bx as RunsEventsNamespace, by as RunsEventsSummaryOptions, bz as RunsEventsSummaryResult, bA as RunsHistoryItem, bB as RunsHistoryOptions, bC as RunsHistoryPage, bD as RunsListOptions, bE as RunsListPage, bF as RunsLogCriteria, bG as RunsLogsCountResult, bH as RunsLogsNamespace, bI as RunsLogsOptions, bJ as RunsLogsQueryOptions, bK as RunsLogsQueryResult, bL as RunsLogsResult, bM as RunsLogsSummaryOptions, bN as RunsLogsSummaryResult, bO as RunsNamespace, bP as RunsTailOptions, bQ as RunsWatchOptions, bR as SearchOptions, bS as SearchResult, bT as SearchResultItem, S as SearchType, bU as StartPlayRunRequest, bV as StopAllCandidate, bW as StopAllPlayRunsDryRunResult, bX as StopAllPlayRunsResult, bY as StopAllPlayRunsStopResult, bZ as StopAllRunsOptions, b_ as ToolExecution, b$ as ToolRequestCondition, c0 as ToolRequestWarningRule, c1 as ToolSearchOptions, c2 as ToolSearchResult, c3 as WorkspaceCreateResult, c4 as WorkspacesNamespace, c5 as defineMonitor, c6 as isStopAllPlayRunsDryRunResult, c7 as planCustomerDbQuery } from './client-BfInrZPB.mjs';
|
|
6
|
+
import { b as BundledPlayFileSuccess } from './index-CZXgiN3E.mjs';
|
|
7
7
|
export { BatchMonitorInput, MonitorInputIssue, MonitorSpec as MonitorInputSpec, lintMonitorBatchInput, lintMonitorSpecTemplate, renderMonitorSpecTemplate } from './monitor-input-contract.mjs';
|
|
8
8
|
export { AdmittedMonitorFleetAuthoringContract, MONITOR_FLEET_AUTHORING_CONTRACT_CHANGELOG, MONITOR_FLEET_AUTHORING_CONTRACT_EDITION, MONITOR_FLEET_DOCUMENTATION, MONITOR_FLEET_FRONTIER_MAX_ROWS, MONITOR_FLEET_MAX_MEMBERS, MonitorFleetAuthoringContractEdition, MonitorFleetAuthoringContractResult, MonitorFleetColumn, MonitorFleetContractIssue, MonitorFleetDefinition, MonitorFleetExpression, MonitorFleetTemplate, admitMonitorFleetAuthoringContract, defineMonitorFleet, fleetColumn, fleetKey, lintMonitorFleetInput, validateMonitorFleetDefinition } from './monitor-fleet-contract.mjs';
|
|
9
9
|
import '@sinclair/typebox';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/// <reference path="./text-imports.d.ts" />
|
|
2
|
-
import { T as ToolExecuteResult, B as BasicToolExecuteResult, i as PlayDataset, A as AsyncPlayRunRef$1, j as PlayAuthoringColumnMap, k as PlayAuthoringColumnResolver, l as PlayAuthoringRuntimeContext, m as PlayAuthoringConditionalStepResolver, n as PlayAuthoringCsvInput, o as PlayAuthoringCsvOptions, p as PlayAuthoringDatasetBuilder, q as PlayAuthoringDatasetColumnDefinition, r as PlayAuthoringDatasetColumnRunInput, s as PlayAuthoringReferenceLike, t as PlayReturnObject$1, u as PlayAuthoringDefineConfig, v as PlayAuthoringDefinedPlay, w as PlayAuthoringFetchOptions, x as PlayAuthoringFileInput, y as PlayAuthoringAsyncCallOptions, z as PlayAuthoringBindings, C as PlayAuthoringCallExecution, D as PlayAuthoringCallOptions, E as PlayAuthoringFetchResponse, F as PlayAuthoringInputContract, G as PlayRunId$1, H as PlayAuthoringStepProgramStep, I as PlayAuthoringRuntimeStepOptions, J as PlaySqlListenerDeclaration, K as PlaySqlListenerEvent, L as PlaySqlListenerOperation, M as PlaySqlQuery, N as PlayAuthoringStepOptions, O as PlayAuthoringStepProgram, Q as PlayAuthoringStepProgramResolver, R as PlayAuthoringStepResolver, S as PlayToolExecutionRequest, U as PlayAuthoringStepProgramOptions, V as DeeplineError, W as ToolExecutionError, X as ToolExecutionErrorOptions } from './compiler-manifest-
|
|
3
|
-
export { Y as BillingEntitlements, Z as CtxFetchHttpError, _ as DEEPLINE_EXTRACTOR_TARGETS, $ as DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS, a0 as DeeplineEmailStatusGetterValue, a1 as DeeplineExtractorTarget, a2 as DeeplineGetterValue, a3 as DeeplineGetterValueMap, a4 as JOB_CHANGE_STATUS_VALUES, a5 as JobChangeStatus, a6 as PHONE_STATUS_VALUES, a7 as PhoneStatus, a8 as PlayDatasetInput, a9 as PreviousCell, aa as ProviderTransientError, ab as ProviderTransientErrorCategory, ac as ProviderUnavailableError, ad as ProviderUnavailableReason, ae as ToolExecutionErrorCategory, af as ToolExecutionErrorOrigin, ag as ToolExecutionFailureV1, ah as ToolExecutionNetworkKind, ai as ToolExecutionNetworkScope, aj as ToolExecutionPublicDetails, ak as ToolResultBilling, al as getProviderUnavailableReason, am as isDeeplineExtractorTarget, an as isProviderUnavailable, ao as isProviderWaterfallUnavailableError } from './compiler-manifest-
|
|
4
|
-
import { b as DeeplineClientOptions, B as BillingNamespace, T as ToolDefinition, c as ToolMetadata, E as ExecuteToolRawOptions, d as ExecutionRecovery, e as ExecutionByKeyResult, f as PlayListItem, g as PlayDetail, h as PlayRunListItem, i as PlayRevisionSummary, j as PublishPlayVersionResult, C as ClearPlayHistoryResult, k as PlayStatus, l as StopPlayRunResult, a as DeeplineClient, R as ResolvedConfig } from './client-
|
|
5
|
-
export { m as BillingCreditPool, n as BillingInvoiceEntry, o as BillingInvoicesResult, p as BillingPaymentMethodSummary, q as BillingQuoteRequest, r as BillingQuoteResult, s as BillingRecentUsageEntry, t as BillingSubscriptionCancelResult, u as BillingSubscriptionStatus, v as BillingTopUpReceipt, w as BillingTopUpResult, x as BillingUsageEvent, y as BillingUsageOptions, z as BillingUsageResult, A as ChildRunSummary, F as ClearPlayHistoryRequest, G as CreateNotificationGroupInput, H as CreateNotificationGroupResult, I as CustomerDbQueryOptions, J as CustomerDbQueryPlan, K as CustomerDbQueryResult, L as DEEPLINE_TOOL_CATEGORIES, M as DbNamespace, N as DeeplineToolCategory, O as IngestionStorageRepairResult, Q as LegacyMonitorStatusFilter, U as LiveEventEnvelope, V as MONITOR_JOB_PHASES, W as MONITOR_JOB_RECONCILIATION_STATES, X as MONITOR_JOB_STATES, Y as MonitorBatchNamespace, Z as MonitorCheckResult, _ as MonitorDefinition, $ as MonitorDeleteResult, a0 as MonitorDependents, a1 as MonitorDeployResult, a2 as MonitorDetail, a3 as MonitorFleetDeactivateOptions, a4 as MonitorFleetGetOptions, a5 as MonitorFleetReactivateOptions, a6 as MonitorFleetResult, a7 as MonitorFleetStatus, a8 as MonitorFleetSyncOptions, a9 as MonitorFleetWaitOptions, aa as MonitorFleetsNamespace, ab as MonitorJobDeployOptions, ac as MonitorJobLogsOptions, ad as MonitorJobPhase, ae as MonitorJobReconciliationState, af as MonitorJobResult, ag as MonitorJobState, ah as MonitorJobWaitOptions, ai as MonitorJobsNamespace, aj as MonitorListEntry, ak as MonitorPayload, al as MonitorReactivateResult, am as MonitorSpec, an as MonitorState, ao as MonitorStateFilter, ap as MonitorUpdateChangeSummary, aq as MonitorUpdateResult, ar as MonitorsAccessStatus, as as MonitorsAvailableOptions, at as MonitorsAvailableResult, au as MonitorsListOptions, av as MonitorsListResult, aw as MonitorsNamespace, ax as NormalizedRunEventQuery, ay as PlayActivityObservation, az as PlayActivityState, aA as PlayActivityTarget, aB as PlayCostEstimate, aC as PlayCronTriggerConfig, aD as PlayDescriptionOptions, aE as PlayLiveEvent, aF as PlayPath, aG as PlayRunActionPackage, aH as PlayRunActivityProjection, aI as PlayRunDatasetActions, aJ as PlayRunPackage, aK as PlayRunResult, aL as PlayRunRowHistoryOptions, aM as PlayRunStart, aN as PlaySettings, aO as PlaySettingsPatch, aP as PlaySettingsPathsPage, aQ as PlaySettingsResult, aR as PlaySheetRow, aS as PlaySheetRowsResult, aT as PlayTriggerConfigUpdate, aU as PlayTriggerConfigUpdateResult, aV as PlayTriggerConfigView, aW as PlayWebhookAuthConfig, aX as PlayWebhookTriggerConfig, aY as PlaysActivityResponse, aZ as PlaysListOptions, a_ as PlaysListPage, a$ as PublishPlayVersionRequest, b0 as RerunOptions, b1 as RerunPlayRunResult, b2 as RunChildrenPage, b3 as RunEventCountResult, b4 as RunEventField, b5 as RunEventFieldDescriptor, b6 as RunEventFieldOperators, b7 as RunEventFieldsResult, b8 as RunEventGroupValue, b9 as RunEventMeasure, ba as RunEventQueryCriteria, bb as RunEventQueryEvent, bc as RunEventQueryInputError, bd as RunEventQueryOptions, be as RunEventQueryPage, bf as RunEventQueryRetention, bg as RunEventScalar, bh as RunEventSummaryOptions, bi as RunEventSummaryResult, bj as RunEventWhere, bk as RunLifecycleStatus, bl as RunToolReceiptResult, bm as RunToolReceiptsResponse, bn as RunsChildrenOptions, bo as RunsEventPayload, bp as RunsEventSearchEntry, bq as RunsEventSearchOptions, br as RunsEventSearchResult, bs as RunsEventsCountResult, bt as RunsEventsCriteria, bu as RunsEventsFieldsOptions, bv as RunsEventsListOptions, bw as RunsEventsListResult, bx as RunsEventsNamespace, by as RunsEventsSummaryOptions, bz as RunsEventsSummaryResult, bA as RunsHistoryItem, bB as RunsHistoryOptions, bC as RunsHistoryPage, bD as RunsListOptions, bE as RunsListPage, bF as RunsLogCriteria, bG as RunsLogsCountResult, bH as RunsLogsNamespace, bI as RunsLogsOptions, bJ as RunsLogsQueryOptions, bK as RunsLogsQueryResult, bL as RunsLogsResult, bM as RunsLogsSummaryOptions, bN as RunsLogsSummaryResult, bO as RunsNamespace, bP as RunsTailOptions, bQ as RunsWatchOptions, bR as SearchOptions, bS as SearchResult, bT as SearchResultItem, S as SearchType, bU as StartPlayRunRequest, bV as StopAllCandidate, bW as StopAllPlayRunsDryRunResult, bX as StopAllPlayRunsResult, bY as StopAllPlayRunsStopResult, bZ as StopAllRunsOptions, b_ as ToolExecution, b$ as ToolRequestCondition, c0 as ToolRequestWarningRule, c1 as ToolSearchOptions, c2 as ToolSearchResult, c3 as WorkspaceCreateResult, c4 as WorkspacesNamespace, c5 as defineMonitor, c6 as isStopAllPlayRunsDryRunResult, c7 as planCustomerDbQuery } from './client-
|
|
6
|
-
import { b as BundledPlayFileSuccess } from './index-
|
|
2
|
+
import { T as ToolExecuteResult, B as BasicToolExecuteResult, i as PlayDataset, A as AsyncPlayRunRef$1, j as PlayAuthoringColumnMap, k as PlayAuthoringColumnResolver, l as PlayAuthoringRuntimeContext, m as PlayAuthoringConditionalStepResolver, n as PlayAuthoringCsvInput, o as PlayAuthoringCsvOptions, p as PlayAuthoringDatasetBuilder, q as PlayAuthoringDatasetColumnDefinition, r as PlayAuthoringDatasetColumnRunInput, s as PlayAuthoringReferenceLike, t as PlayReturnObject$1, u as PlayAuthoringDefineConfig, v as PlayAuthoringDefinedPlay, w as PlayAuthoringFetchOptions, x as PlayAuthoringFileInput, y as PlayAuthoringAsyncCallOptions, z as PlayAuthoringBindings, C as PlayAuthoringCallExecution, D as PlayAuthoringCallOptions, E as PlayAuthoringFetchResponse, F as PlayAuthoringInputContract, G as PlayRunId$1, H as PlayAuthoringStepProgramStep, I as PlayAuthoringRuntimeStepOptions, J as PlaySqlListenerDeclaration, K as PlaySqlListenerEvent, L as PlaySqlListenerOperation, M as PlaySqlQuery, N as PlayAuthoringStepOptions, O as PlayAuthoringStepProgram, Q as PlayAuthoringStepProgramResolver, R as PlayAuthoringStepResolver, S as PlayToolExecutionRequest, U as PlayAuthoringStepProgramOptions, V as DeeplineError, W as ToolExecutionError, X as ToolExecutionErrorOptions } from './compiler-manifest-Ycx-hoAr.js';
|
|
3
|
+
export { Y as BillingEntitlements, Z as CtxFetchHttpError, _ as DEEPLINE_EXTRACTOR_TARGETS, $ as DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS, a0 as DeeplineEmailStatusGetterValue, a1 as DeeplineExtractorTarget, a2 as DeeplineGetterValue, a3 as DeeplineGetterValueMap, a4 as JOB_CHANGE_STATUS_VALUES, a5 as JobChangeStatus, a6 as PHONE_STATUS_VALUES, a7 as PhoneStatus, a8 as PlayDatasetInput, a9 as PreviousCell, aa as ProviderTransientError, ab as ProviderTransientErrorCategory, ac as ProviderUnavailableError, ad as ProviderUnavailableReason, ae as ToolExecutionErrorCategory, af as ToolExecutionErrorOrigin, ag as ToolExecutionFailureV1, ah as ToolExecutionNetworkKind, ai as ToolExecutionNetworkScope, aj as ToolExecutionPublicDetails, ak as ToolResultBilling, al as getProviderUnavailableReason, am as isDeeplineExtractorTarget, an as isProviderUnavailable, ao as isProviderWaterfallUnavailableError } from './compiler-manifest-Ycx-hoAr.js';
|
|
4
|
+
import { b as DeeplineClientOptions, B as BillingNamespace, T as ToolDefinition, c as ToolMetadata, E as ExecuteToolRawOptions, d as ExecutionRecovery, e as ExecutionByKeyResult, f as PlayListItem, g as PlayDetail, h as PlayRunListItem, i as PlayRevisionSummary, j as PublishPlayVersionResult, C as ClearPlayHistoryResult, k as PlayStatus, l as StopPlayRunResult, a as DeeplineClient, R as ResolvedConfig } from './client-BMjJFpan.js';
|
|
5
|
+
export { m as BillingCreditPool, n as BillingInvoiceEntry, o as BillingInvoicesResult, p as BillingPaymentMethodSummary, q as BillingQuoteRequest, r as BillingQuoteResult, s as BillingRecentUsageEntry, t as BillingSubscriptionCancelResult, u as BillingSubscriptionStatus, v as BillingTopUpReceipt, w as BillingTopUpResult, x as BillingUsageEvent, y as BillingUsageOptions, z as BillingUsageResult, A as ChildRunSummary, F as ClearPlayHistoryRequest, G as CreateNotificationGroupInput, H as CreateNotificationGroupResult, I as CustomerDbQueryOptions, J as CustomerDbQueryPlan, K as CustomerDbQueryResult, L as DEEPLINE_TOOL_CATEGORIES, M as DbNamespace, N as DeeplineToolCategory, O as IngestionStorageRepairResult, Q as LegacyMonitorStatusFilter, U as LiveEventEnvelope, V as MONITOR_JOB_PHASES, W as MONITOR_JOB_RECONCILIATION_STATES, X as MONITOR_JOB_STATES, Y as MonitorBatchNamespace, Z as MonitorCheckResult, _ as MonitorDefinition, $ as MonitorDeleteResult, a0 as MonitorDependents, a1 as MonitorDeployResult, a2 as MonitorDetail, a3 as MonitorFleetDeactivateOptions, a4 as MonitorFleetGetOptions, a5 as MonitorFleetReactivateOptions, a6 as MonitorFleetResult, a7 as MonitorFleetStatus, a8 as MonitorFleetSyncOptions, a9 as MonitorFleetWaitOptions, aa as MonitorFleetsNamespace, ab as MonitorJobDeployOptions, ac as MonitorJobLogsOptions, ad as MonitorJobPhase, ae as MonitorJobReconciliationState, af as MonitorJobResult, ag as MonitorJobState, ah as MonitorJobWaitOptions, ai as MonitorJobsNamespace, aj as MonitorListEntry, ak as MonitorPayload, al as MonitorReactivateResult, am as MonitorSpec, an as MonitorState, ao as MonitorStateFilter, ap as MonitorUpdateChangeSummary, aq as MonitorUpdateResult, ar as MonitorsAccessStatus, as as MonitorsAvailableOptions, at as MonitorsAvailableResult, au as MonitorsListOptions, av as MonitorsListResult, aw as MonitorsNamespace, ax as NormalizedRunEventQuery, ay as PlayActivityObservation, az as PlayActivityState, aA as PlayActivityTarget, aB as PlayCostEstimate, aC as PlayCronTriggerConfig, aD as PlayDescriptionOptions, aE as PlayLiveEvent, aF as PlayPath, aG as PlayRunActionPackage, aH as PlayRunActivityProjection, aI as PlayRunDatasetActions, aJ as PlayRunPackage, aK as PlayRunResult, aL as PlayRunRowHistoryOptions, aM as PlayRunStart, aN as PlaySettings, aO as PlaySettingsPatch, aP as PlaySettingsPathsPage, aQ as PlaySettingsResult, aR as PlaySheetRow, aS as PlaySheetRowsResult, aT as PlayTriggerConfigUpdate, aU as PlayTriggerConfigUpdateResult, aV as PlayTriggerConfigView, aW as PlayWebhookAuthConfig, aX as PlayWebhookTriggerConfig, aY as PlaysActivityResponse, aZ as PlaysListOptions, a_ as PlaysListPage, a$ as PublishPlayVersionRequest, b0 as RerunOptions, b1 as RerunPlayRunResult, b2 as RunChildrenPage, b3 as RunEventCountResult, b4 as RunEventField, b5 as RunEventFieldDescriptor, b6 as RunEventFieldOperators, b7 as RunEventFieldsResult, b8 as RunEventGroupValue, b9 as RunEventMeasure, ba as RunEventQueryCriteria, bb as RunEventQueryEvent, bc as RunEventQueryInputError, bd as RunEventQueryOptions, be as RunEventQueryPage, bf as RunEventQueryRetention, bg as RunEventScalar, bh as RunEventSummaryOptions, bi as RunEventSummaryResult, bj as RunEventWhere, bk as RunLifecycleStatus, bl as RunToolReceiptResult, bm as RunToolReceiptsResponse, bn as RunsChildrenOptions, bo as RunsEventPayload, bp as RunsEventSearchEntry, bq as RunsEventSearchOptions, br as RunsEventSearchResult, bs as RunsEventsCountResult, bt as RunsEventsCriteria, bu as RunsEventsFieldsOptions, bv as RunsEventsListOptions, bw as RunsEventsListResult, bx as RunsEventsNamespace, by as RunsEventsSummaryOptions, bz as RunsEventsSummaryResult, bA as RunsHistoryItem, bB as RunsHistoryOptions, bC as RunsHistoryPage, bD as RunsListOptions, bE as RunsListPage, bF as RunsLogCriteria, bG as RunsLogsCountResult, bH as RunsLogsNamespace, bI as RunsLogsOptions, bJ as RunsLogsQueryOptions, bK as RunsLogsQueryResult, bL as RunsLogsResult, bM as RunsLogsSummaryOptions, bN as RunsLogsSummaryResult, bO as RunsNamespace, bP as RunsTailOptions, bQ as RunsWatchOptions, bR as SearchOptions, bS as SearchResult, bT as SearchResultItem, S as SearchType, bU as StartPlayRunRequest, bV as StopAllCandidate, bW as StopAllPlayRunsDryRunResult, bX as StopAllPlayRunsResult, bY as StopAllPlayRunsStopResult, bZ as StopAllRunsOptions, b_ as ToolExecution, b$ as ToolRequestCondition, c0 as ToolRequestWarningRule, c1 as ToolSearchOptions, c2 as ToolSearchResult, c3 as WorkspaceCreateResult, c4 as WorkspacesNamespace, c5 as defineMonitor, c6 as isStopAllPlayRunsDryRunResult, c7 as planCustomerDbQuery } from './client-BMjJFpan.js';
|
|
6
|
+
import { b as BundledPlayFileSuccess } from './index-NPG5pqxQ.js';
|
|
7
7
|
export { BatchMonitorInput, MonitorInputIssue, MonitorSpec as MonitorInputSpec, lintMonitorBatchInput, lintMonitorSpecTemplate, renderMonitorSpecTemplate } from './monitor-input-contract.js';
|
|
8
8
|
export { AdmittedMonitorFleetAuthoringContract, MONITOR_FLEET_AUTHORING_CONTRACT_CHANGELOG, MONITOR_FLEET_AUTHORING_CONTRACT_EDITION, MONITOR_FLEET_DOCUMENTATION, MONITOR_FLEET_FRONTIER_MAX_ROWS, MONITOR_FLEET_MAX_MEMBERS, MonitorFleetAuthoringContractEdition, MonitorFleetAuthoringContractResult, MonitorFleetColumn, MonitorFleetContractIssue, MonitorFleetDefinition, MonitorFleetExpression, MonitorFleetTemplate, admitMonitorFleetAuthoringContract, defineMonitorFleet, fleetColumn, fleetKey, lintMonitorFleetInput, validateMonitorFleetDefinition } from './monitor-fleet-contract.js';
|
|
9
9
|
import '@sinclair/typebox';
|
package/dist/index.js
CHANGED
|
@@ -28,7 +28,7 @@ var _chunkZ4VNJOF7js = require('./cli/chunk-Z4VNJOF7.js');
|
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
var
|
|
31
|
+
var _chunkV76R6HMVjs = require('./cli/chunk-V76R6HMV.js');
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
var _chunkS6R3OX7Bjs = require('./cli/chunk-S6R3OX7B.js');
|
|
@@ -62,7 +62,7 @@ var _chunkIF75RD6Ujs = require('./cli/chunk-IF75RD6U.js');
|
|
|
62
62
|
|
|
63
63
|
|
|
64
64
|
|
|
65
|
-
var
|
|
65
|
+
var _chunkFJCIUF34js = require('./cli/chunk-FJCIUF34.js');
|
|
66
66
|
|
|
67
67
|
|
|
68
68
|
|
|
@@ -79,7 +79,7 @@ require('./cli/chunk-XNYIZMNQ.js');
|
|
|
79
79
|
|
|
80
80
|
|
|
81
81
|
var _chunk7P5AA3SNjs = require('./cli/chunk-7P5AA3SN.js');
|
|
82
|
-
require('./cli/chunk-
|
|
82
|
+
require('./cli/chunk-DEC3JECC.js');
|
|
83
83
|
require('./cli/chunk-OG64RBAC.js');
|
|
84
84
|
require('./cli/chunk-COGTRVWW.js');
|
|
85
85
|
|
|
@@ -748,7 +748,8 @@ function candidateResultPaths(path) {
|
|
|
748
748
|
const candidates = [
|
|
749
749
|
providerPath,
|
|
750
750
|
normalizeResultPath(path),
|
|
751
|
-
toV2RawToolOutputPathPreservingProviderData(path)
|
|
751
|
+
toV2RawToolOutputPathPreservingProviderData(path),
|
|
752
|
+
...path.startsWith("result.data.") ? [`toolResponse.raw.${path.slice("result.data.".length)}`] : []
|
|
752
753
|
];
|
|
753
754
|
return candidates.filter(
|
|
754
755
|
(candidate, index, all) => candidate.length > 0 && all.indexOf(candidate) === index
|
|
@@ -1048,7 +1049,7 @@ function coerceToEnum(value, descriptor) {
|
|
|
1048
1049
|
if (!normalized) return value;
|
|
1049
1050
|
return descriptor.enum.includes(normalized) ? normalized : value;
|
|
1050
1051
|
}
|
|
1051
|
-
function resolveListRows(result, listExtractorPaths) {
|
|
1052
|
+
function resolveListRows(result, listExtractorPaths, aliases) {
|
|
1052
1053
|
const lists = {};
|
|
1053
1054
|
for (const rawPath of _nullishCoalesce(listExtractorPaths, () => ( []))) {
|
|
1054
1055
|
const listName = listNameFromDeclaredPath(rawPath);
|
|
@@ -1079,6 +1080,9 @@ function resolveListRows(result, listExtractorPaths) {
|
|
|
1079
1080
|
}
|
|
1080
1081
|
lists[listName] = resolved;
|
|
1081
1082
|
}
|
|
1083
|
+
for (const [alias, source] of Object.entries(_nullishCoalesce(aliases, () => ( {})))) {
|
|
1084
|
+
if (!lists[alias] && lists[source]) lists[alias] = lists[source];
|
|
1085
|
+
}
|
|
1082
1086
|
return lists;
|
|
1083
1087
|
}
|
|
1084
1088
|
function deriveListKeys(input) {
|
|
@@ -1349,7 +1353,8 @@ function createToolExecuteResult(input) {
|
|
|
1349
1353
|
);
|
|
1350
1354
|
const resolvedLists = resolveListRows(
|
|
1351
1355
|
resultRoot,
|
|
1352
|
-
input.metadata.listExtractorPaths
|
|
1356
|
+
input.metadata.listExtractorPaths,
|
|
1357
|
+
input.metadata.listExtractorAliases
|
|
1353
1358
|
);
|
|
1354
1359
|
const lists = buildLists(resolvedLists, input.metadata);
|
|
1355
1360
|
const metadata = {
|
|
@@ -1357,6 +1362,7 @@ function createToolExecuteResult(input) {
|
|
|
1357
1362
|
execution: input.execution,
|
|
1358
1363
|
targets,
|
|
1359
1364
|
listExtractorPaths: [..._nullishCoalesce(input.metadata.listExtractorPaths, () => ( []))],
|
|
1365
|
+
...input.metadata.listExtractorAliases ? { listExtractorAliases: { ...input.metadata.listExtractorAliases } } : {},
|
|
1360
1366
|
...input.metadata.extractors ? { extractors: input.metadata.extractors } : {},
|
|
1361
1367
|
lists
|
|
1362
1368
|
};
|
|
@@ -1709,7 +1715,7 @@ var DeeplineContext = class {
|
|
|
1709
1715
|
* @param options - Optional SDK client configuration.
|
|
1710
1716
|
*/
|
|
1711
1717
|
constructor(options) {
|
|
1712
|
-
this.client = new (0,
|
|
1718
|
+
this.client = new (0, _chunkV76R6HMVjs.DeeplineClient)(options);
|
|
1713
1719
|
}
|
|
1714
1720
|
/**
|
|
1715
1721
|
* Tool operations namespace.
|
|
@@ -1879,6 +1885,14 @@ function stringArrayRecord(value) {
|
|
|
1879
1885
|
function stringArray(value) {
|
|
1880
1886
|
return Array.isArray(value) ? value.map(String) : [];
|
|
1881
1887
|
}
|
|
1888
|
+
function listAliasRecord(value) {
|
|
1889
|
+
if (!isRecord2(value)) return void 0;
|
|
1890
|
+
return Object.fromEntries(
|
|
1891
|
+
Object.entries(value).filter(
|
|
1892
|
+
(entry) => typeof entry[1] === "string" && entry[1].length > 0
|
|
1893
|
+
)
|
|
1894
|
+
);
|
|
1895
|
+
}
|
|
1882
1896
|
function emailStatusExtractorConfig(value) {
|
|
1883
1897
|
if (!isRecord2(value)) return void 0;
|
|
1884
1898
|
const readPaths = (key) => {
|
|
@@ -2075,6 +2089,9 @@ function toolExecutionEnvelopeToResult(fallbackToolId, response, options) {
|
|
|
2075
2089
|
extractors: extractorDescriptorRecord(toolMetadata.extractors),
|
|
2076
2090
|
targetGetters: stringArrayRecord(toolMetadata.targetGetters),
|
|
2077
2091
|
listExtractorPaths: stringArray(toolMetadata.listExtractorPaths),
|
|
2092
|
+
listExtractorAliases: listAliasRecord(
|
|
2093
|
+
toolMetadata.listExtractorAliases
|
|
2094
|
+
),
|
|
2078
2095
|
listIdentityGetters: stringArrayRecord(
|
|
2079
2096
|
toolMetadata.listIdentityGetters
|
|
2080
2097
|
)
|
|
@@ -2194,7 +2211,7 @@ function definePlay(nameOrConfig, maybeFn, maybeBindings) {
|
|
|
2194
2211
|
writable: false
|
|
2195
2212
|
});
|
|
2196
2213
|
const handle = createNamedPlayHandle(
|
|
2197
|
-
() => new (0,
|
|
2214
|
+
() => new (0, _chunkV76R6HMVjs.DeeplineClient)(),
|
|
2198
2215
|
name
|
|
2199
2216
|
);
|
|
2200
2217
|
for (const key of [
|
|
@@ -2354,4 +2371,4 @@ var DEEPLINE_TOOL_CATEGORIES = [
|
|
|
2354
2371
|
|
|
2355
2372
|
|
|
2356
2373
|
|
|
2357
|
-
exports.AuthError = _chunkQ2E4E4FJjs.AuthError; exports.ConfigError = _chunkQ2E4E4FJjs.ConfigError; exports.CtxFetchHttpError = _chunkZ4VNJOF7js.CtxFetchHttpError; exports.CustomerDbQueryOutcomeUnknownError = _chunkQ2E4E4FJjs.CustomerDbQueryOutcomeUnknownError; exports.DEEPLINE_EXTRACTOR_TARGETS = _chunkNA4T3B62js.DEEPLINE_EXTRACTOR_TARGETS; exports.DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS = _chunkNA4T3B62js.DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS; exports.DEEPLINE_TOOL_CATEGORIES = DEEPLINE_TOOL_CATEGORIES; exports.Deepline = Deepline; exports.DeeplineClient =
|
|
2374
|
+
exports.AuthError = _chunkQ2E4E4FJjs.AuthError; exports.ConfigError = _chunkQ2E4E4FJjs.ConfigError; exports.CtxFetchHttpError = _chunkZ4VNJOF7js.CtxFetchHttpError; exports.CustomerDbQueryOutcomeUnknownError = _chunkQ2E4E4FJjs.CustomerDbQueryOutcomeUnknownError; exports.DEEPLINE_EXTRACTOR_TARGETS = _chunkNA4T3B62js.DEEPLINE_EXTRACTOR_TARGETS; exports.DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS = _chunkNA4T3B62js.DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS; exports.DEEPLINE_TOOL_CATEGORIES = DEEPLINE_TOOL_CATEGORIES; exports.Deepline = Deepline; exports.DeeplineClient = _chunkV76R6HMVjs.DeeplineClient; exports.DeeplineContext = DeeplineContext; exports.DeeplineError = _chunk7P5AA3SNjs.DeeplineError; exports.JOB_CHANGE_STATUS_VALUES = _chunkNA4T3B62js.JOB_CHANGE_STATUS_VALUES; exports.MONITOR_FLEET_AUTHORING_CONTRACT_CHANGELOG = _chunkC374C22Yjs.MONITOR_FLEET_AUTHORING_CONTRACT_CHANGELOG; exports.MONITOR_FLEET_AUTHORING_CONTRACT_EDITION = _chunkC374C22Yjs.MONITOR_FLEET_AUTHORING_CONTRACT_EDITION; exports.MONITOR_FLEET_DOCUMENTATION = _chunkC374C22Yjs.MONITOR_FLEET_DOCUMENTATION; exports.MONITOR_FLEET_FRONTIER_MAX_ROWS = _chunkC374C22Yjs.MONITOR_FLEET_FRONTIER_MAX_ROWS; exports.MONITOR_FLEET_MAX_MEMBERS = _chunkC374C22Yjs.MONITOR_FLEET_MAX_MEMBERS; exports.MONITOR_JOB_PHASES = _chunkV76R6HMVjs.MONITOR_JOB_PHASES; exports.MONITOR_JOB_RECONCILIATION_STATES = _chunkV76R6HMVjs.MONITOR_JOB_RECONCILIATION_STATES; exports.MONITOR_JOB_STATES = _chunkV76R6HMVjs.MONITOR_JOB_STATES; exports.PHONE_STATUS_VALUES = _chunkNA4T3B62js.PHONE_STATUS_VALUES; exports.PROD_URL = _chunkFJCIUF34js.PROD_URL; exports.ProviderTransientError = _chunk7P5AA3SNjs.ProviderTransientError; exports.RateLimitError = _chunkQ2E4E4FJjs.RateLimitError; exports.RunEventQueryInputError = _chunkV76R6HMVjs.RunEventQueryInputError; exports.RunObserveTransportUnavailableError = RunObserveTransportUnavailableError; exports.SDK_API_CONTRACT = _chunkFJCIUF34js.SDK_API_CONTRACT; exports.SDK_VERSION = _chunkFJCIUF34js.SDK_VERSION; exports.ToolExecutionError = _chunk7P5AA3SNjs.ToolExecutionError; exports.ToolRateLimitError = _chunkQ2E4E4FJjs.ToolRateLimitError; exports.admitMonitorFleetAuthoringContract = _chunkC374C22Yjs.admitMonitorFleetAuthoringContract; exports.defineInput = defineInput; exports.defineMonitor = defineMonitor; exports.defineMonitorFleet = _chunkC374C22Yjs.defineMonitorFleet; exports.definePlay = definePlay; exports.defineWorkflow = defineWorkflow; exports.extractSummaryFields = _chunkHGFFYVXNjs.extractSummaryFields; exports.fleetColumn = _chunkC374C22Yjs.fleetColumn; exports.fleetKey = _chunkC374C22Yjs.fleetKey; exports.getDefinedPlayMetadata = getDefinedPlayMetadata; exports.getProviderUnavailableReason = _chunk7P5AA3SNjs.getProviderUnavailableReason; exports.isDeeplineExtractorTarget = _chunkNA4T3B62js.isDeeplineExtractorTarget; exports.isProviderUnavailable = _chunk7P5AA3SNjs.isProviderUnavailable; exports.isProviderWaterfallUnavailableError = _chunk7P5AA3SNjs.isProviderWaterfallUnavailableError; exports.isStopAllPlayRunsDryRunResult = _chunkV76R6HMVjs.isStopAllPlayRunsDryRunResult; exports.lintMonitorBatchInput = _chunkIF75RD6Ujs.lintMonitorBatchInput; exports.lintMonitorFleetInput = _chunkC374C22Yjs.lintMonitorFleetInput; exports.lintMonitorSpecTemplate = _chunkIF75RD6Ujs.lintMonitorSpecTemplate; exports.pinLocalPlayImports = _chunkGEJDBXXMjs.pinLocalPlayImports; exports.planCustomerDbQuery = _chunkV76R6HMVjs.planCustomerDbQuery; exports.planLocalPlayExecution = _chunkGEJDBXXMjs.planLocalPlayExecution; exports.readList = readList; exports.renderMonitorSpecTemplate = _chunkIF75RD6Ujs.renderMonitorSpecTemplate; exports.resolveConfig = _chunkFJCIUF34js.resolveConfig; exports.runIf = runIf; exports.steps = steps; exports.tryConvertToList = _chunkHGFFYVXNjs.tryConvertToList; exports.validateMonitorFleetDefinition = _chunkC374C22Yjs.validateMonitorFleetDefinition; exports.writeCsvOutputFile = _chunkHGFFYVXNjs.writeCsvOutputFile; exports.writeJsonOutputFile = _chunkHGFFYVXNjs.writeJsonOutputFile;
|
package/dist/index.mjs
CHANGED
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
RunEventQueryInputError,
|
|
29
29
|
isStopAllPlayRunsDryRunResult,
|
|
30
30
|
planCustomerDbQuery
|
|
31
|
-
} from "./cli/chunk-
|
|
31
|
+
} from "./cli/chunk-PBZYY7VZ.mjs";
|
|
32
32
|
import {
|
|
33
33
|
legacyRawFromToolResponseRawV2
|
|
34
34
|
} from "./cli/chunk-6IKARAYD.mjs";
|
|
@@ -62,7 +62,7 @@ import {
|
|
|
62
62
|
SDK_API_CONTRACT,
|
|
63
63
|
SDK_VERSION,
|
|
64
64
|
resolveConfig
|
|
65
|
-
} from "./cli/chunk-
|
|
65
|
+
} from "./cli/chunk-2PRO2JTX.mjs";
|
|
66
66
|
import {
|
|
67
67
|
AuthError,
|
|
68
68
|
ConfigError,
|
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
isProviderUnavailable,
|
|
80
80
|
isProviderWaterfallUnavailableError
|
|
81
81
|
} from "./cli/chunk-NXGCO4JB.mjs";
|
|
82
|
-
import "./cli/chunk-
|
|
82
|
+
import "./cli/chunk-TQNHMWUR.mjs";
|
|
83
83
|
import "./cli/chunk-WZYKRD7T.mjs";
|
|
84
84
|
import "./cli/chunk-KRD6H754.mjs";
|
|
85
85
|
|
|
@@ -748,7 +748,8 @@ function candidateResultPaths(path) {
|
|
|
748
748
|
const candidates = [
|
|
749
749
|
providerPath,
|
|
750
750
|
normalizeResultPath(path),
|
|
751
|
-
toV2RawToolOutputPathPreservingProviderData(path)
|
|
751
|
+
toV2RawToolOutputPathPreservingProviderData(path),
|
|
752
|
+
...path.startsWith("result.data.") ? [`toolResponse.raw.${path.slice("result.data.".length)}`] : []
|
|
752
753
|
];
|
|
753
754
|
return candidates.filter(
|
|
754
755
|
(candidate, index, all) => candidate.length > 0 && all.indexOf(candidate) === index
|
|
@@ -1048,7 +1049,7 @@ function coerceToEnum(value, descriptor) {
|
|
|
1048
1049
|
if (!normalized) return value;
|
|
1049
1050
|
return descriptor.enum.includes(normalized) ? normalized : value;
|
|
1050
1051
|
}
|
|
1051
|
-
function resolveListRows(result, listExtractorPaths) {
|
|
1052
|
+
function resolveListRows(result, listExtractorPaths, aliases) {
|
|
1052
1053
|
const lists = {};
|
|
1053
1054
|
for (const rawPath of listExtractorPaths ?? []) {
|
|
1054
1055
|
const listName = listNameFromDeclaredPath(rawPath);
|
|
@@ -1079,6 +1080,9 @@ function resolveListRows(result, listExtractorPaths) {
|
|
|
1079
1080
|
}
|
|
1080
1081
|
lists[listName] = resolved;
|
|
1081
1082
|
}
|
|
1083
|
+
for (const [alias, source] of Object.entries(aliases ?? {})) {
|
|
1084
|
+
if (!lists[alias] && lists[source]) lists[alias] = lists[source];
|
|
1085
|
+
}
|
|
1082
1086
|
return lists;
|
|
1083
1087
|
}
|
|
1084
1088
|
function deriveListKeys(input) {
|
|
@@ -1349,7 +1353,8 @@ function createToolExecuteResult(input) {
|
|
|
1349
1353
|
);
|
|
1350
1354
|
const resolvedLists = resolveListRows(
|
|
1351
1355
|
resultRoot,
|
|
1352
|
-
input.metadata.listExtractorPaths
|
|
1356
|
+
input.metadata.listExtractorPaths,
|
|
1357
|
+
input.metadata.listExtractorAliases
|
|
1353
1358
|
);
|
|
1354
1359
|
const lists = buildLists(resolvedLists, input.metadata);
|
|
1355
1360
|
const metadata = {
|
|
@@ -1357,6 +1362,7 @@ function createToolExecuteResult(input) {
|
|
|
1357
1362
|
execution: input.execution,
|
|
1358
1363
|
targets,
|
|
1359
1364
|
listExtractorPaths: [...input.metadata.listExtractorPaths ?? []],
|
|
1365
|
+
...input.metadata.listExtractorAliases ? { listExtractorAliases: { ...input.metadata.listExtractorAliases } } : {},
|
|
1360
1366
|
...input.metadata.extractors ? { extractors: input.metadata.extractors } : {},
|
|
1361
1367
|
lists
|
|
1362
1368
|
};
|
|
@@ -1879,6 +1885,14 @@ function stringArrayRecord(value) {
|
|
|
1879
1885
|
function stringArray(value) {
|
|
1880
1886
|
return Array.isArray(value) ? value.map(String) : [];
|
|
1881
1887
|
}
|
|
1888
|
+
function listAliasRecord(value) {
|
|
1889
|
+
if (!isRecord2(value)) return void 0;
|
|
1890
|
+
return Object.fromEntries(
|
|
1891
|
+
Object.entries(value).filter(
|
|
1892
|
+
(entry) => typeof entry[1] === "string" && entry[1].length > 0
|
|
1893
|
+
)
|
|
1894
|
+
);
|
|
1895
|
+
}
|
|
1882
1896
|
function emailStatusExtractorConfig(value) {
|
|
1883
1897
|
if (!isRecord2(value)) return void 0;
|
|
1884
1898
|
const readPaths = (key) => {
|
|
@@ -2075,6 +2089,9 @@ function toolExecutionEnvelopeToResult(fallbackToolId, response, options) {
|
|
|
2075
2089
|
extractors: extractorDescriptorRecord(toolMetadata.extractors),
|
|
2076
2090
|
targetGetters: stringArrayRecord(toolMetadata.targetGetters),
|
|
2077
2091
|
listExtractorPaths: stringArray(toolMetadata.listExtractorPaths),
|
|
2092
|
+
listExtractorAliases: listAliasRecord(
|
|
2093
|
+
toolMetadata.listExtractorAliases
|
|
2094
|
+
),
|
|
2078
2095
|
listIdentityGetters: stringArrayRecord(
|
|
2079
2096
|
toolMetadata.listIdentityGetters
|
|
2080
2097
|
)
|