deepline 0.3.431 → 0.3.433

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 (117) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/monitors/billing/credit-recovery.ts +97 -6
  3. package/dist/bundling-sources/shared_libs/monitors/billing/state.ts +33 -0
  4. package/dist/bundling-sources/shared_libs/monitors/deactivation-reasons.ts +94 -10
  5. package/dist/bundling-sources/shared_libs/monitors/signal-radars/inbound-dead-letter.ts +46 -2
  6. package/dist/bundling-sources/shared_libs/monitors/signal-radars/inbound-message.ts +4 -0
  7. package/dist/bundling-sources/shared_libs/observability/queue-health.ts +4 -4
  8. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +36 -0
  9. package/dist/bundling-sources/shared_libs/product-notifications/catalog.ts +95 -8
  10. package/dist/bundling-sources/shared_libs/product-notifications/default-policy.ts +1 -1
  11. package/dist/bundling-sources/shared_libs/product-notifications/events.ts +5 -1
  12. package/dist/cli/{auth-C4O2LOMP.mjs → auth-5LF5G3Z2.mjs} +4 -4
  13. package/dist/cli/auth-FGHYE2JG.js +40 -0
  14. package/dist/cli/{billing-KJWTSINT.mjs → billing-I7ZADV7D.mjs} +4 -4
  15. package/dist/cli/{billing-RSZCFJLQ.js → billing-M34SJBAB.js} +73 -73
  16. package/dist/cli/{chunk-PMEMHRBA.mjs → chunk-2TNGO4DZ.mjs} +5 -4
  17. package/dist/cli/{chunk-DCEMKJAM.mjs → chunk-3C25DYSE.mjs} +3 -3
  18. package/dist/cli/{chunk-ZFZB3J6X.mjs → chunk-3CZEDR4K.mjs} +5 -5
  19. package/dist/cli/{chunk-II2W3O4Z.mjs → chunk-3ET2ZKZS.mjs} +1 -1
  20. package/dist/cli/{chunk-727ZKS55.mjs → chunk-42JTV4IM.mjs} +1 -1
  21. package/dist/cli/{chunk-E36ZD6WX.js → chunk-6R6SQQGQ.js} +4 -4
  22. package/dist/cli/{chunk-7H2VOSMU.mjs → chunk-B3XEZMYS.mjs} +8 -8
  23. package/dist/cli/{chunk-IZIKOENG.mjs → chunk-BSQH4V3Y.mjs} +1 -1
  24. package/dist/cli/{chunk-Y4YTLJOY.js → chunk-CXGNMAFV.js} +16 -16
  25. package/dist/cli/{chunk-VFEB52MK.js → chunk-DAEODAWB.js} +35 -35
  26. package/dist/cli/{chunk-YMVDYAH6.js → chunk-FYDPU4QV.js} +26 -26
  27. package/dist/cli/{chunk-XQ6GLQBP.mjs → chunk-G4P74R2F.mjs} +2 -2
  28. package/dist/cli/{chunk-QZZDQRZR.mjs → chunk-GZS6ZB55.mjs} +1 -1
  29. package/dist/cli/{chunk-VCV523UN.mjs → chunk-HAC6SRO5.mjs} +1 -1
  30. package/dist/cli/{chunk-OU7HHXQF.js → chunk-I5CB3UUX.js} +50 -50
  31. package/dist/cli/{chunk-QVCA5NFP.js → chunk-JNX4Y37G.js} +1 -1
  32. package/dist/cli/{chunk-EMXOHRK3.js → chunk-JUZW32YP.js} +8 -8
  33. package/dist/cli/{chunk-X6YQF3UF.js → chunk-KAWPJNUO.js} +20 -20
  34. package/dist/cli/{chunk-FNYEER22.js → chunk-KQ5VO34X.js} +10 -10
  35. package/dist/cli/{chunk-H37US5PT.js → chunk-N5VOE6KZ.js} +6 -6
  36. package/dist/cli/{chunk-C5ATRVQJ.js → chunk-O7X44YGX.js} +10 -9
  37. package/dist/cli/{chunk-VIA6YQI7.js → chunk-PKOCM6JB.js} +52 -52
  38. package/dist/cli/{chunk-5FE6L6K7.mjs → chunk-PM3DL6YP.mjs} +3 -3
  39. package/dist/cli/{chunk-LVO7M2MG.mjs → chunk-PRA2CG4B.mjs} +1 -1
  40. package/dist/cli/{chunk-MIGX46JW.js → chunk-T77HG3R7.js} +2 -2
  41. package/dist/cli/{chunk-4MUENWMZ.mjs → chunk-UAUHERWW.mjs} +2 -2
  42. package/dist/cli/{chunk-CAJT43U2.js → chunk-UDJXL4SM.js} +79 -79
  43. package/dist/cli/{chunk-CZ4JZP2F.mjs → chunk-VMCJGLJL.mjs} +2 -2
  44. package/dist/cli/{chunk-UE34XUXS.js → chunk-WVCAELST.js} +6 -6
  45. package/dist/cli/{chunk-K5M4OOJJ.mjs → chunk-XSEQLAHE.mjs} +2 -2
  46. package/dist/cli/{chunk-FNHIJPQ6.mjs → chunk-YBSOJ6D4.mjs} +4 -4
  47. package/dist/cli/{chunk-24FMUK3P.js → chunk-ZMRP5UXN.js} +2 -2
  48. package/dist/cli/{csv-AFWU7THX.mjs → csv-3TCORDI3.mjs} +3 -3
  49. package/dist/cli/{csv-R7BRVDCD.js → csv-R5I5ZWSC.js} +12 -12
  50. package/dist/cli/{db-VWE6GS7Z.js → db-BXEK3WX2.js} +25 -25
  51. package/dist/cli/{db-4DDGZWIG.mjs → db-D7NC4XAM.mjs} +4 -4
  52. package/dist/cli/{describe-VPSIS7MQ.js → describe-LSOFG74H.js} +16 -16
  53. package/dist/cli/{describe-O4H6N4EO.mjs → describe-SXYZTJQ5.mjs} +12 -12
  54. package/dist/cli/describe-core.d.mts +1 -1
  55. package/dist/cli/describe-core.d.ts +1 -1
  56. package/dist/cli/{executions-LHNWIQDR.js → executions-BF5YRFHH.js} +6 -6
  57. package/dist/cli/{executions-BLF6JAAZ.mjs → executions-ULXJPGV4.mjs} +4 -4
  58. package/dist/cli/{feedback-6BNBRU3O.mjs → feedback-6FJOHQJB.mjs} +3 -3
  59. package/dist/cli/{feedback-YJ6EB3JH.js → feedback-VJM56OFG.js} +7 -7
  60. package/dist/cli/git-TSBBSAK3.js +24 -0
  61. package/dist/cli/{git-TCLUOJU7.mjs → git-WGZMHPW3.mjs} +4 -4
  62. package/dist/cli/index.js +131 -131
  63. package/dist/cli/index.mjs +36 -36
  64. package/dist/cli/{legacy-noops-6ZKNRJBD.mjs → legacy-noops-EVFQBQ6H.mjs} +4 -4
  65. package/dist/cli/{legacy-noops-4KXLXXFC.js → legacy-noops-ZRDESRRJ.js} +7 -7
  66. package/dist/cli/{monitors-5XJIT3GU.mjs → monitors-4PMVB7RD.mjs} +4 -4
  67. package/dist/cli/{monitors-6U3WH74P.js → monitors-FR4OSX77.js} +84 -84
  68. package/dist/cli/{org-6LAFFTIE.js → org-HSY6TVRI.js} +64 -64
  69. package/dist/cli/{org-QZZL2WO2.mjs → org-QBENPGXU.mjs} +4 -4
  70. package/dist/cli/{play-7KDM3QTU.mjs → play-7O7GXOWT.mjs} +10 -10
  71. package/dist/cli/{play-CCDHG3GT.js → play-JSY4OSLN.js} +283 -283
  72. package/dist/cli/{providers-WEYDXXND.mjs → providers-76OM5TQ7.mjs} +4 -4
  73. package/dist/cli/{providers-VUNDMKOF.js → providers-RLLSVNR6.js} +7 -7
  74. package/dist/cli/{quickstart-ABTQUOYC.js → quickstart-MZZDW6VC.js} +5 -5
  75. package/dist/cli/{quickstart-UAWZJ52P.mjs → quickstart-UHB5GNJV.mjs} +3 -3
  76. package/dist/cli/search-GCMZS6IK.js +30 -0
  77. package/dist/cli/{search-VTEFQWX4.mjs → search-X5P34RAU.mjs} +5 -5
  78. package/dist/cli/{secrets-ZSMBJJAU.js → secrets-EKVWSDQT.js} +13 -13
  79. package/dist/cli/{secrets-FKGXGVTS.mjs → secrets-L43HK4A6.mjs} +4 -4
  80. package/dist/cli/{sessions-RXJZVW7N.js → sessions-IPV23HXJ.js} +5 -5
  81. package/dist/cli/{sessions-ZWTSTLOZ.mjs → sessions-QPK5NPXO.mjs} +4 -4
  82. package/dist/cli/{settings-ULIRON4N.js → settings-5CJ6SMAN.js} +75 -75
  83. package/dist/cli/{settings-2TYYFRK2.mjs → settings-NF4VMLGN.mjs} +8 -8
  84. package/dist/cli/{setup-PRTFVHWH.mjs → setup-3JVUB4V6.mjs} +7 -7
  85. package/dist/cli/{setup-D6PIAKTH.js → setup-FHK6S4JC.js} +42 -42
  86. package/dist/cli/{skills-S6LAHWZZ.mjs → skills-HZLL2C7G.mjs} +5 -5
  87. package/dist/cli/skills-U2R75N5D.js +29 -0
  88. package/dist/cli/tools-N57LENEU.js +44 -0
  89. package/dist/cli/{tools-3QL4GWQI.mjs → tools-TG5SDGNS.mjs} +12 -12
  90. package/dist/cli/{update-MH6Z5UL7.mjs → update-4UZ6PUZK.mjs} +7 -7
  91. package/dist/cli/update-WYEO75YZ.js +31 -0
  92. package/dist/cli/{workflow-YSIK4DXK.mjs → workflow-FAJY6TR4.mjs} +5 -5
  93. package/dist/cli/{workflow-ECWHO7I5.js → workflow-UTPL4KIF.js} +15 -15
  94. package/dist/{client-C0VoQB5b.d.ts → client-CgmfMj_N.d.ts} +73 -4
  95. package/dist/{client-BuCrTjW6.d.mts → client-DIY1WpSW.d.mts} +73 -4
  96. package/dist/index.d.mts +2 -2
  97. package/dist/index.d.ts +2 -2
  98. package/dist/index.js +6 -6
  99. package/dist/index.mjs +3 -3
  100. package/dist/install-integrity.json +80 -80
  101. package/dist/plays/play-description.d.mts +1 -1
  102. package/dist/plays/play-description.d.ts +1 -1
  103. package/dist/plays/run-request.d.mts +1 -1
  104. package/dist/plays/run-request.d.ts +1 -1
  105. package/dist/release.d.mts +1 -1
  106. package/dist/release.d.ts +1 -1
  107. package/dist/release.js +2 -2
  108. package/dist/release.mjs +1 -1
  109. package/dist/viewer/viewer.css +4 -0
  110. package/dist/viewer/viewer.js +19 -3
  111. package/package.json +1 -1
  112. package/dist/cli/auth-IJQWGGCT.js +0 -40
  113. package/dist/cli/git-OVSSGF57.js +0 -24
  114. package/dist/cli/search-44L5VX4Q.js +0 -30
  115. package/dist/cli/skills-5YWEURZ2.js +0 -29
  116. package/dist/cli/tools-UE45QLRH.js +0 -44
  117. package/dist/cli/update-J5DUS5I6.js +0 -31
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkH37US5PTjs = require('./chunk-H37US5PT.js');
5
+ var _chunkN5VOE6KZjs = require('./chunk-N5VOE6KZ.js');
6
6
 
