@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,28 +1,28 @@
1
1
  import {
2
2
  ephemeral2,
3
- Service84,
4
- node88
5
- } from "./file-mutation-rkkrzzbq.js";
3
+ Service85,
4
+ node89
5
+ } from "./bus-9ejttjga.js";
6
6
  import {
7
- Service75,
8
- node79
9
- } from "./file-mutation-fvsxqh4k.js";
7
+ Service82,
8
+ node86
9
+ } from "./bus-6nnjhmtv.js";
10
10
  import {
11
11
  __export
12
- } from "./file-mutation-9rqn6x4v.js";
12
+ } from "./bus-9rqn6x4v.js";
13
13
 
14
14
  // src/wellknown.ts
15
15
  var exports_wellknown = {};
16
16
  __export(exports_wellknown, {
17
17
  Auth: () => Auth2,
18
18
  Config: () => Config2,
19
- Event: () => Event14,
19
+ Event: () => Event12,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service74,
22
+ Service: () => Service72,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node78,
25
+ node: () => node76,
26
26
  resolve: () => resolve4
27
27
  });
28
28
  import { Integration } from "@opencode/schema/integration";
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
46
46
  remote_config: Schema.optional(RemoteConfig2)
47
47
  }).annotate({ identifier: "WellKnown.Manifest" });
48
48
 
49
- class Service74 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service72 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
- var Event14 = {
51
+ var Event12 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
53
53
  };
54
54
  var requestTimeout = "15 seconds";
@@ -79,10 +79,10 @@ var Sources = Schema.Array(Schema.String);
79
79
  var manifestKey = (origin) => `wellknown:manifest:${origin}`;
80
80
  var configKey = (origin) => `wellknown:config:${origin}`;
81
81
  var Configs = Schema.Array(Config2);
82
- var layer = Layer.effect(Service74, Effect.gen(function* () {
82
+ var layer = Layer.effect(Service72, Effect.gen(function* () {
83
83
  const http = yield* HttpClient.HttpClient;
84
- const kv = yield* Service75;
85
- const bus = yield* Service84;
84
+ const kv = yield* Service82;
85
+ const bus = yield* Service85;
86
86
  const cache = yield* Ref.make(new Map);
87
87
  const lock = Semaphore.makeUnsafe(1);
88
88
  const loadEntry = Effect.fn("WellKnown.loadEntry")(function* (origin) {
@@ -113,10 +113,10 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
113
113
  if (!changed)
114
114
  return false;
115
115
  yield* Ref.set(cache, next);
116
- yield* bus.publish(Event14.Updated, {}, { global: true });
116
+ yield* bus.publish(Event12.Updated, {}, { global: true });
117
117
  return true;
118
118
  }, (effect) => lock.withPermit(effect));
119
- return Service74.of({
119
+ return Service72.of({
120
120
  entries: load,
121
121
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
122
122
  refresh,
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
129
129
  const origins = Schema.is(Sources)(sources) ? sources : [];
130
130
  yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
131
131
  yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
132
- yield* bus.publish(Event14.Updated, {}, { global: true });
132
+ yield* bus.publish(Event12.Updated, {}, { global: true });
133
133
  return entry;
134
134
  }, (effect, _value) => lock.withPermit(effect)),
135
135
  remove: Effect.fn("WellKnown.remove")(function* (value) {
@@ -144,7 +144,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
144
144
  next.delete(origin);
145
145
  return next;
146
146
  });
147
- yield* bus.publish(Event14.Updated, {}, { global: true });
147
+ yield* bus.publish(Event12.Updated, {}, { global: true });
148
148
  }, (effect, _value) => lock.withPermit(effect)),
149
149
  resolve: Effect.fn("WellKnown.resolveEntry")(function* (entry, variables) {
150
150
  const configs = yield* resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http));
@@ -157,6 +157,6 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
157
157
  })
158
158
  });
159
159
  }));
160
- var node78 = makeGlobalNode({ service: Service74, layer, deps: [httpClient, node79, node88] });
160
+ var node76 = makeGlobalNode({ service: Service72, layer, deps: [httpClient, node86, node89] });
161
161
 
