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

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 +83 -83
  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-xh8kgek2.js → app-04e56h6g.js} +18 -18
  8. package/dist/chunks/{model-resolver-zd9ev577.js → app-04jg6nm3.js} +32 -32
  9. package/dist/chunks/{model-resolver-vqhkw9gd.js → app-0c8a6nan.js} +86 -86
  10. package/dist/chunks/{model-resolver-5h3jqpbr.js → app-0ejp3s31.js} +9 -9
  11. package/dist/chunks/{model-resolver-q0xm7vwc.js → app-0j77ygfz.js} +6 -6
  12. package/dist/chunks/{model-resolver-c0y2vens.js → app-0p3t72g7.js} +13 -13
  13. package/dist/chunks/{model-resolver-0paq2nw3.js → app-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{model-resolver-0vbcp93d.js → app-0vbcp93d.js} +2 -2
  15. package/dist/chunks/{model-resolver-sd38pwsj.js → app-0xymhvjv.js} +18 -18
  16. package/dist/chunks/{model-resolver-wzp2zdrd.js → app-16bxftmt.js} +18 -18
  17. package/dist/chunks/{model-resolver-r8xr0va3.js → app-1acjjqhc.js} +4 -4
  18. package/dist/chunks/{model-resolver-4j4tgtq5.js → app-1b4m0bzf.js} +4 -4
  19. package/dist/chunks/{model-resolver-1dazxqgg.js → app-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{model-resolver-ftczs0ph.js → app-1fe3twba.js} +44 -44
  21. package/dist/chunks/{model-resolver-5gxq0s6y.js → app-1gh24mt2.js} +34 -34
  22. package/dist/chunks/{model-resolver-e4knw194.js → app-1h0m70r1.js} +24 -24
  23. package/dist/chunks/{model-resolver-vqhepxyf.js → app-1jksvqp2.js} +32 -32
  24. package/dist/chunks/{model-resolver-2pqtcr1v.js → app-1m23n1zc.js} +11 -11
  25. package/dist/chunks/{model-resolver-2ck2j4j1.js → app-1mkt64e2.js} +6 -6
  26. package/dist/chunks/{model-resolver-pnkbpv6t.js → app-1rh4yqvv.js} +9 -9
  27. package/dist/chunks/{model-resolver-0nvn360z.js → app-20k6bs8s.js} +11 -11
  28. package/dist/chunks/{model-resolver-znqwxr4y.js → app-20y2srhq.js} +10 -10
  29. package/dist/chunks/{model-resolver-ed1gzxdy.js → app-242d3xz3.js} +11 -11
  30. package/dist/chunks/{model-resolver-va0jwre1.js → app-29fgs7mf.js} +32 -32
  31. package/dist/chunks/{model-resolver-2a5m3afh.js → app-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{model-resolver-bzzc495f.js → app-2awzhxm4.js} +11 -11
  33. package/dist/chunks/{model-resolver-4ts7tf6z.js → app-2ccvkpx1.js} +2 -2
  34. package/dist/chunks/{model-resolver-27czsdb9.js → app-2dcxqaf0.js} +45 -45
  35. package/dist/chunks/{model-resolver-mdaxkk3h.js → app-2h8kq5g8.js} +4 -4
  36. package/dist/chunks/{model-resolver-a8bn8zg0.js → app-2pnhn36q.js} +21 -21
  37. package/dist/chunks/{model-resolver-cwa6csj7.js → app-2sejkfem.js} +9 -9
  38. package/dist/chunks/{model-resolver-re9ebc67.js → app-301dthfh.js} +23 -23
  39. package/dist/chunks/{model-resolver-hd8vw2pw.js → app-325sge2s.js} +1 -1
  40. package/dist/chunks/{model-resolver-dhe4rjrj.js → app-3322t3cd.js} +30 -30
  41. package/dist/chunks/{model-resolver-r95z6apf.js → app-35bmy1pq.js} +20 -20
  42. package/dist/chunks/{model-resolver-3cegwx68.js → app-3cegwx68.js} +2 -2
  43. package/dist/chunks/{model-resolver-3fc6dm20.js → app-3fc6dm20.js} +1 -1
  44. package/dist/chunks/{model-resolver-3hepkmqq.js → app-3hepkmqq.js} +1 -1
  45. package/dist/chunks/{model-resolver-yfg3b8wm.js → app-3p3qdx74.js} +3 -3
  46. package/dist/chunks/{model-resolver-9v0mj4cg.js → app-3pshrbxs.js} +8 -8
  47. package/dist/chunks/{model-resolver-3smtnn6g.js → app-3smtnn6g.js} +1 -1
  48. package/dist/chunks/{model-resolver-3tvqynh2.js → app-3tvqynh2.js} +1 -1
  49. package/dist/chunks/{model-resolver-3zsf4n22.js → app-3zsf4n22.js} +1 -1
  50. package/dist/chunks/{model-resolver-p8byhbkv.js → app-45p1457d.js} +44 -44
  51. package/dist/chunks/{model-resolver-2f6g987b.js → app-4ayp82yx.js} +180 -180
  52. package/dist/chunks/{model-resolver-cfmtfeg9.js → app-4b3qsvz5.js} +8 -8
  53. package/dist/chunks/{model-resolver-zw0v8jtf.js → app-4dhf6qr5.js} +16 -16
  54. package/dist/chunks/{model-resolver-b75r5j40.js → app-4ghyx0ra.js} +24 -24
  55. package/dist/chunks/{model-resolver-0bs0xzzs.js → app-4k4xw99j.js} +13 -13
  56. package/dist/chunks/app-4v7qdvcn.js +18 -0
  57. package/dist/chunks/{model-resolver-xcgyncvr.js → app-4x7mprc7.js} +9 -9
  58. package/dist/chunks/{model-resolver-54ma36ye.js → app-54ma36ye.js} +1 -1
  59. package/dist/chunks/{model-resolver-mfqp6xfm.js → app-56gdpj1q.js} +6 -6
  60. package/dist/chunks/{model-resolver-q0kza1w9.js → app-57e9z27j.js} +5 -5
  61. package/dist/chunks/{model-resolver-8hbdmjnq.js → app-5bebnv6a.js} +58 -58
  62. package/dist/chunks/{model-resolver-71ek9cp3.js → app-5cwdzrbq.js} +7 -7
  63. package/dist/chunks/{model-resolver-5daktx2q.js → app-5daktx2q.js} +1 -1
  64. package/dist/chunks/{model-resolver-5m9w47nd.js → app-5m9w47nd.js} +1 -1
  65. package/dist/chunks/{model-resolver-rpbkhrt2.js → app-5p8wf6j7.js} +26 -26
  66. package/dist/chunks/{model-resolver-5t3nmthw.js → app-5t3nmthw.js} +2 -2
  67. package/dist/chunks/{model-resolver-qzpwn43k.js → app-5vgy46me.js} +4 -4
  68. package/dist/chunks/{model-resolver-ya12f4a8.js → app-5w6eg69j.js} +24 -24
  69. package/dist/chunks/{model-resolver-w06vrs2y.js → app-5xnx6s0g.js} +4 -4
  70. package/dist/chunks/{model-resolver-epch8s0x.js → app-67p37xz4.js} +3 -3
  71. package/dist/chunks/{model-resolver-j5n8pp08.js → app-68yqgpv3.js} +43 -43
  72. package/dist/chunks/{model-resolver-h4ckqw4f.js → app-6h1ernme.js} +11 -11
  73. package/dist/chunks/{model-resolver-pv9k6nd9.js → app-6myapkvy.js} +21 -21
  74. package/dist/chunks/{model-resolver-rwp39ykb.js → app-6qtegkg3.js} +11 -11
  75. package/dist/chunks/{model-resolver-x37b3njd.js → app-6s2ddzje.js} +51 -51
  76. package/dist/chunks/{model-resolver-6xb47vfp.js → app-6xb47vfp.js} +1 -1
  77. package/dist/chunks/{model-resolver-q83407cy.js → app-6xrnn9ah.js} +18 -18
  78. package/dist/chunks/{model-resolver-bdd5jqwb.js → app-76tyfscq.js} +11 -11
  79. package/dist/chunks/{model-resolver-qthsvwc3.js → app-791sstd7.js} +22 -22
  80. package/dist/chunks/{model-resolver-9vk12vsk.js → app-7b0bmdfp.js} +11 -11
  81. package/dist/chunks/{model-resolver-7bmhse3q.js → app-7bmhse3q.js} +1 -1
  82. package/dist/chunks/{model-resolver-9kw8973d.js → app-7cjh5p1y.js} +8 -8
  83. package/dist/chunks/{model-resolver-gf4q96mg.js → app-7cxp1twe.js} +29 -29
  84. package/dist/chunks/{model-resolver-2k8khapm.js → app-7dqw4kz8.js} +5 -5
  85. package/dist/chunks/{model-resolver-bt4mtqh9.js → app-7gganw90.js} +5 -5
  86. package/dist/chunks/{model-resolver-tzm99wp3.js → app-7jqg3t26.js} +8 -8
  87. package/dist/chunks/{model-resolver-gm70hkap.js → app-7v13wked.js} +11 -11
  88. package/dist/chunks/{model-resolver-kfh1rvrr.js → app-7w42a7vr.js} +15 -15
  89. package/dist/chunks/{model-resolver-8xq2p407.js → app-7z20pvgb.js} +19 -19
  90. package/dist/chunks/{model-resolver-84h8c373.js → app-84h8c373.js} +2 -2
  91. package/dist/chunks/{model-resolver-8d7r5vzw.js → app-8d7r5vzw.js} +1 -1
  92. package/dist/chunks/{model-resolver-cjhnsaft.js → app-8phv1wh2.js} +11 -11
  93. package/dist/chunks/{model-resolver-ts23464c.js → app-8sze2n9a.js} +8 -8
  94. package/dist/chunks/{model-resolver-k9ga8ymg.js → app-9014prnx.js} +13 -13
  95. package/dist/chunks/{model-resolver-pwjc3egg.js → app-9706e9af.js} +16 -16
  96. package/dist/chunks/{model-resolver-286yb4sa.js → app-9g2bkc9w.js} +4 -4
  97. package/dist/chunks/{model-resolver-0f84emyz.js → app-9h0hm6c7.js} +21 -21
  98. package/dist/chunks/app-9kdznkft.js +253 -0
  99. package/dist/chunks/{model-resolver-apdvzw7w.js → app-9w4vxw73.js} +24 -24
  100. package/dist/chunks/{model-resolver-v8b1trmq.js → app-9whkbvte.js} +3 -3
  101. package/dist/chunks/{model-resolver-k2nq0b80.js → app-9z3aytcr.js} +25 -25
  102. package/dist/chunks/{model-resolver-thcxkcch.js → app-a89j2j3v.js} +9 -9
  103. package/dist/chunks/{model-resolver-aaet6srn.js → app-aaet6srn.js} +2 -2
  104. package/dist/chunks/{model-resolver-gqtdsdt7.js → app-addxnjmp.js} +4 -4
  105. package/dist/chunks/{model-resolver-ajft39nq.js → app-af8m3dqx.js} +4 -4
  106. package/dist/chunks/{model-resolver-4nsnwgcs.js → app-ahket4sj.js} +1 -1
  107. package/dist/chunks/{model-resolver-vsmhcm1n.js → app-amtff23s.js} +18 -18
  108. package/dist/chunks/{model-resolver-kk3g4k48.js → app-an481r60.js} +24 -24
  109. package/dist/chunks/{model-resolver-19v7rzjh.js → app-apkykmcv.js} +39 -39
  110. package/dist/chunks/{model-resolver-p5a37mby.js → app-ar6cqpvd.js} +11 -11
  111. package/dist/chunks/{model-resolver-bmtj8zad.js → app-aya0m2nn.js} +12 -12
  112. package/dist/chunks/{model-resolver-6z0zjaxs.js → app-b0cc5wa1.js} +20 -20
  113. package/dist/chunks/{model-resolver-qa3qhgw8.js → app-b27vhd2z.js} +4 -4
  114. package/dist/chunks/{model-resolver-cjw460n3.js → app-b63vc8wa.js} +20 -20
  115. package/dist/chunks/{model-resolver-b6gygkdw.js → app-b6gygkdw.js} +2 -2
  116. package/dist/chunks/{model-resolver-5hx7d1d6.js → app-b7v4cx43.js} +5 -5
  117. package/dist/chunks/{model-resolver-12gfzbq6.js → app-b8rcbyp3.js} +10 -10
  118. package/dist/chunks/{model-resolver-k3gjjqdh.js → app-bae9fd7v.js} +22 -22
  119. package/dist/chunks/{model-resolver-4xy3xte6.js → app-bgb55b52.js} +36 -36
  120. package/dist/chunks/{model-resolver-dze2gebv.js → app-bj79fbq7.js} +26 -26
  121. package/dist/chunks/{model-resolver-tc8cg2nw.js → app-bkcfv8em.js} +15 -15
  122. package/dist/chunks/{model-resolver-fjrw4d14.js → app-bzg3gwdp.js} +42 -42
  123. package/dist/chunks/{model-resolver-g4pw1jpx.js → app-c74t9qz0.js} +20 -20
  124. package/dist/chunks/{model-resolver-2v5zve2j.js → app-cx5qjy2q.js} +18 -18
  125. package/dist/chunks/{model-resolver-85eh7cfy.js → app-d08g2ggt.js} +32 -32
  126. package/dist/chunks/{model-resolver-cq29va0k.js → app-d5513v78.js} +19 -19
  127. package/dist/chunks/{model-resolver-1xwtfmct.js → app-d7gsy00f.js} +4 -4
  128. package/dist/chunks/{model-resolver-73azztx1.js → app-d9yqcqn2.js} +7 -7
  129. package/dist/chunks/{model-resolver-b3rdhmww.js → app-dbkg7j5s.js} +12 -12
  130. package/dist/chunks/{model-resolver-j4w879wy.js → app-dhgz4p5g.js} +16 -16
  131. package/dist/chunks/app-dk3gfcvg.js +507 -0
  132. package/dist/chunks/{model-resolver-dpkg50ah.js → app-dpkg50ah.js} +1 -1
  133. package/dist/chunks/{model-resolver-5d93dg4h.js → app-dr9djctk.js} +20 -20
  134. package/dist/chunks/{model-resolver-5qd3pb7m.js → app-e3qxr5gk.js} +2 -2
  135. package/dist/chunks/{model-resolver-vmv69sjz.js → app-ebpd15x1.js} +5 -5
  136. package/dist/chunks/{model-resolver-ef5x83kb.js → app-ef5x83kb.js} +1 -1
  137. package/dist/chunks/{model-resolver-pw90wh71.js → app-eff940as.js} +29 -29
  138. package/dist/chunks/{model-resolver-5mwnvj5n.js → app-ep2tbpq0.js} +3 -3
  139. package/dist/chunks/{model-resolver-etq0c3wd.js → app-etq0c3wd.js} +1 -1
  140. package/dist/chunks/{model-resolver-5jjt27vb.js → app-f2ymgd1y.js} +14 -14
  141. package/dist/chunks/{model-resolver-g47h9c6m.js → app-f597wsw6.js} +9 -9
  142. package/dist/chunks/{model-resolver-f75zav2x.js → app-f75zav2x.js} +2 -2
  143. package/dist/chunks/{model-resolver-bd8np6qp.js → app-fbfqd6t5.js} +19 -19
  144. package/dist/chunks/{model-resolver-1a7kemja.js → app-fe1pry9k.js} +3 -3
  145. package/dist/chunks/{model-resolver-3x6h1yzc.js → app-fh6mwhcg.js} +16 -16
  146. package/dist/chunks/{model-resolver-0ykz178d.js → app-fyyxce3k.js} +10 -10
  147. package/dist/chunks/{model-resolver-e67gvcg8.js → app-g945yz75.js} +32 -32
  148. package/dist/chunks/{model-resolver-gd4qta3r.js → app-gd4qta3r.js} +1 -1
  149. package/dist/chunks/{model-resolver-0es0zd3j.js → app-gfypdtgg.js} +12 -12
  150. package/dist/chunks/{model-resolver-pp4mne8d.js → app-gmyrpb2t.js} +25 -25
  151. package/dist/chunks/{model-resolver-k3f304m0.js → app-gvra8byy.js} +6 -6
  152. package/dist/chunks/{model-resolver-8fm7ftfn.js → app-gz06afsr.js} +15 -15
  153. package/dist/chunks/app-h44meb81.js +26 -0
  154. package/dist/chunks/{model-resolver-h6vf3j39.js → app-h6vf3j39.js} +1 -1
  155. package/dist/chunks/{model-resolver-4xpgt2w9.js → app-h83xjv7f.js} +5 -5
  156. package/dist/chunks/{model-resolver-wecqtg5s.js → app-hdkng2sj.js} +5 -5
  157. package/dist/chunks/{model-resolver-08awhxg9.js → app-hhjq2279.js} +10 -10
  158. package/dist/chunks/{model-resolver-gtfqxnbk.js → app-hwwy1ym4.js} +11 -11
  159. package/dist/chunks/{model-resolver-hq45thad.js → app-hxnmxwjb.js} +16 -16
  160. package/dist/chunks/{model-resolver-qzp699j3.js → app-j4tsbt5k.js} +17 -17
  161. package/dist/chunks/{model-resolver-j56e64zr.js → app-j56e64zr.js} +1 -1
  162. package/dist/chunks/{model-resolver-g08qb7dt.js → app-j9vjkm8n.js} +13 -13
  163. package/dist/chunks/{model-resolver-8kb0e28r.js → app-jat658e1.js} +11 -11
  164. package/dist/chunks/{model-resolver-hm2phjj0.js → app-jc3azejp.js} +27 -27
  165. package/dist/chunks/{model-resolver-n4kwfwhc.js → app-jcx1xx7s.js} +9 -9
  166. package/dist/chunks/{model-resolver-ctz7jbry.js → app-jhpaar4x.js} +8 -8
  167. package/dist/chunks/{model-resolver-0hc4mbjr.js → app-jkv8g5mz.js} +7 -7
  168. package/dist/chunks/{model-resolver-974xbn4p.js → app-jnvev7pc.js} +30 -30
  169. package/dist/chunks/{model-resolver-32h9x93b.js → app-jtgyfgpv.js} +48 -48
  170. package/dist/chunks/{model-resolver-rxcdjwh1.js → app-k3kxt7h3.js} +6 -6
  171. package/dist/chunks/{model-resolver-mq0f2m57.js → app-k5s0pr56.js} +26 -26
  172. package/dist/chunks/{model-resolver-g31erja1.js → app-k70p9jzb.js} +9 -9
  173. package/dist/chunks/{model-resolver-re314ab2.js → app-k7y9nwy7.js} +90 -90
  174. package/dist/chunks/{model-resolver-kb9j3d72.js → app-kb9j3d72.js} +3 -3
  175. package/dist/chunks/{model-resolver-8yktm66k.js → app-kdhmv3km.js} +15 -15
  176. package/dist/chunks/{model-resolver-cp937pt4.js → app-knevfgda.js} +4 -4
  177. package/dist/chunks/{model-resolver-0vs3bra0.js → app-kt8356a3.js} +36 -36
  178. package/dist/chunks/{model-resolver-2h5pq9sb.js → app-m1mccnkp.js} +24 -24
  179. package/dist/chunks/{model-resolver-m3fdjcah.js → app-m3fdjcah.js} +1 -1
  180. package/dist/chunks/{model-resolver-r0spx5zb.js → app-m8n8f8f1.js} +22 -22
  181. package/dist/chunks/{model-resolver-m9w0rfyh.js → app-m9w0rfyh.js} +1 -1
  182. package/dist/chunks/{model-resolver-v1z61gdb.js → app-mgh0wzph.js} +17 -17
  183. package/dist/chunks/{model-resolver-73tb2d7t.js → app-mvfsc1pv.js} +3 -3
  184. package/dist/chunks/{model-resolver-yz0fee1s.js → app-mwkrjy8y.js} +9 -9
  185. package/dist/chunks/{model-resolver-kc6s93qx.js → app-mypwhdkk.js} +6 -6
  186. package/dist/chunks/{model-resolver-q3h10w5c.js → app-mzkxtmwj.js} +60 -60
  187. package/dist/chunks/{model-resolver-vgz6x7va.js → app-nd6gy5bw.js} +15 -15
  188. package/dist/chunks/{model-resolver-y77d0n28.js → app-nd6t1tpn.js} +16 -16
  189. package/dist/chunks/{model-resolver-e3bfy97n.js → app-ne07e3sg.js} +25 -25
  190. package/dist/chunks/{model-resolver-fpcgeefe.js → app-ngv8w6cp.js} +19 -19
  191. package/dist/chunks/{model-resolver-h4z4phbe.js → app-nwhb2xra.js} +4 -4
  192. package/dist/chunks/{model-resolver-08q73ng5.js → app-nxdkhax1.js} +10 -10
  193. package/dist/chunks/{model-resolver-3ppptnan.js → app-p7a39gy5.js} +6 -6
  194. package/dist/chunks/{model-resolver-pjvnvgmy.js → app-pjvnvgmy.js} +1 -1
  195. package/dist/chunks/{model-resolver-pknna89w.js → app-pknna89w.js} +1 -1
  196. package/dist/chunks/{model-resolver-v2d8dwc4.js → app-pwzyebmy.js} +9 -9
  197. package/dist/chunks/{model-resolver-nsk1prb9.js → app-py8bz5dh.js} +15 -15
  198. package/dist/chunks/{model-resolver-y18nf7t0.js → app-pybq8189.js} +3 -3
  199. package/dist/chunks/{model-resolver-9zgzq4hp.js → app-q41gjxsv.js} +21 -21
  200. package/dist/chunks/{model-resolver-dq0bda3m.js → app-q5bs9ych.js} +11 -11
  201. package/dist/chunks/{model-resolver-45deadp2.js → app-q66krdtm.js} +7 -7
  202. package/dist/chunks/{model-resolver-gqxmd7mw.js → app-qby9dwvd.js} +8 -8
  203. package/dist/chunks/{model-resolver-qnc92qwc.js → app-qnc92qwc.js} +1 -1
  204. package/dist/chunks/{model-resolver-wfyxnnpw.js → app-qpg4an21.js} +13 -13
  205. package/dist/chunks/{model-resolver-qsdy395h.js → app-qsdy395h.js} +1 -1
  206. package/dist/chunks/{model-resolver-mtpeagzc.js → app-qsee9sfb.js} +3 -3
  207. package/dist/chunks/{model-resolver-xyafkbt0.js → app-qxjc9qry.js} +3 -3
  208. package/dist/chunks/{model-resolver-gdn89mga.js → app-r7jxkywv.js} +18 -18
  209. package/dist/chunks/{model-resolver-8egvdccy.js → app-rdh9syxk.js} +11 -11
  210. package/dist/chunks/{model-resolver-rdw6cm16.js → app-rdw6cm16.js} +1 -1
  211. package/dist/chunks/{model-resolver-snnqzhcb.js → app-reymgymz.js} +35 -35
  212. package/dist/chunks/{model-resolver-kc9e1ych.js → app-rftk81m0.js} +33 -33
  213. package/dist/chunks/{model-resolver-z70hwzgh.js → app-rjq8wmvv.js} +15 -15
  214. package/dist/chunks/{model-resolver-46tb29mf.js → app-rq424w6d.js} +8 -8
  215. package/dist/chunks/{model-resolver-qk7srzz2.js → app-rrfvxgdj.js} +30 -30
  216. package/dist/chunks/{model-resolver-z1vm9hqc.js → app-rrpq0de9.js} +12 -12
  217. package/dist/chunks/{model-resolver-ecw0m79c.js → app-rszvgpa6.js} +13 -13
  218. package/dist/chunks/{model-resolver-yjtfa6v9.js → app-rx9ava5n.js} +4 -4
  219. package/dist/chunks/{model-resolver-r3yntwzq.js → app-s0y0yn56.js} +8 -8
  220. package/dist/chunks/{model-resolver-nkpgj8pk.js → app-s6fz7zhe.js} +5 -5
  221. package/dist/chunks/{model-resolver-eaj1djv9.js → app-s8d7rejh.js} +6 -6
  222. package/dist/chunks/{model-resolver-x2g45djb.js → app-s9bkmqx5.js} +9 -9
  223. package/dist/chunks/{model-resolver-xn8rxa2c.js → app-s9rfegk5.js} +17 -17
  224. package/dist/chunks/{model-resolver-6ha37qbe.js → app-sdzb5d81.js} +45 -45
  225. package/dist/chunks/{model-resolver-a6xnfde8.js → app-sgy8ytrb.js} +4 -4
  226. package/dist/chunks/{model-resolver-b0nz5rd6.js → app-srj2pvnr.js} +15 -15
  227. package/dist/chunks/{model-resolver-wvw422xq.js → app-sssj1js0.js} +33 -33
  228. package/dist/chunks/{model-resolver-2ypb7czt.js → app-t157y7h9.js} +17 -17
  229. package/dist/chunks/{model-resolver-shwq57g0.js → app-t6jtyfth.js} +9 -9
  230. package/dist/chunks/{model-resolver-tazgh4e4.js → app-tazgh4e4.js} +1 -1
  231. package/dist/chunks/{model-resolver-n2srvep7.js → app-tbmac1c7.js} +4 -4
  232. package/dist/chunks/{model-resolver-tcezcvh9.js → app-tcezcvh9.js} +1 -1
  233. package/dist/chunks/{model-resolver-tv2g93x2.js → app-td2q8pwv.js} +32 -32
  234. package/dist/chunks/{model-resolver-w8wbc6jz.js → app-tdkczycq.js} +5 -5
  235. package/dist/chunks/{model-resolver-tdstcens.js → app-tdstcens.js} +1 -1
  236. package/dist/chunks/{model-resolver-eyz1e7b4.js → app-tjd55h1j.js} +3 -3
  237. package/dist/chunks/{model-resolver-tpw6cwsb.js → app-tpw6cwsb.js} +1 -1
  238. package/dist/chunks/{model-resolver-ec8aqdm6.js → app-trfe10aq.js} +53 -53
  239. package/dist/chunks/{model-resolver-dx1b2kp7.js → app-tv9y8cre.js} +31 -31
  240. package/dist/chunks/{model-resolver-gst7axd9.js → app-tz4n1mmd.js} +4 -4
  241. package/dist/chunks/{model-resolver-7d822byb.js → app-v0es1rhs.js} +9 -9
  242. package/dist/chunks/{model-resolver-127b9nq3.js → app-v3691hzd.js} +2 -2
  243. package/dist/chunks/{model-resolver-5109a086.js → app-v8djm3tk.js} +34 -34
  244. package/dist/chunks/{model-resolver-41dwvnwc.js → app-va1aqcgj.js} +11 -11
  245. package/dist/chunks/{model-resolver-c0ykhrt2.js → app-vcx4y3fv.js} +16 -16
  246. package/dist/chunks/{model-resolver-veqvce7d.js → app-veqvce7d.js} +1 -1
  247. package/dist/chunks/{model-resolver-07nx60wz.js → app-vpw5h8ff.js} +5 -5
  248. package/dist/chunks/{model-resolver-vzs5sf6e.js → app-vzs5sf6e.js} +1 -1
  249. package/dist/chunks/{model-resolver-84txncab.js → app-w1eejvng.js} +5 -5
  250. package/dist/chunks/{model-resolver-gph55xgf.js → app-w22hqb2b.js} +15 -15
  251. package/dist/chunks/{model-resolver-w3wsvvr9.js → app-w3wsvvr9.js} +1 -1
  252. package/dist/chunks/{model-resolver-1jj9vxsv.js → app-w56bmt8q.js} +3 -3
  253. package/dist/chunks/{model-resolver-z6c3x22d.js → app-wbgabvvj.js} +5 -5
  254. package/dist/chunks/{model-resolver-hjm94w0b.js → app-wbrpy97e.js} +8 -8
  255. package/dist/chunks/{model-resolver-wd87259q.js → app-wd87259q.js} +1 -1
  256. package/dist/chunks/{model-resolver-9b1bh67j.js → app-wkt2r7t8.js} +5 -5
  257. package/dist/chunks/{model-resolver-1ssqd35y.js → app-wp4df68x.js} +12 -12
  258. package/dist/chunks/{model-resolver-ypzf3tk8.js → app-wrdre0d4.js} +37 -37
  259. package/dist/chunks/{model-resolver-7zkyz21p.js → app-ws2cps2z.js} +6 -6
  260. package/dist/chunks/{model-resolver-n6kkq2ng.js → app-wxzwjz1v.js} +30 -30
  261. package/dist/chunks/{model-resolver-h3g7c02j.js → app-wygm2re9.js} +17 -17
  262. package/dist/chunks/{model-resolver-6mns344v.js → app-x1e01gbv.js} +16 -16
  263. package/dist/chunks/{model-resolver-558ajqy5.js → app-x9e148je.js} +17 -17
  264. package/dist/chunks/{model-resolver-bzzvw9kc.js → app-xa67z4h8.js} +1 -1
  265. package/dist/chunks/{model-resolver-mj4tg0y9.js → app-xccs5pvc.js} +9 -9
  266. package/dist/chunks/{model-resolver-n37c4crj.js → app-xf8yqmad.js} +9 -9
  267. package/dist/chunks/{model-resolver-w19d8598.js → app-xfkkasph.js} +5 -5
  268. package/dist/chunks/{model-resolver-0422tdqy.js → app-xj54bchx.js} +5 -5
  269. package/dist/chunks/{model-resolver-xkntkrq7.js → app-xkntkrq7.js} +2 -2
  270. package/dist/chunks/{model-resolver-wc21baf5.js → app-xp199s9v.js} +26 -26
  271. package/dist/chunks/{model-resolver-de52ckkz.js → app-xs53z2pm.js} +4 -4
  272. package/dist/chunks/{model-resolver-y1fvbwt7.js → app-y1fvbwt7.js} +1 -1
  273. package/dist/chunks/{model-resolver-0542bm0d.js → app-y77syfze.js} +32 -32
  274. package/dist/chunks/{model-resolver-j8vk2cdy.js → app-yj324k3c.js} +5 -5
  275. package/dist/chunks/{model-resolver-150yg2gd.js → app-yt3hy1g9.js} +5 -5
  276. package/dist/chunks/{model-resolver-9s0ehjpm.js → app-yw1qgh4m.js} +26 -26
  277. package/dist/chunks/{model-resolver-z0bkrqjs.js → app-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{model-resolver-3yzzydz0.js → app-z0k8ktqm.js} +4 -4
  279. package/dist/chunks/{model-resolver-nbe77j13.js → app-z52sz3cr.js} +25 -25
  280. package/dist/chunks/{model-resolver-2w7e4h0h.js → app-z9w0t9mp.js} +11 -11
  281. package/dist/chunks/{model-resolver-da6ee7ra.js → app-zqapp3sx.js} +9 -9
  282. package/dist/chunks/{model-resolver-zr2ceqn5.js → app-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{model-resolver-zxq2ej10.js → app-zxq2ej10.js} +1 -1
  284. package/dist/chunks/{model-resolver-zm3dqqf4.js → app-zy98sty6.js} +2 -2
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +9 -9
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +81 -81
  290. package/dist/config/discovery.js +82 -82
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +99 -99
  293. package/dist/config/plugin/agent.js +116 -116
  294. package/dist/config/plugin/command.js +205 -205
  295. package/dist/config/plugin/compaction.js +154 -154
  296. package/dist/config/plugin/compatibility.js +134 -134
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +117 -117
  299. package/dist/config/plugin/image.js +116 -116
  300. package/dist/config/plugin/instruction.js +90 -90
  301. package/dist/config/plugin/location-watcher.js +116 -116
  302. package/dist/config/plugin/mcp.js +123 -123
  303. package/dist/config/plugin/policy.js +117 -117
  304. package/dist/config/plugin/provider.js +116 -116
  305. package/dist/config/plugin/reference.js +118 -118
  306. package/dist/config/plugin/shell.js +118 -118
  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 +113 -113
  311. package/dist/config/plugin/tool-output.js +117 -117
  312. package/dist/config/plugin/websearch.js +117 -117
  313. package/dist/config/plugin/worktree.js +118 -118
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +121 -121
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +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 +218 -218
  418. package/dist/filesystem/protected.js +1 -1
  419. package/dist/filesystem/search.js +97 -97
  420. package/dist/filesystem/watcher-binding.js +3 -3
  421. package/dist/filesystem/watcher.js +15 -15
  422. package/dist/filesystem.js +102 -102
  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 +91 -91
  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 +3 -3
  454. package/dist/integration/connection.js +3 -3
  455. package/dist/integration.js +87 -87
  456. package/dist/job.js +78 -78
  457. package/dist/kv/sql.js +2 -2
  458. package/dist/kv.js +73 -73
  459. package/dist/location-activity.js +131 -131
  460. package/dist/location-lifecycle.js +107 -107
  461. package/dist/location-service-map.js +86 -86
  462. package/dist/location-services.js +351 -351
  463. package/dist/location.js +87 -87
  464. package/dist/managed-policy.js +5 -5
  465. package/dist/mcp/client.js +91 -91
  466. package/dist/mcp/index.js +109 -109
  467. package/dist/mcp/instructions.js +129 -129
  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 +91 -91
  472. package/dist/model-resolver.js +98 -98
  473. package/dist/model.js +102 -102
  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 +84 -84
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +75 -75
  484. package/dist/plugin/agent.js +102 -102
  485. package/dist/plugin/command.js +100 -100
  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 +1 -1
  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 +74 -74
  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 +341 -341
  537. package/dist/plugin/tool-input-repair.js +4 -4
  538. package/dist/plugin/update.js +6 -6
  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 +5 -5
  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 +222 -222
  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 +99 -99
  558. package/dist/reference/instructions.js +89 -89
  559. package/dist/reference.js +89 -89
  560. package/dist/repository-cache.js +81 -81
  561. package/dist/repository.js +3 -3
  562. package/dist/ripgrep/binary.js +2 -2
  563. package/dist/ripgrep.js +97 -97
  564. package/dist/rpc.js +82 -82
  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 +129 -129
  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 +79 -79
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +97 -97
  583. package/dist/session/message-updater.js +2 -2
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +120 -120
  586. package/dist/session/model-transport.js +9 -9
  587. package/dist/session/move.js +129 -129
  588. package/dist/session/projector.js +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 +3 -3
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +222 -222
  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 +123 -123
  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 +164 -164
  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 +203 -203
  610. package/dist/session/system-prompt.js +3 -3
  611. package/dist/session/title.js +151 -151
  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 +9 -9
  620. package/dist/shell.js +130 -130
  621. package/dist/skill/discovery.js +6 -6
  622. package/dist/skill/instructions.js +107 -107
  623. package/dist/skill.js +110 -110
  624. package/dist/snapshot.js +91 -91
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +126 -126
  629. package/dist/tool/plugin/edit.js +120 -120
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +124 -124
  632. package/dist/tool/plugin/grep.js +116 -116
  633. package/dist/tool/plugin/mcp-resource.js +117 -117
  634. package/dist/tool/plugin/opencode.js +3 -3
  635. package/dist/tool/plugin/patch.js +122 -122
  636. package/dist/tool/plugin/question.js +103 -103
  637. package/dist/tool/plugin/read.js +125 -125
  638. package/dist/tool/plugin/shell.js +210 -210
  639. package/dist/tool/plugin/skill.js +111 -111
  640. package/dist/tool/plugin/subagent.js +212 -212
  641. package/dist/tool/plugin/webfetch.js +110 -110
  642. package/dist/tool/plugin/websearch.js +114 -114
  643. package/dist/tool/plugin/write.js +122 -122
  644. package/dist/tool/read-filesystem.js +100 -100
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +7 -7
  647. package/dist/tool.js +14 -14
  648. package/dist/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 +3 -3
  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 +3 -3
  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 +79 -79
  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 +10 -10
  677. package/dist/worktree/sql.js +5 -5
  678. package/dist/worktree/strategies.js +89 -89
  679. package/dist/worktree.js +98 -98
  680. package/package.json +8 -8
  681. package/dist/chunks/model-resolver-6rhw05qy.js +0 -26
  682. package/dist/chunks/model-resolver-c5kr06rn.js +0 -507
  683. package/dist/chunks/model-resolver-q509s3k3.js +0 -18
  684. package/dist/chunks/model-resolver-zfywewcm.js +0 -253
  685. /package/dist/chunks/{model-resolver-0qkdqm5v.js → app-0qkdqm5v.js} +0 -0
  686. /package/dist/chunks/{model-resolver-0zkw76rk.js → app-0zkw76rk.js} +0 -0
  687. /package/dist/chunks/{model-resolver-17cy0kzp.js → app-17cy0kzp.js} +0 -0
  688. /package/dist/chunks/{model-resolver-1cnp2v09.js → app-1cnp2v09.js} +0 -0
  689. /package/dist/chunks/{model-resolver-1kg9ymc8.js → app-1kg9ymc8.js} +0 -0
  690. /package/dist/chunks/{model-resolver-24dcb14g.js → app-24dcb14g.js} +0 -0
  691. /package/dist/chunks/{model-resolver-2710q6r3.js → app-2710q6r3.js} +0 -0
  692. /package/dist/chunks/{model-resolver-2axfhc9x.js → app-2axfhc9x.js} +0 -0
  693. /package/dist/chunks/{model-resolver-2c3vjs8z.js → app-2c3vjs8z.js} +0 -0
  694. /package/dist/chunks/{model-resolver-34c7v6d4.js → app-34c7v6d4.js} +0 -0
  695. /package/dist/chunks/{model-resolver-359p4xyc.js → app-359p4xyc.js} +0 -0
  696. /package/dist/chunks/{model-resolver-3asan66x.js → app-3asan66x.js} +0 -0
  697. /package/dist/chunks/{model-resolver-3t0ybcrp.js → app-3t0ybcrp.js} +0 -0
  698. /package/dist/chunks/{model-resolver-3v8g72cx.js → app-3v8g72cx.js} +0 -0
  699. /package/dist/chunks/{model-resolver-3w5fmr99.js → app-3w5fmr99.js} +0 -0
  700. /package/dist/chunks/{model-resolver-3wcehsnq.js → app-3wcehsnq.js} +0 -0
  701. /package/dist/chunks/{model-resolver-43n2bw4t.js → app-43n2bw4t.js} +0 -0
  702. /package/dist/chunks/{model-resolver-4knz6hnm.js → app-4knz6hnm.js} +0 -0
  703. /package/dist/chunks/{model-resolver-4vcrnpx2.js → app-4vcrnpx2.js} +0 -0
  704. /package/dist/chunks/{model-resolver-4y7fprxs.js → app-4y7fprxs.js} +0 -0
  705. /package/dist/chunks/{model-resolver-53557ph1.js → app-53557ph1.js} +0 -0
  706. /package/dist/chunks/{model-resolver-550bvhaj.js → app-550bvhaj.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,6 +1,6 @@
1
1
  import {
2
2
  loadSDKFactory2
3
- } from "./model-resolver-6q2bdcd1.js";
3
+ } from "./app-6q2bdcd1.js";
4
4
 
5
5
  // src/plugin/provider/dynamic.ts
6
6
  import { Effect } from "effect";
@@ -4,43 +4,43 @@ import {
4
4
  normalizeContent2,
5
5
  normalizedName2,
6
6
  effectiveName2
7
- } from "./model-resolver-3w5fmr99.js";
7
+ } from "./app-3w5fmr99.js";
8
8
  import {
9
9
  create2,
10
10
  catalog2
11
- } from "./model-resolver-xyafkbt0.js";
11
+ } from "./app-qxjc9qry.js";
12
12
  import {
13
13
  create3
14
- } from "./model-resolver-rdw6cm16.js";
14
+ } from "./app-rdw6cm16.js";
15
15
  import {
16
- Service51,
17
- node53
18
- } from "./model-resolver-pnkbpv6t.js";
16
+ Service77,
17
+ node81
18
+ } from "./app-1rh4yqvv.js";
19
19
  import {
20
- Service73,
21
- node75
22
- } from "./model-resolver-gqxmd7mw.js";
20
+ Service66,
21
+ node69
22
+ } from "./app-qby9dwvd.js";
23
23
  import {
24
24
  match2
25
- } from "./model-resolver-y1fvbwt7.js";
25
+ } from "./app-y1fvbwt7.js";
26
26
  import {
27
27
  __export
28
- } from "./model-resolver-9rqn6x4v.js";
28
+ } from "./app-9rqn6x4v.js";
29
29
 
