@opencode/core 0.0.0-dev-21677 → 0.0.0-dev-21681

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 (792) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +97 -97
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{state-pc1v25hk.js → ripgrep-033a0jkt.js} +3 -3
  8. package/dist/chunks/{state-aj7mw0zk.js → ripgrep-034tev2y.js} +2 -2
  9. package/dist/chunks/{state-4xy1pe9v.js → ripgrep-0bzett23.js} +18 -18
  10. package/dist/chunks/{state-dkq45v8d.js → ripgrep-0gka690g.js} +6 -6
  11. package/dist/chunks/{state-s7ea1dqv.js → ripgrep-0t2h4nxf.js} +5 -5
  12. package/dist/chunks/{state-44m02g6g.js → ripgrep-0w2ve4np.js} +31 -31
  13. package/dist/chunks/{state-697v9084.js → ripgrep-0xt5rh38.js} +13 -13
  14. package/dist/chunks/{state-s7kyse9r.js → ripgrep-173t91w5.js} +9 -9
  15. package/dist/chunks/{state-172kwg3m.js → ripgrep-19nkwpt0.js} +17 -17
  16. package/dist/chunks/{state-vqd344gs.js → ripgrep-1b015yat.js} +11 -11
  17. package/dist/chunks/{state-27w5k9zf.js → ripgrep-1ep2p91f.js} +2 -2
  18. package/dist/chunks/{state-a4bn6z71.js → ripgrep-1fxyteqg.js} +93 -93
  19. package/dist/chunks/{state-8g0yjqch.js → ripgrep-1gn07jkh.js} +50 -50
  20. package/dist/chunks/{state-k9b99h6a.js → ripgrep-1kzr7jgm.js} +21 -14
  21. package/dist/chunks/{state-twe99j6z.js → ripgrep-1m0sdz90.js} +43 -43
  22. package/dist/chunks/{state-1x2knyw4.js → ripgrep-1x2knyw4.js} +1 -1
  23. package/dist/chunks/{state-jgdcf8mk.js → ripgrep-2553426h.js} +55 -55
  24. package/dist/chunks/{state-6q7w75th.js → ripgrep-294s6qh9.js} +14 -14
  25. package/dist/chunks/{state-xaknme5b.js → ripgrep-2c9g8tdm.js} +16 -16
  26. package/dist/chunks/{state-dek4cct4.js → ripgrep-2j72hntm.js} +23 -23
  27. package/dist/chunks/{state-qdz8jb55.js → ripgrep-2k3taesa.js} +11 -11
  28. package/dist/chunks/{state-k1na0zkx.js → ripgrep-2sj7hqj2.js} +25 -25
  29. package/dist/chunks/{state-2z1j29yd.js → ripgrep-2z1j29yd.js} +1 -1
  30. package/dist/chunks/{state-nz16ptw2.js → ripgrep-30v5g7xx.js} +5 -5
  31. package/dist/chunks/{state-xyygv393.js → ripgrep-310tqm6v.js} +1 -1
  32. package/dist/chunks/{state-fwm6gfkk.js → ripgrep-3g7mg7sy.js} +15 -15
  33. package/dist/chunks/{state-1rfxem6r.js → ripgrep-3gzarg29.js} +6 -6
  34. package/dist/chunks/{state-3hepkmqq.js → ripgrep-3hepkmqq.js} +1 -1
  35. package/dist/chunks/{state-e71bb87j.js → ripgrep-3kk2jwp7.js} +8 -8
  36. package/dist/chunks/{state-26rstsyj.js → ripgrep-3mzdfzhq.js} +6 -6
  37. package/dist/chunks/{state-3nnrz6f6.js → ripgrep-3nnrz6f6.js} +1 -1
  38. package/dist/chunks/{state-eqr22vcz.js → ripgrep-40xdmnq6.js} +40 -40
  39. package/dist/chunks/{state-40za9wsf.js → ripgrep-40za9wsf.js} +2 -2
  40. package/dist/chunks/{state-c22sd85a.js → ripgrep-41scb8pj.js} +24 -24
  41. package/dist/chunks/{state-617k3a07.js → ripgrep-45zwd69n.js} +32 -32
  42. package/dist/chunks/{state-vw0xqtsc.js → ripgrep-4fht16ez.js} +35 -35
  43. package/dist/chunks/{state-b5120fys.js → ripgrep-4fjhw8k6.js} +6 -6
  44. package/dist/chunks/ripgrep-4my81qaj.js +18 -0
  45. package/dist/chunks/{state-gcn4eed3.js → ripgrep-4ssvmfsy.js} +13 -13
  46. package/dist/chunks/{state-4v008n1t.js → ripgrep-4v008n1t.js} +1 -1
  47. package/dist/chunks/{state-4xvmh7wp.js → ripgrep-4xvmh7wp.js} +3 -3
  48. package/dist/chunks/{state-r8dac9hr.js → ripgrep-50vfe0ee.js} +29 -29
  49. package/dist/chunks/{state-dj5majz4.js → ripgrep-5as2v2bz.js} +11 -11
  50. package/dist/chunks/{state-y0zshknz.js → ripgrep-5g9sd2wr.js} +5 -5
  51. package/dist/chunks/{state-5m9w47nd.js → ripgrep-5m9w47nd.js} +1 -1
  52. package/dist/chunks/{state-e3qxr5gk.js → ripgrep-5qd3pb7m.js} +2 -2
  53. package/dist/chunks/{state-en0q6wa2.js → ripgrep-5xp2x48q.js} +50 -50
  54. package/dist/chunks/{state-0z6vy9th.js → ripgrep-5yps8vga.js} +2 -2
  55. package/dist/chunks/{state-q036w687.js → ripgrep-69qhactm.js} +11 -11
  56. package/dist/chunks/{state-xrsvkqaj.js → ripgrep-6cg3ssar.js} +30 -30
  57. package/dist/chunks/{state-1zryh94y.js → ripgrep-6cjq3rwx.js} +14 -14
  58. package/dist/chunks/{state-49rs4jgp.js → ripgrep-6cmhwkbz.js} +9 -9
  59. package/dist/chunks/{state-6esdw8yj.js → ripgrep-6esdw8yj.js} +1 -1
  60. package/dist/chunks/{state-330ptwd3.js → ripgrep-6ha07q56.js} +336 -336
  61. package/dist/chunks/{state-aw3jaa69.js → ripgrep-6nracgmf.js} +194 -194
  62. package/dist/chunks/{state-e8w4nwgj.js → ripgrep-6p7ksc7d.js} +14 -14
  63. package/dist/chunks/{state-3zwfmt1r.js → ripgrep-6paamakb.js} +14 -14
  64. package/dist/chunks/{state-6pjqjmy2.js → ripgrep-6pjqjmy2.js} +1 -1
  65. package/dist/chunks/{state-xfgh3jy3.js → ripgrep-6w73wc21.js} +17 -17
  66. package/dist/chunks/{state-12qba4r3.js → ripgrep-6xjhb3qk.js} +17 -17
  67. package/dist/chunks/{state-s2x7krsf.js → ripgrep-73h6c5mr.js} +11 -11
  68. package/dist/chunks/{state-76cb1hcw.js → ripgrep-76cb1hcw.js} +1 -1
  69. package/dist/chunks/{state-nah043kf.js → ripgrep-770pw0s1.js} +4 -4
  70. package/dist/chunks/{state-hcgm01z1.js → ripgrep-77w2yzyb.js} +11 -11
  71. package/dist/chunks/{state-7bmhse3q.js → ripgrep-7bmhse3q.js} +1 -1
  72. package/dist/chunks/{state-044qwh7v.js → ripgrep-7dbx9kd5.js} +12 -12
  73. package/dist/chunks/{state-5rya34s6.js → ripgrep-7hw2cvx7.js} +27 -27
  74. package/dist/chunks/{state-q0m6jj65.js → ripgrep-7kqnvg9k.js} +22 -22
  75. package/dist/chunks/{state-6r7v16zt.js → ripgrep-7nn3h2cy.js} +42 -42
  76. package/dist/chunks/{state-7w2ypzdf.js → ripgrep-7w2ypzdf.js} +1 -1
  77. package/dist/chunks/{state-q9dgbjd9.js → ripgrep-7za0dwv2.js} +7 -7
  78. package/dist/chunks/{state-xrdxc1gc.js → ripgrep-883mde3e.js} +47 -47
  79. package/dist/chunks/{state-ancq0kt2.js → ripgrep-8922dvha.js} +25 -25
  80. package/dist/chunks/{state-6g7wb8pj.js → ripgrep-8bm7axdr.js} +11 -11
  81. package/dist/chunks/{state-tc25ehwb.js → ripgrep-8cpd998p.js} +13 -13
  82. package/dist/chunks/{state-z6vkvca5.js → ripgrep-8krb2gbb.js} +9 -9
  83. package/dist/chunks/{state-8wtp7s3z.js → ripgrep-8wtp7s3z.js} +1 -1
  84. package/dist/chunks/{state-qek2023v.js → ripgrep-8yamfpxb.js} +30 -30
  85. package/dist/chunks/{state-91rj84md.js → ripgrep-91rj84md.js} +1 -1
  86. package/dist/chunks/{state-67vajddp.js → ripgrep-94drbbkf.js} +30 -30
  87. package/dist/chunks/{state-nkh6rh9e.js → ripgrep-94ggdtye.js} +12 -12
  88. package/dist/chunks/{state-c3cfh5w6.js → ripgrep-9562mf0m.js} +9 -9
  89. package/dist/chunks/{state-4jkzeynr.js → ripgrep-95gg0e1q.js} +23 -23
  90. package/dist/chunks/{state-dvj9ct8m.js → ripgrep-998yhzzq.js} +3 -3
  91. package/dist/chunks/{state-es3s6s73.js → ripgrep-9b28cy4d.js} +5 -5
  92. package/dist/chunks/{state-m0rn1g2h.js → ripgrep-9ejpa58f.js} +8 -8
  93. package/dist/chunks/{state-v82fj2wn.js → ripgrep-a17pc1jp.js} +6 -6
  94. package/dist/chunks/{state-d47qntqb.js → ripgrep-a1tbznxp.js} +11 -11
  95. package/dist/chunks/{state-2128mz7a.js → ripgrep-a8m490ta.js} +53 -48
  96. package/dist/chunks/{state-3vfjjjh8.js → ripgrep-ab2zewxm.js} +11 -11
  97. package/dist/chunks/{state-d1r5081s.js → ripgrep-aeb4sny1.js} +5 -5
  98. package/dist/chunks/{state-psdm5k4e.js → ripgrep-aqb8zn2t.js} +35 -35
  99. package/dist/chunks/{state-sa0dwrka.js → ripgrep-atet4mee.js} +14 -14
  100. package/dist/chunks/{state-3cbjf1nt.js → ripgrep-ayjs7tqn.js} +2 -2
  101. package/dist/chunks/{state-b0mv4wxm.js → ripgrep-b0mv4wxm.js} +2 -2
  102. package/dist/chunks/{state-b6vsg801.js → ripgrep-b6vsg801.js} +2 -2
  103. package/dist/chunks/{state-esj00h2k.js → ripgrep-bayr563p.js} +19 -19
  104. package/dist/chunks/{state-14kme7tc.js → ripgrep-bf166mt2.js} +29 -29
  105. package/dist/chunks/{state-w3vrex7x.js → ripgrep-bkwbn9k7.js} +12 -12
  106. package/dist/chunks/{state-9r0x1bva.js → ripgrep-bqwdyg2t.js} +2 -2
  107. package/dist/chunks/{state-bstexjd6.js → ripgrep-bstexjd6.js} +1 -1
  108. package/dist/chunks/{state-1915y0wf.js → ripgrep-bsxvja55.js} +21 -21
  109. package/dist/chunks/{state-srpk9j1a.js → ripgrep-bt7pct3b.js} +23 -23
  110. package/dist/chunks/{state-xcq2y651.js → ripgrep-c4fe50v7.js} +16 -16
  111. package/dist/chunks/{state-w0dmea0f.js → ripgrep-ca5mcr31.js} +12 -12
  112. package/dist/chunks/{state-fy6jsj22.js → ripgrep-cc3tw12v.js} +6 -6
  113. package/dist/chunks/{state-njsbtr8g.js → ripgrep-cckz6hvv.js} +16 -16
  114. package/dist/chunks/{state-xhqrarz2.js → ripgrep-cvdn796p.js} +11 -11
  115. package/dist/chunks/{state-yfwy0123.js → ripgrep-cxsv7r2q.js} +21 -21
  116. package/dist/chunks/{state-hvcnescj.js → ripgrep-cza8pqvg.js} +6 -6
  117. package/dist/chunks/{state-bjhzkqyk.js → ripgrep-d1v2vbzt.js} +4 -4
  118. package/dist/chunks/{state-sg11w837.js → ripgrep-d2455waf.js} +20 -20
  119. package/dist/chunks/{state-c9t2ty9q.js → ripgrep-d2887f8n.js} +4 -4
  120. package/dist/chunks/{state-49cvc3c9.js → ripgrep-d4ctf4tn.js} +4 -4
  121. package/dist/chunks/{state-d4v9tmah.js → ripgrep-d4v9tmah.js} +2 -2
  122. package/dist/chunks/{state-smz3qfre.js → ripgrep-dj23h38q.js} +17 -17
  123. package/dist/chunks/{state-cfkc8wvf.js → ripgrep-dk5xnaxx.js} +4 -4
  124. package/dist/chunks/ripgrep-dnqjcqs4.js +257 -0
  125. package/dist/chunks/{state-dwh0pt33.js → ripgrep-drxfbsjt.js} +23 -23
  126. package/dist/chunks/{state-ec2dc8dw.js → ripgrep-dsnzvv9e.js} +1 -1
  127. package/dist/chunks/{state-syh9frb4.js → ripgrep-dvg9k2dh.js} +29 -29
  128. package/dist/chunks/{state-r9x1a239.js → ripgrep-e70s01gt.js} +7 -7
  129. package/dist/chunks/{state-e834z07m.js → ripgrep-e834z07m.js} +1 -1
  130. package/dist/chunks/{state-dgmfjgtz.js → ripgrep-ebjg363t.js} +4 -4
  131. package/dist/chunks/{state-ef5x83kb.js → ripgrep-ef5x83kb.js} +1 -1
  132. package/dist/chunks/{state-ee9c368m.js → ripgrep-ev4vjjv8.js} +12 -12
  133. package/dist/chunks/{state-07sd7cjb.js → ripgrep-f4wjqfv3.js} +11 -11
  134. package/dist/chunks/{state-77vk6v4z.js → ripgrep-f80yq6ab.js} +11 -11
  135. package/dist/chunks/{state-qzjk3zq0.js → ripgrep-favmj1rd.js} +11 -11
  136. package/dist/chunks/{state-fffv3p7h.js → ripgrep-fffv3p7h.js} +1 -1
  137. package/dist/chunks/{state-yws5p2hn.js → ripgrep-fhbtev1x.js} +21 -21
  138. package/dist/chunks/{state-s7hry362.js → ripgrep-fkjeaz1p.js} +91 -91
  139. package/dist/chunks/{state-s27kve8r.js → ripgrep-fx9xfnkv.js} +9 -9
  140. package/dist/chunks/{state-q9gvrhhm.js → ripgrep-g15zpze4.js} +25 -25
  141. package/dist/chunks/{state-1bvftq1p.js → ripgrep-g1d2dsmd.js} +13 -13
  142. package/dist/chunks/{state-cc3fa17z.js → ripgrep-g33nfd42.js} +9 -9
  143. package/dist/chunks/{state-g5h9c0rr.js → ripgrep-g5h9c0rr.js} +2 -2
  144. package/dist/chunks/{state-zfyb5tr4.js → ripgrep-g9ndtp1p.js} +4 -4
  145. package/dist/chunks/{state-tc831k31.js → ripgrep-gb9ye6vs.js} +25 -25
  146. package/dist/chunks/{state-v32krhk0.js → ripgrep-gk7y8xcq.js} +4 -4
  147. package/dist/chunks/{state-mkh464f3.js → ripgrep-gybx331m.js} +18 -18
  148. package/dist/chunks/{state-mpcws20e.js → ripgrep-h3r7ht18.js} +35 -35
  149. package/dist/chunks/{state-msrrdpv7.js → ripgrep-he4vfjva.js} +28 -28
  150. package/dist/chunks/{state-dc38nx3a.js → ripgrep-heq6tkdz.js} +18 -18
  151. package/dist/chunks/{state-914jfpmk.js → ripgrep-ht9phm2k.js} +5 -5
  152. package/dist/chunks/{state-haf5xzvt.js → ripgrep-hyjk9r55.js} +22 -22
  153. package/dist/chunks/{state-nvxqht09.js → ripgrep-hzrfc1p4.js} +2 -2
  154. package/dist/chunks/{state-j113cymg.js → ripgrep-j113cymg.js} +1 -1
  155. package/dist/chunks/{state-m9168hv5.js → ripgrep-j3eb93p8.js} +37 -37
  156. package/dist/chunks/{state-vrcsa8qx.js → ripgrep-j5e0tcqv.js} +9 -9
  157. package/dist/chunks/{state-4vswmwyp.js → ripgrep-j7xyg8fd.js} +33 -33
  158. package/dist/chunks/{state-8ykqf5wm.js → ripgrep-jae53m2x.js} +11 -11
  159. package/dist/chunks/{state-e5dqjz6v.js → ripgrep-jchrqzf6.js} +4 -4
  160. package/dist/chunks/{state-v3ntmnn8.js → ripgrep-jfy2z3aw.js} +24 -24
  161. package/dist/chunks/{state-nbyn5sh0.js → ripgrep-jkacm1w4.js} +3 -3
  162. package/dist/chunks/{state-eqmkrg1f.js → ripgrep-jnztxn4f.js} +24 -24
  163. package/dist/chunks/{state-vm2jz6zq.js → ripgrep-jpqadng4.js} +17 -17
  164. package/dist/chunks/{state-gczz9yj9.js → ripgrep-jqy0757m.js} +10 -10
  165. package/dist/chunks/{state-dkm83r25.js → ripgrep-jrcyk1qp.js} +48 -48
  166. package/dist/chunks/{state-zztrcv6s.js → ripgrep-jxr5ks98.js} +6 -6
  167. package/dist/chunks/{state-f4q3f8d1.js → ripgrep-k1yj6xhg.js} +22 -22
  168. package/dist/chunks/{state-q18facvz.js → ripgrep-k28jwpmn.js} +1 -1
  169. package/dist/chunks/{state-ezbq2hxf.js → ripgrep-k47d96va.js} +5 -5
  170. package/dist/chunks/{state-4skqtp9p.js → ripgrep-k5aja770.js} +8 -8
  171. package/dist/chunks/{state-6bt41jr7.js → ripgrep-k60h0mqe.js} +15 -15
  172. package/dist/chunks/{state-k814nvkf.js → ripgrep-k814nvkf.js} +1 -1
  173. package/dist/chunks/{state-7k31ezqp.js → ripgrep-kd1werbb.js} +12 -12
  174. package/dist/chunks/{state-wr1xkt7e.js → ripgrep-kp2rkay2.js} +26 -26
  175. package/dist/chunks/{state-ksn4rs0j.js → ripgrep-kxt91f54.js} +37 -37
  176. package/dist/chunks/{state-fwp9mfc9.js → ripgrep-ky596kc3.js} +4 -4
  177. package/dist/chunks/{state-14k2p94z.js → ripgrep-kya6vn2v.js} +6 -6
  178. package/dist/chunks/{state-m1714858.js → ripgrep-m1714858.js} +1 -1
  179. package/dist/chunks/{state-7pbzmqpv.js → ripgrep-m1qkddhn.js} +2 -2
  180. package/dist/chunks/{state-0gwh7h4t.js → ripgrep-m1tk4nd6.js} +49 -49
  181. package/dist/chunks/{state-5prd5q9g.js → ripgrep-m7t05s3q.js} +10 -10
  182. package/dist/chunks/{state-m9w0rfyh.js → ripgrep-m9w0rfyh.js} +1 -1
  183. package/dist/chunks/{state-maspj1v3.js → ripgrep-maspj1v3.js} +1 -1
  184. package/dist/chunks/{state-43znyb7f.js → ripgrep-mbaagm2q.js} +26 -26
  185. package/dist/chunks/{state-3y5c7d8s.js → ripgrep-mnad9545.js} +47 -47
  186. package/dist/chunks/{state-rt3cvzdv.js → ripgrep-mrcj6822.js} +4 -4
  187. package/dist/chunks/{state-jcn8ehqj.js → ripgrep-msfasjrs.js} +20 -20
  188. package/dist/chunks/{state-9f8ska64.js → ripgrep-mvt93af7.js} +32 -32
  189. package/dist/chunks/{state-85e2d6ej.js → ripgrep-mxf70ac4.js} +4 -4
  190. package/dist/chunks/{state-n0p0277s.js → ripgrep-n0p0277s.js} +1 -1
  191. package/dist/chunks/{state-dbmp929s.js → ripgrep-n6v2b7cw.js} +5 -5
  192. package/dist/chunks/{state-phfzhb8b.js → ripgrep-nbsqgbhj.js} +22 -22
  193. package/dist/chunks/{state-ayw644re.js → ripgrep-npgkeycb.js} +14 -14
  194. package/dist/chunks/{state-16tzwtzk.js → ripgrep-ny49cbs5.js} +33 -33
  195. package/dist/chunks/{state-p015t6z3.js → ripgrep-p015t6z3.js} +2 -2
  196. package/dist/chunks/{state-9d31p0t1.js → ripgrep-p0e8hqgq.js} +38 -38
  197. package/dist/chunks/{state-1yq9hg58.js → ripgrep-p7vhpwh8.js} +5 -5
  198. package/dist/chunks/{state-d1d7qngs.js → ripgrep-pb1qprq3.js} +28 -28
  199. package/dist/chunks/{state-073kka4g.js → ripgrep-pef6w6b4.js} +19 -19
  200. package/dist/chunks/{state-zsyhkwp4.js → ripgrep-pj2bksq9.js} +11 -11
  201. package/dist/chunks/{state-pknna89w.js → ripgrep-pknna89w.js} +1 -1
  202. package/dist/chunks/{state-m5bvs3x7.js → ripgrep-pw806jn0.js} +22 -22
  203. package/dist/chunks/{state-v38w2q2a.js → ripgrep-pyrm1t89.js} +19 -19
  204. package/dist/chunks/{state-8k817ta6.js → ripgrep-q5ksxkha.js} +6 -6
  205. package/dist/chunks/{state-w60hkx9t.js → ripgrep-q6v380sb.js} +12 -12
  206. package/dist/chunks/{state-yr9cnj92.js → ripgrep-qaxt5sce.js} +4 -4
  207. package/dist/chunks/{state-yh1v4sg4.js → ripgrep-qh12k8gp.js} +1 -1
  208. package/dist/chunks/{state-16cjxvjr.js → ripgrep-qj3jeqzz.js} +61 -61
  209. package/dist/chunks/{state-8jztxfpf.js → ripgrep-qjgzc4b4.js} +4 -4
  210. package/dist/chunks/{state-8x5fa4pj.js → ripgrep-qqtfakpy.js} +10 -10
  211. package/dist/chunks/{state-8k8s1td8.js → ripgrep-qvw98tg0.js} +5 -5
  212. package/dist/chunks/{state-r0yr0wbs.js → ripgrep-r0yr0wbs.js} +1 -1
  213. package/dist/chunks/{state-z3zsr4pa.js → ripgrep-r1h56z6d.js} +15 -15
  214. package/dist/chunks/{state-rerepda3.js → ripgrep-r2nqe40b.js} +14 -14
  215. package/dist/chunks/{state-35y8wyjz.js → ripgrep-r4zhn8a3.js} +8 -8
  216. package/dist/chunks/{state-93xm1b5s.js → ripgrep-r96bqt38.js} +7 -7
  217. package/dist/chunks/{state-ajd7a4ft.js → ripgrep-r991pz9h.js} +17 -17
  218. package/dist/chunks/{state-rb9dy4dg.js → ripgrep-rb9dy4dg.js} +1 -1
  219. package/dist/chunks/{state-ncagyvky.js → ripgrep-rgsds9qv.js} +11 -11
  220. package/dist/chunks/{state-qcdew78b.js → ripgrep-rjb5m6wk.js} +21 -21
  221. package/dist/chunks/{state-rt5dr6hb.js → ripgrep-rt5dr6hb.js} +1 -1
  222. package/dist/chunks/{state-m3ssbqdv.js → ripgrep-rvr9nrxj.js} +18 -18
  223. package/dist/chunks/{state-hgk34cm5.js → ripgrep-rvv5zxkv.js} +12 -12
  224. package/dist/chunks/{state-9nkjg9qd.js → ripgrep-rwvswa9y.js} +6 -6
  225. package/dist/chunks/{state-st7p3hwb.js → ripgrep-rxrz6b15.js} +2 -2
  226. package/dist/chunks/{state-xavhsc1g.js → ripgrep-rzbnf15d.js} +13 -13
  227. package/dist/chunks/{state-fv3nkzgx.js → ripgrep-s0kw0bab.js} +21 -21
  228. package/dist/chunks/{state-5292rdv0.js → ripgrep-s2p2k57b.js} +15 -15
  229. package/dist/chunks/{state-err1h8pn.js → ripgrep-s62g5239.js} +50 -50
  230. package/dist/chunks/{state-xed0bk1y.js → ripgrep-sda31fcg.js} +26 -26
  231. package/dist/chunks/{state-s5kcmw61.js → ripgrep-sfw989kw.js} +2 -2
  232. package/dist/chunks/{state-7b2q1d31.js → ripgrep-sgywbgaj.js} +38 -38
  233. package/dist/chunks/{state-k5yr72j3.js → ripgrep-sp56zrrh.js} +33 -33
  234. package/dist/chunks/{state-sqjzf8x2.js → ripgrep-sqjzf8x2.js} +1 -1
  235. package/dist/chunks/{state-vywg2bcd.js → ripgrep-sxnrxfca.js} +18 -18
  236. package/dist/chunks/{state-ct0qct1p.js → ripgrep-t9q01d30.js} +29 -29
  237. package/dist/chunks/{state-mt3ysty9.js → ripgrep-tasvem1v.js} +6 -6
  238. package/dist/chunks/{state-tczq8hjw.js → ripgrep-tczq8hjw.js} +1 -1
  239. package/dist/chunks/{state-1myz4yam.js → ripgrep-tdd1rwdg.js} +5 -5
  240. package/dist/chunks/{state-5dy8ae48.js → ripgrep-tdzaz51m.js} +8 -8
  241. package/dist/chunks/{state-tg1vr1qt.js → ripgrep-tg1vr1qt.js} +1 -1
  242. package/dist/chunks/{state-yzq7xqav.js → ripgrep-tnf39wvh.js} +51 -51
  243. package/dist/chunks/{state-0421tmwc.js → ripgrep-tpm1qpxt.js} +9 -9
  244. package/dist/chunks/{state-tw8zr1ps.js → ripgrep-tw8zr1ps.js} +1 -1
  245. package/dist/chunks/{state-twv2r8f4.js → ripgrep-twv2r8f4.js} +2 -2
  246. package/dist/chunks/{state-3jbgv2q6.js → ripgrep-txe6hs0a.js} +8 -8
  247. package/dist/chunks/{state-v2r1d0zg.js → ripgrep-v2r1d0zg.js} +1 -1
  248. package/dist/chunks/{state-1j60aste.js → ripgrep-vb6v44n7.js} +22 -22
  249. package/dist/chunks/{state-vd3b3yk9.js → ripgrep-vd3b3yk9.js} +1 -1
  250. package/dist/chunks/{state-gn44pbev.js → ripgrep-vd41439j.js} +20 -20
  251. package/dist/chunks/{state-sz2ee4nr.js → ripgrep-vdsdnjgz.js} +30 -30
  252. package/dist/chunks/{state-veqvce7d.js → ripgrep-veqvce7d.js} +1 -1
  253. package/dist/chunks/{state-sj5xbg4q.js → ripgrep-vgjn3sfz.js} +8 -8
  254. package/dist/chunks/{state-m37sd98t.js → ripgrep-vmfhgzt5.js} +4 -4
  255. package/dist/chunks/{state-h24qrdq3.js → ripgrep-vtr9dtkz.js} +13 -13
  256. package/dist/chunks/{state-h5mfmrme.js → ripgrep-vtz4zgjw.js} +9 -9
  257. package/dist/chunks/{state-dmq3ym5w.js → ripgrep-w2c2mnmy.js} +17 -17
  258. package/dist/chunks/{state-w3wsvvr9.js → ripgrep-w3wsvvr9.js} +1 -1
  259. package/dist/chunks/{state-wr3re1en.js → ripgrep-w687dnns.js} +4 -4
  260. package/dist/chunks/{state-y5bgxahe.js → ripgrep-w7svd9fv.js} +27 -27
  261. package/dist/chunks/{state-wakvkjy4.js → ripgrep-wakvkjy4.js} +1 -1
  262. package/dist/chunks/{state-wd87259q.js → ripgrep-wd87259q.js} +1 -1
  263. package/dist/chunks/{state-pgz5fff2.js → ripgrep-wg9ke37f.js} +35 -35
  264. package/dist/chunks/{state-vtxf8xbz.js → ripgrep-wj025wy7.js} +4 -4
  265. package/dist/chunks/{state-qqg9c0kv.js → ripgrep-wmjzvx4b.js} +4 -4
  266. package/dist/chunks/{state-kk6mskxb.js → ripgrep-wnvea4fe.js} +8 -8
  267. package/dist/chunks/{state-aq0ejh1v.js → ripgrep-wy7xqtjs.js} +25 -25
  268. package/dist/chunks/{state-7q9q1gy8.js → ripgrep-x3h41a9f.js} +7 -7
  269. package/dist/chunks/{state-56n8k00e.js → ripgrep-xngkbgfx.js} +17 -17
  270. package/dist/chunks/{state-yhgkr2m9.js → ripgrep-xwxay0k0.js} +44 -44
  271. package/dist/chunks/{state-8cbvmr14.js → ripgrep-xyh4h3t6.js} +5 -5
  272. package/dist/chunks/{state-52y2wpbm.js → ripgrep-xzvgcsw6.js} +9 -9
  273. package/dist/chunks/{state-kgtnj03x.js → ripgrep-y4vtynzt.js} +19 -19
  274. package/dist/chunks/{state-vrd3ahjy.js → ripgrep-y5qe5mc0.js} +23 -23
  275. package/dist/chunks/{state-yb20nhc3.js → ripgrep-yb20nhc3.js} +1 -1
  276. package/dist/chunks/{state-dbdfhpvc.js → ripgrep-ycgbrrj2.js} +11 -11
  277. package/dist/chunks/{state-prtgnnd9.js → ripgrep-ye7j7sbs.js} +32 -32
  278. package/dist/chunks/{state-2jta7gtx.js → ripgrep-ygj7qvsn.js} +30 -30
  279. package/dist/chunks/{state-thtr5m16.js → ripgrep-yh0e7xz8.js} +34 -34
  280. package/dist/chunks/{state-kkfb8c0y.js → ripgrep-yyjmamy7.js} +14 -14
  281. package/dist/chunks/{state-z0bkrqjs.js → ripgrep-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{state-z38nccrw.js → ripgrep-z38nccrw.js} +1 -1
  283. package/dist/chunks/{state-axjjc5wn.js → ripgrep-z6mg6m9w.js} +4 -4
  284. package/dist/chunks/{state-kr19zgz3.js → ripgrep-zjner7m4.js} +11 -11
  285. package/dist/chunks/{state-zkg84ctx.js → ripgrep-zkg84ctx.js} +1 -1
  286. package/dist/chunks/{state-35gjm3y2.js → ripgrep-zpmv8s4j.js} +3 -3
  287. package/dist/chunks/{state-eh870njm.js → ripgrep-zs0pprga.js} +29 -29
  288. package/dist/chunks/{state-f4ng6gb6.js → ripgrep-zssrpzfh.js} +74 -74
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +5 -5
  291. package/dist/codemode/tool.js +3 -3
  292. package/dist/codemode/web.js +1 -1
  293. package/dist/command.js +85 -85
  294. package/dist/config/discovery.js +84 -84
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +101 -101
  297. package/dist/config/plugin/agent.js +116 -116
  298. package/dist/config/plugin/command.js +212 -212
  299. package/dist/config/plugin/compaction.js +155 -155
  300. package/dist/config/plugin/compatibility.js +135 -135
  301. package/dist/config/plugin/entry-observer.js +1 -1
  302. package/dist/config/plugin/formatter.js +117 -117
  303. package/dist/config/plugin/image.js +116 -116
  304. package/dist/config/plugin/instruction.js +116 -116
  305. package/dist/config/plugin/location-watcher.js +116 -116
  306. package/dist/config/plugin/mcp.js +123 -123
  307. package/dist/config/plugin/policy.js +117 -117
  308. package/dist/config/plugin/provider.js +116 -116
  309. package/dist/config/plugin/reference.js +118 -118
  310. package/dist/config/plugin/shell.js +118 -118
  311. package/dist/config/plugin/skill-file.js +104 -104
  312. package/dist/config/plugin/skill-scan.js +3 -3
  313. package/dist/config/plugin/skill.js +138 -138
  314. package/dist/config/plugin/snapshot.js +116 -116
  315. package/dist/config/plugin/source.js +119 -119
  316. package/dist/config/plugin/tool-output.js +117 -117
  317. package/dist/config/plugin/websearch.js +117 -117
  318. package/dist/config/plugin/worktree.js +118 -118
  319. package/dist/config/variable.js +1 -1
  320. package/dist/config/watch.js +1 -1
  321. package/dist/config.js +121 -121
  322. package/dist/credential/sql.js +2 -2
  323. package/dist/credential.js +85 -85
  324. package/dist/database/database.js +72 -72
  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/20260923013825_project_time_active.js +1 -1
  389. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  390. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  391. package/dist/database/migration.gen.js +51 -51
  392. package/dist/database/migration.js +53 -53
  393. package/dist/database/path.js +2 -2
  394. package/dist/database/schema.gen.js +1 -1
  395. package/dist/database/schema.sql.js +1 -1
  396. package/dist/database/sqlite.bun.js +1 -1
  397. package/dist/database/sqlite.js +1 -1
  398. package/dist/database/sqlite.node.js +1 -1
  399. package/dist/database/sqlite.workerd.js +1 -1
  400. package/dist/database/v1-migration.bun.js +97 -97
  401. package/dist/database/v1-migration.js +1 -1
  402. package/dist/effect/app-node-builder.js +370 -370
  403. package/dist/effect/app-node-platform.js +2 -2
  404. package/dist/effect/keyed-mutex.js +3 -3
  405. package/dist/effect/websocket-constructor.js +1 -1
  406. package/dist/environment/driver.js +1 -1
  407. package/dist/environment/environment.js +95 -95
  408. package/dist/environment/exec-defaults.js +2 -2
  409. package/dist/environment/files.js +1 -1
  410. package/dist/environment/index.js +97 -97
  411. package/dist/environment/local.js +2 -2
  412. package/dist/environment/memory.js +2 -2
  413. package/dist/environment/unavailable.js +3 -3
  414. package/dist/event/sql.js +1 -1
  415. package/dist/event-logger.js +76 -76
  416. package/dist/file-access.js +106 -106
  417. package/dist/file-mutation.js +96 -96
  418. package/dist/file-retention.js +1 -1
  419. package/dist/filesystem/fff.bun.js +2 -2
  420. package/dist/filesystem/fff.js +1 -1
  421. package/dist/filesystem/fff.node.js +2 -2
  422. package/dist/filesystem/fff.workerd.js +2 -2
  423. package/dist/filesystem/location-watcher-policy.js +6 -6
  424. package/dist/filesystem/location-watcher.js +225 -225
  425. package/dist/filesystem/protected.js +1 -1
  426. package/dist/filesystem/search.js +101 -101
  427. package/dist/filesystem/watcher-binding.js +3 -3
  428. package/dist/filesystem/watcher.js +11 -11
  429. package/dist/filesystem.js +104 -104
  430. package/dist/form.js +82 -82
  431. package/dist/formatter/builtins.js +4 -4
  432. package/dist/formatter.js +89 -89
  433. package/dist/generate.js +105 -105
  434. package/dist/git.js +10 -10
  435. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  436. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  437. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  439. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  441. package/dist/github-copilot/copilot-provider.js +17 -17
  442. package/dist/github-copilot/models.js +93 -93
  443. package/dist/github-copilot/openai-compatible-error.js +1 -1
  444. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  445. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  446. package/dist/github-copilot/responses/openai-error.js +1 -1
  447. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  448. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  449. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  450. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  451. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search.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 +361 -361
  458. package/dist/instruction-discovery.js +84 -84
  459. package/dist/instructions/builtins.js +89 -89
  460. package/dist/instructions/index.js +3 -3
  461. package/dist/integration/connection.js +3 -3
  462. package/dist/integration.js +89 -89
  463. package/dist/job.js +78 -78
  464. package/dist/kv/sql.js +2 -2
  465. package/dist/kv.js +75 -75
  466. package/dist/location-activity.js +159 -159
  467. package/dist/location-lifecycle.js +109 -109
  468. package/dist/location-service-map.js +88 -88
  469. package/dist/location-services.js +358 -358
  470. package/dist/location.js +91 -91
  471. package/dist/managed-policy.js +8 -8
  472. package/dist/mcp/client.js +93 -93
  473. package/dist/mcp/index.js +105 -105
  474. package/dist/mcp/instructions.js +140 -140
  475. package/dist/mcp/oauth.js +80 -80
  476. package/dist/mcp/socket-client.js +1 -1
  477. package/dist/mcp/stdio.js +92 -92
  478. package/dist/mime.js +1 -1
  479. package/dist/modal/models.js +93 -93
  480. package/dist/model-resolver.js +101 -101
  481. package/dist/model-retry.js +1 -1
  482. package/dist/model.js +102 -102
  483. package/dist/models-dev.js +109 -109
  484. package/dist/oauth/page.js +1 -1
  485. package/dist/permission/saved.js +84 -84
  486. package/dist/permission/sql.js +5 -5
  487. package/dist/permission.js +117 -117
  488. package/dist/persistent-pty/binary.bun.js +1 -1
  489. package/dist/persistent-pty/daemon.js +1 -1
  490. package/dist/persistent-pty/index.js +90 -90
  491. package/dist/persistent-pty/pty-binding.js +1 -1
  492. package/dist/persistent-pty.js +77 -77
  493. package/dist/plugin/agent.js +76 -76
  494. package/dist/plugin/command.js +102 -102
  495. package/dist/plugin/hooks.js +5 -5
  496. package/dist/plugin/host.js +218 -218
  497. package/dist/plugin/identity.js +3 -3
  498. package/dist/plugin/instance.js +1 -1
  499. package/dist/plugin/internal.js +333 -333
  500. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  501. package/dist/plugin/models-dev.js +98 -98
  502. package/dist/plugin/module.js +117 -117
  503. package/dist/plugin/optimize.js +4 -4
  504. package/dist/plugin/plan.js +102 -102
  505. package/dist/plugin/promise.js +1 -1
  506. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  507. package/dist/plugin/provider/azure.js +116 -116
  508. package/dist/plugin/provider/cerebras.js +1 -1
  509. package/dist/plugin/provider/chatgpt.js +116 -116
  510. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  511. package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
  512. package/dist/plugin/provider/cohere.js +2 -2
  513. package/dist/plugin/provider/configured.js +112 -112
  514. package/dist/plugin/provider/databricks.js +1 -1
  515. package/dist/plugin/provider/digitalocean.js +95 -95
  516. package/dist/plugin/provider/dynamic.js +2 -2
  517. package/dist/plugin/provider/factory.js +1 -1
  518. package/dist/plugin/provider/github-copilot.js +97 -97
  519. package/dist/plugin/provider/gitlab.js +95 -95
  520. package/dist/plugin/provider/google-vertex.js +113 -113
  521. package/dist/plugin/provider/kilo.js +1 -1
  522. package/dist/plugin/provider/llmgateway.js +80 -80
  523. package/dist/plugin/provider/lmstudio.js +125 -125
  524. package/dist/plugin/provider/local.js +122 -122
  525. package/dist/plugin/provider/modal.js +94 -94
  526. package/dist/plugin/provider/neon.js +1 -1
  527. package/dist/plugin/provider/nvidia.js +1 -1
  528. package/dist/plugin/provider/ollama.js +123 -123
  529. package/dist/plugin/provider/openai-context-caps.js +92 -92
  530. package/dist/plugin/provider/openai.js +118 -118
  531. package/dist/plugin/provider/opencode.js +103 -103
  532. package/dist/plugin/provider/openrouter.js +93 -93
  533. package/dist/plugin/provider/perplexity.js +2 -2
  534. package/dist/plugin/provider/poe.js +81 -81
  535. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  536. package/dist/plugin/provider/sap-ai-core.js +93 -93
  537. package/dist/plugin/provider/sdk-factory.js +1 -1
  538. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  539. package/dist/plugin/provider/vercel.js +92 -92
  540. package/dist/plugin/provider/vllm.js +123 -123
  541. package/dist/plugin/provider/xai.js +93 -93
  542. package/dist/plugin/provider/zenmux.js +1 -1
  543. package/dist/plugin/provider.js +171 -171
  544. package/dist/plugin/sdk.js +72 -72
  545. package/dist/plugin/service.js +3 -3
  546. package/dist/plugin/skill.js +130 -130
  547. package/dist/plugin/source-directory.js +1 -1
  548. package/dist/plugin/supervisor.js +348 -348
  549. package/dist/plugin/tool-input-repair.js +4 -4
  550. package/dist/plugin/update.js +2 -2
  551. package/dist/plugin/vcs/git.js +86 -86
  552. package/dist/plugin/vcs/hg.js +86 -86
  553. package/dist/plugin/verbosity.js +95 -95
  554. package/dist/plugin/warming.js +114 -114
  555. package/dist/plugin/websearch/exa.js +7 -7
  556. package/dist/plugin/websearch/firecrawl.js +8 -8
  557. package/dist/plugin/websearch/index.js +9 -9
  558. package/dist/plugin/websearch/mcp.js +2 -2
  559. package/dist/plugin/websearch/parallel.js +8 -8
  560. package/dist/plugin/websearch/tavily.js +6 -6
  561. package/dist/plugin/websearch/tinyfish.js +8 -8
  562. package/dist/plugin.js +229 -229
  563. package/dist/project/schema.js +8 -8
  564. package/dist/project/sql.js +4 -4
  565. package/dist/project.js +92 -92
  566. package/dist/provider.js +101 -101
  567. package/dist/pty/protocol.js +1 -1
  568. package/dist/pty/ticket.js +1 -1
  569. package/dist/pty.js +101 -101
  570. package/dist/reference/instructions.js +91 -91
  571. package/dist/reference.js +93 -93
  572. package/dist/repository-cache.js +83 -83
  573. package/dist/repository.js +1 -1
  574. package/dist/ripgrep/binary.js +2 -2
  575. package/dist/ripgrep.js +97 -97
  576. package/dist/rpc.js +88 -88
  577. package/dist/schema.js +1 -1
  578. package/dist/session/affinity.js +1 -1
  579. package/dist/session/command.js +76 -76
  580. package/dist/session/compaction.js +138 -138
  581. package/dist/session/context.js +164 -164
  582. package/dist/session/diff.js +90 -90
  583. package/dist/session/environment.js +5 -5
  584. package/dist/session/error.js +5 -5
  585. package/dist/session/event.js +1 -1
  586. package/dist/session/execution/restart.js +224 -224
  587. package/dist/session/execution.js +130 -130
  588. package/dist/session/generate.js +164 -164
  589. package/dist/session/history.js +15 -15
  590. package/dist/session/inbox.js +97 -97
  591. package/dist/session/info.js +3 -3
  592. package/dist/session/instruction-entry.js +81 -81
  593. package/dist/session/instruction-state.js +8 -8
  594. package/dist/session/instructions.js +99 -99
  595. package/dist/session/message-updater.js +2 -2
  596. package/dist/session/message.js +1 -1
  597. package/dist/session/model-request.js +122 -122
  598. package/dist/session/model-transport.js +9 -9
  599. package/dist/session/move.js +132 -132
  600. package/dist/session/projector.js +91 -91
  601. package/dist/session/prompt.js +107 -107
  602. package/dist/session/recent-text.js +1 -1
  603. package/dist/session/revert.js +96 -96
  604. package/dist/session/run-coordinator.js +3 -3
  605. package/dist/session/runner/index.js +3 -3
  606. package/dist/session/runner/llm.js +231 -231
  607. package/dist/session/runner/max-steps.js +1 -1
  608. package/dist/session/runner/model.js +102 -101
  609. package/dist/session/runner/publish-llm-event.js +116 -116
  610. package/dist/session/runner/retry.js +5 -5
  611. package/dist/session/runner/step.js +126 -126
  612. package/dist/session/runner/to-llm-message.js +14 -14
  613. package/dist/session/schema.js +3 -3
  614. package/dist/session/session.js +165 -165
  615. package/dist/session/shell.js +130 -130
  616. package/dist/session/skill.js +105 -105
  617. package/dist/session/sql.js +5 -5
  618. package/dist/session/stats.js +77 -77
  619. package/dist/session/store.js +87 -87
  620. package/dist/session/subagent-completion.js +1 -1
  621. package/dist/session/subagent-job.js +212 -212
  622. package/dist/session/system-prompt.js +3 -3
  623. package/dist/session/title.js +168 -168
  624. package/dist/session/to-session-error.js +114 -114
  625. package/dist/session/transfer.js +221 -221
  626. package/dist/session/usage.js +1 -1
  627. package/dist/session.js +216 -216
  628. package/dist/shell/parse.js +8 -8
  629. package/dist/shell/result.js +1 -1
  630. package/dist/shell/scan.js +1 -1
  631. package/dist/shell/select.js +15 -15
  632. package/dist/shell.js +132 -132
  633. package/dist/skill/discovery.js +6 -6
  634. package/dist/skill/instructions.js +109 -109
  635. package/dist/skill.js +116 -116
  636. package/dist/snapshot.js +93 -93
  637. package/dist/state.js +1 -1
  638. package/dist/tool/html-markdown.js +1 -1
  639. package/dist/tool/http-body.js +1 -1
  640. package/dist/tool/mcp.js +139 -139
  641. package/dist/tool/plugin/edit.js +122 -122
  642. package/dist/tool/plugin/file-diff.js +1 -1
  643. package/dist/tool/plugin/glob.js +126 -126
  644. package/dist/tool/plugin/grep.js +126 -126
  645. package/dist/tool/plugin/mcp-resource.js +126 -126
  646. package/dist/tool/plugin/opencode.js +111 -111
  647. package/dist/tool/plugin/patch.js +122 -122
  648. package/dist/tool/plugin/question.js +105 -105
  649. package/dist/tool/plugin/read.js +127 -127
  650. package/dist/tool/plugin/shell.js +217 -217
  651. package/dist/tool/plugin/skill.js +115 -115
  652. package/dist/tool/plugin/subagent.js +219 -219
  653. package/dist/tool/plugin/todo.js +138 -138
  654. package/dist/tool/plugin/webfetch.js +113 -113
  655. package/dist/tool/plugin/websearch.js +114 -114
  656. package/dist/tool/plugin/write.js +122 -122
  657. package/dist/tool/read-filesystem.js +104 -104
  658. package/dist/tool/runtime.js +1 -1
  659. package/dist/tool-output.js +7 -7
  660. package/dist/tool.js +12 -12
  661. package/dist/util/error-summary.js +1 -1
  662. package/dist/util/git-executable.js +2 -2
  663. package/dist/util/lazy.js +1 -1
  664. package/dist/util/slug.js +1 -1
  665. package/dist/util/token.js +1 -1
  666. package/dist/util/which.js +1 -1
  667. package/dist/util/wildcard.js +1 -1
  668. package/dist/v1/config/agent.js +7 -7
  669. package/dist/v1/config/command.js +3 -3
  670. package/dist/v1/config/mcp.js +4 -4
  671. package/dist/v1/config/migrate.js +94 -94
  672. package/dist/v1/config/permission.js +7 -7
  673. package/dist/v1/config/plugin.js +3 -3
  674. package/dist/v1/config/provider-options.js +1 -1
  675. package/dist/v1/config/provider.js +4 -4
  676. package/dist/variant.js +95 -95
  677. package/dist/vcs/patch.js +1 -1
  678. package/dist/vcs.js +91 -91
  679. package/dist/voice.js +86 -86
  680. package/dist/websearch.js +84 -84
  681. package/dist/wellknown/plugin.js +78 -78
  682. package/dist/wellknown.js +83 -83
  683. package/dist/workspace/driver.js +5 -5
  684. package/dist/workspace/sql.js +1 -1
  685. package/dist/workspace.js +82 -82
  686. package/dist/worktree/directory.js +2 -2
  687. package/dist/worktree/git.js +10 -10
  688. package/dist/worktree/sql.js +5 -5
  689. package/dist/worktree/strategies.js +91 -91
  690. package/dist/worktree.js +102 -102
  691. package/package.json +8 -8
  692. package/dist/chunks/state-2dkjcnxp.js +0 -18
  693. package/dist/chunks/state-4dbr8w8g.js +0 -257
  694. /package/dist/chunks/{state-0qkdqm5v.js → ripgrep-0qkdqm5v.js} +0 -0
  695. /package/dist/chunks/{state-0zkw76rk.js → ripgrep-0zkw76rk.js} +0 -0
  696. /package/dist/chunks/{state-17cy0kzp.js → ripgrep-17cy0kzp.js} +0 -0
  697. /package/dist/chunks/{state-1cnp2v09.js → ripgrep-1cnp2v09.js} +0 -0
  698. /package/dist/chunks/{state-24dcb14g.js → ripgrep-24dcb14g.js} +0 -0
  699. /package/dist/chunks/{state-2710q6r3.js → ripgrep-2710q6r3.js} +0 -0
  700. /package/dist/chunks/{state-2bv980vf.js → ripgrep-2bv980vf.js} +0 -0
  701. /package/dist/chunks/{state-2c3vjs8z.js → ripgrep-2c3vjs8z.js} +0 -0
  702. /package/dist/chunks/{state-359p4xyc.js → ripgrep-359p4xyc.js} +0 -0
  703. /package/dist/chunks/{state-3asan66x.js → ripgrep-3asan66x.js} +0 -0
  704. /package/dist/chunks/{state-3v8g72cx.js → ripgrep-3v8g72cx.js} +0 -0
  705. /package/dist/chunks/{state-3wcehsnq.js → ripgrep-3wcehsnq.js} +0 -0
  706. /package/dist/chunks/{state-43n2bw4t.js → ripgrep-43n2bw4t.js} +0 -0
  707. /package/dist/chunks/{state-4knz6hnm.js → ripgrep-4knz6hnm.js} +0 -0
  708. /package/dist/chunks/{state-4vcrnpx2.js → ripgrep-4vcrnpx2.js} +0 -0
  709. /package/dist/chunks/{state-4y7fprxs.js → ripgrep-4y7fprxs.js} +0 -0
  710. /package/dist/chunks/{state-53557ph1.js → ripgrep-53557ph1.js} +0 -0
  711. /package/dist/chunks/{state-550bvhaj.js → ripgrep-550bvhaj.js} +0 -0
  712. /package/dist/chunks/{state-5fjb7ams.js → ripgrep-5fjb7ams.js} +0 -0
  713. /package/dist/chunks/{state-6prwharc.js → ripgrep-6prwharc.js} +0 -0
  714. /package/dist/chunks/{state-6q2bdcd1.js → ripgrep-6q2bdcd1.js} +0 -0
  715. /package/dist/chunks/{state-7akdwqpd.js → ripgrep-7akdwqpd.js} +0 -0
  716. /package/dist/chunks/{state-7m9af43g.js → ripgrep-7m9af43g.js} +0 -0
  717. /package/dist/chunks/{state-822emrt2.js → ripgrep-822emrt2.js} +0 -0
  718. /package/dist/chunks/{state-84wd9syh.js → ripgrep-84wd9syh.js} +0 -0
  719. /package/dist/chunks/{state-88xbtdfr.js → ripgrep-88xbtdfr.js} +0 -0
  720. /package/dist/chunks/{state-8n3pysct.js → ripgrep-8n3pysct.js} +0 -0
  721. /package/dist/chunks/{state-8wj87zfr.js → ripgrep-8wj87zfr.js} +0 -0
  722. /package/dist/chunks/{state-9a4afbnw.js → ripgrep-9a4afbnw.js} +0 -0
  723. /package/dist/chunks/{state-9rqn6x4v.js → ripgrep-9rqn6x4v.js} +0 -0
  724. /package/dist/chunks/{state-a058387c.js → ripgrep-a058387c.js} +0 -0
  725. /package/dist/chunks/{state-a6k6eb26.js → ripgrep-a6k6eb26.js} +0 -0
  726. /package/dist/chunks/{state-af5trqkr.js → ripgrep-af5trqkr.js} +0 -0
  727. /package/dist/chunks/{state-afrmfg78.js → ripgrep-afrmfg78.js} +0 -0
  728. /package/dist/chunks/{state-aqzs7mqg.js → ripgrep-aqzs7mqg.js} +0 -0
  729. /package/dist/chunks/{state-atq7p7m5.js → ripgrep-atq7p7m5.js} +0 -0
  730. /package/dist/chunks/{state-bkyjaxrp.js → ripgrep-bkyjaxrp.js} +0 -0
  731. /package/dist/chunks/{state-bmr6ed5q.js → ripgrep-bmr6ed5q.js} +0 -0
  732. /package/dist/chunks/{state-cf4snx6d.js → ripgrep-cf4snx6d.js} +0 -0
  733. /package/dist/chunks/{state-cvy3z8tj.js → ripgrep-cvy3z8tj.js} +0 -0
  734. /package/dist/chunks/{state-d9fn303g.js → ripgrep-d9fn303g.js} +0 -0
  735. /package/dist/chunks/{state-d9jj8t3e.js → ripgrep-d9jj8t3e.js} +0 -0
  736. /package/dist/chunks/{state-dajrwvna.js → ripgrep-dajrwvna.js} +0 -0
  737. /package/dist/chunks/{state-dap0rakb.js → ripgrep-dap0rakb.js} +0 -0
  738. /package/dist/chunks/{state-df08tz66.js → ripgrep-df08tz66.js} +0 -0
  739. /package/dist/chunks/{state-dy18nga0.js → ripgrep-dy18nga0.js} +0 -0
  740. /package/dist/chunks/{state-e5kj55wp.js → ripgrep-e5kj55wp.js} +0 -0
  741. /package/dist/chunks/{state-e73j6tqm.js → ripgrep-e73j6tqm.js} +0 -0
  742. /package/dist/chunks/{state-ec1grn59.js → ripgrep-ec1grn59.js} +0 -0
  743. /package/dist/chunks/{state-eh3zwz77.js → ripgrep-eh3zwz77.js} +0 -0
  744. /package/dist/chunks/{state-emrn6kk6.js → ripgrep-emrn6kk6.js} +0 -0
  745. /package/dist/chunks/{state-f0mxakyp.js → ripgrep-f0mxakyp.js} +0 -0
  746. /package/dist/chunks/{state-f6n9ztr4.js → ripgrep-f6n9ztr4.js} +0 -0
  747. /package/dist/chunks/{state-faypxj3z.js → ripgrep-faypxj3z.js} +0 -0
  748. /package/dist/chunks/{state-fd410y7t.js → ripgrep-fd410y7t.js} +0 -0
  749. /package/dist/chunks/{state-g4wezp1m.js → ripgrep-g4wezp1m.js} +0 -0
  750. /package/dist/chunks/{state-g86h250q.js → ripgrep-g86h250q.js} +0 -0
  751. /package/dist/chunks/{state-gebd4c9n.js → ripgrep-gebd4c9n.js} +0 -0
  752. /package/dist/chunks/{state-gftt206x.js → ripgrep-gftt206x.js} +0 -0
  753. /package/dist/chunks/{state-hcxmzztb.js → ripgrep-hcxmzztb.js} +0 -0
  754. /package/dist/chunks/{state-hk9envan.js → ripgrep-hk9envan.js} +0 -0
  755. /package/dist/chunks/{state-j2ntwpah.js → ripgrep-j2ntwpah.js} +0 -0
  756. /package/dist/chunks/{state-j5zkgpj8.js → ripgrep-j5zkgpj8.js} +0 -0
  757. /package/dist/chunks/{state-jjkms2e6.js → ripgrep-jjkms2e6.js} +0 -0
  758. /package/dist/chunks/{state-jr7sbwjy.js → ripgrep-jr7sbwjy.js} +0 -0
  759. /package/dist/chunks/{state-jwfs4k6c.js → ripgrep-jwfs4k6c.js} +0 -0
  760. /package/dist/chunks/{state-jze0r7bz.js → ripgrep-jze0r7bz.js} +0 -0
  761. /package/dist/chunks/{state-jzg6c2d5.js → ripgrep-jzg6c2d5.js} +0 -0
  762. /package/dist/chunks/{state-m18g726c.js → ripgrep-m18g726c.js} +0 -0
  763. /package/dist/chunks/{state-mp448xyj.js → ripgrep-mp448xyj.js} +0 -0
  764. /package/dist/chunks/{state-msx8hqn2.js → ripgrep-msx8hqn2.js} +0 -0
  765. /package/dist/chunks/{state-n05xt0ee.js → ripgrep-n05xt0ee.js} +0 -0
  766. /package/dist/chunks/{state-n3j8tn72.js → ripgrep-n3j8tn72.js} +0 -0
  767. /package/dist/chunks/{state-njntx4h6.js → ripgrep-njntx4h6.js} +0 -0
  768. /package/dist/chunks/{state-pkyv6v7h.js → ripgrep-pkyv6v7h.js} +0 -0
  769. /package/dist/chunks/{state-q3sfg36h.js → ripgrep-q3sfg36h.js} +0 -0
  770. /package/dist/chunks/{state-q74kybfr.js → ripgrep-q74kybfr.js} +0 -0
  771. /package/dist/chunks/{state-qaymkmh1.js → ripgrep-qaymkmh1.js} +0 -0
  772. /package/dist/chunks/{state-qb87gjwd.js → ripgrep-qb87gjwd.js} +0 -0
  773. /package/dist/chunks/{state-qfa1cgps.js → ripgrep-qfa1cgps.js} +0 -0
  774. /package/dist/chunks/{state-qg3g05ea.js → ripgrep-qg3g05ea.js} +0 -0
  775. /package/dist/chunks/{state-qrg20bc0.js → ripgrep-qrg20bc0.js} +0 -0
  776. /package/dist/chunks/{state-rcb2kzg1.js → ripgrep-rcb2kzg1.js} +0 -0
  777. /package/dist/chunks/{state-sdp7kfr6.js → ripgrep-sdp7kfr6.js} +0 -0
  778. /package/dist/chunks/{state-ssg3fenm.js → ripgrep-ssg3fenm.js} +0 -0
  779. /package/dist/chunks/{state-ve7vex1e.js → ripgrep-ve7vex1e.js} +0 -0
  780. /package/dist/chunks/{state-w803qqfp.js → ripgrep-w803qqfp.js} +0 -0
  781. /package/dist/chunks/{state-wc3fc9cn.js → ripgrep-wc3fc9cn.js} +0 -0
  782. /package/dist/chunks/{state-wer8tq1h.js → ripgrep-wer8tq1h.js} +0 -0
  783. /package/dist/chunks/{state-wjj7prxr.js → ripgrep-wjj7prxr.js} +0 -0
  784. /package/dist/chunks/{state-wtztk69x.js → ripgrep-wtztk69x.js} +0 -0
  785. /package/dist/chunks/{state-x0ckcb58.js → ripgrep-x0ckcb58.js} +0 -0
  786. /package/dist/chunks/{state-x61499pn.js → ripgrep-x61499pn.js} +0 -0
  787. /package/dist/chunks/{state-y44na4kk.js → ripgrep-y44na4kk.js} +0 -0
  788. /package/dist/chunks/{state-y8f7s663.js → ripgrep-y8f7s663.js} +0 -0
  789. /package/dist/chunks/{state-ygaqb7jw.js → ripgrep-ygaqb7jw.js} +0 -0
  790. /package/dist/chunks/{state-ym463w8f.js → ripgrep-ym463w8f.js} +0 -0
  791. /package/dist/chunks/{state-z5v4ffb3.js → ripgrep-z5v4ffb3.js} +0 -0
  792. /package/dist/chunks/{state-z9919s4g.js → ripgrep-z9919s4g.js} +0 -0
@@ -1,22 +1,26 @@
1
1
  import {
2
- Service75,
3
- node79
4
- } from "./state-yhgkr2m9.js";
2
+ Service84,
3
+ node88
4
+ } from "./ripgrep-gb9ye6vs.js";
5
+ import {
6
+ Service63,
7
+ node65
8
+ } from "./ripgrep-xwxay0k0.js";
5
9
  import {
6
10
  SessionSchema2
7
- } from "./state-nvxqht09.js";
11
+ } from "./ripgrep-hzrfc1p4.js";
8
12
  import {
9
13
  __export
10
- } from "./state-9rqn6x4v.js";
14
+ } from "./ripgrep-9rqn6x4v.js";
11
15
 
