deepline 0.3.540 → 0.3.542

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 (143) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/sdk/src/types.ts +7 -1
  3. package/dist/cli/auth-2PH6RSKL.js +43 -0
  4. package/dist/cli/{auth-32TURPHH.mjs → auth-IGBGOB4E.mjs} +5 -5
  5. package/dist/cli/{billing-6433M4BX.js → billing-IB2TWE74.js} +92 -92
  6. package/dist/cli/{billing-NSH3NOHV.mjs → billing-N37W2I62.mjs} +8 -8
  7. package/dist/cli/{chunk-XYM3SQZN.mjs → chunk-2VRKBHMD.mjs} +1 -1
  8. package/dist/cli/{chunk-FR3AII3W.mjs → chunk-2ZGSHVZE.mjs} +2 -2
  9. package/dist/cli/{chunk-SINNEITW.mjs → chunk-3LEUSRV3.mjs} +4 -4
  10. package/dist/cli/{chunk-M4DB6BBP.js → chunk-3XXXMSSP.js} +44 -44
  11. package/dist/cli/{chunk-KN6ELDPL.mjs → chunk-46V7QSJE.mjs} +2 -2
  12. package/dist/cli/{chunk-XIIQNSWA.js → chunk-4I47NCRI.js} +8 -8
  13. package/dist/cli/{chunk-B6UZUQ2O.mjs → chunk-5APOJWJF.mjs} +1 -1
  14. package/dist/cli/{chunk-MLDLN6WG.js → chunk-5CAVURVS.js} +53 -53
  15. package/dist/cli/{chunk-UJYX4VLX.js → chunk-6SLEHAXX.js} +5 -5
  16. package/dist/cli/{chunk-IYQZVEV4.mjs → chunk-6WQDHEVF.mjs} +5 -5
  17. package/dist/cli/{chunk-S3ULSGFH.mjs → chunk-ACVTMAW4.mjs} +2 -2
  18. package/dist/cli/{chunk-WHYNYL3M.js → chunk-AKY7KZRJ.js} +6 -6
  19. package/dist/cli/{chunk-N6DMKVKO.js → chunk-AUFE624T.js} +10 -10
  20. package/dist/cli/{chunk-AOYW62XO.js → chunk-AWLPERL3.js} +3 -3
  21. package/dist/cli/{chunk-Y6647AIY.mjs → chunk-B5NP3SHX.mjs} +2 -2
  22. package/dist/cli/{chunk-J3TAEPFA.js → chunk-CFZCRM6R.js} +26 -26
  23. package/dist/cli/{chunk-XL3CEPZA.js → chunk-D44DP4KJ.js} +9 -9
  24. package/dist/cli/{chunk-TNUM4DFA.js → chunk-D7GWEBMF.js} +7 -7
  25. package/dist/cli/{chunk-AB6DFHGL.mjs → chunk-DADH3WPE.mjs} +2 -2
  26. package/dist/cli/{chunk-ZTJQKHLM.js → chunk-DMXLZ57N.js} +2 -2
  27. package/dist/cli/{chunk-BGBRA2S6.js → chunk-DNGACHFX.js} +22 -22
  28. package/dist/cli/{chunk-VAOGM5VS.js → chunk-E7B73LGT.js} +19 -19
  29. package/dist/cli/{chunk-SXVYFOBG.mjs → chunk-EGOCGWCI.mjs} +3 -3
  30. package/dist/cli/{chunk-AJVK4XC5.js → chunk-EHLCWGWN.js} +4 -4
  31. package/dist/cli/{chunk-SGMDRYAD.mjs → chunk-FFDZT255.mjs} +1 -1
  32. package/dist/cli/{chunk-BNNGM2E5.js → chunk-FGGPCAGC.js} +15 -15
  33. package/dist/cli/{chunk-MH22LQKZ.mjs → chunk-FX4OWXKK.mjs} +2 -2
  34. package/dist/cli/{chunk-WDHHQEWQ.js → chunk-GM73TZ2W.js} +41 -41
  35. package/dist/cli/{chunk-LXLCQP4A.js → chunk-HAITCPCG.js} +16 -16
  36. package/dist/cli/{chunk-JPU5YLQG.mjs → chunk-I5EAIFGO.mjs} +1 -1
  37. package/dist/cli/{chunk-2U4VACUA.js → chunk-JPT6VE54.js} +2 -2
  38. package/dist/cli/{chunk-HKWJD45V.js → chunk-LFMQVSEI.js} +5 -5
  39. package/dist/cli/{chunk-EXAXDEIF.js → chunk-NDNEARE3.js} +13 -13
  40. package/dist/cli/{chunk-WCM64BRH.mjs → chunk-NLZHLEHD.mjs} +5 -5
  41. package/dist/cli/{chunk-PJOMRUFP.mjs → chunk-ORA5TMML.mjs} +5 -5
  42. package/dist/cli/{chunk-BD3VAPB4.mjs → chunk-P4MDTBAA.mjs} +1 -1
  43. package/dist/cli/{chunk-ZJFU2COM.mjs → chunk-PLIKPGOO.mjs} +5 -5
  44. package/dist/cli/{chunk-H6IA6XRE.js → chunk-Q7WDXLYO.js} +2 -2
  45. package/dist/cli/{chunk-Z2OYTXLK.mjs → chunk-QONO7FRF.mjs} +1 -1
  46. package/dist/cli/{chunk-DV3ESQ4X.js → chunk-QXNOSCYL.js} +1 -1
  47. package/dist/cli/{chunk-BZVVSUE2.mjs → chunk-SCLP5H4P.mjs} +1 -1
  48. package/dist/cli/{chunk-TZVW5JH3.mjs → chunk-SWO5QOXB.mjs} +1 -1
  49. package/dist/cli/{chunk-37VFUQMU.mjs → chunk-TT4JUUC3.mjs} +2 -2
  50. package/dist/cli/{chunk-LPMI4CYW.js → chunk-TTBHOMAA.js} +107 -107
  51. package/dist/cli/{chunk-MVIVF4BW.js → chunk-VHJUH3TB.js} +3 -3
  52. package/dist/cli/{chunk-KFAJYK2N.mjs → chunk-WACIN4PR.mjs} +3 -3
  53. package/dist/cli/{chunk-3GVIVIER.js → chunk-WL2GUGNZ.js} +5 -5
  54. package/dist/cli/{chunk-JGFGWWOF.mjs → chunk-YK7NNZD4.mjs} +10 -10
  55. package/dist/cli/{chunk-DWE2VE5I.mjs → chunk-Z5YRKX7K.mjs} +1 -1
  56. package/dist/cli/{chunk-HLHDCFKL.mjs → chunk-ZVNYBQ77.mjs} +4 -4
  57. package/dist/cli/concurrent-runs-help-BNIDBKML.js +21 -0
  58. package/dist/cli/{concurrent-runs-help-DU5STFGB.mjs → concurrent-runs-help-DIBGMEIN.mjs} +6 -6
  59. package/dist/cli/{csv-OJCMBODT.mjs → csv-CAVA3EMS.mjs} +4 -4
  60. package/dist/cli/{csv-FBNS6SM3.js → csv-XZAM7EYZ.js} +13 -13
  61. package/dist/cli/{db-43RQRF64.mjs → db-HD332QI7.mjs} +6 -6
  62. package/dist/cli/{db-XRGJJ2KA.js → db-PPGEOBNG.js} +27 -27
  63. package/dist/cli/describe-5TFFB2PM.js +49 -0
  64. package/dist/cli/{describe-I42Y3PWR.mjs → describe-THQU7N47.mjs} +17 -17
  65. package/dist/cli/describe-core.d.mts +2 -2
  66. package/dist/cli/describe-core.d.ts +2 -2
  67. package/dist/cli/{executions-LH46O4PG.js → executions-4ZKBL7IC.js} +8 -8
  68. package/dist/cli/{executions-QXGVQHQF.mjs → executions-AFEOLB4A.mjs} +6 -6
  69. package/dist/cli/{feedback-ELFINGTM.mjs → feedback-J2YPLKMF.mjs} +6 -6
  70. package/dist/cli/{feedback-ERYIV6MT.js → feedback-M6Y33JKT.js} +14 -14
  71. package/dist/cli/{git-V2XWB6LN.mjs → git-632RYEF6.mjs} +5 -5
  72. package/dist/cli/git-AQLQYWRI.js +25 -0
  73. package/dist/cli/index.js +144 -140
  74. package/dist/cli/index.mjs +46 -42
  75. package/dist/cli/{legacy-noops-Y3OKNVWH.js → legacy-noops-4Y62TKPC.js} +9 -9
  76. package/dist/cli/{legacy-noops-ULL2EA37.mjs → legacy-noops-KWZMXYAU.mjs} +6 -6
  77. package/dist/cli/mcp-35QA6YG7.js +352 -0
  78. package/dist/cli/mcp-PESLHAAC.mjs +352 -0
  79. package/dist/cli/{monitors-DNQXCRJZ.js → monitors-4DTUZLAI.js} +100 -100
  80. package/dist/cli/{monitors-L34NROM3.mjs → monitors-YVBKBJBU.mjs} +7 -7
  81. package/dist/cli/{org-L3HTEEXL.mjs → org-DJNKMFCZ.mjs} +82 -6
  82. package/dist/cli/{org-JETA62CO.js → org-FWCBZMER.js} +162 -86
  83. package/dist/cli/{play-GTGJRNWI.js → play-FZ45M4KD.js} +317 -317
  84. package/dist/cli/{play-JHGLSSJP.mjs → play-PHVQEEEZ.mjs} +17 -17
  85. package/dist/cli/{providers-IQVHZJ27.mjs → providers-46E67QG7.mjs} +6 -6
  86. package/dist/cli/{providers-7VH7PH2Q.js → providers-QJU6FMDD.js} +9 -9
  87. package/dist/cli/{quickstart-ZDBC45PM.mjs → quickstart-6HMJJ4RR.mjs} +4 -4
  88. package/dist/cli/{quickstart-M25JNU3O.js → quickstart-HOL7H5FS.js} +6 -6
  89. package/dist/cli/{run-NEEWZBTX.mjs → run-2W2TJ6QA.mjs} +22 -22
  90. package/dist/cli/{run-MPZGX3YD.js → run-WKSIRXEC.js} +42 -42
  91. package/dist/cli/{search-YXAFB4QQ.mjs → search-Y2CFLSYB.mjs} +7 -7
  92. package/dist/cli/search-YLJFCJTK.js +32 -0
  93. package/dist/cli/{search-output-4PH5HSJC.js → search-output-2IK6ZZDY.js} +6 -6
  94. package/dist/cli/{search-output-67BBIXIZ.mjs → search-output-FCZ35PHF.mjs} +4 -4
  95. package/dist/cli/{secrets-HLUBDN3H.js → secrets-JVJIHGU4.js} +15 -15
  96. package/dist/cli/{secrets-445FER3C.mjs → secrets-PNPNUZLX.mjs} +6 -6
  97. package/dist/cli/{sessions-CCKXJNWT.mjs → sessions-GY5VVQGO.mjs} +6 -6
  98. package/dist/cli/sessions-TZ33UCPS.js +22 -0
  99. package/dist/cli/{settings-WXJIQS5J.js → settings-5WHMFRNQ.js} +85 -85
  100. package/dist/cli/{settings-3XCZGGVF.mjs → settings-YQOPF3AI.mjs} +12 -12
  101. package/dist/cli/{setup-CKETRFFN.js → setup-3VJMKDEU.js} +49 -49
  102. package/dist/cli/{setup-TOSX6NER.mjs → setup-O5U5IEVW.mjs} +9 -9
  103. package/dist/cli/{skills-Q7NLCIJJ.mjs → skills-G6J5PF35.mjs} +7 -7
  104. package/dist/cli/skills-WZY3XDT3.js +36 -0
  105. package/dist/cli/{tools-GY6QMYTZ.mjs → tools-AG7SWL5Y.mjs} +16 -16
  106. package/dist/cli/tools-BXQBL72Q.js +56 -0
  107. package/dist/cli/{update-A7JRUN4S.mjs → update-K73DD6CR.mjs} +9 -9
  108. package/dist/cli/update-XYP5EII6.js +34 -0
  109. package/dist/cli/{views-GUWC4SNI.js → views-4D2OTLIO.js} +21 -21
  110. package/dist/cli/{views-JG7FDEJR.mjs → views-MO6DIOMR.mjs} +6 -6
  111. package/dist/cli/{workflow-QZCYSQ5G.mjs → workflow-MMZMAELI.mjs} +7 -7
  112. package/dist/cli/{workflow-CXNW7ICH.js → workflow-ZEMFCS4Y.js} +17 -17
  113. package/dist/{client-CE4QBVbp.d.mts → client-DLG9mHDh.d.mts} +1 -1
  114. package/dist/{client-B1fixtK1.d.ts → client-X-FJD5Dp.d.ts} +1 -1
  115. package/dist/{client-core-C-3FVlVq.d.ts → client-core-0jmHfFBv.d.ts} +1 -1
  116. package/dist/{client-core-2BkNBgrx.d.mts → client-core-WtnqyBwY.d.mts} +1 -1
  117. package/dist/index.d.mts +3 -3
  118. package/dist/index.d.ts +3 -3
  119. package/dist/index.js +9 -9
  120. package/dist/index.mjs +6 -6
  121. package/dist/install-integrity.json +110 -108
  122. package/dist/plays/play-description.d.mts +1 -1
  123. package/dist/plays/play-description.d.ts +1 -1
  124. package/dist/plays/run-request.d.mts +1 -1
  125. package/dist/plays/run-request.d.ts +1 -1
  126. package/dist/release.d.mts +1 -1
  127. package/dist/release.d.ts +1 -1
  128. package/dist/release.js +2 -2
  129. package/dist/release.mjs +1 -1
  130. package/dist/server.d.mts +2 -2
  131. package/dist/server.d.ts +2 -2
  132. package/dist/server.js +5 -5
  133. package/dist/server.mjs +3 -3
  134. package/package.json +1 -1
  135. package/dist/cli/auth-XA3K5LH2.js +0 -43
  136. package/dist/cli/concurrent-runs-help-HIPM5BBV.js +0 -21
  137. package/dist/cli/describe-LWZCGAXU.js +0 -49
  138. package/dist/cli/git-OV2TGYVE.js +0 -25
  139. package/dist/cli/search-HUN2YRQE.js +0 -32
  140. package/dist/cli/sessions-T2RNWC6B.js +0 -22
  141. package/dist/cli/skills-FXM2RHHO.js +0 -36
  142. package/dist/cli/tools-XLVDZTWQ.js +0 -56
  143. package/dist/cli/update-AZINHILP.js +0 -34
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkVAOGM5VSjs = require('./chunk-VAOGM5VS.js');
5
+ var _chunkE7B73LGTjs = require('./chunk-E7B73LGT.js');
6
6
 
