deepline 0.3.536 → 0.3.537

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 (122) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +18 -0
  3. package/dist/cli/{auth-KCTCUO7P.mjs → auth-4SUPGDIM.mjs} +5 -5
  4. package/dist/cli/auth-Y2K2ZYYA.js +43 -0
  5. package/dist/cli/{billing-OOJHKLNS.mjs → billing-5JUA3ZM3.mjs} +6 -6
  6. package/dist/cli/{billing-4VBGZ3CT.js → billing-SQU726P7.js} +87 -87
  7. package/dist/cli/{chunk-GTVZKY3F.js → chunk-2Q7VXTMS.js} +2 -2
  8. package/dist/cli/{chunk-DQHUJMCL.mjs → chunk-37AZHCTP.mjs} +5 -5
  9. package/dist/cli/{chunk-CWSLUNA6.js → chunk-3PMCQ3LK.js} +4 -4
  10. package/dist/cli/{chunk-CIDN5K23.js → chunk-5EOEJKSV.js} +1 -1
  11. package/dist/cli/{chunk-Y2NTPYGS.js → chunk-ALHKB3AE.js} +9 -9
  12. package/dist/cli/{chunk-KWYGWO4Y.js → chunk-AVQET3NR.js} +7 -7
  13. package/dist/cli/{chunk-RVSSQPQO.mjs → chunk-AX2OAXDL.mjs} +1 -1
  14. package/dist/cli/{chunk-AB2GBOD4.mjs → chunk-BFHR7IC2.mjs} +10 -10
  15. package/dist/cli/{chunk-LN6RXDTB.js → chunk-BGXEMTIG.js} +19 -19
  16. package/dist/cli/{chunk-2YWJS76L.mjs → chunk-BRRCWUOW.mjs} +1 -1
  17. package/dist/cli/{chunk-OUDTOMZC.mjs → chunk-C37VELBR.mjs} +5 -5
  18. package/dist/cli/{chunk-DA2I2M7D.mjs → chunk-C3XD2WHM.mjs} +2 -2
  19. package/dist/cli/{chunk-ZISEH7OL.js → chunk-CFND2ACL.js} +16 -16
  20. package/dist/cli/{chunk-HAJQGP5V.mjs → chunk-CGDW2CRR.mjs} +2 -2
  21. package/dist/cli/{chunk-HWDKRN7L.js → chunk-CHIGEDAE.js} +3 -3
  22. package/dist/cli/{chunk-VBDZIMWD.js → chunk-D77W6Q67.js} +26 -26
  23. package/dist/cli/{chunk-ANUKBZ6W.mjs → chunk-EEFSUCYP.mjs} +2 -2
  24. package/dist/cli/{chunk-PNY3BWHP.mjs → chunk-GI3V4D7K.mjs} +2 -2
  25. package/dist/cli/{chunk-XJD2GYUP.mjs → chunk-GPMS6OPX.mjs} +5 -5
  26. package/dist/cli/{chunk-W7AEIGZR.js → chunk-IQOIT6E3.js} +41 -41
  27. package/dist/cli/{chunk-2B4IOGFD.js → chunk-JMHYDDBQ.js} +7 -7
  28. package/dist/cli/{chunk-ZZ4MF2GI.js → chunk-JS2SBCWD.js} +6 -6
  29. package/dist/cli/{chunk-3PCYV6ZJ.mjs → chunk-K4WJ4BYO.mjs} +1 -1
  30. package/dist/cli/{chunk-WC5M3JXE.mjs → chunk-KH27B2HJ.mjs} +2 -2
  31. package/dist/cli/{chunk-4E5JXZ3W.js → chunk-KULT6O5K.js} +15 -15
  32. package/dist/cli/{chunk-YBMHOH6H.mjs → chunk-L3JVGNAT.mjs} +2 -2
  33. package/dist/cli/{chunk-ZEV2Y56V.js → chunk-L6QAIZNZ.js} +44 -44
  34. package/dist/cli/{chunk-LZXZQPA2.mjs → chunk-NU7B5X6J.mjs} +1 -1
  35. package/dist/cli/{chunk-LDGZFDUB.js → chunk-NXGLJGPB.js} +2 -2
  36. package/dist/cli/{chunk-MSP4DTSD.js → chunk-PJ4ZGZAN.js} +13 -13
  37. package/dist/cli/{chunk-ZILSRDIN.js → chunk-PU42VOBI.js} +3 -3
  38. package/dist/cli/{chunk-YRLAUGQY.mjs → chunk-QDBGPRR2.mjs} +1 -1
  39. package/dist/cli/{chunk-2FCSUOYN.js → chunk-QPDLG7DQ.js} +53 -53
  40. package/dist/cli/{chunk-DUYAMLOC.mjs → chunk-R7JYG6XO.mjs} +1 -1
  41. package/dist/cli/{chunk-JUHDJNSI.mjs → chunk-RMVZTBI5.mjs} +4 -4
  42. package/dist/cli/{chunk-SLPJ3LXI.js → chunk-UGA5KI4A.js} +22 -22
  43. package/dist/cli/{chunk-GHLDCLSC.mjs → chunk-V5IIBG2E.mjs} +1 -1
  44. package/dist/cli/{chunk-XVZRJJDS.mjs → chunk-VP2K5B3R.mjs} +3 -3
  45. package/dist/cli/{chunk-Q4MNUOS4.js → chunk-VRYX2BR4.js} +107 -107
  46. package/dist/cli/{chunk-KPQHUVYW.mjs → chunk-W3J3LT22.mjs} +5 -5
  47. package/dist/cli/{chunk-6VUGBQZQ.js → chunk-WBFOV5HT.js} +5 -5
  48. package/dist/cli/{chunk-Q5CXV3E3.js → chunk-WBTYWJLN.js} +2 -2
  49. package/dist/cli/{chunk-TX5TUHJN.js → chunk-XDS26J7Z.js} +10 -10
  50. package/dist/cli/{chunk-Z7UIOGW4.mjs → chunk-Y6AMMXWS.mjs} +3 -3
  51. package/dist/cli/{chunk-GF32SBST.mjs → chunk-Z2PPB3IO.mjs} +1 -1
  52. package/dist/cli/{chunk-XBAH3TKU.js → chunk-ZFSB7GXF.js} +5 -5
  53. package/dist/cli/{chunk-BASLYGXK.mjs → chunk-ZHPSJ3LJ.mjs} +1 -1
  54. package/dist/cli/{chunk-E24UGPGG.mjs → chunk-ZUAMXZXC.mjs} +4 -4
  55. package/dist/cli/{csv-P3HLK4GO.mjs → csv-HZP6QMG7.mjs} +4 -4
  56. package/dist/cli/{csv-2V2DIFNG.js → csv-JITYN27L.js} +13 -13
  57. package/dist/cli/{db-MREAQVW6.js → db-FYSRB7O4.js} +27 -27
  58. package/dist/cli/{db-ZYOY3QRQ.mjs → db-QRIRTOMM.mjs} +6 -6
  59. package/dist/cli/describe-LSOHOLFI.js +49 -0
  60. package/dist/cli/{describe-IKZFOADR.mjs → describe-REXJVJC3.mjs} +17 -17
  61. package/dist/cli/{executions-KTSY5M34.mjs → executions-53KJAFOW.mjs} +6 -6
  62. package/dist/cli/{executions-H5IJ7QSQ.js → executions-BSTF4DDS.js} +8 -8
  63. package/dist/cli/{feedback-724QK3Z5.js → feedback-6MW3QOXX.js} +14 -14
  64. package/dist/cli/{feedback-WWJRIXEU.mjs → feedback-CWUJJF3J.mjs} +6 -6
  65. package/dist/cli/{git-R5VRG7X6.mjs → git-CKVZTJFS.mjs} +5 -5
  66. package/dist/cli/git-S7SWUZ3T.js +25 -0
  67. package/dist/cli/index.js +139 -139
  68. package/dist/cli/index.mjs +41 -41
  69. package/dist/cli/{legacy-noops-C6GDEGPU.js → legacy-noops-QBL4PNGB.js} +9 -9
  70. package/dist/cli/{legacy-noops-PWZ5XLAO.mjs → legacy-noops-USTBRFRX.mjs} +6 -6
  71. package/dist/cli/{monitors-WQSKMHAP.mjs → monitors-6UCG5D7W.mjs} +7 -7
  72. package/dist/cli/{monitors-VAVQ4WCE.js → monitors-VCR6SUZD.js} +100 -100
  73. package/dist/cli/{org-MAL4QPVF.mjs → org-GSRBOJVO.mjs} +6 -6
  74. package/dist/cli/{org-CWWRWXZQ.js → org-HPILTEG4.js} +86 -86
  75. package/dist/cli/{play-ILW6MSNG.mjs → play-QRTYQNG4.mjs} +17 -17
  76. package/dist/cli/{play-WJOWK5PQ.js → play-TK7WOP5H.js} +317 -317
  77. package/dist/cli/{providers-W662ANCH.js → providers-HEXNJ5QC.js} +9 -9
  78. package/dist/cli/{providers-4V2NMLZZ.mjs → providers-OAQJWVBS.mjs} +6 -6
  79. package/dist/cli/{quickstart-C22BR743.mjs → quickstart-FFVHTPSP.mjs} +4 -4
  80. package/dist/cli/{quickstart-BW6EBUYX.js → quickstart-PYZTFXZX.js} +6 -6
  81. package/dist/cli/{run-KW7KW4FX.js → run-4DWJXJRO.js} +42 -42
  82. package/dist/cli/{run-SPAU5IMW.mjs → run-HLN6YYZH.mjs} +22 -22
  83. package/dist/cli/search-WERQBC6V.js +32 -0
  84. package/dist/cli/{search-XPC75HLM.mjs → search-ZHRCXGEL.mjs} +7 -7
  85. package/dist/cli/{search-output-VJYE7USJ.js → search-output-2KY6PFDH.js} +6 -6
  86. package/dist/cli/{search-output-JKYJSEPM.mjs → search-output-N7QXACVK.mjs} +4 -4
  87. package/dist/cli/{secrets-OJG73GXQ.mjs → secrets-FKMWBLHU.mjs} +6 -6
  88. package/dist/cli/{secrets-YB57KGSB.js → secrets-WXQ7XO5C.js} +15 -15
  89. package/dist/cli/{sessions-7ZL37BW4.mjs → sessions-3YDTEDA5.mjs} +6 -6
  90. package/dist/cli/sessions-LXQ4Q6BS.js +22 -0
  91. package/dist/cli/{settings-A7DD2ZYE.js → settings-67TWLQ6E.js} +85 -85
  92. package/dist/cli/{settings-RKSQB7FA.mjs → settings-JTPASUZN.mjs} +12 -12
  93. package/dist/cli/{setup-S3K5YU62.js → setup-KUERQJUX.js} +49 -49
  94. package/dist/cli/{setup-NXDUTITY.mjs → setup-VYNGXUJ6.mjs} +9 -9
  95. package/dist/cli/skills-EFRLHY3F.js +36 -0
  96. package/dist/cli/{skills-VMFAIDO6.mjs → skills-KI4KYHH6.mjs} +7 -7
  97. package/dist/cli/tools-C3EIGFFP.js +56 -0
  98. package/dist/cli/{tools-52NTHBSJ.mjs → tools-UQDJS2RS.mjs} +16 -16
  99. package/dist/cli/{update-SAKBEKMV.mjs → update-7FQQUBOD.mjs} +9 -9
  100. package/dist/cli/update-KCY72RXH.js +34 -0
  101. package/dist/cli/{views-ACRV7MD6.mjs → views-JAM4MNNV.mjs} +6 -6
  102. package/dist/cli/{views-C3GJOBDG.js → views-MJK7JGZG.js} +21 -21
  103. package/dist/cli/{workflow-ZNWCZEGN.js → workflow-AQPRIWQX.js} +17 -17
  104. package/dist/cli/{workflow-CS22E7TC.mjs → workflow-TQRV5FGO.mjs} +7 -7
  105. package/dist/index.js +9 -9
  106. package/dist/index.mjs +6 -6
  107. package/dist/install-integrity.json +100 -100
  108. package/dist/release.d.mts +1 -1
  109. package/dist/release.d.ts +1 -1
  110. package/dist/release.js +2 -2
  111. package/dist/release.mjs +1 -1
  112. package/dist/server.js +5 -5
  113. package/dist/server.mjs +3 -3
  114. package/package.json +1 -1
  115. package/dist/cli/auth-6XQKFOLG.js +0 -43
  116. package/dist/cli/describe-WW3OQRLP.js +0 -49
  117. package/dist/cli/git-PHYRD56H.js +0 -25
  118. package/dist/cli/search-HLE54W5G.js +0 -32
  119. package/dist/cli/sessions-VEBYZIEU.js +0 -22
  120. package/dist/cli/skills-NVQ744CN.js +0 -36
  121. package/dist/cli/tools-SBDUL3WB.js +0 -56
  122. package/dist/cli/update-HHVFZPCV.js +0 -34
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkLN6RXDTBjs = require('./chunk-LN6RXDTB.js');
5
+ var _chunkBGXEMTIGjs = require('./chunk-BGXEMTIG.js');
6
6
 
