@opencode/core 0.0.0-dev-20568 → 0.0.0-dev-20569

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 (779) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{variant-h4ckqw4f.js → rpc-03xyy9gs.js} +8 -8
  8. package/dist/chunks/{variant-s1q39aav.js → rpc-04j0x0ww.js} +8 -8
  9. package/dist/chunks/{variant-jp7cx7ay.js → rpc-05b7j7nc.js} +28 -28
  10. package/dist/chunks/{variant-6n1e8g08.js → rpc-07qspjr9.js} +10 -10
  11. package/dist/chunks/{variant-0efmr3ew.js → rpc-098wjtq5.js} +31 -31
  12. package/dist/chunks/{variant-ab2vrr9e.js → rpc-0c0qx5qx.js} +16 -16
  13. package/dist/chunks/{variant-0cyeq29h.js → rpc-0er21fhz.js} +21 -21
  14. package/dist/chunks/{variant-6h8gb4gz.js → rpc-0fnwcstt.js} +8 -8
  15. package/dist/chunks/{variant-9x6ntc6h.js → rpc-0m2861xh.js} +2 -2
  16. package/dist/chunks/{variant-ekgzv30y.js → rpc-0m8xe625.js} +10 -10
  17. package/dist/chunks/{variant-0paq2nw3.js → rpc-0paq2nw3.js} +1 -1
  18. package/dist/chunks/{variant-bx0gyb4h.js → rpc-0r3c1bmw.js} +5 -5
  19. package/dist/chunks/{variant-0vbcp93d.js → rpc-0vbcp93d.js} +2 -2
  20. package/dist/chunks/{variant-qby9dwvd.js → rpc-0xezjjjn.js} +8 -8
  21. package/dist/chunks/{variant-hmzps02n.js → rpc-0xrnfvwp.js} +45 -45
  22. package/dist/chunks/{variant-45vak3fn.js → rpc-1133tj20.js} +15 -15
  23. package/dist/chunks/{variant-kh8a2ac8.js → rpc-1as3daqx.js} +5 -5
  24. package/dist/chunks/{variant-1dazxqgg.js → rpc-1dazxqgg.js} +2 -2
  25. package/dist/chunks/{variant-1dvck2a7.js → rpc-1dvck2a7.js} +2 -2
  26. package/dist/chunks/{variant-r3af3ks2.js → rpc-1kmjk8kg.js} +13 -13
  27. package/dist/chunks/{variant-xhcbh7p5.js → rpc-1ngv9tv8.js} +12 -12
  28. package/dist/chunks/{variant-8rjyh58r.js → rpc-1q09qgwy.js} +6 -6
  29. package/dist/chunks/{variant-9yqn399k.js → rpc-1qaky3xs.js} +33 -33
  30. package/dist/chunks/{variant-5bk5sr12.js → rpc-1rvbgkgd.js} +3 -3
  31. package/dist/chunks/{variant-8pjbxf7p.js → rpc-20k6bs8s.js} +9 -9
  32. package/dist/chunks/{variant-zfd7zg3q.js → rpc-26frdzsg.js} +5 -5
  33. package/dist/chunks/{variant-s3jaam8x.js → rpc-28ysey72.js} +7 -7
  34. package/dist/chunks/{variant-2a5m3afh.js → rpc-2a5m3afh.js} +1 -1
  35. package/dist/chunks/{variant-eev7k8s4.js → rpc-2cj59yd0.js} +30 -30
  36. package/dist/chunks/{variant-0ryd0fps.js → rpc-2p623br6.js} +5 -5
  37. package/dist/chunks/{variant-6fn20w98.js → rpc-2vasyqn5.js} +13 -13
  38. package/dist/chunks/{variant-tr8nne0r.js → rpc-2y1aws93.js} +6 -6
  39. package/dist/chunks/{variant-evg2mx3n.js → rpc-30g848st.js} +18 -18
  40. package/dist/chunks/{variant-czbv6q7r.js → rpc-31ytfjtf.js} +10 -10
  41. package/dist/chunks/{variant-srwtb185.js → rpc-36yf2ddr.js} +18 -18
  42. package/dist/chunks/{variant-3fejadf4.js → rpc-37k8p2z2.js} +27 -27
  43. package/dist/chunks/{variant-3fc6dm20.js → rpc-3fc6dm20.js} +1 -1
  44. package/dist/chunks/{variant-3hepkmqq.js → rpc-3hepkmqq.js} +1 -1
  45. package/dist/chunks/{variant-qqe20fmz.js → rpc-3pzq4bxj.js} +6 -6
  46. package/dist/chunks/{variant-gqft2nrr.js → rpc-3qdjr5ym.js} +6 -6
  47. package/dist/chunks/{variant-3smtnn6g.js → rpc-3smtnn6g.js} +1 -1
  48. package/dist/chunks/{variant-3tvqynh2.js → rpc-3tvqynh2.js} +1 -1
  49. package/dist/chunks/{variant-3zsf4n22.js → rpc-3zsf4n22.js} +1 -1
  50. package/dist/chunks/{variant-vrtk0med.js → rpc-43p2n4jh.js} +22 -22
  51. package/dist/chunks/{variant-asyfc2w8.js → rpc-48nzehqx.js} +22 -22
  52. package/dist/chunks/{variant-c4s67d0q.js → rpc-495ah7rv.js} +26 -26
  53. package/dist/chunks/{variant-cw0sjxr0.js → rpc-4bd1m6m8.js} +12 -12
  54. package/dist/chunks/{variant-y906m0ew.js → rpc-4drgpw32.js} +5 -5
  55. package/dist/chunks/{variant-gbnjw0cx.js → rpc-4e42zdmr.js} +9 -9
  56. package/dist/chunks/{variant-9gk8ghcr.js → rpc-4g6xgwkf.js} +32 -32
  57. package/dist/chunks/{variant-epspn958.js → rpc-4jfevdw8.js} +20 -20
  58. package/dist/chunks/{variant-4ts7tf6z.js → rpc-4ts7tf6z.js} +2 -2
  59. package/dist/chunks/{variant-8s5vpa1t.js → rpc-4x98a375.js} +42 -42
  60. package/dist/chunks/{variant-2bptc6rh.js → rpc-4z86tf5s.js} +30 -30
  61. package/dist/chunks/{variant-px3f5gqf.js → rpc-51prhw21.js} +46 -46
  62. package/dist/chunks/{variant-8e0ct9rs.js → rpc-540mx71t.js} +24 -24
  63. package/dist/chunks/{variant-sb8ypdmv.js → rpc-54b2bcam.js} +10 -10
  64. package/dist/chunks/{variant-rvfxm575.js → rpc-54k1v346.js} +23 -23
  65. package/dist/chunks/{variant-54ma36ye.js → rpc-54ma36ye.js} +1 -1
  66. package/dist/chunks/{variant-ytygnn6j.js → rpc-59wwawx9.js} +17 -17
  67. package/dist/chunks/{variant-880nppwv.js → rpc-5aze2f39.js} +32 -32
  68. package/dist/chunks/{variant-5daktx2q.js → rpc-5daktx2q.js} +1 -1
  69. package/dist/chunks/{variant-fffn9p0w.js → rpc-5k8k8ajy.js} +13 -13
  70. package/dist/chunks/{variant-bcg12dyf.js → rpc-5ktvwtrd.js} +18 -18
  71. package/dist/chunks/{variant-rjrpghac.js → rpc-5mq93c5b.js} +4 -4
  72. package/dist/chunks/{variant-sa5mzy7a.js → rpc-5p5rb2xf.js} +11 -11
  73. package/dist/chunks/{variant-5t3nmthw.js → rpc-5t3nmthw.js} +2 -2
  74. package/dist/chunks/{variant-44wzjv1b.js → rpc-61dc9y59.js} +11 -11
  75. package/dist/chunks/{variant-m20xg356.js → rpc-62wa77kx.js} +14 -14
  76. package/dist/chunks/{variant-669tq793.js → rpc-669tq793.js} +1 -1
  77. package/dist/chunks/{variant-qh1h7gbx.js → rpc-69c46p7r.js} +88 -88
  78. package/dist/chunks/{variant-vzd59vzn.js → rpc-6aqk6k4h.js} +1 -1
  79. package/dist/chunks/{variant-3g34932r.js → rpc-6ehqgf3h.js} +36 -36
  80. package/dist/chunks/{variant-d4st2nms.js → rpc-6fy5j2sr.js} +4 -4
  81. package/dist/chunks/{variant-bz3vyf23.js → rpc-6ycadg5x.js} +18 -18
  82. package/dist/chunks/{variant-71az546q.js → rpc-71az546q.js} +2 -2
  83. package/dist/chunks/rpc-731t4gzs.js +26 -0
  84. package/dist/chunks/{variant-4r544dz9.js → rpc-73naqs8w.js} +13 -13
  85. package/dist/chunks/{variant-arw5bwjq.js → rpc-76f0k4j8.js} +26 -26
  86. package/dist/chunks/{variant-r4kgh8zw.js → rpc-79z95hvx.js} +20 -20
  87. package/dist/chunks/{variant-7bmhse3q.js → rpc-7bmhse3q.js} +1 -1
  88. package/dist/chunks/{variant-dzq0v3hz.js → rpc-7evxkwxm.js} +25 -25
  89. package/dist/chunks/{variant-aggxrfpv.js → rpc-7ktr74ms.js} +9 -9
  90. package/dist/chunks/{variant-wbm0ed65.js → rpc-7ngh9skp.js} +24 -24
  91. package/dist/chunks/{variant-w50q7jpg.js → rpc-7vs9szcs.js} +18 -18
  92. package/dist/chunks/{variant-kkp8zx71.js → rpc-80scg3y3.js} +4 -4
  93. package/dist/chunks/{variant-84txncab.js → rpc-84txncab.js} +1 -1
  94. package/dist/chunks/{variant-vc6qc4g1.js → rpc-875n2812.js} +8 -8
  95. package/dist/chunks/{variant-8d7r5vzw.js → rpc-8d7r5vzw.js} +1 -1
  96. package/dist/chunks/{variant-96her4mz.js → rpc-8eyv5ht6.js} +16 -16
  97. package/dist/chunks/{variant-y0atbp26.js → rpc-8gmbr94j.js} +24 -24
  98. package/dist/chunks/{variant-bav9a3ar.js → rpc-8r28z6dw.js} +13 -13
  99. package/dist/chunks/{variant-cfsekr6v.js → rpc-8sze2n9a.js} +6 -6
  100. package/dist/chunks/{variant-1b1fgjp4.js → rpc-8xykhngt.js} +8 -8
  101. package/dist/chunks/{variant-r35436tb.js → rpc-94mhp9v4.js} +13 -13
  102. package/dist/chunks/{variant-mn3x08nm.js → rpc-96n48cx5.js} +6 -6
  103. package/dist/chunks/{variant-nyqxjz0f.js → rpc-97rpkwxs.js} +46 -46
  104. package/dist/chunks/{variant-9e5bzkjp.js → rpc-9e5bzkjp.js} +3 -3
  105. package/dist/chunks/{variant-t5rxj5pg.js → rpc-9gc7vjkx.js} +4 -4
  106. package/dist/chunks/{variant-1myj2f5c.js → rpc-9q2mfyfe.js} +9 -9
  107. package/dist/chunks/{variant-rhjbct0v.js → rpc-9t7a50xb.js} +4 -4
  108. package/dist/chunks/{variant-67e55rxn.js → rpc-a2rfergm.js} +12 -12
  109. package/dist/chunks/{variant-aaet6srn.js → rpc-aaet6srn.js} +2 -2
  110. package/dist/chunks/{variant-gn31e51v.js → rpc-ac3w4tg1.js} +11 -11
  111. package/dist/chunks/{variant-embw8kgh.js → rpc-afdssyjb.js} +4 -4
  112. package/dist/chunks/{variant-5g6z75k4.js → rpc-ag5syekm.js} +3 -3
  113. package/dist/chunks/{variant-r79r0pmw.js → rpc-amzhydp5.js} +19 -19
  114. package/dist/chunks/{variant-0gtwa3ra.js → rpc-apaxybca.js} +35 -35
  115. package/dist/chunks/{variant-2sr169m9.js → rpc-aq5k8ccr.js} +5 -5
  116. package/dist/chunks/{variant-ajpz08jh.js → rpc-aqkazd2c.js} +43 -43
  117. package/dist/chunks/{variant-cbvv1y68.js → rpc-arz7hw7x.js} +3 -3
  118. package/dist/chunks/{variant-xrbvghad.js → rpc-awvsk72y.js} +15 -15
  119. package/dist/chunks/{variant-zyk1yjk8.js → rpc-b3f8fkhc.js} +5 -5
  120. package/dist/chunks/{variant-b69jv39p.js → rpc-b69jv39p.js} +1 -1
  121. package/dist/chunks/{variant-b6gygkdw.js → rpc-b6gygkdw.js} +2 -2
  122. package/dist/chunks/{variant-5w6ne2rj.js → rpc-bpyscj0b.js} +11 -11
  123. package/dist/chunks/{variant-v6dc6ste.js → rpc-bvp1xhr2.js} +48 -48
  124. package/dist/chunks/{variant-snysxa6w.js → rpc-bxc5b8nk.js} +11 -11
  125. package/dist/chunks/{variant-cr5m0swx.js → rpc-bycm97pk.js} +28 -28
  126. package/dist/chunks/{variant-p6frxxff.js → rpc-ccv5fkkn.js} +14 -14
  127. package/dist/chunks/{variant-2hta2pdk.js → rpc-d2gz9cce.js} +20 -20
  128. package/dist/chunks/{variant-h2bp5cwb.js → rpc-d2kcxfd6.js} +9 -9
  129. package/dist/chunks/{variant-c651xxjb.js → rpc-de52ckkz.js} +4 -4
  130. package/dist/chunks/{variant-e7710hd6.js → rpc-dhtadd1m.js} +8 -8
  131. package/dist/chunks/{variant-f8fpzea4.js → rpc-dj1n9kpx.js} +24 -24
  132. package/dist/chunks/{variant-t3nyfqes.js → rpc-djb2ytsp.js} +48 -48
  133. package/dist/chunks/{variant-qmqgtz8f.js → rpc-djszqvmq.js} +9 -9
  134. package/dist/chunks/{variant-xkntkrq7.js → rpc-dmqcgk4z.js} +5 -5
  135. package/dist/chunks/{variant-vcvnp0q3.js → rpc-dn950d55.js} +4 -4
  136. package/dist/chunks/{variant-5a4mzhpp.js → rpc-dnfk70v8.js} +7 -7
  137. package/dist/chunks/{variant-0mhh8v9k.js → rpc-dpatgrg9.js} +6 -6
  138. package/dist/chunks/{variant-nxm207yx.js → rpc-dpkg50ah.js} +4 -4
  139. package/dist/chunks/{variant-r88h3gp4.js → rpc-dshxakwq.js} +17 -17
  140. package/dist/chunks/{variant-h39bmfvs.js → rpc-dxftzqav.js} +28 -28
  141. package/dist/chunks/{variant-2q8qjydw.js → rpc-dzdyqhkg.js} +9 -9
  142. package/dist/chunks/{variant-3tpjmz5e.js → rpc-e9by8ggv.js} +33 -33
  143. package/dist/chunks/{variant-j0cjf9j7.js → rpc-e9earv5b.js} +11 -11
  144. package/dist/chunks/{variant-3rvpmh5z.js → rpc-e9vk3hbf.js} +7 -7
  145. package/dist/chunks/{variant-2613xpa5.js → rpc-ed1gjmjw.js} +142 -142
  146. package/dist/chunks/{variant-qn6xwmga.js → rpc-ed6wmw1w.js} +30 -30
  147. package/dist/chunks/{variant-ef5x83kb.js → rpc-ef5x83kb.js} +1 -1
  148. package/dist/chunks/{variant-3s2b65et.js → rpc-eg33xmpf.js} +42 -42
  149. package/dist/chunks/{variant-zm45qmwq.js → rpc-en81y1qk.js} +13 -13
  150. package/dist/chunks/{variant-etq0c3wd.js → rpc-etq0c3wd.js} +1 -1
  151. package/dist/chunks/{variant-76ymgwed.js → rpc-f0ftzx98.js} +9 -9
  152. package/dist/chunks/{variant-08xeyzhk.js → rpc-f2n12xh0.js} +25 -25
  153. package/dist/chunks/{variant-n9k80d2m.js → rpc-f5gy8qwh.js} +8 -8
  154. package/dist/chunks/{variant-v0es1rhs.js → rpc-fpecnkgp.js} +9 -9
  155. package/dist/chunks/{variant-yca49m0m.js → rpc-fqakbtp4.js} +21 -21
  156. package/dist/chunks/{variant-pyc13pzw.js → rpc-fqmx5nm9.js} +21 -21
  157. package/dist/chunks/{variant-pa8pe2x7.js → rpc-g0445xdp.js} +8 -8
  158. package/dist/chunks/{variant-y9f914ng.js → rpc-g5synpqe.js} +3 -3
  159. package/dist/chunks/{variant-pj23tw0b.js → rpc-g7xxt0qj.js} +8 -8
  160. package/dist/chunks/{variant-yeb6j2yc.js → rpc-gcfjm7bm.js} +2 -2
  161. package/dist/chunks/{variant-gd4qta3r.js → rpc-gd4qta3r.js} +1 -1
  162. package/dist/chunks/{variant-97qaxsbr.js → rpc-gq02gwn2.js} +16 -16
  163. package/dist/chunks/{variant-5mxk8yry.js → rpc-gv9c67bd.js} +21 -21
  164. package/dist/chunks/{variant-h2b79v29.js → rpc-h2b79v29.js} +2 -2
  165. package/dist/chunks/{variant-pf4tc6rq.js → rpc-h3rbskkr.js} +21 -21
  166. package/dist/chunks/{variant-5p9v59az.js → rpc-h6g26nh6.js} +14 -14
  167. package/dist/chunks/{variant-h6vf3j39.js → rpc-h6vf3j39.js} +1 -1
  168. package/dist/chunks/{variant-gpjnavbc.js → rpc-h70n3zbe.js} +33 -33
  169. package/dist/chunks/{variant-qv8c18b1.js → rpc-h9qs4w9g.js} +12 -12
  170. package/dist/chunks/{variant-7f7jbcp6.js → rpc-haphpm34.js} +16 -16
  171. package/dist/chunks/{variant-zs4vbx13.js → rpc-hh5p9qkr.js} +11 -11
  172. package/dist/chunks/rpc-ht5y0zrb.js +18 -0
  173. package/dist/chunks/{variant-j56e64zr.js → rpc-j56e64zr.js} +1 -1
  174. package/dist/chunks/{variant-399k7m06.js → rpc-j9wy7tpg.js} +15 -15
  175. package/dist/chunks/{variant-wpfzbtgk.js → rpc-jh9nzahn.js} +11 -11
  176. package/dist/chunks/{variant-jndxzkq2.js → rpc-jpfj1tgy.js} +9 -9
  177. package/dist/chunks/{variant-mb9xrgdc.js → rpc-jvafdv55.js} +27 -27
  178. package/dist/chunks/{variant-q05jdt3w.js → rpc-jvm41she.js} +24 -24
  179. package/dist/chunks/{variant-rf9kx52g.js → rpc-jx3pdty8.js} +10 -10
  180. package/dist/chunks/{variant-1nq6mxvm.js → rpc-k666j8dg.js} +16 -16
  181. package/dist/chunks/{variant-wxmfabk0.js → rpc-kc8kax9h.js} +17 -17
  182. package/dist/chunks/{variant-cf003q98.js → rpc-ked3394e.js} +33 -33
  183. package/dist/chunks/{variant-c7e5c4sv.js → rpc-kjf6mp1y.js} +8 -8
  184. package/dist/chunks/{variant-m3fdjcah.js → rpc-m3fdjcah.js} +1 -1
  185. package/dist/chunks/{variant-b3c0v9ew.js → rpc-m6etmxes.js} +15 -15
  186. package/dist/chunks/{variant-z87akmme.js → rpc-m80hmhxa.js} +8 -8
  187. package/dist/chunks/{variant-m9w0rfyh.js → rpc-m9w0rfyh.js} +1 -1
  188. package/dist/chunks/{variant-wy6ws69c.js → rpc-mcv3a36r.js} +21 -21
  189. package/dist/chunks/{variant-h3ydrdew.js → rpc-meryj7ts.js} +9 -9
  190. package/dist/chunks/{variant-c40a1qcr.js → rpc-mfcxax4z.js} +3 -3
  191. package/dist/chunks/{variant-56gdpj1q.js → rpc-mfqp6xfm.js} +6 -6
  192. package/dist/chunks/{variant-a8bn8zg0.js → rpc-mjymc32g.js} +4 -4
  193. package/dist/chunks/{variant-7wdbjka2.js → rpc-mq68mrvn.js} +22 -22
  194. package/dist/chunks/{variant-7yh4e7ss.js → rpc-mvfsc1pv.js} +3 -3
  195. package/dist/chunks/{variant-vwhydzfm.js → rpc-n57203xy.js} +6 -6
  196. package/dist/chunks/{variant-8a6ws7jr.js → rpc-n8sna2wb.js} +9 -9
  197. package/dist/chunks/{variant-kenzgkhq.js → rpc-n93fdwdk.js} +13 -13
  198. package/dist/chunks/{variant-s6q90ewy.js → rpc-nebw3ssp.js} +21 -21
  199. package/dist/chunks/{variant-3hhdmcy8.js → rpc-nh2r5jdq.js} +1 -1
  200. package/dist/chunks/{variant-bvrwd6n1.js → rpc-nk4v7p9e.js} +6 -6
  201. package/dist/chunks/{variant-r8xr0va3.js → rpc-nkf980df.js} +4 -4
  202. package/dist/chunks/{variant-cz1k3yzv.js → rpc-nqxj0yn4.js} +2 -2
  203. package/dist/chunks/{variant-j7sckfc8.js → rpc-nrdvpcyr.js} +5 -5
  204. package/dist/chunks/{variant-vrxry10c.js → rpc-nvb4w87b.js} +18 -18
  205. package/dist/chunks/rpc-nwyrkjrj.js +253 -0
  206. package/dist/chunks/{variant-ptaxfm27.js → rpc-nz6rmfz6.js} +1 -1
  207. package/dist/chunks/{variant-a6225t2r.js → rpc-p2r83aaj.js} +32 -32
  208. package/dist/chunks/{variant-hhd0r1jf.js → rpc-p4n9y7jb.js} +31 -31
  209. package/dist/chunks/{variant-btraart1.js → rpc-p5y4cf2q.js} +33 -33
  210. package/dist/chunks/{variant-ft3nz75x.js → rpc-peyag8b6.js} +19 -19
  211. package/dist/chunks/{variant-pjvnvgmy.js → rpc-pjvnvgmy.js} +1 -1
  212. package/dist/chunks/{variant-pknna89w.js → rpc-pknna89w.js} +1 -1
  213. package/dist/chunks/{variant-mhcp204s.js → rpc-prq7hedt.js} +9 -9
  214. package/dist/chunks/{variant-q0xm7vwc.js → rpc-q0xm7vwc.js} +2 -2
  215. package/dist/chunks/{variant-5nw8vv9h.js → rpc-q24ev196.js} +6 -6
  216. package/dist/chunks/{variant-fqb2p7cx.js → rpc-qa3qhgw8.js} +4 -4
  217. package/dist/chunks/{variant-607tc6va.js → rpc-qgn6gcr1.js} +5 -5
  218. package/dist/chunks/{variant-4msfv57q.js → rpc-qgy3xkdy.js} +20 -20
  219. package/dist/chunks/{variant-f5mec6gf.js → rpc-qjhybbr3.js} +15 -15
  220. package/dist/chunks/{variant-pgkfkpr0.js → rpc-qktcjb9a.js} +11 -11
  221. package/dist/chunks/{variant-qnc92qwc.js → rpc-qnc92qwc.js} +1 -1
  222. package/dist/chunks/{variant-qsdy395h.js → rpc-qsdy395h.js} +1 -1
  223. package/dist/chunks/{variant-rhc1vra1.js → rpc-qt86nhzz.js} +20 -20
  224. package/dist/chunks/{variant-qxjc9qry.js → rpc-qxjc9qry.js} +3 -3
  225. package/dist/chunks/{variant-xy98r5ee.js → rpc-r4r6h1bt.js} +14 -14
  226. package/dist/chunks/{variant-r9kjchat.js → rpc-raefn8bd.js} +16 -16
  227. package/dist/chunks/{variant-rdw6cm16.js → rpc-rdw6cm16.js} +1 -1
  228. package/dist/chunks/{variant-jxh47j8h.js → rpc-rfx92m3x.js} +16 -16
  229. package/dist/chunks/{variant-15abpxa5.js → rpc-rtyp35cp.js} +37 -37
  230. package/dist/chunks/{variant-xxhg7m6e.js → rpc-rwvjj138.js} +12 -12
  231. package/dist/chunks/{variant-ge7502m4.js → rpc-rxjw7vcz.js} +18 -18
  232. package/dist/chunks/{variant-chk87ah8.js → rpc-ry82cvjn.js} +329 -329
  233. package/dist/chunks/{variant-cbbywrfr.js → rpc-s9c506h2.js} +6 -6
  234. package/dist/chunks/{variant-z7fjb5fh.js → rpc-sjhgpbcy.js} +12 -12
  235. package/dist/chunks/{variant-mtfneraz.js → rpc-sm8v7w24.js} +1 -1
  236. package/dist/chunks/{variant-fervz2t3.js → rpc-snf1tfdw.js} +3 -3
  237. package/dist/chunks/{variant-5qf1f9q9.js → rpc-sqvhtszt.js} +8 -8
  238. package/dist/chunks/{variant-c4nykd5c.js → rpc-sy5ep2py.js} +25 -25
  239. package/dist/chunks/{variant-tazgh4e4.js → rpc-tazgh4e4.js} +1 -1
  240. package/dist/chunks/{variant-tcezcvh9.js → rpc-tcezcvh9.js} +1 -1
  241. package/dist/chunks/{variant-v282r05s.js → rpc-tcjjjjsx.js} +5 -5
  242. package/dist/chunks/{variant-tdstcens.js → rpc-tdstcens.js} +1 -1
  243. package/dist/chunks/{variant-6nctn4jd.js → rpc-tfj3m1c6.js} +17 -17
  244. package/dist/chunks/{variant-s5jc6fcp.js → rpc-tqn4x5x0.js} +5 -5
  245. package/dist/chunks/{variant-xaa0pzpn.js → rpc-tzg0ntq7.js} +4 -4
  246. package/dist/chunks/{variant-gzvj2fah.js → rpc-v24kn170.js} +10 -10
  247. package/dist/chunks/{variant-veqvce7d.js → rpc-veqvce7d.js} +1 -1
  248. package/dist/chunks/{variant-as7cf5zz.js → rpc-vn72gsba.js} +4 -4
  249. package/dist/chunks/{variant-s99ew69e.js → rpc-vphvsar6.js} +24 -24
  250. package/dist/chunks/{variant-6daha2qj.js → rpc-vwk18htr.js} +16 -16
  251. package/dist/chunks/{variant-vzcthcp8.js → rpc-vzcthcp8.js} +1 -1
  252. package/dist/chunks/{variant-vzs5sf6e.js → rpc-vzs5sf6e.js} +1 -1
  253. package/dist/chunks/{variant-w3wsvvr9.js → rpc-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{variant-e53h8xfk.js → rpc-wa5v1sav.js} +52 -52
  255. package/dist/chunks/{variant-t5kr8nre.js → rpc-wc20vksc.js} +3 -3
  256. package/dist/chunks/{variant-wd87259q.js → rpc-wd87259q.js} +1 -1
  257. package/dist/chunks/{variant-1pxz8ven.js → rpc-wh6zw745.js} +5 -5
  258. package/dist/chunks/{variant-rb208vpz.js → rpc-wk9zx1p6.js} +42 -42
  259. package/dist/chunks/{variant-yccej0zw.js → rpc-wr2g9e9e.js} +1 -1
  260. package/dist/chunks/{variant-x1ezjp6w.js → rpc-x1ezjp6w.js} +1 -1
  261. package/dist/chunks/{variant-7pw38pfz.js → rpc-x4czt7ke.js} +3 -3
  262. package/dist/chunks/{variant-addxnjmp.js → rpc-x661k3y3.js} +4 -4
  263. package/dist/chunks/{variant-6tsnkgkv.js → rpc-x82kr3b3.js} +15 -15
  264. package/dist/chunks/{variant-g5w8qwbj.js → rpc-xfkkasph.js} +4 -4
  265. package/dist/chunks/{variant-5jd0q14z.js → rpc-xjgqcdss.js} +90 -90
  266. package/dist/chunks/{variant-w8wp9y16.js → rpc-xp7stfgp.js} +2 -2
  267. package/dist/chunks/{variant-6fn23shr.js → rpc-xzj9282n.js} +9 -9
  268. package/dist/chunks/{variant-y1fvbwt7.js → rpc-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{variant-c8bydgjz.js → rpc-ycjb11n5.js} +6 -6
  270. package/dist/chunks/{variant-kk09vw2j.js → rpc-yejhw0v4.js} +1 -1
  271. package/dist/chunks/{variant-dkzb750p.js → rpc-yg4qzx3c.js} +24 -24
  272. package/dist/chunks/{variant-qxxjzjbn.js → rpc-yh96w6ga.js} +11 -11
  273. package/dist/chunks/{variant-xx9a6x3d.js → rpc-yj1g27er.js} +11 -11
  274. package/dist/chunks/{variant-yrcj3v3g.js → rpc-yrcj3v3g.js} +1 -1
  275. package/dist/chunks/{variant-9c3np669.js → rpc-yvvvp4gn.js} +8 -8
  276. package/dist/chunks/{variant-6k6vmz2p.js → rpc-ywhg6kqj.js} +11 -11
  277. package/dist/chunks/{variant-z0bkrqjs.js → rpc-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{variant-q0txy7n1.js → rpc-z7k13xkj.js} +10 -10
  279. package/dist/chunks/{variant-rtm42ex6.js → rpc-zb0d3y8q.js} +39 -39
  280. package/dist/chunks/{variant-x0sm31fp.js → rpc-zmwzk07p.js} +71 -71
  281. package/dist/chunks/{variant-zr2ceqn5.js → rpc-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{variant-zxq2ej10.js → rpc-zxq2ej10.js} +1 -1
  283. package/dist/chunks/{variant-x3gqap9d.js → rpc-zy43x3f1.js} +4 -4
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +9 -9
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +79 -79
  289. package/dist/config/discovery.js +82 -82
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +99 -99
  292. package/dist/config/plugin/agent.js +116 -116
  293. package/dist/config/plugin/command.js +205 -205
  294. package/dist/config/plugin/compaction.js +154 -154
  295. package/dist/config/plugin/compatibility.js +134 -134
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +117 -117
  298. package/dist/config/plugin/image.js +116 -116
  299. package/dist/config/plugin/instruction.js +90 -90
  300. package/dist/config/plugin/location-watcher.js +118 -118
  301. package/dist/config/plugin/mcp.js +123 -123
  302. package/dist/config/plugin/policy.js +117 -117
  303. package/dist/config/plugin/provider.js +116 -116
  304. package/dist/config/plugin/reference.js +118 -118
  305. package/dist/config/plugin/shell.js +118 -118
  306. package/dist/config/plugin/skill-file.js +102 -102
  307. package/dist/config/plugin/skill.js +137 -137
  308. package/dist/config/plugin/snapshot.js +116 -116
  309. package/dist/config/plugin/source.js +119 -119
  310. package/dist/config/plugin/tool-output.js +117 -117
  311. package/dist/config/plugin/websearch.js +117 -117
  312. package/dist/config/plugin/worktree.js +118 -118
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +121 -121
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +83 -83
  318. package/dist/database/database.js +66 -66
  319. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  320. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +15 -15
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +16 -16
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  383. package/dist/database/migration.gen.js +49 -49
  384. package/dist/database/migration.js +51 -51
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +76 -76
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +363 -363
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +3 -3
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +93 -93
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +95 -95
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +70 -70
  408. package/dist/file-access.js +104 -104
  409. package/dist/file-mutation.js +94 -94
  410. package/dist/file-retention.js +1 -1
  411. package/dist/filesystem/fff.bun.js +2 -2
  412. package/dist/filesystem/fff.js +1 -1
  413. package/dist/filesystem/fff.node.js +2 -2
  414. package/dist/filesystem/fff.workerd.js +2 -2
  415. package/dist/filesystem/location-watcher-policy.js +6 -6
  416. package/dist/filesystem/location-watcher.js +220 -220
  417. package/dist/filesystem/protected.js +1 -1
  418. package/dist/filesystem/search.js +103 -103
  419. package/dist/filesystem/watcher-binding.js +1 -1
  420. package/dist/filesystem/watcher.js +15 -15
  421. package/dist/filesystem.js +106 -106
  422. package/dist/form.js +84 -84
  423. package/dist/formatter/builtins.js +4 -4
  424. package/dist/formatter.js +87 -87
  425. package/dist/generate.js +99 -99
  426. package/dist/git.js +10 -10
  427. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  428. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  429. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  431. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  433. package/dist/github-copilot/copilot-provider.js +17 -17
  434. package/dist/github-copilot/models.js +91 -91
  435. package/dist/github-copilot/openai-compatible-error.js +1 -1
  436. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  437. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  438. package/dist/github-copilot/responses/openai-error.js +1 -1
  439. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  440. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  441. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  442. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  443. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  444. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  446. package/dist/image/photon.js +2 -2
  447. package/dist/image.js +6 -6
  448. package/dist/instance/service.js +5 -5
  449. package/dist/instance.js +354 -354
  450. package/dist/instruction-discovery.js +85 -85
  451. package/dist/instructions/builtins.js +87 -87
  452. package/dist/instructions/index.js +3 -3
  453. package/dist/integration/connection.js +3 -3
  454. package/dist/integration.js +83 -83
  455. package/dist/job.js +78 -78
  456. package/dist/kv/sql.js +2 -2
  457. package/dist/kv.js +73 -73
  458. package/dist/location-activity.js +131 -131
  459. package/dist/location-lifecycle.js +107 -107
  460. package/dist/location-service-map.js +86 -86
  461. package/dist/location-services.js +351 -351
  462. package/dist/location.js +87 -87
  463. package/dist/managed-policy.js +5 -5
  464. package/dist/mcp/client.js +91 -91
  465. package/dist/mcp/index.js +109 -109
  466. package/dist/mcp/instructions.js +129 -129
  467. package/dist/mcp/oauth.js +78 -78
  468. package/dist/mcp/stdio.js +90 -90
  469. package/dist/mime.js +1 -1
  470. package/dist/modal/models.js +91 -91
  471. package/dist/model-resolver.js +98 -98
  472. package/dist/model.js +96 -96
  473. package/dist/models-dev.js +107 -107
  474. package/dist/oauth/page.js +1 -1
  475. package/dist/permission/saved.js +78 -78
  476. package/dist/permission/sql.js +5 -5
  477. package/dist/permission.js +107 -107
  478. package/dist/persistent-pty/binary.bun.js +1 -1
  479. package/dist/persistent-pty/daemon.js +1 -1
  480. package/dist/persistent-pty/index.js +86 -86
  481. package/dist/persistent-pty/pty-binding.js +1 -1
  482. package/dist/persistent-pty.js +75 -75
  483. package/dist/plugin/agent.js +102 -102
  484. package/dist/plugin/command.js +100 -100
  485. package/dist/plugin/hooks.js +5 -5
  486. package/dist/plugin/host.js +211 -211
  487. package/dist/plugin/identity.js +3 -3
  488. package/dist/plugin/instance.js +5 -5
  489. package/dist/plugin/internal.js +326 -326
  490. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  491. package/dist/plugin/models-dev.js +96 -96
  492. package/dist/plugin/module.js +7 -7
  493. package/dist/plugin/optimize.js +4 -4
  494. package/dist/plugin/plan.js +102 -102
  495. package/dist/plugin/promise.js +1 -1
  496. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  497. package/dist/plugin/provider/azure.js +117 -117
  498. package/dist/plugin/provider/cerebras.js +1 -1
  499. package/dist/plugin/provider/chatgpt.js +93 -93
  500. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  501. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  502. package/dist/plugin/provider/cohere.js +2 -2
  503. package/dist/plugin/provider/configured.js +112 -112
  504. package/dist/plugin/provider/digitalocean.js +93 -93
  505. package/dist/plugin/provider/dynamic.js +2 -2
  506. package/dist/plugin/provider/factory.js +1 -1
  507. package/dist/plugin/provider/gateway.js +2 -2
  508. package/dist/plugin/provider/github-copilot.js +95 -95
  509. package/dist/plugin/provider/gitlab.js +93 -93
  510. package/dist/plugin/provider/google-vertex.js +90 -90
  511. package/dist/plugin/provider/kilo.js +1 -1
  512. package/dist/plugin/provider/llmgateway.js +78 -78
  513. package/dist/plugin/provider/lmstudio.js +113 -113
  514. package/dist/plugin/provider/modal.js +92 -92
  515. package/dist/plugin/provider/nvidia.js +1 -1
  516. package/dist/plugin/provider/ollama.js +115 -115
  517. package/dist/plugin/provider/openai.js +95 -95
  518. package/dist/plugin/provider/opencode.js +96 -96
  519. package/dist/plugin/provider/openrouter.js +91 -91
  520. package/dist/plugin/provider/perplexity.js +2 -2
  521. package/dist/plugin/provider/poe.js +79 -79
  522. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  523. package/dist/plugin/provider/sap-ai-core.js +91 -91
  524. package/dist/plugin/provider/sdk-factory.js +1 -1
  525. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  526. package/dist/plugin/provider/vercel.js +90 -90
  527. package/dist/plugin/provider/vllm.js +115 -115
  528. package/dist/plugin/provider/xai.js +91 -91
  529. package/dist/plugin/provider/zenmux.js +1 -1
  530. package/dist/plugin/provider.js +155 -155
  531. package/dist/plugin/sdk.js +76 -76
  532. package/dist/plugin/service.js +3 -3
  533. package/dist/plugin/skill.js +134 -134
  534. package/dist/plugin/source-directory.js +1 -1
  535. package/dist/plugin/supervisor.js +345 -345
  536. package/dist/plugin/tool-input-repair.js +4 -4
  537. package/dist/plugin/update.js +6 -6
  538. package/dist/plugin/vcs/git.js +86 -86
  539. package/dist/plugin/vcs/hg.js +86 -86
  540. package/dist/plugin/verbosity.js +93 -93
  541. package/dist/plugin/warming.js +114 -114
  542. package/dist/plugin/websearch/exa.js +7 -7
  543. package/dist/plugin/websearch/firecrawl.js +6 -6
  544. package/dist/plugin/websearch/index.js +9 -9
  545. package/dist/plugin/websearch/mcp.js +4 -4
  546. package/dist/plugin/websearch/parallel.js +8 -8
  547. package/dist/plugin/websearch/tavily.js +4 -4
  548. package/dist/plugin/websearch/tinyfish.js +8 -8
  549. package/dist/plugin.js +216 -216
  550. package/dist/project/schema.js +8 -8
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +90 -90
  553. package/dist/provider.js +95 -95
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/ticket.js +1 -1
  556. package/dist/pty.js +85 -85
  557. package/dist/reference/instructions.js +89 -89
  558. package/dist/reference.js +91 -91
  559. package/dist/repository-cache.js +81 -81
  560. package/dist/repository.js +1 -1
  561. package/dist/ripgrep/binary.js +2 -2
  562. package/dist/ripgrep.js +97 -97
  563. package/dist/rpc.js +86 -86
  564. package/dist/schema.js +1 -1
  565. package/dist/session/affinity.js +1 -1
  566. package/dist/session/command.js +74 -74
  567. package/dist/session/compaction.js +135 -135
  568. package/dist/session/context.js +153 -153
  569. package/dist/session/diff.js +88 -88
  570. package/dist/session/environment.js +5 -5
  571. package/dist/session/error.js +3 -3
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +214 -214
  574. package/dist/session/execution.js +127 -127
  575. package/dist/session/generate.js +152 -152
  576. package/dist/session/history.js +13 -13
  577. package/dist/session/inbox.js +88 -88
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +79 -79
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +97 -97
  582. package/dist/session/message-updater.js +4 -4
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +118 -118
  585. package/dist/session/model-transport.js +7 -7
  586. package/dist/session/move.js +129 -129
  587. package/dist/session/projector.js +86 -86
  588. package/dist/session/prompt.js +105 -105
  589. package/dist/session/provider-context.js +1 -1
  590. package/dist/session/revert.js +90 -90
  591. package/dist/session/run-coordinator.js +3 -3
  592. package/dist/session/runner/index.js +3 -3
  593. package/dist/session/runner/llm.js +224 -224
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +98 -98
  596. package/dist/session/runner/publish-llm-event.js +113 -113
  597. package/dist/session/runner/retry.js +4 -4
  598. package/dist/session/runner/step.js +125 -125
  599. package/dist/session/runner/to-llm-message.js +2 -2
  600. package/dist/session/schema.js +5 -5
  601. package/dist/session/session.js +164 -164
  602. package/dist/session/shell.js +130 -130
  603. package/dist/session/skill.js +103 -103
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +73 -73
  606. package/dist/session/store.js +85 -85
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +203 -203
  609. package/dist/session/system-prompt.js +3 -3
  610. package/dist/session/title.js +157 -157
  611. package/dist/session/to-session-error.js +111 -111
  612. package/dist/session/transfer.js +210 -210
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +209 -209
  615. package/dist/shell/parse.js +6 -6
  616. package/dist/shell/result.js +1 -1
  617. package/dist/shell/scan.js +1 -1
  618. package/dist/shell/select.js +13 -13
  619. package/dist/shell.js +132 -132
  620. package/dist/skill/discovery.js +6 -6
  621. package/dist/skill/instructions.js +105 -105
  622. package/dist/skill.js +112 -112
  623. package/dist/snapshot.js +93 -93
  624. package/dist/state.js +1 -1
  625. package/dist/tool/html-markdown.js +1 -1
  626. package/dist/tool/http-body.js +1 -1
  627. package/dist/tool/mcp.js +126 -126
  628. package/dist/tool/plugin/edit.js +120 -120
  629. package/dist/tool/plugin/file-diff.js +1 -1
  630. package/dist/tool/plugin/glob.js +122 -122
  631. package/dist/tool/plugin/grep.js +124 -124
  632. package/dist/tool/plugin/mcp-resource.js +117 -117
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +120 -120
  635. package/dist/tool/plugin/question.js +101 -101
  636. package/dist/tool/plugin/read.js +123 -123
  637. package/dist/tool/plugin/shell.js +210 -210
  638. package/dist/tool/plugin/skill.js +113 -113
  639. package/dist/tool/plugin/subagent.js +210 -210
  640. package/dist/tool/plugin/webfetch.js +112 -112
  641. package/dist/tool/plugin/websearch.js +112 -112
  642. package/dist/tool/plugin/write.js +122 -122
  643. package/dist/tool/read-filesystem.js +100 -100
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +7 -7
  646. package/dist/tool.js +16 -16
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/git-executable.js +2 -2
  650. package/dist/util/iife.js +1 -1
  651. package/dist/util/lazy.js +1 -1
  652. package/dist/util/slug.js +1 -1
  653. package/dist/util/token.js +1 -1
  654. package/dist/util/which.js +1 -1
  655. package/dist/util/wildcard.js +1 -1
  656. package/dist/v1/config/agent.js +5 -5
  657. package/dist/v1/config/command.js +3 -3
  658. package/dist/v1/config/error.js +2 -2
  659. package/dist/v1/config/mcp.js +4 -4
  660. package/dist/v1/config/migrate.js +92 -92
  661. package/dist/v1/config/permission.js +3 -3
  662. package/dist/v1/config/plugin.js +3 -3
  663. package/dist/v1/config/provider-options.js +1 -1
  664. package/dist/v1/config/provider.js +4 -4
  665. package/dist/variant.js +93 -93
  666. package/dist/vcs/patch.js +1 -1
  667. package/dist/vcs.js +89 -89
  668. package/dist/websearch.js +80 -80
  669. package/dist/wellknown/plugin.js +76 -76
  670. package/dist/wellknown.js +81 -81
  671. package/dist/workspace/driver.js +7 -7
  672. package/dist/workspace/sql.js +1 -1
  673. package/dist/workspace.js +78 -78
  674. package/dist/worktree/directory.js +2 -2
  675. package/dist/worktree/git.js +10 -10
  676. package/dist/worktree/sql.js +5 -5
  677. package/dist/worktree/strategies.js +89 -89
  678. package/dist/worktree.js +96 -96
  679. package/package.json +8 -8
  680. package/dist/chunks/variant-2d41dq5a.js +0 -253
  681. package/dist/chunks/variant-7fj5dwt0.js +0 -18
  682. package/dist/chunks/variant-vn5pns5y.js +0 -26
  683. /package/dist/chunks/{variant-0qkdqm5v.js → rpc-0qkdqm5v.js} +0 -0
  684. /package/dist/chunks/{variant-0zkw76rk.js → rpc-0zkw76rk.js} +0 -0
  685. /package/dist/chunks/{variant-17cy0kzp.js → rpc-17cy0kzp.js} +0 -0
  686. /package/dist/chunks/{variant-1cnp2v09.js → rpc-1cnp2v09.js} +0 -0
  687. /package/dist/chunks/{variant-1kg9ymc8.js → rpc-1kg9ymc8.js} +0 -0
  688. /package/dist/chunks/{variant-24dcb14g.js → rpc-24dcb14g.js} +0 -0
  689. /package/dist/chunks/{variant-2710q6r3.js → rpc-2710q6r3.js} +0 -0
  690. /package/dist/chunks/{variant-2axfhc9x.js → rpc-2axfhc9x.js} +0 -0
  691. /package/dist/chunks/{variant-2c3vjs8z.js → rpc-2c3vjs8z.js} +0 -0
  692. /package/dist/chunks/{variant-34c7v6d4.js → rpc-34c7v6d4.js} +0 -0
  693. /package/dist/chunks/{variant-359p4xyc.js → rpc-359p4xyc.js} +0 -0
  694. /package/dist/chunks/{variant-3asan66x.js → rpc-3asan66x.js} +0 -0
  695. /package/dist/chunks/{variant-3t0ybcrp.js → rpc-3t0ybcrp.js} +0 -0
  696. /package/dist/chunks/{variant-3v8g72cx.js → rpc-3v8g72cx.js} +0 -0
  697. /package/dist/chunks/{variant-3w5fmr99.js → rpc-3w5fmr99.js} +0 -0
  698. /package/dist/chunks/{variant-3wcehsnq.js → rpc-3wcehsnq.js} +0 -0
  699. /package/dist/chunks/{variant-43n2bw4t.js → rpc-43n2bw4t.js} +0 -0
  700. /package/dist/chunks/{variant-4knz6hnm.js → rpc-4knz6hnm.js} +0 -0
  701. /package/dist/chunks/{variant-4vcrnpx2.js → rpc-4vcrnpx2.js} +0 -0
  702. /package/dist/chunks/{variant-4y7fprxs.js → rpc-4y7fprxs.js} +0 -0
  703. /package/dist/chunks/{variant-53557ph1.js → rpc-53557ph1.js} +0 -0
  704. /package/dist/chunks/{variant-550bvhaj.js → rpc-550bvhaj.js} +0 -0
  705. /package/dist/chunks/{variant-5qd3pb7m.js → rpc-5qd3pb7m.js} +0 -0
  706. /package/dist/chunks/{variant-6prwharc.js → rpc-6prwharc.js} +0 -0
  707. /package/dist/chunks/{variant-7akdwqpd.js → rpc-7akdwqpd.js} +0 -0
  708. /package/dist/chunks/{variant-7m9af43g.js → rpc-7m9af43g.js} +0 -0
  709. /package/dist/chunks/{variant-822emrt2.js → rpc-822emrt2.js} +0 -0
  710. /package/dist/chunks/{variant-88xbtdfr.js → rpc-88xbtdfr.js} +0 -0
  711. /package/dist/chunks/{variant-8n3pysct.js → rpc-8n3pysct.js} +0 -0
  712. /package/dist/chunks/{variant-8wj87zfr.js → rpc-8wj87zfr.js} +0 -0
  713. /package/dist/chunks/{variant-9a4afbnw.js → rpc-9a4afbnw.js} +0 -0
  714. /package/dist/chunks/{variant-9rqn6x4v.js → rpc-9rqn6x4v.js} +0 -0
  715. /package/dist/chunks/{variant-a6k6eb26.js → rpc-a6k6eb26.js} +0 -0
  716. /package/dist/chunks/{variant-af5trqkr.js → rpc-af5trqkr.js} +0 -0
  717. /package/dist/chunks/{variant-afrmfg78.js → rpc-afrmfg78.js} +0 -0
  718. /package/dist/chunks/{variant-aqzs7mqg.js → rpc-aqzs7mqg.js} +0 -0
  719. /package/dist/chunks/{variant-atq7p7m5.js → rpc-atq7p7m5.js} +0 -0
  720. /package/dist/chunks/{variant-bkyjaxrp.js → rpc-bkyjaxrp.js} +0 -0
  721. /package/dist/chunks/{variant-bmr6ed5q.js → rpc-bmr6ed5q.js} +0 -0
  722. /package/dist/chunks/{variant-cf4snx6d.js → rpc-cf4snx6d.js} +0 -0
  723. /package/dist/chunks/{variant-cvy3z8tj.js → rpc-cvy3z8tj.js} +0 -0
  724. /package/dist/chunks/{variant-d9fn303g.js → rpc-d9fn303g.js} +0 -0
  725. /package/dist/chunks/{variant-d9jj8t3e.js → rpc-d9jj8t3e.js} +0 -0
  726. /package/dist/chunks/{variant-dajrwvna.js → rpc-dajrwvna.js} +0 -0
  727. /package/dist/chunks/{variant-dap0rakb.js → rpc-dap0rakb.js} +0 -0
  728. /package/dist/chunks/{variant-df08tz66.js → rpc-df08tz66.js} +0 -0
  729. /package/dist/chunks/{variant-dy18nga0.js → rpc-dy18nga0.js} +0 -0
  730. /package/dist/chunks/{variant-e5kj55wp.js → rpc-e5kj55wp.js} +0 -0
  731. /package/dist/chunks/{variant-e73j6tqm.js → rpc-e73j6tqm.js} +0 -0
  732. /package/dist/chunks/{variant-ec1grn59.js → rpc-ec1grn59.js} +0 -0
  733. /package/dist/chunks/{variant-eh3zwz77.js → rpc-eh3zwz77.js} +0 -0
  734. /package/dist/chunks/{variant-emrn6kk6.js → rpc-emrn6kk6.js} +0 -0
  735. /package/dist/chunks/{variant-f0mxakyp.js → rpc-f0mxakyp.js} +0 -0
  736. /package/dist/chunks/{variant-f6n9ztr4.js → rpc-f6n9ztr4.js} +0 -0
  737. /package/dist/chunks/{variant-faypxj3z.js → rpc-faypxj3z.js} +0 -0
  738. /package/dist/chunks/{variant-fd410y7t.js → rpc-fd410y7t.js} +0 -0
  739. /package/dist/chunks/{variant-fxgpk5d8.js → rpc-fxgpk5d8.js} +0 -0
  740. /package/dist/chunks/{variant-g4wezp1m.js → rpc-g4wezp1m.js} +0 -0
  741. /package/dist/chunks/{variant-g86h250q.js → rpc-g86h250q.js} +0 -0
  742. /package/dist/chunks/{variant-gebd4c9n.js → rpc-gebd4c9n.js} +0 -0
  743. /package/dist/chunks/{variant-gftt206x.js → rpc-gftt206x.js} +0 -0
  744. /package/dist/chunks/{variant-hjbc5kem.js → rpc-hjbc5kem.js} +0 -0
  745. /package/dist/chunks/{variant-hk9envan.js → rpc-hk9envan.js} +0 -0
  746. /package/dist/chunks/{variant-j2ntwpah.js → rpc-j2ntwpah.js} +0 -0
  747. /package/dist/chunks/{variant-j5zkgpj8.js → rpc-j5zkgpj8.js} +0 -0
  748. /package/dist/chunks/{variant-jjkms2e6.js → rpc-jjkms2e6.js} +0 -0
  749. /package/dist/chunks/{variant-jr7sbwjy.js → rpc-jr7sbwjy.js} +0 -0
  750. /package/dist/chunks/{variant-jwfs4k6c.js → rpc-jwfs4k6c.js} +0 -0
  751. /package/dist/chunks/{variant-jzg6c2d5.js → rpc-jzg6c2d5.js} +0 -0
  752. /package/dist/chunks/{variant-mp448xyj.js → rpc-mp448xyj.js} +0 -0
  753. /package/dist/chunks/{variant-msx8hqn2.js → rpc-msx8hqn2.js} +0 -0
  754. /package/dist/chunks/{variant-n05xt0ee.js → rpc-n05xt0ee.js} +0 -0
  755. /package/dist/chunks/{variant-n3j8tn72.js → rpc-n3j8tn72.js} +0 -0
  756. /package/dist/chunks/{variant-njntx4h6.js → rpc-njntx4h6.js} +0 -0
  757. /package/dist/chunks/{variant-q3sfg36h.js → rpc-q3sfg36h.js} +0 -0
  758. /package/dist/chunks/{variant-q74kybfr.js → rpc-q74kybfr.js} +0 -0
  759. /package/dist/chunks/{variant-qaymkmh1.js → rpc-qaymkmh1.js} +0 -0
  760. /package/dist/chunks/{variant-qb87gjwd.js → rpc-qb87gjwd.js} +0 -0
  761. /package/dist/chunks/{variant-qfa1cgps.js → rpc-qfa1cgps.js} +0 -0
  762. /package/dist/chunks/{variant-qg3g05ea.js → rpc-qg3g05ea.js} +0 -0
  763. /package/dist/chunks/{variant-qrg20bc0.js → rpc-qrg20bc0.js} +0 -0
  764. /package/dist/chunks/{variant-rcb2kzg1.js → rpc-rcb2kzg1.js} +0 -0
  765. /package/dist/chunks/{variant-sdp7kfr6.js → rpc-sdp7kfr6.js} +0 -0
  766. /package/dist/chunks/{variant-ssg3fenm.js → rpc-ssg3fenm.js} +0 -0
  767. /package/dist/chunks/{variant-w803qqfp.js → rpc-w803qqfp.js} +0 -0
  768. /package/dist/chunks/{variant-wc3fc9cn.js → rpc-wc3fc9cn.js} +0 -0
  769. /package/dist/chunks/{variant-wer8tq1h.js → rpc-wer8tq1h.js} +0 -0
  770. /package/dist/chunks/{variant-wtztk69x.js → rpc-wtztk69x.js} +0 -0
  771. /package/dist/chunks/{variant-x0ckcb58.js → rpc-x0ckcb58.js} +0 -0
  772. /package/dist/chunks/{variant-x61499pn.js → rpc-x61499pn.js} +0 -0
  773. /package/dist/chunks/{variant-y44na4kk.js → rpc-y44na4kk.js} +0 -0
  774. /package/dist/chunks/{variant-y8cydn3q.js → rpc-y8cydn3q.js} +0 -0
  775. /package/dist/chunks/{variant-y8f7s663.js → rpc-y8f7s663.js} +0 -0
  776. /package/dist/chunks/{variant-ygaqb7jw.js → rpc-ygaqb7jw.js} +0 -0
  777. /package/dist/chunks/{variant-ym463w8f.js → rpc-ym463w8f.js} +0 -0
  778. /package/dist/chunks/{variant-z5v4ffb3.js → rpc-z5v4ffb3.js} +0 -0
  779. /package/dist/chunks/{variant-z9919s4g.js → rpc-z9919s4g.js} +0 -0
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./variant-z5v4ffb3.js";
3
+ } from "./rpc-z5v4ffb3.js";
4
4
  import {
5
5
  Service84,
6
6
  node88
7
- } from "./variant-t5kr8nre.js";
7
+ } from "./rpc-wc20vksc.js";
8
8
  import {
9
9
  Service83,
10
10
  node87
11
- } from "./variant-d4st2nms.js";
11
+ } from "./rpc-6fy5j2sr.js";
12
12
  import {
13
- Service82,
14
- node86
15
- } from "./variant-qv8c18b1.js";
13
+ Service79,
14
+ node83
15
+ } from "./rpc-h9qs4w9g.js";
16
16
  import {
17
- ID18,
17
+ ID17,
18
18
  Current3,
19
- Info29,
19
+ Info28,
20
20
  UpdateInput4,
21
- Event21,
21
+ Event20,
22
22
  Vcs3
23
- } from "./variant-v0es1rhs.js";
23
+ } from "./rpc-fpecnkgp.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./variant-h2b79v29.js";
27
+ } from "./rpc-h2b79v29.js";
28
28
  import {
29
29
  WorktreeTable2
30
- } from "./variant-1dvck2a7.js";
30
+ } from "./rpc-1dvck2a7.js";
31
31
  import {
32
32
  __export
33
- } from "./variant-9rqn6x4v.js";
33
+ } from "./rpc-9rqn6x4v.js";
34
34
 
