deepline 0.3.560 → 0.3.561

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 (136) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +4 -1
  3. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/early-sandbox-egress.ts +57 -2
  4. package/dist/cli/auth-3NPCF7CL.js +44 -0
  5. package/dist/cli/{auth-5DIOQ3MO.mjs → auth-3WPN7C5X.mjs} +5 -5
  6. package/dist/cli/{billing-N5NS5CU6.js → billing-DOHRRK73.js} +99 -99
  7. package/dist/cli/{billing-K7EJAM55.mjs → billing-NCTL4WRP.mjs} +8 -8
  8. package/dist/cli/{chunk-ZY64JRBV.js → chunk-2YNYWHBI.js} +10 -10
  9. package/dist/cli/{chunk-Q77PM7U2.js → chunk-3CZLPUBB.js} +20 -20
  10. package/dist/cli/{chunk-FW2WRBZO.js → chunk-3VBYUQ4G.js} +9 -9
  11. package/dist/cli/{chunk-RQKCNQ5Q.mjs → chunk-42RBMROP.mjs} +2 -2
  12. package/dist/cli/{chunk-KP4B3JOT.js → chunk-4OITRR2V.js} +13 -13
  13. package/dist/cli/{chunk-4MAY2TA3.mjs → chunk-5FJGP5NZ.mjs} +2 -2
  14. package/dist/cli/{chunk-UTPANENL.js → chunk-5TWCVY3S.js} +12 -12
  15. package/dist/cli/{chunk-MCGR7NG3.js → chunk-65L4IL3E.js} +6 -6
  16. package/dist/cli/{chunk-5QMEJPN5.js → chunk-6EJOADKB.js} +8 -8
  17. package/dist/cli/{chunk-AMUMEL4C.mjs → chunk-7HGJKBNU.mjs} +1 -1
  18. package/dist/cli/{chunk-ZSDZ3Q5P.mjs → chunk-AEIRQFS3.mjs} +1 -1
  19. package/dist/cli/{chunk-5VC6K4NJ.js → chunk-AH5T5LX2.js} +26 -26
  20. package/dist/cli/{chunk-V7OFUYMO.mjs → chunk-BIIKWKTD.mjs} +2 -2
  21. package/dist/cli/{chunk-GR5WG72L.mjs → chunk-CCRGOHC2.mjs} +2 -2
  22. package/dist/cli/{chunk-E76MM3SC.js → chunk-CUU5CL3V.js} +20 -20
  23. package/dist/cli/{chunk-V7ZOAXZ4.js → chunk-DSOQL4ZF.js} +23 -23
  24. package/dist/cli/{chunk-BQ2Z6PSE.mjs → chunk-EAU5JJXS.mjs} +5 -5
  25. package/dist/cli/{chunk-CQJMFUMK.mjs → chunk-EN36QYE7.mjs} +1 -1
  26. package/dist/cli/{chunk-YDWFE7MX.js → chunk-F5XQN6PU.js} +2 -2
  27. package/dist/cli/{chunk-GKONGPVW.mjs → chunk-GCBXXN4P.mjs} +5 -5
  28. package/dist/cli/{chunk-XLM7L4UY.mjs → chunk-GITMBBDH.mjs} +1 -1
  29. package/dist/cli/{chunk-JHS7WKRS.mjs → chunk-GPGNBG3E.mjs} +3 -3
  30. package/dist/cli/{chunk-4PBYS3PS.mjs → chunk-HLWNMRSF.mjs} +1 -1
  31. package/dist/cli/{chunk-BW4NVW5T.js → chunk-HSRYGNCA.js} +3 -3
  32. package/dist/cli/{chunk-NNKZ4JYP.mjs → chunk-I4FFGMIQ.mjs} +5 -5
  33. package/dist/cli/{chunk-OS3FDGKX.mjs → chunk-IEVV72X5.mjs} +4 -4
  34. package/dist/cli/{chunk-G33LSF4T.mjs → chunk-JKBSEUFN.mjs} +2 -2
  35. package/dist/cli/{chunk-GTRGJITW.mjs → chunk-JNI4353Z.mjs} +11 -11
  36. package/dist/cli/{chunk-WOZKGI6H.mjs → chunk-JRQDDQLZ.mjs} +1 -1
  37. package/dist/cli/{chunk-MBLPUJ5I.js → chunk-JV3WBT3X.js} +5 -5
  38. package/dist/cli/{chunk-4CQ7LVRT.js → chunk-K72PGYSH.js} +48 -48
  39. package/dist/cli/{chunk-ZJJUVUP6.mjs → chunk-LRQZ2XO5.mjs} +2 -2
  40. package/dist/cli/{chunk-ZXB2Y3SG.js → chunk-M4ZL2H5B.js} +4 -4
  41. package/dist/cli/{chunk-F5CZ3Q2I.mjs → chunk-MTD7OXGL.mjs} +1 -1
  42. package/dist/cli/{chunk-24GZT76F.js → chunk-NGIQXZIE.js} +7 -7
  43. package/dist/cli/{chunk-SCM6BR4Q.mjs → chunk-O5TXP65R.mjs} +1 -1
  44. package/dist/cli/{chunk-UI7BBF2O.mjs → chunk-OBQOFQX2.mjs} +5 -5
  45. package/dist/cli/{chunk-JYT6P2M2.js → chunk-OML66OOS.js} +2 -2
  46. package/dist/cli/{chunk-Z4FWF237.js → chunk-OTOID2SE.js} +15 -15
  47. package/dist/cli/{chunk-Y5CZWGO4.js → chunk-PLQ4OMYO.js} +1 -1
  48. package/dist/cli/{chunk-A4X2O75M.mjs → chunk-PQLQ2YV7.mjs} +2 -2
  49. package/dist/cli/{chunk-I7CQJ7JP.js → chunk-PSXPGRZK.js} +2 -2
  50. package/dist/cli/{chunk-A62A73U6.mjs → chunk-QO5MVJWJ.mjs} +3 -3
  51. package/dist/cli/{chunk-4GRIMNDO.js → chunk-RSFBTSJZ.js} +41 -41
  52. package/dist/cli/{chunk-DOAD7ZCA.mjs → chunk-S4WTJQEJ.mjs} +1 -1
  53. package/dist/cli/{chunk-5XMABMQU.mjs → chunk-SBUFCQ3W.mjs} +2 -2
  54. package/dist/cli/{chunk-JQDVX3D4.mjs → chunk-T5WVODJY.mjs} +4 -4
  55. package/dist/cli/{chunk-7ZE6DF6B.js → chunk-X6IDT5II.js} +3 -3
  56. package/dist/cli/{chunk-CQS5E6D2.js → chunk-XDTI5HF7.js} +100 -100
  57. package/dist/cli/{chunk-OPT36HX4.js → chunk-XFEBBBYA.js} +53 -53
  58. package/dist/cli/{chunk-TE2NSUT5.js → chunk-XKYNEKG2.js} +5 -5
  59. package/dist/cli/{chunk-LMY7CGI7.js → chunk-ZFTQYCMB.js} +5 -5
  60. package/dist/cli/concurrent-runs-help-HWDISMIC.js +22 -0
  61. package/dist/cli/{concurrent-runs-help-TCB2EKTR.mjs → concurrent-runs-help-YGCPBET7.mjs} +6 -6
  62. package/dist/cli/{csv-R45YJYUO.mjs → csv-FWL7B2BV.mjs} +4 -4
  63. package/dist/cli/{csv-DWC44DLD.js → csv-QEDNA7FG.js} +13 -13
  64. package/dist/cli/{db-XZXNKW7B.mjs → db-RJEX3BRW.mjs} +6 -6
  65. package/dist/cli/{db-XIN3KF47.js → db-SRNS2IET.js} +27 -27
  66. package/dist/cli/{describe-6KSAHJBD.mjs → describe-N7EFSCTT.mjs} +18 -18
  67. package/dist/cli/describe-OHO4OETQ.js +50 -0
  68. package/dist/cli/{executions-C3UZLR7Y.js → executions-FVZYM5X7.js} +8 -8
  69. package/dist/cli/{executions-RSPQRWYL.mjs → executions-UIB2VWM3.mjs} +6 -6
  70. package/dist/cli/{feedback-7RCSKLW4.mjs → feedback-2UFZ73PJ.mjs} +6 -6
  71. package/dist/cli/{feedback-A7WP67XL.js → feedback-4DPMGP54.js} +14 -14
  72. package/dist/cli/git-6AKXBYB7.js +26 -0
  73. package/dist/cli/{git-JE6TFEK4.mjs → git-LBADM335.mjs} +5 -5
  74. package/dist/cli/index.js +143 -143
  75. package/dist/cli/index.mjs +45 -45
  76. package/dist/cli/{integrations-DEU3ZW5P.mjs → integrations-2MLNXLEQ.mjs} +7 -7
  77. package/dist/cli/{integrations-L2D3EY3H.js → integrations-YNXYTLOA.js} +20 -20
  78. package/dist/cli/{legacy-noops-AHTEO6EF.js → legacy-noops-KZ4TWNLG.js} +9 -9
  79. package/dist/cli/{legacy-noops-TL5PBCVQ.mjs → legacy-noops-MLULOC4E.mjs} +6 -6
  80. package/dist/cli/{mcp-KXR7YJEG.js → mcp-B3KGTSQW.js} +24 -24
  81. package/dist/cli/{mcp-PVRF5CGK.mjs → mcp-LBP6ZNGI.mjs} +4 -4
  82. package/dist/cli/{monitors-YHF6RQGU.js → monitors-7OB3JGLF.js} +100 -100
  83. package/dist/cli/{monitors-BMGSROH3.mjs → monitors-IUJPNNJJ.mjs} +7 -7
  84. package/dist/cli/{org-OO6LQPS6.mjs → org-4BJVKLJ4.mjs} +6 -6
  85. package/dist/cli/{org-IQJO6DJ7.js → org-ZETP5SLA.js} +121 -121
  86. package/dist/cli/{outcomes-6QO6NEKO.mjs → outcomes-4IH5QXAA.mjs} +6 -6
  87. package/dist/cli/{outcomes-NAEAOCNT.js → outcomes-XZLWT7OK.js} +14 -14
  88. package/dist/cli/{play-TYIBTW4E.js → play-KMXUSZ3W.js} +324 -324
  89. package/dist/cli/{play-MZQSOYVV.mjs → play-QGYAHOX6.mjs} +19 -19
  90. package/dist/cli/{providers-JDSSPMWH.js → providers-A4FNCWOJ.js} +9 -9
  91. package/dist/cli/{providers-JR4OWXRX.mjs → providers-LXMG2WMM.mjs} +6 -6
  92. package/dist/cli/{quickstart-JBX6BKGZ.mjs → quickstart-3L4ZMV5Y.mjs} +4 -4
  93. package/dist/cli/{quickstart-T363ASLH.js → quickstart-BRN25JX5.js} +6 -6
  94. package/dist/cli/{run-J3KWBIXA.js → run-36GX6EWC.js} +44 -44
  95. package/dist/cli/{run-6PWTGRJI.mjs → run-P3WFKNPE.mjs} +23 -23
  96. package/dist/cli/search-EEJ2VPS3.js +32 -0
  97. package/dist/cli/{search-XQG7UXAE.mjs → search-SEQFDQKQ.mjs} +7 -7
  98. package/dist/cli/{search-output-DNONJFPF.mjs → search-output-I5U5EI75.mjs} +4 -4
  99. package/dist/cli/{search-output-YZYLNDU6.js → search-output-Y32YHSQ3.js} +6 -6
  100. package/dist/cli/{secrets-SCKPXIT7.js → secrets-DH46W2VF.js} +15 -15
  101. package/dist/cli/{secrets-MR7VXG74.mjs → secrets-OIXJK4E4.mjs} +6 -6
  102. package/dist/cli/{sessions-MPIJTGWQ.mjs → sessions-OADAVWXU.mjs} +6 -6
  103. package/dist/cli/sessions-UJVLZK2H.js +23 -0
  104. package/dist/cli/{settings-Y5NW74ER.mjs → settings-2N5IJ7CZ.mjs} +12 -12
  105. package/dist/cli/{settings-YPKR5JFF.js → settings-DNJBXD5N.js} +85 -85
  106. package/dist/cli/{setup-5RJCLRZI.mjs → setup-5LLJ77BQ.mjs} +9 -9
  107. package/dist/cli/{setup-673Q3LGR.js → setup-KKZXSKN6.js} +49 -49
  108. package/dist/cli/skills-HRGWKTL6.js +37 -0
  109. package/dist/cli/{skills-2QVBD4LD.mjs → skills-U76N7CTT.mjs} +7 -7
  110. package/dist/cli/{tools-627KG34F.mjs → tools-4US4UIIT.mjs} +17 -17
  111. package/dist/cli/tools-RTNCLQEP.js +57 -0
  112. package/dist/cli/{update-535TTARD.mjs → update-AH44HYX7.mjs} +9 -9
  113. package/dist/cli/update-YY5PZGYJ.js +37 -0
  114. package/dist/cli/{views-FQNWZUWB.js → views-HOCGYKC5.js} +21 -21
  115. package/dist/cli/{views-3M24ZTXA.mjs → views-YJAFUL2K.mjs} +6 -6
  116. package/dist/cli/{workflow-CN46XZPG.mjs → workflow-UCVXUIRX.mjs} +7 -7
  117. package/dist/cli/{workflow-H6F7WAOE.js → workflow-ZNP5BLMJ.js} +17 -17
  118. package/dist/index.js +9 -9
  119. package/dist/index.mjs +6 -6
  120. package/dist/install-integrity.json +112 -112
  121. package/dist/release.d.mts +1 -1
  122. package/dist/release.d.ts +1 -1
  123. package/dist/release.js +2 -2
  124. package/dist/release.mjs +1 -1
  125. package/dist/server.js +5 -5
  126. package/dist/server.mjs +3 -3
  127. package/package.json +1 -1
  128. package/dist/cli/auth-R2S7KYAA.js +0 -44
  129. package/dist/cli/concurrent-runs-help-TKAZVMA4.js +0 -22
  130. package/dist/cli/describe-WLRAQDYC.js +0 -50
  131. package/dist/cli/git-E6XV5MEY.js +0 -26
  132. package/dist/cli/search-DPVHT5MJ.js +0 -32
  133. package/dist/cli/sessions-VNWLXJR2.js +0 -23
  134. package/dist/cli/skills-YGFFPGCR.js +0 -37
  135. package/dist/cli/tools-2BC7K3ZU.js +0 -57
  136. package/dist/cli/update-HWEOSPDS.js +0 -37
