@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,24 +1,24 @@
1
1
  import {
2
2
  requestExecutor2
3
- } from "./file-mutation-775gj3j1.js";
3
+ } from "./models-dev-775gj3j1.js";
4
4
  import {
5
- ID14,
6
- Service79,
7
- node83
8
- } from "./file-mutation-ag0c998m.js";
5
+ ID16,
6
+ Service82,
7
+ node86
8
+ } from "./models-dev-cdq3zv6g.js";
9
9
  import {
10
10
  __export
11
- } from "./file-mutation-9rqn6x4v.js";
11
+ } from "./models-dev-9rqn6x4v.js";
12
12
 
13
13
  // src/voice.ts
14
14
  var exports_voice = {};
15
15
  __export(exports_voice, {
16
16
  InvalidRequestError: () => InvalidRequestError2,
17
- Service: () => Service20,
18
- UnavailableError: () => UnavailableError2,
17
+ Service: () => Service75,
18
+ UnavailableError: () => UnavailableError4,
19
19
  Voice: () => exports_voice,
20
- layer: () => layer12,
21
- node: () => node22
20
+ layer: () => layer26,
21
+ node: () => node78
22
22
  });
23
23
  import {
24
24
  Realtime
@@ -31,36 +31,36 @@ class InvalidRequestError2 extends Schema.TaggedError()("Voice.InvalidRequestErr
31
31
  }) {
32
32
  }
33
33
 
34
- class UnavailableError2 extends Schema.TaggedError()("Voice.UnavailableError", {
34
+ class UnavailableError4 extends Schema.TaggedError()("Voice.UnavailableError", {
35
35
  message: Schema.String,
36
36
  service: Schema.optional(Schema.String)
37
37
  }) {
38
38
  }
39
39
 
40
- class Service20 extends Context.Service()("@opencode/Voice") {
40
+ class Service75 extends Context.Service()("@opencode/Voice") {
41
41
  }
42
- var layer12 = Layer.effect(Service20, Effect.gen(function* () {
42
+ var layer26 = Layer.effect(Service75, Effect.gen(function* () {
43
43
  const executor = yield* RequestExecutor.Service;
44
- const integrations = yield* Service79;
44
+ const integrations = yield* Service82;
45
45
  const session = Effect.fn("Voice.session")(function* (input) {
46
46
  const engine = Realtime.engine(input.model);
47
47
  if (!engine)
48
48
  return yield* new InvalidRequestError2({ message: `Unsupported voice model: ${input.model}` });
49
- const connection = (yield* integrations.get(ID14.make(engine.provider)))?.connections.find((item) => item.type === "env" || item.method === "key");
50
- const credential = connection ? yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError2({ service: engine.provider, message: error.message }))) : undefined;
49
+ const connection = (yield* integrations.get(ID16.make(engine.provider)))?.connections.find((item) => item.type === "env" || item.method === "key");
50
+ const credential = connection ? yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError4({ service: engine.provider, message: error.message }))) : undefined;
51
51
  if (credential?.type !== "key")
52
- return yield* new UnavailableError2({
52
+ return yield* new UnavailableError4({
53
53
  service: engine.provider,
54
54
  message: engine.provider === "openai" ? "Voice needs an OpenAI API key on the server (a stored key or OPENAI_API_KEY). ChatGPT sign-in can't start voice sessions." : "Voice needs an xAI API key on the server (a stored key or XAI_API_KEY)."
55
55
  });
56
- return yield* Realtime.connect({ ...input, apiKey: Redacted.make(credential.key) }).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: engine.provider })));
56
+ return yield* Realtime.connect({ ...input, apiKey: Redacted.make(credential.key) }).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new UnavailableError4({ message: error.message, service: engine.provider })));
57
57
  });
58
- return Service20.of({ session });
58
+ return Service75.of({ session });
59
59
  }));
