deepline 0.3.545 → 0.3.547

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 (222) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +13 -0
  2. package/dist/bundling-sources/sdk/src/errors.ts +1 -1
  3. package/dist/bundling-sources/sdk/src/http-core.ts +41 -12
  4. package/dist/bundling-sources/sdk/src/index.ts +7 -1
  5. package/dist/bundling-sources/sdk/src/integrations.ts +17 -7
  6. package/dist/bundling-sources/sdk/src/play.ts +71 -0
  7. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  8. package/dist/bundling-sources/sdk/src/runs/watch-polling.ts +13 -4
  9. package/dist/bundling-sources/sdk/src/types.ts +33 -0
  10. package/dist/bundling-sources/shared_libs/integration-contracts/calendar-delegation.ts +7 -0
  11. package/dist/bundling-sources/shared_libs/monitors/provider-monitor-batch-operation.ts +2 -0
  12. package/dist/bundling-sources/shared_libs/monitors/tracking-provider-guidance.ts +1 -0
  13. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +21 -3
  14. package/dist/bundling-sources/shared_libs/play-data-plane/contracts.ts +5 -0
  15. package/dist/bundling-sources/shared_libs/play-data-plane/r2.ts +17 -2
  16. package/dist/bundling-sources/shared_libs/play-data-plane/sheet-contract.ts +27 -0
  17. package/dist/bundling-sources/shared_libs/play-runtime/async-operation.ts +57 -5
  18. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +299 -52
  19. package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +18 -1
  20. package/dist/bundling-sources/shared_libs/play-runtime/docflow-decision-tracker.ts +135 -0
  21. package/dist/bundling-sources/shared_libs/play-runtime/docflow-fail-open.ts +177 -0
  22. package/dist/bundling-sources/shared_libs/play-runtime/docflow-node-io.ts +99 -2
  23. package/dist/bundling-sources/shared_libs/play-runtime/durable-runs-rollout.ts +16 -10
  24. package/dist/bundling-sources/shared_libs/play-runtime/fenced-call-diagnostics.ts +211 -0
  25. package/dist/bundling-sources/shared_libs/play-runtime/fleet-sandbox-sweep.ts +40 -3
  26. package/dist/bundling-sources/shared_libs/play-runtime/modal-runtime-config.ts +19 -3
  27. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +18 -4
  28. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +441 -103
  29. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/early-sandbox-egress.ts +322 -0
  30. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/early-sandbox.ts +200 -64
  31. package/dist/bundling-sources/shared_libs/play-runtime/runtime-capacity-policy.ts +52 -14
  32. package/dist/bundling-sources/shared_libs/play-runtime/runtime-speed-profile.ts +65 -2
  33. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backend.ts +5 -3
  34. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +53 -2
  35. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/early-sandbox-lane.ts +206 -12
  36. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-progress.ts +18 -0
  37. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +68 -0
  38. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-capacity.ts +11 -3
  39. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-worker-wake.ts +30 -2
  40. package/dist/bundling-sources/shared_libs/play-runtime/tool-cache-policy.ts +9 -1
  41. package/dist/bundling-sources/shared_libs/play-runtime/tool-result.ts +48 -0
  42. package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +36 -2
  43. package/dist/bundling-sources/shared_libs/plays/bundling/index.ts +716 -51
  44. package/dist/bundling-sources/shared_libs/plays/docflow-decision-arms.ts +146 -0
  45. package/dist/bundling-sources/shared_libs/plays/docflow-flow-order.ts +94 -0
  46. package/dist/bundling-sources/shared_libs/plays/docflow-unreached-reason.ts +10 -1
  47. package/dist/bundling-sources/shared_libs/plays/docflow.ts +787 -117
  48. package/dist/bundling-sources/shared_libs/plays/share/static-pipeline-summary.ts +8 -2
  49. package/dist/bundling-sources/shared_libs/plays/static-pipeline.ts +41 -2
  50. package/dist/bundling-sources/shared_libs/plays/trigger-config-contract.ts +13 -0
  51. package/dist/bundling-sources/shared_libs/product-notifications/billing-sales.ts +25 -0
  52. package/dist/bundling-sources/shared_libs/security/email-blacklist.ts +35 -1
  53. package/dist/bundling-sources/shared_libs/security/email-domain.ts +19 -0
  54. package/dist/bundling-sources/shared_libs/security/secret-redaction.ts +58 -0
  55. package/dist/cli/auth-AC5277PI.js +43 -0
  56. package/dist/cli/{auth-VZAMAMFW.mjs → auth-WJEY4IDX.mjs} +6 -6
  57. package/dist/cli/{billing-ASZJDFH2.js → billing-IJITDDRQ.js} +99 -99
  58. package/dist/cli/{billing-DADQUQEZ.mjs → billing-PHJUDYF3.mjs} +11 -11
  59. package/dist/cli/{chunk-FB7UPZ6M.js → chunk-2AHY47SI.js} +3 -3
  60. package/dist/cli/{chunk-CJ7DBYEQ.js → chunk-2HPTLBNB.js} +8 -8
  61. package/dist/cli/{chunk-TI6DTURF.js → chunk-4WAM6TLD.js} +7 -1
  62. package/dist/cli/{chunk-LTCEZWPZ.mjs → chunk-56MEAGWA.mjs} +2 -2
  63. package/dist/cli/{chunk-YWTRCKGD.mjs → chunk-5SFHPMBY.mjs} +11 -11
  64. package/dist/cli/{chunk-D3SXB2NX.js → chunk-ABLTVG3J.js} +41 -41
  65. package/dist/cli/{chunk-KRW727W6.mjs → chunk-AEQ5VWZ5.mjs} +4 -4
  66. package/dist/cli/{chunk-Z7QM244Q.mjs → chunk-CKIRKYW7.mjs} +3 -3
  67. package/dist/cli/{chunk-2JHYYB3F.js → chunk-CSPHSNBW.js} +3 -3
  68. package/dist/cli/{chunk-OGQYAJSO.js → chunk-D6OIEH47.js} +5 -5
  69. package/dist/cli/{chunk-2HFSYH7V.mjs → chunk-DIUNDLSX.mjs} +2 -2
  70. package/dist/cli/{chunk-3M2QH3KA.mjs → chunk-DJI5CLLW.mjs} +22 -12
  71. package/dist/cli/{chunk-N4LADLCO.js → chunk-DZC7LMYM.js} +6 -6
  72. package/dist/cli/{chunk-CXETRZ3G.js → chunk-E2OIYPB4.js} +10 -10
  73. package/dist/cli/{chunk-Z4Y4BLW7.mjs → chunk-ECUD4QPD.mjs} +3 -3
  74. package/dist/cli/{chunk-2GJZLIKW.js → chunk-EITMD3A5.js} +1 -1
  75. package/dist/cli/{chunk-NAN3A4IF.mjs → chunk-ESCVHDNY.mjs} +5 -5
  76. package/dist/cli/{chunk-C6XYSTBW.js → chunk-FFBXLFKV.js} +1 -1
  77. package/dist/cli/{chunk-HLUNTJBO.mjs → chunk-FMQXAOVE.mjs} +4 -4
  78. package/dist/cli/{chunk-HXIR3VQL.mjs → chunk-FZHMNK6F.mjs} +7 -1
  79. package/dist/cli/{chunk-4NZ3OZNO.mjs → chunk-G6KW764N.mjs} +1 -1
  80. package/dist/cli/{chunk-LWPFMYSO.mjs → chunk-G6XTCG3J.mjs} +2 -2
  81. package/dist/cli/{chunk-NCX2JH2F.js → chunk-GIGAYLY6.js} +12 -12
  82. package/dist/cli/{chunk-BLYW6FFB.js → chunk-GJA2PRHJ.js} +2 -2
  83. package/dist/cli/{chunk-G5TV6WLV.js → chunk-GJOGFWX3.js} +20 -20
  84. package/dist/cli/{chunk-7MFATEUC.mjs → chunk-GPAWLXW3.mjs} +2 -2
  85. package/dist/cli/{chunk-DZTVDL2X.js → chunk-GZFZZQL4.js} +289 -268
  86. package/dist/cli/{chunk-XBYQZEUE.mjs → chunk-HARZ4AAX.mjs} +1 -1
  87. package/dist/cli/{chunk-QI57XUGA.js → chunk-HFIFKP3A.js} +5 -5
  88. package/dist/cli/{chunk-WP36UBRY.mjs → chunk-IGAK22XO.mjs} +1 -1
  89. package/dist/cli/{chunk-XMUPZINS.mjs → chunk-IKYN6PLO.mjs} +5 -5
  90. package/dist/cli/{chunk-HPX7LLAM.mjs → chunk-ITLZBDSR.mjs} +3 -3
  91. package/dist/cli/{chunk-QM7PHHYZ.js → chunk-IVFFCAV2.js} +44 -44
  92. package/dist/cli/{chunk-IYJO3RWR.js → chunk-K3GMDSUX.js} +5 -5
  93. package/dist/cli/{chunk-EK5C2R7S.js → chunk-L5J6UJ2X.js} +15 -15
  94. package/dist/cli/{chunk-EWA3M54M.mjs → chunk-L6QE2XVM.mjs} +1 -1
  95. package/dist/cli/{chunk-3NG43NXB.js → chunk-LMLSOHTU.js} +53 -53
  96. package/dist/cli/{chunk-7MHBJU73.js → chunk-MBQELFL7.js} +22 -22
  97. package/dist/cli/{chunk-Z7SXGOIQ.mjs → chunk-MF7PCM6C.mjs} +1 -1
  98. package/dist/cli/{chunk-DGKDCZGC.js → chunk-MO7TGNXB.js} +13 -13
  99. package/dist/cli/{chunk-7P72EGLK.mjs → chunk-MOZEAGSR.mjs} +1 -1
  100. package/dist/cli/{chunk-34UKDHRL.js → chunk-N63U5CRG.js} +26 -26
  101. package/dist/cli/{chunk-5YYWZ43J.js → chunk-NBYFQZ6O.js} +2 -2
  102. package/dist/cli/{chunk-CQBIO6HW.mjs → chunk-NURW5XH4.mjs} +1 -1
  103. package/dist/cli/{chunk-TQKHXMV3.js → chunk-OVYXYTEP.js} +16 -16
  104. package/dist/cli/{chunk-XGEUPU3L.mjs → chunk-PBMO36BP.mjs} +2 -2
  105. package/dist/cli/{chunk-4JQEAYN3.js → chunk-PVQCX6KQ.js} +55 -8
  106. package/dist/cli/{chunk-KYO2FICL.mjs → chunk-QLE3QKJ2.mjs} +5 -5
  107. package/dist/cli/{chunk-2FF3O2Y2.js → chunk-QU3K3IY6.js} +12 -12
  108. package/dist/cli/{chunk-HR5BT42R.js → chunk-REAFIEV5.js} +99 -99
  109. package/dist/cli/{chunk-Y3T5GWYK.mjs → chunk-RMCCB3XY.mjs} +55 -8
  110. package/dist/cli/{chunk-3TCHX7YK.mjs → chunk-RXRC2COC.mjs} +2 -2
  111. package/dist/cli/{chunk-YRQKRQDU.js → chunk-SAJWYN4B.js} +36 -26
  112. package/dist/cli/{chunk-JL5JU3LD.mjs → chunk-TNJG4ZPN.mjs} +3 -3
  113. package/dist/cli/{chunk-NZDZGK35.js → chunk-VNOQEDVC.js} +7 -7
  114. package/dist/cli/{chunk-2CBX43LP.mjs → chunk-VPF54TXQ.mjs} +5 -5
  115. package/dist/cli/{chunk-2HSZCQMT.mjs → chunk-WYT3H6JD.mjs} +1 -1
  116. package/dist/cli/{chunk-GWDPNOA7.mjs → chunk-XMBVHJPR.mjs} +29 -8
  117. package/dist/cli/{chunk-52C6W7FG.mjs → chunk-XNTDTAKC.mjs} +1 -1
  118. package/dist/cli/{chunk-ERLW6RPA.js → chunk-YURGAKI3.js} +2 -2
  119. package/dist/cli/{chunk-GFRJU2KB.js → chunk-YVKLF7RW.js} +2 -2
  120. package/dist/cli/{chunk-7JZ27AFH.mjs → chunk-Z2YGQZWV.mjs} +2 -2
  121. package/dist/cli/command-docs.js +2 -2
  122. package/dist/cli/command-docs.mjs +1 -1
  123. package/dist/cli/{concurrent-runs-help-YP7ALTDB.mjs → concurrent-runs-help-ZNGP563R.mjs} +7 -7
  124. package/dist/cli/concurrent-runs-help-ZYISYOQA.js +21 -0
  125. package/dist/cli/{csv-D5ITFSYI.mjs → csv-VAHQHYYV.mjs} +5 -5
  126. package/dist/cli/{csv-67WT5EGR.js → csv-X6D4ZELE.js} +14 -14
  127. package/dist/cli/{db-SZYBRFYG.mjs → db-4G4S2VOV.mjs} +8 -8
  128. package/dist/cli/{db-GZS76X7R.js → db-YA5ZGVEX.js} +33 -33
  129. package/dist/cli/{describe-YJ7ZLLLI.mjs → describe-EVXEM2S6.mjs} +20 -20
  130. package/dist/cli/describe-GYYSLZLV.js +50 -0
  131. package/dist/cli/describe-core.d.mts +4 -4
  132. package/dist/cli/describe-core.d.ts +4 -4
  133. package/dist/cli/describe-core.js +1 -1
  134. package/dist/cli/describe-core.mjs +1 -1
  135. package/dist/cli/{executions-O5USTYGL.js → executions-5YC7ABF6.js} +10 -10
  136. package/dist/cli/{executions-HMYGR32E.mjs → executions-HR6CTN5M.mjs} +8 -8
  137. package/dist/cli/{feedback-Z3NXWYUO.mjs → feedback-GEU5SPLR.mjs} +7 -7
  138. package/dist/cli/{feedback-RHLFDCRS.js → feedback-MJHSYLFF.js} +15 -15
  139. package/dist/cli/git-FZIQZNI4.js +25 -0
  140. package/dist/cli/{git-CLFKXELB.mjs → git-NPFF6QUS.mjs} +6 -6
  141. package/dist/cli/index.js +150 -150
  142. package/dist/cli/index.mjs +46 -46
  143. package/dist/cli/{integrations-TZ4QEQGV.js → integrations-YPHFI77G.js} +20 -18
  144. package/dist/cli/{integrations-FOACOBQB.mjs → integrations-Z7EGVBHF.mjs} +12 -10
  145. package/dist/cli/{legacy-noops-QRDOS33V.js → legacy-noops-246E3KKG.js} +10 -10
  146. package/dist/cli/{legacy-noops-6F6Y3BV7.mjs → legacy-noops-5IYCFWWX.mjs} +7 -7
  147. package/dist/cli/{mcp-UXRCWOZU.mjs → mcp-WUYGZXPI.mjs} +5 -5
  148. package/dist/cli/{mcp-ETMMDDGB.js → mcp-YTYTW67G.js} +25 -25
  149. package/dist/cli/{monitors-6XEWR46R.mjs → monitors-73DQKCU7.mjs} +27 -9
  150. package/dist/cli/{monitors-DITT7QTV.js → monitors-SA6ILD6Z.js} +121 -103
  151. package/dist/cli/{org-CVSSH73G.mjs → org-WVQRB2KX.mjs} +8 -8
  152. package/dist/cli/{org-4DE37X3L.js → org-X7ELDV7B.js} +90 -90
  153. package/dist/cli/{play-Y5NCHOKK.mjs → play-QI6V2EUQ.mjs} +296 -68
  154. package/dist/cli/{play-RH6P45CI.js → play-QTYOAJPE.js} +898 -670
  155. package/dist/cli/{providers-VHUHC4IZ.mjs → providers-DPVMVDS4.mjs} +8 -8
  156. package/dist/cli/{providers-DU42DLOL.js → providers-XXFLVREV.js} +11 -11
  157. package/dist/cli/{quickstart-XJ43JLEC.js → quickstart-33ISXQJU.js} +7 -7
  158. package/dist/cli/{quickstart-HJY5YYE5.mjs → quickstart-YWGNHULM.mjs} +5 -5
  159. package/dist/cli/{run-JXUS7QFI.js → run-BWHZXLTD.js} +46 -46
  160. package/dist/cli/{run-JAIXHVH7.mjs → run-J6FCAKQC.mjs} +26 -26
  161. package/dist/cli/search-JCWJX2XD.js +32 -0
  162. package/dist/cli/{search-RDMNM2AX.mjs → search-Z3UU3WBB.mjs} +9 -9
  163. package/dist/cli/{search-output-ZKTR3WTJ.mjs → search-output-OJYY4J7E.mjs} +5 -5
  164. package/dist/cli/{search-output-RKAM2HBH.js → search-output-YIPV74ME.js} +7 -7
  165. package/dist/cli/{secrets-TKFVMAYX.js → secrets-UXRJCEN4.js} +17 -17
  166. package/dist/cli/{secrets-WSW3FTF6.mjs → secrets-YZZN2WST.mjs} +8 -8
  167. package/dist/cli/{sessions-724BK6VP.mjs → sessions-ITCGPD7Z.mjs} +7 -7
  168. package/dist/cli/sessions-NA4SJH6Q.js +22 -0
  169. package/dist/cli/{settings-5LJZDAZU.js → settings-LAFYMILP.js} +87 -87
  170. package/dist/cli/{settings-YRC7J75G.mjs → settings-ZP2LSVNM.mjs} +14 -14
  171. package/dist/cli/{setup-2F3DBSOS.js → setup-4AL3XYM5.js} +50 -50
  172. package/dist/cli/{setup-STNPX5MK.mjs → setup-WEQAQSYC.mjs} +10 -10
  173. package/dist/cli/{skills-D5PK56FO.mjs → skills-NQH4HFW2.mjs} +8 -8
  174. package/dist/cli/skills-XZ4Y6SZ7.js +36 -0
  175. package/dist/cli/{tools-WOGWMBA3.mjs → tools-CXK2GSI4.mjs} +19 -19
  176. package/dist/cli/tools-WJQ6Y7E4.js +57 -0
  177. package/dist/cli/{update-PC6XSWMI.mjs → update-3ROF3Z75.mjs} +10 -10
  178. package/dist/cli/update-ZLRLTBRD.js +34 -0
  179. package/dist/cli/{views-IIHT4RYQ.mjs → views-AOUHVGV2.mjs} +8 -8
  180. package/dist/cli/{views-HLCLAPWN.js → views-XJFO5CEH.js} +23 -23
  181. package/dist/cli/{workflow-CCZ2A7DI.js → workflow-GY3DBHXX.js} +19 -19
  182. package/dist/cli/{workflow-HK4MZ7LK.mjs → workflow-KBS2QJK6.mjs} +9 -9
  183. package/dist/{client-DfdUc_MY.d.mts → client-D1uWA2Vc.d.mts} +1 -1
  184. package/dist/{client-BQ6yuSjM.d.ts → client-Hz7SsBXs.d.ts} +1 -1
  185. package/dist/{client-core-3GQ8WMuk.d.ts → client-core-D3Ad7Flt.d.ts} +554 -504
  186. package/dist/{client-core-ClsNRytk.d.mts → client-core-Db_e63Hb.d.mts} +554 -504
  187. package/dist/{compiler-manifest-BWFtsQIC.d.mts → compiler-manifest-BqwVrOri.d.mts} +73 -18
  188. package/dist/{compiler-manifest-BWFtsQIC.d.ts → compiler-manifest-BqwVrOri.d.ts} +73 -18
  189. package/dist/{errors-Lm9_vJHZ.d.ts → errors-BU8FB99X.d.mts} +2 -2
  190. package/dist/{errors-CwKXXtuu.d.mts → errors-DfVN_FUG.d.ts} +2 -2
  191. package/dist/{index-3vJ-V9yw.d.ts → index-BGnvtYGc.d.ts} +6 -1
  192. package/dist/{index-DjwsAt82.d.mts → index-DjZgwpGw.d.mts} +6 -1
  193. package/dist/index.d.mts +28 -8
  194. package/dist/index.d.ts +28 -8
  195. package/dist/index.js +65 -40
  196. package/dist/index.mjs +33 -8
  197. package/dist/install-integrity.json +137 -130
  198. package/dist/plays/bundle-play-file.d.mts +3 -3
  199. package/dist/plays/bundle-play-file.d.ts +3 -3
  200. package/dist/plays/bundle-play-file.mjs +640 -125
  201. package/dist/plays/play-description.d.mts +3 -3
  202. package/dist/plays/play-description.d.ts +3 -3
  203. package/dist/plays/run-request.d.mts +2 -2
  204. package/dist/plays/run-request.d.ts +2 -2
  205. package/dist/release.d.mts +1 -1
  206. package/dist/release.d.ts +1 -1
  207. package/dist/release.js +2 -2
  208. package/dist/release.mjs +1 -1
  209. package/dist/server.d.mts +4 -4
  210. package/dist/server.d.ts +4 -4
  211. package/dist/server.js +11 -11
  212. package/dist/server.mjs +5 -5
  213. package/package.json +1 -1
  214. package/dist/cli/auth-455MB4K6.js +0 -43
  215. package/dist/cli/concurrent-runs-help-GFWXOKF5.js +0 -21
  216. package/dist/cli/describe-ZRGYAEBT.js +0 -50
  217. package/dist/cli/git-RC4XDATD.js +0 -25
  218. package/dist/cli/search-O5VVMXII.js +0 -32
  219. package/dist/cli/sessions-3PWFWCHO.js +0 -22
  220. package/dist/cli/skills-RFOMVXIT.js +0 -36
  221. package/dist/cli/tools-CAO6EVUW.js +0 -57
  222. package/dist/cli/update-L4DQZY3G.js +0 -34
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  concurrentRunsLine
3
- } from "./chunk-LWPFMYSO.mjs";
4
- import "./chunk-Z7QM244Q.mjs";
3
+ } from "./chunk-G6XTCG3J.mjs";
4
+ import "./chunk-CKIRKYW7.mjs";
5
5
  import {
6
6
  DeeplineClient
7
- } from "./chunk-3TCHX7YK.mjs";
7
+ } from "./chunk-RXRC2COC.mjs";
8
8
  import {
9
9
  iterateCursorPages,
10
10
  requireBillingIdempotencyKey
11
- } from "./chunk-GWDPNOA7.mjs";
12
- import "./chunk-HXIR3VQL.mjs";
11
+ } from "./chunk-XMBVHJPR.mjs";
12
+ import "./chunk-FZHMNK6F.mjs";
13
13
  import "./chunk-LX35AXTN.mjs";