7
7
 
8
- var _chunkE36ZD6WXjs = require('./chunk-E36ZD6WX.js');
8
+ var _chunk6R6SQQGQjs = require('./chunk-6R6SQQGQ.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 } = _chunkH37US5PTjs.getAuthedHttpClient.call(void 0, );
35
+ const { http } = _chunkN5VOE6KZjs.getAuthedHttpClient.call(void 0, );
36
36
  const payload = await http.get(
37
37
  `/api/v2/play-projects${options.all ? "?includeDisabled=1" : ""}`
38
38
  );
39
- _chunkH37US5PTjs.printCommandEnvelope.call(void 0,
39
+ _chunkN5VOE6KZjs.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 } = _chunkH37US5PTjs.getAuthedHttpClient.call(void 0, );
76
+ const { http } = _chunkN5VOE6KZjs.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
- _chunkH37US5PTjs.printCommandEnvelope.call(void 0,
139
+ _chunkN5VOE6KZjs.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 } = _chunkH37US5PTjs.getAuthedHttpClient.call(void 0, );
150
+ const { http } = _chunkN5VOE6KZjs.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
- _chunkH37US5PTjs.printCommandEnvelope.call(void 0,
153
+ _chunkN5VOE6KZjs.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 } = _chunkH37US5PTjs.getAuthedHttpClient.call(void 0, );
174
+ const { http } = _chunkN5VOE6KZjs.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 } = _chunkH37US5PTjs.getAuthedHttpClient.call(void 0, );
191
+ const { http } = _chunkN5VOE6KZjs.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
- _chunkH37US5PTjs.printCommandEnvelope.call(void 0,
200
+ _chunkN5VOE6KZjs.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 } = _chunkH37US5PTjs.getAuthedHttpClient.call(void 0, );
223
+ const { http } = _chunkN5VOE6KZjs.getAuthedHttpClient.call(void 0, );
224
224
  const payload = await http.get(
225
225
  `/api/v2/play-projects/${encodeURIComponent(id)}`
226
226
  );
