deepline 0.3.459 → 0.3.461
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/billing/state.ts +28 -0
- package/dist/bundling-sources/shared_libs/monitors/signal-radars/inbound-dead-letter.ts +24 -0
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +11 -20
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/receipt-gateway.ts +72 -0
- package/dist/bundling-sources/shared_libs/play-runtime/tool-execute-retry-policy.ts +51 -3
- package/dist/bundling-sources/shared_libs/play-runtime/tool-http-errors.ts +5 -1
- package/dist/cli/{auth-2RM2ZC6E.mjs → auth-6HJXNWUG.mjs} +4 -4
- package/dist/cli/auth-IACERYQH.js +40 -0
- package/dist/cli/{billing-4BZABEOA.js → billing-6P5HO6QG.js} +73 -73
- package/dist/cli/{billing-FYF2GJ25.mjs → billing-MJ42N7YF.mjs} +4 -4
- package/dist/cli/{chunk-5WGW57KC.mjs → chunk-3BMLICF7.mjs} +3 -3
- package/dist/cli/{chunk-HUVI6EBF.js → chunk-5FDKJQZE.js} +1 -1
- package/dist/cli/{chunk-FBMVFOD7.js → chunk-5FY72YOV.js} +8 -8
- package/dist/cli/{chunk-KB4XJRQW.js → chunk-5IYOUBFZ.js} +8 -8
- package/dist/cli/{chunk-U3VAYRUL.js → chunk-5MDIZX7M.js} +6 -6
- package/dist/cli/{chunk-UIKSAVAE.js → chunk-ACCR7POB.js} +26 -26
- package/dist/cli/{chunk-MHMRLS7W.mjs → chunk-BGY2PLP7.mjs} +3 -3
- package/dist/cli/{chunk-ACCQ5OM7.js → chunk-CRYOUPEB.js} +16 -16
- package/dist/cli/{chunk-Z4YO4J4J.js → chunk-FCAZQ7WV.js} +50 -50
- package/dist/cli/{chunk-LSJYTDEK.mjs → chunk-FGLKOWSC.mjs} +1 -1
- package/dist/cli/{chunk-FFUQFRKZ.js → chunk-FGMX4HUZ.js} +20 -20
- package/dist/cli/{chunk-BIPMJKLI.mjs → chunk-FJZILBL7.mjs} +5 -5
- package/dist/cli/{chunk-SOUQUQQE.mjs → chunk-IHHLTHE7.mjs} +8 -8
- package/dist/cli/{chunk-PI65FBEA.js → chunk-KCCOQ5G5.js} +81 -81
- package/dist/cli/{chunk-OD236M42.mjs → chunk-KVJ5VHW5.mjs} +2 -2
- package/dist/cli/{chunk-LGOI2BRX.js → chunk-MDJPEGVN.js} +10 -10
- package/dist/cli/{chunk-ZAJAGMXA.mjs → chunk-MEAIOXJL.mjs} +2 -2
- package/dist/cli/{chunk-KDDB5S6E.mjs → chunk-MGXEUZHL.mjs} +3 -3
- package/dist/cli/{chunk-S5TTNBEZ.js → chunk-O6QOMHCH.js} +35 -35
- package/dist/cli/{chunk-FPPCTKV6.js → chunk-OZBWRICM.js} +2 -2
- package/dist/cli/{chunk-5KC7RLJO.js → chunk-PNATXKLP.js} +6 -6
- package/dist/cli/{chunk-Y35FCRLQ.mjs → chunk-QAJAJPKK.mjs} +1 -1
- package/dist/cli/{chunk-HU7JG4RL.mjs → chunk-QEYHTIV4.mjs} +1 -1
- package/dist/cli/{chunk-7DFM5YLL.mjs → chunk-QIW7TVV6.mjs} +4 -4
- package/dist/cli/{chunk-NLRKZJZF.mjs → chunk-R64BGGRQ.mjs} +2 -2
- package/dist/cli/{chunk-4EBJNT5C.mjs → chunk-RFONC4WJ.mjs} +2 -2
- package/dist/cli/{chunk-7AGGDRNR.mjs → chunk-RY4IVOU3.mjs} +1 -1
- package/dist/cli/{chunk-OY4JQBJG.js → chunk-SAZFZQRI.js} +2 -2
- package/dist/cli/{chunk-JOSOQJ5P.js → chunk-SCIR5JXW.js} +51 -51
- package/dist/cli/{chunk-OQW2YP3P.mjs → chunk-T3MVIPHG.mjs} +1 -1
- package/dist/cli/{chunk-2JSVKNLG.js → chunk-TNMBPMMC.js} +3 -3
- package/dist/cli/{chunk-RLQDDJZZ.mjs → chunk-V7REJRDZ.mjs} +1 -1
- package/dist/cli/{chunk-MNNMPS6J.mjs → chunk-VZBCEA5S.mjs} +1 -1
- package/dist/cli/{chunk-VLJXYDGZ.js → chunk-YQDUODZW.js} +4 -4
- package/dist/cli/{csv-SDVEU3O5.mjs → csv-DQ6GW5B5.mjs} +3 -3
- package/dist/cli/{csv-LRIV3RXE.js → csv-NX7NO3O6.js} +12 -12
- package/dist/cli/{db-NHYULZTM.mjs → db-2YP33M4K.mjs} +4 -4
- package/dist/cli/{db-JS4OEDNY.js → db-R72DFMP6.js} +25 -25
- package/dist/cli/{describe-ZFKCZHOJ.js → describe-2WQY7ZCY.js} +17 -17
- package/dist/cli/{describe-H5F72Q3S.mjs → describe-FRAVCY5F.mjs} +13 -13
- package/dist/cli/{executions-25YKX4K3.mjs → executions-WFBU7L2Q.mjs} +4 -4
- package/dist/cli/{executions-QPAKZTNQ.js → executions-ZLHD4QIT.js} +6 -6
- package/dist/cli/{feedback-Z3BES6L6.mjs → feedback-CN3HJFVF.mjs} +3 -3
- package/dist/cli/{feedback-O63Z5O2R.js → feedback-NDV6TPHG.js} +7 -7
- package/dist/cli/git-JVI36ZFV.js +24 -0
- package/dist/cli/{git-V7S3IBLO.mjs → git-QAD6E3HW.mjs} +4 -4
- package/dist/cli/index.js +132 -132
- package/dist/cli/index.mjs +37 -37
- package/dist/cli/{legacy-noops-ZLLYEGQ6.js → legacy-noops-KVC5QJ74.js} +7 -7
- package/dist/cli/{legacy-noops-VRT5WZ5I.mjs → legacy-noops-TPTKNBI2.mjs} +4 -4
- package/dist/cli/{monitors-T7FKIDDY.js → monitors-KCROV6PJ.js} +89 -89
- package/dist/cli/{monitors-44KSWY3M.mjs → monitors-SV57JFLO.mjs} +5 -5
- package/dist/cli/{org-BZE4CGIT.mjs → org-KX6QIR7A.mjs} +4 -4
- package/dist/cli/{org-KPPG2KY4.js → org-NJYX5743.js} +66 -66
- package/dist/cli/{play-M5P74N3E.js → play-32L7EQN4.js} +284 -284
- package/dist/cli/{play-CHTP4NKR.mjs → play-IQQ57L7Z.mjs} +11 -11
- package/dist/cli/{providers-CGLPOOXA.mjs → providers-4WEC2EQN.mjs} +4 -4
- package/dist/cli/{providers-L3PK7NHU.js → providers-ZQV6QLVQ.js} +7 -7
- package/dist/cli/{quickstart-LJ7HELWE.js → quickstart-HKUSFADF.js} +5 -5
- package/dist/cli/{quickstart-NWG35AKK.mjs → quickstart-RQ76RIUE.mjs} +3 -3
- package/dist/cli/search-75X5LTDE.js +30 -0
- package/dist/cli/{search-723TVSNC.mjs → search-ZRAVFBZC.mjs} +5 -5
- package/dist/cli/{secrets-ONN3Z5Y6.mjs → secrets-CMJOVNVH.mjs} +4 -4
- package/dist/cli/{secrets-SVSSLPWB.js → secrets-J3G5Y43U.js} +13 -13
- package/dist/cli/{sessions-3KAEYQ3U.mjs → sessions-MDQYY5CB.mjs} +4 -4
- package/dist/cli/{sessions-7LYPPYUY.js → sessions-WY7VN4AE.js} +5 -5
- package/dist/cli/{settings-2CBJI7FY.mjs → settings-4RWZPCT5.mjs} +9 -9
- package/dist/cli/{settings-JGJZO7EX.js → settings-HTNTFKCE.js} +76 -76
- package/dist/cli/{setup-BJCBDH34.mjs → setup-P3GYYZWG.mjs} +8 -8
- package/dist/cli/{setup-AIAOO7R4.js → setup-QGCAP62X.js} +43 -43
- package/dist/cli/{skills-7QSQPQXX.mjs → skills-7NAE4ICL.mjs} +6 -6
- package/dist/cli/skills-BKJ53JOQ.js +30 -0
- package/dist/cli/{tools-I7LYXHDR.mjs → tools-COWMIEJ6.mjs} +13 -13
- package/dist/cli/tools-TASOCE7I.js +45 -0
- package/dist/cli/{update-LKY5OJ56.mjs → update-GODLRKNB.mjs} +8 -8
- package/dist/cli/update-SJIKVME6.js +32 -0
- package/dist/cli/{workflow-DD32BU7Y.mjs → workflow-4BXOUVEO.mjs} +5 -5
- package/dist/cli/{workflow-Y4HGE7MB.js → workflow-AO3A6LXN.js} +15 -15
- package/dist/index.js +6 -6
- package/dist/index.mjs +3 -3
- package/dist/install-integrity.json +80 -80
- 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-EAFWPDJG.js +0 -40
- package/dist/cli/git-KSRP3PNB.js +0 -24
- package/dist/cli/search-PESQULBG.js +0 -30
- package/dist/cli/skills-WECIGARR.js +0 -30
- package/dist/cli/tools-HTEMYXT2.js +0 -45
- package/dist/cli/update-J4LSPXHD.js +0 -32
|
@@ -1,6 +1,6 @@
|
|
|
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
|
-
var
|
|
3
|
+
var _chunkTNMBPMMCjs = require('./chunk-TNMBPMMC.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
@@ -17,13 +17,13 @@ var _chunk2JSVKNLGjs = require('./chunk-2JSVKNLG.js');
|
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
20
|
+
var _chunkYQDUODZWjs = require('./chunk-YQDUODZW.js');
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
var
|
|
26
|
+
var _chunk5FDKJQZEjs = require('./chunk-5FDKJQZE.js');
|
|
27
27
|
|
|
28
28
|
// src/compat.ts
|
|
29
29
|
var _crypto = require('crypto');
|
|
@@ -58,7 +58,7 @@ function shouldSkipCompatibilityCheck() {
|
|
|
58
58
|
return value === "1" || value === "true" || value === "yes";
|
|
59
59
|
}
|
|
60
60
|
function sdkCompatibilityCachePath(baseUrl, homeDir = _optionalChain([process, 'access', _7 => _7.env, 'access', _8 => _8.HOME, 'optionalAccess', _9 => _9.trim, 'call', _10 => _10()]) || _os.homedir.call(void 0, )) {
|
|
61
|
-
return _path.join.call(void 0,
|
|
61
|
+
return _path.join.call(void 0, _chunkYQDUODZWjs.sdkCliStateDirPath.call(void 0, baseUrl, homeDir), "compat-cache.json");
|
|
62
62
|
}
|
|
63
63
|
function legacySdkCompatibilityCachePath(homeDir = _optionalChain([process, 'access', _11 => _11.env, 'access', _12 => _12.HOME, 'optionalAccess', _13 => _13.trim, 'call', _14 => _14()]) || _os.homedir.call(void 0, )) {
|
|
64
64
|
return _path.join.call(void 0, homeDir, ".cache", "deepline", "sdk-compat-cache.json");
|
|
@@ -66,9 +66,9 @@ function legacySdkCompatibilityCachePath(homeDir = _optionalChain([process, 'acc
|
|
|
66
66
|
function compatibilityCacheKey(baseUrl, command, skillsVersion) {
|
|
67
67
|
return JSON.stringify({
|
|
68
68
|
baseUrl: baseUrl.replace(/\/$/, ""),
|
|
69
|
-
version:
|
|
70
|
-
apiContract:
|
|
71
|
-
apiMajor:
|
|
69
|
+
version: _chunkYQDUODZWjs.SDK_VERSION,
|
|
70
|
+
apiContract: _chunkYQDUODZWjs.SDK_API_CONTRACT,
|
|
71
|
+
apiMajor: _chunkYQDUODZWjs.SDK_API_MAJOR,
|
|
72
72
|
command: _optionalChain([command, 'optionalAccess', _15 => _15.trim, 'call', _16 => _16()]) || null,
|
|
73
73
|
skillsVersion: _nullishCoalesce(skillsVersion, () => ( null))
|
|
74
74
|
});
|
|
@@ -76,8 +76,8 @@ function compatibilityCacheKey(baseUrl, command, skillsVersion) {
|
|
|
76
76
|
function legacyCompatibilityCacheKey(baseUrl, command) {
|
|
77
77
|
return JSON.stringify({
|
|
78
78
|
baseUrl: baseUrl.replace(/\/$/, ""),
|
|
79
|
-
version:
|
|
80
|
-
apiContract:
|
|
79
|
+
version: _chunkYQDUODZWjs.SDK_VERSION,
|
|
80
|
+
apiContract: _chunkYQDUODZWjs.SDK_API_CONTRACT,
|
|
81
81
|
command: _optionalChain([command, 'optionalAccess', _17 => _17.trim, 'call', _18 => _18()]) || null
|
|
82
82
|
});
|
|
83
83
|
}
|
|
@@ -102,7 +102,7 @@ function isSavedWithin(savedAt, windowMs, now) {
|
|
|
102
102
|
}
|
|
103
103
|
var UPDATE_ADVISORY_INTERVAL_MS = 24 * 60 * 60 * 1e3;
|
|
104
104
|
function claimUpdateAdvisory(baseUrl, now = Date.now()) {
|
|
105
|
-
const path = _path.join.call(void 0,
|
|
105
|
+
const path = _path.join.call(void 0, _chunkYQDUODZWjs.sdkCliStateDirPath.call(void 0, baseUrl), "update-advisory.json");
|
|
106
106
|
try {
|
|
107
107
|
const { shownAt } = JSON.parse(_fs.readFileSync.call(void 0, path, "utf8"));
|
|
108
108
|
if (isSavedWithin(shownAt, UPDATE_ADVISORY_INTERVAL_MS, now)) return false;
|
|
@@ -186,7 +186,7 @@ async function checkSdkCompatibility(baseUrl, options = {}) {
|
|
|
186
186
|
);
|
|
187
187
|
try {
|
|
188
188
|
const url = new URL("/api/v2/sdk/compat", baseUrl);
|
|
189
|
-
url.searchParams.set("version",
|
|
189
|
+
url.searchParams.set("version", _chunkYQDUODZWjs.SDK_VERSION);
|
|
190
190
|
if (_optionalChain([options, 'access', _27 => _27.command, 'optionalAccess', _28 => _28.trim, 'call', _29 => _29()])) {
|
|
191
191
|
url.searchParams.set("command", options.command.trim());
|
|
192
192
|
}
|
|
@@ -194,7 +194,7 @@ async function checkSdkCompatibility(baseUrl, options = {}) {
|
|
|
194
194
|
url.searchParams.set("skills_version", _nullishCoalesce(options.skillsVersion, () => ( "")));
|
|
195
195
|
url.searchParams.set(
|
|
196
196
|
"skills_cli_capability",
|
|
197
|
-
String(
|
|
197
|
+
String(_chunk5FDKJQZEjs.SDK_RELEASE.packageCapabilities.skillsGuidance)
|
|
198
198
|
);
|
|
199
199
|
}
|
|
200
200
|
if (options.catalog) {
|
|
@@ -206,14 +206,14 @@ async function checkSdkCompatibility(baseUrl, options = {}) {
|
|
|
206
206
|
const response = await fetch(url, {
|
|
207
207
|
method: "GET",
|
|
208
208
|
headers: {
|
|
209
|
-
...
|
|
210
|
-
"User-Agent": `deepline-ts-sdk/${
|
|
211
|
-
"X-Deepline-SDK-Version":
|
|
212
|
-
"X-Deepline-API-Major": String(
|
|
213
|
-
"X-Deepline-API-Contract":
|
|
209
|
+
..._chunkYQDUODZWjs.deploymentProtectionHeaders.call(void 0, ),
|
|
210
|
+
"User-Agent": `deepline-ts-sdk/${_chunkYQDUODZWjs.SDK_VERSION}`,
|
|
211
|
+
"X-Deepline-SDK-Version": _chunkYQDUODZWjs.SDK_VERSION,
|
|
212
|
+
"X-Deepline-API-Major": String(_chunkYQDUODZWjs.SDK_API_MAJOR),
|
|
213
|
+
"X-Deepline-API-Contract": _chunkYQDUODZWjs.SDK_API_CONTRACT,
|
|
214
214
|
"X-Deepline-CLI-Update-Preferences": "1",
|
|
215
215
|
"X-Deepline-CLI-Auto-Update-Capability": SDK_CLI_AUTO_UPDATE_CAPABILITY,
|
|
216
|
-
...options.catalog ? { Authorization: `Bearer ${
|
|
216
|
+
...options.catalog ? { Authorization: `Bearer ${_chunkYQDUODZWjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl)}` } : {},
|
|
217
217
|
..._optionalChain([options, 'access', _30 => _30.catalog, 'optionalAccess', _31 => _31.cliInvocationId]) ? { "X-Deepline-CLI-Invocation-ID": options.catalog.cliInvocationId } : {}
|
|
218
218
|
},
|
|
219
219
|
signal: controller.signal
|
|
@@ -374,7 +374,7 @@ function skillsSourceUrl(baseUrl) {
|
|
|
374
374
|
function buildSkillsAddArgs(baseUrl, skillName, options = {}) {
|
|
375
375
|
const skillNames = Array.isArray(skillName) ? skillName : [skillName];
|
|
376
376
|
const [firstSkillName, ...extraSkillNames] = skillNames;
|
|
377
|
-
const agents = _nullishCoalesce(options.agents, () => (
|
|
377
|
+
const agents = _nullishCoalesce(options.agents, () => ( _chunkYQDUODZWjs.DEFAULT_SKILL_AGENTS));
|
|
378
378
|
const values = {
|
|
379
379
|
skills_index_url: skillsIndexUrl(baseUrl),
|
|
380
380
|
skills_source_url: skillsSourceUrl(baseUrl),
|
|
@@ -593,7 +593,7 @@ function buildEnvironmentContext() {
|
|
|
593
593
|
node_version: process.version,
|
|
594
594
|
runtime: "Node.js",
|
|
595
595
|
hostname: _os.hostname.call(void 0, ),
|
|
596
|
-
agent_runtime:
|
|
596
|
+
agent_runtime: _chunkYQDUODZWjs.detectAgentRuntime.call(void 0, )
|
|
597
597
|
};
|
|
598
598
|
for (const key of ["CLAUDE_CODE_REMOTE", "DEEPLINE_PLUGIN_MODE"]) {
|
|
599
599
|
const normalized = _optionalChain([process, 'access', _42 => _42.env, 'access', _43 => _43[key], 'optionalAccess', _44 => _44.trim, 'call', _45 => _45()]);
|
|
@@ -615,15 +615,15 @@ function buildEnvironmentContext() {
|
|
|
615
615
|
}
|
|
616
616
|
function failureReportHeaders(apiKey) {
|
|
617
617
|
return {
|
|
618
|
-
...
|
|
618
|
+
..._chunkYQDUODZWjs.deploymentProtectionHeaders.call(void 0, ),
|
|
619
619
|
Authorization: `Bearer ${apiKey}`,
|
|
620
620
|
"Content-Type": "application/json",
|
|
621
|
-
"User-Agent": `deepline-ts-sdk/${
|
|
621
|
+
"User-Agent": `deepline-ts-sdk/${_chunkYQDUODZWjs.SDK_VERSION}`,
|
|
622
622
|
"X-Deepline-Client-Family": "sdk",
|
|
623
623
|
"X-Deepline-CLI-Family": "sdk",
|
|
624
|
-
"X-Deepline-Agent-Runtime":
|
|
625
|
-
"X-Deepline-CLI-Version":
|
|
626
|
-
"X-Deepline-SDK-Version":
|
|
624
|
+
"X-Deepline-Agent-Runtime": _chunkYQDUODZWjs.detectAgentRuntime.call(void 0, ),
|
|
625
|
+
"X-Deepline-CLI-Version": _chunkYQDUODZWjs.SDK_VERSION,
|
|
626
|
+
"X-Deepline-SDK-Version": _chunkYQDUODZWjs.SDK_VERSION
|
|
627
627
|
};
|
|
628
628
|
}
|
|
629
629
|
async function postFailureReport(input) {
|
|
@@ -651,7 +651,7 @@ async function maybeReportAutomaticSkillsSyncFailure(input) {
|
|
|
651
651
|
if (isFailureReportingDisabled()) return false;
|
|
652
652
|
let apiKey = "";
|
|
653
653
|
try {
|
|
654
|
-
apiKey =
|
|
654
|
+
apiKey = _chunkYQDUODZWjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
|
|
655
655
|
} catch (e9) {
|
|
656
656
|
return false;
|
|
657
657
|
}
|
|
@@ -678,7 +678,7 @@ async function maybeReportAutomaticSkillsSyncFailure(input) {
|
|
|
678
678
|
failure_code: failureCode2,
|
|
679
679
|
failure_stage: failureStage,
|
|
680
680
|
error_body: "Automatic Deepline skills installation failed.",
|
|
681
|
-
cli_version:
|
|
681
|
+
cli_version: _chunkYQDUODZWjs.SDK_VERSION,
|
|
682
682
|
context: {
|
|
683
683
|
environment: buildEnvironmentContext(),
|
|
684
684
|
skills_sync: {
|
|
@@ -798,7 +798,7 @@ function buildFailureReport(input) {
|
|
|
798
798
|
failure_kind: failureKind,
|
|
799
799
|
failure_code: code,
|
|
800
800
|
failure_stage: input.error === void 0 ? "command_exit" : "cli_main",
|
|
801
|
-
cli_version:
|
|
801
|
+
cli_version: _chunkYQDUODZWjs.SDK_VERSION,
|
|
802
802
|
context: {
|
|
803
803
|
base_url: redactFailureText(input.baseUrl, 400),
|
|
804
804
|
command_summary: sanitizeCommand(input.argv),
|
|
@@ -818,8 +818,8 @@ async function maybeReportSdkCliFailure(input) {
|
|
|
818
818
|
if (isServerLoggedPlayRunStartFailure(input)) return false;
|
|
819
819
|
const exitCode = resolvedExitCode(input);
|
|
820
820
|
if (!shouldReport({ exitCode, error: input.error })) return false;
|
|
821
|
-
const baseUrl =
|
|
822
|
-
const apiKey =
|
|
821
|
+
const baseUrl = _chunkYQDUODZWjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
|
|
822
|
+
const apiKey = _chunkYQDUODZWjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
|
|
823
823
|
if (!apiKey) return false;
|
|
824
824
|
return postFailureReport({
|
|
825
825
|
baseUrl,
|
|
@@ -856,25 +856,25 @@ var CHECK_TIMEOUT_MS2 = 3e3;
|
|
|
856
856
|
var INSTALLER_PROBE_TIMEOUT_MS = 1e3;
|
|
857
857
|
var PUBLISHED_VERIFICATION_RETRY_MS = 5 * 6e4;
|
|
858
858
|
function shouldSkipSkillsSync() {
|
|
859
|
-
if (
|
|
859
|
+
if (_chunkYQDUODZWjs.detectAgentRuntime.call(void 0, ) === "claude_cowork" || isCiEnvironment()) {
|
|
860
860
|
return true;
|
|
861
861
|
}
|
|
862
862
|
const value = _optionalChain([process, 'access', _66 => _66.env, 'access', _67 => _67.DEEPLINE_SKIP_SKILLS_SYNC, 'optionalAccess', _68 => _68.trim, 'call', _69 => _69(), 'access', _70 => _70.toLowerCase, 'call', _71 => _71()]);
|
|
863
863
|
return value === "1" || value === "true" || value === "yes" || value === "on";
|
|
864
864
|
}
|
|
865
865
|
function unavailableSkillsNoticePath(baseUrl) {
|
|
866
|
-
return _path.join.call(void 0,
|
|
866
|
+
return _path.join.call(void 0, _chunkYQDUODZWjs.sdkCliStateDirPath.call(void 0, baseUrl), "skills-sync-unavailable-version");
|
|
867
867
|
}
|
|
868
868
|
var SKILLS_SYNC_IN_PROGRESS_TTL_MS = 10 * 60 * 1e3;
|
|
869
869
|
var SKILLS_SYNC_IN_PROGRESS_PID_CAP_MS = 6 * 60 * 60 * 1e3;
|
|
870
|
-
var agentLeaseSegment =
|
|
870
|
+
var agentLeaseSegment = _chunkYQDUODZWjs.skillsAgentPathSegment;
|
|
871
871
|
function sortedLeaseAgents(agents) {
|
|
872
|
-
const expanded = agents.includes("*") ? [...agents, ...
|
|
872
|
+
const expanded = agents.includes("*") ? [...agents, ..._chunkYQDUODZWjs.KNOWN_SKILL_AGENTS] : agents;
|
|
873
873
|
return [...new Set(expanded)].sort((a, b) => a.localeCompare(b));
|
|
874
874
|
}
|
|
875
875
|
function inProgressSkillsSyncPath(baseUrl, agent) {
|
|
876
876
|
return _path.join.call(void 0,
|
|
877
|
-
|
|
877
|
+
_chunkYQDUODZWjs.sdkCliStateDirPath.call(void 0, baseUrl),
|
|
878
878
|
`skills-sync-in-progress-${agentLeaseSegment(agent)}`
|
|
879
879
|
);
|
|
880
880
|
}
|
|
@@ -1033,7 +1033,7 @@ var SkillsStateUnavailableError = class extends Error {
|
|
|
1033
1033
|
constructor(baseUrl, error) {
|
|
1034
1034
|
const detail = error instanceof Error ? error.message : String(error);
|
|
1035
1035
|
super(
|
|
1036
|
-
`Could not save skills state in ${
|
|
1036
|
+
`Could not save skills state in ${_chunkYQDUODZWjs.sdkCliStateDirPath.call(void 0, baseUrl)}: ${detail}`
|
|
1037
1037
|
);
|
|
1038
1038
|
this.name = "SkillsStateUnavailableError";
|
|
1039
1039
|
}
|
|
@@ -1118,7 +1118,7 @@ function skillsInstallLeasePath(baseUrl, agents) {
|
|
|
1118
1118
|
}
|
|
1119
1119
|
function deferredSkillsNoticePath(baseUrl, agents) {
|
|
1120
1120
|
return _path.join.call(void 0,
|
|
1121
|
-
|
|
1121
|
+
_chunkYQDUODZWjs.sdkCliStateDirPath.call(void 0, baseUrl),
|
|
1122
1122
|
`skills-sync-notice-${sortedLeaseAgents(agents).map(agentLeaseSegment).join("-")}`
|
|
1123
1123
|
);
|
|
1124
1124
|
}
|
|
@@ -1152,8 +1152,8 @@ function flushDeferredSkillsNotices(baseUrl, agents) {
|
|
|
1152
1152
|
if (text.trim()) writeSdkSkillsStatusLine(text.trimEnd());
|
|
1153
1153
|
}
|
|
1154
1154
|
function flushDeferredSkillsSyncNotices(baseUrl) {
|
|
1155
|
-
if (shouldSkipSkillsSync() ||
|
|
1156
|
-
const agents =
|
|
1155
|
+
if (shouldSkipSkillsSync() || _chunkYQDUODZWjs.hasActivePluginSkills.call(void 0, )) return;
|
|
1156
|
+
const agents = _chunkYQDUODZWjs.resolveAutoSyncSkillAgents.call(void 0, );
|
|
1157
1157
|
if (agents.length === 0) return;
|
|
1158
1158
|
flushDeferredSkillsNotices(baseUrl, agents);
|
|
1159
1159
|
}
|
|
@@ -1169,7 +1169,7 @@ function spawnDetachedSkillsSyncChild(argv, onSpawnError) {
|
|
|
1169
1169
|
}
|
|
1170
1170
|
function failedSkillsSyncPath(baseUrl, agents) {
|
|
1171
1171
|
return _path.join.call(void 0,
|
|
1172
|
-
|
|
1172
|
+
_chunkYQDUODZWjs.sdkCliStateDirPath.call(void 0, baseUrl),
|
|
1173
1173
|
`skills-sync-failed-${sortedLeaseAgents(agents).map(agentLeaseSegment).join("-")}-version`
|
|
1174
1174
|
);
|
|
1175
1175
|
}
|
|
@@ -1198,7 +1198,7 @@ function writeUnavailableSkillsNotice(baseUrl, remoteVersion, skillNames, reason
|
|
|
1198
1198
|
if (hasMarkedSkillsSyncVersion(path, remoteVersion)) return;
|
|
1199
1199
|
writeMarkedSkillsSyncVersion(path, remoteVersion);
|
|
1200
1200
|
const probes = reason === "no-installer" ? _nullishCoalesce(knownProbes, () => ( probeInstallers())) : null;
|
|
1201
|
-
const manualCommand = _optionalChain([probes, 'optionalAccess', _75 => _75.npx]) === "missing" && probes.bunx !== "missing" ? `bunx ${buildBunxSkillsInstallArgs(baseUrl, skillNames,
|
|
1201
|
+
const manualCommand = _optionalChain([probes, 'optionalAccess', _75 => _75.npx]) === "missing" && probes.bunx !== "missing" ? `bunx ${buildBunxSkillsInstallArgs(baseUrl, skillNames, _chunkYQDUODZWjs.DEFAULT_SKILL_AGENTS).map(shellQuote).join(" ")}` : `npx ${buildSkillsInstallArgs(baseUrl, skillNames).join(" ")}`;
|
|
1202
1202
|
const explanation = reason === "unsupported-agent" ? "the detected agent has no automatic skills sync target. Automatic sync was skipped." : _optionalChain([probes, 'optionalAccess', _76 => _76.bunx]) === "missing" && probes.npx === "missing" ? "neither `bunx` nor `npx` was found on PATH. Make one available." : `installer version check failed for ${Object.entries(_nullishCoalesce(probes, () => ( {}))).filter(([, result]) => result === "failed").map(([command]) => `\`${command}\``).join(" and ")}. Check those commands with --version.`;
|
|
1203
1203
|
notice(
|
|
1204
1204
|
`Deepline agent skills are out of date, but ${explanation} To install manually, run:
|
|
@@ -1286,7 +1286,7 @@ function buildSdkSkillNames(v1SkillNames2) {
|
|
|
1286
1286
|
return sortedUniqueSkillNames(v1SkillNames2);
|
|
1287
1287
|
}
|
|
1288
1288
|
function isDefaultAgentSet(agents) {
|
|
1289
|
-
return agents.length ===
|
|
1289
|
+
return agents.length === _chunkYQDUODZWjs.DEFAULT_SKILL_AGENTS.length && agents.every((agent, index) => agent === _chunkYQDUODZWjs.DEFAULT_SKILL_AGENTS[index]);
|
|
1290
1290
|
}
|
|
1291
1291
|
function safeSkillFilePath(value) {
|
|
1292
1292
|
if (typeof value !== "string" || !value) return false;
|
|
@@ -1443,10 +1443,10 @@ async function fetchSkillsUpdate(baseUrl, localVersion) {
|
|
|
1443
1443
|
method: "POST",
|
|
1444
1444
|
headers: { "Content-Type": "application/json" },
|
|
1445
1445
|
body: JSON.stringify({
|
|
1446
|
-
sdk_cli: { version:
|
|
1446
|
+
sdk_cli: { version: _chunkYQDUODZWjs.SDK_VERSION },
|
|
1447
1447
|
skills: {
|
|
1448
1448
|
version: localVersion,
|
|
1449
|
-
capability:
|
|
1449
|
+
capability: _chunk5FDKJQZEjs.SDK_RELEASE.packageCapabilities.skillsGuidance
|
|
1450
1450
|
}
|
|
1451
1451
|
}),
|
|
1452
1452
|
signal: controller.signal
|
|
@@ -1485,7 +1485,7 @@ function probeInstallers(timeoutMs) {
|
|
|
1485
1485
|
}
|
|
1486
1486
|
function noInstallerProbePath(baseUrl) {
|
|
1487
1487
|
return _path.join.call(void 0,
|
|
1488
|
-
|
|
1488
|
+
_chunkYQDUODZWjs.sdkCliStateDirPath.call(void 0, baseUrl),
|
|
1489
1489
|
"skills-sync-no-installer-unknown.json"
|
|
1490
1490
|
);
|
|
1491
1491
|
}
|
|
@@ -1564,7 +1564,7 @@ function temporarySkillsSyncSkipCommand() {
|
|
|
1564
1564
|
function resolveSkillsInstallSpawn(install, platform2 = process.platform) {
|
|
1565
1565
|
return resolveShellSpawn(install.command, install.args, platform2);
|
|
1566
1566
|
}
|
|
1567
|
-
function resolveSkillsInstallCommands(baseUrl, skillNames = DEFAULT_SDK_SKILL_NAMES, agents =
|
|
1567
|
+
function resolveSkillsInstallCommands(baseUrl, skillNames = DEFAULT_SDK_SKILL_NAMES, agents = _chunkYQDUODZWjs.DEFAULT_SKILL_AGENTS, knownProbes) {
|
|
1568
1568
|
const commands = [];
|
|
1569
1569
|
const probes = _nullishCoalesce(knownProbes, () => ( probeInstallers()));
|
|
1570
1570
|
if (probes.bunx === "available") {
|
|
@@ -1706,7 +1706,7 @@ function runLegacySkillsCleanup(agents) {
|
|
|
1706
1706
|
}
|
|
1707
1707
|
}
|
|
1708
1708
|
function writeSdkSkillsStatusLine(line) {
|
|
1709
|
-
const progress =
|
|
1709
|
+
const progress = _chunkTNMBPMMCjs.getActiveCliProgress.call(void 0, );
|
|
1710
1710
|
if (progress) {
|
|
1711
1711
|
progress.writeLine(line);
|
|
1712
1712
|
return;
|
|
@@ -1716,11 +1716,11 @@ function writeSdkSkillsStatusLine(line) {
|
|
|
1716
1716
|
}
|
|
1717
1717
|
async function syncSdkSkillsIfNeeded(baseUrl, options = {}) {
|
|
1718
1718
|
if (shouldSkipSkillsSync()) return;
|
|
1719
|
-
const usingPluginSkills =
|
|
1719
|
+
const usingPluginSkills = _chunkYQDUODZWjs.hasActivePluginSkills.call(void 0, );
|
|
1720
1720
|
if (usingPluginSkills) {
|
|
1721
1721
|
return;
|
|
1722
1722
|
}
|
|
1723
|
-
const agents =
|
|
1723
|
+
const agents = _chunkYQDUODZWjs.resolveAutoSyncSkillAgents.call(void 0, );
|
|
1724
1724
|
if (options.mode === "detached" && agents.length > 0) {
|
|
1725
1725
|
flushDeferredSkillsNotices(baseUrl, agents);
|
|
1726
1726
|
}
|
|
@@ -1748,7 +1748,7 @@ async function syncSdkSkillsIfNeeded(baseUrl, options = {}) {
|
|
|
1748
1748
|
return;
|
|
1749
1749
|
}
|
|
1750
1750
|
try {
|
|
1751
|
-
const localVersion =
|
|
1751
|
+
const localVersion = _chunkYQDUODZWjs.readSdkSkillsLocalVersion.call(void 0, baseUrl);
|
|
1752
1752
|
const update = options.update === void 0 ? claimedVersion ? { needsUpdate: true, remoteVersion: claimedVersion } : await fetchSkillsUpdate(baseUrl, localVersion) : options.update ? {
|
|
1753
1753
|
needsUpdate: options.update.needs_update,
|
|
1754
1754
|
remoteVersion: options.update.remote.version
|
|
@@ -1914,7 +1914,7 @@ async function runInlineSkillsSync(baseUrl, remoteVersion, agents, notices) {
|
|
|
1914
1914
|
}
|
|
1915
1915
|
}
|
|
1916
1916
|
runLegacySkillsCleanup(agents);
|
|
1917
|
-
if (!
|
|
1917
|
+
if (!_chunkYQDUODZWjs.writeSdkSkillsLocalVersion.call(void 0, baseUrl, update.remoteVersion, agents)) {
|
|
1918
1918
|
notice(
|
|
1919
1919
|
"Deepline agent skills installed, but the local skills version could not be recorded. A later command will retry the refresh."
|
|
1920
1920
|
);
|
|
@@ -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.461",
|
|
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."
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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; } var _class;
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk5MDIZX7Mjs = require('./chunk-5MDIZX7M.js');
|
|
4
4
|
|
|
5
5
|
// src/cli/progress.ts
|
|
6
6
|
var _worker_threads = require('worker_threads');
|
|
@@ -15,7 +15,7 @@ var CliProgress = (_class = class {
|
|
|
15
15
|
|
|
16
16
|
// --json output is one JSON document: progress never renders under it.
|
|
17
17
|
constructor(enabled) {;_class.prototype.__init.call(this);_class.prototype.__init2.call(this);_class.prototype.__init3.call(this);_class.prototype.__init4.call(this);_class.prototype.__init5.call(this);_class.prototype.__init6.call(this);_class.prototype.__init7.call(this);
|
|
18
|
-
this.enabled = enabled && !
|
|
18
|
+
this.enabled = enabled && !_chunk5MDIZX7Mjs.isJsonOutputMode.call(void 0, );
|
|
19
19
|
}
|
|
20
20
|
phase(message) {
|
|
21
21
|
if (!this.enabled || this.lastMessage === message) {
|
|
@@ -40,7 +40,7 @@ var CliProgress = (_class = class {
|
|
|
40
40
|
this.settle("\u2717");
|
|
41
41
|
}
|
|
42
42
|
writeLogLine(line) {
|
|
43
|
-
if (
|
|
43
|
+
if (_chunk5MDIZX7Mjs.isJsonOutputMode.call(void 0, )) return;
|
|
44
44
|
if (!this.enabled) {
|
|
45
45
|
process.stderr.write(`${line}
|
|
46
46
|
`);
|
|
@@ -17,7 +17,7 @@ var _chunkXNYIZMNQjs = require('./chunk-XNYIZMNQ.js');
|
|
|
17
17
|
var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
20
|
+
var _chunk5FDKJQZEjs = require('./chunk-5FDKJQZE.js');
|
|
21
21
|
|
|
22
22
|
// src/config.ts
|
|
23
23
|
|
|
@@ -649,9 +649,9 @@ function resolveCliCommandContext(inputConfig, requestedScope) {
|
|
|
649
649
|
}
|
|
650
650
|
|
|
651
651
|
// src/version.ts
|
|
652
|
-
var SDK_VERSION =
|
|
653
|
-
var SDK_API_MAJOR =
|
|
654
|
-
var SDK_API_CONTRACT = _nullishCoalesce(
|
|
652
|
+
var SDK_VERSION = _chunk5FDKJQZEjs.SDK_RELEASE.version;
|
|
653
|
+
var SDK_API_MAJOR = _chunk5FDKJQZEjs.SDK_RELEASE.contracts.api.currentMajor;
|
|
654
|
+
var SDK_API_CONTRACT = _nullishCoalesce(_chunk5FDKJQZEjs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
|
|
655
655
|
|
|
656
656
|
// src/agent-runtime.ts
|
|
657
657
|
|
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
printCommandEnvelope,
|
|
5
5
|
printJson,
|
|
6
6
|
readCsvRows
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-QAJAJPKK.mjs";
|
|
8
|
+
import "./chunk-RY4IVOU3.mjs";
|
|
9
9
|
import "./chunk-4QF2K7TM.mjs";
|
|
10
10
|
import "./chunk-DLIRSHV6.mjs";
|
|
11
11
|
import "./chunk-HBL4PM5Q.mjs";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-T3MVIPHG.mjs";
|
|
13
13
|
import "./chunk-WZYKRD7T.mjs";
|
|
14
14
|
import "./chunk-KRD6H754.mjs";
|
|
15
15
|
|
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
8
|
-
require('./chunk-
|
|
7
|
+
var _chunk5MDIZX7Mjs = require('./chunk-5MDIZX7M.js');
|
|
8
|
+
require('./chunk-YQDUODZW.js');
|
|
9
9
|
require('./chunk-ALJJRZNJ.js');
|
|
10
10
|
require('./chunk-XNYIZMNQ.js');
|
|
11
11
|
require('./chunk-DIAWYWT5.js');
|
|
12
|
-
require('./chunk-
|
|
12
|
+
require('./chunk-5FDKJQZE.js');
|
|
13
13
|
require('./chunk-OG64RBAC.js');
|
|
14
14
|
require('./chunk-COGTRVWW.js');
|
|
15
15
|
|
|
@@ -127,7 +127,7 @@ function renderTable(rows, totalRows, verbose, footer = `showing ${rows.length}
|
|
|
127
127
|
column.length,
|
|
128
128
|
...rows.map((row) => {
|
|
129
129
|
const value = _nullishCoalesce(row[column], () => ( ""));
|
|
130
|
-
return (verbose ? value :
|
|
130
|
+
return (verbose ? value : _chunk5MDIZX7Mjs.clip.call(void 0, value, 42)).length;
|
|
131
131
|
})
|
|
132
132
|
)
|
|
133
133
|
])
|
|
@@ -137,7 +137,7 @@ function renderTable(rows, totalRows, verbose, footer = `showing ${rows.length}
|
|
|
137
137
|
const body = rows.map(
|
|
138
138
|
(row) => columns.map((column) => {
|
|
139
139
|
const raw = _nullishCoalesce(row[column], () => ( ""));
|
|
140
|
-
const display = verbose ? raw :
|
|
140
|
+
const display = verbose ? raw : _chunk5MDIZX7Mjs.clip.call(void 0, raw, 42);
|
|
141
141
|
return display.padEnd(widths[column]);
|
|
142
142
|
}).join(" | ")
|
|
143
143
|
);
|
|
@@ -157,7 +157,7 @@ async function handleCsvShow(path, options, command) {
|
|
|
157
157
|
{ exitCode: 2 }
|
|
158
158
|
);
|
|
159
159
|
}
|
|
160
|
-
const allRows =
|
|
160
|
+
const allRows = _chunk5MDIZX7Mjs.readCsvRows.call(void 0, csvPath);
|
|
161
161
|
const [rowStart, rowEnd] = parseRowRange(options.rows);
|
|
162
162
|
const rows = options.summary && options.rows === void 0 ? allRows : selectRows(allRows, rowStart, rowEnd);
|
|
163
163
|
const { rows: selected, columns } = selectColumns(
|
|
@@ -170,7 +170,7 @@ async function handleCsvShow(path, options, command) {
|
|
|
170
170
|
if (options.summary) {
|
|
171
171
|
const summaries = summarizeColumns(selected, columns);
|
|
172
172
|
if (format === "json") {
|
|
173
|
-
|
|
173
|
+
_chunk5MDIZX7Mjs.printJson.call(void 0, {
|
|
174
174
|
rows: summaries,
|
|
175
175
|
total_rows: selected.length,
|
|
176
176
|
source_total_rows: allRows.length
|
|
@@ -179,7 +179,7 @@ async function handleCsvShow(path, options, command) {
|
|
|
179
179
|
}
|
|
180
180
|
const displayRows = summaryDisplayRows(summaries);
|
|
181
181
|
if (format === "csv") {
|
|
182
|
-
process.stdout.write(
|
|
182
|
+
process.stdout.write(_chunk5MDIZX7Mjs.csvStringFromRows.call(void 0, displayRows));
|
|
183
183
|
return;
|
|
184
184
|
}
|
|
185
185
|
process.stdout.write(
|
|
@@ -194,7 +194,7 @@ async function handleCsvShow(path, options, command) {
|
|
|
194
194
|
return;
|
|
195
195
|
}
|
|
196
196
|
if (format === "json") {
|
|
197
|
-
|
|
197
|
+
_chunk5MDIZX7Mjs.printJson.call(void 0, {
|
|
198
198
|
rows: selected.map((row, index) => ({ __row: rowStart + index, ...row }))
|
|
199
199
|
});
|
|
200
200
|
return;
|
|
@@ -437,7 +437,7 @@ async function handleCsvRenderStart(options) {
|
|
|
437
437
|
if (log) {
|
|
438
438
|
detail = `
|
|
439
439
|
CSV render log:
|
|
440
|
-
${
|
|
440
|
+
${_chunk5MDIZX7Mjs.clip.call(void 0, log, 2e3)}`;
|
|
441
441
|
}
|
|
442
442
|
} catch (e7) {
|
|
443
443
|
}
|
|
@@ -488,7 +488,7 @@ async function handleCsvRenderStatus(options) {
|
|
|
488
488
|
if (payload.pid) lines.push(`Render PID: ${payload.pid}`);
|
|
489
489
|
if (payload.url) lines.push(`Render URL: ${payload.url}`);
|
|
490
490
|
lines.push(`Render Health: ${payload.health_status}`);
|
|
491
|
-
|
|
491
|
+
_chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0, payload, {
|
|
492
492
|
json: options.json,
|
|
493
493
|
text: `${lines.join("\n")}
|
|
494
494
|
`
|
|
@@ -524,7 +524,7 @@ async function handleCsvRenderStop(options) {
|
|
|
524
524
|
};
|
|
525
525
|
const text = stopped.length > 0 ? `Stopped CSV render process(es): ${stopped.join(" ")}
|
|
526
526
|
` : "No running CSV render process found.\n";
|
|
527
|
-
|
|
527
|
+
_chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
|
|
528
528
|
}
|
|
529
529
|
async function handleCsvRender(action, options) {
|
|
530
530
|
const normalized = _nullishCoalesce(action, () => ( "start"));
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
DeeplineClient,
|
|
6
6
|
planCustomerDbQuery
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-VZBCEA5S.mjs";
|
|
8
8
|
import "./chunk-L2VKAASU.mjs";
|
|
9
9
|
import "./chunk-FAG4DFUC.mjs";
|
|
10
10
|
import "./chunk-EIMG75BT.mjs";
|
|
@@ -18,8 +18,8 @@ import {
|
|
|
18
18
|
printCommandEnvelope,
|
|
19
19
|
recordRows,
|
|
20
20
|
shouldEmitJson
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
21
|
+
} from "./chunk-QAJAJPKK.mjs";
|
|
22
|
+
import "./chunk-RY4IVOU3.mjs";
|
|
23
23
|
import {
|
|
24
24
|
CustomerDbQueryOutcomeUnknownError
|
|
25
25
|
} from "./chunk-4QF2K7TM.mjs";
|
|
@@ -27,7 +27,7 @@ import "./chunk-DLIRSHV6.mjs";
|
|
|
27
27
|
import {
|
|
28
28
|
DeeplineError
|
|
29
29
|
} from "./chunk-HBL4PM5Q.mjs";
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-T3MVIPHG.mjs";
|
|
31
31
|
import "./chunk-WZYKRD7T.mjs";
|
|
32
32
|
import "./chunk-KRD6H754.mjs";
|
|
33
33
|
|