12
16
  // src/session/runner/model.ts
13
17
  var exports_model = {};
14
18
  __export(exports_model, {
15
19
  ModelNotSelectedError: () => ModelNotSelectedError2,
16
20
  ModelUnavailableError: () => ModelUnavailableError2,
17
- Service: () => Service44,
21
+ Service: () => Service55,
18
22
  SessionRunnerModel: () => exports_model,
19
- node: () => node46,
23
+ node: () => node57,
20
24
  resolved: () => resolved2
21
25
  });
22
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -39,7 +43,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
39
43
  }
40
44
  }
41
45
 
42
- class Service44 extends Context.Service()("@opencode/SessionRunnerModel") {
46
+ class Service55 extends Context.Service()("@opencode/SessionRunnerModel") {
43
47
  }
44
48
  var resolved2 = (model, options) => ({
45
49
  model,
@@ -54,12 +58,15 @@ var resolved2 = (model, options) => ({
54
58
  compaction: options.compaction,
55
59
  transport: options.transport
56
60
  });
57
- var layer = Layer.effect(Service44, Effect.gen(function* () {
58
- const resolver = yield* Service75;
59
- return Service44.of({
61
+ var layer = Layer.effect(Service55, Effect.gen(function* () {
62
+ const resolver = yield* Service63;
63
+ const agents = yield* Service84;
64
+ return Service55.of({
60
65
  resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
61
66
  if (!session.model) {
62
- const resolved = yield* resolver.resolve();
67
+ const agent = (yield* agents.select(session.agent)).info?.model;
68
+ const preferred = agent && (yield* available()).find((model) => model.providerID === agent.providerID && model.id === agent.id);
69
+ const resolved = preferred ? yield* resolver.resolveModel(preferred, agent.variant) : yield* resolver.resolve();
63
70
  if (resolved)
64
71
  return resolved;
65
72
  return yield* new ModelNotSelectedError2({ sessionID: session.id });
@@ -74,6 +81,6 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
74
81
  })
75
82
  });
76
83
  }));
77
- var node46 = makeLocationNode({ service: Service44, layer, deps: [node79] });
84
+ var node57 = makeLocationNode({ service: Service55, layer, deps: [node65, node88] });
78
85
 
79
- export { ModelNotSelectedError2, ModelUnavailableError2, Service44, resolved2, node46, exports_model };
86
+ export { ModelNotSelectedError2, ModelUnavailableError2, Service55, resolved2, node57, exports_model };
@@ -1,50 +1,50 @@
1
1
  import {
2
- Service56
3
- } from "./state-tc831k31.js";
2
+ Service84
3
+ } from "./ripgrep-gb9ye6vs.js";
4
4
  import {
5
5
  Ref2,
6
- Service77
7
- } from "./state-mpcws20e.js";
6
+ Service75
7
+ } from "./ripgrep-h3r7ht18.js";
8
8
  import {
9
9
  latest2,
10
- Service70
11
- } from "./state-err1h8pn.js";
10
+ Service57
11
+ } from "./ripgrep-s62g5239.js";
12
12
  import {
13
13
  SessionSchema2
14
- } from "./state-nvxqht09.js";
14
+ } from "./ripgrep-hzrfc1p4.js";
15
15
  import {
16
- Service46
17
- } from "./state-ayw644re.js";
16
+ Service56
17
+ } from "./ripgrep-npgkeycb.js";
18
18
  import {
19
19
  evaluate2,
20
- Service53
21
- } from "./state-jgdcf8mk.js";
20
+ Service65
21
+ } from "./ripgrep-2553426h.js";
22
22
  import {
23
- Service24
24
- } from "./state-a4bn6z71.js";
23
+ Service17
24
+ } from "./ripgrep-1fxyteqg.js";
25
25
  import {
26
26
  NO_TEXT2
27
- } from "./state-sqjzf8x2.js";
27
+ } from "./ripgrep-sqjzf8x2.js";
28
28
  import {
29
- Service9
30
- } from "./state-073kka4g.js";
29
+ Service7
30
+ } from "./ripgrep-pef6w6b4.js";
31
31
  import {
32
32
  __export
33
- } from "./state-9rqn6x4v.js";
33
+ } from "./ripgrep-9rqn6x4v.js";
34
34
 
