deepline 0.3.266 → 0.3.267
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 +57 -0
- package/dist/bundling-sources/sdk/src/index.ts +3 -0
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/cli/index.js +141 -44
- package/dist/cli/index.mjs +141 -44
- package/dist/{client-C9Y49yya.d.ts → client-BqwMlN0Q.d.ts} +19 -1
- package/dist/{client-B5XbKrrs.d.mts → client-C4Zmm_zD.d.mts} +19 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +26 -1
- package/dist/index.mjs +26 -1
- 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
package/dist/cli/index.mjs
CHANGED
|
@@ -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.267",
|
|
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
|
|
@@ -6737,6 +6737,7 @@ var DeeplineClient = class _DeeplineClient {
|
|
|
6737
6737
|
this.runs = {
|
|
6738
6738
|
getReceipts: (runId, options2) => this.getRunReceipts(runId, options2),
|
|
6739
6739
|
get: (runId, options2) => this.getRunStatus(runId, options2),
|
|
6740
|
+
children: (parentRunId, options2) => this.getRunChildren(parentRunId, options2),
|
|
6740
6741
|
status: (runId) => this.getRunLifecycleStatus(runId),
|
|
6741
6742
|
list: (options2) => this.listRuns(options2),
|
|
6742
6743
|
listPage: (options2) => this.listRunsPage(options2),
|
|
@@ -7863,6 +7864,30 @@ var DeeplineClient = class _DeeplineClient {
|
|
|
7863
7864
|
}
|
|
7864
7865
|
};
|
|
7865
7866
|
}
|
|
7867
|
+
/** Read one paginated, launch-scoped page of direct child Runs. */
|
|
7868
|
+
async getRunChildren(parentRunId, options) {
|
|
7869
|
+
const launchKey = options.launchKey.trim();
|
|
7870
|
+
if (!launchKey) {
|
|
7871
|
+
throw new DeeplineError(
|
|
7872
|
+
"runs.children requires a nonempty launchKey.",
|
|
7873
|
+
void 0,
|
|
7874
|
+
"INVALID_CHILD_RUN_LAUNCH_KEY"
|
|
7875
|
+
);
|
|
7876
|
+
}
|
|
7877
|
+
if (options.limit !== void 0 && (!Number.isInteger(options.limit) || options.limit < 1 || options.limit > 50)) {
|
|
7878
|
+
throw new DeeplineError(
|
|
7879
|
+
"runs.children limit must be an integer from 1 to 50.",
|
|
7880
|
+
void 0,
|
|
7881
|
+
"INVALID_CHILD_RUN_PAGE_LIMIT"
|
|
7882
|
+
);
|
|
7883
|
+
}
|
|
7884
|
+
const params = new URLSearchParams({ launchKey });
|
|
7885
|
+
if (options.cursor !== void 0) params.set("cursor", options.cursor);
|
|
7886
|
+
if (options.limit !== void 0) params.set("limit", String(options.limit));
|
|
7887
|
+
return this.http.get(
|
|
7888
|
+
`/api/v2/runs/${encodeURIComponent(parentRunId)}/children?${params.toString()}`
|
|
7889
|
+
);
|
|
7890
|
+
}
|
|
7866
7891
|
/** Fetch only the legacy scalar lifecycle status for a run.
|
|
7867
7892
|
*
|
|
7868
7893
|
* @deprecated Use `client.runs.get(runId)` for the canonical run read.
|
|
@@ -17845,6 +17870,75 @@ Existing credential redactions and referenced-list previews remain as stored.
|
|
|
17845
17870
|
);
|
|
17846
17871
|
}
|
|
17847
17872
|
|
|
17873
|
+
// src/cli/commands/run-children.ts
|
|
17874
|
+
function shellQuote2(value) {
|
|
17875
|
+
return `'${value.replace(/'/g, `'\\''`)}'`;
|
|
17876
|
+
}
|
|
17877
|
+
function registerRunChildrenCommand(runs) {
|
|
17878
|
+
runs.command("children <parentRunId>").description(
|
|
17879
|
+
"List async child Runs for one launch key, one page at a time."
|
|
17880
|
+
).requiredOption(
|
|
17881
|
+
"--launch-key <key>",
|
|
17882
|
+
"Authored ctx.runPlayAsync launch key"
|
|
17883
|
+
).option("--cursor <cursor>", "Opaque cursor from the previous page").option("--limit <number>", "Rows to request (1\u201350; default 50)", "50").option("--json", "Emit JSON output; also automatic when stdout is piped").addHelpText(
|
|
17884
|
+
"after",
|
|
17885
|
+
`
|
|
17886
|
+
Examples:
|
|
17887
|
+
deepline runs children 'play/demo/run/parent' --launch-key approval --json
|
|
17888
|
+
deepline runs children 'play/demo/run/parent' --launch-key approval --cursor '<cursor>' --limit 25 --json
|
|
17889
|
+
|
|
17890
|
+
The command is read-only. Each response contains at most 50 child Runs and
|
|
17891
|
+
includes nextCommand when another page is available.
|
|
17892
|
+
`
|
|
17893
|
+
).action(
|
|
17894
|
+
async (parentRunId, options) => {
|
|
17895
|
+
const limit = Number(options.limit);
|
|
17896
|
+
if (!Number.isInteger(limit) || limit < 1 || limit > 50) {
|
|
17897
|
+
throw Object.assign(
|
|
17898
|
+
new Error("--limit must be an integer from 1 to 50."),
|
|
17899
|
+
{ exitCode: 2 }
|
|
17900
|
+
);
|
|
17901
|
+
}
|
|
17902
|
+
const page = await new DeeplineClient().runs.children(parentRunId, {
|
|
17903
|
+
launchKey: options.launchKey,
|
|
17904
|
+
...options.cursor !== void 0 ? { cursor: options.cursor } : {},
|
|
17905
|
+
limit
|
|
17906
|
+
});
|
|
17907
|
+
const nextCommand = page.hasMore && page.nextCursor ? [
|
|
17908
|
+
"deepline runs children",
|
|
17909
|
+
shellQuote2(parentRunId),
|
|
17910
|
+
"--launch-key",
|
|
17911
|
+
shellQuote2(options.launchKey),
|
|
17912
|
+
"--cursor",
|
|
17913
|
+
shellQuote2(page.nextCursor),
|
|
17914
|
+
"--limit",
|
|
17915
|
+
String(limit),
|
|
17916
|
+
"--json"
|
|
17917
|
+
].join(" ") : null;
|
|
17918
|
+
printCommandEnvelope(
|
|
17919
|
+
{
|
|
17920
|
+
parentRunId,
|
|
17921
|
+
launchKey: options.launchKey,
|
|
17922
|
+
...page,
|
|
17923
|
+
nextCommand,
|
|
17924
|
+
render: {
|
|
17925
|
+
sections: [
|
|
17926
|
+
{
|
|
17927
|
+
title: `${page.children.length} child Runs for ${options.launchKey}${page.hasMore ? " (more available)" : ""}`,
|
|
17928
|
+
lines: page.children.map(
|
|
17929
|
+
(child) => `${child.status} \xB7 ${child.runId}`
|
|
17930
|
+
)
|
|
17931
|
+
}
|
|
17932
|
+
],
|
|
17933
|
+
...nextCommand ? { actions: [{ label: "Next page", command: nextCommand }] } : {}
|
|
17934
|
+
}
|
|
17935
|
+
},
|
|
17936
|
+
{ json: options.json }
|
|
17937
|
+
);
|
|
17938
|
+
}
|
|
17939
|
+
);
|
|
17940
|
+
}
|
|
17941
|
+
|
|
17848
17942
|
// src/cli/commands/plays/run-history.ts
|
|
17849
17943
|
async function handleRunsHistory(options) {
|
|
17850
17944
|
const query = new URLSearchParams();
|
|
@@ -26766,7 +26860,7 @@ async function handlePlaysDeploy(directory, options) {
|
|
|
26766
26860
|
}
|
|
26767
26861
|
|
|
26768
26862
|
// src/cli/commands/git.ts
|
|
26769
|
-
function
|
|
26863
|
+
function shellQuote3(value) {
|
|
26770
26864
|
return `'${value.replace(/'/g, `'\\''`)}'`;
|
|
26771
26865
|
}
|
|
26772
26866
|
function renderProject(project) {
|
|
@@ -26877,9 +26971,9 @@ async function handleStatus2(options) {
|
|
|
26877
26971
|
// Stored values are admin-controlled text and this line is
|
|
26878
26972
|
// copy-pasted into a shell by whoever reads it, so every
|
|
26879
26973
|
// interpolated value below is quoted.
|
|
26880
|
-
`--branch ${
|
|
26881
|
-
link2.rootDirectory ? `--root-dir ${
|
|
26882
|
-
link2.manifestPath && link2.manifestPath !== "deepline.json" ? `--manifest ${
|
|
26974
|
+
`--branch ${shellQuote3(link2.productionBranch)}`,
|
|
26975
|
+
link2.rootDirectory ? `--root-dir ${shellQuote3(link2.rootDirectory)}` : "",
|
|
26976
|
+
link2.manifestPath && link2.manifestPath !== "deepline.json" ? `--manifest ${shellQuote3(link2.manifestPath)}` : "",
|
|
26883
26977
|
link2.checkOnPullRequest ? "" : "--no-pr-checks",
|
|
26884
26978
|
// With several active installations no id is guessed: the reader picks.
|
|
26885
26979
|
activeInstallations.length > 1 ? "--installation <id>" : ""
|
|
@@ -27602,7 +27696,7 @@ function rankPlayReferenceSuggestions(input2) {
|
|
|
27602
27696
|
function searchQueryForMissingPlayReference(target) {
|
|
27603
27697
|
return parseReferencedPlayTarget2(target).unqualifiedPlayName.replace(/[-_./]+/g, " ").replace(/\s+/g, " ").trim();
|
|
27604
27698
|
}
|
|
27605
|
-
function
|
|
27699
|
+
function shellQuote4(value) {
|
|
27606
27700
|
return `'${value.replace(/'/g, `'\\''`)}'`;
|
|
27607
27701
|
}
|
|
27608
27702
|
function buildPlayReferenceNotFoundMessage(input2) {
|
|
@@ -27635,7 +27729,7 @@ function buildPlayReferenceNotFoundMessage(input2) {
|
|
|
27635
27729
|
lines.push(
|
|
27636
27730
|
"",
|
|
27637
27731
|
"Search visible plays:",
|
|
27638
|
-
` deepline plays search ${
|
|
27732
|
+
` deepline plays search ${shellQuote4(searchQuery)} --all --json`
|
|
27639
27733
|
);
|
|
27640
27734
|
}
|
|
27641
27735
|
return lines.join("\n");
|
|
@@ -32463,7 +32557,7 @@ async function handlePlayCheck(args) {
|
|
|
32463
32557
|
runtimeLimit: play.runtimeLimit ?? null,
|
|
32464
32558
|
activeScheduledPlays: play.activeScheduledPlays ?? null,
|
|
32465
32559
|
actions: {
|
|
32466
|
-
getFullCheckCmd: `deepline plays check ${
|
|
32560
|
+
getFullCheckCmd: `deepline plays check ${shellQuote4(options.target)} --full --json`,
|
|
32467
32561
|
...play.runCommand ? { runCmd: play.runCommand } : {}
|
|
32468
32562
|
},
|
|
32469
32563
|
...options.full ? { diagnostics: { staticPipeline: play.staticPipeline ?? null } } : {}
|
|
@@ -32517,8 +32611,8 @@ async function handlePlayCheck(args) {
|
|
|
32517
32611
|
outcomes,
|
|
32518
32612
|
target: options.target,
|
|
32519
32613
|
full: options.full,
|
|
32520
|
-
detailsCommand: `deepline plays check ${
|
|
32521
|
-
publishCommand: primary?.result.artifactHash ? `deepline plays publish ${
|
|
32614
|
+
detailsCommand: `deepline plays check ${shellQuote4(options.target)} --full --json`,
|
|
32615
|
+
publishCommand: primary?.result.artifactHash ? `deepline plays publish ${shellQuote4(options.target)} --expected-artifact ${primary.result.artifactHash}` : void 0
|
|
32522
32616
|
});
|
|
32523
32617
|
printCommandEnvelope(output2, {
|
|
32524
32618
|
json: options.jsonOutput,
|
|
@@ -33582,7 +33676,7 @@ Active runs: ${next.running}`
|
|
|
33582
33676
|
return lines2.join("\n");
|
|
33583
33677
|
});
|
|
33584
33678
|
const nextOffset = (page.offset ?? offset ?? 0) + runs.length;
|
|
33585
|
-
const nextPage = page.hasMore && playName ? `deepline runs list --play ${
|
|
33679
|
+
const nextPage = page.hasMore && playName ? `deepline runs list --play ${shellQuote4(playName)}${statusFilter ? ` --status ${shellQuote4(statusFilter)}` : ""} --limit ${page.limit ?? limit ?? 20} --offset ${nextOffset} --json` : null;
|
|
33586
33680
|
if (page.hasMore) {
|
|
33587
33681
|
lines.push("List truncated \u2014 more runs match this filter.");
|
|
33588
33682
|
lines.push(
|
|
@@ -34016,19 +34110,19 @@ ${renderedPayload}` : ""}`;
|
|
|
34016
34110
|
});
|
|
34017
34111
|
const nextCommand = result.nextCursor ? [
|
|
34018
34112
|
"deepline runs logs",
|
|
34019
|
-
...runId ? [
|
|
34113
|
+
...runId ? [shellQuote4(runId)] : [],
|
|
34020
34114
|
"--since",
|
|
34021
|
-
|
|
34115
|
+
shellQuote4(result.since),
|
|
34022
34116
|
"--until",
|
|
34023
|
-
|
|
34024
|
-
...values["--play"] ? ["--play",
|
|
34025
|
-
...values["--kind"] ? ["--kind",
|
|
34026
|
-
...values["--where"] ? ["--where",
|
|
34117
|
+
shellQuote4(result.until),
|
|
34118
|
+
...values["--play"] ? ["--play", shellQuote4(values["--play"])] : [],
|
|
34119
|
+
...values["--kind"] ? ["--kind", shellQuote4(values["--kind"])] : [],
|
|
34120
|
+
...values["--where"] ? ["--where", shellQuote4(values["--where"])] : [],
|
|
34027
34121
|
...includePayloads ? ["--payloads"] : [],
|
|
34028
|
-
...namespace ? ["--runtime-namespace",
|
|
34029
|
-
...backend ? ["--runtime-backend",
|
|
34122
|
+
...namespace ? ["--runtime-namespace", shellQuote4(namespace)] : [],
|
|
34123
|
+
...backend ? ["--runtime-backend", shellQuote4(backend)] : [],
|
|
34030
34124
|
"--cursor",
|
|
34031
|
-
|
|
34125
|
+
shellQuote4(result.nextCursor),
|
|
34032
34126
|
"--limit",
|
|
34033
34127
|
String(limit),
|
|
34034
34128
|
"--json"
|
|
@@ -34596,7 +34690,7 @@ async function handlePlayList(args) {
|
|
|
34596
34690
|
);
|
|
34597
34691
|
return 1;
|
|
34598
34692
|
}
|
|
34599
|
-
const nextPage = page.hasMore && page.cursor ? `deepline plays list${categories ? ` --categories ${
|
|
34693
|
+
const nextPage = page.hasMore && page.cursor ? `deepline plays list${categories ? ` --categories ${shellQuote4(categories)}` : ""}${tags.map((tag) => ` --tag ${shellQuote4(tag)}`).join("")}${limit ? ` --limit ${limit}` : ""}${showCost ? " --show-cost" : ""} --cursor ${shellQuote4(page.cursor)} --json` : null;
|
|
34600
34694
|
if (page.hasMore && !nextPage) {
|
|
34601
34695
|
throw new Error(
|
|
34602
34696
|
"Play list reported more results without a continuation cursor"
|
|
@@ -35031,7 +35125,7 @@ async function handlePlaySave(args) {
|
|
|
35031
35125
|
message: "Refusing to save: the local file no longer produces the artifact checked earlier.",
|
|
35032
35126
|
expectedArtifactHash: options.expectedArtifactHash,
|
|
35033
35127
|
currentArtifactHash: artifactHash,
|
|
35034
|
-
next: `deepline plays check ${
|
|
35128
|
+
next: `deepline plays check ${shellQuote4(options.target)}`
|
|
35035
35129
|
};
|
|
35036
35130
|
if (options.jsonOutput) {
|
|
35037
35131
|
printCompactJson(result);
|
|
@@ -35096,7 +35190,7 @@ async function handlePlaySave(args) {
|
|
|
35096
35190
|
graphHash: graph.root.artifact.graphHash,
|
|
35097
35191
|
artifactStorageKey: saved.artifactStorageKey,
|
|
35098
35192
|
next: {
|
|
35099
|
-
publish: `deepline plays publish ${
|
|
35193
|
+
publish: `deepline plays publish ${shellQuote4(options.target)} --expected-artifact ${artifactHash}`,
|
|
35100
35194
|
get: `deepline plays get ${playName} --source --out ./${playName}/ --working`
|
|
35101
35195
|
}
|
|
35102
35196
|
};
|
|
@@ -35156,7 +35250,7 @@ async function handlePlayPublish(args) {
|
|
|
35156
35250
|
message: "Refusing to publish: the local file no longer produces the artifact checked earlier.",
|
|
35157
35251
|
expectedArtifactHash: options.expectedArtifactHash,
|
|
35158
35252
|
currentArtifactHash: artifactHash,
|
|
35159
|
-
next: `deepline plays check ${
|
|
35253
|
+
next: `deepline plays check ${shellQuote4(playName)}`
|
|
35160
35254
|
};
|
|
35161
35255
|
if (options.jsonOutput) {
|
|
35162
35256
|
printCompactJson(result3);
|
|
@@ -36123,6 +36217,7 @@ Concepts:
|
|
|
36123
36217
|
|
|
36124
36218
|
Retrieve results:
|
|
36125
36219
|
deepline runs get <run-id> --json
|
|
36220
|
+
deepline runs children <parent-run-id> --launch-key approval --json
|
|
36126
36221
|
deepline runs export <run-id> --dataset <returned-selector> --out results.csv
|
|
36127
36222
|
Choose the selector returned by get, not a guessed internal table name.
|
|
36128
36223
|
Overview previews are samples, not complete rows. --full adds diagnostics,
|
|
@@ -36136,6 +36231,7 @@ Follow existing work:
|
|
|
36136
36231
|
|
|
36137
36232
|
More options:
|
|
36138
36233
|
deepline runs get -h
|
|
36234
|
+
deepline runs children -h
|
|
36139
36235
|
deepline runs tail -h
|
|
36140
36236
|
deepline runs export -h
|
|
36141
36237
|
deepline plays -h
|
|
@@ -36157,6 +36253,7 @@ Examples:
|
|
|
36157
36253
|
`
|
|
36158
36254
|
);
|
|
36159
36255
|
registerRunReceiptCommand(runs);
|
|
36256
|
+
registerRunChildrenCommand(runs);
|
|
36160
36257
|
registerRunHistoryCommand(runs);
|
|
36161
36258
|
runs.command("status <runId>").description(
|
|
36162
36259
|
"Legacy scalar-only read. Use runs get for canonical status, progress, logs, and results."
|
|
@@ -49219,7 +49316,7 @@ function writeUnavailableSkillsNotice(baseUrl, remoteVersion, skillNames, reason
|
|
|
49219
49316
|
if (hasMarkedSkillsSyncVersion(path, remoteVersion)) return;
|
|
49220
49317
|
writeMarkedSkillsSyncVersion(path, remoteVersion);
|
|
49221
49318
|
const probes = reason === "no-installer" ? knownProbes ?? probeInstallers() : null;
|
|
49222
|
-
const manualCommand = probes?.npx === "missing" && probes.bunx !== "missing" ? `bunx ${buildBunxSkillsInstallArgs(baseUrl, skillNames, DEFAULT_SKILL_AGENTS).map(
|
|
49319
|
+
const manualCommand = probes?.npx === "missing" && probes.bunx !== "missing" ? `bunx ${buildBunxSkillsInstallArgs(baseUrl, skillNames, DEFAULT_SKILL_AGENTS).map(shellQuote5).join(" ")}` : `npx ${buildSkillsInstallArgs(baseUrl, skillNames).join(" ")}`;
|
|
49223
49320
|
const explanation = reason === "unsupported-agent" ? "the detected agent has no automatic skills sync target. Automatic sync was skipped." : probes?.bunx === "missing" && probes.npx === "missing" ? "neither `bunx` nor `npx` was found on PATH. Make one available." : `installer version check failed for ${Object.entries(probes ?? {}).filter(([, result]) => result === "failed").map(([command]) => `\`${command}\``).join(" and ")}. Check those commands with --version.`;
|
|
49224
49321
|
notice(
|
|
49225
49322
|
`Deepline agent skills are out of date, but ${explanation} To install manually, run:
|
|
@@ -49547,7 +49644,7 @@ function probeCommand(command, timeoutMs) {
|
|
|
49547
49644
|
function hasCommand(command) {
|
|
49548
49645
|
return probeCommand(command) === "available";
|
|
49549
49646
|
}
|
|
49550
|
-
function
|
|
49647
|
+
function shellQuote5(arg) {
|
|
49551
49648
|
return `'${arg.replace(/'/g, `'\\''`)}'`;
|
|
49552
49649
|
}
|
|
49553
49650
|
function temporarySkillsSyncSkipCommand() {
|
|
@@ -49566,7 +49663,7 @@ function resolveSkillsInstallCommands(baseUrl, skillNames = DEFAULT_SDK_SKILL_NA
|
|
|
49566
49663
|
commands.push({
|
|
49567
49664
|
command: "bunx",
|
|
49568
49665
|
args: bunxArgs,
|
|
49569
|
-
manualCommand: `bunx ${bunxArgs.map(
|
|
49666
|
+
manualCommand: `bunx ${bunxArgs.map(shellQuote5).join(" ")}`
|
|
49570
49667
|
});
|
|
49571
49668
|
}
|
|
49572
49669
|
if (hasCommand("npx")) {
|
|
@@ -49574,7 +49671,7 @@ function resolveSkillsInstallCommands(baseUrl, skillNames = DEFAULT_SDK_SKILL_NA
|
|
|
49574
49671
|
commands.push({
|
|
49575
49672
|
command: "npx",
|
|
49576
49673
|
args: npxArgs,
|
|
49577
|
-
manualCommand: `npx ${npxArgs.map(
|
|
49674
|
+
manualCommand: `npx ${npxArgs.map(shellQuote5).join(" ")}`
|
|
49578
49675
|
});
|
|
49579
49676
|
}
|
|
49580
49677
|
return commands;
|
|
@@ -51740,14 +51837,14 @@ function posixShellQuote(value) {
|
|
|
51740
51837
|
function windowsCmdQuote(value) {
|
|
51741
51838
|
return `"${value.replace(/"/g, '""')}"`;
|
|
51742
51839
|
}
|
|
51743
|
-
function
|
|
51840
|
+
function shellQuote6(value) {
|
|
51744
51841
|
if (process.platform === "win32") {
|
|
51745
51842
|
return /^[A-Za-z0-9_./:@%+=,-]+$/.test(value) ? value : windowsCmdQuote(value);
|
|
51746
51843
|
}
|
|
51747
51844
|
return posixShellQuote(value);
|
|
51748
51845
|
}
|
|
51749
51846
|
function buildSourceUpdateCommand(sourceRoot) {
|
|
51750
|
-
const quotedRoot =
|
|
51847
|
+
const quotedRoot = shellQuote6(sourceRoot);
|
|
51751
51848
|
const cdCommand = process.platform === "win32" ? `cd /d ${quotedRoot}` : `cd ${quotedRoot}`;
|
|
51752
51849
|
return `${cdCommand} && git fetch origin main --tags && git merge --ff-only origin/main`;
|
|
51753
51850
|
}
|
|
@@ -51759,7 +51856,7 @@ function buildSidecarProjectConfigCommand(versionDir, nodeBin) {
|
|
|
51759
51856
|
"fs.mkdirSync(dir,{recursive:true});",
|
|
51760
51857
|
`fs.writeFileSync(path.join(dir,'package.json'),${JSON.stringify(NPM_SDK_SIDECAR_PACKAGE_JSON)});`
|
|
51761
51858
|
].join("");
|
|
51762
|
-
return `${
|
|
51859
|
+
return `${shellQuote6(nodeBin)} -e ${shellQuote6(script)} ${shellQuote6(versionDir)}`;
|
|
51763
51860
|
}
|
|
51764
51861
|
function sidecarStateDir(input2) {
|
|
51765
51862
|
const scope = input2.env.DEEPLINE_CONFIG_SCOPE?.trim();
|
|
@@ -51822,7 +51919,7 @@ function resolvePythonSidecarUpdatePlan(options) {
|
|
|
51822
51919
|
const npmCommand = "npm";
|
|
51823
51920
|
const registryUrl = sidecarRegistryUrl(hostUrl);
|
|
51824
51921
|
const versionDir = join24(stateDir, "versions", "<version>");
|
|
51825
|
-
const manualCommand = `${buildSidecarProjectConfigCommand(versionDir, nodeBin)} && ${npmCommand} install --prefix ${
|
|
51922
|
+
const manualCommand = `${buildSidecarProjectConfigCommand(versionDir, nodeBin)} && ${npmCommand} install --prefix ${shellQuote6(versionDir)} --registry ${shellQuote6(registryUrl)} ${NPM_SDK_INSTALL_COMMON_FLAGS.map(shellQuote6).join(" ")} ${shellQuote6(packageSpec)}`;
|
|
51826
51923
|
return {
|
|
51827
51924
|
kind: "python-sidecar",
|
|
51828
51925
|
stateDir,
|
|
@@ -51971,7 +52068,7 @@ function resolveUpdatePlan(options = {}) {
|
|
|
51971
52068
|
args,
|
|
51972
52069
|
...installPrefix ? { installPrefix } : {},
|
|
51973
52070
|
...fallbackRegistryUrl ? { fallbackRegistryUrl } : {},
|
|
51974
|
-
manualCommand: `${command} ${args.map(
|
|
52071
|
+
manualCommand: `${command} ${args.map(shellQuote6).join(" ")}`
|
|
51975
52072
|
};
|
|
51976
52073
|
}
|
|
51977
52074
|
var AUTO_UPDATE_FAILURE_FILE = ".auto-update-failure.json";
|
|
@@ -52239,23 +52336,23 @@ function writeSidecarLauncher(input2) {
|
|
|
52239
52336
|
input2.path,
|
|
52240
52337
|
[
|
|
52241
52338
|
"#!/usr/bin/env sh",
|
|
52242
|
-
`export DEEPLINE_HOST_URL=${
|
|
52243
|
-
`export DEEPLINE_CONFIG_SCOPE=${
|
|
52244
|
-
`if ${criticalPaths.map((path) => `[ ! -f ${
|
|
52339
|
+
`export DEEPLINE_HOST_URL=${shellQuote6(input2.hostUrl)}`,
|
|
52340
|
+
`export DEEPLINE_CONFIG_SCOPE=${shellQuote6(input2.scope)}`,
|
|
52341
|
+
`if ${criticalPaths.map((path) => `[ ! -f ${shellQuote6(path)} ]`).join(" || ")}; then`,
|
|
52245
52342
|
' if [ -n "${DEEPLINE_REAL_BINARY:-}" ] && [ -x "$DEEPLINE_REAL_BINARY" ]; then',
|
|
52246
52343
|
' exec "$DEEPLINE_REAL_BINARY" --version=v2 "$@"',
|
|
52247
52344
|
" fi",
|
|
52248
52345
|
' printf "%s\\n" "Deepline SDK CLI install is incomplete. Run \\`deepline update\\` to repair it." >&2',
|
|
52249
52346
|
" exit 1",
|
|
52250
52347
|
"fi",
|
|
52251
|
-
`if ! ${
|
|
52348
|
+
`if ! ${shellQuote6(input2.nodeBin)} -e ${shellQuote6(esbuildProbe)} ${shellQuote6(versionDir)} >/dev/null 2>&1; then`,
|
|
52252
52349
|
' if [ -n "${DEEPLINE_REAL_BINARY:-}" ] && [ -x "$DEEPLINE_REAL_BINARY" ]; then',
|
|
52253
52350
|
' exec "$DEEPLINE_REAL_BINARY" --version=v2 "$@"',
|
|
52254
52351
|
" fi",
|
|
52255
52352
|
' printf "%s\\n" "Deepline SDK CLI install is incomplete. Run \\`deepline update\\` to repair it." >&2',
|
|
52256
52353
|
" exit 1",
|
|
52257
52354
|
"fi",
|
|
52258
|
-
`exec ${
|
|
52355
|
+
`exec ${shellQuote6(input2.nodeBin)} ${shellQuote6(input2.entryPath)} "$@"`,
|
|
52259
52356
|
""
|
|
52260
52357
|
].join("\n"),
|
|
52261
52358
|
{ encoding: "utf8", mode: 493 }
|
|
@@ -55956,9 +56053,9 @@ function apifySyncRecoveryNext(rawResponse) {
|
|
|
55956
56053
|
const getDatasetItemsTool = stringField2(getDatasetItems, "tool");
|
|
55957
56054
|
const getDatasetItemsPayload = recordField2(getDatasetItems, "payload");
|
|
55958
56055
|
return {
|
|
55959
|
-
getActorRun: `deepline tools execute ${getActorRunTool} --input ${
|
|
56056
|
+
getActorRun: `deepline tools execute ${getActorRunTool} --input ${shellQuote7(JSON.stringify(getActorRunPayload))} --json`,
|
|
55960
56057
|
...getDatasetItemsTool && Object.keys(getDatasetItemsPayload).length > 0 ? {
|
|
55961
|
-
getDatasetItems: `deepline tools execute ${getDatasetItemsTool} --input ${
|
|
56058
|
+
getDatasetItems: `deepline tools execute ${getDatasetItemsTool} --input ${shellQuote7(JSON.stringify(getDatasetItemsPayload))} --json`
|
|
55962
56059
|
} : {}
|
|
55963
56060
|
};
|
|
55964
56061
|
}
|
|
@@ -56183,7 +56280,7 @@ function parseToolExecuteTimeout(raw) {
|
|
|
56183
56280
|
function safeFileStem(value) {
|
|
56184
56281
|
return value.trim().replace(/[^a-zA-Z0-9_-]+/g, "-").replace(/^-+|-+$/g, "").slice(0, 64) || "tool";
|
|
56185
56282
|
}
|
|
56186
|
-
function
|
|
56283
|
+
function shellQuote7(value) {
|
|
56187
56284
|
return `'${value.replace(/'/g, `'\\''`)}'`;
|
|
56188
56285
|
}
|
|
56189
56286
|
function powerShellQuote(value) {
|
|
@@ -56253,7 +56350,7 @@ export default definePlay(${JSON.stringify(playName)}, async (ctx) => {
|
|
|
56253
56350
|
path: scriptPath,
|
|
56254
56351
|
sourceCode: script,
|
|
56255
56352
|
projectDir,
|
|
56256
|
-
macCopyCommand: `mkdir -p ${
|
|
56353
|
+
macCopyCommand: `mkdir -p ${shellQuote7(projectDir)} && cp ${shellQuote7(scriptPath)} ${shellQuote7(`${projectDir}/${fileName}`)}`,
|
|
56257
56354
|
windowsCopyCommand: `New-Item -ItemType Directory -Force -Path ${powerShellQuote(projectDir.replace(/\//g, "\\"))} | Out-Null; Copy-Item -LiteralPath ${powerShellQuote(scriptPath)} -Destination ${powerShellQuote(`${projectDir.replace(/\//g, "\\")}\\${fileName}`)}`
|
|
56258
56355
|
};
|
|
56259
56356
|
}
|
|
@@ -56281,8 +56378,8 @@ function buildToolExecuteBaseEnvelope(input2) {
|
|
|
56281
56378
|
envelope,
|
|
56282
56379
|
"output"
|
|
56283
56380
|
);
|
|
56284
|
-
const billingLookup = typeof envelope.job_id === "string" && envelope.job_id.trim() ? `deepline billing usage --request-id ${
|
|
56285
|
-
const inspectCommand = `deepline tools execute ${input2.toolId} --input ${
|
|
56381
|
+
const billingLookup = typeof envelope.job_id === "string" && envelope.job_id.trim() ? `deepline billing usage --request-id ${shellQuote7(envelope.job_id)} --json` : null;
|
|
56382
|
+
const inspectCommand = `deepline tools execute ${input2.toolId} --input ${shellQuote7(JSON.stringify(input2.params))} --json`;
|
|
56286
56383
|
const actions2 = input2.listConversion ? [
|
|
56287
56384
|
{
|
|
56288
56385
|
label: "next",
|
|
@@ -3736,6 +3736,20 @@ type RunsGetOptions = {
|
|
|
3736
3736
|
/** Requested failed-log lines to attach (default 20, hard-capped at 20). */
|
|
3737
3737
|
failedLogLimit?: number;
|
|
3738
3738
|
};
|
|
3739
|
+
type RunsChildrenOptions = {
|
|
3740
|
+
/** Required authored `ctx.runPlayAsync` launch key. */
|
|
3741
|
+
launchKey: string;
|
|
3742
|
+
/** Opaque cursor returned by the preceding page. */
|
|
3743
|
+
cursor?: string;
|
|
3744
|
+
/** Rows to request (1–50; defaults to 50). */
|
|
3745
|
+
limit?: number;
|
|
3746
|
+
};
|
|
3747
|
+
/** One bounded page of direct child Runs for one async launch. */
|
|
3748
|
+
type RunChildrenPage = {
|
|
3749
|
+
children: ChildRunSummary[];
|
|
3750
|
+
nextCursor: string | null;
|
|
3751
|
+
hasMore: boolean;
|
|
3752
|
+
};
|
|
3739
3753
|
type RunGetStatus = {
|
|
3740
3754
|
available: false;
|
|
3741
3755
|
reason: 'not_projected' | 'read_failed';
|
|
@@ -3941,6 +3955,8 @@ type RunsNamespace = {
|
|
|
3941
3955
|
}) => Promise<RunToolReceiptsResponse>;
|
|
3942
3956
|
/** Get current run status by public run id. */
|
|
3943
3957
|
get: (runId: string, options?: RunsGetOptions) => Promise<PlayStatus>;
|
|
3958
|
+
/** Read one bounded page of direct children for an async launch. */
|
|
3959
|
+
children: (parentRunId: string, options: RunsChildrenOptions) => Promise<RunChildrenPage>;
|
|
3944
3960
|
/**
|
|
3945
3961
|
* @deprecated Use `client.runs.get(runId)` for status, progress, logs, and results.
|
|
3946
3962
|
* This scalar-only reader remains for compatibility with existing callers.
|
|
@@ -5891,6 +5907,8 @@ declare class DeeplineClient {
|
|
|
5891
5907
|
* ```
|
|
5892
5908
|
*/
|
|
5893
5909
|
getRunStatus(runId: string, options?: RunsGetOptions): Promise<PlayStatus>;
|
|
5910
|
+
/** Read one paginated, launch-scoped page of direct child Runs. */
|
|
5911
|
+
getRunChildren(parentRunId: string, options: RunsChildrenOptions): Promise<RunChildrenPage>;
|
|
5894
5912
|
/** Fetch only the legacy scalar lifecycle status for a run.
|
|
5895
5913
|
*
|
|
5896
5914
|
* @deprecated Use `client.runs.get(runId)` for the canonical run read.
|
|
@@ -6561,4 +6579,4 @@ declare class DeeplineClient {
|
|
|
6561
6579
|
}>;
|
|
6562
6580
|
}
|
|
6563
6581
|
|
|
6564
|
-
export { type
|
|
6582
|
+
export { type MonitorFleetStatus as $, DeeplineClient as A, type BillingNamespace as B, type ClearPlayHistoryResult as C, type DeeplineClientOptions as D, type ExecutionRecovery as E, type DeeplineToolCategory as F, type LiveEventEnvelope as G, MONITOR_JOB_RECONCILIATION_STATES as H, type IngestionStorageRepairResult as I, MONITOR_JOB_STATES as J, type MonitorBatchNamespace as K, type LegacyMonitorStatusFilter as L, MONITOR_JOB_PHASES as M, type MonitorCheckResult as N, type MonitorDefinition as O, type PlayListItem as P, type MonitorDeleteResult as Q, type ResolvedConfig as R, type StopPlayRunResult as S, type ToolDefinition as T, type MonitorDependents as U, type MonitorDeployResult as V, type MonitorDetail as W, type MonitorFleetDeactivateOptions as X, type MonitorFleetGetOptions as Y, type MonitorFleetReactivateOptions as Z, type MonitorFleetResult as _, type ToolMetadata as a, type PlaysListPage as a$, type MonitorFleetSyncOptions as a0, type MonitorFleetWaitOptions as a1, type MonitorFleetsNamespace as a2, type MonitorJobDeployOptions as a3, type MonitorJobLogsOptions as a4, type MonitorJobPhase as a5, type MonitorJobReconciliationState as a6, type MonitorJobResult as a7, type MonitorJobState as a8, type MonitorJobWaitOptions as a9, type PlayActivityState as aA, type PlayActivityTarget as aB, type PlayBootstrapEntityKind as aC, type PlayBootstrapFinderKind as aD, type PlayCostEstimate as aE, type PlayCronTriggerConfig as aF, type PlayLiveEvent as aG, type PlayPath as aH, type PlayRunActionPackage as aI, type PlayRunActivityProjection as aJ, type PlayRunDatasetActions as aK, type PlayRunPackage as aL, type PlayRunResult as aM, type PlayRunStart as aN, type PlaySettings as aO, type PlaySettingsPatch as aP, type PlaySettingsPathsPage as aQ, type PlaySettingsResult as aR, type PlaySheetRow as aS, type PlaySheetRowsResult as aT, type PlayTriggerConfigUpdate as aU, type PlayTriggerConfigUpdateResult as aV, type PlayTriggerConfigView as aW, type PlayWebhookAuthConfig as aX, type PlayWebhookTriggerConfig as aY, type PlaysActivityResponse as aZ, type PlaysListOptions as a_, type MonitorJobsNamespace as aa, type MonitorListEntry as ab, type MonitorPayload as ac, type MonitorReactivateResult as ad, type MonitorSpec as ae, type MonitorState as af, type MonitorStateFilter as ag, type MonitorUpdateChangeSummary as ah, type MonitorUpdateResult as ai, type MonitorsAccessStatus as aj, type MonitorsAvailableOptions as ak, type MonitorsAvailableResult as al, type MonitorsListOptions as am, type MonitorsListResult as an, type MonitorsNamespace as ao, PLAY_BOOTSTRAP_COMPANY_FIELDS as ap, PLAY_BOOTSTRAP_COMPANY_PROVIDER_CATEGORY as aq, PLAY_BOOTSTRAP_CONTACT_FIELDS as ar, PLAY_BOOTSTRAP_FINDER_KINDS as as, PLAY_BOOTSTRAP_OUTPUT_FIELD_BY_FINDER as at, PLAY_BOOTSTRAP_PEOPLE_PROVIDER_CATEGORY as au, PLAY_BOOTSTRAP_PROVIDER_CATEGORY_BY_FINDER as av, PLAY_BOOTSTRAP_SOURCE_KINDS as aw, PLAY_BOOTSTRAP_STAGE_KINDS as ax, PLAY_BOOTSTRAP_TEMPLATES as ay, type PlayActivityObservation as az, type ExecutionByKeyResult as b, stageFileInputs as b$, type PublishPlayVersionRequest as b0, type RerunOptions as b1, type RerunPlayRunResult as b2, type RunChildrenPage as b3, type RunLifecycleStatus as b4, type RunToolReceiptResult as b5, type RunToolReceiptsResponse as b6, type RunsChildrenOptions as b7, type RunsEventPayload as b8, type RunsEventSearchEntry as b9, isStopAllPlayRunsDryRunResult as bA, CSV_DATA_INPUT_KEY as bB, type FileInputBinding as bC, type LocalFileInput as bD, type MintStagedFileUpload as bE, PLAY_FILES_STAGE_MINT_PATH as bF, PLAY_FILES_STAGE_PATH as bG, PLAY_RUN_START_PATH as bH, PLAY_RUN_START_STREAM_PATH as bI, type PlayRunHttp as bJ, type ResolvedStartPlayRunRequest as bK, STAGE_LEGACY_MULTIPART_MAX_BYTES as bL, type StagedFileCodec as bM, type StagedFileInputs as bN, type StagedFileUpload as bO, buildNamedPlayRunRequest as bP, buildPlayRunStartBody as bQ, createSessionPlayRunHttp as bR, createStagedFileUpload as bS, fileInputBindingsFromPlaySchema as bT, fileInputBindingsFromStaticPipeline as bU, getDottedInputValue as bV, isPlayRunPackage as bW, mintStagedPlayFileUploads as bX, normalizePlayRunStart as bY, playRunFileInputBindings as bZ, setDottedInputValue as b_, type RunsEventSearchOptions as ba, type RunsEventSearchResult as bb, type RunsListOptions as bc, type RunsListPage as bd, type RunsLogsOptions as be, type RunsLogsResult as bf, type RunsNamespace as bg, type RunsTailOptions as bh, type RunsWatchOptions as bi, type StartPlayRunRequest as bj, type StopAllCandidate as bk, type StopAllPlayRunsDryRunResult as bl, type StopAllPlayRunsResult as bm, type StopAllPlayRunsStopResult as bn, type StopAllRunsOptions as bo, type ToolExecution as bp, type ToolSearchOptions as bq, type ToolSearchResult as br, type WorkspaceCreateResult as bs, type WorkspacesNamespace as bt, defineMonitor as bu, formatPlayBootstrapFinderKinds as bv, formatPlayBootstrapFinderKindsForSentence as bw, formatPlayBootstrapTemplates as bx, isPlayBootstrapFinderKind as by, isPlayBootstrapTemplate as bz, type PlayDetail as c, stagePlayFiles as c0, stagedFileContentType as c1, startPlayRun as c2, webStagedFileCodec as c3, type PlayRunListItem as d, type PlayRevisionSummary as e, type PublishPlayVersionResult as f, type PlayStatus as g, type BillingCreditPool as h, type BillingInvoiceEntry as i, type BillingInvoicesResult as j, type BillingPaymentMethodSummary as k, type BillingRecentUsageEntry as l, type BillingSubscriptionCancelResult as m, type BillingSubscriptionStatus as n, type BillingTopUpReceipt as o, type BillingTopUpResult as p, type BillingUsageEvent as q, type BillingUsageOptions as r, type BillingUsageResult as s, type ChildRunSummary as t, type ClearPlayHistoryRequest as u, type CreateNotificationGroupInput as v, type CreateNotificationGroupResult as w, type CustomerDbQueryResult as x, DEEPLINE_TOOL_CATEGORIES as y, type DbNamespace as z };
|
|
@@ -3736,6 +3736,20 @@ type RunsGetOptions = {
|
|
|
3736
3736
|
/** Requested failed-log lines to attach (default 20, hard-capped at 20). */
|
|
3737
3737
|
failedLogLimit?: number;
|
|
3738
3738
|
};
|
|
3739
|
+
type RunsChildrenOptions = {
|
|
3740
|
+
/** Required authored `ctx.runPlayAsync` launch key. */
|
|
3741
|
+
launchKey: string;
|
|
3742
|
+
/** Opaque cursor returned by the preceding page. */
|
|
3743
|
+
cursor?: string;
|
|
3744
|
+
/** Rows to request (1–50; defaults to 50). */
|
|
3745
|
+
limit?: number;
|
|
3746
|
+
};
|
|
3747
|
+
/** One bounded page of direct child Runs for one async launch. */
|
|
3748
|
+
type RunChildrenPage = {
|
|
3749
|
+
children: ChildRunSummary[];
|
|
3750
|
+
nextCursor: string | null;
|
|
3751
|
+
hasMore: boolean;
|
|
3752
|
+
};
|
|
3739
3753
|
type RunGetStatus = {
|
|
3740
3754
|
available: false;
|
|
3741
3755
|
reason: 'not_projected' | 'read_failed';
|
|
@@ -3941,6 +3955,8 @@ type RunsNamespace = {
|
|
|
3941
3955
|
}) => Promise<RunToolReceiptsResponse>;
|
|
3942
3956
|
/** Get current run status by public run id. */
|
|
3943
3957
|
get: (runId: string, options?: RunsGetOptions) => Promise<PlayStatus>;
|
|
3958
|
+
/** Read one bounded page of direct children for an async launch. */
|
|
3959
|
+
children: (parentRunId: string, options: RunsChildrenOptions) => Promise<RunChildrenPage>;
|
|
3944
3960
|
/**
|
|
3945
3961
|
* @deprecated Use `client.runs.get(runId)` for status, progress, logs, and results.
|
|
3946
3962
|
* This scalar-only reader remains for compatibility with existing callers.
|
|
@@ -5891,6 +5907,8 @@ declare class DeeplineClient {
|
|
|
5891
5907
|
* ```
|
|
5892
5908
|
*/
|
|
5893
5909
|
getRunStatus(runId: string, options?: RunsGetOptions): Promise<PlayStatus>;
|
|
5910
|
+
/** Read one paginated, launch-scoped page of direct child Runs. */
|
|
5911
|
+
getRunChildren(parentRunId: string, options: RunsChildrenOptions): Promise<RunChildrenPage>;
|
|
5894
5912
|
/** Fetch only the legacy scalar lifecycle status for a run.
|
|
5895
5913
|
*
|
|
5896
5914
|
* @deprecated Use `client.runs.get(runId)` for the canonical run read.
|
|
@@ -6561,4 +6579,4 @@ declare class DeeplineClient {
|
|
|
6561
6579
|
}>;
|
|
6562
6580
|
}
|
|
6563
6581
|
|
|
6564
|
-
export { type
|
|
6582
|
+
export { type MonitorFleetStatus as $, DeeplineClient as A, type BillingNamespace as B, type ClearPlayHistoryResult as C, type DeeplineClientOptions as D, type ExecutionRecovery as E, type DeeplineToolCategory as F, type LiveEventEnvelope as G, MONITOR_JOB_RECONCILIATION_STATES as H, type IngestionStorageRepairResult as I, MONITOR_JOB_STATES as J, type MonitorBatchNamespace as K, type LegacyMonitorStatusFilter as L, MONITOR_JOB_PHASES as M, type MonitorCheckResult as N, type MonitorDefinition as O, type PlayListItem as P, type MonitorDeleteResult as Q, type ResolvedConfig as R, type StopPlayRunResult as S, type ToolDefinition as T, type MonitorDependents as U, type MonitorDeployResult as V, type MonitorDetail as W, type MonitorFleetDeactivateOptions as X, type MonitorFleetGetOptions as Y, type MonitorFleetReactivateOptions as Z, type MonitorFleetResult as _, type ToolMetadata as a, type PlaysListPage as a$, type MonitorFleetSyncOptions as a0, type MonitorFleetWaitOptions as a1, type MonitorFleetsNamespace as a2, type MonitorJobDeployOptions as a3, type MonitorJobLogsOptions as a4, type MonitorJobPhase as a5, type MonitorJobReconciliationState as a6, type MonitorJobResult as a7, type MonitorJobState as a8, type MonitorJobWaitOptions as a9, type PlayActivityState as aA, type PlayActivityTarget as aB, type PlayBootstrapEntityKind as aC, type PlayBootstrapFinderKind as aD, type PlayCostEstimate as aE, type PlayCronTriggerConfig as aF, type PlayLiveEvent as aG, type PlayPath as aH, type PlayRunActionPackage as aI, type PlayRunActivityProjection as aJ, type PlayRunDatasetActions as aK, type PlayRunPackage as aL, type PlayRunResult as aM, type PlayRunStart as aN, type PlaySettings as aO, type PlaySettingsPatch as aP, type PlaySettingsPathsPage as aQ, type PlaySettingsResult as aR, type PlaySheetRow as aS, type PlaySheetRowsResult as aT, type PlayTriggerConfigUpdate as aU, type PlayTriggerConfigUpdateResult as aV, type PlayTriggerConfigView as aW, type PlayWebhookAuthConfig as aX, type PlayWebhookTriggerConfig as aY, type PlaysActivityResponse as aZ, type PlaysListOptions as a_, type MonitorJobsNamespace as aa, type MonitorListEntry as ab, type MonitorPayload as ac, type MonitorReactivateResult as ad, type MonitorSpec as ae, type MonitorState as af, type MonitorStateFilter as ag, type MonitorUpdateChangeSummary as ah, type MonitorUpdateResult as ai, type MonitorsAccessStatus as aj, type MonitorsAvailableOptions as ak, type MonitorsAvailableResult as al, type MonitorsListOptions as am, type MonitorsListResult as an, type MonitorsNamespace as ao, PLAY_BOOTSTRAP_COMPANY_FIELDS as ap, PLAY_BOOTSTRAP_COMPANY_PROVIDER_CATEGORY as aq, PLAY_BOOTSTRAP_CONTACT_FIELDS as ar, PLAY_BOOTSTRAP_FINDER_KINDS as as, PLAY_BOOTSTRAP_OUTPUT_FIELD_BY_FINDER as at, PLAY_BOOTSTRAP_PEOPLE_PROVIDER_CATEGORY as au, PLAY_BOOTSTRAP_PROVIDER_CATEGORY_BY_FINDER as av, PLAY_BOOTSTRAP_SOURCE_KINDS as aw, PLAY_BOOTSTRAP_STAGE_KINDS as ax, PLAY_BOOTSTRAP_TEMPLATES as ay, type PlayActivityObservation as az, type ExecutionByKeyResult as b, stageFileInputs as b$, type PublishPlayVersionRequest as b0, type RerunOptions as b1, type RerunPlayRunResult as b2, type RunChildrenPage as b3, type RunLifecycleStatus as b4, type RunToolReceiptResult as b5, type RunToolReceiptsResponse as b6, type RunsChildrenOptions as b7, type RunsEventPayload as b8, type RunsEventSearchEntry as b9, isStopAllPlayRunsDryRunResult as bA, CSV_DATA_INPUT_KEY as bB, type FileInputBinding as bC, type LocalFileInput as bD, type MintStagedFileUpload as bE, PLAY_FILES_STAGE_MINT_PATH as bF, PLAY_FILES_STAGE_PATH as bG, PLAY_RUN_START_PATH as bH, PLAY_RUN_START_STREAM_PATH as bI, type PlayRunHttp as bJ, type ResolvedStartPlayRunRequest as bK, STAGE_LEGACY_MULTIPART_MAX_BYTES as bL, type StagedFileCodec as bM, type StagedFileInputs as bN, type StagedFileUpload as bO, buildNamedPlayRunRequest as bP, buildPlayRunStartBody as bQ, createSessionPlayRunHttp as bR, createStagedFileUpload as bS, fileInputBindingsFromPlaySchema as bT, fileInputBindingsFromStaticPipeline as bU, getDottedInputValue as bV, isPlayRunPackage as bW, mintStagedPlayFileUploads as bX, normalizePlayRunStart as bY, playRunFileInputBindings as bZ, setDottedInputValue as b_, type RunsEventSearchOptions as ba, type RunsEventSearchResult as bb, type RunsListOptions as bc, type RunsListPage as bd, type RunsLogsOptions as be, type RunsLogsResult as bf, type RunsNamespace as bg, type RunsTailOptions as bh, type RunsWatchOptions as bi, type StartPlayRunRequest as bj, type StopAllCandidate as bk, type StopAllPlayRunsDryRunResult as bl, type StopAllPlayRunsResult as bm, type StopAllPlayRunsStopResult as bn, type StopAllRunsOptions as bo, type ToolExecution as bp, type ToolSearchOptions as bq, type ToolSearchResult as br, type WorkspaceCreateResult as bs, type WorkspacesNamespace as bt, defineMonitor as bu, formatPlayBootstrapFinderKinds as bv, formatPlayBootstrapFinderKindsForSentence as bw, formatPlayBootstrapTemplates as bx, isPlayBootstrapFinderKind as by, isPlayBootstrapTemplate as bz, type PlayDetail as c, stagePlayFiles as c0, stagedFileContentType as c1, startPlayRun as c2, webStagedFileCodec as c3, type PlayRunListItem as d, type PlayRevisionSummary as e, type PublishPlayVersionResult as f, type PlayStatus as g, type BillingCreditPool as h, type BillingInvoiceEntry as i, type BillingInvoicesResult as j, type BillingPaymentMethodSummary as k, type BillingRecentUsageEntry as l, type BillingSubscriptionCancelResult as m, type BillingSubscriptionStatus as n, type BillingTopUpReceipt as o, type BillingTopUpResult as p, type BillingUsageEvent as q, type BillingUsageOptions as r, type BillingUsageResult as s, type ChildRunSummary as t, type ClearPlayHistoryRequest as u, type CreateNotificationGroupInput as v, type CreateNotificationGroupResult as w, type CustomerDbQueryResult as x, DEEPLINE_TOOL_CATEGORIES as y, type DbNamespace as z };
|
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
|
|
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-C4Zmm_zD.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-C4Zmm_zD.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-CUuh8C3b.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-CUuh8C3b.mjs';
|
|
6
6
|
export { BatchMonitorInput, MonitorInputIssue, MonitorSpec as MonitorInputSpec, lintMonitorBatchInput, lintMonitorSpecTemplate, renderMonitorSpecTemplate } from './monitor-input-contract.mjs';
|