deepline 0.3.448 → 0.3.450

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 (120) hide show
  1. package/dist/bundling-sources/sdk/src/play.ts +1 -1
  2. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  3. package/dist/bundling-sources/shared_libs/monitors/http-error-response.ts +3 -3
  4. package/dist/bundling-sources/shared_libs/monitors/provider-monitor-capability.ts +1 -1
  5. package/dist/bundling-sources/shared_libs/observability/telemetry.ts +2 -1
  6. package/dist/bundling-sources/shared_libs/play-runtime/deployment/commands/roll-execution-relay.ts +2 -13
  7. package/dist/bundling-sources/shared_libs/play-runtime/deployment/commands/roll-receipt-gateway.ts +2 -16
  8. package/dist/bundling-sources/shared_libs/play-runtime/deployment/commands/runtime-topology.ts +23 -1
  9. package/dist/bundling-sources/shared_libs/play-runtime/deployment/runtime-topology.ts +52 -4
  10. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-launch-transport.ts +80 -1
  11. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-lifecycle.ts +16 -3
  12. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona.ts +34 -10
  13. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +14 -11
  14. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +54 -6
  15. package/dist/bundling-sources/shared_libs/product-notifications/catalog.ts +10 -6
  16. package/dist/bundling-sources/shared_libs/product-notifications/default-policy.ts +1 -1
  17. package/dist/cli/auth-3LOZKBPO.js +40 -0
  18. package/dist/cli/{auth-HAJKEPAE.mjs → auth-CHYW6BU3.mjs} +4 -4
  19. package/dist/cli/{billing-ZGQY3GVK.js → billing-NCV2CBLH.js} +73 -73
  20. package/dist/cli/{billing-CMA2G5Y4.mjs → billing-YADYH5P7.mjs} +4 -4
  21. package/dist/cli/{chunk-TKOVC3AP.js → chunk-2SASGLVN.js} +6 -6
  22. package/dist/cli/{chunk-2GVRS7UB.mjs → chunk-2UNTSLTR.mjs} +3 -3
  23. package/dist/cli/{chunk-TBTIA6U4.js → chunk-2VKDHJU3.js} +81 -81
  24. package/dist/cli/{chunk-K5M6UG3D.mjs → chunk-3JEMYGIR.mjs} +1 -1
  25. package/dist/cli/{chunk-5XOPYIT6.mjs → chunk-3SRJO6H4.mjs} +3 -3
  26. package/dist/cli/{chunk-PGE4JW7C.js → chunk-47GRLLV2.js} +6 -6
  27. package/dist/cli/{chunk-XM6A4V77.mjs → chunk-4Z356NPN.mjs} +1 -1
  28. package/dist/cli/{chunk-2BKTT44A.mjs → chunk-5R7YPB5X.mjs} +1 -1
  29. package/dist/cli/{chunk-TEPZMKN7.js → chunk-6TABNDCB.js} +4 -4
  30. package/dist/cli/{chunk-LNBSMAUK.js → chunk-7IUG4STX.js} +50 -50
  31. package/dist/cli/{chunk-YTWQ4G4P.mjs → chunk-AJUNUE32.mjs} +1 -1
  32. package/dist/cli/{chunk-XXHLFL3J.mjs → chunk-B2V2F3KV.mjs} +1 -1
  33. package/dist/cli/{chunk-TOLQMV5C.mjs → chunk-B4T7EFBZ.mjs} +4 -4
  34. package/dist/cli/{chunk-33KZX7WI.mjs → chunk-CA3NM3W4.mjs} +3 -3
  35. package/dist/cli/{chunk-ZNEU3KF2.js → chunk-CBM27PDJ.js} +8 -8
  36. package/dist/cli/{chunk-QS5BY6FO.mjs → chunk-EKVOSR3S.mjs} +5 -5
  37. package/dist/cli/{chunk-HOLESVLX.mjs → chunk-HRRVDDFH.mjs} +8 -8
  38. package/dist/cli/{chunk-7XUVB46D.js → chunk-IESQOIOE.js} +8 -8
  39. package/dist/cli/{chunk-DCQP53KU.js → chunk-IGMBTEF7.js} +26 -26
  40. package/dist/cli/{chunk-CB3Y7THP.js → chunk-IYBC6WON.js} +1 -1
  41. package/dist/cli/{chunk-DP6CINW2.js → chunk-JWZIZH2C.js} +10 -10
  42. package/dist/cli/{chunk-6X5G45GR.js → chunk-LTQCEQOZ.js} +20 -20
  43. package/dist/cli/{chunk-PVG52FJA.mjs → chunk-N42KCXPD.mjs} +2 -2
  44. package/dist/cli/{chunk-PVNPEQCM.js → chunk-NSIOVSNZ.js} +52 -52
  45. package/dist/cli/{chunk-WYU4UYJN.js → chunk-OZ5ME7BP.js} +2 -2
  46. package/dist/cli/{chunk-R76RSTHC.mjs → chunk-QROZFMGC.mjs} +1 -1
  47. package/dist/cli/{chunk-H54AY3OO.mjs → chunk-UJHJXWM4.mjs} +2 -2
  48. package/dist/cli/{chunk-DBNTO3T4.js → chunk-UMA7425N.js} +2 -2
  49. package/dist/cli/{chunk-Z6SRBSI2.js → chunk-VYMLYV2K.js} +16 -16
  50. package/dist/cli/{chunk-JYZVM2VV.js → chunk-XUD5AOQY.js} +35 -35
  51. package/dist/cli/{chunk-JETVD7NN.mjs → chunk-ZEVUPOF6.mjs} +2 -2
  52. package/dist/cli/{chunk-SXPQ4ZSU.mjs → chunk-ZYORWYLP.mjs} +2 -2
  53. package/dist/cli/{csv-64TF4NDO.mjs → csv-7PXCJKYS.mjs} +3 -3
  54. package/dist/cli/{csv-FTRQZV3H.js → csv-VQLS5D7H.js} +12 -12
  55. package/dist/cli/{db-RZUHE4GB.mjs → db-JYLMLQQO.mjs} +4 -4
  56. package/dist/cli/{db-REW2BPP6.js → db-XDUC3MFP.js} +25 -25
  57. package/dist/cli/{describe-3X7HQ3JN.js → describe-G6SRQQHS.js} +16 -16
  58. package/dist/cli/{describe-XU7JL4VM.mjs → describe-LDHY5HTB.mjs} +12 -12
  59. package/dist/cli/describe-core.d.mts +1 -1
  60. package/dist/cli/describe-core.d.ts +1 -1
  61. package/dist/cli/{executions-Y42LOK2X.js → executions-HPI65XBL.js} +6 -6
  62. package/dist/cli/{executions-LFDOGILB.mjs → executions-M7MDBFHA.mjs} +4 -4
  63. package/dist/cli/{feedback-LRF3UIQM.mjs → feedback-6V4DDJVD.mjs} +3 -3
  64. package/dist/cli/{feedback-LIKR4GUV.js → feedback-Y66JKRPN.js} +7 -7
  65. package/dist/cli/{git-GGJXLHN2.mjs → git-BTKGTTGF.mjs} +4 -4
  66. package/dist/cli/git-VVC5BRCG.js +24 -0
  67. package/dist/cli/index.js +131 -131
  68. package/dist/cli/index.mjs +36 -36
  69. package/dist/cli/{legacy-noops-SJMC6NR5.js → legacy-noops-DEVCEE64.js} +7 -7
  70. package/dist/cli/{legacy-noops-QW3P53AG.mjs → legacy-noops-MUBHYOEG.mjs} +4 -4
  71. package/dist/cli/{monitors-VRM5AA7T.js → monitors-2DJFA7XX.js} +90 -91
  72. package/dist/cli/{monitors-Q2UZTDFC.mjs → monitors-SOGDSYPL.mjs} +10 -11
  73. package/dist/cli/{org-BIUKWUM4.mjs → org-D6ZFFG4D.mjs} +4 -4
  74. package/dist/cli/{org-F7OCO7BT.js → org-UWMWVV73.js} +66 -66
  75. package/dist/cli/{play-3WJID2EB.js → play-P423OXCU.js} +283 -283
  76. package/dist/cli/{play-HK6V5JO5.mjs → play-TIR2S6IA.mjs} +10 -10
  77. package/dist/cli/{providers-X3KZO4PN.js → providers-6F5F6D4O.js} +7 -7
  78. package/dist/cli/{providers-RM2PBFPD.mjs → providers-HRDAG3UX.mjs} +4 -4
  79. package/dist/cli/{quickstart-TKNR4AHF.js → quickstart-SOWZOPAS.js} +5 -5
  80. package/dist/cli/{quickstart-L7CAMJUL.mjs → quickstart-UMZS7HBY.mjs} +3 -3
  81. package/dist/cli/{search-XRVV24KN.mjs → search-5FGZVQSP.mjs} +5 -5
  82. package/dist/cli/search-BDIO4BBH.js +30 -0
  83. package/dist/cli/{secrets-K3BXJVSB.js → secrets-7E2TOVYP.js} +13 -13
  84. package/dist/cli/{secrets-W6IACZAX.mjs → secrets-SACNVEWL.mjs} +4 -4
  85. package/dist/cli/{sessions-CITACQM6.mjs → sessions-5VCX7MYU.mjs} +4 -4
  86. package/dist/cli/{sessions-WX6DSVSN.js → sessions-FNON33JD.js} +5 -5
  87. package/dist/cli/{settings-MQTTUMWY.js → settings-6MYQGDQX.js} +75 -75
  88. package/dist/cli/{settings-W7JDSM35.mjs → settings-EJACNJR4.mjs} +8 -8
  89. package/dist/cli/{setup-EQ64XDNX.mjs → setup-KJ7IADVC.mjs} +7 -7
  90. package/dist/cli/{setup-OWHEIGVW.js → setup-QVEIV4R4.js} +42 -42
  91. package/dist/cli/{skills-5JBRC5OR.mjs → skills-SUV3DJEU.mjs} +5 -5
  92. package/dist/cli/skills-YPH2KNH6.js +29 -0
  93. package/dist/cli/{tools-DIXBDNAX.mjs → tools-H4ZL5QDZ.mjs} +12 -12
  94. package/dist/cli/tools-X23MQMNE.js +44 -0
  95. package/dist/cli/{update-EYIS2XVV.mjs → update-5UGF4334.mjs} +7 -7
  96. package/dist/cli/update-GZOPNTGJ.js +31 -0
  97. package/dist/cli/{workflow-YKFU3E2C.mjs → workflow-RABLQNGO.mjs} +6 -6
  98. package/dist/cli/{workflow-OEKRLGWT.js → workflow-THIBJ3VE.js} +16 -16
  99. package/dist/{client-CBitBZpr.d.ts → client-CPRaigLC.d.ts} +1 -0
  100. package/dist/{client-CTUbBRgg.d.mts → client-DstDI5TV.d.mts} +1 -0
  101. package/dist/index.d.mts +3 -3
  102. package/dist/index.d.ts +3 -3
  103. package/dist/index.js +6 -6
  104. package/dist/index.mjs +3 -3
  105. package/dist/install-integrity.json +80 -80
  106. package/dist/plays/play-description.d.mts +1 -1
  107. package/dist/plays/play-description.d.ts +1 -1
  108. package/dist/plays/run-request.d.mts +1 -1
  109. package/dist/plays/run-request.d.ts +1 -1
  110. package/dist/release.d.mts +1 -1
  111. package/dist/release.d.ts +1 -1
  112. package/dist/release.js +2 -2
  113. package/dist/release.mjs +1 -1
  114. package/package.json +1 -1
  115. package/dist/cli/auth-HUJ3DIQI.js +0 -40
  116. package/dist/cli/git-BH7ZZPCT.js +0 -24
  117. package/dist/cli/search-65KJJGHQ.js +0 -30
  118. package/dist/cli/skills-5AXKZGMJ.js +0 -29
  119. package/dist/cli/tools-EXCJ2QMK.js +0 -44
  120. package/dist/cli/update-KSIVBEIH.js +0 -31
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkPGE4JW7Cjs = require('./chunk-PGE4JW7C.js');
5
+ var _chunk47GRLLV2js = require('./chunk-47GRLLV2.js');
6
6
 
