deepline 0.3.500 → 0.3.502

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 (190) hide show
  1. package/dist/bundling-sources/sdk/src/plays/client-core.ts +45 -7
  2. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  3. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +20 -2
  4. package/dist/bundling-sources/shared_libs/play-data-plane/r2.ts +155 -0
  5. package/dist/bundling-sources/shared_libs/play-runtime/app-runtime-api.ts +7 -1
  6. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +2 -1
  7. package/dist/bundling-sources/shared_libs/play-runtime/deployment/vercel-fly-rollback-alignment.ts +29 -14
  8. package/dist/bundling-sources/shared_libs/play-runtime/durable-invocation-fence.ts +3 -1
  9. package/dist/bundling-sources/shared_libs/play-runtime/internal-bootstrap-token.ts +54 -1
  10. package/dist/bundling-sources/shared_libs/play-runtime/launch-identity.ts +12 -0
  11. package/dist/bundling-sources/shared_libs/play-runtime/prebuilt-result-quality.ts +264 -0
  12. package/dist/bundling-sources/shared_libs/play-runtime/protocol.ts +18 -0
  13. package/dist/bundling-sources/shared_libs/play-runtime/run-identity.ts +56 -0
  14. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +53 -10
  15. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/runtime-heartbeat.ts +1 -1
  16. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/runtime-progress-push.ts +1 -2
  17. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/runtime-terminal-push.ts +1 -1
  18. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-launch-transport.ts +9 -2
  19. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-lifecycle.ts +31 -1
  20. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-payload-transport.ts +74 -3
  21. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-runtime-watchdog.ts +226 -2
  22. package/dist/bundling-sources/shared_libs/play-runtime/runtime-api-paths.ts +41 -0
  23. package/dist/bundling-sources/shared_libs/play-runtime/runtime-api.ts +5 -1
  24. package/dist/bundling-sources/shared_libs/play-runtime/runtime-app-transport.ts +374 -0
  25. package/dist/bundling-sources/shared_libs/play-runtime/runtime-authority.ts +5 -0
  26. package/dist/bundling-sources/shared_libs/play-runtime/runtime-environment.ts +49 -9
  27. package/dist/bundling-sources/shared_libs/play-runtime/runtime-gateway-oidc.ts +55 -11
  28. package/dist/bundling-sources/shared_libs/play-runtime/runtime-gateway-profile.ts +12 -1
  29. package/dist/bundling-sources/shared_libs/play-runtime/runtime-gateway-sandbox-credential.ts +338 -0
  30. package/dist/bundling-sources/shared_libs/play-runtime/runtime-gateway-staging.ts +417 -0
  31. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backend.ts +15 -0
  32. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +184 -11
  33. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-shared.ts +17 -3
  34. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/gateway-progress-registry.ts +9 -0
  35. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-progress.ts +18 -2
  36. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +198 -20
  37. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-gateway-attempt.ts +81 -0
  38. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-gateway-staging-journal.ts +708 -0
  39. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-gateway-staging-teardown.ts +160 -0
  40. package/dist/bundling-sources/shared_libs/play-runtime/workflow-executor-auth.ts +4 -0
  41. package/dist/bundling-sources/shared_libs/product-notifications/slack-delivery.ts +2 -0
  42. package/dist/cli/{auth-WK3FDPRP.mjs → auth-EFHLOVG4.mjs} +5 -5
  43. package/dist/cli/auth-VM3IKP5F.js +43 -0
  44. package/dist/cli/{billing-O3LVKXE7.mjs → billing-Q5XKEYPP.mjs} +8 -8
  45. package/dist/cli/{billing-K7UHZUF4.js → billing-SKT2VE34.js} +81 -81
  46. package/dist/cli/{chunk-4CJWOLOS.mjs → chunk-2JS3H6H6.mjs} +3 -3
  47. package/dist/cli/{chunk-CIV5GJAE.mjs → chunk-2MVIS2UI.mjs} +2 -2
  48. package/dist/cli/{chunk-LNMY2T5S.js → chunk-2S2F6YSI.js} +41 -41
  49. package/dist/cli/{chunk-RAZ3TMOS.js → chunk-32YQBJON.js} +7 -7
  50. package/dist/cli/{chunk-JHNFUCVT.mjs → chunk-3KEZVGGV.mjs} +4 -4
  51. package/dist/cli/{chunk-5JXGYSXH.mjs → chunk-3MJSWVQ2.mjs} +1 -1
  52. package/dist/cli/{chunk-5TVY5OEH.mjs → chunk-4CCMD7QM.mjs} +21 -20
  53. package/dist/cli/{chunk-T4AGTOKQ.mjs → chunk-4WTC5SSN.mjs} +7 -7
  54. package/dist/cli/{chunk-XCBOOB73.mjs → chunk-54QXWK3C.mjs} +1 -1
  55. package/dist/cli/{chunk-5AC7NUQN.mjs → chunk-7ZYSXSJJ.mjs} +5 -5
  56. package/dist/cli/{chunk-PHGMC33I.js → chunk-AJL2Q6IQ.js} +2 -2
  57. package/dist/cli/{chunk-UBKA33KY.mjs → chunk-BMCRTI6Z.mjs} +22 -1
  58. package/dist/cli/{chunk-74VKLBJD.js → chunk-DKAMCJIT.js} +14 -14
  59. package/dist/cli/{chunk-C5R3UH5V.mjs → chunk-DRBD4IYQ.mjs} +1 -1
  60. package/dist/cli/{chunk-Z5LE7NXM.js → chunk-DYHTXGLX.js} +2 -2
  61. package/dist/cli/{chunk-TOGCDNMH.js → chunk-EUWRKWT4.js} +4 -4
  62. package/dist/cli/{chunk-GBICEYUA.js → chunk-FVM4PS5Q.js} +116 -8
  63. package/dist/cli/{chunk-I42EOZKQ.js → chunk-FWDAEWCD.js} +5 -5
  64. package/dist/cli/{chunk-GOO4VI5M.js → chunk-GINKIZ7S.js} +16 -16
  65. package/dist/cli/{chunk-56QAHX2K.mjs → chunk-HIVRCTDR.mjs} +90 -30
  66. package/dist/cli/{chunk-XUOZYAP5.mjs → chunk-HMZF2CSP.mjs} +2 -2
  67. package/dist/cli/{chunk-5KAZGZG7.js → chunk-IL666WJE.js} +5 -5
  68. package/dist/cli/{chunk-G3NA4R7M.js → chunk-JFBJLNBI.js} +53 -53
  69. package/dist/cli/{chunk-KSHAFYYG.mjs → chunk-JFUXUSKB.mjs} +112 -4
  70. package/dist/cli/{chunk-RHE4YI4H.js → chunk-JL6H4H3G.js} +6 -6
  71. package/dist/cli/{chunk-K3BHKRMS.js → chunk-JLYDLK6X.js} +3 -3
  72. package/dist/cli/{chunk-QRKCCY4L.mjs → chunk-L5CTJY74.mjs} +1 -1
  73. package/dist/cli/{chunk-W64Y7GE7.js → chunk-LA3UYRVZ.js} +1 -1
  74. package/dist/cli/{chunk-HI2BFS5S.mjs → chunk-MP5QY4A2.mjs} +2 -2
  75. package/dist/cli/{chunk-V7MZYIA7.mjs → chunk-MYUISF3P.mjs} +5 -5
  76. package/dist/cli/{chunk-CS2AEAD6.mjs → chunk-N4TR6QRI.mjs} +1 -1
  77. package/dist/cli/{chunk-C7355NMU.mjs → chunk-NKLM4J4X.mjs} +1 -1
  78. package/dist/cli/{chunk-FJZUG633.mjs → chunk-NXVYLX3F.mjs} +3 -3
  79. package/dist/cli/{chunk-L7X6ADNM.mjs → chunk-NZXB27TP.mjs} +4 -4
  80. package/dist/cli/{chunk-VLCY4F6E.js → chunk-OEUMXKR5.js} +26 -26
  81. package/dist/cli/{chunk-SRS2D27G.mjs → chunk-OFBLT2LQ.mjs} +1 -1
  82. package/dist/cli/{chunk-SNPZ2QWL.js → chunk-OVZOMSH2.js} +8 -8
  83. package/dist/cli/{chunk-KEBNXJSK.js → chunk-Q3NM6ZL3.js} +19 -19
  84. package/dist/cli/{chunk-GBRI644Y.js → chunk-QNELA7SX.js} +53 -53
  85. package/dist/cli/{chunk-IX2DPYIV.js → chunk-QOJBRCAS.js} +3 -3
  86. package/dist/cli/{chunk-IZ6YWXIK.mjs → chunk-R5F7JXT4.mjs} +2 -2
  87. package/dist/cli/{chunk-EQR5O2D2.js → chunk-RNSHCJME.js} +3 -3
  88. package/dist/cli/{chunk-Q2FXZ4Z5.js → chunk-TAK3MVXY.js} +272 -271
  89. package/dist/cli/{chunk-BIE57V6K.js → chunk-UOANF3DR.js} +360 -300
  90. package/dist/cli/{chunk-CBZTKDXW.mjs → chunk-W5CHE5Q2.mjs} +1 -1
  91. package/dist/cli/{chunk-U5GFP26N.js → chunk-WKFAX2K7.js} +21 -21
  92. package/dist/cli/{chunk-XDVT3GOM.js → chunk-WSGXBROE.js} +22 -1
  93. package/dist/cli/{chunk-X7ODM2LK.js → chunk-X5MGQ7UT.js} +6 -6
  94. package/dist/cli/{chunk-REIKJREB.js → chunk-XMKUJ44Z.js} +5 -5
  95. package/dist/cli/{chunk-SNJNPRIV.js → chunk-YDXEXVBV.js} +7 -7
  96. package/dist/cli/{chunk-X5SO7RV5.mjs → chunk-YL2CCF6T.mjs} +4 -4
  97. package/dist/cli/{chunk-VPVEPGYS.mjs → chunk-YWOQYYYS.mjs} +2 -2
  98. package/dist/cli/{chunk-MAHLIWOF.mjs → chunk-Z2H7OQ6E.mjs} +2 -2
  99. package/dist/cli/{chunk-PGRPNRP6.mjs → chunk-ZNB6GR3P.mjs} +1 -1
  100. package/dist/cli/{csv-DEUOSTEB.mjs → csv-6AEPKKCO.mjs} +4 -4
  101. package/dist/cli/{csv-MWCWNIBJ.js → csv-OXGSCV75.js} +13 -13
  102. package/dist/cli/{db-Q6IRXTTG.js → db-6NVHDUZY.js} +29 -29
  103. package/dist/cli/{db-QM5R5BRY.mjs → db-K3KRK4CZ.mjs} +8 -8
  104. package/dist/cli/describe-JOUAXXPE.js +49 -0
  105. package/dist/cli/describe-P3ZJS7TQ.mjs +49 -0
  106. package/dist/cli/describe-core.d.mts +2 -2
  107. package/dist/cli/describe-core.d.ts +2 -2
  108. package/dist/cli/describe-core.js +3 -4
  109. package/dist/cli/describe-core.mjs +2 -3
  110. package/dist/cli/{executions-DCCDXSQI.js → executions-2C2FFG52.js} +10 -10
  111. package/dist/cli/{executions-SWBKFCY2.mjs → executions-I7XW6WWK.mjs} +8 -8
  112. package/dist/cli/{feedback-EU3EYF4V.js → feedback-47B57A5Y.js} +8 -8
  113. package/dist/cli/{feedback-Q27HN3SB.mjs → feedback-RSTNBJAI.mjs} +4 -4
  114. package/dist/cli/{git-SEQFTQ4N.mjs → git-3G5AFKBT.mjs} +5 -5
  115. package/dist/cli/git-OPKIC6JQ.js +25 -0
  116. package/dist/cli/index.js +137 -137
  117. package/dist/cli/index.mjs +40 -40
  118. package/dist/cli/{legacy-noops-XKH4VREG.mjs → legacy-noops-NQ262TKL.mjs} +5 -5
  119. package/dist/cli/{legacy-noops-LCQDEVA3.js → legacy-noops-P665PBG4.js} +8 -8
  120. package/dist/cli/{monitors-DJCID6X5.js → monitors-IPWAD7LS.js} +97 -97
  121. package/dist/cli/{monitors-4XWBV46I.mjs → monitors-KUPZODZS.mjs} +9 -9
  122. package/dist/cli/{org-BU4FG5PN.js → org-WFC3N672.js} +74 -74
  123. package/dist/cli/{org-PSBGXBRW.mjs → org-ZCQGEM3L.mjs} +8 -8
  124. package/dist/cli/{pages-3PHJYXYB.js → pages-N5BNC67L.js} +20 -20
  125. package/dist/cli/{pages-7QLXLJGQ.mjs → pages-VE66IU7B.mjs} +8 -8
  126. package/dist/cli/{play-4OLYXRCG.mjs → play-EIMDIAJB.mjs} +20 -20
  127. package/dist/cli/{play-S3CWPQKB.js → play-NKIRJSKX.js} +336 -336
  128. package/dist/cli/{providers-JT7C2QTC.mjs → providers-KDTJ63ED.mjs} +8 -8
  129. package/dist/cli/{providers-U4JUMLB2.js → providers-XU3AGY2F.js} +11 -11
  130. package/dist/cli/{quickstart-OUSMXLYZ.js → quickstart-OSCHOSXU.js} +6 -6
  131. package/dist/cli/{quickstart-DQF5CF2I.mjs → quickstart-TXFXUODF.mjs} +4 -4
  132. package/dist/cli/{run-6XXHLB4X.js → run-ET2KVTPK.js} +45 -46
  133. package/dist/cli/{run-RECNI77K.mjs → run-ODGML35U.mjs} +26 -27
  134. package/dist/cli/run-identity-HFYABUJS.js +31 -0
  135. package/dist/cli/{run-identity-MRNCEGV2.mjs → run-identity-MNRZS2N3.mjs} +9 -3
  136. package/dist/cli/search-6U54Y3OK.js +32 -0
  137. package/dist/cli/{search-JN7K3GC6.mjs → search-DK67K6PR.mjs} +9 -9
  138. package/dist/cli/{search-output-L6PC5SPM.mjs → search-output-6SOKQTCW.mjs} +53 -75
  139. package/dist/cli/{search-output-JGNYXDWZ.js → search-output-KXP4FA62.js} +58 -80
  140. package/dist/cli/{secrets-UOXZWHBY.mjs → secrets-C6SYTMU7.mjs} +8 -8
  141. package/dist/cli/{secrets-TX6PCZ77.js → secrets-WPS6NMNK.js} +17 -17
  142. package/dist/cli/{sessions-GCEIX4KB.js → sessions-IP562J5Z.js} +6 -6
  143. package/dist/cli/{sessions-DTE733EH.mjs → sessions-PXVOH34X.mjs} +5 -5
  144. package/dist/cli/{settings-ZGIMRCTC.mjs → settings-FBUQGYVJ.mjs} +13 -13
  145. package/dist/cli/{settings-UGXSDHR5.js → settings-SUDUIVMY.js} +80 -80
  146. package/dist/cli/{setup-JYB6Z376.js → setup-I5H6IOEY.js} +49 -49
  147. package/dist/cli/{setup-UT7AO53D.mjs → setup-JSIMTR73.mjs} +9 -9
  148. package/dist/cli/{skills-4QJCMN7J.mjs → skills-FJQ3LX6N.mjs} +7 -7
  149. package/dist/cli/skills-VHININXC.js +36 -0
  150. package/dist/cli/{tools-RGNXIAA6.mjs → tools-IGBK4BVE.mjs} +19 -20
  151. package/dist/cli/tools-XMBMHVKF.js +56 -0
  152. package/dist/cli/{update-Q62EVSXZ.mjs → update-7MTT6F5K.mjs} +9 -9
  153. package/dist/cli/update-H7JVW43I.js +34 -0
  154. package/dist/cli/{workflow-YNIOWM7J.mjs → workflow-PM2J2OU3.mjs} +9 -9
  155. package/dist/cli/{workflow-GENV47RD.js → workflow-UX3ZX6BQ.js} +19 -19
  156. package/dist/{client-Cj3UqrCZ.d.ts → client-Bn8FwKGO.d.ts} +1 -1
  157. package/dist/{client-DSCTVVRj.d.mts → client-CfNRmjLK.d.mts} +1 -1
  158. package/dist/{client-core-dI4KTuWS.d.ts → client-core-B91EV0WS.d.ts} +19 -0
  159. package/dist/{client-core-B-8DTIN1.d.mts → client-core-BG8Cgrmk.d.mts} +19 -0
  160. package/dist/index.d.mts +3 -3
  161. package/dist/index.d.ts +3 -3
  162. package/dist/index.js +19 -19
  163. package/dist/index.mjs +8 -8
  164. package/dist/install-integrity.json +119 -114
  165. package/dist/plays/play-description.d.mts +1 -1
  166. package/dist/plays/play-description.d.ts +1 -1
  167. package/dist/plays/run-request.d.mts +1 -1
  168. package/dist/plays/run-request.d.ts +1 -1
  169. package/dist/plays/run-request.js +3 -3
  170. package/dist/plays/run-request.mjs +2 -2
  171. package/dist/release.d.mts +1 -1
  172. package/dist/release.d.ts +1 -1
  173. package/dist/release.js +2 -2
  174. package/dist/release.mjs +1 -1
  175. package/dist/server.d.mts +2 -2
  176. package/dist/server.d.ts +2 -2
  177. package/dist/server.js +7 -7
  178. package/dist/server.mjs +5 -5
  179. package/package.json +1 -1
  180. package/dist/cli/auth-H4PCVUN3.js +0 -43
  181. package/dist/cli/chunk-XK5DMLZE.js +0 -111
  182. package/dist/cli/chunk-XRDXNAAY.mjs +0 -111
  183. package/dist/cli/describe-BZ544347.js +0 -50
  184. package/dist/cli/describe-CQZ7TBOG.mjs +0 -50
  185. package/dist/cli/git-NW6BAXX2.js +0 -25
  186. package/dist/cli/run-identity-G257GQED.js +0 -25
  187. package/dist/cli/search-BIQ62ZBE.js +0 -32
  188. package/dist/cli/skills-53LCPB5R.js +0 -36
  189. package/dist/cli/tools-HKJK6UNJ.js +0 -57
  190. package/dist/cli/update-QMZSFTFZ.js +0 -34
