deepline 0.3.574 → 0.3.575

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 (159) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +0 -18
  3. package/dist/bundling-sources/shared_libs/play-runtime/app-runtime-api.ts +8 -0
  4. package/dist/bundling-sources/shared_libs/play-runtime/builtin-pacing.ts +18 -0
  5. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +4 -1
  6. package/dist/bundling-sources/shared_libs/play-runtime/deployment/commands/roll-receipt-gateway.ts +1 -1
  7. package/dist/bundling-sources/shared_libs/play-runtime/deployment/vercel-fly-rollback-alignment.ts +0 -14
  8. package/dist/bundling-sources/shared_libs/play-runtime/governor/governor.ts +4 -0
  9. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +45 -7
  10. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +6 -66
  11. package/dist/cli/{agents-7ZZSF4FS.js → agents-BCLO3KQJ.js} +204 -41
  12. package/dist/cli/{agents-6WN5LYUP.mjs → agents-ULGDKUTM.mjs} +182 -19
  13. package/dist/cli/{auth-I2QVO677.mjs → auth-4WCL7A6W.mjs} +5 -5
  14. package/dist/cli/auth-DXUHEL5I.js +44 -0
  15. package/dist/cli/{billing-YPH4GEWU.mjs → billing-7JQ6EUQU.mjs} +9 -9
  16. package/dist/cli/{billing-44QFBUWA.js → billing-BF5LVXOM.js} +102 -102
  17. package/dist/cli/{chunk-MGF3MK27.mjs → chunk-2T7XOKVL.mjs} +5 -5
  18. package/dist/cli/{chunk-7UR57HPJ.js → chunk-2UM3I2MY.js} +1 -1
  19. package/dist/cli/{chunk-SRUNYWQ2.mjs → chunk-3PVKXUSJ.mjs} +1 -1
  20. package/dist/cli/{chunk-W6UCS3O6.mjs → chunk-56N3XAT6.mjs} +5 -5
  21. package/dist/cli/{chunk-LLSCFLFU.mjs → chunk-5D7OJY4W.mjs} +1 -1
  22. package/dist/cli/{chunk-5E2PAGF5.js → chunk-5H6254MJ.js} +21 -21
  23. package/dist/cli/{chunk-VYSUJMB5.js → chunk-5VSHQG5E.js} +8 -8
  24. package/dist/cli/{chunk-SLXCVPN7.js → chunk-636GD4IR.js} +2 -2
  25. package/dist/cli/{chunk-LJLM4BUL.js → chunk-6IKLITVH.js} +6 -6
  26. package/dist/cli/{chunk-D6ZVRKJ2.js → chunk-737Y7QGT.js} +41 -41
  27. package/dist/cli/{chunk-UXIUAIL2.js → chunk-7DLAJ6JJ.js} +53 -53
  28. package/dist/cli/{chunk-2QYU57RG.js → chunk-AO56MZ7D.js} +3 -3
  29. package/dist/cli/{chunk-BUBOZKH2.js → chunk-AS5XGOZY.js} +2 -2
  30. package/dist/cli/{chunk-XVBEEGI4.mjs → chunk-BM536WWR.mjs} +1 -1
  31. package/dist/cli/{chunk-DX646HO7.mjs → chunk-BONMEBWZ.mjs} +4 -4
  32. package/dist/cli/{chunk-S22FSNNC.mjs → chunk-BQUAE6LQ.mjs} +1 -1
  33. package/dist/cli/{chunk-G7OR3GVD.mjs → chunk-CVY4MBXH.mjs} +5 -5
  34. package/dist/cli/{chunk-KSHZY52O.js → chunk-DMPGJCNZ.js} +72 -10
  35. package/dist/cli/{chunk-Q3A53SWK.mjs → chunk-DWUESXDD.mjs} +1 -1
  36. package/dist/cli/{chunk-IA2LTIWO.mjs → chunk-E4RYSSXX.mjs} +2 -2
  37. package/dist/cli/{chunk-VLUBEMWM.js → chunk-EV3OPDHF.js} +20 -20
  38. package/dist/cli/{chunk-ECLCRE5P.js → chunk-EZIXKNKM.js} +3 -3
  39. package/dist/cli/{chunk-JCO226JM.mjs → chunk-FDCU3VAJ.mjs} +72 -10
  40. package/dist/cli/{chunk-6B5EZOI3.js → chunk-FXXERR52.js} +10 -10
  41. package/dist/cli/{chunk-L2NXB4WG.mjs → chunk-FYKHAT2F.mjs} +64 -3
  42. package/dist/cli/{chunk-NDDGFX4X.js → chunk-G2H6SQQY.js} +11 -11
  43. package/dist/cli/{chunk-I62ZBEKH.js → chunk-G4WPDCXA.js} +48 -48
  44. package/dist/cli/{chunk-G2HW2SAP.js → chunk-GB4IZ5TV.js} +13 -13
  45. package/dist/cli/{chunk-7334X74C.mjs → chunk-GQZFZG6R.mjs} +2 -2
  46. package/dist/cli/{chunk-JY7RKJ65.mjs → chunk-H3CG72RZ.mjs} +13 -13
  47. package/dist/cli/{chunk-N6I3BB2O.js → chunk-H6JMRLAZ.js} +274 -274
  48. package/dist/cli/{chunk-6GZIT3TH.js → chunk-HEOM3FAC.js} +20 -20
  49. package/dist/cli/{chunk-DG56RWI2.js → chunk-HO76C7AE.js} +2 -2
  50. package/dist/cli/{chunk-X7RKCAMX.mjs → chunk-IAJ65IDZ.mjs} +4 -4
  51. package/dist/cli/{chunk-ZFXDD7VM.mjs → chunk-IBYMGR5Y.mjs} +1 -1
  52. package/dist/cli/{chunk-LCAXLGAY.mjs → chunk-IOWLFWWG.mjs} +2 -2
  53. package/dist/cli/{chunk-NRVEVKXR.mjs → chunk-JGLCK2XF.mjs} +2 -2
  54. package/dist/cli/{chunk-IB225ZK4.js → chunk-KNCNFL76.js} +4 -4
  55. package/dist/cli/{chunk-QPSBV4FD.mjs → chunk-MN7JLH2T.mjs} +2 -2
  56. package/dist/cli/{chunk-OH6WOID2.mjs → chunk-MWLOBURN.mjs} +2 -2
  57. package/dist/cli/{chunk-AFPGYZBH.js → chunk-MXK4M7HP.js} +17 -17
  58. package/dist/cli/{chunk-MAMGREBW.mjs → chunk-NF722E6C.mjs} +1 -1
  59. package/dist/cli/{chunk-7GQU46SZ.js → chunk-PQYDO72W.js} +26 -26
  60. package/dist/cli/{chunk-4T2U72SP.mjs → chunk-QEDRUURT.mjs} +1 -1
  61. package/dist/cli/{chunk-B2XLIQPH.mjs → chunk-QKP3WYSZ.mjs} +2 -2
  62. package/dist/cli/{chunk-VGIDPJXM.mjs → chunk-RHRRY2BX.mjs} +3 -3
  63. package/dist/cli/{chunk-ZTCP5BHH.mjs → chunk-RW3URFZK.mjs} +2 -2
  64. package/dist/cli/{chunk-XMBTAPHR.js → chunk-SKHUWQZE.js} +7 -7
  65. package/dist/cli/{chunk-OIZUFRTE.mjs → chunk-SYQTBHRX.mjs} +3 -3
  66. package/dist/cli/{chunk-PW6NKI2A.mjs → chunk-TMFR2B45.mjs} +3 -3
  67. package/dist/cli/{chunk-YR4REP4D.mjs → chunk-TTBZ7QXX.mjs} +1 -1
  68. package/dist/cli/{chunk-GMQZFWQU.mjs → chunk-UQZP7XBQ.mjs} +7 -7
  69. package/dist/cli/{chunk-DOZIWA66.js → chunk-V5XLENWK.js} +5 -5
  70. package/dist/cli/{chunk-2TMAKJBT.mjs → chunk-X47J55ZJ.mjs} +2 -2
  71. package/dist/cli/{chunk-ID3LGPOE.js → chunk-XFV353R2.js} +23 -23
  72. package/dist/cli/{chunk-2RPRSTHD.js → chunk-YNAXKA23.js} +5 -5
  73. package/dist/cli/{chunk-IXYVHTRZ.js → chunk-ZO65VJRJ.js} +70 -9
  74. package/dist/cli/{chunk-PP5RMEQQ.js → chunk-ZQXJYO5P.js} +5 -5
  75. package/dist/cli/{chunk-H7PVSG3L.js → chunk-ZS6DT4LD.js} +15 -15
  76. package/dist/cli/{chunk-Z3XFXFRT.js → chunk-ZYSJND73.js} +9 -9
  77. package/dist/cli/command-docs.js +2 -2
  78. package/dist/cli/command-docs.mjs +1 -1
  79. package/dist/cli/{concurrent-runs-help-ROQM6UB3.mjs → concurrent-runs-help-HITK6EOO.mjs} +6 -6
  80. package/dist/cli/concurrent-runs-help-JLWY54WL.js +22 -0
  81. package/dist/cli/{csv-FWGSY4GE.js → csv-RS7XHQ4P.js} +13 -13
  82. package/dist/cli/{csv-R7GV33BC.mjs → csv-V2T23MXT.mjs} +4 -4
  83. package/dist/cli/{db-UWXA4RRV.mjs → db-OQ4RNTGE.mjs} +6 -6
  84. package/dist/cli/{db-OCH35YJG.js → db-WFIVRPKY.js} +27 -27
  85. package/dist/cli/describe-33PBWO5O.js +50 -0
  86. package/dist/cli/{describe-QI4HMUGE.mjs → describe-AXV2EEX3.mjs} +21 -21
  87. package/dist/cli/describe-core.d.mts +10 -1
  88. package/dist/cli/describe-core.d.ts +10 -1
  89. package/dist/cli/describe-core.js +4 -4
  90. package/dist/cli/describe-core.mjs +3 -3
  91. package/dist/cli/{executions-7CFGC24E.js → executions-5H2RIWZ3.js} +8 -8
  92. package/dist/cli/{executions-YF3KMZZN.mjs → executions-THP5ZDBQ.mjs} +6 -6
  93. package/dist/cli/{feedback-DWIWBS7O.mjs → feedback-2EJPILGE.mjs} +6 -6
  94. package/dist/cli/{feedback-YCZHHSBS.js → feedback-UOI6UEGA.js} +14 -14
  95. package/dist/cli/git-2OPYEPYW.js +26 -0
  96. package/dist/cli/{git-XCGMQQOD.mjs → git-DI3LJIAT.mjs} +5 -5
  97. package/dist/cli/index.js +148 -148
  98. package/dist/cli/index.mjs +47 -47
  99. package/dist/cli/{integrations-5ABAJBSW.mjs → integrations-DJYS5VRK.mjs} +7 -7
  100. package/dist/cli/{integrations-IEZA3TGK.js → integrations-TYN2BSQ6.js} +29 -29
  101. package/dist/cli/{legacy-noops-KNFLJ5P2.js → legacy-noops-GXQHNLGJ.js} +9 -9
  102. package/dist/cli/{legacy-noops-OZMY73Y3.mjs → legacy-noops-Z457BB6O.mjs} +6 -6
  103. package/dist/cli/{mcp-WSPFKQPZ.mjs → mcp-NAW3GFNN.mjs} +4 -4
  104. package/dist/cli/{mcp-NLQAO7KP.js → mcp-WMBOOTQL.js} +24 -24
  105. package/dist/cli/{monitors-LPKFFTOX.mjs → monitors-A7NYAXSJ.mjs} +7 -7
  106. package/dist/cli/{monitors-BJYOB4S3.js → monitors-OOQVE7XR.js} +100 -100
  107. package/dist/cli/{org-RYPMUYUW.mjs → org-7YCDUSZE.mjs} +6 -6
  108. package/dist/cli/{org-WIVHI4WT.js → org-D2AMIVBS.js} +121 -121
  109. package/dist/cli/{outcomes-QKX7IE3O.js → outcomes-2FKZDJSQ.js} +14 -14
  110. package/dist/cli/{outcomes-FADJYC4I.mjs → outcomes-TNTKCUEO.mjs} +6 -6
  111. package/dist/cli/{play-4ZKK5Q7U.mjs → play-L6CVHSN4.mjs} +20 -20
  112. package/dist/cli/{play-ID73J3NP.js → play-NWKHCHVZ.js} +349 -349
  113. package/dist/cli/{providers-LURYBSNO.mjs → providers-22LO747B.mjs} +6 -6
  114. package/dist/cli/{providers-WCCGYGW6.js → providers-PZGOI5CN.js} +9 -9
  115. package/dist/cli/{quickstart-KCCSEE5J.mjs → quickstart-3ZRVKGMH.mjs} +4 -4
  116. package/dist/cli/{quickstart-LVPOU25V.js → quickstart-LLWOC2GR.js} +6 -6
  117. package/dist/cli/{run-XXK7DDUF.mjs → run-D46W2GUA.mjs} +48 -27
  118. package/dist/cli/{run-2QMJRCVA.js → run-SNF23STR.js} +70 -49
  119. package/dist/cli/search-H57MZPLF.js +32 -0
  120. package/dist/cli/{search-ZYAWW3CK.mjs → search-XWVCICIX.mjs} +7 -7
  121. package/dist/cli/{search-output-YNXAZSKT.js → search-output-36GHD67U.js} +8 -8
  122. package/dist/cli/{search-output-N45AIOB4.mjs → search-output-YM5QXFQQ.mjs} +5 -5
  123. package/dist/cli/{secrets-7Q3AOUAS.mjs → secrets-7PTZEFRC.mjs} +6 -6
  124. package/dist/cli/{secrets-MHT27L2M.js → secrets-UXCIHG5I.js} +15 -15
  125. package/dist/cli/{sessions-6QKOM7M3.mjs → sessions-DTXJKRP4.mjs} +6 -6
  126. package/dist/cli/sessions-JJZMQSH4.js +23 -0
  127. package/dist/cli/{settings-NPVIDENI.mjs → settings-74B6UOS4.mjs} +12 -12
  128. package/dist/cli/{settings-OP7Q6YX6.js → settings-EYSDZE37.js} +85 -85
  129. package/dist/cli/{setup-OOT3EIMF.mjs → setup-2QRZ36CH.mjs} +9 -9
  130. package/dist/cli/{setup-RT6GHL3W.js → setup-E7PVXBPL.js} +49 -49
  131. package/dist/cli/{skills-TEXI4CLZ.mjs → skills-2WZ7N3UW.mjs} +7 -7
  132. package/dist/cli/skills-RIF2DCZI.js +37 -0
  133. package/dist/cli/tools-7VRQ4GSI.js +57 -0
  134. package/dist/cli/{tools-G5L36M3X.mjs → tools-YK5SCUZD.mjs} +19 -19
  135. package/dist/cli/{update-YNKQTE4D.mjs → update-563YQK53.mjs} +9 -9
  136. package/dist/cli/update-CMZAIAES.js +37 -0
  137. package/dist/cli/{views-IQFMUMLU.mjs → views-ISNCRZUP.mjs} +6 -6
  138. package/dist/cli/{views-OVQ5AQAU.js → views-OLPS6TPG.js} +21 -21
  139. package/dist/cli/{workflow-Y5IFMI7N.mjs → workflow-B3ZKU3OR.mjs} +7 -7
  140. package/dist/cli/{workflow-RCBYXIFZ.js → workflow-CUSCTYMW.js} +17 -17
  141. package/dist/index.js +9 -9
  142. package/dist/index.mjs +6 -6
  143. package/dist/install-integrity.json +122 -122
  144. package/dist/release.d.mts +1 -1
  145. package/dist/release.d.ts +1 -1
  146. package/dist/release.js +2 -2
  147. package/dist/release.mjs +1 -1
  148. package/dist/server.js +5 -5
  149. package/dist/server.mjs +3 -3
  150. package/package.json +1 -1
  151. package/dist/cli/auth-UKPV5U2B.js +0 -44
  152. package/dist/cli/concurrent-runs-help-BFVCUJF4.js +0 -22
  153. package/dist/cli/describe-6OI5K2SH.js +0 -50
  154. package/dist/cli/git-TGLNZRS3.js +0 -26
  155. package/dist/cli/search-AQSAXA6D.js +0 -32
  156. package/dist/cli/sessions-RGD7L4LC.js +0 -23
  157. package/dist/cli/skills-ERAA734H.js +0 -37
  158. package/dist/cli/tools-D5SZSIIH.js +0 -57
  159. package/dist/cli/update-WZ6527EF.js +0 -37
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  getActiveCliProgress
3
- } from "./chunk-YR4REP4D.mjs";
3
+ } from "./chunk-TTBZ7QXX.mjs";
4
4
  import {
5
5
  maybeReportAutomaticSkillsSyncFailure
6
- } from "./chunk-2TMAKJBT.mjs";
6
+ } from "./chunk-X47J55ZJ.mjs";
7
7
  import {
8
8
  DEFAULT_MAX_RETRIES,
9
9
  DEFAULT_SKILL_AGENTS,
@@ -18,20 +18,20 @@ import {
18
18
  sdkCliStateDirPath,
19
19
  skillsAgentPathSegment,
20
20
  writeSdkSkillsLocalVersion
21
- } from "./chunk-SRUNYWQ2.mjs";
21
+ } from "./chunk-3PVKXUSJ.mjs";
22
22
  import {
23
23
  SDK_API_CONTRACT,
24
24
  SDK_API_MAJOR,
25
25
  SDK_VERSION,
26
26
  deploymentProtectionHeaders,
27
27
  detectAgentRuntime
28
- } from "./chunk-ZFXDD7VM.mjs";
28
+ } from "./chunk-IBYMGR5Y.mjs";
29
29
  import {
30
30
  DeeplineError
31
31
  } from "./chunk-Z3A2S3QM.mjs";