7
7
 
8
- var _chunkTEPZMKN7js = require('./chunk-TEPZMKN7.js');
8
+ var _chunk6TABNDCBjs = require('./chunk-6TABNDCB.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 } = _chunkPGE4JW7Cjs.getAuthedHttpClient.call(void 0, );
35
+ const { http } = _chunk47GRLLV2js.getAuthedHttpClient.call(void 0, );
36
36
  const payload = await http.get(
37
37
  `/api/v2/play-projects${options.all ? "?includeDisabled=1" : ""}`
38
38
  );
39
- _chunkPGE4JW7Cjs.printCommandEnvelope.call(void 0,
39
+ _chunk47GRLLV2js.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 } = _chunkPGE4JW7Cjs.getAuthedHttpClient.call(void 0, );
76
+ const { http } = _chunk47GRLLV2js.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
- _chunkPGE4JW7Cjs.printCommandEnvelope.call(void 0,
139
+ _chunk47GRLLV2js.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 } = _chunkPGE4JW7Cjs.getAuthedHttpClient.call(void 0, );
150
+ const { http } = _chunk47GRLLV2js.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
- _chunkPGE4JW7Cjs.printCommandEnvelope.call(void 0,
153
+ _chunk47GRLLV2js.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 } = _chunkPGE4JW7Cjs.getAuthedHttpClient.call(void 0, );
174
+ const { http } = _chunk47GRLLV2js.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 } = _chunkPGE4JW7Cjs.getAuthedHttpClient.call(void 0, );
191
+ const { http } = _chunk47GRLLV2js.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
- _chunkPGE4JW7Cjs.printCommandEnvelope.call(void 0,
200
+ _chunk47GRLLV2js.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 } = _chunkPGE4JW7Cjs.getAuthedHttpClient.call(void 0, );
223
+ const { http } = _chunk47GRLLV2js.getAuthedHttpClient.call(void 0, );
224
224
  const payload = await http.get(
225
225
  `/api/v2/play-projects/${encodeURIComponent(id)}`
226
226
  );