35
35
  // src/project.ts
36
36
  var exports_project = {};
37
37
  __export(exports_project, {
38
38
  Current: () => Current2,
39
- ID: () => ID17,
40
- Info: () => Info28,
41
- NotFoundError: () => NotFoundError11,
39
+ ID: () => ID16,
40
+ Info: () => Info27,
41
+ NotFoundError: () => NotFoundError10,
42
42
  Project: () => exports_project,
43
- Service: () => Service81,
43
+ Service: () => Service78,
44
44
  UpdateInput: () => UpdateInput3,
45
45
  Vcs: () => Vcs2,
46
- node: () => node85,
46
+ node: () => node82,
47
47
  root: () => root2
48
48
  });
49
49
  import { Context, Effect, Layer, Schema } from "effect";
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
55
55
  import { AppProcess } from "@opencode/util/process";
56
56
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
57
57
  import { Hash } from "@opencode/util/hash";
58
- var ID17 = ID18;
58
+ var ID16 = ID17;
59
59
  var Vcs2 = Vcs3;
60
60
  var Current2 = Current3;
61
- var Info28 = Info29;
61
+ var Info27 = Info28;
62
62
  var UpdateInput3 = UpdateInput4;
63
63
 
64
- class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
65
- projectID: ID17
64
+ class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
65
+ projectID: ID16
66
66
  }) {
67
67
  }
