@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,62 +1,62 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./model-resolver-922hggd3.js";
3
+ } from "./location-922hggd3.js";
4
4
  import {
5
5
  latest2,
6
- Service66
7
- } from "./model-resolver-gw1g6bxq.js";
6
+ Service47
7
+ } from "./location-10aqkgyz.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./model-resolver-2a5m3afh.js";
10
+ } from "./location-2a5m3afh.js";
11
11
  import {
12
- Service69
13
- } from "./model-resolver-61bshzb4.js";
12
+ Service73
13
+ } from "./location-mp468g0n.js";
14
14
  import {
15
- Service47
16
- } from "./model-resolver-12x7tyn7.js";
15
+ Service45
16
+ } from "./location-a4fef9kt.js";
17
17
  import {
18
- Service52
19
- } from "./model-resolver-mj754nyr.js";
18
+ Service62
19
+ } from "./location-y9q9tkrd.js";
20
20
  import {
21
- Service24,
21
+ Service17,
22
22
  resolvePath2
23
- } from "./model-resolver-t96rdxhd.js";
23
+ } from "./location-pktg7h7y.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./model-resolver-fxbjtjnd.js";
29
+ } from "./location-fxbjtjnd.js";
30
30
  import {
31
- Service65,
31
+ Service56,
32
32
  name15
33
- } from "./model-resolver-9afpsfvx.js";
33
+ } from "./location-y6r52svf.js";
34
34
  import {
35
- NotFoundError9,
36
- Service63
37
- } from "./model-resolver-sxk5rhme.js";
35
+ NotFoundError5,
36
+ Service34
37
+ } from "./location-hhanhgqp.js";
38
38
  import {
39
- Service25
40
- } from "./model-resolver-qzhqhqdj.js";
39
+ Service21
40
+ } from "./location-wjtkehg3.js";
41
41
  import {
42
42
  scan2
43
- } from "./model-resolver-q3bxgjqn.js";
43
+ } from "./location-z1mphqcv.js";
44
44
  import {
45
45
  __export
46
- } from "./model-resolver-9rqn6x4v.js";
46
+ } from "./location-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
49
  var exports_shell2 = {};
