@opencode/core 0.0.0-dev-19404 → 0.0.0-dev-19405

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 (780) 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 +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{file-ms6rwfbv.js → reference-069ez2pk.js} +31 -31
  9. package/dist/chunks/{file-4qbtf2xm.js → reference-0akhmw49.js} +3 -3
  10. package/dist/chunks/{file-v3smhzc7.js → reference-0dwg38z7.js} +20 -20
  11. package/dist/chunks/{file-awz7xhfp.js → reference-0n9gyfew.js} +4 -4
  12. package/dist/chunks/{file-0paq2nw3.js → reference-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{file-gj4x8zz6.js → reference-0pr2t355.js} +13 -13
  14. package/dist/chunks/{file-0q0f95c6.js → reference-0q0f95c6.js} +1 -1
  15. package/dist/chunks/{file-ypy1tgyh.js → reference-13j5h6zk.js} +7 -7
  16. package/dist/chunks/{file-egqspz5t.js → reference-189pdvy9.js} +12 -12
  17. package/dist/chunks/{file-xacpwbjs.js → reference-1bmfk1j7.js} +4 -4
  18. package/dist/chunks/{file-1dazxqgg.js → reference-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{file-8kpa3sfw.js → reference-1efffvwy.js} +28 -28
  20. package/dist/chunks/{file-1eyaby9q.js → reference-1eyaby9q.js} +2 -2
  21. package/dist/chunks/{file-397qe2v7.js → reference-1f0ahqzp.js} +16 -16
  22. package/dist/chunks/{file-ashvqh0k.js → reference-1jjc8ex5.js} +8 -8
  23. package/dist/chunks/{file-esdnemd6.js → reference-1wxb385z.js} +1 -1
  24. package/dist/chunks/{file-t9qhnrv6.js → reference-21bd5msc.js} +6 -6
  25. package/dist/chunks/{file-21r38tys.js → reference-21r38tys.js} +1 -1
  26. package/dist/chunks/{file-eykg37vx.js → reference-234ap6ss.js} +11 -11
  27. package/dist/chunks/{file-6h73sxmp.js → reference-2402vzrj.js} +5 -5
  28. package/dist/chunks/{file-3fj0ehej.js → reference-29sw5btw.js} +43 -43
  29. package/dist/chunks/{file-29x78va6.js → reference-29x78va6.js} +2 -2
  30. package/dist/chunks/{file-2a5m3afh.js → reference-2a5m3afh.js} +1 -1
  31. package/dist/chunks/{file-3w2b2yj4.js → reference-2f0bjgcj.js} +5 -5
  32. package/dist/chunks/{file-dft13gwa.js → reference-2k5ec76m.js} +43 -43
  33. package/dist/chunks/{file-7dqw4kz8.js → reference-2k8khapm.js} +5 -5
  34. package/dist/chunks/{file-75v5avbv.js → reference-2x1tygz9.js} +9 -9
  35. package/dist/chunks/{file-wh05710z.js → reference-37b2kds0.js} +41 -41
  36. package/dist/chunks/{file-rn18s34v.js → reference-38j1eg2k.js} +6 -6
  37. package/dist/chunks/{file-hq8zt1th.js → reference-3c1tgrea.js} +6 -6
  38. package/dist/chunks/{file-5aejmzs0.js → reference-3eqkaq2z.js} +21 -21
  39. package/dist/chunks/{file-3fc6dm20.js → reference-3fc6dm20.js} +1 -1
  40. package/dist/chunks/{file-fk561ek3.js → reference-3g767a7k.js} +19 -19
  41. package/dist/chunks/{file-3hepkmqq.js → reference-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{file-d5n4bh35.js → reference-3j6hn5pg.js} +26 -26
  43. package/dist/chunks/{file-an7cqtb7.js → reference-3j8sdtpz.js} +4 -4
  44. package/dist/chunks/{file-b3wkxfg9.js → reference-3jp54z3r.js} +1 -1
  45. package/dist/chunks/{file-3kff94q5.js → reference-3kmcaztr.js} +11 -11
  46. package/dist/chunks/{file-qacd23e2.js → reference-3qcr26pr.js} +4 -4
  47. package/dist/chunks/{file-3smtnn6g.js → reference-3smtnn6g.js} +1 -1
  48. package/dist/chunks/{file-3tvqynh2.js → reference-3tvqynh2.js} +1 -1
  49. package/dist/chunks/{file-70xczmxz.js → reference-48ghgnyj.js} +9 -9
  50. package/dist/chunks/{file-5djf14hj.js → reference-4bap03mh.js} +33 -33
  51. package/dist/chunks/{file-9aqzzx1f.js → reference-4fse7aks.js} +16 -16
  52. package/dist/chunks/{file-e9cer28w.js → reference-4grg7b1w.js} +4 -4
  53. package/dist/chunks/{file-dn4sgk77.js → reference-4j04egcw.js} +47 -47
  54. package/dist/chunks/{file-rs226bz6.js → reference-4mkcvr19.js} +5 -5
  55. package/dist/chunks/{file-t33aqq77.js → reference-4nvekdmf.js} +8 -8
  56. package/dist/chunks/{file-s7vx81dz.js → reference-4s15yhyb.js} +7 -7
  57. package/dist/chunks/{file-zgye80qh.js → reference-4vptvh4s.js} +33 -33
  58. package/dist/chunks/{file-1z0pzthf.js → reference-4zrw1ey2.js} +2 -2
  59. package/dist/chunks/{file-p1nm93x7.js → reference-510m7gjw.js} +5 -5
  60. package/dist/chunks/{file-w6vgwbtw.js → reference-52zvc43d.js} +47 -47
  61. package/dist/chunks/{file-56gdpj1q.js → reference-56gdpj1q.js} +2 -2
  62. package/dist/chunks/{file-5daktx2q.js → reference-5daktx2q.js} +1 -1
  63. package/dist/chunks/{file-j1ywwsrp.js → reference-5jgk54rp.js} +60 -60
  64. package/dist/chunks/{file-fjmrr6sh.js → reference-5kptn8c0.js} +9 -9
  65. package/dist/chunks/{file-9k2v62xn.js → reference-5nsrms9d.js} +1 -1
  66. package/dist/chunks/{file-rz3jkdqg.js → reference-5rswhkvm.js} +17 -17
  67. package/dist/chunks/{file-5t3nmthw.js → reference-5t3nmthw.js} +2 -2
  68. package/dist/chunks/{file-206fxkvm.js → reference-5t7ms9mx.js} +19 -19
  69. package/dist/chunks/{file-e7n26ax2.js → reference-610kgvj3.js} +8 -8
  70. package/dist/chunks/{file-9nmemh1m.js → reference-65ttwmv3.js} +18 -18
  71. package/dist/chunks/{file-669tq793.js → reference-669tq793.js} +1 -1
  72. package/dist/chunks/{file-h074tf43.js → reference-675rgbk8.js} +37 -37
  73. package/dist/chunks/{file-zn15gz72.js → reference-6dg7rqxz.js} +17 -17
  74. package/dist/chunks/{file-7a03d1b8.js → reference-6gzrz82e.js} +22 -22
  75. package/dist/chunks/{file-xx0dsh07.js → reference-6k7a189h.js} +34 -34
  76. package/dist/chunks/{file-6msgmcgs.js → reference-6msgmcgs.js} +1 -1
  77. package/dist/chunks/{file-arncpnzb.js → reference-6wsb51zt.js} +18 -18
  78. package/dist/chunks/{file-s40t4n9p.js → reference-6y0x6mhe.js} +32 -32
  79. package/dist/chunks/{file-71q4at8m.js → reference-71q4at8m.js} +1 -1
  80. package/dist/chunks/{file-jvdqbckk.js → reference-7b2pfzf8.js} +13 -13
  81. package/dist/chunks/{file-7bmhse3q.js → reference-7bmhse3q.js} +1 -1
  82. package/dist/chunks/{file-ec8389mk.js → reference-7e2yy7bx.js} +4 -4
  83. package/dist/chunks/{file-yt0fqk68.js → reference-7gvwkz6m.js} +5 -5
  84. package/dist/chunks/{file-xncegbyh.js → reference-7mnn3rdt.js} +6 -6
  85. package/dist/chunks/{file-k2cps1w2.js → reference-7my7c7z0.js} +8 -8
  86. package/dist/chunks/{file-pvp2wc9z.js → reference-7mydebfb.js} +11 -11
  87. package/dist/chunks/{file-ntp00jbn.js → reference-7qfmb4s4.js} +47 -47
  88. package/dist/chunks/{file-7ebn0nc0.js → reference-7yqjxrmz.js} +4 -4
  89. package/dist/chunks/{file-vypqtakx.js → reference-83x6p9kd.js} +1 -1
  90. package/dist/chunks/{file-8d7r5vzw.js → reference-8d7r5vzw.js} +1 -1
  91. package/dist/chunks/{file-3yjg5mh2.js → reference-8jmaqybk.js} +3 -3
  92. package/dist/chunks/{file-8p4f9s12.js → reference-8p4f9s12.js} +2 -2
  93. package/dist/chunks/{file-nrj82zgb.js → reference-8pqq62t9.js} +28 -28
  94. package/dist/chunks/{file-52az7e5h.js → reference-8q01rjya.js} +18 -18
  95. package/dist/chunks/{file-664j63h8.js → reference-8q0rcqtv.js} +17 -17
  96. package/dist/chunks/{file-bd7mw0dj.js → reference-8rpas02w.js} +20 -20
  97. package/dist/chunks/{file-bbddt0rr.js → reference-92yzrxcq.js} +22 -22
  98. package/dist/chunks/{file-fydnx5fx.js → reference-9d1kp679.js} +43 -43
  99. package/dist/chunks/{file-n4tr9e7x.js → reference-9dpegb11.js} +14 -14
  100. package/dist/chunks/{file-ce5fknq2.js → reference-9eh6sf6d.js} +5 -5
  101. package/dist/chunks/reference-9zdhvgqs.js +18 -0
  102. package/dist/chunks/{file-a1bz86dw.js → reference-a1bz86dw.js} +3 -3
  103. package/dist/chunks/{file-jhtsdbae.js → reference-a1p8sqe6.js} +21 -21
  104. package/dist/chunks/{file-pnfpsavj.js → reference-a291bara.js} +5 -5
  105. package/dist/chunks/{file-aaet6srn.js → reference-aaet6srn.js} +2 -2
  106. package/dist/chunks/{file-e7c5hh0v.js → reference-adaj7ksj.js} +7 -7
  107. package/dist/chunks/{file-xxewcce8.js → reference-ap8njz3k.js} +11 -11
  108. package/dist/chunks/{file-qaeybh9m.js → reference-as4zy6vm.js} +6 -6
  109. package/dist/chunks/{file-844ef7ks.js → reference-asmz7wyz.js} +8 -8
  110. package/dist/chunks/{file-4e25g0td.js → reference-aw218f2w.js} +14 -14
  111. package/dist/chunks/{file-gj7pn1ka.js → reference-aykdxbsk.js} +11 -11
  112. package/dist/chunks/{file-b6gygkdw.js → reference-b6gygkdw.js} +2 -2
  113. package/dist/chunks/{file-1enyjv7v.js → reference-bkaavq67.js} +13 -13
  114. package/dist/chunks/{file-0bc9xa41.js → reference-bq8xzrzg.js} +9 -9
  115. package/dist/chunks/{file-84tssp1s.js → reference-c7ecgrk6.js} +6 -6
  116. package/dist/chunks/{file-cfpkc3c9.js → reference-cfpkc3c9.js} +2 -2
  117. package/dist/chunks/{file-88sz8qcd.js → reference-csf2jhsg.js} +4 -4
  118. package/dist/chunks/{file-kkmk6wev.js → reference-cvaa60g2.js} +11 -11
  119. package/dist/chunks/{file-6bg31a94.js → reference-d6fzg897.js} +6 -6
  120. package/dist/chunks/{file-jh9jg79a.js → reference-dxt7hne3.js} +8 -8
  121. package/dist/chunks/{file-tsdrwk88.js → reference-e1nwe2td.js} +8 -8
  122. package/dist/chunks/{file-fkszgfvj.js → reference-e46ah9gc.js} +11 -11
  123. package/dist/chunks/{file-37y0x4sa.js → reference-e7g2pv1c.js} +13 -13
  124. package/dist/chunks/{file-d1xvm4af.js → reference-e7kd7gj5.js} +15 -15
  125. package/dist/chunks/{file-nhy5jxhy.js → reference-e82z9tr0.js} +7 -7
  126. package/dist/chunks/{file-03wwe30p.js → reference-efq5tq4f.js} +18 -18
  127. package/dist/chunks/{file-0kzzmtkd.js → reference-ej085sj0.js} +18 -18
  128. package/dist/chunks/{file-mrw4weg4.js → reference-en74w496.js} +5 -5
  129. package/dist/chunks/{file-etq0c3wd.js → reference-etq0c3wd.js} +1 -1
  130. package/dist/chunks/{file-jxj1g7d6.js → reference-ewnjgq7q.js} +5 -5
  131. package/dist/chunks/{file-2r4xr41j.js → reference-ezmrpqv5.js} +20 -20
  132. package/dist/chunks/{file-fzsrmebp.js → reference-f1my3kj4.js} +20 -20
  133. package/dist/chunks/{file-yp2x3t23.js → reference-f2n192rq.js} +4 -4
  134. package/dist/chunks/{file-f828m53h.js → reference-f828m53h.js} +2 -2
  135. package/dist/chunks/{file-0tqgm7xh.js → reference-fd0t6sve.js} +36 -36
  136. package/dist/chunks/{file-rddqvwx7.js → reference-fhjrrdjb.js} +23 -23
  137. package/dist/chunks/{file-z6mn07nx.js → reference-fj264fv9.js} +85 -85
  138. package/dist/chunks/{file-6cr0vect.js → reference-fmxx1bts.js} +24 -24
  139. package/dist/chunks/{file-3n1sj9mp.js → reference-ftm00p2b.js} +1 -1
  140. package/dist/chunks/{file-fxbjtjnd.js → reference-fxbjtjnd.js} +1 -1
  141. package/dist/chunks/{file-mcma3e2p.js → reference-g6zhr88b.js} +6 -6
  142. package/dist/chunks/{file-zts5fb25.js → reference-g8xxs4tx.js} +11 -11
  143. package/dist/chunks/{file-t550f9t1.js → reference-gbt6w4kb.js} +6 -6
  144. package/dist/chunks/{file-gd4qta3r.js → reference-gd4qta3r.js} +1 -1
  145. package/dist/chunks/{file-n3ehebhz.js → reference-gf18h3v3.js} +12 -12
  146. package/dist/chunks/{file-xp2ajnz8.js → reference-gjdkj7gs.js} +21 -21
  147. package/dist/chunks/{file-ff8vf18q.js → reference-gkmh43rj.js} +7 -7
  148. package/dist/chunks/{file-6jnybvqn.js → reference-gsx0ryk4.js} +9 -9
  149. package/dist/chunks/{file-3trbxeqx.js → reference-gt0cxfk7.js} +1 -1
  150. package/dist/chunks/{file-verq85zk.js → reference-gv45jpg5.js} +4 -4
  151. package/dist/chunks/{file-z2rxccdg.js → reference-gvqge573.js} +9 -9
  152. package/dist/chunks/{file-h03wrkyp.js → reference-h03wrkyp.js} +2 -2
  153. package/dist/chunks/{file-h6vf3j39.js → reference-h6vf3j39.js} +1 -1
  154. package/dist/chunks/{file-xe3tttza.js → reference-h8zt85z5.js} +10 -10
  155. package/dist/chunks/{file-n6c8w82a.js → reference-hbhmt5dn.js} +5 -5
  156. package/dist/chunks/{file-a28msnrx.js → reference-hhczrqr1.js} +4 -4
  157. package/dist/chunks/{file-4rpd5z62.js → reference-hj92pwq6.js} +2 -2
  158. package/dist/chunks/{file-87deq66t.js → reference-hkjf8z9r.js} +6 -6
  159. package/dist/chunks/{file-embw8kgh.js → reference-hn57h045.js} +4 -4
  160. package/dist/chunks/{file-0ee4sq7j.js → reference-hp02hwp4.js} +13 -13
  161. package/dist/chunks/{file-qrh3ph5y.js → reference-hx12r247.js} +42 -42
  162. package/dist/chunks/{file-m4w483hc.js → reference-j0w83stm.js} +4 -4
  163. package/dist/chunks/{file-wxg97684.js → reference-j16zphk7.js} +26 -26
  164. package/dist/chunks/{file-b3ab3ctg.js → reference-j1tww2gp.js} +6 -6
  165. package/dist/chunks/{file-gzbkpp9m.js → reference-j5208yae.js} +4 -4
  166. package/dist/chunks/{file-j56e64zr.js → reference-j56e64zr.js} +1 -1
  167. package/dist/chunks/{file-q043d12m.js → reference-j5v2xxap.js} +11 -11
  168. package/dist/chunks/{file-nmpjh5tr.js → reference-j5vg7gm1.js} +18 -18
  169. package/dist/chunks/{file-prqr7atv.js → reference-j6bm1nn6.js} +13 -13
  170. package/dist/chunks/{file-b4ssmz4r.js → reference-ja4wy4ee.js} +6 -6
  171. package/dist/chunks/{file-v6eynfa8.js → reference-jahnfg6b.js} +21 -21
  172. package/dist/chunks/{file-fq1h1v14.js → reference-jhetwysa.js} +3 -3
  173. package/dist/chunks/{file-2ff89mrc.js → reference-jtefztwj.js} +4 -4
  174. package/dist/chunks/{file-agz6ccty.js → reference-jzxr77q3.js} +31 -31
  175. package/dist/chunks/{file-frghq38s.js → reference-k1endqwm.js} +12 -12
  176. package/dist/chunks/{file-3yknbgq7.js → reference-k6szry07.js} +19 -19
  177. package/dist/chunks/{file-kg06axw8.js → reference-kg06axw8.js} +1 -1
  178. package/dist/chunks/{file-edx7kkbf.js → reference-kgyjz9fy.js} +24 -24
  179. package/dist/chunks/{file-y2vrj84a.js → reference-kjz5gbca.js} +10 -10
  180. package/dist/chunks/{file-0vbmec47.js → reference-knhghh0v.js} +30 -30
  181. package/dist/chunks/{file-xr2q0tqq.js → reference-kr2c45mn.js} +14 -14
  182. package/dist/chunks/{file-dx6t03ys.js → reference-m4wh40kd.js} +2 -2
  183. package/dist/chunks/reference-m71yds50.js +247 -0
  184. package/dist/chunks/{file-x015srt1.js → reference-m9qjv7qq.js} +25 -25
  185. package/dist/chunks/{file-m9w0rfyh.js → reference-m9w0rfyh.js} +1 -1
  186. package/dist/chunks/{file-n92g5px8.js → reference-mfwv2709.js} +15 -15
  187. package/dist/chunks/{file-195b9hkp.js → reference-mgw48z1b.js} +28 -28
  188. package/dist/chunks/{file-mkcjrzeh.js → reference-mkcjrzeh.js} +1 -1
  189. package/dist/chunks/{file-5trk58xb.js → reference-n3wdcy6w.js} +8 -8
  190. package/dist/chunks/{file-rctdwqm8.js → reference-nbwvt5pv.js} +10 -10
  191. package/dist/chunks/{file-bv5t9bgg.js → reference-nns6kj95.js} +10 -10
  192. package/dist/chunks/{file-dgbe4bt1.js → reference-pcfbqvzv.js} +18 -18
  193. package/dist/chunks/{file-g713qgch.js → reference-pfq1v9kt.js} +24 -24
  194. package/dist/chunks/{file-pjvnvgmy.js → reference-pjvnvgmy.js} +1 -1
  195. package/dist/chunks/{file-pknna89w.js → reference-pknna89w.js} +1 -1
  196. package/dist/chunks/{file-5cvqq58e.js → reference-q342wcsq.js} +3 -3
  197. package/dist/chunks/{file-3nte7245.js → reference-q9b7wkyy.js} +14 -14
  198. package/dist/chunks/{file-2rbw2ja1.js → reference-qajrngy3.js} +22 -22
  199. package/dist/chunks/{file-hbznxe04.js → reference-qas58w1m.js} +17 -17
  200. package/dist/chunks/{file-9bj2cvf7.js → reference-qcvy1hs9.js} +9 -9
  201. package/dist/chunks/{file-qefhz522.js → reference-qfhza6js.js} +11 -11
  202. package/dist/chunks/{file-rbb6h0rd.js → reference-qjp4a40e.js} +11 -11
  203. package/dist/chunks/{file-9v3118pd.js → reference-qjwymapa.js} +26 -26
  204. package/dist/chunks/{file-htj0b10m.js → reference-qnyc9adz.js} +23 -23
  205. package/dist/chunks/{file-ew6y6y1a.js → reference-qs0ddh18.js} +25 -25
  206. package/dist/chunks/{file-qsdy395h.js → reference-qsdy395h.js} +1 -1
  207. package/dist/chunks/{file-c807y6n2.js → reference-r4avt07e.js} +26 -26
  208. package/dist/chunks/{file-7yh4e7ss.js → reference-r5x6zcsm.js} +3 -3
  209. package/dist/chunks/{file-8x96bj0m.js → reference-ratrq7cm.js} +7 -7
  210. package/dist/chunks/{file-agmzfzv5.js → reference-redrjz5k.js} +18 -18
  211. package/dist/chunks/{file-qt2wzkfv.js → reference-rszxffrt.js} +143 -143
  212. package/dist/chunks/{file-1vd4786e.js → reference-rtphz2v8.js} +9 -9
  213. package/dist/chunks/{file-03zt5v0h.js → reference-rvnq7e84.js} +8 -8
  214. package/dist/chunks/{file-s4enseaf.js → reference-s4enseaf.js} +2 -2
  215. package/dist/chunks/{file-416qpt5q.js → reference-sfddxscf.js} +36 -36
  216. package/dist/chunks/{file-wkwfxgj3.js → reference-sgfkh1bp.js} +4 -4
  217. package/dist/chunks/{file-yc3z3e63.js → reference-sgpd7ym3.js} +13 -13
  218. package/dist/chunks/{file-bxsmgxt8.js → reference-sjqcgh4k.js} +11 -11
  219. package/dist/chunks/{file-vftfn4tg.js → reference-smq0r06k.js} +67 -67
  220. package/dist/chunks/{file-rb7pkpgx.js → reference-spphehv3.js} +12 -12
  221. package/dist/chunks/{file-h2gyv3sg.js → reference-t8mcaem5.js} +1 -1
  222. package/dist/chunks/{file-tazgh4e4.js → reference-tazgh4e4.js} +1 -1
  223. package/dist/chunks/{file-tcezcvh9.js → reference-tcezcvh9.js} +1 -1
  224. package/dist/chunks/{file-tdstcens.js → reference-tdstcens.js} +1 -1
  225. package/dist/chunks/{file-gv6a8nnw.js → reference-th5km1p3.js} +5 -5
  226. package/dist/chunks/{file-kcvfr73y.js → reference-tkhm1f4n.js} +46 -46
  227. package/dist/chunks/{file-tvtrv512.js → reference-tvtrv512.js} +1 -1
  228. package/dist/chunks/{file-p7r5e3re.js → reference-v4hps1eq.js} +27 -27
  229. package/dist/chunks/{file-wc01vwq2.js → reference-v61v6jk6.js} +17 -17
  230. package/dist/chunks/{file-gshc2tst.js → reference-v7j335k4.js} +32 -32
  231. package/dist/chunks/{file-veqvce7d.js → reference-veqvce7d.js} +1 -1
  232. package/dist/chunks/{file-denqxv8d.js → reference-verxd6cc.js} +4 -4
  233. package/dist/chunks/{file-t4fssz5f.js → reference-vh99d6cz.js} +8 -8
  234. package/dist/chunks/{file-k4t1n3ds.js → reference-vq6pkt6q.js} +5 -5
  235. package/dist/chunks/{file-dtbk98nz.js → reference-vqz1dqct.js} +27 -27
  236. package/dist/chunks/{file-vq3dh784.js → reference-vvhxhpdd.js} +23 -23
  237. package/dist/chunks/{file-j2j5pzjs.js → reference-vxdjbxqe.js} +3 -3
  238. package/dist/chunks/{file-szgy4byf.js → reference-vyy6cxw9.js} +4 -4
  239. package/dist/chunks/{file-vzcthcp8.js → reference-vzcthcp8.js} +1 -1
  240. package/dist/chunks/{file-9yb9755z.js → reference-w0n7a3yn.js} +11 -11
  241. package/dist/chunks/{file-w3wsvvr9.js → reference-w3wsvvr9.js} +1 -1
  242. package/dist/chunks/{file-91p1v22t.js → reference-w3x9v1nk.js} +8 -8
  243. package/dist/chunks/{file-kk4kf303.js → reference-w44x3hm1.js} +11 -11
  244. package/dist/chunks/{file-v9n7g2jp.js → reference-w671fmtf.js} +46 -46
  245. package/dist/chunks/{file-56j57pys.js → reference-w94h77jp.js} +13 -13
  246. package/dist/chunks/{file-wd87259q.js → reference-wd87259q.js} +1 -1
  247. package/dist/chunks/{file-ja6srv6s.js → reference-wfbvyrr3.js} +31 -31
  248. package/dist/chunks/{file-bf99w40p.js → reference-wmbw81qg.js} +89 -89
  249. package/dist/chunks/{file-4ycmfby4.js → reference-wtjt4ngy.js} +39 -39
  250. package/dist/chunks/{file-e6g776ht.js → reference-x0x84apk.js} +18 -18
  251. package/dist/chunks/{file-x1ezjp6w.js → reference-x1ezjp6w.js} +1 -1
  252. package/dist/chunks/{file-5z7h86dp.js → reference-x3xe09d9.js} +5 -5
  253. package/dist/chunks/{file-x43y2vfs.js → reference-x43y2vfs.js} +2 -2
  254. package/dist/chunks/{file-67mjd9te.js → reference-x7kn3ctb.js} +9 -9
  255. package/dist/chunks/{file-79rym0vx.js → reference-xakp9rv9.js} +15 -15
  256. package/dist/chunks/{file-9vqmh8rd.js → reference-xb3xm0py.js} +21 -21
  257. package/dist/chunks/{file-ngx16gc5.js → reference-xbjve9g7.js} +12 -12
  258. package/dist/chunks/{file-vsp1fds9.js → reference-xdk9p2qn.js} +4 -4
  259. package/dist/chunks/{file-0p4j4cv0.js → reference-xhmq8qgk.js} +9 -9
  260. package/dist/chunks/{file-81swgkk7.js → reference-xxhb4jr7.js} +9 -9
  261. package/dist/chunks/{file-qj43ta48.js → reference-y0mcqq9w.js} +30 -30
  262. package/dist/chunks/{file-11tcp5y8.js → reference-y0n2m4xg.js} +4 -4
  263. package/dist/chunks/{file-2cmcktmr.js → reference-y19r4g5g.js} +10 -10
  264. package/dist/chunks/{file-y1fvbwt7.js → reference-y1fvbwt7.js} +1 -1
  265. package/dist/chunks/{file-60chw6ns.js → reference-y4xp3h88.js} +276 -276
  266. package/dist/chunks/{file-jwcy2c2z.js → reference-y71avatq.js} +4 -4
  267. package/dist/chunks/{file-9hhkemsn.js → reference-y98pmm57.js} +15 -15
  268. package/dist/chunks/{file-b91bsk4k.js → reference-yfxdtzm1.js} +28 -28
  269. package/dist/chunks/{file-1tx98gn3.js → reference-yjb32c3k.js} +11 -11
  270. package/dist/chunks/{file-8s0m5yrh.js → reference-yp7f5kew.js} +17 -17
  271. package/dist/chunks/{file-yrhqyw5v.js → reference-yrhqyw5v.js} +1 -1
  272. package/dist/chunks/{file-g5twr0sp.js → reference-yvmq8qxx.js} +12 -12
  273. package/dist/chunks/{file-8pnwjqbd.js → reference-yx9d5yhn.js} +23 -23
  274. package/dist/chunks/{file-z0bkrqjs.js → reference-z0bkrqjs.js} +1 -1
  275. package/dist/chunks/{file-vzab2f08.js → reference-z146wf5t.js} +34 -34
  276. package/dist/chunks/{file-gj9xpvv3.js → reference-z1f4gy9p.js} +4 -4
  277. package/dist/chunks/{file-1vpsedet.js → reference-z6nz13dk.js} +6 -6
  278. package/dist/chunks/{file-zeh9ct20.js → reference-zeh9ct20.js} +2 -2
  279. package/dist/chunks/{file-he3a9kdv.js → reference-zh4avhke.js} +29 -29
  280. package/dist/chunks/{file-b8ek1188.js → reference-zjnwhdhy.js} +28 -28
  281. package/dist/chunks/{file-3nmb6yg0.js → reference-zky2ysba.js} +33 -33
  282. package/dist/chunks/{file-zr2ceqn5.js → reference-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{file-n2egqj3k.js → reference-zsy896rw.js} +10 -10
  284. package/dist/chunks/{file-f98vsa4d.js → reference-zvg6wpm3.js} +25 -25
  285. package/dist/chunks/{file-zxq2ej10.js → reference-zxq2ej10.js} +1 -1
  286. package/dist/chunks/{file-vabb23s0.js → reference-zxwpk2nb.js} +1 -1
  287. package/dist/chunks/{file-xnn90w67.js → reference-zzd7tndm.js} +27 -27
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +7 -7
  290. package/dist/codemode/tool.js +2 -2
  291. package/dist/command.js +83 -83
  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 +115 -115
  296. package/dist/config/plugin/command.js +207 -207
  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 +124 -124
  304. package/dist/config/plugin/policy.js +112 -112
  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 +134 -134
  310. package/dist/config/plugin/snapshot.js +115 -115
  311. package/dist/config/plugin/source.js +111 -111
  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 +83 -83
  320. package/dist/database/database.js +72 -72
  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 +77 -77
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +362 -362
  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 +72 -72
  408. package/dist/file-access.js +99 -99
  409. package/dist/file-mutation.js +85 -85
  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 +6 -6
  418. package/dist/filesystem/location-watcher.js +218 -218
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +99 -99
  421. package/dist/filesystem/watcher-binding.js +1 -1
  422. package/dist/filesystem/watcher.js +13 -13
  423. package/dist/filesystem.js +98 -98
  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 +7 -7
  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 +353 -353
  453. package/dist/instruction-discovery.js +83 -83
  454. package/dist/instructions/builtins.js +82 -82
  455. package/dist/instructions/index.js +3 -3
  456. package/dist/integration/connection.js +1 -1
  457. package/dist/integration.js +80 -80
  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 +132 -132
  462. package/dist/location-mutation.js +99 -99
  463. package/dist/location-service-map.js +83 -83
  464. package/dist/location-services.js +350 -350
  465. package/dist/location.js +76 -76
  466. package/dist/mcp/client.js +86 -86
  467. package/dist/mcp/index.js +103 -103
  468. package/dist/mcp/instructions.js +122 -122
  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 +7 -7
  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 +76 -76
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +104 -104
  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 +86 -86
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +73 -73
  485. package/dist/plugin/agent.js +97 -97
  486. package/dist/plugin/command.js +92 -92
  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 +324 -324
  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 +5 -5
  494. package/dist/plugin/optimize.js +2 -2
  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 +78 -78
  522. package/dist/plugin/provider/opencode.js +79 -79
  523. package/dist/plugin/provider/openrouter.js +3 -3
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/poe.js +76 -76
  526. package/dist/plugin/provider/sap-ai-core.js +3 -3
  527. package/dist/plugin/provider/sdk-factory.js +1 -1
  528. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  529. package/dist/plugin/provider/venice.js +2 -2
  530. package/dist/plugin/provider/vercel.js +2 -2
  531. package/dist/plugin/provider/vllm.js +117 -117
  532. package/dist/plugin/provider/xai.js +77 -77
  533. package/dist/plugin/provider/zenmux.js +2 -2
  534. package/dist/plugin/provider.js +158 -158
  535. package/dist/plugin/sdk.js +74 -74
  536. package/dist/plugin/service.js +3 -3
  537. package/dist/plugin/skill.js +131 -131
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +339 -339
  540. package/dist/plugin/update.js +6 -6
  541. package/dist/plugin/variant.js +4 -4
  542. package/dist/plugin/vcs/git.js +80 -80
  543. package/dist/plugin/vcs/hg.js +82 -82
  544. package/dist/plugin/warming.js +110 -110
  545. package/dist/plugin/websearch/exa.js +7 -7
  546. package/dist/plugin/websearch/firecrawl.js +8 -8
  547. package/dist/plugin/websearch/index.js +8 -8
  548. package/dist/plugin/websearch/mcp.js +2 -2
  549. package/dist/plugin/websearch/parallel.js +8 -8
  550. package/dist/plugin/websearch/tavily.js +4 -4
  551. package/dist/plugin.js +218 -218
  552. package/dist/project/schema.js +8 -8
  553. package/dist/project/sql.js +4 -4
  554. package/dist/project.js +85 -85
  555. package/dist/provider.js +5 -5
  556. package/dist/pty/protocol.js +1 -1
  557. package/dist/pty/schema.js +1 -1
  558. package/dist/pty/ticket.js +1 -1
  559. package/dist/pty.js +86 -86
  560. package/dist/reference/instructions.js +84 -84
  561. package/dist/reference.js +86 -86
  562. package/dist/repository-cache.js +76 -76
  563. package/dist/repository.js +3 -3
  564. package/dist/ripgrep/binary.js +2 -2
  565. package/dist/ripgrep.js +93 -93
  566. package/dist/rpc.js +81 -81
  567. package/dist/schema.js +1 -1
  568. package/dist/session/command.js +72 -72
  569. package/dist/session/compaction.js +129 -129
  570. package/dist/session/context.js +147 -147
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +5 -5
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +218 -218
  575. package/dist/session/execution.js +122 -122
  576. package/dist/session/generate.js +146 -146
  577. package/dist/session/history.js +13 -13
  578. package/dist/session/inbox.js +86 -86
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +77 -77
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +92 -92
  583. package/dist/session/message-updater.js +2 -2
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +113 -113
  586. package/dist/session/model-transport.js +9 -9
  587. package/dist/session/move.js +126 -126
  588. package/dist/session/projector.js +84 -84
  589. package/dist/session/prompt.js +100 -100
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +85 -85
  592. package/dist/session/run-coordinator.js +3 -3
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +225 -225
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +86 -86
  597. package/dist/session/runner/publish-llm-event.js +3 -3
  598. package/dist/session/runner/retry.js +110 -110
  599. package/dist/session/runner/step.js +119 -119
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +5 -5
  602. package/dist/session/session.js +167 -167
  603. package/dist/session/shell.js +131 -131
  604. package/dist/session/skill.js +98 -98
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +73 -73
  607. package/dist/session/store.js +81 -81
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +203 -203
  610. package/dist/session/system-prompt.js +5 -5
  611. package/dist/session/title.js +147 -147
  612. package/dist/session/to-session-error.js +107 -107
  613. package/dist/session/transfer.js +218 -218
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +213 -213
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +13 -13
  620. package/dist/shell.js +133 -133
  621. package/dist/skill/discovery.js +6 -6
  622. package/dist/skill/instructions.js +102 -102
  623. package/dist/skill.js +107 -107
  624. package/dist/snapshot.js +82 -82
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +119 -119
  629. package/dist/tool/plugin/edit.js +115 -115
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +120 -120
  632. package/dist/tool/plugin/grep.js +120 -120
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +117 -117
  635. package/dist/tool/plugin/question.js +98 -98
  636. package/dist/tool/plugin/read.js +121 -121
  637. package/dist/tool/plugin/shell.js +210 -210
  638. package/dist/tool/plugin/skill.js +106 -106
  639. package/dist/tool/plugin/subagent.js +214 -214
  640. package/dist/tool/plugin/webfetch.js +103 -103
  641. package/dist/tool/plugin/websearch.js +107 -107
  642. package/dist/tool/plugin/write.js +117 -117
  643. package/dist/tool/read-filesystem.js +92 -92
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +8 -8
  646. package/dist/tool.js +13 -13
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/iife.js +1 -1
  650. package/dist/util/lazy.js +1 -1
  651. package/dist/util/slug.js +1 -1
  652. package/dist/util/token.js +1 -1
  653. package/dist/util/which.js +1 -1
  654. package/dist/util/wildcard.js +1 -1
  655. package/dist/v1/config/agent.js +7 -7
  656. package/dist/v1/config/attachment.js +4 -4
  657. package/dist/v1/config/command.js +5 -5
  658. package/dist/v1/config/config.js +16 -16
  659. package/dist/v1/config/error.js +2 -2
  660. package/dist/v1/config/formatter.js +3 -3
  661. package/dist/v1/config/layout.js +1 -1
  662. package/dist/v1/config/lsp.js +3 -3
  663. package/dist/v1/config/mcp.js +4 -4
  664. package/dist/v1/config/migrate.js +4 -4
  665. package/dist/v1/config/permission.js +3 -3
  666. package/dist/v1/config/plugin.js +3 -3
  667. package/dist/v1/config/provider-options.js +1 -1
  668. package/dist/v1/config/provider.js +4 -4
  669. package/dist/v1/config/server.js +2 -2
  670. package/dist/v1/config/skills.js +3 -3
  671. package/dist/v1/permission.js +1 -1
  672. package/dist/vcs/patch.js +1 -1
  673. package/dist/vcs.js +85 -85
  674. package/dist/websearch.js +82 -82
  675. package/dist/wellknown/plugin.js +74 -74
  676. package/dist/wellknown.js +79 -79
  677. package/dist/workspace/driver.js +5 -5
  678. package/dist/workspace/sql.js +1 -1
  679. package/dist/workspace.js +78 -78
  680. package/dist/worktree/directory.js +4 -4
  681. package/dist/worktree/git.js +7 -7
  682. package/dist/worktree/refresh.js +342 -342
  683. package/dist/worktree/sql.js +5 -5
  684. package/dist/worktree.js +89 -89
  685. package/package.json +8 -8
  686. package/dist/chunks/file-ht5y0zrb.js +0 -18
  687. package/dist/chunks/file-ngb1kbyf.js +0 -247
  688. /package/dist/chunks/{file-0mesazry.js → reference-0mesazry.js} +0 -0
  689. /package/dist/chunks/{file-0qkdqm5v.js → reference-0qkdqm5v.js} +0 -0
  690. /package/dist/chunks/{file-0zkw76rk.js → reference-0zkw76rk.js} +0 -0
  691. /package/dist/chunks/{file-17cy0kzp.js → reference-17cy0kzp.js} +0 -0
  692. /package/dist/chunks/{file-1cnp2v09.js → reference-1cnp2v09.js} +0 -0
  693. /package/dist/chunks/{file-1kg9ymc8.js → reference-1kg9ymc8.js} +0 -0
  694. /package/dist/chunks/{file-2710q6r3.js → reference-2710q6r3.js} +0 -0
  695. /package/dist/chunks/{file-2axfhc9x.js → reference-2axfhc9x.js} +0 -0
  696. /package/dist/chunks/{file-2c3vjs8z.js → reference-2c3vjs8z.js} +0 -0
  697. /package/dist/chunks/{file-359p4xyc.js → reference-359p4xyc.js} +0 -0
  698. /package/dist/chunks/{file-3asan66x.js → reference-3asan66x.js} +0 -0
  699. /package/dist/chunks/{file-3v8g72cx.js → reference-3v8g72cx.js} +0 -0
  700. /package/dist/chunks/{file-3w5fmr99.js → reference-3w5fmr99.js} +0 -0
  701. /package/dist/chunks/{file-3wcehsnq.js → reference-3wcehsnq.js} +0 -0
  702. /package/dist/chunks/{file-43n2bw4t.js → reference-43n2bw4t.js} +0 -0
  703. /package/dist/chunks/{file-4knz6hnm.js → reference-4knz6hnm.js} +0 -0
  704. /package/dist/chunks/{file-4vcrnpx2.js → reference-4vcrnpx2.js} +0 -0
  705. /package/dist/chunks/{file-4y7fprxs.js → reference-4y7fprxs.js} +0 -0
  706. /package/dist/chunks/{file-53557ph1.js → reference-53557ph1.js} +0 -0
  707. /package/dist/chunks/{file-550bvhaj.js → reference-550bvhaj.js} +0 -0
  708. /package/dist/chunks/{file-6prwharc.js → reference-6prwharc.js} +0 -0
  709. /package/dist/chunks/{file-7akdwqpd.js → reference-7akdwqpd.js} +0 -0
  710. /package/dist/chunks/{file-7m9af43g.js → reference-7m9af43g.js} +0 -0
  711. /package/dist/chunks/{file-822emrt2.js → reference-822emrt2.js} +0 -0
  712. /package/dist/chunks/{file-88xbtdfr.js → reference-88xbtdfr.js} +0 -0
  713. /package/dist/chunks/{file-8n3pysct.js → reference-8n3pysct.js} +0 -0
  714. /package/dist/chunks/{file-922hggd3.js → reference-922hggd3.js} +0 -0
  715. /package/dist/chunks/{file-9a4afbnw.js → reference-9a4afbnw.js} +0 -0
  716. /package/dist/chunks/{file-9rqn6x4v.js → reference-9rqn6x4v.js} +0 -0
  717. /package/dist/chunks/{file-a6k6eb26.js → reference-a6k6eb26.js} +0 -0
  718. /package/dist/chunks/{file-af5trqkr.js → reference-af5trqkr.js} +0 -0
  719. /package/dist/chunks/{file-afrmfg78.js → reference-afrmfg78.js} +0 -0
  720. /package/dist/chunks/{file-aqzs7mqg.js → reference-aqzs7mqg.js} +0 -0
  721. /package/dist/chunks/{file-atq7p7m5.js → reference-atq7p7m5.js} +0 -0
  722. /package/dist/chunks/{file-bkyjaxrp.js → reference-bkyjaxrp.js} +0 -0
  723. /package/dist/chunks/{file-bmr6ed5q.js → reference-bmr6ed5q.js} +0 -0
  724. /package/dist/chunks/{file-cf4snx6d.js → reference-cf4snx6d.js} +0 -0
  725. /package/dist/chunks/{file-cvy3z8tj.js → reference-cvy3z8tj.js} +0 -0
  726. /package/dist/chunks/{file-d9fn303g.js → reference-d9fn303g.js} +0 -0
  727. /package/dist/chunks/{file-d9jj8t3e.js → reference-d9jj8t3e.js} +0 -0
  728. /package/dist/chunks/{file-dajrwvna.js → reference-dajrwvna.js} +0 -0
  729. /package/dist/chunks/{file-dap0rakb.js → reference-dap0rakb.js} +0 -0
  730. /package/dist/chunks/{file-df08tz66.js → reference-df08tz66.js} +0 -0
  731. /package/dist/chunks/{file-dy18nga0.js → reference-dy18nga0.js} +0 -0
  732. /package/dist/chunks/{file-e5kj55wp.js → reference-e5kj55wp.js} +0 -0
  733. /package/dist/chunks/{file-e73j6tqm.js → reference-e73j6tqm.js} +0 -0
  734. /package/dist/chunks/{file-ec1grn59.js → reference-ec1grn59.js} +0 -0
  735. /package/dist/chunks/{file-eh3zwz77.js → reference-eh3zwz77.js} +0 -0
  736. /package/dist/chunks/{file-emrn6kk6.js → reference-emrn6kk6.js} +0 -0
  737. /package/dist/chunks/{file-f0mxakyp.js → reference-f0mxakyp.js} +0 -0
  738. /package/dist/chunks/{file-f6n9ztr4.js → reference-f6n9ztr4.js} +0 -0
  739. /package/dist/chunks/{file-faypxj3z.js → reference-faypxj3z.js} +0 -0
  740. /package/dist/chunks/{file-fd410y7t.js → reference-fd410y7t.js} +0 -0
  741. /package/dist/chunks/{file-fxgpk5d8.js → reference-fxgpk5d8.js} +0 -0
  742. /package/dist/chunks/{file-g4wezp1m.js → reference-g4wezp1m.js} +0 -0
  743. /package/dist/chunks/{file-g86h250q.js → reference-g86h250q.js} +0 -0
  744. /package/dist/chunks/{file-gebd4c9n.js → reference-gebd4c9n.js} +0 -0
  745. /package/dist/chunks/{file-gftt206x.js → reference-gftt206x.js} +0 -0
  746. /package/dist/chunks/{file-hjbc5kem.js → reference-hjbc5kem.js} +0 -0
  747. /package/dist/chunks/{file-hk9envan.js → reference-hk9envan.js} +0 -0
  748. /package/dist/chunks/{file-hrnqkpcd.js → reference-hrnqkpcd.js} +0 -0
  749. /package/dist/chunks/{file-j2ntwpah.js → reference-j2ntwpah.js} +0 -0
  750. /package/dist/chunks/{file-j5zkgpj8.js → reference-j5zkgpj8.js} +0 -0
  751. /package/dist/chunks/{file-j935v87r.js → reference-j935v87r.js} +0 -0
  752. /package/dist/chunks/{file-jr7sbwjy.js → reference-jr7sbwjy.js} +0 -0
  753. /package/dist/chunks/{file-jwfs4k6c.js → reference-jwfs4k6c.js} +0 -0
  754. /package/dist/chunks/{file-jzg6c2d5.js → reference-jzg6c2d5.js} +0 -0
  755. /package/dist/chunks/{file-mp448xyj.js → reference-mp448xyj.js} +0 -0
  756. /package/dist/chunks/{file-msx8hqn2.js → reference-msx8hqn2.js} +0 -0
  757. /package/dist/chunks/{file-n05xt0ee.js → reference-n05xt0ee.js} +0 -0
  758. /package/dist/chunks/{file-n3j8tn72.js → reference-n3j8tn72.js} +0 -0
  759. /package/dist/chunks/{file-njntx4h6.js → reference-njntx4h6.js} +0 -0
  760. /package/dist/chunks/{file-q3sfg36h.js → reference-q3sfg36h.js} +0 -0
  761. /package/dist/chunks/{file-q74kybfr.js → reference-q74kybfr.js} +0 -0
  762. /package/dist/chunks/{file-qaymkmh1.js → reference-qaymkmh1.js} +0 -0
  763. /package/dist/chunks/{file-qb87gjwd.js → reference-qb87gjwd.js} +0 -0
  764. /package/dist/chunks/{file-qfa1cgps.js → reference-qfa1cgps.js} +0 -0
  765. /package/dist/chunks/{file-qrg20bc0.js → reference-qrg20bc0.js} +0 -0
  766. /package/dist/chunks/{file-rcb2kzg1.js → reference-rcb2kzg1.js} +0 -0
  767. /package/dist/chunks/{file-sdp7kfr6.js → reference-sdp7kfr6.js} +0 -0
  768. /package/dist/chunks/{file-sk3qaz4a.js → reference-sk3qaz4a.js} +0 -0
  769. /package/dist/chunks/{file-ssg3fenm.js → reference-ssg3fenm.js} +0 -0
  770. /package/dist/chunks/{file-twg0f83k.js → reference-twg0f83k.js} +0 -0
  771. /package/dist/chunks/{file-w803qqfp.js → reference-w803qqfp.js} +0 -0
  772. /package/dist/chunks/{file-wer8tq1h.js → reference-wer8tq1h.js} +0 -0
  773. /package/dist/chunks/{file-wtztk69x.js → reference-wtztk69x.js} +0 -0
  774. /package/dist/chunks/{file-x0ckcb58.js → reference-x0ckcb58.js} +0 -0
  775. /package/dist/chunks/{file-x61499pn.js → reference-x61499pn.js} +0 -0
  776. /package/dist/chunks/{file-y44na4kk.js → reference-y44na4kk.js} +0 -0
  777. /package/dist/chunks/{file-y8cydn3q.js → reference-y8cydn3q.js} +0 -0
  778. /package/dist/chunks/{file-ygaqb7jw.js → reference-ygaqb7jw.js} +0 -0
  779. /package/dist/chunks/{file-ym463w8f.js → reference-ym463w8f.js} +0 -0
  780. /package/dist/chunks/{file-z9919s4g.js → reference-z9919s4g.js} +0 -0
@@ -1,57 +1,57 @@
1
1
  import {
2
- Service79
3
- } from "./file-d1xvm4af.js";
2
+ Service80
3
+ } from "./reference-e7kd7gj5.js";
4
4
  import {
5
- Service78
6
- } from "./file-0kzzmtkd.js";
5
+ Service79
6
+ } from "./reference-ej085sj0.js";
7
7
  import {
8
- Service50
9
- } from "./file-hq8zt1th.js";
8
+ Service41
9
+ } from "./reference-3c1tgrea.js";
10
10
  import {
11
11
  userNotification2
12
- } from "./file-fxbjtjnd.js";
12
+ } from "./reference-fxbjtjnd.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./file-gftt206x.js";
15
+ } from "./reference-gftt206x.js";
16
16
  import {
17
- NotFoundError6,
17
+ NotFoundError8,
18
18
  PromptConflictError2,
19
19
  SyntheticConflictError2,
20
20
  CompactionConflictError2,
21
21
  BusyError2,
22
22
  InboxConflictError2
23
- } from "./file-b4ssmz4r.js";
23
+ } from "./reference-ja4wy4ee.js";
24
24
  import {
25
25
  SessionEvent2
26
- } from "./file-ec1grn59.js";
26
+ } from "./reference-ec1grn59.js";
27
27
  import {
28
- Service56
29
- } from "./file-4e25g0td.js";
28
+ Service55
29
+ } from "./reference-aw218f2w.js";
30
30
  import {
31
31
  Delivery2,
32
32
  SyntheticPayload2,
33
- Service48
34
- } from "./file-d5n4bh35.js";
33
+ Service39
34
+ } from "./reference-3j6hn5pg.js";
35
35
  import {
36
- Service46
37
- } from "./file-qrh3ph5y.js";
36
+ Service37
37
+ } from "./reference-hx12r247.js";
38
38
  import {
39
39
  prepare2
40
- } from "./file-397qe2v7.js";
40
+ } from "./reference-1f0ahqzp.js";
41
41
  import {
42
42
  stage2,
43
43
  clear2,
44
44
  commit2
45
- } from "./file-9vqmh8rd.js";
45
+ } from "./reference-xb3xm0py.js";
46
46
  import {
47
47
  start2
48
- } from "./file-67mjd9te.js";
48
+ } from "./reference-x7kn3ctb.js";
49
49
  import {
50
50
  get4
51
- } from "./file-70xczmxz.js";
51
+ } from "./reference-48ghgnyj.js";
52
52
  import {
53
53
  __export
54
- } from "./file-9rqn6x4v.js";
54
+ } from "./reference-9rqn6x4v.js";
55
55
 
