deepline 0.3.302 → 0.3.304
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/release.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/app-runtime-api.ts +31 -1
- package/dist/bundling-sources/shared_libs/play-runtime/execute-server-timing.ts +30 -0
- package/dist/bundling-sources/shared_libs/play-runtime/resource-governor.ts +144 -1
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +1 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-event-search.ts +82 -0
- package/dist/bundling-sources/shared_libs/plays/tool-response-contract.ts +25 -0
- package/dist/cli/auth-UBWZC26A.js +31 -0
- package/dist/cli/{auth-WHKDFARX.mjs → auth-YKJHKHIQ.mjs} +4 -4
- package/dist/cli/{billing-IMFI76GS.js → billing-EOIKAZES.js} +71 -71
- package/dist/cli/{billing-7C66HEMK.mjs → billing-XEEW5SV2.mjs} +5 -5
- package/dist/cli/{chunk-AIIVF62D.mjs → chunk-35SCWK4Y.mjs} +1 -1
- package/dist/cli/{chunk-JCS5TPNY.mjs → chunk-4NIQA6S7.mjs} +1 -1
- package/dist/cli/{chunk-2TCHWWRP.mjs → chunk-7HYH533G.mjs} +1 -1
- package/dist/cli/{chunk-OTAGK5MS.js → chunk-7NQJDQPH.js} +48 -48
- package/dist/cli/{chunk-A4UUUINX.mjs → chunk-7OXXCRGZ.mjs} +1 -1
- package/dist/cli/{chunk-GHYU5YWJ.mjs → chunk-7QV545D7.mjs} +1 -1
- package/dist/cli/{chunk-DTGPHQFC.mjs → chunk-AOUGAM72.mjs} +2 -2
- package/dist/cli/{chunk-NRIVXKMQ.js → chunk-BBXO7APG.js} +6 -6
- package/dist/cli/{chunk-KEPIGAJS.js → chunk-DNBJRKVE.js} +57 -57
- package/dist/cli/{chunk-AAZBNN6N.js → chunk-DOCDA2YP.js} +4 -4
- package/dist/cli/{chunk-5FKCLTLS.js → chunk-FDEU7UY7.js} +11 -11
- package/dist/cli/{chunk-V4WVYW3G.mjs → chunk-IHT6XITB.mjs} +2 -2
- package/dist/cli/{chunk-KI5DPDF2.js → chunk-INOSSTSG.js} +15 -15
- package/dist/cli/{chunk-TVBPWUII.mjs → chunk-JKY2QANB.mjs} +4 -4
- package/dist/cli/{chunk-S6XS2ABF.mjs → chunk-JZWC4ES6.mjs} +2 -2
- package/dist/cli/{chunk-OUREAAOT.js → chunk-KP5TOAI4.js} +6 -6
- package/dist/cli/{chunk-7AXKBZWF.js → chunk-NC4JXVVS.js} +2 -2
- package/dist/cli/{chunk-J2PPXZE4.js → chunk-NJS3RHQO.js} +6 -6
- package/dist/cli/{chunk-PZOHVTQ3.mjs → chunk-NW7I3LDU.mjs} +3 -3
- package/dist/cli/{chunk-YLVIJZ2W.mjs → chunk-TABL2Q6H.mjs} +2 -2
- package/dist/cli/{chunk-JX3CNS4W.js → chunk-USJBSNRI.js} +26 -26
- package/dist/cli/{chunk-GONRLVV3.js → chunk-W7INSYJS.js} +9 -9
- package/dist/cli/{chunk-GWIY7C7U.mjs → chunk-YJ2QYYB5.mjs} +1 -1
- package/dist/cli/{chunk-GXYR7DV4.js → chunk-ZQSQCHG3.js} +1 -1
- package/dist/cli/{client-M7OBRULN.mjs → client-FZPHVNWV.mjs} +4 -4
- package/dist/cli/client-IMFLPCD7.js +20 -0
- package/dist/cli/{csv-SAJB2PYV.js → csv-ANJ4KSHF.js} +12 -12
- package/dist/cli/{csv-AKVUO3PP.mjs → csv-CCHVZPRD.mjs} +3 -3
- package/dist/cli/{db-AASVDGJB.js → db-AE3MLMRF.js} +21 -21
- package/dist/cli/{db-KREGQID3.mjs → db-JFVR6STL.mjs} +5 -5
- package/dist/cli/{executions-XSKRZWVG.js → executions-DGX53UEW.js} +7 -7
- package/dist/cli/{executions-YL5UM6BY.mjs → executions-WNXCURLN.mjs} +5 -5
- package/dist/cli/{feedback-XZNAGHZ4.js → feedback-DGEFG6JI.js} +6 -6
- package/dist/cli/{feedback-ITNK5A5V.mjs → feedback-L4A66OA2.mjs} +3 -3
- package/dist/cli/git-6QWUB6CR.js +23 -0
- package/dist/cli/{git-IXYZ5H7T.mjs → git-LIZ3FGVR.mjs} +4 -4
- package/dist/cli/index.d.mts +1 -6
- package/dist/cli/index.d.ts +1 -6
- package/dist/cli/index.js +100 -87
- package/dist/cli/index.mjs +54 -41
- package/dist/cli/{legacy-noops-BJZ3P455.js → legacy-noops-L7GGGAOR.js} +7 -7
- package/dist/cli/{legacy-noops-MT5VFDXS.mjs → legacy-noops-UCKGOSJA.mjs} +4 -4
- package/dist/cli/{monitors-XU62FCBX.js → monitors-NGACMMWV.js} +86 -86
- package/dist/cli/{monitors-QL4XDOQT.mjs → monitors-NLMFDD4C.mjs} +5 -5
- package/dist/cli/{org-NKFPS763.mjs → org-2OW6TPHF.mjs} +5 -5
- package/dist/cli/{org-6WSIPHVV.js → org-FJSCZ6S3.js} +61 -61
- package/dist/cli/{play-RZO7CZKL.js → play-GJC4AIAX.js} +229 -227
- package/dist/cli/{play-CKL7RDIS.mjs → play-ZZ4AQLL5.mjs} +21 -19
- package/dist/cli/{providers-UKNXDCPJ.mjs → providers-6BJNJUSG.mjs} +5 -5
- package/dist/cli/{providers-PQPH374E.js → providers-D7KLXB4S.js} +8 -8
- package/dist/cli/{proxy-env-M4ZHXHRL.mjs → proxy-env-NWUIGWS3.mjs} +34 -17
- package/dist/cli/{proxy-env-EBANZHPV.js → proxy-env-ZV2WZFAT.js} +37 -20
- package/dist/cli/{quickstart-3FFTESEL.js → quickstart-6WYRYZJZ.js} +5 -5
- package/dist/cli/{quickstart-JUTTMWIC.mjs → quickstart-FH4NGHEJ.mjs} +3 -3
- package/dist/cli/search-KOSJMN3U.js +18 -0
- package/dist/cli/{search-WGBQ5LE5.mjs → search-SUT5XFI6.mjs} +6 -6
- package/dist/cli/{secrets-EV6IOJLN.mjs → secrets-QK5QP4YU.mjs} +5 -5
- package/dist/cli/{secrets-GGQRCGLA.js → secrets-Y2OI2P7O.js} +14 -14
- package/dist/cli/{sessions-VZJ23U7E.js → sessions-MLDROWXY.js} +5 -5
- package/dist/cli/{sessions-HL3Q22O5.mjs → sessions-VQKZHOQJ.mjs} +4 -4
- package/dist/cli/{settings-LJB5VZWM.js → settings-6WOSPHBC.js} +75 -75
- package/dist/cli/{settings-M5MSM7U6.mjs → settings-SPUINZYG.mjs} +8 -8
- package/dist/cli/{setup-ASOUDNYM.js → setup-E2UJV6PW.js} +41 -41
- package/dist/cli/{setup-ZURYYFBI.mjs → setup-ZE2SDMC4.mjs} +6 -6
- package/dist/cli/skills-J3QIHO5L.js +28 -0
- package/dist/cli/{skills-4SRVGVA6.mjs → skills-OJYRPY2N.mjs} +4 -4
- package/dist/cli/{tools-UNDZCH7R.js → tools-BNHRVKLA.js} +51 -51
- package/dist/cli/{tools-UEFB5OPX.mjs → tools-O6EIDEKW.mjs} +6 -6
- package/dist/cli/{update-WUIQXM5B.mjs → update-NWESWMYF.mjs} +6 -6
- package/dist/cli/update-TDOIF3C4.js +28 -0
- package/dist/cli/{workflow-FUXRNNWD.js → workflow-SAJAOPYE.js} +16 -16
- package/dist/cli/{workflow-BCXLF24Z.mjs → workflow-YJHXDD57.mjs} +6 -6
- package/dist/index.js +7 -7
- package/dist/index.mjs +4 -4
- package/dist/install-integrity.json +74 -74
- package/dist/plays/bundle-play-file.mjs +2 -2
- package/dist/release.d.mts +1 -1
- package/dist/release.d.ts +1 -1
- package/dist/release.js +2 -2
- package/dist/release.mjs +1 -1
- package/package.json +1 -1
- package/dist/cli/auth-ZJDK7HFJ.js +0 -31
- package/dist/cli/client-FVPE6PB4.js +0 -20
- package/dist/cli/git-IOUJDZDJ.js +0 -23
- package/dist/cli/search-TKLHBKKK.js +0 -18
- package/dist/cli/skills-KMGB73LN.js +0 -28
- package/dist/cli/update-4AZ7S666.js +0 -28
- /package/dist/cli/{chunk-GVUJJJ5G.mjs → chunk-6IKARAYD.mjs} +0 -0
- /package/dist/cli/{chunk-6A3TJUWC.js → chunk-S6R3OX7B.js} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkNJS3RHQOjs = require('./chunk-NJS3RHQO.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -12,7 +12,7 @@ var _chunkJ2PPXZE4js = require('./chunk-J2PPXZE4.js');
|
|
|
12
12
|
var _chunkNXDRDJ4Kjs = require('./chunk-NXDRDJ4K.js');
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkFDEU7UY7js = require('./chunk-FDEU7UY7.js');
|
|
16
16
|
require('./chunk-LA46MMTL.js');
|
|
17
17
|
|
|
18
18
|
|
|
@@ -22,14 +22,14 @@ require('./chunk-LA46MMTL.js');
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunkBBXO7APGjs = require('./chunk-BBXO7APG.js');
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
var
|
|
29
|
+
var _chunkDOCDA2YPjs = require('./chunk-DOCDA2YP.js');
|
|
30
30
|
require('./chunk-XNYIZMNQ.js');
|
|
31
|
-
require('./chunk-
|
|
32
|
-
require('./chunk-
|
|
31
|
+
require('./chunk-ZQSQCHG3.js');
|
|
32
|
+
require('./chunk-S6R3OX7B.js');
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
var _chunk7P5AA3SNjs = require('./chunk-7P5AA3SN.js');
|
|
@@ -76,10 +76,10 @@ var ToolCallRecovery = class _ToolCallRecovery {
|
|
|
76
76
|
}
|
|
77
77
|
};
|
|
78
78
|
function pendingToolExecutionPath(input) {
|
|
79
|
-
const config =
|
|
79
|
+
const config = _chunkDOCDA2YPjs.resolveConfig.call(void 0, );
|
|
80
80
|
const fingerprint = _crypto.createHash.call(void 0, "sha256").update(config.baseUrl).update("\0").update(_crypto.createHash.call(void 0, "sha256").update(config.apiKey).digest("hex")).update("\0").update(input.toolId).update("\0").update(_chunkNXDRDJ4Kjs.stableStringify.call(void 0, input.params)).update("\0").update(input.responseIntent).digest("hex");
|
|
81
81
|
return _path.join.call(void 0,
|
|
82
|
-
|
|
82
|
+
_chunkDOCDA2YPjs.sdkCliStateDirPath.call(void 0, config.baseUrl),
|
|
83
83
|
`pending-tool-execution-${fingerprint}.json`
|
|
84
84
|
);
|
|
85
85
|
}
|
|
@@ -511,12 +511,12 @@ function categoryEnumerationRender(summaries) {
|
|
|
511
511
|
};
|
|
512
512
|
}
|
|
513
513
|
async function listToolCategories(emitJson, compact) {
|
|
514
|
-
const client = new (0,
|
|
514
|
+
const client = new (0, _chunkFDEU7UY7js.DeeplineClient)();
|
|
515
515
|
const rawTools = await client.listTools({ compact });
|
|
516
516
|
const items = rawTools.map(toListedTool);
|
|
517
517
|
const summaries = aggregateCategorySummaries(rawTools);
|
|
518
518
|
const outputItems = compact ? items.map(compactTool) : items;
|
|
519
|
-
|
|
519
|
+
_chunkBBXO7APGjs.printCommandEnvelope.call(void 0,
|
|
520
520
|
{
|
|
521
521
|
tools: outputItems,
|
|
522
522
|
count: outputItems.length,
|
|
@@ -535,7 +535,7 @@ function unknownCategoryError(category, summaries, emitJson) {
|
|
|
535
535
|
const known = summaries.map((item) => item.name);
|
|
536
536
|
const message = `Unknown tool category "${category}". Run \`deepline tools list\` to browse categories.`;
|
|
537
537
|
if (emitJson) {
|
|
538
|
-
|
|
538
|
+
_chunkBBXO7APGjs.printJson.call(void 0, {
|
|
539
539
|
ok: false,
|
|
540
540
|
exitCode: 4,
|
|
541
541
|
code: "TOOL_CATEGORY_NOT_FOUND",
|
|
@@ -549,13 +549,13 @@ function unknownCategoryError(category, summaries, emitJson) {
|
|
|
549
549
|
const render = categoryEnumerationRender(summaries);
|
|
550
550
|
console.error(message);
|
|
551
551
|
console.error("");
|
|
552
|
-
console.error(
|
|
552
|
+
console.error(_chunkBBXO7APGjs.renderCommandEnvelopeText.call(void 0, { render }).trimEnd());
|
|
553
553
|
console.error("");
|
|
554
554
|
console.error(`Valid categories: ${known.join(", ")}`);
|
|
555
555
|
return 4;
|
|
556
556
|
}
|
|
557
557
|
async function listToolsInCategory(category, emitJson) {
|
|
558
|
-
const client = new (0,
|
|
558
|
+
const client = new (0, _chunkFDEU7UY7js.DeeplineClient)();
|
|
559
559
|
const rawTools = await client.listTools({
|
|
560
560
|
categories: category,
|
|
561
561
|
compact: false
|
|
@@ -594,7 +594,7 @@ async function listToolsInCategory(category, emitJson) {
|
|
|
594
594
|
}
|
|
595
595
|
]
|
|
596
596
|
};
|
|
597
|
-
|
|
597
|
+
_chunkBBXO7APGjs.printCommandEnvelope.call(void 0,
|
|
598
598
|
{
|
|
599
599
|
category,
|
|
600
600
|
total: rows.length,
|
|
@@ -607,7 +607,7 @@ async function listToolsInCategory(category, emitJson) {
|
|
|
607
607
|
return 0;
|
|
608
608
|
}
|
|
609
609
|
async function listToolsForCategoryFilter(requestedCategories, emitJson, compact) {
|
|
610
|
-
const client = new (0,
|
|
610
|
+
const client = new (0, _chunkFDEU7UY7js.DeeplineClient)();
|
|
611
611
|
const items = (await client.listTools({
|
|
612
612
|
categories: requestedCategories.join(","),
|
|
613
613
|
compact
|
|
@@ -636,7 +636,7 @@ async function listToolsForCategoryFilter(requestedCategories, emitJson, compact
|
|
|
636
636
|
]
|
|
637
637
|
};
|
|
638
638
|
const outputItems = compact ? items.map(compactTool) : items;
|
|
639
|
-
|
|
639
|
+
_chunkBBXO7APGjs.printCommandEnvelope.call(void 0,
|
|
640
640
|
{
|
|
641
641
|
tools: outputItems,
|
|
642
642
|
count: outputItems.length,
|
|
@@ -655,13 +655,13 @@ async function listTools(category, options = {}) {
|
|
|
655
655
|
const positional = _nullishCoalesce(_optionalChain([category, 'optionalAccess', _9 => _9.trim, 'call', _10 => _10()]), () => ( ""));
|
|
656
656
|
const flagCategories = (_nullishCoalesce(options.categories, () => ( ""))).split(",").map((item) => item.trim()).filter(Boolean);
|
|
657
657
|
const compact = options.compact !== false;
|
|
658
|
-
const emitJson = options.json === true ||
|
|
658
|
+
const emitJson = options.json === true || _chunkBBXO7APGjs.shouldEmitJson.call(void 0, );
|
|
659
659
|
if (positional && flagCategories.length > 0) {
|
|
660
660
|
const flagIsSameSingle = flagCategories.length === 1 && flagCategories[0] === positional;
|
|
661
661
|
if (!flagIsSameSingle) {
|
|
662
662
|
const message = `Category "${positional}" and --categories ${flagCategories.join(",")} disagree. Pass one: deepline tools list ${positional}`;
|
|
663
663
|
if (emitJson) {
|
|
664
|
-
|
|
664
|
+
_chunkBBXO7APGjs.printJson.call(void 0, {
|
|
665
665
|
ok: false,
|
|
666
666
|
exitCode: 2,
|
|
667
667
|
code: "TOOL_LIST_CATEGORY_CONFLICT",
|
|
@@ -688,7 +688,7 @@ async function grepTools(queryInput, options = {}) {
|
|
|
688
688
|
console.error("Usage: deepline tools grep <query> [--json]");
|
|
689
689
|
return 1;
|
|
690
690
|
}
|
|
691
|
-
const client = new (0,
|
|
691
|
+
const client = new (0, _chunkFDEU7UY7js.DeeplineClient)();
|
|
692
692
|
const requestedCategories = options.categories ? options.categories.split(",").map((item) => item.trim()).filter(Boolean) : [];
|
|
693
693
|
const mode = _nullishCoalesce(options.mode, () => ( "all"));
|
|
694
694
|
const jsonOutput = options.json === true;
|
|
@@ -731,7 +731,7 @@ async function grepTools(queryInput, options = {}) {
|
|
|
731
731
|
query,
|
|
732
732
|
mode
|
|
733
733
|
}) : null;
|
|
734
|
-
|
|
734
|
+
_chunkBBXO7APGjs.printCommandEnvelope.call(void 0,
|
|
735
735
|
{
|
|
736
736
|
tools: outputTools,
|
|
737
737
|
count: outputTools.length,
|
|
@@ -749,7 +749,7 @@ async function grepTools(queryInput, options = {}) {
|
|
|
749
749
|
} : {},
|
|
750
750
|
commandTemplates: TOOL_COMMAND_TEMPLATES
|
|
751
751
|
},
|
|
752
|
-
{ json: options.json ||
|
|
752
|
+
{ json: options.json || _chunkBBXO7APGjs.shouldEmitJson.call(void 0, ) }
|
|
753
753
|
);
|
|
754
754
|
return 0;
|
|
755
755
|
}
|
|
@@ -893,7 +893,7 @@ Examples:
|
|
|
893
893
|
json: Boolean(options.json)
|
|
894
894
|
});
|
|
895
895
|
});
|
|
896
|
-
|
|
896
|
+
_chunkNJS3RHQOjs.registerDeprecatedSearchCommand.call(void 0, tools, () => ["tools", "monitors"]);
|
|
897
897
|
tools.command("grep <query>").description(
|
|
898
898
|
"Literal grep over tool ids, descriptions, categories, and input fields."
|
|
899
899
|
).addHelpText(
|
|
@@ -1060,7 +1060,7 @@ async function getTool(toolId, options = {}) {
|
|
|
1060
1060
|
console.error("Usage: deepline tools describe <toolId> [--json]");
|
|
1061
1061
|
return 1;
|
|
1062
1062
|
}
|
|
1063
|
-
const client = new (0,
|
|
1063
|
+
const client = new (0, _chunkFDEU7UY7js.DeeplineClient)();
|
|
1064
1064
|
let tool;
|
|
1065
1065
|
try {
|
|
1066
1066
|
tool = await client.getTool(toolId);
|
|
@@ -1114,7 +1114,7 @@ async function getTool(toolId, options = {}) {
|
|
|
1114
1114
|
const lines = toolPricingOnlyLines(tool, toolId);
|
|
1115
1115
|
if (inferenceQuote)
|
|
1116
1116
|
lines.push(...inferenceQuoteSummaryLines(inferenceQuote));
|
|
1117
|
-
|
|
1117
|
+
_chunkBBXO7APGjs.printCommandEnvelope.call(void 0,
|
|
1118
1118
|
{
|
|
1119
1119
|
toolId: String(tool.toolId || toolId),
|
|
1120
1120
|
cost: Capability.fromCatalogEntry(tool).describe().customerCost(),
|
|
@@ -1132,7 +1132,7 @@ async function getTool(toolId, options = {}) {
|
|
|
1132
1132
|
}
|
|
1133
1133
|
if ((options.schemaOnly || options.examplesOnly || options.gettersOnly) && !isMonitorTypeTool(tool) && !isPlayLikeTool(tool) && (options.json || options.contractJson)) {
|
|
1134
1134
|
const contract = toolContractJsonForDescribe(tool, toolId);
|
|
1135
|
-
|
|
1135
|
+
_chunkBBXO7APGjs.printCompactJson.call(void 0, {
|
|
1136
1136
|
toolId: contract.toolId,
|
|
1137
1137
|
...options.schemaOnly ? {
|
|
1138
1138
|
inputSchema: contract.inputSchema,
|
|
@@ -1155,7 +1155,7 @@ async function getTool(toolId, options = {}) {
|
|
|
1155
1155
|
return 0;
|
|
1156
1156
|
}
|
|
1157
1157
|
if (options.contractJson) {
|
|
1158
|
-
|
|
1158
|
+
_chunkBBXO7APGjs.printCompactJson.call(void 0, {
|
|
1159
1159
|
...toolContractJsonForDescribe(tool, toolId),
|
|
1160
1160
|
...modelDescription ? { modelOptions: modelDescription } : {},
|
|
1161
1161
|
...inferenceQuote ? { inferenceQuote } : {}
|
|
@@ -1164,7 +1164,7 @@ async function getTool(toolId, options = {}) {
|
|
|
1164
1164
|
}
|
|
1165
1165
|
const emitJson = options.json === true;
|
|
1166
1166
|
if (emitJson) {
|
|
1167
|
-
|
|
1167
|
+
_chunkBBXO7APGjs.printCompactJson.call(void 0, {
|
|
1168
1168
|
...toolMetadataJsonForDescribe(tool, toolId),
|
|
1169
1169
|
...modelDescription ? { modelOptions: modelDescription } : {},
|
|
1170
1170
|
...inferenceQuote ? { inferenceQuote } : {}
|
|
@@ -1195,8 +1195,8 @@ ${formatModelDescription(modelDescription)}`);
|
|
|
1195
1195
|
if (inferenceQuote) printInferenceQuoteSummary(inferenceQuote);
|
|
1196
1196
|
return 0;
|
|
1197
1197
|
}
|
|
1198
|
-
if (
|
|
1199
|
-
|
|
1198
|
+
if (_chunkBBXO7APGjs.shouldEmitJson.call(void 0, )) {
|
|
1199
|
+
_chunkBBXO7APGjs.printCompactJson.call(void 0, {
|
|
1200
1200
|
...toolContractJsonForDescribe(tool, toolId),
|
|
1201
1201
|
...modelDescription ? { modelOptions: modelDescription } : {},
|
|
1202
1202
|
...inferenceQuote ? { inferenceQuote } : {}
|
|
@@ -2750,14 +2750,14 @@ async function executeTool(args) {
|
|
|
2750
2750
|
try {
|
|
2751
2751
|
parsed = parseExecuteOptions(args);
|
|
2752
2752
|
} catch (error) {
|
|
2753
|
-
if (
|
|
2754
|
-
|
|
2753
|
+
if (_chunkBBXO7APGjs.argsWantJson.call(void 0, args)) {
|
|
2754
|
+
_chunkBBXO7APGjs.printJsonError.call(void 0, error);
|
|
2755
2755
|
} else {
|
|
2756
2756
|
console.error(error instanceof Error ? error.message : String(error));
|
|
2757
2757
|
}
|
|
2758
2758
|
return 1;
|
|
2759
2759
|
}
|
|
2760
|
-
const client = new (0,
|
|
2760
|
+
const client = new (0, _chunkFDEU7UY7js.DeeplineClient)();
|
|
2761
2761
|
let metadata;
|
|
2762
2762
|
try {
|
|
2763
2763
|
metadata = await client.getTool(parsed.toolId);
|
|
@@ -2765,8 +2765,8 @@ async function executeTool(args) {
|
|
|
2765
2765
|
if (isMissingToolMetadataError(error)) {
|
|
2766
2766
|
const play = await findPlayForToolId(client, parsed.toolId);
|
|
2767
2767
|
if (play) {
|
|
2768
|
-
if (
|
|
2769
|
-
|
|
2768
|
+
if (_chunkBBXO7APGjs.argsWantJson.call(void 0, args)) {
|
|
2769
|
+
_chunkBBXO7APGjs.printJsonError.call(void 0,
|
|
2770
2770
|
new Error(playAliasToolErrorMessage(parsed.toolId, play))
|
|
2771
2771
|
);
|
|
2772
2772
|
} else {
|
|
@@ -2778,8 +2778,8 @@ async function executeTool(args) {
|
|
|
2778
2778
|
throw error;
|
|
2779
2779
|
}
|
|
2780
2780
|
if (isPlayLikeTool(metadata)) {
|
|
2781
|
-
if (
|
|
2782
|
-
|
|
2781
|
+
if (_chunkBBXO7APGjs.argsWantJson.call(void 0, args)) {
|
|
2782
|
+
_chunkBBXO7APGjs.printJsonError.call(void 0,
|
|
2783
2783
|
new Error(
|
|
2784
2784
|
playLikeToolExecuteErrorMessage(
|
|
2785
2785
|
parsed.toolId,
|
|
@@ -2813,7 +2813,7 @@ async function executeTool(args) {
|
|
|
2813
2813
|
responseIntent,
|
|
2814
2814
|
...idempotencyKey ? { idempotencyKey } : {},
|
|
2815
2815
|
...parsed.recoveryTimeoutMs !== void 0 ? { recoveryTimeoutMs: parsed.recoveryTimeoutMs } : {},
|
|
2816
|
-
searchRef:
|
|
2816
|
+
searchRef: _chunkNJS3RHQOjs.recentSearchRef.call(void 0, )
|
|
2817
2817
|
}).catch((error) => {
|
|
2818
2818
|
const guidanceLines = toolGuidanceLines(metadata.guidance);
|
|
2819
2819
|
if (guidanceLines.length > 0) {
|
|
@@ -2842,8 +2842,8 @@ async function executeTool(args) {
|
|
|
2842
2842
|
});
|
|
2843
2843
|
const executeExitCode = toolExecuteExitCode(baseEnvelope);
|
|
2844
2844
|
const delivered = (() => {
|
|
2845
|
-
if (!parsed.outPath && (parsed.outputFormat === "json" || parsed.outputFormat === "auto" &&
|
|
2846
|
-
|
|
2845
|
+
if (!parsed.outPath && (parsed.outputFormat === "json" || parsed.outputFormat === "auto" && _chunkBBXO7APGjs.shouldEmitJson.call(void 0, ))) {
|
|
2846
|
+
_chunkBBXO7APGjs.printCommandEnvelope.call(void 0, baseEnvelope, { json: true });
|
|
2847
2847
|
return true;
|
|
2848
2848
|
}
|
|
2849
2849
|
if (parsed.outputFormat === "json_file") {
|
|
@@ -2851,7 +2851,7 @@ async function executeTool(args) {
|
|
|
2851
2851
|
rawResponse,
|
|
2852
2852
|
`payload_${parsed.toolId}`
|
|
2853
2853
|
);
|
|
2854
|
-
|
|
2854
|
+
_chunkBBXO7APGjs.printCommandEnvelope.call(void 0,
|
|
2855
2855
|
{
|
|
2856
2856
|
...baseEnvelope,
|
|
2857
2857
|
local: {
|
|
@@ -2868,8 +2868,8 @@ async function executeTool(args) {
|
|
|
2868
2868
|
const error = new Error(
|
|
2869
2869
|
`${parsed.toolId} did not expose row-shaped output to write as CSV. Re-run with --json to inspect the raw tool response.`
|
|
2870
2870
|
);
|
|
2871
|
-
if (
|
|
2872
|
-
|
|
2871
|
+
if (_chunkBBXO7APGjs.argsWantJson.call(void 0, args)) {
|
|
2872
|
+
_chunkBBXO7APGjs.printJsonError.call(void 0, error);
|
|
2873
2873
|
} else {
|
|
2874
2874
|
console.error(error.message);
|
|
2875
2875
|
}
|
|
@@ -2880,18 +2880,18 @@ async function executeTool(args) {
|
|
|
2880
2880
|
rawResponse,
|
|
2881
2881
|
`payload_${parsed.toolId}`
|
|
2882
2882
|
);
|
|
2883
|
-
|
|
2883
|
+
_chunkBBXO7APGjs.printCommandEnvelope.call(void 0,
|
|
2884
2884
|
{
|
|
2885
2885
|
...baseEnvelope,
|
|
2886
2886
|
local: {
|
|
2887
2887
|
payload_file: jsonPath
|
|
2888
2888
|
}
|
|
2889
2889
|
},
|
|
2890
|
-
{ json: parsed.outputFormat === "csv_file" ||
|
|
2890
|
+
{ json: parsed.outputFormat === "csv_file" || _chunkBBXO7APGjs.shouldEmitJson.call(void 0, ) }
|
|
2891
2891
|
);
|
|
2892
2892
|
return true;
|
|
2893
2893
|
}
|
|
2894
|
-
|
|
2894
|
+
_chunkBBXO7APGjs.printCommandEnvelope.call(void 0, baseEnvelope, { json: false });
|
|
2895
2895
|
return true;
|
|
2896
2896
|
}
|
|
2897
2897
|
const rowOutput = _chunkNXDRDJ4Kjs.projectRowOutput.call(void 0, listConversion);
|
|
@@ -2913,19 +2913,19 @@ async function executeTool(args) {
|
|
|
2913
2913
|
seededScript
|
|
2914
2914
|
});
|
|
2915
2915
|
if (parsed.outputFormat === "csv_file") {
|
|
2916
|
-
|
|
2916
|
+
_chunkBBXO7APGjs.printCommandEnvelope.call(void 0, materializedEnvelope, { json: true });
|
|
2917
2917
|
return true;
|
|
2918
2918
|
}
|
|
2919
2919
|
if (parsed.outPath) {
|
|
2920
|
-
|
|
2921
|
-
json:
|
|
2920
|
+
_chunkBBXO7APGjs.printCommandEnvelope.call(void 0, materializedEnvelope, {
|
|
2921
|
+
json: _chunkBBXO7APGjs.argsWantJson.call(void 0, args) || _chunkBBXO7APGjs.shouldEmitJson.call(void 0, ),
|
|
2922
2922
|
text: `Wrote ${csv.rowCount} row(s) to ${csv.path}
|
|
2923
2923
|
`
|
|
2924
2924
|
});
|
|
2925
2925
|
return true;
|
|
2926
2926
|
}
|
|
2927
2927
|
if (parsed.noPreview) {
|
|
2928
|
-
|
|
2928
|
+
_chunkBBXO7APGjs.printCommandEnvelope.call(void 0,
|
|
2929
2929
|
{
|
|
2930
2930
|
...materializedEnvelope,
|
|
2931
2931
|
local: {
|
|
@@ -2933,12 +2933,12 @@ async function executeTool(args) {
|
|
|
2933
2933
|
output_path: csv.path
|
|
2934
2934
|
}
|
|
2935
2935
|
},
|
|
2936
|
-
{ json:
|
|
2936
|
+
{ json: _chunkBBXO7APGjs.shouldEmitJson.call(void 0, ), text: `${csv.path}
|
|
2937
2937
|
` }
|
|
2938
2938
|
);
|
|
2939
2939
|
return true;
|
|
2940
2940
|
}
|
|
2941
|
-
|
|
2941
|
+
_chunkBBXO7APGjs.printCommandEnvelope.call(void 0, materializedEnvelope, { json: false });
|
|
2942
2942
|
return true;
|
|
2943
2943
|
})();
|
|
2944
2944
|
if (delivered) await recovery.acknowledgeDelivery();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
recentSearchRef,
|
|
3
3
|
registerDeprecatedSearchCommand
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-NW7I3LDU.mjs";
|
|
5
5
|
import {
|
|
6
6
|
extractSummaryFields,
|
|
7
7
|
projectRowOutput,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk-MIMASXO4.mjs";
|
|
13
13
|
import {
|
|
14
14
|
DeeplineClient
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-JZWC4ES6.mjs";
|
|
16
16
|
import "./chunk-CBVIJSHF.mjs";
|
|
17
17
|
import {
|
|
18
18
|
argsWantJson,
|
|
@@ -22,14 +22,14 @@ import {
|
|
|
22
22
|
printJsonError,
|
|
23
23
|
renderCommandEnvelopeText,
|
|
24
24
|
shouldEmitJson
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-35SCWK4Y.mjs";
|
|
26
26
|
import {
|
|
27
27
|
resolveConfig,
|
|
28
28
|
sdkCliStateDirPath
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-7QV545D7.mjs";
|
|
30
30
|
import "./chunk-DLIRSHV6.mjs";
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-7OXXCRGZ.mjs";
|
|
32
|
+
import "./chunk-6IKARAYD.mjs";
|
|
33
33
|
import {
|
|
34
34
|
DeeplineError
|
|
35
35
|
} from "./chunk-NXGCO4JB.mjs";
|
|
@@ -6,14 +6,14 @@ import {
|
|
|
6
6
|
runAutomaticUpdatePlan,
|
|
7
7
|
runUpdateCommand,
|
|
8
8
|
runUpdatePlan
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-JKY2QANB.mjs";
|
|
10
|
+
import "./chunk-7HYH533G.mjs";
|
|
11
|
+
import "./chunk-AOUGAM72.mjs";
|
|
12
12
|
import "./chunk-GAMFK2ZP.mjs";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-35SCWK4Y.mjs";
|
|
14
|
+
import "./chunk-7QV545D7.mjs";
|
|
15
15
|
import "./chunk-DLIRSHV6.mjs";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-7OXXCRGZ.mjs";
|
|
17
17
|
import "./chunk-NXGCO4JB.mjs";
|
|
18
18
|
import "./chunk-WZYKRD7T.mjs";
|
|
19
19
|
import "./chunk-KRD6H754.mjs";
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
var _chunkINOSSTSGjs = require('./chunk-INOSSTSG.js');
|
|
10
|
+
require('./chunk-NC4JXVVS.js');
|
|
11
|
+
require('./chunk-DNBJRKVE.js');
|
|
12
|
+
require('./chunk-WJYPBHTE.js');
|
|
13
|
+
require('./chunk-BBXO7APG.js');
|
|
14
|
+
require('./chunk-DOCDA2YP.js');
|
|
15
|
+
require('./chunk-XNYIZMNQ.js');
|
|
16
|
+
require('./chunk-ZQSQCHG3.js');
|
|
17
|
+
require('./chunk-7P5AA3SN.js');
|
|
18
|
+
require('./chunk-OG64RBAC.js');
|
|
19
|
+
require('./chunk-COGTRVWW.js');
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
exports.canAutomaticallyApplyUpdatePlan = _chunkINOSSTSGjs.canAutomaticallyApplyUpdatePlan; exports.publishedVersionSupportsPin = _chunkINOSSTSGjs.publishedVersionSupportsPin; exports.registerUpdateCommand = _chunkINOSSTSGjs.registerUpdateCommand; exports.resolveUpdatePlan = _chunkINOSSTSGjs.resolveUpdatePlan; exports.runAutomaticUpdatePlan = _chunkINOSSTSGjs.runAutomaticUpdatePlan; exports.runUpdateCommand = _chunkINOSSTSGjs.runUpdateCommand; exports.runUpdatePlan = _chunkINOSSTSGjs.runUpdatePlan;
|
|
@@ -3,21 +3,21 @@
|
|
|
3
3
|
var _chunk3XX5TEA4js = require('./chunk-3XX5TEA4.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkFDEU7UY7js = require('./chunk-FDEU7UY7.js');
|
|
7
7
|
require('./chunk-LA46MMTL.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
14
|
-
require('./chunk-
|
|
13
|
+
var _chunkBBXO7APGjs = require('./chunk-BBXO7APG.js');
|
|
14
|
+
require('./chunk-DOCDA2YP.js');
|
|
15
15
|
require('./chunk-XNYIZMNQ.js');
|
|
16
|
-
require('./chunk-
|
|
16
|
+
require('./chunk-ZQSQCHG3.js');
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
var _chunk3KC45UVFjs = require('./chunk-3KC45UVF.js');
|
|
20
|
-
require('./chunk-
|
|
20
|
+
require('./chunk-S6R3OX7B.js');
|
|
21
21
|
require('./chunk-7P5AA3SN.js');
|
|
22
22
|
require('./chunk-OG64RBAC.js');
|
|
23
23
|
require('./chunk-COGTRVWW.js');
|
|
@@ -1600,18 +1600,18 @@ function noticeToStderr(command) {
|
|
|
1600
1600
|
);
|
|
1601
1601
|
}
|
|
1602
1602
|
function emitPassThrough(command, payload, options) {
|
|
1603
|
-
const json =
|
|
1603
|
+
const json = _chunkBBXO7APGjs.shouldEmitJson.call(void 0, options.json);
|
|
1604
1604
|
const deprecation = migrationDeprecation(command);
|
|
1605
1605
|
if (json) {
|
|
1606
1606
|
const enriched = payload && typeof payload === "object" && !Array.isArray(payload) ? { ...payload, deprecation } : { result: payload, deprecation };
|
|
1607
|
-
|
|
1607
|
+
_chunkBBXO7APGjs.printJson.call(void 0, enriched);
|
|
1608
1608
|
return;
|
|
1609
1609
|
}
|
|
1610
|
-
|
|
1610
|
+
_chunkBBXO7APGjs.printJson.call(void 0, payload);
|
|
1611
1611
|
noticeToStderr(command);
|
|
1612
1612
|
}
|
|
1613
1613
|
function client() {
|
|
1614
|
-
return new (0,
|
|
1614
|
+
return new (0, _chunkFDEU7UY7js.DeeplineClient)();
|
|
1615
1615
|
}
|
|
1616
1616
|
function clientWithTimeout(timeoutSeconds) {
|
|
1617
1617
|
if (!timeoutSeconds) return client();
|
|
@@ -1619,7 +1619,7 @@ function clientWithTimeout(timeoutSeconds) {
|
|
|
1619
1619
|
if (!Number.isFinite(seconds) || seconds <= 0) {
|
|
1620
1620
|
throw new Error("--timeout must be a positive number of seconds.");
|
|
1621
1621
|
}
|
|
1622
|
-
return new (0,
|
|
1622
|
+
return new (0, _chunkFDEU7UY7js.DeeplineClient)({ timeout: seconds * 1e3 });
|
|
1623
1623
|
}
|
|
1624
1624
|
function readStatus(payload) {
|
|
1625
1625
|
if (!payload || typeof payload !== "object") return null;
|
|
@@ -1673,7 +1673,7 @@ async function transformOne(api, workflowId, outDir, publish) {
|
|
|
1673
1673
|
await _promises.writeFile.call(void 0, file, compiled.sourceCode, "utf8");
|
|
1674
1674
|
let published = false;
|
|
1675
1675
|
if (publish) {
|
|
1676
|
-
const { handlePlayPublish } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-
|
|
1676
|
+
const { handlePlayPublish } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-GJC4AIAX.js")));
|
|
1677
1677
|
const code = await handlePlayPublish([file]);
|
|
1678
1678
|
if (code !== 0) {
|
|
1679
1679
|
return {
|
|
@@ -1748,10 +1748,10 @@ async function handleTransform(id, options) {
|
|
|
1748
1748
|
for (const workflowId of ids) {
|
|
1749
1749
|
outcomes.push(await transformOne(api, workflowId, outDir, publish));
|
|
1750
1750
|
}
|
|
1751
|
-
|
|
1751
|
+
_chunkBBXO7APGjs.printCommandEnvelope.call(void 0,
|
|
1752
1752
|
{ outcomes, deprecation: null },
|
|
1753
1753
|
{
|
|
1754
|
-
json:
|
|
1754
|
+
json: _chunkBBXO7APGjs.shouldEmitJson.call(void 0, options.json),
|
|
1755
1755
|
text: renderTransformReport(outcomes)
|
|
1756
1756
|
}
|
|
1757
1757
|
);
|
|
@@ -1772,11 +1772,11 @@ async function handleDelete(id, options) {
|
|
|
1772
1772
|
}
|
|
1773
1773
|
async function handleDisable(id, options) {
|
|
1774
1774
|
const result = await client().disableWorkflow(id);
|
|
1775
|
-
|
|
1775
|
+
_chunkBBXO7APGjs.printJson.call(void 0, result);
|
|
1776
1776
|
}
|
|
1777
1777
|
async function handleEnable(id, options) {
|
|
1778
1778
|
const result = await client().enableWorkflow(id);
|
|
1779
|
-
|
|
1779
|
+
_chunkBBXO7APGjs.printJson.call(void 0, result);
|
|
1780
1780
|
}
|
|
1781
1781
|
async function handleApply(options) {
|
|
1782
1782
|
const body = await readJsonOption(options.payload, options.file);
|
|
@@ -1841,7 +1841,7 @@ async function handleTail(id, runId, options) {
|
|
|
1841
1841
|
if (status && TERMINAL_RUN_STATUSES.has(status) || Date.now() > deadline) {
|
|
1842
1842
|
return;
|
|
1843
1843
|
}
|
|
1844
|
-
await
|
|
1844
|
+
await _chunkBBXO7APGjs.sleep.call(void 0, intervalMs);
|
|
1845
1845
|
}
|
|
1846
1846
|
}
|
|
1847
1847
|
function registerWorkflowCommands(program) {
|
|
@@ -3,21 +3,21 @@ import {
|
|
|
3
3
|
} from "./chunk-ITOFSXIU.mjs";
|
|
4
4
|
import {
|
|
5
5
|
DeeplineClient
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-JZWC4ES6.mjs";
|
|
7
7
|
import "./chunk-CBVIJSHF.mjs";
|
|
8
8
|
import {
|
|
9
9
|
printCommandEnvelope,
|
|
10
10
|
printJson,
|
|
11
11
|
shouldEmitJson,
|
|
12
12
|
sleep
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-35SCWK4Y.mjs";
|
|
14
|
+
import "./chunk-7QV545D7.mjs";
|
|
15
15
|
import "./chunk-DLIRSHV6.mjs";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-7OXXCRGZ.mjs";
|
|
17
17
|
import {
|
|
18
18
|
collectInlineSecretFindings
|
|
19
19
|
} from "./chunk-H7HIDGZ7.mjs";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-6IKARAYD.mjs";
|
|
21
21
|
import "./chunk-NXGCO4JB.mjs";
|
|
22
22
|
import "./chunk-WZYKRD7T.mjs";
|
|
23
23
|
import "./chunk-KRD6H754.mjs";
|
|
@@ -1673,7 +1673,7 @@ async function transformOne(api, workflowId, outDir, publish) {
|
|
|
1673
1673
|
await writeFile(file, compiled.sourceCode, "utf8");
|
|
1674
1674
|
let published = false;
|
|
1675
1675
|
if (publish) {
|
|
1676
|
-
const { handlePlayPublish } = await import("./play-
|
|
1676
|
+
const { handlePlayPublish } = await import("./play-ZZ4AQLL5.mjs");
|
|
1677
1677
|
const code = await handlePlayPublish([file]);
|
|
1678
1678
|
if (code !== 0) {
|
|
1679
1679
|
return {
|
package/dist/index.js
CHANGED
|
@@ -31,7 +31,7 @@ var _chunkNXDRDJ4Kjs = require('./cli/chunk-NXDRDJ4K.js');
|
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
|
|
34
|
-
var
|
|
34
|
+
var _chunkFDEU7UY7js = require('./cli/chunk-FDEU7UY7.js');
|
|
35
35
|
require('./cli/chunk-LA46MMTL.js');
|
|
36
36
|
|
|
37
37
|
|
|
@@ -61,13 +61,13 @@ var _chunkWOHBA5PVjs = require('./cli/chunk-WOHBA5PV.js');
|
|
|
61
61
|
|
|
62
62
|
|
|
63
63
|
|
|
64
|
-
var
|
|
64
|
+
var _chunkDOCDA2YPjs = require('./cli/chunk-DOCDA2YP.js');
|
|
65
65
|
require('./cli/chunk-XNYIZMNQ.js');
|
|
66
|
-
require('./cli/chunk-
|
|
66
|
+
require('./cli/chunk-ZQSQCHG3.js');
|
|
67
67
|
|
|
68
68
|
|
|
69
69
|
var _chunkZDO3TO3Mjs = require('./cli/chunk-ZDO3TO3M.js');
|
|
70
|
-
require('./cli/chunk-
|
|
70
|
+
require('./cli/chunk-S6R3OX7B.js');
|
|
71
71
|
|
|
72
72
|
|
|
73
73
|
|
|
@@ -1605,7 +1605,7 @@ var DeeplineContext = class {
|
|
|
1605
1605
|
* @param options - Optional SDK client configuration.
|
|
1606
1606
|
*/
|
|
1607
1607
|
constructor(options) {
|
|
1608
|
-
this.client = new (0,
|
|
1608
|
+
this.client = new (0, _chunkFDEU7UY7js.DeeplineClient)(options);
|
|
1609
1609
|
}
|
|
1610
1610
|
/**
|
|
1611
1611
|
* Tool operations namespace.
|
|
@@ -2082,7 +2082,7 @@ function definePlay(nameOrConfig, maybeFn, maybeBindings) {
|
|
|
2082
2082
|
writable: false
|
|
2083
2083
|
});
|
|
2084
2084
|
const handle = createNamedPlayHandle(
|
|
2085
|
-
() => new (0,
|
|
2085
|
+
() => new (0, _chunkFDEU7UY7js.DeeplineClient)(),
|
|
2086
2086
|
name
|
|
2087
2087
|
);
|
|
2088
2088
|
for (const key of [
|
|
@@ -2234,4 +2234,4 @@ function defineMonitor(definition) {
|
|
|
2234
2234
|
|
|
2235
2235
|
|
|
2236
2236
|
|
|
2237
|
-
exports.AuthError =
|
|
2237
|
+
exports.AuthError = _chunkDOCDA2YPjs.AuthError; exports.ConfigError = _chunkDOCDA2YPjs.ConfigError; exports.CtxFetchHttpError = _chunkZDO3TO3Mjs.CtxFetchHttpError; exports.DEEPLINE_EXTRACTOR_TARGETS = DEEPLINE_EXTRACTOR_TARGETS; exports.DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS = DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS; exports.DEEPLINE_TOOL_CATEGORIES = _chunkSDK3ZA2Cjs.DEEPLINE_TOOL_CATEGORIES; exports.Deepline = Deepline; exports.DeeplineClient = _chunkFDEU7UY7js.DeeplineClient; exports.DeeplineContext = DeeplineContext; exports.DeeplineError = _chunk7P5AA3SNjs.DeeplineError; exports.JOB_CHANGE_STATUS_VALUES = JOB_CHANGE_STATUS_VALUES; exports.MONITOR_FLEET_AUTHORING_CONTRACT_CHANGELOG = _chunkJ5NA2TTXjs.MONITOR_FLEET_AUTHORING_CONTRACT_CHANGELOG; exports.MONITOR_FLEET_AUTHORING_CONTRACT_EDITION = _chunkJ5NA2TTXjs.MONITOR_FLEET_AUTHORING_CONTRACT_EDITION; exports.MONITOR_FLEET_DOCUMENTATION = _chunkJ5NA2TTXjs.MONITOR_FLEET_DOCUMENTATION; exports.MONITOR_FLEET_FRONTIER_MAX_ROWS = _chunkJ5NA2TTXjs.MONITOR_FLEET_FRONTIER_MAX_ROWS; exports.MONITOR_FLEET_MAX_MEMBERS = _chunkJ5NA2TTXjs.MONITOR_FLEET_MAX_MEMBERS; exports.MONITOR_JOB_PHASES = _chunkFDEU7UY7js.MONITOR_JOB_PHASES; exports.MONITOR_JOB_RECONCILIATION_STATES = _chunkFDEU7UY7js.MONITOR_JOB_RECONCILIATION_STATES; exports.MONITOR_JOB_STATES = _chunkFDEU7UY7js.MONITOR_JOB_STATES; exports.PHONE_STATUS_VALUES = PHONE_STATUS_VALUES; exports.PLAY_BOOTSTRAP_COMPANY_FIELDS = _chunkSDK3ZA2Cjs.PLAY_BOOTSTRAP_COMPANY_FIELDS; exports.PLAY_BOOTSTRAP_COMPANY_PROVIDER_CATEGORY = _chunkSDK3ZA2Cjs.PLAY_BOOTSTRAP_COMPANY_PROVIDER_CATEGORY; exports.PLAY_BOOTSTRAP_CONTACT_FIELDS = _chunkSDK3ZA2Cjs.PLAY_BOOTSTRAP_CONTACT_FIELDS; exports.PLAY_BOOTSTRAP_FINDER_KINDS = _chunkSDK3ZA2Cjs.PLAY_BOOTSTRAP_FINDER_KINDS; exports.PLAY_BOOTSTRAP_OUTPUT_FIELD_BY_FINDER = _chunkSDK3ZA2Cjs.PLAY_BOOTSTRAP_OUTPUT_FIELD_BY_FINDER; exports.PLAY_BOOTSTRAP_PEOPLE_PROVIDER_CATEGORY = _chunkSDK3ZA2Cjs.PLAY_BOOTSTRAP_PEOPLE_PROVIDER_CATEGORY; exports.PLAY_BOOTSTRAP_PROVIDER_CATEGORY_BY_FINDER = _chunkSDK3ZA2Cjs.PLAY_BOOTSTRAP_PROVIDER_CATEGORY_BY_FINDER; exports.PLAY_BOOTSTRAP_SOURCE_KINDS = _chunkSDK3ZA2Cjs.PLAY_BOOTSTRAP_SOURCE_KINDS; exports.PLAY_BOOTSTRAP_STAGE_KINDS = _chunkSDK3ZA2Cjs.PLAY_BOOTSTRAP_STAGE_KINDS; exports.PLAY_BOOTSTRAP_TEMPLATES = _chunkSDK3ZA2Cjs.PLAY_BOOTSTRAP_TEMPLATES; exports.PROD_URL = _chunkDOCDA2YPjs.PROD_URL; exports.ProviderTransientError = _chunk7P5AA3SNjs.ProviderTransientError; exports.RateLimitError = _chunkDOCDA2YPjs.RateLimitError; exports.RunObserveTransportUnavailableError = RunObserveTransportUnavailableError; exports.SDK_API_CONTRACT = _chunkDOCDA2YPjs.SDK_API_CONTRACT; exports.SDK_VERSION = _chunkDOCDA2YPjs.SDK_VERSION; exports.ToolExecutionError = _chunk7P5AA3SNjs.ToolExecutionError; exports.ToolRateLimitError = _chunkDOCDA2YPjs.ToolRateLimitError; exports.admitMonitorFleetAuthoringContract = _chunkJ5NA2TTXjs.admitMonitorFleetAuthoringContract; exports.defineInput = defineInput; exports.defineMonitor = defineMonitor; exports.defineMonitorFleet = _chunkJ5NA2TTXjs.defineMonitorFleet; exports.definePlay = definePlay; exports.defineWorkflow = defineWorkflow; exports.extractSummaryFields = _chunkNXDRDJ4Kjs.extractSummaryFields; exports.fleetColumn = _chunkJ5NA2TTXjs.fleetColumn; exports.fleetKey = _chunkJ5NA2TTXjs.fleetKey; exports.formatPlayBootstrapFinderKinds = _chunkSDK3ZA2Cjs.formatPlayBootstrapFinderKinds; exports.formatPlayBootstrapFinderKindsForSentence = _chunkSDK3ZA2Cjs.formatPlayBootstrapFinderKindsForSentence; exports.formatPlayBootstrapTemplates = _chunkSDK3ZA2Cjs.formatPlayBootstrapTemplates; exports.getDefinedPlayMetadata = getDefinedPlayMetadata; exports.getProviderUnavailableReason = _chunk7P5AA3SNjs.getProviderUnavailableReason; exports.isDeeplineExtractorTarget = isDeeplineExtractorTarget; exports.isPlayBootstrapFinderKind = _chunkSDK3ZA2Cjs.isPlayBootstrapFinderKind; exports.isPlayBootstrapTemplate = _chunkSDK3ZA2Cjs.isPlayBootstrapTemplate; exports.isProviderUnavailable = _chunk7P5AA3SNjs.isProviderUnavailable; exports.isProviderWaterfallUnavailableError = _chunk7P5AA3SNjs.isProviderWaterfallUnavailableError; exports.isStopAllPlayRunsDryRunResult = _chunkFDEU7UY7js.isStopAllPlayRunsDryRunResult; exports.lintMonitorBatchInput = _chunkWOHBA5PVjs.lintMonitorBatchInput; exports.lintMonitorFleetInput = _chunkJ5NA2TTXjs.lintMonitorFleetInput; exports.lintMonitorSpecTemplate = _chunkWOHBA5PVjs.lintMonitorSpecTemplate; exports.renderMonitorSpecTemplate = _chunkWOHBA5PVjs.renderMonitorSpecTemplate; exports.resolveConfig = _chunkDOCDA2YPjs.resolveConfig; exports.runIf = runIf; exports.steps = steps; exports.tryConvertToList = _chunkNXDRDJ4Kjs.tryConvertToList; exports.validateMonitorFleetDefinition = _chunkJ5NA2TTXjs.validateMonitorFleetDefinition; exports.writeCsvOutputFile = _chunkNXDRDJ4Kjs.writeCsvOutputFile; exports.writeJsonOutputFile = _chunkNXDRDJ4Kjs.writeJsonOutputFile;
|