@opencode/core 0.0.0-dev-19714 → 0.0.0-dev-19716

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 (790) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{model-resolver-hvxy08g5.js → location-03vb6nv0.js} +16 -16
  8. package/dist/chunks/{model-resolver-g1f3nzyq.js → location-04rxcna7.js} +12 -12
  9. package/dist/chunks/{model-resolver-37w67f0s.js → location-07agr24d.js} +4 -4
  10. package/dist/chunks/{model-resolver-pdqjgxh5.js → location-0e2d0my9.js} +41 -41
  11. package/dist/chunks/{model-resolver-avm8jn6n.js → location-0f9afca0.js} +5 -5
  12. package/dist/chunks/{model-resolver-a4y05av3.js → location-0hts9xpv.js} +34 -34
  13. package/dist/chunks/{model-resolver-0paq2nw3.js → location-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{model-resolver-0q0f95c6.js → location-0q0f95c6.js} +1 -1
  15. package/dist/chunks/{model-resolver-n2sfrcvm.js → location-0v5xzxqh.js} +9 -9
  16. package/dist/chunks/{model-resolver-gw1g6bxq.js → location-10aqkgyz.js} +38 -38
  17. package/dist/chunks/{model-resolver-gnp856re.js → location-15krg189.js} +11 -11
  18. package/dist/chunks/{model-resolver-aeqcmxjy.js → location-16515e26.js} +4 -4
  19. package/dist/chunks/{model-resolver-m879hchs.js → location-16w9ders.js} +20 -20
  20. package/dist/chunks/{model-resolver-tc5jn9f0.js → location-17mnmpxr.js} +31 -31
  21. package/dist/chunks/{model-resolver-1dazxqgg.js → location-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{model-resolver-wgyq80v0.js → location-1g4swf33.js} +8 -8
  23. package/dist/chunks/{model-resolver-jfqtm2ew.js → location-1g7epwpd.js} +7 -7
  24. package/dist/chunks/{model-resolver-n7ec94wg.js → location-1p5sngkf.js} +20 -20
  25. package/dist/chunks/{model-resolver-d92zep6j.js → location-1zmmndd6.js} +3 -3
  26. package/dist/chunks/{model-resolver-21r38tys.js → location-21r38tys.js} +1 -1
  27. package/dist/chunks/{model-resolver-hbecdtej.js → location-29069r0y.js} +10 -10
  28. package/dist/chunks/{model-resolver-2a5m3afh.js → location-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{model-resolver-qwhb49p5.js → location-2av5k0ex.js} +13 -13
  30. package/dist/chunks/{model-resolver-xqjcyj9c.js → location-2f31fhhr.js} +3 -3
  31. package/dist/chunks/{model-resolver-0tj19dxf.js → location-2jyc838z.js} +32 -32
  32. package/dist/chunks/{model-resolver-fcrkznn8.js → location-2k8khapm.js} +5 -5
  33. package/dist/chunks/{model-resolver-mae1f2vv.js → location-2rjsj06d.js} +26 -26
  34. package/dist/chunks/{model-resolver-jvf3yq6v.js → location-2vs2nh1n.js} +4 -4
  35. package/dist/chunks/{model-resolver-c2qzrg7b.js → location-2zpv682r.js} +8 -8
  36. package/dist/chunks/{model-resolver-43yktx36.js → location-341nwn3y.js} +11 -11
  37. package/dist/chunks/{model-resolver-797kpq2p.js → location-36nh78em.js} +11 -11
  38. package/dist/chunks/{model-resolver-3fc6dm20.js → location-3fc6dm20.js} +1 -1
  39. package/dist/chunks/{model-resolver-3hepkmqq.js → location-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{model-resolver-3smtnn6g.js → location-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{model-resolver-3tvqynh2.js → location-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{model-resolver-j7bcq5se.js → location-3tx7s8ws.js} +10 -10
  43. package/dist/chunks/{model-resolver-54pcgdgx.js → location-40h225zc.js} +4 -4
  44. package/dist/chunks/{model-resolver-w7ejeta8.js → location-446f22m8.js} +23 -23
  45. package/dist/chunks/{model-resolver-g25ey1zv.js → location-47dwvvdh.js} +4 -4
  46. package/dist/chunks/{model-resolver-3a7v3mfb.js → location-49yfp6qw.js} +3 -3
  47. package/dist/chunks/{model-resolver-9p3ceqmc.js → location-4cme8wqz.js} +9 -9
  48. package/dist/chunks/{model-resolver-19x634pp.js → location-4mxy4x30.js} +27 -27
  49. package/dist/chunks/{model-resolver-xq5wqvhk.js → location-4tcynec1.js} +11 -11
  50. package/dist/chunks/{model-resolver-rd82n06c.js → location-4y6aj75k.js} +2 -2
  51. package/dist/chunks/{model-resolver-510m7gjw.js → location-510m7gjw.js} +2 -2
  52. package/dist/chunks/{model-resolver-mfqp6xfm.js → location-56gdpj1q.js} +6 -6
  53. package/dist/chunks/{model-resolver-57ez7d0k.js → location-57ez7d0k.js} +2 -2
  54. package/dist/chunks/{model-resolver-88sz8qcd.js → location-5c0f1prt.js} +4 -4
  55. package/dist/chunks/{model-resolver-5c4hm403.js → location-5c4hm403.js} +3 -3
  56. package/dist/chunks/{model-resolver-kjexfpn9.js → location-5d3r82j4.js} +11 -11
  57. package/dist/chunks/{model-resolver-5daktx2q.js → location-5daktx2q.js} +1 -1
  58. package/dist/chunks/{model-resolver-e3qxr5gk.js → location-5qd3pb7m.js} +2 -2
  59. package/dist/chunks/{model-resolver-dsqfhhxw.js → location-5sdpey35.js} +6 -6
  60. package/dist/chunks/{model-resolver-5t3nmthw.js → location-5t3nmthw.js} +2 -2
  61. package/dist/chunks/{model-resolver-669tq793.js → location-669tq793.js} +1 -1
  62. package/dist/chunks/{model-resolver-4hcdp5hb.js → location-66hnwthb.js} +18 -18
  63. package/dist/chunks/{model-resolver-1g2j4a9r.js → location-66xnrqgf.js} +15 -15
  64. package/dist/chunks/{model-resolver-szrkjaj8.js → location-67yf8xyg.js} +13 -13
  65. package/dist/chunks/{model-resolver-bxvw9c4f.js → location-6bjvpy3z.js} +30 -30
  66. package/dist/chunks/{model-resolver-ps87kzvs.js → location-6c52q5tt.js} +16 -16
  67. package/dist/chunks/{model-resolver-y8s1zs8h.js → location-6dcjsk18.js} +13 -13
  68. package/dist/chunks/{model-resolver-5pmj86cf.js → location-6gqfwrv9.js} +23 -23
  69. package/dist/chunks/{model-resolver-2402vzrj.js → location-6h73sxmp.js} +5 -5
  70. package/dist/chunks/{model-resolver-6msgmcgs.js → location-6msgmcgs.js} +1 -1
  71. package/dist/chunks/{model-resolver-qvsy8jwx.js → location-6my6xgtn.js} +18 -18
  72. package/dist/chunks/{model-resolver-7bmhse3q.js → location-7bmhse3q.js} +1 -1
  73. package/dist/chunks/{model-resolver-y57wc7ze.js → location-7jje38px.js} +87 -87
  74. package/dist/chunks/{model-resolver-hg488ry8.js → location-7md7yvmw.js} +21 -21
  75. package/dist/chunks/{model-resolver-w7wmj8nh.js → location-7njqjn6e.js} +31 -31
  76. package/dist/chunks/{model-resolver-sa4vrjjn.js → location-7np6y5v9.js} +12 -12
  77. package/dist/chunks/{model-resolver-4e8vs6eh.js → location-7s451enq.js} +8 -8
  78. package/dist/chunks/{model-resolver-6cv92x4b.js → location-7tzqssjy.js} +8 -8
  79. package/dist/chunks/{model-resolver-n8c291r7.js → location-7w3s9kd0.js} +6 -6
  80. package/dist/chunks/{model-resolver-vzvmv61a.js → location-7w60vn1f.js} +41 -41
  81. package/dist/chunks/{model-resolver-s2b6rjy8.js → location-80rhzvyv.js} +16 -16
  82. package/dist/chunks/{model-resolver-6j6rjarh.js → location-8753ede7.js} +8 -8
  83. package/dist/chunks/{model-resolver-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
  84. package/dist/chunks/{model-resolver-w0x80a1d.js → location-8ggx16vj.js} +1 -1
  85. package/dist/chunks/{model-resolver-dvh6e8nq.js → location-8gmdrp80.js} +2 -2
  86. package/dist/chunks/{model-resolver-0gzst43f.js → location-8h1wbkf2.js} +28 -25
  87. package/dist/chunks/{model-resolver-9ae838bd.js → location-8qaxm4pj.js} +9 -9
  88. package/dist/chunks/{model-resolver-grkqts8z.js → location-8r7r9fdq.js} +14 -14
  89. package/dist/chunks/{model-resolver-6dpxe5wv.js → location-8rp7g9cy.js} +40 -40
  90. package/dist/chunks/{model-resolver-6p3xqd60.js → location-8sgh5qkz.js} +1 -1
  91. package/dist/chunks/{model-resolver-vmakrqm7.js → location-945gedbd.js} +9 -9
  92. package/dist/chunks/{model-resolver-5pf115b2.js → location-96vnqt3j.js} +7 -7
  93. package/dist/chunks/{model-resolver-jkbwdfs8.js → location-99jmq6zc.js} +24 -24
  94. package/dist/chunks/{model-resolver-1sr9wk0z.js → location-9da2ad09.js} +23 -23
  95. package/dist/chunks/{model-resolver-3te71xag.js → location-9f4em37r.js} +15 -15
  96. package/dist/chunks/{model-resolver-k60bgaqn.js → location-9fmj559e.js} +22 -22
  97. package/dist/chunks/{model-resolver-1v4fec1y.js → location-9rrewzca.js} +11 -11
  98. package/dist/chunks/{model-resolver-rcz1rf0a.js → location-9ttjsn7w.js} +11 -11
  99. package/dist/chunks/{model-resolver-kmk2vv10.js → location-9w8twnxw.js} +12 -12
  100. package/dist/chunks/{model-resolver-a3r4dcrj.js → location-a3r4dcrj.js} +2 -2
  101. package/dist/chunks/{model-resolver-12x7tyn7.js → location-a4fef9kt.js} +17 -17
  102. package/dist/chunks/{model-resolver-c20khjev.js → location-a8bn8zg0.js} +21 -21
  103. package/dist/chunks/{model-resolver-aaet6srn.js → location-aaet6srn.js} +2 -2
  104. package/dist/chunks/{model-resolver-g22wph12.js → location-acetg5m5.js} +24 -24
  105. package/dist/chunks/{model-resolver-b5hby8zf.js → location-aeghxbft.js} +9 -9
  106. package/dist/chunks/{model-resolver-mvydm7va.js → location-af5hkrde.js} +4 -4
  107. package/dist/chunks/{model-resolver-s5qg1d5b.js → location-agz7cdrt.js} +3 -3
  108. package/dist/chunks/{model-resolver-91p1v22t.js → location-ahd542yp.js} +8 -8
  109. package/dist/chunks/{model-resolver-wq0zvr2n.js → location-ak8tfqh0.js} +10 -10
  110. package/dist/chunks/{model-resolver-cbkyy13e.js → location-aqb83mxp.js} +32 -32
  111. package/dist/chunks/{model-resolver-0wmjfan7.js → location-aqjkr82e.js} +11 -11
  112. package/dist/chunks/{model-resolver-cvn0pq7m.js → location-ar8f19jx.js} +4 -4
  113. package/dist/chunks/{model-resolver-j7k61pcz.js → location-ar97txna.js} +26 -26
  114. package/dist/chunks/{model-resolver-vje7zzhn.js → location-ayc4235b.js} +6 -6
  115. package/dist/chunks/{model-resolver-b6gygkdw.js → location-b6gygkdw.js} +2 -2
  116. package/dist/chunks/{model-resolver-3k1d3fsa.js → location-bq5cns8k.js} +28 -28
  117. package/dist/chunks/{model-resolver-07770t2t.js → location-bqszwq89.js} +4 -4
  118. package/dist/chunks/{model-resolver-qgwyt9kf.js → location-c35r68nx.js} +20 -20
  119. package/dist/chunks/{model-resolver-s8skvdk2.js → location-c6mftpmm.js} +12 -12
  120. package/dist/chunks/{model-resolver-09kan382.js → location-c7cfwd58.js} +28 -28
  121. package/dist/chunks/{model-resolver-26x0xdfb.js → location-cachp1nz.js} +31 -31
  122. package/dist/chunks/{model-resolver-t4zcj5pn.js → location-ceayma22.js} +8 -8
  123. package/dist/chunks/{model-resolver-21v8w307.js → location-cg60qzy9.js} +8 -8
  124. package/dist/chunks/{model-resolver-mtc1r9z5.js → location-cj7xm2yn.js} +47 -47
  125. package/dist/chunks/{model-resolver-4tvste0q.js → location-ckzk2jkt.js} +2 -2
  126. package/dist/chunks/{model-resolver-kycpm9x6.js → location-cxrs0jvz.js} +9 -9
  127. package/dist/chunks/{model-resolver-tpw6cwsb.js → location-czfptnv9.js} +8 -8
  128. package/dist/chunks/{model-resolver-er91jp3n.js → location-d5hmfdq1.js} +10 -10
  129. package/dist/chunks/{model-resolver-7z4dgn25.js → location-dbhy9y10.js} +11 -11
  130. package/dist/chunks/{model-resolver-k2f8e2fb.js → location-dbk0wazz.js} +19 -19
  131. package/dist/chunks/{model-resolver-zq6stcrg.js → location-dh75pk8w.js} +5 -5
  132. package/dist/chunks/{model-resolver-dj2t23y0.js → location-dj2t23y0.js} +2 -2
  133. package/dist/chunks/{model-resolver-dpkg50ah.js → location-dpkg50ah.js} +1 -1
  134. package/dist/chunks/{model-resolver-4fqcgg66.js → location-e6t6afcf.js} +19 -19
  135. package/dist/chunks/{model-resolver-sej7e0cf.js → location-ec8389mk.js} +4 -4
  136. package/dist/chunks/{model-resolver-ef5x83kb.js → location-ef5x83kb.js} +1 -1
  137. package/dist/chunks/{model-resolver-etq0c3wd.js → location-etq0c3wd.js} +1 -1
  138. package/dist/chunks/{model-resolver-xsgfbn57.js → location-etrrypk7.js} +32 -32
  139. package/dist/chunks/{model-resolver-yp2x3t23.js → location-f2n192rq.js} +4 -4
  140. package/dist/chunks/{model-resolver-fab8hzt3.js → location-fab8hzt3.js} +4 -4
  141. package/dist/chunks/{model-resolver-fxkmg59r.js → location-fppj5by2.js} +22 -22
  142. package/dist/chunks/{model-resolver-fxbjtjnd.js → location-fxbjtjnd.js} +1 -1
  143. package/dist/chunks/{model-resolver-h0za90c7.js → location-g43kd5zb.js} +11 -11
  144. package/dist/chunks/{model-resolver-280hqnth.js → location-g8kqh204.js} +15 -15
  145. package/dist/chunks/{model-resolver-gd4qta3r.js → location-gd4qta3r.js} +1 -1
  146. package/dist/chunks/{model-resolver-c8eb5bxh.js → location-gfxbkdwe.js} +31 -31
  147. package/dist/chunks/{model-resolver-gv6a8nnw.js → location-gv6a8nnw.js} +2 -2
  148. package/dist/chunks/{model-resolver-ymcr6gjs.js → location-gw1r2wcq.js} +9 -9
  149. package/dist/chunks/{model-resolver-h03wrkyp.js → location-h03wrkyp.js} +2 -2
  150. package/dist/chunks/{model-resolver-h6r3nrb9.js → location-h6r3nrb9.js} +1 -1
  151. package/dist/chunks/{model-resolver-h6vf3j39.js → location-h6vf3j39.js} +1 -1
  152. package/dist/chunks/{model-resolver-hdnk95c8.js → location-hdnk95c8.js} +2 -2
  153. package/dist/chunks/{model-resolver-b662eqrs.js → location-hedyh7s6.js} +29 -29
  154. package/dist/chunks/{model-resolver-sxk5rhme.js → location-hhanhgqp.js} +47 -47
  155. package/dist/chunks/{model-resolver-6vcd148b.js → location-hjrr39kg.js} +32 -32
  156. package/dist/chunks/{model-resolver-py5agcrg.js → location-j0d9e70d.js} +12 -12
  157. package/dist/chunks/{model-resolver-qqtwvk4z.js → location-j15mfg1p.js} +6 -6
  158. package/dist/chunks/{model-resolver-j56e64zr.js → location-j56e64zr.js} +1 -1
  159. package/dist/chunks/{model-resolver-jppvw2tx.js → location-jppvw2tx.js} +2 -2
  160. package/dist/chunks/{model-resolver-7jjj6fmh.js → location-jr53dr5m.js} +24 -24
  161. package/dist/chunks/location-jt1k8a7s.js +478 -0
  162. package/dist/chunks/{model-resolver-7ewmrn6e.js → location-jtq6z7z2.js} +1 -1
  163. package/dist/chunks/{model-resolver-gzgc3wej.js → location-jz02bzhy.js} +32 -32
  164. package/dist/chunks/{model-resolver-jsvzcvkq.js → location-k05f6hb9.js} +11 -11
  165. package/dist/chunks/{model-resolver-99qst2hg.js → location-kkdjd7sx.js} +32 -32
  166. package/dist/chunks/{model-resolver-t4pxw6gg.js → location-kqgc0d2k.js} +8 -8
  167. package/dist/chunks/{model-resolver-x442ch9z.js → location-kszj9asf.js} +1 -1
  168. package/dist/chunks/{model-resolver-136t2gc4.js → location-kyxg2szg.js} +13 -13
  169. package/dist/chunks/{model-resolver-m0jqrx5p.js → location-m0jqrx5p.js} +2 -2
  170. package/dist/chunks/{model-resolver-1e3gp6z5.js → location-m14n58wx.js} +3 -3
  171. package/dist/chunks/{model-resolver-m3fdjcah.js → location-m3fdjcah.js} +1 -1
  172. package/dist/chunks/{model-resolver-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
  173. package/dist/chunks/{model-resolver-32hhr2bd.js → location-mhafq4c6.js} +22 -22
  174. package/dist/chunks/{model-resolver-61bshzb4.js → location-mp468g0n.js} +21 -21
  175. package/dist/chunks/{model-resolver-w3nq1sqw.js → location-mqw5201m.js} +9 -9
  176. package/dist/chunks/{model-resolver-h96pgs48.js → location-msvegwct.js} +8 -8
  177. package/dist/chunks/{model-resolver-73tb2d7t.js → location-mvfsc1pv.js} +3 -3
  178. package/dist/chunks/{model-resolver-77t38nde.js → location-mxwfqr9b.js} +77 -77
  179. package/dist/chunks/{model-resolver-zpb5kyv6.js → location-ndde06na.js} +13 -13
  180. package/dist/chunks/{model-resolver-e0vtkr8g.js → location-nge3vtdb.js} +6 -6
  181. package/dist/chunks/{model-resolver-exbfn0n5.js → location-nkrk1h0r.js} +10 -10
  182. package/dist/chunks/{model-resolver-re1b4xdv.js → location-nneghs7t.js} +8 -8
  183. package/dist/chunks/{model-resolver-fav965pf.js → location-nyj9qeg3.js} +6 -6
  184. package/dist/chunks/{model-resolver-k3c624dm.js → location-nzks3jc8.js} +3 -3
  185. package/dist/chunks/{model-resolver-fwmj055g.js → location-p17j87wz.js} +31 -31
  186. package/dist/chunks/location-phz3h32g.js +18 -0
  187. package/dist/chunks/{model-resolver-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
  188. package/dist/chunks/{model-resolver-pknna89w.js → location-pknna89w.js} +1 -1
  189. package/dist/chunks/{model-resolver-t96rdxhd.js → location-pktg7h7y.js} +15 -15
  190. package/dist/chunks/{model-resolver-f2bg7dfe.js → location-py190zb7.js} +11 -11
  191. package/dist/chunks/{model-resolver-kewfkj5e.js → location-py6bk7z7.js} +10 -10
  192. package/dist/chunks/{model-resolver-8mrgngee.js → location-q8ba8d8n.js} +35 -35
  193. package/dist/chunks/{model-resolver-xndsvhpx.js → location-qab2nw4t.js} +24 -24
  194. package/dist/chunks/{model-resolver-hkbhb5q6.js → location-qffcmhtj.js} +6 -6
  195. package/dist/chunks/{model-resolver-h3v21342.js → location-qfjfqh5t.js} +28 -28
  196. package/dist/chunks/{model-resolver-57b9ws8p.js → location-qqeeq2t9.js} +4 -4
  197. package/dist/chunks/{model-resolver-qsdy395h.js → location-qsdy395h.js} +1 -1
  198. package/dist/chunks/{model-resolver-djszqvmq.js → location-r2m716tb.js} +9 -9
  199. package/dist/chunks/{model-resolver-y9g5yfg0.js → location-r4m2h3v6.js} +15 -15
  200. package/dist/chunks/{model-resolver-e9bbt0wn.js → location-r92fhvpg.js} +139 -139
  201. package/dist/chunks/{model-resolver-y56ehv6b.js → location-r9w3djhf.js} +9 -9
  202. package/dist/chunks/{model-resolver-d068vn8b.js → location-r9yepgex.js} +25 -25
  203. package/dist/chunks/{model-resolver-rdw6cm16.js → location-rdw6cm16.js} +1 -1
  204. package/dist/chunks/{model-resolver-rhjbct0v.js → location-rhjbct0v.js} +1 -1
  205. package/dist/chunks/{model-resolver-qnenbneg.js → location-rmm87f9n.js} +9 -9
  206. package/dist/chunks/{model-resolver-8gnjjt4m.js → location-rn79xn25.js} +9 -9
  207. package/dist/chunks/location-rnc8y5xx.js +252 -0
  208. package/dist/chunks/{model-resolver-03j0d1mj.js → location-s245t2v6.js} +3 -3
  209. package/dist/chunks/{model-resolver-6rgj1aye.js → location-s2vmkekr.js} +3 -3
  210. package/dist/chunks/{model-resolver-d4h3qc93.js → location-sb9bn2e6.js} +11 -11
  211. package/dist/chunks/{model-resolver-q38hx1yx.js → location-sdehcrsb.js} +9 -9
  212. package/dist/chunks/{model-resolver-knddexfq.js → location-smdb1w7c.js} +10 -10
  213. package/dist/chunks/{model-resolver-h9520sm0.js → location-smdjk38f.js} +15 -15
  214. package/dist/chunks/{model-resolver-cs9gs3bj.js → location-ssvs6b7e.js} +8 -8
  215. package/dist/chunks/{model-resolver-n2q19pyc.js → location-szmqx304.js} +17 -17
  216. package/dist/chunks/{model-resolver-0cwrv3rz.js → location-t81q7vse.js} +18 -18
  217. package/dist/chunks/{model-resolver-ve4pfa0n.js → location-t9zs3egg.js} +4 -4
  218. package/dist/chunks/{model-resolver-tsmnctvy.js → location-taadejx1.js} +20 -20
  219. package/dist/chunks/{model-resolver-tazgh4e4.js → location-tazgh4e4.js} +1 -1
  220. package/dist/chunks/{model-resolver-6706eqrn.js → location-tbfk151j.js} +16 -16
  221. package/dist/chunks/{model-resolver-h90v2x9d.js → location-tbmac1c7.js} +4 -4
  222. package/dist/chunks/{model-resolver-tcezcvh9.js → location-tcezcvh9.js} +1 -1
  223. package/dist/chunks/{model-resolver-qy0qaq8h.js → location-tcjrbdf6.js} +27 -27
  224. package/dist/chunks/{model-resolver-gpanbyjj.js → location-td4xbn75.js} +3 -3
  225. package/dist/chunks/{model-resolver-tdstcens.js → location-tdstcens.js} +1 -1
  226. package/dist/chunks/{model-resolver-q5dg9qes.js → location-tgcb6fx0.js} +28 -28
  227. package/dist/chunks/{model-resolver-wf37p31v.js → location-tnrwzpwm.js} +43 -43
  228. package/dist/chunks/{model-resolver-fb1pb7ec.js → location-tnztkhzv.js} +5 -5
  229. package/dist/chunks/{model-resolver-z6f2y3jk.js → location-tq8nnr3c.js} +37 -37
  230. package/dist/chunks/{model-resolver-tvtrv512.js → location-tvtrv512.js} +1 -1
  231. package/dist/chunks/{model-resolver-z3pw5915.js → location-tz2bjj40.js} +5 -5
  232. package/dist/chunks/{model-resolver-wy2za45w.js → location-v1ddstbj.js} +7 -7
  233. package/dist/chunks/{model-resolver-akv0dm8z.js → location-v5wmmv50.js} +16 -16
  234. package/dist/chunks/{model-resolver-hja6fhvt.js → location-v787tjtf.js} +28 -28
  235. package/dist/chunks/{model-resolver-hxd5vk3m.js → location-vdjm6brp.js} +22 -22
  236. package/dist/chunks/{model-resolver-32n3v4ks.js → location-vedx8cwj.js} +9 -9
  237. package/dist/chunks/{model-resolver-veqvce7d.js → location-veqvce7d.js} +1 -1
  238. package/dist/chunks/{model-resolver-mx9vqzsb.js → location-vqfzq50h.js} +6 -6
  239. package/dist/chunks/location-vtb1hg3s.js +26 -0
  240. package/dist/chunks/{model-resolver-8m6g92fr.js → location-vv5a2hcq.js} +23 -23
  241. package/dist/chunks/{model-resolver-vzcthcp8.js → location-vzcthcp8.js} +1 -1
  242. package/dist/chunks/{model-resolver-843r718v.js → location-w3424jcz.js} +2 -2
  243. package/dist/chunks/{model-resolver-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
  244. package/dist/chunks/{model-resolver-582h4ye8.js → location-w4cxarg0.js} +23 -23
  245. package/dist/chunks/{model-resolver-2eysy4zx.js → location-w4d6fy0p.js} +39 -39
  246. package/dist/chunks/{model-resolver-h28m7sc2.js → location-w7r1czy6.js} +1 -1
  247. package/dist/chunks/{model-resolver-105491yy.js → location-w9daxb4n.js} +55 -55
  248. package/dist/chunks/{model-resolver-8mdv2t2t.js → location-wasd3021.js} +9 -9
  249. package/dist/chunks/{model-resolver-wd87259q.js → location-wd87259q.js} +1 -1
  250. package/dist/chunks/{model-resolver-qzhqhqdj.js → location-wjtkehg3.js} +90 -90
  251. package/dist/chunks/{model-resolver-jt63vget.js → location-wk6w68nx.js} +11 -11
  252. package/dist/chunks/{model-resolver-jg86prm2.js → location-wn5vrjrm.js} +1 -1
  253. package/dist/chunks/{model-resolver-h2rkx437.js → location-wxfpnx53.js} +19 -19
  254. package/dist/chunks/{model-resolver-f4t5cf30.js → location-x0qhwc4r.js} +13 -13
  255. package/dist/chunks/{model-resolver-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
  256. package/dist/chunks/{model-resolver-b4scv1je.js → location-x1frxw2k.js} +7 -7
  257. package/dist/chunks/{model-resolver-p10e02dr.js → location-x7rm4bm5.js} +34 -34
  258. package/dist/chunks/{model-resolver-a0p1bqyg.js → location-xbhkafsn.js} +10 -10
  259. package/dist/chunks/{model-resolver-p55fzyn7.js → location-xgaytrrd.js} +25 -25
  260. package/dist/chunks/{model-resolver-fhs97t90.js → location-xk747vep.js} +8 -8
  261. package/dist/chunks/{model-resolver-4sxejfta.js → location-xtc376qs.js} +5 -5
  262. package/dist/chunks/{model-resolver-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
  263. package/dist/chunks/{model-resolver-tsc91ve6.js → location-y5hz63qk.js} +14 -14
  264. package/dist/chunks/{model-resolver-9afpsfvx.js → location-y6r52svf.js} +19 -19
  265. package/dist/chunks/{model-resolver-6a86sy3s.js → location-y7mhrj1b.js} +11 -11
  266. package/dist/chunks/{model-resolver-8xd21chy.js → location-y7x142mt.js} +11 -11
  267. package/dist/chunks/{model-resolver-mj754nyr.js → location-y9q9tkrd.js} +55 -55
  268. package/dist/chunks/{model-resolver-2qq7qy34.js → location-ybhbtxjg.js} +9 -9
  269. package/dist/chunks/{model-resolver-036p5t1s.js → location-ykv3t8te.js} +4 -4
  270. package/dist/chunks/{model-resolver-g5m51wyg.js → location-yng26616.js} +7 -7
  271. package/dist/chunks/{model-resolver-yrhqyw5v.js → location-yrhqyw5v.js} +1 -1
  272. package/dist/chunks/{model-resolver-s4enseaf.js → location-yrznvahk.js} +2 -2
  273. package/dist/chunks/{model-resolver-4aa2m1a0.js → location-yrzwczvk.js} +13 -13
  274. package/dist/chunks/{model-resolver-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
  275. package/dist/chunks/{model-resolver-q3bxgjqn.js → location-z1mphqcv.js} +4 -4
  276. package/dist/chunks/{model-resolver-fq77vv66.js → location-z5tqk6g1.js} +10 -10
  277. package/dist/chunks/{model-resolver-29x78va6.js → location-z63w68vq.js} +6 -6
  278. package/dist/chunks/{model-resolver-37med0fv.js → location-z7h5xcrq.js} +3 -3
  279. package/dist/chunks/{model-resolver-q378wj2a.js → location-z82a5ak4.js} +11 -11
  280. package/dist/chunks/{model-resolver-mcjy4xdq.js → location-zbf3s7c4.js} +25 -25
  281. package/dist/chunks/{model-resolver-zeh9ct20.js → location-zeh9ct20.js} +2 -2
  282. package/dist/chunks/{model-resolver-scq4khx8.js → location-zhq6vg7a.js} +1 -1
  283. package/dist/chunks/{model-resolver-b29mbqx6.js → location-zk8c4w5t.js} +5 -5
  284. package/dist/chunks/{model-resolver-xfdrc2qg.js → location-zqx8wcya.js} +2 -2
  285. package/dist/chunks/{model-resolver-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{model-resolver-zxq2ej10.js → location-zxq2ej10.js} +1 -1
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +7 -7
  289. package/dist/codemode/tool.js +3 -3
  290. package/dist/codemode/web.js +1 -1
  291. package/dist/command.js +84 -84
  292. package/dist/config/discovery.js +81 -81
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +105 -105
  295. package/dist/config/plugin/agent.js +122 -122
  296. package/dist/config/plugin/command.js +211 -211
  297. package/dist/config/plugin/compaction.js +159 -159
  298. package/dist/config/plugin/compatibility.js +140 -140
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +123 -123
  301. package/dist/config/plugin/image.js +122 -122
  302. package/dist/config/plugin/instruction.js +89 -89
  303. package/dist/config/plugin/location-watcher.js +124 -124
  304. package/dist/config/plugin/mcp.js +129 -129
  305. package/dist/config/plugin/policy.js +122 -122
  306. package/dist/config/plugin/provider.js +122 -122
  307. package/dist/config/plugin/reference.js +124 -124
  308. package/dist/config/plugin/shell.js +122 -122
  309. package/dist/config/plugin/skill-file.js +101 -101
  310. package/dist/config/plugin/skill.js +141 -141
  311. package/dist/config/plugin/snapshot.js +122 -122
  312. package/dist/config/plugin/source.js +123 -123
  313. package/dist/config/plugin/tool-output.js +124 -124
  314. package/dist/config/plugin/websearch.js +121 -121
  315. package/dist/config/plugin/worktree.js +124 -124
  316. package/dist/config/variable.js +3 -3
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +127 -127
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +72 -72
  321. package/dist/database/database.js +69 -69
  322. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +13 -13
  326. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  329. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  337. package/dist/database/drizzle.js +14 -14
  338. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  339. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  340. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  341. package/dist/database/migration/20260225215848_workspace.js +1 -1
  342. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  343. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  344. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  345. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  346. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  347. package/dist/database/migration/20260323234822_events.js +1 -1
  348. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  349. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  350. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  351. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  352. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  353. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  354. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  355. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  356. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  357. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  358. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  359. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  360. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  361. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  362. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  363. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  364. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  365. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  366. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  367. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  368. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  369. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  370. package/dist/database/migration/20260611035744_credential.js +1 -1
  371. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  372. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  373. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  374. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  375. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  376. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  377. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  378. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  379. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  380. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  381. package/dist/database/migration/20260812213948_worktree.js +1 -1
  382. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  383. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  384. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  385. package/dist/database/migration.gen.js +48 -48
  386. package/dist/database/migration.js +50 -50
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +78 -78
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +366 -366
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +1 -1
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +92 -92
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +94 -94
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +1 -1
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +73 -73
  410. package/dist/file-access.js +103 -103
  411. package/dist/file-mutation.js +93 -93
  412. package/dist/file-retention.js +1 -1
  413. package/dist/file.js +1 -1
  414. package/dist/filesystem/fff.bun.js +2 -2
  415. package/dist/filesystem/fff.js +1 -1
  416. package/dist/filesystem/fff.node.js +2 -2
  417. package/dist/filesystem/fff.workerd.js +2 -2
  418. package/dist/filesystem/ignore.js +1 -1
  419. package/dist/filesystem/location-watcher-policy.js +6 -6
  420. package/dist/filesystem/location-watcher.js +226 -226
  421. package/dist/filesystem/protected.js +1 -1
  422. package/dist/filesystem/search.js +100 -100
  423. package/dist/filesystem/watcher-binding.js +3 -3
  424. package/dist/filesystem/watcher.js +15 -15
  425. package/dist/filesystem.js +99 -99
  426. package/dist/form.js +69 -69
  427. package/dist/formatter/builtins.js +4 -4
  428. package/dist/formatter.js +86 -86
  429. package/dist/generate.js +104 -104
  430. package/dist/git.js +10 -10
  431. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  432. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  433. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  435. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  437. package/dist/github-copilot/copilot-provider.js +17 -17
  438. package/dist/github-copilot/models.js +90 -90
  439. package/dist/github-copilot/openai-compatible-error.js +1 -1
  440. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  441. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  442. package/dist/github-copilot/responses/openai-error.js +1 -1
  443. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  444. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  445. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  446. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  447. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  450. package/dist/id/id.js +1 -1
  451. package/dist/image/photon.js +2 -2
  452. package/dist/image.js +6 -6
  453. package/dist/instance/service.js +5 -5
  454. package/dist/instance.js +357 -357
  455. package/dist/instruction-discovery.js +84 -84
  456. package/dist/instructions/builtins.js +86 -86
  457. package/dist/instructions/index.js +1 -1
  458. package/dist/integration/connection.js +1 -1
  459. package/dist/integration.js +75 -75
  460. package/dist/job.js +78 -78
  461. package/dist/kv/sql.js +2 -2
  462. package/dist/kv.js +72 -72
  463. package/dist/location-activity.js +134 -134
  464. package/dist/location-lifecycle.js +105 -105
  465. package/dist/location-mutation.js +103 -103
  466. package/dist/location-service-map.js +85 -85
  467. package/dist/location-services.js +354 -354
  468. package/dist/location.js +80 -80
  469. package/dist/mcp/client.js +90 -90
  470. package/dist/mcp/index.js +107 -107
  471. package/dist/mcp/instructions.js +127 -127
  472. package/dist/mcp/oauth.js +74 -74
  473. package/dist/mcp/stdio.js +89 -89
  474. package/dist/mime.js +1 -1
  475. package/dist/modal/models.js +90 -90
  476. package/dist/model-resolver.js +97 -97
  477. package/dist/model.js +101 -101
  478. package/dist/models-dev.js +106 -106
  479. package/dist/oauth/page.js +1 -1
  480. package/dist/permission/saved.js +81 -81
  481. package/dist/permission/sql.js +5 -5
  482. package/dist/permission.js +112 -112
  483. package/dist/persistent-pty/binary.bun.js +1 -1
  484. package/dist/persistent-pty/daemon.js +1 -1
  485. package/dist/persistent-pty/index.js +87 -87
  486. package/dist/persistent-pty/pty-binding.js +1 -1
  487. package/dist/persistent-pty.js +74 -74
  488. package/dist/plugin/agent.js +101 -101
  489. package/dist/plugin/command.js +98 -98
  490. package/dist/plugin/hooks.js +5 -5
  491. package/dist/plugin/host.js +217 -217
  492. package/dist/plugin/identity.js +3 -3
  493. package/dist/plugin/instance.js +5 -5
  494. package/dist/plugin/internal.js +328 -328
  495. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  496. package/dist/plugin/models-dev.js +95 -95
  497. package/dist/plugin/module.js +7 -7
  498. package/dist/plugin/optimize.js +2 -2
  499. package/dist/plugin/plan.js +101 -101
  500. package/dist/plugin/promise.js +1 -1
  501. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  502. package/dist/plugin/provider/azure.js +121 -121
  503. package/dist/plugin/provider/cerebras.js +1 -1
  504. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  505. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  506. package/dist/plugin/provider/cohere.js +2 -2
  507. package/dist/plugin/provider/configured.js +118 -118
  508. package/dist/plugin/provider/digitalocean.js +92 -92
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/gateway.js +2 -2
  512. package/dist/plugin/provider/github-copilot.js +92 -92
  513. package/dist/plugin/provider/gitlab.js +90 -90
  514. package/dist/plugin/provider/google-vertex.js +89 -89
  515. package/dist/plugin/provider/kilo.js +1 -1
  516. package/dist/plugin/provider/llmgateway.js +76 -76
  517. package/dist/plugin/provider/lmstudio.js +119 -119
  518. package/dist/plugin/provider/modal.js +91 -91
  519. package/dist/plugin/provider/nvidia.js +1 -1
  520. package/dist/plugin/provider/ollama.js +121 -121
  521. package/dist/plugin/provider/openai.js +91 -91
  522. package/dist/plugin/provider/opencode.js +92 -92
  523. package/dist/plugin/provider/openrouter.js +90 -90
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/poe.js +77 -77
  526. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  527. package/dist/plugin/provider/sap-ai-core.js +90 -90
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  530. package/dist/plugin/provider/venice.js +2 -2
  531. package/dist/plugin/provider/vercel.js +89 -89
  532. package/dist/plugin/provider/vllm.js +121 -121
  533. package/dist/plugin/provider/xai.js +90 -90
  534. package/dist/plugin/provider/zenmux.js +1 -1
  535. package/dist/plugin/provider.js +158 -158
  536. package/dist/plugin/sdk.js +73 -73
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +140 -140
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +347 -347
  541. package/dist/plugin/update.js +6 -6
  542. package/dist/plugin/vcs/git.js +85 -85
  543. package/dist/plugin/vcs/hg.js +85 -85
  544. package/dist/plugin/warming.js +120 -120
  545. package/dist/plugin/websearch/exa.js +5 -5
  546. package/dist/plugin/websearch/firecrawl.js +6 -6
  547. package/dist/plugin/websearch/index.js +9 -9
  548. package/dist/plugin/websearch/mcp.js +4 -4
  549. package/dist/plugin/websearch/parallel.js +8 -8
  550. package/dist/plugin/websearch/tavily.js +4 -4
  551. package/dist/plugin/websearch/tinyfish.js +8 -8
  552. package/dist/plugin.js +224 -224
  553. package/dist/project/schema.js +2 -2
  554. package/dist/project/sql.js +4 -4
  555. package/dist/project.js +79 -79
  556. package/dist/provider.js +88 -88
  557. package/dist/pty/protocol.js +1 -1
  558. package/dist/pty/schema.js +1 -1
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +91 -91
  561. package/dist/reference/instructions.js +88 -88
  562. package/dist/reference.js +90 -90
  563. package/dist/repository-cache.js +80 -80
  564. package/dist/repository.js +3 -3
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +92 -92
  567. package/dist/rpc.js +85 -85
  568. package/dist/schema.js +1 -1
  569. package/dist/session/command.js +73 -73
  570. package/dist/session/compaction.js +133 -133
  571. package/dist/session/context.js +151 -151
  572. package/dist/session/diff.js +87 -87
  573. package/dist/session/environment.js +5 -5
  574. package/dist/session/error.js +7 -7
  575. package/dist/session/event.js +1 -1
  576. package/dist/session/execution/restart.js +223 -223
  577. package/dist/session/execution.js +125 -125
  578. package/dist/session/generate.js +152 -152
  579. package/dist/session/history.js +15 -15
  580. package/dist/session/inbox.js +85 -85
  581. package/dist/session/info.js +3 -3
  582. package/dist/session/instruction-entry.js +76 -76
  583. package/dist/session/instruction-state.js +8 -8
  584. package/dist/session/instructions.js +96 -96
  585. package/dist/session/message-updater.js +2 -2
  586. package/dist/session/message.js +1 -1
  587. package/dist/session/model-request.js +118 -118
  588. package/dist/session/model-transport.js +9 -9
  589. package/dist/session/move.js +129 -129
  590. package/dist/session/projector.js +85 -85
  591. package/dist/session/prompt.js +104 -104
  592. package/dist/session/provider-context.js +3 -3
  593. package/dist/session/revert.js +89 -89
  594. package/dist/session/run-coordinator.js +3 -3
  595. package/dist/session/runner/index.js +3 -3
  596. package/dist/session/runner/llm.js +230 -230
  597. package/dist/session/runner/max-steps.js +1 -1
  598. package/dist/session/runner/model.js +97 -97
  599. package/dist/session/runner/publish-llm-event.js +3 -3
  600. package/dist/session/runner/retry.js +113 -113
  601. package/dist/session/runner/step.js +125 -125
  602. package/dist/session/runner/to-llm-message.js +2 -2
  603. package/dist/session/schema.js +1 -1
  604. package/dist/session/session.js +171 -171
  605. package/dist/session/shell.js +137 -137
  606. package/dist/session/skill.js +102 -102
  607. package/dist/session/sql.js +5 -5
  608. package/dist/session/stats.js +74 -74
  609. package/dist/session/store.js +86 -86
  610. package/dist/session/subagent-completion.js +1 -1
  611. package/dist/session/subagent-job.js +209 -209
  612. package/dist/session/system-prompt.js +3 -3
  613. package/dist/session/title.js +155 -155
  614. package/dist/session/to-session-error.js +110 -110
  615. package/dist/session/transfer.js +217 -217
  616. package/dist/session/usage.js +1 -1
  617. package/dist/session.js +211 -211
  618. package/dist/shell/parse.js +6 -6
  619. package/dist/shell/result.js +1 -1
  620. package/dist/shell/scan.js +1 -1
  621. package/dist/shell/select.js +13 -13
  622. package/dist/shell.js +139 -139
  623. package/dist/skill/discovery.js +4 -4
  624. package/dist/skill/instructions.js +104 -104
  625. package/dist/skill.js +111 -111
  626. package/dist/snapshot.js +88 -88
  627. package/dist/state.js +1 -1
  628. package/dist/tool/html-markdown.js +1 -1
  629. package/dist/tool/http-body.js +1 -1
  630. package/dist/tool/mcp.js +124 -124
  631. package/dist/tool/plugin/edit.js +119 -119
  632. package/dist/tool/plugin/file-diff.js +1 -1
  633. package/dist/tool/plugin/glob.js +123 -123
  634. package/dist/tool/plugin/grep.js +123 -123
  635. package/dist/tool/plugin/opencode.js +3 -3
  636. package/dist/tool/plugin/patch.js +121 -121
  637. package/dist/tool/plugin/question.js +102 -102
  638. package/dist/tool/plugin/read.js +124 -124
  639. package/dist/tool/plugin/shell.js +214 -214
  640. package/dist/tool/plugin/skill.js +112 -112
  641. package/dist/tool/plugin/subagent.js +212 -212
  642. package/dist/tool/plugin/webfetch.js +109 -109
  643. package/dist/tool/plugin/websearch.js +111 -111
  644. package/dist/tool/plugin/write.js +121 -121
  645. package/dist/tool/read-filesystem.js +99 -99
  646. package/dist/tool/runtime.js +1 -1
  647. package/dist/tool-output.js +8 -8
  648. package/dist/tool.js +14 -14
  649. package/dist/util/error-summary.js +1 -1
  650. package/dist/util/error.js +1 -1
  651. package/dist/util/git-executable.js +2 -2
  652. package/dist/util/iife.js +1 -1
  653. package/dist/util/lazy.js +1 -1
  654. package/dist/util/slug.js +1 -1
  655. package/dist/util/token.js +1 -1
  656. package/dist/util/which.js +1 -1
  657. package/dist/util/wildcard.js +1 -1
  658. package/dist/v1/config/agent.js +7 -7
  659. package/dist/v1/config/attachment.js +4 -4
  660. package/dist/v1/config/command.js +5 -5
  661. package/dist/v1/config/config.js +16 -16
  662. package/dist/v1/config/error.js +4 -4
  663. package/dist/v1/config/formatter.js +5 -5
  664. package/dist/v1/config/layout.js +1 -1
  665. package/dist/v1/config/lsp.js +5 -5
  666. package/dist/v1/config/mcp.js +4 -4
  667. package/dist/v1/config/migrate.js +91 -91
  668. package/dist/v1/config/permission.js +7 -7
  669. package/dist/v1/config/plugin.js +3 -3
  670. package/dist/v1/config/provider-options.js +1 -1
  671. package/dist/v1/config/provider.js +2 -2
  672. package/dist/v1/config/server.js +2 -2
  673. package/dist/v1/config/skills.js +3 -3
  674. package/dist/v1/permission.js +1 -1
  675. package/dist/variant.js +90 -90
  676. package/dist/vcs/patch.js +1 -1
  677. package/dist/vcs.js +88 -88
  678. package/dist/websearch.js +83 -83
  679. package/dist/wellknown/plugin.js +75 -75
  680. package/dist/wellknown.js +80 -80
  681. package/dist/workspace/driver.js +3 -3
  682. package/dist/workspace/sql.js +1 -1
  683. package/dist/workspace.js +77 -77
  684. package/dist/worktree/directory.js +2 -2
  685. package/dist/worktree/git.js +10 -10
  686. package/dist/worktree/sql.js +5 -5
  687. package/dist/worktree/strategies.js +88 -88
  688. package/dist/worktree.js +95 -95
  689. package/package.json +8 -8
  690. package/dist/chunks/model-resolver-aspdhtxw.js +0 -26
  691. package/dist/chunks/model-resolver-dxj72tfx.js +0 -18
  692. package/dist/chunks/model-resolver-qsj989em.js +0 -478
  693. package/dist/chunks/model-resolver-tz5bhpr7.js +0 -252
  694. /package/dist/chunks/{model-resolver-0mesazry.js → location-0mesazry.js} +0 -0
  695. /package/dist/chunks/{model-resolver-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
  696. /package/dist/chunks/{model-resolver-0zkw76rk.js → location-0zkw76rk.js} +0 -0
  697. /package/dist/chunks/{model-resolver-17cy0kzp.js → location-17cy0kzp.js} +0 -0
  698. /package/dist/chunks/{model-resolver-1cnp2v09.js → location-1cnp2v09.js} +0 -0
  699. /package/dist/chunks/{model-resolver-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
  700. /package/dist/chunks/{model-resolver-24dcb14g.js → location-24dcb14g.js} +0 -0
  701. /package/dist/chunks/{model-resolver-2710q6r3.js → location-2710q6r3.js} +0 -0
  702. /package/dist/chunks/{model-resolver-2axfhc9x.js → location-2axfhc9x.js} +0 -0
  703. /package/dist/chunks/{model-resolver-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
  704. /package/dist/chunks/{model-resolver-359p4xyc.js → location-359p4xyc.js} +0 -0
  705. /package/dist/chunks/{model-resolver-3asan66x.js → location-3asan66x.js} +0 -0
  706. /package/dist/chunks/{model-resolver-3v8g72cx.js → location-3v8g72cx.js} +0 -0
  707. /package/dist/chunks/{model-resolver-3w5fmr99.js → location-3w5fmr99.js} +0 -0
  708. /package/dist/chunks/{model-resolver-3wcehsnq.js → location-3wcehsnq.js} +0 -0
  709. /package/dist/chunks/{model-resolver-43n2bw4t.js → location-43n2bw4t.js} +0 -0
  710. /package/dist/chunks/{model-resolver-4knz6hnm.js → location-4knz6hnm.js} +0 -0
  711. /package/dist/chunks/{model-resolver-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
  712. /package/dist/chunks/{model-resolver-4y7fprxs.js → location-4y7fprxs.js} +0 -0
  713. /package/dist/chunks/{model-resolver-53557ph1.js → location-53557ph1.js} +0 -0
  714. /package/dist/chunks/{model-resolver-550bvhaj.js → location-550bvhaj.js} +0 -0
  715. /package/dist/chunks/{model-resolver-6prwharc.js → location-6prwharc.js} +0 -0
  716. /package/dist/chunks/{model-resolver-7akdwqpd.js → location-7akdwqpd.js} +0 -0
  717. /package/dist/chunks/{model-resolver-7m9af43g.js → location-7m9af43g.js} +0 -0
  718. /package/dist/chunks/{model-resolver-822emrt2.js → location-822emrt2.js} +0 -0
  719. /package/dist/chunks/{model-resolver-88xbtdfr.js → location-88xbtdfr.js} +0 -0
  720. /package/dist/chunks/{model-resolver-8n3pysct.js → location-8n3pysct.js} +0 -0
  721. /package/dist/chunks/{model-resolver-922hggd3.js → location-922hggd3.js} +0 -0
  722. /package/dist/chunks/{model-resolver-9a4afbnw.js → location-9a4afbnw.js} +0 -0
  723. /package/dist/chunks/{model-resolver-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
  724. /package/dist/chunks/{model-resolver-a6k6eb26.js → location-a6k6eb26.js} +0 -0
  725. /package/dist/chunks/{model-resolver-af5trqkr.js → location-af5trqkr.js} +0 -0
  726. /package/dist/chunks/{model-resolver-afrmfg78.js → location-afrmfg78.js} +0 -0
  727. /package/dist/chunks/{model-resolver-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
  728. /package/dist/chunks/{model-resolver-atq7p7m5.js → location-atq7p7m5.js} +0 -0
  729. /package/dist/chunks/{model-resolver-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
  730. /package/dist/chunks/{model-resolver-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
  731. /package/dist/chunks/{model-resolver-cf4snx6d.js → location-cf4snx6d.js} +0 -0
  732. /package/dist/chunks/{model-resolver-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
  733. /package/dist/chunks/{model-resolver-d9fn303g.js → location-d9fn303g.js} +0 -0
  734. /package/dist/chunks/{model-resolver-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
  735. /package/dist/chunks/{model-resolver-dajrwvna.js → location-dajrwvna.js} +0 -0
  736. /package/dist/chunks/{model-resolver-dap0rakb.js → location-dap0rakb.js} +0 -0
  737. /package/dist/chunks/{model-resolver-df08tz66.js → location-df08tz66.js} +0 -0
  738. /package/dist/chunks/{model-resolver-dy18nga0.js → location-dy18nga0.js} +0 -0
  739. /package/dist/chunks/{model-resolver-e5kj55wp.js → location-e5kj55wp.js} +0 -0
  740. /package/dist/chunks/{model-resolver-e73j6tqm.js → location-e73j6tqm.js} +0 -0
  741. /package/dist/chunks/{model-resolver-ec1grn59.js → location-ec1grn59.js} +0 -0
  742. /package/dist/chunks/{model-resolver-eh3zwz77.js → location-eh3zwz77.js} +0 -0
  743. /package/dist/chunks/{model-resolver-emrn6kk6.js → location-emrn6kk6.js} +0 -0
  744. /package/dist/chunks/{model-resolver-f0mxakyp.js → location-f0mxakyp.js} +0 -0
  745. /package/dist/chunks/{model-resolver-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
  746. /package/dist/chunks/{model-resolver-faypxj3z.js → location-faypxj3z.js} +0 -0
  747. /package/dist/chunks/{model-resolver-fd410y7t.js → location-fd410y7t.js} +0 -0
  748. /package/dist/chunks/{model-resolver-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
  749. /package/dist/chunks/{model-resolver-g4wezp1m.js → location-g4wezp1m.js} +0 -0
  750. /package/dist/chunks/{model-resolver-g86h250q.js → location-g86h250q.js} +0 -0
  751. /package/dist/chunks/{model-resolver-gebd4c9n.js → location-gebd4c9n.js} +0 -0
  752. /package/dist/chunks/{model-resolver-gftt206x.js → location-gftt206x.js} +0 -0
  753. /package/dist/chunks/{model-resolver-hjbc5kem.js → location-hjbc5kem.js} +0 -0
  754. /package/dist/chunks/{model-resolver-hk9envan.js → location-hk9envan.js} +0 -0
  755. /package/dist/chunks/{model-resolver-j2ntwpah.js → location-j2ntwpah.js} +0 -0
  756. /package/dist/chunks/{model-resolver-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
  757. /package/dist/chunks/{model-resolver-jexxy024.js → location-jexxy024.js} +0 -0
  758. /package/dist/chunks/{model-resolver-jjkms2e6.js → location-jjkms2e6.js} +0 -0
  759. /package/dist/chunks/{model-resolver-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
  760. /package/dist/chunks/{model-resolver-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
  761. /package/dist/chunks/{model-resolver-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
  762. /package/dist/chunks/{model-resolver-mp448xyj.js → location-mp448xyj.js} +0 -0
  763. /package/dist/chunks/{model-resolver-msx8hqn2.js → location-msx8hqn2.js} +0 -0
  764. /package/dist/chunks/{model-resolver-n05xt0ee.js → location-n05xt0ee.js} +0 -0
  765. /package/dist/chunks/{model-resolver-n3j8tn72.js → location-n3j8tn72.js} +0 -0
  766. /package/dist/chunks/{model-resolver-njntx4h6.js → location-njntx4h6.js} +0 -0
  767. /package/dist/chunks/{model-resolver-q3sfg36h.js → location-q3sfg36h.js} +0 -0
  768. /package/dist/chunks/{model-resolver-q74kybfr.js → location-q74kybfr.js} +0 -0
  769. /package/dist/chunks/{model-resolver-qaymkmh1.js → location-qaymkmh1.js} +0 -0
  770. /package/dist/chunks/{model-resolver-qb87gjwd.js → location-qb87gjwd.js} +0 -0
  771. /package/dist/chunks/{model-resolver-qfa1cgps.js → location-qfa1cgps.js} +0 -0
  772. /package/dist/chunks/{model-resolver-qg3g05ea.js → location-qg3g05ea.js} +0 -0
  773. /package/dist/chunks/{model-resolver-qrg20bc0.js → location-qrg20bc0.js} +0 -0
  774. /package/dist/chunks/{model-resolver-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
  775. /package/dist/chunks/{model-resolver-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
  776. /package/dist/chunks/{model-resolver-sk3qaz4a.js → location-sk3qaz4a.js} +0 -0
  777. /package/dist/chunks/{model-resolver-ssg3fenm.js → location-ssg3fenm.js} +0 -0
  778. /package/dist/chunks/{model-resolver-twg0f83k.js → location-twg0f83k.js} +0 -0
  779. /package/dist/chunks/{model-resolver-w803qqfp.js → location-w803qqfp.js} +0 -0
  780. /package/dist/chunks/{model-resolver-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
  781. /package/dist/chunks/{model-resolver-wer8tq1h.js → location-wer8tq1h.js} +0 -0
  782. /package/dist/chunks/{model-resolver-wtztk69x.js → location-wtztk69x.js} +0 -0
  783. /package/dist/chunks/{model-resolver-x0ckcb58.js → location-x0ckcb58.js} +0 -0
  784. /package/dist/chunks/{model-resolver-x61499pn.js → location-x61499pn.js} +0 -0
  785. /package/dist/chunks/{model-resolver-y44na4kk.js → location-y44na4kk.js} +0 -0
  786. /package/dist/chunks/{model-resolver-y8cydn3q.js → location-y8cydn3q.js} +0 -0
  787. /package/dist/chunks/{model-resolver-y8f7s663.js → location-y8f7s663.js} +0 -0
  788. /package/dist/chunks/{model-resolver-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
  789. /package/dist/chunks/{model-resolver-ym463w8f.js → location-ym463w8f.js} +0 -0
  790. /package/dist/chunks/{model-resolver-z9919s4g.js → location-z9919s4g.js} +0 -0
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service66
4
- } from "./model-resolver-gw1g6bxq.js";
3
+ Service47
4
+ } from "./location-10aqkgyz.js";
5
5
  import {
6
- Service65
7
- } from "./model-resolver-9afpsfvx.js";
6
+ Service56
7
+ } from "./location-y6r52svf.js";
8
8
  import {
9
9
  observe2
10
- } from "./model-resolver-qsdy395h.js";
10
+ } from "./location-qsdy395h.js";
11
11
  import {
12
12
  __export
13
- } from "./model-resolver-9rqn6x4v.js";
13
+ } from "./location-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/shell.ts
16
16
  var exports_shell = {};
17
17
  __export(exports_shell, {
18
18
  ConfigShellPlugin: () => exports_shell,
19
- Plugin: () => Plugin17
19
+ Plugin: () => Plugin3
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin17 = define({
23
+ var Plugin3 = define({
24
24
  id: "opencode.config.shell",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service66;
27
- const shell = yield* Service65;
26
+ const config = yield* Service47;
27
+ const shell = yield* Service56;
28
28
  const loaded = yield* observe2(config, ctx.event, shell.reload());
29
29
  yield* shell.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "shell");
@@ -34,4 +34,4 @@ var Plugin17 = define({
34
34
  })
35
35
  });
36
36
 
37
- export { Plugin17, exports_shell };
37
+ export { Plugin3, exports_shell };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./model-resolver-922hggd3.js";
3
+ } from "./location-922hggd3.js";
4
4
  import {
5
- Info16
6
- } from "./model-resolver-c20khjev.js";
5
+ Info12
6
+ } from "./location-a8bn8zg0.js";
7
7
  import {
8
8
  __export
9
- } from "./model-resolver-9rqn6x4v.js";
9
+ } from "./location-9rqn6x4v.js";
10
10
 
11
11
  // src/v1/config/agent.ts
12
- var exports_agent4 = {};
13
- __export(exports_agent4, {
14
- ConfigAgentV1: () => exports_agent4,
15
- Info: () => Info15
12
+ var exports_agent3 = {};
13
+ __export(exports_agent3, {
14
+ ConfigAgentV1: () => exports_agent3,
15
+ Info: () => Info10
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(Info16)
47
+ permission: Schema.optional(Info12)
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 Info15 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
69
+ var Info10 = 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 { Info15, exports_agent4 };
74
+ export { Info10, exports_agent3 };
@@ -1,70 +1,70 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./model-resolver-akv0dm8z.js";
2
+ Service81,
3
+ node85
4
+ } from "./location-v5wmmv50.js";
5
5
  import {
6
6
  Service79,
7
7
  node83
8
- } from "./model-resolver-4tvste0q.js";
8
+ } from "./location-ckzk2jkt.js";
9
9
  import {
10
- ID9,
11
- Service55,
12
- node58
13
- } from "./model-resolver-qy0qaq8h.js";
10
+ ID10,
11
+ Service65,
12
+ node68
13
+ } from "./location-tcjrbdf6.js";
14
14
  import {
15
- NotFoundError8
16
- } from "./model-resolver-2qq7qy34.js";
15
+ NotFoundError9
16
+ } from "./location-ybhbtxjg.js";
17
17
  import {
18
- Service53,
19
- node56
20
- } from "./model-resolver-k2f8e2fb.js";
18
+ Service64,
19
+ node67
20
+ } from "./location-dbk0wazz.js";
21
21
  import {
22
22
  match2
23
- } from "./model-resolver-y1fvbwt7.js";
23
+ } from "./location-y1fvbwt7.js";
24
24
  import {
25
- Service54,
26
- node57
27
- } from "./model-resolver-m879hchs.js";
25
+ Service63,
26
+ node66
27
+ } from "./location-16w9ders.js";
28
28
  import {
29
- Service73,
30
- node77
31
- } from "./model-resolver-4e8vs6eh.js";
29
+ Service71,
30
+ node74
31
+ } from "./location-7s451enq.js";
32
32
  import {
33
33
  __export
34
- } from "./model-resolver-9rqn6x4v.js";
34
+ } from "./location-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
- var exports_permission = {};
38
- __export(exports_permission, {
37
+ var exports_permission2 = {};
38
+ __export(exports_permission2, {
39
39
  AskResult: () => AskResult2,
40
40
  AssertInput: () => AssertInput2,
41
41
  BlockedError: () => BlockedError2,
42
42
  CorrectedError: () => CorrectedError2,
43
43
  DeclinedError: () => DeclinedError2,
44
44
  Effect: () => PermissionEffect,
45
- Event: () => Event11,
46
- ID: () => ID7,
47
- NotFoundError: () => NotFoundError7,
48
- Permission: () => exports_permission,
45
+ Event: () => Event15,
46
+ ID: () => ID8,
47
+ NotFoundError: () => NotFoundError8,
48
+ Permission: () => exports_permission2,
49
49
  Reply: () => Reply2,
50
50
  ReplyInput: () => ReplyInput2,
51
51
  Request: () => Request2,
52
- Rule: () => Rule2,
52
+ Rule: () => Rule3,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service52,
54
+ Service: () => Service62,
55
55
  Source: () => Source5,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node55
58
+ node: () => node65
59
59
  });
60
60
  import { makeLocationNode } from "@opencode/util/effect/app-node";
61
61
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
62
62
  import { Permission } from "@opencode/schema/permission";
63
- import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
- import { Event as Event11 } from "@opencode/schema/permission";
63
+ import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
+ import { Event as Event15 } from "@opencode/schema/permission";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
- var ID7 = Permission.ID;
67
+ var ID8 = Permission.ID;
68
68
  var Source5 = Permission.Source;
69
69
  var RequestFields = {
70
70
  sessionID: Permission.Request.fields.sessionID,
@@ -77,17 +77,17 @@ var RequestFields = {
77
77
  var Request2 = Permission.Request;
78
78
  var Reply2 = Permission.Reply;
79
79
  var AssertInput2 = Schema.Struct({
80
- id: ID7.pipe(Schema.optional),
80
+ id: ID8.pipe(Schema.optional),
81
81
  ...RequestFields,
82
- agent: ID9.pipe(Schema.optional)
82
+ agent: ID10.pipe(Schema.optional)
83
83
  }).annotate({ identifier: "Permission.AssertInput" });
84
84
  var ReplyInput2 = Schema.Struct({
85
- requestID: ID7,
85
+ requestID: ID8,
86
86
  reply: Reply2,
87
87
  message: Schema.String.pipe(Schema.optional)
88
88
  }).annotate({ identifier: "Permission.ReplyInput" });
89
89
  var AskResult2 = Schema.Struct({
90
- id: ID7,
90
+ id: ID8,
91
91
  effect: Permission.Effect
92
92
  }).annotate({ identifier: "Permission.AskResult" });
93
93
 
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
110
110
  }
111
111
  }
112
112
 
113
- class NotFoundError7 extends Schema.TaggedError()("Permission.NotFoundError", {
114
- requestID: ID7
113
+ class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
114
+ requestID: ID8
115
115
  }) {
116
116
  }
117
117
  function evaluate2(action, resource, ...rulesets) {
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
125
125
  return rulesets.flat();
126
126
  }
127
127
 
128
- class Service52 extends Context.Service()("@opencode/Permission") {
128
+ class Service62 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service52, Effect.gen(function* () {
131
- const bus = yield* Service82;
130
+ var layer = Layer.effect(Service62, Effect.gen(function* () {
131
+ const bus = yield* Service81;
132
132
  const location = yield* Service79;
133
- const agents = yield* Service55;
134
- const sessions = yield* Service53;
135
- const saved = yield* Service54;
136
- const hooks = yield* Service73;
133
+ const agents = yield* Service65;
134
+ const sessions = yield* Service64;
135
+ const saved = yield* Service63;
136
+ const hooks = yield* Service71;
137
137
  const pending = new Map;
138
138
  let closed = false;
139
139
  const close = Effect.gen(function* () {
@@ -156,7 +156,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
156
156
  const configured = Effect.fnUntraced(function* (sessionID, agentID) {
157
157
  const session = yield* sessions.get(sessionID);
158
158
  if (!session)
159
- return yield* new NotFoundError8({ sessionID });
159
+ return yield* new NotFoundError9({ sessionID });
160
160
  const agent = yield* agents.resolve(agentID ?? session.agent);
161
161
  return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
162
162
  });
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
186
186
  });
187
187
  function request(input, message) {
188
188
  return {
189
- id: input.id ?? ID7.create(),
189
+ id: input.id ?? ID8.create(),
190
190
  sessionID: input.sessionID,
191
191
  action: input.action,
192
192
  resources: input.resources,
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
211
211
  }));
212
212
  const ask = Effect.fn("Permission.ask")(function* (input) {
213
213
  if (closed)
214
- return { id: input.id ?? ID7.create(), effect: "deny" };
214
+ return { id: input.id ?? ID8.create(), effect: "deny" };
215
215
  const result = yield* evaluateInput(input);
216
216
  const value = request(input, result.message);
217
217
  if (result.effect === "ask")
@@ -242,7 +242,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
242
242
  const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
243
243
  const existing = pending.get(input.requestID);
244
244
  if (!existing)
245
- return yield* new NotFoundError7({ requestID: input.requestID });
245
+ return yield* new NotFoundError8({ requestID: input.requestID });
246
246
  yield* bus.publish(Permission.Event.Replied, {
247
247
  sessionID: existing.request.sessionID,
248
248
  requestID: existing.request.id,
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
297
297
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
298
298
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
299
299
  });
300
- return Service52.of({ ask, assert, reply, get, forSession, list, close });
300
+ return Service62.of({ ask, assert, reply, get, forSession, list, close });
301
301
  }));
302
- var node55 = makeLocationNode({
303
- service: Service52,
302
+ var node65 = makeLocationNode({
303
+ service: Service62,
304
304
  layer,
305
- deps: [node86, node83, node58, node56, node57, node77]
305
+ deps: [node85, node83, node68, node67, node66, node74]
306
306
  });
307
307
 
308
- export { PermissionEffect, ID7, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError7, evaluate2, merge2, Service52, node55, exports_permission, Rule2, Ruleset2, Event11 };
308
+ export { PermissionEffect, ID8, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service62, node65, exports_permission2, Rule3, Ruleset2, Event15 };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./model-resolver-gftt206x.js";
3
+ } from "./location-gftt206x.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./model-resolver-jexxy024.js";
6
+ } from "./location-jexxy024.js";
7
7
  import {
8
8
  __export
9
- } from "./model-resolver-9rqn6x4v.js";
9
+ } from "./location-9rqn6x4v.js";
10
10
 
11
11
  // src/session/error.ts
12
- var exports_error = {};
13
- __export(exports_error, {
12
+ var exports_error2 = {};
13
+ __export(exports_error2, {
14
14
  AgentNotFoundError: () => AgentNotFoundError2,
15
15
  AttachmentError: () => AttachmentError2,
16
16
  BusyError: () => BusyError2,
@@ -19,9 +19,9 @@ __export(exports_error, {
19
19
  InboxConflictError: () => InboxConflictError2,
20
20
  MessageDecodeError: () => MessageDecodeError2,
21
21
  MessageNotFoundError: () => MessageNotFoundError2,
22
- NotFoundError: () => NotFoundError8,
22
+ NotFoundError: () => NotFoundError9,
23
23
  PromptConflictError: () => PromptConflictError2,
24
- SessionErrors: () => exports_error,
24
+ SessionErrors: () => exports_error2,
25
25
  SkillNotFoundError: () => SkillNotFoundError2,
26
26
  StepFailedError: () => StepFailedError2,
27
27
  SyntheticConflictError: () => SyntheticConflictError2,
@@ -32,7 +32,7 @@ import { Agent } from "@opencode/schema/agent";
32
32
  import { Skill } from "@opencode/schema/skill";
33
33
  import { SessionError } from "@opencode/schema/session-error";
34
34
 
35
- class NotFoundError8 extends Schema.TaggedError()("Session.NotFoundError", {
35
+ class NotFoundError9 extends Schema.TaggedError()("Session.NotFoundError", {
36
36
  sessionID: SessionSchema2.ID
37
37
  }) {
38
38
  }
@@ -123,4 +123,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
123
123
  }) {
124
124
  }
125
125
 
126
- export { NotFoundError8, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, UserInterruptedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error };
126
+ export { NotFoundError9, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, UserInterruptedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./location-9rqn6x4v.js";
4
4
 
5
5
  // src/tool/plugin/opencode.ts
6
6
  var exports_opencode = {};
@@ -8,7 +8,7 @@ __export(exports_opencode, {
8
8
  ModelsInput: () => ModelsInput2,
9
9
  MoveInput: () => MoveInput2,
10
10
  OpenCodeTools: () => exports_opencode,
11
- Plugin: () => Plugin42,
11
+ Plugin: () => Plugin32,
12
12
  RenameInput: () => RenameInput2
13
13
  });
14
14
  import { SystemPart, ToolFailure } from "@opencode/ai";
@@ -64,7 +64,7 @@ var ModelsOutput = Schema.Struct({
64
64
  total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
65
65
  next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
66
66
  });
67
- var Plugin42 = {
67
+ var Plugin32 = {
68
68
  id: "opencode.tools",
69
69
  effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
70
70
  const hook = (event) => Effect.sync(() => {
@@ -161,4 +161,4 @@ var Plugin42 = {
161
161
  })
162
162
  };
163
163
 
164
- export { RenameInput2, MoveInput2, ModelsInput2, Plugin42, exports_opencode };
164
+ export { RenameInput2, MoveInput2, ModelsInput2, Plugin32, exports_opencode };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  latest2,
3
- Service66
4
- } from "./model-resolver-gw1g6bxq.js";
3
+ Service47
4
+ } from "./location-10aqkgyz.js";
5
5
  import {
6
6
  __export
7
- } from "./model-resolver-9rqn6x4v.js";
7
+ } from "./location-9rqn6x4v.js";
8
8
 
9
9
  // src/plugin/warming.ts
10
10
  var exports_warming = {};
11
11
  __export(exports_warming, {
12
- Plugin: () => Plugin32,
12
+ Plugin: () => Plugin46,
13
13
  WarmingPlugin: () => exports_warming
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -19,10 +19,10 @@ var defaults = {
19
19
  interval: Duration.minutes(4),
20
20
  duration: Duration.minutes(30)
21
21
  };
22
- var Plugin32 = define({
22
+ var Plugin46 = define({
23
23
  id: "opencode.warming",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service66;
25
+ const config = yield* Service47;
26
26
  const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
27
27
  const warming = latest2(yield* config.entries(), "warming");
28
28
  if (!warming)
@@ -96,4 +96,4 @@ var Plugin32 = define({
96
96
  })
97
97
  });
98
98
 
99
- export { Plugin32, exports_warming };
99
+ export { Plugin46, exports_warming };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./model-resolver-ym463w8f.js";
3
+ } from "./location-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/venice.ts
6
6
  var VenicePlugin2 = createProviderPlugin2({
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  InvalidError2
3
- } from "./model-resolver-29x78va6.js";
3
+ } from "./location-z63w68vq.js";
4
4
  import {
5
5
  __export
6
- } from "./model-resolver-9rqn6x4v.js";
6
+ } from "./location-9rqn6x4v.js";
7
7
 
8
8
  // src/config/variable.ts
9
9
  var exports_variable = {};
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./model-resolver-7z4dgn25.js";
2
+ Service82,
3
+ node86
4
+ } from "./location-dbhy9y10.js";
5
5
  import {
6
6
  KVTable2
7
- } from "./model-resolver-3hepkmqq.js";
7
+ } from "./location-3hepkmqq.js";
8
8
  import {
9
9
  __export
10
- } from "./model-resolver-9rqn6x4v.js";
10
+ } from "./location-9rqn6x4v.js";
11
11
 
12
12
  // src/kv.ts
13
13
  var exports_kv = {};
14
14
  __export(exports_kv, {
15
15
  KV: () => exports_kv,
16
- Service: () => Service70,
17
- node: () => node73
16
+ Service: () => Service66,
17
+ node: () => node69
18
18
  });
19
19
  import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
20
20
  import { Context, Effect, Layer } from "effect";
21
21
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
22
- class Service70 extends Context.Service()("@opencode/KV") {
22
+ class Service66 extends Context.Service()("@opencode/KV") {
23
23
  }
24
- var layer = Layer.effect(Service70, Effect.gen(function* () {
25
- const db = (yield* Service83).db;
26
- return Service70.of({
24
+ var layer = Layer.effect(Service66, Effect.gen(function* () {
25
+ const db = (yield* Service82).db;
26
+ return Service66.of({
27
27
  get: Effect.fn("KV.get")(function* (key) {
28
28
  return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
29
29
  }),
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
51
51
  return;
52
52
  return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
53
53
  }
54
- var node73 = makeGlobalNode({ service: Service70, layer, deps: [node87] });
54
+ var node69 = makeGlobalNode({ service: Service66, layer, deps: [node86] });
55
55
 
56
- export { Service70, node73, exports_kv };
56
+ export { Service66, node69, exports_kv };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./model-resolver-ym463w8f.js";
3
+ } from "./location-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/cohere.ts
6
6
  var CoherePlugin2 = createProviderPlugin2({
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  ps2
3
- } from "./model-resolver-9afpsfvx.js";
3
+ } from "./location-y6r52svf.js";
4
4
  import {
5
5
  lazy2
6
- } from "./model-resolver-88xbtdfr.js";
6
+ } from "./location-88xbtdfr.js";
7
7
  import {
8
8
  match2
9
- } from "./model-resolver-y1fvbwt7.js";
9
+ } from "./location-y1fvbwt7.js";
10
10
  import {
11
11
  __export
12
- } from "./model-resolver-9rqn6x4v.js";
12
+ } from "./location-9rqn6x4v.js";
13
13
 
14
14
  // src/shell/parse.ts
15
15
  var exports_parse = {};
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2
4
- } from "./model-resolver-er91jp3n.js";
4
+ } from "./location-d5hmfdq1.js";
5
5
  import {
6
6
  latest2,
7
- Service66
8
- } from "./model-resolver-gw1g6bxq.js";
7
+ Service47
8
+ } from "./location-10aqkgyz.js";
9
9
  import {
10
10
  resolve2
11
- } from "./model-resolver-3a7v3mfb.js";
11
+ } from "./location-49yfp6qw.js";
12
12
  import {
13
13
  observe2
14
- } from "./model-resolver-qsdy395h.js";
14
+ } from "./location-qsdy395h.js";
15
15
  import {
16
16
  __export
17
- } from "./model-resolver-9rqn6x4v.js";
17
+ } from "./location-9rqn6x4v.js";
18
18
 
19
19
  // src/config/plugin/provider.ts
20
20
  var exports_provider = {};
21
21
  __export(exports_provider, {
22
22
  ConfigProviderPlugin: () => exports_provider,
23
- Plugin: () => Plugin6
23
+ Plugin: () => Plugin15
24
24
  });
25
25
  import { define } from "@opencode/plugin/effect/plugin";
26
26
  import { Money } from "@opencode/schema/money";
27
27
  import { Effect } from "effect";
28
- var Plugin6 = define({
28
+ var Plugin15 = define({
29
29
  id: "opencode.config.provider",
30
30
  effect: Effect.fn(function* (ctx) {
31
- const config = yield* Service66;
31
+ const config = yield* Service47;
32
32
  const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
33
33
  yield* ctx.integration.transform((integrations) => {
34
34
  for (const [id, provider] of configuredProviders(loaded.entries)) {
@@ -200,4 +200,4 @@ function configuredProviders(entries) {
200
200
  return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
201
201
  }
202
202
 
203
- export { Plugin6, exports_provider };
203
+ export { Plugin15, exports_provider };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  NamedError2
3
- } from "./model-resolver-2axfhc9x.js";
3
+ } from "./location-2axfhc9x.js";
4
4
  import {
5
5
  __export
6
- } from "./model-resolver-9rqn6x4v.js";
6
+ } from "./location-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/error.ts
9
- var exports_error2 = {};
10
- __export(exports_error2, {
11
- ConfigErrorV1: () => exports_error2,
9
+ var exports_error = {};
10
+ __export(exports_error, {
11
+ ConfigErrorV1: () => exports_error,
12
12
  DirectoryTypoError: () => DirectoryTypoError2,
13
13
  FrontmatterError: () => FrontmatterError2,
14
14
  InvalidError: () => InvalidError2,
@@ -43,4 +43,4 @@ var RemoteAuthError2 = NamedError2.create("ConfigRemoteAuthError", {
43
43
  remote: Schema.String
44
44
  });
45
45
 
46
- export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2, exports_error2 };
46
+ export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2, exports_error };
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID12
3
- } from "./model-resolver-mcjy4xdq.js";
2
+ ID7
3
+ } from "./location-zbf3s7c4.js";
4
4
 
5
5
  // src/plugin/provider/openrouter.ts
6
6
  import { Effect } from "effect";
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
21
21
  for (const item of models.provider.list()) {
22
22
  if (item.provider.package !== "@opencode/ai/providers/openrouter")
23
23
  continue;
24
- for (const modelID of [ID12.make("gpt-5-chat-latest"), ID12.make("openai/gpt-5-chat")]) {
24
+ for (const modelID of [ID7.make("gpt-5-chat-latest"), ID7.make("openai/gpt-5-chat")]) {
25
25
  if (!models.get(item.provider.id, modelID))
26
26
  continue;
27
27
  models.update(item.provider.id, modelID, (model) => {