deepline 0.3.538 → 0.3.539

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.
Files changed (128) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/play-runtime/app-runtime-api.ts +8 -1
  3. package/dist/bundling-sources/shared_libs/play-runtime/baked-runner-image.ts +66 -4
  4. package/dist/bundling-sources/shared_libs/play-runtime/launch-identity.ts +2 -0
  5. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +0 -4
  6. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +14 -5
  7. package/dist/bundling-sources/shared_libs/play-runtime/runtime-speed-profile.ts +136 -0
  8. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backend.ts +7 -0
  9. package/dist/cli/auth-O5Y2VYXK.js +43 -0
  10. package/dist/cli/{auth-KYH7N7RQ.mjs → auth-QD7QGD3B.mjs} +5 -5
  11. package/dist/cli/{billing-WK346KAI.mjs → billing-FIZXMHBW.mjs} +6 -6
  12. package/dist/cli/{billing-4KTUVZ4S.js → billing-KOQAF6WS.js} +89 -89
  13. package/dist/cli/{chunk-FWE37N2P.mjs → chunk-2XMFT44N.mjs} +1 -1
  14. package/dist/cli/{chunk-MNBIGX6O.js → chunk-3YDI2PTN.js} +10 -10
  15. package/dist/cli/{chunk-M3NCXGNN.mjs → chunk-55ITVU2V.mjs} +2 -2
  16. package/dist/cli/{chunk-O765M4LT.js → chunk-5QL4GJB2.js} +2 -2
  17. package/dist/cli/{chunk-6SLQLWWL.js → chunk-5RUB53KG.js} +26 -26
  18. package/dist/cli/{chunk-ADLDU2QG.js → chunk-5YF35HAV.js} +6 -6
  19. package/dist/cli/{chunk-A6E7TCK2.mjs → chunk-6KG4KVTH.mjs} +5 -5
  20. package/dist/cli/{chunk-VCHV4LS3.mjs → chunk-6NZBLFL4.mjs} +1 -1
  21. package/dist/cli/{chunk-KNIYEZVV.mjs → chunk-6V3LNYK5.mjs} +2 -2
  22. package/dist/cli/{chunk-TWWYCJJW.mjs → chunk-ADV2IB2C.mjs} +5 -5
  23. package/dist/cli/{chunk-7XDJKIM2.mjs → chunk-APKZGUTU.mjs} +4 -4
  24. package/dist/cli/{chunk-P3DP56HB.js → chunk-CQJCLHBE.js} +41 -41
  25. package/dist/cli/{chunk-N2BCPZVR.mjs → chunk-DZFVVP3S.mjs} +5 -5
  26. package/dist/cli/{chunk-T6GPTJ5F.mjs → chunk-E4QHTDPF.mjs} +1 -1
  27. package/dist/cli/{chunk-25RGHJQL.js → chunk-EAZS52DL.js} +15 -15
  28. package/dist/cli/{chunk-JPEBKN3K.mjs → chunk-F43MXIN3.mjs} +2 -2
  29. package/dist/cli/{chunk-KCUQNH4K.js → chunk-FH3P3E4S.js} +2 -2
  30. package/dist/cli/{chunk-ICTA5ICE.mjs → chunk-FIRV7BXJ.mjs} +1 -1
  31. package/dist/cli/{chunk-VIFLWQXS.js → chunk-FSQCB5SJ.js} +2 -2
  32. package/dist/cli/{chunk-5VSPRRTI.js → chunk-FTBWFDF3.js} +7 -7
  33. package/dist/cli/{chunk-CLO562KG.mjs → chunk-G3UFDUYU.mjs} +1 -1
  34. package/dist/cli/{chunk-UE7JHAZ2.mjs → chunk-GEO2EMM7.mjs} +1 -1
  35. package/dist/cli/{chunk-ZDLDCXY3.mjs → chunk-GLEGINSP.mjs} +2 -2
  36. package/dist/cli/{chunk-6JG3MRTM.mjs → chunk-GLKUC5PO.mjs} +2 -2
  37. package/dist/cli/{chunk-FJ5KPGCS.mjs → chunk-GNCIMHO2.mjs} +10 -10
  38. package/dist/cli/{chunk-IMLFB66A.js → chunk-ISXX5DUD.js} +3 -3
  39. package/dist/cli/{chunk-4KZF6OYY.mjs → chunk-JBCQFG7G.mjs} +3 -3
  40. package/dist/cli/{chunk-JTOV5RUA.mjs → chunk-JHEZQMOM.mjs} +1 -1
  41. package/dist/cli/{chunk-JCLRSMUP.js → chunk-K22EKW6L.js} +5 -5
  42. package/dist/cli/{chunk-B2BTBHX2.js → chunk-K5MZHTK7.js} +3 -3
  43. package/dist/cli/{chunk-MYSPQUAO.js → chunk-KAEVL62Q.js} +44 -44
  44. package/dist/cli/{chunk-34PLG5OE.js → chunk-KQTX545E.js} +13 -13
  45. package/dist/cli/{chunk-ALARRSMZ.mjs → chunk-LE5KN7CZ.mjs} +3 -3
  46. package/dist/cli/{chunk-PQKD5DMT.js → chunk-LEREPTAE.js} +19 -19
  47. package/dist/cli/{chunk-OOLBE6FR.js → chunk-MI53W4DN.js} +53 -53
  48. package/dist/cli/{chunk-ZU6JBRV5.mjs → chunk-MKESK3SW.mjs} +4 -4
  49. package/dist/cli/{chunk-4WQR4DG4.mjs → chunk-N3LPGGWD.mjs} +1 -1
  50. package/dist/cli/{chunk-UEZNIPFO.js → chunk-NR5PLMNG.js} +107 -107
  51. package/dist/cli/{chunk-3I5TU5XE.js → chunk-Q4HNK7JX.js} +8 -8
  52. package/dist/cli/{chunk-35OCRH5C.mjs → chunk-RULRGMMM.mjs} +5 -5
  53. package/dist/cli/{chunk-IP3XJTWA.mjs → chunk-SDAP5MCO.mjs} +2 -2
  54. package/dist/cli/{chunk-YQURGSRB.js → chunk-TZBCJHV6.js} +1 -1
  55. package/dist/cli/{chunk-LPTBHNGB.js → chunk-V7DEGIYO.js} +4 -4
  56. package/dist/cli/{chunk-YZ2ZPHWR.js → chunk-VK5UTS5B.js} +9 -9
  57. package/dist/cli/{chunk-N5HSG4OV.js → chunk-W32KT6LM.js} +5 -5
  58. package/dist/cli/{chunk-ESX3H7Q7.js → chunk-XZBXQCRJ.js} +22 -22
  59. package/dist/cli/{chunk-4NEOGPKD.mjs → chunk-Y66ZMOJI.mjs} +1 -1
  60. package/dist/cli/{chunk-BBS2BLPV.js → chunk-YMQFQO3K.js} +16 -16
  61. package/dist/cli/{csv-LM7FBECI.js → csv-BWWJYV2C.js} +13 -13
  62. package/dist/cli/{csv-2YKLUKDR.mjs → csv-G5RQQ74W.mjs} +4 -4
  63. package/dist/cli/{db-5PMA4IVW.js → db-5KNDLADE.js} +27 -27
  64. package/dist/cli/{db-234UBWJH.mjs → db-AJZHWB3V.mjs} +6 -6
  65. package/dist/cli/describe-B6CN6CFJ.js +49 -0
  66. package/dist/cli/{describe-W26LW5O7.mjs → describe-QY5TKWVD.mjs} +17 -17
  67. package/dist/cli/{executions-3S736GXX.js → executions-BCCW76BI.js} +8 -8
  68. package/dist/cli/{executions-GD7GXTJM.mjs → executions-SJPH3MZT.mjs} +6 -6
  69. package/dist/cli/{feedback-BUWTDY4R.js → feedback-GF65JKK6.js} +14 -14
  70. package/dist/cli/{feedback-GBV5HJJZ.mjs → feedback-S6SZOFGK.mjs} +6 -6
  71. package/dist/cli/git-DX6NB7VF.js +25 -0
  72. package/dist/cli/{git-YXJGTDQL.mjs → git-F5FT5YVB.mjs} +5 -5
  73. package/dist/cli/index.js +139 -139
  74. package/dist/cli/index.mjs +41 -41
  75. package/dist/cli/{legacy-noops-ZSF64V2U.js → legacy-noops-ECR6FS6U.js} +9 -9
  76. package/dist/cli/{legacy-noops-UJM6GBNP.mjs → legacy-noops-NOA4P5NE.mjs} +6 -6
  77. package/dist/cli/{monitors-UERUQ6CT.mjs → monitors-CTYSAGP4.mjs} +7 -7
  78. package/dist/cli/{monitors-XQ2GNH6D.js → monitors-DEWBSURN.js} +100 -100
  79. package/dist/cli/{org-CP4VLH6M.mjs → org-EKSKKT7H.mjs} +6 -6
  80. package/dist/cli/{org-IF6MPVNR.js → org-ZM2UUMZZ.js} +86 -86
  81. package/dist/cli/{play-2NHQO5MO.js → play-6JQOM6DE.js} +317 -317
  82. package/dist/cli/{play-ZWDYYVPI.mjs → play-R2BH374J.mjs} +17 -17
  83. package/dist/cli/{providers-LOPXQN56.js → providers-CMIYHEMN.js} +9 -9
  84. package/dist/cli/{providers-2CVIATU4.mjs → providers-X7WMIWO4.mjs} +6 -6
  85. package/dist/cli/{quickstart-N4WDEQZY.js → quickstart-6HVPAMSW.js} +6 -6
  86. package/dist/cli/{quickstart-KVCFXLID.mjs → quickstart-ZZ7L6VZJ.mjs} +4 -4
  87. package/dist/cli/{run-RUXHYWLF.mjs → run-FP32RKBU.mjs} +22 -22
  88. package/dist/cli/{run-BDT5LK3I.js → run-OOHYH3GI.js} +42 -42
  89. package/dist/cli/search-34C6LFOJ.js +32 -0
  90. package/dist/cli/{search-BFUTNPA5.mjs → search-BDDNC23Z.mjs} +7 -7
  91. package/dist/cli/{search-output-CTXI2QZU.js → search-output-5VZIQQAM.js} +6 -6
  92. package/dist/cli/{search-output-WUGH4PZA.mjs → search-output-QXJ6CV5G.mjs} +4 -4
  93. package/dist/cli/{secrets-BZJZYFOU.js → secrets-EN2HQCO3.js} +15 -15
  94. package/dist/cli/{secrets-Z4XQVTC6.mjs → secrets-Z7CQSQGC.mjs} +6 -6
  95. package/dist/cli/{sessions-VZXR3MQZ.mjs → sessions-I2H37OTJ.mjs} +6 -6
  96. package/dist/cli/sessions-RYQX3NDD.js +22 -0
  97. package/dist/cli/{settings-WBYA4JMM.js → settings-CTRAPFNZ.js} +85 -85
  98. package/dist/cli/{settings-VYEZFR4L.mjs → settings-IYSC5PPQ.mjs} +12 -12
  99. package/dist/cli/{setup-H7KCI4SO.mjs → setup-PU3HOVI3.mjs} +9 -9
  100. package/dist/cli/{setup-FS2RMSS2.js → setup-XIN53GEW.js} +49 -49
  101. package/dist/cli/skills-576CX7DK.js +36 -0
  102. package/dist/cli/{skills-YQNSJUUG.mjs → skills-TYBML2ZO.mjs} +7 -7
  103. package/dist/cli/tools-EXMUWA3Z.js +56 -0
  104. package/dist/cli/{tools-ZF6SVEGW.mjs → tools-ZVNE6M6J.mjs} +16 -16
  105. package/dist/cli/{update-RKQNNJM4.mjs → update-54WENBNT.mjs} +9 -9
  106. package/dist/cli/update-RAHETNL2.js +34 -0
  107. package/dist/cli/{views-KN7FEDGT.js → views-7L75EZOJ.js} +21 -21
  108. package/dist/cli/{views-JHHOTWDU.mjs → views-EUBB4ONT.mjs} +6 -6
  109. package/dist/cli/{workflow-2WHSKTTV.js → workflow-EZVYCR6Y.js} +17 -17
  110. package/dist/cli/{workflow-AAYLCLWA.mjs → workflow-GUKGFJ72.mjs} +7 -7
  111. package/dist/index.js +9 -9
  112. package/dist/index.mjs +6 -6
  113. package/dist/install-integrity.json +101 -100
  114. package/dist/release.d.mts +1 -1
  115. package/dist/release.d.ts +1 -1
  116. package/dist/release.js +2 -2
  117. package/dist/release.mjs +1 -1
  118. package/dist/server.js +5 -5
  119. package/dist/server.mjs +3 -3
  120. package/package.json +1 -1
  121. package/dist/cli/auth-4WEVLYK4.js +0 -43
  122. package/dist/cli/describe-C7GOSGYB.js +0 -49
  123. package/dist/cli/git-YG36MROC.js +0 -25
  124. package/dist/cli/search-ATDDVADT.js +0 -32
  125. package/dist/cli/sessions-HNU35AFM.js +0 -22
  126. package/dist/cli/skills-VPIURCAZ.js +0 -36
  127. package/dist/cli/tools-273GS5HU.js +0 -56
  128. package/dist/cli/update-TOD3XY55.js +0 -34