50
50
  __export(exports_shell2, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input9,
53
- Plugin: () => Plugin41,
52
+ Input: () => Input3,
53
+ Plugin: () => Plugin22,
54
54
  ShellTool: () => exports_shell2,
55
- name: () => name9
55
+ name: () => name3
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
- var name9 = "shell";
59
+ var name3 = "shell";
60
60
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
61
61
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
62
62
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -70,7 +70,7 @@ var description = (shell) => [
70
70
  "Commands accept an optional timeout, background commands have no timeout by default.",
71
71
  "Background commands return immediately, and you will be notified when they complete."
72
72
  ].join(" ");
73
- var Input9 = Schema.Struct({
73
+ var Input3 = Schema.Struct({
74
74
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
75
75
  workdir: Schema.optionalKey(Schema.String).annotate({
76
76
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
115
115
  truncated: false,
116
116
  status: "running"
117
117
  });
118
- var Plugin41 = {
118
+ var Plugin22 = {
119
119
  id: "opencode.tool.shell",
120
120
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
121
- const sessions = yield* Service25;
122
- const jobs = yield* Service47;
121
+ const sessions = yield* Service21;
122
+ const jobs = yield* Service45;
123
123
  const scope = yield* Scope.Scope;
124
- const environment = yield* Service69;
125
- const access = yield* Service24;
126
- const shell = yield* Service63;
127
- const shellSelect = yield* Service65;
124
+ const environment = yield* Service73;
125
+ const access = yield* Service17;
126
+ const shell = yield* Service34;
127
+ const shellSelect = yield* Service56;
128
128
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
129
- const permission = yield* Service52;
130
- const config = yield* Service66;
129
+ const permission = yield* Service62;
130
+ const config = yield* Service47;
131
131
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
132
132
  const source = {
133
133
  type: "tool",
@@ -146,7 +146,7 @@ var Plugin41 = {
146
146
  yield* access.authorizeExternal([target, ...directories], context);
147
147
  if (parsed.commands.length > 0)
148
148
  yield* permission.assert({
149
- action: name9,
149
+ action: name3,
150
150
  resources: parsed.commands.map((command) => command.resource),
151
151
  save: parsed.commands.map((command) => command.save),
152
152
  sessionID: context.sessionID,
@@ -183,10 +183,10 @@ var Plugin41 = {
183
183
  yield* jobs.completeBackground(info.notificationID);
184
184
  }, Effect.forkIn(scope, { startImmediately: true }));
185
185
  yield* ctx.tool.transform((editor) => editor.add({
186
- name: name9,
186
+ name: name3,
187
187
  options: { codemode: false },
188
188
  description: description(),
189
- input: Input9,
189
+ input: Input3,
190
190
  output: Output,
191
191
  execute: (input, context) => Effect.gen(function* () {
192
192
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -205,7 +205,7 @@ var Plugin41 = {
205
205
  const run = Effect.gen(function* () {
206
206
  const result = yield* shell.result(info);
207
207
  if (!result.capture)
208
- return yield* new NotFoundError9({ id: info.id });
208
+ return yield* new NotFoundError5({ id: info.id });
209
209
  const output = output2(result);
210
210
  return {
211
211
  ...output,
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
219
219
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
220
220
  const job = yield* jobs.start({
221
221
  id: info.id,
222
- type: name9,
222
+ type: name3,
223
223
  title: info.command,
224
224
  metadata: { sessionID: context.sessionID, shellID: info.id },
225
225
  recovery: {
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
249
249
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
250
250
  })).pipe(Effect.orDie);
251
251
  const hook = (event) => Effect.gen(function* () {
252
- const tool = event.tools[name9];
252
+ const tool = event.tools[name3];
253
253
  if (!tool)
254
254
  return;
255
255
  tool.description = description(name15(yield* compatibleShell));
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
260
260
  })
261
261
  };
262
262
 
263
- export { name9, DEFAULT_TIMEOUT_MS2, Input9, Plugin41, exports_shell2 };
263
+ export { name3, DEFAULT_TIMEOUT_MS2, Input3, Plugin22, exports_shell2 };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  useragent2
3
- } from "./model-resolver-cs9gs3bj.js";
3
+ } from "./location-ssvs6b7e.js";
4
4
  import {
5
5
  __export
6
- } from "./model-resolver-9rqn6x4v.js";
6
+ } from "./location-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/tavily.ts
9
9
  var exports_tavily = {};
10
10
  __export(exports_tavily, {
11
- Plugin: () => Plugin20,
11
+ Plugin: () => Plugin37,
12
12
  WebSearchTavily: () => exports_tavily,
13
13
  endpoint: () => endpoint2
14
14
  });
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
29
29
  content: Schema.String
30
30
  }))
31
31
  });
32
- var Plugin20 = define({
32
+ var Plugin37 = define({
33
33
  id: "opencode.websearch.tavily",
34
34
  effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
35
35
  const http = yield* HttpClient.HttpClient;
@@ -77,4 +77,4 @@ var Plugin20 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint2, Plugin20, exports_tavily };
80
+ export { endpoint2, Plugin37, exports_tavily };
@@ -1,80 +1,80 @@
1
- import {
2
- Service83
3
- } from "./model-resolver-7z4dgn25.js";
4
1
  import {
5
2
  Service82
6
- } from "./model-resolver-akv0dm8z.js";
3
+ } from "./location-dbhy9y10.js";
4
+ import {
5
+ Service81
6
+ } from "./location-v5wmmv50.js";
7
7
  import {
8
- Service45
9
- } from "./model-resolver-mx9vqzsb.js";
8
+ Service41
9
+ } from "./location-vqfzq50h.js";
10
10
  import {
11
11
  userNotification2
12
- } from "./model-resolver-fxbjtjnd.js";
12
+ } from "./location-fxbjtjnd.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./model-resolver-gftt206x.js";
15
+ } from "./location-gftt206x.js";
16
16
  import {
17
- NotFoundError8,
17
+ NotFoundError9,
18
18
  PromptConflictError2,
19
19
  SyntheticConflictError2,
20
20
  CompactionConflictError2,
21
21
  BusyError2,
22
22
  InboxConflictError2
23
- } from "./model-resolver-2qq7qy34.js";
23
+ } from "./location-ybhbtxjg.js";
24
24
  import {
25
25
  SessionEvent2
26
- } from "./model-resolver-ec1grn59.js";
26
+ } from "./location-ec1grn59.js";
27
27
  import {
28
- Service53
29
- } from "./model-resolver-k2f8e2fb.js";
28
+ Service64
29
+ } from "./location-dbk0wazz.js";
30
30
  import {
31
31
  Delivery2,
32
32
  SyntheticPayload2,
33
- Service43
34
- } from "./model-resolver-w7ejeta8.js";
33
+ Service42
34
+ } from "./location-446f22m8.js";
35
35
  import {
36
- Service41
37
- } from "./model-resolver-6dpxe5wv.js";
36
+ Service39
37
+ } from "./location-8rp7g9cy.js";
38
38
  import {
39
39
  prepare2
40
- } from "./model-resolver-hvxy08g5.js";
40
+ } from "./location-03vb6nv0.js";
41
41
  import {
42
42
  stage2,
43
43
  clear2,
44
44
  commit2
45
- } from "./model-resolver-hg488ry8.js";
45
+ } from "./location-7md7yvmw.js";
46
46
  import {
47
47
  start2
48
- } from "./model-resolver-q38hx1yx.js";
48
+ } from "./location-sdehcrsb.js";
49
49
  import {
50
50
  get4
51
- } from "./model-resolver-qnenbneg.js";
51
+ } from "./location-rmm87f9n.js";
52
52
  import {
53
53
  __export
54
- } from "./model-resolver-9rqn6x4v.js";
54
+ } from "./location-9rqn6x4v.js";
55
55
 
