deepline 0.3.520 → 0.3.522

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 (185) hide show
  1. package/dist/bundling-sources/sdk/src/plays/client-core.ts +16 -45
  2. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  3. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +0 -18
  4. package/dist/bundling-sources/shared_libs/play-data-plane/r2.ts +0 -155
  5. package/dist/bundling-sources/shared_libs/play-runtime/durable-runs-rollout.ts +8 -1
  6. package/dist/bundling-sources/shared_libs/play-runtime/fixture-behavior.ts +24 -0
  7. package/dist/bundling-sources/shared_libs/play-runtime/internal-bootstrap-token.ts +1 -54
  8. package/dist/bundling-sources/shared_libs/play-runtime/launch-identity.ts +2 -7
  9. package/dist/bundling-sources/shared_libs/play-runtime/protocol.ts +0 -13
  10. package/dist/bundling-sources/shared_libs/play-runtime/run-identity.ts +0 -56
  11. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +10 -21
  12. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/runtime-heartbeat.ts +1 -1
  13. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/runtime-progress-push.ts +2 -1
  14. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/runtime-terminal-push.ts +1 -1
  15. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-lifecycle.ts +2 -37
  16. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-payload-transport.ts +3 -74
  17. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-runtime-watchdog.ts +2 -226
  18. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +3 -36
  19. package/dist/bundling-sources/shared_libs/play-runtime/runtime-api-paths.ts +0 -26
  20. package/dist/bundling-sources/shared_libs/play-runtime/runtime-api.ts +1 -9
  21. package/dist/bundling-sources/shared_libs/play-runtime/runtime-authority.ts +0 -5
  22. package/dist/bundling-sources/shared_libs/play-runtime/runtime-environment.ts +9 -49
  23. package/dist/bundling-sources/shared_libs/play-runtime/runtime-gateway-oidc.ts +11 -447
  24. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backend.ts +5 -4
  25. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +12 -207
  26. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-shared.ts +3 -17
  27. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/gateway-progress-registry.ts +0 -9
  28. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-progress.ts +2 -18
  29. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +15 -175
  30. package/dist/bundling-sources/shared_libs/play-runtime/workflow-executor-auth.ts +0 -4
  31. package/dist/cli/{artifacts-4DSPSIU5.js → artifacts-GIZZH5VA.js} +20 -20
  32. package/dist/cli/{artifacts-D6PU7SBC.mjs → artifacts-RY2MK74N.mjs} +8 -8
  33. package/dist/cli/auth-JSES2JOQ.js +43 -0
  34. package/dist/cli/{auth-MXKNPUXW.mjs → auth-YIBY5IKT.mjs} +5 -5
  35. package/dist/cli/{billing-SQ26NKGH.mjs → billing-G3IX3SNY.mjs} +8 -8
  36. package/dist/cli/{billing-WEYCNJIR.js → billing-UDKL53GI.js} +81 -81
  37. package/dist/cli/{chunk-6Y3DDRRN.js → chunk-2KHUFWTK.js} +3 -3
  38. package/dist/cli/{chunk-4VR5OTYP.js → chunk-37SXIFIU.js} +44 -44
  39. package/dist/cli/{chunk-QSWPDYOP.mjs → chunk-3KMGVOBM.mjs} +4 -4
  40. package/dist/cli/{chunk-7VJKHJY7.js → chunk-4DFWDA2Q.js} +14 -14
  41. package/dist/cli/{chunk-VSPNBBRT.js → chunk-4MF44THR.js} +66 -119
  42. package/dist/cli/{chunk-NLIO6QLP.mjs → chunk-4TUMKJZX.mjs} +2 -2
  43. package/dist/cli/{chunk-KKSMHTQO.mjs → chunk-52MHE7B4.mjs} +1 -1
  44. package/dist/cli/{chunk-AVW2LKRF.js → chunk-534YYHIF.js} +6 -6
  45. package/dist/cli/{chunk-QQGRQRCS.mjs → chunk-5477PEHL.mjs} +1 -1
  46. package/dist/cli/{chunk-YHHLLONU.js → chunk-5BQPEHEP.js} +14 -14
  47. package/dist/cli/{chunk-GVTHFDKN.js → chunk-5H22VJPE.js} +6 -6
  48. package/dist/cli/{chunk-LUIPBI6P.js → chunk-6SJPZV5E.js} +2 -2
  49. package/dist/cli/{chunk-NNUJQ5O2.mjs → chunk-7J5PLHII.mjs} +1 -1
  50. package/dist/cli/{chunk-I4GBCKBL.js → chunk-7JEN3FX4.js} +5 -5
  51. package/dist/cli/{chunk-VSLU4JZV.mjs → chunk-BONXEWYF.mjs} +3 -3
  52. package/dist/cli/{chunk-AM7HMWNA.js → chunk-BZY335JP.js} +5 -5
  53. package/dist/cli/{chunk-YP3G2CP6.mjs → chunk-C6WGMODR.mjs} +2 -2
  54. package/dist/cli/{chunk-V6BUWQBI.mjs → chunk-CFXERH7F.mjs} +1 -1
  55. package/dist/cli/{chunk-ORAWUIMN.js → chunk-DARD7TJ7.js} +53 -53
  56. package/dist/cli/{chunk-BHAP6FIZ.js → chunk-DLDWAPA5.js} +4 -4
  57. package/dist/cli/{chunk-FWGTBR3W.js → chunk-DNJJ3ULJ.js} +2 -2
  58. package/dist/cli/{chunk-Y5QYWFRI.js → chunk-DRDZBRXV.js} +7 -7
  59. package/dist/cli/{chunk-JO2MQ6XR.js → chunk-EJBW7Y6Z.js} +98 -98
  60. package/dist/cli/{chunk-2EDGA7OE.mjs → chunk-ENWJFUWK.mjs} +2 -2
  61. package/dist/cli/{chunk-6XJA23MZ.js → chunk-F5D623KO.js} +26 -26
  62. package/dist/cli/{chunk-HT675XNR.mjs → chunk-FKD3KL5Q.mjs} +1 -1
  63. package/dist/cli/{chunk-2BJILUE3.js → chunk-FNHUDCJE.js} +10 -10
  64. package/dist/cli/{chunk-XU57CH42.mjs → chunk-FQQAAR3Q.mjs} +1 -1
  65. package/dist/cli/{chunk-6T2LB43P.mjs → chunk-G65FJ5JX.mjs} +2 -2
  66. package/dist/cli/{chunk-UA4MXESL.js → chunk-GMYDVW7Z.js} +3 -3
  67. package/dist/cli/{chunk-74MOIEDC.js → chunk-GVKW3LCA.js} +11 -11
  68. package/dist/cli/{chunk-D5VTWJ7K.js → chunk-ISUUSSS4.js} +16 -16
  69. package/dist/cli/{chunk-KTAOVRXT.js → chunk-KMBF3N2Z.js} +16 -16
  70. package/dist/cli/{chunk-5TEXJM6F.mjs → chunk-LFSOBW7E.mjs} +11 -11
  71. package/dist/cli/{chunk-A5VR463F.mjs → chunk-MD524MRB.mjs} +1 -1
  72. package/dist/cli/{chunk-NPRSGUHB.mjs → chunk-NDNG3MAT.mjs} +5 -5
  73. package/dist/cli/{chunk-NWSKBWQM.mjs → chunk-OAQIVJFY.mjs} +2 -2
  74. package/dist/cli/{chunk-6VY2SJ6B.mjs → chunk-PDLRUZ42.mjs} +5 -5
  75. package/dist/cli/{chunk-M6YHS5V7.mjs → chunk-RDJTCW3I.mjs} +3 -3
  76. package/dist/cli/{chunk-3YHS4BLB.js → chunk-RI672VNY.js} +2 -2
  77. package/dist/cli/{chunk-TQTQ3YYA.mjs → chunk-RKE5YTHY.mjs} +5 -5
  78. package/dist/cli/{chunk-SHB2BNI6.mjs → chunk-SFMCKB57.mjs} +37 -90
  79. package/dist/cli/{chunk-BMCRTI6Z.mjs → chunk-UBKA33KY.mjs} +1 -22
  80. package/dist/cli/{chunk-6GI7BYSL.mjs → chunk-UV6XCHOZ.mjs} +1 -1
  81. package/dist/cli/{chunk-U5646OVV.mjs → chunk-VFCVH2LV.mjs} +5 -5
  82. package/dist/cli/{chunk-7QAX5VBT.js → chunk-VIM6I7RC.js} +41 -41
  83. package/dist/cli/{chunk-WSGXBROE.js → chunk-XDVT3GOM.js} +1 -22
  84. package/dist/cli/{chunk-KCISDDNK.mjs → chunk-XR6TN5DT.mjs} +6 -6
  85. package/dist/cli/{chunk-XXDY7K7F.js → chunk-XT25FX6T.js} +3 -3
  86. package/dist/cli/{chunk-ASGGZ6BI.mjs → chunk-XXY4E57R.mjs} +2 -2
  87. package/dist/cli/{chunk-YVQLXMJU.mjs → chunk-Y3LDRCMB.mjs} +3 -3
  88. package/dist/cli/{chunk-5ECMRQCL.js → chunk-ZUAKRBZB.js} +1 -1
  89. package/dist/cli/{chunk-DQQ6FDE6.mjs → chunk-ZZ7U4YJS.mjs} +1 -1
  90. package/dist/cli/{chunk-LYIJ3YUP.js → chunk-ZZLZCO6Y.js} +22 -22
  91. package/dist/cli/{csv-VJNR6FOZ.js → csv-3HIE4VCO.js} +13 -13
  92. package/dist/cli/{csv-T7HIELZ2.mjs → csv-PE35WGRO.mjs} +4 -4
  93. package/dist/cli/{db-OE2EXZXL.mjs → db-L7ZMMQKW.mjs} +8 -8
  94. package/dist/cli/{db-JF2I54V7.js → db-O2YRTTDO.js} +29 -29
  95. package/dist/cli/describe-EB336DAO.js +50 -0
  96. package/dist/cli/{describe-HXZZC3LC.mjs → describe-NI324Y2M.mjs} +20 -20
  97. package/dist/cli/describe-core.d.mts +2 -2
  98. package/dist/cli/describe-core.d.ts +2 -2
  99. package/dist/cli/{executions-4BXRIJFF.mjs → executions-T6KU2OKK.mjs} +8 -8
  100. package/dist/cli/{executions-UQ2H6MJZ.js → executions-VH4DKLFI.js} +10 -10
  101. package/dist/cli/{feedback-TXF5CQKA.mjs → feedback-SCSJC3FX.mjs} +5 -5
  102. package/dist/cli/{feedback-MKFN7DYY.js → feedback-ZLC6G5OK.js} +10 -10
  103. package/dist/cli/git-23T7TXAH.js +25 -0
  104. package/dist/cli/{git-MG3NAV65.mjs → git-I4LVQCID.mjs} +5 -5
  105. package/dist/cli/index.js +141 -141
  106. package/dist/cli/index.mjs +43 -43
  107. package/dist/cli/{legacy-noops-XSDY46XD.mjs → legacy-noops-44FQ2256.mjs} +6 -6
  108. package/dist/cli/{legacy-noops-R76I2OWW.js → legacy-noops-UPFWEHPG.js} +9 -9
  109. package/dist/cli/{monitors-FS3DIDM7.js → monitors-JN6IQGK6.js} +102 -102
  110. package/dist/cli/{monitors-NVT5YQKV.mjs → monitors-LMSASWXE.mjs} +9 -9
  111. package/dist/cli/{org-SBI6FC6D.js → org-F7O3ZU5O.js} +74 -74
  112. package/dist/cli/{org-XU7JONWS.mjs → org-QYLVEE7A.mjs} +8 -8
  113. package/dist/cli/{pages-AFB5DVBR.mjs → pages-5XE4LBZN.mjs} +8 -8
  114. package/dist/cli/{pages-2CZFJJV6.js → pages-KEL3Y4L4.js} +20 -20
  115. package/dist/cli/{play-EQEIT5S4.mjs → play-MWQG3G32.mjs} +21 -21
  116. package/dist/cli/{play-WZH72UGC.js → play-OURHH6KV.js} +338 -338
  117. package/dist/cli/{providers-3VXTATHF.mjs → providers-IQY7LUBB.mjs} +8 -8
  118. package/dist/cli/{providers-SHSVUQA3.js → providers-ZCBWPE3C.js} +11 -11
  119. package/dist/cli/{quickstart-45YS4SOD.mjs → quickstart-L45NGRMI.mjs} +4 -4
  120. package/dist/cli/{quickstart-KPVPK3VL.js → quickstart-O53OXTN6.js} +6 -6
  121. package/dist/cli/{run-XEHRZT57.mjs → run-VCSIWLEU.mjs} +25 -25
  122. package/dist/cli/{run-U5RWBX5J.js → run-W745Z3Z5.js} +43 -43
  123. package/dist/cli/run-identity-G257GQED.js +25 -0
  124. package/dist/cli/{run-identity-MNRZS2N3.mjs → run-identity-MRNCEGV2.mjs} +3 -9
  125. package/dist/cli/search-R6K7ZAMU.js +33 -0
  126. package/dist/cli/{search-V7XIWBQ2.mjs → search-THELKULN.mjs} +10 -10
  127. package/dist/cli/{search-output-3KAJUV2A.mjs → search-output-N7MJLYYD.mjs} +4 -4
  128. package/dist/cli/{search-output-ZNIICV5Z.js → search-output-SJW7LEOM.js} +6 -6
  129. package/dist/cli/{secrets-SCSG3QXJ.mjs → secrets-44ST3FJH.mjs} +8 -8
  130. package/dist/cli/{secrets-53TUV6JK.js → secrets-GDXPX3KB.js} +17 -17
  131. package/dist/cli/sessions-2V5ZFOWL.js +18 -0
  132. package/dist/cli/{sessions-MCTHLLK3.mjs → sessions-LYCBI77S.mjs} +6 -6
  133. package/dist/cli/{settings-ZNOXOIX2.js → settings-3WOFF642.js} +88 -88
  134. package/dist/cli/{settings-Q2HKACSE.mjs → settings-GXPDMJFG.mjs} +15 -15
  135. package/dist/cli/{setup-GO4EULLY.js → setup-YHLMBJP4.js} +50 -50
  136. package/dist/cli/{setup-WKM35SZJ.mjs → setup-YM6JEB64.mjs} +10 -10
  137. package/dist/cli/{skills-DZZLW6OV.mjs → skills-WX4XWEAT.mjs} +8 -8
  138. package/dist/cli/skills-XNGADDO6.js +37 -0
  139. package/dist/cli/{tools-EKVSK6X4.mjs → tools-K24VSQ7S.mjs} +19 -19
  140. package/dist/cli/tools-ROUMCB7B.js +57 -0
  141. package/dist/cli/{update-FPHYVHSC.mjs → update-PSSCF5AT.mjs} +10 -10
  142. package/dist/cli/update-RXURGIRW.js +35 -0
  143. package/dist/cli/{workflow-5YAZK5EI.mjs → workflow-DGOPYATO.mjs} +9 -9
  144. package/dist/cli/{workflow-27H3NCNY.js → workflow-FPVI3NIA.js} +19 -19
  145. package/dist/{client-DhEOE19l.d.ts → client-B-2Am2y6.d.ts} +1 -1
  146. package/dist/{client-lJmz2QwF.d.mts → client-DA71-2_u.d.mts} +1 -1
  147. package/dist/{client-core-BGiSMrBD.d.mts → client-core-BXbds1cb.d.mts} +0 -19
  148. package/dist/{client-core-DYCGaRBZ.d.ts → client-core-C0IzDKMJ.d.ts} +0 -19
  149. package/dist/index.d.mts +3 -3
  150. package/dist/index.d.ts +3 -3
  151. package/dist/index.js +19 -19
  152. package/dist/index.mjs +8 -8
  153. package/dist/install-integrity.json +114 -122
  154. package/dist/plays/play-description.d.mts +1 -1
  155. package/dist/plays/play-description.d.ts +1 -1
  156. package/dist/plays/run-request.d.mts +1 -1
  157. package/dist/plays/run-request.d.ts +1 -1
  158. package/dist/plays/run-request.js +3 -3
  159. package/dist/plays/run-request.mjs +2 -2
  160. package/dist/release.d.mts +1 -1
  161. package/dist/release.d.ts +1 -1
  162. package/dist/release.js +2 -2
  163. package/dist/release.mjs +1 -1
  164. package/dist/server.d.mts +2 -2
  165. package/dist/server.d.ts +2 -2
  166. package/dist/server.js +7 -7
  167. package/dist/server.mjs +5 -5
  168. package/package.json +1 -1
  169. package/dist/bundling-sources/shared_libs/play-runtime/runtime-app-transport.ts +0 -374
  170. package/dist/bundling-sources/shared_libs/play-runtime/runtime-gateway-egress.ts +0 -55
  171. package/dist/bundling-sources/shared_libs/play-runtime/runtime-gateway-profile.ts +0 -329
  172. package/dist/bundling-sources/shared_libs/play-runtime/runtime-gateway-sandbox-credential.ts +0 -338
  173. package/dist/bundling-sources/shared_libs/play-runtime/runtime-gateway-staging.ts +0 -417
  174. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-gateway-attempt.ts +0 -81
  175. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-gateway-staging-journal.ts +0 -708
  176. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-gateway-staging-teardown.ts +0 -160
  177. package/dist/cli/auth-TH4JV6BH.js +0 -43
  178. package/dist/cli/describe-4FLGKRCA.js +0 -50
  179. package/dist/cli/git-B2QO3SLK.js +0 -25
  180. package/dist/cli/run-identity-HFYABUJS.js +0 -31
  181. package/dist/cli/search-Z2V43OPM.js +0 -33
  182. package/dist/cli/sessions-BOJCVLR7.js +0 -18
  183. package/dist/cli/skills-B4BAH2B2.js +0 -37
  184. package/dist/cli/tools-Z5NCKIAB.js +0 -57
  185. package/dist/cli/update-XCL7F5T6.js +0 -35
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  PlayClient
3
- } from "./chunk-SHB2BNI6.mjs";
3
+ } from "./chunk-SFMCKB57.mjs";
4
4
  import {
5
5
  HttpClient,
6
6
  resolveConfig
7
- } from "./chunk-QQGRQRCS.mjs";
7
+ } from "./chunk-5477PEHL.mjs";
8
8
 