227
- _chunkPGE4JW7Cjs.printCommandEnvelope.call(void 0,
227
+ _chunk47GRLLV2js.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 } = _chunkPGE4JW7Cjs.getAuthedHttpClient.call(void 0, );
243
+ const { http } = _chunk47GRLLV2js.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
- _chunkPGE4JW7Cjs.printCommandEnvelope.call(void 0,
254
+ _chunk47GRLLV2js.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 } = _chunkPGE4JW7Cjs.getAuthedHttpClient.call(void 0, );
267
+ const { http } = _chunk47GRLLV2js.getAuthedHttpClient.call(void 0, );
268
268
  await http.delete(`/api/v2/play-projects/${encodeURIComponent(id)}`);
269
- _chunkPGE4JW7Cjs.printCommandEnvelope.call(void 0,
269
+ _chunk47GRLLV2js.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 = _chunkTEPZMKN7js.resolveBaseUrlOnly.call(void 0, );
289
+ const baseUrl = _chunk6TABNDCBjs.resolveBaseUrlOnly.call(void 0, );
290
290
  const connectUrl = `${baseUrl.replace(/\/$/, "")}/api/v2/github/connect`;
291
- const opened = _chunkPGE4JW7Cjs.openInBrowser.call(void 0, connectUrl);
292
- _chunkPGE4JW7Cjs.printCommandEnvelope.call(void 0,
291
+ const opened = _chunk47GRLLV2js.openInBrowser.call(void 0, connectUrl);
292
+ _chunk47GRLLV2js.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 } = _chunkPGE4JW7Cjs.getAuthedHttpClient.call(void 0, );
314
+ const { http } = _chunk47GRLLV2js.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
- _chunkPGE4JW7Cjs.printCommandEnvelope.call(void 0,
322
+ _chunk47GRLLV2js.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 } = _chunkPGE4JW7Cjs.getAuthedHttpClient.call(void 0, );
366
+ const { http } = _chunk47GRLLV2js.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
- _chunkPGE4JW7Cjs.printCommandEnvelope.call(void 0,
371
+ _chunk47GRLLV2js.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 } = _chunkPGE4JW7Cjs.getAuthedHttpClient.call(void 0, );
390
+ const { http } = _chunk47GRLLV2js.getAuthedHttpClient.call(void 0, );
391
391
  const payload = await http.post(`/api/v2/deployments/${encodeURIComponent(id)}/cancel`, {});
392
- _chunkPGE4JW7Cjs.printCommandEnvelope.call(void 0,
392
+ _chunk47GRLLV2js.printCommandEnvelope.call(void 0,
393
393
  {
394
394
  cancelled: payload.cancelled,
395
395
  deployment: payload.deployment,
@@ -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.448",
52
+ version: "0.3.450",
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."
@@ -28,7 +28,7 @@ var _chunkKXMNM4AQjs = require('./chunk-KXMNM4AQ.js');
28
28
 
29
29
 
30
30
 
31
- var _chunkTEPZMKN7js = require('./chunk-TEPZMKN7.js');
31
+ var _chunk6TABNDCBjs = require('./chunk-6TABNDCB.js');
32
32
 
33
33
 
34
34
  var _chunkALJJRZNJjs = require('./chunk-ALJJRZNJ.js');
@@ -647,7 +647,7 @@ var ToolCalls = class {
647
647
  idempotencyKey,
648
648
  onResponse: (response2) => {
649
649
  lastResponse = null;
650
- atomicToolsSupported = response2.headers.get(_chunkTEPZMKN7js.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
650
+ atomicToolsSupported = response2.headers.get(_chunk6TABNDCBjs.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
651
651
  recoverySupported = response2.headers.get("X-Deepline-Idempotency-Supported") === "true";
652
652
  if (_optionalChain([options, 'optionalAccess', _29 => _29.onServerTiming])) {
653
653
  try {
@@ -997,8 +997,8 @@ function runtimeSelectionHeaders(runtime, env) {
997
997
  }
998
998
  const receivers = _optionalChain([env, 'access', _51 => _51.DEEPLINE_RUNTIME_RETAINED_PIPELINE_RECEIVERS, 'optionalAccess', _52 => _52.trim, 'call', _53 => _53()]);
999
999
  return {
1000
- [_chunkTEPZMKN7js.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1001
- ...receivers ? { [_chunkTEPZMKN7js.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1000
+ [_chunk6TABNDCBjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1001
+ ...receivers ? { [_chunk6TABNDCBjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1002
1002
  };
1003
1003
  }
1004
1004
  function normalizeTestPolicyOverrides(value, source) {
@@ -1069,7 +1069,7 @@ var PlayClient = class {
1069
1069
  return _chunkJKVRBCZLjs.startPlayRun.call(void 0,
1070
1070
  this.http,
1071
1071
  resolved.request,
1072
- _optionalChain([options, 'optionalAccess', _61 => _61.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunkTEPZMKN7js.SDK_API_MAJOR) } : headers,
1072
+ _optionalChain([options, 'optionalAccess', _61 => _61.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunk6TABNDCBjs.SDK_API_MAJOR) } : headers,
1073
1073
  options
1074
1074
  );
1075
1075
  }
@@ -1135,9 +1135,9 @@ var PlayClient = class {
1135
1135
  }
1136
1136
  };
1137
1137
  function createPlayClient(options) {
1138
- const config = _chunkTEPZMKN7js.resolveConfig.call(void 0, options);
1138
+ const config = _chunk6TABNDCBjs.resolveConfig.call(void 0, options);
1139
1139
  return new PlayClient(
1140
- new (0, _chunkTEPZMKN7js.HttpClient)(config),
1140
+ new (0, _chunk6TABNDCBjs.HttpClient)(config),
1141
1141
  _nullishCoalesce(config.environment, () => ( process.env))
1142
1142
  );
1143
1143
  }
@@ -3151,7 +3151,7 @@ function isolatedCiRuntimeEventReadHeaders(env) {
3151
3151
  "RUNTIME_EVENT_INTERNAL_TOKEN_REQUIRED"
3152
3152
  );
3153
3153
  }
3154
- return { [_chunkTEPZMKN7js.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3154
+ return { [_chunk6TABNDCBjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3155
3155
  }
3156
3156
  function sleep(ms) {
3157
3157
  return new Promise((resolve) => setTimeout(resolve, ms));
@@ -3389,9 +3389,9 @@ var DeeplineClient = (_class = class _DeeplineClient {
3389
3389
  * @throws {@link ConfigError} if no API key can be resolved from any source.
3390
3390
  */
3391
3391
  constructor(options) {
3392
- this.config = _chunkTEPZMKN7js.resolveConfig.call(void 0, options);
3392
+ this.config = _chunk6TABNDCBjs.resolveConfig.call(void 0, options);
3393
3393
  this.environment = _nullishCoalesce(this.config.environment, () => ( process.env));
3394
- this.http = new (0, _chunkTEPZMKN7js.HttpClient)(this.config);
3394
+ this.http = new (0, _chunk6TABNDCBjs.HttpClient)(this.config);
3395
3395
  this.playClient = new PlayClient(this.http, this.environment);
3396
3396
  this.toolCalls = new ToolCalls(
3397
3397
  this.http,
@@ -4,18 +4,18 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkZ6SRBSI2js = require('./chunk-Z6SRBSI2.js');
7
+ var _chunkVYMLYV2Kjs = require('./chunk-VYMLYV2K.js');
8
8
 
9
9
 
10
- var _chunkPVNPEQCMjs = require('./chunk-PVNPEQCM.js');
10
+ var _chunkNSIOVSNZjs = require('./chunk-NSIOVSNZ.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkPGE4JW7Cjs = require('./chunk-PGE4JW7C.js');
14
+ var _chunk47GRLLV2js = require('./chunk-47GRLLV2.js');
15
15
 
16
16
 
17
17
 
18
- var _chunkTEPZMKN7js = require('./chunk-TEPZMKN7.js');
18
+ var _chunk6TABNDCBjs = require('./chunk-6TABNDCB.js');
19
19
 
20
20
  // src/cli/compatibility-catalog.ts
21
21
  var readers = /* @__PURE__ */ new WeakMap();
@@ -42,7 +42,7 @@ function trustedAutoUpdateRegistryUrl(baseUrl) {
42
42
  async function reportAutoUpdateEvent(input) {
43
43
  let apiKey = "";
44
44
  try {
45
- apiKey = _chunkTEPZMKN7js.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
45
+ apiKey = _chunk6TABNDCBjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
46
46
  } catch (e2) {
47
47
  return;
48
48
  }
@@ -58,15 +58,15 @@ async function reportAutoUpdateEvent(input) {
58
58
  headers: {
59
59
  Authorization: `Bearer ${apiKey}`,
60
60
  "Content-Type": "application/json",
61
- "User-Agent": `deepline-ts-sdk/${_chunkTEPZMKN7js.SDK_VERSION}`,
61
+ "User-Agent": `deepline-ts-sdk/${_chunk6TABNDCBjs.SDK_VERSION}`,
62
62
  "X-Deepline-Client-Family": "sdk",
63
63
  "X-Deepline-CLI-Family": "sdk",
64
- "X-Deepline-CLI-Version": _chunkTEPZMKN7js.SDK_VERSION,
65
- "X-Deepline-SDK-Version": _chunkTEPZMKN7js.SDK_VERSION
64
+ "X-Deepline-CLI-Version": _chunk6TABNDCBjs.SDK_VERSION,
65
+ "X-Deepline-SDK-Version": _chunk6TABNDCBjs.SDK_VERSION
66
66
  },
67
67
  body: JSON.stringify({
68
68
  event: input.event,
69
- current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkTEPZMKN7js.SDK_VERSION,
69
+ current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunk6TABNDCBjs.SDK_VERSION,
70
70
  target_version: input.response.latest,
71
71
  reason: _optionalChain([input, 'access', _8 => _8.response, 'access', _9 => _9.auto_update, 'optionalAccess', _10 => _10.reason]),
72
72
  command: _nullishCoalesce(input.response.command, () => ( null)),
@@ -85,13 +85,13 @@ function envTruthy(name) {
85
85
  return value === "1" || value === "true" || value === "yes";
86
86
  }
87
87
  function shouldSkipSelfUpdate(policy) {
88
- return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunkZ6SRBSI2js.shouldRunCliAutoUpdate.call(void 0, ) || _chunkPVNPEQCMjs.isCiEnvironment.call(void 0, );
88
+ return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunkVYMLYV2Kjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkNSIOVSNZjs.isCiEnvironment.call(void 0, );
89
89
  }
90
90
  function isDowngradeAutoUpdateResponse(response) {
91
91
  const target = _optionalChain([response, 'optionalAccess', _17 => _17.latest, 'optionalAccess', _18 => _18.trim, 'call', _19 => _19()]);
92
- const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunkTEPZMKN7js.SDK_VERSION;
92
+ const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunk6TABNDCBjs.SDK_VERSION;
93
93
  if (!target) return false;
94
- return _chunkZ6SRBSI2js.compareUpdateVersions.call(void 0, target, current) < 0;
94
+ return _chunkVYMLYV2Kjs.compareUpdateVersions.call(void 0, target, current) < 0;
95
95
  }
96
96
  function relaunchCurrentCommand(plan, runtime = {}) {
97
97
  return new Promise((resolve) => {
@@ -144,7 +144,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
144
144
  }
145
145
  if (isDowngradeAutoUpdateResponse(response)) {
146
146
  const target = response.latest;
147
- const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunkTEPZMKN7js.SDK_VERSION;
147
+ const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunk6TABNDCBjs.SDK_VERSION;
148
148
  process.stderr.write(
149
149
  `Deepline SDK/CLI auto-update refused: server advertised older ${target} than current ${current}. Continuing without mutating the CLI.
150
150
  `
@@ -152,21 +152,21 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
152
152
  return false;
153
153
  }
154
154
  const packageSpec = response.latest ? `deepline@${response.latest}` : void 0;
155
- const plan = _chunkZ6SRBSI2js.resolveUpdatePlan.call(void 0, {
155
+ const plan = _chunkVYMLYV2Kjs.resolveUpdatePlan.call(void 0, {
156
156
  packageSpec,
157
157
  requireVerifiedNpmOwnership: true,
158
158
  npmFallbackRegistryUrl: trustedAutoUpdateRegistryUrl(baseUrl)
159
159
  });
160
- if (!_chunkZ6SRBSI2js.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
160
+ if (!_chunkVYMLYV2Kjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
161
161
  return false;
162
162
  }
163
163
  if (!autoUpdate.required && autoUpdate.reason !== "rollback_forced") {
164
164
  deferredAutoUpdate = async () => {
165
165
  await applyAutoUpdate(response, baseUrl, plan, "next_command");
166
166
  };
167
- if (_chunkPGE4JW7Cjs.isJsonOutputMode.call(void 0, )) {
167
+ if (_chunk47GRLLV2js.isJsonOutputMode.call(void 0, )) {
168
168
  const target = _optionalChain([response, 'access', _29 => _29.latest, 'optionalAccess', _30 => _30.trim, 'call', _31 => _31()]);
169
- _chunkPGE4JW7Cjs.addJsonNotice.call(void 0, {
169
+ _chunk47GRLLV2js.addJsonNotice.call(void 0, {
170
170
  code: "sdk_update_queued",
171
171
  message: `Deepline SDK/CLI update${target ? ` to ${target}` : ""} is queued after this command; the next command will use it if installation succeeds.`
172
172
  });
@@ -179,7 +179,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
179
179
  return true;
180
180
  }
181
181
  async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
182
- if (!_chunkZ6SRBSI2js.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
182
+ if (!_chunkVYMLYV2Kjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
183
183
  const autoUpdate = response.auto_update;
184
184
  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";
185
185
  process.stderr.write(
@@ -192,7 +192,7 @@ async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
192
192
  event: "started",
193
193
  installKind: plan.kind
194
194
  });
195
- const updateResult = await _chunkZ6SRBSI2js.runAutomaticUpdatePlan.call(void 0, plan);
195
+ const updateResult = await _chunkVYMLYV2Kjs.runAutomaticUpdatePlan.call(void 0, plan);
196
196
  if (updateResult.status === "skipped_previous_failure") {
197
197
  void reportAutoUpdateEvent({
198
198
  baseUrl,
@@ -243,7 +243,7 @@ var _crypto = require('crypto');
243
243
  var TOOL_EXECUTE_PROGRESS_INTERVAL_MS = 15e3;
244
244
  var activeToolExecuteCommand = null;
245
245
  function progressLine(line) {
246
- if (!_chunkPGE4JW7Cjs.isJsonOutputMode.call(void 0, )) console.error(line);
246
+ if (!_chunk47GRLLV2js.isJsonOutputMode.call(void 0, )) console.error(line);
247
247
  }
248
248
  function beginToolExecuteCommand() {
249
249
  if (activeToolExecuteCommand) return activeToolExecuteCommand.invocationId;
@@ -2,7 +2,7 @@ import {
2
2
  argsWantJson,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-XM6A4V77.mjs";
5
+ } from "./chunk-4Z356NPN.mjs";
6
6
  import {
7
7
  ACTIVE_ORG_ID_ENV,
8
8
  ACTIVE_ORG_NAME_ENV,
@@ -25,7 +25,7 @@ import {
25
25
  saveHostEnvValues,
26
26
  saveProjectDeeplineEnvValues,
27
27
  storedHostApiKey
28
- } from "./chunk-2BKTT44A.mjs";
28
+ } from "./chunk-5R7YPB5X.mjs";
29
29
 
30
30
  // src/cli/commands/auth.ts
31
31
  import {