56
56
  // src/session/session.ts
57
57
  var exports_session2 = {};
@@ -63,18 +63,18 @@ import { DateTime, Effect, Fiber, Scope } from "effect";
63
63
  import { Event } from "@opencode/schema/event";
64
64
  import { FSUtil } from "@opencode/util/fs-util";
65
65
  var make12 = Effect.fn("Session.make")(function* () {
66
- const bus = yield* Service78;
67
- const database = yield* Service79;
68
- const store = yield* Service56;
69
- const instances = yield* Service50;
70
- const execution = yield* Service46;
71
- const admission = yield* Service48;
66
+ const bus = yield* Service79;
67
+ const database = yield* Service80;
68
+ const store = yield* Service55;
69
+ const instances = yield* Service41;
70
+ const execution = yield* Service37;
71
+ const admission = yield* Service39;
72
72
  const fs = yield* FSUtil.Service;
73
73
  const scope = yield* Scope.Scope;
74
74
  const get = Effect.fn("Session.get")(function* (sessionID) {
75
75
  const session = yield* store.get(sessionID);
76
76
  if (!session)
77
- return yield* new NotFoundError6({ sessionID });
77
+ return yield* new NotFoundError8({ sessionID });
78
78
  return session;
79
79
  });
80
80
  const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
@@ -127,7 +127,7 @@ var make12 = Effect.fn("Session.make")(function* () {
127
127
  });
128
128
  if (existing)
129
129
  return existing;
130
- const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service50, instances), Effect.provideService(FSUtil.Service, fs)));
130
+ const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service41, instances), Effect.provideService(FSUtil.Service, fs)));
131
131
  if (session.revert)
