deepline 0.3.550 → 0.3.552

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 (192) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +23 -0
  2. package/dist/bundling-sources/sdk/src/http-core.ts +6 -2
  3. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  4. package/dist/bundling-sources/sdk/src/runs/watch-polling.ts +58 -29
  5. package/dist/bundling-sources/sdk/src/types.ts +22 -0
  6. package/dist/bundling-sources/shared_libs/integration-contracts/tool-connection.ts +42 -0
  7. package/dist/bundling-sources/shared_libs/monitors/package.json +2 -0
  8. package/dist/bundling-sources/shared_libs/monitors/provider-monitor-upstream-identity.ts +80 -13
  9. package/dist/bundling-sources/shared_libs/monitors/snitcher-ip2company.ts +31 -0
  10. package/dist/bundling-sources/shared_libs/monitors/tamradar-countries.ts +285 -0
  11. package/dist/bundling-sources/shared_libs/monitors/tracking-provider-guidance.ts +1 -0
  12. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +163 -0
  13. package/dist/bundling-sources/shared_libs/play-runtime/activity-observation.ts +2 -0
  14. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +137 -0
  15. package/dist/bundling-sources/shared_libs/play-runtime/durable-runs-rollout.ts +12 -0
  16. package/dist/bundling-sources/shared_libs/play-runtime/experiment-switches.ts +20 -16
  17. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +47 -14
  18. package/dist/bundling-sources/shared_libs/play-runtime/runtime-api.ts +48 -3
  19. package/dist/bundling-sources/shared_libs/play-runtime/runtime-constants.ts +9 -0
  20. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +187 -16
  21. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-rate-state.ts +102 -29
  22. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +854 -3
  23. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-event-search.ts +15 -1
  24. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-capacity.ts +6 -2
  25. package/dist/bundling-sources/shared_libs/play-runtime/tool-result.ts +37 -7
  26. package/dist/bundling-sources/shared_libs/plays/share/static-pipeline-summary.ts +43 -0
  27. package/dist/bundling-sources/shared_libs/product-notifications/billing-sales.ts +1 -0
  28. package/dist/bundling-sources/shared_libs/product-notifications/catalog.ts +38 -5
  29. package/dist/bundling-sources/shared_libs/product-notifications/default-policy.ts +1 -1
  30. package/dist/bundling-sources/shared_libs/product-notifications/events.ts +16 -0
  31. package/dist/cli/{auth-UJCAHGZG.mjs → auth-KVSBJZOX.mjs} +5 -5
  32. package/dist/cli/auth-MMNVWATX.js +43 -0
  33. package/dist/cli/{billing-RYWMI7JJ.mjs → billing-54RHFEBI.mjs} +20 -13
  34. package/dist/cli/{billing-VO2O5O5O.js → billing-FQREA7UA.js} +109 -102
  35. package/dist/cli/chunk-2RIKOPIM.mjs +9 -0
  36. package/dist/cli/{chunk-XYIECA7M.js → chunk-2WFPHBR4.js} +30 -8
  37. package/dist/cli/{chunk-SBNNK73L.js → chunk-3FD5EQ62.js} +6 -6
  38. package/dist/cli/{chunk-JLFOQRWM.js → chunk-45PVGZST.js} +270 -270
  39. package/dist/cli/{chunk-YSYOQYZE.js → chunk-4MK42735.js} +48 -44
  40. package/dist/cli/{chunk-2IW5GKB4.js → chunk-4NQF6KJ3.js} +13 -13
  41. package/dist/cli/{chunk-72NXIFOT.mjs → chunk-4TALT2M3.mjs} +1 -1
  42. package/dist/cli/{chunk-ADWMIZCB.js → chunk-4UUR4TCH.js} +22 -13
  43. package/dist/cli/{chunk-EMPXPEIQ.mjs → chunk-57VZVF5D.mjs} +3 -3
  44. package/dist/cli/{chunk-5J3TRWTB.js → chunk-634ZDA3F.js} +1 -1
  45. package/dist/cli/{chunk-FMXLQHM2.mjs → chunk-6O5HOODW.mjs} +13 -13
  46. package/dist/cli/{chunk-HCFH2V27.mjs → chunk-6PRW5UBA.mjs} +3 -2
  47. package/dist/cli/{chunk-N2Y2IGNB.mjs → chunk-6RZOWL2V.mjs} +1 -1
  48. package/dist/cli/{chunk-JKLDCFY5.js → chunk-6YCA5NKJ.js} +11 -11
  49. package/dist/cli/{chunk-5LUF4LAR.mjs → chunk-6ZORHRKB.mjs} +1 -0
  50. package/dist/cli/{chunk-DGUTBLXF.js → chunk-77AAAGVB.js} +3 -2
  51. package/dist/cli/{chunk-OKNOQRQ3.js → chunk-7IKQKKNX.js} +3 -3
  52. package/dist/cli/{chunk-JYUIIDZO.js → chunk-ADRC5I3R.js} +23 -22
  53. package/dist/cli/{chunk-IZCPOX7X.mjs → chunk-AQWQ2BFX.mjs} +1 -1
  54. package/dist/cli/{chunk-7BWMCVYU.mjs → chunk-AWJPDPMA.mjs} +1 -1
  55. package/dist/cli/{chunk-S6XOKGBF.mjs → chunk-AZQ264ID.mjs} +1 -1
  56. package/dist/cli/{chunk-EU23QOJ6.js → chunk-BAIST2BR.js} +26 -26
  57. package/dist/cli/{chunk-6P7TGCHQ.mjs → chunk-BGBJV26E.mjs} +10 -3
  58. package/dist/cli/{chunk-COHCKZQK.mjs → chunk-DJ2JDK4O.mjs} +2 -1
  59. package/dist/cli/{chunk-E4S7OE7B.mjs → chunk-EOPEYCY7.mjs} +3 -3
  60. package/dist/cli/{chunk-LUULRAQB.mjs → chunk-EUPVF4SU.mjs} +10 -7
  61. package/dist/cli/{chunk-TB3WT76F.js → chunk-F2LH7TGF.js} +23 -20
  62. package/dist/cli/{chunk-UL7HWZO7.mjs → chunk-FTJLJCE5.mjs} +2 -2
  63. package/dist/cli/{chunk-3WG2GURT.js → chunk-G4O75EXF.js} +9 -9
  64. package/dist/cli/{chunk-7AOFSZJM.mjs → chunk-GGGAEVCX.mjs} +23 -1
  65. package/dist/cli/{chunk-R5CYKRA2.js → chunk-GKYAYLRI.js} +12 -12
  66. package/dist/cli/{chunk-UV4RU2TE.js → chunk-H4ALLC2X.js} +2 -0
  67. package/dist/cli/{chunk-LWHWMU4V.js → chunk-HO3XK3R7.js} +7 -7
  68. package/dist/cli/{chunk-E2QVWDDW.mjs → chunk-HYC4MKGK.mjs} +3 -3
  69. package/dist/cli/{chunk-KSUTNW3X.js → chunk-IDVVIXPJ.js} +42 -41
  70. package/dist/cli/{chunk-BJO7ZXAK.js → chunk-IHRKLXZN.js} +5 -5
  71. package/dist/cli/{chunk-ZQZOYGDC.mjs → chunk-IYSTRCLX.mjs} +5 -4
  72. package/dist/cli/{chunk-SMLWC7PM.js → chunk-JWUAX6OP.js} +10 -10
  73. package/dist/cli/{chunk-RKF263LR.js → chunk-KWSH5T7K.js} +25 -18
  74. package/dist/cli/{chunk-I62PCYU6.js → chunk-MF2GHZDO.js} +2 -2
  75. package/dist/cli/{chunk-XKE2PGZ2.js → chunk-PFO3ISXA.js} +26 -15
  76. package/dist/cli/{chunk-MXEYNRTZ.mjs → chunk-PTVD2GVQ.mjs} +6 -5
  77. package/dist/cli/{chunk-QD2KT7II.mjs → chunk-QAORXEY3.mjs} +2 -2
  78. package/dist/cli/{chunk-2AKS64KJ.mjs → chunk-QILKGXYF.mjs} +2 -2
  79. package/dist/cli/{chunk-DJWM5OOY.mjs → chunk-QPKH23EC.mjs} +4 -4
  80. package/dist/cli/{chunk-MAE3AKDR.mjs → chunk-QX7LFGJR.mjs} +18 -9
  81. package/dist/cli/{chunk-CIBQVA6V.mjs → chunk-QY3ZNU6Z.mjs} +2 -2
  82. package/dist/cli/{chunk-MJDQZYKO.js → chunk-RBEUVDZF.js} +10 -6
  83. package/dist/cli/{chunk-RS6ZSKX6.js → chunk-RQZQVFCJ.js} +2 -2
  84. package/dist/cli/{chunk-QNWNR6DG.js → chunk-S46HWQKO.js} +53 -53
  85. package/dist/cli/{chunk-4NQWUUOH.mjs → chunk-S5S355UY.mjs} +2 -2
  86. package/dist/cli/{chunk-NM3AYEDI.js → chunk-SHLFOPD6.js} +5 -5
  87. package/dist/cli/{chunk-K7JZV4QW.mjs → chunk-U7QRMBIY.mjs} +2 -2
  88. package/dist/cli/{chunk-ECWOIXAV.js → chunk-UPMRIVZB.js} +14 -12
  89. package/dist/cli/{chunk-R7J7CJPZ.js → chunk-V436Z54K.js} +1 -0
  90. package/dist/cli/{chunk-RINUMR6C.js → chunk-VQALXEXO.js} +20 -19
  91. package/dist/cli/{chunk-F2RXBNT5.mjs → chunk-WE5HES3H.mjs} +7 -5
  92. package/dist/cli/{chunk-GWNYLIF7.mjs → chunk-WEHCBH5R.mjs} +4 -2
  93. package/dist/cli/{chunk-SZNX3XU3.js → chunk-WLN3SUIA.js} +3 -3
  94. package/dist/cli/{chunk-3W44AJOE.js → chunk-XVB7V4N7.js} +18 -16
  95. package/dist/cli/{chunk-HEVUFICQ.mjs → chunk-YJHE3O5M.mjs} +9 -5
  96. package/dist/cli/{chunk-GVW5V562.mjs → chunk-YLTMXJFC.mjs} +7 -3
  97. package/dist/cli/{chunk-TL3WIXDH.mjs → chunk-Z5TSLLOW.mjs} +19 -8
  98. package/dist/cli/{chunk-KLQILE2I.mjs → chunk-ZIAXDBXX.mjs} +2 -2
  99. package/dist/cli/command-docs.js +4 -4
  100. package/dist/cli/command-docs.mjs +3 -3
  101. package/dist/cli/concurrent-runs-help-FQAIHKKC.js +21 -0
  102. package/dist/cli/{concurrent-runs-help-766HVJR3.mjs → concurrent-runs-help-Q4KPAUJX.mjs} +7 -7
  103. package/dist/cli/{csv-VU52KZOX.mjs → csv-2PTVDNO6.mjs} +10 -5
  104. package/dist/cli/{csv-4DZKGYCU.js → csv-F5VAGX4K.js} +19 -14
  105. package/dist/cli/{db-UBGW373S.mjs → db-IEDXAUF7.mjs} +6 -6
  106. package/dist/cli/{db-KPIH4HPW.js → db-Z3OIUFMM.js} +27 -27
  107. package/dist/cli/{describe-NGITP6RA.mjs → describe-QDANCTS3.mjs} +21 -21
  108. package/dist/cli/describe-VUTT5ZKU.js +50 -0
  109. package/dist/cli/describe-core.d.mts +4 -2
  110. package/dist/cli/describe-core.d.ts +4 -2
  111. package/dist/cli/describe-core.js +4 -4
  112. package/dist/cli/describe-core.mjs +3 -3
  113. package/dist/cli/{executions-G3X25U3V.js → executions-H6H5655J.js} +8 -8
  114. package/dist/cli/{executions-CO5UF3CV.mjs → executions-R3LP74QN.mjs} +6 -6
  115. package/dist/cli/{feedback-ZYF65WPH.js → feedback-VFOUR66B.js} +14 -14
  116. package/dist/cli/{feedback-M2L5DVN2.mjs → feedback-WL3MRVT5.mjs} +6 -6
  117. package/dist/cli/git-ETB3GH3K.js +25 -0
  118. package/dist/cli/{git-AYJD5CLS.mjs → git-YX2J4GCI.mjs} +5 -5
  119. package/dist/cli/index.js +148 -148
  120. package/dist/cli/index.mjs +47 -47
  121. package/dist/cli/{integrations-LKEGGTZO.mjs → integrations-5ZK5KLVP.mjs} +7 -7
  122. package/dist/cli/{integrations-GSXXJ4CF.js → integrations-E2JZYKHS.js} +15 -15
  123. package/dist/cli/{legacy-noops-MZDLLEKN.js → legacy-noops-3VW4IJTH.js} +9 -9
  124. package/dist/cli/{legacy-noops-UF4GKMD4.mjs → legacy-noops-SMN3GSXY.mjs} +6 -6
  125. package/dist/cli/{mcp-RTNC6LP3.js → mcp-UQV2K4EW.js} +24 -24
  126. package/dist/cli/{mcp-NHQ6RMBP.mjs → mcp-V6MGCYAG.mjs} +4 -4
  127. package/dist/cli/{monitors-NC4ZR5DH.mjs → monitors-GGKS5W6M.mjs} +7 -7
  128. package/dist/cli/{monitors-WMWB6EKQ.js → monitors-R3BBDCRC.js} +100 -100
  129. package/dist/cli/{org-33Q7CXJB.js → org-GRYVMNSW.js} +88 -88
  130. package/dist/cli/{org-ZXUSYREQ.mjs → org-Z37NGJV4.mjs} +6 -6
  131. package/dist/cli/{play-N24XV6TI.js → play-2MVO27VO.js} +332 -332
  132. package/dist/cli/{play-IPWFGNRE.mjs → play-MDWPR4XG.mjs} +19 -19
  133. package/dist/cli/{providers-AUI7MMQS.js → providers-2AACRUZH.js} +9 -9
  134. package/dist/cli/{providers-MSVE7UZS.mjs → providers-AKDYFZJZ.mjs} +6 -6
  135. package/dist/cli/{quickstart-PSC6VTRI.js → quickstart-H6IV3PV3.js} +6 -6
  136. package/dist/cli/{quickstart-OME5XMW5.mjs → quickstart-QDGRJFZY.mjs} +4 -4
  137. package/dist/cli/{run-UTIX7CJY.js → run-2634REDK.js} +47 -47
  138. package/dist/cli/{run-EYTT2DHO.mjs → run-RTSQNGRD.mjs} +26 -26
  139. package/dist/cli/{search-FVE7PM72.mjs → search-6AOJ4XPP.mjs} +7 -7
  140. package/dist/cli/search-VTW2YNBS.js +32 -0
  141. package/dist/cli/{search-output-TQMY6BDG.mjs → search-output-6ADMTOU5.mjs} +40 -10
  142. package/dist/cli/{search-output-O463JNLR.js → search-output-S5ODBL5E.js} +43 -13
  143. package/dist/cli/{secrets-TWZ2GO73.js → secrets-LHCIIHMT.js} +15 -15
  144. package/dist/cli/{secrets-KCJJAHQB.mjs → secrets-TFIFBFB3.mjs} +6 -6
  145. package/dist/cli/sessions-CJ4FJ2WB.js +22 -0
  146. package/dist/cli/{sessions-ZCWAA7QL.mjs → sessions-WHBVUHVW.mjs} +6 -6
  147. package/dist/cli/{settings-SCR654U7.js → settings-CP4FVK2W.js} +85 -85
  148. package/dist/cli/{settings-4JFKCKII.mjs → settings-EBONWL5C.mjs} +12 -12
  149. package/dist/cli/{setup-Q2YOPGOI.mjs → setup-I5AZE3IU.mjs} +15 -10
  150. package/dist/cli/{setup-O6GH3UWT.js → setup-LFGHTNLQ.js} +55 -50
  151. package/dist/cli/skills-R7EBXREW.js +36 -0
  152. package/dist/cli/{skills-QHPZ6H2G.mjs → skills-W76AO5XE.mjs} +7 -7
  153. package/dist/cli/{tools-YO22H46E.mjs → tools-7IJHGF6W.mjs} +19 -19
  154. package/dist/cli/tools-V7U2BDXM.js +57 -0
  155. package/dist/cli/update-4COPZETK.js +34 -0
  156. package/dist/cli/{update-WHBC5IHE.mjs → update-GFOPZTHY.mjs} +9 -9
  157. package/dist/cli/{views-4CZJ5BLG.js → views-BPL2TQJ4.js} +21 -21
  158. package/dist/cli/{views-XNLXV2BT.mjs → views-D4NX4SBG.mjs} +6 -6
  159. package/dist/cli/{workflow-QUWP2CG2.mjs → workflow-YXP42FUI.mjs} +7 -7
  160. package/dist/cli/{workflow-C4VBARIE.js → workflow-ZYNAUCKC.js} +17 -17
  161. package/dist/{client-Ceo295L2.d.ts → client-Bf3IpUKN.d.ts} +1 -1
  162. package/dist/{client-BEJqhQAj.d.mts → client-CyXGrO4D.d.mts} +1 -1
  163. package/dist/{client-core-BPYuWfBC.d.ts → client-core-BWd0lX0Z.d.ts} +110 -4
  164. package/dist/{client-core-BqetRxx-.d.mts → client-core-BxsLnXlm.d.mts} +110 -4
  165. package/dist/index.d.mts +3 -3
  166. package/dist/index.d.ts +3 -3
  167. package/dist/index.js +9 -9
  168. package/dist/index.mjs +6 -6
  169. package/dist/install-integrity.json +127 -126
  170. package/dist/plays/play-description.d.mts +1 -1
  171. package/dist/plays/play-description.d.ts +1 -1
  172. package/dist/plays/run-request.d.mts +1 -1
  173. package/dist/plays/run-request.d.ts +1 -1
  174. package/dist/release.d.mts +1 -1
  175. package/dist/release.d.ts +1 -1
  176. package/dist/release.js +2 -2
  177. package/dist/release.mjs +1 -1
  178. package/dist/server.d.mts +2 -2
  179. package/dist/server.d.ts +2 -2
  180. package/dist/server.js +5 -5
  181. package/dist/server.mjs +3 -3
  182. package/package.json +1 -1
  183. package/dist/cli/auth-J4OW5RNJ.js +0 -43
  184. package/dist/cli/chunk-NIPLY25A.mjs +0 -7
  185. package/dist/cli/concurrent-runs-help-3XZIHVRP.js +0 -21
  186. package/dist/cli/describe-4BI6E2CM.js +0 -50
  187. package/dist/cli/git-QRZP4DNA.js +0 -25
  188. package/dist/cli/search-CQ6JG2EN.js +0 -32
  189. package/dist/cli/sessions-LMPXUPUH.js +0 -22
  190. package/dist/cli/skills-M4CFE65Z.js +0 -36
  191. package/dist/cli/tools-CV7XA2V6.js +0 -57
  192. package/dist/cli/update-PUWBKPWJ.js +0 -34
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } 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 _chunkSZNX3XU3js = require('./chunk-SZNX3XU3.js');
3
+ var _chunkWLN3SUIAjs = require('./chunk-WLN3SUIA.js');
4
4
 