7
7
 
8
- var _chunkZILSRDINjs = require('./chunk-ZILSRDIN.js');
8
+ var _chunkPU42VOBIjs = require('./chunk-PU42VOBI.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 } = _chunkLN6RXDTBjs.getAuthedHttpClient.call(void 0, );
35
+ const { http } = _chunkBGXEMTIGjs.getAuthedHttpClient.call(void 0, );
36
36
  const payload = await http.get(
37
37
  `/api/v2/play-projects${options.all ? "?includeDisabled=1" : ""}`
38
38
  );
39
- _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0,
39
+ _chunkBGXEMTIGjs.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 } = _chunkLN6RXDTBjs.getAuthedHttpClient.call(void 0, );
76
+ const { http } = _chunkBGXEMTIGjs.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
- _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0,
139
+ _chunkBGXEMTIGjs.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 } = _chunkLN6RXDTBjs.getAuthedHttpClient.call(void 0, );
150
+ const { http } = _chunkBGXEMTIGjs.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
- _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0,
153
+ _chunkBGXEMTIGjs.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 } = _chunkLN6RXDTBjs.getAuthedHttpClient.call(void 0, );
174
+ const { http } = _chunkBGXEMTIGjs.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 } = _chunkLN6RXDTBjs.getAuthedHttpClient.call(void 0, );
191
+ const { http } = _chunkBGXEMTIGjs.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
- _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0,
200
+ _chunkBGXEMTIGjs.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 } = _chunkLN6RXDTBjs.getAuthedHttpClient.call(void 0, );
223
+ const { http } = _chunkBGXEMTIGjs.getAuthedHttpClient.call(void 0, );
224
224
  const payload = await http.get(
225
225
  `/api/v2/play-projects/${encodeURIComponent(id)}`
226
226
  );
