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

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 (780) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +71 -71
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{model-resolver-cfmtfeg9.js → app-01b47qtp.js} +10 -10
  8. package/dist/chunks/{model-resolver-gdn89mga.js → app-09erbt4s.js} +15 -15
  9. package/dist/chunks/{model-resolver-5109a086.js → app-0mekpjct.js} +32 -32
  10. package/dist/chunks/{model-resolver-0paq2nw3.js → app-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{model-resolver-cjhnsaft.js → app-0rw9nv2q.js} +8 -8
  12. package/dist/chunks/{model-resolver-wvw422xq.js → app-0s3chswr.js} +33 -33
  13. package/dist/chunks/{model-resolver-0vbcp93d.js → app-0vbcp93d.js} +2 -2
  14. package/dist/chunks/{model-resolver-4xy3xte6.js → app-0xfrdwvr.js} +34 -34
  15. package/dist/chunks/{model-resolver-da6ee7ra.js → app-0xw58msr.js} +9 -9
  16. package/dist/chunks/{model-resolver-znqwxr4y.js → app-0zyqvhq9.js} +10 -10
  17. package/dist/chunks/{model-resolver-x37b3njd.js → app-10bgj2qs.js} +44 -44
  18. package/dist/chunks/{model-resolver-1dazxqgg.js → app-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{model-resolver-0542bm0d.js → app-1kr92pjq.js} +32 -32
  20. package/dist/chunks/{model-resolver-4xpgt2w9.js → app-1pxz8ven.js} +5 -5
  21. package/dist/chunks/{model-resolver-apdvzw7w.js → app-1yb457c1.js} +26 -26
  22. package/dist/chunks/{model-resolver-08awhxg9.js → app-21fbcwms.js} +8 -8
  23. package/dist/chunks/{model-resolver-9vk12vsk.js → app-26sz20hb.js} +11 -11
  24. package/dist/chunks/{model-resolver-2a5m3afh.js → app-2a5m3afh.js} +1 -1
  25. package/dist/chunks/{model-resolver-kc9e1ych.js → app-2e853yyk.js} +34 -34
  26. package/dist/chunks/{model-resolver-w8wbc6jz.js → app-2r6s1han.js} +5 -5
  27. package/dist/chunks/{model-resolver-v1z61gdb.js → app-2za1r32n.js} +17 -17
  28. package/dist/chunks/{model-resolver-mfqp6xfm.js → app-33w4ejhs.js} +9 -9
  29. package/dist/chunks/{model-resolver-k3gjjqdh.js → app-354wsgxx.js} +33 -33
  30. package/dist/chunks/{model-resolver-g08qb7dt.js → app-37eb9j4g.js} +13 -13
  31. package/dist/chunks/{model-resolver-vsmhcm1n.js → app-38225d31.js} +15 -15
  32. package/dist/chunks/{model-resolver-2ypb7czt.js → app-39rxwxkd.js} +17 -17
  33. package/dist/chunks/{model-resolver-3cegwx68.js → app-3cegwx68.js} +2 -2
  34. package/dist/chunks/{model-resolver-3fc6dm20.js → app-3fc6dm20.js} +1 -1
  35. package/dist/chunks/{model-resolver-p8byhbkv.js → app-3fxa2vs0.js} +40 -40
  36. package/dist/chunks/{model-resolver-3hepkmqq.js → app-3hepkmqq.js} +1 -1
  37. package/dist/chunks/{model-resolver-27czsdb9.js → app-3jrsp1yh.js} +39 -39
  38. package/dist/chunks/{model-resolver-150yg2gd.js → app-3qaj82j9.js} +5 -5
  39. package/dist/chunks/{model-resolver-3smtnn6g.js → app-3smtnn6g.js} +1 -1
  40. package/dist/chunks/{model-resolver-3tvqynh2.js → app-3tvqynh2.js} +1 -1
  41. package/dist/chunks/{model-resolver-h4ckqw4f.js → app-3zbwexce.js} +8 -8
  42. package/dist/chunks/{model-resolver-3zsf4n22.js → app-3zsf4n22.js} +1 -1
  43. package/dist/chunks/{model-resolver-8yktm66k.js → app-4dnhnsrw.js} +13 -13
  44. package/dist/chunks/{model-resolver-4nsnwgcs.js → app-4fvakk57.js} +1 -1
  45. package/dist/chunks/{model-resolver-1ssqd35y.js → app-4qt3dk25.js} +12 -12
  46. package/dist/chunks/{model-resolver-xh8kgek2.js → app-4tp5hkr9.js} +21 -21
  47. package/dist/chunks/{model-resolver-4ts7tf6z.js → app-4ts7tf6z.js} +2 -2
  48. package/dist/chunks/{model-resolver-ypzf3tk8.js → app-4xfpc9x8.js} +29 -29
  49. package/dist/chunks/{model-resolver-54ma36ye.js → app-54ma36ye.js} +1 -1
  50. package/dist/chunks/{model-resolver-9zgzq4hp.js → app-553hyqc1.js} +21 -21
  51. package/dist/chunks/{model-resolver-5daktx2q.js → app-5daktx2q.js} +1 -1
  52. package/dist/chunks/{model-resolver-ed1gzxdy.js → app-5fnmkqwj.js} +11 -11
  53. package/dist/chunks/{model-resolver-0vs3bra0.js → app-5jrta31j.js} +32 -32
  54. package/dist/chunks/{model-resolver-hq45thad.js → app-5ktf0rcf.js} +18 -18
  55. package/dist/chunks/{model-resolver-5m9w47nd.js → app-5m9w47nd.js} +1 -1
  56. package/dist/chunks/{model-resolver-zm3dqqf4.js → app-5ms2rpmc.js} +2 -2
  57. package/dist/chunks/{model-resolver-dhe4rjrj.js → app-5ntmp6zc.js} +30 -30
  58. package/dist/chunks/{model-resolver-2pqtcr1v.js → app-5nvyfvs2.js} +11 -11
  59. package/dist/chunks/{model-resolver-vqhkw9gd.js → app-5p8ngbgk.js} +75 -75
  60. package/dist/chunks/{model-resolver-127b9nq3.js → app-5pyjqqve.js} +2 -2
  61. package/dist/chunks/{model-resolver-pv9k6nd9.js → app-5qjwke21.js} +21 -21
  62. package/dist/chunks/{model-resolver-5t3nmthw.js → app-5t3nmthw.js} +2 -2
  63. package/dist/chunks/{model-resolver-9v0mj4cg.js → app-6cz210g8.js} +8 -8
  64. package/dist/chunks/{model-resolver-a6xnfde8.js → app-6e5ndhjv.js} +4 -4
  65. package/dist/chunks/{model-resolver-vgz6x7va.js → app-6fnv26db.js} +15 -15
  66. package/dist/chunks/{model-resolver-1xwtfmct.js → app-6q6gqmwq.js} +4 -4
  67. package/dist/chunks/{model-resolver-mdaxkk3h.js → app-6r04yh88.js} +4 -4
  68. package/dist/chunks/{model-resolver-5d93dg4h.js → app-6t3bxbt1.js} +21 -21
  69. package/dist/chunks/{model-resolver-6xb47vfp.js → app-6xb47vfp.js} +1 -1
  70. package/dist/chunks/{model-resolver-0hc4mbjr.js → app-6ydeeanc.js} +5 -5
  71. package/dist/chunks/{model-resolver-6mns344v.js → app-77237k3k.js} +18 -18
  72. package/dist/chunks/{model-resolver-0ykz178d.js → app-77svsnty.js} +8 -8
  73. package/dist/chunks/{model-resolver-2w7e4h0h.js → app-77y1s1rs.js} +11 -11
  74. package/dist/chunks/{model-resolver-7bmhse3q.js → app-7bmhse3q.js} +1 -1
  75. package/dist/chunks/{model-resolver-2k8khapm.js → app-7dqw4kz8.js} +5 -5
  76. package/dist/chunks/{model-resolver-zd9ev577.js → app-7ht5hy0j.js} +29 -29
  77. package/dist/chunks/{model-resolver-nkpgj8pk.js → app-7mnw5w78.js} +5 -5
  78. package/dist/chunks/{model-resolver-nbe77j13.js → app-7zet489v.js} +27 -27
  79. package/dist/chunks/{model-resolver-n2srvep7.js → app-80scg3y3.js} +4 -4
  80. package/dist/chunks/{model-resolver-84h8c373.js → app-84h8c373.js} +2 -2
  81. package/dist/chunks/{model-resolver-84txncab.js → app-84txncab.js} +1 -1
  82. package/dist/chunks/{model-resolver-73azztx1.js → app-85gpctef.js} +7 -7
  83. package/dist/chunks/{model-resolver-hm2phjj0.js → app-89znh5jn.js} +18 -18
  84. package/dist/chunks/{model-resolver-g31erja1.js → app-8a6ws7jr.js} +9 -9
  85. package/dist/chunks/{model-resolver-8d7r5vzw.js → app-8d7r5vzw.js} +1 -1
  86. package/dist/chunks/{model-resolver-ts23464c.js → app-8sze2n9a.js} +8 -8
  87. package/dist/chunks/{model-resolver-q0kza1w9.js → app-8tt02aa5.js} +8 -8
  88. package/dist/chunks/{model-resolver-6z0zjaxs.js → app-92pqdpde.js} +20 -20
  89. package/dist/chunks/app-95tmncnd.js +253 -0
  90. package/dist/chunks/{model-resolver-eyz1e7b4.js → app-977n1gvn.js} +3 -3
  91. package/dist/chunks/{model-resolver-y77d0n28.js → app-9a3kc0hm.js} +14 -14
  92. package/dist/chunks/{model-resolver-xn8rxa2c.js → app-9h8mrsf7.js} +17 -17
  93. package/dist/chunks/{model-resolver-z6c3x22d.js → app-9hwaqfsw.js} +5 -5
  94. package/dist/chunks/{model-resolver-2v5zve2j.js → app-9pkbw0h1.js} +20 -20
  95. package/dist/chunks/{model-resolver-eaj1djv9.js → app-9t7a50xb.js} +8 -8
  96. package/dist/chunks/{model-resolver-b75r5j40.js → app-a19614zv.js} +24 -24
  97. package/dist/chunks/{model-resolver-73tb2d7t.js → app-a1gpj94z.js} +3 -3
  98. package/dist/chunks/{model-resolver-hd8vw2pw.js → app-a4ae1mqs.js} +1 -1
  99. package/dist/chunks/{model-resolver-45deadp2.js → app-a6rrmb2t.js} +7 -7
  100. package/dist/chunks/{model-resolver-aaet6srn.js → app-aaet6srn.js} +2 -2
  101. package/dist/chunks/{model-resolver-gqxmd7mw.js → app-at1kfnmk.js} +8 -8
  102. package/dist/chunks/{model-resolver-19v7rzjh.js → app-awezfaj7.js} +24 -24
  103. package/dist/chunks/{model-resolver-g47h9c6m.js → app-awqkms3h.js} +6 -6
  104. package/dist/chunks/{model-resolver-mj4tg0y9.js → app-b1hb30m9.js} +9 -9
  105. package/dist/chunks/{model-resolver-zw0v8jtf.js → app-b2ckxg46.js} +16 -16
  106. package/dist/chunks/{model-resolver-ecw0m79c.js → app-b5c9dynj.js} +13 -13
  107. package/dist/chunks/{model-resolver-b6gygkdw.js → app-b6gygkdw.js} +2 -2
  108. package/dist/chunks/{model-resolver-r0spx5zb.js → app-b7zw3vx0.js} +24 -24
  109. package/dist/chunks/{model-resolver-ya12f4a8.js → app-bbqm5gby.js} +24 -24
  110. package/dist/chunks/{model-resolver-vmv69sjz.js → app-bf8fwsb9.js} +5 -5
  111. package/dist/chunks/{model-resolver-5h3jqpbr.js → app-bha5yh8f.js} +15 -15
  112. package/dist/chunks/{model-resolver-h4z4phbe.js → app-bkh2zg02.js} +4 -4
  113. package/dist/chunks/{model-resolver-j4w879wy.js → app-bpdcdgy4.js} +22 -22
  114. package/dist/chunks/{model-resolver-xcgyncvr.js → app-bsprd9wx.js} +6 -6
  115. package/dist/chunks/{model-resolver-tc8cg2nw.js → app-bx2wmar1.js} +15 -15
  116. package/dist/chunks/{model-resolver-2h5pq9sb.js → app-bz46fwta.js} +3 -3
  117. package/dist/chunks/{model-resolver-5mwnvj5n.js → app-c4e8pskq.js} +3 -3
  118. package/dist/chunks/{model-resolver-rpbkhrt2.js → app-c4ejyagw.js} +22 -22
  119. package/dist/chunks/{model-resolver-a8bn8zg0.js → app-cavr175a.js} +4 -4
  120. package/dist/chunks/{model-resolver-z70hwzgh.js → app-ccv5fkkn.js} +20 -20
  121. package/dist/chunks/{model-resolver-gm70hkap.js → app-cgmwwjnd.js} +11 -11
  122. package/dist/chunks/{model-resolver-ctz7jbry.js → app-ctz7jbry.js} +1 -1
  123. package/dist/chunks/{model-resolver-4j4tgtq5.js → app-d2czbp48.js} +4 -4
  124. package/dist/chunks/{model-resolver-g4pw1jpx.js → app-d4q7zemf.js} +24 -24
  125. package/dist/chunks/{model-resolver-8xq2p407.js → app-derpzkc9.js} +19 -19
  126. package/dist/chunks/{model-resolver-gst7axd9.js → app-dhmh7aw6.js} +4 -4
  127. package/dist/chunks/{model-resolver-xkntkrq7.js → app-dmqcgk4z.js} +5 -5
  128. package/dist/chunks/{model-resolver-dpkg50ah.js → app-dpkg50ah.js} +1 -1
  129. package/dist/chunks/{model-resolver-pnkbpv6t.js → app-dzw83ac5.js} +9 -9
  130. package/dist/chunks/{model-resolver-5gxq0s6y.js → app-e1as76v8.js} +35 -35
  131. package/dist/chunks/{model-resolver-1jj9vxsv.js → app-e1bn0v82.js} +3 -3
  132. package/dist/chunks/{model-resolver-ef5x83kb.js → app-ef5x83kb.js} +1 -1
  133. package/dist/chunks/{model-resolver-3yzzydz0.js → app-eg4w172k.js} +4 -4
  134. package/dist/chunks/{model-resolver-etq0c3wd.js → app-etq0c3wd.js} +1 -1
  135. package/dist/chunks/{model-resolver-9b1bh67j.js → app-ev618wrn.js} +5 -5
  136. package/dist/chunks/{model-resolver-wc21baf5.js → app-ex71f260.js} +24 -24
  137. package/dist/chunks/{model-resolver-b0nz5rd6.js → app-f26q4c2q.js} +17 -17
  138. package/dist/chunks/{model-resolver-rwp39ykb.js → app-f59ep6tb.js} +11 -11
  139. package/dist/chunks/{model-resolver-f75zav2x.js → app-f75zav2x.js} +2 -2
  140. package/dist/chunks/{model-resolver-y18nf7t0.js → app-fgawfjx8.js} +3 -3
  141. package/dist/chunks/{model-resolver-ajft39nq.js → app-fgb4ey1w.js} +4 -4
  142. package/dist/chunks/{model-resolver-7d822byb.js → app-fpecnkgp.js} +5 -5
  143. package/dist/chunks/{model-resolver-0422tdqy.js → app-frtrentt.js} +5 -5
  144. package/dist/chunks/{model-resolver-nsk1prb9.js → app-g35x6qc6.js} +19 -19
  145. package/dist/chunks/{model-resolver-shwq57g0.js → app-gcabepm0.js} +7 -7
  146. package/dist/chunks/{model-resolver-gd4qta3r.js → app-gd4qta3r.js} +1 -1
  147. package/dist/chunks/{model-resolver-k3f304m0.js → app-gey4pgq5.js} +3 -3
  148. package/dist/chunks/{model-resolver-thcxkcch.js → app-gy3hfqwa.js} +11 -11
  149. package/dist/chunks/{model-resolver-vqhepxyf.js → app-h3d1wmv7.js} +32 -32
  150. package/dist/chunks/{model-resolver-h6vf3j39.js → app-h6vf3j39.js} +1 -1
  151. package/dist/chunks/{model-resolver-k9ga8ymg.js → app-h7fgzsk1.js} +13 -13
  152. package/dist/chunks/{model-resolver-v8b1trmq.js → app-h7v41q2b.js} +3 -3
  153. package/dist/chunks/{model-resolver-c0ykhrt2.js → app-hrtswde4.js} +14 -14
  154. package/dist/chunks/app-ht5y0zrb.js +18 -0
  155. package/dist/chunks/{model-resolver-j56e64zr.js → app-j56e64zr.js} +1 -1
  156. package/dist/chunks/{model-resolver-r95z6apf.js → app-j6z9wjgn.js} +16 -16
  157. package/dist/chunks/{model-resolver-dze2gebv.js → app-j9kaagt3.js} +24 -24
  158. package/dist/chunks/{model-resolver-7zkyz21p.js → app-jb7afjsg.js} +6 -6
  159. package/dist/chunks/{model-resolver-ftczs0ph.js → app-jhdanssh.js} +37 -37
  160. package/dist/chunks/{model-resolver-pp4mne8d.js → app-jhs71wy2.js} +25 -25
  161. package/dist/chunks/{model-resolver-71ek9cp3.js → app-jzz42hqp.js} +7 -7
  162. package/dist/chunks/{model-resolver-n37c4crj.js → app-jzzy94zk.js} +9 -9
  163. package/dist/chunks/{model-resolver-re314ab2.js → app-k0j6xj92.js} +75 -75
  164. package/dist/chunks/{model-resolver-rxcdjwh1.js → app-k0nnq3t9.js} +4 -4
  165. package/dist/chunks/{model-resolver-tv2g93x2.js → app-k6pmx2m2.js} +21 -21
  166. package/dist/chunks/{model-resolver-kb9j3d72.js → app-kb9j3d72.js} +3 -3
  167. package/dist/chunks/{model-resolver-kk3g4k48.js → app-kermnw9y.js} +14 -14
  168. package/dist/chunks/{model-resolver-0nvn360z.js → app-kgdwkpsf.js} +11 -11
  169. package/dist/chunks/{model-resolver-b3rdhmww.js → app-m1ay94aq.js} +14 -14
  170. package/dist/chunks/{model-resolver-pw90wh71.js → app-m1mdr3t4.js} +33 -33
  171. package/dist/chunks/{model-resolver-wfyxnnpw.js → app-m2dbveed.js} +13 -13
  172. package/dist/chunks/{model-resolver-m3fdjcah.js → app-m3fdjcah.js} +1 -1
  173. package/dist/chunks/{model-resolver-08q73ng5.js → app-m4y7kpay.js} +10 -10
  174. package/dist/chunks/{model-resolver-2f6g987b.js → app-m500pqbj.js} +162 -162
  175. package/dist/chunks/{model-resolver-pwjc3egg.js → app-m6cy21rm.js} +18 -18
  176. package/dist/chunks/{model-resolver-h3g7c02j.js → app-m6r7asx4.js} +17 -17
  177. package/dist/chunks/{model-resolver-m9w0rfyh.js → app-m9w0rfyh.js} +1 -1
  178. package/dist/chunks/{model-resolver-gph55xgf.js → app-mterk9bb.js} +15 -15
  179. package/dist/chunks/{model-resolver-8kb0e28r.js → app-myrb3mwv.js} +14 -14
  180. package/dist/chunks/{model-resolver-kfh1rvrr.js → app-nda7119r.js} +27 -27
  181. package/dist/chunks/{model-resolver-fjrw4d14.js → app-nj11v1kf.js} +35 -35
  182. package/dist/chunks/{model-resolver-dq0bda3m.js → app-nj38n445.js} +6 -6
  183. package/dist/chunks/{model-resolver-r3yntwzq.js → app-np17306k.js} +8 -8
  184. package/dist/chunks/{model-resolver-bzzc495f.js → app-nx45m9pa.js} +11 -11
  185. package/dist/chunks/{model-resolver-tzm99wp3.js → app-nxh69913.js} +8 -8
  186. package/dist/chunks/{model-resolver-46tb29mf.js → app-nzxj697k.js} +8 -8
  187. package/dist/chunks/{model-resolver-5jjt27vb.js → app-p3c1m468.js} +14 -14
  188. package/dist/chunks/{model-resolver-j5n8pp08.js → app-p944wxep.js} +37 -37
  189. package/dist/chunks/{model-resolver-0bs0xzzs.js → app-pec8ewpc.js} +13 -13
  190. package/dist/chunks/{model-resolver-j8vk2cdy.js → app-pengrcv5.js} +5 -5
  191. package/dist/chunks/{model-resolver-pjvnvgmy.js → app-pjvnvgmy.js} +1 -1
  192. package/dist/chunks/{model-resolver-pknna89w.js → app-pknna89w.js} +1 -1
  193. package/dist/chunks/{model-resolver-kc6s93qx.js → app-pkxfpd18.js} +6 -6
  194. package/dist/chunks/{model-resolver-bd8np6qp.js → app-pn4m98w3.js} +26 -26
  195. package/dist/chunks/{model-resolver-0es0zd3j.js → app-pq2931dk.js} +5 -5
  196. package/dist/chunks/{model-resolver-q0xm7vwc.js → app-q0xm7vwc.js} +2 -2
  197. package/dist/chunks/app-q5hzqnd5.js +507 -0
  198. package/dist/chunks/{model-resolver-qa3qhgw8.js → app-qa3qhgw8.js} +1 -1
  199. package/dist/chunks/{model-resolver-x2g45djb.js → app-qadcnyv9.js} +9 -9
  200. package/dist/chunks/{model-resolver-snnqzhcb.js → app-qcj1qarq.js} +33 -33
  201. package/dist/chunks/{model-resolver-yz0fee1s.js → app-qhyw2gmb.js} +10 -10
  202. package/dist/chunks/{model-resolver-2ck2j4j1.js → app-qk10qjqd.js} +6 -6
  203. package/dist/chunks/{model-resolver-cwa6csj7.js → app-qmqgtz8f.js} +9 -9
  204. package/dist/chunks/{model-resolver-qzpwn43k.js → app-qn9g45dx.js} +4 -4
  205. package/dist/chunks/{model-resolver-qnc92qwc.js → app-qnc92qwc.js} +1 -1
  206. package/dist/chunks/{model-resolver-974xbn4p.js → app-qncy8rqx.js} +31 -31
  207. package/dist/chunks/{model-resolver-qsdy395h.js → app-qsdy395h.js} +1 -1
  208. package/dist/chunks/{model-resolver-n6kkq2ng.js → app-qt4hgj4v.js} +33 -33
  209. package/dist/chunks/{model-resolver-xyafkbt0.js → app-qxjc9qry.js} +3 -3
  210. package/dist/chunks/{model-resolver-e3bfy97n.js → app-qyp7nx31.js} +22 -22
  211. package/dist/chunks/{model-resolver-ec8aqdm6.js → app-qzgv83g8.js} +45 -45
  212. package/dist/chunks/{model-resolver-558ajqy5.js → app-r1vnz2ze.js} +15 -15
  213. package/dist/chunks/{model-resolver-8hbdmjnq.js → app-r2751jnn.js} +67 -67
  214. package/dist/chunks/{model-resolver-va0jwre1.js → app-r2ens31f.js} +22 -22
  215. package/dist/chunks/{model-resolver-z1vm9hqc.js → app-r44petzp.js} +12 -12
  216. package/dist/chunks/{model-resolver-n4kwfwhc.js → app-r71fb6ch.js} +9 -9
  217. package/dist/chunks/{model-resolver-v2d8dwc4.js → app-r8bv4q06.js} +7 -7
  218. package/dist/chunks/{model-resolver-r8xr0va3.js → app-r8xr0va3.js} +1 -1
  219. package/dist/chunks/{model-resolver-rdw6cm16.js → app-rdw6cm16.js} +1 -1
  220. package/dist/chunks/{model-resolver-bzzvw9kc.js → app-rehtxfbe.js} +1 -1
  221. package/dist/chunks/{model-resolver-wzp2zdrd.js → app-rm6wvaj8.js} +16 -16
  222. package/dist/chunks/{model-resolver-cq29va0k.js → app-rvxgx5k2.js} +19 -19
  223. package/dist/chunks/{model-resolver-bmtj8zad.js → app-s8r1bxm7.js} +9 -9
  224. package/dist/chunks/{model-resolver-wecqtg5s.js → app-scgrse2b.js} +5 -5
  225. package/dist/chunks/{model-resolver-qzp699j3.js → app-smzkt4h8.js} +25 -25
  226. package/dist/chunks/{model-resolver-c0y2vens.js → app-sw35smzz.js} +11 -11
  227. package/dist/chunks/{model-resolver-3x6h1yzc.js → app-t9bwbksh.js} +14 -14
  228. package/dist/chunks/{model-resolver-tazgh4e4.js → app-tazgh4e4.js} +1 -1
  229. package/dist/chunks/{model-resolver-3ppptnan.js → app-tcay1cqt.js} +6 -6
  230. package/dist/chunks/{model-resolver-tcezcvh9.js → app-tcezcvh9.js} +1 -1
  231. package/dist/chunks/{model-resolver-tdstcens.js → app-tdstcens.js} +1 -1
  232. package/dist/chunks/{model-resolver-e67gvcg8.js → app-tmkqb4m5.js} +30 -30
  233. package/dist/chunks/{model-resolver-tpw6cwsb.js → app-tpw6cwsb.js} +1 -1
  234. package/dist/chunks/{model-resolver-w06vrs2y.js → app-tx3h7197.js} +4 -4
  235. package/dist/chunks/{model-resolver-de52ckkz.js → app-tx92n959.js} +4 -4
  236. package/dist/chunks/{model-resolver-yfg3b8wm.js → app-vd3r3z5p.js} +3 -3
  237. package/dist/chunks/{model-resolver-veqvce7d.js → app-veqvce7d.js} +1 -1
  238. package/dist/chunks/{model-resolver-cp937pt4.js → app-vfjhn2wd.js} +4 -4
  239. package/dist/chunks/{model-resolver-6ha37qbe.js → app-vhg3kvj9.js} +24 -24
  240. package/dist/chunks/{model-resolver-8egvdccy.js → app-vjmj34bj.js} +11 -11
  241. package/dist/chunks/{model-resolver-0f84emyz.js → app-vm93y64s.js} +25 -25
  242. package/dist/chunks/{model-resolver-sd38pwsj.js → app-vqmv0wny.js} +16 -16
  243. package/dist/chunks/{model-resolver-qthsvwc3.js → app-vs90824y.js} +22 -22
  244. package/dist/chunks/{model-resolver-mtpeagzc.js → app-vx3jgdek.js} +3 -3
  245. package/dist/chunks/{model-resolver-vzs5sf6e.js → app-vzs5sf6e.js} +1 -1
  246. package/dist/chunks/{model-resolver-w3wsvvr9.js → app-w3wsvvr9.js} +1 -1
  247. package/dist/chunks/{model-resolver-mq0f2m57.js → app-w8v7x0t4.js} +8 -8
  248. package/dist/chunks/{model-resolver-8fm7ftfn.js → app-wcy74va6.js} +15 -15
  249. package/dist/chunks/{model-resolver-wd87259q.js → app-wd87259q.js} +1 -1
  250. package/dist/chunks/{model-resolver-9kw8973d.js → app-wdy45rw8.js} +8 -8
  251. package/dist/chunks/{model-resolver-q3h10w5c.js → app-ws6r9wxd.js} +45 -45
  252. package/dist/chunks/{model-resolver-e4knw194.js → app-x1w9s84m.js} +18 -18
  253. package/dist/chunks/{model-resolver-p5a37mby.js → app-x4dkc3v3.js} +9 -9
  254. package/dist/chunks/{model-resolver-fpcgeefe.js → app-x5paqj6j.js} +17 -17
  255. package/dist/chunks/{model-resolver-gqtdsdt7.js → app-x661k3y3.js} +4 -4
  256. package/dist/chunks/app-x82s002v.js +26 -0
  257. package/dist/chunks/{model-resolver-epch8s0x.js → app-x8esnxbb.js} +3 -3
  258. package/dist/chunks/{model-resolver-9s0ehjpm.js → app-xb3m1p56.js} +26 -26
  259. package/dist/chunks/{model-resolver-hjm94w0b.js → app-xbvv70jj.js} +8 -8
  260. package/dist/chunks/{model-resolver-q83407cy.js → app-xc71fexb.js} +14 -14
  261. package/dist/chunks/{model-resolver-w19d8598.js → app-xfkkasph.js} +5 -5
  262. package/dist/chunks/{model-resolver-07nx60wz.js → app-xq7hn9w5.js} +5 -5
  263. package/dist/chunks/{model-resolver-qk7srzz2.js → app-xwwz1fcf.js} +30 -30
  264. package/dist/chunks/{model-resolver-cjw460n3.js → app-xxa9zwx6.js} +17 -17
  265. package/dist/chunks/{model-resolver-y1fvbwt7.js → app-y1fvbwt7.js} +1 -1
  266. package/dist/chunks/{model-resolver-bdd5jqwb.js → app-y9rxzeem.js} +14 -14
  267. package/dist/chunks/{model-resolver-12gfzbq6.js → app-yb20yvhc.js} +13 -13
  268. package/dist/chunks/{model-resolver-85eh7cfy.js → app-ye6d7t69.js} +25 -25
  269. package/dist/chunks/{model-resolver-dx1b2kp7.js → app-ye968f26.js} +29 -29
  270. package/dist/chunks/{model-resolver-gf4q96mg.js → app-yja0z1nt.js} +24 -24
  271. package/dist/chunks/{model-resolver-yjtfa6v9.js → app-ykt494b9.js} +4 -4
  272. package/dist/chunks/{model-resolver-41dwvnwc.js → app-yn6dgm22.js} +11 -11
  273. package/dist/chunks/{model-resolver-32h9x93b.js → app-ynmespmv.js} +48 -48
  274. package/dist/chunks/{model-resolver-gtfqxnbk.js → app-yrzy80wg.js} +12 -12
  275. package/dist/chunks/{model-resolver-bt4mtqh9.js → app-ywe4gqtj.js} +5 -5
  276. package/dist/chunks/{model-resolver-re9ebc67.js → app-yxmqamfs.js} +20 -20
  277. package/dist/chunks/{model-resolver-286yb4sa.js → app-yz1dgv86.js} +1 -1
  278. package/dist/chunks/{model-resolver-z0bkrqjs.js → app-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{model-resolver-k2nq0b80.js → app-z0rw1ncf.js} +23 -23
  280. package/dist/chunks/{model-resolver-1a7kemja.js → app-z6pt0vvw.js} +1 -1
  281. package/dist/chunks/{model-resolver-zr2ceqn5.js → app-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{model-resolver-5hx7d1d6.js → app-zw4pk1bw.js} +5 -5
  283. package/dist/chunks/{model-resolver-zxq2ej10.js → app-zxq2ej10.js} +1 -1
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +11 -11
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +83 -83
  289. package/dist/config/discovery.js +82 -82
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +99 -99
  292. package/dist/config/plugin/agent.js +118 -118
  293. package/dist/config/plugin/command.js +207 -207
  294. package/dist/config/plugin/compaction.js +154 -154
  295. package/dist/config/plugin/compatibility.js +134 -134
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +117 -117
  298. package/dist/config/plugin/image.js +116 -116
  299. package/dist/config/plugin/instruction.js +90 -90
  300. package/dist/config/plugin/location-watcher.js +118 -118
  301. package/dist/config/plugin/mcp.js +125 -125
  302. package/dist/config/plugin/policy.js +117 -117
  303. package/dist/config/plugin/provider.js +116 -116
  304. package/dist/config/plugin/reference.js +118 -118
  305. package/dist/config/plugin/shell.js +118 -118
  306. package/dist/config/plugin/skill-file.js +102 -102
  307. package/dist/config/plugin/skill.js +137 -137
  308. package/dist/config/plugin/snapshot.js +116 -116
  309. package/dist/config/plugin/source.js +119 -119
  310. package/dist/config/plugin/tool-output.js +117 -117
  311. package/dist/config/plugin/websearch.js +117 -117
  312. package/dist/config/plugin/worktree.js +118 -118
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +117 -117
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +85 -85
  318. package/dist/database/database.js +66 -66
  319. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +13 -13
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +14 -14
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  383. package/dist/database/migration.gen.js +49 -49
  384. package/dist/database/migration.js +51 -51
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +76 -76
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +363 -363
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +1 -1
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +93 -93
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +95 -95
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +70 -70
  408. package/dist/file-access.js +104 -104
  409. package/dist/file-mutation.js +94 -94
  410. package/dist/file-retention.js +1 -1
  411. package/dist/filesystem/fff.bun.js +2 -2
  412. package/dist/filesystem/fff.js +1 -1
  413. package/dist/filesystem/fff.node.js +2 -2
  414. package/dist/filesystem/fff.workerd.js +2 -2
  415. package/dist/filesystem/location-watcher-policy.js +6 -6
  416. package/dist/filesystem/location-watcher.js +220 -220
  417. package/dist/filesystem/protected.js +1 -1
  418. package/dist/filesystem/search.js +93 -93
  419. package/dist/filesystem/watcher-binding.js +1 -1
  420. package/dist/filesystem/watcher.js +11 -11
  421. package/dist/filesystem.js +94 -94
  422. package/dist/form.js +86 -86
  423. package/dist/formatter/builtins.js +4 -4
  424. package/dist/formatter.js +87 -87
  425. package/dist/generate.js +105 -105
  426. package/dist/git.js +10 -10
  427. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  428. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  429. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  431. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  433. package/dist/github-copilot/copilot-provider.js +17 -17
  434. package/dist/github-copilot/models.js +91 -91
  435. package/dist/github-copilot/openai-compatible-error.js +1 -1
  436. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  437. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  438. package/dist/github-copilot/responses/openai-error.js +1 -1
  439. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  440. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  441. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  442. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  443. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  444. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  446. package/dist/image/photon.js +2 -2
  447. package/dist/image.js +6 -6
  448. package/dist/instance/service.js +5 -5
  449. package/dist/instance.js +354 -354
  450. package/dist/instruction-discovery.js +85 -85
  451. package/dist/instructions/builtins.js +85 -85
  452. package/dist/instructions/index.js +5 -5
  453. package/dist/integration/connection.js +3 -3
  454. package/dist/integration.js +87 -87
  455. package/dist/job.js +76 -76
  456. package/dist/kv/sql.js +2 -2
  457. package/dist/kv.js +73 -73
  458. package/dist/location-activity.js +131 -131
  459. package/dist/location-lifecycle.js +107 -107
  460. package/dist/location-service-map.js +86 -86
  461. package/dist/location-services.js +351 -351
  462. package/dist/location.js +85 -85
  463. package/dist/managed-policy.js +5 -5
  464. package/dist/mcp/client.js +91 -91
  465. package/dist/mcp/index.js +103 -103
  466. package/dist/mcp/instructions.js +129 -129
  467. package/dist/mcp/oauth.js +78 -78
  468. package/dist/mcp/stdio.js +90 -90
  469. package/dist/mime.js +1 -1
  470. package/dist/modal/models.js +91 -91
  471. package/dist/model-resolver.js +98 -98
  472. package/dist/model.js +94 -94
  473. package/dist/models-dev.js +105 -105
  474. package/dist/oauth/page.js +1 -1
  475. package/dist/permission/saved.js +82 -82
  476. package/dist/permission/sql.js +5 -5
  477. package/dist/permission.js +111 -111
  478. package/dist/persistent-pty/binary.bun.js +1 -1
  479. package/dist/persistent-pty/daemon.js +1 -1
  480. package/dist/persistent-pty/index.js +88 -88
  481. package/dist/persistent-pty/pty-binding.js +1 -1
  482. package/dist/persistent-pty.js +75 -75
  483. package/dist/plugin/agent.js +104 -104
  484. package/dist/plugin/command.js +102 -102
  485. package/dist/plugin/hooks.js +5 -5
  486. package/dist/plugin/host.js +211 -211
  487. package/dist/plugin/identity.js +3 -3
  488. package/dist/plugin/instance.js +1 -1
  489. package/dist/plugin/internal.js +326 -326
  490. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  491. package/dist/plugin/models-dev.js +96 -96
  492. package/dist/plugin/module.js +7 -7
  493. package/dist/plugin/optimize.js +4 -4
  494. package/dist/plugin/plan.js +102 -102
  495. package/dist/plugin/promise.js +1 -1
  496. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  497. package/dist/plugin/provider/azure.js +115 -115
  498. package/dist/plugin/provider/cerebras.js +1 -1
  499. package/dist/plugin/provider/chatgpt.js +93 -93
  500. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  501. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  502. package/dist/plugin/provider/cohere.js +2 -2
  503. package/dist/plugin/provider/configured.js +112 -112
  504. package/dist/plugin/provider/digitalocean.js +93 -93
  505. package/dist/plugin/provider/dynamic.js +2 -2
  506. package/dist/plugin/provider/factory.js +1 -1
  507. package/dist/plugin/provider/github-copilot.js +95 -95
  508. package/dist/plugin/provider/gitlab.js +93 -93
  509. package/dist/plugin/provider/google-vertex.js +90 -90
  510. package/dist/plugin/provider/kilo.js +1 -1
  511. package/dist/plugin/provider/llmgateway.js +78 -78
  512. package/dist/plugin/provider/lmstudio.js +116 -116
  513. package/dist/plugin/provider/local.js +113 -113
  514. package/dist/plugin/provider/modal.js +92 -92
  515. package/dist/plugin/provider/nvidia.js +1 -1
  516. package/dist/plugin/provider/ollama.js +116 -116
  517. package/dist/plugin/provider/openai.js +95 -95
  518. package/dist/plugin/provider/opencode.js +96 -96
  519. package/dist/plugin/provider/openrouter.js +91 -91
  520. package/dist/plugin/provider/perplexity.js +2 -2
  521. package/dist/plugin/provider/poe.js +79 -79
  522. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  523. package/dist/plugin/provider/sap-ai-core.js +91 -91
  524. package/dist/plugin/provider/sdk-factory.js +1 -1
  525. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  526. package/dist/plugin/provider/vercel.js +90 -90
  527. package/dist/plugin/provider/vllm.js +114 -114
  528. package/dist/plugin/provider/xai.js +91 -91
  529. package/dist/plugin/provider/zenmux.js +1 -1
  530. package/dist/plugin/provider.js +155 -155
  531. package/dist/plugin/sdk.js +76 -76
  532. package/dist/plugin/service.js +3 -3
  533. package/dist/plugin/skill.js +132 -132
  534. package/dist/plugin/source-directory.js +1 -1
  535. package/dist/plugin/supervisor.js +343 -343
  536. package/dist/plugin/tool-input-repair.js +4 -4
  537. package/dist/plugin/update.js +6 -6
  538. package/dist/plugin/vcs/git.js +86 -86
  539. package/dist/plugin/vcs/hg.js +86 -86
  540. package/dist/plugin/verbosity.js +93 -93
  541. package/dist/plugin/warming.js +114 -114
  542. package/dist/plugin/websearch/exa.js +7 -7
  543. package/dist/plugin/websearch/firecrawl.js +6 -6
  544. package/dist/plugin/websearch/index.js +9 -9
  545. package/dist/plugin/websearch/mcp.js +6 -6
  546. package/dist/plugin/websearch/parallel.js +6 -6
  547. package/dist/plugin/websearch/tavily.js +6 -6
  548. package/dist/plugin/websearch/tinyfish.js +8 -8
  549. package/dist/plugin.js +216 -216
  550. package/dist/project/schema.js +4 -4
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +84 -84
  553. package/dist/provider.js +101 -101
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/ticket.js +1 -1
  556. package/dist/pty.js +97 -97
  557. package/dist/reference/instructions.js +89 -89
  558. package/dist/reference.js +89 -89
  559. package/dist/repository-cache.js +81 -81
  560. package/dist/repository.js +1 -1
  561. package/dist/ripgrep/binary.js +2 -2
  562. package/dist/ripgrep.js +95 -95
  563. package/dist/rpc.js +86 -86
  564. package/dist/schema.js +1 -1
  565. package/dist/session/affinity.js +1 -1
  566. package/dist/session/command.js +74 -74
  567. package/dist/session/compaction.js +133 -133
  568. package/dist/session/context.js +151 -151
  569. package/dist/session/diff.js +88 -88
  570. package/dist/session/environment.js +1 -1
  571. package/dist/session/error.js +5 -5
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +211 -211
  574. package/dist/session/execution.js +127 -127
  575. package/dist/session/generate.js +154 -154
  576. package/dist/session/history.js +13 -13
  577. package/dist/session/inbox.js +86 -86
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +79 -79
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +97 -97
  582. package/dist/session/message-updater.js +4 -4
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +120 -120
  585. package/dist/session/model-transport.js +9 -9
  586. package/dist/session/move.js +125 -125
  587. package/dist/session/projector.js +86 -86
  588. package/dist/session/prompt.js +105 -105
  589. package/dist/session/provider-context.js +3 -3
  590. package/dist/session/revert.js +90 -90
  591. package/dist/session/run-coordinator.js +1 -1
  592. package/dist/session/runner/index.js +3 -3
  593. package/dist/session/runner/llm.js +224 -224
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +98 -98
  596. package/dist/session/runner/publish-llm-event.js +113 -113
  597. package/dist/session/runner/retry.js +4 -4
  598. package/dist/session/runner/step.js +123 -123
  599. package/dist/session/runner/to-llm-message.js +2 -2
  600. package/dist/session/schema.js +5 -5
  601. package/dist/session/session.js +164 -164
  602. package/dist/session/shell.js +130 -130
  603. package/dist/session/skill.js +103 -103
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +73 -73
  606. package/dist/session/store.js +87 -87
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +203 -203
  609. package/dist/session/system-prompt.js +3 -3
  610. package/dist/session/title.js +155 -155
  611. package/dist/session/to-session-error.js +111 -111
  612. package/dist/session/transfer.js +207 -207
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +205 -205
  615. package/dist/shell/parse.js +6 -6
  616. package/dist/shell/result.js +1 -1
  617. package/dist/shell/scan.js +1 -1
  618. package/dist/shell/select.js +13 -13
  619. package/dist/shell.js +128 -128
  620. package/dist/skill/discovery.js +6 -6
  621. package/dist/skill/instructions.js +107 -107
  622. package/dist/skill.js +112 -112
  623. package/dist/snapshot.js +91 -91
  624. package/dist/state.js +1 -1
  625. package/dist/tool/html-markdown.js +1 -1
  626. package/dist/tool/http-body.js +1 -1
  627. package/dist/tool/mcp.js +128 -128
  628. package/dist/tool/plugin/edit.js +120 -120
  629. package/dist/tool/plugin/file-diff.js +1 -1
  630. package/dist/tool/plugin/glob.js +124 -124
  631. package/dist/tool/plugin/grep.js +124 -124
  632. package/dist/tool/plugin/mcp-resource.js +117 -117
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +122 -122
  635. package/dist/tool/plugin/question.js +105 -105
  636. package/dist/tool/plugin/read.js +119 -119
  637. package/dist/tool/plugin/shell.js +210 -210
  638. package/dist/tool/plugin/skill.js +111 -111
  639. package/dist/tool/plugin/subagent.js +206 -206
  640. package/dist/tool/plugin/webfetch.js +112 -112
  641. package/dist/tool/plugin/websearch.js +112 -112
  642. package/dist/tool/plugin/write.js +116 -116
  643. package/dist/tool/read-filesystem.js +100 -100
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +7 -7
  646. package/dist/tool.js +12 -12
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/git-executable.js +2 -2
  650. package/dist/util/iife.js +1 -1
  651. package/dist/util/lazy.js +1 -1
  652. package/dist/util/slug.js +1 -1
  653. package/dist/util/token.js +1 -1
  654. package/dist/util/which.js +1 -1
  655. package/dist/util/wildcard.js +1 -1
  656. package/dist/v1/config/agent.js +5 -5
  657. package/dist/v1/config/command.js +1 -1
  658. package/dist/v1/config/error.js +2 -2
  659. package/dist/v1/config/mcp.js +4 -4
  660. package/dist/v1/config/migrate.js +92 -92
  661. package/dist/v1/config/permission.js +3 -3
  662. package/dist/v1/config/plugin.js +3 -3
  663. package/dist/v1/config/provider-options.js +1 -1
  664. package/dist/v1/config/provider.js +4 -4
  665. package/dist/variant.js +91 -91
  666. package/dist/vcs/patch.js +1 -1
  667. package/dist/vcs.js +89 -89
  668. package/dist/websearch.js +84 -84
  669. package/dist/wellknown/plugin.js +76 -76
  670. package/dist/wellknown.js +79 -79
  671. package/dist/workspace/driver.js +3 -3
  672. package/dist/workspace/sql.js +1 -1
  673. package/dist/workspace.js +78 -78
  674. package/dist/worktree/directory.js +2 -2
  675. package/dist/worktree/git.js +10 -10
  676. package/dist/worktree/sql.js +5 -5
  677. package/dist/worktree/strategies.js +89 -89
  678. package/dist/worktree.js +96 -96
  679. package/package.json +8 -8
  680. package/dist/chunks/model-resolver-6rhw05qy.js +0 -26
  681. package/dist/chunks/model-resolver-c5kr06rn.js +0 -507
  682. package/dist/chunks/model-resolver-q509s3k3.js +0 -18
  683. package/dist/chunks/model-resolver-zfywewcm.js +0 -253
  684. /package/dist/chunks/{model-resolver-0qkdqm5v.js → app-0qkdqm5v.js} +0 -0
  685. /package/dist/chunks/{model-resolver-0zkw76rk.js → app-0zkw76rk.js} +0 -0
  686. /package/dist/chunks/{model-resolver-17cy0kzp.js → app-17cy0kzp.js} +0 -0
  687. /package/dist/chunks/{model-resolver-1cnp2v09.js → app-1cnp2v09.js} +0 -0
  688. /package/dist/chunks/{model-resolver-1kg9ymc8.js → app-1kg9ymc8.js} +0 -0
  689. /package/dist/chunks/{model-resolver-24dcb14g.js → app-24dcb14g.js} +0 -0
  690. /package/dist/chunks/{model-resolver-2710q6r3.js → app-2710q6r3.js} +0 -0
  691. /package/dist/chunks/{model-resolver-2axfhc9x.js → app-2axfhc9x.js} +0 -0
  692. /package/dist/chunks/{model-resolver-2c3vjs8z.js → app-2c3vjs8z.js} +0 -0
  693. /package/dist/chunks/{model-resolver-34c7v6d4.js → app-34c7v6d4.js} +0 -0
  694. /package/dist/chunks/{model-resolver-359p4xyc.js → app-359p4xyc.js} +0 -0
  695. /package/dist/chunks/{model-resolver-3asan66x.js → app-3asan66x.js} +0 -0
  696. /package/dist/chunks/{model-resolver-3t0ybcrp.js → app-3t0ybcrp.js} +0 -0
  697. /package/dist/chunks/{model-resolver-3v8g72cx.js → app-3v8g72cx.js} +0 -0
  698. /package/dist/chunks/{model-resolver-3w5fmr99.js → app-3w5fmr99.js} +0 -0
  699. /package/dist/chunks/{model-resolver-3wcehsnq.js → app-3wcehsnq.js} +0 -0
  700. /package/dist/chunks/{model-resolver-43n2bw4t.js → app-43n2bw4t.js} +0 -0
  701. /package/dist/chunks/{model-resolver-4knz6hnm.js → app-4knz6hnm.js} +0 -0
  702. /package/dist/chunks/{model-resolver-4vcrnpx2.js → app-4vcrnpx2.js} +0 -0
  703. /package/dist/chunks/{model-resolver-4y7fprxs.js → app-4y7fprxs.js} +0 -0
  704. /package/dist/chunks/{model-resolver-53557ph1.js → app-53557ph1.js} +0 -0
  705. /package/dist/chunks/{model-resolver-550bvhaj.js → app-550bvhaj.js} +0 -0
  706. /package/dist/chunks/{model-resolver-5qd3pb7m.js → app-5qd3pb7m.js} +0 -0
  707. /package/dist/chunks/{model-resolver-6prwharc.js → app-6prwharc.js} +0 -0
  708. /package/dist/chunks/{model-resolver-6q2bdcd1.js → app-6q2bdcd1.js} +0 -0
  709. /package/dist/chunks/{model-resolver-7akdwqpd.js → app-7akdwqpd.js} +0 -0
  710. /package/dist/chunks/{model-resolver-7m9af43g.js → app-7m9af43g.js} +0 -0
  711. /package/dist/chunks/{model-resolver-822emrt2.js → app-822emrt2.js} +0 -0
  712. /package/dist/chunks/{model-resolver-88xbtdfr.js → app-88xbtdfr.js} +0 -0
  713. /package/dist/chunks/{model-resolver-8n3pysct.js → app-8n3pysct.js} +0 -0
  714. /package/dist/chunks/{model-resolver-8wj87zfr.js → app-8wj87zfr.js} +0 -0
  715. /package/dist/chunks/{model-resolver-9a4afbnw.js → app-9a4afbnw.js} +0 -0
  716. /package/dist/chunks/{model-resolver-9rqn6x4v.js → app-9rqn6x4v.js} +0 -0
  717. /package/dist/chunks/{model-resolver-a6k6eb26.js → app-a6k6eb26.js} +0 -0
  718. /package/dist/chunks/{model-resolver-af5trqkr.js → app-af5trqkr.js} +0 -0
  719. /package/dist/chunks/{model-resolver-afrmfg78.js → app-afrmfg78.js} +0 -0
  720. /package/dist/chunks/{model-resolver-aqzs7mqg.js → app-aqzs7mqg.js} +0 -0
  721. /package/dist/chunks/{model-resolver-atq7p7m5.js → app-atq7p7m5.js} +0 -0
  722. /package/dist/chunks/{model-resolver-bkyjaxrp.js → app-bkyjaxrp.js} +0 -0
  723. /package/dist/chunks/{model-resolver-bmr6ed5q.js → app-bmr6ed5q.js} +0 -0
  724. /package/dist/chunks/{model-resolver-cf4snx6d.js → app-cf4snx6d.js} +0 -0
  725. /package/dist/chunks/{model-resolver-cvy3z8tj.js → app-cvy3z8tj.js} +0 -0
  726. /package/dist/chunks/{model-resolver-d9fn303g.js → app-d9fn303g.js} +0 -0
  727. /package/dist/chunks/{model-resolver-d9jj8t3e.js → app-d9jj8t3e.js} +0 -0
  728. /package/dist/chunks/{model-resolver-dajrwvna.js → app-dajrwvna.js} +0 -0
  729. /package/dist/chunks/{model-resolver-dap0rakb.js → app-dap0rakb.js} +0 -0
  730. /package/dist/chunks/{model-resolver-df08tz66.js → app-df08tz66.js} +0 -0
  731. /package/dist/chunks/{model-resolver-dy18nga0.js → app-dy18nga0.js} +0 -0
  732. /package/dist/chunks/{model-resolver-e5kj55wp.js → app-e5kj55wp.js} +0 -0
  733. /package/dist/chunks/{model-resolver-e73j6tqm.js → app-e73j6tqm.js} +0 -0
  734. /package/dist/chunks/{model-resolver-ec1grn59.js → app-ec1grn59.js} +0 -0
  735. /package/dist/chunks/{model-resolver-eh3zwz77.js → app-eh3zwz77.js} +0 -0
  736. /package/dist/chunks/{model-resolver-emrn6kk6.js → app-emrn6kk6.js} +0 -0
  737. /package/dist/chunks/{model-resolver-f0mxakyp.js → app-f0mxakyp.js} +0 -0
  738. /package/dist/chunks/{model-resolver-f6n9ztr4.js → app-f6n9ztr4.js} +0 -0
  739. /package/dist/chunks/{model-resolver-faypxj3z.js → app-faypxj3z.js} +0 -0
  740. /package/dist/chunks/{model-resolver-fd410y7t.js → app-fd410y7t.js} +0 -0
  741. /package/dist/chunks/{model-resolver-fxgpk5d8.js → app-fxgpk5d8.js} +0 -0
  742. /package/dist/chunks/{model-resolver-g4wezp1m.js → app-g4wezp1m.js} +0 -0
  743. /package/dist/chunks/{model-resolver-g86h250q.js → app-g86h250q.js} +0 -0
  744. /package/dist/chunks/{model-resolver-gebd4c9n.js → app-gebd4c9n.js} +0 -0
  745. /package/dist/chunks/{model-resolver-gftt206x.js → app-gftt206x.js} +0 -0
  746. /package/dist/chunks/{model-resolver-hk9envan.js → app-hk9envan.js} +0 -0
  747. /package/dist/chunks/{model-resolver-j2ntwpah.js → app-j2ntwpah.js} +0 -0
  748. /package/dist/chunks/{model-resolver-j5zkgpj8.js → app-j5zkgpj8.js} +0 -0
  749. /package/dist/chunks/{model-resolver-jjkms2e6.js → app-jjkms2e6.js} +0 -0
  750. /package/dist/chunks/{model-resolver-jr7sbwjy.js → app-jr7sbwjy.js} +0 -0
  751. /package/dist/chunks/{model-resolver-jwfs4k6c.js → app-jwfs4k6c.js} +0 -0
  752. /package/dist/chunks/{model-resolver-jzg6c2d5.js → app-jzg6c2d5.js} +0 -0
  753. /package/dist/chunks/{model-resolver-mp448xyj.js → app-mp448xyj.js} +0 -0
  754. /package/dist/chunks/{model-resolver-msx8hqn2.js → app-msx8hqn2.js} +0 -0
  755. /package/dist/chunks/{model-resolver-n05xt0ee.js → app-n05xt0ee.js} +0 -0
  756. /package/dist/chunks/{model-resolver-n3j8tn72.js → app-n3j8tn72.js} +0 -0
  757. /package/dist/chunks/{model-resolver-njntx4h6.js → app-njntx4h6.js} +0 -0
  758. /package/dist/chunks/{model-resolver-q3sfg36h.js → app-q3sfg36h.js} +0 -0
  759. /package/dist/chunks/{model-resolver-q74kybfr.js → app-q74kybfr.js} +0 -0
  760. /package/dist/chunks/{model-resolver-qaymkmh1.js → app-qaymkmh1.js} +0 -0
  761. /package/dist/chunks/{model-resolver-qb87gjwd.js → app-qb87gjwd.js} +0 -0
  762. /package/dist/chunks/{model-resolver-qfa1cgps.js → app-qfa1cgps.js} +0 -0
  763. /package/dist/chunks/{model-resolver-qg3g05ea.js → app-qg3g05ea.js} +0 -0
  764. /package/dist/chunks/{model-resolver-qrg20bc0.js → app-qrg20bc0.js} +0 -0
  765. /package/dist/chunks/{model-resolver-rcb2kzg1.js → app-rcb2kzg1.js} +0 -0
  766. /package/dist/chunks/{model-resolver-sdp7kfr6.js → app-sdp7kfr6.js} +0 -0
  767. /package/dist/chunks/{model-resolver-ssg3fenm.js → app-ssg3fenm.js} +0 -0
  768. /package/dist/chunks/{model-resolver-w803qqfp.js → app-w803qqfp.js} +0 -0
  769. /package/dist/chunks/{model-resolver-wc3fc9cn.js → app-wc3fc9cn.js} +0 -0
  770. /package/dist/chunks/{model-resolver-wer8tq1h.js → app-wer8tq1h.js} +0 -0
  771. /package/dist/chunks/{model-resolver-wtztk69x.js → app-wtztk69x.js} +0 -0
  772. /package/dist/chunks/{model-resolver-x0ckcb58.js → app-x0ckcb58.js} +0 -0
  773. /package/dist/chunks/{model-resolver-x61499pn.js → app-x61499pn.js} +0 -0
  774. /package/dist/chunks/{model-resolver-y44na4kk.js → app-y44na4kk.js} +0 -0
  775. /package/dist/chunks/{model-resolver-y8cydn3q.js → app-y8cydn3q.js} +0 -0
  776. /package/dist/chunks/{model-resolver-y8f7s663.js → app-y8f7s663.js} +0 -0
  777. /package/dist/chunks/{model-resolver-ygaqb7jw.js → app-ygaqb7jw.js} +0 -0
  778. /package/dist/chunks/{model-resolver-ym463w8f.js → app-ym463w8f.js} +0 -0
  779. /package/dist/chunks/{model-resolver-z5v4ffb3.js → app-z5v4ffb3.js} +0 -0
  780. /package/dist/chunks/{model-resolver-z9919s4g.js → app-z9919s4g.js} +0 -0
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./model-resolver-z5v4ffb3.js";
3
+ } from "./app-z5v4ffb3.js";
4
4
  import {
5
- Service78
6
- } from "./model-resolver-3x6h1yzc.js";
5
+ Service79
6
+ } from "./app-t9bwbksh.js";
7
7
  import {
8
- Service44
9
- } from "./model-resolver-wzp2zdrd.js";
8
+ Service42
9
+ } from "./app-rm6wvaj8.js";
10
10
  import {
11
- Service9
12
- } from "./model-resolver-cq29va0k.js";
11
+ Service6
12
+ } from "./app-rvxgx5k2.js";
13
13
  import {
14
14
  NotFound2
15
- } from "./model-resolver-2a5m3afh.js";
15
+ } from "./app-2a5m3afh.js";
16
16
  import {
17
17
  MEDIA_MIMES2,
18
18
  BinaryFileError2,
@@ -23,17 +23,17 @@ import {
23
23
  FileContent2,
24
24
  TextPage2,
25
25
  ListPage2,
26
- Service10
27
- } from "./model-resolver-vgz6x7va.js";
26
+ Service5
27
+ } from "./app-6fnv26db.js";
28
28
  import {
29
29
  __export
30
- } from "./model-resolver-9rqn6x4v.js";
30
+ } from "./app-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/read.ts
33
33
  var exports_read = {};
