@opencode/core 0.0.0-dev-19858 → 0.0.0-dev-19861

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 (794) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{vcs-9cze0bjq.js → app-03s1nxke.js} +11 -11
  8. package/dist/chunks/{vcs-ke3jsz6r.js → app-04rey2jp.js} +37 -37
  9. package/dist/chunks/{vcs-59gxncmk.js → app-0abjdy6r.js} +22 -22
  10. package/dist/chunks/{vcs-cpy6gm2a.js → app-0ft9cg2j.js} +6 -6
  11. package/dist/chunks/{vcs-zk9jfaqz.js → app-0g0hpnxh.js} +15 -15
  12. package/dist/chunks/{vcs-gyxn878h.js → app-0mdd29xx.js} +15 -15
  13. package/dist/chunks/app-0mesazry.js +4 -0
  14. package/dist/chunks/{vcs-ygrrhazr.js → app-0n8krxan.js} +25 -25
  15. package/dist/chunks/{vcs-0paq2nw3.js → app-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{vcs-0q0f95c6.js → app-0q0f95c6.js} +1 -1
  17. package/dist/chunks/{vcs-repb58am.js → app-0w62qmxp.js} +6 -6
  18. package/dist/chunks/{vcs-7aqqp7sg.js → app-0yfh2cv4.js} +17 -17
  19. package/dist/chunks/{vcs-zg00w177.js → app-112vf93d.js} +90 -90
  20. package/dist/chunks/{vcs-g9zwg0je.js → app-15ghn61v.js} +11 -11
  21. package/dist/chunks/{vcs-g1sxm558.js → app-166kng33.js} +8 -8
  22. package/dist/chunks/{vcs-1dazxqgg.js → app-1dazxqgg.js} +2 -2
  23. package/dist/chunks/{vcs-7m2tq7cp.js → app-1mr1eyme.js} +12 -12
  24. package/dist/chunks/{vcs-8jf52wdv.js → app-1n7xfp7c.js} +6 -6
  25. package/dist/chunks/{vcs-8vc35css.js → app-1s6r0m01.js} +23 -23
  26. package/dist/chunks/{vcs-72n6j39c.js → app-1yn5b54x.js} +15 -15
  27. package/dist/chunks/{vcs-21r38tys.js → app-21r38tys.js} +1 -1
  28. package/dist/chunks/{vcs-1c63232t.js → app-22ad72dw.js} +5 -5
  29. package/dist/chunks/{vcs-5c0f1prt.js → app-26k5bknw.js} +4 -4
  30. package/dist/chunks/{vcs-a20pgr88.js → app-28h5rqes.js} +29 -29
  31. package/dist/chunks/{vcs-13q063b0.js → app-29eh7px0.js} +10 -10
  32. package/dist/chunks/{vcs-jat0edw6.js → app-2a16gamj.js} +9 -9
  33. package/dist/chunks/{vcs-2a5m3afh.js → app-2a5m3afh.js} +1 -1
  34. package/dist/chunks/{vcs-6226hgya.js → app-2ac6pq5r.js} +44 -44
  35. package/dist/chunks/{vcs-cfgw6j6z.js → app-2cvq1298.js} +11 -11
  36. package/dist/chunks/{vcs-1axrxgdc.js → app-2geg2a1k.js} +25 -25
  37. package/dist/chunks/{vcs-87ghn5kx.js → app-2js3mcp4.js} +5 -5
  38. package/dist/chunks/{vcs-nqyhrfcc.js → app-2q6kkxxq.js} +4 -4
  39. package/dist/chunks/{vcs-n2rc481p.js → app-2qamff3n.js} +32 -32
  40. package/dist/chunks/{vcs-bfwdkgar.js → app-2vfzc3td.js} +16 -16
  41. package/dist/chunks/{vcs-h9ynannw.js → app-2wxycwcj.js} +4 -4
  42. package/dist/chunks/{vcs-n5ej7v0r.js → app-35gwdmsd.js} +17 -17
  43. package/dist/chunks/{vcs-wqteacnb.js → app-389ykwvm.js} +96 -96
  44. package/dist/chunks/{vcs-w2jpnjzn.js → app-38wzhxwb.js} +4 -4
  45. package/dist/chunks/{vcs-fzspm7j1.js → app-3a3k705c.js} +6 -6
  46. package/dist/chunks/{vcs-3fc6dm20.js → app-3fc6dm20.js} +1 -1
  47. package/dist/chunks/{vcs-3hepkmqq.js → app-3hepkmqq.js} +1 -1
  48. package/dist/chunks/{vcs-ebym5fch.js → app-3m48w42r.js} +11 -11
  49. package/dist/chunks/{vcs-3smtnn6g.js → app-3smtnn6g.js} +1 -1
  50. package/dist/chunks/{vcs-3tvqynh2.js → app-3tvqynh2.js} +1 -1
  51. package/dist/chunks/{vcs-wjwsazx2.js → app-46jhmsf5.js} +23 -23
  52. package/dist/chunks/{vcs-2cdg16k9.js → app-4at0py5f.js} +3 -3
  53. package/dist/chunks/{vcs-kef0rm51.js → app-4fra59pm.js} +22 -22
  54. package/dist/chunks/{vcs-78ht92vq.js → app-4n86frb8.js} +18 -18
  55. package/dist/chunks/{vcs-j2zgkdb5.js → app-4rep1cc0.js} +27 -27
  56. package/dist/chunks/{vcs-rdmr8h45.js → app-4sms2kqp.js} +13 -13
  57. package/dist/chunks/{vcs-p70617b8.js → app-4zgg82rk.js} +32 -32
  58. package/dist/chunks/{vcs-a8bn8zg0.js → app-50mzsvk4.js} +4 -4
  59. package/dist/chunks/{vcs-dmxkarkb.js → app-5749a7rt.js} +22 -22
  60. package/dist/chunks/{vcs-qqeeq2t9.js → app-57b9ws8p.js} +4 -4
  61. package/dist/chunks/{vcs-57ez7d0k.js → app-57ez7d0k.js} +2 -2
  62. package/dist/chunks/{vcs-bq6j9g1b.js → app-58g4rptp.js} +6 -6
  63. package/dist/chunks/{vcs-jexxy024.js → app-5cmxdwv8.js} +3 -3
  64. package/dist/chunks/{vcs-5daktx2q.js → app-5daktx2q.js} +1 -1
  65. package/dist/chunks/{vcs-379sbzbq.js → app-5g373dvk.js} +24 -24
  66. package/dist/chunks/{vcs-t9a3q6q8.js → app-5k0e0nr1.js} +3 -3
  67. package/dist/chunks/{vcs-whenjg63.js → app-5mcxd2xw.js} +18 -18
  68. package/dist/chunks/{vcs-5t3nmthw.js → app-5t3nmthw.js} +2 -2
  69. package/dist/chunks/{vcs-sbrmgv3y.js → app-64cefnnt.js} +12 -12
  70. package/dist/chunks/{vcs-669tq793.js → app-669tq793.js} +1 -1
  71. package/dist/chunks/{vcs-bp9gkt27.js → app-66jergzr.js} +14 -14
  72. package/dist/chunks/{vcs-n22a5g2a.js → app-67d9h72z.js} +32 -32
  73. package/dist/chunks/{vcs-wprfv400.js → app-6cbv7e1m.js} +35 -35
  74. package/dist/chunks/{vcs-2402vzrj.js → app-6h73sxmp.js} +5 -5
  75. package/dist/chunks/{vcs-6msgmcgs.js → app-6msgmcgs.js} +1 -1
  76. package/dist/chunks/{vcs-0w296mef.js → app-6zpck6fb.js} +19 -19
  77. package/dist/chunks/{vcs-kxphd5c7.js → app-738nz2x0.js} +6 -6
  78. package/dist/chunks/{vcs-r5x6zcsm.js → app-73tb2d7t.js} +3 -3
  79. package/dist/chunks/{vcs-7bmhse3q.js → app-7bmhse3q.js} +1 -1
  80. package/dist/chunks/{vcs-e7710hd6.js → app-7f85ph34.js} +5 -5
  81. package/dist/chunks/{vcs-anq7mq7z.js → app-7r28xmed.js} +18 -18
  82. package/dist/chunks/{vcs-wepc9txd.js → app-7v4vhntb.js} +19 -19
  83. package/dist/chunks/{vcs-68hsc098.js → app-7v9wscx3.js} +30 -30
  84. package/dist/chunks/{vcs-erz15eev.js → app-7z8cwmc8.js} +9 -9
  85. package/dist/chunks/{vcs-apevh53r.js → app-853r27ye.js} +20 -20
  86. package/dist/chunks/{vcs-mdkr6fq5.js → app-85xe0f8m.js} +21 -21
  87. package/dist/chunks/{vcs-8d7r5vzw.js → app-8d7r5vzw.js} +1 -1
  88. package/dist/chunks/{vcs-8p4f9s12.js → app-8p4f9s12.js} +2 -2
  89. package/dist/chunks/{vcs-e34xd838.js → app-90dayy4w.js} +8 -8
  90. package/dist/chunks/{vcs-rcgznhtg.js → app-91dks806.js} +11 -11
  91. package/dist/chunks/{vcs-kgtte2k4.js → app-9c7b93gn.js} +24 -24
  92. package/dist/chunks/{vcs-j23gxyft.js → app-9e4kz7m2.js} +10 -10
  93. package/dist/chunks/{vcs-w4wvvbc4.js → app-9y617vrz.js} +5 -5
  94. package/dist/chunks/{vcs-dv3zezwm.js → app-9ywxax6f.js} +22 -22
  95. package/dist/chunks/app-9zdhvgqs.js +18 -0
  96. package/dist/chunks/{vcs-a1bz86dw.js → app-a1bz86dw.js} +3 -3
  97. package/dist/chunks/{vcs-w5fm7hkw.js → app-a29a0jzg.js} +26 -26
  98. package/dist/chunks/{vcs-yz9726cp.js → app-a3kq1sqa.js} +11 -11
  99. package/dist/chunks/{vcs-pj7by5mk.js → app-a7bdh8gz.js} +71 -71
  100. package/dist/chunks/{vcs-aaet6srn.js → app-aaet6srn.js} +2 -2
  101. package/dist/chunks/{vcs-d7r05era.js → app-ahp8ypm5.js} +3 -3
  102. package/dist/chunks/{vcs-7yevm10q.js → app-av28j1w8.js} +13 -13
  103. package/dist/chunks/{vcs-8kwpxbq8.js → app-awyb8gv9.js} +11 -11
  104. package/dist/chunks/{vcs-q9t0j652.js → app-azgxc740.js} +19 -19
  105. package/dist/chunks/app-b2bj7c3q.js +26 -0
  106. package/dist/chunks/{vcs-v5zftknb.js → app-b33ezyym.js} +24 -24
  107. package/dist/chunks/{vcs-8ctj0vet.js → app-b589hzzy.js} +46 -46
  108. package/dist/chunks/{vcs-b6gygkdw.js → app-b6gygkdw.js} +2 -2
  109. package/dist/chunks/{vcs-sme2kac2.js → app-b778p09a.js} +30 -30
  110. package/dist/chunks/{vcs-zhq6vg7a.js → app-b97cbvw3.js} +1 -1
  111. package/dist/chunks/{vcs-jknhfhr2.js → app-b9czjycg.js} +33 -33
  112. package/dist/chunks/{vcs-z2ghjjem.js → app-bfwz5rjc.js} +5 -5
  113. package/dist/chunks/{vcs-8ta8hfpz.js → app-bgewb51p.js} +15 -15
  114. package/dist/chunks/{vcs-cq37gk0t.js → app-bha4atvq.js} +4 -4
  115. package/dist/chunks/{vcs-2hkvphhc.js → app-bhkcwbjr.js} +5 -5
  116. package/dist/chunks/{vcs-06zrjgay.js → app-bvp4gths.js} +11 -11
  117. package/dist/chunks/{vcs-cfpkc3c9.js → app-cfpkc3c9.js} +2 -2
  118. package/dist/chunks/{vcs-h1p741k4.js → app-chgm6g41.js} +9 -9
  119. package/dist/chunks/{vcs-h6r3nrb9.js → app-cpj0znwe.js} +4 -4
  120. package/dist/chunks/{vcs-6knq39fp.js → app-cq4zkgfg.js} +6 -6
  121. package/dist/chunks/{vcs-0f9afca0.js → app-cr07tj7n.js} +5 -5
  122. package/dist/chunks/{vcs-m6em83jz.js → app-ctezbzm4.js} +29 -29
  123. package/dist/chunks/{vcs-8662gdp4.js → app-cx4wm8ch.js} +25 -25
  124. package/dist/chunks/{vcs-nv09mq9g.js → app-cz0bpax2.js} +9 -9
  125. package/dist/chunks/{vcs-fdv30zvt.js → app-d216944b.js} +4 -4
  126. package/dist/chunks/{vcs-seeezy3s.js → app-dkhfw37f.js} +11 -11
  127. package/dist/chunks/{vcs-y71avatq.js → app-dpkg50ah.js} +4 -4
  128. package/dist/chunks/{vcs-wy1aae89.js → app-dschqtcd.js} +29 -29
  129. package/dist/chunks/{vcs-173jzaqb.js → app-dz7gaz91.js} +44 -44
  130. package/dist/chunks/{vcs-hmgqkarr.js → app-e5p9gmcw.js} +52 -52
  131. package/dist/chunks/{vcs-4qacd19w.js → app-eag6ew45.js} +5 -5
  132. package/dist/chunks/{vcs-rhjbct0v.js → app-eaj1djv9.js} +8 -8
  133. package/dist/chunks/{vcs-5xhftgj4.js → app-ee831jk2.js} +22 -22
  134. package/dist/chunks/{vcs-ef5x83kb.js → app-ef5x83kb.js} +1 -1
  135. package/dist/chunks/{vcs-05ne224h.js → app-ekpey0w2.js} +35 -35
  136. package/dist/chunks/{vcs-bbp8a8gj.js → app-epkvv2f5.js} +24 -24
  137. package/dist/chunks/{vcs-wbkyxrgf.js → app-eq23s0y6.js} +5 -5
  138. package/dist/chunks/{vcs-erw5rpbs.js → app-erw5rpbs.js} +2 -2
  139. package/dist/chunks/{vcs-etq0c3wd.js → app-etq0c3wd.js} +1 -1
  140. package/dist/chunks/{vcs-tz2bjj40.js → app-evbgk2k8.js} +5 -5
  141. package/dist/chunks/{vcs-bgsd6ce6.js → app-eyq5w0tx.js} +321 -321
  142. package/dist/chunks/{vcs-ykmdpqna.js → app-f1nv3393.js} +1 -1
  143. package/dist/chunks/{vcs-wczd338b.js → app-f4cksbqy.js} +36 -36
  144. package/dist/chunks/{vcs-xar9seh6.js → app-f5sa8sd6.js} +14 -14
  145. package/dist/chunks/{vcs-f828m53h.js → app-f828m53h.js} +2 -2
  146. package/dist/chunks/{vcs-gar06bvm.js → app-f8m84gb8.js} +13 -13
  147. package/dist/chunks/{vcs-r9chjg2t.js → app-fd7vcark.js} +11 -11
  148. package/dist/chunks/{vcs-113z30mj.js → app-fmbxdm3g.js} +8 -8
  149. package/dist/chunks/{vcs-y15vpdnr.js → app-fmcqyzhx.js} +9 -9
  150. package/dist/chunks/{vcs-45xbaj3v.js → app-fqgzk7pv.js} +5 -5
  151. package/dist/chunks/{vcs-n8jyz0fj.js → app-fvfb3fd0.js} +28 -28
  152. package/dist/chunks/{vcs-fxbjtjnd.js → app-fxbjtjnd.js} +1 -1
  153. package/dist/chunks/{vcs-c765mh8b.js → app-g6q9qykm.js} +9 -9
  154. package/dist/chunks/{vcs-ew7chs6w.js → app-ga3zpfks.js} +28 -28
  155. package/dist/chunks/{vcs-6r81f25e.js → app-gb4d8a14.js} +20 -20
  156. package/dist/chunks/{vcs-spr050er.js → app-gb5spw7h.js} +10 -10
  157. package/dist/chunks/{vcs-gd4qta3r.js → app-gd4qta3r.js} +1 -1
  158. package/dist/chunks/{vcs-ww2ppt95.js → app-gehb6127.js} +13 -13
  159. package/dist/chunks/{vcs-z2fmrg3w.js → app-gv0f11kb.js} +24 -24
  160. package/dist/chunks/{vcs-gv6a8nnw.js → app-gv6a8nnw.js} +2 -2
  161. package/dist/chunks/{vcs-hv00q5g0.js → app-gwsdqkfn.js} +28 -28
  162. package/dist/chunks/{vcs-dc8pdabb.js → app-gyv5e7s4.js} +10 -10
  163. package/dist/chunks/{vcs-h6vf3j39.js → app-h6vf3j39.js} +1 -1
  164. package/dist/chunks/{vcs-mhg46e0p.js → app-hb9jrkjm.js} +35 -35
  165. package/dist/chunks/{vcs-j56e64zr.js → app-j56e64zr.js} +1 -1
  166. package/dist/chunks/{vcs-cvv1tyh9.js → app-j9ntjbjw.js} +7 -7
  167. package/dist/chunks/{vcs-3h1vqtm7.js → app-j9swzztf.js} +50 -50
  168. package/dist/chunks/{vcs-jz93xfa4.js → app-jent2as2.js} +24 -24
  169. package/dist/chunks/{vcs-mk3kndb3.js → app-jkwh4gcj.js} +32 -32
  170. package/dist/chunks/{vcs-hmkrxbsd.js → app-jnsj711q.js} +1 -1
  171. package/dist/chunks/{vcs-y346bt7s.js → app-jnt1kwnr.js} +3 -3
  172. package/dist/chunks/{vcs-05ema446.js → app-jqmhvstb.js} +20 -20
  173. package/dist/chunks/{vcs-x41dyxnd.js → app-jsze95va.js} +32 -32
  174. package/dist/chunks/{vcs-7k1t81qn.js → app-k3jwnc6w.js} +26 -26
  175. package/dist/chunks/{vcs-j7mpm1wr.js → app-k4bsvsx7.js} +12 -12
  176. package/dist/chunks/{vcs-h82njgbp.js → app-k94qrc8k.js} +35 -35
  177. package/dist/chunks/{vcs-9waxhxyt.js → app-k9av316b.js} +58 -58
  178. package/dist/chunks/{vcs-jw7qx2m6.js → app-ka94gqqd.js} +4 -4
  179. package/dist/chunks/{vcs-jhgqne7p.js → app-kdjmvqve.js} +10 -10
  180. package/dist/chunks/{vcs-zee1rnkq.js → app-kne8f3cn.js} +4 -4
  181. package/dist/chunks/{vcs-6kjxsdk9.js → app-ktcan3rf.js} +18 -18
  182. package/dist/chunks/{vcs-p841sg60.js → app-kwpbznt7.js} +30 -30
  183. package/dist/chunks/{vcs-wz7c3pjz.js → app-kyrzxw1k.js} +13 -13
  184. package/dist/chunks/{vcs-nq7qbqzc.js → app-m2d0j7c0.js} +9 -9
  185. package/dist/chunks/{vcs-m3fdjcah.js → app-m3fdjcah.js} +1 -1
  186. package/dist/chunks/{vcs-ehpg0rej.js → app-m6r2z606.js} +4 -4
  187. package/dist/chunks/{vcs-m9w0rfyh.js → app-m9w0rfyh.js} +1 -1
  188. package/dist/chunks/{vcs-fam871qv.js → app-mc6hyre0.js} +10 -10
  189. package/dist/chunks/{vcs-56gdpj1q.js → app-mfqp6xfm.js} +6 -6
  190. package/dist/chunks/{vcs-y5df08dr.js → app-mqt5419d.js} +5 -5
  191. package/dist/chunks/{vcs-vbsshj49.js → app-mtt68vmf.js} +25 -25
  192. package/dist/chunks/{vcs-4rrs1rky.js → app-mvtp2pry.js} +13 -13
  193. package/dist/chunks/{vcs-ycjb11n5.js → app-mx9vqzsb.js} +6 -6
  194. package/dist/chunks/{vcs-jphrr7s4.js → app-mxn8exwt.js} +19 -19
  195. package/dist/chunks/{vcs-ds81ph87.js → app-myefbstp.js} +18 -18
  196. package/dist/chunks/{vcs-2t103h6b.js → app-n010fk1p.js} +11 -11
  197. package/dist/chunks/{vcs-m42kpekn.js → app-n6d4p8nj.js} +44 -44
  198. package/dist/chunks/{vcs-wvyg63f2.js → app-ncjkz9z1.js} +29 -29
  199. package/dist/chunks/{vcs-rfm2565c.js → app-ndb5d06d.js} +60 -60
  200. package/dist/chunks/{vcs-d7r387ef.js → app-ns15zm60.js} +6 -6
  201. package/dist/chunks/{vcs-x4gr8kd6.js → app-nsjkyrtc.js} +6 -6
  202. package/dist/chunks/{vcs-amnjnv1s.js → app-nsvybq32.js} +40 -40
  203. package/dist/chunks/{vcs-nzks3jc8.js → app-nzks3jc8.js} +3 -3
  204. package/dist/chunks/{vcs-p28j5sbe.js → app-p28j5sbe.js} +2 -2
  205. package/dist/chunks/{vcs-vpdthv1w.js → app-p68jy0p0.js} +47 -47
  206. package/dist/chunks/{vcs-k6bjvtpx.js → app-p7kkfgfy.js} +9 -9
  207. package/dist/chunks/{vcs-18e56dsp.js → app-p7nsp59h.js} +4 -4
  208. package/dist/chunks/{vcs-4qqvttyb.js → app-pdcy4k2y.js} +9 -9
  209. package/dist/chunks/{vcs-phstrbs2.js → app-phstrbs2.js} +1 -1
  210. package/dist/chunks/{vcs-pjvnvgmy.js → app-pjvnvgmy.js} +1 -1
  211. package/dist/chunks/{vcs-pknna89w.js → app-pknna89w.js} +1 -1
  212. package/dist/chunks/{vcs-q2b1ymqp.js → app-q2b1ymqp.js} +1 -1
  213. package/dist/chunks/{vcs-98n6zb1h.js → app-q2xng7e1.js} +29 -29
  214. package/dist/chunks/{vcs-8xh6cseh.js → app-q80qg22r.js} +16 -16
  215. package/dist/chunks/{vcs-n6gjtqa4.js → app-qakm37pj.js} +30 -30
  216. package/dist/chunks/{vcs-4nenax5m.js → app-qaqrrstf.js} +9 -9
  217. package/dist/chunks/{vcs-qgn6gcr1.js → app-qgn6gcr1.js} +1 -1
  218. package/dist/chunks/{vcs-kvdph0hb.js → app-qjymz4e2.js} +3 -3
  219. package/dist/chunks/{vcs-kxhmg965.js → app-qnzzh3bs.js} +24 -24
  220. package/dist/chunks/{vcs-qsdy395h.js → app-qsdy395h.js} +1 -1
  221. package/dist/chunks/{vcs-yt3hy1g9.js → app-qvreyy9g.js} +5 -5
  222. package/dist/chunks/{vcs-snabfqxp.js → app-r8pm2v0t.js} +4 -4
  223. package/dist/chunks/{vcs-ry85pwrz.js → app-r9763r4t.js} +11 -11
  224. package/dist/chunks/{vcs-rdw6cm16.js → app-rdw6cm16.js} +1 -1
  225. package/dist/chunks/{vcs-1vx51w1w.js → app-rf46get4.js} +18 -18
  226. package/dist/chunks/{vcs-gn9g1pwf.js → app-rp4sb7ft.js} +31 -31
  227. package/dist/chunks/{vcs-twnj3zvd.js → app-rp6k66e5.js} +20 -20
  228. package/dist/chunks/{vcs-py7tvzcg.js → app-ry3kwg5r.js} +35 -35
  229. package/dist/chunks/{vcs-9c3np669.js → app-rzs3gq0x.js} +8 -8
  230. package/dist/chunks/app-rzsdpbyf.js +252 -0
  231. package/dist/chunks/{vcs-rqk1njnt.js → app-rzter2vb.js} +17 -17
  232. package/dist/chunks/{vcs-fb101560.js → app-s9mmsqrc.js} +17 -17
  233. package/dist/chunks/{vcs-tyg3r6mh.js → app-sbxv4cwa.js} +4 -4
  234. package/dist/chunks/{vcs-deajjef3.js → app-sg8pmkre.js} +21 -21
  235. package/dist/chunks/{vcs-s1pxbdt0.js → app-szkxvq7w.js} +16 -16
  236. package/dist/chunks/{vcs-40j9bccr.js → app-t1h7jwac.js} +5 -5
  237. package/dist/chunks/{vcs-tazgh4e4.js → app-tazgh4e4.js} +1 -1
  238. package/dist/chunks/{vcs-tcezcvh9.js → app-tcezcvh9.js} +1 -1
  239. package/dist/chunks/{vcs-tdstcens.js → app-tdstcens.js} +1 -1
  240. package/dist/chunks/{vcs-71rwez9w.js → app-tgkpsbpf.js} +11 -11
  241. package/dist/chunks/{vcs-nhja5bmb.js → app-tv3z4kj6.js} +20 -20
  242. package/dist/chunks/{vcs-698nh4g1.js → app-tvc1wdcr.js} +12 -12
  243. package/dist/chunks/{vcs-tsvqgg8r.js → app-tvm0x603.js} +18 -18
  244. package/dist/chunks/{vcs-nw2p6qkx.js → app-tvshepj5.js} +26 -26
  245. package/dist/chunks/{vcs-tvtrv512.js → app-tvtrv512.js} +1 -1
  246. package/dist/chunks/{vcs-3664dkb2.js → app-v9a8k35b.js} +42 -42
  247. package/dist/chunks/{vcs-veqvce7d.js → app-veqvce7d.js} +1 -1
  248. package/dist/chunks/{vcs-a3r4dcrj.js → app-vmgq4x8b.js} +2 -2
  249. package/dist/chunks/{vcs-ybhbtxjg.js → app-vmwh049b.js} +6 -6
  250. package/dist/chunks/{vcs-2f5wythd.js → app-vvysgjv5.js} +5 -5
  251. package/dist/chunks/{vcs-tcsc0whj.js → app-vvzdbbdm.js} +10 -10
  252. package/dist/chunks/{vcs-vzcthcp8.js → app-vzcthcp8.js} +1 -1
  253. package/dist/chunks/{vcs-etazx9r2.js → app-w34drh26.js} +20 -20
  254. package/dist/chunks/{vcs-w3wsvvr9.js → app-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{vcs-762r0j46.js → app-w8xr7nv8.js} +5 -5
  256. package/dist/chunks/{vcs-wd87259q.js → app-wd87259q.js} +1 -1
  257. package/dist/chunks/{vcs-spe3g0hp.js → app-wes8p5ff.js} +180 -180
  258. package/dist/chunks/{vcs-2m1f7cy6.js → app-wkv4p1cn.js} +13 -13
  259. package/dist/chunks/{vcs-2djq4902.js → app-wte5xypw.js} +14 -14
  260. package/dist/chunks/{vcs-ve62qrz7.js → app-wxv7zk66.js} +5 -5
  261. package/dist/chunks/{vcs-x1ezjp6w.js → app-x1ezjp6w.js} +1 -1
  262. package/dist/chunks/{vcs-5wdaxb8f.js → app-x2ksegs4.js} +32 -32
  263. package/dist/chunks/{vcs-12v7f4hg.js → app-x40kz2n8.js} +41 -41
  264. package/dist/chunks/{vcs-x8h0pz8m.js → app-x7hpp0cz.js} +9 -9
  265. package/dist/chunks/{vcs-01m6t6a9.js → app-xam4y82e.js} +25 -25
  266. package/dist/chunks/{vcs-a3ftg8j6.js → app-xf8yqmad.js} +9 -9
  267. package/dist/chunks/{vcs-z7z0ddsh.js → app-xfc78b52.js} +8 -8
  268. package/dist/chunks/{vcs-mmr7bq34.js → app-xfdrc2qg.js} +6 -6
  269. package/dist/chunks/{vcs-4we6rgn1.js → app-xtc9razg.js} +5 -5
  270. package/dist/chunks/{vcs-y1fvbwt7.js → app-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{vcs-a8zr1srk.js → app-y3q03scc.js} +8 -8
  272. package/dist/chunks/{vcs-r8xr0va3.js → app-yp2x3t23.js} +4 -4
  273. package/dist/chunks/{vcs-5qkxfyep.js → app-yq2cczkq.js} +9 -9
  274. package/dist/chunks/{vcs-yrhqyw5v.js → app-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{vcs-yrznvahk.js → app-yrznvahk.js} +2 -2
  276. package/dist/chunks/{vcs-envqdpax.js → app-yz0qd2c9.js} +13 -13
  277. package/dist/chunks/{vcs-3ewed21c.js → app-z0aj456m.js} +4 -4
  278. package/dist/chunks/{vcs-z0bkrqjs.js → app-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{vcs-gsjgh4hm.js → app-z1n384xa.js} +15 -15
  280. package/dist/chunks/{vcs-z63w68vq.js → app-z63w68vq.js} +2 -2
  281. package/dist/chunks/{vcs-mzr7febk.js → app-za4cqae4.js} +9 -9
  282. package/dist/chunks/{vcs-5gh21e1w.js → app-zcbk9ecm.js} +2 -2
  283. package/dist/chunks/{vcs-zeh9ct20.js → app-zeh9ct20.js} +2 -2
  284. package/dist/chunks/{vcs-7md8yzhz.js → app-zk19rc5h.js} +22 -22
  285. package/dist/chunks/{vcs-9pqkkp2e.js → app-zpaje10v.js} +11 -11
  286. package/dist/chunks/{vcs-zr2ceqn5.js → app-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{vcs-4xvd153e.js → app-zsby4d12.js} +7 -7
  288. package/dist/chunks/{vcs-dn92n4b8.js → app-zv0ss7ka.js} +30 -30
  289. package/dist/chunks/{vcs-zxq2ej10.js → app-zxq2ej10.js} +1 -1
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +5 -5
  292. package/dist/codemode/tool.js +3 -3
  293. package/dist/codemode/web.js +1 -1
  294. package/dist/command.js +82 -82
  295. package/dist/config/discovery.js +81 -81
  296. package/dist/config/markdown.js +1 -1
  297. package/dist/config/normalize.js +105 -105
  298. package/dist/config/plugin/agent.js +122 -122
  299. package/dist/config/plugin/command.js +211 -211
  300. package/dist/config/plugin/compaction.js +159 -159
  301. package/dist/config/plugin/compatibility.js +140 -140
  302. package/dist/config/plugin/entry-observer.js +1 -1
  303. package/dist/config/plugin/formatter.js +123 -123
  304. package/dist/config/plugin/image.js +122 -122
  305. package/dist/config/plugin/instruction.js +89 -89
  306. package/dist/config/plugin/location-watcher.js +122 -122
  307. package/dist/config/plugin/mcp.js +129 -129
  308. package/dist/config/plugin/policy.js +122 -122
  309. package/dist/config/plugin/provider.js +122 -122
  310. package/dist/config/plugin/reference.js +124 -124
  311. package/dist/config/plugin/shell.js +124 -124
  312. package/dist/config/plugin/skill-file.js +101 -101
  313. package/dist/config/plugin/skill.js +143 -143
  314. package/dist/config/plugin/snapshot.js +122 -122
  315. package/dist/config/plugin/source.js +119 -119
  316. package/dist/config/plugin/tool-output.js +124 -124
  317. package/dist/config/plugin/websearch.js +123 -123
  318. package/dist/config/plugin/worktree.js +124 -124
  319. package/dist/config/variable.js +3 -3
  320. package/dist/config/watch.js +1 -1
  321. package/dist/config.js +125 -125
  322. package/dist/credential/sql.js +2 -2
  323. package/dist/credential.js +84 -84
  324. package/dist/database/database.js +69 -69
  325. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  327. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  328. package/dist/database/drizzle/index.js +15 -15
  329. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  332. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  340. package/dist/database/drizzle.js +16 -16
  341. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  342. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  343. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  344. package/dist/database/migration/20260225215848_workspace.js +1 -1
  345. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  346. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  347. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  348. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  349. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  350. package/dist/database/migration/20260323234822_events.js +1 -1
  351. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  352. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  353. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  354. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  355. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  356. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  357. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  358. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  359. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  360. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  361. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  362. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  363. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  364. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  365. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  366. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  367. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  368. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  369. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  370. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  371. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  372. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  373. package/dist/database/migration/20260611035744_credential.js +1 -1
  374. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  375. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  376. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  377. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  378. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  379. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  380. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  381. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  382. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  383. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  384. package/dist/database/migration/20260812213948_worktree.js +1 -1
  385. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  386. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  387. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  388. package/dist/database/migration.gen.js +48 -48
  389. package/dist/database/migration.js +50 -50
  390. package/dist/database/path.js +2 -2
  391. package/dist/database/schema.gen.js +1 -1
  392. package/dist/database/schema.sql.js +1 -1
  393. package/dist/database/sqlite.bun.js +1 -1
  394. package/dist/database/sqlite.js +1 -1
  395. package/dist/database/sqlite.node.js +1 -1
  396. package/dist/database/sqlite.workerd.js +1 -1
  397. package/dist/database/v1-migration.bun.js +78 -78
  398. package/dist/database/v1-migration.js +1 -1
  399. package/dist/effect/app-node-builder.js +368 -368
  400. package/dist/effect/app-node-platform.js +2 -2
  401. package/dist/effect/keyed-mutex.js +3 -3
  402. package/dist/effect/websocket-constructor.js +1 -1
  403. package/dist/environment/driver.js +1 -1
  404. package/dist/environment/environment.js +92 -92
  405. package/dist/environment/exec-defaults.js +2 -2
  406. package/dist/environment/files.js +1 -1
  407. package/dist/environment/index.js +94 -94
  408. package/dist/environment/local.js +2 -2
  409. package/dist/environment/memory.js +2 -2
  410. package/dist/environment/unavailable.js +1 -1
  411. package/dist/event/sql.js +1 -1
  412. package/dist/event-logger.js +73 -73
  413. package/dist/file-access.js +103 -103
  414. package/dist/file-mutation.js +93 -93
  415. package/dist/file-retention.js +1 -1
  416. package/dist/file.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/ignore.js +1 -1
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +224 -224
  424. package/dist/filesystem/protected.js +1 -1
  425. package/dist/filesystem/search.js +96 -96
  426. package/dist/filesystem/watcher-binding.js +1 -1
  427. package/dist/filesystem/watcher.js +13 -13
  428. package/dist/filesystem.js +101 -101
  429. package/dist/form.js +85 -85
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +88 -88
  432. package/dist/generate.js +104 -104
  433. package/dist/git.js +6 -6
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +90 -90
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/id/id.js +1 -1
  454. package/dist/image/photon.js +2 -2
  455. package/dist/image.js +6 -6
  456. package/dist/instance/service.js +5 -5
  457. package/dist/instance.js +359 -359
  458. package/dist/instruction-discovery.js +82 -82
  459. package/dist/instructions/builtins.js +86 -86
  460. package/dist/instructions/index.js +5 -5
  461. package/dist/integration/connection.js +3 -3
  462. package/dist/integration.js +85 -85
  463. package/dist/job.js +78 -78
  464. package/dist/kv/sql.js +2 -2
  465. package/dist/kv.js +72 -72
  466. package/dist/location-activity.js +134 -134
  467. package/dist/location-lifecycle.js +105 -105
  468. package/dist/location-mutation.js +103 -103
  469. package/dist/location-service-map.js +85 -85
  470. package/dist/location-services.js +356 -356
  471. package/dist/location.js +84 -84
  472. package/dist/mcp/client.js +90 -90
  473. package/dist/mcp/index.js +105 -105
  474. package/dist/mcp/instructions.js +123 -123
  475. package/dist/mcp/oauth.js +77 -77
  476. package/dist/mcp/stdio.js +89 -89
  477. package/dist/mime.js +1 -1
  478. package/dist/modal/models.js +90 -90
  479. package/dist/model-resolver.js +97 -97
  480. package/dist/model.js +101 -101
  481. package/dist/models-dev.js +98 -98
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +79 -79
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +112 -112
  486. package/dist/persistent-pty/binary.bun.js +1 -1
  487. package/dist/persistent-pty/daemon.js +1 -1
  488. package/dist/persistent-pty/index.js +87 -87
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +74 -74
  491. package/dist/plugin/agent.js +101 -101
  492. package/dist/plugin/command.js +98 -98
  493. package/dist/plugin/compaction.js +130 -130
  494. package/dist/plugin/hooks.js +5 -5
  495. package/dist/plugin/host.js +217 -217
  496. package/dist/plugin/identity.js +3 -3
  497. package/dist/plugin/instance.js +1 -1
  498. package/dist/plugin/internal.js +330 -330
  499. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  500. package/dist/plugin/models-dev.js +95 -95
  501. package/dist/plugin/module.js +7 -7
  502. package/dist/plugin/optimize.js +4 -4
  503. package/dist/plugin/plan.js +101 -101
  504. package/dist/plugin/promise.js +1 -1
  505. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  506. package/dist/plugin/provider/azure.js +121 -121
  507. package/dist/plugin/provider/cerebras.js +1 -1
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +118 -118
  512. package/dist/plugin/provider/digitalocean.js +92 -92
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/gateway.js +2 -2
  516. package/dist/plugin/provider/github-copilot.js +92 -92
  517. package/dist/plugin/provider/gitlab.js +90 -90
  518. package/dist/plugin/provider/google-vertex.js +89 -89
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +76 -76
  521. package/dist/plugin/provider/lmstudio.js +121 -121
  522. package/dist/plugin/provider/modal.js +91 -91
  523. package/dist/plugin/provider/nvidia.js +1 -1
  524. package/dist/plugin/provider/ollama.js +121 -121
  525. package/dist/plugin/provider/openai.js +93 -93
  526. package/dist/plugin/provider/opencode.js +92 -92
  527. package/dist/plugin/provider/openrouter.js +90 -90
  528. package/dist/plugin/provider/perplexity.js +2 -2
  529. package/dist/plugin/provider/poe.js +77 -77
  530. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  531. package/dist/plugin/provider/sap-ai-core.js +90 -90
  532. package/dist/plugin/provider/sdk-factory.js +1 -1
  533. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  534. package/dist/plugin/provider/venice.js +2 -2
  535. package/dist/plugin/provider/vercel.js +89 -89
  536. package/dist/plugin/provider/vllm.js +121 -121
  537. package/dist/plugin/provider/xai.js +90 -90
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +158 -158
  540. package/dist/plugin/sdk.js +75 -75
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +140 -140
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +345 -345
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +6 -6
  547. package/dist/plugin/vcs/git.js +85 -85
  548. package/dist/plugin/vcs/hg.js +85 -85
  549. package/dist/plugin/warming.js +120 -120
  550. package/dist/plugin/websearch/exa.js +5 -5
  551. package/dist/plugin/websearch/firecrawl.js +8 -8
  552. package/dist/plugin/websearch/index.js +9 -9
  553. package/dist/plugin/websearch/mcp.js +4 -4
  554. package/dist/plugin/websearch/parallel.js +8 -8
  555. package/dist/plugin/websearch/tavily.js +4 -4
  556. package/dist/plugin/websearch/tinyfish.js +8 -8
  557. package/dist/plugin.js +228 -228
  558. package/dist/project/schema.js +2 -2
  559. package/dist/project/sql.js +4 -4
  560. package/dist/project.js +83 -83
  561. package/dist/provider.js +100 -100
  562. package/dist/pty/protocol.js +1 -1
  563. package/dist/pty/schema.js +3 -3
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +95 -95
  566. package/dist/reference/instructions.js +88 -88
  567. package/dist/reference.js +88 -88
  568. package/dist/repository-cache.js +80 -80
  569. package/dist/repository.js +3 -3
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +96 -96
  572. package/dist/rpc.js +85 -85
  573. package/dist/schema.js +1 -1
  574. package/dist/session/command.js +73 -73
  575. package/dist/session/compaction.js +129 -129
  576. package/dist/session/context.js +151 -151
  577. package/dist/session/diff.js +87 -87
  578. package/dist/session/environment.js +5 -5
  579. package/dist/session/error.js +5 -5
  580. package/dist/session/event.js +1 -1
  581. package/dist/session/execution/restart.js +223 -223
  582. package/dist/session/execution.js +125 -125
  583. package/dist/session/generate.js +152 -152
  584. package/dist/session/history.js +13 -13
  585. package/dist/session/inbox.js +89 -89
  586. package/dist/session/info.js +3 -3
  587. package/dist/session/instruction-entry.js +78 -78
  588. package/dist/session/instruction-state.js +8 -8
  589. package/dist/session/instructions.js +96 -96
  590. package/dist/session/message-updater.js +2 -2
  591. package/dist/session/message.js +1 -1
  592. package/dist/session/model-request.js +118 -118
  593. package/dist/session/model-transport.js +9 -9
  594. package/dist/session/move.js +129 -129
  595. package/dist/session/projector.js +85 -85
  596. package/dist/session/prompt.js +104 -104
  597. package/dist/session/provider-context.js +3 -3
  598. package/dist/session/revert.js +89 -89
  599. package/dist/session/run-coordinator.js +3 -3
  600. package/dist/session/runner/index.js +3 -3
  601. package/dist/session/runner/llm.js +230 -230
  602. package/dist/session/runner/max-steps.js +1 -1
  603. package/dist/session/runner/model.js +97 -97
  604. package/dist/session/runner/publish-llm-event.js +3 -3
  605. package/dist/session/runner/retry.js +113 -113
  606. package/dist/session/runner/step.js +123 -123
  607. package/dist/session/runner/to-llm-message.js +2 -2
  608. package/dist/session/schema.js +5 -5
  609. package/dist/session/session.js +171 -171
  610. package/dist/session/shell.js +137 -137
  611. package/dist/session/skill.js +102 -102
  612. package/dist/session/sql.js +5 -5
  613. package/dist/session/stats.js +74 -74
  614. package/dist/session/store.js +84 -84
  615. package/dist/session/subagent-completion.js +1 -1
  616. package/dist/session/subagent-job.js +209 -209
  617. package/dist/session/system-prompt.js +3 -3
  618. package/dist/session/title.js +153 -153
  619. package/dist/session/to-session-error.js +110 -110
  620. package/dist/session/transfer.js +222 -222
  621. package/dist/session/usage.js +1 -1
  622. package/dist/session.js +215 -215
  623. package/dist/shell/parse.js +6 -6
  624. package/dist/shell/result.js +1 -1
  625. package/dist/shell/scan.js +1 -1
  626. package/dist/shell/select.js +11 -11
  627. package/dist/shell.js +139 -139
  628. package/dist/skill/discovery.js +6 -6
  629. package/dist/skill/instructions.js +106 -106
  630. package/dist/skill.js +109 -109
  631. package/dist/snapshot.js +90 -90
  632. package/dist/state.js +1 -1
  633. package/dist/tool/html-markdown.js +1 -1
  634. package/dist/tool/http-body.js +1 -1
  635. package/dist/tool/mcp.js +126 -126
  636. package/dist/tool/plugin/edit.js +119 -119
  637. package/dist/tool/plugin/file-diff.js +1 -1
  638. package/dist/tool/plugin/glob.js +119 -119
  639. package/dist/tool/plugin/grep.js +123 -123
  640. package/dist/tool/plugin/opencode.js +3 -3
  641. package/dist/tool/plugin/patch.js +121 -121
  642. package/dist/tool/plugin/question.js +104 -104
  643. package/dist/tool/plugin/read.js +122 -122
  644. package/dist/tool/plugin/shell.js +216 -216
  645. package/dist/tool/plugin/skill.js +112 -112
  646. package/dist/tool/plugin/subagent.js +218 -218
  647. package/dist/tool/plugin/webfetch.js +111 -111
  648. package/dist/tool/plugin/websearch.js +113 -113
  649. package/dist/tool/plugin/write.js +121 -121
  650. package/dist/tool/read-filesystem.js +99 -99
  651. package/dist/tool/runtime.js +1 -1
  652. package/dist/tool-output.js +8 -8
  653. package/dist/tool.js +14 -14
  654. package/dist/util/error-summary.js +1 -1
  655. package/dist/util/error.js +1 -1
  656. package/dist/util/git-executable.js +2 -2
  657. package/dist/util/iife.js +1 -1
  658. package/dist/util/lazy.js +1 -1
  659. package/dist/util/slug.js +1 -1
  660. package/dist/util/token.js +1 -1
  661. package/dist/util/which.js +1 -1
  662. package/dist/util/wildcard.js +1 -1
  663. package/dist/v1/config/agent.js +5 -5
  664. package/dist/v1/config/attachment.js +4 -4
  665. package/dist/v1/config/command.js +3 -3
  666. package/dist/v1/config/config.js +16 -16
  667. package/dist/v1/config/error.js +2 -2
  668. package/dist/v1/config/formatter.js +7 -7
  669. package/dist/v1/config/layout.js +1 -1
  670. package/dist/v1/config/lsp.js +5 -5
  671. package/dist/v1/config/mcp.js +4 -4
  672. package/dist/v1/config/migrate.js +91 -91
  673. package/dist/v1/config/permission.js +3 -3
  674. package/dist/v1/config/plugin.js +1 -1
  675. package/dist/v1/config/provider-options.js +1 -1
  676. package/dist/v1/config/provider.js +4 -4
  677. package/dist/v1/config/server.js +2 -2
  678. package/dist/v1/config/skills.js +1 -1
  679. package/dist/v1/permission.js +1 -1
  680. package/dist/variant.js +90 -90
  681. package/dist/vcs/patch.js +1 -1
  682. package/dist/vcs.js +88 -88
  683. package/dist/websearch.js +83 -83
  684. package/dist/wellknown/plugin.js +75 -75
  685. package/dist/wellknown.js +78 -78
  686. package/dist/workspace/driver.js +5 -5
  687. package/dist/workspace/sql.js +1 -1
  688. package/dist/workspace.js +77 -77
  689. package/dist/worktree/directory.js +2 -2
  690. package/dist/worktree/git.js +10 -10
  691. package/dist/worktree/sql.js +5 -5
  692. package/dist/worktree/strategies.js +88 -88
  693. package/dist/worktree.js +95 -95
  694. package/package.json +8 -8
  695. package/dist/chunks/vcs-50hbbtx8.js +0 -26
  696. package/dist/chunks/vcs-619r8v3y.js +0 -18
  697. package/dist/chunks/vcs-qapv375x.js +0 -4
  698. package/dist/chunks/vcs-wcr4e3c6.js +0 -252
  699. /package/dist/chunks/{vcs-0qkdqm5v.js → app-0qkdqm5v.js} +0 -0
  700. /package/dist/chunks/{vcs-0zkw76rk.js → app-0zkw76rk.js} +0 -0
  701. /package/dist/chunks/{vcs-17cy0kzp.js → app-17cy0kzp.js} +0 -0
  702. /package/dist/chunks/{vcs-1cnp2v09.js → app-1cnp2v09.js} +0 -0
  703. /package/dist/chunks/{vcs-1kg9ymc8.js → app-1kg9ymc8.js} +0 -0
  704. /package/dist/chunks/{vcs-24dcb14g.js → app-24dcb14g.js} +0 -0
  705. /package/dist/chunks/{vcs-2710q6r3.js → app-2710q6r3.js} +0 -0
  706. /package/dist/chunks/{vcs-2axfhc9x.js → app-2axfhc9x.js} +0 -0
  707. /package/dist/chunks/{vcs-2c3vjs8z.js → app-2c3vjs8z.js} +0 -0
  708. /package/dist/chunks/{vcs-359p4xyc.js → app-359p4xyc.js} +0 -0
  709. /package/dist/chunks/{vcs-3asan66x.js → app-3asan66x.js} +0 -0
  710. /package/dist/chunks/{vcs-3v8g72cx.js → app-3v8g72cx.js} +0 -0
  711. /package/dist/chunks/{vcs-3w5fmr99.js → app-3w5fmr99.js} +0 -0
  712. /package/dist/chunks/{vcs-3wcehsnq.js → app-3wcehsnq.js} +0 -0
  713. /package/dist/chunks/{vcs-43n2bw4t.js → app-43n2bw4t.js} +0 -0
  714. /package/dist/chunks/{vcs-4knz6hnm.js → app-4knz6hnm.js} +0 -0
  715. /package/dist/chunks/{vcs-4vcrnpx2.js → app-4vcrnpx2.js} +0 -0
  716. /package/dist/chunks/{vcs-4y7fprxs.js → app-4y7fprxs.js} +0 -0
  717. /package/dist/chunks/{vcs-53557ph1.js → app-53557ph1.js} +0 -0
  718. /package/dist/chunks/{vcs-550bvhaj.js → app-550bvhaj.js} +0 -0
  719. /package/dist/chunks/{vcs-5qd3pb7m.js → app-5qd3pb7m.js} +0 -0
  720. /package/dist/chunks/{vcs-6prwharc.js → app-6prwharc.js} +0 -0
  721. /package/dist/chunks/{vcs-7akdwqpd.js → app-7akdwqpd.js} +0 -0
  722. /package/dist/chunks/{vcs-7m9af43g.js → app-7m9af43g.js} +0 -0
  723. /package/dist/chunks/{vcs-822emrt2.js → app-822emrt2.js} +0 -0
  724. /package/dist/chunks/{vcs-88xbtdfr.js → app-88xbtdfr.js} +0 -0
  725. /package/dist/chunks/{vcs-8n3pysct.js → app-8n3pysct.js} +0 -0
  726. /package/dist/chunks/{vcs-922hggd3.js → app-922hggd3.js} +0 -0
  727. /package/dist/chunks/{vcs-9a4afbnw.js → app-9a4afbnw.js} +0 -0
  728. /package/dist/chunks/{vcs-9rqn6x4v.js → app-9rqn6x4v.js} +0 -0
  729. /package/dist/chunks/{vcs-a6k6eb26.js → app-a6k6eb26.js} +0 -0
  730. /package/dist/chunks/{vcs-af5trqkr.js → app-af5trqkr.js} +0 -0
  731. /package/dist/chunks/{vcs-afrmfg78.js → app-afrmfg78.js} +0 -0
  732. /package/dist/chunks/{vcs-aqzs7mqg.js → app-aqzs7mqg.js} +0 -0
  733. /package/dist/chunks/{vcs-atq7p7m5.js → app-atq7p7m5.js} +0 -0
  734. /package/dist/chunks/{vcs-bkyjaxrp.js → app-bkyjaxrp.js} +0 -0
  735. /package/dist/chunks/{vcs-bmr6ed5q.js → app-bmr6ed5q.js} +0 -0
  736. /package/dist/chunks/{vcs-cf4snx6d.js → app-cf4snx6d.js} +0 -0
  737. /package/dist/chunks/{vcs-cvy3z8tj.js → app-cvy3z8tj.js} +0 -0
  738. /package/dist/chunks/{vcs-d9fn303g.js → app-d9fn303g.js} +0 -0
  739. /package/dist/chunks/{vcs-d9jj8t3e.js → app-d9jj8t3e.js} +0 -0
  740. /package/dist/chunks/{vcs-dajrwvna.js → app-dajrwvna.js} +0 -0
  741. /package/dist/chunks/{vcs-dap0rakb.js → app-dap0rakb.js} +0 -0
  742. /package/dist/chunks/{vcs-df08tz66.js → app-df08tz66.js} +0 -0
  743. /package/dist/chunks/{vcs-dy18nga0.js → app-dy18nga0.js} +0 -0
  744. /package/dist/chunks/{vcs-e5kj55wp.js → app-e5kj55wp.js} +0 -0
  745. /package/dist/chunks/{vcs-e73j6tqm.js → app-e73j6tqm.js} +0 -0
  746. /package/dist/chunks/{vcs-ec1grn59.js → app-ec1grn59.js} +0 -0
  747. /package/dist/chunks/{vcs-eh3zwz77.js → app-eh3zwz77.js} +0 -0
  748. /package/dist/chunks/{vcs-emrn6kk6.js → app-emrn6kk6.js} +0 -0
  749. /package/dist/chunks/{vcs-f0mxakyp.js → app-f0mxakyp.js} +0 -0
  750. /package/dist/chunks/{vcs-f6n9ztr4.js → app-f6n9ztr4.js} +0 -0
  751. /package/dist/chunks/{vcs-faypxj3z.js → app-faypxj3z.js} +0 -0
  752. /package/dist/chunks/{vcs-fd410y7t.js → app-fd410y7t.js} +0 -0
  753. /package/dist/chunks/{vcs-fxgpk5d8.js → app-fxgpk5d8.js} +0 -0
  754. /package/dist/chunks/{vcs-g4wezp1m.js → app-g4wezp1m.js} +0 -0
  755. /package/dist/chunks/{vcs-g86h250q.js → app-g86h250q.js} +0 -0
  756. /package/dist/chunks/{vcs-gebd4c9n.js → app-gebd4c9n.js} +0 -0
  757. /package/dist/chunks/{vcs-gftt206x.js → app-gftt206x.js} +0 -0
  758. /package/dist/chunks/{vcs-hjbc5kem.js → app-hjbc5kem.js} +0 -0
  759. /package/dist/chunks/{vcs-hk9envan.js → app-hk9envan.js} +0 -0
  760. /package/dist/chunks/{vcs-j2ntwpah.js → app-j2ntwpah.js} +0 -0
  761. /package/dist/chunks/{vcs-j5zkgpj8.js → app-j5zkgpj8.js} +0 -0
  762. /package/dist/chunks/{vcs-jjkms2e6.js → app-jjkms2e6.js} +0 -0
  763. /package/dist/chunks/{vcs-jr7sbwjy.js → app-jr7sbwjy.js} +0 -0
  764. /package/dist/chunks/{vcs-jwfs4k6c.js → app-jwfs4k6c.js} +0 -0
  765. /package/dist/chunks/{vcs-jzg6c2d5.js → app-jzg6c2d5.js} +0 -0
  766. /package/dist/chunks/{vcs-mp448xyj.js → app-mp448xyj.js} +0 -0
  767. /package/dist/chunks/{vcs-msx8hqn2.js → app-msx8hqn2.js} +0 -0
  768. /package/dist/chunks/{vcs-n05xt0ee.js → app-n05xt0ee.js} +0 -0
  769. /package/dist/chunks/{vcs-n3j8tn72.js → app-n3j8tn72.js} +0 -0
  770. /package/dist/chunks/{vcs-njntx4h6.js → app-njntx4h6.js} +0 -0
  771. /package/dist/chunks/{vcs-q3sfg36h.js → app-q3sfg36h.js} +0 -0
  772. /package/dist/chunks/{vcs-q74kybfr.js → app-q74kybfr.js} +0 -0
  773. /package/dist/chunks/{vcs-qaymkmh1.js → app-qaymkmh1.js} +0 -0
  774. /package/dist/chunks/{vcs-qb87gjwd.js → app-qb87gjwd.js} +0 -0
  775. /package/dist/chunks/{vcs-qfa1cgps.js → app-qfa1cgps.js} +0 -0
  776. /package/dist/chunks/{vcs-qg3g05ea.js → app-qg3g05ea.js} +0 -0
  777. /package/dist/chunks/{vcs-qrg20bc0.js → app-qrg20bc0.js} +0 -0
  778. /package/dist/chunks/{vcs-rcb2kzg1.js → app-rcb2kzg1.js} +0 -0
  779. /package/dist/chunks/{vcs-sdp7kfr6.js → app-sdp7kfr6.js} +0 -0
  780. /package/dist/chunks/{vcs-sk3qaz4a.js → app-sk3qaz4a.js} +0 -0
  781. /package/dist/chunks/{vcs-ssg3fenm.js → app-ssg3fenm.js} +0 -0
  782. /package/dist/chunks/{vcs-twg0f83k.js → app-twg0f83k.js} +0 -0
  783. /package/dist/chunks/{vcs-w803qqfp.js → app-w803qqfp.js} +0 -0
  784. /package/dist/chunks/{vcs-wc3fc9cn.js → app-wc3fc9cn.js} +0 -0
  785. /package/dist/chunks/{vcs-wer8tq1h.js → app-wer8tq1h.js} +0 -0
  786. /package/dist/chunks/{vcs-wtztk69x.js → app-wtztk69x.js} +0 -0
  787. /package/dist/chunks/{vcs-x0ckcb58.js → app-x0ckcb58.js} +0 -0
  788. /package/dist/chunks/{vcs-x61499pn.js → app-x61499pn.js} +0 -0
  789. /package/dist/chunks/{vcs-y44na4kk.js → app-y44na4kk.js} +0 -0
  790. /package/dist/chunks/{vcs-y8cydn3q.js → app-y8cydn3q.js} +0 -0
  791. /package/dist/chunks/{vcs-y8f7s663.js → app-y8f7s663.js} +0 -0
  792. /package/dist/chunks/{vcs-ygaqb7jw.js → app-ygaqb7jw.js} +0 -0
  793. /package/dist/chunks/{vcs-ym463w8f.js → app-ym463w8f.js} +0 -0
  794. /package/dist/chunks/{vcs-z9919s4g.js → app-z9919s4g.js} +0 -0
@@ -1,44 +1,44 @@
1
1
  import {
2
- Service64
3
- } from "./vcs-9waxhxyt.js";
2
+ Service71
3
+ } from "./app-k9av316b.js";
4
4
  import {
5
5
  MAX_MARKDOWN_BYTES2,
6
6
  convertHTMLToMarkdown2
7
- } from "./vcs-4vcrnpx2.js";
7
+ } from "./app-4vcrnpx2.js";
8
8
  import {
9
9
  collectBoundedResponseBody2
10
- } from "./vcs-3v8g72cx.js";
10
+ } from "./app-3v8g72cx.js";
11
11
  import {
12
12
  __export
13
- } from "./vcs-9rqn6x4v.js";
13
+ } from "./app-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/webfetch.ts
16
16
  var exports_webfetch = {};
17
17
  __export(exports_webfetch, {
18
18
  DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
19
- Input: () => Input12,
20
- MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
19
+ Input: () => Input7,
20
+ MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
21
21
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
22
- Plugin: () => Plugin14,
22
+ Plugin: () => Plugin41,
23
23
  WebFetchTool: () => exports_webfetch,
24
24
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
25
- description: () => description5,
25
+ description: () => description4,
26
26
  extractTextFromHTML: () => extractTextFromHTML2,
27
- name: () => name12
27
+ name: () => name7
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Duration, Effect, Schema } from "effect";
31
31
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
32
32
  import { Parser } from "htmlparser2";
33
- var name12 = "webfetch";
34
- var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
33
+ var name7 = "webfetch";
34
+ var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
35
35
  var DEFAULT_TIMEOUT_SECONDS2 = 30;
36
36
  var MAX_TIMEOUT_SECONDS2 = 120;
37
- var description5 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
37
+ var description4 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
38
38
 
39
39
  Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
40
40
  var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
41
- var Input12 = Schema.Struct({
41
+ var Input7 = Schema.Struct({
42
42
  url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
43
43
  format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
44
44
  timeout: Schema.optionalKey(Timeout).annotate({
@@ -48,7 +48,7 @@ var Input12 = Schema.Struct({
48
48
  var Output = Schema.Struct({
49
49
  url: Schema.String,
50
50
  contentType: Schema.String,
51
- format: Input12.fields.format,
51
+ format: Input7.fields.format,
52
52
  output: Schema.String
53
53
  });
54
54
  var acceptHeader = (format) => {
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
79
79
  throw new Error("URL must use http:// or https://");
80
80
  };
81
81
  var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
82
- var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
82
+ var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
83
83
  var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
84
84
  var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
85
85
  var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
92
92
  return extractTextFromHTML2(content);
93
93
  return content;
94
94
  };
95
- var Plugin14 = {
95
+ var Plugin41 = {
96
96
  id: "opencode.tool.webfetch",
97
97
  effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
98
98
  const http = yield* HttpClient.HttpClient;
99
- const permission = yield* Service64;
99
+ const permission = yield* Service71;
100
100
  yield* ctx.tool.transform((editor) => editor.add({
101
- name: name12,
101
+ name: name7,
102
102
  options: { codemode: false },
103
- description: description5,
104
- input: Input12,
103
+ description: description4,
104
+ input: Input7,
105
105
  output: Output,
106
106
  execute: (input, context) => Effect.gen(function* () {
107
107
  yield* Effect.try({
@@ -109,7 +109,7 @@ var Plugin14 = {
109
109
  catch: (error) => error
110
110
  });
111
111
  yield* permission.assert({
112
- action: name12,
112
+ action: name7,
113
113
  resources: [input.url],
114
114
  save: ["*"],
115
115
  metadata: input,
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
167
167
  parser.end();
168
168
  return text.trim();
169
169
  }
170
- export { name12, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input12, Plugin14, extractTextFromHTML2, exports_webfetch };
170
+ export { name7, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input7, Plugin41, extractTextFromHTML2, exports_webfetch };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./vcs-cfgw6j6z.js";
2
+ Service82,
3
+ node86
4
+ } from "./app-2cvq1298.js";
5
5
  import {
6
6
  SessionTable2,
7
7
  SessionMessageTable2
8
- } from "./vcs-a1bz86dw.js";
8
+ } from "./app-a1bz86dw.js";
9
9
  import {
10
10
  decodeMessageRow2,
11
11
  load5
12
- } from "./vcs-z7z0ddsh.js";
12
+ } from "./app-xfc78b52.js";
13
13
  import {
14
14
  fromRow2
15
- } from "./vcs-a3r4dcrj.js";
15
+ } from "./app-vmgq4x8b.js";
16
16
  import {
17
17
  __export
18
- } from "./vcs-9rqn6x4v.js";
18
+ } from "./app-9rqn6x4v.js";
19
19
 
20
20
  // src/session/store.ts
21
21
  var exports_store = {};
22
22
  __export(exports_store, {
23
23
  ListInput: () => ListInput5,
24
- Service: () => Service66,
24
+ Service: () => Service73,
25
25
  SessionStore: () => exports_store,
26
- node: () => node70
26
+ node: () => node77
27
27
  });
28
28
  import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
29
29
  import { Context, Effect, Layer, Schema } from "effect";
@@ -52,11 +52,11 @@ var ListProjectInput = Schema.Struct({
52
52
  var ListAllInput = Schema.Struct(ListInputBase);
53
53
  var ListInput5 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
54
54
 
55
- class Service66 extends Context.Service()("@opencode/SessionStore") {
55
+ class Service73 extends Context.Service()("@opencode/SessionStore") {
56
56
  }
57
- var layer = Layer.effect(Service66, Effect.gen(function* () {
58
- const { db } = yield* Service83;
59
- return Service66.of({
57
+ var layer = Layer.effect(Service73, Effect.gen(function* () {
58
+ const { db } = yield* Service82;
59
+ return Service73.of({
60
60
  get: Effect.fnUntraced(function* (sessionID) {
61
61
  const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
62
62
  return row ? fromRow2(row) : undefined;
@@ -125,6 +125,6 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
125
125
  })
126
126
  });
127
127
  }));
128
- var node70 = makeGlobalNode({ service: Service66, layer, deps: [node87] });
128
+ var node77 = makeGlobalNode({ service: Service73, layer, deps: [node86] });
129
129
 
130
- export { ListInput5, Service66, node70, exports_store };
130
+ export { ListInput5, Service73, node77, exports_store };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./vcs-9rqn6x4v.js";
3
+ } from "./app-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/layout.ts
6
6
  var exports_layout = {};
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  useragent2
3
- } from "./vcs-9cze0bjq.js";
3
+ } from "./app-03s1nxke.js";
4
4
  import {
5
5
  __export
6
- } from "./vcs-9rqn6x4v.js";
6
+ } from "./app-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/tavily.ts
9
9
  var exports_tavily = {};
10
10
  __export(exports_tavily, {
11
- Plugin: () => Plugin38,
11
+ Plugin: () => Plugin22,
12
12
  WebSearchTavily: () => exports_tavily,
13
13
  endpoint: () => endpoint4
14
14
  });
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
29
29
  content: Schema.String
30
30
  }))
31
31
  });
32
- var Plugin38 = define({
32
+ var Plugin22 = define({
33
33
  id: "opencode.websearch.tavily",
34
34
  effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
35
35
  const http = yield* HttpClient.HttpClient;
@@ -77,4 +77,4 @@ var Plugin38 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint4, Plugin38, exports_tavily };
80
+ export { endpoint4, Plugin22, exports_tavily };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  __export
3
- } from "./vcs-9rqn6x4v.js";
3
+ } from "./app-9rqn6x4v.js";
4
4
 
5
5
  // src/session/provider-context.ts
6
6
  var exports_provider_context = {};
7
7
  __export(exports_provider_context, {
8
- Info: () => Info23,
8
+ Info: () => Info29,
9
9
  SessionProviderContext: () => exports_provider_context,
10
10
  compatible: () => compatible2,
11
11
  decode: () => decode2,
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
19
19
  import { Schema } from "effect";
20
20
  import { isDeepStrictEqual } from "node:util";
21
21
  import { Hash } from "@opencode/util/hash";
22
- var Info23 = SessionProviderContext.Info;
22
+ var Info29 = SessionProviderContext.Info;
23
23
  var messages = Schema.toCodecJson(Schema.Array(Message));
24
24
  function provenance2(resolved) {
25
25
  const model = resolved.model;
@@ -52,4 +52,4 @@ var encode2 = (provenance, replacement) => ({
52
52
  var decode2 = (context) => Schema.decodeUnknownSync(messages)(context.messages);
53
53
  var validate2 = (context) => Schema.decodeUnknownEffect(messages)(context.messages);
54
54
 
55
- export { Info23, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
55
+ export { Info29, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
@@ -1,66 +1,66 @@
1
1
  import {
2
- Service76
3
- } from "./vcs-m6em83jz.js";
2
+ Service61
3
+ } from "./app-ctezbzm4.js";
4
4
  import {
5
- Service64
6
- } from "./vcs-9waxhxyt.js";
5
+ Service71
6
+ } from "./app-k9av316b.js";
7
7
  import {
8
- ID4,
8
+ ID12,
9
9
  Result2,
10
10
  ProviderRequiredError2,
11
11
  DisabledError2,
12
12
  RequestError2,
13
- Service21
14
- } from "./vcs-hv00q5g0.js";
13
+ Service70
14
+ } from "./app-gwsdqkfn.js";
15
15
  import {
16
16
  __export
17
- } from "./vcs-9rqn6x4v.js";
17
+ } from "./app-9rqn6x4v.js";
18
18
 
19
19
  // src/tool/plugin/websearch.ts
20
- var exports_websearch = {};
21
- __export(exports_websearch, {
22
- Input: () => Input5,
20
+ var exports_websearch2 = {};
21
+ __export(exports_websearch2, {
22
+ Input: () => Input11,
23
23
  NO_RESULTS: () => NO_RESULTS2,
24
- Plugin: () => Plugin6,
25
- WebSearchTool: () => exports_websearch,
26
- description: () => description3,
27
- name: () => name5
24
+ Plugin: () => Plugin46,
25
+ WebSearchTool: () => exports_websearch2,
26
+ description: () => description5,
27
+ name: () => name11
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Effect, Schema, Semaphore } from "effect";
31
31
  import { HttpClientError } from "effect/unstable/http";
32
- var name5 = "websearch";
32
+ var name11 = "websearch";
33
33
  var NO_RESULTS2 = "No search results found. Please try a different query.";
34
34
  var providerSelectionLock = Semaphore.makeUnsafe(1);
35
35
  var httpErrors = new Map([
36
36
  [429, "Web search rate limited (HTTP 429)"],
37
37
  [401, "Web search authentication failed (HTTP 401)"]
38
38
  ]);
39
- var description3 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
39
+ var description5 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
40
40
 
41
41
  The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
42
- var Input5 = Schema.Struct({
42
+ var Input11 = Schema.Struct({
43
43
  query: Schema.String.annotate({ description: "Websearch query" })
44
44
  });
45
45
  var Output = Schema.Struct({
46
- provider: ID4,
46
+ provider: ID12,
47
47
  results: Schema.Array(Result2)
48
48
  });
49
- var Plugin6 = {
49
+ var Plugin46 = {
50
50
  id: "opencode.tool.websearch",
51
51
  effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
52
- const permission = yield* Service64;
53
- const forms = yield* Service76;
54
- const websearch = yield* Service21;
52
+ const permission = yield* Service71;
53
+ const forms = yield* Service61;
54
+ const websearch = yield* Service70;
55
55
  yield* ctx.tool.transform((editor) => editor.add({
56
- name: name5,
56
+ name: name11,
57
57
  options: { codemode: false },
58
- description: description3,
59
- input: Input5,
58
+ description: description5,
59
+ input: Input11,
60
60
  output: Output,
61
61
  execute: (input, context) => Effect.gen(function* () {
62
62
  yield* permission.assert({
63
- action: name5,
63
+ action: name11,
64
64
  resources: [input.query],
65
65
  save: ["*"],
66
66
  metadata: input,
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
176
176
  const hook = (event) => Effect.gen(function* () {
177
177
  const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
178
178
  if (disabled)
179
- delete event.tools[name5];
179
+ delete event.tools[name11];
180
180
  });
181
181
  yield* ctx.session.hook("context", hook);
182
182
  yield* ctx.session.hook("compaction", hook);
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
184
184
  })
185
185
  };
186
186
 
187
- export { name5, NO_RESULTS2, description3, Input5, Plugin6, exports_websearch };
187
+ export { name11, NO_RESULTS2, description5, Input11, Plugin46, exports_websearch2 };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Key3,
2
+ Key4,
3
3
  removed2,
4
- make20,
4
+ make21,
5
5
  diffByKey2
6
- } from "./vcs-rhjbct0v.js";
6
+ } from "./app-eaj1djv9.js";
7
7
  import {
8
8
  Summary2,
9
9
  summarize2,
10
10
  namespaceLine2
11
- } from "./vcs-3fc6dm20.js";
11
+ } from "./app-3fc6dm20.js";
12
12
  import {
13
13
  __export
14
- } from "./vcs-9rqn6x4v.js";
14
+ } from "./app-9rqn6x4v.js";
15
15
 
16
16
  // src/codemode/instructions.ts
17
17
  var exports_instructions5 = {};
18
18
  __export(exports_instructions5, {
19
19
  CodeModeInstructions: () => exports_instructions5,
20
- make: () => make14,
20
+ make: () => make15,
21
21
  render: () => render3,
22
22
  update: () => update3
23
23
  });
@@ -111,11 +111,11 @@ ${render3(current)}`;
111
111
  return delta;
112
112
  return replacement;
113
113
  }
114
- var key = Key3.make("core/codemode");
114
+ var key = Key4.make("core/codemode");
115
115
  var codec = Schema.toCodecJson(Summary2);
116
- var make14 = (inventory) => {
116
+ var make15 = (inventory) => {
117
117
  const catalog = inventory === undefined ? removed2 : summarize2(inventory);
118
- return make20({
118
+ return make21({
119
119
  key,
120
120
  codec,
121
121
  read: Effect.succeed(catalog),
@@ -127,4 +127,4 @@ var make14 = (inventory) => {
127
127
  });
128
128
  };
129
129
 
130
- export { render3, update3, make14, exports_instructions5 };
130
+ export { render3, update3, make15, exports_instructions5 };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  useragent2
3
- } from "./vcs-9cze0bjq.js";
3
+ } from "./app-03s1nxke.js";
4
4
  import {
5
5
  call2
6
- } from "./vcs-56gdpj1q.js";
6
+ } from "./app-mfqp6xfm.js";
7
7
  import {
8
8
  __export
9
- } from "./vcs-9rqn6x4v.js";
9
+ } from "./app-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/tinyfish.ts
12
12
  var exports_tinyfish = {};
13
13
  __export(exports_tinyfish, {
14
- Plugin: () => Plugin39,
14
+ Plugin: () => Plugin20,
15
15
  WebSearchTinyFish: () => exports_tinyfish,
16
- endpoint: () => endpoint5
16
+ endpoint: () => endpoint2
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Option, Schema } from "effect";
20
20
  import { HttpClient } from "effect/unstable/http";
21
- var endpoint5 = "https://agent.tinyfish.ai/mcp";
21
+ var endpoint2 = "https://agent.tinyfish.ai/mcp";
22
22
  var McpInput = Schema.Struct({
23
23
  query: Schema.String
24
24
  });
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
33
33
  }))
34
34
  }));
35
35
  var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
36
- var Plugin39 = define({
36
+ var Plugin20 = define({
37
37
  id: "opencode.websearch.tinyfish",
38
38
  effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
39
39
  const http = yield* HttpClient.HttpClient;
@@ -55,7 +55,7 @@ var Plugin39 = define({
55
55
  execute: (input) => Effect.gen(function* () {
56
56
  const connection = yield* ctx.integration.connection.active("tinyfish");
57
57
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
58
- const result = yield* call2(http, endpoint5, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
58
+ const result = yield* call2(http, endpoint2, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
59
59
  "User-Agent": useragent2(ctx.app),
60
60
  ...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
61
61
  });
@@ -73,4 +73,4 @@ var Plugin39 = define({
73
73
  })
74
74
  });
75
75
 
76
- export { endpoint5, Plugin39, exports_tinyfish };
76
+ export { endpoint2, Plugin20, exports_tinyfish };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./vcs-9rqn6x4v.js";
3
+ } from "./app-9rqn6x4v.js";
4
4
 
5
5
  // src/environment/files.ts
6
6
  var exports_files = {};
@@ -1,51 +1,51 @@
1
1
  import {
2
- ID10,
3
- Service68
4
- } from "./vcs-v5zftknb.js";
2
+ ID15,
3
+ Service74
4
+ } from "./app-b33ezyym.js";
5
5
  import {
6
6
  Ref2,
7
- Service71
8
- } from "./vcs-h82njgbp.js";
7
+ Service54
8
+ } from "./app-k94qrc8k.js";
9
9
  import {
10
10
  latest2,
11
- Service43
12
- } from "./vcs-m42kpekn.js";
11
+ Service39
12
+ } from "./app-n6d4p8nj.js";
13
13
  import {
14
14
  SessionSchema2
15
- } from "./vcs-jexxy024.js";
15
+ } from "./app-5cmxdwv8.js";
16
16
  import {
17
- Service69
18
- } from "./vcs-fb101560.js";
17
+ Service55
18
+ } from "./app-s9mmsqrc.js";
19
19
  import {
20
20
  evaluate2,
21
- Service64
22
- } from "./vcs-9waxhxyt.js";
21
+ Service71
22
+ } from "./app-k9av316b.js";
23
23
  import {
24
- Service24
25
- } from "./vcs-wqteacnb.js";
24
+ Service22
25
+ } from "./app-389ykwvm.js";
26
26
  import {
27
27
  NO_TEXT2
28
- } from "./vcs-x1ezjp6w.js";
28
+ } from "./app-x1ezjp6w.js";
29
29
  import {
30
- make6
31
- } from "./vcs-71rwez9w.js";
30
+ make8
31
+ } from "./app-tgkpsbpf.js";
32
32
  import {
33
33
  __export
34
- } from "./vcs-9rqn6x4v.js";
34
+ } from "./app-9rqn6x4v.js";
35
35
 
36
36
  // src/tool/plugin/subagent.ts
37
37
  var exports_subagent = {};
38
38
  __export(exports_subagent, {
39
- Input: () => Input11,
40
- Output: () => Output8,
41
- Plugin: () => Plugin13,
39
+ Input: () => Input4,
40
+ Output: () => Output3,
41
+ Plugin: () => Plugin38,
42
42
  SubagentTool: () => exports_subagent,
43
- description: () => description4,
44
- name: () => name11
43
+ description: () => description2,
44
+ name: () => name4
45
45
  });
46
46
  import { ToolFailure } from "@opencode/ai";
47
47
  import { Effect, Schema } from "effect";
48
- var name11 = "subagent";
48
+ var name4 = "subagent";
49
49
  var backgroundResult = (sessionID) => ({
50
50
  sessionID,
51
51
  status: "running",
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
56
56
  ].join(`
57
57
  `)
58
58
  });
59
- var Input11 = Schema.Struct({
59
+ var Input4 = Schema.Struct({
60
60
  agent: Schema.String.annotate({
61
61
  description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
62
62
  }),
@@ -72,12 +72,12 @@ var Input11 = Schema.Struct({
72
72
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
73
73
  })
74
74
  });
75
- var Output8 = Schema.Struct({
75
+ var Output3 = Schema.Struct({
76
76
  sessionID: SessionSchema2.ID,
77
77
  status: Schema.Literals(["completed", "running"]),
78
78
  output: Schema.String
79
79
  });
80
- var description4 = [
80
+ var description2 = [
81
81
  "Spawns an agent in a child session to work on the specified task.",
82
82
  "The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
83
83
  "New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
@@ -86,16 +86,16 @@ var description4 = [
86
86
  "Use background only for independent work that can run while you continue elsewhere."
87
87
  ].join(`
88
88
  `);
89
- var Plugin13 = {
89
+ var Plugin38 = {
90
90
  id: "opencode.tool.subagent",
91
91
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
92
- const sessions = yield* Service24;
93
- const jobs = yield* Service69;
94
- const agents = yield* Service68;
95
- const config = yield* Service43;
96
- const permission = yield* Service64;
97
- const models = yield* Service71;
98
- const subagents = yield* make6;
92
+ const sessions = yield* Service22;
93
+ const jobs = yield* Service55;
94
+ const agents = yield* Service74;
95
+ const config = yield* Service39;
96
+ const permission = yield* Service71;
97
+ const models = yield* Service54;
98
+ const subagents = yield* make8;
99
99
  const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
100
100
  const ref = yield* Effect.try({
101
101
  try: () => Ref2.parse(input),
@@ -115,11 +115,11 @@ var Plugin13 = {
115
115
  return ref;
116
116
  });
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name11,
118
+ name: name4,
119
119
  options: { codemode: false },
120
- description: description4,
121
- input: Input11,
122
- output: Output8,
120
+ description: description2,
121
+ input: Input4,
122
+ output: Output3,
123
123
  execute: (input, context) => Effect.gen(function* () {
124
124
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
125
125
  let current = parent;
@@ -139,7 +139,7 @@ var Plugin13 = {
139
139
  if (agent.mode === "primary")
140
140
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
141
141
  yield* permission.assert({
142
- action: name11,
142
+ action: name4,
143
143
  resources: [agent.id],
144
144
  save: [agent.id],
145
145
  sessionID: context.sessionID,
@@ -168,7 +168,7 @@ var Plugin13 = {
168
168
  const child = existing ?? (yield* sessions.create({
169
169
  parentID: context.sessionID,
170
170
  title: input.description,
171
- agent: ID10.make(input.agent),
171
+ agent: ID15.make(input.agent),
172
172
  model
173
173
  }).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
174
174
  const background = input.background === true;
@@ -218,13 +218,13 @@ ${output.output}
218
218
  })))
219
219
  })).pipe(Effect.orDie);
220
220
  const hook = (event) => Effect.gen(function* () {
221
- const tool = event.tools[name11];
221
+ const tool = event.tools[name4];
222
222
  if (!tool)
223
223
  return;
224
224
  const selected = yield* agents.resolve(event.agent);
225
225
  if (!selected)
226
226
  return;
227
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name11, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
227
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name4, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
228
228
  if (available.length === 0)
229
229
  return;
230
230
  tool.description = [
@@ -241,4 +241,4 @@ ${output.output}
241
241
  })
242
242
  };
243
243
 
244
- export { name11, Input11, Output8, description4, Plugin13, exports_subagent };
244
+ export { name4, Input4, Output3, description2, Plugin38, exports_subagent };