deepline 0.3.502 → 0.3.503

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 (204) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +26 -0
  2. package/dist/bundling-sources/sdk/src/index.ts +1 -0
  3. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  4. package/dist/bundling-sources/sdk/src/types.ts +9 -0
  5. package/dist/bundling-sources/shared_libs/monitors/starter-templates.ts +0 -8
  6. package/dist/bundling-sources/shared_libs/observability/dlq.ts +174 -0
  7. package/dist/bundling-sources/shared_libs/observability/queue-health.ts +9 -0
  8. package/dist/bundling-sources/shared_libs/observability/queue-item-connectors.ts +1 -0
  9. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +18 -0
  10. package/dist/bundling-sources/shared_libs/play-runtime/activity-observation.ts +20 -0
  11. package/dist/bundling-sources/shared_libs/play-runtime/app-runtime-api.ts +62 -2
  12. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +667 -62
  13. package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +55 -0
  14. package/dist/bundling-sources/shared_libs/play-runtime/durable-receipt-execution.ts +20 -2
  15. package/dist/bundling-sources/shared_libs/play-runtime/durable-runs-rollout.ts +46 -0
  16. package/dist/bundling-sources/shared_libs/play-runtime/execution-gateway-invocation-fence.ts +80 -4
  17. package/dist/bundling-sources/shared_libs/play-runtime/fixture-egress-fetch.ts +95 -0
  18. package/dist/bundling-sources/shared_libs/play-runtime/freshness-receipt-execution.ts +292 -45
  19. package/dist/bundling-sources/shared_libs/play-runtime/internal-bootstrap-token.ts +15 -0
  20. package/dist/bundling-sources/shared_libs/play-runtime/launch-identity.ts +3 -0
  21. package/dist/bundling-sources/shared_libs/play-runtime/play-http-request.ts +7 -3
  22. package/dist/bundling-sources/shared_libs/play-runtime/play-runtime-semantics.ts +31 -1
  23. package/dist/bundling-sources/shared_libs/play-runtime/post-code-recovery-policy.ts +231 -0
  24. package/dist/bundling-sources/shared_libs/play-runtime/protocol.ts +4 -0
  25. package/dist/bundling-sources/shared_libs/play-runtime/run-ending-event.ts +55 -0
  26. package/dist/bundling-sources/shared_libs/play-runtime/run-ledger.ts +126 -0
  27. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +38 -1
  28. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-launch-transport.ts +2 -9
  29. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-lifecycle.ts +51 -19
  30. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/local-process.ts +9 -4
  31. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +2 -0
  32. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/runtime-sandbox-reconciliation.ts +2 -0
  33. package/dist/bundling-sources/shared_libs/play-runtime/runtime-actions.ts +12 -1
  34. package/dist/bundling-sources/shared_libs/play-runtime/runtime-authority.ts +3 -0
  35. package/dist/bundling-sources/shared_libs/play-runtime/runtime-incident-drills.ts +42 -0
  36. package/dist/bundling-sources/shared_libs/play-runtime/runtime-operation-contract.ts +7 -0
  37. package/dist/bundling-sources/shared_libs/play-runtime/runtime-receipt-store-adapter.ts +26 -1
  38. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backend.ts +13 -0
  39. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-deadline-reconciliation.ts +53 -0
  40. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +631 -19
  41. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/durable-run-inventory.ts +719 -0
  42. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/durable-run-sql.ts +206 -0
  43. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/latest-cache-result.ts +83 -0
  44. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +1432 -157
  45. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/receipt-gateway.ts +61 -0
  46. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-event-search.ts +29 -8
  47. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-queue-health.ts +27 -2
  48. package/dist/bundling-sources/shared_libs/play-runtime/test-runtime-seams.ts +45 -0
  49. package/dist/bundling-sources/shared_libs/play-runtime/tool-cache-policy.ts +18 -0
  50. package/dist/bundling-sources/shared_libs/play-runtime/tool-execute-retry-policy.ts +129 -14
  51. package/dist/bundling-sources/shared_libs/play-runtime/workflow-executor-auth.ts +2 -0
  52. package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +10 -1
  53. package/dist/cli/{auth-EFHLOVG4.mjs → auth-IC4WLSE3.mjs} +5 -5
  54. package/dist/cli/auth-ZCMSXZO4.js +43 -0
  55. package/dist/cli/{billing-Q5XKEYPP.mjs → billing-2VOV64SD.mjs} +6 -6
  56. package/dist/cli/{billing-SKT2VE34.js → billing-LWQOII22.js} +79 -79
  57. package/dist/cli/{chunk-TAK3MVXY.js → chunk-2626LTU3.js} +284 -267
  58. package/dist/cli/{chunk-OEUMXKR5.js → chunk-26RSSTCF.js} +26 -26
  59. package/dist/cli/{chunk-JFBJLNBI.js → chunk-2K2QBLYO.js} +53 -53
  60. package/dist/cli/{chunk-32YQBJON.js → chunk-33JUK73X.js} +7 -7
  61. package/dist/cli/{chunk-X5MGQ7UT.js → chunk-3CXHK4TW.js} +10 -10
  62. package/dist/cli/{chunk-YPTZJ7LO.js → chunk-4IIYSBEP.js} +70 -13
  63. package/dist/cli/{chunk-HIVRCTDR.mjs → chunk-5GI6NKOE.mjs} +20 -1
  64. package/dist/cli/{chunk-TFFJ2PRN.mjs → chunk-5M5WSFRZ.mjs} +70 -13
  65. package/dist/cli/{chunk-4CCMD7QM.mjs → chunk-6XTE6C3W.mjs} +32 -15
  66. package/dist/cli/{chunk-OFBLT2LQ.mjs → chunk-7HEDCIR3.mjs} +1 -1
  67. package/dist/cli/{chunk-DRBD4IYQ.mjs → chunk-7MJYZ33I.mjs} +2 -6
  68. package/dist/cli/{chunk-JL6H4H3G.js → chunk-A2C6ONWA.js} +6 -6
  69. package/dist/cli/{chunk-DKAMCJIT.js → chunk-AARF4SOW.js} +17 -13
  70. package/dist/cli/{chunk-QNELA7SX.js → chunk-B3X4YWQ6.js} +53 -53
  71. package/dist/cli/{chunk-NZXB27TP.mjs → chunk-BI2Q45SY.mjs} +4 -4
  72. package/dist/cli/{chunk-FVM4PS5Q.js → chunk-BN5VKY4X.js} +25 -12
  73. package/dist/cli/{chunk-UOANF3DR.js → chunk-C5RQTTLP.js} +26 -7
  74. package/dist/cli/{chunk-YWOQYYYS.mjs → chunk-D27HP3HS.mjs} +2 -2
  75. package/dist/cli/{chunk-NXVYLX3F.mjs → chunk-DPI5OYVU.mjs} +10 -6
  76. package/dist/cli/{chunk-R5F7JXT4.mjs → chunk-EDMV4JT5.mjs} +2 -2
  77. package/dist/cli/{chunk-MYUISF3P.mjs → chunk-EQ3WMKFY.mjs} +5 -5
  78. package/dist/cli/{chunk-YDXEXVBV.js → chunk-F73PD2XD.js} +7 -7
  79. package/dist/cli/{chunk-L5CTJY74.mjs → chunk-FHJ54BHH.mjs} +2 -2
  80. package/dist/cli/{chunk-EUWRKWT4.js → chunk-FIUTDSJX.js} +5 -4
  81. package/dist/cli/{chunk-WKFAX2K7.js → chunk-FVDTERO2.js} +21 -21
  82. package/dist/cli/{chunk-Q3NM6ZL3.js → chunk-FZHOWPSN.js} +23 -21
  83. package/dist/cli/{chunk-NKLM4J4X.mjs → chunk-GIHNEYBG.mjs} +1 -1
  84. package/dist/cli/{chunk-7ZYSXSJJ.mjs → chunk-GLZBFBJS.mjs} +5 -5
  85. package/dist/cli/{chunk-DYHTXGLX.js → chunk-HRTDCXHI.js} +2 -2
  86. package/dist/cli/{chunk-JLYDLK6X.js → chunk-HS63YBT5.js} +3 -3
  87. package/dist/cli/{chunk-LA3UYRVZ.js → chunk-IIP46RVC.js} +1 -1
  88. package/dist/cli/{chunk-SAW3FBCA.mjs → chunk-ITJ7NB2D.mjs} +6 -0
  89. package/dist/cli/{chunk-54QXWK3C.mjs → chunk-J6RBOLK7.mjs} +1 -1
  90. package/dist/cli/{chunk-YL2CCF6T.mjs → chunk-JJVN7OIX.mjs} +4 -4
  91. package/dist/cli/{chunk-4WTC5SSN.mjs → chunk-JPDD4Y53.mjs} +10 -8
  92. package/dist/cli/{chunk-HMZF2CSP.mjs → chunk-K7NFFQFU.mjs} +2 -2
  93. package/dist/cli/{chunk-2MVIS2UI.mjs → chunk-KGLVATEB.mjs} +2 -2
  94. package/dist/cli/{chunk-3MJSWVQ2.mjs → chunk-KPBBT6OS.mjs} +2 -1
  95. package/dist/cli/{chunk-W5CHE5Q2.mjs → chunk-L3TZV625.mjs} +1 -1
  96. package/dist/cli/{chunk-GINKIZ7S.js → chunk-MJQOG4TZ.js} +16 -16
  97. package/dist/cli/{chunk-JO5FFSR7.js → chunk-NTLBZUHD.js} +6 -0
  98. package/dist/cli/{chunk-QOJBRCAS.js → chunk-PVA3MWCO.js} +3 -3
  99. package/dist/cli/{chunk-OVZOMSH2.js → chunk-QIEYEY6Z.js} +8 -8
  100. package/dist/cli/{chunk-JFUXUSKB.mjs → chunk-R2VZVHJP.mjs} +15 -2
  101. package/dist/cli/{chunk-2S2F6YSI.js → chunk-RVOBFO7C.js} +41 -41
  102. package/dist/cli/{chunk-XMKUJ44Z.js → chunk-TCQYWZFS.js} +5 -5
  103. package/dist/cli/{chunk-FWDAEWCD.js → chunk-TMQUMILM.js} +19 -23
  104. package/dist/cli/{chunk-3KEZVGGV.mjs → chunk-URZNSJE2.mjs} +4 -4
  105. package/dist/cli/{chunk-MP5QY4A2.mjs → chunk-VC5B462T.mjs} +2 -2
  106. package/dist/cli/{chunk-IL666WJE.js → chunk-WHP3FJ7T.js} +5 -5
  107. package/dist/cli/{chunk-ZNB6GR3P.mjs → chunk-WS274KID.mjs} +1 -1
  108. package/dist/cli/{chunk-Z2H7OQ6E.mjs → chunk-XYZZZLN6.mjs} +2 -2
  109. package/dist/cli/{chunk-AJL2Q6IQ.js → chunk-YXGPMTAK.js} +2 -2
  110. package/dist/cli/{chunk-2JS3H6H6.mjs → chunk-ZEQPCEV4.mjs} +3 -3
  111. package/dist/cli/command-docs.js +2 -2
  112. package/dist/cli/command-docs.mjs +1 -1
  113. package/dist/cli/{csv-6AEPKKCO.mjs → csv-2TXOI3UE.mjs} +4 -4
  114. package/dist/cli/{csv-OXGSCV75.js → csv-NEWCNOSZ.js} +13 -13
  115. package/dist/cli/{db-6NVHDUZY.js → db-J3IJS4OG.js} +27 -27
  116. package/dist/cli/{db-K3KRK4CZ.mjs → db-PX7EQEIG.mjs} +6 -6
  117. package/dist/cli/{describe-P3ZJS7TQ.mjs → describe-GQHGTZSL.mjs} +20 -20
  118. package/dist/cli/describe-LE7EZCL4.js +49 -0
  119. package/dist/cli/describe-core.d.mts +8 -4
  120. package/dist/cli/describe-core.d.ts +8 -4
  121. package/dist/cli/describe-core.js +4 -4
  122. package/dist/cli/describe-core.mjs +3 -3
  123. package/dist/cli/{executions-I7XW6WWK.mjs → executions-FFKK24RY.mjs} +6 -6
  124. package/dist/cli/{executions-2C2FFG52.js → executions-RO3TJUXL.js} +8 -8
  125. package/dist/cli/{feedback-47B57A5Y.js → feedback-XRR4HIS6.js} +8 -8
  126. package/dist/cli/{feedback-RSTNBJAI.mjs → feedback-ZTO56SRL.mjs} +4 -4
  127. package/dist/cli/git-26AH4XIO.js +25 -0
  128. package/dist/cli/{git-3G5AFKBT.mjs → git-FIPBVFYZ.mjs} +5 -5
  129. package/dist/cli/index.js +142 -142
  130. package/dist/cli/index.mjs +42 -42
  131. package/dist/cli/{legacy-noops-NQ262TKL.mjs → legacy-noops-AMD2NWHF.mjs} +5 -5
  132. package/dist/cli/{legacy-noops-P665PBG4.js → legacy-noops-MTBBGM27.js} +8 -8
  133. package/dist/cli/{monitors-KUPZODZS.mjs → monitors-24LDKDJX.mjs} +7 -7
  134. package/dist/cli/{monitors-IPWAD7LS.js → monitors-42PIGLBF.js} +95 -95
  135. package/dist/cli/{org-ZCQGEM3L.mjs → org-4B7SCFRL.mjs} +6 -6
  136. package/dist/cli/{org-WFC3N672.js → org-GQMCA3MN.js} +72 -72
  137. package/dist/cli/{pages-VE66IU7B.mjs → pages-PD5EGL2R.mjs} +6 -6
  138. package/dist/cli/{pages-N5BNC67L.js → pages-RL2M62GJ.js} +18 -18
  139. package/dist/cli/{play-EIMDIAJB.mjs → play-5V54VTUR.mjs} +132 -26
  140. package/dist/cli/{play-NKIRJSKX.js → play-FST6ZAHW.js} +447 -341
  141. package/dist/cli/{providers-XU3AGY2F.js → providers-HBUUPN7J.js} +9 -9
  142. package/dist/cli/{providers-KDTJ63ED.mjs → providers-N5YVCKPL.mjs} +6 -6
  143. package/dist/cli/{quickstart-OSCHOSXU.js → quickstart-4QIQNSHG.js} +6 -6
  144. package/dist/cli/{quickstart-TXFXUODF.mjs → quickstart-NJDDVTQR.mjs} +4 -4
  145. package/dist/cli/{run-ET2KVTPK.js → run-FGOKCG4J.js} +44 -44
  146. package/dist/cli/{run-ODGML35U.mjs → run-JHI5MTHD.mjs} +25 -25
  147. package/dist/cli/search-CTKSEVSO.js +32 -0
  148. package/dist/cli/{search-DK67K6PR.mjs → search-EWIZBIY2.mjs} +7 -7
  149. package/dist/cli/{search-output-6SOKQTCW.mjs → search-output-NAK3MWBH.mjs} +5 -5
  150. package/dist/cli/{search-output-KXP4FA62.js → search-output-TMQTRC2W.js} +7 -7
  151. package/dist/cli/{secrets-WPS6NMNK.js → secrets-5TSUEOJB.js} +15 -15
  152. package/dist/cli/{secrets-C6SYTMU7.mjs → secrets-ONQVW5SR.mjs} +6 -6
  153. package/dist/cli/{sessions-PXVOH34X.mjs → sessions-B7F5O3ZR.mjs} +5 -5
  154. package/dist/cli/{sessions-IP562J5Z.js → sessions-BSGE5EET.js} +6 -6
  155. package/dist/cli/{settings-SUDUIVMY.js → settings-47LARBRU.js} +78 -78
  156. package/dist/cli/{settings-FBUQGYVJ.mjs → settings-SGGFQV5R.mjs} +11 -11
  157. package/dist/cli/{setup-JSIMTR73.mjs → setup-ATGNXQUK.mjs} +9 -9
  158. package/dist/cli/{setup-I5H6IOEY.js → setup-BNFZFXO6.js} +49 -49
  159. package/dist/cli/skills-6RD25MVM.js +36 -0
  160. package/dist/cli/{skills-FJQ3LX6N.mjs → skills-CIMBRM5R.mjs} +7 -7
  161. package/dist/cli/{tools-IGBK4BVE.mjs → tools-DTDXAULX.mjs} +18 -18
  162. package/dist/cli/tools-TDZH4XHS.js +56 -0
  163. package/dist/cli/{update-7MTT6F5K.mjs → update-EOIJBJCO.mjs} +9 -9
  164. package/dist/cli/update-Y32VT4VL.js +34 -0
  165. package/dist/cli/{workflow-PM2J2OU3.mjs → workflow-IWXUJPWY.mjs} +7 -7
  166. package/dist/cli/{workflow-UX3ZX6BQ.js → workflow-V5VKPICQ.js} +17 -17
  167. package/dist/{client-Bn8FwKGO.d.ts → client-CIwenMFS.d.ts} +1 -1
  168. package/dist/{client-CfNRmjLK.d.mts → client-DYAfJpaN.d.mts} +1 -1
  169. package/dist/{client-core-B91EV0WS.d.ts → client-core-CRjtyMAI.d.ts} +25 -2
  170. package/dist/{client-core-BG8Cgrmk.d.mts → client-core-DlzP8vEs.d.mts} +25 -2
  171. package/dist/{compiler-manifest-DlXDyndN.d.mts → compiler-manifest-DaJrA2KV.d.mts} +1 -1
  172. package/dist/{compiler-manifest-DlXDyndN.d.ts → compiler-manifest-DaJrA2KV.d.ts} +1 -1
  173. package/dist/{errors-BtriA2ld.d.mts → errors-BKnSYueU.d.mts} +1 -1
  174. package/dist/{errors-DmcLykM7.d.ts → errors-KLga4bLr.d.ts} +1 -1
  175. package/dist/{index-DI0sR_fX.d.mts → index-C-8AFpWy.d.mts} +1 -1
  176. package/dist/{index--Jw-slHY.d.ts → index-C5nAZ-VS.d.ts} +1 -1
  177. package/dist/index.d.mts +7 -7
  178. package/dist/index.d.ts +7 -7
  179. package/dist/index.js +9 -9
  180. package/dist/index.mjs +6 -6
  181. package/dist/install-integrity.json +123 -116
  182. package/dist/plays/bundle-play-file.d.mts +3 -3
  183. package/dist/plays/bundle-play-file.d.ts +3 -3
  184. package/dist/plays/bundle-play-file.mjs +8 -1
  185. package/dist/plays/play-description.d.mts +2 -2
  186. package/dist/plays/play-description.d.ts +2 -2
  187. package/dist/plays/run-request.d.mts +2 -2
  188. package/dist/plays/run-request.d.ts +2 -2
  189. package/dist/release.d.mts +1 -1
  190. package/dist/release.d.ts +1 -1
  191. package/dist/release.js +2 -2
  192. package/dist/release.mjs +1 -1
  193. package/dist/server.d.mts +4 -4
  194. package/dist/server.d.ts +4 -4
  195. package/dist/server.js +5 -5
  196. package/dist/server.mjs +3 -3
  197. package/package.json +1 -1
  198. package/dist/cli/auth-VM3IKP5F.js +0 -43
  199. package/dist/cli/describe-JOUAXXPE.js +0 -49
  200. package/dist/cli/git-OPKIC6JQ.js +0 -25
  201. package/dist/cli/search-6U54Y3OK.js +0 -32
  202. package/dist/cli/skills-VHININXC.js +0 -36
  203. package/dist/cli/tools-XMBMHVKF.js +0 -56
  204. package/dist/cli/update-H7JVW43I.js +0 -34