35
35
  // src/tool/plugin/subagent.ts
36
36
  var exports_subagent = {};
37
37
  __export(exports_subagent, {
38
- Input: () => Input13,
39
- Output: () => Output9,
40
- Plugin: () => Plugin48,
38
+ Input: () => Input9,
39
+ Output: () => Output7,
40
+ Plugin: () => Plugin27,
41
41
  SubagentTool: () => exports_subagent,
42
- description: () => description5,
43
- name: () => name13
42
+ description: () => description4,
43
+ name: () => name9
44
44
  });
45
45
  import { ToolFailure } from "@opencode/ai";
46
46
  import { Effect, Predicate, Schema } from "effect";
47
- var name13 = "subagent";
47
+ var name9 = "subagent";
48
48
  var backgroundResult = (sessionID) => ({
49
49
  sessionID,
50
50
  status: "running",
@@ -55,7 +55,7 @@ var backgroundResult = (sessionID) => ({
55
55
  ].join(`
56
56
  `)
57
57
  });
58
- var Input13 = Schema.Struct({
58
+ var Input9 = Schema.Struct({
59
59
  agent: Schema.String.annotate({
60
60
  description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
61
61
  }),
@@ -71,12 +71,12 @@ var Input13 = Schema.Struct({
71
71
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
72
72
  })
73
73
  });
74
- var Output9 = Schema.Struct({
74
+ var Output7 = Schema.Struct({
75
75
  sessionID: SessionSchema2.ID,
76
76
  status: Schema.Literals(["completed", "running"]),
77
77
  output: Schema.String
78
78
  });
79
- var description5 = [
79
+ var description4 = [
80
80
  "Spawns an agent in a child session to work on the specified task.",
81
81
  "The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
82
82
  "New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
@@ -85,16 +85,16 @@ var description5 = [
85
85
  "Use background only for independent work that can run while you continue elsewhere."
86
86
  ].join(`
87
87
  `);
88
- var Plugin48 = {
88
+ var Plugin27 = {
89
89
  id: "opencode.tool.subagent",
90
90
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
91
- const sessions = yield* Service24;
92
- const jobs = yield* Service46;
93
- const agents = yield* Service56;
94
- const config = yield* Service70;
95
- const permission = yield* Service53;
96
- const models = yield* Service77;
97
- const subagents = yield* Service9;
91
+ const sessions = yield* Service17;
92
+ const jobs = yield* Service56;
93
+ const agents = yield* Service84;
94
+ const config = yield* Service57;
95
+ const permission = yield* Service65;
96
+ const models = yield* Service75;
97
+ const subagents = yield* Service7;
98
98
  const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
99
99
  const ref = yield* Effect.try({
100
100
  try: () => Ref2.parse(input),
@@ -114,11 +114,11 @@ var Plugin48 = {
114
114
  return ref;
115
115
  });
116
116
  yield* ctx.tool.transform((editor) => editor.add({
117
- name: name13,
117
+ name: name9,
118
118
  options: { codemode: false },
119
- description: description5,
120
- input: Input13,
121
- output: Output9,
119
+ description: description4,
120
+ input: Input9,
121
+ output: Output7,
122
122
  execute: (input, context) => Effect.gen(function* () {
123
123
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
124
124
  let current = parent;
@@ -138,7 +138,7 @@ var Plugin48 = {
138
138
  if (agent.mode === "primary")
139
139
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
140
140
  yield* permission.assert({
141
- action: name13,
141
+ action: name9,
142
142
  resources: [agent.id],
143
143
  save: [agent.id],
144
144
  sessionID: context.sessionID,
@@ -217,7 +217,7 @@ ${output.output}
217
217
  })))
218
218
  })).pipe(Effect.orDie);
219
219
  yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
220
- if (event.tool !== name13 || !Predicate.isObject(event.input))
220
+ if (event.tool !== name9 || !Predicate.isObject(event.input))
221
221
  return;
222
222
  if (event.input.model !== "" && event.input.sessionID !== "")
223
223
  return;
@@ -229,13 +229,13 @@ ${output.output}
229
229
  event.input = input;
230
230
  }));
231
231
  const hook = (event) => Effect.gen(function* () {
232
- const tool = event.tools[name13];
232
+ const tool = event.tools[name9];
233
233
  if (!tool)
234
234
  return;
235
235
  const selected = yield* agents.resolve(event.agent);
236
236
  if (!selected)
237
237
  return;
238
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name13, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
238
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name9, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
239
239
  if (available.length === 0)
240
240
  return;
241
241
  tool.description = [
@@ -252,4 +252,4 @@ ${output.output}
252
252
  })
253
253
  };
254
254
 
255
- export { name13, Input13, Output9, description5, Plugin48, exports_subagent };
255
+ export { name9, Input9, Output7, description4, Plugin27, exports_subagent };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./state-9rqn6x4v.js";
3
+ } from "./ripgrep-9rqn6x4v.js";
4
4
 
5
5
  // src/config/watch.ts
6
6
  var exports_watch = {};
@@ -1,67 +1,67 @@
1
1
  import {
2
- Service84,
3
- node88
4
- } from "./state-xcq2y651.js";
2
+ Service85,
3
+ node89
4
+ } from "./ripgrep-c4fe50v7.js";
5
5
  import {
6
- Service82,
7
- node86
8
- } from "./state-dmq3ym5w.js";
6
+ Service77,
7
+ node81
8
+ } from "./ripgrep-w2c2mnmy.js";
9
9
  import {
10
- Service56,
11
- node58
12
- } from "./state-tc831k31.js";
10
+ Service84,
11
+ node88
12
+ } from "./ripgrep-gb9ye6vs.js";
13
13
  import {
14
- NotFoundError7
15
- } from "./state-8k817ta6.js";
14
+ NotFoundError9
15
+ } from "./ripgrep-q5ksxkha.js";
16
16
  import {
17
- Service54,
18
- node56
19
- } from "./state-12qba4r3.js";
17
+ Service66,
18
+ node68
19
+ } from "./ripgrep-6xjhb3qk.js";
20
20
  import {
21
21
  match2
22
- } from "./state-z38nccrw.js";
22
+ } from "./ripgrep-z38nccrw.js";
23
23
  import {
24
- Service55,
25
- node57
26
- } from "./state-c22sd85a.js";
24
+ Service67,
25
+ node69
26
+ } from "./ripgrep-41scb8pj.js";
27
27
  import {
28
- Service57,
29
- node59
30
- } from "./state-35y8wyjz.js";
28
+ Service68,
29
+ node70
30
+ } from "./ripgrep-r4zhn8a3.js";
31
31
  import {
32
32
  __export
33
- } from "./state-9rqn6x4v.js";
33
+ } from "./ripgrep-9rqn6x4v.js";
34
34
 
