deepline 0.3.446 → 0.3.447
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/monitors/signal-radars/inbound-dead-letter.ts +3 -0
- package/dist/cli/{auth-QS4HFSPI.mjs → auth-COGJHSV4.mjs} +4 -4
- package/dist/cli/auth-MHBOTH5I.js +40 -0
- package/dist/cli/{billing-X7ZJUBJE.mjs → billing-LMW3OXJG.mjs} +4 -4
- package/dist/cli/{billing-72BVAZ6M.js → billing-O4VZKEBX.js} +73 -73
- package/dist/cli/{chunk-N5CNBKPY.js → chunk-3HQHWCXO.js} +81 -81
- package/dist/cli/{chunk-6XL3IIFD.mjs → chunk-3T74FJWG.mjs} +4 -4
- package/dist/cli/{chunk-WX4K4TNG.js → chunk-4OGNPUTA.js} +4 -4
- package/dist/cli/{chunk-4UD3HIUY.js → chunk-5FRUCHTH.js} +8 -8
- package/dist/cli/{chunk-ULGMJRSU.mjs → chunk-6EQRPWRM.mjs} +8 -8
- package/dist/cli/{chunk-TY6KOFLR.js → chunk-7DEPUMTR.js} +8 -8
- package/dist/cli/{chunk-IQREZ6NU.mjs → chunk-7Y6TUHBC.mjs} +2 -2
- package/dist/cli/{chunk-R53NKATP.mjs → chunk-AWV47AZQ.mjs} +5 -5
- package/dist/cli/{chunk-XK7USWW3.js → chunk-AZ3I7WXB.js} +6 -6
- package/dist/cli/{chunk-FMUADJJ6.mjs → chunk-BJ5JX32Q.mjs} +3 -3
- package/dist/cli/{chunk-DPVDPJLA.mjs → chunk-DOTKSF3L.mjs} +1 -1
- package/dist/cli/{chunk-CNIFSBGW.js → chunk-DQJOTP5P.js} +35 -35
- package/dist/cli/{chunk-MU76KMIL.js → chunk-DXMNRVCV.js} +20 -20
- package/dist/cli/{chunk-D7ES6PAW.mjs → chunk-ETLBBI6B.mjs} +1 -1
- package/dist/cli/{chunk-EATTWMIB.js → chunk-F4IUMSC6.js} +2 -2
- package/dist/cli/{chunk-R4AKASN2.mjs → chunk-G3QV4EOW.mjs} +3 -3
- package/dist/cli/{chunk-SSPHVLOF.js → chunk-GC7P7QC4.js} +52 -52
- package/dist/cli/{chunk-HBC7PNWS.mjs → chunk-H5YDQBLP.mjs} +1 -1
- package/dist/cli/{chunk-KUWUIXC7.mjs → chunk-JNO7JR6A.mjs} +2 -2
- package/dist/cli/{chunk-ISQLFI2O.mjs → chunk-JRQFJMP5.mjs} +1 -1
- package/dist/cli/{chunk-6PTUA4M7.js → chunk-LJE4SJYM.js} +10 -10
- package/dist/cli/{chunk-JZK7OEG7.mjs → chunk-O2WRDCE6.mjs} +2 -2
- package/dist/cli/{chunk-7X7GEXHC.js → chunk-POS24KGO.js} +6 -6
- package/dist/cli/{chunk-MERFSCZL.js → chunk-QSKHP36B.js} +16 -16
- package/dist/cli/{chunk-T56WZU3Q.mjs → chunk-RTP24G2N.mjs} +1 -1
- package/dist/cli/{chunk-XQSQNS73.js → chunk-SVSWKNUO.js} +1 -1
- package/dist/cli/{chunk-BIQCGMZC.js → chunk-TFFZZSOA.js} +50 -50
- package/dist/cli/{chunk-LBZGICM5.js → chunk-U57YILAD.js} +2 -2
- package/dist/cli/{chunk-RZ25NO6A.js → chunk-VFK2XNEX.js} +26 -26
- package/dist/cli/{chunk-PE4GNPHD.mjs → chunk-VN2S5AD7.mjs} +2 -2
- package/dist/cli/{chunk-MTRBEEIJ.mjs → chunk-XPZVU6DO.mjs} +1 -1
- package/dist/cli/{chunk-7HUXIWE2.mjs → chunk-XQTTO5ZK.mjs} +3 -3
- package/dist/cli/{csv-J2CGPTVS.mjs → csv-THN4ZLUI.mjs} +3 -3
- package/dist/cli/{csv-I2U2XHF2.js → csv-TKHPVZTQ.js} +12 -12
- package/dist/cli/{db-7ZYN4RSF.mjs → db-4OLJNFTE.mjs} +4 -4
- package/dist/cli/{db-ID7WE25S.js → db-JRFN65AN.js} +25 -25
- package/dist/cli/{describe-6MWB45ZF.js → describe-OER7TYUP.js} +16 -16
- package/dist/cli/{describe-KIE5HRU6.mjs → describe-PC2VEBPG.mjs} +12 -12
- package/dist/cli/{executions-NPH4K6V4.js → executions-H4GQTNRL.js} +6 -6
- package/dist/cli/{executions-UAKS7E5U.mjs → executions-UCUKWRNI.mjs} +4 -4
- package/dist/cli/{feedback-T65QHRNJ.js → feedback-4N3WCV2J.js} +7 -7
- package/dist/cli/{feedback-VGRGR5TG.mjs → feedback-GYMC5YZB.mjs} +3 -3
- package/dist/cli/{git-MHBPDHFC.mjs → git-AXXF7WZP.mjs} +4 -4
- package/dist/cli/git-LHHJFXJL.js +24 -0
- package/dist/cli/index.js +131 -131
- package/dist/cli/index.mjs +36 -36
- package/dist/cli/{legacy-noops-O27BEOS7.mjs → legacy-noops-GOH56MJB.mjs} +4 -4
- package/dist/cli/{legacy-noops-UWDPM46V.js → legacy-noops-N7OL7HA5.js} +7 -7
- package/dist/cli/{monitors-OEQ7GQ7Z.mjs → monitors-57FT6XVT.mjs} +4 -4
- package/dist/cli/{monitors-U4O52KL7.js → monitors-JH63QWM2.js} +84 -84
- package/dist/cli/{org-FKNL42W7.js → org-2XHVAWMG.js} +66 -66
- package/dist/cli/{org-TCP4TADK.mjs → org-SWUF6IMF.mjs} +4 -4
- package/dist/cli/{play-3UFJK5TR.mjs → play-5LWJRKWA.mjs} +10 -10
- package/dist/cli/{play-H2XWJ2GR.js → play-ZFOIZD4I.js} +283 -283
- package/dist/cli/{providers-ZDLZX6AB.js → providers-74MVZVMN.js} +7 -7
- package/dist/cli/{providers-SYZJQNNL.mjs → providers-D4C2JSKB.mjs} +4 -4
- package/dist/cli/{quickstart-LLZAA3YH.mjs → quickstart-2UBYYZZ2.mjs} +3 -3
- package/dist/cli/{quickstart-GPFZQF5I.js → quickstart-V2VPGBNV.js} +5 -5
- package/dist/cli/{search-XEZ6YINQ.mjs → search-AEF4GNGW.mjs} +5 -5
- package/dist/cli/search-LT23PNKG.js +30 -0
- package/dist/cli/{secrets-6LG6WSV4.js → secrets-HOPL4L2K.js} +13 -13
- package/dist/cli/{secrets-GTUPRTIQ.mjs → secrets-LSA45EST.mjs} +4 -4
- package/dist/cli/{sessions-6T7GLRAE.js → sessions-YAO2R3VM.js} +5 -5
- package/dist/cli/{sessions-FCD3L6BO.mjs → sessions-ZDW2TWJD.mjs} +4 -4
- package/dist/cli/{settings-BLS3NVLD.js → settings-5NVBSJE3.js} +75 -75
- package/dist/cli/{settings-TMJK4XRG.mjs → settings-L7VDUB4S.mjs} +8 -8
- package/dist/cli/{setup-XIWCJNVC.mjs → setup-2SNQ6KRO.mjs} +7 -7
- package/dist/cli/{setup-CLGJAUHO.js → setup-E2KCE7JQ.js} +42 -42
- package/dist/cli/{skills-CAZWF6XW.mjs → skills-3AJAHTG3.mjs} +5 -5
- package/dist/cli/skills-UOZ4C3PQ.js +29 -0
- package/dist/cli/tools-4QF5UT7T.js +44 -0
- package/dist/cli/{tools-ZW5RKTQD.mjs → tools-VSZOCX3I.mjs} +12 -12
- package/dist/cli/{update-EEAZY5SI.mjs → update-ML7WYXTR.mjs} +7 -7
- package/dist/cli/update-MQV3ZPDE.js +31 -0
- package/dist/cli/{workflow-6WUBJEPO.js → workflow-PNOMCXFA.js} +15 -15
- package/dist/cli/{workflow-QQW22LYJ.mjs → workflow-XW3F2T4N.mjs} +5 -5
- package/dist/index.js +6 -6
- package/dist/index.mjs +3 -3
- package/dist/install-integrity.json +78 -78
- 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-LQFM7AUA.js +0 -40
- package/dist/cli/git-YKUQZPWL.js +0 -24
- package/dist/cli/search-WQ77HY2K.js +0 -30
- package/dist/cli/skills-VRIWFWDM.js +0 -29
- package/dist/cli/tools-E4JIROSM.js +0 -44
- package/dist/cli/update-DFQ3SX6R.js +0 -31
|
@@ -5,7 +5,7 @@ var _chunkPQUUWFXYjs = require('./chunk-PQUUWFXY.js');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunk7DEPUMTRjs = require('./chunk-7DEPUMTR.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -48,7 +48,7 @@ var _chunkHGFFYVXNjs = require('./chunk-HGFFYVXN.js');
|
|
|
48
48
|
|
|
49
49
|
|
|
50
50
|
|
|
51
|
-
var
|
|
51
|
+
var _chunkLJE4SJYMjs = require('./chunk-LJE4SJYM.js');
|
|
52
52
|
|
|
53
53
|
|
|
54
54
|
var _chunkXDVT3GOMjs = require('./chunk-XDVT3GOM.js');
|
|
@@ -58,18 +58,18 @@ var _chunkXDVT3GOMjs = require('./chunk-XDVT3GOM.js');
|
|
|
58
58
|
|
|
59
59
|
|
|
60
60
|
|
|
61
|
-
var
|
|
61
|
+
var _chunkDXMNRVCVjs = require('./chunk-DXMNRVCV.js');
|
|
62
62
|
|
|
63
63
|
|
|
64
64
|
|
|
65
65
|
|
|
66
|
-
var
|
|
66
|
+
var _chunkU57YILADjs = require('./chunk-U57YILAD.js');
|
|
67
67
|
|
|
68
68
|
|
|
69
69
|
|
|
70
70
|
|
|
71
71
|
|
|
72
|
-
var
|
|
72
|
+
var _chunkGC7P7QC4js = require('./chunk-GC7P7QC4.js');
|
|
73
73
|
|
|
74
74
|
|
|
75
75
|
|
|
@@ -77,12 +77,12 @@ var _chunkSSPHVLOFjs = require('./chunk-SSPHVLOF.js');
|
|
|
77
77
|
|
|
78
78
|
|
|
79
79
|
|
|
80
|
-
var
|
|
80
|
+
var _chunkPOS24KGOjs = require('./chunk-POS24KGO.js');
|
|
81
81
|
|
|
82
82
|
|
|
83
83
|
|
|
84
84
|
|
|
85
|
-
var
|
|
85
|
+
var _chunk4OGNPUTAjs = require('./chunk-4OGNPUTA.js');
|
|
86
86
|
|
|
87
87
|
|
|
88
88
|
var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
|
|
@@ -161,10 +161,10 @@ var ToolCallRecovery = class _ToolCallRecovery {
|
|
|
161
161
|
}
|
|
162
162
|
};
|
|
163
163
|
function pendingToolExecutionPath(input) {
|
|
164
|
-
const config =
|
|
164
|
+
const config = _chunk4OGNPUTAjs.resolveConfig.call(void 0, );
|
|
165
165
|
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");
|
|
166
166
|
return _path.join.call(void 0,
|
|
167
|
-
|
|
167
|
+
_chunk4OGNPUTAjs.sdkCliStateDirPath.call(void 0, config.baseUrl),
|
|
168
168
|
`pending-tool-execution-${fingerprint}.json`
|
|
169
169
|
);
|
|
170
170
|
}
|
|
@@ -440,13 +440,13 @@ function categoryEnumerationRender(summaries) {
|
|
|
440
440
|
};
|
|
441
441
|
}
|
|
442
442
|
async function listToolCategories(emitJson, compact) {
|
|
443
|
-
const client = new (0,
|
|
443
|
+
const client = new (0, _chunkLJE4SJYMjs.DeeplineClient)();
|
|
444
444
|
if (!emitJson) {
|
|
445
445
|
const summaries2 = (await client.listToolCategories()).map((category) => ({
|
|
446
446
|
...category,
|
|
447
447
|
description: describeToolCategory(category.name)
|
|
448
448
|
}));
|
|
449
|
-
|
|
449
|
+
_chunkPOS24KGOjs.printCommandEnvelope.call(void 0,
|
|
450
450
|
{ categories: summaries2, render: categoryEnumerationRender(summaries2) },
|
|
451
451
|
{ json: false }
|
|
452
452
|
);
|
|
@@ -456,7 +456,7 @@ async function listToolCategories(emitJson, compact) {
|
|
|
456
456
|
const items = rawTools.map(toListedTool);
|
|
457
457
|
const summaries = aggregateCategorySummaries(rawTools);
|
|
458
458
|
const outputItems = compact ? items.map(compactTool) : items;
|
|
459
|
-
|
|
459
|
+
_chunkPOS24KGOjs.printCommandEnvelope.call(void 0,
|
|
460
460
|
{
|
|
461
461
|
tools: outputItems,
|
|
462
462
|
count: outputItems.length,
|
|
@@ -475,7 +475,7 @@ function unknownCategoryError(category, summaries, emitJson) {
|
|
|
475
475
|
const known = summaries.map((item) => item.name);
|
|
476
476
|
const message = `Unknown tool category "${category}". Run \`deepline tools list\` to browse categories.`;
|
|
477
477
|
if (emitJson) {
|
|
478
|
-
|
|
478
|
+
_chunkPOS24KGOjs.printJson.call(void 0, {
|
|
479
479
|
ok: false,
|
|
480
480
|
exitCode: 4,
|
|
481
481
|
code: "TOOL_CATEGORY_NOT_FOUND",
|
|
@@ -489,13 +489,13 @@ function unknownCategoryError(category, summaries, emitJson) {
|
|
|
489
489
|
const render = categoryEnumerationRender(summaries);
|
|
490
490
|
console.error(message);
|
|
491
491
|
console.error("");
|
|
492
|
-
console.error(
|
|
492
|
+
console.error(_chunkPOS24KGOjs.renderCommandEnvelopeText.call(void 0, { render }).trimEnd());
|
|
493
493
|
console.error("");
|
|
494
494
|
console.error(`Valid categories: ${known.join(", ")}`);
|
|
495
495
|
return 4;
|
|
496
496
|
}
|
|
497
497
|
async function listToolsInCategory(category, emitJson) {
|
|
498
|
-
const client = new (0,
|
|
498
|
+
const client = new (0, _chunkLJE4SJYMjs.DeeplineClient)();
|
|
499
499
|
const { tools: rawTools, categories } = await client.listToolsInCategory(category);
|
|
500
500
|
const summaries = categories.map((item) => ({
|
|
501
501
|
...item,
|
|
@@ -531,7 +531,7 @@ async function listToolsInCategory(category, emitJson) {
|
|
|
531
531
|
}
|
|
532
532
|
]
|
|
533
533
|
};
|
|
534
|
-
|
|
534
|
+
_chunkPOS24KGOjs.printCommandEnvelope.call(void 0,
|
|
535
535
|
{
|
|
536
536
|
category,
|
|
537
537
|
total: rows.length,
|
|
@@ -544,7 +544,7 @@ async function listToolsInCategory(category, emitJson) {
|
|
|
544
544
|
return 0;
|
|
545
545
|
}
|
|
546
546
|
async function listToolsForCategoryFilter(requestedCategories, emitJson, compact) {
|
|
547
|
-
const client = new (0,
|
|
547
|
+
const client = new (0, _chunkLJE4SJYMjs.DeeplineClient)();
|
|
548
548
|
const items = (await client.listTools({
|
|
549
549
|
categories: requestedCategories.join(","),
|
|
550
550
|
compact
|
|
@@ -573,7 +573,7 @@ async function listToolsForCategoryFilter(requestedCategories, emitJson, compact
|
|
|
573
573
|
]
|
|
574
574
|
};
|
|
575
575
|
const outputItems = compact ? items.map(compactTool) : items;
|
|
576
|
-
|
|
576
|
+
_chunkPOS24KGOjs.printCommandEnvelope.call(void 0,
|
|
577
577
|
{
|
|
578
578
|
tools: outputItems,
|
|
579
579
|
count: outputItems.length,
|
|
@@ -592,13 +592,13 @@ async function listTools(category, options = {}) {
|
|
|
592
592
|
const positional = _nullishCoalesce(_optionalChain([category, 'optionalAccess', _10 => _10.trim, 'call', _11 => _11()]), () => ( ""));
|
|
593
593
|
const flagCategories = (_nullishCoalesce(options.categories, () => ( ""))).split(",").map((item) => item.trim()).filter(Boolean);
|
|
594
594
|
const compact = options.compact !== false;
|
|
595
|
-
const emitJson = options.json === true ||
|
|
595
|
+
const emitJson = options.json === true || _chunkPOS24KGOjs.shouldEmitJson.call(void 0, );
|
|
596
596
|
if (positional && flagCategories.length > 0) {
|
|
597
597
|
const flagIsSameSingle = flagCategories.length === 1 && flagCategories[0] === positional;
|
|
598
598
|
if (!flagIsSameSingle) {
|
|
599
599
|
const message = `Category "${positional}" and --categories ${flagCategories.join(",")} disagree. Pass one: deepline tools list ${positional}`;
|
|
600
600
|
if (emitJson) {
|
|
601
|
-
|
|
601
|
+
_chunkPOS24KGOjs.printJson.call(void 0, {
|
|
602
602
|
ok: false,
|
|
603
603
|
exitCode: 2,
|
|
604
604
|
code: "TOOL_LIST_CATEGORY_CONFLICT",
|
|
@@ -625,7 +625,7 @@ async function grepTools(queryInput, options = {}) {
|
|
|
625
625
|
console.error("Usage: deepline tools grep <query> [--json]");
|
|
626
626
|
return 1;
|
|
627
627
|
}
|
|
628
|
-
const client = new (0,
|
|
628
|
+
const client = new (0, _chunkLJE4SJYMjs.DeeplineClient)();
|
|
629
629
|
const requestedCategories = options.categories ? options.categories.split(",").map((item) => item.trim()).filter(Boolean) : [];
|
|
630
630
|
const mode = _nullishCoalesce(options.mode, () => ( "all"));
|
|
631
631
|
const jsonOutput = options.json === true;
|
|
@@ -649,7 +649,7 @@ async function grepTools(queryInput, options = {}) {
|
|
|
649
649
|
query,
|
|
650
650
|
mode
|
|
651
651
|
}) : null;
|
|
652
|
-
|
|
652
|
+
_chunkPOS24KGOjs.printCommandEnvelope.call(void 0,
|
|
653
653
|
{
|
|
654
654
|
tools: outputTools,
|
|
655
655
|
count: outputTools.length,
|
|
@@ -667,7 +667,7 @@ async function grepTools(queryInput, options = {}) {
|
|
|
667
667
|
} : {},
|
|
668
668
|
commandTemplates: TOOL_COMMAND_TEMPLATES
|
|
669
669
|
},
|
|
670
|
-
{ json: options.json ||
|
|
670
|
+
{ json: options.json || _chunkPOS24KGOjs.shouldEmitJson.call(void 0, ) }
|
|
671
671
|
);
|
|
672
672
|
return 0;
|
|
673
673
|
}
|
|
@@ -778,7 +778,7 @@ Output:
|
|
|
778
778
|
if (options.preset !== void 0 && (options.scopes !== void 0 || options.optionalScopes !== void 0))
|
|
779
779
|
throw new Error("Use --preset or individual scopes, not both.");
|
|
780
780
|
const splitScopes = (value) => value.split(",").map((scope) => scope.trim()).filter(Boolean);
|
|
781
|
-
const result2 = await new (0,
|
|
781
|
+
const result2 = await new (0, _chunkLJE4SJYMjs.DeeplineClient)().startIntegrationOAuth(
|
|
782
782
|
provider,
|
|
783
783
|
{
|
|
784
784
|
...options.preset !== void 0 ? { preset: options.preset } : {},
|
|
@@ -790,7 +790,7 @@ Output:
|
|
|
790
790
|
throw new Error(
|
|
791
791
|
"The API did not return an OAuth authorization URL."
|
|
792
792
|
);
|
|
793
|
-
if (
|
|
793
|
+
if (_chunkPOS24KGOjs.shouldEmitJson.call(void 0, options.json))
|
|
794
794
|
console.log(
|
|
795
795
|
JSON.stringify({ provider, redirect_url: result2.redirect_url })
|
|
796
796
|
);
|
|
@@ -816,7 +816,7 @@ Output:
|
|
|
816
816
|
"--credentials-file must contain a nonempty JSON object of string credential values."
|
|
817
817
|
);
|
|
818
818
|
}
|
|
819
|
-
const result = await new (0,
|
|
819
|
+
const result = await new (0, _chunkLJE4SJYMjs.DeeplineClient)().setIntegrationCredentials(
|
|
820
820
|
provider,
|
|
821
821
|
credentials
|
|
822
822
|
);
|
|
@@ -826,7 +826,7 @@ Output:
|
|
|
826
826
|
);
|
|
827
827
|
}
|
|
828
828
|
const confirmation = { provider, credential_saved: true };
|
|
829
|
-
if (
|
|
829
|
+
if (_chunkPOS24KGOjs.shouldEmitJson.call(void 0, options.json))
|
|
830
830
|
console.log(JSON.stringify(confirmation));
|
|
831
831
|
else
|
|
832
832
|
console.log(
|
|
@@ -866,7 +866,7 @@ Examples:
|
|
|
866
866
|
json: Boolean(options.json)
|
|
867
867
|
});
|
|
868
868
|
});
|
|
869
|
-
|
|
869
|
+
_chunk7DEPUMTRjs.registerDeprecatedSearchCommand.call(void 0, tools, () => ["tools", "monitors"]);
|
|
870
870
|
tools.command("grep <query>").description(
|
|
871
871
|
"Regex grep over tool ids, descriptions, categories, and input fields."
|
|
872
872
|
).addHelpText(
|
|
@@ -901,7 +901,7 @@ Examples:
|
|
|
901
901
|
});
|
|
902
902
|
const addToolMetadataCommand = (command) => {
|
|
903
903
|
let compatibilityMetadata;
|
|
904
|
-
|
|
904
|
+
_chunkDXMNRVCVjs.registerCompatibilityCatalog.call(void 0, command, () => ({
|
|
905
905
|
toolId: command.args[0],
|
|
906
906
|
acceptMetadata: (metadata) => {
|
|
907
907
|
compatibilityMetadata = metadata;
|
|
@@ -971,7 +971,7 @@ Examples:
|
|
|
971
971
|
process.exitCode = await narrowView();
|
|
972
972
|
return;
|
|
973
973
|
}
|
|
974
|
-
const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-
|
|
974
|
+
const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-OER7TYUP.js")));
|
|
975
975
|
process.exitCode = await describeAnything(
|
|
976
976
|
toolId,
|
|
977
977
|
{
|
|
@@ -1055,7 +1055,7 @@ Examples:
|
|
|
1055
1055
|
options,
|
|
1056
1056
|
void 0,
|
|
1057
1057
|
true,
|
|
1058
|
-
|
|
1058
|
+
_chunkU57YILADjs.resolveCliMaintenancePolicy.call(void 0, command.optsWithGlobals())
|
|
1059
1059
|
);
|
|
1060
1060
|
}
|
|
1061
1061
|
);
|
|
@@ -1063,13 +1063,13 @@ Examples:
|
|
|
1063
1063
|
function beginDeferredToolExecuteCompatibility(toolId, cliInvocationId) {
|
|
1064
1064
|
let metadata;
|
|
1065
1065
|
const startedAt = performance.now();
|
|
1066
|
-
const baseUrl =
|
|
1067
|
-
|
|
1068
|
-
const result =
|
|
1066
|
+
const baseUrl = _chunk4OGNPUTAjs.resolveConfig.call(void 0, ).baseUrl;
|
|
1067
|
+
_chunkU57YILADjs.recordCliTrace.call(void 0, { phase: "cli.tool_execute_compatibility_start" });
|
|
1068
|
+
const result = _chunkDXMNRVCVjs.runToolExecuteStage.call(void 0,
|
|
1069
1069
|
"SDK compatibility",
|
|
1070
|
-
() =>
|
|
1070
|
+
() => _chunkGC7P7QC4js.checkSdkCompatibility.call(void 0, baseUrl, {
|
|
1071
1071
|
command: "tools execute",
|
|
1072
|
-
skillsVersion:
|
|
1072
|
+
skillsVersion: _chunk4OGNPUTAjs.readSdkSkillsLocalVersion.call(void 0, baseUrl),
|
|
1073
1073
|
persistCache: false,
|
|
1074
1074
|
timeoutMs: TOOL_EXECUTE_PREFLIGHT_TIMEOUT_MS,
|
|
1075
1075
|
catalog: {
|
|
@@ -1083,7 +1083,7 @@ function beginDeferredToolExecuteCompatibility(toolId, cliInvocationId) {
|
|
|
1083
1083
|
})
|
|
1084
1084
|
).then(
|
|
1085
1085
|
(compatibility) => {
|
|
1086
|
-
|
|
1086
|
+
_chunkU57YILADjs.recordCliTrace.call(void 0, {
|
|
1087
1087
|
phase: "cli.tool_execute_compatibility_ready",
|
|
1088
1088
|
ms: performance.now() - startedAt,
|
|
1089
1089
|
ok: compatibility.error === null,
|
|
@@ -1092,7 +1092,7 @@ function beginDeferredToolExecuteCompatibility(toolId, cliInvocationId) {
|
|
|
1092
1092
|
return compatibility;
|
|
1093
1093
|
},
|
|
1094
1094
|
(error) => {
|
|
1095
|
-
|
|
1095
|
+
_chunkU57YILADjs.recordCliTrace.call(void 0, {
|
|
1096
1096
|
phase: "cli.tool_execute_compatibility_ready",
|
|
1097
1097
|
ms: performance.now() - startedAt,
|
|
1098
1098
|
ok: false
|
|
@@ -1107,7 +1107,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
|
|
|
1107
1107
|
console.error("Usage: deepline tools describe <toolId> [--json]");
|
|
1108
1108
|
return 1;
|
|
1109
1109
|
}
|
|
1110
|
-
const client = new (0,
|
|
1110
|
+
const client = new (0, _chunkLJE4SJYMjs.DeeplineClient)();
|
|
1111
1111
|
let tool;
|
|
1112
1112
|
try {
|
|
1113
1113
|
tool = await _asyncNullishCoalesce(compatibilityMetadata, async () => ( await client.getTool(toolId)));
|
|
@@ -1161,7 +1161,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
|
|
|
1161
1161
|
const lines = toolPricingOnlyLines(tool, toolId);
|
|
1162
1162
|
if (inferenceQuote)
|
|
1163
1163
|
lines.push(...inferenceQuoteSummaryLines(inferenceQuote));
|
|
1164
|
-
|
|
1164
|
+
_chunkPOS24KGOjs.printCommandEnvelope.call(void 0,
|
|
1165
1165
|
{
|
|
1166
1166
|
toolId: String(tool.toolId || toolId),
|
|
1167
1167
|
cost: _chunkZM2YPJQJjs.Capability.fromCatalogEntry(tool).describe().customerCost(),
|
|
@@ -1184,7 +1184,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
|
|
|
1184
1184
|
void 0,
|
|
1185
1185
|
seedToolListScript
|
|
1186
1186
|
);
|
|
1187
|
-
|
|
1187
|
+
_chunkPOS24KGOjs.printCompactJson.call(void 0, {
|
|
1188
1188
|
toolId: contract.toolId,
|
|
1189
1189
|
...options.schemaOnly ? {
|
|
1190
1190
|
inputSchema: contract.inputSchema,
|
|
@@ -1207,7 +1207,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
|
|
|
1207
1207
|
return 0;
|
|
1208
1208
|
}
|
|
1209
1209
|
if (options.contractJson) {
|
|
1210
|
-
|
|
1210
|
+
_chunkPOS24KGOjs.printCompactJson.call(void 0, {
|
|
1211
1211
|
..._chunkZ2GUFYT6js.toolContractJsonForDescribe.call(void 0,
|
|
1212
1212
|
tool,
|
|
1213
1213
|
toolId,
|
|
@@ -1221,7 +1221,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
|
|
|
1221
1221
|
}
|
|
1222
1222
|
const emitJson = options.json === true;
|
|
1223
1223
|
if (emitJson) {
|
|
1224
|
-
|
|
1224
|
+
_chunkPOS24KGOjs.printCompactJson.call(void 0, {
|
|
1225
1225
|
..._chunkZ2GUFYT6js.toolMetadataJsonForDescribe.call(void 0, tool, toolId, seedToolListScript),
|
|
1226
1226
|
...modelDescription ? { modelOptions: modelDescription } : {},
|
|
1227
1227
|
...inferenceQuote ? { inferenceQuote } : {}
|
|
@@ -2083,7 +2083,7 @@ function parseExecuteOptions(toolId, options, output) {
|
|
|
2083
2083
|
outputFormat = normalizeOutputFormat(options.outputFormat);
|
|
2084
2084
|
}
|
|
2085
2085
|
if (options.idempotencyKey !== void 0) {
|
|
2086
|
-
|
|
2086
|
+
_chunkLJE4SJYMjs.validateExecutionIdempotencyKey.call(void 0, options.idempotencyKey);
|
|
2087
2087
|
}
|
|
2088
2088
|
if (options.recoveryTimeoutMs !== void 0) {
|
|
2089
2089
|
const parsed = Number(options.recoveryTimeoutMs);
|
|
@@ -2404,19 +2404,19 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
|
|
|
2404
2404
|
parsed = parseExecuteOptions(toolId, options, output);
|
|
2405
2405
|
} catch (error) {
|
|
2406
2406
|
if (wantsJson) {
|
|
2407
|
-
|
|
2407
|
+
_chunkPOS24KGOjs.printJsonError.call(void 0, error);
|
|
2408
2408
|
} else {
|
|
2409
2409
|
console.error(error instanceof Error ? error.message : String(error));
|
|
2410
2410
|
}
|
|
2411
2411
|
return error instanceof _chunkDIAWYWT5js.DeeplineError && error.code === "IDEMPOTENCY_KEY_INVALID" ? 2 : 1;
|
|
2412
2412
|
}
|
|
2413
|
-
const cliInvocationId = _nullishCoalesce(
|
|
2413
|
+
const cliInvocationId = _nullishCoalesce(_chunkDXMNRVCVjs.getToolExecuteInvocationId.call(void 0, ), () => ( _chunkDXMNRVCVjs.beginToolExecuteCommand.call(void 0, )));
|
|
2414
2414
|
const deferredCompatibility = deferCompatibility ? beginDeferredToolExecuteCompatibility(toolId, cliInvocationId) : void 0;
|
|
2415
|
-
const tracing =
|
|
2415
|
+
const tracing = _chunkU57YILADjs.isCliTraceEnabled.call(void 0, );
|
|
2416
2416
|
const clientStartedAt = tracing ? performance.now() : void 0;
|
|
2417
|
-
const client = new (0,
|
|
2417
|
+
const client = new (0, _chunkLJE4SJYMjs.DeeplineClient)();
|
|
2418
2418
|
if (clientStartedAt !== void 0) {
|
|
2419
|
-
|
|
2419
|
+
_chunkU57YILADjs.recordCliTrace.call(void 0, {
|
|
2420
2420
|
phase: "cli.tool_execute_client_setup",
|
|
2421
2421
|
ms: performance.now() - clientStartedAt
|
|
2422
2422
|
});
|
|
@@ -2425,13 +2425,13 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
|
|
|
2425
2425
|
const readMetadata = async () => {
|
|
2426
2426
|
if (metadata) return metadata;
|
|
2427
2427
|
try {
|
|
2428
|
-
metadata = await
|
|
2428
|
+
metadata = await _chunkDXMNRVCVjs.runToolExecuteStage.call(void 0,
|
|
2429
2429
|
"tool metadata lookup",
|
|
2430
2430
|
() => client.getTool(parsed.toolId, { cliInvocationId })
|
|
2431
2431
|
);
|
|
2432
2432
|
} catch (error) {
|
|
2433
2433
|
if (isMissingToolMetadataError(error)) {
|
|
2434
|
-
const play = await
|
|
2434
|
+
const play = await _chunkDXMNRVCVjs.runToolExecuteStage.call(void 0,
|
|
2435
2435
|
"play alias lookup",
|
|
2436
2436
|
() => findPlayForToolId(client, parsed.toolId, cliInvocationId)
|
|
2437
2437
|
);
|
|
@@ -2470,7 +2470,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
|
|
|
2470
2470
|
metadata = await readMetadata();
|
|
2471
2471
|
} catch (error) {
|
|
2472
2472
|
if (error instanceof _chunkDIAWYWT5js.DeeplineError && error.code === "PLAY_ALIAS_USED_AS_TOOL") {
|
|
2473
|
-
if (wantsJson)
|
|
2473
|
+
if (wantsJson) _chunkPOS24KGOjs.printJsonError.call(void 0, error);
|
|
2474
2474
|
else console.error(error.message);
|
|
2475
2475
|
return 2;
|
|
2476
2476
|
}
|
|
@@ -2486,7 +2486,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
|
|
|
2486
2486
|
metadata = await readMetadata();
|
|
2487
2487
|
} catch (error) {
|
|
2488
2488
|
if (error instanceof _chunkDIAWYWT5js.DeeplineError && error.code === "PLAY_ALIAS_USED_AS_TOOL") {
|
|
2489
|
-
if (wantsJson)
|
|
2489
|
+
if (wantsJson) _chunkPOS24KGOjs.printJsonError.call(void 0, error);
|
|
2490
2490
|
else console.error(error.message);
|
|
2491
2491
|
return 2;
|
|
2492
2492
|
}
|
|
@@ -2512,11 +2512,11 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
|
|
|
2512
2512
|
responseIntent,
|
|
2513
2513
|
...idempotencyKey ? { idempotencyKey } : {},
|
|
2514
2514
|
...parsed.recoveryTimeoutMs !== void 0 ? { recoveryTimeoutMs: parsed.recoveryTimeoutMs } : {},
|
|
2515
|
-
searchRef:
|
|
2515
|
+
searchRef: _chunk7DEPUMTRjs.recentSearchRef.call(void 0, ),
|
|
2516
2516
|
cliInvocationId,
|
|
2517
2517
|
onResponseReceived: _chunkPQUUWFXYjs.recordApiResponse,
|
|
2518
2518
|
...tracing ? {
|
|
2519
|
-
onServerTiming: (serverTiming) =>
|
|
2519
|
+
onServerTiming: (serverTiming) => _chunkU57YILADjs.recordCliTrace.call(void 0, {
|
|
2520
2520
|
phase: "tool_execute_server_timing",
|
|
2521
2521
|
cliInvocationId,
|
|
2522
2522
|
serverTiming,
|
|
@@ -2527,13 +2527,13 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
|
|
|
2527
2527
|
let rawResponse;
|
|
2528
2528
|
let successfulCompatibilityResponse;
|
|
2529
2529
|
try {
|
|
2530
|
-
const executeResult = await
|
|
2530
|
+
const executeResult = await _chunkDXMNRVCVjs.runToolExecuteStage.call(void 0,
|
|
2531
2531
|
"execute request",
|
|
2532
2532
|
async () => {
|
|
2533
2533
|
try {
|
|
2534
2534
|
if (tracing) {
|
|
2535
2535
|
submissionStartedAt = performance.now();
|
|
2536
|
-
|
|
2536
|
+
_chunkU57YILADjs.recordCliTrace.call(void 0, { phase: "cli.tool_execute_request_start" });
|
|
2537
2537
|
}
|
|
2538
2538
|
return await client.executeTool(parsed.toolId, parsed.params, {
|
|
2539
2539
|
...executeOptions,
|
|
@@ -2542,34 +2542,34 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
|
|
|
2542
2542
|
} catch (error) {
|
|
2543
2543
|
if (!(error instanceof _chunkDIAWYWT5js.DeeplineError) || error.code !== "ATOMIC_TOOL_EXECUTE_UNSUPPORTED")
|
|
2544
2544
|
throw error;
|
|
2545
|
-
const baseUrl =
|
|
2545
|
+
const baseUrl = _chunk4OGNPUTAjs.resolveConfig.call(void 0, ).baseUrl;
|
|
2546
2546
|
if (maintenancePolicy !== "off") {
|
|
2547
|
-
|
|
2547
|
+
_chunkGC7P7QC4js.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
|
|
2548
2548
|
}
|
|
2549
|
-
const compatibility = deferredCompatibility ? await deferredCompatibility.result : await
|
|
2549
|
+
const compatibility = deferredCompatibility ? await deferredCompatibility.result : await _chunkDXMNRVCVjs.runToolExecuteStage.call(void 0,
|
|
2550
2550
|
"SDK compatibility",
|
|
2551
|
-
() =>
|
|
2551
|
+
() => _chunkGC7P7QC4js.checkSdkCompatibility.call(void 0, baseUrl, {
|
|
2552
2552
|
command: "tools execute",
|
|
2553
|
-
skillsVersion:
|
|
2553
|
+
skillsVersion: _chunk4OGNPUTAjs.readSdkSkillsLocalVersion.call(void 0, baseUrl),
|
|
2554
2554
|
persistCache: maintenancePolicy !== "off"
|
|
2555
2555
|
})
|
|
2556
2556
|
);
|
|
2557
2557
|
if (compatibility.error) throw compatibility.error;
|
|
2558
2558
|
metadata = _nullishCoalesce(_optionalChain([deferredCompatibility, 'optionalAccess', _28 => _28.readMetadata, 'call', _29 => _29()]), () => ( metadata));
|
|
2559
|
-
if (maintenancePolicy !== "off" && await
|
|
2559
|
+
if (maintenancePolicy !== "off" && await _chunkDXMNRVCVjs.maybeAutoUpdateAndRelaunch.call(void 0,
|
|
2560
2560
|
compatibility.response,
|
|
2561
2561
|
baseUrl,
|
|
2562
2562
|
maintenancePolicy
|
|
2563
2563
|
)) {
|
|
2564
2564
|
return void 0;
|
|
2565
2565
|
}
|
|
2566
|
-
|
|
2566
|
+
_chunkGC7P7QC4js.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
|
|
2567
2567
|
quietAdvisory: wantsJson
|
|
2568
2568
|
});
|
|
2569
2569
|
if (maintenancePolicy !== "off") {
|
|
2570
|
-
await
|
|
2570
|
+
await _chunkDXMNRVCVjs.runToolExecuteStage.call(void 0,
|
|
2571
2571
|
"agent skills sync",
|
|
2572
|
-
() =>
|
|
2572
|
+
() => _chunkGC7P7QC4js.syncSdkSkillsIfNeeded.call(void 0, baseUrl, {
|
|
2573
2573
|
update: _optionalChain([compatibility, 'access', _30 => _30.response, 'optionalAccess', _31 => _31.skills]),
|
|
2574
2574
|
mode: "detached"
|
|
2575
2575
|
})
|
|
@@ -2578,7 +2578,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
|
|
|
2578
2578
|
const legacyMetadata = await readMetadata();
|
|
2579
2579
|
if (tracing) {
|
|
2580
2580
|
submissionStartedAt = performance.now();
|
|
2581
|
-
|
|
2581
|
+
_chunkU57YILADjs.recordCliTrace.call(void 0, { phase: "cli.tool_execute_request_start" });
|
|
2582
2582
|
}
|
|
2583
2583
|
return client.executeTool(parsed.toolId, parsed.params, {
|
|
2584
2584
|
...executeOptions,
|
|
@@ -2599,8 +2599,8 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
|
|
|
2599
2599
|
metadata = _nullishCoalesce(deferredCompatibility.readMetadata(), () => ( metadata));
|
|
2600
2600
|
const updateRequiredBeforeExecution = error instanceof _chunkDIAWYWT5js.DeeplineError && error.code === "SDK_UPDATE_REQUIRED";
|
|
2601
2601
|
if (updateRequiredBeforeExecution && maintenancePolicy !== "off" && compatibility && !compatibility.error) {
|
|
2602
|
-
const baseUrl =
|
|
2603
|
-
if (await
|
|
2602
|
+
const baseUrl = _chunk4OGNPUTAjs.resolveConfig.call(void 0, ).baseUrl;
|
|
2603
|
+
if (await _chunkDXMNRVCVjs.maybeAutoUpdateAndRelaunch.call(void 0,
|
|
2604
2604
|
compatibility.response,
|
|
2605
2605
|
baseUrl,
|
|
2606
2606
|
maintenancePolicy
|
|
@@ -2619,7 +2619,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
|
|
|
2619
2619
|
failure = diagnosticError;
|
|
2620
2620
|
}
|
|
2621
2621
|
if (failure instanceof _chunkDIAWYWT5js.DeeplineError && failure.code === "PLAY_ALIAS_USED_AS_TOOL") {
|
|
2622
|
-
if (wantsJson)
|
|
2622
|
+
if (wantsJson) _chunkPOS24KGOjs.printJsonError.call(void 0, failure);
|
|
2623
2623
|
else console.error(failure.message);
|
|
2624
2624
|
return 2;
|
|
2625
2625
|
}
|
|
@@ -2646,9 +2646,9 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
|
|
|
2646
2646
|
successfulCompatibilityResponse = _nullishCoalesce(compatibilityResponse, () => ( void 0));
|
|
2647
2647
|
const autoUpdate = _optionalChain([compatibilityResponse, 'optionalAccess', _37 => _37.auto_update]);
|
|
2648
2648
|
if (maintenancePolicy !== "off" && compatibilityResponse && _optionalChain([autoUpdate, 'optionalAccess', _38 => _38.should_auto_update]) && !autoUpdate.required && autoUpdate.reason !== "rollback_forced") {
|
|
2649
|
-
await
|
|
2649
|
+
await _chunkDXMNRVCVjs.maybeAutoUpdateAndRelaunch.call(void 0,
|
|
2650
2650
|
compatibilityResponse,
|
|
2651
|
-
|
|
2651
|
+
_chunk4OGNPUTAjs.resolveConfig.call(void 0, ).baseUrl,
|
|
2652
2652
|
maintenancePolicy
|
|
2653
2653
|
);
|
|
2654
2654
|
}
|
|
@@ -2683,7 +2683,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
|
|
|
2683
2683
|
const { _metadata, ...execution } = rawResponse;
|
|
2684
2684
|
rawResponse = execution;
|
|
2685
2685
|
}
|
|
2686
|
-
const { listConversion, summary, baseEnvelope } = await
|
|
2686
|
+
const { listConversion, summary, baseEnvelope } = await _chunkDXMNRVCVjs.runToolExecuteStage.call(void 0,
|
|
2687
2687
|
"result formatting",
|
|
2688
2688
|
async () => {
|
|
2689
2689
|
const listConversion2 = _chunkHGFFYVXNjs.tryConvertToList.call(void 0, rawResponse, {
|
|
@@ -2718,9 +2718,9 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
|
|
|
2718
2718
|
}
|
|
2719
2719
|
skillsSyncAttempted = true;
|
|
2720
2720
|
try {
|
|
2721
|
-
await
|
|
2721
|
+
await _chunkDXMNRVCVjs.runToolExecuteStage.call(void 0,
|
|
2722
2722
|
"agent skills sync",
|
|
2723
|
-
() =>
|
|
2723
|
+
() => _chunkGC7P7QC4js.syncSdkSkillsIfNeeded.call(void 0, _chunk4OGNPUTAjs.resolveConfig.call(void 0, ).baseUrl, {
|
|
2724
2724
|
update: deliveredCompatibilityResponse.skills,
|
|
2725
2725
|
mode: "detached"
|
|
2726
2726
|
})
|
|
@@ -2731,15 +2731,15 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
|
|
|
2731
2731
|
);
|
|
2732
2732
|
}
|
|
2733
2733
|
};
|
|
2734
|
-
const printDeliveredEnvelope = (envelope, options2 = {}) =>
|
|
2734
|
+
const printDeliveredEnvelope = (envelope, options2 = {}) => _chunkPOS24KGOjs.printCommandEnvelope.call(void 0, envelope, {
|
|
2735
2735
|
...options2,
|
|
2736
2736
|
json: _nullishCoalesce(options2.json, () => ( wantsJson))
|
|
2737
2737
|
});
|
|
2738
2738
|
const printDeliveredJsonEnvelope = async (envelope, options2 = {}) => {
|
|
2739
2739
|
await syncSkillsForDeliveredOutput();
|
|
2740
|
-
|
|
2740
|
+
_chunkPOS24KGOjs.printCommandEnvelope.call(void 0, envelope, { ...options2, json: true });
|
|
2741
2741
|
};
|
|
2742
|
-
const delivered = await
|
|
2742
|
+
const delivered = await _chunkDXMNRVCVjs.runToolExecuteStage.call(void 0, "output delivery", async () => {
|
|
2743
2743
|
if (!parsed.outPath && (parsed.outputFormat === "json" || parsed.outputFormat === "auto" && wantsJson)) {
|
|
2744
2744
|
await printDeliveredJsonEnvelope(baseEnvelope);
|
|
2745
2745
|
return true;
|
|
@@ -2768,7 +2768,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
|
|
|
2768
2768
|
`${parsed.toolId} did not expose row-shaped output to write as CSV. ${inspection.inspectDescription} Run: ${inspection.inspect}`
|
|
2769
2769
|
);
|
|
2770
2770
|
if (wantsJson) {
|
|
2771
|
-
|
|
2771
|
+
_chunkPOS24KGOjs.printJsonError.call(void 0, error);
|
|
2772
2772
|
} else {
|
|
2773
2773
|
console.error(error.message);
|
|
2774
2774
|
}
|
|
@@ -2863,13 +2863,13 @@ inspect: ${inspection.inspect}
|
|
|
2863
2863
|
return true;
|
|
2864
2864
|
});
|
|
2865
2865
|
if (delivered) {
|
|
2866
|
-
await
|
|
2866
|
+
await _chunkDXMNRVCVjs.runToolExecuteStage.call(void 0,
|
|
2867
2867
|
"acknowledge delivery",
|
|
2868
2868
|
() => recovery.acknowledgeDelivery()
|
|
2869
2869
|
);
|
|
2870
2870
|
}
|
|
2871
2871
|
if (delivered && deliveredCompatibilityResponse && deliveredCompatibilityResponse.update_required !== true) {
|
|
2872
|
-
|
|
2872
|
+
_chunkGC7P7QC4js.enforceSdkCompatibilityResponse.call(void 0, deliveredCompatibilityResponse, {
|
|
2873
2873
|
quietAdvisory: wantsJson || maintenancePolicy === "off" || _optionalChain([deliveredCompatibilityResponse, 'access', _40 => _40.auto_update, 'optionalAccess', _41 => _41.should_auto_update]) === true
|
|
2874
2874
|
});
|
|
2875
2875
|
}
|
|
@@ -4,18 +4,18 @@ import {
|
|
|
4
4
|
resolveUpdatePlan,
|
|
5
5
|
runAutomaticUpdatePlan,
|
|
6
6
|
shouldRunCliAutoUpdate
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-AWV47AZQ.mjs";
|
|
8
8
|
import {
|
|
9
9
|
isCiEnvironment
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-XQTTO5ZK.mjs";
|
|
11
11
|
import {
|
|
12
12
|
addJsonNotice,
|
|
13
13
|
isJsonOutputMode
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-XPZVU6DO.mjs";
|
|
15
15
|
import {
|
|
16
16
|
SDK_VERSION,
|
|
17
17
|
resolveApiKeyForBaseUrl
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-RTP24G2N.mjs";
|
|
19
19
|
|
|
20
20
|
// src/cli/compatibility-catalog.ts
|
|
21
21
|
var readers = /* @__PURE__ */ new WeakMap();
|
|
@@ -17,7 +17,7 @@ var _chunkXNYIZMNQjs = require('./chunk-XNYIZMNQ.js');
|
|
|
17
17
|
var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
20
|
+
var _chunkSVSWKNUOjs = require('./chunk-SVSWKNUO.js');
|
|
21
21
|
|
|
22
22
|
// src/config.ts
|
|
23
23
|
|
|
@@ -649,9 +649,9 @@ function resolveCliCommandContext(inputConfig, requestedScope) {
|
|
|
649
649
|
}
|
|
650
650
|
|
|
651
651
|
// src/version.ts
|
|
652
|
-
var SDK_VERSION =
|
|
653
|
-
var SDK_API_MAJOR =
|
|
654
|
-
var SDK_API_CONTRACT = _nullishCoalesce(
|
|
652
|
+
var SDK_VERSION = _chunkSVSWKNUOjs.SDK_RELEASE.version;
|
|
653
|
+
var SDK_API_MAJOR = _chunkSVSWKNUOjs.SDK_RELEASE.contracts.api.currentMajor;
|
|
654
|
+
var SDK_API_CONTRACT = _nullishCoalesce(_chunkSVSWKNUOjs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
|
|
655
655
|
|
|
656
656
|
// src/agent-runtime.ts
|
|
657
657
|
|