@opencode/core 0.0.0-dev-20397 → 0.0.0-dev-20399

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 (799) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +90 -90
  5. package/dist/app.js +1 -1
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{snapshot-jy3q8cv1.js → state-026a3pxx.js} +11 -11
  8. package/dist/chunks/{snapshot-wb6xtyp7.js → state-030jzqrs.js} +1 -1
  9. package/dist/chunks/{snapshot-zcrspsvn.js → state-06x8he3q.js} +4 -4
  10. package/dist/chunks/{snapshot-x12ccqf6.js → state-0awtbsan.js} +11 -11
  11. package/dist/chunks/{snapshot-tea830r9.js → state-0bsghn5e.js} +6 -6
  12. package/dist/chunks/{snapshot-7a36j1ta.js → state-0j6y2kgk.js} +11 -11
  13. package/dist/chunks/{snapshot-1ayffp7r.js → state-0p4abda4.js} +5 -5
  14. package/dist/chunks/{snapshot-0paq2nw3.js → state-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{snapshot-79v4fztp.js → state-0wev32e0.js} +18 -18
  16. package/dist/chunks/{snapshot-r8xr0va3.js → state-1acjjqhc.js} +4 -4
  17. package/dist/chunks/{snapshot-1dazxqgg.js → state-1dazxqgg.js} +2 -2
  18. package/dist/chunks/{snapshot-fqq9xsk7.js → state-1fw2a5v8.js} +13 -13
  19. package/dist/chunks/{snapshot-6b427hxb.js → state-1rfara83.js} +20 -20
  20. package/dist/chunks/{snapshot-21r38tys.js → state-21r38tys.js} +1 -1
  21. package/dist/chunks/{snapshot-e0ceaeyx.js → state-22t6ymqa.js} +7 -7
  22. package/dist/chunks/{snapshot-29x78va6.js → state-29x78va6.js} +2 -2
  23. package/dist/chunks/{snapshot-2a5m3afh.js → state-2a5m3afh.js} +1 -1
  24. package/dist/chunks/{snapshot-2k8khapm.js → state-2k8khapm.js} +1 -1
  25. package/dist/chunks/{snapshot-0dtbrg7g.js → state-325vrkv0.js} +5 -5
  26. package/dist/chunks/{snapshot-we9s68w7.js → state-32s37th8.js} +35 -35
  27. package/dist/chunks/{snapshot-znsx74x0.js → state-3556dn8t.js} +1 -1
  28. package/dist/chunks/{snapshot-3fc6dm20.js → state-3fc6dm20.js} +1 -1
  29. package/dist/chunks/{snapshot-yg0cp2fk.js → state-3h8f8rgq.js} +17 -17
  30. package/dist/chunks/{snapshot-3hepkmqq.js → state-3hepkmqq.js} +1 -1
  31. package/dist/chunks/{snapshot-mdzxpjrf.js → state-3hts4nh5.js} +24 -24
  32. package/dist/chunks/{snapshot-3smtnn6g.js → state-3smtnn6g.js} +1 -1
  33. package/dist/chunks/{snapshot-gfhhve88.js → state-3tt1qkhr.js} +5 -5
  34. package/dist/chunks/{snapshot-3tvqynh2.js → state-3tvqynh2.js} +1 -1
  35. package/dist/chunks/{snapshot-89zefzxw.js → state-3w4da0bf.js} +18 -18
  36. package/dist/chunks/{snapshot-mfrzaj7b.js → state-3wtv5frj.js} +13 -13
  37. package/dist/chunks/{snapshot-36p16jwq.js → state-3xkzbdqd.js} +4 -4
  38. package/dist/chunks/{snapshot-3zsf4n22.js → state-3zsf4n22.js} +1 -1
  39. package/dist/chunks/{snapshot-6053qjfn.js → state-41h2mdr0.js} +32 -32
  40. package/dist/chunks/{snapshot-kpt54jka.js → state-4238gvvk.js} +20 -20
  41. package/dist/chunks/{snapshot-xb50yt4b.js → state-44pdqs77.js} +4 -4
  42. package/dist/chunks/{snapshot-ya7pybyk.js → state-475vsxfq.js} +12 -12
  43. package/dist/chunks/{snapshot-tg3avkgr.js → state-4wgy5v9e.js} +40 -40
  44. package/dist/chunks/{snapshot-h9wp8z5w.js → state-4z58m4b4.js} +4 -4
  45. package/dist/chunks/{snapshot-j4k4fmtd.js → state-518c5t7m.js} +8 -8
  46. package/dist/chunks/{snapshot-w7bfg73m.js → state-53t1r0k7.js} +40 -40
  47. package/dist/chunks/{snapshot-54ma36ye.js → state-54ma36ye.js} +1 -1
  48. package/dist/chunks/{snapshot-1ygqh575.js → state-56gdpj1q.js} +9 -9
  49. package/dist/chunks/{snapshot-57ez7d0k.js → state-57ez7d0k.js} +2 -2
  50. package/dist/chunks/{snapshot-284ar0kx.js → state-5d6rpvta.js} +27 -27
  51. package/dist/chunks/{snapshot-5daktx2q.js → state-5daktx2q.js} +1 -1
  52. package/dist/chunks/{snapshot-54whtckx.js → state-5ptk6qrn.js} +323 -323
  53. package/dist/chunks/{snapshot-pvttss56.js → state-5stztzc8.js} +26 -26
  54. package/dist/chunks/{snapshot-5t3nmthw.js → state-5t3nmthw.js} +2 -2
  55. package/dist/chunks/{snapshot-s589y4yc.js → state-5t6w898y.js} +8 -8
  56. package/dist/chunks/{snapshot-5xpznt2d.js → state-5xpznt2d.js} +4 -4
  57. package/dist/chunks/{snapshot-5768agz8.js → state-5ynfe8h2.js} +145 -145
  58. package/dist/chunks/{snapshot-9btp0wgx.js → state-63jfhv3x.js} +21 -21
  59. package/dist/chunks/{snapshot-669tq793.js → state-669tq793.js} +1 -1
  60. package/dist/chunks/{snapshot-93hpb89x.js → state-6bsje7ws.js} +3 -3
  61. package/dist/chunks/{snapshot-mkqsqhtw.js → state-6h3ncj6c.js} +22 -22
  62. package/dist/chunks/{snapshot-t6msp11s.js → state-6h3wybc7.js} +6 -6
  63. package/dist/chunks/{snapshot-hsv2efhq.js → state-6j71bdrn.js} +4 -4
  64. package/dist/chunks/{snapshot-6msgmcgs.js → state-6msgmcgs.js} +1 -1
  65. package/dist/chunks/{snapshot-ygx8er06.js → state-6s6k8698.js} +10 -10
  66. package/dist/chunks/{snapshot-40vnhj6t.js → state-6t6v3d0p.js} +10 -10
  67. package/dist/chunks/{snapshot-80xs58hn.js → state-6zma4dqp.js} +8 -8
  68. package/dist/chunks/{snapshot-s43e8fnf.js → state-76x0exek.js} +7 -7
  69. package/dist/chunks/{snapshot-1jds0x1c.js → state-7a5vwq9w.js} +8 -8
  70. package/dist/chunks/{snapshot-7bmhse3q.js → state-7bmhse3q.js} +1 -1
  71. package/dist/chunks/{snapshot-npvv29c9.js → state-7dabebq9.js} +18 -18
  72. package/dist/chunks/{snapshot-vd7rzxqf.js → state-7pr2hkwv.js} +5 -5
  73. package/dist/chunks/{snapshot-8s1fj8xg.js → state-7rwqf82v.js} +8 -8
  74. package/dist/chunks/{snapshot-a1gpj94z.js → state-7yh4e7ss.js} +3 -3
  75. package/dist/chunks/{snapshot-qqtwvk4z.js → state-7yqjxrmz.js} +6 -6
  76. package/dist/chunks/{snapshot-x6vc2g7j.js → state-82nf7ed8.js} +13 -13
  77. package/dist/chunks/{snapshot-84txncab.js → state-84txncab.js} +1 -1
  78. package/dist/chunks/{snapshot-35ffvvnr.js → state-8ckcg3zf.js} +9 -9
  79. package/dist/chunks/{snapshot-8d7r5vzw.js → state-8d7r5vzw.js} +1 -1
  80. package/dist/chunks/{snapshot-4asdasf1.js → state-8rnn6t2g.js} +18 -18
  81. package/dist/chunks/state-92scpske.js +26 -0
  82. package/dist/chunks/{snapshot-94ek1h2f.js → state-94ek1h2f.js} +2 -2
  83. package/dist/chunks/{snapshot-xazx0yrz.js → state-9cc4b95v.js} +11 -11
  84. package/dist/chunks/{snapshot-nkkxcf99.js → state-9ehh8z5c.js} +1 -1
  85. package/dist/chunks/{snapshot-xv2rj9s2.js → state-9g1bwmtd.js} +31 -31
  86. package/dist/chunks/{snapshot-6rxkb1t6.js → state-9n655km2.js} +8 -8
  87. package/dist/chunks/state-9sh4wc5j.js +18 -0
  88. package/dist/chunks/{snapshot-j3ss35a9.js → state-9tsamph0.js} +29 -29
  89. package/dist/chunks/{snapshot-xj2q361d.js → state-a1cedfep.js} +18 -18
  90. package/dist/chunks/{snapshot-51eqdrz1.js → state-a8k20txy.js} +8 -8
  91. package/dist/chunks/{snapshot-aaet6srn.js → state-aaet6srn.js} +2 -2
  92. package/dist/chunks/{snapshot-hd8sdafz.js → state-an0fjdax.js} +28 -28
  93. package/dist/chunks/{snapshot-eskx6s4t.js → state-anz1zs5v.js} +29 -29
  94. package/dist/chunks/{snapshot-kp95tmt8.js → state-aqxjtcsj.js} +11 -11
  95. package/dist/chunks/{snapshot-d2aac7k2.js → state-avm8jn6n.js} +5 -5
  96. package/dist/chunks/{snapshot-qdbakdjh.js → state-axs6pdy0.js} +5 -5
  97. package/dist/chunks/{snapshot-s0hdgv6r.js → state-b3x448qn.js} +17 -17
  98. package/dist/chunks/{snapshot-b6gygkdw.js → state-b6gygkdw.js} +2 -2
  99. package/dist/chunks/{snapshot-e30mydyk.js → state-b8vgw5fj.js} +12 -12
  100. package/dist/chunks/{snapshot-8xyzaf4c.js → state-b9tbzjbv.js} +7 -7
  101. package/dist/chunks/{snapshot-cmbqfntm.js → state-bdqrk2vk.js} +6 -6
  102. package/dist/chunks/{snapshot-8ngsk90k.js → state-bvgg99d4.js} +10 -10
  103. package/dist/chunks/{snapshot-8ttbyern.js → state-bwa7sjpv.js} +5 -5
  104. package/dist/chunks/{snapshot-814r7t0m.js → state-byw7mfcf.js} +24 -24
  105. package/dist/chunks/{snapshot-dz0rf8v5.js → state-c2qp786d.js} +23 -23
  106. package/dist/chunks/{snapshot-fzw1xykq.js → state-c7rpvq7c.js} +30 -30
  107. package/dist/chunks/{snapshot-jnh5bw3x.js → state-cbjpdsvm.js} +29 -29
  108. package/dist/chunks/{snapshot-krfbp5s5.js → state-cc9yd0np.js} +16 -16
  109. package/dist/chunks/{snapshot-b4twkq7r.js → state-cfsekr6v.js} +6 -6
  110. package/dist/chunks/{snapshot-bt7w8xbn.js → state-cgpscxj9.js} +13 -13
  111. package/dist/chunks/{snapshot-gpqtbvrs.js → state-chasyyfh.js} +24 -24
  112. package/dist/chunks/{snapshot-ckecvw8r.js → state-ckecvw8r.js} +2 -2
  113. package/dist/chunks/{snapshot-62svdpq9.js → state-cm2g4gk6.js} +11 -11
  114. package/dist/chunks/{snapshot-tx9w5tca.js → state-cmmdg65p.js} +8 -8
  115. package/dist/chunks/{snapshot-wa95v5q1.js → state-cp8b7tfh.js} +4 -4
  116. package/dist/chunks/{snapshot-eaarnncb.js → state-crbh5ayy.js} +15 -15
  117. package/dist/chunks/{snapshot-75bnt70h.js → state-cv56zjsy.js} +16 -16
  118. package/dist/chunks/{snapshot-djszqvmq.js → state-cwa6csj7.js} +9 -9
  119. package/dist/chunks/{snapshot-8c40j54z.js → state-cwjmqj7d.js} +16 -16
  120. package/dist/chunks/{snapshot-26j5hc29.js → state-d1fv27qq.js} +26 -26
  121. package/dist/chunks/{snapshot-ed6w8k85.js → state-d1xrdev2.js} +27 -27
  122. package/dist/chunks/{snapshot-3nnasa8h.js → state-d3nanzm1.js} +8 -8
  123. package/dist/chunks/{snapshot-aaa8vv05.js → state-d72h0ct2.js} +27 -27
  124. package/dist/chunks/{snapshot-vyer9fvq.js → state-d8nxzx5d.js} +16 -16
  125. package/dist/chunks/{snapshot-49w8mb30.js → state-dhwr7h25.js} +8 -8
  126. package/dist/chunks/{snapshot-nxm207yx.js → state-dpkg50ah.js} +4 -4
  127. package/dist/chunks/{snapshot-0zn0kjyp.js → state-dt3wvx3f.js} +21 -21
  128. package/dist/chunks/{snapshot-0aw1xztx.js → state-dwsv6nwq.js} +46 -46
  129. package/dist/chunks/{snapshot-316ce7zz.js → state-e1d45rdw.js} +12 -12
  130. package/dist/chunks/{snapshot-7j2sq87m.js → state-e6jwgc59.js} +30 -30
  131. package/dist/chunks/{snapshot-w1ad28wa.js → state-e7710hd6.js} +5 -5
  132. package/dist/chunks/{snapshot-3kftmf95.js → state-e9akvjhf.js} +23 -23
  133. package/dist/chunks/{snapshot-ef5x83kb.js → state-ef5x83kb.js} +1 -1
  134. package/dist/chunks/{snapshot-rfepttty.js → state-emfaaa2t.js} +6 -6
  135. package/dist/chunks/{snapshot-etq0c3wd.js → state-etq0c3wd.js} +1 -1
  136. package/dist/chunks/{snapshot-mgg2v3xv.js → state-etzxwssw.js} +41 -41
  137. package/dist/chunks/{snapshot-50h1eett.js → state-eyh1y9f4.js} +3 -3
  138. package/dist/chunks/{snapshot-27j20s2s.js → state-f9h36e2w.js} +23 -23
  139. package/dist/chunks/{snapshot-psv8fdh5.js → state-f9wz3e2s.js} +11 -11
  140. package/dist/chunks/{snapshot-be40ghdv.js → state-ff0svapt.js} +2 -2
  141. package/dist/chunks/{snapshot-fk6v6yp5.js → state-fgprdtmf.js} +27 -27
  142. package/dist/chunks/{snapshot-s0bjf473.js → state-fh2tfnch.js} +25 -25
  143. package/dist/chunks/{snapshot-1rh4yqvv.js → state-fhff0x2d.js} +9 -9
  144. package/dist/chunks/{snapshot-b27vhd2z.js → state-fm2qvscf.js} +4 -4
  145. package/dist/chunks/{snapshot-3vyd6h80.js → state-fsyf11as.js} +4 -4
  146. package/dist/chunks/{snapshot-z4zazqnp.js → state-g1ced42j.js} +19 -19
  147. package/dist/chunks/{snapshot-g5w8qwbj.js → state-g5w8qwbj.js} +1 -1
  148. package/dist/chunks/{snapshot-4gj1at3e.js → state-g6yxzqxx.js} +17 -17
  149. package/dist/chunks/{snapshot-dvmx0296.js → state-g82hej27.js} +3 -3
  150. package/dist/chunks/{snapshot-gd4qta3r.js → state-gd4qta3r.js} +1 -1
  151. package/dist/chunks/{snapshot-1maxcqmc.js → state-gnwckkcb.js} +20 -20
  152. package/dist/chunks/{snapshot-09dx82ap.js → state-gptt3tzt.js} +15 -15
  153. package/dist/chunks/{snapshot-gv6a8nnw.js → state-gv6a8nnw.js} +2 -2
  154. package/dist/chunks/{snapshot-x7q82ccb.js → state-gwdrm622.js} +10 -10
  155. package/dist/chunks/{snapshot-jd7tpdv6.js → state-gwna2mhe.js} +11 -11
  156. package/dist/chunks/{snapshot-dnxkq42g.js → state-gx3a42a4.js} +4 -4
  157. package/dist/chunks/{snapshot-fekt7vvr.js → state-gz4t4j50.js} +13 -13
  158. package/dist/chunks/{snapshot-9s1nteyj.js → state-h1yrgtr6.js} +20 -20
  159. package/dist/chunks/{snapshot-gf3ncq70.js → state-h2aqvaqe.js} +4 -4
  160. package/dist/chunks/{snapshot-4vhm1j57.js → state-h6bjgbqg.js} +17 -17
  161. package/dist/chunks/{snapshot-h6vf3j39.js → state-h6vf3j39.js} +1 -1
  162. package/dist/chunks/{snapshot-vxbp0t1j.js → state-h73fwzy4.js} +9 -9
  163. package/dist/chunks/{snapshot-49z3e3xs.js → state-hbjnfksx.js} +13 -13
  164. package/dist/chunks/{snapshot-41wvazb7.js → state-hgzmshwk.js} +26 -26
  165. package/dist/chunks/{snapshot-510m7gjw.js → state-hnr5yq9h.js} +5 -5
  166. package/dist/chunks/{snapshot-n0w21gj8.js → state-hqqvrbf6.js} +3 -3
  167. package/dist/chunks/{snapshot-bbewqfp5.js → state-hsr4f390.js} +12 -12
  168. package/dist/chunks/{snapshot-z7z0em5z.js → state-j3d0563g.js} +80 -80
  169. package/dist/chunks/{snapshot-j56e64zr.js → state-j56e64zr.js} +1 -1
  170. package/dist/chunks/{snapshot-ph842b28.js → state-jewzahs7.js} +4 -4
  171. package/dist/chunks/{snapshot-t0jagft1.js → state-jgt16j01.js} +16 -16
  172. package/dist/chunks/{snapshot-5r8gz6ch.js → state-jhb9dspf.js} +14 -14
  173. package/dist/chunks/{snapshot-3f66xjad.js → state-jj6avjan.js} +45 -45
  174. package/dist/chunks/{snapshot-b72deqvz.js → state-jp4bxf0b.js} +48 -48
  175. package/dist/chunks/{snapshot-ajwegkqv.js → state-jvp68s7q.js} +26 -26
  176. package/dist/chunks/{snapshot-cndcjvqj.js → state-jxebx42g.js} +21 -21
  177. package/dist/chunks/{snapshot-0cz9evgw.js → state-jytterhh.js} +4 -4
  178. package/dist/chunks/{snapshot-22mj29h5.js → state-jzgb5xky.js} +13 -13
  179. package/dist/chunks/{snapshot-zya8mb4y.js → state-k1yhx0mf.js} +20 -20
  180. package/dist/chunks/{snapshot-k3c624dm.js → state-k3c624dm.js} +3 -3
  181. package/dist/chunks/{snapshot-n5g04frr.js → state-k5ghjtzv.js} +14 -14
  182. package/dist/chunks/{snapshot-dtsstbtj.js → state-ka9kg3q0.js} +36 -36
  183. package/dist/chunks/{snapshot-xvw86k2z.js → state-kb4we5bm.js} +14 -14
  184. package/dist/chunks/{snapshot-4t7rh4ap.js → state-kg9rvkrr.js} +24 -24
  185. package/dist/chunks/{snapshot-9e1qne40.js → state-kkpyfm5t.js} +34 -34
  186. package/dist/chunks/{snapshot-zdfwzf06.js → state-kmy8da6b.js} +10 -10
  187. package/dist/chunks/{snapshot-ey2qf0wj.js → state-kn5am6yy.js} +46 -46
  188. package/dist/chunks/{snapshot-m3fdjcah.js → state-m3fdjcah.js} +1 -1
  189. package/dist/chunks/{snapshot-sp62m1hk.js → state-m48gk93k.js} +12 -12
  190. package/dist/chunks/{snapshot-m58kmhef.js → state-m58kmhef.js} +2 -2
  191. package/dist/chunks/{snapshot-b68k1fjk.js → state-m5skzvyv.js} +4 -4
  192. package/dist/chunks/{snapshot-jxqj1pxj.js → state-m67aag9e.js} +22 -22
  193. package/dist/chunks/{snapshot-7a61m52j.js → state-m6vzghbm.js} +4 -4
  194. package/dist/chunks/{snapshot-152bgcwg.js → state-m9s7qv8x.js} +30 -30
  195. package/dist/chunks/{snapshot-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
  196. package/dist/chunks/{snapshot-07sbefbg.js → state-md2ktbcf.js} +15 -15
  197. package/dist/chunks/{snapshot-sjffceq3.js → state-mxy2bzd7.js} +34 -34
  198. package/dist/chunks/{snapshot-5g9cra57.js → state-n73fkcwy.js} +11 -11
  199. package/dist/chunks/{snapshot-xtp80gnm.js → state-ns8ct35d.js} +30 -30
  200. package/dist/chunks/{snapshot-tsxvngeh.js → state-ns8p33ds.js} +15 -15
  201. package/dist/chunks/{snapshot-ctpwagsm.js → state-p77z413r.js} +10 -10
  202. package/dist/chunks/{snapshot-9hn6k4tm.js → state-pa8pe2x7.js} +8 -8
  203. package/dist/chunks/{snapshot-pjvnvgmy.js → state-pjvnvgmy.js} +1 -1
  204. package/dist/chunks/{snapshot-pknna89w.js → state-pknna89w.js} +1 -1
  205. package/dist/chunks/{snapshot-nq7qbqzc.js → state-pnv527nz.js} +9 -9
  206. package/dist/chunks/{snapshot-xch80j94.js → state-pr5bwn0j.js} +2 -2
  207. package/dist/chunks/{snapshot-a634wwcc.js → state-pxz53wth.js} +4 -4
  208. package/dist/chunks/{snapshot-zm0epfsh.js → state-q5gv92h7.js} +72 -72
  209. package/dist/chunks/{snapshot-sta4ktta.js → state-q8f45dp9.js} +63 -63
  210. package/dist/chunks/{snapshot-hbey94jb.js → state-qbm7jezs.js} +9 -9
  211. package/dist/chunks/{snapshot-v606x47v.js → state-qk0w6ykp.js} +6 -6
  212. package/dist/chunks/{snapshot-qsdy395h.js → state-qsdy395h.js} +1 -1
  213. package/dist/chunks/{snapshot-wgxh2d88.js → state-qvc7rwfe.js} +10 -10
  214. package/dist/chunks/{snapshot-5d7szfme.js → state-qxz26mk9.js} +44 -44
  215. package/dist/chunks/{snapshot-dh7fttfm.js → state-r11gfdxy.js} +4 -4
  216. package/dist/chunks/{snapshot-rdw6cm16.js → state-rdw6cm16.js} +1 -1
  217. package/dist/chunks/{snapshot-trc87syc.js → state-rmyrmc3b.js} +35 -35
  218. package/dist/chunks/{snapshot-sy5v20eg.js → state-rwbt1vvv.js} +5 -5
  219. package/dist/chunks/{snapshot-vr5gng7d.js → state-rzke9gk0.js} +41 -41
  220. package/dist/chunks/{snapshot-a2stqqyr.js → state-s2rv4ncm.js} +3 -3
  221. package/dist/chunks/{snapshot-zchqraft.js → state-s3cc2cs9.js} +5 -5
  222. package/dist/chunks/{snapshot-3vypprt0.js → state-s41z59kz.js} +22 -22
  223. package/dist/chunks/{snapshot-s4enseaf.js → state-s4enseaf.js} +2 -2
  224. package/dist/chunks/{snapshot-w4d186nr.js → state-s72bj1y6.js} +9 -9
  225. package/dist/chunks/{snapshot-s8d7rejh.js → state-s8d7rejh.js} +1 -1
  226. package/dist/chunks/{snapshot-nfj3m07c.js → state-sa273yf3.js} +10 -10
  227. package/dist/chunks/{snapshot-g31myzr9.js → state-sfn0p3x3.js} +16 -16
  228. package/dist/chunks/{snapshot-0td4cz49.js → state-sm77csgv.js} +3 -3
  229. package/dist/chunks/{snapshot-5ga8gx0r.js → state-spb6tddc.js} +23 -23
  230. package/dist/chunks/{snapshot-4mwpykj0.js → state-sxzvkvgj.js} +6 -6
  231. package/dist/chunks/{snapshot-qg8fr7dx.js → state-t0r3rek8.js} +3 -3
  232. package/dist/chunks/{snapshot-a9mvht4x.js → state-t6kcjggt.js} +13 -13
  233. package/dist/chunks/{snapshot-5ngaw42y.js → state-tag6x3x4.js} +12 -12
  234. package/dist/chunks/{snapshot-tazgh4e4.js → state-tazgh4e4.js} +1 -1
  235. package/dist/chunks/{snapshot-tcezcvh9.js → state-tcezcvh9.js} +1 -1
  236. package/dist/chunks/{snapshot-tdstcens.js → state-tdstcens.js} +1 -1
  237. package/dist/chunks/{snapshot-qyj5w459.js → state-thkpyy1e.js} +20 -20
  238. package/dist/chunks/{snapshot-tvtrv512.js → state-tvtrv512.js} +1 -1
  239. package/dist/chunks/state-txavf3vy.js +252 -0
  240. package/dist/chunks/{snapshot-be6z6n5p.js → state-vajs8ne8.js} +11 -11
  241. package/dist/chunks/{snapshot-hrcmt3m6.js → state-vbmd7ks8.js} +3 -3
  242. package/dist/chunks/{snapshot-0v53mg2y.js → state-ve4pfa0n.js} +4 -4
  243. package/dist/chunks/{snapshot-veqvce7d.js → state-veqvce7d.js} +1 -1
  244. package/dist/chunks/{snapshot-1me4e2bc.js → state-vfgebdsx.js} +15 -15
  245. package/dist/chunks/{snapshot-bq7xdv31.js → state-vg6qrb8m.js} +24 -24
  246. package/dist/chunks/{snapshot-043b8jmc.js → state-vm3v4gr3.js} +13 -13
  247. package/dist/chunks/{snapshot-t51qk8jz.js → state-vsp1fds9.js} +4 -4
  248. package/dist/chunks/{snapshot-ky8wwzrv.js → state-vz2meb4r.js} +20 -20
  249. package/dist/chunks/{snapshot-vzcthcp8.js → state-vzcthcp8.js} +1 -1
  250. package/dist/chunks/{snapshot-vzs5sf6e.js → state-vzs5sf6e.js} +1 -1
  251. package/dist/chunks/{snapshot-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
  252. package/dist/chunks/{snapshot-8w929ddg.js → state-w969batc.js} +20 -20
  253. package/dist/chunks/{snapshot-wd3x2cqz.js → state-wd3x2cqz.js} +2 -2
  254. package/dist/chunks/{snapshot-wd87259q.js → state-wd87259q.js} +1 -1
  255. package/dist/chunks/{snapshot-bx8mrgdk.js → state-wfwxzv8g.js} +5 -5
  256. package/dist/chunks/{snapshot-x2kchej3.js → state-wh176n5n.js} +5 -5
  257. package/dist/chunks/{snapshot-zhb36em6.js → state-wh8p5p12.js} +46 -46
  258. package/dist/chunks/{snapshot-v829nrsn.js → state-wvvff302.js} +11 -11
  259. package/dist/chunks/{snapshot-h4q8tfed.js → state-ww4pz79z.js} +6 -6
  260. package/dist/chunks/{snapshot-91qsytyh.js → state-wyetx6hk.js} +3 -3
  261. package/dist/chunks/{snapshot-jk8em1h8.js → state-x1c67pw4.js} +42 -42
  262. package/dist/chunks/{snapshot-x1ezjp6w.js → state-x1ezjp6w.js} +1 -1
  263. package/dist/chunks/{snapshot-7nbv2x26.js → state-xcd3tayp.js} +13 -13
  264. package/dist/chunks/{snapshot-ryv6qtp6.js → state-xe9sg8zb.js} +14 -14
  265. package/dist/chunks/{snapshot-e0mh0qs5.js → state-xjtv0ejd.js} +18 -18
  266. package/dist/chunks/{snapshot-98pm09xw.js → state-xk6fmnkg.js} +15 -15
  267. package/dist/chunks/{snapshot-dmqcgk4z.js → state-xkntkrq7.js} +5 -5
  268. package/dist/chunks/{snapshot-cg6e4qvp.js → state-xq5cbp2j.js} +9 -9
  269. package/dist/chunks/{snapshot-19yc5jyw.js → state-xsd4ddn1.js} +8 -8
  270. package/dist/chunks/{snapshot-pevdf72a.js → state-xt02y0n1.js} +10 -10
  271. package/dist/chunks/{snapshot-gvdtgxnw.js → state-xt29f2pd.js} +27 -27
  272. package/dist/chunks/{snapshot-xx0efrt7.js → state-xx0efrt7.js} +1 -1
  273. package/dist/chunks/{snapshot-y1fvbwt7.js → state-y1fvbwt7.js} +1 -1
  274. package/dist/chunks/{snapshot-yr715y08.js → state-y56ehv6b.js} +9 -9
  275. package/dist/chunks/{snapshot-h6310vsd.js → state-y5rf7nzv.js} +4 -4
  276. package/dist/chunks/{snapshot-3gvbhe7n.js → state-y8t82fx5.js} +12 -12
  277. package/dist/chunks/{snapshot-fza3nsvy.js → state-ydhe5npn.js} +33 -33
  278. package/dist/chunks/{snapshot-8p038cpw.js → state-ym7mf8x8.js} +15 -15
  279. package/dist/chunks/{snapshot-yrhqyw5v.js → state-yrhqyw5v.js} +1 -1
  280. package/dist/chunks/{snapshot-sgqa7ttb.js → state-yvq8qe6t.js} +20 -20
  281. package/dist/chunks/{snapshot-z07pqspn.js → state-z07pqspn.js} +3 -3
  282. package/dist/chunks/{snapshot-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
  283. package/dist/chunks/{snapshot-3w2b2yj4.js → state-z3pw5915.js} +5 -5
  284. package/dist/chunks/{snapshot-zeh9ct20.js → state-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{snapshot-2zf1cg0m.js → state-zf62gzsh.js} +3 -3
  286. package/dist/chunks/{snapshot-w0bb3aaj.js → state-zgc61ws8.js} +5 -5
  287. package/dist/chunks/{snapshot-etjd6qr8.js → state-zgzqctvw.js} +11 -11
  288. package/dist/chunks/{snapshot-m09x4zgs.js → state-zh8n6fvg.js} +3 -3
  289. package/dist/chunks/{snapshot-zr2ceqn5.js → state-zr2ceqn5.js} +1 -1
  290. package/dist/chunks/{snapshot-zxq2ej10.js → state-zxq2ej10.js} +1 -1
  291. package/dist/chunks/{snapshot-fw2v9256.js → state-zxs6a24a.js} +8 -8
  292. package/dist/chunks/{snapshot-4qfzqxz8.js → state-zzd0v6bh.js} +8 -8
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +9 -9
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +77 -77
  298. package/dist/config/discovery.js +82 -82
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +106 -106
  301. package/dist/config/plugin/agent.js +125 -125
  302. package/dist/config/plugin/command.js +215 -215
  303. package/dist/config/plugin/compaction.js +161 -161
  304. package/dist/config/plugin/compatibility.js +141 -141
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +124 -124
  307. package/dist/config/plugin/image.js +123 -123
  308. package/dist/config/plugin/instruction.js +90 -90
  309. package/dist/config/plugin/location-watcher.js +123 -123
  310. package/dist/config/plugin/mcp.js +132 -132
  311. package/dist/config/plugin/policy.js +124 -124
  312. package/dist/config/plugin/provider.js +123 -123
  313. package/dist/config/plugin/reference.js +125 -125
  314. package/dist/config/plugin/shell.js +125 -125
  315. package/dist/config/plugin/skill-file.js +102 -102
  316. package/dist/config/plugin/skill.js +144 -144
  317. package/dist/config/plugin/snapshot.js +123 -123
  318. package/dist/config/plugin/source.js +126 -126
  319. package/dist/config/plugin/tool-output.js +125 -125
  320. package/dist/config/plugin/websearch.js +124 -124
  321. package/dist/config/plugin/worktree.js +125 -125
  322. package/dist/config/variable.js +3 -3
  323. package/dist/config/watch.js +1 -1
  324. package/dist/config.js +128 -128
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +81 -81
  327. package/dist/database/database.js +66 -66
  328. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  329. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +15 -15
  332. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  335. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  343. package/dist/database/drizzle.js +16 -16
  344. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  345. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  346. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  347. package/dist/database/migration/20260225215848_workspace.js +1 -1
  348. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  349. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  350. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  351. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  352. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  353. package/dist/database/migration/20260323234822_events.js +1 -1
  354. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  355. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  356. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  357. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  358. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  359. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  360. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  361. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  362. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  363. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  364. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  365. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  366. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  367. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  368. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  369. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  370. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  371. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  372. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  373. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  374. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  375. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  376. package/dist/database/migration/20260611035744_credential.js +1 -1
  377. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  378. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  379. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  380. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  381. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  382. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  383. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  384. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  385. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  386. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  387. package/dist/database/migration/20260812213948_worktree.js +1 -1
  388. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  389. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  390. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  391. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  392. package/dist/database/migration.gen.js +49 -49
  393. package/dist/database/migration.js +51 -51
  394. package/dist/database/path.js +2 -2
  395. package/dist/database/schema.gen.js +1 -1
  396. package/dist/database/schema.sql.js +1 -1
  397. package/dist/database/sqlite.bun.js +1 -1
  398. package/dist/database/sqlite.js +1 -1
  399. package/dist/database/sqlite.node.js +1 -1
  400. package/dist/database/sqlite.workerd.js +1 -1
  401. package/dist/database/v1-migration.bun.js +76 -76
  402. package/dist/database/v1-migration.js +1 -1
  403. package/dist/effect/app-node-builder.js +367 -367
  404. package/dist/effect/app-node-platform.js +2 -2
  405. package/dist/effect/keyed-mutex.js +3 -3
  406. package/dist/effect/websocket-constructor.js +1 -1
  407. package/dist/environment/driver.js +1 -1
  408. package/dist/environment/environment.js +93 -93
  409. package/dist/environment/exec-defaults.js +2 -2
  410. package/dist/environment/files.js +1 -1
  411. package/dist/environment/index.js +95 -95
  412. package/dist/environment/local.js +2 -2
  413. package/dist/environment/memory.js +2 -2
  414. package/dist/environment/unavailable.js +1 -1
  415. package/dist/event/sql.js +1 -1
  416. package/dist/event-logger.js +70 -70
  417. package/dist/file-access.js +102 -102
  418. package/dist/file-mutation.js +94 -94
  419. package/dist/file-retention.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/ignore.js +1 -1
  425. package/dist/filesystem/location-watcher-policy.js +6 -6
  426. package/dist/filesystem/location-watcher.js +226 -226
  427. package/dist/filesystem/protected.js +1 -1
  428. package/dist/filesystem/search.js +103 -103
  429. package/dist/filesystem/watcher-binding.js +1 -1
  430. package/dist/filesystem/watcher.js +13 -13
  431. package/dist/filesystem.js +106 -106
  432. package/dist/form.js +84 -84
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +87 -87
  435. package/dist/generate.js +105 -105
  436. package/dist/git.js +6 -6
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +91 -91
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +6 -6
  459. package/dist/instance/service.js +5 -5
  460. package/dist/instance.js +363 -363
  461. package/dist/instruction-discovery.js +83 -83
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +1 -1
  464. package/dist/integration/connection.js +3 -3
  465. package/dist/integration.js +85 -85
  466. package/dist/job.js +77 -77
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +126 -126
  470. package/dist/location-lifecycle.js +103 -103
  471. package/dist/location-service-map.js +82 -82
  472. package/dist/location-services.js +360 -360
  473. package/dist/location.js +89 -89
  474. package/dist/managed-policy.js +5 -5
  475. package/dist/mcp/client.js +91 -91
  476. package/dist/mcp/index.js +107 -107
  477. package/dist/mcp/instructions.js +129 -129
  478. package/dist/mcp/oauth.js +78 -78
  479. package/dist/mcp/stdio.js +90 -90
  480. package/dist/mime.js +1 -1
  481. package/dist/modal/models.js +91 -91
  482. package/dist/model-resolver.js +92 -92
  483. package/dist/model.js +98 -98
  484. package/dist/models-dev.js +97 -97
  485. package/dist/oauth/page.js +1 -1
  486. package/dist/permission/saved.js +80 -80
  487. package/dist/permission/sql.js +5 -5
  488. package/dist/permission.js +107 -107
  489. package/dist/persistent-pty/binary.bun.js +1 -1
  490. package/dist/persistent-pty/daemon.js +1 -1
  491. package/dist/persistent-pty/index.js +88 -88
  492. package/dist/persistent-pty/pty-binding.js +1 -1
  493. package/dist/persistent-pty.js +75 -75
  494. package/dist/plugin/agent.js +104 -104
  495. package/dist/plugin/command.js +102 -102
  496. package/dist/plugin/hooks.js +5 -5
  497. package/dist/plugin/host.js +219 -219
  498. package/dist/plugin/identity.js +3 -3
  499. package/dist/plugin/instance.js +5 -5
  500. package/dist/plugin/internal.js +335 -335
  501. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  502. package/dist/plugin/models-dev.js +96 -96
  503. package/dist/plugin/module.js +7 -7
  504. package/dist/plugin/optimize.js +4 -4
  505. package/dist/plugin/plan.js +102 -102
  506. package/dist/plugin/promise.js +1 -1
  507. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  508. package/dist/plugin/provider/azure.js +124 -124
  509. package/dist/plugin/provider/cerebras.js +1 -1
  510. package/dist/plugin/provider/chatgpt.js +93 -93
  511. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  512. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  513. package/dist/plugin/provider/cohere.js +2 -2
  514. package/dist/plugin/provider/configured.js +119 -119
  515. package/dist/plugin/provider/digitalocean.js +93 -93
  516. package/dist/plugin/provider/dynamic.js +2 -2
  517. package/dist/plugin/provider/factory.js +1 -1
  518. package/dist/plugin/provider/gateway.js +2 -2
  519. package/dist/plugin/provider/github-copilot.js +95 -95
  520. package/dist/plugin/provider/gitlab.js +93 -93
  521. package/dist/plugin/provider/google-vertex.js +90 -90
  522. package/dist/plugin/provider/kilo.js +1 -1
  523. package/dist/plugin/provider/llmgateway.js +78 -78
  524. package/dist/plugin/provider/lmstudio.js +122 -122
  525. package/dist/plugin/provider/modal.js +92 -92
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +122 -122
  528. package/dist/plugin/provider/openai.js +95 -95
  529. package/dist/plugin/provider/opencode.js +95 -95
  530. package/dist/plugin/provider/openrouter.js +91 -91
  531. package/dist/plugin/provider/perplexity.js +2 -2
  532. package/dist/plugin/provider/poe.js +79 -79
  533. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  534. package/dist/plugin/provider/sap-ai-core.js +91 -91
  535. package/dist/plugin/provider/sdk-factory.js +1 -1
  536. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  537. package/dist/plugin/provider/venice.js +2 -2
  538. package/dist/plugin/provider/vercel.js +90 -90
  539. package/dist/plugin/provider/vllm.js +122 -122
  540. package/dist/plugin/provider/xai.js +91 -91
  541. package/dist/plugin/provider/zenmux.js +1 -1
  542. package/dist/plugin/provider.js +163 -163
  543. package/dist/plugin/sdk.js +76 -76
  544. package/dist/plugin/service.js +3 -3
  545. package/dist/plugin/skill.js +141 -141
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +354 -354
  548. package/dist/plugin/tool-input-repair.js +4 -4
  549. package/dist/plugin/update.js +6 -6
  550. package/dist/plugin/vcs/git.js +86 -86
  551. package/dist/plugin/vcs/hg.js +86 -86
  552. package/dist/plugin/verbosity.js +93 -93
  553. package/dist/plugin/warming.js +121 -121
  554. package/dist/plugin/websearch/exa.js +5 -5
  555. package/dist/plugin/websearch/firecrawl.js +8 -8
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +6 -6
  558. package/dist/plugin/websearch/parallel.js +6 -6
  559. package/dist/plugin/websearch/tavily.js +6 -6
  560. package/dist/plugin/websearch/tinyfish.js +8 -8
  561. package/dist/plugin.js +224 -224
  562. package/dist/project/schema.js +2 -2
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +80 -80
  565. package/dist/provider.js +97 -97
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +99 -99
  569. package/dist/reference/instructions.js +89 -89
  570. package/dist/reference.js +89 -89
  571. package/dist/repository-cache.js +81 -81
  572. package/dist/repository.js +1 -1
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +97 -97
  575. package/dist/rpc.js +86 -86
  576. package/dist/schema.js +1 -1
  577. package/dist/session/affinity.js +1 -1
  578. package/dist/session/command.js +74 -74
  579. package/dist/session/compaction.js +133 -133
  580. package/dist/session/context.js +153 -153
  581. package/dist/session/diff.js +88 -88
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +3 -3
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +219 -219
  586. package/dist/session/execution.js +128 -128
  587. package/dist/session/generate.js +154 -154
  588. package/dist/session/history.js +13 -13
  589. package/dist/session/inbox.js +88 -88
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +77 -77
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +97 -97
  594. package/dist/session/message-updater.js +4 -4
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +120 -120
  597. package/dist/session/model-transport.js +9 -9
  598. package/dist/session/move.js +130 -130
  599. package/dist/session/projector.js +86 -86
  600. package/dist/session/prompt.js +105 -105
  601. package/dist/session/provider-context.js +3 -3
  602. package/dist/session/revert.js +90 -90
  603. package/dist/session/run-coordinator.js +3 -3
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +232 -232
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +98 -98
  608. package/dist/session/runner/publish-llm-event.js +3 -3
  609. package/dist/session/runner/retry.js +4 -4
  610. package/dist/session/runner/step.js +126 -126
  611. package/dist/session/runner/to-llm-message.js +2 -2
  612. package/dist/session/schema.js +5 -5
  613. package/dist/session/session.js +172 -172
  614. package/dist/session/shell.js +138 -138
  615. package/dist/session/skill.js +103 -103
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +73 -73
  618. package/dist/session/store.js +83 -83
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +211 -211
  621. package/dist/session/system-prompt.js +1 -1
  622. package/dist/session/title.js +157 -157
  623. package/dist/session/to-session-error.js +111 -111
  624. package/dist/session/transfer.js +214 -214
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +217 -217
  627. package/dist/shell/parse.js +6 -6
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +9 -9
  631. package/dist/shell.js +140 -140
  632. package/dist/skill/discovery.js +6 -6
  633. package/dist/skill/instructions.js +105 -105
  634. package/dist/skill.js +106 -106
  635. package/dist/snapshot.js +91 -91
  636. package/dist/state.js +1 -1
  637. package/dist/tool/html-markdown.js +1 -1
  638. package/dist/tool/http-body.js +1 -1
  639. package/dist/tool/mcp.js +128 -128
  640. package/dist/tool/plugin/edit.js +116 -116
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +124 -124
  643. package/dist/tool/plugin/grep.js +124 -124
  644. package/dist/tool/plugin/mcp-resource.js +117 -117
  645. package/dist/tool/plugin/opencode.js +3 -3
  646. package/dist/tool/plugin/patch.js +122 -122
  647. package/dist/tool/plugin/question.js +105 -105
  648. package/dist/tool/plugin/read.js +125 -125
  649. package/dist/tool/plugin/shell.js +218 -218
  650. package/dist/tool/plugin/skill.js +111 -111
  651. package/dist/tool/plugin/subagent.js +220 -220
  652. package/dist/tool/plugin/webfetch.js +106 -106
  653. package/dist/tool/plugin/websearch.js +114 -114
  654. package/dist/tool/plugin/write.js +122 -122
  655. package/dist/tool/read-filesystem.js +100 -100
  656. package/dist/tool/runtime.js +1 -1
  657. package/dist/tool-output.js +8 -8
  658. package/dist/tool.js +16 -16
  659. package/dist/util/error-summary.js +1 -1
  660. package/dist/util/error.js +1 -1
  661. package/dist/util/git-executable.js +2 -2
  662. package/dist/util/iife.js +1 -1
  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 +5 -5
  669. package/dist/v1/config/attachment.js +4 -4
  670. package/dist/v1/config/command.js +3 -3
  671. package/dist/v1/config/config.js +14 -14
  672. package/dist/v1/config/error.js +2 -2
  673. package/dist/v1/config/formatter.js +5 -5
  674. package/dist/v1/config/layout.js +1 -1
  675. package/dist/v1/config/lsp.js +5 -5
  676. package/dist/v1/config/mcp.js +4 -4
  677. package/dist/v1/config/migrate.js +92 -92
  678. package/dist/v1/config/permission.js +3 -3
  679. package/dist/v1/config/plugin.js +1 -1
  680. package/dist/v1/config/provider-options.js +1 -1
  681. package/dist/v1/config/provider.js +4 -4
  682. package/dist/v1/config/server.js +2 -2
  683. package/dist/v1/config/skills.js +3 -3
  684. package/dist/v1/permission.js +1 -1
  685. package/dist/variant.js +91 -91
  686. package/dist/vcs/patch.js +1 -1
  687. package/dist/vcs.js +89 -89
  688. package/dist/websearch.js +82 -82
  689. package/dist/wellknown/plugin.js +76 -76
  690. package/dist/wellknown.js +77 -77
  691. package/dist/workspace/driver.js +5 -5
  692. package/dist/workspace/sql.js +1 -1
  693. package/dist/workspace.js +80 -80
  694. package/dist/worktree/directory.js +2 -2
  695. package/dist/worktree/git.js +8 -8
  696. package/dist/worktree/sql.js +5 -5
  697. package/dist/worktree/strategies.js +89 -89
  698. package/dist/worktree.js +96 -96
  699. package/package.json +8 -8
  700. package/dist/chunks/snapshot-4v7qdvcn.js +0 -18
  701. package/dist/chunks/snapshot-8n1b7jj6.js +0 -252
  702. package/dist/chunks/snapshot-mxeyzb01.js +0 -26
  703. /package/dist/chunks/{snapshot-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
  704. /package/dist/chunks/{snapshot-0zkw76rk.js → state-0zkw76rk.js} +0 -0
  705. /package/dist/chunks/{snapshot-17cy0kzp.js → state-17cy0kzp.js} +0 -0
  706. /package/dist/chunks/{snapshot-1cnp2v09.js → state-1cnp2v09.js} +0 -0
  707. /package/dist/chunks/{snapshot-1kg9ymc8.js → state-1kg9ymc8.js} +0 -0
  708. /package/dist/chunks/{snapshot-24dcb14g.js → state-24dcb14g.js} +0 -0
  709. /package/dist/chunks/{snapshot-2710q6r3.js → state-2710q6r3.js} +0 -0
  710. /package/dist/chunks/{snapshot-2axfhc9x.js → state-2axfhc9x.js} +0 -0
  711. /package/dist/chunks/{snapshot-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
  712. /package/dist/chunks/{snapshot-34c7v6d4.js → state-34c7v6d4.js} +0 -0
  713. /package/dist/chunks/{snapshot-359p4xyc.js → state-359p4xyc.js} +0 -0
  714. /package/dist/chunks/{snapshot-3asan66x.js → state-3asan66x.js} +0 -0
  715. /package/dist/chunks/{snapshot-3v8g72cx.js → state-3v8g72cx.js} +0 -0
  716. /package/dist/chunks/{snapshot-3w5fmr99.js → state-3w5fmr99.js} +0 -0
  717. /package/dist/chunks/{snapshot-3wcehsnq.js → state-3wcehsnq.js} +0 -0
  718. /package/dist/chunks/{snapshot-43n2bw4t.js → state-43n2bw4t.js} +0 -0
  719. /package/dist/chunks/{snapshot-4knz6hnm.js → state-4knz6hnm.js} +0 -0
  720. /package/dist/chunks/{snapshot-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
  721. /package/dist/chunks/{snapshot-4y7fprxs.js → state-4y7fprxs.js} +0 -0
  722. /package/dist/chunks/{snapshot-53557ph1.js → state-53557ph1.js} +0 -0
  723. /package/dist/chunks/{snapshot-550bvhaj.js → state-550bvhaj.js} +0 -0
  724. /package/dist/chunks/{snapshot-6prwharc.js → state-6prwharc.js} +0 -0
  725. /package/dist/chunks/{snapshot-7akdwqpd.js → state-7akdwqpd.js} +0 -0
  726. /package/dist/chunks/{snapshot-7m9af43g.js → state-7m9af43g.js} +0 -0
  727. /package/dist/chunks/{snapshot-822emrt2.js → state-822emrt2.js} +0 -0
  728. /package/dist/chunks/{snapshot-88xbtdfr.js → state-88xbtdfr.js} +0 -0
  729. /package/dist/chunks/{snapshot-8n3pysct.js → state-8n3pysct.js} +0 -0
  730. /package/dist/chunks/{snapshot-8wj87zfr.js → state-8wj87zfr.js} +0 -0
  731. /package/dist/chunks/{snapshot-922hggd3.js → state-922hggd3.js} +0 -0
  732. /package/dist/chunks/{snapshot-9a4afbnw.js → state-9a4afbnw.js} +0 -0
  733. /package/dist/chunks/{snapshot-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
  734. /package/dist/chunks/{snapshot-a6k6eb26.js → state-a6k6eb26.js} +0 -0
  735. /package/dist/chunks/{snapshot-af5trqkr.js → state-af5trqkr.js} +0 -0
  736. /package/dist/chunks/{snapshot-afrmfg78.js → state-afrmfg78.js} +0 -0
  737. /package/dist/chunks/{snapshot-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
  738. /package/dist/chunks/{snapshot-atq7p7m5.js → state-atq7p7m5.js} +0 -0
  739. /package/dist/chunks/{snapshot-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
  740. /package/dist/chunks/{snapshot-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
  741. /package/dist/chunks/{snapshot-cf4snx6d.js → state-cf4snx6d.js} +0 -0
  742. /package/dist/chunks/{snapshot-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
  743. /package/dist/chunks/{snapshot-d9fn303g.js → state-d9fn303g.js} +0 -0
  744. /package/dist/chunks/{snapshot-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
  745. /package/dist/chunks/{snapshot-dajrwvna.js → state-dajrwvna.js} +0 -0
  746. /package/dist/chunks/{snapshot-dap0rakb.js → state-dap0rakb.js} +0 -0
  747. /package/dist/chunks/{snapshot-df08tz66.js → state-df08tz66.js} +0 -0
  748. /package/dist/chunks/{snapshot-dy18nga0.js → state-dy18nga0.js} +0 -0
  749. /package/dist/chunks/{snapshot-e3qxr5gk.js → state-e3qxr5gk.js} +0 -0
  750. /package/dist/chunks/{snapshot-e5kj55wp.js → state-e5kj55wp.js} +0 -0
  751. /package/dist/chunks/{snapshot-e73j6tqm.js → state-e73j6tqm.js} +0 -0
  752. /package/dist/chunks/{snapshot-ec1grn59.js → state-ec1grn59.js} +0 -0
  753. /package/dist/chunks/{snapshot-eh3zwz77.js → state-eh3zwz77.js} +0 -0
  754. /package/dist/chunks/{snapshot-emrn6kk6.js → state-emrn6kk6.js} +0 -0
  755. /package/dist/chunks/{snapshot-f0mxakyp.js → state-f0mxakyp.js} +0 -0
  756. /package/dist/chunks/{snapshot-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
  757. /package/dist/chunks/{snapshot-faypxj3z.js → state-faypxj3z.js} +0 -0
  758. /package/dist/chunks/{snapshot-fd410y7t.js → state-fd410y7t.js} +0 -0
  759. /package/dist/chunks/{snapshot-fxgpk5d8.js → state-fxgpk5d8.js} +0 -0
  760. /package/dist/chunks/{snapshot-g4wezp1m.js → state-g4wezp1m.js} +0 -0
  761. /package/dist/chunks/{snapshot-g86h250q.js → state-g86h250q.js} +0 -0
  762. /package/dist/chunks/{snapshot-gebd4c9n.js → state-gebd4c9n.js} +0 -0
  763. /package/dist/chunks/{snapshot-gftt206x.js → state-gftt206x.js} +0 -0
  764. /package/dist/chunks/{snapshot-hjbc5kem.js → state-hjbc5kem.js} +0 -0
  765. /package/dist/chunks/{snapshot-hk9envan.js → state-hk9envan.js} +0 -0
  766. /package/dist/chunks/{snapshot-j2ntwpah.js → state-j2ntwpah.js} +0 -0
  767. /package/dist/chunks/{snapshot-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
  768. /package/dist/chunks/{snapshot-jjkms2e6.js → state-jjkms2e6.js} +0 -0
  769. /package/dist/chunks/{snapshot-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
  770. /package/dist/chunks/{snapshot-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
  771. /package/dist/chunks/{snapshot-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
  772. /package/dist/chunks/{snapshot-mp448xyj.js → state-mp448xyj.js} +0 -0
  773. /package/dist/chunks/{snapshot-msx8hqn2.js → state-msx8hqn2.js} +0 -0
  774. /package/dist/chunks/{snapshot-n05xt0ee.js → state-n05xt0ee.js} +0 -0
  775. /package/dist/chunks/{snapshot-n3j8tn72.js → state-n3j8tn72.js} +0 -0
  776. /package/dist/chunks/{snapshot-njntx4h6.js → state-njntx4h6.js} +0 -0
  777. /package/dist/chunks/{snapshot-q3sfg36h.js → state-q3sfg36h.js} +0 -0
  778. /package/dist/chunks/{snapshot-q74kybfr.js → state-q74kybfr.js} +0 -0
  779. /package/dist/chunks/{snapshot-qaymkmh1.js → state-qaymkmh1.js} +0 -0
  780. /package/dist/chunks/{snapshot-qb87gjwd.js → state-qb87gjwd.js} +0 -0
  781. /package/dist/chunks/{snapshot-qfa1cgps.js → state-qfa1cgps.js} +0 -0
  782. /package/dist/chunks/{snapshot-qg3g05ea.js → state-qg3g05ea.js} +0 -0
  783. /package/dist/chunks/{snapshot-qrg20bc0.js → state-qrg20bc0.js} +0 -0
  784. /package/dist/chunks/{snapshot-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
  785. /package/dist/chunks/{snapshot-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
  786. /package/dist/chunks/{snapshot-sk3qaz4a.js → state-sk3qaz4a.js} +0 -0
  787. /package/dist/chunks/{snapshot-ssg3fenm.js → state-ssg3fenm.js} +0 -0
  788. /package/dist/chunks/{snapshot-w803qqfp.js → state-w803qqfp.js} +0 -0
  789. /package/dist/chunks/{snapshot-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
  790. /package/dist/chunks/{snapshot-wer8tq1h.js → state-wer8tq1h.js} +0 -0
  791. /package/dist/chunks/{snapshot-wtztk69x.js → state-wtztk69x.js} +0 -0
  792. /package/dist/chunks/{snapshot-x0ckcb58.js → state-x0ckcb58.js} +0 -0
  793. /package/dist/chunks/{snapshot-x61499pn.js → state-x61499pn.js} +0 -0
  794. /package/dist/chunks/{snapshot-y44na4kk.js → state-y44na4kk.js} +0 -0
  795. /package/dist/chunks/{snapshot-y8cydn3q.js → state-y8cydn3q.js} +0 -0
  796. /package/dist/chunks/{snapshot-y8f7s663.js → state-y8f7s663.js} +0 -0
  797. /package/dist/chunks/{snapshot-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
  798. /package/dist/chunks/{snapshot-ym463w8f.js → state-ym463w8f.js} +0 -0
  799. /package/dist/chunks/{snapshot-z9919s4g.js → state-z9919s4g.js} +0 -0
@@ -2,26 +2,26 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./snapshot-922hggd3.js";
5
+ } from "./state-922hggd3.js";
6
6
  import {
7
- Service66,
8
- node69
9
- } from "./snapshot-bq7xdv31.js";
7
+ Service74,
8
+ node77
9
+ } from "./state-vg6qrb8m.js";
10
10
  import {
11
11
  RipgrepBinary2
12
- } from "./snapshot-8d7r5vzw.js";
12
+ } from "./state-8d7r5vzw.js";
13
13
  import {
14
14
  __export
15
- } from "./snapshot-9rqn6x4v.js";
15
+ } from "./state-9rqn6x4v.js";
16
16
 
17
17
  // src/ripgrep.ts
18
18
  var exports_ripgrep = {};
19
19
  __export(exports_ripgrep, {
20
- Error: () => Error2,
20
+ Error: () => Error4,
21
21
  InvalidPatternError: () => InvalidPatternError2,
22
22
  Ripgrep: () => exports_ripgrep,
23
- Service: () => Service48,
24
- node: () => node50
23
+ Service: () => Service63,
24
+ node: () => node66
25
25
  });
26
26
  import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
27
27
  import { ChildProcess } from "effect/unstable/process";
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
46
46
  });
47
47
  var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
48
48
 
49
- class Error2 extends Schema.TaggedError()("Ripgrep.Error", {
49
+ class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
50
50
  message: Schema.String,
51
51
  cause: Schema.optional(Schema.Defect())
52
52
  }) {
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
58
58
  }) {
59
59
  }
60
60
 
61
- class Service48 extends Context.Service()("@opencode/Ripgrep") {
61
+ class Service63 extends Context.Service()("@opencode/Ripgrep") {
62
62
  }
63
- var failure = (message, cause) => new Error2({ message, cause });
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(Service48, Effect.gen(function* () {
67
- const environment = yield* Service66;
66
+ var layer = Layer.effect(Service63, Effect.gen(function* () {
67
+ const environment = yield* Service74;
68
68
  const binary = yield* RipgrepBinary2.Service;
69
69
  const run = (input) => {
70
70
  const program = Effect.scoped(Effect.gen(function* () {
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
90
90
  return code === 1 ? [] : rows;
91
91
  }));
92
92
  const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
93
- return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
93
+ return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
94
94
  };
95
- return Service48.of({
95
+ return Service63.of({
96
96
  glob: (input) => run({
97
97
  cwd: input.cwd,
98
98
  limit: input.limit,
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
175
175
  }))))
176
176
  });
177
177
  }));
178
- var node50 = makeLocationNode({ service: Service48, layer, deps: [node69, RipgrepBinary2.node] });
178
+ var node66 = makeLocationNode({ service: Service63, layer, deps: [node77, RipgrepBinary2.node] });
179
179
 
180
- export { Error2, InvalidPatternError2, Service48, node50, exports_ripgrep };
180
+ export { Error4, InvalidPatternError2, Service63, node66, exports_ripgrep };
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service80,
3
- node84
4
- } from "./snapshot-7nbv2x26.js";
2
+ Service76,
3
+ node80
4
+ } from "./state-xcd3tayp.js";
5
5
  import {
6
6
  Key3,
7
7
  make21,
8
8
  combine2
9
- } from "./snapshot-s8d7rejh.js";
9
+ } from "./state-s8d7rejh.js";
10
10
  import {
11
11
  __export
12
- } from "./snapshot-9rqn6x4v.js";
12
+ } from "./state-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: () => Service25,
19
- node: () => node29
18
+ Service: () => Service28,
19
+ node: () => node32
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 Service25 extends Context.Service()("@opencode/InstructionBuiltIns") {
24
+ class Service28 extends Context.Service()("@opencode/InstructionBuiltIns") {
25
25
  }
26
- var layer = Layer.effect(Service25, Effect.gen(function* () {
26
+ var layer = Layer.effect(Service28, Effect.gen(function* () {
27
27
  const global = yield* Global.Service;
28
- const location = yield* Service80;
29
- return Service25.of({
28
+ const location = yield* Service76;
29
+ return Service28.of({
30
30
  load: () => Effect.succeed(combine2([
31
31
  make21({
32
32
  key: Key3.make("core/date"),
@@ -60,6 +60,6 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
60
60
  ]))
61
61
  });
62
62
  }));
63
- var node29 = makeLocationNode({ service: Service25, layer, deps: [Global.node, node84] });
63
+ var node32 = makeLocationNode({ service: Service28, layer, deps: [Global.node, node80] });
64
64
 
65
- export { Service25, node29, exports_builtins };
65
+ export { Service28, node32, exports_builtins };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  parseOption2
3
- } from "./snapshot-5daktx2q.js";
3
+ } from "./state-5daktx2q.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./snapshot-922hggd3.js";
6
+ } from "./state-922hggd3.js";
7
7
  import {
8
8
  ID5,
9
9
  Name2
10
- } from "./snapshot-n5g04frr.js";
10
+ } from "./state-k5ghjtzv.js";
11
11
  import {
12
12
  __export
13
- } from "./snapshot-9rqn6x4v.js";
13
+ } from "./state-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/skill-file.ts
16
16
  var exports_skill_file = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./snapshot-9rqn6x4v.js";
3
+ } from "./state-9rqn6x4v.js";
4
4
 
5
5
  // src/util/error-summary.ts
6
6
  var exports_error_summary = {};
@@ -1,72 +1,72 @@
1
1
  import {
2
- Service66
3
- } from "./snapshot-bq7xdv31.js";
2
+ Service74
3
+ } from "./state-vg6qrb8m.js";
4
4
  import {
5
- Service49,
5
+ Service15,
6
6
  readText2,
7
7
  syncTextBom2
8
- } from "./snapshot-22mj29h5.js";
8
+ } from "./state-jzgb5xky.js";
9
9
  import {
10
- Service16
11
- } from "./snapshot-1me4e2bc.js";
10
+ Service13
11
+ } from "./state-vfgebdsx.js";
12
12
  import {
13
- Service55
14
- } from "./snapshot-jk8em1h8.js";
13
+ Service56
14
+ } from "./state-x1c67pw4.js";
15
15
  import {
16
- Service13
17
- } from "./snapshot-s0hdgv6r.js";
16
+ Service14
17
+ } from "./state-b3x448qn.js";
18
18
  import {
19
19
  fileDiff2
20
- } from "./snapshot-6prwharc.js";
20
+ } from "./state-6prwharc.js";
21
21
  import {
22
22
  __export
23
- } from "./snapshot-9rqn6x4v.js";
23
+ } from "./state-9rqn6x4v.js";
24
24
 
25
25
  // src/tool/plugin/write.ts
26
26
  var exports_write = {};
27
27
  __export(exports_write, {
28
- Input: () => Input4,
29
- Output: () => Output3,
30
- Plugin: () => Plugin21,
28
+ Input: () => Input10,
29
+ Output: () => Output8,
30
+ Plugin: () => Plugin30,
31
31
  WriteTool: () => exports_write,
32
- name: () => name4,
33
- toModelContent: () => toModelContent3
32
+ name: () => name10,
33
+ toModelContent: () => toModelContent5
34
34
  });
35
35
  import { ToolFailure } from "@opencode/ai";
36
36
  import { Effect, Schema } from "effect";
37
37
  import { Bom } from "@opencode/util/bom";
38
- var name4 = "write";
39
- var Input4 = Schema.Struct({
38
+ var name10 = "write";
39
+ var Input10 = Schema.Struct({
40
40
  path: Schema.String.annotate({
41
41
  description: "Path to the file to write to"
42
42
  }),
43
43
  content: Schema.String.annotate({ description: "Content to write to the file" })
44
44
  });
45
- var Output3 = Schema.Struct({
45
+ var Output8 = Schema.Struct({
46
46
  operation: Schema.Literal("write"),
47
47
  target: Schema.String,
48
48
  resource: Schema.String,
49
49
  existed: Schema.Boolean
50
50
  });
51
- var toModelContent3 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
- var Plugin21 = {
51
+ var toModelContent5 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
+ var Plugin30 = {
53
53
  id: "opencode.tool.write",
54
54
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
55
- const access = yield* Service13;
56
- const fileMutation = yield* Service49;
57
- const environment = yield* Service66;
58
- const formatter = yield* Service16;
59
- const permission = yield* Service55;
55
+ const access = yield* Service14;
56
+ const fileMutation = yield* Service15;
57
+ const environment = yield* Service74;
58
+ const formatter = yield* Service13;
59
+ const permission = yield* Service56;
60
60
  yield* ctx.tool.transform((editor) => editor.add({
61
- name: name4,
61
+ name: name10,
62
62
  options: { codemode: false, permission: "edit" },
63
63
  description: `Writes a file to the local filesystem, overwriting if one exists.
64
64
 
65
65
  Missing parent directories are created automatically.
66
66
 
67
67
  Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
68
- input: Input4,
69
- output: Output3,
68
+ input: Input10,
69
+ output: Output8,
70
70
  execute: (input, context) => Effect.gen(function* () {
71
71
  const source = {
72
72
  type: "tool",
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
93
93
  yield* syncTextBom2(environment.files, target.absolute, bom);
94
94
  }
95
95
  return result;
96
- }).pipe(Effect.map((output) => ({ output, content: toModelContent3(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
96
+ }).pipe(Effect.map((output) => ({ output, content: toModelContent5(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
97
97
  })).pipe(Effect.orDie);
98
98
  })
99
99
  };
100
100
 
101
- export { name4, Input4, Output3, toModelContent3, Plugin21, exports_write };
101
+ export { name10, Input10, Output8, toModelContent5, Plugin30, exports_write };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  lazy2
3
- } from "./snapshot-88xbtdfr.js";
3
+ } from "./state-88xbtdfr.js";
4
4
  import {
5
5
  load5
6
- } from "./snapshot-e3qxr5gk.js";
6
+ } from "./state-e3qxr5gk.js";
7
7
  import {
8
8
  __export
9
- } from "./snapshot-9rqn6x4v.js";
9
+ } from "./state-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
14
  Event: () => Event14,
15
15
  Native: () => Native3,
16
- Options: () => Options7,
17
- Service: () => Service63,
16
+ Options: () => Options9,
17
+ Service: () => Service67,
18
18
  Test: () => Test3,
19
19
  Watcher: () => exports_watcher,
20
- configured: () => configured8,
20
+ configured: () => configured9,
21
21
  hasNativeBinding: () => hasNativeBinding2,
22
- layer: () => layer23,
22
+ layer: () => layer24,
23
23
  nativeLayer: () => nativeLayer2,
24
24
  nativeNode: () => nativeNode2,
25
- node: () => node66,
25
+ node: () => node70,
26
26
  testLayer: () => testLayer3
27
27
  });
28
28
  import { createWrapper } from "@parcel/watcher/wrapper.js";
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
53
53
 
54
54
  class Native3 extends Context.Service()("@opencode/Watcher/Native") {
55
55
  }
56
- var Options7 = Schema.Struct({
56
+ var Options9 = Schema.Struct({
57
57
  enabled: Schema.optional(Schema.Boolean)
58
58
  });
59
59
 
60
- class Service63 extends Context.Service()("@opencode/Watcher") {
60
+ class Service67 extends Context.Service()("@opencode/Watcher") {
61
61
  }
62
62
 
63
63
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
64
64
  }
65
- var layer23 = (options) => Layer.effect(Service63, Effect.gen(function* () {
65
+ var layer24 = (options) => Layer.effect(Service67, Effect.gen(function* () {
66
66
  if (options?.enabled === false) {
67
- return Service63.of({ subscribe: () => Effect.succeed(Stream.empty) });
67
+ return Service67.of({ subscribe: () => Effect.succeed(Stream.empty) });
68
68
  }
69
69
  const native = yield* Native3;
70
70
  const watchers = yield* RcMap.make({
@@ -105,7 +105,7 @@ var layer23 = (options) => Layer.effect(Service63, Effect.gen(function* () {
105
105
  return Stream.fromSubscription(subscription);
106
106
  }));
107
107
  });
108
- return Service63.of({ subscribe });
108
+ return Service67.of({ subscribe });
109
109
  }));
110
110
  var testLayer3 = Layer.effectContext(Effect.gen(function* () {
111
111
  const subscriptions = [];
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
129
129
  };
130
130
  })
131
131
  });
132
- const context = yield* Layer.build(layer23().pipe(Layer.provide(Layer.succeed(Native3, native))));
132
+ const context = yield* Layer.build(layer24().pipe(Layer.provide(Layer.succeed(Native3, native))));
133
133
  const test = Test3.of({
134
- subscribe: Context.get(context, Service63).subscribe,
134
+ subscribe: Context.get(context, Service67).subscribe,
135
135
  emit: (update) => Effect.sync(() => {
136
136
  const target = path.resolve(update.path);
137
137
  active.forEach((matches, publish) => {
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
141
141
  }),
142
142
  subscriptions: () => Effect.sync(() => [...subscriptions])
143
143
  });
144
- return Context.empty().pipe(Context.add(Service63, test), Context.add(Test3, test));
144
+ return Context.empty().pipe(Context.add(Service67, test), Context.add(Test3, test));
145
145
  }));
146
146
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
147
147
  subscribe: (input) => {
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
164
164
  }
165
165
  }));
166
166
  var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
167
- function configured8(options) {
168
- return makeGlobalNode({ service: Service63, layer: layer23(options), deps: [nativeNode2] });
167
+ function configured9(options) {
168
+ return makeGlobalNode({ service: Service67, layer: layer24(options), deps: [nativeNode2] });
169
169
  }
170
- var node66 = configured8();
170
+ var node70 = configured9();
171
171
  function subscribeDirectory(native, backend, directory, ignore, publish) {
172
172
  if (!native || !backend) {
173
173
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
187
187
  }).pipe(Effect.as(undefined))));
188
188
  }
189
189
 
190
- export { Event14, hasNativeBinding2, Native3, Options7, Service63, Test3, layer23, testLayer3, nativeLayer2, nativeNode2, configured8, node66, exports_watcher };
190
+ export { Event14, hasNativeBinding2, Native3, Options9, Service67, Test3, layer24, testLayer3, nativeLayer2, nativeNode2, configured9, node70, exports_watcher };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./snapshot-9rqn6x4v.js";
3
+ } from "./state-9rqn6x4v.js";
4
4
 
5
5
  // src/tool/plugin/opencode.ts
6
6
  var exports_opencode = {};
@@ -8,7 +8,7 @@ __export(exports_opencode, {
8
8
  ModelsInput: () => ModelsInput2,
9
9
  MoveInput: () => MoveInput2,
10
10
  OpenCodeTools: () => exports_opencode,
11
- Plugin: () => Plugin31,
11
+ Plugin: () => Plugin29,
12
12
  RenameInput: () => RenameInput2
13
13
  });
14
14
  import { SystemPart, ToolFailure } from "@opencode/ai";
@@ -64,7 +64,7 @@ var ModelsOutput = Schema.Struct({
64
64
  total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
65
65
  next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
66
66
  });
67
- var Plugin31 = {
67
+ var Plugin29 = {
68
68
  id: "opencode.tools",
69
69
  effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
70
70
  const hook = (event) => Effect.sync(() => {
@@ -161,4 +161,4 @@ var Plugin31 = {
161
161
  })
162
162
  };
163
163
 
164
- export { RenameInput2, MoveInput2, ModelsInput2, Plugin31, exports_opencode };
164
+ export { RenameInput2, MoveInput2, ModelsInput2, Plugin29, exports_opencode };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service83
3
- } from "./snapshot-dh7fttfm.js";
3
+ } from "./state-r11gfdxy.js";
4
4
  import {
5
5
  key2
6
- } from "./snapshot-dnxkq42g.js";
6
+ } from "./state-gx3a42a4.js";
7
7
  import {
8
- Event20
9
- } from "./snapshot-814r7t0m.js";
8
+ Event19
9
+ } from "./state-byw7mfcf.js";
10
10
  import {
11
11
  ID14
12
- } from "./snapshot-3kftmf95.js";
12
+ } from "./state-e9akvjhf.js";
13
13
  import {
14
- ID12,
15
- Service69
16
- } from "./snapshot-gpqtbvrs.js";
14
+ ID11,
15
+ Service72
16
+ } from "./state-chasyyfh.js";
17
17
  import {
18
18
  load3,
19
19
  derive3
20
- } from "./snapshot-sp62m1hk.js";
20
+ } from "./state-m48gk93k.js";
21
21
 
22
22
  // src/plugin/provider/modal.ts
23
23
  import { Effect, Semaphore, Stream } from "effect";
24
24
  import { define } from "@opencode/plugin/effect/plugin";
25
- var providerID = ID12.make("modal");
25
+ var providerID = ID11.make("modal");
26
26
  var ModalPlugin2 = define({
27
27
  id: "opencode.provider.modal",
28
28
  effect: Effect.fn(function* (ctx) {
29
- const providers = yield* Service69;
29
+ const providers = yield* Service72;
30
30
  const bus = yield* Service83;
31
31
  const loading = Semaphore.makeUnsafe(1);
32
32
  const loaded = {};
@@ -67,7 +67,7 @@ var ModalPlugin2 = define({
67
67
  });
68
68
  });
69
69
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
70
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
70
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
71
71
  yield* refresh().pipe(Effect.forkScoped);
72
72
  })
73
73
  });
@@ -1,53 +1,53 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./snapshot-dh7fttfm.js";
4
+ } from "./state-r11gfdxy.js";
5
5
  import {
6
- node66
7
- } from "./snapshot-kpt54jka.js";
6
+ node70
7
+ } from "./state-4238gvvk.js";
8
8
  import {
9
- Service9,
10
- node11
11
- } from "./snapshot-fk6v6yp5.js";
9
+ Service4,
10
+ node6
11
+ } from "./state-fgprdtmf.js";
12
12
  import {
13
- Service29
14
- } from "./snapshot-4v7qdvcn.js";
13
+ Service32
14
+ } from "./state-9sh4wc5j.js";
15
15
  import {
16
- node15,
16
+ node18,
17
17
  ID2
18
- } from "./snapshot-75bnt70h.js";
18
+ } from "./state-cv56zjsy.js";
19
19
  import {
20
- Service3,
21
- node4
22
- } from "./snapshot-9hn6k4tm.js";
20
+ Service6,
21
+ node8
22
+ } from "./state-pa8pe2x7.js";
23
23
  import {
24
24
  requirements2,
25
25
  guarded2,
26
26
  list2
27
- } from "./snapshot-54whtckx.js";
27
+ } from "./state-5ptk6qrn.js";
28
28
  import {
29
- make3,
29
+ make4,
30
30
  LoadError2
31
- } from "./snapshot-6rxkb1t6.js";
31
+ } from "./state-9n655km2.js";
32
32
  import {
33
33
  Updated2,
34
- Service2,
35
- node3
36
- } from "./snapshot-ygx8er06.js";
34
+ Service7,
35
+ node9
36
+ } from "./state-6s6k8698.js";
37
37
  import {
38
- Service4,
39
- node5
40
- } from "./snapshot-yr715y08.js";
38
+ Service5,
39
+ node7
40
+ } from "./state-y56ehv6b.js";
41
41
  import {
42
42
  __export
43
- } from "./snapshot-9rqn6x4v.js";
43
+ } from "./state-9rqn6x4v.js";
44
44
 
45
45
  // src/plugin/supervisor.ts
46
46
  var exports_supervisor = {};
47
47
  __export(exports_supervisor, {
48
48
  PluginSupervisor: () => exports_supervisor,
49
- layer: () => layer3,
50
- node: () => node2
49
+ layer: () => layer4,
50
+ node: () => node5
51
51
  });
52
52
  import { Event } from "@opencode/schema/config";
53
53
  import { Cause, Effect, Layer, Queue, Stream } from "effect";
@@ -125,14 +125,14 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
125
125
  pending: [...pending]
126
126
  };
127
127
  });
128
- var layer3 = Layer.effectDiscard(Effect.gen(function* () {
129
- const registry = yield* Service29;
130
- const sdk = yield* Service2;
131
- const instance = yield* Service3;
132
- const sources = yield* Service9;
133
- const modules = yield* make3();
128
+ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
129
+ const registry = yield* Service32;
130
+ const sdk = yield* Service7;
131
+ const instance = yield* Service6;
132
+ const sources = yield* Service4;
133
+ const modules = yield* make4();
134
134
  const bus = yield* Service83;
135
- const updates = yield* Service4;
135
+ const updates = yield* Service5;
136
136
  const internal = yield* list2();
137
137
  let release = yield* registry.hold();
138
138
  yield* Effect.addFinalizer(() => release ?? Effect.void);
@@ -207,14 +207,14 @@ var layer3 = Layer.effectDiscard(Effect.gen(function* () {
207
207
  })), Effect.forkScoped({ startImmediately: true }));
208
208
  }));
209
209
  var nodeDeps = [
210
- node15,
211
- node3,
212
- node4,
213
- node11,
214
- node5,
210
+ node18,
211
+ node9,
212
+ node8,
213
+ node6,
214
+ node7,
215
215
  node87,
216
216
  Npm.node,
217
- node66,
217
+ node70,
218
218
  requirements2
219
219
  ];
220
220
  function pluginSource(target) {
@@ -222,6 +222,6 @@ function pluginSource(target) {
222
222
  return { type: "local", path: target };
223
223
  return { type: "package", target };
224
224
  }
225
- var node2 = makeLocationNode({ name: "plugin-supervisor", layer: layer3, deps: nodeDeps });
225
+ var node5 = makeLocationNode({ name: "plugin-supervisor", layer: layer4, deps: nodeDeps });
226
226
 
227
- export { layer3, node2, exports_supervisor };
227
+ export { layer4, node5, exports_supervisor };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  __export
3
- } from "./snapshot-9rqn6x4v.js";
3
+ } from "./state-9rqn6x4v.js";
4
4
 
5
5
  // src/session/provider-context.ts
6
6
  var exports_provider_context = {};
7
7
  __export(exports_provider_context, {
8
- Info: () => Info12,
8
+ Info: () => Info11,
9
9
  SessionProviderContext: () => exports_provider_context,
10
10
  compatible: () => compatible2,
11
11
  decode: () => decode2,
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
19
19
  import { Predicate, Schema } from "effect";
20
20
  import { isDeepStrictEqual } from "node:util";
21
21
  import { Hash } from "@opencode/util/hash";
22
- var Info12 = SessionProviderContext.Info;
22
+ var Info11 = SessionProviderContext.Info;
23
23
  var messages = Schema.toCodecJson(Schema.Array(Message));
24
24
  function provenance2(resolved) {
25
25
  const model = resolved.model;
@@ -66,4 +66,4 @@ function upgradeLegacyMedia(input) {
66
66
  });
67
67
  }
68
68
 
69
- export { Info12, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
69
+ export { Info11, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
@@ -1,15 +1,15 @@
1
1
  import {
2
- Service34
3
- } from "./snapshot-a9mvht4x.js";
2
+ Service33
3
+ } from "./state-t6kcjggt.js";
4
4
  import {
5
- Service43
6
- } from "./snapshot-4mwpykj0.js";
5
+ Service42
6
+ } from "./state-sxzvkvgj.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./snapshot-4v7qdvcn.js";
9
+ } from "./state-9sh4wc5j.js";
10
10
  import {
11
11
  __export
12
- } from "./snapshot-9rqn6x4v.js";
12
+ } from "./state-9rqn6x4v.js";
13
13
 
14
14
  // src/session/command.ts
15
15
  var exports_command3 = {};
@@ -19,8 +19,8 @@ __export(exports_command3, {
19
19
  });
20
20
  import { Effect } from "effect";
21
21
  var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
22
- const instances = yield* Service43;
23
- const commands = yield* awaitActivation2.pipe(Effect.andThen(Service34), instances.provide(input.session));
22
+ const instances = yield* Service42;
23
+ const commands = yield* awaitActivation2.pipe(Effect.andThen(Service33), instances.provide(input.session));
24
24
  yield* commands.execute({
25
25
  name: input.command,
26
26
  invocation: {