227
- _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0,
227
+ _chunkBGXEMTIGjs.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 } = _chunkLN6RXDTBjs.getAuthedHttpClient.call(void 0, );
243
+ const { http } = _chunkBGXEMTIGjs.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
- _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0,
254
+ _chunkBGXEMTIGjs.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 } = _chunkLN6RXDTBjs.getAuthedHttpClient.call(void 0, );
267
+ const { http } = _chunkBGXEMTIGjs.getAuthedHttpClient.call(void 0, );
268
268
  await http.delete(`/api/v2/play-projects/${encodeURIComponent(id)}`);
269
- _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0,
269
+ _chunkBGXEMTIGjs.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 = _chunkZILSRDINjs.resolveBaseUrlOnly.call(void 0, );
289
+ const baseUrl = _chunkPU42VOBIjs.resolveBaseUrlOnly.call(void 0, );
290
290
  const connectUrl = `${baseUrl.replace(/\/$/, "")}/api/v2/github/connect`;
291
- const opened = _chunkLN6RXDTBjs.openInBrowser.call(void 0, connectUrl);
292
- _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0,
291
+ const opened = _chunkBGXEMTIGjs.openInBrowser.call(void 0, connectUrl);
292
+ _chunkBGXEMTIGjs.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 } = _chunkLN6RXDTBjs.getAuthedHttpClient.call(void 0, );
314
+ const { http } = _chunkBGXEMTIGjs.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
- _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0,
322
+ _chunkBGXEMTIGjs.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 } = _chunkLN6RXDTBjs.getAuthedHttpClient.call(void 0, );
366
+ const { http } = _chunkBGXEMTIGjs.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
- _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0,
371
+ _chunkBGXEMTIGjs.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 } = _chunkLN6RXDTBjs.getAuthedHttpClient.call(void 0, );
390
+ const { http } = _chunkBGXEMTIGjs.getAuthedHttpClient.call(void 0, );
391
391
  const payload = await http.post(`/api/v2/deployments/${encodeURIComponent(id)}/cancel`, {});