5
5
 
6
- var _chunkRINUMR6Cjs = require('./chunk-RINUMR6C.js');
6
+ var _chunkVQALXEXOjs = require('./chunk-VQALXEXO.js');
7
7
 
8
8
 
9
9
 
@@ -14,17 +14,17 @@ var _chunkRINUMR6Cjs = require('./chunk-RINUMR6C.js');
14
14
 
15
15
 
16
16
 
17
- var _chunkOKNOQRQ3js = require('./chunk-OKNOQRQ3.js');
17
+ var _chunk7IKQKKNXjs = require('./chunk-7IKQKKNX.js');
18
18
 
19
19
 
20
20
 
21
21
 
22
22
 
23
23
 
24
- var _chunkMJDQZYKOjs = require('./chunk-MJDQZYKO.js');
24
+ var _chunkRBEUVDZFjs = require('./chunk-RBEUVDZF.js');
25
25
 
26
26
 
27
- var _chunk5J3TRWTBjs = require('./chunk-5J3TRWTB.js');
27
+ var _chunk634ZDA3Fjs = require('./chunk-634ZDA3F.js');
28
28
 
29
29
  // src/compat.ts
30
30
  var _crypto = require('crypto');
@@ -59,7 +59,7 @@ function shouldSkipCompatibilityCheck() {
59
59
  return value === "1" || value === "true" || value === "yes";
60
60
  }
