@opencode/core 0.0.0-dev-20534 → 0.0.0-dev-20536

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 +79 -79
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{config-6h3wybc7.js → bus-03tt90jk.js} +6 -6
  8. package/dist/chunks/{config-3e18h1by.js → bus-09fznkta.js} +10 -10
  9. package/dist/chunks/{config-fgm41tnp.js → bus-0a3505t2.js} +28 -28
  10. package/dist/chunks/{config-ndb5mcf5.js → bus-0ag38bn7.js} +127 -127
  11. package/dist/chunks/{config-psafj5a7.js → bus-0brrs4gw.js} +9 -9
  12. package/dist/chunks/{config-3zng69e3.js → bus-0ejaqacf.js} +32 -32
  13. package/dist/chunks/{config-0j77ygfz.js → bus-0j77ygfz.js} +2 -2
  14. package/dist/chunks/{config-g6wm352c.js → bus-0jyvqp1f.js} +11 -11
  15. package/dist/chunks/{config-0paq2nw3.js → bus-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{config-5tke5vcc.js → bus-0qmg5gm1.js} +22 -22
  17. package/dist/chunks/{config-ps0tqvyq.js → bus-0qpvcajx.js} +17 -17
  18. package/dist/chunks/{config-0vbcp93d.js → bus-0vbcp93d.js} +2 -2
  19. package/dist/chunks/{config-rb9nmwz4.js → bus-17bmhmmj.js} +9 -9
  20. package/dist/chunks/{config-qa84b0ag.js → bus-1a0ec517.js} +10 -10
  21. package/dist/chunks/{config-r8xr0va3.js → bus-1acjjqhc.js} +4 -4
  22. package/dist/chunks/{config-aec9zen2.js → bus-1bef9cj1.js} +14 -14
  23. package/dist/chunks/{config-nq9bxq7e.js → bus-1d1h9naf.js} +2 -2
  24. package/dist/chunks/{config-1dazxqgg.js → bus-1dazxqgg.js} +2 -2
  25. package/dist/chunks/{config-6djd4hw6.js → bus-1dq8jzyn.js} +2 -2
  26. package/dist/chunks/{config-1dvck2a7.js → bus-1dvck2a7.js} +2 -2
  27. package/dist/chunks/{config-tdt8xeve.js → bus-1s8jzfn5.js} +3 -3
  28. package/dist/chunks/{config-22f357wt.js → bus-1z18ck0n.js} +3 -3
  29. package/dist/chunks/{config-bgctr62v.js → bus-21jacxa0.js} +36 -36
  30. package/dist/chunks/{config-s90qgpnn.js → bus-2345ahvj.js} +76 -76
  31. package/dist/chunks/{config-rdsw6m59.js → bus-27ztzm6j.js} +9 -9
  32. package/dist/chunks/{config-2a5m3afh.js → bus-2a5m3afh.js} +1 -1
  33. package/dist/chunks/{config-4103bsjm.js → bus-2bmw77gy.js} +13 -13
  34. package/dist/chunks/{config-2ccvkpx1.js → bus-2ccvkpx1.js} +2 -2
  35. package/dist/chunks/{config-qgn6gcr1.js → bus-2k8khapm.js} +5 -5
  36. package/dist/chunks/{config-d98j95nk.js → bus-2ma8zt2e.js} +2 -2
  37. package/dist/chunks/{config-2yxw0cy6.js → bus-31pvnh6p.js} +27 -27
  38. package/dist/chunks/{config-fmw4ha9g.js → bus-33smrnfj.js} +1 -1
  39. package/dist/chunks/{config-znsx74x0.js → bus-3556dn8t.js} +1 -1
  40. package/dist/chunks/{config-ng2gaq78.js → bus-364kza10.js} +23 -23
  41. package/dist/chunks/{config-vd5y62t1.js → bus-37wq61k5.js} +11 -11
  42. package/dist/chunks/{config-7791qa0k.js → bus-388z4gss.js} +9 -9
  43. package/dist/chunks/{config-3fc6dm20.js → bus-3fc6dm20.js} +1 -1
  44. package/dist/chunks/{config-qs2pxgrz.js → bus-3g35pcv0.js} +4 -4
  45. package/dist/chunks/{config-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
  46. package/dist/chunks/{config-zc5g640q.js → bus-3rexwkpe.js} +12 -12
  47. package/dist/chunks/{config-3smtnn6g.js → bus-3smtnn6g.js} +1 -1
  48. package/dist/chunks/{config-3tvqynh2.js → bus-3tvqynh2.js} +1 -1
  49. package/dist/chunks/{config-aja6r1ay.js → bus-3zcjd5ba.js} +34 -34
  50. package/dist/chunks/{config-3zsf4n22.js → bus-3zsf4n22.js} +1 -1
  51. package/dist/chunks/{config-ncc5c4y3.js → bus-452wmbgb.js} +12 -12
  52. package/dist/chunks/{config-tqev68zw.js → bus-49phrcng.js} +11 -11
  53. package/dist/chunks/bus-4fmv3mdr.js +26 -0
  54. package/dist/chunks/{config-pkr8ke0k.js → bus-4fs97eea.js} +17 -17
  55. package/dist/chunks/{config-h9wp8z5w.js → bus-4z58m4b4.js} +4 -4
  56. package/dist/chunks/{config-54ma36ye.js → bus-54ma36ye.js} +1 -1
  57. package/dist/chunks/{config-bynqbhm2.js → bus-56yn5gwg.js} +2 -2
  58. package/dist/chunks/{config-vazhwx36.js → bus-57myy5jh.js} +5 -5
  59. package/dist/chunks/{config-5daktx2q.js → bus-5daktx2q.js} +1 -1
  60. package/dist/chunks/{config-xx0fyqjs.js → bus-5ehnhnq5.js} +23 -23
  61. package/dist/chunks/{config-bsmgzwfa.js → bus-5myvgw2p.js} +34 -34
  62. package/dist/chunks/{config-706phk7x.js → bus-5pyjqqve.js} +2 -2
  63. package/dist/chunks/{config-7en76nbd.js → bus-5s8ss6c7.js} +33 -33
  64. package/dist/chunks/{config-5t3nmthw.js → bus-5t3nmthw.js} +2 -2
  65. package/dist/chunks/{config-w9fpc6ap.js → bus-61ysx92p.js} +9 -9
  66. package/dist/chunks/{config-669tq793.js → bus-669tq793.js} +1 -1
  67. package/dist/chunks/{config-d62nek0h.js → bus-6800223a.js} +1 -1
  68. package/dist/chunks/{config-yf10kn3d.js → bus-6c7yw9pm.js} +8 -8
  69. package/dist/chunks/{config-f58gpcny.js → bus-6n4b0dsb.js} +9 -9
  70. package/dist/chunks/{config-vrcx9qkm.js → bus-6n4ty2ve.js} +10 -10
  71. package/dist/chunks/{config-71az546q.js → bus-71az546q.js} +2 -2
  72. package/dist/chunks/{config-m5k532tk.js → bus-789gjyax.js} +19 -19
  73. package/dist/chunks/{config-2166p4xx.js → bus-78rts9ej.js} +22 -22
  74. package/dist/chunks/{config-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
  75. package/dist/chunks/{config-fm3m0w0b.js → bus-7bw64253.js} +8 -8
  76. package/dist/chunks/{config-6h1ernme.js → bus-7c08hygz.js} +8 -8
  77. package/dist/chunks/{config-xbt3aarz.js → bus-7evavyec.js} +31 -31
  78. package/dist/chunks/{config-hpfvhvya.js → bus-7s2tn799.js} +8 -8
  79. package/dist/chunks/{config-wpv6y6te.js → bus-7x3zm5sf.js} +15 -15
  80. package/dist/chunks/{config-tnapj0gp.js → bus-7yrdpv1j.js} +7 -7
  81. package/dist/chunks/{config-vns4c42r.js → bus-83pvch2e.js} +12 -12
  82. package/dist/chunks/{config-84txncab.js → bus-84txncab.js} +1 -1
  83. package/dist/chunks/{config-s058642n.js → bus-87qgbvjc.js} +8 -8
  84. package/dist/chunks/{config-982twh0r.js → bus-8a5mpsbk.js} +11 -11
  85. package/dist/chunks/{config-8d7r5vzw.js → bus-8d7r5vzw.js} +1 -1
  86. package/dist/chunks/{config-b9b81nxh.js → bus-8g5ayqkp.js} +11 -11
  87. package/dist/chunks/{config-x5pg15r8.js → bus-8jrg06sq.js} +26 -26
  88. package/dist/chunks/{config-pfe2pgff.js → bus-8nypjabp.js} +3 -3
  89. package/dist/chunks/{config-9w7bvsxq.js → bus-8qxff7bj.js} +25 -25
  90. package/dist/chunks/{config-2jp203za.js → bus-8r2stfs9.js} +22 -22
  91. package/dist/chunks/{config-gqbfxvtk.js → bus-8srq2cd9.js} +18 -18
  92. package/dist/chunks/{config-whby8p1r.js → bus-8vhr417e.js} +32 -32
  93. package/dist/chunks/{config-6ke7sn6j.js → bus-8x5dvemw.js} +13 -13
  94. package/dist/chunks/{config-cjn4ma4m.js → bus-8y0y710j.js} +4 -4
  95. package/dist/chunks/{config-vbdyyw4h.js → bus-8zhy3fv7.js} +5 -5
  96. package/dist/chunks/{config-9trbnnmb.js → bus-92hj1t1y.js} +6 -6
  97. package/dist/chunks/{config-vg5vp9kg.js → bus-92q1kttp.js} +8 -8
  98. package/dist/chunks/{config-j1xc2fbc.js → bus-939wh0ff.js} +23 -23
  99. package/dist/chunks/{config-a72mdkx4.js → bus-98zydh9f.js} +22 -22
  100. package/dist/chunks/{config-bh3q4rkt.js → bus-99gq6tqt.js} +8 -8
  101. package/dist/chunks/{config-jwpx33kn.js → bus-9btznmag.js} +1 -1
  102. package/dist/chunks/{config-9e5bzkjp.js → bus-9e5bzkjp.js} +3 -3
  103. package/dist/chunks/{config-q2vggat9.js → bus-9eajprj6.js} +11 -11
  104. package/dist/chunks/{config-xd0gfkns.js → bus-9fgy035w.js} +31 -31
  105. package/dist/chunks/{config-stfwnbdx.js → bus-9fm4x5nt.js} +22 -22
  106. package/dist/chunks/{config-8yv66smy.js → bus-9k8khh75.js} +11 -11
  107. package/dist/chunks/{config-08yy0avz.js → bus-9mm2tben.js} +43 -43
  108. package/dist/chunks/{config-7eavrcw3.js → bus-9n4yth9k.js} +31 -31
  109. package/dist/chunks/{config-efmb6h41.js → bus-9pzzpc4q.js} +5 -5
  110. package/dist/chunks/{config-yq8gd929.js → bus-9wdk9qm9.js} +14 -14
  111. package/dist/chunks/{config-c4724183.js → bus-9z18kp50.js} +11 -11
  112. package/dist/chunks/{config-mvfsc1pv.js → bus-a1gpj94z.js} +3 -3
  113. package/dist/chunks/{config-mtdva1qy.js → bus-a5erg0b2.js} +11 -11
  114. package/dist/chunks/{config-aaet6srn.js → bus-aaet6srn.js} +2 -2
  115. package/dist/chunks/{config-addxnjmp.js → bus-addxnjmp.js} +1 -1
  116. package/dist/chunks/{config-2hhn4vcd.js → bus-ag2zta49.js} +12 -12
  117. package/dist/chunks/{config-qc7egp1v.js → bus-aqvqqrwg.js} +18 -18
  118. package/dist/chunks/{config-tf611bf2.js → bus-b4m41310.js} +11 -11
  119. package/dist/chunks/{config-b6gygkdw.js → bus-b6gygkdw.js} +2 -2
  120. package/dist/chunks/{config-1vev1kdd.js → bus-b7dd0p69.js} +13 -13
  121. package/dist/chunks/{config-z7np2f9t.js → bus-ba97abkx.js} +7 -7
  122. package/dist/chunks/{config-33qp56xq.js → bus-bexr6pad.js} +3 -3
  123. package/dist/chunks/{config-p53k5ct8.js → bus-bja1kbt7.js} +33 -33
  124. package/dist/chunks/{config-kzf9nnvx.js → bus-bkyazm6f.js} +144 -144
  125. package/dist/chunks/{config-3zet0cgs.js → bus-bqdwdppz.js} +14 -14
  126. package/dist/chunks/{config-1a56eczy.js → bus-bry9ja57.js} +301 -301
  127. package/dist/chunks/{config-2fye62ny.js → bus-bxgqqbgp.js} +22 -22
  128. package/dist/chunks/{config-y56ehv6b.js → bus-bydnjh3t.js} +9 -9
  129. package/dist/chunks/{config-2pnhn36q.js → bus-c20khjev.js} +4 -4
  130. package/dist/chunks/{config-zfacwgta.js → bus-c467z66n.js} +13 -13
  131. package/dist/chunks/{config-8sze2n9a.js → bus-cfsekr6v.js} +6 -6
  132. package/dist/chunks/{config-zdwt3mwp.js → bus-cjxqtvwp.js} +15 -15
  133. package/dist/chunks/{config-qwxhqfke.js → bus-ckgr5b8p.js} +40 -40
  134. package/dist/chunks/{config-gcavn3wx.js → bus-d1r5081s.js} +5 -5
  135. package/dist/chunks/{config-44pdqs77.js → bus-d9sgy5v4.js} +4 -4
  136. package/dist/chunks/{config-nx00dghm.js → bus-dbvre6p0.js} +1 -1
  137. package/dist/chunks/{config-xnm5p8xe.js → bus-djqc12a6.js} +11 -11
  138. package/dist/chunks/{config-6fsenb1m.js → bus-dms2p81q.js} +4 -4
  139. package/dist/chunks/{config-dpkg50ah.js → bus-dpkg50ah.js} +1 -1
  140. package/dist/chunks/{config-t9fg6pvd.js → bus-dpz7bvge.js} +11 -11
  141. package/dist/chunks/{config-hvr28mne.js → bus-dx0ahrbs.js} +11 -11
  142. package/dist/chunks/{config-p1n36tyd.js → bus-e7298r3y.js} +3 -3
  143. package/dist/chunks/{config-h0ay602x.js → bus-e7m0vwsw.js} +1 -1
  144. package/dist/chunks/{config-jc97knsw.js → bus-e940t5dn.js} +33 -33
  145. package/dist/chunks/{config-yeamxayg.js → bus-eamzqf14.js} +22 -22
  146. package/dist/chunks/{config-t7e6cevd.js → bus-eb4pf1x7.js} +11 -11
  147. package/dist/chunks/{config-ef5x83kb.js → bus-ef5x83kb.js} +1 -1
  148. package/dist/chunks/{config-7petkjk5.js → bus-efspjqjk.js} +10 -10
  149. package/dist/chunks/{config-3v50kkzc.js → bus-ej4w77wd.js} +12 -12
  150. package/dist/chunks/{config-dzwk3h89.js → bus-ej9mn2hm.js} +6 -6
  151. package/dist/chunks/{config-4w9z08xf.js → bus-ekn5q80q.js} +9 -9
  152. package/dist/chunks/{config-etq0c3wd.js → bus-etq0c3wd.js} +1 -1
  153. package/dist/chunks/{config-96wa2rfw.js → bus-ex2jr6wp.js} +294 -294
  154. package/dist/chunks/{config-k2a1hwxc.js → bus-exd7ezmd.js} +6 -6
  155. package/dist/chunks/{config-j2ky9r9a.js → bus-f3ev921j.js} +18 -18
  156. package/dist/chunks/{config-942wkfdx.js → bus-fas7hgfq.js} +18 -18
  157. package/dist/chunks/{config-2dq01dtx.js → bus-fbq9vw6f.js} +10 -10
  158. package/dist/chunks/{config-jfqtm2ew.js → bus-fm2qvscf.js} +4 -4
  159. package/dist/chunks/{config-z4kbpcpe.js → bus-fq1jpeb1.js} +22 -22
  160. package/dist/chunks/{config-pszp576s.js → bus-fzcec5e2.js} +12 -12
  161. package/dist/chunks/{config-azcp386p.js → bus-fzh7zfb0.js} +13 -13
  162. package/dist/chunks/{config-11dh48zj.js → bus-fzp8wpts.js} +51 -51
  163. package/dist/chunks/{config-9syfwt2v.js → bus-fzpf6kj6.js} +3 -3
  164. package/dist/chunks/{config-q2z73cjp.js → bus-g0cz14ke.js} +8 -8
  165. package/dist/chunks/{config-vsr6dns1.js → bus-g31erja1.js} +9 -9
  166. package/dist/chunks/{config-xfkkasph.js → bus-g5w8qwbj.js} +4 -4
  167. package/dist/chunks/{config-jbe5j81w.js → bus-g660qtn0.js} +29 -29
  168. package/dist/chunks/{config-w0d9f24f.js → bus-gctnkx5g.js} +29 -29
  169. package/dist/chunks/{config-gd4qta3r.js → bus-gd4qta3r.js} +1 -1
  170. package/dist/chunks/{config-8ep03z9b.js → bus-gg3gj13y.js} +9 -9
  171. package/dist/chunks/{config-av3f8rgc.js → bus-gz0m67vm.js} +15 -15
  172. package/dist/chunks/{config-xx78p48m.js → bus-h06bmtst.js} +25 -25
  173. package/dist/chunks/{config-wmngscs6.js → bus-h10yp9cw.js} +30 -30
  174. package/dist/chunks/{config-h2b79v29.js → bus-h2b79v29.js} +2 -2
  175. package/dist/chunks/{config-h6vf3j39.js → bus-h6vf3j39.js} +1 -1
  176. package/dist/chunks/{config-4qntt0re.js → bus-h9ye38ew.js} +18 -18
  177. package/dist/chunks/{config-aawpemgr.js → bus-hr1by741.js} +19 -19
  178. package/dist/chunks/{config-j56e64zr.js → bus-j56e64zr.js} +1 -1
  179. package/dist/chunks/{config-j6d506hw.js → bus-jpj7wt0r.js} +16 -16
  180. package/dist/chunks/bus-jqh9b0xq.js +18 -0
  181. package/dist/chunks/{config-t7n9q6bq.js → bus-jvf3yq6v.js} +4 -4
  182. package/dist/chunks/{config-ktdzgs7s.js → bus-k2seq1xy.js} +73 -73
  183. package/dist/chunks/{config-7zryb3w6.js → bus-k5btndkz.js} +8 -8
  184. package/dist/chunks/{config-4zs4qwxc.js → bus-ke77zstc.js} +17 -17
  185. package/dist/chunks/{config-y7x1114v.js → bus-khnjxhph.js} +48 -48
  186. package/dist/chunks/{config-hj7694bp.js → bus-kpvnmc5s.js} +8 -8
  187. package/dist/chunks/{config-x1sp8qw1.js → bus-m2ykgtqm.js} +12 -12
  188. package/dist/chunks/{config-m3fdjcah.js → bus-m3fdjcah.js} +1 -1
  189. package/dist/chunks/{config-ydpcz7fh.js → bus-m79q5xaq.js} +14 -14
  190. package/dist/chunks/{config-rrp7ar1c.js → bus-m9cxh46g.js} +23 -23
  191. package/dist/chunks/{config-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
  192. package/dist/chunks/{config-ezfgasyb.js → bus-masaym1h.js} +13 -13
  193. package/dist/chunks/{config-56gdpj1q.js → bus-mfqp6xfm.js} +6 -6
  194. package/dist/chunks/{config-tcay1cqt.js → bus-mx9vqzsb.js} +6 -6
  195. package/dist/chunks/{config-g5ztpnme.js → bus-n2mrbfpf.js} +37 -37
  196. package/dist/chunks/{config-26f3m8zn.js → bus-n3gpv6q4.js} +6 -6
  197. package/dist/chunks/{config-yaxeaqxr.js → bus-nn87vc15.js} +8 -8
  198. package/dist/chunks/{config-zd30eb5w.js → bus-npwy0cf6.js} +5 -5
  199. package/dist/chunks/{config-xnv95vjn.js → bus-nzny4vc0.js} +23 -23
  200. package/dist/chunks/{config-mdqmmg5h.js → bus-p2vqafnj.js} +1 -1
  201. package/dist/chunks/{config-nwq0hrd2.js → bus-p5q5j63x.js} +43 -43
  202. package/dist/chunks/{config-1tte8357.js → bus-p694032b.js} +5 -5
  203. package/dist/chunks/{config-152s6pwn.js → bus-p7ah34cs.js} +21 -21
  204. package/dist/chunks/{config-a9xzcfbf.js → bus-pcz7h6qj.js} +27 -27
  205. package/dist/chunks/{config-ra4n65wq.js → bus-pgp1nwjn.js} +4 -4
  206. package/dist/chunks/{config-pjvnvgmy.js → bus-pjvnvgmy.js} +1 -1
  207. package/dist/chunks/{config-gh40whqf.js → bus-pkhnmk3t.js} +10 -10
  208. package/dist/chunks/{config-pknna89w.js → bus-pknna89w.js} +1 -1
  209. package/dist/chunks/{config-6t6sma4g.js → bus-q43yz18s.js} +28 -28
  210. package/dist/chunks/{config-dzbh4apr.js → bus-q85q7640.js} +3 -3
  211. package/dist/chunks/{config-425epnte.js → bus-qdr56tr0.js} +6 -6
  212. package/dist/chunks/{config-1msf33w2.js → bus-qfhc4gyc.js} +11 -11
  213. package/dist/chunks/{config-wre6jq6t.js → bus-qh2fjgsd.js} +34 -34
  214. package/dist/chunks/{config-d4he2qe1.js → bus-qmqgtz8f.js} +9 -9
  215. package/dist/chunks/{config-qnc92qwc.js → bus-qnc92qwc.js} +1 -1
  216. package/dist/chunks/{config-qsdy395h.js → bus-qsdy395h.js} +1 -1
  217. package/dist/chunks/{config-0zhyqgmg.js → bus-qvz4s47d.js} +16 -16
  218. package/dist/chunks/{config-s5met55r.js → bus-qwjmgwmn.js} +8 -8
  219. package/dist/chunks/{config-qxjc9qry.js → bus-qxjc9qry.js} +3 -3
  220. package/dist/chunks/{config-8dd049mz.js → bus-qxkxgbhy.js} +84 -84
  221. package/dist/chunks/{config-vjfys9bt.js → bus-qzcb8gaw.js} +14 -14
  222. package/dist/chunks/{config-a6gzke4f.js → bus-r257mg98.js} +46 -46
  223. package/dist/chunks/{config-28nn80cc.js → bus-rabnegtx.js} +34 -34
  224. package/dist/chunks/{config-pyje2r1j.js → bus-rbaracaf.js} +9 -9
  225. package/dist/chunks/{config-rdw6cm16.js → bus-rdw6cm16.js} +1 -1
  226. package/dist/chunks/{config-v5yzg42a.js → bus-rgbf2t5s.js} +18 -18
  227. package/dist/chunks/{config-dr262xdz.js → bus-s15sqcsm.js} +33 -33
  228. package/dist/chunks/{config-tme4mdwn.js → bus-s26mq5d1.js} +4 -4
  229. package/dist/chunks/{config-1m3h628y.js → bus-s41274r5.js} +1 -1
  230. package/dist/chunks/{config-9pe3dj47.js → bus-s6355me1.js} +4 -4
  231. package/dist/chunks/{config-s5nqmcjt.js → bus-s8awv0tb.js} +4 -4
  232. package/dist/chunks/{config-9t7a50xb.js → bus-s8d7rejh.js} +4 -4
  233. package/dist/chunks/{config-jfjpqnhv.js → bus-st8gjnqv.js} +43 -43
  234. package/dist/chunks/{config-99v39pa8.js → bus-syb4ysvy.js} +15 -15
  235. package/dist/chunks/{config-tazgh4e4.js → bus-tazgh4e4.js} +1 -1
  236. package/dist/chunks/{config-tcezcvh9.js → bus-tcezcvh9.js} +1 -1
  237. package/dist/chunks/{config-tdstcens.js → bus-tdstcens.js} +1 -1
  238. package/dist/chunks/{config-hp8kg0yw.js → bus-tnw5c9p9.js} +8 -8
  239. package/dist/chunks/{config-br0tr5aq.js → bus-tpw6cwsb.js} +8 -8
  240. package/dist/chunks/{config-7zjdbvta.js → bus-trq2pbyk.js} +3 -3
  241. package/dist/chunks/{config-3w3k7d6e.js → bus-trtdezz0.js} +11 -11
  242. package/dist/chunks/{config-qsc7prf3.js → bus-ttt7twvn.js} +21 -21
  243. package/dist/chunks/{config-3yhr9phv.js → bus-tzjwq995.js} +13 -13
  244. package/dist/chunks/{config-v0es1rhs.js → bus-v0es1rhs.js} +2 -2
  245. package/dist/chunks/{config-xqgkd5cb.js → bus-v17hgkfy.js} +8 -8
  246. package/dist/chunks/{config-veqvce7d.js → bus-veqvce7d.js} +1 -1
  247. package/dist/chunks/{config-gjb8h76y.js → bus-vp5rkn34.js} +12 -12
  248. package/dist/chunks/{config-yp38gpyv.js → bus-vrm6ygbt.js} +14 -14
  249. package/dist/chunks/{config-n7d88tpn.js → bus-vx3jgdek.js} +3 -3
  250. package/dist/chunks/{config-hzav2eaw.js → bus-vxmk6qhg.js} +3 -3
  251. package/dist/chunks/{config-vzcthcp8.js → bus-vzcthcp8.js} +1 -1
  252. package/dist/chunks/{config-vzs5sf6e.js → bus-vzs5sf6e.js} +1 -1
  253. package/dist/chunks/{config-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{config-sbhz05xg.js → bus-w5ck0rke.js} +23 -23
  255. package/dist/chunks/{config-wd87259q.js → bus-wd87259q.js} +1 -1
  256. package/dist/chunks/{config-8pbsyw6v.js → bus-wdpd55qw.js} +33 -33
  257. package/dist/chunks/{config-zyk1yjk8.js → bus-wecqtg5s.js} +5 -5
  258. package/dist/chunks/{config-r1eft7rx.js → bus-wg9r4j5w.js} +9 -9
  259. package/dist/chunks/{config-7dk24xqw.js → bus-wpt7dsy0.js} +30 -30
  260. package/dist/chunks/{config-x1ezjp6w.js → bus-x1ezjp6w.js} +1 -1
  261. package/dist/chunks/{config-qq88xqjp.js → bus-x96r6938.js} +25 -25
  262. package/dist/chunks/{config-57e9z27j.js → bus-xbrnje9f.js} +8 -8
  263. package/dist/chunks/{config-2wfpdqw9.js → bus-xe08wepw.js} +20 -20
  264. package/dist/chunks/{config-mmz9dvg3.js → bus-xe51zch3.js} +3 -3
  265. package/dist/chunks/{config-xkntkrq7.js → bus-xkntkrq7.js} +2 -2
  266. package/dist/chunks/{config-mevpmkqx.js → bus-xtjxve4c.js} +15 -15
  267. package/dist/chunks/{config-y1fvbwt7.js → bus-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{config-8tsdq50x.js → bus-y6mhz57t.js} +4 -4
  269. package/dist/chunks/{config-w2nx10tf.js → bus-ydaa82v6.js} +11 -11
  270. package/dist/chunks/{config-b8nb9mmt.js → bus-ynscm4vs.js} +19 -19
  271. package/dist/chunks/{config-g6cf5x0z.js → bus-yq0mmv71.js} +18 -18
  272. package/dist/chunks/{config-yrhqyw5v.js → bus-yrhqyw5v.js} +1 -1
  273. package/dist/chunks/{config-z0bkrqjs.js → bus-z0bkrqjs.js} +1 -1
  274. package/dist/chunks/{config-67wxv9g3.js → bus-z5m9pnwf.js} +12 -12
  275. package/dist/chunks/{config-ze7kzgnq.js → bus-z7ryvv6k.js} +11 -11
  276. package/dist/chunks/{config-g3xc01ec.js → bus-z8888y9b.js} +11 -11
  277. package/dist/chunks/{config-93ehw481.js → bus-zbqk2z4c.js} +15 -15
  278. package/dist/chunks/{config-e5d8wq4d.js → bus-ze3my9xb.js} +7 -7
  279. package/dist/chunks/{config-vn72gsba.js → bus-zfs8ae4p.js} +4 -4
  280. package/dist/chunks/{config-n8vdnqrc.js → bus-zmr78fwr.js} +5 -5
  281. package/dist/chunks/{config-zr2ceqn5.js → bus-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{config-jb0c5hrr.js → bus-zsc2fept.js} +21 -21
  283. package/dist/chunks/{config-zxq2ej10.js → bus-zxq2ej10.js} +1 -1
  284. package/dist/chunks/{config-273adbxq.js → bus-zzqp698d.js} +10 -10
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +7 -7
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +81 -81
  290. package/dist/config/discovery.js +82 -82
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +99 -99
  293. package/dist/config/plugin/agent.js +116 -116
  294. package/dist/config/plugin/command.js +205 -205
  295. package/dist/config/plugin/compaction.js +154 -154
  296. package/dist/config/plugin/compatibility.js +134 -134
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +117 -117
  299. package/dist/config/plugin/image.js +116 -116
  300. package/dist/config/plugin/instruction.js +90 -90
  301. package/dist/config/plugin/location-watcher.js +116 -116
  302. package/dist/config/plugin/mcp.js +123 -123
  303. package/dist/config/plugin/policy.js +117 -117
  304. package/dist/config/plugin/provider.js +116 -116
  305. package/dist/config/plugin/reference.js +118 -118
  306. package/dist/config/plugin/shell.js +116 -116
  307. package/dist/config/plugin/skill-file.js +102 -102
  308. package/dist/config/plugin/skill.js +135 -135
  309. package/dist/config/plugin/snapshot.js +116 -116
  310. package/dist/config/plugin/source.js +113 -113
  311. package/dist/config/plugin/tool-output.js +117 -117
  312. package/dist/config/plugin/websearch.js +115 -115
  313. package/dist/config/plugin/worktree.js +118 -118
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +119 -119
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +73 -73
  319. package/dist/database/database.js +66 -66
  320. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +13 -13
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +14 -14
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration.gen.js +49 -49
  385. package/dist/database/migration.js +51 -51
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +76 -76
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +364 -364
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +1 -1
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +93 -93
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +95 -95
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +74 -74
  409. package/dist/file-access.js +102 -102
  410. package/dist/file-mutation.js +94 -94
  411. package/dist/file-retention.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/location-watcher-policy.js +6 -6
  417. package/dist/filesystem/location-watcher.js +218 -218
  418. package/dist/filesystem/protected.js +1 -1
  419. package/dist/filesystem/search.js +103 -103
  420. package/dist/filesystem/watcher-binding.js +1 -1
  421. package/dist/filesystem/watcher.js +11 -11
  422. package/dist/filesystem.js +102 -102
  423. package/dist/form.js +70 -70
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +87 -87
  426. package/dist/generate.js +103 -103
  427. package/dist/git.js +10 -10
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +99 -99
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/image/photon.js +2 -2
  448. package/dist/image.js +6 -6
  449. package/dist/instance/service.js +5 -5
  450. package/dist/instance.js +355 -355
  451. package/dist/instruction-discovery.js +85 -85
  452. package/dist/instructions/builtins.js +87 -87
  453. package/dist/instructions/index.js +3 -3
  454. package/dist/integration/connection.js +1 -1
  455. package/dist/integration.js +77 -77
  456. package/dist/job.js +78 -78
  457. package/dist/kv/sql.js +2 -2
  458. package/dist/kv.js +73 -73
  459. package/dist/location-activity.js +134 -134
  460. package/dist/location-lifecycle.js +107 -107
  461. package/dist/location-service-map.js +86 -86
  462. package/dist/location-services.js +352 -352
  463. package/dist/location.js +81 -81
  464. package/dist/managed-policy.js +5 -5
  465. package/dist/mcp/client.js +91 -91
  466. package/dist/mcp/index.js +107 -107
  467. package/dist/mcp/instructions.js +129 -129
  468. package/dist/mcp/oauth.js +75 -75
  469. package/dist/mcp/stdio.js +90 -90
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +99 -99
  472. package/dist/model-resolver.js +98 -98
  473. package/dist/model.js +90 -90
  474. package/dist/models-dev.js +107 -107
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +80 -80
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +105 -105
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +90 -90
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +75 -75
  484. package/dist/plugin/agent.js +102 -102
  485. package/dist/plugin/command.js +100 -100
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +211 -211
  488. package/dist/plugin/identity.js +3 -3
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +327 -327
  491. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  492. package/dist/plugin/models-dev.js +96 -96
  493. package/dist/plugin/module.js +7 -7
  494. package/dist/plugin/optimize.js +4 -4
  495. package/dist/plugin/plan.js +102 -102
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  498. package/dist/plugin/provider/azure.js +117 -117
  499. package/dist/plugin/provider/cerebras.js +1 -1
  500. package/dist/plugin/provider/chatgpt.js +93 -93
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +112 -112
  505. package/dist/plugin/provider/digitalocean.js +93 -93
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/gateway.js +2 -2
  509. package/dist/plugin/provider/github-copilot.js +95 -95
  510. package/dist/plugin/provider/gitlab.js +93 -93
  511. package/dist/plugin/provider/google-vertex.js +90 -90
  512. package/dist/plugin/provider/kilo.js +1 -1
  513. package/dist/plugin/provider/llmgateway.js +78 -78
  514. package/dist/plugin/provider/lmstudio.js +115 -115
  515. package/dist/plugin/provider/modal.js +92 -92
  516. package/dist/plugin/provider/nvidia.js +1 -1
  517. package/dist/plugin/provider/ollama.js +113 -113
  518. package/dist/plugin/provider/openai.js +95 -95
  519. package/dist/plugin/provider/opencode.js +96 -96
  520. package/dist/plugin/provider/openrouter.js +91 -91
  521. package/dist/plugin/provider/perplexity.js +2 -2
  522. package/dist/plugin/provider/poe.js +79 -79
  523. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  524. package/dist/plugin/provider/sap-ai-core.js +91 -91
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  527. package/dist/plugin/provider/venice.js +2 -2
  528. package/dist/plugin/provider/vercel.js +90 -90
  529. package/dist/plugin/provider/vllm.js +115 -115
  530. package/dist/plugin/provider/xai.js +91 -91
  531. package/dist/plugin/provider/zenmux.js +1 -1
  532. package/dist/plugin/provider.js +156 -156
  533. package/dist/plugin/sdk.js +76 -76
  534. package/dist/plugin/service.js +3 -3
  535. package/dist/plugin/skill.js +134 -134
  536. package/dist/plugin/source-directory.js +1 -1
  537. package/dist/plugin/supervisor.js +342 -342
  538. package/dist/plugin/tool-input-repair.js +4 -4
  539. package/dist/plugin/update.js +6 -6
  540. package/dist/plugin/vcs/git.js +86 -86
  541. package/dist/plugin/vcs/hg.js +86 -86
  542. package/dist/plugin/verbosity.js +93 -93
  543. package/dist/plugin/warming.js +114 -114
  544. package/dist/plugin/websearch/exa.js +7 -7
  545. package/dist/plugin/websearch/firecrawl.js +8 -8
  546. package/dist/plugin/websearch/index.js +9 -9
  547. package/dist/plugin/websearch/mcp.js +4 -4
  548. package/dist/plugin/websearch/parallel.js +8 -8
  549. package/dist/plugin/websearch/tavily.js +6 -6
  550. package/dist/plugin/websearch/tinyfish.js +6 -6
  551. package/dist/plugin.js +222 -222
  552. package/dist/project/schema.js +2 -2
  553. package/dist/project/sql.js +4 -4
  554. package/dist/project.js +80 -80
  555. package/dist/provider.js +89 -89
  556. package/dist/pty/protocol.js +1 -1
  557. package/dist/pty/ticket.js +1 -1
  558. package/dist/pty.js +99 -99
  559. package/dist/reference/instructions.js +89 -89
  560. package/dist/reference.js +91 -91
  561. package/dist/repository-cache.js +81 -81
  562. package/dist/repository.js +1 -1
  563. package/dist/ripgrep/binary.js +2 -2
  564. package/dist/ripgrep.js +95 -95
  565. package/dist/rpc.js +86 -86
  566. package/dist/schema.js +1 -1
  567. package/dist/session/affinity.js +1 -1
  568. package/dist/session/command.js +74 -74
  569. package/dist/session/compaction.js +135 -135
  570. package/dist/session/context.js +153 -153
  571. package/dist/session/diff.js +88 -88
  572. package/dist/session/environment.js +5 -5
  573. package/dist/session/error.js +3 -3
  574. package/dist/session/event.js +1 -1
  575. package/dist/session/execution/restart.js +217 -217
  576. package/dist/session/execution.js +127 -127
  577. package/dist/session/generate.js +152 -152
  578. package/dist/session/history.js +13 -13
  579. package/dist/session/inbox.js +88 -88
  580. package/dist/session/info.js +3 -3
  581. package/dist/session/instruction-entry.js +79 -79
  582. package/dist/session/instruction-state.js +8 -8
  583. package/dist/session/instructions.js +97 -97
  584. package/dist/session/message-updater.js +2 -2
  585. package/dist/session/message.js +1 -1
  586. package/dist/session/model-request.js +120 -120
  587. package/dist/session/model-transport.js +9 -9
  588. package/dist/session/move.js +129 -129
  589. package/dist/session/projector.js +86 -86
  590. package/dist/session/prompt.js +105 -105
  591. package/dist/session/provider-context.js +3 -3
  592. package/dist/session/revert.js +90 -90
  593. package/dist/session/run-coordinator.js +3 -3
  594. package/dist/session/runner/index.js +3 -3
  595. package/dist/session/runner/llm.js +224 -224
  596. package/dist/session/runner/max-steps.js +1 -1
  597. package/dist/session/runner/model.js +98 -98
  598. package/dist/session/runner/publish-llm-event.js +113 -113
  599. package/dist/session/runner/retry.js +4 -4
  600. package/dist/session/runner/step.js +123 -123
  601. package/dist/session/runner/to-llm-message.js +2 -2
  602. package/dist/session/schema.js +5 -5
  603. package/dist/session/session.js +164 -164
  604. package/dist/session/shell.js +130 -130
  605. package/dist/session/skill.js +103 -103
  606. package/dist/session/sql.js +5 -5
  607. package/dist/session/stats.js +73 -73
  608. package/dist/session/store.js +85 -85
  609. package/dist/session/subagent-completion.js +1 -1
  610. package/dist/session/subagent-job.js +203 -203
  611. package/dist/session/system-prompt.js +3 -3
  612. package/dist/session/title.js +155 -155
  613. package/dist/session/to-session-error.js +111 -111
  614. package/dist/session/transfer.js +210 -210
  615. package/dist/session/usage.js +1 -1
  616. package/dist/session.js +207 -207
  617. package/dist/shell/parse.js +6 -6
  618. package/dist/shell/result.js +1 -1
  619. package/dist/shell/scan.js +1 -1
  620. package/dist/shell/select.js +9 -9
  621. package/dist/shell.js +132 -132
  622. package/dist/skill/discovery.js +6 -6
  623. package/dist/skill/instructions.js +107 -107
  624. package/dist/skill.js +114 -114
  625. package/dist/snapshot.js +91 -91
  626. package/dist/state.js +1 -1
  627. package/dist/tool/html-markdown.js +1 -1
  628. package/dist/tool/http-body.js +1 -1
  629. package/dist/tool/mcp.js +128 -128
  630. package/dist/tool/plugin/edit.js +120 -120
  631. package/dist/tool/plugin/file-diff.js +1 -1
  632. package/dist/tool/plugin/glob.js +124 -124
  633. package/dist/tool/plugin/grep.js +124 -124
  634. package/dist/tool/plugin/mcp-resource.js +117 -117
  635. package/dist/tool/plugin/opencode.js +3 -3
  636. package/dist/tool/plugin/patch.js +122 -122
  637. package/dist/tool/plugin/question.js +105 -105
  638. package/dist/tool/plugin/read.js +125 -125
  639. package/dist/tool/plugin/shell.js +208 -208
  640. package/dist/tool/plugin/skill.js +111 -111
  641. package/dist/tool/plugin/subagent.js +212 -212
  642. package/dist/tool/plugin/webfetch.js +112 -112
  643. package/dist/tool/plugin/websearch.js +110 -110
  644. package/dist/tool/plugin/write.js +122 -122
  645. package/dist/tool/read-filesystem.js +100 -100
  646. package/dist/tool/runtime.js +1 -1
  647. package/dist/tool-output.js +7 -7
  648. package/dist/tool.js +12 -12
  649. package/dist/util/error-summary.js +1 -1
  650. package/dist/util/error.js +1 -1
  651. package/dist/util/git-executable.js +2 -2
  652. package/dist/util/iife.js +1 -1
  653. package/dist/util/lazy.js +1 -1
  654. package/dist/util/slug.js +1 -1
  655. package/dist/util/token.js +1 -1
  656. package/dist/util/which.js +1 -1
  657. package/dist/util/wildcard.js +1 -1
  658. package/dist/v1/config/agent.js +5 -5
  659. package/dist/v1/config/command.js +3 -3
  660. package/dist/v1/config/error.js +2 -2
  661. package/dist/v1/config/mcp.js +4 -4
  662. package/dist/v1/config/migrate.js +92 -92
  663. package/dist/v1/config/permission.js +3 -3
  664. package/dist/v1/config/plugin.js +3 -3
  665. package/dist/v1/config/provider-options.js +1 -1
  666. package/dist/v1/config/provider.js +4 -4
  667. package/dist/variant.js +91 -91
  668. package/dist/vcs/patch.js +1 -1
  669. package/dist/vcs.js +89 -89
  670. package/dist/websearch.js +84 -84
  671. package/dist/wellknown/plugin.js +76 -76
  672. package/dist/wellknown.js +79 -79
  673. package/dist/workspace/driver.js +5 -5
  674. package/dist/workspace/sql.js +1 -1
  675. package/dist/workspace.js +80 -80
  676. package/dist/worktree/directory.js +2 -2
  677. package/dist/worktree/git.js +10 -10
  678. package/dist/worktree/sql.js +5 -5
  679. package/dist/worktree/strategies.js +89 -89
  680. package/dist/worktree.js +98 -98
  681. package/package.json +8 -8
  682. package/dist/chunks/config-619r8v3y.js +0 -18
  683. package/dist/chunks/config-r6w0hgbw.js +0 -26
  684. /package/dist/chunks/{config-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
  685. /package/dist/chunks/{config-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
  686. /package/dist/chunks/{config-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
  687. /package/dist/chunks/{config-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
  688. /package/dist/chunks/{config-1kg9ymc8.js → bus-1kg9ymc8.js} +0 -0
  689. /package/dist/chunks/{config-24dcb14g.js → bus-24dcb14g.js} +0 -0
  690. /package/dist/chunks/{config-2710q6r3.js → bus-2710q6r3.js} +0 -0
  691. /package/dist/chunks/{config-2axfhc9x.js → bus-2axfhc9x.js} +0 -0
  692. /package/dist/chunks/{config-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
  693. /package/dist/chunks/{config-34c7v6d4.js → bus-34c7v6d4.js} +0 -0
  694. /package/dist/chunks/{config-359p4xyc.js → bus-359p4xyc.js} +0 -0
  695. /package/dist/chunks/{config-3asan66x.js → bus-3asan66x.js} +0 -0
  696. /package/dist/chunks/{config-3t0ybcrp.js → bus-3t0ybcrp.js} +0 -0
  697. /package/dist/chunks/{config-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
  698. /package/dist/chunks/{config-3w5fmr99.js → bus-3w5fmr99.js} +0 -0
  699. /package/dist/chunks/{config-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
  700. /package/dist/chunks/{config-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
  701. /package/dist/chunks/{config-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
  702. /package/dist/chunks/{config-4vcrnpx2.js → bus-4vcrnpx2.js} +0 -0
  703. /package/dist/chunks/{config-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
  704. /package/dist/chunks/{config-53557ph1.js → bus-53557ph1.js} +0 -0
  705. /package/dist/chunks/{config-550bvhaj.js → bus-550bvhaj.js} +0 -0
  706. /package/dist/chunks/{config-6prwharc.js → bus-6prwharc.js} +0 -0
  707. /package/dist/chunks/{config-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
  708. /package/dist/chunks/{config-7m9af43g.js → bus-7m9af43g.js} +0 -0
  709. /package/dist/chunks/{config-822emrt2.js → bus-822emrt2.js} +0 -0
  710. /package/dist/chunks/{config-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
  711. /package/dist/chunks/{config-8n3pysct.js → bus-8n3pysct.js} +0 -0
  712. /package/dist/chunks/{config-8wj87zfr.js → bus-8wj87zfr.js} +0 -0
  713. /package/dist/chunks/{config-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
  714. /package/dist/chunks/{config-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
  715. /package/dist/chunks/{config-a6k6eb26.js → bus-a6k6eb26.js} +0 -0
  716. /package/dist/chunks/{config-af5trqkr.js → bus-af5trqkr.js} +0 -0
  717. /package/dist/chunks/{config-afrmfg78.js → bus-afrmfg78.js} +0 -0
  718. /package/dist/chunks/{config-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
  719. /package/dist/chunks/{config-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
  720. /package/dist/chunks/{config-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
  721. /package/dist/chunks/{config-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
  722. /package/dist/chunks/{config-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
  723. /package/dist/chunks/{config-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
  724. /package/dist/chunks/{config-d9fn303g.js → bus-d9fn303g.js} +0 -0
  725. /package/dist/chunks/{config-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
  726. /package/dist/chunks/{config-dajrwvna.js → bus-dajrwvna.js} +0 -0
  727. /package/dist/chunks/{config-dap0rakb.js → bus-dap0rakb.js} +0 -0
  728. /package/dist/chunks/{config-df08tz66.js → bus-df08tz66.js} +0 -0
  729. /package/dist/chunks/{config-dy18nga0.js → bus-dy18nga0.js} +0 -0
  730. /package/dist/chunks/{config-e3qxr5gk.js → bus-e3qxr5gk.js} +0 -0
  731. /package/dist/chunks/{config-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
  732. /package/dist/chunks/{config-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
  733. /package/dist/chunks/{config-ec1grn59.js → bus-ec1grn59.js} +0 -0
  734. /package/dist/chunks/{config-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
  735. /package/dist/chunks/{config-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
  736. /package/dist/chunks/{config-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
  737. /package/dist/chunks/{config-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
  738. /package/dist/chunks/{config-faypxj3z.js → bus-faypxj3z.js} +0 -0
  739. /package/dist/chunks/{config-fd410y7t.js → bus-fd410y7t.js} +0 -0
  740. /package/dist/chunks/{config-fxgpk5d8.js → bus-fxgpk5d8.js} +0 -0
  741. /package/dist/chunks/{config-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
  742. /package/dist/chunks/{config-g86h250q.js → bus-g86h250q.js} +0 -0
  743. /package/dist/chunks/{config-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
  744. /package/dist/chunks/{config-gftt206x.js → bus-gftt206x.js} +0 -0
  745. /package/dist/chunks/{config-hjbc5kem.js → bus-hjbc5kem.js} +0 -0
  746. /package/dist/chunks/{config-hk9envan.js → bus-hk9envan.js} +0 -0
  747. /package/dist/chunks/{config-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
  748. /package/dist/chunks/{config-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
  749. /package/dist/chunks/{config-jjkms2e6.js → bus-jjkms2e6.js} +0 -0
  750. /package/dist/chunks/{config-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
  751. /package/dist/chunks/{config-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
  752. /package/dist/chunks/{config-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
  753. /package/dist/chunks/{config-mp448xyj.js → bus-mp448xyj.js} +0 -0
  754. /package/dist/chunks/{config-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
  755. /package/dist/chunks/{config-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
  756. /package/dist/chunks/{config-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
  757. /package/dist/chunks/{config-njntx4h6.js → bus-njntx4h6.js} +0 -0
  758. /package/dist/chunks/{config-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
  759. /package/dist/chunks/{config-q74kybfr.js → bus-q74kybfr.js} +0 -0
  760. /package/dist/chunks/{config-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
  761. /package/dist/chunks/{config-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
  762. /package/dist/chunks/{config-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
  763. /package/dist/chunks/{config-qg3g05ea.js → bus-qg3g05ea.js} +0 -0
  764. /package/dist/chunks/{config-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
  765. /package/dist/chunks/{config-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
  766. /package/dist/chunks/{config-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
  767. /package/dist/chunks/{config-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
  768. /package/dist/chunks/{config-w803qqfp.js → bus-w803qqfp.js} +0 -0
  769. /package/dist/chunks/{config-wc3fc9cn.js → bus-wc3fc9cn.js} +0 -0
  770. /package/dist/chunks/{config-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
  771. /package/dist/chunks/{config-wtztk69x.js → bus-wtztk69x.js} +0 -0
  772. /package/dist/chunks/{config-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
  773. /package/dist/chunks/{config-x61499pn.js → bus-x61499pn.js} +0 -0
  774. /package/dist/chunks/{config-y44na4kk.js → bus-y44na4kk.js} +0 -0
  775. /package/dist/chunks/{config-y8cydn3q.js → bus-y8cydn3q.js} +0 -0
  776. /package/dist/chunks/{config-y8f7s663.js → bus-y8f7s663.js} +0 -0
  777. /package/dist/chunks/{config-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
  778. /package/dist/chunks/{config-ym463w8f.js → bus-ym463w8f.js} +0 -0
  779. /package/dist/chunks/{config-z5v4ffb3.js → bus-z5v4ffb3.js} +0 -0
  780. /package/dist/chunks/{config-z9919s4g.js → bus-z9919s4g.js} +0 -0
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  Metadata2,
3
3
  useragent2,
4
- node53
5
- } from "./config-1msf33w2.js";
4
+ node52
5
+ } from "./bus-qfhc4gyc.js";
6
6
  import {
7
7
  provenance2,
8
8
  compatible2
9
- } from "./config-h9wp8z5w.js";
9
+ } from "./bus-4z58m4b4.js";
10
10
  import {
11
- Service66,
12
- node70
13
- } from "./config-s5met55r.js";
11
+ Service71,
12
+ node75
13
+ } from "./bus-qwjmgwmn.js";
14
14
  import {
15
15
  DeclinedError2
16
- } from "./config-08yy0avz.js";
16
+ } from "./bus-9mm2tben.js";
17
17
  import {
18
18
  CancelledError2
19
- } from "./config-ncc5c4y3.js";
19
+ } from "./bus-452wmbgb.js";
20
20
  import {
21
21
  Error4
22
- } from "./config-2jp203za.js";
22
+ } from "./bus-8r2stfs9.js";
23
23
  import {
24
24
  get5
25
- } from "./config-54ma36ye.js";
25
+ } from "./bus-54ma36ye.js";
26
26
  import {
27
- Service28,
28
- node31
29
- } from "./config-vd5y62t1.js";
27
+ Service35,
28
+ node39
29
+ } from "./bus-37wq61k5.js";
30
30
  import {
31
- make15
32
- } from "./config-xfkkasph.js";
31
+ make16
32
+ } from "./bus-g5w8qwbj.js";
33
33
  import {
34
34
  toLLMMessages2
35
- } from "./config-znsx74x0.js";
35
+ } from "./bus-3556dn8t.js";
36
36
  import {
37
37
  __export
38
- } from "./config-9rqn6x4v.js";
38
+ } from "./bus-9rqn6x4v.js";
39
39
 
40
40
  // src/session/model-request.ts
41
41
  var exports_model_request = {};
42
42
  __export(exports_model_request, {
43
- Service: () => Service27,
43
+ Service: () => Service34,
44
44
  SessionModelRequest: () => exports_model_request,
45
45
  baseTranscript: () => baseTranscript2,
46
46
  boundImages: () => boundImages2,
47
- layer: () => layer10,
48
- node: () => node30,
47
+ layer: () => layer12,
48
+ node: () => node38,
49
49
  unsupportedParts: () => unsupportedParts2
50
50
  });
51
51
  import {
@@ -82,7 +82,7 @@ var baseTranscript2 = (input) => {
82
82
  return {
83
83
  providerMetadataKey,
84
84
  system: [
85
- input.agent.system ? input.agent.system : make15(input.tools.definitions.map((tool) => tool.name)),
85
+ input.agent.system ? input.agent.system : make16(input.tools.definitions.map((tool) => tool.name)),
86
86
  input.initial
87
87
  ].filter((part) => part.length > 0).map(SystemPart.make),
88
88
  messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
@@ -151,11 +151,11 @@ var boundImages2 = (messages) => {
151
151
  });
152
152
  };
153
153
 
154
- class Service27 extends Context.Service()("@opencode/SessionModelRequest") {
154
+ class Service34 extends Context.Service()("@opencode/SessionModelRequest") {
155
155
  }
156
- var layer10 = Layer.effect(Service27, Effect.gen(function* () {
157
- const hooks = yield* Service66;
158
- const transport = yield* Service28;
156
+ var layer12 = Layer.effect(Service34, Effect.gen(function* () {
157
+ const hooks = yield* Service71;
158
+ const transport = yield* Service35;
159
159
  const app = yield* Metadata2;
160
160
  const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
161
161
  const session = input.session;
@@ -260,17 +260,17 @@ var layer10 = Layer.effect(Service27, Effect.gen(function* () {
260
260
  };
261
261
  });
262
262
  const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
263
- return Service27.of({
263
+ return Service34.of({
264
264
  primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
265
265
  compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
266
266
  generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
267
267
  title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
268
268
  });
269
269
  }));
270
- var node30 = makeLocationNode({
271
- service: Service27,
272
- layer: layer10,
273
- deps: [node70, node31, node53]
270
+ var node38 = makeLocationNode({
271
+ service: Service34,
272
+ layer: layer12,
273
+ deps: [node75, node39, node52]
274
274
  });
275
275
 
276
- export { baseTranscript2, unsupportedParts2, boundImages2, Service27, layer10, node30, exports_model_request };
276
+ export { baseTranscript2, unsupportedParts2, boundImages2, Service34, layer12, node38, exports_model_request };
@@ -1,40 +1,40 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./config-z5v4ffb3.js";
4
+ } from "./bus-z5v4ffb3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service82,
9
- node86
10
- } from "./config-zc5g640q.js";
8
+ Service83,
9
+ node87
10
+ } from "./bus-3rexwkpe.js";
11
11
  import {
12
12
  Service80,
13
13
  node84
14
- } from "./config-bynqbhm2.js";
14
+ } from "./bus-56yn5gwg.js";
15
15
  import {
16
16
  create3
17
- } from "./config-rdw6cm16.js";
17
+ } from "./bus-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./config-9rqn6x4v.js";
20
+ } from "./bus-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
25
  Error: () => Error3,
26
- ID: () => ID4,
27
- Service: () => Service38,
26
+ ID: () => ID5,
27
+ Service: () => Service51,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node41,
30
- noopLayer: () => noopLayer2
29
+ node: () => node54,
30
+ noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import path from "path";
34
34
  import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID4 } from "@opencode/schema/snapshot";
37
+ import { ID as ID5 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
39
  class Error3 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
@@ -43,11 +43,11 @@ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
43
43
  }) {
44
44
  }
45
45
 
46
- class Service38 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service51 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service38, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service51, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service82;
50
+ const git = yield* Service83;
51
51
  const global = yield* Global.Service;
52
52
  const location = yield* Service80;
53
53
  const lifetime = yield* Scope.Scope;
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID4.make(yield* git.tree.capture({
85
+ return ID5.make(yield* git.tree.capture({
86
86
  repository: repo.snapshotRepository,
87
87
  scopes: [yield* scope(repo.worktree)],
88
88
  ignores: repo.source,
@@ -138,14 +138,14 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
138
138
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
139
139
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
140
140
  });
141
- return Service38.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service51.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node41 = makeLocationNode({
144
- service: Service38,
143
+ var node54 = makeLocationNode({
144
+ service: Service51,
145
145
  layer,
146
- deps: [FSUtil.node, node86, Global.node, node84]
146
+ deps: [FSUtil.node, node87, Global.node, node84]
147
147
  });
148
- var noopLayer2 = Layer.succeed(Service38, Service38.of({
148
+ var noopLayer3 = Layer.succeed(Service51, Service51.of({
149
149
  transform: () => Effect.succeed({ dispose: Effect.void }),
150
150
  reload: () => Effect.void,
151
151
  capture: () => Effect.undefined,
@@ -163,4 +163,4 @@ function failure(operation, cause) {
163
163
  });
164
164
  }
165
165
 
166
- export { ID4, Error3, Service38, node41, noopLayer2, exports_snapshot2 };
166
+ export { ID5, Error3, Service51, node54, noopLayer3, exports_snapshot2 };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  Key3,
3
3
  removed2,
4
- make22,
4
+ make21,
5
5
  diffByKey2
6
- } from "./config-9t7a50xb.js";
6
+ } from "./bus-s8d7rejh.js";
7
7
  import {
8
8
  Summary2,
9
9
  summarize2,
10
10
  namespaceLine2
11
- } from "./config-3fc6dm20.js";
11
+ } from "./bus-3fc6dm20.js";
12
12
  import {
13
13
  __export
14
- } from "./config-9rqn6x4v.js";
14
+ } from "./bus-9rqn6x4v.js";
15
15
 
16
16
  // src/codemode/instructions.ts
17
- var exports_instructions5 = {};
18
- __export(exports_instructions5, {
19
- CodeModeInstructions: () => exports_instructions5,
20
- make: () => make14,
17
+ var exports_instructions3 = {};
18
+ __export(exports_instructions3, {
19
+ CodeModeInstructions: () => exports_instructions3,
20
+ make: () => make15,
21
21
  render: () => render2,
22
22
  update: () => update3
23
23
  });
@@ -111,9 +111,9 @@ ${render2(current)}`;
111
111
  }
112
112
  var key = Key3.make("core/codemode");
113
113
  var codec = Schema.toCodecJson(Summary2);
114
- var make14 = (inventory) => {
114
+ var make15 = (inventory) => {
115
115
  const catalog = inventory === undefined ? removed2 : summarize2(inventory);
116
- return make22({
116
+ return make21({
117
117
  key,
118
118
  codec,
119
119
  read: Effect.succeed(catalog),
@@ -125,4 +125,4 @@ var make14 = (inventory) => {
125
125
  });
126
126
  };
127
127
 
128
- export { render2, update3, make14, exports_instructions5 };
128
+ export { render2, update3, make15, exports_instructions3 };
@@ -1,37 +1,37 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./config-pszp576s.js";
2
+ Service82,
3
+ node86
4
+ } from "./bus-fzcec5e2.js";
5
5
  import {
6
6
  Service80,
7
7
  node84
8
- } from "./config-bynqbhm2.js";
8
+ } from "./bus-56yn5gwg.js";
9
9
  import {
10
- ID11,
11
- Service68,
12
- node72
13
- } from "./config-a72mdkx4.js";
10
+ ID9,
11
+ Service59,
12
+ node62
13
+ } from "./bus-98zydh9f.js";
14
14
  import {
15
15
  NotFoundError8
16
- } from "./config-22f357wt.js";
16
+ } from "./bus-1z18ck0n.js";
17
17
  import {
18
- Service64,
19
- node68
20
- } from "./config-vns4c42r.js";
18
+ Service57,
19
+ node60
20
+ } from "./bus-83pvch2e.js";
21
21
  import {
22
22
  match2
23
- } from "./config-y1fvbwt7.js";
23
+ } from "./bus-y1fvbwt7.js";
24
24
  import {
25
- Service65,
26
- node69
27
- } from "./config-99v39pa8.js";
25
+ Service58,
26
+ node61
27
+ } from "./bus-syb4ysvy.js";
28
28
  import {
29
- Service66,
30
- node70
31
- } from "./config-s5met55r.js";
29
+ Service71,
30
+ node75
31
+ } from "./bus-qwjmgwmn.js";
32
32
  import {
33
33
  __export
34
- } from "./config-9rqn6x4v.js";
34
+ } from "./bus-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
37
  var exports_permission = {};
@@ -43,7 +43,7 @@ __export(exports_permission, {
43
43
  DeclinedError: () => DeclinedError2,
44
44
  Effect: () => PermissionEffect,
45
45
  Event: () => Event12,
46
- ID: () => ID8,
46
+ ID: () => ID7,
47
47
  NotFoundError: () => NotFoundError7,
48
48
  Permission: () => exports_permission,
49
49
  Reply: () => Reply2,
@@ -51,11 +51,11 @@ __export(exports_permission, {
51
51
  Request: () => Request2,
52
52
  Rule: () => Rule2,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service63,
54
+ Service: () => Service56,
55
55
  Source: () => Source5,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node67
58
+ node: () => node59
59
59
  });
60
60
  import { makeLocationNode } from "@opencode/util/effect/app-node";
61
61
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
@@ -64,7 +64,7 @@ import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission"
64
64
  import { Event as Event12 } from "@opencode/schema/permission";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
- var ID8 = Permission.ID;
67
+ var ID7 = Permission.ID;
68
68
  var Source5 = Permission.Source;
69
69
  var RequestFields = {
70
70
  sessionID: Permission.Request.fields.sessionID,
@@ -77,17 +77,17 @@ var RequestFields = {
77
77
  var Request2 = Permission.Request;
78
78
  var Reply2 = Permission.Reply;
79
79
  var AssertInput2 = Schema.Struct({
80
- id: ID8.pipe(Schema.optional),
80
+ id: ID7.pipe(Schema.optional),
81
81
  ...RequestFields,
82
- agent: ID11.pipe(Schema.optional)
82
+ agent: ID9.pipe(Schema.optional)
83
83
  }).annotate({ identifier: "Permission.AssertInput" });
84
84
  var ReplyInput2 = Schema.Struct({
85
- requestID: ID8,
85
+ requestID: ID7,
86
86
  reply: Reply2,
87
87
  message: Schema.String.pipe(Schema.optional)
88
88
  }).annotate({ identifier: "Permission.ReplyInput" });
89
89
  var AskResult2 = Schema.Struct({
90
- id: ID8,
90
+ id: ID7,
91
91
  effect: Permission.Effect
92
92
  }).annotate({ identifier: "Permission.AskResult" });
93
93
 
@@ -111,7 +111,7 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
111
111
  }
112
112
 
113
113
  class NotFoundError7 extends Schema.TaggedError()("Permission.NotFoundError", {
114
- requestID: ID8
114
+ requestID: ID7
115
115
  }) {
116
116
  }
117
117
  function evaluate2(action, resource, ...rulesets) {
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
125
125
  return rulesets.flat();
126
126
  }
127
127
 
128
- class Service63 extends Context.Service()("@opencode/Permission") {
128
+ class Service56 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service63, Effect.gen(function* () {
131
- const bus = yield* Service83;
130
+ var layer = Layer.effect(Service56, Effect.gen(function* () {
131
+ const bus = yield* Service82;
132
132
  const location = yield* Service80;
133
- const agents = yield* Service68;
134
- const sessions = yield* Service64;
135
- const saved = yield* Service65;
136
- const hooks = yield* Service66;
133
+ const agents = yield* Service59;
134
+ const sessions = yield* Service57;
135
+ const saved = yield* Service58;
136
+ const hooks = yield* Service71;
137
137
  const pending = new Map;
138
138
  let closed = false;
139
139
  const close = Effect.gen(function* () {
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
186
186
  });
187
187
  function request(input, message) {
188
188
  return {
189
- id: input.id ?? ID8.create(),
189
+ id: input.id ?? ID7.create(),
190
190
  sessionID: input.sessionID,
191
191
  action: input.action,
192
192
  resources: input.resources,
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
211
211
  }));
212
212
  const ask = Effect.fn("Permission.ask")(function* (input) {
213
213
  if (closed)
214
- return { id: input.id ?? ID8.create(), effect: "deny" };
214
+ return { id: input.id ?? ID7.create(), effect: "deny" };
215
215
  const result = yield* evaluateInput(input);
216
216
  const value = request(input, result.message);
217
217
  if (result.effect === "ask")
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
297
297
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
298
298
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
299
299
  });
300
- return Service63.of({ ask, assert, reply, get, forSession, list, close });
300
+ return Service56.of({ ask, assert, reply, get, forSession, list, close });
301
301
  }));
302
- var node67 = makeLocationNode({
303
- service: Service63,
302
+ var node59 = makeLocationNode({
303
+ service: Service56,
304
304
  layer,
305
- deps: [node87, node84, node72, node68, node69, node70]
305
+ deps: [node86, node84, node62, node60, node61, node75]
306
306
  });
307
307
 
308
- export { PermissionEffect, ID8, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError7, evaluate2, merge2, Service63, node67, exports_permission, Rule2, Ruleset2, Event12 };
308
+ export { PermissionEffect, ID7, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError7, evaluate2, merge2, Service56, node59, exports_permission, Rule2, Ruleset2, Event12 };
@@ -1,69 +1,69 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./config-hzav2eaw.js";
4
+ } from "./bus-vxmk6qhg.js";
5
5
  import {
6
- Service83,
7
- node87
8
- } from "./config-pszp576s.js";
6
+ Service82,
7
+ node86
8
+ } from "./bus-fzcec5e2.js";
9
9
  import {
10
10
  llmClient2
11
- } from "./config-5t3nmthw.js";
11
+ } from "./bus-5t3nmthw.js";
12
12
  import {
13
13
  create3
14
- } from "./config-rdw6cm16.js";
14
+ } from "./bus-rdw6cm16.js";
15
15
  import {
16
16
  estimate2
17
- } from "./config-h6vf3j39.js";
17
+ } from "./bus-h6vf3j39.js";
18
18
  import {
19
19
  SessionEvent2
20
- } from "./config-ec1grn59.js";
20
+ } from "./bus-ec1grn59.js";
21
21
  import {
22
22
  provenance2,
23
23
  compatible2,
24
24
  isCheckpoint2,
25
25
  encode2
26
- } from "./config-h9wp8z5w.js";
26
+ } from "./bus-4z58m4b4.js";
27
27
  import {
28
28
  load4
29
- } from "./config-s058642n.js";
29
+ } from "./bus-87qgbvjc.js";
30
30
  import {
31
31
  toLLMMessages2
32
- } from "./config-znsx74x0.js";
32
+ } from "./bus-3556dn8t.js";
33
33
  import {
34
34
  baseTranscript2,
35
35
  unsupportedParts2,
36
36
  boundImages2,
37
- Service27,
38
- node30
39
- } from "./config-xd0gfkns.js";
37
+ Service34,
38
+ node38
39
+ } from "./bus-9fgy035w.js";
40
40
  import {
41
41
  isRetryable2,
42
42
  policy2
43
- } from "./config-zyk1yjk8.js";
43
+ } from "./bus-wecqtg5s.js";
44
44
  import {
45
45
  toSessionError2,
46
46
  contentFilterError2
47
- } from "./config-vbdyyw4h.js";
47
+ } from "./bus-8zhy3fv7.js";
48
48
  import {
49
49
  calculateCost2,
50
50
  record2,
51
51
  add2
52
- } from "./config-tdstcens.js";
52
+ } from "./bus-tdstcens.js";
53
53
  import {
54
54
  __export
55
- } from "./config-9rqn6x4v.js";
55
+ } from "./bus-9rqn6x4v.js";
56
56
 
57
57
  // src/session/compaction.ts
58
58
  var exports_compaction2 = {};
59
59
  __export(exports_compaction2, {
60
- Service: () => Service7,
60
+ Service: () => Service10,
61
61
  SessionCompaction: () => exports_compaction2,
62
62
  buildPrompt: () => buildPrompt2,
63
63
  estimateContext: () => estimateContext2,
64
64
  estimatePrompt: () => estimatePrompt2,
65
- layer: () => layer6,
66
- node: () => node9,
65
+ layer: () => layer7,
66
+ node: () => node12,
67
67
  recentUserMessages: () => recentUserMessages2
68
68
  });
69
69
  import {
@@ -79,7 +79,7 @@ import {
79
79
  } from "@opencode/ai";
80
80
  import { makeLocationNode } from "@opencode/util/effect/app-node";
81
81
  import { Context, Effect, Layer, Result, Stream } from "effect";
82
- class Service7 extends Context.Service()("@opencode/SessionCompaction") {
82
+ class Service10 extends Context.Service()("@opencode/SessionCompaction") {
83
83
  }
84
84
  var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
85
85
  var SHRINK_STEPS = [0.7, 0.5, 0.35];
@@ -158,11 +158,11 @@ var buildPrompt2 = (update, legacy = false) => {
158
158
  };
159
159
  var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
160
160
  var LEGACY_HEADING = "## Additional Context";
161
- var layer6 = Layer.effect(Service7, Effect.gen(function* () {
162
- const bus = yield* Service83;
161
+ var layer7 = Layer.effect(Service10, Effect.gen(function* () {
162
+ const bus = yield* Service82;
163
163
  const llm = yield* LLMClient.Service;
164
164
  const db = (yield* Service84).db;
165
- const requests = yield* Service27;
165
+ const requests = yield* Service34;
166
166
  const state = create3({
167
167
  name: "session-compaction",
168
168
  initial: () => ({ auto: true, keep: 15000 }),
@@ -450,16 +450,16 @@ ${text}`;
450
450
  }, { metadata: outcome.metadata });
451
451
  return { status: "completed" };
452
452
  });
453
- return Service7.of({
453
+ return Service10.of({
454
454
  transform: state.transform,
455
455
  reload: state.reload,
456
456
  compact: (trigger) => compact(trigger).pipe(Effect.onInterrupt(() => trigger.reason === "manual" ? Effect.void : publish(trigger, { error: { type: "compaction.interrupted", message: "Compaction was interrupted" } })), Effect.ensuring(Effect.sync(() => spent.delete(trigger.context.session.id))))
457
457
  });
458
458
  }));
459
- var node9 = makeLocationNode({
460
- service: Service7,
461
- layer: layer6,
462
- deps: [node87, node88, llmClient2, node30]
459
+ var node12 = makeLocationNode({
460
+ service: Service10,
461
+ layer: layer7,
462
+ deps: [node86, node88, llmClient2, node38]
463
463
  });
464
464
  var previousCompaction = (messages) => {
465
465
  const [first] = messages;
@@ -664,4 +664,4 @@ var estimateMedia = (mime) => {
664
664
  return 0;
665
665
  };
666
666
 
667
- export { Service7, buildPrompt2, layer6, node9, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
667
+ export { Service10, buildPrompt2, layer7, node12, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  ID12,
3
3
  Family2
4
- } from "./config-c4724183.js";
4
+ } from "./bus-9z18kp50.js";
5
5
  import {
6
- Service69
7
- } from "./config-wre6jq6t.js";
6
+ Service64
7
+ } from "./bus-qh2fjgsd.js";
8
8
  import {
9
9
  foldSettings2
10
- } from "./config-cjn4ma4m.js";
10
+ } from "./bus-8y0y710j.js";
11
11
 
12
12
  // src/plugin/provider/ollama.ts
13
13
  import { define } from "@opencode/plugin/effect/plugin";
@@ -50,7 +50,7 @@ function make8(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
50
50
  id: "opencode.provider.ollama",
51
51
  effect: Effect.fn(function* (ctx) {
52
52
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
53
- const config = yield* Service69;
53
+ const config = yield* Service64;
54
54
  const source = { current: configured(yield* config.entries(), origin) };
55
55
  const loaded = { models: [], hash: "[]" };
56
56
  yield* ctx.integration.transform((integrations) => {