68
68
  var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
@@ -72,7 +72,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
72
72
  });
73
73
  var ACTIVATE_INTERVAL = 60000;
74
74
 
75
- class Service81 extends Context.Service()("@opencode/Project") {
75
+ class Service78 extends Context.Service()("@opencode/Project") {
76
76
  }
77
77
  function fromRow(row) {
78
78
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -95,9 +95,9 @@ function fromRow(row) {
95
95
  sandboxes: row.sandboxes
96
96
  };
97
97
  }
98
- var layer = Layer.effect(Service81, Effect.gen(function* () {
98
+ var layer = Layer.effect(Service78, Effect.gen(function* () {
99
99
  const fs = yield* FSUtil.Service;
100
- const git = yield* Service82;
100
+ const git = yield* Service79;
101
101
  const proc = yield* AppProcess.Service;
102
102
  const bus = yield* Service83;
103
103
  const db = (yield* Service84).db;
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
108
108
  if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
109
109
  const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
110
110
  if (row)
111
- yield* bus.publish(Event21.Updated, fromRow(row));
111
+ yield* bus.publish(Event20.Updated, fromRow(row));
112
112
  }
113
113
  if (!project.vcs)
114
114
  return project;
@@ -145,7 +145,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
145
145
  yield* bus.publish(Worktree.Event.Resolved, {
146
146
  projectID: item.projectID,
147
147
  directory: item.directory,
148
- previous: project.previous ?? ID17.global,
148
+ previous: project.previous ?? ID16.global,
149
149
  ...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
150
150
  }, {
151
151
  commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
@@ -168,9 +168,9 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
168
168
  time_updated: Date.now()
169
169
  }).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
170
170
  if (!row)
171
- return yield* new NotFoundError11({ projectID: input.projectID });
171
+ return yield* new NotFoundError10({ projectID: input.projectID });
172
172
  const project = fromRow(row);
173
- yield* bus.publish(Event21.Updated, project);
173
+ yield* bus.publish(Event20.Updated, project);
174
174
  return project;
175
175
  });
176
176
  const activated = new Map;
@@ -181,10 +181,10 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
181
181
  activated.set(projectID, now);
182
182
  const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
183
183
  if (row)
184
- yield* bus.publish(Event21.Updated, fromRow(row));
184
+ yield* bus.publish(Event20.Updated, fromRow(row));
185
185
  });
186
186
  const cached = Effect.fnUntraced(function* (dir) {
187
- return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
187
+ return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID16.make(value) : undefined), Effect.orElseSucceed(() => {
188
188
  return;
189
189
  }));
190
190
  });