227
- _chunkH37US5PTjs.printCommandEnvelope.call(void 0,
227
+ _chunkN5VOE6KZjs.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 } = _chunkH37US5PTjs.getAuthedHttpClient.call(void 0, );
243
+ const { http } = _chunkN5VOE6KZjs.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
- _chunkH37US5PTjs.printCommandEnvelope.call(void 0,
254
+ _chunkN5VOE6KZjs.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 } = _chunkH37US5PTjs.getAuthedHttpClient.call(void 0, );
267
+ const { http } = _chunkN5VOE6KZjs.getAuthedHttpClient.call(void 0, );
268
268
  await http.delete(`/api/v2/play-projects/${encodeURIComponent(id)}`);
269
- _chunkH37US5PTjs.printCommandEnvelope.call(void 0,
269
+ _chunkN5VOE6KZjs.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 = _chunkE36ZD6WXjs.resolveBaseUrlOnly.call(void 0, );
289
+ const baseUrl = _chunk6R6SQQGQjs.resolveBaseUrlOnly.call(void 0, );
290
290
  const connectUrl = `${baseUrl.replace(/\/$/, "")}/api/v2/github/connect`;
291
- const opened = _chunkH37US5PTjs.openInBrowser.call(void 0, connectUrl);
292
- _chunkH37US5PTjs.printCommandEnvelope.call(void 0,
291
+ const opened = _chunkN5VOE6KZjs.openInBrowser.call(void 0, connectUrl);
292
+ _chunkN5VOE6KZjs.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 } = _chunkH37US5PTjs.getAuthedHttpClient.call(void 0, );
314
+ const { http } = _chunkN5VOE6KZjs.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
- _chunkH37US5PTjs.printCommandEnvelope.call(void 0,
322
+ _chunkN5VOE6KZjs.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 } = _chunkH37US5PTjs.getAuthedHttpClient.call(void 0, );
366
+ const { http } = _chunkN5VOE6KZjs.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
- _chunkH37US5PTjs.printCommandEnvelope.call(void 0,
371
+ _chunkN5VOE6KZjs.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 } = _chunkH37US5PTjs.getAuthedHttpClient.call(void 0, );
390
+ const { http } = _chunkN5VOE6KZjs.getAuthedHttpClient.call(void 0, );
391
391
  const payload = await http.post(`/api/v2/deployments/${encodeURIComponent(id)}/cancel`, {});
392
- _chunkH37US5PTjs.printCommandEnvelope.call(void 0,
392
+ _chunkN5VOE6KZjs.printCommandEnvelope.call(void 0,
393
393
  {
394
394
  cancelled: payload.cancelled,
395
395
  deployment: payload.deployment,
@@ -2,7 +2,7 @@ import {
2
2
  argsWantJson,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-VCV523UN.mjs";
5
+ } from "./chunk-HAC6SRO5.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-II2W3O4Z.mjs";
28
+ } from "./chunk-3ET2ZKZS.mjs";
29
29
 
30
30
  // src/cli/commands/auth.ts
31
31
  import {
@@ -28,7 +28,7 @@ import {
28
28
  RUNTIME_ENVIRONMENT_TOKEN_HEADER,
29
29
  SDK_API_MAJOR,
30
30
  resolveConfig
31
- } from "./chunk-II2W3O4Z.mjs";
31
+ } from "./chunk-3ET2ZKZS.mjs";
32
32
  import {
33
33
  CustomerDbQueryOutcomeUnknownError
34
34
  } from "./chunk-MAMVGOSC.mjs";
@@ -3,7 +3,7 @@ import {
3
3
  detectAgentRuntime,
4
4
  resolveCliCommandContext,
5
5
  resolveConfig
6
- } from "./chunk-II2W3O4Z.mjs";
6
+ } from "./chunk-3ET2ZKZS.mjs";
7
7
  import {
8
8
  DeeplineError,
9
9
  serializeToolExecutionFailure
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkH37US5PTjs = require('./chunk-H37US5PT.js');
5
+ var _chunkN5VOE6KZjs = require('./chunk-N5VOE6KZ.js');
6
6
 
7
7
 
8
8
 
@@ -25,7 +25,7 @@ var _chunkH37US5PTjs = require('./chunk-H37US5PT.js');
25
25
 
26
26
 
27
27
 
28
- var _chunkE36ZD6WXjs = require('./chunk-E36ZD6WX.js');
28
+ var _chunk6R6SQQGQjs = require('./chunk-6R6SQQGQ.js');
29
29
 
30
30
  // src/cli/commands/auth.ts
31
31
 
@@ -52,7 +52,7 @@ function statusBannerLine(value) {
52
52
  return `Service notice: ${banner.message}`;
53
53
  }
54
54
  function envFilePath(baseUrl) {
55
- return _chunkE36ZD6WXjs.hostEnvFilePath.call(void 0, baseUrl);
55
+ return _chunk6R6SQQGQjs.hostEnvFilePath.call(void 0, baseUrl);
56
56
  }
57
57
  function normalizeAuthScope(value) {
58
58
  if (!value || value === "global") return "global";
@@ -65,7 +65,7 @@ function parseAuthScope(args) {
65
65
  }
66
66
  function pendingClaimPath(baseUrl, scope) {
67
67
  if (scope === "folder") {
68
- const target = _chunkE36ZD6WXjs.resolveProjectPinTarget.call(void 0, );
68
+ const target = _chunk6R6SQQGQjs.resolveProjectPinTarget.call(void 0, );
69
69
  if (!target.ok) {
70
70
  throw new Error(
71
71
  `Cowork project folder is ambiguous. Candidate folders: ${target.candidates.join(
@@ -75,10 +75,10 @@ function pendingClaimPath(baseUrl, scope) {
75
75
  }
76
76
  return _path.join.call(void 0, target.dir, ".deepline", "setup", "pending-auth.json");
77
77
  }
78
- return `${_chunkE36ZD6WXjs.hostConfigDirPath.call(void 0, baseUrl)}/pending-auth.json`;
78
+ return `${_chunk6R6SQQGQjs.hostConfigDirPath.call(void 0, baseUrl)}/pending-auth.json`;
79
79
  }
80
80
  function legacyPendingClaimTokenPath(baseUrl) {
81
- return `${_chunkE36ZD6WXjs.hostConfigDirPath.call(void 0, baseUrl)}/pending-claim-token`;
81
+ return `${_chunk6R6SQQGQjs.hostConfigDirPath.call(void 0, baseUrl)}/pending-claim-token`;
82
82
  }
83
83
  function savePendingClaim(baseUrl, claim) {
84
84
  const filePath = pendingClaimPath(baseUrl, claim.scope);
@@ -180,21 +180,21 @@ function parseRegisterWaitMode(args) {
180
180
  function shouldWaitForRegisterClaim(mode) {
181
181
  if (mode === "yes") return true;
182
182
  if (mode === "no") return false;
183
- return _chunkE36ZD6WXjs.detectAgentRuntime.call(void 0, ) !== "claude_cowork";
183
+ return _chunk6R6SQQGQjs.detectAgentRuntime.call(void 0, ) !== "claude_cowork";
184
184
  }
185
185
  function saveEnvValues(values, baseUrl, scope) {
186
186
  const filtered = {
187
- ...values[_chunkE36ZD6WXjs.HOST_URL_ENV] ? { [_chunkE36ZD6WXjs.HOST_URL_ENV]: values[_chunkE36ZD6WXjs.HOST_URL_ENV] } : {},
188
- ...values[_chunkE36ZD6WXjs.API_KEY_ENV] ? { [_chunkE36ZD6WXjs.API_KEY_ENV]: values[_chunkE36ZD6WXjs.API_KEY_ENV] } : {},
189
- ...values[_chunkE36ZD6WXjs.ACTIVE_ORG_ID_ENV] ? { [_chunkE36ZD6WXjs.ACTIVE_ORG_ID_ENV]: values[_chunkE36ZD6WXjs.ACTIVE_ORG_ID_ENV] } : {},
190
- ...Object.prototype.hasOwnProperty.call(values, _chunkE36ZD6WXjs.ACTIVE_ORG_NAME_ENV) ? { [_chunkE36ZD6WXjs.ACTIVE_ORG_NAME_ENV]: values[_chunkE36ZD6WXjs.ACTIVE_ORG_NAME_ENV] } : {},
187
+ ...values[_chunk6R6SQQGQjs.HOST_URL_ENV] ? { [_chunk6R6SQQGQjs.HOST_URL_ENV]: values[_chunk6R6SQQGQjs.HOST_URL_ENV] } : {},
188
+ ...values[_chunk6R6SQQGQjs.API_KEY_ENV] ? { [_chunk6R6SQQGQjs.API_KEY_ENV]: values[_chunk6R6SQQGQjs.API_KEY_ENV] } : {},
189
+ ...values[_chunk6R6SQQGQjs.ACTIVE_ORG_ID_ENV] ? { [_chunk6R6SQQGQjs.ACTIVE_ORG_ID_ENV]: values[_chunk6R6SQQGQjs.ACTIVE_ORG_ID_ENV] } : {},
190
+ ...Object.prototype.hasOwnProperty.call(values, _chunk6R6SQQGQjs.ACTIVE_ORG_NAME_ENV) ? { [_chunk6R6SQQGQjs.ACTIVE_ORG_NAME_ENV]: values[_chunk6R6SQQGQjs.ACTIVE_ORG_NAME_ENV] } : {},
191
191
  // An explicit empty list must reach the store: it clears a stale line.
192
- ...Object.prototype.hasOwnProperty.call(values, _chunkE36ZD6WXjs.FEATURES_ENV) ? { [_chunkE36ZD6WXjs.FEATURES_ENV]: values[_chunkE36ZD6WXjs.FEATURES_ENV] } : {}
192
+ ...Object.prototype.hasOwnProperty.call(values, _chunk6R6SQQGQjs.FEATURES_ENV) ? { [_chunk6R6SQQGQjs.FEATURES_ENV]: values[_chunk6R6SQQGQjs.FEATURES_ENV] } : {}
193
193
  };
194
194
  if (scope === "folder") {
195
- _chunkE36ZD6WXjs.saveProjectDeeplineEnvValues.call(void 0, filtered);
195
+ _chunk6R6SQQGQjs.saveProjectDeeplineEnvValues.call(void 0, filtered);
196
196
  } else {
197
- _chunkE36ZD6WXjs.saveHostEnvValues.call(void 0, baseUrl, filtered);
197
+ _chunk6R6SQQGQjs.saveHostEnvValues.call(void 0, baseUrl, filtered);
198
198
  }
199
199
  }
200
200
  function activeOrgEnvValues(data) {
@@ -202,21 +202,21 @@ function activeOrgEnvValues(data) {
202
202
  if (!orgId) return {};
203
203
  const orgName = typeof data.org_name === "string" ? data.org_name.trim() : "";
204
204
  return {
205
- [_chunkE36ZD6WXjs.ACTIVE_ORG_ID_ENV]: orgId,
206
- [_chunkE36ZD6WXjs.ACTIVE_ORG_NAME_ENV]: orgName,
207
- ..._chunkE36ZD6WXjs.featureEnvValues.call(void 0, data)
205
+ [_chunk6R6SQQGQjs.ACTIVE_ORG_ID_ENV]: orgId,
206
+ [_chunk6R6SQQGQjs.ACTIVE_ORG_NAME_ENV]: orgName,
207
+ ..._chunk6R6SQQGQjs.featureEnvValues.call(void 0, data)
208
208
  };
209
209
  }
210
210
  async function httpJson(method, url, apiKey, body, timeoutMs = AUTH_HTTP_TIMEOUT_MS) {
211
211
  const headers = {
212
212
  "Content-Type": "application/json",
213
- "User-Agent": `deepline-ts-sdk/${_chunkE36ZD6WXjs.SDK_VERSION}`,
213
+ "User-Agent": `deepline-ts-sdk/${_chunk6R6SQQGQjs.SDK_VERSION}`,
214
214
  "X-Deepline-Client-Family": "sdk",
215
215
  "X-Deepline-CLI-Family": "sdk",
216
- "X-Deepline-Agent-Runtime": _chunkE36ZD6WXjs.detectAgentRuntime.call(void 0, ),
217
- "X-Deepline-CLI-Version": _chunkE36ZD6WXjs.SDK_VERSION,
218
- "X-Deepline-SDK-Version": _chunkE36ZD6WXjs.SDK_VERSION,
219
- "X-Deepline-API-Contract": _chunkE36ZD6WXjs.SDK_API_CONTRACT
216
+ "X-Deepline-Agent-Runtime": _chunk6R6SQQGQjs.detectAgentRuntime.call(void 0, ),
217
+ "X-Deepline-CLI-Version": _chunk6R6SQQGQjs.SDK_VERSION,
218
+ "X-Deepline-SDK-Version": _chunk6R6SQQGQjs.SDK_VERSION,
219
+ "X-Deepline-API-Contract": _chunk6R6SQQGQjs.SDK_API_CONTRACT
220
220
  };
221
221
  if (apiKey) headers["Authorization"] = `Bearer ${apiKey}`;
222
222
  const bypassToken = _optionalChain([process, 'access', _7 => _7.env, 'access', _8 => _8.VERCEL_PROTECTION_BYPASS_TOKEN, 'optionalAccess', _9 => _9.trim, 'call', _10 => _10()]);
@@ -262,7 +262,7 @@ async function readStatusBanner(baseUrl) {
262
262
  return _optionalChain([response, 'optionalAccess', _11 => _11.status]) === 200 ? _nullishCoalesce(response.data.banner, () => ( null)) : null;
263
263
  }
264
264
  async function reportSetupCompleted(input) {
265
- const apiKey = input.authScope === "folder" ? _chunkE36ZD6WXjs.resolveProjectApiKeyForBaseUrl.call(void 0, input.baseUrl) : _chunkE36ZD6WXjs.resolveGlobalApiKeyForBaseUrl.call(void 0, input.baseUrl);
265
+ const apiKey = input.authScope === "folder" ? _chunk6R6SQQGQjs.resolveProjectApiKeyForBaseUrl.call(void 0, input.baseUrl) : _chunk6R6SQQGQjs.resolveGlobalApiKeyForBaseUrl.call(void 0, input.baseUrl);
266
266
  if (!apiKey) return;
267
267
  try {
268
268
  await httpJson(
@@ -359,7 +359,7 @@ async function printClaimSuccessBanner(baseUrl, apiKey, statusData) {
359
359
  }
360
360
  }
361
361
  async function handleRegister(args) {
362
- const baseUrl = _chunkE36ZD6WXjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
362
+ const baseUrl = _chunk6R6SQQGQjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
363
363
  let orgName = "";
364
364
  let orgId = "";
365
365
  let agentName = "";
@@ -414,19 +414,19 @@ async function handleRegister(args) {
414
414
  });
415
415
  saveEnvValues(
416
416
  {
417
- [_chunkE36ZD6WXjs.HOST_URL_ENV]: baseUrl
417
+ [_chunk6R6SQQGQjs.HOST_URL_ENV]: baseUrl
418
418
  },
419
419
  baseUrl,
420
420
  authScope
421
421
  );
422
422
  }
423
423
  if (claimUrl) {
424
- const shouldOpen = waitMode !== "no" && _chunkE36ZD6WXjs.detectAgentRuntime.call(void 0, ) !== "claude_cowork";
424
+ const shouldOpen = waitMode !== "no" && _chunk6R6SQQGQjs.detectAgentRuntime.call(void 0, ) !== "claude_cowork";
425
425
  console.log(
426
426
  shouldOpen ? " Opening approval page in your browser." : " Open this approval page in your browser:"
427
427
  );
428
428
  console.log(` ${claimUrl}`);
429
- if (shouldOpen) _chunkH37US5PTjs.openInBrowser.call(void 0, claimUrl);
429
+ if (shouldOpen) _chunkN5VOE6KZjs.openInBrowser.call(void 0, claimUrl);
430
430
  }
431
431
  if (data.cli_message) {
432
432
  console.log(String(data.cli_message));
@@ -469,8 +469,8 @@ async function handleRegister(args) {
469
469
  if (apiKey) {
470
470
  saveEnvValues(
471
471
  {
472
- [_chunkE36ZD6WXjs.HOST_URL_ENV]: baseUrl,
473
- [_chunkE36ZD6WXjs.API_KEY_ENV]: apiKey,
472
+ [_chunk6R6SQQGQjs.HOST_URL_ENV]: baseUrl,
473
+ [_chunk6R6SQQGQjs.API_KEY_ENV]: apiKey,
474
474
  ...activeOrgEnvValues(statusData)
475
475
  },
476
476
  baseUrl,
@@ -492,7 +492,7 @@ async function handleRegister(args) {
492
492
  }
493
493
  }
494
494
  async function handleWait(args) {
495
- const baseUrl = _chunkE36ZD6WXjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
495
+ const baseUrl = _chunk6R6SQQGQjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
496
496
  let timeoutSeconds = 300;
497
497
  let requestedScope;
498
498
  if (args.includes("--auth-scope")) {
@@ -516,7 +516,7 @@ async function handleWait(args) {
516
516
  const authScope = resumed.scope;
517
517
  const claimToken = _nullishCoalesce(_optionalChain([pendingClaim, 'optionalAccess', _12 => _12.claimToken]), () => ( ""));
518
518
  if (!pendingClaim) {
519
- const scopedApiKey = authScope === "folder" ? _chunkE36ZD6WXjs.resolveProjectApiKeyForBaseUrl.call(void 0, baseUrl) : _chunkE36ZD6WXjs.resolveGlobalApiKeyForBaseUrl.call(void 0, baseUrl);
519
+ const scopedApiKey = authScope === "folder" ? _chunk6R6SQQGQjs.resolveProjectApiKeyForBaseUrl.call(void 0, baseUrl) : _chunk6R6SQQGQjs.resolveGlobalApiKeyForBaseUrl.call(void 0, baseUrl);
520
520
  if (scopedApiKey) {
521
521
  console.log("Already connected.");
522
522
  return EXIT_OK;
@@ -559,8 +559,8 @@ async function handleWait(args) {
559
559
  if (apiKey) {
560
560
  saveEnvValues(
561
561
  {
562
- [_chunkE36ZD6WXjs.HOST_URL_ENV]: baseUrl,
563
- [_chunkE36ZD6WXjs.API_KEY_ENV]: apiKey,
562
+ [_chunk6R6SQQGQjs.HOST_URL_ENV]: baseUrl,
563
+ [_chunk6R6SQQGQjs.API_KEY_ENV]: apiKey,
564
564
  ...activeOrgEnvValues(data)
565
565
  },
566
566
  baseUrl,
@@ -584,8 +584,8 @@ async function handleWait(args) {
584
584
  return EXIT_AUTH;
585
585
  }
586
586
  async function authStatusLine(timeoutMs = 3e3) {
587
- const baseUrl = _chunkE36ZD6WXjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
588
- const apiKey = _chunkE36ZD6WXjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
587
+ const baseUrl = _chunk6R6SQQGQjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
588
+ const apiKey = _chunk6R6SQQGQjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
589
589
  if (!apiKey) return `Auth: not connected (${baseUrl})`;
590
590
  try {
591
591
  const { status, data } = await httpJson(
@@ -608,9 +608,9 @@ async function authStatusLine(timeoutMs = 3e3) {
608
608
  }
609
609
  }
610
610
  async function handleStatus(args) {
611
- const baseUrl = _chunkE36ZD6WXjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
611
+ const baseUrl = _chunk6R6SQQGQjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
612
612
  const reveal = args.includes("--reveal");
613
- const jsonOutput = _chunkH37US5PTjs.argsWantJson.call(void 0, args);
613
+ const jsonOutput = _chunkN5VOE6KZjs.argsWantJson.call(void 0, args);
614
614
  const hasExplicitAuthScope = args.includes("--auth-scope");
615
615
  let authScope = null;
616
616
  if (hasExplicitAuthScope) {
@@ -651,14 +651,14 @@ async function handleStatus(args) {
651
651
  };
652
652
  hostLines.push(`Host: ${baseUrl} (unreachable)`);
653
653
  }
654
- const apiKey = authScope === "folder" ? _chunkE36ZD6WXjs.resolveProjectApiKeyForBaseUrl.call(void 0, baseUrl) : authScope === "global" ? _chunkE36ZD6WXjs.resolveGlobalApiKeyForBaseUrl.call(void 0, baseUrl) : _chunkE36ZD6WXjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
654
+ const apiKey = authScope === "folder" ? _chunk6R6SQQGQjs.resolveProjectApiKeyForBaseUrl.call(void 0, baseUrl) : authScope === "global" ? _chunk6R6SQQGQjs.resolveGlobalApiKeyForBaseUrl.call(void 0, baseUrl) : _chunk6R6SQQGQjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
655
655
  if (!apiKey) {
656
656
  const { claim: pendingClaim } = resolvePendingAuthClaimForResume(
657
657
  baseUrl,
658
658
  _nullishCoalesce(authScope, () => ( void 0))
659
659
  );
660
660
  if (pendingClaim) {
661
- _chunkH37US5PTjs.printCommandEnvelope.call(void 0,
661
+ _chunkN5VOE6KZjs.printCommandEnvelope.call(void 0,
662
662
  {
663
663
  ..._nullishCoalesce(hostStatusPayload, () => ( { host: baseUrl })),
664
664
  status: "pending",
@@ -679,7 +679,7 @@ async function handleStatus(args) {
679
679
  );
680
680
  return EXIT_OK;
681
681
  }
682
- _chunkH37US5PTjs.printCommandEnvelope.call(void 0,
682
+ _chunkN5VOE6KZjs.printCommandEnvelope.call(void 0,
683
683
  {
684
684
  ..._nullishCoalesce(hostStatusPayload, () => ( { host: baseUrl })),
685
685
  status: "not connected",
@@ -712,7 +712,7 @@ async function handleStatus(args) {
712
712
  }
713
713
  );
714
714
  if (status === 401 || status === 403) {
715
- _chunkH37US5PTjs.printCommandEnvelope.call(void 0,
715
+ _chunkN5VOE6KZjs.printCommandEnvelope.call(void 0,
716
716
  {
717
717
  ..._nullishCoalesce(hostStatusPayload, () => ( { host: baseUrl })),
718
718
  status: "unauthorized",
@@ -739,7 +739,7 @@ async function handleStatus(args) {
739
739
  console.error(`Auth status error (status ${status}).`);
740
740
  return EXIT_SERVER;
741
741
  }
742
- const resolvedAuthScope = _nullishCoalesce(authScope, () => ( (_chunkE36ZD6WXjs.getResolvedProjectAuthSource.call(void 0, baseUrl, apiKey) ? "folder" : "global")));
742
+ const resolvedAuthScope = _nullishCoalesce(authScope, () => ( (_chunk6R6SQQGQjs.getResolvedProjectAuthSource.call(void 0, baseUrl, apiKey) ? "folder" : "global")));
743
743
  clearSatisfiedPendingClaim(
744
744
  baseUrl,
745
745
  resolvedAuthScope,
@@ -767,28 +767,28 @@ async function handleStatus(args) {
767
767
  if (apiKeyResp) {
768
768
  saveEnvValues(
769
769
  {
770
- [_chunkE36ZD6WXjs.HOST_URL_ENV]: baseUrl,
771
- [_chunkE36ZD6WXjs.API_KEY_ENV]: apiKeyResp,
770
+ [_chunk6R6SQQGQjs.HOST_URL_ENV]: baseUrl,
771
+ [_chunk6R6SQQGQjs.API_KEY_ENV]: apiKeyResp,
772
772
  ...activeOrgEnvValues(data)
773
773
  },
774
774
  baseUrl,
775
775
  resolvedAuthScope
776
776
  );
777
777
  if (resolvedAuthScope === "folder") {
778
- const target = _chunkE36ZD6WXjs.resolveProjectPinTarget.call(void 0, );
778
+ const target = _chunk6R6SQQGQjs.resolveProjectPinTarget.call(void 0, );
779
779
  savedApiKeyPath = target.ok ? _path.join.call(void 0, target.dir, ".env.deepline") : null;
780
780
  } else {
781
781
  savedApiKeyPath = envFilePath(baseUrl);
782
782
  }
783
783
  }
784
- } else if (resolvedAuthScope === "folder" || _chunkE36ZD6WXjs.storedHostApiKey.call(void 0, baseUrl) === apiKey) {
785
- saveEnvValues(_chunkE36ZD6WXjs.featureEnvValues.call(void 0, data), baseUrl, resolvedAuthScope);
784
+ } else if (resolvedAuthScope === "folder" || _chunk6R6SQQGQjs.storedHostApiKey.call(void 0, baseUrl) === apiKey) {
785
+ saveEnvValues(_chunk6R6SQQGQjs.featureEnvValues.call(void 0, data), baseUrl, resolvedAuthScope);
786
786
  }
787
- _chunkH37US5PTjs.printCommandEnvelope.call(void 0,
787
+ _chunkN5VOE6KZjs.printCommandEnvelope.call(void 0,
788
788
  {
789
789
  ...payload,
790
- ..._chunkE36ZD6WXjs.detectAgentRuntime.call(void 0, ) !== "unknown" ? {
791
- command_context: _chunkE36ZD6WXjs.resolveCliCommandContext.call(void 0,
790
+ ..._chunk6R6SQQGQjs.detectAgentRuntime.call(void 0, ) !== "unknown" ? {
791
+ command_context: _chunk6R6SQQGQjs.resolveCliCommandContext.call(void 0,
792
792
  { baseUrl, apiKey },
793
793
  resolvedAuthScope
794
794
  )
@@ -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.431",
52
+ version: "0.3.433",
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."
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
3
 
4
- var _chunkH37US5PTjs = require('./chunk-H37US5PT.js');
4
+ var _chunkN5VOE6KZjs = require('./chunk-N5VOE6KZ.js');
5
5
 
6
6
 
7
- var _chunkE36ZD6WXjs = require('./chunk-E36ZD6WX.js');
7
+ var _chunk6R6SQQGQjs = require('./chunk-6R6SQQGQ.js');
8
8
 
9
9
  // src/cli/commands/sessions.ts
10
10
 
@@ -139,7 +139,7 @@ function currentSessionFile(agent) {
139
139
  const newestFirst = listSessionFiles(agent).sort(
140
140
  (a, b) => b.mtimeMs - a.mtimeMs
141
141
  );
142
- const sessionId = _chunkE36ZD6WXjs.agentSessionIdFromEnvironment.call(void 0,
142
+ const sessionId = _chunk6R6SQQGQjs.agentSessionIdFromEnvironment.call(void 0,
143
143
  process.env,
144
144
  agent === "auto" ? void 0 : agent === "claude" ? "claude_code" : "codex"
145
145
  );
@@ -451,7 +451,7 @@ function buildSessionUploadContent(raw) {
451
451
  return { encodedContent: encoded, needsChunking: true };
452
452
  }
453
453
  async function uploadPayload(path, payload) {
454
- const { http } = _chunkH37US5PTjs.getAuthedHttpClient.call(void 0, );
454
+ const { http } = _chunkN5VOE6KZjs.getAuthedHttpClient.call(void 0, );
455
455
  return await http.post(path, payload);
456
456
  }
457
457
  async function uploadChunkedSessions(sessions, options) {
@@ -484,7 +484,7 @@ async function uploadChunkedSessions(sessions, options) {
484
484
  ...options.rating ? { rating: options.rating } : {}
485
485
  });
486
486
  const sessionIds = sessions.map((session) => session.sessionId);
487
- _chunkH37US5PTjs.printCommandEnvelope.call(void 0,
487
+ _chunkN5VOE6KZjs.printCommandEnvelope.call(void 0,
488
488
  {
489
489
  ...response,
490
490
  ok: true,
@@ -516,7 +516,7 @@ async function handleSessionsSend(options) {
516
516
  filename: _path.basename.call(void 0, filePath),
517
517
  ...rating ? { rating } : {}
518
518
  });
519
- _chunkH37US5PTjs.printCommandEnvelope.call(void 0,
519
+ _chunkN5VOE6KZjs.printCommandEnvelope.call(void 0,
520
520
  {
521
521
  ...response2,
522
522
  ok: true,
@@ -566,7 +566,7 @@ async function handleSessionsSend(options) {
566
566
  ...rating ? { rating } : {}
567
567
  });
568
568
  const sessionIds = built.map((session) => session.sessionId);
569
- _chunkH37US5PTjs.printCommandEnvelope.call(void 0,
569
+ _chunkN5VOE6KZjs.printCommandEnvelope.call(void 0,
570
570
  {
571
571
  ...response,
572
572
  ok: true,
@@ -674,7 +674,7 @@ ${refreshMeta}
674
674
  </body>
675
675
  </html>`;
676
676
  _fs.writeFileSync.call(void 0, outputPath, html, "utf8");
677
- _chunkH37US5PTjs.printCommandEnvelope.call(void 0,
677
+ _chunkN5VOE6KZjs.printCommandEnvelope.call(void 0,
678
678
  {
679
679
  ok: true,
680
680
  file: outputPath,