30
30
  // src/tool.ts
31
31
  var exports_tool = {};
32
32
  __export(exports_tool, {
33
33
  CallID: () => CallID2,
34
34
  Content: () => Content3,
35
- Error: () => Error3,
35
+ Error: () => Error2,
36
36
  FileContent: () => FileContent3,
37
37
  RegistrationError: () => RegistrationError2,
38
- Service: () => Service50,
38
+ Service: () => Service41,
39
39
  TextContent: () => TextContent2,
40
40
  Tool: () => exports_tool,
41
- node: () => node52
41
+ node: () => node43
42
42
  });
43
- import { CallID as CallID2, Content as Content3, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
43
+ import { CallID as CallID2, Content as Content3, Error as Error2, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
44
44
  import { ToolDefinition } from "@opencode/ai";
45
45
  import { Tool } from "@opencode/schema/tool";
46
46
  import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
51
51
  }) {
52
52
  }
53
53
 
54
- class Service50 extends Context.Service()("@opencode/Tool") {
54
+ class Service41 extends Context.Service()("@opencode/Tool") {
55
55
  }
56
- var layer = Layer.effect(Service50, Effect.gen(function* () {
57
- const hooks = yield* Service73;
58
- const image = yield* Service51;
56
+ var layer = Layer.effect(Service41, Effect.gen(function* () {
57
+ const hooks = yield* Service66;
58
+ const image = yield* Service77;
59
59
  const normalizeImages = Effect.fnUntraced(function* (content) {
60
60
  const normalized = yield* Effect.forEach(content, (item) => {
61
61
  if (item.type !== "file" || !item.mime.startsWith("image/"))
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
184
184
  }), { discard: true });
185
185
  }
186
186
  });
187
- return Service50.of({
187
+ return Service41.of({
188
188
  transform: state.transform,
189
189
  reload: state.reload,
190
190
  list: () => Effect.sync(() => Array.from(state.get().tools.values())),
@@ -257,7 +257,7 @@ function registrationError(tool) {
257
257
  return error;
258
258
  }
259
259
  const name = normalizedName2(tool);
260
- if (!/^[A-Za-z0-9_-]{1,128}$/.test(name))
260
+ if (!/^[A-Za-z0-9_-]+$/.test(name))
261
261
  return new RegistrationError2({ name, message: `Invalid tool name: ${name}` });
262
262
  const id = effectiveName2(tool);
263
263
  if (tool.options?.codemode === false && id === "execute")
@@ -269,14 +269,14 @@ function registrationError(tool) {
269
269
  return Result.isFailure(result) ? result.failure : undefined;
270
270
  }
271
271
  function namespaceError(name) {
272
- if (name.split(".").every((segment) => /^[A-Za-z0-9_-]{1,64}$/.test(segment)))
272
+ if (name.split(".").every((segment) => /^[A-Za-z0-9_-]+$/.test(segment)))
273
273
  return;
274
274
  return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
275
275
  }
276
- var node52 = makeLocationNode({
277
- service: Service50,
276
+ var node43 = makeLocationNode({
277
+ service: Service41,
278
278
  layer,
279
- deps: [node75, node53]
279
+ deps: [node69, node81]
280
280
  });
281
281
 
282
- export { RegistrationError2, Service50, node52, exports_tool, CallID2, Content3, Error3, FileContent3, TextContent2 };
282
+ export { RegistrationError2, Service41, node43, exports_tool, CallID2, Content3, Error2, FileContent3, TextContent2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  WebSocketConstructor2
3
- } from "./model-resolver-y8cydn3q.js";
3
+ } from "./app-y8cydn3q.js";
4
4
  import {
5
5
  __export
6
- } from "./model-resolver-9rqn6x4v.js";
6
+ } from "./app-9rqn6x4v.js";
7
7
 
8
8
  // src/effect/app-node-platform.ts
9
9
  var exports_app_node_platform = {};
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./model-resolver-5mwnvj5n.js";
4
+ } from "./app-ep2tbpq0.js";
5
5
  import {
6
6
  EventSequenceTable2,
7
7
  EventTable2
8
- } from "./model-resolver-2710q6r3.js";
8
+ } from "./app-2710q6r3.js";
9
9
  import {
10
10
  makeUnsafe2
11
- } from "./model-resolver-dpkg50ah.js";
11
+ } from "./app-dpkg50ah.js";
12
12
  import {
13
13
  __export
14
- } from "./model-resolver-9rqn6x4v.js";
14
+ } from "./app-9rqn6x4v.js";
15
15
 
16
16
  // src/bus.ts
17
17
  var exports_bus = {};
@@ -3,34 +3,34 @@ import {
3
3
  WrongKind2,
4
4
  Failed2,
5
5
  typeFollowing2
6
- } from "./model-resolver-2a5m3afh.js";
6
+ } from "./app-2a5m3afh.js";
7
7
  import {
8
8
  execDefaults2
9
- } from "./model-resolver-1dazxqgg.js";
9
+ } from "./app-1dazxqgg.js";
10
10
  import {
11
11
  makeLocalDriver2
12
- } from "./model-resolver-b6gygkdw.js";
12
+ } from "./app-b6gygkdw.js";
13
13
  import {
14
14
  makeMemoryDriver2
15
- } from "./model-resolver-aaet6srn.js";
15
+ } from "./app-aaet6srn.js";
16
16
  import {
17
- Service78,
18
- node81
19
- } from "./model-resolver-3x6h1yzc.js";
17
+ Service80,
18
+ node84
19
+ } from "./app-fh6mwhcg.js";
20
20
  import {
21
- Service77,
22
- node79
23
- } from "./model-resolver-wc21baf5.js";
21
+ Service58,
22
+ node60
23
+ } from "./app-xp199s9v.js";
24
24
  import {
25
25
  __export
26
- } from "./model-resolver-9rqn6x4v.js";
26
+ } from "./app-9rqn6x4v.js";
27
27
 
