@opencode/core 0.0.0-dev-20649 → 0.0.0-dev-20652

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 (779) 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/{mime-kj8me5dh.js → model-resolver-0422tdqy.js} +5 -5
  8. package/dist/chunks/{mime-gphzfxhq.js → model-resolver-0542bm0d.js} +32 -32
  9. package/dist/chunks/{mime-bxcw0mka.js → model-resolver-07nx60wz.js} +10 -10
  10. package/dist/chunks/{mime-13qx119e.js → model-resolver-08awhxg9.js} +10 -10
  11. package/dist/chunks/{mime-16c21bq7.js → model-resolver-08q73ng5.js} +6 -6
  12. package/dist/chunks/{mime-z92vphtz.js → model-resolver-0bs0xzzs.js} +17 -17
  13. package/dist/chunks/{mime-z99td3vh.js → model-resolver-0es0zd3j.js} +23 -23
  14. package/dist/chunks/{mime-xz9m3t1f.js → model-resolver-0f84emyz.js} +22 -22
  15. package/dist/chunks/{mime-sb6an3dy.js → model-resolver-0hc4mbjr.js} +7 -7
  16. package/dist/chunks/{mime-ry36jsf7.js → model-resolver-0nvn360z.js} +9 -9
  17. package/dist/chunks/{mime-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
  18. package/dist/chunks/{mime-0vbcp93d.js → model-resolver-0vbcp93d.js} +2 -2
  19. package/dist/chunks/{mime-ds77a3s3.js → model-resolver-0vs3bra0.js} +19 -19
  20. package/dist/chunks/{mime-tcqa4h8g.js → model-resolver-0ykz178d.js} +10 -10
  21. package/dist/chunks/{mime-yjspgx20.js → model-resolver-127b9nq3.js} +2 -2
  22. package/dist/chunks/{mime-cca1v9sb.js → model-resolver-12gfzbq6.js} +13 -13
  23. package/dist/chunks/{mime-fhz5gfgy.js → model-resolver-150yg2gd.js} +5 -5
  24. package/dist/chunks/{mime-d9v54453.js → model-resolver-19v7rzjh.js} +39 -39
  25. package/dist/chunks/{mime-3thfs4vd.js → model-resolver-1a7kemja.js} +3 -3
  26. package/dist/chunks/{mime-1dazxqgg.js → model-resolver-1dazxqgg.js} +2 -2
  27. package/dist/chunks/{mime-59s0kgwy.js → model-resolver-1jj9vxsv.js} +3 -3
  28. package/dist/chunks/{mime-kz8ps502.js → model-resolver-1ssqd35y.js} +12 -12
  29. package/dist/chunks/{mime-a1nag75j.js → model-resolver-1xwtfmct.js} +4 -4
  30. package/dist/chunks/{mime-cs0pyha6.js → model-resolver-27czsdb9.js} +45 -45
  31. package/dist/chunks/{mime-k63gn3x0.js → model-resolver-286yb4sa.js} +4 -4
  32. package/dist/chunks/{mime-2a5m3afh.js → model-resolver-2a5m3afh.js} +1 -1
  33. package/dist/chunks/{mime-eqdfs7ht.js → model-resolver-2ck2j4j1.js} +6 -6
  34. package/dist/chunks/{mime-qreg5ges.js → model-resolver-2f6g987b.js} +173 -173
  35. package/dist/chunks/{mime-va8pbtsb.js → model-resolver-2h5pq9sb.js} +24 -24
  36. package/dist/chunks/{mime-2k8khapm.js → model-resolver-2k8khapm.js} +1 -1
  37. package/dist/chunks/{mime-bryryzyy.js → model-resolver-2pqtcr1v.js} +11 -11
  38. package/dist/chunks/{mime-0fan8waa.js → model-resolver-2v5zve2j.js} +20 -20
  39. package/dist/chunks/{mime-ag7r9101.js → model-resolver-2w7e4h0h.js} +11 -11
  40. package/dist/chunks/{mime-1b37m1mh.js → model-resolver-2ypb7czt.js} +17 -17
  41. package/dist/chunks/{mime-v553wp33.js → model-resolver-32h9x93b.js} +48 -48
  42. package/dist/chunks/{mime-h2b79v29.js → model-resolver-3cegwx68.js} +2 -2
  43. package/dist/chunks/{mime-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
  44. package/dist/chunks/{mime-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
  45. package/dist/chunks/{mime-vqfzq50h.js → model-resolver-3ppptnan.js} +6 -6
  46. package/dist/chunks/{mime-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
  47. package/dist/chunks/{mime-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
  48. package/dist/chunks/{mime-2wjfq3y1.js → model-resolver-3x6h1yzc.js} +16 -16
  49. package/dist/chunks/{mime-jk8bzzjw.js → model-resolver-3yzzydz0.js} +4 -4
  50. package/dist/chunks/{mime-3zsf4n22.js → model-resolver-3zsf4n22.js} +1 -1
  51. package/dist/chunks/{mime-5g9khqm3.js → model-resolver-41dwvnwc.js} +11 -11
  52. package/dist/chunks/{mime-h9dg90ta.js → model-resolver-45deadp2.js} +7 -7
  53. package/dist/chunks/{mime-12n08y7q.js → model-resolver-46tb29mf.js} +8 -8
  54. package/dist/chunks/{mime-1rn5pcm9.js → model-resolver-4j4tgtq5.js} +4 -4
  55. package/dist/chunks/{mime-170w37en.js → model-resolver-4nsnwgcs.js} +1 -1
  56. package/dist/chunks/{mime-2ccvkpx1.js → model-resolver-4ts7tf6z.js} +2 -2
  57. package/dist/chunks/{mime-w2h15q85.js → model-resolver-4xpgt2w9.js} +5 -5
  58. package/dist/chunks/{mime-f3cq72f8.js → model-resolver-4xy3xte6.js} +36 -36
  59. package/dist/chunks/{mime-h1qnxspz.js → model-resolver-5109a086.js} +32 -32
  60. package/dist/chunks/{mime-54ma36ye.js → model-resolver-54ma36ye.js} +1 -1
  61. package/dist/chunks/{mime-yqpe8af8.js → model-resolver-558ajqy5.js} +20 -20
  62. package/dist/chunks/{mime-j9g4e7w9.js → model-resolver-5d93dg4h.js} +17 -17
  63. package/dist/chunks/{mime-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
  64. package/dist/chunks/{mime-n11krz91.js → model-resolver-5gxq0s6y.js} +42 -42
  65. package/dist/chunks/{mime-ghe998k5.js → model-resolver-5h3jqpbr.js} +15 -15
  66. package/dist/chunks/{mime-38adaqc0.js → model-resolver-5hx7d1d6.js} +5 -5
  67. package/dist/chunks/{mime-43efg38y.js → model-resolver-5jjt27vb.js} +11 -11
  68. package/dist/chunks/{mime-5m9w47nd.js → model-resolver-5m9w47nd.js} +1 -1
  69. package/dist/chunks/{mime-j6gcmj6w.js → model-resolver-5mwnvj5n.js} +3 -3
  70. package/dist/chunks/{mime-e3qxr5gk.js → model-resolver-5qd3pb7m.js} +2 -2
  71. package/dist/chunks/{mime-5t3nmthw.js → model-resolver-5t3nmthw.js} +2 -2
  72. package/dist/chunks/{mime-xawtvtgk.js → model-resolver-6ha37qbe.js} +43 -43
  73. package/dist/chunks/{mime-f3kq77fw.js → model-resolver-6mns344v.js} +17 -17
  74. package/dist/chunks/model-resolver-6rhw05qy.js +26 -0
  75. package/dist/chunks/{mime-6xb47vfp.js → model-resolver-6xb47vfp.js} +1 -1
  76. package/dist/chunks/{mime-9ne60yjh.js → model-resolver-6z0zjaxs.js} +20 -20
  77. package/dist/chunks/{mime-har29xsp.js → model-resolver-71ek9cp3.js} +7 -7
  78. package/dist/chunks/{mime-6540dvt1.js → model-resolver-73azztx1.js} +7 -7
  79. package/dist/chunks/{mime-mhkvc446.js → model-resolver-73tb2d7t.js} +3 -3
  80. package/dist/chunks/{mime-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
  81. package/dist/chunks/{mime-v0es1rhs.js → model-resolver-7d822byb.js} +9 -9
  82. package/dist/chunks/{mime-v1q4cba8.js → model-resolver-7zkyz21p.js} +6 -6
  83. package/dist/chunks/{mime-1dvck2a7.js → model-resolver-84h8c373.js} +2 -2
  84. package/dist/chunks/{mime-84txncab.js → model-resolver-84txncab.js} +1 -1
  85. package/dist/chunks/{mime-pfcsshcq.js → model-resolver-85eh7cfy.js} +32 -32
  86. package/dist/chunks/{mime-8d7r5vzw.js → model-resolver-8d7r5vzw.js} +1 -1
  87. package/dist/chunks/{mime-9hyysrhy.js → model-resolver-8egvdccy.js} +11 -11
  88. package/dist/chunks/{mime-v9aw5k7b.js → model-resolver-8fm7ftfn.js} +13 -13
  89. package/dist/chunks/{mime-58phr483.js → model-resolver-8hbdmjnq.js} +69 -69
  90. package/dist/chunks/{mime-ywq4z9t2.js → model-resolver-8kb0e28r.js} +14 -14
  91. package/dist/chunks/{mime-penzfr98.js → model-resolver-8xq2p407.js} +19 -19
  92. package/dist/chunks/{mime-27xqmrb2.js → model-resolver-8yktm66k.js} +15 -15
  93. package/dist/chunks/{mime-3hx84xbv.js → model-resolver-974xbn4p.js} +33 -33
  94. package/dist/chunks/{mime-yx80kbmw.js → model-resolver-9b1bh67j.js} +5 -5
  95. package/dist/chunks/{mime-k1qrnqst.js → model-resolver-9kw8973d.js} +8 -8
  96. package/dist/chunks/{mime-0yzyde6c.js → model-resolver-9s0ehjpm.js} +26 -26
  97. package/dist/chunks/{mime-pd812h7a.js → model-resolver-9v0mj4cg.js} +8 -8
  98. package/dist/chunks/{mime-b644w2ar.js → model-resolver-9vk12vsk.js} +11 -11
  99. package/dist/chunks/{mime-n14gvf56.js → model-resolver-9zgzq4hp.js} +11 -11
  100. package/dist/chunks/{mime-e9dcgzx6.js → model-resolver-a6xnfde8.js} +4 -4
  101. package/dist/chunks/{mime-6m42r3np.js → model-resolver-a8bn8zg0.js} +21 -21
  102. package/dist/chunks/{mime-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
  103. package/dist/chunks/{mime-03d19y83.js → model-resolver-ajft39nq.js} +4 -4
  104. package/dist/chunks/{mime-p1dcwdyv.js → model-resolver-apdvzw7w.js} +26 -26
  105. package/dist/chunks/{mime-vk6h2smq.js → model-resolver-b0nz5rd6.js} +15 -15
  106. package/dist/chunks/{mime-23h4de3k.js → model-resolver-b3rdhmww.js} +12 -12
  107. package/dist/chunks/{mime-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
  108. package/dist/chunks/{mime-w4afprn7.js → model-resolver-b75r5j40.js} +24 -24
  109. package/dist/chunks/{mime-6cpwc79d.js → model-resolver-bd8np6qp.js} +21 -21
  110. package/dist/chunks/{mime-61zpm44j.js → model-resolver-bdd5jqwb.js} +14 -14
  111. package/dist/chunks/{mime-hy49mbwe.js → model-resolver-bmtj8zad.js} +15 -15
  112. package/dist/chunks/{mime-4tamdkr5.js → model-resolver-bt4mtqh9.js} +5 -5
  113. package/dist/chunks/{mime-fb2y2dbg.js → model-resolver-bzzc495f.js} +11 -11
  114. package/dist/chunks/{mime-ds0wtj4e.js → model-resolver-bzzvw9kc.js} +1 -1
  115. package/dist/chunks/{mime-ky7drcmt.js → model-resolver-c0y2vens.js} +13 -13
  116. package/dist/chunks/{mime-y8j7y9g5.js → model-resolver-c0ykhrt2.js} +12 -12
  117. package/dist/chunks/{mime-t4cg2ngh.js → model-resolver-c5kr06rn.js} +322 -322
  118. package/dist/chunks/{mime-zq5qms4d.js → model-resolver-cfmtfeg9.js} +11 -11
  119. package/dist/chunks/{mime-8nzt4413.js → model-resolver-cjhnsaft.js} +11 -11
  120. package/dist/chunks/{mime-tz5y8hw2.js → model-resolver-cjw460n3.js} +20 -20
  121. package/dist/chunks/{mime-v7z2bvyd.js → model-resolver-cp937pt4.js} +4 -4
  122. package/dist/chunks/{mime-p6cz1f6w.js → model-resolver-cq29va0k.js} +19 -19
  123. package/dist/chunks/{mime-tk9ew89t.js → model-resolver-ctz7jbry.js} +8 -8
  124. package/dist/chunks/{mime-qmqgtz8f.js → model-resolver-cwa6csj7.js} +9 -9
  125. package/dist/chunks/{mime-ghcmpcfh.js → model-resolver-da6ee7ra.js} +9 -9
  126. package/dist/chunks/{mime-vxzh5eqq.js → model-resolver-de52ckkz.js} +4 -4
  127. package/dist/chunks/{mime-pkw6pxyw.js → model-resolver-dhe4rjrj.js} +30 -30
  128. package/dist/chunks/{mime-dpkg50ah.js → model-resolver-dpkg50ah.js} +1 -1
  129. package/dist/chunks/{mime-szavfcg2.js → model-resolver-dq0bda3m.js} +22 -22
  130. package/dist/chunks/{mime-3fw4vykw.js → model-resolver-dx1b2kp7.js} +29 -29
  131. package/dist/chunks/{mime-ncj3k1yy.js → model-resolver-dze2gebv.js} +26 -26
  132. package/dist/chunks/{mime-5g9tk4c4.js → model-resolver-e3bfy97n.js} +26 -26
  133. package/dist/chunks/{mime-dtt66365.js → model-resolver-e4knw194.js} +22 -22
  134. package/dist/chunks/{mime-h696b5ha.js → model-resolver-e67gvcg8.js} +32 -32
  135. package/dist/chunks/{mime-rhjbct0v.js → model-resolver-eaj1djv9.js} +8 -8
  136. package/dist/chunks/{mime-z2mbgn3s.js → model-resolver-ec8aqdm6.js} +53 -53
  137. package/dist/chunks/{mime-3rz5q6jx.js → model-resolver-ecw0m79c.js} +13 -13
  138. package/dist/chunks/{mime-g530ctaj.js → model-resolver-ed1gzxdy.js} +8 -8
  139. package/dist/chunks/{mime-ef5x83kb.js → model-resolver-ef5x83kb.js} +1 -1
  140. package/dist/chunks/{mime-jxd6d72w.js → model-resolver-epch8s0x.js} +3 -3
  141. package/dist/chunks/{mime-etq0c3wd.js → model-resolver-etq0c3wd.js} +1 -1
  142. package/dist/chunks/{mime-vq5be08n.js → model-resolver-eyz1e7b4.js} +3 -3
  143. package/dist/chunks/{mime-71az546q.js → model-resolver-f75zav2x.js} +2 -2
  144. package/dist/chunks/{mime-070fvye4.js → model-resolver-fjrw4d14.js} +47 -47
  145. package/dist/chunks/{mime-cn48saaq.js → model-resolver-fpcgeefe.js} +19 -19
  146. package/dist/chunks/{mime-pe057h99.js → model-resolver-ftczs0ph.js} +44 -44
  147. package/dist/chunks/{mime-c9e1chd6.js → model-resolver-g08qb7dt.js} +13 -13
  148. package/dist/chunks/{mime-gh5z95q3.js → model-resolver-g31erja1.js} +9 -9
  149. package/dist/chunks/{mime-0hwq8h39.js → model-resolver-g47h9c6m.js} +9 -9
  150. package/dist/chunks/{mime-1j858gve.js → model-resolver-g4pw1jpx.js} +24 -24
  151. package/dist/chunks/{mime-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
  152. package/dist/chunks/{mime-3ktk39h6.js → model-resolver-gdn89mga.js} +18 -18
  153. package/dist/chunks/{mime-na7gn6xf.js → model-resolver-gf4q96mg.js} +26 -26
  154. package/dist/chunks/{mime-3py696r4.js → model-resolver-gm70hkap.js} +11 -11
  155. package/dist/chunks/{mime-7hwp9pe8.js → model-resolver-gph55xgf.js} +15 -15
  156. package/dist/chunks/{mime-addxnjmp.js → model-resolver-gqtdsdt7.js} +4 -4
  157. package/dist/chunks/{mime-zrq8kphx.js → model-resolver-gqxmd7mw.js} +8 -8
  158. package/dist/chunks/{mime-06x8he3q.js → model-resolver-gst7axd9.js} +4 -4
  159. package/dist/chunks/{mime-vb17zyzn.js → model-resolver-gtfqxnbk.js} +11 -11
  160. package/dist/chunks/{mime-pzhq4eaf.js → model-resolver-h3g7c02j.js} +17 -17
  161. package/dist/chunks/{mime-3rd28rcz.js → model-resolver-h4ckqw4f.js} +11 -11
  162. package/dist/chunks/{mime-spf27589.js → model-resolver-h4z4phbe.js} +4 -4
  163. package/dist/chunks/{mime-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
  164. package/dist/chunks/{mime-xp3fh2h7.js → model-resolver-hd8vw2pw.js} +1 -1
  165. package/dist/chunks/{mime-3qhg2zya.js → model-resolver-hjm94w0b.js} +8 -8
  166. package/dist/chunks/{mime-31b5zmy0.js → model-resolver-hm2phjj0.js} +24 -24
  167. package/dist/chunks/{mime-myn0gkp2.js → model-resolver-hq45thad.js} +16 -16
  168. package/dist/chunks/{mime-c2hscm47.js → model-resolver-j4w879wy.js} +26 -26
  169. package/dist/chunks/{mime-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
  170. package/dist/chunks/{mime-ea5vh3bk.js → model-resolver-j5n8pp08.js} +44 -44
  171. package/dist/chunks/{mime-dtm252p1.js → model-resolver-j8vk2cdy.js} +5 -5
  172. package/dist/chunks/{mime-r7a7bxfj.js → model-resolver-k2nq0b80.js} +25 -25
  173. package/dist/chunks/{mime-qjev0pmq.js → model-resolver-k3f304m0.js} +6 -6
  174. package/dist/chunks/{mime-kbx4g6d9.js → model-resolver-k3gjjqdh.js} +32 -32
  175. package/dist/chunks/{mime-3ch2ac9z.js → model-resolver-k9ga8ymg.js} +13 -13
  176. package/dist/chunks/{mime-9e5bzkjp.js → model-resolver-kb9j3d72.js} +3 -3
  177. package/dist/chunks/{mime-mypwhdkk.js → model-resolver-kc6s93qx.js} +6 -6
  178. package/dist/chunks/{mime-8gxsn6kg.js → model-resolver-kc9e1ych.js} +32 -32
  179. package/dist/chunks/{mime-wbfm5czg.js → model-resolver-kfh1rvrr.js} +27 -27
  180. package/dist/chunks/{mime-34vqaa0j.js → model-resolver-kk3g4k48.js} +32 -32
  181. package/dist/chunks/{mime-m3fdjcah.js → model-resolver-m3fdjcah.js} +1 -1
  182. package/dist/chunks/{mime-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
  183. package/dist/chunks/{mime-f44mjg6h.js → model-resolver-mdaxkk3h.js} +4 -4
  184. package/dist/chunks/{mime-1ygqh575.js → model-resolver-mfqp6xfm.js} +6 -6
  185. package/dist/chunks/{mime-3h16yct6.js → model-resolver-mj4tg0y9.js} +9 -9
  186. package/dist/chunks/{mime-2nthby9b.js → model-resolver-mq0f2m57.js} +30 -30
  187. package/dist/chunks/{mime-fpnx24t4.js → model-resolver-mtpeagzc.js} +3 -3
  188. package/dist/chunks/{mime-86qzxe6p.js → model-resolver-n2srvep7.js} +4 -4
  189. package/dist/chunks/{mime-r9w3djhf.js → model-resolver-n37c4crj.js} +5 -5
  190. package/dist/chunks/{mime-wvy7zsan.js → model-resolver-n4kwfwhc.js} +9 -9
  191. package/dist/chunks/{mime-kn1g41v8.js → model-resolver-n6kkq2ng.js} +32 -32
  192. package/dist/chunks/{mime-d009mnpz.js → model-resolver-nbe77j13.js} +22 -22
  193. package/dist/chunks/{mime-hkx83aab.js → model-resolver-nkpgj8pk.js} +5 -5
  194. package/dist/chunks/{mime-ws8rf1n9.js → model-resolver-nsk1prb9.js} +15 -15
  195. package/dist/chunks/{mime-jrc5bn6s.js → model-resolver-p5a37mby.js} +8 -8
  196. package/dist/chunks/{mime-99773vnq.js → model-resolver-p8byhbkv.js} +43 -43
  197. package/dist/chunks/{mime-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
  198. package/dist/chunks/{mime-pknna89w.js → model-resolver-pknna89w.js} +1 -1
  199. package/dist/chunks/{mime-5fb55ywp.js → model-resolver-pnkbpv6t.js} +9 -9
  200. package/dist/chunks/{mime-5wn8k982.js → model-resolver-pp4mne8d.js} +23 -23
  201. package/dist/chunks/{mime-vqbdn0d9.js → model-resolver-pv9k6nd9.js} +21 -21
  202. package/dist/chunks/{mime-564aqkfr.js → model-resolver-pw90wh71.js} +35 -35
  203. package/dist/chunks/{mime-9cnwn640.js → model-resolver-pwjc3egg.js} +19 -19
  204. package/dist/chunks/{mime-vkt5fbj2.js → model-resolver-q0kza1w9.js} +8 -8
  205. package/dist/chunks/{mime-0j77ygfz.js → model-resolver-q0xm7vwc.js} +6 -6
  206. package/dist/chunks/{mime-93exgp6v.js → model-resolver-q3h10w5c.js} +60 -60
  207. package/dist/chunks/model-resolver-q509s3k3.js +18 -0
  208. package/dist/chunks/{mime-qt8b63p3.js → model-resolver-q83407cy.js} +18 -18
  209. package/dist/chunks/{mime-sxz6gkc3.js → model-resolver-qa3qhgw8.js} +7 -7
  210. package/dist/chunks/{mime-9pnm2vv9.js → model-resolver-qk7srzz2.js} +30 -30
  211. package/dist/chunks/{mime-qnc92qwc.js → model-resolver-qnc92qwc.js} +1 -1
  212. package/dist/chunks/{mime-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
  213. package/dist/chunks/{mime-rq7mwymb.js → model-resolver-qthsvwc3.js} +27 -27
  214. package/dist/chunks/{mime-ksgsjq6b.js → model-resolver-qzp699j3.js} +17 -17
  215. package/dist/chunks/{mime-e5ncbec4.js → model-resolver-qzpwn43k.js} +4 -4
  216. package/dist/chunks/{mime-p02g0fw2.js → model-resolver-r0spx5zb.js} +26 -26
  217. package/dist/chunks/{mime-4x0vy5hp.js → model-resolver-r3yntwzq.js} +5 -5
  218. package/dist/chunks/{mime-r8xr0va3.js → model-resolver-r8xr0va3.js} +1 -1
  219. package/dist/chunks/{mime-1mdr38wd.js → model-resolver-r95z6apf.js} +11 -11
  220. package/dist/chunks/{mime-rdw6cm16.js → model-resolver-rdw6cm16.js} +1 -1
  221. package/dist/chunks/{mime-y5jr1bsy.js → model-resolver-re314ab2.js} +88 -88
  222. package/dist/chunks/{mime-gkhvwrqw.js → model-resolver-re9ebc67.js} +18 -18
  223. package/dist/chunks/{mime-393wq71a.js → model-resolver-rpbkhrt2.js} +25 -25
  224. package/dist/chunks/{mime-zxxyec0p.js → model-resolver-rwp39ykb.js} +11 -11
  225. package/dist/chunks/{mime-q3ersh05.js → model-resolver-rxcdjwh1.js} +6 -6
  226. package/dist/chunks/{mime-gdmg3xqt.js → model-resolver-sd38pwsj.js} +17 -17
  227. package/dist/chunks/{mime-vw2nt98j.js → model-resolver-shwq57g0.js} +9 -9
  228. package/dist/chunks/{mime-h05y6get.js → model-resolver-snnqzhcb.js} +32 -32
  229. package/dist/chunks/{mime-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
  230. package/dist/chunks/{mime-00qg2tcw.js → model-resolver-tc8cg2nw.js} +15 -15
  231. package/dist/chunks/{mime-89znhe33.js → model-resolver-tcezcvh9.js} +4 -4
  232. package/dist/chunks/{mime-tdstcens.js → model-resolver-tdstcens.js} +1 -1
  233. package/dist/chunks/{mime-wpwvc70n.js → model-resolver-thcxkcch.js} +11 -11
  234. package/dist/chunks/{mime-9hn6k4tm.js → model-resolver-tpw6cwsb.js} +8 -8
  235. package/dist/chunks/{mime-jktqzjpa.js → model-resolver-ts23464c.js} +6 -6
  236. package/dist/chunks/{mime-93z3pz9m.js → model-resolver-tv2g93x2.js} +32 -32
  237. package/dist/chunks/{mime-faajnp1h.js → model-resolver-tzm99wp3.js} +8 -8
  238. package/dist/chunks/{mime-fd1b7pt2.js → model-resolver-v1z61gdb.js} +17 -17
  239. package/dist/chunks/{mime-x4aqza7e.js → model-resolver-v2d8dwc4.js} +9 -9
  240. package/dist/chunks/{mime-jskn7g1e.js → model-resolver-v8b1trmq.js} +3 -3
  241. package/dist/chunks/{mime-04mq6ee8.js → model-resolver-va0jwre1.js} +30 -30
  242. package/dist/chunks/{mime-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
  243. package/dist/chunks/{mime-n88acrca.js → model-resolver-vgz6x7va.js} +17 -17
  244. package/dist/chunks/{mime-mz925t54.js → model-resolver-vmv69sjz.js} +5 -5
  245. package/dist/chunks/{mime-m6yxcdx8.js → model-resolver-vqhepxyf.js} +32 -32
  246. package/dist/chunks/{mime-9qvg3h9w.js → model-resolver-vqhkw9gd.js} +81 -81
  247. package/dist/chunks/{mime-ze3jqpvg.js → model-resolver-vsmhcm1n.js} +18 -18
  248. package/dist/chunks/{mime-vzs5sf6e.js → model-resolver-vzs5sf6e.js} +1 -1
  249. package/dist/chunks/{mime-vjmwwnet.js → model-resolver-w06vrs2y.js} +4 -4
  250. package/dist/chunks/{mime-w19d8598.js → model-resolver-w19d8598.js} +1 -1
  251. package/dist/chunks/{mime-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
  252. package/dist/chunks/{mime-ndn3sg6m.js → model-resolver-w8wbc6jz.js} +5 -5
  253. package/dist/chunks/{mime-s0txbpxx.js → model-resolver-wc21baf5.js} +26 -26
  254. package/dist/chunks/{mime-wd87259q.js → model-resolver-wd87259q.js} +1 -1
  255. package/dist/chunks/{mime-b3f8fkhc.js → model-resolver-wecqtg5s.js} +5 -5
  256. package/dist/chunks/{mime-vy452p9v.js → model-resolver-wfyxnnpw.js} +13 -13
  257. package/dist/chunks/{mime-p1ve58ng.js → model-resolver-wvw422xq.js} +30 -30
  258. package/dist/chunks/{mime-tevtjb4d.js → model-resolver-wzp2zdrd.js} +18 -18
  259. package/dist/chunks/{mime-aet780dh.js → model-resolver-x2g45djb.js} +9 -9
  260. package/dist/chunks/{mime-2sdz7qh7.js → model-resolver-x37b3njd.js} +45 -45
  261. package/dist/chunks/{mime-2vdde78z.js → model-resolver-xcgyncvr.js} +9 -9
  262. package/dist/chunks/{mime-esfhhzdr.js → model-resolver-xh8kgek2.js} +24 -24
  263. package/dist/chunks/{mime-xkntkrq7.js → model-resolver-xkntkrq7.js} +2 -2
  264. package/dist/chunks/{mime-ha65gv77.js → model-resolver-xn8rxa2c.js} +20 -20
  265. package/dist/chunks/{mime-qxjc9qry.js → model-resolver-xyafkbt0.js} +3 -3
  266. package/dist/chunks/{mime-sjq3gc3m.js → model-resolver-y18nf7t0.js} +3 -3
  267. package/dist/chunks/{mime-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{mime-2nhfnjcw.js → model-resolver-y77d0n28.js} +16 -16
  269. package/dist/chunks/{mime-93ymncz8.js → model-resolver-ya12f4a8.js} +24 -24
  270. package/dist/chunks/{mime-tgwh4g45.js → model-resolver-yfg3b8wm.js} +3 -3
  271. package/dist/chunks/{mime-as7cf5zz.js → model-resolver-yjtfa6v9.js} +4 -4
  272. package/dist/chunks/{mime-kvvdvz0d.js → model-resolver-ypzf3tk8.js} +36 -36
  273. package/dist/chunks/{mime-ccdh6zge.js → model-resolver-yz0fee1s.js} +10 -10
  274. package/dist/chunks/{mime-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
  275. package/dist/chunks/{mime-hs1x7rht.js → model-resolver-z1vm9hqc.js} +12 -12
  276. package/dist/chunks/{mime-n8vdnqrc.js → model-resolver-z6c3x22d.js} +5 -5
  277. package/dist/chunks/{mime-7zx1qa5e.js → model-resolver-z70hwzgh.js} +11 -11
  278. package/dist/chunks/{mime-5mqyks12.js → model-resolver-zd9ev577.js} +36 -36
  279. package/dist/chunks/model-resolver-zfywewcm.js +253 -0
  280. package/dist/chunks/{mime-vw5a0rfv.js → model-resolver-zm3dqqf4.js} +2 -2
  281. package/dist/chunks/{mime-npzkpwms.js → model-resolver-znqwxr4y.js} +10 -10
  282. package/dist/chunks/{mime-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{mime-w2p0hagm.js → model-resolver-zw0v8jtf.js} +16 -16
  284. package/dist/chunks/{mime-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +5 -5
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +85 -85
  290. package/dist/config/discovery.js +84 -84
  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 +118 -118
  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 +119 -119
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +85 -85
  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 +220 -220
  418. package/dist/filesystem/protected.js +3 -3
  419. package/dist/filesystem/search.js +103 -103
  420. package/dist/filesystem/watcher-binding.js +3 -3
  421. package/dist/filesystem/watcher.js +13 -13
  422. package/dist/filesystem.js +106 -106
  423. package/dist/form.js +86 -86
  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 +85 -85
  452. package/dist/instructions/builtins.js +87 -87
  453. package/dist/instructions/index.js +5 -5
  454. package/dist/integration/connection.js +3 -3
  455. package/dist/integration.js +87 -87
  456. package/dist/job.js +76 -76
  457. package/dist/kv/sql.js +2 -2
  458. package/dist/kv.js +71 -71
  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 +87 -87
  464. package/dist/managed-policy.js +5 -5
  465. package/dist/mcp/client.js +91 -91
  466. package/dist/mcp/index.js +103 -103
  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 +82 -82
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +117 -117
  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 +86 -86
  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 +4 -4
  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 +95 -95
  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 +214 -214
  551. package/dist/project/schema.js +8 -8
  552. package/dist/project/sql.js +4 -4
  553. package/dist/project.js +88 -88
  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 +97 -97
  558. package/dist/reference/instructions.js +89 -89
  559. package/dist/reference.js +91 -91
  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 +97 -97
  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 +133 -133
  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 +7 -7
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +214 -214
  575. package/dist/session/execution.js +123 -123
  576. package/dist/session/generate.js +152 -152
  577. package/dist/session/history.js +15 -15
  578. package/dist/session/inbox.js +84 -84
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +77 -77
  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 +118 -118
  586. package/dist/session/model-transport.js +7 -7
  587. package/dist/session/move.js +129 -129
  588. package/dist/session/projector.js +86 -86
  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 +87 -87
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +201 -201
  610. package/dist/session/system-prompt.js +1 -1
  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 +211 -211
  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 +11 -11
  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 +114 -114
  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 +124 -124
  629. package/dist/tool/plugin/edit.js +120 -120
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +122 -122
  632. package/dist/tool/plugin/grep.js +122 -122
  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 +123 -123
  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 +108 -108
  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 +16 -16
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/git-executable.js +2 -2
  651. package/dist/util/iife.js +1 -1
  652. package/dist/util/lazy.js +1 -1
  653. package/dist/util/slug.js +1 -1
  654. package/dist/util/token.js +1 -1
  655. package/dist/util/which.js +1 -1
  656. package/dist/util/wildcard.js +1 -1
  657. package/dist/v1/config/agent.js +7 -7
  658. package/dist/v1/config/command.js +5 -5
  659. package/dist/v1/config/error.js +4 -4
  660. package/dist/v1/config/mcp.js +4 -4
  661. package/dist/v1/config/migrate.js +92 -92
  662. package/dist/v1/config/permission.js +7 -7
  663. package/dist/v1/config/plugin.js +1 -1
  664. package/dist/v1/config/provider-options.js +1 -1
  665. package/dist/v1/config/provider.js +4 -4
  666. package/dist/variant.js +93 -93
  667. package/dist/vcs/patch.js +1 -1
  668. package/dist/vcs.js +89 -89
  669. package/dist/websearch.js +84 -84
  670. package/dist/wellknown/plugin.js +76 -76
  671. package/dist/wellknown.js +81 -81
  672. package/dist/workspace/driver.js +5 -5
  673. package/dist/workspace/sql.js +1 -1
  674. package/dist/workspace.js +80 -80
  675. package/dist/worktree/directory.js +2 -2
  676. package/dist/worktree/git.js +8 -8
  677. package/dist/worktree/sql.js +5 -5
  678. package/dist/worktree/strategies.js +85 -85
  679. package/dist/worktree.js +88 -88
  680. package/package.json +8 -8
  681. package/dist/chunks/mime-2at4bpy3.js +0 -26
  682. package/dist/chunks/mime-459hb6np.js +0 -253
  683. package/dist/chunks/mime-phz3h32g.js +0 -18
  684. /package/dist/chunks/{mime-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
  685. /package/dist/chunks/{mime-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
  686. /package/dist/chunks/{mime-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
  687. /package/dist/chunks/{mime-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
  688. /package/dist/chunks/{mime-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
  689. /package/dist/chunks/{mime-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
  690. /package/dist/chunks/{mime-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
  691. /package/dist/chunks/{mime-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
  692. /package/dist/chunks/{mime-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
  693. /package/dist/chunks/{mime-34c7v6d4.js → model-resolver-34c7v6d4.js} +0 -0
  694. /package/dist/chunks/{mime-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
  695. /package/dist/chunks/{mime-3asan66x.js → model-resolver-3asan66x.js} +0 -0
  696. /package/dist/chunks/{mime-3t0ybcrp.js → model-resolver-3t0ybcrp.js} +0 -0
  697. /package/dist/chunks/{mime-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
  698. /package/dist/chunks/{mime-3w5fmr99.js → model-resolver-3w5fmr99.js} +0 -0
  699. /package/dist/chunks/{mime-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
  700. /package/dist/chunks/{mime-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
  701. /package/dist/chunks/{mime-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
  702. /package/dist/chunks/{mime-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
  703. /package/dist/chunks/{mime-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
  704. /package/dist/chunks/{mime-53557ph1.js → model-resolver-53557ph1.js} +0 -0
  705. /package/dist/chunks/{mime-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
  706. /package/dist/chunks/{mime-6prwharc.js → model-resolver-6prwharc.js} +0 -0
  707. /package/dist/chunks/{mime-6q2bdcd1.js → model-resolver-6q2bdcd1.js} +0 -0
  708. /package/dist/chunks/{mime-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
  709. /package/dist/chunks/{mime-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
  710. /package/dist/chunks/{mime-822emrt2.js → model-resolver-822emrt2.js} +0 -0
  711. /package/dist/chunks/{mime-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
  712. /package/dist/chunks/{mime-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
  713. /package/dist/chunks/{mime-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
  714. /package/dist/chunks/{mime-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
  715. /package/dist/chunks/{mime-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
  716. /package/dist/chunks/{mime-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
  717. /package/dist/chunks/{mime-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
  718. /package/dist/chunks/{mime-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
  719. /package/dist/chunks/{mime-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
  720. /package/dist/chunks/{mime-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
  721. /package/dist/chunks/{mime-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
  722. /package/dist/chunks/{mime-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
  723. /package/dist/chunks/{mime-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
  724. /package/dist/chunks/{mime-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
  725. /package/dist/chunks/{mime-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
  726. /package/dist/chunks/{mime-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
  727. /package/dist/chunks/{mime-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
  728. /package/dist/chunks/{mime-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
  729. /package/dist/chunks/{mime-df08tz66.js → model-resolver-df08tz66.js} +0 -0
  730. /package/dist/chunks/{mime-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
  731. /package/dist/chunks/{mime-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
  732. /package/dist/chunks/{mime-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
  733. /package/dist/chunks/{mime-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
  734. /package/dist/chunks/{mime-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
  735. /package/dist/chunks/{mime-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
  736. /package/dist/chunks/{mime-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
  737. /package/dist/chunks/{mime-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
  738. /package/dist/chunks/{mime-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
  739. /package/dist/chunks/{mime-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
  740. /package/dist/chunks/{mime-fxgpk5d8.js → model-resolver-fxgpk5d8.js} +0 -0
  741. /package/dist/chunks/{mime-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
  742. /package/dist/chunks/{mime-g86h250q.js → model-resolver-g86h250q.js} +0 -0
  743. /package/dist/chunks/{mime-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
  744. /package/dist/chunks/{mime-gftt206x.js → model-resolver-gftt206x.js} +0 -0
  745. /package/dist/chunks/{mime-hk9envan.js → model-resolver-hk9envan.js} +0 -0
  746. /package/dist/chunks/{mime-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
  747. /package/dist/chunks/{mime-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
  748. /package/dist/chunks/{mime-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
  749. /package/dist/chunks/{mime-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
  750. /package/dist/chunks/{mime-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
  751. /package/dist/chunks/{mime-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
  752. /package/dist/chunks/{mime-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
  753. /package/dist/chunks/{mime-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
  754. /package/dist/chunks/{mime-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
  755. /package/dist/chunks/{mime-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
  756. /package/dist/chunks/{mime-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
  757. /package/dist/chunks/{mime-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
  758. /package/dist/chunks/{mime-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
  759. /package/dist/chunks/{mime-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
  760. /package/dist/chunks/{mime-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
  761. /package/dist/chunks/{mime-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
  762. /package/dist/chunks/{mime-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
  763. /package/dist/chunks/{mime-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
  764. /package/dist/chunks/{mime-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
  765. /package/dist/chunks/{mime-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
  766. /package/dist/chunks/{mime-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
  767. /package/dist/chunks/{mime-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
  768. /package/dist/chunks/{mime-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
  769. /package/dist/chunks/{mime-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
  770. /package/dist/chunks/{mime-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
  771. /package/dist/chunks/{mime-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
  772. /package/dist/chunks/{mime-x61499pn.js → model-resolver-x61499pn.js} +0 -0
  773. /package/dist/chunks/{mime-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
  774. /package/dist/chunks/{mime-y8cydn3q.js → model-resolver-y8cydn3q.js} +0 -0
  775. /package/dist/chunks/{mime-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
  776. /package/dist/chunks/{mime-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
  777. /package/dist/chunks/{mime-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
  778. /package/dist/chunks/{mime-z5v4ffb3.js → model-resolver-z5v4ffb3.js} +0 -0
  779. /package/dist/chunks/{mime-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  call2
3
- } from "./mime-1ygqh575.js";
3
+ } from "./model-resolver-mfqp6xfm.js";
4
4
  import {
5
5
  __export
6
- } from "./mime-9rqn6x4v.js";
6
+ } from "./model-resolver-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/exa.ts
9
9
  var exports_exa = {};
10
10
  __export(exports_exa, {
11
- Plugin: () => Plugin4,
11
+ Plugin: () => Plugin25,
12
12
  WebSearchExa: () => exports_exa,
13
- endpoint: () => endpoint2
13
+ endpoint: () => endpoint6
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Effect, Schema } from "effect";
17
17
  import { HttpClient } from "effect/unstable/http";
18
- var endpoint2 = "https://mcp.exa.ai/mcp";
18
+ var endpoint6 = "https://mcp.exa.ai/mcp";
19
19
  var McpInput = Schema.Struct({
20
20
  query: Schema.String,
21
21
  numResults: Schema.Number.pipe(Schema.optional)
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
27
27
  _meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
28
28
  }))
29
29
  });
30
- var Plugin4 = define({
30
+ var Plugin25 = define({
31
31
  id: "opencode.websearch.exa",
32
32
  effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
33
33
  const http = yield* HttpClient.HttpClient;
@@ -49,7 +49,7 @@ var Plugin4 = define({
49
49
  execute: (input) => Effect.gen(function* () {
50
50
  const connection = yield* ctx.integration.connection.active("exa");
51
51
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
52
- const url = new URL(endpoint2);
52
+ const url = new URL(endpoint6);
53
53
  if (credential?.type === "key")
54
54
  url.searchParams.set("exaApiKey", credential.key);
55
55
  const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
@@ -80,4 +80,4 @@ function parseResults(text) {
80
80
  });
81
81
  }
82
82
 
83
- export { endpoint2, Plugin4, exports_exa };
83
+ export { endpoint6, Plugin25, exports_exa };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  NamedError2
3
- } from "./mime-2axfhc9x.js";
3
+ } from "./model-resolver-2axfhc9x.js";
4
4
  import {
5
5
  __export
6
- } from "./mime-9rqn6x4v.js";
6
+ } from "./model-resolver-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/error.ts
9
- var exports_error2 = {};
10
- __export(exports_error2, {
11
- ConfigErrorV1: () => exports_error2,
9
+ var exports_error = {};
10
+ __export(exports_error, {
11
+ ConfigErrorV1: () => exports_error,
12
12
  InvalidError: () => InvalidError2
13
13
  });
14
14
  import { Schema } from "effect";
@@ -22,4 +22,4 @@ var InvalidError2 = NamedError2.create("ConfigInvalidError", {
22
22
  message: Schema.optional(Schema.String)
23
23
  });
24
24
 
25
- export { InvalidError2, exports_error2 };
25
+ export { InvalidError2, exports_error };
@@ -1,70 +1,70 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./mime-e5ncbec4.js";
4
+ } from "./model-resolver-qzpwn43k.js";
5
5
  import {
6
- Service80,
7
- node84
8
- } from "./mime-2wjfq3y1.js";
6
+ Service78,
7
+ node81
8
+ } from "./model-resolver-3x6h1yzc.js";
9
9
  import {
10
- ID7,
11
- Service53,
12
- node55
13
- } from "./mime-va8pbtsb.js";
10
+ ID18,
11
+ Service82,
12
+ node86
13
+ } from "./model-resolver-2h5pq9sb.js";
14
14
  import {
15
- NotFoundError6
16
- } from "./mime-2vdde78z.js";
15
+ NotFoundError10
16
+ } from "./model-resolver-xcgyncvr.js";
17
17
  import {
18
- Service51,
19
- node53
20
- } from "./mime-2nhfnjcw.js";
18
+ Service71,
19
+ node73
20
+ } from "./model-resolver-y77d0n28.js";
21
21
  import {
22
22
  match2
23
- } from "./mime-y1fvbwt7.js";
23
+ } from "./model-resolver-y1fvbwt7.js";
24
24
  import {
25
- Service52,
26
- node54
27
- } from "./mime-fd1b7pt2.js";
25
+ Service72,
26
+ node74
27
+ } from "./model-resolver-v1z61gdb.js";
28
28
  import {
29
- Service64,
30
- node67
31
- } from "./mime-zrq8kphx.js";
29
+ Service73,
30
+ node75
31
+ } from "./model-resolver-gqxmd7mw.js";
32
32
  import {
33
33
  __export
34
- } from "./mime-9rqn6x4v.js";
34
+ } from "./model-resolver-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
- var exports_permission = {};
38
- __export(exports_permission, {
37
+ var exports_permission2 = {};
38
+ __export(exports_permission2, {
39
39
  AskResult: () => AskResult2,
40
40
  AssertInput: () => AssertInput2,
41
41
  BlockedError: () => BlockedError2,
42
42
  CorrectedError: () => CorrectedError2,
43
43
  DeclinedError: () => DeclinedError2,
44
44
  Effect: () => PermissionEffect,
45
- Event: () => Event8,
46
- ID: () => ID4,
47
- NotFoundError: () => NotFoundError5,
48
- Permission: () => exports_permission,
49
- Reply: () => Reply2,
45
+ Event: () => Event18,
46
+ ID: () => ID12,
47
+ NotFoundError: () => NotFoundError9,
48
+ Permission: () => exports_permission2,
49
+ Reply: () => Reply3,
50
50
  ReplyInput: () => ReplyInput2,
51
- Request: () => Request2,
52
- Rule: () => Rule2,
51
+ Request: () => Request3,
52
+ Rule: () => Rule3,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service50,
54
+ Service: () => Service70,
55
55
  Source: () => Source5,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node52
58
+ node: () => node72
59
59
  });
60
60
  import { makeLocationNode } from "@opencode/util/effect/app-node";
61
61
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
62
62
  import { Permission } from "@opencode/schema/permission";
63
- import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
- import { Event as Event8 } from "@opencode/schema/permission";
63
+ import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
+ import { Event as Event18 } from "@opencode/schema/permission";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
- var ID4 = Permission.ID;
67
+ var ID12 = Permission.ID;
68
68
  var Source5 = Permission.Source;
69
69
  var RequestFields = {
70
70
  sessionID: Permission.Request.fields.sessionID,
@@ -74,20 +74,20 @@ var RequestFields = {
74
74
  metadata: Permission.Request.fields.metadata,
75
75
  source: Permission.Request.fields.source
76
76
  };
77
- var Request2 = Permission.Request;
78
- var Reply2 = Permission.Reply;
77
+ var Request3 = Permission.Request;
78
+ var Reply3 = Permission.Reply;
79
79
  var AssertInput2 = Schema.Struct({
80
- id: ID4.pipe(Schema.optional),
80
+ id: ID12.pipe(Schema.optional),
81
81
  ...RequestFields,
82
- agent: ID7.pipe(Schema.optional)
82
+ agent: ID18.pipe(Schema.optional)
83
83
  }).annotate({ identifier: "Permission.AssertInput" });
84
84
  var ReplyInput2 = Schema.Struct({
85
- requestID: ID4,
86
- reply: Reply2,
85
+ requestID: ID12,
86
+ reply: Reply3,
87
87
  message: Schema.String.pipe(Schema.optional)
88
88
  }).annotate({ identifier: "Permission.ReplyInput" });
89
89
  var AskResult2 = Schema.Struct({
90
- id: ID4,
90
+ id: ID12,
91
91
  effect: Permission.Effect
92
92
  }).annotate({ identifier: "Permission.AskResult" });
93
93
 
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
110
110
  }
111
111
  }
112
112
 
113
- class NotFoundError5 extends Schema.TaggedError()("Permission.NotFoundError", {
114
- requestID: ID4
113
+ class NotFoundError9 extends Schema.TaggedError()("Permission.NotFoundError", {
114
+ requestID: ID12
115
115
  }) {
116
116
  }
117
117
  function evaluate2(action, resource, ...rulesets) {
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
125
125
  return rulesets.flat();
126
126
  }
127
127
 
128
- class Service50 extends Context.Service()("@opencode/Permission") {
128
+ class Service70 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service50, Effect.gen(function* () {
130
+ var layer = Layer.effect(Service70, Effect.gen(function* () {
131
131
  const bus = yield* Service83;
132
- const location = yield* Service80;
133
- const agents = yield* Service53;
134
- const sessions = yield* Service51;
135
- const saved = yield* Service52;
136
- const hooks = yield* Service64;
132
+ const location = yield* Service78;
133
+ const agents = yield* Service82;
134
+ const sessions = yield* Service71;
135
+ const saved = yield* Service72;
136
+ const hooks = yield* Service73;
137
137
  const pending = new Map;
138
138
  let closed = false;
139
139
  const close = Effect.gen(function* () {
@@ -156,7 +156,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
156
156
  const configured = Effect.fnUntraced(function* (sessionID, agentID) {
157
157
  const session = yield* sessions.get(sessionID);
158
158
  if (!session)
159
- return yield* new NotFoundError6({ sessionID });
159
+ return yield* new NotFoundError10({ sessionID });
160
160
  const agent = yield* agents.resolve(agentID ?? session.agent);
161
161
  return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
162
162
  });
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
186
186
  });
187
187
  function request(input, message) {
188
188
  return {
189
- id: input.id ?? ID4.create(),
189
+ id: input.id ?? ID12.create(),
190
190
  sessionID: input.sessionID,
191
191
  action: input.action,
192
192
  resources: input.resources,
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
211
211
  }));
212
212
  const ask = Effect.fn("Permission.ask")(function* (input) {
213
213
  if (closed)
214
- return { id: input.id ?? ID4.create(), effect: "deny" };
214
+ return { id: input.id ?? ID12.create(), effect: "deny" };
215
215
  const result = yield* evaluateInput(input);
216
216
  const value = request(input, result.message);
217
217
  if (result.effect === "ask")
@@ -242,7 +242,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
242
242
  const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
243
243
  const existing = pending.get(input.requestID);
244
244
  if (!existing)
245
- return yield* new NotFoundError5({ requestID: input.requestID });
245
+ return yield* new NotFoundError9({ requestID: input.requestID });
246
246
  yield* bus.publish(Permission.Event.Replied, {
247
247
  sessionID: existing.request.sessionID,
248
248
  requestID: existing.request.id,
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
297
297
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
298
298
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
299
299
  });
300
- return Service50.of({ ask, assert, reply, get, forSession, list, close });
300
+ return Service70.of({ ask, assert, reply, get, forSession, list, close });
301
301
  }));
302
- var node52 = makeLocationNode({
303
- service: Service50,
302
+ var node72 = makeLocationNode({
303
+ service: Service70,
304
304
  layer,
305
- deps: [node87, node84, node55, node53, node54, node67]
305
+ deps: [node87, node81, node86, node73, node74, node75]
306
306
  });
307
307
 
308
- export { PermissionEffect, ID4, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError5, evaluate2, merge2, Service50, node52, exports_permission, Rule2, Ruleset2, Event8 };
308
+ export { PermissionEffect, ID12, Source5, Request3, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError9, evaluate2, merge2, Service70, node72, exports_permission2, Rule3, Ruleset2, Event18 };
@@ -0,0 +1,18 @@
1
+ import {
2
+ __export
3
+ } from "./model-resolver-9rqn6x4v.js";
4
+
5
+ // src/plugin/service.ts
6
+ var exports_service = {};
7
+ __export(exports_service, {
8
+ Plugin: () => exports_service,
9
+ Service: () => Service25,
10
+ awaitActivation: () => awaitActivation2
11
+ });
12
+ import { Context } from "effect";
13
+
14
+ class Service25 extends Context.Service()("@opencode/Plugin") {
15
+ }
16
+ var awaitActivation2 = Service25.use((plugins) => plugins.awaitActivation);
17
+
18
+ export { Service25, awaitActivation2, exports_service };
@@ -2,26 +2,26 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./mime-z5v4ffb3.js";
5
+ } from "./model-resolver-z5v4ffb3.js";
6
6
  import {
7
- Service69,
8
- node72
9
- } from "./mime-93ymncz8.js";
7
+ Service76,
8
+ node78
9
+ } from "./model-resolver-ya12f4a8.js";
10
10
  import {
11
11
  RipgrepBinary2
12
- } from "./mime-8d7r5vzw.js";
12
+ } from "./model-resolver-8d7r5vzw.js";
13
13
  import {
14
14
  __export
15
- } from "./mime-9rqn6x4v.js";
15
+ } from "./model-resolver-9rqn6x4v.js";
16
16
 
17
17
  // src/ripgrep.ts
18
18
  var exports_ripgrep = {};
19
19
  __export(exports_ripgrep, {
20
- Error: () => Error4,
20
+ Error: () => Error2,
21
21
  InvalidPatternError: () => InvalidPatternError2,
22
22
  Ripgrep: () => exports_ripgrep,
23
- Service: () => Service68,
24
- node: () => node71
23
+ Service: () => Service35,
24
+ node: () => node38
25
25
  });
26
26
  import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
27
27
  import { ChildProcess } from "effect/unstable/process";
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
46
46
  });
47
47
  var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
48
48
 
49
- class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
49
+ class Error2 extends Schema.TaggedError()("Ripgrep.Error", {
50
50
  message: Schema.String,
51
51
  cause: Schema.optional(Schema.Defect())
52
52
  }) {
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
58
58
  }) {
59
59
  }
60
60
 
61
- class Service68 extends Context.Service()("@opencode/Ripgrep") {
61
+ class Service35 extends Context.Service()("@opencode/Ripgrep") {
62
62
  }
63
- var failure = (message, cause) => new Error4({ message, cause });
63
+ var failure = (message, cause) => new Error2({ message, cause });
64
64
  var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
65
65
  var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
66
- var layer = Layer.effect(Service68, Effect.gen(function* () {
67
- const environment = yield* Service69;
66
+ var layer = Layer.effect(Service35, Effect.gen(function* () {
67
+ const environment = yield* Service76;
68
68
  const binary = yield* RipgrepBinary2.Service;
69
69
  const run = (input) => {
70
70
  const program = Effect.scoped(Effect.gen(function* () {
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
90
90
  return code === 1 ? [] : rows;
91
91
  }));
92
92
  const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
93
- return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
93
+ return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
94
94
  };
95
- return Service68.of({
95
+ return Service35.of({
96
96
  glob: (input) => run({
97
97
  cwd: input.cwd,
98
98
  limit: input.limit,
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
175
175
  }))))
176
176
  });
177
177
  }));
178
- var node71 = makeLocationNode({ service: Service68, layer, deps: [node72, RipgrepBinary2.node] });
178
+ var node38 = makeLocationNode({ service: Service35, layer, deps: [node78, RipgrepBinary2.node] });
179
179
 
180
- export { Error4, InvalidPatternError2, Service68, node71, exports_ripgrep };
180
+ export { Error2, InvalidPatternError2, Service35, node38, exports_ripgrep };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./mime-9rqn6x4v.js";
3
+ } from "./model-resolver-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/command.ts
6
- var exports_command4 = {};
7
- __export(exports_command4, {
8
- ConfigCommandV1: () => exports_command4,
9
- Info: () => Info13
6
+ var exports_command5 = {};
7
+ __export(exports_command5, {
8
+ ConfigCommandV1: () => exports_command5,
9
+ Info: () => Info14
10
10
  });
11
11
  import { Schema } from "effect";
12
- var Info13 = Schema.Struct({
12
+ var Info14 = Schema.Struct({
13
13
  template: Schema.String,
14
14
  description: Schema.optional(Schema.String),
15
15
  agent: Schema.optional(Schema.String),
@@ -18,4 +18,4 @@ var Info13 = Schema.Struct({
18
18
  subtask: Schema.optional(Schema.Boolean)
19
19
  });
20
20
 
21
- export { Info13, exports_command4 };
21
+ export { Info14, exports_command5 };
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./mime-j6gcmj6w.js";
4
+ } from "./model-resolver-5mwnvj5n.js";
5
5
  import {
6
6
  Service83,
7
7
  node87
8
- } from "./mime-e5ncbec4.js";
8
+ } from "./model-resolver-qzpwn43k.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./mime-pknna89w.js";
11
+ } from "./model-resolver-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./mime-3zsf4n22.js";
14
+ } from "./model-resolver-3zsf4n22.js";
15
15
  import {
16
16
  __export
17
- } from "./mime-9rqn6x4v.js";
17
+ } from "./model-resolver-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event20,
24
- ID: () => ID16,
25
- Info: () => Info26,
26
- Key: () => Key4,
23
+ Event: () => Event17,
24
+ ID: () => ID11,
25
+ Info: () => Info21,
26
+ Key: () => Key3,
27
27
  OAuth: () => OAuth3,
28
- Service: () => Service78,
28
+ Service: () => Service69,
29
29
  Value: () => Value2,
30
- node: () => node82
30
+ node: () => node71
31
31
  });
32
32
  import { asc, desc, eq } from "drizzle-orm";
33
33
  import { Cause, Context, Effect, Layer, Schema } from "effect";
34
34
  import { Credential } from "@opencode/schema/credential";
35
35
  import { Integration } from "@opencode/schema/integration";
36
36
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
37
- var ID16 = Credential.ID;
37
+ var ID11 = Credential.ID;
38
38
  var OAuth3 = Credential.OAuth;
39
- var Key4 = Credential.Key;
39
+ var Key3 = Credential.Key;
40
40
  var Value2 = Credential.Value;
41
- var Event20 = Credential.Event;
41
+ var Event17 = Credential.Event;
42
42
 
43
- class Info26 extends Schema.Class("Credential.Info")({
44
- id: ID16,
43
+ class Info21 extends Schema.Class("Credential.Info")({
44
+ id: ID11,
45
45
  integrationID: Integration.ID,
46
46
  label: Schema.String,
47
47
  value: Value2
48
48
  }) {
49
49
  }
50
50
 
51
- class Service78 extends Context.Service()("@opencode/Credential") {
51
+ class Service69 extends Context.Service()("@opencode/Credential") {
52
52
  }
53
- var layer = Layer.effect(Service78, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service69, Effect.gen(function* () {
54
54
  const db = (yield* Service84).db;
55
55
  const bus = yield* Service83;
56
56
  const decode = Schema.decodeUnknownSync(Value2);
57
57
  const stored = (row) => {
58
58
  if (!row.integration_id)
59
59
  return;
60
- return new Info26({
60
+ return new Info21({
61
61
  id: row.id,
62
62
  integrationID: row.integration_id,
63
63
  label: row.label,
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
68
68
  const credential = stored(row);
69
69
  return credential ? [credential] : [];
70
70
  });
71
- return Service78.of({
71
+ return Service69.of({
72
72
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
73
73
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
74
74
  get: Effect.fn("Credential.get")(function* (id) {
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
76
76
  return row ? stored(row) : undefined;
77
77
  }),
78
78
  create: Effect.fn("Credential.create")(function* (input) {
79
- const credential = new Info26({
80
- id: input.id ?? ID16.create(),
79
+ const credential = new Info21({
80
+ id: input.id ?? ID11.create(),
81
81
  integrationID: input.integrationID,
82
82
  label: input.label ?? "default",
83
83
  value: input.value
@@ -108,9 +108,9 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
108
108
  type: credential.value.type,
109
109
  active: activated
110
110
  });
111
- yield* bus.publish(Event20.Updated, {}, { global: true });
111
+ yield* bus.publish(Event17.Updated, {}, { global: true });
112
112
  if (activated)
113
- yield* bus.publish(Event20.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
113
+ yield* bus.publish(Event17.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
114
114
  return credential;
115
115
  }),
116
116
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
130
130
  })), Effect.orDie);
131
131
  if (integrationID) {
132
132
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
133
- yield* bus.publish(Event20.Switched, { integrationID, credentialID: id }, { global: true });
133
+ yield* bus.publish(Event17.Switched, { integrationID, credentialID: id }, { global: true });
134
134
  }
135
135
  }),
136
136
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -162,7 +162,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
162
162
  labelChanged: updates.label !== undefined && updates.label !== credential.label
163
163
  });
164
164
  if (updates.label !== undefined && updates.label !== credential.label)
165
- yield* bus.publish(Event20.Updated, {}, { global: true });
165
+ yield* bus.publish(Event17.Updated, {}, { global: true });
166
166
  }),
167
167
  remove: Effect.fn("Credential.remove")(function* (id) {
168
168
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -195,12 +195,12 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
195
195
  active: removed.switched,
196
196
  ...removed.switched ? { replacementID: removed.credentialID } : {}
197
197
  });
198
- yield* bus.publish(Event20.Updated, {}, { global: true });
198
+ yield* bus.publish(Event17.Updated, {}, { global: true });
199
199
  if (removed.switched)
200
- yield* bus.publish(Event20.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
200
+ yield* bus.publish(Event17.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
201
201
  })
202
202
  });
203
203
  }));
204
- var node82 = makeGlobalNode({ service: Service78, layer, deps: [node88, node87] });
204
+ var node71 = makeGlobalNode({ service: Service69, layer, deps: [node88, node87] });
205
205
 
206
- export { ID16, OAuth3, Key4, Value2, Event20, Info26, Service78, node82, exports_credential };
206
+ export { ID11, OAuth3, Key3, Value2, Event17, Info21, Service69, node71, exports_credential };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./mime-z5v4ffb3.js";
3
+ } from "./model-resolver-z5v4ffb3.js";
4
4
 
5
5
  // src/database/path.ts
6
6
  import nodePath from "path";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./mime-9rqn6x4v.js";
3
+ } from "./model-resolver-9rqn6x4v.js";
4
4
 
5
5
  // src/config/plugin/entry-observer.ts
6
6
  var exports_entry_observer = {};