@opencode/core 0.0.0-dev-150 → 0.0.0-dev-152

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 (824) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +97 -97
  4. package/dist/aisdk.js +103 -103
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +79 -79
  7. package/dist/chunks/{file-mutation-034tev2y.js → bus-034tev2y.js} +2 -2
  8. package/dist/chunks/{file-mutation-9z9tayqc.js → bus-0anyt1n6.js} +5 -5
  9. package/dist/chunks/{file-mutation-0wy96kee.js → bus-0b2mt5gn.js} +9 -9
  10. package/dist/chunks/{file-mutation-jw74caa4.js → bus-0fdggymb.js} +34 -34
  11. package/dist/chunks/{file-mutation-xjxwv06c.js → bus-0gfe9fsk.js} +33 -33
  12. package/dist/chunks/{file-mutation-vp8n94ta.js → bus-0h1znnmj.js} +25 -25
  13. package/dist/chunks/{file-mutation-bwj0e09a.js → bus-0hmmm0am.js} +16 -16
  14. package/dist/chunks/{file-mutation-f5q6vy05.js → bus-0hwce0kj.js} +19 -19
  15. package/dist/chunks/{file-mutation-jzk4jfxk.js → bus-0k7cj3jm.js} +32 -32
  16. package/dist/chunks/{file-mutation-syrgmen4.js → bus-0x2frnqw.js} +32 -32
  17. package/dist/chunks/{file-mutation-jc512s3p.js → bus-12a87htm.js} +8 -8
  18. package/dist/chunks/{file-mutation-44s5ds88.js → bus-143b30bg.js} +34 -34
  19. package/dist/chunks/{file-mutation-1ep2p91f.js → bus-1ep2p91f.js} +2 -2
  20. package/dist/chunks/{file-mutation-vye0b1vt.js → bus-1hhczaqt.js} +74 -74
  21. package/dist/chunks/{file-mutation-z64rkn65.js → bus-1q3kyvas.js} +35 -35
  22. package/dist/chunks/{file-mutation-hmfc8wjy.js → bus-1vngayeg.js} +20 -20
  23. package/dist/chunks/{file-mutation-1x2knyw4.js → bus-1x2knyw4.js} +1 -1
  24. package/dist/chunks/{file-mutation-1yq9hg58.js → bus-1yq9hg58.js} +1 -1
  25. package/dist/chunks/{file-mutation-wrj223sh.js → bus-1ywwe2vf.js} +20 -20
  26. package/dist/chunks/{file-mutation-204s3925.js → bus-204s3925.js} +1 -1
  27. package/dist/chunks/{file-mutation-m5z3tkyc.js → bus-22hvzfep.js} +7 -7
  28. package/dist/chunks/{file-mutation-phzz8nf6.js → bus-262vwvmj.js} +60 -60
  29. package/dist/chunks/{file-mutation-26x8chrq.js → bus-26x8chrq.js} +3 -3
  30. package/dist/chunks/{file-mutation-vrg9pvbr.js → bus-28tb69ev.js} +4 -4
  31. package/dist/chunks/{file-mutation-c5kjsz6q.js → bus-2mbjfaxd.js} +4 -4
  32. package/dist/chunks/{file-mutation-ajdh0zra.js → bus-2rm9p9v2.js} +13 -13
  33. package/dist/chunks/{file-mutation-f6egh6v0.js → bus-2sx3gc78.js} +3 -3
  34. package/dist/chunks/{file-mutation-tvhsqegv.js → bus-2v9xjkct.js} +12 -12
  35. package/dist/chunks/{file-mutation-cgfk4g4x.js → bus-2xb0rse3.js} +11 -11
  36. package/dist/chunks/{file-mutation-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
  37. package/dist/chunks/{file-mutation-g9kk5sfb.js → bus-3mn5pj7y.js} +12 -12
  38. package/dist/chunks/{file-mutation-gam5pswh.js → bus-3mr6yv6e.js} +31 -31
  39. package/dist/chunks/{file-mutation-3nnrz6f6.js → bus-3nnrz6f6.js} +1 -1
  40. package/dist/chunks/{file-mutation-n0dfvze1.js → bus-3w2dxmpf.js} +17 -17
  41. package/dist/chunks/{file-mutation-t07kmxgp.js → bus-40862n3e.js} +26 -26
  42. package/dist/chunks/{file-mutation-84q6t6ac.js → bus-47p5enej.js} +46 -46
  43. package/dist/chunks/{file-mutation-zrm686mt.js → bus-4g39zpm1.js} +6 -6
  44. package/dist/chunks/{file-mutation-n5rt61vk.js → bus-4g4fjqx3.js} +2 -2
  45. package/dist/chunks/{file-mutation-q110nakk.js → bus-4hxq42hq.js} +40 -40
  46. package/dist/chunks/{file-mutation-v1bqj1yq.js → bus-4mecw7tx.js} +4 -4
  47. package/dist/chunks/{file-mutation-yggcq3r2.js → bus-4pw5pj18.js} +18 -18
  48. package/dist/chunks/{file-mutation-4pyp9zr9.js → bus-4pyp9zr9.js} +1 -1
  49. package/dist/chunks/{file-mutation-cqqjw5e0.js → bus-4r9ar4c5.js} +27 -27
  50. package/dist/chunks/{file-mutation-tfnfgxqy.js → bus-4s2mjqvx.js} +7 -7
  51. package/dist/chunks/{file-mutation-4v008n1t.js → bus-4v008n1t.js} +1 -1
  52. package/dist/chunks/{file-mutation-zdvvded9.js → bus-54gmmeqn.js} +22 -22
  53. package/dist/chunks/{file-mutation-ynkzga2v.js → bus-57y44b3r.js} +37 -37
  54. package/dist/chunks/{file-mutation-d65zxn08.js → bus-5ampr7t5.js} +19 -19
  55. package/dist/chunks/{file-mutation-5m9w47nd.js → bus-5m9w47nd.js} +1 -1
  56. package/dist/chunks/{file-mutation-b6vsg801.js → bus-5nnwax6m.js} +5 -5
  57. package/dist/chunks/{file-mutation-x9xdyhyz.js → bus-5pw3r2ne.js} +22 -22
  58. package/dist/chunks/{file-mutation-rcxfmvg3.js → bus-5v6z2aq9.js} +3 -3
  59. package/dist/chunks/{file-mutation-kp1vg9ss.js → bus-5xph8w7t.js} +2 -2
  60. package/dist/chunks/{file-mutation-0qs8yesb.js → bus-66nne91h.js} +24 -24
  61. package/dist/chunks/{file-mutation-sykc9y4a.js → bus-66r9f6z1.js} +5 -5
  62. package/dist/chunks/{file-mutation-6esdw8yj.js → bus-6esdw8yj.js} +1 -1
  63. package/dist/chunks/bus-6hhw3d62.js +511 -0
  64. package/dist/chunks/{file-mutation-fvsxqh4k.js → bus-6nnjhmtv.js} +13 -13
  65. package/dist/chunks/{file-mutation-v5mw2t49.js → bus-6p33ca8y.js} +36 -36
  66. package/dist/chunks/{file-mutation-6xqtcmxs.js → bus-6xqtcmxs.js} +2 -2
  67. package/dist/chunks/{file-mutation-x46ssyqq.js → bus-74kexyah.js} +14 -14
  68. package/dist/chunks/{file-mutation-76cb1hcw.js → bus-76cb1hcw.js} +1 -1
  69. package/dist/chunks/{file-mutation-770pw0s1.js → bus-770pw0s1.js} +1 -1
  70. package/dist/chunks/{file-mutation-br0jzkw0.js → bus-78e9150v.js} +18 -18
  71. package/dist/chunks/{file-mutation-q9z0p7gh.js → bus-7awmyg8w.js} +16 -16
  72. package/dist/chunks/{file-mutation-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
  73. package/dist/chunks/{file-mutation-89rmqxc6.js → bus-7h08hp86.js} +5 -5
  74. package/dist/chunks/{file-mutation-a5hkphf1.js → bus-7hqgrrbh.js} +15 -15
  75. package/dist/chunks/{file-mutation-zb5gs1ba.js → bus-7jdsj2a9.js} +2 -2
  76. package/dist/chunks/{file-mutation-wy6d4nzf.js → bus-7p2xypxk.js} +3 -3
  77. package/dist/chunks/{file-mutation-w307e9wj.js → bus-7twpj7sy.js} +4 -4
  78. package/dist/chunks/{file-mutation-7w2ypzdf.js → bus-7w2ypzdf.js} +1 -1
  79. package/dist/chunks/{file-mutation-k6j7z2k4.js → bus-7xmk8kt5.js} +10 -10
  80. package/dist/chunks/{file-mutation-4cr9j35r.js → bus-7xqx5zcv.js} +18 -18
  81. package/dist/chunks/{file-mutation-erzzkc7h.js → bus-80d82js4.js} +34 -34
  82. package/dist/chunks/{file-mutation-6cn2mxvv.js → bus-82cx696m.js} +9 -9
  83. package/dist/chunks/{file-mutation-xktxpnft.js → bus-8884kj69.js} +31 -31
  84. package/dist/chunks/{file-mutation-55mnpje1.js → bus-8d5qbnzp.js} +17 -17
  85. package/dist/chunks/{file-mutation-8jztxfpf.js → bus-8jztxfpf.js} +1 -1
  86. package/dist/chunks/{file-mutation-h4n5s0gm.js → bus-8n65s3mj.js} +26 -26
  87. package/dist/chunks/{file-mutation-8wtp7s3z.js → bus-8wtp7s3z.js} +1 -1
  88. package/dist/chunks/{file-mutation-90zstvax.js → bus-90zstvax.js} +1 -1
  89. package/dist/chunks/{file-mutation-8wpev9de.js → bus-92xvpge0.js} +1 -1
  90. package/dist/chunks/{file-mutation-2qcan4gv.js → bus-94bbnsy3.js} +12 -12
  91. package/dist/chunks/{file-mutation-mbv7k5zt.js → bus-98yvrg9m.js} +26 -26
  92. package/dist/chunks/{file-mutation-rkkrzzbq.js → bus-9ejttjga.js} +16 -16
  93. package/dist/chunks/{file-mutation-1t3qy2r0.js → bus-9mv7prxk.js} +5 -5
  94. package/dist/chunks/{file-mutation-jft4dbeh.js → bus-9n6rx99f.js} +16 -16
  95. package/dist/chunks/{file-mutation-v7sj5brm.js → bus-9qx2r5e1.js} +12 -12
  96. package/dist/chunks/{file-mutation-wrd39zd3.js → bus-9r0x1bva.js} +9 -9
  97. package/dist/chunks/{file-mutation-a6sanqb6.js → bus-9rpyvasa.js} +21 -21
  98. package/dist/chunks/{file-mutation-jpfg3bv3.js → bus-a1t1p5x7.js} +11 -11
  99. package/dist/chunks/{file-mutation-2cywgpj2.js → bus-a894mmyw.js} +10 -10
  100. package/dist/chunks/{file-mutation-291261ha.js → bus-aaf96cer.js} +18 -18
  101. package/dist/chunks/{file-mutation-knsnfpmh.js → bus-ae36chvm.js} +13 -13
  102. package/dist/chunks/{file-mutation-ez4nhay2.js → bus-amrj7qc1.js} +6 -6
  103. package/dist/chunks/{file-mutation-5hbegf98.js → bus-axv2anjp.js} +3 -3
  104. package/dist/chunks/{file-mutation-2xzxwh9n.js → bus-axvdzfmk.js} +42 -42
  105. package/dist/chunks/{file-mutation-9bc1thgt.js → bus-ayeq9fxf.js} +8 -8
  106. package/dist/chunks/{file-mutation-ayjs7tqn.js → bus-ayjs7tqn.js} +2 -2
  107. package/dist/chunks/{file-mutation-pwqzey69.js → bus-b3yncftq.js} +11 -11
  108. package/dist/chunks/{file-mutation-psj7p3gy.js → bus-b697ydwv.js} +12 -12
  109. package/dist/chunks/{file-mutation-gxk9nqgj.js → bus-b9z4djsc.js} +15 -15
  110. package/dist/chunks/{file-mutation-1zx0pxwe.js → bus-bhqdc3dd.js} +5 -5
  111. package/dist/chunks/{file-mutation-2r5550sa.js → bus-bqa1dn77.js} +27 -27
  112. package/dist/chunks/{file-mutation-6vdm78sx.js → bus-bt2wwv95.js} +14 -14
  113. package/dist/chunks/{file-mutation-p4gp7n98.js → bus-bv13p4fx.js} +34 -34
  114. package/dist/chunks/{file-mutation-22g4mmnz.js → bus-bwssq4c8.js} +17 -17
  115. package/dist/chunks/{file-mutation-n7bhcchc.js → bus-bydj5yam.js} +28 -28
  116. package/dist/chunks/{file-mutation-09bv4atg.js → bus-c46s9eb3.js} +5 -5
  117. package/dist/chunks/{file-mutation-q2w99wmr.js → bus-cahpqgn3.js} +11 -11
  118. package/dist/chunks/{file-mutation-b23hpydp.js → bus-chwzkhva.js} +2 -2
  119. package/dist/chunks/{file-mutation-ch0v3cp9.js → bus-cr9b5z5f.js} +29 -29
  120. package/dist/chunks/{file-mutation-cwrgdav8.js → bus-cwrgdav8.js} +2 -2
  121. package/dist/chunks/{file-mutation-8dzwfsfj.js → bus-d2083a73.js} +9 -9
  122. package/dist/chunks/{file-mutation-c9t2ty9q.js → bus-d2887f8n.js} +4 -4
  123. package/dist/chunks/{file-mutation-d4v9tmah.js → bus-d4v9tmah.js} +2 -2
  124. package/dist/chunks/{file-mutation-stj6qkja.js → bus-d549k1v9.js} +30 -30
  125. package/dist/chunks/{file-mutation-y369bsvk.js → bus-dehz80p8.js} +18 -18
  126. package/dist/chunks/{file-mutation-a9gs869n.js → bus-dey2yzxh.js} +9 -9
  127. package/dist/chunks/{file-mutation-q3w50k8c.js → bus-djh6j75c.js} +28 -28
  128. package/dist/chunks/{file-mutation-zzwc8gnd.js → bus-dnrrejbr.js} +22 -22
  129. package/dist/chunks/{file-mutation-7rw1vw5b.js → bus-dpgr420w.js} +8 -8
  130. package/dist/chunks/{file-mutation-qy453c32.js → bus-dqp29d1q.js} +3 -3
  131. package/dist/chunks/{file-mutation-g59pth55.js → bus-ds0zqevt.js} +10 -10
  132. package/dist/chunks/{file-mutation-nf3nsvxh.js → bus-dt017gbd.js} +4 -4
  133. package/dist/chunks/{file-mutation-dt77769w.js → bus-dt77769w.js} +1 -1
  134. package/dist/chunks/{file-mutation-zy3tpbx7.js → bus-e7f7th6w.js} +15 -15
  135. package/dist/chunks/{file-mutation-e834z07m.js → bus-e834z07m.js} +1 -1
  136. package/dist/chunks/{file-mutation-0yy582wq.js → bus-egz84e2g.js} +8 -8
  137. package/dist/chunks/{file-mutation-2ndq7hcx.js → bus-ennnne6b.js} +23 -23
  138. package/dist/chunks/{file-mutation-t30gga41.js → bus-erce1yde.js} +16 -16
  139. package/dist/chunks/{file-mutation-jrc6mwxy.js → bus-f0hpc87x.js} +6 -6
  140. package/dist/chunks/{file-mutation-fffv3p7h.js → bus-fffv3p7h.js} +1 -1
  141. package/dist/chunks/{file-mutation-fg9p65nk.js → bus-fg9p65nk.js} +2 -2
  142. package/dist/chunks/{file-mutation-xphx33pk.js → bus-frk5he0g.js} +1 -1
  143. package/dist/chunks/{file-mutation-dvrysxe9.js → bus-fxpnf8nj.js} +23 -23
  144. package/dist/chunks/{file-mutation-b6z35kmf.js → bus-fznmdakp.js} +4 -4
  145. package/dist/chunks/{file-mutation-y04qvqhx.js → bus-g56wxgxx.js} +39 -39
  146. package/dist/chunks/{file-mutation-kb4zeprx.js → bus-g6znav2x.js} +27 -27
  147. package/dist/chunks/{file-mutation-36cfnhgq.js → bus-gfavdftz.js} +32 -32
  148. package/dist/chunks/{file-mutation-gg8p9cgs.js → bus-gg8p9cgs.js} +3 -3
  149. package/dist/chunks/{file-mutation-57cc6ds0.js → bus-gr64q9r0.js} +31 -31
  150. package/dist/chunks/{file-mutation-b9tvtgtk.js → bus-gt5e2s7g.js} +14 -14
  151. package/dist/chunks/{file-mutation-d53xcg4f.js → bus-gtdyb2hv.js} +7 -7
  152. package/dist/chunks/{file-mutation-gtn9c16a.js → bus-gtn9c16a.js} +1 -1
  153. package/dist/chunks/{file-mutation-y9f9p42a.js → bus-gy4h7feh.js} +44 -44
  154. package/dist/chunks/{file-mutation-cpsrm9kz.js → bus-gypkc13r.js} +30 -30
  155. package/dist/chunks/{file-mutation-42d0kh11.js → bus-h1cdfdv6.js} +8 -8
  156. package/dist/chunks/{file-mutation-g5vc4awh.js → bus-h4h70rke.js} +11 -11
  157. package/dist/chunks/{file-mutation-dbj4j4p0.js → bus-hhnm585p.js} +11 -11
  158. package/dist/chunks/{file-mutation-8441pj9h.js → bus-hk2cprw7.js} +25 -25
  159. package/dist/chunks/{file-mutation-hpg1pkwy.js → bus-hpg1pkwy.js} +1 -1
  160. package/dist/chunks/{file-mutation-cff47hc0.js → bus-hzq27gzr.js} +27 -27
  161. package/dist/chunks/{file-mutation-3mth2z3s.js → bus-j9k3j265.js} +16 -16
  162. package/dist/chunks/{file-mutation-rc5cfkkt.js → bus-jct98qnh.js} +7 -7
  163. package/dist/chunks/{file-mutation-jfaecv01.js → bus-jfaecv01.js} +1 -1
  164. package/dist/chunks/{file-mutation-hqxkkta1.js → bus-jh74jycr.js} +3 -3
  165. package/dist/chunks/{file-mutation-hdfrs5mg.js → bus-jqyqtkb2.js} +7 -7
  166. package/dist/chunks/{file-mutation-jtnps1zs.js → bus-jtnps1zs.js} +2 -2
  167. package/dist/chunks/{file-mutation-tpx6dfdg.js → bus-jwskem5m.js} +9 -9
  168. package/dist/chunks/bus-jztn5z23.js +18 -0
  169. package/dist/chunks/{file-mutation-2em4q09y.js → bus-k0yyexjz.js} +4 -4
  170. package/dist/chunks/{file-mutation-ehpmpmqy.js → bus-k5gj6mdj.js} +2 -2
  171. package/dist/chunks/{file-mutation-k814nvkf.js → bus-k814nvkf.js} +1 -1
  172. package/dist/chunks/{file-mutation-92smj43y.js → bus-k8czmj01.js} +2 -2
  173. package/dist/chunks/{file-mutation-3ryz99p0.js → bus-k98yejja.js} +5 -5
  174. package/dist/chunks/{file-mutation-kt3bjfbg.js → bus-kt3bjfbg.js} +1 -1
  175. package/dist/chunks/{file-mutation-n1650mfh.js → bus-kw2mbtjb.js} +6 -6
  176. package/dist/chunks/{file-mutation-0qaf62d8.js → bus-m0pa6z8h.js} +17 -17
  177. package/dist/chunks/{file-mutation-m1714858.js → bus-m1714858.js} +1 -1
  178. package/dist/chunks/{file-mutation-m91kzycp.js → bus-m91kzycp.js} +5 -5
  179. package/dist/chunks/{file-mutation-pxbzzzzm.js → bus-m9cgb1kb.js} +154 -154
  180. package/dist/chunks/{file-mutation-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
  181. package/dist/chunks/{file-mutation-2s3pxq91.js → bus-md7y7r04.js} +4 -4
  182. package/dist/chunks/{file-mutation-4ddsgm24.js → bus-mf20dtnm.js} +9 -9
  183. package/dist/chunks/{file-mutation-mgxf3nw1.js → bus-mgxf3nw1.js} +3 -3
  184. package/dist/chunks/{file-mutation-hzw8faeh.js → bus-mk0mrn7p.js} +5 -5
  185. package/dist/chunks/{file-mutation-s9ynkngn.js → bus-mkc5pejr.js} +23 -23
  186. package/dist/chunks/{file-mutation-v0t96s7a.js → bus-mmx1mfjr.js} +4 -4
  187. package/dist/chunks/{file-mutation-sqc0p8sq.js → bus-mp1rva77.js} +15 -15
  188. package/dist/chunks/{file-mutation-3phywp6k.js → bus-mp3es3wh.js} +17 -17
  189. package/dist/chunks/{file-mutation-vjsahgsx.js → bus-mtbmcvn3.js} +22 -22
  190. package/dist/chunks/{file-mutation-rz6zznan.js → bus-mwy1hny1.js} +11 -11
  191. package/dist/chunks/{file-mutation-nwe4qtzq.js → bus-n26fb8s5.js} +18 -18
  192. package/dist/chunks/{file-mutation-3n5jkvcw.js → bus-n72e3dxd.js} +5 -5
  193. package/dist/chunks/{file-mutation-0w2jttgf.js → bus-n8d14czh.js} +2 -2
  194. package/dist/chunks/{file-mutation-qqve4v8g.js → bus-n9zmybh9.js} +8 -8
  195. package/dist/chunks/{file-mutation-qv4vz01m.js → bus-nbagtjvc.js} +11 -11
  196. package/dist/chunks/{file-mutation-0f8tg23y.js → bus-nyarhxsa.js} +3 -3
  197. package/dist/chunks/{file-mutation-qwc0pngt.js → bus-nykvvcdf.js} +28 -28
  198. package/dist/chunks/{file-mutation-p015t6z3.js → bus-p015t6z3.js} +2 -2
  199. package/dist/chunks/{file-mutation-vhc9amj9.js → bus-p2nwte34.js} +14 -14
  200. package/dist/chunks/{file-mutation-pr24arth.js → bus-p7hw6s3p.js} +30 -30
  201. package/dist/chunks/{file-mutation-0m350p2y.js → bus-p982yv7g.js} +15 -15
  202. package/dist/chunks/{file-mutation-kj99f3y3.js → bus-pcw9jkqq.js} +25 -25
  203. package/dist/chunks/{file-mutation-xj5ejtth.js → bus-per75jj3.js} +11 -11
  204. package/dist/chunks/{file-mutation-ga5dber3.js → bus-php6tqqg.js} +13 -13
  205. package/dist/chunks/{file-mutation-0tgj0enh.js → bus-pjq1t0mz.js} +8 -8
  206. package/dist/chunks/{file-mutation-pknna89w.js → bus-pknna89w.js} +1 -1
  207. package/dist/chunks/bus-pth0qd0d.js +257 -0
  208. package/dist/chunks/{file-mutation-p0q2ne2s.js → bus-pwewe2xv.js} +15 -15
  209. package/dist/chunks/{file-mutation-kx9nywdq.js → bus-q0130fbt.js} +8 -8
  210. package/dist/chunks/{file-mutation-q63cb7ap.js → bus-q63cb7ap.js} +3 -3
  211. package/dist/chunks/{file-mutation-yj2b5f3h.js → bus-q7x8fwh9.js} +32 -44
  212. package/dist/chunks/{file-mutation-sawge6zb.js → bus-qn0xtqx2.js} +1 -1
  213. package/dist/chunks/{file-mutation-qp7r0hxv.js → bus-qp7r0hxv.js} +1 -1
  214. package/dist/chunks/{file-mutation-1sfajnh7.js → bus-qyjx7zef.js} +54 -54
  215. package/dist/chunks/{file-mutation-8bmfs902.js → bus-r04jhjmv.js} +22 -22
  216. package/dist/chunks/{file-mutation-r0yr0wbs.js → bus-r0yr0wbs.js} +1 -1
  217. package/dist/chunks/{file-mutation-s3zszyzt.js → bus-r2dfnzky.js} +24 -24
  218. package/dist/chunks/{file-mutation-r41sfy63.js → bus-r41sfy63.js} +2 -2
  219. package/dist/chunks/{file-mutation-r542h3bh.js → bus-r542h3bh.js} +1 -1
  220. package/dist/chunks/{file-mutation-31avdb49.js → bus-r7xar5ns.js} +8 -8
  221. package/dist/chunks/{file-mutation-rb9dy4dg.js → bus-rb9dy4dg.js} +1 -1
  222. package/dist/chunks/{file-mutation-02jpp536.js → bus-rbrtkemz.js} +36 -36
  223. package/dist/chunks/{file-mutation-6fjxz4z4.js → bus-rhnkpwb6.js} +93 -93
  224. package/dist/chunks/{file-mutation-jcqm84fr.js → bus-rjnacbrz.js} +9 -9
  225. package/dist/chunks/{file-mutation-nwbbxj2q.js → bus-rnsevbcg.js} +25 -25
  226. package/dist/chunks/{file-mutation-we7rx8f6.js → bus-rq99gy5c.js} +22 -22
  227. package/dist/chunks/{file-mutation-rt5dr6hb.js → bus-rt5dr6hb.js} +1 -1
  228. package/dist/chunks/{file-mutation-avfx08wj.js → bus-rt9gf2gx.js} +21 -21
  229. package/dist/chunks/{file-mutation-y457bc3h.js → bus-s0sc04p0.js} +9 -9
  230. package/dist/chunks/{file-mutation-36qx82yz.js → bus-s7xmnr8t.js} +6 -6
  231. package/dist/chunks/{file-mutation-sa3fpqfw.js → bus-sa3fpqfw.js} +2 -2
  232. package/dist/chunks/{file-mutation-qcmchz52.js → bus-sfz5r5s7.js} +4 -4
  233. package/dist/chunks/{file-mutation-jb168mmq.js → bus-sh3ewazw.js} +24 -24
  234. package/dist/chunks/{file-mutation-1ck73ww0.js → bus-sphh171f.js} +16 -16
  235. package/dist/chunks/{file-mutation-hvvf9qw8.js → bus-sq4s6wq1.js} +6 -6
  236. package/dist/chunks/{file-mutation-sqjzf8x2.js → bus-sqjzf8x2.js} +1 -1
  237. package/dist/chunks/{file-mutation-gawyv5h6.js → bus-svaxc9ga.js} +37 -37
  238. package/dist/chunks/{file-mutation-svcy3p9a.js → bus-svcy3p9a.js} +1 -1
  239. package/dist/chunks/{file-mutation-wrnggakg.js → bus-t2zvsq3v.js} +21 -21
  240. package/dist/chunks/{file-mutation-615ze5mc.js → bus-t4y8tttc.js} +13 -13
  241. package/dist/chunks/{file-mutation-7hb0ye5y.js → bus-t9pdq77j.js} +6 -6
  242. package/dist/chunks/{file-mutation-tczq8hjw.js → bus-tczq8hjw.js} +1 -1
  243. package/dist/chunks/{file-mutation-04mewp1n.js → bus-tea79k12.js} +6 -6
  244. package/dist/chunks/{file-mutation-hcs64hj8.js → bus-tf1zmpna.js} +25 -25
  245. package/dist/chunks/{file-mutation-tg1vr1qt.js → bus-tg1vr1qt.js} +1 -1
  246. package/dist/chunks/{file-mutation-w7gfejrx.js → bus-tmcdqab3.js} +17 -17
  247. package/dist/chunks/{file-mutation-faazj2st.js → bus-tnd9tkz8.js} +35 -35
  248. package/dist/chunks/{file-mutation-nkfn7phj.js → bus-tqjaw1k6.js} +15 -15
  249. package/dist/chunks/{file-mutation-n6wkrbw6.js → bus-tv1ncpxj.js} +33 -33
  250. package/dist/chunks/{file-mutation-aycr4par.js → bus-tw5b64mh.js} +45 -45
  251. package/dist/chunks/{file-mutation-twssxy5n.js → bus-twssxy5n.js} +2 -2
  252. package/dist/chunks/{file-mutation-tazdrhsb.js → bus-tyqgnm1n.js} +86 -86
  253. package/dist/chunks/{file-mutation-w6c5q4g8.js → bus-v1pjhk6s.js} +51 -51
  254. package/dist/chunks/{file-mutation-h8ktp5nz.js → bus-v24v0w5v.js} +24 -24
  255. package/dist/chunks/{file-mutation-v2r1d0zg.js → bus-v2r1d0zg.js} +1 -1
  256. package/dist/chunks/{file-mutation-ct7725a2.js → bus-vbjqtebd.js} +11 -11
  257. package/dist/chunks/{file-mutation-ccbxgw01.js → bus-vc91vb9f.js} +6 -6
  258. package/dist/chunks/{file-mutation-vmfhgzt5.js → bus-vmfhgzt5.js} +1 -1
  259. package/dist/chunks/{file-mutation-9xzhsdnm.js → bus-vt55bbet.js} +9 -9
  260. package/dist/chunks/{file-mutation-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
  261. package/dist/chunks/{file-mutation-wakvkjy4.js → bus-wakvkjy4.js} +1 -1
  262. package/dist/chunks/{file-mutation-wd87259q.js → bus-wd87259q.js} +1 -1
  263. package/dist/chunks/{file-mutation-bb9y3cr3.js → bus-wd98jrzr.js} +22 -22
  264. package/dist/chunks/{file-mutation-rr4kc3kv.js → bus-whzwjc82.js} +3 -3
  265. package/dist/chunks/{file-mutation-wnhgecwx.js → bus-wnhgecwx.js} +1 -1
  266. package/dist/chunks/{file-mutation-d8p3t516.js → bus-x26wqd07.js} +4 -4
  267. package/dist/chunks/{file-mutation-9zc50dp0.js → bus-x4rdhtj7.js} +1 -1
  268. package/dist/chunks/{file-mutation-m05gm3xd.js → bus-x6fw54z8.js} +12 -12
  269. package/dist/chunks/{file-mutation-hte3z5j4.js → bus-xb1jttyy.js} +5 -5
  270. package/dist/chunks/{file-mutation-bstexjd6.js → bus-xd9cc171.js} +5 -5
  271. package/dist/chunks/bus-xgvyah86.js +26 -0
  272. package/dist/chunks/{file-mutation-a72t788c.js → bus-xq8cwy21.js} +18 -18
  273. package/dist/chunks/{file-mutation-f6a72pnd.js → bus-y17k4q4v.js} +11 -11
  274. package/dist/chunks/{file-mutation-4db922nk.js → bus-y4beb61a.js} +12 -12
  275. package/dist/chunks/{file-mutation-yara3q77.js → bus-yara3q77.js} +2 -2
  276. package/dist/chunks/{file-mutation-yb20nhc3.js → bus-yb20nhc3.js} +1 -1
  277. package/dist/chunks/{file-mutation-bgtvwfds.js → bus-yeyfr6zk.js} +11 -11
  278. package/dist/chunks/{file-mutation-6xks9hqy.js → bus-yf5es9e1.js} +19 -19
  279. package/dist/chunks/{file-mutation-e6197nkp.js → bus-ygn5zq2v.js} +6 -6
  280. package/dist/chunks/{file-mutation-488y184h.js → bus-yyjb7mzv.js} +35 -35
  281. package/dist/chunks/{file-mutation-vyeahs8y.js → bus-z06bhcj3.js} +12 -12
  282. package/dist/chunks/{file-mutation-fnjr23v9.js → bus-z1pk19p9.js} +25 -25
  283. package/dist/chunks/{file-mutation-z38nccrw.js → bus-z38nccrw.js} +1 -1
  284. package/dist/chunks/{file-mutation-zzj2xcr4.js → bus-z70brj9w.js} +6 -6
  285. package/dist/chunks/{file-mutation-34asacga.js → bus-zag14nrm.js} +13 -13
  286. package/dist/chunks/{file-mutation-61ennm6n.js → bus-zba5tm1j.js} +4 -4
  287. package/dist/chunks/{file-mutation-eyck5g6r.js → bus-zfqs8zdj.js} +4 -4
  288. package/dist/chunks/{file-mutation-5cwfc2ka.js → bus-zhbst0xe.js} +13 -13
  289. package/dist/chunks/{file-mutation-7szmtnr1.js → bus-zhdefwpn.js} +4 -4
  290. package/dist/chunks/{file-mutation-66vehr1c.js → bus-zhg8hwj9.js} +3 -3
  291. package/dist/chunks/{file-mutation-xav8p412.js → bus-zw8syyj9.js} +53 -53
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +7 -7
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +91 -91
  297. package/dist/config/discovery.js +90 -90
  298. package/dist/config/integration.js +3 -3
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +107 -107
  301. package/dist/config/plugin/agent.js +121 -121
  302. package/dist/config/plugin/command.js +219 -219
  303. package/dist/config/plugin/compaction.js +162 -162
  304. package/dist/config/plugin/compatibility.js +142 -142
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +122 -122
  307. package/dist/config/plugin/image.js +121 -121
  308. package/dist/config/plugin/instruction.js +121 -121
  309. package/dist/config/plugin/location-watcher.js +123 -123
  310. package/dist/config/plugin/mcp.js +128 -128
  311. package/dist/config/plugin/policy.js +123 -123
  312. package/dist/config/plugin/provider.js +122 -122
  313. package/dist/config/plugin/reference.js +123 -123
  314. package/dist/config/plugin/shell.js +121 -121
  315. package/dist/config/plugin/skill-file.js +138 -138
  316. package/dist/config/plugin/skill-scan.js +1 -1
  317. package/dist/config/plugin/skill.js +143 -143
  318. package/dist/config/plugin/snapshot.js +121 -121
  319. package/dist/config/plugin/source.js +124 -124
  320. package/dist/config/plugin/tool-output.js +122 -122
  321. package/dist/config/plugin/websearch.js +120 -120
  322. package/dist/config/plugin/worktree.js +123 -123
  323. package/dist/config/variable.js +1 -1
  324. package/dist/config/watch.js +1 -1
  325. package/dist/config.js +122 -122
  326. package/dist/console-access.js +1 -1
  327. package/dist/credential/sql.js +2 -2
  328. package/dist/credential.js +89 -89
  329. package/dist/database/database.js +76 -76
  330. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  331. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  332. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  333. package/dist/database/drizzle/index.js +13 -13
  334. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  337. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  341. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  342. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  343. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  344. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  345. package/dist/database/drizzle.js +14 -14
  346. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  347. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  348. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  349. package/dist/database/migration/20260225215848_workspace.js +1 -1
  350. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  351. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  352. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  353. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  354. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  355. package/dist/database/migration/20260323234822_events.js +1 -1
  356. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  357. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  358. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  359. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  360. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  361. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  362. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  363. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  364. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  365. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  366. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  367. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  368. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  369. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  370. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  371. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  372. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  373. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  374. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  375. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  376. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  377. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  378. package/dist/database/migration/20260611035744_credential.js +1 -1
  379. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  380. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  381. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  382. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  383. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  384. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  385. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  386. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  387. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  388. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  389. package/dist/database/migration/20260812213948_worktree.js +1 -1
  390. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  391. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  392. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  393. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  394. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  395. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  396. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  397. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  398. package/dist/database/migration/20261025123711_blob.js +1 -1
  399. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  400. package/dist/database/migration.gen.js +55 -55
  401. package/dist/database/migration.js +57 -57
  402. package/dist/database/path.js +2 -2
  403. package/dist/database/schema.gen.js +1 -1
  404. package/dist/database/schema.sql.js +1 -1
  405. package/dist/database/sqlite.bun.js +1 -1
  406. package/dist/database/sqlite.js +1 -1
  407. package/dist/database/sqlite.node.js +1 -1
  408. package/dist/database/sqlite.workerd.js +1 -1
  409. package/dist/database/v1-migration.bun.js +98 -98
  410. package/dist/database/v1-migration.js +1 -1
  411. package/dist/effect/app-node-builder.js +377 -381
  412. package/dist/effect/app-node-platform.js +2 -2
  413. package/dist/effect/keyed-mutex.js +1 -1
  414. package/dist/effect/websocket-constructor.js +1 -1
  415. package/dist/environment/driver.js +1 -1
  416. package/dist/environment/environment.js +101 -101
  417. package/dist/environment/exec-defaults.js +2 -2
  418. package/dist/environment/files.js +1 -1
  419. package/dist/environment/index.js +101 -101
  420. package/dist/environment/local.js +2 -2
  421. package/dist/environment/memory.js +2 -2
  422. package/dist/environment/unavailable.js +3 -3
  423. package/dist/event/sql.js +1 -1
  424. package/dist/event-logger.js +80 -80
  425. package/dist/file-access.js +148 -148
  426. package/dist/file-mutation.js +102 -102
  427. package/dist/file-retention.js +1 -1
  428. package/dist/filesystem/fff.bun.js +2 -2
  429. package/dist/filesystem/fff.js +1 -1
  430. package/dist/filesystem/fff.node.js +2 -2
  431. package/dist/filesystem/fff.workerd.js +2 -2
  432. package/dist/filesystem/file-watch.js +86 -86
  433. package/dist/filesystem/location-watcher-policy.js +4 -4
  434. package/dist/filesystem/location-watcher.js +234 -234
  435. package/dist/filesystem/protected.js +1 -1
  436. package/dist/filesystem/search.js +107 -107
  437. package/dist/filesystem/watcher-binding.js +1 -1
  438. package/dist/filesystem/watcher.js +9 -9
  439. package/dist/filesystem.js +110 -110
  440. package/dist/form.js +90 -90
  441. package/dist/formatter/builtins.js +4 -4
  442. package/dist/formatter.js +95 -95
  443. package/dist/generate.js +115 -115
  444. package/dist/git.js +7 -7
  445. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  446. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  447. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  448. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  449. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  450. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  451. package/dist/github-copilot/copilot-provider.js +17 -17
  452. package/dist/github-copilot/models.js +107 -107
  453. package/dist/github-copilot/openai-compatible-error.js +1 -1
  454. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  455. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  456. package/dist/github-copilot/responses/openai-error.js +1 -1
  457. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  458. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  459. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  460. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  461. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  462. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  463. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  464. package/dist/image/photon-normalize.js +1 -1
  465. package/dist/image/photon-worker.js +1 -1
  466. package/dist/image/photon.js +4 -4
  467. package/dist/image.js +6 -6
  468. package/dist/instance/service.js +5 -5
  469. package/dist/instance.js +368 -372
  470. package/dist/instruction-discovery.js +90 -90
  471. package/dist/instructions/builtins.js +95 -95
  472. package/dist/instructions/index.js +1 -1
  473. package/dist/integration/connection.js +3 -3
  474. package/dist/integration.js +91 -91
  475. package/dist/job.js +82 -82
  476. package/dist/kv/sql.js +2 -2
  477. package/dist/kv.js +79 -79
  478. package/dist/location-activity.js +166 -166
  479. package/dist/location-lifecycle.js +142 -142
  480. package/dist/location-service-map.js +94 -94
  481. package/dist/location-services.js +365 -369
  482. package/dist/location.js +95 -95
  483. package/dist/managed-policy.js +3 -3
  484. package/dist/mcp/client.js +99 -99
  485. package/dist/mcp/index.js +117 -117
  486. package/dist/mcp/instructions.js +168 -168
  487. package/dist/mcp/oauth.js +84 -84
  488. package/dist/mcp/socket-client.js +1 -1
  489. package/dist/mcp/stdio.js +98 -98
  490. package/dist/mime.js +1 -1
  491. package/dist/modal/models.js +107 -107
  492. package/dist/model-resolver.js +107 -107
  493. package/dist/model-retry.js +1 -1
  494. package/dist/model.js +108 -108
  495. package/dist/models-dev/v1.js +1 -1
  496. package/dist/models-dev.js +116 -116
  497. package/dist/oauth/page.js +1 -1
  498. package/dist/permission/saved.js +86 -86
  499. package/dist/permission/sql.js +5 -5
  500. package/dist/permission.js +145 -145
  501. package/dist/persistent-pty/binary.bun.js +1 -1
  502. package/dist/persistent-pty/daemon.js +1 -1
  503. package/dist/persistent-pty/index.js +96 -96
  504. package/dist/persistent-pty/pty-binding.js +1 -1
  505. package/dist/persistent-pty.js +81 -81
  506. package/dist/plugin/agent.js +80 -80
  507. package/dist/plugin/command.js +108 -108
  508. package/dist/plugin/hooks.js +5 -5
  509. package/dist/plugin/host.js +225 -225
  510. package/dist/plugin/identity.js +5 -5
  511. package/dist/plugin/instance.js +1 -1
  512. package/dist/plugin/internal.js +338 -342
  513. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  514. package/dist/plugin/models-dev.js +105 -105
  515. package/dist/plugin/module.js +121 -121
  516. package/dist/plugin/optimize.js +4 -4
  517. package/dist/plugin/plan.js +138 -138
  518. package/dist/plugin/promise.js +1 -1
  519. package/dist/plugin/provider/amazon-bedrock.js +98 -98
  520. package/dist/plugin/provider/azure.js +121 -121
  521. package/dist/plugin/provider/cerebras.js +1 -1
  522. package/dist/plugin/provider/chatgpt.js +121 -121
  523. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  524. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  525. package/dist/plugin/provider/configured.js +117 -117
  526. package/dist/plugin/provider/databricks.js +1 -1
  527. package/dist/plugin/provider/digitalocean.js +101 -101
  528. package/dist/plugin/provider/dynamic.js +2 -2
  529. package/dist/plugin/provider/github-copilot.js +103 -103
  530. package/dist/plugin/provider/gitlab.js +101 -101
  531. package/dist/plugin/provider/google-vertex.js +118 -118
  532. package/dist/plugin/provider/kilo.js +1 -1
  533. package/dist/plugin/provider/llmgateway.js +84 -84
  534. package/dist/plugin/provider/lmstudio.js +128 -128
  535. package/dist/plugin/provider/local.js +127 -127
  536. package/dist/plugin/provider/modal.js +100 -100
  537. package/dist/plugin/provider/neon.js +1 -1
  538. package/dist/plugin/provider/nvidia.js +1 -1
  539. package/dist/plugin/provider/ollama.js +130 -130
  540. package/dist/plugin/provider/openai-context-caps.js +98 -98
  541. package/dist/plugin/provider/openai.js +123 -123
  542. package/dist/plugin/provider/opencode.js +124 -124
  543. package/dist/plugin/provider/openrouter.js +99 -99
  544. package/dist/plugin/provider/poe.js +85 -85
  545. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  546. package/dist/plugin/provider/sap-ai-core.js +99 -99
  547. package/dist/plugin/provider/sdk-factory.js +1 -1
  548. package/dist/plugin/provider/snowflake-cortex.js +120 -120
  549. package/dist/plugin/provider/vllm.js +130 -130
  550. package/dist/plugin/provider/xai.js +99 -99
  551. package/dist/plugin/provider/zenmux.js +1 -1
  552. package/dist/plugin/provider.js +171 -175
  553. package/dist/plugin/sdk.js +82 -82
  554. package/dist/plugin/service.js +3 -3
  555. package/dist/plugin/skill.js +139 -139
  556. package/dist/plugin/source-directory.js +1 -1
  557. package/dist/plugin/supervisor.js +355 -359
  558. package/dist/plugin/tool-input-repair.js +4 -4
  559. package/dist/plugin/update.js +6 -6
  560. package/dist/plugin/vcs/git.js +92 -92
  561. package/dist/plugin/vcs/hg.js +92 -92
  562. package/dist/plugin/verbosity.js +101 -101
  563. package/dist/plugin/warming.js +119 -119
  564. package/dist/plugin/websearch/exa.js +7 -7
  565. package/dist/plugin/websearch/firecrawl.js +6 -6
  566. package/dist/plugin/websearch/index.js +9 -9
  567. package/dist/plugin/websearch/mcp.js +2 -2
  568. package/dist/plugin/websearch/parallel.js +8 -8
  569. package/dist/plugin/websearch/tavily.js +4 -4
  570. package/dist/plugin/websearch/tinyfish.js +8 -8
  571. package/dist/plugin.js +236 -236
  572. package/dist/project/icon.js +5 -5
  573. package/dist/project/schema.js +6 -6
  574. package/dist/project/sql.js +4 -4
  575. package/dist/project.js +96 -96
  576. package/dist/provider.js +105 -105
  577. package/dist/pty/protocol.js +1 -1
  578. package/dist/pty/ticket.js +1 -1
  579. package/dist/pty.js +104 -104
  580. package/dist/reference/instructions.js +96 -96
  581. package/dist/reference.js +98 -98
  582. package/dist/repository-cache.js +88 -88
  583. package/dist/repository.js +3 -3
  584. package/dist/ripgrep/binary.js +2 -2
  585. package/dist/ripgrep.js +105 -105
  586. package/dist/rpc.js +94 -94
  587. package/dist/schema.js +1 -1
  588. package/dist/session/affinity.js +1 -1
  589. package/dist/session/blob.js +120 -120
  590. package/dist/session/command.js +80 -80
  591. package/dist/session/compaction.js +164 -164
  592. package/dist/session/context.js +188 -188
  593. package/dist/session/diff.js +96 -96
  594. package/dist/session/environment.js +5 -5
  595. package/dist/session/error.js +5 -5
  596. package/dist/session/event.js +1 -1
  597. package/dist/session/execution/restart.js +231 -231
  598. package/dist/session/execution.js +154 -154
  599. package/dist/session/generate.js +190 -190
  600. package/dist/session/history.js +127 -127
  601. package/dist/session/inbox.js +138 -138
  602. package/dist/session/info.js +3 -3
  603. package/dist/session/instruction-entry.js +85 -85
  604. package/dist/session/instruction-state.js +8 -8
  605. package/dist/session/instructions.js +132 -132
  606. package/dist/session/message-updater.js +4 -4
  607. package/dist/session/message.js +1 -1
  608. package/dist/session/model-request.js +155 -155
  609. package/dist/session/model-transport.js +9 -9
  610. package/dist/session/move.js +156 -156
  611. package/dist/session/projector.js +134 -134
  612. package/dist/session/prompt.js +140 -140
  613. package/dist/session/recent-text.js +1 -1
  614. package/dist/session/revert.js +130 -130
  615. package/dist/session/run-coordinator.js +3 -3
  616. package/dist/session/runner/index.js +3 -3
  617. package/dist/session/runner/llm.js +238 -238
  618. package/dist/session/runner/max-steps.js +1 -1
  619. package/dist/session/runner/model.js +108 -108
  620. package/dist/session/runner/publish-llm-event.js +141 -141
  621. package/dist/session/runner/retry.js +3 -3
  622. package/dist/session/runner/step.js +154 -154
  623. package/dist/session/runner/to-llm-message.js +128 -128
  624. package/dist/session/schema.js +3 -3
  625. package/dist/session/session.js +170 -170
  626. package/dist/session/shell.js +135 -135
  627. package/dist/session/skill.js +139 -139
  628. package/dist/session/sql.js +5 -5
  629. package/dist/session/stats.js +81 -81
  630. package/dist/session/store.js +133 -133
  631. package/dist/session/stored.js +2 -2
  632. package/dist/session/subagent-completion.js +1 -1
  633. package/dist/session/subagent-job.js +219 -219
  634. package/dist/session/system-prompt.js +1 -1
  635. package/dist/session/title.js +192 -192
  636. package/dist/session/to-session-error.js +140 -140
  637. package/dist/session/transfer.js +228 -228
  638. package/dist/session/usage.js +1 -1
  639. package/dist/session.js +223 -223
  640. package/dist/shell/parse.js +6 -6
  641. package/dist/shell/result.js +1 -1
  642. package/dist/shell/scan.js +1 -1
  643. package/dist/shell/select.js +11 -11
  644. package/dist/shell.js +137 -137
  645. package/dist/skill/discovery.js +6 -6
  646. package/dist/skill/instructions.js +143 -143
  647. package/dist/skill.js +148 -148
  648. package/dist/snapshot.js +99 -99
  649. package/dist/state.js +1 -1
  650. package/dist/tool/html-markdown.js +1 -1
  651. package/dist/tool/http-body.js +1 -1
  652. package/dist/tool/mcp.js +165 -165
  653. package/dist/tool/plugin/edit.js +156 -156
  654. package/dist/tool/plugin/file-diff.js +1 -1
  655. package/dist/tool/plugin/glob.js +160 -160
  656. package/dist/tool/plugin/grep.js +160 -160
  657. package/dist/tool/plugin/mcp-resource.js +152 -152
  658. package/dist/tool/plugin/opencode.js +153 -153
  659. package/dist/tool/plugin/patch.js +158 -158
  660. package/dist/tool/plugin/question.js +136 -136
  661. package/dist/tool/plugin/read.js +161 -161
  662. package/dist/tool/plugin/shell.js +218 -218
  663. package/dist/tool/plugin/skill.js +147 -147
  664. package/dist/tool/plugin/subagent.js +224 -224
  665. package/dist/tool/plugin/todo.js +145 -145
  666. package/dist/tool/plugin/webfetch.js +147 -147
  667. package/dist/tool/plugin/websearch.js +145 -145
  668. package/dist/tool/plugin/write.js +158 -158
  669. package/dist/tool/read-filesystem.js +108 -108
  670. package/dist/tool/runtime.js +1 -1
  671. package/dist/tool-output.js +7 -7
  672. package/dist/tool.js +14 -14
  673. package/dist/usage-limits.js +95 -95
  674. package/dist/util/error-summary.js +1 -1
  675. package/dist/util/git-executable.js +3 -3
  676. package/dist/util/lazy.js +1 -1
  677. package/dist/util/slug.js +1 -1
  678. package/dist/util/token.js +1 -1
  679. package/dist/util/which.js +1 -1
  680. package/dist/util/wildcard.js +1 -1
  681. package/dist/v1/config/agent.js +5 -5
  682. package/dist/v1/config/command.js +3 -3
  683. package/dist/v1/config/mcp.js +4 -4
  684. package/dist/v1/config/migrate.js +100 -100
  685. package/dist/v1/config/permission.js +3 -3
  686. package/dist/v1/config/plugin.js +1 -1
  687. package/dist/v1/config/provider-options.js +1 -1
  688. package/dist/v1/config/provider.js +2 -2
  689. package/dist/variant.js +99 -99
  690. package/dist/vcs/patch.js +1 -1
  691. package/dist/vcs.js +97 -97
  692. package/dist/voice.js +94 -94
  693. package/dist/websearch.js +88 -88
  694. package/dist/wellknown/plugin.js +82 -82
  695. package/dist/wellknown.js +85 -85
  696. package/dist/workspace/driver.js +5 -5
  697. package/dist/workspace/sql.js +1 -1
  698. package/dist/workspace.js +86 -86
  699. package/dist/worktree/directory.js +2 -2
  700. package/dist/worktree/git.js +9 -9
  701. package/dist/worktree/sql.js +5 -5
  702. package/dist/worktree/strategies.js +97 -97
  703. package/dist/worktree.js +104 -104
  704. package/package.json +9 -12
  705. package/dist/chunks/file-mutation-301cc765.js +0 -511
  706. package/dist/chunks/file-mutation-6h2wa517.js +0 -257
  707. package/dist/chunks/file-mutation-bv5h9gn1.js +0 -32
  708. package/dist/chunks/file-mutation-n3r3rt18.js +0 -18
  709. package/dist/chunks/file-mutation-veqvce7d.js +0 -15
  710. package/dist/chunks/file-mutation-wm0kh7y8.js +0 -26
  711. package/dist/chunks/file-mutation-ym463w8f.js +0 -17
  712. package/dist/chunks/file-mutation-z0bkrqjs.js +0 -15
  713. package/dist/plugin/provider/cohere.js +0 -7
  714. package/dist/plugin/provider/factory.js +0 -6
  715. package/dist/plugin/provider/perplexity.js +0 -7
  716. package/dist/plugin/provider/vercel.js +0 -103
  717. package/dist/types/plugin/provider/cohere.d.ts +0 -1
  718. package/dist/types/plugin/provider/factory.d.ts +0 -6
  719. package/dist/types/plugin/provider/perplexity.d.ts +0 -1
  720. package/dist/types/plugin/provider/vercel.d.ts +0 -1
  721. /package/dist/chunks/{file-mutation-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
  722. /package/dist/chunks/{file-mutation-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
  723. /package/dist/chunks/{file-mutation-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
  724. /package/dist/chunks/{file-mutation-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
  725. /package/dist/chunks/{file-mutation-1jakw16s.js → bus-1jakw16s.js} +0 -0
  726. /package/dist/chunks/{file-mutation-24dcb14g.js → bus-24dcb14g.js} +0 -0
  727. /package/dist/chunks/{file-mutation-2710q6r3.js → bus-2710q6r3.js} +0 -0
  728. /package/dist/chunks/{file-mutation-2bv980vf.js → bus-2bv980vf.js} +0 -0
  729. /package/dist/chunks/{file-mutation-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
  730. /package/dist/chunks/{file-mutation-359p4xyc.js → bus-359p4xyc.js} +0 -0
  731. /package/dist/chunks/{file-mutation-3asan66x.js → bus-3asan66x.js} +0 -0
  732. /package/dist/chunks/{file-mutation-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
  733. /package/dist/chunks/{file-mutation-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
  734. /package/dist/chunks/{file-mutation-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
  735. /package/dist/chunks/{file-mutation-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
  736. /package/dist/chunks/{file-mutation-4m86bj6y.js → bus-4m86bj6y.js} +0 -0
  737. /package/dist/chunks/{file-mutation-4vcrnpx2.js → bus-4vcrnpx2.js} +0 -0
  738. /package/dist/chunks/{file-mutation-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
  739. /package/dist/chunks/{file-mutation-53557ph1.js → bus-53557ph1.js} +0 -0
  740. /package/dist/chunks/{file-mutation-550bvhaj.js → bus-550bvhaj.js} +0 -0
  741. /package/dist/chunks/{file-mutation-5w3e23ze.js → bus-5w3e23ze.js} +0 -0
  742. /package/dist/chunks/{file-mutation-6prwharc.js → bus-6prwharc.js} +0 -0
  743. /package/dist/chunks/{file-mutation-6q2bdcd1.js → bus-6q2bdcd1.js} +0 -0
  744. /package/dist/chunks/{file-mutation-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
  745. /package/dist/chunks/{file-mutation-7m9af43g.js → bus-7m9af43g.js} +0 -0
  746. /package/dist/chunks/{file-mutation-822emrt2.js → bus-822emrt2.js} +0 -0
  747. /package/dist/chunks/{file-mutation-84wd9syh.js → bus-84wd9syh.js} +0 -0
  748. /package/dist/chunks/{file-mutation-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
  749. /package/dist/chunks/{file-mutation-8n3pysct.js → bus-8n3pysct.js} +0 -0
  750. /package/dist/chunks/{file-mutation-8wj87zfr.js → bus-8wj87zfr.js} +0 -0
  751. /package/dist/chunks/{file-mutation-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
  752. /package/dist/chunks/{file-mutation-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
  753. /package/dist/chunks/{file-mutation-a058387c.js → bus-a058387c.js} +0 -0
  754. /package/dist/chunks/{file-mutation-a6k6eb26.js → bus-a6k6eb26.js} +0 -0
  755. /package/dist/chunks/{file-mutation-af5trqkr.js → bus-af5trqkr.js} +0 -0
  756. /package/dist/chunks/{file-mutation-afrmfg78.js → bus-afrmfg78.js} +0 -0
  757. /package/dist/chunks/{file-mutation-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
  758. /package/dist/chunks/{file-mutation-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
  759. /package/dist/chunks/{file-mutation-beh6qq61.js → bus-beh6qq61.js} +0 -0
  760. /package/dist/chunks/{file-mutation-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
  761. /package/dist/chunks/{file-mutation-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
  762. /package/dist/chunks/{file-mutation-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
  763. /package/dist/chunks/{file-mutation-cqv5kn06.js → bus-cqv5kn06.js} +0 -0
  764. /package/dist/chunks/{file-mutation-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
  765. /package/dist/chunks/{file-mutation-d9fn303g.js → bus-d9fn303g.js} +0 -0
  766. /package/dist/chunks/{file-mutation-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
  767. /package/dist/chunks/{file-mutation-dajrwvna.js → bus-dajrwvna.js} +0 -0
  768. /package/dist/chunks/{file-mutation-dap0rakb.js → bus-dap0rakb.js} +0 -0
  769. /package/dist/chunks/{file-mutation-df08tz66.js → bus-df08tz66.js} +0 -0
  770. /package/dist/chunks/{file-mutation-dy18nga0.js → bus-dy18nga0.js} +0 -0
  771. /package/dist/chunks/{file-mutation-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
  772. /package/dist/chunks/{file-mutation-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
  773. /package/dist/chunks/{file-mutation-ec1grn59.js → bus-ec1grn59.js} +0 -0
  774. /package/dist/chunks/{file-mutation-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
  775. /package/dist/chunks/{file-mutation-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
  776. /package/dist/chunks/{file-mutation-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
  777. /package/dist/chunks/{file-mutation-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
  778. /package/dist/chunks/{file-mutation-faypxj3z.js → bus-faypxj3z.js} +0 -0
  779. /package/dist/chunks/{file-mutation-fd410y7t.js → bus-fd410y7t.js} +0 -0
  780. /package/dist/chunks/{file-mutation-fkpq3x5p.js → bus-fkpq3x5p.js} +0 -0
  781. /package/dist/chunks/{file-mutation-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
  782. /package/dist/chunks/{file-mutation-g86h250q.js → bus-g86h250q.js} +0 -0
  783. /package/dist/chunks/{file-mutation-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
  784. /package/dist/chunks/{file-mutation-gftt206x.js → bus-gftt206x.js} +0 -0
  785. /package/dist/chunks/{file-mutation-hcxmzztb.js → bus-hcxmzztb.js} +0 -0
  786. /package/dist/chunks/{file-mutation-hk9envan.js → bus-hk9envan.js} +0 -0
  787. /package/dist/chunks/{file-mutation-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
  788. /package/dist/chunks/{file-mutation-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
  789. /package/dist/chunks/{file-mutation-jjkms2e6.js → bus-jjkms2e6.js} +0 -0
  790. /package/dist/chunks/{file-mutation-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
  791. /package/dist/chunks/{file-mutation-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
  792. /package/dist/chunks/{file-mutation-jwr30sdr.js → bus-jwr30sdr.js} +0 -0
  793. /package/dist/chunks/{file-mutation-jze0r7bz.js → bus-jze0r7bz.js} +0 -0
  794. /package/dist/chunks/{file-mutation-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
  795. /package/dist/chunks/{file-mutation-m18g726c.js → bus-m18g726c.js} +0 -0
  796. /package/dist/chunks/{file-mutation-mp448xyj.js → bus-mp448xyj.js} +0 -0
  797. /package/dist/chunks/{file-mutation-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
  798. /package/dist/chunks/{file-mutation-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
  799. /package/dist/chunks/{file-mutation-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
  800. /package/dist/chunks/{file-mutation-ncqqe42p.js → bus-ncqqe42p.js} +0 -0
  801. /package/dist/chunks/{file-mutation-njntx4h6.js → bus-njntx4h6.js} +0 -0
  802. /package/dist/chunks/{file-mutation-p71gwv9c.js → bus-p71gwv9c.js} +0 -0
  803. /package/dist/chunks/{file-mutation-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
  804. /package/dist/chunks/{file-mutation-q74kybfr.js → bus-q74kybfr.js} +0 -0
  805. /package/dist/chunks/{file-mutation-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
  806. /package/dist/chunks/{file-mutation-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
  807. /package/dist/chunks/{file-mutation-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
  808. /package/dist/chunks/{file-mutation-qg3g05ea.js → bus-qg3g05ea.js} +0 -0
  809. /package/dist/chunks/{file-mutation-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
  810. /package/dist/chunks/{file-mutation-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
  811. /package/dist/chunks/{file-mutation-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
  812. /package/dist/chunks/{file-mutation-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
  813. /package/dist/chunks/{file-mutation-ve7vex1e.js → bus-ve7vex1e.js} +0 -0
  814. /package/dist/chunks/{file-mutation-w803qqfp.js → bus-w803qqfp.js} +0 -0
  815. /package/dist/chunks/{file-mutation-wc3fc9cn.js → bus-wc3fc9cn.js} +0 -0
  816. /package/dist/chunks/{file-mutation-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
  817. /package/dist/chunks/{file-mutation-wtztk69x.js → bus-wtztk69x.js} +0 -0
  818. /package/dist/chunks/{file-mutation-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
  819. /package/dist/chunks/{file-mutation-x61499pn.js → bus-x61499pn.js} +0 -0
  820. /package/dist/chunks/{file-mutation-y44na4kk.js → bus-y44na4kk.js} +0 -0
  821. /package/dist/chunks/{file-mutation-y8f7s663.js → bus-y8f7s663.js} +0 -0
  822. /package/dist/chunks/{file-mutation-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
  823. /package/dist/chunks/{file-mutation-z5v4ffb3.js → bus-z5v4ffb3.js} +0 -0
  824. /package/dist/chunks/{file-mutation-z9919s4g.js → bus-z9919s4g.js} +0 -0
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  ID11,
3
- Info16,
3
+ Info14,
4
4
  SessionSchema2
5
- } from "./file-mutation-zb5gs1ba.js";
5
+ } from "./bus-7jdsj2a9.js";
6
6
  import {
7
7
  RelativePath2
8
- } from "./file-mutation-z5v4ffb3.js";
8
+ } from "./bus-z5v4ffb3.js";
9
9
  import {
10
- Service85,
11
- node89
12
- } from "./file-mutation-pwqzey69.js";
10
+ Service86,
11
+ node90
12
+ } from "./bus-b3yncftq.js";
13
13
  import {
14
14
  isSynced2,
15
- Service84,
16
- node88
17
- } from "./file-mutation-rkkrzzbq.js";
15
+ Service85,
16
+ node89
17
+ } from "./bus-9ejttjga.js";
18
18
  import {
19
- Service82,
20
- node86
21
- } from "./file-mutation-gawyv5h6.js";
19
+ Service79,
20
+ node83
21
+ } from "./bus-svaxc9ga.js";
22
22
  import {
23
- Service40,
24
- node42
25
- } from "./file-mutation-hvvf9qw8.js";
23
+ Service47,
24
+ node49
25
+ } from "./bus-sq4s6wq1.js";
26
26
  import {
27
27
  SessionEvent2
28
- } from "./file-mutation-ec1grn59.js";
28
+ } from "./bus-ec1grn59.js";
29
29
  import {
30
30
  SessionMessageTable2
31
- } from "./file-mutation-gg8p9cgs.js";
31
+ } from "./bus-gg8p9cgs.js";
32
32
  import {
33
33
  enabled2
34
- } from "./file-mutation-e6197nkp.js";
34
+ } from "./bus-ygn5zq2v.js";
35
35
  import {
36
- NotFoundError10,
36
+ NotFoundError9,
37
37
  InvalidListCursorError2,
38
38
  MessageNotFoundError2,
39
39
  ForkEmptyError2,
@@ -45,80 +45,80 @@ import {
45
45
  BusyError2,
46
46
  InboxConflictError2,
47
47
  SkillNotFoundError2
48
- } from "./file-mutation-04mewp1n.js";
48
+ } from "./bus-tea79k12.js";
49
49
  import {
50
50
  current2
51
- } from "./file-mutation-nf3nsvxh.js";
51
+ } from "./bus-dt017gbd.js";
52
52
  import {
53
- node41,
53
+ node48,
54
54
  listWithRefs2
55
- } from "./file-mutation-q3w50k8c.js";
55
+ } from "./bus-djh6j75c.js";
56
56
  import {
57
57
  snapshot2
58
- } from "./file-mutation-jft4dbeh.js";
58
+ } from "./bus-9n6rx99f.js";
59
59
  import {
60
60
  Slug2
61
- } from "./file-mutation-gebd4c9n.js";
61
+ } from "./bus-gebd4c9n.js";
62
62
  import {
63
63
  SessionAlreadyProjected2,
64
- node26
65
- } from "./file-mutation-kb4zeprx.js";
64
+ node24
65
+ } from "./bus-g6znav2x.js";
66
66
  import {
67
67
  Metadata2,
68
- node45
69
- } from "./file-mutation-jpfg3bv3.js";
68
+ node60
69
+ } from "./bus-a1t1p5x7.js";
70
70
  import {
71
71
  ListInput3,
72
- Service70,
73
- node74
74
- } from "./file-mutation-sqc0p8sq.js";
72
+ Service67,
73
+ node71
74
+ } from "./bus-mp1rva77.js";
75
75
  import {
76
- Service43,
77
- node46
78
- } from "./file-mutation-b9tvtgtk.js";
76
+ Service49,
77
+ node51
78
+ } from "./bus-gt5e2s7g.js";
79
79
  import {
80
- Service37,
81
- node40
82
- } from "./file-mutation-2xzxwh9n.js";
80
+ Service44,
81
+ node47
82
+ } from "./bus-axvdzfmk.js";
83
83
  import {
84
84
  llmClient2
85
- } from "./file-mutation-p015t6z3.js";
85
+ } from "./bus-p015t6z3.js";
86
86
  import {
87
- Service33,
88
- node36
89
- } from "./file-mutation-ct7725a2.js";
87
+ Service26,
88
+ node29
89
+ } from "./bus-vbjqtebd.js";
90
90
  import {
91
91
  generate2
92
- } from "./file-mutation-nwe4qtzq.js";
92
+ } from "./bus-n26fb8s5.js";
93
93
  import {
94
94
  execute2
95
- } from "./file-mutation-0tgj0enh.js";
95
+ } from "./bus-pjq1t0mz.js";
96
96
  import {
97
- Service65,
98
- node69,
97
+ Service61,
98
+ node64,
99
99
  canonical3
100
- } from "./file-mutation-9xzhsdnm.js";
100
+ } from "./bus-vt55bbet.js";
101
101
  import {
102
102
  DestinationNotFoundError2,
103
103
  DestinationNotDirectoryError2,
104
104
  DestinationUnavailableError2,
105
- Service22,
106
- node25
107
- } from "./file-mutation-phzz8nf6.js";
105
+ Service14,
106
+ node17
107
+ } from "./bus-262vwvmj.js";
108
108
  import {
109
- Service45,
110
- node48
111
- } from "./file-mutation-jc512s3p.js";
109
+ Service42,
110
+ node45
111
+ } from "./bus-12a87htm.js";
112
112
  import {
113
113
  make12
114
- } from "./file-mutation-erzzkc7h.js";
114
+ } from "./bus-80d82js4.js";
115
115
  import {
116
116
  TurnRangeError2,
117
117
  turn2
118
- } from "./file-mutation-g5vc4awh.js";
118
+ } from "./bus-h4h70rke.js";
119
119
  import {
120
120
  __export
121
- } from "./file-mutation-9rqn6x4v.js";
121
+ } from "./bus-9rqn6x4v.js";
122
122
 
123
123
  // src/session.ts
124
124
  var exports_session = {};
@@ -132,22 +132,22 @@ __export(exports_session, {
132
132
  ForkEmptyError: () => ForkEmptyError2,
133
133
  ID: () => ID11,
134
134
  InboxConflictError: () => InboxConflictError2,
135
- Info: () => Info16,
135
+ Info: () => Info14,
136
136
  InvalidListCursorError: () => InvalidListCursorError2,
137
137
  ListAnchor: () => ListAnchor2,
138
138
  ListCursor: () => ListCursor2,
139
139
  ListInput: () => ListInput2,
140
140
  MessageDecodeError: () => MessageDecodeError2,
141
141
  MessageNotFoundError: () => MessageNotFoundError2,
142
- NotFoundError: () => NotFoundError10,
142
+ NotFoundError: () => NotFoundError9,
143
143
  PromptConflictError: () => PromptConflictError2,
144
- Service: () => Service21,
144
+ Service: () => Service13,
145
145
  Session: () => exports_session,
146
146
  SessionSchema: () => SessionSchema2,
147
147
  SkillNotFoundError: () => SkillNotFoundError2,
148
148
  SyntheticConflictError: () => SyntheticConflictError2,
149
149
  TurnRangeError: () => TurnRangeError2,
150
- node: () => node24
150
+ node: () => node16
151
151
  });
152
152
  import { DateTime, Effect, Layer, Context, Option, Stream } from "effect";
153
153
  import { LLMClient } from "@opencode/ai/effect";
@@ -158,27 +158,27 @@ import { Node } from "@opencode/util/effect/app-node";
158
158
  import { FSUtil } from "@opencode/util/fs-util";
159
159
  var ListInput2 = ListInput3;
160
160
  var DefaultListLimit = 50;
161
- class Service21 extends Context.Service()("@opencode/Session") {
161
+ class Service13 extends Context.Service()("@opencode/Session") {
162
162
  }
163
- var layer = Layer.effect(Service21, Effect.gen(function* () {
163
+ var layer = Layer.effect(Service13, Effect.gen(function* () {
164
164
  const app = yield* Metadata2;
165
- const database = yield* Service85;
165
+ const database = yield* Service86;
166
166
  const db = database.db;
167
- const bus = yield* Service84;
168
- const projects = yield* Service82;
169
- const execution = yield* Service37;
167
+ const bus = yield* Service85;
168
+ const projects = yield* Service79;
169
+ const execution = yield* Service44;
170
170
  const llm = yield* LLMClient.Service;
171
- const transport = yield* Service33;
172
- const store = yield* Service70;
173
- const instances = yield* Service40;
174
- const moves = yield* Service22;
175
- const jobs = yield* Service43;
176
- const environments = yield* Service45;
177
- const locations = yield* Service65;
171
+ const transport = yield* Service26;
172
+ const store = yield* Service67;
173
+ const instances = yield* Service47;
174
+ const moves = yield* Service14;
175
+ const jobs = yield* Service49;
176
+ const environments = yield* Service42;
177
+ const locations = yield* Service61;
178
178
  const sessions = yield* make12();
179
179
  const keepsMediaRefs = (session) => enabled2.pipe(instances.provide(session), Effect.catch((cause) => Effect.logWarning("could not resolve experimental.media_blob; serving media inline", { cause }).pipe(Effect.as(false))));
180
180
  const isDurableSessionEvent = (item) => Object.hasOwn(SessionEvent2.Durable.cases, item.type);
181
- const result = Service21.of({
181
+ const result = Service13.of({
182
182
  create: Effect.fn("Session.create")(function* (input) {
183
183
  const sessionID = input.id ?? SessionSchema2.ID.create();
184
184
  const recorded = yield* store.get(sessionID);
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
186
186
  return recorded;
187
187
  const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
188
188
  if (input.parentID && parent === undefined)
189
- return yield* new NotFoundError10({ sessionID: input.parentID });
189
+ return yield* new NotFoundError9({ sessionID: input.parentID });
190
190
  const location = parent?.location ?? (input.location && canonical3(input.location));
191
191
  if (location === undefined)
192
192
  return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
@@ -324,11 +324,11 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
324
324
  prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
325
325
  generate: Effect.fn("Session.generate")(function* (input) {
326
326
  const session = yield* result.get(input.sessionID);
327
- return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service40, instances), Effect.provideService(Service85, database), Effect.provideService(LLMClient.Service, llm));
327
+ return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service47, instances), Effect.provideService(Service86, database), Effect.provideService(LLMClient.Service, llm));
328
328
  }),
329
329
  command: Effect.fn("Session.command")(function* (input) {
330
330
  const session = yield* result.get(input.sessionID);
331
- return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service40, instances));
331
+ return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service47, instances));
332
332
  }),
333
333
  shell: (input) => sessions.forSession(input.sessionID).shell(input),
334
334
  skill: (input) => sessions.forSession(input.sessionID).skill(input),
@@ -372,27 +372,27 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
372
372
  });
373
373
  return result;
374
374
  }));
375
- var node24 = Node.makeGlobalNode({
376
- service: Service21,
375
+ var node16 = Node.makeGlobalNode({
376
+ service: Service13,
377
377
  layer,
378
378
  deps: [
379
- node46,
380
- node48,
379
+ node51,
380
+ node45,
381
+ node90,
381
382
  node89,
382
- node88,
383
- node86,
384
- node40,
385
- node36,
383
+ node83,
384
+ node47,
385
+ node29,
386
386
  llmClient2,
387
- node74,
388
- node42,
389
- node41,
390
- node25,
391
- node26,
392
- node69,
387
+ node71,
388
+ node49,
389
+ node48,
390
+ node17,
391
+ node24,
392
+ node64,
393
393
  FSUtil.node,
394
- node45
394
+ node60
395
395
  ]
396
396
  });
397
397
 
398
- export { ListAnchor2, ListCursor2, ListInput2, Service21, node24, exports_session };
398
+ export { ListAnchor2, ListCursor2, ListInput2, Service13, node16, exports_session };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./file-mutation-z5v4ffb3.js";
3
+ } from "./bus-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./file-mutation-9rqn6x4v.js";
6
+ } from "./bus-9rqn6x4v.js";
7
7
 
8
8
  // src/skill/discovery.ts
9
9
  var exports_discovery = {};
10
10
  __export(exports_discovery, {
11
- Service: () => Service6,
11
+ Service: () => Service9,
12
12
  SkillDiscovery: () => exports_discovery,
13
- node: () => node7
13
+ node: () => node11
14
14
  });
15
15
  import path from "path";
16
16
  import { Context, Effect, Layer, Schedule, Schema } from "effect";
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
48
48
  }) {
49
49
  }
50
50
 
51
- class Service6 extends Context.Service()("@opencode/SkillDiscovery") {
51
+ class Service9 extends Context.Service()("@opencode/SkillDiscovery") {
52
52
  }
53
- var layer = Layer.effect(Service6, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service9, Effect.gen(function* () {
54
54
  const fs = yield* FSUtil.Service;
55
55
  const global = yield* Global.Service;
56
56
  const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
63
63
  return true;
64
64
  return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
65
65
  });
66
- return Service6.of({
66
+ return Service9.of({
67
67
  pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
68
68
  const base = url.endsWith("/") ? url : `${url}/`;
69
69
  const source = new URL(base);
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
150
150
  })
151
151
  });
152
152
  }));
153
- var node7 = makeGlobalNode({ service: Service6, layer, deps: [httpClient, FSUtil.node, Global.node] });
153
+ var node11 = makeGlobalNode({ service: Service9, layer, deps: [httpClient, FSUtil.node, Global.node] });
154
154
 
155
- export { Service6, node7, exports_discovery };
155
+ export { Service9, node11, exports_discovery };
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  server2,
3
3
  headers2
4
- } from "./file-mutation-kt3bjfbg.js";
4
+ } from "./bus-kt3bjfbg.js";
5
5
  import {
6
6
  ID14,
7
- Service78,
8
- node82
9
- } from "./file-mutation-t07kmxgp.js";
7
+ Service75,
8
+ node79
9
+ } from "./bus-40862n3e.js";
10
10
  import {
11
11
  __export
12
- } from "./file-mutation-9rqn6x4v.js";
12
+ } from "./bus-9rqn6x4v.js";
13
13
 
14
14
  // src/usage-limits.ts
15
15
  var exports_usage_limits = {};
16
16
  __export(exports_usage_limits, {
17
- Info: () => Info3,
18
- Service: () => Service12,
19
- UnavailableError: () => UnavailableError2,
17
+ Info: () => Info7,
18
+ Service: () => Service55,
19
+ UnavailableError: () => UnavailableError5,
20
20
  UsageLimits: () => exports_usage_limits,
21
- layer: () => layer8,
22
- node: () => node14
21
+ layer: () => layer21,
22
+ node: () => node57
23
23
  });
24
24
  import { Model } from "@opencode/schema/model";
25
25
  import { Money } from "@opencode/schema/money";
@@ -29,23 +29,23 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
29
29
  import { httpClient } from "@opencode/util/effect/app-node-platform";
30
30
  import { Context, Duration, Effect, Layer, Schema } from "effect";
31
31
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
32
- var Info3 = UsageLimits.Info;
32
+ var Info7 = UsageLimits.Info;
33
33
 
34
- class UnavailableError2 extends Schema.TaggedError()("UsageLimits.UnavailableError", {
34
+ class UnavailableError5 extends Schema.TaggedError()("UsageLimits.UnavailableError", {
35
35
  message: Schema.String
36
36
  }) {
37
37
  }
38
38
 
39
- class Service12 extends Context.Service()("@opencode/UsageLimits") {
39
+ class Service55 extends Context.Service()("@opencode/UsageLimits") {
40
40
  }
41
- var layer8 = Layer.effect(Service12, Effect.gen(function* () {
42
- const integrations = yield* Service78;
41
+ var layer21 = Layer.effect(Service55, Effect.gen(function* () {
42
+ const integrations = yield* Service75;
43
43
  const http = yield* HttpClient.HttpClient;
44
44
  const get = Effect.fn("UsageLimits.get")(function* () {
45
45
  const connection = yield* integrations.connection.active(ID14.make("opencode"));
46
46
  if (!connection)
47
47
  return;
48
- const credential = yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError2({ message: error.message })));
48
+ const credential = yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError5({ message: error.message })));
49
49
  if (!credential || credential.type === "external")
50
50
  return;
51
51
  const workspaceID = credential.metadata?.orgID;
@@ -54,7 +54,7 @@ var layer8 = Layer.effect(Service12, Effect.gen(function* () {
54
54
  const server = server2(credential);
55
55
  const [budgets, go] = yield* Effect.all([readBudgets(http, server, credential), readGo(http, server, credential, workspaceID)], { concurrency: 2 }).pipe(Effect.timeoutOrElse({
56
56
  duration: Duration.seconds(15),
57
- orElse: () => Effect.fail(new UnavailableError2({ message: "OpenCode Console usage limits timed out" }))
57
+ orElse: () => Effect.fail(new UnavailableError5({ message: "OpenCode Console usage limits timed out" }))
58
58
  }));
59
59
  return {
60
60
  workspace: {
@@ -66,12 +66,12 @@ var layer8 = Layer.effect(Service12, Effect.gen(function* () {
66
66
  budgets
67
67
  };
68
68
  });
69
- return Service12.of({ get });
69
+ return Service55.of({ get });
70
70
  }));
71
- var node14 = makeLocationNode({
72
- service: Service12,
73
- layer: layer8,
74
- deps: [node82, httpClient]
71
+ var node57 = makeLocationNode({
72
+ service: Service55,
73
+ layer: layer21,
74
+ deps: [node79, httpClient]
75
75
  });
76
76
  var ConsoleBudget = Schema.Struct({
77
77
  ruleID: Schema.String,
@@ -117,17 +117,17 @@ function readBudgets(http, server, credential) {
117
117
  picked: budget.picked,
118
118
  shared: budget.shared,
119
119
  resetsAt: budget.resetsAt.getTime()
120
- }))))), Effect.scoped, Effect.mapError((error) => new UnavailableError2({ message: `OpenCode Console budgets are unavailable: ${error.message}` })));
120
+ }))))), Effect.scoped, Effect.mapError((error) => new UnavailableError5({ message: `OpenCode Console budgets are unavailable: ${error.message}` })));
121
121
  }
122
122
  function readGo(http, server, credential, workspaceID) {
123
123
  return HttpClient.withScope(http).execute(HttpClientRequest.get(`${new URL(server).origin}/zen/go/v1/usage`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(credential.type === "oauth" ? credential.access : credential.key), HttpClientRequest.setHeader("x-opencode-org-id", workspaceID))).pipe(Effect.flatMap((response) => response.status === 403 ? Effect.succeed(undefined) : HttpClientResponse.filterStatusOk(response).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(GoUsage)), Effect.map((body) => ({
124
124
  rolling: meter(body.usage.rolling),
125
125
  weekly: meter(body.usage.weekly),
126
126
  monthly: meter(body.usage.monthly)
127
- })))), Effect.scoped, Effect.mapError((error) => new UnavailableError2({ message: `OpenCode Go usage is unavailable: ${error.message}` })));
127
+ })))), Effect.scoped, Effect.mapError((error) => new UnavailableError5({ message: `OpenCode Go usage is unavailable: ${error.message}` })));
128
128
  }
129
129
  function meter(value) {
130
130
  return { percent: value.percent, limited: value.status === "rate-limited", resetsAt: value.resetsAt.getTime() };
131
131
  }
132
132
 
133
- export { Info3, UnavailableError2, Service12, layer8, node14, exports_usage_limits };
133
+ export { Info7, UnavailableError5, Service55, layer21, node57, exports_usage_limits };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  requestExecutor2
3
- } from "./file-mutation-p015t6z3.js";
3
+ } from "./bus-p015t6z3.js";
4
4
  import {
5
5
  ID14,
6
- Service78,
7
- node82
8
- } from "./file-mutation-t07kmxgp.js";
6
+ Service75,
7
+ node79
8
+ } from "./bus-40862n3e.js";
9
9
  import {
10
10
  __export
11
- } from "./file-mutation-9rqn6x4v.js";
11
+ } from "./bus-9rqn6x4v.js";
12
12
 
13
13
  // src/voice.ts
14
14
  var exports_voice = {};
15
15
  __export(exports_voice, {
16
16
  InvalidRequestError: () => InvalidRequestError2,
17
- Service: () => Service16,
18
- UnavailableError: () => UnavailableError3,
17
+ Service: () => Service30,
18
+ UnavailableError: () => UnavailableError2,
19
19
  Voice: () => exports_voice,
20
- layer: () => layer10,
21
- node: () => node18
20
+ layer: () => layer15,
21
+ node: () => node33
22
22
  });
23
23
  import {
24
24
  Realtime
@@ -31,17 +31,17 @@ class InvalidRequestError2 extends Schema.TaggedError()("Voice.InvalidRequestErr
31
31
  }) {
32
32
  }
33
33
 
34
- class UnavailableError3 extends Schema.TaggedError()("Voice.UnavailableError", {
34
+ class UnavailableError2 extends Schema.TaggedError()("Voice.UnavailableError", {
35
35
  message: Schema.String,
36
36
  service: Schema.optional(Schema.String)
37
37
  }) {
38
38
  }
39
39
 
40
- class Service16 extends Context.Service()("@opencode/Voice") {
40
+ class Service30 extends Context.Service()("@opencode/Voice") {
41
41
  }
42
- var layer10 = Layer.effect(Service16, Effect.gen(function* () {
42
+ var layer15 = Layer.effect(Service30, Effect.gen(function* () {
43
43
  const executor = yield* RequestExecutor.Service;
44
- const integrations = yield* Service78;
44
+ const integrations = yield* Service75;
45
45
  const findConnection = (provider, methods = ["key"]) => integrations.get(ID14.make(provider)).pipe(Effect.map((info) => info?.connections.find((item) => item.type === "env" || methods.includes(item.method))));
46
46
  const source = Effect.fnUntraced(function* (engine) {
47
47
  const connection = yield* findConnection(engine.provider);
@@ -67,10 +67,10 @@ var layer10 = Layer.effect(Service16, Effect.gen(function* () {
67
67
  if (!engine)
68
68
  return yield* new InvalidRequestError2({ message: `Unsupported voice model: ${input.model}` });
69
69
  const found = yield* source(engine);
70
- const credential = found ? yield* integrations.connection.resolve(found.connection).pipe(Effect.mapError((error) => new UnavailableError3({ service: found.provider, message: error.message }))) : undefined;
70
+ const credential = found ? yield* integrations.connection.resolve(found.connection).pipe(Effect.mapError((error) => new UnavailableError2({ service: found.provider, message: error.message }))) : undefined;
71
71
  const access = found && credential && sessionAccess(found.provider, credential);
72
72
  if (found === undefined || access === undefined)
73
- return yield* new UnavailableError3({
73
+ return yield* new UnavailableError2({
74
74
  service: engine.provider,
75
75
  message: engine.id === "openai-live" ? missingLiveKeyMessage : missingKeyMessage[engine.provider]
76
76
  });
@@ -79,14 +79,14 @@ var layer10 = Layer.effect(Service16, Effect.gen(function* () {
79
79
  session: input.session,
80
80
  transport: input.transport,
81
81
  ...access
82
- }).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: found.provider })));
82
+ }).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: found.provider })));
83
83
  });
84
- return Service16.of({ models, session });
84
+ return Service30.of({ models, session });
85
85
  }));
86
- var node18 = makeLocationNode({
87
- service: Service16,
88
- layer: layer10,
89
- deps: [node82, requestExecutor2]
86
+ var node33 = makeLocationNode({
87
+ service: Service30,
88
+ layer: layer15,
89
+ deps: [node79, requestExecutor2]
90
90
  });
91
91
  var openCodeLive = { provider: "opencode", baseURL: "https://opencode.ai/inference/openai/v1" };
92
92
  var sessionAccess = (provider, credential) => {
@@ -108,4 +108,4 @@ var missingKeyMessage = {
108
108
  google: "Voice needs a Google API key on the server (a stored key, GEMINI_API_KEY, GOOGLE_GENERATIVE_AI_API_KEY, or GOOGLE_API_KEY)."
109
109
  };
110
110
 
111
- export { InvalidRequestError2, UnavailableError3, Service16, layer10, node18, exports_voice };
111
+ export { InvalidRequestError2, UnavailableError2, Service30, layer15, node33, exports_voice };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-mutation-9rqn6x4v.js";
3
+ } from "./bus-9rqn6x4v.js";
4
4
 
5
5
  // src/database/v1-migration.ts
6
6
  var exports_v1_migration = {};