@opencode/core 0.0.0-dev-19767 → 0.0.0-dev-19768

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 (791) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{worktree-2aet7wja.js → rpc-00x4qneg.js} +8 -8
  8. package/dist/chunks/{worktree-86v3dky3.js → rpc-03ya27h5.js} +25 -25
  9. package/dist/chunks/{worktree-kgy5z1s6.js → rpc-06bvpamw.js} +32 -32
  10. package/dist/chunks/{worktree-26k5bknw.js → rpc-06dxphr1.js} +4 -4
  11. package/dist/chunks/{worktree-vcy486hh.js → rpc-07b8vxfr.js} +17 -17
  12. package/dist/chunks/{worktree-415h19gn.js → rpc-0f2hvcp0.js} +3 -3
  13. package/dist/chunks/rpc-0mesazry.js +4 -0
  14. package/dist/chunks/{worktree-xrkx1905.js → rpc-0n0jwsa4.js} +15 -15
  15. package/dist/chunks/{worktree-0paq2nw3.js → rpc-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{worktree-9s8wz9g9.js → rpc-0pke5f7x.js} +3 -3
  17. package/dist/chunks/{worktree-0q0f95c6.js → rpc-0q0f95c6.js} +1 -1
  18. package/dist/chunks/{worktree-81gxmrf7.js → rpc-0xz2rdzt.js} +10 -10
  19. package/dist/chunks/{worktree-y394sqab.js → rpc-19psw4kw.js} +35 -35
  20. package/dist/chunks/{worktree-1dazxqgg.js → rpc-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{worktree-s0esgemt.js → rpc-1e47xjzc.js} +4 -4
  22. package/dist/chunks/{worktree-f17z2c8t.js → rpc-1hay94c8.js} +8 -8
  23. package/dist/chunks/{worktree-drdwtp1b.js → rpc-1qstprnj.js} +14 -14
  24. package/dist/chunks/{worktree-8sayz2ry.js → rpc-1rtae4b3.js} +4 -4
  25. package/dist/chunks/{worktree-21r38tys.js → rpc-21r38tys.js} +1 -1
  26. package/dist/chunks/{worktree-6h73sxmp.js → rpc-2402vzrj.js} +5 -5
  27. package/dist/chunks/{worktree-h2pnfxb2.js → rpc-2a1gw4e3.js} +18 -18
  28. package/dist/chunks/{worktree-2a5m3afh.js → rpc-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{worktree-w5s35esc.js → rpc-2an2d3m2.js} +13 -13
  30. package/dist/chunks/{worktree-7dyhy7q1.js → rpc-2ckxww5x.js} +32 -32
  31. package/dist/chunks/{worktree-2kr5eys4.js → rpc-2gx3p52k.js} +2 -2
  32. package/dist/chunks/{worktree-89m3s2m0.js → rpc-30aq1584.js} +5 -5
  33. package/dist/chunks/{worktree-cwyz1c8d.js → rpc-31qexks3.js} +8 -8
  34. package/dist/chunks/{worktree-33w4ejhs.js → rpc-33w4ejhs.js} +2 -2
  35. package/dist/chunks/{worktree-d64tg2r5.js → rpc-385gehc9.js} +22 -22
  36. package/dist/chunks/{worktree-tajkn4gv.js → rpc-3dwcw46t.js} +9 -9
  37. package/dist/chunks/{worktree-3fc6dm20.js → rpc-3fc6dm20.js} +1 -1
  38. package/dist/chunks/{worktree-3hepkmqq.js → rpc-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{worktree-0mczw89w.js → rpc-3jqbcwss.js} +5 -5
  40. package/dist/chunks/{worktree-m7fm29bt.js → rpc-3pj53k19.js} +7 -7
  41. package/dist/chunks/{worktree-w1kb69s9.js → rpc-3qbarsqj.js} +3 -3
  42. package/dist/chunks/{worktree-mn5995mw.js → rpc-3qqmmvpd.js} +5 -5
  43. package/dist/chunks/{worktree-3smtnn6g.js → rpc-3smtnn6g.js} +1 -1
  44. package/dist/chunks/{worktree-zqx8wcya.js → rpc-3tq5qxbk.js} +6 -6
  45. package/dist/chunks/{worktree-3tvqynh2.js → rpc-3tvqynh2.js} +1 -1
  46. package/dist/chunks/{worktree-2khg11rk.js → rpc-40rf1k3m.js} +42 -42
  47. package/dist/chunks/{worktree-xr43neyx.js → rpc-41dhw66n.js} +11 -11
  48. package/dist/chunks/{worktree-hpa29ags.js → rpc-41qxn9en.js} +11 -11
  49. package/dist/chunks/{worktree-q52v1zkd.js → rpc-441xk2wv.js} +11 -11
  50. package/dist/chunks/{worktree-ja7kfczc.js → rpc-4e8qszek.js} +28 -28
  51. package/dist/chunks/{worktree-7vt8smsy.js → rpc-4nc59ys8.js} +24 -24
  52. package/dist/chunks/{worktree-fqpen2k4.js → rpc-4qe7px6w.js} +12 -12
  53. package/dist/chunks/{worktree-nmmfddzk.js → rpc-4qtnyxmw.js} +12 -12
  54. package/dist/chunks/{worktree-tmezp53v.js → rpc-4v96es07.js} +11 -11
  55. package/dist/chunks/{worktree-ng27n122.js → rpc-51gh9mjg.js} +9 -9
  56. package/dist/chunks/{worktree-qqeeq2t9.js → rpc-57b9ws8p.js} +4 -4
  57. package/dist/chunks/{worktree-57ez7d0k.js → rpc-57ez7d0k.js} +2 -2
  58. package/dist/chunks/{worktree-9pnj26g7.js → rpc-59430qn2.js} +32 -32
  59. package/dist/chunks/{worktree-cdjzdxw3.js → rpc-5a2kpf64.js} +26 -26
  60. package/dist/chunks/{worktree-63vazbh0.js → rpc-5bwjhp8y.js} +13 -13
  61. package/dist/chunks/{worktree-kncab3ca.js → rpc-5d58ppw3.js} +8 -8
  62. package/dist/chunks/{worktree-5daktx2q.js → rpc-5daktx2q.js} +1 -1
  63. package/dist/chunks/{worktree-6t9jm67f.js → rpc-5nf8yzxg.js} +16 -16
  64. package/dist/chunks/{worktree-5t3nmthw.js → rpc-5t3nmthw.js} +2 -2
  65. package/dist/chunks/{worktree-zart4t36.js → rpc-5x7c2wf2.js} +30 -30
  66. package/dist/chunks/{worktree-9hn6k4tm.js → rpc-5xtgfte3.js} +8 -8
  67. package/dist/chunks/{worktree-0yn9kbqd.js → rpc-63b7dk7a.js} +13 -13
  68. package/dist/chunks/{worktree-sybsj1vd.js → rpc-661x4vhc.js} +18 -18
  69. package/dist/chunks/{worktree-669tq793.js → rpc-669tq793.js} +1 -1
  70. package/dist/chunks/{worktree-fam2aybr.js → rpc-67hqntb1.js} +23 -23
  71. package/dist/chunks/{worktree-6hjx5zpb.js → rpc-6fatt4mk.js} +9 -9
  72. package/dist/chunks/{worktree-4hxng2fz.js → rpc-6hn9vftv.js} +100 -100
  73. package/dist/chunks/{worktree-6msgmcgs.js → rpc-6msgmcgs.js} +1 -1
  74. package/dist/chunks/{worktree-jja466qr.js → rpc-6tfzq80j.js} +16 -16
  75. package/dist/chunks/rpc-6tr03act.js +478 -0
  76. package/dist/chunks/{worktree-necmxhx4.js → rpc-6xqrezwf.js} +23 -23
  77. package/dist/chunks/{worktree-wg7aatbm.js → rpc-6ztcfs7p.js} +9 -9
  78. package/dist/chunks/{worktree-w676nq5f.js → rpc-717ghxt8.js} +13 -13
  79. package/dist/chunks/{worktree-1bbkgx8g.js → rpc-73tb2d7t.js} +3 -3
  80. package/dist/chunks/{worktree-mwt0hxwz.js → rpc-77xv8qnb.js} +25 -25
  81. package/dist/chunks/{worktree-7bmhse3q.js → rpc-7bmhse3q.js} +1 -1
  82. package/dist/chunks/{worktree-q001hfjm.js → rpc-7empqehg.js} +26 -26
  83. package/dist/chunks/{worktree-2hckyyez.js → rpc-7g1b9e87.js} +179 -179
  84. package/dist/chunks/{worktree-aswfnv87.js → rpc-7gxx14q2.js} +26 -26
  85. package/dist/chunks/{worktree-7s6gk46a.js → rpc-7w3s9kd0.js} +7 -7
  86. package/dist/chunks/{worktree-vb8m6727.js → rpc-7yts529q.js} +17 -17
  87. package/dist/chunks/{worktree-j972s74s.js → rpc-8443f5nj.js} +10 -10
  88. package/dist/chunks/{worktree-8d7r5vzw.js → rpc-8d7r5vzw.js} +1 -1
  89. package/dist/chunks/{worktree-e7dyj58f.js → rpc-8fr063mm.js} +6 -6
  90. package/dist/chunks/{worktree-vtmwze1j.js → rpc-8ngn4amj.js} +13 -13
  91. package/dist/chunks/{worktree-8p4f9s12.js → rpc-8p4f9s12.js} +2 -2
  92. package/dist/chunks/{worktree-hwe7x4em.js → rpc-8q9myf25.js} +6 -6
  93. package/dist/chunks/{worktree-jq6rrm66.js → rpc-8tsgd2r8.js} +4 -4
  94. package/dist/chunks/{worktree-76kr4s17.js → rpc-8v81ap7w.js} +5 -5
  95. package/dist/chunks/{worktree-ma5b8j4s.js → rpc-8vw1s5ac.js} +27 -27
  96. package/dist/chunks/{worktree-7p34082x.js → rpc-90tmb45y.js} +18 -18
  97. package/dist/chunks/{worktree-ra1f23w6.js → rpc-97gjn119.js} +26 -26
  98. package/dist/chunks/{worktree-yta3sn21.js → rpc-9gdca3sp.js} +4 -4
  99. package/dist/chunks/{worktree-fzc0zagk.js → rpc-9jdzzeg8.js} +9 -9
  100. package/dist/chunks/{worktree-hnx402aw.js → rpc-9mnvft0v.js} +10 -10
  101. package/dist/chunks/{worktree-a1bz86dw.js → rpc-a1bz86dw.js} +3 -3
  102. package/dist/chunks/{worktree-99jpd8te.js → rpc-a2ek1kst.js} +18 -18
  103. package/dist/chunks/{worktree-jca4demv.js → rpc-a3r4dcrj.js} +2 -2
  104. package/dist/chunks/{worktree-kh43tbq9.js → rpc-a9kshccq.js} +26 -26
  105. package/dist/chunks/{worktree-aaet6srn.js → rpc-aaet6srn.js} +2 -2
  106. package/dist/chunks/{worktree-h4bptjw1.js → rpc-ajcq3rsy.js} +3 -3
  107. package/dist/chunks/{worktree-te6g59r9.js → rpc-azc3hc5h.js} +5 -5
  108. package/dist/chunks/{worktree-b6gygkdw.js → rpc-b6gygkdw.js} +2 -2
  109. package/dist/chunks/{worktree-8s9esm8s.js → rpc-bk9n9jmm.js} +12 -12
  110. package/dist/chunks/{worktree-gynbp3j3.js → rpc-by79b0xz.js} +9 -9
  111. package/dist/chunks/{worktree-b97cbvw3.js → rpc-bz85s9hh.js} +1 -1
  112. package/dist/chunks/{worktree-hkygx1vj.js → rpc-ccerenm9.js} +25 -25
  113. package/dist/chunks/{worktree-cfpkc3c9.js → rpc-cfpkc3c9.js} +2 -2
  114. package/dist/chunks/{worktree-zcrspsvn.js → rpc-ckf8nxjz.js} +4 -4
  115. package/dist/chunks/{worktree-vtk7nzxk.js → rpc-cm2gcn74.js} +41 -41
  116. package/dist/chunks/{worktree-3k6sfp50.js → rpc-cpy6gm2a.js} +6 -6
  117. package/dist/chunks/{worktree-1amrr7ey.js → rpc-cw0rdypx.js} +3 -3
  118. package/dist/chunks/{worktree-qfqkpq0b.js → rpc-d1scngp8.js} +14 -14
  119. package/dist/chunks/rpc-d9rhtefz.js +252 -0
  120. package/dist/chunks/{worktree-ht336jn2.js → rpc-dapwe4r9.js} +31 -31
  121. package/dist/chunks/{worktree-151xc3da.js → rpc-dd4gamh2.js} +17 -17
  122. package/dist/chunks/rpc-decdbwb1.js +26 -0
  123. package/dist/chunks/{worktree-q9pnxbc2.js → rpc-dg8gsmcc.js} +18 -18
  124. package/dist/chunks/{worktree-cwa6csj7.js → rpc-djszqvmq.js} +9 -9
  125. package/dist/chunks/{worktree-fdcdwsmf.js → rpc-dpgzjw3q.js} +8 -8
  126. package/dist/chunks/{worktree-vfmzn6hv.js → rpc-dvdg9bhy.js} +46 -46
  127. package/dist/chunks/{worktree-bccs4bt1.js → rpc-dw280mng.js} +20 -20
  128. package/dist/chunks/{worktree-c7dfawsb.js → rpc-dz1g8w7a.js} +32 -32
  129. package/dist/chunks/{worktree-vcaqzj1m.js → rpc-e0k1f92f.js} +23 -23
  130. package/dist/chunks/{worktree-n4jz3xah.js → rpc-eadymk8b.js} +19 -19
  131. package/dist/chunks/{worktree-jwbs44k2.js → rpc-edh6544k.js} +44 -44
  132. package/dist/chunks/{worktree-ef5x83kb.js → rpc-ef5x83kb.js} +1 -1
  133. package/dist/chunks/{worktree-5egw3kcn.js → rpc-ek5sz9e1.js} +10 -10
  134. package/dist/chunks/{worktree-y7x142mt.js → rpc-ep6z9mt6.js} +8 -8
  135. package/dist/chunks/{worktree-7rgj22wf.js → rpc-epepptxw.js} +32 -32
  136. package/dist/chunks/{worktree-erw5rpbs.js → rpc-erw5rpbs.js} +2 -2
  137. package/dist/chunks/{worktree-etq0c3wd.js → rpc-etq0c3wd.js} +1 -1
  138. package/dist/chunks/{worktree-mkry6x9x.js → rpc-eyrmmecm.js} +17 -17
  139. package/dist/chunks/{worktree-xd9rknpb.js → rpc-ezfr3s8z.js} +15 -15
  140. package/dist/chunks/{worktree-krf6f92z.js → rpc-f535mys6.js} +1 -1
  141. package/dist/chunks/{worktree-f828m53h.js → rpc-f828m53h.js} +2 -2
  142. package/dist/chunks/{worktree-607tc6va.js → rpc-fcrkznn8.js} +5 -5
  143. package/dist/chunks/{worktree-e2qcy9fz.js → rpc-fvr26rhy.js} +24 -24
  144. package/dist/chunks/{worktree-fxbjtjnd.js → rpc-fxbjtjnd.js} +1 -1
  145. package/dist/chunks/{worktree-cw2x2bjr.js → rpc-fxwbeahb.js} +1 -1
  146. package/dist/chunks/{worktree-hw9rayzm.js → rpc-g3m59t07.js} +35 -35
  147. package/dist/chunks/{worktree-r424jv4c.js → rpc-g5s1rrt4.js} +4 -4
  148. package/dist/chunks/{worktree-d04advaa.js → rpc-g6rzz18z.js} +9 -9
  149. package/dist/chunks/{worktree-dc1e58jh.js → rpc-g6xkpydp.js} +43 -43
  150. package/dist/chunks/{worktree-gd4qta3r.js → rpc-gd4qta3r.js} +1 -1
  151. package/dist/chunks/{worktree-wvgpkr3z.js → rpc-gebvexjm.js} +5 -5
  152. package/dist/chunks/{worktree-4gsbf2fy.js → rpc-gmjp8629.js} +19 -19
  153. package/dist/chunks/{worktree-vz8nqtp5.js → rpc-gnn011q2.js} +28 -28
  154. package/dist/chunks/{worktree-4vp46et4.js → rpc-gqft2nrr.js} +6 -6
  155. package/dist/chunks/{worktree-faj2svbs.js → rpc-gr1f03ws.js} +9 -9
  156. package/dist/chunks/{worktree-gv6a8nnw.js → rpc-gv6a8nnw.js} +2 -2
  157. package/dist/chunks/{worktree-g6nrwhst.js → rpc-gva4v50q.js} +11 -11
  158. package/dist/chunks/{worktree-qz1kxtc0.js → rpc-gyapv7tm.js} +20 -20
  159. package/dist/chunks/{worktree-cpj0znwe.js → rpc-h6r3nrb9.js} +4 -4
  160. package/dist/chunks/{worktree-h6vf3j39.js → rpc-h6vf3j39.js} +1 -1
  161. package/dist/chunks/{worktree-bha4atvq.js → rpc-hfdr1yjj.js} +4 -4
  162. package/dist/chunks/{worktree-xrvwyrv1.js → rpc-hfkxt40j.js} +33 -33
  163. package/dist/chunks/{worktree-ndqsnc2r.js → rpc-hg8tmwnc.js} +37 -37
  164. package/dist/chunks/{worktree-gnjcy9v4.js → rpc-hq2ecabm.js} +27 -27
  165. package/dist/chunks/{worktree-9vh5rqp9.js → rpc-hqwen7m6.js} +3 -3
  166. package/dist/chunks/{worktree-cvw7k98w.js → rpc-hs0k9zzv.js} +9 -9
  167. package/dist/chunks/{worktree-4bgp2aek.js → rpc-hv3s9zhd.js} +36 -36
  168. package/dist/chunks/{worktree-bvnyc1t2.js → rpc-hza46zh2.js} +62 -62
  169. package/dist/chunks/{worktree-ss5j40bg.js → rpc-j13jypnt.js} +17 -17
  170. package/dist/chunks/{worktree-6kbabvtn.js → rpc-j23k1r36.js} +6 -6
  171. package/dist/chunks/{worktree-kqs2tyv4.js → rpc-j4vv2j34.js} +27 -27
  172. package/dist/chunks/{worktree-j56e64zr.js → rpc-j56e64zr.js} +1 -1
  173. package/dist/chunks/{worktree-t744w8jc.js → rpc-j5e1h5hs.js} +17 -17
  174. package/dist/chunks/{worktree-0kzr3yfx.js → rpc-j5tqr8d8.js} +7 -7
  175. package/dist/chunks/{worktree-z4cdtg64.js → rpc-jb048psh.js} +5 -5
  176. package/dist/chunks/{worktree-dbba7j6z.js → rpc-jddfrygf.js} +10 -10
  177. package/dist/chunks/{worktree-q3t37ft6.js → rpc-jexxy024.js} +3 -3
  178. package/dist/chunks/{worktree-d216944b.js → rpc-jfqtm2ew.js} +7 -7
  179. package/dist/chunks/{worktree-9vkyr3gp.js → rpc-jjdgzahf.js} +11 -11
  180. package/dist/chunks/{worktree-tkp03cf9.js → rpc-jjrn94s5.js} +11 -11
  181. package/dist/chunks/{worktree-9h6zs5c6.js → rpc-jn1kr1e6.js} +26 -26
  182. package/dist/chunks/rpc-jqh9b0xq.js +18 -0
  183. package/dist/chunks/{worktree-s8322d80.js → rpc-jtx211qb.js} +15 -15
  184. package/dist/chunks/{worktree-rgs851g5.js → rpc-jv01nqvq.js} +5 -5
  185. package/dist/chunks/{worktree-rx78v32q.js → rpc-jx9d81yp.js} +17 -17
  186. package/dist/chunks/{worktree-as812ba0.js → rpc-jzbdx67q.js} +29 -29
  187. package/dist/chunks/{worktree-gbnkcvp8.js → rpc-kd7h4dp8.js} +23 -23
  188. package/dist/chunks/{worktree-1c4g78wp.js → rpc-kfr15afm.js} +44 -44
  189. package/dist/chunks/{worktree-cax7e9hb.js → rpc-krct5xdr.js} +8 -8
  190. package/dist/chunks/{worktree-xw714m32.js → rpc-kt4y0cem.js} +18 -18
  191. package/dist/chunks/{worktree-z2bs4c1s.js → rpc-kxsbrv8e.js} +30 -30
  192. package/dist/chunks/{worktree-m3fdjcah.js → rpc-m3fdjcah.js} +1 -1
  193. package/dist/chunks/{worktree-y35sf2j4.js → rpc-m9g140gf.js} +4 -4
  194. package/dist/chunks/{worktree-m9w0rfyh.js → rpc-m9w0rfyh.js} +1 -1
  195. package/dist/chunks/{worktree-a8bn8zg0.js → rpc-magykp64.js} +4 -4
  196. package/dist/chunks/{worktree-m25ehp29.js → rpc-mavm30sz.js} +22 -22
  197. package/dist/chunks/{worktree-vvm2z6z1.js → rpc-mg7x2rv6.js} +13 -13
  198. package/dist/chunks/{worktree-byvb6gjv.js → rpc-mhvv609m.js} +17 -17
  199. package/dist/chunks/{worktree-j72rwyf1.js → rpc-mqfnncbp.js} +15 -15
  200. package/dist/chunks/{worktree-38bsz5b6.js → rpc-mvzc9sxt.js} +33 -33
  201. package/dist/chunks/{worktree-y7668axm.js → rpc-n5ne16bz.js} +22 -22
  202. package/dist/chunks/{worktree-dj68pnee.js → rpc-nb9p6b26.js} +4 -4
  203. package/dist/chunks/{worktree-1mjwcf4w.js → rpc-nhmc2t1k.js} +8 -8
  204. package/dist/chunks/{worktree-mzatw618.js → rpc-np07f3yb.js} +37 -37
  205. package/dist/chunks/{worktree-aa3v2t1f.js → rpc-nx57ndsc.js} +11 -11
  206. package/dist/chunks/{worktree-nzks3jc8.js → rpc-nzks3jc8.js} +3 -3
  207. package/dist/chunks/{worktree-p28j5sbe.js → rpc-p28j5sbe.js} +2 -2
  208. package/dist/chunks/{worktree-aeb4sny1.js → rpc-p3p972wa.js} +5 -5
  209. package/dist/chunks/{worktree-vy10ba8t.js → rpc-p5e71svx.js} +24 -24
  210. package/dist/chunks/{worktree-3zgscayf.js → rpc-pbsjr92h.js} +35 -35
  211. package/dist/chunks/{worktree-5c4wcsgy.js → rpc-pcsvgb1d.js} +76 -76
  212. package/dist/chunks/{worktree-p32pf1ka.js → rpc-pjbbry3y.js} +54 -54
  213. package/dist/chunks/{worktree-pjvnvgmy.js → rpc-pjvnvgmy.js} +1 -1
  214. package/dist/chunks/{worktree-pknna89w.js → rpc-pknna89w.js} +1 -1
  215. package/dist/chunks/{worktree-5q02cxx3.js → rpc-pmr4s4kc.js} +4 -4
  216. package/dist/chunks/{worktree-24dd53tp.js → rpc-pnv527nz.js} +9 -9
  217. package/dist/chunks/{worktree-jj06xv0y.js → rpc-pqek5mm2.js} +44 -44
  218. package/dist/chunks/{worktree-x3n1z10k.js → rpc-q107adn3.js} +22 -22
  219. package/dist/chunks/{worktree-7d7kf9r8.js → rpc-q16mtjj8.js} +13 -13
  220. package/dist/chunks/{worktree-j6mf8xpf.js → rpc-q33zykbw.js} +20 -20
  221. package/dist/chunks/{worktree-v4tzcak4.js → rpc-q61cgpyx.js} +19 -19
  222. package/dist/chunks/{worktree-351z34b3.js → rpc-qa6ap8y2.js} +10 -10
  223. package/dist/chunks/{worktree-0e1gq3bc.js → rpc-qae5j9tx.js} +13 -13
  224. package/dist/chunks/{worktree-0gkyeg4t.js → rpc-qb73q4j5.js} +27 -27
  225. package/dist/chunks/{worktree-pyv0448z.js → rpc-qh0vj5b9.js} +8 -8
  226. package/dist/chunks/{worktree-e9g3nry7.js → rpc-qktg6xag.js} +25 -25
  227. package/dist/chunks/{worktree-gmjq4p6e.js → rpc-qrvxy8qx.js} +12 -12
  228. package/dist/chunks/{worktree-qsdy395h.js → rpc-qsdy395h.js} +1 -1
  229. package/dist/chunks/{worktree-sw0n0a6k.js → rpc-qtd9gqp3.js} +32 -32
  230. package/dist/chunks/{worktree-ka43yy4c.js → rpc-qv8k3wm0.js} +16 -16
  231. package/dist/chunks/{worktree-yp2x3t23.js → rpc-r8xr0va3.js} +4 -4
  232. package/dist/chunks/{worktree-rdw6cm16.js → rpc-rdw6cm16.js} +1 -1
  233. package/dist/chunks/{worktree-h0j9vckn.js → rpc-rh2p6mtd.js} +92 -92
  234. package/dist/chunks/{worktree-hrtbhf2d.js → rpc-rq70gna5.js} +21 -21
  235. package/dist/chunks/{worktree-tmdzkf58.js → rpc-rwwy1xdt.js} +42 -42
  236. package/dist/chunks/{worktree-xkrbr206.js → rpc-s4anq1bw.js} +6 -6
  237. package/dist/chunks/{worktree-m6zv4rm2.js → rpc-s57t15fh.js} +19 -19
  238. package/dist/chunks/{worktree-eaj1djv9.js → rpc-s8d7rejh.js} +6 -6
  239. package/dist/chunks/{worktree-cr07tj7n.js → rpc-s8zy8myc.js} +5 -5
  240. package/dist/chunks/{worktree-n8j2gzbp.js → rpc-sg42avej.js} +6 -6
  241. package/dist/chunks/{worktree-vdgcs2tf.js → rpc-sgm8jqx6.js} +30 -30
  242. package/dist/chunks/{worktree-973s4paq.js → rpc-syp7yks4.js} +11 -11
  243. package/dist/chunks/{worktree-7svxd7hr.js → rpc-sypfrgdy.js} +32 -32
  244. package/dist/chunks/{worktree-zkgb1gnz.js → rpc-t3d1g0ha.js} +49 -49
  245. package/dist/chunks/{worktree-tazgh4e4.js → rpc-tazgh4e4.js} +1 -1
  246. package/dist/chunks/{worktree-89znhe33.js → rpc-tcezcvh9.js} +4 -4
  247. package/dist/chunks/{worktree-tdstcens.js → rpc-tdstcens.js} +1 -1
  248. package/dist/chunks/{worktree-166kng33.js → rpc-thjxzeng.js} +8 -8
  249. package/dist/chunks/{worktree-c78bbtc9.js → rpc-tn0aqsam.js} +5 -5
  250. package/dist/chunks/{worktree-tvtrv512.js → rpc-tvtrv512.js} +1 -1
  251. package/dist/chunks/{worktree-d9kvw835.js → rpc-v3ydn9tj.js} +6 -6
  252. package/dist/chunks/{worktree-gft05b0a.js → rpc-vatx7znk.js} +8 -8
  253. package/dist/chunks/{worktree-veqvce7d.js → rpc-veqvce7d.js} +1 -1
  254. package/dist/chunks/{worktree-xn1g1etc.js → rpc-vgcdvw7k.js} +10 -10
  255. package/dist/chunks/{worktree-qz10dfen.js → rpc-vk8r472f.js} +9 -9
  256. package/dist/chunks/{worktree-vzcthcp8.js → rpc-vzcthcp8.js} +1 -1
  257. package/dist/chunks/{worktree-w3wsvvr9.js → rpc-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{worktree-wd87259q.js → rpc-wd87259q.js} +1 -1
  259. package/dist/chunks/{worktree-97grsc5w.js → rpc-wf89y6c3.js} +11 -11
  260. package/dist/chunks/{worktree-58s60hfc.js → rpc-wfz590pn.js} +9 -9
  261. package/dist/chunks/{worktree-w8ykr7pr.js → rpc-wmaj8b0d.js} +40 -40
  262. package/dist/chunks/{worktree-5v9kt04s.js → rpc-ws473m72.js} +21 -21
  263. package/dist/chunks/{worktree-svenkxb1.js → rpc-wxa7yx13.js} +12 -12
  264. package/dist/chunks/{worktree-z8amnqnv.js → rpc-wyh7k2em.js} +11 -11
  265. package/dist/chunks/{worktree-1vk3brhq.js → rpc-wzqp383c.js} +11 -11
  266. package/dist/chunks/{worktree-x1ezjp6w.js → rpc-x1ezjp6w.js} +1 -1
  267. package/dist/chunks/{worktree-rzd1wbq6.js → rpc-x76psje3.js} +18 -18
  268. package/dist/chunks/{worktree-ypmw8e4w.js → rpc-xjw2fkvc.js} +8 -8
  269. package/dist/chunks/{worktree-8vmd40gx.js → rpc-xtt9hgyv.js} +32 -32
  270. package/dist/chunks/{worktree-y1fvbwt7.js → rpc-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{worktree-y71avatq.js → rpc-y71avatq.js} +1 -1
  272. package/dist/chunks/{worktree-ggex864g.js → rpc-yajvsn8f.js} +4 -4
  273. package/dist/chunks/{worktree-3ktbe3hf.js → rpc-ybhbtxjg.js} +6 -6
  274. package/dist/chunks/{worktree-wg1w1cgy.js → rpc-yk0m5prq.js} +4 -4
  275. package/dist/chunks/{worktree-yrhqyw5v.js → rpc-yrhqyw5v.js} +1 -1
  276. package/dist/chunks/{worktree-yrznvahk.js → rpc-yrznvahk.js} +2 -2
  277. package/dist/chunks/{worktree-z0bkrqjs.js → rpc-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{worktree-rb662jkw.js → rpc-z5qf6xj2.js} +12 -12
  279. package/dist/chunks/{worktree-z63w68vq.js → rpc-z63w68vq.js} +2 -2
  280. package/dist/chunks/{worktree-zeh9ct20.js → rpc-zeh9ct20.js} +2 -2
  281. package/dist/chunks/{worktree-8pb4qd8n.js → rpc-zpb79gje.js} +25 -25
  282. package/dist/chunks/{worktree-q6xbbyq7.js → rpc-zpgjk8rp.js} +37 -37
  283. package/dist/chunks/{worktree-101vsq39.js → rpc-zprjnq06.js} +11 -11
  284. package/dist/chunks/{worktree-zr2ceqn5.js → rpc-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{worktree-6x3wj1ns.js → rpc-zvxcd2m0.js} +47 -47
  286. package/dist/chunks/{worktree-zxq2ej10.js → rpc-zxq2ej10.js} +1 -1
  287. package/dist/chunks/{worktree-6wt9h67w.js → rpc-zz1fc49n.js} +57 -57
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +7 -7
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +82 -82
  293. package/dist/config/discovery.js +83 -83
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +105 -105
  296. package/dist/config/plugin/agent.js +122 -122
  297. package/dist/config/plugin/command.js +211 -211
  298. package/dist/config/plugin/compaction.js +157 -157
  299. package/dist/config/plugin/compatibility.js +140 -140
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +123 -123
  302. package/dist/config/plugin/image.js +122 -122
  303. package/dist/config/plugin/instruction.js +89 -89
  304. package/dist/config/plugin/location-watcher.js +124 -124
  305. package/dist/config/plugin/mcp.js +129 -129
  306. package/dist/config/plugin/policy.js +122 -122
  307. package/dist/config/plugin/provider.js +122 -122
  308. package/dist/config/plugin/reference.js +124 -124
  309. package/dist/config/plugin/shell.js +122 -122
  310. package/dist/config/plugin/skill-file.js +101 -101
  311. package/dist/config/plugin/skill.js +141 -141
  312. package/dist/config/plugin/snapshot.js +122 -122
  313. package/dist/config/plugin/source.js +125 -125
  314. package/dist/config/plugin/tool-output.js +124 -124
  315. package/dist/config/plugin/websearch.js +121 -121
  316. package/dist/config/plugin/worktree.js +124 -124
  317. package/dist/config/variable.js +3 -3
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +127 -127
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +84 -84
  322. package/dist/database/database.js +69 -69
  323. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +13 -13
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +14 -14
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  386. package/dist/database/migration.gen.js +48 -48
  387. package/dist/database/migration.js +50 -50
  388. package/dist/database/path.js +2 -2
  389. package/dist/database/schema.gen.js +1 -1
  390. package/dist/database/schema.sql.js +1 -1
  391. package/dist/database/sqlite.bun.js +1 -1
  392. package/dist/database/sqlite.js +1 -1
  393. package/dist/database/sqlite.node.js +1 -1
  394. package/dist/database/sqlite.workerd.js +1 -1
  395. package/dist/database/v1-migration.bun.js +78 -78
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +366 -366
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +1 -1
  400. package/dist/effect/websocket-constructor.js +1 -1
  401. package/dist/environment/driver.js +1 -1
  402. package/dist/environment/environment.js +92 -92
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +94 -94
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +1 -1
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +73 -73
  411. package/dist/file-access.js +103 -103
  412. package/dist/file-mutation.js +93 -93
  413. package/dist/file-retention.js +1 -1
  414. package/dist/file.js +1 -1
  415. package/dist/filesystem/fff.bun.js +2 -2
  416. package/dist/filesystem/fff.js +1 -1
  417. package/dist/filesystem/fff.node.js +2 -2
  418. package/dist/filesystem/fff.workerd.js +2 -2
  419. package/dist/filesystem/ignore.js +1 -1
  420. package/dist/filesystem/location-watcher-policy.js +6 -6
  421. package/dist/filesystem/location-watcher.js +226 -226
  422. package/dist/filesystem/protected.js +3 -3
  423. package/dist/filesystem/search.js +102 -102
  424. package/dist/filesystem/watcher-binding.js +1 -1
  425. package/dist/filesystem/watcher.js +15 -15
  426. package/dist/filesystem.js +107 -107
  427. package/dist/form.js +83 -83
  428. package/dist/formatter/builtins.js +4 -4
  429. package/dist/formatter.js +88 -88
  430. package/dist/generate.js +102 -102
  431. package/dist/git.js +10 -10
  432. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  433. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  434. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  436. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  438. package/dist/github-copilot/copilot-provider.js +17 -17
  439. package/dist/github-copilot/models.js +90 -90
  440. package/dist/github-copilot/openai-compatible-error.js +1 -1
  441. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  442. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  443. package/dist/github-copilot/responses/openai-error.js +1 -1
  444. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  445. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  446. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  447. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  448. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  451. package/dist/id/id.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +6 -6
  454. package/dist/instance/service.js +5 -5
  455. package/dist/instance.js +357 -357
  456. package/dist/instruction-discovery.js +82 -82
  457. package/dist/instructions/builtins.js +86 -86
  458. package/dist/instructions/index.js +3 -3
  459. package/dist/integration/connection.js +3 -3
  460. package/dist/integration.js +85 -85
  461. package/dist/job.js +78 -78
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +72 -72
  464. package/dist/location-activity.js +134 -134
  465. package/dist/location-lifecycle.js +105 -105
  466. package/dist/location-mutation.js +103 -103
  467. package/dist/location-service-map.js +85 -85
  468. package/dist/location-services.js +354 -354
  469. package/dist/location.js +84 -84
  470. package/dist/mcp/client.js +90 -90
  471. package/dist/mcp/index.js +107 -107
  472. package/dist/mcp/instructions.js +127 -127
  473. package/dist/mcp/oauth.js +77 -77
  474. package/dist/mcp/stdio.js +89 -89
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +90 -90
  477. package/dist/model-resolver.js +95 -95
  478. package/dist/model.js +101 -101
  479. package/dist/models-dev.js +106 -106
  480. package/dist/oauth/page.js +1 -1
  481. package/dist/permission/saved.js +81 -81
  482. package/dist/permission/sql.js +5 -5
  483. package/dist/permission.js +112 -112
  484. package/dist/persistent-pty/binary.bun.js +1 -1
  485. package/dist/persistent-pty/daemon.js +1 -1
  486. package/dist/persistent-pty/index.js +85 -85
  487. package/dist/persistent-pty/pty-binding.js +1 -1
  488. package/dist/persistent-pty.js +74 -74
  489. package/dist/plugin/agent.js +101 -101
  490. package/dist/plugin/command.js +98 -98
  491. package/dist/plugin/hooks.js +5 -5
  492. package/dist/plugin/host.js +217 -217
  493. package/dist/plugin/identity.js +3 -3
  494. package/dist/plugin/instance.js +5 -5
  495. package/dist/plugin/internal.js +328 -328
  496. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  497. package/dist/plugin/models-dev.js +95 -95
  498. package/dist/plugin/module.js +7 -7
  499. package/dist/plugin/optimize.js +4 -4
  500. package/dist/plugin/plan.js +101 -101
  501. package/dist/plugin/promise.js +1 -1
  502. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  503. package/dist/plugin/provider/azure.js +121 -121
  504. package/dist/plugin/provider/cerebras.js +1 -1
  505. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  506. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  507. package/dist/plugin/provider/cohere.js +2 -2
  508. package/dist/plugin/provider/configured.js +118 -118
  509. package/dist/plugin/provider/digitalocean.js +92 -92
  510. package/dist/plugin/provider/dynamic.js +2 -2
  511. package/dist/plugin/provider/factory.js +1 -1
  512. package/dist/plugin/provider/gateway.js +2 -2
  513. package/dist/plugin/provider/github-copilot.js +92 -92
  514. package/dist/plugin/provider/gitlab.js +90 -90
  515. package/dist/plugin/provider/google-vertex.js +89 -89
  516. package/dist/plugin/provider/kilo.js +1 -1
  517. package/dist/plugin/provider/llmgateway.js +76 -76
  518. package/dist/plugin/provider/lmstudio.js +121 -121
  519. package/dist/plugin/provider/modal.js +91 -91
  520. package/dist/plugin/provider/nvidia.js +1 -1
  521. package/dist/plugin/provider/ollama.js +121 -121
  522. package/dist/plugin/provider/openai.js +93 -93
  523. package/dist/plugin/provider/opencode.js +92 -92
  524. package/dist/plugin/provider/openrouter.js +90 -90
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +77 -77
  527. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  528. package/dist/plugin/provider/sap-ai-core.js +90 -90
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  531. package/dist/plugin/provider/venice.js +2 -2
  532. package/dist/plugin/provider/vercel.js +89 -89
  533. package/dist/plugin/provider/vllm.js +121 -121
  534. package/dist/plugin/provider/xai.js +90 -90
  535. package/dist/plugin/provider/zenmux.js +1 -1
  536. package/dist/plugin/provider.js +158 -158
  537. package/dist/plugin/sdk.js +75 -75
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +138 -138
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +347 -347
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/vcs/git.js +85 -85
  544. package/dist/plugin/vcs/hg.js +85 -85
  545. package/dist/plugin/warming.js +120 -120
  546. package/dist/plugin/websearch/exa.js +7 -7
  547. package/dist/plugin/websearch/firecrawl.js +8 -8
  548. package/dist/plugin/websearch/index.js +9 -9
  549. package/dist/plugin/websearch/mcp.js +2 -2
  550. package/dist/plugin/websearch/parallel.js +8 -8
  551. package/dist/plugin/websearch/tavily.js +6 -6
  552. package/dist/plugin/websearch/tinyfish.js +8 -8
  553. package/dist/plugin.js +224 -224
  554. package/dist/project/schema.js +2 -2
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +83 -83
  557. package/dist/provider.js +100 -100
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/schema.js +3 -3
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +95 -95
  562. package/dist/reference/instructions.js +88 -88
  563. package/dist/reference.js +86 -86
  564. package/dist/repository-cache.js +80 -80
  565. package/dist/repository.js +3 -3
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +96 -96
  568. package/dist/rpc.js +85 -85
  569. package/dist/schema.js +1 -1
  570. package/dist/session/command.js +73 -73
  571. package/dist/session/compaction.js +133 -133
  572. package/dist/session/context.js +151 -151
  573. package/dist/session/diff.js +87 -87
  574. package/dist/session/environment.js +5 -5
  575. package/dist/session/error.js +5 -5
  576. package/dist/session/event.js +1 -1
  577. package/dist/session/execution/restart.js +223 -223
  578. package/dist/session/execution.js +127 -127
  579. package/dist/session/generate.js +152 -152
  580. package/dist/session/history.js +13 -13
  581. package/dist/session/inbox.js +89 -89
  582. package/dist/session/info.js +3 -3
  583. package/dist/session/instruction-entry.js +78 -78
  584. package/dist/session/instruction-state.js +8 -8
  585. package/dist/session/instructions.js +96 -96
  586. package/dist/session/message-updater.js +2 -2
  587. package/dist/session/message.js +1 -1
  588. package/dist/session/model-request.js +118 -118
  589. package/dist/session/model-transport.js +9 -9
  590. package/dist/session/move.js +129 -129
  591. package/dist/session/projector.js +85 -85
  592. package/dist/session/prompt.js +104 -104
  593. package/dist/session/provider-context.js +3 -3
  594. package/dist/session/revert.js +89 -89
  595. package/dist/session/run-coordinator.js +3 -3
  596. package/dist/session/runner/index.js +3 -3
  597. package/dist/session/runner/llm.js +230 -230
  598. package/dist/session/runner/max-steps.js +1 -1
  599. package/dist/session/runner/model.js +97 -97
  600. package/dist/session/runner/publish-llm-event.js +3 -3
  601. package/dist/session/runner/retry.js +113 -113
  602. package/dist/session/runner/step.js +125 -125
  603. package/dist/session/runner/to-llm-message.js +2 -2
  604. package/dist/session/schema.js +5 -5
  605. package/dist/session/session.js +171 -171
  606. package/dist/session/shell.js +137 -137
  607. package/dist/session/skill.js +102 -102
  608. package/dist/session/sql.js +5 -5
  609. package/dist/session/stats.js +74 -74
  610. package/dist/session/store.js +86 -86
  611. package/dist/session/subagent-completion.js +1 -1
  612. package/dist/session/subagent-job.js +209 -209
  613. package/dist/session/system-prompt.js +3 -3
  614. package/dist/session/title.js +155 -155
  615. package/dist/session/to-session-error.js +110 -110
  616. package/dist/session/transfer.js +222 -222
  617. package/dist/session/usage.js +1 -1
  618. package/dist/session.js +219 -219
  619. package/dist/shell/parse.js +6 -6
  620. package/dist/shell/result.js +1 -1
  621. package/dist/shell/scan.js +1 -1
  622. package/dist/shell/select.js +11 -11
  623. package/dist/shell.js +139 -139
  624. package/dist/skill/discovery.js +6 -6
  625. package/dist/skill/instructions.js +104 -104
  626. package/dist/skill.js +109 -109
  627. package/dist/snapshot.js +92 -92
  628. package/dist/state.js +1 -1
  629. package/dist/tool/html-markdown.js +1 -1
  630. package/dist/tool/http-body.js +1 -1
  631. package/dist/tool/mcp.js +126 -126
  632. package/dist/tool/plugin/edit.js +117 -117
  633. package/dist/tool/plugin/file-diff.js +1 -1
  634. package/dist/tool/plugin/glob.js +123 -123
  635. package/dist/tool/plugin/grep.js +123 -123
  636. package/dist/tool/plugin/opencode.js +3 -3
  637. package/dist/tool/plugin/patch.js +117 -117
  638. package/dist/tool/plugin/question.js +102 -102
  639. package/dist/tool/plugin/read.js +124 -124
  640. package/dist/tool/plugin/shell.js +214 -214
  641. package/dist/tool/plugin/skill.js +110 -110
  642. package/dist/tool/plugin/subagent.js +218 -218
  643. package/dist/tool/plugin/webfetch.js +109 -109
  644. package/dist/tool/plugin/websearch.js +111 -111
  645. package/dist/tool/plugin/write.js +121 -121
  646. package/dist/tool/read-filesystem.js +99 -99
  647. package/dist/tool/runtime.js +1 -1
  648. package/dist/tool-output.js +8 -8
  649. package/dist/tool.js +16 -16
  650. package/dist/util/error-summary.js +1 -1
  651. package/dist/util/error.js +1 -1
  652. package/dist/util/git-executable.js +2 -2
  653. package/dist/util/iife.js +1 -1
  654. package/dist/util/lazy.js +1 -1
  655. package/dist/util/slug.js +1 -1
  656. package/dist/util/token.js +1 -1
  657. package/dist/util/which.js +1 -1
  658. package/dist/util/wildcard.js +1 -1
  659. package/dist/v1/config/agent.js +5 -5
  660. package/dist/v1/config/attachment.js +4 -4
  661. package/dist/v1/config/command.js +5 -5
  662. package/dist/v1/config/config.js +16 -16
  663. package/dist/v1/config/error.js +2 -2
  664. package/dist/v1/config/formatter.js +5 -5
  665. package/dist/v1/config/layout.js +1 -1
  666. package/dist/v1/config/lsp.js +5 -5
  667. package/dist/v1/config/mcp.js +4 -4
  668. package/dist/v1/config/migrate.js +91 -91
  669. package/dist/v1/config/permission.js +3 -3
  670. package/dist/v1/config/plugin.js +3 -3
  671. package/dist/v1/config/provider-options.js +1 -1
  672. package/dist/v1/config/provider.js +4 -4
  673. package/dist/v1/config/server.js +2 -2
  674. package/dist/v1/config/skills.js +3 -3
  675. package/dist/v1/permission.js +1 -1
  676. package/dist/variant.js +92 -92
  677. package/dist/vcs/patch.js +1 -1
  678. package/dist/vcs.js +88 -88
  679. package/dist/websearch.js +81 -81
  680. package/dist/wellknown/plugin.js +75 -75
  681. package/dist/wellknown.js +80 -80
  682. package/dist/workspace/driver.js +5 -5
  683. package/dist/workspace/sql.js +1 -1
  684. package/dist/workspace.js +77 -77
  685. package/dist/worktree/directory.js +2 -2
  686. package/dist/worktree/git.js +10 -10
  687. package/dist/worktree/sql.js +5 -5
  688. package/dist/worktree/strategies.js +88 -88
  689. package/dist/worktree.js +95 -95
  690. package/package.json +8 -8
  691. package/dist/chunks/worktree-6kdq0pjd.js +0 -4
  692. package/dist/chunks/worktree-q509s3k3.js +0 -18
  693. package/dist/chunks/worktree-r0hfn8wq.js +0 -252
  694. package/dist/chunks/worktree-vjkgxth0.js +0 -478
  695. package/dist/chunks/worktree-wbb80fv7.js +0 -26
  696. /package/dist/chunks/{worktree-0qkdqm5v.js → rpc-0qkdqm5v.js} +0 -0
  697. /package/dist/chunks/{worktree-0zkw76rk.js → rpc-0zkw76rk.js} +0 -0
  698. /package/dist/chunks/{worktree-17cy0kzp.js → rpc-17cy0kzp.js} +0 -0
  699. /package/dist/chunks/{worktree-1cnp2v09.js → rpc-1cnp2v09.js} +0 -0
  700. /package/dist/chunks/{worktree-1kg9ymc8.js → rpc-1kg9ymc8.js} +0 -0
  701. /package/dist/chunks/{worktree-24dcb14g.js → rpc-24dcb14g.js} +0 -0
  702. /package/dist/chunks/{worktree-2710q6r3.js → rpc-2710q6r3.js} +0 -0
  703. /package/dist/chunks/{worktree-2axfhc9x.js → rpc-2axfhc9x.js} +0 -0
  704. /package/dist/chunks/{worktree-2c3vjs8z.js → rpc-2c3vjs8z.js} +0 -0
  705. /package/dist/chunks/{worktree-359p4xyc.js → rpc-359p4xyc.js} +0 -0
  706. /package/dist/chunks/{worktree-3asan66x.js → rpc-3asan66x.js} +0 -0
  707. /package/dist/chunks/{worktree-3v8g72cx.js → rpc-3v8g72cx.js} +0 -0
  708. /package/dist/chunks/{worktree-3w5fmr99.js → rpc-3w5fmr99.js} +0 -0
  709. /package/dist/chunks/{worktree-3wcehsnq.js → rpc-3wcehsnq.js} +0 -0
  710. /package/dist/chunks/{worktree-43n2bw4t.js → rpc-43n2bw4t.js} +0 -0
  711. /package/dist/chunks/{worktree-4knz6hnm.js → rpc-4knz6hnm.js} +0 -0
  712. /package/dist/chunks/{worktree-4vcrnpx2.js → rpc-4vcrnpx2.js} +0 -0
  713. /package/dist/chunks/{worktree-4y7fprxs.js → rpc-4y7fprxs.js} +0 -0
  714. /package/dist/chunks/{worktree-53557ph1.js → rpc-53557ph1.js} +0 -0
  715. /package/dist/chunks/{worktree-550bvhaj.js → rpc-550bvhaj.js} +0 -0
  716. /package/dist/chunks/{worktree-5qd3pb7m.js → rpc-5qd3pb7m.js} +0 -0
  717. /package/dist/chunks/{worktree-6prwharc.js → rpc-6prwharc.js} +0 -0
  718. /package/dist/chunks/{worktree-7akdwqpd.js → rpc-7akdwqpd.js} +0 -0
  719. /package/dist/chunks/{worktree-7m9af43g.js → rpc-7m9af43g.js} +0 -0
  720. /package/dist/chunks/{worktree-822emrt2.js → rpc-822emrt2.js} +0 -0
  721. /package/dist/chunks/{worktree-88xbtdfr.js → rpc-88xbtdfr.js} +0 -0
  722. /package/dist/chunks/{worktree-8n3pysct.js → rpc-8n3pysct.js} +0 -0
  723. /package/dist/chunks/{worktree-922hggd3.js → rpc-922hggd3.js} +0 -0
  724. /package/dist/chunks/{worktree-9a4afbnw.js → rpc-9a4afbnw.js} +0 -0
  725. /package/dist/chunks/{worktree-9rqn6x4v.js → rpc-9rqn6x4v.js} +0 -0
  726. /package/dist/chunks/{worktree-a6k6eb26.js → rpc-a6k6eb26.js} +0 -0
  727. /package/dist/chunks/{worktree-af5trqkr.js → rpc-af5trqkr.js} +0 -0
  728. /package/dist/chunks/{worktree-afrmfg78.js → rpc-afrmfg78.js} +0 -0
  729. /package/dist/chunks/{worktree-aqzs7mqg.js → rpc-aqzs7mqg.js} +0 -0
  730. /package/dist/chunks/{worktree-atq7p7m5.js → rpc-atq7p7m5.js} +0 -0
  731. /package/dist/chunks/{worktree-bkyjaxrp.js → rpc-bkyjaxrp.js} +0 -0
  732. /package/dist/chunks/{worktree-bmr6ed5q.js → rpc-bmr6ed5q.js} +0 -0
  733. /package/dist/chunks/{worktree-cf4snx6d.js → rpc-cf4snx6d.js} +0 -0
  734. /package/dist/chunks/{worktree-cvy3z8tj.js → rpc-cvy3z8tj.js} +0 -0
  735. /package/dist/chunks/{worktree-d9fn303g.js → rpc-d9fn303g.js} +0 -0
  736. /package/dist/chunks/{worktree-d9jj8t3e.js → rpc-d9jj8t3e.js} +0 -0
  737. /package/dist/chunks/{worktree-dajrwvna.js → rpc-dajrwvna.js} +0 -0
  738. /package/dist/chunks/{worktree-dap0rakb.js → rpc-dap0rakb.js} +0 -0
  739. /package/dist/chunks/{worktree-df08tz66.js → rpc-df08tz66.js} +0 -0
  740. /package/dist/chunks/{worktree-dy18nga0.js → rpc-dy18nga0.js} +0 -0
  741. /package/dist/chunks/{worktree-e5kj55wp.js → rpc-e5kj55wp.js} +0 -0
  742. /package/dist/chunks/{worktree-e73j6tqm.js → rpc-e73j6tqm.js} +0 -0
  743. /package/dist/chunks/{worktree-ec1grn59.js → rpc-ec1grn59.js} +0 -0
  744. /package/dist/chunks/{worktree-eh3zwz77.js → rpc-eh3zwz77.js} +0 -0
  745. /package/dist/chunks/{worktree-emrn6kk6.js → rpc-emrn6kk6.js} +0 -0
  746. /package/dist/chunks/{worktree-f0mxakyp.js → rpc-f0mxakyp.js} +0 -0
  747. /package/dist/chunks/{worktree-f6n9ztr4.js → rpc-f6n9ztr4.js} +0 -0
  748. /package/dist/chunks/{worktree-faypxj3z.js → rpc-faypxj3z.js} +0 -0
  749. /package/dist/chunks/{worktree-fd410y7t.js → rpc-fd410y7t.js} +0 -0
  750. /package/dist/chunks/{worktree-fxgpk5d8.js → rpc-fxgpk5d8.js} +0 -0
  751. /package/dist/chunks/{worktree-g4wezp1m.js → rpc-g4wezp1m.js} +0 -0
  752. /package/dist/chunks/{worktree-g86h250q.js → rpc-g86h250q.js} +0 -0
  753. /package/dist/chunks/{worktree-gebd4c9n.js → rpc-gebd4c9n.js} +0 -0
  754. /package/dist/chunks/{worktree-gftt206x.js → rpc-gftt206x.js} +0 -0
  755. /package/dist/chunks/{worktree-hjbc5kem.js → rpc-hjbc5kem.js} +0 -0
  756. /package/dist/chunks/{worktree-hk9envan.js → rpc-hk9envan.js} +0 -0
  757. /package/dist/chunks/{worktree-j2ntwpah.js → rpc-j2ntwpah.js} +0 -0
  758. /package/dist/chunks/{worktree-j5zkgpj8.js → rpc-j5zkgpj8.js} +0 -0
  759. /package/dist/chunks/{worktree-jjkms2e6.js → rpc-jjkms2e6.js} +0 -0
  760. /package/dist/chunks/{worktree-jr7sbwjy.js → rpc-jr7sbwjy.js} +0 -0
  761. /package/dist/chunks/{worktree-jwfs4k6c.js → rpc-jwfs4k6c.js} +0 -0
  762. /package/dist/chunks/{worktree-jzg6c2d5.js → rpc-jzg6c2d5.js} +0 -0
  763. /package/dist/chunks/{worktree-mp448xyj.js → rpc-mp448xyj.js} +0 -0
  764. /package/dist/chunks/{worktree-msx8hqn2.js → rpc-msx8hqn2.js} +0 -0
  765. /package/dist/chunks/{worktree-n05xt0ee.js → rpc-n05xt0ee.js} +0 -0
  766. /package/dist/chunks/{worktree-n3j8tn72.js → rpc-n3j8tn72.js} +0 -0
  767. /package/dist/chunks/{worktree-njntx4h6.js → rpc-njntx4h6.js} +0 -0
  768. /package/dist/chunks/{worktree-q3sfg36h.js → rpc-q3sfg36h.js} +0 -0
  769. /package/dist/chunks/{worktree-q74kybfr.js → rpc-q74kybfr.js} +0 -0
  770. /package/dist/chunks/{worktree-qaymkmh1.js → rpc-qaymkmh1.js} +0 -0
  771. /package/dist/chunks/{worktree-qb87gjwd.js → rpc-qb87gjwd.js} +0 -0
  772. /package/dist/chunks/{worktree-qfa1cgps.js → rpc-qfa1cgps.js} +0 -0
  773. /package/dist/chunks/{worktree-qg3g05ea.js → rpc-qg3g05ea.js} +0 -0
  774. /package/dist/chunks/{worktree-qrg20bc0.js → rpc-qrg20bc0.js} +0 -0
  775. /package/dist/chunks/{worktree-rcb2kzg1.js → rpc-rcb2kzg1.js} +0 -0
  776. /package/dist/chunks/{worktree-sdp7kfr6.js → rpc-sdp7kfr6.js} +0 -0
  777. /package/dist/chunks/{worktree-sk3qaz4a.js → rpc-sk3qaz4a.js} +0 -0
  778. /package/dist/chunks/{worktree-ssg3fenm.js → rpc-ssg3fenm.js} +0 -0
  779. /package/dist/chunks/{worktree-twg0f83k.js → rpc-twg0f83k.js} +0 -0
  780. /package/dist/chunks/{worktree-w803qqfp.js → rpc-w803qqfp.js} +0 -0
  781. /package/dist/chunks/{worktree-wc3fc9cn.js → rpc-wc3fc9cn.js} +0 -0
  782. /package/dist/chunks/{worktree-wer8tq1h.js → rpc-wer8tq1h.js} +0 -0
  783. /package/dist/chunks/{worktree-wtztk69x.js → rpc-wtztk69x.js} +0 -0
  784. /package/dist/chunks/{worktree-x0ckcb58.js → rpc-x0ckcb58.js} +0 -0
  785. /package/dist/chunks/{worktree-x61499pn.js → rpc-x61499pn.js} +0 -0
  786. /package/dist/chunks/{worktree-y44na4kk.js → rpc-y44na4kk.js} +0 -0
  787. /package/dist/chunks/{worktree-y8cydn3q.js → rpc-y8cydn3q.js} +0 -0
  788. /package/dist/chunks/{worktree-y8f7s663.js → rpc-y8f7s663.js} +0 -0
  789. /package/dist/chunks/{worktree-ygaqb7jw.js → rpc-ygaqb7jw.js} +0 -0
  790. /package/dist/chunks/{worktree-ym463w8f.js → rpc-ym463w8f.js} +0 -0
  791. /package/dist/chunks/{worktree-z9919s4g.js → rpc-z9919s4g.js} +0 -0
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./worktree-922hggd3.js";
3
+ } from "./rpc-922hggd3.js";
4
4
  import {
5
5
  WorktreeError2,
6
- node86
7
- } from "./worktree-gmjq4p6e.js";
6
+ node80
7
+ } from "./rpc-qrvxy8qx.js";
8
8
  import {
9
9
  Slug2
10
- } from "./worktree-gebd4c9n.js";
10
+ } from "./rpc-gebd4c9n.js";
11
11
  import {
12
- Service83,
13
- node87
14
- } from "./worktree-973s4paq.js";
12
+ Service80,
13
+ node84
14
+ } from "./rpc-syp7yks4.js";
15
15
  import {
16
- Service79,
17
- node83
18
- } from "./worktree-6t9jm67f.js";
16
+ Service77,
17
+ node81
18
+ } from "./rpc-5nf8yzxg.js";
19
19
  import {
20
20
  ProjectTable2
21
- } from "./worktree-8p4f9s12.js";
21
+ } from "./rpc-8p4f9s12.js";
22
22
  import {
23
23
  WorktreeTable2
24
- } from "./worktree-cfpkc3c9.js";
24
+ } from "./rpc-cfpkc3c9.js";
25
25
  import {
26
26
  ID17,
27
27
  NotFoundError11
28
- } from "./worktree-aswfnv87.js";
28
+ } from "./rpc-7gxx14q2.js";
29
29
  import {
30
30
  Ref4
31
- } from "./worktree-qfqkpq0b.js";
31
+ } from "./rpc-d1scngp8.js";
32
32
  import {
33
- Service68,
34
- node72
35
- } from "./worktree-58s60hfc.js";
33
+ Service60,
34
+ node64
35
+ } from "./rpc-wfz590pn.js";
36
36
  import {
37
37
  DirectoryUnavailableError2,
38
38
  canonical2
39
- } from "./worktree-gv6a8nnw.js";
39
+ } from "./rpc-gv6a8nnw.js";
40
40
  import {
41
- make20
42
- } from "./worktree-1mjwcf4w.js";
41
+ make12
42
+ } from "./rpc-nhmc2t1k.js";
43
43
  import {
44
- Service67
45
- } from "./worktree-hrtbhf2d.js";
44
+ Service22
45
+ } from "./rpc-rq70gna5.js";
46
46
  import {
47
47
  __export
48
- } from "./worktree-9rqn6x4v.js";
48
+ } from "./rpc-9rqn6x4v.js";
49
49
 
