@opencode/core 0.0.0-dev-19564 → 0.0.0-dev-19565

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 (787) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +72 -72
  7. package/dist/catalog.js +80 -80
  8. package/dist/chunks/{location-mutation-0m5s60pw.js → shell-00sskvcy.js} +25 -25
  9. package/dist/chunks/{location-mutation-0r8s4ygg.js → shell-0kb3qxfv.js} +13 -13
  10. package/dist/chunks/shell-0mesazry.js +4 -0
  11. package/dist/chunks/{location-mutation-ebq30a0s.js → shell-0p1crd9d.js} +16 -16
  12. package/dist/chunks/{location-mutation-0paq2nw3.js → shell-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{location-mutation-0q0f95c6.js → shell-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{location-mutation-155tpmtv.js → shell-170g143j.js} +12 -12
  15. package/dist/chunks/{location-mutation-1dazxqgg.js → shell-1dazxqgg.js} +2 -2
  16. package/dist/chunks/{location-mutation-7c7hzhbc.js → shell-1jygqsyg.js} +4 -4
  17. package/dist/chunks/{location-mutation-9910m0jv.js → shell-1k2dysg5.js} +36 -36
  18. package/dist/chunks/{location-mutation-a2pn1a9k.js → shell-1rmp5py1.js} +28 -28
  19. package/dist/chunks/{location-mutation-3z3b7hny.js → shell-1vr0zdnx.js} +7 -7
  20. package/dist/chunks/{location-mutation-bxv7jnj4.js → shell-2130zj7j.js} +11 -11
  21. package/dist/chunks/{location-mutation-21r38tys.js → shell-21r38tys.js} +1 -1
  22. package/dist/chunks/{location-mutation-7yqjxrmz.js → shell-23pqda6t.js} +6 -6
  23. package/dist/chunks/{location-mutation-2402vzrj.js → shell-2402vzrj.js} +1 -1
  24. package/dist/chunks/{location-mutation-2a5m3afh.js → shell-2a5m3afh.js} +1 -1
  25. package/dist/chunks/{location-mutation-jeanpfns.js → shell-2arervvz.js} +1 -1
  26. package/dist/chunks/{location-mutation-m2d0j7c0.js → shell-2bt6bea8.js} +9 -9
  27. package/dist/chunks/{location-mutation-kc69rtta.js → shell-2dhdmezd.js} +13 -13
  28. package/dist/chunks/{location-mutation-r9d4hscn.js → shell-2drtf3nf.js} +21 -21
  29. package/dist/chunks/{location-mutation-ka1skk0q.js → shell-2gg8k579.js} +11 -11
  30. package/dist/chunks/{location-mutation-2k8khapm.js → shell-2k8khapm.js} +1 -1
  31. package/dist/chunks/{location-mutation-saszz0tm.js → shell-2s58e736.js} +8 -8
  32. package/dist/chunks/{location-mutation-6z7pdagf.js → shell-2wy29r93.js} +32 -32
  33. package/dist/chunks/{location-mutation-by5prp7a.js → shell-2xsz5w2j.js} +13 -13
  34. package/dist/chunks/{location-mutation-q0cff0df.js → shell-39nqk1vw.js} +5 -5
  35. package/dist/chunks/{location-mutation-hqkqhxar.js → shell-3ax3r0kt.js} +11 -11
  36. package/dist/chunks/{location-mutation-rjhg2a6b.js → shell-3bqh7sdc.js} +8 -8
  37. package/dist/chunks/{location-mutation-tgqjfyja.js → shell-3dn8q124.js} +3 -3
  38. package/dist/chunks/{location-mutation-3fc6dm20.js → shell-3fc6dm20.js} +1 -1
  39. package/dist/chunks/{location-mutation-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{location-mutation-xpqchpdr.js → shell-3msn02vx.js} +20 -20
  41. package/dist/chunks/{location-mutation-qqrzp26h.js → shell-3q16w0pe.js} +22 -22
  42. package/dist/chunks/{location-mutation-3smtnn6g.js → shell-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{location-mutation-2c6z0znx.js → shell-3t75jh19.js} +18 -18
  44. package/dist/chunks/{location-mutation-zepncfka.js → shell-3t8eac1t.js} +21 -21
  45. package/dist/chunks/{location-mutation-3tvqynh2.js → shell-3tvqynh2.js} +1 -1
  46. package/dist/chunks/{location-mutation-xfw70qwk.js → shell-40nnwqw1.js} +9 -9
  47. package/dist/chunks/{location-mutation-ypa7vnhd.js → shell-498f1par.js} +17 -17
  48. package/dist/chunks/{location-mutation-61bd1sp4.js → shell-4j2free1.js} +26 -26
  49. package/dist/chunks/shell-4v7qdvcn.js +18 -0
  50. package/dist/chunks/{location-mutation-8ddz1vt2.js → shell-50q5na77.js} +54 -54
  51. package/dist/chunks/{location-mutation-mfqp6xfm.js → shell-56gdpj1q.js} +6 -6
  52. package/dist/chunks/{location-mutation-0cj6ty0b.js → shell-58mrke4p.js} +18 -18
  53. package/dist/chunks/{location-mutation-q99ra9zv.js → shell-5cd5fjqe.js} +1 -1
  54. package/dist/chunks/{location-mutation-g6daz9wc.js → shell-5cwpbnzf.js} +19 -19
  55. package/dist/chunks/{location-mutation-5daktx2q.js → shell-5daktx2q.js} +1 -1
  56. package/dist/chunks/{location-mutation-xb0fd5mw.js → shell-5hpynvw8.js} +11 -11
  57. package/dist/chunks/{location-mutation-91defnq2.js → shell-5j1hak98.js} +5 -5
  58. package/dist/chunks/{location-mutation-j4wvd8nr.js → shell-5r0fea1g.js} +8 -8
  59. package/dist/chunks/{location-mutation-ctkv6efh.js → shell-5se65zms.js} +1 -1
  60. package/dist/chunks/{location-mutation-nd3j4h6h.js → shell-5t1bt779.js} +15 -15
  61. package/dist/chunks/{location-mutation-5t3nmthw.js → shell-5t3nmthw.js} +2 -2
  62. package/dist/chunks/{location-mutation-xeeebs9m.js → shell-5t96p4mv.js} +18 -18
  63. package/dist/chunks/{location-mutation-669tq793.js → shell-669tq793.js} +1 -1
  64. package/dist/chunks/{location-mutation-azkjskpr.js → shell-6dgetf94.js} +30 -30
  65. package/dist/chunks/{location-mutation-0w62qmxp.js → shell-6ea2fwcg.js} +6 -6
  66. package/dist/chunks/{location-mutation-w6ktwb78.js → shell-6ff0ccqs.js} +5 -5
  67. package/dist/chunks/{location-mutation-6msgmcgs.js → shell-6msgmcgs.js} +1 -1
  68. package/dist/chunks/{location-mutation-cen4xjmh.js → shell-6sdmw969.js} +9 -9
  69. package/dist/chunks/{location-mutation-71q4at8m.js → shell-71q4at8m.js} +1 -1
  70. package/dist/chunks/{location-mutation-j028xdjb.js → shell-73tb2d7t.js} +3 -3
  71. package/dist/chunks/{location-mutation-4e7426jc.js → shell-757464b7.js} +8 -8
  72. package/dist/chunks/{location-mutation-j12av41v.js → shell-785qyyg3.js} +43 -43
  73. package/dist/chunks/{location-mutation-5qn0g44r.js → shell-79at1x9v.js} +11 -11
  74. package/dist/chunks/{location-mutation-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
  75. package/dist/chunks/{location-mutation-5rbfmx4w.js → shell-7dqea38v.js} +27 -27
  76. package/dist/chunks/{location-mutation-avm8jn6n.js → shell-7gvwkz6m.js} +5 -5
  77. package/dist/chunks/{location-mutation-qk5wb864.js → shell-7hnvxcfq.js} +26 -26
  78. package/dist/chunks/{location-mutation-pfvv90k2.js → shell-7smec0s7.js} +13 -13
  79. package/dist/chunks/{location-mutation-1dxc6w5e.js → shell-7wvqhqmf.js} +2 -2
  80. package/dist/chunks/{location-mutation-zjsss10y.js → shell-8330sdex.js} +45 -45
  81. package/dist/chunks/{location-mutation-2xzhcth1.js → shell-83c1hrrs.js} +5 -5
  82. package/dist/chunks/{location-mutation-3dbc59q6.js → shell-84znd991.js} +39 -39
  83. package/dist/chunks/shell-8behwj1p.js +466 -0
  84. package/dist/chunks/{location-mutation-8d7r5vzw.js → shell-8d7r5vzw.js} +1 -1
  85. package/dist/chunks/{location-mutation-9kqeqy6k.js → shell-8hpa1fbg.js} +8 -8
  86. package/dist/chunks/{location-mutation-dj2t23y0.js → shell-8p4f9s12.js} +2 -2
  87. package/dist/chunks/{location-mutation-svqx5t8q.js → shell-90debe3t.js} +20 -20
  88. package/dist/chunks/{location-mutation-4y8mn7kc.js → shell-92d8765r.js} +22 -22
  89. package/dist/chunks/shell-951egb0q.js +26 -0
  90. package/dist/chunks/{location-mutation-zadsjct7.js → shell-98wx3ph6.js} +16 -16
  91. package/dist/chunks/{location-mutation-zvzsvx7v.js → shell-9axecy8x.js} +32 -32
  92. package/dist/chunks/{location-mutation-3ktmg79z.js → shell-9k5ea8vn.js} +9 -9
  93. package/dist/chunks/{location-mutation-8bq9and0.js → shell-9n54j36e.js} +40 -40
  94. package/dist/chunks/{location-mutation-5c4hm403.js → shell-a1bz86dw.js} +3 -3
  95. package/dist/chunks/{location-mutation-mfgwze5t.js → shell-a1cqmkke.js} +37 -37
  96. package/dist/chunks/{location-mutation-nza8psrb.js → shell-a4bf359j.js} +35 -35
  97. package/dist/chunks/{location-mutation-aaet6srn.js → shell-aaet6srn.js} +2 -2
  98. package/dist/chunks/{location-mutation-3v55e3wy.js → shell-ajf5b5m2.js} +11 -11
  99. package/dist/chunks/{location-mutation-eck8tbm6.js → shell-anjgpdmv.js} +15 -15
  100. package/dist/chunks/{location-mutation-1a3hsqby.js → shell-aqh0ftsf.js} +6 -6
  101. package/dist/chunks/{location-mutation-5xtgfte3.js → shell-asmz7wyz.js} +8 -8
  102. package/dist/chunks/{location-mutation-havqpvtm.js → shell-b4yscnm6.js} +163 -163
  103. package/dist/chunks/{location-mutation-b6gygkdw.js → shell-b6gygkdw.js} +2 -2
  104. package/dist/chunks/{location-mutation-wk5z6jzv.js → shell-b8b3f19r.js} +9 -9
  105. package/dist/chunks/{location-mutation-qzngwt2w.js → shell-barpxaxt.js} +12 -12
  106. package/dist/chunks/{location-mutation-gnx4ytbv.js → shell-bha4atvq.js} +4 -4
  107. package/dist/chunks/{location-mutation-79sek60j.js → shell-bkpbcw5z.js} +6 -6
  108. package/dist/chunks/{location-mutation-9d8v8ke2.js → shell-bq71cpr0.js} +10 -10
  109. package/dist/chunks/shell-bra2cn2r.js +247 -0
  110. package/dist/chunks/{location-mutation-ag6km62t.js → shell-c6gt1vgb.js} +22 -22
  111. package/dist/chunks/{location-mutation-eqhfcyge.js → shell-c9de5jy7.js} +24 -24
  112. package/dist/chunks/{location-mutation-m7y3f53v.js → shell-cdb3968r.js} +4 -4
  113. package/dist/chunks/{location-mutation-m0jqrx5p.js → shell-cfpkc3c9.js} +2 -2
  114. package/dist/chunks/{location-mutation-23p1tfef.js → shell-cgfvx4w1.js} +30 -30
  115. package/dist/chunks/{location-mutation-pjmw00w1.js → shell-cntxze1n.js} +9 -9
  116. package/dist/chunks/{location-mutation-8bxqq8qq.js → shell-csvt3qn2.js} +17 -17
  117. package/dist/chunks/{location-mutation-sjn6yd28.js → shell-cvacbsd4.js} +24 -24
  118. package/dist/chunks/{location-mutation-y8kyqmaw.js → shell-cwae0t4a.js} +6 -6
  119. package/dist/chunks/{location-mutation-4gdbehx0.js → shell-dgyag7b9.js} +3 -3
  120. package/dist/chunks/{location-mutation-6gny55sm.js → shell-dnyx0jag.js} +42 -42
  121. package/dist/chunks/{location-mutation-y71avatq.js → shell-dpkg50ah.js} +4 -4
  122. package/dist/chunks/{location-mutation-1gbd2vd1.js → shell-ds7hspst.js} +17 -17
  123. package/dist/chunks/{location-mutation-80n8qn88.js → shell-dx67ej23.js} +4 -4
  124. package/dist/chunks/{location-mutation-cx72pxrk.js → shell-e01x8cvy.js} +89 -89
  125. package/dist/chunks/{location-mutation-8fpjdh7x.js → shell-e275f37r.js} +26 -26
  126. package/dist/chunks/{location-mutation-e5nv3ght.js → shell-e5nv3ght.js} +2 -2
  127. package/dist/chunks/{location-mutation-ptdkvqj8.js → shell-e5nx0vxc.js} +11 -11
  128. package/dist/chunks/{location-mutation-rfmxnttp.js → shell-e9ctdnam.js} +33 -33
  129. package/dist/chunks/{location-mutation-eaj1djv9.js → shell-eaj1djv9.js} +1 -1
  130. package/dist/chunks/{location-mutation-h15s1ggr.js → shell-eh4y4983.js} +18 -18
  131. package/dist/chunks/{location-mutation-45mzvrpj.js → shell-ekxg4hsx.js} +15 -15
  132. package/dist/chunks/{location-mutation-t0c4ga77.js → shell-epf086r6.js} +11 -11
  133. package/dist/chunks/{location-mutation-etq0c3wd.js → shell-etq0c3wd.js} +1 -1
  134. package/dist/chunks/{location-mutation-fpmq6gma.js → shell-evbgk2k8.js} +5 -5
  135. package/dist/chunks/{location-mutation-zecqrkk8.js → shell-ew149jxv.js} +15 -15
  136. package/dist/chunks/{location-mutation-yp2x3t23.js → shell-f2n192rq.js} +4 -4
  137. package/dist/chunks/{location-mutation-avbgj43b.js → shell-f3b3gm2h.js} +9 -9
  138. package/dist/chunks/{location-mutation-hdnk95c8.js → shell-f828m53h.js} +2 -2
  139. package/dist/chunks/{location-mutation-81b6h368.js → shell-fb1d3fys.js} +34 -34
  140. package/dist/chunks/{location-mutation-8a0b7fze.js → shell-ffnvdd3a.js} +4 -4
  141. package/dist/chunks/{location-mutation-at5d07az.js → shell-fm2qvscf.js} +4 -4
  142. package/dist/chunks/{location-mutation-s846mwed.js → shell-frgtas0g.js} +18 -18
  143. package/dist/chunks/{location-mutation-mxhkxpa6.js → shell-fwex87m5.js} +4 -4
  144. package/dist/chunks/{location-mutation-w1vmy2yk.js → shell-fxb8x6py.js} +41 -41
  145. package/dist/chunks/{location-mutation-fxbjtjnd.js → shell-fxbjtjnd.js} +1 -1
  146. package/dist/chunks/{location-mutation-f8n871vd.js → shell-g114gkg7.js} +27 -27
  147. package/dist/chunks/{location-mutation-p3axd9rw.js → shell-g6etydj3.js} +27 -27
  148. package/dist/chunks/{location-mutation-5ftfpzwn.js → shell-g7845yqx.js} +9 -9
  149. package/dist/chunks/{location-mutation-0vh7wtpp.js → shell-g9x8z6es.js} +42 -42
  150. package/dist/chunks/{location-mutation-gd4qta3r.js → shell-gd4qta3r.js} +1 -1
  151. package/dist/chunks/{location-mutation-7rreentk.js → shell-gds7y9rb.js} +26 -26
  152. package/dist/chunks/{location-mutation-hdsh760p.js → shell-gmqwtf9m.js} +20 -20
  153. package/dist/chunks/{location-mutation-vpt86awd.js → shell-gqcgtd7m.js} +12 -12
  154. package/dist/chunks/{location-mutation-6kh673ej.js → shell-gsa21a22.js} +29 -29
  155. package/dist/chunks/{location-mutation-hn57h045.js → shell-gst7axd9.js} +4 -4
  156. package/dist/chunks/{location-mutation-gv6a8nnw.js → shell-gv6a8nnw.js} +2 -2
  157. package/dist/chunks/{location-mutation-3nqb3pr0.js → shell-gy297mxz.js} +9 -9
  158. package/dist/chunks/{location-mutation-h03wrkyp.js → shell-h03wrkyp.js} +2 -2
  159. package/dist/chunks/{location-mutation-axqcdv2d.js → shell-h3gtxjhp.js} +12 -12
  160. package/dist/chunks/{location-mutation-nha3eq47.js → shell-h5a39vxc.js} +7 -7
  161. package/dist/chunks/{location-mutation-h6vf3j39.js → shell-h6vf3j39.js} +1 -1
  162. package/dist/chunks/{location-mutation-evg5mjek.js → shell-h9ah0y31.js} +4 -4
  163. package/dist/chunks/{location-mutation-hm5k8eah.js → shell-hcn7vb16.js} +5 -5
  164. package/dist/chunks/{location-mutation-ztr79pxm.js → shell-he81y1nr.js} +15 -15
  165. package/dist/chunks/{location-mutation-ssns9qef.js → shell-hhsefzea.js} +4 -4
  166. package/dist/chunks/{location-mutation-vmq7ehpy.js → shell-hnr5yq9h.js} +5 -5
  167. package/dist/chunks/{location-mutation-njsny4x2.js → shell-hqzvbh4h.js} +4 -4
  168. package/dist/chunks/{location-mutation-wh3mwy9y.js → shell-hr5bc81f.js} +5 -5
  169. package/dist/chunks/{location-mutation-cza9j1er.js → shell-hr87xv3p.js} +1 -1
  170. package/dist/chunks/{location-mutation-x2vke7v6.js → shell-hwcbwms2.js} +26 -26
  171. package/dist/chunks/{location-mutation-ged9323g.js → shell-hxbwmv2e.js} +23 -23
  172. package/dist/chunks/{location-mutation-b8q51j9a.js → shell-j2x4pfpm.js} +8 -8
  173. package/dist/chunks/{location-mutation-j56e64zr.js → shell-j56e64zr.js} +1 -1
  174. package/dist/chunks/{location-mutation-721tb84k.js → shell-j7wq2tw5.js} +3 -3
  175. package/dist/chunks/{location-mutation-nca7p386.js → shell-j8zzr2am.js} +6 -6
  176. package/dist/chunks/{location-mutation-d97067kg.js → shell-jgs86n5s.js} +20 -20
  177. package/dist/chunks/{location-mutation-jtht6z7a.js → shell-jqzha493.js} +10 -10
  178. package/dist/chunks/{location-mutation-5d5383gp.js → shell-jva4mgym.js} +4 -4
  179. package/dist/chunks/{location-mutation-461gn80r.js → shell-jx66ev93.js} +9 -9
  180. package/dist/chunks/{location-mutation-09nsett5.js → shell-jzmeek8x.js} +15 -15
  181. package/dist/chunks/{location-mutation-gb4t7546.js → shell-k6n7t8rh.js} +4 -4
  182. package/dist/chunks/{location-mutation-kg06axw8.js → shell-kg06axw8.js} +1 -1
  183. package/dist/chunks/{location-mutation-pgjngt2x.js → shell-kn1ewh61.js} +9 -9
  184. package/dist/chunks/{location-mutation-g14zqp48.js → shell-m1xnp8jy.js} +8 -8
  185. package/dist/chunks/{location-mutation-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
  186. package/dist/chunks/{location-mutation-96te9d4b.js → shell-ma15yhyh.js} +5 -5
  187. package/dist/chunks/{location-mutation-2dnw6675.js → shell-maj69pyd.js} +18 -18
  188. package/dist/chunks/{location-mutation-vewqeqd1.js → shell-mhke193m.js} +11 -11
  189. package/dist/chunks/{location-mutation-3qwwmjvv.js → shell-mjyvg60v.js} +14 -14
  190. package/dist/chunks/{location-mutation-wctfcgtb.js → shell-mypwhdkk.js} +6 -6
  191. package/dist/chunks/{location-mutation-a626x82j.js → shell-mzg5sf4x.js} +10 -10
  192. package/dist/chunks/{location-mutation-b189wbnb.js → shell-n0mh3p3r.js} +25 -25
  193. package/dist/chunks/{location-mutation-4786se8r.js → shell-na9d8qqg.js} +1 -1
  194. package/dist/chunks/{location-mutation-hjt4xg1x.js → shell-nhy5jxhy.js} +4 -4
  195. package/dist/chunks/{location-mutation-c2czmzrr.js → shell-nt9efg4s.js} +36 -36
  196. package/dist/chunks/{location-mutation-tx9qvpbt.js → shell-nv5vn7qx.js} +6 -6
  197. package/dist/chunks/{location-mutation-s9r3zx9c.js → shell-nxwydvzq.js} +32 -32
  198. package/dist/chunks/{location-mutation-j935v87r.js → shell-paphc93g.js} +2 -2
  199. package/dist/chunks/{location-mutation-e17bkqjz.js → shell-pczwz8kr.js} +1 -1
  200. package/dist/chunks/{location-mutation-y30m186f.js → shell-pe83jqzf.js} +11 -11
  201. package/dist/chunks/{location-mutation-6z9fsyfc.js → shell-pfx2qrrs.js} +17 -17
  202. package/dist/chunks/{location-mutation-pjvnvgmy.js → shell-pjvnvgmy.js} +1 -1
  203. package/dist/chunks/{location-mutation-pknna89w.js → shell-pknna89w.js} +1 -1
  204. package/dist/chunks/{location-mutation-470e2dhw.js → shell-pyajk535.js} +14 -14
  205. package/dist/chunks/{location-mutation-42g1c063.js → shell-q7y6yj4h.js} +13 -13
  206. package/dist/chunks/{location-mutation-j872qyn8.js → shell-qdvd9fa3.js} +9 -9
  207. package/dist/chunks/{location-mutation-y2rk8dp4.js → shell-qfehbndj.js} +20 -20
  208. package/dist/chunks/{location-mutation-3c1tgrea.js → shell-qfzde7bh.js} +6 -6
  209. package/dist/chunks/{location-mutation-zx7qqg4g.js → shell-qp1sevpr.js} +20 -20
  210. package/dist/chunks/{location-mutation-qsdy395h.js → shell-qsdy395h.js} +1 -1
  211. package/dist/chunks/{location-mutation-56yb8k9y.js → shell-qse8x9va.js} +43 -43
  212. package/dist/chunks/{location-mutation-7zvmg7rn.js → shell-r2j209s7.js} +22 -22
  213. package/dist/chunks/{location-mutation-sv95vjkv.js → shell-r7wttt38.js} +14 -14
  214. package/dist/chunks/{location-mutation-1gdg00yg.js → shell-r8m16k99.js} +7 -7
  215. package/dist/chunks/{location-mutation-0fs3kyg5.js → shell-r8tp4xng.js} +22 -22
  216. package/dist/chunks/{location-mutation-r9mregkx.js → shell-r9mregkx.js} +2 -2
  217. package/dist/chunks/{location-mutation-rt60rjhz.js → shell-s24xwzhn.js} +27 -27
  218. package/dist/chunks/{location-mutation-p1q7pebv.js → shell-s594x3a1.js} +16 -16
  219. package/dist/chunks/{location-mutation-jb6dyfep.js → shell-sba7bcww.js} +22 -22
  220. package/dist/chunks/{location-mutation-j32h6ccb.js → shell-sbrky0je.js} +5 -5
  221. package/dist/chunks/{location-mutation-95ex4w9n.js → shell-sccxx93j.js} +11 -11
  222. package/dist/chunks/{location-mutation-jmrdwkcs.js → shell-sp5ebaa4.js} +11 -11
  223. package/dist/chunks/{location-mutation-fg7rbsd2.js → shell-srhw5zxk.js} +11 -11
  224. package/dist/chunks/{location-mutation-g7e74qdq.js → shell-ssybasmv.js} +71 -71
  225. package/dist/chunks/{location-mutation-8ympxaqs.js → shell-svh6bksy.js} +46 -46
  226. package/dist/chunks/{location-mutation-6d9mz4vp.js → shell-t0x5rdq8.js} +9 -9
  227. package/dist/chunks/{location-mutation-3w5k6gvs.js → shell-t7295w2z.js} +87 -87
  228. package/dist/chunks/{location-mutation-drknmmyh.js → shell-t89hfesc.js} +9 -9
  229. package/dist/chunks/{location-mutation-3n3mkc0a.js → shell-t97t2t7r.js} +9 -9
  230. package/dist/chunks/{location-mutation-tazgh4e4.js → shell-tazgh4e4.js} +1 -1
  231. package/dist/chunks/{location-mutation-p0hpbrjm.js → shell-tb2t6pfk.js} +11 -11
  232. package/dist/chunks/{location-mutation-tcezcvh9.js → shell-tcezcvh9.js} +1 -1
  233. package/dist/chunks/{location-mutation-tdstcens.js → shell-tdstcens.js} +1 -1
  234. package/dist/chunks/{location-mutation-2ve45fd6.js → shell-tjn88awr.js} +5 -5
  235. package/dist/chunks/{location-mutation-32860tzt.js → shell-tjvj2ye7.js} +16 -16
  236. package/dist/chunks/{location-mutation-31q0a33n.js → shell-tsmdsbrt.js} +16 -16
  237. package/dist/chunks/{location-mutation-mpadvkka.js → shell-tvqztyf1.js} +25 -25
  238. package/dist/chunks/{location-mutation-tvtrv512.js → shell-tvtrv512.js} +1 -1
  239. package/dist/chunks/{location-mutation-dw1fjyb0.js → shell-txmzda4v.js} +5 -5
  240. package/dist/chunks/{location-mutation-tw5aca0f.js → shell-v261m4vn.js} +17 -17
  241. package/dist/chunks/{location-mutation-qcanms4y.js → shell-v38hr624.js} +9 -9
  242. package/dist/chunks/{location-mutation-5bsh4yae.js → shell-v7n01w8h.js} +13 -13
  243. package/dist/chunks/{location-mutation-p9zpeys6.js → shell-vag79jb7.js} +22 -22
  244. package/dist/chunks/{location-mutation-r98e92ep.js → shell-ve4pfa0n.js} +4 -4
  245. package/dist/chunks/{location-mutation-veqvce7d.js → shell-veqvce7d.js} +1 -1
  246. package/dist/chunks/{location-mutation-756ebc25.js → shell-vm5yje8t.js} +20 -20
  247. package/dist/chunks/{location-mutation-4e4x7r7e.js → shell-vmtg2jww.js} +25 -25
  248. package/dist/chunks/{location-mutation-x353b1jt.js → shell-vyt7er0z.js} +8 -8
  249. package/dist/chunks/{location-mutation-5797ytnh.js → shell-vyzzed90.js} +10 -10
  250. package/dist/chunks/{location-mutation-vzcthcp8.js → shell-vzcthcp8.js} +1 -1
  251. package/dist/chunks/{location-mutation-22m95qs7.js → shell-w1k39n5e.js} +4 -4
  252. package/dist/chunks/{location-mutation-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{location-mutation-ytxwmf2d.js → shell-w5e0rffm.js} +47 -47
  254. package/dist/chunks/{location-mutation-wd87259q.js → shell-wd87259q.js} +1 -1
  255. package/dist/chunks/{location-mutation-40v84sj9.js → shell-wd8n4s43.js} +20 -20
  256. package/dist/chunks/{location-mutation-gmrap60s.js → shell-we16zy36.js} +49 -49
  257. package/dist/chunks/{location-mutation-gk0f8ry6.js → shell-wk8z1bqt.js} +24 -24
  258. package/dist/chunks/{location-mutation-40dnmwzh.js → shell-wnxjx791.js} +52 -52
  259. package/dist/chunks/{location-mutation-x9dbpt97.js → shell-wrjtwt5e.js} +18 -18
  260. package/dist/chunks/{location-mutation-830a973a.js → shell-wrnhm9vn.js} +6 -6
  261. package/dist/chunks/{location-mutation-x1ezjp6w.js → shell-x1ezjp6w.js} +1 -1
  262. package/dist/chunks/{location-mutation-1xwjzdvm.js → shell-x3d4jfyq.js} +6 -6
  263. package/dist/chunks/{location-mutation-bh95vxve.js → shell-x7pryeww.js} +5 -5
  264. package/dist/chunks/{location-mutation-prktd40w.js → shell-xegjm1yz.js} +13 -13
  265. package/dist/chunks/{location-mutation-6tsg30fm.js → shell-xg9t41r3.js} +2 -2
  266. package/dist/chunks/{location-mutation-gfdhz5ky.js → shell-xh2y7gdn.js} +32 -32
  267. package/dist/chunks/{location-mutation-y1fvbwt7.js → shell-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{location-mutation-st8zm3j0.js → shell-y27npyv3.js} +33 -33
  269. package/dist/chunks/{location-mutation-dz5pbebx.js → shell-y6cbkzy7.js} +20 -20
  270. package/dist/chunks/{location-mutation-ea8nv0r7.js → shell-y6vkn53y.js} +2 -2
  271. package/dist/chunks/{location-mutation-rm0t6fxx.js → shell-ybb32c7q.js} +11 -11
  272. package/dist/chunks/{location-mutation-sj2m2bnv.js → shell-ye4pzvdc.js} +22 -22
  273. package/dist/chunks/{location-mutation-yvnshmpd.js → shell-yedr9c85.js} +17 -17
  274. package/dist/chunks/{location-mutation-002t2knz.js → shell-ym00f2st.js} +10 -10
  275. package/dist/chunks/{location-mutation-2weqeydf.js → shell-yp48q4z8.js} +11 -11
  276. package/dist/chunks/{location-mutation-yrhqyw5v.js → shell-yrhqyw5v.js} +1 -1
  277. package/dist/chunks/{location-mutation-s4enseaf.js → shell-yrznvahk.js} +2 -2
  278. package/dist/chunks/{location-mutation-v8nxbcj1.js → shell-yyqmvdec.js} +18 -18
  279. package/dist/chunks/{location-mutation-z0bkrqjs.js → shell-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{location-mutation-29x78va6.js → shell-z63w68vq.js} +6 -6
  281. package/dist/chunks/{location-mutation-q2f8db2z.js → shell-z76rvear.js} +4 -4
  282. package/dist/chunks/{location-mutation-zeh9ct20.js → shell-zeh9ct20.js} +2 -2
  283. package/dist/chunks/{location-mutation-p43178kr.js → shell-zfj5hy1g.js} +30 -30
  284. package/dist/chunks/{location-mutation-nw7hjf1f.js → shell-zgavb9cq.js} +16 -16
  285. package/dist/chunks/{location-mutation-gkdvs18m.js → shell-zgda001e.js} +11 -11
  286. package/dist/chunks/{location-mutation-qmy7xtej.js → shell-zqhama0g.js} +1 -1
  287. package/dist/chunks/{location-mutation-m44xxmhq.js → shell-zqw1zjbk.js} +32 -32
  288. package/dist/chunks/{location-mutation-zr2ceqn5.js → shell-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{location-mutation-xp4jy0cy.js → shell-zwxne7nm.js} +32 -32
  290. package/dist/chunks/{location-mutation-zxq2ej10.js → shell-zxq2ej10.js} +1 -1
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +7 -7
  293. package/dist/codemode/tool.js +2 -2
  294. package/dist/command.js +80 -80
  295. package/dist/config/discovery.js +79 -79
  296. package/dist/config/markdown.js +1 -1
  297. package/dist/config/normalize.js +19 -19
  298. package/dist/config/plugin/agent.js +117 -117
  299. package/dist/config/plugin/command.js +210 -210
  300. package/dist/config/plugin/compaction.js +157 -157
  301. package/dist/config/plugin/compatibility.js +135 -135
  302. package/dist/config/plugin/entry-observer.js +1 -1
  303. package/dist/config/plugin/formatter.js +119 -119
  304. package/dist/config/plugin/image.js +117 -117
  305. package/dist/config/plugin/instruction.js +87 -87
  306. package/dist/config/plugin/location-watcher.js +119 -119
  307. package/dist/config/plugin/mcp.js +126 -126
  308. package/dist/config/plugin/policy.js +116 -116
  309. package/dist/config/plugin/provider.js +115 -115
  310. package/dist/config/plugin/reference.js +119 -119
  311. package/dist/config/plugin/shell.js +118 -118
  312. package/dist/config/plugin/skill-file.js +99 -99
  313. package/dist/config/plugin/skill.js +136 -136
  314. package/dist/config/plugin/snapshot.js +117 -117
  315. package/dist/config/plugin/source.js +119 -119
  316. package/dist/config/plugin/tool-output.js +119 -119
  317. package/dist/config/plugin/websearch.js +115 -115
  318. package/dist/config/plugin/worktree.js +120 -120
  319. package/dist/config/variable.js +3 -3
  320. package/dist/config/watch.js +1 -1
  321. package/dist/config.js +117 -117
  322. package/dist/credential/sql.js +2 -2
  323. package/dist/credential.js +82 -82
  324. package/dist/database/database.js +69 -69
  325. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  327. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  328. package/dist/database/drizzle/index.js +15 -15
  329. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  332. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  340. package/dist/database/drizzle.js +16 -16
  341. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  342. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  343. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  344. package/dist/database/migration/20260225215848_workspace.js +1 -1
  345. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  346. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  347. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  348. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  349. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  350. package/dist/database/migration/20260323234822_events.js +1 -1
  351. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  352. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  353. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  354. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  355. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  356. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  357. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  358. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  359. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  360. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  361. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  362. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  363. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  364. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  365. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  366. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  367. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  368. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  369. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  370. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  371. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  372. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  373. package/dist/database/migration/20260611035744_credential.js +1 -1
  374. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  375. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  376. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  377. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  378. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  379. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  380. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  381. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  382. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  383. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  384. package/dist/database/migration/20260812213948_worktree.js +1 -1
  385. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  386. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  387. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  388. package/dist/database/migration.gen.js +48 -48
  389. package/dist/database/migration.js +50 -50
  390. package/dist/database/path.js +2 -2
  391. package/dist/database/schema.gen.js +1 -1
  392. package/dist/database/schema.sql.js +1 -1
  393. package/dist/database/sqlite.bun.js +1 -1
  394. package/dist/database/sqlite.js +1 -1
  395. package/dist/database/sqlite.node.js +1 -1
  396. package/dist/database/sqlite.workerd.js +1 -1
  397. package/dist/database/v1-migration.bun.js +78 -78
  398. package/dist/database/v1-migration.js +1 -1
  399. package/dist/effect/app-node-builder.js +362 -362
  400. package/dist/effect/app-node-platform.js +2 -2
  401. package/dist/effect/keyed-mutex.js +3 -3
  402. package/dist/effect/websocket-constructor.js +1 -1
  403. package/dist/environment/driver.js +1 -1
  404. package/dist/environment/environment.js +90 -90
  405. package/dist/environment/exec-defaults.js +2 -2
  406. package/dist/environment/files.js +1 -1
  407. package/dist/environment/index.js +92 -92
  408. package/dist/environment/local.js +2 -2
  409. package/dist/environment/memory.js +2 -2
  410. package/dist/environment/unavailable.js +1 -1
  411. package/dist/event/sql.js +1 -1
  412. package/dist/event-logger.js +73 -73
  413. package/dist/file-access.js +101 -101
  414. package/dist/file-mutation.js +91 -91
  415. package/dist/file-retention.js +1 -1
  416. package/dist/file.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/ignore.js +1 -1
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +224 -224
  424. package/dist/filesystem/protected.js +1 -1
  425. package/dist/filesystem/search.js +101 -101
  426. package/dist/filesystem/watcher-binding.js +3 -3
  427. package/dist/filesystem/watcher.js +11 -11
  428. package/dist/filesystem.js +100 -100
  429. package/dist/form.js +81 -81
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +84 -84
  432. package/dist/generate.js +92 -92
  433. package/dist/git.js +8 -8
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +3 -3
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/id/id.js +1 -1
  454. package/dist/image/photon.js +2 -2
  455. package/dist/image.js +6 -6
  456. package/dist/instance/service.js +5 -5
  457. package/dist/instance.js +355 -355
  458. package/dist/instruction-discovery.js +84 -84
  459. package/dist/instructions/builtins.js +84 -84
  460. package/dist/instructions/index.js +1 -1
  461. package/dist/integration/connection.js +1 -1
  462. package/dist/integration.js +81 -81
  463. package/dist/job.js +78 -78
  464. package/dist/kv/sql.js +2 -2
  465. package/dist/kv.js +72 -72
  466. package/dist/location-activity.js +131 -131
  467. package/dist/location-mutation.js +101 -101
  468. package/dist/location-service-map.js +81 -81
  469. package/dist/location-services.js +352 -352
  470. package/dist/location.js +84 -84
  471. package/dist/mcp/client.js +88 -88
  472. package/dist/mcp/index.js +103 -103
  473. package/dist/mcp/instructions.js +124 -124
  474. package/dist/mcp/oauth.js +3 -3
  475. package/dist/mcp/stdio.js +87 -87
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +3 -3
  478. package/dist/model-resolver.js +87 -87
  479. package/dist/model.js +6 -6
  480. package/dist/models-dev.js +75 -75
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +79 -79
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +110 -110
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +85 -85
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +74 -74
  490. package/dist/plugin/agent.js +99 -99
  491. package/dist/plugin/command.js +96 -96
  492. package/dist/plugin/hooks.js +5 -5
  493. package/dist/plugin/host.js +215 -215
  494. package/dist/plugin/instance.js +5 -5
  495. package/dist/plugin/internal.js +326 -326
  496. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  497. package/dist/plugin/models-dev.js +76 -76
  498. package/dist/plugin/module.js +7 -7
  499. package/dist/plugin/optimize.js +4 -4
  500. package/dist/plugin/plan.js +99 -99
  501. package/dist/plugin/promise.js +1 -1
  502. package/dist/plugin/provider/alibaba.js +2 -2
  503. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  504. package/dist/plugin/provider/azure.js +120 -120
  505. package/dist/plugin/provider/cerebras.js +2 -2
  506. package/dist/plugin/provider/cloudflare-ai-gateway.js +119 -119
  507. package/dist/plugin/provider/cloudflare-workers-ai.js +119 -119
  508. package/dist/plugin/provider/cohere.js +2 -2
  509. package/dist/plugin/provider/configured.js +116 -116
  510. package/dist/plugin/provider/digitalocean.js +80 -80
  511. package/dist/plugin/provider/dynamic.js +2 -2
  512. package/dist/plugin/provider/factory.js +1 -1
  513. package/dist/plugin/provider/gateway.js +2 -2
  514. package/dist/plugin/provider/github-copilot.js +81 -81
  515. package/dist/plugin/provider/gitlab.js +3 -3
  516. package/dist/plugin/provider/google-vertex.js +2 -2
  517. package/dist/plugin/provider/kilo.js +2 -2
  518. package/dist/plugin/provider/llmgateway.js +77 -77
  519. package/dist/plugin/provider/lmstudio.js +119 -119
  520. package/dist/plugin/provider/modal.js +80 -80
  521. package/dist/plugin/provider/nvidia.js +2 -2
  522. package/dist/plugin/provider/ollama.js +119 -119
  523. package/dist/plugin/provider/openai-compatible.js +1 -1
  524. package/dist/plugin/provider/openai.js +81 -81
  525. package/dist/plugin/provider/opencode.js +80 -80
  526. package/dist/plugin/provider/openrouter.js +3 -3
  527. package/dist/plugin/provider/perplexity.js +2 -2
  528. package/dist/plugin/provider/poe.js +77 -77
  529. package/dist/plugin/provider/sap-ai-core.js +3 -3
  530. package/dist/plugin/provider/sdk-factory.js +1 -1
  531. package/dist/plugin/provider/snowflake-cortex.js +119 -119
  532. package/dist/plugin/provider/venice.js +2 -2
  533. package/dist/plugin/provider/vercel.js +2 -2
  534. package/dist/plugin/provider/vllm.js +119 -119
  535. package/dist/plugin/provider/xai.js +78 -78
  536. package/dist/plugin/provider/zenmux.js +2 -2
  537. package/dist/plugin/provider.js +158 -158
  538. package/dist/plugin/sdk.js +75 -75
  539. package/dist/plugin/service.js +3 -3
  540. package/dist/plugin/skill.js +135 -135
  541. package/dist/plugin/source-directory.js +1 -1
  542. package/dist/plugin/supervisor.js +345 -345
  543. package/dist/plugin/update.js +6 -6
  544. package/dist/plugin/variant.js +4 -4
  545. package/dist/plugin/vcs/git.js +83 -83
  546. package/dist/plugin/vcs/hg.js +83 -83
  547. package/dist/plugin/warming.js +114 -114
  548. package/dist/plugin/websearch/exa.js +5 -5
  549. package/dist/plugin/websearch/firecrawl.js +8 -8
  550. package/dist/plugin/websearch/index.js +9 -9
  551. package/dist/plugin/websearch/mcp.js +4 -4
  552. package/dist/plugin/websearch/parallel.js +8 -8
  553. package/dist/plugin/websearch/tavily.js +6 -6
  554. package/dist/plugin/websearch/tinyfish.js +8 -8
  555. package/dist/plugin.js +226 -226
  556. package/dist/project/schema.js +8 -8
  557. package/dist/project/sql.js +4 -4
  558. package/dist/project.js +85 -85
  559. package/dist/provider.js +7 -7
  560. package/dist/pty/protocol.js +1 -1
  561. package/dist/pty/schema.js +3 -3
  562. package/dist/pty/ticket.js +1 -1
  563. package/dist/pty.js +96 -96
  564. package/dist/reference/instructions.js +86 -86
  565. package/dist/reference.js +86 -86
  566. package/dist/repository-cache.js +78 -78
  567. package/dist/repository.js +1 -1
  568. package/dist/ripgrep/binary.js +2 -2
  569. package/dist/ripgrep.js +95 -95
  570. package/dist/rpc.js +81 -81
  571. package/dist/schema.js +1 -1
  572. package/dist/session/command.js +73 -73
  573. package/dist/session/compaction.js +131 -131
  574. package/dist/session/context.js +149 -149
  575. package/dist/session/diff.js +85 -85
  576. package/dist/session/environment.js +5 -5
  577. package/dist/session/error.js +5 -5
  578. package/dist/session/event.js +1 -1
  579. package/dist/session/execution/restart.js +222 -222
  580. package/dist/session/execution.js +122 -122
  581. package/dist/session/generate.js +150 -150
  582. package/dist/session/history.js +15 -15
  583. package/dist/session/inbox.js +81 -81
  584. package/dist/session/info.js +3 -3
  585. package/dist/session/instruction-entry.js +78 -78
  586. package/dist/session/instruction-state.js +8 -8
  587. package/dist/session/instructions.js +94 -94
  588. package/dist/session/message-updater.js +2 -2
  589. package/dist/session/message.js +1 -1
  590. package/dist/session/model-request.js +115 -115
  591. package/dist/session/model-transport.js +9 -9
  592. package/dist/session/move.js +128 -128
  593. package/dist/session/projector.js +85 -85
  594. package/dist/session/prompt.js +102 -102
  595. package/dist/session/provider-context.js +3 -3
  596. package/dist/session/revert.js +87 -87
  597. package/dist/session/run-coordinator.js +3 -3
  598. package/dist/session/runner/index.js +3 -3
  599. package/dist/session/runner/llm.js +227 -227
  600. package/dist/session/runner/max-steps.js +1 -1
  601. package/dist/session/runner/model.js +87 -87
  602. package/dist/session/runner/publish-llm-event.js +3 -3
  603. package/dist/session/runner/retry.js +112 -112
  604. package/dist/session/runner/step.js +123 -123
  605. package/dist/session/runner/to-llm-message.js +2 -2
  606. package/dist/session/schema.js +5 -5
  607. package/dist/session/session.js +171 -171
  608. package/dist/session/shell.js +133 -133
  609. package/dist/session/skill.js +100 -100
  610. package/dist/session/sql.js +5 -5
  611. package/dist/session/stats.js +74 -74
  612. package/dist/session/store.js +84 -84
  613. package/dist/session/subagent-completion.js +1 -1
  614. package/dist/session/subagent-job.js +208 -208
  615. package/dist/session/system-prompt.js +3 -3
  616. package/dist/session/title.js +153 -153
  617. package/dist/session/to-session-error.js +109 -109
  618. package/dist/session/transfer.js +221 -221
  619. package/dist/session/usage.js +1 -1
  620. package/dist/session.js +212 -212
  621. package/dist/shell/parse.js +6 -6
  622. package/dist/shell/result.js +1 -1
  623. package/dist/shell/scan.js +1 -1
  624. package/dist/shell/select.js +11 -11
  625. package/dist/shell.js +133 -133
  626. package/dist/skill/discovery.js +6 -6
  627. package/dist/skill/instructions.js +104 -104
  628. package/dist/skill.js +107 -107
  629. package/dist/snapshot.js +88 -88
  630. package/dist/state.js +1 -1
  631. package/dist/tool/html-markdown.js +1 -1
  632. package/dist/tool/http-body.js +1 -1
  633. package/dist/tool/mcp.js +121 -121
  634. package/dist/tool/plugin/edit.js +117 -117
  635. package/dist/tool/plugin/file-diff.js +1 -1
  636. package/dist/tool/plugin/glob.js +114 -114
  637. package/dist/tool/plugin/grep.js +122 -122
  638. package/dist/tool/plugin/opencode.js +3 -3
  639. package/dist/tool/plugin/patch.js +119 -119
  640. package/dist/tool/plugin/question.js +102 -102
  641. package/dist/tool/plugin/read.js +121 -121
  642. package/dist/tool/plugin/shell.js +209 -209
  643. package/dist/tool/plugin/skill.js +108 -108
  644. package/dist/tool/plugin/subagent.js +217 -217
  645. package/dist/tool/plugin/webfetch.js +107 -107
  646. package/dist/tool/plugin/websearch.js +109 -109
  647. package/dist/tool/plugin/write.js +119 -119
  648. package/dist/tool/read-filesystem.js +98 -98
  649. package/dist/tool/runtime.js +1 -1
  650. package/dist/tool-output.js +8 -8
  651. package/dist/tool.js +11 -11
  652. package/dist/util/error-summary.js +1 -1
  653. package/dist/util/error.js +1 -1
  654. package/dist/util/iife.js +1 -1
  655. package/dist/util/lazy.js +1 -1
  656. package/dist/util/slug.js +1 -1
  657. package/dist/util/token.js +1 -1
  658. package/dist/util/which.js +1 -1
  659. package/dist/util/wildcard.js +1 -1
  660. package/dist/v1/config/agent.js +7 -7
  661. package/dist/v1/config/attachment.js +4 -4
  662. package/dist/v1/config/command.js +3 -3
  663. package/dist/v1/config/config.js +16 -16
  664. package/dist/v1/config/error.js +4 -4
  665. package/dist/v1/config/formatter.js +5 -5
  666. package/dist/v1/config/layout.js +1 -1
  667. package/dist/v1/config/lsp.js +5 -5
  668. package/dist/v1/config/mcp.js +4 -4
  669. package/dist/v1/config/migrate.js +4 -4
  670. package/dist/v1/config/permission.js +7 -7
  671. package/dist/v1/config/plugin.js +1 -1
  672. package/dist/v1/config/provider-options.js +1 -1
  673. package/dist/v1/config/provider.js +4 -4
  674. package/dist/v1/config/server.js +2 -2
  675. package/dist/v1/config/skills.js +3 -3
  676. package/dist/v1/permission.js +1 -1
  677. package/dist/vcs/patch.js +1 -1
  678. package/dist/vcs.js +86 -86
  679. package/dist/websearch.js +83 -83
  680. package/dist/wellknown/plugin.js +75 -75
  681. package/dist/wellknown.js +78 -78
  682. package/dist/workspace/driver.js +5 -5
  683. package/dist/workspace/sql.js +1 -1
  684. package/dist/workspace.js +79 -79
  685. package/dist/worktree/directory.js +2 -2
  686. package/dist/worktree/git.js +8 -8
  687. package/dist/worktree/refresh.js +342 -342
  688. package/dist/worktree/sql.js +5 -5
  689. package/dist/worktree.js +93 -93
  690. package/package.json +8 -8
  691. package/dist/chunks/location-mutation-1j3gmg45.js +0 -26
  692. package/dist/chunks/location-mutation-9qs3tcsp.js +0 -466
  693. package/dist/chunks/location-mutation-gj0jgfzh.js +0 -247
  694. package/dist/chunks/location-mutation-jqh9b0xq.js +0 -18
  695. package/dist/chunks/location-mutation-qapv375x.js +0 -4
  696. /package/dist/chunks/{location-mutation-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
  697. /package/dist/chunks/{location-mutation-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
  698. /package/dist/chunks/{location-mutation-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
  699. /package/dist/chunks/{location-mutation-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
  700. /package/dist/chunks/{location-mutation-1kg9ymc8.js → shell-1kg9ymc8.js} +0 -0
  701. /package/dist/chunks/{location-mutation-2710q6r3.js → shell-2710q6r3.js} +0 -0
  702. /package/dist/chunks/{location-mutation-2axfhc9x.js → shell-2axfhc9x.js} +0 -0
  703. /package/dist/chunks/{location-mutation-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
  704. /package/dist/chunks/{location-mutation-359p4xyc.js → shell-359p4xyc.js} +0 -0
  705. /package/dist/chunks/{location-mutation-3asan66x.js → shell-3asan66x.js} +0 -0
  706. /package/dist/chunks/{location-mutation-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
  707. /package/dist/chunks/{location-mutation-3w5fmr99.js → shell-3w5fmr99.js} +0 -0
  708. /package/dist/chunks/{location-mutation-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
  709. /package/dist/chunks/{location-mutation-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
  710. /package/dist/chunks/{location-mutation-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
  711. /package/dist/chunks/{location-mutation-4vcrnpx2.js → shell-4vcrnpx2.js} +0 -0
  712. /package/dist/chunks/{location-mutation-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
  713. /package/dist/chunks/{location-mutation-53557ph1.js → shell-53557ph1.js} +0 -0
  714. /package/dist/chunks/{location-mutation-550bvhaj.js → shell-550bvhaj.js} +0 -0
  715. /package/dist/chunks/{location-mutation-6prwharc.js → shell-6prwharc.js} +0 -0
  716. /package/dist/chunks/{location-mutation-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
  717. /package/dist/chunks/{location-mutation-7m9af43g.js → shell-7m9af43g.js} +0 -0
  718. /package/dist/chunks/{location-mutation-822emrt2.js → shell-822emrt2.js} +0 -0
  719. /package/dist/chunks/{location-mutation-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
  720. /package/dist/chunks/{location-mutation-8n3pysct.js → shell-8n3pysct.js} +0 -0
  721. /package/dist/chunks/{location-mutation-922hggd3.js → shell-922hggd3.js} +0 -0
  722. /package/dist/chunks/{location-mutation-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
  723. /package/dist/chunks/{location-mutation-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
  724. /package/dist/chunks/{location-mutation-a6k6eb26.js → shell-a6k6eb26.js} +0 -0
  725. /package/dist/chunks/{location-mutation-af5trqkr.js → shell-af5trqkr.js} +0 -0
  726. /package/dist/chunks/{location-mutation-afrmfg78.js → shell-afrmfg78.js} +0 -0
  727. /package/dist/chunks/{location-mutation-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
  728. /package/dist/chunks/{location-mutation-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
  729. /package/dist/chunks/{location-mutation-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
  730. /package/dist/chunks/{location-mutation-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
  731. /package/dist/chunks/{location-mutation-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
  732. /package/dist/chunks/{location-mutation-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
  733. /package/dist/chunks/{location-mutation-d9fn303g.js → shell-d9fn303g.js} +0 -0
  734. /package/dist/chunks/{location-mutation-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
  735. /package/dist/chunks/{location-mutation-dajrwvna.js → shell-dajrwvna.js} +0 -0
  736. /package/dist/chunks/{location-mutation-dap0rakb.js → shell-dap0rakb.js} +0 -0
  737. /package/dist/chunks/{location-mutation-df08tz66.js → shell-df08tz66.js} +0 -0
  738. /package/dist/chunks/{location-mutation-dy18nga0.js → shell-dy18nga0.js} +0 -0
  739. /package/dist/chunks/{location-mutation-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
  740. /package/dist/chunks/{location-mutation-e73j6tqm.js → shell-e73j6tqm.js} +0 -0
  741. /package/dist/chunks/{location-mutation-ec1grn59.js → shell-ec1grn59.js} +0 -0
  742. /package/dist/chunks/{location-mutation-eh3zwz77.js → shell-eh3zwz77.js} +0 -0
  743. /package/dist/chunks/{location-mutation-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
  744. /package/dist/chunks/{location-mutation-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
  745. /package/dist/chunks/{location-mutation-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
  746. /package/dist/chunks/{location-mutation-faypxj3z.js → shell-faypxj3z.js} +0 -0
  747. /package/dist/chunks/{location-mutation-fd410y7t.js → shell-fd410y7t.js} +0 -0
  748. /package/dist/chunks/{location-mutation-fxgpk5d8.js → shell-fxgpk5d8.js} +0 -0
  749. /package/dist/chunks/{location-mutation-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
  750. /package/dist/chunks/{location-mutation-g86h250q.js → shell-g86h250q.js} +0 -0
  751. /package/dist/chunks/{location-mutation-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
  752. /package/dist/chunks/{location-mutation-gftt206x.js → shell-gftt206x.js} +0 -0
  753. /package/dist/chunks/{location-mutation-hjbc5kem.js → shell-hjbc5kem.js} +0 -0
  754. /package/dist/chunks/{location-mutation-hk9envan.js → shell-hk9envan.js} +0 -0
  755. /package/dist/chunks/{location-mutation-hrnqkpcd.js → shell-hrnqkpcd.js} +0 -0
  756. /package/dist/chunks/{location-mutation-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
  757. /package/dist/chunks/{location-mutation-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
  758. /package/dist/chunks/{location-mutation-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
  759. /package/dist/chunks/{location-mutation-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
  760. /package/dist/chunks/{location-mutation-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
  761. /package/dist/chunks/{location-mutation-mp448xyj.js → shell-mp448xyj.js} +0 -0
  762. /package/dist/chunks/{location-mutation-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
  763. /package/dist/chunks/{location-mutation-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
  764. /package/dist/chunks/{location-mutation-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
  765. /package/dist/chunks/{location-mutation-njntx4h6.js → shell-njntx4h6.js} +0 -0
  766. /package/dist/chunks/{location-mutation-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
  767. /package/dist/chunks/{location-mutation-q74kybfr.js → shell-q74kybfr.js} +0 -0
  768. /package/dist/chunks/{location-mutation-qaymkmh1.js → shell-qaymkmh1.js} +0 -0
  769. /package/dist/chunks/{location-mutation-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
  770. /package/dist/chunks/{location-mutation-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
  771. /package/dist/chunks/{location-mutation-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
  772. /package/dist/chunks/{location-mutation-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
  773. /package/dist/chunks/{location-mutation-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
  774. /package/dist/chunks/{location-mutation-sk3qaz4a.js → shell-sk3qaz4a.js} +0 -0
  775. /package/dist/chunks/{location-mutation-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
  776. /package/dist/chunks/{location-mutation-twg0f83k.js → shell-twg0f83k.js} +0 -0
  777. /package/dist/chunks/{location-mutation-w803qqfp.js → shell-w803qqfp.js} +0 -0
  778. /package/dist/chunks/{location-mutation-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
  779. /package/dist/chunks/{location-mutation-wtztk69x.js → shell-wtztk69x.js} +0 -0
  780. /package/dist/chunks/{location-mutation-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
  781. /package/dist/chunks/{location-mutation-x61499pn.js → shell-x61499pn.js} +0 -0
  782. /package/dist/chunks/{location-mutation-y44na4kk.js → shell-y44na4kk.js} +0 -0
  783. /package/dist/chunks/{location-mutation-y8cydn3q.js → shell-y8cydn3q.js} +0 -0
  784. /package/dist/chunks/{location-mutation-y8f7s663.js → shell-y8f7s663.js} +0 -0
  785. /package/dist/chunks/{location-mutation-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
  786. /package/dist/chunks/{location-mutation-ym463w8f.js → shell-ym463w8f.js} +0 -0
  787. /package/dist/chunks/{location-mutation-z9919s4g.js → shell-z9919s4g.js} +0 -0
@@ -1,66 +1,66 @@
1
1
  import {
2
- Service50
3
- } from "./location-mutation-4e4x7r7e.js";
2
+ Service49
3
+ } from "./shell-vmtg2jww.js";
4
4
  import {
5
- Service61
6
- } from "./location-mutation-8ddz1vt2.js";
5
+ Service69
6
+ } from "./shell-50q5na77.js";
7
7
  import {
8
- ID4,
8
+ ID7,
9
9
  Result2,
10
10
  ProviderRequiredError2,
11
11
  DisabledError2,
12
12
  RequestError2,
13
- Service23
14
- } from "./location-mutation-p3axd9rw.js";
13
+ Service52
14
+ } from "./shell-g6etydj3.js";
15
15
  import {
16
16
  __export
17
- } from "./location-mutation-9rqn6x4v.js";
17
+ } from "./shell-9rqn6x4v.js";
18
18
 
19
19
  // src/tool/plugin/websearch.ts
20
20
  var exports_websearch2 = {};
21
21
  __export(exports_websearch2, {
22
- Input: () => Input11,
22
+ Input: () => Input3,
23
23
  NO_RESULTS: () => NO_RESULTS2,
24
- Plugin: () => Plugin45,
24
+ Plugin: () => Plugin21,
25
25
  WebSearchTool: () => exports_websearch2,
26
- description: () => description5,
27
- name: () => name11
26
+ description: () => description2,
27
+ name: () => name3
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Effect, Schema, Semaphore } from "effect";
31
31
  import { HttpClientError } from "effect/unstable/http";
32
- var name11 = "websearch";
32
+ var name3 = "websearch";
33
33
  var NO_RESULTS2 = "No search results found. Please try a different query.";
34
34
  var providerSelectionLock = Semaphore.makeUnsafe(1);
35
35
  var httpErrors = new Map([
36
36
  [429, "Web search rate limited (HTTP 429)"],
37
37
  [401, "Web search authentication failed (HTTP 401)"]
38
38
  ]);
39
- var description5 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
39
+ var description2 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
40
40
 
41
41
  The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
42
- var Input11 = Schema.Struct({
42
+ var Input3 = Schema.Struct({
43
43
  query: Schema.String.annotate({ description: "Websearch query" })
44
44
  });
45
45
  var Output = Schema.Struct({
46
- provider: ID4,
46
+ provider: ID7,
47
47
  results: Schema.Array(Result2)
48
48
  });
49
- var Plugin45 = {
49
+ var Plugin21 = {
50
50
  id: "opencode.tool.websearch",
51
51
  effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
52
- const permission = yield* Service61;
53
- const forms = yield* Service50;
54
- const websearch = yield* Service23;
52
+ const permission = yield* Service69;
53
+ const forms = yield* Service49;
54
+ const websearch = yield* Service52;
55
55
  yield* ctx.tool.transform((editor) => editor.add({
56
- name: name11,
56
+ name: name3,
57
57
  options: { codemode: false },
58
- description: description5,
59
- input: Input11,
58
+ description: description2,
59
+ input: Input3,
60
60
  output: Output,
61
61
  execute: (input, context) => Effect.gen(function* () {
62
62
  yield* permission.assert({
63
- action: name11,
63
+ action: name3,
64
64
  resources: [input.query],
65
65
  save: ["*"],
66
66
  metadata: input,
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
176
176
  const hook = (event) => Effect.gen(function* () {
177
177
  const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
178
178
  if (disabled)
179
- delete event.tools[name11];
179
+ delete event.tools[name3];
180
180
  });
181
181
  yield* ctx.session.hook("context", hook);
182
182
  yield* ctx.session.hook("compaction", hook);
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
184
184
  })
185
185
  };
186
186
 
187
- export { name11, NO_RESULTS2, description5, Input11, Plugin45, exports_websearch2 };
187
+ export { name3, NO_RESULTS2, description2, Input3, Plugin21, exports_websearch2 };
@@ -0,0 +1,18 @@
1
+ import {
2
+ __export
3
+ } from "./shell-9rqn6x4v.js";
4
+
5
+ // src/plugin/service.ts
6
+ var exports_service = {};
7
+ __export(exports_service, {
8
+ Plugin: () => exports_service,
9
+ Service: () => Service29,
10
+ awaitActivation: () => awaitActivation2
11
+ });
12
+ import { Context } from "effect";
13
+
14
+ class Service29 extends Context.Service()("@opencode/Plugin") {
15
+ }
16
+ var awaitActivation2 = Service29.use((plugins) => plugins.awaitActivation);
17
+
18
+ export { Service29, awaitActivation2, exports_service };
@@ -1,70 +1,70 @@
1
1
  import {
2
- Service78,
3
- node83
4
- } from "./location-mutation-31q0a33n.js";
2
+ Service79,
3
+ node84
4
+ } from "./shell-tsmdsbrt.js";
5
5
  import {
6
- Service74,
7
- node79
8
- } from "./location-mutation-nw7hjf1f.js";
6
+ Service73,
7
+ node78
8
+ } from "./shell-zgavb9cq.js";
9
9
  import {
10
- ID11,
11
- Service64,
12
- node68
13
- } from "./location-mutation-rt60rjhz.js";
10
+ ID18,
11
+ Service76,
12
+ node81
13
+ } from "./shell-s24xwzhn.js";
14
14
  import {
15
15
  NotFoundError10
16
- } from "./location-mutation-3z3b7hny.js";
16
+ } from "./shell-1vr0zdnx.js";
17
17
  import {
18
- Service63,
19
- node67
20
- } from "./location-mutation-tw5aca0f.js";
18
+ Service71,
19
+ node76
20
+ } from "./shell-v261m4vn.js";
21
21
  import {
22
22
  match2
23
- } from "./location-mutation-y1fvbwt7.js";
23
+ } from "./shell-y1fvbwt7.js";
24
24
  import {
25
- Service62,
26
- node66
27
- } from "./location-mutation-0cj6ty0b.js";
25
+ Service70,
26
+ node75
27
+ } from "./shell-58mrke4p.js";
28
28
  import {
29
- Service65,
30
- node69
31
- } from "./location-mutation-x353b1jt.js";
29
+ Service72,
30
+ node77
31
+ } from "./shell-vyt7er0z.js";
32
32
  import {
33
33
  __export
34
- } from "./location-mutation-9rqn6x4v.js";
34
+ } from "./shell-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: () => Event14,
46
- ID: () => ID9,
45
+ Event: () => Event17,
46
+ ID: () => ID13,
47
47
  NotFoundError: () => NotFoundError9,
48
- Permission: () => exports_permission,
48
+ Permission: () => exports_permission2,
49
49
  Reply: () => Reply3,
50
50
  ReplyInput: () => ReplyInput2,
51
- Request: () => Request2,
52
- Rule: () => Rule2,
51
+ Request: () => Request3,
52
+ Rule: () => Rule3,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service61,
54
+ Service: () => Service69,
55
55
  Source: () => Source5,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node65
58
+ node: () => node74
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 Event14 } from "@opencode/schema/permission";
63
+ import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
+ import { Event as Event17 } from "@opencode/schema/permission";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
- var ID9 = Permission.ID;
67
+ var ID13 = Permission.ID;
68
68
  var Source5 = Permission.Source;
69
69
  var RequestFields = {
70
70
  sessionID: Permission.Request.fields.sessionID,
@@ -74,20 +74,20 @@ var RequestFields = {
74
74
  metadata: Permission.Request.fields.metadata,
75
75
  source: Permission.Request.fields.source
76
76
  };
77
- var Request2 = Permission.Request;
77
+ var Request3 = Permission.Request;
78
78
  var Reply3 = Permission.Reply;
79
79
  var AssertInput2 = Schema.Struct({
80
- id: ID9.pipe(Schema.optional),
80
+ id: ID13.pipe(Schema.optional),
81
81
  ...RequestFields,
82
- agent: ID11.pipe(Schema.optional)
82
+ agent: ID18.pipe(Schema.optional)
83
83
  }).annotate({ identifier: "Permission.AssertInput" });
84
84
  var ReplyInput2 = Schema.Struct({
85
- requestID: ID9,
85
+ requestID: ID13,
86
86
  reply: Reply3,
87
87
  message: Schema.String.pipe(Schema.optional)
88
88
  }).annotate({ identifier: "Permission.ReplyInput" });
89
89
  var AskResult2 = Schema.Struct({
90
- id: ID9,
90
+ id: ID13,
91
91
  effect: Permission.Effect
92
92
  }).annotate({ identifier: "Permission.AskResult" });
93
93
 
@@ -111,7 +111,7 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
111
111
  }
112
112
 
113
113
  class NotFoundError9 extends Schema.TaggedError()("Permission.NotFoundError", {
114
- requestID: ID9
114
+ requestID: ID13
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 Service61 extends Context.Service()("@opencode/Permission") {
128
+ class Service69 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service61, Effect.gen(function* () {
131
- const bus = yield* Service78;
132
- const location = yield* Service74;
133
- const agents = yield* Service64;
134
- const sessions = yield* Service63;
135
- const saved = yield* Service62;
136
- const hooks = yield* Service65;
130
+ var layer = Layer.effect(Service69, Effect.gen(function* () {
131
+ const bus = yield* Service79;
132
+ const location = yield* Service73;
133
+ const agents = yield* Service76;
134
+ const sessions = yield* Service71;
135
+ const saved = yield* Service70;
136
+ const hooks = yield* Service72;
137
137
  const pending = new Map;
138
138
  yield* Effect.addFinalizer(() => Effect.forEach(pending.values(), (item) => Deferred.fail(item.deferred, new DeclinedError2), {
139
139
  discard: true
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
180
180
  });
181
181
  function request(input, message) {
182
182
  return {
183
- id: input.id ?? ID9.create(),
183
+ id: input.id ?? ID13.create(),
184
184
  sessionID: input.sessionID,
185
185
  action: input.action,
186
186
  resources: input.resources,
@@ -283,12 +283,12 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
283
283
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
284
284
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
285
285
  });
286
- return Service61.of({ ask, assert, reply, get, forSession, list });
286
+ return Service69.of({ ask, assert, reply, get, forSession, list });
287
287
  }));
288
- var node65 = makeLocationNode({
289
- service: Service61,
288
+ var node74 = makeLocationNode({
289
+ service: Service69,
290
290
  layer,
291
- deps: [node83, node79, node68, node67, node66, node69]
291
+ deps: [node84, node78, node81, node76, node75, node77]
292
292
  });
293
293
 
294
- export { PermissionEffect, ID9, Source5, Request2, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError9, evaluate2, merge2, Service61, node65, exports_permission, Rule2, Ruleset2, Event14 };
294
+ export { PermissionEffect, ID13, Source5, Request3, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError9, evaluate2, merge2, Service69, node74, exports_permission2, Rule3, Ruleset2, Event17 };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  collectBoundedResponseBody2
3
- } from "./location-mutation-3v8g72cx.js";
3
+ } from "./shell-3v8g72cx.js";
4
4
  import {
5
5
  __export
6
- } from "./location-mutation-9rqn6x4v.js";
6
+ } from "./shell-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/mcp.ts
9
9
  var exports_mcp2 = {};
10
10
  __export(exports_mcp2, {
11
- MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
11
+ MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
12
12
  WebSearchMcp: () => exports_mcp2,
13
13
  call: () => call2,
14
14
  parseResponse: () => parseResponse2
15
15
  });
16
16
  import { Duration, Effect, Schema } from "effect";
17
17
  import { HttpClient, HttpClientRequest } from "effect/unstable/http";
18
- var MAX_RESPONSE_BYTES2 = 256 * 1024;
18
+ var MAX_RESPONSE_BYTES3 = 256 * 1024;
19
19
  var parseResponse2 = (body, result) => {
20
20
  const decode = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Struct({ result })));
21
21
  const parse = (payload) => {
@@ -53,7 +53,7 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
53
53
  }));
54
54
  return yield* Effect.gen(function* () {
55
55
  const response = yield* HttpClient.withScope(HttpClient.filterStatusOk(http)).execute(request);
56
- const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES2} bytes`));
56
+ const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES3} bytes`));
57
57
  return yield* parseResponse2(body.toString("utf8"), schema.output);
58
58
  }).pipe(Effect.scoped, Effect.timeoutOrElse({
59
59
  duration: Duration.seconds(25),
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
61
61
  }));
62
62
  });
63
63
 
64
- export { MAX_RESPONSE_BYTES2, parseResponse2, call2, exports_mcp2 };
64
+ export { MAX_RESPONSE_BYTES3, parseResponse2, call2, exports_mcp2 };
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./location-mutation-bxv7jnj4.js";
2
+ Service80,
3
+ node85
4
+ } from "./shell-2130zj7j.js";
5
5
  import {
6
6
  PermissionTable2
7
- } from "./location-mutation-hdnk95c8.js";
7
+ } from "./shell-f828m53h.js";
8
8
  import {
9
9
  __export
10
- } from "./location-mutation-9rqn6x4v.js";
10
+ } from "./shell-9rqn6x4v.js";
11
11
 
12
12
  // src/permission/saved.ts
13
13
  var exports_saved = {};
14
14
  __export(exports_saved, {
15
15
  AddInput: () => AddInput2,
16
- ID: () => ID10,
17
- Info: () => Info13,
16
+ ID: () => ID14,
17
+ Info: () => Info27,
18
18
  ListInput: () => ListInput4,
19
19
  PermissionSaved: () => exports_saved,
20
- Service: () => Service62,
21
- node: () => node66
20
+ Service: () => Service70,
21
+ node: () => node75
22
22
  });
23
23
  import { eq } from "drizzle-orm";
24
24
  import { Context, Effect, Layer, Schema } from "effect";
25
25
  import { Project } from "@opencode/schema/project";
26
26
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
27
27
  import { PermissionSaved } from "@opencode/schema/permission-saved";
28
- var ID10 = PermissionSaved.ID;
29
- var Info13 = PermissionSaved.Info;
28
+ var ID14 = PermissionSaved.ID;
29
+ var Info27 = PermissionSaved.Info;
30
30
  var ListInput4 = Schema.Struct({
31
31
  projectID: Project.ID.pipe(Schema.optional)
32
32
  }).annotate({ identifier: "PermissionSaved.ListInput" });
@@ -36,10 +36,10 @@ var AddInput2 = Schema.Struct({
36
36
  resources: Schema.Array(Schema.String)
37
37
  }).annotate({ identifier: "PermissionSaved.AddInput" });
38
38
 
39
- class Service62 extends Context.Service()("@opencode/PermissionSaved") {
39
+ class Service70 extends Context.Service()("@opencode/PermissionSaved") {
40
40
  }
41
- var layer = Layer.effect(Service62, Effect.gen(function* () {
42
- const db = (yield* Service79).db;
41
+ var layer = Layer.effect(Service70, Effect.gen(function* () {
42
+ const db = (yield* Service80).db;
43
43
  const list = Effect.fnUntraced(function* (input) {
44
44
  const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
45
45
  return rows.map((row) => ({
@@ -53,7 +53,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
53
53
  if (!input.resources.length)
54
54
  return;
55
55
  yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
56
- id: ID10.create(),
56
+ id: ID14.create(),
57
57
  project_id: input.projectID,
58
58
  action: input.action,
59
59
  resource
@@ -62,8 +62,8 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
62
62
  const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
63
63
  yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
64
64
  });
65
- return Service62.of({ list, add, remove });
65
+ return Service70.of({ list, add, remove });
66
66
  }));
67
- var node66 = makeGlobalNode({ service: Service62, layer, deps: [node84] });
67
+ var node75 = makeGlobalNode({ service: Service70, layer, deps: [node85] });
68
68
 
69
- export { ID10, Info13, ListInput4, AddInput2, Service62, node66, exports_saved };
69
+ export { ID14, Info27, ListInput4, AddInput2, Service70, node75, exports_saved };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isCheckpoint2,
3
3
  decode2
4
- } from "./location-mutation-22m95qs7.js";
4
+ } from "./shell-w1k39n5e.js";
5
5
 
6
6
  // src/session/runner/to-llm-message.ts
7
7
  import { Message, ToolCallPart, ToolResultPart } from "@opencode/ai";
@@ -1,50 +1,50 @@
1
1
  import {
2
- Service70
3
- } from "./location-mutation-y2rk8dp4.js";
2
+ Service62
3
+ } from "./shell-qfehbndj.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./location-mutation-922hggd3.js";
6
+ } from "./shell-922hggd3.js";
7
7
  import {
8
- Service74
9
- } from "./location-mutation-nw7hjf1f.js";
8
+ Service73
9
+ } from "./shell-zgavb9cq.js";
10
10
  import {
11
- Service69
12
- } from "./location-mutation-6gny55sm.js";
11
+ Service61
12
+ } from "./shell-dnyx0jag.js";
13
13
  import {
14
14
  DirectorySource2,
15
15
  UrlSource2,
16
16
  Source4
17
- } from "./location-mutation-x2vke7v6.js";
17
+ } from "./shell-hwcbwms2.js";
18
18
  import {
19
- Service7
20
- } from "./location-mutation-m2d0j7c0.js";
19
+ Service11
20
+ } from "./shell-2bt6bea8.js";
21
21
  import {
22
22
  parse2
23
- } from "./location-mutation-830a973a.js";
23
+ } from "./shell-wrnhm9vn.js";
24
24
  import {
25
25
  __export
26
- } from "./location-mutation-9rqn6x4v.js";
26
+ } from "./shell-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/skill.ts
29
29
  var exports_skill = {};
30
30
  __export(exports_skill, {
31
31
  ConfigSkillPlugin: () => exports_skill,
32
- Plugin: () => Plugin13
32
+ Plugin: () => Plugin18
33
33
  });
34
34
  import { define } from "@opencode/plugin/effect/plugin";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
37
  import path from "path";
38
38
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
39
- var Plugin13 = define({
39
+ var Plugin18 = define({
40
40
  id: "opencode.config.skill",
41
41
  effect: Effect.fn(function* (ctx) {
42
- const config = yield* Service69;
43
- const discovery = yield* Service7;
42
+ const config = yield* Service61;
43
+ const discovery = yield* Service11;
44
44
  const fs = yield* FSUtil.Service;
45
45
  const global = yield* Global.Service;
46
- const location = yield* Service74;
47
- const watcher = yield* Service70;
46
+ const location = yield* Service73;
47
+ const watcher = yield* Service62;
48
48
  const loaded = {
49
49
  entries: yield* config.entries(),
50
50
  skills: []
@@ -176,4 +176,4 @@ var Plugin13 = define({
176
176
  })
177
177
  });
178
178
 
179
- export { Plugin13, exports_skill };
179
+ export { Plugin18, exports_skill };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-mutation-9rqn6x4v.js";
3
+ } from "./shell-9rqn6x4v.js";
4
4
 
5
5
  // src/config/markdown.ts
6
6
  var exports_markdown = {};
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  webSocketConstructor2
3
- } from "./location-mutation-5t3nmthw.js";
3
+ } from "./shell-5t3nmthw.js";
4
4
  import {
5
5
  __export
6
- } from "./location-mutation-9rqn6x4v.js";
6
+ } from "./shell-9rqn6x4v.js";
7
7
 
8
8
  // src/session/model-transport.ts
9
9
  var exports_model_transport = {};
10
10
  __export(exports_model_transport, {
11
- Service: () => Service35,
11
+ Service: () => Service24,
12
12
  SessionModelTransport: () => exports_model_transport,
13
- layer: () => layer16,
13
+ layer: () => layer12,
14
14
  makeLayer: () => makeLayer2,
15
- node: () => node40
15
+ node: () => node28
16
16
  });
17
17
  import {
18
18
  WebSocketTransport
@@ -32,7 +32,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
32
32
  });
33
33
  var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
34
34
 
35
- class Service35 extends Context.Service()("@opencode/SessionModelTransport") {
35
+ class Service24 extends Context.Service()("@opencode/SessionModelTransport") {
36
36
  }
37
37
  var transportError = (message, input) => new AIError({
38
38
  reason: new TransportError({ message, transport: "websocket", ...input })
@@ -56,7 +56,7 @@ var observationFrame = (observation) => {
56
56
  return Effect.fail(observation.error);
57
57
  };
58
58
  var observationTerminal = (observation) => observation.type !== "frame";
59
- var makeLayer2 = (connector) => Layer.effect(Service35, Effect.gen(function* () {
59
+ var makeLayer2 = (connector) => Layer.effect(Service24, Effect.gen(function* () {
60
60
  const scope = yield* Scope.Scope;
61
61
  const states = new Map;
62
62
  const state = (sessionID) => {
@@ -356,11 +356,11 @@ var makeLayer2 = (connector) => Layer.effect(Service35, Effect.gen(function* ()
356
356
  }, { discard: true });
357
357
  });
358
358
  yield* Effect.addFinalizer(() => closeAll);
359
- return Service35.of({ bind, close, closeAll });
359
+ return Service24.of({ bind, close, closeAll });
360
360
  }));
361
- var layer16 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
361
+ var layer12 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
362
362
  open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
363
363
  })));
364
- var node40 = makeGlobalNode({ service: Service35, layer: layer16, deps: [webSocketConstructor2] });
364
+ var node28 = makeGlobalNode({ service: Service24, layer: layer12, deps: [webSocketConstructor2] });
365
365
 
366
- export { Service35, makeLayer2, layer16, node40, exports_model_transport };
366
+ export { Service24, makeLayer2, layer12, node28, exports_model_transport };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  BlockedError2
3
- } from "./location-mutation-8ddz1vt2.js";
3
+ } from "./shell-50q5na77.js";
4
4
  import {
5
5
  __export
6
- } from "./location-mutation-9rqn6x4v.js";
6
+ } from "./shell-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/plan.ts
9
9
  var exports_plan = {};
10
10
  __export(exports_plan, {
11
11
  PlanPlugin: () => exports_plan,
12
- Plugin: () => Plugin27
12
+ Plugin: () => Plugin43
13
13
  });
14
14
  import { Message, ToolFailure } from "@opencode/ai";
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
29
29
  var leave = `<system-reminder>
30
30
  You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
31
31
  </system-reminder>`;
32
- var Plugin27 = define({
32
+ var Plugin43 = define({
33
33
  id: "opencode.plan",
34
34
  effect: Effect.fn(function* (ctx) {
35
35
  const global = yield* Global.Service;
@@ -106,4 +106,4 @@ function lastReminder(messages, enterReminder) {
106
106
  }, undefined);
107
107
  }
108
108
 
109
- export { Plugin27, exports_plan };
109
+ export { Plugin43, exports_plan };