deepline 0.3.436 → 0.3.437
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/context.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +4 -0
- package/dist/bundling-sources/shared_libs/play-runtime/execution-capabilities.ts +6 -0
- package/dist/bundling-sources/shared_libs/play-runtime/protocol.ts +4 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +3 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-authority.ts +25 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +5 -1
- package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +9 -1
- package/dist/cli/auth-DN5GJY5Q.js +40 -0
- package/dist/cli/{auth-A6D2PZMU.mjs → auth-TSUA536O.mjs} +4 -4
- package/dist/cli/{billing-SWG3FF6U.mjs → billing-5TGADGMX.mjs} +4 -4
- package/dist/cli/{billing-ZPMWQR5V.js → billing-V3T2YPBR.js} +73 -73
- package/dist/cli/{chunk-MOGZ6YT6.mjs → chunk-5IJDDKD6.mjs} +1 -1
- package/dist/cli/{chunk-BLEASRDL.js → chunk-632AG45P.js} +2 -2
- package/dist/cli/{chunk-F5355JDY.js → chunk-6VB2BPUX.js} +50 -50
- package/dist/cli/{chunk-E4ED66S3.mjs → chunk-7QLXY6RP.mjs} +1 -1
- package/dist/cli/{chunk-CJVDOWEV.mjs → chunk-AFWYYSKY.mjs} +2 -2
- package/dist/cli/{chunk-TIVPPP2V.mjs → chunk-BFV62ZMO.mjs} +2 -2
- package/dist/cli/{chunk-2NLGISW4.js → chunk-BR63JXVC.js} +52 -52
- package/dist/cli/{chunk-JJRUH6ES.js → chunk-BZ3RMXER.js} +79 -79
- package/dist/cli/{chunk-YGOES3EB.js → chunk-D7NOGNG5.js} +6 -6
- package/dist/cli/{chunk-QNUTTJVP.mjs → chunk-G56WUJBT.mjs} +3 -3
- package/dist/cli/{chunk-ACB2MRKR.mjs → chunk-HS3A4Q6E.mjs} +3 -3
- package/dist/cli/{chunk-4ESXEDQQ.js → chunk-IPJ3DZ7I.js} +16 -16
- package/dist/cli/{chunk-MPU3T2DO.js → chunk-JHT2LCK3.js} +8 -8
- package/dist/cli/{chunk-IBF6ASRS.mjs → chunk-JIY4IN6O.mjs} +1 -1
- package/dist/cli/{chunk-VSDYVYRD.mjs → chunk-JJ7SVPMN.mjs} +1 -1
- package/dist/cli/{chunk-BV4LGD5S.js → chunk-JU67SR7M.js} +6 -6
- package/dist/cli/{chunk-BBWDU3D5.js → chunk-KAJK6XVI.js} +1 -1
- package/dist/cli/{chunk-TEDJQVSP.mjs → chunk-KAM3ZGK4.mjs} +1 -1
- package/dist/cli/{chunk-PH2FUNEJ.mjs → chunk-N5D4EMIY.mjs} +1 -1
- package/dist/cli/{chunk-CAAVZL2V.js → chunk-NEGUDVTQ.js} +26 -26
- package/dist/cli/{chunk-IL2YE7B7.mjs → chunk-OOXULCVG.mjs} +2 -2
- package/dist/cli/{chunk-A7CLG63J.mjs → chunk-PXUAU5Q6.mjs} +2 -2
- package/dist/cli/{chunk-776NKVHY.mjs → chunk-PZGRH4X7.mjs} +4 -4
- package/dist/cli/{chunk-RABL6ORN.js → chunk-Q5LCLAY5.js} +4 -4
- package/dist/cli/{chunk-VZ7XCNT7.mjs → chunk-QHDQIHME.mjs} +1 -1
- package/dist/cli/{chunk-NFMS5PCE.mjs → chunk-QOTWZX7F.mjs} +5 -5
- package/dist/cli/{chunk-PES2B6ZD.mjs → chunk-RG4ORMHV.mjs} +8 -8
- package/dist/cli/{chunk-U4CAMIW7.js → chunk-U5PCCQMO.js} +2 -2
- package/dist/cli/{chunk-T33O4YWA.mjs → chunk-UNX3UQFJ.mjs} +3 -3
- package/dist/cli/{chunk-5QWTEQPP.js → chunk-WXJAODJD.js} +1 -1
- package/dist/cli/{chunk-Q5P5GTCA.js → chunk-XGKH5EC7.js} +10 -10
- package/dist/cli/{chunk-V3QUJJ2M.js → chunk-YRK64KJY.js} +35 -35
- package/dist/cli/{chunk-BA4WWJNF.js → chunk-Z6TTBJHH.js} +8 -8
- package/dist/cli/{chunk-GF5O6EFC.js → chunk-ZOPU46KZ.js} +20 -20
- package/dist/cli/{csv-ASBYH3ND.mjs → csv-BWEZ5PWQ.mjs} +3 -3
- package/dist/cli/{csv-ZV5QP7YW.js → csv-WL7ZWIT5.js} +12 -12
- package/dist/cli/{db-VQVBDJON.js → db-DCTSMDWZ.js} +25 -25
- package/dist/cli/{db-7MMWKX2N.mjs → db-KAR7YCP4.mjs} +4 -4
- package/dist/cli/{describe-TMKTLNOP.js → describe-A7FCQTHV.js} +16 -16
- package/dist/cli/{describe-VZIT4HGO.mjs → describe-EMVTMHVJ.mjs} +12 -12
- package/dist/cli/describe-core.d.mts +2 -2
- package/dist/cli/describe-core.d.ts +2 -2
- package/dist/cli/{executions-M55YIVFY.mjs → executions-XR4PN6WX.mjs} +4 -4
- package/dist/cli/{executions-26CRGU65.js → executions-YSUL2TQR.js} +6 -6
- package/dist/cli/{feedback-RU3VIDKR.js → feedback-G5IU7E4Y.js} +7 -7
- package/dist/cli/{feedback-V3VZI6J7.mjs → feedback-PJSTAXH7.mjs} +3 -3
- package/dist/cli/git-QHEYASI4.js +24 -0
- package/dist/cli/{git-S5YY2MBP.mjs → git-TJ5Q2Z7A.mjs} +4 -4
- package/dist/cli/index.js +131 -131
- package/dist/cli/index.mjs +36 -36
- package/dist/cli/{legacy-noops-DVO5IRO7.js → legacy-noops-GS3DMVI5.js} +7 -7
- package/dist/cli/{legacy-noops-JSGP4FLB.mjs → legacy-noops-O6OLRAES.mjs} +4 -4
- package/dist/cli/{monitors-NDZM6GZ6.js → monitors-A4S5WBGO.js} +84 -84
- package/dist/cli/{monitors-C3RQ72HW.mjs → monitors-BPEMPIO4.mjs} +4 -4
- package/dist/cli/{org-KWH6A36G.mjs → org-OL3AIYSH.mjs} +4 -4
- package/dist/cli/{org-CK6RJGK5.js → org-VQCNY2WB.js} +66 -66
- package/dist/cli/{play-TODYTQ6X.mjs → play-7XS2VNKK.mjs} +11 -11
- package/dist/cli/{play-VHNU4ZRW.js → play-U6UJM67Q.js} +301 -301
- package/dist/cli/{providers-6XJSK4HT.js → providers-RLVGGWTW.js} +7 -7
- package/dist/cli/{providers-CIOW3U77.mjs → providers-S7Q4I65H.mjs} +4 -4
- package/dist/cli/{quickstart-PBACGVIU.mjs → quickstart-2XZPRIBJ.mjs} +3 -3
- package/dist/cli/{quickstart-RBZP2M5I.js → quickstart-BNSND2KM.js} +5 -5
- package/dist/cli/search-J6VQK6XY.js +30 -0
- package/dist/cli/{search-4UCRHYIY.mjs → search-UVIIPKWR.mjs} +5 -5
- package/dist/cli/{secrets-TCSWMJBW.mjs → secrets-DQUHORO5.mjs} +4 -4
- package/dist/cli/{secrets-6JVGCFV4.js → secrets-RKE6ZNTC.js} +13 -13
- package/dist/cli/{sessions-GDCONNJJ.js → sessions-4Y7G5432.js} +5 -5
- package/dist/cli/{sessions-SH6PGON6.mjs → sessions-W77NIN3J.mjs} +4 -4
- package/dist/cli/{settings-ZAKECLTD.js → settings-CTNYYHZP.js} +75 -75
- package/dist/cli/{settings-NSRYEMWL.mjs → settings-SL5QVPV3.mjs} +8 -8
- package/dist/cli/{setup-JQZ72TV2.js → setup-DP6PDQUN.js} +42 -42
- package/dist/cli/{setup-4HFA2PRF.mjs → setup-Y5UBJKVQ.mjs} +7 -7
- package/dist/cli/skills-G2Y3KXA3.js +29 -0
- package/dist/cli/{skills-FGGMKSLN.mjs → skills-LWLEGYDS.mjs} +5 -5
- package/dist/cli/tools-6SKR5PQ4.js +44 -0
- package/dist/cli/{tools-H7K7OD6P.mjs → tools-M2XZNF66.mjs} +12 -12
- package/dist/cli/update-AUB6RNSI.js +31 -0
- package/dist/cli/{update-SNZO56ST.mjs → update-EK2YNVKT.mjs} +7 -7
- package/dist/cli/{workflow-RGCX5NTR.js → workflow-BHDL5RHZ.js} +15 -15
- package/dist/cli/{workflow-PV3DQ2EH.mjs → workflow-YFZDZT4Z.mjs} +5 -5
- package/dist/{client-DIY1WpSW.d.mts → client-jgdWPXpp.d.mts} +1 -1
- package/dist/{client-CgmfMj_N.d.ts → client-uX4RCcOS.d.ts} +1 -1
- package/dist/{compiler-manifest-D0Gl9gLn.d.ts → compiler-manifest-CF2qngKr.d.mts} +7 -0
- package/dist/{compiler-manifest-D0Gl9gLn.d.mts → compiler-manifest-CF2qngKr.d.ts} +7 -0
- package/dist/{index-VyHDAshm.d.ts → index-Bq37k0sE.d.ts} +1 -1
- package/dist/{index-Bub1jys9.d.mts → index-DTI-iNw8.d.mts} +1 -1
- package/dist/index.d.mts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +6 -6
- package/dist/index.mjs +3 -3
- package/dist/install-integrity.json +86 -86
- package/dist/plays/bundle-play-file.d.mts +3 -3
- package/dist/plays/bundle-play-file.d.ts +3 -3
- package/dist/plays/bundle-play-file.mjs +1 -1
- package/dist/plays/play-description.d.mts +2 -2
- package/dist/plays/play-description.d.ts +2 -2
- package/dist/plays/run-request.d.mts +2 -2
- package/dist/plays/run-request.d.ts +2 -2
- package/dist/release.d.mts +1 -1
- package/dist/release.d.ts +1 -1
- package/dist/release.js +2 -2
- package/dist/release.mjs +1 -1
- package/package.json +1 -1
- package/dist/cli/auth-PPBH64C7.js +0 -40
- package/dist/cli/git-ODCVAT3E.js +0 -24
- package/dist/cli/search-LLXEBTKR.js +0 -30
- package/dist/cli/skills-KOJZ7MQM.js +0 -29
- package/dist/cli/tools-3EY3AN3M.js +0 -44
- package/dist/cli/update-SVXZAUIA.js +0 -31
|
@@ -5,7 +5,7 @@ var _chunkGXOQRZXGjs = require('./chunk-GXOQRZXG.js');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkJHT2LCK3js = require('./chunk-JHT2LCK3.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -45,7 +45,7 @@ var _chunkHGFFYVXNjs = require('./chunk-HGFFYVXN.js');
|
|
|
45
45
|
|
|
46
46
|
|
|
47
47
|
|
|
48
|
-
var
|
|
48
|
+
var _chunkXGKH5EC7js = require('./chunk-XGKH5EC7.js');
|
|
49
49
|
|
|
50
50
|
|
|
51
51
|
var _chunkXDVT3GOMjs = require('./chunk-XDVT3GOM.js');
|
|
@@ -55,18 +55,18 @@ var _chunkXDVT3GOMjs = require('./chunk-XDVT3GOM.js');
|
|
|
55
55
|
|
|
56
56
|
|
|
57
57
|
|
|
58
|
-
var
|
|
58
|
+
var _chunkZOPU46KZjs = require('./chunk-ZOPU46KZ.js');
|
|
59
59
|
|
|
60
60
|
|
|
61
61
|
|
|
62
62
|
|
|
63
|
-
var
|
|
63
|
+
var _chunk632AG45Pjs = require('./chunk-632AG45P.js');
|
|
64
64
|
|
|
65
65
|
|
|
66
66
|
|
|
67
67
|
|
|
68
68
|
|
|
69
|
-
var
|
|
69
|
+
var _chunkBR63JXVCjs = require('./chunk-BR63JXVC.js');
|
|
70
70
|
|
|
71
71
|
|
|
72
72
|
|
|
@@ -74,12 +74,12 @@ var _chunk2NLGISW4js = require('./chunk-2NLGISW4.js');
|
|
|
74
74
|
|
|
75
75
|
|
|
76
76
|
|
|
77
|
-
var
|
|
77
|
+
var _chunkJU67SR7Mjs = require('./chunk-JU67SR7M.js');
|
|
78
78
|
|
|
79
79
|
|
|
80
80
|
|
|
81
81
|
|
|
82
|
-
var
|
|
82
|
+
var _chunkQ5LCLAY5js = require('./chunk-Q5LCLAY5.js');
|
|
83
83
|
|
|
84
84
|
|
|
85
85
|
var _chunkPPDBRJRWjs = require('./chunk-PPDBRJRW.js');
|
|
@@ -158,10 +158,10 @@ var ToolCallRecovery = class _ToolCallRecovery {
|
|
|
158
158
|
}
|
|
159
159
|
};
|
|
160
160
|
function pendingToolExecutionPath(input) {
|
|
161
|
-
const config =
|
|
161
|
+
const config = _chunkQ5LCLAY5js.resolveConfig.call(void 0, );
|
|
162
162
|
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(_chunkXDVT3GOMjs.stableStringify.call(void 0, input.params)).update("\0").update(input.responseIntent).digest("hex");
|
|
163
163
|
return _path.join.call(void 0,
|
|
164
|
-
|
|
164
|
+
_chunkQ5LCLAY5js.sdkCliStateDirPath.call(void 0, config.baseUrl),
|
|
165
165
|
`pending-tool-execution-${fingerprint}.json`
|
|
166
166
|
);
|
|
167
167
|
}
|
|
@@ -437,13 +437,13 @@ function categoryEnumerationRender(summaries) {
|
|
|
437
437
|
};
|
|
438
438
|
}
|
|
439
439
|
async function listToolCategories(emitJson, compact) {
|
|
440
|
-
const client = new (0,
|
|
440
|
+
const client = new (0, _chunkXGKH5EC7js.DeeplineClient)();
|
|
441
441
|
if (!emitJson) {
|
|
442
442
|
const summaries2 = (await client.listToolCategories()).map((category) => ({
|
|
443
443
|
...category,
|
|
444
444
|
description: describeToolCategory(category.name)
|
|
445
445
|
}));
|
|
446
|
-
|
|
446
|
+
_chunkJU67SR7Mjs.printCommandEnvelope.call(void 0,
|
|
447
447
|
{ categories: summaries2, render: categoryEnumerationRender(summaries2) },
|
|
448
448
|
{ json: false }
|
|
449
449
|
);
|
|
@@ -453,7 +453,7 @@ async function listToolCategories(emitJson, compact) {
|
|
|
453
453
|
const items = rawTools.map(toListedTool);
|
|
454
454
|
const summaries = aggregateCategorySummaries(rawTools);
|
|
455
455
|
const outputItems = compact ? items.map(compactTool) : items;
|
|
456
|
-
|
|
456
|
+
_chunkJU67SR7Mjs.printCommandEnvelope.call(void 0,
|
|
457
457
|
{
|
|
458
458
|
tools: outputItems,
|
|
459
459
|
count: outputItems.length,
|
|
@@ -472,7 +472,7 @@ function unknownCategoryError(category, summaries, emitJson) {
|
|
|
472
472
|
const known = summaries.map((item) => item.name);
|
|
473
473
|
const message = `Unknown tool category "${category}". Run \`deepline tools list\` to browse categories.`;
|
|
474
474
|
if (emitJson) {
|
|
475
|
-
|
|
475
|
+
_chunkJU67SR7Mjs.printJson.call(void 0, {
|
|
476
476
|
ok: false,
|
|
477
477
|
exitCode: 4,
|
|
478
478
|
code: "TOOL_CATEGORY_NOT_FOUND",
|
|
@@ -486,13 +486,13 @@ function unknownCategoryError(category, summaries, emitJson) {
|
|
|
486
486
|
const render = categoryEnumerationRender(summaries);
|
|
487
487
|
console.error(message);
|
|
488
488
|
console.error("");
|
|
489
|
-
console.error(
|
|
489
|
+
console.error(_chunkJU67SR7Mjs.renderCommandEnvelopeText.call(void 0, { render }).trimEnd());
|
|
490
490
|
console.error("");
|
|
491
491
|
console.error(`Valid categories: ${known.join(", ")}`);
|
|
492
492
|
return 4;
|
|
493
493
|
}
|
|
494
494
|
async function listToolsInCategory(category, emitJson) {
|
|
495
|
-
const client = new (0,
|
|
495
|
+
const client = new (0, _chunkXGKH5EC7js.DeeplineClient)();
|
|
496
496
|
const { tools: rawTools, categories } = await client.listToolsInCategory(category);
|
|
497
497
|
const summaries = categories.map((item) => ({
|
|
498
498
|
...item,
|
|
@@ -528,7 +528,7 @@ async function listToolsInCategory(category, emitJson) {
|
|
|
528
528
|
}
|
|
529
529
|
]
|
|
530
530
|
};
|
|
531
|
-
|
|
531
|
+
_chunkJU67SR7Mjs.printCommandEnvelope.call(void 0,
|
|
532
532
|
{
|
|
533
533
|
category,
|
|
534
534
|
total: rows.length,
|
|
@@ -541,7 +541,7 @@ async function listToolsInCategory(category, emitJson) {
|
|
|
541
541
|
return 0;
|
|
542
542
|
}
|
|
543
543
|
async function listToolsForCategoryFilter(requestedCategories, emitJson, compact) {
|
|
544
|
-
const client = new (0,
|
|
544
|
+
const client = new (0, _chunkXGKH5EC7js.DeeplineClient)();
|
|
545
545
|
const items = (await client.listTools({
|
|
546
546
|
categories: requestedCategories.join(","),
|
|
547
547
|
compact
|
|
@@ -570,7 +570,7 @@ async function listToolsForCategoryFilter(requestedCategories, emitJson, compact
|
|
|
570
570
|
]
|
|
571
571
|
};
|
|
572
572
|
const outputItems = compact ? items.map(compactTool) : items;
|
|
573
|
-
|
|
573
|
+
_chunkJU67SR7Mjs.printCommandEnvelope.call(void 0,
|
|
574
574
|
{
|
|
575
575
|
tools: outputItems,
|
|
576
576
|
count: outputItems.length,
|
|
@@ -589,13 +589,13 @@ async function listTools(category, options = {}) {
|
|
|
589
589
|
const positional = _nullishCoalesce(_optionalChain([category, 'optionalAccess', _10 => _10.trim, 'call', _11 => _11()]), () => ( ""));
|
|
590
590
|
const flagCategories = (_nullishCoalesce(options.categories, () => ( ""))).split(",").map((item) => item.trim()).filter(Boolean);
|
|
591
591
|
const compact = options.compact !== false;
|
|
592
|
-
const emitJson = options.json === true ||
|
|
592
|
+
const emitJson = options.json === true || _chunkJU67SR7Mjs.shouldEmitJson.call(void 0, );
|
|
593
593
|
if (positional && flagCategories.length > 0) {
|
|
594
594
|
const flagIsSameSingle = flagCategories.length === 1 && flagCategories[0] === positional;
|
|
595
595
|
if (!flagIsSameSingle) {
|
|
596
596
|
const message = `Category "${positional}" and --categories ${flagCategories.join(",")} disagree. Pass one: deepline tools list ${positional}`;
|
|
597
597
|
if (emitJson) {
|
|
598
|
-
|
|
598
|
+
_chunkJU67SR7Mjs.printJson.call(void 0, {
|
|
599
599
|
ok: false,
|
|
600
600
|
exitCode: 2,
|
|
601
601
|
code: "TOOL_LIST_CATEGORY_CONFLICT",
|
|
@@ -622,7 +622,7 @@ async function grepTools(queryInput, options = {}) {
|
|
|
622
622
|
console.error("Usage: deepline tools grep <query> [--json]");
|
|
623
623
|
return 1;
|
|
624
624
|
}
|
|
625
|
-
const client = new (0,
|
|
625
|
+
const client = new (0, _chunkXGKH5EC7js.DeeplineClient)();
|
|
626
626
|
const requestedCategories = options.categories ? options.categories.split(",").map((item) => item.trim()).filter(Boolean) : [];
|
|
627
627
|
const mode = _nullishCoalesce(options.mode, () => ( "all"));
|
|
628
628
|
const jsonOutput = options.json === true;
|
|
@@ -646,7 +646,7 @@ async function grepTools(queryInput, options = {}) {
|
|
|
646
646
|
query,
|
|
647
647
|
mode
|
|
648
648
|
}) : null;
|
|
649
|
-
|
|
649
|
+
_chunkJU67SR7Mjs.printCommandEnvelope.call(void 0,
|
|
650
650
|
{
|
|
651
651
|
tools: outputTools,
|
|
652
652
|
count: outputTools.length,
|
|
@@ -664,7 +664,7 @@ async function grepTools(queryInput, options = {}) {
|
|
|
664
664
|
} : {},
|
|
665
665
|
commandTemplates: TOOL_COMMAND_TEMPLATES
|
|
666
666
|
},
|
|
667
|
-
{ json: options.json ||
|
|
667
|
+
{ json: options.json || _chunkJU67SR7Mjs.shouldEmitJson.call(void 0, ) }
|
|
668
668
|
);
|
|
669
669
|
return 0;
|
|
670
670
|
}
|
|
@@ -781,7 +781,7 @@ Output:
|
|
|
781
781
|
"--credentials-file must contain a nonempty JSON object of string credential values."
|
|
782
782
|
);
|
|
783
783
|
}
|
|
784
|
-
const result = await new (0,
|
|
784
|
+
const result = await new (0, _chunkXGKH5EC7js.DeeplineClient)().setIntegrationCredentials(
|
|
785
785
|
provider,
|
|
786
786
|
credentials
|
|
787
787
|
);
|
|
@@ -791,7 +791,7 @@ Output:
|
|
|
791
791
|
);
|
|
792
792
|
}
|
|
793
793
|
const confirmation = { provider, credential_saved: true };
|
|
794
|
-
if (
|
|
794
|
+
if (_chunkJU67SR7Mjs.shouldEmitJson.call(void 0, options.json))
|
|
795
795
|
console.log(JSON.stringify(confirmation));
|
|
796
796
|
else
|
|
797
797
|
console.log(
|
|
@@ -831,7 +831,7 @@ Examples:
|
|
|
831
831
|
json: Boolean(options.json)
|
|
832
832
|
});
|
|
833
833
|
});
|
|
834
|
-
|
|
834
|
+
_chunkJHT2LCK3js.registerDeprecatedSearchCommand.call(void 0, tools, () => ["tools", "monitors"]);
|
|
835
835
|
tools.command("grep <query>").description(
|
|
836
836
|
"Regex grep over tool ids, descriptions, categories, and input fields."
|
|
837
837
|
).addHelpText(
|
|
@@ -866,7 +866,7 @@ Examples:
|
|
|
866
866
|
});
|
|
867
867
|
const addToolMetadataCommand = (command) => {
|
|
868
868
|
let compatibilityMetadata;
|
|
869
|
-
|
|
869
|
+
_chunkZOPU46KZjs.registerCompatibilityCatalog.call(void 0, command, () => ({
|
|
870
870
|
toolId: command.args[0],
|
|
871
871
|
acceptMetadata: (metadata) => {
|
|
872
872
|
compatibilityMetadata = metadata;
|
|
@@ -936,7 +936,7 @@ Examples:
|
|
|
936
936
|
process.exitCode = await narrowView();
|
|
937
937
|
return;
|
|
938
938
|
}
|
|
939
|
-
const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-
|
|
939
|
+
const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-A7FCQTHV.js")));
|
|
940
940
|
process.exitCode = await describeAnything(
|
|
941
941
|
toolId,
|
|
942
942
|
{
|
|
@@ -1020,7 +1020,7 @@ Examples:
|
|
|
1020
1020
|
options,
|
|
1021
1021
|
void 0,
|
|
1022
1022
|
true,
|
|
1023
|
-
|
|
1023
|
+
_chunk632AG45Pjs.resolveCliMaintenancePolicy.call(void 0, command.optsWithGlobals())
|
|
1024
1024
|
);
|
|
1025
1025
|
}
|
|
1026
1026
|
);
|
|
@@ -1028,13 +1028,13 @@ Examples:
|
|
|
1028
1028
|
function beginDeferredToolExecuteCompatibility(toolId, cliInvocationId) {
|
|
1029
1029
|
let metadata;
|
|
1030
1030
|
const startedAt = performance.now();
|
|
1031
|
-
const baseUrl =
|
|
1032
|
-
|
|
1033
|
-
const result =
|
|
1031
|
+
const baseUrl = _chunkQ5LCLAY5js.resolveConfig.call(void 0, ).baseUrl;
|
|
1032
|
+
_chunk632AG45Pjs.recordCliTrace.call(void 0, { phase: "cli.tool_execute_compatibility_start" });
|
|
1033
|
+
const result = _chunkZOPU46KZjs.runToolExecuteStage.call(void 0,
|
|
1034
1034
|
"SDK compatibility",
|
|
1035
|
-
() =>
|
|
1035
|
+
() => _chunkBR63JXVCjs.checkSdkCompatibility.call(void 0, baseUrl, {
|
|
1036
1036
|
command: "tools execute",
|
|
1037
|
-
skillsVersion:
|
|
1037
|
+
skillsVersion: _chunkQ5LCLAY5js.readSdkSkillsLocalVersion.call(void 0, baseUrl),
|
|
1038
1038
|
persistCache: false,
|
|
1039
1039
|
timeoutMs: TOOL_EXECUTE_PREFLIGHT_TIMEOUT_MS,
|
|
1040
1040
|
catalog: {
|
|
@@ -1048,7 +1048,7 @@ function beginDeferredToolExecuteCompatibility(toolId, cliInvocationId) {
|
|
|
1048
1048
|
})
|
|
1049
1049
|
).then(
|
|
1050
1050
|
(compatibility) => {
|
|
1051
|
-
|
|
1051
|
+
_chunk632AG45Pjs.recordCliTrace.call(void 0, {
|
|
1052
1052
|
phase: "cli.tool_execute_compatibility_ready",
|
|
1053
1053
|
ms: performance.now() - startedAt,
|
|
1054
1054
|
ok: compatibility.error === null,
|
|
@@ -1057,7 +1057,7 @@ function beginDeferredToolExecuteCompatibility(toolId, cliInvocationId) {
|
|
|
1057
1057
|
return compatibility;
|
|
1058
1058
|
},
|
|
1059
1059
|
(error) => {
|
|
1060
|
-
|
|
1060
|
+
_chunk632AG45Pjs.recordCliTrace.call(void 0, {
|
|
1061
1061
|
phase: "cli.tool_execute_compatibility_ready",
|
|
1062
1062
|
ms: performance.now() - startedAt,
|
|
1063
1063
|
ok: false
|
|
@@ -1072,7 +1072,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
|
|
|
1072
1072
|
console.error("Usage: deepline tools describe <toolId> [--json]");
|
|
1073
1073
|
return 1;
|
|
1074
1074
|
}
|
|
1075
|
-
const client = new (0,
|
|
1075
|
+
const client = new (0, _chunkXGKH5EC7js.DeeplineClient)();
|
|
1076
1076
|
let tool;
|
|
1077
1077
|
try {
|
|
1078
1078
|
tool = await _asyncNullishCoalesce(compatibilityMetadata, async () => ( await client.getTool(toolId)));
|
|
@@ -1126,7 +1126,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
|
|
|
1126
1126
|
const lines = toolPricingOnlyLines(tool, toolId);
|
|
1127
1127
|
if (inferenceQuote)
|
|
1128
1128
|
lines.push(...inferenceQuoteSummaryLines(inferenceQuote));
|
|
1129
|
-
|
|
1129
|
+
_chunkJU67SR7Mjs.printCommandEnvelope.call(void 0,
|
|
1130
1130
|
{
|
|
1131
1131
|
toolId: String(tool.toolId || toolId),
|
|
1132
1132
|
cost: _chunkZM2YPJQJjs.Capability.fromCatalogEntry(tool).describe().customerCost(),
|
|
@@ -1149,7 +1149,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
|
|
|
1149
1149
|
void 0,
|
|
1150
1150
|
seedToolListScript
|
|
1151
1151
|
);
|
|
1152
|
-
|
|
1152
|
+
_chunkJU67SR7Mjs.printCompactJson.call(void 0, {
|
|
1153
1153
|
toolId: contract.toolId,
|
|
1154
1154
|
...options.schemaOnly ? {
|
|
1155
1155
|
inputSchema: contract.inputSchema,
|
|
@@ -1172,7 +1172,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
|
|
|
1172
1172
|
return 0;
|
|
1173
1173
|
}
|
|
1174
1174
|
if (options.contractJson) {
|
|
1175
|
-
|
|
1175
|
+
_chunkJU67SR7Mjs.printCompactJson.call(void 0, {
|
|
1176
1176
|
..._chunkR2QWSSAGjs.toolContractJsonForDescribe.call(void 0,
|
|
1177
1177
|
tool,
|
|
1178
1178
|
toolId,
|
|
@@ -1186,7 +1186,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
|
|
|
1186
1186
|
}
|
|
1187
1187
|
const emitJson = options.json === true;
|
|
1188
1188
|
if (emitJson) {
|
|
1189
|
-
|
|
1189
|
+
_chunkJU67SR7Mjs.printCompactJson.call(void 0, {
|
|
1190
1190
|
..._chunkR2QWSSAGjs.toolMetadataJsonForDescribe.call(void 0, tool, toolId, seedToolListScript),
|
|
1191
1191
|
...modelDescription ? { modelOptions: modelDescription } : {},
|
|
1192
1192
|
...inferenceQuote ? { inferenceQuote } : {}
|
|
@@ -2047,7 +2047,7 @@ function parseExecuteOptions(toolId, options, output) {
|
|
|
2047
2047
|
outputFormat = normalizeOutputFormat(options.outputFormat);
|
|
2048
2048
|
}
|
|
2049
2049
|
if (options.idempotencyKey !== void 0) {
|
|
2050
|
-
|
|
2050
|
+
_chunkXGKH5EC7js.validateExecutionIdempotencyKey.call(void 0, options.idempotencyKey);
|
|
2051
2051
|
}
|
|
2052
2052
|
if (options.recoveryTimeoutMs !== void 0) {
|
|
2053
2053
|
const parsed = Number(options.recoveryTimeoutMs);
|
|
@@ -2368,19 +2368,19 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
|
|
|
2368
2368
|
parsed = parseExecuteOptions(toolId, options, output);
|
|
2369
2369
|
} catch (error) {
|
|
2370
2370
|
if (wantsJson) {
|
|
2371
|
-
|
|
2371
|
+
_chunkJU67SR7Mjs.printJsonError.call(void 0, error);
|
|
2372
2372
|
} else {
|
|
2373
2373
|
console.error(error instanceof Error ? error.message : String(error));
|
|
2374
2374
|
}
|
|
2375
2375
|
return error instanceof _chunkPPDBRJRWjs.DeeplineError && error.code === "IDEMPOTENCY_KEY_INVALID" ? 2 : 1;
|
|
2376
2376
|
}
|
|
2377
|
-
const cliInvocationId = _nullishCoalesce(
|
|
2377
|
+
const cliInvocationId = _nullishCoalesce(_chunkZOPU46KZjs.getToolExecuteInvocationId.call(void 0, ), () => ( _chunkZOPU46KZjs.beginToolExecuteCommand.call(void 0, )));
|
|
2378
2378
|
const deferredCompatibility = deferCompatibility ? beginDeferredToolExecuteCompatibility(toolId, cliInvocationId) : void 0;
|
|
2379
|
-
const tracing =
|
|
2379
|
+
const tracing = _chunk632AG45Pjs.isCliTraceEnabled.call(void 0, );
|
|
2380
2380
|
const clientStartedAt = tracing ? performance.now() : void 0;
|
|
2381
|
-
const client = new (0,
|
|
2381
|
+
const client = new (0, _chunkXGKH5EC7js.DeeplineClient)();
|
|
2382
2382
|
if (clientStartedAt !== void 0) {
|
|
2383
|
-
|
|
2383
|
+
_chunk632AG45Pjs.recordCliTrace.call(void 0, {
|
|
2384
2384
|
phase: "cli.tool_execute_client_setup",
|
|
2385
2385
|
ms: performance.now() - clientStartedAt
|
|
2386
2386
|
});
|
|
@@ -2389,13 +2389,13 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
|
|
|
2389
2389
|
const readMetadata = async () => {
|
|
2390
2390
|
if (metadata) return metadata;
|
|
2391
2391
|
try {
|
|
2392
|
-
metadata = await
|
|
2392
|
+
metadata = await _chunkZOPU46KZjs.runToolExecuteStage.call(void 0,
|
|
2393
2393
|
"tool metadata lookup",
|
|
2394
2394
|
() => client.getTool(parsed.toolId, { cliInvocationId })
|
|
2395
2395
|
);
|
|
2396
2396
|
} catch (error) {
|
|
2397
2397
|
if (isMissingToolMetadataError(error)) {
|
|
2398
|
-
const play = await
|
|
2398
|
+
const play = await _chunkZOPU46KZjs.runToolExecuteStage.call(void 0,
|
|
2399
2399
|
"play alias lookup",
|
|
2400
2400
|
() => findPlayForToolId(client, parsed.toolId, cliInvocationId)
|
|
2401
2401
|
);
|
|
@@ -2434,7 +2434,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
|
|
|
2434
2434
|
metadata = await readMetadata();
|
|
2435
2435
|
} catch (error) {
|
|
2436
2436
|
if (error instanceof _chunkPPDBRJRWjs.DeeplineError && error.code === "PLAY_ALIAS_USED_AS_TOOL") {
|
|
2437
|
-
if (wantsJson)
|
|
2437
|
+
if (wantsJson) _chunkJU67SR7Mjs.printJsonError.call(void 0, error);
|
|
2438
2438
|
else console.error(error.message);
|
|
2439
2439
|
return 2;
|
|
2440
2440
|
}
|
|
@@ -2450,7 +2450,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
|
|
|
2450
2450
|
metadata = await readMetadata();
|
|
2451
2451
|
} catch (error) {
|
|
2452
2452
|
if (error instanceof _chunkPPDBRJRWjs.DeeplineError && error.code === "PLAY_ALIAS_USED_AS_TOOL") {
|
|
2453
|
-
if (wantsJson)
|
|
2453
|
+
if (wantsJson) _chunkJU67SR7Mjs.printJsonError.call(void 0, error);
|
|
2454
2454
|
else console.error(error.message);
|
|
2455
2455
|
return 2;
|
|
2456
2456
|
}
|
|
@@ -2476,11 +2476,11 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
|
|
|
2476
2476
|
responseIntent,
|
|
2477
2477
|
...idempotencyKey ? { idempotencyKey } : {},
|
|
2478
2478
|
...parsed.recoveryTimeoutMs !== void 0 ? { recoveryTimeoutMs: parsed.recoveryTimeoutMs } : {},
|
|
2479
|
-
searchRef:
|
|
2479
|
+
searchRef: _chunkJHT2LCK3js.recentSearchRef.call(void 0, ),
|
|
2480
2480
|
cliInvocationId,
|
|
2481
2481
|
onResponseReceived: _chunkGXOQRZXGjs.recordApiResponse,
|
|
2482
2482
|
...tracing ? {
|
|
2483
|
-
onServerTiming: (serverTiming) =>
|
|
2483
|
+
onServerTiming: (serverTiming) => _chunk632AG45Pjs.recordCliTrace.call(void 0, {
|
|
2484
2484
|
phase: "tool_execute_server_timing",
|
|
2485
2485
|
cliInvocationId,
|
|
2486
2486
|
serverTiming,
|
|
@@ -2491,13 +2491,13 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
|
|
|
2491
2491
|
let rawResponse;
|
|
2492
2492
|
let successfulCompatibilityResponse;
|
|
2493
2493
|
try {
|
|
2494
|
-
const executeResult = await
|
|
2494
|
+
const executeResult = await _chunkZOPU46KZjs.runToolExecuteStage.call(void 0,
|
|
2495
2495
|
"execute request",
|
|
2496
2496
|
async () => {
|
|
2497
2497
|
try {
|
|
2498
2498
|
if (tracing) {
|
|
2499
2499
|
submissionStartedAt = performance.now();
|
|
2500
|
-
|
|
2500
|
+
_chunk632AG45Pjs.recordCliTrace.call(void 0, { phase: "cli.tool_execute_request_start" });
|
|
2501
2501
|
}
|
|
2502
2502
|
return await client.executeTool(parsed.toolId, parsed.params, {
|
|
2503
2503
|
...executeOptions,
|
|
@@ -2506,34 +2506,34 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
|
|
|
2506
2506
|
} catch (error) {
|
|
2507
2507
|
if (!(error instanceof _chunkPPDBRJRWjs.DeeplineError) || error.code !== "ATOMIC_TOOL_EXECUTE_UNSUPPORTED")
|
|
2508
2508
|
throw error;
|
|
2509
|
-
const baseUrl =
|
|
2509
|
+
const baseUrl = _chunkQ5LCLAY5js.resolveConfig.call(void 0, ).baseUrl;
|
|
2510
2510
|
if (maintenancePolicy !== "off") {
|
|
2511
|
-
|
|
2511
|
+
_chunkBR63JXVCjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
|
|
2512
2512
|
}
|
|
2513
|
-
const compatibility = deferredCompatibility ? await deferredCompatibility.result : await
|
|
2513
|
+
const compatibility = deferredCompatibility ? await deferredCompatibility.result : await _chunkZOPU46KZjs.runToolExecuteStage.call(void 0,
|
|
2514
2514
|
"SDK compatibility",
|
|
2515
|
-
() =>
|
|
2515
|
+
() => _chunkBR63JXVCjs.checkSdkCompatibility.call(void 0, baseUrl, {
|
|
2516
2516
|
command: "tools execute",
|
|
2517
|
-
skillsVersion:
|
|
2517
|
+
skillsVersion: _chunkQ5LCLAY5js.readSdkSkillsLocalVersion.call(void 0, baseUrl),
|
|
2518
2518
|
persistCache: maintenancePolicy !== "off"
|
|
2519
2519
|
})
|
|
2520
2520
|
);
|
|
2521
2521
|
if (compatibility.error) throw compatibility.error;
|
|
2522
2522
|
metadata = _nullishCoalesce(_optionalChain([deferredCompatibility, 'optionalAccess', _28 => _28.readMetadata, 'call', _29 => _29()]), () => ( metadata));
|
|
2523
|
-
if (maintenancePolicy !== "off" && await
|
|
2523
|
+
if (maintenancePolicy !== "off" && await _chunkZOPU46KZjs.maybeAutoUpdateAndRelaunch.call(void 0,
|
|
2524
2524
|
compatibility.response,
|
|
2525
2525
|
baseUrl,
|
|
2526
2526
|
maintenancePolicy
|
|
2527
2527
|
)) {
|
|
2528
2528
|
return void 0;
|
|
2529
2529
|
}
|
|
2530
|
-
|
|
2530
|
+
_chunkBR63JXVCjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
|
|
2531
2531
|
quietAdvisory: wantsJson
|
|
2532
2532
|
});
|
|
2533
2533
|
if (maintenancePolicy !== "off") {
|
|
2534
|
-
await
|
|
2534
|
+
await _chunkZOPU46KZjs.runToolExecuteStage.call(void 0,
|
|
2535
2535
|
"agent skills sync",
|
|
2536
|
-
() =>
|
|
2536
|
+
() => _chunkBR63JXVCjs.syncSdkSkillsIfNeeded.call(void 0, baseUrl, {
|
|
2537
2537
|
update: _optionalChain([compatibility, 'access', _30 => _30.response, 'optionalAccess', _31 => _31.skills]),
|
|
2538
2538
|
mode: "detached"
|
|
2539
2539
|
})
|
|
@@ -2542,7 +2542,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
|
|
|
2542
2542
|
const legacyMetadata = await readMetadata();
|
|
2543
2543
|
if (tracing) {
|
|
2544
2544
|
submissionStartedAt = performance.now();
|
|
2545
|
-
|
|
2545
|
+
_chunk632AG45Pjs.recordCliTrace.call(void 0, { phase: "cli.tool_execute_request_start" });
|
|
2546
2546
|
}
|
|
2547
2547
|
return client.executeTool(parsed.toolId, parsed.params, {
|
|
2548
2548
|
...executeOptions,
|
|
@@ -2563,8 +2563,8 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
|
|
|
2563
2563
|
metadata = _nullishCoalesce(deferredCompatibility.readMetadata(), () => ( metadata));
|
|
2564
2564
|
const updateRequiredBeforeExecution = error instanceof _chunkPPDBRJRWjs.DeeplineError && error.code === "SDK_UPDATE_REQUIRED";
|
|
2565
2565
|
if (updateRequiredBeforeExecution && maintenancePolicy !== "off" && compatibility && !compatibility.error) {
|
|
2566
|
-
const baseUrl =
|
|
2567
|
-
if (await
|
|
2566
|
+
const baseUrl = _chunkQ5LCLAY5js.resolveConfig.call(void 0, ).baseUrl;
|
|
2567
|
+
if (await _chunkZOPU46KZjs.maybeAutoUpdateAndRelaunch.call(void 0,
|
|
2568
2568
|
compatibility.response,
|
|
2569
2569
|
baseUrl,
|
|
2570
2570
|
maintenancePolicy
|
|
@@ -2583,7 +2583,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
|
|
|
2583
2583
|
failure = diagnosticError;
|
|
2584
2584
|
}
|
|
2585
2585
|
if (failure instanceof _chunkPPDBRJRWjs.DeeplineError && failure.code === "PLAY_ALIAS_USED_AS_TOOL") {
|
|
2586
|
-
if (wantsJson)
|
|
2586
|
+
if (wantsJson) _chunkJU67SR7Mjs.printJsonError.call(void 0, failure);
|
|
2587
2587
|
else console.error(failure.message);
|
|
2588
2588
|
return 2;
|
|
2589
2589
|
}
|
|
@@ -2610,9 +2610,9 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
|
|
|
2610
2610
|
successfulCompatibilityResponse = _nullishCoalesce(compatibilityResponse, () => ( void 0));
|
|
2611
2611
|
const autoUpdate = _optionalChain([compatibilityResponse, 'optionalAccess', _37 => _37.auto_update]);
|
|
2612
2612
|
if (maintenancePolicy !== "off" && compatibilityResponse && _optionalChain([autoUpdate, 'optionalAccess', _38 => _38.should_auto_update]) && !autoUpdate.required && autoUpdate.reason !== "rollback_forced") {
|
|
2613
|
-
await
|
|
2613
|
+
await _chunkZOPU46KZjs.maybeAutoUpdateAndRelaunch.call(void 0,
|
|
2614
2614
|
compatibilityResponse,
|
|
2615
|
-
|
|
2615
|
+
_chunkQ5LCLAY5js.resolveConfig.call(void 0, ).baseUrl,
|
|
2616
2616
|
maintenancePolicy
|
|
2617
2617
|
);
|
|
2618
2618
|
}
|
|
@@ -2647,7 +2647,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
|
|
|
2647
2647
|
const { _metadata, ...execution } = rawResponse;
|
|
2648
2648
|
rawResponse = execution;
|
|
2649
2649
|
}
|
|
2650
|
-
const { listConversion, summary, baseEnvelope } = await
|
|
2650
|
+
const { listConversion, summary, baseEnvelope } = await _chunkZOPU46KZjs.runToolExecuteStage.call(void 0,
|
|
2651
2651
|
"result formatting",
|
|
2652
2652
|
async () => {
|
|
2653
2653
|
const listConversion2 = _chunkHGFFYVXNjs.tryConvertToList.call(void 0, rawResponse, {
|
|
@@ -2682,9 +2682,9 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
|
|
|
2682
2682
|
}
|
|
2683
2683
|
skillsSyncAttempted = true;
|
|
2684
2684
|
try {
|
|
2685
|
-
await
|
|
2685
|
+
await _chunkZOPU46KZjs.runToolExecuteStage.call(void 0,
|
|
2686
2686
|
"agent skills sync",
|
|
2687
|
-
() =>
|
|
2687
|
+
() => _chunkBR63JXVCjs.syncSdkSkillsIfNeeded.call(void 0, _chunkQ5LCLAY5js.resolveConfig.call(void 0, ).baseUrl, {
|
|
2688
2688
|
update: deliveredCompatibilityResponse.skills,
|
|
2689
2689
|
mode: "detached"
|
|
2690
2690
|
})
|
|
@@ -2695,15 +2695,15 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
|
|
|
2695
2695
|
);
|
|
2696
2696
|
}
|
|
2697
2697
|
};
|
|
2698
|
-
const printDeliveredEnvelope = (envelope, options2 = {}) =>
|
|
2698
|
+
const printDeliveredEnvelope = (envelope, options2 = {}) => _chunkJU67SR7Mjs.printCommandEnvelope.call(void 0, envelope, {
|
|
2699
2699
|
...options2,
|
|
2700
2700
|
json: _nullishCoalesce(options2.json, () => ( wantsJson))
|
|
2701
2701
|
});
|
|
2702
2702
|
const printDeliveredJsonEnvelope = async (envelope, options2 = {}) => {
|
|
2703
2703
|
await syncSkillsForDeliveredOutput();
|
|
2704
|
-
|
|
2704
|
+
_chunkJU67SR7Mjs.printCommandEnvelope.call(void 0, envelope, { ...options2, json: true });
|
|
2705
2705
|
};
|
|
2706
|
-
const delivered = await
|
|
2706
|
+
const delivered = await _chunkZOPU46KZjs.runToolExecuteStage.call(void 0, "output delivery", async () => {
|
|
2707
2707
|
if (!parsed.outPath && (parsed.outputFormat === "json" || parsed.outputFormat === "auto" && wantsJson)) {
|
|
2708
2708
|
await printDeliveredJsonEnvelope(baseEnvelope);
|
|
2709
2709
|
return true;
|
|
@@ -2732,7 +2732,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
|
|
|
2732
2732
|
`${parsed.toolId} did not expose row-shaped output to write as CSV. ${inspection.inspectDescription} Run: ${inspection.inspect}`
|
|
2733
2733
|
);
|
|
2734
2734
|
if (wantsJson) {
|
|
2735
|
-
|
|
2735
|
+
_chunkJU67SR7Mjs.printJsonError.call(void 0, error);
|
|
2736
2736
|
} else {
|
|
2737
2737
|
console.error(error.message);
|
|
2738
2738
|
}
|
|
@@ -2827,13 +2827,13 @@ inspect: ${inspection.inspect}
|
|
|
2827
2827
|
return true;
|
|
2828
2828
|
});
|
|
2829
2829
|
if (delivered) {
|
|
2830
|
-
await
|
|
2830
|
+
await _chunkZOPU46KZjs.runToolExecuteStage.call(void 0,
|
|
2831
2831
|
"acknowledge delivery",
|
|
2832
2832
|
() => recovery.acknowledgeDelivery()
|
|
2833
2833
|
);
|
|
2834
2834
|
}
|
|
2835
2835
|
if (delivered && deliveredCompatibilityResponse && deliveredCompatibilityResponse.update_required !== true) {
|
|
2836
|
-
|
|
2836
|
+
_chunkBR63JXVCjs.enforceSdkCompatibilityResponse.call(void 0, deliveredCompatibilityResponse, {
|
|
2837
2837
|
quietAdvisory: wantsJson || maintenancePolicy === "off" || _optionalChain([deliveredCompatibilityResponse, 'access', _40 => _40.auto_update, 'optionalAccess', _41 => _41.should_auto_update]) === true
|
|
2838
2838
|
});
|
|
2839
2839
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk632AG45Pjs = require('./chunk-632AG45P.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkBR63JXVCjs = require('./chunk-BR63JXVC.js');
|
|
9
9
|
|
|
10
10
|
// src/cli/play-run-admission.ts
|
|
11
11
|
function usesInlinePlayAdmission(command, args) {
|
|
@@ -14,17 +14,17 @@ function usesInlinePlayAdmission(command, args) {
|
|
|
14
14
|
);
|
|
15
15
|
}
|
|
16
16
|
async function checkPlayRunCompatibility(baseUrl, maintenancePolicy = "configured") {
|
|
17
|
-
if (maintenancePolicy !== "off")
|
|
18
|
-
const compatibility = await
|
|
17
|
+
if (maintenancePolicy !== "off") _chunkBR63JXVCjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
|
|
18
|
+
const compatibility = await _chunk632AG45Pjs.traceCliSpan.call(void 0,
|
|
19
19
|
"cli.sdk_compatibility",
|
|
20
20
|
{ baseUrl, command: "plays run" },
|
|
21
|
-
() =>
|
|
21
|
+
() => _chunkBR63JXVCjs.checkSdkCompatibility.call(void 0, baseUrl, {
|
|
22
22
|
command: "plays run",
|
|
23
23
|
persistCache: maintenancePolicy !== "off"
|
|
24
24
|
})
|
|
25
25
|
);
|
|
26
26
|
if (compatibility.error) throw compatibility.error;
|
|
27
|
-
|
|
27
|
+
_chunkBR63JXVCjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
|
|
28
28
|
quietAdvisory: true
|
|
29
29
|
});
|
|
30
30
|
}
|
|
@@ -11,10 +11,10 @@ import {
|
|
|
11
11
|
skillsInstallLeasePath,
|
|
12
12
|
skillsSourceUrl,
|
|
13
13
|
syncSdkSkillsIfNeeded
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-UNX3UQFJ.mjs";
|
|
15
15
|
import {
|
|
16
16
|
printCommandEnvelope
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-7QLXY6RP.mjs";
|
|
18
18
|
import {
|
|
19
19
|
SDK_VERSION,
|
|
20
20
|
autoDetectBaseUrl,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
ensureProjectPrivatePathsIgnored,
|
|
23
23
|
resolveProjectPinTarget,
|
|
24
24
|
sdkCliStateDirPath
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-JIY4IN6O.mjs";
|
|
26
26
|
|
|
27
27
|
// src/cli/commands/skills.ts
|
|
28
28
|
import { spawn } from "child_process";
|
|
@@ -3,15 +3,15 @@ import {
|
|
|
3
3
|
} from "./chunk-LJ5747UC.mjs";
|
|
4
4
|
import {
|
|
5
5
|
DeeplineClient
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KAM3ZGK4.mjs";
|
|
7
7
|
import {
|
|
8
8
|
printCommandEnvelope,
|
|
9
9
|
renderCommandEnvelopeText
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-7QLXY6RP.mjs";
|
|
11
11
|
import {
|
|
12
12
|
resolveConfig,
|
|
13
13
|
sdkCliStateDirPath
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-JIY4IN6O.mjs";
|
|
15
15
|
import {
|
|
16
16
|
__commonJS,
|
|
17
17
|
__toESM
|