50
50
  // src/worktree.ts
51
51
  var exports_worktree2 = {};
@@ -53,19 +53,19 @@ __export(exports_worktree2, {
53
53
  CreateInput: () => CreateInput3,
54
54
  DestinationExistsError: () => DestinationExistsError2,
55
55
  DirectoryUnavailableError: () => DirectoryUnavailableError2,
56
- Event: () => Event17,
57
- Info: () => Info26,
56
+ Event: () => Event7,
57
+ Info: () => Info4,
58
58
  InvalidDirectoryError: () => InvalidDirectoryError2,
59
59
  List: () => List2,
60
60
  ListEntry: () => ListEntry3,
61
61
  OperationError: () => OperationError2,
62
62
  RemoveInput: () => RemoveInput2,
63
- Service: () => Service66,
63
+ Service: () => Service21,
64
64
  SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
65
65
  StrategyID: () => StrategyID2,
66
66
  StrategyUnavailableError: () => StrategyUnavailableError2,
67
67
  Worktree: () => exports_worktree2,
68
- node: () => node70
68
+ node: () => node24
69
69
  });
70
70
  import { Context, Effect, Layer, Schema } from "effect";
71
71
  import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
@@ -79,7 +79,7 @@ import { OperationError as OperationError2 } from "@opencode/schema/worktree";
79
79
  var StrategyID2 = Worktree.StrategyID;