@@ -32,7 +32,7 @@ var _chunkPMH4GLMDjs = require('./chunk-PMH4GLMD.js');
32
32
 
33
33
 
34
34
 
35
- var _chunkLPTBHNGBjs = require('./chunk-LPTBHNGB.js');
35
+ var _chunkV7DEGIYOjs = require('./chunk-V7DEGIYO.js');
36
36
 
37
37
 
38
38
  var _chunk2GJZLIKWjs = require('./chunk-2GJZLIKW.js');
@@ -675,7 +675,7 @@ var ToolCalls = class {
675
675
  idempotencyKey,
676
676
  onResponse: (response2) => {
677
677
  lastResponse = null;
678
- atomicToolsSupported = response2.headers.get(_chunkLPTBHNGBjs.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
678
+ atomicToolsSupported = response2.headers.get(_chunkV7DEGIYOjs.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
679
679
  recoverySupported = response2.headers.get("X-Deepline-Idempotency-Supported") === "true";
680
680
  if (_optionalChain([options, 'optionalAccess', _30 => _30.onServerTiming])) {
681
681
  try {
@@ -1061,15 +1061,15 @@ function runtimeSelectionHeaders(runtime, env) {
1061
1061
  }
1062
1062
  const receivers = _optionalChain([env, 'access', _55 => _55.DEEPLINE_RUNTIME_RETAINED_PIPELINE_RECEIVERS, 'optionalAccess', _56 => _56.trim, 'call', _57 => _57()]);
1063
1063
  return {
1064
- [_chunkLPTBHNGBjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1065
- ...receivers ? { [_chunkLPTBHNGBjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1064
+ [_chunkV7DEGIYOjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1065
+ ...receivers ? { [_chunkV7DEGIYOjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1066
1066
  };
1067
1067
  }
1068
1068
  function playRunStartHeaders(runtime, env) {
1069
1069
  const headers = runtimeSelectionHeaders(runtime, env);
1070
1070
  const experimentSwitches = _optionalChain([env, 'access', _58 => _58.DEEPLINE_EXPERIMENT_SWITCHES, 'optionalAccess', _59 => _59.trim, 'call', _60 => _60()]);
1071
1071
  if (!experimentSwitches) return headers;
1072
- return { ...headers, [_chunkLPTBHNGBjs.EXPERIMENT_SWITCHES_HEADER]: experimentSwitches };
1072
+ return { ...headers, [_chunkV7DEGIYOjs.EXPERIMENT_SWITCHES_HEADER]: experimentSwitches };
1073
1073
  }
1074
1074
  function normalizeTestPolicyOverrides(value, source) {
1075
1075
  if (value && typeof value === "object" && !Array.isArray(value)) {
@@ -1139,7 +1139,7 @@ var PlayClient = class {
1139
1139
  return _chunkCQDQNZGHjs.startPlayRun.call(void 0,
1140
1140
  this.http,
1141
1141
  resolved.request,
1142
- _optionalChain([options, 'optionalAccess', _68 => _68.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunkLPTBHNGBjs.SDK_API_MAJOR) } : headers,
1142
+ _optionalChain([options, 'optionalAccess', _68 => _68.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunkV7DEGIYOjs.SDK_API_MAJOR) } : headers,
1143
1143
  options
1144
1144
  );
1145
1145
  }
@@ -3243,7 +3243,7 @@ function isolatedCiRuntimeEventReadHeaders(env) {
3243
3243
  "RUNTIME_EVENT_INTERNAL_TOKEN_REQUIRED"
3244
3244
  );
3245
3245
  }
3246
- return { [_chunkLPTBHNGBjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3246
+ return { [_chunkV7DEGIYOjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3247
3247
  }
3248
3248
  function sleep(ms) {
3249
3249
  return new Promise((resolve) => setTimeout(resolve, ms));
@@ -4155,7 +4155,7 @@ var DeeplineClient = (_class = class _DeeplineClient {
4155
4155
  );
4156
4156
  const headers = _optionalChain([options, 'optionalAccess', _192 => _192.cliAdmission]) ? {
4157
4157
  ...runtimeHeaders,
4158
- "X-Deepline-API-Major": String(_chunkLPTBHNGBjs.SDK_API_MAJOR)
4158
+ "X-Deepline-API-Major": String(_chunkV7DEGIYOjs.SDK_API_MAJOR)
4159
4159
  } : runtimeHeaders;
4160
4160
  const http = this.http;
4161
4161
  let submitted = false;
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  npmSupportsAllowScripts,
3
3
  readNpmVersion
4
- } from "./chunk-4NEOGPKD.mjs";
4
+ } from "./chunk-Y66ZMOJI.mjs";
5
5
  import {
6
6
  runSkillsCommand
7
- } from "./chunk-ZU6JBRV5.mjs";
7
+ } from "./chunk-MKESK3SW.mjs";
8
8
  import {
9
9
  resolveShellSpawn
10
- } from "./chunk-TWWYCJJW.mjs";
10
+ } from "./chunk-ADV2IB2C.mjs";
11
11
  import {
12
12
  printCommandEnvelope
13
- } from "./chunk-6JG3MRTM.mjs";
13
+ } from "./chunk-GLKUC5PO.mjs";
14
14
  import {
15
15
  autoDetectBaseUrl
16
- } from "./chunk-ICTA5ICE.mjs";
16
+ } from "./chunk-FIRV7BXJ.mjs";
17
17
 
18
18
  // src/cli/commands/update.ts
19
19
  import { spawn, spawnSync } from "child_process";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  PlayClient
3
- } from "./chunk-UE7JHAZ2.mjs";
3
+ } from "./chunk-GEO2EMM7.mjs";
4
4
  import {
5
5
  HttpClient,
6
6
  resolveConfig
7
- } from "./chunk-ICTA5ICE.mjs";
7
+ } from "./chunk-FIRV7BXJ.mjs";
8
8
 
9
9
  // src/plays/local-play-execution.ts
10
10
  function importedNodes(graph) {
@@ -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.538",
52
+ version: "0.3.539",
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."
@@ -17,12 +17,12 @@ var _chunkXNYIZMNQjs = require('./chunk-XNYIZMNQ.js');
17
17
  var _chunkBBTKAASQjs = require('./chunk-BBTKAASQ.js');
18
18
 
19
19
 
20
- var _chunkYQURGSRBjs = require('./chunk-YQURGSRB.js');
20
+ var _chunkTZBCJHV6js = require('./chunk-TZBCJHV6.js');
21
21
 
22
22
  // src/version.ts
23
- var SDK_VERSION = _chunkYQURGSRBjs.SDK_RELEASE.version;
24
- var SDK_API_MAJOR = _chunkYQURGSRBjs.SDK_RELEASE.contracts.api.currentMajor;
25
- var SDK_API_CONTRACT = _nullishCoalesce(_chunkYQURGSRBjs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
23
+ var SDK_VERSION = _chunkTZBCJHV6js.SDK_RELEASE.version;
24
+ var SDK_API_MAJOR = _chunkTZBCJHV6js.SDK_RELEASE.contracts.api.currentMajor;
25
+ var SDK_API_CONTRACT = _nullishCoalesce(_chunkTZBCJHV6js.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
26
26
 
27
27
  // src/agent-runtime.ts
28
28
  var _fs = require('fs');
@@ -3,7 +3,7 @@
3
3
  var _chunkVLEVVDWGjs = require('./chunk-VLEVVDWG.js');
4
4
 
5
5
 
6
- var _chunk3I5TU5XEjs = require('./chunk-3I5TU5XE.js');
6
+ var _chunkQ4HNK7JXjs = require('./chunk-Q4HNK7JX.js');
7
7
 
8
8
 
9
9
  var _chunkCQDQNZGHjs = require('./chunk-CQDQNZGH.js');
@@ -11,7 +11,7 @@ var _chunkCQDQNZGHjs = require('./chunk-CQDQNZGH.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkPQKD5DMTjs = require('./chunk-PQKD5DMT.js');
14
+ var _chunkLEREPTAEjs = require('./chunk-LEREPTAE.js');
15
15
 
16
16
 
17
17
  var _chunkBBTKAASQjs = require('./chunk-BBTKAASQ.js');
@@ -581,7 +581,7 @@ function parseInputFlagValue(raw) {
581
581
  return raw;
582
582
  }
583
583
  function parsePlayRunOptions(args, initialInput = null) {
584
- const selection = _chunkPQKD5DMTjs.parseJsonFields.call(void 0, args, "run");
584
+ const selection = _chunkLEREPTAEjs.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 ? _chunkPQKD5DMTjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkPQKD5DMTjs.argsWantJson.call(void 0, args);
596
+ let jsonOutput = dryRun ? _chunkLEREPTAEjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkLEREPTAEjs.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");
@@ -656,7 +656,7 @@ function parsePlayRunOptions(args, initialInput = null) {
656
656
  "--log-level requires one of: debug, info, warn, error."
657
657
  );
658
658
  }
659
- const parsed = _chunk3I5TU5XEjs.parseLogLevel.call(void 0, value);
659
+ const parsed = _chunkQ4HNK7JXjs.parseLogLevel.call(void 0, value);
660
660
  if (!parsed) {
661
661
  throw new Error(
662
662
  `Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
@@ -974,7 +974,7 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
974
974
  const hasExplicitLogLevel = options.logLevel !== void 0 || inputArgs.some(
975
975
  (arg) => arg === "--log-level" || arg.startsWith("--log-level=")
976
976
  );
977
- let logLevel = options.logLevel === void 0 ? base.logLevel : _chunk3I5TU5XEjs.parseLogLevel.call(void 0, options.logLevel);
977
+ let logLevel = options.logLevel === void 0 ? base.logLevel : _chunkQ4HNK7JXjs.parseLogLevel.call(void 0, options.logLevel);
978
978
  if (!logLevel)
979
979
  throw new Error("--log-level requires one of: debug, info, warn, error.");
980
980
  const debugAlias = options.logs || options.debug === true || inputArgs.some(
@@ -988,13 +988,13 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
988
988
  if (debugAlias || debugMapLatency && logLevel === "info")
989
989
  logLevel = "debug";
990
990
  const fullJson = _nullishCoalesce(options.full, () => ( base.fullJson));
991
- const jsonFields = options.json === void 0 ? base.jsonFields : _chunkPQKD5DMTjs.parseJsonFields.call(void 0,
992
- [...fullJson ? ["--full"] : [], ..._chunkPQKD5DMTjs.jsonFieldArgs.call(void 0, options.json)],
991
+ const jsonFields = options.json === void 0 ? base.jsonFields : _chunkLEREPTAEjs.parseJsonFields.call(void 0,
992
+ [...fullJson ? ["--full"] : [], ..._chunkLEREPTAEjs.jsonFieldArgs.call(void 0, options.json)],
993
993
  "run"
994
994
  ).fields;
995
995
  const watch = options.wait === false ? false : base.watch;
996
996
  const explicitJson = options.json !== void 0 ? options.json !== false : base.jsonOutput;
997
- const jsonOutput = dryRun || !watch ? explicitJson || _chunkPQKD5DMTjs.argsWantJson.call(void 0, []) : explicitJson;
997
+ const jsonOutput = dryRun || !watch ? explicitJson || _chunkLEREPTAEjs.argsWantJson.call(void 0, []) : explicitJson;
998
998
  const verboseLogs = Boolean(
999
999
  debugAlias || logLevel === "debug" || debugMapLatency
1000
1000
  );
@@ -1,16 +1,16 @@
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; }
2
2
 
3
- var _chunk3I5TU5XEjs = require('./chunk-3I5TU5XE.js');
3
+ var _chunkQ4HNK7JXjs = require('./chunk-Q4HNK7JX.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkIMLFB66Ajs = require('./chunk-IMLFB66A.js');
7
+ var _chunkISXX5DUDjs = require('./chunk-ISXX5DUD.js');
8
8
 
9
9
  // src/client.ts
10
- var DeeplineClient2 = class extends _chunk3I5TU5XEjs.DeeplineClient {
10
+ var DeeplineClient2 = class extends _chunkQ4HNK7JXjs.DeeplineClient {
11
11
  constructor(options) {
12
- const config = _chunkIMLFB66Ajs.resolveConfig.call(void 0, options);
13
- super(config, new (0, _chunkIMLFB66Ajs.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
12
+ const config = _chunkISXX5DUDjs.resolveConfig.call(void 0, options);
13
+ super(config, new (0, _chunkISXX5DUDjs.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
14
14
  }
15
15
  };
16
16
 
@@ -4,21 +4,21 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkBBS2BLPVjs = require('./chunk-BBS2BLPV.js');
7
+ var _chunkYMQFQO3Kjs = require('./chunk-YMQFQO3K.js');
8
8
 
9
9
 
10
10
 
11
- var _chunkMYSPQUAOjs = require('./chunk-MYSPQUAO.js');
11
+ var _chunkKAEVL62Qjs = require('./chunk-KAEVL62Q.js');
12
12
 
13
13
 
14
14
 
15
- var _chunkPQKD5DMTjs = require('./chunk-PQKD5DMT.js');
15
+ var _chunkLEREPTAEjs = require('./chunk-LEREPTAE.js');
16
16
 
17
17
 
18
- var _chunkIMLFB66Ajs = require('./chunk-IMLFB66A.js');
18
+ var _chunkISXX5DUDjs = require('./chunk-ISXX5DUD.js');
19
19
 
20
20
 
21
- var _chunkLPTBHNGBjs = require('./chunk-LPTBHNGB.js');
21
+ var _chunkV7DEGIYOjs = require('./chunk-V7DEGIYO.js');
22
22
 
23
23
  // src/cli/compatibility-catalog.ts
24
24
  var readers = /* @__PURE__ */ new WeakMap();
@@ -45,7 +45,7 @@ function trustedAutoUpdateRegistryUrl(baseUrl) {
45
45
  async function reportAutoUpdateEvent(input) {
46
46
  let apiKey = "";
47
47
  try {
48
- apiKey = _chunkIMLFB66Ajs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
48
+ apiKey = _chunkISXX5DUDjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
49
49
  } catch (e2) {
50
50
  return;
51
51
  }
@@ -61,15 +61,15 @@ async function reportAutoUpdateEvent(input) {
61
61
  headers: {
62
62
  Authorization: `Bearer ${apiKey}`,
63
63
  "Content-Type": "application/json",
64
- "User-Agent": `deepline-ts-sdk/${_chunkLPTBHNGBjs.SDK_VERSION}`,
64
+ "User-Agent": `deepline-ts-sdk/${_chunkV7DEGIYOjs.SDK_VERSION}`,
65
65
  "X-Deepline-Client-Family": "sdk",
66
66
  "X-Deepline-CLI-Family": "sdk",
67
- "X-Deepline-CLI-Version": _chunkLPTBHNGBjs.SDK_VERSION,
68
- "X-Deepline-SDK-Version": _chunkLPTBHNGBjs.SDK_VERSION
67
+ "X-Deepline-CLI-Version": _chunkV7DEGIYOjs.SDK_VERSION,
68
+ "X-Deepline-SDK-Version": _chunkV7DEGIYOjs.SDK_VERSION
69
69
  },
70
70
  body: JSON.stringify({
71
71
  event: input.event,
72
- current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkLPTBHNGBjs.SDK_VERSION,
72
+ current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkV7DEGIYOjs.SDK_VERSION,
73
73
  target_version: input.response.latest,
74
74
  reason: _optionalChain([input, 'access', _8 => _8.response, 'access', _9 => _9.auto_update, 'optionalAccess', _10 => _10.reason]),
75
75
  command: _nullishCoalesce(input.response.command, () => ( null)),
@@ -88,13 +88,13 @@ function envTruthy(name) {
88
88
  return value === "1" || value === "true" || value === "yes";
89
89
  }
90
90
  function shouldSkipSelfUpdate(policy) {
91
- return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunkBBS2BLPVjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkMYSPQUAOjs.isCiEnvironment.call(void 0, );
91
+ return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunkYMQFQO3Kjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkKAEVL62Qjs.isCiEnvironment.call(void 0, );
92
92
  }
93
93
  function isDowngradeAutoUpdateResponse(response) {
94
94
  const target = _optionalChain([response, 'optionalAccess', _17 => _17.latest, 'optionalAccess', _18 => _18.trim, 'call', _19 => _19()]);
95
- const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunkLPTBHNGBjs.SDK_VERSION;
95
+ const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunkV7DEGIYOjs.SDK_VERSION;
96
96
  if (!target) return false;
97
- return _chunkBBS2BLPVjs.compareUpdateVersions.call(void 0, target, current) < 0;
97
+ return _chunkYMQFQO3Kjs.compareUpdateVersions.call(void 0, target, current) < 0;
98
98
  }
99
99
  function relaunchCurrentCommand(plan, runtime = {}) {
100
100
  return new Promise((resolve) => {
@@ -147,7 +147,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
147
147
  }
148
148
  if (isDowngradeAutoUpdateResponse(response)) {
149
149
  const target = response.latest;
150
- const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunkLPTBHNGBjs.SDK_VERSION;
150
+ const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunkV7DEGIYOjs.SDK_VERSION;
151
151
  process.stderr.write(
152
152
  `Deepline SDK/CLI auto-update refused: server advertised older ${target} than current ${current}. Continuing without mutating the CLI.
153
153
  `
@@ -155,21 +155,21 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
155
155
  return false;
156
156
  }
157
157
  const packageSpec = response.latest ? `deepline@${response.latest}` : void 0;
158
- const plan = _chunkBBS2BLPVjs.resolveUpdatePlan.call(void 0, {
158
+ const plan = _chunkYMQFQO3Kjs.resolveUpdatePlan.call(void 0, {
159
159
  packageSpec,
160
160
  requireVerifiedNpmOwnership: true,
161
161
  npmFallbackRegistryUrl: trustedAutoUpdateRegistryUrl(baseUrl)
162
162
  });
163
- if (!_chunkBBS2BLPVjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
163
+ if (!_chunkYMQFQO3Kjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
164
164
  return false;
165
165
  }
166
166
  if (!autoUpdate.required && autoUpdate.reason !== "rollback_forced") {
167
167
  deferredAutoUpdate = async () => {
168
168
  await applyAutoUpdate(response, baseUrl, plan, "next_command");
169
169
  };
170
- if (_chunkPQKD5DMTjs.isJsonOutputMode.call(void 0, )) {
170
+ if (_chunkLEREPTAEjs.isJsonOutputMode.call(void 0, )) {
171
171
  const target = _optionalChain([response, 'access', _29 => _29.latest, 'optionalAccess', _30 => _30.trim, 'call', _31 => _31()]);
172
- _chunkPQKD5DMTjs.addJsonNotice.call(void 0, {
172
+ _chunkLEREPTAEjs.addJsonNotice.call(void 0, {
173
173
  code: "sdk_update_queued",
174
174
  message: `Deepline SDK/CLI update${target ? ` to ${target}` : ""} is queued after this command; the next command will use it if installation succeeds.`
175
175
  });
@@ -182,7 +182,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
182
182
  return true;
183
183
  }
184
184
  async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
185
- if (!_chunkBBS2BLPVjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
185
+ if (!_chunkYMQFQO3Kjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
186
186
  const autoUpdate = response.auto_update;
187
187
  const label = _optionalChain([autoUpdate, 'optionalAccess', _32 => _32.reason]) === "rollback_forced" ? "has a server rollback pending and needs the latest rollback-aware CLI" : _optionalChain([autoUpdate, 'optionalAccess', _33 => _33.reason]) === "deprecated" ? "is deprecated and will update automatically" : _optionalChain([autoUpdate, 'optionalAccess', _34 => _34.required]) ? "requires an update" : "has an update available and will update automatically";
188
188
  process.stderr.write(
@@ -195,7 +195,7 @@ async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
195
195
  event: "started",
196
196
  installKind: plan.kind
197
197
  });
198
- const updateResult = await _chunkBBS2BLPVjs.runAutomaticUpdatePlan.call(void 0, plan);
198
+ const updateResult = await _chunkYMQFQO3Kjs.runAutomaticUpdatePlan.call(void 0, plan);
199
199
  if (updateResult.status === "skipped_previous_failure") {
200
200
  void reportAutoUpdateEvent({
201
201
  baseUrl,
@@ -233,7 +233,7 @@ async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
233
233
  exitCode: 0
234
234
  });
235
235
  try {
236
- await _chunkMYSPQUAOjs.syncSdkSkillsIfNeeded.call(void 0, baseUrl, {
236
+ await _chunkKAEVL62Qjs.syncSdkSkillsIfNeeded.call(void 0, baseUrl, {
237
237
  mode: "detached",
238
238
  update: _optionalChain([response, 'access', _36 => _36.skills, 'optionalAccess', _37 => _37.requires_cli_update]) ? void 0 : response.skills,
239
239
  afterCliUpdate: {
@@ -260,7 +260,7 @@ var _crypto = require('crypto');
260
260
  var TOOL_EXECUTE_PROGRESS_INTERVAL_MS = 15e3;
261
261
  var activeToolExecuteCommand = null;
262
262
  function progressLine(line) {
263
- if (!_chunkPQKD5DMTjs.isJsonOutputMode.call(void 0, )) console.error(line);
263
+ if (!_chunkLEREPTAEjs.isJsonOutputMode.call(void 0, )) console.error(line);
264
264
  }
265
265
  function beginToolExecuteCommand() {
266
266
  if (activeToolExecuteCommand) return activeToolExecuteCommand.invocationId;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveShellSpawn
3
- } from "./chunk-TWWYCJJW.mjs";
3
+ } from "./chunk-ADV2IB2C.mjs";
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  import { spawnSync } from "child_process";
@@ -1,19 +1,19 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
3
 
4
- var _chunkKCUQNH4Kjs = require('./chunk-KCUQNH4K.js');
4
+ var _chunkFH3P3E4Sjs = require('./chunk-FH3P3E4S.js');
5
5
 
6
6
 
7
- var _chunkP3DP56HBjs = require('./chunk-P3DP56HB.js');
7
+ var _chunkCQJCLHBEjs = require('./chunk-CQJCLHBE.js');
8
8
 
9
9
 
10
- var _chunkMYSPQUAOjs = require('./chunk-MYSPQUAO.js');
10
+ var _chunkKAEVL62Qjs = require('./chunk-KAEVL62Q.js');
11
11
 
12
12
 
13
- var _chunkPQKD5DMTjs = require('./chunk-PQKD5DMT.js');
13
+ var _chunkLEREPTAEjs = require('./chunk-LEREPTAE.js');
14
14
 
15
15
 
16
- var _chunkIMLFB66Ajs = require('./chunk-IMLFB66A.js');
16
+ var _chunkISXX5DUDjs = require('./chunk-ISXX5DUD.js');
17
17
 
18
18
  // src/cli/commands/update.ts
19
19
  var _child_process = require('child_process');
@@ -495,7 +495,7 @@ function normalizedNpmPrefix(value) {
495
495
  }
496
496
  function resolveNpmGlobalPrefix(env) {
497
497
  try {
498
- const plan = _chunkMYSPQUAOjs.resolveShellSpawn.call(void 0,
498
+ const plan = _chunkKAEVL62Qjs.resolveShellSpawn.call(void 0,
499
499
  "npm",
500
500
  ["prefix", "-g"],
501
501
  process.platform,
@@ -556,8 +556,8 @@ function resolveUpdatePlan(options = {}) {
556
556
  const npmGlobalPrefix = options.npmGlobalPrefix !== void 0 ? options.npmGlobalPrefix : resolveNpmGlobalPrefix(env);
557
557
  const hasVerifiedNpmOwnership = inferredInstallPrefix !== null && normalizedNpmPrefix(inferredInstallPrefix) === normalizedNpmPrefix(npmGlobalPrefix);
558
558
  const installPrefix = options.requireVerifiedNpmOwnership ? hasVerifiedNpmOwnership ? inferredInstallPrefix : null : inferredInstallPrefix;
559
- const npmVersion = options.npmVersion === void 0 ? _chunkKCUQNH4Kjs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
- const npmGlobalInstallFlags = _chunkKCUQNH4Kjs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
559
+ const npmVersion = options.npmVersion === void 0 ? _chunkFH3P3E4Sjs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
+ const npmGlobalInstallFlags = _chunkFH3P3E4Sjs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
561
561
  const args = installPrefix ? [
562
562
  "install",
563
563
  "-g",
@@ -567,7 +567,7 @@ function resolveUpdatePlan(options = {}) {
567
567
  packageSpec
568
568
  ] : ["install", "-g", ...npmGlobalInstallFlags, packageSpec];
569
569
  const fallbackRegistryUrl = options.npmFallbackRegistryUrl !== void 0 ? options.npmFallbackRegistryUrl : publicNpmFallbackRegistryUrl(
570
- _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkIMLFB66Ajs.autoDetectBaseUrl.call(void 0, )
570
+ _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkISXX5DUDjs.autoDetectBaseUrl.call(void 0, )
571
571
  );
572
572
  return {
573
573
  kind: "npm-global",
@@ -816,7 +816,7 @@ function sidecarInstallFailure(versionDir) {
816
816
  function runCommand(command, args, env = process.env) {
817
817
  return new Promise((resolveResult) => {
818
818
  let output = "";
819
- const plan = _chunkMYSPQUAOjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
819
+ const plan = _chunkKAEVL62Qjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
820
820
  const child = _child_process.spawn.call(void 0, plan.command, plan.args, {
821
821
  stdio: ["inherit", "pipe", "pipe"],
822
822
  shell: plan.shell,
@@ -1199,14 +1199,14 @@ async function publishedVersionSupportsPin(version, fallbackRegistryUrl) {
1199
1199
  throw _nullishCoalesce(lastError, () => ( new Error("No npm registry was available")));
1200
1200
  }
1201
1201
  async function runUpdateCommand(options, dependencies = {}) {
1202
- const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkIMLFB66Ajs.autoDetectBaseUrl));
1202
+ const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkISXX5DUDjs.autoDetectBaseUrl));
1203
1203
  const resolvePlan = _nullishCoalesce(dependencies.resolvePlan, () => ( resolveUpdatePlan));
1204
1204
  const runPlan = _nullishCoalesce(dependencies.runPlan, () => ( runUpdatePlan));
1205
1205
  const syncSkills = _nullishCoalesce(dependencies.syncSkillsIfNeeded, () => ( (async () => {
1206
1206
  const originalWrite = process.stdout.write.bind(process.stdout);
1207
1207
  process.stdout.write = (() => true);
1208
1208
  try {
1209
- const exitCode = await _chunkP3DP56HBjs.runSkillsCommand.call(void 0, { json: true });
1209
+ const exitCode = await _chunkCQJCLHBEjs.runSkillsCommand.call(void 0, { json: true });
1210
1210
  if (exitCode !== 0) {
1211
1211
  throw new Error(
1212
1212
  `Deepline skills update failed with exit ${exitCode}.`
@@ -1277,11 +1277,11 @@ async function runUpdateCommand(options, dependencies = {}) {
1277
1277
  ]
1278
1278
  };
1279
1279
  if (options.json && !options.executeWithJson) {
1280
- _chunkPQKD5DMTjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1280
+ _chunkLEREPTAEjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1281
1281
  return 0;
1282
1282
  }
1283
1283
  if (options.printCommand) {
1284
- _chunkPQKD5DMTjs.printCommandEnvelope.call(void 0,
1284
+ _chunkLEREPTAEjs.printCommandEnvelope.call(void 0,
1285
1285
  {
1286
1286
  ...plan,
1287
1287
  render: {
@@ -1294,7 +1294,7 @@ async function runUpdateCommand(options, dependencies = {}) {
1294
1294
  return 0;
1295
1295
  }
1296
1296
  if (plan.kind === "source" || plan.kind === "homebrew") {
1297
- _chunkPQKD5DMTjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1297
+ _chunkLEREPTAEjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1298
1298
  return 0;
1299
1299
  }
1300
1300
  stderr.write(`Updating Deepline SDK/CLI with: ${plan.manualCommand}
@@ -1324,7 +1324,7 @@ To retry with full installer output, run: deepline skills install
1324
1324
  );
1325
1325
  }
1326
1326
  if (options.executeWithJson && options.json) {
1327
- _chunkPQKD5DMTjs.printCommandEnvelope.call(void 0,
1327
+ _chunkLEREPTAEjs.printCommandEnvelope.call(void 0,
1328
1328
  {
1329
1329
  ok: true,
1330
1330
  pinnedVersion
@@ -4,13 +4,13 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkPQKD5DMTjs = require('./chunk-PQKD5DMT.js');
8
- require('./chunk-IMLFB66A.js');
9
- require('./chunk-LPTBHNGB.js');
7
+ var _chunkLEREPTAEjs = require('./chunk-LEREPTAE.js');
8
+ require('./chunk-ISXX5DUD.js');
9
+ require('./chunk-V7DEGIYO.js');
10
10
  require('./chunk-2GJZLIKW.js');
11
11
  require('./chunk-XNYIZMNQ.js');
12
12
  require('./chunk-BBTKAASQ.js');
13
- require('./chunk-YQURGSRB.js');
13
+ require('./chunk-TZBCJHV6.js');
14
14
  require('./chunk-OG64RBAC.js');
15
15
  require('./chunk-COGTRVWW.js');
16
16
 
@@ -128,7 +128,7 @@ function renderTable(rows, totalRows, verbose, footer = `showing ${rows.length}
128
128
  column.length,
129
129
  ...rows.map((row) => {
130
130
  const value = _nullishCoalesce(row[column], () => ( ""));
131
- return (verbose ? value : _chunkPQKD5DMTjs.clip.call(void 0, value, 42)).length;
131
+ return (verbose ? value : _chunkLEREPTAEjs.clip.call(void 0, value, 42)).length;
132
132
  })
133
133
  )
134
134
  ])
@@ -138,7 +138,7 @@ function renderTable(rows, totalRows, verbose, footer = `showing ${rows.length}
138
138
  const body = rows.map(
139
139
  (row) => columns.map((column) => {
140
140
  const raw = _nullishCoalesce(row[column], () => ( ""));
141
- const display = verbose ? raw : _chunkPQKD5DMTjs.clip.call(void 0, raw, 42);
141
+ const display = verbose ? raw : _chunkLEREPTAEjs.clip.call(void 0, raw, 42);
142
142
  return display.padEnd(widths[column]);
143
143
  }).join(" | ")
144
144
  );
@@ -158,7 +158,7 @@ async function handleCsvShow(path, options, command) {
158
158
  { exitCode: 2 }
159
159
  );
160
160
  }
161
- const allRows = _chunkPQKD5DMTjs.readCsvRows.call(void 0, csvPath);
161
+ const allRows = _chunkLEREPTAEjs.readCsvRows.call(void 0, csvPath);
162
162
  const [rowStart, rowEnd] = parseRowRange(options.rows);
163
163
  const rows = options.summary && options.rows === void 0 ? allRows : selectRows(allRows, rowStart, rowEnd);
164
164
  const { rows: selected, columns } = selectColumns(
@@ -171,7 +171,7 @@ async function handleCsvShow(path, options, command) {
171
171
  if (options.summary) {
172
172
  const summaries = summarizeColumns(selected, columns);
173
173
  if (format === "json") {
174
- _chunkPQKD5DMTjs.printJson.call(void 0, {
174
+ _chunkLEREPTAEjs.printJson.call(void 0, {
175
175
  rows: summaries,
176
176
  total_rows: selected.length,
177
177
  source_total_rows: allRows.length
@@ -180,7 +180,7 @@ async function handleCsvShow(path, options, command) {
180
180
  }
181
181
  const displayRows = summaryDisplayRows(summaries);
182
182
  if (format === "csv") {
183
- process.stdout.write(_chunkPQKD5DMTjs.csvStringFromRows.call(void 0, displayRows));
183
+ process.stdout.write(_chunkLEREPTAEjs.csvStringFromRows.call(void 0, displayRows));
184
184
  return;
185
185
  }
186
186
  process.stdout.write(
@@ -195,7 +195,7 @@ async function handleCsvShow(path, options, command) {
195
195
  return;
196
196
  }
197
197
  if (format === "json") {
198
- _chunkPQKD5DMTjs.printJson.call(void 0, {
198
+ _chunkLEREPTAEjs.printJson.call(void 0, {
199
199
  rows: selected.map((row, index) => ({ __row: rowStart + index, ...row }))
200
200
  });
201
201
  return;
@@ -438,7 +438,7 @@ async function handleCsvRenderStart(options) {
438
438
  if (log) {
439
439
  detail = `
440
440
  CSV render log:
441
- ${_chunkPQKD5DMTjs.clip.call(void 0, log, 2e3)}`;
441
+ ${_chunkLEREPTAEjs.clip.call(void 0, log, 2e3)}`;
442
442
  }
443
443
  } catch (e7) {
444
444
  }
@@ -489,7 +489,7 @@ async function handleCsvRenderStatus(options) {
489
489
  if (payload.pid) lines.push(`Render PID: ${payload.pid}`);
490
490
  if (payload.url) lines.push(`Render URL: ${payload.url}`);
491
491
  lines.push(`Render Health: ${payload.health_status}`);
492
- _chunkPQKD5DMTjs.printCommandEnvelope.call(void 0, payload, {
492
+ _chunkLEREPTAEjs.printCommandEnvelope.call(void 0, payload, {
493
493
  json: options.json,
494
494
  text: `${lines.join("\n")}
495
495
  `
@@ -525,7 +525,7 @@ async function handleCsvRenderStop(options) {
525
525
  };
526
526
  const text = stopped.length > 0 ? `Stopped CSV render process(es): ${stopped.join(" ")}
527
527
  ` : "No running CSV render process found.\n";
528
- _chunkPQKD5DMTjs.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
528
+ _chunkLEREPTAEjs.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
529
529
  }
530
530
  async function handleCsvRender(action, options) {
531
531
  const normalized = _nullishCoalesce(action, () => ( "start"));
@@ -4,13 +4,13 @@ import {
4
4
  printCommandEnvelope,
5
5
  printJson,
6
6
  readCsvRows
7
- } from "./chunk-6JG3MRTM.mjs";
8
- import "./chunk-ICTA5ICE.mjs";
9
- import "./chunk-CLO562KG.mjs";
7
+ } from "./chunk-GLKUC5PO.mjs";
8
+ import "./chunk-FIRV7BXJ.mjs";
9
+ import "./chunk-G3UFDUYU.mjs";
10
10
  import "./chunk-CQBIO6HW.mjs";
11
11
  import "./chunk-DLIRSHV6.mjs";
12
12
  import "./chunk-JL2OTMSG.mjs";
13
- import "./chunk-T6GPTJ5F.mjs";
13
+ import "./chunk-E4QHTDPF.mjs";
14
14
  import "./chunk-WZYKRD7T.mjs";
15
15
  import "./chunk-KRD6H754.mjs";
16
16