@opencode/core 0.0.0-dev-19274 → 0.0.0-dev-19276

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (780) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +5 -5
  6. package/dist/bus.js +71 -71
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{file-9bey2zpa.js → bus-01797ny4.js} +12 -12
  9. package/dist/chunks/{file-6kgc56n8.js → bus-03tt90jk.js} +6 -6
  10. package/dist/chunks/bus-05zf2dx1.js +247 -0
  11. package/dist/chunks/{file-ne3jdqry.js → bus-07770t2t.js} +4 -4
  12. package/dist/chunks/{file-c6jw9d6c.js → bus-08c8ha06.js} +13 -13
  13. package/dist/chunks/{file-bdkz1q2y.js → bus-0czprt7a.js} +6 -6
  14. package/dist/chunks/{file-1dfhrqqs.js → bus-0hpxrkyb.js} +5 -5
  15. package/dist/chunks/{file-xed1dtdk.js → bus-0j044k52.js} +8 -8
  16. package/dist/chunks/bus-0kwcw7fy.js +4 -0
  17. package/dist/chunks/{file-d8drewm4.js → bus-0mv9cd5d.js} +26 -26
  18. package/dist/chunks/{file-0paq2nw3.js → bus-0paq2nw3.js} +1 -1
  19. package/dist/chunks/{file-0q0f95c6.js → bus-0q0f95c6.js} +1 -1
  20. package/dist/chunks/{file-n3wgj171.js → bus-10761f79.js} +25 -25
  21. package/dist/chunks/{file-cz12sndv.js → bus-14adtvh1.js} +12 -12
  22. package/dist/chunks/{file-c9kt1fwd.js → bus-151sq2qz.js} +6 -6
  23. package/dist/chunks/{file-fq1h1v14.js → bus-18cztcj7.js} +3 -3
  24. package/dist/chunks/{file-jypsjmxy.js → bus-1a592kp3.js} +13 -13
  25. package/dist/chunks/{file-mrw4weg4.js → bus-1ah30sey.js} +5 -5
  26. package/dist/chunks/{file-1dazxqgg.js → bus-1dazxqgg.js} +2 -2
  27. package/dist/chunks/{file-9eqtwdne.js → bus-1rsjtwsx.js} +83 -83
  28. package/dist/chunks/{file-8gbf9msb.js → bus-1st7a56d.js} +22 -22
  29. package/dist/chunks/{file-1ajj2c3r.js → bus-1vqcz3hm.js} +36 -36
  30. package/dist/chunks/{file-endpbns8.js → bus-1xeq3jts.js} +4 -4
  31. package/dist/chunks/{file-21r38tys.js → bus-21r38tys.js} +1 -1
  32. package/dist/chunks/{file-8bpbp254.js → bus-23t95pj9.js} +40 -40
  33. package/dist/chunks/{file-2402vzrj.js → bus-2402vzrj.js} +1 -1
  34. package/dist/chunks/{file-29x78va6.js → bus-29x78va6.js} +2 -2
  35. package/dist/chunks/{file-2a5m3afh.js → bus-2a5m3afh.js} +1 -1
  36. package/dist/chunks/{file-84tssp1s.js → bus-2d6j2h4j.js} +6 -6
  37. package/dist/chunks/{file-dv250zvr.js → bus-2f04pwep.js} +3 -3
  38. package/dist/chunks/{file-gdrhyezn.js → bus-2f0bjgcj.js} +5 -5
  39. package/dist/chunks/{file-2qz021p1.js → bus-2gv1fy3f.js} +14 -14
  40. package/dist/chunks/{file-7dqw4kz8.js → bus-2k8khapm.js} +5 -5
  41. package/dist/chunks/{file-2f1k6btd.js → bus-2vdmvhdx.js} +28 -28
  42. package/dist/chunks/{file-06x8he3q.js → bus-2vs2nh1n.js} +4 -4
  43. package/dist/chunks/{file-jrrn2k62.js → bus-2wyjv582.js} +4 -4
  44. package/dist/chunks/{file-esdnemd6.js → bus-31dz7cp4.js} +1 -1
  45. package/dist/chunks/{file-anvxjef4.js → bus-348phf0m.js} +4 -4
  46. package/dist/chunks/{file-3wj4wm80.js → bus-39aa7p7s.js} +81 -81
  47. package/dist/chunks/{file-m2shdzh0.js → bus-3b5bkbaw.js} +35 -35
  48. package/dist/chunks/{file-bjpmp57t.js → bus-3fathxbm.js} +14 -14
  49. package/dist/chunks/{file-gdvy8fx6.js → bus-3fc6dm20.js} +4 -4
  50. package/dist/chunks/{file-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
  51. package/dist/chunks/{file-ec2j1krk.js → bus-3hjtj8hn.js} +34 -34
  52. package/dist/chunks/{file-7atngb88.js → bus-3j8sdtpz.js} +4 -4
  53. package/dist/chunks/{file-hznfad64.js → bus-3pf38fxc.js} +24 -24
  54. package/dist/chunks/{file-3smtnn6g.js → bus-3smtnn6g.js} +1 -1
  55. package/dist/chunks/{file-3tvqynh2.js → bus-3tvqynh2.js} +1 -1
  56. package/dist/chunks/{file-y7egkzp6.js → bus-45kmc290.js} +15 -15
  57. package/dist/chunks/{file-7g79e5pr.js → bus-4d5vyrnh.js} +8 -8
  58. package/dist/chunks/{file-94sf61n7.js → bus-4xdz4snq.js} +9 -9
  59. package/dist/chunks/{file-4vf981v9.js → bus-50wkfpjr.js} +18 -18
  60. package/dist/chunks/{file-knac466s.js → bus-54c6103e.js} +21 -21
  61. package/dist/chunks/bus-578j099y.js +22 -0
  62. package/dist/chunks/{file-tk6q6kp1.js → bus-5cn90sgv.js} +20 -20
  63. package/dist/chunks/{file-5daktx2q.js → bus-5daktx2q.js} +1 -1
  64. package/dist/chunks/{file-w59r8svm.js → bus-5dcvxp1d.js} +13 -13
  65. package/dist/chunks/{file-vabb23s0.js → bus-5jtdmvnp.js} +1 -1
  66. package/dist/chunks/{file-vjknh09n.js → bus-5rfvnrqe.js} +69 -69
  67. package/dist/chunks/{file-5t3nmthw.js → bus-5t3nmthw.js} +2 -2
  68. package/dist/chunks/{file-67e9xs01.js → bus-65d7re2p.js} +22 -22
  69. package/dist/chunks/{file-669tq793.js → bus-669tq793.js} +1 -1
  70. package/dist/chunks/{file-0ea3rya4.js → bus-678ce1rn.js} +7 -7
  71. package/dist/chunks/{file-y0kn4hqx.js → bus-6akyj57t.js} +9 -9
  72. package/dist/chunks/{file-qf00j6dv.js → bus-6amate8q.js} +17 -17
  73. package/dist/chunks/{file-b4nrwvyj.js → bus-6bs0ze1e.js} +15 -15
  74. package/dist/chunks/{file-dvmnmd5k.js → bus-6e18hcte.js} +42 -42
  75. package/dist/chunks/{file-6msgmcgs.js → bus-6msgmcgs.js} +1 -1
  76. package/dist/chunks/{file-csf2jhsg.js → bus-6p3xbzsx.js} +4 -4
  77. package/dist/chunks/{file-mvfjcd1q.js → bus-6pfbz9y2.js} +10 -10
  78. package/dist/chunks/{file-71q4at8m.js → bus-71q4at8m.js} +1 -1
  79. package/dist/chunks/{file-mhkvc446.js → bus-73tb2d7t.js} +3 -3
  80. package/dist/chunks/{file-jbax583q.js → bus-76w1t1yj.js} +1 -1
  81. package/dist/chunks/{file-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
  82. package/dist/chunks/{file-j8sknp13.js → bus-7c9jbg9y.js} +20 -20
  83. package/dist/chunks/{file-nrzk1d2g.js → bus-7v401y1c.js} +19 -19
  84. package/dist/chunks/{file-1q2nd9f6.js → bus-7wh9hy1a.js} +52 -52
  85. package/dist/chunks/{file-q73rq2bt.js → bus-7wsvn7dg.js} +24 -24
  86. package/dist/chunks/{file-nx4935gj.js → bus-80e0yyk8.js} +10 -10
  87. package/dist/chunks/{file-81swgkk7.js → bus-81swgkk7.js} +2 -2
  88. package/dist/chunks/{file-q26tgv94.js → bus-844ef7ks.js} +8 -8
  89. package/dist/chunks/{file-8d7r5vzw.js → bus-8d7r5vzw.js} +1 -1
  90. package/dist/chunks/{file-wea26x67.js → bus-8dt4t099.js} +4 -4
  91. package/dist/chunks/{file-t3g2ccp6.js → bus-8ev9m3kr.js} +26 -26
  92. package/dist/chunks/{file-t5qb37t7.js → bus-8ga2rbrz.js} +10 -10
  93. package/dist/chunks/{file-8tef8d4h.js → bus-8ja0m408.js} +41 -41
  94. package/dist/chunks/{file-dj2t23y0.js → bus-8p4f9s12.js} +2 -2
  95. package/dist/chunks/{file-kt5w8vxh.js → bus-8pngxq2x.js} +10 -10
  96. package/dist/chunks/{file-cny5rd43.js → bus-8t1wrec1.js} +8 -8
  97. package/dist/chunks/{file-y5cw24ds.js → bus-91ahjgzv.js} +14 -14
  98. package/dist/chunks/{file-s4m5whm3.js → bus-92j3apgd.js} +42 -42
  99. package/dist/chunks/{file-b4n85fcv.js → bus-9d775fyf.js} +30 -30
  100. package/dist/chunks/{file-5xhpatkf.js → bus-9ge5qtph.js} +11 -11
  101. package/dist/chunks/{file-rq8fnevv.js → bus-9pqmfa27.js} +3 -3
  102. package/dist/chunks/{file-0rvyveqe.js → bus-9sg3cs2t.js} +16 -16
  103. package/dist/chunks/{file-vvxeqa35.js → bus-9stazftj.js} +134 -134
  104. package/dist/chunks/{file-dw8dc0pw.js → bus-a1bwf94s.js} +11 -11
  105. package/dist/chunks/{file-5c4hm403.js → bus-a1bz86dw.js} +3 -3
  106. package/dist/chunks/{file-ttqfmzkf.js → bus-a4exdnt3.js} +4 -4
  107. package/dist/chunks/{file-tegrjk77.js → bus-a4s3bgbq.js} +7 -7
  108. package/dist/chunks/{file-sxhqw0xy.js → bus-a87z9vq8.js} +30 -30
  109. package/dist/chunks/{file-aaet6srn.js → bus-aaet6srn.js} +2 -2
  110. package/dist/chunks/{file-dsf3jx99.js → bus-aj64j3za.js} +6 -6
  111. package/dist/chunks/{file-jqcc8e1d.js → bus-apg01d9p.js} +10 -10
  112. package/dist/chunks/{file-5vc2whd9.js → bus-aypcqpwv.js} +29 -29
  113. package/dist/chunks/{file-b6gygkdw.js → bus-b6gygkdw.js} +2 -2
  114. package/dist/chunks/{file-y0bkwhrp.js → bus-bjt4k7v3.js} +20 -20
  115. package/dist/chunks/{file-w645sbyz.js → bus-bs0x6s8g.js} +17 -17
  116. package/dist/chunks/{file-zx86nq6m.js → bus-btekesqw.js} +10 -10
  117. package/dist/chunks/{file-bdbwpwhn.js → bus-bwer0mcv.js} +26 -26
  118. package/dist/chunks/bus-by5v678g.js +18 -0
  119. package/dist/chunks/{file-bge4fr1z.js → bus-byaheska.js} +19 -19
  120. package/dist/chunks/{file-79175vp8.js → bus-bzke21cp.js} +33 -33
  121. package/dist/chunks/{file-shsgghb2.js → bus-c0bvtzp5.js} +23 -23
  122. package/dist/chunks/{file-0djf8xh9.js → bus-c5as0yvq.js} +5 -5
  123. package/dist/chunks/{file-4hszn1mb.js → bus-c6591jrk.js} +37 -37
  124. package/dist/chunks/{file-sq4v2gnf.js → bus-caq2c48b.js} +9 -9
  125. package/dist/chunks/{file-m0jqrx5p.js → bus-cfpkc3c9.js} +2 -2
  126. package/dist/chunks/{file-wcge806m.js → bus-cq37gk0t.js} +4 -4
  127. package/dist/chunks/{file-d0chnedg.js → bus-cw1ehra3.js} +41 -41
  128. package/dist/chunks/{file-y2800yn9.js → bus-czkgr94f.js} +4 -4
  129. package/dist/chunks/{file-008dah4r.js → bus-d1dwjz3j.js} +46 -46
  130. package/dist/chunks/{file-1q5awywt.js → bus-d1r5081s.js} +5 -5
  131. package/dist/chunks/{file-s52qk724.js → bus-d8ksp3m6.js} +27 -27
  132. package/dist/chunks/{file-xcp573p8.js → bus-d931vq23.js} +2 -2
  133. package/dist/chunks/{file-e9vyr379.js → bus-d9q0n3sf.js} +9 -9
  134. package/dist/chunks/{file-bby00dsd.js → bus-dc76j9wz.js} +8 -8
  135. package/dist/chunks/{file-h2wxq9m6.js → bus-ddexhamb.js} +16 -16
  136. package/dist/chunks/{file-axh6m6j7.js → bus-dg9v98ve.js} +20 -20
  137. package/dist/chunks/{file-2k29q1p2.js → bus-dtj5a7tc.js} +53 -53
  138. package/dist/chunks/{file-x513e6jx.js → bus-e010nfwn.js} +20 -20
  139. package/dist/chunks/{file-g9ew5f51.js → bus-e07fh9p3.js} +5 -5
  140. package/dist/chunks/{file-pq4st5kv.js → bus-e0prvjnp.js} +2 -2
  141. package/dist/chunks/{file-vyrr568v.js → bus-ek27wd5s.js} +9 -9
  142. package/dist/chunks/{file-81pg61w1.js → bus-esngagfe.js} +8 -8
  143. package/dist/chunks/{file-etq0c3wd.js → bus-etq0c3wd.js} +1 -1
  144. package/dist/chunks/{file-7sgb7w3n.js → bus-evtq9ncg.js} +8 -8
  145. package/dist/chunks/{file-1xzdp18p.js → bus-ex1tnahw.js} +18 -18
  146. package/dist/chunks/{file-hdnk95c8.js → bus-f828m53h.js} +2 -2
  147. package/dist/chunks/{file-h2gyv3sg.js → bus-f9bavhm2.js} +1 -1
  148. package/dist/chunks/{file-qrbavdvc.js → bus-ftezeqv3.js} +15 -15
  149. package/dist/chunks/{file-fxbjtjnd.js → bus-fxbjtjnd.js} +1 -1
  150. package/dist/chunks/{file-5965tgm9.js → bus-fzhn4ra8.js} +25 -25
  151. package/dist/chunks/{file-a2zsx8ap.js → bus-g81r2fbr.js} +18 -18
  152. package/dist/chunks/{file-gd4qta3r.js → bus-gd4qta3r.js} +1 -1
  153. package/dist/chunks/{file-ab8td0yc.js → bus-gssc8jsq.js} +39 -39
  154. package/dist/chunks/{file-gsx0ryk4.js → bus-gsx0ryk4.js} +2 -2
  155. package/dist/chunks/{file-1s5k653j.js → bus-gtgj7jsd.js} +27 -27
  156. package/dist/chunks/{file-th5km1p3.js → bus-gv6a8nnw.js} +5 -5
  157. package/dist/chunks/{file-58ax6zm2.js → bus-gvphacjb.js} +12 -12
  158. package/dist/chunks/{file-mq2071pb.js → bus-gw1k03mf.js} +11 -11
  159. package/dist/chunks/{file-h03wrkyp.js → bus-h03wrkyp.js} +2 -2
  160. package/dist/chunks/{file-xbrgdg50.js → bus-h1vg8afz.js} +13 -13
  161. package/dist/chunks/{file-2erbc7c4.js → bus-h2gxeskk.js} +7 -7
  162. package/dist/chunks/{file-h6vf3j39.js → bus-h6vf3j39.js} +1 -1
  163. package/dist/chunks/{file-2bdsn8gv.js → bus-h74ge2a2.js} +8 -8
  164. package/dist/chunks/{file-rkh7tb58.js → bus-h8507pfw.js} +13 -13
  165. package/dist/chunks/{file-enk99f8n.js → bus-hj7jnvhr.js} +2 -2
  166. package/dist/chunks/{file-e82z9tr0.js → bus-hjt4xg1x.js} +7 -7
  167. package/dist/chunks/{file-wwegy27d.js → bus-hzc8qab0.js} +32 -32
  168. package/dist/chunks/{file-3x6z6rsx.js → bus-j24nh5aa.js} +15 -15
  169. package/dist/chunks/{file-8ncz7km3.js → bus-j3ewftxc.js} +7 -7
  170. package/dist/chunks/{file-j56e64zr.js → bus-j56e64zr.js} +1 -1
  171. package/dist/chunks/{file-zv0544jz.js → bus-jfqtm2ew.js} +4 -4
  172. package/dist/chunks/{file-w5yv7xxz.js → bus-jgy4w7ep.js} +6 -6
  173. package/dist/chunks/{file-79zsnxkc.js → bus-jhtev1kt.js} +11 -11
  174. package/dist/chunks/{file-vypqtakx.js → bus-jy16bfac.js} +1 -1
  175. package/dist/chunks/{file-9phvn7ns.js → bus-k0k8y9a7.js} +3 -3
  176. package/dist/chunks/{file-1ndzzahp.js → bus-k6avkgtn.js} +3 -3
  177. package/dist/chunks/{file-4g3hne3q.js → bus-kc6sgx3t.js} +14 -14
  178. package/dist/chunks/{file-kg06axw8.js → bus-kg06axw8.js} +1 -1
  179. package/dist/chunks/{file-3jp54z3r.js → bus-kjcr15p7.js} +1 -1
  180. package/dist/chunks/{file-axmvebxj.js → bus-kk00bynn.js} +4 -4
  181. package/dist/chunks/{file-n37c4crj.js → bus-kpvyk30t.js} +9 -9
  182. package/dist/chunks/{file-976ysedg.js → bus-kr6jnmgs.js} +11 -11
  183. package/dist/chunks/{file-csyt93pz.js → bus-kt9yxkkw.js} +8 -8
  184. package/dist/chunks/{file-wkpvzz54.js → bus-kzvhg9hn.js} +9 -9
  185. package/dist/chunks/{file-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
  186. package/dist/chunks/{file-1ygqh575.js → bus-mfqp6xfm.js} +6 -6
  187. package/dist/chunks/{file-pjedbq3k.js → bus-mjncxbbh.js} +6 -6
  188. package/dist/chunks/{file-mkcjrzeh.js → bus-mkcjrzeh.js} +1 -1
  189. package/dist/chunks/{file-w85wdfaw.js → bus-mm42hkcz.js} +18 -18
  190. package/dist/chunks/{file-3cz8rj72.js → bus-mtft99cd.js} +5 -5
  191. package/dist/chunks/{file-aw3yg1a6.js → bus-n31fqgg2.js} +11 -11
  192. package/dist/chunks/{file-2bk70kd1.js → bus-nd285e9w.js} +11 -11
  193. package/dist/chunks/{file-4znd88gj.js → bus-ngtvrv33.js} +32 -32
  194. package/dist/chunks/{file-pjsmk15p.js → bus-njct8jvz.js} +16 -16
  195. package/dist/chunks/{file-t0x5rdq8.js → bus-p1wf2k30.js} +9 -9
  196. package/dist/chunks/{file-04bp4d3m.js → bus-p287w59f.js} +11 -11
  197. package/dist/chunks/{file-v4b36nj3.js → bus-p72z5xx6.js} +2 -2
  198. package/dist/chunks/{file-jqcaya3d.js → bus-pb7ssnfd.js} +11 -11
  199. package/dist/chunks/{file-pjvnvgmy.js → bus-pjvnvgmy.js} +1 -1
  200. package/dist/chunks/{file-pknna89w.js → bus-pknna89w.js} +1 -1
  201. package/dist/chunks/{file-2nhrma10.js → bus-prcjvqfg.js} +8 -8
  202. package/dist/chunks/{file-n5qmychr.js → bus-psvegz14.js} +18 -18
  203. package/dist/chunks/{file-pzh16mkn.js → bus-pzh16mkn.js} +2 -2
  204. package/dist/chunks/{file-t9sxjxdg.js → bus-q1a91n7k.js} +8 -8
  205. package/dist/chunks/{file-j5e99w94.js → bus-q1f45d8g.js} +22 -22
  206. package/dist/chunks/{file-3trbxeqx.js → bus-qmr73083.js} +1 -1
  207. package/dist/chunks/{file-3m095h8d.js → bus-qpes22qe.js} +14 -14
  208. package/dist/chunks/{file-qz49fwgp.js → bus-qqtwvk4z.js} +6 -6
  209. package/dist/chunks/{file-6fdj6kdr.js → bus-qr27hz8v.js} +4 -4
  210. package/dist/chunks/{file-w44msefy.js → bus-qrqp7107.js} +14 -14
  211. package/dist/chunks/{file-qsdy395h.js → bus-qsdy395h.js} +1 -1
  212. package/dist/chunks/{file-em6n8dz9.js → bus-qx44h9xp.js} +44 -44
  213. package/dist/chunks/{file-eex81ar0.js → bus-rac1zgpy.js} +28 -28
  214. package/dist/chunks/{file-hzvfpvak.js → bus-refnp3pv.js} +4 -4
  215. package/dist/chunks/{file-rhjbct0v.js → bus-rhjbct0v.js} +1 -1
  216. package/dist/chunks/{file-vr4b7vmt.js → bus-rp6fyjtn.js} +10 -10
  217. package/dist/chunks/{file-kd3m4z14.js → bus-s38pncdy.js} +20 -20
  218. package/dist/chunks/{file-s4enseaf.js → bus-s4enseaf.js} +2 -2
  219. package/dist/chunks/{file-6c7ejz51.js → bus-scz5mjk7.js} +4 -4
  220. package/dist/chunks/{file-7xdgscg1.js → bus-seggh8xt.js} +15 -15
  221. package/dist/chunks/{file-t1n4dhg9.js → bus-sma03fcp.js} +9 -9
  222. package/dist/chunks/{file-rs226bz6.js → bus-sv9bpgvh.js} +5 -5
  223. package/dist/chunks/{file-kbqxyd6c.js → bus-swf6f7p9.js} +11 -11
  224. package/dist/chunks/{file-rt7tcdqd.js → bus-t1bk1a1z.js} +33 -33
  225. package/dist/chunks/{file-hmtfd8e7.js → bus-t2g8y53t.js} +11 -11
  226. package/dist/chunks/{file-c7m8954m.js → bus-t2zw4ehs.js} +5 -5
  227. package/dist/chunks/{file-wdatz8ry.js → bus-t62yyj2t.js} +10 -10
  228. package/dist/chunks/{file-tazgh4e4.js → bus-tazgh4e4.js} +1 -1
  229. package/dist/chunks/{file-tcezcvh9.js → bus-tcezcvh9.js} +1 -1
  230. package/dist/chunks/{file-tdstcens.js → bus-tdstcens.js} +1 -1
  231. package/dist/chunks/{file-kggrcpgh.js → bus-trt64bkt.js} +11 -11
  232. package/dist/chunks/{file-tvtrv512.js → bus-tvtrv512.js} +1 -1
  233. package/dist/chunks/{file-z3syage6.js → bus-ty14kxfn.js} +20 -20
  234. package/dist/chunks/{file-s0vw0vjm.js → bus-v2ejn755.js} +26 -26
  235. package/dist/chunks/{file-9k2v62xn.js → bus-v8ch97zc.js} +1 -1
  236. package/dist/chunks/{file-3c1tgrea.js → bus-ve6nm2s5.js} +6 -6
  237. package/dist/chunks/{file-veqvce7d.js → bus-veqvce7d.js} +1 -1
  238. package/dist/chunks/{file-yca9gk6f.js → bus-vezrvrpz.js} +14 -14
  239. package/dist/chunks/{file-5vvax2qg.js → bus-vfsjdgra.js} +16 -16
  240. package/dist/chunks/{file-25kqvm6v.js → bus-vgedysxv.js} +15 -15
  241. package/dist/chunks/{file-rsz0a70p.js → bus-vkrb956e.js} +298 -298
  242. package/dist/chunks/{file-vmq7ehpy.js → bus-vmq7ehpy.js} +2 -2
  243. package/dist/chunks/{file-4x6ztkk5.js → bus-vwwyt62p.js} +4 -4
  244. package/dist/chunks/{file-vzcthcp8.js → bus-vzcthcp8.js} +1 -1
  245. package/dist/chunks/{file-2tv38tk1.js → bus-vzna85n7.js} +3 -3
  246. package/dist/chunks/{file-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
  247. package/dist/chunks/{file-ra8xed55.js → bus-wa2dac04.js} +28 -28
  248. package/dist/chunks/{file-7be1f342.js → bus-wc7hea4z.js} +15 -15
  249. package/dist/chunks/{file-wd87259q.js → bus-wd87259q.js} +1 -1
  250. package/dist/chunks/{file-ya1b4y87.js → bus-wdnk5teh.js} +21 -21
  251. package/dist/chunks/{file-exww9xwg.js → bus-weeegdkk.js} +9 -9
  252. package/dist/chunks/{file-bkqrvamq.js → bus-wg7k3gk9.js} +32 -32
  253. package/dist/chunks/{file-3nj27wxf.js → bus-wh60pg5s.js} +10 -10
  254. package/dist/chunks/{file-h5pnkca0.js → bus-wh639w33.js} +35 -35
  255. package/dist/chunks/{file-a1d2hteq.js → bus-wk2zc65r.js} +11 -11
  256. package/dist/chunks/{file-w6w0btqv.js → bus-wnpr5qws.js} +6 -6
  257. package/dist/chunks/{file-yckky8df.js → bus-wpcdczfe.js} +6 -6
  258. package/dist/chunks/{file-8gkhtxwv.js → bus-wvzfgg4c.js} +21 -21
  259. package/dist/chunks/{file-cp5f26bt.js → bus-x122gxrn.js} +21 -21
  260. package/dist/chunks/{file-x1ezjp6w.js → bus-x1ezjp6w.js} +1 -1
  261. package/dist/chunks/{file-swasttjx.js → bus-x1t6vezw.js} +13 -13
  262. package/dist/chunks/{file-x43y2vfs.js → bus-x43y2vfs.js} +2 -2
  263. package/dist/chunks/{file-wfpsx1me.js → bus-xbrnje9f.js} +8 -8
  264. package/dist/chunks/{file-z9s268w6.js → bus-xfpdx5t3.js} +7 -7
  265. package/dist/chunks/{file-agg557zn.js → bus-xg3sah7k.js} +6 -6
  266. package/dist/chunks/{file-s2tycd90.js → bus-xp5q11x6.js} +20 -20
  267. package/dist/chunks/{file-y1fvbwt7.js → bus-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{file-arm49q9k.js → bus-y4m39d6z.js} +44 -44
  269. package/dist/chunks/{file-dpkg50ah.js → bus-y71avatq.js} +4 -4
  270. package/dist/chunks/{file-4qfh6hxk.js → bus-ybbm8fej.js} +24 -24
  271. package/dist/chunks/{file-f2n192rq.js → bus-yp2x3t23.js} +4 -4
  272. package/dist/chunks/{file-yrhqyw5v.js → bus-yrhqyw5v.js} +1 -1
  273. package/dist/chunks/{file-hw2gt29t.js → bus-yywfy67y.js} +12 -12
  274. package/dist/chunks/{file-z0bkrqjs.js → bus-z0bkrqjs.js} +1 -1
  275. package/dist/chunks/{file-2nck4hg8.js → bus-z1b1h7dj.js} +13 -13
  276. package/dist/chunks/{file-2j4ksk9q.js → bus-z7a0szv5.js} +14 -14
  277. package/dist/chunks/{file-2cws46q3.js → bus-z8xaha1g.js} +14 -14
  278. package/dist/chunks/{file-51kk6f2e.js → bus-zcer3j7s.js} +15 -15
  279. package/dist/chunks/{file-zeh9ct20.js → bus-zeh9ct20.js} +2 -2
  280. package/dist/chunks/{file-1xb0henf.js → bus-zfr0a75a.js} +32 -32
  281. package/dist/chunks/{file-0rpg7gzc.js → bus-zj09a0ew.js} +4 -4
  282. package/dist/chunks/{file-vg6tfdkt.js → bus-zkqxbvht.js} +13 -13
  283. package/dist/chunks/{file-82594dam.js → bus-zn3tg85k.js} +7 -7
  284. package/dist/chunks/{file-nz54bs3w.js → bus-zpsh6c0j.js} +19 -19
  285. package/dist/chunks/{file-zr2ceqn5.js → bus-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{file-4w7x8wv5.js → bus-zt0w0vav.js} +19 -19
  287. package/dist/chunks/{file-zxq2ej10.js → bus-zxq2ej10.js} +1 -1
  288. package/dist/codemode/catalog.js +3 -3
  289. package/dist/codemode/instructions.js +11 -11
  290. package/dist/codemode/tool.js +2 -2
  291. package/dist/command.js +79 -79
  292. package/dist/config/discovery.js +77 -77
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +19 -19
  295. package/dist/config/plugin/agent.js +117 -117
  296. package/dist/config/plugin/command.js +209 -209
  297. package/dist/config/plugin/compaction.js +155 -155
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +117 -117
  300. package/dist/config/plugin/image.js +115 -115
  301. package/dist/config/plugin/instruction.js +85 -85
  302. package/dist/config/plugin/location-watcher.js +117 -117
  303. package/dist/config/plugin/mcp.js +126 -126
  304. package/dist/config/plugin/policy.js +114 -114
  305. package/dist/config/plugin/provider.js +113 -113
  306. package/dist/config/plugin/reference.js +117 -117
  307. package/dist/config/plugin/shell.js +118 -118
  308. package/dist/config/plugin/skill-file.js +97 -97
  309. package/dist/config/plugin/skill.js +136 -136
  310. package/dist/config/plugin/snapshot.js +115 -115
  311. package/dist/config/plugin/source.js +117 -117
  312. package/dist/config/plugin/tool-output.js +117 -117
  313. package/dist/config/plugin/websearch.js +115 -115
  314. package/dist/config/plugin/worktree.js +118 -118
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +115 -115
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +75 -75
  320. package/dist/database/database.js +64 -64
  321. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +15 -15
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +16 -16
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration.gen.js +47 -47
  384. package/dist/database/migration.js +49 -49
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +74 -74
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +361 -361
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +3 -3
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +88 -88
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +90 -90
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +72 -72
  408. package/dist/file-access.js +99 -99
  409. package/dist/file-mutation.js +89 -89
  410. package/dist/file-retention.js +1 -1
  411. package/dist/file.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/ignore.js +1 -1
  417. package/dist/filesystem/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +222 -222
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +99 -99
  421. package/dist/filesystem/watcher-binding.js +1 -1
  422. package/dist/filesystem/watcher.js +11 -11
  423. package/dist/filesystem.js +96 -96
  424. package/dist/form.js +82 -82
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +82 -82
  427. package/dist/generate.js +87 -87
  428. package/dist/git.js +7 -7
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +3 -3
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/id/id.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +2 -2
  451. package/dist/instance/service.js +5 -5
  452. package/dist/instance.js +352 -352
  453. package/dist/instruction-discovery.js +81 -81
  454. package/dist/instructions/builtins.js +82 -82
  455. package/dist/instructions/index.js +1 -1
  456. package/dist/integration/connection.js +1 -1
  457. package/dist/integration.js +82 -82
  458. package/dist/job.js +77 -77
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +71 -71
  461. package/dist/location-activity.js +133 -133
  462. package/dist/location-mutation.js +99 -99
  463. package/dist/location-service-map.js +83 -83
  464. package/dist/location-services.js +349 -349
  465. package/dist/location.js +76 -76
  466. package/dist/mcp/client.js +86 -86
  467. package/dist/mcp/index.js +103 -103
  468. package/dist/mcp/instructions.js +120 -120
  469. package/dist/mcp/oauth.js +3 -3
  470. package/dist/mcp/stdio.js +85 -85
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +3 -3
  473. package/dist/model-resolver.js +86 -86
  474. package/dist/model.js +6 -6
  475. package/dist/models-dev.js +86 -86
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +80 -80
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +106 -106
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +76 -76
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +73 -73
  485. package/dist/plugin/agent.js +99 -99
  486. package/dist/plugin/command.js +96 -96
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +213 -213
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +323 -323
  491. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  492. package/dist/plugin/models-dev.js +75 -75
  493. package/dist/plugin/module.js +7 -7
  494. package/dist/plugin/optimize.js +4 -4
  495. package/dist/plugin/plan.js +97 -97
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/alibaba.js +2 -2
  498. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  499. package/dist/plugin/provider/anthropic.js +2 -2
  500. package/dist/plugin/provider/azure.js +118 -118
  501. package/dist/plugin/provider/cerebras.js +2 -2
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +114 -114
  506. package/dist/plugin/provider/digitalocean.js +79 -79
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/gateway.js +2 -2
  510. package/dist/plugin/provider/github-copilot.js +80 -80
  511. package/dist/plugin/provider/gitlab.js +3 -3
  512. package/dist/plugin/provider/google-vertex.js +2 -2
  513. package/dist/plugin/provider/kilo.js +2 -2
  514. package/dist/plugin/provider/llmgateway.js +76 -76
  515. package/dist/plugin/provider/lmstudio.js +117 -117
  516. package/dist/plugin/provider/mistral.js +2 -2
  517. package/dist/plugin/provider/modal.js +79 -79
  518. package/dist/plugin/provider/nvidia.js +2 -2
  519. package/dist/plugin/provider/ollama.js +117 -117
  520. package/dist/plugin/provider/openai-compatible.js +1 -1
  521. package/dist/plugin/provider/openai.js +80 -80
  522. package/dist/plugin/provider/opencode.js +76 -76
  523. package/dist/plugin/provider/openrouter.js +3 -3
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/sap-ai-core.js +3 -3
  526. package/dist/plugin/provider/sdk-factory.js +1 -1
  527. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  528. package/dist/plugin/provider/venice.js +2 -2
  529. package/dist/plugin/provider/vercel.js +2 -2
  530. package/dist/plugin/provider/vllm.js +117 -117
  531. package/dist/plugin/provider/xai.js +77 -77
  532. package/dist/plugin/provider/zenmux.js +2 -2
  533. package/dist/plugin/provider.js +156 -156
  534. package/dist/plugin/sdk.js +74 -74
  535. package/dist/plugin/service.js +3 -3
  536. package/dist/plugin/skill.js +133 -133
  537. package/dist/plugin/source-directory.js +1 -1
  538. package/dist/plugin/supervisor.js +342 -342
  539. package/dist/plugin/update.js +6 -6
  540. package/dist/plugin/variant.js +4 -4
  541. package/dist/plugin/vcs/git.js +82 -82
  542. package/dist/plugin/vcs/hg.js +82 -82
  543. package/dist/plugin/warming.js +112 -112
  544. package/dist/plugin/websearch/exa.js +7 -7
  545. package/dist/plugin/websearch/firecrawl.js +8 -8
  546. package/dist/plugin/websearch/index.js +8 -8
  547. package/dist/plugin/websearch/mcp.js +4 -4
  548. package/dist/plugin/websearch/parallel.js +8 -8
  549. package/dist/plugin/websearch/tavily.js +6 -6
  550. package/dist/plugin.js +220 -220
  551. package/dist/project/schema.js +2 -2
  552. package/dist/project/sql.js +4 -4
  553. package/dist/project.js +75 -75
  554. package/dist/provider.js +5 -5
  555. package/dist/pty/protocol.js +1 -1
  556. package/dist/pty/schema.js +3 -3
  557. package/dist/pty/ticket.js +1 -1
  558. package/dist/pty.js +90 -90
  559. package/dist/reference/instructions.js +84 -84
  560. package/dist/reference.js +84 -84
  561. package/dist/repository-cache.js +76 -76
  562. package/dist/repository.js +1 -1
  563. package/dist/ripgrep/binary.js +2 -2
  564. package/dist/ripgrep.js +91 -91
  565. package/dist/rpc.js +81 -81
  566. package/dist/schema.js +1 -1
  567. package/dist/session/command.js +72 -72
  568. package/dist/session/compaction.js +129 -129
  569. package/dist/session/context.js +147 -147
  570. package/dist/session/environment.js +5 -5
  571. package/dist/session/error.js +5 -5
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +219 -219
  574. package/dist/session/execution.js +124 -124
  575. package/dist/session/generate.js +146 -146
  576. package/dist/session/history.js +13 -13
  577. package/dist/session/inbox.js +86 -86
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +77 -77
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +92 -92
  582. package/dist/session/message-updater.js +4 -4
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +111 -111
  585. package/dist/session/model-transport.js +7 -7
  586. package/dist/session/move.js +126 -126
  587. package/dist/session/projector.js +84 -84
  588. package/dist/session/prompt.js +100 -100
  589. package/dist/session/provider-context.js +3 -3
  590. package/dist/session/revert.js +85 -85
  591. package/dist/session/run-coordinator.js +3 -3
  592. package/dist/session/runner/index.js +3 -3
  593. package/dist/session/runner/llm.js +225 -225
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +82 -82
  596. package/dist/session/runner/publish-llm-event.js +3 -3
  597. package/dist/session/runner/retry.js +110 -110
  598. package/dist/session/runner/step.js +121 -121
  599. package/dist/session/runner/to-llm-message.js +2 -2
  600. package/dist/session/schema.js +5 -5
  601. package/dist/session/session.js +169 -169
  602. package/dist/session/shell.js +131 -131
  603. package/dist/session/skill.js +98 -98
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +71 -71
  606. package/dist/session/store.js +85 -85
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +205 -205
  609. package/dist/session/system-prompt.js +5 -5
  610. package/dist/session/title.js +151 -151
  611. package/dist/session/to-session-error.js +107 -107
  612. package/dist/session/transfer.js +212 -212
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +211 -211
  615. package/dist/shell/parse.js +6 -6
  616. package/dist/shell/result.js +1 -1
  617. package/dist/shell/scan.js +1 -1
  618. package/dist/shell/select.js +7 -7
  619. package/dist/shell.js +131 -131
  620. package/dist/skill/discovery.js +2 -2
  621. package/dist/skill/instructions.js +100 -100
  622. package/dist/skill.js +103 -103
  623. package/dist/snapshot.js +84 -84
  624. package/dist/state.js +1 -1
  625. package/dist/tool/html-markdown.js +1 -1
  626. package/dist/tool/http-body.js +1 -1
  627. package/dist/tool/mcp.js +121 -121
  628. package/dist/tool/plugin/edit.js +115 -115
  629. package/dist/tool/plugin/file-diff.js +1 -1
  630. package/dist/tool/plugin/glob.js +120 -120
  631. package/dist/tool/plugin/grep.js +120 -120
  632. package/dist/tool/plugin/opencode.js +3 -3
  633. package/dist/tool/plugin/patch.js +117 -117
  634. package/dist/tool/plugin/question.js +98 -98
  635. package/dist/tool/plugin/read.js +121 -121
  636. package/dist/tool/plugin/shell.js +212 -212
  637. package/dist/tool/plugin/skill.js +108 -108
  638. package/dist/tool/plugin/subagent.js +214 -214
  639. package/dist/tool/plugin/webfetch.js +105 -105
  640. package/dist/tool/plugin/websearch.js +109 -109
  641. package/dist/tool/plugin/write.js +117 -117
  642. package/dist/tool/read-filesystem.js +96 -96
  643. package/dist/tool/runtime.js +1 -1
  644. package/dist/tool-output.js +8 -8
  645. package/dist/tool.js +11 -11
  646. package/dist/util/error-summary.js +1 -1
  647. package/dist/util/error.js +1 -1
  648. package/dist/util/iife.js +1 -1
  649. package/dist/util/lazy.js +1 -1
  650. package/dist/util/slug.js +1 -1
  651. package/dist/util/token.js +1 -1
  652. package/dist/util/which.js +1 -1
  653. package/dist/util/wildcard.js +1 -1
  654. package/dist/v1/config/agent.js +5 -5
  655. package/dist/v1/config/attachment.js +4 -4
  656. package/dist/v1/config/command.js +3 -3
  657. package/dist/v1/config/config.js +16 -16
  658. package/dist/v1/config/error.js +2 -2
  659. package/dist/v1/config/formatter.js +5 -5
  660. package/dist/v1/config/layout.js +1 -1
  661. package/dist/v1/config/lsp.js +5 -5
  662. package/dist/v1/config/mcp.js +4 -4
  663. package/dist/v1/config/migrate.js +4 -4
  664. package/dist/v1/config/permission.js +3 -3
  665. package/dist/v1/config/plugin.js +3 -3
  666. package/dist/v1/config/provider-options.js +1 -1
  667. package/dist/v1/config/provider.js +2 -2
  668. package/dist/v1/config/server.js +2 -2
  669. package/dist/v1/config/skills.js +3 -3
  670. package/dist/v1/permission.js +1 -1
  671. package/dist/vcs/patch.js +1 -1
  672. package/dist/vcs.js +85 -85
  673. package/dist/websearch.js +78 -78
  674. package/dist/wellknown/plugin.js +74 -74
  675. package/dist/wellknown.js +75 -75
  676. package/dist/workspace/driver.js +3 -3
  677. package/dist/workspace/sql.js +1 -1
  678. package/dist/workspace.js +76 -76
  679. package/dist/worktree/directory.js +4 -4
  680. package/dist/worktree/git.js +7 -7
  681. package/dist/worktree/refresh.js +339 -339
  682. package/dist/worktree/sql.js +5 -5
  683. package/dist/worktree.js +89 -89
  684. package/package.json +8 -8
  685. package/dist/chunks/file-2nz9k5ke.js +0 -247
  686. package/dist/chunks/file-4v7qdvcn.js +0 -18
  687. package/dist/chunks/file-h5wzpkcb.js +0 -22
  688. package/dist/chunks/file-xrsqh21y.js +0 -4
  689. /package/dist/chunks/{file-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
  690. /package/dist/chunks/{file-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
  691. /package/dist/chunks/{file-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
  692. /package/dist/chunks/{file-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
  693. /package/dist/chunks/{file-1kg9ymc8.js → bus-1kg9ymc8.js} +0 -0
  694. /package/dist/chunks/{file-2710q6r3.js → bus-2710q6r3.js} +0 -0
  695. /package/dist/chunks/{file-2axfhc9x.js → bus-2axfhc9x.js} +0 -0
  696. /package/dist/chunks/{file-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
  697. /package/dist/chunks/{file-359p4xyc.js → bus-359p4xyc.js} +0 -0
  698. /package/dist/chunks/{file-3asan66x.js → bus-3asan66x.js} +0 -0
  699. /package/dist/chunks/{file-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
  700. /package/dist/chunks/{file-3w5fmr99.js → bus-3w5fmr99.js} +0 -0
  701. /package/dist/chunks/{file-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
  702. /package/dist/chunks/{file-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
  703. /package/dist/chunks/{file-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
  704. /package/dist/chunks/{file-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
  705. /package/dist/chunks/{file-53557ph1.js → bus-53557ph1.js} +0 -0
  706. /package/dist/chunks/{file-550bvhaj.js → bus-550bvhaj.js} +0 -0
  707. /package/dist/chunks/{file-6prwharc.js → bus-6prwharc.js} +0 -0
  708. /package/dist/chunks/{file-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
  709. /package/dist/chunks/{file-7m9af43g.js → bus-7m9af43g.js} +0 -0
  710. /package/dist/chunks/{file-822emrt2.js → bus-822emrt2.js} +0 -0
  711. /package/dist/chunks/{file-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
  712. /package/dist/chunks/{file-8n3pysct.js → bus-8n3pysct.js} +0 -0
  713. /package/dist/chunks/{file-922hggd3.js → bus-922hggd3.js} +0 -0
  714. /package/dist/chunks/{file-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
  715. /package/dist/chunks/{file-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
  716. /package/dist/chunks/{file-a1tpkmh4.js → bus-a1tpkmh4.js} +0 -0
  717. /package/dist/chunks/{file-a6k6eb26.js → bus-a6k6eb26.js} +0 -0
  718. /package/dist/chunks/{file-af5trqkr.js → bus-af5trqkr.js} +0 -0
  719. /package/dist/chunks/{file-afrmfg78.js → bus-afrmfg78.js} +0 -0
  720. /package/dist/chunks/{file-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
  721. /package/dist/chunks/{file-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
  722. /package/dist/chunks/{file-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
  723. /package/dist/chunks/{file-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
  724. /package/dist/chunks/{file-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
  725. /package/dist/chunks/{file-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
  726. /package/dist/chunks/{file-d9fn303g.js → bus-d9fn303g.js} +0 -0
  727. /package/dist/chunks/{file-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
  728. /package/dist/chunks/{file-dajrwvna.js → bus-dajrwvna.js} +0 -0
  729. /package/dist/chunks/{file-dap0rakb.js → bus-dap0rakb.js} +0 -0
  730. /package/dist/chunks/{file-df08tz66.js → bus-df08tz66.js} +0 -0
  731. /package/dist/chunks/{file-dy18nga0.js → bus-dy18nga0.js} +0 -0
  732. /package/dist/chunks/{file-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
  733. /package/dist/chunks/{file-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
  734. /package/dist/chunks/{file-ec1grn59.js → bus-ec1grn59.js} +0 -0
  735. /package/dist/chunks/{file-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
  736. /package/dist/chunks/{file-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
  737. /package/dist/chunks/{file-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
  738. /package/dist/chunks/{file-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
  739. /package/dist/chunks/{file-faypxj3z.js → bus-faypxj3z.js} +0 -0
  740. /package/dist/chunks/{file-fd410y7t.js → bus-fd410y7t.js} +0 -0
  741. /package/dist/chunks/{file-fxgpk5d8.js → bus-fxgpk5d8.js} +0 -0
  742. /package/dist/chunks/{file-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
  743. /package/dist/chunks/{file-g86h250q.js → bus-g86h250q.js} +0 -0
  744. /package/dist/chunks/{file-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
  745. /package/dist/chunks/{file-gftt206x.js → bus-gftt206x.js} +0 -0
  746. /package/dist/chunks/{file-hjbc5kem.js → bus-hjbc5kem.js} +0 -0
  747. /package/dist/chunks/{file-hk9envan.js → bus-hk9envan.js} +0 -0
  748. /package/dist/chunks/{file-hrnqkpcd.js → bus-hrnqkpcd.js} +0 -0
  749. /package/dist/chunks/{file-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
  750. /package/dist/chunks/{file-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
  751. /package/dist/chunks/{file-j935v87r.js → bus-j935v87r.js} +0 -0
  752. /package/dist/chunks/{file-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
  753. /package/dist/chunks/{file-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
  754. /package/dist/chunks/{file-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
  755. /package/dist/chunks/{file-mp448xyj.js → bus-mp448xyj.js} +0 -0
  756. /package/dist/chunks/{file-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
  757. /package/dist/chunks/{file-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
  758. /package/dist/chunks/{file-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
  759. /package/dist/chunks/{file-njntx4h6.js → bus-njntx4h6.js} +0 -0
  760. /package/dist/chunks/{file-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
  761. /package/dist/chunks/{file-q74kybfr.js → bus-q74kybfr.js} +0 -0
  762. /package/dist/chunks/{file-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
  763. /package/dist/chunks/{file-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
  764. /package/dist/chunks/{file-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
  765. /package/dist/chunks/{file-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
  766. /package/dist/chunks/{file-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
  767. /package/dist/chunks/{file-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
  768. /package/dist/chunks/{file-sk3qaz4a.js → bus-sk3qaz4a.js} +0 -0
  769. /package/dist/chunks/{file-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
  770. /package/dist/chunks/{file-twg0f83k.js → bus-twg0f83k.js} +0 -0
  771. /package/dist/chunks/{file-w803qqfp.js → bus-w803qqfp.js} +0 -0
  772. /package/dist/chunks/{file-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
  773. /package/dist/chunks/{file-wtztk69x.js → bus-wtztk69x.js} +0 -0
  774. /package/dist/chunks/{file-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
  775. /package/dist/chunks/{file-x61499pn.js → bus-x61499pn.js} +0 -0
  776. /package/dist/chunks/{file-y44na4kk.js → bus-y44na4kk.js} +0 -0
  777. /package/dist/chunks/{file-y8cydn3q.js → bus-y8cydn3q.js} +0 -0
  778. /package/dist/chunks/{file-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
  779. /package/dist/chunks/{file-ym463w8f.js → bus-ym463w8f.js} +0 -0
  780. /package/dist/chunks/{file-z9919s4g.js → bus-z9919s4g.js} +0 -0
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./file-gftt206x.js";
3
+ } from "./bus-gftt206x.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./file-dv250zvr.js";
6
+ } from "./bus-2f04pwep.js";
7
7
  import {
8
8
  __export
9
- } from "./file-9rqn6x4v.js";
9
+ } from "./bus-9rqn6x4v.js";
10
10
 
11
11
  // src/session/error.ts
12
12
  var exports_error = {};
@@ -22,7 +22,7 @@ __export(exports_error, {
22
22
  MessageNotAssistantError: () => MessageNotAssistantError2,
23
23
  MessageNotFoundError: () => MessageNotFoundError2,
24
24
  MessageToolIncompleteError: () => MessageToolIncompleteError2,
25
- NotFoundError: () => NotFoundError6,
25
+ NotFoundError: () => NotFoundError8,
26
26
  PromptConflictError: () => PromptConflictError2,
27
27
  SessionErrors: () => exports_error,
28
28
  SkillNotFoundError: () => SkillNotFoundError2,
@@ -35,7 +35,7 @@ import { Agent } from "@opencode/schema/agent";
35
35
  import { Skill } from "@opencode/schema/skill";
36
36
  import { SessionError } from "@opencode/schema/session-error";
37
37
 
38
- class NotFoundError6 extends Schema.TaggedError()("Session.NotFoundError", {
38
+ class NotFoundError8 extends Schema.TaggedError()("Session.NotFoundError", {
39
39
  sessionID: SessionSchema2.ID
40
40
  }) {
41
41
  }
@@ -144,4 +144,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
144
144
  }) {
145
145
  }
146
146
 
147
- export { NotFoundError6, MessageNotFoundError2, MessageNotAssistantError2, MessageIncompleteError2, MessageToolIncompleteError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, UserInterruptedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error };
147
+ export { NotFoundError8, MessageNotFoundError2, MessageNotAssistantError2, MessageIncompleteError2, MessageToolIncompleteError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, UserInterruptedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error };
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service79
3
- } from "./file-hw2gt29t.js";
2
+ Service78
3
+ } from "./bus-yywfy67y.js";
4
4
  import {
5
- Service71,
5
+ Service69,
6
6
  Event18
7
- } from "./file-5vvax2qg.js";
7
+ } from "./bus-vfsjdgra.js";
8
8
  import {
9
9
  __export
10
- } from "./file-9rqn6x4v.js";
10
+ } from "./bus-9rqn6x4v.js";
11
11
 
12
12
  // src/wellknown/plugin.ts
13
13
  var exports_plugin = {};
14
14
  __export(exports_plugin, {
15
- Plugin: () => Plugin27,
15
+ Plugin: () => Plugin44,
16
16
  WellKnownPlugin: () => exports_plugin
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin27 = define({
20
+ var Plugin44 = define({
21
21
  id: "opencode.wellknown",
22
22
  effect: Effect.fn(function* (ctx) {
23
- const bus = yield* Service79;
24
- const wellknown = yield* Service71;
23
+ const bus = yield* Service78;
24
+ const wellknown = yield* Service69;
25
25
  yield* wellknown.entries().pipe(Effect.orDie);
26
26
  yield* ctx.integration.transform((editor) => {
27
27
  wellknown.snapshot().forEach((entry) => {
@@ -45,4 +45,4 @@ var Plugin27 = define({
45
45
  })
46
46
  });
47
47
 
48
- export { Plugin27, exports_plugin };
48
+ export { Plugin44, exports_plugin };
@@ -1,45 +1,45 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./file-2tv38tk1.js";
4
+ } from "./bus-vzna85n7.js";
5
5
  import {
6
6
  latestSequence2,
7
- Service79,
8
- node84
9
- } from "./file-hw2gt29t.js";
7
+ Service78,
8
+ node83
9
+ } from "./bus-yywfy67y.js";
10
10
  import {
11
11
  llmClient2
12
- } from "./file-5t3nmthw.js";
12
+ } from "./bus-5t3nmthw.js";
13
13
  import {
14
14
  SessionEvent2
15
- } from "./file-ec1grn59.js";
15
+ } from "./bus-ec1grn59.js";
16
16
  import {
17
17
  firstUserMessage2
18
- } from "./file-7g79e5pr.js";
18
+ } from "./bus-4d5vyrnh.js";
19
19
  import {
20
- Service57,
21
- node61
22
- } from "./file-yca9gk6f.js";
20
+ Service60,
21
+ node64
22
+ } from "./bus-vezrvrpz.js";
23
23
  import {
24
- Service22,
25
- node26
26
- } from "./file-3wj4wm80.js";
24
+ Service27,
25
+ node32
26
+ } from "./bus-39aa7p7s.js";
27
27
  import {
28
28
  record2,
29
29
  add2
30
- } from "./file-tdstcens.js";
30
+ } from "./bus-tdstcens.js";
31
31
  import {
32
32
  __export
33
- } from "./file-9rqn6x4v.js";
33
+ } from "./bus-9rqn6x4v.js";
34
34
 
35
35
  // src/session/title.ts
36
36
  var exports_title = {};
37
37
  __export(exports_title, {
38
- Service: () => Service6,
38
+ Service: () => Service3,
39
39
  SessionTitle: () => exports_title,
40
40
  isUntitled: () => isUntitled2,
41
- layer: () => layer5,
42
- node: () => node9
41
+ layer: () => layer3,
42
+ node: () => node5
43
43
  });
44
44
  import { isDeepStrictEqual } from "node:util";
45
45
  import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
@@ -51,18 +51,18 @@ var MAX_CONTEXT_LENGTH = 8000;
51
51
  var MAX_FIRST_MESSAGE_LENGTH = 2000;
52
52
  var titleChanged = Symbol("Session title changed");
53
53
 
54
- class Service6 extends Context.Service()("@opencode/SessionTitle") {
54
+ class Service3 extends Context.Service()("@opencode/SessionTitle") {
55
55
  }
56
56
  var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
57
57
  var isUntitled2 = (session) => isExactRootFallback({
58
58
  title: session.title,
59
59
  time: { created: DateTime.toEpochMillis(session.time.created) }
60
60
  });
61
- var layer5 = Layer.effect(Service6, Effect.gen(function* () {
62
- const bus = yield* Service79;
61
+ var layer3 = Layer.effect(Service3, Effect.gen(function* () {
62
+ const bus = yield* Service78;
63
63
  const llm = yield* LLMClient.Service;
64
- const context = yield* Service22;
65
- const store = yield* Service57;
64
+ const context = yield* Service27;
65
+ const store = yield* Service60;
66
66
  const db = (yield* Service80).db;
67
67
  const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
68
68
  const chunks = [];
@@ -145,12 +145,12 @@ Recent conversation:
145
145
  title: truncate(title)
146
146
  }, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
147
147
  });
148
- return Service6.of({ generate });
148
+ return Service3.of({ generate });
149
149
  }));
150
- var node9 = makeLocationNode({
151
- service: Service6,
152
- layer: layer5,
153
- deps: [node84, llmClient2, node26, node61, node85]
150
+ var node5 = makeLocationNode({
151
+ service: Service3,
152
+ layer: layer3,
153
+ deps: [node83, llmClient2, node32, node64, node85]
154
154
  });
155
155
 
156
- export { Service6, isUntitled2, layer5, node9, exports_title };
156
+ export { Service3, isUntitled2, layer3, node5, exports_title };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./file-2a5m3afh.js";
5
+ } from "./bus-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./file-9rqn6x4v.js";
8
+ } from "./bus-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/local.ts
11
11
  var exports_local = {};
@@ -1,31 +1,31 @@
1
1
  import {
2
- ID9
3
- } from "./file-4qfh6hxk.js";
2
+ ID11
3
+ } from "./bus-ybbm8fej.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./file-922hggd3.js";
6
+ } from "./bus-922hggd3.js";
7
7
  import {
8
- Info20
9
- } from "./file-2bdsn8gv.js";
8
+ Info17
9
+ } from "./bus-h74ge2a2.js";
10
10
  import {
11
11
  migrateAgent2
12
- } from "./file-6fdj6kdr.js";
12
+ } from "./bus-qr27hz8v.js";
13
13
  import {
14
14
  latest2,
15
- Service69
16
- } from "./file-1xb0henf.js";
15
+ Service67
16
+ } from "./bus-zfr0a75a.js";
17
17
  import {
18
18
  parseOption2
19
- } from "./file-5daktx2q.js";
19
+ } from "./bus-5daktx2q.js";
20
20
  import {
21
21
  __export
22
- } from "./file-9rqn6x4v.js";
22
+ } from "./bus-9rqn6x4v.js";
23
23
 
24
24
  // src/config/plugin/agent.ts
25
- var exports_agent2 = {};
26
- __export(exports_agent2, {
27
- ConfigAgentPlugin: () => exports_agent2,
28
- Plugin: () => Plugin32
25
+ var exports_agent = {};
26
+ __export(exports_agent, {
27
+ ConfigAgentPlugin: () => exports_agent,
28
+ Plugin: () => Plugin3
29
29
  });
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { Document, Info } from "@opencode/schema/config";
@@ -40,14 +40,14 @@ var legacySources = [
40
40
  ];
41
41
  var sourceDirectories = ["agent", "agents", "mode", "modes"];
42
42
  var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
43
- var decodeLegacyAgent = Schema.decodeUnknownOption(Info20);
43
+ var decodeLegacyAgent = Schema.decodeUnknownOption(Info17);
44
44
  var decodeConfig = Schema.decodeUnknownOption(Info);
45
45
  var pathActions = ["external_directory", "read", "edit"];
46
46
  var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
47
- var Plugin32 = define({
47
+ var Plugin3 = define({
48
48
  id: "opencode.config.agent",
49
49
  effect: Effect.fn(function* (ctx) {
50
- const config = yield* Service69;
50
+ const config = yield* Service67;
51
51
  const fs = yield* FSUtil.Service;
52
52
  const global = yield* Global.Service;
53
53
  const loadEntry = Effect.fnUntraced(function* (entry) {
@@ -76,13 +76,13 @@ var Plugin32 = define({
76
76
  const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
77
77
  const configuredDefault = latest2(loaded.documents, "default_agent");
78
78
  if (configuredDefault !== undefined)
79
- editor.default(ID9.make(configuredDefault));
79
+ editor.default(ID11.make(configuredDefault));
80
80
  for (const current of editor.list()) {
81
81
  editor.update(current.id, (agent) => agent.permissions.push(...permissions));
82
82
  }
83
83
  for (const document of loaded.documents) {
84
84
  for (const [id, item] of Object.entries(document.info.agents ?? {})) {
85
- const agentID = ID9.make(id);
85
+ const agentID = ID11.make(id);
86
86
  if (item.disabled) {
87
87
  editor.remove(agentID);
88
88
  continue;
@@ -160,4 +160,4 @@ function decode(file, content) {
160
160
  return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
161
161
  }
162
162
 
163
- export { Plugin32, exports_agent2 };
163
+ export { Plugin3, exports_agent };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  ascending2
3
- } from "./file-tvtrv512.js";
3
+ } from "./bus-tvtrv512.js";
4
4
  import {
5
- Service73,
6
- node78
7
- } from "./file-zx86nq6m.js";
5
+ Service74,
6
+ node79
7
+ } from "./bus-btekesqw.js";
8
8
  import {
9
9
  SessionMessage2
10
- } from "./file-gftt206x.js";
10
+ } from "./bus-gftt206x.js";
11
11
  import {
12
12
  SessionSchema2
13
- } from "./file-dv250zvr.js";
13
+ } from "./bus-2f04pwep.js";
14
14
  import {
15
15
  __export
16
- } from "./file-9rqn6x4v.js";
16
+ } from "./bus-9rqn6x4v.js";
17
17
 
18
18
  // src/job.ts
19
19
  var exports_job = {};
20
20
  __export(exports_job, {
21
21
  Job: () => exports_job,
22
- Service: () => Service43,
23
- make: () => make17,
24
- node: () => node46
22
+ Service: () => Service44,
23
+ make: () => make18,
24
+ node: () => node47
25
25
  });
26
26
  import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
27
27
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -50,7 +50,7 @@ var Background = Schema.Struct({
50
50
  var decodeBackground = Schema.decodeUnknownResult(Background);
51
51
  var backgroundPrefix = "job.background/";
52
52
 
53
- class Service43 extends Context.Service()("@opencode/Job") {
53
+ class Service44 extends Context.Service()("@opencode/Job") {
54
54
  }
55
55
  function snapshot(job) {
56
56
  return {
@@ -77,8 +77,8 @@ function decrementSession(input, sessionID) {
77
77
  next.set(sessionID, count - 1);
78
78
  return next;
79
79
  }
80
- var make17 = Effect.gen(function* () {
81
- const kv = yield* Service73;
80
+ var make18 = Effect.gen(function* () {
81
+ const kv = yield* Service74;
82
82
  const state = {
83
83
  jobs: yield* SynchronizedRef.make(new Map),
84
84
  scope: yield* Scope.Scope
@@ -307,7 +307,7 @@ var make17 = Effect.gen(function* () {
307
307
  return recovered;
308
308
  }).pipe(Effect.withSpan("Job.pendingBackground"));
309
309
  const completeBackground = Effect.fn("Job.completeBackground")((notificationID) => kv.remove(`${backgroundPrefix}${notificationID}`));
310
- return Service43.of({
310
+ return Service44.of({
311
311
  get,
312
312
  start,
313
313
  wait,
@@ -319,7 +319,7 @@ var make17 = Effect.gen(function* () {
319
319
  completeBackground
320
320
  });
321
321
  });
322
- var layer = Layer.effect(Service43, make17);
323
- var node46 = makeGlobalNode({ service: Service43, layer, deps: [node78] });
322
+ var layer = Layer.effect(Service44, make18);
323
+ var node47 = makeGlobalNode({ service: Service44, layer, deps: [node79] });
324
324
 
325
- export { Service43, make17, node46, exports_job };
325
+ export { Service44, make18, node47, exports_job };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./file-2tv38tk1.js";
4
+ } from "./bus-vzna85n7.js";
5
5
  import {
6
6
  KVTable2
7
- } from "./file-3hepkmqq.js";
7
+ } from "./bus-3hepkmqq.js";
8
8
  import {
9
9
  __export
10
- } from "./file-9rqn6x4v.js";
10
+ } from "./bus-9rqn6x4v.js";
11
11
 
12
12
  // src/kv.ts
13
13
  var exports_kv = {};
14
14
  __export(exports_kv, {
15
15
  KV: () => exports_kv,
16
- Service: () => Service73,
17
- node: () => node78
16
+ Service: () => Service74,
17
+ node: () => node79
18
18
  });
19
19
  import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
20
20
  import { Context, Effect, Layer } from "effect";
21
21
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
22
- class Service73 extends Context.Service()("@opencode/KV") {
22
+ class Service74 extends Context.Service()("@opencode/KV") {
23
23
  }
24
- var layer = Layer.effect(Service73, Effect.gen(function* () {
24
+ var layer = Layer.effect(Service74, Effect.gen(function* () {
25
25
  const db = (yield* Service80).db;
26
- return Service73.of({
26
+ return Service74.of({
27
27
  get: Effect.fn("KV.get")(function* (key) {
28
28
  return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
29
29
  }),
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
51
51
  return;
52
52
  return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
53
53
  }
54
- var node78 = makeGlobalNode({ service: Service73, layer, deps: [node85] });
54
+ var node79 = makeGlobalNode({ service: Service74, layer, deps: [node85] });
55
55
 
56
- export { Service73, node78, exports_kv };
56
+ export { Service74, node79, exports_kv };
@@ -1,45 +1,45 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2,
4
- Info30
5
- } from "./file-84tssp1s.js";
6
- import {
7
4
  Info29
8
- } from "./file-nx4935gj.js";
5
+ } from "./bus-2d6j2h4j.js";
6
+ import {
7
+ Info28
8
+ } from "./bus-80e0yyk8.js";
9
9
  import {
10
- Service79,
11
- node84
12
- } from "./file-hw2gt29t.js";
10
+ Service78,
11
+ node83
12
+ } from "./bus-yywfy67y.js";
13
13
  import {
14
14
  create3
15
- } from "./file-kg06axw8.js";
15
+ } from "./bus-kg06axw8.js";
16
16
  import {
17
17
  ID6,
18
- Service49,
19
- node52
20
- } from "./file-8gbf9msb.js";
18
+ Service55,
19
+ node59
20
+ } from "./bus-1st7a56d.js";
21
21
  import {
22
22
  __export
23
- } from "./file-9rqn6x4v.js";
23
+ } from "./bus-9rqn6x4v.js";
24
24
 
25
25
  // src/catalog.ts
26
26
  var exports_catalog2 = {};
27
27
  __export(exports_catalog2, {
28
28
  Catalog: () => exports_catalog2,
29
- Event: () => Event8,
30
- Service: () => Service48,
31
- node: () => node51
29
+ Event: () => Event11,
30
+ Service: () => Service54,
31
+ node: () => node58
32
32
  });
33
33
  import { makeLocationNode } from "@opencode/util/effect/app-node";
34
34
  import { Array, Context, Effect, Layer, Order, pipe } from "effect";
35
35
  import { Catalog } from "@opencode/schema/catalog";
36
- import { Event as Event8 } from "@opencode/schema/catalog";
36
+ import { Event as Event11 } from "@opencode/schema/catalog";
37
37
 
38
- class Service48 extends Context.Service()("@opencode/Catalog") {
38
+ class Service54 extends Context.Service()("@opencode/Catalog") {
39
39
  }
40
- var layer = Layer.effect(Service48, Effect.gen(function* () {
41
- const bus = yield* Service79;
42
- const integrations = yield* Service49;
40
+ var layer = Layer.effect(Service54, Effect.gen(function* () {
41
+ const bus = yield* Service78;
42
+ const integrations = yield* Service55;
43
43
  const available = (provider, integration) => {
44
44
  if (provider.activation === "disabled")
45
45
  return false;
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
72
72
  let current = editor.providers.get(providerID);
73
73
  if (!current) {
74
74
  current = {
75
- provider: Info30.empty(providerID),
75
+ provider: Info29.empty(providerID),
76
76
  models: new Map
77
77
  };
78
78
  editor.providers.set(providerID, current);
@@ -90,12 +90,12 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
90
90
  let record = editor.providers.get(providerID);
91
91
  if (!record) {
92
92
  record = {
93
- provider: Info30.empty(providerID),
93
+ provider: Info29.empty(providerID),
94
94
  models: new Map
95
95
  };
96
96
  editor.providers.set(providerID, record);
97
97
  }
98
- const model = record.models.get(modelID) ?? Info29.default(providerID, modelID);
98
+ const model = record.models.get(modelID) ?? Info28.default(providerID, modelID);
99
99
  if (!record.models.has(modelID))
100
100
  record.models.set(modelID, model);
101
101
  fn(model);
@@ -184,9 +184,9 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
184
184
  })
185
185
  }
186
186
  };
187
- return Service48.of(result);
187
+ return Service54.of(result);
188
188
  }));
189
189
  var SMALL_MODEL_FAMILY_PRIORITY = ["gpt-luna", "gemini-flash-lite", "gemini-flash", "claude-haiku"];
190
- var node51 = makeLocationNode({ service: Service48, layer, deps: [node84, node52] });
190
+ var node58 = makeLocationNode({ service: Service54, layer, deps: [node83, node59] });
191
191
 
192
- export { Service48, node51, exports_catalog2, Event8 };
192
+ export { Service54, node58, exports_catalog2, Event11 };
@@ -0,0 +1,18 @@
1
+ import {
2
+ __export
3
+ } from "./bus-9rqn6x4v.js";
4
+
5
+ // src/plugin/service.ts
6
+ var exports_service = {};
7
+ __export(exports_service, {
8
+ Plugin: () => exports_service,
9
+ Service: () => Service34,
10
+ awaitActivation: () => awaitActivation2
11
+ });
12
+ import { Context } from "effect";
13
+
14
+ class Service34 extends Context.Service()("@opencode/Plugin") {
15
+ }
16
+ var awaitActivation2 = Service34.use((plugins) => plugins.awaitActivation);
17
+
18
+ export { Service34, awaitActivation2, exports_service };
@@ -4,28 +4,28 @@ import {
4
4
  normalizeContent2,
5
5
  normalizedName2,
6
6
  effectiveName2
7
- } from "./file-3w5fmr99.js";
7
+ } from "./bus-3w5fmr99.js";
8
8
  import {
9
9
  create2,
10
10
  catalog2
11
- } from "./file-x43y2vfs.js";
11
+ } from "./bus-x43y2vfs.js";
12
12
  import {
13
13
  create3
14
- } from "./file-kg06axw8.js";
14
+ } from "./bus-kg06axw8.js";
15
15
  import {
16
16
  Service53,
17
17
  node57
18
- } from "./file-pzh16mkn.js";
18
+ } from "./bus-pzh16mkn.js";
19
19
  import {
20
- Service68,
21
- node73
22
- } from "./file-bby00dsd.js";
20
+ Service75,
21
+ node80
22
+ } from "./bus-dc76j9wz.js";
23
23
  import {
24
24
  match2
25
- } from "./file-y1fvbwt7.js";
25
+ } from "./bus-y1fvbwt7.js";
26
26
  import {
27
27
  __export
28
- } from "./file-9rqn6x4v.js";
28
+ } from "./bus-9rqn6x4v.js";
29
29
 
30
30
  // src/tool.ts
31
31
  var exports_tool = {};
@@ -35,10 +35,10 @@ __export(exports_tool, {
35
35
  Error: () => Error4,
36
36
  FileContent: () => FileContent3,
37
37
  RegistrationError: () => RegistrationError2,
38
- Service: () => Service46,
38
+ Service: () => Service52,
39
39
  TextContent: () => TextContent2,
40
40
  Tool: () => exports_tool,
41
- node: () => node49
41
+ node: () => node56
42
42
  });
43
43
  import { CallID as CallID2, Content as Content3, Error as Error4, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
44
44
  import { ToolDefinition } from "@opencode/ai";
@@ -51,10 +51,10 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
51
51
  }) {
52
52
  }
53
53
 
54
- class Service46 extends Context.Service()("@opencode/Tool") {
54
+ class Service52 extends Context.Service()("@opencode/Tool") {
55
55
  }
56
- var layer = Layer.effect(Service46, Effect.gen(function* () {
57
- const hooks = yield* Service68;
56
+ var layer = Layer.effect(Service52, Effect.gen(function* () {
57
+ const hooks = yield* Service75;
58
58
  const image = yield* Service53;
59
59
  const normalizeImages = Effect.fnUntraced(function* (content) {
60
60
  const normalized = yield* Effect.forEach(content, (item) => {
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
180
180
  error: error.message
181
181
  }), { discard: true })
182
182
  });
183
- return Service46.of({
183
+ return Service52.of({
184
184
  transform: state.transform,
185
185
  reload: state.reload,
186
186
  snapshot: Effect.fn("Tool.snapshot")((permissions) => Effect.sync(() => {
@@ -262,10 +262,10 @@ function namespaceError(name) {
262
262
  return;
263
263
  return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
264
264
  }
265
- var node49 = makeLocationNode({
266
- service: Service46,
265
+ var node56 = makeLocationNode({
266
+ service: Service52,
267
267
  layer,
268
- deps: [node73, node57]
268
+ deps: [node80, node57]
269
269
  });
270
270
 
271
- export { RegistrationError2, Service46, node49, exports_tool, CallID2, Content3, Error4, FileContent3, TextContent2 };
271
+ export { RegistrationError2, Service52, node56, exports_tool, CallID2, Content3, Error4, FileContent3, TextContent2 };