32
32
  import {
33
33
  SDK_RELEASE
34
- } from "./chunk-XVBEEGI4.mjs";
34
+ } from "./chunk-BM536WWR.mjs";
35
35
 
36
36
  // src/compat.ts
37
37
  import { randomUUID } from "crypto";
@@ -49,7 +49,7 @@ var SDK_RELEASE = {
49
49
  // getters keep their established compatibility behavior.
50
50
  // 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
51
51
  // 0.3.90 is the first deliberately versioned SDK release for API v3.
52
- version: "0.3.574",
52
+ version: "0.3.575",
53
53
  updateSummary: {
54
54
  introducedIn: "0.3.90",
55
55
  summary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release."
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  HttpClient,
3
3
  detectAgentRuntime
4
- } from "./chunk-ZFXDD7VM.mjs";
4
+ } from "./chunk-IBYMGR5Y.mjs";
5
5
  import {
6
6
  ConfigError
7
7
  } from "./chunk-ASB47RXJ.mjs";
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  npmSupportsAllowScripts,
3
3
  readNpmVersion
4
- } from "./chunk-MAMGREBW.mjs";
4
+ } from "./chunk-NF722E6C.mjs";
5
5
  import {
6
6
  runSkillsCommand
7
- } from "./chunk-DX646HO7.mjs";
7
+ } from "./chunk-BONMEBWZ.mjs";
8
8
  import {
9
9
  resolveShellSpawn
10
- } from "./chunk-MGF3MK27.mjs";
10
+ } from "./chunk-2T7XOKVL.mjs";
11
11
  import {
12
12
  printCommandEnvelope
13
- } from "./chunk-2TMAKJBT.mjs";
13
+ } from "./chunk-X47J55ZJ.mjs";
14
14
  import {
15
15
  DEFAULT_MAX_RETRIES,
16
16
  DEFAULT_TIMEOUT,
17
17
  TRANSIENT_HTTP_STATUSES,
18
18
  autoDetectBaseUrl,
19
19
  defaultRetryBackoffMs
20
- } from "./chunk-SRUNYWQ2.mjs";
20
+ } from "./chunk-3PVKXUSJ.mjs";
21
21
 