@@ -37,7 +37,7 @@ var _chunkPMH4GLMDjs = require('./chunk-PMH4GLMD.js');
37
37
 
38
38
 
39
39
 
40
- var _chunkZXB2Y3SGjs = require('./chunk-ZXB2Y3SG.js');
40
+ var _chunkM4ZL2H5Bjs = require('./chunk-M4ZL2H5B.js');
41
41
 
42
42
 
43
43
  var _chunk6VLFQZK6js = require('./chunk-6VLFQZK6.js');
@@ -844,7 +844,7 @@ var ToolCalls = class {
844
844
  idempotencyKey,
845
845
  onResponse: (response2) => {
846
846
  lastResponse = null;
847
- atomicToolsSupported = response2.headers.get(_chunkZXB2Y3SGjs.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
847
+ atomicToolsSupported = response2.headers.get(_chunkM4ZL2H5Bjs.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
848
848
  recoverySupported = response2.headers.get("X-Deepline-Idempotency-Supported") === "true";
849
849
  if (_optionalChain([options, 'optionalAccess', _38 => _38.onServerTiming])) {
850
850
  try {
@@ -1231,15 +1231,15 @@ function runtimeSelectionHeaders(runtime, env) {
1231
1231
  }
1232
1232
  const receivers = _optionalChain([env, 'access', _63 => _63.DEEPLINE_RUNTIME_RETAINED_PIPELINE_RECEIVERS, 'optionalAccess', _64 => _64.trim, 'call', _65 => _65()]);
1233
1233
  return {
1234
- [_chunkZXB2Y3SGjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1235
- ...receivers ? { [_chunkZXB2Y3SGjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1234
+ [_chunkM4ZL2H5Bjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1235
+ ...receivers ? { [_chunkM4ZL2H5Bjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1236
1236
  };
1237
1237
  }
1238
1238
  function playRunStartHeaders(runtime, env) {
1239
1239
  const headers = runtimeSelectionHeaders(runtime, env);
1240
1240
  const experimentSwitches = _optionalChain([env, 'access', _66 => _66.DEEPLINE_EXPERIMENT_SWITCHES, 'optionalAccess', _67 => _67.trim, 'call', _68 => _68()]);
1241
1241
  if (!experimentSwitches) return headers;
1242
- return { ...headers, [_chunkZXB2Y3SGjs.EXPERIMENT_SWITCHES_HEADER]: experimentSwitches };
1242
+ return { ...headers, [_chunkM4ZL2H5Bjs.EXPERIMENT_SWITCHES_HEADER]: experimentSwitches };
1243
1243
  }
1244
1244
  function normalizeTestPolicyOverrides(value, source) {
1245
1245
  if (value && typeof value === "object" && !Array.isArray(value)) {
@@ -1309,7 +1309,7 @@ var PlayClient = class {
1309
1309
  return _chunkMJTVX4QKjs.startPlayRun.call(void 0,
1310
1310
  this.http,
1311
1311
  resolved.request,
1312
- _optionalChain([options, 'optionalAccess', _76 => _76.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunkZXB2Y3SGjs.SDK_API_MAJOR) } : headers,
1312
+ _optionalChain([options, 'optionalAccess', _76 => _76.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunkM4ZL2H5Bjs.SDK_API_MAJOR) } : headers,
1313
1313
  options
1314
1314
  );
1315
1315
  }
@@ -3427,7 +3427,7 @@ function isolatedCiRuntimeEventReadHeaders(env) {
3427
3427
  "RUNTIME_EVENT_INTERNAL_TOKEN_REQUIRED"
3428
3428
  );
3429
3429
  }
3430
- return { [_chunkZXB2Y3SGjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3430
+ return { [_chunkM4ZL2H5Bjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3431
3431
  }
3432
3432
  function sleep(ms) {
3433
3433
  return new Promise((resolve) => setTimeout(resolve, ms));
@@ -4363,7 +4363,7 @@ var DeeplineClient = (_class = class _DeeplineClient {
4363
4363
  );
4364
4364
  const headers = _optionalChain([options, 'optionalAccess', _200 => _200.cliAdmission]) ? {
4365
4365
  ...runtimeHeaders,
4366
- "X-Deepline-API-Major": String(_chunkZXB2Y3SGjs.SDK_API_MAJOR)
4366
+ "X-Deepline-API-Major": String(_chunkM4ZL2H5Bjs.SDK_API_MAJOR)
4367
4367
  } : runtimeHeaders;
4368
4368
  const http = this.http;
4369
4369
  let submitted = false;
@@ -21,7 +21,7 @@ import {
21
21
  } from "./chunk-2MGZAI54.mjs";
22
22
  import {
23
23
  SDK_RELEASE
24
- } from "./chunk-XLM7L4UY.mjs";
24
+ } from "./chunk-GITMBBDH.mjs";
25
25
 
26
26
  // src/version.ts
27
27
  var SDK_VERSION = SDK_RELEASE.version;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveShellSpawn
3
- } from "./chunk-BQ2Z6PSE.mjs";
3
+ } from "./chunk-EAU5JJXS.mjs";
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  import { spawnSync } from "child_process";
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkE76MM3SCjs = require('./chunk-E76MM3SC.js');
5
+ var _chunkCUU5CL3Vjs = require('./chunk-CUU5CL3V.js');
6
6
 
7
7
 
8
- var _chunk7ZE6DF6Bjs = require('./chunk-7ZE6DF6B.js');
8
+ var _chunkX6IDT5IIjs = require('./chunk-X6IDT5II.js');
9
9
 
10
10
  // src/cli/commands/git.ts
11
11
  function shellQuote(value) {
@@ -32,11 +32,11 @@ function renderDeployment(deployment) {
32
32
  return `${deployment.id} ${source} (${kind}) - ${deployment.status}${suffix}`;
33
33
  }
34
34
  async function handleList(options) {
35
- const { http } = _chunkE76MM3SCjs.getAuthedHttpClient.call(void 0, );
35
+ const { http } = _chunkCUU5CL3Vjs.getAuthedHttpClient.call(void 0, );
36
36
  const payload = await http.get(
37
37
  `/api/v2/play-projects${options.all ? "?includeDisabled=1" : ""}`
38
38
  );
39
- _chunkE76MM3SCjs.printCommandEnvelope.call(void 0,
39
+ _chunkCUU5CL3Vjs.printCommandEnvelope.call(void 0,
40
40
  {
41
41
  projects: payload.projects,
42
42
  count: payload.projects.length,
@@ -73,7 +73,7 @@ function describeInstallationStatus(installation) {
73
73
  }
74
74
  }
75
75
  async function handleStatus(options) {
76
- const { http } = _chunkE76MM3SCjs.getAuthedHttpClient.call(void 0, );
76
+ const { http } = _chunkCUU5CL3Vjs.getAuthedHttpClient.call(void 0, );
77
77
  const payload = await http.get("/api/v2/github/installation");
78
78
  const installation = payload.installation;
79
79
  const others = (_nullishCoalesce(payload.installations, () => ( []))).filter(
@@ -136,7 +136,7 @@ async function handleStatus(options) {
136
136
  )
137
137
  );
138
138
  }
139
- _chunkE76MM3SCjs.printCommandEnvelope.call(void 0,
139
+ _chunkCUU5CL3Vjs.printCommandEnvelope.call(void 0,
140
140
  {
141
141
  installation,
142
142
  installations: _nullishCoalesce(payload.installations, () => ( [])),
@@ -147,10 +147,10 @@ async function handleStatus(options) {
147
147
  );
148
148
  }
149
149
  async function handleRepos(options) {
150
- const { http } = _chunkE76MM3SCjs.getAuthedHttpClient.call(void 0, );
150
+ const { http } = _chunkCUU5CL3Vjs.getAuthedHttpClient.call(void 0, );
151
151
  const query = options.installation ? `?installationId=${encodeURIComponent(options.installation)}` : "";
152
152
  const payload = await http.get(`/api/v2/github/repos${query}`);
153
- _chunkE76MM3SCjs.printCommandEnvelope.call(void 0,
153
+ _chunkCUU5CL3Vjs.printCommandEnvelope.call(void 0,
154
154
  {
155
155
  installation: payload.installation,
156
156
  repositories: payload.repositories,
@@ -171,7 +171,7 @@ async function handleRepos(options) {
171
171
  }
172
172
  async function resolveRepoId(repo, installation) {
173
173
  if (/^\d+$/.test(repo)) return Number(repo);
174
- const { http } = _chunkE76MM3SCjs.getAuthedHttpClient.call(void 0, );
174
+ const { http } = _chunkCUU5CL3Vjs.getAuthedHttpClient.call(void 0, );
175
175
  const query = installation ? `?installationId=${encodeURIComponent(installation)}` : "";
176
176
  const payload = await http.get(
177
177
  `/api/v2/github/repos${query}`
@@ -188,7 +188,7 @@ async function resolveRepoId(repo, installation) {
188
188
  }
189
189
  async function handleLink(repo, options) {
190
190
  const repoId = await resolveRepoId(repo, options.installation);
191
- const { http } = _chunkE76MM3SCjs.getAuthedHttpClient.call(void 0, );
191
+ const { http } = _chunkCUU5CL3Vjs.getAuthedHttpClient.call(void 0, );
192
192
  const payload = await http.post("/api/v2/play-projects", {
193
193
  repoId,
194
194
  ...options.installation !== void 0 ? { installationId: options.installation } : {},
@@ -197,7 +197,7 @@ async function handleLink(repo, options) {
197
197
  ...options.branch !== void 0 ? { productionBranch: options.branch } : {},
198
198
  ...options.prChecks !== void 0 ? { checkOnPullRequest: options.prChecks } : {}
199
199
  });
200
- _chunkE76MM3SCjs.printCommandEnvelope.call(void 0,
200
+ _chunkCUU5CL3Vjs.printCommandEnvelope.call(void 0,
201
201
  {
202
202
  project: payload.project,
203
203
  render: {
@@ -220,11 +220,11 @@ async function handleLink(repo, options) {
220
220
  );
221
221
  }
222
222
  async function handleGet(id, options) {
223
- const { http } = _chunkE76MM3SCjs.getAuthedHttpClient.call(void 0, );
223
+ const { http } = _chunkCUU5CL3Vjs.getAuthedHttpClient.call(void 0, );
224
224
  const payload = await http.get(
225
225
  `/api/v2/play-projects/${encodeURIComponent(id)}`
226
226
  );
227
- _chunkE76MM3SCjs.printCommandEnvelope.call(void 0,
227
+ _chunkCUU5CL3Vjs.printCommandEnvelope.call(void 0,
228
228
  {
229
229
  project: payload.project,
230
230
  render: {
@@ -240,7 +240,7 @@ async function handleGet(id, options) {
240
240
  );
241
241
  }
242
242
  async function handleSet(id, options) {
243
- const { http } = _chunkE76MM3SCjs.getAuthedHttpClient.call(void 0, );
243
+ const { http } = _chunkCUU5CL3Vjs.getAuthedHttpClient.call(void 0, );
244
244
  const payload = await http.patch(
245
245
  `/api/v2/play-projects/${encodeURIComponent(id)}`,
246
246
  {
@@ -251,7 +251,7 @@ async function handleSet(id, options) {
251
251
  ...options.disabled !== void 0 ? { disabled: options.disabled } : {}
252
252
  }
253
253
  );
254
- _chunkE76MM3SCjs.printCommandEnvelope.call(void 0,
254
+ _chunkCUU5CL3Vjs.printCommandEnvelope.call(void 0,
255
255
  {
256
256
  project: payload.project,
257
257
  render: {
@@ -264,9 +264,9 @@ async function handleSet(id, options) {
264
264
  );
265
265
  }
266
266
  async function handleUnlink(id, options) {
267
- const { http } = _chunkE76MM3SCjs.getAuthedHttpClient.call(void 0, );
267
+ const { http } = _chunkCUU5CL3Vjs.getAuthedHttpClient.call(void 0, );
268
268
  await http.delete(`/api/v2/play-projects/${encodeURIComponent(id)}`);
269
- _chunkE76MM3SCjs.printCommandEnvelope.call(void 0,
269
+ _chunkCUU5CL3Vjs.printCommandEnvelope.call(void 0,
270
270
  {
271
271
  ok: true,
272
272
  id,
@@ -286,10 +286,10 @@ async function handleUnlink(id, options) {
286
286
  );
287
287
  }
288
288
  async function handleConnect(options) {
289
- const baseUrl = _chunk7ZE6DF6Bjs.resolveBaseUrlOnly.call(void 0, );
289
+ const baseUrl = _chunkX6IDT5IIjs.resolveBaseUrlOnly.call(void 0, );
290
290
  const connectUrl = `${baseUrl.replace(/\/$/, "")}/api/v2/github/connect`;
291
- const opened = _chunkE76MM3SCjs.openInBrowser.call(void 0, connectUrl);
292
- _chunkE76MM3SCjs.printCommandEnvelope.call(void 0,
291
+ const opened = _chunkCUU5CL3Vjs.openInBrowser.call(void 0, connectUrl);
292
+ _chunkCUU5CL3Vjs.printCommandEnvelope.call(void 0,
293
293
  {
294
294
  connectUrl,
295
295
  browser: opened,
@@ -311,7 +311,7 @@ async function handleConnect(options) {
311
311
  );
312
312
  }
313
313
  async function handleDeploymentsList(options) {
314
- const { http } = _chunkE76MM3SCjs.getAuthedHttpClient.call(void 0, );
314
+ const { http } = _chunkCUU5CL3Vjs.getAuthedHttpClient.call(void 0, );
315
315
  const query = new URLSearchParams();
316
316
  if (options.repo) query.set("projectId", options.repo);
317
317
  if (options.limit) query.set("limit", options.limit);
@@ -319,7 +319,7 @@ async function handleDeploymentsList(options) {
319
319
  const payload = await http.get(
320
320
  `/api/v2/deployments${suffix}`
321
321
  );
322
- _chunkE76MM3SCjs.printCommandEnvelope.call(void 0,
322
+ _chunkCUU5CL3Vjs.printCommandEnvelope.call(void 0,
323
323
  {
324
324
  deployments: payload.deployments,
325
325
  count: payload.deployments.length,
@@ -363,12 +363,12 @@ function renderDeploymentMonitorLines(results) {
363
363
  ]);
364
364
  }
365
365
  async function handleDeploymentGet(id, options) {
366
- const { http } = _chunkE76MM3SCjs.getAuthedHttpClient.call(void 0, );
366
+ const { http } = _chunkCUU5CL3Vjs.getAuthedHttpClient.call(void 0, );
367
367
  const payload = await http.get(`/api/v2/deployments/${encodeURIComponent(id)}`);
368
368
  const playLines = renderDeploymentPlayLines(payload.deployment.results);
369
369
  const monitorLines = renderDeploymentMonitorLines(payload.deployment.results);
370
370
  const repository = _nullishCoalesce(_optionalChain([payload, 'access', _10 => _10.project, 'optionalAccess', _11 => _11.repoFullName]), () => ( payload.deployment.repoFullName));
371
- _chunkE76MM3SCjs.printCommandEnvelope.call(void 0,
371
+ _chunkCUU5CL3Vjs.printCommandEnvelope.call(void 0,
372
372
  {
373
373
  deployment: payload.deployment,
374
374
  project: payload.project,
@@ -387,9 +387,9 @@ async function handleDeploymentGet(id, options) {
387
387
  );
388
388
  }
389
389
  async function handleDeploymentCancel(id, options) {
390
- const { http } = _chunkE76MM3SCjs.getAuthedHttpClient.call(void 0, );
390
+ const { http } = _chunkCUU5CL3Vjs.getAuthedHttpClient.call(void 0, );
391
391
  const payload = await http.post(`/api/v2/deployments/${encodeURIComponent(id)}/cancel`, {});
392
- _chunkE76MM3SCjs.printCommandEnvelope.call(void 0,
392
+ _chunkCUU5CL3Vjs.printCommandEnvelope.call(void 0,
393
393
  {
394
394
  cancelled: payload.cancelled,
395
395
  deployment: payload.deployment,
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  httpJson
3
- } from "./chunk-JHS7WKRS.mjs";
3
+ } from "./chunk-GPGNBG3E.mjs";
4
4
  import {
5
5
  PRICING_PAGE_NOTE
6
6
  } from "./chunk-2RIKOPIM.mjs";
7
7
  import {
8
8
  autoDetectBaseUrl,
9
9
  resolveApiKeyForBaseUrl
10
- } from "./chunk-CQJMFUMK.mjs";
10
+ } from "./chunk-EN36QYE7.mjs";
11
11
 
12
12
  // src/cli/concurrent-runs-help.ts
13
13
  var CONCURRENT_RUNS_HELP_COMMANDS = /* @__PURE__ */ new Set([
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-MF7PCM6C.mjs";
4
4
  import {
5
5
  parseLogLevel
6
- } from "./chunk-F5CZ3Q2I.mjs";
6
+ } from "./chunk-MTD7OXGL.mjs";
7
7
  import {
8
8
  setDottedInputValue
9
9
  } from "./chunk-5TYLSS4Q.mjs";
@@ -11,7 +11,7 @@ import {
11
11
  argsWantJson,
12
12
  jsonFieldArgs,
13
13
  parseJsonFields
14
- } from "./chunk-G33LSF4T.mjs";
14
+ } from "./chunk-JKBSEUFN.mjs";
15
15
  import {
16
16
  DeeplineError
17
17
  } from "./chunk-Z3A2S3QM.mjs";
@@ -4,14 +4,14 @@
4
4
 
5
5
 
6
6
 
7
- var _chunk7ZE6DF6Bjs = require('./chunk-7ZE6DF6B.js');
7
+ var _chunkX6IDT5IIjs = require('./chunk-X6IDT5II.js');
8
8
 
9
9
 
10
10
 
11
11
 
12
12
 
13
13
 
14
- var _chunkZXB2Y3SGjs = require('./chunk-ZXB2Y3SG.js');
14
+ var _chunkM4ZL2H5Bjs = require('./chunk-M4ZL2H5B.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: _chunkZXB2Y3SGjs.detectAgentRuntime.call(void 0, )
334
+ agent_runtime: _chunkM4ZL2H5Bjs.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 = _chunkZXB2Y3SGjs.agentSessionIdFromEnvironment.call(void 0, );
355
+ const agentSessionId = _chunkM4ZL2H5Bjs.agentSessionIdFromEnvironment.call(void 0, );
356
356
  return {
357
- ..._chunkZXB2Y3SGjs.deploymentProtectionHeaders.call(void 0, ),
357
+ ..._chunkM4ZL2H5Bjs.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/${_chunkZXB2Y3SGjs.SDK_VERSION}`,
361
+ "User-Agent": `deepline-ts-sdk/${_chunkM4ZL2H5Bjs.SDK_VERSION}`,
362
362
  "X-Deepline-Client-Family": "sdk",
363
363
  "X-Deepline-CLI-Family": "sdk",
364
- "X-Deepline-Agent-Runtime": _chunkZXB2Y3SGjs.detectAgentRuntime.call(void 0, ),
365
- "X-Deepline-CLI-Version": _chunkZXB2Y3SGjs.SDK_VERSION,
366
- "X-Deepline-SDK-Version": _chunkZXB2Y3SGjs.SDK_VERSION
364
+ "X-Deepline-Agent-Runtime": _chunkM4ZL2H5Bjs.detectAgentRuntime.call(void 0, ),
365
+ "X-Deepline-CLI-Version": _chunkM4ZL2H5Bjs.SDK_VERSION,
366
+ "X-Deepline-SDK-Version": _chunkM4ZL2H5Bjs.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 = _chunk7ZE6DF6Bjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
394
+ apiKey = _chunkX6IDT5IIjs.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: _chunkZXB2Y3SGjs.SDK_VERSION,
421
+ cli_version: _chunkM4ZL2H5Bjs.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: _chunkZXB2Y3SGjs.SDK_VERSION,
541
+ cli_version: _chunkM4ZL2H5Bjs.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 = _chunk7ZE6DF6Bjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
562
- const apiKey = _chunk7ZE6DF6Bjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
561
+ const baseUrl = _chunkX6IDT5IIjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
562
+ const apiKey = _chunkX6IDT5IIjs.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 = _chunk7ZE6DF6Bjs.resolveConfig.call(void 0, );
918
- return { config, http: new (0, _chunk7ZE6DF6Bjs.HttpClient)(config) };
917
+ const config = _chunkX6IDT5IIjs.resolveConfig.call(void 0, );
918
+ return { config, http: new (0, _chunkX6IDT5IIjs.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: _chunkZXB2Y3SGjs.detectAgentRuntime.call(void 0, )
1259
+ agent_runtime: _chunkM4ZL2H5Bjs.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 _chunkZXB2Y3SGjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
1506
+ return _chunkM4ZL2H5Bjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
1507
1507
  ...valueRecord,
1508
- command_context: _chunk7ZE6DF6Bjs.resolveCliCommandContext.call(void 0, )
1508
+ command_context: _chunkX6IDT5IIjs.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, _chunkZXB2Y3SGjs.readToolFailureHint.call(void 0, error));
1680
+ const retry = cliRetryGuidance(payloadError, _chunkM4ZL2H5Bjs.readToolFailureHint.call(void 0, error));
1681
1681
  return {
1682
1682
  ok: false,
1683
1683
  status: "failed",
@@ -4,22 +4,22 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkQ77PM7U2js = require('./chunk-Q77PM7U2.js');
7
+ var _chunk3CZLPUBBjs = require('./chunk-3CZLPUBB.js');
8
8
 
9
9
 
10
10
 
11
11
 
12
- var _chunk4CQ7LVRTjs = require('./chunk-4CQ7LVRT.js');
12
+ var _chunkK72PGYSHjs = require('./chunk-K72PGYSH.js');
13
13
 
14
14
 
15
15
 
16
- var _chunkE76MM3SCjs = require('./chunk-E76MM3SC.js');
16
+ var _chunkCUU5CL3Vjs = require('./chunk-CUU5CL3V.js');
17
17
 
18
18
 
19
- var _chunk7ZE6DF6Bjs = require('./chunk-7ZE6DF6B.js');
19
+ var _chunkX6IDT5IIjs = require('./chunk-X6IDT5II.js');
20
20
 
21
21
 
22
- var _chunkZXB2Y3SGjs = require('./chunk-ZXB2Y3SG.js');
22
+ var _chunkM4ZL2H5Bjs = require('./chunk-M4ZL2H5B.js');
23
23
 
24
24
  // src/cli/compatibility-catalog.ts
25
25
  var readers = /* @__PURE__ */ new WeakMap();
@@ -46,7 +46,7 @@ function trustedAutoUpdateRegistryUrl(baseUrl) {
46
46
  async function reportAutoUpdateEvent(input) {
47
47
  let apiKey = "";
48
48
  try {
49
- apiKey = _chunk7ZE6DF6Bjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
49
+ apiKey = _chunkX6IDT5IIjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
50
50
  } catch (e2) {
51
51
  return;
52
52
  }
@@ -62,15 +62,15 @@ async function reportAutoUpdateEvent(input) {
62
62
  headers: {
63
63
  Authorization: `Bearer ${apiKey}`,
64
64
  "Content-Type": "application/json",
65
- "User-Agent": `deepline-ts-sdk/${_chunkZXB2Y3SGjs.SDK_VERSION}`,
65
+ "User-Agent": `deepline-ts-sdk/${_chunkM4ZL2H5Bjs.SDK_VERSION}`,
66
66
  "X-Deepline-Client-Family": "sdk",
67
67
  "X-Deepline-CLI-Family": "sdk",
68
- "X-Deepline-CLI-Version": _chunkZXB2Y3SGjs.SDK_VERSION,
69
- "X-Deepline-SDK-Version": _chunkZXB2Y3SGjs.SDK_VERSION
68
+ "X-Deepline-CLI-Version": _chunkM4ZL2H5Bjs.SDK_VERSION,
69
+ "X-Deepline-SDK-Version": _chunkM4ZL2H5Bjs.SDK_VERSION
70
70
  },
71
71
  body: JSON.stringify({
72
72
  event: input.event,
73
- current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkZXB2Y3SGjs.SDK_VERSION,
73
+ current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkM4ZL2H5Bjs.SDK_VERSION,
74
74
  target_version: input.response.latest,
75
75
  reason: _optionalChain([input, 'access', _8 => _8.response, 'access', _9 => _9.auto_update, 'optionalAccess', _10 => _10.reason]),
76
76
  command: _nullishCoalesce(input.response.command, () => ( null)),
@@ -89,19 +89,19 @@ function envTruthy(name) {
89
89
  return value === "1" || value === "true" || value === "yes";
90
90
  }
91
91
  function shouldSkipSelfUpdate(policy) {
92
- return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunkQ77PM7U2js.shouldRunCliAutoUpdate.call(void 0, ) || _chunk4CQ7LVRTjs.isCiEnvironment.call(void 0, );
92
+ return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunk3CZLPUBBjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkK72PGYSHjs.isCiEnvironment.call(void 0, );
93
93
  }
94
94
  function isDowngradeAutoUpdateResponse(response) {
95
95
  const target = _optionalChain([response, 'optionalAccess', _17 => _17.latest, 'optionalAccess', _18 => _18.trim, 'call', _19 => _19()]);
96
- const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunkZXB2Y3SGjs.SDK_VERSION;
96
+ const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunkM4ZL2H5Bjs.SDK_VERSION;
97
97
  if (!target) return false;
98
- return _chunkQ77PM7U2js.compareUpdateVersions.call(void 0, target, current) < 0;
98
+ return _chunk3CZLPUBBjs.compareUpdateVersions.call(void 0, target, current) < 0;
99
99
  }
100
100
  function relaunchCurrentCommand(plan, runtime = {}) {
101
101
  return new Promise((resolve) => {
102
102
  const argv = _nullishCoalesce(runtime.argv, () => ( process.argv));
103
103
  const platform = _nullishCoalesce(runtime.platform, () => ( process.platform));
104
- const launch = plan.kind === "python-sidecar" ? _chunk4CQ7LVRTjs.resolveShellSpawn.call(void 0, plan.sidecarPath, argv.slice(2), platform) : {
104
+ const launch = plan.kind === "python-sidecar" ? _chunkK72PGYSHjs.resolveShellSpawn.call(void 0, plan.sidecarPath, argv.slice(2), platform) : {
105
105
  command: _nullishCoalesce(runtime.execPath, () => ( process.execPath)),
106
106
  args: argv.slice(1),
107
107
  shell: false
@@ -148,7 +148,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
148
148
  }
149
149
  if (isDowngradeAutoUpdateResponse(response)) {
150
150
  const target = response.latest;
151
- const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunkZXB2Y3SGjs.SDK_VERSION;
151
+ const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunkM4ZL2H5Bjs.SDK_VERSION;
152
152
  process.stderr.write(
153
153
  `Deepline SDK/CLI auto-update refused: server advertised older ${target} than current ${current}. Continuing without mutating the CLI.
154
154
  `
@@ -156,21 +156,21 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
156
156
  return false;
157
157
  }
158
158
  const packageSpec = response.latest ? `deepline@${response.latest}` : void 0;
159
- const plan = _chunkQ77PM7U2js.resolveUpdatePlan.call(void 0, {
159
+ const plan = _chunk3CZLPUBBjs.resolveUpdatePlan.call(void 0, {
160
160
  packageSpec,
161
161
  requireVerifiedNpmOwnership: true,
162
162
  npmFallbackRegistryUrl: trustedAutoUpdateRegistryUrl(baseUrl)
163
163
  });
164
- if (!_chunkQ77PM7U2js.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
164
+ if (!_chunk3CZLPUBBjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
165
165
  return false;
166
166
  }
167
167
  if (!autoUpdate.required && autoUpdate.reason !== "rollback_forced") {
168
168
  deferredAutoUpdate = async () => {
169
169
  await applyAutoUpdate(response, baseUrl, plan, "next_command");
170
170
  };
171
- if (_chunkE76MM3SCjs.isJsonOutputMode.call(void 0, )) {
171
+ if (_chunkCUU5CL3Vjs.isJsonOutputMode.call(void 0, )) {
172
172
  const target = _optionalChain([response, 'access', _29 => _29.latest, 'optionalAccess', _30 => _30.trim, 'call', _31 => _31()]);
173
- _chunkE76MM3SCjs.addJsonNotice.call(void 0, {
173
+ _chunkCUU5CL3Vjs.addJsonNotice.call(void 0, {
174
174
  code: "sdk_update_queued",
175
175
  message: `Deepline SDK/CLI update${target ? ` to ${target}` : ""} is queued after this command; the next command will use it if installation succeeds.`
176
176
  });
@@ -183,7 +183,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
183
183
  return true;
184
184
  }
185
185
  async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
186
- if (!_chunkQ77PM7U2js.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
186
+ if (!_chunk3CZLPUBBjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
187
187
  const autoUpdate = response.auto_update;
188
188
  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";
189
189
  process.stderr.write(
@@ -196,7 +196,7 @@ async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
196
196
  event: "started",
197
197
  installKind: plan.kind
198
198
  });
199
- const updateResult = await _chunkQ77PM7U2js.runAutomaticUpdatePlan.call(void 0, plan);
199
+ const updateResult = await _chunk3CZLPUBBjs.runAutomaticUpdatePlan.call(void 0, plan);
200
200
  if (updateResult.status === "skipped_previous_failure") {
201
201
  void reportAutoUpdateEvent({
202
202
  baseUrl,
@@ -234,7 +234,7 @@ async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
234
234
  exitCode: 0
235
235
  });
236
236
  try {
237
- await _chunk4CQ7LVRTjs.syncSdkSkillsIfNeeded.call(void 0, baseUrl, {
237
+ await _chunkK72PGYSHjs.syncSdkSkillsIfNeeded.call(void 0, baseUrl, {
238
238
  mode: "detached",
239
239
  update: _optionalChain([response, 'access', _36 => _36.skills, 'optionalAccess', _37 => _37.requires_cli_update]) ? void 0 : response.skills,
240
240
  afterCliUpdate: {
@@ -261,7 +261,7 @@ var _crypto = require('crypto');
261
261
  var TOOL_EXECUTE_PROGRESS_INTERVAL_MS = 15e3;
262
262
  var activeToolExecuteCommand = null;
263
263
  function progressLine(line) {
264
- if (!_chunkE76MM3SCjs.isJsonOutputMode.call(void 0, )) console.error(line);
264
+ if (!_chunkCUU5CL3Vjs.isJsonOutputMode.call(void 0, )) console.error(line);
265
265
  }
266
266
  function beginToolExecuteCommand() {
267
267
  if (activeToolExecuteCommand) return activeToolExecuteCommand.invocationId;
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  getActiveCliProgress
3
- } from "./chunk-DOAD7ZCA.mjs";
3
+ } from "./chunk-S4WTJQEJ.mjs";
4
4
  import {
5
5
  maybeReportAutomaticSkillsSyncFailure
6
- } from "./chunk-G33LSF4T.mjs";
6
+ } from "./chunk-JKBSEUFN.mjs";
7
7
  import {
8
8
  DEFAULT_MAX_RETRIES,
9
9
  DEFAULT_SKILL_AGENTS,
@@ -18,20 +18,20 @@ import {
18
18
  sdkCliStateDirPath,
19
19
  skillsAgentPathSegment,
20
20
  writeSdkSkillsLocalVersion
21
- } from "./chunk-CQJMFUMK.mjs";
21
+ } from "./chunk-EN36QYE7.mjs";
22
22
  import {
23
23
  SDK_API_CONTRACT,
24
24
  SDK_API_MAJOR,
25
25
  SDK_VERSION,
26
26
  deploymentProtectionHeaders,
27
27
  detectAgentRuntime
28
- } from "./chunk-AMUMEL4C.mjs";
28
+ } from "./chunk-7HGJKBNU.mjs";
29
29
  import {
30
30
  DeeplineError
31
31
  } from "./chunk-Z3A2S3QM.mjs";
32
32
  import {
33
33
  SDK_RELEASE
34
- } from "./chunk-XLM7L4UY.mjs";
34
+ } from "./chunk-GITMBBDH.mjs";
35
35
 
36
36
  // src/compat.ts
37
37
  import { randomUUID } from "crypto";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  HttpClient,
3
3
  detectAgentRuntime
4
- } from "./chunk-AMUMEL4C.mjs";
4
+ } from "./chunk-7HGJKBNU.mjs";
5
5
  import {
6
6
  ConfigError
7
7
  } from "./chunk-ASB47RXJ.mjs";
@@ -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; }
2
2
 
3
- var _chunkE76MM3SCjs = require('./chunk-E76MM3SC.js');
3
+ var _chunkCUU5CL3Vjs = require('./chunk-CUU5CL3V.js');
4
4
 
5
5
  // src/cli/feedback-preferences.ts
6
6
 
@@ -57,7 +57,7 @@ function rejectRestrictedFeedback(options) {
57
57
  const code = restriction === "off" ? "FEEDBACK_DISABLED" : "FEEDBACK_APPROVAL_REQUIRED";
58
58
  const message = restriction === "off" ? 'Feedback is in mode "off". Do not ask the user if they want to send feedback. Use --requested only if they explicitly request it without being prompted.' : "Ask the user if they wish to send feedback. If they agree, rerun the send command with --requested. To change the setting, run deepline settings feedback --help. Agents must get user approval before turning feedback on.";
59
59
  if (options.json) {
60
- _chunkE76MM3SCjs.printCommandEnvelope.call(void 0,
60
+ _chunkCUU5CL3Vjs.printCommandEnvelope.call(void 0,
61
61
  { ok: false, code, exitCode: 2, message },
62
62
  { json: true }
63
63
  );