60
- var node22 = makeLocationNode({
61
- service: Service20,
62
- layer: layer12,
63
- deps: [node83, requestExecutor2]
60
+ var node78 = makeLocationNode({
61
+ service: Service75,
62
+ layer: layer26,
63
+ deps: [node86, requestExecutor2]
64
64
  });
65
65
 
66
- export { InvalidRequestError2, UnavailableError2, Service20, layer12, node22, exports_voice };
66
+ export { InvalidRequestError2, UnavailableError4, Service75, layer26, node78, exports_voice };
@@ -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/codemode/web.ts
6
6
  var exports_web = {};
@@ -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/vcs/patch.ts
6
6
  var exports_patch2 = {};
@@ -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/filesystem/protected.ts
6
6
  var exports_protected = {};
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./file-mutation-z5v4ffb3.js";
3
+ } from "./models-dev-z5v4ffb3.js";
4
4
  import {
5
- Service84,
6
- node88
7
- } from "./file-mutation-xtxypabt.js";
5
+ Service81,
6
+ node85
7
+ } from "./models-dev-qrf0dgbn.js";
8
8
  import {
9
9
  parse4,
10
10
  validateBranch3,
11
11
  cachePath2,
12
12
  same2
13
- } from "./file-mutation-84txncab.js";
13
+ } from "./models-dev-84txncab.js";
14
14
  import {
15
- Service73,
16
- node76
17
- } from "./file-mutation-ab17c7dx.js";
15
+ Service66,
16
+ node69
17
+ } from "./models-dev-80edwejb.js";
18
18
  import {
19
19
  __export
20
- } from "./file-mutation-9rqn6x4v.js";
20
+ } from "./models-dev-9rqn6x4v.js";
21
21
 
22
22
  // src/repository-cache.ts
23
23
  var exports_repository_cache = {};
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
30
30
  LockFailedError: () => LockFailedError2,
31
31
  RepositoryCache: () => exports_repository_cache,
32
32
  ResetFailedError: () => ResetFailedError2,
33
- Service: () => Service47,
33
+ Service: () => Service48,
34
34
  isError: () => isError2,
35
- node: () => node50,
35
+ node: () => node51,
36
36
  validateBranch: () => validateBranch2
37
37
  });
38
38
  import path from "path";
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
90
90
  }) {
91
91
  }
92
92
 
93
- class Service47 extends Context.Service()("@opencode/RepositoryCache") {
93
+ class Service48 extends Context.Service()("@opencode/RepositoryCache") {
94
94
  }
95
95
  function isError2(error) {
96
96
  return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
101
101
  catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
102
102
  });
103
103
  });
104
- var layer = Layer.effect(Service47, Effect.gen(function* () {
104
+ var layer = Layer.effect(Service48, Effect.gen(function* () {
105
105
  const fs = yield* FSUtil.Service;
106
- const git = yield* Service84;
106
+ const git = yield* Service81;
107
107
  const flock = yield* EffectFlock.Service;
108
108
  const global = yield* Global.Service;
109
- const kv = yield* Service73;
110
- return Service47.of({
109
+ const kv = yield* Service66;
110
+ return Service48.of({
111
111
  ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
112
112
  if (input.branch)
113
113
  yield* validateBranch2(input.branch);
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
167
167
  })
168
168
  });
169
169
  }));
170
- var node50 = makeGlobalNode({
171
- service: Service47,
170
+ var node51 = makeGlobalNode({
171
+ service: Service48,
172
172
  layer,
173
- deps: [EffectFlock.node, FSUtil.node, node88, Global.node, node76]
173
+ deps: [EffectFlock.node, FSUtil.node, node85, Global.node, node69]
174
174
  });
175
175
  function errorMessage(error) {
176
176
  return error instanceof globalThis.Error ? error.message : String(error);
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
179
179
  return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
180
180
  }
181
181
 
182
- export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service47, isError2, validateBranch2, node50, exports_repository_cache };
182
+ export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service48, isError2, validateBranch2, node51, exports_repository_cache };
@@ -1,65 +1,65 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./file-mutation-cba5y8md.js";
4
+ } from "./models-dev-ytqyg6zh.js";
5
5
  import {
6
6
  Service85,
7
7
  node89
8
- } from "./file-mutation-a5cb3rxh.js";
8
+ } from "./models-dev-20hxmkmy.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./file-mutation-pknna89w.js";
11
+ } from "./models-dev-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./file-mutation-3zsf4n22.js";
14
+ } from "./models-dev-3zsf4n22.js";
15
15
  import {
16
16
  __export
17
- } from "./file-mutation-9rqn6x4v.js";
17
+ } from "./models-dev-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event19,
23
+ Event: () => Event20,
24
24
  External: () => External2,
