@opencode/core 0.0.0-dev-21102 → 0.0.0-dev-21103

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 (790) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{file-mutation-cyz4rac1.js → models-dev-00rnpv17.js} +15 -15
  8. package/dist/chunks/{file-mutation-egyn2h7c.js → models-dev-02whdv0x.js} +7 -7
  9. package/dist/chunks/{file-mutation-0a45r66e.js → models-dev-0jzbpbks.js} +10 -10
  10. package/dist/chunks/{file-mutation-bbsgqxz3.js → models-dev-0m54b994.js} +5 -5
  11. package/dist/chunks/{file-mutation-0vbcp93d.js → models-dev-0vbcp93d.js} +2 -2
  12. package/dist/chunks/{file-mutation-xqevex3y.js → models-dev-0ynsf4tc.js} +24 -24
  13. package/dist/chunks/{file-mutation-ze4328nr.js → models-dev-0z3sj3f1.js} +20 -20
  14. package/dist/chunks/{file-mutation-vx9tn3ww.js → models-dev-128c3rgk.js} +30 -30
  15. package/dist/chunks/{file-mutation-e236apxg.js → models-dev-12xa7c19.js} +3 -3
  16. package/dist/chunks/{file-mutation-rsk8b1r9.js → models-dev-14dmx2cw.js} +11 -11
  17. package/dist/chunks/{file-mutation-b81ahfje.js → models-dev-156fkcxj.js} +17 -17
  18. package/dist/chunks/{file-mutation-6qr2hpa3.js → models-dev-18j937x3.js} +22 -22
  19. package/dist/chunks/{file-mutation-z8abfd22.js → models-dev-18yjff17.js} +46 -46
  20. package/dist/chunks/{file-mutation-w31qasc1.js → models-dev-1bkg66xs.js} +9 -9
  21. package/dist/chunks/{file-mutation-tr1j93sp.js → models-dev-1cxrryk4.js} +11 -11
  22. package/dist/chunks/{file-mutation-86hr6tyx.js → models-dev-1hgqdnhq.js} +16 -16
  23. package/dist/chunks/{file-mutation-7f067m2e.js → models-dev-1jzxfm5p.js} +4 -4
  24. package/dist/chunks/{file-mutation-khmqacep.js → models-dev-1w2wqhfv.js} +4 -4
  25. package/dist/chunks/{file-mutation-a5cb3rxh.js → models-dev-20hxmkmy.js} +4 -4
  26. package/dist/chunks/{file-mutation-s9hmt3s5.js → models-dev-20qam0gr.js} +17 -17
  27. package/dist/chunks/{file-mutation-hvb11wac.js → models-dev-21x2tq4y.js} +8 -8
  28. package/dist/chunks/{file-mutation-6b5qcyht.js → models-dev-22zphmk5.js} +11 -11
  29. package/dist/chunks/{file-mutation-t3zmyd3w.js → models-dev-2466df47.js} +30 -30
  30. package/dist/chunks/{file-mutation-s7p2cp87.js → models-dev-2akqzpk3.js} +24 -24
  31. package/dist/chunks/{file-mutation-kna85462.js → models-dev-2cghqvnp.js} +16 -16
  32. package/dist/chunks/{file-mutation-eac7ec6d.js → models-dev-2da87w3a.js} +4 -4
  33. package/dist/chunks/{file-mutation-jxwk72h5.js → models-dev-2h747eb3.js} +1 -1
  34. package/dist/chunks/{file-mutation-fcrkznn8.js → models-dev-2k8khapm.js} +5 -5
  35. package/dist/chunks/{file-mutation-x5wrmng7.js → models-dev-2r1j4600.js} +11 -11
  36. package/dist/chunks/{file-mutation-r6twsrbc.js → models-dev-2z6przmx.js} +11 -11
  37. package/dist/chunks/{file-mutation-dpdqynsp.js → models-dev-30fcd0bd.js} +25 -25
  38. package/dist/chunks/{file-mutation-6gke9jm0.js → models-dev-337a4zhp.js} +22 -22
  39. package/dist/chunks/{file-mutation-sjsq85cv.js → models-dev-3c0dn32h.js} +17 -17
  40. package/dist/chunks/{file-mutation-kecerxq6.js → models-dev-3ej3pa37.js} +5 -5
  41. package/dist/chunks/{file-mutation-3fc6dm20.js → models-dev-3fc6dm20.js} +1 -1
  42. package/dist/chunks/{file-mutation-6et16byz.js → models-dev-3gmam5k1.js} +1 -1
  43. package/dist/chunks/{file-mutation-3hepkmqq.js → models-dev-3hepkmqq.js} +1 -1
  44. package/dist/chunks/{file-mutation-3hwn7j4h.js → models-dev-3hwn7j4h.js} +2 -2
  45. package/dist/chunks/{file-mutation-3xmz25ae.js → models-dev-3mkrw1ny.js} +6 -6
  46. package/dist/chunks/{file-mutation-3smtnn6g.js → models-dev-3smtnn6g.js} +1 -1
  47. package/dist/chunks/{file-mutation-3tvqynh2.js → models-dev-3tvqynh2.js} +1 -1
  48. package/dist/chunks/{file-mutation-addxnjmp.js → models-dev-3y377wv9.js} +4 -4
  49. package/dist/chunks/{file-mutation-3zsf4n22.js → models-dev-3zsf4n22.js} +1 -1
  50. package/dist/chunks/{file-mutation-v0es1rhs.js → models-dev-4434d9q2.js} +9 -9
  51. package/dist/chunks/{file-mutation-vhs7bsm8.js → models-dev-4enwrpjj.js} +85 -85
  52. package/dist/chunks/{file-mutation-bhja2czc.js → models-dev-4nhk0sdz.js} +31 -31
  53. package/dist/chunks/{file-mutation-54ma36ye.js → models-dev-54ma36ye.js} +1 -1
  54. package/dist/chunks/{file-mutation-4y2jths2.js → models-dev-55yh6xd3.js} +8 -8
  55. package/dist/chunks/{file-mutation-wrmx1wd8.js → models-dev-589cd944.js} +18 -18
  56. package/dist/chunks/{file-mutation-f8g1y2jp.js → models-dev-598djycs.js} +17 -17
  57. package/dist/chunks/{file-mutation-6n6k1agq.js → models-dev-5d1ww40v.js} +35 -35
  58. package/dist/chunks/{file-mutation-bh35h2a4.js → models-dev-5e6zhe75.js} +32 -32
  59. package/dist/chunks/{file-mutation-5m9w47nd.js → models-dev-5m9w47nd.js} +1 -1
  60. package/dist/chunks/{file-mutation-e3qxr5gk.js → models-dev-5qd3pb7m.js} +2 -2
  61. package/dist/chunks/{file-mutation-wyfpybhz.js → models-dev-5r77gv8f.js} +21 -21
  62. package/dist/chunks/{file-mutation-e80seqcp.js → models-dev-5rzwp8tz.js} +3 -3
  63. package/dist/chunks/{file-mutation-es633c8d.js → models-dev-5w6g5fb7.js} +23 -23
  64. package/dist/chunks/{file-mutation-zj0rakt4.js → models-dev-5ye64gj6.js} +24 -24
  65. package/dist/chunks/{file-mutation-v38qq1xq.js → models-dev-6aqh8tvj.js} +5 -5
  66. package/dist/chunks/{file-mutation-kvwqxrwb.js → models-dev-6bh82st2.js} +7 -7
  67. package/dist/chunks/{file-mutation-523zf4ny.js → models-dev-6efh69t8.js} +8 -8
  68. package/dist/chunks/{file-mutation-rg5vjzce.js → models-dev-6hxktd23.js} +15 -15
  69. package/dist/chunks/{file-mutation-yh7kjdpc.js → models-dev-6n4b0dsb.js} +9 -9
  70. package/dist/chunks/{file-mutation-44gm7dpy.js → models-dev-6qcm6qfy.js} +14 -14
  71. package/dist/chunks/{file-mutation-7apm8bw6.js → models-dev-6rqswetv.js} +15 -15
  72. package/dist/chunks/{file-mutation-6xb47vfp.js → models-dev-6xb47vfp.js} +1 -1
  73. package/dist/chunks/{file-mutation-1nbyw85c.js → models-dev-721yw7xq.js} +11 -11
  74. package/dist/chunks/{file-mutation-0kqmzpgj.js → models-dev-73g36y3t.js} +4 -4
  75. package/dist/chunks/{file-mutation-831szrnr.js → models-dev-73mn35m0.js} +50 -50
  76. package/dist/chunks/{file-mutation-775gj3j1.js → models-dev-775gj3j1.js} +2 -2
  77. package/dist/chunks/{file-mutation-7bmhse3q.js → models-dev-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{file-mutation-86qjnnqk.js → models-dev-7zkbhs7g.js} +11 -11
  79. package/dist/chunks/{file-mutation-ab17c7dx.js → models-dev-80edwejb.js} +10 -10
  80. package/dist/chunks/{file-mutation-qze06xta.js → models-dev-80ss7tj8.js} +29 -29
  81. package/dist/chunks/{file-mutation-84txncab.js → models-dev-84txncab.js} +1 -1
  82. package/dist/chunks/{file-mutation-fqtvmpfq.js → models-dev-8ank75fn.js} +8 -8
  83. package/dist/chunks/{file-mutation-8m6m0r52.js → models-dev-8m6m0r52.js} +1 -1
  84. package/dist/chunks/{file-mutation-z6szz84x.js → models-dev-8snydk6z.js} +17 -17
  85. package/dist/chunks/{file-mutation-91qna3x0.js → models-dev-91qna3x0.js} +3 -3
  86. package/dist/chunks/{file-mutation-5xeyj92j.js → models-dev-a6m5ge69.js} +2 -2
  87. package/dist/chunks/{file-mutation-y6mhz57t.js → models-dev-a89e0tac.js} +4 -4
  88. package/dist/chunks/{file-mutation-fg22vpm1.js → models-dev-a8wpgx3y.js} +18 -18
  89. package/dist/chunks/{file-mutation-mx9vqzsb.js → models-dev-acd4vkpt.js} +6 -6
  90. package/dist/chunks/{file-mutation-4ekscj25.js → models-dev-aj3rbcf1.js} +5 -5
  91. package/dist/chunks/{file-mutation-3nn61x4m.js → models-dev-anr4w7k8.js} +14 -14
  92. package/dist/chunks/{file-mutation-e3xy4e71.js → models-dev-ay3ezy6z.js} +8 -8
  93. package/dist/chunks/{file-mutation-emew9pj0.js → models-dev-b154dzx1.js} +16 -16
  94. package/dist/chunks/{file-mutation-ed01axam.js → models-dev-b7ykavmz.js} +3 -3
  95. package/dist/chunks/{file-mutation-bddt2pqj.js → models-dev-bf4gbvg4.js} +9 -9
  96. package/dist/chunks/{file-mutation-xjpvrdvq.js → models-dev-bgtk5hwy.js} +10 -10
  97. package/dist/chunks/{file-mutation-6axq4ad7.js → models-dev-byba8atx.js} +13 -13
  98. package/dist/chunks/{file-mutation-j58c5xyq.js → models-dev-bydnjh3t.js} +9 -9
  99. package/dist/chunks/{file-mutation-c1fqxshp.js → models-dev-c1fqxshp.js} +3 -3
  100. package/dist/chunks/{file-mutation-vx3jgdek.js → models-dev-c2sed5cq.js} +3 -3
  101. package/dist/chunks/{file-mutation-py1s82by.js → models-dev-c36fk44k.js} +9 -9
  102. package/dist/chunks/{file-mutation-2mq1h16s.js → models-dev-c765mh8b.js} +9 -9
  103. package/dist/chunks/{file-mutation-6qbfyeq4.js → models-dev-c8jf41fm.js} +3 -3
  104. package/dist/chunks/{file-mutation-ag0c998m.js → models-dev-cdq3zv6g.js} +28 -28
  105. package/dist/chunks/{file-mutation-jvf3yq6v.js → models-dev-ckf8nxjz.js} +4 -4
  106. package/dist/chunks/{file-mutation-p42hj8p8.js → models-dev-cmwkp3r5.js} +8 -8
  107. package/dist/chunks/{file-mutation-a0ngmh7v.js → models-dev-csdvkhge.js} +49 -49
  108. package/dist/chunks/{file-mutation-wq5jrx1v.js → models-dev-cww38x45.js} +46 -46
  109. package/dist/chunks/{file-mutation-qa3qhgw8.js → models-dev-d216944b.js} +7 -7
  110. package/dist/chunks/{file-mutation-78mmz05e.js → models-dev-d56qzfzb.js} +3 -3
  111. package/dist/chunks/{file-mutation-9cd83t7f.js → models-dev-damz5fwt.js} +15 -15
  112. package/dist/chunks/{file-mutation-v4r9rrgr.js → models-dev-dcpdnsk6.js} +20 -20
  113. package/dist/chunks/{file-mutation-np2zj9yp.js → models-dev-dfksb2wc.js} +31 -31
  114. package/dist/chunks/{file-mutation-6n4qjbg5.js → models-dev-dfxa828b.js} +26 -26
  115. package/dist/chunks/{file-mutation-dpkg50ah.js → models-dev-dpkg50ah.js} +1 -1
  116. package/dist/chunks/{file-mutation-dqxsqydv.js → models-dev-dqxsqydv.js} +1 -1
  117. package/dist/chunks/{file-mutation-tk14y25j.js → models-dev-dssbfrwz.js} +5 -5
  118. package/dist/chunks/{file-mutation-e7a0tnjd.js → models-dev-e76kv9r4.js} +10 -10
  119. package/dist/chunks/{file-mutation-k9rqwrkg.js → models-dev-eask04rd.js} +9 -9
  120. package/dist/chunks/{file-mutation-82s76q1y.js → models-dev-ecw21w1h.js} +4 -4
  121. package/dist/chunks/{file-mutation-eej6y6fw.js → models-dev-eej6y6fw.js} +2 -2
  122. package/dist/chunks/{file-mutation-ef5x83kb.js → models-dev-ef5x83kb.js} +1 -1
  123. package/dist/chunks/{file-mutation-atmskjxw.js → models-dev-em0gpvwq.js} +21 -21
  124. package/dist/chunks/{file-mutation-dhww0s6x.js → models-dev-f13580fy.js} +1 -1
  125. package/dist/chunks/{file-mutation-paerxhb0.js → models-dev-f2576r4s.js} +13 -13
  126. package/dist/chunks/{file-mutation-8xdknktr.js → models-dev-f4d0nvvk.js} +8 -8
  127. package/dist/chunks/{file-mutation-31cd2ng7.js → models-dev-f8068ewz.js} +3 -3
  128. package/dist/chunks/{file-mutation-wdbsdckj.js → models-dev-fad1fstv.js} +19 -19
  129. package/dist/chunks/{file-mutation-cng1644r.js → models-dev-fn7bcat4.js} +15 -15
  130. package/dist/chunks/{file-mutation-3zzm0etj.js → models-dev-fps60k0v.js} +24 -24
  131. package/dist/chunks/{file-mutation-zx5swzrd.js → models-dev-fs0ryakd.js} +9 -9
  132. package/dist/chunks/{file-mutation-kjd40bgk.js → models-dev-g686f6pq.js} +9 -9
  133. package/dist/chunks/{file-mutation-ettnqe8w.js → models-dev-g8h5p3ab.js} +7 -7
  134. package/dist/chunks/{file-mutation-h2m7wh0c.js → models-dev-g99py8zc.js} +8 -8
  135. package/dist/chunks/{file-mutation-gd4qta3r.js → models-dev-gd4qta3r.js} +1 -1
  136. package/dist/chunks/{file-mutation-yk3k7trf.js → models-dev-gh6hwtw0.js} +3 -3
  137. package/dist/chunks/{file-mutation-tjn2qjgm.js → models-dev-gj3abg68.js} +25 -25
  138. package/dist/chunks/{file-mutation-yzmsvx3n.js → models-dev-gm7mgs39.js} +13 -13
  139. package/dist/chunks/{file-mutation-34pqwryj.js → models-dev-gvc0pday.js} +28 -28
  140. package/dist/chunks/{file-mutation-m6078mdh.js → models-dev-gwj8012a.js} +40 -40
  141. package/dist/chunks/{file-mutation-bbzjnv7y.js → models-dev-h11j87t7.js} +31 -31
  142. package/dist/chunks/{file-mutation-h6vf3j39.js → models-dev-h6vf3j39.js} +1 -1
  143. package/dist/chunks/{file-mutation-31xfzrxg.js → models-dev-h7s7r6s9.js} +5 -5
  144. package/dist/chunks/{file-mutation-whmxtv1k.js → models-dev-hawbp04s.js} +22 -22
  145. package/dist/chunks/{file-mutation-jfnyz2cb.js → models-dev-hgmf4m41.js} +24 -24
  146. package/dist/chunks/{file-mutation-hgz4x7wa.js → models-dev-hgz4x7wa.js} +1 -1
  147. package/dist/chunks/{file-mutation-nr90a0dt.js → models-dev-hkhazw4s.js} +42 -42
  148. package/dist/chunks/{file-mutation-zz5c3g14.js → models-dev-hrfrq9hz.js} +3 -3
  149. package/dist/chunks/{file-mutation-ym72szr7.js → models-dev-j0dm9avb.js} +38 -38
  150. package/dist/chunks/{file-mutation-mnv5anne.js → models-dev-j0gvhh7c.js} +15 -15
  151. package/dist/chunks/{file-mutation-wq2exejj.js → models-dev-j2dqzky9.js} +35 -35
  152. package/dist/chunks/{file-mutation-mjagy123.js → models-dev-j34dxvpb.js} +5 -5
  153. package/dist/chunks/{file-mutation-1ja1wxmc.js → models-dev-j7aq1t3e.js} +8 -8
  154. package/dist/chunks/{file-mutation-2ee1qjw3.js → models-dev-jae11whn.js} +16 -16
  155. package/dist/chunks/{file-mutation-34yg83yr.js → models-dev-jda5r79c.js} +13 -13
  156. package/dist/chunks/{file-mutation-53rh8r92.js → models-dev-jktyb4p1.js} +15 -15
  157. package/dist/chunks/{file-mutation-qcf9sep0.js → models-dev-jtp4xp8v.js} +7 -7
  158. package/dist/chunks/{file-mutation-1pw9daj1.js → models-dev-jynx48he.js} +11 -11
  159. package/dist/chunks/{file-mutation-yv1g7dvw.js → models-dev-k2k03ya2.js} +21 -21
  160. package/dist/chunks/{file-mutation-fssat8nd.js → models-dev-k7ad02mm.js} +12 -12
  161. package/dist/chunks/{file-mutation-mrp1vw8h.js → models-dev-k87dtxhj.js} +19 -19
  162. package/dist/chunks/{file-mutation-v9ym5vkf.js → models-dev-kgz81yt2.js} +27 -27
  163. package/dist/chunks/{file-mutation-2njd48f3.js → models-dev-kj84qpwx.js} +4 -4
  164. package/dist/chunks/{file-mutation-kqx1b4hy.js → models-dev-kqx1b4hy.js} +4 -4
  165. package/dist/chunks/{file-mutation-stdh1w8b.js → models-dev-kr0apa3b.js} +11 -11
  166. package/dist/chunks/{file-mutation-zj24t7xr.js → models-dev-ksqd16ha.js} +5 -5
  167. package/dist/chunks/{file-mutation-kwb1v3vj.js → models-dev-kwb1v3vj.js} +1 -1
  168. package/dist/chunks/{file-mutation-m9w0rfyh.js → models-dev-m9w0rfyh.js} +1 -1
  169. package/dist/chunks/{file-mutation-maspj1v3.js → models-dev-maspj1v3.js} +1 -1
  170. package/dist/chunks/{file-mutation-5pyjqqve.js → models-dev-mb14aw74.js} +2 -2
  171. package/dist/chunks/{file-mutation-ns6qmrtd.js → models-dev-mdtzp1pw.js} +15 -15
  172. package/dist/chunks/{file-mutation-ahjtwsk1.js → models-dev-mszqs36w.js} +11 -11
  173. package/dist/chunks/{file-mutation-jc9d9mw1.js → models-dev-n1t23x52.js} +17 -17
  174. package/dist/chunks/models-dev-n95b3jav.js +18 -0
  175. package/dist/chunks/{file-mutation-vaer15sz.js → models-dev-nanfamht.js} +16 -16
  176. package/dist/chunks/{file-mutation-ykbenvtt.js → models-dev-nfdwzame.js} +18 -18
  177. package/dist/chunks/{file-mutation-svvw92nk.js → models-dev-nfejd64p.js} +34 -34
  178. package/dist/chunks/{file-mutation-f9twm2pk.js → models-dev-nfypdxw6.js} +23 -23
  179. package/dist/chunks/{file-mutation-pgvws8e3.js → models-dev-nmzb0xa3.js} +87 -87
  180. package/dist/chunks/{file-mutation-atrg28jh.js → models-dev-nxqm7gwv.js} +32 -32
  181. package/dist/chunks/{file-mutation-928exejz.js → models-dev-p3gkw1kz.js} +13 -13
  182. package/dist/chunks/{file-mutation-1vq8waa3.js → models-dev-p7763bs8.js} +23 -23
  183. package/dist/chunks/{file-mutation-w80w7egq.js → models-dev-p83e3t0x.js} +26 -26
  184. package/dist/chunks/{file-mutation-pjvnvgmy.js → models-dev-pjvnvgmy.js} +1 -1
  185. package/dist/chunks/{file-mutation-pknna89w.js → models-dev-pknna89w.js} +1 -1
  186. package/dist/chunks/{file-mutation-ckc5xesv.js → models-dev-pmnneqsb.js} +53 -53
  187. package/dist/chunks/{file-mutation-yqc6bamn.js → models-dev-pnzf6mjf.js} +1 -1
  188. package/dist/chunks/{file-mutation-9az4rgkb.js → models-dev-pp2ce1g6.js} +24 -24
  189. package/dist/chunks/{file-mutation-vnrbpqt1.js → models-dev-pt3sjhha.js} +19 -19
  190. package/dist/chunks/{file-mutation-cry3q34q.js → models-dev-pwj87jde.js} +20 -20
  191. package/dist/chunks/{file-mutation-6pc27hjz.js → models-dev-py3kkmfq.js} +6 -6
  192. package/dist/chunks/{file-mutation-10bapksq.js → models-dev-q4vh7wx4.js} +34 -34
  193. package/dist/chunks/{file-mutation-qnc92qwc.js → models-dev-qnc92qwc.js} +1 -1
  194. package/dist/chunks/{file-mutation-xtxypabt.js → models-dev-qrf0dgbn.js} +12 -12
  195. package/dist/chunks/{file-mutation-qsdy395h.js → models-dev-qsdy395h.js} +1 -1
  196. package/dist/chunks/{file-mutation-vgbe0hx2.js → models-dev-qzpyk82z.js} +6 -6
  197. package/dist/chunks/{file-mutation-9tk0xbhp.js → models-dev-r0jx86qv.js} +21 -21
  198. package/dist/chunks/{file-mutation-0vhb79zx.js → models-dev-r2y1k1ra.js} +19 -19
  199. package/dist/chunks/{file-mutation-5vma4t00.js → models-dev-r953n9w9.js} +9 -9
  200. package/dist/chunks/{file-mutation-7gzvat6z.js → models-dev-r966epky.js} +18 -18
  201. package/dist/chunks/{file-mutation-4x8f5qrc.js → models-dev-rbwza9gb.js} +60 -60
  202. package/dist/chunks/{file-mutation-av34pvd4.js → models-dev-rchmsnxv.js} +14 -14
  203. package/dist/chunks/{file-mutation-rdw6cm16.js → models-dev-rdw6cm16.js} +1 -1
  204. package/dist/chunks/{file-mutation-rert0e01.js → models-dev-rert0e01.js} +2 -2
  205. package/dist/chunks/models-dev-rffya3h2.js +26 -0
  206. package/dist/chunks/{file-mutation-rp1sxpnt.js → models-dev-rfxjeba6.js} +1 -1
  207. package/dist/chunks/{file-mutation-qhj8gsw7.js → models-dev-rgeb7nt4.js} +25 -25
  208. package/dist/chunks/{file-mutation-rhjbct0v.js → models-dev-rhjbct0v.js} +1 -1
  209. package/dist/chunks/{file-mutation-rj3eygr5.js → models-dev-rj3eygr5.js} +2 -2
  210. package/dist/chunks/{file-mutation-qqrcrv2d.js → models-dev-rqct9df9.js} +11 -11
  211. package/dist/chunks/{file-mutation-q19wpyyh.js → models-dev-rtrczrsy.js} +32 -32
  212. package/dist/chunks/{file-mutation-24ashckt.js → models-dev-s04yg0h5.js} +32 -32
  213. package/dist/chunks/{file-mutation-mq9ghvnj.js → models-dev-s9v1gswf.js} +10 -10
  214. package/dist/chunks/{file-mutation-sa8ekw3f.js → models-dev-sa8ekw3f.js} +2 -2
  215. package/dist/chunks/models-dev-snpcd400.js +513 -0
  216. package/dist/chunks/{file-mutation-r1rs5fcg.js → models-dev-snygwxgw.js} +9 -9
  217. package/dist/chunks/{file-mutation-dt4y2tq7.js → models-dev-sw6dhtwx.js} +24 -24
  218. package/dist/chunks/{file-mutation-syv4x271.js → models-dev-syv4x271.js} +1 -1
  219. package/dist/chunks/{file-mutation-tazgh4e4.js → models-dev-tazgh4e4.js} +1 -1
  220. package/dist/chunks/{file-mutation-tcezcvh9.js → models-dev-tcezcvh9.js} +1 -1
  221. package/dist/chunks/{file-mutation-hgpde3vb.js → models-dev-td64wsrz.js} +20 -20
  222. package/dist/chunks/{file-mutation-cqbnrm9h.js → models-dev-tdbz35zs.js} +28 -28
  223. package/dist/chunks/{file-mutation-tdstcens.js → models-dev-tdstcens.js} +1 -1
  224. package/dist/chunks/{file-mutation-bdwftekd.js → models-dev-tk5cb0ff.js} +24 -24
  225. package/dist/chunks/{file-mutation-32qfxbms.js → models-dev-tkjw6tc9.js} +10 -10
  226. package/dist/chunks/{file-mutation-jpqkz8s9.js → models-dev-tksp512h.js} +50 -50
  227. package/dist/chunks/{file-mutation-tm0kqsz3.js → models-dev-tm0kqsz3.js} +1 -1
  228. package/dist/chunks/{file-mutation-crygnby0.js → models-dev-tvfx0eya.js} +3 -3
  229. package/dist/chunks/{file-mutation-1j6m29mr.js → models-dev-txm3e8qz.js} +9 -9
  230. package/dist/chunks/{file-mutation-tyytaxap.js → models-dev-tyytaxap.js} +1 -1
  231. package/dist/chunks/{file-mutation-v7p4zvkq.js → models-dev-v7p4zvkq.js} +2 -2
  232. package/dist/chunks/{file-mutation-veqvce7d.js → models-dev-veqvce7d.js} +1 -1
  233. package/dist/chunks/{file-mutation-6rm5yzkt.js → models-dev-vfjhn2wd.js} +4 -4
  234. package/dist/chunks/{file-mutation-xvjf424w.js → models-dev-vm7ea25z.js} +10 -10
  235. package/dist/chunks/{file-mutation-vzs5sf6e.js → models-dev-vzs5sf6e.js} +1 -1
  236. package/dist/chunks/{file-mutation-4p0ag926.js → models-dev-w3jqc8y5.js} +11 -11
  237. package/dist/chunks/{file-mutation-w3wsvvr9.js → models-dev-w3wsvvr9.js} +1 -1
  238. package/dist/chunks/{file-mutation-3zy697b6.js → models-dev-w3x9v1nk.js} +8 -8
  239. package/dist/chunks/{file-mutation-y8p3zjbc.js → models-dev-w4axh9wz.js} +4 -4
  240. package/dist/chunks/{file-mutation-y35511gd.js → models-dev-w74zvrdf.js} +19 -19
  241. package/dist/chunks/{file-mutation-zm7ab947.js → models-dev-w86a4jbk.js} +20 -20
  242. package/dist/chunks/{file-mutation-wd87259q.js → models-dev-wd87259q.js} +1 -1
  243. package/dist/chunks/{file-mutation-cz1vwcws.js → models-dev-wgnf5zhk.js} +2 -2
  244. package/dist/chunks/{file-mutation-kp1hjqcq.js → models-dev-wgwt0zmy.js} +11 -11
  245. package/dist/chunks/{file-mutation-395y8vmn.js → models-dev-whw5zgdk.js} +27 -27
  246. package/dist/chunks/{file-mutation-wjr9rjd7.js → models-dev-wjr9rjd7.js} +2 -2
  247. package/dist/chunks/{file-mutation-atcakhwd.js → models-dev-wmgjprx4.js} +14 -14
  248. package/dist/chunks/{file-mutation-8kpxa52r.js → models-dev-wx7p5bgg.js} +174 -174
  249. package/dist/chunks/{file-mutation-83nvk7gf.js → models-dev-wxc0f3yq.js} +11 -11
  250. package/dist/chunks/{file-mutation-xfh984c1.js → models-dev-x3exxkhm.js} +17 -17
  251. package/dist/chunks/models-dev-xf54mzqc.js +257 -0
  252. package/dist/chunks/{file-mutation-drwq78ky.js → models-dev-xfkkasph.js} +4 -4
  253. package/dist/chunks/{file-mutation-0bn0sq9n.js → models-dev-xj3491xa.js} +13 -13
  254. package/dist/chunks/{file-mutation-3h7vgc1c.js → models-dev-xvae3yab.js} +24 -24
  255. package/dist/chunks/{file-mutation-bjzecbrs.js → models-dev-xvr28c84.js} +5 -5
  256. package/dist/chunks/{file-mutation-vx06kqgv.js → models-dev-xvyqtd7m.js} +13 -13
  257. package/dist/chunks/{file-mutation-9qtbwzwj.js → models-dev-y1ejwj9k.js} +4 -4
  258. package/dist/chunks/{file-mutation-y1fvbwt7.js → models-dev-y1fvbwt7.js} +1 -1
  259. package/dist/chunks/{file-mutation-ab0v7xqg.js → models-dev-y343fkzx.js} +11 -11
  260. package/dist/chunks/{file-mutation-sqxd4b6a.js → models-dev-y5975pxr.js} +9 -9
  261. package/dist/chunks/{file-mutation-gv0fvrxd.js → models-dev-y5h2s11h.js} +14 -14
  262. package/dist/chunks/{file-mutation-8nhf552q.js → models-dev-y80h604t.js} +15 -15
  263. package/dist/chunks/{file-mutation-4byykzwt.js → models-dev-y95rb4b8.js} +10 -10
  264. package/dist/chunks/{file-mutation-y45dsw3d.js → models-dev-y9cmq7cc.js} +25 -25
  265. package/dist/chunks/{file-mutation-z6c3x22d.js → models-dev-ygdna4kr.js} +5 -5
  266. package/dist/chunks/{file-mutation-yp2x3t23.js → models-dev-yp2x3t23.js} +1 -1
  267. package/dist/chunks/{file-mutation-yewqjc3q.js → models-dev-ypcym4nd.js} +46 -46
  268. package/dist/chunks/{file-mutation-h9wp8z5w.js → models-dev-yrcj3v3g.js} +4 -4
  269. package/dist/chunks/{file-mutation-cba5y8md.js → models-dev-ytqyg6zh.js} +3 -3
  270. package/dist/chunks/{file-mutation-z0bkrqjs.js → models-dev-z0bkrqjs.js} +1 -1
  271. package/dist/chunks/{file-mutation-nteb4xfc.js → models-dev-z135rspg.js} +9 -9
  272. package/dist/chunks/{file-mutation-4pxfaks0.js → models-dev-z54hq8gt.js} +2 -2
  273. package/dist/chunks/{file-mutation-bwtsbp89.js → models-dev-z5hpwnec.js} +16 -16
  274. package/dist/chunks/{file-mutation-tms097mr.js → models-dev-z6zf04q7.js} +20 -20
  275. package/dist/chunks/{file-mutation-nbe12rbe.js → models-dev-z8p7drz6.js} +9 -9
  276. package/dist/chunks/{file-mutation-s0xd9fk5.js → models-dev-zcxh2nc1.js} +11 -11
  277. package/dist/chunks/{file-mutation-whepmyc8.js → models-dev-zf24vjx2.js} +1 -1
  278. package/dist/chunks/{file-mutation-mw3zb6qd.js → models-dev-zhpzfnnm.js} +3 -3
  279. package/dist/chunks/{file-mutation-7x9m82rv.js → models-dev-zjzm1mqh.js} +10 -10
  280. package/dist/chunks/{file-mutation-qskc9fng.js → models-dev-zp4b7z7f.js} +8 -8
  281. package/dist/chunks/{file-mutation-zr2ceqn5.js → models-dev-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{file-mutation-zxq2ej10.js → models-dev-zxq2ej10.js} +1 -1
  283. package/dist/chunks/{file-mutation-zyk1yjk8.js → models-dev-zyk1yjk8.js} +2 -2
  284. package/dist/chunks/{file-mutation-gjvt2sw1.js → models-dev-zzyrpm7p.js} +15 -15
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +7 -7
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +87 -87
  290. package/dist/config/discovery.js +84 -84
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +101 -101
  293. package/dist/config/plugin/agent.js +116 -116
  294. package/dist/config/plugin/command.js +205 -205
  295. package/dist/config/plugin/compaction.js +154 -154
  296. package/dist/config/plugin/compatibility.js +134 -134
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +115 -115
  299. package/dist/config/plugin/image.js +116 -116
  300. package/dist/config/plugin/instruction.js +116 -116
  301. package/dist/config/plugin/location-watcher.js +116 -116
  302. package/dist/config/plugin/mcp.js +123 -123
  303. package/dist/config/plugin/policy.js +117 -117
  304. package/dist/config/plugin/provider.js +116 -116
  305. package/dist/config/plugin/reference.js +118 -118
  306. package/dist/config/plugin/shell.js +116 -116
  307. package/dist/config/plugin/skill-file.js +104 -104
  308. package/dist/config/plugin/skill.js +135 -135
  309. package/dist/config/plugin/snapshot.js +114 -114
  310. package/dist/config/plugin/source.js +113 -113
  311. package/dist/config/plugin/tool-output.js +117 -117
  312. package/dist/config/plugin/websearch.js +115 -115
  313. package/dist/config/plugin/worktree.js +118 -118
  314. package/dist/config/variable.js +1 -1
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +121 -121
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +85 -85
  319. package/dist/database/database.js +68 -68
  320. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +13 -13
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +14 -14
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  385. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  386. package/dist/database/migration.gen.js +51 -51
  387. package/dist/database/migration.js +53 -53
  388. package/dist/database/path.js +2 -2
  389. package/dist/database/schema.gen.js +1 -1
  390. package/dist/database/schema.sql.js +1 -1
  391. package/dist/database/sqlite.bun.js +1 -1
  392. package/dist/database/sqlite.js +1 -1
  393. package/dist/database/sqlite.node.js +1 -1
  394. package/dist/database/sqlite.workerd.js +1 -1
  395. package/dist/database/v1-migration.bun.js +78 -78
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +367 -367
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +1 -1
  400. package/dist/effect/websocket-constructor.js +1 -1
  401. package/dist/environment/driver.js +1 -1
  402. package/dist/environment/environment.js +95 -95
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +95 -95
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +3 -3
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +72 -72
  411. package/dist/file-access.js +106 -106
  412. package/dist/file-mutation.js +96 -96
  413. package/dist/file-retention.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/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +214 -214
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +99 -99
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +15 -15
  424. package/dist/filesystem.js +104 -104
  425. package/dist/form.js +84 -84
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +89 -89
  428. package/dist/generate.js +107 -107
  429. package/dist/git.js +10 -10
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +93 -93
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.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 +358 -358
  453. package/dist/instruction-discovery.js +86 -86
  454. package/dist/instructions/builtins.js +89 -89
  455. package/dist/instructions/index.js +1 -1
  456. package/dist/integration/connection.js +3 -3
  457. package/dist/integration.js +91 -91
  458. package/dist/job.js +78 -78
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +75 -75
  461. package/dist/location-activity.js +133 -133
  462. package/dist/location-lifecycle.js +109 -109
  463. package/dist/location-service-map.js +88 -88
  464. package/dist/location-services.js +355 -355
  465. package/dist/location.js +91 -91
  466. package/dist/managed-policy.js +8 -8
  467. package/dist/mcp/client.js +93 -93
  468. package/dist/mcp/index.js +109 -109
  469. package/dist/mcp/instructions.js +127 -127
  470. package/dist/mcp/oauth.js +80 -80
  471. package/dist/mcp/stdio.js +92 -92
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +93 -93
  474. package/dist/model-resolver.js +100 -100
  475. package/dist/model.js +102 -102
  476. package/dist/models-dev.js +109 -109
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +84 -84
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +113 -113
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +90 -90
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +77 -77
  486. package/dist/plugin/agent.js +76 -76
  487. package/dist/plugin/command.js +102 -102
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +211 -211
  490. package/dist/plugin/identity.js +3 -3
  491. package/dist/plugin/instance.js +5 -5
  492. package/dist/plugin/internal.js +329 -329
  493. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  494. package/dist/plugin/models-dev.js +98 -98
  495. package/dist/plugin/module.js +115 -115
  496. package/dist/plugin/optimize.js +4 -4
  497. package/dist/plugin/plan.js +104 -104
  498. package/dist/plugin/promise.js +1 -1
  499. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  500. package/dist/plugin/provider/azure.js +114 -114
  501. package/dist/plugin/provider/cerebras.js +1 -1
  502. package/dist/plugin/provider/chatgpt.js +116 -116
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +112 -112
  507. package/dist/plugin/provider/databricks.js +1 -1
  508. package/dist/plugin/provider/digitalocean.js +95 -95
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/github-copilot.js +97 -97
  512. package/dist/plugin/provider/gitlab.js +95 -95
  513. package/dist/plugin/provider/google-vertex.js +113 -113
  514. package/dist/plugin/provider/kilo.js +1 -1
  515. package/dist/plugin/provider/llmgateway.js +80 -80
  516. package/dist/plugin/provider/lmstudio.js +123 -123
  517. package/dist/plugin/provider/local.js +122 -122
  518. package/dist/plugin/provider/modal.js +94 -94
  519. package/dist/plugin/provider/neon.js +1 -1
  520. package/dist/plugin/provider/nvidia.js +1 -1
  521. package/dist/plugin/provider/ollama.js +125 -125
  522. package/dist/plugin/provider/openai.js +118 -118
  523. package/dist/plugin/provider/opencode.js +100 -100
  524. package/dist/plugin/provider/openrouter.js +93 -93
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +81 -81
  527. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  528. package/dist/plugin/provider/sap-ai-core.js +93 -93
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  531. package/dist/plugin/provider/vercel.js +92 -92
  532. package/dist/plugin/provider/vllm.js +123 -123
  533. package/dist/plugin/provider/xai.js +93 -93
  534. package/dist/plugin/provider/zenmux.js +1 -1
  535. package/dist/plugin/provider.js +168 -168
  536. package/dist/plugin/sdk.js +78 -78
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +132 -132
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +344 -344
  541. package/dist/plugin/tool-input-repair.js +4 -4
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/vcs/git.js +88 -88
  544. package/dist/plugin/vcs/hg.js +88 -88
  545. package/dist/plugin/verbosity.js +95 -95
  546. package/dist/plugin/warming.js +114 -114
  547. package/dist/plugin/websearch/exa.js +7 -7
  548. package/dist/plugin/websearch/firecrawl.js +8 -8
  549. package/dist/plugin/websearch/index.js +9 -9
  550. package/dist/plugin/websearch/mcp.js +2 -2
  551. package/dist/plugin/websearch/parallel.js +4 -4
  552. package/dist/plugin/websearch/tavily.js +6 -6
  553. package/dist/plugin/websearch/tinyfish.js +8 -8
  554. package/dist/plugin.js +218 -218
  555. package/dist/project/schema.js +8 -8
  556. package/dist/project/sql.js +4 -4
  557. package/dist/project.js +92 -92
  558. package/dist/provider.js +91 -91
  559. package/dist/pty/protocol.js +1 -1
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +95 -95
  562. package/dist/reference/instructions.js +91 -91
  563. package/dist/reference.js +91 -91
  564. package/dist/repository-cache.js +83 -83
  565. package/dist/repository.js +1 -1
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +97 -97
  568. package/dist/rpc.js +88 -88
  569. package/dist/schema.js +1 -1
  570. package/dist/session/affinity.js +1 -1
  571. package/dist/session/command.js +76 -76
  572. package/dist/session/compaction.js +135 -135
  573. package/dist/session/context.js +155 -155
  574. package/dist/session/diff.js +90 -90
  575. package/dist/session/environment.js +5 -5
  576. package/dist/session/error.js +3 -3
  577. package/dist/session/event.js +1 -1
  578. package/dist/session/execution/restart.js +214 -214
  579. package/dist/session/execution.js +129 -129
  580. package/dist/session/generate.js +156 -156
  581. package/dist/session/history.js +15 -15
  582. package/dist/session/inbox.js +90 -90
  583. package/dist/session/info.js +3 -3
  584. package/dist/session/instruction-entry.js +77 -77
  585. package/dist/session/instruction-state.js +8 -8
  586. package/dist/session/instructions.js +99 -99
  587. package/dist/session/message-updater.js +4 -4
  588. package/dist/session/message.js +1 -1
  589. package/dist/session/model-request.js +120 -120
  590. package/dist/session/model-transport.js +7 -7
  591. package/dist/session/move.js +131 -131
  592. package/dist/session/projector.js +88 -88
  593. package/dist/session/prompt.js +107 -107
  594. package/dist/session/provider-context.js +3 -3
  595. package/dist/session/revert.js +92 -92
  596. package/dist/session/run-coordinator.js +1 -1
  597. package/dist/session/runner/index.js +3 -3
  598. package/dist/session/runner/llm.js +222 -222
  599. package/dist/session/runner/max-steps.js +1 -1
  600. package/dist/session/runner/model.js +100 -100
  601. package/dist/session/runner/publish-llm-event.js +115 -115
  602. package/dist/session/runner/retry.js +2 -2
  603. package/dist/session/runner/step.js +125 -125
  604. package/dist/session/runner/to-llm-message.js +2 -2
  605. package/dist/session/schema.js +5 -5
  606. package/dist/session/session.js +164 -164
  607. package/dist/session/shell.js +130 -130
  608. package/dist/session/skill.js +105 -105
  609. package/dist/session/sql.js +5 -5
  610. package/dist/session/stats.js +75 -75
  611. package/dist/session/store.js +89 -89
  612. package/dist/session/subagent-completion.js +1 -1
  613. package/dist/session/subagent-job.js +201 -201
  614. package/dist/session/system-prompt.js +3 -3
  615. package/dist/session/title.js +153 -153
  616. package/dist/session/to-session-error.js +113 -113
  617. package/dist/session/transfer.js +210 -210
  618. package/dist/session/usage.js +1 -1
  619. package/dist/session.js +207 -207
  620. package/dist/shell/parse.js +6 -6
  621. package/dist/shell/result.js +1 -1
  622. package/dist/shell/scan.js +1 -1
  623. package/dist/shell/select.js +11 -11
  624. package/dist/shell.js +132 -132
  625. package/dist/skill/discovery.js +6 -6
  626. package/dist/skill/instructions.js +109 -109
  627. package/dist/skill.js +114 -114
  628. package/dist/snapshot.js +91 -91
  629. package/dist/state.js +1 -1
  630. package/dist/tool/html-markdown.js +1 -1
  631. package/dist/tool/http-body.js +1 -1
  632. package/dist/tool/mcp.js +128 -128
  633. package/dist/tool/plugin/edit.js +122 -122
  634. package/dist/tool/plugin/file-diff.js +1 -1
  635. package/dist/tool/plugin/glob.js +122 -122
  636. package/dist/tool/plugin/grep.js +124 -124
  637. package/dist/tool/plugin/mcp-resource.js +119 -119
  638. package/dist/tool/plugin/opencode.js +111 -111
  639. package/dist/tool/plugin/patch.js +120 -120
  640. package/dist/tool/plugin/question.js +107 -107
  641. package/dist/tool/plugin/read.js +127 -127
  642. package/dist/tool/plugin/shell.js +202 -202
  643. package/dist/tool/plugin/skill.js +113 -113
  644. package/dist/tool/plugin/subagent.js +210 -210
  645. package/dist/tool/plugin/webfetch.js +112 -112
  646. package/dist/tool/plugin/websearch.js +114 -114
  647. package/dist/tool/plugin/write.js +124 -124
  648. package/dist/tool/read-filesystem.js +102 -102
  649. package/dist/tool/runtime.js +1 -1
  650. package/dist/tool-output.js +7 -7
  651. package/dist/tool.js +12 -12
  652. package/dist/util/error-summary.js +1 -1
  653. package/dist/util/error.js +1 -1
  654. package/dist/util/git-executable.js +2 -2
  655. package/dist/util/iife.js +1 -1
  656. package/dist/util/lazy.js +1 -1
  657. package/dist/util/slug.js +1 -1
  658. package/dist/util/token.js +1 -1
  659. package/dist/util/which.js +1 -1
  660. package/dist/util/wildcard.js +1 -1
  661. package/dist/v1/config/agent.js +7 -7
  662. package/dist/v1/config/command.js +5 -5
  663. package/dist/v1/config/error.js +2 -2
  664. package/dist/v1/config/mcp.js +4 -4
  665. package/dist/v1/config/migrate.js +94 -94
  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/variant.js +93 -93
  671. package/dist/vcs/patch.js +1 -1
  672. package/dist/vcs.js +91 -91
  673. package/dist/voice.js +90 -90
  674. package/dist/websearch.js +86 -86
  675. package/dist/wellknown/plugin.js +78 -78
  676. package/dist/wellknown.js +83 -83
  677. package/dist/workspace/driver.js +3 -3
  678. package/dist/workspace/sql.js +1 -1
  679. package/dist/workspace.js +82 -82
  680. package/dist/worktree/directory.js +2 -2
  681. package/dist/worktree/git.js +10 -10
  682. package/dist/worktree/sql.js +5 -5
  683. package/dist/worktree/strategies.js +91 -91
  684. package/dist/worktree.js +98 -98
  685. package/package.json +8 -8
  686. package/dist/chunks/file-mutation-1e0042jk.js +0 -513
  687. package/dist/chunks/file-mutation-49n22trf.js +0 -257
  688. package/dist/chunks/file-mutation-jqh9b0xq.js +0 -18
  689. package/dist/chunks/file-mutation-pgrantrc.js +0 -26
  690. /package/dist/chunks/{file-mutation-0qkdqm5v.js → models-dev-0qkdqm5v.js} +0 -0
  691. /package/dist/chunks/{file-mutation-0zkw76rk.js → models-dev-0zkw76rk.js} +0 -0
  692. /package/dist/chunks/{file-mutation-17cy0kzp.js → models-dev-17cy0kzp.js} +0 -0
  693. /package/dist/chunks/{file-mutation-1cnp2v09.js → models-dev-1cnp2v09.js} +0 -0
  694. /package/dist/chunks/{file-mutation-1kg9ymc8.js → models-dev-1kg9ymc8.js} +0 -0
  695. /package/dist/chunks/{file-mutation-24dcb14g.js → models-dev-24dcb14g.js} +0 -0
  696. /package/dist/chunks/{file-mutation-2710q6r3.js → models-dev-2710q6r3.js} +0 -0
  697. /package/dist/chunks/{file-mutation-2axfhc9x.js → models-dev-2axfhc9x.js} +0 -0
  698. /package/dist/chunks/{file-mutation-2bv980vf.js → models-dev-2bv980vf.js} +0 -0
  699. /package/dist/chunks/{file-mutation-2c3vjs8z.js → models-dev-2c3vjs8z.js} +0 -0
  700. /package/dist/chunks/{file-mutation-359p4xyc.js → models-dev-359p4xyc.js} +0 -0
  701. /package/dist/chunks/{file-mutation-3asan66x.js → models-dev-3asan66x.js} +0 -0
  702. /package/dist/chunks/{file-mutation-3t0ybcrp.js → models-dev-3t0ybcrp.js} +0 -0
  703. /package/dist/chunks/{file-mutation-3v8g72cx.js → models-dev-3v8g72cx.js} +0 -0
  704. /package/dist/chunks/{file-mutation-3wcehsnq.js → models-dev-3wcehsnq.js} +0 -0
  705. /package/dist/chunks/{file-mutation-43n2bw4t.js → models-dev-43n2bw4t.js} +0 -0
  706. /package/dist/chunks/{file-mutation-4knz6hnm.js → models-dev-4knz6hnm.js} +0 -0
  707. /package/dist/chunks/{file-mutation-4vcrnpx2.js → models-dev-4vcrnpx2.js} +0 -0
  708. /package/dist/chunks/{file-mutation-4y7fprxs.js → models-dev-4y7fprxs.js} +0 -0
  709. /package/dist/chunks/{file-mutation-53557ph1.js → models-dev-53557ph1.js} +0 -0
  710. /package/dist/chunks/{file-mutation-550bvhaj.js → models-dev-550bvhaj.js} +0 -0
  711. /package/dist/chunks/{file-mutation-6prwharc.js → models-dev-6prwharc.js} +0 -0
  712. /package/dist/chunks/{file-mutation-6q2bdcd1.js → models-dev-6q2bdcd1.js} +0 -0
  713. /package/dist/chunks/{file-mutation-7akdwqpd.js → models-dev-7akdwqpd.js} +0 -0
  714. /package/dist/chunks/{file-mutation-7m9af43g.js → models-dev-7m9af43g.js} +0 -0
  715. /package/dist/chunks/{file-mutation-822emrt2.js → models-dev-822emrt2.js} +0 -0
  716. /package/dist/chunks/{file-mutation-84wd9syh.js → models-dev-84wd9syh.js} +0 -0
  717. /package/dist/chunks/{file-mutation-88xbtdfr.js → models-dev-88xbtdfr.js} +0 -0
  718. /package/dist/chunks/{file-mutation-8n3pysct.js → models-dev-8n3pysct.js} +0 -0
  719. /package/dist/chunks/{file-mutation-8wj87zfr.js → models-dev-8wj87zfr.js} +0 -0
  720. /package/dist/chunks/{file-mutation-9a4afbnw.js → models-dev-9a4afbnw.js} +0 -0
  721. /package/dist/chunks/{file-mutation-9rqn6x4v.js → models-dev-9rqn6x4v.js} +0 -0
  722. /package/dist/chunks/{file-mutation-a6k6eb26.js → models-dev-a6k6eb26.js} +0 -0
  723. /package/dist/chunks/{file-mutation-af5trqkr.js → models-dev-af5trqkr.js} +0 -0
  724. /package/dist/chunks/{file-mutation-afrmfg78.js → models-dev-afrmfg78.js} +0 -0
  725. /package/dist/chunks/{file-mutation-aqzs7mqg.js → models-dev-aqzs7mqg.js} +0 -0
  726. /package/dist/chunks/{file-mutation-atq7p7m5.js → models-dev-atq7p7m5.js} +0 -0
  727. /package/dist/chunks/{file-mutation-bkyjaxrp.js → models-dev-bkyjaxrp.js} +0 -0
  728. /package/dist/chunks/{file-mutation-bmr6ed5q.js → models-dev-bmr6ed5q.js} +0 -0
  729. /package/dist/chunks/{file-mutation-cf4snx6d.js → models-dev-cf4snx6d.js} +0 -0
  730. /package/dist/chunks/{file-mutation-cvy3z8tj.js → models-dev-cvy3z8tj.js} +0 -0
  731. /package/dist/chunks/{file-mutation-d9fn303g.js → models-dev-d9fn303g.js} +0 -0
  732. /package/dist/chunks/{file-mutation-d9jj8t3e.js → models-dev-d9jj8t3e.js} +0 -0
  733. /package/dist/chunks/{file-mutation-dajrwvna.js → models-dev-dajrwvna.js} +0 -0
  734. /package/dist/chunks/{file-mutation-dap0rakb.js → models-dev-dap0rakb.js} +0 -0
  735. /package/dist/chunks/{file-mutation-df08tz66.js → models-dev-df08tz66.js} +0 -0
  736. /package/dist/chunks/{file-mutation-dy18nga0.js → models-dev-dy18nga0.js} +0 -0
  737. /package/dist/chunks/{file-mutation-e5kj55wp.js → models-dev-e5kj55wp.js} +0 -0
  738. /package/dist/chunks/{file-mutation-e73j6tqm.js → models-dev-e73j6tqm.js} +0 -0
  739. /package/dist/chunks/{file-mutation-ec1grn59.js → models-dev-ec1grn59.js} +0 -0
  740. /package/dist/chunks/{file-mutation-eh3zwz77.js → models-dev-eh3zwz77.js} +0 -0
  741. /package/dist/chunks/{file-mutation-emrn6kk6.js → models-dev-emrn6kk6.js} +0 -0
  742. /package/dist/chunks/{file-mutation-f0mxakyp.js → models-dev-f0mxakyp.js} +0 -0
  743. /package/dist/chunks/{file-mutation-f6n9ztr4.js → models-dev-f6n9ztr4.js} +0 -0
  744. /package/dist/chunks/{file-mutation-faypxj3z.js → models-dev-faypxj3z.js} +0 -0
  745. /package/dist/chunks/{file-mutation-fd410y7t.js → models-dev-fd410y7t.js} +0 -0
  746. /package/dist/chunks/{file-mutation-g4wezp1m.js → models-dev-g4wezp1m.js} +0 -0
  747. /package/dist/chunks/{file-mutation-g86h250q.js → models-dev-g86h250q.js} +0 -0
  748. /package/dist/chunks/{file-mutation-gebd4c9n.js → models-dev-gebd4c9n.js} +0 -0
  749. /package/dist/chunks/{file-mutation-gftt206x.js → models-dev-gftt206x.js} +0 -0
  750. /package/dist/chunks/{file-mutation-hcxmzztb.js → models-dev-hcxmzztb.js} +0 -0
  751. /package/dist/chunks/{file-mutation-hk9envan.js → models-dev-hk9envan.js} +0 -0
  752. /package/dist/chunks/{file-mutation-j2ntwpah.js → models-dev-j2ntwpah.js} +0 -0
  753. /package/dist/chunks/{file-mutation-j5zkgpj8.js → models-dev-j5zkgpj8.js} +0 -0
  754. /package/dist/chunks/{file-mutation-jjkms2e6.js → models-dev-jjkms2e6.js} +0 -0
  755. /package/dist/chunks/{file-mutation-jr7sbwjy.js → models-dev-jr7sbwjy.js} +0 -0
  756. /package/dist/chunks/{file-mutation-jwfs4k6c.js → models-dev-jwfs4k6c.js} +0 -0
  757. /package/dist/chunks/{file-mutation-jze0r7bz.js → models-dev-jze0r7bz.js} +0 -0
  758. /package/dist/chunks/{file-mutation-jzg6c2d5.js → models-dev-jzg6c2d5.js} +0 -0
  759. /package/dist/chunks/{file-mutation-m18g726c.js → models-dev-m18g726c.js} +0 -0
  760. /package/dist/chunks/{file-mutation-mp448xyj.js → models-dev-mp448xyj.js} +0 -0
  761. /package/dist/chunks/{file-mutation-msx8hqn2.js → models-dev-msx8hqn2.js} +0 -0
  762. /package/dist/chunks/{file-mutation-n05xt0ee.js → models-dev-n05xt0ee.js} +0 -0
  763. /package/dist/chunks/{file-mutation-n3j8tn72.js → models-dev-n3j8tn72.js} +0 -0
  764. /package/dist/chunks/{file-mutation-njntx4h6.js → models-dev-njntx4h6.js} +0 -0
  765. /package/dist/chunks/{file-mutation-pkyv6v7h.js → models-dev-pkyv6v7h.js} +0 -0
  766. /package/dist/chunks/{file-mutation-pyv0edze.js → models-dev-pyv0edze.js} +0 -0
  767. /package/dist/chunks/{file-mutation-q3sfg36h.js → models-dev-q3sfg36h.js} +0 -0
  768. /package/dist/chunks/{file-mutation-q74kybfr.js → models-dev-q74kybfr.js} +0 -0
  769. /package/dist/chunks/{file-mutation-qaymkmh1.js → models-dev-qaymkmh1.js} +0 -0
  770. /package/dist/chunks/{file-mutation-qb87gjwd.js → models-dev-qb87gjwd.js} +0 -0
  771. /package/dist/chunks/{file-mutation-qfa1cgps.js → models-dev-qfa1cgps.js} +0 -0
  772. /package/dist/chunks/{file-mutation-qg3g05ea.js → models-dev-qg3g05ea.js} +0 -0
  773. /package/dist/chunks/{file-mutation-qrg20bc0.js → models-dev-qrg20bc0.js} +0 -0
  774. /package/dist/chunks/{file-mutation-rcb2kzg1.js → models-dev-rcb2kzg1.js} +0 -0
  775. /package/dist/chunks/{file-mutation-sdp7kfr6.js → models-dev-sdp7kfr6.js} +0 -0
  776. /package/dist/chunks/{file-mutation-ssg3fenm.js → models-dev-ssg3fenm.js} +0 -0
  777. /package/dist/chunks/{file-mutation-ve7vex1e.js → models-dev-ve7vex1e.js} +0 -0
  778. /package/dist/chunks/{file-mutation-w803qqfp.js → models-dev-w803qqfp.js} +0 -0
  779. /package/dist/chunks/{file-mutation-wc3fc9cn.js → models-dev-wc3fc9cn.js} +0 -0
  780. /package/dist/chunks/{file-mutation-wer8tq1h.js → models-dev-wer8tq1h.js} +0 -0
  781. /package/dist/chunks/{file-mutation-wjj7prxr.js → models-dev-wjj7prxr.js} +0 -0
  782. /package/dist/chunks/{file-mutation-wtztk69x.js → models-dev-wtztk69x.js} +0 -0
  783. /package/dist/chunks/{file-mutation-x0ckcb58.js → models-dev-x0ckcb58.js} +0 -0
  784. /package/dist/chunks/{file-mutation-x61499pn.js → models-dev-x61499pn.js} +0 -0
  785. /package/dist/chunks/{file-mutation-y44na4kk.js → models-dev-y44na4kk.js} +0 -0
  786. /package/dist/chunks/{file-mutation-y8f7s663.js → models-dev-y8f7s663.js} +0 -0
  787. /package/dist/chunks/{file-mutation-ygaqb7jw.js → models-dev-ygaqb7jw.js} +0 -0
  788. /package/dist/chunks/{file-mutation-ym463w8f.js → models-dev-ym463w8f.js} +0 -0
  789. /package/dist/chunks/{file-mutation-z5v4ffb3.js → models-dev-z5v4ffb3.js} +0 -0
  790. /package/dist/chunks/{file-mutation-z9919s4g.js → models-dev-z9919s4g.js} +0 -0
@@ -1,43 +1,43 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./file-mutation-hgz4x7wa.js";
3
+ } from "./models-dev-hgz4x7wa.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./file-mutation-z5v4ffb3.js";
6
+ } from "./models-dev-z5v4ffb3.js";
7
7
  import {
8
- Service82
9
- } from "./file-mutation-s9hmt3s5.js";
8
+ Service79
9
+ } from "./models-dev-20qam0gr.js";
10
10
  import {
11
- Service74
12
- } from "./file-mutation-3h7vgc1c.js";
11
+ Service62
12
+ } from "./models-dev-xvae3yab.js";
13
13
  import {
14
- Service17
15
- } from "./file-mutation-3nn61x4m.js";
14
+ Service19
15
+ } from "./models-dev-anr4w7k8.js";
16
16
  import {
17
17
  DEFAULT_SEARCH_LIMIT2,
18
18
  DEFAULT_SEARCH_TIMEOUT_MS2,
19
19
  GlobInput2,
20
20
  Entry2
21
- } from "./file-mutation-vx9tn3ww.js";
21
+ } from "./models-dev-128c3rgk.js";
22
22
  import {
23
- Service62
24
- } from "./file-mutation-831szrnr.js";
23
+ Service70
24
+ } from "./models-dev-73mn35m0.js";
25
25
  import {
26
- Service24
27
- } from "./file-mutation-ykbenvtt.js";
26
+ Service14
27
+ } from "./models-dev-nfdwzame.js";
28
28
  import {
29
29
  __export
30
- } from "./file-mutation-9rqn6x4v.js";
30
+ } from "./models-dev-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/glob.ts
33
33
  var exports_glob = {};
