deepline 0.3.410 → 0.3.412
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/package.json +1 -1
- package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +11 -11
- package/dist/bundling-sources/shared_libs/observability/scheduled-work-manual.ts +0 -1
- package/dist/bundling-sources/shared_libs/play-runtime/async-operation.ts +1 -1
- package/dist/cli/{auth-LLXLIILR.mjs → auth-5WYYDPSS.mjs} +4 -4
- package/dist/cli/auth-74ZWRI3Y.js +40 -0
- package/dist/cli/{billing-NFPK7GYP.js → billing-Q4IGAZM4.js} +73 -73
- package/dist/cli/{billing-5FVXZYAC.mjs → billing-W6GVSCH5.mjs} +4 -4
- package/dist/cli/{chunk-QL22Y56M.mjs → chunk-4MGLO7M4.mjs} +5 -5
- package/dist/cli/{chunk-63S7X326.js → chunk-6C76C6Y2.js} +10 -10
- package/dist/cli/{chunk-VYKV5XHL.js → chunk-6RFLMMPH.js} +79 -79
- package/dist/cli/{chunk-ZFZ427HN.js → chunk-7BSHG3ZS.js} +8 -8
- package/dist/cli/{chunk-MN2OWLFA.mjs → chunk-7GHGSZWQ.mjs} +2 -2
- package/dist/cli/{chunk-5UUQAGJS.js → chunk-DB3MSMSY.js} +1 -1
- package/dist/cli/{chunk-JNXJZ577.mjs → chunk-DM73SDE2.mjs} +1 -1
- package/dist/cli/{chunk-IPG42SD2.mjs → chunk-F33BPBKI.mjs} +8 -8
- package/dist/cli/{chunk-5V5Y37BC.mjs → chunk-FGSO6IAE.mjs} +1 -1
- package/dist/cli/{chunk-FZJAM576.js → chunk-FHTZ3R4G.js} +50 -50
- package/dist/cli/{chunk-XNZJKRJA.mjs → chunk-FIFKM6G3.mjs} +3 -3
- package/dist/cli/{chunk-XHLKJOTN.mjs → chunk-FOIP7GXL.mjs} +4 -4
- package/dist/cli/{chunk-QJI5FIOW.js → chunk-FYDJ6NSG.js} +16 -16
- package/dist/cli/{chunk-LTFL4JRN.js → chunk-GK3JUYPD.js} +52 -52
- package/dist/cli/{chunk-OBB4QXHA.js → chunk-JA7XAQBY.js} +2 -2
- package/dist/cli/{chunk-EQ4Z7RJW.mjs → chunk-JALHTLZM.mjs} +2 -2
- package/dist/cli/{chunk-PZSLPBDA.mjs → chunk-JDIAC2BK.mjs} +2 -2
- package/dist/cli/{chunk-6PGATQ6L.mjs → chunk-M6NQSTJM.mjs} +2 -2
- package/dist/cli/{chunk-4XQLVUC7.mjs → chunk-MBKEAA6L.mjs} +1 -1
- package/dist/cli/{chunk-ZKYEW55U.mjs → chunk-NVHWQTA4.mjs} +1 -1
- package/dist/cli/{chunk-36AHOWVS.js → chunk-OVLRV3NQ.js} +26 -26
- package/dist/cli/{chunk-FVLNYDI4.js → chunk-PULUIGSP.js} +4 -4
- package/dist/cli/{chunk-OZ6E3IRZ.js → chunk-QC32WGLZ.js} +8 -8
- package/dist/cli/{chunk-XIHWSXSV.mjs → chunk-QZAULZCB.mjs} +3 -3
- package/dist/cli/{chunk-T44IIOT6.mjs → chunk-RH56MSI7.mjs} +3 -3
- package/dist/cli/{chunk-VK2LZ5IP.js → chunk-S5O4LO6W.js} +6 -6
- package/dist/cli/{chunk-5TUGWDEB.js → chunk-SYT7RJRI.js} +20 -20
- package/dist/cli/{chunk-NTVLGHFM.js → chunk-TGUN2XDX.js} +35 -35
- package/dist/cli/{chunk-D37FEBES.js → chunk-TZT3V6LW.js} +2 -2
- package/dist/cli/{chunk-2YR7BIIC.mjs → chunk-UXELXDNZ.mjs} +1 -1
- package/dist/cli/{chunk-RFB25DSQ.mjs → chunk-UYZBTMDO.mjs} +1 -1
- package/dist/cli/{chunk-NF4V5DTY.js → chunk-YOV67QUS.js} +6 -6
- package/dist/cli/{csv-7U3FJYKZ.js → csv-GNFJ6RKP.js} +12 -12
- package/dist/cli/{csv-ZWLDMM4A.mjs → csv-Q7PJOSBH.mjs} +3 -3
- package/dist/cli/{db-IMYXVMGI.mjs → db-CKW53ES3.mjs} +4 -4
- package/dist/cli/{db-DNCGV5PC.js → db-FP6S3MI2.js} +25 -25
- package/dist/cli/{describe-Q23DWJUK.mjs → describe-H75P2IBB.mjs} +12 -12
- package/dist/cli/{describe-S34JUX5W.js → describe-QIMJDGX7.js} +16 -16
- package/dist/cli/{executions-A73EUGSI.mjs → executions-J45V36FF.mjs} +4 -4
- package/dist/cli/{executions-XOMPX2YJ.js → executions-KDW4JKCD.js} +6 -6
- package/dist/cli/{feedback-N4GJ2POI.mjs → feedback-5PCSAM2L.mjs} +3 -3
- package/dist/cli/{feedback-QTCHNJJH.js → feedback-QFLKEJR4.js} +7 -7
- package/dist/cli/{git-4Q3JIQYZ.mjs → git-CR7TNVT5.mjs} +4 -4
- package/dist/cli/git-QITMGUCQ.js +24 -0
- package/dist/cli/index.js +131 -131
- package/dist/cli/index.mjs +36 -36
- package/dist/cli/{legacy-noops-4OSHZM34.js → legacy-noops-C7I7R5LI.js} +7 -7
- package/dist/cli/{legacy-noops-3SOVGFF7.mjs → legacy-noops-Z3MKA3CJ.mjs} +4 -4
- package/dist/cli/{monitors-LVE2KZNG.js → monitors-2DXNU4BI.js} +84 -84
- package/dist/cli/{monitors-QP2XID2B.mjs → monitors-J4CWREBM.mjs} +4 -4
- package/dist/cli/{org-XFLK5IAP.js → org-CDAGTXYJ.js} +64 -64
- package/dist/cli/{org-IVRETVQA.mjs → org-IQ3QRJKF.mjs} +4 -4
- package/dist/cli/{play-DE7VH6NU.mjs → play-M5ENSOBU.mjs} +10 -10
- package/dist/cli/{play-XXTPPP23.js → play-XEP6F74B.js} +283 -283
- package/dist/cli/{providers-DLD3I4JF.js → providers-DQRKIVHT.js} +7 -7
- package/dist/cli/{providers-GX2NIZQQ.mjs → providers-HILDAJMX.mjs} +4 -4
- package/dist/cli/{quickstart-72B4L4PK.mjs → quickstart-MCONKXHJ.mjs} +3 -3
- package/dist/cli/{quickstart-XNS3HSWC.js → quickstart-ZRQ4AXWU.js} +5 -5
- package/dist/cli/{search-SUTRANJI.mjs → search-UW4Y5XR5.mjs} +5 -5
- package/dist/cli/search-WE3HU2GC.js +30 -0
- package/dist/cli/{secrets-6OBLOVEV.js → secrets-LGQIOXNO.js} +13 -13
- package/dist/cli/{secrets-FPFXXNUH.mjs → secrets-V7SPGC2S.mjs} +4 -4
- package/dist/cli/{sessions-R25I4QKN.mjs → sessions-B2PAQIKT.mjs} +4 -4
- package/dist/cli/{sessions-235532DR.js → sessions-N3FBI7JX.js} +5 -5
- package/dist/cli/{settings-VL5FOFPN.js → settings-2X4EYOZI.js} +75 -75
- package/dist/cli/{settings-AOP6F5PZ.mjs → settings-BJCYMO6H.mjs} +8 -8
- package/dist/cli/{setup-BSC67YT3.js → setup-C3HP5VZ7.js} +42 -42
- package/dist/cli/{setup-ZMPHBHVJ.mjs → setup-X7AN2BVT.mjs} +7 -7
- package/dist/cli/{skills-KF65TVFO.mjs → skills-FNU3JALS.mjs} +5 -5
- package/dist/cli/skills-PUR6FRM3.js +29 -0
- package/dist/cli/{tools-SX4XIPM7.mjs → tools-MYGGTMP3.mjs} +12 -12
- package/dist/cli/tools-Z2HU65ZF.js +44 -0
- package/dist/cli/update-NG3YIH3A.js +31 -0
- package/dist/cli/{update-QRMFRAQQ.mjs → update-OEEMTBYF.mjs} +7 -7
- package/dist/cli/{workflow-KOCK2FLW.js → workflow-6T7PM6BK.js} +15 -15
- package/dist/cli/{workflow-FOEEEB7G.mjs → workflow-XM3P2CDD.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-UG4WOYGL.js +0 -40
- package/dist/cli/git-I6CPBEVG.js +0 -24
- package/dist/cli/search-6NCH4HB5.js +0 -30
- package/dist/cli/skills-3IWLYYRL.js +0 -29
- package/dist/cli/tools-LR66SPYU.js +0 -44
- package/dist/cli/update-SP7UEO53.js +0 -31
|
@@ -5,7 +5,7 @@ var _chunk27GJKC5Qjs = require('./chunk-27GJKC5Q.js');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkQC32WGLZjs = require('./chunk-QC32WGLZ.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 _chunk6C76C6Y2js = require('./chunk-6C76C6Y2.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 _chunkSYT7RJRIjs = require('./chunk-SYT7RJRI.js');
|
|
59
59
|
|
|
60
60
|
|
|
61
61
|
|
|
62
62
|
|
|
63
|
-
var
|
|
63
|
+
var _chunkJA7XAQBYjs = require('./chunk-JA7XAQBY.js');
|
|
64
64
|
|
|
65
65
|
|
|
66
66
|
|
|
67
67
|
|
|
68
68
|
|
|
69
|
-
var
|
|
69
|
+
var _chunkGK3JUYPDjs = require('./chunk-GK3JUYPD.js');
|
|
70
70
|
|
|
71
71
|
|
|
72
72
|
|
|
@@ -74,12 +74,12 @@ var _chunkLTFL4JRNjs = require('./chunk-LTFL4JRN.js');
|
|
|
74
74
|
|
|
75
75
|
|
|
76
76
|
|
|
77
|
-
var
|
|
77
|
+
var _chunkYOV67QUSjs = require('./chunk-YOV67QUS.js');
|
|
78
78
|
|
|
79
79
|
|
|
80
80
|
|
|
81
81
|
|
|
82
|
-
var
|
|
82
|
+
var _chunkPULUIGSPjs = require('./chunk-PULUIGSP.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 = _chunkPULUIGSPjs.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
|
+
_chunkPULUIGSPjs.sdkCliStateDirPath.call(void 0, config.baseUrl),
|
|
165
165
|
`pending-tool-execution-${fingerprint}.json`
|
|
166
166
|
);
|
|
167
167
|
}
|
|
@@ -450,13 +450,13 @@ function categoryEnumerationRender(summaries) {
|
|
|
450
450
|
};
|
|
451
451
|
}
|
|
452
452
|
async function listToolCategories(emitJson, compact) {
|
|
453
|
-
const client = new (0,
|
|
453
|
+
const client = new (0, _chunk6C76C6Y2js.DeeplineClient)();
|
|
454
454
|
if (!emitJson) {
|
|
455
455
|
const summaries2 = (await client.listToolCategories()).map((category) => ({
|
|
456
456
|
...category,
|
|
457
457
|
description: describeToolCategory(category.name)
|
|
458
458
|
}));
|
|
459
|
-
|
|
459
|
+
_chunkYOV67QUSjs.printCommandEnvelope.call(void 0,
|
|
460
460
|
{ categories: summaries2, render: categoryEnumerationRender(summaries2) },
|
|
461
461
|
{ json: false }
|
|
462
462
|
);
|
|
@@ -466,7 +466,7 @@ async function listToolCategories(emitJson, compact) {
|
|
|
466
466
|
const items = rawTools.map(toListedTool);
|
|
467
467
|
const summaries = aggregateCategorySummaries(rawTools);
|
|
468
468
|
const outputItems = compact ? items.map(compactTool) : items;
|
|
469
|
-
|
|
469
|
+
_chunkYOV67QUSjs.printCommandEnvelope.call(void 0,
|
|
470
470
|
{
|
|
471
471
|
tools: outputItems,
|
|
472
472
|
count: outputItems.length,
|
|
@@ -485,7 +485,7 @@ function unknownCategoryError(category, summaries, emitJson) {
|
|
|
485
485
|
const known = summaries.map((item) => item.name);
|
|
486
486
|
const message = `Unknown tool category "${category}". Run \`deepline tools list\` to browse categories.`;
|
|
487
487
|
if (emitJson) {
|
|
488
|
-
|
|
488
|
+
_chunkYOV67QUSjs.printJson.call(void 0, {
|
|
489
489
|
ok: false,
|
|
490
490
|
exitCode: 4,
|
|
491
491
|
code: "TOOL_CATEGORY_NOT_FOUND",
|
|
@@ -499,13 +499,13 @@ function unknownCategoryError(category, summaries, emitJson) {
|
|
|
499
499
|
const render = categoryEnumerationRender(summaries);
|
|
500
500
|
console.error(message);
|
|
501
501
|
console.error("");
|
|
502
|
-
console.error(
|
|
502
|
+
console.error(_chunkYOV67QUSjs.renderCommandEnvelopeText.call(void 0, { render }).trimEnd());
|
|
503
503
|
console.error("");
|
|
504
504
|
console.error(`Valid categories: ${known.join(", ")}`);
|
|
505
505
|
return 4;
|
|
506
506
|
}
|
|
507
507
|
async function listToolsInCategory(category, emitJson) {
|
|
508
|
-
const client = new (0,
|
|
508
|
+
const client = new (0, _chunk6C76C6Y2js.DeeplineClient)();
|
|
509
509
|
const { tools: rawTools, categories } = await client.listToolsInCategory(category);
|
|
510
510
|
const summaries = categories.map((item) => ({
|
|
511
511
|
...item,
|
|
@@ -541,7 +541,7 @@ async function listToolsInCategory(category, emitJson) {
|
|
|
541
541
|
}
|
|
542
542
|
]
|
|
543
543
|
};
|
|
544
|
-
|
|
544
|
+
_chunkYOV67QUSjs.printCommandEnvelope.call(void 0,
|
|
545
545
|
{
|
|
546
546
|
category,
|
|
547
547
|
total: rows.length,
|
|
@@ -554,7 +554,7 @@ async function listToolsInCategory(category, emitJson) {
|
|
|
554
554
|
return 0;
|
|
555
555
|
}
|
|
556
556
|
async function listToolsForCategoryFilter(requestedCategories, emitJson, compact) {
|
|
557
|
-
const client = new (0,
|
|
557
|
+
const client = new (0, _chunk6C76C6Y2js.DeeplineClient)();
|
|
558
558
|
const items = (await client.listTools({
|
|
559
559
|
categories: requestedCategories.join(","),
|
|
560
560
|
compact
|
|
@@ -583,7 +583,7 @@ async function listToolsForCategoryFilter(requestedCategories, emitJson, compact
|
|
|
583
583
|
]
|
|
584
584
|
};
|
|
585
585
|
const outputItems = compact ? items.map(compactTool) : items;
|
|
586
|
-
|
|
586
|
+
_chunkYOV67QUSjs.printCommandEnvelope.call(void 0,
|
|
587
587
|
{
|
|
588
588
|
tools: outputItems,
|
|
589
589
|
count: outputItems.length,
|
|
@@ -602,13 +602,13 @@ async function listTools(category, options = {}) {
|
|
|
602
602
|
const positional = _nullishCoalesce(_optionalChain([category, 'optionalAccess', _10 => _10.trim, 'call', _11 => _11()]), () => ( ""));
|
|
603
603
|
const flagCategories = (_nullishCoalesce(options.categories, () => ( ""))).split(",").map((item) => item.trim()).filter(Boolean);
|
|
604
604
|
const compact = options.compact !== false;
|
|
605
|
-
const emitJson = options.json === true ||
|
|
605
|
+
const emitJson = options.json === true || _chunkYOV67QUSjs.shouldEmitJson.call(void 0, );
|
|
606
606
|
if (positional && flagCategories.length > 0) {
|
|
607
607
|
const flagIsSameSingle = flagCategories.length === 1 && flagCategories[0] === positional;
|
|
608
608
|
if (!flagIsSameSingle) {
|
|
609
609
|
const message = `Category "${positional}" and --categories ${flagCategories.join(",")} disagree. Pass one: deepline tools list ${positional}`;
|
|
610
610
|
if (emitJson) {
|
|
611
|
-
|
|
611
|
+
_chunkYOV67QUSjs.printJson.call(void 0, {
|
|
612
612
|
ok: false,
|
|
613
613
|
exitCode: 2,
|
|
614
614
|
code: "TOOL_LIST_CATEGORY_CONFLICT",
|
|
@@ -635,7 +635,7 @@ async function grepTools(queryInput, options = {}) {
|
|
|
635
635
|
console.error("Usage: deepline tools grep <query> [--json]");
|
|
636
636
|
return 1;
|
|
637
637
|
}
|
|
638
|
-
const client = new (0,
|
|
638
|
+
const client = new (0, _chunk6C76C6Y2js.DeeplineClient)();
|
|
639
639
|
const requestedCategories = options.categories ? options.categories.split(",").map((item) => item.trim()).filter(Boolean) : [];
|
|
640
640
|
const mode = _nullishCoalesce(options.mode, () => ( "all"));
|
|
641
641
|
const jsonOutput = options.json === true;
|
|
@@ -678,7 +678,7 @@ async function grepTools(queryInput, options = {}) {
|
|
|
678
678
|
query,
|
|
679
679
|
mode
|
|
680
680
|
}) : null;
|
|
681
|
-
|
|
681
|
+
_chunkYOV67QUSjs.printCommandEnvelope.call(void 0,
|
|
682
682
|
{
|
|
683
683
|
tools: outputTools,
|
|
684
684
|
count: outputTools.length,
|
|
@@ -696,7 +696,7 @@ async function grepTools(queryInput, options = {}) {
|
|
|
696
696
|
} : {},
|
|
697
697
|
commandTemplates: TOOL_COMMAND_TEMPLATES
|
|
698
698
|
},
|
|
699
|
-
{ json: options.json ||
|
|
699
|
+
{ json: options.json || _chunkYOV67QUSjs.shouldEmitJson.call(void 0, ) }
|
|
700
700
|
);
|
|
701
701
|
return 0;
|
|
702
702
|
}
|
|
@@ -811,7 +811,7 @@ Output:
|
|
|
811
811
|
"--credentials-file must contain a nonempty JSON object of string credential values."
|
|
812
812
|
);
|
|
813
813
|
}
|
|
814
|
-
const result = await new (0,
|
|
814
|
+
const result = await new (0, _chunk6C76C6Y2js.DeeplineClient)().setIntegrationCredentials(
|
|
815
815
|
provider,
|
|
816
816
|
credentials
|
|
817
817
|
);
|
|
@@ -821,7 +821,7 @@ Output:
|
|
|
821
821
|
);
|
|
822
822
|
}
|
|
823
823
|
const confirmation = { provider, credential_saved: true };
|
|
824
|
-
if (
|
|
824
|
+
if (_chunkYOV67QUSjs.shouldEmitJson.call(void 0, options.json))
|
|
825
825
|
console.log(JSON.stringify(confirmation));
|
|
826
826
|
else
|
|
827
827
|
console.log(
|
|
@@ -861,7 +861,7 @@ Examples:
|
|
|
861
861
|
json: Boolean(options.json)
|
|
862
862
|
});
|
|
863
863
|
});
|
|
864
|
-
|
|
864
|
+
_chunkQC32WGLZjs.registerDeprecatedSearchCommand.call(void 0, tools, () => ["tools", "monitors"]);
|
|
865
865
|
tools.command("grep <query>").description(
|
|
866
866
|
"Literal grep over tool ids, descriptions, categories, and input fields."
|
|
867
867
|
).addHelpText(
|
|
@@ -892,7 +892,7 @@ Examples:
|
|
|
892
892
|
});
|
|
893
893
|
const addToolMetadataCommand = (command) => {
|
|
894
894
|
let compatibilityMetadata;
|
|
895
|
-
|
|
895
|
+
_chunkSYT7RJRIjs.registerCompatibilityCatalog.call(void 0, command, () => ({
|
|
896
896
|
toolId: command.args[0],
|
|
897
897
|
acceptMetadata: (metadata) => {
|
|
898
898
|
compatibilityMetadata = metadata;
|
|
@@ -962,7 +962,7 @@ Examples:
|
|
|
962
962
|
process.exitCode = await narrowView();
|
|
963
963
|
return;
|
|
964
964
|
}
|
|
965
|
-
const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-
|
|
965
|
+
const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-QIMJDGX7.js")));
|
|
966
966
|
process.exitCode = await describeAnything(
|
|
967
967
|
toolId,
|
|
968
968
|
{
|
|
@@ -1046,7 +1046,7 @@ Examples:
|
|
|
1046
1046
|
options,
|
|
1047
1047
|
void 0,
|
|
1048
1048
|
true,
|
|
1049
|
-
|
|
1049
|
+
_chunkJA7XAQBYjs.resolveCliMaintenancePolicy.call(void 0, command.optsWithGlobals())
|
|
1050
1050
|
);
|
|
1051
1051
|
}
|
|
1052
1052
|
);
|
|
@@ -1054,13 +1054,13 @@ Examples:
|
|
|
1054
1054
|
function beginDeferredToolExecuteCompatibility(toolId, cliInvocationId) {
|
|
1055
1055
|
let metadata;
|
|
1056
1056
|
const startedAt = performance.now();
|
|
1057
|
-
const baseUrl =
|
|
1058
|
-
|
|
1059
|
-
const result =
|
|
1057
|
+
const baseUrl = _chunkPULUIGSPjs.resolveConfig.call(void 0, ).baseUrl;
|
|
1058
|
+
_chunkJA7XAQBYjs.recordCliTrace.call(void 0, { phase: "cli.tool_execute_compatibility_start" });
|
|
1059
|
+
const result = _chunkSYT7RJRIjs.runToolExecuteStage.call(void 0,
|
|
1060
1060
|
"SDK compatibility",
|
|
1061
|
-
() =>
|
|
1061
|
+
() => _chunkGK3JUYPDjs.checkSdkCompatibility.call(void 0, baseUrl, {
|
|
1062
1062
|
command: "tools execute",
|
|
1063
|
-
skillsVersion:
|
|
1063
|
+
skillsVersion: _chunkPULUIGSPjs.readSdkSkillsLocalVersion.call(void 0, baseUrl),
|
|
1064
1064
|
persistCache: false,
|
|
1065
1065
|
timeoutMs: TOOL_EXECUTE_PREFLIGHT_TIMEOUT_MS,
|
|
1066
1066
|
catalog: {
|
|
@@ -1074,7 +1074,7 @@ function beginDeferredToolExecuteCompatibility(toolId, cliInvocationId) {
|
|
|
1074
1074
|
})
|
|
1075
1075
|
).then(
|
|
1076
1076
|
(compatibility) => {
|
|
1077
|
-
|
|
1077
|
+
_chunkJA7XAQBYjs.recordCliTrace.call(void 0, {
|
|
1078
1078
|
phase: "cli.tool_execute_compatibility_ready",
|
|
1079
1079
|
ms: performance.now() - startedAt,
|
|
1080
1080
|
ok: compatibility.error === null,
|
|
@@ -1083,7 +1083,7 @@ function beginDeferredToolExecuteCompatibility(toolId, cliInvocationId) {
|
|
|
1083
1083
|
return compatibility;
|
|
1084
1084
|
},
|
|
1085
1085
|
(error) => {
|
|
1086
|
-
|
|
1086
|
+
_chunkJA7XAQBYjs.recordCliTrace.call(void 0, {
|
|
1087
1087
|
phase: "cli.tool_execute_compatibility_ready",
|
|
1088
1088
|
ms: performance.now() - startedAt,
|
|
1089
1089
|
ok: false
|
|
@@ -1098,7 +1098,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
|
|
|
1098
1098
|
console.error("Usage: deepline tools describe <toolId> [--json]");
|
|
1099
1099
|
return 1;
|
|
1100
1100
|
}
|
|
1101
|
-
const client = new (0,
|
|
1101
|
+
const client = new (0, _chunk6C76C6Y2js.DeeplineClient)();
|
|
1102
1102
|
let tool;
|
|
1103
1103
|
try {
|
|
1104
1104
|
tool = await _asyncNullishCoalesce(compatibilityMetadata, async () => ( await client.getTool(toolId)));
|
|
@@ -1152,7 +1152,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
|
|
|
1152
1152
|
const lines = toolPricingOnlyLines(tool, toolId);
|
|
1153
1153
|
if (inferenceQuote)
|
|
1154
1154
|
lines.push(...inferenceQuoteSummaryLines(inferenceQuote));
|
|
1155
|
-
|
|
1155
|
+
_chunkYOV67QUSjs.printCommandEnvelope.call(void 0,
|
|
1156
1156
|
{
|
|
1157
1157
|
toolId: String(tool.toolId || toolId),
|
|
1158
1158
|
cost: _chunkZM2YPJQJjs.Capability.fromCatalogEntry(tool).describe().customerCost(),
|
|
@@ -1175,7 +1175,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
|
|
|
1175
1175
|
void 0,
|
|
1176
1176
|
seedToolListScript
|
|
1177
1177
|
);
|
|
1178
|
-
|
|
1178
|
+
_chunkYOV67QUSjs.printCompactJson.call(void 0, {
|
|
1179
1179
|
toolId: contract.toolId,
|
|
1180
1180
|
...options.schemaOnly ? {
|
|
1181
1181
|
inputSchema: contract.inputSchema,
|
|
@@ -1198,7 +1198,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
|
|
|
1198
1198
|
return 0;
|
|
1199
1199
|
}
|
|
1200
1200
|
if (options.contractJson) {
|
|
1201
|
-
|
|
1201
|
+
_chunkYOV67QUSjs.printCompactJson.call(void 0, {
|
|
1202
1202
|
..._chunkAD47BXN2js.toolContractJsonForDescribe.call(void 0,
|
|
1203
1203
|
tool,
|
|
1204
1204
|
toolId,
|
|
@@ -1212,7 +1212,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
|
|
|
1212
1212
|
}
|
|
1213
1213
|
const emitJson = options.json === true;
|
|
1214
1214
|
if (emitJson) {
|
|
1215
|
-
|
|
1215
|
+
_chunkYOV67QUSjs.printCompactJson.call(void 0, {
|
|
1216
1216
|
..._chunkAD47BXN2js.toolMetadataJsonForDescribe.call(void 0, tool, toolId, seedToolListScript),
|
|
1217
1217
|
...modelDescription ? { modelOptions: modelDescription } : {},
|
|
1218
1218
|
...inferenceQuote ? { inferenceQuote } : {}
|
|
@@ -2073,7 +2073,7 @@ function parseExecuteOptions(toolId, options, output) {
|
|
|
2073
2073
|
outputFormat = normalizeOutputFormat(options.outputFormat);
|
|
2074
2074
|
}
|
|
2075
2075
|
if (options.idempotencyKey !== void 0) {
|
|
2076
|
-
|
|
2076
|
+
_chunk6C76C6Y2js.validateExecutionIdempotencyKey.call(void 0, options.idempotencyKey);
|
|
2077
2077
|
}
|
|
2078
2078
|
if (options.recoveryTimeoutMs !== void 0) {
|
|
2079
2079
|
const parsed = Number(options.recoveryTimeoutMs);
|
|
@@ -2393,19 +2393,19 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
|
|
|
2393
2393
|
parsed = parseExecuteOptions(toolId, options, output);
|
|
2394
2394
|
} catch (error) {
|
|
2395
2395
|
if (wantsJson) {
|
|
2396
|
-
|
|
2396
|
+
_chunkYOV67QUSjs.printJsonError.call(void 0, error);
|
|
2397
2397
|
} else {
|
|
2398
2398
|
console.error(error instanceof Error ? error.message : String(error));
|
|
2399
2399
|
}
|
|
2400
2400
|
return error instanceof _chunkPPDBRJRWjs.DeeplineError && error.code === "IDEMPOTENCY_KEY_INVALID" ? 2 : 1;
|
|
2401
2401
|
}
|
|
2402
|
-
const cliInvocationId = _nullishCoalesce(
|
|
2402
|
+
const cliInvocationId = _nullishCoalesce(_chunkSYT7RJRIjs.getToolExecuteInvocationId.call(void 0, ), () => ( _chunkSYT7RJRIjs.beginToolExecuteCommand.call(void 0, )));
|
|
2403
2403
|
const deferredCompatibility = deferCompatibility ? beginDeferredToolExecuteCompatibility(toolId, cliInvocationId) : void 0;
|
|
2404
|
-
const tracing =
|
|
2404
|
+
const tracing = _chunkJA7XAQBYjs.isCliTraceEnabled.call(void 0, );
|
|
2405
2405
|
const clientStartedAt = tracing ? performance.now() : void 0;
|
|
2406
|
-
const client = new (0,
|
|
2406
|
+
const client = new (0, _chunk6C76C6Y2js.DeeplineClient)();
|
|
2407
2407
|
if (clientStartedAt !== void 0) {
|
|
2408
|
-
|
|
2408
|
+
_chunkJA7XAQBYjs.recordCliTrace.call(void 0, {
|
|
2409
2409
|
phase: "cli.tool_execute_client_setup",
|
|
2410
2410
|
ms: performance.now() - clientStartedAt
|
|
2411
2411
|
});
|
|
@@ -2414,13 +2414,13 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
|
|
|
2414
2414
|
const readMetadata = async () => {
|
|
2415
2415
|
if (metadata) return metadata;
|
|
2416
2416
|
try {
|
|
2417
|
-
metadata = await
|
|
2417
|
+
metadata = await _chunkSYT7RJRIjs.runToolExecuteStage.call(void 0,
|
|
2418
2418
|
"tool metadata lookup",
|
|
2419
2419
|
() => client.getTool(parsed.toolId, { cliInvocationId })
|
|
2420
2420
|
);
|
|
2421
2421
|
} catch (error) {
|
|
2422
2422
|
if (isMissingToolMetadataError(error)) {
|
|
2423
|
-
const play = await
|
|
2423
|
+
const play = await _chunkSYT7RJRIjs.runToolExecuteStage.call(void 0,
|
|
2424
2424
|
"play alias lookup",
|
|
2425
2425
|
() => findPlayForToolId(client, parsed.toolId, cliInvocationId)
|
|
2426
2426
|
);
|
|
@@ -2459,7 +2459,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
|
|
|
2459
2459
|
metadata = await readMetadata();
|
|
2460
2460
|
} catch (error) {
|
|
2461
2461
|
if (error instanceof _chunkPPDBRJRWjs.DeeplineError && error.code === "PLAY_ALIAS_USED_AS_TOOL") {
|
|
2462
|
-
if (wantsJson)
|
|
2462
|
+
if (wantsJson) _chunkYOV67QUSjs.printJsonError.call(void 0, error);
|
|
2463
2463
|
else console.error(error.message);
|
|
2464
2464
|
return 2;
|
|
2465
2465
|
}
|
|
@@ -2475,7 +2475,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
|
|
|
2475
2475
|
metadata = await readMetadata();
|
|
2476
2476
|
} catch (error) {
|
|
2477
2477
|
if (error instanceof _chunkPPDBRJRWjs.DeeplineError && error.code === "PLAY_ALIAS_USED_AS_TOOL") {
|
|
2478
|
-
if (wantsJson)
|
|
2478
|
+
if (wantsJson) _chunkYOV67QUSjs.printJsonError.call(void 0, error);
|
|
2479
2479
|
else console.error(error.message);
|
|
2480
2480
|
return 2;
|
|
2481
2481
|
}
|
|
@@ -2501,11 +2501,11 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
|
|
|
2501
2501
|
responseIntent,
|
|
2502
2502
|
...idempotencyKey ? { idempotencyKey } : {},
|
|
2503
2503
|
...parsed.recoveryTimeoutMs !== void 0 ? { recoveryTimeoutMs: parsed.recoveryTimeoutMs } : {},
|
|
2504
|
-
searchRef:
|
|
2504
|
+
searchRef: _chunkQC32WGLZjs.recentSearchRef.call(void 0, ),
|
|
2505
2505
|
cliInvocationId,
|
|
2506
2506
|
onResponseReceived: _chunk27GJKC5Qjs.recordApiResponse,
|
|
2507
2507
|
...tracing ? {
|
|
2508
|
-
onServerTiming: (serverTiming) =>
|
|
2508
|
+
onServerTiming: (serverTiming) => _chunkJA7XAQBYjs.recordCliTrace.call(void 0, {
|
|
2509
2509
|
phase: "tool_execute_server_timing",
|
|
2510
2510
|
cliInvocationId,
|
|
2511
2511
|
serverTiming,
|
|
@@ -2516,13 +2516,13 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
|
|
|
2516
2516
|
let rawResponse;
|
|
2517
2517
|
let successfulCompatibilityResponse;
|
|
2518
2518
|
try {
|
|
2519
|
-
const executeResult = await
|
|
2519
|
+
const executeResult = await _chunkSYT7RJRIjs.runToolExecuteStage.call(void 0,
|
|
2520
2520
|
"execute request",
|
|
2521
2521
|
async () => {
|
|
2522
2522
|
try {
|
|
2523
2523
|
if (tracing) {
|
|
2524
2524
|
submissionStartedAt = performance.now();
|
|
2525
|
-
|
|
2525
|
+
_chunkJA7XAQBYjs.recordCliTrace.call(void 0, { phase: "cli.tool_execute_request_start" });
|
|
2526
2526
|
}
|
|
2527
2527
|
return await client.executeTool(parsed.toolId, parsed.params, {
|
|
2528
2528
|
...executeOptions,
|
|
@@ -2531,34 +2531,34 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
|
|
|
2531
2531
|
} catch (error) {
|
|
2532
2532
|
if (!(error instanceof _chunkPPDBRJRWjs.DeeplineError) || error.code !== "ATOMIC_TOOL_EXECUTE_UNSUPPORTED")
|
|
2533
2533
|
throw error;
|
|
2534
|
-
const baseUrl =
|
|
2534
|
+
const baseUrl = _chunkPULUIGSPjs.resolveConfig.call(void 0, ).baseUrl;
|
|
2535
2535
|
if (maintenancePolicy !== "off") {
|
|
2536
|
-
|
|
2536
|
+
_chunkGK3JUYPDjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
|
|
2537
2537
|
}
|
|
2538
|
-
const compatibility = deferredCompatibility ? await deferredCompatibility.result : await
|
|
2538
|
+
const compatibility = deferredCompatibility ? await deferredCompatibility.result : await _chunkSYT7RJRIjs.runToolExecuteStage.call(void 0,
|
|
2539
2539
|
"SDK compatibility",
|
|
2540
|
-
() =>
|
|
2540
|
+
() => _chunkGK3JUYPDjs.checkSdkCompatibility.call(void 0, baseUrl, {
|
|
2541
2541
|
command: "tools execute",
|
|
2542
|
-
skillsVersion:
|
|
2542
|
+
skillsVersion: _chunkPULUIGSPjs.readSdkSkillsLocalVersion.call(void 0, baseUrl),
|
|
2543
2543
|
persistCache: maintenancePolicy !== "off"
|
|
2544
2544
|
})
|
|
2545
2545
|
);
|
|
2546
2546
|
if (compatibility.error) throw compatibility.error;
|
|
2547
2547
|
metadata = _nullishCoalesce(_optionalChain([deferredCompatibility, 'optionalAccess', _28 => _28.readMetadata, 'call', _29 => _29()]), () => ( metadata));
|
|
2548
|
-
if (maintenancePolicy !== "off" && await
|
|
2548
|
+
if (maintenancePolicy !== "off" && await _chunkSYT7RJRIjs.maybeAutoUpdateAndRelaunch.call(void 0,
|
|
2549
2549
|
compatibility.response,
|
|
2550
2550
|
baseUrl,
|
|
2551
2551
|
maintenancePolicy
|
|
2552
2552
|
)) {
|
|
2553
2553
|
return void 0;
|
|
2554
2554
|
}
|
|
2555
|
-
|
|
2555
|
+
_chunkGK3JUYPDjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
|
|
2556
2556
|
quietAdvisory: wantsJson
|
|
2557
2557
|
});
|
|
2558
2558
|
if (maintenancePolicy !== "off") {
|
|
2559
|
-
await
|
|
2559
|
+
await _chunkSYT7RJRIjs.runToolExecuteStage.call(void 0,
|
|
2560
2560
|
"agent skills sync",
|
|
2561
|
-
() =>
|
|
2561
|
+
() => _chunkGK3JUYPDjs.syncSdkSkillsIfNeeded.call(void 0, baseUrl, {
|
|
2562
2562
|
update: _optionalChain([compatibility, 'access', _30 => _30.response, 'optionalAccess', _31 => _31.skills]),
|
|
2563
2563
|
mode: "detached"
|
|
2564
2564
|
})
|
|
@@ -2567,7 +2567,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
|
|
|
2567
2567
|
const legacyMetadata = await readMetadata();
|
|
2568
2568
|
if (tracing) {
|
|
2569
2569
|
submissionStartedAt = performance.now();
|
|
2570
|
-
|
|
2570
|
+
_chunkJA7XAQBYjs.recordCliTrace.call(void 0, { phase: "cli.tool_execute_request_start" });
|
|
2571
2571
|
}
|
|
2572
2572
|
return client.executeTool(parsed.toolId, parsed.params, {
|
|
2573
2573
|
...executeOptions,
|
|
@@ -2588,8 +2588,8 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
|
|
|
2588
2588
|
metadata = _nullishCoalesce(deferredCompatibility.readMetadata(), () => ( metadata));
|
|
2589
2589
|
const updateRequiredBeforeExecution = error instanceof _chunkPPDBRJRWjs.DeeplineError && error.code === "SDK_UPDATE_REQUIRED";
|
|
2590
2590
|
if (updateRequiredBeforeExecution && maintenancePolicy !== "off" && compatibility && !compatibility.error) {
|
|
2591
|
-
const baseUrl =
|
|
2592
|
-
if (await
|
|
2591
|
+
const baseUrl = _chunkPULUIGSPjs.resolveConfig.call(void 0, ).baseUrl;
|
|
2592
|
+
if (await _chunkSYT7RJRIjs.maybeAutoUpdateAndRelaunch.call(void 0,
|
|
2593
2593
|
compatibility.response,
|
|
2594
2594
|
baseUrl,
|
|
2595
2595
|
maintenancePolicy
|
|
@@ -2608,7 +2608,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
|
|
|
2608
2608
|
failure = diagnosticError;
|
|
2609
2609
|
}
|
|
2610
2610
|
if (failure instanceof _chunkPPDBRJRWjs.DeeplineError && failure.code === "PLAY_ALIAS_USED_AS_TOOL") {
|
|
2611
|
-
if (wantsJson)
|
|
2611
|
+
if (wantsJson) _chunkYOV67QUSjs.printJsonError.call(void 0, failure);
|
|
2612
2612
|
else console.error(failure.message);
|
|
2613
2613
|
return 2;
|
|
2614
2614
|
}
|
|
@@ -2635,9 +2635,9 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
|
|
|
2635
2635
|
successfulCompatibilityResponse = _nullishCoalesce(compatibilityResponse, () => ( void 0));
|
|
2636
2636
|
const autoUpdate = _optionalChain([compatibilityResponse, 'optionalAccess', _37 => _37.auto_update]);
|
|
2637
2637
|
if (maintenancePolicy !== "off" && compatibilityResponse && _optionalChain([autoUpdate, 'optionalAccess', _38 => _38.should_auto_update]) && !autoUpdate.required && autoUpdate.reason !== "rollback_forced") {
|
|
2638
|
-
await
|
|
2638
|
+
await _chunkSYT7RJRIjs.maybeAutoUpdateAndRelaunch.call(void 0,
|
|
2639
2639
|
compatibilityResponse,
|
|
2640
|
-
|
|
2640
|
+
_chunkPULUIGSPjs.resolveConfig.call(void 0, ).baseUrl,
|
|
2641
2641
|
maintenancePolicy
|
|
2642
2642
|
);
|
|
2643
2643
|
}
|
|
@@ -2672,7 +2672,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
|
|
|
2672
2672
|
const { _metadata, ...execution } = rawResponse;
|
|
2673
2673
|
rawResponse = execution;
|
|
2674
2674
|
}
|
|
2675
|
-
const { listConversion, summary, baseEnvelope } = await
|
|
2675
|
+
const { listConversion, summary, baseEnvelope } = await _chunkSYT7RJRIjs.runToolExecuteStage.call(void 0,
|
|
2676
2676
|
"result formatting",
|
|
2677
2677
|
async () => {
|
|
2678
2678
|
const listConversion2 = _chunkHGFFYVXNjs.tryConvertToList.call(void 0, rawResponse, {
|
|
@@ -2707,9 +2707,9 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
|
|
|
2707
2707
|
}
|
|
2708
2708
|
skillsSyncAttempted = true;
|
|
2709
2709
|
try {
|
|
2710
|
-
await
|
|
2710
|
+
await _chunkSYT7RJRIjs.runToolExecuteStage.call(void 0,
|
|
2711
2711
|
"agent skills sync",
|
|
2712
|
-
() =>
|
|
2712
|
+
() => _chunkGK3JUYPDjs.syncSdkSkillsIfNeeded.call(void 0, _chunkPULUIGSPjs.resolveConfig.call(void 0, ).baseUrl, {
|
|
2713
2713
|
update: deliveredCompatibilityResponse.skills,
|
|
2714
2714
|
mode: "detached"
|
|
2715
2715
|
})
|
|
@@ -2720,15 +2720,15 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
|
|
|
2720
2720
|
);
|
|
2721
2721
|
}
|
|
2722
2722
|
};
|
|
2723
|
-
const printDeliveredEnvelope = (envelope, options2 = {}) =>
|
|
2723
|
+
const printDeliveredEnvelope = (envelope, options2 = {}) => _chunkYOV67QUSjs.printCommandEnvelope.call(void 0, envelope, {
|
|
2724
2724
|
...options2,
|
|
2725
2725
|
json: _nullishCoalesce(options2.json, () => ( wantsJson))
|
|
2726
2726
|
});
|
|
2727
2727
|
const printDeliveredJsonEnvelope = async (envelope, options2 = {}) => {
|
|
2728
2728
|
await syncSkillsForDeliveredOutput();
|
|
2729
|
-
|
|
2729
|
+
_chunkYOV67QUSjs.printCommandEnvelope.call(void 0, envelope, { ...options2, json: true });
|
|
2730
2730
|
};
|
|
2731
|
-
const delivered = await
|
|
2731
|
+
const delivered = await _chunkSYT7RJRIjs.runToolExecuteStage.call(void 0, "output delivery", async () => {
|
|
2732
2732
|
if (!parsed.outPath && (parsed.outputFormat === "json" || parsed.outputFormat === "auto" && wantsJson)) {
|
|
2733
2733
|
await printDeliveredJsonEnvelope(baseEnvelope);
|
|
2734
2734
|
return true;
|
|
@@ -2757,7 +2757,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
|
|
|
2757
2757
|
`${parsed.toolId} did not expose row-shaped output to write as CSV. ${inspection.inspectDescription} Run: ${inspection.inspect}`
|
|
2758
2758
|
);
|
|
2759
2759
|
if (wantsJson) {
|
|
2760
|
-
|
|
2760
|
+
_chunkYOV67QUSjs.printJsonError.call(void 0, error);
|
|
2761
2761
|
} else {
|
|
2762
2762
|
console.error(error.message);
|
|
2763
2763
|
}
|
|
@@ -2852,13 +2852,13 @@ inspect: ${inspection.inspect}
|
|
|
2852
2852
|
return true;
|
|
2853
2853
|
});
|
|
2854
2854
|
if (delivered) {
|
|
2855
|
-
await
|
|
2855
|
+
await _chunkSYT7RJRIjs.runToolExecuteStage.call(void 0,
|
|
2856
2856
|
"acknowledge delivery",
|
|
2857
2857
|
() => recovery.acknowledgeDelivery()
|
|
2858
2858
|
);
|
|
2859
2859
|
}
|
|
2860
2860
|
if (delivered && deliveredCompatibilityResponse && deliveredCompatibilityResponse.update_required !== true) {
|
|
2861
|
-
|
|
2861
|
+
_chunkGK3JUYPDjs.enforceSdkCompatibilityResponse.call(void 0, deliveredCompatibilityResponse, {
|
|
2862
2862
|
quietAdvisory: wantsJson || maintenancePolicy === "off" || _optionalChain([deliveredCompatibilityResponse, 'access', _40 => _40.auto_update, 'optionalAccess', _41 => _41.should_auto_update]) === true
|
|
2863
2863
|
});
|
|
2864
2864
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkYOV67QUSjs = require('./chunk-YOV67QUS.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkPULUIGSPjs = require('./chunk-PULUIGSP.js');
|
|
8
8
|
|
|
9
9
|
// src/cli/commands/sessions.ts
|
|
10
10
|
|
|
@@ -139,7 +139,7 @@ function currentSessionFile(agent) {
|
|
|
139
139
|
const newestFirst = listSessionFiles(agent).sort(
|
|
140
140
|
(a, b) => b.mtimeMs - a.mtimeMs
|
|
141
141
|
);
|
|
142
|
-
const sessionId =
|
|
142
|
+
const sessionId = _chunkPULUIGSPjs.agentSessionIdFromEnvironment.call(void 0,
|
|
143
143
|
process.env,
|
|
144
144
|
agent === "auto" ? void 0 : agent === "claude" ? "claude_code" : "codex"
|
|
145
145
|
);
|
|
@@ -451,7 +451,7 @@ function buildSessionUploadContent(raw) {
|
|
|
451
451
|
return { encodedContent: encoded, needsChunking: true };
|
|
452
452
|
}
|
|
453
453
|
async function uploadPayload(path, payload) {
|
|
454
|
-
const { http } =
|
|
454
|
+
const { http } = _chunkYOV67QUSjs.getAuthedHttpClient.call(void 0, );
|
|
455
455
|
return await http.post(path, payload);
|
|
456
456
|
}
|
|
457
457
|
async function uploadChunkedSessions(sessions, options) {
|
|
@@ -484,7 +484,7 @@ async function uploadChunkedSessions(sessions, options) {
|
|
|
484
484
|
...options.rating ? { rating: options.rating } : {}
|
|
485
485
|
});
|
|
486
486
|
const sessionIds = sessions.map((session) => session.sessionId);
|
|
487
|
-
|
|
487
|
+
_chunkYOV67QUSjs.printCommandEnvelope.call(void 0,
|
|
488
488
|
{
|
|
489
489
|
...response,
|
|
490
490
|
ok: true,
|
|
@@ -516,7 +516,7 @@ async function handleSessionsSend(options) {
|
|
|
516
516
|
filename: _path.basename.call(void 0, filePath),
|
|
517
517
|
...rating ? { rating } : {}
|
|
518
518
|
});
|
|
519
|
-
|
|
519
|
+
_chunkYOV67QUSjs.printCommandEnvelope.call(void 0,
|
|
520
520
|
{
|
|
521
521
|
...response2,
|
|
522
522
|
ok: true,
|
|
@@ -566,7 +566,7 @@ async function handleSessionsSend(options) {
|
|
|
566
566
|
...rating ? { rating } : {}
|
|
567
567
|
});
|
|
568
568
|
const sessionIds = built.map((session) => session.sessionId);
|
|
569
|
-
|
|
569
|
+
_chunkYOV67QUSjs.printCommandEnvelope.call(void 0,
|
|
570
570
|
{
|
|
571
571
|
...response,
|
|
572
572
|
ok: true,
|
|
@@ -674,7 +674,7 @@ ${refreshMeta}
|
|
|
674
674
|
</body>
|
|
675
675
|
</html>`;
|
|
676
676
|
_fs.writeFileSync.call(void 0, outputPath, html, "utf8");
|
|
677
|
-
|
|
677
|
+
_chunkYOV67QUSjs.printCommandEnvelope.call(void 0,
|
|
678
678
|
{
|
|
679
679
|
ok: true,
|
|
680
680
|
file: outputPath,
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
getAuthedHttpClient,
|
|
3
3
|
openInBrowser,
|
|
4
4
|
printCommandEnvelope
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-FGSO6IAE.mjs";
|
|
6
6
|
import {
|
|
7
7
|
resolveBaseUrlOnly
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-UYZBTMDO.mjs";
|
|
9
9
|
|
|
10
10
|
// src/cli/commands/git.ts
|
|
11
11
|
function shellQuote(value) {
|
|
@@ -49,7 +49,7 @@ var SDK_RELEASE = {
|
|
|
49
49
|
// getters keep their established compatibility behavior.
|
|
50
50
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
51
51
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
52
|
-
version: "0.3.
|
|
52
|
+
version: "0.3.412",
|
|
53
53
|
updateSummary: {
|
|
54
54
|
introducedIn: "0.3.90",
|
|
55
55
|
summary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release."
|