22
22
  // src/cli/commands/update.ts
23
23
  import { spawn, spawnSync } from "child_process";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  printCommandEnvelope
3
- } from "./chunk-2TMAKJBT.mjs";
3
+ } from "./chunk-X47J55ZJ.mjs";
4
4
 
5
5
  // src/cli/feedback-preferences.ts
6
6
  import {
@@ -1,30 +1,30 @@
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 _chunkN6I3BB2Ojs = require('./chunk-N6I3BB2O.js');
3
+ var _chunkH6JMRLAZjs = require('./chunk-H6JMRLAZ.js');
4
4
 
5
5
 
6
- var _chunkNDDGFX4Xjs = require('./chunk-NDDGFX4X.js');
6
+ var _chunkG2H6SQQYjs = require('./chunk-G2H6SQQY.js');
7
7
 
8
8
 
9
9
 
10
10
 
11
- var _chunkAFPGYZBHjs = require('./chunk-AFPGYZBH.js');
11
+ var _chunkMXK4M7HPjs = require('./chunk-MXK4M7HP.js');
12
12
 
13
13
 
14
- var _chunkIXYVHTRZjs = require('./chunk-IXYVHTRZ.js');
14
+ var _chunkZO65VJRJjs = require('./chunk-ZO65VJRJ.js');
15
15
 
16
16
 
17
- var _chunk2RPRSTHDjs = require('./chunk-2RPRSTHD.js');
17
+ var _chunkYNAXKA23js = require('./chunk-YNAXKA23.js');
18
18
 
19
19
 
20
20
 
21
21
 
22
- var _chunkVLUBEMWMjs = require('./chunk-VLUBEMWM.js');
22
+ var _chunkEV3OPDHFjs = require('./chunk-EV3OPDHF.js');
23
23
 
24
24
 
25
25
 
26
26
 
27
- var _chunk2QYU57RGjs = require('./chunk-2QYU57RG.js');
27
+ var _chunkAO56MZ7Djs = require('./chunk-AO56MZ7D.js');
28
28
 
29
29
  // src/cli/commands/describe.ts
30
30
  var _fs = require('fs');
@@ -33,14 +33,14 @@ var _path = require('path');
33
33
  // src/cli/doc-read-reporting.ts
34
34
  var REPORT_TIMEOUT_MS = 1e3;
35
35
  async function reportDocRead(docId) {
36
- if (_chunkVLUBEMWMjs.isFailureReportingDisabled.call(void 0, )) return;
36
+ if (_chunkEV3OPDHFjs.isFailureReportingDisabled.call(void 0, )) return;
37
37
  try {
38
- const baseUrl = _chunk2QYU57RGjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
39
- const apiKey = _chunk2QYU57RGjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
38
+ const baseUrl = _chunkAO56MZ7Djs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
39
+ const apiKey = _chunkAO56MZ7Djs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
40
40
  if (!apiKey) return;
41
41
  await fetch(new URL("/api/v2/telemetry/doc-read", baseUrl), {
42
42
  method: "POST",
43
- headers: _chunkVLUBEMWMjs.failureReportHeaders.call(void 0, apiKey),
43
+ headers: _chunkEV3OPDHFjs.failureReportHeaders.call(void 0, apiKey),
44
44
  body: JSON.stringify({ doc_id: docId }),
45
45
  signal: AbortSignal.timeout(REPORT_TIMEOUT_MS)
46
46
  });
@@ -53,22 +53,22 @@ function nothingNamed(name) {
53
53
  return `Nothing named "${name}". Search for it: deepline search ${JSON.stringify(name.replace(/[-_./]+/g, " "))}`;
54
54
  }
55
55
  function findNamed2(name, options) {
56
- return _chunkAFPGYZBHjs.findNamed.call(void 0, name, options, cliDescribeLookups(new (0, _chunk2RPRSTHDjs.DeeplineClient)()));
56
+ return _chunkMXK4M7HPjs.findNamed.call(void 0, name, options, cliDescribeLookups(new (0, _chunkYNAXKA23js.DeeplineClient)()));
57
57
  }
58
58
  function cliDescribeLookups(client) {
59
59
  return {
60
- ..._chunkAFPGYZBHjs.describeLookupsFor.call(void 0, client),
61
- dashboardOrgId: _chunk2QYU57RGjs.resolveCliDashboardOrgId.call(void 0, client.baseUrl)
60
+ ..._chunkMXK4M7HPjs.describeLookupsFor.call(void 0, client),
61
+ dashboardOrgId: _chunkAO56MZ7Djs.resolveCliDashboardOrgId.call(void 0, client.baseUrl)
62
62
  };
63
63
  }
64
64
  async function describeAnything(name, options, onMissing) {
65
- const client = new (0, _chunk2RPRSTHDjs.DeeplineClient)();
65
+ const client = new (0, _chunkYNAXKA23js.DeeplineClient)();
66
66
  const lookups = cliDescribeLookups(client);
67
- const outcome = await _chunkAFPGYZBHjs.describeName.call(void 0, name, options, {
67
+ const outcome = await _chunkMXK4M7HPjs.describeName.call(void 0, name, options, {
68
68
  ...lookups,
69
69
  // `tools describe` has already fetched the tool for its compatibility check.
70
70
  tool: async (toolName) => _nullishCoalesce(options.fetchedTool, () => ( lookups.tool(toolName))),
71
- seedStarterScript: _chunkN6I3BB2Ojs.seedToolListScript
71
+ seedStarterScript: _chunkH6JMRLAZjs.seedToolListScript
72
72
  });
73
73
  if (outcome.status === "missing") {
74
74
  if (onMissing) return onMissing();
@@ -97,18 +97,18 @@ function deliver(envelope, lines, { json, out }) {
97
97
  ` : text;
98
98
  _fs.writeFileSync.call(void 0, path, content);
99
99
  const bytes = Buffer.byteLength(content);
100
- _chunkVLUBEMWMjs.printCommandEnvelope.call(void 0,
100
+ _chunkEV3OPDHFjs.printCommandEnvelope.call(void 0,
101
101
  { path, bytes },
102
102
  { json, text: `Wrote ${path} (${bytes} bytes)
103
103
  ` }
104
104
  );
105
105
  return 0;
106
106
  }
107
- _chunkVLUBEMWMjs.printCommandEnvelope.call(void 0, envelope, { json, text });
107
+ _chunkEV3OPDHFjs.printCommandEnvelope.call(void 0, envelope, { json, text });
108
108
  return 0;
109
109
  }
110
110
  function registerDescribeCommand(program) {
111
- _chunkNDDGFX4Xjs.addDescribeOptions.call(void 0, program.command("describe <name>")).option("--web-url", "Print only a play's play page URL").description(
111
+ _chunkG2H6SQQYjs.addDescribeOptions.call(void 0, program.command("describe <name>")).option("--web-url", "Print only a play's play page URL").description(
112
112
  "Describe anything search returns: a tool, monitor type, or play."
113
113
  ).addHelpText(
114
114
  "after",
@@ -149,7 +149,7 @@ Schema size and format:
149
149
  by default; the output names them, and --verbose shows them.
150
150
  --fields email,miss_reason shows only the fields you name, plus every
151
151
  required input, and names the rest. Use it when you know what you need.
152
- A schema over ${_chunkIXYVHTRZjs.SCHEMA_LINE_LIMIT} lines is folded: deeper objects show only their field
152
+ A schema over ${_chunkZO65VJRJjs.SCHEMA_LINE_LIMIT} lines is folded: deeper objects show only their field
153
153
  names. A shape used more than once is printed once under Types.
154
154
  --full-schema the normal output, with the schema not folded
155
155
  --schema-only only the schema, not folded, and nothing else
@@ -37,7 +37,7 @@ var _chunkPMH4GLMDjs = require('./chunk-PMH4GLMD.js');
37
37
 
38
38
 
39
39
 
40
- var _chunkIB225ZK4js = require('./chunk-IB225ZK4.js');
40
+ var _chunkKNCNFL76js = require('./chunk-KNCNFL76.js');
41
41
 
42
42
 
43
43
  var _chunk6VLFQZK6js = require('./chunk-6VLFQZK6.js');
@@ -963,7 +963,7 @@ var ToolCalls = class {
963
963
  idempotencyKey,
964
964
  onResponse: (response2) => {
965
965
  lastResponse = null;
966
- atomicToolsSupported = response2.headers.get(_chunkIB225ZK4js.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
966
+ atomicToolsSupported = response2.headers.get(_chunkKNCNFL76js.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
967
967
  recoverySupported = response2.headers.get("X-Deepline-Idempotency-Supported") === "true";
968
968
  if (_optionalChain([options, 'optionalAccess', _38 => _38.onServerTiming])) {
969
969
  try {
@@ -1350,15 +1350,15 @@ function runtimeSelectionHeaders(runtime, env) {
1350
1350
  }
1351
1351
  const receivers = _optionalChain([env, 'access', _63 => _63.DEEPLINE_RUNTIME_RETAINED_PIPELINE_RECEIVERS, 'optionalAccess', _64 => _64.trim, 'call', _65 => _65()]);
1352
1352
  return {
1353
- [_chunkIB225ZK4js.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1354
- ...receivers ? { [_chunkIB225ZK4js.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1353
+ [_chunkKNCNFL76js.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1354
+ ...receivers ? { [_chunkKNCNFL76js.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1355
1355
  };
1356
1356
  }
1357
1357
  function playRunStartHeaders(runtime, env) {
1358
1358
  const headers = runtimeSelectionHeaders(runtime, env);
1359
1359
  const experimentSwitches = _optionalChain([env, 'access', _66 => _66.DEEPLINE_EXPERIMENT_SWITCHES, 'optionalAccess', _67 => _67.trim, 'call', _68 => _68()]);
1360
1360
  if (!experimentSwitches) return headers;
1361
- return { ...headers, [_chunkIB225ZK4js.EXPERIMENT_SWITCHES_HEADER]: experimentSwitches };
1361
+ return { ...headers, [_chunkKNCNFL76js.EXPERIMENT_SWITCHES_HEADER]: experimentSwitches };
1362
1362
  }
1363
1363
  function normalizeTestPolicyOverrides(value, source) {
1364
1364
  if (value && typeof value === "object" && !Array.isArray(value)) {
@@ -1428,7 +1428,7 @@ var PlayClient = class {
1428
1428
  return _chunkMJTVX4QKjs.startPlayRun.call(void 0,
1429
1429
  this.http,
1430
1430
  resolved.request,
1431
- _optionalChain([options, 'optionalAccess', _76 => _76.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunkIB225ZK4js.SDK_API_MAJOR) } : headers,
1431
+ _optionalChain([options, 'optionalAccess', _76 => _76.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunkKNCNFL76js.SDK_API_MAJOR) } : headers,
1432
1432
  options
1433
1433
  );
1434
1434
  }
@@ -3546,7 +3546,7 @@ function isolatedCiRuntimeEventReadHeaders(env) {
3546
3546
  "RUNTIME_EVENT_INTERNAL_TOKEN_REQUIRED"
3547
3547
  );
3548
3548
  }
3549
- return { [_chunkIB225ZK4js.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3549
+ return { [_chunkKNCNFL76js.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3550
3550
  }
3551
3551
  function sleep(ms) {
3552
3552
  return new Promise((resolve) => setTimeout(resolve, ms));
@@ -4482,7 +4482,7 @@ var DeeplineClient = (_class = class _DeeplineClient {
4482
4482
  );
4483
4483
  const headers = _optionalChain([options, 'optionalAccess', _200 => _200.cliAdmission]) ? {
4484
4484
  ...runtimeHeaders,
4485
- "X-Deepline-API-Major": String(_chunkIB225ZK4js.SDK_API_MAJOR)
4485
+ "X-Deepline-API-Major": String(_chunkKNCNFL76js.SDK_API_MAJOR)
4486
4486
  } : runtimeHeaders;
4487
4487
  const http = this.http;
4488
4488
  let submitted = false;
@@ -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 _chunkVLUBEMWMjs = require('./chunk-VLUBEMWM.js');
3
+ var _chunkEV3OPDHFjs = require('./chunk-EV3OPDHF.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
- _chunkVLUBEMWMjs.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
36
+ _chunkEV3OPDHFjs.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
37
37
  `);
38
38
  }
39
39
  async function traceCliSpan(phase, fields, run) {
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkSLXCVPN7js = require('./chunk-SLXCVPN7.js');
3
+ var _chunk636GD4IRjs = require('./chunk-636GD4IR.js');
4
4
 
5
5
 
6
6
 
7
7
 
8
- var _chunkI62ZBEKHjs = require('./chunk-I62ZBEKH.js');
8
+ var _chunkG4WPDCXAjs = require('./chunk-G4WPDCXA.js');
9
9
 
10
10
  // src/cli/play-run-admission.ts
11
11
  function usesInlinePlayAdmission(command, args) {
@@ -18,18 +18,18 @@ function usesCliPlayAdmission(command, args) {
18
18
  }
19
19
  async function checkPlayRunCompatibility(baseUrl, maintenancePolicy = "configured", signal) {
20
20
  _optionalChain([signal, 'optionalAccess', _ => _.throwIfAborted, 'call', _2 => _2()]);
21
- if (maintenancePolicy !== "off") _chunkI62ZBEKHjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
22
- const compatibility = await _chunkSLXCVPN7js.traceCliSpan.call(void 0,
21
+ if (maintenancePolicy !== "off") _chunkG4WPDCXAjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
22
+ const compatibility = await _chunk636GD4IRjs.traceCliSpan.call(void 0,
23
23
  "cli.sdk_compatibility",
24
24
  { baseUrl, command: "plays run" },
25
- () => _chunkI62ZBEKHjs.requireSdkCompatibility.call(void 0, baseUrl, {
25
+ () => _chunkG4WPDCXAjs.requireSdkCompatibility.call(void 0, baseUrl, {
26
26
  command: "plays run",
27
27
  persistCache: maintenancePolicy !== "off",
28
28
  signal
29
29
  })
30
30
  );
31
31
  _optionalChain([signal, 'optionalAccess', _3 => _3.throwIfAborted, 'call', _4 => _4()]);
32
- _chunkI62ZBEKHjs.enforceSdkCompatibilityResponse.call(void 0, compatibility, {
32
+ _chunkG4WPDCXAjs.enforceSdkCompatibilityResponse.call(void 0, compatibility, {
33
33
  quietAdvisory: true
34
34
  });
35
35
  }
@@ -11,20 +11,20 @@
11
11
 
12
12
 
13
13
 
14
- var _chunkI62ZBEKHjs = require('./chunk-I62ZBEKH.js');
14
+ var _chunkG4WPDCXAjs = require('./chunk-G4WPDCXA.js');
15
15
 
16
16
 
17
- var _chunkVLUBEMWMjs = require('./chunk-VLUBEMWM.js');
17
+ var _chunkEV3OPDHFjs = require('./chunk-EV3OPDHF.js');
18
18
 
19
19
 
20
20
 
21
21
 
22
22
 
23
- var _chunk2QYU57RGjs = require('./chunk-2QYU57RG.js');
23
+ var _chunkAO56MZ7Djs = require('./chunk-AO56MZ7D.js');
24
24
 
25
25
 
26
26
 
27
- var _chunkIB225ZK4js = require('./chunk-IB225ZK4.js');
27
+ var _chunkKNCNFL76js = require('./chunk-KNCNFL76.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 = _chunk2QYU57RGjs.resolveProjectPinTarget.call(void 0, );
148
+ const target = _chunkAO56MZ7Djs.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, () => ( _chunkIB225ZK4js.detectAgentRuntime.call(void 0, )));
159
+ const runtime = _nullishCoalesce(input.runtime, () => ( _chunkKNCNFL76js.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, _chunk2QYU57RGjs.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, _chunkAO56MZ7Djs.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 = [..._chunkI62ZBEKHjs.LEGACY_SKILL_NAMES_TO_REMOVE].sort(
178
+ const legacyNames = [..._chunkG4WPDCXAjs.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=${_chunkI62ZBEKHjs.SKILLS_NPX_PACKAGE}`,
192
+ `--package=${_chunkG4WPDCXAjs.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=${_chunkI62ZBEKHjs.SKILLS_NPX_PACKAGE}`,
208
+ `--package=${_chunkG4WPDCXAjs.SKILLS_NPX_PACKAGE}`,
209
209
  "--",
210
210
  "skills",
211
211
  "add",
212
- _chunkI62ZBEKHjs.skillsSourceUrl.call(void 0, input.baseUrl),
212
+ _chunkG4WPDCXAjs.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 = _chunkI62ZBEKHjs.resolveShellSpawn.call(void 0,
249
+ const plan = _chunkG4WPDCXAjs.resolveShellSpawn.call(void 0,
250
250
  command,
251
251
  args,
252
252
  process.platform,
@@ -269,7 +269,7 @@ function runProcess(command, args, cwd) {
269
269
  child.kill("SIGTERM");
270
270
  reject(
271
271
  new Error(
272
- `${_chunkI62ZBEKHjs.SKILLS_NPX_PACKAGE} timed out after ${SKILLS_PROCESS_TIMEOUT_MS}ms.`
272
+ `${_chunkG4WPDCXAjs.SKILLS_NPX_PACKAGE} timed out after ${SKILLS_PROCESS_TIMEOUT_MS}ms.`
273
273
  )
274
274
  );
275
275
  }, SKILLS_PROCESS_TIMEOUT_MS);
@@ -280,7 +280,7 @@ function runProcess(command, args, cwd) {
280
280
  child.once("close", (code) => {
281
281
  clearTimeout(timeout);
282
282
  if (code && stderr.trim()) {
283
- process.stderr.write(`${_chunkI62ZBEKHjs.SKILLS_NPX_PACKAGE} exited ${code}.
283
+ process.stderr.write(`${_chunkG4WPDCXAjs.SKILLS_NPX_PACKAGE} exited ${code}.
284
284
  `);
285
285
  }
286
286
  resolve(_nullishCoalesce(code, () => ( 1)));
@@ -288,7 +288,7 @@ function runProcess(command, args, cwd) {
288
288
  });
289
289
  }
290
290
  async function showSkills(options, name) {
291
- const baseUrl = _chunk2QYU57RGjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
291
+ const baseUrl = _chunkAO56MZ7Djs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
292
292
  const url = name ? `${baseUrl}/.well-known/skills/${encodeURIComponent(name)}/SKILL.md` : `${baseUrl}/.well-known/skills/index.json`;
293
293
  try {
294
294
  const response = await fetch(url, {
@@ -301,7 +301,7 @@ async function showSkills(options, name) {
301
301
  }
302
302
  if (name) {
303
303
  const markdown = await response.text();
304
- _chunkVLUBEMWMjs.printCommandEnvelope.call(void 0,
304
+ _chunkEV3OPDHFjs.printCommandEnvelope.call(void 0,
305
305
  { ok: true, status: "completed", skill: { name, markdown } },
306
306
  { json: options.json, text: markdown }
307
307
  );
@@ -311,7 +311,7 @@ async function showSkills(options, name) {
311
311
  const skills = (_nullishCoalesce(index.skills, () => ( []))).filter(
312
312
  (skill) => skill.install_surface === "v1" && skill.name
313
313
  );
314
- _chunkVLUBEMWMjs.printCommandEnvelope.call(void 0,
314
+ _chunkEV3OPDHFjs.printCommandEnvelope.call(void 0,
315
315
  {
316
316
  ok: true,
317
317
  status: "completed",
@@ -328,7 +328,7 @@ Read one with: deepline skills show <name>
328
328
  );
329
329
  return 0;
330
330
  } catch (error) {
331
- _chunkVLUBEMWMjs.printCommandEnvelope.call(void 0,
331
+ _chunkEV3OPDHFjs.printCommandEnvelope.call(void 0,
332
332
  {
333
333
  ok: false,
334
334
  status: "failed",
@@ -351,7 +351,7 @@ async function runSkillsCommand(options, dependencies = {}) {
351
351
  scope = normalizeScope(options.scope);
352
352
  root = scope === "local" ? resolveLocalRoot() : null;
353
353
  } catch (error) {
354
- _chunkVLUBEMWMjs.printCommandEnvelope.call(void 0,
354
+ _chunkEV3OPDHFjs.printCommandEnvelope.call(void 0,
355
355
  {
356
356
  ok: false,
357
357
  status: "failed",
@@ -363,22 +363,22 @@ async function runSkillsCommand(options, dependencies = {}) {
363
363
  );
364
364
  return 2;
365
365
  }
366
- const baseUrl = _chunk2QYU57RGjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
366
+ const baseUrl = _chunkAO56MZ7Djs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
367
367
  const catalog = {
368
- skillNames: [..._chunkI62ZBEKHjs.DEFAULT_SDK_SKILL_NAMES],
369
- version: _chunkIB225ZK4js.SDK_VERSION
368
+ skillNames: [..._chunkG4WPDCXAjs.DEFAULT_SDK_SKILL_NAMES],
369
+ version: _chunkKNCNFL76js.SDK_VERSION
370
370
  };
371
371
  const agents = options.agent ? [options.agent] : detectSkillsAgents({ scope, root });
372
372
  const plan = buildSkillsPlan({ baseUrl, scope, root, agents, ...catalog });
373
373
  if (options.dryRun) {
374
- _chunkVLUBEMWMjs.printCommandEnvelope.call(void 0,
374
+ _chunkEV3OPDHFjs.printCommandEnvelope.call(void 0,
375
375
  { ok: true, status: "planned", dryRun: true, ...plan },
376
376
  { json: options.json }
377
377
  );
378
378
  return 0;
379
379
  }
380
- if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !_chunkI62ZBEKHjs.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
381
- _chunkVLUBEMWMjs.printCommandEnvelope.call(void 0,
380
+ if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !_chunkG4WPDCXAjs.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
381
+ _chunkEV3OPDHFjs.printCommandEnvelope.call(void 0,
382
382
  {
383
383
  ok: true,
384
384
  status: "current",
@@ -410,10 +410,10 @@ async function runSkillsCommand(options, dependencies = {}) {
410
410
  }
411
411
  if (scope === "local" && root) {
412
412
  const managedNames = [
413
- .../* @__PURE__ */ new Set([...plan.skillNames, ..._chunkI62ZBEKHjs.LEGACY_SKILL_NAMES_TO_REMOVE])
413
+ .../* @__PURE__ */ new Set([...plan.skillNames, ..._chunkG4WPDCXAjs.LEGACY_SKILL_NAMES_TO_REMOVE])
414
414
  ];
415
415
  const agentRoots = workspaceSkillRootsForAgents(plan.agents);
416
- _chunk2QYU57RGjs.ensureProjectPrivatePathsIgnored.call(void 0, root, [
416
+ _chunkAO56MZ7Djs.ensureProjectPrivatePathsIgnored.call(void 0, root, [
417
417
  ".deepline/",
418
418
  ...agentRoots.flatMap(
419
419
  (agentRoot) => managedNames.map((name) => `${agentRoot}/skills/${name}/`)
@@ -422,7 +422,7 @@ async function runSkillsCommand(options, dependencies = {}) {
422
422
  }
423
423
  let lease;
424
424
  try {
425
- lease = scope === "global" ? await _chunkI62ZBEKHjs.acquireSkillsInstallLease.call(void 0, baseUrl, agents, plan.version, {
425
+ lease = scope === "global" ? await _chunkG4WPDCXAjs.acquireSkillsInstallLease.call(void 0, baseUrl, agents, plan.version, {
426
426
  waitMs: _nullishCoalesce(dependencies.installLeaseWaitMs, () => ( SKILLS_INSTALL_LEASE_WAIT_MS)),
427
427
  onWait: () => process.stderr.write(
428
428
  "Waiting for a background Deepline skills refresh to finish...\n"
@@ -430,8 +430,8 @@ async function runSkillsCommand(options, dependencies = {}) {
430
430
  }) : { release: () => {
431
431
  } };
432
432
  } catch (error) {
433
- if (!(error instanceof _chunkI62ZBEKHjs.SkillsStateUnavailableError)) throw error;
434
- _chunkVLUBEMWMjs.printCommandEnvelope.call(void 0,
433
+ if (!(error instanceof _chunkG4WPDCXAjs.SkillsStateUnavailableError)) throw error;
434
+ _chunkEV3OPDHFjs.printCommandEnvelope.call(void 0,
435
435
  {
436
436
  ok: false,
437
437
  status: "failed",
@@ -447,7 +447,7 @@ async function runSkillsCommand(options, dependencies = {}) {
447
447
  return 5;
448
448
  }
449
449
  if (!lease) {
450
- _chunkVLUBEMWMjs.printCommandEnvelope.call(void 0,
450
+ _chunkEV3OPDHFjs.printCommandEnvelope.call(void 0,
451
451
  {
452
452
  ok: false,
453
453
  status: "failed",
@@ -456,7 +456,7 @@ async function runSkillsCommand(options, dependencies = {}) {
456
456
  scope,
457
457
  agents,
458
458
  message: "A background Deepline skills refresh is still running for these agents.",
459
- next: `Retry in a moment: deepline skills install --scope ${scope}. If no refresh is running, remove ${_chunkI62ZBEKHjs.skillsInstallLeasePath.call(void 0, baseUrl, agents)}`
459
+ next: `Retry in a moment: deepline skills install --scope ${scope}. If no refresh is running, remove ${_chunkG4WPDCXAjs.skillsInstallLeasePath.call(void 0, baseUrl, agents)}`
460
460
  },
461
461
  { json: options.json }
462
462
  );
@@ -505,7 +505,7 @@ async function runSkillsInstallWithLease(input) {
505
505
  }
506
506
  }
507
507
  } catch (error) {
508
- _chunkVLUBEMWMjs.printCommandEnvelope.call(void 0,
508
+ _chunkEV3OPDHFjs.printCommandEnvelope.call(void 0,
509
509
  {
510
510
  ok: false,
511
511
  status: "failed",
@@ -521,7 +521,7 @@ async function runSkillsInstallWithLease(input) {
521
521
  return 5;
522
522
  }
523
523
  if (missing.length > 0) {
524
- _chunkVLUBEMWMjs.printCommandEnvelope.call(void 0,
524
+ _chunkEV3OPDHFjs.printCommandEnvelope.call(void 0,
525
525
  {
526
526
  ok: false,
527
527
  status: "failed",
@@ -561,7 +561,7 @@ async function runSkillsInstallWithLease(input) {
561
561
  {
562
562
  schemaVersion: 1,
563
563
  installedAt: (/* @__PURE__ */ new Date()).toISOString(),
564
- cliVersion: _chunkIB225ZK4js.SDK_VERSION,
564
+ cliVersion: _chunkKNCNFL76js.SDK_VERSION,
565
565
  scope,
566
566
  agents,
567
567
  skillsVersion: plan.version,
@@ -574,9 +574,9 @@ async function runSkillsInstallWithLease(input) {
574
574
  "utf8"
575
575
  );
576
576
  if (scope === "global") {
577
- _chunkI62ZBEKHjs.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
577
+ _chunkG4WPDCXAjs.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
578
578
  }
579
- _chunkVLUBEMWMjs.printCommandEnvelope.call(void 0,
579
+ _chunkEV3OPDHFjs.printCommandEnvelope.call(void 0,
580
580
  {
581
581
  ok: true,
582
582
  status: "complete",
@@ -625,7 +625,7 @@ Examples:
625
625
  "after",
626
626
  `
627
627
  Notes:
628
- This command reinstalls current Deepline-managed skills using ${_chunkI62ZBEKHjs.SKILLS_NPX_PACKAGE},
628
+ This command reinstalls current Deepline-managed skills using ${_chunkG4WPDCXAjs.SKILLS_NPX_PACKAGE},
629
629
  then removes legacy Deepline skill names. Local scope writes into the resolved
630
630
  persistent project.
631
631
 
@@ -637,13 +637,13 @@ Examples:
637
637
  ).action(async (options) => {
638
638
  process.exitCode = await runSkillsCommand(options);
639
639
  });
640
- program.command(_chunkI62ZBEKHjs.SKILLS_AUTO_SYNC_COMMAND, { hidden: true }).description("Refresh Deepline agent skills in the background.").option(
640
+ program.command(_chunkG4WPDCXAjs.SKILLS_AUTO_SYNC_COMMAND, { hidden: true }).description("Refresh Deepline agent skills in the background.").option(
641
641
  "--claim <token>",
642
642
  "Owner token of the leases this child was started for."
643
643
  ).action(async (options) => {
644
644
  const claim = _optionalChain([options, 'access', _9 => _9.claim, 'optionalAccess', _10 => _10.trim, 'call', _11 => _11()]);
645
645
  if (!claim) {
646
- _chunkVLUBEMWMjs.printCommandEnvelope.call(void 0,
646
+ _chunkEV3OPDHFjs.printCommandEnvelope.call(void 0,
647
647
  {
648
648
  ok: false,
649
649
  status: "failed",
@@ -656,7 +656,7 @@ Examples:
656
656
  process.exitCode = 2;
657
657
  return;
658
658
  }
659
- await _chunkI62ZBEKHjs.syncSdkSkillsIfNeeded.call(void 0, _chunk2QYU57RGjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
659
+ await _chunkG4WPDCXAjs.syncSdkSkillsIfNeeded.call(void 0, _chunkAO56MZ7Djs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
660
660
  mode: "inline",
661
661
  notices: "defer",
662
662
  claim