35
35
  // src/permission.ts
36
- var exports_permission = {};
37
- __export(exports_permission, {
36
+ var exports_permission2 = {};
37
+ __export(exports_permission2, {
38
38
  BlockedError: () => BlockedError2,
39
39
  CorrectedError: () => CorrectedError2,
40
40
  DeclinedError: () => DeclinedError2,
41
41
  Effect: () => PermissionEffect,
42
- Event: () => Event9,
43
- ID: () => ID6,
44
- NotFoundError: () => NotFoundError6,
45
- Permission: () => exports_permission,
42
+ Event: () => Event12,
43
+ ID: () => ID7,
44
+ NotFoundError: () => NotFoundError8,
45
+ Permission: () => exports_permission2,
46
46
  Reply: () => Reply2,
47
47
  Request: () => Request2,
48
- Rule: () => Rule2,
48
+ Rule: () => Rule3,
49
49
  Ruleset: () => Ruleset2,
50
- Service: () => Service53,
51
- Source: () => Source4,
50
+ Service: () => Service65,
51
+ Source: () => Source5,
52
52
  evaluate: () => evaluate2,
53
53
  merge: () => merge2,
54
- node: () => node55
54
+ node: () => node67
55
55
  });
56
56
  import { makeLocationNode } from "@opencode/util/effect/app-node";
57
57
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
58
58
  import { Permission } from "@opencode/schema/permission";
59
- import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
60
- import { Event as Event9 } from "@opencode/schema/permission";
59
+ import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
60
+ import { Event as Event12 } from "@opencode/schema/permission";
61
61
  var PermissionEffect = Permission.Effect;
62
62
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
63
- var ID6 = Permission.ID;
64
- var Source4 = Permission.Source;
63
+ var ID7 = Permission.ID;
64
+ var Source5 = Permission.Source;
65
65
  var Request2 = Permission.Request;
66
66
  var Reply2 = Permission.Reply;
67
67
 
@@ -84,8 +84,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
84
84
  }
85
85
  }
