deepline 0.3.407 → 0.3.408
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 +2 -0
- 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-3GB2K636.js +40 -0
- package/dist/cli/{auth-WURWNNLE.mjs → auth-UVD3CUBB.mjs} +4 -4
- package/dist/cli/{billing-BP3E6WIM.mjs → billing-BZVTXXLM.mjs} +23 -16
- package/dist/cli/{billing-2QJGXGJX.js → billing-BZVYAF6T.js} +92 -85
- package/dist/cli/{chunk-Y6CX4QPR.js → chunk-2XXXFPTD.js} +67 -67
- package/dist/cli/{chunk-RZLXVHNO.js → chunk-3ZB6IIA7.js} +26 -26
- package/dist/cli/{chunk-BKC6VMYZ.mjs → chunk-4CFULMRB.mjs} +73 -4
- package/dist/cli/{chunk-6JZZNP5G.mjs → chunk-4QFT5LGV.mjs} +2 -2
- package/dist/cli/{chunk-H6EWQFPQ.js → chunk-4RNDKFNQ.js} +2 -2
- package/dist/cli/{chunk-GAMFK2ZP.mjs → chunk-67RWR34T.mjs} +10 -3
- package/dist/cli/{chunk-KUQAU5MG.js → chunk-AUMD2VXP.js} +6 -6
- package/dist/cli/{chunk-IY6GKJ4O.js → chunk-BRJUESQV.js} +50 -50
- package/dist/cli/{chunk-7LKYHZVB.js → chunk-D6FFBSM5.js} +1 -1
- package/dist/cli/{chunk-AYHLUHE5.js → chunk-E3PJF6YP.js} +6 -2
- package/dist/cli/{chunk-G6U74WNM.js → chunk-ECVLPS67.js} +15 -15
- package/dist/cli/{chunk-QJBJZVG6.js → chunk-HQY2SG3K.js} +15 -8
- package/dist/cli/{chunk-P7HOTKOK.mjs → chunk-I3DHIXVJ.mjs} +4 -4
- package/dist/cli/{chunk-L25GBGQU.mjs → chunk-IOHRWLQE.mjs} +6 -6
- package/dist/cli/{chunk-UFFSOV6I.mjs → chunk-IWBXJDZA.mjs} +2 -2
- package/dist/cli/{chunk-URWF7NGQ.js → chunk-J5PTX66Y.js} +28 -14
- package/dist/cli/{chunk-J67NU4MQ.mjs → chunk-LOYISF7S.mjs} +1 -1
- package/dist/cli/{chunk-4TV43THC.mjs → chunk-MJELBQBU.mjs} +4 -4
- package/dist/cli/{chunk-WJYPBHTE.js → chunk-OSFWFV72.js} +11 -4
- package/dist/cli/{chunk-ZI2ZNDJK.mjs → chunk-PYZZMAJQ.mjs} +28 -14
- package/dist/cli/{chunk-G4LJS2RE.js → chunk-Q3LFI3VH.js} +8 -8
- package/dist/cli/{chunk-D2ZRMZKF.js → chunk-Q3PUHXOY.js} +99 -30
- package/dist/cli/{chunk-THHM4DPE.js → chunk-QUAQX3FQ.js} +4 -4
- package/dist/cli/{chunk-RMZAOYDN.js → chunk-RWCY6YI2.js} +53 -53
- package/dist/cli/{chunk-ZBCTXQ3P.mjs → chunk-SD7MXAJA.mjs} +1 -1
- package/dist/cli/{chunk-UFS752TU.mjs → chunk-SJVVBWRL.mjs} +5 -1
- package/dist/cli/{chunk-QJAX7QN7.mjs → chunk-URACNNLO.mjs} +2 -2
- package/dist/cli/{chunk-WXLOW623.mjs → chunk-WPAB4DCU.mjs} +14 -7
- package/dist/cli/{chunk-UPEOEYZ3.mjs → chunk-WTT6CLED.mjs} +1 -1
- package/dist/cli/{chunk-N6OAMAO5.mjs → chunk-XXLXOUUU.mjs} +1 -1
- package/dist/cli/{chunk-XT6GG3QO.mjs → chunk-YMOFWHGO.mjs} +3 -3
- package/dist/cli/{chunk-SOQIPKF2.js → chunk-ZBABPK6Y.js} +8 -8
- package/dist/cli/command-docs.js +2 -2
- package/dist/cli/command-docs.mjs +1 -1
- package/dist/cli/{csv-N6KYTG7L.mjs → csv-WPSXG6ZZ.mjs} +3 -3
- package/dist/cli/{csv-7E5BE23B.js → csv-XLGLHJ6P.js} +12 -12
- package/dist/cli/{db-4VLZP33O.js → db-5PTNJG4X.js} +25 -25
- package/dist/cli/{db-XMBJNVBD.mjs → db-ABS57ABJ.mjs} +4 -4
- package/dist/cli/{describe-4I6EIVXD.js → describe-EZS6PQXA.js} +11 -11
- package/dist/cli/{describe-WERH4TD2.mjs → describe-PVWQJ2PB.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-FNTAFQ7Y.js} +6 -6
- package/dist/cli/{executions-JWQXE7G6.mjs → executions-OKJGATQZ.mjs} +4 -4
- package/dist/cli/{feedback-FMGRC6KO.js → feedback-6YBOMSUA.js} +7 -7
- package/dist/cli/{feedback-OEJFX4F7.mjs → feedback-W27HDMRR.mjs} +3 -3
- package/dist/cli/git-YKUXXJOR.js +24 -0
- package/dist/cli/{git-IVC4KHXX.mjs → git-YOOUEL6M.mjs} +4 -4
- package/dist/cli/index.js +204 -127
- package/dist/cli/index.mjs +124 -47
- package/dist/cli/{legacy-noops-X3BQ7MUK.js → legacy-noops-2VZ7XT6C.js} +7 -7
- package/dist/cli/{legacy-noops-LT36CLWZ.mjs → legacy-noops-V6OKW7VR.mjs} +4 -4
- package/dist/cli/{monitors-DLIIAVLW.js → monitors-FBWGVIUS.js} +84 -84
- package/dist/cli/{monitors-MNLCELF7.mjs → monitors-P2YYWTWT.mjs} +4 -4
- package/dist/cli/{org-CYHDEW7P.js → org-3XUSVX5T.js} +64 -64
- package/dist/cli/{org-QV5LMUPT.mjs → org-DVMG6H3C.mjs} +4 -4
- package/dist/cli/{play-5Z4ROZ3P.mjs → play-GNC5CQAS.mjs} +70 -18
- package/dist/cli/{play-MEFXC2QA.js → play-YG5L4BWQ.js} +345 -293
- package/dist/cli/{providers-2MKUNFBQ.js → providers-7PSWG2OV.js} +7 -7
- package/dist/cli/{providers-FJLYSHB3.mjs → providers-JR33SLWL.mjs} +4 -4
- package/dist/cli/{quickstart-ULWXKAOT.js → quickstart-FDVZ5BL3.js} +5 -5
- package/dist/cli/{quickstart-PQO3OQRT.mjs → quickstart-VUOBQYIQ.mjs} +3 -3
- package/dist/cli/{search-KGAAXMDG.mjs → search-JZYLO33K.mjs} +5 -5
- package/dist/cli/search-PPPYC5OZ.js +30 -0
- package/dist/cli/{secrets-PD5I3KAF.mjs → secrets-3MCYBT4I.mjs} +4 -4
- package/dist/cli/{secrets-X2VGG2PO.js → secrets-VS266FVA.js} +13 -13
- package/dist/cli/{sessions-3WVEU4PE.mjs → sessions-ELLLT23E.mjs} +4 -4
- package/dist/cli/{sessions-R3XAKTBQ.js → sessions-TEHEWW7O.js} +5 -5
- package/dist/cli/{settings-ZIDO3IP6.js → settings-7364NMMA.js} +75 -75
- package/dist/cli/{settings-645RSFQX.mjs → settings-PZCKAFII.mjs} +8 -8
- package/dist/cli/{setup-LISKIJKP.mjs → setup-A7GQ4KIA.mjs} +7 -7
- package/dist/cli/{setup-LH5HOZ3D.js → setup-PMWYLCT6.js} +42 -42
- package/dist/cli/skills-SYS7VRRK.js +29 -0
- package/dist/cli/{skills-VVQJHLSF.mjs → skills-WS6BIFPQ.mjs} +5 -5
- package/dist/cli/{tools-Y3LOMXFT.mjs → tools-BR4DOZA2.mjs} +7 -7
- package/dist/cli/{tools-FTPJCNAM.js → tools-KK4BKVQR.js} +8 -8
- package/dist/cli/update-2IV5JTX2.js +29 -0
- package/dist/cli/{update-DOBNQNJI.mjs → update-D2B7UNFT.mjs} +7 -7
- package/dist/cli/{workflow-LGENKZBV.js → workflow-6ODTCYXU.js} +15 -15
- package/dist/cli/{workflow-ZMAA5VCN.mjs → workflow-PQXC2R47.mjs} +5 -5
- package/dist/{client-IrPHUE5J.d.ts → client-BcvhDfJJ.d.ts} +26 -2
- package/dist/{client-6rEB46Lv.d.mts → client-Z9Pye1Wm.d.mts} +26 -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
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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-Z9Pye1Wm.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-Z9Pye1Wm.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-BcvhDfJJ.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-BcvhDfJJ.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 _chunkAUMD2VXPjs = require('./cli/chunk-AUMD2VXP.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 _chunkQUAQX3FQjs = require('./cli/chunk-QUAQX3FQ.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-D6FFBSM5.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, _chunkAUMD2VXPjs.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, _chunkAUMD2VXPjs.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 = _chunkAUMD2VXPjs.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 = _chunkAUMD2VXPjs.MONITOR_JOB_PHASES; exports.MONITOR_JOB_RECONCILIATION_STATES = _chunkAUMD2VXPjs.MONITOR_JOB_RECONCILIATION_STATES; exports.MONITOR_JOB_STATES = _chunkAUMD2VXPjs.MONITOR_JOB_STATES; exports.PHONE_STATUS_VALUES = _chunkNA4T3B62js.PHONE_STATUS_VALUES; exports.PROD_URL = _chunkQUAQX3FQjs.PROD_URL; exports.ProviderTransientError = _chunk7P5AA3SNjs.ProviderTransientError; exports.RateLimitError = _chunkQ2E4E4FJjs.RateLimitError; exports.RunEventQueryInputError = _chunkAUMD2VXPjs.RunEventQueryInputError; exports.RunObserveTransportUnavailableError = RunObserveTransportUnavailableError; exports.SDK_API_CONTRACT = _chunkQUAQX3FQjs.SDK_API_CONTRACT; exports.SDK_VERSION = _chunkQUAQX3FQjs.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 = _chunkAUMD2VXPjs.isStopAllPlayRunsDryRunResult; exports.lintMonitorBatchInput = _chunkIF75RD6Ujs.lintMonitorBatchInput; exports.lintMonitorFleetInput = _chunkC374C22Yjs.lintMonitorFleetInput; exports.lintMonitorSpecTemplate = _chunkIF75RD6Ujs.lintMonitorSpecTemplate; exports.pinLocalPlayImports = _chunkGEJDBXXMjs.pinLocalPlayImports; exports.planCustomerDbQuery = _chunkAUMD2VXPjs.planCustomerDbQuery; exports.planLocalPlayExecution = _chunkGEJDBXXMjs.planLocalPlayExecution; exports.readList = readList; exports.renderMonitorSpecTemplate = _chunkIF75RD6Ujs.renderMonitorSpecTemplate; exports.resolveConfig = _chunkQUAQX3FQjs.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-LOYISF7S.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-SD7MXAJA.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-WTT6CLED.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
|
)
|