25
- ID: () => ID15,
26
- Info: () => Info25,
25
+ ID: () => ID17,
26
+ Info: () => Info28,
27
27
  Key: () => Key4,
28
28
  OAuth: () => OAuth3,
29
- Service: () => Service80,
29
+ Service: () => Service83,
30
30
  Value: () => Value2,
31
- node: () => node84
31
+ node: () => node87
32
32
  });
33
33
  import { asc, desc, eq } from "drizzle-orm";
34
34
  import { Cause, Context, Effect, Layer, Schema } from "effect";
35
35
  import { Credential } from "@opencode/schema/credential";
36
36
  import { Integration } from "@opencode/schema/integration";
37
37
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
38
- var ID15 = Credential.ID;
38
+ var ID17 = Credential.ID;
39
39
  var OAuth3 = Credential.OAuth;
40
40
  var Key4 = Credential.Key;
41
41
  var External2 = Credential.External;
42
42
  var Value2 = Credential.Value;
43
- var Event19 = Credential.Event;
43
+ var Event20 = Credential.Event;
44
44
 
45
- class Info25 extends Schema.Class("Credential.Info")({
46
- id: ID15,
45
+ class Info28 extends Schema.Class("Credential.Info")({
46
+ id: ID17,
47
47
  integrationID: Integration.ID,
48
48
  label: Schema.String,
49
49
  value: Value2
50
50
  }) {
51
51
  }
52
52
 
53
- class Service80 extends Context.Service()("@opencode/Credential") {
53
+ class Service83 extends Context.Service()("@opencode/Credential") {
54
54
  }
55
- var layer = Layer.effect(Service80, Effect.gen(function* () {
55
+ var layer = Layer.effect(Service83, Effect.gen(function* () {
56
56
  const db = (yield* Service86).db;
57
57
  const bus = yield* Service85;
58
58
  const decode = Schema.decodeUnknownSync(Value2);
59
59
  const stored = (row) => {
60
60
  if (!row.integration_id)
61
61
  return;
62
- return new Info25({
62
+ return new Info28({
63
63
  id: row.id,
64
64
  integrationID: row.integration_id,
65
65
  label: row.label,
@@ -70,7 +70,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
70
70
  const credential = stored(row);
71
71
  return credential ? [credential] : [];
72
72
  });
73
- return Service80.of({
73
+ return Service83.of({
74
74
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
75
75
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
76
76
  get: Effect.fn("Credential.get")(function* (id) {
@@ -78,8 +78,8 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
78
78
  return row ? stored(row) : undefined;
79
79
  }),
80
80
  create: Effect.fn("Credential.create")(function* (input) {
81
- const credential = new Info25({
82
- id: input.id ?? ID15.create(),
81
+ const credential = new Info28({
82
+ id: input.id ?? ID17.create(),
83
83
  integrationID: input.integrationID,
84
84
  label: input.label ?? "default",
85
85
  value: input.value
@@ -110,9 +110,9 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
110
110
  type: credential.value.type,
111
111
  active: activated
112
112
  });
113
- yield* bus.publish(Event19.Updated, {}, { global: true });
113
+ yield* bus.publish(Event20.Updated, {}, { global: true });
114
114
  if (activated)
115
- yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
115
+ yield* bus.publish(Event20.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
116
116
  return credential;
117
117
  }),
118
118
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -132,7 +132,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
132
132
  })), Effect.orDie);
133
133
  if (integrationID) {
134
134
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
135
- yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
135
+ yield* bus.publish(Event20.Switched, { integrationID, credentialID: id }, { global: true });
136
136
  }
137
137
  }),
138
138
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -164,7 +164,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
164
164
  labelChanged: updates.label !== undefined && updates.label !== credential.label
165
165
  });
166
166
  if (updates.label !== undefined && updates.label !== credential.label)
167
- yield* bus.publish(Event19.Updated, {}, { global: true });
167
+ yield* bus.publish(Event20.Updated, {}, { global: true });
168
168
  }),
169
169
  remove: Effect.fn("Credential.remove")(function* (id) {
170
170
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -197,12 +197,12 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
197
197
  active: removed.switched,
198
198
  ...removed.switched ? { replacementID: removed.credentialID } : {}
199
199
  });
200
- yield* bus.publish(Event19.Updated, {}, { global: true });
200
+ yield* bus.publish(Event20.Updated, {}, { global: true });
201
201
  if (removed.switched)
202
- yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
202
+ yield* bus.publish(Event20.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
203
203
  })
204
204
  });
205
205
  }));
206
- var node84 = makeGlobalNode({ service: Service80, layer, deps: [node90, node89] });
206
+ var node87 = makeGlobalNode({ service: Service83, layer, deps: [node90, node89] });
207
207
 
208
- export { ID15, OAuth3, Key4, External2, Value2, Event19, Info25, Service80, node84, exports_credential };
208
+ export { ID17, OAuth3, Key4, External2, Value2, Event20, Info28, Service83, node87, exports_credential };
@@ -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/session/usage.ts
6
6
  var exports_usage = {};
@@ -1,32 +1,32 @@
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
  evaluate2
10
- } from "./file-mutation-831szrnr.js";
10
+ } from "./models-dev-73mn35m0.js";
11
11
  import {
12
12
  __export
13
- } from "./file-mutation-9rqn6x4v.js";
13
+ } from "./models-dev-9rqn6x4v.js";
14
14
 
