@opencode/core 0.0.0-dev-21876 → 0.0.0-dev-21894

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 (844) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +87 -87
  3. package/dist/aisdk-native.js +97 -96
  4. package/dist/aisdk.js +103 -102
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +79 -79
  7. package/dist/chunks/{agent-aj7mw0zk.js → image-034tev2y.js} +2 -2
  8. package/dist/chunks/{agent-nvakqqep.js → image-0chf3frg.js} +12 -12
  9. package/dist/chunks/{agent-t0s3yhk6.js → image-0f33tz00.js} +22 -22
  10. package/dist/chunks/{agent-3hekd5hc.js → image-0f57eq9f.js} +17 -17
  11. package/dist/chunks/{agent-3xynd5jb.js → image-0hhp0beb.js} +29 -29
  12. package/dist/chunks/{agent-3pgqqt17.js → image-0jq6xs6g.js} +22 -22
  13. package/dist/chunks/image-0namxv6m.js +26 -0
  14. package/dist/chunks/{agent-y3h8fq5y.js → image-0t1h01ha.js} +37 -37
  15. package/dist/chunks/{agent-p70n5a2e.js → image-0twh7x0p.js} +45 -45
  16. package/dist/chunks/{agent-aqnwz5fn.js → image-0xa5r7gy.js} +18 -18
  17. package/dist/chunks/{agent-eyn6zj3x.js → image-0zav5kyp.js} +24 -24
  18. package/dist/chunks/{agent-11hfp36g.js → image-11hfp36g.js} +1 -1
  19. package/dist/chunks/{agent-nynx6wfa.js → image-15jp5dqc.js} +15 -15
  20. package/dist/chunks/{agent-630d3s4r.js → image-15wvffc0.js} +21 -21
  21. package/dist/chunks/{agent-27w5k9zf.js → image-1ep2p91f.js} +2 -2
  22. package/dist/chunks/{agent-7xm5yhm8.js → image-1eqy2zth.js} +46 -46
  23. package/dist/chunks/{agent-z9cf55b4.js → image-1p4yt6ne.js} +13 -13
  24. package/dist/chunks/{agent-aqjzr6r1.js → image-1ph64p7d.js} +24 -24
  25. package/dist/chunks/{agent-k497vvr9.js → image-1w2zn1e5.js} +4 -4
  26. package/dist/chunks/{agent-1x2knyw4.js → image-1x2knyw4.js} +1 -1
  27. package/dist/chunks/{agent-fshpjc7v.js → image-1x6596zm.js} +11 -11
  28. package/dist/chunks/{agent-jzga9m04.js → image-1y5v4mkh.js} +7 -7
  29. package/dist/chunks/{agent-hendem5s.js → image-1ya9fna5.js} +60 -66
  30. package/dist/chunks/{agent-psjhb6h9.js → image-1yefr3a7.js} +11 -11
  31. package/dist/chunks/{agent-p7vhpwh8.js → image-1yq9hg58.js} +5 -5
  32. package/dist/chunks/{agent-vd3b3yk9.js → image-204s3925.js} +13 -2
  33. package/dist/chunks/{agent-2c71xmrd.js → image-28d6a7kc.js} +40 -40
  34. package/dist/chunks/{agent-9tqk2n2m.js → image-28h91mdk.js} +5 -5
  35. package/dist/chunks/{agent-kd4chd64.js → image-2azy8kv6.js} +5 -5
  36. package/dist/chunks/{agent-jtrgaghe.js → image-2b68dg32.js} +46 -46
  37. package/dist/chunks/{agent-88byhbg6.js → image-2ccysd6w.js} +16 -16
  38. package/dist/chunks/{agent-sfm9ka6b.js → image-2mvc8y7w.js} +38 -38
  39. package/dist/chunks/{agent-808w5zy2.js → image-2sr7r47n.js} +24 -24
  40. package/dist/chunks/{agent-akqrtxca.js → image-2tfftvad.js} +9 -9
  41. package/dist/chunks/{agent-2z1j29yd.js → image-2z1j29yd.js} +1 -1
  42. package/dist/chunks/{agent-s2pfznc4.js → image-32rqdfc7.js} +6 -6
  43. package/dist/chunks/{agent-06ezgrzy.js → image-35kr33c6.js} +8 -8
  44. package/dist/chunks/{agent-t5kz8xvk.js → image-3fxg60jv.js} +20 -20
  45. package/dist/chunks/{agent-43extae9.js → image-3fxvhw31.js} +13 -13
  46. package/dist/chunks/{agent-2y49s4ck.js → image-3h718rah.js} +30 -31
  47. package/dist/chunks/{agent-3hepkmqq.js → image-3hepkmqq.js} +1 -1
  48. package/dist/chunks/{agent-3nnrz6f6.js → image-3nnrz6f6.js} +1 -1
  49. package/dist/chunks/{agent-akxzt346.js → image-3rtadbmj.js} +25 -25
  50. package/dist/chunks/{agent-g4qbe2v9.js → image-3t73xeyv.js} +2 -2
  51. package/dist/chunks/{agent-c8g0sqk1.js → image-405jdxex.js} +3 -3
  52. package/dist/chunks/{agent-w2eysc6j.js → image-40za9wsf.js} +9 -9
  53. package/dist/chunks/{agent-km2ven80.js → image-41b5h7kw.js} +8 -8
  54. package/dist/chunks/{agent-8sw8s5xk.js → image-465gqz21.js} +48 -45
  55. package/dist/chunks/{agent-xvqc07w7.js → image-489czqv0.js} +13 -13
  56. package/dist/chunks/{agent-9ygqb4bs.js → image-49c735ne.js} +17 -17
  57. package/dist/chunks/{agent-y49518kq.js → image-4b5nmf5q.js} +45 -45
  58. package/dist/chunks/{agent-qax5zjmd.js → image-4een2pqp.js} +24 -24
  59. package/dist/chunks/{agent-gjkhks3w.js → image-4f6p1dag.js} +10 -10
  60. package/dist/chunks/{agent-pv6sstp4.js → image-4kj4gkg1.js} +12 -12
  61. package/dist/chunks/{agent-4v008n1t.js → image-4v008n1t.js} +1 -1
  62. package/dist/chunks/{agent-4xvmh7wp.js → image-4xvmh7wp.js} +3 -3
  63. package/dist/chunks/{agent-dkdbn7qp.js → image-5af0y8wk.js} +27 -27
  64. package/dist/chunks/{agent-fyswm6z2.js → image-5deer1e9.js} +9 -9
  65. package/dist/chunks/{agent-erh01ra6.js → image-5et41axm.js} +9 -9
  66. package/dist/chunks/{agent-wj0x0my7.js → image-5fxf8m1w.js} +34 -34
  67. package/dist/chunks/{agent-6mrjjgaf.js → image-5kgs3fk1.js} +6 -6
  68. package/dist/chunks/{agent-5m9w47nd.js → image-5m9w47nd.js} +1 -1
  69. package/dist/chunks/{agent-bmx631f3.js → image-5w7vbjkb.js} +12 -12
  70. package/dist/chunks/{agent-n0f2hcr3.js → image-60qa52yq.js} +33 -33
  71. package/dist/chunks/{agent-42jd4697.js → image-61ennm6n.js} +4 -4
  72. package/dist/chunks/{agent-2zwbm7z6.js → image-6ac2qzqj.js} +17 -17
  73. package/dist/chunks/{agent-6esdw8yj.js → image-6esdw8yj.js} +1 -1
  74. package/dist/chunks/{agent-7xb8m1hd.js → image-6mnd27wh.js} +33 -31
  75. package/dist/chunks/{agent-6pjqjmy2.js → image-6pjqjmy2.js} +1 -1
  76. package/dist/chunks/{agent-f12pq1t4.js → image-6tq0mqqx.js} +41 -39
  77. package/dist/chunks/{agent-rydtep4r.js → image-6xw34d25.js} +9 -9
  78. package/dist/chunks/{agent-wt9cess9.js → image-6y263vp8.js} +5 -5
  79. package/dist/chunks/{agent-y63jcvcc.js → image-731keyrx.js} +5 -5
  80. package/dist/chunks/{agent-w8qtt4th.js → image-76cb1hcw.js} +4 -4
  81. package/dist/chunks/{agent-nah043kf.js → image-770pw0s1.js} +4 -4
  82. package/dist/chunks/{agent-7bmhse3q.js → image-7bmhse3q.js} +1 -1
  83. package/dist/chunks/{agent-r0sc5khv.js → image-7c837hp4.js} +11 -11
  84. package/dist/chunks/{agent-m9pm89y0.js → image-7cw7v3jn.js} +7 -7
  85. package/dist/chunks/{agent-hzyjdts2.js → image-7evmvwfr.js} +2 -2
  86. package/dist/chunks/{agent-ng3c2vx3.js → image-7hbkmckc.js} +23 -23
  87. package/dist/chunks/{agent-0ryzmj4j.js → image-7hqnhvmk.js} +6 -6
  88. package/dist/chunks/{agent-fw7t8tww.js → image-7nxtby5e.js} +20 -20
  89. package/dist/chunks/{agent-7w2ypzdf.js → image-7w2ypzdf.js} +1 -1
  90. package/dist/chunks/{agent-92c1azvn.js → image-80m5xgxj.js} +8 -8
  91. package/dist/chunks/{agent-hx6gesf1.js → image-81a9zpe2.js} +8 -8
  92. package/dist/chunks/{agent-508bnh7x.js → image-82460pbt.js} +12 -12
  93. package/dist/chunks/{agent-k1zdwj5m.js → image-85a8a4f2.js} +21 -16
  94. package/dist/chunks/{agent-90z60219.js → image-8f6rjm1e.js} +30 -31
  95. package/dist/chunks/{agent-w4g85eya.js → image-8m9tyk9p.js} +21 -21
  96. package/dist/chunks/{agent-pzzw8bte.js → image-8qrjb01m.js} +9 -9
  97. package/dist/chunks/{agent-8wtp7s3z.js → image-8wtp7s3z.js} +1 -1
  98. package/dist/chunks/{agent-8y4jps98.js → image-8y4jps98.js} +1 -1
  99. package/dist/chunks/{agent-bnvqjy8m.js → image-8ycv8ygb.js} +19 -19
  100. package/dist/chunks/{agent-91rj84md.js → image-91rj84md.js} +1 -1
  101. package/dist/chunks/{agent-28kj7fpp.js → image-94v32shx.js} +2 -2
  102. package/dist/chunks/{agent-gfb9vjwz.js → image-96h5102f.js} +14 -14
  103. package/dist/chunks/{agent-e8yvr5rn.js → image-983qa8hr.js} +25 -25
  104. package/dist/chunks/{agent-9cx9sm2q.js → image-9cx9sm2q.js} +1 -1
  105. package/dist/chunks/{agent-vpy60e9y.js → image-9g2m2ytf.js} +24 -24
  106. package/dist/chunks/{agent-gjk9ww24.js → image-9gs10211.js} +87 -87
  107. package/dist/chunks/{agent-1y0wdj51.js → image-9q8g9sv8.js} +9 -9
  108. package/dist/chunks/{agent-9yr8g2ta.js → image-9ttv7pfb.js} +5 -5
  109. package/dist/chunks/{agent-c8k7ww63.js → image-a1s8yyjv.js} +26 -26
  110. package/dist/chunks/{agent-bqje3trr.js → image-a58h53ak.js} +22 -22
  111. package/dist/chunks/{agent-r476v4sd.js → image-a8kzmvy3.js} +1 -1
  112. package/dist/chunks/{agent-n585bckd.js → image-aa7k1xs2.js} +12 -12
  113. package/dist/chunks/{agent-r1t3cyb3.js → image-asgc5s7p.js} +12 -12
  114. package/dist/chunks/image-av4j8ver.js +257 -0
  115. package/dist/chunks/{agent-0dcj0mgt.js → image-ay0zdfv2.js} +9 -9
  116. package/dist/chunks/{agent-3cbjf1nt.js → image-ayjs7tqn.js} +2 -2
  117. package/dist/chunks/{agent-b0mv4wxm.js → image-b0mv4wxm.js} +2 -2
  118. package/dist/chunks/{agent-jqjqv5mv.js → image-b13kx4jn.js} +3 -3
  119. package/dist/chunks/{agent-feq2fds5.js → image-b6j7grnb.js} +23 -23
  120. package/dist/chunks/{agent-b6vsg801.js → image-b6vsg801.js} +2 -2
  121. package/dist/chunks/{agent-skxa8yqx.js → image-b9z2pmeq.js} +334 -334
  122. package/dist/chunks/{agent-gpe9115v.js → image-bcpp1tvw.js} +20 -20
  123. package/dist/chunks/{agent-7n1bz5n5.js → image-bdc18mvy.js} +11 -11
  124. package/dist/chunks/{agent-z45ac4nf.js → image-bkjwy8k0.js} +32 -32
  125. package/dist/chunks/{agent-ghsyx58e.js → image-bn7x7enw.js} +4 -4
  126. package/dist/chunks/{agent-3vn4m52k.js → image-br2qb96s.js} +26 -26
  127. package/dist/chunks/{agent-bqabctay.js → image-bs9449bv.js} +16 -16
  128. package/dist/chunks/{agent-bstexjd6.js → image-bstexjd6.js} +1 -1
  129. package/dist/chunks/{agent-72ztq2m3.js → image-bw2ypeg9.js} +16 -16
  130. package/dist/chunks/{agent-e0gqtbhp.js → image-c2gwsyxf.js} +10 -10
  131. package/dist/chunks/{agent-reqv0nhy.js → image-c9haesmz.js} +54 -54
  132. package/dist/chunks/{agent-2a94dxzd.js → image-chmh4bqg.js} +17 -17
  133. package/dist/chunks/{agent-2mbjfaxd.js → image-cnj75yzs.js} +4 -4
  134. package/dist/chunks/{agent-ademh8e3.js → image-cp9gsj1w.js} +11 -11
  135. package/dist/chunks/{agent-qvzt83st.js → image-cwcefvfr.js} +20 -20
  136. package/dist/chunks/{agent-gn8tkhbf.js → image-d4v9tmah.js} +2 -2
  137. package/dist/chunks/{agent-n66c6y3m.js → image-djjzzs3c.js} +6 -6
  138. package/dist/chunks/{agent-g85rjq8b.js → image-dr9fxamp.js} +21 -21
  139. package/dist/chunks/{agent-68s5dt7r.js → image-drh9h2fe.js} +74 -74
  140. package/dist/chunks/{agent-xgm1b0sj.js → image-dx875p31.js} +16 -16
  141. package/dist/chunks/{agent-tk0xf7e5.js → image-dyz29spx.js} +11 -11
  142. package/dist/chunks/{agent-wby0kqsc.js → image-e07q2w5p.js} +4 -4
  143. package/dist/chunks/{agent-5qd3pb7m.js → image-e3qxr5gk.js} +2 -2
  144. package/dist/chunks/{agent-nd27gdj2.js → image-e66yb76v.js} +18 -18
  145. package/dist/chunks/{agent-e834z07m.js → image-e834z07m.js} +1 -1
  146. package/dist/chunks/{agent-bwe4w6pg.js → image-e89kw89p.js} +27 -27
  147. package/dist/chunks/{agent-4jyhcbwp.js → image-e9kxjfm5.js} +15 -15
  148. package/dist/chunks/{agent-j5qp76cc.js → image-edfcvy1j.js} +5 -5
  149. package/dist/chunks/{agent-z2v06856.js → image-ee12drxn.js} +5 -5
  150. package/dist/chunks/{agent-ncn2yap2.js → image-ee4scs67.js} +4 -4
  151. package/dist/chunks/{agent-qxhawqxf.js → image-eqc3e404.js} +14 -14
  152. package/dist/chunks/{agent-yst6f085.js → image-exned2cn.js} +4 -4
  153. package/dist/chunks/{agent-97zspg27.js → image-f2kgtz6y.js} +11 -11
  154. package/dist/chunks/{agent-twhms9x5.js → image-fbgksv32.js} +9 -9
  155. package/dist/chunks/{agent-fffv3p7h.js → image-fffv3p7h.js} +1 -1
  156. package/dist/chunks/{agent-y7rptanb.js → image-fjrrbk94.js} +8 -8
  157. package/dist/chunks/{agent-w687dnns.js → image-fznmdakp.js} +4 -4
  158. package/dist/chunks/{agent-k6msgc74.js → image-g1pwfypw.js} +32 -32
  159. package/dist/chunks/{agent-g5h9c0rr.js → image-g5h9c0rr.js} +2 -2
  160. package/dist/chunks/{agent-a2hq59ke.js → image-g8nfv600.js} +28 -27
  161. package/dist/chunks/{agent-sp5f2d2e.js → image-g9j07dct.js} +35 -35
  162. package/dist/chunks/{agent-f8mfn80p.js → image-gbbxnba2.js} +6 -6
  163. package/dist/chunks/{agent-t5tpffef.js → image-gcq7bt32.js} +14 -14
  164. package/dist/chunks/{agent-at22psrd.js → image-ge2rcvjg.js} +45 -45
  165. package/dist/chunks/{agent-ep59zg61.js → image-gg8p9cgs.js} +3 -3
  166. package/dist/chunks/{agent-s531t74k.js → image-gggcxneh.js} +45 -45
  167. package/dist/chunks/{agent-y7a54drw.js → image-gk8k4f7x.js} +34 -34
  168. package/dist/chunks/{agent-z895d3e0.js → image-gkx199ke.js} +10 -10
  169. package/dist/chunks/image-grzehpz7.js +18 -0
  170. package/dist/chunks/{agent-e88ktd3c.js → image-gvpcwzxz.js} +32 -32
  171. package/dist/chunks/{agent-0mq7r730.js → image-h0bne5vx.js} +35 -35
  172. package/dist/chunks/{agent-we2361r8.js → image-h2fknb2a.js} +7 -7
  173. package/dist/chunks/{agent-a7s1nr2m.js → image-hdfrs5mg.js} +2 -2
  174. package/dist/chunks/{agent-1vztwarw.js → image-hsapky1s.js} +14 -14
  175. package/dist/chunks/{agent-tm42qtpg.js → image-hz51tbbp.js} +15 -15
  176. package/dist/chunks/{agent-j113cymg.js → image-j113cymg.js} +1 -1
  177. package/dist/chunks/{agent-rxp322v2.js → image-j3371k5r.js} +18 -18
  178. package/dist/chunks/{agent-dw0tqvgd.js → image-j6mefce3.js} +4 -4
  179. package/dist/chunks/{agent-w98x3qrj.js → image-jjshshm4.js} +20 -20
  180. package/dist/chunks/{agent-08jmxpw8.js → image-jn88007r.js} +9 -9
  181. package/dist/chunks/{agent-wqf6whd0.js → image-k2kq73jz.js} +4 -4
  182. package/dist/chunks/{agent-swtsh7ge.js → image-k2zexe6b.js} +37 -36
  183. package/dist/chunks/{agent-kmch1wfz.js → image-k6ve0bec.js} +28 -28
  184. package/dist/chunks/{agent-s9ngdvzg.js → image-k7twgq46.js} +16 -16
  185. package/dist/chunks/{agent-k814nvkf.js → image-k814nvkf.js} +1 -1
  186. package/dist/chunks/{agent-hw621kav.js → image-kmzgegqq.js} +8 -8
  187. package/dist/chunks/{agent-a8g4y5z7.js → image-kpnmqdrr.js} +4 -4
  188. package/dist/chunks/{agent-35198y27.js → image-kqrbk72r.js} +3 -3
  189. package/dist/chunks/{agent-kt3bjfbg.js → image-kt3bjfbg.js} +1 -1
  190. package/dist/chunks/{agent-c3zt26pz.js → image-kwecz68a.js} +5 -5
  191. package/dist/chunks/{agent-8xns6cym.js → image-ky7xv0tv.js} +6 -6
  192. package/dist/chunks/{agent-164he8xt.js → image-ky8tssh9.js} +13 -13
  193. package/dist/chunks/{agent-m1714858.js → image-m1714858.js} +1 -1
  194. package/dist/chunks/{agent-z514f9er.js → image-m7pchqqv.js} +16 -16
  195. package/dist/chunks/{agent-m9w0rfyh.js → image-m9w0rfyh.js} +1 -1
  196. package/dist/chunks/{agent-maspj1v3.js → image-maspj1v3.js} +1 -1
  197. package/dist/chunks/{agent-kbmq0v6f.js → image-mbwgdc5a.js} +5 -5
  198. package/dist/chunks/{agent-ks6g0x1g.js → image-mm7a63e9.js} +9 -7
  199. package/dist/chunks/{agent-cfg1gyez.js → image-mn2dt8ay.js} +1 -1
  200. package/dist/chunks/{agent-xz8r6fbg.js → image-mrpqwg29.js} +19 -19
  201. package/dist/chunks/{agent-nes0c8n7.js → image-n452f4c5.js} +18 -18
  202. package/dist/chunks/{agent-bgg6fpfq.js → image-n7wnam13.js} +7 -7
  203. package/dist/chunks/{agent-xbymdpda.js → image-ncqafsx0.js} +25 -24
  204. package/dist/chunks/{agent-qdq46y43.js → image-nh53frcf.js} +32 -32
  205. package/dist/chunks/{agent-hjtcdw49.js → image-npqrkmj2.js} +11 -11
  206. package/dist/chunks/{agent-32c4tavh.js → image-ns86x0g6.js} +40 -40
  207. package/dist/chunks/{agent-52jahdhd.js → image-nsjyjchz.js} +12 -12
  208. package/dist/chunks/{agent-yr88cfc3.js → image-nwrh4nrz.js} +20 -20
  209. package/dist/chunks/{agent-ybkhfr2c.js → image-nxfd4m75.js} +3 -3
  210. package/dist/chunks/{agent-p015t6z3.js → image-p015t6z3.js} +2 -2
  211. package/dist/chunks/{agent-ys6sktyv.js → image-p2x2ykdn.js} +19 -19
  212. package/dist/chunks/{agent-w162aavb.js → image-p6ad9m80.js} +27 -27
  213. package/dist/chunks/{agent-6e50d9hn.js → image-p7ajhkt3.js} +58 -58
  214. package/dist/chunks/{agent-f1dzx5gz.js → image-p8kmn6p1.js} +3 -3
  215. package/dist/chunks/{agent-zm3vydp0.js → image-pdj0m96v.js} +14 -14
  216. package/dist/chunks/{agent-xsdgnd9a.js → image-pg8xwt5s.js} +5 -5
  217. package/dist/chunks/{agent-hezwayvj.js → image-pgtf141g.js} +23 -23
  218. package/dist/chunks/{agent-pknna89w.js → image-pknna89w.js} +1 -1
  219. package/dist/chunks/{agent-9872gzyf.js → image-pkwadbh0.js} +35 -35
  220. package/dist/chunks/{agent-6b8sf6ch.js → image-pr13x5tz.js} +9 -9
  221. package/dist/chunks/{agent-ctm212j9.js → image-pw77mtnd.js} +191 -191
  222. package/dist/chunks/{agent-a013asta.js → image-pwfx9xzx.js} +13 -13
  223. package/dist/chunks/{agent-zbyebx2k.js → image-qaxg3z3a.js} +9 -9
  224. package/dist/chunks/{agent-gz1ychq3.js → image-qd1gejzd.js} +19 -19
  225. package/dist/chunks/{agent-xnhfvn64.js → image-qk4nhm2w.js} +21 -21
  226. package/dist/chunks/{agent-82ahwy3q.js → image-qvm0zdhb.js} +17 -17
  227. package/dist/chunks/{agent-9wssh0tx.js → image-qx8tdc9v.js} +35 -35
  228. package/dist/chunks/{agent-033a0jkt.js → image-qyq8h28g.js} +3 -3
  229. package/dist/chunks/{agent-r0yr0wbs.js → image-r0yr0wbs.js} +1 -1
  230. package/dist/chunks/{agent-r542h3bh.js → image-r542h3bh.js} +1 -1
  231. package/dist/chunks/{agent-je6j3j9f.js → image-r5ef1bj7.js} +27 -27
  232. package/dist/chunks/{agent-dekedfjb.js → image-r5x9wjg5.js} +16 -16
  233. package/dist/chunks/{agent-8er64j5e.js → image-r93dx0pk.js} +31 -30
  234. package/dist/chunks/{agent-yc04cj61.js → image-r9amg80d.js} +38 -32
  235. package/dist/chunks/{agent-rb9dy4dg.js → image-rb9dy4dg.js} +1 -1
  236. package/dist/chunks/{agent-2bc1d118.js → image-rd02mkry.js} +11 -11
  237. package/dist/chunks/{agent-6qeh1vj5.js → image-rh4sx1pa.js} +29 -29
  238. package/dist/chunks/{agent-wz5tj16h.js → image-rmk2c50f.js} +5 -5
  239. package/dist/chunks/{agent-h36b412q.js → image-rnmnt1zv.js} +89 -89
  240. package/dist/chunks/{agent-rt5dr6hb.js → image-rt5dr6hb.js} +1 -1
  241. package/dist/chunks/{agent-wj8xy6vp.js → image-rvpj35j6.js} +7 -7
  242. package/dist/chunks/{agent-fwsmq32q.js → image-s1527p4m.js} +7 -7
  243. package/dist/chunks/{agent-sa3fpqfw.js → image-sa3fpqfw.js} +2 -2
  244. package/dist/chunks/{agent-d9b58nj2.js → image-sf9d32j3.js} +53 -53
  245. package/dist/chunks/{agent-8dzbm67s.js → image-sn1fshxa.js} +14 -14
  246. package/dist/chunks/{agent-sqjzf8x2.js → image-sqjzf8x2.js} +1 -1
  247. package/dist/chunks/{agent-45gaytxr.js → image-sx8nkve2.js} +21 -16
  248. package/dist/chunks/{agent-f0vthqmt.js → image-szn95e7f.js} +21 -21
  249. package/dist/chunks/{agent-eyaew5ez.js → image-t0b83k8a.js} +22 -22
  250. package/dist/chunks/{agent-jw023j4b.js → image-t0bc7c9c.js} +4 -4
  251. package/dist/chunks/{agent-g5h81d8x.js → image-tbebkah3.js} +52 -31
  252. package/dist/chunks/{agent-tczq8hjw.js → image-tczq8hjw.js} +1 -1
  253. package/dist/chunks/{agent-ssfehs1z.js → image-tfx8q2f5.js} +4 -4
  254. package/dist/chunks/{agent-xfmhx0sz.js → image-tm90js6s.js} +33 -33
  255. package/dist/chunks/{agent-pt1ss6jy.js → image-ts7mkfs9.js} +3 -3
  256. package/dist/chunks/{agent-2mcwn9hz.js → image-twd3mrfp.js} +19 -19
  257. package/dist/chunks/{agent-twv2r8f4.js → image-twv2r8f4.js} +2 -2
  258. package/dist/chunks/{agent-v2r1d0zg.js → image-v2r1d0zg.js} +1 -1
  259. package/dist/chunks/{agent-m8rxg9cs.js → image-v8w1bnvx.js} +35 -35
  260. package/dist/chunks/{agent-kknkytq1.js → image-v9khnj00.js} +15 -15
  261. package/dist/chunks/{agent-veqvce7d.js → image-veqvce7d.js} +1 -1
  262. package/dist/chunks/image-vha83cg2.js +42 -0
  263. package/dist/chunks/{agent-r4pwrx75.js → image-vrcsa8qx.js} +9 -9
  264. package/dist/chunks/{agent-xpzag304.js → image-vxep47rf.js} +18 -18
  265. package/dist/chunks/{agent-052306eg.js → image-w2gxr2bn.js} +11 -11
  266. package/dist/chunks/{agent-w3wsvvr9.js → image-w3wsvvr9.js} +1 -1
  267. package/dist/chunks/{agent-wakvkjy4.js → image-wakvkjy4.js} +1 -1
  268. package/dist/chunks/{agent-d75wdvfq.js → image-wb63k751.js} +28 -28
  269. package/dist/chunks/{agent-wd87259q.js → image-wd87259q.js} +1 -1
  270. package/dist/chunks/{agent-csnrqqvz.js → image-x2askrax.js} +3 -3
  271. package/dist/chunks/{agent-a8b15abj.js → image-x7a9enwj.js} +22 -22
  272. package/dist/chunks/{agent-0ear39jp.js → image-x7hq4v6t.js} +11 -11
  273. package/dist/chunks/{agent-wddf3ds8.js → image-xcgcy0qm.js} +5 -5
  274. package/dist/chunks/{agent-x8m11snx.js → image-y4pr8w8r.js} +28 -28
  275. package/dist/chunks/{agent-095ywf79.js → image-yafd30nv.js} +18 -18
  276. package/dist/chunks/image-yara3q77.js +132 -0
  277. package/dist/chunks/{agent-yb20nhc3.js → image-yb20nhc3.js} +1 -1
  278. package/dist/chunks/{agent-wqwygejh.js → image-yn1cc37b.js} +47 -47
  279. package/dist/chunks/{agent-jnwx2kg9.js → image-ynrq1a8k.js} +6 -6
  280. package/dist/chunks/{agent-tzgk7pc9.js → image-ypfyeefr.js} +9 -9
  281. package/dist/chunks/{agent-3ayfnv7k.js → image-ytn8yj3j.js} +29 -29
  282. package/dist/chunks/{agent-z0bkrqjs.js → image-z0bkrqjs.js} +1 -1
  283. package/dist/chunks/{agent-zegbnajt.js → image-z3294gqc.js} +4 -4
  284. package/dist/chunks/{agent-z38nccrw.js → image-z38nccrw.js} +1 -1
  285. package/dist/chunks/image-z5zx3gz5.js +215 -0
  286. package/dist/chunks/{agent-csg411tc.js → image-zdj0mree.js} +18 -18
  287. package/dist/chunks/{agent-4c58dp62.js → image-zdmjncrg.js} +53 -53
  288. package/dist/chunks/{agent-7a2bwsmz.js → image-zfyb5tr4.js} +4 -4
  289. package/dist/chunks/{agent-zgt5j0h2.js → image-zgt5j0h2.js} +2 -2
  290. package/dist/chunks/{agent-799ckdtf.js → image-zh7bbm8x.js} +9 -9
  291. package/dist/chunks/{agent-g925vmef.js → image-zh8rh1nn.js} +5 -5
  292. package/dist/chunks/{agent-ard2b0yg.js → image-zk95xct4.js} +3 -3
  293. package/dist/chunks/{agent-zkg84ctx.js → image-zkg84ctx.js} +1 -1
  294. package/dist/chunks/{agent-r0yav5tq.js → image-zntxr30m.js} +14 -14
  295. package/dist/chunks/{agent-e3nyjr0f.js → image-zqyt9eh5.js} +30 -25
  296. package/dist/codemode/catalog.js +1 -1
  297. package/dist/codemode/instructions.js +5 -5
  298. package/dist/codemode/tool.js +3 -3
  299. package/dist/codemode/web.js +1 -1
  300. package/dist/command.js +87 -87
  301. package/dist/config/discovery.js +92 -91
  302. package/dist/config/integration.js +3 -3
  303. package/dist/config/markdown.js +1 -1
  304. package/dist/config/normalize.js +107 -106
  305. package/dist/config/plugin/agent.js +123 -122
  306. package/dist/config/plugin/command.js +221 -220
  307. package/dist/config/plugin/compaction.js +162 -161
  308. package/dist/config/plugin/compatibility.js +142 -141
  309. package/dist/config/plugin/entry-observer.js +1 -1
  310. package/dist/config/plugin/formatter.js +122 -121
  311. package/dist/config/plugin/image.js +121 -120
  312. package/dist/config/plugin/instruction.js +121 -120
  313. package/dist/config/plugin/location-watcher.js +121 -120
  314. package/dist/config/plugin/mcp.js +132 -131
  315. package/dist/config/plugin/policy.js +123 -122
  316. package/dist/config/plugin/provider.js +122 -121
  317. package/dist/config/plugin/reference.js +123 -122
  318. package/dist/config/plugin/shell.js +123 -122
  319. package/dist/config/plugin/skill-file.js +138 -111
  320. package/dist/config/plugin/skill-scan.js +3 -3
  321. package/dist/config/plugin/skill.js +145 -144
  322. package/dist/config/plugin/snapshot.js +121 -120
  323. package/dist/config/plugin/source.js +124 -123
  324. package/dist/config/plugin/tool-output.js +122 -121
  325. package/dist/config/plugin/websearch.js +122 -121
  326. package/dist/config/plugin/worktree.js +123 -122
  327. package/dist/config/variable.js +1 -1
  328. package/dist/config/watch.js +1 -1
  329. package/dist/config.js +126 -125
  330. package/dist/console-access.js +1 -1
  331. package/dist/credential/sql.js +2 -2
  332. package/dist/credential.js +91 -91
  333. package/dist/database/database.js +72 -72
  334. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  335. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  336. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  337. package/dist/database/drizzle/index.js +13 -13
  338. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  341. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  342. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  343. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  344. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  345. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  346. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  347. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  348. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  349. package/dist/database/drizzle.js +14 -14
  350. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  351. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  352. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  353. package/dist/database/migration/20260225215848_workspace.js +1 -1
  354. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  355. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  356. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  357. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  358. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  359. package/dist/database/migration/20260323234822_events.js +1 -1
  360. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  361. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  362. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  363. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  364. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  365. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  366. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  367. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  368. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  369. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  370. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  371. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  372. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  373. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  374. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  375. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  376. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  377. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  378. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  379. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  380. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  381. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  382. package/dist/database/migration/20260611035744_credential.js +1 -1
  383. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  384. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  385. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  386. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  387. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  388. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  389. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  390. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  391. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  392. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  393. package/dist/database/migration/20260812213948_worktree.js +1 -1
  394. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  395. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  396. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  397. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  398. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  399. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  400. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  401. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  402. package/dist/database/migration/20261025123711_blob.js +1 -1
  403. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  404. package/dist/database/migration.gen.js +55 -55
  405. package/dist/database/migration.js +57 -57
  406. package/dist/database/path.js +2 -2
  407. package/dist/database/schema.gen.js +1 -1
  408. package/dist/database/schema.sql.js +1 -1
  409. package/dist/database/sqlite.bun.js +1 -1
  410. package/dist/database/sqlite.js +1 -1
  411. package/dist/database/sqlite.node.js +1 -1
  412. package/dist/database/sqlite.workerd.js +1 -1
  413. package/dist/database/v1-migration.bun.js +95 -94
  414. package/dist/database/v1-migration.js +1 -1
  415. package/dist/effect/app-node-builder.js +385 -382
  416. package/dist/effect/app-node-platform.js +2 -2
  417. package/dist/effect/keyed-mutex.js +1 -1
  418. package/dist/effect/websocket-constructor.js +1 -1
  419. package/dist/environment/driver.js +1 -1
  420. package/dist/environment/environment.js +101 -100
  421. package/dist/environment/exec-defaults.js +2 -2
  422. package/dist/environment/files.js +1 -1
  423. package/dist/environment/index.js +101 -100
  424. package/dist/environment/local.js +2 -2
  425. package/dist/environment/memory.js +2 -2
  426. package/dist/environment/unavailable.js +3 -3
  427. package/dist/event/sql.js +1 -1
  428. package/dist/event-logger.js +80 -80
  429. package/dist/file-access.js +140 -113
  430. package/dist/file-mutation.js +102 -101
  431. package/dist/file-retention.js +1 -1
  432. package/dist/filesystem/fff.bun.js +2 -2
  433. package/dist/filesystem/fff.js +1 -1
  434. package/dist/filesystem/fff.node.js +2 -2
  435. package/dist/filesystem/fff.workerd.js +2 -2
  436. package/dist/filesystem/file-watch.js +221 -0
  437. package/dist/filesystem/location-watcher-policy.js +6 -6
  438. package/dist/filesystem/location-watcher.js +232 -231
  439. package/dist/filesystem/protected.js +3 -3
  440. package/dist/filesystem/search.js +107 -106
  441. package/dist/filesystem/watcher-binding.js +3 -3
  442. package/dist/filesystem/watcher.js +11 -11
  443. package/dist/filesystem.js +112 -111
  444. package/dist/form.js +90 -90
  445. package/dist/formatter/builtins.js +4 -4
  446. package/dist/formatter.js +95 -94
  447. package/dist/generate.js +115 -114
  448. package/dist/git.js +11 -11
  449. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  450. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  451. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  452. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  453. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  454. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  455. package/dist/github-copilot/copilot-provider.js +17 -17
  456. package/dist/github-copilot/models.js +107 -106
  457. package/dist/github-copilot/openai-compatible-error.js +1 -1
  458. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  459. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  460. package/dist/github-copilot/responses/openai-error.js +1 -1
  461. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  462. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  463. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  464. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  465. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  466. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  467. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  468. package/dist/image/photon.js +2 -2
  469. package/dist/image.js +6 -6
  470. package/dist/instance/service.js +5 -5
  471. package/dist/instance.js +372 -371
  472. package/dist/instruction-discovery.js +88 -88
  473. package/dist/instructions/builtins.js +95 -94
  474. package/dist/instructions/index.js +3 -3
  475. package/dist/integration/connection.js +3 -3
  476. package/dist/integration.js +95 -95
  477. package/dist/job.js +84 -84
  478. package/dist/kv/sql.js +2 -2
  479. package/dist/kv.js +79 -79
  480. package/dist/location-activity.js +168 -169
  481. package/dist/location-lifecycle.js +142 -116
  482. package/dist/location-service-map.js +94 -93
  483. package/dist/location-services.js +369 -368
  484. package/dist/location.js +93 -92
  485. package/dist/managed-policy.js +9 -9
  486. package/dist/mcp/client.js +99 -98
  487. package/dist/mcp/index.js +109 -108
  488. package/dist/mcp/instructions.js +166 -145
  489. package/dist/mcp/oauth.js +84 -84
  490. package/dist/mcp/socket-client.js +1 -1
  491. package/dist/mcp/stdio.js +98 -97
  492. package/dist/mime.js +1 -1
  493. package/dist/modal/models.js +107 -106
  494. package/dist/model-resolver.js +105 -104
  495. package/dist/model-retry.js +1 -1
  496. package/dist/model.js +110 -109
  497. package/dist/models-dev.js +111 -110
  498. package/dist/oauth/page.js +1 -1
  499. package/dist/permission/saved.js +88 -88
  500. package/dist/permission/sql.js +5 -5
  501. package/dist/permission.js +151 -124
  502. package/dist/persistent-pty/binary.bun.js +1 -1
  503. package/dist/persistent-pty/daemon.js +1 -1
  504. package/dist/persistent-pty/index.js +90 -90
  505. package/dist/persistent-pty/pty-binding.js +1 -1
  506. package/dist/persistent-pty.js +81 -81
  507. package/dist/plugin/agent.js +82 -82
  508. package/dist/plugin/command.js +110 -109
  509. package/dist/plugin/hooks.js +3 -3
  510. package/dist/plugin/host.js +227 -226
  511. package/dist/plugin/identity.js +5 -5
  512. package/dist/plugin/instance.js +5 -5
  513. package/dist/plugin/internal.js +342 -341
  514. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  515. package/dist/plugin/models-dev.js +104 -103
  516. package/dist/plugin/module.js +123 -122
  517. package/dist/plugin/optimize.js +2 -2
  518. package/dist/plugin/plan.js +138 -111
  519. package/dist/plugin/promise.js +1 -1
  520. package/dist/plugin/provider/amazon-bedrock.js +98 -97
  521. package/dist/plugin/provider/azure.js +121 -120
  522. package/dist/plugin/provider/cerebras.js +1 -1
  523. package/dist/plugin/provider/chatgpt.js +121 -120
  524. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -117
  525. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -117
  526. package/dist/plugin/provider/cohere.js +2 -2
  527. package/dist/plugin/provider/configured.js +117 -116
  528. package/dist/plugin/provider/databricks.js +1 -1
  529. package/dist/plugin/provider/digitalocean.js +101 -100
  530. package/dist/plugin/provider/dynamic.js +2 -2
  531. package/dist/plugin/provider/factory.js +1 -1
  532. package/dist/plugin/provider/github-copilot.js +103 -102
  533. package/dist/plugin/provider/gitlab.js +101 -100
  534. package/dist/plugin/provider/google-vertex.js +118 -117
  535. package/dist/plugin/provider/kilo.js +1 -1
  536. package/dist/plugin/provider/llmgateway.js +84 -84
  537. package/dist/plugin/provider/lmstudio.js +130 -129
  538. package/dist/plugin/provider/local.js +127 -126
  539. package/dist/plugin/provider/modal.js +100 -99
  540. package/dist/plugin/provider/neon.js +1 -1
  541. package/dist/plugin/provider/nvidia.js +1 -1
  542. package/dist/plugin/provider/ollama.js +130 -129
  543. package/dist/plugin/provider/openai-context-caps.js +98 -97
  544. package/dist/plugin/provider/openai.js +121 -120
  545. package/dist/plugin/provider/opencode-legacy.js +108 -107
  546. package/dist/plugin/provider/opencode.js +127 -126
  547. package/dist/plugin/provider/openrouter.js +99 -98
  548. package/dist/plugin/provider/perplexity.js +2 -2
  549. package/dist/plugin/provider/poe.js +85 -85
  550. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  551. package/dist/plugin/provider/sap-ai-core.js +99 -98
  552. package/dist/plugin/provider/sdk-factory.js +1 -1
  553. package/dist/plugin/provider/snowflake-cortex.js +120 -119
  554. package/dist/plugin/provider/vercel.js +98 -97
  555. package/dist/plugin/provider/vllm.js +130 -129
  556. package/dist/plugin/provider/xai.js +99 -98
  557. package/dist/plugin/provider/zenmux.js +1 -1
  558. package/dist/plugin/provider.js +178 -177
  559. package/dist/plugin/sdk.js +82 -82
  560. package/dist/plugin/service.js +3 -3
  561. package/dist/plugin/skill.js +141 -140
  562. package/dist/plugin/source-directory.js +1 -1
  563. package/dist/plugin/supervisor.js +359 -358
  564. package/dist/plugin/tool-input-repair.js +4 -4
  565. package/dist/plugin/update.js +6 -6
  566. package/dist/plugin/vcs/git.js +94 -93
  567. package/dist/plugin/vcs/hg.js +94 -93
  568. package/dist/plugin/verbosity.js +101 -100
  569. package/dist/plugin/warming.js +119 -118
  570. package/dist/plugin/websearch/exa.js +7 -7
  571. package/dist/plugin/websearch/firecrawl.js +8 -8
  572. package/dist/plugin/websearch/index.js +9 -9
  573. package/dist/plugin/websearch/mcp.js +6 -6
  574. package/dist/plugin/websearch/parallel.js +8 -8
  575. package/dist/plugin/websearch/tavily.js +4 -4
  576. package/dist/plugin/websearch/tinyfish.js +8 -8
  577. package/dist/plugin.js +236 -235
  578. package/dist/project/icon.js +14 -0
  579. package/dist/project/schema.js +2 -2
  580. package/dist/project/sql.js +4 -4
  581. package/dist/project.js +92 -91
  582. package/dist/provider.js +109 -108
  583. package/dist/pty/protocol.js +1 -1
  584. package/dist/pty/ticket.js +1 -1
  585. package/dist/pty.js +104 -103
  586. package/dist/reference/instructions.js +96 -96
  587. package/dist/reference.js +96 -96
  588. package/dist/repository-cache.js +88 -88
  589. package/dist/repository.js +1 -1
  590. package/dist/ripgrep/binary.js +2 -2
  591. package/dist/ripgrep.js +105 -104
  592. package/dist/rpc.js +94 -93
  593. package/dist/schema.js +1 -1
  594. package/dist/session/affinity.js +1 -1
  595. package/dist/session/blob.js +137 -9
  596. package/dist/session/command.js +80 -80
  597. package/dist/session/compaction.js +162 -143
  598. package/dist/session/context.js +188 -171
  599. package/dist/session/diff.js +96 -95
  600. package/dist/session/environment.js +5 -5
  601. package/dist/session/error.js +5 -5
  602. package/dist/session/event.js +1 -1
  603. package/dist/session/execution/restart.js +231 -230
  604. package/dist/session/execution.js +154 -137
  605. package/dist/session/generate.js +190 -173
  606. package/dist/session/history.js +129 -17
  607. package/dist/session/inbox.js +140 -103
  608. package/dist/session/info.js +3 -3
  609. package/dist/session/instruction-entry.js +85 -85
  610. package/dist/session/instruction-state.js +8 -8
  611. package/dist/session/instructions.js +134 -106
  612. package/dist/session/message-updater.js +2 -2
  613. package/dist/session/message.js +1 -1
  614. package/dist/session/model-request.js +155 -129
  615. package/dist/session/model-transport.js +9 -9
  616. package/dist/session/move.js +156 -139
  617. package/dist/session/projector.js +134 -97
  618. package/dist/session/prompt.js +140 -114
  619. package/dist/session/recent-text.js +1 -1
  620. package/dist/session/revert.js +130 -103
  621. package/dist/session/run-coordinator.js +3 -3
  622. package/dist/session/runner/index.js +3 -3
  623. package/dist/session/runner/llm.js +238 -237
  624. package/dist/session/runner/max-steps.js +1 -1
  625. package/dist/session/runner/model.js +108 -107
  626. package/dist/session/runner/publish-llm-event.js +141 -122
  627. package/dist/session/runner/retry.js +5 -5
  628. package/dist/session/runner/step.js +154 -135
  629. package/dist/session/runner/to-llm-message.js +128 -16
  630. package/dist/session/schema.js +5 -5
  631. package/dist/session/session.js +170 -169
  632. package/dist/session/shell.js +135 -134
  633. package/dist/session/skill.js +139 -112
  634. package/dist/session/sql.js +5 -5
  635. package/dist/session/stats.js +79 -79
  636. package/dist/session/store.js +133 -93
  637. package/dist/session/stored.js +6 -4
  638. package/dist/session/subagent-completion.js +1 -1
  639. package/dist/session/subagent-job.js +219 -218
  640. package/dist/session/system-prompt.js +1 -1
  641. package/dist/session/title.js +192 -175
  642. package/dist/session/to-session-error.js +140 -121
  643. package/dist/session/transfer.js +227 -226
  644. package/dist/session/usage.js +1 -1
  645. package/dist/session.js +223 -222
  646. package/dist/shell/parse.js +8 -8
  647. package/dist/shell/result.js +1 -1
  648. package/dist/shell/scan.js +1 -1
  649. package/dist/shell/select.js +13 -13
  650. package/dist/shell.js +135 -134
  651. package/dist/skill/discovery.js +6 -6
  652. package/dist/skill/instructions.js +143 -116
  653. package/dist/skill.js +144 -117
  654. package/dist/snapshot.js +97 -96
  655. package/dist/state.js +3 -1
  656. package/dist/tool/html-markdown.js +1 -1
  657. package/dist/tool/http-body.js +1 -1
  658. package/dist/tool/mcp.js +165 -144
  659. package/dist/tool/plugin/edit.js +156 -129
  660. package/dist/tool/plugin/file-diff.js +1 -1
  661. package/dist/tool/plugin/glob.js +160 -133
  662. package/dist/tool/plugin/grep.js +160 -133
  663. package/dist/tool/plugin/mcp-resource.js +154 -133
  664. package/dist/tool/plugin/opencode.js +145 -118
  665. package/dist/tool/plugin/patch.js +152 -125
  666. package/dist/tool/plugin/question.js +136 -110
  667. package/dist/tool/plugin/read.js +157 -130
  668. package/dist/tool/plugin/shell.js +224 -223
  669. package/dist/tool/plugin/skill.js +145 -118
  670. package/dist/tool/plugin/subagent.js +218 -217
  671. package/dist/tool/plugin/todo.js +145 -144
  672. package/dist/tool/plugin/webfetch.js +149 -122
  673. package/dist/tool/plugin/websearch.js +145 -121
  674. package/dist/tool/plugin/write.js +152 -125
  675. package/dist/tool/read-filesystem.js +108 -107
  676. package/dist/tool/runtime.js +1 -1
  677. package/dist/tool-output.js +7 -7
  678. package/dist/tool.js +16 -16
  679. package/dist/types/config/plugin/command.d.ts +1 -1
  680. package/dist/types/config.d.ts +1 -1
  681. package/dist/types/filesystem/file-watch.d.ts +33 -0
  682. package/dist/types/instance/service.d.ts +2 -0
  683. package/dist/types/instance.d.ts +1 -1
  684. package/dist/types/mcp/index.d.ts +1 -1
  685. package/dist/types/models-dev.d.ts +1 -1
  686. package/dist/types/plugin/host.d.ts +2 -2
  687. package/dist/types/plugin/internal.d.ts +1 -1
  688. package/dist/types/plugin/provider/azure.d.ts +2 -2
  689. package/dist/types/plugin/provider/chatgpt.d.ts +1 -1
  690. package/dist/types/plugin/provider/github-copilot.d.ts +1 -1
  691. package/dist/types/plugin/provider/gitlab.d.ts +1 -1
  692. package/dist/types/plugin/provider/google-vertex.d.ts +1 -1
  693. package/dist/types/plugin/provider/modal.d.ts +1 -1
  694. package/dist/types/plugin/provider/openai.d.ts +1 -1
  695. package/dist/types/plugin/provider/opencode.d.ts +1 -1
  696. package/dist/types/plugin/provider/snowflake-cortex.d.ts +1 -1
  697. package/dist/types/project/icon.d.ts +26 -0
  698. package/dist/types/session/blob.d.ts +877 -0
  699. package/dist/types/session/compaction.d.ts +1 -1
  700. package/dist/types/session/prompt.d.ts +5 -2
  701. package/dist/types/session/stored.d.ts +3 -1
  702. package/dist/types/state.d.ts +6 -0
  703. package/dist/types/tool/plugin/subagent.d.ts +1 -1
  704. package/dist/types/wellknown/plugin.d.ts +1 -1
  705. package/dist/usage-limits.js +89 -89
  706. package/dist/util/error-summary.js +1 -1
  707. package/dist/util/git-executable.js +3 -3
  708. package/dist/util/lazy.js +1 -1
  709. package/dist/util/slug.js +1 -1
  710. package/dist/util/token.js +1 -1
  711. package/dist/util/which.js +1 -1
  712. package/dist/util/wildcard.js +1 -1
  713. package/dist/v1/config/agent.js +5 -5
  714. package/dist/v1/config/command.js +3 -3
  715. package/dist/v1/config/mcp.js +4 -4
  716. package/dist/v1/config/migrate.js +100 -99
  717. package/dist/v1/config/permission.js +7 -7
  718. package/dist/v1/config/plugin.js +3 -3
  719. package/dist/v1/config/provider-options.js +1 -1
  720. package/dist/v1/config/provider.js +4 -4
  721. package/dist/variant.js +99 -98
  722. package/dist/vcs/patch.js +1 -1
  723. package/dist/vcs.js +97 -96
  724. package/dist/voice.js +94 -94
  725. package/dist/websearch.js +88 -88
  726. package/dist/wellknown/plugin.js +82 -82
  727. package/dist/wellknown.js +85 -85
  728. package/dist/workspace/driver.js +7 -7
  729. package/dist/workspace/sql.js +1 -1
  730. package/dist/workspace.js +88 -88
  731. package/dist/worktree/directory.js +2 -2
  732. package/dist/worktree/git.js +9 -9
  733. package/dist/worktree/sql.js +5 -5
  734. package/dist/worktree/strategies.js +97 -96
  735. package/dist/worktree.js +102 -101
  736. package/package.json +8 -8
  737. package/dist/chunks/agent-66c1tj1c.js +0 -39
  738. package/dist/chunks/agent-db6xh5f5.js +0 -26
  739. package/dist/chunks/agent-es3b2gsk.js +0 -107
  740. package/dist/chunks/agent-ev660z6k.js +0 -18
  741. package/dist/chunks/agent-rzcykvvq.js +0 -257
  742. /package/dist/chunks/{agent-0qkdqm5v.js → image-0qkdqm5v.js} +0 -0
  743. /package/dist/chunks/{agent-0zkw76rk.js → image-0zkw76rk.js} +0 -0
  744. /package/dist/chunks/{agent-17cy0kzp.js → image-17cy0kzp.js} +0 -0
  745. /package/dist/chunks/{agent-1cnp2v09.js → image-1cnp2v09.js} +0 -0
  746. /package/dist/chunks/{agent-24dcb14g.js → image-24dcb14g.js} +0 -0
  747. /package/dist/chunks/{agent-2710q6r3.js → image-2710q6r3.js} +0 -0
  748. /package/dist/chunks/{agent-2bv980vf.js → image-2bv980vf.js} +0 -0
  749. /package/dist/chunks/{agent-2c3vjs8z.js → image-2c3vjs8z.js} +0 -0
  750. /package/dist/chunks/{agent-359p4xyc.js → image-359p4xyc.js} +0 -0
  751. /package/dist/chunks/{agent-3asan66x.js → image-3asan66x.js} +0 -0
  752. /package/dist/chunks/{agent-3v8g72cx.js → image-3v8g72cx.js} +0 -0
  753. /package/dist/chunks/{agent-3wcehsnq.js → image-3wcehsnq.js} +0 -0
  754. /package/dist/chunks/{agent-43n2bw4t.js → image-43n2bw4t.js} +0 -0
  755. /package/dist/chunks/{agent-4knz6hnm.js → image-4knz6hnm.js} +0 -0
  756. /package/dist/chunks/{agent-4m86bj6y.js → image-4m86bj6y.js} +0 -0
  757. /package/dist/chunks/{agent-4vcrnpx2.js → image-4vcrnpx2.js} +0 -0
  758. /package/dist/chunks/{agent-4y7fprxs.js → image-4y7fprxs.js} +0 -0
  759. /package/dist/chunks/{agent-53557ph1.js → image-53557ph1.js} +0 -0
  760. /package/dist/chunks/{agent-550bvhaj.js → image-550bvhaj.js} +0 -0
  761. /package/dist/chunks/{agent-5fjb7ams.js → image-5fjb7ams.js} +0 -0
  762. /package/dist/chunks/{agent-5w3e23ze.js → image-5w3e23ze.js} +0 -0
  763. /package/dist/chunks/{agent-6prwharc.js → image-6prwharc.js} +0 -0
  764. /package/dist/chunks/{agent-6q2bdcd1.js → image-6q2bdcd1.js} +0 -0
  765. /package/dist/chunks/{agent-7akdwqpd.js → image-7akdwqpd.js} +0 -0
  766. /package/dist/chunks/{agent-7m9af43g.js → image-7m9af43g.js} +0 -0
  767. /package/dist/chunks/{agent-822emrt2.js → image-822emrt2.js} +0 -0
  768. /package/dist/chunks/{agent-84wd9syh.js → image-84wd9syh.js} +0 -0
  769. /package/dist/chunks/{agent-88xbtdfr.js → image-88xbtdfr.js} +0 -0
  770. /package/dist/chunks/{agent-8n3pysct.js → image-8n3pysct.js} +0 -0
  771. /package/dist/chunks/{agent-8wj87zfr.js → image-8wj87zfr.js} +0 -0
  772. /package/dist/chunks/{agent-9a4afbnw.js → image-9a4afbnw.js} +0 -0
  773. /package/dist/chunks/{agent-9rqn6x4v.js → image-9rqn6x4v.js} +0 -0
  774. /package/dist/chunks/{agent-a058387c.js → image-a058387c.js} +0 -0
  775. /package/dist/chunks/{agent-a6k6eb26.js → image-a6k6eb26.js} +0 -0
  776. /package/dist/chunks/{agent-af5trqkr.js → image-af5trqkr.js} +0 -0
  777. /package/dist/chunks/{agent-afrmfg78.js → image-afrmfg78.js} +0 -0
  778. /package/dist/chunks/{agent-aqzs7mqg.js → image-aqzs7mqg.js} +0 -0
  779. /package/dist/chunks/{agent-atq7p7m5.js → image-atq7p7m5.js} +0 -0
  780. /package/dist/chunks/{agent-bkyjaxrp.js → image-bkyjaxrp.js} +0 -0
  781. /package/dist/chunks/{agent-bmr6ed5q.js → image-bmr6ed5q.js} +0 -0
  782. /package/dist/chunks/{agent-cf4snx6d.js → image-cf4snx6d.js} +0 -0
  783. /package/dist/chunks/{agent-cqv5kn06.js → image-cqv5kn06.js} +0 -0
  784. /package/dist/chunks/{agent-cvy3z8tj.js → image-cvy3z8tj.js} +0 -0
  785. /package/dist/chunks/{agent-d9fn303g.js → image-d9fn303g.js} +0 -0
  786. /package/dist/chunks/{agent-d9jj8t3e.js → image-d9jj8t3e.js} +0 -0
  787. /package/dist/chunks/{agent-dajrwvna.js → image-dajrwvna.js} +0 -0
  788. /package/dist/chunks/{agent-dap0rakb.js → image-dap0rakb.js} +0 -0
  789. /package/dist/chunks/{agent-df08tz66.js → image-df08tz66.js} +0 -0
  790. /package/dist/chunks/{agent-dy18nga0.js → image-dy18nga0.js} +0 -0
  791. /package/dist/chunks/{agent-e5kj55wp.js → image-e5kj55wp.js} +0 -0
  792. /package/dist/chunks/{agent-e73j6tqm.js → image-e73j6tqm.js} +0 -0
  793. /package/dist/chunks/{agent-ec1grn59.js → image-ec1grn59.js} +0 -0
  794. /package/dist/chunks/{agent-eh3zwz77.js → image-eh3zwz77.js} +0 -0
  795. /package/dist/chunks/{agent-emrn6kk6.js → image-emrn6kk6.js} +0 -0
  796. /package/dist/chunks/{agent-f0mxakyp.js → image-f0mxakyp.js} +0 -0
  797. /package/dist/chunks/{agent-f6n9ztr4.js → image-f6n9ztr4.js} +0 -0
  798. /package/dist/chunks/{agent-faypxj3z.js → image-faypxj3z.js} +0 -0
  799. /package/dist/chunks/{agent-fd410y7t.js → image-fd410y7t.js} +0 -0
  800. /package/dist/chunks/{agent-fkpq3x5p.js → image-fkpq3x5p.js} +0 -0
  801. /package/dist/chunks/{agent-g4wezp1m.js → image-g4wezp1m.js} +0 -0
  802. /package/dist/chunks/{agent-g86h250q.js → image-g86h250q.js} +0 -0
  803. /package/dist/chunks/{agent-gebd4c9n.js → image-gebd4c9n.js} +0 -0
  804. /package/dist/chunks/{agent-gftt206x.js → image-gftt206x.js} +0 -0
  805. /package/dist/chunks/{agent-hcxmzztb.js → image-hcxmzztb.js} +0 -0
  806. /package/dist/chunks/{agent-hk9envan.js → image-hk9envan.js} +0 -0
  807. /package/dist/chunks/{agent-j2ntwpah.js → image-j2ntwpah.js} +0 -0
  808. /package/dist/chunks/{agent-j5zkgpj8.js → image-j5zkgpj8.js} +0 -0
  809. /package/dist/chunks/{agent-jjkms2e6.js → image-jjkms2e6.js} +0 -0
  810. /package/dist/chunks/{agent-jr7sbwjy.js → image-jr7sbwjy.js} +0 -0
  811. /package/dist/chunks/{agent-jwfs4k6c.js → image-jwfs4k6c.js} +0 -0
  812. /package/dist/chunks/{agent-jwr30sdr.js → image-jwr30sdr.js} +0 -0
  813. /package/dist/chunks/{agent-jze0r7bz.js → image-jze0r7bz.js} +0 -0
  814. /package/dist/chunks/{agent-jzg6c2d5.js → image-jzg6c2d5.js} +0 -0
  815. /package/dist/chunks/{agent-m18g726c.js → image-m18g726c.js} +0 -0
  816. /package/dist/chunks/{agent-mp448xyj.js → image-mp448xyj.js} +0 -0
  817. /package/dist/chunks/{agent-msx8hqn2.js → image-msx8hqn2.js} +0 -0
  818. /package/dist/chunks/{agent-n05xt0ee.js → image-n05xt0ee.js} +0 -0
  819. /package/dist/chunks/{agent-n3j8tn72.js → image-n3j8tn72.js} +0 -0
  820. /package/dist/chunks/{agent-njntx4h6.js → image-njntx4h6.js} +0 -0
  821. /package/dist/chunks/{agent-q3sfg36h.js → image-q3sfg36h.js} +0 -0
  822. /package/dist/chunks/{agent-q74kybfr.js → image-q74kybfr.js} +0 -0
  823. /package/dist/chunks/{agent-qaymkmh1.js → image-qaymkmh1.js} +0 -0
  824. /package/dist/chunks/{agent-qb87gjwd.js → image-qb87gjwd.js} +0 -0
  825. /package/dist/chunks/{agent-qfa1cgps.js → image-qfa1cgps.js} +0 -0
  826. /package/dist/chunks/{agent-qg3g05ea.js → image-qg3g05ea.js} +0 -0
  827. /package/dist/chunks/{agent-qrg20bc0.js → image-qrg20bc0.js} +0 -0
  828. /package/dist/chunks/{agent-rcb2kzg1.js → image-rcb2kzg1.js} +0 -0
  829. /package/dist/chunks/{agent-sdp7kfr6.js → image-sdp7kfr6.js} +0 -0
  830. /package/dist/chunks/{agent-ssg3fenm.js → image-ssg3fenm.js} +0 -0
  831. /package/dist/chunks/{agent-ve7vex1e.js → image-ve7vex1e.js} +0 -0
  832. /package/dist/chunks/{agent-w803qqfp.js → image-w803qqfp.js} +0 -0
  833. /package/dist/chunks/{agent-wc3fc9cn.js → image-wc3fc9cn.js} +0 -0
  834. /package/dist/chunks/{agent-wer8tq1h.js → image-wer8tq1h.js} +0 -0
  835. /package/dist/chunks/{agent-wjj7prxr.js → image-wjj7prxr.js} +0 -0
  836. /package/dist/chunks/{agent-wtztk69x.js → image-wtztk69x.js} +0 -0
  837. /package/dist/chunks/{agent-x0ckcb58.js → image-x0ckcb58.js} +0 -0
  838. /package/dist/chunks/{agent-x61499pn.js → image-x61499pn.js} +0 -0
  839. /package/dist/chunks/{agent-y44na4kk.js → image-y44na4kk.js} +0 -0
  840. /package/dist/chunks/{agent-y8f7s663.js → image-y8f7s663.js} +0 -0
  841. /package/dist/chunks/{agent-ygaqb7jw.js → image-ygaqb7jw.js} +0 -0
  842. /package/dist/chunks/{agent-ym463w8f.js → image-ym463w8f.js} +0 -0
  843. /package/dist/chunks/{agent-z5v4ffb3.js → image-z5v4ffb3.js} +0 -0
  844. /package/dist/chunks/{agent-z9919s4g.js → image-z9919s4g.js} +0 -0