80
80
  var CreateInput3 = Worktree.CreateInput;
81
81
  var RemoveInput2 = Worktree.RemoveInput;
82
- var Info26 = Worktree.Info;
82
+ var Info4 = Worktree.Info;
83
83
  var List2 = Worktree.List;
84
84
  var ListEntry3 = Worktree.ListEntry;
85
85
 
@@ -94,18 +94,18 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
94
94
 
95
95
  class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
96
96
  }
97
- var Event17 = Worktree.Event;
97
+ var Event7 = Worktree.Event;
98
98
 
99
- class Service66 extends Context.Service()("@opencode/Worktree") {
99
+ class Service21 extends Context.Service()("@opencode/Worktree") {
100
100
  }
101
- var layer = Layer.effect(Service66, Effect.gen(function* () {
101
+ var layer = Layer.effect(Service21, Effect.gen(function* () {
102
102
  const fs = yield* FSUtil.Service;
103
- const database = yield* Service83;
103
+ const database = yield* Service80;
104
104
  const db = database.db;
105
- const bus = yield* Service79;
105
+ const bus = yield* Service77;
106
106
  const processService = yield* AppProcess.Service;
107
- const locations = yield* Service68;
108
- const gitStrategy = yield* make20;
107
+ const locations = yield* Service60;
108
+ const gitStrategy = yield* make12;
109
109
  const project = Effect.fnUntraced(function* (projectID) {
110
110
  const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
111
111
  if (!row)
@@ -120,11 +120,11 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
120
120
  const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
121
121
  const context = yield* locations.contextEffect(Ref4.make({ directory }));
122
122
  yield* Context.get(context, Plugin.Service).awaitActivation;
123
- return Context.get(context, Service67).get();
123
+ return Context.get(context, Service22).get();
124
124
  });
125
125
  const changed = Effect.fnUntraced(function* (projectID, update) {
126
126
  if (update)
127
- yield* bus.publish(Event17.Updated, { projectID });
127
+ yield* bus.publish(Event7.Updated, { projectID });
128
128
  });
129
129
  const ops = {
130
130
  list: Effect.fnUntraced(function* (projectID) {
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
251
251
  })).pipe(Effect.orDie);
252
252
  yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
253
253
  }, Effect.scoped);
254
- return Service66.of({
254
+ return Service21.of({
255
255
  list: Effect.fn("Worktree.list")(function* (input) {
256
256
  yield* project(input.projectID);
257
257
  return yield* ops.list(input.projectID);
@@ -261,10 +261,10 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
261
261
  refresh
262
262
  });
263
263
  }));
264
- var node70 = Node.makeGlobalNode({
265
- service: Service66,
264
+ var node24 = Node.makeGlobalNode({
265
+ service: Service21,
266
266
  layer,
267
- deps: [FSUtil.node, node86, node83, node87, AppProcess.node, node72]
267
+ deps: [FSUtil.node, node80, node81, node84, AppProcess.node, node64]
268
268
  });
269
269
  function operationError(strategy, operation, error) {
270
270
  if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
@@ -274,4 +274,4 @@ function operationError(strategy, operation, error) {
274
274
  });
275
275
  }
276
276
 
277
- export { StrategyID2, CreateInput3, RemoveInput2, Info26, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event17, Service66, node70, exports_worktree2, OperationError2 };
277
+ export { StrategyID2, CreateInput3, RemoveInput2, Info4, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event7, Service21, node24, exports_worktree2, OperationError2 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  webSocketConstructor2
3
- } from "./worktree-5t3nmthw.js";
3
+ } from "./rpc-5t3nmthw.js";
4
4
  import {
5
5
  __export
6
- } from "./worktree-9rqn6x4v.js";
6
+ } from "./rpc-9rqn6x4v.js";
7
7
 
8
8
  // src/session/model-transport.ts
9
9
  var exports_model_transport = {};
10
10
  __export(exports_model_transport, {
11
- Service: () => Service23,
11
+ Service: () => Service39,
12
12
  SessionModelTransport: () => exports_model_transport,
13
- layer: () => layer10,
13
+ layer: () => layer16,
14
14
  makeLayer: () => makeLayer2,
15
- node: () => node27
15
+ node: () => node42
16
16
  });
17
17
  import {
18
18
  WebSocketTransport
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
33
33
  });
34
34
  var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
35
35
 
36
- class Service23 extends Context.Service()("@opencode/SessionModelTransport") {
36
+ class Service39 extends Context.Service()("@opencode/SessionModelTransport") {
37
37
  }
38
38
  var transportError = (message, input) => new AIError({
39
39
  reason: new TransportError({ message, transport: "websocket", ...input })
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
57
57
  return Effect.fail(observation.error);
58
58
  };
59
59
  var observationTerminal = (observation) => observation.type !== "frame";
60
- var makeLayer2 = (connector) => Layer.effect(Service23, Effect.gen(function* () {
60
+ var makeLayer2 = (connector) => Layer.effect(Service39, Effect.gen(function* () {
61
61
  const scope = yield* Scope.Scope;
62
62
  const states = new Map;
63
63
  const state = (sessionID) => {
@@ -360,11 +360,11 @@ var makeLayer2 = (connector) => Layer.effect(Service23, Effect.gen(function* ()
360
360
  }, { discard: true });
361
361
  });
362
362
  yield* Effect.addFinalizer(() => closeAll);
363
- return Service23.of({ bind, close, closeAll });
363
+ return Service39.of({ bind, close, closeAll });
364
364
  }));
365
- var layer10 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
365
+ var layer16 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
366
366
  open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
367
367
  })));
368
- var node27 = makeGlobalNode({ service: Service23, layer: layer10, deps: [webSocketConstructor2] });
368
+ var node42 = makeGlobalNode({ service: Service39, layer: layer16, deps: [webSocketConstructor2] });
369
369
 
370
- export { Service23, makeLayer2, layer10, node27, exports_model_transport };
370
+ export { Service39, makeLayer2, layer16, node42, exports_model_transport };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  PATCH_CONTEXT_LINES2
3
- } from "./worktree-tazgh4e4.js";
3
+ } from "./rpc-tazgh4e4.js";
4
4
  import {
5
- ID11,
6
- Service69
7
- } from "./worktree-xrvwyrv1.js";
5
+ ID6,
6
+ Service44
7
+ } from "./rpc-hfkxt40j.js";
8
8
  import {
9
9
  SessionSchema2
10
- } from "./worktree-q3t37ft6.js";
10
+ } from "./rpc-jexxy024.js";
11
11
  import {
12
12
  MessageNotFoundError2
13
- } from "./worktree-3ktbe3hf.js";
13
+ } from "./rpc-ybhbtxjg.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./worktree-a1bz86dw.js";
16
+ } from "./rpc-a1bz86dw.js";
17
17
  import {
18
18
  __export
19
- } from "./worktree-9rqn6x4v.js";
19
+ } from "./rpc-9rqn6x4v.js";
20
20
 
