deepline 0.3.273 → 0.3.274
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 +3 -3
- package/dist/bundling-sources/sdk/src/index.ts +1 -1
- package/dist/bundling-sources/sdk/src/play.ts +2 -2
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/cli/index.js +94 -46
- package/dist/cli/index.mjs +94 -46
- package/dist/{client-D9annc6K.d.mts → client-2rIHKJiq.d.mts} +2 -2
- package/dist/{client-5xpuGpRn.d.ts → client-D6fRwhnE.d.ts} +2 -2
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +4 -4
- package/dist/index.mjs +4 -4
- package/dist/install-integrity.json +2 -2
- package/dist/plays/run-request.d.mts +1 -1
- package/dist/plays/run-request.d.ts +1 -1
- package/dist/release.d.mts +1 -1
- package/dist/release.d.ts +1 -1
- package/dist/release.js +1 -1
- package/dist/release.mjs +1 -1
- package/package.json +1 -1
|
@@ -2890,7 +2890,7 @@ export class DeeplineClient {
|
|
|
2890
2890
|
play: Pick<PlayListItem, 'name' | 'reference' | 'inputSchema'>,
|
|
2891
2891
|
): string {
|
|
2892
2892
|
const target = play.reference || play.name;
|
|
2893
|
-
return `deepline plays run ${target}${playInputExampleArgs(play.inputSchema)}
|
|
2893
|
+
return `deepline plays run ${target}${playInputExampleArgs(play.inputSchema)}`;
|
|
2894
2894
|
}
|
|
2895
2895
|
|
|
2896
2896
|
private starterPlayPath(
|
|
@@ -3689,7 +3689,7 @@ export class DeeplineClient {
|
|
|
3689
3689
|
* Convenience wrapper around {@link registerPlayArtifact} plus
|
|
3690
3690
|
* {@link startPlayRun}. This is the canonical file-backed path used by wrappers.
|
|
3691
3691
|
* The returned id can be passed to {@link getPlayStatus} to retrieve the same
|
|
3692
|
-
* durable `{ result }` object that the CLI prints after
|
|
3692
|
+
* durable `{ result }` object that the CLI prints after `plays run` completes.
|
|
3693
3693
|
*
|
|
3694
3694
|
* @param code - Source string fallback; the bundled artifact should be passed in `options.artifact`
|
|
3695
3695
|
* @param csvPath - Path to input CSV file, or `null`
|
|
@@ -3871,7 +3871,7 @@ export class DeeplineClient {
|
|
|
3871
3871
|
* Get the current status of a play execution.
|
|
3872
3872
|
*
|
|
3873
3873
|
* Internal/advanced primitive. Public callers should usually prefer
|
|
3874
|
-
* {@link runPlay}, {@link PlayJob.get}, or `deepline plays run
|
|
3874
|
+
* {@link runPlay}, {@link PlayJob.get}, or `deepline plays run`.
|
|
3875
3875
|
*
|
|
3876
3876
|
* @param workflowId - Play-run id from {@link startPlayRun}
|
|
3877
3877
|
* @returns Current status with progress logs and partial results
|
|
@@ -50,7 +50,7 @@ export type {
|
|
|
50
50
|
* });
|
|
51
51
|
* ```
|
|
52
52
|
*
|
|
53
|
-
* Then run with the CLI: `deepline plays run --file my-play.play.ts
|
|
53
|
+
* Then run with the CLI: `deepline plays run --file my-play.play.ts`
|
|
54
54
|
* Installed npm CLIs can also run saved or prebuilt plays by name.
|
|
55
55
|
*
|
|
56
56
|
* ## Architecture
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
* ```
|
|
40
40
|
*
|
|
41
41
|
* Then run via the CLI:
|
|
42
|
-
* `deepline plays run --file my-play.play.ts
|
|
42
|
+
* `deepline plays run --file my-play.play.ts`.
|
|
43
43
|
* Installed npm CLIs can also run saved or prebuilt plays by name.
|
|
44
44
|
*
|
|
45
45
|
* ### Programmatic usage
|
|
@@ -486,7 +486,7 @@ export type DeeplinePlayRuntimeContext = PlayAuthoringRuntimeContext;
|
|
|
486
486
|
* Provides methods to check status, stream logs, wait for completion,
|
|
487
487
|
* or cancel the execution.
|
|
488
488
|
*
|
|
489
|
-
* This handle is the SDK-context equivalent of `deepline plays run
|
|
489
|
+
* This handle is the SDK-context equivalent of `deepline plays run` and
|
|
490
490
|
* `POST /api/v2/plays/run`: every surface returns a run id first, then exposes
|
|
491
491
|
* the completed user output through `PlayJob.get()` or the status endpoint's
|
|
492
492
|
* `result` field. Runtime logs are available from `status().progress.logs` and
|
|
@@ -200,7 +200,7 @@ export const SDK_RELEASE = {
|
|
|
200
200
|
// getters keep their established compatibility behavior.
|
|
201
201
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
202
202
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
203
|
-
version: '0.3.
|
|
203
|
+
version: '0.3.274',
|
|
204
204
|
updateSummary:
|
|
205
205
|
'Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release.',
|
|
206
206
|
packageCapabilities: {
|
package/dist/cli/index.js
CHANGED
|
@@ -1966,7 +1966,7 @@ configureProxyFromEnv();
|
|
|
1966
1966
|
var import_promises16 = require("fs/promises");
|
|
1967
1967
|
var import_node_path35 = require("path");
|
|
1968
1968
|
var import_node_os20 = require("os");
|
|
1969
|
-
var
|
|
1969
|
+
var import_commander7 = require("commander");
|
|
1970
1970
|
|
|
1971
1971
|
// ../plays/trigger-config-route.ts
|
|
1972
1972
|
function playTriggerConfigPath(playName) {
|
|
@@ -3512,7 +3512,7 @@ var SDK_RELEASE = {
|
|
|
3512
3512
|
// getters keep their established compatibility behavior.
|
|
3513
3513
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
3514
3514
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
3515
|
-
version: "0.3.
|
|
3515
|
+
version: "0.3.274",
|
|
3516
3516
|
updateSummary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release.",
|
|
3517
3517
|
packageCapabilities: {
|
|
3518
3518
|
updatePreferences: 1
|
|
@@ -7295,7 +7295,7 @@ var DeeplineClient = class _DeeplineClient {
|
|
|
7295
7295
|
}
|
|
7296
7296
|
playRunCommand(play) {
|
|
7297
7297
|
const target = play.reference || play.name;
|
|
7298
|
-
return `deepline plays run ${target}${playInputExampleArgs(play.inputSchema)}
|
|
7298
|
+
return `deepline plays run ${target}${playInputExampleArgs(play.inputSchema)}`;
|
|
7299
7299
|
}
|
|
7300
7300
|
starterPlayPath(play) {
|
|
7301
7301
|
const target = play.reference || play.name;
|
|
@@ -7856,7 +7856,7 @@ var DeeplineClient = class _DeeplineClient {
|
|
|
7856
7856
|
* Convenience wrapper around {@link registerPlayArtifact} plus
|
|
7857
7857
|
* {@link startPlayRun}. This is the canonical file-backed path used by wrappers.
|
|
7858
7858
|
* The returned id can be passed to {@link getPlayStatus} to retrieve the same
|
|
7859
|
-
* durable `{ result }` object that the CLI prints after
|
|
7859
|
+
* durable `{ result }` object that the CLI prints after `plays run` completes.
|
|
7860
7860
|
*
|
|
7861
7861
|
* @param code - Source string fallback; the bundled artifact should be passed in `options.artifact`
|
|
7862
7862
|
* @param csvPath - Path to input CSV file, or `null`
|
|
@@ -7977,7 +7977,7 @@ var DeeplineClient = class _DeeplineClient {
|
|
|
7977
7977
|
* Get the current status of a play execution.
|
|
7978
7978
|
*
|
|
7979
7979
|
* Internal/advanced primitive. Public callers should usually prefer
|
|
7980
|
-
* {@link runPlay}, {@link PlayJob.get}, or `deepline plays run
|
|
7980
|
+
* {@link runPlay}, {@link PlayJob.get}, or `deepline plays run`.
|
|
7981
7981
|
*
|
|
7982
7982
|
* @param workflowId - Play-run id from {@link startPlayRun}
|
|
7983
7983
|
* @returns Current status with progress logs and partial results
|
|
@@ -14885,7 +14885,7 @@ Examples:
|
|
|
14885
14885
|
var import_promises12 = require("fs/promises");
|
|
14886
14886
|
var import_node_os10 = require("os");
|
|
14887
14887
|
var import_node_path20 = require("path");
|
|
14888
|
-
var
|
|
14888
|
+
var import_commander4 = require("commander");
|
|
14889
14889
|
|
|
14890
14890
|
// ../plays/settings-contract.ts
|
|
14891
14891
|
var import_zod = require("zod");
|
|
@@ -15789,7 +15789,7 @@ var SECTIONS = [
|
|
|
15789
15789
|
paragraphs: [
|
|
15790
15790
|
"These commands read existing evidence; they do not start a run or execute a provider. Replace <run-id>, <play-name> and other angle-bracket values with identifiers returned by the CLI.",
|
|
15791
15791
|
"Text logs: runs logs <run-id> returns the last 200 retained lines by default. --out writes the full retained stream to a local file. --log-level filters text severity; debug includes all retained levels. --failed reads only a terminal-failed run\u2019s last 20 retained lines and reports retention limitations.",
|
|
15792
|
-
"Event search: omit the run ID, or add any of --since, --until, --play, --kind, --where, --payloads, --cursor, --runtime-namespace or --runtime-backend. A supplied run ID then narrows the search. --limit and --json alone do not switch a run\u2019s text logs to event search. Text-only flags --out, --failed
|
|
15792
|
+
"Event search: omit the run ID, or add any of --since, --until, --play, --kind, --where, --payloads, --cursor, --runtime-namespace or --runtime-backend. A supplied run ID then narrows the search. --limit and --json alone do not switch a run\u2019s text logs to event search. Text-only flags --out, --failed and --log-level cannot be combined with event search.",
|
|
15793
15793
|
"Current status and returned output selectors: runs get <run-id> --json. Live observation: runs watch <run-id>. Dataset rows: runs export <run-id> --dataset <returned-selector> --out rows.csv. A referenced tool response: runs receipt <run-id> --key <returned-receipt-key> --json. Read each command\u2019s --help for its options."
|
|
15794
15794
|
],
|
|
15795
15795
|
commands: [
|
|
@@ -15817,13 +15817,24 @@ var SECTIONS = [
|
|
|
15817
15817
|
"Identity strings: orgId, runId, playName, runtimeScope. These come from authenticated execution state; filters only narrow your authorized organization/runtime. Preview reads require the existing runtime credential and an authorized --runtime-namespace; --runtime-backend selects daytona or modal.",
|
|
15818
15818
|
"Event string: kind. Optional strings: source, stepId, stepKind, status, datasetId, phase, provider, operation. Optional positive integer: producerAttempt. These fields exist only when recorded; inspect a returned event before filtering on an optional field.",
|
|
15819
15819
|
'stepId/stepKind describe recorded step work; datasetId/phase describe dataset lifecycle (registered, available, failed). provider/operation appear on typed provider activity.observed events, not every receipt or provider call. status is the recorded status or activity state when present: run.completed and step.completed do not imply status == "completed". Select lifecycle outcomes with --kind.',
|
|
15820
|
-
"context.<key> matches an authored flat scalar log field: string, number or boolean. Context cannot override event identity. Missing fields do not match. --where supports only $.field == literal predicates joined with &&, at most eight predicates and 512 bytes. No OR, ranges, wildcards, nested payload paths or text search. Time uses --since/--until; level and message are not --where fields."
|
|
15820
|
+
"context.<key> matches an authored flat scalar log field: string, number or boolean. Context cannot override event identity. Missing fields do not match. --where supports only $.field == literal predicates joined with &&, at most eight predicates and 512 bytes. No OR, ranges, wildcards, nested payload paths or text search. Time uses --since/--until; level and message are not --where fields.",
|
|
15821
|
+
'Wrap the entire predicate in single shell quotes so $ and && reach the CLI unchanged. Inside it, strings use double quotes; numbers and booleans are unquoted. Types must match: 2 differs from "2", false differs from "false". Examples use illustrative recorded values; use your own step IDs, dataset IDs, provider/operation names and authored context. The context examples assume ctx.log recorded companyId: "acme_123", attempt: 2 and cached: false.'
|
|
15821
15822
|
],
|
|
15822
15823
|
commands: [
|
|
15824
|
+
"# Failed retained work with its stored error/result",
|
|
15823
15825
|
`deepline runs logs --kind receipt.failed --where '$.status == "failed"' --payloads --json`,
|
|
15824
|
-
|
|
15825
|
-
`deepline runs logs --kind
|
|
15826
|
-
|
|
15826
|
+
"# Failure details for one named step",
|
|
15827
|
+
`deepline runs logs --kind step.failed --where '$.stepId == "company-lookup"' --payloads --json`,
|
|
15828
|
+
"# Typed provider observations matching both fields",
|
|
15829
|
+
`deepline runs logs --kind activity.observed --where '$.provider == "apollo" && $.operation == "company_lookup"' --json`,
|
|
15830
|
+
"# Failed lifecycle transitions for one dataset",
|
|
15831
|
+
`deepline runs logs --kind dataset.lifecycle --where '$.datasetId == "companies" && $.phase == "failed"' --payloads --json`,
|
|
15832
|
+
"# Authored string context on log lines",
|
|
15833
|
+
`deepline runs logs --kind log.appended --where '$.context.companyId == "acme_123"' --json`,
|
|
15834
|
+
"# Authored number and boolean context, both required to match",
|
|
15835
|
+
"deepline runs logs --kind log.appended --where '$.context.attempt == 2 && $.context.cached == false' --json",
|
|
15836
|
+
"# Known producer identity within one run",
|
|
15837
|
+
`deepline runs logs <run-id> --where '$.source == "worker" && $.producerAttempt == 1' --json`
|
|
15827
15838
|
]
|
|
15828
15839
|
},
|
|
15829
15840
|
{
|
|
@@ -16693,6 +16704,7 @@ ${JSON.stringify(value, null, 2)}` : `${key}: ${String(value)}`
|
|
|
16693
16704
|
var import_node_fs13 = require("fs");
|
|
16694
16705
|
var import_promises11 = require("fs/promises");
|
|
16695
16706
|
var import_node_path19 = require("path");
|
|
16707
|
+
var import_commander3 = require("commander");
|
|
16696
16708
|
|
|
16697
16709
|
// src/cli/commands/plays/bootstrap.ts
|
|
16698
16710
|
var import_node_fs8 = require("fs");
|
|
@@ -17047,7 +17059,7 @@ Example: deepline plays bootstrap people-email --from csv:data/leads.csv --using
|
|
|
17047
17059
|
`Unknown plays bootstrap template: ${rawTemplate}
|
|
17048
17060
|
Supported templates: ${formatPlayBootstrapTemplates()}|${MONITOR_BOOTSTRAP_TEMPLATE}` + (looksLikePlayReference ? `
|
|
17049
17061
|
|
|
17050
|
-
"${rawTemplate}" looks like an existing play reference or file, not a bootstrap template. Do not run plays bootstrap on prebuilt/<play-name>. Use "deepline plays run ${rawTemplate} --input '{...}'
|
|
17062
|
+
"${rawTemplate}" looks like an existing play reference or file, not a bootstrap template. Do not run plays bootstrap on prebuilt/<play-name>. Use "deepline plays run ${rawTemplate} --input '{...}'" to run it directly, "deepline plays describe ${rawTemplate} --json" to inspect its contract, or "deepline plays get ${rawTemplate} --source --out scratchpad.play.ts" to clone/edit it.` : "")
|
|
17051
17063
|
);
|
|
17052
17064
|
}
|
|
17053
17065
|
return rawTemplate;
|
|
@@ -17816,7 +17828,7 @@ function playUsesMapBackedRuntime(play) {
|
|
|
17816
17828
|
}
|
|
17817
17829
|
function assertComposablePlayRoute(input2) {
|
|
17818
17830
|
if (!input2.playRef || !playUsesMapBackedRuntime(input2.play)) return;
|
|
17819
|
-
const runCommand2 = input2.play?.runCommand?.trim() || `deepline plays run ${input2.playRef} --input '{...}'
|
|
17831
|
+
const runCommand2 = input2.play?.runCommand?.trim() || `deepline plays run ${input2.playRef} --input '{...}'`;
|
|
17820
17832
|
throw new PlayBootstrapValidationError(
|
|
17821
17833
|
`Cannot use ${input2.stageLabel} play:${input2.playRef} in plays bootstrap composition: the selected play is dataset-backed/direct-run-only. Child plays that use ctx.dataset() own durable table state and must be run directly, exported, or validated as their own play instead of wrapped with ctx.runPlay. Run it directly first: ${runCommand2}`
|
|
17822
17834
|
);
|
|
@@ -17858,14 +17870,14 @@ function generatePlaySourceRowsBlock(input2) {
|
|
|
17858
17870
|
sourcePlay: input2.sourcePlay
|
|
17859
17871
|
})) {
|
|
17860
17872
|
const sourcePlay = input2.sourcePlay;
|
|
17861
|
-
const runCommand2 = sourcePlay?.runCommand?.trim() || `deepline plays run ${input2.source.value} --input '{...}'
|
|
17873
|
+
const runCommand2 = sourcePlay?.runCommand?.trim() || `deepline plays run ${input2.source.value} --input '{...}'`;
|
|
17862
17874
|
return `// Source play ${input2.source.value} is dataset-backed/direct-run-only, so this generated play is stage 2.
|
|
17863
17875
|
// Stage 1:
|
|
17864
17876
|
// ${runCommand2}
|
|
17865
17877
|
// Stage 2:
|
|
17866
17878
|
// deepline runs export <stage-1-run-id> --dataset 'result.rows' --out source-export.csv
|
|
17867
17879
|
// Stage 3:
|
|
17868
|
-
// deepline plays run <this-file.play.ts> --input '{"sourceCsv":"source-export.csv","limit":${input2.sourcePlay ? "5" : "5"}}'
|
|
17880
|
+
// deepline plays run <this-file.play.ts> --input '{"sourceCsv":"source-export.csv","limit":${input2.sourcePlay ? "5" : "5"}}'
|
|
17869
17881
|
const sourceDataset = await ctx.csv<${input2.collectionType}>(input.sourceCsv ?? './source-export.csv');
|
|
17870
17882
|
const ${input2.collection}: ${input2.collectionType}[] = await sourceDataset.peek(limit);`;
|
|
17871
17883
|
}
|
|
@@ -18345,7 +18357,7 @@ Notes:
|
|
|
18345
18357
|
Examples:
|
|
18346
18358
|
deepline plays bootstrap people-email --from csv:data/leads.csv --using play:prebuilt/name-and-domain-to-email-waterfall --limit 5 --out email-flow.play.ts
|
|
18347
18359
|
deepline plays check email-flow.play.ts
|
|
18348
|
-
deepline plays run email-flow.play.ts --input '{"limit":5}'
|
|
18360
|
+
deepline plays run email-flow.play.ts --input '{"limit":5}'
|
|
18349
18361
|
|
|
18350
18362
|
deepline plays bootstrap people-email --from provider:dropleads_search_people --using providers:hunter_email_finder,leadmagic_email_finder --limit 5 --out prospecting.play.ts
|
|
18351
18363
|
deepline plays bootstrap company-people-email --from provider:crustdata_companydb_search --people play:prebuilt/company-to-contact --email play:prebuilt/name-and-domain-to-email-waterfall --limit 5 --out account-contacts.play.ts
|
|
@@ -28280,7 +28292,7 @@ function buildPlayReferenceNotFoundMessage(input2) {
|
|
|
28280
28292
|
lines.push("", ` ${suggestion.reference}`);
|
|
28281
28293
|
if (input2.command === "run") {
|
|
28282
28294
|
lines.push(
|
|
28283
|
-
` deepline plays run ${suggestion.reference} --input '{...}'
|
|
28295
|
+
` deepline plays run ${suggestion.reference} --input '{...}'`
|
|
28284
28296
|
);
|
|
28285
28297
|
} else if (input2.command === "get") {
|
|
28286
28298
|
lines.push(` deepline plays get ${suggestion.reference} --json`);
|
|
@@ -31604,7 +31616,9 @@ function buildOrdinaryPlayRunCommand(options, resolvedRevisionId) {
|
|
|
31604
31616
|
}
|
|
31605
31617
|
if (options.open) parts.push("--open");
|
|
31606
31618
|
if (options.fullJson) parts.push("--full");
|
|
31607
|
-
if (options.jsonOutput && options.emitLogs)
|
|
31619
|
+
if (options.jsonOutput && options.emitLogs) {
|
|
31620
|
+
parts.push("--log-level", "debug");
|
|
31621
|
+
}
|
|
31608
31622
|
if (options.jsonOutput) parts.push("--json");
|
|
31609
31623
|
return parts.join(" ");
|
|
31610
31624
|
}
|
|
@@ -32688,7 +32702,7 @@ function parsePlayRunOptions(args) {
|
|
|
32688
32702
|
}
|
|
32689
32703
|
if (arg === "--tail") {
|
|
32690
32704
|
throw new Error(
|
|
32691
|
-
"--tail is removed for `plays run`;
|
|
32705
|
+
"--tail is removed for `plays run`; run waits and streams completion output by default."
|
|
32692
32706
|
);
|
|
32693
32707
|
}
|
|
32694
32708
|
continue;
|
|
@@ -35318,7 +35332,7 @@ async function handlePlayList(args) {
|
|
|
35318
35332
|
` cost estimate: ${formatPlayCostEstimate(play.costEstimate)}`
|
|
35319
35333
|
);
|
|
35320
35334
|
}
|
|
35321
|
-
lines.push(` run: deepline plays run ${reference}
|
|
35335
|
+
lines.push(` run: deepline plays run ${reference}`);
|
|
35322
35336
|
}
|
|
35323
35337
|
if (page.hasMore) {
|
|
35324
35338
|
lines.push("List truncated \u2014 more plays are available.");
|
|
@@ -36140,7 +36154,6 @@ Run and retrieve results:
|
|
|
36140
36154
|
2. Start and follow a new run: deepline plays run workflow.play.ts --csv contacts.csv
|
|
36141
36155
|
This example requires input.csv. Use the selected Play's actual input fields.
|
|
36142
36156
|
Run waits and shows progress by default; --no-wait returns immediately.
|
|
36143
|
-
--watch and --wait are redundant compatibility aliases for the default.
|
|
36144
36157
|
3. Read its overview: deepline runs get <run-id> --json
|
|
36145
36158
|
4. Export complete rows: deepline runs export <run-id> --dataset <returned-selector> --out results.csv
|
|
36146
36159
|
If disconnected, attach to the SAME run with deepline runs tail <run-id>.
|
|
@@ -36229,8 +36242,7 @@ Notes:
|
|
|
36229
36242
|
Named plays run the live saved revision.
|
|
36230
36243
|
File args accept local paths; the CLI stages files before submit.
|
|
36231
36244
|
By default, run waits for completion and prints logs, previews, stats, and
|
|
36232
|
-
|
|
36233
|
-
default behavior. Use --no-wait only when you intentionally want
|
|
36245
|
+
next commands. Use --no-wait only when you intentionally want
|
|
36234
36246
|
a fire-and-forget run id.
|
|
36235
36247
|
--run-id-file writes the durable run id to a versioned JSON file as soon as
|
|
36236
36248
|
the server accepts the run. The destination must not already exist.
|
|
@@ -36300,12 +36312,29 @@ Examples:
|
|
|
36300
36312
|
).option(
|
|
36301
36313
|
"--fixture-behavior <json>",
|
|
36302
36314
|
"Internal/testing: fixture response behavior JSON object or @file path"
|
|
36303
|
-
).
|
|
36315
|
+
).addOption(
|
|
36316
|
+
new import_commander3.Option(
|
|
36317
|
+
"--watch",
|
|
36318
|
+
"Compatibility alias; run waits by default"
|
|
36319
|
+
).hideHelp()
|
|
36320
|
+
).addOption(
|
|
36321
|
+
new import_commander3.Option(
|
|
36322
|
+
"--wait",
|
|
36323
|
+
"Compatibility alias; run waits by default"
|
|
36324
|
+
).hideHelp()
|
|
36325
|
+
).option("--no-wait", "Start the run and return immediately").option(
|
|
36304
36326
|
"--run-id-file <path>",
|
|
36305
36327
|
"Atomically write the accepted run id to a new JSON file"
|
|
36306
|
-
).
|
|
36307
|
-
|
|
36308
|
-
|
|
36328
|
+
).addOption(
|
|
36329
|
+
new import_commander3.Option(
|
|
36330
|
+
"--logs",
|
|
36331
|
+
"Compatibility alias for --log-level debug"
|
|
36332
|
+
).hideHelp()
|
|
36333
|
+
).addOption(
|
|
36334
|
+
new import_commander3.Option(
|
|
36335
|
+
"--debug [value]",
|
|
36336
|
+
"Compatibility alias for --log-level debug when bare; --debug <value> remains legacy Play input.debug"
|
|
36337
|
+
).hideHelp()
|
|
36309
36338
|
).option(
|
|
36310
36339
|
"--log-level <level>",
|
|
36311
36340
|
"Minimum live log severity: debug, info (default), warn, or error"
|
|
@@ -36987,9 +37016,8 @@ Notes:
|
|
|
36987
37016
|
logs for persisted log history. In human output, --compact prints
|
|
36988
37017
|
deduplicated step transitions and progress. --json emits one terminal
|
|
36989
37018
|
package. --jsonl emits canonical watched events as JSON Lines and ends with
|
|
36990
|
-
the same compact package shape as runs get --json.
|
|
36991
|
-
|
|
36992
|
-
filters the rendered customer-safe runtime log lines; debug includes runtime
|
|
37019
|
+
the same compact package shape as runs get --json. --log-level filters the
|
|
37020
|
+
rendered customer-safe runtime log lines; debug includes runtime
|
|
36993
37021
|
and receipt diagnostics and writes them to stderr alongside JSON output.
|
|
36994
37022
|
|
|
36995
37023
|
Examples:
|
|
@@ -37005,7 +37033,17 @@ Examples:
|
|
|
37005
37033
|
).option(
|
|
37006
37034
|
"--compact",
|
|
37007
37035
|
"Show deduplicated human step transitions and progress"
|
|
37008
|
-
).
|
|
37036
|
+
).addOption(
|
|
37037
|
+
new import_commander3.Option(
|
|
37038
|
+
"--logs",
|
|
37039
|
+
"Compatibility alias for --log-level debug"
|
|
37040
|
+
).hideHelp()
|
|
37041
|
+
).addOption(
|
|
37042
|
+
new import_commander3.Option(
|
|
37043
|
+
"--debug",
|
|
37044
|
+
"Compatibility alias for --log-level debug"
|
|
37045
|
+
).hideHelp()
|
|
37046
|
+
).option(
|
|
37009
37047
|
"--log-level <level>",
|
|
37010
37048
|
"Minimum severity: debug, info (default), warn, or error"
|
|
37011
37049
|
).action(async (runId, options) => {
|
|
@@ -37027,7 +37065,17 @@ Examples:
|
|
|
37027
37065
|
).option("--out <path>", "Write the full retained log stream to a file").option("--failed", "Show the bounded terminal-failure log window").option(
|
|
37028
37066
|
"--log-level <level>",
|
|
37029
37067
|
"Minimum severity: debug (default), info, warn, or error"
|
|
37030
|
-
).
|
|
37068
|
+
).addOption(
|
|
37069
|
+
new import_commander3.Option(
|
|
37070
|
+
"--logs",
|
|
37071
|
+
"Compatibility alias for --log-level debug"
|
|
37072
|
+
).hideHelp()
|
|
37073
|
+
).addOption(
|
|
37074
|
+
new import_commander3.Option(
|
|
37075
|
+
"--debug",
|
|
37076
|
+
"Compatibility alias for --log-level debug"
|
|
37077
|
+
).hideHelp()
|
|
37078
|
+
).option("--json", "Emit JSON output. Also automatic when stdout is piped").option("--since <timestamp>", "Search events since this UTC timestamp").option("--until <timestamp>", "Search events before this UTC timestamp").option("--play <name>", "Filter events by Play name").option(
|
|
37031
37079
|
"--kind <kind>",
|
|
37032
37080
|
"Search one exact event kind; complete catalog below"
|
|
37033
37081
|
).option(
|
|
@@ -37359,11 +37407,11 @@ async function handlePlaySharePublish(args) {
|
|
|
37359
37407
|
ok: false,
|
|
37360
37408
|
code: "NO_SUCCESSFUL_RUN",
|
|
37361
37409
|
message,
|
|
37362
|
-
next: `deepline plays run ${name}
|
|
37410
|
+
next: `deepline plays run ${name}`
|
|
37363
37411
|
});
|
|
37364
37412
|
} else {
|
|
37365
37413
|
console.error(message);
|
|
37366
|
-
console.error(` deepline plays run ${name}
|
|
37414
|
+
console.error(` deepline plays run ${name}`);
|
|
37367
37415
|
}
|
|
37368
37416
|
return 7;
|
|
37369
37417
|
}
|
|
@@ -42349,7 +42397,7 @@ function registerEnrichCommand(program) {
|
|
|
42349
42397
|
"--open",
|
|
42350
42398
|
"Open the generated play page in a browser after the run starts."
|
|
42351
42399
|
).addOption(
|
|
42352
|
-
new
|
|
42400
|
+
new import_commander4.Option(
|
|
42353
42401
|
"--no-open [legacy-value]",
|
|
42354
42402
|
"Removed legacy option"
|
|
42355
42403
|
).hideHelp()
|
|
@@ -42739,7 +42787,7 @@ function registerExecutionsCommands(program) {
|
|
|
42739
42787
|
}
|
|
42740
42788
|
|
|
42741
42789
|
// src/cli/commands/feedback.ts
|
|
42742
|
-
var
|
|
42790
|
+
var import_commander5 = require("commander");
|
|
42743
42791
|
var import_node_fs14 = require("fs");
|
|
42744
42792
|
async function handleFeedback(text, options) {
|
|
42745
42793
|
const message = resolveFeedbackText(text, options.file);
|
|
@@ -42805,7 +42853,7 @@ Notes:
|
|
|
42805
42853
|
to submit the report.
|
|
42806
42854
|
|
|
42807
42855
|
Examples:
|
|
42808
|
-
deepline feedback send "plays run failed after upload" --command "deepline plays run my.play.ts
|
|
42856
|
+
deepline feedback send "plays run failed after upload" --command "deepline plays run my.play.ts" --error-outcome terminal
|
|
42809
42857
|
deepline feedback send "unexpected billing output" --payload '{"command":"billing usage"}' --json
|
|
42810
42858
|
`
|
|
42811
42859
|
);
|
|
@@ -42817,10 +42865,10 @@ Examples:
|
|
|
42817
42865
|
deepline feedback send --file incident.md --requested --json
|
|
42818
42866
|
cat incident.md | deepline feedback send --requested --json
|
|
42819
42867
|
deepline feedback send "tools search returned stale results" --requested --json
|
|
42820
|
-
deepline feedback send "plays run failed after upload" --command "deepline plays run my.play.ts
|
|
42868
|
+
deepline feedback send "plays run failed after upload" --command "deepline plays run my.play.ts" --error-outcome terminal
|
|
42821
42869
|
`
|
|
42822
42870
|
).argument("[text]", "Feedback text").option("--file <path>", "Read feedback text from a file, or - for stdin").option("--command <command>", "Command that reproduced the issue").option("--payload <payload>", "JSON or plain-text payload for the repro").addOption(
|
|
42823
|
-
new
|
|
42871
|
+
new import_commander5.Option(
|
|
42824
42872
|
"--error-outcome <outcome>",
|
|
42825
42873
|
"Error impact on the task: terminal or continued"
|
|
42826
42874
|
).choices(["terminal", "continued"])
|
|
@@ -54065,7 +54113,7 @@ Examples:
|
|
|
54065
54113
|
}
|
|
54066
54114
|
|
|
54067
54115
|
// src/cli/commands/tools.ts
|
|
54068
|
-
var
|
|
54116
|
+
var import_commander6 = require("commander");
|
|
54069
54117
|
var import_node_fs28 = require("fs");
|
|
54070
54118
|
var import_node_os19 = require("os");
|
|
54071
54119
|
var import_node_path33 = require("path");
|
|
@@ -55075,7 +55123,7 @@ function isMissingToolMetadataError(error) {
|
|
|
55075
55123
|
function playAliasToolErrorMessage(toolId, play) {
|
|
55076
55124
|
const playName = play.reference ?? play.name;
|
|
55077
55125
|
return `${toolId} is a play, not a tool.
|
|
55078
|
-
Use: deepline plays run ${playName} --input '{...}'
|
|
55126
|
+
Use: deepline plays run ${playName} --input '{...}'
|
|
55079
55127
|
Inspect its schema with: deepline plays describe ${playName} --json`;
|
|
55080
55128
|
}
|
|
55081
55129
|
function printPlayAliasToolError(toolId, play) {
|
|
@@ -55107,11 +55155,11 @@ function playRunCommandForTool(tool, toolId, input2) {
|
|
|
55107
55155
|
const playReference = playReferenceForTool(tool);
|
|
55108
55156
|
if (!playReference) return playSearchCommandForToolId(toolId);
|
|
55109
55157
|
const inputArg = input2 === void 0 ? "'{...}'" : `'${JSON.stringify(input2)}'`;
|
|
55110
|
-
return `deepline plays run ${playReference} --input ${inputArg}
|
|
55158
|
+
return `deepline plays run ${playReference} --input ${inputArg}`;
|
|
55111
55159
|
}
|
|
55112
55160
|
function playLikeToolExecuteErrorMessage(toolId, tool) {
|
|
55113
55161
|
const playReference = tool ? playReferenceForTool(tool) : null;
|
|
55114
|
-
const nextStep = playReference ? `Use: deepline plays run ${playReference} --input '{...}'
|
|
55162
|
+
const nextStep = playReference ? `Use: deepline plays run ${playReference} --input '{...}'` : `Find the maintained workflow with: ${playSearchCommandForToolId(toolId)}`;
|
|
55115
55163
|
return [
|
|
55116
55164
|
`${toolId} is a workflow/play entry, not an atomic provider tool.`,
|
|
55117
55165
|
nextStep,
|
|
@@ -55287,12 +55335,12 @@ Examples:
|
|
|
55287
55335
|
"--examples-only",
|
|
55288
55336
|
"Only print runnable examples and sample payloads"
|
|
55289
55337
|
).option("--getters-only", "Only print extracted list/value getters").addOption(
|
|
55290
|
-
new
|
|
55338
|
+
new import_commander6.Option(
|
|
55291
55339
|
"--compact",
|
|
55292
55340
|
"Compatibility alias for the default compact view"
|
|
55293
55341
|
).hideHelp()
|
|
55294
55342
|
).addOption(
|
|
55295
|
-
new
|
|
55343
|
+
new import_commander6.Option(
|
|
55296
55344
|
"--contract-json",
|
|
55297
55345
|
"Compatibility alias for compact contract JSON"
|
|
55298
55346
|
).hideHelp()
|
|
@@ -58307,7 +58355,7 @@ async function main() {
|
|
|
58307
58355
|
if (printStartupPhase) {
|
|
58308
58356
|
progress?.phase("loading deepline cli");
|
|
58309
58357
|
}
|
|
58310
|
-
const program = new
|
|
58358
|
+
const program = new import_commander7.Command();
|
|
58311
58359
|
program.name("deepline").description(
|
|
58312
58360
|
"Deepline CLI \u2014 GTM enrichment tools, plays, and runs from your terminal."
|
|
58313
58361
|
).version(SDK_VERSION, "-v, --version", "Show version").exitOverride().showHelpAfterError().showSuggestionAfterError(true).addHelpText(
|
package/dist/cli/index.mjs
CHANGED
|
@@ -1953,7 +1953,7 @@ configureProxyFromEnv();
|
|
|
1953
1953
|
import { mkdtemp as mkdtemp4, rm as rm4, writeFile as writeFile7 } from "fs/promises";
|
|
1954
1954
|
import { join as join29 } from "path";
|
|
1955
1955
|
import { tmpdir as tmpdir7 } from "os";
|
|
1956
|
-
import { Command as
|
|
1956
|
+
import { Command as Command7 } from "commander";
|
|
1957
1957
|
|
|
1958
1958
|
// ../plays/trigger-config-route.ts
|
|
1959
1959
|
function playTriggerConfigPath(playName) {
|
|
@@ -3507,7 +3507,7 @@ var SDK_RELEASE = {
|
|
|
3507
3507
|
// getters keep their established compatibility behavior.
|
|
3508
3508
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
3509
3509
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
3510
|
-
version: "0.3.
|
|
3510
|
+
version: "0.3.274",
|
|
3511
3511
|
updateSummary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release.",
|
|
3512
3512
|
packageCapabilities: {
|
|
3513
3513
|
updatePreferences: 1
|
|
@@ -7290,7 +7290,7 @@ var DeeplineClient = class _DeeplineClient {
|
|
|
7290
7290
|
}
|
|
7291
7291
|
playRunCommand(play) {
|
|
7292
7292
|
const target = play.reference || play.name;
|
|
7293
|
-
return `deepline plays run ${target}${playInputExampleArgs(play.inputSchema)}
|
|
7293
|
+
return `deepline plays run ${target}${playInputExampleArgs(play.inputSchema)}`;
|
|
7294
7294
|
}
|
|
7295
7295
|
starterPlayPath(play) {
|
|
7296
7296
|
const target = play.reference || play.name;
|
|
@@ -7851,7 +7851,7 @@ var DeeplineClient = class _DeeplineClient {
|
|
|
7851
7851
|
* Convenience wrapper around {@link registerPlayArtifact} plus
|
|
7852
7852
|
* {@link startPlayRun}. This is the canonical file-backed path used by wrappers.
|
|
7853
7853
|
* The returned id can be passed to {@link getPlayStatus} to retrieve the same
|
|
7854
|
-
* durable `{ result }` object that the CLI prints after
|
|
7854
|
+
* durable `{ result }` object that the CLI prints after `plays run` completes.
|
|
7855
7855
|
*
|
|
7856
7856
|
* @param code - Source string fallback; the bundled artifact should be passed in `options.artifact`
|
|
7857
7857
|
* @param csvPath - Path to input CSV file, or `null`
|
|
@@ -7972,7 +7972,7 @@ var DeeplineClient = class _DeeplineClient {
|
|
|
7972
7972
|
* Get the current status of a play execution.
|
|
7973
7973
|
*
|
|
7974
7974
|
* Internal/advanced primitive. Public callers should usually prefer
|
|
7975
|
-
* {@link runPlay}, {@link PlayJob.get}, or `deepline plays run
|
|
7975
|
+
* {@link runPlay}, {@link PlayJob.get}, or `deepline plays run`.
|
|
7976
7976
|
*
|
|
7977
7977
|
* @param workflowId - Play-run id from {@link startPlayRun}
|
|
7978
7978
|
* @returns Current status with progress logs and partial results
|
|
@@ -14911,7 +14911,7 @@ import {
|
|
|
14911
14911
|
} from "fs/promises";
|
|
14912
14912
|
import { homedir as homedir6, tmpdir as tmpdir5 } from "os";
|
|
14913
14913
|
import { basename as basename4, dirname as dirname11, extname as extname3, join as join15, resolve as resolve14 } from "path";
|
|
14914
|
-
import { Option as
|
|
14914
|
+
import { Option as Option4 } from "commander";
|
|
14915
14915
|
|
|
14916
14916
|
// ../plays/settings-contract.ts
|
|
14917
14917
|
import { z } from "zod";
|
|
@@ -15815,7 +15815,7 @@ var SECTIONS = [
|
|
|
15815
15815
|
paragraphs: [
|
|
15816
15816
|
"These commands read existing evidence; they do not start a run or execute a provider. Replace <run-id>, <play-name> and other angle-bracket values with identifiers returned by the CLI.",
|
|
15817
15817
|
"Text logs: runs logs <run-id> returns the last 200 retained lines by default. --out writes the full retained stream to a local file. --log-level filters text severity; debug includes all retained levels. --failed reads only a terminal-failed run\u2019s last 20 retained lines and reports retention limitations.",
|
|
15818
|
-
"Event search: omit the run ID, or add any of --since, --until, --play, --kind, --where, --payloads, --cursor, --runtime-namespace or --runtime-backend. A supplied run ID then narrows the search. --limit and --json alone do not switch a run\u2019s text logs to event search. Text-only flags --out, --failed
|
|
15818
|
+
"Event search: omit the run ID, or add any of --since, --until, --play, --kind, --where, --payloads, --cursor, --runtime-namespace or --runtime-backend. A supplied run ID then narrows the search. --limit and --json alone do not switch a run\u2019s text logs to event search. Text-only flags --out, --failed and --log-level cannot be combined with event search.",
|
|
15819
15819
|
"Current status and returned output selectors: runs get <run-id> --json. Live observation: runs watch <run-id>. Dataset rows: runs export <run-id> --dataset <returned-selector> --out rows.csv. A referenced tool response: runs receipt <run-id> --key <returned-receipt-key> --json. Read each command\u2019s --help for its options."
|
|
15820
15820
|
],
|
|
15821
15821
|
commands: [
|
|
@@ -15843,13 +15843,24 @@ var SECTIONS = [
|
|
|
15843
15843
|
"Identity strings: orgId, runId, playName, runtimeScope. These come from authenticated execution state; filters only narrow your authorized organization/runtime. Preview reads require the existing runtime credential and an authorized --runtime-namespace; --runtime-backend selects daytona or modal.",
|
|
15844
15844
|
"Event string: kind. Optional strings: source, stepId, stepKind, status, datasetId, phase, provider, operation. Optional positive integer: producerAttempt. These fields exist only when recorded; inspect a returned event before filtering on an optional field.",
|
|
15845
15845
|
'stepId/stepKind describe recorded step work; datasetId/phase describe dataset lifecycle (registered, available, failed). provider/operation appear on typed provider activity.observed events, not every receipt or provider call. status is the recorded status or activity state when present: run.completed and step.completed do not imply status == "completed". Select lifecycle outcomes with --kind.',
|
|
15846
|
-
"context.<key> matches an authored flat scalar log field: string, number or boolean. Context cannot override event identity. Missing fields do not match. --where supports only $.field == literal predicates joined with &&, at most eight predicates and 512 bytes. No OR, ranges, wildcards, nested payload paths or text search. Time uses --since/--until; level and message are not --where fields."
|
|
15846
|
+
"context.<key> matches an authored flat scalar log field: string, number or boolean. Context cannot override event identity. Missing fields do not match. --where supports only $.field == literal predicates joined with &&, at most eight predicates and 512 bytes. No OR, ranges, wildcards, nested payload paths or text search. Time uses --since/--until; level and message are not --where fields.",
|
|
15847
|
+
'Wrap the entire predicate in single shell quotes so $ and && reach the CLI unchanged. Inside it, strings use double quotes; numbers and booleans are unquoted. Types must match: 2 differs from "2", false differs from "false". Examples use illustrative recorded values; use your own step IDs, dataset IDs, provider/operation names and authored context. The context examples assume ctx.log recorded companyId: "acme_123", attempt: 2 and cached: false.'
|
|
15847
15848
|
],
|
|
15848
15849
|
commands: [
|
|
15850
|
+
"# Failed retained work with its stored error/result",
|
|
15849
15851
|
`deepline runs logs --kind receipt.failed --where '$.status == "failed"' --payloads --json`,
|
|
15850
|
-
|
|
15851
|
-
`deepline runs logs --kind
|
|
15852
|
-
|
|
15852
|
+
"# Failure details for one named step",
|
|
15853
|
+
`deepline runs logs --kind step.failed --where '$.stepId == "company-lookup"' --payloads --json`,
|
|
15854
|
+
"# Typed provider observations matching both fields",
|
|
15855
|
+
`deepline runs logs --kind activity.observed --where '$.provider == "apollo" && $.operation == "company_lookup"' --json`,
|
|
15856
|
+
"# Failed lifecycle transitions for one dataset",
|
|
15857
|
+
`deepline runs logs --kind dataset.lifecycle --where '$.datasetId == "companies" && $.phase == "failed"' --payloads --json`,
|
|
15858
|
+
"# Authored string context on log lines",
|
|
15859
|
+
`deepline runs logs --kind log.appended --where '$.context.companyId == "acme_123"' --json`,
|
|
15860
|
+
"# Authored number and boolean context, both required to match",
|
|
15861
|
+
"deepline runs logs --kind log.appended --where '$.context.attempt == 2 && $.context.cached == false' --json",
|
|
15862
|
+
"# Known producer identity within one run",
|
|
15863
|
+
`deepline runs logs <run-id> --where '$.source == "worker" && $.producerAttempt == 1' --json`
|
|
15853
15864
|
]
|
|
15854
15865
|
},
|
|
15855
15866
|
{
|
|
@@ -16741,6 +16752,7 @@ import {
|
|
|
16741
16752
|
relative as relative5,
|
|
16742
16753
|
resolve as resolve13
|
|
16743
16754
|
} from "path";
|
|
16755
|
+
import { Option as Option3 } from "commander";
|
|
16744
16756
|
|
|
16745
16757
|
// src/cli/commands/plays/bootstrap.ts
|
|
16746
16758
|
import {
|
|
@@ -17101,7 +17113,7 @@ Example: deepline plays bootstrap people-email --from csv:data/leads.csv --using
|
|
|
17101
17113
|
`Unknown plays bootstrap template: ${rawTemplate}
|
|
17102
17114
|
Supported templates: ${formatPlayBootstrapTemplates()}|${MONITOR_BOOTSTRAP_TEMPLATE}` + (looksLikePlayReference ? `
|
|
17103
17115
|
|
|
17104
|
-
"${rawTemplate}" looks like an existing play reference or file, not a bootstrap template. Do not run plays bootstrap on prebuilt/<play-name>. Use "deepline plays run ${rawTemplate} --input '{...}'
|
|
17116
|
+
"${rawTemplate}" looks like an existing play reference or file, not a bootstrap template. Do not run plays bootstrap on prebuilt/<play-name>. Use "deepline plays run ${rawTemplate} --input '{...}'" to run it directly, "deepline plays describe ${rawTemplate} --json" to inspect its contract, or "deepline plays get ${rawTemplate} --source --out scratchpad.play.ts" to clone/edit it.` : "")
|
|
17105
17117
|
);
|
|
17106
17118
|
}
|
|
17107
17119
|
return rawTemplate;
|
|
@@ -17870,7 +17882,7 @@ function playUsesMapBackedRuntime(play) {
|
|
|
17870
17882
|
}
|
|
17871
17883
|
function assertComposablePlayRoute(input2) {
|
|
17872
17884
|
if (!input2.playRef || !playUsesMapBackedRuntime(input2.play)) return;
|
|
17873
|
-
const runCommand2 = input2.play?.runCommand?.trim() || `deepline plays run ${input2.playRef} --input '{...}'
|
|
17885
|
+
const runCommand2 = input2.play?.runCommand?.trim() || `deepline plays run ${input2.playRef} --input '{...}'`;
|
|
17874
17886
|
throw new PlayBootstrapValidationError(
|
|
17875
17887
|
`Cannot use ${input2.stageLabel} play:${input2.playRef} in plays bootstrap composition: the selected play is dataset-backed/direct-run-only. Child plays that use ctx.dataset() own durable table state and must be run directly, exported, or validated as their own play instead of wrapped with ctx.runPlay. Run it directly first: ${runCommand2}`
|
|
17876
17888
|
);
|
|
@@ -17912,14 +17924,14 @@ function generatePlaySourceRowsBlock(input2) {
|
|
|
17912
17924
|
sourcePlay: input2.sourcePlay
|
|
17913
17925
|
})) {
|
|
17914
17926
|
const sourcePlay = input2.sourcePlay;
|
|
17915
|
-
const runCommand2 = sourcePlay?.runCommand?.trim() || `deepline plays run ${input2.source.value} --input '{...}'
|
|
17927
|
+
const runCommand2 = sourcePlay?.runCommand?.trim() || `deepline plays run ${input2.source.value} --input '{...}'`;
|
|
17916
17928
|
return `// Source play ${input2.source.value} is dataset-backed/direct-run-only, so this generated play is stage 2.
|
|
17917
17929
|
// Stage 1:
|
|
17918
17930
|
// ${runCommand2}
|
|
17919
17931
|
// Stage 2:
|
|
17920
17932
|
// deepline runs export <stage-1-run-id> --dataset 'result.rows' --out source-export.csv
|
|
17921
17933
|
// Stage 3:
|
|
17922
|
-
// deepline plays run <this-file.play.ts> --input '{"sourceCsv":"source-export.csv","limit":${input2.sourcePlay ? "5" : "5"}}'
|
|
17934
|
+
// deepline plays run <this-file.play.ts> --input '{"sourceCsv":"source-export.csv","limit":${input2.sourcePlay ? "5" : "5"}}'
|
|
17923
17935
|
const sourceDataset = await ctx.csv<${input2.collectionType}>(input.sourceCsv ?? './source-export.csv');
|
|
17924
17936
|
const ${input2.collection}: ${input2.collectionType}[] = await sourceDataset.peek(limit);`;
|
|
17925
17937
|
}
|
|
@@ -18399,7 +18411,7 @@ Notes:
|
|
|
18399
18411
|
Examples:
|
|
18400
18412
|
deepline plays bootstrap people-email --from csv:data/leads.csv --using play:prebuilt/name-and-domain-to-email-waterfall --limit 5 --out email-flow.play.ts
|
|
18401
18413
|
deepline plays check email-flow.play.ts
|
|
18402
|
-
deepline plays run email-flow.play.ts --input '{"limit":5}'
|
|
18414
|
+
deepline plays run email-flow.play.ts --input '{"limit":5}'
|
|
18403
18415
|
|
|
18404
18416
|
deepline plays bootstrap people-email --from provider:dropleads_search_people --using providers:hunter_email_finder,leadmagic_email_finder --limit 5 --out prospecting.play.ts
|
|
18405
18417
|
deepline plays bootstrap company-people-email --from provider:crustdata_companydb_search --people play:prebuilt/company-to-contact --email play:prebuilt/name-and-domain-to-email-waterfall --limit 5 --out account-contacts.play.ts
|
|
@@ -28353,7 +28365,7 @@ function buildPlayReferenceNotFoundMessage(input2) {
|
|
|
28353
28365
|
lines.push("", ` ${suggestion.reference}`);
|
|
28354
28366
|
if (input2.command === "run") {
|
|
28355
28367
|
lines.push(
|
|
28356
|
-
` deepline plays run ${suggestion.reference} --input '{...}'
|
|
28368
|
+
` deepline plays run ${suggestion.reference} --input '{...}'`
|
|
28357
28369
|
);
|
|
28358
28370
|
} else if (input2.command === "get") {
|
|
28359
28371
|
lines.push(` deepline plays get ${suggestion.reference} --json`);
|
|
@@ -31677,7 +31689,9 @@ function buildOrdinaryPlayRunCommand(options, resolvedRevisionId) {
|
|
|
31677
31689
|
}
|
|
31678
31690
|
if (options.open) parts.push("--open");
|
|
31679
31691
|
if (options.fullJson) parts.push("--full");
|
|
31680
|
-
if (options.jsonOutput && options.emitLogs)
|
|
31692
|
+
if (options.jsonOutput && options.emitLogs) {
|
|
31693
|
+
parts.push("--log-level", "debug");
|
|
31694
|
+
}
|
|
31681
31695
|
if (options.jsonOutput) parts.push("--json");
|
|
31682
31696
|
return parts.join(" ");
|
|
31683
31697
|
}
|
|
@@ -32761,7 +32775,7 @@ function parsePlayRunOptions(args) {
|
|
|
32761
32775
|
}
|
|
32762
32776
|
if (arg === "--tail") {
|
|
32763
32777
|
throw new Error(
|
|
32764
|
-
"--tail is removed for `plays run`;
|
|
32778
|
+
"--tail is removed for `plays run`; run waits and streams completion output by default."
|
|
32765
32779
|
);
|
|
32766
32780
|
}
|
|
32767
32781
|
continue;
|
|
@@ -35391,7 +35405,7 @@ async function handlePlayList(args) {
|
|
|
35391
35405
|
` cost estimate: ${formatPlayCostEstimate(play.costEstimate)}`
|
|
35392
35406
|
);
|
|
35393
35407
|
}
|
|
35394
|
-
lines.push(` run: deepline plays run ${reference}
|
|
35408
|
+
lines.push(` run: deepline plays run ${reference}`);
|
|
35395
35409
|
}
|
|
35396
35410
|
if (page.hasMore) {
|
|
35397
35411
|
lines.push("List truncated \u2014 more plays are available.");
|
|
@@ -36213,7 +36227,6 @@ Run and retrieve results:
|
|
|
36213
36227
|
2. Start and follow a new run: deepline plays run workflow.play.ts --csv contacts.csv
|
|
36214
36228
|
This example requires input.csv. Use the selected Play's actual input fields.
|
|
36215
36229
|
Run waits and shows progress by default; --no-wait returns immediately.
|
|
36216
|
-
--watch and --wait are redundant compatibility aliases for the default.
|
|
36217
36230
|
3. Read its overview: deepline runs get <run-id> --json
|
|
36218
36231
|
4. Export complete rows: deepline runs export <run-id> --dataset <returned-selector> --out results.csv
|
|
36219
36232
|
If disconnected, attach to the SAME run with deepline runs tail <run-id>.
|
|
@@ -36302,8 +36315,7 @@ Notes:
|
|
|
36302
36315
|
Named plays run the live saved revision.
|
|
36303
36316
|
File args accept local paths; the CLI stages files before submit.
|
|
36304
36317
|
By default, run waits for completion and prints logs, previews, stats, and
|
|
36305
|
-
|
|
36306
|
-
default behavior. Use --no-wait only when you intentionally want
|
|
36318
|
+
next commands. Use --no-wait only when you intentionally want
|
|
36307
36319
|
a fire-and-forget run id.
|
|
36308
36320
|
--run-id-file writes the durable run id to a versioned JSON file as soon as
|
|
36309
36321
|
the server accepts the run. The destination must not already exist.
|
|
@@ -36373,12 +36385,29 @@ Examples:
|
|
|
36373
36385
|
).option(
|
|
36374
36386
|
"--fixture-behavior <json>",
|
|
36375
36387
|
"Internal/testing: fixture response behavior JSON object or @file path"
|
|
36376
|
-
).
|
|
36388
|
+
).addOption(
|
|
36389
|
+
new Option3(
|
|
36390
|
+
"--watch",
|
|
36391
|
+
"Compatibility alias; run waits by default"
|
|
36392
|
+
).hideHelp()
|
|
36393
|
+
).addOption(
|
|
36394
|
+
new Option3(
|
|
36395
|
+
"--wait",
|
|
36396
|
+
"Compatibility alias; run waits by default"
|
|
36397
|
+
).hideHelp()
|
|
36398
|
+
).option("--no-wait", "Start the run and return immediately").option(
|
|
36377
36399
|
"--run-id-file <path>",
|
|
36378
36400
|
"Atomically write the accepted run id to a new JSON file"
|
|
36379
|
-
).
|
|
36380
|
-
|
|
36381
|
-
|
|
36401
|
+
).addOption(
|
|
36402
|
+
new Option3(
|
|
36403
|
+
"--logs",
|
|
36404
|
+
"Compatibility alias for --log-level debug"
|
|
36405
|
+
).hideHelp()
|
|
36406
|
+
).addOption(
|
|
36407
|
+
new Option3(
|
|
36408
|
+
"--debug [value]",
|
|
36409
|
+
"Compatibility alias for --log-level debug when bare; --debug <value> remains legacy Play input.debug"
|
|
36410
|
+
).hideHelp()
|
|
36382
36411
|
).option(
|
|
36383
36412
|
"--log-level <level>",
|
|
36384
36413
|
"Minimum live log severity: debug, info (default), warn, or error"
|
|
@@ -37060,9 +37089,8 @@ Notes:
|
|
|
37060
37089
|
logs for persisted log history. In human output, --compact prints
|
|
37061
37090
|
deduplicated step transitions and progress. --json emits one terminal
|
|
37062
37091
|
package. --jsonl emits canonical watched events as JSON Lines and ends with
|
|
37063
|
-
the same compact package shape as runs get --json.
|
|
37064
|
-
|
|
37065
|
-
filters the rendered customer-safe runtime log lines; debug includes runtime
|
|
37092
|
+
the same compact package shape as runs get --json. --log-level filters the
|
|
37093
|
+
rendered customer-safe runtime log lines; debug includes runtime
|
|
37066
37094
|
and receipt diagnostics and writes them to stderr alongside JSON output.
|
|
37067
37095
|
|
|
37068
37096
|
Examples:
|
|
@@ -37078,7 +37106,17 @@ Examples:
|
|
|
37078
37106
|
).option(
|
|
37079
37107
|
"--compact",
|
|
37080
37108
|
"Show deduplicated human step transitions and progress"
|
|
37081
|
-
).
|
|
37109
|
+
).addOption(
|
|
37110
|
+
new Option3(
|
|
37111
|
+
"--logs",
|
|
37112
|
+
"Compatibility alias for --log-level debug"
|
|
37113
|
+
).hideHelp()
|
|
37114
|
+
).addOption(
|
|
37115
|
+
new Option3(
|
|
37116
|
+
"--debug",
|
|
37117
|
+
"Compatibility alias for --log-level debug"
|
|
37118
|
+
).hideHelp()
|
|
37119
|
+
).option(
|
|
37082
37120
|
"--log-level <level>",
|
|
37083
37121
|
"Minimum severity: debug, info (default), warn, or error"
|
|
37084
37122
|
).action(async (runId, options) => {
|
|
@@ -37100,7 +37138,17 @@ Examples:
|
|
|
37100
37138
|
).option("--out <path>", "Write the full retained log stream to a file").option("--failed", "Show the bounded terminal-failure log window").option(
|
|
37101
37139
|
"--log-level <level>",
|
|
37102
37140
|
"Minimum severity: debug (default), info, warn, or error"
|
|
37103
|
-
).
|
|
37141
|
+
).addOption(
|
|
37142
|
+
new Option3(
|
|
37143
|
+
"--logs",
|
|
37144
|
+
"Compatibility alias for --log-level debug"
|
|
37145
|
+
).hideHelp()
|
|
37146
|
+
).addOption(
|
|
37147
|
+
new Option3(
|
|
37148
|
+
"--debug",
|
|
37149
|
+
"Compatibility alias for --log-level debug"
|
|
37150
|
+
).hideHelp()
|
|
37151
|
+
).option("--json", "Emit JSON output. Also automatic when stdout is piped").option("--since <timestamp>", "Search events since this UTC timestamp").option("--until <timestamp>", "Search events before this UTC timestamp").option("--play <name>", "Filter events by Play name").option(
|
|
37104
37152
|
"--kind <kind>",
|
|
37105
37153
|
"Search one exact event kind; complete catalog below"
|
|
37106
37154
|
).option(
|
|
@@ -37432,11 +37480,11 @@ async function handlePlaySharePublish(args) {
|
|
|
37432
37480
|
ok: false,
|
|
37433
37481
|
code: "NO_SUCCESSFUL_RUN",
|
|
37434
37482
|
message,
|
|
37435
|
-
next: `deepline plays run ${name}
|
|
37483
|
+
next: `deepline plays run ${name}`
|
|
37436
37484
|
});
|
|
37437
37485
|
} else {
|
|
37438
37486
|
console.error(message);
|
|
37439
|
-
console.error(` deepline plays run ${name}
|
|
37487
|
+
console.error(` deepline plays run ${name}`);
|
|
37440
37488
|
}
|
|
37441
37489
|
return 7;
|
|
37442
37490
|
}
|
|
@@ -42422,7 +42470,7 @@ function registerEnrichCommand(program) {
|
|
|
42422
42470
|
"--open",
|
|
42423
42471
|
"Open the generated play page in a browser after the run starts."
|
|
42424
42472
|
).addOption(
|
|
42425
|
-
new
|
|
42473
|
+
new Option4(
|
|
42426
42474
|
"--no-open [legacy-value]",
|
|
42427
42475
|
"Removed legacy option"
|
|
42428
42476
|
).hideHelp()
|
|
@@ -42812,7 +42860,7 @@ function registerExecutionsCommands(program) {
|
|
|
42812
42860
|
}
|
|
42813
42861
|
|
|
42814
42862
|
// src/cli/commands/feedback.ts
|
|
42815
|
-
import { Option as
|
|
42863
|
+
import { Option as Option5 } from "commander";
|
|
42816
42864
|
import { readFileSync as readFileSync10 } from "fs";
|
|
42817
42865
|
async function handleFeedback(text, options) {
|
|
42818
42866
|
const message = resolveFeedbackText(text, options.file);
|
|
@@ -42878,7 +42926,7 @@ Notes:
|
|
|
42878
42926
|
to submit the report.
|
|
42879
42927
|
|
|
42880
42928
|
Examples:
|
|
42881
|
-
deepline feedback send "plays run failed after upload" --command "deepline plays run my.play.ts
|
|
42929
|
+
deepline feedback send "plays run failed after upload" --command "deepline plays run my.play.ts" --error-outcome terminal
|
|
42882
42930
|
deepline feedback send "unexpected billing output" --payload '{"command":"billing usage"}' --json
|
|
42883
42931
|
`
|
|
42884
42932
|
);
|
|
@@ -42890,10 +42938,10 @@ Examples:
|
|
|
42890
42938
|
deepline feedback send --file incident.md --requested --json
|
|
42891
42939
|
cat incident.md | deepline feedback send --requested --json
|
|
42892
42940
|
deepline feedback send "tools search returned stale results" --requested --json
|
|
42893
|
-
deepline feedback send "plays run failed after upload" --command "deepline plays run my.play.ts
|
|
42941
|
+
deepline feedback send "plays run failed after upload" --command "deepline plays run my.play.ts" --error-outcome terminal
|
|
42894
42942
|
`
|
|
42895
42943
|
).argument("[text]", "Feedback text").option("--file <path>", "Read feedback text from a file, or - for stdin").option("--command <command>", "Command that reproduced the issue").option("--payload <payload>", "JSON or plain-text payload for the repro").addOption(
|
|
42896
|
-
new
|
|
42944
|
+
new Option5(
|
|
42897
42945
|
"--error-outcome <outcome>",
|
|
42898
42946
|
"Error impact on the task: terminal or continued"
|
|
42899
42947
|
).choices(["terminal", "continued"])
|
|
@@ -54198,7 +54246,7 @@ Examples:
|
|
|
54198
54246
|
}
|
|
54199
54247
|
|
|
54200
54248
|
// src/cli/commands/tools.ts
|
|
54201
|
-
import { Option as
|
|
54249
|
+
import { Option as Option6 } from "commander";
|
|
54202
54250
|
import {
|
|
54203
54251
|
chmodSync,
|
|
54204
54252
|
existsSync as existsSync20,
|
|
@@ -55228,7 +55276,7 @@ function isMissingToolMetadataError(error) {
|
|
|
55228
55276
|
function playAliasToolErrorMessage(toolId, play) {
|
|
55229
55277
|
const playName = play.reference ?? play.name;
|
|
55230
55278
|
return `${toolId} is a play, not a tool.
|
|
55231
|
-
Use: deepline plays run ${playName} --input '{...}'
|
|
55279
|
+
Use: deepline plays run ${playName} --input '{...}'
|
|
55232
55280
|
Inspect its schema with: deepline plays describe ${playName} --json`;
|
|
55233
55281
|
}
|
|
55234
55282
|
function printPlayAliasToolError(toolId, play) {
|
|
@@ -55260,11 +55308,11 @@ function playRunCommandForTool(tool, toolId, input2) {
|
|
|
55260
55308
|
const playReference = playReferenceForTool(tool);
|
|
55261
55309
|
if (!playReference) return playSearchCommandForToolId(toolId);
|
|
55262
55310
|
const inputArg = input2 === void 0 ? "'{...}'" : `'${JSON.stringify(input2)}'`;
|
|
55263
|
-
return `deepline plays run ${playReference} --input ${inputArg}
|
|
55311
|
+
return `deepline plays run ${playReference} --input ${inputArg}`;
|
|
55264
55312
|
}
|
|
55265
55313
|
function playLikeToolExecuteErrorMessage(toolId, tool) {
|
|
55266
55314
|
const playReference = tool ? playReferenceForTool(tool) : null;
|
|
55267
|
-
const nextStep = playReference ? `Use: deepline plays run ${playReference} --input '{...}'
|
|
55315
|
+
const nextStep = playReference ? `Use: deepline plays run ${playReference} --input '{...}'` : `Find the maintained workflow with: ${playSearchCommandForToolId(toolId)}`;
|
|
55268
55316
|
return [
|
|
55269
55317
|
`${toolId} is a workflow/play entry, not an atomic provider tool.`,
|
|
55270
55318
|
nextStep,
|
|
@@ -55440,12 +55488,12 @@ Examples:
|
|
|
55440
55488
|
"--examples-only",
|
|
55441
55489
|
"Only print runnable examples and sample payloads"
|
|
55442
55490
|
).option("--getters-only", "Only print extracted list/value getters").addOption(
|
|
55443
|
-
new
|
|
55491
|
+
new Option6(
|
|
55444
55492
|
"--compact",
|
|
55445
55493
|
"Compatibility alias for the default compact view"
|
|
55446
55494
|
).hideHelp()
|
|
55447
55495
|
).addOption(
|
|
55448
|
-
new
|
|
55496
|
+
new Option6(
|
|
55449
55497
|
"--contract-json",
|
|
55450
55498
|
"Compatibility alias for compact contract JSON"
|
|
55451
55499
|
).hideHelp()
|
|
@@ -58460,7 +58508,7 @@ async function main() {
|
|
|
58460
58508
|
if (printStartupPhase) {
|
|
58461
58509
|
progress?.phase("loading deepline cli");
|
|
58462
58510
|
}
|
|
58463
|
-
const program = new
|
|
58511
|
+
const program = new Command7();
|
|
58464
58512
|
program.name("deepline").description(
|
|
58465
58513
|
"Deepline CLI \u2014 GTM enrichment tools, plays, and runs from your terminal."
|
|
58466
58514
|
).version(SDK_VERSION, "-v, --version", "Show version").exitOverride().showHelpAfterError().showSuggestionAfterError(true).addHelpText(
|
|
@@ -5698,7 +5698,7 @@ declare class DeeplineClient {
|
|
|
5698
5698
|
* Convenience wrapper around {@link registerPlayArtifact} plus
|
|
5699
5699
|
* {@link startPlayRun}. This is the canonical file-backed path used by wrappers.
|
|
5700
5700
|
* The returned id can be passed to {@link getPlayStatus} to retrieve the same
|
|
5701
|
-
* durable `{ result }` object that the CLI prints after
|
|
5701
|
+
* durable `{ result }` object that the CLI prints after `plays run` completes.
|
|
5702
5702
|
*
|
|
5703
5703
|
* @param code - Source string fallback; the bundled artifact should be passed in `options.artifact`
|
|
5704
5704
|
* @param csvPath - Path to input CSV file, or `null`
|
|
@@ -5794,7 +5794,7 @@ declare class DeeplineClient {
|
|
|
5794
5794
|
* Get the current status of a play execution.
|
|
5795
5795
|
*
|
|
5796
5796
|
* Internal/advanced primitive. Public callers should usually prefer
|
|
5797
|
-
* {@link runPlay}, {@link PlayJob.get}, or `deepline plays run
|
|
5797
|
+
* {@link runPlay}, {@link PlayJob.get}, or `deepline plays run`.
|
|
5798
5798
|
*
|
|
5799
5799
|
* @param workflowId - Play-run id from {@link startPlayRun}
|
|
5800
5800
|
* @returns Current status with progress logs and partial results
|
|
@@ -5698,7 +5698,7 @@ declare class DeeplineClient {
|
|
|
5698
5698
|
* Convenience wrapper around {@link registerPlayArtifact} plus
|
|
5699
5699
|
* {@link startPlayRun}. This is the canonical file-backed path used by wrappers.
|
|
5700
5700
|
* The returned id can be passed to {@link getPlayStatus} to retrieve the same
|
|
5701
|
-
* durable `{ result }` object that the CLI prints after
|
|
5701
|
+
* durable `{ result }` object that the CLI prints after `plays run` completes.
|
|
5702
5702
|
*
|
|
5703
5703
|
* @param code - Source string fallback; the bundled artifact should be passed in `options.artifact`
|
|
5704
5704
|
* @param csvPath - Path to input CSV file, or `null`
|
|
@@ -5794,7 +5794,7 @@ declare class DeeplineClient {
|
|
|
5794
5794
|
* Get the current status of a play execution.
|
|
5795
5795
|
*
|
|
5796
5796
|
* Internal/advanced primitive. Public callers should usually prefer
|
|
5797
|
-
* {@link runPlay}, {@link PlayJob.get}, or `deepline plays run
|
|
5797
|
+
* {@link runPlay}, {@link PlayJob.get}, or `deepline plays run`.
|
|
5798
5798
|
*
|
|
5799
5799
|
* @param workflowId - Play-run id from {@link startPlayRun}
|
|
5800
5800
|
* @returns Current status with progress logs and partial results
|
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference path="./text-imports.d.ts" />
|
|
2
|
-
import { D as DeeplineClientOptions, B as BillingNamespace, T as ToolDefinition, a as ToolMetadata, E as ExecutionRecovery, b as ExecutionByKeyResult, P as PlayListItem, c as PlayDetail, d as PlayRunListItem, e as PlayRevisionSummary, f as PublishPlayVersionResult, C as ClearPlayHistoryResult, g as PlayStatus, S as StopPlayRunResult, R as ResolvedConfig } from './client-
|
|
3
|
-
export { h as BillingCreditPool, i as BillingInvoiceEntry, j as BillingInvoicesResult, k as BillingPaymentMethodSummary, l as BillingRecentUsageEntry, m as BillingSubscriptionCancelResult, n as BillingSubscriptionStatus, o as BillingTopUpReceipt, p as BillingTopUpResult, q as BillingUsageEvent, r as BillingUsageOptions, s as BillingUsageResult, t as ChildRunSummary, u as ClearPlayHistoryRequest, v as CreateNotificationGroupInput, w as CreateNotificationGroupResult, x as CustomerDbQueryResult, y as DEEPLINE_TOOL_CATEGORIES, z as DbNamespace, A as DeeplineClient, F as DeeplineToolCategory, I as IngestionStorageRepairResult, L as LegacyMonitorStatusFilter, G as LiveEventEnvelope, M as MONITOR_JOB_PHASES, H as MONITOR_JOB_RECONCILIATION_STATES, J as MONITOR_JOB_STATES, K as MonitorBatchNamespace, N as MonitorCheckResult, O as MonitorDefinition, Q as MonitorDeleteResult, U as MonitorDependents, V as MonitorDeployResult, W as MonitorDetail, X as MonitorFleetDeactivateOptions, Y as MonitorFleetGetOptions, Z as MonitorFleetReactivateOptions, _ as MonitorFleetResult, $ as MonitorFleetStatus, a0 as MonitorFleetSyncOptions, a1 as MonitorFleetWaitOptions, a2 as MonitorFleetsNamespace, a3 as MonitorJobDeployOptions, a4 as MonitorJobLogsOptions, a5 as MonitorJobPhase, a6 as MonitorJobReconciliationState, a7 as MonitorJobResult, a8 as MonitorJobState, a9 as MonitorJobWaitOptions, aa as MonitorJobsNamespace, ab as MonitorListEntry, ac as MonitorPayload, ad as MonitorReactivateResult, ae as MonitorSpec, af as MonitorState, ag as MonitorStateFilter, ah as MonitorUpdateChangeSummary, ai as MonitorUpdateResult, aj as MonitorsAccessStatus, ak as MonitorsAvailableOptions, al as MonitorsAvailableResult, am as MonitorsListOptions, an as MonitorsListResult, ao as MonitorsNamespace, ap as PLAY_BOOTSTRAP_COMPANY_FIELDS, aq as PLAY_BOOTSTRAP_COMPANY_PROVIDER_CATEGORY, ar as PLAY_BOOTSTRAP_CONTACT_FIELDS, as as PLAY_BOOTSTRAP_FINDER_KINDS, at as PLAY_BOOTSTRAP_OUTPUT_FIELD_BY_FINDER, au as PLAY_BOOTSTRAP_PEOPLE_PROVIDER_CATEGORY, av as PLAY_BOOTSTRAP_PROVIDER_CATEGORY_BY_FINDER, aw as PLAY_BOOTSTRAP_SOURCE_KINDS, ax as PLAY_BOOTSTRAP_STAGE_KINDS, ay as PLAY_BOOTSTRAP_TEMPLATES, az as PlayActivityObservation, aA as PlayActivityState, aB as PlayActivityTarget, aC as PlayBootstrapEntityKind, aD as PlayBootstrapFinderKind, aE as PlayCostEstimate, aF as PlayCronTriggerConfig, aG as PlayLiveEvent, aH as PlayPath, aI as PlayRunActionPackage, aJ as PlayRunActivityProjection, aK as PlayRunDatasetActions, aL as PlayRunPackage, aM as PlayRunResult, aN as PlayRunStart, aO as PlaySettings, aP as PlaySettingsPatch, aQ as PlaySettingsPathsPage, aR as PlaySettingsResult, aS as PlaySheetRow, aT as PlaySheetRowsResult, aU as PlayTriggerConfigUpdate, aV as PlayTriggerConfigUpdateResult, aW as PlayTriggerConfigView, aX as PlayWebhookAuthConfig, aY as PlayWebhookTriggerConfig, aZ as PlaysActivityResponse, a_ as PlaysListOptions, a$ as PlaysListPage, b0 as PublishPlayVersionRequest, b1 as RerunOptions, b2 as RerunPlayRunResult, b3 as RunChildrenPage, b4 as RunLifecycleStatus, b5 as RunToolReceiptResult, b6 as RunToolReceiptsResponse, b7 as RunsChildrenOptions, b8 as RunsEventPayload, b9 as RunsEventSearchEntry, ba as RunsEventSearchOptions, bb as RunsEventSearchResult, bc as RunsListOptions, bd as RunsListPage, be as RunsLogsOptions, bf as RunsLogsResult, bg as RunsNamespace, bh as RunsTailOptions, bi as RunsWatchOptions, bj as StartPlayRunRequest, bk as StopAllCandidate, bl as StopAllPlayRunsDryRunResult, bm as StopAllPlayRunsResult, bn as StopAllPlayRunsStopResult, bo as StopAllRunsOptions, bp as ToolExecution, bq as ToolSearchOptions, br as ToolSearchResult, bs as WorkspaceCreateResult, bt as WorkspacesNamespace, bu as defineMonitor, bv as formatPlayBootstrapFinderKinds, bw as formatPlayBootstrapFinderKindsForSentence, bx as formatPlayBootstrapTemplates, by as isPlayBootstrapFinderKind, bz as isPlayBootstrapTemplate, bA as isStopAllPlayRunsDryRunResult } from './client-
|
|
2
|
+
import { D as DeeplineClientOptions, B as BillingNamespace, T as ToolDefinition, a as ToolMetadata, E as ExecutionRecovery, b as ExecutionByKeyResult, P as PlayListItem, c as PlayDetail, d as PlayRunListItem, e as PlayRevisionSummary, f as PublishPlayVersionResult, C as ClearPlayHistoryResult, g as PlayStatus, S as StopPlayRunResult, R as ResolvedConfig } from './client-2rIHKJiq.mjs';
|
|
3
|
+
export { h as BillingCreditPool, i as BillingInvoiceEntry, j as BillingInvoicesResult, k as BillingPaymentMethodSummary, l as BillingRecentUsageEntry, m as BillingSubscriptionCancelResult, n as BillingSubscriptionStatus, o as BillingTopUpReceipt, p as BillingTopUpResult, q as BillingUsageEvent, r as BillingUsageOptions, s as BillingUsageResult, t as ChildRunSummary, u as ClearPlayHistoryRequest, v as CreateNotificationGroupInput, w as CreateNotificationGroupResult, x as CustomerDbQueryResult, y as DEEPLINE_TOOL_CATEGORIES, z as DbNamespace, A as DeeplineClient, F as DeeplineToolCategory, I as IngestionStorageRepairResult, L as LegacyMonitorStatusFilter, G as LiveEventEnvelope, M as MONITOR_JOB_PHASES, H as MONITOR_JOB_RECONCILIATION_STATES, J as MONITOR_JOB_STATES, K as MonitorBatchNamespace, N as MonitorCheckResult, O as MonitorDefinition, Q as MonitorDeleteResult, U as MonitorDependents, V as MonitorDeployResult, W as MonitorDetail, X as MonitorFleetDeactivateOptions, Y as MonitorFleetGetOptions, Z as MonitorFleetReactivateOptions, _ as MonitorFleetResult, $ as MonitorFleetStatus, a0 as MonitorFleetSyncOptions, a1 as MonitorFleetWaitOptions, a2 as MonitorFleetsNamespace, a3 as MonitorJobDeployOptions, a4 as MonitorJobLogsOptions, a5 as MonitorJobPhase, a6 as MonitorJobReconciliationState, a7 as MonitorJobResult, a8 as MonitorJobState, a9 as MonitorJobWaitOptions, aa as MonitorJobsNamespace, ab as MonitorListEntry, ac as MonitorPayload, ad as MonitorReactivateResult, ae as MonitorSpec, af as MonitorState, ag as MonitorStateFilter, ah as MonitorUpdateChangeSummary, ai as MonitorUpdateResult, aj as MonitorsAccessStatus, ak as MonitorsAvailableOptions, al as MonitorsAvailableResult, am as MonitorsListOptions, an as MonitorsListResult, ao as MonitorsNamespace, ap as PLAY_BOOTSTRAP_COMPANY_FIELDS, aq as PLAY_BOOTSTRAP_COMPANY_PROVIDER_CATEGORY, ar as PLAY_BOOTSTRAP_CONTACT_FIELDS, as as PLAY_BOOTSTRAP_FINDER_KINDS, at as PLAY_BOOTSTRAP_OUTPUT_FIELD_BY_FINDER, au as PLAY_BOOTSTRAP_PEOPLE_PROVIDER_CATEGORY, av as PLAY_BOOTSTRAP_PROVIDER_CATEGORY_BY_FINDER, aw as PLAY_BOOTSTRAP_SOURCE_KINDS, ax as PLAY_BOOTSTRAP_STAGE_KINDS, ay as PLAY_BOOTSTRAP_TEMPLATES, az as PlayActivityObservation, aA as PlayActivityState, aB as PlayActivityTarget, aC as PlayBootstrapEntityKind, aD as PlayBootstrapFinderKind, aE as PlayCostEstimate, aF as PlayCronTriggerConfig, aG as PlayLiveEvent, aH as PlayPath, aI as PlayRunActionPackage, aJ as PlayRunActivityProjection, aK as PlayRunDatasetActions, aL as PlayRunPackage, aM as PlayRunResult, aN as PlayRunStart, aO as PlaySettings, aP as PlaySettingsPatch, aQ as PlaySettingsPathsPage, aR as PlaySettingsResult, aS as PlaySheetRow, aT as PlaySheetRowsResult, aU as PlayTriggerConfigUpdate, aV as PlayTriggerConfigUpdateResult, aW as PlayTriggerConfigView, aX as PlayWebhookAuthConfig, aY as PlayWebhookTriggerConfig, aZ as PlaysActivityResponse, a_ as PlaysListOptions, a$ as PlaysListPage, b0 as PublishPlayVersionRequest, b1 as RerunOptions, b2 as RerunPlayRunResult, b3 as RunChildrenPage, b4 as RunLifecycleStatus, b5 as RunToolReceiptResult, b6 as RunToolReceiptsResponse, b7 as RunsChildrenOptions, b8 as RunsEventPayload, b9 as RunsEventSearchEntry, ba as RunsEventSearchOptions, bb as RunsEventSearchResult, bc as RunsListOptions, bd as RunsListPage, be as RunsLogsOptions, bf as RunsLogsResult, bg as RunsNamespace, bh as RunsTailOptions, bi as RunsWatchOptions, bj as StartPlayRunRequest, bk as StopAllCandidate, bl as StopAllPlayRunsDryRunResult, bm as StopAllPlayRunsResult, bn as StopAllPlayRunsStopResult, bo as StopAllRunsOptions, bp as ToolExecution, bq as ToolSearchOptions, br as ToolSearchResult, bs as WorkspaceCreateResult, bt as WorkspacesNamespace, bu as defineMonitor, bv as formatPlayBootstrapFinderKinds, bw as formatPlayBootstrapFinderKindsForSentence, bx as formatPlayBootstrapTemplates, by as isPlayBootstrapFinderKind, bz as isPlayBootstrapTemplate, bA as isStopAllPlayRunsDryRunResult } from './client-2rIHKJiq.mjs';
|
|
4
4
|
import { A as AsyncPlayRunRef$1, i as PlayAuthoringColumnMap, j as PlayAuthoringColumnResolver, k as PlayAuthoringRuntimeContext, l as PlayAuthoringConditionalStepResolver, m as PlayAuthoringCsvInput, n as PlayAuthoringCsvOptions, o as PlayAuthoringDatasetBuilder, p as PlayAuthoringDatasetColumnDefinition, q as PlayAuthoringDatasetColumnRunInput, T as ToolExecuteResult, r as PlayAuthoringReferenceLike, s as PlayReturnObject$1, t as PlayAuthoringDefineConfig, u as PlayAuthoringDefinedPlay, v as PlayAuthoringFetchOptions, w as PlayAuthoringFileInput, x as PlayAuthoringAsyncCallOptions, y as PlayAuthoringBindings, z as PlayAuthoringCallExecution, B as PlayAuthoringCallOptions, C as PlayAuthoringFetchResponse, D as PlayAuthoringInputContract, E as PlayRunId$1, F as PlayAuthoringStepProgramStep, G as PlayAuthoringRuntimeStepOptions, H as PlaySqlListenerDeclaration, I as PlaySqlListenerEvent, J as PlaySqlListenerOperation, K as PlaySqlQuery, L as PlayAuthoringStepOptions, M as PlayAuthoringStepProgram, N as PlayAuthoringStepProgramResolver, O as PlayAuthoringStepResolver, Q as PlayToolExecutionRequest, R as PlayAuthoringStepProgramOptions, S as DeeplineError, U as ToolExecutionError, V as ToolExecutionErrorOptions } from './compiler-manifest-C1bKB9bY.mjs';
|
|
5
5
|
export { W as CtxFetchHttpError, X as DEEPLINE_EXTRACTOR_TARGETS, Y as DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS, Z as DeeplineEmailStatusGetterValue, _ as DeeplineExtractorTarget, $ as DeeplineGetterValue, a0 as DeeplineGetterValueMap, a1 as JOB_CHANGE_STATUS_VALUES, a2 as JobChangeStatus, a3 as PHONE_STATUS_VALUES, a4 as PhoneStatus, a5 as PlayDataset, a6 as PlayDatasetInput, a7 as PreviousCell, a8 as ProviderTransientError, a9 as ProviderTransientErrorCategory, aa as ProviderUnavailableError, ab as ProviderUnavailableReason, ac as ToolExecutionErrorCategory, ad as ToolExecutionErrorOrigin, ae as ToolExecutionFailureV1, af as ToolExecutionNetworkKind, ag as ToolExecutionNetworkScope, ah as ToolExecutionPublicDetails, ai as ToolResultBilling, aj as getProviderUnavailableReason, ak as isDeeplineExtractorTarget, al as isProviderUnavailable, am as isProviderWaterfallUnavailableError } from './compiler-manifest-C1bKB9bY.mjs';
|
|
6
6
|
export { BatchMonitorInput, MonitorInputIssue, MonitorSpec as MonitorInputSpec, lintMonitorBatchInput, lintMonitorSpecTemplate, renderMonitorSpecTemplate } from './monitor-input-contract.mjs';
|
|
@@ -208,7 +208,7 @@ type DeeplinePlayRuntimeContext = PlayAuthoringRuntimeContext;
|
|
|
208
208
|
* Provides methods to check status, stream logs, wait for completion,
|
|
209
209
|
* or cancel the execution.
|
|
210
210
|
*
|
|
211
|
-
* This handle is the SDK-context equivalent of `deepline plays run
|
|
211
|
+
* This handle is the SDK-context equivalent of `deepline plays run` and
|
|
212
212
|
* `POST /api/v2/plays/run`: every surface returns a run id first, then exposes
|
|
213
213
|
* the completed user output through `PlayJob.get()` or the status endpoint's
|
|
214
214
|
* `result` field. Runtime logs are available from `status().progress.logs` and
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference path="./text-imports.d.ts" />
|
|
2
|
-
import { D as DeeplineClientOptions, B as BillingNamespace, T as ToolDefinition, a as ToolMetadata, E as ExecutionRecovery, b as ExecutionByKeyResult, P as PlayListItem, c as PlayDetail, d as PlayRunListItem, e as PlayRevisionSummary, f as PublishPlayVersionResult, C as ClearPlayHistoryResult, g as PlayStatus, S as StopPlayRunResult, R as ResolvedConfig } from './client-
|
|
3
|
-
export { h as BillingCreditPool, i as BillingInvoiceEntry, j as BillingInvoicesResult, k as BillingPaymentMethodSummary, l as BillingRecentUsageEntry, m as BillingSubscriptionCancelResult, n as BillingSubscriptionStatus, o as BillingTopUpReceipt, p as BillingTopUpResult, q as BillingUsageEvent, r as BillingUsageOptions, s as BillingUsageResult, t as ChildRunSummary, u as ClearPlayHistoryRequest, v as CreateNotificationGroupInput, w as CreateNotificationGroupResult, x as CustomerDbQueryResult, y as DEEPLINE_TOOL_CATEGORIES, z as DbNamespace, A as DeeplineClient, F as DeeplineToolCategory, I as IngestionStorageRepairResult, L as LegacyMonitorStatusFilter, G as LiveEventEnvelope, M as MONITOR_JOB_PHASES, H as MONITOR_JOB_RECONCILIATION_STATES, J as MONITOR_JOB_STATES, K as MonitorBatchNamespace, N as MonitorCheckResult, O as MonitorDefinition, Q as MonitorDeleteResult, U as MonitorDependents, V as MonitorDeployResult, W as MonitorDetail, X as MonitorFleetDeactivateOptions, Y as MonitorFleetGetOptions, Z as MonitorFleetReactivateOptions, _ as MonitorFleetResult, $ as MonitorFleetStatus, a0 as MonitorFleetSyncOptions, a1 as MonitorFleetWaitOptions, a2 as MonitorFleetsNamespace, a3 as MonitorJobDeployOptions, a4 as MonitorJobLogsOptions, a5 as MonitorJobPhase, a6 as MonitorJobReconciliationState, a7 as MonitorJobResult, a8 as MonitorJobState, a9 as MonitorJobWaitOptions, aa as MonitorJobsNamespace, ab as MonitorListEntry, ac as MonitorPayload, ad as MonitorReactivateResult, ae as MonitorSpec, af as MonitorState, ag as MonitorStateFilter, ah as MonitorUpdateChangeSummary, ai as MonitorUpdateResult, aj as MonitorsAccessStatus, ak as MonitorsAvailableOptions, al as MonitorsAvailableResult, am as MonitorsListOptions, an as MonitorsListResult, ao as MonitorsNamespace, ap as PLAY_BOOTSTRAP_COMPANY_FIELDS, aq as PLAY_BOOTSTRAP_COMPANY_PROVIDER_CATEGORY, ar as PLAY_BOOTSTRAP_CONTACT_FIELDS, as as PLAY_BOOTSTRAP_FINDER_KINDS, at as PLAY_BOOTSTRAP_OUTPUT_FIELD_BY_FINDER, au as PLAY_BOOTSTRAP_PEOPLE_PROVIDER_CATEGORY, av as PLAY_BOOTSTRAP_PROVIDER_CATEGORY_BY_FINDER, aw as PLAY_BOOTSTRAP_SOURCE_KINDS, ax as PLAY_BOOTSTRAP_STAGE_KINDS, ay as PLAY_BOOTSTRAP_TEMPLATES, az as PlayActivityObservation, aA as PlayActivityState, aB as PlayActivityTarget, aC as PlayBootstrapEntityKind, aD as PlayBootstrapFinderKind, aE as PlayCostEstimate, aF as PlayCronTriggerConfig, aG as PlayLiveEvent, aH as PlayPath, aI as PlayRunActionPackage, aJ as PlayRunActivityProjection, aK as PlayRunDatasetActions, aL as PlayRunPackage, aM as PlayRunResult, aN as PlayRunStart, aO as PlaySettings, aP as PlaySettingsPatch, aQ as PlaySettingsPathsPage, aR as PlaySettingsResult, aS as PlaySheetRow, aT as PlaySheetRowsResult, aU as PlayTriggerConfigUpdate, aV as PlayTriggerConfigUpdateResult, aW as PlayTriggerConfigView, aX as PlayWebhookAuthConfig, aY as PlayWebhookTriggerConfig, aZ as PlaysActivityResponse, a_ as PlaysListOptions, a$ as PlaysListPage, b0 as PublishPlayVersionRequest, b1 as RerunOptions, b2 as RerunPlayRunResult, b3 as RunChildrenPage, b4 as RunLifecycleStatus, b5 as RunToolReceiptResult, b6 as RunToolReceiptsResponse, b7 as RunsChildrenOptions, b8 as RunsEventPayload, b9 as RunsEventSearchEntry, ba as RunsEventSearchOptions, bb as RunsEventSearchResult, bc as RunsListOptions, bd as RunsListPage, be as RunsLogsOptions, bf as RunsLogsResult, bg as RunsNamespace, bh as RunsTailOptions, bi as RunsWatchOptions, bj as StartPlayRunRequest, bk as StopAllCandidate, bl as StopAllPlayRunsDryRunResult, bm as StopAllPlayRunsResult, bn as StopAllPlayRunsStopResult, bo as StopAllRunsOptions, bp as ToolExecution, bq as ToolSearchOptions, br as ToolSearchResult, bs as WorkspaceCreateResult, bt as WorkspacesNamespace, bu as defineMonitor, bv as formatPlayBootstrapFinderKinds, bw as formatPlayBootstrapFinderKindsForSentence, bx as formatPlayBootstrapTemplates, by as isPlayBootstrapFinderKind, bz as isPlayBootstrapTemplate, bA as isStopAllPlayRunsDryRunResult } from './client-
|
|
2
|
+
import { D as DeeplineClientOptions, B as BillingNamespace, T as ToolDefinition, a as ToolMetadata, E as ExecutionRecovery, b as ExecutionByKeyResult, P as PlayListItem, c as PlayDetail, d as PlayRunListItem, e as PlayRevisionSummary, f as PublishPlayVersionResult, C as ClearPlayHistoryResult, g as PlayStatus, S as StopPlayRunResult, R as ResolvedConfig } from './client-D6fRwhnE.js';
|
|
3
|
+
export { h as BillingCreditPool, i as BillingInvoiceEntry, j as BillingInvoicesResult, k as BillingPaymentMethodSummary, l as BillingRecentUsageEntry, m as BillingSubscriptionCancelResult, n as BillingSubscriptionStatus, o as BillingTopUpReceipt, p as BillingTopUpResult, q as BillingUsageEvent, r as BillingUsageOptions, s as BillingUsageResult, t as ChildRunSummary, u as ClearPlayHistoryRequest, v as CreateNotificationGroupInput, w as CreateNotificationGroupResult, x as CustomerDbQueryResult, y as DEEPLINE_TOOL_CATEGORIES, z as DbNamespace, A as DeeplineClient, F as DeeplineToolCategory, I as IngestionStorageRepairResult, L as LegacyMonitorStatusFilter, G as LiveEventEnvelope, M as MONITOR_JOB_PHASES, H as MONITOR_JOB_RECONCILIATION_STATES, J as MONITOR_JOB_STATES, K as MonitorBatchNamespace, N as MonitorCheckResult, O as MonitorDefinition, Q as MonitorDeleteResult, U as MonitorDependents, V as MonitorDeployResult, W as MonitorDetail, X as MonitorFleetDeactivateOptions, Y as MonitorFleetGetOptions, Z as MonitorFleetReactivateOptions, _ as MonitorFleetResult, $ as MonitorFleetStatus, a0 as MonitorFleetSyncOptions, a1 as MonitorFleetWaitOptions, a2 as MonitorFleetsNamespace, a3 as MonitorJobDeployOptions, a4 as MonitorJobLogsOptions, a5 as MonitorJobPhase, a6 as MonitorJobReconciliationState, a7 as MonitorJobResult, a8 as MonitorJobState, a9 as MonitorJobWaitOptions, aa as MonitorJobsNamespace, ab as MonitorListEntry, ac as MonitorPayload, ad as MonitorReactivateResult, ae as MonitorSpec, af as MonitorState, ag as MonitorStateFilter, ah as MonitorUpdateChangeSummary, ai as MonitorUpdateResult, aj as MonitorsAccessStatus, ak as MonitorsAvailableOptions, al as MonitorsAvailableResult, am as MonitorsListOptions, an as MonitorsListResult, ao as MonitorsNamespace, ap as PLAY_BOOTSTRAP_COMPANY_FIELDS, aq as PLAY_BOOTSTRAP_COMPANY_PROVIDER_CATEGORY, ar as PLAY_BOOTSTRAP_CONTACT_FIELDS, as as PLAY_BOOTSTRAP_FINDER_KINDS, at as PLAY_BOOTSTRAP_OUTPUT_FIELD_BY_FINDER, au as PLAY_BOOTSTRAP_PEOPLE_PROVIDER_CATEGORY, av as PLAY_BOOTSTRAP_PROVIDER_CATEGORY_BY_FINDER, aw as PLAY_BOOTSTRAP_SOURCE_KINDS, ax as PLAY_BOOTSTRAP_STAGE_KINDS, ay as PLAY_BOOTSTRAP_TEMPLATES, az as PlayActivityObservation, aA as PlayActivityState, aB as PlayActivityTarget, aC as PlayBootstrapEntityKind, aD as PlayBootstrapFinderKind, aE as PlayCostEstimate, aF as PlayCronTriggerConfig, aG as PlayLiveEvent, aH as PlayPath, aI as PlayRunActionPackage, aJ as PlayRunActivityProjection, aK as PlayRunDatasetActions, aL as PlayRunPackage, aM as PlayRunResult, aN as PlayRunStart, aO as PlaySettings, aP as PlaySettingsPatch, aQ as PlaySettingsPathsPage, aR as PlaySettingsResult, aS as PlaySheetRow, aT as PlaySheetRowsResult, aU as PlayTriggerConfigUpdate, aV as PlayTriggerConfigUpdateResult, aW as PlayTriggerConfigView, aX as PlayWebhookAuthConfig, aY as PlayWebhookTriggerConfig, aZ as PlaysActivityResponse, a_ as PlaysListOptions, a$ as PlaysListPage, b0 as PublishPlayVersionRequest, b1 as RerunOptions, b2 as RerunPlayRunResult, b3 as RunChildrenPage, b4 as RunLifecycleStatus, b5 as RunToolReceiptResult, b6 as RunToolReceiptsResponse, b7 as RunsChildrenOptions, b8 as RunsEventPayload, b9 as RunsEventSearchEntry, ba as RunsEventSearchOptions, bb as RunsEventSearchResult, bc as RunsListOptions, bd as RunsListPage, be as RunsLogsOptions, bf as RunsLogsResult, bg as RunsNamespace, bh as RunsTailOptions, bi as RunsWatchOptions, bj as StartPlayRunRequest, bk as StopAllCandidate, bl as StopAllPlayRunsDryRunResult, bm as StopAllPlayRunsResult, bn as StopAllPlayRunsStopResult, bo as StopAllRunsOptions, bp as ToolExecution, bq as ToolSearchOptions, br as ToolSearchResult, bs as WorkspaceCreateResult, bt as WorkspacesNamespace, bu as defineMonitor, bv as formatPlayBootstrapFinderKinds, bw as formatPlayBootstrapFinderKindsForSentence, bx as formatPlayBootstrapTemplates, by as isPlayBootstrapFinderKind, bz as isPlayBootstrapTemplate, bA as isStopAllPlayRunsDryRunResult } from './client-D6fRwhnE.js';
|
|
4
4
|
import { A as AsyncPlayRunRef$1, i as PlayAuthoringColumnMap, j as PlayAuthoringColumnResolver, k as PlayAuthoringRuntimeContext, l as PlayAuthoringConditionalStepResolver, m as PlayAuthoringCsvInput, n as PlayAuthoringCsvOptions, o as PlayAuthoringDatasetBuilder, p as PlayAuthoringDatasetColumnDefinition, q as PlayAuthoringDatasetColumnRunInput, T as ToolExecuteResult, r as PlayAuthoringReferenceLike, s as PlayReturnObject$1, t as PlayAuthoringDefineConfig, u as PlayAuthoringDefinedPlay, v as PlayAuthoringFetchOptions, w as PlayAuthoringFileInput, x as PlayAuthoringAsyncCallOptions, y as PlayAuthoringBindings, z as PlayAuthoringCallExecution, B as PlayAuthoringCallOptions, C as PlayAuthoringFetchResponse, D as PlayAuthoringInputContract, E as PlayRunId$1, F as PlayAuthoringStepProgramStep, G as PlayAuthoringRuntimeStepOptions, H as PlaySqlListenerDeclaration, I as PlaySqlListenerEvent, J as PlaySqlListenerOperation, K as PlaySqlQuery, L as PlayAuthoringStepOptions, M as PlayAuthoringStepProgram, N as PlayAuthoringStepProgramResolver, O as PlayAuthoringStepResolver, Q as PlayToolExecutionRequest, R as PlayAuthoringStepProgramOptions, S as DeeplineError, U as ToolExecutionError, V as ToolExecutionErrorOptions } from './compiler-manifest-C1bKB9bY.js';
|
|
5
5
|
export { W as CtxFetchHttpError, X as DEEPLINE_EXTRACTOR_TARGETS, Y as DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS, Z as DeeplineEmailStatusGetterValue, _ as DeeplineExtractorTarget, $ as DeeplineGetterValue, a0 as DeeplineGetterValueMap, a1 as JOB_CHANGE_STATUS_VALUES, a2 as JobChangeStatus, a3 as PHONE_STATUS_VALUES, a4 as PhoneStatus, a5 as PlayDataset, a6 as PlayDatasetInput, a7 as PreviousCell, a8 as ProviderTransientError, a9 as ProviderTransientErrorCategory, aa as ProviderUnavailableError, ab as ProviderUnavailableReason, ac as ToolExecutionErrorCategory, ad as ToolExecutionErrorOrigin, ae as ToolExecutionFailureV1, af as ToolExecutionNetworkKind, ag as ToolExecutionNetworkScope, ah as ToolExecutionPublicDetails, ai as ToolResultBilling, aj as getProviderUnavailableReason, ak as isDeeplineExtractorTarget, al as isProviderUnavailable, am as isProviderWaterfallUnavailableError } from './compiler-manifest-C1bKB9bY.js';
|
|
6
6
|
export { BatchMonitorInput, MonitorInputIssue, MonitorSpec as MonitorInputSpec, lintMonitorBatchInput, lintMonitorSpecTemplate, renderMonitorSpecTemplate } from './monitor-input-contract.js';
|
|
@@ -208,7 +208,7 @@ type DeeplinePlayRuntimeContext = PlayAuthoringRuntimeContext;
|
|
|
208
208
|
* Provides methods to check status, stream logs, wait for completion,
|
|
209
209
|
* or cancel the execution.
|
|
210
210
|
*
|
|
211
|
-
* This handle is the SDK-context equivalent of `deepline plays run
|
|
211
|
+
* This handle is the SDK-context equivalent of `deepline plays run` and
|
|
212
212
|
* `POST /api/v2/plays/run`: every surface returns a run id first, then exposes
|
|
213
213
|
* the completed user output through `PlayJob.get()` or the status endpoint's
|
|
214
214
|
* `result` field. Runtime logs are available from `status().progress.logs` and
|
package/dist/index.js
CHANGED
|
@@ -1325,7 +1325,7 @@ var SDK_RELEASE = {
|
|
|
1325
1325
|
// getters keep their established compatibility behavior.
|
|
1326
1326
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
1327
1327
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
1328
|
-
version: "0.3.
|
|
1328
|
+
version: "0.3.274",
|
|
1329
1329
|
updateSummary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release.",
|
|
1330
1330
|
packageCapabilities: {
|
|
1331
1331
|
updatePreferences: 1
|
|
@@ -4795,7 +4795,7 @@ var DeeplineClient = class _DeeplineClient {
|
|
|
4795
4795
|
}
|
|
4796
4796
|
playRunCommand(play) {
|
|
4797
4797
|
const target = play.reference || play.name;
|
|
4798
|
-
return `deepline plays run ${target}${playInputExampleArgs(play.inputSchema)}
|
|
4798
|
+
return `deepline plays run ${target}${playInputExampleArgs(play.inputSchema)}`;
|
|
4799
4799
|
}
|
|
4800
4800
|
starterPlayPath(play) {
|
|
4801
4801
|
const target = play.reference || play.name;
|
|
@@ -5356,7 +5356,7 @@ var DeeplineClient = class _DeeplineClient {
|
|
|
5356
5356
|
* Convenience wrapper around {@link registerPlayArtifact} plus
|
|
5357
5357
|
* {@link startPlayRun}. This is the canonical file-backed path used by wrappers.
|
|
5358
5358
|
* The returned id can be passed to {@link getPlayStatus} to retrieve the same
|
|
5359
|
-
* durable `{ result }` object that the CLI prints after
|
|
5359
|
+
* durable `{ result }` object that the CLI prints after `plays run` completes.
|
|
5360
5360
|
*
|
|
5361
5361
|
* @param code - Source string fallback; the bundled artifact should be passed in `options.artifact`
|
|
5362
5362
|
* @param csvPath - Path to input CSV file, or `null`
|
|
@@ -5477,7 +5477,7 @@ var DeeplineClient = class _DeeplineClient {
|
|
|
5477
5477
|
* Get the current status of a play execution.
|
|
5478
5478
|
*
|
|
5479
5479
|
* Internal/advanced primitive. Public callers should usually prefer
|
|
5480
|
-
* {@link runPlay}, {@link PlayJob.get}, or `deepline plays run
|
|
5480
|
+
* {@link runPlay}, {@link PlayJob.get}, or `deepline plays run`.
|
|
5481
5481
|
*
|
|
5482
5482
|
* @param workflowId - Play-run id from {@link startPlayRun}
|
|
5483
5483
|
* @returns Current status with progress logs and partial results
|
package/dist/index.mjs
CHANGED
|
@@ -1229,7 +1229,7 @@ var SDK_RELEASE = {
|
|
|
1229
1229
|
// getters keep their established compatibility behavior.
|
|
1230
1230
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
1231
1231
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
1232
|
-
version: "0.3.
|
|
1232
|
+
version: "0.3.274",
|
|
1233
1233
|
updateSummary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release.",
|
|
1234
1234
|
packageCapabilities: {
|
|
1235
1235
|
updatePreferences: 1
|
|
@@ -4699,7 +4699,7 @@ var DeeplineClient = class _DeeplineClient {
|
|
|
4699
4699
|
}
|
|
4700
4700
|
playRunCommand(play) {
|
|
4701
4701
|
const target = play.reference || play.name;
|
|
4702
|
-
return `deepline plays run ${target}${playInputExampleArgs(play.inputSchema)}
|
|
4702
|
+
return `deepline plays run ${target}${playInputExampleArgs(play.inputSchema)}`;
|
|
4703
4703
|
}
|
|
4704
4704
|
starterPlayPath(play) {
|
|
4705
4705
|
const target = play.reference || play.name;
|
|
@@ -5260,7 +5260,7 @@ var DeeplineClient = class _DeeplineClient {
|
|
|
5260
5260
|
* Convenience wrapper around {@link registerPlayArtifact} plus
|
|
5261
5261
|
* {@link startPlayRun}. This is the canonical file-backed path used by wrappers.
|
|
5262
5262
|
* The returned id can be passed to {@link getPlayStatus} to retrieve the same
|
|
5263
|
-
* durable `{ result }` object that the CLI prints after
|
|
5263
|
+
* durable `{ result }` object that the CLI prints after `plays run` completes.
|
|
5264
5264
|
*
|
|
5265
5265
|
* @param code - Source string fallback; the bundled artifact should be passed in `options.artifact`
|
|
5266
5266
|
* @param csvPath - Path to input CSV file, or `null`
|
|
@@ -5381,7 +5381,7 @@ var DeeplineClient = class _DeeplineClient {
|
|
|
5381
5381
|
* Get the current status of a play execution.
|
|
5382
5382
|
*
|
|
5383
5383
|
* Internal/advanced primitive. Public callers should usually prefer
|
|
5384
|
-
* {@link runPlay}, {@link PlayJob.get}, or `deepline plays run
|
|
5384
|
+
* {@link runPlay}, {@link PlayJob.get}, or `deepline plays run`.
|
|
5385
5385
|
*
|
|
5386
5386
|
* @param workflowId - Play-run id from {@link startPlayRun}
|
|
5387
5387
|
* @returns Current status with progress logs and partial results
|
|
@@ -593,8 +593,8 @@
|
|
|
593
593
|
"dist/cli/index.js",
|
|
594
594
|
"dist/cli/index.mjs",
|
|
595
595
|
"dist/cli/text-imports.d.ts",
|
|
596
|
-
"dist/client-
|
|
597
|
-
"dist/client-
|
|
596
|
+
"dist/client-2rIHKJiq.d.mts",
|
|
597
|
+
"dist/client-D6fRwhnE.d.ts",
|
|
598
598
|
"dist/compiler-manifest-C1bKB9bY.d.mts",
|
|
599
599
|
"dist/compiler-manifest-C1bKB9bY.d.ts",
|
|
600
600
|
"dist/helpers.d.mts",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference path="./text-imports.d.ts" />
|
|
2
2
|
export { S as DeeplineError } from '../compiler-manifest-C1bKB9bY.mjs';
|
|
3
|
-
export { bB as CSV_DATA_INPUT_KEY, bC as FileInputBinding, bD as LocalFileInput, bE as MintStagedFileUpload, bF as PLAY_FILES_STAGE_MINT_PATH, bG as PLAY_FILES_STAGE_PATH, bH as PLAY_RUN_START_PATH, bI as PLAY_RUN_START_STREAM_PATH, bJ as PlayRunHttp, bK as ResolvedStartPlayRunRequest, bL as STAGE_LEGACY_MULTIPART_MAX_BYTES, bM as StagedFileCodec, bN as StagedFileInputs, bO as StagedFileUpload, bP as buildNamedPlayRunRequest, bQ as buildPlayRunStartBody, bR as createSessionPlayRunHttp, bS as createStagedFileUpload, bT as fileInputBindingsFromPlaySchema, bU as fileInputBindingsFromStaticPipeline, bV as getDottedInputValue, bW as isPlayRunPackage, bX as mintStagedPlayFileUploads, bY as normalizePlayRunStart, bZ as playRunFileInputBindings, b_ as setDottedInputValue, b$ as stageFileInputs, c0 as stagePlayFiles, c1 as stagedFileContentType, c2 as startPlayRun, c3 as webStagedFileCodec } from '../client-
|
|
3
|
+
export { bB as CSV_DATA_INPUT_KEY, bC as FileInputBinding, bD as LocalFileInput, bE as MintStagedFileUpload, bF as PLAY_FILES_STAGE_MINT_PATH, bG as PLAY_FILES_STAGE_PATH, bH as PLAY_RUN_START_PATH, bI as PLAY_RUN_START_STREAM_PATH, bJ as PlayRunHttp, bK as ResolvedStartPlayRunRequest, bL as STAGE_LEGACY_MULTIPART_MAX_BYTES, bM as StagedFileCodec, bN as StagedFileInputs, bO as StagedFileUpload, bP as buildNamedPlayRunRequest, bQ as buildPlayRunStartBody, bR as createSessionPlayRunHttp, bS as createStagedFileUpload, bT as fileInputBindingsFromPlaySchema, bU as fileInputBindingsFromStaticPipeline, bV as getDottedInputValue, bW as isPlayRunPackage, bX as mintStagedPlayFileUploads, bY as normalizePlayRunStart, bZ as playRunFileInputBindings, b_ as setDottedInputValue, b$ as stageFileInputs, c0 as stagePlayFiles, c1 as stagedFileContentType, c2 as startPlayRun, c3 as webStagedFileCodec } from '../client-2rIHKJiq.mjs';
|
|
4
4
|
import '@sinclair/typebox';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import '../monitor-fleet-contract.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference path="./text-imports.d.ts" />
|
|
2
2
|
export { S as DeeplineError } from '../compiler-manifest-C1bKB9bY.js';
|
|
3
|
-
export { bB as CSV_DATA_INPUT_KEY, bC as FileInputBinding, bD as LocalFileInput, bE as MintStagedFileUpload, bF as PLAY_FILES_STAGE_MINT_PATH, bG as PLAY_FILES_STAGE_PATH, bH as PLAY_RUN_START_PATH, bI as PLAY_RUN_START_STREAM_PATH, bJ as PlayRunHttp, bK as ResolvedStartPlayRunRequest, bL as STAGE_LEGACY_MULTIPART_MAX_BYTES, bM as StagedFileCodec, bN as StagedFileInputs, bO as StagedFileUpload, bP as buildNamedPlayRunRequest, bQ as buildPlayRunStartBody, bR as createSessionPlayRunHttp, bS as createStagedFileUpload, bT as fileInputBindingsFromPlaySchema, bU as fileInputBindingsFromStaticPipeline, bV as getDottedInputValue, bW as isPlayRunPackage, bX as mintStagedPlayFileUploads, bY as normalizePlayRunStart, bZ as playRunFileInputBindings, b_ as setDottedInputValue, b$ as stageFileInputs, c0 as stagePlayFiles, c1 as stagedFileContentType, c2 as startPlayRun, c3 as webStagedFileCodec } from '../client-
|
|
3
|
+
export { bB as CSV_DATA_INPUT_KEY, bC as FileInputBinding, bD as LocalFileInput, bE as MintStagedFileUpload, bF as PLAY_FILES_STAGE_MINT_PATH, bG as PLAY_FILES_STAGE_PATH, bH as PLAY_RUN_START_PATH, bI as PLAY_RUN_START_STREAM_PATH, bJ as PlayRunHttp, bK as ResolvedStartPlayRunRequest, bL as STAGE_LEGACY_MULTIPART_MAX_BYTES, bM as StagedFileCodec, bN as StagedFileInputs, bO as StagedFileUpload, bP as buildNamedPlayRunRequest, bQ as buildPlayRunStartBody, bR as createSessionPlayRunHttp, bS as createStagedFileUpload, bT as fileInputBindingsFromPlaySchema, bU as fileInputBindingsFromStaticPipeline, bV as getDottedInputValue, bW as isPlayRunPackage, bX as mintStagedPlayFileUploads, bY as normalizePlayRunStart, bZ as playRunFileInputBindings, b_ as setDottedInputValue, b$ as stageFileInputs, c0 as stagePlayFiles, c1 as stagedFileContentType, c2 as startPlayRun, c3 as webStagedFileCodec } from '../client-D6fRwhnE.js';
|
|
4
4
|
import '@sinclair/typebox';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import '../monitor-fleet-contract.js';
|
package/dist/release.d.mts
CHANGED
|
@@ -149,7 +149,7 @@ type SdkRelease = {
|
|
|
149
149
|
supportPolicy: SdkSupportPolicy;
|
|
150
150
|
};
|
|
151
151
|
declare const SDK_RELEASE: {
|
|
152
|
-
readonly version: "0.3.
|
|
152
|
+
readonly version: "0.3.274";
|
|
153
153
|
readonly updateSummary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release.";
|
|
154
154
|
readonly packageCapabilities: {
|
|
155
155
|
readonly updatePreferences: 1;
|
package/dist/release.d.ts
CHANGED
|
@@ -149,7 +149,7 @@ type SdkRelease = {
|
|
|
149
149
|
supportPolicy: SdkSupportPolicy;
|
|
150
150
|
};
|
|
151
151
|
declare const SDK_RELEASE: {
|
|
152
|
-
readonly version: "0.3.
|
|
152
|
+
readonly version: "0.3.274";
|
|
153
153
|
readonly updateSummary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release.";
|
|
154
154
|
readonly packageCapabilities: {
|
|
155
155
|
readonly updatePreferences: 1;
|
package/dist/release.js
CHANGED
|
@@ -74,7 +74,7 @@ var SDK_RELEASE = {
|
|
|
74
74
|
// getters keep their established compatibility behavior.
|
|
75
75
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
76
76
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
77
|
-
version: "0.3.
|
|
77
|
+
version: "0.3.274",
|
|
78
78
|
updateSummary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release.",
|
|
79
79
|
packageCapabilities: {
|
|
80
80
|
updatePreferences: 1
|
package/dist/release.mjs
CHANGED
|
@@ -48,7 +48,7 @@ var SDK_RELEASE = {
|
|
|
48
48
|
// getters keep their established compatibility behavior.
|
|
49
49
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
50
50
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
51
|
-
version: "0.3.
|
|
51
|
+
version: "0.3.274",
|
|
52
52
|
updateSummary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release.",
|
|
53
53
|
packageCapabilities: {
|
|
54
54
|
updatePreferences: 1
|