deepline 0.3.580 → 0.3.581
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/app-runtime-api.ts +42 -2
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/early-sandbox.ts +49 -11
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/early-sandbox-lane.ts +13 -4
- package/dist/bundling-sources/shared_libs/play-runtime/transient-service-error.ts +12 -0
- package/dist/bundling-sources/shared_libs/plays/sandbox-runtime-limits.ts +20 -0
- package/dist/cli/{agents-BF5VX5ZB.js → agents-UDTRMWPA.js} +81 -39
- package/dist/cli/{agents-JRFTZE7G.mjs → agents-VDQSVDSM.mjs} +51 -9
- package/dist/cli/{auth-XJXZ64R4.mjs → auth-SRN5FXUQ.mjs} +5 -5
- package/dist/cli/auth-UYQHRHYR.js +44 -0
- package/dist/cli/{billing-VGMTJI7W.js → billing-HGHIOFSA.js} +111 -111
- package/dist/cli/{billing-TXJBGP2I.mjs → billing-PR2SIEJM.mjs} +11 -11
- package/dist/cli/{chunk-IG3CXIJY.mjs → chunk-2MIJMDGF.mjs} +1 -1
- package/dist/cli/{chunk-2ZCFAUCV.js → chunk-2RLMHWXW.js} +3 -3
- package/dist/cli/{chunk-IM322G7M.mjs → chunk-3FMGBMT3.mjs} +1 -1
- package/dist/cli/{chunk-SQBSK74D.mjs → chunk-3I6GA5QW.mjs} +1 -1
- package/dist/cli/{chunk-XFVJ3JNA.js → chunk-3LP7J63L.js} +5 -5
- package/dist/cli/{chunk-H3B6QM6V.mjs → chunk-46EBSUZF.mjs} +3 -3
- package/dist/cli/{chunk-WJUAVMQC.js → chunk-5XVDZVCR.js} +8 -8
- package/dist/cli/{chunk-COAAKSFX.js → chunk-6U3THMRI.js} +5 -5
- package/dist/cli/{chunk-LRZGS6RZ.mjs → chunk-7MMEW2WU.mjs} +1 -1
- package/dist/cli/{chunk-URZPR54R.js → chunk-7VOSQARZ.js} +6 -6
- package/dist/cli/{chunk-ZADJC22U.js → chunk-A4IOPFEJ.js} +3 -3
- package/dist/cli/{chunk-IERWFFDB.mjs → chunk-ALXIC5U5.mjs} +5 -5
- package/dist/cli/{chunk-EI7KTESB.mjs → chunk-BDNQDWGI.mjs} +2 -2
- package/dist/cli/{chunk-3OSNEWGR.js → chunk-BQL34VOQ.js} +100 -100
- package/dist/cli/{chunk-APJ7IPRT.js → chunk-BULUFFST.js} +15 -15
- package/dist/cli/{chunk-GE4ZEMMA.mjs → chunk-CDIMI54H.mjs} +2 -2
- package/dist/cli/{chunk-ANX3PYLT.js → chunk-CN4MXBZ3.js} +13 -13
- package/dist/cli/{chunk-R77IVVEZ.js → chunk-CNRPE3AE.js} +53 -53
- package/dist/cli/{chunk-O7AWGIDD.mjs → chunk-DZMQV5FL.mjs} +2 -2
- package/dist/cli/{chunk-HEZ24K5F.js → chunk-E2EGQNOS.js} +2 -2
- package/dist/cli/{chunk-MCYZO3RB.js → chunk-E5ITZIWK.js} +16 -16
- package/dist/cli/{chunk-LC4ETCOA.mjs → chunk-E5O4CMHZ.mjs} +2 -2
- package/dist/cli/{chunk-MEDA3STC.mjs → chunk-EHTD65FE.mjs} +1 -1
- package/dist/cli/{chunk-E2G2DNAB.js → chunk-EP3GZAHK.js} +7 -7
- package/dist/cli/{chunk-MBOPKQJF.js → chunk-FXSDDEAR.js} +1 -1
- package/dist/cli/{chunk-TSOXJZSW.js → chunk-INRXX4SX.js} +41 -41
- package/dist/cli/{chunk-MP6XUVAJ.mjs → chunk-INXRW5AF.mjs} +2 -2
- package/dist/cli/{chunk-GDBNH57Z.js → chunk-IT3F7P6O.js} +10 -10
- package/dist/cli/{chunk-XQUVLYOL.js → chunk-J6ITN2X6.js} +7 -7
- package/dist/cli/{chunk-D6I7QWOZ.js → chunk-JQK42HZQ.js} +2 -2
- package/dist/cli/{chunk-NV5IJ3NY.mjs → chunk-KDITCSPN.mjs} +21 -1
- package/dist/cli/{chunk-Z6DERGHY.js → chunk-KO6OLYSD.js} +48 -48
- package/dist/cli/{chunk-YY6EB252.js → chunk-LJZESBNY.js} +2 -2
- package/dist/cli/{chunk-VOQWPUIF.js → chunk-MSCYYFLY.js} +20 -20
- package/dist/cli/{chunk-7ORX33JX.mjs → chunk-N5VJVVVV.mjs} +5 -5
- package/dist/cli/{chunk-LHV3HPAY.js → chunk-O5FIWG2O.js} +26 -26
- package/dist/cli/{chunk-U4VCAECC.mjs → chunk-OVJWDFIL.mjs} +1 -1
- package/dist/cli/{chunk-BAXLPQTM.mjs → chunk-P5ZZY4RM.mjs} +4 -4
- package/dist/cli/{chunk-PFNYLTCZ.js → chunk-PLGJG5FX.js} +5 -5
- package/dist/cli/{chunk-FCJJPEKN.mjs → chunk-RA3BWUTD.mjs} +5 -5
- package/dist/cli/{chunk-6VSUP4WN.js → chunk-SNYH4QY2.js} +4 -4
- package/dist/cli/{chunk-7HOG3JZE.mjs → chunk-SZ76UE7C.mjs} +11 -11
- package/dist/cli/{chunk-3ZBPXNSW.mjs → chunk-ULU4MEXN.mjs} +2 -2
- package/dist/cli/{chunk-V5NDHTBB.js → chunk-VJR4CKYJ.js} +23 -23
- package/dist/cli/{chunk-3P4QZIJ5.mjs → chunk-VNW454PP.mjs} +1 -1
- package/dist/cli/{chunk-ZR7PDXIA.mjs → chunk-VTPMBOHZ.mjs} +2 -2
- package/dist/cli/{chunk-GIZIWNL5.mjs → chunk-VVENTTSA.mjs} +1 -1
- package/dist/cli/{chunk-NNWEQDZR.js → chunk-VWPM4OIC.js} +20 -20
- package/dist/cli/{chunk-5BPJW6X5.mjs → chunk-WCNJSZHC.mjs} +5 -5
- package/dist/cli/{chunk-C6YXUGX2.mjs → chunk-WS5ZX4RB.mjs} +3 -3
- package/dist/cli/{chunk-VF3EGTHU.mjs → chunk-WVFDPC4K.mjs} +3 -3
- package/dist/cli/{chunk-AZTQJJH7.js → chunk-Y36SQMSN.js} +22 -2
- package/dist/cli/{chunk-HLMF53HZ.mjs → chunk-YTPXKG4C.mjs} +1 -1
- package/dist/cli/{chunk-X5RXG6VS.mjs → chunk-Z3MJX3PP.mjs} +1 -1
- package/dist/cli/{chunk-DQEHBAHL.js → chunk-ZAKNDIK7.js} +9 -9
- package/dist/cli/{chunk-BK4Z62CF.mjs → chunk-ZTKLJADJ.mjs} +4 -4
- package/dist/cli/command-docs.js +4 -4
- package/dist/cli/command-docs.mjs +3 -3
- package/dist/cli/concurrent-runs-help-QWDTLZUX.js +22 -0
- package/dist/cli/{concurrent-runs-help-DSUQRWZQ.mjs → concurrent-runs-help-Z27MIIH3.mjs} +6 -6
- package/dist/cli/{csv-HSHF6JYZ.js → csv-4TP36F5O.js} +13 -13
- package/dist/cli/{csv-QNXJBT5T.mjs → csv-4YFTMVWQ.mjs} +4 -4
- package/dist/cli/{db-VHYWVLLU.js → db-L5EGGO72.js} +27 -27
- package/dist/cli/{db-RAWY3SWS.mjs → db-U5KR6SYI.mjs} +6 -6
- package/dist/cli/describe-G3SUS76P.js +50 -0
- package/dist/cli/{describe-WZOVHWAM.mjs → describe-LZXXSQ26.mjs} +18 -18
- package/dist/cli/{executions-DQIFH4Z6.js → executions-VZKRFDGM.js} +8 -8
- package/dist/cli/{executions-QABOXV4K.mjs → executions-ZWEC5DDR.mjs} +6 -6
- package/dist/cli/{feedback-6IER2W4G.js → feedback-BTJIJCQF.js} +14 -14
- package/dist/cli/{feedback-DW4O63DG.mjs → feedback-HXQTHXEZ.mjs} +6 -6
- package/dist/cli/{git-3NAPGZGR.mjs → git-P6A45MMT.mjs} +5 -5
- package/dist/cli/git-QU673DBV.js +26 -0
- package/dist/cli/index.js +150 -150
- package/dist/cli/index.mjs +49 -49
- package/dist/cli/{integrations-TSRUTENK.mjs → integrations-4POM2CJ3.mjs} +7 -7
- package/dist/cli/{integrations-5LHIBBXB.js → integrations-VSJQBRFS.js} +29 -29
- package/dist/cli/{legacy-noops-4N63A6H7.mjs → legacy-noops-I65MIKH2.mjs} +6 -6
- package/dist/cli/{legacy-noops-S22XGYGN.js → legacy-noops-QOJGSGVO.js} +9 -9
- package/dist/cli/{mcp-4EJHRRFV.mjs → mcp-TGY6SRAC.mjs} +4 -4
- package/dist/cli/{mcp-JERBGJYE.js → mcp-WTKBSLSD.js} +24 -24
- package/dist/cli/{monitors-7BTLBD6S.mjs → monitors-E2ENT4RY.mjs} +7 -7
- package/dist/cli/{monitors-FF35CGC4.js → monitors-TLWVEXW6.js} +100 -100
- package/dist/cli/{org-QYIIBKA2.mjs → org-J2LGW5ZR.mjs} +6 -6
- package/dist/cli/{org-ADCDO7KU.js → org-PZPJJU7K.js} +121 -121
- package/dist/cli/{outcomes-C5DIBG4Q.mjs → outcomes-TMJDASU5.mjs} +6 -6
- package/dist/cli/{outcomes-2LW4GK2L.js → outcomes-Z6ZNBJ3U.js} +14 -14
- package/dist/cli/{play-DTTDTISL.mjs → play-S3Z24HUS.mjs} +21 -21
- package/dist/cli/{play-S5MZ2GRA.js → play-ZOOC57X4.js} +342 -342
- package/dist/cli/{providers-AXOEFQ6Q.mjs → providers-ETD6YLFL.mjs} +6 -6
- package/dist/cli/{providers-N2IWEJBW.js → providers-O4Y2YBS7.js} +9 -9
- package/dist/cli/{quickstart-UC5AJZWU.js → quickstart-NZALIRBP.js} +6 -6
- package/dist/cli/{quickstart-ADWSZBV6.mjs → quickstart-QZX32Y5T.mjs} +4 -4
- package/dist/cli/{run-6TDYUL7L.js → run-5UXSWJ7N.js} +44 -44
- package/dist/cli/{run-R2FVH3K6.mjs → run-HCVBRE2P.mjs} +23 -23
- package/dist/cli/search-T3SLR55O.js +32 -0
- package/dist/cli/{search-GRHUFSLY.mjs → search-Z247K76U.mjs} +7 -7
- package/dist/cli/{search-output-UPQNAFAF.mjs → search-output-XCJI3XRA.mjs} +4 -4
- package/dist/cli/{search-output-O7NY3VMD.js → search-output-XFKEGUJA.js} +6 -6
- package/dist/cli/{secrets-NKAEJLIQ.mjs → secrets-7JZXHLRU.mjs} +6 -6
- package/dist/cli/{secrets-72GJHFER.js → secrets-VUQLTUTM.js} +15 -15
- package/dist/cli/sessions-GHW2H7N2.js +23 -0
- package/dist/cli/{sessions-VIMF3UF5.mjs → sessions-UNGJ342N.mjs} +6 -6
- package/dist/cli/{settings-KCQHBFNZ.mjs → settings-67TIT4MZ.mjs} +12 -12
- package/dist/cli/{settings-HFAW5HIF.js → settings-WG5YNHC5.js} +85 -85
- package/dist/cli/{setup-2MHWGEAD.js → setup-IYUNW5ZP.js} +49 -49
- package/dist/cli/{setup-2ZD5ZIUH.mjs → setup-KMAAJOZM.mjs} +9 -9
- package/dist/cli/skills-JVLCEUBF.js +37 -0
- package/dist/cli/{skills-X2DZZG5P.mjs → skills-UVS4DODN.mjs} +7 -7
- package/dist/cli/{tools-KPTOWKD4.mjs → tools-B42JY4BX.mjs} +17 -17
- package/dist/cli/tools-ETA3BJNM.js +57 -0
- package/dist/cli/{update-6PMQCEUP.mjs → update-EBYZZ7BW.mjs} +9 -9
- package/dist/cli/update-XZEBQCEY.js +37 -0
- package/dist/cli/{views-MNBHNO6C.js → views-DOUEKLEV.js} +21 -21
- package/dist/cli/{views-VRZ5CTFL.mjs → views-QK3AFD2D.mjs} +6 -6
- package/dist/cli/{workflow-SSMFO7YE.js → workflow-TAKT2T7A.js} +17 -17
- package/dist/cli/{workflow-7JUJWA5S.mjs → workflow-UBJPGRKF.mjs} +7 -7
- package/dist/index.js +9 -9
- package/dist/index.mjs +6 -6
- package/dist/install-integrity.json +120 -120
- package/dist/plays/bundle-play-file.mjs +1 -1
- package/dist/release.d.mts +1 -1
- package/dist/release.d.ts +1 -1
- package/dist/release.js +2 -2
- package/dist/release.mjs +1 -1
- package/dist/server.js +5 -5
- package/dist/server.mjs +3 -3
- package/package.json +1 -1
- package/dist/cli/auth-25MVD7TK.js +0 -44
- package/dist/cli/concurrent-runs-help-DEN63DUM.js +0 -22
- package/dist/cli/describe-YHZ2EGBQ.js +0 -50
- package/dist/cli/git-SQ2MAKAH.js +0 -26
- package/dist/cli/search-V7ANBX3J.js +0 -32
- package/dist/cli/sessions-EO6RTMUC.js +0 -23
- package/dist/cli/skills-ID6KKDLH.js +0 -37
- package/dist/cli/tools-7UY7GERW.js +0 -57
- package/dist/cli/update-T2RDLLSY.js +0 -37
- /package/dist/cli/{chunk-YGCKMI5P.js → chunk-2M3VVGMZ.js} +0 -0
- /package/dist/cli/{chunk-7I4B6V2S.mjs → chunk-VMGJIFSB.mjs} +0 -0
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunk2RLMHWXWjs = require('./chunk-2RLMHWXW.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunkSNYH4QY2js = require('./chunk-SNYH4QY2.js');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
@@ -331,7 +331,7 @@ function buildEnvironmentContext() {
|
|
|
331
331
|
node_version: process.version,
|
|
332
332
|
runtime: "Node.js",
|
|
333
333
|
hostname: _os.hostname.call(void 0, ),
|
|
334
|
-
agent_runtime:
|
|
334
|
+
agent_runtime: _chunkSNYH4QY2js.detectAgentRuntime.call(void 0, )
|
|
335
335
|
};
|
|
336
336
|
for (const key of ["CLAUDE_CODE_REMOTE", "DEEPLINE_PLUGIN_MODE"]) {
|
|
337
337
|
const normalized = _optionalChain([process, 'access', _6 => _6.env, 'access', _7 => _7[key], 'optionalAccess', _8 => _8.trim, 'call', _9 => _9()]);
|
|
@@ -352,18 +352,18 @@ function buildEnvironmentContext() {
|
|
|
352
352
|
return context;
|
|
353
353
|
}
|
|
354
354
|
function failureReportHeaders(apiKey) {
|
|
355
|
-
const agentSessionId =
|
|
355
|
+
const agentSessionId = _chunkSNYH4QY2js.agentSessionIdFromEnvironment.call(void 0, );
|
|
356
356
|
return {
|
|
357
|
-
...
|
|
357
|
+
..._chunkSNYH4QY2js.deploymentProtectionHeaders.call(void 0, ),
|
|
358
358
|
...agentSessionId ? { "X-Deepline-Agent-Session-Id": agentSessionId } : {},
|
|
359
359
|
Authorization: `Bearer ${apiKey}`,
|
|
360
360
|
"Content-Type": "application/json",
|
|
361
|
-
"User-Agent": `deepline-ts-sdk/${
|
|
361
|
+
"User-Agent": `deepline-ts-sdk/${_chunkSNYH4QY2js.SDK_VERSION}`,
|
|
362
362
|
"X-Deepline-Client-Family": "sdk",
|
|
363
363
|
"X-Deepline-CLI-Family": "sdk",
|
|
364
|
-
"X-Deepline-Agent-Runtime":
|
|
365
|
-
"X-Deepline-CLI-Version":
|
|
366
|
-
"X-Deepline-SDK-Version":
|
|
364
|
+
"X-Deepline-Agent-Runtime": _chunkSNYH4QY2js.detectAgentRuntime.call(void 0, ),
|
|
365
|
+
"X-Deepline-CLI-Version": _chunkSNYH4QY2js.SDK_VERSION,
|
|
366
|
+
"X-Deepline-SDK-Version": _chunkSNYH4QY2js.SDK_VERSION
|
|
367
367
|
};
|
|
368
368
|
}
|
|
369
369
|
async function postFailureReport(input) {
|
|
@@ -391,7 +391,7 @@ async function maybeReportAutomaticSkillsSyncFailure(input) {
|
|
|
391
391
|
if (isFailureReportingDisabled()) return false;
|
|
392
392
|
let apiKey = "";
|
|
393
393
|
try {
|
|
394
|
-
apiKey =
|
|
394
|
+
apiKey = _chunk2RLMHWXWjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
|
|
395
395
|
} catch (e2) {
|
|
396
396
|
return false;
|
|
397
397
|
}
|
|
@@ -418,7 +418,7 @@ async function maybeReportAutomaticSkillsSyncFailure(input) {
|
|
|
418
418
|
failure_code: failureCode2,
|
|
419
419
|
failure_stage: failureStage,
|
|
420
420
|
error_body: "Automatic Deepline skills installation failed.",
|
|
421
|
-
cli_version:
|
|
421
|
+
cli_version: _chunkSNYH4QY2js.SDK_VERSION,
|
|
422
422
|
context: {
|
|
423
423
|
environment: buildEnvironmentContext(),
|
|
424
424
|
skills_sync: {
|
|
@@ -538,7 +538,7 @@ function buildFailureReport(input) {
|
|
|
538
538
|
failure_kind: failureKind,
|
|
539
539
|
failure_code: code,
|
|
540
540
|
failure_stage: input.error === void 0 ? "command_exit" : "cli_main",
|
|
541
|
-
cli_version:
|
|
541
|
+
cli_version: _chunkSNYH4QY2js.SDK_VERSION,
|
|
542
542
|
context: {
|
|
543
543
|
base_url: redactFailureText(input.baseUrl, 400),
|
|
544
544
|
command_summary: sanitizeCommand(input.argv),
|
|
@@ -558,8 +558,8 @@ async function maybeReportSdkCliFailure(input) {
|
|
|
558
558
|
if (isServerLoggedPlayRunStartFailure(input)) return false;
|
|
559
559
|
const exitCode = resolvedExitCode(input);
|
|
560
560
|
if (!shouldReport({ exitCode, error: input.error })) return false;
|
|
561
|
-
const baseUrl =
|
|
562
|
-
const apiKey =
|
|
561
|
+
const baseUrl = _chunk2RLMHWXWjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
|
|
562
|
+
const apiKey = _chunk2RLMHWXWjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
|
|
563
563
|
if (!apiKey) return false;
|
|
564
564
|
return postFailureReport({
|
|
565
565
|
baseUrl,
|
|
@@ -914,8 +914,8 @@ var BROWSER_OPEN_COOLDOWN_MS = 3e4;
|
|
|
914
914
|
var SAME_URL_BROWSER_OPEN_COOLDOWN_MS = 5 * 6e4;
|
|
915
915
|
var defaultBrowserCommandRunner = childProcess;
|
|
916
916
|
function getAuthedHttpClient() {
|
|
917
|
-
const config =
|
|
918
|
-
return { config, http: new (0,
|
|
917
|
+
const config = _chunk2RLMHWXWjs.resolveConfig.call(void 0, );
|
|
918
|
+
return { config, http: new (0, _chunk2RLMHWXWjs.HttpClient)(config) };
|
|
919
919
|
}
|
|
920
920
|
function stableOsUserId() {
|
|
921
921
|
try {
|
|
@@ -1256,7 +1256,7 @@ function collectLocalEnvInfo() {
|
|
|
1256
1256
|
os: `${process.platform} ${process.arch}`,
|
|
1257
1257
|
node_version: process.version,
|
|
1258
1258
|
home_dir: homeDir,
|
|
1259
|
-
agent_runtime:
|
|
1259
|
+
agent_runtime: _chunkSNYH4QY2js.detectAgentRuntime.call(void 0, )
|
|
1260
1260
|
};
|
|
1261
1261
|
const env = process.env;
|
|
1262
1262
|
const optional = {
|
|
@@ -1503,9 +1503,9 @@ function markdownTableFromRows(rows, preferredColumns = []) {
|
|
|
1503
1503
|
}
|
|
1504
1504
|
function withAgentCommandContext(value) {
|
|
1505
1505
|
const valueRecord = value !== null && typeof value === "object" && !Array.isArray(value) ? value : null;
|
|
1506
|
-
return
|
|
1506
|
+
return _chunkSNYH4QY2js.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
|
|
1507
1507
|
...valueRecord,
|
|
1508
|
-
command_context:
|
|
1508
|
+
command_context: _chunk2RLMHWXWjs.resolveCliCommandContext.call(void 0, )
|
|
1509
1509
|
} : value;
|
|
1510
1510
|
}
|
|
1511
1511
|
function printJson(value, fields, options = {}) {
|
|
@@ -1677,7 +1677,7 @@ function errorToJsonPayload(error) {
|
|
|
1677
1677
|
...upstreamResponse ? { upstreamResponse } : {},
|
|
1678
1678
|
...Object.keys(details).length > 0 ? { details } : {}
|
|
1679
1679
|
};
|
|
1680
|
-
const retry = cliRetryGuidance(payloadError,
|
|
1680
|
+
const retry = cliRetryGuidance(payloadError, _chunkSNYH4QY2js.readToolFailureHint.call(void 0, error));
|
|
1681
1681
|
return {
|
|
1682
1682
|
ok: false,
|
|
1683
1683
|
status: "failed",
|
|
@@ -4,22 +4,22 @@ import {
|
|
|
4
4
|
resolveUpdatePlan,
|
|
5
5
|
runAutomaticUpdatePlan,
|
|
6
6
|
shouldRunCliAutoUpdate
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-RA3BWUTD.mjs";
|
|
8
8
|
import {
|
|
9
9
|
isCiEnvironment,
|
|
10
10
|
resolveShellSpawn,
|
|
11
11
|
syncSdkSkillsIfNeeded
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-N5VJVVVV.mjs";
|
|
13
13
|
import {
|
|
14
14
|
addJsonNotice,
|
|
15
15
|
isJsonOutputMode
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ULU4MEXN.mjs";
|
|
17
17
|
import {
|
|
18
18
|
resolveApiKeyForBaseUrl
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-Z3MJX3PP.mjs";
|
|
20
20
|
import {
|
|
21
21
|
SDK_VERSION
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-2MIJMDGF.mjs";
|
|
23
23
|
|
|
24
24
|
// src/cli/compatibility-catalog.ts
|
|
25
25
|
var readers = /* @__PURE__ */ new WeakMap();
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeeplineClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BDNQDWGI.mjs";
|
|
4
4
|
import {
|
|
5
5
|
printCommandEnvelope
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ULU4MEXN.mjs";
|
|
7
7
|
import {
|
|
8
8
|
resolveConfig
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-Z3MJX3PP.mjs";
|
|
10
10
|
|
|
11
11
|
// src/cli/commands/integration-commands.ts
|
|
12
12
|
import { Option } from "commander";
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
argsWantJson,
|
|
3
3
|
openInBrowser,
|
|
4
4
|
printCommandEnvelope
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ULU4MEXN.mjs";
|
|
6
6
|
import {
|
|
7
7
|
ACTIVE_ORG_ID_ENV,
|
|
8
8
|
ACTIVE_ORG_NAME_ENV,
|
|
@@ -22,14 +22,14 @@ import {
|
|
|
22
22
|
saveHostEnvValues,
|
|
23
23
|
saveProjectDeeplineEnvValues,
|
|
24
24
|
storedHostApiKey
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-Z3MJX3PP.mjs";
|
|
26
26
|
import {
|
|
27
27
|
SDK_API_CONTRACT,
|
|
28
28
|
SDK_VERSION,
|
|
29
29
|
connectionFailureMessage,
|
|
30
30
|
detectAgentRuntime,
|
|
31
31
|
networkCauseCode
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-2MIJMDGF.mjs";
|
|
33
33
|
import {
|
|
34
34
|
DeeplineError
|
|
35
35
|
} from "./chunk-Z3A2S3QM.mjs";
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
var _chunkTJCENACZjs = require('./chunk-TJCENACZ.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkEP3GZAHKjs = require('./chunk-EP3GZAHK.js');
|
|
7
7
|
|
|
8
8
|
// src/cli/command-docs.ts
|
|
9
|
-
var PLAY_RUNTIME_PRICING_NOTE = `With included compute pricing, large (4gb) costs ${
|
|
9
|
+
var PLAY_RUNTIME_PRICING_NOTE = `With included compute pricing, large (4gb) costs ${_chunkEP3GZAHKjs.PLAY_SANDBOX_COMPUTE_RATE_MULTIPLIERS.large}\xD7 and xlarge (8gb) costs ${_chunkEP3GZAHKjs.PLAY_SANDBOX_COMPUTE_RATE_MULTIPLIERS.xlarge}\xD7 the standard (1gb) hourly rate. Included compute applies proportionally.`;
|
|
10
10
|
var CONVENTIONS = `
|
|
11
11
|
[[cli:
|
|
12
12
|
Conventions (apply to every command):
|
|
@@ -4372,6 +4372,26 @@ Outcomes (needs the outcomes rollout):
|
|
|
4372
4372
|
[[org service-accounts set-role <service-account-id> member]] (the id is in
|
|
4373
4373
|
[[org service-accounts list]]). Until then attaching says so and changes
|
|
4374
4374
|
nothing on the outcome.
|
|
4375
|
+
A channel made an outcome's home (with --outcome, or the card in Slack)
|
|
4376
|
+
and its outcome's feed are copied into each other; a home channel
|
|
4377
|
+
connected before this copies nothing until turned on with
|
|
4378
|
+
[[agents channels set C0123456789 --sync on]]. What
|
|
4379
|
+
members of your Slack workspace post there (top-level or in a thread)
|
|
4380
|
+
goes on the feed under their linked Deepline name, or their Slack name
|
|
4381
|
+
marked "(Slack)"; guests, people from other organizations and bots are
|
|
4382
|
+
not copied. Entries, tasks and asks posted on the outcome anywhere else
|
|
4383
|
+
(Deepline, the CLI, other agents) are posted in the channel under their
|
|
4384
|
+
author's name, in the matching thread; the agent's own posts and system
|
|
4385
|
+
entries are not. Everyone who can read the outcome reads what is said in
|
|
4386
|
+
its home channel, private channels included. A message copied to the feed
|
|
4387
|
+
does not wake the agent; mention it to ask it something. Edits and
|
|
4388
|
+
deletions are not copied. Turn it off for one channel with
|
|
4389
|
+
[[agents channels set C0123456789 --sync off]] (--sync on turns it back
|
|
4390
|
+
on). Guests in the channel read everything copied there from the
|
|
4391
|
+
outcome, as they read the channel. A message from someone who is not a
|
|
4392
|
+
linked Deepline member with member access is copied marked "(Slack)"
|
|
4393
|
+
and reaches no agent: it is top-level, and its @handles mention nobody. A paused outcome still syncs. Sync needs Deepline's app to be
|
|
4394
|
+
reachable, so a local stack without a public address copies nothing.
|
|
4375
4395
|
A paused outcome still wakes its agent when something reaches it; the
|
|
4376
4396
|
agent is told the outcome is paused and decides what is worth doing.
|
|
4377
4397
|
Every outcome has an agent by default. While agents are on, an outcome
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var _chunkCSPHSNBWjs = require('./chunk-CSPHSNBW.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunk5XVDZVCRjs = require('./chunk-5XVDZVCR.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
var _chunkMJTVX4QKjs = require('./chunk-MJTVX4QK.js');
|
|
@@ -11,7 +11,7 @@ var _chunkMJTVX4QKjs = require('./chunk-MJTVX4QK.js');
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunkVWPM4OICjs = require('./chunk-VWPM4OIC.js');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
var _chunkLFQJW4S2js = require('./chunk-LFQJW4S2.js');
|
|
@@ -581,7 +581,7 @@ function parseInputFlagValue(raw) {
|
|
|
581
581
|
return raw;
|
|
582
582
|
}
|
|
583
583
|
function parsePlayRunOptions(args, initialInput = null) {
|
|
584
|
-
const selection =
|
|
584
|
+
const selection = _chunkVWPM4OICjs.parseJsonFields.call(void 0, args, "run");
|
|
585
585
|
args = selection.args;
|
|
586
586
|
const usage = "Usage: deepline plays run <play-name> [--input '{...}'] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run <play-file.ts> [--input '{...}'] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run --file <play-file.ts> [--input '{...}'] [--profile <id>] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run --name <name> [--input '{...}'] [--profile <id>] [--live|--latest|--revision-id <id>] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--json] [--full] [--<input> value]\n Runs use the Absurd CJS runtime.\n --header '<name>: <value>' may repeat; each is sent on every request for this run.\n Unknown --<input> value flags, such as --limit 5, are passed into play input.\nRun `deepline plays run --help` for idempotent call caching and deepline.dataset guidance.";
|
|
587
587
|
let filePath = null;
|
|
@@ -593,7 +593,7 @@ function parsePlayRunOptions(args, initialInput = null) {
|
|
|
593
593
|
let revisionSelector = null;
|
|
594
594
|
const watch = !args.includes("--no-wait");
|
|
595
595
|
const dryRun = args.includes("--dry-run");
|
|
596
|
-
let jsonOutput = dryRun ?
|
|
596
|
+
let jsonOutput = dryRun ? _chunkVWPM4OICjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkVWPM4OICjs.argsWantJson.call(void 0, args);
|
|
597
597
|
const fullJson = args.includes("--full");
|
|
598
598
|
const force = args.includes("--force") || args.includes("--from-start");
|
|
599
599
|
const forceToolRefresh = args.includes("--force-tool-refresh") || args.includes("--refresh-cache");
|
|
@@ -657,7 +657,7 @@ function parsePlayRunOptions(args, initialInput = null) {
|
|
|
657
657
|
"--log-level requires one of: debug, info, warn, error."
|
|
658
658
|
);
|
|
659
659
|
}
|
|
660
|
-
const parsed =
|
|
660
|
+
const parsed = _chunk5XVDZVCRjs.parseLogLevel.call(void 0, value);
|
|
661
661
|
if (!parsed) {
|
|
662
662
|
throw new Error(
|
|
663
663
|
`Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
|
|
@@ -990,7 +990,7 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
|
|
|
990
990
|
const hasExplicitLogLevel = options.logLevel !== void 0 || inputArgs.some(
|
|
991
991
|
(arg) => arg === "--log-level" || arg.startsWith("--log-level=")
|
|
992
992
|
);
|
|
993
|
-
let logLevel = options.logLevel === void 0 ? base.logLevel :
|
|
993
|
+
let logLevel = options.logLevel === void 0 ? base.logLevel : _chunk5XVDZVCRjs.parseLogLevel.call(void 0, options.logLevel);
|
|
994
994
|
if (!logLevel)
|
|
995
995
|
throw new Error("--log-level requires one of: debug, info, warn, error.");
|
|
996
996
|
const debugAlias = options.logs || options.debug === true || inputArgs.some(
|
|
@@ -1004,13 +1004,13 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
|
|
|
1004
1004
|
if (debugAlias || debugMapLatency && logLevel === "info")
|
|
1005
1005
|
logLevel = "debug";
|
|
1006
1006
|
const fullJson = _nullishCoalesce(options.full, () => ( base.fullJson));
|
|
1007
|
-
const jsonFields = options.json === void 0 ? base.jsonFields :
|
|
1008
|
-
[...fullJson ? ["--full"] : [], ...
|
|
1007
|
+
const jsonFields = options.json === void 0 ? base.jsonFields : _chunkVWPM4OICjs.parseJsonFields.call(void 0,
|
|
1008
|
+
[...fullJson ? ["--full"] : [], ..._chunkVWPM4OICjs.jsonFieldArgs.call(void 0, options.json)],
|
|
1009
1009
|
"run"
|
|
1010
1010
|
).fields;
|
|
1011
1011
|
const watch = options.wait === false ? false : base.watch;
|
|
1012
1012
|
const explicitJson = options.json !== void 0 ? options.json !== false : base.jsonOutput;
|
|
1013
|
-
const jsonOutput = dryRun || !watch ? explicitJson ||
|
|
1013
|
+
const jsonOutput = dryRun || !watch ? explicitJson || _chunkVWPM4OICjs.argsWantJson.call(void 0, []) : explicitJson;
|
|
1014
1014
|
const verboseLogs = Boolean(
|
|
1015
1015
|
debugAlias || logLevel === "debug" || debugMapLatency
|
|
1016
1016
|
);
|
|
@@ -3,16 +3,16 @@ import {
|
|
|
3
3
|
} from "./chunk-5AEDYVB6.mjs";
|
|
4
4
|
import {
|
|
5
5
|
DeeplineClient
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-BDNQDWGI.mjs";
|
|
7
7
|
import {
|
|
8
8
|
errorToJsonPayload,
|
|
9
9
|
printCommandEnvelope,
|
|
10
10
|
resolveSdkCliFailureExitCode
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-ULU4MEXN.mjs";
|
|
12
12
|
import {
|
|
13
13
|
resolveConfig,
|
|
14
14
|
sdkCliStateDirPath
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-Z3MJX3PP.mjs";
|
|
16
16
|
|
|
17
17
|
// src/cli/commands/search.ts
|
|
18
18
|
import { Option } from "commander";
|
|
@@ -134,7 +134,7 @@ async function runSearch(queryInputs, options, types, exclude = []) {
|
|
|
134
134
|
}
|
|
135
135
|
const client = new DeeplineClient();
|
|
136
136
|
const json = options.json === true;
|
|
137
|
-
const renderer = json ? void 0 : await import("./search-output-
|
|
137
|
+
const renderer = json ? void 0 : await import("./search-output-XCJI3XRA.mjs");
|
|
138
138
|
const searches = [];
|
|
139
139
|
const chunks = [];
|
|
140
140
|
const refs = /* @__PURE__ */ new Map();
|
package/dist/cli/command-docs.js
CHANGED
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkY36SQMSNjs = require('./chunk-Y36SQMSN.js');
|
|
11
11
|
require('./chunk-TJCENACZ.js');
|
|
12
|
-
require('./chunk-
|
|
13
|
-
require('./chunk-
|
|
12
|
+
require('./chunk-EP3GZAHK.js');
|
|
13
|
+
require('./chunk-2M3VVGMZ.js');
|
|
14
14
|
require('./chunk-COGTRVWW.js');
|
|
15
15
|
|
|
16
16
|
|
|
@@ -21,4 +21,4 @@ require('./chunk-COGTRVWW.js');
|
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
exports.CLI_DOC_SURFACE =
|
|
24
|
+
exports.CLI_DOC_SURFACE = _chunkY36SQMSNjs.CLI_DOC_SURFACE; exports.COMMAND_DOCS = _chunkY36SQMSNjs.COMMAND_DOCS; exports.PLAY_RUNTIME_PRICING_NOTE = _chunkY36SQMSNjs.PLAY_RUNTIME_PRICING_NOTE; exports.commandDocKey = _chunkY36SQMSNjs.commandDocKey; exports.helpDetailFromArgv = _chunkY36SQMSNjs.helpDetailFromArgv; exports.renderActionExplanation = _chunkY36SQMSNjs.renderActionExplanation; exports.renderCommandExplanation = _chunkY36SQMSNjs.renderCommandExplanation; exports.renderDocText = _chunkY36SQMSNjs.renderDocText;
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
renderActionExplanation,
|
|
8
8
|
renderCommandExplanation,
|
|
9
9
|
renderDocText
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-KDITCSPN.mjs";
|
|
11
11
|
import "./chunk-HECXJBED.mjs";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-7MMEW2WU.mjs";
|
|
13
|
+
import "./chunk-VMGJIFSB.mjs";
|
|
14
14
|
import "./chunk-KRD6H754.mjs";
|
|
15
15
|
export {
|
|
16
16
|
CLI_DOC_SURFACE,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
var _chunkPLGJG5FXjs = require('./chunk-PLGJG5FX.js');
|
|
6
|
+
require('./chunk-CNRPE3AE.js');
|
|
7
|
+
require('./chunk-TJCENACZ.js');
|
|
8
|
+
require('./chunk-VWPM4OIC.js');
|
|
9
|
+
require('./chunk-2RLMHWXW.js');
|
|
10
|
+
require('./chunk-SNYH4QY2.js');
|
|
11
|
+
require('./chunk-6VLFQZK6.js');
|
|
12
|
+
require('./chunk-XNYIZMNQ.js');
|
|
13
|
+
require('./chunk-LFQJW4S2.js');
|
|
14
|
+
require('./chunk-CFJFUVX2.js');
|
|
15
|
+
require('./chunk-FXSDDEAR.js');
|
|
16
|
+
require('./chunk-OG64RBAC.js');
|
|
17
|
+
require('./chunk-COGTRVWW.js');
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
exports.CONCURRENT_RUNS_HELP_COMMANDS = _chunkPLGJG5FXjs.CONCURRENT_RUNS_HELP_COMMANDS; exports.concurrentRunsHelpStatus = _chunkPLGJG5FXjs.concurrentRunsHelpStatus; exports.concurrentRunsLine = _chunkPLGJG5FXjs.concurrentRunsLine;
|
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
CONCURRENT_RUNS_HELP_COMMANDS,
|
|
3
3
|
concurrentRunsHelpStatus,
|
|
4
4
|
concurrentRunsLine
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-VTPMBOHZ.mjs";
|
|
6
|
+
import "./chunk-WVFDPC4K.mjs";
|
|
7
7
|
import "./chunk-HECXJBED.mjs";
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-ULU4MEXN.mjs";
|
|
9
|
+
import "./chunk-Z3MJX3PP.mjs";
|
|
10
|
+
import "./chunk-2MIJMDGF.mjs";
|
|
11
11
|
import "./chunk-ASB47RXJ.mjs";
|
|
12
12
|
import "./chunk-DLIRSHV6.mjs";
|
|
13
13
|
import "./chunk-Z3A2S3QM.mjs";
|
|
14
14
|
import "./chunk-2MGZAI54.mjs";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-VVENTTSA.mjs";
|
|
16
16
|
import "./chunk-WZYKRD7T.mjs";
|
|
17
17
|
import "./chunk-KRD6H754.mjs";
|
|
18
18
|
export {
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
8
|
-
require('./chunk-
|
|
9
|
-
require('./chunk-
|
|
7
|
+
var _chunkVWPM4OICjs = require('./chunk-VWPM4OIC.js');
|
|
8
|
+
require('./chunk-2RLMHWXW.js');
|
|
9
|
+
require('./chunk-SNYH4QY2.js');
|
|
10
10
|
require('./chunk-6VLFQZK6.js');
|
|
11
11
|
require('./chunk-XNYIZMNQ.js');
|
|
12
12
|
require('./chunk-LFQJW4S2.js');
|
|
13
13
|
require('./chunk-CFJFUVX2.js');
|
|
14
|
-
require('./chunk-
|
|
14
|
+
require('./chunk-FXSDDEAR.js');
|
|
15
15
|
require('./chunk-OG64RBAC.js');
|
|
16
16
|
require('./chunk-COGTRVWW.js');
|
|
17
17
|
|
|
@@ -129,7 +129,7 @@ function renderTable(rows, totalRows, verbose, footer = `showing ${rows.length}
|
|
|
129
129
|
column.length,
|
|
130
130
|
...rows.map((row) => {
|
|
131
131
|
const value = _nullishCoalesce(row[column], () => ( ""));
|
|
132
|
-
return (verbose ? value :
|
|
132
|
+
return (verbose ? value : _chunkVWPM4OICjs.clip.call(void 0, value, 42)).length;
|
|
133
133
|
})
|
|
134
134
|
)
|
|
135
135
|
])
|
|
@@ -139,7 +139,7 @@ function renderTable(rows, totalRows, verbose, footer = `showing ${rows.length}
|
|
|
139
139
|
const body = rows.map(
|
|
140
140
|
(row) => columns.map((column) => {
|
|
141
141
|
const raw = _nullishCoalesce(row[column], () => ( ""));
|
|
142
|
-
const display = verbose ? raw :
|
|
142
|
+
const display = verbose ? raw : _chunkVWPM4OICjs.clip.call(void 0, raw, 42);
|
|
143
143
|
return display.padEnd(widths[column]);
|
|
144
144
|
}).join(" | ")
|
|
145
145
|
);
|
|
@@ -159,7 +159,7 @@ async function handleCsvShow(path, options, command) {
|
|
|
159
159
|
{ exitCode: 2 }
|
|
160
160
|
);
|
|
161
161
|
}
|
|
162
|
-
const allRows =
|
|
162
|
+
const allRows = _chunkVWPM4OICjs.readCsvRows.call(void 0, csvPath);
|
|
163
163
|
const [rowStart, rowEnd] = parseRowRange(options.rows);
|
|
164
164
|
const rows = options.summary && options.rows === void 0 ? allRows : selectRows(allRows, rowStart, rowEnd);
|
|
165
165
|
const { rows: selected, columns } = selectColumns(
|
|
@@ -172,7 +172,7 @@ async function handleCsvShow(path, options, command) {
|
|
|
172
172
|
if (options.summary) {
|
|
173
173
|
const summaries = summarizeColumns(selected, columns);
|
|
174
174
|
if (format === "json") {
|
|
175
|
-
|
|
175
|
+
_chunkVWPM4OICjs.printJson.call(void 0, {
|
|
176
176
|
rows: summaries,
|
|
177
177
|
total_rows: selected.length,
|
|
178
178
|
source_total_rows: allRows.length
|
|
@@ -181,7 +181,7 @@ async function handleCsvShow(path, options, command) {
|
|
|
181
181
|
}
|
|
182
182
|
const displayRows = summaryDisplayRows(summaries);
|
|
183
183
|
if (format === "csv") {
|
|
184
|
-
process.stdout.write(
|
|
184
|
+
process.stdout.write(_chunkVWPM4OICjs.csvStringFromRows.call(void 0, displayRows));
|
|
185
185
|
return;
|
|
186
186
|
}
|
|
187
187
|
process.stdout.write(
|
|
@@ -196,7 +196,7 @@ async function handleCsvShow(path, options, command) {
|
|
|
196
196
|
return;
|
|
197
197
|
}
|
|
198
198
|
if (format === "json") {
|
|
199
|
-
|
|
199
|
+
_chunkVWPM4OICjs.printJson.call(void 0, {
|
|
200
200
|
rows: selected.map((row, index) => ({ __row: rowStart + index, ...row }))
|
|
201
201
|
});
|
|
202
202
|
return;
|
|
@@ -444,7 +444,7 @@ async function handleCsvRenderStart(options) {
|
|
|
444
444
|
if (log) {
|
|
445
445
|
detail = `
|
|
446
446
|
CSV render log:
|
|
447
|
-
${
|
|
447
|
+
${_chunkVWPM4OICjs.clip.call(void 0, log, 2e3)}`;
|
|
448
448
|
}
|
|
449
449
|
} catch (e7) {
|
|
450
450
|
}
|
|
@@ -495,7 +495,7 @@ async function handleCsvRenderStatus(options) {
|
|
|
495
495
|
if (payload.pid) lines.push(`Render PID: ${payload.pid}`);
|
|
496
496
|
if (payload.url) lines.push(`Render URL: ${payload.url}`);
|
|
497
497
|
lines.push(`Render Health: ${payload.health_status}`);
|
|
498
|
-
|
|
498
|
+
_chunkVWPM4OICjs.printCommandEnvelope.call(void 0, payload, {
|
|
499
499
|
json: options.json,
|
|
500
500
|
text: `${lines.join("\n")}
|
|
501
501
|
`
|
|
@@ -531,7 +531,7 @@ async function handleCsvRenderStop(options) {
|
|
|
531
531
|
};
|
|
532
532
|
const text = stopped.length > 0 ? `Stopped CSV render process(es): ${stopped.join(" ")}
|
|
533
533
|
` : "No running CSV render process found.\n";
|
|
534
|
-
|
|
534
|
+
_chunkVWPM4OICjs.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
|
|
535
535
|
}
|
|
536
536
|
async function handleCsvRender(action, options) {
|
|
537
537
|
const normalized = _nullishCoalesce(action, () => ( "start"));
|
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
printCommandEnvelope,
|
|
5
5
|
printJson,
|
|
6
6
|
readCsvRows
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-ULU4MEXN.mjs";
|
|
8
|
+
import "./chunk-Z3MJX3PP.mjs";
|
|
9
|
+
import "./chunk-2MIJMDGF.mjs";
|
|
10
10
|
import "./chunk-ASB47RXJ.mjs";
|
|
11
11
|
import "./chunk-DLIRSHV6.mjs";
|
|
12
12
|
import "./chunk-Z3A2S3QM.mjs";
|
|
13
13
|
import "./chunk-2MGZAI54.mjs";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-VVENTTSA.mjs";
|
|
15
15
|
import "./chunk-WZYKRD7T.mjs";
|
|
16
16
|
import "./chunk-KRD6H754.mjs";
|
|
17
17
|
|