56
56
  // src/session/session.ts
57
57
  var exports_session2 = {};
58
58
  __export(exports_session2, {
59
59
  Session: () => exports_session2,
60
- make: () => make13
60
+ make: () => make12
61
61
  });
62
62
  import { DateTime, Effect, Fiber, Scope } from "effect";
63
63
  import { Event } from "@opencode/schema/event";
64
64
  import { FSUtil } from "@opencode/util/fs-util";
65
- var make13 = Effect.fn("Session.make")(function* () {
66
- const bus = yield* Service82;
67
- const database = yield* Service83;
68
- const store = yield* Service53;
69
- const instances = yield* Service45;
70
- const execution = yield* Service41;
71
- const admission = yield* Service43;
65
+ var make12 = Effect.fn("Session.make")(function* () {
66
+ const bus = yield* Service81;
67
+ const database = yield* Service82;
68
+ const store = yield* Service64;
69
+ const instances = yield* Service41;
70
+ const execution = yield* Service39;
71
+ const admission = yield* Service42;
72
72
  const fs = yield* FSUtil.Service;
73
73
  const scope = yield* Scope.Scope;
74
74
  const get = Effect.fn("Session.get")(function* (sessionID) {
75
75
  const session = yield* store.get(sessionID);
76
76
  if (!session)
77
- return yield* new NotFoundError8({ sessionID });
77
+ return yield* new NotFoundError9({ sessionID });
78
78
  return session;
79
79
  });
80
80
  const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
@@ -131,7 +131,7 @@ var make13 = Effect.fn("Session.make")(function* () {
131
131
  });
132
132
  if (existing)
133
133
  return existing;
134
- const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service45, instances), Effect.provideService(FSUtil.Service, fs)));
134
+ const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service41, instances), Effect.provideService(FSUtil.Service, fs)));
135
135
  if (session.revert)