28
28
  // src/environment/environment.ts
29
29
  var exports_environment2 = {};
30
30
  __export(exports_environment2, {
31
31
  EnvironmentService: () => exports_environment2,
32
- Service: () => Service76,
33
- node: () => node78
32
+ Service: () => Service57,
33
+ node: () => node59
34
34
  });
35
35
  import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -43,13 +43,13 @@ __export(exports_environment3, {
43
43
  Environment: () => exports_environment3,
44
44
  Failed: () => Failed2,
45
45
  NotFound: () => NotFound2,
46
- Service: () => Service76,
46
+ Service: () => Service57,
47
47
  WrongKind: () => WrongKind2,
48
48
  execDefaults: () => execDefaults2,
49
49
  makeFiles: () => makeFiles2,
50
50
  makeLocalDriver: () => makeLocalDriver2,
51
51
  makeMemoryDriver: () => makeMemoryDriver2,
52
- node: () => node78,
52
+ node: () => node59,
53
53
  typeFollowing: () => typeFollowing2
54
54
  });
55
55
  var makeFiles2 = (driver) => ({
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
58
58
  });
59
59
 
60
60
  // src/environment/environment.ts
61
- class Service76 extends Context.Service()("@opencode/Environment") {
61
+ class Service57 extends Context.Service()("@opencode/Environment") {
62
62
  }
63
- var layer = Layer.effect(Service76, Effect.gen(function* () {
63
+ var layer = Layer.effect(Service57, Effect.gen(function* () {
64
64
  const spawner = yield* ChildProcessSpawner;
65
- const location = yield* Service78;
66
- const workspace = yield* Service77;
65
+ const location = yield* Service80;
66
+ const workspace = yield* Service58;
67
67
  const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
68
- return Service76.of({ files: makeFiles2(driver), spawner: driver.spawner });
68
+ return Service57.of({ files: makeFiles2(driver), spawner: driver.spawner });
69
69
  }));
70
- var node78 = makeLocationNode({
71
- service: Service76,
70
+ var node59 = makeLocationNode({
71
+ service: Service57,
72
72
  layer,
73
- deps: [CrossSpawnSpawner.node, node81, node79]
73
+ deps: [CrossSpawnSpawner.node, node84, node60]
74
74
  });
75
75
 
76
- export { Service76, node78, exports_environment2, makeFiles2, exports_environment3 };
76
+ export { Service57, node59, exports_environment2, makeFiles2, exports_environment3 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createLocalProviderPlugin2
3
- } from "./model-resolver-0hc4mbjr.js";
3
+ } from "./app-jkv8g5mz.js";
4
4
 
5
5
  // src/plugin/provider/lmstudio.ts
6
6
  import { Effect, Schema } from "effect";
@@ -19,7 +19,7 @@ var RemoteModel = Schema.Struct({
19
19
  }).pipe(Schema.optional)
20
20
  });
21
21
  var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
22
- var make9 = createLocalProviderPlugin2({
22
+ var make10 = createLocalProviderPlugin2({
23
23
  id: "opencode.provider.lmstudio",
24
24
  providerID: "lmstudio",
25
25
  name: "LM Studio",
@@ -38,6 +38,6 @@ var make9 = createLocalProviderPlugin2({
38
38
  context: item.loaded_instances.length === 0 ? item.max_context_length : Math.min(...item.loaded_instances.map((instance) => instance.config.context_length))
39
39
  })
40
40
  });
41
- var LMStudioPlugin2 = make9();
41
+ var LMStudioPlugin2 = make10();
42
42
 
43
- export { make9, LMStudioPlugin2 };
43
+ export { make10, LMStudioPlugin2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID8
3
- } from "./model-resolver-0542bm0d.js";
2
+ ID12
3
+ } from "./app-y77syfze.js";
4
4
 
5
5
  // src/plugin/provider/amazon-bedrock.ts
6
6
  import { Effect } from "effect";
@@ -18,7 +18,7 @@ var AmazonBedrockPlugin2 = define({
18
18
  effect: Effect.fn(function* (ctx) {
19
19
  yield* ctx.integration.transform((editor) => {
20
20
  editor.method.update({
21
- integrationID: ID8.amazonBedrock,
21
+ integrationID: ID12.amazonBedrock,
22
22
  method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
23
23
  });
24
24
  });
@@ -1,56 +1,56 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./model-resolver-qzpwn43k.js";
4
+ } from "./app-5vgy46me.js";
5
5
  import {
6
- Event17,
7
- Service69,
8
- node71
9
- } from "./model-resolver-qk7srzz2.js";
6
+ Event19,
7
+ Service75,
8
+ node79
9
+ } from "./app-rrfvxgdj.js";
10
10
  import {
11
- Service60,
12
- node62
13
- } from "./model-resolver-e4knw194.js";
11
+ Service69,
12
+ node73
13
+ } from "./app-1h0m70r1.js";
14
14
  import {
15
15
  AbsolutePath2
16
- } from "./model-resolver-z5v4ffb3.js";
16
+ } from "./app-z5v4ffb3.js";
17
17
  import {
18
- Service78,
19
- node81
20
- } from "./model-resolver-3x6h1yzc.js";
18
+ Service80,
19
+ node84
20
+ } from "./app-fh6mwhcg.js";
21
21
  import {
22
22
  substitute2
23
- } from "./model-resolver-4ts7tf6z.js";
23
+ } from "./app-2ccvkpx1.js";
24
24
  import {
25
25
  normalize2
26
- } from "./model-resolver-sd38pwsj.js";
26
+ } from "./app-0xymhvjv.js";
27
27
  import {
28
28
  names4,
29
29
  discover3
30
- } from "./model-resolver-07nx60wz.js";
30
+ } from "./app-vpw5h8ff.js";
31
31
  import {
32
32
  plan2
33
- } from "./model-resolver-j56e64zr.js";
33
+ } from "./app-j56e64zr.js";
34
34
  import {
35
- Service61,
36
- Event12,
37
- node63
38
- } from "./model-resolver-vsmhcm1n.js";
35
+ Service70,
36
+ Event15,
37
+ node74
38
+ } from "./app-amtff23s.js";
39
39
  import {
40
40
  __export
41
- } from "./model-resolver-9rqn6x4v.js";
41
+ } from "./app-9rqn6x4v.js";
42
42
 
