@opencode/core 0.0.0-dev-20728 → 0.0.0-dev-20731

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 (780) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +84 -84
  3. package/dist/aisdk-native.js +90 -90
  4. package/dist/aisdk.js +95 -95
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +74 -74
  7. package/dist/chunks/{schema-daptfcmc.js → state-08jsyhgk.js} +22 -22
  8. package/dist/chunks/{schema-hk2k4rxs.js → state-09sqteag.js} +1 -1
  9. package/dist/chunks/{schema-174q612y.js → state-0j8txdm0.js} +3 -3
  10. package/dist/chunks/{schema-0paq2nw3.js → state-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{schema-qne3fa44.js → state-0r3c1bmw.js} +5 -5
  12. package/dist/chunks/{schema-5byh5fbq.js → state-0s32db7e.js} +15 -15
  13. package/dist/chunks/{schema-0vbcp93d.js → state-0vbcp93d.js} +2 -2
  14. package/dist/chunks/{schema-b7j864yj.js → state-0zaydvkv.js} +32 -32
  15. package/dist/chunks/{schema-xgwtbm8x.js → state-101fvt1n.js} +93 -93
  16. package/dist/chunks/{schema-wgqbq6kr.js → state-10rnhjad.js} +11 -11
  17. package/dist/chunks/{schema-snvwhan6.js → state-138h01qe.js} +7 -7
  18. package/dist/chunks/{schema-sr36t4tg.js → state-1a37t69z.js} +10 -10
  19. package/dist/chunks/{schema-erjffywh.js → state-1b60b23y.js} +18 -18
  20. package/dist/chunks/{schema-1dazxqgg.js → state-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{schema-84h8c373.js → state-1dvck2a7.js} +2 -2
  22. package/dist/chunks/{schema-j9hprypc.js → state-1epzdntc.js} +11 -11
  23. package/dist/chunks/{schema-zf5859yh.js → state-1h0krj6g.js} +33 -33
  24. package/dist/chunks/{schema-6yz0wx8n.js → state-1pxz8ven.js} +5 -5
  25. package/dist/chunks/{schema-0kjv6zqm.js → state-1q8nfdb4.js} +3 -3
  26. package/dist/chunks/{schema-x16rpnsn.js → state-1qbad211.js} +8 -8
  27. package/dist/chunks/{schema-1ygqh575.js → state-1ygqh575.js} +2 -2
  28. package/dist/chunks/{schema-ft5semx5.js → state-21qrczcf.js} +24 -24
  29. package/dist/chunks/{schema-8xpvx0xf.js → state-24dsd3mh.js} +33 -33
  30. package/dist/chunks/{schema-0y5bnsvv.js → state-25qfk6yg.js} +15 -15
  31. package/dist/chunks/{schema-2a5m3afh.js → state-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{schema-vqfzq50h.js → state-2a6rn6yr.js} +6 -6
  33. package/dist/chunks/{schema-z7rpvhac.js → state-2kngz1a4.js} +11 -11
  34. package/dist/chunks/{schema-qj7nrkn4.js → state-2rc505e3.js} +20 -20
  35. package/dist/chunks/{schema-dh0webm5.js → state-2rnwhwfa.js} +11 -11
  36. package/dist/chunks/{schema-kxhhe7ks.js → state-2s897vgp.js} +13 -13
  37. package/dist/chunks/{schema-e9w2ffer.js → state-2t7sqs4y.js} +12 -12
  38. package/dist/chunks/{schema-7vyzxw8y.js → state-2z3n0s1m.js} +11 -11
  39. package/dist/chunks/{schema-fg6c7q2e.js → state-3eb2wybh.js} +11 -11
  40. package/dist/chunks/{schema-3fc6dm20.js → state-3fc6dm20.js} +1 -1
  41. package/dist/chunks/{schema-hvfbn6et.js → state-3gccgfaf.js} +4 -4
  42. package/dist/chunks/{schema-3hepkmqq.js → state-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{schema-6gvr7rcm.js → state-3jms3t4n.js} +74 -74
  44. package/dist/chunks/{schema-qp9vg2jq.js → state-3nz0bd4c.js} +2 -2
  45. package/dist/chunks/{schema-3smtnn6g.js → state-3smtnn6g.js} +1 -1
  46. package/dist/chunks/{schema-3tvqynh2.js → state-3tvqynh2.js} +1 -1
  47. package/dist/chunks/{schema-zn1w914b.js → state-3w2eqbz4.js} +13 -13
  48. package/dist/chunks/{schema-g5x9spb3.js → state-3yjxx9cb.js} +13 -13
  49. package/dist/chunks/{schema-3zsf4n22.js → state-3zsf4n22.js} +1 -1
  50. package/dist/chunks/{schema-2s47eas1.js → state-40rcjy03.js} +36 -36
  51. package/dist/chunks/{schema-n4pjvd7j.js → state-41kmeemt.js} +9 -9
  52. package/dist/chunks/{schema-04ct73zt.js → state-427fgkyx.js} +18 -18
  53. package/dist/chunks/{schema-yd8mzne0.js → state-4dy7nfnb.js} +36 -36
  54. package/dist/chunks/{schema-4z58m4b4.js → state-4j4tgtq5.js} +4 -4
  55. package/dist/chunks/{schema-g46t4tqm.js → state-4m5yfwrs.js} +12 -12
  56. package/dist/chunks/{schema-fhz5gfgy.js → state-4n607a2z.js} +5 -5
  57. package/dist/chunks/{schema-5epte933.js → state-4pa8nav4.js} +3 -3
  58. package/dist/chunks/{schema-2ccvkpx1.js → state-4ts7tf6z.js} +2 -2
  59. package/dist/chunks/{schema-r71qq8yj.js → state-4xpke3ff.js} +15 -15
  60. package/dist/chunks/{schema-thswf6hg.js → state-4yhfmhtq.js} +38 -38
  61. package/dist/chunks/{schema-78tqvked.js → state-52gbbbb2.js} +36 -36
  62. package/dist/chunks/{schema-r94pvvab.js → state-54ma36ye.js} +4 -4
  63. package/dist/chunks/{schema-3chxap05.js → state-54z56z4r.js} +8 -8
  64. package/dist/chunks/{schema-xmgjmham.js → state-551azpvx.js} +24 -24
  65. package/dist/chunks/{schema-hd4remjx.js → state-55ehdx5d.js} +20 -20
  66. package/dist/chunks/{schema-fjb6gf5c.js → state-5gt3f0n7.js} +35 -35
  67. package/dist/chunks/{schema-b4sr5cxy.js → state-5h69wz8x.js} +4 -4
  68. package/dist/chunks/{schema-bghdypt9.js → state-5k5r4c8x.js} +11 -11
  69. package/dist/chunks/{schema-5m9w47nd.js → state-5m9w47nd.js} +1 -1
  70. package/dist/chunks/{schema-e3qxr5gk.js → state-5qd3pb7m.js} +2 -2
  71. package/dist/chunks/{schema-5t3nmthw.js → state-5t3nmthw.js} +2 -2
  72. package/dist/chunks/{schema-6zaqt7dr.js → state-5w4b35rv.js} +9 -9
  73. package/dist/chunks/{schema-ymaah0de.js → state-5y60f30r.js} +29 -29
  74. package/dist/chunks/{schema-5yzzbxa7.js → state-5yzzbxa7.js} +1 -1
  75. package/dist/chunks/{schema-qcy2fs5h.js → state-5zqdgy8b.js} +27 -27
  76. package/dist/chunks/{schema-ca5q3sa4.js → state-611ehfjv.js} +6 -6
  77. package/dist/chunks/{schema-02g264nc.js → state-62k0yxbf.js} +16 -16
  78. package/dist/chunks/{schema-1v4g0mnm.js → state-67yqhhje.js} +20 -20
  79. package/dist/chunks/{schema-pxcy2v4k.js → state-686nxd57.js} +6 -6
  80. package/dist/chunks/{schema-4n4r02ph.js → state-6bjn4za1.js} +23 -23
  81. package/dist/chunks/{schema-3v4eqn68.js → state-6cpepfj3.js} +18 -18
  82. package/dist/chunks/{schema-8zv3wp18.js → state-6fhb81wd.js} +19 -19
  83. package/dist/chunks/{schema-4erjtqpw.js → state-6pygarpm.js} +3 -3
  84. package/dist/chunks/{schema-8jzt4s7q.js → state-6rhevr55.js} +43 -43
  85. package/dist/chunks/{schema-6xb47vfp.js → state-6xb47vfp.js} +1 -1
  86. package/dist/chunks/{schema-f75zav2x.js → state-71az546q.js} +2 -2
  87. package/dist/chunks/{schema-z208n99h.js → state-77f8qgj3.js} +13 -13
  88. package/dist/chunks/{schema-7bmhse3q.js → state-7bmhse3q.js} +1 -1
  89. package/dist/chunks/{schema-fcrkznn8.js → state-7dqw4kz8.js} +5 -5
  90. package/dist/chunks/{schema-npa44ypb.js → state-7j27yge6.js} +23 -23
  91. package/dist/chunks/{schema-jtr36q24.js → state-7jy1nsxc.js} +13 -13
  92. package/dist/chunks/{schema-hdnjgwej.js → state-7pg6bb3s.js} +27 -27
  93. package/dist/chunks/{schema-7bda4q4e.js → state-7q0e42ms.js} +6 -6
  94. package/dist/chunks/{schema-t0ghfsqf.js → state-7rghpwat.js} +35 -35
  95. package/dist/chunks/{schema-21wwxtv3.js → state-7st03jgk.js} +19 -19
  96. package/dist/chunks/{schema-69ct9x9k.js → state-7x6rk6r1.js} +12 -12
  97. package/dist/chunks/{schema-cznmaky0.js → state-80jhpvy9.js} +30 -30
  98. package/dist/chunks/{schema-84txncab.js → state-84txncab.js} +1 -1
  99. package/dist/chunks/{schema-sxmar18p.js → state-89zyxthc.js} +19 -19
  100. package/dist/chunks/{schema-8d7r5vzw.js → state-8d7r5vzw.js} +1 -1
  101. package/dist/chunks/{schema-kr1ymz84.js → state-8hrcrd79.js} +29 -29
  102. package/dist/chunks/{schema-gaphvq12.js → state-8hts1srz.js} +8 -8
  103. package/dist/chunks/{schema-8m6m0r52.js → state-8m6m0r52.js} +1 -1
  104. package/dist/chunks/{schema-kwa05qgn.js → state-8mps3fwf.js} +16 -16
  105. package/dist/chunks/{schema-xzgm84yq.js → state-9031p0b2.js} +5 -5
  106. package/dist/chunks/{schema-kt27ghqn.js → state-918mtgee.js} +5 -5
  107. package/dist/chunks/{schema-xm8y3y9s.js → state-9dgxaq8y.js} +19 -19
  108. package/dist/chunks/{schema-kb9j3d72.js → state-9e5bzkjp.js} +3 -3
  109. package/dist/chunks/{schema-2b5wyz52.js → state-9kg8hsmm.js} +11 -11
  110. package/dist/chunks/{schema-rewxngkf.js → state-9n6qg2a9.js} +32 -32
  111. package/dist/chunks/{schema-cb8p393h.js → state-9qk2kwmb.js} +16 -16
  112. package/dist/chunks/{schema-ajbv8hsx.js → state-9ywvhnd6.js} +18 -18
  113. package/dist/chunks/{schema-a1gpj94z.js → state-a1gpj94z.js} +1 -1
  114. package/dist/chunks/{schema-vsp1fds9.js → state-a8bn8zg0.js} +21 -21
  115. package/dist/chunks/{schema-aaet6srn.js → state-aaet6srn.js} +2 -2
  116. package/dist/chunks/{schema-ka78afm3.js → state-ad6fy242.js} +7 -7
  117. package/dist/chunks/{schema-vykevjvn.js → state-aeb4sny1.js} +5 -5
  118. package/dist/chunks/{schema-n7p1k2qf.js → state-aeggwfyx.js} +7 -7
  119. package/dist/chunks/{schema-ywmq76e1.js → state-ajhnm1zb.js} +25 -25
  120. package/dist/chunks/{schema-ma3d88bb.js → state-b0rb4zb4.js} +32 -32
  121. package/dist/chunks/{schema-yh1w7tjp.js → state-b434f0z0.js} +9 -9
  122. package/dist/chunks/{schema-b6gygkdw.js → state-b6gygkdw.js} +2 -2
  123. package/dist/chunks/{schema-efxe2svv.js → state-bdpzzc2x.js} +11 -11
  124. package/dist/chunks/{schema-b703kh14.js → state-bgecxp98.js} +4 -4
  125. package/dist/chunks/{schema-k1gkpfdk.js → state-bnmr3cva.js} +8 -8
  126. package/dist/chunks/{schema-abtvfq1n.js → state-bx25mqzy.js} +27 -27
  127. package/dist/chunks/state-by5v678g.js +18 -0
  128. package/dist/chunks/{schema-eayw6x4j.js → state-c6b7y4z0.js} +3 -3
  129. package/dist/chunks/{schema-9795rgjt.js → state-c6dd62wt.js} +4 -4
  130. package/dist/chunks/{schema-crh2qmpd.js → state-cb71px6m.js} +11 -11
  131. package/dist/chunks/{schema-t5r5qq5q.js → state-cfcvtgjj.js} +25 -25
  132. package/dist/chunks/{schema-vfynekpt.js → state-cs141p16.js} +26 -26
  133. package/dist/chunks/{schema-s0y0yn56.js → state-d7gb4geb.js} +8 -8
  134. package/dist/chunks/{schema-kb6gw2zp.js → state-d9sgy5v4.js} +4 -4
  135. package/dist/chunks/{schema-v2m3q5y9.js → state-dabehbb6.js} +7 -7
  136. package/dist/chunks/{schema-yv6pefj2.js → state-dmw4vz70.js} +17 -17
  137. package/dist/chunks/{schema-zs6nm7rs.js → state-dn6t15nt.js} +8 -8
  138. package/dist/chunks/{schema-dpkg50ah.js → state-dpkg50ah.js} +1 -1
  139. package/dist/chunks/{schema-5vnqvhdy.js → state-dqv4y3rf.js} +47 -47
  140. package/dist/chunks/{schema-g2y161wv.js → state-dy8qh9xy.js} +8 -8
  141. package/dist/chunks/{schema-rjjkcyvm.js → state-e4atdt0t.js} +48 -48
  142. package/dist/chunks/{schema-y415rrbf.js → state-edpay1ac.js} +35 -35
  143. package/dist/chunks/{schema-ef5x83kb.js → state-ef5x83kb.js} +1 -1
  144. package/dist/chunks/{schema-y10cx7wx.js → state-ejxk0zy2.js} +25 -25
  145. package/dist/chunks/{schema-etq0c3wd.js → state-etq0c3wd.js} +1 -1
  146. package/dist/chunks/{schema-vr3aek46.js → state-f42t7e33.js} +25 -25
  147. package/dist/chunks/{schema-m3t9151j.js → state-f7ge0a8n.js} +45 -45
  148. package/dist/chunks/{schema-a2ew8a62.js → state-fdv30zvt.js} +7 -7
  149. package/dist/chunks/{schema-4922bdcs.js → state-fhb2dsjj.js} +28 -28
  150. package/dist/chunks/{schema-kvjzkr2v.js → state-fmcqyzhx.js} +9 -9
  151. package/dist/chunks/{schema-460nts6z.js → state-ft8vrdb0.js} +28 -28
  152. package/dist/chunks/{schema-4qh5k59y.js → state-fw6msab2.js} +13 -13
  153. package/dist/chunks/{schema-4vpz4hmt.js → state-fzm7tejx.js} +12 -12
  154. package/dist/chunks/{schema-gd4qta3r.js → state-gd4qta3r.js} +1 -1
  155. package/dist/chunks/{schema-n8sna2wb.js → state-gh5z95q3.js} +9 -9
  156. package/dist/chunks/{schema-addxnjmp.js → state-gqtdsdt7.js} +4 -4
  157. package/dist/chunks/{schema-93qeztph.js → state-gs1dqwms.js} +24 -24
  158. package/dist/chunks/{schema-3cegwx68.js → state-h2b79v29.js} +2 -2
  159. package/dist/chunks/{schema-0ce7fh3z.js → state-h3pfkhmz.js} +13 -13
  160. package/dist/chunks/{schema-bn3rhc52.js → state-h4ckqw4f.js} +11 -11
  161. package/dist/chunks/{schema-qr2c2ezf.js → state-h6h410qg.js} +61 -61
  162. package/dist/chunks/{schema-h6vf3j39.js → state-h6vf3j39.js} +1 -1
  163. package/dist/chunks/{schema-tdhpy44v.js → state-h78379q5.js} +46 -46
  164. package/dist/chunks/{schema-ytk7n60r.js → state-hs3zg9hx.js} +27 -27
  165. package/dist/chunks/{schema-8byxt7bq.js → state-hv684ge7.js} +184 -184
  166. package/dist/chunks/{schema-jn24yy65.js → state-hw2pxhp3.js} +98 -98
  167. package/dist/chunks/{schema-a3c7ahw6.js → state-j34bs4nz.js} +4 -4
  168. package/dist/chunks/{schema-j56e64zr.js → state-j56e64zr.js} +1 -1
  169. package/dist/chunks/{schema-0dqvt60g.js → state-jf701akp.js} +5 -5
  170. package/dist/chunks/{schema-0t9wd588.js → state-jn0tk1mz.js} +8 -8
  171. package/dist/chunks/{schema-bskqsgt5.js → state-jnz95558.js} +17 -17
  172. package/dist/chunks/{schema-bahvtqv2.js → state-jwpv483e.js} +18 -18
  173. package/dist/chunks/{schema-gva94evv.js → state-jwygkmfq.js} +9 -9
  174. package/dist/chunks/{schema-eday4pdr.js → state-k1qsfy5p.js} +35 -35
  175. package/dist/chunks/{schema-m87mmgzw.js → state-k99mds86.js} +36 -36
  176. package/dist/chunks/{schema-rrpq0de9.js → state-k9t3kwqs.js} +12 -12
  177. package/dist/chunks/{schema-840fpbhq.js → state-kaywwrt1.js} +5 -5
  178. package/dist/chunks/{schema-7dcnqvbr.js → state-kkqpbp86.js} +44 -35
  179. package/dist/chunks/{schema-h74kgs22.js → state-kmb6d1dy.js} +28 -28
  180. package/dist/chunks/{schema-pm2wwawt.js → state-kss966qf.js} +24 -24
  181. package/dist/chunks/{schema-6gkjayg0.js → state-ktay9hq4.js} +11 -11
  182. package/dist/chunks/{schema-45y05w21.js → state-m2pfdawv.js} +4 -4
  183. package/dist/chunks/{schema-m3fdjcah.js → state-m3fdjcah.js} +1 -1
  184. package/dist/chunks/{schema-2zds0nxm.js → state-m4g7grr3.js} +24 -24
  185. package/dist/chunks/{schema-7vayj4m5.js → state-m8b1hsph.js} +10 -10
  186. package/dist/chunks/{schema-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
  187. package/dist/chunks/{schema-4zmcj57q.js → state-mak85ys1.js} +15 -15
  188. package/dist/chunks/{schema-skeejxkf.js → state-maw79xe3.js} +11 -11
  189. package/dist/chunks/{schema-9ja4ygxc.js → state-mcqz5t5c.js} +21 -21
  190. package/dist/chunks/{schema-a1jye2k7.js → state-mhrgq2e3.js} +8 -8
  191. package/dist/chunks/{schema-28qgffdg.js → state-mhz4gg3p.js} +21 -21
  192. package/dist/chunks/{schema-xea99qfv.js → state-ms5r0hkh.js} +49 -49
  193. package/dist/chunks/{schema-rp4sdv0x.js → state-mthfcyeq.js} +11 -11
  194. package/dist/chunks/{schema-j1fsx5qw.js → state-mwh5sg7p.js} +40 -40
  195. package/dist/chunks/{schema-9c0xcsgg.js → state-mwnn09ds.js} +20 -20
  196. package/dist/chunks/{schema-2hmemtj6.js → state-myr8fe9c.js} +3 -3
  197. package/dist/chunks/{schema-47rn6gb0.js → state-mzc2a39c.js} +9 -9
  198. package/dist/chunks/{schema-pneb2gse.js → state-mzwaxmr6.js} +3 -3
  199. package/dist/chunks/{schema-6yk1gpns.js → state-n3ky4ns8.js} +2 -2
  200. package/dist/chunks/{schema-tjtvkmkx.js → state-nb795v0v.js} +5 -5
  201. package/dist/chunks/{schema-dh3p6hwj.js → state-nc7he5v1.js} +27 -27
  202. package/dist/chunks/{schema-ppv2hyee.js → state-nv5wzee9.js} +11 -11
  203. package/dist/chunks/{schema-3k6hnjpv.js → state-nvdmc63m.js} +323 -323
  204. package/dist/chunks/{schema-p8s02wn2.js → state-p66jwzje.js} +12 -12
  205. package/dist/chunks/{schema-wy3px6vj.js → state-pb9tkzd3.js} +24 -24
  206. package/dist/chunks/{schema-rj8ch5sw.js → state-pgz7mtdk.js} +10 -10
  207. package/dist/chunks/{schema-pjvnvgmy.js → state-pjvnvgmy.js} +1 -1
  208. package/dist/chunks/{schema-pknna89w.js → state-pknna89w.js} +1 -1
  209. package/dist/chunks/{schema-ykt494b9.js → state-pkqb68ka.js} +4 -4
  210. package/dist/chunks/{schema-r9w3djhf.js → state-prq7hedt.js} +9 -9
  211. package/dist/chunks/{schema-0j77ygfz.js → state-q0xm7vwc.js} +6 -6
  212. package/dist/chunks/{schema-pdeqb1sv.js → state-q41dffrp.js} +11 -11
  213. package/dist/chunks/{schema-zs20n4td.js → state-q5gkxxjb.js} +33 -33
  214. package/dist/chunks/{schema-jta96yax.js → state-q8bdncf5.js} +9 -9
  215. package/dist/chunks/{schema-5xtbbr0r.js → state-qcq5ks5d.js} +21 -21
  216. package/dist/chunks/{schema-aw65rq9m.js → state-qf4tt5n8.js} +5 -5
  217. package/dist/chunks/{schema-f9bf6ave.js → state-qfqe7b7s.js} +13 -13
  218. package/dist/chunks/{schema-24xn4nrh.js → state-qh28zxsx.js} +32 -32
  219. package/dist/chunks/state-qk8sy7r3.js +253 -0
  220. package/dist/chunks/{schema-cwa6csj7.js → state-qmqgtz8f.js} +9 -9
  221. package/dist/chunks/{schema-qnc92qwc.js → state-qnc92qwc.js} +1 -1
  222. package/dist/chunks/{schema-qsdy395h.js → state-qsdy395h.js} +1 -1
  223. package/dist/chunks/{schema-qxjc9qry.js → state-qxjc9qry.js} +3 -3
  224. package/dist/chunks/{schema-tjpmwyed.js → state-r3v0c7hy.js} +5 -5
  225. package/dist/chunks/{schema-4xr8m0aa.js → state-r8wc69dc.js} +21 -21
  226. package/dist/chunks/{schema-yp2x3t23.js → state-r8xr0va3.js} +4 -4
  227. package/dist/chunks/{schema-rdw6cm16.js → state-rdw6cm16.js} +1 -1
  228. package/dist/chunks/{schema-0enxvnkq.js → state-rg29w5sg.js} +12 -12
  229. package/dist/chunks/{schema-kt83d922.js → state-rhgq3aa6.js} +22 -22
  230. package/dist/chunks/{schema-w9cms8xc.js → state-rkkgxmw8.js} +5 -5
  231. package/dist/chunks/{schema-989f601q.js → state-ryg7eh2t.js} +18 -18
  232. package/dist/chunks/{schema-wdfmv1rt.js → state-s4e19jsk.js} +43 -43
  233. package/dist/chunks/{schema-scgrse2b.js → state-scgrse2b.js} +2 -2
  234. package/dist/chunks/{schema-nh510fz3.js → state-sny9w75j.js} +26 -26
  235. package/dist/chunks/{schema-k60d36ch.js → state-srp51ndr.js} +20 -20
  236. package/dist/chunks/{schema-jsczegrp.js → state-t2t1t50a.js} +16 -16
  237. package/dist/chunks/{schema-erbnzk8y.js → state-t5131vnj.js} +40 -40
  238. package/dist/chunks/{schema-5gh2y96e.js → state-t7v34wze.js} +8 -8
  239. package/dist/chunks/{schema-tazgh4e4.js → state-tazgh4e4.js} +1 -1
  240. package/dist/chunks/{schema-nvmy2keh.js → state-tb07zrhn.js} +4 -4
  241. package/dist/chunks/{schema-tcezcvh9.js → state-tcezcvh9.js} +1 -1
  242. package/dist/chunks/{schema-tdstcens.js → state-tdstcens.js} +1 -1
  243. package/dist/chunks/{schema-80gr5d03.js → state-tf2qcnq5.js} +11 -11
  244. package/dist/chunks/{schema-v0es1rhs.js → state-tg7bkhef.js} +7 -7
  245. package/dist/chunks/{schema-vbfgae2j.js → state-tjedn1bk.js} +4 -4
  246. package/dist/chunks/{schema-rczq51rp.js → state-tprb9ykm.js} +8 -8
  247. package/dist/chunks/{schema-w92k2e0p.js → state-ts23464c.js} +6 -6
  248. package/dist/chunks/{schema-0ps91a7a.js → state-vccqm5x4.js} +23 -23
  249. package/dist/chunks/{schema-veqvce7d.js → state-veqvce7d.js} +1 -1
  250. package/dist/chunks/{schema-eqv7r0bw.js → state-vfnexndp.js} +6 -6
  251. package/dist/chunks/{schema-y70rs0tm.js → state-vjps42b3.js} +34 -34
  252. package/dist/chunks/{schema-82kvrph2.js → state-vyb30c2y.js} +18 -18
  253. package/dist/chunks/{schema-vzs5sf6e.js → state-vzs5sf6e.js} +1 -1
  254. package/dist/chunks/{schema-57b9ws8p.js → state-w19d8598.js} +4 -4
  255. package/dist/chunks/{schema-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{schema-hgtd7sxh.js → state-w9f5rn9p.js} +11 -11
  257. package/dist/chunks/{schema-n5jf03an.js → state-wcnv1p8x.js} +11 -11
  258. package/dist/chunks/{schema-wd87259q.js → state-wd87259q.js} +1 -1
  259. package/dist/chunks/{schema-vqbxe4wk.js → state-wm8vp7b3.js} +16 -16
  260. package/dist/chunks/{schema-f06qsttd.js → state-wrvjmzy4.js} +54 -54
  261. package/dist/chunks/{schema-9t7a50xb.js → state-wv396vej.js} +6 -6
  262. package/dist/chunks/{schema-yp66jxhs.js → state-wxgmpaes.js} +11 -11
  263. package/dist/chunks/{schema-7yymr8c1.js → state-x62cppxn.js} +18 -18
  264. package/dist/chunks/{schema-mz7wxez8.js → state-x944hqgj.js} +24 -24
  265. package/dist/chunks/{schema-9adgdhyd.js → state-xg26vyyk.js} +4 -4
  266. package/dist/chunks/{schema-xkntkrq7.js → state-xkntkrq7.js} +2 -2
  267. package/dist/chunks/{schema-gd0tnyjc.js → state-xt4njr3s.js} +1 -1
  268. package/dist/chunks/{schema-jgjgcm7r.js → state-y0rd6mpg.js} +4 -4
  269. package/dist/chunks/{schema-y1fvbwt7.js → state-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{schema-1wn14s7w.js → state-y7hh2tp0.js} +24 -24
  271. package/dist/chunks/{schema-xr03j6kv.js → state-y88q4kk1.js} +49 -49
  272. package/dist/chunks/{schema-k5mqd01k.js → state-y9v55n8z.js} +10 -10
  273. package/dist/chunks/{schema-sfwz2x9n.js → state-yfng7xhx.js} +62 -62
  274. package/dist/chunks/{schema-ew7x097j.js → state-ykd4jxva.js} +33 -33
  275. package/dist/chunks/{schema-9yrh9n06.js → state-yndsvvt3.js} +1 -1
  276. package/dist/chunks/{schema-bv9672m4.js → state-yss3y4q1.js} +13 -13
  277. package/dist/chunks/{schema-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{schema-t58jyhmh.js → state-z2btvd3q.js} +9 -9
  279. package/dist/chunks/{schema-2663q2cr.js → state-zh56ev1t.js} +17 -17
  280. package/dist/chunks/{schema-zr2ceqn5.js → state-zr2ceqn5.js} +1 -1
  281. package/dist/chunks/{schema-hn57h045.js → state-zvt5dnpc.js} +4 -4
  282. package/dist/chunks/{schema-rwv28x5t.js → state-zw11p4sz.js} +5 -5
  283. package/dist/chunks/{schema-zxq2ej10.js → state-zxq2ej10.js} +1 -1
  284. package/dist/chunks/{schema-mhrxr73y.js → state-zz0gef9f.js} +17 -17
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +7 -7
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +86 -86
  290. package/dist/config/discovery.js +83 -83
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +100 -100
  293. package/dist/config/plugin/agent.js +117 -117
  294. package/dist/config/plugin/command.js +206 -206
  295. package/dist/config/plugin/compaction.js +155 -155
  296. package/dist/config/plugin/compatibility.js +135 -135
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +116 -116
  299. package/dist/config/plugin/image.js +115 -115
  300. package/dist/config/plugin/instruction.js +91 -91
  301. package/dist/config/plugin/location-watcher.js +117 -117
  302. package/dist/config/plugin/mcp.js +124 -124
  303. package/dist/config/plugin/policy.js +118 -118
  304. package/dist/config/plugin/provider.js +117 -117
  305. package/dist/config/plugin/reference.js +119 -119
  306. package/dist/config/plugin/shell.js +117 -117
  307. package/dist/config/plugin/skill-file.js +103 -103
  308. package/dist/config/plugin/skill.js +136 -136
  309. package/dist/config/plugin/snapshot.js +117 -117
  310. package/dist/config/plugin/source.js +120 -120
  311. package/dist/config/plugin/tool-output.js +118 -118
  312. package/dist/config/plugin/websearch.js +116 -116
  313. package/dist/config/plugin/worktree.js +117 -117
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +122 -122
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +86 -86
  319. package/dist/database/database.js +71 -71
  320. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +13 -13
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +14 -14
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  385. package/dist/database/migration.gen.js +50 -50
  386. package/dist/database/migration.js +52 -52
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +80 -80
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +364 -364
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +1 -1
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +94 -94
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +94 -94
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +1 -1
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +75 -75
  410. package/dist/file-access.js +105 -105
  411. package/dist/file-mutation.js +95 -95
  412. package/dist/file-retention.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +219 -219
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +104 -104
  421. package/dist/filesystem/watcher-binding.js +3 -3
  422. package/dist/filesystem/watcher.js +15 -15
  423. package/dist/filesystem.js +107 -107
  424. package/dist/form.js +87 -87
  425. package/dist/formatter/builtins.js +2 -2
  426. package/dist/formatter.js +88 -88
  427. package/dist/generate.js +104 -104
  428. package/dist/git.js +10 -10
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +92 -92
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/image/photon.js +2 -2
  449. package/dist/image.js +6 -6
  450. package/dist/instance/service.js +5 -5
  451. package/dist/instance.js +355 -355
  452. package/dist/instruction-discovery.js +86 -86
  453. package/dist/instructions/builtins.js +88 -88
  454. package/dist/instructions/index.js +3 -3
  455. package/dist/integration/connection.js +3 -3
  456. package/dist/integration.js +88 -88
  457. package/dist/job.js +79 -79
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +74 -74
  460. package/dist/location-activity.js +135 -135
  461. package/dist/location-lifecycle.js +108 -108
  462. package/dist/location-service-map.js +87 -87
  463. package/dist/location-services.js +352 -352
  464. package/dist/location.js +88 -88
  465. package/dist/managed-policy.js +8 -8
  466. package/dist/mcp/client.js +92 -92
  467. package/dist/mcp/index.js +110 -110
  468. package/dist/mcp/instructions.js +130 -130
  469. package/dist/mcp/oauth.js +79 -79
  470. package/dist/mcp/stdio.js +91 -91
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +92 -92
  473. package/dist/model-resolver.js +99 -99
  474. package/dist/model.js +101 -101
  475. package/dist/models-dev.js +102 -102
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +81 -81
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +118 -118
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +87 -87
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +76 -76
  485. package/dist/plugin/agent.js +75 -75
  486. package/dist/plugin/command.js +101 -101
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +212 -212
  489. package/dist/plugin/identity.js +3 -3
  490. package/dist/plugin/instance.js +1 -1
  491. package/dist/plugin/internal.js +327 -327
  492. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  493. package/dist/plugin/models-dev.js +97 -97
  494. package/dist/plugin/module.js +116 -116
  495. package/dist/plugin/optimize.js +4 -4
  496. package/dist/plugin/plan.js +103 -103
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/amazon-bedrock.js +91 -91
  499. package/dist/plugin/provider/azure.js +118 -118
  500. package/dist/plugin/provider/cerebras.js +1 -1
  501. package/dist/plugin/provider/chatgpt.js +95 -95
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +113 -113
  506. package/dist/plugin/provider/digitalocean.js +94 -94
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/github-copilot.js +96 -96
  510. package/dist/plugin/provider/gitlab.js +94 -94
  511. package/dist/plugin/provider/google-vertex.js +91 -91
  512. package/dist/plugin/provider/kilo.js +1 -1
  513. package/dist/plugin/provider/llmgateway.js +79 -79
  514. package/dist/plugin/provider/lmstudio.js +117 -117
  515. package/dist/plugin/provider/local.js +114 -114
  516. package/dist/plugin/provider/modal.js +93 -93
  517. package/dist/plugin/provider/nvidia.js +1 -1
  518. package/dist/plugin/provider/ollama.js +117 -117
  519. package/dist/plugin/provider/openai.js +96 -96
  520. package/dist/plugin/provider/opencode.js +98 -98
  521. package/dist/plugin/provider/openrouter.js +92 -92
  522. package/dist/plugin/provider/perplexity.js +2 -2
  523. package/dist/plugin/provider/poe.js +80 -80
  524. package/dist/plugin/provider/prompt-cache-key.js +91 -91
  525. package/dist/plugin/provider/sap-ai-core.js +92 -92
  526. package/dist/plugin/provider/sdk-factory.js +1 -1
  527. package/dist/plugin/provider/snowflake-cortex.js +116 -116
  528. package/dist/plugin/provider/vercel.js +91 -91
  529. package/dist/plugin/provider/vllm.js +117 -117
  530. package/dist/plugin/provider/xai.js +92 -92
  531. package/dist/plugin/provider/zenmux.js +1 -1
  532. package/dist/plugin/provider.js +157 -157
  533. package/dist/plugin/sdk.js +75 -75
  534. package/dist/plugin/service.js +3 -3
  535. package/dist/plugin/skill.js +133 -133
  536. package/dist/plugin/source-directory.js +1 -1
  537. package/dist/plugin/supervisor.js +342 -342
  538. package/dist/plugin/tool-input-repair.js +4 -4
  539. package/dist/plugin/update.js +6 -6
  540. package/dist/plugin/vcs/git.js +87 -87
  541. package/dist/plugin/vcs/hg.js +87 -87
  542. package/dist/plugin/verbosity.js +94 -94
  543. package/dist/plugin/warming.js +115 -115
  544. package/dist/plugin/websearch/exa.js +7 -7
  545. package/dist/plugin/websearch/firecrawl.js +6 -6
  546. package/dist/plugin/websearch/index.js +9 -9
  547. package/dist/plugin/websearch/mcp.js +2 -2
  548. package/dist/plugin/websearch/parallel.js +8 -8
  549. package/dist/plugin/websearch/tavily.js +6 -6
  550. package/dist/plugin/websearch/tinyfish.js +8 -8
  551. package/dist/plugin.js +219 -219
  552. package/dist/project/schema.js +6 -6
  553. package/dist/project/sql.js +4 -4
  554. package/dist/project.js +89 -89
  555. package/dist/provider.js +102 -102
  556. package/dist/pty/protocol.js +1 -1
  557. package/dist/pty/ticket.js +1 -1
  558. package/dist/pty.js +92 -92
  559. package/dist/reference/instructions.js +90 -90
  560. package/dist/reference.js +90 -90
  561. package/dist/repository-cache.js +82 -82
  562. package/dist/repository.js +1 -1
  563. package/dist/ripgrep/binary.js +2 -2
  564. package/dist/ripgrep.js +98 -98
  565. package/dist/rpc.js +87 -87
  566. package/dist/schema.js +1 -1
  567. package/dist/session/affinity.js +3 -3
  568. package/dist/session/command.js +75 -75
  569. package/dist/session/compaction.js +134 -134
  570. package/dist/session/context.js +154 -154
  571. package/dist/session/diff.js +89 -89
  572. package/dist/session/environment.js +5 -5
  573. package/dist/session/error.js +7 -7
  574. package/dist/session/event.js +1 -1
  575. package/dist/session/execution/restart.js +218 -218
  576. package/dist/session/execution.js +128 -128
  577. package/dist/session/generate.js +155 -155
  578. package/dist/session/history.js +15 -15
  579. package/dist/session/inbox.js +87 -87
  580. package/dist/session/info.js +3 -3
  581. package/dist/session/instruction-entry.js +80 -80
  582. package/dist/session/instruction-state.js +8 -8
  583. package/dist/session/instructions.js +98 -98
  584. package/dist/session/message-updater.js +2 -2
  585. package/dist/session/message.js +1 -1
  586. package/dist/session/model-request.js +121 -121
  587. package/dist/session/model-transport.js +9 -9
  588. package/dist/session/move.js +130 -130
  589. package/dist/session/projector.js +87 -87
  590. package/dist/session/prompt.js +106 -106
  591. package/dist/session/provider-context.js +3 -3
  592. package/dist/session/revert.js +91 -91
  593. package/dist/session/run-coordinator.js +3 -3
  594. package/dist/session/runner/index.js +3 -3
  595. package/dist/session/runner/llm.js +225 -225
  596. package/dist/session/runner/max-steps.js +1 -1
  597. package/dist/session/runner/model.js +99 -99
  598. package/dist/session/runner/publish-llm-event.js +114 -114
  599. package/dist/session/runner/retry.js +2 -2
  600. package/dist/session/runner/step.js +124 -124
  601. package/dist/session/runner/to-llm-message.js +2 -2
  602. package/dist/session/schema.js +5 -5
  603. package/dist/session/session.js +165 -165
  604. package/dist/session/shell.js +131 -131
  605. package/dist/session/skill.js +106 -106
  606. package/dist/session/sql.js +5 -5
  607. package/dist/session/stats.js +76 -76
  608. package/dist/session/store.js +86 -86
  609. package/dist/session/subagent-completion.js +1 -1
  610. package/dist/session/subagent-job.js +202 -202
  611. package/dist/session/system-prompt.js +3 -3
  612. package/dist/session/title.js +158 -158
  613. package/dist/session/to-session-error.js +112 -112
  614. package/dist/session/transfer.js +217 -217
  615. package/dist/session/usage.js +1 -1
  616. package/dist/session.js +214 -214
  617. package/dist/shell/parse.js +6 -6
  618. package/dist/shell/result.js +1 -1
  619. package/dist/shell/scan.js +1 -1
  620. package/dist/shell/select.js +13 -13
  621. package/dist/shell.js +133 -133
  622. package/dist/skill/discovery.js +6 -6
  623. package/dist/skill/instructions.js +108 -108
  624. package/dist/skill.js +111 -111
  625. package/dist/snapshot.js +92 -92
  626. package/dist/state.js +1 -1
  627. package/dist/tool/html-markdown.js +1 -1
  628. package/dist/tool/http-body.js +1 -1
  629. package/dist/tool/mcp.js +127 -127
  630. package/dist/tool/plugin/edit.js +121 -121
  631. package/dist/tool/plugin/file-diff.js +1 -1
  632. package/dist/tool/plugin/glob.js +125 -125
  633. package/dist/tool/plugin/grep.js +125 -125
  634. package/dist/tool/plugin/mcp-resource.js +118 -118
  635. package/dist/tool/plugin/opencode.js +3 -3
  636. package/dist/tool/plugin/patch.js +117 -117
  637. package/dist/tool/plugin/question.js +104 -104
  638. package/dist/tool/plugin/read.js +126 -126
  639. package/dist/tool/plugin/shell.js +209 -209
  640. package/dist/tool/plugin/skill.js +112 -112
  641. package/dist/tool/plugin/subagent.js +211 -211
  642. package/dist/tool/plugin/webfetch.js +111 -111
  643. package/dist/tool/plugin/websearch.js +113 -113
  644. package/dist/tool/plugin/write.js +123 -123
  645. package/dist/tool/read-filesystem.js +101 -101
  646. package/dist/tool/runtime.js +1 -1
  647. package/dist/tool-output.js +7 -7
  648. package/dist/tool.js +16 -16
  649. package/dist/util/error-summary.js +1 -1
  650. package/dist/util/error.js +1 -1
  651. package/dist/util/git-executable.js +2 -2
  652. package/dist/util/iife.js +1 -1
  653. package/dist/util/lazy.js +1 -1
  654. package/dist/util/slug.js +1 -1
  655. package/dist/util/token.js +1 -1
  656. package/dist/util/which.js +1 -1
  657. package/dist/util/wildcard.js +1 -1
  658. package/dist/v1/config/agent.js +7 -7
  659. package/dist/v1/config/command.js +5 -5
  660. package/dist/v1/config/error.js +4 -4
  661. package/dist/v1/config/mcp.js +4 -4
  662. package/dist/v1/config/migrate.js +93 -93
  663. package/dist/v1/config/permission.js +7 -7
  664. package/dist/v1/config/plugin.js +3 -3
  665. package/dist/v1/config/provider-options.js +1 -1
  666. package/dist/v1/config/provider.js +4 -4
  667. package/dist/variant.js +94 -94
  668. package/dist/vcs/patch.js +1 -1
  669. package/dist/vcs.js +90 -90
  670. package/dist/websearch.js +83 -83
  671. package/dist/wellknown/plugin.js +77 -77
  672. package/dist/wellknown.js +80 -80
  673. package/dist/workspace/driver.js +7 -7
  674. package/dist/workspace/sql.js +1 -1
  675. package/dist/workspace.js +81 -81
  676. package/dist/worktree/directory.js +2 -2
  677. package/dist/worktree/git.js +10 -10
  678. package/dist/worktree/sql.js +5 -5
  679. package/dist/worktree/strategies.js +90 -90
  680. package/dist/worktree.js +97 -97
  681. package/package.json +8 -8
  682. package/dist/chunks/schema-2hm1ng2y.js +0 -253
  683. package/dist/chunks/schema-pf31ssb9.js +0 -18
  684. /package/dist/chunks/{schema-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
  685. /package/dist/chunks/{schema-0zkw76rk.js → state-0zkw76rk.js} +0 -0
  686. /package/dist/chunks/{schema-17cy0kzp.js → state-17cy0kzp.js} +0 -0
  687. /package/dist/chunks/{schema-1cnp2v09.js → state-1cnp2v09.js} +0 -0
  688. /package/dist/chunks/{schema-1kg9ymc8.js → state-1kg9ymc8.js} +0 -0
  689. /package/dist/chunks/{schema-24dcb14g.js → state-24dcb14g.js} +0 -0
  690. /package/dist/chunks/{schema-2710q6r3.js → state-2710q6r3.js} +0 -0
  691. /package/dist/chunks/{schema-2axfhc9x.js → state-2axfhc9x.js} +0 -0
  692. /package/dist/chunks/{schema-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
  693. /package/dist/chunks/{schema-34c7v6d4.js → state-34c7v6d4.js} +0 -0
  694. /package/dist/chunks/{schema-359p4xyc.js → state-359p4xyc.js} +0 -0
  695. /package/dist/chunks/{schema-3asan66x.js → state-3asan66x.js} +0 -0
  696. /package/dist/chunks/{schema-3t0ybcrp.js → state-3t0ybcrp.js} +0 -0
  697. /package/dist/chunks/{schema-3v8g72cx.js → state-3v8g72cx.js} +0 -0
  698. /package/dist/chunks/{schema-3w5fmr99.js → state-3w5fmr99.js} +0 -0
  699. /package/dist/chunks/{schema-3wcehsnq.js → state-3wcehsnq.js} +0 -0
  700. /package/dist/chunks/{schema-43n2bw4t.js → state-43n2bw4t.js} +0 -0
  701. /package/dist/chunks/{schema-4knz6hnm.js → state-4knz6hnm.js} +0 -0
  702. /package/dist/chunks/{schema-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
  703. /package/dist/chunks/{schema-4y7fprxs.js → state-4y7fprxs.js} +0 -0
  704. /package/dist/chunks/{schema-53557ph1.js → state-53557ph1.js} +0 -0
  705. /package/dist/chunks/{schema-550bvhaj.js → state-550bvhaj.js} +0 -0
  706. /package/dist/chunks/{schema-6prwharc.js → state-6prwharc.js} +0 -0
  707. /package/dist/chunks/{schema-6q2bdcd1.js → state-6q2bdcd1.js} +0 -0
  708. /package/dist/chunks/{schema-7akdwqpd.js → state-7akdwqpd.js} +0 -0
  709. /package/dist/chunks/{schema-7m9af43g.js → state-7m9af43g.js} +0 -0
  710. /package/dist/chunks/{schema-822emrt2.js → state-822emrt2.js} +0 -0
  711. /package/dist/chunks/{schema-84wd9syh.js → state-84wd9syh.js} +0 -0
  712. /package/dist/chunks/{schema-88xbtdfr.js → state-88xbtdfr.js} +0 -0
  713. /package/dist/chunks/{schema-8n3pysct.js → state-8n3pysct.js} +0 -0
  714. /package/dist/chunks/{schema-8wj87zfr.js → state-8wj87zfr.js} +0 -0
  715. /package/dist/chunks/{schema-9a4afbnw.js → state-9a4afbnw.js} +0 -0
  716. /package/dist/chunks/{schema-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
  717. /package/dist/chunks/{schema-a6k6eb26.js → state-a6k6eb26.js} +0 -0
  718. /package/dist/chunks/{schema-af5trqkr.js → state-af5trqkr.js} +0 -0
  719. /package/dist/chunks/{schema-afrmfg78.js → state-afrmfg78.js} +0 -0
  720. /package/dist/chunks/{schema-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
  721. /package/dist/chunks/{schema-atq7p7m5.js → state-atq7p7m5.js} +0 -0
  722. /package/dist/chunks/{schema-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
  723. /package/dist/chunks/{schema-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
  724. /package/dist/chunks/{schema-cf4snx6d.js → state-cf4snx6d.js} +0 -0
  725. /package/dist/chunks/{schema-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
  726. /package/dist/chunks/{schema-d9fn303g.js → state-d9fn303g.js} +0 -0
  727. /package/dist/chunks/{schema-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
  728. /package/dist/chunks/{schema-dajrwvna.js → state-dajrwvna.js} +0 -0
  729. /package/dist/chunks/{schema-dap0rakb.js → state-dap0rakb.js} +0 -0
  730. /package/dist/chunks/{schema-df08tz66.js → state-df08tz66.js} +0 -0
  731. /package/dist/chunks/{schema-dy18nga0.js → state-dy18nga0.js} +0 -0
  732. /package/dist/chunks/{schema-e5kj55wp.js → state-e5kj55wp.js} +0 -0
  733. /package/dist/chunks/{schema-e73j6tqm.js → state-e73j6tqm.js} +0 -0
  734. /package/dist/chunks/{schema-ec1grn59.js → state-ec1grn59.js} +0 -0
  735. /package/dist/chunks/{schema-eh3zwz77.js → state-eh3zwz77.js} +0 -0
  736. /package/dist/chunks/{schema-emrn6kk6.js → state-emrn6kk6.js} +0 -0
  737. /package/dist/chunks/{schema-f0mxakyp.js → state-f0mxakyp.js} +0 -0
  738. /package/dist/chunks/{schema-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
  739. /package/dist/chunks/{schema-faypxj3z.js → state-faypxj3z.js} +0 -0
  740. /package/dist/chunks/{schema-fd410y7t.js → state-fd410y7t.js} +0 -0
  741. /package/dist/chunks/{schema-fxgpk5d8.js → state-fxgpk5d8.js} +0 -0
  742. /package/dist/chunks/{schema-g4wezp1m.js → state-g4wezp1m.js} +0 -0
  743. /package/dist/chunks/{schema-g86h250q.js → state-g86h250q.js} +0 -0
  744. /package/dist/chunks/{schema-gebd4c9n.js → state-gebd4c9n.js} +0 -0
  745. /package/dist/chunks/{schema-gftt206x.js → state-gftt206x.js} +0 -0
  746. /package/dist/chunks/{schema-hk9envan.js → state-hk9envan.js} +0 -0
  747. /package/dist/chunks/{schema-j2ntwpah.js → state-j2ntwpah.js} +0 -0
  748. /package/dist/chunks/{schema-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
  749. /package/dist/chunks/{schema-jjkms2e6.js → state-jjkms2e6.js} +0 -0
  750. /package/dist/chunks/{schema-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
  751. /package/dist/chunks/{schema-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
  752. /package/dist/chunks/{schema-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
  753. /package/dist/chunks/{schema-mp448xyj.js → state-mp448xyj.js} +0 -0
  754. /package/dist/chunks/{schema-msx8hqn2.js → state-msx8hqn2.js} +0 -0
  755. /package/dist/chunks/{schema-n05xt0ee.js → state-n05xt0ee.js} +0 -0
  756. /package/dist/chunks/{schema-n3j8tn72.js → state-n3j8tn72.js} +0 -0
  757. /package/dist/chunks/{schema-njntx4h6.js → state-njntx4h6.js} +0 -0
  758. /package/dist/chunks/{schema-q3sfg36h.js → state-q3sfg36h.js} +0 -0
  759. /package/dist/chunks/{schema-q74kybfr.js → state-q74kybfr.js} +0 -0
  760. /package/dist/chunks/{schema-qaymkmh1.js → state-qaymkmh1.js} +0 -0
  761. /package/dist/chunks/{schema-qb87gjwd.js → state-qb87gjwd.js} +0 -0
  762. /package/dist/chunks/{schema-qfa1cgps.js → state-qfa1cgps.js} +0 -0
  763. /package/dist/chunks/{schema-qg3g05ea.js → state-qg3g05ea.js} +0 -0
  764. /package/dist/chunks/{schema-qrg20bc0.js → state-qrg20bc0.js} +0 -0
  765. /package/dist/chunks/{schema-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
  766. /package/dist/chunks/{schema-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
  767. /package/dist/chunks/{schema-ssg3fenm.js → state-ssg3fenm.js} +0 -0
  768. /package/dist/chunks/{schema-w803qqfp.js → state-w803qqfp.js} +0 -0
  769. /package/dist/chunks/{schema-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
  770. /package/dist/chunks/{schema-wer8tq1h.js → state-wer8tq1h.js} +0 -0
  771. /package/dist/chunks/{schema-wtztk69x.js → state-wtztk69x.js} +0 -0
  772. /package/dist/chunks/{schema-x0ckcb58.js → state-x0ckcb58.js} +0 -0
  773. /package/dist/chunks/{schema-x61499pn.js → state-x61499pn.js} +0 -0
  774. /package/dist/chunks/{schema-y44na4kk.js → state-y44na4kk.js} +0 -0
  775. /package/dist/chunks/{schema-y8cydn3q.js → state-y8cydn3q.js} +0 -0
  776. /package/dist/chunks/{schema-y8f7s663.js → state-y8f7s663.js} +0 -0
  777. /package/dist/chunks/{schema-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
  778. /package/dist/chunks/{schema-ym463w8f.js → state-ym463w8f.js} +0 -0
  779. /package/dist/chunks/{schema-z5v4ffb3.js → state-z5v4ffb3.js} +0 -0
  780. /package/dist/chunks/{schema-z9919s4g.js → state-z9919s4g.js} +0 -0
@@ -1,44 +1,44 @@
1
1
  import {
2
- Service65
3
- } from "./schema-sfwz2x9n.js";
2
+ Service72
3
+ } from "./state-yfng7xhx.js";
4
4
  import {
5
5
  MAX_MARKDOWN_BYTES2,
6
6
  convertHTMLToMarkdown2
7
- } from "./schema-4vcrnpx2.js";
7
+ } from "./state-4vcrnpx2.js";
8
8
  import {
9
9
  collectBoundedResponseBody2
10
- } from "./schema-3v8g72cx.js";
10
+ } from "./state-3v8g72cx.js";
11
11
  import {
12
12
  __export
13
- } from "./schema-9rqn6x4v.js";
13
+ } from "./state-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/webfetch.ts
16
16
  var exports_webfetch = {};
17
17
  __export(exports_webfetch, {
18
18
  DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
19
- Input: () => Input2,
19
+ Input: () => Input12,
20
20
  MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
21
21
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
22
- Plugin: () => Plugin36,
22
+ Plugin: () => Plugin48,
23
23
  WebFetchTool: () => exports_webfetch,
24
24
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
25
- description: () => description2,
25
+ description: () => description5,
26
26
  extractTextFromHTML: () => extractTextFromHTML2,
27
- name: () => name2
27
+ name: () => name12
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Duration, Effect, Schema } from "effect";
31
31
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
32
32
  import { Parser } from "htmlparser2";
33
- var name2 = "webfetch";
33
+ var name12 = "webfetch";
34
34
  var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
35
35
  var DEFAULT_TIMEOUT_SECONDS2 = 30;
36
36
  var MAX_TIMEOUT_SECONDS2 = 120;
37
- var description2 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
37
+ var description5 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
38
38
 
39
39
  Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
40
40
  var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
41
- var Input2 = Schema.Struct({
41
+ var Input12 = Schema.Struct({
42
42
  url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
43
43
  format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
44
44
  timeout: Schema.optionalKey(Timeout).annotate({
@@ -48,7 +48,7 @@ var Input2 = Schema.Struct({
48
48
  var Output = Schema.Struct({
49
49
  url: Schema.String,
50
50
  contentType: Schema.String,
51
- format: Input2.fields.format,
51
+ format: Input12.fields.format,
52
52
  output: Schema.String
53
53
  });
54
54
  var acceptHeader = (format) => {
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
92
92
  return extractTextFromHTML2(content);
93
93
  return content;
94
94
  };
95
- var Plugin36 = {
95
+ var Plugin48 = {
96
96
  id: "opencode.tool.webfetch",
97
97
  effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
98
98
  const http = yield* HttpClient.HttpClient;
99
- const permission = yield* Service65;
99
+ const permission = yield* Service72;
100
100
  yield* ctx.tool.transform((editor) => editor.add({
101
- name: name2,
101
+ name: name12,
102
102
  options: { codemode: false },
103
- description: description2,
104
- input: Input2,
103
+ description: description5,
104
+ input: Input12,
105
105
  output: Output,
106
106
  execute: (input, context) => Effect.gen(function* () {
107
107
  yield* Effect.try({
@@ -109,7 +109,7 @@ var Plugin36 = {
109
109
  catch: (error) => error
110
110
  });
111
111
  yield* permission.assert({
112
- action: name2,
112
+ action: name12,
113
113
  resources: [input.url],
114
114
  save: ["*"],
115
115
  metadata: input,
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
167
167
  parser.end();
168
168
  return text.trim();
169
169
  }
170
- export { name2, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description2, Input2, Plugin36, extractTextFromHTML2, exports_webfetch };
170
+ export { name12, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input12, Plugin48, extractTextFromHTML2, exports_webfetch };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  mergeOverlay2,
3
- Service76
4
- } from "./schema-7dcnqvbr.js";
3
+ Service63
4
+ } from "./state-kkqpbp86.js";
5
5
  import {
6
- Service71
7
- } from "./schema-tdhpy44v.js";
6
+ Service57
7
+ } from "./state-h78379q5.js";
8
8
 
9
9
  // src/plugin/provider/configured.ts
10
10
  import { Effect, Option } from "effect";
11
11
  var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
12
- const providers = yield* Service76;
12
+ const providers = yield* Service63;
13
13
  const current = (yield* providers.get(id))?.settings;
14
- const service = yield* Effect.serviceOption(Service71);
14
+ const service = yield* Effect.serviceOption(Service57);
15
15
  const entries = Option.isSome(service) ? yield* service.value.entries() : [];
16
16
  return foldSettings2(entries, id, current);
17
17
  });
@@ -1,25 +1,25 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./schema-02g264nc.js";
2
+ Service80,
3
+ node84
4
+ } from "./state-62k0yxbf.js";
5
5
  import {
6
- Service75,
7
- node79
8
- } from "./schema-0ce7fh3z.js";
6
+ Service66,
7
+ node70
8
+ } from "./state-h3pfkhmz.js";
9
9
  import {
10
10
  create3
11
- } from "./schema-rdw6cm16.js";
11
+ } from "./state-rdw6cm16.js";
12
12
  import {
13
13
  __export
14
- } from "./schema-9rqn6x4v.js";
14
+ } from "./state-9rqn6x4v.js";
15
15
 
16
16
  // src/websearch.ts
17
17
  var exports_websearch3 = {};
18
18
  __export(exports_websearch3, {
19
19
  DisabledError: () => DisabledError2,
20
- Event: () => Event5,
20
+ Event: () => Event7,
21
21
  ID: () => ID4,
22
- Input: () => Input14,
22
+ Input: () => Input13,
23
23
  Provider: () => Provider2,
24
24
  ProviderKey: () => ProviderKey2,
25
25
  ProviderNotFoundError: () => ProviderNotFoundError2,
@@ -28,19 +28,19 @@ __export(exports_websearch3, {
28
28
  Response: () => Response2,
29
29
  Result: () => Result2,
30
30
  Selection: () => Selection2,
31
- Service: () => Service31,
31
+ Service: () => Service25,
32
32
  WebSearch: () => exports_websearch3,
33
- node: () => node34
33
+ node: () => node28
34
34
  });
35
35
  import { WebSearch } from "@opencode/schema/websearch";
36
36
  import { SessionEvent } from "@opencode/schema/session-event";
37
37
  import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
38
38
  import { HttpClientError } from "effect/unstable/http";
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
- import { Event as Event5 } from "@opencode/schema/websearch";
40
+ import { Event as Event7 } from "@opencode/schema/websearch";
41
41
  var ID4 = WebSearch.ID;
42
42
  var Provider2 = WebSearch.Provider;
43
- var Input14 = WebSearch.Input;
43
+ var Input13 = WebSearch.Input;
44
44
  var Result2 = WebSearch.Result;
45
45
  var Response2 = WebSearch.Response;
46
46
  var ProviderKey2 = "websearch:provider";
@@ -63,11 +63,11 @@ class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
63
63
  }) {
64
64
  }
65
65
 
66
- class Service31 extends Context.Service()("@opencode/WebSearch") {
66
+ class Service25 extends Context.Service()("@opencode/WebSearch") {
67
67
  }
68
- var layer = Layer.effect(Service31, Effect.gen(function* () {
69
- const bus = yield* Service83;
70
- const kv = yield* Service75;
68
+ var layer = Layer.effect(Service25, Effect.gen(function* () {
69
+ const bus = yield* Service80;
70
+ const kv = yield* Service66;
71
71
  const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
72
72
  const cooldowns = new Map;
73
73
  const preferred = new Map;
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
124
124
  }
125
125
  return choice ? state.get().providers.get(choice) : undefined;
126
126
  });
127
- return Service31.of({
127
+ return Service25.of({
128
128
  transform: state.transform,
129
129
  reload: state.reload,
130
130
  providers: Effect.fn("WebSearch.providers")(function* () {
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
184
184
  const date = Date.parse(value);
185
185
  return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
186
186
  }
187
- var node34 = makeLocationNode({
188
- service: Service31,
187
+ var node28 = makeLocationNode({
188
+ service: Service25,
189
189
  layer,
190
- deps: [node87, node79]
190
+ deps: [node84, node70]
191
191
  });
192
192
 
193
- export { ID4, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service31, node34, exports_websearch3, Event5 };
193
+ export { ID4, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service25, node28, exports_websearch3, Event7 };
@@ -1,43 +1,43 @@
1
1
  import {
2
- Service84
3
- } from "./schema-rp4sdv0x.js";
2
+ Service81
3
+ } from "./state-mthfcyeq.js";
4
4
  import {
5
- Service41
6
- } from "./schema-vqfzq50h.js";
5
+ Service47
6
+ } from "./state-2a6rn6yr.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./schema-pf31ssb9.js";
9
+ } from "./state-by5v678g.js";
10
10
  import {
11
11
  provenance2
12
- } from "./schema-4z58m4b4.js";
12
+ } from "./state-4j4tgtq5.js";
13
13
  import {
14
14
  preview2
15
- } from "./schema-fg6c7q2e.js";
15
+ } from "./state-3eb2wybh.js";
16
16
  import {
17
17
  baseTranscript2
18
- } from "./schema-y415rrbf.js";
18
+ } from "./state-edpay1ac.js";
19
19
  import {
20
- Service19
21
- } from "./schema-xgwtbm8x.js";
20
+ Service31
21
+ } from "./state-101fvt1n.js";
22
22
  import {
23
23
  __export
24
- } from "./schema-9rqn6x4v.js";
24
+ } from "./state-9rqn6x4v.js";
25
25
 
26
26
  // src/session/generate.ts
27
- var exports_generate = {};
28
- __export(exports_generate, {
29
- SessionGenerate: () => exports_generate,
27
+ var exports_generate2 = {};
28
+ __export(exports_generate2, {
29
+ SessionGenerate: () => exports_generate2,
30
30
  generate: () => generate2
31
31
  });
32
32
  import { LLMClient, Message } from "@opencode/ai";
33
33
  import { Effect } from "effect";
34
34
  var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
35
- const instances = yield* Service41;
36
- const database = yield* Service84;
35
+ const instances = yield* Service47;
36
+ const database = yield* Service81;
37
37
  const llm = yield* LLMClient.Service;
38
38
  return yield* Effect.gen(function* () {
39
39
  yield* awaitActivation2;
40
- const context = yield* Service19;
40
+ const context = yield* Service31;
41
41
  const selection = yield* context.select(input.session.id);
42
42
  const model = yield* context.resolveModel(selection.session);
43
43
  const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
@@ -71,4 +71,4 @@ var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
71
71
  }).pipe(instances.provide(input.session));
72
72
  });
73
73
 
74
- export { generate2, exports_generate };
74
+ export { generate2, exports_generate2 };
@@ -1,50 +1,50 @@
1
1
  import {
2
- Service72
3
- } from "./schema-xmgjmham.js";
2
+ Service58
3
+ } from "./state-551azpvx.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./schema-z5v4ffb3.js";
6
+ } from "./state-z5v4ffb3.js";
7
7
  import {
8
- Service80
9
- } from "./schema-cb8p393h.js";
8
+ Service76
9
+ } from "./state-9qk2kwmb.js";
10
10
  import {
11
- Service71
12
- } from "./schema-tdhpy44v.js";
11
+ Service57
12
+ } from "./state-h78379q5.js";
13
13
  import {
14
14
  DirectorySource2,
15
15
  UrlSource2,
16
16
  Source4
17
- } from "./schema-nh510fz3.js";
17
+ } from "./state-sny9w75j.js";
18
18
  import {
19
- Service6
20
- } from "./schema-n8sna2wb.js";
19
+ Service10
20
+ } from "./state-gh5z95q3.js";
21
21
  import {
22
22
  parse2
23
- } from "./schema-7bda4q4e.js";
23
+ } from "./state-7q0e42ms.js";
24
24
  import {
25
25
  __export
26
- } from "./schema-9rqn6x4v.js";
26
+ } from "./state-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/skill.ts
29
29
  var exports_skill2 = {};
30
30
  __export(exports_skill2, {
31
31
  ConfigSkillPlugin: () => exports_skill2,
32
- Plugin: () => Plugin32
32
+ Plugin: () => Plugin22
33
33
  });
34
34
  import { define } from "@opencode/plugin/effect/plugin";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
37
  import path from "path";
38
38
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
39
- var Plugin32 = define({
39
+ var Plugin22 = define({
40
40
  id: "opencode.config.skill",
41
41
  effect: Effect.fn(function* (ctx) {
42
- const config = yield* Service71;
43
- const discovery = yield* Service6;
42
+ const config = yield* Service57;
43
+ const discovery = yield* Service10;
44
44
  const fs = yield* FSUtil.Service;
45
45
  const global = yield* Global.Service;
46
- const location = yield* Service80;
47
- const watcher = yield* Service72;
46
+ const location = yield* Service76;
47
+ const watcher = yield* Service58;
48
48
  const loaded = {
49
49
  entries: yield* config.entries(),
50
50
  skills: []
@@ -176,4 +176,4 @@ var Plugin32 = define({
176
176
  })
177
177
  });
178
178
 
179
- export { Plugin32, exports_skill2 };
179
+ export { Plugin22, exports_skill2 };
@@ -2,16 +2,16 @@ import {
2
2
  managesTransactionsNatively2,
3
3
  EffectSQLiteSession2,
4
4
  EffectSQLiteTransaction2
5
- } from "./schema-9yrh9n06.js";
5
+ } from "./state-yndsvvt3.js";
6
6
  import {
7
7
  EffectSQLiteDatabase2,
8
8
  DefaultServices2,
9
9
  make24,
10
10
  makeWithDefaults2
11
- } from "./schema-2hmemtj6.js";
11
+ } from "./state-myr8fe9c.js";
12
12
  import {
13
13
  __export
14
- } from "./schema-9rqn6x4v.js";
14
+ } from "./state-9rqn6x4v.js";
15
15
 
16
16
  // src/database/drizzle/index.ts
17
17
  var exports_drizzle = {};
@@ -1,62 +1,62 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./schema-z5v4ffb3.js";
3
+ } from "./state-z5v4ffb3.js";
4
4
  import {
5
5
  latest2,
6
- Service71
7
- } from "./schema-tdhpy44v.js";
6
+ Service57
7
+ } from "./state-h78379q5.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./schema-2a5m3afh.js";
10
+ } from "./state-2a5m3afh.js";
11
11
  import {
12
- Service55
13
- } from "./schema-2zds0nxm.js";
12
+ Service59
13
+ } from "./state-m4g7grr3.js";
14
14
  import {
15
- Service42
16
- } from "./schema-vqbxe4wk.js";
15
+ Service48
16
+ } from "./state-wm8vp7b3.js";
17
17
  import {
18
- Service65
19
- } from "./schema-sfwz2x9n.js";
18
+ Service72
19
+ } from "./state-yfng7xhx.js";
20
20
  import {
21
- Service15,
21
+ Service71,
22
22
  resolvePath2
23
- } from "./schema-erjffywh.js";
23
+ } from "./state-1b60b23y.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./schema-vzs5sf6e.js";
29
+ } from "./state-vzs5sf6e.js";
30
30
  import {
31
- Service50,
31
+ Service62,
32
32
  name15
33
- } from "./schema-xm8y3y9s.js";
33
+ } from "./state-9dgxaq8y.js";
34
34
  import {
35
- NotFoundError4,
36
- Service33
37
- } from "./schema-xea99qfv.js";
35
+ NotFoundError6,
36
+ Service55
37
+ } from "./state-ms5r0hkh.js";
38
38
  import {
39
- Service17
40
- } from "./schema-jn24yy65.js";
39
+ Service29
40
+ } from "./state-hw2pxhp3.js";
41
41
  import {
42
42
  scan2
43
- } from "./schema-b703kh14.js";
43
+ } from "./state-bgecxp98.js";
44
44
  import {
45
45
  __export
46
- } from "./schema-9rqn6x4v.js";
46
+ } from "./state-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
49
  var exports_shell2 = {};
50
50
  __export(exports_shell2, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input4,
53
- Plugin: () => Plugin38,
52
+ Input: () => Input8,
53
+ Plugin: () => Plugin44,
54
54
  ShellTool: () => exports_shell2,
55
- name: () => name4
55
+ name: () => name8
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
- var name4 = "shell";
59
+ var name8 = "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 Input4 = Schema.Struct({
73
+ var Input8 = 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 Plugin38 = {
119
+ var Plugin44 = {
120
120
  id: "opencode.tool.shell",
121
121
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
122
- const sessions = yield* Service17;
123
- const jobs = yield* Service42;
122
+ const sessions = yield* Service29;
123
+ const jobs = yield* Service48;
124
124
  const scope = yield* Scope.Scope;
125
- const environment = yield* Service55;
126
- const access = yield* Service15;
127
- const shell = yield* Service33;
128
- const shellSelect = yield* Service50;
125
+ const environment = yield* Service59;
126
+ const access = yield* Service71;
127
+ const shell = yield* Service55;
128
+ const shellSelect = yield* Service62;
129
129
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
130
- const permission = yield* Service65;
131
- const config = yield* Service71;
130
+ const permission = yield* Service72;
131
+ const config = yield* Service57;
132
132
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
133
133
  const source = {
134
134
  type: "tool",
@@ -147,7 +147,7 @@ var Plugin38 = {
147
147
  yield* access.authorizeExternal([target, ...directories], context);
148
148
  if (parsed.commands.length > 0)
149
149
  yield* permission.assert({
150
- action: name4,
150
+ action: name8,
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 Plugin38 = {
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: name4,
187
+ name: name8,
188
188
  options: { codemode: false },
189
189
  description: description(),
190
- input: Input4,
190
+ input: Input8,
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 Plugin38 = {
210
210
  const run = Effect.gen(function* () {
211
211
  const result = yield* shell.result(info);
212
212
  if (!result.capture)
213
- return yield* new NotFoundError4({ id: info.id });
213
+ return yield* new NotFoundError6({ 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: name4,
227
+ type: name8,
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[name4];
257
+ const tool = event.tools[name8];
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 { name4, DEFAULT_TIMEOUT_MS2, Input4, Plugin38, exports_shell2 };
268
+ export { name8, DEFAULT_TIMEOUT_MS2, Input8, Plugin44, exports_shell2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./schema-9rqn6x4v.js";
3
+ } from "./state-9rqn6x4v.js";
4
4
 
5
5
  // src/session/subagent-completion.ts
6
6
  var exports_subagent_completion = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./schema-qfa1cgps.js";
3
+ } from "./state-qfa1cgps.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./schema-3cegwx68.js";
6
+ } from "./state-h2b79v29.js";
7
7
 
8
8
  // src/permission/sql.ts
9
9
  import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./schema-dpkg50ah.js";
3
+ } from "./state-dpkg50ah.js";
4
4
  import {
5
- Service55,
6
- node57
7
- } from "./schema-2zds0nxm.js";
5
+ Service59,
6
+ node62
7
+ } from "./state-m4g7grr3.js";
8
8
  import {
9
9
  __export
10
- } from "./schema-9rqn6x4v.js";
10
+ } from "./state-9rqn6x4v.js";
11
11
 
12
12
  // src/file-mutation.ts
13
13
  var exports_file_mutation = {};
14
14
  __export(exports_file_mutation, {
15
15
  FileMutation: () => exports_file_mutation,
16
- Service: () => Service47,
17
- node: () => node49,
16
+ Service: () => Service16,
17
+ node: () => node18,
18
18
  readText: () => readText2,
19
19
  syncTextBom: () => syncTextBom2
20
20
  });
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, Effect, Layer } from "effect";
23
23
  import { FSUtil } from "@opencode/util/fs-util";
24
24
  import { Bom } from "@opencode/util/bom";
25
- class Service47 extends Context.Service()("@opencode/FileMutation") {
25
+ class Service16 extends Context.Service()("@opencode/FileMutation") {
26
26
  }
27
27
  var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
28
28
  return Bom.decodeBytes((yield* files.read(target)).bytes);
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
34
34
  return synced.text;
35
35
  });
36
36
  var transactionLocks = makeUnsafe2();
37
- var layer = Layer.effect(Service47, Effect.gen(function* () {
38
- const environment = yield* Service55;
37
+ var layer = Layer.effect(Service16, Effect.gen(function* () {
38
+ const environment = yield* Service59;
39
39
  const locks = makeUnsafe2();
40
40
  const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
41
41
  const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
56
56
  yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
57
57
  return writeResult(input.target, current !== undefined);
58
58
  })));
59
- return Service47.of({ withLock, write, writeTextPreservingBom });
59
+ return Service16.of({ withLock, write, writeTextPreservingBom });
60
60
  }));
61
- var node49 = makeLocationNode({ service: Service47, layer, deps: [node57] });
61
+ var node18 = makeLocationNode({ service: Service16, layer, deps: [node62] });
62
62
 
63
- export { Service47, readText2, syncTextBom2, node49, exports_file_mutation };
63
+ export { Service16, readText2, syncTextBom2, node18, exports_file_mutation };
@@ -2,7 +2,7 @@ import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2,
4
4
  mapUpdateSet2
5
- } from "./schema-emrn6kk6.js";
5
+ } from "./state-emrn6kk6.js";
6
6
 
7
7
  // src/database/drizzle/sqlite-core/effect/insert.ts
8
8
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";