deepline 0.3.492 → 0.3.494

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/client-core.ts +11 -5
  2. package/dist/bundling-sources/sdk/src/plays/run-request.ts +1 -0
  3. package/dist/bundling-sources/sdk/src/release.ts +2 -2
  4. package/dist/bundling-sources/sdk/src/types.ts +11 -4
  5. package/dist/bundling-sources/shared_libs/monitors/fleets/verdict.ts +25 -9
  6. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +36 -0
  7. package/dist/bundling-sources/shared_libs/observability/scheduled-work-manual.ts +5 -4
  8. package/dist/bundling-sources/shared_libs/play-runtime/crustdata-company-identify-batching.ts +162 -0
  9. package/dist/bundling-sources/shared_libs/play-runtime/daytona-sandbox-reaper.ts +19 -3
  10. package/dist/bundling-sources/shared_libs/play-runtime/play-runtime-batching-registry.ts +2 -0
  11. package/dist/bundling-sources/shared_libs/play-runtime/receipt-sql.ts +17 -23
  12. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-modal-fallback.ts +28 -1
  13. package/dist/bundling-sources/shared_libs/play-runtime/runtime-sandbox-placement-policy.ts +75 -0
  14. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +20 -0
  15. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +412 -59
  16. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-capacity.ts +38 -10
  17. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-ledger-reconciliation.ts +19 -11
  18. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-operation.ts +165 -12
  19. package/dist/bundling-sources/shared_libs/play-runtime/tool-result.ts +15 -0
  20. package/dist/bundling-sources/shared_libs/play-runtime/work-receipt-state-machine.ts +358 -0
  21. package/dist/bundling-sources/shared_libs/plays/field-catalog.ts +101 -3
  22. package/dist/cli/{auth-4I6QY5WX.mjs → auth-6X5YXMFN.mjs} +5 -5
  23. package/dist/cli/auth-RWLCLMDY.js +43 -0
  24. package/dist/cli/{billing-2H4GOJZY.js → billing-5F5PZB77.js} +80 -80
  25. package/dist/cli/{billing-4F6L4JSI.mjs → billing-IN74SDSC.mjs} +7 -7
  26. package/dist/cli/{chunk-3RGWTKK3.mjs → chunk-2GEYN3H4.mjs} +89 -3
  27. package/dist/cli/{chunk-JJAHWKJ2.js → chunk-3KVFOKPR.js} +73 -59
  28. package/dist/cli/{chunk-NBL6JMIY.js → chunk-4A5WXQJK.js} +17 -17
  29. package/dist/cli/{chunk-YOCEY4EI.mjs → chunk-4RWH4LRQ.mjs} +5 -5
  30. package/dist/cli/{chunk-OGNIB64W.js → chunk-4ZKZS43N.js} +23 -15
  31. package/dist/cli/{chunk-TKLDKIJU.mjs → chunk-5JPKRDFC.mjs} +7 -5
  32. package/dist/cli/{chunk-3TISK5RQ.js → chunk-5WYH2LAP.js} +6 -6
  33. package/dist/cli/{chunk-MQ2LQOAM.mjs → chunk-65NMOP4T.mjs} +23 -9
  34. package/dist/cli/{chunk-O65HDVA7.mjs → chunk-6DMLWM7L.mjs} +5 -5
  35. package/dist/cli/{chunk-OTUT3XTX.mjs → chunk-6XZR2642.mjs} +8 -7
  36. package/dist/cli/{chunk-Q3CCCTRQ.js → chunk-7B7A36XZ.js} +14 -14
  37. package/dist/cli/{chunk-O3K22ZC7.js → chunk-AARXOBVD.js} +35 -11
  38. package/dist/cli/{chunk-DVGCPOEA.mjs → chunk-BLHQRETG.mjs} +187 -187
  39. package/dist/cli/{chunk-NPZBE64X.js → chunk-BLMB4N63.js} +89 -3
  40. package/dist/cli/{chunk-OTDX4A4W.js → chunk-BNI653WN.js} +21 -21
  41. package/dist/cli/{chunk-E47VAVAR.js → chunk-BU5Y7HOD.js} +5 -5
  42. package/dist/cli/{chunk-CGDUFVNE.mjs → chunk-C5R3UH5V.mjs} +29 -2
  43. package/dist/cli/{chunk-HFEJ7JJT.js → chunk-CAWOSHEC.js} +26 -26
  44. package/dist/cli/{chunk-TVUE4CPW.js → chunk-CK5MA6S6.js} +32 -32
  45. package/dist/cli/{chunk-Y7QCMOGZ.mjs → chunk-DKKAJ3U2.mjs} +6 -6
  46. package/dist/cli/{chunk-ONONSV2Q.mjs → chunk-DVQHG6AM.mjs} +1 -0
  47. package/dist/cli/{chunk-3BRDP4UP.mjs → chunk-EG3OSUBO.mjs} +1 -1
  48. package/dist/cli/{chunk-ZCKUNXXR.mjs → chunk-FAT6CUZK.mjs} +1 -1
  49. package/dist/cli/{chunk-YNWET57Z.js → chunk-GBICEYUA.js} +13 -13
  50. package/dist/cli/{chunk-42Z6VC2Q.js → chunk-GDNQXLBM.js} +2 -2
  51. package/dist/cli/{chunk-SE23YSBK.js → chunk-GLDBMKTV.js} +3 -3
  52. package/dist/cli/{chunk-OKHBAAJG.mjs → chunk-GNSGDIA4.mjs} +2 -2
  53. package/dist/cli/{chunk-W4FEX5ZF.js → chunk-GSCCDGGT.js} +261 -261
  54. package/dist/cli/{chunk-A7ZMG2QZ.mjs → chunk-H46X7YDU.mjs} +35 -11
  55. package/dist/cli/{chunk-3IBKEOL4.js → chunk-HINVMRGQ.js} +4 -4
  56. package/dist/cli/{chunk-HHTVRICE.js → chunk-I42EOZKQ.js} +44 -17
  57. package/dist/cli/{chunk-MPITIXW4.mjs → chunk-IPWYDANJ.mjs} +13 -5
  58. package/dist/cli/{chunk-YVOYZPMY.mjs → chunk-IZJSX3SZ.mjs} +2 -2
  59. package/dist/cli/{chunk-FFOJRD53.mjs → chunk-J2HOVZOE.mjs} +3 -3
  60. package/dist/cli/{chunk-EFFHRXKB.js → chunk-J3UHNUWI.js} +2 -2
  61. package/dist/cli/{chunk-4IP5MLWU.js → chunk-JO5FFSR7.js} +6 -1
  62. package/dist/cli/{chunk-PIC6M4X3.mjs → chunk-KR2XEI5T.mjs} +1 -1
  63. package/dist/cli/{chunk-FTXIJTV2.mjs → chunk-KSHAFYYG.mjs} +2 -2
  64. package/dist/cli/{chunk-6YO4OJPM.mjs → chunk-KVCQL6SP.mjs} +99 -24
  65. package/dist/cli/{chunk-RC366IJS.mjs → chunk-L2P2XRPO.mjs} +38 -6
  66. package/dist/cli/{chunk-R5MP3CIY.mjs → chunk-L4QPBQUX.mjs} +3 -3
  67. package/dist/cli/{chunk-4RB74KJX.js → chunk-L6KA4ENU.js} +47 -15
  68. package/dist/cli/{chunk-MJFVF5AW.mjs → chunk-L6L57RSG.mjs} +2 -2
  69. package/dist/cli/{chunk-F6EQWY4E.mjs → chunk-MWZNMWR2.mjs} +2 -2
  70. package/dist/cli/{chunk-LCCFGSV7.mjs → chunk-ODWTFVE4.mjs} +2 -2
  71. package/dist/cli/{chunk-AUQQVDAB.js → chunk-PKV5CD3W.js} +1 -0
  72. package/dist/cli/{chunk-UUH4GQRL.mjs → chunk-QOEI42IU.mjs} +2 -2
  73. package/dist/cli/{chunk-JHBRJDUC.js → chunk-QSRWBOPV.js} +11 -10
  74. package/dist/cli/{chunk-4OLXMJ2L.js → chunk-RLX5ZFNX.js} +8 -6
  75. package/dist/cli/{chunk-EANFUHRM.mjs → chunk-RPFNIMUO.mjs} +1 -1
  76. package/dist/cli/{chunk-DJOLMS2A.js → chunk-S3XQH7DW.js} +2 -2
  77. package/dist/cli/{chunk-DEJIN4DF.mjs → chunk-SAW3FBCA.mjs} +5 -0
  78. package/dist/cli/{chunk-GDSZWTJK.mjs → chunk-TLQXN4ZZ.mjs} +12 -12
  79. package/dist/cli/{chunk-O2FB42N2.js → chunk-USWLB4KV.js} +234 -234
  80. package/dist/cli/{chunk-BDUFZSUL.js → chunk-VMPM2FKT.js} +8 -8
  81. package/dist/cli/{chunk-4GJIJHRQ.mjs → chunk-WCZBIE5L.mjs} +1 -1
  82. package/dist/cli/{chunk-NF7NUKWF.js → chunk-WP45PUPW.js} +132 -57
  83. package/dist/cli/{chunk-FPLN7PHP.js → chunk-X6HIIHQO.js} +5 -5
  84. package/dist/cli/{chunk-B2JE3HD6.js → chunk-Y4GRL533.js} +3 -3
  85. package/dist/cli/{chunk-ZDTPSVGF.js → chunk-ZZD245Z2.js} +10 -10
  86. package/dist/cli/command-docs.js +2 -2
  87. package/dist/cli/command-docs.mjs +1 -1
  88. package/dist/cli/{csv-JGJNDRSA.js → csv-QD7JJGSP.js} +13 -13
  89. package/dist/cli/{csv-VGXGV7YM.mjs → csv-UBW4ID5D.mjs} +4 -4
  90. package/dist/cli/{db-W52WJ6E5.js → db-AARR3WYD.js} +28 -28
  91. package/dist/cli/{db-OYG27ZBM.mjs → db-QFDXKIVD.mjs} +7 -7
  92. package/dist/cli/describe-OBVIAC2H.mjs +50 -0
  93. package/dist/cli/describe-RYJ6HDYD.js +50 -0
  94. package/dist/cli/describe-core.d.mts +5 -11
  95. package/dist/cli/describe-core.d.ts +5 -11
  96. package/dist/cli/describe-core.js +5 -5
  97. package/dist/cli/describe-core.mjs +4 -4
  98. package/dist/cli/{executions-EVE4KUGL.mjs → executions-IZYUDYTZ.mjs} +7 -7
  99. package/dist/cli/{executions-LAJHZGPY.js → executions-KXY7KMZY.js} +9 -9
  100. package/dist/cli/{feedback-ZABCN7RT.js → feedback-3334HBPD.js} +8 -8
  101. package/dist/cli/{feedback-75QB7KVG.mjs → feedback-IVCVBERN.mjs} +4 -4
  102. package/dist/cli/getting-started.d.mts +12 -10
  103. package/dist/cli/getting-started.d.ts +12 -10
  104. package/dist/cli/getting-started.js +4 -2
  105. package/dist/cli/getting-started.mjs +3 -1
  106. package/dist/cli/git-4VLYFHNU.js +25 -0
  107. package/dist/cli/{git-QIFEYQGY.mjs → git-JHNVET5A.mjs} +5 -5
  108. package/dist/cli/index.js +143 -143
  109. package/dist/cli/index.mjs +43 -43
  110. package/dist/cli/{legacy-noops-2TBIAMCM.js → legacy-noops-DBA32JCV.js} +8 -8
  111. package/dist/cli/{legacy-noops-PNTWBBGY.mjs → legacy-noops-WGVBUOCC.mjs} +5 -5
  112. package/dist/cli/{monitors-UKBOEGBS.js → monitors-GHWZ5AZS.js} +169 -129
  113. package/dist/cli/{monitors-LOHUYJEI.mjs → monitors-ZGANC7JY.mjs} +49 -9
  114. package/dist/cli/{org-JRUKUOUF.mjs → org-CUS42N2T.mjs} +7 -7
  115. package/dist/cli/{org-E7A6QLBW.js → org-S7JWP264.js} +73 -73
  116. package/dist/cli/{pages-K76HA473.mjs → pages-IH56T6L6.mjs} +7 -7
  117. package/dist/cli/{pages-EUDFFLLD.js → pages-QXRZDEJW.js} +18 -18
  118. package/dist/cli/{play-UWHNUJRA.js → play-4C5PYS62.js} +661 -566
  119. package/dist/cli/{play-DG2N66SV.mjs → play-Z65ZFOQH.mjs} +147 -52
  120. package/dist/cli/{providers-RUTTPUZD.mjs → providers-FSZSJX4Z.mjs} +7 -7
  121. package/dist/cli/{providers-DZX6TTC6.js → providers-XYQGYF3O.js} +10 -10
  122. package/dist/cli/{quickstart-RGZZN2YE.mjs → quickstart-DHWVE32I.mjs} +5 -5
  123. package/dist/cli/{quickstart-U4NMD7KX.js → quickstart-ZA25RJT3.js} +13 -13
  124. package/dist/cli/{run-5UNF4FHG.js → run-5MP6LEHM.js} +45 -44
  125. package/dist/cli/{run-MOJWQYFQ.mjs → run-WRPPEPLG.mjs} +30 -29
  126. package/dist/cli/search-4SQFVNTB.js +32 -0
  127. package/dist/cli/{search-5B3ZDU7H.mjs → search-A6NVJPKX.mjs} +8 -8
  128. package/dist/cli/{search-output-QS4IWWHA.mjs → search-output-PAOUMVXY.mjs} +7 -4
  129. package/dist/cli/{search-output-VQWJS3FN.js → search-output-YA6TXWGO.js} +9 -6
  130. package/dist/cli/{secrets-S3PJMEAC.js → secrets-AZYOGH3I.js} +16 -16
  131. package/dist/cli/{secrets-V5XVDBIS.mjs → secrets-ZGF7JOBI.mjs} +7 -7
  132. package/dist/cli/{sessions-Y5QMEZ3D.js → sessions-GCIN5VXT.js} +6 -6
  133. package/dist/cli/{sessions-5V3X24XI.mjs → sessions-RNEAXZPV.mjs} +5 -5
  134. package/dist/cli/{settings-3U6RRO5F.js → settings-LMEZNLBB.js} +80 -80
  135. package/dist/cli/{settings-LHZYY5PT.mjs → settings-NO5KXQJF.mjs} +13 -13
  136. package/dist/cli/{setup-AJLWXYAN.mjs → setup-GCYB4IFS.mjs} +13 -13
  137. package/dist/cli/{setup-MLLIGO2S.js → setup-XKTZPYYH.js} +57 -57
  138. package/dist/cli/{skills-5O2MUWKK.mjs → skills-TY4HHIKH.mjs} +10 -10
  139. package/dist/cli/skills-V4APQA2I.js +36 -0
  140. package/dist/cli/tools-HKQLQ7HT.js +57 -0
  141. package/dist/cli/{tools-PWNMI5CD.mjs → tools-RDTHHYJ3.mjs} +21 -21
  142. package/dist/cli/{update-SXT4QW7S.mjs → update-BRLLTTCS.mjs} +10 -10
  143. package/dist/cli/update-Z4MUAHWM.js +34 -0
  144. package/dist/cli/{workflow-KPRM6ARO.mjs → workflow-F72EVZWM.mjs} +8 -8
  145. package/dist/cli/{workflow-3WTF5IYT.js → workflow-YHA4WE3K.js} +18 -18
  146. package/dist/{client-Cb1ej1Vr.d.ts → client-97yTcdLl.d.ts} +1 -1
  147. package/dist/{client-vWpbLNCB.d.mts → client-CFo9qalW.d.mts} +1 -1
  148. package/dist/{client-core-BmVs6SP0.d.ts → client-core-BRZrY13B.d.ts} +15 -8
  149. package/dist/{client-core-CoBTvsXG.d.mts → client-core-Dl6xgfLq.d.mts} +15 -8
  150. package/dist/{compiler-manifest-BFTwq1HI.d.mts → compiler-manifest-CPEF48NM.d.mts} +91 -0
  151. package/dist/{compiler-manifest-BFTwq1HI.d.ts → compiler-manifest-CPEF48NM.d.ts} +91 -0
  152. package/dist/{errors-c3pMsylw.d.ts → errors-B-PJXveg.d.ts} +1 -1
  153. package/dist/{errors-w31ybrQM.d.mts → errors-BWbPzqwo.d.mts} +1 -1
  154. package/dist/{index-DvNtxucX.d.mts → index-BJ8AA1F9.d.mts} +1 -1
  155. package/dist/{index-CQ-15-QL.d.ts → index-CvVxPpE8.d.ts} +1 -1
  156. package/dist/index.d.mts +7 -7
  157. package/dist/index.d.ts +7 -7
  158. package/dist/index.js +27 -19
  159. package/dist/index.mjs +16 -8
  160. package/dist/install-integrity.json +123 -122
  161. package/dist/plays/bundle-play-file.d.mts +3 -3
  162. package/dist/plays/bundle-play-file.d.ts +3 -3
  163. package/dist/plays/play-description.d.mts +2 -2
  164. package/dist/plays/play-description.d.ts +2 -2
  165. package/dist/plays/run-request.d.mts +2 -2
  166. package/dist/plays/run-request.d.ts +2 -2
  167. package/dist/plays/run-request.js +2 -2
  168. package/dist/plays/run-request.mjs +1 -1
  169. package/dist/release.d.mts +2 -2
  170. package/dist/release.d.ts +2 -2
  171. package/dist/release.js +2 -2
  172. package/dist/release.mjs +1 -1
  173. package/dist/server.d.mts +4 -4
  174. package/dist/server.d.ts +4 -4
  175. package/dist/server.js +6 -6
  176. package/dist/server.mjs +4 -4
  177. package/package.json +1 -1
  178. package/dist/cli/auth-7BCLZU6K.js +0 -43
  179. package/dist/cli/describe-FIXCRO5N.mjs +0 -50
  180. package/dist/cli/describe-G3O6OUBG.js +0 -50
  181. package/dist/cli/git-QBAR46NW.js +0 -25
  182. package/dist/cli/search-3DAEJL6S.js +0 -32
  183. package/dist/cli/skills-BBLIML5M.js +0 -36
  184. package/dist/cli/tools-X5SQXUMM.js +0 -57
  185. package/dist/cli/update-AEJ2ZSZQ.js +0 -34
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
3
 
