@opencode/core 0.0.0-dev-19530 → 0.0.0-dev-19531

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 (783) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  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 +74 -74
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{model-y2bvvrzc.js → model-resolver-031kg769.js} +18 -18
  9. package/dist/chunks/{model-pqwf4bge.js → model-resolver-05k3a4yp.js} +2 -2
  10. package/dist/chunks/{model-4y66k410.js → model-resolver-0ajdgxne.js} +5 -5
  11. package/dist/chunks/{model-n7hjcbvg.js → model-resolver-0dy66kxe.js} +11 -11
  12. package/dist/chunks/{model-qa2mkktq.js → model-resolver-0fnjefvz.js} +39 -39
  13. package/dist/chunks/{model-35agz59w.js → model-resolver-0gaj4617.js} +6 -6
  14. package/dist/chunks/{model-atjxpbab.js → model-resolver-0gjxn4me.js} +37 -37
  15. package/dist/chunks/{model-99em0p16.js → model-resolver-0hxph87b.js} +8 -8
  16. package/dist/chunks/model-resolver-0mesazry.js +4 -0
  17. package/dist/chunks/{model-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
  18. package/dist/chunks/{model-0q0f95c6.js → model-resolver-0q0f95c6.js} +1 -1
  19. package/dist/chunks/{model-7m5f9412.js → model-resolver-0r684n0p.js} +8 -8
  20. package/dist/chunks/{model-3hdw1vhc.js → model-resolver-13h6pnmt.js} +53 -53
  21. package/dist/chunks/{model-yp2x3t23.js → model-resolver-1acjjqhc.js} +4 -4
  22. package/dist/chunks/{model-1dazxqgg.js → model-resolver-1dazxqgg.js} +2 -2
  23. package/dist/chunks/{model-v6a8s5gf.js → model-resolver-1j5g3f90.js} +32 -32
  24. package/dist/chunks/{model-5kqd1r0d.js → model-resolver-1snz0n3v.js} +91 -91
  25. package/dist/chunks/{model-33w4ejhs.js → model-resolver-1ygqh575.js} +6 -6
  26. package/dist/chunks/{model-0m04t0a0.js → model-resolver-20erkkh9.js} +16 -16
  27. package/dist/chunks/{model-21r38tys.js → model-resolver-21r38tys.js} +1 -1
  28. package/dist/chunks/{model-6h73sxmp.js → model-resolver-2402vzrj.js} +5 -5
  29. package/dist/chunks/{model-y7j7ndb6.js → model-resolver-28gfvtek.js} +47 -47
  30. package/dist/chunks/{model-z63w68vq.js → model-resolver-29x78va6.js} +6 -6
  31. package/dist/chunks/{model-2a5m3afh.js → model-resolver-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{model-20355881.js → model-resolver-2rcpqfm0.js} +9 -9
  33. package/dist/chunks/{model-sxwk9xb8.js → model-resolver-2xbd7nbt.js} +22 -22
  34. package/dist/chunks/{model-hjejd8rj.js → model-resolver-33yp9811.js} +12 -12
  35. package/dist/chunks/{model-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
  36. package/dist/chunks/{model-9d3a58tj.js → model-resolver-3h8hqytd.js} +13 -13
  37. package/dist/chunks/{model-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{model-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
  39. package/dist/chunks/{model-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
  40. package/dist/chunks/{model-dnc4tg6k.js → model-resolver-4334gj7r.js} +8 -8
  41. package/dist/chunks/{model-se0t50fj.js → model-resolver-43thsgmw.js} +20 -20
  42. package/dist/chunks/{model-97mdmb9a.js → model-resolver-44xcyhkw.js} +20 -20
  43. package/dist/chunks/{model-3rqkssp8.js → model-resolver-4jk0qxj4.js} +6 -6
  44. package/dist/chunks/{model-219neeqh.js → model-resolver-4q81s1cb.js} +5 -5
  45. package/dist/chunks/{model-n649fndv.js → model-resolver-4s08xxae.js} +5 -5
  46. package/dist/chunks/{model-9q9jdv8e.js → model-resolver-4t19f8k2.js} +32 -32
  47. package/dist/chunks/{model-6vq97qmv.js → model-resolver-4v4bfvma.js} +5 -5
  48. package/dist/chunks/model-resolver-4v7qdvcn.js +18 -0
  49. package/dist/chunks/{model-whsrbek6.js → model-resolver-4xe2p835.js} +9 -9
  50. package/dist/chunks/{model-wbq0a8cf.js → model-resolver-52p5p480.js} +35 -35
  51. package/dist/chunks/{model-a1bz86dw.js → model-resolver-5c4hm403.js} +3 -3
  52. package/dist/chunks/{model-dq8fe4ed.js → model-resolver-5d4cs5xf.js} +11 -11
  53. package/dist/chunks/{model-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
  54. package/dist/chunks/{model-y5mrfvw4.js → model-resolver-5faec82q.js} +7 -7
  55. package/dist/chunks/{model-257a402r.js → model-resolver-5kh0wb3v.js} +13 -13
  56. package/dist/chunks/{model-xtd5dz6n.js → model-resolver-5s8kkgq1.js} +90 -90
  57. package/dist/chunks/{model-5t3nmthw.js → model-resolver-5t3nmthw.js} +2 -2
  58. package/dist/chunks/{model-yeqyw0z5.js → model-resolver-5z63511r.js} +9 -9
  59. package/dist/chunks/{model-vshq87yh.js → model-resolver-61b2qq6z.js} +29 -29
  60. package/dist/chunks/{model-bvha1vq7.js → model-resolver-65mwty8e.js} +7 -7
  61. package/dist/chunks/{model-669tq793.js → model-resolver-669tq793.js} +1 -1
  62. package/dist/chunks/{model-9n8nxpxn.js → model-resolver-66e7kvmh.js} +18 -18
  63. package/dist/chunks/{model-0artwwxx.js → model-resolver-6jswab00.js} +3 -3
  64. package/dist/chunks/{model-xzzk44db.js → model-resolver-6jzjxba3.js} +15 -15
  65. package/dist/chunks/{model-6msgmcgs.js → model-resolver-6msgmcgs.js} +1 -1
  66. package/dist/chunks/{model-9s353mxg.js → model-resolver-6n5283ys.js} +18 -18
  67. package/dist/chunks/{model-7pkhtfns.js → model-resolver-6yxmp89e.js} +14 -14
  68. package/dist/chunks/{model-jv3cv6p3.js → model-resolver-6ze89g9b.js} +10 -10
  69. package/dist/chunks/{model-71q4at8m.js → model-resolver-71q4at8m.js} +1 -1
  70. package/dist/chunks/{model-wycsdkc3.js → model-resolver-71t2waba.js} +11 -11
  71. package/dist/chunks/{model-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
  72. package/dist/chunks/{model-2k8khapm.js → model-resolver-7dqw4kz8.js} +5 -5
  73. package/dist/chunks/{model-phc8pspp.js → model-resolver-7xhhf2aw.js} +9 -9
  74. package/dist/chunks/{model-5c0f1prt.js → model-resolver-88sz8qcd.js} +4 -4
  75. package/dist/chunks/{model-8d7r5vzw.js → model-resolver-8d7r5vzw.js} +1 -1
  76. package/dist/chunks/{model-7y4pbgtc.js → model-resolver-8efzajgs.js} +12 -12
  77. package/dist/chunks/{model-35wynegs.js → model-resolver-8h4a5z95.js} +2 -2
  78. package/dist/chunks/{model-0cebr7hk.js → model-resolver-8nghd9xh.js} +4 -4
  79. package/dist/chunks/{model-czs7xmcn.js → model-resolver-8xp7je32.js} +15 -15
  80. package/dist/chunks/{model-jj5vypy3.js → model-resolver-9a40xa2n.js} +33 -33
  81. package/dist/chunks/{model-vtjb7z8s.js → model-resolver-9avrpg3p.js} +24 -24
  82. package/dist/chunks/{model-s0esgemt.js → model-resolver-9e3vcssh.js} +4 -4
  83. package/dist/chunks/{model-0247gmrw.js → model-resolver-9h8yyxwx.js} +16 -16
  84. package/dist/chunks/model-resolver-9heqp6jx.js +247 -0
  85. package/dist/chunks/{model-a6kqfaee.js → model-resolver-9s6q7dfh.js} +9 -9
  86. package/dist/chunks/{model-6jnybvqn.js → model-resolver-9tw56fnr.js} +9 -9
  87. package/dist/chunks/{model-5rgh8ask.js → model-resolver-9z5hcwep.js} +20 -20
  88. package/dist/chunks/{model-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
  89. package/dist/chunks/model-resolver-aed8g19c.js +26 -0
  90. package/dist/chunks/{model-6csep4d6.js → model-resolver-aeex8way.js} +24 -24
  91. package/dist/chunks/{model-bz2p45ry.js → model-resolver-aexrjf4q.js} +28 -28
  92. package/dist/chunks/{model-ncxt770z.js → model-resolver-afrwk4ch.js} +8 -8
  93. package/dist/chunks/{model-bv88jg6f.js → model-resolver-aryerr4z.js} +34 -34
  94. package/dist/chunks/{model-dn3t1y0q.js → model-resolver-atgag4yh.js} +41 -41
  95. package/dist/chunks/{model-1v6ba5ez.js → model-resolver-b0xvdmck.js} +13 -13
  96. package/dist/chunks/{model-b3t12aqp.js → model-resolver-b3wkxfg9.js} +1 -1
  97. package/dist/chunks/{model-ttzta52k.js → model-resolver-b5nae5wy.js} +32 -32
  98. package/dist/chunks/{model-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
  99. package/dist/chunks/{model-cq9pat89.js → model-resolver-b7pbz13w.js} +23 -23
  100. package/dist/chunks/{model-1cd9yk0n.js → model-resolver-bdv0prqb.js} +22 -22
  101. package/dist/chunks/{model-qfpa574x.js → model-resolver-bs3vba9y.js} +20 -20
  102. package/dist/chunks/{model-31jd4e8t.js → model-resolver-c4c5wrfd.js} +1 -1
  103. package/dist/chunks/{model-y7gn77t5.js → model-resolver-c68b4qab.js} +9 -9
  104. package/dist/chunks/{model-y7gk6gsz.js → model-resolver-cnr77sqv.js} +10 -10
  105. package/dist/chunks/{model-qbngxwj5.js → model-resolver-cpwgm14c.js} +24 -24
  106. package/dist/chunks/{model-6bsje7ws.js → model-resolver-csdaj16z.js} +3 -3
  107. package/dist/chunks/model-resolver-ctmnhs0f.js +462 -0
  108. package/dist/chunks/{model-v7bpw0rx.js → model-resolver-d0as5ky3.js} +16 -16
  109. package/dist/chunks/{model-vfqqz6ex.js → model-resolver-d8dbj37k.js} +9 -9
  110. package/dist/chunks/{model-nv5vn7qx.js → model-resolver-da6kr1wx.js} +2 -2
  111. package/dist/chunks/{model-ev82ehxs.js → model-resolver-ddd0tqrv.js} +27 -27
  112. package/dist/chunks/{model-vncycja5.js → model-resolver-dfe8djrf.js} +4 -4
  113. package/dist/chunks/{model-qwrxphsy.js → model-resolver-dfst59nt.js} +17 -17
  114. package/dist/chunks/{model-xkc587sw.js → model-resolver-dj2gndk9.js} +16 -16
  115. package/dist/chunks/{model-8p4f9s12.js → model-resolver-dj2t23y0.js} +2 -2
  116. package/dist/chunks/{model-p87gvwbv.js → model-resolver-dr6k78h1.js} +12 -12
  117. package/dist/chunks/{model-0sfsr3zt.js → model-resolver-drwkn14p.js} +24 -24
  118. package/dist/chunks/{model-jx3c22rf.js → model-resolver-dwe4spzd.js} +11 -11
  119. package/dist/chunks/{model-r0gpwmmm.js → model-resolver-e2tc44kv.js} +15 -15
  120. package/dist/chunks/{model-exatzf7p.js → model-resolver-e5z2yc0m.js} +14 -14
  121. package/dist/chunks/{model-f1zva5d5.js → model-resolver-e9wvc5tf.js} +5 -5
  122. package/dist/chunks/{model-bya8prfn.js → model-resolver-ebbn7jdz.js} +8 -8
  123. package/dist/chunks/{model-sh0rasge.js → model-resolver-eqb5zhc6.js} +49 -49
  124. package/dist/chunks/{model-etq0c3wd.js → model-resolver-etq0c3wd.js} +1 -1
  125. package/dist/chunks/{model-8n9190v4.js → model-resolver-f486cjd7.js} +9 -9
  126. package/dist/chunks/{model-a9759q1q.js → model-resolver-fat0n13h.js} +6 -6
  127. package/dist/chunks/{model-bvg29jbq.js → model-resolver-fg61w092.js} +18 -18
  128. package/dist/chunks/{model-c5nvra9m.js → model-resolver-frynmqdf.js} +4 -4
  129. package/dist/chunks/{model-gkt6z8r9.js → model-resolver-fw6f7ywv.js} +17 -17
  130. package/dist/chunks/{model-fxbjtjnd.js → model-resolver-fxbjtjnd.js} +1 -1
  131. package/dist/chunks/{model-ps77swb3.js → model-resolver-fy0w211v.js} +3 -3
  132. package/dist/chunks/{model-6895yszx.js → model-resolver-fyekc6s2.js} +17 -17
  133. package/dist/chunks/{model-70d2s7af.js → model-resolver-fz9at2d6.js} +1 -1
  134. package/dist/chunks/{model-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
  135. package/dist/chunks/{model-n4m2mkxj.js → model-resolver-gha63455.js} +12 -12
  136. package/dist/chunks/{model-5tgjep30.js → model-resolver-gkdyp9ys.js} +6 -6
  137. package/dist/chunks/{model-t8na6qa3.js → model-resolver-gkytqtkj.js} +17 -17
  138. package/dist/chunks/{model-h03wrkyp.js → model-resolver-h03wrkyp.js} +2 -2
  139. package/dist/chunks/{model-5q82gfck.js → model-resolver-h2fnwfb0.js} +11 -11
  140. package/dist/chunks/{model-nncchp3m.js → model-resolver-h5knn3sc.js} +5 -5
  141. package/dist/chunks/{model-z9pwsk94.js → model-resolver-h6nde2e3.js} +15 -15
  142. package/dist/chunks/{model-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
  143. package/dist/chunks/{model-1gbs1kbt.js → model-resolver-h7dmbe3e.js} +9 -9
  144. package/dist/chunks/{model-cvtmmhw6.js → model-resolver-h8frrzh0.js} +1 -1
  145. package/dist/chunks/{model-cw6d4prj.js → model-resolver-hahgrcae.js} +16 -16
  146. package/dist/chunks/{model-f828m53h.js → model-resolver-hdnk95c8.js} +2 -2
  147. package/dist/chunks/{model-cebcabsx.js → model-resolver-hfkyrasj.js} +61 -61
  148. package/dist/chunks/{model-nhy5jxhy.js → model-resolver-hjt4xg1x.js} +4 -4
  149. package/dist/chunks/{model-zav06jzw.js → model-resolver-hn57h045.js} +4 -4
  150. package/dist/chunks/{model-2xrspd6r.js → model-resolver-j3h8c2cp.js} +22 -22
  151. package/dist/chunks/{model-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
  152. package/dist/chunks/{model-45fdndrg.js → model-resolver-j7867dn5.js} +11 -11
  153. package/dist/chunks/{model-f24vq1c7.js → model-resolver-j8b7kmqb.js} +27 -27
  154. package/dist/chunks/{model-paphc93g.js → model-resolver-j935v87r.js} +2 -2
  155. package/dist/chunks/{model-zdrvw4c2.js → model-resolver-jakagae6.js} +15 -15
  156. package/dist/chunks/{model-brp8zeym.js → model-resolver-jd00bmkr.js} +6 -6
  157. package/dist/chunks/{model-yt0fqk68.js → model-resolver-jwbqhvyy.js} +5 -5
  158. package/dist/chunks/{model-8e5vt1qx.js → model-resolver-jyfdqx07.js} +28 -28
  159. package/dist/chunks/{model-dwgpa5q5.js → model-resolver-k06qmaw9.js} +23 -23
  160. package/dist/chunks/{model-e5yeyj5b.js → model-resolver-k58qhvzp.js} +11 -11
  161. package/dist/chunks/{model-rr6fm4cb.js → model-resolver-kck439bj.js} +32 -32
  162. package/dist/chunks/{model-5nyvja88.js → model-resolver-kew454ha.js} +24 -24
  163. package/dist/chunks/{model-e758m3vy.js → model-resolver-kfz2kx3w.js} +12 -12
  164. package/dist/chunks/{model-kg06axw8.js → model-resolver-kg06axw8.js} +1 -1
  165. package/dist/chunks/{model-npevzfsy.js → model-resolver-knyfvgyf.js} +13 -13
  166. package/dist/chunks/{model-jerxsvsx.js → model-resolver-kp92jgaq.js} +31 -31
  167. package/dist/chunks/{model-ymca8mtq.js → model-resolver-kt2k2fvy.js} +16 -16
  168. package/dist/chunks/{model-cfpkc3c9.js → model-resolver-m0jqrx5p.js} +2 -2
  169. package/dist/chunks/{model-mdy2tqts.js → model-resolver-m9199dx3.js} +41 -41
  170. package/dist/chunks/{model-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
  171. package/dist/chunks/{model-19yq3b24.js → model-resolver-marnn1hp.js} +8 -8
  172. package/dist/chunks/{model-p2h53nt6.js → model-resolver-mb9syhn1.js} +26 -26
  173. package/dist/chunks/{model-wmf56hzh.js → model-resolver-mcdc48yx.js} +9 -9
  174. package/dist/chunks/{model-p52t23z3.js → model-resolver-mdenrfp6.js} +45 -45
  175. package/dist/chunks/{model-25gn6xf8.js → model-resolver-mfka0yjk.js} +8 -8
  176. package/dist/chunks/{model-s8bz6z4k.js → model-resolver-mgp54d0b.js} +5 -5
  177. package/dist/chunks/{model-mhkvc446.js → model-resolver-mhkvc446.js} +1 -1
  178. package/dist/chunks/{model-bya8x26g.js → model-resolver-mjvxm5h6.js} +8 -8
  179. package/dist/chunks/{model-91xeb72v.js → model-resolver-mn7ssvtj.js} +8 -8
  180. package/dist/chunks/{model-v5dkyp31.js → model-resolver-mtq6xxnx.js} +7 -7
  181. package/dist/chunks/{model-0snep097.js → model-resolver-mwmpf2dr.js} +21 -21
  182. package/dist/chunks/{model-aqjqj2ff.js → model-resolver-n03j43sk.js} +6 -6
  183. package/dist/chunks/{model-5b2dqtre.js → model-resolver-n2bk7ja5.js} +7 -7
  184. package/dist/chunks/{model-h56egzzg.js → model-resolver-n2dbyk7b.js} +4 -4
  185. package/dist/chunks/{model-vg018stg.js → model-resolver-n4d4r70p.js} +51 -51
  186. package/dist/chunks/{model-sgfa6f2r.js → model-resolver-n562g2hd.js} +4 -4
  187. package/dist/chunks/{model-tsfgabrd.js → model-resolver-nabxe85v.js} +42 -42
  188. package/dist/chunks/{model-q13p9eja.js → model-resolver-ndade498.js} +12 -12
  189. package/dist/chunks/{model-mz6ae2yf.js → model-resolver-nghrh7na.js} +1 -1
  190. package/dist/chunks/{model-0pb75hch.js → model-resolver-njysne83.js} +5 -5
  191. package/dist/chunks/{model-hyhy14jr.js → model-resolver-nn5tgv9e.js} +19 -19
  192. package/dist/chunks/{model-03y65m91.js → model-resolver-nv7590vc.js} +4 -4
  193. package/dist/chunks/{model-hxevvepb.js → model-resolver-nvsyq3ba.js} +60 -60
  194. package/dist/chunks/{model-2fwd9rb4.js → model-resolver-nw25ebmp.js} +13 -13
  195. package/dist/chunks/{model-3hf7z3yq.js → model-resolver-nwjtzbvw.js} +11 -11
  196. package/dist/chunks/{model-w5me5d90.js → model-resolver-p15qfr9z.js} +11 -11
  197. package/dist/chunks/{model-265kqrgy.js → model-resolver-p1pr2h1d.js} +1 -1
  198. package/dist/chunks/{model-zc27a7bm.js → model-resolver-p2vh9553.js} +4 -4
  199. package/dist/chunks/{model-yhq7b4d8.js → model-resolver-p6s3kjn1.js} +11 -11
  200. package/dist/chunks/{model-6kny798m.js → model-resolver-p96r38ce.js} +30 -30
  201. package/dist/chunks/{model-htza7hdd.js → model-resolver-p97yj8zx.js} +24 -24
  202. package/dist/chunks/{model-c0pa16pn.js → model-resolver-pch53j0k.js} +3 -3
  203. package/dist/chunks/{model-vze96k0n.js → model-resolver-pck3w1ab.js} +4 -4
  204. package/dist/chunks/{model-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
  205. package/dist/chunks/{model-91y7rpnn.js → model-resolver-pka8c3mw.js} +6 -6
  206. package/dist/chunks/{model-pknna89w.js → model-resolver-pknna89w.js} +1 -1
  207. package/dist/chunks/{model-1kcksn9e.js → model-resolver-pz6n093v.js} +32 -32
  208. package/dist/chunks/{model-cztasbnk.js → model-resolver-q78vsr09.js} +18 -18
  209. package/dist/chunks/{model-6rbveq4m.js → model-resolver-q8k6t814.js} +4 -4
  210. package/dist/chunks/{model-hq8zt1th.js → model-resolver-qfzde7bh.js} +6 -6
  211. package/dist/chunks/{model-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
  212. package/dist/chunks/{model-wb1tzt4d.js → model-resolver-qvq5ww91.js} +29 -29
  213. package/dist/chunks/{model-qrq421eh.js → model-resolver-r3aj5peb.js} +25 -25
  214. package/dist/chunks/{model-wwcafvtr.js → model-resolver-r5wr7fgd.js} +19 -19
  215. package/dist/chunks/{model-r9mregkx.js → model-resolver-r9mregkx.js} +2 -2
  216. package/dist/chunks/{model-677w9byw.js → model-resolver-rjxbe5xz.js} +7 -7
  217. package/dist/chunks/{model-zeh9ct20.js → model-resolver-rq775frq.js} +2 -2
  218. package/dist/chunks/{model-ajegdr06.js → model-resolver-rsj9vhs1.js} +27 -27
  219. package/dist/chunks/{model-3d6q6ejm.js → model-resolver-rwa5eky2.js} +32 -32
  220. package/dist/chunks/{model-p6sp61vg.js → model-resolver-s24p5rny.js} +36 -36
  221. package/dist/chunks/{model-yrznvahk.js → model-resolver-s4enseaf.js} +2 -2
  222. package/dist/chunks/{model-q44n8009.js → model-resolver-s6z2946v.js} +17 -17
  223. package/dist/chunks/{model-wavq5vqb.js → model-resolver-s95j2a00.js} +1 -1
  224. package/dist/chunks/{model-a5r6p83p.js → model-resolver-sbqaqa2h.js} +19 -19
  225. package/dist/chunks/{model-bajakh74.js → model-resolver-sdbkfcvv.js} +4 -4
  226. package/dist/chunks/{model-33n3bzdy.js → model-resolver-sdfkf7b9.js} +6 -6
  227. package/dist/chunks/{model-c179hq9v.js → model-resolver-sp6z5kbv.js} +37 -37
  228. package/dist/chunks/{model-w6tw9skw.js → model-resolver-sr987mfq.js} +11 -11
  229. package/dist/chunks/{model-a04ypazz.js → model-resolver-swjfbv5x.js} +37 -37
  230. package/dist/chunks/{model-t0x5rdq8.js → model-resolver-t0x5rdq8.js} +2 -2
  231. package/dist/chunks/{model-3w0fmcng.js → model-resolver-t2vpa3bp.js} +5 -5
  232. package/dist/chunks/{model-t550f9t1.js → model-resolver-t550f9t1.js} +1 -1
  233. package/dist/chunks/{model-znz7rtxh.js → model-resolver-t8cy7fff.js} +11 -11
  234. package/dist/chunks/{model-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
  235. package/dist/chunks/{model-89znhe33.js → model-resolver-tcezcvh9.js} +4 -4
  236. package/dist/chunks/{model-tdstcens.js → model-resolver-tdstcens.js} +1 -1
  237. package/dist/chunks/{model-tvtrv512.js → model-resolver-tvtrv512.js} +1 -1
  238. package/dist/chunks/{model-r0ztwh7r.js → model-resolver-txefqv94.js} +64 -64
  239. package/dist/chunks/{model-m7bfq9wr.js → model-resolver-txnj3dzg.js} +7 -7
  240. package/dist/chunks/{model-0d16ff4w.js → model-resolver-txtwx9zc.js} +26 -26
  241. package/dist/chunks/{model-ff0svapt.js → model-resolver-tyqkzprt.js} +2 -2
  242. package/dist/chunks/{model-px2sqpay.js → model-resolver-tyswbbjp.js} +23 -23
  243. package/dist/chunks/{model-e6hmchc5.js → model-resolver-v5hpcsb0.js} +5 -5
  244. package/dist/chunks/{model-pwqcks32.js → model-resolver-v71jvb7r.js} +5 -5
  245. package/dist/chunks/{model-g3vfgj64.js → model-resolver-v8xf7pck.js} +22 -22
  246. package/dist/chunks/{model-6psebnbx.js → model-resolver-vb7d7sbc.js} +32 -32
  247. package/dist/chunks/{model-3ad4bd0a.js → model-resolver-vcrpr27f.js} +7 -7
  248. package/dist/chunks/{model-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
  249. package/dist/chunks/{model-bgtgk6cp.js → model-resolver-vq838htm.js} +9 -9
  250. package/dist/chunks/{model-qj8eh1ht.js → model-resolver-vsp1fds9.js} +21 -21
  251. package/dist/chunks/{model-vzcthcp8.js → model-resolver-vzcthcp8.js} +1 -1
  252. package/dist/chunks/{model-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{model-v4hmzr0r.js → model-resolver-w4zny49r.js} +8 -8
  254. package/dist/chunks/{model-wd87259q.js → model-resolver-wd87259q.js} +1 -1
  255. package/dist/chunks/{model-ayv404k4.js → model-resolver-wg7eakzt.js} +4 -4
  256. package/dist/chunks/{model-v0pkrfgq.js → model-resolver-wn02ky47.js} +11 -11
  257. package/dist/chunks/{model-nn17eg7m.js → model-resolver-wpv7jc2z.js} +22 -22
  258. package/dist/chunks/{model-dgdas7td.js → model-resolver-wq487jqz.js} +16 -16
  259. package/dist/chunks/{model-1f3wjap0.js → model-resolver-x0kc6c96.js} +23 -23
  260. package/dist/chunks/{model-x1ezjp6w.js → model-resolver-x1ezjp6w.js} +1 -1
  261. package/dist/chunks/{model-4mddsdbt.js → model-resolver-x21rsz6v.js} +13 -13
  262. package/dist/chunks/{model-sp8m6a9q.js → model-resolver-x8y7wgxd.js} +9 -9
  263. package/dist/chunks/{model-mwr2btvq.js → model-resolver-xhmq8qgk.js} +9 -9
  264. package/dist/chunks/{model-mkhznv56.js → model-resolver-xnbrvajn.js} +9 -9
  265. package/dist/chunks/{model-wgwrm75m.js → model-resolver-xsx6sc1v.js} +170 -170
  266. package/dist/chunks/{model-fvkgc8rm.js → model-resolver-y0vt1sxg.js} +10 -10
  267. package/dist/chunks/{model-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{model-jwcy2c2z.js → model-resolver-y71avatq.js} +4 -4
  269. package/dist/chunks/{model-mb2y4s57.js → model-resolver-yaga2gvt.js} +16 -16
  270. package/dist/chunks/{model-e4f6pw00.js → model-resolver-yjwqdqt2.js} +28 -28
  271. package/dist/chunks/{model-zm3pd5tb.js → model-resolver-ymbkr1tg.js} +43 -43
  272. package/dist/chunks/{model-yrhqyw5v.js → model-resolver-yrhqyw5v.js} +1 -1
  273. package/dist/chunks/{model-1crpa11v.js → model-resolver-yvegcnp8.js} +28 -28
  274. package/dist/chunks/{model-gv6a8nnw.js → model-resolver-yyb7tjpc.js} +2 -2
  275. package/dist/chunks/{model-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{model-j181hgc5.js → model-resolver-z1vbyafm.js} +7 -7
  277. package/dist/chunks/{model-6pnccst9.js → model-resolver-z6qpxre5.js} +23 -23
  278. package/dist/chunks/{model-pdy42dnd.js → model-resolver-z8pjpgj2.js} +29 -29
  279. package/dist/chunks/{model-c462van6.js → model-resolver-zaz4910g.js} +32 -32
  280. package/dist/chunks/{model-0s3pzcqz.js → model-resolver-zckvtzsb.js} +11 -11
  281. package/dist/chunks/{model-vf5jgz4g.js → model-resolver-zf9fe0vx.js} +40 -40
  282. package/dist/chunks/{model-gg3hj2sp.js → model-resolver-zjxwcf81.js} +22 -22
  283. package/dist/chunks/{model-a0mw1hja.js → model-resolver-zjzag8dm.js} +12 -12
  284. package/dist/chunks/{model-mtc9q228.js → model-resolver-zmhtgr1a.js} +31 -31
  285. package/dist/chunks/{model-r8x9m1qg.js → model-resolver-zpp9mfbs.js} +27 -27
  286. package/dist/chunks/{model-5akxe5k1.js → model-resolver-zqfm6xas.js} +5 -5
  287. package/dist/chunks/{model-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{model-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +9 -9
  291. package/dist/codemode/tool.js +2 -2
  292. package/dist/command.js +84 -84
  293. package/dist/config/discovery.js +80 -80
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +19 -19
  296. package/dist/config/plugin/agent.js +116 -116
  297. package/dist/config/plugin/command.js +208 -208
  298. package/dist/config/plugin/compaction.js +156 -156
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +118 -118
  301. package/dist/config/plugin/image.js +116 -116
  302. package/dist/config/plugin/instruction.js +86 -86
  303. package/dist/config/plugin/location-watcher.js +116 -116
  304. package/dist/config/plugin/mcp.js +125 -125
  305. package/dist/config/plugin/policy.js +115 -115
  306. package/dist/config/plugin/provider.js +114 -114
  307. package/dist/config/plugin/reference.js +118 -118
  308. package/dist/config/plugin/shell.js +117 -117
  309. package/dist/config/plugin/skill-file.js +98 -98
  310. package/dist/config/plugin/skill.js +135 -135
  311. package/dist/config/plugin/snapshot.js +116 -116
  312. package/dist/config/plugin/source.js +112 -112
  313. package/dist/config/plugin/tool-output.js +118 -118
  314. package/dist/config/plugin/websearch.js +114 -114
  315. package/dist/config/plugin/worktree.js +117 -117
  316. package/dist/config/variable.js +3 -3
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +120 -120
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +82 -82
  321. package/dist/database/database.js +71 -71
  322. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +15 -15
  326. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  329. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  337. package/dist/database/drizzle.js +16 -16
  338. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  339. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  340. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  341. package/dist/database/migration/20260225215848_workspace.js +1 -1
  342. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  343. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  344. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  345. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  346. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  347. package/dist/database/migration/20260323234822_events.js +1 -1
  348. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  349. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  350. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  351. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  352. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  353. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  354. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  355. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  356. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  357. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  358. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  359. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  360. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  361. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  362. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  363. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  364. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  365. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  366. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  367. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  368. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  369. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  370. package/dist/database/migration/20260611035744_credential.js +1 -1
  371. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  372. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  373. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  374. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  375. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  376. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  377. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  378. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  379. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  380. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  381. package/dist/database/migration/20260812213948_worktree.js +1 -1
  382. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  383. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  384. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  385. package/dist/database/migration.gen.js +48 -48
  386. package/dist/database/migration.js +50 -50
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +75 -75
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +362 -362
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +3 -3
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +89 -89
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +91 -91
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +1 -1
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +73 -73
  410. package/dist/file-access.js +100 -100
  411. package/dist/file-mutation.js +90 -90
  412. package/dist/file-retention.js +1 -1
  413. package/dist/file.js +1 -1
  414. package/dist/filesystem/fff.bun.js +2 -2
  415. package/dist/filesystem/fff.js +1 -1
  416. package/dist/filesystem/fff.node.js +2 -2
  417. package/dist/filesystem/fff.workerd.js +2 -2
  418. package/dist/filesystem/ignore.js +1 -1
  419. package/dist/filesystem/location-watcher-policy.js +2 -2
  420. package/dist/filesystem/location-watcher.js +221 -221
  421. package/dist/filesystem/protected.js +3 -3
  422. package/dist/filesystem/search.js +100 -100
  423. package/dist/filesystem/watcher-binding.js +3 -3
  424. package/dist/filesystem/watcher.js +15 -15
  425. package/dist/filesystem.js +103 -103
  426. package/dist/form.js +85 -85
  427. package/dist/formatter/builtins.js +2 -2
  428. package/dist/formatter.js +85 -85
  429. package/dist/generate.js +94 -94
  430. package/dist/git.js +5 -5
  431. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  432. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  433. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  435. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  437. package/dist/github-copilot/copilot-provider.js +17 -17
  438. package/dist/github-copilot/models.js +7 -7
  439. package/dist/github-copilot/openai-compatible-error.js +1 -1
  440. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  441. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  442. package/dist/github-copilot/responses/openai-error.js +1 -1
  443. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  444. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  445. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  446. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  447. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  450. package/dist/id/id.js +1 -1
  451. package/dist/image/photon.js +2 -2
  452. package/dist/image.js +6 -6
  453. package/dist/instance/service.js +5 -5
  454. package/dist/instance.js +353 -353
  455. package/dist/instruction-discovery.js +84 -84
  456. package/dist/instructions/builtins.js +83 -83
  457. package/dist/instructions/index.js +1 -1
  458. package/dist/integration/connection.js +1 -1
  459. package/dist/integration.js +85 -85
  460. package/dist/job.js +78 -78
  461. package/dist/kv/sql.js +2 -2
  462. package/dist/kv.js +72 -72
  463. package/dist/location-activity.js +132 -132
  464. package/dist/location-mutation.js +100 -100
  465. package/dist/location-service-map.js +82 -82
  466. package/dist/location-services.js +350 -350
  467. package/dist/location.js +85 -85
  468. package/dist/mcp/client.js +87 -87
  469. package/dist/mcp/index.js +104 -104
  470. package/dist/mcp/instructions.js +123 -123
  471. package/dist/mcp/oauth.js +3 -3
  472. package/dist/mcp/stdio.js +86 -86
  473. package/dist/mime.js +1 -1
  474. package/dist/modal/models.js +7 -7
  475. package/dist/model-resolver.js +87 -87
  476. package/dist/model.js +10 -10
  477. package/dist/models-dev.js +87 -87
  478. package/dist/oauth/page.js +1 -1
  479. package/dist/permission/saved.js +79 -79
  480. package/dist/permission/sql.js +5 -5
  481. package/dist/permission.js +111 -111
  482. package/dist/persistent-pty/binary.bun.js +1 -1
  483. package/dist/persistent-pty/daemon.js +1 -1
  484. package/dist/persistent-pty/index.js +87 -87
  485. package/dist/persistent-pty/pty-binding.js +1 -1
  486. package/dist/persistent-pty.js +74 -74
  487. package/dist/plugin/agent.js +98 -98
  488. package/dist/plugin/command.js +95 -95
  489. package/dist/plugin/hooks.js +5 -5
  490. package/dist/plugin/host.js +214 -214
  491. package/dist/plugin/instance.js +5 -5
  492. package/dist/plugin/internal.js +324 -324
  493. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  494. package/dist/plugin/models-dev.js +76 -76
  495. package/dist/plugin/module.js +5 -5
  496. package/dist/plugin/optimize.js +2 -2
  497. package/dist/plugin/plan.js +98 -98
  498. package/dist/plugin/promise.js +1 -1
  499. package/dist/plugin/provider/alibaba.js +2 -2
  500. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  501. package/dist/plugin/provider/azure.js +119 -119
  502. package/dist/plugin/provider/cerebras.js +2 -2
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +115 -115
  507. package/dist/plugin/provider/digitalocean.js +80 -80
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/gateway.js +2 -2
  511. package/dist/plugin/provider/github-copilot.js +81 -81
  512. package/dist/plugin/provider/gitlab.js +3 -3
  513. package/dist/plugin/provider/google-vertex.js +2 -2
  514. package/dist/plugin/provider/kilo.js +2 -2
  515. package/dist/plugin/provider/llmgateway.js +77 -77
  516. package/dist/plugin/provider/lmstudio.js +116 -116
  517. package/dist/plugin/provider/modal.js +80 -80
  518. package/dist/plugin/provider/nvidia.js +2 -2
  519. package/dist/plugin/provider/ollama.js +116 -116
  520. package/dist/plugin/provider/openai-compatible.js +1 -1
  521. package/dist/plugin/provider/openai.js +79 -79
  522. package/dist/plugin/provider/opencode.js +80 -80
  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 +77 -77
  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 +118 -118
  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 +116 -116
  532. package/dist/plugin/provider/xai.js +78 -78
  533. package/dist/plugin/provider/zenmux.js +2 -2
  534. package/dist/plugin/provider.js +157 -157
  535. package/dist/plugin/sdk.js +73 -73
  536. package/dist/plugin/service.js +3 -3
  537. package/dist/plugin/skill.js +134 -134
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +341 -341
  540. package/dist/plugin/update.js +6 -6
  541. package/dist/plugin/variant.js +4 -4
  542. package/dist/plugin/vcs/git.js +83 -83
  543. package/dist/plugin/vcs/hg.js +83 -83
  544. package/dist/plugin/warming.js +113 -113
  545. package/dist/plugin/websearch/exa.js +5 -5
  546. package/dist/plugin/websearch/firecrawl.js +8 -8
  547. package/dist/plugin/websearch/index.js +9 -9
  548. package/dist/plugin/websearch/mcp.js +4 -4
  549. package/dist/plugin/websearch/parallel.js +8 -8
  550. package/dist/plugin/websearch/tavily.js +6 -6
  551. package/dist/plugin/websearch/tinyfish.js +8 -8
  552. package/dist/plugin.js +225 -225
  553. package/dist/project/schema.js +6 -6
  554. package/dist/project/sql.js +4 -4
  555. package/dist/project.js +86 -86
  556. package/dist/provider.js +5 -5
  557. package/dist/pty/protocol.js +1 -1
  558. package/dist/pty/schema.js +3 -3
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +95 -95
  561. package/dist/reference/instructions.js +85 -85
  562. package/dist/reference.js +87 -87
  563. package/dist/repository-cache.js +77 -77
  564. package/dist/repository.js +3 -3
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +94 -94
  567. package/dist/rpc.js +80 -80
  568. package/dist/schema.js +1 -1
  569. package/dist/session/command.js +73 -73
  570. package/dist/session/compaction.js +128 -128
  571. package/dist/session/context.js +148 -148
  572. package/dist/session/environment.js +5 -5
  573. package/dist/session/error.js +7 -7
  574. package/dist/session/event.js +1 -1
  575. package/dist/session/execution/restart.js +220 -220
  576. package/dist/session/execution.js +125 -125
  577. package/dist/session/generate.js +149 -149
  578. package/dist/session/history.js +15 -15
  579. package/dist/session/inbox.js +89 -89
  580. package/dist/session/info.js +3 -3
  581. package/dist/session/instruction-entry.js +78 -78
  582. package/dist/session/instruction-state.js +8 -8
  583. package/dist/session/instructions.js +93 -93
  584. package/dist/session/message-updater.js +4 -4
  585. package/dist/session/message.js +1 -1
  586. package/dist/session/model-request.js +114 -114
  587. package/dist/session/model-transport.js +9 -9
  588. package/dist/session/move.js +127 -127
  589. package/dist/session/projector.js +85 -85
  590. package/dist/session/prompt.js +101 -101
  591. package/dist/session/provider-context.js +3 -3
  592. package/dist/session/revert.js +86 -86
  593. package/dist/session/run-coordinator.js +3 -3
  594. package/dist/session/runner/index.js +3 -3
  595. package/dist/session/runner/llm.js +226 -226
  596. package/dist/session/runner/max-steps.js +1 -1
  597. package/dist/session/runner/model.js +87 -87
  598. package/dist/session/runner/publish-llm-event.js +3 -3
  599. package/dist/session/runner/retry.js +109 -109
  600. package/dist/session/runner/step.js +120 -120
  601. package/dist/session/runner/to-llm-message.js +2 -2
  602. package/dist/session/schema.js +5 -5
  603. package/dist/session/session.js +170 -170
  604. package/dist/session/shell.js +132 -132
  605. package/dist/session/skill.js +99 -99
  606. package/dist/session/sql.js +5 -5
  607. package/dist/session/stats.js +72 -72
  608. package/dist/session/store.js +86 -86
  609. package/dist/session/subagent-completion.js +1 -1
  610. package/dist/session/subagent-job.js +204 -204
  611. package/dist/session/system-prompt.js +3 -3
  612. package/dist/session/title.js +148 -148
  613. package/dist/session/to-session-error.js +108 -108
  614. package/dist/session/transfer.js +217 -217
  615. package/dist/session/usage.js +1 -1
  616. package/dist/session.js +214 -214
  617. package/dist/shell/parse.js +6 -6
  618. package/dist/shell/result.js +1 -1
  619. package/dist/shell/scan.js +1 -1
  620. package/dist/shell/select.js +13 -13
  621. package/dist/shell.js +134 -134
  622. package/dist/skill/discovery.js +6 -6
  623. package/dist/skill/instructions.js +103 -103
  624. package/dist/skill.js +104 -104
  625. package/dist/snapshot.js +89 -89
  626. package/dist/state.js +1 -1
  627. package/dist/tool/html-markdown.js +1 -1
  628. package/dist/tool/http-body.js +1 -1
  629. package/dist/tool/mcp.js +120 -120
  630. package/dist/tool/plugin/edit.js +116 -116
  631. package/dist/tool/plugin/file-diff.js +1 -1
  632. package/dist/tool/plugin/glob.js +119 -119
  633. package/dist/tool/plugin/grep.js +121 -121
  634. package/dist/tool/plugin/opencode.js +3 -3
  635. package/dist/tool/plugin/patch.js +116 -116
  636. package/dist/tool/plugin/question.js +99 -99
  637. package/dist/tool/plugin/read.js +122 -122
  638. package/dist/tool/plugin/shell.js +211 -211
  639. package/dist/tool/plugin/skill.js +109 -109
  640. package/dist/tool/plugin/subagent.js +215 -215
  641. package/dist/tool/plugin/webfetch.js +106 -106
  642. package/dist/tool/plugin/websearch.js +108 -108
  643. package/dist/tool/plugin/write.js +118 -118
  644. package/dist/tool/read-filesystem.js +97 -97
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +8 -8
  647. package/dist/tool.js +13 -13
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/iife.js +1 -1
  651. package/dist/util/lazy.js +1 -1
  652. package/dist/util/slug.js +1 -1
  653. package/dist/util/token.js +1 -1
  654. package/dist/util/which.js +1 -1
  655. package/dist/util/wildcard.js +1 -1
  656. package/dist/v1/config/agent.js +7 -7
  657. package/dist/v1/config/attachment.js +4 -4
  658. package/dist/v1/config/command.js +5 -5
  659. package/dist/v1/config/config.js +16 -16
  660. package/dist/v1/config/error.js +4 -4
  661. package/dist/v1/config/formatter.js +5 -5
  662. package/dist/v1/config/layout.js +1 -1
  663. package/dist/v1/config/lsp.js +5 -5
  664. package/dist/v1/config/mcp.js +4 -4
  665. package/dist/v1/config/migrate.js +4 -4
  666. package/dist/v1/config/permission.js +7 -7
  667. package/dist/v1/config/plugin.js +3 -3
  668. package/dist/v1/config/provider-options.js +1 -1
  669. package/dist/v1/config/provider.js +4 -4
  670. package/dist/v1/config/server.js +2 -2
  671. package/dist/v1/config/skills.js +3 -3
  672. package/dist/v1/permission.js +1 -1
  673. package/dist/vcs/patch.js +1 -1
  674. package/dist/vcs.js +86 -86
  675. package/dist/websearch.js +81 -81
  676. package/dist/wellknown/plugin.js +75 -75
  677. package/dist/wellknown.js +78 -78
  678. package/dist/workspace/driver.js +5 -5
  679. package/dist/workspace/sql.js +1 -1
  680. package/dist/workspace.js +79 -79
  681. package/dist/worktree/directory.js +2 -2
  682. package/dist/worktree/git.js +7 -7
  683. package/dist/worktree/refresh.js +342 -342
  684. package/dist/worktree/sql.js +5 -5
  685. package/dist/worktree.js +92 -92
  686. package/package.json +8 -8
  687. package/dist/chunks/model-5hac0djz.js +0 -462
  688. package/dist/chunks/model-gbadjzag.js +0 -4
  689. package/dist/chunks/model-nnzt82h0.js +0 -26
  690. package/dist/chunks/model-phz3h32g.js +0 -18
  691. package/dist/chunks/model-qj7q8b1b.js +0 -247
  692. /package/dist/chunks/{model-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
  693. /package/dist/chunks/{model-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
  694. /package/dist/chunks/{model-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
  695. /package/dist/chunks/{model-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
  696. /package/dist/chunks/{model-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
  697. /package/dist/chunks/{model-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
  698. /package/dist/chunks/{model-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
  699. /package/dist/chunks/{model-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
  700. /package/dist/chunks/{model-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
  701. /package/dist/chunks/{model-3asan66x.js → model-resolver-3asan66x.js} +0 -0
  702. /package/dist/chunks/{model-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{model-3w5fmr99.js → model-resolver-3w5fmr99.js} +0 -0
  704. /package/dist/chunks/{model-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
  705. /package/dist/chunks/{model-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
  706. /package/dist/chunks/{model-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
  707. /package/dist/chunks/{model-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
  708. /package/dist/chunks/{model-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
  709. /package/dist/chunks/{model-53557ph1.js → model-resolver-53557ph1.js} +0 -0
  710. /package/dist/chunks/{model-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
  711. /package/dist/chunks/{model-6prwharc.js → model-resolver-6prwharc.js} +0 -0
  712. /package/dist/chunks/{model-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
  713. /package/dist/chunks/{model-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
  714. /package/dist/chunks/{model-822emrt2.js → model-resolver-822emrt2.js} +0 -0
  715. /package/dist/chunks/{model-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
  716. /package/dist/chunks/{model-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
  717. /package/dist/chunks/{model-922hggd3.js → model-resolver-922hggd3.js} +0 -0
  718. /package/dist/chunks/{model-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
  719. /package/dist/chunks/{model-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
  720. /package/dist/chunks/{model-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
  721. /package/dist/chunks/{model-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
  722. /package/dist/chunks/{model-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
  723. /package/dist/chunks/{model-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
  724. /package/dist/chunks/{model-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
  725. /package/dist/chunks/{model-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
  726. /package/dist/chunks/{model-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
  727. /package/dist/chunks/{model-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
  728. /package/dist/chunks/{model-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
  729. /package/dist/chunks/{model-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
  730. /package/dist/chunks/{model-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
  731. /package/dist/chunks/{model-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
  732. /package/dist/chunks/{model-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
  733. /package/dist/chunks/{model-df08tz66.js → model-resolver-df08tz66.js} +0 -0
  734. /package/dist/chunks/{model-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
  735. /package/dist/chunks/{model-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
  736. /package/dist/chunks/{model-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
  737. /package/dist/chunks/{model-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
  738. /package/dist/chunks/{model-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
  739. /package/dist/chunks/{model-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
  740. /package/dist/chunks/{model-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
  741. /package/dist/chunks/{model-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
  742. /package/dist/chunks/{model-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
  743. /package/dist/chunks/{model-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
  744. /package/dist/chunks/{model-fxgpk5d8.js → model-resolver-fxgpk5d8.js} +0 -0
  745. /package/dist/chunks/{model-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
  746. /package/dist/chunks/{model-g86h250q.js → model-resolver-g86h250q.js} +0 -0
  747. /package/dist/chunks/{model-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
  748. /package/dist/chunks/{model-gftt206x.js → model-resolver-gftt206x.js} +0 -0
  749. /package/dist/chunks/{model-hjbc5kem.js → model-resolver-hjbc5kem.js} +0 -0
  750. /package/dist/chunks/{model-hk9envan.js → model-resolver-hk9envan.js} +0 -0
  751. /package/dist/chunks/{model-hrnqkpcd.js → model-resolver-hrnqkpcd.js} +0 -0
  752. /package/dist/chunks/{model-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
  753. /package/dist/chunks/{model-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
  754. /package/dist/chunks/{model-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{model-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{model-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{model-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
  758. /package/dist/chunks/{model-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
  759. /package/dist/chunks/{model-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
  760. /package/dist/chunks/{model-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
  761. /package/dist/chunks/{model-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
  762. /package/dist/chunks/{model-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
  763. /package/dist/chunks/{model-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
  764. /package/dist/chunks/{model-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
  765. /package/dist/chunks/{model-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
  766. /package/dist/chunks/{model-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
  767. /package/dist/chunks/{model-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
  768. /package/dist/chunks/{model-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
  769. /package/dist/chunks/{model-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
  770. /package/dist/chunks/{model-sk3qaz4a.js → model-resolver-sk3qaz4a.js} +0 -0
  771. /package/dist/chunks/{model-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
  772. /package/dist/chunks/{model-twg0f83k.js → model-resolver-twg0f83k.js} +0 -0
  773. /package/dist/chunks/{model-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
  774. /package/dist/chunks/{model-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
  775. /package/dist/chunks/{model-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
  776. /package/dist/chunks/{model-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
  777. /package/dist/chunks/{model-x61499pn.js → model-resolver-x61499pn.js} +0 -0
  778. /package/dist/chunks/{model-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
  779. /package/dist/chunks/{model-y8cydn3q.js → model-resolver-y8cydn3q.js} +0 -0
  780. /package/dist/chunks/{model-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
  781. /package/dist/chunks/{model-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
  782. /package/dist/chunks/{model-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
  783. /package/dist/chunks/{model-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
@@ -1,45 +1,45 @@
1
1
  import {
2
- Service73,
3
- node77
4
- } from "./model-v7bpw0rx.js";
2
+ Service79,
3
+ node84
4
+ } from "./model-resolver-d0as5ky3.js";
5
5
  import {
6
6
  create3
7
- } from "./model-kg06axw8.js";
7
+ } from "./model-resolver-kg06axw8.js";
8
8
  import {
9
9
  __export
10
- } from "./model-9rqn6x4v.js";
10
+ } from "./model-resolver-9rqn6x4v.js";
11
11
 
12
12
  // src/agent.ts
13
- var exports_agent4 = {};
14
- __export(exports_agent4, {
15
- Agent: () => exports_agent4,
13
+ var exports_agent3 = {};
14
+ __export(exports_agent3, {
15
+ Agent: () => exports_agent3,
16
16
  Color: () => Color2,
17
- Event: () => Event16,
18
- ID: () => ID11,
19
- Info: () => Info25,
17
+ Event: () => Event12,
18
+ ID: () => ID9,
19
+ Info: () => Info11,
20
20
  Name: () => Name3,
21
- Service: () => Service61,
21
+ Service: () => Service51,
22
22
  defaultID: () => defaultID2,
23
- node: () => node64
23
+ node: () => node55
24
24
  });
25
25
  import path from "path";
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
27
27
  import { Array, Context, Effect, Layer } from "effect";
28
28
  import { Agent } from "@opencode/schema/agent";
29
29
  import { Global } from "@opencode/util/global";
30
- import { Event as Event16 } from "@opencode/schema/agent";
30
+ import { Event as Event12 } from "@opencode/schema/agent";
31
31
  var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
32
32
  var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
33
- var ID11 = Agent.ID;
33
+ var ID9 = Agent.ID;
34
34
  var Name3 = Agent.Name;
35
- var defaultID2 = ID11.make("build");
35
+ var defaultID2 = ID9.make("build");
36
36
  var Color2 = Agent.Color;
37
- var Info25 = Agent.Info;
37
+ var Info11 = Agent.Info;
38
38
 
39
- class Service61 extends Context.Service()("@opencode/Agent") {
39
+ class Service51 extends Context.Service()("@opencode/Agent") {
40
40
  }
41
- var layer = Layer.effect(Service61, Effect.gen(function* () {
42
- const bus = yield* Service73;
41
+ var layer = Layer.effect(Service51, Effect.gen(function* () {
42
+ const bus = yield* Service79;
43
43
  const global = yield* Global.Service;
44
44
  const permissions = [
45
45
  { action: "external_directory", resource: SHELL_OUTPUT_GLOB(global.data), effect: "allow" },
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
57
57
  editor.default = id;
58
58
  },
59
59
  update: (id, fn) => {
60
- const defaults = Info25.default(id);
60
+ const defaults = Info11.default(id);
61
61
  const current = editor.agents.get(id) ?? {
62
62
  ...defaults,
63
63
  permissions: [...defaults.permissions, ...permissions]
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
79
79
  const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
80
80
  if (configured)
81
81
  return configured;
82
- const build = selectable(data.agents.get(ID11.make("build")));
82
+ const build = selectable(data.agents.get(ID9.make("build")));
83
83
  if (build)
84
84
  return build;
85
85
  for (const agent of data.agents.values()) {
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
88
88
  return fallback;
89
89
  }
90
90
  };
91
- return Service61.of({
91
+ return Service51.of({
92
92
  transform: state.transform,
93
93
  reload: state.reload,
94
94
  get: Effect.fn("Agent.get")(function* (id) {
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
96
96
  }),
97
97
  resolve: Effect.fnUntraced(function* (id) {
98
98
  if (id !== undefined)
99
- return state.get().agents.get(ID11.make(id));
99
+ return state.get().agents.get(ID9.make(id));
100
100
  return selectedDefault();
101
101
  }),
102
102
  select: Effect.fn("Agent.select")(function* (id) {
103
103
  if (id !== undefined) {
104
- const selected = ID11.make(id);
104
+ const selected = ID9.make(id);
105
105
  return { id: selected, info: state.get().agents.get(selected) };
106
106
  }
107
107
  const info = selectedDefault();
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
116
116
  })
117
117
  });
118
118
  }));
119
- var node64 = makeLocationNode({ service: Service61, layer, deps: [node77, Global.node] });
119
+ var node55 = makeLocationNode({ service: Service51, layer, deps: [node84, Global.node] });
120
120
 
121
- export { ID11, Name3, defaultID2, Color2, Info25, Service61, node64, exports_agent4, Event16 };
121
+ export { ID9, Name3, defaultID2, Color2, Info11, Service51, node55, exports_agent3, Event12 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./model-9rqn6x4v.js";
3
+ } from "./model-resolver-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/skills.ts
6
6
  var exports_skills = {};
7
7
  __export(exports_skills, {
8
8
  ConfigSkillsV1: () => exports_skills,
9
- Info: () => Info14
9
+ Info: () => Info17
10
10
  });
11
11
  import { Schema } from "effect";
12
- var Info14 = Schema.Struct({
12
+ var Info17 = Schema.Struct({
13
13
  paths: Schema.optional(Schema.Array(Schema.String)).annotate({
14
14
  description: "Additional paths to skill folders"
15
15
  }),
@@ -18,4 +18,4 @@ var Info14 = Schema.Struct({
18
18
  })
19
19
  });
20
20
 
21
- export { Info14, exports_skills };
21
+ export { Info17, exports_skills };
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service70,
3
- node74
4
- } from "./model-dn3t1y0q.js";
2
+ Service76,
3
+ node81
4
+ } from "./model-resolver-atgag4yh.js";
5
5
  import {
6
6
  __export
7
- } from "./model-9rqn6x4v.js";
7
+ } from "./model-resolver-9rqn6x4v.js";
8
8
 
9
9
  // src/location.ts
10
10
  var exports_location = {};
11
11
  __export(exports_location, {
12
- Info: () => Info29,
12
+ Info: () => Info30,
13
13
  Location: () => exports_location,
14
- Ref: () => Ref3,
15
- Service: () => Service69,
14
+ Ref: () => Ref4,
15
+ Service: () => Service75,
16
16
  boundNode: () => boundNode2,
17
- node: () => node73,
17
+ node: () => node80,
18
18
  response: () => response2
19
19
  });
20
20
  import { Context, Effect, Layer } from "effect";
21
- import { Info as Info29, Ref as Ref3, response as response2 } from "@opencode/schema/location";
21
+ import { Info as Info30, Ref as Ref4, response as response2 } from "@opencode/schema/location";
22
22
  import { LayerNode } from "@opencode/util/effect/layer-node";
23
23
  import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
24
- class Service69 extends Context.Service()("@opencode/Location") {
24
+ class Service75 extends Context.Service()("@opencode/Location") {
25
25
  }
26
- var node73 = LayerNode.unbound(Service69, tags.values.location);
27
- var layer = (ref, options) => Layer.effect(Service69, Effect.gen(function* () {
28
- const project = yield* Service70;
26
+ var node80 = LayerNode.unbound(Service75, tags.values.location);
27
+ var layer = (ref, options) => Layer.effect(Service75, Effect.gen(function* () {
28
+ const project = yield* Service76;
29
29
  const resolved = yield* project.resolve(ref.directory, options);
30
- return Service69.of({
30
+ return Service75.of({
31
31
  directory: ref.directory,
32
32
  workspaceID: ref.workspaceID,
33
33
  project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
@@ -35,9 +35,9 @@ var layer = (ref, options) => Layer.effect(Service69, Effect.gen(function* () {
35
35
  });
36
36
  }));
37
37
  var boundNode2 = (ref, options) => makeLocationNode({
38
- service: Service69,
38
+ service: Service75,
39
39
  layer: layer(ref, options),
40
- deps: [node74]
40
+ deps: [node81]
41
41
  });
42
42
 
43
- export { Info29, Ref3, response2, Service69, node73, boundNode2, exports_location };
43
+ export { Info30, Ref4, response2, Service75, node80, boundNode2, exports_location };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  useragent2
3
- } from "./model-3hf7z3yq.js";
3
+ } from "./model-resolver-nwjtzbvw.js";
4
4
  import {
5
- Service73
6
- } from "./model-v7bpw0rx.js";
5
+ Service79
6
+ } from "./model-resolver-d0as5ky3.js";
7
7
  import {
8
8
  OAuth3,
9
- Event17
10
- } from "./model-1kcksn9e.js";
9
+ Event18
10
+ } from "./model-resolver-pz6n093v.js";
11
11
  import {
12
- ID7,
12
+ ID12,
13
13
  MethodID2
14
- } from "./model-r8x9m1qg.js";
14
+ } from "./model-resolver-zpp9mfbs.js";
15
15
  import {
16
16
  success2,
17
17
  error2
18
- } from "./model-pjvnvgmy.js";
18
+ } from "./model-resolver-pjvnvgmy.js";
19
19
  import {
20
- ID18,
20
+ ID15,
21
21
  mergeOverlay2,
22
22
  mergeHeaders2
23
- } from "./model-33n3bzdy.js";
23
+ } from "./model-resolver-sdfkf7b9.js";
24
24
 
25
25
  // src/plugin/provider/openai.ts
26
26
  import { define } from "@opencode/plugin/effect/plugin";
@@ -44,7 +44,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
44
44
  }));
45
45
  var decodeClaims = Schema.decodeUnknownOption(Claims);
46
46
  var browser = (app) => ({
47
- integrationID: ID7.make("openai"),
47
+ integrationID: ID12.make("openai"),
48
48
  method: {
49
49
  id: browserMethodID,
50
50
  type: "oauth",
@@ -117,7 +117,7 @@ function addressInUse(error) {
117
117
  return "code" in error && error.code === "EADDRINUSE";
118
118
  }
119
119
  var headless = (app) => ({
120
- integrationID: ID7.make("openai"),
120
+ integrationID: ID12.make("openai"),
121
121
  method: {
122
122
  id: headlessMethodID,
123
123
  type: "oauth",
@@ -162,7 +162,7 @@ var headless = (app) => ({
162
162
  var OpenAIPlugin3 = define({
163
163
  id: "opencode.provider.openai",
164
164
  effect: Effect.fn(function* (ctx) {
165
- const bus = yield* Service73;
165
+ const bus = yield* Service79;
166
166
  const loading = Semaphore.makeUnsafe(1);
167
167
  let chatgpt;
168
168
  const load = Effect.fn("OpenAIPlugin.load")(function* () {
@@ -178,7 +178,7 @@ var OpenAIPlugin3 = define({
178
178
  });
179
179
  yield* load();
180
180
  yield* ctx.catalog.transform((evt) => {
181
- const item = evt.provider.get(ID18.openai);
181
+ const item = evt.provider.get(ID15.openai);
182
182
  if (!item)
183
183
  return;
184
184
  for (const model of item.models.values()) {
@@ -222,9 +222,9 @@ var OpenAIPlugin3 = define({
222
222
  evt.baseURL = codexBaseURL;
223
223
  evt.headers.originator = "opencode";
224
224
  evt.headers["session-id"] = evt.sessionID;
225
- }), { providerID: ID18.openai });
225
+ }), { providerID: ID15.openai });
226
226
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
227
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID7.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
227
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
228
228
  })
229
229
  });
230
230
  function headers(contentType, app) {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  absoluteColumn2,
3
3
  absoluteArrayColumn2
4
- } from "./model-6msgmcgs.js";
4
+ } from "./model-resolver-6msgmcgs.js";
5
5
  import {
6
6
  Timestamps2
7
- } from "./model-qfa1cgps.js";
7
+ } from "./model-resolver-qfa1cgps.js";
8
8
 
9
9
  // src/project/sql.ts
10
10
  import { isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./model-922hggd3.js";
3
+ } from "./model-resolver-922hggd3.js";
4
4
  import {
5
5
  Info7,
6
6
  ID5,
7
7
  Name2
8
- } from "./model-5rgh8ask.js";
8
+ } from "./model-resolver-9z5hcwep.js";
9
9
  import {
10
- Service42
11
- } from "./model-sh0rasge.js";
10
+ Service55
11
+ } from "./model-resolver-eqb5zhc6.js";
12
12
  import {
13
13
  __export
14
- } from "./model-9rqn6x4v.js";
14
+ } from "./model-resolver-9rqn6x4v.js";
15
15
 
16
16
  // src/plugin/skill.ts
17
- var exports_skill2 = {};
18
- __export(exports_skill2, {
17
+ var exports_skill = {};
18
+ __export(exports_skill, {
19
19
  OpencodeContent: () => OpencodeContent2,
20
20
  OpencodeDescription: () => OpencodeDescription2,
21
- Plugin: () => Plugin27,
21
+ Plugin: () => Plugin5,
22
22
  ReportContent: () => ReportContent2,
23
- SkillPlugin: () => exports_skill2
23
+ SkillPlugin: () => exports_skill
24
24
  });
25
25
  import { define } from "@opencode/plugin/effect/plugin";
26
26
  import { Effect } from "effect";
@@ -421,7 +421,7 @@ var OpencodeContent2 = opencode_default;
421
421
  var ReportContent2 = report_default;
422
422
  var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
423
423
  var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
424
- var Plugin27 = define({
424
+ var Plugin5 = define({
425
425
  id: "opencode.skill",
426
426
  effect: Effect.fn(function* (ctx) {
427
427
  const reportContent = yield* reportContentWithDiagnostics(ctx.app);
@@ -463,7 +463,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
463
463
  `);
464
464
  });
465
465
  var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
466
- const config = yield* Service42;
466
+ const config = yield* Service55;
467
467
  return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
468
468
  });
469
469
  function terminal() {
@@ -477,4 +477,4 @@ function shell() {
477
477
  return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
478
478
  }
479
479
 
480
- export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin27, exports_skill2 };
480
+ export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin5, exports_skill };
@@ -1,50 +1,50 @@
1
1
  import {
2
- Service43
3
- } from "./model-qbngxwj5.js";
2
+ Service56
3
+ } from "./model-resolver-cpwgm14c.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./model-922hggd3.js";
6
+ } from "./model-resolver-922hggd3.js";
7
7
  import {
8
- Service69
9
- } from "./model-qwrxphsy.js";
8
+ Service75
9
+ } from "./model-resolver-dfst59nt.js";
10
10
  import {
11
- Service42
12
- } from "./model-sh0rasge.js";
11
+ Service55
12
+ } from "./model-resolver-eqb5zhc6.js";
13
13
  import {
14
14
  DirectorySource2,
15
15
  UrlSource2,
16
- Source4
17
- } from "./model-5rgh8ask.js";
16
+ Source3
17
+ } from "./model-resolver-9z5hcwep.js";
18
18
  import {
19
- Service10
20
- } from "./model-6jnybvqn.js";
19
+ Service9
20
+ } from "./model-resolver-9tw56fnr.js";
21
21
  import {
22
22
  parse2
23
- } from "./model-sgfa6f2r.js";
23
+ } from "./model-resolver-n562g2hd.js";
24
24
  import {
25
25
  __export
26
- } from "./model-9rqn6x4v.js";
26
+ } from "./model-resolver-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/skill.ts
29
29
  var exports_skill3 = {};
30
30
  __export(exports_skill3, {
31
31
  ConfigSkillPlugin: () => exports_skill3,
32
- Plugin: () => Plugin35
32
+ Plugin: () => Plugin32
33
33
  });
34
34
  import { define } from "@opencode/plugin/effect/plugin";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
37
  import path from "path";
38
38
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
39
- var Plugin35 = define({
39
+ var Plugin32 = define({
40
40
  id: "opencode.config.skill",
41
41
  effect: Effect.fn(function* (ctx) {
42
- const config = yield* Service42;
43
- const discovery = yield* Service10;
42
+ const config = yield* Service55;
43
+ const discovery = yield* Service9;
44
44
  const fs = yield* FSUtil.Service;
45
45
  const global = yield* Global.Service;
46
- const location = yield* Service69;
47
- const watcher = yield* Service43;
46
+ const location = yield* Service75;
47
+ const watcher = yield* Service56;
48
48
  const loaded = {
49
49
  entries: yield* config.entries(),
50
50
  skills: []
@@ -87,7 +87,7 @@ var Plugin35 = define({
87
87
  const sources = () => {
88
88
  const result = [];
89
89
  const add = (source) => {
90
- if (result.some((item) => Source4.equals(item, source)))
90
+ if (result.some((item) => Source3.equals(item, source)))
91
91
  return;
92
92
  result.push(source);
93
93
  };
@@ -117,7 +117,7 @@ var Plugin35 = define({
117
117
  };
118
118
  const load = Effect.fn("ConfigSkillPlugin.load")(function* (source) {
119
119
  const directories = source.type === "directory" ? [source.path] : yield* discovery.pull(source.url).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to load skill source", {
120
- source: Source4.key(source),
120
+ source: Source3.key(source),
121
121
  cause
122
122
  }).pipe(Effect.as([]))));
123
123
  const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
@@ -146,7 +146,7 @@ var Plugin35 = define({
146
146
  }
147
147
  }
148
148
  yield* Effect.logDebug("skill source loaded", {
149
- source: Source4.key(source),
149
+ source: Source3.key(source),
150
150
  type: source.type,
151
151
  directories,
152
152
  skills: skills.map((skill) => skill.id)
@@ -165,7 +165,7 @@ var Plugin35 = define({
165
165
  if (file) {
166
166
  yield* Effect.logInfo("skills rescanned", {
167
167
  file,
168
- sources: current.map(Source4.key),
168
+ sources: current.map(Source3.key),
169
169
  skills: loaded.skills.map((skill) => skill.id)
170
170
  });
171
171
  }
@@ -181,4 +181,4 @@ var Plugin35 = define({
181
181
  })
182
182
  });
183
183
 
184
- export { Plugin35, exports_skill3 };
184
+ export { Plugin32, exports_skill3 };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  makeWithDefaults2
3
- } from "./model-aqjqj2ff.js";
3
+ } from "./model-resolver-n03j43sk.js";
4
4
  import {
5
5
  apply3
6
- } from "./model-ps77swb3.js";
6
+ } from "./model-resolver-fy0w211v.js";
7
7
  import {
8
8
  __export
9
- } from "./model-9rqn6x4v.js";
9
+ } from "./model-resolver-9rqn6x4v.js";
10
10
 
11
11
  // src/database/database.ts
12
12
  var exports_database = {};
@@ -14,11 +14,11 @@ __export(exports_database, {
14
14
  Database: () => exports_database,
15
15
  Options: () => Options11,
16
16
  Service: () => Service80,
17
- configured: () => configured12,
17
+ configured: () => configured13,
18
18
  configuredClient: () => configuredClient2,
19
- layer: () => layer25,
19
+ layer: () => layer26,
20
20
  layerFromClient: () => layerFromClient2,
21
- node: () => node84
21
+ node: () => node85
22
22
  });
23
23
  import { sqliteLayer, supportsForeignKeyToggle, supportsTuningPragmas } from "#sqlite";
24
24
  import { Context, Effect, Layer, Schema, Semaphore } from "effect";
@@ -56,7 +56,7 @@ function lockFor(filename) {
56
56
  locks.set(filename, lock);
57
57
  return lock;
58
58
  }
59
- function layer25(options = { path: ":memory:" }) {
59
+ function layer26(options = { path: ":memory:" }) {
60
60
  return Layer.unwrap(Effect.gen(function* () {
61
61
  const provide = (filename) => databaseLayer(filename === ":memory:" ? Semaphore.make(1) : Effect.succeed(lockFor(filename))).pipe(Layer.provide(sqliteLayer({ filename })));
62
62
  const filename = options.path ?? ":memory:";
@@ -67,8 +67,8 @@ function layer25(options = { path: ":memory:" }) {
67
67
  }));
68
68
  }
69
69
  var layerFromClient2 = databaseLayer(Semaphore.make(1));
70
- function configured12(options) {
71
- return makeGlobalNode({ service: Service80, layer: layer25(options), deps: [Global.node] });
70
+ function configured13(options) {
71
+ return makeGlobalNode({ service: Service80, layer: layer26(options), deps: [Global.node] });
72
72
  }
73
73
  function configuredClient2(client) {
74
74
  return makeGlobalNode({
@@ -77,6 +77,6 @@ function configuredClient2(client) {
77
77
  deps: [Global.node]
78
78
  });
79
79
  }
80
- var node84 = configured12({ path: ":memory:" });
80
+ var node85 = configured13({ path: ":memory:" });
81
81
 
82
- export { Options11, Service80, layer25, layerFromClient2, configured12, configuredClient2, node84, exports_database };
82
+ export { Options11, Service80, layer26, layerFromClient2, configured13, configuredClient2, node85, exports_database };
@@ -2,20 +2,20 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./model-922hggd3.js";
5
+ } from "./model-resolver-922hggd3.js";
6
6
  import {
7
- Service67,
8
- node70
9
- } from "./model-6csep4d6.js";
7
+ Service60,
8
+ node64
9
+ } from "./model-resolver-aeex8way.js";
10
10
  import {
11
11
  Content2
12
- } from "./model-6kny798m.js";
12
+ } from "./model-resolver-p96r38ce.js";
13
13
  import {
14
14
  detect2
15
- } from "./model-3smtnn6g.js";
15
+ } from "./model-resolver-3smtnn6g.js";
16
16
  import {
17
17
  __export
18
- } from "./model-9rqn6x4v.js";
18
+ } from "./model-resolver-9rqn6x4v.js";
19
19
 
20
20
  // src/tool/read-filesystem.ts
21
21
  var exports_read_filesystem = {};
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
33
33
  PageInput: () => PageInput2,
34
34
  PathKindError: () => PathKindError2,
35
35
  ReadToolFileSystem: () => exports_read_filesystem,
36
- Service: () => Service6,
36
+ Service: () => Service7,
37
37
  TextPage: () => TextPage2,
38
- node: () => node9,
38
+ node: () => node10,
39
39
  read: () => read2
40
40
  });
41
41
  import path from "path";
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
114
114
  }) {
115
115
  }
116
116
 
117
- class Service6 extends Context.Service()("@opencode/ReadToolFileSystem") {
117
+ class Service7 extends Context.Service()("@opencode/ReadToolFileSystem") {
118
118
  }
119
119
  var mimeType = (value) => lookup(value) || "application/octet-stream";
120
120
  var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
@@ -326,13 +326,13 @@ var nthNewline = (bytes, count) => {
326
326
  return index + 1;
327
327
  }
328
328
  };
329
- var layer = Layer.effect(Service6, Effect.gen(function* () {
330
- const environment = yield* Service67;
331
- return Service6.of({
329
+ var layer = Layer.effect(Service7, Effect.gen(function* () {
330
+ const environment = yield* Service60;
331
+ return Service7.of({
332
332
  list: environment.files.list,
333
333
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
334
334
  });
335
335
  }));
336
- var node9 = makeLocationNode({ service: Service6, layer, deps: [node70] });
336
+ var node10 = makeLocationNode({ service: Service7, layer, deps: [node64] });
337
337
 
338
- export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service6, read2, node9, exports_read_filesystem };
338
+ export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service7, read2, node10, exports_read_filesystem };