@@ -1,115 +1,115 @@
1
1
  import {
2
2
  Service87,
3
3
  node91
4
- } from "./agent-35198y27.js";
4
+ } from "./image-kqrbk72r.js";
5
5
  import {
6
- Service83,
7
- node87
8
- } from "./agent-1vztwarw.js";
6
+ Service82,
7
+ node86
8
+ } from "./image-hsapky1s.js";
9
9
  import {
10
10
  VariantID2,
11
- Ref2,
12
- Service65,
13
- node68
14
- } from "./agent-y3h8fq5y.js";
11
+ Ref3,
12
+ Service77,
13
+ node81
14
+ } from "./image-0t1h01ha.js";
15
15
  import {
16
- ID15,
17
- Service76,
18
- node79
19
- } from "./agent-8sw8s5xk.js";
16
+ ID10,
17
+ Service71,
18
+ node75
19
+ } from "./image-465gqz21.js";
20
20
  import {
21
21
  AgentNotFoundError2
22
- } from "./agent-6mrjjgaf.js";
22
+ } from "./image-5kgs3fk1.js";
23
23
  import {
24
24
  combine2
25
- } from "./agent-jnwx2kg9.js";
25
+ } from "./image-ynrq1a8k.js";
26
26
  import {
27
27
  entriesForRunner2
28
- } from "./agent-n585bckd.js";
28
+ } from "./image-aa7k1xs2.js";
29
29
  import {
30
- Service74,
31
- node77
32
- } from "./agent-gfb9vjwz.js";
30
+ Service67,
31
+ node71
32
+ } from "./image-96h5102f.js";
33
33
  import {
34
34
  merge2
35
- } from "./agent-4c58dp62.js";
35
+ } from "./image-zdmjncrg.js";
36
36
  import {
37
37
  make16
38
- } from "./agent-tzgk7pc9.js";
39
- import {
40
- Service50,
41
- node53
42
- } from "./agent-akxzt346.js";
38
+ } from "./image-ypfyeefr.js";
43
39
  import {
44
- Service36,
45
- node40
46
- } from "./agent-bqabctay.js";
40
+ Service40,
41
+ node43
42
+ } from "./image-3rtadbmj.js";
47
43
  import {
48
- Service51,
49
- node54
50
- } from "./agent-eyn6zj3x.js";
44
+ Service29,
45
+ node33
46
+ } from "./image-bs9449bv.js";
51
47
  import {
52
- Service33,
53
- node37
54
- } from "./agent-wj0x0my7.js";
48
+ Service55,
49
+ node60
50
+ } from "./image-0zav5kyp.js";
55
51
  import {
56
52
  Service32,
57
53
  node36
58
- } from "./agent-nd27gdj2.js";
54
+ } from "./image-5fxf8m1w.js";
59
55
  import {
60
- Service37,
61
- node41
62
- } from "./agent-xpzag304.js";
56
+ Service30,
57
+ node34
58
+ } from "./image-e66yb76v.js";
59
+ import {
60
+ Service36,
61
+ node39
62
+ } from "./image-vxep47rf.js";
63
63
  import {
64
- Service42,
65
- node45
66
- } from "./agent-yr88cfc3.js";
64
+ Service31,
65
+ node35
66
+ } from "./image-nwrh4nrz.js";
67
67
  import {
68
- Service38,
69
- node42
70
- } from "./agent-tm42qtpg.js";
68
+ Service34,
69
+ node38
70
+ } from "./image-hz51tbbp.js";
71
71
  import {
72
- Service39,
73
- node43
74
- } from "./agent-6qeh1vj5.js";
72
+ Service37,
73
+ node40
74
+ } from "./image-rh4sx1pa.js";
75
75
  import {
76
- Service47,
77
- node49
78
- } from "./agent-82ahwy3q.js";
76
+ Service64,
77
+ node68
78
+ } from "./image-qvm0zdhb.js";
79
79
  import {
80
80
  __export
81
- } from "./agent-9rqn6x4v.js";
81
+ } from "./image-9rqn6x4v.js";
82
82
 