392
- _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0,
392
+ _chunkBGXEMTIGjs.printCommandEnvelope.call(void 0,
393
393
  {
394
394
  cancelled: payload.cancelled,
395
395
  deployment: payload.deployment,
@@ -4,13 +4,13 @@ import {
4
4
  resolveApiKeyForBaseUrl,
5
5
  resolveCliCommandContext,
6
6
  resolveConfig
7
- } from "./chunk-3PCYV6ZJ.mjs";
7
+ } from "./chunk-K4WJ4BYO.mjs";
8
8
  import {
9
9
  SDK_VERSION,
10
10
  agentSessionIdFromEnvironment,
11
11
  deploymentProtectionHeaders,
12
12
  detectAgentRuntime
13
- } from "./chunk-YRLAUGQY.mjs";
13
+ } from "./chunk-QDBGPRR2.mjs";
14
14
  import {
15
15
  DeeplineError,
16
16
  normalizeToolExecutionFailure,
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  PlayClient
3
- } from "./chunk-BASLYGXK.mjs";
3
+ } from "./chunk-ZHPSJ3LJ.mjs";
4
4
  import {
5
5
  HttpClient,
6
6
  resolveConfig
7
- } from "./chunk-3PCYV6ZJ.mjs";
7
+ } from "./chunk-K4WJ4BYO.mjs";
8
8
 
9
9
  // src/plays/local-play-execution.ts
10
10
  function importedNodes(graph) {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  getActiveCliProgress
3
- } from "./chunk-GF32SBST.mjs";
3
+ } from "./chunk-Z2PPB3IO.mjs";
4
4
  import {
5
5
  maybeReportAutomaticSkillsSyncFailure
6
- } from "./chunk-ANUKBZ6W.mjs";
6
+ } from "./chunk-EEFSUCYP.mjs";
7
7
  import {
8
8
  DEFAULT_SKILL_AGENTS,
9
9
  KNOWN_SKILL_AGENTS,
@@ -14,17 +14,17 @@ import {
14
14
  sdkCliStateDirPath,
15
15
  skillsAgentPathSegment,
16
16
  writeSdkSkillsLocalVersion
17
- } from "./chunk-3PCYV6ZJ.mjs";
17
+ } from "./chunk-K4WJ4BYO.mjs";
18
18
  import {
19
19
  SDK_API_CONTRACT,
20
20
  SDK_API_MAJOR,
21
21
  SDK_VERSION,
22
22
  deploymentProtectionHeaders,
23
23
  detectAgentRuntime
24
- } from "./chunk-YRLAUGQY.mjs";
24
+ } from "./chunk-QDBGPRR2.mjs";
25
25
  import {
26
26
  SDK_RELEASE
27
- } from "./chunk-GHLDCLSC.mjs";
27
+ } from "./chunk-V5IIBG2E.mjs";
28
28
 
29
29
  // src/compat.ts
30
30
  import { randomUUID } from "crypto";
@@ -11,20 +11,20 @@
11
11
 
12
12
 
13
13
 
14
- var _chunkZEV2Y56Vjs = require('./chunk-ZEV2Y56V.js');
14
+ var _chunkL6QAIZNZjs = require('./chunk-L6QAIZNZ.js');
15
15
 
16
16
 
17
- var _chunkLN6RXDTBjs = require('./chunk-LN6RXDTB.js');
17
+ var _chunkBGXEMTIGjs = require('./chunk-BGXEMTIG.js');
18
18
 
19
19
 
20
20
 
21
21
 
22
22
 
23
- var _chunkZILSRDINjs = require('./chunk-ZILSRDIN.js');
23
+ var _chunkPU42VOBIjs = require('./chunk-PU42VOBI.js');
24
24
 
25
25
 
26
26
 
27
- var _chunkCWSLUNA6js = require('./chunk-CWSLUNA6.js');
27
+ var _chunk3PMCQ3LKjs = require('./chunk-3PMCQ3LK.js');
28
28
 
29
29
 
30
30
  var _chunkRLX5ZFNXjs = require('./chunk-RLX5ZFNX.js');
