deepline 0.3.388 → 0.3.390
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-event-search.ts +19 -11
- package/dist/cli/auth-OVT7BZ5A.js +39 -0
- package/dist/cli/{auth-2DIKNI7P.mjs → auth-THPE72WM.mjs} +4 -4
- package/dist/cli/{billing-YAFQ5HOL.mjs → billing-52KJIWW2.mjs} +4 -4
- package/dist/cli/{billing-LTUXLRQO.js → billing-YRXEPKPB.js} +73 -73
- package/dist/cli/{chunk-BECUIDJV.mjs → chunk-5KD4F7NR.mjs} +1 -1
- package/dist/cli/{chunk-YOHRMAY4.mjs → chunk-653YVNNZ.mjs} +1 -1
- package/dist/cli/{chunk-E5TZ64CK.mjs → chunk-B22POC3J.mjs} +6 -6
- package/dist/cli/{chunk-XJ2OSKPI.mjs → chunk-CU7GDBBM.mjs} +2 -2
- package/dist/cli/{chunk-ZFDWBWCQ.js → chunk-CZUGLUQK.js} +4 -4
- package/dist/cli/{chunk-QPGEZ4PU.mjs → chunk-DNYNJU5J.mjs} +1 -1
- package/dist/cli/{chunk-NRJPUSLB.mjs → chunk-EMJB62SM.mjs} +1 -1
- package/dist/cli/{chunk-YXUBGP4Y.js → chunk-ENJWB4SX.js} +226 -226
- package/dist/cli/{chunk-VJOZGWNO.mjs → chunk-FKFE3WH3.mjs} +2 -2
- package/dist/cli/{chunk-FYSQW6H7.mjs → chunk-ICZQGDYM.mjs} +4 -4
- package/dist/cli/{chunk-XUOAS7EU.mjs → chunk-JV7YZMNK.mjs} +3 -3
- package/dist/cli/{chunk-2N2KHFOU.js → chunk-KUEYQLM3.js} +9 -9
- package/dist/cli/{chunk-HSE4BI6X.mjs → chunk-KZOKUN3N.mjs} +2 -2
- package/dist/cli/{chunk-2UFLY7CC.js → chunk-L7NEMEUI.js} +50 -49
- package/dist/cli/{chunk-H7P6DX42.js → chunk-MI2JQCYZ.js} +6 -6
- package/dist/cli/{chunk-MEWZNXLA.mjs → chunk-NQZW72DN.mjs} +1 -1
- package/dist/cli/{chunk-G6IRNEMJ.js → chunk-OV567DMC.js} +1 -1
- package/dist/cli/{chunk-34I3JQML.js → chunk-PMNJLCIA.js} +15 -15
- package/dist/cli/{chunk-4GNF7MCF.js → chunk-QANTWJXH.js} +61 -61
- package/dist/cli/{chunk-WETP5XUS.js → chunk-QVMRQYSO.js} +50 -50
- package/dist/cli/{chunk-OHJRJM7E.mjs → chunk-RWOX543D.mjs} +2 -2
- package/dist/cli/{chunk-JKDY7FUD.js → chunk-T5JMOYB4.js} +8 -8
- package/dist/cli/{chunk-YKCMTH5P.js → chunk-TLCCVMSB.js} +2 -2
- package/dist/cli/{chunk-5SCZSNX4.js → chunk-UCPH7S5H.js} +26 -26
- package/dist/cli/{chunk-UCORN5KB.mjs → chunk-Z7LX4WYM.mjs} +7 -6
- package/dist/cli/{chunk-RFZP7MP2.js → chunk-ZFZ5PICC.js} +8 -8
- package/dist/cli/{csv-SW5B4K6E.mjs → csv-IPUY3W6Z.mjs} +3 -3
- package/dist/cli/{csv-Y3HV4QXT.js → csv-JYDWK56E.js} +12 -12
- package/dist/cli/{db-5KDJZJ6C.js → db-DAWM3T76.js} +29 -29
- package/dist/cli/{db-4RFE5IQD.mjs → db-IP5IPYJQ.mjs} +4 -4
- package/dist/cli/{describe-6DPM37PH.mjs → describe-3RTUG7EW.mjs} +8 -8
- package/dist/cli/{describe-5XNBGYTP.js → describe-5UWGF33U.js} +18 -18
- package/dist/cli/{executions-W7U4YG4K.mjs → executions-7ZNMR443.mjs} +4 -4
- package/dist/cli/{executions-HQQ6HZUQ.js → executions-OEKC7TL5.js} +6 -6
- package/dist/cli/{feedback-GTFLUBFS.js → feedback-5F2NQJP4.js} +7 -7
- package/dist/cli/{feedback-CBYEXLGT.mjs → feedback-IUJV565X.mjs} +3 -3
- package/dist/cli/{git-3XPDF4K5.mjs → git-IPV5G2PS.mjs} +4 -4
- package/dist/cli/git-ZZ5MD2KG.js +23 -0
- package/dist/cli/index.js +89 -89
- package/dist/cli/index.mjs +32 -32
- package/dist/cli/{legacy-noops-FRO5YR7L.js → legacy-noops-IZZRWI7V.js} +7 -7
- package/dist/cli/{legacy-noops-IUBG6DMZ.mjs → legacy-noops-UQOWD66P.mjs} +4 -4
- package/dist/cli/{monitors-LW5N2HWG.js → monitors-N6WK7YPE.js} +85 -85
- package/dist/cli/{monitors-2L3ZJT62.mjs → monitors-SULGYCTF.mjs} +4 -4
- package/dist/cli/{org-E3ELO53D.js → org-COMHSC5H.js} +64 -64
- package/dist/cli/{org-5RN6RRNU.mjs → org-EPVTTBDK.mjs} +4 -4
- package/dist/cli/{play-KCRWX7DC.mjs → play-OCTPASJI.mjs} +7 -7
- package/dist/cli/play-RWY2JHAP.js +157 -0
- package/dist/cli/{providers-IL7DAKQH.js → providers-34D6ATLE.js} +7 -7
- package/dist/cli/{providers-WTLOWJDB.mjs → providers-QBVNC5EV.mjs} +4 -4
- package/dist/cli/{quickstart-YZJTOKOX.js → quickstart-3XR45BHI.js} +5 -5
- package/dist/cli/{quickstart-KXOL5CFD.mjs → quickstart-SYGV5XVH.mjs} +3 -3
- package/dist/cli/search-PTG76HU3.js +26 -0
- package/dist/cli/{search-TFYOO37D.mjs → search-UUJ7EHBV.mjs} +5 -5
- package/dist/cli/{secrets-3Q6MHCB2.mjs → secrets-MWRFHNIT.mjs} +4 -4
- package/dist/cli/{secrets-IANLD3A7.js → secrets-TIL6DESO.js} +13 -13
- package/dist/cli/{sessions-ZCZ6FWW4.js → sessions-2LXC6ZYD.js} +5 -5
- package/dist/cli/{sessions-FVLRLE6E.mjs → sessions-5TKMBU5P.mjs} +4 -4
- package/dist/cli/{settings-VRNHWJLI.js → settings-II3IQECQ.js} +74 -74
- package/dist/cli/{settings-4MHQZKQD.mjs → settings-NRIACLPU.mjs} +7 -7
- package/dist/cli/{setup-QH6UM6IR.js → setup-AF3UMIIC.js} +41 -41
- package/dist/cli/{setup-R3U6EATD.mjs → setup-VIMZ4U73.mjs} +6 -6
- package/dist/cli/{skills-Q7BJMZTK.mjs → skills-5OKAXXWJ.mjs} +4 -4
- package/dist/cli/skills-I6NTZMBZ.js +28 -0
- package/dist/cli/{tools-5YA7M5EA.mjs → tools-5UXNV4YY.mjs} +6 -6
- package/dist/cli/tools-NXD7YFYV.js +40 -0
- package/dist/cli/{update-M6HYEZ5G.mjs → update-Q4HX6CR3.mjs} +6 -6
- package/dist/cli/update-SZ6AMT3M.js +28 -0
- package/dist/cli/{workflow-73Q3PWVZ.mjs → workflow-45BLG7GN.mjs} +5 -5
- package/dist/cli/{workflow-AAIQODIZ.js → workflow-NZZ5H4P4.js} +15 -15
- package/dist/index.js +6 -6
- package/dist/index.mjs +3 -3
- package/dist/install-integrity.json +72 -72
- 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-Z4NL25WP.js +0 -39
- package/dist/cli/git-F2AUBR6I.js +0 -23
- package/dist/cli/play-SUYAMCPX.js +0 -157
- package/dist/cli/search-UFKDJ5TO.js +0 -26
- package/dist/cli/skills-I7URUOO7.js +0 -28
- package/dist/cli/tools-MPJGF7F2.js +0 -40
- package/dist/cli/update-EY7PSSDF.js +0 -28
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getAuthedHttpClient,
|
|
3
3
|
printCommandEnvelope
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-5KD4F7NR.mjs";
|
|
5
5
|
import {
|
|
6
6
|
agentSessionIdFromEnvironment
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-DNYNJU5J.mjs";
|
|
8
8
|
|
|
9
9
|
// src/cli/commands/sessions.ts
|
|
10
10
|
import {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
npmSupportsAllowScripts,
|
|
3
3
|
readNpmVersion
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-653YVNNZ.mjs";
|
|
5
5
|
import {
|
|
6
6
|
resolveShellSpawn,
|
|
7
7
|
runSkillsCommand
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-KZOKUN3N.mjs";
|
|
9
9
|
import {
|
|
10
10
|
printCommandEnvelope
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-5KD4F7NR.mjs";
|
|
12
12
|
import {
|
|
13
13
|
autoDetectBaseUrl
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-DNYNJU5J.mjs";
|
|
15
15
|
|
|
16
16
|
// src/cli/commands/update.ts
|
|
17
17
|
import { spawn, spawnSync } from "child_process";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeeplineClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-NQZW72DN.mjs";
|
|
4
4
|
import {
|
|
5
5
|
printCommandEnvelope,
|
|
6
6
|
renderCommandEnvelopeText
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-5KD4F7NR.mjs";
|
|
8
8
|
import {
|
|
9
9
|
resolveConfig,
|
|
10
10
|
sdkCliStateDirPath
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-DNYNJU5J.mjs";
|
|
12
12
|
|
|
13
13
|
// src/cli/commands/search.ts
|
|
14
14
|
import { Option } from "commander";
|
|
@@ -21,7 +21,7 @@ var _chunkPAIMOGCMjs = require('./chunk-PAIMOGCM.js');
|
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
var
|
|
24
|
+
var _chunkCZUGLUQKjs = require('./chunk-CZUGLUQK.js');
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
|
|
@@ -137,7 +137,7 @@ async function queryCustomerDatabase(http, input) {
|
|
|
137
137
|
if (error instanceof _chunk7P5AA3SNjs.DeeplineError && (_optionalChain([error, 'access', _ => _.code, 'optionalAccess', _2 => _2.startsWith, 'call', _3 => _3("NETWORK_")]) || // Older API readers return PostgreSQL errors as HTTP 400, including
|
|
138
138
|
// lost connections and explicitly unknown transaction resolution.
|
|
139
139
|
/^08[A-Z0-9]{3}$/.test(_nullishCoalesce(error.code, () => ( ""))) || ["57P01", "57P02", "57P03"].includes(_nullishCoalesce(error.code, () => ( ""))) || error.statusCode === 408 || (_nullishCoalesce(error.statusCode, () => ( 0))) >= 500)) {
|
|
140
|
-
throw new (0,
|
|
140
|
+
throw new (0, _chunkCZUGLUQKjs.CustomerDbQueryOutcomeUnknownError)(
|
|
141
141
|
error,
|
|
142
142
|
plan.request.body.operation_key
|
|
143
143
|
);
|
|
@@ -145,7 +145,7 @@ async function queryCustomerDatabase(http, input) {
|
|
|
145
145
|
throw error;
|
|
146
146
|
}
|
|
147
147
|
if (!result || typeof result !== "object" || Array.isArray(result) || typeof result.command !== "string" || !Array.isArray(result.columns) || !Array.isArray(result.rows) || typeof result.truncated !== "boolean" || result.row_count !== null && (!Number.isSafeInteger(result.row_count) || result.row_count < 0) || !Number.isSafeInteger(result.row_count_returned) || result.row_count_returned < 0) {
|
|
148
|
-
throw new (0,
|
|
148
|
+
throw new (0, _chunkCZUGLUQKjs.CustomerDbQueryOutcomeUnknownError)(
|
|
149
149
|
new (0, _chunk7P5AA3SNjs.DeeplineError)(
|
|
150
150
|
"The SQL response did not contain a valid result.",
|
|
151
151
|
200,
|
|
@@ -156,7 +156,7 @@ async function queryCustomerDatabase(http, input) {
|
|
|
156
156
|
}
|
|
157
157
|
const operation = result.operation;
|
|
158
158
|
if (input.operationKey !== void 0 && (!operation || operation.operation_key !== input.operationKey || !Number.isSafeInteger(operation.completed_at_ms) || operation.completed_at_ms < 0 || !["executed", "operation_recovery"].includes(operation.source))) {
|
|
159
|
-
throw new (0,
|
|
159
|
+
throw new (0, _chunkCZUGLUQKjs.CustomerDbQueryOutcomeUnknownError)(
|
|
160
160
|
new (0, _chunk7P5AA3SNjs.DeeplineError)(
|
|
161
161
|
"The server did not confirm the original atomic SQL operation.",
|
|
162
162
|
200,
|
|
@@ -2911,8 +2911,8 @@ function runtimeSelectionHeaders(runtime) {
|
|
|
2911
2911
|
}
|
|
2912
2912
|
const receivers = _optionalChain([process, 'access', _104 => _104.env, 'access', _105 => _105.DEEPLINE_RUNTIME_RETAINED_PIPELINE_RECEIVERS, 'optionalAccess', _106 => _106.trim, 'call', _107 => _107()]);
|
|
2913
2913
|
return {
|
|
2914
|
-
[
|
|
2915
|
-
...receivers ? { [
|
|
2914
|
+
[_chunkCZUGLUQKjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
|
|
2915
|
+
...receivers ? { [_chunkCZUGLUQKjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
|
|
2916
2916
|
};
|
|
2917
2917
|
}
|
|
2918
2918
|
function isolatedCiRuntimeEventReadHeaders() {
|
|
@@ -2928,7 +2928,7 @@ function isolatedCiRuntimeEventReadHeaders() {
|
|
|
2928
2928
|
"RUNTIME_EVENT_INTERNAL_TOKEN_REQUIRED"
|
|
2929
2929
|
);
|
|
2930
2930
|
}
|
|
2931
|
-
return { [
|
|
2931
|
+
return { [_chunkCZUGLUQKjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
|
|
2932
2932
|
}
|
|
2933
2933
|
function normalizeTestPolicyOverrides(value, source) {
|
|
2934
2934
|
if (value && typeof value === "object" && !Array.isArray(value)) {
|
|
@@ -3218,8 +3218,8 @@ var DeeplineClient = (_class = class _DeeplineClient {
|
|
|
3218
3218
|
* @throws {@link ConfigError} if no API key can be resolved from any source.
|
|
3219
3219
|
*/
|
|
3220
3220
|
constructor(options) {
|
|
3221
|
-
this.config =
|
|
3222
|
-
this.http = new (0,
|
|
3221
|
+
this.config = _chunkCZUGLUQKjs.resolveConfig.call(void 0, options);
|
|
3222
|
+
this.http = new (0, _chunkCZUGLUQKjs.HttpClient)(this.config);
|
|
3223
3223
|
this.toolCalls = new ToolCalls(
|
|
3224
3224
|
this.http,
|
|
3225
3225
|
this.config.timeout,
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-GAMFK2ZP.mjs";
|
|
4
4
|
import {
|
|
5
5
|
printCommandEnvelope
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5KD4F7NR.mjs";
|
|
7
7
|
import {
|
|
8
8
|
DEFAULT_SKILL_AGENTS,
|
|
9
9
|
KNOWN_SKILL_AGENTS,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
sdkCliStateDirPath,
|
|
23
23
|
skillsAgentPathSegment,
|
|
24
24
|
writeSdkSkillsLocalVersion
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-DNYNJU5J.mjs";
|
|
26
26
|
import {
|
|
27
27
|
DeeplineError
|
|
28
28
|
} from "./chunk-NXGCO4JB.mjs";
|
|
@@ -13,7 +13,7 @@ var _chunkAID3OYVJjs = require('./chunk-AID3OYVJ.js');
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkZFZ5PICCjs = require('./chunk-ZFZ5PICC.js');
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
@@ -32,7 +32,7 @@ var _chunk5O4B6AUNjs = require('./chunk-5O4B6AUN.js');
|
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
|
|
35
|
-
var
|
|
35
|
+
var _chunkKUEYQLM3js = require('./chunk-KUEYQLM3.js');
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
|
|
@@ -46,11 +46,11 @@ var _chunkQJBJZVG6js = require('./chunk-QJBJZVG6.js');
|
|
|
46
46
|
|
|
47
47
|
|
|
48
48
|
|
|
49
|
-
var
|
|
49
|
+
var _chunkMI2JQCYZjs = require('./chunk-MI2JQCYZ.js');
|
|
50
50
|
|
|
51
51
|
|
|
52
52
|
|
|
53
|
-
var
|
|
53
|
+
var _chunkCZUGLUQKjs = require('./chunk-CZUGLUQK.js');
|
|
54
54
|
|
|
55
55
|
|
|
56
56
|
var _chunk7P5AA3SNjs = require('./chunk-7P5AA3SN.js');
|
|
@@ -95,10 +95,10 @@ var ToolCallRecovery = class _ToolCallRecovery {
|
|
|
95
95
|
}
|
|
96
96
|
};
|
|
97
97
|
function pendingToolExecutionPath(input) {
|
|
98
|
-
const config =
|
|
98
|
+
const config = _chunkCZUGLUQKjs.resolveConfig.call(void 0, );
|
|
99
99
|
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(_chunk3VN4FTE3js.stableStringify.call(void 0, input.params)).update("\0").update(input.responseIntent).digest("hex");
|
|
100
100
|
return _path.join.call(void 0,
|
|
101
|
-
|
|
101
|
+
_chunkCZUGLUQKjs.sdkCliStateDirPath.call(void 0, config.baseUrl),
|
|
102
102
|
`pending-tool-execution-${fingerprint}.json`
|
|
103
103
|
);
|
|
104
104
|
}
|
|
@@ -619,12 +619,12 @@ function categoryEnumerationRender(summaries) {
|
|
|
619
619
|
};
|
|
620
620
|
}
|
|
621
621
|
async function listToolCategories(emitJson, compact) {
|
|
622
|
-
const client = new (0,
|
|
622
|
+
const client = new (0, _chunkKUEYQLM3js.DeeplineClient)();
|
|
623
623
|
const rawTools = await client.listTools({ compact });
|
|
624
624
|
const items = rawTools.map(toListedTool);
|
|
625
625
|
const summaries = aggregateCategorySummaries(rawTools);
|
|
626
626
|
const outputItems = compact ? items.map(compactTool) : items;
|
|
627
|
-
|
|
627
|
+
_chunkMI2JQCYZjs.printCommandEnvelope.call(void 0,
|
|
628
628
|
{
|
|
629
629
|
tools: outputItems,
|
|
630
630
|
count: outputItems.length,
|
|
@@ -643,7 +643,7 @@ function unknownCategoryError(category, summaries, emitJson) {
|
|
|
643
643
|
const known = summaries.map((item) => item.name);
|
|
644
644
|
const message = `Unknown tool category "${category}". Run \`deepline tools list\` to browse categories.`;
|
|
645
645
|
if (emitJson) {
|
|
646
|
-
|
|
646
|
+
_chunkMI2JQCYZjs.printJson.call(void 0, {
|
|
647
647
|
ok: false,
|
|
648
648
|
exitCode: 4,
|
|
649
649
|
code: "TOOL_CATEGORY_NOT_FOUND",
|
|
@@ -657,13 +657,13 @@ function unknownCategoryError(category, summaries, emitJson) {
|
|
|
657
657
|
const render = categoryEnumerationRender(summaries);
|
|
658
658
|
console.error(message);
|
|
659
659
|
console.error("");
|
|
660
|
-
console.error(
|
|
660
|
+
console.error(_chunkMI2JQCYZjs.renderCommandEnvelopeText.call(void 0, { render }).trimEnd());
|
|
661
661
|
console.error("");
|
|
662
662
|
console.error(`Valid categories: ${known.join(", ")}`);
|
|
663
663
|
return 4;
|
|
664
664
|
}
|
|
665
665
|
async function listToolsInCategory(category, emitJson) {
|
|
666
|
-
const client = new (0,
|
|
666
|
+
const client = new (0, _chunkKUEYQLM3js.DeeplineClient)();
|
|
667
667
|
const rawTools = await client.listTools({
|
|
668
668
|
categories: category,
|
|
669
669
|
compact: false
|
|
@@ -700,7 +700,7 @@ async function listToolsInCategory(category, emitJson) {
|
|
|
700
700
|
}
|
|
701
701
|
]
|
|
702
702
|
};
|
|
703
|
-
|
|
703
|
+
_chunkMI2JQCYZjs.printCommandEnvelope.call(void 0,
|
|
704
704
|
{
|
|
705
705
|
category,
|
|
706
706
|
total: rows.length,
|
|
@@ -713,7 +713,7 @@ async function listToolsInCategory(category, emitJson) {
|
|
|
713
713
|
return 0;
|
|
714
714
|
}
|
|
715
715
|
async function listToolsForCategoryFilter(requestedCategories, emitJson, compact) {
|
|
716
|
-
const client = new (0,
|
|
716
|
+
const client = new (0, _chunkKUEYQLM3js.DeeplineClient)();
|
|
717
717
|
const items = (await client.listTools({
|
|
718
718
|
categories: requestedCategories.join(","),
|
|
719
719
|
compact
|
|
@@ -742,7 +742,7 @@ async function listToolsForCategoryFilter(requestedCategories, emitJson, compact
|
|
|
742
742
|
]
|
|
743
743
|
};
|
|
744
744
|
const outputItems = compact ? items.map(compactTool) : items;
|
|
745
|
-
|
|
745
|
+
_chunkMI2JQCYZjs.printCommandEnvelope.call(void 0,
|
|
746
746
|
{
|
|
747
747
|
tools: outputItems,
|
|
748
748
|
count: outputItems.length,
|
|
@@ -761,13 +761,13 @@ async function listTools(category, options = {}) {
|
|
|
761
761
|
const positional = _nullishCoalesce(_optionalChain([category, 'optionalAccess', _10 => _10.trim, 'call', _11 => _11()]), () => ( ""));
|
|
762
762
|
const flagCategories = (_nullishCoalesce(options.categories, () => ( ""))).split(",").map((item) => item.trim()).filter(Boolean);
|
|
763
763
|
const compact = options.compact !== false;
|
|
764
|
-
const emitJson = options.json === true ||
|
|
764
|
+
const emitJson = options.json === true || _chunkMI2JQCYZjs.shouldEmitJson.call(void 0, );
|
|
765
765
|
if (positional && flagCategories.length > 0) {
|
|
766
766
|
const flagIsSameSingle = flagCategories.length === 1 && flagCategories[0] === positional;
|
|
767
767
|
if (!flagIsSameSingle) {
|
|
768
768
|
const message = `Category "${positional}" and --categories ${flagCategories.join(",")} disagree. Pass one: deepline tools list ${positional}`;
|
|
769
769
|
if (emitJson) {
|
|
770
|
-
|
|
770
|
+
_chunkMI2JQCYZjs.printJson.call(void 0, {
|
|
771
771
|
ok: false,
|
|
772
772
|
exitCode: 2,
|
|
773
773
|
code: "TOOL_LIST_CATEGORY_CONFLICT",
|
|
@@ -794,7 +794,7 @@ async function grepTools(queryInput, options = {}) {
|
|
|
794
794
|
console.error("Usage: deepline tools grep <query> [--json]");
|
|
795
795
|
return 1;
|
|
796
796
|
}
|
|
797
|
-
const client = new (0,
|
|
797
|
+
const client = new (0, _chunkKUEYQLM3js.DeeplineClient)();
|
|
798
798
|
const requestedCategories = options.categories ? options.categories.split(",").map((item) => item.trim()).filter(Boolean) : [];
|
|
799
799
|
const mode = _nullishCoalesce(options.mode, () => ( "all"));
|
|
800
800
|
const jsonOutput = options.json === true;
|
|
@@ -837,7 +837,7 @@ async function grepTools(queryInput, options = {}) {
|
|
|
837
837
|
query,
|
|
838
838
|
mode
|
|
839
839
|
}) : null;
|
|
840
|
-
|
|
840
|
+
_chunkMI2JQCYZjs.printCommandEnvelope.call(void 0,
|
|
841
841
|
{
|
|
842
842
|
tools: outputTools,
|
|
843
843
|
count: outputTools.length,
|
|
@@ -855,7 +855,7 @@ async function grepTools(queryInput, options = {}) {
|
|
|
855
855
|
} : {},
|
|
856
856
|
commandTemplates: TOOL_COMMAND_TEMPLATES
|
|
857
857
|
},
|
|
858
|
-
{ json: options.json ||
|
|
858
|
+
{ json: options.json || _chunkMI2JQCYZjs.shouldEmitJson.call(void 0, ) }
|
|
859
859
|
);
|
|
860
860
|
return 0;
|
|
861
861
|
}
|
|
@@ -1011,7 +1011,7 @@ Examples:
|
|
|
1011
1011
|
json: Boolean(options.json)
|
|
1012
1012
|
});
|
|
1013
1013
|
});
|
|
1014
|
-
|
|
1014
|
+
_chunkZFZ5PICCjs.registerDeprecatedSearchCommand.call(void 0, tools, () => ["tools", "monitors"]);
|
|
1015
1015
|
tools.command("grep <query>").description(
|
|
1016
1016
|
"Literal grep over tool ids, descriptions, categories, and input fields."
|
|
1017
1017
|
).addHelpText(
|
|
@@ -1112,7 +1112,7 @@ Examples:
|
|
|
1112
1112
|
process.exitCode = await narrowView();
|
|
1113
1113
|
return;
|
|
1114
1114
|
}
|
|
1115
|
-
const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-
|
|
1115
|
+
const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-5UWGF33U.js")));
|
|
1116
1116
|
process.exitCode = await describeAnything(
|
|
1117
1117
|
toolId,
|
|
1118
1118
|
{
|
|
@@ -1198,7 +1198,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
|
|
|
1198
1198
|
console.error("Usage: deepline tools describe <toolId> [--json]");
|
|
1199
1199
|
return 1;
|
|
1200
1200
|
}
|
|
1201
|
-
const client = new (0,
|
|
1201
|
+
const client = new (0, _chunkKUEYQLM3js.DeeplineClient)();
|
|
1202
1202
|
let tool;
|
|
1203
1203
|
try {
|
|
1204
1204
|
tool = await _asyncNullishCoalesce(compatibilityMetadata, async () => ( await client.getTool(toolId)));
|
|
@@ -1252,10 +1252,10 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
|
|
|
1252
1252
|
const lines = toolPricingOnlyLines(tool, toolId);
|
|
1253
1253
|
if (inferenceQuote)
|
|
1254
1254
|
lines.push(...inferenceQuoteSummaryLines(inferenceQuote));
|
|
1255
|
-
|
|
1255
|
+
_chunkMI2JQCYZjs.printCommandEnvelope.call(void 0,
|
|
1256
1256
|
{
|
|
1257
1257
|
toolId: String(tool.toolId || toolId),
|
|
1258
|
-
cost:
|
|
1258
|
+
cost: _chunkZFZ5PICCjs.Capability.fromCatalogEntry(tool).describe().customerCost(),
|
|
1259
1259
|
...modelDescription ? { modelOptions: modelDescription } : {},
|
|
1260
1260
|
...isMonitorTypeTool(tool) ? { pricing: recordField(tool, "pricing") } : {},
|
|
1261
1261
|
...inferenceQuote ? { inferenceQuote } : {}
|
|
@@ -1270,7 +1270,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
|
|
|
1270
1270
|
}
|
|
1271
1271
|
if ((options.schemaOnly || options.examplesOnly || options.gettersOnly) && !isMonitorTypeTool(tool) && !isPlayLikeTool(tool) && (options.json || options.contractJson)) {
|
|
1272
1272
|
const contract = toolContractJsonForDescribe(tool, toolId);
|
|
1273
|
-
|
|
1273
|
+
_chunkMI2JQCYZjs.printCompactJson.call(void 0, {
|
|
1274
1274
|
toolId: contract.toolId,
|
|
1275
1275
|
...options.schemaOnly ? {
|
|
1276
1276
|
inputSchema: contract.inputSchema,
|
|
@@ -1293,7 +1293,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
|
|
|
1293
1293
|
return 0;
|
|
1294
1294
|
}
|
|
1295
1295
|
if (options.contractJson) {
|
|
1296
|
-
|
|
1296
|
+
_chunkMI2JQCYZjs.printCompactJson.call(void 0, {
|
|
1297
1297
|
...toolContractJsonForDescribe(tool, toolId),
|
|
1298
1298
|
...modelDescription ? { modelOptions: modelDescription } : {},
|
|
1299
1299
|
...inferenceQuote ? { inferenceQuote } : {}
|
|
@@ -1302,7 +1302,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
|
|
|
1302
1302
|
}
|
|
1303
1303
|
const emitJson = options.json === true;
|
|
1304
1304
|
if (emitJson) {
|
|
1305
|
-
|
|
1305
|
+
_chunkMI2JQCYZjs.printCompactJson.call(void 0, {
|
|
1306
1306
|
...toolMetadataJsonForDescribe(tool, toolId),
|
|
1307
1307
|
...modelDescription ? { modelOptions: modelDescription } : {},
|
|
1308
1308
|
...inferenceQuote ? { inferenceQuote } : {}
|
|
@@ -1379,7 +1379,7 @@ function toolContractJsonForDescribe(tool, requestedToolId, authoringContractEdi
|
|
|
1379
1379
|
const extractedValues = extractionContractEntries(
|
|
1380
1380
|
arrayField2(toolExecutionResult, "extractedValues", "extracted_values")
|
|
1381
1381
|
);
|
|
1382
|
-
const pricing =
|
|
1382
|
+
const pricing = _chunkZFZ5PICCjs.Capability.fromCatalogEntry(tool).describe().customerCost();
|
|
1383
1383
|
const executionMetadataRecord = recordField(
|
|
1384
1384
|
tool,
|
|
1385
1385
|
"executionMetadata",
|
|
@@ -1689,7 +1689,8 @@ function describedTool(tool, requestedToolId) {
|
|
|
1689
1689
|
return { field, node };
|
|
1690
1690
|
});
|
|
1691
1691
|
};
|
|
1692
|
-
const
|
|
1692
|
+
const declaredLists = getterOutputs("extractedLists", [outputSchema]);
|
|
1693
|
+
const lists = declaredLists.some(({ node }) => node) ? declaredLists.filter(({ node }) => node) : declaredLists;
|
|
1693
1694
|
const values = getterOutputs("extractedValues", [
|
|
1694
1695
|
outputSchema,
|
|
1695
1696
|
...lists.map(({ node }) => _optionalChain([node, 'optionalAccess', _15 => _15.items]))
|
|
@@ -1716,7 +1717,7 @@ function describedTool(tool, requestedToolId) {
|
|
|
1716
1717
|
stringField2(cost, "displayText"),
|
|
1717
1718
|
// "Free (free)" says the same thing twice.
|
|
1718
1719
|
billing.toLowerCase() === stringField2(cost, "displayText").toLowerCase() ? "" : billing && `(${billing})`,
|
|
1719
|
-
|
|
1720
|
+
_chunkZFZ5PICCjs.observedMaxText.call(void 0, cost) && `\u2014 ${_chunkZFZ5PICCjs.observedMaxText.call(void 0, cost)}`
|
|
1720
1721
|
].filter(Boolean).join(" ") || void 0,
|
|
1721
1722
|
guidance: [
|
|
1722
1723
|
...contract.deprecated === true ? [`Deprecated. ${stringField2(deprecation, "message")}`.trim()] : [],
|
|
@@ -1853,7 +1854,7 @@ function toolPricingOnlyLines(tool, requestedToolId, options = {}) {
|
|
|
1853
1854
|
return monitorTypePricingLines(tool);
|
|
1854
1855
|
}
|
|
1855
1856
|
const toolId = String(tool.toolId || requestedToolId);
|
|
1856
|
-
const cost =
|
|
1857
|
+
const cost = _chunkZFZ5PICCjs.Capability.fromCatalogEntry(tool).describe().customerCost();
|
|
1857
1858
|
const pricingModel = stringField2(cost, "pricingModel") || "unknown";
|
|
1858
1859
|
const billing = stringField2(cost, "billingSourceLabel") || stringField2(cost, "billingSource") || stringField2(cost, "billingMode") || "unknown";
|
|
1859
1860
|
const explicitUnit = stringField2(cost, "unit");
|
|
@@ -1865,7 +1866,7 @@ function toolPricingOnlyLines(tool, requestedToolId, options = {}) {
|
|
|
1865
1866
|
const price = displayText || summary || (credits !== null ? `${formatDecimal(credits)} Deepline credits${usd !== null ? ` / ${formatUsd(usd)}` : ""} per ${unit}` : "pricing unavailable");
|
|
1866
1867
|
return [
|
|
1867
1868
|
`${_nullishCoalesce(options.heading, () => ( `Pricing: ${toolId}`))}: ${price}`,
|
|
1868
|
-
...
|
|
1869
|
+
..._chunkZFZ5PICCjs.observedMaxText.call(void 0, cost) ? [` ${_chunkZFZ5PICCjs.observedMaxText.call(void 0, cost)}`] : [],
|
|
1869
1870
|
...cost.observedReference || cost.estimatedRange ? [
|
|
1870
1871
|
...summary ? [` ${summary}`] : [],
|
|
1871
1872
|
...(_nullishCoalesce(cost.details, () => ( []))).map((detail) => ` ${detail}`)
|
|
@@ -2143,7 +2144,7 @@ function toolMetadataJsonForDescribe(tool, requestedToolId) {
|
|
|
2143
2144
|
} = tool;
|
|
2144
2145
|
const outputSchemaRecord = recordField(tool, "outputSchema", "output_schema");
|
|
2145
2146
|
return {
|
|
2146
|
-
cost:
|
|
2147
|
+
cost: _chunkZFZ5PICCjs.Capability.fromCatalogEntry(tool).describe().customerCost(),
|
|
2147
2148
|
...publicTool,
|
|
2148
2149
|
toolId,
|
|
2149
2150
|
provider: tool.provider,
|
|
@@ -2757,7 +2758,7 @@ function parseExecuteOptions(toolId, options, output) {
|
|
|
2757
2758
|
outputFormat = normalizeOutputFormat(options.outputFormat);
|
|
2758
2759
|
}
|
|
2759
2760
|
if (options.idempotencyKey !== void 0) {
|
|
2760
|
-
|
|
2761
|
+
_chunkKUEYQLM3js.validateExecutionIdempotencyKey.call(void 0, options.idempotencyKey);
|
|
2761
2762
|
}
|
|
2762
2763
|
if (options.recoveryTimeoutMs !== void 0) {
|
|
2763
2764
|
const parsed = Number(options.recoveryTimeoutMs);
|
|
@@ -3068,20 +3069,20 @@ function buildToolExecuteRowArtifactEnvelope(input) {
|
|
|
3068
3069
|
}
|
|
3069
3070
|
async function executeTool(toolId, options) {
|
|
3070
3071
|
const output = toolExecuteJsonOption(options.json);
|
|
3071
|
-
const wantsJson =
|
|
3072
|
+
const wantsJson = _chunkMI2JQCYZjs.shouldEmitJson.call(void 0, output.requested) || (_nullishCoalesce(options.outputFormat, () => ( "auto"))).trim().toLowerCase() !== "csv";
|
|
3072
3073
|
let parsed;
|
|
3073
3074
|
try {
|
|
3074
3075
|
parsed = parseExecuteOptions(toolId, options, output);
|
|
3075
3076
|
} catch (error) {
|
|
3076
3077
|
if (wantsJson) {
|
|
3077
|
-
|
|
3078
|
+
_chunkMI2JQCYZjs.printJsonError.call(void 0, error);
|
|
3078
3079
|
} else {
|
|
3079
3080
|
console.error(error instanceof Error ? error.message : String(error));
|
|
3080
3081
|
}
|
|
3081
3082
|
return error instanceof _chunk7P5AA3SNjs.DeeplineError && error.code === "IDEMPOTENCY_KEY_INVALID" ? 2 : 1;
|
|
3082
3083
|
}
|
|
3083
3084
|
const cliInvocationId = _nullishCoalesce(_chunkQJBJZVG6js.getToolExecuteInvocationId.call(void 0, ), () => ( _chunkQJBJZVG6js.beginToolExecuteCommand.call(void 0, )));
|
|
3084
|
-
const client = new (0,
|
|
3085
|
+
const client = new (0, _chunkKUEYQLM3js.DeeplineClient)();
|
|
3085
3086
|
let metadata;
|
|
3086
3087
|
try {
|
|
3087
3088
|
metadata = await _chunkQJBJZVG6js.runToolExecuteStage.call(void 0,
|
|
@@ -3096,7 +3097,7 @@ async function executeTool(toolId, options) {
|
|
|
3096
3097
|
);
|
|
3097
3098
|
if (play) {
|
|
3098
3099
|
if (wantsJson) {
|
|
3099
|
-
|
|
3100
|
+
_chunkMI2JQCYZjs.printJsonError.call(void 0,
|
|
3100
3101
|
new Error(playAliasToolErrorMessage(parsed.toolId, play))
|
|
3101
3102
|
);
|
|
3102
3103
|
} else {
|
|
@@ -3109,7 +3110,7 @@ async function executeTool(toolId, options) {
|
|
|
3109
3110
|
}
|
|
3110
3111
|
if (isPlayLikeTool(metadata)) {
|
|
3111
3112
|
if (wantsJson) {
|
|
3112
|
-
|
|
3113
|
+
_chunkMI2JQCYZjs.printJsonError.call(void 0,
|
|
3113
3114
|
new Error(
|
|
3114
3115
|
playLikeToolExecuteErrorMessage(
|
|
3115
3116
|
parsed.toolId,
|
|
@@ -3145,7 +3146,7 @@ async function executeTool(toolId, options) {
|
|
|
3145
3146
|
responseIntent,
|
|
3146
3147
|
...idempotencyKey ? { idempotencyKey } : {},
|
|
3147
3148
|
...parsed.recoveryTimeoutMs !== void 0 ? { recoveryTimeoutMs: parsed.recoveryTimeoutMs } : {},
|
|
3148
|
-
searchRef:
|
|
3149
|
+
searchRef: _chunkZFZ5PICCjs.recentSearchRef.call(void 0, ),
|
|
3149
3150
|
cliInvocationId,
|
|
3150
3151
|
onResponseReceived: _chunkZMVJSS6Njs.recordApiResponse
|
|
3151
3152
|
}).catch((error) => {
|
|
@@ -3186,7 +3187,7 @@ async function executeTool(toolId, options) {
|
|
|
3186
3187
|
const executeExitCode = toolExecuteExitCode(baseEnvelope);
|
|
3187
3188
|
const delivered = await _chunkQJBJZVG6js.runToolExecuteStage.call(void 0, "output delivery", () => {
|
|
3188
3189
|
if (!parsed.outPath && (parsed.outputFormat === "json" || parsed.outputFormat === "auto" && wantsJson)) {
|
|
3189
|
-
|
|
3190
|
+
_chunkMI2JQCYZjs.printCommandEnvelope.call(void 0, baseEnvelope, { json: true });
|
|
3190
3191
|
return true;
|
|
3191
3192
|
}
|
|
3192
3193
|
if (parsed.outputFormat === "json_file") {
|
|
@@ -3194,7 +3195,7 @@ async function executeTool(toolId, options) {
|
|
|
3194
3195
|
rawResponse,
|
|
3195
3196
|
`payload_${parsed.toolId}`
|
|
3196
3197
|
);
|
|
3197
|
-
|
|
3198
|
+
_chunkMI2JQCYZjs.printCommandEnvelope.call(void 0,
|
|
3198
3199
|
{
|
|
3199
3200
|
...baseEnvelope,
|
|
3200
3201
|
local: {
|
|
@@ -3216,7 +3217,7 @@ async function executeTool(toolId, options) {
|
|
|
3216
3217
|
`${parsed.toolId} did not expose row-shaped output to write as CSV. ${inspection.inspectDescription} Run: ${inspection.inspect}`
|
|
3217
3218
|
);
|
|
3218
3219
|
if (wantsJson) {
|
|
3219
|
-
|
|
3220
|
+
_chunkMI2JQCYZjs.printJsonError.call(void 0, error);
|
|
3220
3221
|
} else {
|
|
3221
3222
|
console.error(error.message);
|
|
3222
3223
|
}
|
|
@@ -3227,7 +3228,7 @@ async function executeTool(toolId, options) {
|
|
|
3227
3228
|
rawResponse,
|
|
3228
3229
|
`payload_${parsed.toolId}`
|
|
3229
3230
|
);
|
|
3230
|
-
|
|
3231
|
+
_chunkMI2JQCYZjs.printCommandEnvelope.call(void 0,
|
|
3231
3232
|
{
|
|
3232
3233
|
...baseEnvelope,
|
|
3233
3234
|
local: {
|
|
@@ -3238,7 +3239,7 @@ async function executeTool(toolId, options) {
|
|
|
3238
3239
|
);
|
|
3239
3240
|
return true;
|
|
3240
3241
|
}
|
|
3241
|
-
|
|
3242
|
+
_chunkMI2JQCYZjs.printCommandEnvelope.call(void 0, baseEnvelope, { json: false });
|
|
3242
3243
|
return true;
|
|
3243
3244
|
}
|
|
3244
3245
|
const rowOutput = _chunk3VN4FTE3js.projectRowOutput.call(void 0, listConversion);
|
|
@@ -3262,7 +3263,7 @@ async function executeTool(toolId, options) {
|
|
|
3262
3263
|
seededScript
|
|
3263
3264
|
});
|
|
3264
3265
|
if (parsed.outputFormat === "csv_file") {
|
|
3265
|
-
|
|
3266
|
+
_chunkMI2JQCYZjs.printCommandEnvelope.call(void 0, materializedEnvelope, { json: true });
|
|
3266
3267
|
return true;
|
|
3267
3268
|
}
|
|
3268
3269
|
if (parsed.outPath) {
|
|
@@ -3270,7 +3271,7 @@ async function executeTool(toolId, options) {
|
|
|
3270
3271
|
toolId: parsed.toolId,
|
|
3271
3272
|
idempotencyKey
|
|
3272
3273
|
});
|
|
3273
|
-
|
|
3274
|
+
_chunkMI2JQCYZjs.printCommandEnvelope.call(void 0, materializedEnvelope, {
|
|
3274
3275
|
json: wantsJson,
|
|
3275
3276
|
text: `Wrote ${csv.rowCount} row(s) to ${csv.path}
|
|
3276
3277
|
inspect: ${inspection.inspect}
|
|
@@ -3279,7 +3280,7 @@ inspect: ${inspection.inspect}
|
|
|
3279
3280
|
return true;
|
|
3280
3281
|
}
|
|
3281
3282
|
if (parsed.noPreview) {
|
|
3282
|
-
|
|
3283
|
+
_chunkMI2JQCYZjs.printCommandEnvelope.call(void 0,
|
|
3283
3284
|
{
|
|
3284
3285
|
...materializedEnvelope,
|
|
3285
3286
|
local: {
|
|
@@ -3292,7 +3293,7 @@ inspect: ${inspection.inspect}
|
|
|
3292
3293
|
);
|
|
3293
3294
|
return true;
|
|
3294
3295
|
}
|
|
3295
|
-
|
|
3296
|
+
_chunkMI2JQCYZjs.printCommandEnvelope.call(void 0, materializedEnvelope, {
|
|
3296
3297
|
json: wantsJson && parsed.outputFormat !== "csv"
|
|
3297
3298
|
});
|
|
3298
3299
|
return true;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkCZUGLUQKjs = require('./chunk-CZUGLUQK.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
var _chunk7P5AA3SNjs = require('./chunk-7P5AA3SN.js');
|
|
@@ -225,8 +225,8 @@ var BROWSER_OPEN_COOLDOWN_MS = 3e4;
|
|
|
225
225
|
var SAME_URL_BROWSER_OPEN_COOLDOWN_MS = 5 * 6e4;
|
|
226
226
|
var defaultBrowserCommandRunner = childProcess;
|
|
227
227
|
function getAuthedHttpClient() {
|
|
228
|
-
const config =
|
|
229
|
-
return { config, http: new (0,
|
|
228
|
+
const config = _chunkCZUGLUQKjs.resolveConfig.call(void 0, );
|
|
229
|
+
return { config, http: new (0, _chunkCZUGLUQKjs.HttpClient)(config) };
|
|
230
230
|
}
|
|
231
231
|
function stableOsUserId() {
|
|
232
232
|
try {
|
|
@@ -566,7 +566,7 @@ function collectLocalEnvInfo() {
|
|
|
566
566
|
os: `${process.platform} ${process.arch}`,
|
|
567
567
|
node_version: process.version,
|
|
568
568
|
home_dir: homeDir,
|
|
569
|
-
agent_runtime:
|
|
569
|
+
agent_runtime: _chunkCZUGLUQKjs.detectAgentRuntime.call(void 0, )
|
|
570
570
|
};
|
|
571
571
|
const env = process.env;
|
|
572
572
|
const optional = {
|
|
@@ -813,9 +813,9 @@ function markdownTableFromRows(rows, preferredColumns = []) {
|
|
|
813
813
|
}
|
|
814
814
|
function withAgentCommandContext(value) {
|
|
815
815
|
const valueRecord = value !== null && typeof value === "object" && !Array.isArray(value) ? value : null;
|
|
816
|
-
return
|
|
816
|
+
return _chunkCZUGLUQKjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
|
|
817
817
|
...valueRecord,
|
|
818
|
-
command_context:
|
|
818
|
+
command_context: _chunkCZUGLUQKjs.resolveCliCommandContext.call(void 0, )
|
|
819
819
|
} : value;
|
|
820
820
|
}
|
|
821
821
|
function printJson(value, fields) {
|
|
@@ -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.390",
|
|
53
53
|
updateSummary: "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.",
|
|
54
54
|
packageCapabilities: {
|
|
55
55
|
updatePreferences: 1
|