@@ -195,7 +195,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
195
195
  const normalized = url(origin);
196
196
  if (!normalized)
197
197
  return;
198
- return ID17.make(Hash.fast(`git-remote:${normalized}`));
198
+ return ID16.make(Hash.fast(`git-remote:${normalized}`));
199
199
  });
200
200
  function url(input) {
201
201
  const value = input.trim();
@@ -220,7 +220,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
220
220
  }
221
221
  const rootCommit = Effect.fnUntraced(function* (repo) {
222
222
  const root = (yield* git.history.rootCommits(repo))[0];
223
- return root ? ID17.make(root) : undefined;
223
+ return root ? ID16.make(root) : undefined;
224
224
  });
225
225
  const hgRoot = Effect.fnUntraced(function* (worktree) {
226
226
  const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
@@ -236,7 +236,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
236
236
  return;
237
237
  const node = result.stdout.toString("utf8").split(`
238
238
  `).map((item) => item.trim()).filter(Boolean).toSorted()[0];
239
- return node ? ID17.make(node) : undefined;
239
+ return node ? ID16.make(node) : undefined;
240
240
  });
241
241
  const hgDiscover = Effect.fnUntraced(function* (dotHg) {
242
242
  const worktree = AbsolutePath2.make(path.dirname(dotHg));
@@ -245,7 +245,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
245
245
  const id = previous ?? (yield* hgRoot(worktree));
246
246
  return {
247
247
  previous,
248
- id: id ?? ID17.global,
248
+ id: id ?? ID16.global,
249
249
  directory: worktree,
250
250
  vcs: { type: "hg", store }
251
251
  };
@@ -262,7 +262,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
262
262
  const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
263
263
  return yield* persist({
264
264
  previous,
265
- id: id ?? ID17.global,
265
+ id: id ?? ID16.global,
266
266
  directory: repo.worktree,
267
267
  canonical,
268
268
  vcs: { type: "git", store: repo.commonDirectory }
@@ -276,18 +276,18 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
276
276
  });
277
277
  }
278
278
  return yield* persist({
279
- id: ID17.make(Hash.fast(`directory:${directory}`)),
279
+ id: ID16.make(Hash.fast(`directory:${directory}`)),
280
280
  directory,
281
281
  canonical: directory,
282
282
  vcs: undefined
283
283
  });
284
284
  });
