@opencode/core 0.0.0-dev-20613 → 0.0.0-dev-20615

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 (781) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{file-mutation-gcg2ce4w.js → tool-01txzqdp.js} +37 -37
  8. package/dist/chunks/{file-mutation-28yfhwz7.js → tool-0ay65vhm.js} +16 -16
  9. package/dist/chunks/{file-mutation-b81hekbt.js → tool-0gh1f601.js} +22 -22
  10. package/dist/chunks/{file-mutation-2k8khapm.js → tool-0jwsre1p.js} +5 -5
  11. package/dist/chunks/{file-mutation-5tkrhxv3.js → tool-0ma4vy4p.js} +4 -4
  12. package/dist/chunks/{file-mutation-y72vdz4v.js → tool-0mw89yjh.js} +5 -5
  13. package/dist/chunks/{file-mutation-0paq2nw3.js → tool-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{file-mutation-a71sm99w.js → tool-0tbrh5mv.js} +34 -34
  15. package/dist/chunks/{file-mutation-0vbcp93d.js → tool-0vbcp93d.js} +2 -2
  16. package/dist/chunks/{file-mutation-th52y4cr.js → tool-0vgvvwxq.js} +6 -6
  17. package/dist/chunks/{file-mutation-dfx71smj.js → tool-1402mhzs.js} +42 -42
  18. package/dist/chunks/{file-mutation-e8qyrgb1.js → tool-150yg2gd.js} +5 -5
  19. package/dist/chunks/{file-mutation-kyjacefg.js → tool-15brx7xh.js} +19 -19
  20. package/dist/chunks/{file-mutation-1acjjqhc.js → tool-1acjjqhc.js} +1 -1
  21. package/dist/chunks/{file-mutation-1dazxqgg.js → tool-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{file-mutation-psde6m0w.js → tool-1djc6rq1.js} +32 -32
  23. package/dist/chunks/{file-mutation-1dvck2a7.js → tool-1dvck2a7.js} +2 -2
  24. package/dist/chunks/{file-mutation-y5sw2v8p.js → tool-1e1wjnhp.js} +15 -15
  25. package/dist/chunks/{file-mutation-mjrs5hnf.js → tool-1spn70p8.js} +28 -28
  26. package/dist/chunks/{file-mutation-gv66gg0x.js → tool-1zqsf2j9.js} +8 -8
  27. package/dist/chunks/{file-mutation-2a5m3afh.js → tool-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{file-mutation-1v8zftd4.js → tool-2evx7vn6.js} +41 -41
  29. package/dist/chunks/{file-mutation-nc1kns87.js → tool-2hzmp1dp.js} +4 -4
  30. package/dist/chunks/{file-mutation-h6004bm5.js → tool-2r4zy24c.js} +34 -34
  31. package/dist/chunks/{file-mutation-77vm9mkg.js → tool-2stxsqvh.js} +4 -4
  32. package/dist/chunks/{file-mutation-zvt5dnpc.js → tool-2vs2nh1n.js} +4 -4
  33. package/dist/chunks/{file-mutation-crx6d3v7.js → tool-2zdrkm9b.js} +9 -9
  34. package/dist/chunks/{file-mutation-sa53hm79.js → tool-2zt2ydz3.js} +8 -8
  35. package/dist/chunks/{file-mutation-ys1dh2re.js → tool-331jtpav.js} +11 -11
  36. package/dist/chunks/{file-mutation-56gdpj1q.js → tool-33w4ejhs.js} +6 -6
  37. package/dist/chunks/{file-mutation-2qr727t2.js → tool-3aqx67na.js} +36 -36
  38. package/dist/chunks/{file-mutation-3fc6dm20.js → tool-3fc6dm20.js} +1 -1
  39. package/dist/chunks/{file-mutation-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{file-mutation-ckhdz529.js → tool-3hqn980y.js} +24 -24
  41. package/dist/chunks/{file-mutation-57d1ra5g.js → tool-3k34870w.js} +17 -17
  42. package/dist/chunks/{file-mutation-02wcjj7e.js → tool-3px2wxdf.js} +16 -16
  43. package/dist/chunks/{file-mutation-mqx8z5pp.js → tool-3rtbn312.js} +27 -27
  44. package/dist/chunks/{file-mutation-820esq4r.js → tool-3rwvqde1.js} +22 -22
  45. package/dist/chunks/{file-mutation-3smtnn6g.js → tool-3smtnn6g.js} +1 -1
  46. package/dist/chunks/{file-mutation-gvdad6bz.js → tool-3srzt07f.js} +43 -43
  47. package/dist/chunks/{file-mutation-yg48j617.js → tool-3t6p5jdv.js} +4 -4
  48. package/dist/chunks/{file-mutation-3tvqynh2.js → tool-3tvqynh2.js} +1 -1
  49. package/dist/chunks/{file-mutation-x661k3y3.js → tool-3y377wv9.js} +4 -4
  50. package/dist/chunks/{file-mutation-3zsf4n22.js → tool-3zsf4n22.js} +1 -1
  51. package/dist/chunks/{file-mutation-v0es1rhs.js → tool-4434d9q2.js} +9 -9
  52. package/dist/chunks/{file-mutation-mx9vqzsb.js → tool-4mwpykj0.js} +6 -6
  53. package/dist/chunks/{file-mutation-y56ehv6b.js → tool-4nj4bn9q.js} +5 -5
  54. package/dist/chunks/{file-mutation-jtkegxk4.js → tool-4rs0m8vn.js} +13 -13
  55. package/dist/chunks/{file-mutation-pqjr219e.js → tool-4rsta4nx.js} +23 -23
  56. package/dist/chunks/{file-mutation-2ccvkpx1.js → tool-4ts7tf6z.js} +2 -2
  57. package/dist/chunks/{file-mutation-54ma36ye.js → tool-54ma36ye.js} +1 -1
  58. package/dist/chunks/tool-55f5yhnr.js +507 -0
  59. package/dist/chunks/{file-mutation-nvxqht09.js → tool-58072hz9.js} +3 -3
  60. package/dist/chunks/{file-mutation-spdt4scb.js → tool-58pr7qh6.js} +3 -3
  61. package/dist/chunks/{file-mutation-ankcjgrj.js → tool-58xwj6qx.js} +65 -65
  62. package/dist/chunks/{file-mutation-wsxdwqek.js → tool-599d5hrs.js} +3 -3
  63. package/dist/chunks/{file-mutation-v9qjh7qv.js → tool-5a9tff2n.js} +13 -13
  64. package/dist/chunks/{file-mutation-1555y6t7.js → tool-5bx9xx12.js} +26 -26
  65. package/dist/chunks/{file-mutation-5daktx2q.js → tool-5daktx2q.js} +1 -1
  66. package/dist/chunks/{file-mutation-1yqjwqhe.js → tool-5hj0wrn5.js} +13 -13
  67. package/dist/chunks/{file-mutation-5m9w47nd.js → tool-5m9w47nd.js} +1 -1
  68. package/dist/chunks/{file-mutation-e3qxr5gk.js → tool-5qd3pb7m.js} +2 -2
  69. package/dist/chunks/{file-mutation-8qvzptz7.js → tool-5qwkxp89.js} +4 -4
  70. package/dist/chunks/{file-mutation-5t3nmthw.js → tool-5t3nmthw.js} +2 -2
  71. package/dist/chunks/{file-mutation-br0tr5aq.js → tool-5yzzbxa7.js} +8 -8
  72. package/dist/chunks/{file-mutation-mrpfx1wa.js → tool-60vkhqe6.js} +17 -17
  73. package/dist/chunks/{file-mutation-xfn237ea.js → tool-642av4pa.js} +8 -8
  74. package/dist/chunks/{file-mutation-rgy7ctyq.js → tool-64mbz47k.js} +6 -6
  75. package/dist/chunks/{file-mutation-51c68e5c.js → tool-6c0e94qj.js} +9 -9
  76. package/dist/chunks/{file-mutation-87xdeyxt.js → tool-6gwk5m7m.js} +82 -82
  77. package/dist/chunks/{file-mutation-6xb47vfp.js → tool-6xb47vfp.js} +1 -1
  78. package/dist/chunks/{file-mutation-71az546q.js → tool-71az546q.js} +2 -2
  79. package/dist/chunks/{file-mutation-gvvnr1gk.js → tool-722t8cr8.js} +3 -3
  80. package/dist/chunks/{file-mutation-vzbxwz1d.js → tool-72rw85ce.js} +11 -11
  81. package/dist/chunks/{file-mutation-a1gpj94z.js → tool-73tb2d7t.js} +3 -3
  82. package/dist/chunks/{file-mutation-8npqmhxf.js → tool-75ey17xe.js} +19 -19
  83. package/dist/chunks/{file-mutation-3x3by7pr.js → tool-78ss49vf.js} +13 -13
  84. package/dist/chunks/{file-mutation-kvv1xtfr.js → tool-7ad5y3s6.js} +45 -45
  85. package/dist/chunks/{file-mutation-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
  86. package/dist/chunks/{file-mutation-1adkzxce.js → tool-7d7rzqbv.js} +26 -26
  87. package/dist/chunks/{file-mutation-h9a17n0d.js → tool-7ex9xsd9.js} +11 -11
  88. package/dist/chunks/{file-mutation-25f88z4a.js → tool-7t6d0zf6.js} +5 -5
  89. package/dist/chunks/{file-mutation-w61hc5zg.js → tool-7v9xsq6d.js} +29 -61
  90. package/dist/chunks/{file-mutation-zc5g640q.js → tool-7wnkabmt.js} +12 -12
  91. package/dist/chunks/{file-mutation-x690xafs.js → tool-7z8hv35c.js} +37 -37
  92. package/dist/chunks/{file-mutation-am816zc9.js → tool-81xr82zh.js} +4 -4
  93. package/dist/chunks/{file-mutation-84txncab.js → tool-84txncab.js} +1 -1
  94. package/dist/chunks/{file-mutation-zw1te067.js → tool-88t4yrn9.js} +20 -20
  95. package/dist/chunks/{file-mutation-gh5z95q3.js → tool-8a6ws7jr.js} +9 -9
  96. package/dist/chunks/{file-mutation-kk8h1mek.js → tool-8aaqm6qj.js} +8 -8
  97. package/dist/chunks/{file-mutation-zj6wahms.js → tool-8bha9w2p.js} +10 -10
  98. package/dist/chunks/{file-mutation-8d7r5vzw.js → tool-8d7r5vzw.js} +1 -1
  99. package/dist/chunks/{file-mutation-rq0cz1vq.js → tool-8f6m8c4b.js} +11 -11
  100. package/dist/chunks/{file-mutation-b0hy8ze2.js → tool-8m8eqb0p.js} +11 -11
  101. package/dist/chunks/{file-mutation-nvtp25pr.js → tool-8yavwngc.js} +13 -13
  102. package/dist/chunks/{file-mutation-prb5bsag.js → tool-90ytmqma.js} +18 -18
  103. package/dist/chunks/{file-mutation-vpqadsf2.js → tool-98tegs2y.js} +26 -26
  104. package/dist/chunks/{file-mutation-g577d20j.js → tool-99rd90tq.js} +48 -48
  105. package/dist/chunks/{file-mutation-5tqqzxgh.js → tool-9bwc8hw1.js} +6 -6
  106. package/dist/chunks/{file-mutation-9e5bzkjp.js → tool-9e5bzkjp.js} +3 -3
  107. package/dist/chunks/{file-mutation-6awh52j5.js → tool-9e5p6t2h.js} +14 -14
  108. package/dist/chunks/{file-mutation-23xej63c.js → tool-9frdx5hm.js} +7 -7
  109. package/dist/chunks/{file-mutation-xxdk3vq8.js → tool-9hvgyr50.js} +36 -36
  110. package/dist/chunks/{file-mutation-c1ccxcvh.js → tool-9m1qv4sr.js} +15 -15
  111. package/dist/chunks/{file-mutation-s8d7rejh.js → tool-9t7a50xb.js} +4 -4
  112. package/dist/chunks/{file-mutation-h5w29vws.js → tool-a4ae1mqs.js} +1 -1
  113. package/dist/chunks/{file-mutation-sbcrysfm.js → tool-a5fdf1es.js} +10 -10
  114. package/dist/chunks/{file-mutation-ce5fknq2.js → tool-a694798e.js} +5 -5
  115. package/dist/chunks/{file-mutation-cnztrm4d.js → tool-a72skx39.js} +3 -3
  116. package/dist/chunks/{file-mutation-aaet6srn.js → tool-aaet6srn.js} +2 -2
  117. package/dist/chunks/{file-mutation-e9tr4j2t.js → tool-ab5g3gyt.js} +17 -17
  118. package/dist/chunks/{file-mutation-661jy2vh.js → tool-af6c9m8w.js} +26 -26
  119. package/dist/chunks/{file-mutation-dg53hes0.js → tool-agssjnsy.js} +9 -9
  120. package/dist/chunks/{file-mutation-jd3qxksf.js → tool-at1f3efs.js} +16 -16
  121. package/dist/chunks/{file-mutation-zrq8kphx.js → tool-at1kfnmk.js} +8 -8
  122. package/dist/chunks/{file-mutation-6f15q24d.js → tool-atmvy895.js} +8 -8
  123. package/dist/chunks/{file-mutation-yz2qwk65.js → tool-b2mfa9xz.js} +24 -24
  124. package/dist/chunks/{file-mutation-mk8wm5aw.js → tool-b5w00b0k.js} +13 -13
  125. package/dist/chunks/{file-mutation-b6gygkdw.js → tool-b6gygkdw.js} +2 -2
  126. package/dist/chunks/{file-mutation-h3gc8pws.js → tool-bbd0f1y9.js} +15 -15
  127. package/dist/chunks/{file-mutation-6tf55av8.js → tool-bwp70caj.js} +18 -18
  128. package/dist/chunks/{file-mutation-9h0gn9cc.js → tool-c2jpvny9.js} +18 -18
  129. package/dist/chunks/tool-c652knrp.js +253 -0
  130. package/dist/chunks/{file-mutation-2pnhn36q.js → tool-cavr175a.js} +21 -21
  131. package/dist/chunks/{file-mutation-ts23464c.js → tool-cfsekr6v.js} +4 -4
  132. package/dist/chunks/{file-mutation-b0hchee3.js → tool-cjmm0qt3.js} +52 -52
  133. package/dist/chunks/tool-cqsczj1k.js +26 -0
  134. package/dist/chunks/{file-mutation-egrnxctx.js → tool-cx5j657v.js} +5 -5
  135. package/dist/chunks/{file-mutation-xvc9znd7.js → tool-d13qwqgh.js} +24 -24
  136. package/dist/chunks/{file-mutation-5dkn69vz.js → tool-d2czbp48.js} +4 -4
  137. package/dist/chunks/{file-mutation-dpfsf5br.js → tool-d761m3y3.js} +9 -9
  138. package/dist/chunks/{file-mutation-5c5s8b62.js → tool-dfjg1bp5.js} +52 -52
  139. package/dist/chunks/{file-mutation-rj4pd13v.js → tool-dh608gq4.js} +20 -20
  140. package/dist/chunks/{file-mutation-v78aj3nx.js → tool-djravzrm.js} +10 -10
  141. package/dist/chunks/{file-mutation-2sejkfem.js → tool-djszqvmq.js} +9 -9
  142. package/dist/chunks/{file-mutation-xr5bsvjh.js → tool-dktv53ts.js} +44 -44
  143. package/dist/chunks/{file-mutation-dpkg50ah.js → tool-dpkg50ah.js} +1 -1
  144. package/dist/chunks/{file-mutation-wyfkmmh4.js → tool-dr9qm9pw.js} +11 -11
  145. package/dist/chunks/{file-mutation-k3fwe1m1.js → tool-dy8n0qm6.js} +18 -18
  146. package/dist/chunks/{file-mutation-naagb8nt.js → tool-e41k2zcz.js} +32 -32
  147. package/dist/chunks/{file-mutation-4bfg69m5.js → tool-e9w3b6g9.js} +2 -2
  148. package/dist/chunks/{file-mutation-a66jrvr3.js → tool-ec3xbt7p.js} +5 -5
  149. package/dist/chunks/{file-mutation-ef5x83kb.js → tool-ef5x83kb.js} +1 -1
  150. package/dist/chunks/{file-mutation-b899gpc5.js → tool-eg18rmn3.js} +21 -21
  151. package/dist/chunks/{file-mutation-1cs8m4t2.js → tool-emd75jk3.js} +11 -11
  152. package/dist/chunks/{file-mutation-zb6sgdts.js → tool-epxcr31w.js} +3 -3
  153. package/dist/chunks/{file-mutation-mabzq6p0.js → tool-eq44gh0z.js} +22 -22
  154. package/dist/chunks/{file-mutation-trt60g9v.js → tool-esfye6zx.js} +11 -11
  155. package/dist/chunks/{file-mutation-2w25s120.js → tool-esx0q18m.js} +11 -11
  156. package/dist/chunks/{file-mutation-etq0c3wd.js → tool-etq0c3wd.js} +1 -1
  157. package/dist/chunks/{file-mutation-nfa3hktv.js → tool-ewp9wevh.js} +3 -3
  158. package/dist/chunks/{file-mutation-reeps5ys.js → tool-f2ynrejf.js} +14 -14
  159. package/dist/chunks/{file-mutation-fj2fe1z2.js → tool-f372e9hx.js} +4 -4
  160. package/dist/chunks/{file-mutation-6ysrkrkr.js → tool-f5gy8qwh.js} +8 -8
  161. package/dist/chunks/{file-mutation-cct50mkk.js → tool-faawnrv4.js} +12 -12
  162. package/dist/chunks/{file-mutation-j1exw291.js → tool-fkngwg2k.js} +29 -29
  163. package/dist/chunks/{file-mutation-wx286pgp.js → tool-fqa841x5.js} +12 -12
  164. package/dist/chunks/{file-mutation-w19d8598.js → tool-g5w8qwbj.js} +7 -7
  165. package/dist/chunks/{file-mutation-35ja2k0w.js → tool-gccjnz6h.js} +2 -2
  166. package/dist/chunks/{file-mutation-gj9znxmq.js → tool-gce79w0q.js} +3 -3
  167. package/dist/chunks/{file-mutation-gd4qta3r.js → tool-gd4qta3r.js} +1 -1
  168. package/dist/chunks/{file-mutation-b0gk7bse.js → tool-gkh9snj0.js} +19 -19
  169. package/dist/chunks/{file-mutation-njxwjya1.js → tool-gnje2431.js} +1 -1
  170. package/dist/chunks/{file-mutation-d2rn1z0s.js → tool-gzwmz214.js} +28 -28
  171. package/dist/chunks/{file-mutation-h2b79v29.js → tool-h2b79v29.js} +2 -2
  172. package/dist/chunks/{file-mutation-33pc7s1j.js → tool-h412aj1p.js} +45 -45
  173. package/dist/chunks/{file-mutation-s5h4p73x.js → tool-h6nxw0pd.js} +8 -8
  174. package/dist/chunks/{file-mutation-h6vf3j39.js → tool-h6vf3j39.js} +1 -1
  175. package/dist/chunks/{file-mutation-jkw9nnd0.js → tool-hh30mmv6.js} +4 -4
  176. package/dist/chunks/{file-mutation-mecqpy2n.js → tool-hksy7w0e.js} +9 -9
  177. package/dist/chunks/tool-ht5y0zrb.js +18 -0
  178. package/dist/chunks/{file-mutation-7yxxj0jq.js → tool-htbz2s2q.js} +20 -20
  179. package/dist/chunks/{file-mutation-59nzr7fw.js → tool-j2mwjwzb.js} +14 -14
  180. package/dist/chunks/{file-mutation-j56e64zr.js → tool-j56e64zr.js} +1 -1
  181. package/dist/chunks/{file-mutation-svwmk5ch.js → tool-j75aexbk.js} +31 -31
  182. package/dist/chunks/{file-mutation-y9xj6aq1.js → tool-jb98t3yg.js} +9 -9
  183. package/dist/chunks/{file-mutation-e638a1gw.js → tool-jebbcwb7.js} +182 -182
  184. package/dist/chunks/{file-mutation-4z9v8c1j.js → tool-jg9mfmbc.js} +33 -33
  185. package/dist/chunks/{file-mutation-rey1fnbk.js → tool-jghb6zsz.js} +27 -27
  186. package/dist/chunks/{file-mutation-r4hkhpy7.js → tool-jyqxqm4f.js} +8 -8
  187. package/dist/chunks/{file-mutation-m8e6htjm.js → tool-k0aa2bpn.js} +13 -13
  188. package/dist/chunks/{file-mutation-50509jqz.js → tool-k2rcv5mf.js} +20 -20
  189. package/dist/chunks/{file-mutation-q97xhhb3.js → tool-k86ctsz1.js} +7 -7
  190. package/dist/chunks/{file-mutation-07y42gcd.js → tool-kt3hcyyz.js} +24 -24
  191. package/dist/chunks/{file-mutation-dfqatd0t.js → tool-kvq6zm8d.js} +11 -11
  192. package/dist/chunks/{file-mutation-kkp8zx71.js → tool-kzc3h1h3.js} +4 -4
  193. package/dist/chunks/{file-mutation-m3fdjcah.js → tool-m3fdjcah.js} +1 -1
  194. package/dist/chunks/{file-mutation-sf58mb6r.js → tool-m6hkzgzt.js} +17 -17
  195. package/dist/chunks/{file-mutation-s88dh0zy.js → tool-m6pz7yaw.js} +29 -29
  196. package/dist/chunks/{file-mutation-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
  197. package/dist/chunks/{file-mutation-6h1ernme.js → tool-maqk305m.js} +11 -11
  198. package/dist/chunks/{file-mutation-8gp600m4.js → tool-mh8avh3a.js} +32 -32
  199. package/dist/chunks/{file-mutation-pd5dkj66.js → tool-mw7fyssf.js} +10 -10
  200. package/dist/chunks/{file-mutation-75ej4jpw.js → tool-mx1sz4x7.js} +25 -25
  201. package/dist/chunks/{file-mutation-nkbqs3g6.js → tool-n5w4zgy3.js} +5 -5
  202. package/dist/chunks/{file-mutation-hwv85ce9.js → tool-n9gejz5b.js} +5 -5
  203. package/dist/chunks/{file-mutation-2fznsc3f.js → tool-nb12znkd.js} +20 -20
  204. package/dist/chunks/{file-mutation-stfzz5h9.js → tool-nd79nxgk.js} +15 -15
  205. package/dist/chunks/{file-mutation-vvevwg1z.js → tool-ngqw0ypv.js} +86 -86
  206. package/dist/chunks/{file-mutation-7ynsymrs.js → tool-nm9kjter.js} +15 -15
  207. package/dist/chunks/{file-mutation-z35yy1yy.js → tool-nxn2kzp1.js} +7 -7
  208. package/dist/chunks/{file-mutation-fx5yzyf4.js → tool-p872nfyh.js} +47 -47
  209. package/dist/chunks/{file-mutation-fyk5f08g.js → tool-p9why5pw.js} +30 -30
  210. package/dist/chunks/{file-mutation-v9zpe6q8.js → tool-pfhas51f.js} +11 -11
  211. package/dist/chunks/{file-mutation-zrsy8rcr.js → tool-pfthk98r.js} +3 -3
  212. package/dist/chunks/{file-mutation-pjvnvgmy.js → tool-pjvnvgmy.js} +1 -1
  213. package/dist/chunks/{file-mutation-pknna89w.js → tool-pknna89w.js} +1 -1
  214. package/dist/chunks/{file-mutation-hb6rb7bn.js → tool-psb6wvpf.js} +16 -16
  215. package/dist/chunks/{file-mutation-q61exdqj.js → tool-pwge32e4.js} +4 -4
  216. package/dist/chunks/{file-mutation-0j77ygfz.js → tool-q0xm7vwc.js} +6 -6
  217. package/dist/chunks/{file-mutation-h9wmft7n.js → tool-q8dg0qrx.js} +18 -18
  218. package/dist/chunks/{file-mutation-ratrq7cm.js → tool-qa3qhgw8.js} +4 -4
  219. package/dist/chunks/{file-mutation-51zktd4p.js → tool-qbsvtwmm.js} +7 -7
  220. package/dist/chunks/{file-mutation-vz9sc8m2.js → tool-qkfezwh6.js} +15 -15
  221. package/dist/chunks/{file-mutation-qnc92qwc.js → tool-qnc92qwc.js} +1 -1
  222. package/dist/chunks/{file-mutation-cbgnwsbv.js → tool-qptn7k98.js} +20 -20
  223. package/dist/chunks/{file-mutation-qsdy395h.js → tool-qsdy395h.js} +1 -1
  224. package/dist/chunks/{file-mutation-8az841hp.js → tool-qycxan82.js} +10 -10
  225. package/dist/chunks/{file-mutation-rdw6cm16.js → tool-rdw6cm16.js} +1 -1
  226. package/dist/chunks/{file-mutation-j16n443z.js → tool-rfg5269m.js} +9 -9
  227. package/dist/chunks/{file-mutation-9pafp8w8.js → tool-rh254cas.js} +24 -24
  228. package/dist/chunks/{file-mutation-ybef7sh4.js → tool-rva2vaqy.js} +24 -24
  229. package/dist/chunks/{file-mutation-r3xyzp2p.js → tool-rvzqsjbs.js} +15 -15
  230. package/dist/chunks/{file-mutation-3k5mtz14.js → tool-s3skzd7w.js} +26 -26
  231. package/dist/chunks/{file-mutation-wecqtg5s.js → tool-scgrse2b.js} +5 -5
  232. package/dist/chunks/{file-mutation-r84a9mmt.js → tool-sge72mws.js} +15 -15
  233. package/dist/chunks/{file-mutation-cvwp2h00.js → tool-sj09p6fx.js} +17 -17
  234. package/dist/chunks/{file-mutation-218f2z9s.js → tool-sp63qzw1.js} +30 -30
  235. package/dist/chunks/{file-mutation-709pec4s.js → tool-svdf0mx4.js} +35 -35
  236. package/dist/chunks/{file-mutation-1nvf6535.js → tool-t5rxgedn.js} +3 -3
  237. package/dist/chunks/{file-mutation-tazgh4e4.js → tool-tazgh4e4.js} +1 -1
  238. package/dist/chunks/{file-mutation-tcezcvh9.js → tool-tcezcvh9.js} +1 -1
  239. package/dist/chunks/{file-mutation-tdstcens.js → tool-tdstcens.js} +1 -1
  240. package/dist/chunks/{file-mutation-p6tv4abw.js → tool-tj5stkpz.js} +22 -22
  241. package/dist/chunks/{file-mutation-n8et2scw.js → tool-ts9txmc3.js} +11 -11
  242. package/dist/chunks/{file-mutation-jebr833t.js → tool-v1gpf2yb.js} +34 -34
  243. package/dist/chunks/{file-mutation-45xcksxr.js → tool-v4xb2j5s.js} +19 -19
  244. package/dist/chunks/{file-mutation-7fjb48bx.js → tool-v4zkdgc9.js} +17 -17
  245. package/dist/chunks/{file-mutation-aw8nxmf0.js → tool-v5twwn9z.js} +20 -20
  246. package/dist/chunks/{file-mutation-b7ge55kx.js → tool-v7wmy86e.js} +5 -5
  247. package/dist/chunks/{file-mutation-f4jh16nv.js → tool-vdqy2d40.js} +11 -11
  248. package/dist/chunks/{file-mutation-ecv2nrx7.js → tool-veq1ptvw.js} +23 -23
  249. package/dist/chunks/{file-mutation-tsyxe6gt.js → tool-veqef7sc.js} +5 -5
  250. package/dist/chunks/{file-mutation-veqvce7d.js → tool-veqvce7d.js} +1 -1
  251. package/dist/chunks/{file-mutation-zfs8ae4p.js → tool-vn72gsba.js} +4 -4
  252. package/dist/chunks/{file-mutation-mq8ak108.js → tool-vq1q2ta7.js} +11 -11
  253. package/dist/chunks/{file-mutation-vzs5sf6e.js → tool-vzs5sf6e.js} +1 -1
  254. package/dist/chunks/{file-mutation-vpy0bwhg.js → tool-w11tz2pw.js} +28 -28
  255. package/dist/chunks/{file-mutation-1wmy5d9r.js → tool-w1ry99tz.js} +22 -22
  256. package/dist/chunks/{file-mutation-q0raz0xt.js → tool-w3nq1sqw.js} +9 -9
  257. package/dist/chunks/{file-mutation-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{file-mutation-mj7xzjqf.js → tool-w9wfhscg.js} +5 -5
  259. package/dist/chunks/{file-mutation-6yjaq157.js → tool-wchs5kcb.js} +6 -6
  260. package/dist/chunks/{file-mutation-hvsqzrqa.js → tool-wcwsz0n1.js} +15 -15
  261. package/dist/chunks/{file-mutation-wd87259q.js → tool-wd87259q.js} +1 -1
  262. package/dist/chunks/{file-mutation-rwvy7yhp.js → tool-wdg5bjkg.js} +7 -7
  263. package/dist/chunks/{file-mutation-6yz0wx8n.js → tool-wh6zw745.js} +5 -5
  264. package/dist/chunks/{file-mutation-za3690yj.js → tool-wrhmq8wv.js} +8 -8
  265. package/dist/chunks/{file-mutation-04g8e5pr.js → tool-wvpq0bw3.js} +1 -1
  266. package/dist/chunks/{file-mutation-pr0hvdxq.js → tool-x48reza4.js} +20 -20
  267. package/dist/chunks/{file-mutation-c03ncta3.js → tool-x5z5qag1.js} +30 -30
  268. package/dist/chunks/{file-mutation-hdgeq1g7.js → tool-xa84tjd1.js} +43 -43
  269. package/dist/chunks/{file-mutation-241ryskx.js → tool-xf8f9mz3.js} +35 -35
  270. package/dist/chunks/{file-mutation-xkntkrq7.js → tool-xkntkrq7.js} +2 -2
  271. package/dist/chunks/{file-mutation-8jbkjwmp.js → tool-xp6p1dgv.js} +11 -11
  272. package/dist/chunks/{file-mutation-xyafkbt0.js → tool-xyafkbt0.js} +3 -3
  273. package/dist/chunks/{file-mutation-y1fvbwt7.js → tool-y1fvbwt7.js} +1 -1
  274. package/dist/chunks/{file-mutation-h1249wnn.js → tool-y3cnjxb9.js} +22 -22
  275. package/dist/chunks/{file-mutation-p80jebcz.js → tool-ycm51zrg.js} +4 -4
  276. package/dist/chunks/{file-mutation-8bv871ss.js → tool-yk3b2hhw.js} +9 -9
  277. package/dist/chunks/{file-mutation-mc17spta.js → tool-ykkbspqz.js} +20 -20
  278. package/dist/chunks/{file-mutation-z0bkrqjs.js → tool-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{file-mutation-2k9fjx65.js → tool-z6c3x22d.js} +5 -5
  280. package/dist/chunks/{file-mutation-hsewefds.js → tool-z98n36ea.js} +18 -18
  281. package/dist/chunks/{file-mutation-cg1xxbyb.js → tool-zhrz246t.js} +38 -38
  282. package/dist/chunks/{file-mutation-zr2ceqn5.js → tool-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{file-mutation-zxq2ej10.js → tool-zxq2ej10.js} +1 -1
  284. package/dist/chunks/{file-mutation-knevfgda.js → tool-zy43x3f1.js} +4 -4
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +9 -9
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +81 -81
  290. package/dist/config/discovery.js +82 -82
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +99 -99
  293. package/dist/config/plugin/agent.js +118 -118
  294. package/dist/config/plugin/command.js +207 -207
  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 +117 -117
  299. package/dist/config/plugin/image.js +116 -116
  300. package/dist/config/plugin/instruction.js +90 -90
  301. package/dist/config/plugin/location-watcher.js +116 -116
  302. package/dist/config/plugin/mcp.js +125 -125
  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 +102 -102
  308. package/dist/config/plugin/skill.js +137 -137
  309. package/dist/config/plugin/snapshot.js +116 -116
  310. package/dist/config/plugin/source.js +119 -119
  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 +3 -3
  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 +83 -83
  319. package/dist/database/database.js +66 -66
  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.gen.js +49 -49
  385. package/dist/database/migration.js +51 -51
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +76 -76
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +363 -363
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +1 -1
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +93 -93
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +95 -95
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +70 -70
  409. package/dist/file-access.js +104 -104
  410. package/dist/file-mutation.js +94 -94
  411. package/dist/file-retention.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/location-watcher-policy.js +6 -6
  417. package/dist/filesystem/location-watcher.js +218 -218
  418. package/dist/filesystem/protected.js +1 -1
  419. package/dist/filesystem/search.js +103 -103
  420. package/dist/filesystem/watcher-binding.js +3 -3
  421. package/dist/filesystem/watcher.js +15 -15
  422. package/dist/filesystem.js +98 -98
  423. package/dist/form.js +82 -82
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +87 -87
  426. package/dist/generate.js +101 -101
  427. package/dist/git.js +10 -10
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +99 -99
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/image/photon.js +2 -2
  448. package/dist/image.js +6 -6
  449. package/dist/instance/service.js +5 -5
  450. package/dist/instance.js +354 -354
  451. package/dist/instruction-discovery.js +83 -83
  452. package/dist/instructions/builtins.js +87 -87
  453. package/dist/instructions/index.js +3 -3
  454. package/dist/integration/connection.js +3 -3
  455. package/dist/integration.js +89 -89
  456. package/dist/job.js +78 -78
  457. package/dist/kv/sql.js +2 -2
  458. package/dist/kv.js +73 -73
  459. package/dist/location-activity.js +131 -131
  460. package/dist/location-lifecycle.js +107 -107
  461. package/dist/location-service-map.js +86 -86
  462. package/dist/location-services.js +351 -351
  463. package/dist/location.js +89 -89
  464. package/dist/managed-policy.js +5 -5
  465. package/dist/mcp/client.js +91 -91
  466. package/dist/mcp/index.js +107 -107
  467. package/dist/mcp/instructions.js +127 -127
  468. package/dist/mcp/oauth.js +78 -78
  469. package/dist/mcp/stdio.js +90 -90
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +99 -99
  472. package/dist/model-resolver.js +98 -98
  473. package/dist/model.js +100 -100
  474. package/dist/models-dev.js +107 -107
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +80 -80
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +113 -113
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +88 -88
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +75 -75
  484. package/dist/plugin/agent.js +104 -104
  485. package/dist/plugin/command.js +102 -102
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +211 -211
  488. package/dist/plugin/identity.js +3 -3
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +326 -326
  491. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  492. package/dist/plugin/models-dev.js +96 -96
  493. package/dist/plugin/module.js +7 -7
  494. package/dist/plugin/optimize.js +2 -2
  495. package/dist/plugin/plan.js +102 -102
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  498. package/dist/plugin/provider/azure.js +117 -117
  499. package/dist/plugin/provider/cerebras.js +1 -1
  500. package/dist/plugin/provider/chatgpt.js +93 -93
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +112 -112
  505. package/dist/plugin/provider/digitalocean.js +93 -93
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/github-copilot.js +95 -95
  509. package/dist/plugin/provider/gitlab.js +93 -93
  510. package/dist/plugin/provider/google-vertex.js +90 -90
  511. package/dist/plugin/provider/kilo.js +1 -1
  512. package/dist/plugin/provider/llmgateway.js +78 -78
  513. package/dist/plugin/provider/lmstudio.js +116 -116
  514. package/dist/plugin/provider/local.js +113 -113
  515. package/dist/plugin/provider/modal.js +92 -92
  516. package/dist/plugin/provider/nvidia.js +1 -1
  517. package/dist/plugin/provider/ollama.js +116 -116
  518. package/dist/plugin/provider/openai.js +93 -93
  519. package/dist/plugin/provider/opencode.js +96 -96
  520. package/dist/plugin/provider/openrouter.js +91 -91
  521. package/dist/plugin/provider/perplexity.js +2 -2
  522. package/dist/plugin/provider/poe.js +79 -79
  523. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  524. package/dist/plugin/provider/sap-ai-core.js +91 -91
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  527. package/dist/plugin/provider/vercel.js +90 -90
  528. package/dist/plugin/provider/vllm.js +116 -116
  529. package/dist/plugin/provider/xai.js +91 -91
  530. package/dist/plugin/provider/zenmux.js +1 -1
  531. package/dist/plugin/provider.js +155 -155
  532. package/dist/plugin/sdk.js +76 -76
  533. package/dist/plugin/service.js +3 -3
  534. package/dist/plugin/skill.js +134 -134
  535. package/dist/plugin/source-directory.js +1 -1
  536. package/dist/plugin/supervisor.js +345 -345
  537. package/dist/plugin/tool-input-repair.js +4 -4
  538. package/dist/plugin/update.js +4 -4
  539. package/dist/plugin/vcs/git.js +86 -86
  540. package/dist/plugin/vcs/hg.js +86 -86
  541. package/dist/plugin/verbosity.js +93 -93
  542. package/dist/plugin/warming.js +114 -114
  543. package/dist/plugin/websearch/exa.js +7 -7
  544. package/dist/plugin/websearch/firecrawl.js +8 -8
  545. package/dist/plugin/websearch/index.js +9 -9
  546. package/dist/plugin/websearch/mcp.js +4 -4
  547. package/dist/plugin/websearch/parallel.js +8 -8
  548. package/dist/plugin/websearch/tavily.js +6 -6
  549. package/dist/plugin/websearch/tinyfish.js +8 -8
  550. package/dist/plugin.js +216 -216
  551. package/dist/project/schema.js +8 -8
  552. package/dist/project/sql.js +4 -4
  553. package/dist/project.js +90 -90
  554. package/dist/provider.js +101 -101
  555. package/dist/pty/protocol.js +1 -1
  556. package/dist/pty/ticket.js +1 -1
  557. package/dist/pty.js +99 -99
  558. package/dist/reference/instructions.js +89 -89
  559. package/dist/reference.js +87 -87
  560. package/dist/repository-cache.js +81 -81
  561. package/dist/repository.js +1 -1
  562. package/dist/ripgrep/binary.js +2 -2
  563. package/dist/ripgrep.js +95 -95
  564. package/dist/rpc.js +86 -86
  565. package/dist/schema.js +1 -1
  566. package/dist/session/affinity.js +1 -1
  567. package/dist/session/command.js +74 -74
  568. package/dist/session/compaction.js +131 -131
  569. package/dist/session/context.js +153 -153
  570. package/dist/session/diff.js +88 -88
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +5 -5
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +214 -214
  575. package/dist/session/execution.js +125 -125
  576. package/dist/session/generate.js +152 -152
  577. package/dist/session/history.js +15 -15
  578. package/dist/session/inbox.js +86 -86
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +79 -79
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +97 -97
  583. package/dist/session/message-updater.js +2 -2
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +120 -120
  586. package/dist/session/model-transport.js +9 -9
  587. package/dist/session/move.js +129 -129
  588. package/dist/session/projector.js +84 -84
  589. package/dist/session/prompt.js +105 -105
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +90 -90
  592. package/dist/session/run-coordinator.js +1 -1
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +224 -224
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +98 -98
  597. package/dist/session/runner/publish-llm-event.js +113 -113
  598. package/dist/session/runner/retry.js +4 -4
  599. package/dist/session/runner/step.js +125 -125
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +5 -5
  602. package/dist/session/session.js +162 -162
  603. package/dist/session/shell.js +130 -130
  604. package/dist/session/skill.js +103 -103
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +73 -73
  607. package/dist/session/store.js +85 -85
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +203 -203
  610. package/dist/session/system-prompt.js +5 -5
  611. package/dist/session/title.js +157 -157
  612. package/dist/session/to-session-error.js +111 -111
  613. package/dist/session/transfer.js +210 -210
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +209 -209
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +3 -3
  620. package/dist/shell.js +132 -132
  621. package/dist/skill/discovery.js +6 -6
  622. package/dist/skill/instructions.js +107 -107
  623. package/dist/skill.js +112 -112
  624. package/dist/snapshot.js +91 -91
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +126 -126
  629. package/dist/tool/plugin/edit.js +118 -118
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +124 -124
  632. package/dist/tool/plugin/grep.js +124 -124
  633. package/dist/tool/plugin/mcp-resource.js +117 -117
  634. package/dist/tool/plugin/opencode.js +3 -3
  635. package/dist/tool/plugin/patch.js +122 -122
  636. package/dist/tool/plugin/question.js +103 -103
  637. package/dist/tool/plugin/read.js +125 -125
  638. package/dist/tool/plugin/shell.js +208 -208
  639. package/dist/tool/plugin/skill.js +111 -111
  640. package/dist/tool/plugin/subagent.js +212 -212
  641. package/dist/tool/plugin/webfetch.js +110 -110
  642. package/dist/tool/plugin/websearch.js +112 -112
  643. package/dist/tool/plugin/write.js +122 -122
  644. package/dist/tool/read-filesystem.js +100 -100
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +7 -7
  647. package/dist/tool.js +14 -14
  648. package/dist/types/plugin/provider/chatgpt.d.ts +1 -1
  649. package/dist/util/error-summary.js +1 -1
  650. package/dist/util/error.js +1 -1
  651. package/dist/util/git-executable.js +2 -2
  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 +7 -7
  659. package/dist/v1/config/command.js +3 -3
  660. package/dist/v1/config/error.js +4 -4
  661. package/dist/v1/config/mcp.js +4 -4
  662. package/dist/v1/config/migrate.js +92 -92
  663. package/dist/v1/config/permission.js +7 -7
  664. package/dist/v1/config/plugin.js +3 -3
  665. package/dist/v1/config/provider-options.js +1 -1
  666. package/dist/v1/config/provider.js +4 -4
  667. package/dist/variant.js +93 -93
  668. package/dist/vcs/patch.js +1 -1
  669. package/dist/vcs.js +87 -87
  670. package/dist/websearch.js +80 -80
  671. package/dist/wellknown/plugin.js +76 -76
  672. package/dist/wellknown.js +81 -81
  673. package/dist/workspace/driver.js +7 -7
  674. package/dist/workspace/sql.js +1 -1
  675. package/dist/workspace.js +80 -80
  676. package/dist/worktree/directory.js +2 -2
  677. package/dist/worktree/git.js +8 -8
  678. package/dist/worktree/sql.js +5 -5
  679. package/dist/worktree/strategies.js +89 -89
  680. package/dist/worktree.js +96 -96
  681. package/package.json +8 -8
  682. package/dist/chunks/file-mutation-55zhmapd.js +0 -253
  683. package/dist/chunks/file-mutation-9qyxy0zz.js +0 -26
  684. package/dist/chunks/file-mutation-ctefx7dc.js +0 -18
  685. package/dist/chunks/file-mutation-zx72hgwt.js +0 -507
  686. /package/dist/chunks/{file-mutation-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
  687. /package/dist/chunks/{file-mutation-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
  688. /package/dist/chunks/{file-mutation-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
  689. /package/dist/chunks/{file-mutation-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
  690. /package/dist/chunks/{file-mutation-1kg9ymc8.js → tool-1kg9ymc8.js} +0 -0
  691. /package/dist/chunks/{file-mutation-24dcb14g.js → tool-24dcb14g.js} +0 -0
  692. /package/dist/chunks/{file-mutation-2710q6r3.js → tool-2710q6r3.js} +0 -0
  693. /package/dist/chunks/{file-mutation-2axfhc9x.js → tool-2axfhc9x.js} +0 -0
  694. /package/dist/chunks/{file-mutation-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
  695. /package/dist/chunks/{file-mutation-34c7v6d4.js → tool-34c7v6d4.js} +0 -0
  696. /package/dist/chunks/{file-mutation-359p4xyc.js → tool-359p4xyc.js} +0 -0
  697. /package/dist/chunks/{file-mutation-3asan66x.js → tool-3asan66x.js} +0 -0
  698. /package/dist/chunks/{file-mutation-3t0ybcrp.js → tool-3t0ybcrp.js} +0 -0
  699. /package/dist/chunks/{file-mutation-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
  700. /package/dist/chunks/{file-mutation-3w5fmr99.js → tool-3w5fmr99.js} +0 -0
  701. /package/dist/chunks/{file-mutation-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
  702. /package/dist/chunks/{file-mutation-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
  703. /package/dist/chunks/{file-mutation-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
  704. /package/dist/chunks/{file-mutation-4vcrnpx2.js → tool-4vcrnpx2.js} +0 -0
  705. /package/dist/chunks/{file-mutation-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
  706. /package/dist/chunks/{file-mutation-53557ph1.js → tool-53557ph1.js} +0 -0
  707. /package/dist/chunks/{file-mutation-550bvhaj.js → tool-550bvhaj.js} +0 -0
  708. /package/dist/chunks/{file-mutation-6prwharc.js → tool-6prwharc.js} +0 -0
  709. /package/dist/chunks/{file-mutation-6q2bdcd1.js → tool-6q2bdcd1.js} +0 -0
  710. /package/dist/chunks/{file-mutation-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
  711. /package/dist/chunks/{file-mutation-7m9af43g.js → tool-7m9af43g.js} +0 -0
  712. /package/dist/chunks/{file-mutation-822emrt2.js → tool-822emrt2.js} +0 -0
  713. /package/dist/chunks/{file-mutation-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
  714. /package/dist/chunks/{file-mutation-8n3pysct.js → tool-8n3pysct.js} +0 -0
  715. /package/dist/chunks/{file-mutation-8wj87zfr.js → tool-8wj87zfr.js} +0 -0
  716. /package/dist/chunks/{file-mutation-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
  717. /package/dist/chunks/{file-mutation-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
  718. /package/dist/chunks/{file-mutation-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
  719. /package/dist/chunks/{file-mutation-af5trqkr.js → tool-af5trqkr.js} +0 -0
  720. /package/dist/chunks/{file-mutation-afrmfg78.js → tool-afrmfg78.js} +0 -0
  721. /package/dist/chunks/{file-mutation-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
  722. /package/dist/chunks/{file-mutation-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
  723. /package/dist/chunks/{file-mutation-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
  724. /package/dist/chunks/{file-mutation-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
  725. /package/dist/chunks/{file-mutation-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
  726. /package/dist/chunks/{file-mutation-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
  727. /package/dist/chunks/{file-mutation-d9fn303g.js → tool-d9fn303g.js} +0 -0
  728. /package/dist/chunks/{file-mutation-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
  729. /package/dist/chunks/{file-mutation-dajrwvna.js → tool-dajrwvna.js} +0 -0
  730. /package/dist/chunks/{file-mutation-dap0rakb.js → tool-dap0rakb.js} +0 -0
  731. /package/dist/chunks/{file-mutation-df08tz66.js → tool-df08tz66.js} +0 -0
  732. /package/dist/chunks/{file-mutation-dy18nga0.js → tool-dy18nga0.js} +0 -0
  733. /package/dist/chunks/{file-mutation-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
  734. /package/dist/chunks/{file-mutation-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
  735. /package/dist/chunks/{file-mutation-ec1grn59.js → tool-ec1grn59.js} +0 -0
  736. /package/dist/chunks/{file-mutation-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
  737. /package/dist/chunks/{file-mutation-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
  738. /package/dist/chunks/{file-mutation-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
  739. /package/dist/chunks/{file-mutation-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
  740. /package/dist/chunks/{file-mutation-faypxj3z.js → tool-faypxj3z.js} +0 -0
  741. /package/dist/chunks/{file-mutation-fd410y7t.js → tool-fd410y7t.js} +0 -0
  742. /package/dist/chunks/{file-mutation-fxgpk5d8.js → tool-fxgpk5d8.js} +0 -0
  743. /package/dist/chunks/{file-mutation-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
  744. /package/dist/chunks/{file-mutation-g86h250q.js → tool-g86h250q.js} +0 -0
  745. /package/dist/chunks/{file-mutation-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
  746. /package/dist/chunks/{file-mutation-gftt206x.js → tool-gftt206x.js} +0 -0
  747. /package/dist/chunks/{file-mutation-hk9envan.js → tool-hk9envan.js} +0 -0
  748. /package/dist/chunks/{file-mutation-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
  749. /package/dist/chunks/{file-mutation-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
  750. /package/dist/chunks/{file-mutation-jjkms2e6.js → tool-jjkms2e6.js} +0 -0
  751. /package/dist/chunks/{file-mutation-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
  752. /package/dist/chunks/{file-mutation-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
  753. /package/dist/chunks/{file-mutation-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
  754. /package/dist/chunks/{file-mutation-mp448xyj.js → tool-mp448xyj.js} +0 -0
  755. /package/dist/chunks/{file-mutation-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
  756. /package/dist/chunks/{file-mutation-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
  757. /package/dist/chunks/{file-mutation-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
  758. /package/dist/chunks/{file-mutation-njntx4h6.js → tool-njntx4h6.js} +0 -0
  759. /package/dist/chunks/{file-mutation-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
  760. /package/dist/chunks/{file-mutation-q74kybfr.js → tool-q74kybfr.js} +0 -0
  761. /package/dist/chunks/{file-mutation-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
  762. /package/dist/chunks/{file-mutation-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
  763. /package/dist/chunks/{file-mutation-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
  764. /package/dist/chunks/{file-mutation-qg3g05ea.js → tool-qg3g05ea.js} +0 -0
  765. /package/dist/chunks/{file-mutation-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
  766. /package/dist/chunks/{file-mutation-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
  767. /package/dist/chunks/{file-mutation-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
  768. /package/dist/chunks/{file-mutation-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
  769. /package/dist/chunks/{file-mutation-w803qqfp.js → tool-w803qqfp.js} +0 -0
  770. /package/dist/chunks/{file-mutation-wc3fc9cn.js → tool-wc3fc9cn.js} +0 -0
  771. /package/dist/chunks/{file-mutation-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
  772. /package/dist/chunks/{file-mutation-wtztk69x.js → tool-wtztk69x.js} +0 -0
  773. /package/dist/chunks/{file-mutation-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
  774. /package/dist/chunks/{file-mutation-x61499pn.js → tool-x61499pn.js} +0 -0
  775. /package/dist/chunks/{file-mutation-y44na4kk.js → tool-y44na4kk.js} +0 -0
  776. /package/dist/chunks/{file-mutation-y8cydn3q.js → tool-y8cydn3q.js} +0 -0
  777. /package/dist/chunks/{file-mutation-y8f7s663.js → tool-y8f7s663.js} +0 -0
  778. /package/dist/chunks/{file-mutation-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
  779. /package/dist/chunks/{file-mutation-ym463w8f.js → tool-ym463w8f.js} +0 -0
  780. /package/dist/chunks/{file-mutation-z5v4ffb3.js → tool-z5v4ffb3.js} +0 -0
  781. /package/dist/chunks/{file-mutation-z9919s4g.js → tool-z9919s4g.js} +0 -0
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./file-mutation-p80jebcz.js";
4
+ } from "./tool-ycm51zrg.js";
5
5
  import {
6
6
  __export
7
- } from "./file-mutation-9rqn6x4v.js";
7
+ } from "./tool-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -12,31 +12,31 @@ __export(exports_form, {
12
12
  AlreadyExistsError: () => AlreadyExistsError2,
13
13
  AlreadySettledError: () => AlreadySettledError2,
14
14
  Answer: () => Answer2,
15
- Event: () => Event19,
15
+ Event: () => Event21,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID15,
20
- Info: () => Info25,
19
+ ID: () => ID18,
20
+ Info: () => Info29,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
- NotFoundError: () => NotFoundError9,
23
+ NotFoundError: () => NotFoundError11,
24
24
  Reply: () => Reply3,
25
- Service: () => Service76,
25
+ Service: () => Service82,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
28
  layer: () => layer25,
29
- node: () => node80,
29
+ node: () => node86,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
32
32
  });
33
33
  import { Form } from "@opencode/schema/form";
34
34
  import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
- import { Event as Event19 } from "@opencode/schema/form";
36
+ import { Event as Event21 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID15 = Form.ID;
39
- var Info25 = Form.Info;
38
+ var ID18 = Form.ID;
39
+ var Info29 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
42
42
  var When2 = Form.When;
@@ -44,8 +44,8 @@ var State3 = Form.State;
44
44
  var Answer2 = Form.Answer;
45
45
  var Reply3 = Form.Reply;
46
46
 
47
- class NotFoundError9 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID15
47
+ class NotFoundError11 extends Schema.TaggedError()("Form.NotFoundError", {
48
+ id: ID18
49
49
  }) {
50
50
  get message() {
51
51
  return `Form not found: ${this.id}`;
@@ -53,7 +53,7 @@ class NotFoundError9 extends Schema.TaggedError()("Form.NotFoundError", {
53
53
  }
54
54
 
55
55
  class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
56
- id: ID15
56
+ id: ID18
57
57
  }) {
58
58
  get message() {
59
59
  return `Form already settled: ${this.id}`;
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
61
61
  }
62
62
 
63
63
  class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
64
- id: ID15
64
+ id: ID18
65
65
  }) {
66
66
  get message() {
67
67
  return `Form already exists: ${this.id}`;
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
69
69
  }
70
70
 
71
71
  class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
72
- id: ID15,
72
+ id: ID18,
73
73
  message: Schema.String
74
74
  }) {
75
75
  }
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service76 extends Context.Service()("@opencode/Form") {
82
+ class Service82 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer25 = Layer.effect(Service76, Effect.gen(function* () {
84
+ var layer25 = Layer.effect(Service82, Effect.gen(function* () {
85
85
  const bus = yield* Service83;
86
86
  let closed = false;
87
87
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
88
88
  capacity: Number.MAX_SAFE_INTEGER,
89
89
  timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
90
90
  });
91
- const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError9({ id })))));
91
+ const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError11({ id })))));
92
92
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
93
- const id = input.id ?? ID15.create();
93
+ const id = input.id ?? ID18.create();
94
94
  const existing = yield* Cache.getSuccess(forms, id);
95
95
  if (Option.isSome(existing))
96
96
  return yield* new AlreadyExistsError2({ id });
@@ -162,9 +162,9 @@ var layer25 = Layer.effect(Service76, Effect.gen(function* () {
162
162
  closed = true;
163
163
  }).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
164
164
  yield* Effect.addFinalizer(() => close);
165
- return Service76.of({ create, ask, get, list, state, reply, cancel, close });
165
+ return Service82.of({ create, ask, get, list, state, reply, cancel, close });
166
166
  }));
167
- var node80 = makeLocationNode({ service: Service76, layer: layer25, deps: [node87] });
167
+ var node86 = makeLocationNode({ service: Service82, layer: layer25, deps: [node87] });
168
168
  function validateAnswer2(form, answer) {
169
169
  const fields = new Map(form.map((field) => [field.key, field]));
170
170
  for (const key of Object.keys(answer)) {
@@ -316,4 +316,4 @@ function isDateTime(value) {
316
316
  return !Number.isNaN(new Date(value).getTime());
317
317
  }
318
318
 
319
- export { ID15, Info25, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError9, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service76, layer25, node80, validateAnswer2, validateFields2, exports_form, Event19 };
319
+ export { ID18, Info29, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError11, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service82, layer25, node86, validateAnswer2, validateFields2, exports_form, Event21 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  BlockedError2
3
- } from "./file-mutation-5c5s8b62.js";
3
+ } from "./tool-dfjg1bp5.js";
4
4
  import {
5
5
  __export
6
- } from "./file-mutation-9rqn6x4v.js";
6
+ } from "./tool-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/plan.ts
9
9
  var exports_plan = {};
10
10
  __export(exports_plan, {
11
11
  PlanPlugin: () => exports_plan,
12
- Plugin: () => Plugin45
12
+ Plugin: () => Plugin15
13
13
  });
14
14
  import { Message, ToolFailure } from "@opencode/ai";
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
29
29
  var leave = `<system-reminder>
30
30
  You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
31
31
  </system-reminder>`;
32
- var Plugin45 = define({
32
+ var Plugin15 = define({
33
33
  id: "opencode.plan",
34
34
  effect: Effect.fn(function* (ctx) {
35
35
  const global = yield* Global.Service;
@@ -106,4 +106,4 @@ function lastReminder(messages, enterReminder) {
106
106
  }, undefined);
107
107
  }
108
108
 
109
- export { Plugin45, exports_plan };
109
+ export { Plugin15, exports_plan };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./file-mutation-ym463w8f.js";
3
+ } from "./tool-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/perplexity.ts
6
6
  var PerplexityPlugin2 = createProviderPlugin2({
@@ -5,17 +5,17 @@ import {
5
5
  renderInitial2,
6
6
  renderUpdate2,
7
7
  applyHashDelta2
8
- } from "./file-mutation-s8d7rejh.js";
8
+ } from "./tool-9t7a50xb.js";
9
9
  import {
10
10
  SessionEvent2
11
- } from "./file-mutation-ec1grn59.js";
11
+ } from "./tool-ec1grn59.js";
12
12
  import {
13
13
  InstructionBlobTable2,
14
14
  InstructionStateTable2
15
- } from "./file-mutation-9e5bzkjp.js";
15
+ } from "./tool-9e5bzkjp.js";
16
16
  import {
17
17
  __export
18
- } from "./file-mutation-9rqn6x4v.js";
18
+ } from "./tool-9rqn6x4v.js";
19
19
 
20
20
  // src/session/instruction-state.ts
21
21
  var exports_instruction_state = {};
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./file-mutation-gftt206x.js";
3
+ } from "./tool-gftt206x.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./file-mutation-nvxqht09.js";
6
+ } from "./tool-58072hz9.js";
7
7
  import {
8
8
  MessageDecodeError2
9
- } from "./file-mutation-23xej63c.js";
9
+ } from "./tool-9frdx5hm.js";
10
10
  import {
11
11
  InitializationBlocked2,
12
12
  read3
13
- } from "./file-mutation-s8d7rejh.js";
13
+ } from "./tool-9t7a50xb.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./file-mutation-9e5bzkjp.js";
16
+ } from "./tool-9e5bzkjp.js";
17
17
  import {
18
18
  initial2,
19
19
  preview3
20
- } from "./file-mutation-zfs8ae4p.js";
20
+ } from "./tool-vn72gsba.js";
21
21
  import {
22
22
  compatible2,
23
23
  isCheckpoint2,
24
24
  validate2
25
- } from "./file-mutation-5dkn69vz.js";
25
+ } from "./tool-d2czbp48.js";
26
26
  import {
27
27
  __export
28
- } from "./file-mutation-9rqn6x4v.js";
28
+ } from "./tool-9rqn6x4v.js";
29
29
 
30
30
  // src/session/history.ts
31
31
  var exports_history = {};
@@ -35,7 +35,7 @@ __export(exports_history, {
35
35
  entriesForRunner: () => entriesForRunner2,
36
36
  firstUserMessage: () => firstUserMessage2,
37
37
  latestCompaction: () => latestCompaction2,
38
- load: () => load4,
38
+ load: () => load5,
39
39
  preview: () => preview2
40
40
  });
41
41
  import { and, asc, desc, eq, gte, or, sql } from "drizzle-orm";
@@ -56,7 +56,7 @@ var messageEntries = Effect.fnUntraced(function* (db, sessionID, boundary) {
56
56
  const native = entries.findLast((entry) => isCheckpoint2(entry.message));
57
57
  return entries.filter((entry) => !(entry.message.type === "system" && native && entry.seq < native.seq) && replayable(entry.message, boundary));
58
58
  });
59
- var load4 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
59
+ var load5 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
60
60
  return (yield* messageEntries(db, sessionID, boundary)).map((entry) => entry.message);
61
61
  });
62
62
  var entriesForRunner2 = Effect.fn("SessionHistory.entriesForRunner")(function* (db, sessionID, instructions, boundary) {
@@ -92,4 +92,4 @@ var firstUserMessage2 = Effect.fn("SessionHistory.firstUserMessage")(function* (
92
92
  return message?.type === "user" ? message : undefined;
93
93
  });
94
94
 
95
- export { latestCompaction2, decodeMessageRow2, load4, entriesForRunner2, preview2, firstUserMessage2, exports_history };
95
+ export { latestCompaction2, decodeMessageRow2, load5, entriesForRunner2, preview2, firstUserMessage2, exports_history };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-mutation-9rqn6x4v.js";
3
+ } from "./tool-9rqn6x4v.js";
4
4
 
5
5
  // src/shell/result.ts
6
6
  var exports_result = {};
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  Service84
3
- } from "./file-mutation-zb6sgdts.js";
3
+ } from "./tool-epxcr31w.js";
4
4
  import {
5
5
  Service83
6
- } from "./file-mutation-p80jebcz.js";
6
+ } from "./tool-ycm51zrg.js";
7
7
  import {
8
- Service45
9
- } from "./file-mutation-mx9vqzsb.js";
8
+ Service43
9
+ } from "./tool-4mwpykj0.js";
10
10
  import {
11
11
  userNotification2
12
- } from "./file-mutation-vzs5sf6e.js";
12
+ } from "./tool-vzs5sf6e.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./file-mutation-gftt206x.js";
15
+ } from "./tool-gftt206x.js";
16
16
  import {
17
17
  NotFoundError8,
18
18
  PromptConflictError2,
@@ -20,38 +20,38 @@ import {
20
20
  CompactionConflictError2,
21
21
  BusyError2,
22
22
  InboxConflictError2
23
- } from "./file-mutation-23xej63c.js";
23
+ } from "./tool-9frdx5hm.js";
24
24
  import {
25
25
  SessionEvent2
26
- } from "./file-mutation-ec1grn59.js";
26
+ } from "./tool-ec1grn59.js";
27
27
  import {
28
- Service62
29
- } from "./file-mutation-6awh52j5.js";
28
+ Service70
29
+ } from "./tool-9e5p6t2h.js";
30
30
  import {
31
31
  Delivery2,
32
32
  SyntheticPayload2,
33
- Service47
34
- } from "./file-mutation-k3fwe1m1.js";
33
+ Service41
34
+ } from "./tool-dy8n0qm6.js";
35
35
  import {
36
- Service43
37
- } from "./file-mutation-a71sm99w.js";
36
+ Service39
37
+ } from "./tool-0tbrh5mv.js";
38
38
  import {
39
39
  prepare2
40
- } from "./file-mutation-jd3qxksf.js";
40
+ } from "./tool-at1f3efs.js";
41
41
  import {
42
42
  stage2,
43
43
  clear2,
44
44
  commit2
45
- } from "./file-mutation-aw8nxmf0.js";
45
+ } from "./tool-v5twwn9z.js";
46
46
  import {
47
47
  start2
48
- } from "./file-mutation-mecqpy2n.js";
48
+ } from "./tool-hksy7w0e.js";
49
49
  import {
50
50
  get4
51
- } from "./file-mutation-dpfsf5br.js";
51
+ } from "./tool-d761m3y3.js";
52
52
  import {
53
53
  __export
54
- } from "./file-mutation-9rqn6x4v.js";
54
+ } from "./tool-9rqn6x4v.js";
55
55
 
56
56
  // src/session/session.ts
57
57
  var exports_session2 = {};
@@ -65,10 +65,10 @@ import { FSUtil } from "@opencode/util/fs-util";
65
65
  var make14 = Effect.fn("Session.make")(function* () {
66
66
  const bus = yield* Service83;
67
67
  const database = yield* Service84;
68
- const store = yield* Service62;
69
- const instances = yield* Service45;
70
- const execution = yield* Service43;
71
- const admission = yield* Service47;
68
+ const store = yield* Service70;
69
+ const instances = yield* Service43;
70
+ const execution = yield* Service39;
71
+ const admission = yield* Service41;
72
72
  const fs = yield* FSUtil.Service;
73
73
  const scope = yield* Scope.Scope;
74
74
  const get = Effect.fn("Session.get")(function* (sessionID) {
@@ -135,7 +135,7 @@ var make14 = Effect.fn("Session.make")(function* () {
135
135
  });
136
136
  if (existing)
137
137
  return existing;
138
- const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service45, instances), Effect.provideService(FSUtil.Service, fs)));
138
+ const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service43, instances), Effect.provideService(FSUtil.Service, fs)));
139
139
  if (session.revert)
140
140
  yield* commit2(bus, session);
141
141
  return yield* admission.admit({
@@ -151,7 +151,7 @@ var make14 = Effect.fn("Session.make")(function* () {
151
151
  const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
152
152
  const session = yield* get(sessionID);
153
153
  const running = yield* Effect.gen(function* () {
154
- const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service45, instances), Effect.tapError((error) => synthetic(sessionID, {
154
+ const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service43, instances), Effect.tapError((error) => synthetic(sessionID, {
155
155
  text: `User shell command failed to start:
156
156
  ${input.command}
157
157
 
@@ -180,7 +180,7 @@ ${error.message}`,
180
180
  });
181
181
  const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
182
182
  const session = yield* get(sessionID);
183
- const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service45, instances));
183
+ const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service43, instances));
184
184
  yield* bus.publish(SessionEvent2.Skill.Activated, {
185
185
  sessionID,
186
186
  id: skill.id,
@@ -237,13 +237,13 @@ ${error.message}`,
237
237
  const session = yield* get(sessionID);
238
238
  if (yield* execution.isActive(sessionID))
239
239
  return yield* new BusyError2({ sessionID });
240
- return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service45, instances), Effect.provideService(Service84, database), Effect.provideService(Service83, bus));
240
+ return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service43, instances), Effect.provideService(Service84, database), Effect.provideService(Service83, bus));
241
241
  });
242
242
  const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
243
243
  const session = yield* get(sessionID);
244
244
  if (yield* execution.isActive(sessionID))
245
245
  return yield* new BusyError2({ sessionID });
246
- yield* clear2(session).pipe(Effect.provideService(Service45, instances), Effect.provideService(Service83, bus));
246
+ yield* clear2(session).pipe(Effect.provideService(Service43, instances), Effect.provideService(Service83, bus));
247
247
  return yield* execution.wake(sessionID);
248
248
  });
249
249
  const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  Key3,
3
3
  removed2,
4
- make21,
4
+ make22,
5
5
  diffByKey2
6
- } from "./file-mutation-s8d7rejh.js";
6
+ } from "./tool-9t7a50xb.js";
7
7
  import {
8
- ID5,
8
+ ID6,
9
9
  Name2,
10
- available3,
11
- Service59,
12
- node62
13
- } from "./file-mutation-xvc9znd7.js";
10
+ available2,
11
+ Service51,
12
+ node53
13
+ } from "./tool-d13qwqgh.js";
14
14
  import {
15
15
  __export
16
- } from "./file-mutation-9rqn6x4v.js";
16
+ } from "./tool-9rqn6x4v.js";
17
17
 
18
18
  // src/skill/instructions.ts
19
- var exports_instructions4 = {};
20
- __export(exports_instructions4, {
21
- Service: () => Service39,
22
- SkillInstructions: () => exports_instructions4,
23
- node: () => node43
19
+ var exports_instructions3 = {};
20
+ __export(exports_instructions3, {
21
+ Service: () => Service31,
22
+ SkillInstructions: () => exports_instructions3,
23
+ node: () => node33
24
24
  });
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
27
  var Summary = Schema.Struct({
28
- id: ID5,
28
+ id: ID6,
29
29
  name: Name2,
30
30
  description: Schema.String
31
31
  });
@@ -60,14 +60,14 @@ var update = (previous, current) => {
60
60
  `);
61
61
  };
62
62
 
63
- class Service39 extends Context.Service()("@opencode/SkillInstructions") {
63
+ class Service31 extends Context.Service()("@opencode/SkillInstructions") {
64
64
  }
65
- var layer = Layer.effect(Service39, Effect.gen(function* () {
66
- const skills = yield* Service59;
67
- return Service39.of({
65
+ var layer = Layer.effect(Service31, Effect.gen(function* () {
66
+ const skills = yield* Service51;
67
+ return Service31.of({
68
68
  load: Effect.fn("SkillInstructions.load")(function* (permissions) {
69
- const available = available3(yield* skills.list(), permissions).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));
70
- return make21({
69
+ const available = available2(yield* skills.list(), permissions).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));
70
+ return make22({
71
71
  key: Key3.make("core/skill-guidance"),
72
72
  codec: Schema.toCodecJson(Schema.Array(Summary)),
73
73
  read: Effect.succeed(available.length === 0 ? removed2 : available),
@@ -80,6 +80,6 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
80
80
  })
81
81
  });
82
82
  }));
83
- var node43 = makeLocationNode({ service: Service39, layer, deps: [node62] });
83
+ var node33 = makeLocationNode({ service: Service31, layer, deps: [node53] });
84
84
 
85
- export { Service39, node43, exports_instructions4 };
85
+ export { Service31, node33, exports_instructions3 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  create3
3
- } from "./file-mutation-rdw6cm16.js";
3
+ } from "./tool-rdw6cm16.js";
4
4
  import {
5
5
  __export
6
- } from "./file-mutation-9rqn6x4v.js";
6
+ } from "./tool-9rqn6x4v.js";
7
7
 
8
8
  // src/image.ts
9
9
  var exports_image2 = {};
@@ -11,9 +11,9 @@ __export(exports_image2, {
11
11
  DecodeError: () => DecodeError2,
12
12
  Image: () => exports_image2,
13
13
  ResizerUnavailableError: () => ResizerUnavailableError2,
14
- Service: () => Service54,
14
+ Service: () => Service62,
15
15
  SizeError: () => SizeError2,
16
- node: () => node57
16
+ node: () => node65
17
17
  });
18
18
  import { makeLocationNode } from "@opencode/util/effect/app-node";
19
19
  import { Context, Effect, Layer, Schema } from "effect";
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
42
42
  }
43
43
  }
44
44
 
45
- class Service54 extends Context.Service()("@opencode/Image") {
45
+ class Service62 extends Context.Service()("@opencode/Image") {
46
46
  }
47
- var layer = Layer.effect(Service54, Effect.gen(function* () {
47
+ var layer = Layer.effect(Service62, Effect.gen(function* () {
48
48
  const state = create3({
49
49
  name: "image",
50
50
  initial: () => ({
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
74
74
  const normalize = yield* loadAdapter;
75
75
  return yield* normalize(resource, content, state.get());
76
76
  });
77
- return Service54.of({ transform: state.transform, reload: state.reload, normalize });
77
+ return Service62.of({ transform: state.transform, reload: state.reload, normalize });
78
78
  }));
79
- var node57 = makeLocationNode({ service: Service54, layer, deps: [] });
79
+ var node65 = makeLocationNode({ service: Service62, layer, deps: [] });
80
80
 
81
- export { ResizerUnavailableError2, DecodeError2, SizeError2, Service54, node57, exports_image2 };
81
+ export { ResizerUnavailableError2, DecodeError2, SizeError2, Service62, node65, exports_image2 };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2
4
- } from "./file-mutation-emrn6kk6.js";
4
+ } from "./tool-emrn6kk6.js";
5
5
 
6
6
  // src/database/drizzle/sqlite-core/effect/delete.ts
7
7
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID12
3
- } from "./file-mutation-naagb8nt.js";
2
+ ID9
3
+ } from "./tool-e41k2zcz.js";
4
4
 
5
5
  // src/plugin/provider/google-vertex.ts
6
6
  import { Effect } from "effect";
@@ -24,7 +24,7 @@ var GoogleVertexPlugin2 = define({
24
24
  effect: Effect.fn(function* (ctx) {
25
25
  yield* ctx.provider.transform((evt) => {
26
26
  for (const item of evt.list()) {
27
- if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID12.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
27
+ if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID9.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
28
28
  continue;
29
29
  const project = resolveProject(item.provider.settings ?? {});
30
30
  const location = String(resolveLocation(item.provider.settings ?? {}));
@@ -42,7 +42,7 @@ var GoogleVertexPlugin2 = define({
42
42
  });
43
43
  yield* ctx.model.transform((models) => {
44
44
  for (const item of models.provider.list()) {
45
- if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID12.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
45
+ if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID9.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
46
46
  continue;
47
47
  const project = resolveProject(item.provider.settings ?? {});
48
48
  const location = String(resolveLocation(item.provider.settings ?? {}));
@@ -59,7 +59,7 @@ var GoogleVertexPlugin2 = define({
59
59
  }
60
60
  });
61
61
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
62
- if (evt.model.providerID !== ID12.googleVertex)
62
+ if (evt.model.providerID !== ID9.googleVertex)
63
63
  return;
64
64
  evt.language = evt.sdk.languageModel(String(evt.model.modelID ?? evt.model.id).trim());
65
65
  }));
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  aisdk2
3
- } from "./file-mutation-naagb8nt.js";
3
+ } from "./tool-e41k2zcz.js";
4
4
  import {
5
5
  VariantID2
6
- } from "./file-mutation-fyk5f08g.js";
6
+ } from "./tool-p9why5pw.js";
7
7
  import {
8
8
  __export
9
- } from "./file-mutation-9rqn6x4v.js";
9
+ } from "./tool-9rqn6x4v.js";
10
10
 
11
11
  // src/variant.ts
12
12
  var exports_variant = {};
13
13
  __export(exports_variant, {
14
14
  Variant: () => exports_variant,
15
- resolve: () => resolve2
15
+ resolve: () => resolve3
16
16
  });
17
- function resolve2(model, supports = [{ type: "effort" }]) {
17
+ function resolve3(model, supports = [{ type: "effort" }]) {
18
18
  const protocol = model.package === undefined ? undefined : PROTOCOLS[model.package];
19
19
  if (!protocol)
20
20
  return [];
@@ -496,4 +496,4 @@ var PROTOCOLS = {
496
496
  [aisdk2("@jerome-benoit/sap-ai-provider-v2")]: sapAICore
497
497
  };
498
498
 
499
- export { resolve2, exports_variant };
499
+ export { resolve3, exports_variant };