136
136
  yield* commit2(bus, session);
137
137
  return yield* admission.admit({
@@ -147,7 +147,7 @@ var make13 = Effect.fn("Session.make")(function* () {
147
147
  const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
148
148
  const session = yield* get(sessionID);
149
149
  const running = yield* Effect.gen(function* () {
150
- const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service45, instances), Effect.tapError((error) => synthetic(sessionID, {
150
+ const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service41, instances), Effect.tapError((error) => synthetic(sessionID, {
151
151
  text: `User shell command failed to start:
152
152
  ${input.command}
153
153
 
@@ -176,7 +176,7 @@ ${error.message}`,
176
176
  });
177
177
  const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
178
178
  const session = yield* get(sessionID);
179
- const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service45, instances));
179
+ const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service41, instances));
180
180
  yield* bus.publish(SessionEvent2.Skill.Activated, {
181
181
  sessionID,
182
182
  id: skill.id,
@@ -233,13 +233,13 @@ ${error.message}`,
233
233
  const session = yield* get(sessionID);
234
234
  if (yield* execution.isActive(sessionID))
235
235
  return yield* new BusyError2({ sessionID });
236
- return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service45, instances), Effect.provideService(Service83, database), Effect.provideService(Service82, bus));
236
+ return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service41, instances), Effect.provideService(Service82, database), Effect.provideService(Service81, bus));
237
237
  });
238
238
  const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
239
239
  const session = yield* get(sessionID);
240
240
  if (yield* execution.isActive(sessionID))
241
241
  return yield* new BusyError2({ sessionID });
242
- yield* clear2(session).pipe(Effect.provideService(Service45, instances), Effect.provideService(Service82, bus));
242
+ yield* clear2(session).pipe(Effect.provideService(Service41, instances), Effect.provideService(Service81, bus));
243
243
  return yield* execution.wake(sessionID);
244
244
  });
245
245
  const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
@@ -322,4 +322,4 @@ ${error.message}`,
322
322
  return { forSession };
323
323
  });
324
324
 
325
- export { make13, exports_session2 };
325
+ export { make12, exports_session2 };
@@ -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/id/id.ts
6
6
  var exports_id = {};
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./model-resolver-922hggd3.js";
3
+ } from "./location-922hggd3.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/attachment.ts
9
9
  var exports_attachment = {};
10
10
  __export(exports_attachment, {
11
11
  ConfigAttachmentV1: () => exports_attachment,
12
12
  Image: () => Image2,
13
- Info: () => Info21
13
+ Info: () => Info9
14
14
  });
15
15
  import { Schema } from "effect";
16
16
  var Image2 = Schema.Struct({
@@ -27,8 +27,8 @@ var Image2 = Schema.Struct({
27
27
  description: "Maximum base64 payload bytes for an image attachment (default: 5242880)"
28
28
  })
29
29
  }).annotate({ identifier: "ImageAttachmentConfig" });
30
- var Info21 = Schema.Struct({
30
+ var Info9 = Schema.Struct({
31
31
  image: Schema.optional(Image2).annotate({ description: "Image attachment configuration" })
32
32
  }).annotate({ identifier: "AttachmentConfig" });
33
33
 
34
- export { Image2, Info21, exports_attachment };
34
+ export { Image2, Info9, exports_attachment };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  SQLiteEffectCountBuilder2
3
- } from "./model-resolver-f0mxakyp.js";
3
+ } from "./location-f0mxakyp.js";
4
4
  import {
5
5
  SQLiteEffectDeleteBase2
6
- } from "./model-resolver-w3wsvvr9.js";
6
+ } from "./location-w3wsvvr9.js";
7
7
  import {
8
8
  SQLiteEffectInsertBuilder2
9
- } from "./model-resolver-7bmhse3q.js";
9
+ } from "./location-7bmhse3q.js";
10
10
  import {
11
11
  SQLiteEffectRelationalQueryBuilder2
12
- } from "./model-resolver-cf4snx6d.js";
12
+ } from "./location-cf4snx6d.js";
13
13
  import {
14
14
  SQLiteEffectRaw2
15
- } from "./model-resolver-822emrt2.js";
15
+ } from "./location-822emrt2.js";
16
16
  import {
17
17
  SQLiteEffectSelectBuilder2
18
- } from "./model-resolver-wd87259q.js";
18
+ } from "./location-wd87259q.js";
19
19
  import {
20
20
  SQLiteEffectUpdateBuilder2
21
- } from "./model-resolver-m9w0rfyh.js";
21
+ } from "./location-m9w0rfyh.js";
22
22
 