4
- var _chunkZDTPSVGFjs = require('./chunk-ZDTPSVGF.js');
4
+ var _chunkZZD245Z2js = require('./chunk-ZZD245Z2.js');
5
5
 
6
6
 
7
- var _chunk3IBKEOL4js = require('./chunk-3IBKEOL4.js');
7
+ var _chunkHINVMRGQjs = require('./chunk-HINVMRGQ.js');
8
8
 
9
9
  // src/cli/commands/sessions.ts
10
10
 
@@ -139,7 +139,7 @@ function currentSessionFile(agent) {
139
139
  const newestFirst = listSessionFiles(agent).sort(
140
140
  (a, b) => b.mtimeMs - a.mtimeMs
141
141
  );
142
- const sessionId = _chunk3IBKEOL4js.agentSessionIdFromEnvironment.call(void 0,
142
+ const sessionId = _chunkHINVMRGQjs.agentSessionIdFromEnvironment.call(void 0,
143
143
  process.env,
144
144
  agent === "auto" ? void 0 : agent === "claude" ? "claude_code" : "codex"
145
145
  );
@@ -451,7 +451,7 @@ function buildSessionUploadContent(raw) {
451
451
  return { encodedContent: encoded, needsChunking: true };
452
452
  }
453
453
  async function uploadPayload(path, payload) {
454
- const { http } = _chunkZDTPSVGFjs.getAuthedHttpClient.call(void 0, );
454
+ const { http } = _chunkZZD245Z2js.getAuthedHttpClient.call(void 0, );
455
455
  return await http.post(path, payload);
456
456
  }
457
457
  async function uploadChunkedSessions(sessions, options) {
@@ -484,7 +484,7 @@ async function uploadChunkedSessions(sessions, options) {
484
484
  ...options.rating ? { rating: options.rating } : {}
485
485
  });
486
486
  const sessionIds = sessions.map((session) => session.sessionId);
487
- _chunkZDTPSVGFjs.printCommandEnvelope.call(void 0,
487
+ _chunkZZD245Z2js.printCommandEnvelope.call(void 0,
488
488
  {
489
489
  ...response,
490
490
  ok: true,
@@ -516,7 +516,7 @@ async function handleSessionsSend(options) {
516
516
  filename: _path.basename.call(void 0, filePath),
517
517
  ...rating ? { rating } : {}
518
518
  });
519
- _chunkZDTPSVGFjs.printCommandEnvelope.call(void 0,
519
+ _chunkZZD245Z2js.printCommandEnvelope.call(void 0,
520
520
  {
521
521
  ...response2,
522
522
  ok: true,
@@ -566,7 +566,7 @@ async function handleSessionsSend(options) {
566
566
  ...rating ? { rating } : {}
567
567
  });
568
568
  const sessionIds = built.map((session) => session.sessionId);
569
- _chunkZDTPSVGFjs.printCommandEnvelope.call(void 0,
569
+ _chunkZZD245Z2js.printCommandEnvelope.call(void 0,
570
570
  {
571
571
  ...response,
572
572
  ok: true,
@@ -674,7 +674,7 @@ ${refreshMeta}
674
674
  </body>
675
675
  </html>`;
676
676
  _fs.writeFileSync.call(void 0, outputPath, html, "utf8");
677
- _chunkZDTPSVGFjs.printCommandEnvelope.call(void 0,
677
+ _chunkZZD245Z2js.printCommandEnvelope.call(void 0,
678
678
  {
679
679
  ok: true,
680
680
  file: outputPath,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  writeRawStderr
3
- } from "./chunk-O65HDVA7.mjs";
3
+ } from "./chunk-6DMLWM7L.mjs";
4
4
 
5
5
  // src/cli/maintenance-policy.ts
6
6
  import { InvalidArgumentError } from "commander";
@@ -11,23 +11,23 @@
11
11
 
12
12
 
13
13
 
14
- var _chunkO2FB42N2js = require('./chunk-O2FB42N2.js');
14
+ var _chunkUSWLB4KVjs = require('./chunk-USWLB4KV.js');
15
15
 
16
16
 
17
- var _chunkZDTPSVGFjs = require('./chunk-ZDTPSVGF.js');
17
+ var _chunkZZD245Z2js = require('./chunk-ZZD245Z2.js');
18
18
 
19
19
 
20
20
 
21
21
 
22
22
 
23
- var _chunkB2JE3HD6js = require('./chunk-B2JE3HD6.js');
23
+ var _chunkY4GRL533js = require('./chunk-Y4GRL533.js');
24
24
 
25
25
 
26
26
 
27
- var _chunk3IBKEOL4js = require('./chunk-3IBKEOL4.js');
27
+ var _chunkHINVMRGQjs = require('./chunk-HINVMRGQ.js');
28
28
 
29
29
 
30
- var _chunk4OLXMJ2Ljs = require('./chunk-4OLXMJ2L.js');
30
+ var _chunkRLX5ZFNXjs = require('./chunk-RLX5ZFNX.js');
31
31
 
32
32
  // src/cli/commands/skills.ts
33
33
  var _child_process = require('child_process');
@@ -76,15 +76,15 @@ function workspaceSkillRootsForAgents(agents) {
76
76
  )
77
77
  ].sort((a, b) => a.localeCompare(b));
78
78
  }
79
- function deeplineGtmCodexSkillFile(root) {
80
- if (root === null) return _chunk4OLXMJ2Ljs.DEEPLINE_GTM_GLOBAL_CODEX_SKILL_FILE;
81
- return _path.join.call(void 0,
82
- root,
83
- WORKSPACE_SKILL_ROOTS_BY_AGENT.codex[0],
84
- "skills",
85
- "deepline-gtm",
86
- "SKILL.md"
79
+ function deeplineGtmSkillRoots(root) {
80
+ if (root === null) {
81
+ const claudeConfig = _optionalChain([process, 'access', _ => _.env, 'access', _2 => _2.CLAUDE_CONFIG_DIR, 'optionalAccess', _3 => _3.trim, 'call', _4 => _4()]);
82
+ return claudeConfig ? `${_path.join.call(void 0, claudeConfig, "skills")} or ~/.agents/skills` : _chunkRLX5ZFNXjs.DEEPLINE_GTM_GLOBAL_SKILL_ROOTS;
83
+ }
84
+ const [claude, codex] = ["claude-code", "codex"].map(
85
+ (agent) => _path.join.call(void 0, root, WORKSPACE_SKILL_ROOTS_BY_AGENT[agent][0], "skills")
87
86
  );
87
+ return `${claude} or ${codex}`;
88
88
  }
89
89
  function installedSkillRoots(agent, scope, root) {
90
90
  if (scope === "local") {
@@ -94,7 +94,7 @@ function installedSkillRoots(agent, scope, root) {
94
94
  const home = _os.homedir.call(void 0, );
95
95
  const shared = _path.join.call(void 0, home, ".agents", "skills");
96
96
  const claude = _path.join.call(void 0,
97
- _optionalChain([process, 'access', _ => _.env, 'access', _2 => _2.CLAUDE_CONFIG_DIR, 'optionalAccess', _3 => _3.trim, 'call', _4 => _4()]) || _path.join.call(void 0, home, ".claude"),
97
+ _optionalChain([process, 'access', _5 => _5.env, 'access', _6 => _6.CLAUDE_CONFIG_DIR, 'optionalAccess', _7 => _7.trim, 'call', _8 => _8()]) || _path.join.call(void 0, home, ".claude"),
98
98
  "skills"
99
99
  );
100
100
  switch (agent) {
@@ -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 = _chunkB2JE3HD6js.resolveProjectPinTarget.call(void 0, );
148
+ const target = _chunkY4GRL533js.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, () => ( _chunk3IBKEOL4js.detectAgentRuntime.call(void 0, )));
159
+ const runtime = _nullishCoalesce(input.runtime, () => ( _chunkHINVMRGQjs.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, _chunkB2JE3HD6js.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, _chunkY4GRL533js.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 = [..._chunkO2FB42N2js.LEGACY_SKILL_NAMES_TO_REMOVE].sort(
178
+ const legacyNames = [..._chunkUSWLB4KVjs.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=${_chunkO2FB42N2js.SKILLS_NPX_PACKAGE}`,
192
+ `--package=${_chunkUSWLB4KVjs.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=${_chunkO2FB42N2js.SKILLS_NPX_PACKAGE}`,
208
+ `--package=${_chunkUSWLB4KVjs.SKILLS_NPX_PACKAGE}`,
209
209
  "--",
210
210
  "skills",
211
211
  "add",
212
- _chunkO2FB42N2js.skillsSourceUrl.call(void 0, input.baseUrl),
212
+ _chunkUSWLB4KVjs.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 = _chunkO2FB42N2js.resolveShellSpawn.call(void 0,
249
+ const plan = _chunkUSWLB4KVjs.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
- `${_chunkO2FB42N2js.SKILLS_NPX_PACKAGE} timed out after ${SKILLS_PROCESS_TIMEOUT_MS}ms.`
271
+ `${_chunkUSWLB4KVjs.SKILLS_NPX_PACKAGE} timed out after ${SKILLS_PROCESS_TIMEOUT_MS}ms.`
272
272
  )
273
273
  );
274
274
  }, SKILLS_PROCESS_TIMEOUT_MS);
@@ -279,21 +279,78 @@ 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(`${_chunkO2FB42N2js.SKILLS_NPX_PACKAGE} exited ${code}.
282
+ process.stderr.write(`${_chunkUSWLB4KVjs.SKILLS_NPX_PACKAGE} exited ${code}.
283
283
  `);
284
284
  }
285
285
  resolve(_nullishCoalesce(code, () => ( 1)));
286
286
  });
287
287
  });
288
288
  }
289
+ async function showSkills(options, name) {
290
+ const baseUrl = _chunkY4GRL533js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
291
+ const url = name ? `${baseUrl}/.well-known/skills/${encodeURIComponent(name)}/SKILL.md` : `${baseUrl}/.well-known/skills/index.json`;
292
+ try {
293
+ const response = await fetch(url, {
294
+ signal: AbortSignal.timeout(SKILLS_PROCESS_TIMEOUT_MS)
295
+ });
296
+ if (!response.ok) {
297
+ throw new Error(
298
+ response.status === 404 && name ? `no skill named ${name}; run deepline skills list` : `HTTP ${response.status} from ${url}`
299
+ );
300
+ }
301
+ if (name) {
302
+ const markdown = await response.text();
303
+ _chunkZZD245Z2js.printCommandEnvelope.call(void 0,
304
+ { ok: true, status: "completed", skill: { name, markdown } },
305
+ { json: options.json, text: markdown }
306
+ );
307
+ return 0;
308
+ }
309
+ const index = await response.json();
310
+ const skills = (_nullishCoalesce(index.skills, () => ( []))).filter(
311
+ (skill) => skill.install_surface === "v1" && skill.name
312
+ );
313
+ _chunkZZD245Z2js.printCommandEnvelope.call(void 0,
314
+ {
315
+ ok: true,
316
+ status: "completed",
317
+ skills: skills.map(({ name: name2, description }) => ({ name: name2, description })),
318
+ next: "deepline skills show <name>"
319
+ },
320
+ {
321
+ json: options.json,
322
+ text: `${skills.map((skill) => `${skill.name}: ${_nullishCoalesce(skill.description, () => ( ""))}`).join("\n")}
323
+
324
+ Read one with: deepline skills show <name>
325
+ `
326
+ }
327
+ );
328
+ return 0;
329
+ } catch (error) {
330
+ _chunkZZD245Z2js.printCommandEnvelope.call(void 0,
331
+ {
332
+ ok: false,
333
+ status: "failed",
334
+ code: "SKILL_UNAVAILABLE",
335
+ exitCode: 5,
336
+ message: `Could not fetch skills: ${error instanceof Error ? error.message : String(error)}`
337
+ },
338
+ { json: options.json }
339
+ );
340
+ return 5;
341
+ }
342
+ }
289
343
  async function runSkillsCommand(options, dependencies = {}) {
344
+ if (options.list || options.name) {
345
+ return showSkills(options, options.list ? null : _nullishCoalesce(options.name, () => ( null)));
346
+ }
290
347
  let scope;
291
348
  let root;
292
349
  try {
293
350
  scope = normalizeScope(options.scope);
294
351
  root = scope === "local" ? resolveLocalRoot() : null;
295
352
  } catch (error) {
296
- _chunkZDTPSVGFjs.printCommandEnvelope.call(void 0,
353
+ _chunkZZD245Z2js.printCommandEnvelope.call(void 0,
297
354
  {
298
355
  ok: false,
299
356
  status: "failed",
@@ -305,22 +362,22 @@ async function runSkillsCommand(options, dependencies = {}) {
305
362
  );
306
363
  return 2;
307
364
  }
308
- const baseUrl = _chunkB2JE3HD6js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
365
+ const baseUrl = _chunkY4GRL533js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
309
366
  const catalog = {
310
- skillNames: [..._chunkO2FB42N2js.DEFAULT_SDK_SKILL_NAMES],
311
- version: _chunk3IBKEOL4js.SDK_VERSION
367
+ skillNames: [..._chunkUSWLB4KVjs.DEFAULT_SDK_SKILL_NAMES],
368
+ version: _chunkHINVMRGQjs.SDK_VERSION
312
369
  };
313
370
  const agents = options.agent ? [options.agent] : detectSkillsAgents({ scope, root });
314
371
  const plan = buildSkillsPlan({ baseUrl, scope, root, agents, ...catalog });
315
372
  if (options.dryRun) {
316
- _chunkZDTPSVGFjs.printCommandEnvelope.call(void 0,
373
+ _chunkZZD245Z2js.printCommandEnvelope.call(void 0,
317
374
  { ok: true, status: "planned", dryRun: true, ...plan },
318
375
  { json: options.json }
319
376
  );
320
377
  return 0;
321
378
  }
322
- if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !_chunkO2FB42N2js.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
323
- _chunkZDTPSVGFjs.printCommandEnvelope.call(void 0,
379
+ if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !_chunkUSWLB4KVjs.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
380
+ _chunkZZD245Z2js.printCommandEnvelope.call(void 0,
324
381
  {
325
382
  ok: true,
326
383
  status: "current",
@@ -352,10 +409,10 @@ async function runSkillsCommand(options, dependencies = {}) {
352
409
  }
353
410
  if (scope === "local" && root) {
354
411
  const managedNames = [
355
- .../* @__PURE__ */ new Set([...plan.skillNames, ..._chunkO2FB42N2js.LEGACY_SKILL_NAMES_TO_REMOVE])
412
+ .../* @__PURE__ */ new Set([...plan.skillNames, ..._chunkUSWLB4KVjs.LEGACY_SKILL_NAMES_TO_REMOVE])
356
413
  ];
357
414
  const agentRoots = workspaceSkillRootsForAgents(plan.agents);
358
- _chunkB2JE3HD6js.ensureProjectPrivatePathsIgnored.call(void 0, root, [
415
+ _chunkY4GRL533js.ensureProjectPrivatePathsIgnored.call(void 0, root, [
359
416
  ".deepline/",
360
417
  ...agentRoots.flatMap(
361
418
  (agentRoot) => managedNames.map((name) => `${agentRoot}/skills/${name}/`)
@@ -364,7 +421,7 @@ async function runSkillsCommand(options, dependencies = {}) {
364
421
  }
365
422
  let lease;
366
423
  try {
367
- lease = scope === "global" ? await _chunkO2FB42N2js.acquireSkillsInstallLease.call(void 0, baseUrl, agents, plan.version, {
424
+ lease = scope === "global" ? await _chunkUSWLB4KVjs.acquireSkillsInstallLease.call(void 0, baseUrl, agents, plan.version, {
368
425
  waitMs: _nullishCoalesce(dependencies.installLeaseWaitMs, () => ( SKILLS_INSTALL_LEASE_WAIT_MS)),
369
426
  onWait: () => process.stderr.write(
370
427
  "Waiting for a background Deepline skills refresh to finish...\n"
@@ -372,8 +429,8 @@ async function runSkillsCommand(options, dependencies = {}) {
372
429
  }) : { release: () => {
373
430
  } };
374
431
  } catch (error) {
375
- if (!(error instanceof _chunkO2FB42N2js.SkillsStateUnavailableError)) throw error;
376
- _chunkZDTPSVGFjs.printCommandEnvelope.call(void 0,
432
+ if (!(error instanceof _chunkUSWLB4KVjs.SkillsStateUnavailableError)) throw error;
433
+ _chunkZZD245Z2js.printCommandEnvelope.call(void 0,
377
434
  {
378
435
  ok: false,
379
436
  status: "failed",
@@ -382,14 +439,14 @@ async function runSkillsCommand(options, dependencies = {}) {
382
439
  scope,
383
440
  agents,
384
441
  message: error.message,
385
- next: `Resolve this filesystem error, then run: deepline skills --scope ${scope}`
442
+ next: `Resolve this filesystem error, then run: deepline skills install --scope ${scope}`
386
443
  },
387
444
  { json: options.json }
388
445
  );
389
446
  return 5;
390
447
  }
391
448
  if (!lease) {
392
- _chunkZDTPSVGFjs.printCommandEnvelope.call(void 0,
449
+ _chunkZZD245Z2js.printCommandEnvelope.call(void 0,
393
450
  {
394
451
  ok: false,
395
452
  status: "failed",
@@ -398,7 +455,7 @@ async function runSkillsCommand(options, dependencies = {}) {
398
455
  scope,
399
456
  agents,
400
457
  message: "A background Deepline skills refresh is still running for these agents.",
401
- next: `Retry in a moment: deepline skills --scope ${scope}. If no refresh is running, remove ${_chunkO2FB42N2js.skillsInstallLeasePath.call(void 0, baseUrl, agents)}`
458
+ next: `Retry in a moment: deepline skills install --scope ${scope}. If no refresh is running, remove ${_chunkUSWLB4KVjs.skillsInstallLeasePath.call(void 0, baseUrl, agents)}`
402
459
  },
403
460
  { json: options.json }
404
461
  );
@@ -447,7 +504,7 @@ async function runSkillsInstallWithLease(input) {
447
504
  }
448
505
  }
449
506
  } catch (error) {
450
- _chunkZDTPSVGFjs.printCommandEnvelope.call(void 0,
507
+ _chunkZZD245Z2js.printCommandEnvelope.call(void 0,
451
508
  {
452
509
  ok: false,
453
510
  status: "failed",
@@ -456,14 +513,14 @@ async function runSkillsInstallWithLease(input) {
456
513
  scope,
457
514
  agents,
458
515
  message: error instanceof Error ? error.message : String(error),
459
- next: `deepline skills --scope ${scope}`
516
+ next: `deepline skills install --scope ${scope}`
460
517
  },
461
518
  { json: options.json }
462
519
  );
463
520
  return 5;
464
521
  }
465
522
  if (missing.length > 0) {
466
- _chunkZDTPSVGFjs.printCommandEnvelope.call(void 0,
523
+ _chunkZZD245Z2js.printCommandEnvelope.call(void 0,
467
524
  {
468
525
  ok: false,
469
526
  status: "failed",
@@ -473,7 +530,7 @@ async function runSkillsInstallWithLease(input) {
473
530
  agents,
474
531
  missingSkills: missing,
475
532
  message: `The skills installer exited successfully but did not install: ${missing.join(", ")}.`,
476
- next: `deepline skills --scope ${scope}`
533
+ next: `deepline skills install --scope ${scope}`
477
534
  },
478
535
  { json: options.json }
479
536
  );
@@ -503,7 +560,7 @@ async function runSkillsInstallWithLease(input) {
503
560
  {
504
561
  schemaVersion: 1,
505
562
  installedAt: (/* @__PURE__ */ new Date()).toISOString(),
506
- cliVersion: _chunk3IBKEOL4js.SDK_VERSION,
563
+ cliVersion: _chunkHINVMRGQjs.SDK_VERSION,
507
564
  scope,
508
565
  agents,
509
566
  skillsVersion: plan.version,
@@ -516,9 +573,9 @@ async function runSkillsInstallWithLease(input) {
516
573
  "utf8"
517
574
  );
518
575
  if (scope === "global") {
519
- _chunkO2FB42N2js.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
576
+ _chunkUSWLB4KVjs.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
520
577
  }
521
- _chunkZDTPSVGFjs.printCommandEnvelope.call(void 0,
578
+ _chunkZZD245Z2js.printCommandEnvelope.call(void 0,
522
579
  {
523
580
  ok: true,
524
581
  status: "complete",
@@ -545,42 +602,60 @@ async function runSkillsInstallWithLease(input) {
545
602
  return 0;
546
603
  }
547
604
  function registerSkillsCommand(program) {
548
- program.command("skills").description("Replace Deepline agent skills with the current release.").option("--scope <scope>", "Install scope: global or local").option("--agent <agent>", "Override the detected agent target").option("--dry-run", "Print the install plan without changing files").option("--json", "Emit one JSON result envelope").addHelpText(
605
+ const skills = program.command("skills").description("List, read, and install Deepline agent skills.").addHelpText(
606
+ "after",
607
+ `
608
+ Examples:
609
+ deepline skills show
610
+ deepline skills list
611
+ deepline skills show deepline-research
612
+ deepline skills install
613
+ `
614
+ ).action(() => {
615
+ skills.outputHelp();
616
+ });
617
+ skills.command("list").description("List every Deepline agent skill; changes nothing.").option("--json", "Emit one JSON result envelope").action(async (options) => {
618
+ process.exitCode = await runSkillsCommand({ ...options, list: true });
619
+ });
620
+ skills.command("show").description("Print a skill (deepline-gtm by default); changes nothing.").argument("[name]", "A skill name", "deepline-gtm").option("--json", "Emit one JSON result envelope").action(async (name, options) => {
621
+ process.exitCode = await runSkillsCommand({ ...options, name });
622
+ });
623
+ skills.command("install").description("Replace Deepline agent skills with the current release.").option("--scope <scope>", "Install scope: global or local").option("--agent <agent>", "Override the detected agent target").option("--dry-run", "Print the install plan without changing files").option("--json", "Emit one JSON result envelope").addHelpText(
549
624
  "after",
550
625
  `
551
626
  Notes:
552
- This command reinstalls current Deepline-managed skills using ${_chunkO2FB42N2js.SKILLS_NPX_PACKAGE},
627
+ This command reinstalls current Deepline-managed skills using ${_chunkUSWLB4KVjs.SKILLS_NPX_PACKAGE},
553
628
  then removes legacy Deepline skill names. Local scope writes into the resolved
554
629
  persistent project.
555
630
 
556
631
  Examples:
557
- deepline skills
558
- deepline skills --scope local
559
- deepline skills --agent codex --dry-run
632
+ deepline skills install
633
+ deepline skills install --scope local
634
+ deepline skills install --agent codex --dry-run
560
635
  `
561
636
  ).action(async (options) => {
562
637
  process.exitCode = await runSkillsCommand(options);
563
638
  });
564
- program.command(_chunkO2FB42N2js.SKILLS_AUTO_SYNC_COMMAND, { hidden: true }).description("Refresh Deepline agent skills in the background.").option(
639
+ program.command(_chunkUSWLB4KVjs.SKILLS_AUTO_SYNC_COMMAND, { hidden: true }).description("Refresh Deepline agent skills in the background.").option(
565
640
  "--claim <token>",
566
641
  "Owner token of the leases this child was started for."
567
642
  ).action(async (options) => {
568
- const claim = _optionalChain([options, 'access', _5 => _5.claim, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]);
643
+ const claim = _optionalChain([options, 'access', _9 => _9.claim, 'optionalAccess', _10 => _10.trim, 'call', _11 => _11()]);
569
644
  if (!claim) {
570
- _chunkZDTPSVGFjs.printCommandEnvelope.call(void 0,
645
+ _chunkZZD245Z2js.printCommandEnvelope.call(void 0,
571
646
  {
572
647
  ok: false,
573
648
  status: "failed",
574
649
  code: "SKILLS_AUTO_SYNC_CLAIM_REQUIRED",
575
650
  exitCode: 2,
576
- message: "skills-auto-sync is started by ordinary deepline commands and requires the lease token they pass; run `deepline skills` to install skills yourself."
651
+ message: "skills-auto-sync is started by ordinary deepline commands and requires the lease token they pass; run `deepline skills install` to install skills yourself."
577
652
  },
578
653
  { json: true }
579
654
  );
580
655
  process.exitCode = 2;
581
656
  return;
582
657
  }
583
- await _chunkO2FB42N2js.syncSdkSkillsIfNeeded.call(void 0, _chunkB2JE3HD6js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
658
+ await _chunkUSWLB4KVjs.syncSdkSkillsIfNeeded.call(void 0, _chunkY4GRL533js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
584
659
  mode: "inline",
585
660
  notices: "defer",
586
661
  claim
@@ -599,4 +674,4 @@ Examples:
599
674
 
600
675
 
601
676
 
602
- exports.workspaceSkillRootsForAgents = workspaceSkillRootsForAgents; exports.deeplineGtmCodexSkillFile = deeplineGtmCodexSkillFile; exports.missingInstalledSkills = missingInstalledSkills; exports.inferActiveSkillsScope = inferActiveSkillsScope; exports.detectSkillsAgents = detectSkillsAgents; exports.skillsStatePathForScope = skillsStatePathForScope; exports.buildSkillsPlan = buildSkillsPlan; exports.isSkillsPlanCurrent = isSkillsPlanCurrent; exports.runSkillsCommand = runSkillsCommand; exports.registerSkillsCommand = registerSkillsCommand;
677
+ exports.workspaceSkillRootsForAgents = workspaceSkillRootsForAgents; exports.deeplineGtmSkillRoots = deeplineGtmSkillRoots; exports.missingInstalledSkills = missingInstalledSkills; exports.inferActiveSkillsScope = inferActiveSkillsScope; exports.detectSkillsAgents = detectSkillsAgents; exports.skillsStatePathForScope = skillsStatePathForScope; exports.buildSkillsPlan = buildSkillsPlan; exports.isSkillsPlanCurrent = isSkillsPlanCurrent; exports.runSkillsCommand = runSkillsCommand; exports.registerSkillsCommand = registerSkillsCommand;
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
- var _chunkTVUE4CPWjs = require('./chunk-TVUE4CPW.js');
3
+ var _chunkCK5MA6S6js = require('./chunk-CK5MA6S6.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkB2JE3HD6js = require('./chunk-B2JE3HD6.js');
7
+ var _chunkY4GRL533js = require('./chunk-Y4GRL533.js');
8
8
 
9
9
  // src/plays/local-play-execution.ts
10
10
  function importedNodes(graph) {
@@ -137,9 +137,9 @@ async function pinLocalPlayImports(client, graph) {
137
137
 
138
138
  // src/plays/client.ts
139
139
  function createPlayClient(options) {
140
- const config = _chunkB2JE3HD6js.resolveConfig.call(void 0, options);
141
- return new (0, _chunkTVUE4CPWjs.PlayClient)(
142
- new (0, _chunkB2JE3HD6js.HttpClient)(config),
140
+ const config = _chunkY4GRL533js.resolveConfig.call(void 0, options);
141
+ return new (0, _chunkCK5MA6S6js.PlayClient)(
142
+ new (0, _chunkY4GRL533js.HttpClient)(config),
143
143
  _nullishCoalesce(config.environment, () => ( process.env))
144
144
  );
145
145
  }
@@ -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 _chunk3IBKEOL4js = require('./chunk-3IBKEOL4.js');
4
+ var _chunkHINVMRGQjs = require('./chunk-HINVMRGQ.js');
5
5
 
6
6
 
7
7
  var _chunkALJJRZNJjs = require('./chunk-ALJJRZNJ.js');
@@ -711,7 +711,7 @@ function readSkillsVersionFile(path) {
711
711
  }
712
712
  }
713
713
  function resolveAutoSyncSkillAgents() {
714
- switch (_chunk3IBKEOL4js.detectAgentRuntime.call(void 0, )) {
714
+ switch (_chunkHINVMRGQjs.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 _chunk3IBKEOL4js.HttpClient {
784
+ var HttpClient2 = class extends _chunkHINVMRGQjs.HttpClient {
785
785
  constructor(config) {
786
786
  super(config, readSdkSkillsLocalVersion);
787
787
  }
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkB2JE3HD6js = require('./chunk-B2JE3HD6.js');
5
+ var _chunkY4GRL533js = require('./chunk-Y4GRL533.js');
6
6
 
7
7
 
8
- var _chunk3IBKEOL4js = require('./chunk-3IBKEOL4.js');
8
+ var _chunkHINVMRGQjs = require('./chunk-HINVMRGQ.js');
9
9
 
10
10
 
11
11
 
@@ -20,8 +20,8 @@ var RUN_FIELDS = new Set(
20
20
  var ROOTS = {
21
21
  describe: "name playKey reference displayName description pinned toolCategories tags origin ownerType canEdit canClone aliases inputSchema outputSchema staticPipeline csvInput rowOutputSchema runCommand examples cloneEditStarter currentPublishedVersion liveVersion triggerStatus triggerMetadata isDraftDirty latestRunId runtimeLimit activeScheduledPlays dashboardUrl command_context",
22
22
  check: "kind target checked scope name exportName valid stage issues inputSchema outputSchema recognized triggers runtimeLimit limits featureFlags sourceHash artifactHash graphHash toolGetterHints exports actions diagnostics reference origin ownerType activeScheduledPlays command_context",
23
- run: "schemaVersion kind run datasets actions apiVersion rateLimited dashboardUrl progress rowOutcomes steps errors error warnings result resultState execution command_context diagnostics",
24
- get: "schemaVersion kind run dashboardUrl runStatus steps failures errorDetails rowOutcomes warnings failedLogs datasets result resultState actions diagnostics command_context",
23
+ run: "schemaVersion kind run datasets actions apiVersion rateLimited dashboardUrl runUrl progress rowOutcomes steps errors error warnings result resultState execution command_context diagnostics",
24
+ get: "schemaVersion kind run dashboardUrl runUrl runStatus steps failures errorDetails rowOutcomes warnings failedLogs datasets result resultState actions diagnostics command_context",
25
25
  config: "runId contract command_context",
26
26
  export: "runId datasets csv_path json_path format source rowCount columns notice metadata_path actions command_context"
27
27
  };
@@ -51,7 +51,7 @@ function parseJsonFields(args, surface) {
51
51
  );
52
52
  }
53
53
  if (parts[0] === "run" && parts[1] && !RUN_FIELDS.has(parts[1])) {
54
- const hint = parts[1] === "url" ? " Use run.dashboardUrl." : parts[1] === "stats" ? " Dataset summaries are in datasets; run timing is in run.durationMs." : "";
54
+ const hint = parts[1] === "url" ? " Use runUrl." : parts[1] === "stats" ? " Dataset summaries are in datasets; run timing is in run.durationMs." : "";
55
55
  throw new (0, _chunkDIAWYWT5js.DeeplineError)(
56
56
  `Unknown --json run field '${parts[1]}'. Available: ${[...RUN_FIELDS].join(", ")}.${hint}`,
57
57
  void 0,
@@ -290,8 +290,8 @@ var BROWSER_OPEN_COOLDOWN_MS = 3e4;
290
290
  var SAME_URL_BROWSER_OPEN_COOLDOWN_MS = 5 * 6e4;
291
291
  var defaultBrowserCommandRunner = childProcess;
292
292
  function getAuthedHttpClient() {
293
- const config = _chunkB2JE3HD6js.resolveConfig.call(void 0, );
294
- return { config, http: new (0, _chunkB2JE3HD6js.HttpClient)(config) };
293
+ const config = _chunkY4GRL533js.resolveConfig.call(void 0, );
294
+ return { config, http: new (0, _chunkY4GRL533js.HttpClient)(config) };
295
295
  }
296
296
  function stableOsUserId() {
297
297
  try {
@@ -631,7 +631,7 @@ function collectLocalEnvInfo() {
631
631
  os: `${process.platform} ${process.arch}`,
632
632
  node_version: process.version,
633
633
  home_dir: homeDir,
634
- agent_runtime: _chunk3IBKEOL4js.detectAgentRuntime.call(void 0, )
634
+ agent_runtime: _chunkHINVMRGQjs.detectAgentRuntime.call(void 0, )
635
635
  };
636
636
  const env = process.env;
637
637
  const optional = {
@@ -878,9 +878,9 @@ function markdownTableFromRows(rows, preferredColumns = []) {
878
878
  }
879
879
  function withAgentCommandContext(value) {
880
880
  const valueRecord = value !== null && typeof value === "object" && !Array.isArray(value) ? value : null;
881
- return _chunk3IBKEOL4js.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
881
+ return _chunkHINVMRGQjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
882
882
  ...valueRecord,
883
- command_context: _chunkB2JE3HD6js.resolveCliCommandContext.call(void 0, )
883
+ command_context: _chunkY4GRL533js.resolveCliCommandContext.call(void 0, )
884
884
  } : value;
885
885
  }
886
886
  function printJson(value, fields) {
@@ -6,7 +6,7 @@
6
6
 
7
7
 
8
8
 
9
- var _chunkO3K22ZC7js = require('./chunk-O3K22ZC7.js');
9
+ var _chunkAARXOBVDjs = require('./chunk-AARXOBVD.js');
10
10
  require('./chunk-COGTRVWW.js');
11
11
 
12
12
 
@@ -16,4 +16,4 @@ require('./chunk-COGTRVWW.js');
16
16
 
17
17
 
18
18
 
19
- exports.CLI_DOC_SURFACE = _chunkO3K22ZC7js.CLI_DOC_SURFACE; exports.COMMAND_DOCS = _chunkO3K22ZC7js.COMMAND_DOCS; exports.commandDocKey = _chunkO3K22ZC7js.commandDocKey; exports.helpDetailFromArgv = _chunkO3K22ZC7js.helpDetailFromArgv; exports.renderActionExplanation = _chunkO3K22ZC7js.renderActionExplanation; exports.renderCommandExplanation = _chunkO3K22ZC7js.renderCommandExplanation; exports.renderDocText = _chunkO3K22ZC7js.renderDocText;
19
+ exports.CLI_DOC_SURFACE = _chunkAARXOBVDjs.CLI_DOC_SURFACE; exports.COMMAND_DOCS = _chunkAARXOBVDjs.COMMAND_DOCS; exports.commandDocKey = _chunkAARXOBVDjs.commandDocKey; exports.helpDetailFromArgv = _chunkAARXOBVDjs.helpDetailFromArgv; exports.renderActionExplanation = _chunkAARXOBVDjs.renderActionExplanation; exports.renderCommandExplanation = _chunkAARXOBVDjs.renderCommandExplanation; exports.renderDocText = _chunkAARXOBVDjs.renderDocText;
@@ -6,7 +6,7 @@ import {
6
6
  renderActionExplanation,
7
7
  renderCommandExplanation,
8
8
  renderDocText
9
- } from "./chunk-A7ZMG2QZ.mjs";
9
+ } from "./chunk-H46X7YDU.mjs";
10
10
  import "./chunk-KRD6H754.mjs";
11
11
  export {
12
12
  CLI_DOC_SURFACE,