@@ -1,31 +1,31 @@
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 _chunkQ2FXZ4Z5js = require('./chunk-Q2FXZ4Z5.js');
3
+ var _chunkTAK3MVXYjs = require('./chunk-TAK3MVXY.js');
4
4
 
5
5
 
6
- var _chunkX7ODM2LKjs = require('./chunk-X7ODM2LK.js');
6
+ var _chunkX5MGQ7UTjs = require('./chunk-X5MGQ7UT.js');
7
7
 
8
8
 
9
9
 
10
10
 
11
- var _chunkI42EOZKQjs = require('./chunk-I42EOZKQ.js');
11
+ var _chunkFWDAEWCDjs = require('./chunk-FWDAEWCD.js');
12
12
 
13
13
 
14
14
  var _chunkJO5FFSR7js = require('./chunk-JO5FFSR7.js');
15
15
 
16
16
 
17
- var _chunkREIKJREBjs = require('./chunk-REIKJREB.js');
17
+ var _chunkXMKUJ44Zjs = require('./chunk-XMKUJ44Z.js');
18
18
 
19
19
 
20
20
 
21
- var _chunkGBRI644Yjs = require('./chunk-GBRI644Y.js');
21
+ var _chunkQNELA7SXjs = require('./chunk-QNELA7SX.js');
22
22
 