7
7
 
8
- var _chunkMVIVF4BWjs = require('./chunk-MVIVF4BW.js');
8
+ var _chunkVHJUH3TBjs = require('./chunk-VHJUH3TB.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 } = _chunkVAOGM5VSjs.getAuthedHttpClient.call(void 0, );
35
+ const { http } = _chunkE7B73LGTjs.getAuthedHttpClient.call(void 0, );
36
36
  const payload = await http.get(
37
37
  `/api/v2/play-projects${options.all ? "?includeDisabled=1" : ""}`
38
38
  );
39
- _chunkVAOGM5VSjs.printCommandEnvelope.call(void 0,
39
+ _chunkE7B73LGTjs.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 } = _chunkVAOGM5VSjs.getAuthedHttpClient.call(void 0, );
76
+ const { http } = _chunkE7B73LGTjs.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
- _chunkVAOGM5VSjs.printCommandEnvelope.call(void 0,
139
+ _chunkE7B73LGTjs.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 } = _chunkVAOGM5VSjs.getAuthedHttpClient.call(void 0, );
150
+ const { http } = _chunkE7B73LGTjs.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
- _chunkVAOGM5VSjs.printCommandEnvelope.call(void 0,
153
+ _chunkE7B73LGTjs.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 } = _chunkVAOGM5VSjs.getAuthedHttpClient.call(void 0, );
174
+ const { http } = _chunkE7B73LGTjs.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 } = _chunkVAOGM5VSjs.getAuthedHttpClient.call(void 0, );
191
+ const { http } = _chunkE7B73LGTjs.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
- _chunkVAOGM5VSjs.printCommandEnvelope.call(void 0,
200
+ _chunkE7B73LGTjs.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 } = _chunkVAOGM5VSjs.getAuthedHttpClient.call(void 0, );
223
+ const { http } = _chunkE7B73LGTjs.getAuthedHttpClient.call(void 0, );
224
224
  const payload = await http.get(
225
225
  `/api/v2/play-projects/${encodeURIComponent(id)}`
226
226
  );