34
34
  __export(exports_read, {
35
35
  Input: () => Input7,
36
- Plugin: () => Plugin43,
36
+ Plugin: () => Plugin8,
37
37
  ReadTool: () => exports_read,
38
38
  name: () => name7,
39
39
  toModelContent: () => toModelContent5
@@ -55,14 +55,14 @@ var LocationInput = Schema.Struct({
55
55
  });
56
56
  var Input7 = LocationInput;
57
57
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
58
- var Plugin43 = {
58
+ var Plugin8 = {
59
59
  id: "opencode.tool.read",
60
60
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
61
- const reader = yield* Service10;
62
- const access = yield* Service44;
63
- const sessionInstructions = yield* Service9;
61
+ const reader = yield* Service5;
62
+ const access = yield* Service42;
63
+ const sessionInstructions = yield* Service6;
64
64
  const fs = yield* FSUtil.Service;
65
- const location = yield* Service78;
65
+ const location = yield* Service79;
66
66
  yield* ctx.tool.transform((editor) => editor.add({
67
67
  name: name7,
68
68
  options: { codemode: false },
@@ -182,4 +182,4 @@ var toModelContent5 = (path, offset, output) => {
182
182
  `);
183
183
  };
184
184
 
185
- export { name7, Input7, Plugin43, toModelContent5, exports_read };
185
+ export { name7, Input7, Plugin8, toModelContent5, exports_read };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./model-resolver-z5v4ffb3.js";
3
+ } from "./app-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./model-resolver-9rqn6x4v.js";
6
+ } from "./app-9rqn6x4v.js";
7
7
 
8
8
  // src/skill/discovery.ts
9
9
  var exports_discovery = {};
10
10
  __export(exports_discovery, {
11
- Service: () => Service8,
11
+ Service: () => Service11,
12
12
  SkillDiscovery: () => exports_discovery,
13
- node: () => node10
13
+ node: () => node13
14
14
  });
15
15
  import path from "path";
16
16
  import { Context, Effect, Layer, Schedule, Schema } from "effect";
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
48
48
  }) {
49
49
  }
50
50
 
51
- class Service8 extends Context.Service()("@opencode/SkillDiscovery") {
51
+ class Service11 extends Context.Service()("@opencode/SkillDiscovery") {
52
52
  }
53
- var layer = Layer.effect(Service8, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service11, Effect.gen(function* () {
54
54
  const fs = yield* FSUtil.Service;
55
55
  const global = yield* Global.Service;
56
56
  const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service8, Effect.gen(function* () {
63
63
  return true;
64
64
  return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
65
65
  });
66
- return Service8.of({
66
+ return Service11.of({
67
67
  pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
68
68
  const base = url.endsWith("/") ? url : `${url}/`;
69
69
  const source = new URL(base);
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service8, Effect.gen(function* () {
150
150
  })
151
151
  });
152
152
  }));
153
- var node10 = makeGlobalNode({ service: Service8, layer, deps: [httpClient, FSUtil.node, Global.node] });
153
+ var node13 = makeGlobalNode({ service: Service11, layer, deps: [httpClient, FSUtil.node, Global.node] });
154
154
 
155
- export { Service8, node10, exports_discovery };
155
+ export { Service11, node13, exports_discovery };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  which2
3
- } from "./model-resolver-qaymkmh1.js";
3
+ } from "./app-qaymkmh1.js";
4
4
 
5
5
  // src/ripgrep/binary.ts
6
6
  import path from "path";
@@ -1,9 +1,9 @@
1
1
  import {
2
- render2
3
- } from "./model-resolver-w19d8598.js";
2
+ render3
3
+ } from "./app-xfkkasph.js";
4
4
  import {
5
5
  __export
6
- } from "./model-resolver-9rqn6x4v.js";
6
+ } from "./app-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/optimize.ts
9
9
  var exports_optimize = {};
@@ -13,7 +13,7 @@ __export(exports_optimize, {
13
13
  ArceePlugin: () => ArceePlugin2,
14
14
  KimiPlugin: () => KimiPlugin2,
15
15
  MetaPlugin: () => MetaPlugin2,
16
- OpenAIPlugin: () => OpenAIPlugin3,
16
+ OpenAIPlugin: () => OpenAIPlugin2,
17
17
  OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
18
18
  OptimizePlugin: () => exports_optimize,
19
19
  Plugins: () => Plugins2
@@ -374,7 +374,7 @@ By default, match the surrounding comment density: where the code has none, add
374
374
  `;
375
375
 
376
376
  // src/plugin/optimize.ts
377
- var OpenAIPlugin3 = make("opencode.prompt.openai", (model) => {
377
+ var OpenAIPlugin2 = make("opencode.prompt.openai", (model) => {
378
378
  const id = model.id.toLowerCase();
379
379
  if (!id.includes("gpt"))
380
380
  return;
@@ -409,7 +409,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
409
409
  return;
410
410
  return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
411
411
  });
412
- var Plugins2 = [OpenAIPlugin3, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
412
+ var Plugins2 = [OpenAIPlugin2, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
413
413
  function make(id, optimize, mode = "override") {
414
414
  return define({
415
415
  id,
@@ -424,7 +424,7 @@ function make(id, optimize, mode = "override") {
424
424
  const system = event.system[0];
425
425
  if (!system)
426
426
  return;
427
- const rendered = render2(template, Object.keys(event.tools));
427
+ const rendered = render3(template, Object.keys(event.tools));
428
428
  const text = mode === "append" ? `${system.text}
429
429
 
430
430
  ${rendered}` : rendered;
@@ -437,4 +437,4 @@ ${rendered}` : rendered;
437
437
  });
438
438
  }
439
439
 
440
- export { OpenAIPlugin3, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
440
+ export { OpenAIPlugin2, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  call2
3
- } from "./model-resolver-mfqp6xfm.js";
3
+ } from "./app-33w4ejhs.js";
4
4
  import {
5
5
  __export
6
- } from "./model-resolver-9rqn6x4v.js";
6
+ } from "./app-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/exa.ts
9
9
  var exports_exa = {};
10
10
  __export(exports_exa, {
11
- Plugin: () => Plugin25,
11
+ Plugin: () => Plugin22,
12
12
  WebSearchExa: () => exports_exa,
13
- endpoint: () => endpoint6
13
+ endpoint: () => endpoint5
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 endpoint6 = "https://mcp.exa.ai/mcp";
18
+ var endpoint5 = "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 Plugin25 = define({
30
+ var Plugin22 = 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 Plugin25 = 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(endpoint6);
52
+ const url = new URL(endpoint5);
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 { endpoint6, Plugin25, exports_exa };
83
+ export { endpoint5, Plugin22, exports_exa };
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  Service84
3
- } from "./model-resolver-5mwnvj5n.js";
3
+ } from "./app-c4e8pskq.js";
4
4
  import {
5
5
  Service83
6
- } from "./model-resolver-qzpwn43k.js";
6
+ } from "./app-qn9g45dx.js";
7
7
  import {
8
- Service40
9
- } from "./model-resolver-3ppptnan.js";
8
+ Service48
9
+ } from "./app-tcay1cqt.js";
10
10
  import {
11
11
  RelativePath2
12
- } from "./model-resolver-z5v4ffb3.js";
12
+ } from "./app-z5v4ffb3.js";
13
13
  import {
14
- ID6,
15
- Service52
16
- } from "./model-resolver-85eh7cfy.js";
14
+ ID5,
15
+ Service43
16
+ } from "./app-ye6d7t69.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./model-resolver-ec1grn59.js";
19
+ } from "./app-ec1grn59.js";
20
20
  import {
21
21
  SessionMessage2
22
- } from "./model-resolver-gftt206x.js";
22
+ } from "./app-gftt206x.js";
23
23
  import {
24
24
  MessageNotFoundError2
25
- } from "./model-resolver-xcgyncvr.js";
25
+ } from "./app-bsprd9wx.js";
26
26
  import {
27
27
  SessionMessageTable2
28
- } from "./model-resolver-kb9j3d72.js";
28
+ } from "./app-kb9j3d72.js";
29
29
  import {
30
30
  __export
31
- } from "./model-resolver-9rqn6x4v.js";
31
+ } from "./app-9rqn6x4v.js";
32
32
 
33
33
  // src/session/revert.ts
34
34
  var exports_revert = {};
@@ -41,12 +41,12 @@ __export(exports_revert, {
41
41
  import { and, asc, eq, gt } from "drizzle-orm";
42
42
  import { Effect, Schema } from "effect";
43
43
  var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
44
- const instances = yield* Service40;
44
+ const instances = yield* Service48;
45
45
  const database = yield* Service84;
46
46
  const bus = yield* Service83;
47
47
  return yield* Effect.gen(function* () {
48
- const snapshot = yield* Service52;
49
- const original = input.session.revert?.snapshot ? ID6.make(input.session.revert.snapshot) : yield* snapshot.capture();
48
+ const snapshot = yield* Service43;
49
+ const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
50
50
  const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
51
51
  const restore = new Map;
52
52
  if (original) {
@@ -73,13 +73,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
73
73
  }).pipe(instances.provide(input.session));
74
74
  });
75
75
  var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
76
- const instances = yield* Service40;
76
+ const instances = yield* Service48;
77
77
  const bus = yield* Service83;
78
78
  yield* Effect.gen(function* () {
79
- const snapshot = yield* Service52;
79
+ const snapshot = yield* Service43;
80
80
  if (!session.revert)
81
81
  return;
82
- const original = session.revert.snapshot ? ID6.make(session.revert.snapshot) : undefined;
82
+ const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
83
83
  if (original)
84
84
  yield* snapshot.restore({
85
85
  files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
@@ -110,7 +110,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
110
110
  continue;
111
111
  for (const file of message.snapshot.files ?? [])
112
112
  if (!files.has(file))
113
- files.set(file, ID6.make(message.snapshot.start));
113
+ files.set(file, ID5.make(message.snapshot.start));
114
114
  }
115
115
  return files;
116
116
  });
@@ -0,0 +1,253 @@
1
+ import {
2
+ node86
3
+ } from "./app-bz46fwta.js";
4
+ import {
5
+ node82
6
+ } from "./app-xb3m1p56.js";
7
+ import {
8
+ node80
9
+ } from "./app-5ntmp6zc.js";
10
+ import {
11
+ node83,
12
+ boundNode2
13
+ } from "./app-t9bwbksh.js";
14
+ import {
15
+ node79
16
+ } from "./app-1kr92pjq.js";
17
+ import {
18
+ node71
19
+ } from "./app-yn6dgm22.js";
20
+ import {
21
+ node66
22
+ } from "./app-r2ens31f.js";
23
+ import {
24
+ node40
25
+ } from "./app-4tp5hkr9.js";
26
+ import {
27
+ configured7,
28
+ node60
29
+ } from "./app-p944wxep.js";
30
+ import {
31
+ node63
32
+ } from "./app-bbqm5gby.js";
33
+ import {
34
+ node53
35
+ } from "./app-37eb9j4g.js";
36
+ import {
37
+ node18
38
+ } from "./app-mterk9bb.js";
39
+ import {
40
+ node16
41
+ } from "./app-kermnw9y.js";
42
+ import {
43
+ DirectoryNotFoundError2,
44
+ node15
45
+ } from "./app-w8v7x0t4.js";
46
+ import {
47
+ node55
48
+ } from "./app-jhdanssh.js";
49
+ import {
50
+ node20
51
+ } from "./app-smzkt4h8.js";
52
+ import {
53
+ node54
54
+ } from "./app-dzw83ac5.js";
55
+ import {
56
+ node31
57
+ } from "./app-10bgj2qs.js";
58
+ import {
59
+ Service48,
60
+ node50
61
+ } from "./app-tcay1cqt.js";
62
+ import {
63
+ node30
64
+ } from "./app-f26q4c2q.js";
65
+ import {
66
+ node78
67
+ } from "./app-at1kfnmk.js";
68
+ import {
69
+ node74
70
+ } from "./app-ws6r9wxd.js";
71
+ import {
72
+ node51
73
+ } from "./app-h7fgzsk1.js";
74
+ import {
75
+ configured4,
76
+ node36
77
+ } from "./app-1yb457c1.js";
78
+ import {
79
+ node28
80
+ } from "./app-m6cy21rm.js";
81
+ import {
82
+ node34
83
+ } from "./app-c4ejyagw.js";
84
+ import {
85
+ node27
86
+ } from "./app-7zet489v.js";
87
+ import {
88
+ node35
89
+ } from "./app-j9kaagt3.js";
90
+ import {
91
+ node24
92
+ } from "./app-9pkbw0h1.js";
93
+ import {
94
+ node37
95
+ } from "./app-b7zw3vx0.js";
96
+ import {
97
+ node25
98
+ } from "./app-d4q7zemf.js";
99
+ import {
100
+ node23
101
+ } from "./app-5p8ngbgk.js";
102
+ import {
103
+ node46
104
+ } from "./app-ye6d7t69.js";
105
+ import {
106
+ node69
107
+ } from "./app-g35x6qc6.js";
108
+ import {
109
+ node59
110
+ } from "./app-f59ep6tb.js";
111
+ import {
112
+ node57
113
+ } from "./app-nj11v1kf.js";
114
+ import {
115
+ node77
116
+ } from "./app-bha5yh8f.js";
117
+ import {
118
+ node38
119
+ } from "./app-5qjwke21.js";
120
+ import {
121
+ node41
122
+ } from "./app-jhs71wy2.js";
123
+ import {
124
+ node43
125
+ } from "./app-553hyqc1.js";
126
+ import {
127
+ node19
128
+ } from "./app-j6z9wjgn.js";
129
+ import {
130
+ node2
131
+ } from "./app-qt4hgj4v.js";
132
+ import {
133
+ Service68,
134
+ node72
135
+ } from "./app-qncy8rqx.js";
136
+ import {
137
+ node45
138
+ } from "./app-rm6wvaj8.js";
139
+ import {
140
+ node9,
141
+ bound2
142
+ } from "./app-tpw6cwsb.js";
143
+ import {
144
+ node12
145
+ } from "./app-e1as76v8.js";
146
+ import {
147
+ node8
148
+ } from "./app-rvxgx5k2.js";
149
+ import {
150
+ node7
151
+ } from "./app-6fnv26db.js";
152
+ import {
153
+ node5
154
+ } from "./app-m1mdr3t4.js";
155
+ import {
156
+ node68
157
+ } from "./app-0mekpjct.js";
158
+ import {
159
+ node4
160
+ } from "./app-bpdcdgy4.js";
161
+ import {
162
+ node3
163
+ } from "./app-r2751jnn.js";
164
+ import {
165
+ __export
166
+ } from "./app-9rqn6x4v.js";
167
+
168
+ // src/instance.ts
169
+ var exports_instance = {};
170
+ __export(exports_instance, {
171
+ Instance: () => exports_instance,
172
+ Service: () => Service48,
173
+ graph: () => graph2,
174
+ layer: () => layer2,
175
+ node: () => node50
176
+ });
177
+ import { Context, Effect, Layer } from "effect";
178
+ import { LayerNode } from "@opencode/util/effect/layer-node";
179
+ import { Node } from "@opencode/util/effect/app-node";
180
+ var nodes = [
181
+ node83,
182
+ node72,
183
+ node63,
184
+ node60,
185
+ node86,
186
+ node40,
187
+ node35,
188
+ node77,
189
+ node41,
190
+ node80,
191
+ node79,
192
+ node66,
193
+ node55,
194
+ node71,
195
+ node19,
196
+ node78,
197
+ node9,
198
+ node5,
199
+ node43,
200
+ node16,
201
+ node15,
202
+ node69,
203
+ node68,
204
+ node57,
205
+ node37,
206
+ node28,
207
+ node36,
208
+ node45,
209
+ node53,
210
+ node18,
211
+ node31,
212
+ node74,
213
+ node34,
214
+ node59,
215
+ node54,
216
+ node25,
217
+ node24,
218
+ node30,
219
+ node82,
220
+ node20,
221
+ node7,
222
+ node27,
223
+ node8,
224
+ node51,
225
+ node12,
226
+ node4,
227
+ node23,
228
+ node46,
229
+ node3,
230
+ node38,
231
+ node2
232
+ ];
233
+ var graph2 = LayerNode.group(nodes);
234
+ var vanillaReplacements = [
235
+ node60.replace(configured7({ project: false, global: false })),
236
+ node36.replace(configured4({ project: false, global: false }))
237
+ ];
238
+ function layer2(ref, options = {}) {
239
+ const startedAt = performance.now();
240
+ const replacements = [
241
+ ...options.discovery === false ? vanillaReplacements : [],
242
+ ...options.replacements ?? [],
243
+ node83.replace(boundNode2(ref)),
244
+ node9.replace(bound2(options.plugins ?? []))
245
+ ];
246
+ return LayerNode.compile(graph2, { replacements, shared: Node.tags.values.global }).pipe(Layer.catchCause((cause) => Layer.unwrap(Effect.failCause(cause).pipe(Effect.catch((error) => error instanceof DirectoryNotFoundError2 ? Effect.fail(error) : Effect.die(error))))), Layer.tap((context) => Effect.addFinalizer(() => Context.get(context, Service68).shutdown)), Layer.tap(() => Effect.logInfo("location services booted", {
247
+ directory: ref.directory,
248
+ workspaceID: ref.workspaceID,
249
+ durationMs: Math.round(performance.now() - startedAt)
250
+ })));
251
+ }
252
+
253
+ export { graph2, layer2, exports_instance };
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID8
3
- } from "./model-resolver-0542bm0d.js";
2
+ ID12
3
+ } from "./app-1kr92pjq.js";
4
4
 
5
5
  // src/plugin/provider/prompt-cache-key.ts
6
6
  import { Effect } from "effect";
@@ -24,7 +24,7 @@ var PromptCacheKeyPlugin2 = define({
24
24
  effect: Effect.fn(function* (ctx) {
25
25
  yield* ctx.model.transform((models) => {
26
26
  for (const id of providerIDs) {
27
- const providerID = ID8.make(id);
27
+ const providerID = ID12.make(id);
28
28
  for (const model of models.list(providerID)) {
29
29
  models.update(model.providerID, model.id, (draft) => {
30
30
  draft.compatibility = { ...draft.compatibility, supportsPromptCacheKey: true };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./model-resolver-5mwnvj5n.js";
4
+ } from "./app-c4e8pskq.js";
5
5
  import {
6
6
  SessionTable2,
7
7
  SessionMessageTable2
8
- } from "./model-resolver-kb9j3d72.js";
8
+ } from "./app-kb9j3d72.js";
9
9
  import {
10
10
  decodeMessageRow2,
11
11
  load5
12
- } from "./model-resolver-cjhnsaft.js";
12
+ } from "./app-0rw9nv2q.js";
13
13
  import {
14
14
  fromRow2
15
- } from "./model-resolver-127b9nq3.js";
15
+ } from "./app-5pyjqqve.js";
16
16
  import {
17
17
  __export
18
- } from "./model-resolver-9rqn6x4v.js";
18
+ } from "./app-9rqn6x4v.js";
19
19
 
20
20
  // src/session/store.ts
21
21
  var exports_store = {};
22
22
  __export(exports_store, {
23
- ListInput: () => ListInput4,
24
- Service: () => Service71,
23
+ ListInput: () => ListInput5,
24
+ Service: () => Service72,
25
25
  SessionStore: () => exports_store,
26
- node: () => node73
26
+ node: () => node76
27
27
  });
28
28
  import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
29
29
  import { Context, Effect, Layer, Schema } from "effect";
@@ -50,13 +50,13 @@ var ListProjectInput = Schema.Struct({
50
50
  subpath: RelativePath.pipe(Schema.optional)
51
51
  });
52
52
  var ListAllInput = Schema.Struct(ListInputBase);
53
- var ListInput4 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
53
+ var ListInput5 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
54
54
 
55
- class Service71 extends Context.Service()("@opencode/SessionStore") {
55
+ class Service72 extends Context.Service()("@opencode/SessionStore") {
56
56
  }
57
- var layer = Layer.effect(Service71, Effect.gen(function* () {
57
+ var layer = Layer.effect(Service72, Effect.gen(function* () {
58
58
  const { db } = yield* Service84;
59
- return Service71.of({
59
+ return Service72.of({
60
60
  get: Effect.fnUntraced(function* (sessionID) {
61
61
  const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
62
62
  return row ? fromRow2(row) : undefined;
@@ -125,6 +125,6 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
125
125
  })
126
126
  });
127
127
  }));
128
- var node73 = makeGlobalNode({ service: Service71, layer, deps: [node88] });
128
+ var node76 = makeGlobalNode({ service: Service72, layer, deps: [node88] });
129
129
 
130
- export { ListInput4, Service71, node73, exports_store };
130
+ export { ListInput5, Service72, node76, exports_store };