61
61
  function sdkCompatibilityCachePath(baseUrl, homeDir = _optionalChain([process, 'access', _7 => _7.env, 'access', _8 => _8.HOME, 'optionalAccess', _9 => _9.trim, 'call', _10 => _10()]) || _os.homedir.call(void 0, )) {
62
- return _path.join.call(void 0, _chunkOKNOQRQ3js.sdkCliStateDirPath.call(void 0, baseUrl, homeDir), "compat-cache.json");
62
+ return _path.join.call(void 0, _chunk7IKQKKNXjs.sdkCliStateDirPath.call(void 0, baseUrl, homeDir), "compat-cache.json");
63
63
  }
64
64
  function legacySdkCompatibilityCachePath(homeDir = _optionalChain([process, 'access', _11 => _11.env, 'access', _12 => _12.HOME, 'optionalAccess', _13 => _13.trim, 'call', _14 => _14()]) || _os.homedir.call(void 0, )) {
65
65
  return _path.join.call(void 0, homeDir, ".cache", "deepline", "sdk-compat-cache.json");
@@ -67,9 +67,9 @@ function legacySdkCompatibilityCachePath(homeDir = _optionalChain([process, 'acc
67
67
  function compatibilityCacheKey(baseUrl, command, skillsVersion) {
68
68
  return JSON.stringify({
69
69
  baseUrl: baseUrl.replace(/\/$/, ""),
70
- version: _chunkMJDQZYKOjs.SDK_VERSION,
71
- apiContract: _chunkMJDQZYKOjs.SDK_API_CONTRACT,
72
- apiMajor: _chunkMJDQZYKOjs.SDK_API_MAJOR,
70
+ version: _chunkRBEUVDZFjs.SDK_VERSION,
71
+ apiContract: _chunkRBEUVDZFjs.SDK_API_CONTRACT,
72
+ apiMajor: _chunkRBEUVDZFjs.SDK_API_MAJOR,
73
73
  command: _optionalChain([command, 'optionalAccess', _15 => _15.trim, 'call', _16 => _16()]) || null,
74
74
  skillsVersion: _nullishCoalesce(skillsVersion, () => ( null))
75
75
  });
@@ -77,8 +77,8 @@ function compatibilityCacheKey(baseUrl, command, skillsVersion) {
77
77
  function legacyCompatibilityCacheKey(baseUrl, command) {
78
78
  return JSON.stringify({
79
79
  baseUrl: baseUrl.replace(/\/$/, ""),
80
- version: _chunkMJDQZYKOjs.SDK_VERSION,
81
- apiContract: _chunkMJDQZYKOjs.SDK_API_CONTRACT,
80
+ version: _chunkRBEUVDZFjs.SDK_VERSION,
81
+ apiContract: _chunkRBEUVDZFjs.SDK_API_CONTRACT,
82
82
  command: _optionalChain([command, 'optionalAccess', _17 => _17.trim, 'call', _18 => _18()]) || null
83
83
  });
84
84
  }
@@ -103,7 +103,7 @@ function isSavedWithin(savedAt, windowMs, now) {
103
103
  }
104
104
  var UPDATE_ADVISORY_INTERVAL_MS = 24 * 60 * 60 * 1e3;
105
105
  function claimUpdateAdvisory(baseUrl, now = Date.now()) {
106
- const path = _path.join.call(void 0, _chunkOKNOQRQ3js.sdkCliStateDirPath.call(void 0, baseUrl), "update-advisory.json");
106
+ const path = _path.join.call(void 0, _chunk7IKQKKNXjs.sdkCliStateDirPath.call(void 0, baseUrl), "update-advisory.json");
107
107
  try {
108
108
  const { shownAt } = JSON.parse(_fs.readFileSync.call(void 0, path, "utf8"));
109
109
  if (isSavedWithin(shownAt, UPDATE_ADVISORY_INTERVAL_MS, now)) return false;
@@ -190,7 +190,7 @@ async function checkSdkCompatibility(baseUrl, options = {}) {
190
190
  );
191
191
  try {
192
192
  const url = new URL("/api/v2/sdk/compat", baseUrl);
193
- url.searchParams.set("version", _chunkMJDQZYKOjs.SDK_VERSION);
193
+ url.searchParams.set("version", _chunkRBEUVDZFjs.SDK_VERSION);
194
194
  if (_optionalChain([options, 'access', _34 => _34.command, 'optionalAccess', _35 => _35.trim, 'call', _36 => _36()])) {
195
195
  url.searchParams.set("command", options.command.trim());
196
196
  }
@@ -198,7 +198,7 @@ async function checkSdkCompatibility(baseUrl, options = {}) {
198
198
  url.searchParams.set("skills_version", _nullishCoalesce(options.skillsVersion, () => ( "")));
199
199
  url.searchParams.set(
200
200
  "skills_cli_capability",
201
- String(_chunk5J3TRWTBjs.SDK_RELEASE.packageCapabilities.skillsGuidance)
201
+ String(_chunk634ZDA3Fjs.SDK_RELEASE.packageCapabilities.skillsGuidance)
202
202
  );
203
203
  }
204
204
  if (options.catalog) {
@@ -210,14 +210,14 @@ async function checkSdkCompatibility(baseUrl, options = {}) {
210
210
  const response = await fetch(url, {
211
211
  method: "GET",
212
212
  headers: {
213
- ..._chunkMJDQZYKOjs.deploymentProtectionHeaders.call(void 0, ),
214
- "User-Agent": `deepline-ts-sdk/${_chunkMJDQZYKOjs.SDK_VERSION}`,
215
- "X-Deepline-SDK-Version": _chunkMJDQZYKOjs.SDK_VERSION,
216
- "X-Deepline-API-Major": String(_chunkMJDQZYKOjs.SDK_API_MAJOR),
217
- "X-Deepline-API-Contract": _chunkMJDQZYKOjs.SDK_API_CONTRACT,
213
+ ..._chunkRBEUVDZFjs.deploymentProtectionHeaders.call(void 0, ),
214
+ "User-Agent": `deepline-ts-sdk/${_chunkRBEUVDZFjs.SDK_VERSION}`,
215
+ "X-Deepline-SDK-Version": _chunkRBEUVDZFjs.SDK_VERSION,
216
+ "X-Deepline-API-Major": String(_chunkRBEUVDZFjs.SDK_API_MAJOR),
217
+ "X-Deepline-API-Contract": _chunkRBEUVDZFjs.SDK_API_CONTRACT,
218
218
  "X-Deepline-CLI-Update-Preferences": "1",
219
219
  "X-Deepline-CLI-Auto-Update-Capability": SDK_CLI_AUTO_UPDATE_CAPABILITY,
220
- ...options.catalog ? { Authorization: `Bearer ${_chunkOKNOQRQ3js.resolveApiKeyForBaseUrl.call(void 0, baseUrl)}` } : {},
220
+ ...options.catalog ? { Authorization: `Bearer ${_chunk7IKQKKNXjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl)}` } : {},
221
221
  ..._optionalChain([options, 'access', _37 => _37.catalog, 'optionalAccess', _38 => _38.cliInvocationId]) ? { "X-Deepline-CLI-Invocation-ID": options.catalog.cliInvocationId } : {}
222
222
  },
223
223
  signal: controller.signal
@@ -386,7 +386,7 @@ function skillsSourceUrl(baseUrl) {
386
386
  function buildSkillsAddArgs(baseUrl, skillName, options = {}) {
387
387
  const skillNames = Array.isArray(skillName) ? skillName : [skillName];
388
388
  const [firstSkillName, ...extraSkillNames] = skillNames;
389
- const agents = _nullishCoalesce(options.agents, () => ( _chunkOKNOQRQ3js.DEFAULT_SKILL_AGENTS));
389
+ const agents = _nullishCoalesce(options.agents, () => ( _chunk7IKQKKNXjs.DEFAULT_SKILL_AGENTS));
390
390
  const values = {
391
391
  skills_index_url: skillsIndexUrl(baseUrl),
392
392
  skills_source_url: skillsSourceUrl(baseUrl),
@@ -514,25 +514,25 @@ var CHECK_TIMEOUT_MS2 = 3e3;
514
514
  var INSTALLER_PROBE_TIMEOUT_MS = 1e3;
515
515
  var PUBLISHED_VERIFICATION_RETRY_MS = 5 * 6e4;
516
516
  function shouldSkipSkillsSync() {
517
- if (_chunkMJDQZYKOjs.detectAgentRuntime.call(void 0, ) === "claude_cowork" || isCiEnvironment()) {
517
+ if (_chunkRBEUVDZFjs.detectAgentRuntime.call(void 0, ) === "claude_cowork" || isCiEnvironment()) {
518
518
  return true;
519
519
  }
520
520
  const value = _optionalChain([process, 'access', _57 => _57.env, 'access', _58 => _58.DEEPLINE_SKIP_SKILLS_SYNC, 'optionalAccess', _59 => _59.trim, 'call', _60 => _60(), 'access', _61 => _61.toLowerCase, 'call', _62 => _62()]);
521
521
  return value === "1" || value === "true" || value === "yes" || value === "on" || !isCliSkillsSyncEnabled();
522
522
  }
523
523
  function unavailableSkillsNoticePath(baseUrl) {
524
- return _path.join.call(void 0, _chunkOKNOQRQ3js.sdkCliStateDirPath.call(void 0, baseUrl), "skills-sync-unavailable-version");
524
+ return _path.join.call(void 0, _chunk7IKQKKNXjs.sdkCliStateDirPath.call(void 0, baseUrl), "skills-sync-unavailable-version");
525
525
  }
526
526
  var SKILLS_SYNC_IN_PROGRESS_TTL_MS = 10 * 60 * 1e3;
527
527
  var SKILLS_SYNC_IN_PROGRESS_PID_CAP_MS = 6 * 60 * 60 * 1e3;
528
- var agentLeaseSegment = _chunkOKNOQRQ3js.skillsAgentPathSegment;
528
+ var agentLeaseSegment = _chunk7IKQKKNXjs.skillsAgentPathSegment;
529
529
  function sortedLeaseAgents(agents) {
530
- const expanded = agents.includes("*") ? [...agents, ..._chunkOKNOQRQ3js.KNOWN_SKILL_AGENTS] : agents;
530
+ const expanded = agents.includes("*") ? [...agents, ..._chunk7IKQKKNXjs.KNOWN_SKILL_AGENTS] : agents;
531
531
  return [...new Set(expanded)].sort((a, b) => a.localeCompare(b));
532
532
  }
533
533
  function inProgressSkillsSyncPath(baseUrl, agent) {
534
534
  return _path.join.call(void 0,
535
- _chunkOKNOQRQ3js.sdkCliStateDirPath.call(void 0, baseUrl),
535
+ _chunk7IKQKKNXjs.sdkCliStateDirPath.call(void 0, baseUrl),
536
536
  `skills-sync-in-progress-${agentLeaseSegment(agent)}`
537
537
  );
538
538
  }
@@ -691,7 +691,7 @@ var SkillsStateUnavailableError = class extends Error {
691
691
  constructor(baseUrl, error) {
692
692
  const detail = error instanceof Error ? error.message : String(error);
693
693
  super(
694
- `Could not save skills state in ${_chunkOKNOQRQ3js.sdkCliStateDirPath.call(void 0, baseUrl)}: ${detail}`
694
+ `Could not save skills state in ${_chunk7IKQKKNXjs.sdkCliStateDirPath.call(void 0, baseUrl)}: ${detail}`
695
695
  );
696
696
  this.name = "SkillsStateUnavailableError";
697
697
  }
@@ -776,7 +776,7 @@ function skillsInstallLeasePath(baseUrl, agents) {
776
776
  }
777
777
  function deferredSkillsNoticePath(baseUrl, agents) {
778
778
  return _path.join.call(void 0,
779
- _chunkOKNOQRQ3js.sdkCliStateDirPath.call(void 0, baseUrl),
779
+ _chunk7IKQKKNXjs.sdkCliStateDirPath.call(void 0, baseUrl),
780
780
  `skills-sync-notice-${sortedLeaseAgents(agents).map(agentLeaseSegment).join("-")}`
781
781
  );
782
782
  }
@@ -810,8 +810,8 @@ function flushDeferredSkillsNotices(baseUrl, agents) {
810
810
  if (text.trim()) writeSdkSkillsStatusLine(text.trimEnd());
811
811
  }
812
812
  function flushDeferredSkillsSyncNotices(baseUrl) {
813
- if (shouldSkipSkillsSync() || _chunkOKNOQRQ3js.hasActivePluginSkills.call(void 0, )) return;
814
- const agents = _chunkOKNOQRQ3js.resolveAutoSyncSkillAgents.call(void 0, );
813
+ if (shouldSkipSkillsSync() || _chunk7IKQKKNXjs.hasActivePluginSkills.call(void 0, )) return;
814
+ const agents = _chunk7IKQKKNXjs.resolveAutoSyncSkillAgents.call(void 0, );
815
815
  if (agents.length === 0) return;
816
816
  flushDeferredSkillsNotices(baseUrl, agents);
817
817
  }
@@ -823,6 +823,7 @@ function spawnDetachedSkillsSyncChild(argv, onSpawnError, sidecarPath) {
823
823
  shell: false
824
824
  };
825
825
  const child = _child_process.spawn.call(void 0, launch.command, launch.args, {
826
+ windowsHide: true,
826
827
  detached: true,
827
828
  stdio: "ignore",
828
829
  env: process.env,
@@ -833,7 +834,7 @@ function spawnDetachedSkillsSyncChild(argv, onSpawnError, sidecarPath) {
833
834
  }
834
835
  function failedSkillsSyncPath(baseUrl, agents) {
835
836
  return _path.join.call(void 0,
836
- _chunkOKNOQRQ3js.sdkCliStateDirPath.call(void 0, baseUrl),
837
+ _chunk7IKQKKNXjs.sdkCliStateDirPath.call(void 0, baseUrl),
837
838
  `skills-sync-failed-${sortedLeaseAgents(agents).map(agentLeaseSegment).join("-")}-version`
838
839
  );
839
840
  }
@@ -862,7 +863,7 @@ function writeUnavailableSkillsNotice(baseUrl, remoteVersion, skillNames, reason
862
863
  if (hasMarkedSkillsSyncVersion(path, remoteVersion)) return;
863
864
  writeMarkedSkillsSyncVersion(path, remoteVersion);
864
865
  const probes = reason === "no-installer" ? _nullishCoalesce(knownProbes, () => ( probeInstallers())) : null;
865
- const manualCommand = _optionalChain([probes, 'optionalAccess', _66 => _66.npx]) === "missing" && probes.bunx !== "missing" ? `bunx ${buildBunxSkillsInstallArgs(baseUrl, skillNames, _chunkOKNOQRQ3js.DEFAULT_SKILL_AGENTS).map(shellQuote).join(" ")}` : `npx ${buildSkillsInstallArgs(baseUrl, skillNames).join(" ")}`;
866
+ const manualCommand = _optionalChain([probes, 'optionalAccess', _66 => _66.npx]) === "missing" && probes.bunx !== "missing" ? `bunx ${buildBunxSkillsInstallArgs(baseUrl, skillNames, _chunk7IKQKKNXjs.DEFAULT_SKILL_AGENTS).map(shellQuote).join(" ")}` : `npx ${buildSkillsInstallArgs(baseUrl, skillNames).join(" ")}`;
866
867
  const explanation = reason === "unsupported-agent" ? "the detected agent has no automatic skills sync target. Automatic sync was skipped." : _optionalChain([probes, 'optionalAccess', _67 => _67.bunx]) === "missing" && probes.npx === "missing" ? "neither `bunx` nor `npx` was found on PATH. Make one available." : `installer version check failed for ${Object.entries(_nullishCoalesce(probes, () => ( {}))).filter(([, result]) => result === "failed").map(([command]) => `\`${command}\``).join(" and ")}. Check those commands with --version.`;
867
868
  notice(
868
869
  `Deepline agent skills are out of date, but ${explanation} To install manually, run:
@@ -950,7 +951,7 @@ function buildSdkSkillNames(v1SkillNames2) {
950
951
  return sortedUniqueSkillNames(v1SkillNames2);
951
952
  }
952
953
  function isDefaultAgentSet(agents) {
953
- return agents.length === _chunkOKNOQRQ3js.DEFAULT_SKILL_AGENTS.length && agents.every((agent, index) => agent === _chunkOKNOQRQ3js.DEFAULT_SKILL_AGENTS[index]);
954
+ return agents.length === _chunk7IKQKKNXjs.DEFAULT_SKILL_AGENTS.length && agents.every((agent, index) => agent === _chunk7IKQKKNXjs.DEFAULT_SKILL_AGENTS[index]);
954
955
  }
955
956
  function safeSkillFilePath(value) {
956
957
  if (typeof value !== "string" || !value) return false;
@@ -1107,10 +1108,10 @@ async function fetchSkillsUpdate(baseUrl, localVersion) {
1107
1108
  method: "POST",
1108
1109
  headers: { "Content-Type": "application/json" },
1109
1110
  body: JSON.stringify({
1110
- sdk_cli: { version: _chunkMJDQZYKOjs.SDK_VERSION },
1111
+ sdk_cli: { version: _chunkRBEUVDZFjs.SDK_VERSION },
1111
1112
  skills: {
1112
1113
  version: localVersion,
1113
- capability: _chunk5J3TRWTBjs.SDK_RELEASE.packageCapabilities.skillsGuidance
1114
+ capability: _chunk634ZDA3Fjs.SDK_RELEASE.packageCapabilities.skillsGuidance
1114
1115
  }
1115
1116
  }),
1116
1117
  signal: controller.signal
@@ -1149,7 +1150,7 @@ function probeInstallers(timeoutMs) {
1149
1150
  }
1150
1151
  function noInstallerProbePath(baseUrl) {
1151
1152
  return _path.join.call(void 0,
1152
- _chunkOKNOQRQ3js.sdkCliStateDirPath.call(void 0, baseUrl),
1153
+ _chunk7IKQKKNXjs.sdkCliStateDirPath.call(void 0, baseUrl),
1153
1154
  "skills-sync-no-installer-unknown.json"
1154
1155
  );
1155
1156
  }
@@ -1206,6 +1207,7 @@ function dueUnknownInstallerProbes(baseUrl, remoteVersion) {
1206
1207
  function probeCommand(command, timeoutMs) {
1207
1208
  const plan = resolveShellSpawn(command, ["--version"]);
1208
1209
  const result = _child_process.spawnSync.call(void 0, plan.command, plan.args, {
1210
+ windowsHide: true,
1209
1211
  stdio: "ignore",
1210
1212
  shell: plan.shell,
1211
1213
  timeout: timeoutMs
@@ -1228,7 +1230,7 @@ function temporarySkillsSyncSkipCommand() {
1228
1230
  function resolveSkillsInstallSpawn(install, platform = process.platform) {
1229
1231
  return resolveShellSpawn(install.command, install.args, platform);
1230
1232
  }
1231
- function resolveSkillsInstallCommands(baseUrl, skillNames = DEFAULT_SDK_SKILL_NAMES, agents = _chunkOKNOQRQ3js.DEFAULT_SKILL_AGENTS, knownProbes) {
1233
+ function resolveSkillsInstallCommands(baseUrl, skillNames = DEFAULT_SDK_SKILL_NAMES, agents = _chunk7IKQKKNXjs.DEFAULT_SKILL_AGENTS, knownProbes) {
1232
1234
  const commands = [];
1233
1235
  const probes = _nullishCoalesce(knownProbes, () => ( probeInstallers()));
1234
1236
  if (probes.bunx === "available") {
@@ -1253,6 +1255,7 @@ function runOneSkillsInstall(install) {
1253
1255
  return new Promise((resolve) => {
1254
1256
  const plan = resolveSkillsInstallSpawn(install);
1255
1257
  const child = _child_process.spawn.call(void 0, plan.command, plan.args, {
1258
+ windowsHide: true,
1256
1259
  stdio: ["ignore", "ignore", "pipe"],
1257
1260
  env: process.env,
1258
1261
  shell: plan.shell
@@ -1362,6 +1365,7 @@ function runLegacySkillsCleanup(agents) {
1362
1365
  for (const candidate of candidates) {
1363
1366
  const plan = resolveShellSpawn(candidate.command, candidate.args);
1364
1367
  const result = _child_process.spawnSync.call(void 0, plan.command, plan.args, {
1368
+ windowsHide: true,
1365
1369
  stdio: "ignore",
1366
1370
  env: process.env,
1367
1371
  shell: plan.shell
@@ -1370,7 +1374,7 @@ function runLegacySkillsCleanup(agents) {
1370
1374
  }
1371
1375
  }
1372
1376
  function writeSdkSkillsStatusLine(line) {
1373
- const progress = _chunkSZNX3XU3js.getActiveCliProgress.call(void 0, );
1377
+ const progress = _chunkWLN3SUIAjs.getActiveCliProgress.call(void 0, );
1374
1378
  if (progress) {
1375
1379
  progress.writeLine(line);
1376
1380
  return;
@@ -1381,11 +1385,11 @@ function writeSdkSkillsStatusLine(line) {
1381
1385
  async function syncSdkSkillsIfNeeded(baseUrl, options = {}) {
1382
1386
  const skip = shouldSkipSkillsSync();
1383
1387
  if (skip && !options.claim) return;
1384
- const usingPluginSkills = _chunkOKNOQRQ3js.hasActivePluginSkills.call(void 0, );
1388
+ const usingPluginSkills = _chunk7IKQKKNXjs.hasActivePluginSkills.call(void 0, );
1385
1389
  if (usingPluginSkills) {
1386
1390
  return;
1387
1391
  }
1388
- const agents = _chunkOKNOQRQ3js.resolveAutoSyncSkillAgents.call(void 0, );
1392
+ const agents = _chunk7IKQKKNXjs.resolveAutoSyncSkillAgents.call(void 0, );
1389
1393
  if (options.mode === "detached" && agents.length > 0) {
1390
1394
  flushDeferredSkillsNotices(baseUrl, agents);
1391
1395
  }
@@ -1422,7 +1426,7 @@ async function syncSdkSkillsIfNeeded(baseUrl, options = {}) {
1422
1426
  return;
1423
1427
  }
1424
1428
  try {
1425
- const localVersion = _chunkOKNOQRQ3js.readSdkSkillsLocalVersion.call(void 0, baseUrl);
1429
+ const localVersion = _chunk7IKQKKNXjs.readSdkSkillsLocalVersion.call(void 0, baseUrl);
1426
1430
  const update = options.update === void 0 ? claimedVersion ? { needsUpdate: true, remoteVersion: claimedVersion } : await fetchSkillsUpdate(baseUrl, localVersion) : options.update ? {
1427
1431
  needsUpdate: options.update.needs_update,
1428
1432
  remoteVersion: options.update.remote.version
@@ -1544,7 +1548,7 @@ async function runInlineSkillsSync(baseUrl, remoteVersion, agents, notices) {
1544
1548
  update.remoteVersion,
1545
1549
  agents
1546
1550
  );
1547
- void _chunkRINUMR6Cjs.maybeReportAutomaticSkillsSyncFailure.call(void 0, {
1551
+ void _chunkVQALXEXOjs.maybeReportAutomaticSkillsSyncFailure.call(void 0, {
1548
1552
  baseUrl,
1549
1553
  remoteSkillsVersion: update.remoteVersion,
1550
1554
  agents,
@@ -1575,7 +1579,7 @@ async function runInlineSkillsSync(baseUrl, remoteVersion, agents, notices) {
1575
1579
  notice(
1576
1580
  publishedFailure ? `Deepline could not verify the published skills: ${detail}. The local version remains stale; it will retry automatically on a later command.` : `Deepline agent-skills refresh could not verify the five installed targets: ${detail}. The local version remains stale. After fixing the install, remove ${failedSkillsSyncPath(baseUrl, agents)} to retry this version automatically.`
1577
1581
  );
1578
- void _chunkRINUMR6Cjs.maybeReportAutomaticSkillsSyncFailure.call(void 0, {
1582
+ void _chunkVQALXEXOjs.maybeReportAutomaticSkillsSyncFailure.call(void 0, {
1579
1583
  baseUrl,
1580
1584
  remoteSkillsVersion: update.remoteVersion,
1581
1585
  agents,
@@ -1588,7 +1592,7 @@ async function runInlineSkillsSync(baseUrl, remoteVersion, agents, notices) {
1588
1592
  }
1589
1593
  }
1590
1594
  runLegacySkillsCleanup(agents);
1591
- if (!_chunkOKNOQRQ3js.writeSdkSkillsLocalVersion.call(void 0, baseUrl, update.remoteVersion, agents)) {
1595
+ if (!_chunk7IKQKKNXjs.writeSdkSkillsLocalVersion.call(void 0, baseUrl, update.remoteVersion, agents)) {
1592
1596
  notice(
1593
1597
  "Deepline agent skills installed, but the local skills version could not be recorded. A later command will retry the refresh."
1594
1598
  );
@@ -1,15 +1,15 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkRS6ZSKX6js = require('./chunk-RS6ZSKX6.js');
3
+ var _chunkRQZQVFCJjs = require('./chunk-RQZQVFCJ.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkRINUMR6Cjs = require('./chunk-RINUMR6C.js');
7
+ var _chunkVQALXEXOjs = require('./chunk-VQALXEXO.js');
8
8
 
9
9
 
10
10
 
11
11
 
12
- var _chunkMJDQZYKOjs = require('./chunk-MJDQZYKO.js');
12
+ var _chunkRBEUVDZFjs = require('./chunk-RBEUVDZF.js');
13
13
 
14
14
  // src/cli/commands/sessions.ts
15
15
 
@@ -55,7 +55,7 @@ function codexSessionsRoot() {
55
55
  }
56
56
  function listClaudeSessionFiles() {
57
57
  const files = [];
58
- for (const root of _chunkMJDQZYKOjs.claudeProjectsRoots.call(void 0, )) {
58
+ for (const root of _chunkRBEUVDZFjs.claudeProjectsRoots.call(void 0, )) {
59
59
  files.push(...listClaudeSessionFilesIn(root));
60
60
  }
61
61
  return files;
@@ -147,7 +147,7 @@ function currentSessionFile(agent) {
147
147
  const newestFirst = listSessionFiles(agent).sort(
148
148
  (a, b) => b.mtimeMs - a.mtimeMs
149
149
  );
150
- const sessionId = _chunkMJDQZYKOjs.agentSessionIdFromEnvironment.call(void 0,
150
+ const sessionId = _chunkRBEUVDZFjs.agentSessionIdFromEnvironment.call(void 0,
151
151
  process.env,
152
152
  agent === "auto" ? void 0 : agent === "claude" ? "claude_code" : "codex"
153
153
  );
@@ -156,7 +156,7 @@ function currentSessionFile(agent) {
156
156
  (candidate) => candidate.sessionId === sessionId
157
157
  );
158
158
  if (named) return named;
159
- const cowork = agent === "codex" ? null : _chunkMJDQZYKOjs.coworkTranscriptFromEnvironment.call(void 0, );
159
+ const cowork = agent === "codex" ? null : _chunkRBEUVDZFjs.coworkTranscriptFromEnvironment.call(void 0, );
160
160
  const coworkStat = cowork ? statIfReadable(cowork.filePath) : null;
161
161
  if (cowork && coworkStat) {
162
162
  return { agent: "claude", ...cowork, mtimeMs: coworkStat.mtimeMs };
@@ -166,7 +166,7 @@ function currentSessionFile(agent) {
166
166
  ), () => ( newestFirst[0])), () => ( null));
167
167
  }
168
168
  function feedbackAgentSessionId(agentRuntime) {
169
- return _nullishCoalesce(_chunkMJDQZYKOjs.agentSessionIdFromEnvironment.call(void 0, process.env, agentRuntime), () => ( (agentRuntime === "claude_cowork" || agentRuntime === "claude_code" ? _nullishCoalesce(_optionalChain([_chunkMJDQZYKOjs.coworkTranscriptFromEnvironment.call(void 0, ), 'optionalAccess', _17 => _17.sessionId]), () => ( null)) : null)));
169
+ return _nullishCoalesce(_chunkRBEUVDZFjs.agentSessionIdFromEnvironment.call(void 0, process.env, agentRuntime), () => ( (agentRuntime === "claude_cowork" || agentRuntime === "claude_code" ? _nullishCoalesce(_optionalChain([_chunkRBEUVDZFjs.coworkTranscriptFromEnvironment.call(void 0, ), 'optionalAccess', _17 => _17.sessionId]), () => ( null)) : null)));
170
170
  }
171
171
  function sessionStartedInDirectory(candidate, cwd) {
172
172
  if (candidate.agent === "claude") {
@@ -215,7 +215,7 @@ function readCodexSessionId(filePath) {
215
215
  return null;
216
216
  }
217
217
  function sessionSearchDescription(agent) {
218
- const claude = _chunkMJDQZYKOjs.claudeProjectsRoots.call(void 0, ).map((root) => _path.join.call(void 0, root, "*", "<session-id>.jsonl")).join(", ");
218
+ const claude = _chunkRBEUVDZFjs.claudeProjectsRoots.call(void 0, ).map((root) => _path.join.call(void 0, root, "*", "<session-id>.jsonl")).join(", ");
219
219
  if (agent === "claude") return claude;
220
220
  if (agent === "codex") return "~/.codex/sessions/**/*.jsonl";
221
221
  return `${claude} or ~/.codex/sessions/**/*.jsonl`;
@@ -472,7 +472,7 @@ function buildSessionUploadContent(raw) {
472
472
  return { encodedContent: encoded, needsChunking: true };
473
473
  }
474
474
  async function uploadPayload(path, payload) {
475
- const { http } = _chunkRINUMR6Cjs.getAuthedHttpClient.call(void 0, );
475
+ const { http } = _chunkVQALXEXOjs.getAuthedHttpClient.call(void 0, );
476
476
  return await http.post(path, payload);
477
477
  }
478
478
  async function uploadChunkedSessions(sessions, options) {
@@ -550,7 +550,7 @@ async function uploadAgentSession(agentRuntime) {
550
550
  return target.sessionId;
551
551
  }
552
552
  async function handleSessionsSend(options) {
553
- if (_chunkRS6ZSKX6js.rejectRestrictedFeedback.call(void 0, options)) return;
553
+ if (_chunkRQZQVFCJjs.rejectRestrictedFeedback.call(void 0, options)) return;
554
554
  const rating = parseSessionRating(options.rating);
555
555
  if (options.file) {
556
556
  const filePath = _path.resolve.call(void 0, options.file);
@@ -562,7 +562,7 @@ async function handleSessionsSend(options) {
562
562
  filename: _path.basename.call(void 0, filePath),
563
563
  ...rating ? { rating } : {}
564
564
  });
565
- _chunkRINUMR6Cjs.printCommandEnvelope.call(void 0,
565
+ _chunkVQALXEXOjs.printCommandEnvelope.call(void 0,
566
566
  {
567
567
  ...response2,
568
568
  ok: true,
@@ -594,7 +594,7 @@ async function handleSessionsSend(options) {
594
594
  labeled: Boolean(_optionalChain([options, 'access', _27 => _27.label, 'optionalAccess', _28 => _28.length]))
595
595
  });
596
596
  const sessionIds = built.map((session) => session.sessionId);
597
- _chunkRINUMR6Cjs.printCommandEnvelope.call(void 0,
597
+ _chunkVQALXEXOjs.printCommandEnvelope.call(void 0,
598
598
  {
599
599
  ...response,
600
600
  ok: true,
@@ -702,7 +702,7 @@ ${refreshMeta}
702
702
  </body>
703
703
  </html>`;
704
704
  _fs.writeFileSync.call(void 0, outputPath, html, "utf8");
705
- _chunkRINUMR6Cjs.printCommandEnvelope.call(void 0,
705
+ _chunkVQALXEXOjs.printCommandEnvelope.call(void 0,
706
706
  {
707
707
  ok: true,
708
708
  file: outputPath,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  HttpClient,
3
3
  detectAgentRuntime
4
- } from "./chunk-GVW5V562.mjs";
4
+ } from "./chunk-YLTMXJFC.mjs";
5
5
  import {
6
6
  ConfigError
7
7
  } from "./chunk-NURW5XH4.mjs";
@@ -1,12 +1,12 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkUV4RU2TEjs = require('./chunk-UV4RU2TE.js');
3
+ var _chunkH4ALLC2Xjs = require('./chunk-H4ALLC2X.js');
4
4
 
5
5
 
6
- var _chunkR7J7CJPZjs = require('./chunk-R7J7CJPZ.js');
6
+ var _chunkV436Z54Kjs = require('./chunk-V436Z54K.js');
7
7
 
8
8
  // src/cli/command-docs.ts
9
- var PLAY_RUNTIME_PRICING_NOTE = `With included compute pricing, large (4gb) costs ${_chunkR7J7CJPZjs.PLAY_SANDBOX_COMPUTE_RATE_MULTIPLIERS.large}\xD7 and xlarge (8gb) costs ${_chunkR7J7CJPZjs.PLAY_SANDBOX_COMPUTE_RATE_MULTIPLIERS.xlarge}\xD7 the standard (1gb) hourly rate. Included compute applies proportionally.`;
9
+ var PLAY_RUNTIME_PRICING_NOTE = `With included compute pricing, large (4gb) costs ${_chunkV436Z54Kjs.PLAY_SANDBOX_COMPUTE_RATE_MULTIPLIERS.large}\xD7 and xlarge (8gb) costs ${_chunkV436Z54Kjs.PLAY_SANDBOX_COMPUTE_RATE_MULTIPLIERS.xlarge}\xD7 the standard (1gb) hourly rate. Included compute applies proportionally.`;
10
10
  var CONVENTIONS = `
11
11
  [[cli:
12
12
  Conventions (apply to every command):
@@ -384,7 +384,7 @@ Output:
384
384
  Your runtime price, allowance used, paid overage, and reset date.
385
385
  Usage is shown in standard sandbox minutes at your current rate and in credits.
386
386
  ${PLAY_RUNTIME_PRICING_NOTE}
387
- ${_chunkUV4RU2TEjs.PRICING_PAGE_NOTE}
387
+ ${_chunkH4ALLC2Xjs.PRICING_PAGE_NOTE}
388
388
  Cost:
389
389
  Free to check.
390
390
  [[cli:
@@ -470,7 +470,7 @@ Purpose:
470
470
  When:
471
471
  First, whenever you do not already know what to run.
472
472
  Input:
473
- Search for one capability at a time.
473
+ Pass a full tool ID for an exact lookup, or search for one capability at a time.
474
474
  Include the input fields, the result you need, and requirements.
475
475
  Leave out customer data like names and domains, and export details like filenames.
476
476
  For a workflow with distinct steps, search for each step separately.
@@ -496,8 +496,10 @@ Examples:
496
496
  ]]
497
497
  Output:
498
498
  A ranked list. Each result has an id, its kind, what it does, and its price.
499
- Tools that need a provider connection are flagged. Describe the tool to
500
- see how to connect it.
499
+ An exact lookup reports whether the tool matched in this scope. If it
500
+ misses, check the account and workspace before searching by task.
501
+ Tool results include an exact describe command, required inputs, known
502
+ effects, and available authorization metadata.
501
503
  When search suggests a rewrite, retry with the core task in a shorter query.
502
504
  [[cli:
503
505
  Multiple queries print one section per query in argument order. With --json,
@@ -974,10 +976,11 @@ Input:
974
976
  --payload is an alias of --input. There is no --payload-file flag; use
975
977
  @path. --out <file.csv> writes row-shaped output to a CSV file.
976
978
  --connection <name> selects a workspace authorization for supported
977
- HubSpot and Google Calendar tools. A Google Workspace authorization uses its
978
- approved domain, for example --connection deepline.com. Pass calendar emails
979
- in the tool input. Omitting --connection uses the caller's personal account
980
- where personal connections are supported.
979
+ operations. For Google Workspace team availability, choose the approved
980
+ domain as the connection and pass primary work emails in calendarIds.
981
+ For booking, organizerEmail selects the primary calendar that receives the
982
+ event. Verify the calendars with a read-only call before publishing booking.
983
+ Where supported, omitting --connection uses the caller's default account.
981
984
  deepline integrations list --json lists workspace authorization names.
982
985
  Each authorization grants specific scopes. Missing scopes fail the call.
983
986
  ]]
@@ -999,6 +1002,12 @@ Failures:
999
1002
  fix the key, plan or input instead of retrying.
1000
1003
  ]]
1001
1004
  [[mcp:
1005
+ Named authorizations:
1006
+ Pass the authorized connection name as connection alongside tool_id and
1007
+ input. For Google Workspace, choose the approved domain and pass primary
1008
+ work emails in input.calendarIds for a read-only availability check. Use
1009
+ the same connection in the Play. For booking, input.organizerEmail selects
1010
+ the primary calendar that receives the event.
1002
1011
  Output:
1003
1012
  data, the provider result, and credits_used when it is reported.
1004
1013
  ]]
@@ -1569,7 +1578,7 @@ Concurrency:
1569
1578
  deepline billing entitlements shows this workspace's plan and limit and
1570
1579
  every plan's limit; this help prints them too when you are signed in.
1571
1580
  ]]
1572
- ${_chunkUV4RU2TEjs.PRICING_PAGE_NOTE}
1581
+ ${_chunkH4ALLC2Xjs.PRICING_PAGE_NOTE}
1573
1582
  Cost:
1574
1583
  Spends Deepline credits through the play's tool calls. Validation errors
1575
1584
  (missing column, bad input) fail before any spend.
@@ -1820,7 +1829,7 @@ Concurrency:
1820
1829
  deepline billing entitlements shows this workspace's plan and limit and
1821
1830
  every plan's limit; this help prints them too when you are signed in.
1822
1831
  ]]
1823
- ${_chunkUV4RU2TEjs.PRICING_PAGE_NOTE}
1832
+ ${_chunkH4ALLC2Xjs.PRICING_PAGE_NOTE}
1824
1833
  Cost:
1825
1834
  Free.
1826
1835
  Avoid:
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  rejectRestrictedFeedback
3
- } from "./chunk-7BWMCVYU.mjs";
3
+ } from "./chunk-AWJPDPMA.mjs";
4
4
  import {
5
5
  getAuthedHttpClient,
6
6
  printCommandEnvelope
7
- } from "./chunk-HCFH2V27.mjs";
7
+ } from "./chunk-6PRW5UBA.mjs";
8
8
  import {
9
9
  agentSessionIdFromEnvironment,
10
10
  claudeProjectsRoots,
11
11
  coworkTranscriptFromEnvironment
12
- } from "./chunk-GVW5V562.mjs";
12
+ } from "./chunk-YLTMXJFC.mjs";
13
13
 
14
14
  // src/cli/commands/sessions.ts
15
15
  import {
@@ -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.550",
52
+ version: "0.3.552",
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."
@@ -2,7 +2,7 @@ import {
2
2
  addDescribeOptions,
3
3
  recordApiResponse,
4
4
  writeExecutionOutput
5
- } from "./chunk-UL7HWZO7.mjs";
5
+ } from "./chunk-FTJLJCE5.mjs";
6
6
  import {
7
7
  registerIntegrationBalanceCommand,
8
8
  registerIntegrationConnectCommand,
@@ -11,11 +11,11 @@ import {
11
11
  registerLegacyHubSpotMembersCommand,
12
12
  registerLegacyWorkspaceConnectionCommand,
13
13
  registerWorkspaceConnectionListCommand
14
- } from "./chunk-KLQILE2I.mjs";
14
+ } from "./chunk-ZIAXDBXX.mjs";
15
15
  import {
16
16
  recentSearchRef,
17
17
  registerDeprecatedSearchCommand
18
- } from "./chunk-DJWM5OOY.mjs";
18
+ } from "./chunk-QPKH23EC.mjs";
19
19
  import {
20
20
  Capability,
21
21
  arrayField,
@@ -36,10 +36,10 @@ import {
36
36
  toolInputFieldsForDisplay,
37
37
  toolMetadataJsonForDescribe,
38
38
  toolOutputFieldsForDisplay
39
- } from "./chunk-GWNYLIF7.mjs";
39
+ } from "./chunk-WEHCBH5R.mjs";
40
40
  import {
41
41
  rateLimitQualifier
42
- } from "./chunk-7AOFSZJM.mjs";
42
+ } from "./chunk-GGGAEVCX.mjs";
43
43
  import {
44
44
  shellQuote
45
45
  } from "./chunk-OVDNJAJN.mjs";
@@ -55,10 +55,10 @@ import {
55
55
  } from "./chunk-FIVKWNMT.mjs";
56
56
  import {
57
57
  DeeplineClient
58
- } from "./chunk-CIBQVA6V.mjs";
58
+ } from "./chunk-QY3ZNU6Z.mjs";
59
59
  import {
60
60
  validateExecutionIdempotencyKey
61
- } from "./chunk-TL3WIXDH.mjs";
61
+ } from "./chunk-Z5TSLLOW.mjs";
62
62
  import {
63
63
  stableStringify
64
64
  } from "./chunk-UBKA33KY.mjs";
@@ -68,18 +68,18 @@ import {
68
68
  maybeAutoUpdateAndRelaunch,
69
69
  registerCompatibilityCatalog,
70
70
  runToolExecuteStage
71
- } from "./chunk-MXEYNRTZ.mjs";
71
+ } from "./chunk-PTVD2GVQ.mjs";
72
72
  import {
73
73
  isCliTraceEnabled,
74
74
  recordCliTrace,
75
75
  resolveCliMaintenancePolicy
76
- } from "./chunk-N2Y2IGNB.mjs";
76
+ } from "./chunk-6RZOWL2V.mjs";
77
77
  import {
78
78
  checkSdkCompatibility,
79
79
  enforceSdkCompatibilityResponse,
80
80
  flushDeferredSkillsSyncNotices,
81
81
  syncSdkSkillsIfNeeded
82
- } from "./chunk-HEVUFICQ.mjs";
82
+ } from "./chunk-YJHE3O5M.mjs";
83
83
  import {
84
84
  errorToJsonPayload,
85
85
  printCommandEnvelope,
@@ -88,12 +88,12 @@ import {
88
88
  printJsonError,
89
89
  renderCommandEnvelopeText,
90
90
  shouldEmitJson
91
- } from "./chunk-HCFH2V27.mjs";
91
+ } from "./chunk-6PRW5UBA.mjs";
92
92
  import {
93
93
  readSdkSkillsLocalVersion,
94
94
  resolveConfig,
95
95
  sdkCliStateDirPath
96
- } from "./chunk-72NXIFOT.mjs";
96
+ } from "./chunk-4TALT2M3.mjs";
97
97
  import {
98
98
  DeeplineError
99
99
  } from "./chunk-JL2OTMSG.mjs";
@@ -977,7 +977,7 @@ Examples:
977
977
  process.exitCode = await narrowView();
978
978
  return;
979
979
  }
980
- const { describeAnything } = await import("./describe-NGITP6RA.mjs");
980
+ const { describeAnything } = await import("./describe-QDANCTS3.mjs");
981
981
  process.exitCode = await describeAnything(
982
982
  toolId,
983
983
  {