@opencode/core 0.0.0-dev-19404 → 0.0.0-dev-19405

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (780) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{file-ms6rwfbv.js → reference-069ez2pk.js} +31 -31
  9. package/dist/chunks/{file-4qbtf2xm.js → reference-0akhmw49.js} +3 -3
  10. package/dist/chunks/{file-v3smhzc7.js → reference-0dwg38z7.js} +20 -20
  11. package/dist/chunks/{file-awz7xhfp.js → reference-0n9gyfew.js} +4 -4
  12. package/dist/chunks/{file-0paq2nw3.js → reference-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{file-gj4x8zz6.js → reference-0pr2t355.js} +13 -13
  14. package/dist/chunks/{file-0q0f95c6.js → reference-0q0f95c6.js} +1 -1
  15. package/dist/chunks/{file-ypy1tgyh.js → reference-13j5h6zk.js} +7 -7
  16. package/dist/chunks/{file-egqspz5t.js → reference-189pdvy9.js} +12 -12
  17. package/dist/chunks/{file-xacpwbjs.js → reference-1bmfk1j7.js} +4 -4
  18. package/dist/chunks/{file-1dazxqgg.js → reference-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{file-8kpa3sfw.js → reference-1efffvwy.js} +28 -28
  20. package/dist/chunks/{file-1eyaby9q.js → reference-1eyaby9q.js} +2 -2
  21. package/dist/chunks/{file-397qe2v7.js → reference-1f0ahqzp.js} +16 -16
  22. package/dist/chunks/{file-ashvqh0k.js → reference-1jjc8ex5.js} +8 -8
  23. package/dist/chunks/{file-esdnemd6.js → reference-1wxb385z.js} +1 -1
  24. package/dist/chunks/{file-t9qhnrv6.js → reference-21bd5msc.js} +6 -6
  25. package/dist/chunks/{file-21r38tys.js → reference-21r38tys.js} +1 -1
  26. package/dist/chunks/{file-eykg37vx.js → reference-234ap6ss.js} +11 -11
  27. package/dist/chunks/{file-6h73sxmp.js → reference-2402vzrj.js} +5 -5
  28. package/dist/chunks/{file-3fj0ehej.js → reference-29sw5btw.js} +43 -43
  29. package/dist/chunks/{file-29x78va6.js → reference-29x78va6.js} +2 -2
  30. package/dist/chunks/{file-2a5m3afh.js → reference-2a5m3afh.js} +1 -1
  31. package/dist/chunks/{file-3w2b2yj4.js → reference-2f0bjgcj.js} +5 -5
  32. package/dist/chunks/{file-dft13gwa.js → reference-2k5ec76m.js} +43 -43
  33. package/dist/chunks/{file-7dqw4kz8.js → reference-2k8khapm.js} +5 -5
  34. package/dist/chunks/{file-75v5avbv.js → reference-2x1tygz9.js} +9 -9
  35. package/dist/chunks/{file-wh05710z.js → reference-37b2kds0.js} +41 -41
  36. package/dist/chunks/{file-rn18s34v.js → reference-38j1eg2k.js} +6 -6
  37. package/dist/chunks/{file-hq8zt1th.js → reference-3c1tgrea.js} +6 -6
  38. package/dist/chunks/{file-5aejmzs0.js → reference-3eqkaq2z.js} +21 -21
  39. package/dist/chunks/{file-3fc6dm20.js → reference-3fc6dm20.js} +1 -1
  40. package/dist/chunks/{file-fk561ek3.js → reference-3g767a7k.js} +19 -19
  41. package/dist/chunks/{file-3hepkmqq.js → reference-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{file-d5n4bh35.js → reference-3j6hn5pg.js} +26 -26
  43. package/dist/chunks/{file-an7cqtb7.js → reference-3j8sdtpz.js} +4 -4
  44. package/dist/chunks/{file-b3wkxfg9.js → reference-3jp54z3r.js} +1 -1
  45. package/dist/chunks/{file-3kff94q5.js → reference-3kmcaztr.js} +11 -11
  46. package/dist/chunks/{file-qacd23e2.js → reference-3qcr26pr.js} +4 -4
  47. package/dist/chunks/{file-3smtnn6g.js → reference-3smtnn6g.js} +1 -1
  48. package/dist/chunks/{file-3tvqynh2.js → reference-3tvqynh2.js} +1 -1
  49. package/dist/chunks/{file-70xczmxz.js → reference-48ghgnyj.js} +9 -9
  50. package/dist/chunks/{file-5djf14hj.js → reference-4bap03mh.js} +33 -33
  51. package/dist/chunks/{file-9aqzzx1f.js → reference-4fse7aks.js} +16 -16
  52. package/dist/chunks/{file-e9cer28w.js → reference-4grg7b1w.js} +4 -4
  53. package/dist/chunks/{file-dn4sgk77.js → reference-4j04egcw.js} +47 -47
  54. package/dist/chunks/{file-rs226bz6.js → reference-4mkcvr19.js} +5 -5
  55. package/dist/chunks/{file-t33aqq77.js → reference-4nvekdmf.js} +8 -8
  56. package/dist/chunks/{file-s7vx81dz.js → reference-4s15yhyb.js} +7 -7
  57. package/dist/chunks/{file-zgye80qh.js → reference-4vptvh4s.js} +33 -33
  58. package/dist/chunks/{file-1z0pzthf.js → reference-4zrw1ey2.js} +2 -2
  59. package/dist/chunks/{file-p1nm93x7.js → reference-510m7gjw.js} +5 -5
  60. package/dist/chunks/{file-w6vgwbtw.js → reference-52zvc43d.js} +47 -47
  61. package/dist/chunks/{file-56gdpj1q.js → reference-56gdpj1q.js} +2 -2
  62. package/dist/chunks/{file-5daktx2q.js → reference-5daktx2q.js} +1 -1
  63. package/dist/chunks/{file-j1ywwsrp.js → reference-5jgk54rp.js} +60 -60
  64. package/dist/chunks/{file-fjmrr6sh.js → reference-5kptn8c0.js} +9 -9
  65. package/dist/chunks/{file-9k2v62xn.js → reference-5nsrms9d.js} +1 -1
  66. package/dist/chunks/{file-rz3jkdqg.js → reference-5rswhkvm.js} +17 -17
  67. package/dist/chunks/{file-5t3nmthw.js → reference-5t3nmthw.js} +2 -2
  68. package/dist/chunks/{file-206fxkvm.js → reference-5t7ms9mx.js} +19 -19
  69. package/dist/chunks/{file-e7n26ax2.js → reference-610kgvj3.js} +8 -8
  70. package/dist/chunks/{file-9nmemh1m.js → reference-65ttwmv3.js} +18 -18
  71. package/dist/chunks/{file-669tq793.js → reference-669tq793.js} +1 -1
  72. package/dist/chunks/{file-h074tf43.js → reference-675rgbk8.js} +37 -37
  73. package/dist/chunks/{file-zn15gz72.js → reference-6dg7rqxz.js} +17 -17
  74. package/dist/chunks/{file-7a03d1b8.js → reference-6gzrz82e.js} +22 -22
  75. package/dist/chunks/{file-xx0dsh07.js → reference-6k7a189h.js} +34 -34
  76. package/dist/chunks/{file-6msgmcgs.js → reference-6msgmcgs.js} +1 -1
  77. package/dist/chunks/{file-arncpnzb.js → reference-6wsb51zt.js} +18 -18
  78. package/dist/chunks/{file-s40t4n9p.js → reference-6y0x6mhe.js} +32 -32
  79. package/dist/chunks/{file-71q4at8m.js → reference-71q4at8m.js} +1 -1
  80. package/dist/chunks/{file-jvdqbckk.js → reference-7b2pfzf8.js} +13 -13
  81. package/dist/chunks/{file-7bmhse3q.js → reference-7bmhse3q.js} +1 -1
  82. package/dist/chunks/{file-ec8389mk.js → reference-7e2yy7bx.js} +4 -4
  83. package/dist/chunks/{file-yt0fqk68.js → reference-7gvwkz6m.js} +5 -5
  84. package/dist/chunks/{file-xncegbyh.js → reference-7mnn3rdt.js} +6 -6
  85. package/dist/chunks/{file-k2cps1w2.js → reference-7my7c7z0.js} +8 -8
  86. package/dist/chunks/{file-pvp2wc9z.js → reference-7mydebfb.js} +11 -11
  87. package/dist/chunks/{file-ntp00jbn.js → reference-7qfmb4s4.js} +47 -47
  88. package/dist/chunks/{file-7ebn0nc0.js → reference-7yqjxrmz.js} +4 -4
  89. package/dist/chunks/{file-vypqtakx.js → reference-83x6p9kd.js} +1 -1
  90. package/dist/chunks/{file-8d7r5vzw.js → reference-8d7r5vzw.js} +1 -1
  91. package/dist/chunks/{file-3yjg5mh2.js → reference-8jmaqybk.js} +3 -3
  92. package/dist/chunks/{file-8p4f9s12.js → reference-8p4f9s12.js} +2 -2
  93. package/dist/chunks/{file-nrj82zgb.js → reference-8pqq62t9.js} +28 -28
  94. package/dist/chunks/{file-52az7e5h.js → reference-8q01rjya.js} +18 -18
  95. package/dist/chunks/{file-664j63h8.js → reference-8q0rcqtv.js} +17 -17
  96. package/dist/chunks/{file-bd7mw0dj.js → reference-8rpas02w.js} +20 -20
  97. package/dist/chunks/{file-bbddt0rr.js → reference-92yzrxcq.js} +22 -22
  98. package/dist/chunks/{file-fydnx5fx.js → reference-9d1kp679.js} +43 -43
  99. package/dist/chunks/{file-n4tr9e7x.js → reference-9dpegb11.js} +14 -14
  100. package/dist/chunks/{file-ce5fknq2.js → reference-9eh6sf6d.js} +5 -5
  101. package/dist/chunks/reference-9zdhvgqs.js +18 -0
  102. package/dist/chunks/{file-a1bz86dw.js → reference-a1bz86dw.js} +3 -3
  103. package/dist/chunks/{file-jhtsdbae.js → reference-a1p8sqe6.js} +21 -21
  104. package/dist/chunks/{file-pnfpsavj.js → reference-a291bara.js} +5 -5
  105. package/dist/chunks/{file-aaet6srn.js → reference-aaet6srn.js} +2 -2
  106. package/dist/chunks/{file-e7c5hh0v.js → reference-adaj7ksj.js} +7 -7
  107. package/dist/chunks/{file-xxewcce8.js → reference-ap8njz3k.js} +11 -11
  108. package/dist/chunks/{file-qaeybh9m.js → reference-as4zy6vm.js} +6 -6
  109. package/dist/chunks/{file-844ef7ks.js → reference-asmz7wyz.js} +8 -8
  110. package/dist/chunks/{file-4e25g0td.js → reference-aw218f2w.js} +14 -14
  111. package/dist/chunks/{file-gj7pn1ka.js → reference-aykdxbsk.js} +11 -11
  112. package/dist/chunks/{file-b6gygkdw.js → reference-b6gygkdw.js} +2 -2
  113. package/dist/chunks/{file-1enyjv7v.js → reference-bkaavq67.js} +13 -13
  114. package/dist/chunks/{file-0bc9xa41.js → reference-bq8xzrzg.js} +9 -9
  115. package/dist/chunks/{file-84tssp1s.js → reference-c7ecgrk6.js} +6 -6
  116. package/dist/chunks/{file-cfpkc3c9.js → reference-cfpkc3c9.js} +2 -2
  117. package/dist/chunks/{file-88sz8qcd.js → reference-csf2jhsg.js} +4 -4
  118. package/dist/chunks/{file-kkmk6wev.js → reference-cvaa60g2.js} +11 -11
  119. package/dist/chunks/{file-6bg31a94.js → reference-d6fzg897.js} +6 -6
  120. package/dist/chunks/{file-jh9jg79a.js → reference-dxt7hne3.js} +8 -8
  121. package/dist/chunks/{file-tsdrwk88.js → reference-e1nwe2td.js} +8 -8
  122. package/dist/chunks/{file-fkszgfvj.js → reference-e46ah9gc.js} +11 -11
  123. package/dist/chunks/{file-37y0x4sa.js → reference-e7g2pv1c.js} +13 -13
  124. package/dist/chunks/{file-d1xvm4af.js → reference-e7kd7gj5.js} +15 -15
  125. package/dist/chunks/{file-nhy5jxhy.js → reference-e82z9tr0.js} +7 -7
  126. package/dist/chunks/{file-03wwe30p.js → reference-efq5tq4f.js} +18 -18
  127. package/dist/chunks/{file-0kzzmtkd.js → reference-ej085sj0.js} +18 -18
  128. package/dist/chunks/{file-mrw4weg4.js → reference-en74w496.js} +5 -5
  129. package/dist/chunks/{file-etq0c3wd.js → reference-etq0c3wd.js} +1 -1
  130. package/dist/chunks/{file-jxj1g7d6.js → reference-ewnjgq7q.js} +5 -5
  131. package/dist/chunks/{file-2r4xr41j.js → reference-ezmrpqv5.js} +20 -20
  132. package/dist/chunks/{file-fzsrmebp.js → reference-f1my3kj4.js} +20 -20
  133. package/dist/chunks/{file-yp2x3t23.js → reference-f2n192rq.js} +4 -4
  134. package/dist/chunks/{file-f828m53h.js → reference-f828m53h.js} +2 -2
  135. package/dist/chunks/{file-0tqgm7xh.js → reference-fd0t6sve.js} +36 -36
  136. package/dist/chunks/{file-rddqvwx7.js → reference-fhjrrdjb.js} +23 -23
  137. package/dist/chunks/{file-z6mn07nx.js → reference-fj264fv9.js} +85 -85
  138. package/dist/chunks/{file-6cr0vect.js → reference-fmxx1bts.js} +24 -24
  139. package/dist/chunks/{file-3n1sj9mp.js → reference-ftm00p2b.js} +1 -1
  140. package/dist/chunks/{file-fxbjtjnd.js → reference-fxbjtjnd.js} +1 -1
  141. package/dist/chunks/{file-mcma3e2p.js → reference-g6zhr88b.js} +6 -6
  142. package/dist/chunks/{file-zts5fb25.js → reference-g8xxs4tx.js} +11 -11
  143. package/dist/chunks/{file-t550f9t1.js → reference-gbt6w4kb.js} +6 -6
  144. package/dist/chunks/{file-gd4qta3r.js → reference-gd4qta3r.js} +1 -1
  145. package/dist/chunks/{file-n3ehebhz.js → reference-gf18h3v3.js} +12 -12
  146. package/dist/chunks/{file-xp2ajnz8.js → reference-gjdkj7gs.js} +21 -21
  147. package/dist/chunks/{file-ff8vf18q.js → reference-gkmh43rj.js} +7 -7
  148. package/dist/chunks/{file-6jnybvqn.js → reference-gsx0ryk4.js} +9 -9
  149. package/dist/chunks/{file-3trbxeqx.js → reference-gt0cxfk7.js} +1 -1
  150. package/dist/chunks/{file-verq85zk.js → reference-gv45jpg5.js} +4 -4
  151. package/dist/chunks/{file-z2rxccdg.js → reference-gvqge573.js} +9 -9
  152. package/dist/chunks/{file-h03wrkyp.js → reference-h03wrkyp.js} +2 -2
  153. package/dist/chunks/{file-h6vf3j39.js → reference-h6vf3j39.js} +1 -1
  154. package/dist/chunks/{file-xe3tttza.js → reference-h8zt85z5.js} +10 -10
  155. package/dist/chunks/{file-n6c8w82a.js → reference-hbhmt5dn.js} +5 -5
  156. package/dist/chunks/{file-a28msnrx.js → reference-hhczrqr1.js} +4 -4
  157. package/dist/chunks/{file-4rpd5z62.js → reference-hj92pwq6.js} +2 -2
  158. package/dist/chunks/{file-87deq66t.js → reference-hkjf8z9r.js} +6 -6
  159. package/dist/chunks/{file-embw8kgh.js → reference-hn57h045.js} +4 -4
  160. package/dist/chunks/{file-0ee4sq7j.js → reference-hp02hwp4.js} +13 -13
  161. package/dist/chunks/{file-qrh3ph5y.js → reference-hx12r247.js} +42 -42
  162. package/dist/chunks/{file-m4w483hc.js → reference-j0w83stm.js} +4 -4
  163. package/dist/chunks/{file-wxg97684.js → reference-j16zphk7.js} +26 -26
  164. package/dist/chunks/{file-b3ab3ctg.js → reference-j1tww2gp.js} +6 -6
  165. package/dist/chunks/{file-gzbkpp9m.js → reference-j5208yae.js} +4 -4
  166. package/dist/chunks/{file-j56e64zr.js → reference-j56e64zr.js} +1 -1
  167. package/dist/chunks/{file-q043d12m.js → reference-j5v2xxap.js} +11 -11
  168. package/dist/chunks/{file-nmpjh5tr.js → reference-j5vg7gm1.js} +18 -18
  169. package/dist/chunks/{file-prqr7atv.js → reference-j6bm1nn6.js} +13 -13
  170. package/dist/chunks/{file-b4ssmz4r.js → reference-ja4wy4ee.js} +6 -6
  171. package/dist/chunks/{file-v6eynfa8.js → reference-jahnfg6b.js} +21 -21
  172. package/dist/chunks/{file-fq1h1v14.js → reference-jhetwysa.js} +3 -3
  173. package/dist/chunks/{file-2ff89mrc.js → reference-jtefztwj.js} +4 -4
  174. package/dist/chunks/{file-agz6ccty.js → reference-jzxr77q3.js} +31 -31
  175. package/dist/chunks/{file-frghq38s.js → reference-k1endqwm.js} +12 -12
  176. package/dist/chunks/{file-3yknbgq7.js → reference-k6szry07.js} +19 -19
  177. package/dist/chunks/{file-kg06axw8.js → reference-kg06axw8.js} +1 -1
  178. package/dist/chunks/{file-edx7kkbf.js → reference-kgyjz9fy.js} +24 -24
  179. package/dist/chunks/{file-y2vrj84a.js → reference-kjz5gbca.js} +10 -10
  180. package/dist/chunks/{file-0vbmec47.js → reference-knhghh0v.js} +30 -30
  181. package/dist/chunks/{file-xr2q0tqq.js → reference-kr2c45mn.js} +14 -14
  182. package/dist/chunks/{file-dx6t03ys.js → reference-m4wh40kd.js} +2 -2
  183. package/dist/chunks/reference-m71yds50.js +247 -0
  184. package/dist/chunks/{file-x015srt1.js → reference-m9qjv7qq.js} +25 -25
  185. package/dist/chunks/{file-m9w0rfyh.js → reference-m9w0rfyh.js} +1 -1
  186. package/dist/chunks/{file-n92g5px8.js → reference-mfwv2709.js} +15 -15
  187. package/dist/chunks/{file-195b9hkp.js → reference-mgw48z1b.js} +28 -28
  188. package/dist/chunks/{file-mkcjrzeh.js → reference-mkcjrzeh.js} +1 -1
  189. package/dist/chunks/{file-5trk58xb.js → reference-n3wdcy6w.js} +8 -8
  190. package/dist/chunks/{file-rctdwqm8.js → reference-nbwvt5pv.js} +10 -10
  191. package/dist/chunks/{file-bv5t9bgg.js → reference-nns6kj95.js} +10 -10
  192. package/dist/chunks/{file-dgbe4bt1.js → reference-pcfbqvzv.js} +18 -18
  193. package/dist/chunks/{file-g713qgch.js → reference-pfq1v9kt.js} +24 -24
  194. package/dist/chunks/{file-pjvnvgmy.js → reference-pjvnvgmy.js} +1 -1
  195. package/dist/chunks/{file-pknna89w.js → reference-pknna89w.js} +1 -1
  196. package/dist/chunks/{file-5cvqq58e.js → reference-q342wcsq.js} +3 -3
  197. package/dist/chunks/{file-3nte7245.js → reference-q9b7wkyy.js} +14 -14
  198. package/dist/chunks/{file-2rbw2ja1.js → reference-qajrngy3.js} +22 -22
  199. package/dist/chunks/{file-hbznxe04.js → reference-qas58w1m.js} +17 -17
  200. package/dist/chunks/{file-9bj2cvf7.js → reference-qcvy1hs9.js} +9 -9
  201. package/dist/chunks/{file-qefhz522.js → reference-qfhza6js.js} +11 -11
  202. package/dist/chunks/{file-rbb6h0rd.js → reference-qjp4a40e.js} +11 -11
  203. package/dist/chunks/{file-9v3118pd.js → reference-qjwymapa.js} +26 -26
  204. package/dist/chunks/{file-htj0b10m.js → reference-qnyc9adz.js} +23 -23
  205. package/dist/chunks/{file-ew6y6y1a.js → reference-qs0ddh18.js} +25 -25
  206. package/dist/chunks/{file-qsdy395h.js → reference-qsdy395h.js} +1 -1
  207. package/dist/chunks/{file-c807y6n2.js → reference-r4avt07e.js} +26 -26
  208. package/dist/chunks/{file-7yh4e7ss.js → reference-r5x6zcsm.js} +3 -3
  209. package/dist/chunks/{file-8x96bj0m.js → reference-ratrq7cm.js} +7 -7
  210. package/dist/chunks/{file-agmzfzv5.js → reference-redrjz5k.js} +18 -18
  211. package/dist/chunks/{file-qt2wzkfv.js → reference-rszxffrt.js} +143 -143
  212. package/dist/chunks/{file-1vd4786e.js → reference-rtphz2v8.js} +9 -9
  213. package/dist/chunks/{file-03zt5v0h.js → reference-rvnq7e84.js} +8 -8
  214. package/dist/chunks/{file-s4enseaf.js → reference-s4enseaf.js} +2 -2
  215. package/dist/chunks/{file-416qpt5q.js → reference-sfddxscf.js} +36 -36
  216. package/dist/chunks/{file-wkwfxgj3.js → reference-sgfkh1bp.js} +4 -4
  217. package/dist/chunks/{file-yc3z3e63.js → reference-sgpd7ym3.js} +13 -13
  218. package/dist/chunks/{file-bxsmgxt8.js → reference-sjqcgh4k.js} +11 -11
  219. package/dist/chunks/{file-vftfn4tg.js → reference-smq0r06k.js} +67 -67
  220. package/dist/chunks/{file-rb7pkpgx.js → reference-spphehv3.js} +12 -12
  221. package/dist/chunks/{file-h2gyv3sg.js → reference-t8mcaem5.js} +1 -1
  222. package/dist/chunks/{file-tazgh4e4.js → reference-tazgh4e4.js} +1 -1
  223. package/dist/chunks/{file-tcezcvh9.js → reference-tcezcvh9.js} +1 -1
  224. package/dist/chunks/{file-tdstcens.js → reference-tdstcens.js} +1 -1
  225. package/dist/chunks/{file-gv6a8nnw.js → reference-th5km1p3.js} +5 -5
  226. package/dist/chunks/{file-kcvfr73y.js → reference-tkhm1f4n.js} +46 -46
  227. package/dist/chunks/{file-tvtrv512.js → reference-tvtrv512.js} +1 -1
  228. package/dist/chunks/{file-p7r5e3re.js → reference-v4hps1eq.js} +27 -27
  229. package/dist/chunks/{file-wc01vwq2.js → reference-v61v6jk6.js} +17 -17
  230. package/dist/chunks/{file-gshc2tst.js → reference-v7j335k4.js} +32 -32
  231. package/dist/chunks/{file-veqvce7d.js → reference-veqvce7d.js} +1 -1
  232. package/dist/chunks/{file-denqxv8d.js → reference-verxd6cc.js} +4 -4
  233. package/dist/chunks/{file-t4fssz5f.js → reference-vh99d6cz.js} +8 -8
  234. package/dist/chunks/{file-k4t1n3ds.js → reference-vq6pkt6q.js} +5 -5
  235. package/dist/chunks/{file-dtbk98nz.js → reference-vqz1dqct.js} +27 -27
  236. package/dist/chunks/{file-vq3dh784.js → reference-vvhxhpdd.js} +23 -23
  237. package/dist/chunks/{file-j2j5pzjs.js → reference-vxdjbxqe.js} +3 -3
  238. package/dist/chunks/{file-szgy4byf.js → reference-vyy6cxw9.js} +4 -4
  239. package/dist/chunks/{file-vzcthcp8.js → reference-vzcthcp8.js} +1 -1
  240. package/dist/chunks/{file-9yb9755z.js → reference-w0n7a3yn.js} +11 -11
  241. package/dist/chunks/{file-w3wsvvr9.js → reference-w3wsvvr9.js} +1 -1
  242. package/dist/chunks/{file-91p1v22t.js → reference-w3x9v1nk.js} +8 -8
  243. package/dist/chunks/{file-kk4kf303.js → reference-w44x3hm1.js} +11 -11
  244. package/dist/chunks/{file-v9n7g2jp.js → reference-w671fmtf.js} +46 -46
  245. package/dist/chunks/{file-56j57pys.js → reference-w94h77jp.js} +13 -13
  246. package/dist/chunks/{file-wd87259q.js → reference-wd87259q.js} +1 -1
  247. package/dist/chunks/{file-ja6srv6s.js → reference-wfbvyrr3.js} +31 -31
  248. package/dist/chunks/{file-bf99w40p.js → reference-wmbw81qg.js} +89 -89
  249. package/dist/chunks/{file-4ycmfby4.js → reference-wtjt4ngy.js} +39 -39
  250. package/dist/chunks/{file-e6g776ht.js → reference-x0x84apk.js} +18 -18
  251. package/dist/chunks/{file-x1ezjp6w.js → reference-x1ezjp6w.js} +1 -1
  252. package/dist/chunks/{file-5z7h86dp.js → reference-x3xe09d9.js} +5 -5
  253. package/dist/chunks/{file-x43y2vfs.js → reference-x43y2vfs.js} +2 -2
  254. package/dist/chunks/{file-67mjd9te.js → reference-x7kn3ctb.js} +9 -9
  255. package/dist/chunks/{file-79rym0vx.js → reference-xakp9rv9.js} +15 -15
  256. package/dist/chunks/{file-9vqmh8rd.js → reference-xb3xm0py.js} +21 -21
  257. package/dist/chunks/{file-ngx16gc5.js → reference-xbjve9g7.js} +12 -12
  258. package/dist/chunks/{file-vsp1fds9.js → reference-xdk9p2qn.js} +4 -4
  259. package/dist/chunks/{file-0p4j4cv0.js → reference-xhmq8qgk.js} +9 -9
  260. package/dist/chunks/{file-81swgkk7.js → reference-xxhb4jr7.js} +9 -9
  261. package/dist/chunks/{file-qj43ta48.js → reference-y0mcqq9w.js} +30 -30
  262. package/dist/chunks/{file-11tcp5y8.js → reference-y0n2m4xg.js} +4 -4
  263. package/dist/chunks/{file-2cmcktmr.js → reference-y19r4g5g.js} +10 -10
  264. package/dist/chunks/{file-y1fvbwt7.js → reference-y1fvbwt7.js} +1 -1
  265. package/dist/chunks/{file-60chw6ns.js → reference-y4xp3h88.js} +276 -276
  266. package/dist/chunks/{file-jwcy2c2z.js → reference-y71avatq.js} +4 -4
  267. package/dist/chunks/{file-9hhkemsn.js → reference-y98pmm57.js} +15 -15
  268. package/dist/chunks/{file-b91bsk4k.js → reference-yfxdtzm1.js} +28 -28
  269. package/dist/chunks/{file-1tx98gn3.js → reference-yjb32c3k.js} +11 -11
  270. package/dist/chunks/{file-8s0m5yrh.js → reference-yp7f5kew.js} +17 -17
  271. package/dist/chunks/{file-yrhqyw5v.js → reference-yrhqyw5v.js} +1 -1
  272. package/dist/chunks/{file-g5twr0sp.js → reference-yvmq8qxx.js} +12 -12
  273. package/dist/chunks/{file-8pnwjqbd.js → reference-yx9d5yhn.js} +23 -23
  274. package/dist/chunks/{file-z0bkrqjs.js → reference-z0bkrqjs.js} +1 -1
  275. package/dist/chunks/{file-vzab2f08.js → reference-z146wf5t.js} +34 -34
  276. package/dist/chunks/{file-gj9xpvv3.js → reference-z1f4gy9p.js} +4 -4
  277. package/dist/chunks/{file-1vpsedet.js → reference-z6nz13dk.js} +6 -6
  278. package/dist/chunks/{file-zeh9ct20.js → reference-zeh9ct20.js} +2 -2
  279. package/dist/chunks/{file-he3a9kdv.js → reference-zh4avhke.js} +29 -29
  280. package/dist/chunks/{file-b8ek1188.js → reference-zjnwhdhy.js} +28 -28
  281. package/dist/chunks/{file-3nmb6yg0.js → reference-zky2ysba.js} +33 -33
  282. package/dist/chunks/{file-zr2ceqn5.js → reference-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{file-n2egqj3k.js → reference-zsy896rw.js} +10 -10
  284. package/dist/chunks/{file-f98vsa4d.js → reference-zvg6wpm3.js} +25 -25
  285. package/dist/chunks/{file-zxq2ej10.js → reference-zxq2ej10.js} +1 -1
  286. package/dist/chunks/{file-vabb23s0.js → reference-zxwpk2nb.js} +1 -1
  287. package/dist/chunks/{file-xnn90w67.js → reference-zzd7tndm.js} +27 -27
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +7 -7
  290. package/dist/codemode/tool.js +2 -2
  291. package/dist/command.js +83 -83
  292. package/dist/config/discovery.js +77 -77
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +19 -19
  295. package/dist/config/plugin/agent.js +115 -115
  296. package/dist/config/plugin/command.js +207 -207
  297. package/dist/config/plugin/compaction.js +155 -155
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +117 -117
  300. package/dist/config/plugin/image.js +115 -115
  301. package/dist/config/plugin/instruction.js +85 -85
  302. package/dist/config/plugin/location-watcher.js +115 -115
  303. package/dist/config/plugin/mcp.js +124 -124
  304. package/dist/config/plugin/policy.js +112 -112
  305. package/dist/config/plugin/provider.js +113 -113
  306. package/dist/config/plugin/reference.js +117 -117
  307. package/dist/config/plugin/shell.js +116 -116
  308. package/dist/config/plugin/skill-file.js +97 -97
  309. package/dist/config/plugin/skill.js +134 -134
  310. package/dist/config/plugin/snapshot.js +115 -115
  311. package/dist/config/plugin/source.js +111 -111
  312. package/dist/config/plugin/tool-output.js +117 -117
  313. package/dist/config/plugin/websearch.js +113 -113
  314. package/dist/config/plugin/worktree.js +118 -118
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +117 -117
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +83 -83
  320. package/dist/database/database.js +72 -72
  321. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +15 -15
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +16 -16
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration.gen.js +47 -47
  384. package/dist/database/migration.js +49 -49
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +77 -77
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +362 -362
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +3 -3
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +88 -88
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +90 -90
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +72 -72
  408. package/dist/file-access.js +99 -99
  409. package/dist/file-mutation.js +85 -85
  410. package/dist/file-retention.js +1 -1
  411. package/dist/file.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/ignore.js +1 -1
  417. package/dist/filesystem/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +218 -218
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +99 -99
  421. package/dist/filesystem/watcher-binding.js +1 -1
  422. package/dist/filesystem/watcher.js +13 -13
  423. package/dist/filesystem.js +98 -98
  424. package/dist/form.js +82 -82
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +82 -82
  427. package/dist/generate.js +91 -91
  428. package/dist/git.js +7 -7
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +7 -7
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/id/id.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +5 -5
  452. package/dist/instance.js +353 -353
  453. package/dist/instruction-discovery.js +83 -83
  454. package/dist/instructions/builtins.js +82 -82
  455. package/dist/instructions/index.js +3 -3
  456. package/dist/integration/connection.js +1 -1
  457. package/dist/integration.js +80 -80
  458. package/dist/job.js +77 -77
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +71 -71
  461. package/dist/location-activity.js +132 -132
  462. package/dist/location-mutation.js +99 -99
  463. package/dist/location-service-map.js +83 -83
  464. package/dist/location-services.js +350 -350
  465. package/dist/location.js +76 -76
  466. package/dist/mcp/client.js +86 -86
  467. package/dist/mcp/index.js +103 -103
  468. package/dist/mcp/instructions.js +122 -122
  469. package/dist/mcp/oauth.js +3 -3
  470. package/dist/mcp/stdio.js +85 -85
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +7 -7
  473. package/dist/model-resolver.js +86 -86
  474. package/dist/model.js +8 -8
  475. package/dist/models-dev.js +86 -86
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +76 -76
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +104 -104
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +86 -86
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +73 -73
  485. package/dist/plugin/agent.js +97 -97
  486. package/dist/plugin/command.js +92 -92
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +213 -213
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +324 -324
  491. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  492. package/dist/plugin/models-dev.js +75 -75
  493. package/dist/plugin/module.js +5 -5
  494. package/dist/plugin/optimize.js +2 -2
  495. package/dist/plugin/plan.js +97 -97
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/alibaba.js +2 -2
  498. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  499. package/dist/plugin/provider/anthropic.js +2 -2
  500. package/dist/plugin/provider/azure.js +118 -118
  501. package/dist/plugin/provider/cerebras.js +2 -2
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +114 -114
  506. package/dist/plugin/provider/digitalocean.js +79 -79
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/gateway.js +2 -2
  510. package/dist/plugin/provider/github-copilot.js +80 -80
  511. package/dist/plugin/provider/gitlab.js +3 -3
  512. package/dist/plugin/provider/google-vertex.js +2 -2
  513. package/dist/plugin/provider/kilo.js +2 -2
  514. package/dist/plugin/provider/llmgateway.js +76 -76
  515. package/dist/plugin/provider/lmstudio.js +117 -117
  516. package/dist/plugin/provider/mistral.js +2 -2
  517. package/dist/plugin/provider/modal.js +79 -79
  518. package/dist/plugin/provider/nvidia.js +2 -2
  519. package/dist/plugin/provider/ollama.js +117 -117
  520. package/dist/plugin/provider/openai-compatible.js +1 -1
  521. package/dist/plugin/provider/openai.js +78 -78
  522. package/dist/plugin/provider/opencode.js +79 -79
  523. package/dist/plugin/provider/openrouter.js +3 -3
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/poe.js +76 -76
  526. package/dist/plugin/provider/sap-ai-core.js +3 -3
  527. package/dist/plugin/provider/sdk-factory.js +1 -1
  528. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  529. package/dist/plugin/provider/venice.js +2 -2
  530. package/dist/plugin/provider/vercel.js +2 -2
  531. package/dist/plugin/provider/vllm.js +117 -117
  532. package/dist/plugin/provider/xai.js +77 -77
  533. package/dist/plugin/provider/zenmux.js +2 -2
  534. package/dist/plugin/provider.js +158 -158
  535. package/dist/plugin/sdk.js +74 -74
  536. package/dist/plugin/service.js +3 -3
  537. package/dist/plugin/skill.js +131 -131
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +339 -339
  540. package/dist/plugin/update.js +6 -6
  541. package/dist/plugin/variant.js +4 -4
  542. package/dist/plugin/vcs/git.js +80 -80
  543. package/dist/plugin/vcs/hg.js +82 -82
  544. package/dist/plugin/warming.js +110 -110
  545. package/dist/plugin/websearch/exa.js +7 -7
  546. package/dist/plugin/websearch/firecrawl.js +8 -8
  547. package/dist/plugin/websearch/index.js +8 -8
  548. package/dist/plugin/websearch/mcp.js +2 -2
  549. package/dist/plugin/websearch/parallel.js +8 -8
  550. package/dist/plugin/websearch/tavily.js +4 -4
  551. package/dist/plugin.js +218 -218
  552. package/dist/project/schema.js +8 -8
  553. package/dist/project/sql.js +4 -4
  554. package/dist/project.js +85 -85
  555. package/dist/provider.js +5 -5
  556. package/dist/pty/protocol.js +1 -1
  557. package/dist/pty/schema.js +1 -1
  558. package/dist/pty/ticket.js +1 -1
  559. package/dist/pty.js +86 -86
  560. package/dist/reference/instructions.js +84 -84
  561. package/dist/reference.js +86 -86
  562. package/dist/repository-cache.js +76 -76
  563. package/dist/repository.js +3 -3
  564. package/dist/ripgrep/binary.js +2 -2
  565. package/dist/ripgrep.js +93 -93
  566. package/dist/rpc.js +81 -81
  567. package/dist/schema.js +1 -1
  568. package/dist/session/command.js +72 -72
  569. package/dist/session/compaction.js +129 -129
  570. package/dist/session/context.js +147 -147
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +5 -5
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +218 -218
  575. package/dist/session/execution.js +122 -122
  576. package/dist/session/generate.js +146 -146
  577. package/dist/session/history.js +13 -13
  578. package/dist/session/inbox.js +86 -86
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +77 -77
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +92 -92
  583. package/dist/session/message-updater.js +2 -2
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +113 -113
  586. package/dist/session/model-transport.js +9 -9
  587. package/dist/session/move.js +126 -126
  588. package/dist/session/projector.js +84 -84
  589. package/dist/session/prompt.js +100 -100
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +85 -85
  592. package/dist/session/run-coordinator.js +3 -3
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +225 -225
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +86 -86
  597. package/dist/session/runner/publish-llm-event.js +3 -3
  598. package/dist/session/runner/retry.js +110 -110
  599. package/dist/session/runner/step.js +119 -119
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +5 -5
  602. package/dist/session/session.js +167 -167
  603. package/dist/session/shell.js +131 -131
  604. package/dist/session/skill.js +98 -98
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +73 -73
  607. package/dist/session/store.js +81 -81
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +203 -203
  610. package/dist/session/system-prompt.js +5 -5
  611. package/dist/session/title.js +147 -147
  612. package/dist/session/to-session-error.js +107 -107
  613. package/dist/session/transfer.js +218 -218
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +213 -213
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +13 -13
  620. package/dist/shell.js +133 -133
  621. package/dist/skill/discovery.js +6 -6
  622. package/dist/skill/instructions.js +102 -102
  623. package/dist/skill.js +107 -107
  624. package/dist/snapshot.js +82 -82
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +119 -119
  629. package/dist/tool/plugin/edit.js +115 -115
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +120 -120
  632. package/dist/tool/plugin/grep.js +120 -120
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +117 -117
  635. package/dist/tool/plugin/question.js +98 -98
  636. package/dist/tool/plugin/read.js +121 -121
  637. package/dist/tool/plugin/shell.js +210 -210
  638. package/dist/tool/plugin/skill.js +106 -106
  639. package/dist/tool/plugin/subagent.js +214 -214
  640. package/dist/tool/plugin/webfetch.js +103 -103
  641. package/dist/tool/plugin/websearch.js +107 -107
  642. package/dist/tool/plugin/write.js +117 -117
  643. package/dist/tool/read-filesystem.js +92 -92
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +8 -8
  646. package/dist/tool.js +13 -13
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/iife.js +1 -1
  650. package/dist/util/lazy.js +1 -1
  651. package/dist/util/slug.js +1 -1
  652. package/dist/util/token.js +1 -1
  653. package/dist/util/which.js +1 -1
  654. package/dist/util/wildcard.js +1 -1
  655. package/dist/v1/config/agent.js +7 -7
  656. package/dist/v1/config/attachment.js +4 -4
  657. package/dist/v1/config/command.js +5 -5
  658. package/dist/v1/config/config.js +16 -16
  659. package/dist/v1/config/error.js +2 -2
  660. package/dist/v1/config/formatter.js +3 -3
  661. package/dist/v1/config/layout.js +1 -1
  662. package/dist/v1/config/lsp.js +3 -3
  663. package/dist/v1/config/mcp.js +4 -4
  664. package/dist/v1/config/migrate.js +4 -4
  665. package/dist/v1/config/permission.js +3 -3
  666. package/dist/v1/config/plugin.js +3 -3
  667. package/dist/v1/config/provider-options.js +1 -1
  668. package/dist/v1/config/provider.js +4 -4
  669. package/dist/v1/config/server.js +2 -2
  670. package/dist/v1/config/skills.js +3 -3
  671. package/dist/v1/permission.js +1 -1
  672. package/dist/vcs/patch.js +1 -1
  673. package/dist/vcs.js +85 -85
  674. package/dist/websearch.js +82 -82
  675. package/dist/wellknown/plugin.js +74 -74
  676. package/dist/wellknown.js +79 -79
  677. package/dist/workspace/driver.js +5 -5
  678. package/dist/workspace/sql.js +1 -1
  679. package/dist/workspace.js +78 -78
  680. package/dist/worktree/directory.js +4 -4
  681. package/dist/worktree/git.js +7 -7
  682. package/dist/worktree/refresh.js +342 -342
  683. package/dist/worktree/sql.js +5 -5
  684. package/dist/worktree.js +89 -89
  685. package/package.json +8 -8
  686. package/dist/chunks/file-ht5y0zrb.js +0 -18
  687. package/dist/chunks/file-ngb1kbyf.js +0 -247
  688. /package/dist/chunks/{file-0mesazry.js → reference-0mesazry.js} +0 -0
  689. /package/dist/chunks/{file-0qkdqm5v.js → reference-0qkdqm5v.js} +0 -0
  690. /package/dist/chunks/{file-0zkw76rk.js → reference-0zkw76rk.js} +0 -0
  691. /package/dist/chunks/{file-17cy0kzp.js → reference-17cy0kzp.js} +0 -0
  692. /package/dist/chunks/{file-1cnp2v09.js → reference-1cnp2v09.js} +0 -0
  693. /package/dist/chunks/{file-1kg9ymc8.js → reference-1kg9ymc8.js} +0 -0
  694. /package/dist/chunks/{file-2710q6r3.js → reference-2710q6r3.js} +0 -0
  695. /package/dist/chunks/{file-2axfhc9x.js → reference-2axfhc9x.js} +0 -0
  696. /package/dist/chunks/{file-2c3vjs8z.js → reference-2c3vjs8z.js} +0 -0
  697. /package/dist/chunks/{file-359p4xyc.js → reference-359p4xyc.js} +0 -0
  698. /package/dist/chunks/{file-3asan66x.js → reference-3asan66x.js} +0 -0
  699. /package/dist/chunks/{file-3v8g72cx.js → reference-3v8g72cx.js} +0 -0
  700. /package/dist/chunks/{file-3w5fmr99.js → reference-3w5fmr99.js} +0 -0
  701. /package/dist/chunks/{file-3wcehsnq.js → reference-3wcehsnq.js} +0 -0
  702. /package/dist/chunks/{file-43n2bw4t.js → reference-43n2bw4t.js} +0 -0
  703. /package/dist/chunks/{file-4knz6hnm.js → reference-4knz6hnm.js} +0 -0
  704. /package/dist/chunks/{file-4vcrnpx2.js → reference-4vcrnpx2.js} +0 -0
  705. /package/dist/chunks/{file-4y7fprxs.js → reference-4y7fprxs.js} +0 -0
  706. /package/dist/chunks/{file-53557ph1.js → reference-53557ph1.js} +0 -0
  707. /package/dist/chunks/{file-550bvhaj.js → reference-550bvhaj.js} +0 -0
  708. /package/dist/chunks/{file-6prwharc.js → reference-6prwharc.js} +0 -0
  709. /package/dist/chunks/{file-7akdwqpd.js → reference-7akdwqpd.js} +0 -0
  710. /package/dist/chunks/{file-7m9af43g.js → reference-7m9af43g.js} +0 -0
  711. /package/dist/chunks/{file-822emrt2.js → reference-822emrt2.js} +0 -0
  712. /package/dist/chunks/{file-88xbtdfr.js → reference-88xbtdfr.js} +0 -0
  713. /package/dist/chunks/{file-8n3pysct.js → reference-8n3pysct.js} +0 -0
  714. /package/dist/chunks/{file-922hggd3.js → reference-922hggd3.js} +0 -0
  715. /package/dist/chunks/{file-9a4afbnw.js → reference-9a4afbnw.js} +0 -0
  716. /package/dist/chunks/{file-9rqn6x4v.js → reference-9rqn6x4v.js} +0 -0
  717. /package/dist/chunks/{file-a6k6eb26.js → reference-a6k6eb26.js} +0 -0
  718. /package/dist/chunks/{file-af5trqkr.js → reference-af5trqkr.js} +0 -0
  719. /package/dist/chunks/{file-afrmfg78.js → reference-afrmfg78.js} +0 -0
  720. /package/dist/chunks/{file-aqzs7mqg.js → reference-aqzs7mqg.js} +0 -0
  721. /package/dist/chunks/{file-atq7p7m5.js → reference-atq7p7m5.js} +0 -0
  722. /package/dist/chunks/{file-bkyjaxrp.js → reference-bkyjaxrp.js} +0 -0
  723. /package/dist/chunks/{file-bmr6ed5q.js → reference-bmr6ed5q.js} +0 -0
  724. /package/dist/chunks/{file-cf4snx6d.js → reference-cf4snx6d.js} +0 -0
  725. /package/dist/chunks/{file-cvy3z8tj.js → reference-cvy3z8tj.js} +0 -0
  726. /package/dist/chunks/{file-d9fn303g.js → reference-d9fn303g.js} +0 -0
  727. /package/dist/chunks/{file-d9jj8t3e.js → reference-d9jj8t3e.js} +0 -0
  728. /package/dist/chunks/{file-dajrwvna.js → reference-dajrwvna.js} +0 -0
  729. /package/dist/chunks/{file-dap0rakb.js → reference-dap0rakb.js} +0 -0
  730. /package/dist/chunks/{file-df08tz66.js → reference-df08tz66.js} +0 -0
  731. /package/dist/chunks/{file-dy18nga0.js → reference-dy18nga0.js} +0 -0
  732. /package/dist/chunks/{file-e5kj55wp.js → reference-e5kj55wp.js} +0 -0
  733. /package/dist/chunks/{file-e73j6tqm.js → reference-e73j6tqm.js} +0 -0
  734. /package/dist/chunks/{file-ec1grn59.js → reference-ec1grn59.js} +0 -0
  735. /package/dist/chunks/{file-eh3zwz77.js → reference-eh3zwz77.js} +0 -0
  736. /package/dist/chunks/{file-emrn6kk6.js → reference-emrn6kk6.js} +0 -0
  737. /package/dist/chunks/{file-f0mxakyp.js → reference-f0mxakyp.js} +0 -0
  738. /package/dist/chunks/{file-f6n9ztr4.js → reference-f6n9ztr4.js} +0 -0
  739. /package/dist/chunks/{file-faypxj3z.js → reference-faypxj3z.js} +0 -0
  740. /package/dist/chunks/{file-fd410y7t.js → reference-fd410y7t.js} +0 -0
  741. /package/dist/chunks/{file-fxgpk5d8.js → reference-fxgpk5d8.js} +0 -0
  742. /package/dist/chunks/{file-g4wezp1m.js → reference-g4wezp1m.js} +0 -0
  743. /package/dist/chunks/{file-g86h250q.js → reference-g86h250q.js} +0 -0
  744. /package/dist/chunks/{file-gebd4c9n.js → reference-gebd4c9n.js} +0 -0
  745. /package/dist/chunks/{file-gftt206x.js → reference-gftt206x.js} +0 -0
  746. /package/dist/chunks/{file-hjbc5kem.js → reference-hjbc5kem.js} +0 -0
  747. /package/dist/chunks/{file-hk9envan.js → reference-hk9envan.js} +0 -0
  748. /package/dist/chunks/{file-hrnqkpcd.js → reference-hrnqkpcd.js} +0 -0
  749. /package/dist/chunks/{file-j2ntwpah.js → reference-j2ntwpah.js} +0 -0
  750. /package/dist/chunks/{file-j5zkgpj8.js → reference-j5zkgpj8.js} +0 -0
  751. /package/dist/chunks/{file-j935v87r.js → reference-j935v87r.js} +0 -0
  752. /package/dist/chunks/{file-jr7sbwjy.js → reference-jr7sbwjy.js} +0 -0
  753. /package/dist/chunks/{file-jwfs4k6c.js → reference-jwfs4k6c.js} +0 -0
  754. /package/dist/chunks/{file-jzg6c2d5.js → reference-jzg6c2d5.js} +0 -0
  755. /package/dist/chunks/{file-mp448xyj.js → reference-mp448xyj.js} +0 -0
  756. /package/dist/chunks/{file-msx8hqn2.js → reference-msx8hqn2.js} +0 -0
  757. /package/dist/chunks/{file-n05xt0ee.js → reference-n05xt0ee.js} +0 -0
  758. /package/dist/chunks/{file-n3j8tn72.js → reference-n3j8tn72.js} +0 -0
  759. /package/dist/chunks/{file-njntx4h6.js → reference-njntx4h6.js} +0 -0
  760. /package/dist/chunks/{file-q3sfg36h.js → reference-q3sfg36h.js} +0 -0
  761. /package/dist/chunks/{file-q74kybfr.js → reference-q74kybfr.js} +0 -0
  762. /package/dist/chunks/{file-qaymkmh1.js → reference-qaymkmh1.js} +0 -0
  763. /package/dist/chunks/{file-qb87gjwd.js → reference-qb87gjwd.js} +0 -0
  764. /package/dist/chunks/{file-qfa1cgps.js → reference-qfa1cgps.js} +0 -0
  765. /package/dist/chunks/{file-qrg20bc0.js → reference-qrg20bc0.js} +0 -0
  766. /package/dist/chunks/{file-rcb2kzg1.js → reference-rcb2kzg1.js} +0 -0
  767. /package/dist/chunks/{file-sdp7kfr6.js → reference-sdp7kfr6.js} +0 -0
  768. /package/dist/chunks/{file-sk3qaz4a.js → reference-sk3qaz4a.js} +0 -0
  769. /package/dist/chunks/{file-ssg3fenm.js → reference-ssg3fenm.js} +0 -0
  770. /package/dist/chunks/{file-twg0f83k.js → reference-twg0f83k.js} +0 -0
  771. /package/dist/chunks/{file-w803qqfp.js → reference-w803qqfp.js} +0 -0
  772. /package/dist/chunks/{file-wer8tq1h.js → reference-wer8tq1h.js} +0 -0
  773. /package/dist/chunks/{file-wtztk69x.js → reference-wtztk69x.js} +0 -0
  774. /package/dist/chunks/{file-x0ckcb58.js → reference-x0ckcb58.js} +0 -0
  775. /package/dist/chunks/{file-x61499pn.js → reference-x61499pn.js} +0 -0
  776. /package/dist/chunks/{file-y44na4kk.js → reference-y44na4kk.js} +0 -0
  777. /package/dist/chunks/{file-y8cydn3q.js → reference-y8cydn3q.js} +0 -0
  778. /package/dist/chunks/{file-ygaqb7jw.js → reference-ygaqb7jw.js} +0 -0
  779. /package/dist/chunks/{file-ym463w8f.js → reference-ym463w8f.js} +0 -0
  780. /package/dist/chunks/{file-z9919s4g.js → reference-z9919s4g.js} +0 -0
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./file-gftt206x.js";
3
+ } from "./reference-gftt206x.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./file-3yjg5mh2.js";
6
+ } from "./reference-8jmaqybk.js";
7
7
  import {
8
8
  __export
9
- } from "./file-9rqn6x4v.js";
9
+ } from "./reference-9rqn6x4v.js";
10
10
 
11
11
  // src/session/error.ts
12
12
  var exports_error = {};
@@ -19,7 +19,7 @@ __export(exports_error, {
19
19
  InboxConflictError: () => InboxConflictError2,
20
20
  MessageDecodeError: () => MessageDecodeError2,
21
21
  MessageNotFoundError: () => MessageNotFoundError2,
22
- NotFoundError: () => NotFoundError6,
22
+ NotFoundError: () => NotFoundError8,
23
23
  PromptConflictError: () => PromptConflictError2,
24
24
  SessionErrors: () => exports_error,
25
25
  SkillNotFoundError: () => SkillNotFoundError2,
@@ -32,7 +32,7 @@ import { Agent } from "@opencode/schema/agent";
32
32
  import { Skill } from "@opencode/schema/skill";
33
33
  import { SessionError } from "@opencode/schema/session-error";
34
34
 
35
- class NotFoundError6 extends Schema.TaggedError()("Session.NotFoundError", {
35
+ class NotFoundError8 extends Schema.TaggedError()("Session.NotFoundError", {
36
36
  sessionID: SessionSchema2.ID
37
37
  }) {
38
38
  }
@@ -123,4 +123,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
123
123
  }) {
124
124
  }
125
125
 
126
- export { NotFoundError6, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, UserInterruptedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error };
126
+ export { NotFoundError8, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, UserInterruptedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error };
@@ -1,35 +1,35 @@
1
1
  import {
2
- ID9,
3
- Service58
4
- } from "./file-p7r5e3re.js";
2
+ ID15,
3
+ Service75
4
+ } from "./reference-v4hps1eq.js";
5
5
  import {
6
6
  Service72
7
- } from "./file-6bg31a94.js";
7
+ } from "./reference-d6fzg897.js";
8
8
  import {
9
- Service65
10
- } from "./file-wh05710z.js";
9
+ Service63
10
+ } from "./reference-37b2kds0.js";
11
11
  import {
12
- Service68,
12
+ Service46,
13
13
  args2
14
- } from "./file-3yknbgq7.js";
14
+ } from "./reference-k6szry07.js";
15
15
  import {
16
- Service17
17
- } from "./file-bf99w40p.js";
16
+ Service23
17
+ } from "./reference-wmbw81qg.js";
18
18
  import {
19
19
  make7
20
- } from "./file-t4fssz5f.js";
20
+ } from "./reference-vh99d6cz.js";
21
21
  import {
22
22
  parseOption2
23
- } from "./file-5daktx2q.js";
23
+ } from "./reference-5daktx2q.js";
24
24
  import {
25
25
  __export
26
- } from "./file-9rqn6x4v.js";
26
+ } from "./reference-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/command.ts
29
29
  var exports_command = {};