23
23
 
24
- var _chunkSNJNPRIVjs = require('./chunk-SNJNPRIV.js');
24
+ var _chunkYDXEXVBVjs = require('./chunk-YDXEXVBV.js');
25
25
 
26
26
 
27
27
 
28
- var _chunkK3BHKRMSjs = require('./chunk-K3BHKRMS.js');
28
+ var _chunkJLYDLK6Xjs = require('./chunk-JLYDLK6X.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 (_chunkGBRI644Yjs.isFailureReportingDisabled.call(void 0, )) return;
37
+ if (_chunkQNELA7SXjs.isFailureReportingDisabled.call(void 0, )) return;
38
38
  try {
39
- const baseUrl = _chunkK3BHKRMSjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
40
- const apiKey = _chunkK3BHKRMSjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
39
+ const baseUrl = _chunkJLYDLK6Xjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
40
+ const apiKey = _chunkJLYDLK6Xjs.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: _chunkGBRI644Yjs.failureReportHeaders.call(void 0, apiKey),
44
+ headers: _chunkQNELA7SXjs.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 _chunkI42EOZKQjs.findNamed.call(void 0, name, options, _chunkI42EOZKQjs.describeLookupsFor.call(void 0, new (0, _chunkREIKJREBjs.DeeplineClient)()));
57
+ return _chunkFWDAEWCDjs.findNamed.call(void 0, name, options, _chunkFWDAEWCDjs.describeLookupsFor.call(void 0, new (0, _chunkXMKUJ44Zjs.DeeplineClient)()));
58
58
  }
59
59
  async function describeAnything(name, options, onMissing) {
60
- const client = new (0, _chunkREIKJREBjs.DeeplineClient)();
61
- const lookups = _chunkI42EOZKQjs.describeLookupsFor.call(void 0, client);
62
- const outcome = await _chunkI42EOZKQjs.describeName.call(void 0, name, options, {
60
+ const client = new (0, _chunkXMKUJ44Zjs.DeeplineClient)();
61
+ const lookups = _chunkFWDAEWCDjs.describeLookupsFor.call(void 0, client);
62
+ const outcome = await _chunkFWDAEWCDjs.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: _chunkQ2FXZ4Z5js.seedToolListScript
66
+ seedStarterScript: _chunkTAK3MVXYjs.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
- _chunkSNJNPRIVjs.printCommandEnvelope.call(void 0,
92
+ _chunkYDXEXVBVjs.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
- _chunkSNJNPRIVjs.printCommandEnvelope.call(void 0, envelope, { json, text });
99
+ _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0, envelope, { json, text });
100
100
  return 0;
101
101
  }
102
102
  function registerDescribeCommand(program) {
103
- _chunkX7ODM2LKjs.addDescribeOptions.call(void 0, program.command("describe <name>")).option("--web-url", "Print only a play's play page URL").description(
103
+ _chunkX5MGQ7UTjs.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",
@@ -1,6 +1,6 @@
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 _chunkIX2DPYIVjs = require('./chunk-IX2DPYIV.js');
3
+ var _chunkQOJBRCASjs = require('./chunk-QOJBRCAS.js');
4
4
 
5
5
 
6
6
 
@@ -12,7 +12,7 @@ var _chunkIX2DPYIVjs = require('./chunk-IX2DPYIV.js');
12
12
 
13
13
 
14
14
 
15
- var _chunkK3BHKRMSjs = require('./chunk-K3BHKRMS.js');
15
+ var _chunkJLYDLK6Xjs = require('./chunk-JLYDLK6X.js');
16
16
 
17
17
 
18
18
 
@@ -20,13 +20,13 @@ var _chunkK3BHKRMSjs = require('./chunk-K3BHKRMS.js');
20
20
 
21
21
 
22
22
 
23
- var _chunkTOGCDNMHjs = require('./chunk-TOGCDNMH.js');
23
+ var _chunkEUWRKWT4js = require('./chunk-EUWRKWT4.js');
24
24
 
25
25
 
26
26
  var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
27
27
 
28
28
 
29
- var _chunkW64Y7GE7js = require('./chunk-W64Y7GE7.js');
29
+ var _chunkLA3UYRVZjs = require('./chunk-LA3UYRVZ.js');
30
30
 
31
31
  // src/compat.ts
32
32
  var _crypto = require('crypto');
@@ -61,7 +61,7 @@ function shouldSkipCompatibilityCheck() {
61
61
  return value === "1" || value === "true" || value === "yes";
62
62
  }
63
63
  function sdkCompatibilityCachePath(baseUrl, homeDir = _optionalChain([process, 'access', _7 => _7.env, 'access', _8 => _8.HOME, 'optionalAccess', _9 => _9.trim, 'call', _10 => _10()]) || _os.homedir.call(void 0, )) {
64
- return _path.join.call(void 0, _chunkK3BHKRMSjs.sdkCliStateDirPath.call(void 0, baseUrl, homeDir), "compat-cache.json");
64
+ return _path.join.call(void 0, _chunkJLYDLK6Xjs.sdkCliStateDirPath.call(void 0, baseUrl, homeDir), "compat-cache.json");
65
65
  }
66
66
  function legacySdkCompatibilityCachePath(homeDir = _optionalChain([process, 'access', _11 => _11.env, 'access', _12 => _12.HOME, 'optionalAccess', _13 => _13.trim, 'call', _14 => _14()]) || _os.homedir.call(void 0, )) {
67
67
  return _path.join.call(void 0, homeDir, ".cache", "deepline", "sdk-compat-cache.json");
@@ -69,9 +69,9 @@ function legacySdkCompatibilityCachePath(homeDir = _optionalChain([process, 'acc
69
69
  function compatibilityCacheKey(baseUrl, command, skillsVersion) {
70
70
  return JSON.stringify({
71
71
  baseUrl: baseUrl.replace(/\/$/, ""),
72
- version: _chunkTOGCDNMHjs.SDK_VERSION,
73
- apiContract: _chunkTOGCDNMHjs.SDK_API_CONTRACT,
74
- apiMajor: _chunkTOGCDNMHjs.SDK_API_MAJOR,
72
+ version: _chunkEUWRKWT4js.SDK_VERSION,
73
+ apiContract: _chunkEUWRKWT4js.SDK_API_CONTRACT,
74
+ apiMajor: _chunkEUWRKWT4js.SDK_API_MAJOR,
75
75
  command: _optionalChain([command, 'optionalAccess', _15 => _15.trim, 'call', _16 => _16()]) || null,
76
76
  skillsVersion: _nullishCoalesce(skillsVersion, () => ( null))
77
77
  });
@@ -79,8 +79,8 @@ function compatibilityCacheKey(baseUrl, command, skillsVersion) {
79
79
  function legacyCompatibilityCacheKey(baseUrl, command) {
80
80
  return JSON.stringify({
81
81
  baseUrl: baseUrl.replace(/\/$/, ""),
82
- version: _chunkTOGCDNMHjs.SDK_VERSION,
83
- apiContract: _chunkTOGCDNMHjs.SDK_API_CONTRACT,
82
+ version: _chunkEUWRKWT4js.SDK_VERSION,
83
+ apiContract: _chunkEUWRKWT4js.SDK_API_CONTRACT,
84
84
  command: _optionalChain([command, 'optionalAccess', _17 => _17.trim, 'call', _18 => _18()]) || null
85
85
  });
86
86
  }
@@ -105,7 +105,7 @@ function isSavedWithin(savedAt, windowMs, now) {
105
105
  }
106
106
  var UPDATE_ADVISORY_INTERVAL_MS = 24 * 60 * 60 * 1e3;
107
107
  function claimUpdateAdvisory(baseUrl, now = Date.now()) {
108
- const path = _path.join.call(void 0, _chunkK3BHKRMSjs.sdkCliStateDirPath.call(void 0, baseUrl), "update-advisory.json");
108
+ const path = _path.join.call(void 0, _chunkJLYDLK6Xjs.sdkCliStateDirPath.call(void 0, baseUrl), "update-advisory.json");
109
109
  try {
110
110
  const { shownAt } = JSON.parse(_fs.readFileSync.call(void 0, path, "utf8"));
111
111
  if (isSavedWithin(shownAt, UPDATE_ADVISORY_INTERVAL_MS, now)) return false;
@@ -192,7 +192,7 @@ async function checkSdkCompatibility(baseUrl, options = {}) {
192
192
  );
193
193
  try {
194
194
  const url = new URL("/api/v2/sdk/compat", baseUrl);
195
- url.searchParams.set("version", _chunkTOGCDNMHjs.SDK_VERSION);
195
+ url.searchParams.set("version", _chunkEUWRKWT4js.SDK_VERSION);
196
196
  if (_optionalChain([options, 'access', _34 => _34.command, 'optionalAccess', _35 => _35.trim, 'call', _36 => _36()])) {
197
197
  url.searchParams.set("command", options.command.trim());
198
198
  }
@@ -200,7 +200,7 @@ async function checkSdkCompatibility(baseUrl, options = {}) {
200
200
  url.searchParams.set("skills_version", _nullishCoalesce(options.skillsVersion, () => ( "")));
201
201
  url.searchParams.set(
202
202
  "skills_cli_capability",
203
- String(_chunkW64Y7GE7js.SDK_RELEASE.packageCapabilities.skillsGuidance)
203
+ String(_chunkLA3UYRVZjs.SDK_RELEASE.packageCapabilities.skillsGuidance)
204
204
  );
205
205
  }
206
206
  if (options.catalog) {
@@ -212,14 +212,14 @@ async function checkSdkCompatibility(baseUrl, options = {}) {
212
212
  const response = await fetch(url, {
213
213
  method: "GET",
214
214
  headers: {
215
- ..._chunkTOGCDNMHjs.deploymentProtectionHeaders.call(void 0, ),
216
- "User-Agent": `deepline-ts-sdk/${_chunkTOGCDNMHjs.SDK_VERSION}`,
217
- "X-Deepline-SDK-Version": _chunkTOGCDNMHjs.SDK_VERSION,
218
- "X-Deepline-API-Major": String(_chunkTOGCDNMHjs.SDK_API_MAJOR),
219
- "X-Deepline-API-Contract": _chunkTOGCDNMHjs.SDK_API_CONTRACT,
215
+ ..._chunkEUWRKWT4js.deploymentProtectionHeaders.call(void 0, ),
216
+ "User-Agent": `deepline-ts-sdk/${_chunkEUWRKWT4js.SDK_VERSION}`,
217
+ "X-Deepline-SDK-Version": _chunkEUWRKWT4js.SDK_VERSION,
218
+ "X-Deepline-API-Major": String(_chunkEUWRKWT4js.SDK_API_MAJOR),
219
+ "X-Deepline-API-Contract": _chunkEUWRKWT4js.SDK_API_CONTRACT,
220
220
  "X-Deepline-CLI-Update-Preferences": "1",
221
221
  "X-Deepline-CLI-Auto-Update-Capability": SDK_CLI_AUTO_UPDATE_CAPABILITY,
222
- ...options.catalog ? { Authorization: `Bearer ${_chunkK3BHKRMSjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl)}` } : {},
222
+ ...options.catalog ? { Authorization: `Bearer ${_chunkJLYDLK6Xjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl)}` } : {},
223
223
  ..._optionalChain([options, 'access', _37 => _37.catalog, 'optionalAccess', _38 => _38.cliInvocationId]) ? { "X-Deepline-CLI-Invocation-ID": options.catalog.cliInvocationId } : {}
224
224
  },
225
225
  signal: controller.signal
@@ -432,7 +432,7 @@ function buildEnvironmentContext() {
432
432
  node_version: process.version,
433
433
  runtime: "Node.js",
434
434
  hostname: _os.hostname.call(void 0, ),
435
- agent_runtime: _chunkTOGCDNMHjs.detectAgentRuntime.call(void 0, )
435
+ agent_runtime: _chunkEUWRKWT4js.detectAgentRuntime.call(void 0, )
436
436
  };
437
437
  for (const key of ["CLAUDE_CODE_REMOTE", "DEEPLINE_PLUGIN_MODE"]) {
438
438
  const normalized = _optionalChain([process, 'access', _57 => _57.env, 'access', _58 => _58[key], 'optionalAccess', _59 => _59.trim, 'call', _60 => _60()]);
@@ -453,18 +453,18 @@ function buildEnvironmentContext() {
453
453
  return context;
454
454
  }
455
455
  function failureReportHeaders(apiKey) {
456
- const agentSessionId = _chunkTOGCDNMHjs.agentSessionIdFromEnvironment.call(void 0, );
456
+ const agentSessionId = _chunkEUWRKWT4js.agentSessionIdFromEnvironment.call(void 0, );
457
457
  return {
458
- ..._chunkTOGCDNMHjs.deploymentProtectionHeaders.call(void 0, ),
458
+ ..._chunkEUWRKWT4js.deploymentProtectionHeaders.call(void 0, ),
459
459
  ...agentSessionId ? { "X-Deepline-Agent-Session-Id": agentSessionId } : {},
460
460
  Authorization: `Bearer ${apiKey}`,
461
461
  "Content-Type": "application/json",
462
- "User-Agent": `deepline-ts-sdk/${_chunkTOGCDNMHjs.SDK_VERSION}`,
462
+ "User-Agent": `deepline-ts-sdk/${_chunkEUWRKWT4js.SDK_VERSION}`,
463
463
  "X-Deepline-Client-Family": "sdk",
464
464
  "X-Deepline-CLI-Family": "sdk",
465
- "X-Deepline-Agent-Runtime": _chunkTOGCDNMHjs.detectAgentRuntime.call(void 0, ),
466
- "X-Deepline-CLI-Version": _chunkTOGCDNMHjs.SDK_VERSION,
467
- "X-Deepline-SDK-Version": _chunkTOGCDNMHjs.SDK_VERSION
465
+ "X-Deepline-Agent-Runtime": _chunkEUWRKWT4js.detectAgentRuntime.call(void 0, ),
466
+ "X-Deepline-CLI-Version": _chunkEUWRKWT4js.SDK_VERSION,
467
+ "X-Deepline-SDK-Version": _chunkEUWRKWT4js.SDK_VERSION
468
468
  };
469
469
  }
470
470
  async function postFailureReport(input) {
@@ -492,7 +492,7 @@ async function maybeReportAutomaticSkillsSyncFailure(input) {
492
492
  if (isFailureReportingDisabled()) return false;
493
493
  let apiKey = "";
494
494
  try {
495
- apiKey = _chunkK3BHKRMSjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
495
+ apiKey = _chunkJLYDLK6Xjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
496
496
  } catch (e8) {
497
497
  return false;
498
498
  }
@@ -519,7 +519,7 @@ async function maybeReportAutomaticSkillsSyncFailure(input) {
519
519
  failure_code: failureCode2,
520
520
  failure_stage: failureStage,
521
521
  error_body: "Automatic Deepline skills installation failed.",
522
- cli_version: _chunkTOGCDNMHjs.SDK_VERSION,
522
+ cli_version: _chunkEUWRKWT4js.SDK_VERSION,
523
523
  context: {
524
524
  environment: buildEnvironmentContext(),
525
525
  skills_sync: {
@@ -639,7 +639,7 @@ function buildFailureReport(input) {
639
639
  failure_kind: failureKind,
640
640
  failure_code: code,
641
641
  failure_stage: input.error === void 0 ? "command_exit" : "cli_main",
642
- cli_version: _chunkTOGCDNMHjs.SDK_VERSION,
642
+ cli_version: _chunkEUWRKWT4js.SDK_VERSION,
643
643
  context: {
644
644
  base_url: redactFailureText(input.baseUrl, 400),
645
645
  command_summary: sanitizeCommand(input.argv),
@@ -659,8 +659,8 @@ async function maybeReportSdkCliFailure(input) {
659
659
  if (isServerLoggedPlayRunStartFailure(input)) return false;
660
660
  const exitCode = resolvedExitCode(input);
661
661
  if (!shouldReport({ exitCode, error: input.error })) return false;
662
- const baseUrl = _chunkK3BHKRMSjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
663
- const apiKey = _chunkK3BHKRMSjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
662
+ const baseUrl = _chunkJLYDLK6Xjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
663
+ const apiKey = _chunkJLYDLK6Xjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
664
664
  if (!apiKey) return false;
665
665
  return postFailureReport({
666
666
  baseUrl,
@@ -770,7 +770,7 @@ function skillsSourceUrl(baseUrl) {
770
770
  function buildSkillsAddArgs(baseUrl, skillName, options = {}) {
771
771
  const skillNames = Array.isArray(skillName) ? skillName : [skillName];
772
772
  const [firstSkillName, ...extraSkillNames] = skillNames;
773
- const agents = _nullishCoalesce(options.agents, () => ( _chunkK3BHKRMSjs.DEFAULT_SKILL_AGENTS));
773
+ const agents = _nullishCoalesce(options.agents, () => ( _chunkJLYDLK6Xjs.DEFAULT_SKILL_AGENTS));
774
774
  const values = {
775
775
  skills_index_url: skillsIndexUrl(baseUrl),
776
776
  skills_source_url: skillsSourceUrl(baseUrl),
@@ -872,25 +872,25 @@ var CHECK_TIMEOUT_MS2 = 3e3;
872
872
  var INSTALLER_PROBE_TIMEOUT_MS = 1e3;
873
873
  var PUBLISHED_VERIFICATION_RETRY_MS = 5 * 6e4;
874
874
  function shouldSkipSkillsSync() {
875
- if (_chunkTOGCDNMHjs.detectAgentRuntime.call(void 0, ) === "claude_cowork" || isCiEnvironment()) {
875
+ if (_chunkEUWRKWT4js.detectAgentRuntime.call(void 0, ) === "claude_cowork" || isCiEnvironment()) {
876
876
  return true;
877
877
  }
878
878
  const value = _optionalChain([process, 'access', _81 => _81.env, 'access', _82 => _82.DEEPLINE_SKIP_SKILLS_SYNC, 'optionalAccess', _83 => _83.trim, 'call', _84 => _84(), 'access', _85 => _85.toLowerCase, 'call', _86 => _86()]);
879
879
  return value === "1" || value === "true" || value === "yes" || value === "on";
880
880
  }
881
881
  function unavailableSkillsNoticePath(baseUrl) {
882
- return _path.join.call(void 0, _chunkK3BHKRMSjs.sdkCliStateDirPath.call(void 0, baseUrl), "skills-sync-unavailable-version");
882
+ return _path.join.call(void 0, _chunkJLYDLK6Xjs.sdkCliStateDirPath.call(void 0, baseUrl), "skills-sync-unavailable-version");
883
883
  }
884
884
  var SKILLS_SYNC_IN_PROGRESS_TTL_MS = 10 * 60 * 1e3;
885
885
  var SKILLS_SYNC_IN_PROGRESS_PID_CAP_MS = 6 * 60 * 60 * 1e3;
886
- var agentLeaseSegment = _chunkK3BHKRMSjs.skillsAgentPathSegment;
886
+ var agentLeaseSegment = _chunkJLYDLK6Xjs.skillsAgentPathSegment;
887
887
  function sortedLeaseAgents(agents) {
888
- const expanded = agents.includes("*") ? [...agents, ..._chunkK3BHKRMSjs.KNOWN_SKILL_AGENTS] : agents;
888
+ const expanded = agents.includes("*") ? [...agents, ..._chunkJLYDLK6Xjs.KNOWN_SKILL_AGENTS] : agents;
889
889
  return [...new Set(expanded)].sort((a, b) => a.localeCompare(b));
890
890
  }
891
891
  function inProgressSkillsSyncPath(baseUrl, agent) {
892
892
  return _path.join.call(void 0,
893
- _chunkK3BHKRMSjs.sdkCliStateDirPath.call(void 0, baseUrl),
893
+ _chunkJLYDLK6Xjs.sdkCliStateDirPath.call(void 0, baseUrl),
894
894
  `skills-sync-in-progress-${agentLeaseSegment(agent)}`
895
895
  );
896
896
  }
@@ -1049,7 +1049,7 @@ var SkillsStateUnavailableError = class extends Error {
1049
1049
  constructor(baseUrl, error) {
1050
1050
  const detail = error instanceof Error ? error.message : String(error);
1051
1051
  super(
1052
- `Could not save skills state in ${_chunkK3BHKRMSjs.sdkCliStateDirPath.call(void 0, baseUrl)}: ${detail}`
1052
+ `Could not save skills state in ${_chunkJLYDLK6Xjs.sdkCliStateDirPath.call(void 0, baseUrl)}: ${detail}`
1053
1053
  );
1054
1054
  this.name = "SkillsStateUnavailableError";
1055
1055
  }
@@ -1134,7 +1134,7 @@ function skillsInstallLeasePath(baseUrl, agents) {
1134
1134
  }
1135
1135
  function deferredSkillsNoticePath(baseUrl, agents) {
1136
1136
  return _path.join.call(void 0,
1137
- _chunkK3BHKRMSjs.sdkCliStateDirPath.call(void 0, baseUrl),
1137
+ _chunkJLYDLK6Xjs.sdkCliStateDirPath.call(void 0, baseUrl),
1138
1138
  `skills-sync-notice-${sortedLeaseAgents(agents).map(agentLeaseSegment).join("-")}`
1139
1139
  );
1140
1140
  }
@@ -1168,8 +1168,8 @@ function flushDeferredSkillsNotices(baseUrl, agents) {
1168
1168
  if (text.trim()) writeSdkSkillsStatusLine(text.trimEnd());
1169
1169
  }
1170
1170
  function flushDeferredSkillsSyncNotices(baseUrl) {
1171
- if (shouldSkipSkillsSync() || _chunkK3BHKRMSjs.hasActivePluginSkills.call(void 0, )) return;
1172
- const agents = _chunkK3BHKRMSjs.resolveAutoSyncSkillAgents.call(void 0, );
1171
+ if (shouldSkipSkillsSync() || _chunkJLYDLK6Xjs.hasActivePluginSkills.call(void 0, )) return;
1172
+ const agents = _chunkJLYDLK6Xjs.resolveAutoSyncSkillAgents.call(void 0, );
1173
1173
  if (agents.length === 0) return;
1174
1174
  flushDeferredSkillsNotices(baseUrl, agents);
1175
1175
  }
@@ -1185,7 +1185,7 @@ function spawnDetachedSkillsSyncChild(argv, onSpawnError) {
1185
1185
  }
1186
1186
  function failedSkillsSyncPath(baseUrl, agents) {
1187
1187
  return _path.join.call(void 0,
1188
- _chunkK3BHKRMSjs.sdkCliStateDirPath.call(void 0, baseUrl),
1188
+ _chunkJLYDLK6Xjs.sdkCliStateDirPath.call(void 0, baseUrl),
1189
1189
  `skills-sync-failed-${sortedLeaseAgents(agents).map(agentLeaseSegment).join("-")}-version`
1190
1190
  );
1191
1191
  }
@@ -1214,7 +1214,7 @@ function writeUnavailableSkillsNotice(baseUrl, remoteVersion, skillNames, reason
1214
1214
  if (hasMarkedSkillsSyncVersion(path, remoteVersion)) return;
1215
1215
  writeMarkedSkillsSyncVersion(path, remoteVersion);
1216
1216
  const probes = reason === "no-installer" ? _nullishCoalesce(knownProbes, () => ( probeInstallers())) : null;
1217
- const manualCommand = _optionalChain([probes, 'optionalAccess', _90 => _90.npx]) === "missing" && probes.bunx !== "missing" ? `bunx ${buildBunxSkillsInstallArgs(baseUrl, skillNames, _chunkK3BHKRMSjs.DEFAULT_SKILL_AGENTS).map(shellQuote).join(" ")}` : `npx ${buildSkillsInstallArgs(baseUrl, skillNames).join(" ")}`;
1217
+ const manualCommand = _optionalChain([probes, 'optionalAccess', _90 => _90.npx]) === "missing" && probes.bunx !== "missing" ? `bunx ${buildBunxSkillsInstallArgs(baseUrl, skillNames, _chunkJLYDLK6Xjs.DEFAULT_SKILL_AGENTS).map(shellQuote).join(" ")}` : `npx ${buildSkillsInstallArgs(baseUrl, skillNames).join(" ")}`;
1218
1218
  const explanation = reason === "unsupported-agent" ? "the detected agent has no automatic skills sync target. Automatic sync was skipped." : _optionalChain([probes, 'optionalAccess', _91 => _91.bunx]) === "missing" && probes.npx === "missing" ? "neither `bunx` nor `npx` was found on PATH. Make one available." : `installer version check failed for ${Object.entries(_nullishCoalesce(probes, () => ( {}))).filter(([, result]) => result === "failed").map(([command]) => `\`${command}\``).join(" and ")}. Check those commands with --version.`;
1219
1219
  notice(
1220
1220
  `Deepline agent skills are out of date, but ${explanation} To install manually, run:
@@ -1302,7 +1302,7 @@ function buildSdkSkillNames(v1SkillNames2) {
1302
1302
  return sortedUniqueSkillNames(v1SkillNames2);
1303
1303
  }
1304
1304
  function isDefaultAgentSet(agents) {
1305
- return agents.length === _chunkK3BHKRMSjs.DEFAULT_SKILL_AGENTS.length && agents.every((agent, index) => agent === _chunkK3BHKRMSjs.DEFAULT_SKILL_AGENTS[index]);
1305
+ return agents.length === _chunkJLYDLK6Xjs.DEFAULT_SKILL_AGENTS.length && agents.every((agent, index) => agent === _chunkJLYDLK6Xjs.DEFAULT_SKILL_AGENTS[index]);
1306
1306
  }
1307
1307
  function safeSkillFilePath(value) {
1308
1308
  if (typeof value !== "string" || !value) return false;
@@ -1459,10 +1459,10 @@ async function fetchSkillsUpdate(baseUrl, localVersion) {
1459
1459
  method: "POST",
1460
1460
  headers: { "Content-Type": "application/json" },
1461
1461
  body: JSON.stringify({
1462
- sdk_cli: { version: _chunkTOGCDNMHjs.SDK_VERSION },
1462
+ sdk_cli: { version: _chunkEUWRKWT4js.SDK_VERSION },
1463
1463
  skills: {
1464
1464
  version: localVersion,
1465
- capability: _chunkW64Y7GE7js.SDK_RELEASE.packageCapabilities.skillsGuidance
1465
+ capability: _chunkLA3UYRVZjs.SDK_RELEASE.packageCapabilities.skillsGuidance
1466
1466
  }
1467
1467
  }),
1468
1468
  signal: controller.signal
@@ -1501,7 +1501,7 @@ function probeInstallers(timeoutMs) {
1501
1501
  }
1502
1502
  function noInstallerProbePath(baseUrl) {
1503
1503
  return _path.join.call(void 0,
1504
- _chunkK3BHKRMSjs.sdkCliStateDirPath.call(void 0, baseUrl),
1504
+ _chunkJLYDLK6Xjs.sdkCliStateDirPath.call(void 0, baseUrl),
1505
1505
  "skills-sync-no-installer-unknown.json"
1506
1506
  );
1507
1507
  }
@@ -1580,7 +1580,7 @@ function temporarySkillsSyncSkipCommand() {
1580
1580
  function resolveSkillsInstallSpawn(install, platform2 = process.platform) {
1581
1581
  return resolveShellSpawn(install.command, install.args, platform2);
1582
1582
  }
1583
- function resolveSkillsInstallCommands(baseUrl, skillNames = DEFAULT_SDK_SKILL_NAMES, agents = _chunkK3BHKRMSjs.DEFAULT_SKILL_AGENTS, knownProbes) {
1583
+ function resolveSkillsInstallCommands(baseUrl, skillNames = DEFAULT_SDK_SKILL_NAMES, agents = _chunkJLYDLK6Xjs.DEFAULT_SKILL_AGENTS, knownProbes) {
1584
1584
  const commands = [];
1585
1585
  const probes = _nullishCoalesce(knownProbes, () => ( probeInstallers()));
1586
1586
  if (probes.bunx === "available") {
@@ -1722,7 +1722,7 @@ function runLegacySkillsCleanup(agents) {
1722
1722
  }
1723
1723
  }
1724
1724
  function writeSdkSkillsStatusLine(line) {
1725
- const progress = _chunkIX2DPYIVjs.getActiveCliProgress.call(void 0, );
1725
+ const progress = _chunkQOJBRCASjs.getActiveCliProgress.call(void 0, );
1726
1726
  if (progress) {
1727
1727
  progress.writeLine(line);
1728
1728
  return;
@@ -1732,11 +1732,11 @@ function writeSdkSkillsStatusLine(line) {
1732
1732
  }
1733
1733
  async function syncSdkSkillsIfNeeded(baseUrl, options = {}) {
1734
1734
  if (shouldSkipSkillsSync()) return;
1735
- const usingPluginSkills = _chunkK3BHKRMSjs.hasActivePluginSkills.call(void 0, );
1735
+ const usingPluginSkills = _chunkJLYDLK6Xjs.hasActivePluginSkills.call(void 0, );
1736
1736
  if (usingPluginSkills) {
1737
1737
  return;
1738
1738
  }
1739
- const agents = _chunkK3BHKRMSjs.resolveAutoSyncSkillAgents.call(void 0, );
1739
+ const agents = _chunkJLYDLK6Xjs.resolveAutoSyncSkillAgents.call(void 0, );
1740
1740
  if (options.mode === "detached" && agents.length > 0) {
1741
1741
  flushDeferredSkillsNotices(baseUrl, agents);
1742
1742
  }
@@ -1764,7 +1764,7 @@ async function syncSdkSkillsIfNeeded(baseUrl, options = {}) {
1764
1764
  return;
1765
1765
  }
1766
1766
  try {
1767
- const localVersion = _chunkK3BHKRMSjs.readSdkSkillsLocalVersion.call(void 0, baseUrl);
1767
+ const localVersion = _chunkJLYDLK6Xjs.readSdkSkillsLocalVersion.call(void 0, baseUrl);
1768
1768
  const update = options.update === void 0 ? claimedVersion ? { needsUpdate: true, remoteVersion: claimedVersion } : await fetchSkillsUpdate(baseUrl, localVersion) : options.update ? {
1769
1769
  needsUpdate: options.update.needs_update,
1770
1770
  remoteVersion: options.update.remote.version
@@ -1930,7 +1930,7 @@ async function runInlineSkillsSync(baseUrl, remoteVersion, agents, notices) {
1930
1930
  }
1931
1931
  }
1932
1932
  runLegacySkillsCleanup(agents);
1933
- if (!_chunkK3BHKRMSjs.writeSdkSkillsLocalVersion.call(void 0, baseUrl, update.remoteVersion, agents)) {
1933
+ if (!_chunkJLYDLK6Xjs.writeSdkSkillsLocalVersion.call(void 0, baseUrl, update.remoteVersion, agents)) {
1934
1934
  notice(
1935
1935
  "Deepline agent skills installed, but the local skills version could not be recorded. A later command will retry the refresh."
1936
1936
  );
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; } var _class;
2
2
 
3
- var _chunkSNJNPRIVjs = require('./chunk-SNJNPRIV.js');
3
+ var _chunkYDXEXVBVjs = require('./chunk-YDXEXVBV.js');
4
4
 
5
5
  // src/cli/progress.ts
6
6
  var _worker_threads = require('worker_threads');
@@ -19,7 +19,7 @@ var CliProgress = (_class = class {
19
19
  __init9() {this.quiet = false}
20
20
  // --json output is one JSON document: progress never renders under it.
21
21
  constructor(enabled) {;_class.prototype.__init.call(this);_class.prototype.__init2.call(this);_class.prototype.__init3.call(this);_class.prototype.__init4.call(this);_class.prototype.__init5.call(this);_class.prototype.__init6.call(this);_class.prototype.__init7.call(this);_class.prototype.__init8.call(this);_class.prototype.__init9.call(this);
22
- this.enabled = enabled && !_chunkSNJNPRIVjs.isJsonOutputMode.call(void 0, );
22
+ this.enabled = enabled && !_chunkYDXEXVBVjs.isJsonOutputMode.call(void 0, );
23
23
  }
24
24
  setLogWriter(writer) {
25
25
  this.logWriter = writer;
@@ -59,7 +59,7 @@ var CliProgress = (_class = class {
59
59
  this.logWriter(line);
60
60
  return;
61
61
  }
62
- if (_chunkSNJNPRIVjs.isJsonOutputMode.call(void 0, )) return;
62
+ if (_chunkYDXEXVBVjs.isJsonOutputMode.call(void 0, )) return;
63
63
  if (!this.enabled) {
64
64
  process.stderr.write(`${line}
65
65
  `);
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  PlayClient
3
- } from "./chunk-56QAHX2K.mjs";
3
+ } from "./chunk-HIVRCTDR.mjs";
4
4
  import {
5
5
  HttpClient,
6
6
  resolveConfig
7
- } from "./chunk-CBZTKDXW.mjs";
7
+ } from "./chunk-W5CHE5Q2.mjs";
8
8
 
9
9
  // src/plays/local-play-execution.ts
10
10
  function importedNodes(graph) {
@@ -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 _chunkXDVT3GOMjs = require('./chunk-XDVT3GOM.js');
4
+ var _chunkWSGXBROEjs = require('./chunk-WSGXBROE.js');
5
5
 
6
6
 
7
7
 
@@ -283,9 +283,9 @@ async function preparePlayRunAdmission(http, request, onSubmission, options) {
283
283
  })
284
284
  )
285
285
  );
286
- const workflowId = supportsCallerIntent ? _nullishCoalesce(request.workflowId, () => ( _chunkXDVT3GOMjs.buildCallerPlayWorkflowId.call(void 0, _nullishCoalesce(request.name, () => ( "play")), wireBody))) : void 0;
286
+ const workflowId = supportsCallerIntent ? _nullishCoalesce(request.workflowId, () => ( _chunkWSGXBROEjs.buildCallerPlayWorkflowId.call(void 0, _nullishCoalesce(request.name, () => ( "play")), wireBody))) : void 0;
287
287
  const submittedBody = workflowId ? { workflowId, ...wireBody } : wireBody;
288
- if (workflowId && !_chunkXDVT3GOMjs.callerPlayWorkflowIdMatchesRequest.call(void 0, workflowId, submittedBody)) {
288
+ if (workflowId && !_chunkWSGXBROEjs.callerPlayWorkflowIdMatchesRequest.call(void 0, workflowId, submittedBody)) {
289
289
  throw new (0, _chunkDIAWYWT5js.DeeplineError)(
290
290
  "workflowId must be the caller run ID of this same immutable request.",
291
291
  400,