15
15
  // src/skill.ts
16
16
  var exports_skill5 = {};
17
17
  __export(exports_skill5, {
18
18
  DirectorySource: () => DirectorySource2,
19
19
  EmbeddedSource: () => EmbeddedSource2,
20
- Event: () => Event7,
21
- ID: () => ID4,
22
- Info: () => Info7,
20
+ Event: () => Event13,
21
+ ID: () => ID7,
22
+ Info: () => Info15,
23
23
  Name: () => Name2,
24
- Service: () => Service40,
24
+ Service: () => Service69,
25
25
  Skill: () => exports_skill5,
26
26
  Source: () => Source4,
27
27
  UrlSource: () => UrlSource2,
28
- available: () => available2,
29
- node: () => node43,
28
+ available: () => available3,
29
+ node: () => node72,
30
30
  prepare: () => prepare3,
31
31
  toModelOutput: () => toModelOutput3
32
32
  });
@@ -34,15 +34,15 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
34
34
  import path from "path";
35
35
  import { Context, Effect, Layer } from "effect";
36
36
  import { Skill } from "@opencode/schema/skill";
37
- import { Event as Event7 } from "@opencode/schema/skill";
37
+ import { Event as Event13 } from "@opencode/schema/skill";
38
38
  var DirectorySource2 = Skill.DirectorySource;
39
39
  var UrlSource2 = Skill.UrlSource;
40
40
  var EmbeddedSource2 = Skill.EmbeddedSource;
41
41
  var Source4 = Skill.Source;
42
- var Info7 = Skill.Info;
43
- var ID4 = Skill.ID;
42
+ var Info15 = Skill.Info;
43
+ var ID7 = Skill.ID;
44
44
  var Name2 = Skill.Name;
45
- var available2 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
45
+ var available3 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
46
46
  var toModelOutput3 = (skill, files) => {
47
47
  const directory = path.dirname(skill.path);
48
48
  return [
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
71
71
  };
72
72
  });