23
23
  // src/database/drizzle/sqlite-core/effect/db.ts
24
24
  import { Effect } from "effect";
@@ -1,30 +1,30 @@
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
  EventSequenceTable2,
7
7
  EventTable2
8
- } from "./model-resolver-2710q6r3.js";
8
+ } from "./location-2710q6r3.js";
9
9
  import {
10
10
  makeUnsafe2
11
- } from "./model-resolver-dpkg50ah.js";
11
+ } from "./location-dpkg50ah.js";
12
12
  import {
13
13
  __export
14
- } from "./model-resolver-9rqn6x4v.js";
14
+ } from "./location-9rqn6x4v.js";
15
15
 
16
16
  // src/bus.ts
17
17
  var exports_bus = {};
18
18
  __export(exports_bus, {
19
19
  Bus: () => exports_bus,
20
20
  InvalidDurableEventError: () => InvalidDurableEventError2,
21
- Service: () => Service82,
21
+ Service: () => Service81,
22
22
  configured: () => configured12,
23
23
  durable: () => durable2,
24
24
  ephemeral: () => ephemeral2,
25
25
  isSynced: () => isSynced2,
26
26
  latestSequence: () => latestSequence2,
27
- node: () => node86,
27
+ node: () => node85,
28
28
  reserveSequence: () => reserveSequence2,
29
29
  versionedType: () => versionedType2
30
30
  });
@@ -76,13 +76,13 @@ var ephemeral2 = Event.ephemeral;
76
76
  var isSynced2 = (item) => item.type === "log.synced";
77
77
  var isDefinition = (input) => !Array.isArray(input);
78
78
 
