deepline 0.3.422 → 0.3.423
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 -2
- package/dist/bundling-sources/sdk/src/index.ts +2 -0
- package/dist/bundling-sources/sdk/src/play.ts +227 -184
- package/dist/bundling-sources/sdk/src/plays/local-file-discovery.ts +9 -2
- package/dist/bundling-sources/sdk/src/plays/local-play-execution.ts +1 -1
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/sdk/src/tool-calls.ts +3 -1
- package/dist/bundling-sources/sdk/src/types.ts +5 -5
- package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +37 -36
- package/dist/bundling-sources/shared_libs/plays/bundling/index.ts +179 -38
- package/dist/bundling-sources/shared_libs/plays/dataset.ts +2 -2
- package/dist/bundling-sources/shared_libs/plays/docflow.ts +4 -0
- package/dist/bundling-sources/shared_libs/plays/fetch-http-error.ts +1 -1
- package/dist/bundling-sources/shared_libs/plays/local-file-discovery.ts +12 -4
- package/dist/bundling-sources/shared_libs/plays/play-exports.ts +27 -5
- package/dist/bundling-sources/shared_libs/plays/script-entry.ts +992 -0
- package/dist/bundling-sources/shared_libs/plays/source-authoring-edition.ts +63 -0
- package/dist/bundling-sources/shared_libs/plays/tool-result-types.ts +8 -4
- package/dist/bundling-sources/shared_libs/plays/ts-ast.ts +2 -0
- package/dist/cli/{auth-DMLBSXLV.mjs → auth-L7Q53QKK.mjs} +4 -4
- package/dist/cli/auth-SUNY477Y.js +40 -0
- package/dist/cli/{billing-SEXKROBQ.mjs → billing-IH7AKDR2.mjs} +4 -4
- package/dist/cli/{billing-IFGFPGJV.js → billing-QNP6YGI2.js} +73 -73
- package/dist/cli/{chunk-AARWVK4C.mjs → chunk-2BQUML3X.mjs} +792 -69
- package/dist/cli/{chunk-WP7T4BPE.js → chunk-2F5ULM2F.js} +1 -1
- package/dist/cli/{chunk-BL3LY54Y.js → chunk-2U3AMRHF.js} +8 -8
- package/dist/cli/{chunk-ERFN2QY4.mjs → chunk-3DNKFH2G.mjs} +1 -1
- package/dist/cli/{chunk-SDCIROIS.mjs → chunk-44US3EL2.mjs} +5 -5
- package/dist/cli/{chunk-S4KGXRCV.js → chunk-4WT5RISA.js} +20 -20
- package/dist/cli/{chunk-JRSULUPQ.js → chunk-5DGR3TB6.js} +2 -2
- package/dist/cli/{chunk-2JKQORUX.mjs → chunk-6FFORGD2.mjs} +2 -2
- package/dist/cli/{chunk-QNBHQM5R.mjs → chunk-ARTGL3FM.mjs} +1 -1
- package/dist/cli/{chunk-WGO2DY4L.js → chunk-AVOBDFQ5.js} +11 -11
- package/dist/cli/{chunk-V4RAH5D6.js → chunk-DRK6FYJU.js} +26 -26
- package/dist/cli/{chunk-63ILLN5H.mjs → chunk-DS7Y7X26.mjs} +2 -2
- package/dist/cli/{chunk-CTNA5QY2.mjs → chunk-EER67G2B.mjs} +43 -28
- package/dist/cli/{chunk-AYM2KZN3.js → chunk-EWWWOKX2.js} +6 -6
- package/dist/cli/{chunk-MLP4CAY7.mjs → chunk-FJRFSBWO.mjs} +4 -4
- package/dist/cli/{chunk-27GJKC5Q.js → chunk-GXOQRZXG.js} +2 -2
- package/dist/cli/{chunk-CO3VMH33.mjs → chunk-H662SHPT.mjs} +28 -27
- package/dist/cli/{chunk-PKBPSMOT.js → chunk-INFLI36H.js} +43 -28
- package/dist/cli/{chunk-FEKJENBB.mjs → chunk-IW5QK3K6.mjs} +3 -3
- package/dist/cli/{chunk-VT6WJ26Y.mjs → chunk-JDAXVQV7.mjs} +1 -1
- package/dist/cli/{chunk-4PG4ARL2.mjs → chunk-KPKU53YO.mjs} +1 -1
- package/dist/cli/{chunk-IMZ56EOH.mjs → chunk-LXTSVUZN.mjs} +2 -2
- package/dist/cli/{chunk-KXPIFC5S.mjs → chunk-MHG3NND4.mjs} +3 -3
- package/dist/cli/{chunk-IHG7UAHD.mjs → chunk-MLJBCS3E.mjs} +32 -13
- package/dist/cli/{chunk-LXRDHISW.js → chunk-MMI2DXCW.js} +8 -8
- package/dist/cli/{chunk-K4X472AT.js → chunk-NA6SGG7X.js} +260 -259
- package/dist/cli/{chunk-M6SXXFMT.mjs → chunk-NFIZ5YED.mjs} +2 -2
- package/dist/cli/{chunk-OZHPZCAU.js → chunk-OMWO2JLC.js} +52 -52
- package/dist/cli/{chunk-TP26TAAF.mjs → chunk-OPI7UCQG.mjs} +1 -1
- package/dist/cli/{chunk-UQQRMCOL.js → chunk-OZLMMMZH.js} +6 -6
- package/dist/cli/{chunk-W74RDGRL.mjs → chunk-PH4BP6KM.mjs} +2 -2
- package/dist/cli/{chunk-4EV2FKBI.js → chunk-PQ4G6MKI.js} +16 -16
- package/dist/cli/{chunk-3CE3WGKP.mjs → chunk-QN6DG4JO.mjs} +2 -2
- package/dist/cli/{chunk-4CAVSRQH.mjs → chunk-QWJJMQNE.mjs} +1 -1
- package/dist/cli/{chunk-GEJDBXXM.js → chunk-QWRHGGUH.js} +1 -1
- package/dist/cli/{chunk-AD47BXN2.js → chunk-R2QWSSAG.js} +8 -8
- package/dist/cli/{chunk-2LVM22ZU.js → chunk-RAL75ND3.js} +2 -2
- package/dist/cli/{chunk-QADCFSGH.js → chunk-RDIN3NKA.js} +17 -17
- package/dist/cli/{chunk-AXDEH2AM.mjs → chunk-S6KG7JCR.mjs} +2 -2
- package/dist/cli/{chunk-BQR6UN3C.js → chunk-VUYUI35Q.js} +32 -13
- package/dist/cli/{chunk-HCYNAIHZ.js → chunk-W42SSVM7.js} +4 -4
- package/dist/cli/{chunk-VRI3ABTK.js → chunk-WJO7KIFT.js} +50 -50
- package/dist/cli/{chunk-PXO253DP.mjs → chunk-XSERB7H2.mjs} +1 -1
- package/dist/cli/{chunk-KBJP3UAU.js → chunk-YCHR57TD.js} +35 -35
- package/dist/cli/{chunk-OQQOXSYA.js → chunk-YHRS6XTB.js} +845 -122
- package/dist/cli/{chunk-7OJEYJ6G.mjs → chunk-YNT7PJND.mjs} +3 -3
- package/dist/cli/command-docs.js +2 -2
- package/dist/cli/command-docs.mjs +1 -1
- package/dist/cli/{csv-J7UVP4KB.mjs → csv-5KW7M6ZS.mjs} +3 -3
- package/dist/cli/{csv-Y4YWZSLB.js → csv-GF7VRES5.js} +12 -12
- package/dist/cli/{db-SVFCM6YZ.js → db-AEDXKB4F.js} +26 -26
- package/dist/cli/{db-CQ6NHMLG.mjs → db-NN4JQAC4.mjs} +5 -5
- package/dist/cli/{describe-FSDW6LTN.js → describe-5RLXW332.js} +24 -24
- package/dist/cli/{describe-Y65BU7ZY.mjs → describe-RX6VROHQ.mjs} +16 -16
- package/dist/cli/describe-core.d.mts +2 -2
- package/dist/cli/describe-core.d.ts +2 -2
- package/dist/cli/describe-core.js +4 -4
- package/dist/cli/describe-core.mjs +3 -3
- package/dist/cli/{executions-IW762OIJ.mjs → executions-EJZ34VUB.mjs} +4 -4
- package/dist/cli/{executions-SJIKBRHT.js → executions-PGIGFDDS.js} +6 -6
- package/dist/cli/{feedback-VMJIWAMT.mjs → feedback-6MWOKE7H.mjs} +3 -3
- package/dist/cli/{feedback-RCYSUOB3.js → feedback-L2ODMANV.js} +7 -7
- package/dist/cli/git-2ZDCRTBD.js +24 -0
- package/dist/cli/{git-Q2WY3K6X.mjs → git-456RF3AT.mjs} +4 -4
- package/dist/cli/index.js +135 -135
- package/dist/cli/index.mjs +37 -37
- package/dist/cli/{legacy-noops-U4YPPYXU.js → legacy-noops-MDPB3MIS.js} +7 -7
- package/dist/cli/{legacy-noops-JVEE2VHK.mjs → legacy-noops-ZPRBXQDE.mjs} +4 -4
- package/dist/cli/{monitors-BMAOQ37R.js → monitors-TXKR5XYW.js} +86 -86
- package/dist/cli/{monitors-AY4KQRTC.mjs → monitors-ZLP6A7FT.mjs} +6 -6
- package/dist/cli/{org-G5IURX74.js → org-73SQ3AT2.js} +64 -64
- package/dist/cli/{org-ME4X6HWH.mjs → org-YZ62BIGM.mjs} +4 -4
- package/dist/cli/{play-X5GSZOKZ.js → play-M75EBXEV.js} +606 -567
- package/dist/cli/{play-WLYU7WQL.mjs → play-VCYQKCKF.mjs} +113 -74
- package/dist/cli/{providers-AHEUVD3R.js → providers-GIINJPWQ.js} +7 -7
- package/dist/cli/{providers-2LBMNB7B.mjs → providers-JLA6LST3.mjs} +4 -4
- package/dist/cli/{quickstart-DBLYGHJP.mjs → quickstart-AHCU75GG.mjs} +3 -3
- package/dist/cli/{quickstart-DP2SKLIG.js → quickstart-HHHLYCHT.js} +5 -5
- package/dist/cli/{search-YKJHY3ZJ.mjs → search-5GACUIAX.mjs} +5 -5
- package/dist/cli/search-W2PGBXQO.js +30 -0
- package/dist/cli/{secrets-2P3I3OEZ.js → secrets-PI7IPCOE.js} +13 -13
- package/dist/cli/{secrets-ECLARBO6.mjs → secrets-S2NBKAEN.mjs} +4 -4
- package/dist/cli/{sessions-MC4ZCTSN.js → sessions-BK4CSRFS.js} +5 -5
- package/dist/cli/{sessions-3GDFID7R.mjs → sessions-IBKYGTBD.mjs} +4 -4
- package/dist/cli/{settings-7SVR2OVL.js → settings-2G7TUDM7.js} +75 -75
- package/dist/cli/{settings-RTPJXMOA.mjs → settings-JY6UN4KO.mjs} +8 -8
- package/dist/cli/{setup-OKAZZGAW.mjs → setup-HS5X3OSN.mjs} +7 -7
- package/dist/cli/{setup-4WLIJX36.js → setup-R424FIBF.js} +42 -42
- package/dist/cli/skills-M3RZAN4A.js +29 -0
- package/dist/cli/{skills-2CVL6RG5.mjs → skills-UIBUDTGN.mjs} +5 -5
- package/dist/cli/tools-K2GII2PA.js +44 -0
- package/dist/cli/{tools-KAFHP6J4.mjs → tools-SB4FREB6.mjs} +15 -15
- package/dist/cli/update-C2ORJRXN.js +31 -0
- package/dist/cli/{update-3ZV3W7I4.mjs → update-NJSUE2YU.mjs} +7 -7
- package/dist/cli/{workflow-GULDFFP3.js → workflow-3AZWZ4J3.js} +19 -19
- package/dist/cli/{workflow-DKSUNZXE.mjs → workflow-HBG76XYX.mjs} +9 -9
- package/dist/{client-CCWIUnk7.d.mts → client-BTUOYGID.d.mts} +10 -9
- package/dist/{client-vHqBm-OL.d.ts → client-C668iUhZ.d.ts} +10 -9
- package/dist/{compiler-manifest-lzWpbV3w.d.mts → compiler-manifest-DaFuA1ki.d.mts} +35 -32
- package/dist/{compiler-manifest-lzWpbV3w.d.ts → compiler-manifest-DaFuA1ki.d.ts} +35 -32
- package/dist/{index-CtNK-0nI.d.mts → index-0yS9ihly.d.mts} +10 -3
- package/dist/{index-C8Cy-YTm.d.ts → index-CRAScKPg.d.ts} +10 -3
- package/dist/index.d.mts +120 -150
- package/dist/index.d.ts +120 -150
- package/dist/index.js +77 -12
- package/dist/index.mjs +74 -9
- package/dist/install-integrity.json +99 -98
- package/dist/plays/bundle-play-file.d.mts +3 -3
- package/dist/plays/bundle-play-file.d.ts +3 -3
- package/dist/plays/bundle-play-file.mjs +1 -1
- 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-HD5AM2WM.js +0 -40
- package/dist/cli/git-JAW3UEGA.js +0 -24
- package/dist/cli/search-4K3VSDS5.js +0 -30
- package/dist/cli/skills-ZNSQOXO2.js +0 -29
- package/dist/cli/tools-W4U4FT3R.js +0 -44
- package/dist/cli/update-IE2FPLB5.js +0 -31
|
@@ -1,29 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addDescribeOptions,
|
|
3
3
|
recordPlayTermination
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-KPKU53YO.mjs";
|
|
5
5
|
import {
|
|
6
6
|
registerDeprecatedSearchCommand
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-YNT7PJND.mjs";
|
|
8
8
|
import {
|
|
9
9
|
handleDeploymentGet,
|
|
10
10
|
handleDeploymentsList
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-S6KG7JCR.mjs";
|
|
12
12
|
import {
|
|
13
13
|
buildPlayDashboardUrl
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-MLJBCS3E.mjs";
|
|
15
15
|
import {
|
|
16
16
|
shellQuote
|
|
17
17
|
} from "./chunk-OVDNJAJN.mjs";
|
|
18
18
|
import "./chunk-LJ5747UC.mjs";
|
|
19
19
|
import {
|
|
20
|
+
INLINE_PLAY_FILE,
|
|
20
21
|
PLAY_DEFAULT_EXPORT,
|
|
21
22
|
extractDefinedPlayName,
|
|
23
|
+
inlinePlaySource,
|
|
22
24
|
isAstNode,
|
|
23
25
|
listPlayFileExports,
|
|
24
26
|
parsePlaySourceForAnalysis,
|
|
25
27
|
resolveEnabledExecutionProfile
|
|
26
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-2BQUML3X.mjs";
|
|
27
29
|
import "./chunk-H7HIDGZ7.mjs";
|
|
28
30
|
import "./chunk-FR2ILQ4G.mjs";
|
|
29
31
|
import {
|
|
@@ -32,7 +34,7 @@ import {
|
|
|
32
34
|
import {
|
|
33
35
|
pinLocalPlayImports,
|
|
34
36
|
planLocalPlayExecution
|
|
35
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-3DNKFH2G.mjs";
|
|
36
38
|
import "./chunk-ZCALLYF6.mjs";
|
|
37
39
|
import {
|
|
38
40
|
DeeplineClient,
|
|
@@ -47,7 +49,7 @@ import {
|
|
|
47
49
|
normalizePlayStatus,
|
|
48
50
|
normalizeRunEventOperationRequest,
|
|
49
51
|
parseLogLevel
|
|
50
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-6FFORGD2.mjs";
|
|
51
53
|
import "./chunk-L2VKAASU.mjs";
|
|
52
54
|
import {
|
|
53
55
|
CSV_DATA_INPUT_KEY,
|
|
@@ -68,17 +70,17 @@ import "./chunk-UBKA33KY.mjs";
|
|
|
68
70
|
import {
|
|
69
71
|
checkPlayRunCompatibility,
|
|
70
72
|
usesInlinePlayAdmission
|
|
71
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-PH4BP6KM.mjs";
|
|
72
74
|
import {
|
|
73
75
|
isCliTraceEnabled,
|
|
74
76
|
recordCliTrace,
|
|
75
77
|
resolveCliMaintenancePolicy,
|
|
76
78
|
traceCliSpan
|
|
77
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-OPI7UCQG.mjs";
|
|
78
80
|
import {
|
|
79
81
|
createCliProgress,
|
|
80
82
|
getActiveCliProgress
|
|
81
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-IW5QK3K6.mjs";
|
|
82
84
|
import {
|
|
83
85
|
argsWantJson,
|
|
84
86
|
csvSafeJsonString,
|
|
@@ -93,16 +95,16 @@ import {
|
|
|
93
95
|
printJsonError,
|
|
94
96
|
renderCommandEnvelopeText,
|
|
95
97
|
shouldEmitJson
|
|
96
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-QWJJMQNE.mjs";
|
|
97
99
|
import {
|
|
98
100
|
fetchWithDeploymentProtection
|
|
99
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-XSERB7H2.mjs";
|
|
100
102
|
import "./chunk-MAMVGOSC.mjs";
|
|
101
103
|
import "./chunk-DLIRSHV6.mjs";
|
|
102
104
|
import {
|
|
103
105
|
DeeplineError
|
|
104
106
|
} from "./chunk-E4IXDAZI.mjs";
|
|
105
|
-
import "./chunk-
|
|
107
|
+
import "./chunk-JDAXVQV7.mjs";
|
|
106
108
|
import "./chunk-WZYKRD7T.mjs";
|
|
107
109
|
import {
|
|
108
110
|
__commonJS,
|
|
@@ -3986,6 +3988,7 @@ import {
|
|
|
3986
3988
|
readFileSync as readFileSync2,
|
|
3987
3989
|
readdirSync,
|
|
3988
3990
|
realpathSync,
|
|
3991
|
+
rmSync,
|
|
3989
3992
|
statSync,
|
|
3990
3993
|
writeFileSync as writeFileSync3
|
|
3991
3994
|
} from "fs";
|
|
@@ -4085,7 +4088,7 @@ function registerRunChildrenCommand(runs) {
|
|
|
4085
4088
|
"List async child Runs for one launch key, one page at a time."
|
|
4086
4089
|
).requiredOption(
|
|
4087
4090
|
"--launch-key <key>",
|
|
4088
|
-
"Authored
|
|
4091
|
+
"Authored deepline.runPlayAsync launch key"
|
|
4089
4092
|
).option("--cursor <cursor>", "Opaque cursor from the previous page").option("--limit <number>", "Rows to request (1\u201350; default 50)", "50").option("--json", "Emit JSON output").addHelpText(
|
|
4090
4093
|
"after",
|
|
4091
4094
|
`
|
|
@@ -5374,8 +5377,8 @@ function stringValue(value) {
|
|
|
5374
5377
|
var EXTRACTED_GETTER_ERROR_HINT = "Deepline hint: extractedValues/extractedLists .get() only works for declared Deepline getters listed by `deepline describe <tool>`. Read tool-specific fields from `toolExecutionResult.toolResponse.rawV2` using the nesting shown in the response example, and use `toolExecutionResult.extractedLists.<name>.get()` for declared row/list outputs.";
|
|
5375
5378
|
var DATASET_API_HINT = "Deepline hint: PlayDataset is lazy, durable, and async-only. Use `.count()`, `.first()`, `.at(index)`, `.peek(n)`, `.materialize(limit)`, or async iteration; do not use `.length`, numeric indexing, spread, synchronous iteration, `.rows`, or `.toArray()`.";
|
|
5376
5379
|
var ROW_PROPERTY_HINT = "Deepline hint: this row type only contains fields produced by the CSV/schema and previous map steps. Check source column casing and the exact output field names from earlier steps before scaling.";
|
|
5377
|
-
var TOOLS_EXECUTE_SIGNATURE_HINT = "Deepline hint:
|
|
5378
|
-
var RUN_PLAY_SIGNATURE_HINT = "Deepline hint:
|
|
5380
|
+
var TOOLS_EXECUTE_SIGNATURE_HINT = "Deepline hint: deepline.tools.execute requires a request object: `deepline.tools.execute({ id, tool, input, description })`. The stable `id` is required for logs, metadata, and result-cache identity; terminal cache reuse is based on play, tool, semantic input, auth scope, provider action version, and cache policy. In authoring edition 11, also choose `staleAfterSeconds`: `0` for fresh logical work, a positive integer for the maximum reusable result age in seconds, or `null` for indefinite result reuse.";
|
|
5381
|
+
var RUN_PLAY_SIGNATURE_HINT = "Deepline hint: deepline.runPlay uses a stable key plus a composable child play reference. Direct-run-only or dataset-backed batch plays must be run directly, exported, then consumed by a separate play.";
|
|
5379
5382
|
var MAP_BACKED_CHILD_HINT = "Deepline hint: dataset-backed child plays own durable table state and cannot be called from another play. Run that play directly, export its dataset, then pass the CSV to the next play.";
|
|
5380
5383
|
function sourceLineForError(sourceCode, error) {
|
|
5381
5384
|
const match = error.match(/:(\d+):(\d+)\s/);
|
|
@@ -5400,7 +5403,7 @@ function looksLikeRowPropertyMismatch(error, sourceLine) {
|
|
|
5400
5403
|
return /\brow\.[A-Za-z_][A-Za-z0-9_]*/.test(sourceLine);
|
|
5401
5404
|
}
|
|
5402
5405
|
function looksLikeToolsExecuteSignature(error, sourceLine) {
|
|
5403
|
-
return
|
|
5406
|
+
return /\w+\.tools\.execute requires a request object/i.test(error) || /Expected 1 arguments?, but got [2-9]/.test(error) && /\btools\.execute\(/.test(sourceLine);
|
|
5404
5407
|
}
|
|
5405
5408
|
function looksLikeRunPlaySignature(error, sourceLine) {
|
|
5406
5409
|
return /ctx\.runPlay/i.test(error) || /(?:Expected|Argument of type|No overload matches)/.test(error) && /\brunPlay\(/.test(sourceLine);
|
|
@@ -7590,7 +7593,7 @@ function parseInputFlagValue(raw) {
|
|
|
7590
7593
|
function parsePlayRunOptions(args, initialInput = null) {
|
|
7591
7594
|
const selection = parseJsonFields(args, "run");
|
|
7592
7595
|
args = selection.args;
|
|
7593
|
-
const usage2 = "Usage: deepline plays run <play-name> [--input '{...}'] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run <play-file.ts> [--input '{...}'] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run --file <play-file.ts> [--input '{...}'] [--profile <id>] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run --name <name> [--input '{...}'] [--profile <id>] [--live|--latest|--revision-id <id>] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--json] [--full] [--<input> value]\n Runs use the Absurd CJS runtime.\n --header '<name>: <value>' may repeat; each is sent on every request for this run.\n Unknown --<input> value flags, such as --limit 5, are passed into play input.\nRun `deepline plays run --help` for idempotent call caching and
|
|
7596
|
+
const usage2 = "Usage: deepline plays run <play-name> [--input '{...}'] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run <play-file.ts> [--input '{...}'] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run --file <play-file.ts> [--input '{...}'] [--profile <id>] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run --name <name> [--input '{...}'] [--profile <id>] [--live|--latest|--revision-id <id>] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--json] [--full] [--<input> value]\n Runs use the Absurd CJS runtime.\n --header '<name>: <value>' may repeat; each is sent on every request for this run.\n Unknown --<input> value flags, such as --limit 5, are passed into play input.\nRun `deepline plays run --help` for idempotent call caching and deepline.dataset guidance.";
|
|
7594
7597
|
let filePath = null;
|
|
7595
7598
|
let playName = null;
|
|
7596
7599
|
let input = initialInput === null ? null : structuredClone(initialInput);
|
|
@@ -8649,7 +8652,7 @@ function buildReadonlyPrebuiltPlayError(reference) {
|
|
|
8649
8652
|
`Cannot edit or push ${reference} because Deepline prebuilt plays are read-only.
|
|
8650
8653
|
To make your own version:
|
|
8651
8654
|
1. Run: deepline plays get ${reference} --source --out ./${localName}.play.ts
|
|
8652
|
-
2. Change
|
|
8655
|
+
2. Change its export const config = { name } to a new play name you own.
|
|
8653
8656
|
3. Run: deepline plays check ./${localName}.play.ts
|
|
8654
8657
|
4. Run: deepline plays publish ./${localName}.play.ts
|
|
8655
8658
|
5. Your play will then live under your workspace namespace.`
|
|
@@ -8663,13 +8666,28 @@ async function ensureEditableRemotePlay(client, target) {
|
|
|
8663
8666
|
}
|
|
8664
8667
|
return detail;
|
|
8665
8668
|
}
|
|
8669
|
+
function writeInlinePlay(code) {
|
|
8670
|
+
const filePath = resolve5(INLINE_PLAY_FILE);
|
|
8671
|
+
const source = inlinePlaySource(code);
|
|
8672
|
+
try {
|
|
8673
|
+
writeFileSync3(filePath, source, { flag: "wx" });
|
|
8674
|
+
} catch (error) {
|
|
8675
|
+
if (error.code === "EEXIST") {
|
|
8676
|
+
throw new Error(
|
|
8677
|
+
`${filePath} already exists. Remove it, or run it with: deepline plays run ${filePath}`
|
|
8678
|
+
);
|
|
8679
|
+
}
|
|
8680
|
+
throw error;
|
|
8681
|
+
}
|
|
8682
|
+
return filePath;
|
|
8683
|
+
}
|
|
8666
8684
|
function buildMissingDefinePlayError(filePath) {
|
|
8667
8685
|
return new Error(
|
|
8668
|
-
`Play file ${filePath}
|
|
8686
|
+
`Play file ${filePath} is not a play. Write the play as \`import deepline from 'deepline'; export default async function (input: T) { ... return { ... }; }\`.`
|
|
8669
8687
|
);
|
|
8670
8688
|
}
|
|
8671
8689
|
function extractPlayName(code, filePath) {
|
|
8672
|
-
const definedPlayName = extractDefinedPlayName(code);
|
|
8690
|
+
const definedPlayName = extractDefinedPlayName(code, filePath);
|
|
8673
8691
|
if (definedPlayName) {
|
|
8674
8692
|
return definedPlayName;
|
|
8675
8693
|
}
|
|
@@ -8896,7 +8914,7 @@ var PlayBundleGraphError = class extends Error {
|
|
|
8896
8914
|
};
|
|
8897
8915
|
function unresolvedPackagedFilesMessage(node) {
|
|
8898
8916
|
const details = node.unresolvedFileReferences.map((unresolved) => `${unresolved.sourceFragment}: ${unresolved.message}`).join("; ");
|
|
8899
|
-
return `Failed to package local
|
|
8917
|
+
return `Failed to package local deepline.csv(...) files in ${node.filePath}: ${details}`;
|
|
8900
8918
|
}
|
|
8901
8919
|
async function collectBundledPlayGraph(entryFile, profile = null, entryExportName = PLAY_DEFAULT_EXPORT, options = {}) {
|
|
8902
8920
|
const playBundler = await loadPlayBundler();
|
|
@@ -8987,19 +9005,9 @@ function requireCompilerManifest(node) {
|
|
|
8987
9005
|
}
|
|
8988
9006
|
return node.compilerManifest;
|
|
8989
9007
|
}
|
|
8990
|
-
function missingPlayDescriptionMessage(node) {
|
|
8991
|
-
const playName = node.playName ?? extractPlayName(node.sourceCode, node.filePath);
|
|
8992
|
-
return [
|
|
8993
|
-
`Play description is required for ${playName} (${node.filePath}).`,
|
|
8994
|
-
"Add a top-level description to definePlay so agents and future play surfaces can explain what this play does.",
|
|
8995
|
-
`Example: definePlay("${playName}", async (ctx, input) => { ... }, { description: "Look up company details from a domain." })`,
|
|
8996
|
-
`Object form: definePlay({ id: "${playName}", description: "Look up company details from a domain.", input, run })`
|
|
8997
|
-
].join(" ");
|
|
8998
|
-
}
|
|
8999
9008
|
function collectPlayGraphAuthoringErrors(graph) {
|
|
9000
9009
|
return [...graph.nodes.values()].flatMap((node) => [
|
|
9001
|
-
...node.unresolvedFileReferences.length > 0 ? [unresolvedPackagedFilesMessage(node)] : []
|
|
9002
|
-
...node.playDescription?.trim() ? [] : [missingPlayDescriptionMessage(node)]
|
|
9010
|
+
...node.unresolvedFileReferences.length > 0 ? [unresolvedPackagedFilesMessage(node)] : []
|
|
9003
9011
|
]);
|
|
9004
9012
|
}
|
|
9005
9013
|
function assertPlayGraphAuthoring(graph) {
|
|
@@ -9024,7 +9032,7 @@ async function publishImportedPlayDependencies(client, graph) {
|
|
|
9024
9032
|
}
|
|
9025
9033
|
if (!node.playName) {
|
|
9026
9034
|
throw new Error(
|
|
9027
|
-
`Imported play ${absolutePath} must
|
|
9035
|
+
`Imported play ${absolutePath} must be a script play (import deepline from 'deepline') or default-export a play function so it can be published for runtime composition.`
|
|
9028
9036
|
);
|
|
9029
9037
|
}
|
|
9030
9038
|
await client.registerPlayArtifact({
|
|
@@ -9236,7 +9244,7 @@ function getRunLifecycleHint(input) {
|
|
|
9236
9244
|
const resumeAt = projectedWake ?? (typeof recordedWake === "number" && Number.isFinite(recordedWake) ? recordedWake : null);
|
|
9237
9245
|
return {
|
|
9238
9246
|
signature: [runId, status, "sleep", resumeAt ?? ""].join(":"),
|
|
9239
|
-
line: `[play waiting] ${runId} is ${describeSleepUntil(resumeAt)} (
|
|
9247
|
+
line: `[play waiting] ${runId} is ${describeSleepUntil(resumeAt)} (deepline.sleep). The command will continue watching; inspect it with ${inspect}.`
|
|
9240
9248
|
};
|
|
9241
9249
|
}
|
|
9242
9250
|
const typedEventWaitKind = getLiveRunStringField(input.event, "waitKind");
|
|
@@ -9377,7 +9385,7 @@ function emitLiveDebugTableHints(input) {
|
|
|
9377
9385
|
}
|
|
9378
9386
|
input.state.emittedDebugKeys.add(tableKey);
|
|
9379
9387
|
input.progress.writeLine(
|
|
9380
|
-
`Possible dataset table ${tableNamespace}: created only after this
|
|
9388
|
+
`Possible dataset table ${tableNamespace}: created only after this deepline.dataset(...).run(...) executes. Inspect returned datasets with ${buildRunInspectCommand(input.runId)}`,
|
|
9381
9389
|
process.stdout
|
|
9382
9390
|
);
|
|
9383
9391
|
}
|
|
@@ -12639,7 +12647,7 @@ ${commands.join("\n")}`,
|
|
|
12639
12647
|
if (rowsInfo.exportUnavailableReason === "returned_dataset_not_persisted") {
|
|
12640
12648
|
const datasetLabel = options.datasetPath ?? rowsInfo.source ?? rowsInfo.datasetId ?? "result.rows";
|
|
12641
12649
|
throw new DeeplineError(
|
|
12642
|
-
rowsInfo.exportUnavailableMessage ?? `Run ${status.runId} returned rows for '${datasetLabel}' without a run-scoped durable dataset. Persist the rows with
|
|
12650
|
+
rowsInfo.exportUnavailableMessage ?? `Run ${status.runId} returned rows for '${datasetLabel}' without a run-scoped durable dataset. Persist the rows with deepline.dataset("rows", rows).run() before returning them.`,
|
|
12643
12651
|
void 0,
|
|
12644
12652
|
"RUN_EXPORT_NOT_AVAILABLE",
|
|
12645
12653
|
{
|
|
@@ -12649,7 +12657,7 @@ ${commands.join("\n")}`,
|
|
|
12649
12657
|
guidance: {
|
|
12650
12658
|
do_not_rerun: false,
|
|
12651
12659
|
reason: "The returned rows exist only in the in-memory tool result.",
|
|
12652
|
-
persist_rows: '
|
|
12660
|
+
persist_rows: 'deepline.dataset("rows", rows).run()'
|
|
12653
12661
|
}
|
|
12654
12662
|
}
|
|
12655
12663
|
);
|
|
@@ -16662,7 +16670,7 @@ function registerPlayCommands(program) {
|
|
|
16662
16670
|
`
|
|
16663
16671
|
Concepts:
|
|
16664
16672
|
Plays are durable cloud workflows.
|
|
16665
|
-
Stable
|
|
16673
|
+
Stable deepline.tools.execute({ id, tool, input, staleAfterSeconds: 0 }) requests fresh work.
|
|
16666
16674
|
In authoring edition 11, choose freshness explicitly: 0 for fresh logical
|
|
16667
16675
|
work, a positive integer for the maximum reusable result age in seconds, or
|
|
16668
16676
|
null for indefinite result reuse. A matching completed operation receipt can
|
|
@@ -16670,7 +16678,7 @@ Concepts:
|
|
|
16670
16678
|
omitted-value behavior.
|
|
16671
16679
|
Completed calls are replay-safe during recovery of the same run; unfinished calls may execute again.
|
|
16672
16680
|
A stable id recovers a completed call; repeating plays run starts new work.
|
|
16673
|
-
|
|
16681
|
+
deepline.dataset adds row keys and row progress.
|
|
16674
16682
|
Named play runs use the live revision unless --latest or --revision-id is set.
|
|
16675
16683
|
Installed npm and repo-local CLIs can run saved/prebuilt plays by name or
|
|
16676
16684
|
bundle local .play.ts files for development workflows.
|
|
@@ -16700,8 +16708,23 @@ More options:
|
|
|
16700
16708
|
deepline runs export -h
|
|
16701
16709
|
|
|
16702
16710
|
Authoring:
|
|
16711
|
+
A play is a .play.ts file that default-exports an async function of its
|
|
16712
|
+
input; the file name is the default play name.
|
|
16713
|
+
import deepline from 'deepline';
|
|
16714
|
+
export default async function (input: { domain: string }) {
|
|
16715
|
+
const company = await deepline.tools.execute({
|
|
16716
|
+
id: 'company', tool: 'company_lookup', input: { domain: input.domain },
|
|
16717
|
+
description: 'Look up the company.',
|
|
16718
|
+
});
|
|
16719
|
+
return { company };
|
|
16720
|
+
}
|
|
16721
|
+
The parameter's type is the input contract and the returned object is the
|
|
16722
|
+
result. An optional export const config = { ... }; at the top of the file
|
|
16723
|
+
sets the name, triggers and runtime.
|
|
16724
|
+
Run code inline as the body of a play function (input holds --input):
|
|
16725
|
+
deepline plays run -e 'deepline.log("hello"); return { ok: true };'
|
|
16703
16726
|
Use normal TypeScript interpolation for human-facing strings:
|
|
16704
|
-
const readyMessage = \`Put \${
|
|
16727
|
+
const readyMessage = \`Put \${title} through to send-ready.\`;
|
|
16705
16728
|
An authored diagram is optional but highly recommended for every new or
|
|
16706
16729
|
substantially changed Play. Docflow parses only an explicit
|
|
16707
16730
|
/** @mermaid ... */ block and its // @mermaid-node annotations; ordinary
|
|
@@ -16837,7 +16860,7 @@ Notes:
|
|
|
16837
16860
|
It does not cancel active sibling runs.
|
|
16838
16861
|
--force-tool-refresh re-executes completed tool receipts and may repeat billed
|
|
16839
16862
|
provider calls. It is independent from --force.
|
|
16840
|
-
--max-concurrent-external-calls controls the per-run provider-tool/
|
|
16863
|
+
--max-concurrent-external-calls controls the per-run provider-tool/deepline.fetch
|
|
16841
16864
|
resident-work ceiling. Default: ${DEFAULT_MAX_CONCURRENT_EXTERNAL_CALLS}; accepted range: 1-${MAX_CONFIGURABLE_CONCURRENT_EXTERNAL_CALLS}.
|
|
16842
16865
|
Provider pacing and sandbox memory limits still apply.
|
|
16843
16866
|
--max-concurrent-rows sets the run-wide default and ceiling for live map row
|
|
@@ -16857,16 +16880,16 @@ Idempotent execution:
|
|
|
16857
16880
|
still recover that operation after resume. Older authored editions keep their
|
|
16858
16881
|
existing omitted-value behavior.
|
|
16859
16882
|
|
|
16860
|
-
await
|
|
16883
|
+
await deepline.tools.execute({ id: 'company_lookup', tool, input, staleAfterSeconds: 86400 });
|
|
16861
16884
|
|
|
16862
16885
|
The authored id is still required for readable logs and metadata, but
|
|
16863
16886
|
renaming it alone does not rebuy the same provider request.
|
|
16864
16887
|
|
|
16865
|
-
For rows, use
|
|
16888
|
+
For rows, use deepline.dataset plus a stable row key:
|
|
16866
16889
|
|
|
16867
|
-
const rows = await
|
|
16890
|
+
const rows = await deepline
|
|
16868
16891
|
.dataset('companies_v1', companies)
|
|
16869
|
-
.withColumn('cto', (row
|
|
16892
|
+
.withColumn('cto', (row) => deepline.tools.execute({
|
|
16870
16893
|
id: 'find_cto',
|
|
16871
16894
|
tool: 'dropleads_search_people',
|
|
16872
16895
|
staleAfterSeconds: 86400,
|
|
@@ -16876,7 +16899,7 @@ Idempotent execution:
|
|
|
16876
16899
|
|
|
16877
16900
|
Dataset cells are storage; put freshness on the actual call:
|
|
16878
16901
|
|
|
16879
|
-
await
|
|
16902
|
+
await deepline.tools.execute({
|
|
16880
16903
|
id: 'find_cto',
|
|
16881
16904
|
tool: 'dropleads_search_people',
|
|
16882
16905
|
input: { filters: { companyDomains: [row.domain], jobTitles: ['CTO'] }, pagination: { page: 1, limit: 1 } },
|
|
@@ -16888,6 +16911,7 @@ Examples:
|
|
|
16888
16911
|
deepline plays run long-background-play --no-wait
|
|
16889
16912
|
deepline plays run long-background-play --run-id-file ./run-id.json
|
|
16890
16913
|
deepline plays run my.play.ts --input '{"domain":"stripe.com"}'
|
|
16914
|
+
deepline plays run -e 'deepline.log("hello"); return { ok: true };'
|
|
16891
16915
|
deepline plays run my.play.ts --input '{"domain":"stripe.com"}' --log-level debug
|
|
16892
16916
|
deepline plays run my.play.ts --profile absurd
|
|
16893
16917
|
deepline plays run my.play.ts --max-concurrent-external-calls 20
|
|
@@ -16898,6 +16922,9 @@ Examples:
|
|
|
16898
16922
|
deepline runs get <run-id>
|
|
16899
16923
|
`
|
|
16900
16924
|
).option("--file <path>", "Local play file to run").option(
|
|
16925
|
+
"-e, --eval <code>",
|
|
16926
|
+
"Run code as the body of a play function (input holds --input), like a .play.ts file in this directory"
|
|
16927
|
+
).option(
|
|
16901
16928
|
"--dry-run",
|
|
16902
16929
|
"Show the local execution and import pinning plan without mutation"
|
|
16903
16930
|
).option("--name <name>", "Saved play name to run").option("-i, --input <json>", "Input JSON object or @file path").option("--live", "Run the current live revision explicitly").option("--latest", "Run the newest saved revision, even if it is not live").option(
|
|
@@ -16951,7 +16978,7 @@ Examples:
|
|
|
16951
16978
|
"Refresh completed tool receipts; may repeat billed provider calls"
|
|
16952
16979
|
).option(
|
|
16953
16980
|
"--max-concurrent-external-calls <count>",
|
|
16954
|
-
`Concurrent provider-tool and
|
|
16981
|
+
`Concurrent provider-tool and deepline.fetch executions (${DEFAULT_MAX_CONCURRENT_EXTERNAL_CALLS} default, max ${MAX_CONFIGURABLE_CONCURRENT_EXTERNAL_CALLS})`
|
|
16955
16982
|
).option(
|
|
16956
16983
|
"--max-concurrent-rows <count>",
|
|
16957
16984
|
`Run-wide dataset map row resolver ceiling (max ${MAX_CONFIGURABLE_CONCURRENT_ROWS})`
|
|
@@ -16974,32 +17001,44 @@ JSON field selection:
|
|
|
16974
17001
|
explicitly to retrieve diagnostics. Bare --json prints the whole response.
|
|
16975
17002
|
`
|
|
16976
17003
|
).action(
|
|
16977
|
-
async (target,
|
|
16978
|
-
const
|
|
16979
|
-
|
|
16980
|
-
|
|
16981
|
-
|
|
16982
|
-
|
|
16983
|
-
|
|
16984
|
-
|
|
16985
|
-
|
|
16986
|
-
|
|
16987
|
-
}
|
|
16988
|
-
const exitCode = await handlePlayRun(
|
|
16989
|
-
resolvePlayRunCliOptions(
|
|
16990
|
-
effectiveTarget ?? void 0,
|
|
16991
|
-
options,
|
|
16992
|
-
passthroughArgs,
|
|
16993
|
-
resolveCliMaintenancePolicy(command.optsWithGlobals())
|
|
16994
|
-
)
|
|
16995
|
-
);
|
|
16996
|
-
recordCliTrace({
|
|
16997
|
-
phase: "cli.play_command_exit",
|
|
16998
|
-
exitCode
|
|
16999
|
-
});
|
|
17000
|
-
process.exitCode = exitCode;
|
|
17004
|
+
async (target, cliOptions, command) => {
|
|
17005
|
+
const inlineFile = cliOptions.eval === void 0 ? null : writeInlinePlay(cliOptions.eval);
|
|
17006
|
+
try {
|
|
17007
|
+
process.exitCode = await runPlayCommand(
|
|
17008
|
+
target,
|
|
17009
|
+
inlineFile ? { ...cliOptions, file: inlineFile } : cliOptions,
|
|
17010
|
+
command
|
|
17011
|
+
);
|
|
17012
|
+
} finally {
|
|
17013
|
+
if (inlineFile) rmSync(inlineFile, { force: true });
|
|
17014
|
+
}
|
|
17001
17015
|
}
|
|
17002
17016
|
);
|
|
17017
|
+
async function runPlayCommand(target, options, command) {
|
|
17018
|
+
const passthroughArgs = [...command.args];
|
|
17019
|
+
const explicitTarget = options.file || options.name;
|
|
17020
|
+
const targetIsInputFlag = typeof target === "string" && target.startsWith("--");
|
|
17021
|
+
const effectiveTarget = explicitTarget || targetIsInputFlag ? null : target;
|
|
17022
|
+
if (explicitTarget && typeof target === "string" && !targetIsInputFlag && !passthroughArgs.includes(target)) {
|
|
17023
|
+
passthroughArgs.push(target);
|
|
17024
|
+
}
|
|
17025
|
+
if (effectiveTarget && passthroughArgs[0] === effectiveTarget) {
|
|
17026
|
+
passthroughArgs.shift();
|
|
17027
|
+
}
|
|
17028
|
+
const exitCode = await handlePlayRun(
|
|
17029
|
+
resolvePlayRunCliOptions(
|
|
17030
|
+
effectiveTarget ?? void 0,
|
|
17031
|
+
options,
|
|
17032
|
+
passthroughArgs,
|
|
17033
|
+
resolveCliMaintenancePolicy(command.optsWithGlobals())
|
|
17034
|
+
)
|
|
17035
|
+
);
|
|
17036
|
+
recordCliTrace({
|
|
17037
|
+
phase: "cli.play_command_exit",
|
|
17038
|
+
exitCode
|
|
17039
|
+
});
|
|
17040
|
+
return exitCode;
|
|
17041
|
+
}
|
|
17003
17042
|
registerPlaySettingsCommands(play);
|
|
17004
17043
|
registerPlayTriggerConfigCommands(play);
|
|
17005
17044
|
play.command("get <target>").description(
|
|
@@ -17197,7 +17236,7 @@ Examples:
|
|
|
17197
17236
|
process.exitCode = await ownView();
|
|
17198
17237
|
return;
|
|
17199
17238
|
}
|
|
17200
|
-
const { describeAnything } = await import("./describe-
|
|
17239
|
+
const { describeAnything } = await import("./describe-RX6VROHQ.mjs");
|
|
17201
17240
|
process.exitCode = await describeAnything(
|
|
17202
17241
|
name,
|
|
17203
17242
|
{
|
|
@@ -17605,7 +17644,7 @@ Examples:
|
|
|
17605
17644
|
"after",
|
|
17606
17645
|
`
|
|
17607
17646
|
Notes:
|
|
17608
|
-
Stops all active runs visible to this workspace, including child runs created by
|
|
17647
|
+
Stops all active runs visible to this workspace, including child runs created by deepline.runPlay.
|
|
17609
17648
|
--dry-run lists the exact candidates (same scope, statuses, and order) and
|
|
17610
17649
|
never cancels or mutates anything. A real stop-all exits nonzero when any
|
|
17611
17650
|
cancellation failed or the candidate list was truncated; failed runs stay
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkAVOBDFQ5js = require('./chunk-AVOBDFQ5.js');
|
|
4
4
|
require('./chunk-E4CABWXL.js');
|
|
5
5
|
require('./chunk-2H4EY7KH.js');
|
|
6
6
|
require('./chunk-KXMNM4AQ.js');
|
|
@@ -8,20 +8,20 @@ require('./chunk-XDVT3GOM.js');
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
12
|
-
require('./chunk-
|
|
11
|
+
var _chunkEWWWOKX2js = require('./chunk-EWWWOKX2.js');
|
|
12
|
+
require('./chunk-W42SSVM7.js');
|
|
13
13
|
require('./chunk-NPBJI7RE.js');
|
|
14
14
|
require('./chunk-XNYIZMNQ.js');
|
|
15
15
|
require('./chunk-PPDBRJRW.js');
|
|
16
|
-
require('./chunk-
|
|
16
|
+
require('./chunk-2F5ULM2F.js');
|
|
17
17
|
require('./chunk-OG64RBAC.js');
|
|
18
18
|
require('./chunk-COGTRVWW.js');
|
|
19
19
|
|
|
20
20
|
// src/cli/commands/providers.ts
|
|
21
21
|
async function listProviders(options = {}) {
|
|
22
|
-
const client = new (0,
|
|
22
|
+
const client = new (0, _chunkAVOBDFQ5js.DeeplineClient)();
|
|
23
23
|
const changed = options.changed === true;
|
|
24
|
-
const emitJson = options.json === true ||
|
|
24
|
+
const emitJson = options.json === true || _chunkEWWWOKX2js.shouldEmitJson.call(void 0, );
|
|
25
25
|
const providers = await client.listProviders({ changed });
|
|
26
26
|
const render = {
|
|
27
27
|
sections: [
|
|
@@ -40,7 +40,7 @@ async function listProviders(options = {}) {
|
|
|
40
40
|
}
|
|
41
41
|
]
|
|
42
42
|
};
|
|
43
|
-
|
|
43
|
+
_chunkEWWWOKX2js.printCommandEnvelope.call(void 0,
|
|
44
44
|
{
|
|
45
45
|
providers,
|
|
46
46
|
count: providers.length,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeeplineClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6FFORGD2.mjs";
|
|
4
4
|
import "./chunk-L2VKAASU.mjs";
|
|
5
5
|
import "./chunk-KCC3FKIW.mjs";
|
|
6
6
|
import "./chunk-EIMG75BT.mjs";
|
|
@@ -8,12 +8,12 @@ import "./chunk-UBKA33KY.mjs";
|
|
|
8
8
|
import {
|
|
9
9
|
printCommandEnvelope,
|
|
10
10
|
shouldEmitJson
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-QWJJMQNE.mjs";
|
|
12
|
+
import "./chunk-XSERB7H2.mjs";
|
|
13
13
|
import "./chunk-MAMVGOSC.mjs";
|
|
14
14
|
import "./chunk-DLIRSHV6.mjs";
|
|
15
15
|
import "./chunk-E4IXDAZI.mjs";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-JDAXVQV7.mjs";
|
|
17
17
|
import "./chunk-WZYKRD7T.mjs";
|
|
18
18
|
import "./chunk-KRD6H754.mjs";
|
|
19
19
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
printCommandEnvelope,
|
|
3
3
|
shouldEmitJson
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-QWJJMQNE.mjs";
|
|
5
|
+
import "./chunk-XSERB7H2.mjs";
|
|
6
6
|
import "./chunk-MAMVGOSC.mjs";
|
|
7
7
|
import "./chunk-DLIRSHV6.mjs";
|
|
8
8
|
import "./chunk-E4IXDAZI.mjs";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-JDAXVQV7.mjs";
|
|
10
10
|
import "./chunk-WZYKRD7T.mjs";
|
|
11
11
|
import {
|
|
12
12
|
DEEPLINE_GTM_SKILL,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
4
|
+
var _chunkEWWWOKX2js = require('./chunk-EWWWOKX2.js');
|
|
5
|
+
require('./chunk-W42SSVM7.js');
|
|
6
6
|
require('./chunk-NPBJI7RE.js');
|
|
7
7
|
require('./chunk-XNYIZMNQ.js');
|
|
8
8
|
require('./chunk-PPDBRJRW.js');
|
|
9
|
-
require('./chunk-
|
|
9
|
+
require('./chunk-2F5ULM2F.js');
|
|
10
10
|
require('./chunk-OG64RBAC.js');
|
|
11
11
|
|
|
12
12
|
|
|
@@ -16,12 +16,12 @@ require('./chunk-COGTRVWW.js');
|
|
|
16
16
|
|
|
17
17
|
// src/cli/commands/quickstart.ts
|
|
18
18
|
async function handleQuickstart(options) {
|
|
19
|
-
const jsonOutput =
|
|
19
|
+
const jsonOutput = _chunkEWWWOKX2js.shouldEmitJson.call(void 0, options.json === true);
|
|
20
20
|
const gettingStarted = {
|
|
21
21
|
skill: _chunkEBU7LQ64js.DEEPLINE_GTM_SKILL,
|
|
22
22
|
examples: _chunkEBU7LQ64js.DEEPLINE_GTM_STARTER_PROMPTS
|
|
23
23
|
};
|
|
24
|
-
|
|
24
|
+
_chunkEWWWOKX2js.printCommandEnvelope.call(void 0,
|
|
25
25
|
{
|
|
26
26
|
ok: true,
|
|
27
27
|
status: "deprecated",
|
|
@@ -5,19 +5,19 @@ import {
|
|
|
5
5
|
pointAtDescribe,
|
|
6
6
|
registerDeprecatedSearchCommand,
|
|
7
7
|
registerSearchCommand
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-YNT7PJND.mjs";
|
|
9
9
|
import "./chunk-LJ5747UC.mjs";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-6FFORGD2.mjs";
|
|
11
11
|
import "./chunk-L2VKAASU.mjs";
|
|
12
12
|
import "./chunk-KCC3FKIW.mjs";
|
|
13
13
|
import "./chunk-EIMG75BT.mjs";
|
|
14
14
|
import "./chunk-UBKA33KY.mjs";
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-QWJJMQNE.mjs";
|
|
16
|
+
import "./chunk-XSERB7H2.mjs";
|
|
17
17
|
import "./chunk-MAMVGOSC.mjs";
|
|
18
18
|
import "./chunk-DLIRSHV6.mjs";
|
|
19
19
|
import "./chunk-E4IXDAZI.mjs";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-JDAXVQV7.mjs";
|
|
21
21
|
import "./chunk-WZYKRD7T.mjs";
|
|
22
22
|
import "./chunk-KRD6H754.mjs";
|
|
23
23
|
export {
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
var _chunk2U3AMRHFjs = require('./chunk-2U3AMRHF.js');
|
|
9
|
+
require('./chunk-ZM2YPJQJ.js');
|
|
10
|
+
require('./chunk-AVOBDFQ5.js');
|
|
11
|
+
require('./chunk-E4CABWXL.js');
|
|
12
|
+
require('./chunk-2H4EY7KH.js');
|
|
13
|
+
require('./chunk-KXMNM4AQ.js');
|
|
14
|
+
require('./chunk-XDVT3GOM.js');
|
|
15
|
+
require('./chunk-EWWWOKX2.js');
|
|
16
|
+
require('./chunk-W42SSVM7.js');
|
|
17
|
+
require('./chunk-NPBJI7RE.js');
|
|
18
|
+
require('./chunk-XNYIZMNQ.js');
|
|
19
|
+
require('./chunk-PPDBRJRW.js');
|
|
20
|
+
require('./chunk-2F5ULM2F.js');
|
|
21
|
+
require('./chunk-OG64RBAC.js');
|
|
22
|
+
require('./chunk-COGTRVWW.js');
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
exports.SEARCH_TYPES = _chunk2U3AMRHFjs.SEARCH_TYPES; exports.appendCsv = _chunk2U3AMRHFjs.appendCsv; exports.parseTypes = _chunk2U3AMRHFjs.parseTypes; exports.pointAtDescribe = _chunk2U3AMRHFjs.pointAtDescribe; exports.registerDeprecatedSearchCommand = _chunk2U3AMRHFjs.registerDeprecatedSearchCommand; exports.registerSearchCommand = _chunk2U3AMRHFjs.registerSearchCommand;
|