@opencode/core 0.0.0-dev-20957 → 0.0.0-dev-20959

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 (791) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{rpc-hk7b56jd.js → state-00xey68d.js} +79 -79
  8. package/dist/chunks/{rpc-ngbwkpd3.js → state-05ma8sa0.js} +11 -11
  9. package/dist/chunks/{rpc-qq400y0z.js → state-06a5dnqt.js} +13 -13
  10. package/dist/chunks/{rpc-sdw1hh26.js → state-06nkj3vg.js} +18 -18
  11. package/dist/chunks/{rpc-p7dppmtr.js → state-07cqgx07.js} +13 -13
  12. package/dist/chunks/{rpc-zqnnyapg.js → state-0batmr09.js} +23 -23
  13. package/dist/chunks/{rpc-z1zcjh09.js → state-0ssrq3ck.js} +13 -13
  14. package/dist/chunks/{rpc-0vbcp93d.js → state-0vbcp93d.js} +2 -2
  15. package/dist/chunks/{rpc-0sgp6vrq.js → state-0ytnbz4y.js} +12 -12
  16. package/dist/chunks/{rpc-y14yzbv9.js → state-16g8e42c.js} +17 -17
  17. package/dist/chunks/{rpc-c6vcmfe6.js → state-1vgajgn8.js} +49 -49
  18. package/dist/chunks/{rpc-ds513cvv.js → state-1vn3zg3s.js} +47 -47
  19. package/dist/chunks/{rpc-6ha732mw.js → state-1w4hzgxt.js} +27 -27
  20. package/dist/chunks/{rpc-nb9p6b26.js → state-277eer69.js} +4 -4
  21. package/dist/chunks/{rpc-vrxbghgd.js → state-27vhf9q6.js} +12 -12
  22. package/dist/chunks/{rpc-pgp1nwjn.js → state-29qym6xz.js} +4 -4
  23. package/dist/chunks/{rpc-qgn6gcr1.js → state-2k8khapm.js} +5 -5
  24. package/dist/chunks/{rpc-91pgxm1y.js → state-2nmj9k6r.js} +9 -9
  25. package/dist/chunks/{rpc-p8sn5v2a.js → state-317c38sv.js} +45 -45
  26. package/dist/chunks/{rpc-31xfzrxg.js → state-31xfzrxg.js} +2 -2
  27. package/dist/chunks/{rpc-s6vv92hd.js → state-33p39z69.js} +12 -12
  28. package/dist/chunks/{rpc-yt30aj44.js → state-34v44amg.js} +20 -20
  29. package/dist/chunks/{rpc-zm820vvs.js → state-37r9m3qd.js} +42 -42
  30. package/dist/chunks/{rpc-mfj47n67.js → state-39t7sh6v.js} +16 -16
  31. package/dist/chunks/{rpc-fw181sc9.js → state-3b9qt4hj.js} +9 -9
  32. package/dist/chunks/{rpc-3jxnaj1m.js → state-3cejzrcb.js} +11 -11
  33. package/dist/chunks/{rpc-1hfz5630.js → state-3f5wpygs.js} +22 -22
  34. package/dist/chunks/{rpc-xb5bw9r2.js → state-3f6168p9.js} +23 -23
  35. package/dist/chunks/{rpc-3fc6dm20.js → state-3fc6dm20.js} +1 -1
  36. package/dist/chunks/{rpc-cvgztn7t.js → state-3grbbq2d.js} +34 -34
  37. package/dist/chunks/{rpc-3hepkmqq.js → state-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{rpc-3hwn7j4h.js → state-3hwn7j4h.js} +2 -2
  39. package/dist/chunks/{rpc-1j6h4v11.js → state-3mxtprej.js} +15 -15
  40. package/dist/chunks/{rpc-3smtnn6g.js → state-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{rpc-633kc721.js → state-3tt0fxvw.js} +11 -11
  42. package/dist/chunks/{rpc-3tvqynh2.js → state-3tvqynh2.js} +1 -1
  43. package/dist/chunks/{rpc-g62k8ye6.js → state-3wrzs5nr.js} +16 -16
  44. package/dist/chunks/{rpc-3zsf4n22.js → state-3zsf4n22.js} +1 -1
  45. package/dist/chunks/{rpc-61rpadeq.js → state-435a5nd0.js} +30 -30
  46. package/dist/chunks/{rpc-kv3n5ztp.js → state-46f1yx5v.js} +13 -13
  47. package/dist/chunks/{rpc-zb746e9k.js → state-4e8cngzy.js} +2 -2
  48. package/dist/chunks/{rpc-9pdrjcjq.js → state-4h0sx8pt.js} +14 -14
  49. package/dist/chunks/{rpc-tg8ddpts.js → state-4hw4t8hc.js} +6 -6
  50. package/dist/chunks/{rpc-xzhg0qv8.js → state-5aekxzw9.js} +22 -22
  51. package/dist/chunks/{rpc-5m9w47nd.js → state-5m9w47nd.js} +1 -1
  52. package/dist/chunks/state-5rgnv25g.js +180 -0
  53. package/dist/chunks/{rpc-f45r55fw.js → state-5xbtdx13.js} +15 -15
  54. package/dist/chunks/{rpc-9hn6k4tm.js → state-5yzzbxa7.js} +8 -8
  55. package/dist/chunks/{rpc-kchd60gm.js → state-6301kdm5.js} +5 -5
  56. package/dist/chunks/{rpc-mtc1cw2z.js → state-67nbb1d2.js} +3 -3
  57. package/dist/chunks/{rpc-5qwd6gw2.js → state-695pgmrz.js} +9 -9
  58. package/dist/chunks/{rpc-h9a815dw.js → state-6ew0807w.js} +46 -46
  59. package/dist/chunks/{rpc-11dqjexa.js → state-6hjx5zpb.js} +9 -9
  60. package/dist/chunks/{rpc-0rmdt9st.js → state-6hqjk0t5.js} +5 -5
  61. package/dist/chunks/{rpc-73tr020p.js → state-6khsczge.js} +70 -70
  62. package/dist/chunks/{rpc-b674v2dg.js → state-6kzp9tjq.js} +5 -5
  63. package/dist/chunks/{rpc-6pc27hjz.js → state-6pc27hjz.js} +2 -2
  64. package/dist/chunks/{rpc-w4axh9wz.js → state-6qr3rp4k.js} +6 -6
  65. package/dist/chunks/{rpc-h8gytte2.js → state-6rabbq69.js} +50 -50
  66. package/dist/chunks/{rpc-pybx3045.js → state-6v577egq.js} +45 -45
  67. package/dist/chunks/{rpc-6xb47vfp.js → state-6xb47vfp.js} +1 -1
  68. package/dist/chunks/{rpc-501wjxab.js → state-6xxnzgaw.js} +5 -5
  69. package/dist/chunks/{rpc-1qpmd929.js → state-73ws374e.js} +4 -4
  70. package/dist/chunks/{rpc-775gj3j1.js → state-775gj3j1.js} +2 -2
  71. package/dist/chunks/{rpc-62yd8t86.js → state-78e17vhd.js} +11 -11
  72. package/dist/chunks/{rpc-7bmhse3q.js → state-7bmhse3q.js} +1 -1
  73. package/dist/chunks/{rpc-tg7bkhef.js → state-7d822byb.js} +7 -7
  74. package/dist/chunks/{rpc-6tyv3xa5.js → state-7e2mtt8e.js} +4 -4
  75. package/dist/chunks/{rpc-a8nkje97.js → state-7erbtyx3.js} +11 -11
  76. package/dist/chunks/{rpc-vwpcpzep.js → state-7j2qha59.js} +8 -8
  77. package/dist/chunks/{rpc-z7ej7fbh.js → state-7n2gwmyq.js} +26 -26
  78. package/dist/chunks/{rpc-q2xhpvxb.js → state-7zb1ag6b.js} +33 -33
  79. package/dist/chunks/{rpc-z5pcptfa.js → state-7zkbhs7g.js} +11 -11
  80. package/dist/chunks/{rpc-n3vb9epv.js → state-82z684fv.js} +25 -25
  81. package/dist/chunks/{rpc-w1eejvng.js → state-84txncab.js} +5 -5
  82. package/dist/chunks/{rpc-0s8etjc9.js → state-88hb3s0n.js} +31 -31
  83. package/dist/chunks/{rpc-tcezcvh9.js → state-89znhe33.js} +4 -4
  84. package/dist/chunks/{rpc-dce2gzrk.js → state-8a52xwty.js} +8 -8
  85. package/dist/chunks/{rpc-a4y2m2pn.js → state-8j6e69wk.js} +15 -15
  86. package/dist/chunks/{rpc-8m6m0r52.js → state-8m6m0r52.js} +1 -1
  87. package/dist/chunks/{rpc-xjwg7jja.js → state-8qyv4v7y.js} +8 -8
  88. package/dist/chunks/{rpc-haysr2j0.js → state-8wmnw7vn.js} +7 -7
  89. package/dist/chunks/{rpc-j09zfasm.js → state-91qna3x0.js} +3 -3
  90. package/dist/chunks/{rpc-tecdc32p.js → state-92zgvqyy.js} +10 -10
  91. package/dist/chunks/{rpc-zfca28xf.js → state-993g9nvg.js} +4 -4
  92. package/dist/chunks/{rpc-hnaazdex.js → state-9cwxf0zm.js} +4 -4
  93. package/dist/chunks/{rpc-1577rrhd.js → state-9d97g4s8.js} +56 -56
  94. package/dist/chunks/{rpc-wr7ps67x.js → state-9pkkzrmj.js} +5 -5
  95. package/dist/chunks/{rpc-13wy7mfs.js → state-9q3v678q.js} +20 -20
  96. package/dist/chunks/state-9sh4wc5j.js +18 -0
  97. package/dist/chunks/{rpc-20dqcrnk.js → state-a5bx919r.js} +13 -13
  98. package/dist/chunks/{rpc-3dn5qvj3.js → state-aavadf81.js} +22 -22
  99. package/dist/chunks/{rpc-99tfdan1.js → state-abe2ntxt.js} +20 -20
  100. package/dist/chunks/{rpc-zcrspsvn.js → state-afdssyjb.js} +4 -4
  101. package/dist/chunks/{rpc-412wv95y.js → state-aha1fx7s.js} +38 -38
  102. package/dist/chunks/{rpc-b3f8fkhc.js → state-b3f8fkhc.js} +2 -2
  103. package/dist/chunks/{rpc-0kkmefz1.js → state-b3szwjqv.js} +23 -23
  104. package/dist/chunks/{rpc-t2jpskh3.js → state-b8hvt197.js} +29 -29
  105. package/dist/chunks/{rpc-81aqk3w6.js → state-bbmb0x9b.js} +11 -11
  106. package/dist/chunks/{rpc-wss8ekf6.js → state-bd0nk3q4.js} +25 -25
  107. package/dist/chunks/{rpc-xf3b7ak0.js → state-bddt2pqj.js} +9 -9
  108. package/dist/chunks/{rpc-bfegkxfd.js → state-bfegkxfd.js} +3 -3
  109. package/dist/chunks/{rpc-wq4ymj1p.js → state-bgmmm716.js} +37 -37
  110. package/dist/chunks/{rpc-1ffvrpkg.js → state-bjx1sjef.js} +6 -6
  111. package/dist/chunks/{rpc-bmr56wjg.js → state-bmr56wjg.js} +1 -1
  112. package/dist/chunks/{rpc-qg87bzy9.js → state-bqntbsfe.js} +43 -43
  113. package/dist/chunks/{rpc-nmp290x7.js → state-btgew72b.js} +7 -7
  114. package/dist/chunks/{rpc-es1vcfrp.js → state-c1fqxshp.js} +3 -3
  115. package/dist/chunks/{rpc-zk21kkv9.js → state-c8km4fhm.js} +9 -9
  116. package/dist/chunks/{rpc-y8s1cxkd.js → state-c8kxp3ag.js} +30 -30
  117. package/dist/chunks/{rpc-rpfw3nqr.js → state-cef92ehe.js} +14 -14
  118. package/dist/chunks/{rpc-19r4ktpx.js → state-cm734856.js} +18 -18
  119. package/dist/chunks/{rpc-7pw4k8pw.js → state-cpp34795.js} +20 -20
  120. package/dist/chunks/{rpc-azsbjgdx.js → state-csmbza7v.js} +30 -30
  121. package/dist/chunks/{rpc-7jacs1jg.js → state-cx6mang1.js} +29 -29
  122. package/dist/chunks/{rpc-pba85c1x.js → state-czbw4cmk.js} +10 -10
  123. package/dist/chunks/{rpc-k9yrfzzn.js → state-ddvq8pqf.js} +8 -8
  124. package/dist/chunks/{rpc-td0am7tz.js → state-df13mnsx.js} +46 -46
  125. package/dist/chunks/{rpc-p7d7zdnm.js → state-djqgfx53.js} +8 -8
  126. package/dist/chunks/{rpc-dqxsqydv.js → state-dqxsqydv.js} +1 -1
  127. package/dist/chunks/{rpc-drwq78ky.js → state-drwq78ky.js} +1 -1
  128. package/dist/chunks/{rpc-4xpgt2w9.js → state-dssbfrwz.js} +5 -5
  129. package/dist/chunks/{rpc-a4cx9gg9.js → state-dt7wv7f8.js} +39 -39
  130. package/dist/chunks/{rpc-72gmrwx5.js → state-dvrve80v.js} +28 -28
  131. package/dist/chunks/{rpc-618s31kc.js → state-dw6kxeb2.js} +10 -10
  132. package/dist/chunks/{rpc-e6hwranf.js → state-e51m94rx.js} +11 -11
  133. package/dist/chunks/{rpc-vxnp931j.js → state-e77tbp3q.js} +21 -21
  134. package/dist/chunks/{rpc-ngyrtr94.js → state-easapccs.js} +6 -6
  135. package/dist/chunks/{rpc-fscc3096.js → state-ecnn9cc2.js} +34 -34
  136. package/dist/chunks/{rpc-fwdmbr1p.js → state-edcq6p70.js} +31 -34
  137. package/dist/chunks/{rpc-eej6y6fw.js → state-eej6y6fw.js} +2 -2
  138. package/dist/chunks/{rpc-ef5x83kb.js → state-ef5x83kb.js} +1 -1
  139. package/dist/chunks/{rpc-sszn147w.js → state-en5pt065.js} +12 -12
  140. package/dist/chunks/{rpc-axv8g7q4.js → state-en6j97m7.js} +15 -15
  141. package/dist/chunks/{rpc-1yvzb6cq.js → state-en8cxtke.js} +11 -11
  142. package/dist/chunks/{rpc-xccpgf1k.js → state-f41qqej9.js} +25 -25
  143. package/dist/chunks/{rpc-66keg2ed.js → state-f526sqyy.js} +9 -9
  144. package/dist/chunks/{rpc-t827rtr3.js → state-fg4px4dg.js} +18 -18
  145. package/dist/chunks/{rpc-2jnytm9q.js → state-fmd5032t.js} +5 -5
  146. package/dist/chunks/{rpc-p690rpx8.js → state-fqfr2d2w.js} +26 -26
  147. package/dist/chunks/{rpc-bqg1e2cj.js → state-fvgwbg7w.js} +4 -4
  148. package/dist/chunks/{rpc-phj7b8e3.js → state-g5j880g4.js} +6 -6
  149. package/dist/chunks/{rpc-gd4qta3r.js → state-gd4qta3r.js} +1 -1
  150. package/dist/chunks/{rpc-gtexymfp.js → state-gdh7m9dr.js} +4 -4
  151. package/dist/chunks/{rpc-3cj7mw2f.js → state-gwf5frq4.js} +4 -4
  152. package/dist/chunks/{rpc-zt4ytqs0.js → state-h6ekpmck.js} +171 -171
  153. package/dist/chunks/{rpc-h6vf3j39.js → state-h6vf3j39.js} +1 -1
  154. package/dist/chunks/{rpc-tpxg3fy4.js → state-h9ak3m4y.js} +13 -13
  155. package/dist/chunks/{rpc-hmqnqm20.js → state-hb9gjms4.js} +26 -26
  156. package/dist/chunks/{rpc-hgz4x7wa.js → state-hgz4x7wa.js} +1 -1
  157. package/dist/chunks/{rpc-dxybt9ry.js → state-hxtq825k.js} +31 -31
  158. package/dist/chunks/{rpc-veq4qypw.js → state-ja340vf7.js} +14 -14
  159. package/dist/chunks/{rpc-7m6me2kh.js → state-jb2p3fpn.js} +25 -25
  160. package/dist/chunks/{rpc-1vnnf5cd.js → state-jbse4pv5.js} +40 -40
  161. package/dist/chunks/{rpc-664av6jq.js → state-jck2sq56.js} +47 -47
  162. package/dist/chunks/{rpc-jk540des.js → state-jk540des.js} +2 -2
  163. package/dist/chunks/{rpc-6ax2sg4n.js → state-jmrbxsct.js} +27 -27
  164. package/dist/chunks/{rpc-e5vg0yv6.js → state-jvc6xzak.js} +8 -8
  165. package/dist/chunks/{rpc-yaxkaew0.js → state-jwg9zzbj.js} +18 -18
  166. package/dist/chunks/{rpc-82bj86tv.js → state-k0dpz6pn.js} +6 -6
  167. package/dist/chunks/{rpc-nfvfn1nf.js → state-k0xa6v94.js} +1 -1
  168. package/dist/chunks/{rpc-85k52pgz.js → state-k7j3tctb.js} +12 -12
  169. package/dist/chunks/{rpc-v08rtmt7.js → state-kdwg27gz.js} +34 -34
  170. package/dist/chunks/{rpc-c445dxh9.js → state-khhf2f26.js} +19 -19
  171. package/dist/chunks/{rpc-khmqacep.js → state-khmqacep.js} +1 -1
  172. package/dist/chunks/{rpc-hqhp0zxs.js → state-kqx1b4hy.js} +4 -4
  173. package/dist/chunks/{rpc-94zt7vas.js → state-kvq4f17p.js} +8 -8
  174. package/dist/chunks/{rpc-x4bs0z10.js → state-kxf45vx6.js} +5 -5
  175. package/dist/chunks/{rpc-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
  176. package/dist/chunks/{rpc-maspj1v3.js → state-maspj1v3.js} +1 -1
  177. package/dist/chunks/{rpc-mb14aw74.js → state-mbnxefga.js} +2 -2
  178. package/dist/chunks/{rpc-pqdj80dn.js → state-mgc78m32.js} +6 -6
  179. package/dist/chunks/{rpc-59nqaqqb.js → state-mscwsevq.js} +1 -1
  180. package/dist/chunks/{rpc-mxvxcxwy.js → state-mxvxcxwy.js} +1 -1
  181. package/dist/chunks/{rpc-da09f1g7.js → state-mz33th8r.js} +11 -11
  182. package/dist/chunks/{rpc-2c1etwgk.js → state-mznrgk7s.js} +21 -21
  183. package/dist/chunks/{rpc-3v44xrgw.js → state-n1xqpdx7.js} +20 -20
  184. package/dist/chunks/{rpc-a7dkb545.js → state-n5mn4s46.js} +11 -11
  185. package/dist/chunks/{rpc-6x6tfj0a.js → state-n9zaxzrb.js} +12 -12
  186. package/dist/chunks/{rpc-j9ha8nqa.js → state-ne8ahyn9.js} +13 -13
  187. package/dist/chunks/{rpc-nma959mg.js → state-nma959mg.js} +1 -1
  188. package/dist/chunks/{rpc-atjwctsn.js → state-nvms9vm5.js} +18 -18
  189. package/dist/chunks/{rpc-k5swm7kd.js → state-p0dn96hm.js} +32 -32
  190. package/dist/chunks/{rpc-ycp3cd4k.js → state-p9p8mz4a.js} +14 -14
  191. package/dist/chunks/{rpc-5e3s40e2.js → state-peh04qmw.js} +24 -24
  192. package/dist/chunks/{rpc-by0awed6.js → state-pfz5tyak.js} +7 -7
  193. package/dist/chunks/{rpc-pjvnvgmy.js → state-pjvnvgmy.js} +1 -1
  194. package/dist/chunks/{rpc-gtnvez50.js → state-pjxx77rw.js} +33 -33
  195. package/dist/chunks/{rpc-pknna89w.js → state-pknna89w.js} +1 -1
  196. package/dist/chunks/{rpc-5w9yjztw.js → state-pnzf6mjf.js} +1 -1
  197. package/dist/chunks/{rpc-bqf8dw7y.js → state-pqe14sd0.js} +31 -31
  198. package/dist/chunks/{rpc-s4a1trnd.js → state-pqrvafsy.js} +3 -3
  199. package/dist/chunks/{rpc-q0xm7vwc.js → state-q0xm7vwc.js} +2 -2
  200. package/dist/chunks/{rpc-b6r9ty7s.js → state-q5t55cr7.js} +17 -17
  201. package/dist/chunks/{rpc-6sspz9tf.js → state-q7s33m3q.js} +11 -11
  202. package/dist/chunks/{rpc-r0n6t0zc.js → state-qegwm50a.js} +21 -21
  203. package/dist/chunks/{rpc-c3kdpfj7.js → state-qg5egbb1.js} +32 -32
  204. package/dist/chunks/{rpc-r1smz7b8.js → state-qjjqb9p0.js} +5 -5
  205. package/dist/chunks/{rpc-qnc92qwc.js → state-qnc92qwc.js} +1 -1
  206. package/dist/chunks/{rpc-qsdy395h.js → state-qsdy395h.js} +1 -1
  207. package/dist/chunks/{rpc-a961kxqf.js → state-qwthf4cc.js} +11 -11
  208. package/dist/chunks/{rpc-3emygs37.js → state-qz75znj9.js} +37 -37
  209. package/dist/chunks/{rpc-gjwgx2c5.js → state-r2m716tb.js} +9 -9
  210. package/dist/chunks/{rpc-54ma36ye.js → state-r94pvvab.js} +4 -4
  211. package/dist/chunks/{rpc-v1vh7s4p.js → state-ra67jj04.js} +9 -9
  212. package/dist/chunks/{rpc-rdw6cm16.js → state-rdw6cm16.js} +1 -1
  213. package/dist/chunks/{rpc-tkb22qbm.js → state-rert0e01.js} +2 -2
  214. package/dist/chunks/{rpc-t550f9t1.js → state-rhjbct0v.js} +4 -4
  215. package/dist/chunks/{rpc-f2n192rq.js → state-rhraev7y.js} +4 -4
  216. package/dist/chunks/{rpc-c41wscbt.js → state-rj3eygr5.js} +2 -2
  217. package/dist/chunks/{rpc-c688b2mm.js → state-rpyqww3d.js} +5 -5
  218. package/dist/chunks/{rpc-c2sed5cq.js → state-rrt0a0ha.js} +3 -3
  219. package/dist/chunks/{rpc-5eer2xf9.js → state-s5met55r.js} +4 -4
  220. package/dist/chunks/{rpc-c8ax2afj.js → state-sa8ekw3f.js} +2 -2
  221. package/dist/chunks/{rpc-6fd9p91z.js → state-sbc7msky.js} +13 -13
  222. package/dist/chunks/{rpc-5xhe9v23.js → state-skqar8q6.js} +9 -9
  223. package/dist/chunks/{rpc-syv4x271.js → state-syv4x271.js} +1 -1
  224. package/dist/chunks/{rpc-6t1bbpnq.js → state-t6bxk4p3.js} +7 -7
  225. package/dist/chunks/{rpc-fqb2p7cx.js → state-t6vsspdg.js} +5 -5
  226. package/dist/chunks/{rpc-awddqekk.js → state-t8h399t1.js} +15 -15
  227. package/dist/chunks/{rpc-wv6kh7cb.js → state-t8ybhpwc.js} +326 -326
  228. package/dist/chunks/{rpc-tazgh4e4.js → state-tazgh4e4.js} +1 -1
  229. package/dist/chunks/{rpc-3sm5rdfs.js → state-tc4yh57d.js} +12 -12
  230. package/dist/chunks/{rpc-tdstcens.js → state-tdstcens.js} +1 -1
  231. package/dist/chunks/{rpc-51f5btjf.js → state-tegs1ycp.js} +6 -6
  232. package/dist/chunks/{rpc-tm0kqsz3.js → state-tm0kqsz3.js} +1 -1
  233. package/dist/chunks/{rpc-tm6m41eq.js → state-trya7axm.js} +8 -8
  234. package/dist/chunks/state-tvg7gr73.js +253 -0
  235. package/dist/chunks/{rpc-hra9bp9n.js → state-txwayph5.js} +15 -15
  236. package/dist/chunks/{rpc-tyytaxap.js → state-tyytaxap.js} +1 -1
  237. package/dist/chunks/{rpc-yyyk3xhf.js → state-v0svnxqv.js} +26 -26
  238. package/dist/chunks/{rpc-v7p4zvkq.js → state-v7p4zvkq.js} +2 -2
  239. package/dist/chunks/{rpc-wf35t0j7.js → state-v9gxz1md.js} +11 -11
  240. package/dist/chunks/{rpc-veqvce7d.js → state-veqvce7d.js} +1 -1
  241. package/dist/chunks/{rpc-tagbrba9.js → state-vrmrmq13.js} +25 -25
  242. package/dist/chunks/{rpc-yfvzqt1f.js → state-vss99rfh.js} +28 -28
  243. package/dist/chunks/{rpc-cp4eewxm.js → state-vvkashrh.js} +5 -5
  244. package/dist/chunks/{rpc-669jbzsj.js → state-vvm2n8q4.js} +17 -17
  245. package/dist/chunks/{rpc-ysmpv3j4.js → state-vvp1zypk.js} +5 -5
  246. package/dist/chunks/{rpc-vp0qwmgb.js → state-vxp440pd.js} +17 -17
  247. package/dist/chunks/{rpc-vzs5sf6e.js → state-vzs5sf6e.js} +1 -1
  248. package/dist/chunks/{rpc-5ck1sb4w.js → state-w09kgncp.js} +26 -26
  249. package/dist/chunks/{rpc-zjtrsxny.js → state-w1ba7bfx.js} +5 -5
  250. package/dist/chunks/{rpc-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
  251. package/dist/chunks/{rpc-x7ajn6gb.js → state-w6c139gn.js} +21 -21
  252. package/dist/chunks/{rpc-qsqdkngs.js → state-w9agkv8a.js} +20 -20
  253. package/dist/chunks/{rpc-n7pp7qj2.js → state-wafka7g2.js} +32 -32
  254. package/dist/chunks/{rpc-wd87259q.js → state-wd87259q.js} +1 -1
  255. package/dist/chunks/{rpc-y0xznj3f.js → state-wfmp5q3p.js} +8 -8
  256. package/dist/chunks/{rpc-35xt5v3z.js → state-wpdppf83.js} +45 -45
  257. package/dist/chunks/{rpc-2ew3z5ht.js → state-wrt10v44.js} +19 -19
  258. package/dist/chunks/{rpc-rxg505xh.js → state-wvkm68ey.js} +13 -13
  259. package/dist/chunks/{rpc-b1kwtjp2.js → state-wyctmkaw.js} +2 -2
  260. package/dist/chunks/{rpc-yqek1wqm.js → state-x78kwme8.js} +13 -13
  261. package/dist/chunks/{rpc-xxhgf0eh.js → state-xaf1e3dy.js} +9 -9
  262. package/dist/chunks/{rpc-pkxj7ynd.js → state-xpeshqab.js} +6 -6
  263. package/dist/chunks/{rpc-qy24xa0s.js → state-xzfz3f2s.js} +15 -15
  264. package/dist/chunks/{rpc-mzyxe8gm.js → state-xzv998fy.js} +19 -19
  265. package/dist/chunks/{rpc-y1fvbwt7.js → state-y1fvbwt7.js} +1 -1
  266. package/dist/chunks/{rpc-dpkg50ah.js → state-y71avatq.js} +4 -4
  267. package/dist/chunks/state-yas4gz27.js +26 -0
  268. package/dist/chunks/{rpc-jewhh3wd.js → state-ybqb7240.js} +10 -10
  269. package/dist/chunks/{rpc-bpwrvk6g.js → state-yd30ynhp.js} +19 -19
  270. package/dist/chunks/{rpc-sq1bvbqh.js → state-yfcg3am7.js} +11 -11
  271. package/dist/chunks/{rpc-e545f8nm.js → state-yjpvjtxg.js} +9 -9
  272. package/dist/chunks/{rpc-xzr03pq0.js → state-yqvmhwye.js} +14 -14
  273. package/dist/chunks/{rpc-3sj8yt8v.js → state-yrcj3v3g.js} +4 -4
  274. package/dist/chunks/{rpc-y51ceatp.js → state-yyrkxex6.js} +31 -31
  275. package/dist/chunks/{rpc-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{rpc-5fpmpm6s.js → state-z14c0ezc.js} +9 -9
  277. package/dist/chunks/{rpc-0g63a0te.js → state-z1nrsbx9.js} +12 -12
  278. package/dist/chunks/{rpc-b6pnk01m.js → state-z38qwkds.js} +95 -95
  279. package/dist/chunks/{rpc-0yp806wb.js → state-z3bv93cy.js} +4 -4
  280. package/dist/chunks/{rpc-bpa232ey.js → state-z518b2ve.js} +9 -9
  281. package/dist/chunks/{rpc-nets62yb.js → state-zm1pf2vj.js} +3 -3
  282. package/dist/chunks/{rpc-zr2ceqn5.js → state-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{rpc-zxq2ej10.js → state-zxq2ej10.js} +1 -1
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +5 -5
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +87 -87
  289. package/dist/config/discovery.js +86 -86
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +101 -101
  292. package/dist/config/plugin/agent.js +118 -118
  293. package/dist/config/plugin/command.js +207 -207
  294. package/dist/config/plugin/compaction.js +156 -156
  295. package/dist/config/plugin/compatibility.js +136 -136
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +119 -119
  298. package/dist/config/plugin/image.js +118 -118
  299. package/dist/config/plugin/instruction.js +118 -92
  300. package/dist/config/plugin/location-watcher.js +120 -120
  301. package/dist/config/plugin/mcp.js +125 -125
  302. package/dist/config/plugin/policy.js +119 -119
  303. package/dist/config/plugin/provider.js +118 -118
  304. package/dist/config/plugin/reference.js +120 -120
  305. package/dist/config/plugin/shell.js +120 -120
  306. package/dist/config/plugin/skill-file.js +104 -104
  307. package/dist/config/plugin/skill.js +139 -139
  308. package/dist/config/plugin/snapshot.js +118 -118
  309. package/dist/config/plugin/source.js +115 -115
  310. package/dist/config/plugin/tool-output.js +119 -119
  311. package/dist/config/plugin/websearch.js +117 -117
  312. package/dist/config/plugin/worktree.js +120 -120
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +123 -123
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +83 -83
  318. package/dist/database/database.js +72 -72
  319. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  320. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +15 -15
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +16 -16
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  383. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  384. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  385. package/dist/database/migration.gen.js +51 -51
  386. package/dist/database/migration.js +53 -53
  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 +81 -81
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +368 -368
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +3 -3
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +95 -95
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +97 -97
  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 +76 -76
  410. package/dist/file-access.js +106 -106
  411. package/dist/file-mutation.js +96 -96
  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 +222 -222
  419. package/dist/filesystem/protected.js +3 -3
  420. package/dist/filesystem/search.js +105 -105
  421. package/dist/filesystem/watcher-binding.js +1 -1
  422. package/dist/filesystem/watcher.js +15 -15
  423. package/dist/filesystem.js +108 -108
  424. package/dist/form.js +84 -84
  425. package/dist/formatter/builtins.js +2 -2
  426. package/dist/formatter.js +89 -89
  427. package/dist/generate.js +105 -105
  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 +93 -93
  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 +359 -359
  452. package/dist/instruction-discovery.js +86 -87
  453. package/dist/instructions/builtins.js +89 -89
  454. package/dist/instructions/index.js +3 -3
  455. package/dist/integration/connection.js +1 -1
  456. package/dist/integration.js +87 -87
  457. package/dist/job.js +80 -80
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +71 -71
  460. package/dist/location-activity.js +136 -136
  461. package/dist/location-lifecycle.js +109 -109
  462. package/dist/location-service-map.js +88 -88
  463. package/dist/location-services.js +356 -356
  464. package/dist/location.js +83 -83
  465. package/dist/managed-policy.js +8 -8
  466. package/dist/mcp/client.js +93 -93
  467. package/dist/mcp/index.js +107 -107
  468. package/dist/mcp/instructions.js +131 -131
  469. package/dist/mcp/oauth.js +80 -80
  470. package/dist/mcp/stdio.js +92 -92
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +93 -93
  473. package/dist/model-resolver.js +100 -100
  474. package/dist/model.js +102 -102
  475. package/dist/models-dev.js +109 -109
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +82 -82
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +113 -113
  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 +90 -90
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +77 -77
  485. package/dist/plugin/agent.js +76 -76
  486. package/dist/plugin/command.js +102 -102
  487. package/dist/plugin/hooks.js +3 -3
  488. package/dist/plugin/host.js +213 -213
  489. package/dist/plugin/identity.js +3 -3
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +331 -331
  492. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  493. package/dist/plugin/models-dev.js +98 -98
  494. package/dist/plugin/module.js +117 -117
  495. package/dist/plugin/optimize.js +2 -2
  496. package/dist/plugin/plan.js +104 -104
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  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 +118 -118
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +114 -114
  506. package/dist/plugin/provider/databricks.js +1 -1
  507. package/dist/plugin/provider/digitalocean.js +95 -95
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/github-copilot.js +97 -97
  511. package/dist/plugin/provider/gitlab.js +95 -95
  512. package/dist/plugin/provider/google-vertex.js +115 -115
  513. package/dist/plugin/provider/kilo.js +1 -1
  514. package/dist/plugin/provider/llmgateway.js +80 -80
  515. package/dist/plugin/provider/lmstudio.js +127 -127
  516. package/dist/plugin/provider/local.js +124 -124
  517. package/dist/plugin/provider/modal.js +94 -94
  518. package/dist/plugin/provider/neon.js +1 -1
  519. package/dist/plugin/provider/nvidia.js +1 -1
  520. package/dist/plugin/provider/ollama.js +127 -127
  521. package/dist/plugin/provider/openai.js +118 -118
  522. package/dist/plugin/provider/opencode.js +99 -99
  523. package/dist/plugin/provider/openrouter.js +93 -93
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/poe.js +81 -81
  526. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  527. package/dist/plugin/provider/sap-ai-core.js +93 -93
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  530. package/dist/plugin/provider/vercel.js +92 -92
  531. package/dist/plugin/provider/vllm.js +127 -127
  532. package/dist/plugin/provider/xai.js +93 -93
  533. package/dist/plugin/provider/zenmux.js +1 -1
  534. package/dist/plugin/provider.js +169 -169
  535. package/dist/plugin/sdk.js +76 -76
  536. package/dist/plugin/service.js +3 -3
  537. package/dist/plugin/skill.js +136 -136
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +346 -346
  540. package/dist/plugin/tool-input-repair.js +4 -4
  541. package/dist/plugin/update.js +6 -6
  542. package/dist/plugin/vcs/git.js +88 -88
  543. package/dist/plugin/vcs/hg.js +88 -88
  544. package/dist/plugin/verbosity.js +95 -95
  545. package/dist/plugin/warming.js +116 -116
  546. package/dist/plugin/websearch/exa.js +7 -7
  547. package/dist/plugin/websearch/firecrawl.js +8 -8
  548. package/dist/plugin/websearch/index.js +9 -9
  549. package/dist/plugin/websearch/mcp.js +4 -4
  550. package/dist/plugin/websearch/parallel.js +8 -8
  551. package/dist/plugin/websearch/tavily.js +6 -6
  552. package/dist/plugin/websearch/tinyfish.js +8 -8
  553. package/dist/plugin.js +224 -224
  554. package/dist/project/schema.js +6 -6
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +86 -86
  557. package/dist/provider.js +99 -99
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +101 -101
  561. package/dist/reference/instructions.js +89 -89
  562. package/dist/reference.js +93 -93
  563. package/dist/repository-cache.js +83 -83
  564. package/dist/repository.js +3 -3
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +99 -99
  567. package/dist/rpc.js +88 -88
  568. package/dist/schema.js +1 -1
  569. package/dist/session/affinity.js +3 -3
  570. package/dist/session/command.js +76 -76
  571. package/dist/session/compaction.js +137 -137
  572. package/dist/session/context.js +155 -155
  573. package/dist/session/diff.js +90 -90
  574. package/dist/session/environment.js +5 -5
  575. package/dist/session/error.js +5 -5
  576. package/dist/session/event.js +1 -1
  577. package/dist/session/execution/restart.js +219 -219
  578. package/dist/session/execution.js +129 -129
  579. package/dist/session/generate.js +156 -156
  580. package/dist/session/history.js +13 -13
  581. package/dist/session/inbox.js +90 -90
  582. package/dist/session/info.js +3 -3
  583. package/dist/session/instruction-entry.js +81 -81
  584. package/dist/session/instruction-state.js +8 -8
  585. package/dist/session/instructions.js +99 -99
  586. package/dist/session/message-updater.js +2 -2
  587. package/dist/session/message.js +1 -1
  588. package/dist/session/model-request.js +122 -122
  589. package/dist/session/model-transport.js +9 -9
  590. package/dist/session/move.js +131 -131
  591. package/dist/session/projector.js +88 -88
  592. package/dist/session/prompt.js +107 -107
  593. package/dist/session/provider-context.js +3 -3
  594. package/dist/session/revert.js +92 -92
  595. package/dist/session/run-coordinator.js +3 -3
  596. package/dist/session/runner/index.js +3 -3
  597. package/dist/session/runner/llm.js +224 -224
  598. package/dist/session/runner/max-steps.js +1 -1
  599. package/dist/session/runner/model.js +100 -100
  600. package/dist/session/runner/publish-llm-event.js +115 -115
  601. package/dist/session/runner/retry.js +2 -2
  602. package/dist/session/runner/step.js +125 -125
  603. package/dist/session/runner/to-llm-message.js +2 -2
  604. package/dist/session/schema.js +5 -5
  605. package/dist/session/session.js +166 -166
  606. package/dist/session/shell.js +132 -132
  607. package/dist/session/skill.js +107 -107
  608. package/dist/session/sql.js +5 -5
  609. package/dist/session/stats.js +77 -77
  610. package/dist/session/store.js +89 -89
  611. package/dist/session/subagent-completion.js +1 -1
  612. package/dist/session/subagent-job.js +207 -207
  613. package/dist/session/system-prompt.js +1 -1
  614. package/dist/session/title.js +159 -159
  615. package/dist/session/to-session-error.js +113 -113
  616. package/dist/session/transfer.js +215 -215
  617. package/dist/session/usage.js +1 -1
  618. package/dist/session.js +215 -215
  619. package/dist/shell/parse.js +6 -6
  620. package/dist/shell/result.js +1 -1
  621. package/dist/shell/scan.js +1 -1
  622. package/dist/shell/select.js +11 -11
  623. package/dist/shell.js +134 -134
  624. package/dist/skill/discovery.js +6 -6
  625. package/dist/skill/instructions.js +105 -105
  626. package/dist/skill.js +112 -112
  627. package/dist/snapshot.js +93 -93
  628. package/dist/state.js +1 -1
  629. package/dist/tool/html-markdown.js +1 -1
  630. package/dist/tool/http-body.js +1 -1
  631. package/dist/tool/mcp.js +130 -130
  632. package/dist/tool/plugin/edit.js +122 -122
  633. package/dist/tool/plugin/file-diff.js +1 -1
  634. package/dist/tool/plugin/glob.js +126 -126
  635. package/dist/tool/plugin/grep.js +124 -124
  636. package/dist/tool/plugin/mcp-resource.js +119 -119
  637. package/dist/tool/plugin/opencode.js +111 -111
  638. package/dist/tool/plugin/patch.js +124 -124
  639. package/dist/tool/plugin/question.js +107 -107
  640. package/dist/tool/plugin/read.js +127 -127
  641. package/dist/tool/plugin/shell.js +212 -212
  642. package/dist/tool/plugin/skill.js +107 -107
  643. package/dist/tool/plugin/subagent.js +212 -212
  644. package/dist/tool/plugin/webfetch.js +108 -108
  645. package/dist/tool/plugin/websearch.js +114 -114
  646. package/dist/tool/plugin/write.js +116 -116
  647. package/dist/tool/read-filesystem.js +102 -102
  648. package/dist/tool/runtime.js +1 -1
  649. package/dist/tool-output.js +7 -7
  650. package/dist/tool.js +16 -16
  651. package/dist/types/config/plugin/instruction.d.ts +3 -1
  652. package/dist/types/instruction-discovery.d.ts +2 -3
  653. package/dist/util/error-summary.js +1 -1
  654. package/dist/util/error.js +1 -1
  655. package/dist/util/git-executable.js +2 -2
  656. package/dist/util/iife.js +1 -1
  657. package/dist/util/lazy.js +1 -1
  658. package/dist/util/slug.js +1 -1
  659. package/dist/util/token.js +1 -1
  660. package/dist/util/which.js +1 -1
  661. package/dist/util/wildcard.js +1 -1
  662. package/dist/v1/config/agent.js +3 -3
  663. package/dist/v1/config/command.js +3 -3
  664. package/dist/v1/config/error.js +2 -2
  665. package/dist/v1/config/mcp.js +4 -4
  666. package/dist/v1/config/migrate.js +94 -94
  667. package/dist/v1/config/permission.js +1 -1
  668. package/dist/v1/config/plugin.js +3 -3
  669. package/dist/v1/config/provider-options.js +1 -1
  670. package/dist/v1/config/provider.js +4 -4
  671. package/dist/variant.js +95 -95
  672. package/dist/vcs/patch.js +1 -1
  673. package/dist/vcs.js +91 -91
  674. package/dist/websearch.js +86 -86
  675. package/dist/wellknown/plugin.js +78 -78
  676. package/dist/wellknown.js +83 -83
  677. package/dist/workspace/driver.js +5 -5
  678. package/dist/workspace/sql.js +1 -1
  679. package/dist/workspace.js +84 -84
  680. package/dist/worktree/directory.js +2 -2
  681. package/dist/worktree/git.js +10 -10
  682. package/dist/worktree/sql.js +5 -5
  683. package/dist/worktree/strategies.js +91 -91
  684. package/dist/worktree.js +100 -100
  685. package/package.json +8 -8
  686. package/dist/chunks/rpc-c4rtve7x.js +0 -253
  687. package/dist/chunks/rpc-jqh9b0xq.js +0 -18
  688. package/dist/chunks/rpc-qrmqj55a.js +0 -118
  689. package/dist/chunks/rpc-z00ewvj9.js +0 -26
  690. /package/dist/chunks/{rpc-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
  691. /package/dist/chunks/{rpc-0zkw76rk.js → state-0zkw76rk.js} +0 -0
  692. /package/dist/chunks/{rpc-17cy0kzp.js → state-17cy0kzp.js} +0 -0
  693. /package/dist/chunks/{rpc-1cnp2v09.js → state-1cnp2v09.js} +0 -0
  694. /package/dist/chunks/{rpc-1kg9ymc8.js → state-1kg9ymc8.js} +0 -0
  695. /package/dist/chunks/{rpc-24dcb14g.js → state-24dcb14g.js} +0 -0
  696. /package/dist/chunks/{rpc-2710q6r3.js → state-2710q6r3.js} +0 -0
  697. /package/dist/chunks/{rpc-2axfhc9x.js → state-2axfhc9x.js} +0 -0
  698. /package/dist/chunks/{rpc-2bv980vf.js → state-2bv980vf.js} +0 -0
  699. /package/dist/chunks/{rpc-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
  700. /package/dist/chunks/{rpc-359p4xyc.js → state-359p4xyc.js} +0 -0
  701. /package/dist/chunks/{rpc-3asan66x.js → state-3asan66x.js} +0 -0
  702. /package/dist/chunks/{rpc-3t0ybcrp.js → state-3t0ybcrp.js} +0 -0
  703. /package/dist/chunks/{rpc-3v8g72cx.js → state-3v8g72cx.js} +0 -0
  704. /package/dist/chunks/{rpc-3wcehsnq.js → state-3wcehsnq.js} +0 -0
  705. /package/dist/chunks/{rpc-43n2bw4t.js → state-43n2bw4t.js} +0 -0
  706. /package/dist/chunks/{rpc-4knz6hnm.js → state-4knz6hnm.js} +0 -0
  707. /package/dist/chunks/{rpc-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
  708. /package/dist/chunks/{rpc-4y7fprxs.js → state-4y7fprxs.js} +0 -0
  709. /package/dist/chunks/{rpc-53557ph1.js → state-53557ph1.js} +0 -0
  710. /package/dist/chunks/{rpc-550bvhaj.js → state-550bvhaj.js} +0 -0
  711. /package/dist/chunks/{rpc-5qd3pb7m.js → state-5qd3pb7m.js} +0 -0
  712. /package/dist/chunks/{rpc-6prwharc.js → state-6prwharc.js} +0 -0
  713. /package/dist/chunks/{rpc-6q2bdcd1.js → state-6q2bdcd1.js} +0 -0
  714. /package/dist/chunks/{rpc-7akdwqpd.js → state-7akdwqpd.js} +0 -0
  715. /package/dist/chunks/{rpc-7m9af43g.js → state-7m9af43g.js} +0 -0
  716. /package/dist/chunks/{rpc-822emrt2.js → state-822emrt2.js} +0 -0
  717. /package/dist/chunks/{rpc-84wd9syh.js → state-84wd9syh.js} +0 -0
  718. /package/dist/chunks/{rpc-88xbtdfr.js → state-88xbtdfr.js} +0 -0
  719. /package/dist/chunks/{rpc-8n3pysct.js → state-8n3pysct.js} +0 -0
  720. /package/dist/chunks/{rpc-8wj87zfr.js → state-8wj87zfr.js} +0 -0
  721. /package/dist/chunks/{rpc-9a4afbnw.js → state-9a4afbnw.js} +0 -0
  722. /package/dist/chunks/{rpc-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
  723. /package/dist/chunks/{rpc-a6k6eb26.js → state-a6k6eb26.js} +0 -0
  724. /package/dist/chunks/{rpc-af5trqkr.js → state-af5trqkr.js} +0 -0
  725. /package/dist/chunks/{rpc-afrmfg78.js → state-afrmfg78.js} +0 -0
  726. /package/dist/chunks/{rpc-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
  727. /package/dist/chunks/{rpc-atq7p7m5.js → state-atq7p7m5.js} +0 -0
  728. /package/dist/chunks/{rpc-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
  729. /package/dist/chunks/{rpc-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
  730. /package/dist/chunks/{rpc-cf4snx6d.js → state-cf4snx6d.js} +0 -0
  731. /package/dist/chunks/{rpc-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
  732. /package/dist/chunks/{rpc-d9fn303g.js → state-d9fn303g.js} +0 -0
  733. /package/dist/chunks/{rpc-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
  734. /package/dist/chunks/{rpc-dajrwvna.js → state-dajrwvna.js} +0 -0
  735. /package/dist/chunks/{rpc-dap0rakb.js → state-dap0rakb.js} +0 -0
  736. /package/dist/chunks/{rpc-df08tz66.js → state-df08tz66.js} +0 -0
  737. /package/dist/chunks/{rpc-dy18nga0.js → state-dy18nga0.js} +0 -0
  738. /package/dist/chunks/{rpc-e5kj55wp.js → state-e5kj55wp.js} +0 -0
  739. /package/dist/chunks/{rpc-e73j6tqm.js → state-e73j6tqm.js} +0 -0
  740. /package/dist/chunks/{rpc-ec1grn59.js → state-ec1grn59.js} +0 -0
  741. /package/dist/chunks/{rpc-eh3zwz77.js → state-eh3zwz77.js} +0 -0
  742. /package/dist/chunks/{rpc-emrn6kk6.js → state-emrn6kk6.js} +0 -0
  743. /package/dist/chunks/{rpc-f0mxakyp.js → state-f0mxakyp.js} +0 -0
  744. /package/dist/chunks/{rpc-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
  745. /package/dist/chunks/{rpc-faypxj3z.js → state-faypxj3z.js} +0 -0
  746. /package/dist/chunks/{rpc-fd410y7t.js → state-fd410y7t.js} +0 -0
  747. /package/dist/chunks/{rpc-g4wezp1m.js → state-g4wezp1m.js} +0 -0
  748. /package/dist/chunks/{rpc-g86h250q.js → state-g86h250q.js} +0 -0
  749. /package/dist/chunks/{rpc-gebd4c9n.js → state-gebd4c9n.js} +0 -0
  750. /package/dist/chunks/{rpc-gftt206x.js → state-gftt206x.js} +0 -0
  751. /package/dist/chunks/{rpc-hcxmzztb.js → state-hcxmzztb.js} +0 -0
  752. /package/dist/chunks/{rpc-hk9envan.js → state-hk9envan.js} +0 -0
  753. /package/dist/chunks/{rpc-j2ntwpah.js → state-j2ntwpah.js} +0 -0
  754. /package/dist/chunks/{rpc-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
  755. /package/dist/chunks/{rpc-jjkms2e6.js → state-jjkms2e6.js} +0 -0
  756. /package/dist/chunks/{rpc-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
  757. /package/dist/chunks/{rpc-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
  758. /package/dist/chunks/{rpc-jze0r7bz.js → state-jze0r7bz.js} +0 -0
  759. /package/dist/chunks/{rpc-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
  760. /package/dist/chunks/{rpc-m18g726c.js → state-m18g726c.js} +0 -0
  761. /package/dist/chunks/{rpc-mp448xyj.js → state-mp448xyj.js} +0 -0
  762. /package/dist/chunks/{rpc-msx8hqn2.js → state-msx8hqn2.js} +0 -0
  763. /package/dist/chunks/{rpc-n05xt0ee.js → state-n05xt0ee.js} +0 -0
  764. /package/dist/chunks/{rpc-n3j8tn72.js → state-n3j8tn72.js} +0 -0
  765. /package/dist/chunks/{rpc-njntx4h6.js → state-njntx4h6.js} +0 -0
  766. /package/dist/chunks/{rpc-pkyv6v7h.js → state-pkyv6v7h.js} +0 -0
  767. /package/dist/chunks/{rpc-pyv0edze.js → state-pyv0edze.js} +0 -0
  768. /package/dist/chunks/{rpc-q3sfg36h.js → state-q3sfg36h.js} +0 -0
  769. /package/dist/chunks/{rpc-q74kybfr.js → state-q74kybfr.js} +0 -0
  770. /package/dist/chunks/{rpc-qaymkmh1.js → state-qaymkmh1.js} +0 -0
  771. /package/dist/chunks/{rpc-qb87gjwd.js → state-qb87gjwd.js} +0 -0
  772. /package/dist/chunks/{rpc-qfa1cgps.js → state-qfa1cgps.js} +0 -0
  773. /package/dist/chunks/{rpc-qg3g05ea.js → state-qg3g05ea.js} +0 -0
  774. /package/dist/chunks/{rpc-qrg20bc0.js → state-qrg20bc0.js} +0 -0
  775. /package/dist/chunks/{rpc-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
  776. /package/dist/chunks/{rpc-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
  777. /package/dist/chunks/{rpc-ssg3fenm.js → state-ssg3fenm.js} +0 -0
  778. /package/dist/chunks/{rpc-ve7vex1e.js → state-ve7vex1e.js} +0 -0
  779. /package/dist/chunks/{rpc-w803qqfp.js → state-w803qqfp.js} +0 -0
  780. /package/dist/chunks/{rpc-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
  781. /package/dist/chunks/{rpc-wer8tq1h.js → state-wer8tq1h.js} +0 -0
  782. /package/dist/chunks/{rpc-wjj7prxr.js → state-wjj7prxr.js} +0 -0
  783. /package/dist/chunks/{rpc-wtztk69x.js → state-wtztk69x.js} +0 -0
  784. /package/dist/chunks/{rpc-x0ckcb58.js → state-x0ckcb58.js} +0 -0
  785. /package/dist/chunks/{rpc-x61499pn.js → state-x61499pn.js} +0 -0
  786. /package/dist/chunks/{rpc-y44na4kk.js → state-y44na4kk.js} +0 -0
  787. /package/dist/chunks/{rpc-y8f7s663.js → state-y8f7s663.js} +0 -0
  788. /package/dist/chunks/{rpc-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
  789. /package/dist/chunks/{rpc-ym463w8f.js → state-ym463w8f.js} +0 -0
  790. /package/dist/chunks/{rpc-z5v4ffb3.js → state-z5v4ffb3.js} +0 -0
  791. /package/dist/chunks/{rpc-z9919s4g.js → state-z9919s4g.js} +0 -0
@@ -1,46 +1,46 @@
1
1
  import {
2
2
  Service78
3
- } from "./rpc-b1kwtjp2.js";
3
+ } from "./state-wyctmkaw.js";
4
4
  import {
5
- Service76
6
- } from "./rpc-vxnp931j.js";
5
+ Service54
6
+ } from "./state-e77tbp3q.js";
7
7
  import {
8
- Service18,
8
+ Service14,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./rpc-z1zcjh09.js";
11
+ } from "./state-0ssrq3ck.js";
12
12
  import {
13
- Service17
14
- } from "./rpc-a7dkb545.js";
13
+ Service24
14
+ } from "./state-n5mn4s46.js";
15
15
  import {
16
- Service62
17
- } from "./rpc-td0am7tz.js";
16
+ Service63
17
+ } from "./state-df13mnsx.js";
18
18
  import {
19
- Service16,
19
+ Service18,
20
20
  resolvePath2
21
- } from "./rpc-axv8g7q4.js";
21
+ } from "./state-en6j97m7.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./rpc-6prwharc.js";
24
+ } from "./state-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./rpc-9rqn6x4v.js";
27
+ } from "./state-9rqn6x4v.js";
28
28
 
29
29
  // src/tool/plugin/edit.ts
30
30
  var exports_edit = {};
31
31
  __export(exports_edit, {
32
32
  EditTool: () => exports_edit,
33
- Input: () => Input3,
34
- Output: () => Output2,
35
- Plugin: () => Plugin3,
36
- name: () => name3
33
+ Input: () => Input12,
34
+ Output: () => Output8,
35
+ Plugin: () => Plugin48,
36
+ name: () => name12
37
37
  });
38
38
  import { ToolFailure } from "@opencode/ai";
39
39
  import { FileDiff } from "@opencode/schema/file-diff";
40
40
  import { Bom } from "@opencode/util/bom";
41
41
  import { Effect, Schema } from "effect";
42
- var name3 = "edit";
43
- var Input3 = Schema.Struct({
42
+ var name12 = "edit";
43
+ var Input12 = Schema.Struct({
44
44
  path: Schema.String.annotate({
45
45
  description: "File to edit"
46
46
  }),
@@ -50,7 +50,7 @@ var Input3 = Schema.Struct({
50
50
  description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
51
51
  })
52
52
  });
53
- var Output2 = Schema.Struct({
53
+ var Output8 = Schema.Struct({
54
54
  files: Schema.Array(FileDiff.Info),
55
55
  replacements: Schema.Number
56
56
  });
@@ -190,21 +190,21 @@ var countBefore = (positions, offset) => {
190
190
  }
191
191
  return low;
192
192
  };
193
- var Plugin3 = {
193
+ var Plugin48 = {
194
194
  id: "opencode.tool.edit",
195
195
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
196
- const access = yield* Service16;
197
- const fileMutation = yield* Service18;
198
- const environment = yield* Service76;
199
- const formatter = yield* Service17;
196
+ const access = yield* Service18;
197
+ const fileMutation = yield* Service14;
198
+ const environment = yield* Service54;
199
+ const formatter = yield* Service24;
200
200
  const location = yield* Service78;
201
- const permission = yield* Service62;
201
+ const permission = yield* Service63;
202
202
  yield* ctx.tool.transform((editor) => editor.add({
203
- name: name3,
203
+ name: name12,
204
204
  options: { codemode: false, permission: "edit" },
205
205
  description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. Write line breaks as \\n; the file's existing CRLF or LF line endings are matched and preserved. To change line endings themselves, make oldString and newString differ only in \\r; that edit applies to the exact bytes. If there is no exact match, the edit retries while ignoring typographic quote, dash, and space variants, then trailing whitespace on each line. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
206
- input: Input3,
207
- output: Output2,
206
+ input: Input12,
207
+ output: Output8,
208
208
  execute: (input, context) => {
209
209
  return Effect.gen(function* () {
210
210
  const permissionSource = {
@@ -276,4 +276,4 @@ var Plugin3 = {
276
276
  })
277
277
  };
278
278
 
279
- export { name3, Input3, Output2, Plugin3, exports_edit };
279
+ export { name12, Input12, Output8, Plugin48, exports_edit };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service74
3
- } from "./rpc-n3vb9epv.js";
2
+ Service75
3
+ } from "./state-82z684fv.js";
4
4
  import {
5
- Service62
6
- } from "./rpc-td0am7tz.js";
5
+ Service63
6
+ } from "./state-df13mnsx.js";
7
7
  import {
8
8
  __export
9
- } from "./rpc-9rqn6x4v.js";
9
+ } from "./state-9rqn6x4v.js";
10
10
 
11
11
  // src/tool/plugin/question.ts
12
12
  var exports_question = {};
13
13
  __export(exports_question, {
14
14
  CancelledError: () => CancelledError2,
15
- Input: () => Input14,
15
+ Input: () => Input13,
16
16
  Output: () => Output9,
17
17
  Plugin: () => Plugin50,
18
18
  QuestionTool: () => exports_question,
19
19
  description: () => description6,
20
- name: () => name14,
20
+ name: () => name13,
21
21
  toModelContent: () => toModelContent7
22
22
  });
23
23
  import { ToolFailure } from "@opencode/ai";
24
24
  import { Effect, Schema } from "effect";
25
25
  import { Question } from "@opencode/schema/question";
26
- var name14 = "question";
26
+ var name13 = "question";
27
27
  var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
28
28
  1. Gather user preferences or requirements
29
29
  2. Clarify ambiguous instructions
@@ -34,7 +34,7 @@ Usage notes:
34
34
  - A "Type your own answer" option is added automatically; don't include a separate option for free form answers
35
35
  - Set \`multiple: true\` to allow selecting more than one option
36
36
  - If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
37
- var Input14 = Schema.Struct({
37
+ var Input13 = Schema.Struct({
38
38
  questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
39
39
  });
40
40
  var Output9 = Schema.Struct({
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
53
53
  var Plugin50 = {
54
54
  id: "opencode.tool.question",
55
55
  effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
56
- const forms = yield* Service74;
57
- const permission = yield* Service62;
56
+ const forms = yield* Service75;
57
+ const permission = yield* Service63;
58
58
  yield* ctx.tool.transform((editor) => editor.add({
59
- name: name14,
59
+ name: name13,
60
60
  options: { codemode: false },
61
61
  description: description6,
62
- input: Input14,
62
+ input: Input13,
63
63
  output: Output9,
64
64
  execute: (input, context) => permission.assert({
65
65
  action: "question",
@@ -117,4 +117,4 @@ function toField(question, index) {
117
117
  };
118
118
  }
119
119
 
120
- export { name14, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin50, exports_question };
120
+ export { name13, description6, Input13, Output9, CancelledError2, toModelContent7, Plugin50, exports_question };
@@ -1,41 +1,41 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./rpc-g62k8ye6.js";
2
+ Service84,
3
+ node88
4
+ } from "./state-3wrzs5nr.js";
5
5
  import {
6
6
  create3
7
- } from "./rpc-rdw6cm16.js";
7
+ } from "./state-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./rpc-9rqn6x4v.js";
10
+ } from "./state-9rqn6x4v.js";
11
11
 
12
12
  // src/agent.ts
13
13
  var exports_agent4 = {};
14
14
  __export(exports_agent4, {
15
15
  Agent: () => exports_agent4,
16
16
  Color: () => Color2,
17
- Event: () => Event14,
17
+ Event: () => Event12,
18
18
  ID: () => ID9,
19
- Info: () => Info17,
19
+ Info: () => Info18,
20
20
  Name: () => Name3,
21
- Service: () => Service65,
21
+ Service: () => Service68,
22
22
  defaultID: () => defaultID2,
23
- node: () => node67
23
+ node: () => node72
24
24
  });
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Array, Context, Effect, Layer } from "effect";
27
27
  import { Agent } from "@opencode/schema/agent";
28
- import { Event as Event14 } from "@opencode/schema/agent";
28
+ import { Event as Event12 } from "@opencode/schema/agent";
29
29
  var ID9 = Agent.ID;
30
30
  var Name3 = Agent.Name;
31
31
  var defaultID2 = ID9.make("build");
32
32
  var Color2 = Agent.Color;
33
- var Info17 = Agent.Info;
33
+ var Info18 = Agent.Info;
34
34
 
35
- class Service65 extends Context.Service()("@opencode/Agent") {
35
+ class Service68 extends Context.Service()("@opencode/Agent") {
36
36
  }
37
- var layer = Layer.effect(Service65, Effect.gen(function* () {
38
- const bus = yield* Service83;
37
+ var layer = Layer.effect(Service68, Effect.gen(function* () {
38
+ const bus = yield* Service84;
39
39
  const state = create3({
40
40
  name: "agent",
41
41
  initial: () => ({ agents: new Map }),
@@ -46,7 +46,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
46
46
  editor.default = id;
47
47
  },
48
48
  update: (id, fn) => {
49
- const current = editor.agents.get(id) ?? Info17.default(id);
49
+ const current = editor.agents.get(id) ?? Info18.default(id);
50
50
  if (!editor.agents.has(id))
51
51
  editor.agents.set(id, current);
52
52
  fn(current);
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
73
73
  return fallback;
74
74
  }
75
75
  };
76
- return Service65.of({
76
+ return Service68.of({
77
77
  transform: state.transform,
78
78
  reload: state.reload,
79
79
  get: Effect.fn("Agent.get")(function* (id) {
@@ -101,6 +101,6 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
101
101
  })
102
102
  });
103
103
  }));
104
- var node67 = makeLocationNode({ service: Service65, layer, deps: [node87] });
104
+ var node72 = makeLocationNode({ service: Service68, layer, deps: [node88] });
105
105
 
106
- export { ID9, Name3, defaultID2, Color2, Info17, Service65, node67, exports_agent4, Event14 };
106
+ export { ID9, Name3, defaultID2, Color2, Info18, Service68, node72, exports_agent4, Event12 };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  llmClient2
3
- } from "./rpc-775gj3j1.js";
3
+ } from "./state-775gj3j1.js";
4
4
  import {
5
- Service68,
6
- node71
7
- } from "./rpc-pybx3045.js";
5
+ Service69,
6
+ node73
7
+ } from "./state-6v577egq.js";
8
8
  import {
9
9
  __export
10
- } from "./rpc-9rqn6x4v.js";
10
+ } from "./state-9rqn6x4v.js";
11
11
 
12
12
  // src/generate.ts
13
- var exports_generate2 = {};
14
- __export(exports_generate2, {
15
- Generate: () => exports_generate2,
13
+ var exports_generate = {};
14
+ __export(exports_generate, {
15
+ Generate: () => exports_generate,
16
16
  ModelSelectionError: () => ModelSelectionError2,
17
- Service: () => Service61,
17
+ Service: () => Service19,
18
18
  UnavailableError: () => UnavailableError3,
19
- layer: () => layer24,
20
- node: () => node63
19
+ layer: () => layer10,
20
+ node: () => node22
21
21
  });
22
22
  import { LLM, LLMClient } from "@opencode/ai";
23
23
  import { SessionID } from "@opencode/schema/session-id";
@@ -34,11 +34,11 @@ class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError"
34
34
  }) {
35
35
  }
36
36
 
37
- class Service61 extends Context.Service()("@opencode/Generate") {
37
+ class Service19 extends Context.Service()("@opencode/Generate") {
38
38
  }
39
- var layer24 = Layer.effect(Service61, Effect.gen(function* () {
39
+ var layer10 = Layer.effect(Service19, Effect.gen(function* () {
40
40
  const llm = yield* LLMClient.Service;
41
- const resolver = yield* Service68;
41
+ const resolver = yield* Service69;
42
42
  const runText = Effect.fn("Generate.text")(function* (input) {
43
43
  const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
44
44
  "SessionRunnerModel.VariantUnavailableError",
@@ -68,12 +68,12 @@ var layer24 = Layer.effect(Service61, Effect.gen(function* () {
68
68
  const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
69
69
  message: "Generation credentials are unavailable"
70
70
  })));
71
- return Service61.of({ text });
71
+ return Service19.of({ text });
72
72
  }));
73
- var node63 = makeLocationNode({
74
- service: Service61,
75
- layer: layer24,
76
- deps: [node71, llmClient2]
73
+ var node22 = makeLocationNode({
74
+ service: Service19,
75
+ layer: layer10,
76
+ deps: [node73, llmClient2]
77
77
  });
78
78
 
79
- export { ModelSelectionError2, UnavailableError3, Service61, layer24, node63, exports_generate2 };
79
+ export { ModelSelectionError2, UnavailableError3, Service19, layer10, node22, exports_generate };
@@ -1,58 +1,58 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./rpc-g62k8ye6.js";
2
+ Service84,
3
+ node88
4
+ } from "./state-3wrzs5nr.js";
5
5
  import {
6
- Service74,
7
- node77
8
- } from "./rpc-n3vb9epv.js";
6
+ Service75,
7
+ node79
8
+ } from "./state-82z684fv.js";
9
9
  import {
10
10
  Service79,
11
11
  node83
12
- } from "./rpc-a4cx9gg9.js";
12
+ } from "./state-dt7wv7f8.js";
13
13
  import {
14
14
  Ref4,
15
15
  Service78,
16
16
  node82
17
- } from "./rpc-b1kwtjp2.js";
17
+ } from "./state-wyctmkaw.js";
18
18
  import {
19
19
  canonical3
20
- } from "./rpc-66keg2ed.js";
20
+ } from "./state-f526sqyy.js";
21
21
  import {
22
22
  SessionEvent2
23
- } from "./rpc-ec1grn59.js";
23
+ } from "./state-ec1grn59.js";
24
24
  import {
25
- Service62,
26
- node64
27
- } from "./rpc-td0am7tz.js";
25
+ Service63,
26
+ node67
27
+ } from "./state-df13mnsx.js";
28
28
  import {
29
- Service67,
30
- node69
31
- } from "./rpc-9pdrjcjq.js";
29
+ Service23,
30
+ node26
31
+ } from "./state-4h0sx8pt.js";
32
32
  import {
33
33
  __export
34
- } from "./rpc-9rqn6x4v.js";
34
+ } from "./state-9rqn6x4v.js";
35
35
 
36
36
  // src/location-lifecycle.ts
37
37
  var exports_location_lifecycle = {};
38
38
  __export(exports_location_lifecycle, {
39
39
  LocationLifecycle: () => exports_location_lifecycle,
40
- Service: () => Service20,
41
- node: () => node22
40
+ Service: () => Service22,
41
+ node: () => node25
42
42
  });
43
43
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
44
44
  import { makeLocationNode } from "@opencode/util/effect/app-node";
45
45
  import { LocationEvent } from "@opencode/schema/location-event";
46
46
  var isSessionEvent = Schema.is(SessionEvent2.Durable);
47
47
 
48
- class Service20 extends Context.Service()("@opencode/LocationLifecycle") {
48
+ class Service22 extends Context.Service()("@opencode/LocationLifecycle") {
49
49
  }
50
- var layer = Layer.effect(Service20, Effect.gen(function* () {
51
- const bus = yield* Service83;
50
+ var layer = Layer.effect(Service22, Effect.gen(function* () {
51
+ const bus = yield* Service84;
52
52
  const location = yield* Service78;
53
- const permission = yield* Service62;
54
- const forms = yield* Service74;
55
- const rpc = yield* Service67;
53
+ const permission = yield* Service63;
54
+ const forms = yield* Service75;
55
+ const rpc = yield* Service23;
56
56
  const project = yield* Service79;
57
57
  const scope = yield* Effect.scope;
58
58
  yield* project.activate(location.project.id);
@@ -80,15 +80,15 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
80
80
  });
81
81
  }).pipe(Effect.ensuring(Deferred.succeed(done, undefined)));
82
82
  }).pipe(Effect.uninterruptible);
83
- return Service20.of({
83
+ return Service22.of({
84
84
  isClosed: () => closed,
85
85
  shutdown
86
86
  });
87
87
  }));
88
- var node22 = makeLocationNode({
89
- service: Service20,
88
+ var node25 = makeLocationNode({
89
+ service: Service22,
90
90
  layer,
91
- deps: [node87, node82, node64, node83, node77, node69]
91
+ deps: [node88, node82, node67, node83, node79, node26]
92
92
  });
93
93
 
94
- export { Service20, node22, exports_location_lifecycle };
94
+ export { Service22, node25, exports_location_lifecycle };
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./rpc-g62k8ye6.js";
2
+ Service84,
3
+ node88
4
+ } from "./state-3wrzs5nr.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./rpc-rdw6cm16.js";
8
+ } from "./state-rdw6cm16.js";
9
9
  import {
10
10
  Service78,
11
11
  node82
12
- } from "./rpc-b1kwtjp2.js";
12
+ } from "./state-wyctmkaw.js";
13
13
  import {
14
14
  rewrite2,
15
- ID12,
15
+ ID11,
16
16
  modelSettings2,
17
17
  mergeOverlay2,
18
18
  mergeHeaders2,
19
- Service71,
20
- node74,
21
- Event16
22
- } from "./rpc-6ha732mw.js";
19
+ Service72,
20
+ node76,
21
+ Event14
22
+ } from "./state-1w4hzgxt.js";
23
23
  import {
24
24
  __export
25
- } from "./rpc-9rqn6x4v.js";
25
+ } from "./state-9rqn6x4v.js";
26
26
 
27
27
  // src/model.ts
28
28
  var exports_model2 = {};
@@ -30,27 +30,27 @@ __export(exports_model2, {
30
30
  Capabilities: () => Capabilities2,
31
31
  Compatibility: () => Compatibility2,
32
32
  Cost: () => Cost2,
33
- Event: () => Event15,
33
+ Event: () => Event13,
34
34
  Family: () => Family2,
35
- ID: () => ID11,
35
+ ID: () => ID10,
36
36
  Info: () => Info19,
37
37
  Model: () => exports_model2,
38
38
  ReasoningField: () => ReasoningField2,
39
39
  Ref: () => Ref2,
40
- Service: () => Service70,
40
+ Service: () => Service71,
41
41
  VariantID: () => VariantID2,
42
42
  compatibility: () => compatibility2,
43
43
  mergeCapabilities: () => mergeCapabilities2,
44
- node: () => node73,
45
- parse: () => parse4,
44
+ node: () => node75,
45
+ parse: () => parse5,
46
46
  supportsText: () => supportsText2
47
47
  });
48
48
  import { Model } from "@opencode/schema/model";
49
49
  import { Context, Effect, Layer, Stream } from "effect";
50
50
  import { makeLocationNode } from "@opencode/util/effect/app-node";
51
51
  import { freeze } from "immer";
52
- import { Event as Event15 } from "@opencode/schema/model";
53
- var ID11 = Model.ID;
52
+ import { Event as Event13 } from "@opencode/schema/model";
53
+ var ID10 = Model.ID;
54
54
  var VariantID2 = Model.VariantID;
55
55
  var Family2 = Model.Family;
56
56
  var ReasoningField2 = Model.ReasoningField;
@@ -68,11 +68,11 @@ var Cost2 = Model.Cost;
68
68
  var Ref2 = Model.Ref;
69
69
  var Info19 = Model.Info;
70
70
 
71
- class Service70 extends Context.Service()("@opencode/Model") {
71
+ class Service71 extends Context.Service()("@opencode/Model") {
72
72
  }
73
- var layer = Layer.effect(Service70, Effect.gen(function* () {
74
- const providers = yield* Service71;
75
- const bus = yield* Service83;
73
+ var layer = Layer.effect(Service71, Effect.gen(function* () {
74
+ const providers = yield* Service72;
75
+ const bus = yield* Service84;
76
76
  const location = yield* Service78;
77
77
  let input;
78
78
  const state = create3({
@@ -208,8 +208,8 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
208
208
  location: { directory: location.directory, workspaceID: location.workspaceID }
209
209
  });
210
210
  });
211
- yield* bus.subscribe(Event16.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
212
- return Service70.of({
211
+ yield* bus.subscribe(Event14.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
212
+ return Service71.of({
213
213
  transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
214
214
  reload,
215
215
  get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
@@ -228,7 +228,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
228
228
  })
229
229
  });
230
230
  }));
231
- var node73 = makeLocationNode({ service: Service70, layer, deps: [node74, node87, node82] });
231
+ var node75 = makeLocationNode({ service: Service71, layer, deps: [node76, node88, node82] });
232
232
  function supportsText2(model) {
233
233
  return (model.capabilities.input.length === 0 || model.capabilities.input.some((item) => item.startsWith("text"))) && (model.capabilities.output.length === 0 || model.capabilities.output.some((item) => item.startsWith("text")));
234
234
  }
@@ -239,12 +239,12 @@ function compatibility2(input) {
239
239
  return;
240
240
  return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
241
241
  }
242
- function parse4(input) {
242
+ function parse5(input) {
243
243
  const index = input.indexOf("/");
244
244
  return {
245
- providerID: ID12.make(index === -1 ? input : input.slice(0, index)),
246
- modelID: ID11.make(index === -1 ? "" : input.slice(index + 1))
245
+ providerID: ID11.make(index === -1 ? input : input.slice(0, index)),
246
+ modelID: ID10.make(index === -1 ? "" : input.slice(index + 1))
247
247
  };
248
248
  }
249
249
 
250
- export { ID11, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info19, Service70, node73, supportsText2, compatibility2, parse4, exports_model2, Event15 };
250
+ export { ID10, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info19, Service71, node75, supportsText2, compatibility2, parse5, exports_model2, Event13 };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  match2
3
- } from "./rpc-y1fvbwt7.js";
3
+ } from "./state-y1fvbwt7.js";
4
4
  import {
5
5
  __export
6
- } from "./rpc-9rqn6x4v.js";
6
+ } from "./state-9rqn6x4v.js";
7
7
 
8
8
  // src/managed-policy.ts
9
9
  var exports_managed_policy = {};
10
10
  __export(exports_managed_policy, {
11
11
  ManagedPolicy: () => exports_managed_policy,
12
- Service: () => Service19,
12
+ Service: () => Service21,
13
13
  decision: () => decision2,
14
- layer: () => layer10,
15
- node: () => node21,
14
+ layer: () => layer12,
15
+ node: () => node24,
16
16
  statements: () => statements2
17
17
  });
18
18
  import { isDeepStrictEqual } from "node:util";
19
19
  import { Context, Effect, Layer, PubSub, Stream } from "effect";
20
20
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
21
21
 
22
- class Service19 extends Context.Service()("@opencode/ManagedPolicy") {
22
+ class Service21 extends Context.Service()("@opencode/ManagedPolicy") {
23
23
  }
24
- var layer10 = Layer.effect(Service19, Effect.gen(function* () {
24
+ var layer12 = Layer.effect(Service21, Effect.gen(function* () {
25
25
  const changes = yield* PubSub.unbounded();
26
26
  const state = { current: { statements: [] } };
27
- return Service19.of({
27
+ return Service21.of({
28
28
  changes: () => Stream.fromPubSub(changes),
29
29
  current: () => state.current,
30
30
  set: (next) => Effect.gen(function* () {
@@ -36,7 +36,7 @@ var layer10 = Layer.effect(Service19, Effect.gen(function* () {
36
36
  })
37
37
  });
38
38
  }));
39
- var node21 = makeGlobalNode({ service: Service19, layer: layer10, deps: [] });
39
+ var node24 = makeGlobalNode({ service: Service21, layer: layer12, deps: [] });
40
40
  function statements2(entries, organization) {
41
41
  return [
42
42
  ...entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.policies ?? []).map((policy) => ({ ...policy, message: "Blocked by configuration policy" })),
@@ -50,4 +50,4 @@ function decision2(policies, action, resource) {
50
50
  return policies.findLast((policy) => policy.action === action && match2(resource, policy.resource))?.effect ?? "allow";
51
51
  }
52
52
 
53
- export { Service19, layer10, node21, statements2, decision2, exports_managed_policy };
53
+ export { Service21, layer12, node24, statements2, decision2, exports_managed_policy };
@@ -5,24 +5,24 @@ import {
5
5
  emptyPatch2,
6
6
  splitGitPatch2,
7
7
  chunksByFile2
8
- } from "./rpc-tazgh4e4.js";
8
+ } from "./state-tazgh4e4.js";
9
9
  import {
10
10
  gitExecutable2
11
- } from "./rpc-ef5x83kb.js";
11
+ } from "./state-ef5x83kb.js";
12
12
  import {
13
13
  Service78
14
- } from "./rpc-b1kwtjp2.js";
14
+ } from "./state-wyctmkaw.js";
15
15
  import {
16
16
  DiffError2
17
- } from "./rpc-2c1etwgk.js";
17
+ } from "./state-mznrgk7s.js";
18
18
  import {
19
19
  __export
20
- } from "./rpc-9rqn6x4v.js";
20
+ } from "./state-9rqn6x4v.js";
21
21
 
22
22
  // src/plugin/vcs/git.ts
23
23
  var exports_git = {};
24
24
  __export(exports_git, {
25
- Plugin: () => Plugin20,
25
+ Plugin: () => Plugin3,
26
26
  VcsGitPlugin: () => exports_git
27
27
  });
28
28
  import { randomUUID } from "crypto";
@@ -33,7 +33,7 @@ import { define } from "@opencode/plugin/effect/plugin";
33
33
  import { Effect } from "effect";
34
34
  import { ChildProcess } from "effect/process";
35
35
  import { AppProcess } from "@opencode/util/process";
36
- var Plugin20 = define({
36
+ var Plugin3 = define({
37
37
  id: "opencode.vcs.git",
38
38
  effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
39
39
  const location = yield* Service78;
@@ -553,4 +553,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
553
553
  return yield* diffAgainstRef(ctx, ref, options);
554
554
  });
555
555
 
556
- export { Plugin20, exports_git };
556
+ export { Plugin3, exports_git };