@@ -145,7 +145,7 @@ function inferActiveSkillsScope(entrypoint = _nullishCoalesce(process.argv[1], (
145
145
  return /[\\/]\.deepline[\\/]runtime[\\/]/.test(entrypoint) ? "local" : "global";
146
146
  }
147
147
  function resolveLocalRoot() {
148
- const target = _chunkZILSRDINjs.resolveProjectPinTarget.call(void 0, );
148
+ const target = _chunkPU42VOBIjs.resolveProjectPinTarget.call(void 0, );
149
149
  if (!target.ok) {
150
150
  throw new Error(
151
151
  `Cowork project folder is ambiguous. Candidate folders: ${target.candidates.join(
@@ -156,7 +156,7 @@ function resolveLocalRoot() {
156
156
  return target.dir;
157
157
  }
158
158
  function detectSkillsAgents(input) {
159
- const runtime = _nullishCoalesce(input.runtime, () => ( _chunkCWSLUNA6js.detectAgentRuntime.call(void 0, )));
159
+ const runtime = _nullishCoalesce(input.runtime, () => ( _chunk3PMCQ3LKjs.detectAgentRuntime.call(void 0, )));
160
160
  const knownAgent = RUNTIME_TO_SKILLS_AGENT[runtime];
161
161
  if (knownAgent) return [knownAgent];
162
162
  const roots = [
@@ -171,11 +171,11 @@ function detectSkillsAgents(input) {
171
171
  return detected.length > 0 ? detected : ["*"];
172
172
  }
173
173
  function skillsStatePathForScope(baseUrl, scope, root) {
174
- return scope === "local" && root ? _path.join.call(void 0, root, ".deepline", "setup", "skills.json") : _path.join.call(void 0, _chunkZILSRDINjs.sdkCliStateDirPath.call(void 0, baseUrl), "skills-install.json");
174
+ return scope === "local" && root ? _path.join.call(void 0, root, ".deepline", "setup", "skills.json") : _path.join.call(void 0, _chunkPU42VOBIjs.sdkCliStateDirPath.call(void 0, baseUrl), "skills-install.json");
175
175
  }
176
176
  function buildSkillsPlan(input) {
177
177
  const scopeArgs = input.scope === "global" ? ["--global"] : [];
178
- const legacyNames = [..._chunkZEV2Y56Vjs.LEGACY_SKILL_NAMES_TO_REMOVE].sort(
178
+ const legacyNames = [..._chunkL6QAIZNZjs.LEGACY_SKILL_NAMES_TO_REMOVE].sort(
179
179
  (a, b) => a.localeCompare(b)
180
180
  );
181
181
  return {
@@ -189,7 +189,7 @@ function buildSkillsPlan(input) {
189
189
  args: [
190
190
  "exec",
191
191
  "--yes",
192
- `--package=${_chunkZEV2Y56Vjs.SKILLS_NPX_PACKAGE}`,
192
+ `--package=${_chunkL6QAIZNZjs.SKILLS_NPX_PACKAGE}`,
193
193
  "--",
194
194
  "skills",
195
195
  "remove",
@@ -205,11 +205,11 @@ function buildSkillsPlan(input) {
205
205
  args: [
206
206
  "exec",
207
207
  "--yes",
208
- `--package=${_chunkZEV2Y56Vjs.SKILLS_NPX_PACKAGE}`,
208
+ `--package=${_chunkL6QAIZNZjs.SKILLS_NPX_PACKAGE}`,
209
209
  "--",
210
210
  "skills",
211
211
  "add",
212
- _chunkZEV2Y56Vjs.skillsSourceUrl.call(void 0, input.baseUrl),
212
+ _chunkL6QAIZNZjs.skillsSourceUrl.call(void 0, input.baseUrl),
213
213
  "--agent",
214
214
  ...input.agents,
215
215
  ...scopeArgs,
@@ -246,7 +246,7 @@ function readSkillsInstallState(path) {
246
246
  }
247
247
  function runProcess(command, args, cwd) {
248
248
  return new Promise((resolve, reject) => {
249
- const plan = _chunkZEV2Y56Vjs.resolveShellSpawn.call(void 0,
249
+ const plan = _chunkL6QAIZNZjs.resolveShellSpawn.call(void 0,
250
250
  command,
251
251
  args,
252
252
  process.platform,
@@ -268,7 +268,7 @@ function runProcess(command, args, cwd) {
268
268
  child.kill("SIGTERM");
269
269
  reject(
270
270
  new Error(
271
- `${_chunkZEV2Y56Vjs.SKILLS_NPX_PACKAGE} timed out after ${SKILLS_PROCESS_TIMEOUT_MS}ms.`
271
+ `${_chunkL6QAIZNZjs.SKILLS_NPX_PACKAGE} timed out after ${SKILLS_PROCESS_TIMEOUT_MS}ms.`
272
272
  )
273
273
  );
274
274
  }, SKILLS_PROCESS_TIMEOUT_MS);
@@ -279,7 +279,7 @@ function runProcess(command, args, cwd) {
279
279
  child.once("close", (code) => {
280
280
  clearTimeout(timeout);
281
281
  if (code && stderr.trim()) {
282
- process.stderr.write(`${_chunkZEV2Y56Vjs.SKILLS_NPX_PACKAGE} exited ${code}.
282
+ process.stderr.write(`${_chunkL6QAIZNZjs.SKILLS_NPX_PACKAGE} exited ${code}.
283
283
  `);
284
284
  }
285
285
  resolve(_nullishCoalesce(code, () => ( 1)));
@@ -287,7 +287,7 @@ function runProcess(command, args, cwd) {
287
287
  });
288
288
  }
289
289
  async function showSkills(options, name) {
290
- const baseUrl = _chunkZILSRDINjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
290
+ const baseUrl = _chunkPU42VOBIjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
291
291
  const url = name ? `${baseUrl}/.well-known/skills/${encodeURIComponent(name)}/SKILL.md` : `${baseUrl}/.well-known/skills/index.json`;
292
292
  try {
293
293
  const response = await fetch(url, {
@@ -300,7 +300,7 @@ async function showSkills(options, name) {
300
300
  }
301
301
  if (name) {
302
302
  const markdown = await response.text();
303
- _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0,
303
+ _chunkBGXEMTIGjs.printCommandEnvelope.call(void 0,
304
304
  { ok: true, status: "completed", skill: { name, markdown } },
305
305
  { json: options.json, text: markdown }
306
306
  );
@@ -310,7 +310,7 @@ async function showSkills(options, name) {
310
310
  const skills = (_nullishCoalesce(index.skills, () => ( []))).filter(
311
311
  (skill) => skill.install_surface === "v1" && skill.name
312
312
  );
313
- _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0,
313
+ _chunkBGXEMTIGjs.printCommandEnvelope.call(void 0,
314
314
  {
315
315
  ok: true,
316
316
  status: "completed",
@@ -327,7 +327,7 @@ Read one with: deepline skills show <name>
327
327
  );
328
328
  return 0;
329
329
  } catch (error) {
330
- _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0,
330
+ _chunkBGXEMTIGjs.printCommandEnvelope.call(void 0,
331
331
  {
332
332
  ok: false,
333
333
  status: "failed",
@@ -350,7 +350,7 @@ async function runSkillsCommand(options, dependencies = {}) {
350
350
  scope = normalizeScope(options.scope);
351
351
  root = scope === "local" ? resolveLocalRoot() : null;
352
352
  } catch (error) {
353
- _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0,
353
+ _chunkBGXEMTIGjs.printCommandEnvelope.call(void 0,
354
354
  {
355
355
  ok: false,
356
356
  status: "failed",
@@ -362,22 +362,22 @@ async function runSkillsCommand(options, dependencies = {}) {
362
362
  );
363
363
  return 2;
364
364
  }
365
- const baseUrl = _chunkZILSRDINjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
365
+ const baseUrl = _chunkPU42VOBIjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
366
366
  const catalog = {
367
- skillNames: [..._chunkZEV2Y56Vjs.DEFAULT_SDK_SKILL_NAMES],
368
- version: _chunkCWSLUNA6js.SDK_VERSION
367
+ skillNames: [..._chunkL6QAIZNZjs.DEFAULT_SDK_SKILL_NAMES],
368
+ version: _chunk3PMCQ3LKjs.SDK_VERSION
369
369
  };
370
370
  const agents = options.agent ? [options.agent] : detectSkillsAgents({ scope, root });
371
371
  const plan = buildSkillsPlan({ baseUrl, scope, root, agents, ...catalog });
372
372
  if (options.dryRun) {
373
- _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0,
373
+ _chunkBGXEMTIGjs.printCommandEnvelope.call(void 0,
374
374
  { ok: true, status: "planned", dryRun: true, ...plan },
375
375
  { json: options.json }
376
376
  );
377
377
  return 0;
378
378
  }
379
- if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !_chunkZEV2Y56Vjs.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
380
- _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0,
379
+ if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !_chunkL6QAIZNZjs.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
380
+ _chunkBGXEMTIGjs.printCommandEnvelope.call(void 0,
381
381
  {
382
382
  ok: true,
383
383
  status: "current",
@@ -409,10 +409,10 @@ async function runSkillsCommand(options, dependencies = {}) {
409
409
  }
410
410
  if (scope === "local" && root) {
411
411
  const managedNames = [
412
- .../* @__PURE__ */ new Set([...plan.skillNames, ..._chunkZEV2Y56Vjs.LEGACY_SKILL_NAMES_TO_REMOVE])
412
+ .../* @__PURE__ */ new Set([...plan.skillNames, ..._chunkL6QAIZNZjs.LEGACY_SKILL_NAMES_TO_REMOVE])
413
413
  ];
414
414
  const agentRoots = workspaceSkillRootsForAgents(plan.agents);
415
- _chunkZILSRDINjs.ensureProjectPrivatePathsIgnored.call(void 0, root, [
415
+ _chunkPU42VOBIjs.ensureProjectPrivatePathsIgnored.call(void 0, root, [
416
416
  ".deepline/",
417
417
  ...agentRoots.flatMap(
418
418
  (agentRoot) => managedNames.map((name) => `${agentRoot}/skills/${name}/`)
@@ -421,7 +421,7 @@ async function runSkillsCommand(options, dependencies = {}) {
421
421
  }
422
422
  let lease;
423
423
  try {
424
- lease = scope === "global" ? await _chunkZEV2Y56Vjs.acquireSkillsInstallLease.call(void 0, baseUrl, agents, plan.version, {
424
+ lease = scope === "global" ? await _chunkL6QAIZNZjs.acquireSkillsInstallLease.call(void 0, baseUrl, agents, plan.version, {
425
425
  waitMs: _nullishCoalesce(dependencies.installLeaseWaitMs, () => ( SKILLS_INSTALL_LEASE_WAIT_MS)),
426
426
  onWait: () => process.stderr.write(
427
427
  "Waiting for a background Deepline skills refresh to finish...\n"
@@ -429,8 +429,8 @@ async function runSkillsCommand(options, dependencies = {}) {
429
429
  }) : { release: () => {
430
430
  } };
431
431
  } catch (error) {
432
- if (!(error instanceof _chunkZEV2Y56Vjs.SkillsStateUnavailableError)) throw error;
433
- _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0,
432
+ if (!(error instanceof _chunkL6QAIZNZjs.SkillsStateUnavailableError)) throw error;
433
+ _chunkBGXEMTIGjs.printCommandEnvelope.call(void 0,
434
434
  {
435
435
  ok: false,
436
436
  status: "failed",
@@ -446,7 +446,7 @@ async function runSkillsCommand(options, dependencies = {}) {
446
446
  return 5;
447
447
  }
448
448
  if (!lease) {
449
- _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0,
449
+ _chunkBGXEMTIGjs.printCommandEnvelope.call(void 0,
450
450
  {
451
451
  ok: false,
452
452
  status: "failed",
@@ -455,7 +455,7 @@ async function runSkillsCommand(options, dependencies = {}) {
455
455
  scope,
456
456
  agents,
457
457
  message: "A background Deepline skills refresh is still running for these agents.",
458
- next: `Retry in a moment: deepline skills install --scope ${scope}. If no refresh is running, remove ${_chunkZEV2Y56Vjs.skillsInstallLeasePath.call(void 0, baseUrl, agents)}`
458
+ next: `Retry in a moment: deepline skills install --scope ${scope}. If no refresh is running, remove ${_chunkL6QAIZNZjs.skillsInstallLeasePath.call(void 0, baseUrl, agents)}`
459
459
  },
460
460
  { json: options.json }
461
461
  );
@@ -504,7 +504,7 @@ async function runSkillsInstallWithLease(input) {
504
504
  }
505
505
  }
506
506
  } catch (error) {
507
- _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0,
507
+ _chunkBGXEMTIGjs.printCommandEnvelope.call(void 0,
508
508
  {
509
509
  ok: false,
510
510
  status: "failed",
@@ -520,7 +520,7 @@ async function runSkillsInstallWithLease(input) {
520
520
  return 5;
521
521
  }
522
522
  if (missing.length > 0) {
523
- _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0,
523
+ _chunkBGXEMTIGjs.printCommandEnvelope.call(void 0,
524
524
  {
525
525
  ok: false,
526
526
  status: "failed",
@@ -560,7 +560,7 @@ async function runSkillsInstallWithLease(input) {
560
560
  {
561
561
  schemaVersion: 1,
562
562
  installedAt: (/* @__PURE__ */ new Date()).toISOString(),
563
- cliVersion: _chunkCWSLUNA6js.SDK_VERSION,
563
+ cliVersion: _chunk3PMCQ3LKjs.SDK_VERSION,
564
564
  scope,
565
565
  agents,
566
566
  skillsVersion: plan.version,
@@ -573,9 +573,9 @@ async function runSkillsInstallWithLease(input) {
573
573
  "utf8"
574
574
  );
575
575
  if (scope === "global") {
576
- _chunkZEV2Y56Vjs.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
576
+ _chunkL6QAIZNZjs.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
577
577
  }
578
- _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0,
578
+ _chunkBGXEMTIGjs.printCommandEnvelope.call(void 0,
579
579
  {
580
580
  ok: true,
581
581
  status: "complete",
@@ -624,7 +624,7 @@ Examples:
624
624
  "after",
625
625
  `
626
626
  Notes:
627
- This command reinstalls current Deepline-managed skills using ${_chunkZEV2Y56Vjs.SKILLS_NPX_PACKAGE},
627
+ This command reinstalls current Deepline-managed skills using ${_chunkL6QAIZNZjs.SKILLS_NPX_PACKAGE},
628
628
  then removes legacy Deepline skill names. Local scope writes into the resolved
629
629
  persistent project.
630
630
 
@@ -636,13 +636,13 @@ Examples:
636
636
  ).action(async (options) => {
637
637
  process.exitCode = await runSkillsCommand(options);
638
638
  });
639
- program.command(_chunkZEV2Y56Vjs.SKILLS_AUTO_SYNC_COMMAND, { hidden: true }).description("Refresh Deepline agent skills in the background.").option(
639
+ program.command(_chunkL6QAIZNZjs.SKILLS_AUTO_SYNC_COMMAND, { hidden: true }).description("Refresh Deepline agent skills in the background.").option(
640
640
  "--claim <token>",
641
641
  "Owner token of the leases this child was started for."
642
642
  ).action(async (options) => {
643
643
  const claim = _optionalChain([options, 'access', _9 => _9.claim, 'optionalAccess', _10 => _10.trim, 'call', _11 => _11()]);
644
644
  if (!claim) {
645
- _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0,
645
+ _chunkBGXEMTIGjs.printCommandEnvelope.call(void 0,
646
646
  {
647
647
  ok: false,
648
648
  status: "failed",
@@ -655,7 +655,7 @@ Examples:
655
655
  process.exitCode = 2;
656
656
  return;
657
657
  }
658
- await _chunkZEV2Y56Vjs.syncSdkSkillsIfNeeded.call(void 0, _chunkZILSRDINjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
658
+ await _chunkL6QAIZNZjs.syncSdkSkillsIfNeeded.call(void 0, _chunkPU42VOBIjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
659
659
  mode: "inline",
660
660
  notices: "defer",
661
661
  claim
@@ -31,7 +31,7 @@ var _chunkPMH4GLMDjs = require('./chunk-PMH4GLMD.js');
31
31
 
32
32
 
33
33
 
34
- var _chunkCWSLUNA6js = require('./chunk-CWSLUNA6.js');
34
+ var _chunk3PMCQ3LKjs = require('./chunk-3PMCQ3LK.js');
35
35
 
36
36
 
37
37
  var _chunk2GJZLIKWjs = require('./chunk-2GJZLIKW.js');
@@ -674,7 +674,7 @@ var ToolCalls = class {
674
674
  idempotencyKey,
675
675
  onResponse: (response2) => {
676
676
  lastResponse = null;
677
- atomicToolsSupported = response2.headers.get(_chunkCWSLUNA6js.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
677
+ atomicToolsSupported = response2.headers.get(_chunk3PMCQ3LKjs.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
678
678
  recoverySupported = response2.headers.get("X-Deepline-Idempotency-Supported") === "true";
679
679
  if (_optionalChain([options, 'optionalAccess', _30 => _30.onServerTiming])) {
680
680
  try {
@@ -1060,8 +1060,8 @@ function runtimeSelectionHeaders(runtime, env) {
1060
1060
  }
1061
1061
  const receivers = _optionalChain([env, 'access', _55 => _55.DEEPLINE_RUNTIME_RETAINED_PIPELINE_RECEIVERS, 'optionalAccess', _56 => _56.trim, 'call', _57 => _57()]);
1062
1062
  return {
1063
- [_chunkCWSLUNA6js.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1064
- ...receivers ? { [_chunkCWSLUNA6js.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1063
+ [_chunk3PMCQ3LKjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1064
+ ...receivers ? { [_chunk3PMCQ3LKjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1065
1065
  };
1066
1066
  }
1067
1067
  function normalizeTestPolicyOverrides(value, source) {
@@ -1132,7 +1132,7 @@ var PlayClient = class {
1132
1132
  return _chunkCQDQNZGHjs.startPlayRun.call(void 0,
1133
1133
  this.http,
1134
1134
  resolved.request,
1135
- _optionalChain([options, 'optionalAccess', _65 => _65.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunkCWSLUNA6js.SDK_API_MAJOR) } : headers,
1135
+ _optionalChain([options, 'optionalAccess', _65 => _65.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunk3PMCQ3LKjs.SDK_API_MAJOR) } : headers,
1136
1136
  options
1137
1137
  );
1138
1138
  }
@@ -3229,7 +3229,7 @@ function isolatedCiRuntimeEventReadHeaders(env) {
3229
3229
  "RUNTIME_EVENT_INTERNAL_TOKEN_REQUIRED"
3230
3230
  );
3231
3231
  }
3232
- return { [_chunkCWSLUNA6js.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3232
+ return { [_chunk3PMCQ3LKjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3233
3233
  }
3234
3234
  function sleep(ms) {
3235
3235
  return new Promise((resolve) => setTimeout(resolve, ms));
@@ -4142,7 +4142,7 @@ var DeeplineClient = (_class = class _DeeplineClient {
4142
4142
  );
4143
4143
  const headers = _optionalChain([options, 'optionalAccess', _189 => _189.cliAdmission]) ? {
4144
4144
  ...runtimeHeaders,
4145
- "X-Deepline-API-Major": String(_chunkCWSLUNA6js.SDK_API_MAJOR)
4145
+ "X-Deepline-API-Major": String(_chunk3PMCQ3LKjs.SDK_API_MAJOR)
4146
4146
  } : runtimeHeaders;
4147
4147
  const http = this.http;
4148
4148
  let submitted = false;
@@ -1,11 +1,11 @@
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 _chunkLDGZFDUBjs = require('./chunk-LDGZFDUB.js');
3
+ var _chunkNXGLJGPBjs = require('./chunk-NXGLJGPB.js');
4
4
 
5
5
 
6
6
 
7
7
 
8
- var _chunkZEV2Y56Vjs = require('./chunk-ZEV2Y56V.js');
8
+ var _chunkL6QAIZNZjs = require('./chunk-L6QAIZNZ.js');
9
9
 
10
10
  // src/cli/play-run-admission.ts
11
11
  function usesInlinePlayAdmission(command, args) {
@@ -18,11 +18,11 @@ function usesCliPlayAdmission(command, args) {
18
18
  }
19
19
  async function checkPlayRunCompatibility(baseUrl, maintenancePolicy = "configured", signal) {
20
20
  _optionalChain([signal, 'optionalAccess', _ => _.throwIfAborted, 'call', _2 => _2()]);
21
- if (maintenancePolicy !== "off") _chunkZEV2Y56Vjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
22
- const compatibility = await _chunkLDGZFDUBjs.traceCliSpan.call(void 0,
21
+ if (maintenancePolicy !== "off") _chunkL6QAIZNZjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
22
+ const compatibility = await _chunkNXGLJGPBjs.traceCliSpan.call(void 0,
23
23
  "cli.sdk_compatibility",
24
24
  { baseUrl, command: "plays run" },
25
- () => _chunkZEV2Y56Vjs.checkSdkCompatibility.call(void 0, baseUrl, {
25
+ () => _chunkL6QAIZNZjs.checkSdkCompatibility.call(void 0, baseUrl, {
26
26
  command: "plays run",
27
27
  persistCache: maintenancePolicy !== "off",
28
28
  signal
@@ -30,7 +30,7 @@ async function checkPlayRunCompatibility(baseUrl, maintenancePolicy = "configure
30
30
  );
31
31
  _optionalChain([signal, 'optionalAccess', _3 => _3.throwIfAborted, 'call', _4 => _4()]);
32
32
  if (compatibility.error) throw compatibility.error;
33
- _chunkZEV2Y56Vjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
33
+ _chunkL6QAIZNZjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
34
34
  quietAdvisory: true
35
35
  });
36
36
  }
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  HttpClient,
3
3
  detectAgentRuntime
4
- } from "./chunk-YRLAUGQY.mjs";
4
+ } from "./chunk-QDBGPRR2.mjs";
5
5
  import {
6
6
  ConfigError
7
7
  } from "./chunk-CQBIO6HW.mjs";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./chunk-BASLYGXK.mjs";
3
+ } from "./chunk-ZHPSJ3LJ.mjs";
4
4
  import {
5
5
  HttpClient,
6
6
  resolveConfig
7
- } from "./chunk-3PCYV6ZJ.mjs";
7
+ } from "./chunk-K4WJ4BYO.mjs";
8
8
 
9
9
  // src/client.ts
10
10
  var DeeplineClient2 = class extends DeeplineClient {