@opencode/core 0.0.0-beta-19275 → 0.0.0-beta-19278

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 (779) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +67 -67
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{worktree-44gvr517.js → project-027geym4.js} +25 -25
  9. package/dist/chunks/{worktree-5k6pxcn0.js → project-09bvnwrm.js} +41 -41
  10. package/dist/chunks/{worktree-85x45c9n.js → project-0mr65q2h.js} +9 -9
  11. package/dist/chunks/{worktree-0paq2nw3.js → project-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{worktree-0q0f95c6.js → project-0q0f95c6.js} +1 -1
  13. package/dist/chunks/{worktree-w55j1d38.js → project-0x0q0z21.js} +15 -15
  14. package/dist/chunks/{worktree-nsx3nvvw.js → project-10edwj7x.js} +13 -13
  15. package/dist/chunks/{worktree-gbzh5ddg.js → project-13weepf4.js} +13 -13
  16. package/dist/chunks/{worktree-6rrtkcjf.js → project-17gqxarq.js} +8 -8
  17. package/dist/chunks/{worktree-esam66tc.js → project-1awm1f41.js} +12 -12
  18. package/dist/chunks/{worktree-mvfsc1pv.js → project-1bbkgx8g.js} +3 -3
  19. package/dist/chunks/{worktree-1dazxqgg.js → project-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{worktree-1dfhrqqs.js → project-1dfhrqqs.js} +2 -2
  21. package/dist/chunks/{worktree-n679sgpe.js → project-1ezn0t51.js} +4 -4
  22. package/dist/chunks/{worktree-ecj1wrg9.js → project-1jfm9dfr.js} +3 -3
  23. package/dist/chunks/{worktree-f8jtvgnz.js → project-1tyfraxr.js} +18 -18
  24. package/dist/chunks/{worktree-56gdpj1q.js → project-1ygqh575.js} +9 -9
  25. package/dist/chunks/{worktree-21r38tys.js → project-21r38tys.js} +1 -1
  26. package/dist/chunks/{worktree-2402vzrj.js → project-2402vzrj.js} +1 -1
  27. package/dist/chunks/{worktree-z63w68vq.js → project-29x78va6.js} +6 -6
  28. package/dist/chunks/{worktree-2a5m3afh.js → project-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{worktree-608jf46e.js → project-2e8stk25.js} +293 -293
  30. package/dist/chunks/{worktree-egz44y69.js → project-2ehqxkpw.js} +12 -12
  31. package/dist/chunks/{worktree-w2jjwenf.js → project-2ekntkva.js} +12 -12
  32. package/dist/chunks/{worktree-z82wee6n.js → project-2er49d5v.js} +17 -17
  33. package/dist/chunks/{worktree-c5gn303e.js → project-2evyaa68.js} +4 -4
  34. package/dist/chunks/{worktree-zf4nb4wp.js → project-2ga1wswe.js} +41 -41
  35. package/dist/chunks/{worktree-y5h7afh3.js → project-2sy09y68.js} +17 -17
  36. package/dist/chunks/{worktree-wpdyyhk3.js → project-30wjqkww.js} +11 -11
  37. package/dist/chunks/{worktree-jvt1mp6m.js → project-3dtfbbnv.js} +7 -7
  38. package/dist/chunks/{worktree-3fc6dm20.js → project-3fc6dm20.js} +1 -1
  39. package/dist/chunks/{worktree-3hepkmqq.js → project-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{worktree-vrm5r67w.js → project-3rv0aqry.js} +4 -4
  41. package/dist/chunks/{worktree-3smtnn6g.js → project-3smtnn6g.js} +1 -1
  42. package/dist/chunks/{worktree-3tvqynh2.js → project-3tvqynh2.js} +1 -1
  43. package/dist/chunks/{worktree-edbbhmy9.js → project-43k15f45.js} +4 -4
  44. package/dist/chunks/{worktree-5xgydngh.js → project-43xem47a.js} +15 -15
  45. package/dist/chunks/{worktree-j0y65r11.js → project-4t3kg1n6.js} +6 -6
  46. package/dist/chunks/{worktree-4zbdsexc.js → project-4xw5r8dm.js} +6 -6
  47. package/dist/chunks/{worktree-wg42tg3h.js → project-51e3a5p7.js} +6 -6
  48. package/dist/chunks/{worktree-cnd7bjr1.js → project-51tzyhx5.js} +35 -35
  49. package/dist/chunks/{worktree-xwc0gsaj.js → project-56qyepyq.js} +32 -32
  50. package/dist/chunks/{worktree-10fngwpd.js → project-5b46j773.js} +27 -27
  51. package/dist/chunks/{worktree-5c4hm403.js → project-5c4hm403.js} +3 -3
  52. package/dist/chunks/{worktree-5daktx2q.js → project-5daktx2q.js} +1 -1
  53. package/dist/chunks/{worktree-yfjv9t1g.js → project-5nqmcer4.js} +4 -4
  54. package/dist/chunks/{worktree-5t3nmthw.js → project-5t3nmthw.js} +2 -2
  55. package/dist/chunks/{worktree-dx2tycek.js → project-5ykeyche.js} +5 -5
  56. package/dist/chunks/{worktree-p72z5xx6.js → project-62qy00sv.js} +2 -2
  57. package/dist/chunks/{worktree-w1k39n5e.js → project-64kphnzf.js} +4 -4
  58. package/dist/chunks/{worktree-669tq793.js → project-669tq793.js} +1 -1
  59. package/dist/chunks/{worktree-sdm808jd.js → project-6jmh5c9g.js} +11 -11
  60. package/dist/chunks/{worktree-6msgmcgs.js → project-6msgmcgs.js} +1 -1
  61. package/dist/chunks/{worktree-8t34d1ka.js → project-6sfrn00q.js} +11 -11
  62. package/dist/chunks/{worktree-b29mbqx6.js → project-6vq97qmv.js} +5 -5
  63. package/dist/chunks/{worktree-ftevhb49.js → project-70xwxnv0.js} +9 -9
  64. package/dist/chunks/{worktree-j2c7enbf.js → project-7150tr69.js} +6 -6
  65. package/dist/chunks/{worktree-71q4at8m.js → project-71q4at8m.js} +1 -1
  66. package/dist/chunks/{worktree-cyhn230w.js → project-72cmdp6g.js} +10 -10
  67. package/dist/chunks/{worktree-qwyrfpbr.js → project-7bg4t14r.js} +2 -2
  68. package/dist/chunks/{worktree-7bmhse3q.js → project-7bmhse3q.js} +1 -1
  69. package/dist/chunks/{worktree-7c3npc5w.js → project-7bspjkrj.js} +47 -47
  70. package/dist/chunks/{worktree-km7f0hwj.js → project-7dfyzsb9.js} +16 -16
  71. package/dist/chunks/{worktree-qgn6gcr1.js → project-7dqw4kz8.js} +5 -5
  72. package/dist/chunks/{worktree-fvanntqq.js → project-7ebn0nc0.js} +4 -4
  73. package/dist/chunks/project-7fj5dwt0.js +18 -0
  74. package/dist/chunks/{worktree-9w3hzb16.js → project-819m2fyr.js} +11 -11
  75. package/dist/chunks/{worktree-4ph0a4gn.js → project-84wz94gt.js} +28 -28
  76. package/dist/chunks/{worktree-r82b328h.js → project-86gp7mh5.js} +41 -41
  77. package/dist/chunks/{worktree-8d7r5vzw.js → project-8d7r5vzw.js} +1 -1
  78. package/dist/chunks/{worktree-rjbw5qw4.js → project-8jtjdsme.js} +25 -25
  79. package/dist/chunks/{worktree-0bc6jdbc.js → project-8mjrrxm6.js} +10 -10
  80. package/dist/chunks/{worktree-jrra6jmc.js → project-8r6bj34c.js} +6 -6
  81. package/dist/chunks/{worktree-wad31dta.js → project-8wm8yswe.js} +6 -6
  82. package/dist/chunks/{worktree-t2pd0szj.js → project-8yk1fhag.js} +5 -5
  83. package/dist/chunks/{worktree-t3vqhd9s.js → project-92g4te2e.js} +13 -13
  84. package/dist/chunks/{worktree-vp47j2z8.js → project-932tnxz1.js} +20 -20
  85. package/dist/chunks/{worktree-dvgvg99t.js → project-9495k3mj.js} +16 -16
  86. package/dist/chunks/{worktree-t9e6e84n.js → project-96yt6zt0.js} +1 -1
  87. package/dist/chunks/{worktree-seak0fhn.js → project-a08t2777.js} +11 -11
  88. package/dist/chunks/{worktree-z0kan0ff.js → project-a9ctzdev.js} +6 -6
  89. package/dist/chunks/{worktree-aaet6srn.js → project-aaet6srn.js} +2 -2
  90. package/dist/chunks/{worktree-18bdr5q6.js → project-acrqcsaw.js} +32 -32
  91. package/dist/chunks/{worktree-255fqtq1.js → project-as6gj6jx.js} +4 -4
  92. package/dist/chunks/{worktree-ead3g9p8.js → project-avm8jn6n.js} +5 -5
  93. package/dist/chunks/{worktree-g190xswt.js → project-axmvebxj.js} +21 -21
  94. package/dist/chunks/{worktree-fm2qvscf.js → project-b27vhd2z.js} +4 -4
  95. package/dist/chunks/{worktree-mp9h7a8n.js → project-b2fkw21j.js} +30 -30
  96. package/dist/chunks/{worktree-j5j8hrgx.js → project-b3zxthpz.js} +16 -16
  97. package/dist/chunks/{worktree-b6gygkdw.js → project-b6gygkdw.js} +2 -2
  98. package/dist/chunks/{worktree-frwpyczr.js → project-bcn5dnkb.js} +4 -4
  99. package/dist/chunks/{worktree-pr7ch8ks.js → project-bqcj21xz.js} +24 -24
  100. package/dist/chunks/{worktree-26tj7vag.js → project-c7qmhs35.js} +6 -6
  101. package/dist/chunks/{worktree-nrs7ag5n.js → project-cgj7rfmq.js} +41 -41
  102. package/dist/chunks/{worktree-xrd4famk.js → project-cksygnyb.js} +10 -10
  103. package/dist/chunks/{worktree-jjc9qbmx.js → project-ctmfyf3j.js} +27 -27
  104. package/dist/chunks/{worktree-xmc8nah8.js → project-ctr5k99x.js} +15 -15
  105. package/dist/chunks/{worktree-0k40b2vq.js → project-cvyappcd.js} +82 -82
  106. package/dist/chunks/{worktree-c3w8vk9m.js → project-d6aefva6.js} +10 -10
  107. package/dist/chunks/{worktree-adeb4z1j.js → project-d6cypdy5.js} +9 -9
  108. package/dist/chunks/{worktree-dmvhv66c.js → project-d8t3pxs6.js} +16 -16
  109. package/dist/chunks/{worktree-146a62k1.js → project-dcxvb2gw.js} +50 -50
  110. package/dist/chunks/{worktree-madgwgkk.js → project-dfcnm7e4.js} +10 -10
  111. package/dist/chunks/{worktree-dj2t23y0.js → project-dj2t23y0.js} +2 -2
  112. package/dist/chunks/{worktree-249ffbnn.js → project-djzy5cyb.js} +24 -24
  113. package/dist/chunks/{worktree-y71avatq.js → project-dpkg50ah.js} +4 -4
  114. package/dist/chunks/{worktree-rxv654xr.js → project-drdmq256.js} +4 -4
  115. package/dist/chunks/{worktree-vq45zjjz.js → project-dx2tbdwn.js} +26 -26
  116. package/dist/chunks/{worktree-hcaepy0h.js → project-e30j1gg8.js} +11 -11
  117. package/dist/chunks/{worktree-kvezfmw3.js → project-e43fv40x.js} +35 -35
  118. package/dist/chunks/{worktree-kxzh2p20.js → project-e6z3r01t.js} +11 -11
  119. package/dist/chunks/{worktree-eaj1djv9.js → project-eaj1djv9.js} +1 -1
  120. package/dist/chunks/{worktree-aw84nbjy.js → project-endcmcv4.js} +23 -23
  121. package/dist/chunks/{worktree-1jhga1v4.js → project-epajpt77.js} +9 -9
  122. package/dist/chunks/{worktree-etq0c3wd.js → project-etq0c3wd.js} +1 -1
  123. package/dist/chunks/{worktree-16cax9zb.js → project-f32czd11.js} +11 -11
  124. package/dist/chunks/{worktree-nze8c8vz.js → project-f70c5qx7.js} +11 -11
  125. package/dist/chunks/{worktree-s7xtjryh.js → project-f8q7mv7a.js} +1 -1
  126. package/dist/chunks/{worktree-vkez6a4k.js → project-ff0htmxq.js} +6 -6
  127. package/dist/chunks/{worktree-zxgnc9zk.js → project-fgh0kbhd.js} +1 -1
  128. package/dist/chunks/{worktree-qn0ybd26.js → project-fhz301gp.js} +15 -15
  129. package/dist/chunks/{worktree-76j77zm8.js → project-fp1knm32.js} +20 -20
  130. package/dist/chunks/{worktree-fxbjtjnd.js → project-fxbjtjnd.js} +1 -1
  131. package/dist/chunks/{worktree-fa0cr6zp.js → project-fygdb7h7.js} +3 -3
  132. package/dist/chunks/{worktree-5g57spxg.js → project-gc48s5ez.js} +15 -15
  133. package/dist/chunks/{worktree-gd4qta3r.js → project-gd4qta3r.js} +1 -1
  134. package/dist/chunks/{worktree-twy35tz0.js → project-gfqzzqy5.js} +5 -5
  135. package/dist/chunks/{worktree-jwd18bs2.js → project-ghx2em0z.js} +22 -22
  136. package/dist/chunks/{worktree-52fpbh6z.js → project-gn2hfjap.js} +8 -8
  137. package/dist/chunks/{worktree-fvhg6c42.js → project-gn9xne58.js} +20 -20
  138. package/dist/chunks/{worktree-gnx4ytbv.js → project-gnx4ytbv.js} +4 -4
  139. package/dist/chunks/{worktree-hekpxy8z.js → project-gr12maw1.js} +5 -5
  140. package/dist/chunks/{worktree-th5km1p3.js → project-gv6a8nnw.js} +5 -5
  141. package/dist/chunks/{worktree-rfnzy394.js → project-gx1zhcta.js} +1 -1
  142. package/dist/chunks/{worktree-h3njrwgg.js → project-gykabrhp.js} +28 -28
  143. package/dist/chunks/{worktree-h03wrkyp.js → project-h03wrkyp.js} +2 -2
  144. package/dist/chunks/{worktree-0khbs0qs.js → project-h1w0e5zb.js} +3 -3
  145. package/dist/chunks/{worktree-3qdzwhqx.js → project-h39c7km2.js} +56 -56
  146. package/dist/chunks/{worktree-ezy2bptn.js → project-h4jnxhkz.js} +8 -8
  147. package/dist/chunks/{worktree-h6vf3j39.js → project-h6vf3j39.js} +1 -1
  148. package/dist/chunks/{worktree-m63snmdm.js → project-h78fqkj7.js} +20 -20
  149. package/dist/chunks/{worktree-6jnybvqn.js → project-h7ygw6q4.js} +9 -9
  150. package/dist/chunks/{worktree-m9hyszwm.js → project-h9dgkh5z.js} +4 -4
  151. package/dist/chunks/{worktree-e3fx731j.js → project-hc9xewxz.js} +25 -25
  152. package/dist/chunks/{worktree-hdnk95c8.js → project-hdnk95c8.js} +2 -2
  153. package/dist/chunks/{worktree-dvh2p5hy.js → project-hdvn1z9e.js} +20 -20
  154. package/dist/chunks/{worktree-5xw7cgsj.js → project-hjzewyz6.js} +16 -16
  155. package/dist/chunks/{worktree-asseqh46.js → project-hwsy4xhf.js} +7 -7
  156. package/dist/chunks/{worktree-jgrg7y22.js → project-j17absjw.js} +20 -20
  157. package/dist/chunks/{worktree-j56e64zr.js → project-j56e64zr.js} +1 -1
  158. package/dist/chunks/{worktree-hed2586q.js → project-j76wc2xt.js} +14 -14
  159. package/dist/chunks/{worktree-nqyaavw9.js → project-j7vv7h2p.js} +11 -11
  160. package/dist/chunks/{worktree-paphc93g.js → project-j935v87r.js} +2 -2
  161. package/dist/chunks/{worktree-cbmq2pzd.js → project-jcmb94gz.js} +26 -26
  162. package/dist/chunks/{worktree-kpf3cvbv.js → project-jem476zw.js} +13 -13
  163. package/dist/chunks/{worktree-eynwqhf0.js → project-jmm2s19w.js} +33 -33
  164. package/dist/chunks/{worktree-pcpv7kp0.js → project-jr5gwc1n.js} +25 -25
  165. package/dist/chunks/{worktree-3bgy0jaw.js → project-jte1t19p.js} +14 -14
  166. package/dist/chunks/{worktree-tvvzt9x6.js → project-jtv49rer.js} +33 -33
  167. package/dist/chunks/{worktree-wbkyxrgf.js → project-jv01nqvq.js} +5 -5
  168. package/dist/chunks/{worktree-tzjcchbs.js → project-jxa7e7w5.js} +168 -168
  169. package/dist/chunks/{worktree-710w2ech.js → project-k16ay38w.js} +1 -1
  170. package/dist/chunks/{worktree-k7d0894y.js → project-k3aec3va.js} +9 -9
  171. package/dist/chunks/{worktree-062zp4xz.js → project-k4zk1pey.js} +17 -17
  172. package/dist/chunks/{worktree-8qnjnss5.js → project-kbfpxq7g.js} +16 -16
  173. package/dist/chunks/{worktree-kg06axw8.js → project-kg06axw8.js} +1 -1
  174. package/dist/chunks/{worktree-2hcp0bjx.js → project-khz9dh7n.js} +9 -9
  175. package/dist/chunks/{worktree-0tg2xvbt.js → project-kk6hqvx2.js} +28 -28
  176. package/dist/chunks/{worktree-ca7w653e.js → project-kne8f3cn.js} +4 -4
  177. package/dist/chunks/{worktree-8qk9tw02.js → project-ksz0h0wp.js} +1 -1
  178. package/dist/chunks/{worktree-1e9w7pgh.js → project-kv84k9wf.js} +10 -10
  179. package/dist/chunks/{worktree-neswnnnm.js → project-kzvekf0w.js} +21 -21
  180. package/dist/chunks/{worktree-m0jqrx5p.js → project-m0jqrx5p.js} +2 -2
  181. package/dist/chunks/{worktree-9qn3qky1.js → project-m27pyyd3.js} +8 -8
  182. package/dist/chunks/{worktree-1j00hnwg.js → project-m60zcb18.js} +10 -10
  183. package/dist/chunks/{worktree-d57x1pyx.js → project-m6h2rqwk.js} +7 -7
  184. package/dist/chunks/{worktree-fjttjfbj.js → project-m7getmd9.js} +61 -61
  185. package/dist/chunks/project-m8reha27.js +22 -0
  186. package/dist/chunks/{worktree-m9w0rfyh.js → project-m9w0rfyh.js} +1 -1
  187. package/dist/chunks/{worktree-rn1y5g26.js → project-mc8q7c69.js} +20 -20
  188. package/dist/chunks/{worktree-mfxgaa47.js → project-mfb27c90.js} +10 -10
  189. package/dist/chunks/{worktree-mkcjrzeh.js → project-mkcjrzeh.js} +1 -1
  190. package/dist/chunks/{worktree-7vcja736.js → project-mmxjhrgn.js} +24 -24
  191. package/dist/chunks/{worktree-5ycqwtsz.js → project-n21ydmp7.js} +18 -18
  192. package/dist/chunks/{worktree-tjsj89dc.js → project-n37c4crj.js} +9 -9
  193. package/dist/chunks/{worktree-vvscj02x.js → project-n4d3y0nm.js} +9 -9
  194. package/dist/chunks/{worktree-567g6dh9.js → project-n59hvazh.js} +8 -8
  195. package/dist/chunks/{worktree-a9ab9jmj.js → project-n76fdqym.js} +5 -5
  196. package/dist/chunks/{worktree-047x8f8f.js → project-nb4tc1st.js} +40 -40
  197. package/dist/chunks/{worktree-2y34zzjz.js → project-nca7p386.js} +4 -4
  198. package/dist/chunks/{worktree-nhy5jxhy.js → project-nhy5jxhy.js} +1 -1
  199. package/dist/chunks/{worktree-2f04pwep.js → project-nvxqht09.js} +3 -3
  200. package/dist/chunks/{worktree-b1x7x3xx.js → project-p0eb35gv.js} +11 -11
  201. package/dist/chunks/{worktree-tm64n74p.js → project-phzb6rq6.js} +30 -30
  202. package/dist/chunks/{worktree-pjvnvgmy.js → project-pjvnvgmy.js} +1 -1
  203. package/dist/chunks/{worktree-13bmfrpk.js → project-pk7h5ckr.js} +18 -18
  204. package/dist/chunks/{worktree-pknna89w.js → project-pknna89w.js} +1 -1
  205. package/dist/chunks/{worktree-qt1vhyrn.js → project-pnc9b5m6.js} +11 -11
  206. package/dist/chunks/{worktree-zycny061.js → project-prsdv4b2.js} +32 -32
  207. package/dist/chunks/{worktree-zjhmce52.js → project-q0bpc06z.js} +1 -1
  208. package/dist/chunks/{worktree-n1s6t8b2.js → project-q1290kd6.js} +9 -9
  209. package/dist/chunks/{worktree-kbmmzrfa.js → project-q26tgv94.js} +8 -8
  210. package/dist/chunks/{worktree-120qrk2e.js → project-q5tpj0kh.js} +46 -46
  211. package/dist/chunks/{worktree-rp98wqty.js → project-qgh4s17a.js} +36 -36
  212. package/dist/chunks/{worktree-m6vfy410.js → project-qgn1mnrt.js} +19 -19
  213. package/dist/chunks/{worktree-s4cjsff2.js → project-qmt7w6hr.js} +16 -16
  214. package/dist/chunks/{worktree-2a4f6v5q.js → project-qp3v07n2.js} +8 -8
  215. package/dist/chunks/{worktree-qsdy395h.js → project-qsdy395h.js} +1 -1
  216. package/dist/chunks/{worktree-sj6racd4.js → project-r8qn9tz0.js} +6 -6
  217. package/dist/chunks/{worktree-r98e92ep.js → project-r98e92ep.js} +1 -1
  218. package/dist/chunks/{worktree-ffx4mq6v.js → project-r9babyk8.js} +1 -1
  219. package/dist/chunks/{worktree-80aa9epv.js → project-rd7hwmph.js} +11 -11
  220. package/dist/chunks/{worktree-e54b9byn.js → project-rdcaty2e.js} +24 -24
  221. package/dist/chunks/{worktree-k56d8zdx.js → project-rea82nnp.js} +59 -59
  222. package/dist/chunks/{worktree-zjffjh2a.js → project-rr27b465.js} +13 -13
  223. package/dist/chunks/{worktree-923hzxn9.js → project-ry1v2pfa.js} +13 -13
  224. package/dist/chunks/{worktree-a6ftqyym.js → project-s1angysq.js} +3 -3
  225. package/dist/chunks/{worktree-yrznvahk.js → project-s4enseaf.js} +2 -2
  226. package/dist/chunks/{worktree-4m55frd1.js → project-s7cxktgw.js} +19 -19
  227. package/dist/chunks/{worktree-7hhzr64w.js → project-sakpmmn5.js} +13 -13
  228. package/dist/chunks/{worktree-r05k2dy1.js → project-sbk6mfjb.js} +8 -8
  229. package/dist/chunks/{worktree-f41x9hg9.js → project-sm4sqa5b.js} +16 -16
  230. package/dist/chunks/{worktree-11zk2b76.js → project-srrqt7rk.js} +15 -15
  231. package/dist/chunks/{worktree-d3p6gjbn.js → project-ss9zsf3v.js} +36 -36
  232. package/dist/chunks/{worktree-8mvsftc3.js → project-swctkwxd.js} +15 -15
  233. package/dist/chunks/{worktree-6pbkbdfq.js → project-sy03ybs5.js} +9 -9
  234. package/dist/chunks/{worktree-k8wahcmx.js → project-t10zzpzb.js} +9 -9
  235. package/dist/chunks/{worktree-nkn58an9.js → project-t61k8twr.js} +8 -8
  236. package/dist/chunks/{worktree-tazgh4e4.js → project-tazgh4e4.js} +1 -1
  237. package/dist/chunks/{worktree-tcezcvh9.js → project-tcezcvh9.js} +1 -1
  238. package/dist/chunks/{worktree-tdstcens.js → project-tdstcens.js} +1 -1
  239. package/dist/chunks/{worktree-4vfmzcq2.js → project-tfngb0ww.js} +4 -4
  240. package/dist/chunks/{worktree-34gk67xh.js → project-tm0edggk.js} +4 -4
  241. package/dist/chunks/{worktree-97y4vk9t.js → project-tm9beczq.js} +22 -22
  242. package/dist/chunks/{worktree-t0fxg8b9.js → project-tn0aqsam.js} +5 -5
  243. package/dist/chunks/{worktree-tvtrv512.js → project-tvtrv512.js} +1 -1
  244. package/dist/chunks/{worktree-q18k77y0.js → project-v25jqm1t.js} +26 -26
  245. package/dist/chunks/{worktree-pjmw00w1.js → project-v33xfvcj.js} +9 -9
  246. package/dist/chunks/{worktree-6pxb6e41.js → project-vdgebjhh.js} +16 -16
  247. package/dist/chunks/{worktree-nzwzy72p.js → project-vdnmb5h5.js} +9 -9
  248. package/dist/chunks/{worktree-veqvce7d.js → project-veqvce7d.js} +1 -1
  249. package/dist/chunks/{worktree-rqsgeg7f.js → project-vj3jbsbe.js} +18 -18
  250. package/dist/chunks/{worktree-ccrec4q8.js → project-vmaj1q0b.js} +20 -20
  251. package/dist/chunks/{worktree-p9690q97.js → project-vnwzej4v.js} +83 -83
  252. package/dist/chunks/{worktree-2qnjyx3m.js → project-vx993qx3.js} +20 -20
  253. package/dist/chunks/{worktree-d6hfhc31.js → project-vxcq4j7n.js} +11 -11
  254. package/dist/chunks/{worktree-v5yv7hbv.js → project-vxx8gf98.js} +24 -24
  255. package/dist/chunks/project-vyq6fvzk.js +247 -0
  256. package/dist/chunks/{worktree-vzcthcp8.js → project-vzcthcp8.js} +1 -1
  257. package/dist/chunks/{worktree-w3wsvvr9.js → project-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{worktree-vece14gy.js → project-wa6xq0j9.js} +20 -20
  259. package/dist/chunks/{worktree-wd87259q.js → project-wd87259q.js} +1 -1
  260. package/dist/chunks/{worktree-emzfq4f9.js → project-wncagjbn.js} +43 -43
  261. package/dist/chunks/{worktree-7003dbs4.js → project-wv9ccret.js} +23 -23
  262. package/dist/chunks/{worktree-skcgd3vv.js → project-wzrzwyda.js} +30 -30
  263. package/dist/chunks/{worktree-x1ezjp6w.js → project-x1ezjp6w.js} +1 -1
  264. package/dist/chunks/{worktree-x1xcpfha.js → project-x1xcpfha.js} +3 -3
  265. package/dist/chunks/{worktree-x43y2vfs.js → project-x43y2vfs.js} +2 -2
  266. package/dist/chunks/{worktree-a8mtf1n7.js → project-xdckn6ya.js} +41 -41
  267. package/dist/chunks/{worktree-2t421ajn.js → project-xjemz1cz.js} +20 -20
  268. package/dist/chunks/{worktree-mj1ykd8q.js → project-y0zapfev.js} +8 -8
  269. package/dist/chunks/{worktree-y1fvbwt7.js → project-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{worktree-qr42g2ex.js → project-y53ps50f.js} +12 -12
  271. package/dist/chunks/{worktree-7rtqyxd7.js → project-y9ktt6kr.js} +5 -5
  272. package/dist/chunks/{worktree-k65ezx0v.js → project-ykfxwqmv.js} +13 -13
  273. package/dist/chunks/{worktree-410w4w39.js → project-ymdp8m11.js} +28 -28
  274. package/dist/chunks/{worktree-1cgg357y.js → project-ynyckyng.js} +5 -5
  275. package/dist/chunks/{worktree-yp2x3t23.js → project-yp2x3t23.js} +1 -1
  276. package/dist/chunks/{worktree-q3ac6zk1.js → project-yqt70mwr.js} +26 -26
  277. package/dist/chunks/{worktree-yrhqyw5v.js → project-yrhqyw5v.js} +1 -1
  278. package/dist/chunks/{worktree-g0he3e83.js → project-yz665w9a.js} +26 -26
  279. package/dist/chunks/{worktree-sw2yvvap.js → project-yzaj2zf7.js} +16 -16
  280. package/dist/chunks/{worktree-z0bkrqjs.js → project-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{worktree-p0cja4mf.js → project-z69s9t6b.js} +5 -5
  282. package/dist/chunks/{worktree-zeh9ct20.js → project-zeh9ct20.js} +2 -2
  283. package/dist/chunks/{worktree-amn7rrmc.js → project-zh7q37t8.js} +15 -15
  284. package/dist/chunks/{worktree-a4r18kjz.js → project-zhxw6mnd.js} +2 -2
  285. package/dist/chunks/{worktree-zr2ceqn5.js → project-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{worktree-say7pt71.js → project-zrz3bzz3.js} +41 -41
  287. package/dist/chunks/{worktree-zxq2ej10.js → project-zxq2ej10.js} +1 -1
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +3 -3
  290. package/dist/codemode/tool.js +2 -2
  291. package/dist/command.js +79 -79
  292. package/dist/config/discovery.js +77 -77
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +19 -19
  295. package/dist/config/plugin/agent.js +117 -117
  296. package/dist/config/plugin/command.js +209 -209
  297. package/dist/config/plugin/compaction.js +155 -155
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +117 -117
  300. package/dist/config/plugin/image.js +115 -115
  301. package/dist/config/plugin/instruction.js +85 -85
  302. package/dist/config/plugin/location-watcher.js +115 -115
  303. package/dist/config/plugin/mcp.js +126 -126
  304. package/dist/config/plugin/policy.js +114 -114
  305. package/dist/config/plugin/provider.js +113 -113
  306. package/dist/config/plugin/reference.js +117 -117
  307. package/dist/config/plugin/shell.js +116 -116
  308. package/dist/config/plugin/skill-file.js +97 -97
  309. package/dist/config/plugin/skill.js +136 -136
  310. package/dist/config/plugin/snapshot.js +115 -115
  311. package/dist/config/plugin/source.js +115 -115
  312. package/dist/config/plugin/tool-output.js +117 -117
  313. package/dist/config/plugin/websearch.js +113 -113
  314. package/dist/config/plugin/worktree.js +118 -118
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +117 -117
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +81 -81
  320. package/dist/database/database.js +64 -64
  321. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +15 -15
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +16 -16
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration.gen.js +47 -47
  384. package/dist/database/migration.js +49 -49
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +74 -74
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +361 -361
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +3 -3
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +88 -88
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +90 -90
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +68 -68
  408. package/dist/file-access.js +99 -99
  409. package/dist/file-mutation.js +89 -89
  410. package/dist/file-retention.js +1 -1
  411. package/dist/file.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/ignore.js +1 -1
  417. package/dist/filesystem/location-watcher-policy.js +4 -4
  418. package/dist/filesystem/location-watcher.js +220 -220
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +99 -99
  421. package/dist/filesystem/watcher-binding.js +3 -3
  422. package/dist/filesystem/watcher.js +11 -11
  423. package/dist/filesystem.js +96 -96
  424. package/dist/form.js +82 -82
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +82 -82
  427. package/dist/generate.js +91 -91
  428. package/dist/git.js +7 -7
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +3 -3
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/id/id.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +5 -5
  452. package/dist/instance.js +352 -352
  453. package/dist/instruction-discovery.js +71 -71
  454. package/dist/instructions/builtins.js +82 -82
  455. package/dist/instructions/index.js +1 -1
  456. package/dist/integration/connection.js +1 -1
  457. package/dist/integration.js +86 -86
  458. package/dist/job.js +77 -77
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +71 -71
  461. package/dist/location-activity.js +130 -130
  462. package/dist/location-mutation.js +99 -99
  463. package/dist/location-service-map.js +83 -83
  464. package/dist/location-services.js +349 -349
  465. package/dist/location.js +84 -84
  466. package/dist/mcp/client.js +86 -86
  467. package/dist/mcp/index.js +103 -103
  468. package/dist/mcp/instructions.js +120 -120
  469. package/dist/mcp/oauth.js +3 -3
  470. package/dist/mcp/stdio.js +85 -85
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +3 -3
  473. package/dist/model-resolver.js +86 -86
  474. package/dist/model.js +8 -8
  475. package/dist/models-dev.js +86 -86
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +78 -78
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +112 -112
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +84 -84
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +73 -73
  485. package/dist/plugin/agent.js +99 -99
  486. package/dist/plugin/command.js +96 -96
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +213 -213
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +323 -323
  491. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  492. package/dist/plugin/models-dev.js +75 -75
  493. package/dist/plugin/module.js +7 -7
  494. package/dist/plugin/optimize.js +4 -4
  495. package/dist/plugin/plan.js +97 -97
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/alibaba.js +2 -2
  498. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  499. package/dist/plugin/provider/anthropic.js +2 -2
  500. package/dist/plugin/provider/azure.js +118 -118
  501. package/dist/plugin/provider/cerebras.js +2 -2
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +114 -114
  506. package/dist/plugin/provider/digitalocean.js +79 -79
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/gateway.js +2 -2
  510. package/dist/plugin/provider/github-copilot.js +80 -80
  511. package/dist/plugin/provider/gitlab.js +3 -3
  512. package/dist/plugin/provider/google-vertex.js +2 -2
  513. package/dist/plugin/provider/kilo.js +2 -2
  514. package/dist/plugin/provider/llmgateway.js +76 -76
  515. package/dist/plugin/provider/lmstudio.js +117 -117
  516. package/dist/plugin/provider/mistral.js +2 -2
  517. package/dist/plugin/provider/modal.js +79 -79
  518. package/dist/plugin/provider/nvidia.js +2 -2
  519. package/dist/plugin/provider/ollama.js +117 -117
  520. package/dist/plugin/provider/openai-compatible.js +1 -1
  521. package/dist/plugin/provider/openai.js +80 -80
  522. package/dist/plugin/provider/opencode.js +76 -76
  523. package/dist/plugin/provider/openrouter.js +3 -3
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/sap-ai-core.js +3 -3
  526. package/dist/plugin/provider/sdk-factory.js +1 -1
  527. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  528. package/dist/plugin/provider/venice.js +2 -2
  529. package/dist/plugin/provider/vercel.js +2 -2
  530. package/dist/plugin/provider/vllm.js +117 -117
  531. package/dist/plugin/provider/xai.js +77 -77
  532. package/dist/plugin/provider/zenmux.js +2 -2
  533. package/dist/plugin/provider.js +156 -156
  534. package/dist/plugin/sdk.js +74 -74
  535. package/dist/plugin/service.js +3 -3
  536. package/dist/plugin/skill.js +133 -133
  537. package/dist/plugin/source-directory.js +1 -1
  538. package/dist/plugin/supervisor.js +342 -342
  539. package/dist/plugin/update.js +6 -6
  540. package/dist/plugin/variant.js +4 -4
  541. package/dist/plugin/vcs/git.js +82 -82
  542. package/dist/plugin/vcs/hg.js +82 -82
  543. package/dist/plugin/warming.js +112 -112
  544. package/dist/plugin/websearch/exa.js +7 -7
  545. package/dist/plugin/websearch/firecrawl.js +6 -6
  546. package/dist/plugin/websearch/index.js +8 -8
  547. package/dist/plugin/websearch/mcp.js +6 -6
  548. package/dist/plugin/websearch/parallel.js +8 -8
  549. package/dist/plugin/websearch/tavily.js +6 -6
  550. package/dist/plugin.js +218 -218
  551. package/dist/project/schema.js +8 -8
  552. package/dist/project/sql.js +4 -4
  553. package/dist/project.js +85 -85
  554. package/dist/provider.js +7 -7
  555. package/dist/pty/protocol.js +1 -1
  556. package/dist/pty/schema.js +1 -1
  557. package/dist/pty/ticket.js +1 -1
  558. package/dist/pty.js +88 -88
  559. package/dist/reference/instructions.js +84 -84
  560. package/dist/reference.js +86 -86
  561. package/dist/repository-cache.js +76 -76
  562. package/dist/repository.js +1 -1
  563. package/dist/ripgrep/binary.js +2 -2
  564. package/dist/ripgrep.js +93 -93
  565. package/dist/rpc.js +81 -81
  566. package/dist/schema.js +1 -1
  567. package/dist/session/command.js +72 -72
  568. package/dist/session/compaction.js +125 -125
  569. package/dist/session/context.js +147 -147
  570. package/dist/session/environment.js +5 -5
  571. package/dist/session/error.js +7 -7
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +216 -216
  574. package/dist/session/execution.js +124 -124
  575. package/dist/session/generate.js +148 -148
  576. package/dist/session/history.js +15 -15
  577. package/dist/session/inbox.js +86 -86
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +77 -77
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +92 -92
  582. package/dist/session/message-updater.js +2 -2
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +113 -113
  585. package/dist/session/model-transport.js +9 -9
  586. package/dist/session/move.js +126 -126
  587. package/dist/session/projector.js +84 -84
  588. package/dist/session/prompt.js +100 -100
  589. package/dist/session/provider-context.js +3 -3
  590. package/dist/session/revert.js +85 -85
  591. package/dist/session/run-coordinator.js +1 -1
  592. package/dist/session/runner/index.js +3 -3
  593. package/dist/session/runner/llm.js +225 -225
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +86 -86
  596. package/dist/session/runner/publish-llm-event.js +3 -3
  597. package/dist/session/runner/retry.js +110 -110
  598. package/dist/session/runner/step.js +121 -121
  599. package/dist/session/runner/to-llm-message.js +2 -2
  600. package/dist/session/schema.js +5 -5
  601. package/dist/session/session.js +169 -169
  602. package/dist/session/shell.js +131 -131
  603. package/dist/session/skill.js +98 -98
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +71 -71
  606. package/dist/session/store.js +83 -83
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +205 -205
  609. package/dist/session/system-prompt.js +1 -1
  610. package/dist/session/title.js +151 -151
  611. package/dist/session/to-session-error.js +107 -107
  612. package/dist/session/transfer.js +212 -212
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +211 -211
  615. package/dist/shell/parse.js +6 -6
  616. package/dist/shell/result.js +1 -1
  617. package/dist/shell/scan.js +1 -1
  618. package/dist/shell/select.js +11 -11
  619. package/dist/shell.js +133 -133
  620. package/dist/skill/discovery.js +6 -6
  621. package/dist/skill/instructions.js +102 -102
  622. package/dist/skill.js +105 -105
  623. package/dist/snapshot.js +86 -86
  624. package/dist/state.js +1 -1
  625. package/dist/tool/html-markdown.js +1 -1
  626. package/dist/tool/http-body.js +1 -1
  627. package/dist/tool/mcp.js +119 -119
  628. package/dist/tool/plugin/edit.js +115 -115
  629. package/dist/tool/plugin/file-diff.js +1 -1
  630. package/dist/tool/plugin/glob.js +118 -118
  631. package/dist/tool/plugin/grep.js +120 -120
  632. package/dist/tool/plugin/opencode.js +3 -3
  633. package/dist/tool/plugin/patch.js +117 -117
  634. package/dist/tool/plugin/question.js +98 -98
  635. package/dist/tool/plugin/read.js +121 -121
  636. package/dist/tool/plugin/shell.js +210 -210
  637. package/dist/tool/plugin/skill.js +108 -108
  638. package/dist/tool/plugin/subagent.js +214 -214
  639. package/dist/tool/plugin/webfetch.js +107 -107
  640. package/dist/tool/plugin/websearch.js +107 -107
  641. package/dist/tool/plugin/write.js +117 -117
  642. package/dist/tool/read-filesystem.js +96 -96
  643. package/dist/tool/runtime.js +1 -1
  644. package/dist/tool-output.js +8 -8
  645. package/dist/tool.js +13 -13
  646. package/dist/util/error-summary.js +1 -1
  647. package/dist/util/error.js +1 -1
  648. package/dist/util/iife.js +1 -1
  649. package/dist/util/lazy.js +1 -1
  650. package/dist/util/slug.js +1 -1
  651. package/dist/util/token.js +1 -1
  652. package/dist/util/which.js +1 -1
  653. package/dist/util/wildcard.js +1 -1
  654. package/dist/v1/config/agent.js +7 -7
  655. package/dist/v1/config/attachment.js +4 -4
  656. package/dist/v1/config/command.js +3 -3
  657. package/dist/v1/config/config.js +16 -16
  658. package/dist/v1/config/error.js +4 -4
  659. package/dist/v1/config/formatter.js +3 -3
  660. package/dist/v1/config/layout.js +1 -1
  661. package/dist/v1/config/lsp.js +3 -3
  662. package/dist/v1/config/mcp.js +4 -4
  663. package/dist/v1/config/migrate.js +4 -4
  664. package/dist/v1/config/permission.js +7 -7
  665. package/dist/v1/config/plugin.js +3 -3
  666. package/dist/v1/config/provider-options.js +1 -1
  667. package/dist/v1/config/provider.js +4 -4
  668. package/dist/v1/config/server.js +2 -2
  669. package/dist/v1/config/skills.js +1 -1
  670. package/dist/v1/permission.js +1 -1
  671. package/dist/vcs/patch.js +1 -1
  672. package/dist/vcs.js +85 -85
  673. package/dist/websearch.js +80 -80
  674. package/dist/wellknown/plugin.js +74 -74
  675. package/dist/wellknown.js +77 -77
  676. package/dist/workspace/driver.js +7 -7
  677. package/dist/workspace/sql.js +1 -1
  678. package/dist/workspace.js +78 -78
  679. package/dist/worktree/directory.js +4 -4
  680. package/dist/worktree/git.js +7 -7
  681. package/dist/worktree/refresh.js +341 -341
  682. package/dist/worktree/sql.js +5 -5
  683. package/dist/worktree.js +89 -89
  684. package/package.json +8 -8
  685. package/dist/chunks/worktree-1x11rq2a.js +0 -18
  686. package/dist/chunks/worktree-3q1qkym4.js +0 -247
  687. package/dist/chunks/worktree-5jbb3qyd.js +0 -22
  688. /package/dist/chunks/{worktree-0mesazry.js → project-0mesazry.js} +0 -0
  689. /package/dist/chunks/{worktree-0qkdqm5v.js → project-0qkdqm5v.js} +0 -0
  690. /package/dist/chunks/{worktree-0zkw76rk.js → project-0zkw76rk.js} +0 -0
  691. /package/dist/chunks/{worktree-17cy0kzp.js → project-17cy0kzp.js} +0 -0
  692. /package/dist/chunks/{worktree-1cnp2v09.js → project-1cnp2v09.js} +0 -0
  693. /package/dist/chunks/{worktree-1kg9ymc8.js → project-1kg9ymc8.js} +0 -0
  694. /package/dist/chunks/{worktree-2710q6r3.js → project-2710q6r3.js} +0 -0
  695. /package/dist/chunks/{worktree-2axfhc9x.js → project-2axfhc9x.js} +0 -0
  696. /package/dist/chunks/{worktree-2c3vjs8z.js → project-2c3vjs8z.js} +0 -0
  697. /package/dist/chunks/{worktree-359p4xyc.js → project-359p4xyc.js} +0 -0
  698. /package/dist/chunks/{worktree-3asan66x.js → project-3asan66x.js} +0 -0
  699. /package/dist/chunks/{worktree-3v8g72cx.js → project-3v8g72cx.js} +0 -0
  700. /package/dist/chunks/{worktree-3w5fmr99.js → project-3w5fmr99.js} +0 -0
  701. /package/dist/chunks/{worktree-3wcehsnq.js → project-3wcehsnq.js} +0 -0
  702. /package/dist/chunks/{worktree-43n2bw4t.js → project-43n2bw4t.js} +0 -0
  703. /package/dist/chunks/{worktree-4knz6hnm.js → project-4knz6hnm.js} +0 -0
  704. /package/dist/chunks/{worktree-4y7fprxs.js → project-4y7fprxs.js} +0 -0
  705. /package/dist/chunks/{worktree-53557ph1.js → project-53557ph1.js} +0 -0
  706. /package/dist/chunks/{worktree-550bvhaj.js → project-550bvhaj.js} +0 -0
  707. /package/dist/chunks/{worktree-6prwharc.js → project-6prwharc.js} +0 -0
  708. /package/dist/chunks/{worktree-7akdwqpd.js → project-7akdwqpd.js} +0 -0
  709. /package/dist/chunks/{worktree-7m9af43g.js → project-7m9af43g.js} +0 -0
  710. /package/dist/chunks/{worktree-822emrt2.js → project-822emrt2.js} +0 -0
  711. /package/dist/chunks/{worktree-88xbtdfr.js → project-88xbtdfr.js} +0 -0
  712. /package/dist/chunks/{worktree-8n3pysct.js → project-8n3pysct.js} +0 -0
  713. /package/dist/chunks/{worktree-922hggd3.js → project-922hggd3.js} +0 -0
  714. /package/dist/chunks/{worktree-9a4afbnw.js → project-9a4afbnw.js} +0 -0
  715. /package/dist/chunks/{worktree-9rqn6x4v.js → project-9rqn6x4v.js} +0 -0
  716. /package/dist/chunks/{worktree-a1tpkmh4.js → project-a1tpkmh4.js} +0 -0
  717. /package/dist/chunks/{worktree-a6k6eb26.js → project-a6k6eb26.js} +0 -0
  718. /package/dist/chunks/{worktree-af5trqkr.js → project-af5trqkr.js} +0 -0
  719. /package/dist/chunks/{worktree-afrmfg78.js → project-afrmfg78.js} +0 -0
  720. /package/dist/chunks/{worktree-aqzs7mqg.js → project-aqzs7mqg.js} +0 -0
  721. /package/dist/chunks/{worktree-atq7p7m5.js → project-atq7p7m5.js} +0 -0
  722. /package/dist/chunks/{worktree-bkyjaxrp.js → project-bkyjaxrp.js} +0 -0
  723. /package/dist/chunks/{worktree-bmr6ed5q.js → project-bmr6ed5q.js} +0 -0
  724. /package/dist/chunks/{worktree-cf4snx6d.js → project-cf4snx6d.js} +0 -0
  725. /package/dist/chunks/{worktree-cvy3z8tj.js → project-cvy3z8tj.js} +0 -0
  726. /package/dist/chunks/{worktree-d9fn303g.js → project-d9fn303g.js} +0 -0
  727. /package/dist/chunks/{worktree-d9jj8t3e.js → project-d9jj8t3e.js} +0 -0
  728. /package/dist/chunks/{worktree-dajrwvna.js → project-dajrwvna.js} +0 -0
  729. /package/dist/chunks/{worktree-dap0rakb.js → project-dap0rakb.js} +0 -0
  730. /package/dist/chunks/{worktree-df08tz66.js → project-df08tz66.js} +0 -0
  731. /package/dist/chunks/{worktree-dy18nga0.js → project-dy18nga0.js} +0 -0
  732. /package/dist/chunks/{worktree-e5kj55wp.js → project-e5kj55wp.js} +0 -0
  733. /package/dist/chunks/{worktree-e73j6tqm.js → project-e73j6tqm.js} +0 -0
  734. /package/dist/chunks/{worktree-ec1grn59.js → project-ec1grn59.js} +0 -0
  735. /package/dist/chunks/{worktree-eh3zwz77.js → project-eh3zwz77.js} +0 -0
  736. /package/dist/chunks/{worktree-emrn6kk6.js → project-emrn6kk6.js} +0 -0
  737. /package/dist/chunks/{worktree-f0mxakyp.js → project-f0mxakyp.js} +0 -0
  738. /package/dist/chunks/{worktree-f6n9ztr4.js → project-f6n9ztr4.js} +0 -0
  739. /package/dist/chunks/{worktree-faypxj3z.js → project-faypxj3z.js} +0 -0
  740. /package/dist/chunks/{worktree-fd410y7t.js → project-fd410y7t.js} +0 -0
  741. /package/dist/chunks/{worktree-fxgpk5d8.js → project-fxgpk5d8.js} +0 -0
  742. /package/dist/chunks/{worktree-g4wezp1m.js → project-g4wezp1m.js} +0 -0
  743. /package/dist/chunks/{worktree-g86h250q.js → project-g86h250q.js} +0 -0
  744. /package/dist/chunks/{worktree-gebd4c9n.js → project-gebd4c9n.js} +0 -0
  745. /package/dist/chunks/{worktree-gftt206x.js → project-gftt206x.js} +0 -0
  746. /package/dist/chunks/{worktree-hjbc5kem.js → project-hjbc5kem.js} +0 -0
  747. /package/dist/chunks/{worktree-hk9envan.js → project-hk9envan.js} +0 -0
  748. /package/dist/chunks/{worktree-hrnqkpcd.js → project-hrnqkpcd.js} +0 -0
  749. /package/dist/chunks/{worktree-j2ntwpah.js → project-j2ntwpah.js} +0 -0
  750. /package/dist/chunks/{worktree-j5zkgpj8.js → project-j5zkgpj8.js} +0 -0
  751. /package/dist/chunks/{worktree-jr7sbwjy.js → project-jr7sbwjy.js} +0 -0
  752. /package/dist/chunks/{worktree-jwfs4k6c.js → project-jwfs4k6c.js} +0 -0
  753. /package/dist/chunks/{worktree-jzg6c2d5.js → project-jzg6c2d5.js} +0 -0
  754. /package/dist/chunks/{worktree-mp448xyj.js → project-mp448xyj.js} +0 -0
  755. /package/dist/chunks/{worktree-msx8hqn2.js → project-msx8hqn2.js} +0 -0
  756. /package/dist/chunks/{worktree-n05xt0ee.js → project-n05xt0ee.js} +0 -0
  757. /package/dist/chunks/{worktree-n3j8tn72.js → project-n3j8tn72.js} +0 -0
  758. /package/dist/chunks/{worktree-njntx4h6.js → project-njntx4h6.js} +0 -0
  759. /package/dist/chunks/{worktree-q3sfg36h.js → project-q3sfg36h.js} +0 -0
  760. /package/dist/chunks/{worktree-q74kybfr.js → project-q74kybfr.js} +0 -0
  761. /package/dist/chunks/{worktree-qaymkmh1.js → project-qaymkmh1.js} +0 -0
  762. /package/dist/chunks/{worktree-qb87gjwd.js → project-qb87gjwd.js} +0 -0
  763. /package/dist/chunks/{worktree-qfa1cgps.js → project-qfa1cgps.js} +0 -0
  764. /package/dist/chunks/{worktree-qrg20bc0.js → project-qrg20bc0.js} +0 -0
  765. /package/dist/chunks/{worktree-rcb2kzg1.js → project-rcb2kzg1.js} +0 -0
  766. /package/dist/chunks/{worktree-sdp7kfr6.js → project-sdp7kfr6.js} +0 -0
  767. /package/dist/chunks/{worktree-sk3qaz4a.js → project-sk3qaz4a.js} +0 -0
  768. /package/dist/chunks/{worktree-ssg3fenm.js → project-ssg3fenm.js} +0 -0
  769. /package/dist/chunks/{worktree-twg0f83k.js → project-twg0f83k.js} +0 -0
  770. /package/dist/chunks/{worktree-w803qqfp.js → project-w803qqfp.js} +0 -0
  771. /package/dist/chunks/{worktree-wer8tq1h.js → project-wer8tq1h.js} +0 -0
  772. /package/dist/chunks/{worktree-wtztk69x.js → project-wtztk69x.js} +0 -0
  773. /package/dist/chunks/{worktree-x0ckcb58.js → project-x0ckcb58.js} +0 -0
  774. /package/dist/chunks/{worktree-x61499pn.js → project-x61499pn.js} +0 -0
  775. /package/dist/chunks/{worktree-y44na4kk.js → project-y44na4kk.js} +0 -0
  776. /package/dist/chunks/{worktree-y8cydn3q.js → project-y8cydn3q.js} +0 -0
  777. /package/dist/chunks/{worktree-ygaqb7jw.js → project-ygaqb7jw.js} +0 -0
  778. /package/dist/chunks/{worktree-ym463w8f.js → project-ym463w8f.js} +0 -0
  779. /package/dist/chunks/{worktree-z9919s4g.js → project-z9919s4g.js} +0 -0
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service54
3
- } from "./worktree-r82b328h.js";
2
+ Service65
3
+ } from "./project-86gp7mh5.js";
4
4
  import {
5
- Service26
6
- } from "./worktree-146a62k1.js";
5
+ Service37
6
+ } from "./project-dcxvb2gw.js";
7
7
  import {
8
8
  __export
9
- } from "./worktree-9rqn6x4v.js";
9
+ } from "./project-9rqn6x4v.js";
10
10
 
11
11
  // src/config/plugin/mcp.ts
12
- var exports_mcp = {};
13
- __export(exports_mcp, {
14
- ConfigMcpPlugin: () => exports_mcp,
15
- Plugin: () => Plugin31,
12
+ var exports_mcp2 = {};
13
+ __export(exports_mcp2, {
14
+ ConfigMcpPlugin: () => exports_mcp2,
15
+ Plugin: () => Plugin43,
16
16
  register: () => register2
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin31 = define({
20
+ var Plugin43 = define({
21
21
  id: "opencode.config.mcp",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  yield* register2(ctx.event.subscribe());
24
24
  })
25
25
  });
26
26
  var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
27
- const config = yield* Service54;
28
- const mcp = yield* Service26;
27
+ const config = yield* Service65;
28
+ const mcp = yield* Service37;
29
29
  const loaded = { entries: [] };
30
30
  yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
31
31
  loaded.entries = yield* config.entries();
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
46
46
  });
47
47
  });
48
48
 
49
- export { Plugin31, register2, exports_mcp };
49
+ export { Plugin43, register2, exports_mcp2 };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  migrations2
3
- } from "./worktree-120qrk2e.js";
3
+ } from "./project-q5tpj0kh.js";
4
4
  import {
5
5
  schema_gen_default
6
- } from "./worktree-twg0f83k.js";
6
+ } from "./project-twg0f83k.js";
7
7
  import {
8
8
  __export
9
- } from "./worktree-9rqn6x4v.js";
9
+ } from "./project-9rqn6x4v.js";
10
10
 