21
21
  // src/session/diff.ts
22
22
  var exports_diff = {};
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
81
81
  const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
82
82
  const recorded = steps.findLast((step) => step.end)?.end;
83
83
  return yield* Effect.gen(function* () {
84
- const snapshot = yield* Service69;
84
+ const snapshot = yield* Service44;
85
85
  const running = input.active && final.completed === null;
86
86
  const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
87
87
  if (!to)
88
88
  return [];
89
89
  return yield* snapshot.diff({
90
- from: ID11.make(from),
91
- to: ID11.make(to),
90
+ from: ID6.make(from),
91
+ to: ID6.make(to),
92
92
  context: input.context ?? PATCH_CONTEXT_LINES2
93
93
  });
94
94
  }).pipe(Effect.provide(locations.get(location)));
@@ -1,23 +1,23 @@
1
1
  import {
2
- Key4,
2
+ Key3,
3
3
  removed2,
4
4
  make21,
5
5
  diffByKey2
6
- } from "./worktree-eaj1djv9.js";
6
+ } from "./rpc-s8d7rejh.js";
7
7
  import {
8
8
  Summary2,
9
9
  summarize2,
10
10
  namespaceLine2
11
- } from "./worktree-3fc6dm20.js";
11
+ } from "./rpc-3fc6dm20.js";
12
12
  import {
13
13
  __export
14
- } from "./worktree-9rqn6x4v.js";
14
+ } from "./rpc-9rqn6x4v.js";
15
15
 