132
132
  yield* commit2(bus, session);
133
133
  return yield* admission.admit({
@@ -143,7 +143,7 @@ var make12 = Effect.fn("Session.make")(function* () {
143
143
  const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
144
144
  const session = yield* get(sessionID);
145
145
  const running = yield* Effect.gen(function* () {
146
- const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service50, instances), Effect.tapError((error) => synthetic(sessionID, {
146
+ const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service41, instances), Effect.tapError((error) => synthetic(sessionID, {
147
147
  text: `User shell command failed to start:
148
148
  ${input.command}
149
149
 
@@ -172,7 +172,7 @@ ${error.message}`,
172
172
  });
173
173
  const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
174
174
  const session = yield* get(sessionID);
175
- const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service50, instances));
175
+ const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service41, instances));
176
176
  yield* bus.publish(SessionEvent2.Skill.Activated, {
177
177
  sessionID,
178
178
  id: skill.id,
@@ -229,13 +229,13 @@ ${error.message}`,
229
229
  const session = yield* get(sessionID);
230
230
  if (yield* execution.isActive(sessionID))
231
231
  return yield* new BusyError2({ sessionID });
232
- return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service50, instances), Effect.provideService(Service79, database), Effect.provideService(Service78, bus));
232
+ return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service41, instances), Effect.provideService(Service80, database), Effect.provideService(Service79, bus));
233
233
  });
234
234
  const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
235
235
  const session = yield* get(sessionID);
236
236
  if (yield* execution.isActive(sessionID))
237
237
  return yield* new BusyError2({ sessionID });
238
- yield* clear2(session).pipe(Effect.provideService(Service50, instances), Effect.provideService(Service78, bus));
238
+ yield* clear2(session).pipe(Effect.provideService(Service41, instances), Effect.provideService(Service79, bus));
239
239
  return yield* execution.wake(sessionID);
240
240
  });
241
241
  const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
@@ -1,9 +1,9 @@
1
1
  import {
2
- render3
3
- } from "./file-nhy5jxhy.js";
2
+ render2
3
+ } from "./reference-e82z9tr0.js";
4
4
  import {
5
5
  __export
6
- } from "./file-9rqn6x4v.js";
6
+ } from "./reference-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/optimize.ts
9
9
  var exports_optimize = {};
@@ -412,7 +412,7 @@ function make(id, optimize) {
412
412
  const system = event.system[0];
413
413
  if (!system)
414
414
  return;
415
- event.system[0] = { ...system, text: render3(template, Object.keys(event.tools)) };
415
+ event.system[0] = { ...system, text: render2(template, Object.keys(event.tools)) };
416
416
  }).pipe(Effect.catch(() => Effect.void)));
417
417
  })
418
418
  });
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  parseOption2
3
- } from "./file-5daktx2q.js";
3
+ } from "./reference-5daktx2q.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./file-922hggd3.js";
6
+ } from "./reference-922hggd3.js";
7
7
  import {
8
- ID4,
8
+ ID7,
9
9
  Name2
10
- } from "./file-b91bsk4k.js";
10
+ } from "./reference-yfxdtzm1.js";
11
11
  import {
12
12
  __export
13
- } from "./file-9rqn6x4v.js";
13
+ } from "./reference-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/skill-file.ts
16
16
  var exports_skill_file = {};
@@ -57,7 +57,7 @@ function parse2(directory, filepath, content) {
57
57
  return {
58
58
  _tag: "Parsed",
59
59
  skill: {
60
- id: ID4.make(id),
60
+ id: ID7.make(id),
61
61
  name: Name2.make(frontmatter.name ?? id),
62
62
  ...frontmatter.description === undefined ? {} : { description: frontmatter.description },
63
63
  ...slash === undefined ? {} : { slash },
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./file-922hggd3.js";
3
+ } from "./reference-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./file-9rqn6x4v.js";
6
+ } from "./reference-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/server.ts
9
9
  var exports_server = {};
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service79,
3
- node83
4
- } from "./file-d1xvm4af.js";
2
+ Service80,
3
+ node85
4
+ } from "./reference-e7kd7gj5.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./file-jwcy2c2z.js";
7
+ } from "./reference-y71avatq.js";
8
8
  import {
9
9
  Binding2,
10
10
  RegistryService2,
11
- node74
12
- } from "./file-87deq66t.js";
11
+ node54
12
+ } from "./reference-hkjf8z9r.js";
13
13
  import {
14
14
  WorkspaceTable2
15
- } from "./file-faypxj3z.js";
15
+ } from "./reference-faypxj3z.js";
16
16
  import {
17
17
  __export
18
- } from "./file-9rqn6x4v.js";
18
+ } from "./reference-9rqn6x4v.js";
19
19
 
20
20
  // src/workspace.ts
21
21
  var exports_workspace = {};
22
22
  __export(exports_workspace, {
23
23
  CreateConflict: () => CreateConflict2,
24
- ID: () => ID12,
25
- Info: () => Info25,
24
+ ID: () => ID6,
25
+ Info: () => Info7,
26
26
  NotFound: () => NotFound3,
27
- Service: () => Service70,
27
+ Service: () => Service50,
28
28
  Workspace: () => exports_workspace,
29
- configured: () => configured10,
30
- node: () => node73
29
+ configured: () => configured6,
30
+ node: () => node53
31
31
  });
32
32
  import { Workspace } from "@opencode/schema/workspace";
33
33
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
35
35
  import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
36
36
  import { systemError } from "effect/PlatformError";
37
37
  import { make } from "effect/unstable/process/ChildProcessSpawner";
38
- var ID12 = Workspace.ID;
38
+ var ID6 = Workspace.ID;
39
39
 
40
- class Info25 extends Schema.Class("Workspace.Info")({
41
- id: ID12,
40
+ class Info7 extends Schema.Class("Workspace.Info")({
41
+ id: ID6,
42
42
  provider: Schema.String,
43
43
  binding: Binding2,
44
44
  createdAt: Schema.Number,
@@ -46,25 +46,25 @@ class Info25 extends Schema.Class("Workspace.Info")({
46
46
  }) {
47
47
  }
48
48
 
49
- class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID12 }) {
49
+ class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID6 }) {
50
50
  }
51
51
 
52
52
  class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
53
- workspaceID: ID12,
53
+ workspaceID: ID6,
54
54
  provider: Schema.String,
55
55
  existingProvider: Schema.String
56
56
  }) {
57
57
  }
58
58
 
59
- class Service70 extends Context.Service()("@opencode/Workspace") {
59
+ class Service50 extends Context.Service()("@opencode/Workspace") {
60
60
  }
61
- var configured10 = (options = {}) => makeGlobalNode({
62
- service: Service70,
61
+ var configured6 = (options = {}) => makeGlobalNode({
62
+ service: Service50,
63
63
  layer: layer(options),
64
- deps: [node83, node74]
64
+ deps: [node85, node54]
65
65
  });
66
- var layer = (options) => Layer.effect(Service70, Effect.gen(function* () {
67
- const db = (yield* Service79).db;
66
+ var layer = (options) => Layer.effect(Service50, Effect.gen(function* () {
67
+ const db = (yield* Service80).db;
68
68
  const registry = yield* RegistryService2;
69
69
  const lifetime = yield* Scope.Scope;
70
70
  const connections = new Map;
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service70, Effect.gen(function* () {
80
80
  return row;
81
81
  });
82
82
  const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
83
- const info = (row, binding) => new Info25({
83
+ const info = (row, binding) => new Info7({
84
84
  id: row.id,
85
85
  provider: row.provider,
86
86
  binding,
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service70, Effect.gen(function* () {
154
154
  yield* Scope.close(connection.scope, Exit.void);
155
155
  }).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
156
156
  }).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
157
- return Service70.of({
157
+ return Service50.of({
158
158
  create: Effect.fn("Workspace.create")(function* (input) {
159
- const workspaceID = input.id ?? ID12.create();
159
+ const workspaceID = input.id ?? ID6.create();
160
160
  const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
161
161
  if (existing) {
162
162
  if (existing.provider === input.provider)
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service70, Effect.gen(function* () {
221
221
  })
222
222
  });
223
223
  }));
224
- var node73 = configured10();
224
+ var node53 = configured6();
225
225
 
226
- export { ID12, Info25, NotFound3, CreateConflict2, Service70, configured10, node73, exports_workspace };
226
+ export { ID6, Info7, NotFound3, CreateConflict2, Service50, configured6, node53, exports_workspace };
@@ -1,46 +1,46 @@
1
1
  import {
2
2
  Service72
3
- } from "./file-6bg31a94.js";
3
+ } from "./reference-d6fzg897.js";
4
4
  import {
5
- Service69
6
- } from "./file-xp2ajnz8.js";
5
+ Service49
6
+ } from "./reference-gjdkj7gs.js";
7
7
  import {
8
8
  Service15,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./file-ypy1tgyh.js";
11
+ } from "./reference-13j5h6zk.js";
12
12
  import {
13
- Service40
14
- } from "./file-eykg37vx.js";
13
+ Service13
14
+ } from "./reference-234ap6ss.js";
15
15
  import {
16
- Service55
17
- } from "./file-dn4sgk77.js";
16
+ Service54
17
+ } from "./reference-4j04egcw.js";
18
18
  import {
19
- Service41,
19
+ Service16,
20
20
  resolvePath2
21
- } from "./file-n4tr9e7x.js";
21
+ } from "./reference-9dpegb11.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./file-6prwharc.js";
24
+ } from "./reference-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./file-9rqn6x4v.js";
27
+ } from "./reference-9rqn6x4v.js";
28
28
 
29
29
  // src/tool/plugin/edit.ts
30
30
  var exports_edit = {};
31
31
  __export(exports_edit, {
32
32
  EditTool: () => exports_edit,
33
- Input: () => Input9,
34
- Output: () => Output6,
35
- Plugin: () => Plugin28,
36
- name: () => name9
33
+ Input: () => Input4,
34
+ Output: () => Output3,
35
+ Plugin: () => Plugin22,
36
+ name: () => name4
37
37
  });
38
38
  import { ToolFailure } from "@opencode/ai";
39
39
  import { FileDiff } from "@opencode/schema/file-diff";
40
40
  import { Bom } from "@opencode/util/bom";
41
41
  import { Effect, Schema } from "effect";
42
- var name9 = "edit";
43
- var Input9 = Schema.Struct({
42
+ var name4 = "edit";
43
+ var Input4 = Schema.Struct({
44
44
  path: Schema.String.annotate({
45
45
  description: "File to edit"
46
46
  }),
@@ -50,7 +50,7 @@ var Input9 = Schema.Struct({
50
50
  description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
51
51
  })
52
52
  });
53
- var Output6 = Schema.Struct({
53
+ var Output3 = Schema.Struct({
54
54
  files: Schema.Array(FileDiff.Info),
55
55
  replacements: Schema.Number
56
56
  });
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
103
103
  return result;
104
104
  }, []);
105
105
  };
106
- var Plugin28 = {
106
+ var Plugin22 = {
107
107
  id: "opencode.tool.edit",
108
108
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
109
- const access = yield* Service41;
109
+ const access = yield* Service16;
110
110
  const fileMutation = yield* Service15;
111
- const environment = yield* Service69;
112
- const formatter = yield* Service40;
111
+ const environment = yield* Service49;
112
+ const formatter = yield* Service13;
113
113
  const location = yield* Service72;
114
- const permission = yield* Service55;
114
+ const permission = yield* Service54;
115
115
  yield* ctx.tool.transform((editor) => editor.add({
116
- name: name9,
116
+ name: name4,
117
117
  options: { codemode: false, permission: "edit" },
118
118
  description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
119
- input: Input9,
120
- output: Output6,
119
+ input: Input4,
120
+ output: Output3,
121
121
  execute: (input, context) => {
122
122
  return Effect.gen(function* () {
123
123
  const permissionSource = {
@@ -194,4 +194,4 @@ var Plugin28 = {
194
194
  })
195
195
  };
196
196
 
197
- export { name9, Input9, Output6, Plugin28, exports_edit };
197
+ export { name4, Input4, Output3, Plugin22, exports_edit };
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./file-2a5m3afh.js";
3
+ } from "./reference-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./file-922hggd3.js";
6
+ } from "./reference-922hggd3.js";
7
7
  import {
8
8
  Service72
9
- } from "./file-6bg31a94.js";
9
+ } from "./reference-d6fzg897.js";
10
10
  import {
11
- Service69
12
- } from "./file-xp2ajnz8.js";
11
+ Service49
12
+ } from "./reference-gjdkj7gs.js";
13
13
  import {
14
14
  InvalidPatternError2,
15
- Service44
16
- } from "./file-e6g776ht.js";
15
+ Service19
16
+ } from "./reference-x0x84apk.js";
17
17
  import {
18
18
  DEFAULT_SEARCH_LIMIT2,
19
19
  DEFAULT_SEARCH_TIMEOUT_MS2,
20
20
  GrepInput2,
21
21
  Entry2,
22
22
  Match2
23
- } from "./file-2r4xr41j.js";
23
+ } from "./reference-ezmrpqv5.js";
24
24
  import {
25
- Service55
26
- } from "./file-dn4sgk77.js";
25
+ Service54
26
+ } from "./reference-4j04egcw.js";
27
27
  import {
28
- Service41
29
- } from "./file-n4tr9e7x.js";
28
+ Service16
29
+ } from "./reference-9dpegb11.js";
30
30
  import {
31
31
  __export
32
- } from "./file-9rqn6x4v.js";
32
+ } from "./reference-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/grep.ts
35
35
  var exports_grep = {};
36
36
  __export(exports_grep, {
37
37
  GrepTool: () => exports_grep,
38
- Input: () => Input8,
39
- Output: () => Output5,
40
- Plugin: () => Plugin26,
41
- name: () => name8,
42
- toModelContent: () => toModelContent3
38
+ Input: () => Input12,
39
+ Output: () => Output8,
40
+ Plugin: () => Plugin30,
41
+ name: () => name12,
42
+ toModelContent: () => toModelContent6
43
43
  });
44
44
  import { ToolFailure } from "@opencode/ai";
45
45
  import { Effect, Schema } from "effect";
46
46
  import path from "path";
47
- var name8 = "grep";
48
- var Input8 = Schema.Struct({
47
+ var name12 = "grep";
48
+ var Input12 = Schema.Struct({
49
49
  pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
50
50
  description: "Regular expression or literal text to match in file contents."
51
51
  }),
@@ -65,8 +65,8 @@ var Input8 = Schema.Struct({
65
65
  description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
66
66
  })
67
67
  });
68
- var Output5 = Schema.Array(Match2);
69
- var toModelContent3 = (matches, truncated = false) => {
68
+ var Output8 = Schema.Array(Match2);
69
+ var toModelContent6 = (matches, truncated = false) => {
70
70
  const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
71
71
  let current = "";
72
72
  for (const match of matches) {
@@ -83,26 +83,26 @@ var toModelContent3 = (matches, truncated = false) => {
83
83
  return lines.join(`
84
84
  `);
85
85
  };
86
- var Plugin26 = {
86
+ var Plugin30 = {
87
87
  id: "opencode.tool.grep",
88
88
  effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
89
- const environment = yield* Service69;
90
- const ripgrep = yield* Service44;
89
+ const environment = yield* Service49;
90
+ const ripgrep = yield* Service19;
91
91
  const location = yield* Service72;
92
- const access = yield* Service41;
93
- const permission = yield* Service55;
92
+ const access = yield* Service16;
93
+ const permission = yield* Service54;
94
94
  yield* ctx.tool.transform((editor) => editor.add({
95
- name: name8,
95
+ name: name12,
96
96
  options: { codemode: false },
97
97
  description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
98
- input: Input8,
99
- output: Output5,
98
+ input: Input12,
99
+ output: Output8,
100
100
  execute: (input, context) => Effect.gen(function* () {
101
101
  const source = { type: "tool", messageID: context.messageID, id: context.id };
102
102
  const target = yield* access.resolve({ path: input.path ?? "." });
103
103
  yield* access.authorizeExternal([target], context);
104
104
  yield* permission.assert({
105
- action: name8,
105
+ action: name12,
106
106
  resources: [input.pattern],
107
107
  save: ["*"],
108
108
  metadata: {
@@ -144,7 +144,7 @@ var Plugin26 = {
144
144
  return { matches: matches.slice(0, limit), truncated: matches.length > limit };
145
145
  }).pipe(Effect.map((result) => ({
146
146
  output: result.matches,
147
- content: toModelContent3(result.matches.map((match) => ({
147
+ content: toModelContent6(result.matches.map((match) => ({
148
148
  ...match,
149
149
  entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
150
150
  })), result.truncated),
@@ -154,4 +154,4 @@ var Plugin26 = {
154
154
  })
155
155
  };
156
156
 
157
- export { name8, Input8, Output5, toModelContent3, Plugin26, exports_grep };
157
+ export { name12, Input12, Output8, toModelContent6, Plugin30, exports_grep };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-9rqn6x4v.js";
3
+ } from "./reference-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/promise.ts
6
6
  var exports_promise = {};
@@ -1,13 +1,13 @@
1
1
  import {
2
- ID15,
2
+ ID16,
3
3
  Family2
4
- } from "./file-g5twr0sp.js";
4
+ } from "./reference-yvmq8qxx.js";
5
5
  import {
6
- Service65
7
- } from "./file-wh05710z.js";
6
+ Service63
7
+ } from "./reference-37b2kds0.js";
8
8
  import {
9
9
  foldSettings2
10
- } from "./file-e7c5hh0v.js";
10
+ } from "./reference-adaj7ksj.js";
11
11
 
12
12
  // src/plugin/provider/ollama.ts
13
13
  import { define } from "@opencode/plugin/effect/plugin";
@@ -45,12 +45,12 @@ var ShowResponse = Schema.Struct({
45
45
  });
46
46
  var discovery = new Map;
47
47
  var discoveryLock = Semaphore.makeUnsafe(1);
48
- function make9(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
48
+ function make10(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
49
49
  return define({
50
50
  id: "opencode.provider.ollama",
51
51
  effect: Effect.fn(function* (ctx) {
52
52
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
53
- const config = yield* Service65;
53
+ const config = yield* Service63;
54
54
  const source = { current: configured(yield* config.entries(), origin) };
55
55
  const loaded = { models: [], hash: "[]" };
56
56
  yield* ctx.integration.transform((integrations) => {
@@ -77,7 +77,7 @@ function make9(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
77
77
  });
78
78
  for (const item of loaded.models) {
79
79
  catalog.model.update(providerID, item.model, (model) => {
80
- model.modelID = ID15.make(item.model);
80
+ model.modelID = ID16.make(item.model);
81
81
  model.name = item.name || item.model;
82
82
  model.family = item.show.details?.family ? Family2.make(item.show.details.family) : item.details.family ? Family2.make(item.details.family) : undefined;
83
83
  model.capabilities = {
@@ -151,7 +151,7 @@ function make9(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
151
151
  })
152
152
  });
153
153
  }
154
- var OllamaPlugin2 = make9();
154
+ var OllamaPlugin2 = make10();
155
155
  function configured(entries, origin) {
156
156
  const settings = foldSettings2(entries, providerID, undefined);
157
157
  const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
@@ -170,4 +170,4 @@ function configured(entries, origin) {
170
170
  return { baseURL, apiKey, tagsEndpoint, showEndpoint: url.toString() };
171
171
  }
172
172
 
173
- export { make9, OllamaPlugin2 };
173
+ export { make10, OllamaPlugin2 };