43
43
  // src/config.ts
44
44
  var exports_config = {};
45
45
  __export(exports_config, {
46
46
  Config: () => exports_config,
47
- Options: () => Options7,
48
- Service: () => Service59,
47
+ Options: () => Options8,
48
+ Service: () => Service68,
49
49
  Test: () => Test2,
50
- configured: () => configured7,
50
+ configured: () => configured10,
51
51
  latest: () => latest2,
52
- layer: () => layer20,
53
- node: () => node61,
52
+ layer: () => layer23,
53
+ node: () => node72,
54
54
  testLayer: () => testLayer2
55
55
  });
56
56
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
64
64
  function latest2(entries, key) {
65
65
  return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
66
66
  }
67
- var Options7 = Schema.Struct({
67
+ var Options8 = Schema.Struct({
68
68
  project: Schema.optional(Schema.Boolean),
69
69
  global: Schema.optional(Schema.Boolean),
70
70
  file: Schema.optional(Schema.String),
71
71
  content: Schema.optional(Schema.String)
72
72
  });
73
73
 
74
- class Service59 extends Context.Service()("@opencode/Config") {
74
+ class Service68 extends Context.Service()("@opencode/Config") {
75
75
  }
76
76
 
77
77
  class Test2 extends Context.Service()("@opencode/Config/Test") {
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
89
89
  setEntries: (next) => Ref.set(entries, next),
90
90
  emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
91
91
  });
92
- return Context.empty().pipe(Context.add(Service59, service), Context.add(Test2, service));
92
+ return Context.empty().pipe(Context.add(Service68, service), Context.add(Test2, service));
93
93
  }));