73
73
 
74
- class Service40 extends Context.Service()("@opencode/Skill") {
74
+ class Service69 extends Context.Service()("@opencode/Skill") {
75
75
  }
76
- var layer = Layer.effect(Service40, Effect.gen(function* () {
76
+ var layer = Layer.effect(Service69, Effect.gen(function* () {
77
77
  const bus = yield* Service85;
78
78
  const state = create3({
79
79
  name: "skill",
80
80
  initial: () => ({ skills: new Map }),
81
81
  editor: (editor) => ({
82
82
  list: () => Array.from(editor.skills.values()),
83
- get: (id) => editor.skills.get(ID4.make(id)),
83
+ get: (id) => editor.skills.get(ID7.make(id)),
84
84
  add: (skill) => {
85
85
  editor.skills.set(skill.id, { ...skill });
86
86
  },
87
87
  update: (id, update) => {
88
- const current = editor.skills.get(ID4.make(id));
88
+ const current = editor.skills.get(ID7.make(id));
89
89
  if (!current)
90
90
  return;
91
91
  update(current);
92
- current.id = ID4.make(id);
92
+ current.id = ID7.make(id);
93
93
  },
94
94
  remove: (id) => {
95
- editor.skills.delete(ID4.make(id));
95
+ editor.skills.delete(ID7.make(id));
96
96
  }
97
97
  }),
98
98
  notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
99
99
  });
100
- return Service40.of({
100
+ return Service69.of({
101
101
  transform: state.transform,
102
102
  reload: state.reload,
103
103
  get: Effect.fn("Skill.get")(function* (id) {
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
108
108
  })
109
109
  });
110
110
  }));
111
- var node43 = makeLocationNode({
112
- service: Service40,
111
+ var node72 = makeLocationNode({
112
+ service: Service69,
113
113
  layer,
114
114
  deps: [node89]
115
115
  });
116
116
 
117
- export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info7, ID4, Name2, available2, toModelOutput3, prepare3, Service40, node43, exports_skill5, Event7 };
117
+ export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info15, ID7, Name2, available3, toModelOutput3, prepare3, Service69, node72, exports_skill5, Event13 };
@@ -2,28 +2,28 @@ import {
2
2
  Resource2,
3
3
  ResourceTemplate2,
4
4
  ResourceContent2,
5
- Service38
6
- } from "./file-mutation-a0ngmh7v.js";
5
+ Service41
6
+ } from "./models-dev-csdvkhge.js";
7
7
  import {
8
- Service62
9
- } from "./file-mutation-831szrnr.js";
8
+ Service70
9
+ } from "./models-dev-73mn35m0.js";
10
10
  import {
11
11
  __export
12
- } from "./file-mutation-9rqn6x4v.js";
12
+ } from "./models-dev-9rqn6x4v.js";
13
13
 
14
14
  // src/tool/plugin/mcp-resource.ts
15
15
  var exports_mcp_resource = {};
16
16
  __export(exports_mcp_resource, {
17
17
  McpResourceTools: () => exports_mcp_resource,
18
- Plugin: () => Plugin43
18
+ Plugin: () => Plugin41
19
19
  });
20
20
  import { ToolFailure } from "@opencode/ai";
21
21
  import { Effect, Schema } from "effect";
22
- var Plugin43 = {
22
+ var Plugin41 = {
23
23
  id: "opencode.tools.mcp-resources",
24
24
  effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
25
- const mcp = yield* Service38;
26
- const permission = yield* Service62;
25
+ const mcp = yield* Service41;
26
+ const permission = yield* Service70;
27
27
  yield* ctx.tool.transform((editor) => {
28
28
  editor.add({
29
29
  name: "list_mcp_resources",
@@ -93,4 +93,4 @@ var Plugin43 = {
93
93
  })
94
94
  };
95
95
 
96
- export { Plugin43, exports_mcp_resource };
96
+ export { Plugin41, exports_mcp_resource };