79
- class Service82 extends Context.Service()("@opencode/Bus") {
79
+ class Service81 extends Context.Service()("@opencode/Bus") {
80
80
  }
81
81
  function configured12(options) {
82
82
  return makeGlobalNode({
83
- service: Service82,
84
- deps: [node87],
85
- layer: Layer.effect(Service82, Effect.gen(function* () {
83
+ service: Service81,
84
+ deps: [node86],
85
+ layer: Layer.effect(Service81, Effect.gen(function* () {
86
86
  const { Location } = yield* Effect.promise(() => import("../location.js"));
87
87
  const { SessionTable } = yield* Effect.promise(() => import("../session/sql.js"));
88
88
  const pubsub = {
@@ -93,7 +93,7 @@ function configured12(options) {
93
93
  const projectors = new Map;
94
94
  const listeners = new Array;
95
95
  const durableLocks = makeUnsafe2();
96
- const { db } = yield* Service83;
96
+ const { db } = yield* Service82;
97
97
  const logReadPageSize = options?.logReadPageSize ?? 512;
98
98
  const persist = options?.persist ?? false;
99
99
  const sessions = new Map;
@@ -525,7 +525,7 @@ function configured12(options) {
525
525
  list.push((event) => projector(event));
526
526
  projectors.set(key, list);
527
527
  });
528
- return Service82.of({
528
+ return Service81.of({
529
529
  publish,
530
530
  publishAll,
531
531
  subscribe,
@@ -539,6 +539,6 @@ function configured12(options) {
539
539
  }))
540
540
  });
541
541
  }
542
- var node86 = configured12();
542
+ var node85 = configured12();
543
543
 
544
- export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service82, configured12, node86, exports_bus };
544
+ export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service81, configured12, node85, exports_bus };
@@ -1,33 +1,33 @@
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
  create3
7
- } from "./model-resolver-rdw6cm16.js";
7
+ } from "./location-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./model-resolver-9rqn6x4v.js";
10
+ } from "./location-9rqn6x4v.js";
11
11
 
12
12
  // src/command.ts
13
- var exports_command4 = {};
14
- __export(exports_command4, {
15
- Command: () => exports_command4,
16
- Event: () => Event9,
13
+ var exports_command5 = {};
14
+ __export(exports_command5, {
15
+ Command: () => exports_command5,
16
+ Event: () => Event11,
17
17
  ExecutionError: () => ExecutionError2,
18
- Info: () => Info8,
19
- NotFoundError: () => NotFoundError6,
20
- Service: () => Service46,
21
- layer: () => layer19,
22
- node: () => node48
18
+ Info: () => Info19,
19
+ NotFoundError: () => NotFoundError7,
20
+ Service: () => Service53,
21
+ layer: () => layer22,
22
+ node: () => node56
23
23
  });
24
24
  import { Command } from "@opencode/schema/command";
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
- import { Event as Event9 } from "@opencode/schema/command";
28
- var Info8 = Command.Info;
27
+ import { Event as Event11 } from "@opencode/schema/command";
28
+ var Info19 = Command.Info;
29
29
 
30
- class NotFoundError6 extends Schema.TaggedError()("Command.NotFoundError", {
30
+ class NotFoundError7 extends Schema.TaggedError()("Command.NotFoundError", {
31
31
  command: Schema.String,
32
32
  message: Schema.String
33
33
  }) {
@@ -39,10 +39,10 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
39
39
  }) {
40
40
  }
41
41
 
42
- class Service46 extends Context.Service()("@opencode/Command") {
42
+ class Service53 extends Context.Service()("@opencode/Command") {
43
43
  }
44
- var layer19 = Layer.effect(Service46, Effect.gen(function* () {
45
- const bus = yield* Service82;
44
+ var layer22 = Layer.effect(Service53, Effect.gen(function* () {
45
+ const bus = yield* Service81;
46
46
  const state = create3({
47
47
  name: "command",
48
48
  initial: () => new Map,
@@ -51,11 +51,11 @@ var layer19 = Layer.effect(Service46, Effect.gen(function* () {
51
51
  }),
52
52
  notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
53
53
  });
54
- const info = (definition) => Info8.make({
54
+ const info = (definition) => Info19.make({
55
55
  name: definition.name,
56
56
  description: definition.description
57
57
  });
58
- return Service46.of({
58
+ return Service53.of({
59
59
  reload: state.reload,
60
60
  transform: state.transform,
61
61
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -66,15 +66,15 @@ var layer19 = Layer.effect(Service46, Effect.gen(function* () {
66
66
  execute: Effect.fn("Command.execute")(function* (input) {
67
67
  const definition = state.get().get(input.name);
68
68
  if (!definition)
69
- return yield* new NotFoundError6({ command: input.name, message: `Command not found: ${input.name}` });
69
+ return yield* new NotFoundError7({ command: input.name, message: `Command not found: ${input.name}` });
70
70
  return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
71
71
  })
72
72
  });
73
73
  }));
74
- var node48 = makeLocationNode({
75
- service: Service46,
76
- layer: layer19,
77
- deps: [node86]
74
+ var node56 = makeLocationNode({
75
+ service: Service53,
76
+ layer: layer22,
77
+ deps: [node85]
78
78
  });
79
79
  function errorMessage(error) {
80
80
  if (error instanceof Error)
@@ -86,4 +86,4 @@ function errorMessage(error) {
86
86
  return "Command execution failed";
87
87
  }
88
88
 
89
- export { Info8, NotFoundError6, ExecutionError2, Service46, layer19, node48, exports_command4, Event9 };
89
+ export { Info19, NotFoundError7, ExecutionError2, Service53, layer22, node56, exports_command5, Event11 };