285
- return Service81.of({ list, update, activate, resolve });
285
+ return Service78.of({ list, update, activate, resolve });
286
286
  }));
287
- var node85 = makeGlobalNode({
288
- service: Service81,
287
+ var node82 = makeGlobalNode({
288
+ service: Service78,
289
289
  layer,
290
- deps: [node87, node88, FSUtil.node, node86, AppProcess.node]
290
+ deps: [node87, node88, FSUtil.node, node83, AppProcess.node]
291
291
  });
292
292
 
293
- export { ID17, Vcs2, Current2, Info28, UpdateInput3, NotFoundError11, root2, Service81, node85, exports_project };
293
+ export { ID16, Vcs2, Current2, Info27, UpdateInput3, NotFoundError10, root2, Service78, node82, exports_project };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  RelativePath2
3
- } from "./variant-z5v4ffb3.js";
3
+ } from "./rpc-z5v4ffb3.js";
4
4
  import {
5
- Service80,
6
- node84
7
- } from "./variant-ab2vrr9e.js";
5
+ Service77,
6
+ node81
7
+ } from "./rpc-0c0qx5qx.js";
8
8
  import {
9
- Service25,
10
- node28
11
- } from "./variant-srwtb185.js";
9
+ Service47,
10
+ node50
11
+ } from "./rpc-36yf2ddr.js";
12
12
  import {
13
13
  isHome2,
14
14
  names3
15
- } from "./variant-tcezcvh9.js";
15
+ } from "./rpc-tcezcvh9.js";
16
16
  import {
17
17
  __export
18
- } from "./variant-9rqn6x4v.js";
18
+ } from "./rpc-9rqn6x4v.js";
19
19
 