14
14
  import "./chunk-PSX3WHIH.mjs";
15
15
  import "./chunk-UBKA33KY.mjs";
16
16
  import {
17
17
  PLAY_RUNTIME_PRICING_NOTE
18
- } from "./chunk-Y3T5GWYK.mjs";
18
+ } from "./chunk-RMCCB3XY.mjs";
19
19
  import {
20
20
  PRICING_PAGE_NOTE
21
21
  } from "./chunk-NIPLY25A.mjs";
@@ -29,18 +29,18 @@ import {
29
29
  openInBrowser,
30
30
  printCommandEnvelope,
31
31
  shouldEmitJson
32
- } from "./chunk-JL5JU3LD.mjs";
33
- import "./chunk-7MFATEUC.mjs";
34
- import "./chunk-3M2QH3KA.mjs";
32
+ } from "./chunk-TNJG4ZPN.mjs";
33
+ import "./chunk-GPAWLXW3.mjs";
34
+ import "./chunk-DJI5CLLW.mjs";
35
35
  import {
36
36
  AuthError,
37
37
  ConfigError
38
- } from "./chunk-CQBIO6HW.mjs";
38
+ } from "./chunk-NURW5XH4.mjs";
39
39
  import "./chunk-DLIRSHV6.mjs";
40
40
  import {
41
41
  DeeplineError
42
42
  } from "./chunk-JL2OTMSG.mjs";
