@opencode/core 0.0.0-dev-19559 → 0.0.0-dev-19561

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 (786) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +76 -76
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +72 -72
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{location-services-a3rvyvck.js → app-0artwwxx.js} +3 -3
  9. package/dist/chunks/{location-services-t88fmw17.js → app-0ayjakrc.js} +53 -53
  10. package/dist/chunks/{location-services-dnrva5j8.js → app-0bed1fzj.js} +17 -17
  11. package/dist/chunks/{location-services-x1wea68s.js → app-0c36z3qz.js} +11 -11
  12. package/dist/chunks/app-0mesazry.js +4 -0
  13. package/dist/chunks/{location-services-rrqraew9.js → app-0nwgmm4h.js} +9 -9
  14. package/dist/chunks/{location-services-0paq2nw3.js → app-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{location-services-ep6qz3j5.js → app-0pb75hch.js} +5 -5
  16. package/dist/chunks/{location-services-0q0f95c6.js → app-0q0f95c6.js} +1 -1
  17. package/dist/chunks/{location-services-tazk16qe.js → app-0yxmk81s.js} +21 -21
  18. package/dist/chunks/{location-services-0r7yqxbf.js → app-0zeytkd6.js} +5 -5
  19. package/dist/chunks/{location-services-1y90h1vx.js → app-13yh26v0.js} +18 -18
  20. package/dist/chunks/{location-services-gv6a8nnw.js → app-19d3sct9.js} +5 -5
  21. package/dist/chunks/{location-services-wrypa0a8.js → app-1a0mjceb.js} +22 -22
  22. package/dist/chunks/{location-services-r5x6zcsm.js → app-1bbkgx8g.js} +3 -3
  23. package/dist/chunks/{location-services-1dazxqgg.js → app-1dazxqgg.js} +2 -2
  24. package/dist/chunks/{location-services-bk4fbmz6.js → app-1e7h8b71.js} +16 -16
  25. package/dist/chunks/{location-services-mxmcbjx9.js → app-1f9kgyzc.js} +28 -28
  26. package/dist/chunks/{location-services-rsdf2nvv.js → app-1hc11dc4.js} +4 -4
  27. package/dist/chunks/{location-services-xf3abeh5.js → app-1mt2ceq3.js} +7 -7
  28. package/dist/chunks/{location-services-qdfbbb92.js → app-1wnf822w.js} +4 -4
  29. package/dist/chunks/{location-services-da2m7fje.js → app-219neeqh.js} +5 -5
  30. package/dist/chunks/{location-services-21r38tys.js → app-21r38tys.js} +1 -1
  31. package/dist/chunks/{location-services-p5jzwgy8.js → app-21spz6s2.js} +3 -3
  32. package/dist/chunks/{location-services-21tk25ps.js → app-265kqrgy.js} +1 -1
  33. package/dist/chunks/{location-services-2a5m3afh.js → app-2a5m3afh.js} +1 -1
  34. package/dist/chunks/{location-services-zqevv83e.js → app-2c0gfpva.js} +11 -11
  35. package/dist/chunks/{location-services-ymw58m9e.js → app-2e9kmw2e.js} +11 -11
  36. package/dist/chunks/{location-services-4bnjac50.js → app-2k6rfqm0.js} +35 -35
  37. package/dist/chunks/{location-services-7dqw4kz8.js → app-2k8khapm.js} +5 -5
  38. package/dist/chunks/{location-services-asesgrap.js → app-2s388hy2.js} +31 -31
  39. package/dist/chunks/{location-services-0107p0wx.js → app-2v2p0zkw.js} +9 -9
  40. package/dist/chunks/{location-services-6kg1vfnr.js → app-30c1nq7z.js} +8 -8
  41. package/dist/chunks/{location-services-rqnks7rh.js → app-33n3bzdy.js} +6 -6
  42. package/dist/chunks/{location-services-rzmkrbvb.js → app-35wynegs.js} +2 -2
  43. package/dist/chunks/{location-services-z29r889b.js → app-3aabf6yx.js} +24 -24
  44. package/dist/chunks/{location-services-5p24j06g.js → app-3f1qtj92.js} +6 -6
  45. package/dist/chunks/{location-services-3fc6dm20.js → app-3fc6dm20.js} +1 -1
  46. package/dist/chunks/{location-services-3hepkmqq.js → app-3hepkmqq.js} +1 -1
  47. package/dist/chunks/{location-services-y392m5mq.js → app-3n9gdh1k.js} +12 -12
  48. package/dist/chunks/{location-services-2b6sywcb.js → app-3p1t101e.js} +11 -11
  49. package/dist/chunks/{location-services-fxgaaff8.js → app-3p827y1v.js} +15 -15
  50. package/dist/chunks/{location-services-e5c5etak.js → app-3q9crshv.js} +1 -1
  51. package/dist/chunks/{location-services-ez31g3tr.js → app-3qamp8r0.js} +35 -35
  52. package/dist/chunks/{location-services-3smtnn6g.js → app-3smtnn6g.js} +1 -1
  53. package/dist/chunks/{location-services-3tvqynh2.js → app-3tvqynh2.js} +1 -1
  54. package/dist/chunks/{location-services-tc7d8dq5.js → app-3z9f67a4.js} +25 -25
  55. package/dist/chunks/{location-services-kn5g9ag2.js → app-488jmg72.js} +4 -4
  56. package/dist/chunks/{location-services-c5fzwpwv.js → app-4c7t2hb3.js} +9 -9
  57. package/dist/chunks/{location-services-cdk1an83.js → app-4fgsg95c.js} +20 -20
  58. package/dist/chunks/{location-services-dhpd5wth.js → app-4m51zt69.js} +9 -9
  59. package/dist/chunks/{location-services-5jmq8f10.js → app-4s7s6hns.js} +13 -13
  60. package/dist/chunks/{location-services-g67wee21.js → app-4ske52ay.js} +4 -4
  61. package/dist/chunks/{location-services-m4a27aj9.js → app-4tgepgz2.js} +43 -43
  62. package/dist/chunks/{location-services-hfdr1yjj.js → app-4vf9gwg8.js} +4 -4
  63. package/dist/chunks/{location-services-9gkkwgmt.js → app-4xd8swbf.js} +11 -11
  64. package/dist/chunks/{location-services-svw2kbhv.js → app-4xqwm4r2.js} +18 -18
  65. package/dist/chunks/{location-services-56gdpj1q.js → app-56gdpj1q.js} +2 -2
  66. package/dist/chunks/{location-services-a1bz86dw.js → app-5c4hm403.js} +3 -3
  67. package/dist/chunks/{location-services-5daktx2q.js → app-5daktx2q.js} +1 -1
  68. package/dist/chunks/{location-services-3warvzgz.js → app-5fasnjbz.js} +19 -19
  69. package/dist/chunks/{location-services-zgny9mgw.js → app-5msnf33t.js} +15 -15
  70. package/dist/chunks/{location-services-5t3nmthw.js → app-5t3nmthw.js} +2 -2
  71. package/dist/chunks/{location-services-46jrfgxk.js → app-5z426dhq.js} +11 -11
  72. package/dist/chunks/{location-services-669tq793.js → app-669tq793.js} +1 -1
  73. package/dist/chunks/{location-services-hdcnmat8.js → app-6fmew5e2.js} +7 -7
  74. package/dist/chunks/{location-services-2402vzrj.js → app-6h73sxmp.js} +5 -5
  75. package/dist/chunks/{location-services-806j49yq.js → app-6hh8tjw2.js} +4 -4
  76. package/dist/chunks/{location-services-6msgmcgs.js → app-6msgmcgs.js} +1 -1
  77. package/dist/chunks/{location-services-snm0wknf.js → app-6ytr2r1k.js} +5 -5
  78. package/dist/chunks/{location-services-pw3qs60z.js → app-7039s2ae.js} +32 -32
  79. package/dist/chunks/{location-services-6kb1ngvr.js → app-70d2s7af.js} +1 -1
  80. package/dist/chunks/{location-services-71q4at8m.js → app-71q4at8m.js} +1 -1
  81. package/dist/chunks/{location-services-x3cthaq4.js → app-79a0b5rg.js} +92 -92
  82. package/dist/chunks/{location-services-7btk3z5c.js → app-79by68xe.js} +9 -9
  83. package/dist/chunks/{location-services-kgjmys5f.js → app-7bdqzs13.js} +23 -23
  84. package/dist/chunks/{location-services-7bmhse3q.js → app-7bmhse3q.js} +1 -1
  85. package/dist/chunks/{location-services-rbbcc4sn.js → app-7bt1mwkz.js} +29 -29
  86. package/dist/chunks/{location-services-zb0pgy2d.js → app-7g1vzt8j.js} +35 -35
  87. package/dist/chunks/{location-services-sctf0nv5.js → app-7jf3rx6v.js} +13 -13
  88. package/dist/chunks/{location-services-gh6t0b6w.js → app-7x2xfc77.js} +11 -11
  89. package/dist/chunks/{location-services-r8t7p2dr.js → app-815rpf75.js} +18 -18
  90. package/dist/chunks/{location-services-2hyh68ab.js → app-844ef7ks.js} +8 -8
  91. package/dist/chunks/{location-services-jfwrbgpq.js → app-8am9vma6.js} +24 -24
  92. package/dist/chunks/{location-services-8d7r5vzw.js → app-8d7r5vzw.js} +1 -1
  93. package/dist/chunks/{location-services-8de9g2wa.js → app-8de9g2wa.js} +1 -1
  94. package/dist/chunks/{location-services-jnqvcmzk.js → app-8mv32mqt.js} +47 -47
  95. package/dist/chunks/{location-services-q1xp3f9a.js → app-95fq9yxk.js} +10 -10
  96. package/dist/chunks/{location-services-3sdwjz1f.js → app-962tx2qa.js} +22 -22
  97. package/dist/chunks/{location-services-bnfqmztx.js → app-99sec61k.js} +9 -9
  98. package/dist/chunks/{location-services-q7wajf8z.js → app-99xay3p1.js} +8 -8
  99. package/dist/chunks/{location-services-3pbjq009.js → app-9s9rwn5z.js} +8 -8
  100. package/dist/chunks/{location-services-74w8r590.js → app-9v3m3k6g.js} +9 -9
  101. package/dist/chunks/{location-services-q19p4fn9.js → app-9vs0xtad.js} +3 -3
  102. package/dist/chunks/{location-services-cnhenat1.js → app-9wgnr44e.js} +11 -11
  103. package/dist/chunks/{location-services-vjrmvfr5.js → app-9y8671sk.js} +9 -9
  104. package/dist/chunks/{location-services-eksn2462.js → app-a2re09g1.js} +22 -22
  105. package/dist/chunks/{location-services-aaet6srn.js → app-aaet6srn.js} +2 -2
  106. package/dist/chunks/{location-services-gh6q9j8q.js → app-as64xgvx.js} +22 -22
  107. package/dist/chunks/{location-services-x8ynkkcc.js → app-axqjetvy.js} +25 -25
  108. package/dist/chunks/{location-services-2nwsfn5b.js → app-b3f68z6w.js} +6 -6
  109. package/dist/chunks/{location-services-b6gygkdw.js → app-b6gygkdw.js} +2 -2
  110. package/dist/chunks/{location-services-s85ks2nt.js → app-b6tnvp33.js} +19 -19
  111. package/dist/chunks/{location-services-wwakqp3q.js → app-b99ewpxx.js} +11 -11
  112. package/dist/chunks/{location-services-pgz290qp.js → app-bb47nq2s.js} +17 -17
  113. package/dist/chunks/{location-services-bzm8498q.js → app-bpccfqd3.js} +12 -12
  114. package/dist/chunks/{location-services-h2fpsr6d.js → app-btxxvpyy.js} +14 -14
  115. package/dist/chunks/app-by5v678g.js +18 -0
  116. package/dist/chunks/{location-services-f54y586g.js → app-c25j16b6.js} +18 -18
  117. package/dist/chunks/{location-services-c5gn303e.js → app-c5gn303e.js} +1 -1
  118. package/dist/chunks/{location-services-egnx9ap8.js → app-cbxv00zf.js} +8 -8
  119. package/dist/chunks/{location-services-qm7jrdpz.js → app-ctzssw83.js} +8 -8
  120. package/dist/chunks/{location-services-qtptnsh1.js → app-cvtmmhw6.js} +1 -1
  121. package/dist/chunks/{location-services-t0aezmja.js → app-d08jv58j.js} +19 -19
  122. package/dist/chunks/{location-services-fz3nre5y.js → app-d1r29v35.js} +5 -5
  123. package/dist/chunks/{location-services-fdnxsryt.js → app-d9yh24m3.js} +46 -46
  124. package/dist/chunks/{location-services-b38fmf2s.js → app-dd52qhkk.js} +22 -22
  125. package/dist/chunks/{location-services-8p4f9s12.js → app-dj2t23y0.js} +2 -2
  126. package/dist/chunks/{location-services-nxza44cc.js → app-djhgwtj8.js} +7 -7
  127. package/dist/chunks/{location-services-nags8s8s.js → app-dpcg14ab.js} +45 -45
  128. package/dist/chunks/{location-services-ajzk830n.js → app-drhmh129.js} +87 -87
  129. package/dist/chunks/{location-services-5jdta1ph.js → app-ds9cym46.js} +3 -3
  130. package/dist/chunks/app-dwkgsnj0.js +462 -0
  131. package/dist/chunks/{location-services-mt4vh0e2.js → app-dx9cm0t0.js} +9 -9
  132. package/dist/chunks/{location-services-3w2b2yj4.js → app-e3mxans8.js} +5 -5
  133. package/dist/chunks/{location-services-t6c2wwh2.js → app-e5batswc.js} +23 -23
  134. package/dist/chunks/{location-services-e5nv3ght.js → app-e5nv3ght.js} +2 -2
  135. package/dist/chunks/{location-services-ktb338dy.js → app-e5teavnc.js} +9 -9
  136. package/dist/chunks/{location-services-7namk81z.js → app-e7eq38wk.js} +9 -9
  137. package/dist/chunks/{location-services-s8d7rejh.js → app-eaj1djv9.js} +6 -6
  138. package/dist/chunks/{location-services-xte6ahy5.js → app-ebk5y3wp.js} +18 -18
  139. package/dist/chunks/{location-services-czxzwpvc.js → app-ee0f5b90.js} +8 -8
  140. package/dist/chunks/{location-services-etq0c3wd.js → app-etq0c3wd.js} +1 -1
  141. package/dist/chunks/{location-services-rf2e8819.js → app-eymr46he.js} +35 -35
  142. package/dist/chunks/{location-services-6qzgnqpn.js → app-ez7tesda.js} +11 -11
  143. package/dist/chunks/{location-services-1acjjqhc.js → app-f2n192rq.js} +4 -4
  144. package/dist/chunks/{location-services-za77p82n.js → app-f6h44vt5.js} +6 -6
  145. package/dist/chunks/{location-services-bha7t1fd.js → app-fen7mw99.js} +8 -8
  146. package/dist/chunks/{location-services-7bnzk546.js → app-ff0htmxq.js} +6 -6
  147. package/dist/chunks/{location-services-fxbjtjnd.js → app-fxbjtjnd.js} +1 -1
  148. package/dist/chunks/{location-services-2q22scwf.js → app-g1ww8e3f.js} +15 -15
  149. package/dist/chunks/{location-services-gd4qta3r.js → app-gd4qta3r.js} +1 -1
  150. package/dist/chunks/{location-services-qehmhyyy.js → app-gnz55c53.js} +37 -37
  151. package/dist/chunks/{location-services-awz2tjrw.js → app-gpsmm3ta.js} +29 -29
  152. package/dist/chunks/{location-services-yf2za607.js → app-gq1a1j0q.js} +25 -25
  153. package/dist/chunks/{location-services-5abp1npe.js → app-grskzymy.js} +6 -6
  154. package/dist/chunks/{location-services-h03wrkyp.js → app-h03wrkyp.js} +2 -2
  155. package/dist/chunks/{location-services-t542j23v.js → app-h4wmnrav.js} +27 -27
  156. package/dist/chunks/app-h6ka0qq8.js +26 -0
  157. package/dist/chunks/{location-services-h6vf3j39.js → app-h6vf3j39.js} +1 -1
  158. package/dist/chunks/{location-services-wkj0n1v1.js → app-h86eetsm.js} +13 -13
  159. package/dist/chunks/{location-services-3kh1f1zn.js → app-h9dy7g3k.js} +24 -24
  160. package/dist/chunks/{location-services-3gr4c0yn.js → app-hax2xkfs.js} +6 -6
  161. package/dist/chunks/{location-services-f828m53h.js → app-hdnk95c8.js} +2 -2
  162. package/dist/chunks/{location-services-12hzhhar.js → app-heqg70k2.js} +23 -23
  163. package/dist/chunks/{location-services-j56e64zr.js → app-j56e64zr.js} +1 -1
  164. package/dist/chunks/{location-services-akgkgm3j.js → app-j6kg5r8z.js} +11 -11
  165. package/dist/chunks/{location-services-1a6p2twq.js → app-j83byb14.js} +4 -4
  166. package/dist/chunks/{location-services-5p34p9kp.js → app-j8v4na37.js} +167 -167
  167. package/dist/chunks/{location-services-4wza7q3k.js → app-j92hx5ks.js} +5 -5
  168. package/dist/chunks/{location-services-yehn4zmb.js → app-jc17n9gv.js} +20 -20
  169. package/dist/chunks/{location-services-sc5bxhez.js → app-jhvcngzp.js} +17 -17
  170. package/dist/chunks/{location-services-kne8f3cn.js → app-jvf3yq6v.js} +4 -4
  171. package/dist/chunks/{location-services-wcj3hpf6.js → app-k6qndfad.js} +28 -28
  172. package/dist/chunks/{location-services-v1vdsm34.js → app-k8f4e1q1.js} +15 -15
  173. package/dist/chunks/{location-services-v94ex0ew.js → app-k91vn9qt.js} +13 -13
  174. package/dist/chunks/{location-services-p6xwt7p7.js → app-kaph4dp2.js} +18 -18
  175. package/dist/chunks/{location-services-sjcjq8wt.js → app-kcvdw7hq.js} +25 -25
  176. package/dist/chunks/{location-services-324nsxhw.js → app-kcw8n58a.js} +6 -6
  177. package/dist/chunks/{location-services-kg06axw8.js → app-kg06axw8.js} +1 -1
  178. package/dist/chunks/{location-services-f3exsf4b.js → app-kkgs1rnq.js} +13 -13
  179. package/dist/chunks/{location-services-20z78j6a.js → app-knb92ksz.js} +9 -9
  180. package/dist/chunks/{location-services-8esnxs8p.js → app-kpvyk30t.js} +9 -9
  181. package/dist/chunks/{location-services-yj2b1a12.js → app-kragzxm7.js} +8 -8
  182. package/dist/chunks/{location-services-rd4k2m4h.js → app-kv3ch0es.js} +46 -46
  183. package/dist/chunks/{location-services-cfpkc3c9.js → app-m0jqrx5p.js} +2 -2
  184. package/dist/chunks/{location-services-3yqybkx7.js → app-m44y384t.js} +17 -17
  185. package/dist/chunks/{location-services-m9w0rfyh.js → app-m9w0rfyh.js} +1 -1
  186. package/dist/chunks/{location-services-m246nkse.js → app-mc3s7fb4.js} +47 -47
  187. package/dist/chunks/{location-services-yq0hfnt4.js → app-mew188h6.js} +28 -28
  188. package/dist/chunks/{location-services-2re9my94.js → app-mkw2wvv0.js} +9 -9
  189. package/dist/chunks/{location-services-wd6ep4mh.js → app-mz6ae2yf.js} +1 -1
  190. package/dist/chunks/{location-services-abtfz210.js → app-n863r4pp.js} +30 -30
  191. package/dist/chunks/{location-services-p57dvf2n.js → app-ndqtf2h8.js} +4 -4
  192. package/dist/chunks/{location-services-qjjc8a1y.js → app-nfbtqdky.js} +32 -32
  193. package/dist/chunks/{location-services-64hgwcnk.js → app-ngybnnec.js} +42 -42
  194. package/dist/chunks/{location-services-nhy5jxhy.js → app-nhy5jxhy.js} +1 -1
  195. package/dist/chunks/{location-services-7ywwk5xq.js → app-nk310e7d.js} +5 -5
  196. package/dist/chunks/{location-services-nv5vn7qx.js → app-nv5vn7qx.js} +2 -2
  197. package/dist/chunks/{location-services-w68pdkzk.js → app-nx7mgqwr.js} +15 -15
  198. package/dist/chunks/{location-services-nqeb2sgr.js → app-nyzamb02.js} +20 -20
  199. package/dist/chunks/{location-services-8w9tvb25.js → app-p1wf2k30.js} +9 -9
  200. package/dist/chunks/{location-services-p26tbd6c.js → app-p1yhy00c.js} +15 -15
  201. package/dist/chunks/{location-services-15vjgxzg.js → app-p9bng2jk.js} +19 -19
  202. package/dist/chunks/{location-services-ywb2p8t3.js → app-pbfzwbsy.js} +13 -13
  203. package/dist/chunks/{location-services-qqj3522g.js → app-pezvt5x4.js} +67 -67
  204. package/dist/chunks/{location-services-pjvnvgmy.js → app-pjvnvgmy.js} +1 -1
  205. package/dist/chunks/{location-services-wn38nyfs.js → app-pkaeh3jp.js} +14 -14
  206. package/dist/chunks/{location-services-pknna89w.js → app-pknna89w.js} +1 -1
  207. package/dist/chunks/{location-services-5stag6tc.js → app-q0g9019d.js} +25 -25
  208. package/dist/chunks/{location-services-wz5tj16h.js → app-q4fmv0xv.js} +5 -5
  209. package/dist/chunks/{location-services-h7ygw6q4.js → app-q8qja58b.js} +2 -2
  210. package/dist/chunks/{location-services-f3ngv102.js → app-qj8eh1ht.js} +4 -4
  211. package/dist/chunks/{location-services-94wz4y0m.js → app-qkk52kd6.js} +2 -2
  212. package/dist/chunks/{location-services-hnfgw3cj.js → app-qrr9kfam.js} +18 -18
  213. package/dist/chunks/{location-services-9vge17qj.js → app-qrv0hc0e.js} +10 -10
  214. package/dist/chunks/{location-services-n0t922vv.js → app-qs7kc60q.js} +8 -8
  215. package/dist/chunks/{location-services-qsdy395h.js → app-qsdy395h.js} +1 -1
  216. package/dist/chunks/{location-services-g0e71rt1.js → app-qtfeymnv.js} +7 -7
  217. package/dist/chunks/{location-services-77grkstg.js → app-r0mcpz4e.js} +10 -10
  218. package/dist/chunks/{location-services-pbd26e3f.js → app-r1wvay4d.js} +41 -41
  219. package/dist/chunks/{location-services-hm6284ps.js → app-r3ft6425.js} +17 -17
  220. package/dist/chunks/{location-services-r9mregkx.js → app-r9mregkx.js} +2 -2
  221. package/dist/chunks/{location-services-rph3zd4r.js → app-rph3zd4r.js} +1 -1
  222. package/dist/chunks/{location-services-zeh9ct20.js → app-rq775frq.js} +2 -2
  223. package/dist/chunks/{location-services-sf2mgyns.js → app-rs3tpxgz.js} +11 -11
  224. package/dist/chunks/{location-services-74hskhkf.js → app-s0j1fbfd.js} +4 -4
  225. package/dist/chunks/{location-services-gd23fz9g.js → app-s1w7wtw7.js} +18 -18
  226. package/dist/chunks/{location-services-3vphhsh8.js → app-sbvg55hg.js} +10 -10
  227. package/dist/chunks/app-se2r9bmm.js +247 -0
  228. package/dist/chunks/{location-services-y0qqx668.js → app-sgr3arpp.js} +37 -37
  229. package/dist/chunks/{location-services-209s1xr9.js → app-sgvj2xz6.js} +22 -22
  230. package/dist/chunks/{location-services-0tcdf7k2.js → app-t1wwgba0.js} +27 -27
  231. package/dist/chunks/{location-services-sykp89n1.js → app-t29fdsch.js} +28 -28
  232. package/dist/chunks/{location-services-77wnbb7e.js → app-t7scepzc.js} +30 -30
  233. package/dist/chunks/{location-services-tazgh4e4.js → app-tazgh4e4.js} +1 -1
  234. package/dist/chunks/{location-services-af04s6ss.js → app-tb89zjsd.js} +5 -5
  235. package/dist/chunks/{location-services-tcezcvh9.js → app-tcezcvh9.js} +1 -1
  236. package/dist/chunks/{location-services-tdstcens.js → app-tdstcens.js} +1 -1
  237. package/dist/chunks/{location-services-kmbfnqse.js → app-te6cpsjw.js} +4 -4
  238. package/dist/chunks/{location-services-qw7as7wh.js → app-tf7xy0nv.js} +17 -18
  239. package/dist/chunks/{location-services-0br2etm2.js → app-tnpb702e.js} +16 -16
  240. package/dist/chunks/{location-services-13s9ytph.js → app-tqkfp8mb.js} +21 -21
  241. package/dist/chunks/{location-services-tvtrv512.js → app-tvtrv512.js} +1 -1
  242. package/dist/chunks/{location-services-jdk5a8ef.js → app-v0rnkkan.js} +21 -21
  243. package/dist/chunks/{location-services-bn959g3n.js → app-v0vna0hr.js} +25 -25
  244. package/dist/chunks/{location-services-182ks7j2.js → app-v2f6dcv3.js} +2 -2
  245. package/dist/chunks/{location-services-kx9mnje4.js → app-v4tagf9s.js} +4 -4
  246. package/dist/chunks/{location-services-3mv8mm0j.js → app-vcjpx2p6.js} +55 -55
  247. package/dist/chunks/{location-services-veqvce7d.js → app-veqvce7d.js} +1 -1
  248. package/dist/chunks/{location-services-vzcthcp8.js → app-vzcthcp8.js} +1 -1
  249. package/dist/chunks/{location-services-w3wsvvr9.js → app-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{location-services-fh5p4e1a.js → app-wafhz9z5.js} +14 -14
  251. package/dist/chunks/{location-services-gmprtwsb.js → app-wavq5vqb.js} +1 -1
  252. package/dist/chunks/{location-services-wd87259q.js → app-wd87259q.js} +1 -1
  253. package/dist/chunks/{location-services-tyjkzayg.js → app-wjbb3v96.js} +4 -4
  254. package/dist/chunks/{location-services-vfccn4h6.js → app-wmsmh04t.js} +1 -1
  255. package/dist/chunks/{location-services-brdyxys3.js → app-wmwr0kv0.js} +25 -25
  256. package/dist/chunks/{location-services-d5bxcvmn.js → app-wp14g9ps.js} +30 -30
  257. package/dist/chunks/{location-services-x1ezjp6w.js → app-x1ezjp6w.js} +1 -1
  258. package/dist/chunks/{location-services-aq8a4byw.js → app-xaq2s33m.js} +14 -14
  259. package/dist/chunks/{location-services-25c7b4ag.js → app-xaxvdqwz.js} +19 -19
  260. package/dist/chunks/{location-services-ay545bg8.js → app-xfd3m1ss.js} +9 -9
  261. package/dist/chunks/{location-services-v7kfft76.js → app-xg6w0apm.js} +45 -45
  262. package/dist/chunks/{location-services-fe4e03fy.js → app-xhgrbxjr.js} +31 -31
  263. package/dist/chunks/{location-services-qrags8dc.js → app-xrefmav4.js} +7 -10
  264. package/dist/chunks/{location-services-y1fvbwt7.js → app-y1fvbwt7.js} +1 -1
  265. package/dist/chunks/{location-services-wkvq9f77.js → app-y47n03xn.js} +16 -16
  266. package/dist/chunks/{location-services-89611v4f.js → app-y598pph1.js} +11 -11
  267. package/dist/chunks/{location-services-dpkg50ah.js → app-y71avatq.js} +4 -4
  268. package/dist/chunks/{location-services-7gtsraay.js → app-y8j74zyv.js} +10 -10
  269. package/dist/chunks/{location-services-c898en29.js → app-yk9xxxbm.js} +16 -16
  270. package/dist/chunks/{location-services-e94mthdd.js → app-ymk0y6rr.js} +25 -25
  271. package/dist/chunks/{location-services-yrhqyw5v.js → app-yrhqyw5v.js} +1 -1
  272. package/dist/chunks/{location-services-yrznvahk.js → app-yrznvahk.js} +2 -2
  273. package/dist/chunks/{location-services-srytydfc.js → app-ysancpsm.js} +33 -33
  274. package/dist/chunks/{location-services-rpery2z7.js → app-ysp9ar34.js} +41 -41
  275. package/dist/chunks/{location-services-66edaq6q.js → app-yt5vak3w.js} +24 -24
  276. package/dist/chunks/{location-services-ngm6p4ft.js → app-z01ksdxp.js} +17 -17
  277. package/dist/chunks/{location-services-z0bkrqjs.js → app-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{location-services-6q9fjeng.js → app-z263g23a.js} +4 -4
  279. package/dist/chunks/{location-services-4vrs6m8e.js → app-z436s2b4.js} +12 -12
  280. package/dist/chunks/{location-services-ac0pzs0f.js → app-z5ptqwzc.js} +36 -36
  281. package/dist/chunks/{location-services-z63w68vq.js → app-z63w68vq.js} +2 -2
  282. package/dist/chunks/{location-services-bvr7grfh.js → app-z88hp0aa.js} +4 -4
  283. package/dist/chunks/{location-services-h8m8yr7y.js → app-zc923k6h.js} +26 -26
  284. package/dist/chunks/{location-services-sdhnfkc0.js → app-zhmtbbwy.js} +22 -22
  285. package/dist/chunks/{location-services-zwzz9fr0.js → app-zjxmyx9h.js} +16 -16
  286. package/dist/chunks/{location-services-zr2ceqn5.js → app-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{location-services-zxq2ej10.js → app-zxq2ej10.js} +1 -1
  288. package/dist/chunks/{location-services-x4pdjrgh.js → app-zzn8fca5.js} +5 -5
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +5 -5
  291. package/dist/codemode/tool.js +2 -2
  292. package/dist/command.js +82 -82
  293. package/dist/config/discovery.js +79 -79
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +19 -19
  296. package/dist/config/plugin/agent.js +117 -117
  297. package/dist/config/plugin/command.js +210 -210
  298. package/dist/config/plugin/compaction.js +157 -157
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +119 -119
  301. package/dist/config/plugin/image.js +117 -117
  302. package/dist/config/plugin/instruction.js +87 -87
  303. package/dist/config/plugin/location-watcher.js +117 -117
  304. package/dist/config/plugin/mcp.js +126 -126
  305. package/dist/config/plugin/policy.js +116 -116
  306. package/dist/config/plugin/provider.js +115 -115
  307. package/dist/config/plugin/reference.js +119 -119
  308. package/dist/config/plugin/shell.js +120 -120
  309. package/dist/config/plugin/skill-file.js +99 -99
  310. package/dist/config/plugin/skill.js +138 -138
  311. package/dist/config/plugin/snapshot.js +117 -117
  312. package/dist/config/plugin/source.js +113 -113
  313. package/dist/config/plugin/tool-output.js +119 -119
  314. package/dist/config/plugin/websearch.js +117 -117
  315. package/dist/config/plugin/worktree.js +120 -120
  316. package/dist/config/variable.js +3 -3
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +121 -121
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +84 -84
  321. package/dist/database/database.js +69 -69
  322. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +15 -15
  326. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  329. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  337. package/dist/database/drizzle.js +16 -16
  338. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  339. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  340. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  341. package/dist/database/migration/20260225215848_workspace.js +1 -1
  342. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  343. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  344. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  345. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  346. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  347. package/dist/database/migration/20260323234822_events.js +1 -1
  348. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  349. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  350. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  351. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  352. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  353. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  354. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  355. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  356. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  357. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  358. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  359. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  360. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  361. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  362. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  363. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  364. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  365. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  366. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  367. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  368. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  369. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  370. package/dist/database/migration/20260611035744_credential.js +1 -1
  371. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  372. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  373. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  374. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  375. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  376. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  377. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  378. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  379. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  380. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  381. package/dist/database/migration/20260812213948_worktree.js +1 -1
  382. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  383. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  384. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  385. package/dist/database/migration.gen.js +48 -48
  386. package/dist/database/migration.js +50 -50
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +78 -78
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +363 -363
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +3 -3
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +90 -90
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +92 -92
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +1 -1
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +73 -73
  410. package/dist/file-access.js +101 -101
  411. package/dist/file-mutation.js +91 -91
  412. package/dist/file-retention.js +1 -1
  413. package/dist/file.js +1 -1
  414. package/dist/filesystem/fff.bun.js +2 -2
  415. package/dist/filesystem/fff.js +1 -1
  416. package/dist/filesystem/fff.node.js +2 -2
  417. package/dist/filesystem/fff.workerd.js +2 -2
  418. package/dist/filesystem/ignore.js +1 -1
  419. package/dist/filesystem/location-watcher-policy.js +6 -6
  420. package/dist/filesystem/location-watcher.js +218 -218
  421. package/dist/filesystem/protected.js +1 -1
  422. package/dist/filesystem/search.js +101 -101
  423. package/dist/filesystem/watcher-binding.js +1 -1
  424. package/dist/filesystem/watcher.js +15 -15
  425. package/dist/filesystem.js +102 -102
  426. package/dist/form.js +83 -83
  427. package/dist/formatter/builtins.js +4 -4
  428. package/dist/formatter.js +84 -84
  429. package/dist/generate.js +90 -90
  430. package/dist/git.js +8 -8
  431. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  432. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  433. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  435. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  437. package/dist/github-copilot/copilot-provider.js +17 -17
  438. package/dist/github-copilot/models.js +7 -7
  439. package/dist/github-copilot/openai-compatible-error.js +1 -1
  440. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  441. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  442. package/dist/github-copilot/responses/openai-error.js +1 -1
  443. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  444. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  445. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  446. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  447. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  450. package/dist/id/id.js +1 -1
  451. package/dist/image/photon.js +2 -2
  452. package/dist/image.js +6 -6
  453. package/dist/instance/service.js +5 -5
  454. package/dist/instance.js +354 -354
  455. package/dist/instruction-discovery.js +84 -84
  456. package/dist/instructions/builtins.js +84 -84
  457. package/dist/instructions/index.js +3 -3
  458. package/dist/integration/connection.js +1 -1
  459. package/dist/integration.js +87 -87
  460. package/dist/job.js +78 -78
  461. package/dist/kv/sql.js +2 -2
  462. package/dist/kv.js +72 -72
  463. package/dist/location-activity.js +135 -135
  464. package/dist/location-mutation.js +101 -101
  465. package/dist/location-service-map.js +85 -85
  466. package/dist/location-services.js +351 -351
  467. package/dist/location.js +84 -84
  468. package/dist/mcp/client.js +88 -88
  469. package/dist/mcp/index.js +105 -105
  470. package/dist/mcp/instructions.js +124 -124
  471. package/dist/mcp/oauth.js +3 -3
  472. package/dist/mcp/stdio.js +87 -87
  473. package/dist/mime.js +1 -1
  474. package/dist/modal/models.js +7 -7
  475. package/dist/model-resolver.js +87 -87
  476. package/dist/model.js +10 -10
  477. package/dist/models-dev.js +75 -75
  478. package/dist/oauth/page.js +1 -1
  479. package/dist/permission/saved.js +79 -79
  480. package/dist/permission/sql.js +5 -5
  481. package/dist/permission.js +104 -104
  482. package/dist/persistent-pty/binary.bun.js +1 -1
  483. package/dist/persistent-pty/daemon.js +1 -1
  484. package/dist/persistent-pty/index.js +85 -85
  485. package/dist/persistent-pty/pty-binding.js +1 -1
  486. package/dist/persistent-pty.js +74 -74
  487. package/dist/plugin/agent.js +99 -99
  488. package/dist/plugin/command.js +96 -96
  489. package/dist/plugin/hooks.js +1 -1
  490. package/dist/plugin/host.js +215 -215
  491. package/dist/plugin/instance.js +5 -5
  492. package/dist/plugin/internal.js +325 -325
  493. package/dist/plugin/mcp-codemode-exclusion.js +1 -1
  494. package/dist/plugin/models-dev.js +76 -76
  495. package/dist/plugin/module.js +7 -7
  496. package/dist/plugin/optimize.js +2 -2
  497. package/dist/plugin/plan.js +99 -99
  498. package/dist/plugin/promise.js +1 -1
  499. package/dist/plugin/provider/alibaba.js +2 -2
  500. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  501. package/dist/plugin/provider/azure.js +120 -120
  502. package/dist/plugin/provider/cerebras.js +2 -2
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +119 -119
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +119 -119
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +116 -116
  507. package/dist/plugin/provider/digitalocean.js +80 -80
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/gateway.js +2 -2
  511. package/dist/plugin/provider/github-copilot.js +81 -81
  512. package/dist/plugin/provider/gitlab.js +3 -3
  513. package/dist/plugin/provider/google-vertex.js +2 -2
  514. package/dist/plugin/provider/kilo.js +2 -2
  515. package/dist/plugin/provider/llmgateway.js +77 -77
  516. package/dist/plugin/provider/lmstudio.js +119 -119
  517. package/dist/plugin/provider/modal.js +80 -80
  518. package/dist/plugin/provider/nvidia.js +2 -2
  519. package/dist/plugin/provider/ollama.js +119 -119
  520. package/dist/plugin/provider/openai-compatible.js +1 -1
  521. package/dist/plugin/provider/openai.js +79 -79
  522. package/dist/plugin/provider/opencode.js +80 -80
  523. package/dist/plugin/provider/openrouter.js +3 -3
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/poe.js +77 -77
  526. package/dist/plugin/provider/sap-ai-core.js +3 -3
  527. package/dist/plugin/provider/sdk-factory.js +1 -1
  528. package/dist/plugin/provider/snowflake-cortex.js +119 -119
  529. package/dist/plugin/provider/venice.js +2 -2
  530. package/dist/plugin/provider/vercel.js +2 -2
  531. package/dist/plugin/provider/vllm.js +119 -119
  532. package/dist/plugin/provider/xai.js +78 -78
  533. package/dist/plugin/provider/zenmux.js +2 -2
  534. package/dist/plugin/provider.js +158 -158
  535. package/dist/plugin/sdk.js +75 -75
  536. package/dist/plugin/service.js +3 -3
  537. package/dist/plugin/skill.js +133 -133
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +340 -340
  540. package/dist/plugin/update.js +6 -6
  541. package/dist/plugin/variant.js +4 -4
  542. package/dist/plugin/vcs/git.js +83 -83
  543. package/dist/plugin/vcs/hg.js +83 -83
  544. package/dist/plugin/warming.js +114 -114
  545. package/dist/plugin/websearch/exa.js +7 -7
  546. package/dist/plugin/websearch/firecrawl.js +8 -8
  547. package/dist/plugin/websearch/index.js +9 -9
  548. package/dist/plugin/websearch/mcp.js +2 -2
  549. package/dist/plugin/websearch/parallel.js +8 -8
  550. package/dist/plugin/websearch/tavily.js +6 -6
  551. package/dist/plugin/websearch/tinyfish.js +8 -8
  552. package/dist/plugin.js +226 -226
  553. package/dist/project/schema.js +8 -8
  554. package/dist/project/sql.js +4 -4
  555. package/dist/project.js +85 -85
  556. package/dist/provider.js +5 -5
  557. package/dist/pty/protocol.js +1 -1
  558. package/dist/pty/schema.js +3 -3
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +94 -94
  561. package/dist/reference/instructions.js +86 -86
  562. package/dist/reference.js +88 -88
  563. package/dist/repository-cache.js +78 -78
  564. package/dist/repository.js +3 -3
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +95 -95
  567. package/dist/rpc.js +83 -83
  568. package/dist/schema.js +1 -1
  569. package/dist/session/command.js +73 -73
  570. package/dist/session/compaction.js +131 -131
  571. package/dist/session/context.js +149 -149
  572. package/dist/session/diff.js +85 -85
  573. package/dist/session/environment.js +5 -5
  574. package/dist/session/error.js +3 -3
  575. package/dist/session/event.js +1 -1
  576. package/dist/session/execution/restart.js +222 -222
  577. package/dist/session/execution.js +124 -124
  578. package/dist/session/generate.js +148 -148
  579. package/dist/session/history.js +13 -13
  580. package/dist/session/inbox.js +85 -85
  581. package/dist/session/info.js +3 -3
  582. package/dist/session/instruction-entry.js +78 -78
  583. package/dist/session/instruction-state.js +8 -8
  584. package/dist/session/instructions.js +94 -94
  585. package/dist/session/message-updater.js +2 -2
  586. package/dist/session/message.js +1 -1
  587. package/dist/session/model-request.js +113 -113
  588. package/dist/session/model-transport.js +7 -7
  589. package/dist/session/move.js +128 -128
  590. package/dist/session/projector.js +85 -85
  591. package/dist/session/prompt.js +102 -102
  592. package/dist/session/provider-context.js +3 -3
  593. package/dist/session/revert.js +87 -87
  594. package/dist/session/run-coordinator.js +3 -3
  595. package/dist/session/runner/index.js +3 -3
  596. package/dist/session/runner/llm.js +227 -227
  597. package/dist/session/runner/max-steps.js +1 -1
  598. package/dist/session/runner/model.js +87 -87
  599. package/dist/session/runner/publish-llm-event.js +3 -3
  600. package/dist/session/runner/retry.js +112 -112
  601. package/dist/session/runner/step.js +121 -121
  602. package/dist/session/runner/to-llm-message.js +2 -2
  603. package/dist/session/schema.js +5 -5
  604. package/dist/session/session.js +169 -169
  605. package/dist/session/shell.js +133 -133
  606. package/dist/session/skill.js +100 -100
  607. package/dist/session/sql.js +5 -5
  608. package/dist/session/stats.js +74 -74
  609. package/dist/session/store.js +84 -84
  610. package/dist/session/subagent-completion.js +1 -1
  611. package/dist/session/subagent-job.js +206 -206
  612. package/dist/session/system-prompt.js +1 -1
  613. package/dist/session/title.js +149 -149
  614. package/dist/session/to-session-error.js +109 -109
  615. package/dist/session/transfer.js +221 -221
  616. package/dist/session/usage.js +1 -1
  617. package/dist/session.js +216 -216
  618. package/dist/shell/parse.js +6 -6
  619. package/dist/shell/result.js +1 -1
  620. package/dist/shell/scan.js +1 -1
  621. package/dist/shell/select.js +13 -13
  622. package/dist/shell.js +135 -135
  623. package/dist/skill/discovery.js +2 -2
  624. package/dist/skill/instructions.js +104 -104
  625. package/dist/skill.js +109 -109
  626. package/dist/snapshot.js +86 -86
  627. package/dist/state.js +1 -1
  628. package/dist/tool/html-markdown.js +1 -1
  629. package/dist/tool/http-body.js +1 -1
  630. package/dist/tool/mcp.js +121 -121
  631. package/dist/tool/plugin/edit.js +111 -111
  632. package/dist/tool/plugin/file-diff.js +1 -1
  633. package/dist/tool/plugin/glob.js +122 -122
  634. package/dist/tool/plugin/grep.js +122 -122
  635. package/dist/tool/plugin/opencode.js +3 -3
  636. package/dist/tool/plugin/patch.js +119 -119
  637. package/dist/tool/plugin/question.js +98 -98
  638. package/dist/tool/plugin/read.js +123 -123
  639. package/dist/tool/plugin/shell.js +215 -215
  640. package/dist/tool/plugin/skill.js +106 -106
  641. package/dist/tool/plugin/subagent.js +217 -217
  642. package/dist/tool/plugin/webfetch.js +105 -105
  643. package/dist/tool/plugin/websearch.js +111 -111
  644. package/dist/tool/plugin/write.js +117 -117
  645. package/dist/tool/read-filesystem.js +94 -94
  646. package/dist/tool/runtime.js +1 -1
  647. package/dist/tool-output.js +8 -8
  648. package/dist/tool.js +13 -13
  649. package/dist/types/skill.d.ts +3 -6
  650. package/dist/util/error-summary.js +1 -1
  651. package/dist/util/error.js +1 -1
  652. package/dist/util/iife.js +1 -1
  653. package/dist/util/lazy.js +1 -1
  654. package/dist/util/slug.js +1 -1
  655. package/dist/util/token.js +1 -1
  656. package/dist/util/which.js +1 -1
  657. package/dist/util/wildcard.js +1 -1
  658. package/dist/v1/config/agent.js +5 -5
  659. package/dist/v1/config/attachment.js +4 -4
  660. package/dist/v1/config/command.js +3 -3
  661. package/dist/v1/config/config.js +16 -16
  662. package/dist/v1/config/error.js +2 -2
  663. package/dist/v1/config/formatter.js +3 -3
  664. package/dist/v1/config/layout.js +1 -1
  665. package/dist/v1/config/lsp.js +1 -1
  666. package/dist/v1/config/mcp.js +4 -4
  667. package/dist/v1/config/migrate.js +4 -4
  668. package/dist/v1/config/permission.js +3 -3
  669. package/dist/v1/config/plugin.js +3 -3
  670. package/dist/v1/config/provider-options.js +1 -1
  671. package/dist/v1/config/provider.js +4 -4
  672. package/dist/v1/config/server.js +2 -2
  673. package/dist/v1/config/skills.js +3 -3
  674. package/dist/v1/permission.js +1 -1
  675. package/dist/vcs/patch.js +1 -1
  676. package/dist/vcs.js +86 -86
  677. package/dist/websearch.js +81 -81
  678. package/dist/wellknown/plugin.js +75 -75
  679. package/dist/wellknown.js +80 -80
  680. package/dist/workspace/driver.js +7 -7
  681. package/dist/workspace/sql.js +1 -1
  682. package/dist/workspace.js +77 -77
  683. package/dist/worktree/directory.js +4 -4
  684. package/dist/worktree/git.js +8 -8
  685. package/dist/worktree/refresh.js +343 -343
  686. package/dist/worktree/sql.js +5 -5
  687. package/dist/worktree.js +91 -91
  688. package/package.json +8 -8
  689. package/dist/chunks/location-services-31atdx15.js +0 -462
  690. package/dist/chunks/location-services-hxa7m5za.js +0 -4
  691. package/dist/chunks/location-services-q509s3k3.js +0 -18
  692. package/dist/chunks/location-services-w719vydv.js +0 -26
  693. package/dist/chunks/location-services-xa60cpzg.js +0 -247
  694. /package/dist/chunks/{location-services-0qkdqm5v.js → app-0qkdqm5v.js} +0 -0
  695. /package/dist/chunks/{location-services-0zkw76rk.js → app-0zkw76rk.js} +0 -0
  696. /package/dist/chunks/{location-services-17cy0kzp.js → app-17cy0kzp.js} +0 -0
  697. /package/dist/chunks/{location-services-1cnp2v09.js → app-1cnp2v09.js} +0 -0
  698. /package/dist/chunks/{location-services-1kg9ymc8.js → app-1kg9ymc8.js} +0 -0
  699. /package/dist/chunks/{location-services-2710q6r3.js → app-2710q6r3.js} +0 -0
  700. /package/dist/chunks/{location-services-2axfhc9x.js → app-2axfhc9x.js} +0 -0
  701. /package/dist/chunks/{location-services-2c3vjs8z.js → app-2c3vjs8z.js} +0 -0
  702. /package/dist/chunks/{location-services-359p4xyc.js → app-359p4xyc.js} +0 -0
  703. /package/dist/chunks/{location-services-3asan66x.js → app-3asan66x.js} +0 -0
  704. /package/dist/chunks/{location-services-3v8g72cx.js → app-3v8g72cx.js} +0 -0
  705. /package/dist/chunks/{location-services-3w5fmr99.js → app-3w5fmr99.js} +0 -0
  706. /package/dist/chunks/{location-services-3wcehsnq.js → app-3wcehsnq.js} +0 -0
  707. /package/dist/chunks/{location-services-43n2bw4t.js → app-43n2bw4t.js} +0 -0
  708. /package/dist/chunks/{location-services-4knz6hnm.js → app-4knz6hnm.js} +0 -0
  709. /package/dist/chunks/{location-services-4vcrnpx2.js → app-4vcrnpx2.js} +0 -0
  710. /package/dist/chunks/{location-services-4y7fprxs.js → app-4y7fprxs.js} +0 -0
  711. /package/dist/chunks/{location-services-53557ph1.js → app-53557ph1.js} +0 -0
  712. /package/dist/chunks/{location-services-550bvhaj.js → app-550bvhaj.js} +0 -0
  713. /package/dist/chunks/{location-services-6prwharc.js → app-6prwharc.js} +0 -0
  714. /package/dist/chunks/{location-services-7akdwqpd.js → app-7akdwqpd.js} +0 -0
  715. /package/dist/chunks/{location-services-7m9af43g.js → app-7m9af43g.js} +0 -0
  716. /package/dist/chunks/{location-services-822emrt2.js → app-822emrt2.js} +0 -0
  717. /package/dist/chunks/{location-services-88xbtdfr.js → app-88xbtdfr.js} +0 -0
  718. /package/dist/chunks/{location-services-8n3pysct.js → app-8n3pysct.js} +0 -0
  719. /package/dist/chunks/{location-services-922hggd3.js → app-922hggd3.js} +0 -0
  720. /package/dist/chunks/{location-services-9a4afbnw.js → app-9a4afbnw.js} +0 -0
  721. /package/dist/chunks/{location-services-9rqn6x4v.js → app-9rqn6x4v.js} +0 -0
  722. /package/dist/chunks/{location-services-a6k6eb26.js → app-a6k6eb26.js} +0 -0
  723. /package/dist/chunks/{location-services-af5trqkr.js → app-af5trqkr.js} +0 -0
  724. /package/dist/chunks/{location-services-afrmfg78.js → app-afrmfg78.js} +0 -0
  725. /package/dist/chunks/{location-services-aqzs7mqg.js → app-aqzs7mqg.js} +0 -0
  726. /package/dist/chunks/{location-services-atq7p7m5.js → app-atq7p7m5.js} +0 -0
  727. /package/dist/chunks/{location-services-bkyjaxrp.js → app-bkyjaxrp.js} +0 -0
  728. /package/dist/chunks/{location-services-bmr6ed5q.js → app-bmr6ed5q.js} +0 -0
  729. /package/dist/chunks/{location-services-cf4snx6d.js → app-cf4snx6d.js} +0 -0
  730. /package/dist/chunks/{location-services-cvy3z8tj.js → app-cvy3z8tj.js} +0 -0
  731. /package/dist/chunks/{location-services-d9fn303g.js → app-d9fn303g.js} +0 -0
  732. /package/dist/chunks/{location-services-d9jj8t3e.js → app-d9jj8t3e.js} +0 -0
  733. /package/dist/chunks/{location-services-dajrwvna.js → app-dajrwvna.js} +0 -0
  734. /package/dist/chunks/{location-services-dap0rakb.js → app-dap0rakb.js} +0 -0
  735. /package/dist/chunks/{location-services-df08tz66.js → app-df08tz66.js} +0 -0
  736. /package/dist/chunks/{location-services-dy18nga0.js → app-dy18nga0.js} +0 -0
  737. /package/dist/chunks/{location-services-e5kj55wp.js → app-e5kj55wp.js} +0 -0
  738. /package/dist/chunks/{location-services-e73j6tqm.js → app-e73j6tqm.js} +0 -0
  739. /package/dist/chunks/{location-services-ec1grn59.js → app-ec1grn59.js} +0 -0
  740. /package/dist/chunks/{location-services-eh3zwz77.js → app-eh3zwz77.js} +0 -0
  741. /package/dist/chunks/{location-services-emrn6kk6.js → app-emrn6kk6.js} +0 -0
  742. /package/dist/chunks/{location-services-f0mxakyp.js → app-f0mxakyp.js} +0 -0
  743. /package/dist/chunks/{location-services-f6n9ztr4.js → app-f6n9ztr4.js} +0 -0
  744. /package/dist/chunks/{location-services-faypxj3z.js → app-faypxj3z.js} +0 -0
  745. /package/dist/chunks/{location-services-fd410y7t.js → app-fd410y7t.js} +0 -0
  746. /package/dist/chunks/{location-services-fxgpk5d8.js → app-fxgpk5d8.js} +0 -0
  747. /package/dist/chunks/{location-services-g4wezp1m.js → app-g4wezp1m.js} +0 -0
  748. /package/dist/chunks/{location-services-g86h250q.js → app-g86h250q.js} +0 -0
  749. /package/dist/chunks/{location-services-gebd4c9n.js → app-gebd4c9n.js} +0 -0
  750. /package/dist/chunks/{location-services-gftt206x.js → app-gftt206x.js} +0 -0
  751. /package/dist/chunks/{location-services-hjbc5kem.js → app-hjbc5kem.js} +0 -0
  752. /package/dist/chunks/{location-services-hk9envan.js → app-hk9envan.js} +0 -0
  753. /package/dist/chunks/{location-services-hrnqkpcd.js → app-hrnqkpcd.js} +0 -0
  754. /package/dist/chunks/{location-services-j2ntwpah.js → app-j2ntwpah.js} +0 -0
  755. /package/dist/chunks/{location-services-j5zkgpj8.js → app-j5zkgpj8.js} +0 -0
  756. /package/dist/chunks/{location-services-jr7sbwjy.js → app-jr7sbwjy.js} +0 -0
  757. /package/dist/chunks/{location-services-jwfs4k6c.js → app-jwfs4k6c.js} +0 -0
  758. /package/dist/chunks/{location-services-jzg6c2d5.js → app-jzg6c2d5.js} +0 -0
  759. /package/dist/chunks/{location-services-mp448xyj.js → app-mp448xyj.js} +0 -0
  760. /package/dist/chunks/{location-services-msx8hqn2.js → app-msx8hqn2.js} +0 -0
  761. /package/dist/chunks/{location-services-n05xt0ee.js → app-n05xt0ee.js} +0 -0
  762. /package/dist/chunks/{location-services-n3j8tn72.js → app-n3j8tn72.js} +0 -0
  763. /package/dist/chunks/{location-services-njntx4h6.js → app-njntx4h6.js} +0 -0
  764. /package/dist/chunks/{location-services-paphc93g.js → app-paphc93g.js} +0 -0
  765. /package/dist/chunks/{location-services-q3sfg36h.js → app-q3sfg36h.js} +0 -0
  766. /package/dist/chunks/{location-services-q74kybfr.js → app-q74kybfr.js} +0 -0
  767. /package/dist/chunks/{location-services-qaymkmh1.js → app-qaymkmh1.js} +0 -0
  768. /package/dist/chunks/{location-services-qb87gjwd.js → app-qb87gjwd.js} +0 -0
  769. /package/dist/chunks/{location-services-qfa1cgps.js → app-qfa1cgps.js} +0 -0
  770. /package/dist/chunks/{location-services-qrg20bc0.js → app-qrg20bc0.js} +0 -0
  771. /package/dist/chunks/{location-services-rcb2kzg1.js → app-rcb2kzg1.js} +0 -0
  772. /package/dist/chunks/{location-services-sdp7kfr6.js → app-sdp7kfr6.js} +0 -0
  773. /package/dist/chunks/{location-services-sk3qaz4a.js → app-sk3qaz4a.js} +0 -0
  774. /package/dist/chunks/{location-services-ssg3fenm.js → app-ssg3fenm.js} +0 -0
  775. /package/dist/chunks/{location-services-twg0f83k.js → app-twg0f83k.js} +0 -0
  776. /package/dist/chunks/{location-services-w803qqfp.js → app-w803qqfp.js} +0 -0
  777. /package/dist/chunks/{location-services-wer8tq1h.js → app-wer8tq1h.js} +0 -0
  778. /package/dist/chunks/{location-services-wtztk69x.js → app-wtztk69x.js} +0 -0
  779. /package/dist/chunks/{location-services-x0ckcb58.js → app-x0ckcb58.js} +0 -0
  780. /package/dist/chunks/{location-services-x61499pn.js → app-x61499pn.js} +0 -0
  781. /package/dist/chunks/{location-services-y44na4kk.js → app-y44na4kk.js} +0 -0
  782. /package/dist/chunks/{location-services-y8cydn3q.js → app-y8cydn3q.js} +0 -0
  783. /package/dist/chunks/{location-services-y8f7s663.js → app-y8f7s663.js} +0 -0
  784. /package/dist/chunks/{location-services-ygaqb7jw.js → app-ygaqb7jw.js} +0 -0
  785. /package/dist/chunks/{location-services-ym463w8f.js → app-ym463w8f.js} +0 -0
  786. /package/dist/chunks/{location-services-z9919s4g.js → app-z9919s4g.js} +0 -0
@@ -1,20 +1,20 @@
1
1
  import {
2
- ID17,
2
+ ID15,
3
3
  Name3,
4
4
  defaultID2
5
- } from "./location-services-15vjgxzg.js";
5
+ } from "./app-p9bng2jk.js";
6
6
  import {
7
7
  merge2
8
- } from "./location-services-pbd26e3f.js";
8
+ } from "./app-r1wvay4d.js";
9
9
  import {
10
10
  __export
11
- } from "./location-services-9rqn6x4v.js";
11
+ } from "./app-9rqn6x4v.js";
12
12
 
13
13
  // src/plugin/agent.ts
14
14
  var exports_agent2 = {};
15
15
  __export(exports_agent2, {
16
16
  AgentPlugin: () => exports_agent2,
17
- Plugin: () => Plugin45
17
+ Plugin: () => Plugin42
18
18
  });
19
19
  import { define } from "@opencode/plugin/effect/plugin";
20
20
  import { Effect } from "effect";
@@ -90,7 +90,7 @@ Rules:
90
90
  - Never ask questions or add new questions
91
91
  - If the conversation ends with an unanswered question to the user, preserve that exact question
92
92
  - If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
93
- var Plugin45 = define({
93
+ var Plugin42 = define({
94
94
  id: "opencode.agent",
95
95
  effect: Effect.fn(function* (ctx) {
96
96
  yield* ctx.agent.transform((editor) => {
@@ -100,13 +100,13 @@ var Plugin45 = define({
100
100
  item.mode = "primary";
101
101
  item.permissions.push({ action: "question", resource: "*", effect: "allow" });
102
102
  });
103
- editor.update(ID17.make("general"), (item) => {
103
+ editor.update(ID15.make("general"), (item) => {
104
104
  item.name = Name3.make("General");
105
105
  item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
106
106
  item.mode = "subagent";
107
107
  item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
108
108
  });
109
- editor.update(ID17.make("explore"), (item) => {
109
+ editor.update(ID15.make("explore"), (item) => {
110
110
  const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
111
111
  item.name = Name3.make("Explore");
112
112
  item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
@@ -125,19 +125,19 @@ var Plugin45 = define({
125
125
  { action: "subagent", resource: "*", effect: "deny" }
126
126
  ], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
127
127
  });
128
- editor.update(ID17.make("compaction"), (item) => {
128
+ editor.update(ID15.make("compaction"), (item) => {
129
129
  item.name = Name3.make("Compaction");
130
130
  item.mode = "primary";
131
131
  item.hidden = true;
132
132
  });
133
- editor.update(ID17.make("title"), (item) => {
133
+ editor.update(ID15.make("title"), (item) => {
134
134
  item.name = Name3.make("Title");
135
135
  item.mode = "primary";
136
136
  item.hidden = true;
137
137
  item.system = PROMPT_TITLE;
138
138
  item.permissions.push({ action: "*", resource: "*", effect: "deny" });
139
139
  });
140
- editor.update(ID17.make("summary"), (item) => {
140
+ editor.update(ID15.make("summary"), (item) => {
141
141
  item.name = Name3.make("Summary");
142
142
  item.mode = "primary";
143
143
  item.hidden = true;
@@ -148,4 +148,4 @@ var Plugin45 = define({
148
148
  })
149
149
  });
150
150
 
151
- export { Plugin45, exports_agent2 };
151
+ export { Plugin42, exports_agent2 };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  __export
3
- } from "./location-services-9rqn6x4v.js";
3
+ } from "./app-9rqn6x4v.js";
4
4
 
5
5
  // src/app.ts
6
6
  var exports_app = {};
7
7
  __export(exports_app, {
8
8
  App: () => exports_app,
9
9
  Metadata: () => Metadata2,
10
- configured: () => configured6,
11
- layer: () => layer17,
12
- make: () => make16,
13
- node: () => node42,
10
+ configured: () => configured10,
11
+ layer: () => layer25,
12
+ make: () => make18,
13
+ node: () => node69,
14
14
  useragent: () => useragent2
15
15
  });
16
16
  import { Context, Layer } from "effect";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var Metadata2 = Context.Reference("@opencode/App", {
19
- defaultValue: () => make16()
19
+ defaultValue: () => make18()
20
20
  });
21
- function make16(input = {}) {
21
+ function make18(input = {}) {
22
22
  return {
23
23
  name: input.name ?? "opencode",
24
24
  version: input.version ?? "unknown",
@@ -28,8 +28,8 @@ function make16(input = {}) {
28
28
  function useragent2(app) {
29
29
  return `opencode/${app.channel}/${app.version}/${app.name}`;
30
30
  }
31
- var layer17 = (input) => Layer.succeed(Metadata2, make16(input));
32
- var configured6 = (input) => makeGlobalNode({ service: Metadata2, layer: layer17(input), deps: [] });
33
- var node42 = configured6();
31
+ var layer25 = (input) => Layer.succeed(Metadata2, make18(input));
32
+ var configured10 = (input) => makeGlobalNode({ service: Metadata2, layer: layer25(input), deps: [] });
33
+ var node69 = configured10();
34
34
 
35
- export { Metadata2, make16, useragent2, layer17, configured6, node42, exports_app };
35
+ export { Metadata2, make18, useragent2, layer25, configured10, node69, exports_app };
@@ -1,30 +1,30 @@
1
1
  import {
2
- Service68,
3
- node73
4
- } from "./location-services-bk4fbmz6.js";
2
+ Service75,
3
+ node80
4
+ } from "./app-1e7h8b71.js";
5
5
  import {
6
6
  create3
7
- } from "./location-services-kg06axw8.js";
7
+ } from "./app-kg06axw8.js";
8
8
  import {
9
9
  __export
10
- } from "./location-services-9rqn6x4v.js";
10
+ } from "./app-9rqn6x4v.js";
11
11
 
12
12
  // src/formatter.ts
13
13
  var exports_formatter2 = {};
14
14
  __export(exports_formatter2, {
15
15
  Formatter: () => exports_formatter2,
16
- Service: () => Service40,
17
- node: () => node45
16
+ Service: () => Service14,
17
+ node: () => node17
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { ChildProcess } from "effect/unstable/process";
21
21
  import path from "path";
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { AppProcess } from "@opencode/util/process";
24
- class Service40 extends Context.Service()("@opencode/v2/Formatter") {
24
+ class Service14 extends Context.Service()("@opencode/v2/Formatter") {
25
25
  }
26
- var layer = Layer.effect(Service40, Effect.gen(function* () {
27
- const location = yield* Service68;
26
+ var layer = Layer.effect(Service14, Effect.gen(function* () {
27
+ const location = yield* Service75;
28
28
  const processes = yield* AppProcess.Service;
29
29
  const commands = new WeakMap;
30
30
  const state = create3({
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
85
85
  }
86
86
  return false;
87
87
  });
88
- return Service40.of({ transform: state.transform, reload: state.reload, file });
88
+ return Service14.of({ transform: state.transform, reload: state.reload, file });
89
89
  }));
90
- var node45 = makeLocationNode({
91
- service: Service40,
90
+ var node17 = makeLocationNode({
91
+ service: Service14,
92
92
  layer,
93
- deps: [node73, AppProcess.node]
93
+ deps: [node80, AppProcess.node]
94
94
  });
95
95
 
96
- export { Service40, node45, exports_formatter2 };
96
+ export { Service14, node17, exports_formatter2 };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isCheckpoint2,
3
3
  decode2
4
- } from "./location-services-rsdf2nvv.js";
4
+ } from "./app-1hc11dc4.js";
5
5
 
6
6
  // src/session/runner/to-llm-message.ts
7
7
  import { Message, ToolCallPart, ToolResultPart } from "@opencode/ai";
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./location-services-2a5m3afh.js";
3
+ } from "./app-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./location-services-922hggd3.js";
6
+ } from "./app-922hggd3.js";
7
7
  import {
8
- Service68
9
- } from "./location-services-bk4fbmz6.js";
8
+ Service75
9
+ } from "./app-1e7h8b71.js";
10
10
  import {
11
- Service61
12
- } from "./location-services-jfwrbgpq.js";
11
+ Service67
12
+ } from "./app-8am9vma6.js";
13
13
  import {
14
14
  InvalidPatternError2,
15
- Service41
16
- } from "./location-services-svw2kbhv.js";
15
+ Service66
16
+ } from "./app-4xqwm4r2.js";
17
17
  import {
18
18
  DEFAULT_SEARCH_LIMIT2,
19
19
  DEFAULT_SEARCH_TIMEOUT_MS2,
20
20
  GrepInput2,
21
21
  Entry2,
22
22
  Match2
23
- } from "./location-services-yq0hfnt4.js";
23
+ } from "./app-mew188h6.js";
24
24
  import {
25
- Service64
26
- } from "./location-services-pbd26e3f.js";
25
+ Service70
26
+ } from "./app-r1wvay4d.js";
27
27
  import {
28
- Service63
29
- } from "./location-services-f54y586g.js";
28
+ Service19
29
+ } from "./app-c25j16b6.js";
30
30
  import {
31
31
  __export
32
- } from "./location-services-9rqn6x4v.js";
32
+ } from "./app-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/grep.ts
35
35
  var exports_grep = {};
36
36
  __export(exports_grep, {
37
37
  GrepTool: () => exports_grep,
38
- Input: () => Input3,
39
- Output: () => Output3,
40
- Plugin: () => Plugin22,
41
- name: () => name3,
42
- toModelContent: () => toModelContent2
38
+ Input: () => Input12,
39
+ Output: () => Output8,
40
+ Plugin: () => Plugin13,
41
+ name: () => name12,
42
+ toModelContent: () => toModelContent6
43
43
  });
44
44
  import { ToolFailure } from "@opencode/ai";
45
45
  import { Effect, Schema } from "effect";
46
46
  import path from "path";
47
- var name3 = "grep";
48
- var Input3 = Schema.Struct({
47
+ var name12 = "grep";
48
+ var Input12 = Schema.Struct({
49
49
  pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
50
50
  description: "Regular expression or literal text to match in file contents."
51
51
  }),
@@ -65,8 +65,8 @@ var Input3 = Schema.Struct({
65
65
  description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
66
66
  })
67
67
  });
68
- var Output3 = Schema.Array(Match2);
69
- var toModelContent2 = (matches, truncated = false) => {
68
+ var Output8 = Schema.Array(Match2);
69
+ var toModelContent6 = (matches, truncated = false) => {
70
70
  const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
71
71
  let current = "";
72
72
  for (const match of matches) {
@@ -83,26 +83,26 @@ var toModelContent2 = (matches, truncated = false) => {
83
83
  return lines.join(`
84
84
  `);
85
85
  };
86
- var Plugin22 = {
86
+ var Plugin13 = {
87
87
  id: "opencode.tool.grep",
88
88
  effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
89
- const environment = yield* Service61;
90
- const ripgrep = yield* Service41;
91
- const location = yield* Service68;
92
- const access = yield* Service63;
93
- const permission = yield* Service64;
89
+ const environment = yield* Service67;
90
+ const ripgrep = yield* Service66;
91
+ const location = yield* Service75;
92
+ const access = yield* Service19;
93
+ const permission = yield* Service70;
94
94
  yield* ctx.tool.transform((editor) => editor.add({
95
- name: name3,
95
+ name: name12,
96
96
  options: { codemode: false },
97
97
  description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
98
- input: Input3,
99
- output: Output3,
98
+ input: Input12,
99
+ output: Output8,
100
100
  execute: (input, context) => Effect.gen(function* () {
101
101
  const source = { type: "tool", messageID: context.messageID, id: context.id };
102
102
  const target = yield* access.resolve({ path: input.path ?? "." });
103
103
  yield* access.authorizeExternal([target], context);
104
104
  yield* permission.assert({
105
- action: name3,
105
+ action: name12,
106
106
  resources: [input.pattern],
107
107
  save: ["*"],
108
108
  metadata: {
@@ -144,7 +144,7 @@ var Plugin22 = {
144
144
  return { matches: matches.slice(0, limit), truncated: matches.length > limit };
145
145
  }).pipe(Effect.map((result) => ({
146
146
  output: result.matches,
147
- content: toModelContent2(result.matches.map((match) => ({
147
+ content: toModelContent6(result.matches.map((match) => ({
148
148
  ...match,
149
149
  entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
150
150
  })), result.truncated),
@@ -154,4 +154,4 @@ var Plugin22 = {
154
154
  })
155
155
  };
156
156
 
157
- export { name3, Input3, Output3, toModelContent2, Plugin22, exports_grep };
157
+ export { name12, Input12, Output8, toModelContent6, Plugin13, exports_grep };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-services-9rqn6x4v.js";
3
+ } from "./app-9rqn6x4v.js";
4
4
 
5
5
  // src/mime.ts
6
6
  var exports_mime = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-services-9rqn6x4v.js";
3
+ } from "./app-9rqn6x4v.js";
4
4
 
5
5
  // src/database/v1-migration.ts
6
6
  var exports_v1_migration = {};
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./location-services-922hggd3.js";
3
+ } from "./app-922hggd3.js";
4
4
  import {
5
- Service68
6
- } from "./location-services-bk4fbmz6.js";
5
+ Service75
6
+ } from "./app-1e7h8b71.js";
7
7
  import {
8
- Service63
9
- } from "./location-services-f54y586g.js";
8
+ Service19
9
+ } from "./app-c25j16b6.js";
10
10
  import {
11
- Service7
12
- } from "./location-services-wrypa0a8.js";
11
+ Service11
12
+ } from "./app-1a0mjceb.js";
13
13
  import {
14
14
  NotFound2
15
- } from "./location-services-2a5m3afh.js";
15
+ } from "./app-2a5m3afh.js";
16
16
  import {
17
17
  MEDIA_MIMES2,
18
18
  BinaryFileError2,
@@ -24,25 +24,25 @@ import {
24
24
  TextPage2,
25
25
  ListPage2,
26
26
  Service8
27
- } from "./location-services-mt4vh0e2.js";
27
+ } from "./app-dx9cm0t0.js";
28
28
  import {
29
29
  __export
30
- } from "./location-services-9rqn6x4v.js";
30
+ } from "./app-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/read.ts
33
33
  var exports_read = {};
34
34
  __export(exports_read, {
35
- Input: () => Input7,
36
- Plugin: () => Plugin26,
35
+ Input: () => Input9,
36
+ Plugin: () => Plugin10,
37
37
  ReadTool: () => exports_read,
38
- name: () => name7,
39
- toModelContent: () => toModelContent3
38
+ name: () => name9,
39
+ toModelContent: () => toModelContent4
40
40
  });
41
41
  import { basename, dirname, join } from "path";
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import { FSUtil } from "@opencode/util/fs-util";
45
- var name7 = "read";
45
+ var name9 = "read";
46
46
  var FILENAME = "AGENTS.md";
47
47
  var LocationInput = Schema.Struct({
48
48
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
53
53
  description: "The maximum number of lines or directory entries to read (defaults to 2000)"
54
54
  })
55
55
  });
56
- var Input7 = LocationInput;
56
+ var Input9 = LocationInput;
57
57
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
58
- var Plugin26 = {
58
+ var Plugin10 = {
59
59
  id: "opencode.tool.read",
60
60
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
61
61
  const reader = yield* Service8;
62
- const access = yield* Service63;
63
- const sessionInstructions = yield* Service7;
62
+ const access = yield* Service19;
63
+ const sessionInstructions = yield* Service11;
64
64
  const fs = yield* FSUtil.Service;
65
- const location = yield* Service68;
65
+ const location = yield* Service75;
66
66
  yield* ctx.tool.transform((editor) => editor.add({
67
- name: name7,
67
+ name: name9,
68
68
  options: { codemode: false },
69
69
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
70
- input: Input7,
70
+ input: Input9,
71
71
  output: Output,
72
72
  execute: (input, context) => {
73
73
  return Effect.gen(function* () {
@@ -112,7 +112,7 @@ var Plugin26 = {
112
112
  return { output: result.content, path: result.path };
113
113
  }).pipe(Effect.map((result) => ({
114
114
  output: result.output,
115
- content: toModelContent3(result.path, input.offset, result.output),
115
+ content: toModelContent4(result.path, input.offset, result.output),
116
116
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
117
117
  })), Effect.mapError((error) => {
118
118
  if (error instanceof ToolFailure)
@@ -144,7 +144,7 @@ ${suggestions.join(`
144
144
  });
145
145
  })
146
146
  };
147
- var toModelContent3 = (path, offset, output) => {
147
+ var toModelContent4 = (path, offset, output) => {
148
148
  if (output.type === "file" && output.encoding === "base64")
149
149
  return [
150
150
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -180,4 +180,4 @@ var toModelContent3 = (path, offset, output) => {
180
180
  `);
181
181
  };
182
182
 
183
- export { name7, Input7, Plugin26, toModelContent3, exports_read };
183
+ export { name9, Input9, Plugin10, toModelContent4, exports_read };
@@ -1,10 +1,10 @@
1
1
  import {
2
- Service79
3
- } from "./location-services-c898en29.js";
2
+ Service78
3
+ } from "./app-yk9xxxbm.js";
4
4
  import {
5
5
  Service13,
6
6
  Event2
7
- } from "./location-services-yehn4zmb.js";
7
+ } from "./app-jc17n9gv.js";
8
8
 
9
9
  // src/plugin/models-dev.ts
10
10
  import { define } from "@opencode/plugin/effect/plugin";
@@ -30,7 +30,7 @@ var ModelsDevPlugin2 = define({
30
30
  id: "opencode.models.dev",
31
31
  effect: Effect.fn(function* (ctx) {
32
32
  const modelsDev = yield* Service13;
33
- const bus = yield* Service79;
33
+ const bus = yield* Service78;
34
34
  const loaded = { data: snapshots(yield* modelsDev.get()) };
35
35
  yield* ctx.integration.transform((integrations) => {
36
36
  for (const provider of loaded.data) {
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service46
3
- } from "./location-services-7bnzk546.js";
2
+ Service45
3
+ } from "./app-ff0htmxq.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./location-services-q509s3k3.js";
6
+ } from "./app-by5v678g.js";
7
7
  import {
8
- Service55
9
- } from "./location-services-jnqvcmzk.js";
8
+ Service49
9
+ } from "./app-8mv32mqt.js";
10
10
  import {
11
11
  unavailable2
12
- } from "./location-services-fxbjtjnd.js";
12
+ } from "./app-fxbjtjnd.js";
13
13
  import {
14
14
  __export
15
- } from "./location-services-9rqn6x4v.js";
15
+ } from "./app-9rqn6x4v.js";
16
16
 
17
17
  // src/session/shell.ts
18
18
  var exports_shell3 = {};
@@ -22,8 +22,8 @@ __export(exports_shell3, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var start2 = Effect.fn("SessionShell.start")(function* (input) {
25
- const instances = yield* Service46;
26
- const shell = yield* awaitActivation2.pipe(Effect.andThen(Service55), instances.provide(input.session));
25
+ const instances = yield* Service45;
26
+ const shell = yield* awaitActivation2.pipe(Effect.andThen(Service49), instances.provide(input.session));
27
27
  const info = yield* shell.create({
28
28
  command: input.command,
29
29
  cwd: input.session.location.directory,
@@ -1,32 +1,32 @@
1
1
  import {
2
- Key3,
2
+ Key4,
3
3
  removed2,
4
4
  empty3,
5
5
  make21,
6
6
  diffByKey2
7
- } from "./location-services-s8d7rejh.js";
7
+ } from "./app-eaj1djv9.js";
8
8
  import {
9
- ID4,
9
+ ID5,
10
10
  Name2,
11
11
  available2,
12
- Service31,
13
- node35
14
- } from "./location-services-asesgrap.js";
12
+ Service47,
13
+ node50
14
+ } from "./app-2s388hy2.js";
15
15
  import {
16
16
  __export
17
- } from "./location-services-9rqn6x4v.js";
17
+ } from "./app-9rqn6x4v.js";
18
18
 
19
19
  // src/skill/instructions.ts
20
- var exports_instructions5 = {};
21
- __export(exports_instructions5, {
22
- Service: () => Service28,
23
- SkillInstructions: () => exports_instructions5,
24
- node: () => node32
20
+ var exports_instructions3 = {};
21
+ __export(exports_instructions3, {
22
+ Service: () => Service29,
23
+ SkillInstructions: () => exports_instructions3,
24
+ node: () => node34
25
25
  });
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
27
27
  import { Context, Effect, Layer, Schema } from "effect";
28
28
  var Summary = Schema.Struct({
29
- id: ID4,
29
+ id: ID5,
30
30
  name: Name2,
31
31
  description: Schema.String
32
32
  });
@@ -60,18 +60,18 @@ var update = (previous, current) => {
60
60
  `);
61
61
  };
62
62
 
63
- class Service28 extends Context.Service()("@opencode/SkillInstructions") {
63
+ class Service29 extends Context.Service()("@opencode/SkillInstructions") {
64
64
  }
65
- var layer = Layer.effect(Service28, Effect.gen(function* () {
66
- const skills = yield* Service31;
67
- return Service28.of({
65
+ var layer = Layer.effect(Service29, Effect.gen(function* () {
66
+ const skills = yield* Service47;
67
+ return Service29.of({
68
68
  load: Effect.fn("SkillInstructions.load")(function* (selection) {
69
69
  const agent = selection.info;
70
70
  if (!agent)
71
71
  return empty3;
72
72
  const available = available2(yield* skills.list(), agent).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
73
73
  return make21({
74
- key: Key3.make("core/skill-guidance"),
74
+ key: Key4.make("core/skill-guidance"),
75
75
  codec: Schema.toCodecJson(Schema.Array(Summary)),
76
76
  read: Effect.succeed(available.length === 0 ? removed2 : available),
77
77
  render: {
@@ -83,6 +83,6 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
83
83
  })
84
84
  });
85
85
  }));
86
- var node32 = makeLocationNode({ service: Service28, layer, deps: [node35] });
86
+ var node34 = makeLocationNode({ service: Service29, layer, deps: [node50] });
87
87
 
88
- export { Service28, node32, exports_instructions5 };
88
+ export { Service29, node34, exports_instructions3 };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  useragent2
3
- } from "./location-services-2b6sywcb.js";
3
+ } from "./app-3p1t101e.js";
4
4
  import {
5
5
  call2
6
- } from "./location-services-56gdpj1q.js";
6
+ } from "./app-56gdpj1q.js";
7
7
  import {
8
8
  __export
9
- } from "./location-services-9rqn6x4v.js";
9
+ } from "./app-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/tinyfish.ts
12
12
  var exports_tinyfish = {};
13
13
  __export(exports_tinyfish, {
14
- Plugin: () => Plugin38,
14
+ Plugin: () => Plugin34,
15
15
  WebSearchTinyFish: () => exports_tinyfish,
16
- endpoint: () => endpoint6
16
+ endpoint: () => endpoint3
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Option, Schema } from "effect";
20
20
  import { HttpClient } from "effect/unstable/http";
21
- var endpoint6 = "https://agent.tinyfish.ai/mcp";
21
+ var endpoint3 = "https://agent.tinyfish.ai/mcp";
22
22
  var McpInput = Schema.Struct({
23
23
  query: Schema.String
24
24
  });
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
33
33
  }))
34
34
  }));
35
35
  var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
36
- var Plugin38 = define({
36
+ var Plugin34 = define({
37
37
  id: "opencode.websearch.tinyfish",
38
38
  effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
39
39
  const http = yield* HttpClient.HttpClient;
@@ -55,7 +55,7 @@ var Plugin38 = define({
55
55
  execute: (input) => Effect.gen(function* () {
56
56
  const connection = yield* ctx.integration.connection.active("tinyfish");
57
57
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
58
- const result = yield* call2(http, endpoint6, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
58
+ const result = yield* call2(http, endpoint3, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
59
59
  "User-Agent": useragent2(ctx.app),
60
60
  ...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
61
61
  });
@@ -73,4 +73,4 @@ var Plugin38 = define({
73
73
  })
74
74
  });
75
75
 
76
- export { endpoint6, Plugin38, exports_tinyfish };
76
+ export { endpoint3, Plugin34, exports_tinyfish };