94
- var layer20 = (options) => Layer.effect(Service59, Effect.gen(function* () {
94
+ var layer23 = (options) => Layer.effect(Service68, Effect.gen(function* () {
95
95
  const fs = yield* FSUtil.Service;
96
- const location = yield* Service78;
97
- const watcher = yield* Service60;
96
+ const location = yield* Service80;
97
+ const watcher = yield* Service69;
98
98
  const bus = yield* Service83;
99
- const credentials = yield* Service69;
99
+ const credentials = yield* Service75;
100
100
  const globalService = yield* Global.Service;
101
- const wellknown = yield* Service61;
101
+ const wellknown = yield* Service70;
102
102
  const reloadLock = Semaphore.makeUnsafe(1);
103
103
  const updateLock = Semaphore.makeUnsafe(1);
104
104
  const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
@@ -221,8 +221,8 @@ var layer20 = (options) => Layer.effect(Service59, Effect.gen(function* () {
221
221
  }, (effect) => reloadLock.withPermit(effect));
222
222
  const pendingReloads = yield* PubSub.subscribe(reloads);
223
223
  yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
224
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
225
- yield* bus.subscribe(Event12.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
224
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
225
+ yield* bus.subscribe(Event15.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
226
226
  yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
227
227
  if (!wellknown.snapshot().length)
228
228
  return Effect.void;
@@ -250,7 +250,7 @@ var layer20 = (options) => Layer.effect(Service59, Effect.gen(function* () {
250
250
  `);
251
251
  yield* requestReload;
252
252
  }, (effect) => updateLock.withPermit(effect));
253
- return Service59.of({
253
+ return Service68.of({
254
254
  entries: Effect.fnUntraced(function* () {
255
255
  return configs;
256
256
  }),
@@ -262,13 +262,13 @@ var layer20 = (options) => Layer.effect(Service59, Effect.gen(function* () {
262
262
  update
263
263
  });
264
264
  }));
265
- function configured7(options) {
265
+ function configured10(options) {
266
266
  return makeLocationNode({
267
- service: Service59,
268
- layer: layer20(options),
269
- deps: [node62, node87, FSUtil.node, Global.node, node81, node71, node63]
267
+ service: Service68,
268
+ layer: layer23(options),
269
+ deps: [node73, node87, FSUtil.node, Global.node, node84, node79, node74]
270
270
  });
271
271
  }
272
- var node61 = configured7();
272
+ var node72 = configured10();
273
273
 
274
- export { latest2, Options7, Service59, Test2, testLayer2, layer20, configured7, node61, exports_config };
274
+ export { latest2, Options8, Service68, Test2, testLayer2, layer23, configured10, node72, exports_config };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./model-resolver-z5v4ffb3.js";
3
+ } from "./app-z5v4ffb3.js";
4
4
  import {
5
- Info12
6
- } from "./model-resolver-a8bn8zg0.js";
5
+ Info18
6
+ } from "./app-2pnhn36q.js";
7
7
  import {
8
8
  __export
9
- } from "./model-resolver-9rqn6x4v.js";
9
+ } from "./app-9rqn6x4v.js";
10
10
 
11
11
  // src/v1/config/agent.ts
12
- var exports_agent3 = {};
13
- __export(exports_agent3, {
14
- ConfigAgentV1: () => exports_agent3,
15
- Info: () => Info11
12
+ var exports_agent4 = {};
13
+ __export(exports_agent4, {
14
+ ConfigAgentV1: () => exports_agent4,
15
+ Info: () => Info17
16
16
  });
17
17
  import { Schema, SchemaGetter } from "effect";
18
18
  var Color = Schema.Union([
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
44
44
  description: "Maximum number of agentic iterations before forcing text-only response"
45
45
  }),
46
46
  maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
47
- permission: Schema.optional(Info12)
47
+ permission: Schema.optional(Info18)
48
48
  }), [Schema.Record(Schema.String, Schema.Any)]);
49
49
  var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
50
50
  var normalize = (agent) => {
@@ -66,9 +66,9 @@ var normalize = (agent) => {
66
66
  const steps = agent.steps ?? agent.maxSteps;
67
67
  return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
68
68
  };
69
- var Info11 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
69
+ var Info17 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
70
70
  decode: SchemaGetter.transform(normalize),
71
71
  encode: SchemaGetter.passthrough({ strict: false })
72
72
  })).annotate({ identifier: "AgentConfig" });
73
73
 
74
- export { Info11, exports_agent3 };
74
+ export { Info17, exports_agent4 };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./model-resolver-qzpwn43k.js";
4
+ } from "./app-5vgy46me.js";
5
5
  import {
6
6
  PATCH_CONTEXT_LINES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
8
8
  emptyPatch2
9
- } from "./model-resolver-tazgh4e4.js";
9
+ } from "./app-tazgh4e4.js";
10
10
  import {
11
11
  root2
12
- } from "./model-resolver-19v7rzjh.js";
12
+ } from "./app-apkykmcv.js";
13
13
  import {
14
- Service78,
15
- node81
16
- } from "./model-resolver-3x6h1yzc.js";
14
+ Service80,
15
+ node84
16
+ } from "./app-fh6mwhcg.js";
17
17
  import {
18
18
  reconcile2,
19
19
  create3
20
- } from "./model-resolver-rdw6cm16.js";
20
+ } from "./app-rdw6cm16.js";
21
21
  import {
22
22
  __export
23
- } from "./model-resolver-9rqn6x4v.js";
23
+ } from "./app-9rqn6x4v.js";
24
24
 
25
25
  // src/vcs.ts
26
26
  var exports_vcs = {};
@@ -29,18 +29,18 @@ __export(exports_vcs, {
29
29
  BranchList: () => BranchList2,
30
30
  DiffError: () => DiffError2,
31
31
  FileStatus: () => FileStatus2,
32
- Info: () => Info5,
32
+ Info: () => Info4,
33
33
  InitializeError: () => InitializeError2,
34
34
  Mode: () => Mode2,
35
- Service: () => Service32,
35
+ Service: () => Service21,
36
36
  Vcs: () => exports_vcs,
37
- node: () => node35
37
+ node: () => node24
38
38
  });
39
39
  import path from "path";
40
40
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
41
41
  import { FileDiff } from "@opencode/schema/file-diff";
42
42
  import { FileSystem } from "@opencode/schema/filesystem";
43
- import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info5, Mode as Mode2 } from "@opencode/schema/vcs";
43
+ import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info4, Mode as Mode2 } from "@opencode/schema/vcs";
44
44
  import { VcsEvent } from "@opencode/schema/vcs-event";
45
45
  import { makeLocationNode } from "@opencode/util/effect/app-node";
46
46
  import { FSUtil } from "@opencode/util/fs-util";
@@ -54,11 +54,11 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
54
54
  }) {
55
55
  }
56
56
 
57
- class Service32 extends Context.Service()("@opencode/Vcs") {
57
+ class Service21 extends Context.Service()("@opencode/Vcs") {
58
58
  }
59
- var layer = Layer.effect(Service32, Effect.gen(function* () {
59
+ var layer = Layer.effect(Service21, Effect.gen(function* () {
60
60
  const fs = yield* FSUtil.Service;
61
- const location = yield* Service78;
61
+ const location = yield* Service80;
62
62
  const bus = yield* Service83;
63
63
  const root = yield* Effect.scope;
64
64
  const fork = yield* FiberSet.makeRuntime();
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
71
71
  canonical: location.project.canonical,
72
72
  ...vcs ? { store: vcs.store } : {}
73
73
  };
74
- const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info5));
74
+ const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info4));
75
75
  const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
76
76
  const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
77
77
  const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
129
129
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
130
130
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
131
131
  }
132
- return Service32.of({
132
+ return Service21.of({
133
133
  transform: state.transform,
134
134
  reload: state.reload,
135
135
  initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
@@ -187,10 +187,10 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
187
187
  })
188
188
  });
189
189
  }));
190
- var node35 = makeLocationNode({
191
- service: Service32,
190
+ var node24 = makeLocationNode({
191
+ service: Service21,
192
192
  layer,
193
- deps: [FSUtil.node, node81, node87]
193
+ deps: [FSUtil.node, node84, node87]
194
194
  });
195
195
 
196
- export { Base2, BranchList2, FileStatus2, Info5, Mode2, DiffError2, InitializeError2, Service32, node35, exports_vcs };
196
+ export { Base2, BranchList2, FileStatus2, Info4, Mode2, DiffError2, InitializeError2, Service21, node24, exports_vcs };