227
- _chunkVAOGM5VSjs.printCommandEnvelope.call(void 0,
227
+ _chunkE7B73LGTjs.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 } = _chunkVAOGM5VSjs.getAuthedHttpClient.call(void 0, );
243
+ const { http } = _chunkE7B73LGTjs.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
- _chunkVAOGM5VSjs.printCommandEnvelope.call(void 0,
254
+ _chunkE7B73LGTjs.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 } = _chunkVAOGM5VSjs.getAuthedHttpClient.call(void 0, );
267
+ const { http } = _chunkE7B73LGTjs.getAuthedHttpClient.call(void 0, );
268
268
  await http.delete(`/api/v2/play-projects/${encodeURIComponent(id)}`);
269
- _chunkVAOGM5VSjs.printCommandEnvelope.call(void 0,
269
+ _chunkE7B73LGTjs.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 = _chunkMVIVF4BWjs.resolveBaseUrlOnly.call(void 0, );
289
+ const baseUrl = _chunkVHJUH3TBjs.resolveBaseUrlOnly.call(void 0, );
290
290
  const connectUrl = `${baseUrl.replace(/\/$/, "")}/api/v2/github/connect`;
291
- const opened = _chunkVAOGM5VSjs.openInBrowser.call(void 0, connectUrl);
292
- _chunkVAOGM5VSjs.printCommandEnvelope.call(void 0,
291
+ const opened = _chunkE7B73LGTjs.openInBrowser.call(void 0, connectUrl);
292
+ _chunkE7B73LGTjs.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 } = _chunkVAOGM5VSjs.getAuthedHttpClient.call(void 0, );
314
+ const { http } = _chunkE7B73LGTjs.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
- _chunkVAOGM5VSjs.printCommandEnvelope.call(void 0,
322
+ _chunkE7B73LGTjs.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 } = _chunkVAOGM5VSjs.getAuthedHttpClient.call(void 0, );
366
+ const { http } = _chunkE7B73LGTjs.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
- _chunkVAOGM5VSjs.printCommandEnvelope.call(void 0,
371
+ _chunkE7B73LGTjs.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 } = _chunkVAOGM5VSjs.getAuthedHttpClient.call(void 0, );
390
+ const { http } = _chunkE7B73LGTjs.getAuthedHttpClient.call(void 0, );
391
391
  const payload = await http.post(`/api/v2/deployments/${encodeURIComponent(id)}/cancel`, {});
392
- _chunkVAOGM5VSjs.printCommandEnvelope.call(void 0,
392
+ _chunkE7B73LGTjs.printCommandEnvelope.call(void 0,
393
393
  {
394
394
  cancelled: payload.cancelled,
395
395
  deployment: payload.deployment,
@@ -3,7 +3,7 @@
3
3
  var _chunkVLEVVDWGjs = require('./chunk-VLEVVDWG.js');
4
4
 
5
5
 
6
- var _chunkXIIQNSWAjs = require('./chunk-XIIQNSWA.js');
6
+ var _chunk4I47NCRIjs = require('./chunk-4I47NCRI.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 _chunkVAOGM5VSjs = require('./chunk-VAOGM5VS.js');
14
+ var _chunkE7B73LGTjs = require('./chunk-E7B73LGT.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 = _chunkVAOGM5VSjs.parseJsonFields.call(void 0, args, "run");
584
+ const selection = _chunkE7B73LGTjs.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 ? _chunkVAOGM5VSjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkVAOGM5VSjs.argsWantJson.call(void 0, args);
596
+ let jsonOutput = dryRun ? _chunkE7B73LGTjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkE7B73LGTjs.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 = _chunkXIIQNSWAjs.parseLogLevel.call(void 0, value);
659
+ const parsed = _chunk4I47NCRIjs.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 : _chunkXIIQNSWAjs.parseLogLevel.call(void 0, options.logLevel);
977
+ let logLevel = options.logLevel === void 0 ? base.logLevel : _chunk4I47NCRIjs.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 : _chunkVAOGM5VSjs.parseJsonFields.call(void 0,
992
- [...fullJson ? ["--full"] : [], ..._chunkVAOGM5VSjs.jsonFieldArgs.call(void 0, options.json)],
991
+ const jsonFields = options.json === void 0 ? base.jsonFields : _chunkE7B73LGTjs.parseJsonFields.call(void 0,
992
+ [...fullJson ? ["--full"] : [], ..._chunkE7B73LGTjs.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 || _chunkVAOGM5VSjs.argsWantJson.call(void 0, []) : explicitJson;
997
+ const jsonOutput = dryRun || !watch ? explicitJson || _chunkE7B73LGTjs.argsWantJson.call(void 0, []) : explicitJson;
998
998
  const verboseLogs = Boolean(
999
999
  debugAlias || logLevel === "debug" || debugMapLatency
1000
1000
  );
@@ -9,7 +9,7 @@ var _chunkXYIECA7Mjs = require('./chunk-XYIECA7M.js');
9
9
 
10
10
 
11
11
 
12
- var _chunkVAOGM5VSjs = require('./chunk-VAOGM5VS.js');
12
+ var _chunkE7B73LGTjs = require('./chunk-E7B73LGT.js');
13
13
 
14
14
  // src/cli/describe-options.ts
15
15
  function addDescribeOptions(command, options = {}) {
@@ -250,7 +250,7 @@ function projectRunDatasetCell(value) {
250
250
  const logicalValue = parseSerializedDatasetValue(value);
251
251
  if (logicalValue === null || logicalValue === void 0) return logicalValue;
252
252
  if (typeof logicalValue === "object") {
253
- return _chunkVAOGM5VSjs.csvSafeJsonString.call(void 0, canonicalDatasetJson(logicalValue));
253
+ return _chunkE7B73LGTjs.csvSafeJsonString.call(void 0, canonicalDatasetJson(logicalValue));
254
254
  }
255
255
  return logicalValue;
256
256
  }
@@ -642,7 +642,7 @@ function csvText(rows, columns = []) {
642
642
  rows: rows.map((row) => record(row) ? row : { value: row }),
643
643
  columns
644
644
  });
645
- return _chunkVAOGM5VSjs.csvStringFromRows.call(void 0, projection.rows, projection.columns);
645
+ return _chunkE7B73LGTjs.csvStringFromRows.call(void 0, projection.rows, projection.columns);
646
646
  }
647
647
  function writeExecutionOutput(result, options, { skipReceiptFile = false } = {}) {
648
648
  let temp;
@@ -769,7 +769,7 @@ function writeExecutionOutput(result, options, { skipReceiptFile = false } = {})
769
769
  };
770
770
  if (options.receiptOut && !skipReceiptFile) {
771
771
  persist(options.receiptOut, jsonText(receipt));
772
- _chunkVAOGM5VSjs.markJsonOutputHandled.call(void 0, );
772
+ _chunkE7B73LGTjs.markJsonOutputHandled.call(void 0, );
773
773
  } else {
774
774
  printReceipt(receipt, options, {
775
775
  data: hasData ? result.data : void 0,
@@ -937,7 +937,7 @@ function receiptText(receipt, options, extra) {
937
937
  problems.push(
938
938
  `Error: ${record(error) && typeof error.message === "string" ? error.message : JSON.stringify(error)}`
939
939
  );
940
- const diagnostic = _chunkVAOGM5VSjs.formatCliFailureDiagnostic.call(void 0, error);
940
+ const diagnostic = _chunkE7B73LGTjs.formatCliFailureDiagnostic.call(void 0, error);
941
941
  if (diagnostic) problems.push(...diagnostic.split("\n"));
942
942
  if (record(error) && typeof error.recoveryFile === "string") {
943
943
  problems.push(
@@ -1030,8 +1030,8 @@ function printReceipt(receipt, options, extra) {
1030
1030
  const text = options.receiptJson ? `${JSON.stringify(receipt, null, 2)}
1031
1031
  ` : receiptText(receipt, options, extra);
1032
1032
  if (options.receiptOut !== void 0) {
1033
- _chunkVAOGM5VSjs.writeRawStderr.call(void 0, text);
1034
- _chunkVAOGM5VSjs.markJsonOutputHandled.call(void 0, );
1033
+ _chunkE7B73LGTjs.writeRawStderr.call(void 0, text);
1034
+ _chunkE7B73LGTjs.markJsonOutputHandled.call(void 0, );
1035
1035
  } else {
1036
1036
  (dataOnStdout(options) ? process.stderr : process.stdout).write(text);
1037
1037
  }
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./chunk-B6UZUQ2O.mjs";
3
+ } from "./chunk-5APOJWJF.mjs";
4
4
  import {
5
5
  HttpClient,
6
6
  resolveConfig
7
- } from "./chunk-DWE2VE5I.mjs";
7
+ } from "./chunk-Z5YRKX7K.mjs";
8
8
 
9
9
  // src/client.ts
10
10
  var DeeplineClient2 = class extends DeeplineClient {
@@ -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 _chunkVAOGM5VSjs = require('./chunk-VAOGM5VS.js');
3
+ var _chunkE7B73LGTjs = require('./chunk-E7B73LGT.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
- _chunkVAOGM5VSjs.printCommandEnvelope.call(void 0,
60
+ _chunkE7B73LGTjs.printCommandEnvelope.call(void 0,
61
61
  { ok: false, code, exitCode: 2, message },
62
62
  { json: true }
63
63
  );
@@ -4,21 +4,21 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkLXLCQP4Ajs = require('./chunk-LXLCQP4A.js');
7
+ var _chunkHAITCPCGjs = require('./chunk-HAITCPCG.js');
8
8
 
9
9
 
10
10
 
11
- var _chunkM4DB6BBPjs = require('./chunk-M4DB6BBP.js');
11
+ var _chunk3XXXMSSPjs = require('./chunk-3XXXMSSP.js');
12
12
 
13
13
 
14
14
 
15
- var _chunkVAOGM5VSjs = require('./chunk-VAOGM5VS.js');
15
+ var _chunkE7B73LGTjs = require('./chunk-E7B73LGT.js');
16
16
 
17
17
 
18
- var _chunkMVIVF4BWjs = require('./chunk-MVIVF4BW.js');
18
+ var _chunkVHJUH3TBjs = require('./chunk-VHJUH3TB.js');
19
19
 
20
20
 
21
- var _chunkAJVK4XC5js = require('./chunk-AJVK4XC5.js');
21
+ var _chunkEHLCWGWNjs = require('./chunk-EHLCWGWN.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 = _chunkMVIVF4BWjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
48
+ apiKey = _chunkVHJUH3TBjs.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/${_chunkAJVK4XC5js.SDK_VERSION}`,
64
+ "User-Agent": `deepline-ts-sdk/${_chunkEHLCWGWNjs.SDK_VERSION}`,
65
65
  "X-Deepline-Client-Family": "sdk",
66
66
  "X-Deepline-CLI-Family": "sdk",
67
- "X-Deepline-CLI-Version": _chunkAJVK4XC5js.SDK_VERSION,
68
- "X-Deepline-SDK-Version": _chunkAJVK4XC5js.SDK_VERSION
67
+ "X-Deepline-CLI-Version": _chunkEHLCWGWNjs.SDK_VERSION,
68
+ "X-Deepline-SDK-Version": _chunkEHLCWGWNjs.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()]) || _chunkAJVK4XC5js.SDK_VERSION,
72
+ current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkEHLCWGWNjs.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") || !_chunkLXLCQP4Ajs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkM4DB6BBPjs.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") || !_chunkHAITCPCGjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunk3XXXMSSPjs.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()]) || _chunkAJVK4XC5js.SDK_VERSION;
95
+ const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunkEHLCWGWNjs.SDK_VERSION;
96
96
  if (!target) return false;
97
- return _chunkLXLCQP4Ajs.compareUpdateVersions.call(void 0, target, current) < 0;
97
+ return _chunkHAITCPCGjs.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()]) || _chunkAJVK4XC5js.SDK_VERSION;
150
+ const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunkEHLCWGWNjs.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 = _chunkLXLCQP4Ajs.resolveUpdatePlan.call(void 0, {
158
+ const plan = _chunkHAITCPCGjs.resolveUpdatePlan.call(void 0, {
159
159
  packageSpec,
160
160
  requireVerifiedNpmOwnership: true,
161
161
  npmFallbackRegistryUrl: trustedAutoUpdateRegistryUrl(baseUrl)
162
162
  });
163
- if (!_chunkLXLCQP4Ajs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
163
+ if (!_chunkHAITCPCGjs.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 (_chunkVAOGM5VSjs.isJsonOutputMode.call(void 0, )) {
170
+ if (_chunkE7B73LGTjs.isJsonOutputMode.call(void 0, )) {
171
171
  const target = _optionalChain([response, 'access', _29 => _29.latest, 'optionalAccess', _30 => _30.trim, 'call', _31 => _31()]);
172
- _chunkVAOGM5VSjs.addJsonNotice.call(void 0, {
172
+ _chunkE7B73LGTjs.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 (!_chunkLXLCQP4Ajs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
185
+ if (!_chunkHAITCPCGjs.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 _chunkLXLCQP4Ajs.runAutomaticUpdatePlan.call(void 0, plan);
198
+ const updateResult = await _chunkHAITCPCGjs.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 _chunkM4DB6BBPjs.syncSdkSkillsIfNeeded.call(void 0, baseUrl, {
236
+ await _chunk3XXXMSSPjs.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 (!_chunkVAOGM5VSjs.isJsonOutputMode.call(void 0, )) console.error(line);
263
+ if (!_chunkE7B73LGTjs.isJsonOutputMode.call(void 0, )) console.error(line);
264
264
  }
265
265
  function beginToolExecuteCommand() {
266
266
  if (activeToolExecuteCommand) return activeToolExecuteCommand.invocationId;
@@ -4,13 +4,13 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkMVIVF4BWjs = require('./chunk-MVIVF4BW.js');
7
+ var _chunkVHJUH3TBjs = require('./chunk-VHJUH3TB.js');
8
8
 
9
9
 
10
10
 
11
11
 
12
12
 
13
- var _chunkAJVK4XC5js = require('./chunk-AJVK4XC5.js');
13
+ var _chunkEHLCWGWNjs = require('./chunk-EHLCWGWN.js');
14
14
 
15
15
 
16
16
 
@@ -330,7 +330,7 @@ function buildEnvironmentContext() {
330
330
  node_version: process.version,
331
331
  runtime: "Node.js",
332
332
  hostname: _os.hostname.call(void 0, ),
333
- agent_runtime: _chunkAJVK4XC5js.detectAgentRuntime.call(void 0, )
333
+ agent_runtime: _chunkEHLCWGWNjs.detectAgentRuntime.call(void 0, )
334
334
  };
335
335
  for (const key of ["CLAUDE_CODE_REMOTE", "DEEPLINE_PLUGIN_MODE"]) {
336
336
  const normalized = _optionalChain([process, 'access', _6 => _6.env, 'access', _7 => _7[key], 'optionalAccess', _8 => _8.trim, 'call', _9 => _9()]);
@@ -351,18 +351,18 @@ function buildEnvironmentContext() {
351
351
  return context;
352
352
  }
353
353
  function failureReportHeaders(apiKey) {
354
- const agentSessionId = _chunkAJVK4XC5js.agentSessionIdFromEnvironment.call(void 0, );
354
+ const agentSessionId = _chunkEHLCWGWNjs.agentSessionIdFromEnvironment.call(void 0, );
355
355
  return {
356
- ..._chunkAJVK4XC5js.deploymentProtectionHeaders.call(void 0, ),
356
+ ..._chunkEHLCWGWNjs.deploymentProtectionHeaders.call(void 0, ),
357
357
  ...agentSessionId ? { "X-Deepline-Agent-Session-Id": agentSessionId } : {},
358
358
  Authorization: `Bearer ${apiKey}`,
359
359
  "Content-Type": "application/json",
360
- "User-Agent": `deepline-ts-sdk/${_chunkAJVK4XC5js.SDK_VERSION}`,
360
+ "User-Agent": `deepline-ts-sdk/${_chunkEHLCWGWNjs.SDK_VERSION}`,
361
361
  "X-Deepline-Client-Family": "sdk",
362
362
  "X-Deepline-CLI-Family": "sdk",
363
- "X-Deepline-Agent-Runtime": _chunkAJVK4XC5js.detectAgentRuntime.call(void 0, ),
364
- "X-Deepline-CLI-Version": _chunkAJVK4XC5js.SDK_VERSION,
365
- "X-Deepline-SDK-Version": _chunkAJVK4XC5js.SDK_VERSION
363
+ "X-Deepline-Agent-Runtime": _chunkEHLCWGWNjs.detectAgentRuntime.call(void 0, ),
364
+ "X-Deepline-CLI-Version": _chunkEHLCWGWNjs.SDK_VERSION,
365
+ "X-Deepline-SDK-Version": _chunkEHLCWGWNjs.SDK_VERSION
366
366
  };
367
367
  }
368
368
  async function postFailureReport(input) {
@@ -390,7 +390,7 @@ async function maybeReportAutomaticSkillsSyncFailure(input) {
390
390
  if (isFailureReportingDisabled()) return false;
391
391
  let apiKey = "";
392
392
  try {
393
- apiKey = _chunkMVIVF4BWjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
393
+ apiKey = _chunkVHJUH3TBjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
394
394
  } catch (e2) {
395
395
  return false;
396
396
  }
@@ -417,7 +417,7 @@ async function maybeReportAutomaticSkillsSyncFailure(input) {
417
417
  failure_code: failureCode2,
418
418
  failure_stage: failureStage,
419
419
  error_body: "Automatic Deepline skills installation failed.",
420
- cli_version: _chunkAJVK4XC5js.SDK_VERSION,
420
+ cli_version: _chunkEHLCWGWNjs.SDK_VERSION,
421
421
  context: {
422
422
  environment: buildEnvironmentContext(),
423
423
  skills_sync: {
@@ -537,7 +537,7 @@ function buildFailureReport(input) {
537
537
  failure_kind: failureKind,
538
538
  failure_code: code,
539
539
  failure_stage: input.error === void 0 ? "command_exit" : "cli_main",
540
- cli_version: _chunkAJVK4XC5js.SDK_VERSION,
540
+ cli_version: _chunkEHLCWGWNjs.SDK_VERSION,
541
541
  context: {
542
542
  base_url: redactFailureText(input.baseUrl, 400),
543
543
  command_summary: sanitizeCommand(input.argv),
@@ -557,8 +557,8 @@ async function maybeReportSdkCliFailure(input) {
557
557
  if (isServerLoggedPlayRunStartFailure(input)) return false;
558
558
  const exitCode = resolvedExitCode(input);
559
559
  if (!shouldReport({ exitCode, error: input.error })) return false;
560
- const baseUrl = _chunkMVIVF4BWjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
561
- const apiKey = _chunkMVIVF4BWjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
560
+ const baseUrl = _chunkVHJUH3TBjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
561
+ const apiKey = _chunkVHJUH3TBjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
562
562
  if (!apiKey) return false;
563
563
  return postFailureReport({
564
564
  baseUrl,
@@ -682,8 +682,8 @@ var BROWSER_OPEN_COOLDOWN_MS = 3e4;
682
682
  var SAME_URL_BROWSER_OPEN_COOLDOWN_MS = 5 * 6e4;
683
683
  var defaultBrowserCommandRunner = childProcess;
684
684
  function getAuthedHttpClient() {
685
- const config = _chunkMVIVF4BWjs.resolveConfig.call(void 0, );
686
- return { config, http: new (0, _chunkMVIVF4BWjs.HttpClient)(config) };
685
+ const config = _chunkVHJUH3TBjs.resolveConfig.call(void 0, );
686
+ return { config, http: new (0, _chunkVHJUH3TBjs.HttpClient)(config) };
687
687
  }
688
688
  function stableOsUserId() {
689
689
  try {
@@ -1023,7 +1023,7 @@ function collectLocalEnvInfo() {
1023
1023
  os: `${process.platform} ${process.arch}`,
1024
1024
  node_version: process.version,
1025
1025
  home_dir: homeDir,
1026
- agent_runtime: _chunkAJVK4XC5js.detectAgentRuntime.call(void 0, )
1026
+ agent_runtime: _chunkEHLCWGWNjs.detectAgentRuntime.call(void 0, )
1027
1027
  };
1028
1028
  const env = process.env;
1029
1029
  const optional = {
@@ -1270,9 +1270,9 @@ function markdownTableFromRows(rows, preferredColumns = []) {
1270
1270
  }
1271
1271
  function withAgentCommandContext(value) {
1272
1272
  const valueRecord = value !== null && typeof value === "object" && !Array.isArray(value) ? value : null;
1273
- return _chunkAJVK4XC5js.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
1273
+ return _chunkEHLCWGWNjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
1274
1274
  ...valueRecord,
1275
- command_context: _chunkMVIVF4BWjs.resolveCliCommandContext.call(void 0, )
1275
+ command_context: _chunkVHJUH3TBjs.resolveCliCommandContext.call(void 0, )
1276
1276
  } : value;
1277
1277
  }
1278
1278
  function printJson(value, fields) {
@@ -2,7 +2,7 @@ import {
2
2
  argsWantJson,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-37VFUQMU.mjs";
5
+ } from "./chunk-TT4JUUC3.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-DWE2VE5I.mjs";
25
+ } from "./chunk-Z5YRKX7K.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-XYM3SQZN.mjs";
32
+ } from "./chunk-2VRKBHMD.mjs";
33
33
  import {
34
34
  DeeplineError
35
35
  } from "./chunk-JL2OTMSG.mjs";
@@ -17,12 +17,12 @@ var _chunkXNYIZMNQjs = require('./chunk-XNYIZMNQ.js');
17
17
  var _chunkBBTKAASQjs = require('./chunk-BBTKAASQ.js');
18
18
 
19
19
 
20
- var _chunkDV3ESQ4Xjs = require('./chunk-DV3ESQ4X.js');
20
+ var _chunkQXNOSCYLjs = require('./chunk-QXNOSCYL.js');
21
21
 
22
22
  // src/version.ts
23
- var SDK_VERSION = _chunkDV3ESQ4Xjs.SDK_RELEASE.version;
24
- var SDK_API_MAJOR = _chunkDV3ESQ4Xjs.SDK_RELEASE.contracts.api.currentMajor;
25
- var SDK_API_CONTRACT = _nullishCoalesce(_chunkDV3ESQ4Xjs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
23
+ var SDK_VERSION = _chunkQXNOSCYLjs.SDK_RELEASE.version;
24
+ var SDK_API_MAJOR = _chunkQXNOSCYLjs.SDK_RELEASE.contracts.api.currentMajor;
25
+ var SDK_API_CONTRACT = _nullishCoalesce(_chunkQXNOSCYLjs.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');
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  writeRawStderr
3
- } from "./chunk-37VFUQMU.mjs";
3
+ } from "./chunk-TT4JUUC3.mjs";
4
4
 
5
5
  // src/cli/maintenance-policy.ts
6
6
  import { InvalidArgumentError } from "commander";