9
9
  // src/plays/local-play-execution.ts
10
10
  function importedNodes(graph) {
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkY5QYWFRIjs = require('./chunk-Y5QYWFRI.js');
5
+ var _chunkDRDZBRXVjs = require('./chunk-DRDZBRXV.js');
6
6
 
7
7
 
8
- var _chunkUA4MXESLjs = require('./chunk-UA4MXESL.js');
8
+ var _chunkGMYDVW7Zjs = require('./chunk-GMYDVW7Z.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 } = _chunkY5QYWFRIjs.getAuthedHttpClient.call(void 0, );
35
+ const { http } = _chunkDRDZBRXVjs.getAuthedHttpClient.call(void 0, );
36
36
  const payload = await http.get(
37
37
  `/api/v2/play-projects${options.all ? "?includeDisabled=1" : ""}`
38
38
  );
39
- _chunkY5QYWFRIjs.printCommandEnvelope.call(void 0,
39
+ _chunkDRDZBRXVjs.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 } = _chunkY5QYWFRIjs.getAuthedHttpClient.call(void 0, );
76
+ const { http } = _chunkDRDZBRXVjs.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
- _chunkY5QYWFRIjs.printCommandEnvelope.call(void 0,
139
+ _chunkDRDZBRXVjs.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 } = _chunkY5QYWFRIjs.getAuthedHttpClient.call(void 0, );
150
+ const { http } = _chunkDRDZBRXVjs.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
- _chunkY5QYWFRIjs.printCommandEnvelope.call(void 0,
153
+ _chunkDRDZBRXVjs.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 } = _chunkY5QYWFRIjs.getAuthedHttpClient.call(void 0, );
174
+ const { http } = _chunkDRDZBRXVjs.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 } = _chunkY5QYWFRIjs.getAuthedHttpClient.call(void 0, );
191
+ const { http } = _chunkDRDZBRXVjs.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
- _chunkY5QYWFRIjs.printCommandEnvelope.call(void 0,
200
+ _chunkDRDZBRXVjs.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 } = _chunkY5QYWFRIjs.getAuthedHttpClient.call(void 0, );
223
+ const { http } = _chunkDRDZBRXVjs.getAuthedHttpClient.call(void 0, );
224
224
  const payload = await http.get(
225
225
  `/api/v2/play-projects/${encodeURIComponent(id)}`
226
226
  );
227
- _chunkY5QYWFRIjs.printCommandEnvelope.call(void 0,
227
+ _chunkDRDZBRXVjs.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 } = _chunkY5QYWFRIjs.getAuthedHttpClient.call(void 0, );
243
+ const { http } = _chunkDRDZBRXVjs.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
- _chunkY5QYWFRIjs.printCommandEnvelope.call(void 0,
254
+ _chunkDRDZBRXVjs.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 } = _chunkY5QYWFRIjs.getAuthedHttpClient.call(void 0, );
267
+ const { http } = _chunkDRDZBRXVjs.getAuthedHttpClient.call(void 0, );
268
268
  await http.delete(`/api/v2/play-projects/${encodeURIComponent(id)}`);
269
- _chunkY5QYWFRIjs.printCommandEnvelope.call(void 0,
269
+ _chunkDRDZBRXVjs.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 = _chunkUA4MXESLjs.resolveBaseUrlOnly.call(void 0, );
289
+ const baseUrl = _chunkGMYDVW7Zjs.resolveBaseUrlOnly.call(void 0, );
290
290
  const connectUrl = `${baseUrl.replace(/\/$/, "")}/api/v2/github/connect`;
291
- const opened = _chunkY5QYWFRIjs.openInBrowser.call(void 0, connectUrl);
292
- _chunkY5QYWFRIjs.printCommandEnvelope.call(void 0,
291
+ const opened = _chunkDRDZBRXVjs.openInBrowser.call(void 0, connectUrl);
292
+ _chunkDRDZBRXVjs.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 } = _chunkY5QYWFRIjs.getAuthedHttpClient.call(void 0, );
314
+ const { http } = _chunkDRDZBRXVjs.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
- _chunkY5QYWFRIjs.printCommandEnvelope.call(void 0,
322
+ _chunkDRDZBRXVjs.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 } = _chunkY5QYWFRIjs.getAuthedHttpClient.call(void 0, );
366
+ const { http } = _chunkDRDZBRXVjs.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
- _chunkY5QYWFRIjs.printCommandEnvelope.call(void 0,
371
+ _chunkDRDZBRXVjs.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 } = _chunkY5QYWFRIjs.getAuthedHttpClient.call(void 0, );
390
+ const { http } = _chunkDRDZBRXVjs.getAuthedHttpClient.call(void 0, );
391
391
  const payload = await http.post(`/api/v2/deployments/${encodeURIComponent(id)}/cancel`, {});
392
- _chunkY5QYWFRIjs.printCommandEnvelope.call(void 0,
392
+ _chunkDRDZBRXVjs.printCommandEnvelope.call(void 0,
393
393
  {
394
394
  cancelled: payload.cancelled,
395
395
  deployment: payload.deployment,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  buildCallerPlayWorkflowId,
3
3
  callerPlayWorkflowIdMatchesRequest
4
- } from "./chunk-BMCRTI6Z.mjs";
4
+ } from "./chunk-UBKA33KY.mjs";
5
5
  import {
6
6
  apiErrorCodeFromResponse,
7
7
  apiErrorMessage
@@ -1,13 +1,13 @@
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
- var _chunk3YHS4BLBjs = require('./chunk-3YHS4BLB.js');
3
+ var _chunkRI672VNYjs = require('./chunk-RI672VNY.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkY5QYWFRIjs = require('./chunk-Y5QYWFRI.js');
7
+ var _chunkDRDZBRXVjs = require('./chunk-DRDZBRXV.js');
8
8
 
9
9
 
10
- var _chunkBHAP6FIZjs = require('./chunk-BHAP6FIZ.js');
10
+ var _chunkDLDWAPA5js = require('./chunk-DLDWAPA5.js');
11
11
 
12
12
  // src/cli/commands/sessions.ts
13
13
 
@@ -142,7 +142,7 @@ function currentSessionFile(agent) {
142
142
  const newestFirst = listSessionFiles(agent).sort(
143
143
  (a, b) => b.mtimeMs - a.mtimeMs
144
144
  );
145
- const sessionId = _chunkBHAP6FIZjs.agentSessionIdFromEnvironment.call(void 0,
145
+ const sessionId = _chunkDLDWAPA5js.agentSessionIdFromEnvironment.call(void 0,
146
146
  process.env,
147
147
  agent === "auto" ? void 0 : agent === "claude" ? "claude_code" : "codex"
148
148
  );
@@ -454,7 +454,7 @@ function buildSessionUploadContent(raw) {
454
454
  return { encodedContent: encoded, needsChunking: true };
455
455
  }
456
456
  async function uploadPayload(path, payload) {
457
- const { http } = _chunkY5QYWFRIjs.getAuthedHttpClient.call(void 0, );
457
+ const { http } = _chunkDRDZBRXVjs.getAuthedHttpClient.call(void 0, );
458
458
  return await http.post(path, payload);
459
459
  }
460
460
  async function uploadChunkedSessions(sessions, options) {
@@ -487,7 +487,7 @@ async function uploadChunkedSessions(sessions, options) {
487
487
  ...options.rating ? { rating: options.rating } : {}
488
488
  });
489
489
  const sessionIds = sessions.map((session) => session.sessionId);
490
- _chunkY5QYWFRIjs.printCommandEnvelope.call(void 0,
490
+ _chunkDRDZBRXVjs.printCommandEnvelope.call(void 0,
491
491
  {
492
492
  ...response,
493
493
  ok: true,
@@ -508,7 +508,7 @@ async function uploadChunkedSessions(sessions, options) {
508
508
  );
509
509
  }
510
510
  async function handleSessionsSend(options) {
511
- if (_chunk3YHS4BLBjs.rejectRestrictedFeedback.call(void 0, options)) return;
511
+ if (_chunkRI672VNYjs.rejectRestrictedFeedback.call(void 0, options)) return;
512
512
  const rating = parseSessionRating(options.rating);
513
513
  if (options.file) {
514
514
  const filePath = _path.resolve.call(void 0, options.file);
@@ -520,7 +520,7 @@ async function handleSessionsSend(options) {
520
520
  filename: _path.basename.call(void 0, filePath),
521
521
  ...rating ? { rating } : {}
522
522
  });
523
- _chunkY5QYWFRIjs.printCommandEnvelope.call(void 0,
523
+ _chunkDRDZBRXVjs.printCommandEnvelope.call(void 0,
524
524
  {
525
525
  ...response2,
526
526
  ok: true,
@@ -570,7 +570,7 @@ async function handleSessionsSend(options) {
570
570
  ...rating ? { rating } : {}
571
571
  });
572
572
  const sessionIds = built.map((session) => session.sessionId);
573
- _chunkY5QYWFRIjs.printCommandEnvelope.call(void 0,
573
+ _chunkDRDZBRXVjs.printCommandEnvelope.call(void 0,
574
574
  {
575
575
  ...response,
576
576
  ok: true,
@@ -678,7 +678,7 @@ ${refreshMeta}
678
678
  </body>
679
679
  </html>`;
680
680
  _fs.writeFileSync.call(void 0, outputPath, html, "utf8");
681
- _chunkY5QYWFRIjs.printCommandEnvelope.call(void 0,
681
+ _chunkDRDZBRXVjs.printCommandEnvelope.call(void 0,
682
682
  {
683
683
  ok: true,
684
684
  file: outputPath,
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk-ZPGGW27Q.mjs";
18
18
  import {
19
19
  SDK_RELEASE
20
- } from "./chunk-6GI7BYSL.mjs";
20
+ } from "./chunk-UV6XCHOZ.mjs";
21
21
 
22
22
  // src/version.ts
23
23
  var SDK_VERSION = SDK_RELEASE.version;
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./chunk-SHB2BNI6.mjs";
3
+ } from "./chunk-SFMCKB57.mjs";
4
4
  import {
5
5
  HttpClient,
6
6
  resolveConfig
7
- } from "./chunk-QQGRQRCS.mjs";
7
+ } from "./chunk-5477PEHL.mjs";
8
8
 
9
9
  // src/client.ts
10
10
  var DeeplineClient2 = class extends DeeplineClient {
@@ -1,7 +1,7 @@
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 _chunkBHAP6FIZjs = require('./chunk-BHAP6FIZ.js');
4
+ var _chunkDLDWAPA5js = require('./chunk-DLDWAPA5.js');
5
5
 
6
6
 
7
7
  var _chunkT2N3B7IQjs = require('./chunk-T2N3B7IQ.js');
@@ -711,7 +711,7 @@ function readSkillsVersionFile(path) {
711
711
  }
712
712
  }
713
713
  function resolveAutoSyncSkillAgents() {
714
- switch (_chunkBHAP6FIZjs.detectAgentRuntime.call(void 0, )) {
714
+ switch (_chunkDLDWAPA5js.detectAgentRuntime.call(void 0, )) {
715
715
  case "codex":
716
716
  return ["codex"];
717
717
  case "claude_code":
@@ -781,7 +781,7 @@ function writeSdkSkillsLocalVersion(baseUrl, version, agents) {
781
781
  }
782
782
 
783
783
  // src/http.ts
784
- var HttpClient2 = class extends _chunkBHAP6FIZjs.HttpClient {
784
+ var HttpClient2 = class extends _chunkDLDWAPA5js.HttpClient {
785
785
  constructor(config) {
786
786
  super(config, readSdkSkillsLocalVersion);
787
787
  }
@@ -3,18 +3,18 @@
3
3
  var _chunkD3BCSAN7js = require('./chunk-D3BCSAN7.js');
4
4
 
5
5
 
6
- var _chunkI4GBCKBLjs = require('./chunk-I4GBCKBL.js');
6
+ var _chunk7JEN3FX4js = require('./chunk-7JEN3FX4.js');
7
7
 
8
8
 
9
- var _chunkYHHLLONUjs = require('./chunk-YHHLLONU.js');
9
+ var _chunk5BQPEHEPjs = require('./chunk-5BQPEHEP.js');
10
10
 
11
11
 
12
12
 
13
- var _chunkY5QYWFRIjs = require('./chunk-Y5QYWFRI.js');
13
+ var _chunkDRDZBRXVjs = require('./chunk-DRDZBRXV.js');
14
14
 
15
15
 
16
16
 
17
- var _chunkUA4MXESLjs = require('./chunk-UA4MXESL.js');
17
+ var _chunkGMYDVW7Zjs = require('./chunk-GMYDVW7Z.js');
18
18
 
19
19
  // src/cli/commands/search.ts
20
20
  var _commander = require('commander');
@@ -24,7 +24,7 @@ var _fs = require('fs');
24
24
  var _path = require('path');
25
25
  var SEARCH_REF_TTL_MS = 15 * 6e4;
26
26
  function lastSearchPath() {
27
- return _path.join.call(void 0, _chunkUA4MXESLjs.sdkCliStateDirPath.call(void 0, _chunkUA4MXESLjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
27
+ return _path.join.call(void 0, _chunkGMYDVW7Zjs.sdkCliStateDirPath.call(void 0, _chunkGMYDVW7Zjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
28
28
  }
29
29
  function rememberSearchRef(searchRef) {
30
30
  writeSearchRefs({ searchRef });
@@ -134,9 +134,9 @@ async function runSearch(queryInputs, options, types, exclude = []) {
134
134
  console.error("--summary-width must be an integer of at least 2.");
135
135
  return 1;
136
136
  }
137
- const client = new (0, _chunkI4GBCKBLjs.DeeplineClient)();
137
+ const client = new (0, _chunk7JEN3FX4js.DeeplineClient)();
138
138
  const json = options.json === true;
139
- const renderer = json ? void 0 : await Promise.resolve().then(() => _interopRequireWildcard(require("./search-output-ZNIICV5Z.js")));
139
+ const renderer = json ? void 0 : await Promise.resolve().then(() => _interopRequireWildcard(require("./search-output-SJW7LEOM.js")));
140
140
  const searches = [];
141
141
  const chunks = [];
142
142
  const refs = /* @__PURE__ */ new Map();
@@ -159,7 +159,7 @@ async function runSearch(queryInputs, options, types, exclude = []) {
159
159
  const text = _optionalChain([renderer, 'optionalAccess', _12 => _12.renderSearchResults, 'call', _13 => _13(result, summaryWidth)]);
160
160
  if (!multiple) {
161
161
  if (searchRef) rememberSearchRef(searchRef);
162
- _chunkY5QYWFRIjs.printCommandEnvelope.call(void 0, result, { json, text });
162
+ _chunkDRDZBRXVjs.printCommandEnvelope.call(void 0, result, { json, text });
163
163
  return 0;
164
164
  }
165
165
  searches.push({ ...result, query });
@@ -173,8 +173,8 @@ ${text}`);
173
173
  }
174
174
  } catch (error) {
175
175
  if (!multiple) throw error;
176
- const payload = _chunkY5QYWFRIjs.errorToJsonPayload.call(void 0, error);
177
- const queryExitCode = _nullishCoalesce(payload.exitCode, () => ( _chunkYHHLLONUjs.resolveSdkCliFailureExitCode.call(void 0, error)));
176
+ const payload = _chunkDRDZBRXVjs.errorToJsonPayload.call(void 0, error);
177
+ const queryExitCode = _nullishCoalesce(payload.exitCode, () => ( _chunk5BQPEHEPjs.resolveSdkCliFailureExitCode.call(void 0, error)));
178
178
  searches.push({ ...payload, query, exitCode: queryExitCode });
179
179
  if (!json) {
180
180
  console.error(`${JSON.stringify(query)}: ${payload.error.message}`);
@@ -186,7 +186,7 @@ Search failed.
186
186
  }
187
187
  }
188
188
  rememberSearchRefsByTool(refs);
189
- _chunkY5QYWFRIjs.printCommandEnvelope.call(void 0,
189
+ _chunkDRDZBRXVjs.printCommandEnvelope.call(void 0,
190
190
  { searches },
191
191
  {
192
192
  json,
@@ -1,19 +1,19 @@
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 _chunkLUIPBI6Pjs = require('./chunk-LUIPBI6P.js');
4
+ var _chunk6SJPZV5Ejs = require('./chunk-6SJPZV5E.js');
5
5
 
6
6
 
7
- var _chunk7QAX5VBTjs = require('./chunk-7QAX5VBT.js');
7
+ var _chunkVIM6I7RCjs = require('./chunk-VIM6I7RC.js');
8
8
 
9
9
 
10
- var _chunk4VR5OTYPjs = require('./chunk-4VR5OTYP.js');
10
+ var _chunk37SXIFIUjs = require('./chunk-37SXIFIU.js');
11
11
 
12
12
 
13
- var _chunkY5QYWFRIjs = require('./chunk-Y5QYWFRI.js');
13
+ var _chunkDRDZBRXVjs = require('./chunk-DRDZBRXV.js');
14
14
 
15
15
 
16
- var _chunkUA4MXESLjs = require('./chunk-UA4MXESL.js');
16
+ var _chunkGMYDVW7Zjs = require('./chunk-GMYDVW7Z.js');
17
17
 
18
18
  // src/cli/commands/update.ts
19
19
  var _child_process = require('child_process');
@@ -495,7 +495,7 @@ function normalizedNpmPrefix(value) {
495
495
  }
496
496
  function resolveNpmGlobalPrefix(env) {
497
497
  try {
498
- const plan = _chunk4VR5OTYPjs.resolveShellSpawn.call(void 0,
498
+ const plan = _chunk37SXIFIUjs.resolveShellSpawn.call(void 0,
499
499
  "npm",
500
500
  ["prefix", "-g"],
501
501
  process.platform,
@@ -556,8 +556,8 @@ function resolveUpdatePlan(options = {}) {
556
556
  const npmGlobalPrefix = options.npmGlobalPrefix !== void 0 ? options.npmGlobalPrefix : resolveNpmGlobalPrefix(env);
557
557
  const hasVerifiedNpmOwnership = inferredInstallPrefix !== null && normalizedNpmPrefix(inferredInstallPrefix) === normalizedNpmPrefix(npmGlobalPrefix);
558
558
  const installPrefix = options.requireVerifiedNpmOwnership ? hasVerifiedNpmOwnership ? inferredInstallPrefix : null : inferredInstallPrefix;
559
- const npmVersion = options.npmVersion === void 0 ? _chunkLUIPBI6Pjs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
- const npmGlobalInstallFlags = _chunkLUIPBI6Pjs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
559
+ const npmVersion = options.npmVersion === void 0 ? _chunk6SJPZV5Ejs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
+ const npmGlobalInstallFlags = _chunk6SJPZV5Ejs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
561
561
  const args = installPrefix ? [
562
562
  "install",
563
563
  "-g",
@@ -567,7 +567,7 @@ function resolveUpdatePlan(options = {}) {
567
567
  packageSpec
568
568
  ] : ["install", "-g", ...npmGlobalInstallFlags, packageSpec];
569
569
  const fallbackRegistryUrl = options.npmFallbackRegistryUrl !== void 0 ? options.npmFallbackRegistryUrl : publicNpmFallbackRegistryUrl(
570
- _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkUA4MXESLjs.autoDetectBaseUrl.call(void 0, )
570
+ _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkGMYDVW7Zjs.autoDetectBaseUrl.call(void 0, )
571
571
  );
572
572
  return {
573
573
  kind: "npm-global",
@@ -816,7 +816,7 @@ function sidecarInstallFailure(versionDir) {
816
816
  function runCommand(command, args, env = process.env) {
817
817
  return new Promise((resolveResult) => {
818
818
  let output = "";
819
- const plan = _chunk4VR5OTYPjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
819
+ const plan = _chunk37SXIFIUjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
820
820
  const child = _child_process.spawn.call(void 0, plan.command, plan.args, {
821
821
  stdio: ["inherit", "pipe", "pipe"],
822
822
  shell: plan.shell,
@@ -1199,14 +1199,14 @@ async function publishedVersionSupportsPin(version, fallbackRegistryUrl) {
1199
1199
  throw _nullishCoalesce(lastError, () => ( new Error("No npm registry was available")));
1200
1200
  }
1201
1201
  async function runUpdateCommand(options, dependencies = {}) {
1202
- const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkUA4MXESLjs.autoDetectBaseUrl));
1202
+ const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkGMYDVW7Zjs.autoDetectBaseUrl));
1203
1203
  const resolvePlan = _nullishCoalesce(dependencies.resolvePlan, () => ( resolveUpdatePlan));
1204
1204
  const runPlan = _nullishCoalesce(dependencies.runPlan, () => ( runUpdatePlan));
1205
1205
  const syncSkills = _nullishCoalesce(dependencies.syncSkillsIfNeeded, () => ( (async () => {
1206
1206
  const originalWrite = process.stdout.write.bind(process.stdout);
1207
1207
  process.stdout.write = (() => true);
1208
1208
  try {
1209
- const exitCode = await _chunk7QAX5VBTjs.runSkillsCommand.call(void 0, { json: true });
1209
+ const exitCode = await _chunkVIM6I7RCjs.runSkillsCommand.call(void 0, { json: true });
1210
1210
  if (exitCode !== 0) {
1211
1211
  throw new Error(
1212
1212
  `Deepline skills update failed with exit ${exitCode}.`
@@ -1277,11 +1277,11 @@ async function runUpdateCommand(options, dependencies = {}) {
1277
1277
  ]
1278
1278
  };
1279
1279
  if (options.json && !options.executeWithJson) {
1280
- _chunkY5QYWFRIjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1280
+ _chunkDRDZBRXVjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1281
1281
  return 0;
1282
1282
  }
1283
1283
  if (options.printCommand) {
1284
- _chunkY5QYWFRIjs.printCommandEnvelope.call(void 0,
1284
+ _chunkDRDZBRXVjs.printCommandEnvelope.call(void 0,
1285
1285
  {
1286
1286
  ...plan,
1287
1287
  render: {
@@ -1294,7 +1294,7 @@ async function runUpdateCommand(options, dependencies = {}) {
1294
1294
  return 0;
1295
1295
  }
1296
1296
  if (plan.kind === "source" || plan.kind === "homebrew") {
1297
- _chunkY5QYWFRIjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1297
+ _chunkDRDZBRXVjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1298
1298
  return 0;
1299
1299
  }
1300
1300
  stderr.write(`Updating Deepline SDK/CLI with: ${plan.manualCommand}
@@ -1324,7 +1324,7 @@ To retry with full installer output, run: deepline skills install
1324
1324
  );
1325
1325
  }
1326
1326
  if (options.executeWithJson && options.json) {
1327
- _chunkY5QYWFRIjs.printCommandEnvelope.call(void 0,
1327
+ _chunkDRDZBRXVjs.printCommandEnvelope.call(void 0,
1328
1328
  {
1329
1329
  ok: true,
1330
1330
  pinnedVersion
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
- var _chunkJO2MQ6XRjs = require('./chunk-JO2MQ6XR.js');
3
+ var _chunkEJBW7Y6Zjs = require('./chunk-EJBW7Y6Z.js');
4
4
 
5
5
 
6
- var _chunkGVTHFDKNjs = require('./chunk-GVTHFDKN.js');
6
+ var _chunk5H22VJPEjs = require('./chunk-5H22VJPE.js');
7
7
 
8
8
 
9
9
 
@@ -14,18 +14,18 @@ var _chunkRVHUW4TNjs = require('./chunk-RVHUW4TN.js');
14
14
  var _chunkNTLBZUHDjs = require('./chunk-NTLBZUHD.js');
15
15
 
16
16
 
17
- var _chunkI4GBCKBLjs = require('./chunk-I4GBCKBL.js');
17
+ var _chunk7JEN3FX4js = require('./chunk-7JEN3FX4.js');
18
18
 
19
19
 
20
20
 
21
- var _chunkYHHLLONUjs = require('./chunk-YHHLLONU.js');
21
+ var _chunk5BQPEHEPjs = require('./chunk-5BQPEHEP.js');
22
22
 
23
23
 
24
- var _chunkY5QYWFRIjs = require('./chunk-Y5QYWFRI.js');
24
+ var _chunkDRDZBRXVjs = require('./chunk-DRDZBRXV.js');
25
25
 
26
26
 
27
27
 
28
- var _chunkUA4MXESLjs = require('./chunk-UA4MXESL.js');
28
+ var _chunkGMYDVW7Zjs = require('./chunk-GMYDVW7Z.js');
29
29
 
30
30
  // src/cli/commands/describe.ts
31
31
  var _fs = require('fs');
@@ -34,14 +34,14 @@ var _path = require('path');
34
34
  // src/cli/doc-read-reporting.ts
35
35
  var REPORT_TIMEOUT_MS = 1e3;
36
36
  async function reportDocRead(docId) {
37
- if (_chunkYHHLLONUjs.isFailureReportingDisabled.call(void 0, )) return;
37
+ if (_chunk5BQPEHEPjs.isFailureReportingDisabled.call(void 0, )) return;
38
38
  try {
39
- const baseUrl = _chunkUA4MXESLjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
40
- const apiKey = _chunkUA4MXESLjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
39
+ const baseUrl = _chunkGMYDVW7Zjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
40
+ const apiKey = _chunkGMYDVW7Zjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
41
41
  if (!apiKey) return;
42
42
  await fetch(new URL("/api/v2/telemetry/doc-read", baseUrl), {
43
43
  method: "POST",
44
- headers: _chunkYHHLLONUjs.failureReportHeaders.call(void 0, apiKey),
44
+ headers: _chunk5BQPEHEPjs.failureReportHeaders.call(void 0, apiKey),
45
45
  body: JSON.stringify({ doc_id: docId }),
46
46
  signal: AbortSignal.timeout(REPORT_TIMEOUT_MS)
47
47
  });
@@ -54,16 +54,16 @@ function nothingNamed(name) {
54
54
  return `Nothing named "${name}". Search for it: deepline search ${JSON.stringify(name.replace(/[-_./]+/g, " "))}`;
55
55
  }
56
56
  function findNamed2(name, options) {
57
- return _chunkRVHUW4TNjs.findNamed.call(void 0, name, options, _chunkRVHUW4TNjs.describeLookupsFor.call(void 0, new (0, _chunkI4GBCKBLjs.DeeplineClient)()));
57
+ return _chunkRVHUW4TNjs.findNamed.call(void 0, name, options, _chunkRVHUW4TNjs.describeLookupsFor.call(void 0, new (0, _chunk7JEN3FX4js.DeeplineClient)()));
58
58
  }
59
59
  async function describeAnything(name, options, onMissing) {
60
- const client = new (0, _chunkI4GBCKBLjs.DeeplineClient)();
60
+ const client = new (0, _chunk7JEN3FX4js.DeeplineClient)();
61
61
  const lookups = _chunkRVHUW4TNjs.describeLookupsFor.call(void 0, client);
62
62
  const outcome = await _chunkRVHUW4TNjs.describeName.call(void 0, name, options, {
63
63
  ...lookups,
64
64
  // `tools describe` has already fetched the tool for its compatibility check.
65
65
  tool: async (toolName) => _nullishCoalesce(options.fetchedTool, () => ( lookups.tool(toolName))),
66
- seedStarterScript: _chunkJO2MQ6XRjs.seedToolListScript
66
+ seedStarterScript: _chunkEJBW7Y6Zjs.seedToolListScript
67
67
  });
68
68
  if (outcome.status === "missing") {
69
69
  if (onMissing) return onMissing();
@@ -89,18 +89,18 @@ function deliver(envelope, lines, { json, out }) {
89
89
  ` : text;
90
90
  _fs.writeFileSync.call(void 0, path, content);
91
91
  const bytes = Buffer.byteLength(content);
92
- _chunkY5QYWFRIjs.printCommandEnvelope.call(void 0,
92
+ _chunkDRDZBRXVjs.printCommandEnvelope.call(void 0,
93
93
  { path, bytes },
94
94
  { json, text: `Wrote ${path} (${bytes} bytes)
95
95
  ` }
96
96
  );
97
97
  return 0;
98
98
  }
99
- _chunkY5QYWFRIjs.printCommandEnvelope.call(void 0, envelope, { json, text });
99
+ _chunkDRDZBRXVjs.printCommandEnvelope.call(void 0, envelope, { json, text });
100
100
  return 0;
101
101
  }
102
102
  function registerDescribeCommand(program) {
103
- _chunkGVTHFDKNjs.addDescribeOptions.call(void 0, program.command("describe <name>")).option("--web-url", "Print only a play's play page URL").description(
103
+ _chunk5H22VJPEjs.addDescribeOptions.call(void 0, program.command("describe <name>")).option("--web-url", "Print only a play's play page URL").description(
104
104
  "Describe anything search returns: a tool, monitor type, or play."
105
105
  ).addHelpText(
106
106
  "after",