16
16
  // src/codemode/instructions.ts
17
- var exports_instructions4 = {};
18
- __export(exports_instructions4, {
19
- CodeModeInstructions: () => exports_instructions4,
20
- make: () => make14,
17
+ var exports_instructions5 = {};
18
+ __export(exports_instructions5, {
19
+ CodeModeInstructions: () => exports_instructions5,
20
+ make: () => make15,
21
21
  render: () => render3,
22
22
  update: () => update3
23
23
  });
@@ -111,9 +111,9 @@ ${render3(current)}`;
111
111
  return delta;
112
112
  return replacement;
113
113
  }
114
- var key = Key4.make("core/codemode");
114
+ var key = Key3.make("core/codemode");
115
115
  var codec = Schema.toCodecJson(Summary2);
116
- var make14 = (inventory) => {
116
+ var make15 = (inventory) => {
117
117
  const catalog = inventory === undefined ? removed2 : summarize2(inventory);
118
118
  return make21({
119
119
  key,
@@ -127,4 +127,4 @@ var make14 = (inventory) => {
127
127
  });
128
128
  };
129
129
 
130
- export { render3, update3, make14, exports_instructions4 };
130
+ export { render3, update3, make15, exports_instructions5 };
@@ -1,10 +1,10 @@
1
1
  import {
2
- Service79,
3
- node83
4
- } from "./worktree-6t9jm67f.js";
2
+ Service77,
3
+ node81
4
+ } from "./rpc-5nf8yzxg.js";
5
5
  import {
6
6
  __export
7
- } from "./worktree-9rqn6x4v.js";
7
+ } from "./rpc-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -12,40 +12,40 @@ __export(exports_form, {
12
12
  AlreadyExistsError: () => AlreadyExistsError2,
13
13
  AlreadySettledError: () => AlreadySettledError2,
14
14
  Answer: () => Answer2,
15
- Event: () => Event16,
15
+ Event: () => Event18,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID10,
20
- Info: () => Info25,
19
+ ID: () => ID15,
20
+ Info: () => Info30,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
- NotFoundError: () => NotFoundError8,
24
- Reply: () => Reply2,
25
- Service: () => Service65,
23
+ NotFoundError: () => NotFoundError10,
24
+ Reply: () => Reply3,
25
+ Service: () => Service71,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
28
  layer: () => layer25,
29
- node: () => node69,
29
+ node: () => node75,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
32
32
  });
33
33
  import { Form } from "@opencode/schema/form";
34
34
  import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
- import { Event as Event16 } from "@opencode/schema/form";
36
+ import { Event as Event18 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID10 = Form.ID;
39
- var Info25 = Form.Info;
38
+ var ID15 = Form.ID;
39
+ var Info30 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
42
42
  var When2 = Form.When;
43
43
  var State3 = Form.State;
44
44
  var Answer2 = Form.Answer;
45
- var Reply2 = Form.Reply;
45
+ var Reply3 = Form.Reply;
46
46
 
47
- class NotFoundError8 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID10
47
+ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
48
+ id: ID15
49
49
  }) {
50
50
  get message() {
51
51
  return `Form not found: ${this.id}`;
@@ -53,7 +53,7 @@ class NotFoundError8 extends Schema.TaggedError()("Form.NotFoundError", {
53
53
  }
54
54
 
55
55
  class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
56
- id: ID10
56
+ id: ID15
57
57
  }) {
58
58
  get message() {
59
59
  return `Form already settled: ${this.id}`;
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
61
61
  }
62
62
 
63
63
  class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
64
- id: ID10
64
+ id: ID15
65
65
  }) {
66
66
  get message() {
67
67
  return `Form already exists: ${this.id}`;
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
69
69
  }
70
70
 
71
71
  class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
72
- id: ID10,
72
+ id: ID15,
73
73
  message: Schema.String
74
74
  }) {
75
75
  }
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service65 extends Context.Service()("@opencode/Form") {
82
+ class Service71 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer25 = Layer.effect(Service65, Effect.gen(function* () {
85
- const bus = yield* Service79;
84
+ var layer25 = Layer.effect(Service71, Effect.gen(function* () {
85
+ const bus = yield* Service77;
86
86
  let closed = false;
87
87
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
88
88
  capacity: Number.MAX_SAFE_INTEGER,
89
89
  timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
90
90
  });
91
- const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError8({ id })))));
91
+ const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
92
92
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
93
- const id = input.id ?? ID10.create();
93
+ const id = input.id ?? ID15.create();
94
94
  const existing = yield* Cache.getSuccess(forms, id);
95
95
  if (Option.isSome(existing))
96
96
  return yield* new AlreadyExistsError2({ id });
@@ -159,9 +159,9 @@ var layer25 = Layer.effect(Service65, Effect.gen(function* () {
159
159
  closed = true;
160
160
  }).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
161
161
  yield* Effect.addFinalizer(() => close);
162
- return Service65.of({ create, ask, get, list, state, reply, cancel, close });
162
+ return Service71.of({ create, ask, get, list, state, reply, cancel, close });
163
163
  }));
164
- var node69 = makeLocationNode({ service: Service65, layer: layer25, deps: [node83] });
164
+ var node75 = makeLocationNode({ service: Service71, layer: layer25, deps: [node81] });
165
165
  function validateAnswer2(form, answer) {
166
166
  const fields = new Map(form.map((field) => [field.key, field]));
167
167
  for (const key of Object.keys(answer)) {
@@ -313,4 +313,4 @@ function isDateTime(value) {
313
313
  return !Number.isNaN(new Date(value).getTime());
314
314
  }
315
315
 
316
- export { ID10, Info25, Field2, Fields2, When2, State3, Answer2, Reply2, NotFoundError8, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service65, layer25, node69, validateAnswer2, validateFields2, exports_form, Event16 };
316
+ export { ID15, Info30, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service71, layer25, node75, validateAnswer2, validateFields2, exports_form, Event18 };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./worktree-922hggd3.js";
3
+ } from "./rpc-922hggd3.js";
4
4
  import {
5
5
  Action2
6
- } from "./worktree-a8bn8zg0.js";
6
+ } from "./rpc-magykp64.js";
7
7
  import {
8
- Info10
9
- } from "./worktree-y7x142mt.js";
8
+ Info12
9
+ } from "./rpc-ep6z9mt6.js";
10
10
  import {
11
- Info14
12
- } from "./worktree-c78bbtc9.js";
11
+ Info17
12
+ } from "./rpc-tn0aqsam.js";
13
13
  import {
14
- Info11
15
- } from "./worktree-d216944b.js";
14
+ Info19
15
+ } from "./rpc-jfqtm2ew.js";
16
16
  import {
17
- Info9
18
- } from "./worktree-cr07tj7n.js";
17
+ Info11
18
+ } from "./rpc-s8zy8myc.js";
19
19
  import {
20
20
  Spec2
21
- } from "./worktree-607tc6va.js";
21
+ } from "./rpc-fcrkznn8.js";
22
22
  import {
23
- Info6
24
- } from "./worktree-rgs851g5.js";
23
+ Info18
24
+ } from "./rpc-jv01nqvq.js";
25
25
  import {
26
- Info5
27
- } from "./worktree-dc1e58jh.js";
26
+ Info10
27
+ } from "./rpc-g6xkpydp.js";
28
28
  import {
29
29
  migrate2,
30
30
  normalizeAction2,
@@ -33,10 +33,10 @@ import {
33
33
  migrateMcp2,
34
34
  migrateProvider2,
35
35
  providerID2
36
- } from "./worktree-yta3sn21.js";
36
+ } from "./rpc-9gdca3sp.js";
37
37
  import {
38
38
  __export
39
- } from "./worktree-9rqn6x4v.js";
39
+ } from "./rpc-9rqn6x4v.js";
40
40
 
41
41
  // src/config/normalize.ts
42
42
  var exports_normalize = {};
@@ -84,10 +84,10 @@ function normalize2(input) {
84
84
  const encoded = {};
85
85
  unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
86
86
  const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
87
- const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info5.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
87
+ const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info10.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
88
88
  const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
89
89
  const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
90
- const legacyMedia = own(input, "attachment") ? decodeValue(Info14, input.attachment, ["attachment"], diagnostics) : undefined;
90
+ const legacyMedia = own(input, "attachment") ? decodeValue(Info17, input.attachment, ["attachment"], diagnostics) : undefined;
91
91
  if (legacyMedia !== undefined) {
92
92
  const migrated = migrate2({ attachment: legacyMedia }).media;
93
93
  if (migrated !== undefined)
@@ -104,7 +104,7 @@ function normalize2(input) {
104
104
  const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
105
105
  const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
106
106
  mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
107
- const legacyCommands = decodeMap(input.command, Info11, ["command"], diagnostics, decodeValue);
107
+ const legacyCommands = decodeMap(input.command, Info19, ["command"], diagnostics, decodeValue);
108
108
  diagnoseSelectionMap(input.command, ["command"], diagnostics);
109
109
  const migratedCommands = mapValues(legacyCommands, (value) => {
110
110
  const migrated = commands2({ value })?.value;
@@ -112,7 +112,7 @@ function normalize2(input) {
112
112
  });
113
113
  const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
114
114
  mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
115
- const legacyAgents = mapValues(decodeMap(input.agent, Info10, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
115
+ const legacyAgents = mapValues(decodeMap(input.agent, Info12, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
116
116
  const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
117
117
  const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
118
118
  if (legacySmallModel && !migratedSmallModel)
@@ -126,7 +126,7 @@ function normalize2(input) {
126
126
  model: migratedSmallModel,
127
127
  ...legacyAgents.title
128
128
  };
129
- const modeAgents = mapValues(decodeMap(input.mode, Info10, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
129
+ const modeAgents = mapValues(decodeMap(input.mode, Info12, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
130
130
  const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
131
131
  const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
132
132
  diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
225
225
  normalizeMcpTimeout(value, timeout, path, diagnostics);
226
226
  return;
227
227
  }
228
- const server = decodeValue(Info9, value, path, diagnostics);
228
+ const server = decodeValue(Info11, value, path, diagnostics);
229
229
  if (server !== undefined)
230
230
  setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
231
231
  });
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
421
421
  diagnoseProviderUnsupported(raw, path, diagnostics);
422
422
  if (invalidProviderOverlays(raw, path, diagnostics))
423
423
  return [];
424
- const provider = decodeValue(Info6, raw, path, diagnostics);
424
+ const provider = decodeValue(Info18, raw, path, diagnostics);
425
425
  if (provider === undefined)
426
426
  return [];
427
427
  const destination = providerID2(name);
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service79
3
- } from "./worktree-6t9jm67f.js";
2
+ Service77
3
+ } from "./rpc-5nf8yzxg.js";
4
4
  import {
5
- Service35,
6
- Event7
7
- } from "./worktree-y7668axm.js";
5
+ Service73,
6
+ Event20
7
+ } from "./rpc-n5ne16bz.js";
8
8
  import {
9
9
  __export
10
- } from "./worktree-9rqn6x4v.js";
10
+ } from "./rpc-9rqn6x4v.js";
11
11
 
12
12
  // src/wellknown/plugin.ts
13
13
  var exports_plugin = {};
14
14
  __export(exports_plugin, {
15
- Plugin: () => Plugin2,
15
+ Plugin: () => Plugin27,
16
16
  WellKnownPlugin: () => exports_plugin
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin2 = define({
20
+ var Plugin27 = define({
21
21
  id: "opencode.wellknown",
22
22
  effect: Effect.fn(function* (ctx) {
23
- const bus = yield* Service79;
24
- const wellknown = yield* Service35;
23
+ const bus = yield* Service77;
24
+ const wellknown = yield* Service73;
25
25
  yield* wellknown.entries().pipe(Effect.orDie);
26
26
  yield* ctx.integration.transform((editor) => {
27
27
  wellknown.snapshot().forEach((entry) => {
@@ -41,8 +41,8 @@ var Plugin2 = define({
41
41
  });
42
42
  });
43
43
  });
44
- yield* bus.subscribe(Event7.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
44
+ yield* bus.subscribe(Event20.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
45
45
  })
46
46
  });
47
47
 
48
- export { Plugin2, exports_plugin };
48
+ export { Plugin27, exports_plugin };