162
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service74, Event14, inspect2, resolve4, node78, exports_wellknown };
162
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service72, Event12, inspect2, resolve4, node76, exports_wellknown };
@@ -1,13 +1,13 @@
1
1
  import {
2
- Service84
3
- } from "./file-mutation-rkkrzzbq.js";
2
+ Service85
3
+ } from "./bus-9ejttjga.js";
4
4
  import {
5
5
  supportsText2
6
- } from "./file-mutation-57cc6ds0.js";
6
+ } from "./bus-gr64q9r0.js";
7
7
  import {
8
- Service17,
9
- Event3
10
- } from "./file-mutation-p4gp7n98.js";
8
+ Service56,
9
+ Event7
10
+ } from "./bus-bv13p4fx.js";
11
11
 
12
12
  // src/plugin/models-dev.ts
13
13
  import { define } from "@opencode/plugin/effect/plugin";
@@ -38,8 +38,8 @@ var BEDROCK_PROFILE_ONLY_IDS = [
38
38
  var ModelsDevPlugin2 = define({
39
39
  id: "opencode.models.dev",
40
40
  effect: Effect.fn(function* (ctx) {
41
- const modelsDev = yield* Service17;
42
- const bus = yield* Service84;
41
+ const modelsDev = yield* Service56;
42
+ const bus = yield* Service85;
43
43
  const loaded = { data: snapshots(yield* modelsDev.get()) };
44
44
  yield* ctx.integration.transform((integrations) => {
45
45
  for (const provider of loaded.data) {
@@ -72,7 +72,7 @@ var ModelsDevPlugin2 = define({
72
72
  loaded.data = snapshots(data);
73
73
  return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
74
74
  };
75
- yield* bus.subscribe(Event3.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
75
+ yield* bus.subscribe(Event7.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
76
76
  const latest = yield* modelsDev.get();
77
77
  if (snapshots(latest) !== loaded.data)
78
78
  yield* apply(latest);
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  render3
3
- } from "./file-mutation-vmfhgzt5.js";
3
+ } from "./bus-vmfhgzt5.js";
4
4
  import {
5
5
  __export
6
- } from "./file-mutation-9rqn6x4v.js";
6
+ } from "./bus-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/optimize.ts
9
9
  var exports_optimize = {};
@@ -13,7 +13,7 @@ __export(exports_optimize, {
13
13
  ArceePlugin: () => ArceePlugin2,
14
14
  KimiPlugin: () => KimiPlugin2,
15
15
  MetaPlugin: () => MetaPlugin2,
16
- OpenAIPlugin: () => OpenAIPlugin3,
16
+ OpenAIPlugin: () => OpenAIPlugin2,
17
17
  OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
18
18
  OptimizePlugin: () => exports_optimize,
19
19
  Plugins: () => Plugins2,
@@ -375,7 +375,7 @@ By default, match the surrounding comment density: where the code has none, add
375
375
  `;
376
376
 
377
377
  // src/plugin/optimize.ts
378
- var OpenAIPlugin3 = make("opencode.prompt.openai", (model) => {
378
+ var OpenAIPlugin2 = make("opencode.prompt.openai", (model) => {
379
379
  const id = model.id.toLowerCase();
380
380
  if (!id.includes("gpt"))
381
381
  return;
@@ -410,7 +410,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
410
410
  return;
411
411
  return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
412
412
  });
413
- var Plugins2 = [OpenAIPlugin3, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
413
+ var Plugins2 = [OpenAIPlugin2, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
414
414
  var models = new WeakMap;
415
415
  var resolveModel2 = (ctx, event) => Effect.gen(function* () {
416
416
  const cached = models.get(event);
@@ -447,4 +447,4 @@ ${rendered}` : rendered;
447
447
  });
448
448
  }
449
449
 
450
- export { OpenAIPlugin3, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, resolveModel2, exports_optimize };
450
+ export { OpenAIPlugin2, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, resolveModel2, exports_optimize };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  lazy2
3
- } from "./file-mutation-88xbtdfr.js";
3
+ } from "./bus-88xbtdfr.js";
4
4
  import {
5
5
  which2
6
- } from "./file-mutation-qaymkmh1.js";
6
+ } from "./bus-qaymkmh1.js";
7
7
 
8
8
  // src/util/git-executable.ts
9
9
  import { existsSync, realpathSync } from "node:fs";
@@ -2,18 +2,18 @@ import {
2
2
  provider2,
3
3
  model2,
4
4
  compatibleModel2
5
- } from "./file-mutation-dt77769w.js";
5
+ } from "./bus-dt77769w.js";
6
6
  import {
7
7
  aisdk2,
8
8
  packageName2
9
- } from "./file-mutation-ch0v3cp9.js";
9
+ } from "./bus-cr9b5z5f.js";
10
10
  import {
11
11
  Capabilities2,
12
12
  compatibility2
13
- } from "./file-mutation-57cc6ds0.js";
13
+ } from "./bus-gr64q9r0.js";
14
14
  import {
15
15
  __export
16
- } from "./file-mutation-9rqn6x4v.js";
16
+ } from "./bus-9rqn6x4v.js";
17
17
 
