deepline 0.3.417 → 0.3.419
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/sdk/src/types.ts +2 -0
- package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +21 -2
- package/dist/bundling-sources/shared_libs/plays/tool-category-descriptions.ts +9 -0
- package/dist/cli/{auth-2WNDS7OY.mjs → auth-S4XGFFWB.mjs} +4 -4
- package/dist/cli/auth-SF265NLP.js +40 -0
- package/dist/cli/{billing-4Z7QGTTO.mjs → billing-3MM7VKKA.mjs} +4 -4
- package/dist/cli/{billing-P26TYS3F.js → billing-WQMBRCK3.js} +73 -73
- package/dist/cli/{chunk-MRBM5H5V.mjs → chunk-2ADW356Z.mjs} +4 -4
- package/dist/cli/{chunk-Y2HY7GL3.js → chunk-2MQXRENZ.js} +20 -20
- package/dist/cli/{chunk-EHGFSE44.js → chunk-2Y2RQZRO.js} +1 -1
- package/dist/cli/{chunk-RRBYMSN6.mjs → chunk-3NUJRZN5.mjs} +2 -2
- package/dist/cli/{chunk-A3G7FZXB.js → chunk-5R3CAKPM.js} +35 -35
- package/dist/cli/{chunk-Z7IVSY3A.mjs → chunk-6LLEMZL5.mjs} +3 -3
- package/dist/cli/{chunk-3U6CYHMT.mjs → chunk-7IXS77PX.mjs} +1 -1
- package/dist/cli/{chunk-NATVQHG6.mjs → chunk-BQIUAAPX.mjs} +5 -5
- package/dist/cli/{chunk-C3YRH3EQ.js → chunk-CKAQIJTU.js} +2 -2
- package/dist/cli/{chunk-3FPDXTYQ.js → chunk-D4P53G7A.js} +16 -16
- package/dist/cli/{chunk-L5YPTOLF.js → chunk-EP5EVGFD.js} +10 -10
- package/dist/cli/{chunk-CCRV2MCO.mjs → chunk-EPMYNLKZ.mjs} +1 -1
- package/dist/cli/{chunk-IX6CRC7R.js → chunk-GEHD7ZHY.js} +6 -6
- package/dist/cli/{chunk-GRIE5VE3.mjs → chunk-IK3XE6GT.mjs} +1 -1
- package/dist/cli/{chunk-W2DLQJ35.mjs → chunk-JKDMQDJD.mjs} +3 -3
- package/dist/cli/{chunk-OW7VBN4Q.js → chunk-JUBHX5FK.js} +6 -6
- package/dist/cli/{chunk-H25KUAJM.mjs → chunk-KABBXKFO.mjs} +1 -1
- package/dist/cli/{chunk-YGZV4IVP.js → chunk-LA7V3VIF.js} +85 -79
- package/dist/cli/{chunk-723EDOP2.mjs → chunk-LB7PZRYJ.mjs} +2 -2
- package/dist/cli/{chunk-IHHPUALO.mjs → chunk-LIZP3TPY.mjs} +1 -1
- package/dist/cli/{chunk-ECKCIGJC.mjs → chunk-MUVGAGXH.mjs} +1 -1
- package/dist/cli/{chunk-ULGMHMTD.js → chunk-NJI4U7IR.js} +8 -8
- package/dist/cli/{chunk-R7HAELOE.js → chunk-NPXUFHMI.js} +52 -52
- package/dist/cli/{chunk-TNFYPFMU.mjs → chunk-OVMJ57X5.mjs} +14 -8
- package/dist/cli/{chunk-H67BP5SQ.mjs → chunk-PGHT4ESO.mjs} +3 -3
- package/dist/cli/{chunk-OLCY3CTW.js → chunk-PR5T2MON.js} +2 -2
- package/dist/cli/{chunk-5D477CAK.js → chunk-THGNECIR.js} +8 -8
- package/dist/cli/{chunk-WRM2OWWT.mjs → chunk-TLGTZ2XN.mjs} +2 -2
- package/dist/cli/{chunk-QLP4Z6JG.js → chunk-VZSBJVI4.js} +4 -4
- package/dist/cli/{chunk-ZJFUKGDR.js → chunk-WHXZGCKE.js} +26 -26
- package/dist/cli/{chunk-QS7WRPCP.js → chunk-WPJBDOVV.js} +50 -50
- package/dist/cli/{chunk-2HQOCIFE.mjs → chunk-ZCINJS4P.mjs} +2 -2
- package/dist/cli/{csv-UKZDQDD5.mjs → csv-JKBKQMJS.mjs} +3 -3
- package/dist/cli/{csv-PHHEOCRC.js → csv-SILKSRLY.js} +12 -12
- package/dist/cli/{db-DUMQYDPZ.js → db-HUOYJZ2S.js} +25 -25
- package/dist/cli/{db-K3N4AJHP.mjs → db-Y67OZBKB.mjs} +4 -4
- package/dist/cli/{describe-LYS7YLGP.mjs → describe-7PO235KZ.mjs} +12 -12
- package/dist/cli/{describe-RSQAAZWX.js → describe-RN25ACS6.js} +16 -16
- package/dist/cli/describe-core.d.mts +1 -1
- package/dist/cli/describe-core.d.ts +1 -1
- package/dist/cli/{executions-FQI2EGXY.js → executions-4NQOE73P.js} +6 -6
- package/dist/cli/{executions-A7OT35MH.mjs → executions-RNAT43OA.mjs} +4 -4
- package/dist/cli/{feedback-EGTCQ4VW.js → feedback-QW2H7PZ7.js} +7 -7
- package/dist/cli/{feedback-E77JS5G4.mjs → feedback-WCPPBNAK.mjs} +3 -3
- package/dist/cli/{git-Y66QSXUA.mjs → git-GLIWIFE3.mjs} +4 -4
- package/dist/cli/git-ODPWPPCD.js +24 -0
- package/dist/cli/index.js +131 -131
- package/dist/cli/index.mjs +36 -36
- package/dist/cli/{legacy-noops-E7NYDS2S.mjs → legacy-noops-ADDQUU26.mjs} +4 -4
- package/dist/cli/{legacy-noops-BUEO7ZIG.js → legacy-noops-HUWR7BMO.js} +7 -7
- package/dist/cli/{monitors-IGOA4L5O.js → monitors-TBY3OEWL.js} +84 -84
- package/dist/cli/{monitors-YGX7XZHL.mjs → monitors-ZR5BRAFH.mjs} +4 -4
- package/dist/cli/{org-QOVN4IJE.js → org-4JCEJFF4.js} +64 -64
- package/dist/cli/{org-IUCMNFCG.mjs → org-UBJ2J7I3.mjs} +4 -4
- package/dist/cli/{play-BASBWJY7.mjs → play-WD5JVYPK.mjs} +10 -10
- package/dist/cli/{play-GCQETZW6.js → play-X3ULEXAW.js} +283 -283
- package/dist/cli/{providers-RF7LEMAP.mjs → providers-5FHAFCKF.mjs} +4 -4
- package/dist/cli/{providers-VC5QBJZ3.js → providers-FPUQNBZT.js} +7 -7
- package/dist/cli/{quickstart-64EULHRG.js → quickstart-ARNCLYA5.js} +5 -5
- package/dist/cli/{quickstart-7GAOQSQA.mjs → quickstart-XFQSAVDZ.mjs} +3 -3
- package/dist/cli/{search-UOMJJUVT.mjs → search-GPFQ7DVB.mjs} +5 -5
- package/dist/cli/search-TPHG6627.js +30 -0
- package/dist/cli/{secrets-MIIKANZ7.mjs → secrets-T4DP2OUW.mjs} +4 -4
- package/dist/cli/{secrets-GGXQOSGV.js → secrets-X4SI4ODH.js} +13 -13
- package/dist/cli/{sessions-L7OMZEPU.js → sessions-CMRGH7VP.js} +5 -5
- package/dist/cli/{sessions-VQENKFWC.mjs → sessions-S374MOV3.mjs} +4 -4
- package/dist/cli/{settings-GKI7CZ62.js → settings-IWEDBHC4.js} +75 -75
- package/dist/cli/{settings-JCJPJCKF.mjs → settings-RGXD3IYO.mjs} +8 -8
- package/dist/cli/{setup-BN25RDMT.mjs → setup-N6UOP274.mjs} +7 -7
- package/dist/cli/{setup-P4AM7K34.js → setup-PQHKVOYA.js} +42 -42
- package/dist/cli/skills-2LO7KAVM.js +29 -0
- package/dist/cli/{skills-3M2OV4EQ.mjs → skills-DHOK5DZB.mjs} +5 -5
- package/dist/cli/{tools-337Y5WWW.mjs → tools-5Q4246NF.mjs} +12 -12
- package/dist/cli/tools-JGBXER7K.js +44 -0
- package/dist/cli/{update-A3Y6PY7O.mjs → update-2LQIYQVX.mjs} +7 -7
- package/dist/cli/update-V7WJDCBC.js +31 -0
- package/dist/cli/{workflow-LPO25MX7.mjs → workflow-DBIMUE7K.mjs} +5 -5
- package/dist/cli/{workflow-XQATHEOS.js → workflow-LDRMZBCK.js} +15 -15
- package/dist/{client-CNfY1AzH.d.mts → client-CCWIUnk7.d.mts} +2 -0
- package/dist/{client-CNjtvsqn.d.ts → client-vHqBm-OL.d.ts} +2 -0
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +6 -6
- package/dist/index.mjs +3 -3
- package/dist/install-integrity.json +80 -80
- package/dist/plays/play-description.d.mts +1 -1
- package/dist/plays/play-description.d.ts +1 -1
- package/dist/plays/run-request.d.mts +1 -1
- package/dist/plays/run-request.d.ts +1 -1
- package/dist/release.d.mts +1 -1
- package/dist/release.d.ts +1 -1
- package/dist/release.js +2 -2
- package/dist/release.mjs +1 -1
- package/package.json +1 -1
- package/dist/cli/auth-3NIULVL4.js +0 -40
- package/dist/cli/git-PHGV243L.js +0 -24
- package/dist/cli/search-7TOXLL4V.js +0 -30
- package/dist/cli/skills-NGE2YPQJ.js +0 -29
- package/dist/cli/tools-ROHOYYLK.js +0 -44
- package/dist/cli/update-6ZC2XCW6.js +0 -31
|
@@ -5,7 +5,7 @@ var _chunk27GJKC5Qjs = require('./chunk-27GJKC5Q.js');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkTHGNECIRjs = require('./chunk-THGNECIR.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 _chunkEP5EVGFDjs = require('./chunk-EP5EVGFD.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 _chunk2MQXRENZjs = require('./chunk-2MQXRENZ.js');
|
|
59
59
|
|
|
60
60
|
|
|
61
61
|
|
|
62
62
|
|
|
63
|
-
var
|
|
63
|
+
var _chunkCKAQIJTUjs = require('./chunk-CKAQIJTU.js');
|
|
64
64
|
|
|
65
65
|
|
|
66
66
|
|
|
67
67
|
|
|
68
68
|
|
|
69
|
-
var
|
|
69
|
+
var _chunkNPXUFHMIjs = require('./chunk-NPXUFHMI.js');
|
|
70
70
|
|
|
71
71
|
|
|
72
72
|
|
|
@@ -74,12 +74,12 @@ var _chunkR7HAELOEjs = require('./chunk-R7HAELOE.js');
|
|
|
74
74
|
|
|
75
75
|
|
|
76
76
|
|
|
77
|
-
var
|
|
77
|
+
var _chunkJUBHX5FKjs = require('./chunk-JUBHX5FK.js');
|
|
78
78
|
|
|
79
79
|
|
|
80
80
|
|
|
81
81
|
|
|
82
|
-
var
|
|
82
|
+
var _chunkVZSBJVI4js = require('./chunk-VZSBJVI4.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 = _chunkVZSBJVI4js.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
|
+
_chunkVZSBJVI4js.sdkCliStateDirPath.call(void 0, config.baseUrl),
|
|
165
165
|
`pending-tool-execution-${fingerprint}.json`
|
|
166
166
|
);
|
|
167
167
|
}
|
|
@@ -237,6 +237,12 @@ var TOOL_CATEGORY_DESCRIPTIONS = {
|
|
|
237
237
|
automation: "Kick off provider-side jobs, exports, and asynchronous workflows.",
|
|
238
238
|
outbound_tools: "Run outbound sequencing, deliverability, and campaign operations.",
|
|
239
239
|
admin: "Provider-side status, metadata, and account operations behind other tools.",
|
|
240
|
+
crm: "Read or write CRM records such as contacts, companies, and deals.",
|
|
241
|
+
meeting_intelligence: "Read call and meeting recordings, transcripts, and conversation analytics.",
|
|
242
|
+
messaging: "Send or read team and customer-support messages.",
|
|
243
|
+
social_media: "Read social posts, comments, reactions, followers, and engagement.",
|
|
244
|
+
ads_audiences: "Research ad libraries or sync custom and matched ad audiences.",
|
|
245
|
+
data_warehouse: "Query or manage a database or data warehouse.",
|
|
240
246
|
smb: "Look up small-business listings, local records, and public filings.",
|
|
241
247
|
identity_resolution: "Match a partial identity to a single resolved person or company.",
|
|
242
248
|
reverse_lookup: "Resolve an email, phone, or profile back to a person.",
|
|
@@ -450,13 +456,13 @@ function categoryEnumerationRender(summaries) {
|
|
|
450
456
|
};
|
|
451
457
|
}
|
|
452
458
|
async function listToolCategories(emitJson, compact) {
|
|
453
|
-
const client = new (0,
|
|
459
|
+
const client = new (0, _chunkEP5EVGFDjs.DeeplineClient)();
|
|
454
460
|
if (!emitJson) {
|
|
455
461
|
const summaries2 = (await client.listToolCategories()).map((category) => ({
|
|
456
462
|
...category,
|
|
457
463
|
description: describeToolCategory(category.name)
|
|
458
464
|
}));
|
|
459
|
-
|
|
465
|
+
_chunkJUBHX5FKjs.printCommandEnvelope.call(void 0,
|
|
460
466
|
{ categories: summaries2, render: categoryEnumerationRender(summaries2) },
|
|
461
467
|
{ json: false }
|
|
462
468
|
);
|
|
@@ -466,7 +472,7 @@ async function listToolCategories(emitJson, compact) {
|
|
|
466
472
|
const items = rawTools.map(toListedTool);
|
|
467
473
|
const summaries = aggregateCategorySummaries(rawTools);
|
|
468
474
|
const outputItems = compact ? items.map(compactTool) : items;
|
|
469
|
-
|
|
475
|
+
_chunkJUBHX5FKjs.printCommandEnvelope.call(void 0,
|
|
470
476
|
{
|
|
471
477
|
tools: outputItems,
|
|
472
478
|
count: outputItems.length,
|
|
@@ -485,7 +491,7 @@ function unknownCategoryError(category, summaries, emitJson) {
|
|
|
485
491
|
const known = summaries.map((item) => item.name);
|
|
486
492
|
const message = `Unknown tool category "${category}". Run \`deepline tools list\` to browse categories.`;
|
|
487
493
|
if (emitJson) {
|
|
488
|
-
|
|
494
|
+
_chunkJUBHX5FKjs.printJson.call(void 0, {
|
|
489
495
|
ok: false,
|
|
490
496
|
exitCode: 4,
|
|
491
497
|
code: "TOOL_CATEGORY_NOT_FOUND",
|
|
@@ -499,13 +505,13 @@ function unknownCategoryError(category, summaries, emitJson) {
|
|
|
499
505
|
const render = categoryEnumerationRender(summaries);
|
|
500
506
|
console.error(message);
|
|
501
507
|
console.error("");
|
|
502
|
-
console.error(
|
|
508
|
+
console.error(_chunkJUBHX5FKjs.renderCommandEnvelopeText.call(void 0, { render }).trimEnd());
|
|
503
509
|
console.error("");
|
|
504
510
|
console.error(`Valid categories: ${known.join(", ")}`);
|
|
505
511
|
return 4;
|
|
506
512
|
}
|
|
507
513
|
async function listToolsInCategory(category, emitJson) {
|
|
508
|
-
const client = new (0,
|
|
514
|
+
const client = new (0, _chunkEP5EVGFDjs.DeeplineClient)();
|
|
509
515
|
const { tools: rawTools, categories } = await client.listToolsInCategory(category);
|
|
510
516
|
const summaries = categories.map((item) => ({
|
|
511
517
|
...item,
|
|
@@ -541,7 +547,7 @@ async function listToolsInCategory(category, emitJson) {
|
|
|
541
547
|
}
|
|
542
548
|
]
|
|
543
549
|
};
|
|
544
|
-
|
|
550
|
+
_chunkJUBHX5FKjs.printCommandEnvelope.call(void 0,
|
|
545
551
|
{
|
|
546
552
|
category,
|
|
547
553
|
total: rows.length,
|
|
@@ -554,7 +560,7 @@ async function listToolsInCategory(category, emitJson) {
|
|
|
554
560
|
return 0;
|
|
555
561
|
}
|
|
556
562
|
async function listToolsForCategoryFilter(requestedCategories, emitJson, compact) {
|
|
557
|
-
const client = new (0,
|
|
563
|
+
const client = new (0, _chunkEP5EVGFDjs.DeeplineClient)();
|
|
558
564
|
const items = (await client.listTools({
|
|
559
565
|
categories: requestedCategories.join(","),
|
|
560
566
|
compact
|
|
@@ -583,7 +589,7 @@ async function listToolsForCategoryFilter(requestedCategories, emitJson, compact
|
|
|
583
589
|
]
|
|
584
590
|
};
|
|
585
591
|
const outputItems = compact ? items.map(compactTool) : items;
|
|
586
|
-
|
|
592
|
+
_chunkJUBHX5FKjs.printCommandEnvelope.call(void 0,
|
|
587
593
|
{
|
|
588
594
|
tools: outputItems,
|
|
589
595
|
count: outputItems.length,
|
|
@@ -602,13 +608,13 @@ async function listTools(category, options = {}) {
|
|
|
602
608
|
const positional = _nullishCoalesce(_optionalChain([category, 'optionalAccess', _10 => _10.trim, 'call', _11 => _11()]), () => ( ""));
|
|
603
609
|
const flagCategories = (_nullishCoalesce(options.categories, () => ( ""))).split(",").map((item) => item.trim()).filter(Boolean);
|
|
604
610
|
const compact = options.compact !== false;
|
|
605
|
-
const emitJson = options.json === true ||
|
|
611
|
+
const emitJson = options.json === true || _chunkJUBHX5FKjs.shouldEmitJson.call(void 0, );
|
|
606
612
|
if (positional && flagCategories.length > 0) {
|
|
607
613
|
const flagIsSameSingle = flagCategories.length === 1 && flagCategories[0] === positional;
|
|
608
614
|
if (!flagIsSameSingle) {
|
|
609
615
|
const message = `Category "${positional}" and --categories ${flagCategories.join(",")} disagree. Pass one: deepline tools list ${positional}`;
|
|
610
616
|
if (emitJson) {
|
|
611
|
-
|
|
617
|
+
_chunkJUBHX5FKjs.printJson.call(void 0, {
|
|
612
618
|
ok: false,
|
|
613
619
|
exitCode: 2,
|
|
614
620
|
code: "TOOL_LIST_CATEGORY_CONFLICT",
|
|
@@ -635,7 +641,7 @@ async function grepTools(queryInput, options = {}) {
|
|
|
635
641
|
console.error("Usage: deepline tools grep <query> [--json]");
|
|
636
642
|
return 1;
|
|
637
643
|
}
|
|
638
|
-
const client = new (0,
|
|
644
|
+
const client = new (0, _chunkEP5EVGFDjs.DeeplineClient)();
|
|
639
645
|
const requestedCategories = options.categories ? options.categories.split(",").map((item) => item.trim()).filter(Boolean) : [];
|
|
640
646
|
const mode = _nullishCoalesce(options.mode, () => ( "all"));
|
|
641
647
|
const jsonOutput = options.json === true;
|
|
@@ -678,7 +684,7 @@ async function grepTools(queryInput, options = {}) {
|
|
|
678
684
|
query,
|
|
679
685
|
mode
|
|
680
686
|
}) : null;
|
|
681
|
-
|
|
687
|
+
_chunkJUBHX5FKjs.printCommandEnvelope.call(void 0,
|
|
682
688
|
{
|
|
683
689
|
tools: outputTools,
|
|
684
690
|
count: outputTools.length,
|
|
@@ -696,7 +702,7 @@ async function grepTools(queryInput, options = {}) {
|
|
|
696
702
|
} : {},
|
|
697
703
|
commandTemplates: TOOL_COMMAND_TEMPLATES
|
|
698
704
|
},
|
|
699
|
-
{ json: options.json ||
|
|
705
|
+
{ json: options.json || _chunkJUBHX5FKjs.shouldEmitJson.call(void 0, ) }
|
|
700
706
|
);
|
|
701
707
|
return 0;
|
|
702
708
|
}
|
|
@@ -811,7 +817,7 @@ Output:
|
|
|
811
817
|
"--credentials-file must contain a nonempty JSON object of string credential values."
|
|
812
818
|
);
|
|
813
819
|
}
|
|
814
|
-
const result = await new (0,
|
|
820
|
+
const result = await new (0, _chunkEP5EVGFDjs.DeeplineClient)().setIntegrationCredentials(
|
|
815
821
|
provider,
|
|
816
822
|
credentials
|
|
817
823
|
);
|
|
@@ -821,7 +827,7 @@ Output:
|
|
|
821
827
|
);
|
|
822
828
|
}
|
|
823
829
|
const confirmation = { provider, credential_saved: true };
|
|
824
|
-
if (
|
|
830
|
+
if (_chunkJUBHX5FKjs.shouldEmitJson.call(void 0, options.json))
|
|
825
831
|
console.log(JSON.stringify(confirmation));
|
|
826
832
|
else
|
|
827
833
|
console.log(
|
|
@@ -861,7 +867,7 @@ Examples:
|
|
|
861
867
|
json: Boolean(options.json)
|
|
862
868
|
});
|
|
863
869
|
});
|
|
864
|
-
|
|
870
|
+
_chunkTHGNECIRjs.registerDeprecatedSearchCommand.call(void 0, tools, () => ["tools", "monitors"]);
|
|
865
871
|
tools.command("grep <query>").description(
|
|
866
872
|
"Literal grep over tool ids, descriptions, categories, and input fields."
|
|
867
873
|
).addHelpText(
|
|
@@ -892,7 +898,7 @@ Examples:
|
|
|
892
898
|
});
|
|
893
899
|
const addToolMetadataCommand = (command) => {
|
|
894
900
|
let compatibilityMetadata;
|
|
895
|
-
|
|
901
|
+
_chunk2MQXRENZjs.registerCompatibilityCatalog.call(void 0, command, () => ({
|
|
896
902
|
toolId: command.args[0],
|
|
897
903
|
acceptMetadata: (metadata) => {
|
|
898
904
|
compatibilityMetadata = metadata;
|
|
@@ -962,7 +968,7 @@ Examples:
|
|
|
962
968
|
process.exitCode = await narrowView();
|
|
963
969
|
return;
|
|
964
970
|
}
|
|
965
|
-
const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-
|
|
971
|
+
const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-RN25ACS6.js")));
|
|
966
972
|
process.exitCode = await describeAnything(
|
|
967
973
|
toolId,
|
|
968
974
|
{
|
|
@@ -1046,7 +1052,7 @@ Examples:
|
|
|
1046
1052
|
options,
|
|
1047
1053
|
void 0,
|
|
1048
1054
|
true,
|
|
1049
|
-
|
|
1055
|
+
_chunkCKAQIJTUjs.resolveCliMaintenancePolicy.call(void 0, command.optsWithGlobals())
|
|
1050
1056
|
);
|
|
1051
1057
|
}
|
|
1052
1058
|
);
|
|
@@ -1054,13 +1060,13 @@ Examples:
|
|
|
1054
1060
|
function beginDeferredToolExecuteCompatibility(toolId, cliInvocationId) {
|
|
1055
1061
|
let metadata;
|
|
1056
1062
|
const startedAt = performance.now();
|
|
1057
|
-
const baseUrl =
|
|
1058
|
-
|
|
1059
|
-
const result =
|
|
1063
|
+
const baseUrl = _chunkVZSBJVI4js.resolveConfig.call(void 0, ).baseUrl;
|
|
1064
|
+
_chunkCKAQIJTUjs.recordCliTrace.call(void 0, { phase: "cli.tool_execute_compatibility_start" });
|
|
1065
|
+
const result = _chunk2MQXRENZjs.runToolExecuteStage.call(void 0,
|
|
1060
1066
|
"SDK compatibility",
|
|
1061
|
-
() =>
|
|
1067
|
+
() => _chunkNPXUFHMIjs.checkSdkCompatibility.call(void 0, baseUrl, {
|
|
1062
1068
|
command: "tools execute",
|
|
1063
|
-
skillsVersion:
|
|
1069
|
+
skillsVersion: _chunkVZSBJVI4js.readSdkSkillsLocalVersion.call(void 0, baseUrl),
|
|
1064
1070
|
persistCache: false,
|
|
1065
1071
|
timeoutMs: TOOL_EXECUTE_PREFLIGHT_TIMEOUT_MS,
|
|
1066
1072
|
catalog: {
|
|
@@ -1074,7 +1080,7 @@ function beginDeferredToolExecuteCompatibility(toolId, cliInvocationId) {
|
|
|
1074
1080
|
})
|
|
1075
1081
|
).then(
|
|
1076
1082
|
(compatibility) => {
|
|
1077
|
-
|
|
1083
|
+
_chunkCKAQIJTUjs.recordCliTrace.call(void 0, {
|
|
1078
1084
|
phase: "cli.tool_execute_compatibility_ready",
|
|
1079
1085
|
ms: performance.now() - startedAt,
|
|
1080
1086
|
ok: compatibility.error === null,
|
|
@@ -1083,7 +1089,7 @@ function beginDeferredToolExecuteCompatibility(toolId, cliInvocationId) {
|
|
|
1083
1089
|
return compatibility;
|
|
1084
1090
|
},
|
|
1085
1091
|
(error) => {
|
|
1086
|
-
|
|
1092
|
+
_chunkCKAQIJTUjs.recordCliTrace.call(void 0, {
|
|
1087
1093
|
phase: "cli.tool_execute_compatibility_ready",
|
|
1088
1094
|
ms: performance.now() - startedAt,
|
|
1089
1095
|
ok: false
|
|
@@ -1098,7 +1104,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
|
|
|
1098
1104
|
console.error("Usage: deepline tools describe <toolId> [--json]");
|
|
1099
1105
|
return 1;
|
|
1100
1106
|
}
|
|
1101
|
-
const client = new (0,
|
|
1107
|
+
const client = new (0, _chunkEP5EVGFDjs.DeeplineClient)();
|
|
1102
1108
|
let tool;
|
|
1103
1109
|
try {
|
|
1104
1110
|
tool = await _asyncNullishCoalesce(compatibilityMetadata, async () => ( await client.getTool(toolId)));
|
|
@@ -1152,7 +1158,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
|
|
|
1152
1158
|
const lines = toolPricingOnlyLines(tool, toolId);
|
|
1153
1159
|
if (inferenceQuote)
|
|
1154
1160
|
lines.push(...inferenceQuoteSummaryLines(inferenceQuote));
|
|
1155
|
-
|
|
1161
|
+
_chunkJUBHX5FKjs.printCommandEnvelope.call(void 0,
|
|
1156
1162
|
{
|
|
1157
1163
|
toolId: String(tool.toolId || toolId),
|
|
1158
1164
|
cost: _chunkZM2YPJQJjs.Capability.fromCatalogEntry(tool).describe().customerCost(),
|
|
@@ -1175,7 +1181,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
|
|
|
1175
1181
|
void 0,
|
|
1176
1182
|
seedToolListScript
|
|
1177
1183
|
);
|
|
1178
|
-
|
|
1184
|
+
_chunkJUBHX5FKjs.printCompactJson.call(void 0, {
|
|
1179
1185
|
toolId: contract.toolId,
|
|
1180
1186
|
...options.schemaOnly ? {
|
|
1181
1187
|
inputSchema: contract.inputSchema,
|
|
@@ -1198,7 +1204,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
|
|
|
1198
1204
|
return 0;
|
|
1199
1205
|
}
|
|
1200
1206
|
if (options.contractJson) {
|
|
1201
|
-
|
|
1207
|
+
_chunkJUBHX5FKjs.printCompactJson.call(void 0, {
|
|
1202
1208
|
..._chunkAD47BXN2js.toolContractJsonForDescribe.call(void 0,
|
|
1203
1209
|
tool,
|
|
1204
1210
|
toolId,
|
|
@@ -1212,7 +1218,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
|
|
|
1212
1218
|
}
|
|
1213
1219
|
const emitJson = options.json === true;
|
|
1214
1220
|
if (emitJson) {
|
|
1215
|
-
|
|
1221
|
+
_chunkJUBHX5FKjs.printCompactJson.call(void 0, {
|
|
1216
1222
|
..._chunkAD47BXN2js.toolMetadataJsonForDescribe.call(void 0, tool, toolId, seedToolListScript),
|
|
1217
1223
|
...modelDescription ? { modelOptions: modelDescription } : {},
|
|
1218
1224
|
...inferenceQuote ? { inferenceQuote } : {}
|
|
@@ -2073,7 +2079,7 @@ function parseExecuteOptions(toolId, options, output) {
|
|
|
2073
2079
|
outputFormat = normalizeOutputFormat(options.outputFormat);
|
|
2074
2080
|
}
|
|
2075
2081
|
if (options.idempotencyKey !== void 0) {
|
|
2076
|
-
|
|
2082
|
+
_chunkEP5EVGFDjs.validateExecutionIdempotencyKey.call(void 0, options.idempotencyKey);
|
|
2077
2083
|
}
|
|
2078
2084
|
if (options.recoveryTimeoutMs !== void 0) {
|
|
2079
2085
|
const parsed = Number(options.recoveryTimeoutMs);
|
|
@@ -2393,19 +2399,19 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
|
|
|
2393
2399
|
parsed = parseExecuteOptions(toolId, options, output);
|
|
2394
2400
|
} catch (error) {
|
|
2395
2401
|
if (wantsJson) {
|
|
2396
|
-
|
|
2402
|
+
_chunkJUBHX5FKjs.printJsonError.call(void 0, error);
|
|
2397
2403
|
} else {
|
|
2398
2404
|
console.error(error instanceof Error ? error.message : String(error));
|
|
2399
2405
|
}
|
|
2400
2406
|
return error instanceof _chunkPPDBRJRWjs.DeeplineError && error.code === "IDEMPOTENCY_KEY_INVALID" ? 2 : 1;
|
|
2401
2407
|
}
|
|
2402
|
-
const cliInvocationId = _nullishCoalesce(
|
|
2408
|
+
const cliInvocationId = _nullishCoalesce(_chunk2MQXRENZjs.getToolExecuteInvocationId.call(void 0, ), () => ( _chunk2MQXRENZjs.beginToolExecuteCommand.call(void 0, )));
|
|
2403
2409
|
const deferredCompatibility = deferCompatibility ? beginDeferredToolExecuteCompatibility(toolId, cliInvocationId) : void 0;
|
|
2404
|
-
const tracing =
|
|
2410
|
+
const tracing = _chunkCKAQIJTUjs.isCliTraceEnabled.call(void 0, );
|
|
2405
2411
|
const clientStartedAt = tracing ? performance.now() : void 0;
|
|
2406
|
-
const client = new (0,
|
|
2412
|
+
const client = new (0, _chunkEP5EVGFDjs.DeeplineClient)();
|
|
2407
2413
|
if (clientStartedAt !== void 0) {
|
|
2408
|
-
|
|
2414
|
+
_chunkCKAQIJTUjs.recordCliTrace.call(void 0, {
|
|
2409
2415
|
phase: "cli.tool_execute_client_setup",
|
|
2410
2416
|
ms: performance.now() - clientStartedAt
|
|
2411
2417
|
});
|
|
@@ -2414,13 +2420,13 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
|
|
|
2414
2420
|
const readMetadata = async () => {
|
|
2415
2421
|
if (metadata) return metadata;
|
|
2416
2422
|
try {
|
|
2417
|
-
metadata = await
|
|
2423
|
+
metadata = await _chunk2MQXRENZjs.runToolExecuteStage.call(void 0,
|
|
2418
2424
|
"tool metadata lookup",
|
|
2419
2425
|
() => client.getTool(parsed.toolId, { cliInvocationId })
|
|
2420
2426
|
);
|
|
2421
2427
|
} catch (error) {
|
|
2422
2428
|
if (isMissingToolMetadataError(error)) {
|
|
2423
|
-
const play = await
|
|
2429
|
+
const play = await _chunk2MQXRENZjs.runToolExecuteStage.call(void 0,
|
|
2424
2430
|
"play alias lookup",
|
|
2425
2431
|
() => findPlayForToolId(client, parsed.toolId, cliInvocationId)
|
|
2426
2432
|
);
|
|
@@ -2459,7 +2465,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
|
|
|
2459
2465
|
metadata = await readMetadata();
|
|
2460
2466
|
} catch (error) {
|
|
2461
2467
|
if (error instanceof _chunkPPDBRJRWjs.DeeplineError && error.code === "PLAY_ALIAS_USED_AS_TOOL") {
|
|
2462
|
-
if (wantsJson)
|
|
2468
|
+
if (wantsJson) _chunkJUBHX5FKjs.printJsonError.call(void 0, error);
|
|
2463
2469
|
else console.error(error.message);
|
|
2464
2470
|
return 2;
|
|
2465
2471
|
}
|
|
@@ -2475,7 +2481,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
|
|
|
2475
2481
|
metadata = await readMetadata();
|
|
2476
2482
|
} catch (error) {
|
|
2477
2483
|
if (error instanceof _chunkPPDBRJRWjs.DeeplineError && error.code === "PLAY_ALIAS_USED_AS_TOOL") {
|
|
2478
|
-
if (wantsJson)
|
|
2484
|
+
if (wantsJson) _chunkJUBHX5FKjs.printJsonError.call(void 0, error);
|
|
2479
2485
|
else console.error(error.message);
|
|
2480
2486
|
return 2;
|
|
2481
2487
|
}
|
|
@@ -2501,11 +2507,11 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
|
|
|
2501
2507
|
responseIntent,
|
|
2502
2508
|
...idempotencyKey ? { idempotencyKey } : {},
|
|
2503
2509
|
...parsed.recoveryTimeoutMs !== void 0 ? { recoveryTimeoutMs: parsed.recoveryTimeoutMs } : {},
|
|
2504
|
-
searchRef:
|
|
2510
|
+
searchRef: _chunkTHGNECIRjs.recentSearchRef.call(void 0, ),
|
|
2505
2511
|
cliInvocationId,
|
|
2506
2512
|
onResponseReceived: _chunk27GJKC5Qjs.recordApiResponse,
|
|
2507
2513
|
...tracing ? {
|
|
2508
|
-
onServerTiming: (serverTiming) =>
|
|
2514
|
+
onServerTiming: (serverTiming) => _chunkCKAQIJTUjs.recordCliTrace.call(void 0, {
|
|
2509
2515
|
phase: "tool_execute_server_timing",
|
|
2510
2516
|
cliInvocationId,
|
|
2511
2517
|
serverTiming,
|
|
@@ -2516,13 +2522,13 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
|
|
|
2516
2522
|
let rawResponse;
|
|
2517
2523
|
let successfulCompatibilityResponse;
|
|
2518
2524
|
try {
|
|
2519
|
-
const executeResult = await
|
|
2525
|
+
const executeResult = await _chunk2MQXRENZjs.runToolExecuteStage.call(void 0,
|
|
2520
2526
|
"execute request",
|
|
2521
2527
|
async () => {
|
|
2522
2528
|
try {
|
|
2523
2529
|
if (tracing) {
|
|
2524
2530
|
submissionStartedAt = performance.now();
|
|
2525
|
-
|
|
2531
|
+
_chunkCKAQIJTUjs.recordCliTrace.call(void 0, { phase: "cli.tool_execute_request_start" });
|
|
2526
2532
|
}
|
|
2527
2533
|
return await client.executeTool(parsed.toolId, parsed.params, {
|
|
2528
2534
|
...executeOptions,
|
|
@@ -2531,34 +2537,34 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
|
|
|
2531
2537
|
} catch (error) {
|
|
2532
2538
|
if (!(error instanceof _chunkPPDBRJRWjs.DeeplineError) || error.code !== "ATOMIC_TOOL_EXECUTE_UNSUPPORTED")
|
|
2533
2539
|
throw error;
|
|
2534
|
-
const baseUrl =
|
|
2540
|
+
const baseUrl = _chunkVZSBJVI4js.resolveConfig.call(void 0, ).baseUrl;
|
|
2535
2541
|
if (maintenancePolicy !== "off") {
|
|
2536
|
-
|
|
2542
|
+
_chunkNPXUFHMIjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
|
|
2537
2543
|
}
|
|
2538
|
-
const compatibility = deferredCompatibility ? await deferredCompatibility.result : await
|
|
2544
|
+
const compatibility = deferredCompatibility ? await deferredCompatibility.result : await _chunk2MQXRENZjs.runToolExecuteStage.call(void 0,
|
|
2539
2545
|
"SDK compatibility",
|
|
2540
|
-
() =>
|
|
2546
|
+
() => _chunkNPXUFHMIjs.checkSdkCompatibility.call(void 0, baseUrl, {
|
|
2541
2547
|
command: "tools execute",
|
|
2542
|
-
skillsVersion:
|
|
2548
|
+
skillsVersion: _chunkVZSBJVI4js.readSdkSkillsLocalVersion.call(void 0, baseUrl),
|
|
2543
2549
|
persistCache: maintenancePolicy !== "off"
|
|
2544
2550
|
})
|
|
2545
2551
|
);
|
|
2546
2552
|
if (compatibility.error) throw compatibility.error;
|
|
2547
2553
|
metadata = _nullishCoalesce(_optionalChain([deferredCompatibility, 'optionalAccess', _28 => _28.readMetadata, 'call', _29 => _29()]), () => ( metadata));
|
|
2548
|
-
if (maintenancePolicy !== "off" && await
|
|
2554
|
+
if (maintenancePolicy !== "off" && await _chunk2MQXRENZjs.maybeAutoUpdateAndRelaunch.call(void 0,
|
|
2549
2555
|
compatibility.response,
|
|
2550
2556
|
baseUrl,
|
|
2551
2557
|
maintenancePolicy
|
|
2552
2558
|
)) {
|
|
2553
2559
|
return void 0;
|
|
2554
2560
|
}
|
|
2555
|
-
|
|
2561
|
+
_chunkNPXUFHMIjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
|
|
2556
2562
|
quietAdvisory: wantsJson
|
|
2557
2563
|
});
|
|
2558
2564
|
if (maintenancePolicy !== "off") {
|
|
2559
|
-
await
|
|
2565
|
+
await _chunk2MQXRENZjs.runToolExecuteStage.call(void 0,
|
|
2560
2566
|
"agent skills sync",
|
|
2561
|
-
() =>
|
|
2567
|
+
() => _chunkNPXUFHMIjs.syncSdkSkillsIfNeeded.call(void 0, baseUrl, {
|
|
2562
2568
|
update: _optionalChain([compatibility, 'access', _30 => _30.response, 'optionalAccess', _31 => _31.skills]),
|
|
2563
2569
|
mode: "detached"
|
|
2564
2570
|
})
|
|
@@ -2567,7 +2573,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
|
|
|
2567
2573
|
const legacyMetadata = await readMetadata();
|
|
2568
2574
|
if (tracing) {
|
|
2569
2575
|
submissionStartedAt = performance.now();
|
|
2570
|
-
|
|
2576
|
+
_chunkCKAQIJTUjs.recordCliTrace.call(void 0, { phase: "cli.tool_execute_request_start" });
|
|
2571
2577
|
}
|
|
2572
2578
|
return client.executeTool(parsed.toolId, parsed.params, {
|
|
2573
2579
|
...executeOptions,
|
|
@@ -2588,8 +2594,8 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
|
|
|
2588
2594
|
metadata = _nullishCoalesce(deferredCompatibility.readMetadata(), () => ( metadata));
|
|
2589
2595
|
const updateRequiredBeforeExecution = error instanceof _chunkPPDBRJRWjs.DeeplineError && error.code === "SDK_UPDATE_REQUIRED";
|
|
2590
2596
|
if (updateRequiredBeforeExecution && maintenancePolicy !== "off" && compatibility && !compatibility.error) {
|
|
2591
|
-
const baseUrl =
|
|
2592
|
-
if (await
|
|
2597
|
+
const baseUrl = _chunkVZSBJVI4js.resolveConfig.call(void 0, ).baseUrl;
|
|
2598
|
+
if (await _chunk2MQXRENZjs.maybeAutoUpdateAndRelaunch.call(void 0,
|
|
2593
2599
|
compatibility.response,
|
|
2594
2600
|
baseUrl,
|
|
2595
2601
|
maintenancePolicy
|
|
@@ -2608,7 +2614,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
|
|
|
2608
2614
|
failure = diagnosticError;
|
|
2609
2615
|
}
|
|
2610
2616
|
if (failure instanceof _chunkPPDBRJRWjs.DeeplineError && failure.code === "PLAY_ALIAS_USED_AS_TOOL") {
|
|
2611
|
-
if (wantsJson)
|
|
2617
|
+
if (wantsJson) _chunkJUBHX5FKjs.printJsonError.call(void 0, failure);
|
|
2612
2618
|
else console.error(failure.message);
|
|
2613
2619
|
return 2;
|
|
2614
2620
|
}
|
|
@@ -2635,9 +2641,9 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
|
|
|
2635
2641
|
successfulCompatibilityResponse = _nullishCoalesce(compatibilityResponse, () => ( void 0));
|
|
2636
2642
|
const autoUpdate = _optionalChain([compatibilityResponse, 'optionalAccess', _37 => _37.auto_update]);
|
|
2637
2643
|
if (maintenancePolicy !== "off" && compatibilityResponse && _optionalChain([autoUpdate, 'optionalAccess', _38 => _38.should_auto_update]) && !autoUpdate.required && autoUpdate.reason !== "rollback_forced") {
|
|
2638
|
-
await
|
|
2644
|
+
await _chunk2MQXRENZjs.maybeAutoUpdateAndRelaunch.call(void 0,
|
|
2639
2645
|
compatibilityResponse,
|
|
2640
|
-
|
|
2646
|
+
_chunkVZSBJVI4js.resolveConfig.call(void 0, ).baseUrl,
|
|
2641
2647
|
maintenancePolicy
|
|
2642
2648
|
);
|
|
2643
2649
|
}
|
|
@@ -2672,7 +2678,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
|
|
|
2672
2678
|
const { _metadata, ...execution } = rawResponse;
|
|
2673
2679
|
rawResponse = execution;
|
|
2674
2680
|
}
|
|
2675
|
-
const { listConversion, summary, baseEnvelope } = await
|
|
2681
|
+
const { listConversion, summary, baseEnvelope } = await _chunk2MQXRENZjs.runToolExecuteStage.call(void 0,
|
|
2676
2682
|
"result formatting",
|
|
2677
2683
|
async () => {
|
|
2678
2684
|
const listConversion2 = _chunkHGFFYVXNjs.tryConvertToList.call(void 0, rawResponse, {
|
|
@@ -2707,9 +2713,9 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
|
|
|
2707
2713
|
}
|
|
2708
2714
|
skillsSyncAttempted = true;
|
|
2709
2715
|
try {
|
|
2710
|
-
await
|
|
2716
|
+
await _chunk2MQXRENZjs.runToolExecuteStage.call(void 0,
|
|
2711
2717
|
"agent skills sync",
|
|
2712
|
-
() =>
|
|
2718
|
+
() => _chunkNPXUFHMIjs.syncSdkSkillsIfNeeded.call(void 0, _chunkVZSBJVI4js.resolveConfig.call(void 0, ).baseUrl, {
|
|
2713
2719
|
update: deliveredCompatibilityResponse.skills,
|
|
2714
2720
|
mode: "detached"
|
|
2715
2721
|
})
|
|
@@ -2720,15 +2726,15 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
|
|
|
2720
2726
|
);
|
|
2721
2727
|
}
|
|
2722
2728
|
};
|
|
2723
|
-
const printDeliveredEnvelope = (envelope, options2 = {}) =>
|
|
2729
|
+
const printDeliveredEnvelope = (envelope, options2 = {}) => _chunkJUBHX5FKjs.printCommandEnvelope.call(void 0, envelope, {
|
|
2724
2730
|
...options2,
|
|
2725
2731
|
json: _nullishCoalesce(options2.json, () => ( wantsJson))
|
|
2726
2732
|
});
|
|
2727
2733
|
const printDeliveredJsonEnvelope = async (envelope, options2 = {}) => {
|
|
2728
2734
|
await syncSkillsForDeliveredOutput();
|
|
2729
|
-
|
|
2735
|
+
_chunkJUBHX5FKjs.printCommandEnvelope.call(void 0, envelope, { ...options2, json: true });
|
|
2730
2736
|
};
|
|
2731
|
-
const delivered = await
|
|
2737
|
+
const delivered = await _chunk2MQXRENZjs.runToolExecuteStage.call(void 0, "output delivery", async () => {
|
|
2732
2738
|
if (!parsed.outPath && (parsed.outputFormat === "json" || parsed.outputFormat === "auto" && wantsJson)) {
|
|
2733
2739
|
await printDeliveredJsonEnvelope(baseEnvelope);
|
|
2734
2740
|
return true;
|
|
@@ -2757,7 +2763,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
|
|
|
2757
2763
|
`${parsed.toolId} did not expose row-shaped output to write as CSV. ${inspection.inspectDescription} Run: ${inspection.inspect}`
|
|
2758
2764
|
);
|
|
2759
2765
|
if (wantsJson) {
|
|
2760
|
-
|
|
2766
|
+
_chunkJUBHX5FKjs.printJsonError.call(void 0, error);
|
|
2761
2767
|
} else {
|
|
2762
2768
|
console.error(error.message);
|
|
2763
2769
|
}
|
|
@@ -2852,13 +2858,13 @@ inspect: ${inspection.inspect}
|
|
|
2852
2858
|
return true;
|
|
2853
2859
|
});
|
|
2854
2860
|
if (delivered) {
|
|
2855
|
-
await
|
|
2861
|
+
await _chunk2MQXRENZjs.runToolExecuteStage.call(void 0,
|
|
2856
2862
|
"acknowledge delivery",
|
|
2857
2863
|
() => recovery.acknowledgeDelivery()
|
|
2858
2864
|
);
|
|
2859
2865
|
}
|
|
2860
2866
|
if (delivered && deliveredCompatibilityResponse && deliveredCompatibilityResponse.update_required !== true) {
|
|
2861
|
-
|
|
2867
|
+
_chunkNPXUFHMIjs.enforceSdkCompatibilityResponse.call(void 0, deliveredCompatibilityResponse, {
|
|
2862
2868
|
quietAdvisory: wantsJson || maintenancePolicy === "off" || _optionalChain([deliveredCompatibilityResponse, 'access', _40 => _40.auto_update, 'optionalAccess', _41 => _41.should_auto_update]) === true
|
|
2863
2869
|
});
|
|
2864
2870
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getAuthedHttpClient,
|
|
3
3
|
printCommandEnvelope
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-EPMYNLKZ.mjs";
|
|
5
5
|
import {
|
|
6
6
|
agentSessionIdFromEnvironment
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-KABBXKFO.mjs";
|
|
8
8
|
|
|
9
9
|
// src/cli/commands/sessions.ts
|
|
10
10
|
import {
|