30
30
  __export(exports_command, {
31
31
  ConfigCommandPlugin: () => exports_command,
32
- Plugin: () => Plugin15
32
+ Plugin: () => Plugin4
33
33
  });
34
34
  import { define } from "@opencode/plugin/effect/plugin";
35
35
  import { ConfigCommand } from "@opencode/schema/config/command";
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
41
41
  import { ChildProcess } from "effect/unstable/process";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
43
43
  var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
44
- var Plugin15 = define({
44
+ var Plugin4 = define({
45
45
  id: "opencode.config.command",
46
46
  effect: Effect.fn(function* (ctx) {
47
- const config = yield* Service65;
47
+ const config = yield* Service63;
48
48
  const fs = yield* FSUtil.Service;
49
49
  const loadEntry = Effect.fnUntraced(function* (entry) {
50
50
  if (entry.type === "document")
@@ -56,9 +56,9 @@ var Plugin15 = define({
56
56
  });
57
57
  const location = yield* Service72;
58
58
  const processes = yield* AppProcess.Service;
59
- const shell = yield* Service68;
60
- const sessions = yield* Service17;
61
- const agents = yield* Service58;
59
+ const shell = yield* Service46;
60
+ const sessions = yield* Service23;
61
+ const agents = yield* Service75;
62
62
  const subagents = yield* make7;
63
63
  const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
64
64
  return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
@@ -80,7 +80,7 @@ var Plugin15 = define({
80
80
  name,
81
81
  description: command.description,
82
82
  execute: (input) => Effect.gen(function* () {
83
- const agent = command.agent === undefined ? undefined : ID9.make(command.agent);
83
+ const agent = command.agent === undefined ? undefined : ID15.make(command.agent);
84
84
  const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
85
85
  const model = command.model === undefined ? commandAgent?.model : {
86
86
  id: Model.ID.make(command.model.model),
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
204
204
  var quoteTrimRegex = /^["']|["']$/g;
205
205
  var shellRegex = /!`([^`]+)`/g;
206
206
 
207
- export { Plugin15, exports_command };
207
+ export { Plugin4, exports_command };
@@ -1,7 +1,7 @@
1
1
  import {
2
- ID16,
2
+ ID17,
3
3
  packageName2
4
- } from "./file-84tssp1s.js";
4
+ } from "./reference-c7ecgrk6.js";
5
5
 
6
6
  // src/plugin/provider/amazon-bedrock.ts
7
7
  import { Effect } from "effect";
@@ -22,7 +22,7 @@ var AmazonBedrockPlugin2 = define({
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  yield* ctx.integration.transform((editor) => {
24
24
  editor.method.update({
25
- integrationID: ID16.amazonBedrock,
25
+ integrationID: ID17.amazonBedrock,
26
26
  method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
27
27
  });
28
28
  });
@@ -1,9 +1,9 @@
1
1
  import {
2
- Service69
3
- } from "./file-xp2ajnz8.js";
2
+ Service49
3
+ } from "./reference-gjdkj7gs.js";
4
4
  import {
5
5
  __export
6
- } from "./file-9rqn6x4v.js";
6
+ } from "./reference-9rqn6x4v.js";
7
7
 
8
8
  // src/mcp/stdio.ts
9
9
  var exports_stdio = {};
@@ -19,7 +19,7 @@ var FORCE_KILL_AFTER = Duration.seconds(2);
19
19
  var OUTGOING_CAPACITY = 64;
20
20
  var MAX_FRAME_BYTES = 16 * 1024 * 1024;
21
21
  var make2 = Effect.fnUntraced(function* (options) {
22
- const environment = yield* Service69;
22
+ const environment = yield* Service49;
23
23
  const scope = yield* Effect.scope;
24
24
  const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
25
25
  const buffer = new ReadBuffer;
@@ -1,64 +1,64 @@
1
1
  import {
2
- Service79,
3
- node83
4
- } from "./file-d1xvm4af.js";
2
+ Service80,
3
+ node85
4
+ } from "./reference-e7kd7gj5.js";
5
5
  import {
6
- Service78,
7
- node82
8
- } from "./file-0kzzmtkd.js";
6
+ Service79,
7
+ node84
8
+ } from "./reference-ej085sj0.js";
9
9
  import {
10
10
  llmClient2
11
- } from "./file-5t3nmthw.js";
11
+ } from "./reference-5t3nmthw.js";
12
12
  import {
13
13
  SessionEvent2
14
- } from "./file-ec1grn59.js";
14
+ } from "./reference-ec1grn59.js";
15
15
  import {
16
16
  provenance2,
17
17
  compatible2,
18
18
  isCheckpoint2,
19
19
  encode2
20
- } from "./file-88sz8qcd.js";
20
+ } from "./reference-csf2jhsg.js";
21
21
  import {
22
22
  load2
23
- } from "./file-jh9jg79a.js";
23
+ } from "./reference-dxt7hne3.js";
24
24
  import {
25
25
  create3
26
- } from "./file-kg06axw8.js";
26
+ } from "./reference-kg06axw8.js";
27
27
  import {
28
28
  toLLMMessages2
29
- } from "./file-b3wkxfg9.js";
29
+ } from "./reference-3jp54z3r.js";
30
30
  import {
31
31
  baseTranscript2,
32
32
  unsupportedParts2,
33
33
  boundImages2
34
- } from "./file-gshc2tst.js";
34
+ } from "./reference-v7j335k4.js";
35
35
  import {
36
36
  toSessionError2
37
- } from "./file-e9cer28w.js";
37
+ } from "./reference-4grg7b1w.js";
38
38
  import {
39
39
  policy2,
40
40
  transient2
41
- } from "./file-mcma3e2p.js";
41
+ } from "./reference-g6zhr88b.js";
42
42
  import {
43
43
  estimate2
44
- } from "./file-h6vf3j39.js";
44
+ } from "./reference-h6vf3j39.js";
45
45
  import {
46
46
  record2,
47
47
  add2
48
- } from "./file-tdstcens.js";
48
+ } from "./reference-tdstcens.js";
49
49
  import {
50
50
  __export
51
- } from "./file-9rqn6x4v.js";
51
+ } from "./reference-9rqn6x4v.js";
52
52
 
53
53
  // src/session/compaction.ts
54
54
  var exports_compaction2 = {};
55
55
  __export(exports_compaction2, {
56
- Service: () => Service6,
56
+ Service: () => Service11,
57
57
  SessionCompaction: () => exports_compaction2,
58
58
  buildPrompt: () => buildPrompt2,
59
59
  estimateTokens: () => estimateTokens2,
60
- layer: () => layer6,
61
- node: () => node9,
60
+ layer: () => layer7,
61
+ node: () => node14,
62
62
  retainUsers: () => retainUsers2,
63
63
  serializeToolContent: () => serializeToolContent2,
64
64
  truncateToolOutput: () => truncateToolOutput2
@@ -124,7 +124,7 @@ var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
124
124
  `).filter((line) => line.startsWith("##"));
125
125
  var LEGACY_HEADING = "## Additional Context";
126
126
 
127
- class Service6 extends Context.Service()("@opencode/SessionCompaction") {
127
+ class Service11 extends Context.Service()("@opencode/SessionCompaction") {
128
128
  }
129
129
  var hasInputUsage = (message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0;
130
130
  var estimateTokens2 = (input) => {
@@ -295,10 +295,10 @@ var buildPrompt2 = (update, legacy = false) => {
295
295
  };
296
296
  var hasSummarySection = (summary) => summary.split(`
297
297
  `).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
298
- var layer6 = Layer.effect(Service6, Effect.gen(function* () {
299
- const bus = yield* Service78;
298
+ var layer7 = Layer.effect(Service11, Effect.gen(function* () {
299
+ const bus = yield* Service79;
300
300
  const llm = yield* LLMClient.Service;
301
- const db = (yield* Service79).db;
301
+ const db = (yield* Service80).db;
302
302
  const state = create3({
303
303
  name: "session-compaction",
304
304
  initial: () => ({ auto: true, buffer: DEFAULT_BUFFER, tokens: DEFAULT_KEEP_TOKENS }),
@@ -578,7 +578,7 @@ var layer6 = Layer.effect(Service6, Effect.gen(function* () {
578
578
  }
579
579
  }));
580
580
  });
581
- return Service6.of({
581
+ return Service11.of({
582
582
  transform: state.transform,
583
583
  reload: state.reload,
584
584
  enabled: () => state.get().auto,
@@ -587,10 +587,10 @@ var layer6 = Layer.effect(Service6, Effect.gen(function* () {
587
587
  compactManual
588
588
  });
589
589
  }));
590
- var node9 = makeLocationNode({
591
- service: Service6,
592
- layer: layer6,
593
- deps: [node82, node83, llmClient2]
590
+ var node14 = makeLocationNode({
591
+ service: Service11,
592
+ layer: layer7,
593
+ deps: [node84, node85, llmClient2]
594
594
  });
595
595
 
596
- export { Service6, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer6, node9, exports_compaction2 };
596
+ export { Service11, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer7, node14, exports_compaction2 };
@@ -1,20 +1,20 @@
1
1
  import {
2
- ID9,
2
+ ID15,
3
3
  Name3,
4
4
  defaultID2
5
- } from "./file-p7r5e3re.js";
5
+ } from "./reference-v4hps1eq.js";
6
6
  import {
7
7
  merge2
8
- } from "./file-dn4sgk77.js";
8
+ } from "./reference-4j04egcw.js";
9
9
  import {
10
10
  __export
11
- } from "./file-9rqn6x4v.js";
11
+ } from "./reference-9rqn6x4v.js";
12
12
 
13
13
  // src/plugin/agent.ts
14
14
  var exports_agent2 = {};
15
15
  __export(exports_agent2, {
16
16
  AgentPlugin: () => exports_agent2,
17
- Plugin: () => Plugin36
17
+ Plugin: () => Plugin43
18
18
  });
19
19
  import { define } from "@opencode/plugin/effect/plugin";
20
20
  import { Effect } from "effect";
@@ -90,7 +90,7 @@ Rules:
90
90
  - Never ask questions or add new questions
91
91
  - If the conversation ends with an unanswered question to the user, preserve that exact question
92
92
  - If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
93
- var Plugin36 = define({
93
+ var Plugin43 = define({
94
94
  id: "opencode.agent",
95
95
  effect: Effect.fn(function* (ctx) {
96
96
  yield* ctx.agent.transform((editor) => {
@@ -100,13 +100,13 @@ var Plugin36 = define({
100
100
  item.mode = "primary";
101
101
  item.permissions.push({ action: "question", resource: "*", effect: "allow" });
102
102
  });
103
- editor.update(ID9.make("general"), (item) => {
103
+ editor.update(ID15.make("general"), (item) => {
104
104
  item.name = Name3.make("General");
105
105
  item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
106
106
  item.mode = "subagent";
107
107
  item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
108
108
  });
109
- editor.update(ID9.make("explore"), (item) => {
109
+ editor.update(ID15.make("explore"), (item) => {
110
110
  const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
111
111
  item.name = Name3.make("Explore");
112
112
  item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
@@ -125,19 +125,19 @@ var Plugin36 = define({
125
125
  { action: "subagent", resource: "*", effect: "deny" }
126
126
  ], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
127
127
  });
128
- editor.update(ID9.make("compaction"), (item) => {
128
+ editor.update(ID15.make("compaction"), (item) => {
129
129
  item.name = Name3.make("Compaction");
130
130
  item.mode = "primary";
131
131
  item.hidden = true;
132
132
  });
133
- editor.update(ID9.make("title"), (item) => {
133
+ editor.update(ID15.make("title"), (item) => {
134
134
  item.name = Name3.make("Title");
135
135
  item.mode = "primary";
136
136
  item.hidden = true;
137
137
  item.system = PROMPT_TITLE;
138
138
  item.permissions.push({ action: "*", resource: "*", effect: "deny" });
139
139
  });
140
- editor.update(ID9.make("summary"), (item) => {
140
+ editor.update(ID15.make("summary"), (item) => {
141
141
  item.name = Name3.make("Summary");
142
142
  item.mode = "primary";
143
143
  item.hidden = true;
@@ -148,4 +148,4 @@ var Plugin36 = define({
148
148
  })
149
149
  });
150
150
 
151
- export { Plugin36, exports_agent2 };
151
+ export { Plugin43, exports_agent2 };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  create3
3
- } from "./file-kg06axw8.js";
3
+ } from "./reference-kg06axw8.js";
4
4
  import {
5
5
  which2
6
- } from "./file-qaymkmh1.js";
6
+ } from "./reference-qaymkmh1.js";
7
7
  import {
8
8
  __export
9
- } from "./file-9rqn6x4v.js";
9
+ } from "./reference-9rqn6x4v.js";
10
10
 
11
11
  // src/shell/select.ts
12
12
  var exports_select = {};
13
13
  __export(exports_select, {
14
- Options: () => Options10,
15
- Service: () => Service68,
14
+ Options: () => Options5,
15
+ Service: () => Service46,
16
16
  ShellSelect: () => exports_select,
17
17
  args: () => args2,
18
- configured: () => configured9,
18
+ configured: () => configured5,
19
19
  environment: () => environment2,
20
20
  gitbash: () => gitbash2,
21
21
  list: () => list4,
22
22
  login: () => login2,
23
23
  name: () => name15,
24
- node: () => node71,
24
+ node: () => node49,
25
25
  ps: () => ps2,
26
- resolve: () => resolve3
26
+ resolve: () => resolve2
27
27
  });
28
28
  import path from "path";
29
29
  import { readFile } from "fs/promises";
@@ -43,11 +43,11 @@ var META = {
43
43
  sh: { login: true },
44
44
  zsh: { login: true }
45
45
  };
46
- var Options10 = Schema.Struct({
46
+ var Options5 = Schema.Struct({
47
47
  gitbash: Schema.optional(Schema.String)
48
48
  });
49
49
 
50
- class Service68 extends Context.Service()("@opencode/ShellSelect") {
50
+ class Service46 extends Context.Service()("@opencode/ShellSelect") {
51
51
  }
52
52
  function stat(file) {
53
53
  return statSync(file, { throwIfNoEntry: false }) ?? undefined;
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
164
164
  }
165
165
  var defaultConfigured;
166
166
  var defaultCompatible;
167
- function resolve3(input, configShell, options, bin) {
167
+ function resolve2(input, configShell, options, bin) {
168
168
  const filter = input.priority === "compat" ? { compatible: true } : undefined;
169
169
  if (configShell)
170
170
  return select(configShell, options, filter, bin);
@@ -180,7 +180,7 @@ function resolve3(input, configShell, options, bin) {
180
180
  defaultConfigured = { bin, value };
181
181
  return value;
182
182
  }
183
- resolve3.reset = () => {
183
+ resolve2.reset = () => {
184
184
  defaultConfigured = undefined;
185
185
  defaultCompatible = undefined;
186
186
  };
@@ -188,7 +188,7 @@ async function list4(options, bin) {
188
188
  const shells = process.platform === "win32" ? win(options, bin) : await unix();
189
189
  return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
190
190
  }
191
- var layer = (options) => Layer.effect(Service68, Effect.gen(function* () {
191
+ var layer = (options) => Layer.effect(Service46, Effect.gen(function* () {
192
192
  const global = yield* Global.Service;
193
193
  const state = create3({
194
194
  name: "shell-select",
@@ -199,15 +199,15 @@ var layer = (options) => Layer.effect(Service68, Effect.gen(function* () {
199
199
  }
200
200
  })
201
201
  });
202
- return Service68.of({
202
+ return Service46.of({
203
203
  transform: state.transform,
204
204
  reload: state.reload,
205
- resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin))
205
+ resolve: (input) => Effect.sync(() => resolve2(input, state.get().shell, options, global.bin))
206
206
  });
207
207
  }));
208
- function configured9(options) {
209
- return makeLocationNode({ service: Service68, layer: layer(options), deps: [Global.node] });
208
+ function configured5(options) {
209
+ return makeLocationNode({ service: Service46, layer: layer(options), deps: [Global.node] });
210
210
  }
211
- var node71 = configured9();
211
+ var node49 = configured5();
212
212
 
213
- export { Options10, Service68, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list4, configured9, node71, exports_select };
213
+ export { Options5, Service46, gitbash2, name15, login2, ps2, args2, environment2, resolve2, list4, configured5, node49, exports_select };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-9rqn6x4v.js";
3
+ } from "./reference-9rqn6x4v.js";
4
4
 
5
5
  // src/state.ts
6
6
  var exports_state = {};
@@ -4,43 +4,43 @@ import {
4
4
  normalizeContent2,
5
5
  normalizedName2,
6
6
  effectiveName2
7
- } from "./file-3w5fmr99.js";
7
+ } from "./reference-3w5fmr99.js";
8
8
  import {
9
9
  create2,
10
10
  catalog2
11
- } from "./file-x43y2vfs.js";
11
+ } from "./reference-x43y2vfs.js";
12
12
  import {
13
13
  create3
14
- } from "./file-kg06axw8.js";
14
+ } from "./reference-kg06axw8.js";
15
15
  import {
16
- Service62,
17
- node65
18
- } from "./file-9bj2cvf7.js";
16
+ Service68,
17
+ node72
18
+ } from "./reference-qcvy1hs9.js";
19
19
  import {
20
- Service71,
21
- node75
22
- } from "./file-5trk58xb.js";
20
+ Service57,
21
+ node61
22
+ } from "./reference-n3wdcy6w.js";
23
23
  import {
24
24
  match2
25
- } from "./file-y1fvbwt7.js";
25
+ } from "./reference-y1fvbwt7.js";
26
26
  import {
27
27
  __export
28
- } from "./file-9rqn6x4v.js";
28
+ } from "./reference-9rqn6x4v.js";
29
29
 
30
30
  // src/tool.ts
31
31
  var exports_tool = {};
32
32
  __export(exports_tool, {
33
33
  CallID: () => CallID2,
34
34
  Content: () => Content3,
35
- Error: () => Error2,
35
+ Error: () => Error4,
36
36
  FileContent: () => FileContent3,
37
37
  RegistrationError: () => RegistrationError2,
38
- Service: () => Service38,
38
+ Service: () => Service48,
39
39
  TextContent: () => TextContent2,
40
40
  Tool: () => exports_tool,
41
- node: () => node42
41
+ node: () => node51
42
42
  });
43
- import { CallID as CallID2, Content as Content3, Error as Error2, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
43
+ import { CallID as CallID2, Content as Content3, Error as Error4, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
44
44
  import { ToolDefinition } from "@opencode/ai";
45
45
  import { Tool } from "@opencode/schema/tool";
46
46
  import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
51
51
  }) {
52
52
  }
53
53
 
54
- class Service38 extends Context.Service()("@opencode/Tool") {
54
+ class Service48 extends Context.Service()("@opencode/Tool") {
55
55
  }
56
- var layer = Layer.effect(Service38, Effect.gen(function* () {
57
- const hooks = yield* Service71;
58
- const image = yield* Service62;
56
+ var layer = Layer.effect(Service48, Effect.gen(function* () {
57
+ const hooks = yield* Service57;
58
+ const image = yield* Service68;
59
59
  const normalizeImages = Effect.fnUntraced(function* (content) {
60
60
  const normalized = yield* Effect.forEach(content, (item) => {
61
61
  if (item.type !== "file" || !item.mime.startsWith("image/"))
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
180
180
  error: error.message
181
181
  }), { discard: true })
182
182
  });
183
- return Service38.of({
183
+ return Service48.of({
184
184
  transform: state.transform,
185
185
  reload: state.reload,
186
186
  snapshot: Effect.fn("Tool.snapshot")((permissions) => Effect.sync(() => {
@@ -262,10 +262,10 @@ function namespaceError(name) {
262
262
  return;
263
263
  return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
264
264
  }
265
- var node42 = makeLocationNode({
266
- service: Service38,
265
+ var node51 = makeLocationNode({
266
+ service: Service48,
267
267
  layer,
268
- deps: [node75, node65]
268
+ deps: [node61, node72]
269
269
  });
270
270
 
271
- export { RegistrationError2, Service38, node42, exports_tool, CallID2, Content3, Error2, FileContent3, TextContent2 };
271
+ export { RegistrationError2, Service48, node51, exports_tool, CallID2, Content3, Error4, FileContent3, TextContent2 };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./file-922hggd3.js";
4
+ } from "./reference-922hggd3.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./file-jwcy2c2z.js";
7
+ } from "./reference-y71avatq.js";
8
8
  import {
9
9
  __export
10
- } from "./file-9rqn6x4v.js";
10
+ } from "./reference-9rqn6x4v.js";
11
11
 
12
12
  // src/git.ts
13
13
  var exports_git3 = {};
@@ -15,11 +15,11 @@ __export(exports_git3, {
15
15
  Git: () => exports_git3,
16
16
  OperationError: () => OperationError3,
17
17
  Repository: () => Repository2,
18
- Service: () => Service77,
18
+ Service: () => Service74,
19
19
  TreeID: () => TreeID2,
20
20
  Worktree: () => Worktree2,
21
21
  WorktreeError: () => WorktreeError2,
22
- node: () => node81
22
+ node: () => node78
23
23
  });
24
24
  import path from "path";
25
25
  import { Context, Effect, Layer, Schema } from "effect";
@@ -85,9 +85,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
85
85
  }) {
86
86
  }
87
87
 
88
- class Service77 extends Context.Service()("@opencode/Git") {
88
+ class Service74 extends Context.Service()("@opencode/Git") {
89
89
  }
90
- var layer = Layer.effect(Service77, Effect.gen(function* () {
90
+ var layer = Layer.effect(Service74, Effect.gen(function* () {
91
91
  const fs = yield* FSUtil.Service;
92
92
  const proc = yield* AppProcess.Service;
93
93
  const locks = makeUnsafe2();
@@ -409,7 +409,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
409
409
  kind: index === 0 ? "main" : "linked"
410
410
  }));
411
411
  });
412
- return Service77.of({
412
+ return Service74.of({
413
413
  repo: { discover, clone, create },
414
414
  remote: { get: remote },
415
415
  history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
@@ -425,7 +425,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
425
425
  }
426
426
  });
427
427
  }));
428
- var node81 = makeGlobalNode({ service: Service77, layer, deps: [FSUtil.node, AppProcess.node] });
428
+ var node78 = makeGlobalNode({ service: Service74, layer, deps: [FSUtil.node, AppProcess.node] });
429
429
  function run(cwd, proc, args) {
430
430
  return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
431
431
  }
@@ -450,4 +450,4 @@ function resolvePath(cwd, value) {
450
450
  return path.resolve(cwd, normalized);
451
451
  }
452
452
 
453
- export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service77, node81, exports_git3 };
453
+ export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service74, node78, exports_git3 };