@opencode/core 0.0.0-beta-19507 → 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 (812) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -80
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +67 -68
  7. package/dist/catalog.js +83 -84
  8. package/dist/chunks/{file-access-16hg2h50.js → bus-01797ny4.js} +4 -4
  9. package/dist/chunks/{file-access-954vm9zf.js → bus-03tt90jk.js} +6 -6
  10. package/dist/chunks/bus-05zf2dx1.js +247 -0
  11. package/dist/chunks/{file-access-07770t2t.js → bus-07770t2t.js} +1 -1
  12. package/dist/chunks/{file-access-hgyq9xg3.js → bus-08c8ha06.js} +13 -13
  13. package/dist/chunks/{file-access-2w1d5hqx.js → bus-0czprt7a.js} +6 -6
  14. package/dist/chunks/{file-access-4y66k410.js → bus-0hpxrkyb.js} +6 -14
  15. package/dist/chunks/{file-access-n747g3fh.js → bus-0j044k52.js} +8 -8
  16. package/dist/chunks/bus-0kwcw7fy.js +4 -0
  17. package/dist/chunks/{file-access-etca44vv.js → bus-0mv9cd5d.js} +25 -25
  18. package/dist/chunks/{file-access-0paq2nw3.js → bus-0paq2nw3.js} +1 -1
  19. package/dist/chunks/{file-access-0q0f95c6.js → bus-0q0f95c6.js} +1 -1
  20. package/dist/chunks/{file-access-9998dwsd.js → bus-10761f79.js} +24 -25
  21. package/dist/chunks/{file-access-0f9s97z0.js → bus-14adtvh1.js} +23 -23
  22. package/dist/chunks/{file-access-wqg2ybf7.js → bus-151sq2qz.js} +7 -7
  23. package/dist/chunks/{file-access-tgqjfyja.js → bus-18cztcj7.js} +3 -3
  24. package/dist/chunks/{file-access-p49w4vfv.js → bus-1a592kp3.js} +14 -15
  25. package/dist/chunks/{file-access-2ve45fd6.js → bus-1ah30sey.js} +5 -5
  26. package/dist/chunks/{file-access-1dazxqgg.js → bus-1dazxqgg.js} +2 -2
  27. package/dist/chunks/{file-access-1ve8gnt4.js → bus-1rsjtwsx.js} +86 -81
  28. package/dist/chunks/{file-access-ehknnwyx.js → bus-1st7a56d.js} +24 -24
  29. package/dist/chunks/{file-access-6hjqy50w.js → bus-1vqcz3hm.js} +25 -25
  30. package/dist/chunks/{file-access-3p9gq7xw.js → bus-1xeq3jts.js} +6 -6
  31. package/dist/chunks/{file-access-21r38tys.js → bus-21r38tys.js} +1 -1
  32. package/dist/chunks/{file-access-x175c4wg.js → bus-23t95pj9.js} +37 -37
  33. package/dist/chunks/{file-access-2402vzrj.js → bus-2402vzrj.js} +1 -1
  34. package/dist/chunks/{file-access-29x78va6.js → bus-29x78va6.js} +2 -2
  35. package/dist/chunks/{file-access-2a5m3afh.js → bus-2a5m3afh.js} +1 -1
  36. package/dist/chunks/{file-access-g14zqp48.js → bus-2d6j2h4j.js} +7 -12
  37. package/dist/chunks/{file-access-93hpb89x.js → bus-2f04pwep.js} +3 -3
  38. package/dist/chunks/{file-access-ag9w8cw1.js → bus-2f0bjgcj.js} +5 -5
  39. package/dist/chunks/{file-access-zttfg7sr.js → bus-2gv1fy3f.js} +20 -20
  40. package/dist/chunks/{file-access-2k8khapm.js → bus-2k8khapm.js} +1 -1
  41. package/dist/chunks/{file-access-7hbsyrtj.js → bus-2vdmvhdx.js} +70 -101
  42. package/dist/chunks/{file-access-dhmh7aw6.js → bus-2vs2nh1n.js} +4 -4
  43. package/dist/chunks/{file-access-2wyjv582.js → bus-2wyjv582.js} +1 -1
  44. package/dist/chunks/{file-access-e17bkqjz.js → bus-31dz7cp4.js} +1 -1
  45. package/dist/chunks/{file-access-mtegq6tq.js → bus-348phf0m.js} +2 -2
  46. package/dist/chunks/{file-access-6b41461m.js → bus-39aa7p7s.js} +84 -87
  47. package/dist/chunks/{file-access-c1fhravq.js → bus-3b5bkbaw.js} +39 -35
  48. package/dist/chunks/{file-access-sqb2tzxk.js → bus-3fathxbm.js} +8 -8
  49. package/dist/chunks/{file-access-3fc6dm20.js → bus-3fc6dm20.js} +1 -1
  50. package/dist/chunks/{file-access-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
  51. package/dist/chunks/{file-access-29ypnx2x.js → bus-3hjtj8hn.js} +34 -34
  52. package/dist/chunks/{file-access-3j8sdtpz.js → bus-3j8sdtpz.js} +1 -1
  53. package/dist/chunks/{file-access-8v86gz5j.js → bus-3pf38fxc.js} +21 -21
  54. package/dist/chunks/{file-access-3smtnn6g.js → bus-3smtnn6g.js} +1 -1
  55. package/dist/chunks/{file-access-3tvqynh2.js → bus-3tvqynh2.js} +1 -1
  56. package/dist/chunks/{file-access-rhqq9sj2.js → bus-45kmc290.js} +17 -25
  57. package/dist/chunks/{file-access-1bagj3va.js → bus-4d5vyrnh.js} +8 -8
  58. package/dist/chunks/{file-access-6ymtkfzb.js → bus-4xdz4snq.js} +19 -44
  59. package/dist/chunks/{file-access-50wkfpjr.js → bus-50wkfpjr.js} +3 -3
  60. package/dist/chunks/{file-access-d6ppqdhn.js → bus-54c6103e.js} +48 -22
  61. package/dist/chunks/bus-578j099y.js +22 -0
  62. package/dist/chunks/{file-access-zrk6752y.js → bus-5cn90sgv.js} +18 -18
  63. package/dist/chunks/{file-access-5daktx2q.js → bus-5daktx2q.js} +1 -1
  64. package/dist/chunks/{file-access-55nxwdxq.js → bus-5dcvxp1d.js} +15 -15
  65. package/dist/chunks/bus-5jtdmvnp.js +35 -0
  66. package/dist/chunks/{file-access-1yag4scb.js → bus-5rfvnrqe.js} +72 -72
  67. package/dist/chunks/{file-access-5t3nmthw.js → bus-5t3nmthw.js} +2 -2
  68. package/dist/chunks/{file-access-rvpq5vnx.js → bus-65d7re2p.js} +18 -18
  69. package/dist/chunks/{file-access-669tq793.js → bus-669tq793.js} +1 -1
  70. package/dist/chunks/{file-access-f4mxeny4.js → bus-678ce1rn.js} +7 -7
  71. package/dist/chunks/{file-access-fx94a4xa.js → bus-6akyj57t.js} +9 -9
  72. package/dist/chunks/{file-access-a82vvkn3.js → bus-6amate8q.js} +15 -15
  73. package/dist/chunks/{file-access-dyw6ca8r.js → bus-6bs0ze1e.js} +27 -26
  74. package/dist/chunks/{file-access-rq0v4azk.js → bus-6e18hcte.js} +23 -23
  75. package/dist/chunks/{file-access-6msgmcgs.js → bus-6msgmcgs.js} +1 -1
  76. package/dist/chunks/{file-access-csf2jhsg.js → bus-6p3xbzsx.js} +4 -4
  77. package/dist/chunks/{file-access-qs55kqfs.js → bus-6pfbz9y2.js} +8 -8
  78. package/dist/chunks/{file-access-71q4at8m.js → bus-71q4at8m.js} +1 -1
  79. package/dist/chunks/{file-access-mvfsc1pv.js → bus-73tb2d7t.js} +3 -3
  80. package/dist/chunks/{file-access-hzmns3wg.js → bus-76w1t1yj.js} +1 -1
  81. package/dist/chunks/{file-access-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
  82. package/dist/chunks/{file-access-vcp78m62.js → bus-7c9jbg9y.js} +20 -20
  83. package/dist/chunks/{file-access-057tqkc7.js → bus-7v401y1c.js} +12 -12
  84. package/dist/chunks/{file-access-x1cybn0h.js → bus-7wh9hy1a.js} +53 -53
  85. package/dist/chunks/{file-access-drbmzzp6.js → bus-7wsvn7dg.js} +15 -15
  86. package/dist/chunks/{file-access-9d8v8ke2.js → bus-80e0yyk8.js} +10 -10
  87. package/dist/chunks/{file-access-81swgkk7.js → bus-81swgkk7.js} +2 -2
  88. package/dist/chunks/{file-access-cmwkp3r5.js → bus-844ef7ks.js} +4 -4
  89. package/dist/chunks/{file-access-8d7r5vzw.js → bus-8d7r5vzw.js} +1 -1
  90. package/dist/chunks/{file-access-6s8fgxzr.js → bus-8dt4t099.js} +4 -4
  91. package/dist/chunks/{file-access-d2nsem9c.js → bus-8ev9m3kr.js} +24 -24
  92. package/dist/chunks/{file-access-833eac0h.js → bus-8ga2rbrz.js} +8 -8
  93. package/dist/chunks/{file-access-3h3mykw7.js → bus-8ja0m408.js} +36 -36
  94. package/dist/chunks/{file-access-8p4f9s12.js → bus-8p4f9s12.js} +2 -2
  95. package/dist/chunks/{file-access-nbddwgy7.js → bus-8pngxq2x.js} +10 -10
  96. package/dist/chunks/{file-access-8t1wrec1.js → bus-8t1wrec1.js} +1 -1
  97. package/dist/chunks/{file-access-m9wxyjft.js → bus-91ahjgzv.js} +9 -9
  98. package/dist/chunks/{file-access-092yf68v.js → bus-92j3apgd.js} +38 -38
  99. package/dist/chunks/{file-access-c6npeh2h.js → bus-9d775fyf.js} +30 -30
  100. package/dist/chunks/{file-access-0wqa8qs0.js → bus-9ge5qtph.js} +9 -9
  101. package/dist/chunks/{file-access-ad0pt644.js → bus-9pqmfa27.js} +5 -5
  102. package/dist/chunks/{file-access-85b01qar.js → bus-9sg3cs2t.js} +11 -11
  103. package/dist/chunks/{file-access-074en4ea.js → bus-9stazftj.js} +160 -163
  104. package/dist/chunks/{file-access-rzxs471t.js → bus-a1bwf94s.js} +6 -6
  105. package/dist/chunks/{file-access-a1bz86dw.js → bus-a1bz86dw.js} +3 -3
  106. package/dist/chunks/{file-access-4vcrnpx2.js → bus-a1tpkmh4.js} +3 -13
  107. package/dist/chunks/{file-access-8a0b7fze.js → bus-a4exdnt3.js} +4 -4
  108. package/dist/chunks/{file-access-pkpqbj6e.js → bus-a4s3bgbq.js} +14 -21
  109. package/dist/chunks/{file-access-wbqd4jb4.js → bus-a87z9vq8.js} +32 -32
  110. package/dist/chunks/{file-access-aaet6srn.js → bus-aaet6srn.js} +2 -2
  111. package/dist/chunks/{file-access-qd8wwfxt.js → bus-aj64j3za.js} +27 -6
  112. package/dist/chunks/{file-access-tn359hwq.js → bus-apg01d9p.js} +6 -6
  113. package/dist/chunks/{file-access-bh9xqmdb.js → bus-aypcqpwv.js} +34 -34
  114. package/dist/chunks/{file-access-b6gygkdw.js → bus-b6gygkdw.js} +2 -2
  115. package/dist/chunks/{file-access-0qnveg08.js → bus-bjt4k7v3.js} +16 -17
  116. package/dist/chunks/{file-access-2wgyfjx6.js → bus-bs0x6s8g.js} +17 -17
  117. package/dist/chunks/{file-access-h9wq4q8z.js → bus-btekesqw.js} +10 -10
  118. package/dist/chunks/{file-access-tb22s7pw.js → bus-bwer0mcv.js} +25 -26
  119. package/dist/chunks/bus-by5v678g.js +18 -0
  120. package/dist/chunks/{file-access-e2tvng7c.js → bus-byaheska.js} +24 -24
  121. package/dist/chunks/{file-access-sthbbwkd.js → bus-bzke21cp.js} +30 -30
  122. package/dist/chunks/{file-access-2eywq100.js → bus-c0bvtzp5.js} +18 -18
  123. package/dist/chunks/{file-access-r4k1wyhr.js → bus-c5as0yvq.js} +3 -3
  124. package/dist/chunks/{file-access-xjcerejp.js → bus-c6591jrk.js} +43 -94
  125. package/dist/chunks/{file-access-qxj3mjt1.js → bus-caq2c48b.js} +7 -7
  126. package/dist/chunks/{file-access-cfpkc3c9.js → bus-cfpkc3c9.js} +2 -2
  127. package/dist/chunks/{file-access-hc7n3jk5.js → bus-cq37gk0t.js} +4 -4
  128. package/dist/chunks/{file-access-1p1yz3k5.js → bus-cw1ehra3.js} +36 -36
  129. package/dist/chunks/{file-access-k1yeadxq.js → bus-czkgr94f.js} +4 -4
  130. package/dist/chunks/{file-access-avdg492x.js → bus-d1dwjz3j.js} +47 -51
  131. package/dist/chunks/{file-access-ykczf8eq.js → bus-d1r5081s.js} +5 -5
  132. package/dist/chunks/{file-access-8cw6nfrt.js → bus-d8ksp3m6.js} +26 -26
  133. package/dist/chunks/{file-access-mce70z9k.js → bus-d931vq23.js} +2 -2
  134. package/dist/chunks/{file-access-7k68m5b6.js → bus-d9q0n3sf.js} +9 -9
  135. package/dist/chunks/{file-access-jj63jgrn.js → bus-dc76j9wz.js} +8 -8
  136. package/dist/chunks/{file-access-fxtmjajv.js → bus-ddexhamb.js} +19 -19
  137. package/dist/chunks/{file-access-jhcd8dwt.js → bus-dg9v98ve.js} +18 -18
  138. package/dist/chunks/{file-access-q6jpwyt1.js → bus-dtj5a7tc.js} +54 -54
  139. package/dist/chunks/{file-access-weg980m4.js → bus-e010nfwn.js} +20 -20
  140. package/dist/chunks/{file-access-ccxygkss.js → bus-e07fh9p3.js} +5 -5
  141. package/dist/chunks/bus-e0prvjnp.js +341 -0
  142. package/dist/chunks/{file-access-g6ech2dm.js → bus-ek27wd5s.js} +9 -9
  143. package/dist/chunks/{file-access-n990e9jc.js → bus-esngagfe.js} +4 -21
  144. package/dist/chunks/{file-access-etq0c3wd.js → bus-etq0c3wd.js} +1 -1
  145. package/dist/chunks/{file-access-vkg1qcnj.js → bus-evtq9ncg.js} +32 -92
  146. package/dist/chunks/{file-access-0sxmdcx0.js → bus-ex1tnahw.js} +20 -20
  147. package/dist/chunks/{file-access-f828m53h.js → bus-f828m53h.js} +2 -2
  148. package/dist/chunks/{file-access-4786se8r.js → bus-f9bavhm2.js} +1 -1
  149. package/dist/chunks/{file-access-rd8fjvyy.js → bus-ftezeqv3.js} +15 -15
  150. package/dist/chunks/{file-access-fxbjtjnd.js → bus-fxbjtjnd.js} +1 -1
  151. package/dist/chunks/{file-access-hgsea5z3.js → bus-fzhn4ra8.js} +30 -30
  152. package/dist/chunks/{file-access-k5rs1z8v.js → bus-g81r2fbr.js} +20 -20
  153. package/dist/chunks/{file-access-gd4qta3r.js → bus-gd4qta3r.js} +1 -1
  154. package/dist/chunks/{file-access-x95hc271.js → bus-gssc8jsq.js} +33 -31
  155. package/dist/chunks/{file-access-6jnybvqn.js → bus-gsx0ryk4.js} +9 -9
  156. package/dist/chunks/{file-access-px5bqy57.js → bus-gtgj7jsd.js} +22 -22
  157. package/dist/chunks/{file-access-gv6a8nnw.js → bus-gv6a8nnw.js} +2 -2
  158. package/dist/chunks/{file-access-9pf502c0.js → bus-gvphacjb.js} +18 -18
  159. package/dist/chunks/{file-access-3m9xbvw6.js → bus-gw1k03mf.js} +11 -11
  160. package/dist/chunks/{file-access-h03wrkyp.js → bus-h03wrkyp.js} +2 -2
  161. package/dist/chunks/{file-access-fpkam962.js → bus-h1vg8afz.js} +13 -13
  162. package/dist/chunks/{file-access-54r5fgfq.js → bus-h2gxeskk.js} +9 -9
  163. package/dist/chunks/{file-access-h6vf3j39.js → bus-h6vf3j39.js} +1 -1
  164. package/dist/chunks/{file-access-ndzempgb.js → bus-h74ge2a2.js} +6 -6
  165. package/dist/chunks/{file-access-2hhnmqep.js → bus-h8507pfw.js} +8 -8
  166. package/dist/chunks/{file-access-bap3gy1s.js → bus-hj7jnvhr.js} +14 -14
  167. package/dist/chunks/{file-access-nhy5jxhy.js → bus-hjt4xg1x.js} +4 -4
  168. package/dist/chunks/{file-access-m0bw0e4m.js → bus-hzc8qab0.js} +24 -36
  169. package/dist/chunks/{file-access-50m2c0q3.js → bus-j24nh5aa.js} +12 -12
  170. package/dist/chunks/{file-access-29qf8dn7.js → bus-j3ewftxc.js} +5 -5
  171. package/dist/chunks/{file-access-j56e64zr.js → bus-j56e64zr.js} +1 -1
  172. package/dist/chunks/{file-access-806j49yq.js → bus-jfqtm2ew.js} +4 -4
  173. package/dist/chunks/{file-access-c3jkddnq.js → bus-jgy4w7ep.js} +3 -3
  174. package/dist/chunks/{file-access-awx7v7h5.js → bus-jhtev1kt.js} +7 -7
  175. package/dist/chunks/{file-access-jeanpfns.js → bus-jy16bfac.js} +1 -1
  176. package/dist/chunks/bus-k0k8y9a7.js +71 -0
  177. package/dist/chunks/{file-access-nfvsp598.js → bus-k6avkgtn.js} +3 -3
  178. package/dist/chunks/{file-access-7w5qhqhs.js → bus-kc6sgx3t.js} +17 -20
  179. package/dist/chunks/{file-access-kg06axw8.js → bus-kg06axw8.js} +1 -1
  180. package/dist/chunks/{file-access-3jp54z3r.js → bus-kjcr15p7.js} +1 -1
  181. package/dist/chunks/{file-access-kk00bynn.js → bus-kk00bynn.js} +1 -1
  182. package/dist/chunks/{file-access-depwzj9d.js → bus-kpvyk30t.js} +9 -9
  183. package/dist/chunks/{file-access-ayfrx99c.js → bus-kr6jnmgs.js} +15 -15
  184. package/dist/chunks/{file-access-vv3eqyfe.js → bus-kt9yxkkw.js} +6 -6
  185. package/dist/chunks/{file-access-a9h2vqbk.js → bus-kzvhg9hn.js} +7 -7
  186. package/dist/chunks/{file-access-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
  187. package/dist/chunks/{file-access-mfqp6xfm.js → bus-mfqp6xfm.js} +2 -2
  188. package/dist/chunks/{file-access-fjvydvzm.js → bus-mjncxbbh.js} +6 -6
  189. package/dist/chunks/bus-mkcjrzeh.js +15 -0
  190. package/dist/chunks/{file-access-6ybvw0w7.js → bus-mm42hkcz.js} +21 -21
  191. package/dist/chunks/{file-access-d2aac7k2.js → bus-mtft99cd.js} +5 -5
  192. package/dist/chunks/{file-access-4r4fb002.js → bus-n31fqgg2.js} +11 -11
  193. package/dist/chunks/{file-access-cmrf6j2e.js → bus-nd285e9w.js} +11 -11
  194. package/dist/chunks/{file-access-ca64vat9.js → bus-ngtvrv33.js} +30 -30
  195. package/dist/chunks/{file-access-reqevd7p.js → bus-njct8jvz.js} +10 -10
  196. package/dist/chunks/{file-access-a5gt7g2r.js → bus-p1wf2k30.js} +9 -9
  197. package/dist/chunks/{file-access-fpv6qd1b.js → bus-p287w59f.js} +5 -5
  198. package/dist/chunks/{file-access-be40ghdv.js → bus-p72z5xx6.js} +2 -3
  199. package/dist/chunks/{file-access-qny2rjqg.js → bus-pb7ssnfd.js} +9 -9
  200. package/dist/chunks/{file-access-pjvnvgmy.js → bus-pjvnvgmy.js} +1 -1
  201. package/dist/chunks/{file-access-pknna89w.js → bus-pknna89w.js} +1 -1
  202. package/dist/chunks/{file-access-wk64ntyb.js → bus-prcjvqfg.js} +8 -8
  203. package/dist/chunks/{file-access-mqt7ckw4.js → bus-psvegz14.js} +19 -19
  204. package/dist/chunks/{file-access-n7qjkrfm.js → bus-pzh16mkn.js} +9 -9
  205. package/dist/chunks/{file-access-nv5vn7qx.js → bus-q1a91n7k.js} +12 -27
  206. package/dist/chunks/{file-access-zmvq2rqz.js → bus-q1f45d8g.js} +22 -22
  207. package/dist/chunks/{file-access-qmy7xtej.js → bus-qmr73083.js} +1 -1
  208. package/dist/chunks/{file-access-c7q2zwp5.js → bus-qpes22qe.js} +17 -17
  209. package/dist/chunks/{file-access-1tq060df.js → bus-qqtwvk4z.js} +6 -6
  210. package/dist/chunks/{file-access-m7y3f53v.js → bus-qr27hz8v.js} +4 -4
  211. package/dist/chunks/{file-access-2a9f2qq7.js → bus-qrqp7107.js} +16 -16
  212. package/dist/chunks/{file-access-qsdy395h.js → bus-qsdy395h.js} +1 -1
  213. package/dist/chunks/{file-access-ct0crnq6.js → bus-qx44h9xp.js} +37 -37
  214. package/dist/chunks/bus-rac1zgpy.js +272 -0
  215. package/dist/chunks/{file-access-e3nd4ayr.js → bus-refnp3pv.js} +4 -4
  216. package/dist/chunks/{file-access-rhjbct0v.js → bus-rhjbct0v.js} +1 -1
  217. package/dist/chunks/{file-access-y5g8bess.js → bus-rp6fyjtn.js} +8 -8
  218. package/dist/chunks/{file-access-1ct3cw4h.js → bus-s38pncdy.js} +24 -24
  219. package/dist/chunks/{file-access-s4enseaf.js → bus-s4enseaf.js} +2 -2
  220. package/dist/chunks/{file-access-5bjhkrjj.js → bus-scz5mjk7.js} +6 -6
  221. package/dist/chunks/{file-access-gbhfcamq.js → bus-seggh8xt.js} +12 -12
  222. package/dist/chunks/{file-access-99yaft7y.js → bus-sma03fcp.js} +7 -11
  223. package/dist/chunks/{file-access-dw1fjyb0.js → bus-sv9bpgvh.js} +30 -5
  224. package/dist/chunks/{file-access-h83x8fry.js → bus-swf6f7p9.js} +11 -11
  225. package/dist/chunks/{file-access-g3r1njd0.js → bus-t1bk1a1z.js} +30 -30
  226. package/dist/chunks/{file-access-xrs7w8df.js → bus-t2g8y53t.js} +11 -11
  227. package/dist/chunks/{file-access-q1yd4tcg.js → bus-t2zw4ehs.js} +5 -5
  228. package/dist/chunks/{file-access-162fttv1.js → bus-t62yyj2t.js} +13 -13
  229. package/dist/chunks/{file-access-tazgh4e4.js → bus-tazgh4e4.js} +1 -1
  230. package/dist/chunks/{file-access-tcezcvh9.js → bus-tcezcvh9.js} +1 -1
  231. package/dist/chunks/{file-access-tdstcens.js → bus-tdstcens.js} +1 -1
  232. package/dist/chunks/{file-access-6zwbw4we.js → bus-trt64bkt.js} +7 -7
  233. package/dist/chunks/{file-access-tvtrv512.js → bus-tvtrv512.js} +1 -1
  234. package/dist/chunks/{file-access-dpnaqgym.js → bus-ty14kxfn.js} +20 -20
  235. package/dist/chunks/{file-access-nsva66p3.js → bus-v2ejn755.js} +29 -29
  236. package/dist/chunks/{file-access-cza9j1er.js → bus-v8ch97zc.js} +1 -1
  237. package/dist/chunks/{file-access-0bps82y7.js → bus-ve6nm2s5.js} +6 -6
  238. package/dist/chunks/{file-access-veqvce7d.js → bus-veqvce7d.js} +1 -1
  239. package/dist/chunks/{file-access-8p576cyw.js → bus-vezrvrpz.js} +14 -13
  240. package/dist/chunks/{file-access-zbgzbq8q.js → bus-vfsjdgra.js} +7 -7
  241. package/dist/chunks/{file-access-5kn1j1nt.js → bus-vgedysxv.js} +17 -19
  242. package/dist/chunks/{file-access-zka7qpah.js → bus-vkrb956e.js} +262 -262
  243. package/dist/chunks/{file-access-qte5z7bc.js → bus-vmq7ehpy.js} +5 -5
  244. package/dist/chunks/{file-access-r1hceb3x.js → bus-vwwyt62p.js} +5 -7
  245. package/dist/chunks/{file-access-vzcthcp8.js → bus-vzcthcp8.js} +1 -1
  246. package/dist/chunks/{file-access-t9jk0gx5.js → bus-vzna85n7.js} +3 -3
  247. package/dist/chunks/{file-access-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
  248. package/dist/chunks/{file-access-19kp6pf8.js → bus-wa2dac04.js} +25 -25
  249. package/dist/chunks/{file-access-q1gv8zwg.js → bus-wc7hea4z.js} +18 -18
  250. package/dist/chunks/{file-access-wd87259q.js → bus-wd87259q.js} +1 -1
  251. package/dist/chunks/{file-access-e0wvz8qy.js → bus-wdnk5teh.js} +18 -21
  252. package/dist/chunks/{file-access-s8aab4ga.js → bus-weeegdkk.js} +9 -9
  253. package/dist/chunks/{file-access-92a7scs5.js → bus-wg7k3gk9.js} +30 -30
  254. package/dist/chunks/{file-access-epa61trx.js → bus-wh60pg5s.js} +8 -8
  255. package/dist/chunks/{file-access-98yekt2h.js → bus-wh639w33.js} +67 -41
  256. package/dist/chunks/{file-access-798sgk8w.js → bus-wk2zc65r.js} +18 -18
  257. package/dist/chunks/{file-access-eqpk83eg.js → bus-wnpr5qws.js} +6 -6
  258. package/dist/chunks/{file-access-7vczhnf2.js → bus-wpcdczfe.js} +11 -12
  259. package/dist/chunks/{file-access-d09g07f5.js → bus-wvzfgg4c.js} +8 -8
  260. package/dist/chunks/{file-access-36d0e9rd.js → bus-x122gxrn.js} +11 -11
  261. package/dist/chunks/{file-access-x1ezjp6w.js → bus-x1ezjp6w.js} +1 -1
  262. package/dist/chunks/{file-access-z2qkwvnb.js → bus-x1t6vezw.js} +10 -10
  263. package/dist/chunks/{file-access-r9mregkx.js → bus-x43y2vfs.js} +3 -3
  264. package/dist/chunks/{file-access-wh3mwy9y.js → bus-xbrnje9f.js} +8 -8
  265. package/dist/chunks/{file-access-we88g5cm.js → bus-xfpdx5t3.js} +7 -10
  266. package/dist/chunks/{file-access-rvyy05ds.js → bus-xg3sah7k.js} +10 -10
  267. package/dist/chunks/{file-access-wh2r9z7p.js → bus-xp5q11x6.js} +5 -5
  268. package/dist/chunks/{file-access-y1fvbwt7.js → bus-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{file-access-jgwtszpa.js → bus-y4m39d6z.js} +35 -35
  270. package/dist/chunks/{file-access-y71avatq.js → bus-y71avatq.js} +1 -1
  271. package/dist/chunks/{file-access-zsmcd3bd.js → bus-ybbm8fej.js} +21 -21
  272. package/dist/chunks/{file-access-r8xr0va3.js → bus-yp2x3t23.js} +4 -4
  273. package/dist/chunks/{file-access-yrhqyw5v.js → bus-yrhqyw5v.js} +1 -1
  274. package/dist/chunks/{file-access-kntbkpw6.js → bus-yywfy67y.js} +4 -4
  275. package/dist/chunks/{file-access-z0bkrqjs.js → bus-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{file-access-8wccq5jz.js → bus-z1b1h7dj.js} +10 -10
  277. package/dist/chunks/{file-access-ebz469zm.js → bus-z7a0szv5.js} +11 -12
  278. package/dist/chunks/{file-access-9b1t164c.js → bus-z8xaha1g.js} +12 -12
  279. package/dist/chunks/{file-access-eh8n39qf.js → bus-zcer3j7s.js} +17 -17
  280. package/dist/chunks/{file-access-zeh9ct20.js → bus-zeh9ct20.js} +2 -2
  281. package/dist/chunks/{file-access-9655radm.js → bus-zfr0a75a.js} +18 -18
  282. package/dist/chunks/{file-access-7j92jdde.js → bus-zj09a0ew.js} +4 -4
  283. package/dist/chunks/{file-access-289rv1w6.js → bus-zkqxbvht.js} +14 -14
  284. package/dist/chunks/{file-access-pgyeg8d2.js → bus-zn3tg85k.js} +9 -9
  285. package/dist/chunks/{file-access-8mc8s27z.js → bus-zpsh6c0j.js} +20 -20
  286. package/dist/chunks/{file-access-zr2ceqn5.js → bus-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{file-access-6fywv4en.js → bus-zt0w0vav.js} +32 -32
  288. package/dist/chunks/{file-access-zxq2ej10.js → bus-zxq2ej10.js} +1 -1
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +7 -7
  291. package/dist/codemode/tool.js +2 -2
  292. package/dist/command.js +79 -80
  293. package/dist/config/discovery.js +77 -78
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +19 -19
  296. package/dist/config/plugin/agent.js +115 -116
  297. package/dist/config/plugin/command.js +207 -208
  298. package/dist/config/plugin/compaction.js +155 -156
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -118
  301. package/dist/config/plugin/image.js +115 -116
  302. package/dist/config/plugin/instruction.js +85 -86
  303. package/dist/config/plugin/location-watcher.js +117 -118
  304. package/dist/config/plugin/mcp.js +124 -125
  305. package/dist/config/plugin/policy.js +114 -115
  306. package/dist/config/plugin/provider.js +113 -114
  307. package/dist/config/plugin/reference.js +117 -118
  308. package/dist/config/plugin/shell.js +116 -117
  309. package/dist/config/plugin/skill-file.js +97 -98
  310. package/dist/config/plugin/skill.js +134 -135
  311. package/dist/config/plugin/snapshot.js +115 -116
  312. package/dist/config/plugin/source.js +117 -118
  313. package/dist/config/plugin/tool-output.js +117 -118
  314. package/dist/config/plugin/websearch.js +113 -114
  315. package/dist/config/plugin/worktree.js +118 -119
  316. package/dist/config/variable.js +3 -3
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +109 -110
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +79 -80
  321. package/dist/database/database.js +64 -65
  322. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +13 -13
  326. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  329. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  337. package/dist/database/drizzle.js +14 -14
  338. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  339. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  340. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  341. package/dist/database/migration/20260225215848_workspace.js +1 -1
  342. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  343. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  344. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  345. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  346. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  347. package/dist/database/migration/20260323234822_events.js +1 -1
  348. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  349. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  350. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  351. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  352. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  353. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  354. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  355. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  356. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  357. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  358. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  359. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  360. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  361. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  362. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  363. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  364. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  365. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  366. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  367. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  368. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  369. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  370. package/dist/database/migration/20260611035744_credential.js +1 -1
  371. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  372. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  373. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  374. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  375. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  376. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  377. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  378. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  379. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  380. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  381. package/dist/database/migration/20260812213948_worktree.js +1 -1
  382. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  383. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  384. package/dist/database/migration.gen.js +47 -48
  385. package/dist/database/migration.js +49 -50
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +75 -76
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +361 -361
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +1 -1
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +84 -85
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +84 -85
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +68 -69
  409. package/dist/file-access.js +99 -100
  410. package/dist/file-mutation.js +89 -90
  411. package/dist/file-retention.js +1 -1
  412. package/dist/file.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/ignore.js +1 -1
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +222 -223
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +99 -100
  422. package/dist/filesystem/watcher-binding.js +1 -1
  423. package/dist/filesystem/watcher.js +3 -3
  424. package/dist/filesystem.js +96 -97
  425. package/dist/form.js +82 -83
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +82 -83
  428. package/dist/generate.js +89 -90
  429. package/dist/git.js +7 -7
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +7 -7
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/id/id.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +352 -352
  454. package/dist/instruction-discovery.js +77 -78
  455. package/dist/instructions/builtins.js +82 -83
  456. package/dist/instructions/index.js +1 -1
  457. package/dist/integration/connection.js +1 -1
  458. package/dist/integration.js +84 -85
  459. package/dist/job.js +77 -78
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +71 -72
  462. package/dist/location-activity.js +128 -129
  463. package/dist/location-mutation.js +99 -100
  464. package/dist/location-service-map.js +81 -82
  465. package/dist/location-services.js +349 -349
  466. package/dist/location.js +80 -81
  467. package/dist/mcp/client.js +86 -87
  468. package/dist/mcp/index.js +97 -98
  469. package/dist/mcp/instructions.js +122 -123
  470. package/dist/mcp/oauth.js +3 -3
  471. package/dist/mcp/stdio.js +85 -86
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +7 -7
  474. package/dist/model-resolver.js +84 -91
  475. package/dist/model.js +6 -6
  476. package/dist/models-dev.js +78 -79
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +78 -79
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +106 -107
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +82 -83
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +73 -74
  486. package/dist/plugin/agent.js +97 -98
  487. package/dist/plugin/command.js +92 -93
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +213 -214
  490. package/dist/plugin/instance.js +3 -3
  491. package/dist/plugin/internal.js +323 -323
  492. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  493. package/dist/plugin/models-dev.js +75 -76
  494. package/dist/plugin/module.js +7 -7
  495. package/dist/plugin/optimize.js +2 -4
  496. package/dist/plugin/plan.js +97 -98
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/alibaba.js +2 -2
  499. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  500. package/dist/plugin/provider/anthropic.js +7 -0
  501. package/dist/plugin/provider/azure.js +118 -119
  502. package/dist/plugin/provider/cerebras.js +2 -2
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -118
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -118
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +114 -115
  507. package/dist/plugin/provider/digitalocean.js +79 -80
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/gateway.js +2 -2
  511. package/dist/plugin/provider/github-copilot.js +80 -81
  512. package/dist/plugin/provider/gitlab.js +3 -3
  513. package/dist/plugin/provider/google-vertex.js +2 -2
  514. package/dist/plugin/provider/kilo.js +2 -2
  515. package/dist/plugin/provider/llmgateway.js +76 -77
  516. package/dist/plugin/provider/lmstudio.js +117 -118
  517. package/dist/plugin/provider/mistral.js +7 -0
  518. package/dist/plugin/provider/modal.js +79 -80
  519. package/dist/plugin/provider/nvidia.js +2 -2
  520. package/dist/plugin/provider/ollama.js +117 -118
  521. package/dist/plugin/provider/openai-compatible.js +1 -1
  522. package/dist/plugin/provider/openai.js +78 -79
  523. package/dist/plugin/provider/opencode.js +76 -80
  524. package/dist/plugin/provider/openrouter.js +3 -3
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/sap-ai-core.js +3 -3
  527. package/dist/plugin/provider/sdk-factory.js +1 -1
  528. package/dist/plugin/provider/snowflake-cortex.js +5 -119
  529. package/dist/plugin/provider/venice.js +2 -2
  530. package/dist/plugin/provider/vercel.js +2 -2
  531. package/dist/plugin/provider/vllm.js +117 -118
  532. package/dist/plugin/provider/xai.js +77 -78
  533. package/dist/plugin/provider/zenmux.js +2 -2
  534. package/dist/plugin/provider.js +156 -157
  535. package/dist/plugin/sdk.js +74 -75
  536. package/dist/plugin/service.js +3 -3
  537. package/dist/plugin/skill.js +131 -132
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +342 -342
  540. package/dist/plugin/update.js +6 -6
  541. package/dist/plugin/variant.js +4 -4
  542. package/dist/plugin/vcs/git.js +82 -83
  543. package/dist/plugin/vcs/hg.js +82 -83
  544. package/dist/plugin/warming.js +112 -113
  545. package/dist/plugin/websearch/exa.js +7 -7
  546. package/dist/plugin/websearch/firecrawl.js +8 -8
  547. package/dist/plugin/websearch/index.js +8 -8
  548. package/dist/plugin/websearch/mcp.js +2 -2
  549. package/dist/plugin/websearch/parallel.js +8 -8
  550. package/dist/plugin/websearch/tavily.js +6 -6
  551. package/dist/plugin.js +220 -221
  552. package/dist/project/schema.js +2 -2
  553. package/dist/project/sql.js +4 -4
  554. package/dist/project.js +79 -80
  555. package/dist/provider.js +5 -7
  556. package/dist/pty/protocol.js +1 -1
  557. package/dist/pty/schema.js +3 -3
  558. package/dist/pty/ticket.js +1 -1
  559. package/dist/pty.js +92 -93
  560. package/dist/reference/instructions.js +80 -81
  561. package/dist/reference.js +86 -87
  562. package/dist/repository-cache.js +76 -77
  563. package/dist/repository.js +1 -1
  564. package/dist/ripgrep/binary.js +2 -2
  565. package/dist/ripgrep.js +91 -92
  566. package/dist/rpc.js +81 -82
  567. package/dist/schema.js +1 -1
  568. package/dist/session/command.js +72 -73
  569. package/dist/session/compaction.js +129 -130
  570. package/dist/session/context.js +147 -148
  571. package/dist/session/environment.js +1 -1
  572. package/dist/session/error.js +11 -5
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +216 -217
  575. package/dist/session/execution.js +122 -123
  576. package/dist/session/generate.js +146 -147
  577. package/dist/session/history.js +13 -13
  578. package/dist/session/inbox.js +84 -85
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +77 -78
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +88 -89
  583. package/dist/session/message-updater.js +4 -4
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +109 -110
  586. package/dist/session/model-transport.js +9 -9
  587. package/dist/session/move.js +126 -127
  588. package/dist/session/projector.js +84 -85
  589. package/dist/session/prompt.js +100 -101
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +85 -86
  592. package/dist/session/run-coordinator.js +3 -3
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +225 -226
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +86 -91
  597. package/dist/session/runner/publish-llm-event.js +3 -3
  598. package/dist/session/runner/retry.js +110 -111
  599. package/dist/session/runner/step.js +121 -122
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +5 -5
  602. package/dist/session/session.js +169 -170
  603. package/dist/session/shell.js +131 -132
  604. package/dist/session/skill.js +98 -99
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +71 -72
  607. package/dist/session/store.js +83 -84
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +205 -206
  610. package/dist/session/system-prompt.js +3 -3
  611. package/dist/session/title.js +151 -152
  612. package/dist/session/to-session-error.js +107 -108
  613. package/dist/session/transfer.js +213 -215
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +217 -212
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +7 -7
  620. package/dist/shell.js +127 -128
  621. package/dist/skill/discovery.js +6 -6
  622. package/dist/skill/instructions.js +100 -101
  623. package/dist/skill.js +107 -108
  624. package/dist/snapshot.js +86 -87
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +117 -118
  629. package/dist/tool/plugin/edit.js +115 -116
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +118 -119
  632. package/dist/tool/plugin/grep.js +118 -119
  633. package/dist/tool/plugin/opencode.js +1 -1
  634. package/dist/tool/plugin/patch.js +117 -118
  635. package/dist/tool/plugin/question.js +96 -97
  636. package/dist/tool/plugin/read.js +119 -120
  637. package/dist/tool/plugin/shell.js +210 -211
  638. package/dist/tool/plugin/skill.js +106 -107
  639. package/dist/tool/plugin/subagent.js +212 -213
  640. package/dist/tool/plugin/webfetch.js +105 -106
  641. package/dist/tool/plugin/websearch.js +107 -108
  642. package/dist/tool/plugin/write.js +117 -118
  643. package/dist/tool/read-filesystem.js +96 -97
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +4 -4
  646. package/dist/tool.js +13 -13
  647. package/dist/types/aisdk-native.d.ts +2 -4
  648. package/dist/types/model-resolver.d.ts +3 -52
  649. package/dist/types/model.d.ts +0 -1
  650. package/dist/types/plugin/optimize.d.ts +1 -2
  651. package/dist/types/plugin/provider/anthropic.d.ts +1 -0
  652. package/dist/types/plugin/provider/mistral.d.ts +1 -0
  653. package/dist/types/plugin/provider/snowflake-cortex.d.ts +4 -5
  654. package/dist/types/provider.d.ts +0 -2
  655. package/dist/types/rpc.d.ts +0 -1
  656. package/dist/types/session/compaction.d.ts +3 -3
  657. package/dist/types/session/context.d.ts +1 -1
  658. package/dist/types/session/error.d.ts +36 -0
  659. package/dist/types/session/history.d.ts +0 -80
  660. package/dist/types/session/model-request.d.ts +37 -18
  661. package/dist/types/session/runner/model.d.ts +0 -5
  662. package/dist/types/session/runner/step.d.ts +1 -1
  663. package/dist/types/session/schema.d.ts +0 -9
  664. package/dist/types/session/session.d.ts +5 -5
  665. package/dist/types/session/sql.d.ts +3 -3
  666. package/dist/types/session/store.d.ts +0 -1
  667. package/dist/types/session/transfer.d.ts +0 -53
  668. package/dist/types/session.d.ts +5 -8
  669. package/dist/types/v1/config/migrate.d.ts +0 -2
  670. package/dist/util/error-summary.js +1 -1
  671. package/dist/util/error.js +1 -1
  672. package/dist/util/iife.js +1 -1
  673. package/dist/util/lazy.js +1 -1
  674. package/dist/util/slug.js +1 -1
  675. package/dist/util/token.js +1 -1
  676. package/dist/util/which.js +1 -1
  677. package/dist/util/wildcard.js +1 -1
  678. package/dist/v1/config/agent.js +5 -5
  679. package/dist/v1/config/attachment.js +4 -4
  680. package/dist/v1/config/command.js +3 -3
  681. package/dist/v1/config/config.js +14 -14
  682. package/dist/v1/config/error.js +2 -2
  683. package/dist/v1/config/formatter.js +5 -5
  684. package/dist/v1/config/layout.js +1 -1
  685. package/dist/v1/config/lsp.js +5 -5
  686. package/dist/v1/config/mcp.js +4 -4
  687. package/dist/v1/config/migrate.js +4 -4
  688. package/dist/v1/config/permission.js +1 -1
  689. package/dist/v1/config/plugin.js +1 -1
  690. package/dist/v1/config/provider-options.js +1 -1
  691. package/dist/v1/config/provider.js +4 -4
  692. package/dist/v1/config/server.js +2 -2
  693. package/dist/v1/config/skills.js +1 -1
  694. package/dist/v1/permission.js +1 -1
  695. package/dist/vcs/patch.js +1 -1
  696. package/dist/vcs.js +85 -86
  697. package/dist/websearch.js +72 -73
  698. package/dist/wellknown/plugin.js +74 -75
  699. package/dist/wellknown.js +71 -72
  700. package/dist/workspace/driver.js +1 -1
  701. package/dist/workspace/sql.js +1 -1
  702. package/dist/workspace.js +68 -69
  703. package/dist/worktree/directory.js +2 -2
  704. package/dist/worktree/git.js +5 -5
  705. package/dist/worktree/refresh.js +339 -339
  706. package/dist/worktree/sql.js +5 -5
  707. package/dist/worktree.js +89 -90
  708. package/package.json +8 -8
  709. package/dist/chunks/file-access-05fbhmag.js +0 -22
  710. package/dist/chunks/file-access-64h6ppck.js +0 -247
  711. package/dist/chunks/file-access-6kdq0pjd.js +0 -4
  712. package/dist/chunks/file-access-7jrfegz8.js +0 -260
  713. package/dist/chunks/file-access-ea8nv0r7.js +0 -170
  714. package/dist/chunks/file-access-h8sjebh6.js +0 -123
  715. package/dist/chunks/file-access-jqh9b0xq.js +0 -18
  716. package/dist/chunks/file-access-rs20ccms.js +0 -228
  717. package/dist/chunks/file-access-y8f7s663.js +0 -13
  718. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +0 -6
  719. package/dist/plugin/provider/poe.js +0 -82
  720. package/dist/types/database/migration/20260910120000_clear_v1_session_permission.d.ts +0 -3
  721. package/dist/types/plugin/provider/poe.d.ts +0 -2
  722. /package/dist/chunks/{file-access-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
  723. /package/dist/chunks/{file-access-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
  724. /package/dist/chunks/{file-access-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
  725. /package/dist/chunks/{file-access-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
  726. /package/dist/chunks/{file-access-1kg9ymc8.js → bus-1kg9ymc8.js} +0 -0
  727. /package/dist/chunks/{file-access-2710q6r3.js → bus-2710q6r3.js} +0 -0
  728. /package/dist/chunks/{file-access-2axfhc9x.js → bus-2axfhc9x.js} +0 -0
  729. /package/dist/chunks/{file-access-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
  730. /package/dist/chunks/{file-access-359p4xyc.js → bus-359p4xyc.js} +0 -0
  731. /package/dist/chunks/{file-access-3asan66x.js → bus-3asan66x.js} +0 -0
  732. /package/dist/chunks/{file-access-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
  733. /package/dist/chunks/{file-access-3w5fmr99.js → bus-3w5fmr99.js} +0 -0
  734. /package/dist/chunks/{file-access-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
  735. /package/dist/chunks/{file-access-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
  736. /package/dist/chunks/{file-access-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
  737. /package/dist/chunks/{file-access-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
  738. /package/dist/chunks/{file-access-53557ph1.js → bus-53557ph1.js} +0 -0
  739. /package/dist/chunks/{file-access-550bvhaj.js → bus-550bvhaj.js} +0 -0
  740. /package/dist/chunks/{file-access-6prwharc.js → bus-6prwharc.js} +0 -0
  741. /package/dist/chunks/{file-access-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
  742. /package/dist/chunks/{file-access-7m9af43g.js → bus-7m9af43g.js} +0 -0
  743. /package/dist/chunks/{file-access-822emrt2.js → bus-822emrt2.js} +0 -0
  744. /package/dist/chunks/{file-access-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
  745. /package/dist/chunks/{file-access-8n3pysct.js → bus-8n3pysct.js} +0 -0
  746. /package/dist/chunks/{file-access-922hggd3.js → bus-922hggd3.js} +0 -0
  747. /package/dist/chunks/{file-access-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
  748. /package/dist/chunks/{file-access-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
  749. /package/dist/chunks/{file-access-a6k6eb26.js → bus-a6k6eb26.js} +0 -0
  750. /package/dist/chunks/{file-access-af5trqkr.js → bus-af5trqkr.js} +0 -0
  751. /package/dist/chunks/{file-access-afrmfg78.js → bus-afrmfg78.js} +0 -0
  752. /package/dist/chunks/{file-access-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
  753. /package/dist/chunks/{file-access-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
  754. /package/dist/chunks/{file-access-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
  755. /package/dist/chunks/{file-access-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
  756. /package/dist/chunks/{file-access-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
  757. /package/dist/chunks/{file-access-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
  758. /package/dist/chunks/{file-access-d9fn303g.js → bus-d9fn303g.js} +0 -0
  759. /package/dist/chunks/{file-access-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
  760. /package/dist/chunks/{file-access-dajrwvna.js → bus-dajrwvna.js} +0 -0
  761. /package/dist/chunks/{file-access-dap0rakb.js → bus-dap0rakb.js} +0 -0
  762. /package/dist/chunks/{file-access-df08tz66.js → bus-df08tz66.js} +0 -0
  763. /package/dist/chunks/{file-access-dy18nga0.js → bus-dy18nga0.js} +0 -0
  764. /package/dist/chunks/{file-access-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
  765. /package/dist/chunks/{file-access-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
  766. /package/dist/chunks/{file-access-ec1grn59.js → bus-ec1grn59.js} +0 -0
  767. /package/dist/chunks/{file-access-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
  768. /package/dist/chunks/{file-access-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
  769. /package/dist/chunks/{file-access-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
  770. /package/dist/chunks/{file-access-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
  771. /package/dist/chunks/{file-access-faypxj3z.js → bus-faypxj3z.js} +0 -0
  772. /package/dist/chunks/{file-access-fd410y7t.js → bus-fd410y7t.js} +0 -0
  773. /package/dist/chunks/{file-access-fxgpk5d8.js → bus-fxgpk5d8.js} +0 -0
  774. /package/dist/chunks/{file-access-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
  775. /package/dist/chunks/{file-access-g86h250q.js → bus-g86h250q.js} +0 -0
  776. /package/dist/chunks/{file-access-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
  777. /package/dist/chunks/{file-access-gftt206x.js → bus-gftt206x.js} +0 -0
  778. /package/dist/chunks/{file-access-hjbc5kem.js → bus-hjbc5kem.js} +0 -0
  779. /package/dist/chunks/{file-access-hk9envan.js → bus-hk9envan.js} +0 -0
  780. /package/dist/chunks/{file-access-hrnqkpcd.js → bus-hrnqkpcd.js} +0 -0
  781. /package/dist/chunks/{file-access-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
  782. /package/dist/chunks/{file-access-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
  783. /package/dist/chunks/{file-access-j935v87r.js → bus-j935v87r.js} +0 -0
  784. /package/dist/chunks/{file-access-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
  785. /package/dist/chunks/{file-access-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
  786. /package/dist/chunks/{file-access-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
  787. /package/dist/chunks/{file-access-mp448xyj.js → bus-mp448xyj.js} +0 -0
  788. /package/dist/chunks/{file-access-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
  789. /package/dist/chunks/{file-access-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
  790. /package/dist/chunks/{file-access-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
  791. /package/dist/chunks/{file-access-njntx4h6.js → bus-njntx4h6.js} +0 -0
  792. /package/dist/chunks/{file-access-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
  793. /package/dist/chunks/{file-access-q74kybfr.js → bus-q74kybfr.js} +0 -0
  794. /package/dist/chunks/{file-access-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
  795. /package/dist/chunks/{file-access-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
  796. /package/dist/chunks/{file-access-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
  797. /package/dist/chunks/{file-access-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
  798. /package/dist/chunks/{file-access-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
  799. /package/dist/chunks/{file-access-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
  800. /package/dist/chunks/{file-access-sk3qaz4a.js → bus-sk3qaz4a.js} +0 -0
  801. /package/dist/chunks/{file-access-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
  802. /package/dist/chunks/{file-access-twg0f83k.js → bus-twg0f83k.js} +0 -0
  803. /package/dist/chunks/{file-access-w803qqfp.js → bus-w803qqfp.js} +0 -0
  804. /package/dist/chunks/{file-access-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
  805. /package/dist/chunks/{file-access-wtztk69x.js → bus-wtztk69x.js} +0 -0
  806. /package/dist/chunks/{file-access-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
  807. /package/dist/chunks/{file-access-x61499pn.js → bus-x61499pn.js} +0 -0
  808. /package/dist/chunks/{file-access-y44na4kk.js → bus-y44na4kk.js} +0 -0
  809. /package/dist/chunks/{file-access-y8cydn3q.js → bus-y8cydn3q.js} +0 -0
  810. /package/dist/chunks/{file-access-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
  811. /package/dist/chunks/{file-access-ym463w8f.js → bus-ym463w8f.js} +0 -0
  812. /package/dist/chunks/{file-access-z9919s4g.js → bus-z9919s4g.js} +0 -0
@@ -1,116 +1,116 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./file-access-t9jk0gx5.js";
4
+ } from "./bus-vzna85n7.js";
5
5
  import {
6
6
  Service78,
7
7
  node83
8
- } from "./file-access-kntbkpw6.js";
8
+ } from "./bus-yywfy67y.js";
9
9
  import {
10
10
  SessionEvent2
11
- } from "./file-access-ec1grn59.js";
11
+ } from "./bus-ec1grn59.js";
12
12
  import {
13
13
  SessionMessageTable2
14
- } from "./file-access-a1bz86dw.js";
14
+ } from "./bus-a1bz86dw.js";
15
15
  import {
16
16
  prepare4
17
- } from "./file-access-hc7n3jk5.js";
17
+ } from "./bus-cq37gk0t.js";
18
18
  import {
19
19
  llmClient2
20
- } from "./file-access-5t3nmthw.js";
20
+ } from "./bus-5t3nmthw.js";
21
21
  import {
22
22
  SessionMessage2
23
- } from "./file-access-gftt206x.js";
23
+ } from "./bus-gftt206x.js";
24
24
  import {
25
25
  StepFailedError2
26
- } from "./file-access-qd8wwfxt.js";
26
+ } from "./bus-aj64j3za.js";
27
27
  import {
28
28
  provenance2
29
- } from "./file-access-csf2jhsg.js";
29
+ } from "./bus-6p3xbzsx.js";
30
30
  import {
31
31
  decodeMessageRow2,
32
32
  preview2
33
- } from "./file-access-1bagj3va.js";
33
+ } from "./bus-4d5vyrnh.js";
34
34
  import {
35
- Service55,
36
- node59
37
- } from "./file-access-8p576cyw.js";
35
+ Service60,
36
+ node64
37
+ } from "./bus-vezrvrpz.js";
38
38
  import {
39
- Service34,
40
- node39
41
- } from "./file-access-6ymtkfzb.js";
39
+ Service33,
40
+ node38
41
+ } from "./bus-4xdz4snq.js";
42
42
  import {
43
43
  baseTranscript2
44
- } from "./file-access-7jrfegz8.js";
44
+ } from "./bus-rac1zgpy.js";
45
45
  import {
46
- make9
47
- } from "./file-access-wqg2ybf7.js";
46
+ make4
47
+ } from "./bus-151sq2qz.js";
48
48
  import {
49
- Service8,
50
- node11
51
- } from "./file-access-7hbsyrtj.js";
49
+ Service10,
50
+ node13
51
+ } from "./bus-2vdmvhdx.js";
52
52
  import {
53
- Service29,
54
- node34
55
- } from "./file-access-6b41461m.js";
53
+ Service27,
54
+ node32
55
+ } from "./bus-39aa7p7s.js";
56
56
  import {
57
57
  serialized2,
58
58
  nextPromotable2,
59
59
  promote2
60
- } from "./file-access-2eywq100.js";
60
+ } from "./bus-c0bvtzp5.js";
61
61
  import {
62
- Service9,
62
+ Service3,
63
63
  isUntitled2,
64
- node12
65
- } from "./file-access-bh9xqmdb.js";
64
+ node5
65
+ } from "./bus-aypcqpwv.js";
66
66
  import {
67
67
  DrainResult2,
68
- Service46
69
- } from "./file-access-dhmh7aw6.js";
68
+ Service40
69
+ } from "./bus-2vs2nh1n.js";
70
70
  import {
71
- node67
72
- } from "./file-access-6fywv4en.js";
71
+ node53
72
+ } from "./bus-zt0w0vav.js";
73
73
  import {
74
74
  node70
75
- } from "./file-access-16hg2h50.js";
75
+ } from "./bus-01797ny4.js";
76
76
  import {
77
77
  Outcome2,
78
- make8
79
- } from "./file-access-zrk6752y.js";
78
+ make3
79
+ } from "./bus-5cn90sgv.js";
80
80
  import {
81
- Service36
82
- } from "./file-access-jqh9b0xq.js";
81
+ Service34
82
+ } from "./bus-by5v678g.js";
83
83
  import {
84
- node21
85
- } from "./file-access-jhcd8dwt.js";
84
+ node18
85
+ } from "./bus-dg9v98ve.js";
86
86
  import {
87
87
  MAX_STEPS_PROMPT2
88
- } from "./file-access-y44na4kk.js";
88
+ } from "./bus-y44na4kk.js";
89
89
  import {
90
90
  __export
91
- } from "./file-access-9rqn6x4v.js";
91
+ } from "./bus-9rqn6x4v.js";
92
92
 
93
93
  // src/session/runner/llm.ts
94
94
  var exports_llm = {};
95
95
  __export(exports_llm, {
96
96
  SessionRunnerLLM: () => exports_llm,
97
- node: () => node10
97
+ node: () => node4
98
98
  });
99
99
  import { Message } from "@opencode/ai";
100
100
  import { and, desc, eq, sql } from "drizzle-orm";
101
101
  import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
102
102
  import { makeLocationNode } from "@opencode/util/effect/app-node";
103
103
  var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
104
- var layer = Layer.effect(Service46, Effect.gen(function* () {
104
+ var layer = Layer.effect(Service40, Effect.gen(function* () {
105
105
  const bus = yield* Service78;
106
- const store = yield* Service55;
107
- const context = yield* Service29;
108
- const modelTransport = yield* Service34;
106
+ const store = yield* Service60;
107
+ const context = yield* Service27;
108
+ const modelTransport = yield* Service33;
109
109
  const db = (yield* Service80).db;
110
- const compaction = yield* Service8;
111
- const plugins = yield* Service36;
112
- const title = yield* Service9;
113
- const steps = yield* make8;
110
+ const compaction = yield* Service10;
111
+ const plugins = yield* Service34;
112
+ const title = yield* Service3;
113
+ const steps = yield* make3;
114
114
  const titles = yield* FiberMap.make();
115
115
  const drain = Effect.fn("SessionRunner.drain")(function* (input) {
116
116
  const sessionID = input.sessionID;
@@ -176,7 +176,7 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
176
176
  instructionUpdate: history.instructionUpdate
177
177
  };
178
178
  }),
179
- prepare: context.request.compaction,
179
+ prepare: context.prepare,
180
180
  messages: yield* store.context(sessionID),
181
181
  inputID: pending.id,
182
182
  started: true
@@ -231,7 +231,7 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
231
231
  const runStep = Effect.fn("SessionRunner.runStep")(function* (first, step) {
232
232
  const sessionID = first.session.id;
233
233
  let assistantMessageID = SessionMessage2.ID.create();
234
- const retry = yield* make9(bus, sessionID);
234
+ const retry = yield* make4(bus, sessionID);
235
235
  let initial = first;
236
236
  let recoverOverflow = true;
237
237
  let recoverContinuation = true;
@@ -240,7 +240,7 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
240
240
  initial = undefined;
241
241
  const compactionInput = {
242
242
  context: loaded,
243
- prepare: context.request.compaction
243
+ prepare: context.prepare
244
244
  };
245
245
  if (compaction.required({ messages: loaded.messages, resolved: loaded.model, context: loaded })) {
246
246
  const result = yield* compaction.compact(compactionInput);
@@ -259,13 +259,13 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
259
259
  initial: loaded.initial,
260
260
  messages: loaded.messages
261
261
  });
262
- const prepared = yield* context.request.primary({
263
- session: loaded.session,
264
- agent: loaded.agent.id,
265
- model: loaded.model,
266
- tools: loaded.tools,
267
- system: transcript.system,
268
- messages: stepLimitReached ? [...transcript.messages, Message.assistant(MAX_STEPS_PROMPT2)] : transcript.messages,
262
+ const prepared = yield* context.prepare({
263
+ kind: "primary",
264
+ scope: { session: loaded.session, agentID: loaded.agent.id, model: loaded.model, tools: loaded.tools },
265
+ transcript: {
266
+ system: transcript.system,
267
+ messages: stepLimitReached ? [...transcript.messages, Message.assistant(MAX_STEPS_PROMPT2)] : transcript.messages
268
+ },
269
269
  toolChoice: stepLimitReached ? "none" : undefined,
270
270
  webSocket: "session"
271
271
  });
@@ -351,24 +351,24 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
351
351
  }
352
352
  }
353
353
  });
354
- return Service46.of({ drain });
354
+ return Service40.of({ drain });
355
355
  }));
356
- var node10 = makeLocationNode({
357
- service: Service46,
356
+ var node4 = makeLocationNode({
357
+ service: Service40,
358
358
  layer,
359
359
  deps: [
360
360
  node83,
361
361
  llmClient2,
362
- node34,
363
- node39,
364
- node59,
365
- node11,
366
- node21,
367
- node12,
368
- node67,
362
+ node32,
363
+ node38,
364
+ node64,
365
+ node13,
366
+ node18,
367
+ node5,
368
+ node53,
369
369
  node70,
370
370
  node85
371
371
  ]
372
372
  });
373
373
 
374
- export { node10, exports_llm };
374
+ export { node4, exports_llm };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  WebSocketConstructor2
3
- } from "./file-access-y8cydn3q.js";
3
+ } from "./bus-y8cydn3q.js";
4
4
  import {
5
5
  __export
6
- } from "./file-access-9rqn6x4v.js";
6
+ } from "./bus-9rqn6x4v.js";
7
7
 
8
8
  // src/effect/app-node-platform.ts
9
9
  var exports_app_node_platform = {};
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service78,
3
3
  node83
4
- } from "./file-access-kntbkpw6.js";
4
+ } from "./bus-yywfy67y.js";
5
5
  import {
6
6
  create3
7
- } from "./file-access-kg06axw8.js";
7
+ } from "./bus-kg06axw8.js";
8
8
  import {
9
9
  __export
10
- } from "./file-access-9rqn6x4v.js";
10
+ } from "./bus-9rqn6x4v.js";
11
11
 
12
12
  // src/command.ts
13
13
  var exports_command4 = {};
14
14
  __export(exports_command4, {
15
15
  Command: () => exports_command4,
16
- Event: () => Event10,
16
+ Event: () => Event9,
17
17
  ExecutionError: () => ExecutionError2,
18
18
  Info: () => Info8,
19
- NotFoundError: () => NotFoundError5,
20
- Service: () => Service43,
21
- layer: () => layer18,
22
- node: () => node47
19
+ NotFoundError: () => NotFoundError4,
20
+ Service: () => Service47,
21
+ layer: () => layer20,
22
+ node: () => node50
23
23
  });
24
24
  import { Command } from "@opencode/schema/command";
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
- import { Event as Event10 } from "@opencode/schema/command";
27
+ import { Event as Event9 } from "@opencode/schema/command";
28
28
  var Info8 = Command.Info;
29
29
 
30
- class NotFoundError5 extends Schema.TaggedError()("Command.NotFoundError", {
30
+ class NotFoundError4 extends Schema.TaggedError()("Command.NotFoundError", {
31
31
  command: Schema.String,
32
32
  message: Schema.String
33
33
  }) {
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
39
39
  }) {
40
40
  }
41
41
 
42
- class Service43 extends Context.Service()("@opencode/Command") {
42
+ class Service47 extends Context.Service()("@opencode/Command") {
43
43
  }
44
- var layer18 = Layer.effect(Service43, Effect.gen(function* () {
44
+ var layer20 = Layer.effect(Service47, Effect.gen(function* () {
45
45
  const bus = yield* Service78;
46
46
  const state = create3({
47
47
  name: "command",
@@ -55,7 +55,7 @@ var layer18 = Layer.effect(Service43, Effect.gen(function* () {
55
55
  name: definition.name,
56
56
  description: definition.description
57
57
  });
58
- return Service43.of({
58
+ return Service47.of({
59
59
  reload: state.reload,
60
60
  transform: state.transform,
61
61
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -66,14 +66,14 @@ var layer18 = Layer.effect(Service43, Effect.gen(function* () {
66
66
  execute: Effect.fn("Command.execute")(function* (input) {
67
67
  const definition = state.get().get(input.name);
68
68
  if (!definition)
69
- return yield* new NotFoundError5({ command: input.name, message: `Command not found: ${input.name}` });
69
+ return yield* new NotFoundError4({ command: input.name, message: `Command not found: ${input.name}` });
70
70
  return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
71
71
  })
72
72
  });
73
73
  }));
74
- var node47 = makeLocationNode({
75
- service: Service43,
76
- layer: layer18,
74
+ var node50 = makeLocationNode({
75
+ service: Service47,
76
+ layer: layer20,
77
77
  deps: [node83]
78
78
  });
79
79
  function errorMessage(error) {
@@ -86,4 +86,4 @@ function errorMessage(error) {
86
86
  return "Command execution failed";
87
87
  }
88
88
 
89
- export { Info8, NotFoundError5, ExecutionError2, Service43, layer18, node47, exports_command4, Event10 };
89
+ export { Info8, NotFoundError4, ExecutionError2, Service47, layer20, node50, exports_command4, Event9 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./file-access-ym463w8f.js";
3
+ } from "./bus-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/gateway.ts
6
6
  var GatewayPlugin2 = createProviderPlugin2({
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  SQLiteEffectCountBuilder2
3
- } from "./file-access-f0mxakyp.js";
3
+ } from "./bus-f0mxakyp.js";
4
4
  import {
5
5
  SQLiteEffectDeleteBase2
6
- } from "./file-access-w3wsvvr9.js";
6
+ } from "./bus-w3wsvvr9.js";
7
7
  import {
8
8
  SQLiteEffectInsertBuilder2
9
- } from "./file-access-7bmhse3q.js";
9
+ } from "./bus-7bmhse3q.js";
10
10
  import {
11
11
  SQLiteEffectRelationalQueryBuilder2
12
- } from "./file-access-cf4snx6d.js";
12
+ } from "./bus-cf4snx6d.js";
13
13
  import {
14
14
  SQLiteEffectRaw2
15
- } from "./file-access-822emrt2.js";
15
+ } from "./bus-822emrt2.js";
16
16
  import {
17
17
  SQLiteEffectSelectBuilder2
18
- } from "./file-access-wd87259q.js";
18
+ } from "./bus-wd87259q.js";
19
19
  import {
20
20
  SQLiteEffectUpdateBuilder2
21
- } from "./file-access-m9w0rfyh.js";
21
+ } from "./bus-m9w0rfyh.js";
22
22
 
23
23
  // src/database/drizzle/sqlite-core/effect/db.ts
24
24
  import { Effect } from "effect";
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  useragent2
3
- } from "./file-access-rvyy05ds.js";
3
+ } from "./bus-xg3sah7k.js";
4
4
  import {
5
5
  call2
6
- } from "./file-access-mfqp6xfm.js";
6
+ } from "./bus-mfqp6xfm.js";
7
7
  import {
8
8
  __export
9
- } from "./file-access-9rqn6x4v.js";
9
+ } from "./bus-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/parallel.ts
12
12
  var exports_parallel = {};
13
13
  __export(exports_parallel, {
14
- Plugin: () => Plugin24,
14
+ Plugin: () => Plugin23,
15
15
  WebSearchParallel: () => exports_parallel,
16
- endpoint: () => endpoint3
16
+ endpoint: () => endpoint4
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Schema } from "effect";
20
20
  import { HttpClient } from "effect/unstable/http";
21
- var endpoint3 = "https://search.parallel.ai/mcp";
21
+ var endpoint4 = "https://search.parallel.ai/mcp";
22
22
  var McpInput = Schema.Struct({
23
23
  objective: Schema.String,
24
24
  search_queries: Schema.Array(Schema.String),
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
47
47
  content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
48
48
  structuredContent: SearchResponse
49
49
  });
50
- var Plugin24 = define({
50
+ var Plugin23 = define({
51
51
  id: "opencode.websearch.parallel",
52
52
  effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
53
53
  const http = yield* HttpClient.HttpClient;
@@ -69,7 +69,7 @@ var Plugin24 = define({
69
69
  execute: (input) => Effect.gen(function* () {
70
70
  const connection = yield* ctx.integration.connection.active("parallel");
71
71
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
72
- const result = yield* call2(http, endpoint3, "web_search", { input: McpInput, output: McpOutput }, {
72
+ const result = yield* call2(http, endpoint4, "web_search", { input: McpInput, output: McpOutput }, {
73
73
  objective: input.query,
74
74
  search_queries: [input.query]
75
75
  }, {
@@ -93,4 +93,4 @@ var Plugin24 = define({
93
93
  })
94
94
  });
95
95
 
96
- export { endpoint3, Plugin24, exports_parallel };
96
+ export { endpoint4, Plugin23, exports_parallel };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./file-access-t9jk0gx5.js";
4
+ } from "./bus-vzna85n7.js";
5
5
  import {
6
6
  PermissionTable2
7
- } from "./file-access-f828m53h.js";
7
+ } from "./bus-f828m53h.js";
8
8
  import {
9
9
  __export
10
- } from "./file-access-9rqn6x4v.js";
10
+ } from "./bus-9rqn6x4v.js";
11
11
 
12
12
  // src/permission/saved.ts
13
13
  var exports_saved = {};
14
14
  __export(exports_saved, {
15
15
  AddInput: () => AddInput2,
16
- ID: () => ID7,
17
- Info: () => Info12,
16
+ ID: () => ID10,
17
+ Info: () => Info14,
18
18
  ListInput: () => ListInput5,
19
19
  PermissionSaved: () => exports_saved,
20
- Service: () => Service56,
21
- node: () => node60
20
+ Service: () => Service61,
21
+ node: () => node65
22
22
  });
23
23
  import { eq } from "drizzle-orm";
24
24
  import { Context, Effect, Layer, Schema } from "effect";
25
25
  import { Project } from "@opencode/schema/project";
26
26
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
27
27
  import { PermissionSaved } from "@opencode/schema/permission-saved";
28
- var ID7 = PermissionSaved.ID;
29
- var Info12 = PermissionSaved.Info;
28
+ var ID10 = PermissionSaved.ID;
29
+ var Info14 = PermissionSaved.Info;
30
30
  var ListInput5 = Schema.Struct({
31
31
  projectID: Project.ID.pipe(Schema.optional)
32
32
  }).annotate({ identifier: "PermissionSaved.ListInput" });
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
36
36
  resources: Schema.Array(Schema.String)
37
37
  }).annotate({ identifier: "PermissionSaved.AddInput" });
38
38
 
39
- class Service56 extends Context.Service()("@opencode/PermissionSaved") {
39
+ class Service61 extends Context.Service()("@opencode/PermissionSaved") {
40
40
  }
41
- var layer = Layer.effect(Service56, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service61, Effect.gen(function* () {
42
42
  const db = (yield* Service80).db;
43
43
  const list = Effect.fnUntraced(function* (input) {
44
44
  const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
@@ -53,7 +53,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
53
53
  if (!input.resources.length)
54
54
  return;
55
55
  yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
56
- id: ID7.create(),
56
+ id: ID10.create(),
57
57
  project_id: input.projectID,
58
58
  action: input.action,
59
59
  resource
@@ -62,8 +62,8 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
62
62
  const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
63
63
  yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
64
64
  });
65
- return Service56.of({ list, add, remove });
65
+ return Service61.of({ list, add, remove });
66
66
  }));
67
- var node60 = makeGlobalNode({ service: Service56, layer, deps: [node85] });
67
+ var node65 = makeGlobalNode({ service: Service61, layer, deps: [node85] });
68
68
 
69
- export { ID7, Info12, ListInput5, AddInput2, Service56, node60, exports_saved };
69
+ export { ID10, Info14, ListInput5, AddInput2, Service61, node65, exports_saved };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./file-access-922hggd3.js";
3
+ } from "./bus-922hggd3.js";
4
4
  import {
5
- Info9,
6
- ID5,
5
+ Info6,
6
+ ID4,
7
7
  Name2
8
- } from "./file-access-1ct3cw4h.js";
8
+ } from "./bus-s38pncdy.js";
9
9
  import {
10
10
  Service67
11
- } from "./file-access-9655radm.js";
11
+ } from "./bus-zfr0a75a.js";
12
12
  import {
13
13
  __export
14
- } from "./file-access-9rqn6x4v.js";
14
+ } from "./bus-9rqn6x4v.js";
15
15
 
16
16
  // src/plugin/skill.ts
17
17
  var exports_skill2 = {};
18
18
  __export(exports_skill2, {
19
19
  OpencodeContent: () => OpencodeContent2,
20
20
  OpencodeDescription: () => OpencodeDescription2,
21
- Plugin: () => Plugin28,
21
+ Plugin: () => Plugin25,
22
22
  ReportContent: () => ReportContent2,
23
23
  SkillPlugin: () => exports_skill2
24
24
  });
@@ -140,13 +140,13 @@ for themselves without limiting it to the current project; omit it when they
140
140
  explicitly want project-local configuration.
141
141
 
142
142
  \`\`\`sh
143
- opencode mcp add <name> --global --url <remote-url>
144
- opencode mcp list
143
+ opencode2 mcp add <name> --global --url <remote-url>
144
+ opencode2 mcp list
145
145
  \`\`\`
146
146
 
147
147
  Remote servers use OAuth by default. If \`mcp list\` reports that a server needs
148
148
  authentication, tell the user to run \`/mcps\`, select the server, and sign in.
149
- Do not run \`opencode mcp auth\` through the shell tool: it starts an interactive
149
+ Do not run \`opencode2 mcp auth\` through the shell tool: it starts an interactive
150
150
  flow whose authorization link can be hidden in background process output.
151
151
  Use the user-facing MCP interface instead.
152
152
 
@@ -164,7 +164,7 @@ secret into configuration.
164
164
  For any request to migrate OpenCode configuration, agents, commands, skills,
165
165
  plugins, integrations, or other behavior from V1 to V2, read the full
166
166
  [migration guide](https://opencode.ai/v2/docs/migrate-v1) before acting. In
167
- the repository, its source is \`services/www/src/docs/content/migrate-v1.mdx\`.
167
+ the repository, its source is \`packages/www/src/docs/content/migrate-v1.mdx\`.
168
168
 
169
169
  V1 config files and \`.opencode/\` definitions are intended to remain compatible.
170
170
  The only intentional breaking changes are the server API and plugin API. Native
@@ -197,13 +197,13 @@ OpenCode normally discovers or starts the shared background service
197
197
  automatically. If the service is stuck or unhealthy, restart it:
198
198
 
199
199
  \`\`\`sh
200
- opencode service restart
200
+ opencode2 service restart
201
201
  \`\`\`
202
202
 
203
203
  Check its status after restarting:
204
204
 
205
205
  \`\`\`sh
206
- opencode service status
206
+ opencode2 service status
207
207
  \`\`\`
208
208
 
209
209
  ## [API](https://opencode.ai/v2/docs/api)
@@ -219,15 +219,15 @@ HTTP method and path or an OpenAPI operation ID.
219
219
  Call an endpoint with an HTTP method and path:
220
220
 
221
221
  \`\`\`sh
222
- opencode api get /api/health
222
+ opencode2 api get /api/health
223
223
  \`\`\`
224
224
 
225
225
  Pass a request body with \`--data\` or \`-d\`, and additional headers with
226
226
  \`--header\` or \`-H\`:
227
227
 
228
228
  \`\`\`sh
229
- opencode api post /api/example --data '{"key":"value"}'
230
- opencode api get /api/example --header 'X-Example:value'
229
+ opencode2 api post /api/example --data '{"key":"value"}'
230
+ opencode2 api get /api/example --header 'X-Example:value'
231
231
  \`\`\`
232
232
 
233
233
  Request bodies default to \`Content-Type: application/json\`. When OpenCode is
@@ -269,9 +269,9 @@ Effect applications. For Cloudflare Durable Objects, use the
269
269
  OpenCode runs a client and a background server. Start by determining whether a
270
270
  problem belongs to the client, the shared server, or one project.
271
271
 
272
- - Check the service with \`opencode service status\` and verify the API with
273
- \`opencode api get /api/health\`.
274
- - Compare with \`opencode --standalone\`, which runs the TUI with a private
272
+ - Check the service with \`opencode2 service status\` and verify the API with
273
+ \`opencode2 api get /api/health\`.
274
+ - Compare with \`opencode2 --standalone\`, which runs the TUI with a private
275
275
  server, to isolate shared-service issues.
276
276
  - Inspect \`~/.local/share/opencode/log/opencode.log\`. Filter \`role=cli\` for
277
277
  client startup and \`role=server\` for sessions, providers, plugins,
@@ -318,7 +318,8 @@ title/body for the user.
318
318
 
319
319
  Collect these values when possible:
320
320
 
321
- - opencode version: run \`opencode --version\`.
321
+ - opencode version: run \`opencode --version\` or \`opencode2 --version\`,
322
+ depending on the executable in use.
322
323
  - Operating system: run \`uname -a\` on Unix-like systems, or \`ver\` on Windows.
323
324
  - Terminal: inspect \`$TERM\`, \`$TERM_PROGRAM\`, \`$COLORTERM\`, and any obvious
324
325
  terminal app context the user provides.
@@ -421,20 +422,20 @@ var OpencodeContent2 = opencode_default;
421
422
  var ReportContent2 = report_default;
422
423
  var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
423
424
  var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
424
- var Plugin28 = define({
425
+ var Plugin25 = define({
425
426
  id: "opencode.skill",
426
427
  effect: Effect.fn(function* (ctx) {
427
428
  const reportContent = yield* reportContentWithDiagnostics(ctx.app);
428
429
  yield* ctx.skill.transform((editor) => {
429
- editor.add(Info9.make({
430
- id: ID5.make("opencode"),
430
+ editor.add(Info6.make({
431
+ id: ID4.make("opencode"),
431
432
  name: Name2.make("OpenCode"),
432
433
  description: OpencodeDescription2,
433
434
  location: AbsolutePath2.make("/builtin/opencode.md"),
434
435
  content: OpencodeContent2
435
436
  }));
436
- editor.add(Info9.make({
437
- id: ID5.make("report"),
437
+ editor.add(Info6.make({
438
+ id: ID4.make("report"),
438
439
  name: Name2.make("Report"),
439
440
  description: REPORT_DESCRIPTION,
440
441
  slash: true,
@@ -477,4 +478,4 @@ function shell() {
477
478
  return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
478
479
  }
479
480
 
480
- export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin28, exports_skill2 };
481
+ export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin25, exports_skill2 };