86
86
 
87
- class NotFoundError6 extends Schema.TaggedError()("Permission.NotFoundError", {
88
- requestID: ID6
87
+ class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
88
+ requestID: ID7
89
89
  }) {
90
90
  }
91
91
  function evaluate2(action, resource, ...rulesets) {
@@ -99,15 +99,15 @@ function merge2(...rulesets) {
99
99
  return rulesets.flat();
100
100
  }
101
101
 
102
- class Service53 extends Context.Service()("@opencode/Permission") {
102
+ class Service65 extends Context.Service()("@opencode/Permission") {
103
103
  }
104
- var layer = Layer.effect(Service53, Effect.gen(function* () {
105
- const bus = yield* Service84;
106
- const location = yield* Service82;
107
- const agents = yield* Service56;
108
- const sessions = yield* Service54;
109
- const saved = yield* Service55;
110
- const hooks = yield* Service57;
104
+ var layer = Layer.effect(Service65, Effect.gen(function* () {
105
+ const bus = yield* Service85;
106
+ const location = yield* Service77;
107
+ const agents = yield* Service84;
108
+ const sessions = yield* Service66;
109
+ const saved = yield* Service67;
110
+ const hooks = yield* Service68;
111
111
  const pending = new Map;
112
112
  let closed = false;
113
113
  const close = Effect.gen(function* () {
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
130
130
  const configured = Effect.fnUntraced(function* (sessionID, agentID) {
131
131
  const session = yield* sessions.get(sessionID);
132
132
  if (!session)
133
- return yield* new NotFoundError7({ sessionID });
133
+ return yield* new NotFoundError9({ sessionID });
134
134
  const agent = yield* agents.resolve(agentID ?? session.agent);
135
135
  return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
136
136
  });
@@ -160,7 +160,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
160
160
  });
161
161
  function request(input, message) {
162
162
  return {
163
- id: input.id ?? ID6.create(),
163
+ id: input.id ?? ID7.create(),
164
164
  sessionID: input.sessionID,
165
165
  action: input.action,
166
166
  resources: input.resources,
@@ -185,7 +185,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
185
185
  }));
186
186
  const ask = Effect.fn("Permission.ask")(function* (input) {
187
187
  if (closed)
188
- return { id: input.id ?? ID6.create(), effect: "deny" };
188
+ return { id: input.id ?? ID7.create(), effect: "deny" };
189
189
  const result = yield* evaluateInput(input);
190
190
  const value = request(input, result.message);
191
191
  if (result.effect === "ask")
@@ -216,7 +216,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
216
216
  const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
217
217
  const existing = pending.get(input.requestID);
218
218
  if (!existing)
219
- return yield* new NotFoundError6({ requestID: input.requestID });
219
+ return yield* new NotFoundError8({ requestID: input.requestID });
220
220
  yield* bus.publish(Permission.Event.Replied, {
221
221
  sessionID: existing.request.sessionID,
222
222
  requestID: existing.request.id,
@@ -271,12 +271,12 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
271
271
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
272
272
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
273
273
  });
274
- return Service53.of({ ask, assert, reply, get, forSession, list, close });
274
+ return Service65.of({ ask, assert, reply, get, forSession, list, close });
275
275
  }));
276
- var node55 = makeLocationNode({
277
- service: Service53,
276
+ var node67 = makeLocationNode({
277
+ service: Service65,
278
278
  layer,
279
- deps: [node88, node86, node58, node56, node57, node59]
279
+ deps: [node89, node81, node88, node68, node69, node70]
280
280
  });
281
281
 
282
- export { PermissionEffect, ID6, Source4, Request2, Reply2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError6, evaluate2, merge2, Service53, node55, exports_permission, Rule2, Ruleset2, Event9 };
282
+ export { PermissionEffect, ID7, Source5, Request2, Reply2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service65, node67, exports_permission2, Rule3, Ruleset2, Event12 };
@@ -2,17 +2,17 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./state-z5v4ffb3.js";
5
+ } from "./ripgrep-z5v4ffb3.js";
6
6
  import {
7
- Service68,
8
- node71
9
- } from "./state-eqmkrg1f.js";
7
+ Service70,
8
+ node72
9
+ } from "./ripgrep-jnztxn4f.js";
10
10
  import {
11
11
  RipgrepBinary2
12
- } from "./state-maspj1v3.js";
12
+ } from "./ripgrep-maspj1v3.js";
13
13
  import {
14
14
  __export
15
- } from "./state-9rqn6x4v.js";
15
+ } from "./ripgrep-9rqn6x4v.js";
16
16
 
17
17
  // src/ripgrep.ts
18
18
  var exports_ripgrep = {};
@@ -20,8 +20,8 @@ __export(exports_ripgrep, {
20
20
  Error: () => Error4,
21
21
  InvalidPatternError: () => InvalidPatternError2,
22
22
  Ripgrep: () => exports_ripgrep,
23
- Service: () => Service67,
24
- node: () => node70
23
+ Service: () => Service69,
24
+ node: () => node71
25
25
  });
26
26
  import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
27
27
  import { ChildProcess } from "effect/process";
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
58
58
  }) {
59
59
  }
60
60
 
61
- class Service67 extends Context.Service()("@opencode/Ripgrep") {
61
+ class Service69 extends Context.Service()("@opencode/Ripgrep") {
62
62
  }
63
63
  var failure = (message, cause) => new Error4({ message, cause });
64
64
  var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
65
65
  var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
66
- var layer = Layer.effect(Service67, Effect.gen(function* () {
67
- const environment = yield* Service68;
66
+ var layer = Layer.effect(Service69, Effect.gen(function* () {
67
+ const environment = yield* Service70;
68
68
  const binary = yield* RipgrepBinary2.Service;
69
69
  const run = (input) => {
70
70
  const program = Effect.scoped(Effect.gen(function* () {
@@ -92,7 +92,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
92
92
  const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
93
93
  return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
94
94
  };
95
- return Service67.of({
95
+ return Service69.of({
96
96
  glob: (input) => run({
97
97
  cwd: input.cwd,
98
98
  limit: input.limit,
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
175
175
  }))))
176
176
  });
177
177
  }));
178
- var node70 = makeLocationNode({ service: Service67, layer, deps: [node71, RipgrepBinary2.node] });
178
+ var node71 = makeLocationNode({ service: Service69, layer, deps: [node72, RipgrepBinary2.node] });
179
179
 
180
- export { Error4, InvalidPatternError2, Service67, node70, exports_ripgrep };
180
+ export { Error4, InvalidPatternError2, Service69, node71, exports_ripgrep };
@@ -1,34 +1,34 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./state-dmq3ym5w.js";
2
+ Service77,
3
+ node81
4
+ } from "./ripgrep-w2c2mnmy.js";
5
5
  import {
6
6
  Key3,
7
- make20,
7
+ make19,
8
8
  combine2
9
- } from "./state-e5dqjz6v.js";
9
+ } from "./ripgrep-jchrqzf6.js";
10
10
  import {
11
11
  __export
12
- } from "./state-9rqn6x4v.js";
12
+ } from "./ripgrep-9rqn6x4v.js";
13
13
 
14
14
  // src/instructions/builtins.ts
15
15
  var exports_builtins = {};
16
16
  __export(exports_builtins, {
17
17
  InstructionBuiltIns: () => exports_builtins,
18
- Service: () => Service28,
19
- node: () => node32
18
+ Service: () => Service30,
19
+ node: () => node33
20
20
  });
21
21
  import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
23
23
  import { Global } from "@opencode/util/global";
24
- class Service28 extends Context.Service()("@opencode/InstructionBuiltIns") {
24
+ class Service30 extends Context.Service()("@opencode/InstructionBuiltIns") {
25
25
  }
26
- var layer = Layer.effect(Service28, Effect.gen(function* () {
26
+ var layer = Layer.effect(Service30, Effect.gen(function* () {
27
27
  const global = yield* Global.Service;
28
- const location = yield* Service82;
29
- return Service28.of({
28
+ const location = yield* Service77;
29
+ return Service30.of({
30
30
  load: () => Effect.succeed(combine2([
31
- make20({
31
+ make19({
32
32
  key: Key3.make("core/date"),
33
33
  codec: Schema.toCodecJson(Schema.String),
34
34
  read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
@@ -37,7 +37,7 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
37
37
  changed: (_previous, date) => `Today's date is now: ${date}`
38
38
  }
39
39
  }),
40
- make20({
40
+ make19({
41
41
  key: Key3.make("core/environment"),
42
42
  codec: Schema.toCodecJson(Schema.String),
43
43
  read: Effect.sync(() => [
@@ -60,6 +60,6 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
60
60
  ]))
61
61
  });
62
62
  }));
63
- var node32 = makeLocationNode({ service: Service28, layer, deps: [Global.node, node86] });
63
+ var node33 = makeLocationNode({ service: Service30, layer, deps: [Global.node, node81] });
64
64
 
65
- export { Service28, node32, exports_builtins };
65
+ export { Service30, node33, exports_builtins };
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  Key3,
3
3
  removed2,
4
- make20,
4
+ make19,
5
5
  diffByKey2
6
- } from "./state-e5dqjz6v.js";
6
+ } from "./ripgrep-jchrqzf6.js";
7
7
  import {
8
8
  evaluate2
9
- } from "./state-jgdcf8mk.js";
9
+ } from "./ripgrep-2553426h.js";
10
10
  import {
11
- Service35,
12
- node38
13
- } from "./state-2128mz7a.js";
11
+ Service26,
12
+ node29
13
+ } from "./ripgrep-a8m490ta.js";
14
14
  import {
15
15
  namespace2,
16
- name15
17
- } from "./state-7b2q1d31.js";
16
+ name14
17
+ } from "./ripgrep-sgywbgaj.js";
18
18
  import {
19
19
  __export
20
- } from "./state-9rqn6x4v.js";
20
+ } from "./ripgrep-9rqn6x4v.js";
21
21
 
22
22
  // src/mcp/instructions.ts
23
- var exports_instructions2 = {};
24
- __export(exports_instructions2, {
25
- McpInstructions: () => exports_instructions2,
26
- Service: () => Service27,
27
- layer: () => layer12,
28
- node: () => node31
23
+ var exports_instructions4 = {};
24
+ __export(exports_instructions4, {
25
+ McpInstructions: () => exports_instructions4,
26
+ Service: () => Service23,
27
+ layer: () => layer11,
28
+ node: () => node26
29
29
  });
30
30
  import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import { Context, Effect, Layer, Schema } from "effect";
@@ -65,13 +65,13 @@ var update = (previous, current) => {
65
65
  `);
66
66
  };
67
67
 
68
- class Service27 extends Context.Service()("@opencode/McpInstructions") {
68
+ class Service23 extends Context.Service()("@opencode/McpInstructions") {
69
69
  }
70
- var layer12 = Layer.effect(Service27, Effect.gen(function* () {
71
- const mcp = yield* Service35;
72
- return Service27.of({
70
+ var layer11 = Layer.effect(Service23, Effect.gen(function* () {
71
+ const mcp = yield* Service26;
72
+ return Service23.of({
73
73
  load: Effect.fn("McpInstructions.load")(function* (permissions) {
74
- const source = (value) => make20({
74
+ const source = (value) => make19({
75
75
  key: Key3.make("core/mcp-guidance"),
76
76
  codec: Schema.toCodecJson(Schema.Array(Summary)),
77
77
  read: Effect.succeed(value),
@@ -90,7 +90,7 @@ var layer12 = Layer.effect(Service27, Effect.gen(function* () {
90
90
  const codemode = owned[0]?.codemode !== false;
91
91
  if (codemode && !canExecute)
92
92
  return [];
93
- if (!owned.some((tool) => evaluate2(name15(tool.server, tool.name), "*", permissions).effect !== "deny"))
93
+ if (!owned.some((tool) => evaluate2(name14(tool.server, tool.name), "*", permissions).effect !== "deny"))
94
94
  return [];
95
95
  return [
96
96
  codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
@@ -100,6 +100,6 @@ var layer12 = Layer.effect(Service27, Effect.gen(function* () {
100
100
  })
101
101
  });
102
102
  }));
103
- var node31 = makeLocationNode({ service: Service27, layer: layer12, deps: [node38] });
103
+ var node26 = makeLocationNode({ service: Service23, layer: layer11, deps: [node29] });
104
104
 
105
- export { Service27, layer12, node31, exports_instructions2 };
105
+ export { Service23, layer11, node26, exports_instructions4 };