18
18
  // src/v1/config/migrate.ts
19
19
  var exports_migrate = {};
@@ -4,43 +4,43 @@ import {
4
4
  normalizeContent2,
5
5
  normalizedName2,
6
6
  effectiveName2
7
- } from "./file-mutation-1jakw16s.js";
7
+ } from "./bus-1jakw16s.js";
8
8
  import {
9
9
  create2,
10
10
  catalog2
11
- } from "./file-mutation-q63cb7ap.js";
11
+ } from "./bus-q63cb7ap.js";
12
12
  import {
13
13
  create3
14
- } from "./file-mutation-204s3925.js";
14
+ } from "./bus-204s3925.js";
15
15
  import {
16
- Service67,
17
- node71
18
- } from "./file-mutation-4ddsgm24.js";
16
+ Service40,
17
+ node43
18
+ } from "./bus-mf20dtnm.js";
19
19
  import {
20
- Service86,
21
- node90
22
- } from "./file-mutation-9bc1thgt.js";
20
+ Service69,
21
+ node73
22
+ } from "./bus-ayeq9fxf.js";
23
23
  import {
24
24
  match2
25
- } from "./file-mutation-z38nccrw.js";
25
+ } from "./bus-z38nccrw.js";
26
26
  import {
27
27
  __export
28
- } from "./file-mutation-9rqn6x4v.js";
28
+ } from "./bus-9rqn6x4v.js";
29
29
 
30
30
  // src/tool.ts
31
31
  var exports_tool = {};
32
32
  __export(exports_tool, {
33
33
  CallID: () => CallID2,
34
34
  Content: () => Content3,
35
- Error: () => Error5,
35
+ Error: () => Error3,
36
36
  FileContent: () => FileContent3,
37
37
  RegistrationError: () => RegistrationError2,
38
- Service: () => Service66,
38
+ Service: () => Service39,
39
39
  TextContent: () => TextContent2,
40
40
  Tool: () => exports_tool,
41
- node: () => node70
41
+ node: () => node42
42
42
  });
43
- import { CallID as CallID2, Content as Content3, Error as Error5, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
43
+ import { CallID as CallID2, Content as Content3, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
44
44
  import { ToolDefinition } from "@opencode/ai/effect";
45
45
  import { Tool } from "@opencode/schema/tool";
46
46
  import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
51
51
  }) {
52
52
  }
53
53
 