83
83
  // src/session/context.ts
84
84
  var exports_context = {};
85
85
  __export(exports_context, {
86
- Service: () => Service31,
86
+ Service: () => Service28,
87
87
  SessionContext: () => exports_context,
88
- node: () => node35
88
+ node: () => node32
89
89
  });
90
90
  import { Context, Effect, Layer } from "effect";
91
91
  import { makeLocationNode } from "@opencode/util/effect/app-node";
92
- class Service31 extends Context.Service()("@opencode/SessionContext") {
92
+ class Service28 extends Context.Service()("@opencode/SessionContext") {
93
93
  }
94
- var layer = Layer.effect(Service31, Effect.gen(function* () {
95
- const agents = yield* Service76;
96
- const builtins = yield* Service36;
97
- const model = yield* Service65;
94
+ var layer = Layer.effect(Service28, Effect.gen(function* () {
95
+ const agents = yield* Service71;
96
+ const builtins = yield* Service29;
97
+ const model = yield* Service77;
98
98
  const db = (yield* Service87).db;
99
- const discovery = yield* Service50;
100
- const entries = yield* Service38;
101
- const location = yield* Service83;
102
- const mcpInstructions = yield* Service32;
103
- const mcpTools = yield* Service33;
104
- const models = yield* Service47;
105
- const request = yield* Service39;
106
- const referenceInstructions = yield* Service37;
107
- const skillInstructions = yield* Service42;
108
- const store = yield* Service74;
109
- const registry = yield* Service51;
99
+ const discovery = yield* Service40;
100
+ const entries = yield* Service34;
101
+ const location = yield* Service82;
102
+ const mcpInstructions = yield* Service30;
103
+ const mcpTools = yield* Service32;
104
+ const models = yield* Service64;
105
+ const request = yield* Service37;
106
+ const referenceInstructions = yield* Service36;
107
+ const skillInstructions = yield* Service31;
108
+ const store = yield* Service67;
109
+ const registry = yield* Service55;
110
110
  const resolveModel = (session) => models.resolve(session, model.available);
111
111
  const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
112
- const agent = yield* agents.get(ID15.make("title"));
112
+ const agent = yield* agents.get(ID10.make("title"));
113
113
  if (!agent)
114
114
  return;
115
115
  const primary = yield* resolveModel(session).pipe(Effect.orElseSucceed(() => {
@@ -131,7 +131,7 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
131
131
  });
132
132
  const preferred = candidate && (yield* resolveModel({
133
133
  ...session,
134
- model: Ref2.make({
134
+ model: Ref3.make({
135
135
  providerID: candidate.info.providerID,
136
136
  id: candidate.info.id,
137
137
  ...candidate.variant ? { variant: candidate.variant } : {}
@@ -191,7 +191,7 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
191
191
  tools: selection.tools
192
192
  };
193
193
  });
194
- return Service31.of({ select, load, resolveModel, selectTitle, request });
194
+ return Service28.of({ select, load, resolveModel, selectTitle, request });
195
195
  }));
196
196
  var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => VariantID2.make(id));
197
197
  var minimalVariant = (info) => MINIMAL_REASONING_VARIANTS.find((id) => info.variants.some((item) => item.id === id));
@@ -199,26 +199,26 @@ var lowerVariant = (info, selected) => {
199
199
  const rank = (id) => info.variants.findIndex((item) => item.id === id);
200
200
  return MINIMAL_REASONING_VARIANTS.find((id) => rank(id) !== -1 && (id !== "low" || rank(id) < rank(selected)));
201
201
  };
202
- var node35 = makeLocationNode({
203
- service: Service31,
202
+ var node32 = makeLocationNode({
203
+ service: Service28,
204
204
  layer,
205
205
  deps: [
206
- node79,
207
- node68,
206
+ node75,
207
+ node81,
208
208
  node91,
209
- node40,
210
- node53,
211
- node42,
212
- node87,
213
- node36,
214
- node37,
215
- node41,
216
- node49,
209
+ node33,
217
210
  node43,
218
- node77,
219
- node45,
220
- node54
211
+ node38,
212
+ node86,
213
+ node34,
214
+ node36,
215
+ node39,
216
+ node68,
217
+ node40,
218
+ node71,
219
+ node35,
220
+ node60
221
221
  ]
222
222
  });
223
223
 
224
- export { Service31, node35, exports_context };
224
+ export { Service28, node32, exports_context };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  __export
3
- } from "./agent-9rqn6x4v.js";
3
+ } from "./image-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/permission.ts
6
- var exports_permission = {};
7
- __export(exports_permission, {
6
+ var exports_permission2 = {};
7
+ __export(exports_permission2, {
8
8
  Action: () => Action2,
9
- ConfigPermissionV1: () => exports_permission,
9
+ ConfigPermissionV1: () => exports_permission2,
10
10
  Entries: () => Entries2,
11
- Info: () => Info14,
11
+ Info: () => Info19,
12
12
  Object: () => Object2,
13
- Rule: () => Rule2
13
+ Rule: () => Rule3
14
14
  });
15
15
  import { Schema, SchemaGetter } from "effect";
16
16
  var Action2 = Schema.Literals(["ask", "allow", "deny"]).annotate({ identifier: "PermissionActionConfig" });
@@ -19,13 +19,13 @@ var Entries2 = (value) => Schema.ObjectKeyword.check(Schema.makeFilter((input) =
19
19
  encode: SchemaGetter.transform((entries) => globalThis.Object.fromEntries(entries))
20
20
  }));
21
21
  var Object2 = Entries2(Action2).annotate({ identifier: "PermissionObjectConfig" });
22
- var Rule2 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
22
+ var Rule3 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
23
23
  var actionOnly = new Set(["question", "websearch", "doom_loop"]);
24
- var Info14 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(Rule2), {
24
+ var Info19 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(Rule3), {
25
25
  decode: SchemaGetter.transform((input) => typeof input === "string" ? { "*": input } : input),
26
26
  encode: SchemaGetter.passthrough({ strict: false })
27
27
  })).check(Schema.makeFilter((rules) => rules.every(([key, rule]) => !actionOnly.has(key) || typeof rule === "string"), {
28
28
  expected: "question, websearch, and doom_loop to be ask, allow, or deny"
29
29
  })).annotate({ identifier: "PermissionConfig" });
30
30
 
31
- export { Action2, Entries2, Object2, Rule2, Info14, exports_permission };
31
+ export { Action2, Entries2, Object2, Rule3, Info19, exports_permission2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID8
3
- } from "./agent-9872gzyf.js";
2
+ ID13
3
+ } from "./image-pkwadbh0.js";
4
4
 
5
5
  // src/plugin/provider/amazon-bedrock.ts
6
6
  import { Effect } from "effect";
@@ -35,15 +35,15 @@ var AmazonBedrockPlugin2 = define({
35
35
  })))).filter(Boolean).toSorted();
36
36
  yield* ctx.integration.transform((editor) => {
37
37
  editor.method.update({
38
- integrationID: ID8.amazonBedrock,
38
+ integrationID: ID13.amazonBedrock,
39
39
  method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
40
40
  });
41
41
  editor.method.update({
42
- integrationID: ID8.amazonBedrock,
42
+ integrationID: ID13.amazonBedrock,
43
43
  method: { type: "key", label: "Bedrock API key" }
44
44
  });
45
45
  editor.method.update({
46
- integrationID: ID8.amazonBedrock,
46
+ integrationID: ID13.amazonBedrock,
47
47
  method: {
48
48
  id: "aws-profile",
49
49
  type: "external",
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  llmClient2
3
- } from "./agent-p015t6z3.js";
3
+ } from "./image-p015t6z3.js";
4
4
  import {
5
- Service63,
6
- node66
7
- } from "./agent-y49518kq.js";
5
+ Service75,
6
+ node79
7
+ } from "./image-4b5nmf5q.js";
8
8
  import {
9
9
  retry2
10
- } from "./agent-9cx9sm2q.js";
10
+ } from "./image-9cx9sm2q.js";
11
11
  import {
12
12
  __export
13
- } from "./agent-9rqn6x4v.js";
13
+ } from "./image-9rqn6x4v.js";
14
14
 
15
15
  // src/generate.ts
16
- var exports_generate = {};
17
- __export(exports_generate, {
18
- Generate: () => exports_generate,
16
+ var exports_generate2 = {};
17
+ __export(exports_generate2, {
18
+ Generate: () => exports_generate2,
19
19
  ModelSelectionError: () => ModelSelectionError2,
20
- Service: () => Service20,
21
- UnavailableError: () => UnavailableError4,
22
- layer: () => layer12,
23
- node: () => node23
20
+ Service: () => Service58,
21
+ UnavailableError: () => UnavailableError5,
22
+ layer: () => layer22,
23
+ node: () => node63
24
24
  });
25
25
  import { LLM, LLMClient } from "@opencode/ai/effect";
26
26
  import { SessionID } from "@opencode/schema/session-id";
@@ -31,17 +31,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
31
31
  }) {
32
32
  }
33
33
 
34
- class UnavailableError4 extends Schema.TaggedError()("Generate.UnavailableError", {
34
+ class UnavailableError5 extends Schema.TaggedError()("Generate.UnavailableError", {
35
35
  message: Schema.String,
36
36
  service: Schema.optional(Schema.String)
37
37
  }) {
38
38
  }
39
39
 
40
- class Service20 extends Context.Service()("@opencode/Generate") {
40
+ class Service58 extends Context.Service()("@opencode/Generate") {
41
41
  }
42
- var layer12 = Layer.effect(Service20, Effect.gen(function* () {
42
+ var layer22 = Layer.effect(Service58, Effect.gen(function* () {
43
43
  const llm = yield* LLMClient.Service;
44
- const resolver = yield* Service63;
44
+ const resolver = yield* Service75;
45
45
  const runText = Effect.fn("Generate.text")(function* (input) {
46
46
  const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
47
47
  "SessionRunnerModel.VariantUnavailableError",
@@ -51,7 +51,7 @@ var layer12 = Layer.effect(Service20, Effect.gen(function* () {
51
51
  "SessionRunnerModel.UnresolvedProviderVariablesError",
52
52
  "SessionRunnerModel.UnsupportedCompactionError"
53
53
  ], (error) => {
54
- const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError4({ message: error.message, service: error.providerID });
54
+ const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError5({ message: error.message, service: error.providerID });
55
55
  return Effect.fail(mapped);
56
56
  }));
57
57
  if (!resolved)
@@ -62,21 +62,21 @@ var layer12 = Layer.effect(Service20, Effect.gen(function* () {
62
62
  model: resolved.model,
63
63
  prompt: input.prompt,
64
64
  http: { headers: { "x-opencode-session": SessionID.create() } }
65
- })).pipe(retry2, Effect.mapError((error) => new UnavailableError4({
65
+ })).pipe(retry2, Effect.mapError((error) => new UnavailableError5({
66
66
  message: error.message,
67
67
  service: resolved.ref.providerID
68
68
  })));
69
69
  return response.text;
70
70
  });
71
- const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError4({
71
+ const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError5({
72
72
  message: "Generation credentials are unavailable"
73
73
  })));
74
- return Service20.of({ text });
74
+ return Service58.of({ text });
75
75
  }));
76
- var node23 = makeLocationNode({
77
- service: Service20,
78
- layer: layer12,
79
- deps: [node66, llmClient2]
76
+ var node63 = makeLocationNode({
77
+ service: Service58,
78
+ layer: layer22,
79
+ deps: [node79, llmClient2]
80
80
  });
81
81
 
82
- export { ModelSelectionError2, UnavailableError4, Service20, layer12, node23, exports_generate };
82
+ export { ModelSelectionError2, UnavailableError5, Service58, layer22, node63, exports_generate2 };
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service86,
3
- node90
4
- } from "./agent-508bnh7x.js";
2
+ Service84,
3
+ node88
4
+ } from "./image-82460pbt.js";
5
5
  import {
6
- Service83,
7
- node87
8
- } from "./agent-1vztwarw.js";
6
+ Service82,
7
+ node86
8
+ } from "./image-hsapky1s.js";
9
9
  import {
10
10
  SessionEvent2
11
- } from "./agent-ec1grn59.js";
11
+ } from "./image-ec1grn59.js";
12
12
  import {
13
- Service74,
14
- node77
15
- } from "./agent-gfb9vjwz.js";
13
+ Service67,
14
+ node71
15
+ } from "./image-96h5102f.js";
16
16
  import {
17
17
  __export
18
- } from "./agent-9rqn6x4v.js";
18
+ } from "./image-9rqn6x4v.js";
19
19
 
20
20
  // src/session/instructions.ts
21
21
  var exports_instructions = {};
22
22
  __export(exports_instructions, {
23
- Service: () => Service10,
23
+ Service: () => Service5,
24
24
  SessionInstructions: () => exports_instructions,
25
- node: () => node12
25
+ node: () => node7
26
26
  });
27
27
  import { relative } from "path";
28
28
  import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
@@ -32,13 +32,13 @@ var InjectedMetadata = Schema.Struct({
32
32
  instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
33
33
  });
34
34
 
35
- class Service10 extends Context.Service()("@opencode/SessionInstructions") {
35
+ class Service5 extends Context.Service()("@opencode/SessionInstructions") {
36
36
  }
37
- var layer = Layer.effect(Service10, Effect.gen(function* () {
38
- const bus = yield* Service86;
37
+ var layer = Layer.effect(Service5, Effect.gen(function* () {
38
+ const bus = yield* Service84;
39
39
  const fs = yield* FSUtil.Service;
40
- const store = yield* Service74;
41
- const location = yield* Service83;
40
+ const store = yield* Service67;
41
+ const location = yield* Service82;
42
42
  const root = yield* fs.resolve(location.project.directory);
43
43
  const inFlight = yield* Ref.make(new Map);
44
44
  const load = Effect.fn("SessionInstructions.load")(function* (input) {
@@ -84,7 +84,7 @@ ${file.content}`).join(`
84
84
  return next;
85
85
  })));
86
86
  });
87
- return Service10.of({ load });
87
+ return Service5.of({ load });
88
88
  }));
89
89
  function previouslyInjected(store, sessionID) {
90
90
  return Effect.gen(function* () {
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
95
95
  function describePath(root, path) {
96
96
  return FSUtil.contains(root, path) ? relative(root, path) : path;
97
97
  }
98
- var node12 = makeLocationNode({
98
+ var node7 = makeLocationNode({
99
99
  name: "session-instructions",
100
100
  layer,
101
- deps: [node90, FSUtil.node, node87, node77]
101
+ deps: [node88, FSUtil.node, node86, node71]
102
102
  });
103
103
 
104
- export { Service10, node12, exports_instructions };
104
+ export { Service5, node7, exports_instructions };
@@ -2,7 +2,7 @@ import {
2
2
  SQLiteEffectPreparedQuery2,
3
3
  SQLiteEffectSession2,
4
4
  SQLiteEffectTransaction2
5
- } from "./agent-hzyjdts2.js";
5
+ } from "./image-7evmvwfr.js";
6
6
 
7
7
  // src/database/drizzle/effect-sqlite/session.ts
8
8
  import * as Context from "effect/Context";
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./agent-gftt206x.js";
3
+ } from "./image-gftt206x.js";
4
4
  import {
5
5
  MessageDecodeError2
6
- } from "./agent-6mrjjgaf.js";
6
+ } from "./image-5kgs3fk1.js";
7
7
  import {
8
8
  InitializationBlocked2,
9
9
  read3
10
- } from "./agent-jnwx2kg9.js";
10
+ } from "./image-ynrq1a8k.js";
11
11
  import {
12
12
  SessionMessageTable2
13
- } from "./agent-ep59zg61.js";
13
+ } from "./image-gg8p9cgs.js";
14
14
  import {
15
15
  initial2,
16
16
  preview3
17
- } from "./agent-dw0tqvgd.js";
17
+ } from "./image-j6mefce3.js";
18
18
  import {
19
19
  User3
20
- } from "./agent-ks6g0x1g.js";
20
+ } from "./image-mm7a63e9.js";
21
21
  import {
22
22
  hydrate2
23
- } from "./agent-es3b2gsk.js";
23
+ } from "./image-z5zx3gz5.js";
24
24
  import {
25
25
  messageToText2
26
- } from "./agent-v2r1d0zg.js";
26
+ } from "./image-v2r1d0zg.js";
27
27
  import {
28
28
  __export
29
- } from "./agent-9rqn6x4v.js";
29
+ } from "./image-9rqn6x4v.js";
30
30
 
31
31
  // src/session/history.ts
32
32
  var exports_history = {};
@@ -39,7 +39,7 @@ __export(exports_history, {
39
39
  entriesForRunner: () => entriesForRunner2,
40
40
  firstUserMessage: () => firstUserMessage2,
41
41
  isNativeCompaction: () => isNativeCompaction2,
42
- load: () => load5,
42
+ load: () => load4,
43
43
  preview: () => preview2
44
44
  });
45
45
  import { and, asc, desc, eq, gte, lt, or, sql } from "drizzle-orm";
@@ -101,7 +101,7 @@ var withRecentText = Effect.fnUntraced(function* (db, sessionID, entries) {
101
101
  `);
102
102
  return [{ ...first, message: { ...compaction, metadata: { ...compaction.metadata, recent } } }, ...entries.slice(1)];
103
103
  });
104
- var load5 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
104
+ var load4 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
105
105
  return (yield* messageEntries(db, sessionID, boundary)).map((entry) => entry.message);
106
106
  });
107
107
  var entriesForRunner2 = Effect.fn("SessionHistory.entriesForRunner")(function* (db, sessionID, instructions, boundary) {
@@ -135,4 +135,4 @@ var firstUserMessage2 = Effect.fn("SessionHistory.firstUserMessage")(function* (
135
135
  return row && Schema.is(Schema.String)(row.text) ? { id: row.id, text: row.text } : undefined;
136
136
  });
137
137
 
138
- export { isNativeCompaction2, NativeWindow2, decodeMessageRowSync2, decodeMessageRow2, decodeMessageRows2, load5, entriesForRunner2, preview2, firstUserMessage2, exports_history };
138
+ export { isNativeCompaction2, NativeWindow2, decodeMessageRowSync2, decodeMessageRow2, decodeMessageRows2, load4, entriesForRunner2, preview2, firstUserMessage2, exports_history };
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service86
3
- } from "./agent-508bnh7x.js";
2
+ Service84
3
+ } from "./image-82460pbt.js";
4
4
  import {
5
- Event15
6
- } from "./agent-n0f2hcr3.js";
5
+ Event19
6
+ } from "./image-60qa52yq.js";
7
7
  import {
8
- ID9
9
- } from "./agent-swtsh7ge.js";
8
+ ID14
9
+ } from "./image-k2zexe6b.js";
10
10
  import {
11
- ID8
12
- } from "./agent-9872gzyf.js";
11
+ ID13
12
+ } from "./image-pkwadbh0.js";
13
13
 
14
14
  // src/plugin/provider/openai-context-caps.ts
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Effect, Stream } from "effect";
17
- var integrationID = ID9.make("openai");
17
+ var integrationID = ID14.make("openai");
18
18
  var methodIDs = new Set(["chatgpt-browser", "chatgpt-headless", "chatgpt-token-sharing"]);
19
19
  var legacyInput = 272000;
20
20
  var currentInput = 500000;
21
21
  var OpenAIContextCapsPlugin2 = define({
22
22
  id: "opencode.provider.openai-context-caps",
23
23
  effect: Effect.fn(function* (ctx) {
24
- const bus = yield* Service86;
24
+ const bus = yield* Service84;
25
25
  let signedIn = false;
26
26
  const load = Effect.fn("OpenAIContextCapsPlugin.load")(function* () {
27
27
  const connection = yield* ctx.integration.connection.active(integrationID);
@@ -34,7 +34,7 @@ var OpenAIContextCapsPlugin2 = define({
34
34
  yield* ctx.model.transform((models) => {
35
35
  if (!signedIn)
36
36
  return;
37
- for (const model of models.list(ID8.openai)) {
37
+ for (const model of models.list(ID13.openai)) {
38
38
  models.update(model.providerID, model.id, (draft) => {
39
39
  const input = cap(draft.modelID ?? draft.id);
40
40
  if ((draft.limit.input || draft.limit.context) <= input)
@@ -43,7 +43,7 @@ var OpenAIContextCapsPlugin2 = define({
43
43
  });
44
44
  }
45
45
  });
46
- yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load().pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
46
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load().pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
47
47
  })
48
48
  });
49
49
  function cap(apiID) {