@@ -11,20 +11,20 @@
11
11
 
12
12
 
13
13
 
14
- var _chunkQNELA7SXjs = require('./chunk-QNELA7SX.js');
14
+ var _chunkB3X4YWQ6js = require('./chunk-B3X4YWQ6.js');
15
15
 
16
16
 
17
- var _chunkYDXEXVBVjs = require('./chunk-YDXEXVBV.js');
17
+ var _chunkF73PD2XDjs = require('./chunk-F73PD2XD.js');
18
18
 
19
19
 
20
20
 
21
21
 
22
22
 
23
- var _chunkJLYDLK6Xjs = require('./chunk-JLYDLK6X.js');
23
+ var _chunkHS63YBT5js = require('./chunk-HS63YBT5.js');
24
24
 
25
25
 
26
26
 
27
- var _chunkEUWRKWT4js = require('./chunk-EUWRKWT4.js');
27
+ var _chunkFIUTDSJXjs = require('./chunk-FIUTDSJX.js');
28
28
 
29
29
 
30
30
  var _chunkRLX5ZFNXjs = require('./chunk-RLX5ZFNX.js');
@@ -145,7 +145,7 @@ function inferActiveSkillsScope(entrypoint = _nullishCoalesce(process.argv[1], (
145
145
  return /[\\/]\.deepline[\\/]runtime[\\/]/.test(entrypoint) ? "local" : "global";
146
146
  }
147
147
  function resolveLocalRoot() {
148
- const target = _chunkJLYDLK6Xjs.resolveProjectPinTarget.call(void 0, );
148
+ const target = _chunkHS63YBT5js.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, () => ( _chunkEUWRKWT4js.detectAgentRuntime.call(void 0, )));
159
+ const runtime = _nullishCoalesce(input.runtime, () => ( _chunkFIUTDSJXjs.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, _chunkJLYDLK6Xjs.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, _chunkHS63YBT5js.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 = [..._chunkQNELA7SXjs.LEGACY_SKILL_NAMES_TO_REMOVE].sort(
178
+ const legacyNames = [..._chunkB3X4YWQ6js.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=${_chunkQNELA7SXjs.SKILLS_NPX_PACKAGE}`,
192
+ `--package=${_chunkB3X4YWQ6js.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=${_chunkQNELA7SXjs.SKILLS_NPX_PACKAGE}`,
208
+ `--package=${_chunkB3X4YWQ6js.SKILLS_NPX_PACKAGE}`,
209
209
  "--",
210
210
  "skills",
211
211
  "add",
212
- _chunkQNELA7SXjs.skillsSourceUrl.call(void 0, input.baseUrl),
212
+ _chunkB3X4YWQ6js.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 = _chunkQNELA7SXjs.resolveShellSpawn.call(void 0,
249
+ const plan = _chunkB3X4YWQ6js.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
- `${_chunkQNELA7SXjs.SKILLS_NPX_PACKAGE} timed out after ${SKILLS_PROCESS_TIMEOUT_MS}ms.`
271
+ `${_chunkB3X4YWQ6js.SKILLS_NPX_PACKAGE} timed out after ${SKILLS_PROCESS_TIMEOUT_MS}ms.`
272
272
  )
273
273
  );
274
274
  }, SKILLS_PROCESS_TIMEOUT_MS);
@@ -279,7 +279,7 @@ function runProcess(command, args, cwd) {
279
279
  child.once("close", (code) => {
280
280
  clearTimeout(timeout);
281
281
  if (code && stderr.trim()) {
282
- process.stderr.write(`${_chunkQNELA7SXjs.SKILLS_NPX_PACKAGE} exited ${code}.
282
+ process.stderr.write(`${_chunkB3X4YWQ6js.SKILLS_NPX_PACKAGE} exited ${code}.
283
283
  `);
284
284
  }
285
285
  resolve(_nullishCoalesce(code, () => ( 1)));
@@ -287,7 +287,7 @@ function runProcess(command, args, cwd) {
287
287
  });
288
288
  }
289
289
  async function showSkills(options, name) {
290
- const baseUrl = _chunkJLYDLK6Xjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
290
+ const baseUrl = _chunkHS63YBT5js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
291
291
  const url = name ? `${baseUrl}/.well-known/skills/${encodeURIComponent(name)}/SKILL.md` : `${baseUrl}/.well-known/skills/index.json`;
292
292
  try {
293
293
  const response = await fetch(url, {
@@ -300,7 +300,7 @@ async function showSkills(options, name) {
300
300
  }
301
301
  if (name) {
302
302
  const markdown = await response.text();
303
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
303
+ _chunkF73PD2XDjs.printCommandEnvelope.call(void 0,
304
304
  { ok: true, status: "completed", skill: { name, markdown } },
305
305
  { json: options.json, text: markdown }
306
306
  );
@@ -310,7 +310,7 @@ async function showSkills(options, name) {
310
310
  const skills = (_nullishCoalesce(index.skills, () => ( []))).filter(
311
311
  (skill) => skill.install_surface === "v1" && skill.name
312
312
  );
313
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
313
+ _chunkF73PD2XDjs.printCommandEnvelope.call(void 0,
314
314
  {
315
315
  ok: true,
316
316
  status: "completed",
@@ -327,7 +327,7 @@ Read one with: deepline skills show <name>
327
327
  );
328
328
  return 0;
329
329
  } catch (error) {
330
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
330
+ _chunkF73PD2XDjs.printCommandEnvelope.call(void 0,
331
331
  {
332
332
  ok: false,
333
333
  status: "failed",
@@ -350,7 +350,7 @@ async function runSkillsCommand(options, dependencies = {}) {
350
350
  scope = normalizeScope(options.scope);
351
351
  root = scope === "local" ? resolveLocalRoot() : null;
352
352
  } catch (error) {
353
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
353
+ _chunkF73PD2XDjs.printCommandEnvelope.call(void 0,
354
354
  {
355
355
  ok: false,
356
356
  status: "failed",
@@ -362,22 +362,22 @@ async function runSkillsCommand(options, dependencies = {}) {
362
362
  );
363
363
  return 2;
364
364
  }
365
- const baseUrl = _chunkJLYDLK6Xjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
365
+ const baseUrl = _chunkHS63YBT5js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
366
366
  const catalog = {
367
- skillNames: [..._chunkQNELA7SXjs.DEFAULT_SDK_SKILL_NAMES],
368
- version: _chunkEUWRKWT4js.SDK_VERSION
367
+ skillNames: [..._chunkB3X4YWQ6js.DEFAULT_SDK_SKILL_NAMES],
368
+ version: _chunkFIUTDSJXjs.SDK_VERSION
369
369
  };
370
370
  const agents = options.agent ? [options.agent] : detectSkillsAgents({ scope, root });
371
371
  const plan = buildSkillsPlan({ baseUrl, scope, root, agents, ...catalog });
372
372
  if (options.dryRun) {
373
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
373
+ _chunkF73PD2XDjs.printCommandEnvelope.call(void 0,
374
374
  { ok: true, status: "planned", dryRun: true, ...plan },
375
375
  { json: options.json }
376
376
  );
377
377
  return 0;
378
378
  }
379
- if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !_chunkQNELA7SXjs.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
380
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
379
+ if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !_chunkB3X4YWQ6js.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
380
+ _chunkF73PD2XDjs.printCommandEnvelope.call(void 0,
381
381
  {
382
382
  ok: true,
383
383
  status: "current",
@@ -409,10 +409,10 @@ async function runSkillsCommand(options, dependencies = {}) {
409
409
  }
410
410
  if (scope === "local" && root) {
411
411
  const managedNames = [
412
- .../* @__PURE__ */ new Set([...plan.skillNames, ..._chunkQNELA7SXjs.LEGACY_SKILL_NAMES_TO_REMOVE])
412
+ .../* @__PURE__ */ new Set([...plan.skillNames, ..._chunkB3X4YWQ6js.LEGACY_SKILL_NAMES_TO_REMOVE])
413
413
  ];
414
414
  const agentRoots = workspaceSkillRootsForAgents(plan.agents);
415
- _chunkJLYDLK6Xjs.ensureProjectPrivatePathsIgnored.call(void 0, root, [
415
+ _chunkHS63YBT5js.ensureProjectPrivatePathsIgnored.call(void 0, root, [
416
416
  ".deepline/",
417
417
  ...agentRoots.flatMap(
418
418
  (agentRoot) => managedNames.map((name) => `${agentRoot}/skills/${name}/`)
@@ -421,7 +421,7 @@ async function runSkillsCommand(options, dependencies = {}) {
421
421
  }
422
422
  let lease;
423
423
  try {
424
- lease = scope === "global" ? await _chunkQNELA7SXjs.acquireSkillsInstallLease.call(void 0, baseUrl, agents, plan.version, {
424
+ lease = scope === "global" ? await _chunkB3X4YWQ6js.acquireSkillsInstallLease.call(void 0, baseUrl, agents, plan.version, {
425
425
  waitMs: _nullishCoalesce(dependencies.installLeaseWaitMs, () => ( SKILLS_INSTALL_LEASE_WAIT_MS)),
426
426
  onWait: () => process.stderr.write(
427
427
  "Waiting for a background Deepline skills refresh to finish...\n"
@@ -429,8 +429,8 @@ async function runSkillsCommand(options, dependencies = {}) {
429
429
  }) : { release: () => {
430
430
  } };
431
431
  } catch (error) {
432
- if (!(error instanceof _chunkQNELA7SXjs.SkillsStateUnavailableError)) throw error;
433
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
432
+ if (!(error instanceof _chunkB3X4YWQ6js.SkillsStateUnavailableError)) throw error;
433
+ _chunkF73PD2XDjs.printCommandEnvelope.call(void 0,
434
434
  {
435
435
  ok: false,
436
436
  status: "failed",
@@ -446,7 +446,7 @@ async function runSkillsCommand(options, dependencies = {}) {
446
446
  return 5;
447
447
  }
448
448
  if (!lease) {
449
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
449
+ _chunkF73PD2XDjs.printCommandEnvelope.call(void 0,
450
450
  {
451
451
  ok: false,
452
452
  status: "failed",
@@ -455,7 +455,7 @@ async function runSkillsCommand(options, dependencies = {}) {
455
455
  scope,
456
456
  agents,
457
457
  message: "A background Deepline skills refresh is still running for these agents.",
458
- next: `Retry in a moment: deepline skills install --scope ${scope}. If no refresh is running, remove ${_chunkQNELA7SXjs.skillsInstallLeasePath.call(void 0, baseUrl, agents)}`
458
+ next: `Retry in a moment: deepline skills install --scope ${scope}. If no refresh is running, remove ${_chunkB3X4YWQ6js.skillsInstallLeasePath.call(void 0, baseUrl, agents)}`
459
459
  },
460
460
  { json: options.json }
461
461
  );
@@ -504,7 +504,7 @@ async function runSkillsInstallWithLease(input) {
504
504
  }
505
505
  }
506
506
  } catch (error) {
507
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
507
+ _chunkF73PD2XDjs.printCommandEnvelope.call(void 0,
508
508
  {
509
509
  ok: false,
510
510
  status: "failed",
@@ -520,7 +520,7 @@ async function runSkillsInstallWithLease(input) {
520
520
  return 5;
521
521
  }
522
522
  if (missing.length > 0) {
523
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
523
+ _chunkF73PD2XDjs.printCommandEnvelope.call(void 0,
524
524
  {
525
525
  ok: false,
526
526
  status: "failed",
@@ -560,7 +560,7 @@ async function runSkillsInstallWithLease(input) {
560
560
  {
561
561
  schemaVersion: 1,
562
562
  installedAt: (/* @__PURE__ */ new Date()).toISOString(),
563
- cliVersion: _chunkEUWRKWT4js.SDK_VERSION,
563
+ cliVersion: _chunkFIUTDSJXjs.SDK_VERSION,
564
564
  scope,
565
565
  agents,
566
566
  skillsVersion: plan.version,
@@ -573,9 +573,9 @@ async function runSkillsInstallWithLease(input) {
573
573
  "utf8"
574
574
  );
575
575
  if (scope === "global") {
576
- _chunkQNELA7SXjs.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
576
+ _chunkB3X4YWQ6js.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
577
577
  }
578
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
578
+ _chunkF73PD2XDjs.printCommandEnvelope.call(void 0,
579
579
  {
580
580
  ok: true,
581
581
  status: "complete",
@@ -624,7 +624,7 @@ Examples:
624
624
  "after",
625
625
  `
626
626
  Notes:
627
- This command reinstalls current Deepline-managed skills using ${_chunkQNELA7SXjs.SKILLS_NPX_PACKAGE},
627
+ This command reinstalls current Deepline-managed skills using ${_chunkB3X4YWQ6js.SKILLS_NPX_PACKAGE},
628
628
  then removes legacy Deepline skill names. Local scope writes into the resolved
629
629
  persistent project.
630
630
 
@@ -636,13 +636,13 @@ Examples:
636
636
  ).action(async (options) => {
637
637
  process.exitCode = await runSkillsCommand(options);
638
638
  });
639
- program.command(_chunkQNELA7SXjs.SKILLS_AUTO_SYNC_COMMAND, { hidden: true }).description("Refresh Deepline agent skills in the background.").option(
639
+ program.command(_chunkB3X4YWQ6js.SKILLS_AUTO_SYNC_COMMAND, { hidden: true }).description("Refresh Deepline agent skills in the background.").option(
640
640
  "--claim <token>",
641
641
  "Owner token of the leases this child was started for."
642
642
  ).action(async (options) => {
643
643
  const claim = _optionalChain([options, 'access', _9 => _9.claim, 'optionalAccess', _10 => _10.trim, 'call', _11 => _11()]);
644
644
  if (!claim) {
645
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
645
+ _chunkF73PD2XDjs.printCommandEnvelope.call(void 0,
646
646
  {
647
647
  ok: false,
648
648
  status: "failed",
@@ -655,7 +655,7 @@ Examples:
655
655
  process.exitCode = 2;
656
656
  return;
657
657
  }
658
- await _chunkQNELA7SXjs.syncSdkSkillsIfNeeded.call(void 0, _chunkJLYDLK6Xjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
658
+ await _chunkB3X4YWQ6js.syncSdkSkillsIfNeeded.call(void 0, _chunkHS63YBT5js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
659
659
  mode: "inline",
660
660
  notices: "defer",
661
661
  claim
@@ -1,16 +1,16 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkUOANF3DRjs = require('./chunk-UOANF3DR.js');
3
+ var _chunkC5RQTTLPjs = require('./chunk-C5RQTTLP.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkJLYDLK6Xjs = require('./chunk-JLYDLK6X.js');
7
+ var _chunkHS63YBT5js = require('./chunk-HS63YBT5.js');
8
8
 
9
9
  // src/client.ts
10
- var DeeplineClient2 = class extends _chunkUOANF3DRjs.DeeplineClient {
10
+ var DeeplineClient2 = class extends _chunkC5RQTTLPjs.DeeplineClient {
11
11
  constructor(options) {
12
- const config = _chunkJLYDLK6Xjs.resolveConfig.call(void 0, options);
13
- super(config, new (0, _chunkJLYDLK6Xjs.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
12
+ const config = _chunkHS63YBT5js.resolveConfig.call(void 0, options);
13
+ super(config, new (0, _chunkHS63YBT5js.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
14
14
  }
15
15
  };
16
16
 
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkFVM4PS5Qjs = require('./chunk-FVM4PS5Q.js');
6
+ var _chunkBN5VKY4Xjs = require('./chunk-BN5VKY4X.js');
7
7
 
8
8
 
9
9
 
@@ -13,7 +13,7 @@ var _chunkFVM4PS5Qjs = require('./chunk-FVM4PS5Q.js');
13
13
 
14
14
 
15
15
 
16
- var _chunkJO5FFSR7js = require('./chunk-JO5FFSR7.js');
16
+ var _chunkNTLBZUHDjs = require('./chunk-NTLBZUHD.js');
17
17
 
18
18
 
19
19
  var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
@@ -31,13 +31,13 @@ var VIEWS = {
31
31
  details: model,
32
32
  lines: [
33
33
  ...unlisted,
34
- ..._chunkFVM4PS5Qjs.formatModelDescription.call(void 0, model).trimEnd().split("\n")
34
+ ..._chunkBN5VKY4Xjs.formatModelDescription.call(void 0, model).trimEnd().split("\n")
35
35
  ]
36
36
  };
37
37
  },
38
38
  byok: async (_value, tool) => ({
39
39
  details: _nullishCoalesce(tool.byok, () => ( {})),
40
- lines: _chunkJO5FFSR7js.byokLines.call(void 0, _nullishCoalesce(tool.byok, () => ( {})))
40
+ lines: _chunkNTLBZUHDjs.byokLines.call(void 0, _nullishCoalesce(tool.byok, () => ( {})))
41
41
  })
42
42
  };
43
43
  var isFeatureView = (value) => typeof value === "string" && Object.hasOwn(VIEWS, value);
@@ -133,7 +133,7 @@ async function findNamed(reference, options, lookups) {
133
133
  const record = await lookups.play(reference2);
134
134
  if (!record) return null;
135
135
  return {
136
- described: _chunkJO5FFSR7js.describedPlay.call(void 0, record),
136
+ described: _chunkNTLBZUHDjs.describedPlay.call(void 0, record),
137
137
  record: { ...record },
138
138
  schemas: {
139
139
  inputSchema: _nullishCoalesce(record.inputSchema, () => ( null)),
@@ -144,22 +144,18 @@ async function findNamed(reference, options, lookups) {
144
144
  const tool = async () => {
145
145
  const record = await lookups.tool(name);
146
146
  if (!record) return null;
147
- const { byok } = record;
148
147
  const features = toolFeatures(record);
149
148
  return {
150
149
  described: {
151
- ..._chunkFVM4PS5Qjs.describedTool.call(void 0, record, name),
152
- // Shown when the tool runs only on your own credentials; otherwise
153
- // it is a feature, described with --feature byok.
154
- ..._optionalChain([byok, 'optionalAccess', _3 => _3.required]) === true ? { byok } : {},
150
+ ..._chunkBN5VKY4Xjs.describedTool.call(void 0, record, name),
155
151
  ...features.length ? { features: features.map(({ view: _view, ...feature }) => feature) } : {}
156
152
  },
157
- record: _chunkFVM4PS5Qjs.toolMetadataJsonForDescribe.call(void 0,
153
+ record: _chunkBN5VKY4Xjs.toolMetadataJsonForDescribe.call(void 0,
158
154
  record,
159
155
  name,
160
156
  lookups.seedStarterScript
161
157
  ),
162
- schemas: _chunkFVM4PS5Qjs.publicToolSchemas.call(void 0, record),
158
+ schemas: _chunkBN5VKY4Xjs.publicToolSchemas.call(void 0, record),
163
159
  feature: (featureName, value) => {
164
160
  const feature = features.find(({ name: name2 }) => name2 === featureName);
165
161
  return feature ? describeFeature(record, feature, value, {
@@ -205,7 +201,7 @@ async function describeName(name, options, lookups) {
205
201
  const note = shadows ? `Showing your workspace play "${name}". It has the same name as a Deepline ${shadows.kind.replace("_", " ")}; see that one with: ${shadows.describeCommand}` : null;
206
202
  const verbose = options.verbose === true;
207
203
  const isPlay = described.kind === "prebuilt_play" || described.kind === "custom_play";
208
- const dashboardUrl = isPlay ? _chunkJO5FFSR7js.buildPlayDashboardUrl.call(void 0, lookups.baseUrl, described.id) : null;
204
+ const dashboardUrl = isPlay ? _chunkNTLBZUHDjs.buildPlayDashboardUrl.call(void 0, lookups.baseUrl, described.id) : null;
209
205
  if (options.webUrl) {
210
206
  if (!dashboardUrl) {
211
207
  return {
@@ -222,7 +218,7 @@ async function describeName(name, options, lookups) {
222
218
  }
223
219
  if (options.feature !== void 0) {
224
220
  const { name: featureName, value } = parseFeatureRequest(options.feature);
225
- const pending = _nullishCoalesce(_optionalChain([chosen, 'access', _4 => _4.feature, 'optionalCall', _5 => _5(featureName, value)]), () => ( null));
221
+ const pending = _nullishCoalesce(_optionalChain([chosen, 'access', _3 => _3.feature, 'optionalCall', _4 => _4(featureName, value)]), () => ( null));
226
222
  const features = _nullishCoalesce(described.features, () => ( []));
227
223
  if (!pending) {
228
224
  return {
@@ -231,7 +227,7 @@ async function describeName(name, options, lookups) {
231
227
  exitCode: 2
232
228
  };
233
229
  }
234
- const shownValue = _nullishCoalesce(value, () => ( _optionalChain([features, 'access', _6 => _6.find, 'call', _7 => _7(({ name: name2 }) => name2 === featureName), 'optionalAccess', _8 => _8.defaultValue])));
230
+ const shownValue = _nullishCoalesce(value, () => ( _optionalChain([features, 'access', _5 => _5.find, 'call', _6 => _6(({ name: name2 }) => name2 === featureName), 'optionalAccess', _7 => _7.defaultValue])));
235
231
  const { details, lines } = await pending;
236
232
  return {
237
233
  status: "described",
@@ -269,7 +265,7 @@ async function describeName(name, options, lookups) {
269
265
  },
270
266
  lines: [
271
267
  `${described.id} [${described.kind.replace("_", " ")}]`,
272
- ..._chunkJO5FFSR7js.schemaLines.call(void 0, described, {
268
+ ..._chunkNTLBZUHDjs.schemaLines.call(void 0, described, {
273
269
  full: true,
274
270
  secondary: true,
275
271
  ...fields.length ? { fields } : {}
@@ -278,17 +274,17 @@ async function describeName(name, options, lookups) {
278
274
  } : {
279
275
  envelope: {
280
276
  ...summary,
281
- inputs: inputs.map(_chunkJO5FFSR7js.topLevelField),
282
- outputs: outputs.map(_chunkJO5FFSR7js.topLevelField),
283
- ...described.rowInputs ? { rowInputs: described.rowInputs.map(_chunkJO5FFSR7js.topLevelField) } : {},
284
- ...described.rowOutputs ? { rowOutputs: described.rowOutputs.map(_chunkJO5FFSR7js.topLevelField) } : {},
285
- runExamples: _chunkJO5FFSR7js.examples.call(void 0, described, { verbose }),
277
+ inputs: inputs.map(_chunkNTLBZUHDjs.topLevelField),
278
+ outputs: outputs.map(_chunkNTLBZUHDjs.topLevelField),
279
+ ...described.rowInputs ? { rowInputs: described.rowInputs.map(_chunkNTLBZUHDjs.topLevelField) } : {},
280
+ ...described.rowOutputs ? { rowOutputs: described.rowOutputs.map(_chunkNTLBZUHDjs.topLevelField) } : {},
281
+ runExamples: _chunkNTLBZUHDjs.examples.call(void 0, described, { verbose }),
286
282
  ...dashboardUrl ? { dashboardUrl } : {},
287
283
  ...shadows ? { shadows, note } : {}
288
284
  },
289
285
  lines: [
290
286
  ...note ? [`Note: ${note}`, ""] : [],
291
- ..._chunkJO5FFSR7js.describedLines.call(void 0, described, {
287
+ ..._chunkNTLBZUHDjs.describedLines.call(void 0, described, {
292
288
  cli: shown && (!named || options.cliExample === true),
293
289
  play: shown && (!named || options.playExample === true),
294
290
  explain: named,
@@ -305,7 +301,7 @@ async function describeName(name, options, lookups) {
305
301
  // its value stands, so callers of the older commands read what they did.
306
302
  { ...view.envelope, ...record }
307
303
  ) : {
308
- ..._chunkJO5FFSR7js.describedJson.call(void 0, described, {
304
+ ..._chunkNTLBZUHDjs.describedJson.call(void 0, described, {
309
305
  secondary: verbose || fields.length > 0,
310
306
  verbose
311
307
  }),
@@ -3,14 +3,14 @@ import {
3
3
  } from "./chunk-5AEDYVB6.mjs";
4
4
  import {
5
5
  DeeplineClient
6
- } from "./chunk-YWOQYYYS.mjs";
6
+ } from "./chunk-D27HP3HS.mjs";
7
7
  import {
8
8
  printCommandEnvelope
9
- } from "./chunk-2MVIS2UI.mjs";
9
+ } from "./chunk-KGLVATEB.mjs";
10
10
  import {
11
11
  resolveConfig,
12
12
  sdkCliStateDirPath
13
- } from "./chunk-W5CHE5Q2.mjs";
13
+ } from "./chunk-L3TZV625.mjs";
14
14
 
15
15
  // src/cli/commands/search.ts
16
16
  import { Option } from "commander";
@@ -133,7 +133,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
133
133
  });
134
134
  if (searchRef) rememberSearchRef(searchRef);
135
135
  pointAtDescribe(result);
136
- const { renderSearchResults } = await import("./search-output-6SOKQTCW.mjs");
136
+ const { renderSearchResults } = await import("./search-output-NAK3MWBH.mjs");
137
137
  printCommandEnvelope(result, {
138
138
  json: options.json === true,
139
139
  text: renderSearchResults(result, summaryWidth)
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  getAuthedHttpClient,
3
3
  printCommandEnvelope
4
- } from "./chunk-2MVIS2UI.mjs";
4
+ } from "./chunk-KGLVATEB.mjs";
5
5
  import {
6
6
  agentSessionIdFromEnvironment
7
- } from "./chunk-3MJSWVQ2.mjs";
7
+ } from "./chunk-KPBBT6OS.mjs";
8
8
 
9
9
  // src/cli/commands/sessions.ts
10
10
  import {
@@ -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 _chunkUOANF3DRjs = require('./chunk-UOANF3DR.js');
3
+ var _chunkC5RQTTLPjs = require('./chunk-C5RQTTLP.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkJLYDLK6Xjs = require('./chunk-JLYDLK6X.js');
7
+ var _chunkHS63YBT5js = require('./chunk-HS63YBT5.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 = _chunkJLYDLK6Xjs.resolveConfig.call(void 0, options);
141
- return new (0, _chunkUOANF3DRjs.PlayClient)(
142
- new (0, _chunkJLYDLK6Xjs.HttpClient)(config),
140
+ const config = _chunkHS63YBT5js.resolveConfig.call(void 0, options);
141
+ return new (0, _chunkC5RQTTLPjs.PlayClient)(
142
+ new (0, _chunkHS63YBT5js.HttpClient)(config),
143
143
  _nullishCoalesce(config.environment, () => ( process.env))
144
144
  );
145
145
  }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  writeRawStderr
3
- } from "./chunk-2MVIS2UI.mjs";
3
+ } from "./chunk-KGLVATEB.mjs";
4
4
 
5
5
  // src/cli/maintenance-policy.ts
6
6
  import { InvalidArgumentError } from "commander";
@@ -2,10 +2,10 @@ import {
2
2
  getAuthedHttpClient,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-2MVIS2UI.mjs";
5
+ } from "./chunk-KGLVATEB.mjs";
6
6
  import {
7
7
  resolveBaseUrlOnly
8
- } from "./chunk-W5CHE5Q2.mjs";
8
+ } from "./chunk-L3TZV625.mjs";
9
9
 
10
10
  // src/cli/commands/git.ts
11
11
  function shellQuote(value) {
@@ -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(); } }
2
2
 
3
- var _chunkYDXEXVBVjs = require('./chunk-YDXEXVBV.js');
3
+ var _chunkF73PD2XDjs = require('./chunk-F73PD2XD.js');
4
4
 
5
5
  // src/cli/maintenance-policy.ts
6
6
  var _commander = require('commander');
@@ -33,7 +33,7 @@ function recordCliTrace(event) {
33
33
  sinceStartMs: now - cliTraceStartedAt,
34
34
  ...event
35
35
  };
36
- _chunkYDXEXVBVjs.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
36
+ _chunkF73PD2XDjs.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
37
37
  `);
38
38
  }
39
39
  async function traceCliSpan(phase, fields, run) {
@@ -2,7 +2,7 @@ import {
2
2
  argsWantJson,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-2MVIS2UI.mjs";
5
+ } from "./chunk-KGLVATEB.mjs";
6
6
  import {
7
7
  ACTIVE_ORG_ID_ENV,
8
8
  ACTIVE_ORG_NAME_ENV,
@@ -22,14 +22,14 @@ import {
22
22
  saveHostEnvValues,
23
23
  saveProjectDeeplineEnvValues,
24
24
  storedHostApiKey
25
- } from "./chunk-W5CHE5Q2.mjs";
25
+ } from "./chunk-L3TZV625.mjs";
26
26
  import {
27
27
  SDK_API_CONTRACT,
28
28
  SDK_VERSION,
29
29
  connectionFailureMessage,
30
30
  detectAgentRuntime,
31
31
  networkCauseCode
32
- } from "./chunk-3MJSWVQ2.mjs";
32
+ } from "./chunk-KPBBT6OS.mjs";
33
33
  import {
34
34
  DeeplineError
35
35
  } from "./chunk-HBL4PM5Q.mjs";
@@ -6,7 +6,7 @@
6
6
 
7
7
 
8
8
 
9
- var _chunkYPTZJ7LOjs = require('./chunk-YPTZJ7LO.js');
9
+ var _chunk4IIYSBEPjs = require('./chunk-4IIYSBEP.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 = _chunkYPTZJ7LOjs.CLI_DOC_SURFACE; exports.COMMAND_DOCS = _chunkYPTZJ7LOjs.COMMAND_DOCS; exports.commandDocKey = _chunkYPTZJ7LOjs.commandDocKey; exports.helpDetailFromArgv = _chunkYPTZJ7LOjs.helpDetailFromArgv; exports.renderActionExplanation = _chunkYPTZJ7LOjs.renderActionExplanation; exports.renderCommandExplanation = _chunkYPTZJ7LOjs.renderCommandExplanation; exports.renderDocText = _chunkYPTZJ7LOjs.renderDocText;
19
+ exports.CLI_DOC_SURFACE = _chunk4IIYSBEPjs.CLI_DOC_SURFACE; exports.COMMAND_DOCS = _chunk4IIYSBEPjs.COMMAND_DOCS; exports.commandDocKey = _chunk4IIYSBEPjs.commandDocKey; exports.helpDetailFromArgv = _chunk4IIYSBEPjs.helpDetailFromArgv; exports.renderActionExplanation = _chunk4IIYSBEPjs.renderActionExplanation; exports.renderCommandExplanation = _chunk4IIYSBEPjs.renderCommandExplanation; exports.renderDocText = _chunk4IIYSBEPjs.renderDocText;
@@ -6,7 +6,7 @@ import {
6
6
  renderActionExplanation,
7
7
  renderCommandExplanation,
8
8
  renderDocText
9
- } from "./chunk-TFFJ2PRN.mjs";
9
+ } from "./chunk-5M5WSFRZ.mjs";
10
10
  import "./chunk-KRD6H754.mjs";
11
11
  export {
12
12
  CLI_DOC_SURFACE,
@@ -4,13 +4,13 @@ import {
4
4
  printCommandEnvelope,
5
5
  printJson,
6
6
  readCsvRows
7
- } from "./chunk-2MVIS2UI.mjs";
8
- import "./chunk-W5CHE5Q2.mjs";
9
- import "./chunk-3MJSWVQ2.mjs";
7
+ } from "./chunk-KGLVATEB.mjs";
8
+ import "./chunk-L3TZV625.mjs";
9
+ import "./chunk-KPBBT6OS.mjs";
10
10
  import "./chunk-4QF2K7TM.mjs";
11
11
  import "./chunk-DLIRSHV6.mjs";
12
12
  import "./chunk-HBL4PM5Q.mjs";
13
- import "./chunk-OFBLT2LQ.mjs";
13
+ import "./chunk-7HEDCIR3.mjs";
14
14
  import "./chunk-WZYKRD7T.mjs";
15
15
  import "./chunk-KRD6H754.mjs";
16
16