20
20
  // src/filesystem/search.ts
21
21
  var exports_search = {};
22
22
  __export(exports_search, {
23
23
  FileSystemSearch: () => exports_search,
24
- Options: () => Options2,
25
- Service: () => Service24,
26
- configured: () => configured2,
24
+ Options: () => Options4,
25
+ Service: () => Service46,
26
+ configured: () => configured4,
27
27
  fffLayer: () => fffLayer2,
28
- layer: () => layer9,
29
- node: () => node27,
28
+ layer: () => layer16,
29
+ node: () => node49,
30
30
  ripgrepLayer: () => ripgrepLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
35
35
  import { Fff } from "#fff";
36
36
  import fuzzysort from "fuzzysort";
37
37
  import { FileSystem } from "@opencode/schema/filesystem";
38
- var Options2 = Schema.Struct({
38
+ var Options4 = Schema.Struct({
39
39
  fff: Schema.optional(Schema.Boolean)
40
40
  });
41
41
 
42
- class Service24 extends Context.Service()("@opencode/FileSystem/Search") {
42
+ class Service46 extends Context.Service()("@opencode/FileSystem/Search") {
43
43
  }
44
44
  var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
45
45
  function emptyIndex() {
@@ -58,9 +58,9 @@ function search(index, input) {
58
58
  });
59
59
  });
60
60
  }
61
- var ripgrepLayer2 = Layer.effect(Service24, Effect.gen(function* () {
62
- const location = yield* Service80;
63
- const ripgrep = yield* Service25;
61
+ var ripgrepLayer2 = Layer.effect(Service46, Effect.gen(function* () {
62
+ const location = yield* Service77;
63
+ const ripgrep = yield* Service47;
64
64
  const scope = yield* Scope.Scope;
65
65
  const clock = yield* Clock.Clock;
66
66
  const home = isHome2(location.directory);
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service24, Effect.gen(function* () {
105
105
  Deferred.doneUnsafe(attempt, exit);
106
106
  })), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
107
107
  });
108
- return Service24.of({
108
+ return Service46.of({
109
109
  find: (input) => Effect.gen(function* () {
110
110
  yield* refresh;
111
111
  return search(index, input);
112
112
  })
113
113
  });
114
114
  }));
115
- var fffLayer2 = Layer.effect(Service24, Effect.gen(function* () {
116
- const location = yield* Service80;
115
+ var fffLayer2 = Layer.effect(Service46, Effect.gen(function* () {
116
+ const location = yield* Service77;
117
117
  const result = yield* Effect.try({
118
118
  try: () => Fff.create({
119
119
  basePath: location.directory,
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service24, Effect.gen(function* () {
126
126
  if (!result?.ok) {
127
127
  if (result)
128
128
  yield* Effect.logWarning("failed to initialize fff", { error: result.error });
129
- return Service24.of({
129
+ return Service46.of({
130
130
  find: () => Effect.succeed([])
131
131
  });
132
132
  }
133
133
  yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
134
- return Service24.of({
134
+ return Service46.of({
135
135
  find: (input) => Effect.sync(() => {
136
136
  const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
137
137
  const items = (() => {
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service24, Effect.gen(function* () {
174
174
  })
175
175
  });
176
176
  }));
177
- var layer9 = (options) => Layer.unwrap(Effect.gen(function* () {
178
- const location = yield* Service80;
177
+ var layer16 = (options) => Layer.unwrap(Effect.gen(function* () {
178
+ const location = yield* Service77;
179
179
  if (location.workspaceID)
180
180
  return ripgrepLayer2;
181
181
  if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
182
182
  return ripgrepLayer2;
183
183
  return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
184
184
  }));
185
- function configured2(options) {
186
- return makeLocationNode({ service: Service24, layer: layer9(options), deps: [node84, node28] });
185
+ function configured4(options) {
186
+ return makeLocationNode({ service: Service46, layer: layer16(options), deps: [node81, node50] });
187
187
  }
188
- var node27 = configured2();
188
+ var node49 = configured4();
189
189
 
190
- export { Options2, Service24, ripgrepLayer2, fffLayer2, layer9, configured2, node27, exports_search };
190
+ export { Options4, Service46, ripgrepLayer2, fffLayer2, layer16, configured4, node49, exports_search };
@@ -1,62 +1,62 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./variant-z5v4ffb3.js";
3
+ } from "./rpc-z5v4ffb3.js";
4
4
  import {
5
5
  latest2,
6
- Service43
7
- } from "./variant-ajpz08jh.js";
6
+ Service54
7
+ } from "./rpc-aqkazd2c.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./variant-2a5m3afh.js";
10
+ } from "./rpc-2a5m3afh.js";
11
11
  import {
12
- Service61
13
- } from "./variant-dkzb750p.js";
12
+ Service48
13
+ } from "./rpc-yg4qzx3c.js";
14
14
  import {
15
- Service51
16
- } from "./variant-7f7jbcp6.js";
15
+ Service62
16
+ } from "./rpc-haphpm34.js";
17
17
  import {
18
- Service56
19
- } from "./variant-hmzps02n.js";
18
+ Service65
19
+ } from "./rpc-0xrnfvwp.js";
20
20
  import {
21
- Service15,
21
+ Service36,
22
22
  resolvePath2
23
- } from "./variant-w50q7jpg.js";
23
+ } from "./rpc-7vs9szcs.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./variant-vzs5sf6e.js";
29
+ } from "./rpc-vzs5sf6e.js";
30
30
  import {
31
- Service71,
31
+ Service82,
32
32
  name15
33
- } from "./variant-r79r0pmw.js";
33
+ } from "./rpc-amzhydp5.js";
34
34
  import {
35
- NotFoundError6,
36
- Service41
37
- } from "./variant-nyqxjz0f.js";
35
+ NotFoundError5,
36
+ Service42
37
+ } from "./rpc-97rpkwxs.js";
38
38
  import {
39
- Service27
40
- } from "./variant-qh1h7gbx.js";
39
+ Service18
40
+ } from "./rpc-69c46p7r.js";
41
41
  import {
42
42
  scan2
43
- } from "./variant-t5rxj5pg.js";
43
+ } from "./rpc-9gc7vjkx.js";
44
44
  import {
45
45
  __export
46
- } from "./variant-9rqn6x4v.js";
46
+ } from "./rpc-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
- var exports_shell = {};
50
- __export(exports_shell, {
49
+ var exports_shell2 = {};
50
+ __export(exports_shell2, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input9,
53
- Plugin: () => Plugin11,
54
- ShellTool: () => exports_shell,
55
- name: () => name9
52
+ Input: () => Input4,
53
+ Plugin: () => Plugin40,
54
+ ShellTool: () => exports_shell2,
55
+ name: () => name4
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
- var name9 = "shell";
59
+ var name4 = "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 Input4 = 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."
@@ -116,19 +116,19 @@ Output is streaming to: ${file}`,
116
116
  truncated: false,
117
117
  status: "running"
118
118
  });
119
- var Plugin11 = {
119
+ var Plugin40 = {
120
120
  id: "opencode.tool.shell",
121
121
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
122
- const sessions = yield* Service27;
123
- const jobs = yield* Service51;
122
+ const sessions = yield* Service18;
123
+ const jobs = yield* Service62;
124
124
  const scope = yield* Scope.Scope;
125
- const environment = yield* Service61;
126
- const access = yield* Service15;
127
- const shell = yield* Service41;
128
- const shellSelect = yield* Service71;
125
+ const environment = yield* Service48;
126
+ const access = yield* Service36;
127
+ const shell = yield* Service42;
128
+ const shellSelect = yield* Service82;
129
129
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
130
- const permission = yield* Service56;
131
- const config = yield* Service43;
130
+ const permission = yield* Service65;
131
+ const config = yield* Service54;
132
132
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
133
133
  const source = {
134
134
  type: "tool",
@@ -147,7 +147,7 @@ var Plugin11 = {
147
147
  yield* access.authorizeExternal([target, ...directories], context);
148
148
  if (parsed.commands.length > 0)
149
149
  yield* permission.assert({
150
- action: name9,
150
+ action: name4,
151
151
  resources: parsed.commands.map((command) => command.resource),
152
152
  save: parsed.commands.map((command) => command.save),
153
153
  sessionID: context.sessionID,
@@ -184,10 +184,10 @@ var Plugin11 = {
184
184
  yield* jobs.completeBackground(info.notificationID);
185
185
  }, Effect.forkIn(scope, { startImmediately: true }));
186
186
  yield* ctx.tool.transform((editor) => editor.add({
187
- name: name9,
187
+ name: name4,
188
188
  options: { codemode: false },
189
189
  description: description(),
190
- input: Input9,
190
+ input: Input4,
191
191
  output: Output,
192
192
  execute: (input, context) => Effect.gen(function* () {
193
193
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -210,7 +210,7 @@ var Plugin11 = {
210
210
  const run = Effect.gen(function* () {
211
211
  const result = yield* shell.result(info);
212
212
  if (!result.capture)
213
- return yield* new NotFoundError6({ id: info.id });
213
+ return yield* new NotFoundError5({ id: info.id });
214
214
  const output = output2(result);
215
215
  return {
216
216
  ...output,
@@ -224,7 +224,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
224
224
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
225
225
  const job = yield* jobs.start({
226
226
  id: info.id,
227
- type: name9,
227
+ type: name4,
228
228
  title: info.command,
229
229
  metadata: { sessionID: context.sessionID, shellID: info.id },
230
230
  recovery: {
@@ -254,7 +254,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
254
254
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
255
255
  })).pipe(Effect.orDie);
256
256
  const hook = (event) => Effect.gen(function* () {
257
- const tool = event.tools[name9];
257
+ const tool = event.tools[name4];
258
258
  if (!tool)
259
259
  return;
260
260
  tool.description = description(name15(yield* compatibleShell));
@@ -265,4 +265,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
265
265
  })
266
266
  };
267
267
 
268
- export { name9, DEFAULT_TIMEOUT_MS2, Input9, Plugin11, exports_shell };
268
+ export { name4, DEFAULT_TIMEOUT_MS2, Input4, Plugin40, exports_shell2 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./variant-z5v4ffb3.js";
3
+ } from "./rpc-z5v4ffb3.js";
4
4
  import {
5
- Service80
6
- } from "./variant-ab2vrr9e.js";
5
+ Service77
6
+ } from "./rpc-0c0qx5qx.js";
7
7
  import {
8
- Service15
9
- } from "./variant-w50q7jpg.js";
8
+ Service36
9
+ } from "./rpc-7vs9szcs.js";
10
10
  import {
11
- Service8
12
- } from "./variant-ft3nz75x.js";
11
+ Service11
12
+ } from "./rpc-peyag8b6.js";
13
13
  import {
14
14
  NotFound2
15
- } from "./variant-2a5m3afh.js";
15
+ } from "./rpc-2a5m3afh.js";
16
16
  import {
17
17
  MEDIA_MIMES2,
18
18
  BinaryFileError2,
@@ -23,26 +23,26 @@ import {
23
23
  FileContent2,
24
24
  TextPage2,
25
25
  ListPage2,
26
- Service7
27
- } from "./variant-6nctn4jd.js";
26
+ Service12
27
+ } from "./rpc-tfj3m1c6.js";
28
28
  import {
29
29
  __export
30
- } from "./variant-9rqn6x4v.js";
30
+ } from "./rpc-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/read.ts
33
33
  var exports_read = {};
34
34
  __export(exports_read, {
35
- Input: () => Input10,
36
- Plugin: () => Plugin12,
35
+ Input: () => Input11,
36
+ Plugin: () => Plugin48,
37
37
  ReadTool: () => exports_read,
38
- name: () => name10,
38
+ name: () => name11,
39
39
  toModelContent: () => toModelContent5
40
40
  });
41
41
  import { basename, dirname, join } from "path";
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import { FSUtil } from "@opencode/util/fs-util";
45
- var name10 = "read";
45
+ var name11 = "read";
46
46
  var FILENAME = "AGENTS.md";
47
47
  var LocationInput = Schema.Struct({
48
48
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
53
53
  description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
54
54
  })
55
55
  });
56
- var Input10 = LocationInput;
56
+ var Input11 = LocationInput;
57
57
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
58
- var Plugin12 = {
58
+ var Plugin48 = {
59
59
  id: "opencode.tool.read",
60
60
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
61
- const reader = yield* Service7;
62
- const access = yield* Service15;
63
- const sessionInstructions = yield* Service8;
61
+ const reader = yield* Service12;
62
+ const access = yield* Service36;
63
+ const sessionInstructions = yield* Service11;
64
64
  const fs = yield* FSUtil.Service;
65
- const location = yield* Service80;
65
+ const location = yield* Service77;
66
66
  yield* ctx.tool.transform((editor) => editor.add({
67
- name: name10,
67
+ name: name11,
68
68
  options: { codemode: false },
69
69
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
70
- input: Input10,
70
+ input: Input11,
71
71
  output: Output,
72
72
  execute: (input, context) => {
73
73
  return Effect.gen(function* () {
@@ -182,4 +182,4 @@ var toModelContent5 = (path, offset, output) => {
182
182
  `);
183
183
  };
184
184
 
185
- export { name10, Input10, Plugin12, toModelContent5, exports_read };
185
+ export { name11, Input11, Plugin48, toModelContent5, exports_read };
@@ -2,28 +2,28 @@ import {
2
2
  Resource2,
3
3
  ResourceTemplate2,
4
4
  ResourceContent2,
5
- Service39
6
- } from "./variant-t3nyfqes.js";
5
+ Service30
6
+ } from "./rpc-djb2ytsp.js";
7
7
  import {
8
- Service56
9
- } from "./variant-hmzps02n.js";
8
+ Service65
9
+ } from "./rpc-0xrnfvwp.js";
10
10
  import {
11
11
  __export
12
- } from "./variant-9rqn6x4v.js";
12
+ } from "./rpc-9rqn6x4v.js";
13
13
 
14
14
  // src/tool/plugin/mcp-resource.ts
15
15
  var exports_mcp_resource = {};
16
16
  __export(exports_mcp_resource, {
17
17
  McpResourceTools: () => exports_mcp_resource,
18
- Plugin: () => Plugin5
18
+ Plugin: () => Plugin38
19
19
  });
20
20
  import { ToolFailure } from "@opencode/ai";
21
21
  import { Effect, Schema } from "effect";
22
- var Plugin5 = {
22
+ var Plugin38 = {
23
23
  id: "opencode.tools.mcp-resources",
24
24
  effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
25
- const mcp = yield* Service39;
26
- const permission = yield* Service56;
25
+ const mcp = yield* Service30;
26
+ const permission = yield* Service65;
27
27
  yield* ctx.tool.transform((editor) => {
28
28
  editor.add({
29
29
  name: "list_mcp_resources",
@@ -93,4 +93,4 @@ var Plugin5 = {
93
93
  })
94
94
  };
95
95
 
96
- export { Plugin5, exports_mcp_resource };
96
+ export { Plugin38, exports_mcp_resource };