11
11
  // src/database/migration.ts
12
12
  var exports_migration = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  InvalidError2
3
- } from "./worktree-z63w68vq.js";
3
+ } from "./project-29x78va6.js";
4
4
  import {
5
5
  __export
6
- } from "./worktree-9rqn6x4v.js";
6
+ } from "./project-9rqn6x4v.js";
7
7
 
8
8
  // src/config/variable.ts
9
9
  var exports_variable = {};
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./worktree-vrm5r67w.js";
4
+ } from "./project-3rv0aqry.js";
5
5
  import {
6
6
  create3
7
- } from "./worktree-kg06axw8.js";
7
+ } from "./project-kg06axw8.js";
8
8
  import {
9
9
  __export
10
- } from "./worktree-9rqn6x4v.js";
10
+ } from "./project-9rqn6x4v.js";
11
11
 
12
12
  // src/command.ts
13
13
  var exports_command4 = {};
@@ -15,19 +15,19 @@ __export(exports_command4, {
15
15
  Command: () => exports_command4,
16
16
  Event: () => Event8,
17
17
  ExecutionError: () => ExecutionError2,
18
- Info: () => Info9,
19
- NotFoundError: () => NotFoundError5,
20
- Service: () => Service44,
21
- layer: () => layer17,
22
- node: () => node47
18
+ Info: () => Info8,
19
+ NotFoundError: () => NotFoundError6,
20
+ Service: () => Service50,
21
+ layer: () => layer19,
22
+ node: () => node53
23
23
  });