34
34
  __export(exports_glob, {
35
35
  GlobTool: () => exports_glob,
36
36
  Input: () => Input6,
37
- Output: () => Output6,
38
- Plugin: () => Plugin41,
37
+ Output: () => Output4,
38
+ Plugin: () => Plugin42,
39
39
  name: () => name6,
40
- toModelContent: () => toModelContent4
40
+ toModelContent: () => toModelContent5
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
@@ -55,28 +55,28 @@ var Input6 = Schema.Struct({
55
55
  description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
56
56
  })
57
57
  });
58
- var Output6 = Schema.Array(Entry2);
59
- var toModelContent4 = (entries, truncated = false) => {
58
+ var Output4 = Schema.Array(Entry2);
59
+ var toModelContent5 = (entries, truncated = false) => {
60
60
  const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
61
61
  if (truncated)
62
62
  lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
63
63
  return lines.join(`
64
64
  `);
65
65
  };
66
- var Plugin41 = {
66
+ var Plugin42 = {
67
67
  id: "opencode.tool.glob",
68
68
  effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
69
- const environment = yield* Service74;
70
- const ripgrep = yield* Service17;
71
- const location = yield* Service82;
72
- const access = yield* Service24;
73
- const permission = yield* Service62;
69
+ const environment = yield* Service62;
70
+ const ripgrep = yield* Service19;
71
+ const location = yield* Service79;
72
+ const access = yield* Service14;
73
+ const permission = yield* Service70;
74
74
  yield* ctx.tool.transform((editor) => editor.add({
75
75
  name: name6,
76
76
  options: { codemode: false },
77
77
  description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
78
78
  input: Input6,
79
- output: Output6,
79
+ output: Output4,
80
80
  execute: (input, context) => Effect.gen(function* () {
81
81
  const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
82
82
  const source = { type: "tool", messageID: context.messageID, id: context.id };
@@ -118,11 +118,11 @@ var Plugin41 = {
118
118
  return { entries: entries.slice(0, limit), truncated: entries.length > limit };
119
119
  }).pipe(Effect.map((result) => ({
120
120
  output: result.entries,
121
- content: toModelContent4(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
121
+ content: toModelContent5(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
122
122
  metadata: { count: result.entries.length, truncated: result.truncated }
123
123
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
124
124
  })).pipe(Effect.orDie);
125
125
  })
126
126
  };
127
127
 
128
- export { name6, Input6, Output6, toModelContent4, Plugin41, exports_glob };
128
+ export { name6, Input6, Output4, toModelContent5, Plugin42, exports_glob };
@@ -1,51 +1,51 @@
1
1
  import {
2
- ID9,
3
- Service65
4
- } from "./file-mutation-s7p2cp87.js";
2
+ ID11,
3
+ Service73
4
+ } from "./models-dev-2akqzpk3.js";
5
5
  import {
6
6
  Ref2,
7
- Service77
8
- } from "./file-mutation-1vq8waa3.js";
7
+ Service67
8
+ } from "./models-dev-p7763bs8.js";
9
9
  import {
10
10
  latest2,
11
- Service70
12
- } from "./file-mutation-z8abfd22.js";
11
+ Service49
12
+ } from "./models-dev-18yjff17.js";
13
13
  import {
14
14
  SessionSchema2
15
- } from "./file-mutation-vx3jgdek.js";
15
+ } from "./models-dev-c2sed5cq.js";
16
16
  import {
17
- Service48
18
- } from "./file-mutation-av34pvd4.js";
17
+ Service59
18
+ } from "./models-dev-rchmsnxv.js";
19
19
  import {
20
20
  evaluate2,
21
- Service62
22
- } from "./file-mutation-831szrnr.js";
21
+ Service70
22
+ } from "./models-dev-73mn35m0.js";
23
23
  import {
24
- Service26
25
- } from "./file-mutation-pgvws8e3.js";
24
+ Service30
25
+ } from "./models-dev-nmzb0xa3.js";
26
26
  import {
27
27
  NO_TEXT2
28
- } from "./file-mutation-6xb47vfp.js";
28
+ } from "./models-dev-6xb47vfp.js";
29
29
  import {
30
30
  Service11
31
- } from "./file-mutation-1nbyw85c.js";
31
+ } from "./models-dev-721yw7xq.js";
32
32
  import {
33
33
  __export
34
- } from "./file-mutation-9rqn6x4v.js";
34
+ } from "./models-dev-9rqn6x4v.js";
35
35
 