54
- class Service66 extends Context.Service()("@opencode/Tool") {
54
+ class Service39 extends Context.Service()("@opencode/Tool") {
55
55
  }
56
- var layer = Layer.effect(Service66, Effect.gen(function* () {
57
- const hooks = yield* Service86;
58
- const image = yield* Service67;
56
+ var layer = Layer.effect(Service39, Effect.gen(function* () {
57
+ const hooks = yield* Service69;
58
+ const image = yield* Service40;
59
59
  const normalizeImages = Effect.fnUntraced(function* (content) {
60
60
  const normalized = yield* Effect.forEach(content, (item) => {
61
61
  if (item.type !== "file" || !item.mime.startsWith("image/"))
@@ -198,7 +198,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
198
198
  }), { discard: true });
199
199
  }
200
200
  });
201
- return Service66.of({
201
+ return Service39.of({
202
202
  transform: state.transform,
203
203
  reload: state.reload,
204
204
  list: () => Effect.sync(() => Array.from(state.get().tools.values())),
@@ -293,10 +293,10 @@ function namespaceError(name) {
293
293
  return;
294
294
  return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
295
295
  }
296
- var node70 = makeLocationNode({
297
- service: Service66,
296
+ var node42 = makeLocationNode({
297
+ service: Service39,
298
298
  layer,
299
- deps: [node90, node71]
299
+ deps: [node73, node43]
300
300
  });
301
301
 
302
- export { RegistrationError2, Service66, node70, exports_tool, CallID2, Content3, Error5, FileContent3, TextContent2 };
302
+ export { RegistrationError2, Service39, node42, exports_tool, CallID2, Content3, Error3, FileContent3, TextContent2 };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  useragent2
3
- } from "./file-mutation-jpfg3bv3.js";
3
+ } from "./bus-a1t1p5x7.js";
4
4
  import {
5
- Service84
6
- } from "./file-mutation-rkkrzzbq.js";
5
+ Service85
6
+ } from "./bus-9ejttjga.js";
7
7
  import {
8
8
  OAuth3,
9
- Event18
10
- } from "./file-mutation-xjxwv06c.js";
9
+ Event17
10
+ } from "./bus-0gfe9fsk.js";
11
11
  import {
12
12
  key2
13
- } from "./file-mutation-61ennm6n.js";
13
+ } from "./bus-zba5tm1j.js";
14
14
  import {
15
15
  ID14,
16
16
  MethodID2
17
- } from "./file-mutation-t07kmxgp.js";
17
+ } from "./bus-40862n3e.js";
18
18
  import {
19
19
  ID13,
20
20
  aisdk2,
21
- Service77
22
- } from "./file-mutation-ch0v3cp9.js";
21
+ Service74
22
+ } from "./bus-cr9b5z5f.js";
23
23
  import {
24
24
  ID12,
25
- Info22
26
- } from "./file-mutation-57cc6ds0.js";
25
+ Info20
26
+ } from "./bus-gr64q9r0.js";
27
27
  import {
28
28
  success2,
29
29
  error2
30
- } from "./file-mutation-yb20nhc3.js";
30
+ } from "./bus-yb20nhc3.js";
31
31
 
32
32
  // src/plugin/provider/gitlab.ts
33
33
  import os from "os";
@@ -57,8 +57,8 @@ var refreshRetention = 60000;
57
57
  var GitLabPlugin2 = define({
58
58
  id: "opencode.provider.gitlab",
59
59
  effect: Effect.fn(function* (ctx) {
60
- const providers = yield* Service77;
61
- const bus = yield* Service84;
60
+ const providers = yield* Service74;
61
+ const bus = yield* Service85;
62
62
  const http = yield* HttpClient.HttpClient;
63
63
  const loading = Semaphore.makeUnsafe(1);
64
64
  const loaded = {};
@@ -185,7 +185,7 @@ var GitLabPlugin2 = define({
185
185
  models: [
186
186
  ...item.models.values(),
187
187
  ...loaded.models.filter((model) => !item.models.has(model.id)).map((model) => ({
188
- ...Info22.default(providerID, ID12.make(model.id)),
188
+ ...Info20.default(providerID, ID12.make(model.id)),
189
189
  name: `Agent Platform (${model.name})`,
190
190
  package: aisdk2("gitlab-ai-provider"),
191
191
  settings: { workflowRef: model.ref },
@@ -196,7 +196,7 @@ var GitLabPlugin2 = define({
196
196
  });
197
197
  });
198
198
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
199
- yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
199
+ yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
200
200
  yield* refresh().pipe(Effect.forkScoped);
201
201
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
202
202
  if (evt.package !== "gitlab-ai-provider")
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  __export
3
- } from "./file-mutation-9rqn6x4v.js";
3
+ } from "./bus-9rqn6x4v.js";
4
4
 
5
5
  // src/instance/service.ts
6
6
  var exports_service2 = {};
7
7
  __export(exports_service2, {
8
8
  Instance: () => exports_service2,
9
- Service: () => Service40,
10
- node: () => node42
9
+ Service: () => Service47,
10
+ node: () => node49
11
11
  });
12
12
  import { Context } from "effect";
13
13
  import { Node } from "@opencode/util/effect/app-node";
14
14
  import { LayerNode } from "@opencode/util/effect/layer-node";
15
15
 
16
- class Service40 extends Context.Service()("@opencode/Instance") {
16
+ class Service47 extends Context.Service()("@opencode/Instance") {
17
17
  }
18
- var node42 = LayerNode.unbound(Service40, Node.tags.values.global);
18
+ var node49 = LayerNode.unbound(Service47, Node.tags.values.global);
19
19
 
20
- export { Service40, node42, exports_service2 };
20
+ export { Service47, node49, exports_service2 };
@@ -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/session/subagent-completion.ts
6
6
  var exports_subagent_completion = {};
@@ -1,52 +1,52 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./file-mutation-z5v4ffb3.js";
3
+ } from "./bus-z5v4ffb3.js";
4
+ import {
5
+ Service86,
6
+ node90
7
+ } from "./bus-b3yncftq.js";
4
8
  import {
5
9
  Service85,
6
10
  node89
7
- } from "./file-mutation-pwqzey69.js";
8
- import {
9
- Service84,
10
- node88
11
- } from "./file-mutation-rkkrzzbq.js";
11
+ } from "./bus-9ejttjga.js";
12
12
  import {
13
13
  Service83,
14
14
  node87
15
- } from "./file-mutation-m91kzycp.js";
15
+ } from "./bus-m91kzycp.js";
16
16
  import {
17
17
  ID18,
18
18
  Current3,
19
- Info30,
19
+ Info28,
20
20
  UpdateInput4,
21
- Event20,
21
+ Event18,
22
22
  Vcs3
23
- } from "./file-mutation-hdfrs5mg.js";
23
+ } from "./bus-jqyqtkb2.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./file-mutation-034tev2y.js";
27
+ } from "./bus-034tev2y.js";
28
28
  import {
29
29
  refresh2
30
- } from "./file-mutation-yara3q77.js";
30
+ } from "./bus-yara3q77.js";
31
31
  import {
32
32
  WorktreeTable2
33
- } from "./file-mutation-ayjs7tqn.js";
33
+ } from "./bus-ayjs7tqn.js";
34
34
  import {
35
35
  __export
36
- } from "./file-mutation-9rqn6x4v.js";
36
+ } from "./bus-9rqn6x4v.js";
37
37
 
38
38
  // src/project.ts
39
39
  var exports_project = {};
40
40
  __export(exports_project, {
41
41
  Current: () => Current2,
42
42
  ID: () => ID17,
43
- Info: () => Info29,
44
- NotFoundError: () => NotFoundError12,
43
+ Info: () => Info27,
44
+ NotFoundError: () => NotFoundError11,
45
45
  Project: () => exports_project,
46
- Service: () => Service82,
46
+ Service: () => Service79,
47
47
  UpdateInput: () => UpdateInput3,
48
48
  Vcs: () => Vcs2,
49
- node: () => node86,
49
+ node: () => node83,
50
50
  root: () => root2,
51
51
  sweepNode: () => sweepNode2
52
52
  });
@@ -62,10 +62,10 @@ import { Hash } from "@opencode/util/hash";
62
62
  var ID17 = ID18;
63
63
  var Vcs2 = Vcs3;
64
64
  var Current2 = Current3;
65
- var Info29 = Info30;
65
+ var Info27 = Info28;
66
66
  var UpdateInput3 = UpdateInput4;
67
67
 
68
- class NotFoundError12 extends Schema.TaggedError()("Project.NotFoundError", {
68
+ class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
69
69
  projectID: ID17
70
70
  }) {
71
71
  }
@@ -84,7 +84,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
84
84
  var ACTIVATE_INTERVAL = 60000;
85
85
  var SWEEP_INTERVAL = Duration.hours(1);
86
86
 
87
- class Service82 extends Context.Service()("@opencode/Project") {
87
+ class Service79 extends Context.Service()("@opencode/Project") {
88
88
  }
89
89
  function fromRow(row) {
90
90
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -108,12 +108,12 @@ function fromRow(row) {
108
108
  sandboxes: row.sandboxes
109
109
  };
110
110
  }
111
- var layer = Layer.effect(Service82, Effect.gen(function* () {
111
+ var layer = Layer.effect(Service79, Effect.gen(function* () {
112
112
  const fs = yield* FSUtil.Service;
113
113
  const git = yield* Service83;
114
114
  const proc = yield* AppProcess.Service;
115
- const bus = yield* Service84;
116
- const db = (yield* Service85).db;
115
+ const bus = yield* Service85;
116
+ const db = (yield* Service86).db;
117
117
  const scope = yield* Scope.Scope;
118
118
  const announcing = new Set;
119
119
  const persist = Effect.fnUntraced(function* (project) {
@@ -123,8 +123,8 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
123
123
  const replaced = previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true))) ? yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie) : undefined;
124
124
  const changed = replaced ?? unarchived;
125
125
  if (changed)
126
- yield* bus.publish(Event20.Updated, fromRow(changed));
127
- yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(Event20.Updated, fromRow(row)) : Effect.void), Effect.ignoreCause, Effect.forkIn(scope));
126
+ yield* bus.publish(Event18.Updated, fromRow(changed));
127
+ yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(Event18.Updated, fromRow(row)) : Effect.void), Effect.ignoreCause, Effect.forkIn(scope));
128
128
  if (!project.vcs)
129
129
  return project;
130
130
  const directories = [
@@ -183,9 +183,9 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
183
183
  time_updated: Date.now()
184
184
  }).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
185
185
  if (!row)
186
- return yield* new NotFoundError12({ projectID: input.projectID });
186
+ return yield* new NotFoundError11({ projectID: input.projectID });
187
187
  const project = fromRow(row);
188
- yield* bus.publish(Event20.Updated, project);
188
+ yield* bus.publish(Event18.Updated, project);
189
189
  return project;
190
190
  });