24
24
  import { Command } from "@opencode/schema/command";
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
27
  import { Event as Event8 } from "@opencode/schema/command";
28
- var Info9 = Command.Info;
28
+ var Info8 = Command.Info;
29
29
 
30
- class NotFoundError5 extends Schema.TaggedError()("Command.NotFoundError", {
30
+ class NotFoundError6 extends Schema.TaggedError()("Command.NotFoundError", {
31
31
  command: Schema.String,
32
32
  message: Schema.String
33
33
  }) {
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
39
39
  }) {
40
40
  }
41
41
 
42
- class Service44 extends Context.Service()("@opencode/Command") {
42
+ class Service50 extends Context.Service()("@opencode/Command") {
43
43
  }
44
- var layer17 = Layer.effect(Service44, Effect.gen(function* () {
44
+ var layer19 = Layer.effect(Service50, Effect.gen(function* () {
45
45
  const bus = yield* Service79;
46
46
  const state = create3({
47
47
  name: "command",
@@ -51,11 +51,11 @@ var layer17 = Layer.effect(Service44, Effect.gen(function* () {
51
51
  }),
52
52
  notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
53
53
  });
54
- const info = (definition) => Info9.make({
54
+ const info = (definition) => Info8.make({
55
55
  name: definition.name,
56
56
  description: definition.description
57
57
  });
58
- return Service44.of({
58
+ return Service50.of({
59
59
  reload: state.reload,
60
60
  transform: state.transform,
61
61
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -66,14 +66,14 @@ var layer17 = Layer.effect(Service44, Effect.gen(function* () {
66
66
  execute: Effect.fn("Command.execute")(function* (input) {
67
67
  const definition = state.get().get(input.name);
68
68
  if (!definition)
69
- return yield* new NotFoundError5({ command: input.name, message: `Command not found: ${input.name}` });
69
+ return yield* new NotFoundError6({ command: input.name, message: `Command not found: ${input.name}` });
70
70
  return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
71
71
  })
72
72
  });
73
73
  }));
74
- var node47 = makeLocationNode({
75
- service: Service44,
76
- layer: layer17,
74
+ var node53 = makeLocationNode({
75
+ service: Service50,
76
+ layer: layer19,
77
77
  deps: [node84]
78
78
  });
79
79
  function errorMessage(error) {
@@ -86,4 +86,4 @@ function errorMessage(error) {
86
86
  return "Command execution failed";
87
87
  }
88
88
 
89
- export { Info9, NotFoundError5, ExecutionError2, Service44, layer17, node47, exports_command4, Event8 };
89
+ export { Info8, NotFoundError6, ExecutionError2, Service50, layer19, node53, exports_command4, Event8 };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./worktree-ecj1wrg9.js";
4
+ } from "./project-1jfm9dfr.js";
5
5
  import {
6
6
  Key4,
7
7
  removed2,
8
8
  make21,
9
9
  combine2
10
- } from "./worktree-eaj1djv9.js";
10
+ } from "./project-eaj1djv9.js";
11
11
  import {
12
12
  InstructionEntryTable2
13
- } from "./worktree-5c4hm403.js";
13
+ } from "./project-5c4hm403.js";
14
14
  import {
15
15
  __export
16
- } from "./worktree-9rqn6x4v.js";
16
+ } from "./project-9rqn6x4v.js";
17
17
 
18
18
  // src/session/instruction-entry.ts
19
19
  var exports_instruction_entry = {};
20
20
  __export(exports_instruction_entry, {
21
- Info: () => Info4,
21
+ Info: () => Info6,
22
22
  InstructionEntry: () => exports_instruction_entry,
23
23
  Key: () => Key2,
24
24
  MaxValueBytes: () => MaxValueBytes2,
25
- Service: () => Service21,
25
+ Service: () => Service34,
26
26
  Snapshot: () => Snapshot2,
27
27
  ValueTooLargeError: () => ValueTooLargeError2,
28
28
  initialize: () => initialize2,
29
- node: () => node26,
29
+ node: () => node39,
30
30
  snapshot: () => snapshot2
31
31
  });
32
32
  import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
34
34
  import { InstructionEntry } from "@opencode/schema/instruction-entry";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  var Key2 = InstructionEntry.Key;
37
- var Info4 = InstructionEntry.Info;
37
+ var Info6 = InstructionEntry.Info;
38
38
  var Snapshot2 = InstructionEntry.Snapshot;
39
39
  var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
40
40
  var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
@@ -56,7 +56,7 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
56
56
  }))).run().pipe(Effect.orDie), { discard: true });
57
57
  });
58
58
 
59
- class Service21 extends Context.Service()("@opencode/InstructionEntry") {
59
+ class Service34 extends Context.Service()("@opencode/InstructionEntry") {
60
60
  }
61
61
  var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
62
62
  var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
@@ -75,7 +75,7 @@ var source = (entry) => make21({
75
75
  removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
76
76
  }
77
77
  });
78
- var layer = Layer.effect(Service21, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service34, Effect.gen(function* () {
79
79
  const { db } = yield* Service80;
80
80
  const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
81
81
  return yield* db.select({
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
108
108
  const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
109
109
  return combine2((yield* rows(sessionID, true)).map(source));
110
110
  });
111
- return Service21.of({ list, put, remove, load });
111
+ return Service34.of({ list, put, remove, load });
112
112
  }));
113
- var node26 = makeLocationNode({ service: Service21, layer, deps: [node85] });
113
+ var node39 = makeLocationNode({ service: Service34, layer, deps: [node85] });
114
114
 
115
- export { Key2, Info4, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service21, node26, exports_instruction_entry };
115
+ export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service34, node39, exports_instruction_entry };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./worktree-9rqn6x4v.js";
3
+ } from "./project-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/hooks.ts
6
6
  var exports_hooks = {};
7
7
  __export(exports_hooks, {
8
8
  PluginHooks: () => exports_hooks,
9
- Service: () => Service77,
10
- node: () => node82
9
+ Service: () => Service63,
10
+ node: () => node66
11
11
  });
12
12
  import { Context, Effect, Layer, Scope } from "effect";
13
13
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
20
20
  return typeof model.providerID === "string" ? model.providerID : undefined;
21
21
  };
22
22
 
23
- class Service77 extends Context.Service()("@opencode/PluginHooks") {
23
+ class Service63 extends Context.Service()("@opencode/PluginHooks") {
24
24
  }
25
- var layer = Layer.effect(Service77, Effect.gen(function* () {
25
+ var layer = Layer.effect(Service63, Effect.gen(function* () {
26
26
  const callbacks = new Map;
27
27
  const key = (domain, name) => `${domain}.${String(name)}`;
28
28
  const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
54
54
  return event;
55
55
  });
56
56
  const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
57
- return Service77.of({ has, register, trigger });
57
+ return Service63.of({ has, register, trigger });
58
58
  }));
59
- var node82 = makeLocationNode({ service: Service77, layer, deps: [] });
59
+ var node66 = makeLocationNode({ service: Service63, layer, deps: [] });
60
60
 
61
- export { Service77, node82, exports_hooks };
61
+ export { Service63, node66, exports_hooks };
@@ -4,24 +4,24 @@ import {
4
4
  empty3,
5
5
  make21,
6
6
  diffByKey2
7
- } from "./worktree-eaj1djv9.js";
7
+ } from "./project-eaj1djv9.js";
8
8
  import {
9
9
  ID6,
10
10
  Name2,
11
11
  available2,
12
- Service39,
13
- node42
14
- } from "./worktree-5ycqwtsz.js";
12
+ Service58,
13
+ node61
14
+ } from "./project-n21ydmp7.js";
15
15
  import {
16
16
  __export
17
- } from "./worktree-9rqn6x4v.js";
17
+ } from "./project-9rqn6x4v.js";
18
18
 
19
19
  // src/skill/instructions.ts
20
- var exports_instructions2 = {};
21
- __export(exports_instructions2, {
22
- Service: () => Service20,
23
- SkillInstructions: () => exports_instructions2,
24
- node: () => node25
20
+ var exports_instructions5 = {};
21
+ __export(exports_instructions5, {
22
+ Service: () => Service39,
23
+ SkillInstructions: () => exports_instructions5,
24
+ node: () => node43
25
25
  });
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
27
27
  import { Context, Effect, Layer, Schema } from "effect";
@@ -60,11 +60,11 @@ var update = (previous, current) => {
60
60
  `);
61
61
  };
62
62
 
63
- class Service20 extends Context.Service()("@opencode/SkillInstructions") {
63
+ class Service39 extends Context.Service()("@opencode/SkillInstructions") {
64
64
  }
65
- var layer = Layer.effect(Service20, Effect.gen(function* () {
66
- const skills = yield* Service39;
67
- return Service20.of({
65
+ var layer = Layer.effect(Service39, Effect.gen(function* () {
66
+ const skills = yield* Service58;
67
+ return Service39.of({
68
68
  load: Effect.fn("SkillInstructions.load")(function* (selection) {
69
69
  const agent = selection.info;
70
70
  if (!agent)
@@ -83,6 +83,6 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
83
83
  })
84
84
  });
85
85
  }));
86
- var node25 = makeLocationNode({ service: Service20, layer, deps: [node42] });
86
+ var node43 = makeLocationNode({ service: Service39, layer, deps: [node61] });
87
87
 
88
- export { Service20, node25, exports_instructions2 };
88
+ export { Service39, node43, exports_instructions5 };
@@ -2,20 +2,20 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./worktree-922hggd3.js";
5
+ } from "./project-922hggd3.js";
6
6
  import {
7
- Service52,
8
- node55
9
- } from "./worktree-pr7ch8ks.js";
7
+ Service69,
8
+ node72
9
+ } from "./project-bqcj21xz.js";
10
10
  import {
11
11
  Content2
12
- } from "./worktree-neswnnnm.js";
12
+ } from "./project-kzvekf0w.js";
13
13
  import {
14
14
  detect2
15
- } from "./worktree-3smtnn6g.js";
15
+ } from "./project-3smtnn6g.js";
16
16
  import {
17
17
  __export
18
- } from "./worktree-9rqn6x4v.js";
18
+ } from "./project-9rqn6x4v.js";
19
19
 
20
20
  // src/tool/read-filesystem.ts
21
21
  var exports_read_filesystem = {};
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
33
33
  PageInput: () => PageInput2,
34
34
  PathKindError: () => PathKindError2,
35
35
  ReadToolFileSystem: () => exports_read_filesystem,
36
- Service: () => Service7,
36
+ Service: () => Service5,
37
37
  TextPage: () => TextPage2,
38
- node: () => node10,
38
+ node: () => node7,
39
39
  read: () => read2
40
40
  });
41
41
  import path from "path";
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
114
114
  }) {
115
115
  }
116
116
 
117
- class Service7 extends Context.Service()("@opencode/ReadToolFileSystem") {
117
+ class Service5 extends Context.Service()("@opencode/ReadToolFileSystem") {
118
118
  }
119
119
  var mimeType = (value) => lookup(value) || "application/octet-stream";
120
120
  var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
@@ -326,13 +326,13 @@ var nthNewline = (bytes, count) => {
326
326
  return index + 1;
327
327
  }
328
328
  };
329
- var layer = Layer.effect(Service7, Effect.gen(function* () {
330
- const environment = yield* Service52;
331
- return Service7.of({
329
+ var layer = Layer.effect(Service5, Effect.gen(function* () {
330
+ const environment = yield* Service69;
331
+ return Service5.of({
332
332
  list: environment.files.list,
333
333
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
334
334
  });
335
335
  }));
336
- var node10 = makeLocationNode({ service: Service7, layer, deps: [node55] });
336
+ var node7 = makeLocationNode({ service: Service5, layer, deps: [node72] });
337
337
 
338
- export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service7, read2, node10, exports_read_filesystem };
338
+ export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service5, read2, node7, exports_read_filesystem };
@@ -1,59 +1,59 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./worktree-ecj1wrg9.js";
4
+ } from "./project-1jfm9dfr.js";
5
5
  import {
6
6
  Service79,
7
7
  node84
8
- } from "./worktree-vrm5r67w.js";
8
+ } from "./project-3rv0aqry.js";
9
9
  import {
10
- Service37,
11
- node40
12
- } from "./worktree-y5h7afh3.js";
10
+ Service49,
11
+ node52
12
+ } from "./project-2sy09y68.js";
13
13
  import {
14
- Service35,
15
- node38
16
- } from "./worktree-vkez6a4k.js";
14
+ Service45,
15
+ node48
16
+ } from "./project-ff0htmxq.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./worktree-ec1grn59.js";
19
+ } from "./project-ec1grn59.js";
20
20
  import {
21
21
  make16
22
- } from "./worktree-yp2x3t23.js";
22
+ } from "./project-yp2x3t23.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service33
26
- } from "./worktree-ca7w653e.js";
25
+ Service43
26
+ } from "./project-kne8f3cn.js";
27
27
  import {
28
28
  UserInterruptedError2
29
- } from "./worktree-k7d0894y.js";
29
+ } from "./project-k3aec3va.js";
30
30
  import {
31
- Service72,
32
- node77
33
- } from "./worktree-3bgy0jaw.js";
31
+ Service61,
32
+ node64
33
+ } from "./project-jte1t19p.js";
34
34
  import {
35
35
  toSessionError2
36
- } from "./worktree-yfjv9t1g.js";
36
+ } from "./project-5nqmcer4.js";
37
37
  import {
38
38
  nextPromotable2
39
- } from "./worktree-vece14gy.js";
39
+ } from "./project-wa6xq0j9.js";
40
40
  import {
41
41
  __export
42
- } from "./worktree-9rqn6x4v.js";
42
+ } from "./project-9rqn6x4v.js";
43
43
 
44
44
  // src/session/execution.ts
45
45
  var exports_execution = {};
46
46
  __export(exports_execution, {
47
- Service: () => Service32,
47
+ Service: () => Service42,
48
48
  SessionExecution: () => exports_execution,
49
- layer: () => layer14,
50
- node: () => node36,
51
- noopLayer: () => noopLayer3,
49
+ layer: () => layer17,
50
+ node: () => node46,
51
+ noopLayer: () => noopLayer2,
52
52
  terminal: () => terminal2
53
53
  });
54
54
  import { Cause, Context, Effect, Exit, Layer } from "effect";
55
55
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
56
- class Service32 extends Context.Service()("@opencode/SessionExecution") {
56
+ class Service42 extends Context.Service()("@opencode/SessionExecution") {
57
57
  }
58
58
  function terminal2(exit, reason) {
59
59
  if (Exit.isSuccess(exit))
@@ -65,11 +65,11 @@ function terminal2(exit, reason) {
65
65
  return { type: "interrupted", reason: "user" };
66
66
  return { type: "failed", error: toSessionError2(failure) };
67
67
  }
68
- var layer14 = Layer.effect(Service32, Effect.gen(function* () {
69
- const store = yield* Service72;
70
- const instances = yield* Service35;
68
+ var layer17 = Layer.effect(Service42, Effect.gen(function* () {
69
+ const store = yield* Service61;
70
+ const instances = yield* Service45;
71
71
  const bus = yield* Service79;
72
- const jobs = yield* Service37;
72
+ const jobs = yield* Service49;
73
73
  const db = (yield* Service80).db;
74
74
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
75
75
  const claimOnCommit = (sessionID) => ({
@@ -82,7 +82,7 @@ var layer14 = Layer.effect(Service32, Effect.gen(function* () {
82
82
  const session = yield* store.get(sessionID);
83
83
  if (!session)
84
84
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
85
- const result = yield* Service33.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
85
+ const result = yield* Service43.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
86
86
  return yield* DrainResult2.$match(result, {
87
87
  Complete: () => Effect.void,
88
88
  Moved: (result) => drain(sessionID, false, result.continuation, promotable)
@@ -109,7 +109,7 @@ var layer14 = Layer.effect(Service32, Effect.gen(function* () {
109
109
  }, releaseOnCommit(sessionID));
110
110
  }))
111
111
  });
112
- return Service32.of({
112
+ return Service42.of({
113
113
  active: coordinator.active,
114
114
  isActive: coordinator.isActive,
115
115
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -128,12 +128,12 @@ var layer14 = Layer.effect(Service32, Effect.gen(function* () {
128
128
  awaitIdle: coordinator.awaitIdle
129
129
  });
130
130
  }));
131
- var node36 = makeGlobalNode({
132
- service: Service32,
133
- layer: layer14,
134
- deps: [node77, node38, node84, node85, node40]
131
+ var node46 = makeGlobalNode({
132
+ service: Service42,
133
+ layer: layer17,
134
+ deps: [node64, node48, node84, node85, node52]
135
135
  });
136
- var noopLayer3 = Layer.succeed(Service32, Service32.of({
136
+ var noopLayer2 = Layer.succeed(Service42, Service42.of({
137
137
  active: Effect.succeed(new Set),
138
138
  isActive: () => Effect.succeed(false),
139
139
  resume: () => Effect.void,
@@ -142,4 +142,4 @@ var noopLayer3 = Layer.succeed(Service32, Service32.of({
142
142
  awaitIdle: () => Effect.void
143
143
  }));
144
144
 
145
- export { Service32, terminal2, layer14, node36, noopLayer3, exports_execution };
145
+ export { Service42, terminal2, layer17, node46, noopLayer2, exports_execution };
@@ -1,30 +1,30 @@
1
1
  import {
2
- Service74,
3
- node79
4
- } from "./worktree-z82wee6n.js";
2
+ Service71,
3
+ node75
4
+ } from "./project-2er49d5v.js";
5
5
  import {
6
6
  create3
7
- } from "./worktree-kg06axw8.js";
7
+ } from "./project-kg06axw8.js";
8
8
  import {
9
9
  __export
10
- } from "./worktree-9rqn6x4v.js";
10
+ } from "./project-9rqn6x4v.js";
11
11
 
12
12
  // src/formatter.ts
13
13
  var exports_formatter2 = {};
14
14
  __export(exports_formatter2, {
15
15
  Formatter: () => exports_formatter2,
16
- Service: () => Service15,
17
- node: () => node18
16
+ Service: () => Service17,
17
+ node: () => node20
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { ChildProcess } from "effect/unstable/process";
21
21
  import path from "path";
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { AppProcess } from "@opencode/util/process";
24
- class Service15 extends Context.Service()("@opencode/v2/Formatter") {
24
+ class Service17 extends Context.Service()("@opencode/v2/Formatter") {
25
25
  }
26
- var layer = Layer.effect(Service15, Effect.gen(function* () {
27
- const location = yield* Service74;
26
+ var layer = Layer.effect(Service17, Effect.gen(function* () {
27
+ const location = yield* Service71;
28
28
  const processes = yield* AppProcess.Service;
29
29
  const commands = new WeakMap;
30
30
  const state = create3({
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
85
85
  }
86
86
  return false;
87
87
  });
88
- return Service15.of({ transform: state.transform, reload: state.reload, file });
88
+ return Service17.of({ transform: state.transform, reload: state.reload, file });
89
89
  }));
90
- var node18 = makeLocationNode({
91
- service: Service15,
90
+ var node20 = makeLocationNode({
91
+ service: Service17,
92
92
  layer,
93
- deps: [node79, AppProcess.node]
93
+ deps: [node75, AppProcess.node]
94
94
  });
95
95
 
96
- export { Service15, node18, exports_formatter2 };
96
+ export { Service17, node20, exports_formatter2 };