43
- import "./chunk-52C6W7FG.mjs";
43
+ import "./chunk-XNTDTAKC.mjs";
44
44
  import "./chunk-WZYKRD7T.mjs";
45
45
  import "./chunk-KRD6H754.mjs";
46
46
 
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; } var _class;
2
2
 
3
- var _chunkG5TV6WLVjs = require('./chunk-G5TV6WLV.js');
3
+ var _chunkGJOGFWX3js = require('./chunk-GJOGFWX3.js');
4
4
 
5
5
  // src/cli/progress.ts
6
6
  var _worker_threads = require('worker_threads');
@@ -19,7 +19,7 @@ var CliProgress = (_class = class {
19
19
  __init9() {this.quiet = false}
20
20
  // --json output is one JSON document: progress never renders under it.
21
21
  constructor(enabled) {;_class.prototype.__init.call(this);_class.prototype.__init2.call(this);_class.prototype.__init3.call(this);_class.prototype.__init4.call(this);_class.prototype.__init5.call(this);_class.prototype.__init6.call(this);_class.prototype.__init7.call(this);_class.prototype.__init8.call(this);_class.prototype.__init9.call(this);
22
- this.enabled = enabled && !_chunkG5TV6WLVjs.isJsonOutputMode.call(void 0, );
22
+ this.enabled = enabled && !_chunkGJOGFWX3js.isJsonOutputMode.call(void 0, );
23
23
  }
24
24
  setLogWriter(writer) {
25
25
  this.logWriter = writer;
@@ -59,7 +59,7 @@ var CliProgress = (_class = class {
59
59
  this.logWriter(line);
60
60
  return;
61
61
  }
62
- if (_chunkG5TV6WLVjs.isJsonOutputMode.call(void 0, )) return;
62
+ if (_chunkGJOGFWX3js.isJsonOutputMode.call(void 0, )) return;
63
63
  if (!this.enabled) {
64
64
  process.stderr.write(`${line}
65
65
  `);
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
3
 
4
- var _chunkYRQKRQDUjs = require('./chunk-YRQKRQDU.js');
4
+ var _chunkSAJWYN4Bjs = require('./chunk-SAJWYN4B.js');
5
5
 
6
6
 
7
- var _chunk2GJZLIKWjs = require('./chunk-2GJZLIKW.js');
7
+ var _chunkEITMD3A5js = require('./chunk-EITMD3A5.js');
8
8
 
9
9
  // src/config.ts
10
10
 
@@ -382,7 +382,7 @@ function resolveBaseUrlOnly(options) {
382
382
  _optionalChain([options, 'optionalAccess', _36 => _36.baseUrl, 'optionalAccess', _37 => _37.trim, 'call', _38 => _38()]) || autoDetectBaseUrl()
383
383
  );
384
384
  if (!baseUrl) {
385
- throw new (0, _chunk2GJZLIKWjs.ConfigError)(
385
+ throw new (0, _chunkEITMD3A5js.ConfigError)(
386
386
  `Invalid ${HOST_URL_ENV}. Expected an http(s) URL such as https://code.deepline.com.`
387
387
  );
388
388
  }
@@ -393,13 +393,13 @@ function resolveConfig(options) {
393
393
  _optionalChain([options, 'optionalAccess', _39 => _39.baseUrl, 'optionalAccess', _40 => _40.trim, 'call', _41 => _41()]) || autoDetectBaseUrl()
394
394
  );
395
395
  if (!baseUrl) {
396
- throw new (0, _chunk2GJZLIKWjs.ConfigError)(
396
+ throw new (0, _chunkEITMD3A5js.ConfigError)(
397
397
  `Invalid ${HOST_URL_ENV}. Expected an http(s) URL such as https://code.deepline.com.`
398
398
  );
399
399
  }
400
400
  const apiKey = resolveApiKeyForBaseUrl(baseUrl, _optionalChain([options, 'optionalAccess', _42 => _42.apiKey]));
401
401
  if (!apiKey) {
402
- throw new (0, _chunk2GJZLIKWjs.ConfigError)(
402
+ throw new (0, _chunkEITMD3A5js.ConfigError)(
403
403
  `No API key found. Set ${API_KEY_ENV}, add it to .env.deepline, or run: deepline auth register`
404
404
  );
405
405
  }
@@ -502,7 +502,7 @@ function findNearestGitCommonDir(startDir) {
502
502
  function saveProjectDeeplineEnvValues(values, startDir = process.cwd()) {
503
503
  const target = resolveProjectPinTarget(startDir);
504
504
  if (!target.ok) {
505
- throw new (0, _chunk2GJZLIKWjs.ConfigError)(
505
+ throw new (0, _chunkEITMD3A5js.ConfigError)(
506
506
  `Cowork project folder is ambiguous. Candidate folders: ${target.candidates.join(
507
507
  ", "
508
508
  )}. Set CLAUDE_PROJECT_DIR or cd into the intended project folder before running this command.`
@@ -711,7 +711,7 @@ function readSkillsVersionFile(path) {
711
711
  }
712
712
  }
713
713
  function resolveAutoSyncSkillAgents() {
714
- switch (_chunkYRQKRQDUjs.detectAgentRuntime.call(void 0, )) {
714
+ switch (_chunkSAJWYN4Bjs.detectAgentRuntime.call(void 0, )) {
715
715
  case "codex":
716
716
  return ["codex"];
717
717
  case "claude_code":
@@ -781,7 +781,7 @@ function writeSdkSkillsLocalVersion(baseUrl, version, agents) {
781
781
  }
782
782
 
783
783
  // src/http.ts
784
- var HttpClient2 = class extends _chunkYRQKRQDUjs.HttpClient {
784
+ var HttpClient2 = class extends _chunkSAJWYN4Bjs.HttpClient {
785
785
  constructor(config) {
786
786
  super(config, readSdkSkillsLocalVersion);
787
787
  }
@@ -30,10 +30,15 @@ var PLAY_BACKEND_DESCRIPTORS = {
30
30
  // ../integration-contracts/calendar-delegation.ts
31
31
  var GOOGLE_WORKSPACE_AVAILABILITY_SCOPE = "https://www.googleapis.com/auth/calendar.freebusy";
32
32
  var GOOGLE_WORKSPACE_BOOKING_SCOPE = "https://www.googleapis.com/auth/calendar.events.owned";
33
+ var GOOGLE_WORKSPACE_CALENDAR_LIST_SCOPE = "https://www.googleapis.com/auth/calendar.calendarlist.readonly";
33
34
  var GOOGLE_WORKSPACE_BOOKING_SCOPES = [
34
35
  GOOGLE_WORKSPACE_AVAILABILITY_SCOPE,
35
36
  GOOGLE_WORKSPACE_BOOKING_SCOPE
36
37
  ];
38
+ var GOOGLE_WORKSPACE_APPROVAL_SCOPES = [
39
+ ...GOOGLE_WORKSPACE_BOOKING_SCOPES,
40
+ GOOGLE_WORKSPACE_CALENDAR_LIST_SCOPE
41
+ ];
37
42
  var GOOGLE_WORKSPACE_DOMAIN_PATTERN = /^(?=.{1,253}$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)+$/;
38
43
 
39
44
  // ../integration-contracts/tool-connection.ts
@@ -117,4 +122,5 @@ function providerMetaFromToolResponseRawV2(rawV2, view) {
117
122
 
118
123
 
119
124
 
120
- exports.GOOGLE_WORKSPACE_BOOKING_SCOPE = GOOGLE_WORKSPACE_BOOKING_SCOPE; exports.GOOGLE_WORKSPACE_BOOKING_SCOPES = GOOGLE_WORKSPACE_BOOKING_SCOPES; exports.GOOGLE_WORKSPACE_DOMAIN_PATTERN = GOOGLE_WORKSPACE_DOMAIN_PATTERN; exports.TOOL_CONNECTION_NAME_PATTERN = TOOL_CONNECTION_NAME_PATTERN; exports.isToolConnectionName = isToolConnectionName; exports.RAW_V2_TOOL_RESPONSE_CONTRACT = RAW_V2_TOOL_RESPONSE_CONTRACT; exports.RAW_V2_TOOL_RESPONSE_RECEIPT_REVISION = RAW_V2_TOOL_RESPONSE_RECEIPT_REVISION; exports.UnsupportedToolResponseContractError = UnsupportedToolResponseContractError; exports.InvalidToolResponseReceiptRevisionError = InvalidToolResponseReceiptRevisionError; exports.normalizeToolResponseReceiptRevision = normalizeToolResponseReceiptRevision; exports.normalizeToolResponseContract = normalizeToolResponseContract; exports.legacyRawFromToolResponseRawV2 = legacyRawFromToolResponseRawV2; exports.providerMetaFromToolResponseRawV2 = providerMetaFromToolResponseRawV2; exports.PLAY_ARTIFACT_KINDS = PLAY_ARTIFACT_KINDS; exports.PLAY_RUNTIME_BACKENDS = PLAY_RUNTIME_BACKENDS;
125
+
126
+ exports.GOOGLE_WORKSPACE_AVAILABILITY_SCOPE = GOOGLE_WORKSPACE_AVAILABILITY_SCOPE; exports.GOOGLE_WORKSPACE_BOOKING_SCOPE = GOOGLE_WORKSPACE_BOOKING_SCOPE; exports.GOOGLE_WORKSPACE_CALENDAR_LIST_SCOPE = GOOGLE_WORKSPACE_CALENDAR_LIST_SCOPE; exports.GOOGLE_WORKSPACE_DOMAIN_PATTERN = GOOGLE_WORKSPACE_DOMAIN_PATTERN; exports.TOOL_CONNECTION_NAME_PATTERN = TOOL_CONNECTION_NAME_PATTERN; exports.isToolConnectionName = isToolConnectionName; exports.RAW_V2_TOOL_RESPONSE_CONTRACT = RAW_V2_TOOL_RESPONSE_CONTRACT; exports.RAW_V2_TOOL_RESPONSE_RECEIPT_REVISION = RAW_V2_TOOL_RESPONSE_RECEIPT_REVISION; exports.UnsupportedToolResponseContractError = UnsupportedToolResponseContractError; exports.InvalidToolResponseReceiptRevisionError = InvalidToolResponseReceiptRevisionError; exports.normalizeToolResponseReceiptRevision = normalizeToolResponseReceiptRevision; exports.normalizeToolResponseContract = normalizeToolResponseContract; exports.legacyRawFromToolResponseRawV2 = legacyRawFromToolResponseRawV2; exports.providerMetaFromToolResponseRawV2 = providerMetaFromToolResponseRawV2; exports.PLAY_ARTIFACT_KINDS = PLAY_ARTIFACT_KINDS; exports.PLAY_RUNTIME_BACKENDS = PLAY_RUNTIME_BACKENDS;
@@ -2,10 +2,10 @@ import {
2
2
  getAuthedHttpClient,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-JL5JU3LD.mjs";
5
+ } from "./chunk-TNJG4ZPN.mjs";
6
6
  import {
7
7
  resolveBaseUrlOnly
8
- } from "./chunk-7MFATEUC.mjs";
8
+ } from "./chunk-GPAWLXW3.mjs";
9
9
 
10
10
  // src/cli/commands/git.ts
11
11
  function shellQuote(value) {
@@ -2,7 +2,7 @@ import {
2
2
  addDescribeOptions,
3
3
  recordApiResponse,
4
4
  writeExecutionOutput
5
- } from "./chunk-7P72EGLK.mjs";
5
+ } from "./chunk-MOZEAGSR.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-XGEUPU3L.mjs";
14
+ } from "./chunk-PBMO36BP.mjs";
15
15
  import {
16
16
  recentSearchRef,
17
17
  registerDeprecatedSearchCommand
18
- } from "./chunk-KRW727W6.mjs";
18
+ } from "./chunk-AEQ5VWZ5.mjs";
19
19
  import {
20
20
  Capability,
21
21
  arrayField,
@@ -55,10 +55,10 @@ import {
55
55
  } from "./chunk-FIVKWNMT.mjs";
56
56
  import {
57
57
  DeeplineClient
58
- } from "./chunk-3TCHX7YK.mjs";
58
+ } from "./chunk-RXRC2COC.mjs";
59
59
  import {
60
60
  validateExecutionIdempotencyKey
61
- } from "./chunk-GWDPNOA7.mjs";
61
+ } from "./chunk-XMBVHJPR.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-NAN3A4IF.mjs";
71
+ } from "./chunk-ESCVHDNY.mjs";
72
72
  import {
73
73
  isCliTraceEnabled,
74
74
  recordCliTrace,
75
75
  resolveCliMaintenancePolicy
76
- } from "./chunk-4NZ3OZNO.mjs";
76
+ } from "./chunk-G6KW764N.mjs";
77
77
  import {
78
78
  checkSdkCompatibility,
79
79
  enforceSdkCompatibilityResponse,
80
80
  flushDeferredSkillsSyncNotices,
81
81
  syncSdkSkillsIfNeeded
82
- } from "./chunk-2CBX43LP.mjs";
82
+ } from "./chunk-VPF54TXQ.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-JL5JU3LD.mjs";
91
+ } from "./chunk-TNJG4ZPN.mjs";
92
92
  import {
93
93
  readSdkSkillsLocalVersion,
94
94
  resolveConfig,
95
95
  sdkCliStateDirPath
96
- } from "./chunk-7MFATEUC.mjs";
96
+ } from "./chunk-GPAWLXW3.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-YJ7ZLLLI.mjs");
980
+ const { describeAnything } = await import("./describe-EVXEM2S6.mjs");
981
981
  process.exitCode = await describeAnything(
982
982
  toolId,
983
983
  {
@@ -11,20 +11,20 @@
11
11
 
12
12
 
13
13
 
14
- var _chunkQM7PHHYZjs = require('./chunk-QM7PHHYZ.js');
14
+ var _chunkIVFFCAV2js = require('./chunk-IVFFCAV2.js');
15
15
 
16
16
 
17
- var _chunkG5TV6WLVjs = require('./chunk-G5TV6WLV.js');
17
+ var _chunkGJOGFWX3js = require('./chunk-GJOGFWX3.js');
18
18
 
19
19
 
20
20
 
21
21
 
22
22
 
23
- var _chunkCJ7DBYEQjs = require('./chunk-CJ7DBYEQ.js');
23
+ var _chunk2HPTLBNBjs = require('./chunk-2HPTLBNB.js');
24
24
 
25
25
 
26
26
 
27
- var _chunkYRQKRQDUjs = require('./chunk-YRQKRQDU.js');
27
+ var _chunkSAJWYN4Bjs = require('./chunk-SAJWYN4B.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 = _chunkCJ7DBYEQjs.resolveProjectPinTarget.call(void 0, );
148
+ const target = _chunk2HPTLBNBjs.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, () => ( _chunkYRQKRQDUjs.detectAgentRuntime.call(void 0, )));
159
+ const runtime = _nullishCoalesce(input.runtime, () => ( _chunkSAJWYN4Bjs.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, _chunkCJ7DBYEQjs.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, _chunk2HPTLBNBjs.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 = [..._chunkQM7PHHYZjs.LEGACY_SKILL_NAMES_TO_REMOVE].sort(
178
+ const legacyNames = [..._chunkIVFFCAV2js.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=${_chunkQM7PHHYZjs.SKILLS_NPX_PACKAGE}`,
192
+ `--package=${_chunkIVFFCAV2js.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=${_chunkQM7PHHYZjs.SKILLS_NPX_PACKAGE}`,
208
+ `--package=${_chunkIVFFCAV2js.SKILLS_NPX_PACKAGE}`,
209
209
  "--",
210
210
  "skills",
211
211
  "add",
212
- _chunkQM7PHHYZjs.skillsSourceUrl.call(void 0, input.baseUrl),
212
+ _chunkIVFFCAV2js.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 = _chunkQM7PHHYZjs.resolveShellSpawn.call(void 0,
249
+ const plan = _chunkIVFFCAV2js.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
- `${_chunkQM7PHHYZjs.SKILLS_NPX_PACKAGE} timed out after ${SKILLS_PROCESS_TIMEOUT_MS}ms.`
271
+ `${_chunkIVFFCAV2js.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(`${_chunkQM7PHHYZjs.SKILLS_NPX_PACKAGE} exited ${code}.
282
+ process.stderr.write(`${_chunkIVFFCAV2js.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 = _chunkCJ7DBYEQjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
290
+ const baseUrl = _chunk2HPTLBNBjs.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
- _chunkG5TV6WLVjs.printCommandEnvelope.call(void 0,
303
+ _chunkGJOGFWX3js.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
- _chunkG5TV6WLVjs.printCommandEnvelope.call(void 0,
313
+ _chunkGJOGFWX3js.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
- _chunkG5TV6WLVjs.printCommandEnvelope.call(void 0,
330
+ _chunkGJOGFWX3js.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
- _chunkG5TV6WLVjs.printCommandEnvelope.call(void 0,
353
+ _chunkGJOGFWX3js.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 = _chunkCJ7DBYEQjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
365
+ const baseUrl = _chunk2HPTLBNBjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
366
366
  const catalog = {
367
- skillNames: [..._chunkQM7PHHYZjs.DEFAULT_SDK_SKILL_NAMES],
368
- version: _chunkYRQKRQDUjs.SDK_VERSION
367
+ skillNames: [..._chunkIVFFCAV2js.DEFAULT_SDK_SKILL_NAMES],
368
+ version: _chunkSAJWYN4Bjs.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
- _chunkG5TV6WLVjs.printCommandEnvelope.call(void 0,
373
+ _chunkGJOGFWX3js.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)) && !_chunkQM7PHHYZjs.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
380
- _chunkG5TV6WLVjs.printCommandEnvelope.call(void 0,
379
+ if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !_chunkIVFFCAV2js.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
380
+ _chunkGJOGFWX3js.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, ..._chunkQM7PHHYZjs.LEGACY_SKILL_NAMES_TO_REMOVE])
412
+ .../* @__PURE__ */ new Set([...plan.skillNames, ..._chunkIVFFCAV2js.LEGACY_SKILL_NAMES_TO_REMOVE])
413
413
  ];
414
414
  const agentRoots = workspaceSkillRootsForAgents(plan.agents);
415
- _chunkCJ7DBYEQjs.ensureProjectPrivatePathsIgnored.call(void 0, root, [
415
+ _chunk2HPTLBNBjs.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 _chunkQM7PHHYZjs.acquireSkillsInstallLease.call(void 0, baseUrl, agents, plan.version, {
424
+ lease = scope === "global" ? await _chunkIVFFCAV2js.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 _chunkQM7PHHYZjs.SkillsStateUnavailableError)) throw error;
433
- _chunkG5TV6WLVjs.printCommandEnvelope.call(void 0,
432
+ if (!(error instanceof _chunkIVFFCAV2js.SkillsStateUnavailableError)) throw error;
433
+ _chunkGJOGFWX3js.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
- _chunkG5TV6WLVjs.printCommandEnvelope.call(void 0,
449
+ _chunkGJOGFWX3js.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 ${_chunkQM7PHHYZjs.skillsInstallLeasePath.call(void 0, baseUrl, agents)}`
458
+ next: `Retry in a moment: deepline skills install --scope ${scope}. If no refresh is running, remove ${_chunkIVFFCAV2js.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
- _chunkG5TV6WLVjs.printCommandEnvelope.call(void 0,
507
+ _chunkGJOGFWX3js.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
- _chunkG5TV6WLVjs.printCommandEnvelope.call(void 0,
523
+ _chunkGJOGFWX3js.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: _chunkYRQKRQDUjs.SDK_VERSION,
563
+ cliVersion: _chunkSAJWYN4Bjs.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
- _chunkQM7PHHYZjs.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
576
+ _chunkIVFFCAV2js.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
577
577
  }
578
- _chunkG5TV6WLVjs.printCommandEnvelope.call(void 0,
578
+ _chunkGJOGFWX3js.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 ${_chunkQM7PHHYZjs.SKILLS_NPX_PACKAGE},
627
+ This command reinstalls current Deepline-managed skills using ${_chunkIVFFCAV2js.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(_chunkQM7PHHYZjs.SKILLS_AUTO_SYNC_COMMAND, { hidden: true }).description("Refresh Deepline agent skills in the background.").option(
639
+ program.command(_chunkIVFFCAV2js.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
- _chunkG5TV6WLVjs.printCommandEnvelope.call(void 0,
645
+ _chunkGJOGFWX3js.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 _chunkQM7PHHYZjs.syncSdkSkillsIfNeeded.call(void 0, _chunkCJ7DBYEQjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
658
+ await _chunkIVFFCAV2js.syncSdkSkillsIfNeeded.call(void 0, _chunk2HPTLBNBjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
659
659
  mode: "inline",
660
660
  notices: "defer",
661
661
  claim
@@ -3,16 +3,16 @@ import {
3
3
  } from "./chunk-5AEDYVB6.mjs";
4
4
  import {
5
5
  DeeplineClient
6
- } from "./chunk-3TCHX7YK.mjs";
6
+ } from "./chunk-RXRC2COC.mjs";
7
7
  import {
8
8
  errorToJsonPayload,
9
9
  printCommandEnvelope,
10
10
  resolveSdkCliFailureExitCode
11
- } from "./chunk-JL5JU3LD.mjs";
11
+ } from "./chunk-TNJG4ZPN.mjs";
12
12
  import {
13
13
  resolveConfig,
14
14
  sdkCliStateDirPath
15
- } from "./chunk-7MFATEUC.mjs";
15
+ } from "./chunk-GPAWLXW3.mjs";
16
16
 
17
17
  // src/cli/commands/search.ts
18
18
  import { Option } from "commander";
@@ -134,7 +134,7 @@ async function runSearch(queryInputs, options, types, exclude = []) {
134
134
  }
135
135
  const client = new DeeplineClient();
136
136
  const json = options.json === true;
137
- const renderer = json ? void 0 : await import("./search-output-ZKTR3WTJ.mjs");
137
+ const renderer = json ? void 0 : await import("./search-output-OJYY4J7E.mjs");
138
138
  const searches = [];
139
139
  const chunks = [];
140
140
  const refs = /* @__PURE__ */ new Map();
@@ -2,7 +2,7 @@ import {
2
2
  argsWantJson,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-JL5JU3LD.mjs";
5
+ } from "./chunk-TNJG4ZPN.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-7MFATEUC.mjs";
25
+ } from "./chunk-GPAWLXW3.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-3M2QH3KA.mjs";
32
+ } from "./chunk-DJI5CLLW.mjs";
33
33
  import {
34
34
  DeeplineError
35
35
  } from "./chunk-JL2OTMSG.mjs";
@@ -1,7 +1,7 @@
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
3
 
4
- var _chunkTI6DTURFjs = require('./chunk-TI6DTURF.js');
4
+ var _chunk4WAM6TLDjs = require('./chunk-4WAM6TLD.js');
5
5
 
6
6
  // ../play-runtime/scheduler-backend.ts
7
7
  var PLAY_SCHEDULER_BACKENDS = {
@@ -25,8 +25,8 @@ var PLAY_RUNTIME_PROVIDERS = {
25
25
  // Server runs execute on Daytona; the local-dev/test shape swaps the runner
26
26
  // axis to local_process (same as the local profile) via an explicit
27
27
  // runtimeBackend override at submit while tests drive local_process.
28
- runner: _chunkTI6DTURFjs.PLAY_RUNTIME_BACKENDS.daytona,
29
- artifactKind: _chunkTI6DTURFjs.PLAY_ARTIFACT_KINDS.cjsNode20,
28
+ runner: _chunk4WAM6TLDjs.PLAY_RUNTIME_BACKENDS.daytona,
29
+ artifactKind: _chunk4WAM6TLDjs.PLAY_ARTIFACT_KINDS.cjsNode20,
30
30
  label: "Absurd (Postgres-native durable) scheduler + one-shot Daytona runner"
31
31
  }
32
32
  };
@@ -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 _chunkDZTVDL2Xjs = require('./chunk-DZTVDL2X.js');
3
+ var _chunkGZFZZQL4js = require('./chunk-GZFZZQL4.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkCJ7DBYEQjs = require('./chunk-CJ7DBYEQ.js');
7
+ var _chunk2HPTLBNBjs = require('./chunk-2HPTLBNB.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 = _chunkCJ7DBYEQjs.resolveConfig.call(void 0, options);
141
- return new (0, _chunkDZTVDL2Xjs.PlayClient)(
142
- new (0, _chunkCJ7DBYEQjs.HttpClient)(config),
140
+ const config = _chunk2HPTLBNBjs.resolveConfig.call(void 0, options);
141
+ return new (0, _chunkGZFZZQL4js.PlayClient)(
142
+ new (0, _chunk2HPTLBNBjs.HttpClient)(config),
143
143
  _nullishCoalesce(config.environment, () => ( process.env))
144
144
  );
145
145
  }