36
36
  // src/tool/plugin/subagent.ts
37
37
  var exports_subagent = {};
38
38
  __export(exports_subagent, {
39
- Input: () => Input3,
40
- Output: () => Output3,
41
- Plugin: () => Plugin38,
39
+ Input: () => Input9,
40
+ Output: () => Output6,
41
+ Plugin: () => Plugin45,
42
42
  SubagentTool: () => exports_subagent,
43
43
  description: () => description3,
44
- name: () => name3
44
+ name: () => name9
45
45
  });
46
46
  import { ToolFailure } from "@opencode/ai";
47
47
  import { Effect, Predicate, Schema } from "effect";
48
- var name3 = "subagent";
48
+ var name9 = "subagent";
49
49
  var backgroundResult = (sessionID) => ({
50
50
  sessionID,
51
51
  status: "running",
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
56
56
  ].join(`
57
57
  `)
58
58
  });
59
- var Input3 = Schema.Struct({
59
+ var Input9 = Schema.Struct({
60
60
  agent: Schema.String.annotate({
61
61
  description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
62
62
  }),
@@ -72,7 +72,7 @@ var Input3 = Schema.Struct({
72
72
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
73
73
  })
74
74
  });
75
- var Output3 = Schema.Struct({
75
+ var Output6 = Schema.Struct({
76
76
  sessionID: SessionSchema2.ID,
77
77
  status: Schema.Literals(["completed", "running"]),
78
78
  output: Schema.String
@@ -86,15 +86,15 @@ var description3 = [
86
86
  "Use background only for independent work that can run while you continue elsewhere."
87
87
  ].join(`
88
88
  `);
89
- var Plugin38 = {
89
+ var Plugin45 = {
90
90
  id: "opencode.tool.subagent",
91
91
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
92
- const sessions = yield* Service26;
93
- const jobs = yield* Service48;
94
- const agents = yield* Service65;
95
- const config = yield* Service70;
96
- const permission = yield* Service62;
97
- const models = yield* Service77;
92
+ const sessions = yield* Service30;
93
+ const jobs = yield* Service59;
94
+ const agents = yield* Service73;
95
+ const config = yield* Service49;
96
+ const permission = yield* Service70;
97
+ const models = yield* Service67;
98
98
  const subagents = yield* Service11;
99
99
  const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
100
100
  const ref = yield* Effect.try({
@@ -115,11 +115,11 @@ var Plugin38 = {
115
115
  return ref;
116
116
  });
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name3,
118
+ name: name9,
119
119
  options: { codemode: false },
120
120
  description: description3,
121
- input: Input3,
122
- output: Output3,
121
+ input: Input9,
122
+ output: Output6,
123
123
  execute: (input, context) => Effect.gen(function* () {
124
124
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
125
125
  let current = parent;
@@ -139,7 +139,7 @@ var Plugin38 = {
139
139
  if (agent.mode === "primary")
140
140
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
141
141
  yield* permission.assert({
142
- action: name3,
142
+ action: name9,
143
143
  resources: [agent.id],
144
144
  save: [agent.id],
145
145
  sessionID: context.sessionID,
@@ -168,7 +168,7 @@ var Plugin38 = {
168
168
  const child = existing ?? (yield* sessions.create({
169
169
  parentID: context.sessionID,
170
170
  title: input.description,
171
- agent: ID9.make(input.agent),
171
+ agent: ID11.make(input.agent),
172
172
  model
173
173
  }).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
174
174
  const background = input.background === true;
@@ -218,7 +218,7 @@ ${output.output}
218
218
  })))
219
219
  })).pipe(Effect.orDie);
220
220
  yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
221
- if (event.tool !== name3 || !Predicate.isObject(event.input))
221
+ if (event.tool !== name9 || !Predicate.isObject(event.input))
222
222
  return;
223
223
  if (event.input.model !== "" && event.input.sessionID !== "")
224
224
  return;
@@ -230,13 +230,13 @@ ${output.output}
230
230
  event.input = input;
231
231
  }));
232
232
  const hook = (event) => Effect.gen(function* () {
233
- const tool = event.tools[name3];
233
+ const tool = event.tools[name9];
234
234
  if (!tool)
235
235
  return;
236
236
  const selected = yield* agents.resolve(event.agent);
237
237
  if (!selected)
238
238
  return;
239
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name3, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
239
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name9, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
240
240
  if (available.length === 0)
241
241
  return;
242
242
  tool.description = [
@@ -253,4 +253,4 @@ ${output.output}
253
253
  })
254
254
  };
255
255
 
256
- export { name3, Input3, Output3, description3, Plugin38, exports_subagent };
256
+ export { name9, Input9, Output6, description3, Plugin45, exports_subagent };
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./file-mutation-z5v4ffb3.js";
3
+ } from "./models-dev-z5v4ffb3.js";
4
4
  import {
5
5
  latest2,
6
- Service70
7
- } from "./file-mutation-z8abfd22.js";
6
+ Service49
7
+ } from "./models-dev-18yjff17.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./file-mutation-hgz4x7wa.js";
10
+ } from "./models-dev-hgz4x7wa.js";
11
11
  import {
12
- Service74
13
- } from "./file-mutation-3h7vgc1c.js";
12
+ Service62
13
+ } from "./models-dev-xvae3yab.js";
14
14
  import {
15
- Service48
16
- } from "./file-mutation-av34pvd4.js";
15
+ Service59
16
+ } from "./models-dev-rchmsnxv.js";
17
17
  import {
18
- Service62
19
- } from "./file-mutation-831szrnr.js";
18
+ Service70
19
+ } from "./models-dev-73mn35m0.js";
20
20
  import {
21
- Service24,
21
+ Service14,
22
22
  resolvePath2
23
- } from "./file-mutation-ykbenvtt.js";
23
+ } from "./models-dev-nfdwzame.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./file-mutation-vzs5sf6e.js";
29
+ } from "./models-dev-vzs5sf6e.js";
30
30
  import {
31
- Service69,
31
+ Service63,
32
32
  name15
33
- } from "./file-mutation-f8g1y2jp.js";
33
+ } from "./models-dev-598djycs.js";
34
34
  import {
35
- NotFoundError9,
36
- Service66
37
- } from "./file-mutation-wq5jrx1v.js";
35
+ NotFoundError6,
36
+ Service43
37
+ } from "./models-dev-cww38x45.js";
38
38
  import {
39
- Service26
40
- } from "./file-mutation-pgvws8e3.js";
39
+ Service30
40
+ } from "./models-dev-nmzb0xa3.js";
41
41
  import {
42
42
  scan2
43
- } from "./file-mutation-7f067m2e.js";
43
+ } from "./models-dev-1jzxfm5p.js";
44
44
  import {
45
45
  __export
46
- } from "./file-mutation-9rqn6x4v.js";
46
+ } from "./models-dev-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
49
  var exports_shell2 = {};