191
191
  const activated = new Map;
@@ -196,7 +196,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
196
196
  activated.set(projectID, now);
197
197
  const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
198
198
  if (row)
199
- yield* bus.publish(Event20.Updated, fromRow(row));
199
+ yield* bus.publish(Event18.Updated, fromRow(row));
200
200
  });
201
201
  const cached = Effect.fnUntraced(function* (dir) {
202
202
  return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
@@ -333,23 +333,23 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
333
333
  return;
334
334
  const row = yield* db.update(ProjectTable2).set(main ? { worktree: main.directory } : { time_archived: Date.now(), time_updated: sql`${ProjectTable2.time_updated}` }).where(and(eq(ProjectTable2.id, project.id), idle)).returning().get().pipe(Effect.orDie);
335
335
  if (row)
336
- yield* bus.publish(Event20.Updated, fromRow(row));
336
+ yield* bus.publish(Event18.Updated, fromRow(row));
337
337
  }), { concurrency: 8, discard: true });
338
338
  });
339
- return Service82.of({ list, update, activate, resolve, sweep });
339
+ return Service79.of({ list, update, activate, resolve, sweep });
340
340
  }));
341
- var node86 = makeGlobalNode({
342
- service: Service82,
341
+ var node83 = makeGlobalNode({
342
+ service: Service79,
343
343
  layer,
344
- deps: [node88, node89, FSUtil.node, node87, AppProcess.node]
344
+ deps: [node89, node90, FSUtil.node, node87, AppProcess.node]
345
345
  });
346
346
  var sweepNode2 = makeGlobalNode({
347
347
  name: "project-archive-sweep",
348
348
  layer: Layer.effectDiscard(Effect.gen(function* () {
349
- const project = yield* Service82;
349
+ const project = yield* Service79;
350
350
  yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
351
351
  })),
352
- deps: [node86]
352
+ deps: [node83]
353
353
  });
354
354
 
355
- export { ID17, Vcs2, Current2, Info29, UpdateInput3, NotFoundError12, root2, Service82, node86, sweepNode2, exports_project };
355
+ export { ID17, Vcs2, Current2, Info27, UpdateInput3, NotFoundError11, root2, Service79, node83, sweepNode2, exports_project };
@@ -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/environment/files.ts
6
6
  var exports_files = {};