@@ -120,16 +120,16 @@ Output is streaming to: ${file}`,
120
120
  var Plugin44 = {
121
121
  id: "opencode.tool.shell",
122
122
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
123
- const sessions = yield* Service26;
124
- const jobs = yield* Service48;
123
+ const sessions = yield* Service30;
124
+ const jobs = yield* Service59;
125
125
  const scope = yield* Scope.Scope;
126
- const environment = yield* Service74;
127
- const access = yield* Service24;
128
- const shell = yield* Service66;
129
- const shellSelect = yield* Service69;
126
+ const environment = yield* Service62;
127
+ const access = yield* Service14;
128
+ const shell = yield* Service43;
129
+ const shellSelect = yield* Service63;
130
130
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
131
- const permission = yield* Service62;
132
- const config = yield* Service70;
131
+ const permission = yield* Service70;
132
+ const config = yield* Service49;
133
133
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
134
134
  const source = {
135
135
  type: "tool",
@@ -211,7 +211,7 @@ var Plugin44 = {
211
211
  const run = Effect.gen(function* () {
212
212
  const result = yield* shell.result(info);
213
213
  if (!result.capture)
214
- return yield* new NotFoundError9({ id: info.id });
214
+ return yield* new NotFoundError6({ id: info.id });
215
215
  const output = output2(result);
216
216
  return {
217
217
  ...output,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-mutation-9rqn6x4v.js";
3
+ } from "./models-dev-9rqn6x4v.js";
4
4
 
5
5
  // src/util/token.ts
6
6
  var exports_token = {};
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./file-mutation-gftt206x.js";
3
+ } from "./models-dev-gftt206x.js";
4
4
  import {
5
5
  __export
6
- } from "./file-mutation-9rqn6x4v.js";
6
+ } from "./models-dev-9rqn6x4v.js";
7
7
 
8
8
  // src/session/message-updater.ts
9
9
  var exports_message_updater = {};
10
10
  __export(exports_message_updater, {
11
11
  SessionMessageUpdater: () => exports_message_updater,
12
- update: () => update3
12
+ update: () => update2
13
13
  });
14
14
  import { castDraft, produce } from "immer";
15
15
  import { DateTime, Effect, Match, pipe, Schema } from "effect";
@@ -21,7 +21,7 @@ var projectTerminalSnapshot = (draft, event) => {
21
21
  files: event.data.files ? Array.from(event.data.files) : undefined
22
22
  };
23
23
  };
24
- function update3(adapter, event) {
24
+ function update2(adapter, event) {
25
25
  const created = DateTime.makeUnsafe(event.created);
26
26
  const latestTool = (assistant, id) => assistant.content.findLast((item) => item.type === "tool" && item.id === id);
27
27
  const latestText = (assistant) => assistant.content.findLast((item) => item.type === "text");
@@ -403,4 +403,4 @@ function update3(adapter, event) {
403
403
  return project(event);
404
404
  }
405
405
 
406
- export { update3, exports_message_updater };
406
+ export { update2, exports_message_updater };
@@ -4,28 +4,28 @@ import {
4
4
  normalizeContent2,
5
5
  normalizedName2,
6
6
  effectiveName2
7
- } from "./file-mutation-pyv0edze.js";
7
+ } from "./models-dev-pyv0edze.js";
8
8
  import {
9
9
  create2,
10
10
  catalog2
11
- } from "./file-mutation-91qna3x0.js";
11
+ } from "./models-dev-91qna3x0.js";
12
12
  import {
13
13
  create3
14
- } from "./file-mutation-rdw6cm16.js";
14
+ } from "./models-dev-rdw6cm16.js";
15
15
  import {
16
- Service60,
17
- node63
18
- } from "./file-mutation-yh7kjdpc.js";
16
+ Service53,
17
+ node56
18
+ } from "./models-dev-6n4b0dsb.js";
19
19
  import {
20
- Service76,
21
- node80
22
- } from "./file-mutation-fqtvmpfq.js";
20
+ Service74,
21
+ node77
22
+ } from "./models-dev-8ank75fn.js";
23
23
  import {
24
24
  match2
25
- } from "./file-mutation-y1fvbwt7.js";
25
+ } from "./models-dev-y1fvbwt7.js";
26
26
  import {
27
27
  __export
28
- } from "./file-mutation-9rqn6x4v.js";
28
+ } from "./models-dev-9rqn6x4v.js";
29
29
 
30
30
  // src/tool.ts
31
31
  var exports_tool = {};
@@ -35,10 +35,10 @@ __export(exports_tool, {
35
35
  Error: () => Error4,
36
36
  FileContent: () => FileContent3,
37
37
  RegistrationError: () => RegistrationError2,
38
- Service: () => Service59,
38
+ Service: () => Service52,
39
39
  TextContent: () => TextContent2,
40
40
  Tool: () => exports_tool,
41
- node: () => node62
41
+ node: () => node55
42
42
  });
43
43
  import { CallID as CallID2, Content as Content3, Error as Error4, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
44
44
  import { ToolDefinition } from "@opencode/ai";
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
51
51
  }) {
52
52
  }
53
53
 
54
- class Service59 extends Context.Service()("@opencode/Tool") {
54
+ class Service52 extends Context.Service()("@opencode/Tool") {
55
55
  }
56
- var layer = Layer.effect(Service59, Effect.gen(function* () {
57
- const hooks = yield* Service76;
58
- const image = yield* Service60;
56
+ var layer = Layer.effect(Service52, Effect.gen(function* () {
57
+ const hooks = yield* Service74;
58
+ const image = yield* Service53;
59
59
  const normalizeImages = Effect.fnUntraced(function* (content) {
60
60
  const normalized = yield* Effect.forEach(content, (item) => {
61
61
  if (item.type !== "file" || !item.mime.startsWith("image/"))
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
184
184
  }), { discard: true });
185
185
  }
186
186
  });
187
- return Service59.of({
187
+ return Service52.of({
188
188
  transform: state.transform,
189
189
  reload: state.reload,
190
190
  list: () => Effect.sync(() => Array.from(state.get().tools.values())),
@@ -273,10 +273,10 @@ function namespaceError(name) {
273
273
  return;
274
274
  return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
275
275
  }
276
- var node62 = makeLocationNode({
277
- service: Service59,
276
+ var node55 = makeLocationNode({
277
+ service: Service52,
278
278
  layer,
279
- deps: [node80, node63]
279
+ deps: [node77, node56]
280
280
  });
281
281
 
282
- export { RegistrationError2, Service59, node62, exports_tool, CallID2, Content3, Error4, FileContent3, TextContent2 };
282
+ export { RegistrationError2, Service52, node55, exports_tool, CallID2, Content3, Error4, FileContent3, TextContent2 };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./file-mutation-a5cb3rxh.js";
4
+ } from "./models-dev-20hxmkmy.js";
5
5
  import {
6
6
  create3
7
- } from "./file-mutation-rdw6cm16.js";
7
+ } from "./models-dev-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./file-mutation-9rqn6x4v.js";
10
+ } from "./models-dev-9rqn6x4v.js";
11
11
 
12
12
  // src/command.ts
13
- var exports_command4 = {};
14
- __export(exports_command4, {
15
- Command: () => exports_command4,
16
- Event: () => Event8,
13
+ var exports_command5 = {};
14
+ __export(exports_command5, {
15
+ Command: () => exports_command5,
16
+ Event: () => Event16,
17
17
  ExecutionError: () => ExecutionError2,
18
- Info: () => Info9,
19
- NotFoundError: () => NotFoundError5,
20
- Service: () => Service46,
21
- layer: () => layer20,
22
- node: () => node48
18
+ Info: () => Info20,
19
+ NotFoundError: () => NotFoundError9,
20
+ Service: () => Service76,
21
+ layer: () => layer27,
22
+ node: () => node79
23
23
  });
24
24
  import { Command } from "@opencode/schema/command";
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
- import { Event as Event8 } from "@opencode/schema/command";
28
- var Info9 = Command.Info;
27
+ import { Event as Event16 } from "@opencode/schema/command";
28
+ var Info20 = Command.Info;
29
29
 
30
- class NotFoundError5 extends Schema.TaggedError()("Command.NotFoundError", {
30
+ class NotFoundError9 extends Schema.TaggedError()("Command.NotFoundError", {
31
31
  command: Schema.String,
32
32
  message: Schema.String
33
33
  }) {
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
39
39
  }) {
40
40
  }
41
41
 
42
- class Service46 extends Context.Service()("@opencode/Command") {
42
+ class Service76 extends Context.Service()("@opencode/Command") {
43
43
  }
44
- var layer20 = Layer.effect(Service46, Effect.gen(function* () {
44
+ var layer27 = Layer.effect(Service76, Effect.gen(function* () {
45
45
  const bus = yield* Service85;
46
46
  const state = create3({
47
47
  name: "command",
@@ -51,11 +51,11 @@ var layer20 = Layer.effect(Service46, Effect.gen(function* () {
51
51
  }),
52
52
  notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
53
53
  });
54
- const info = (definition) => Info9.make({
54
+ const info = (definition) => Info20.make({
55
55
  name: definition.name,
56
56
  description: definition.description
57
57
  });
58
- return Service46.of({
58
+ return Service76.of({
59
59
  reload: state.reload,
60
60
  transform: state.transform,
61
61
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -66,14 +66,14 @@ var layer20 = Layer.effect(Service46, Effect.gen(function* () {
66
66
  execute: Effect.fn("Command.execute")(function* (input) {
67
67
  const definition = state.get().get(input.name);
68
68
  if (!definition)
69
- return yield* new NotFoundError5({ command: input.name, message: `Command not found: ${input.name}` });
69
+ return yield* new NotFoundError9({ command: input.name, message: `Command not found: ${input.name}` });
70
70
  return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
71
71
  })
72
72
  });
73
73
  }));
74
- var node48 = makeLocationNode({
75
- service: Service46,
76
- layer: layer20,
74
+ var node79 = makeLocationNode({
75
+ service: Service76,
76
+ layer: layer27,
77
77
  deps: [node89]
78
78
  });
79
79
  function errorMessage(error) {
@@ -86,4 +86,4 @@ function errorMessage(error) {
86
86
  return "Command execution failed";
87
87
  }
88
88
 
89
- export { Info9, NotFoundError5, ExecutionError2, Service46, layer20, node48, exports_command4, Event8 };
89
+ export { Info20, NotFoundError9, ExecutionError2, Service76, layer27, node79, exports_command5, Event16 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-mutation-9rqn6x4v.js";
3
+ } from "./models-dev-9rqn6x4v.js";
4
4
 
5
5
  // src/environment/files.ts
6
6
  var exports_files = {};