@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,48 +1,48 @@
1
1
  import {
2
2
  Metadata2,
3
3
  useragent2,
4
- node55
5
- } from "./file-agg557zn.js";
4
+ node52
5
+ } from "./bus-xg3sah7k.js";
6
6
  import {
7
7
  provenance2,
8
8
  compatible2
9
- } from "./file-csf2jhsg.js";
9
+ } from "./bus-6p3xbzsx.js";
10
10
  import {
11
- Service68,
12
- node73
13
- } from "./file-bby00dsd.js";
11
+ Service75,
12
+ node80
13
+ } from "./bus-dc76j9wz.js";
14
14
  import {
15
15
  DeclinedError2
16
- } from "./file-1q2nd9f6.js";
16
+ } from "./bus-7wh9hy1a.js";
17
17
  import {
18
18
  CancelledError2
19
- } from "./file-kggrcpgh.js";
19
+ } from "./bus-trt64bkt.js";
20
20
  import {
21
21
  Error4
22
- } from "./file-bge4fr1z.js";
22
+ } from "./bus-byaheska.js";
23
23
  import {
24
- Service32,
25
- node36
26
- } from "./file-94sf61n7.js";
24
+ Service33,
25
+ node38
26
+ } from "./bus-4xdz4snq.js";
27
27
  import {
28
- make13
29
- } from "./file-e82z9tr0.js";
28
+ make15
29
+ } from "./bus-hjt4xg1x.js";
30
30
  import {
31
31
  toLLMMessages2
32
- } from "./file-3jp54z3r.js";
32
+ } from "./bus-kjcr15p7.js";
33
33
  import {
34
34
  __export
35
- } from "./file-9rqn6x4v.js";
35
+ } from "./bus-9rqn6x4v.js";
36
36
 
37
37
  // src/session/model-request.ts
38
38
  var exports_model_request = {};
39
39
  __export(exports_model_request, {
40
- Service: () => Service31,
40
+ Service: () => Service32,
41
41
  SessionModelRequest: () => exports_model_request,
42
42
  baseTranscript: () => baseTranscript2,
43
43
  boundImages: () => boundImages2,
44
44
  layer: () => layer13,
45
- node: () => node35,
45
+ node: () => node37,
46
46
  unsupportedParts: () => unsupportedParts2
47
47
  });
48
48
  import { HttpOptions, LanguageModel, LLM, LLMRequest, Message, SystemPart } from "@opencode/ai";
@@ -62,7 +62,7 @@ var baseTranscript2 = (input) => {
62
62
  return {
63
63
  providerMetadataKey,
64
64
  system: [
65
- input.agent.system ? input.agent.system : make13(input.tools.definitions.map((tool) => tool.name)),
65
+ input.agent.system ? input.agent.system : make15(input.tools.definitions.map((tool) => tool.name)),
66
66
  input.initial
67
67
  ].filter((part) => part.length > 0).map(SystemPart.make),
68
68
  messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
@@ -189,11 +189,11 @@ var httpMiddleware = (hooks, scope) => (request, handler) => Effect.gen(function
189
189
  return HttpClientResponse.fromWeb(sent, after.response);
190
190
  }).pipe(Effect.mapError((cause) => cause instanceof Error ? cause : new Error(String(cause))));
191
191
 
192
- class Service31 extends Context.Service()("@opencode/SessionModelRequest") {
192
+ class Service32 extends Context.Service()("@opencode/SessionModelRequest") {
193
193
  }
194
- var layer13 = Layer.effect(Service31, Effect.gen(function* () {
195
- const hooks = yield* Service68;
196
- const transport = yield* Service32;
194
+ var layer13 = Layer.effect(Service32, Effect.gen(function* () {
195
+ const hooks = yield* Service75;
196
+ const transport = yield* Service33;
197
197
  const app = yield* Metadata2;
198
198
  const prepare = Effect.fn("SessionModelRequest.prepare")(function* (input) {
199
199
  const session = input.scope.session;
@@ -261,12 +261,12 @@ var layer13 = Layer.effect(Service31, Effect.gen(function* () {
261
261
  executeTool
262
262
  };
263
263
  });
264
- return Service31.of({ prepare });
264
+ return Service32.of({ prepare });
265
265
  }));
266
- var node35 = makeLocationNode({
267
- service: Service31,
266
+ var node37 = makeLocationNode({
267
+ service: Service32,
268
268
  layer: layer13,
269
- deps: [node73, node36, node55]
269
+ deps: [node80, node38, node52]
270
270
  });
271
271
 
272
- export { baseTranscript2, unsupportedParts2, boundImages2, Service31, layer13, node35, exports_model_request };
272
+ export { baseTranscript2, unsupportedParts2, boundImages2, Service32, layer13, node37, exports_model_request };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  ps2
3
- } from "./file-mq2071pb.js";
3
+ } from "./bus-gw1k03mf.js";
4
4
  import {
5
5
  lazy2
6
- } from "./file-88xbtdfr.js";
6
+ } from "./bus-88xbtdfr.js";
7
7
  import {
8
8
  match2
9
- } from "./file-y1fvbwt7.js";
9
+ } from "./bus-y1fvbwt7.js";
10
10
  import {
11
11
  __export
12
- } from "./file-9rqn6x4v.js";
12
+ } from "./bus-9rqn6x4v.js";
13
13
 
14
14
  // src/shell/parse.ts
15
15
  var exports_parse = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-9rqn6x4v.js";
3
+ } from "./bus-9rqn6x4v.js";
4
4
 
5
5
  // src/instructions/index.ts
6
6
  var exports_instructions6 = {};
@@ -1,13 +1,13 @@
1
1
  import {
2
- ID15,
2
+ ID14,
3
3
  Family2
4
- } from "./file-nx4935gj.js";
4
+ } from "./bus-80e0yyk8.js";
5
5
  import {
6
- Service69
7
- } from "./file-1xb0henf.js";
6
+ Service67
7
+ } from "./bus-zfr0a75a.js";
8
8
  import {
9
9
  foldSettings2
10
- } from "./file-8ncz7km3.js";
10
+ } from "./bus-j3ewftxc.js";
11
11
 
12
12
  // src/plugin/provider/lmstudio.ts
13
13
  import { define } from "@opencode/plugin/effect/plugin";
@@ -31,12 +31,12 @@ var RemoteModel = Schema.Struct({
31
31
  var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
32
32
  var discovery = new Map;
33
33
  var discoveryLock = Semaphore.makeUnsafe(1);
34
- function make6(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
34
+ function make5(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
35
35
  return define({
36
36
  id: "opencode.provider.lmstudio",
37
37
  effect: Effect.fn(function* (ctx) {
38
38
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
39
- const config = yield* Service69;
39
+ const config = yield* Service67;
40
40
  const source = { current: configured(yield* config.entries(), origin) };
41
41
  const loaded = { models: [], hash: "[]" };
42
42
  yield* ctx.integration.transform((integrations) => {
@@ -63,7 +63,7 @@ function make6(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
63
63
  });
64
64
  for (const item of loaded.models) {
65
65
  catalog.model.update(providerID, item.key, (model) => {
66
- model.modelID = ID15.make(item.key);
66
+ model.modelID = ID14.make(item.key);
67
67
  model.name = item.display_name || item.key;
68
68
  model.family = item.architecture ? Family2.make(item.architecture) : undefined;
69
69
  model.capabilities = {
@@ -125,7 +125,7 @@ function make6(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
125
125
  })
126
126
  });
127
127
  }
128
- var LMStudioPlugin2 = make6();
128
+ var LMStudioPlugin2 = make5();
129
129
  function configured(entries, origin) {
130
130
  const settings = foldSettings2(entries, providerID, undefined);
131
131
  const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
@@ -142,4 +142,4 @@ function configured(entries, origin) {
142
142
  return { baseURL, apiKey, endpoint: url.toString() };
143
143
  }
144
144
 
145
- export { make6, LMStudioPlugin2 };
145
+ export { make5, LMStudioPlugin2 };
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./file-hw2gt29t.js";
2
+ Service78,
3
+ node83
4
+ } from "./bus-yywfy67y.js";
5
5
  import {
6
6
  create3
7
- } from "./file-kg06axw8.js";
7
+ } from "./bus-kg06axw8.js";
8
8
  import {
9
9
  evaluate2
10
- } from "./file-1q2nd9f6.js";
10
+ } from "./bus-7wh9hy1a.js";
11
11
  import {
12
12
  __export
13
- } from "./file-9rqn6x4v.js";
13
+ } from "./bus-9rqn6x4v.js";
14
14
 
15
15
  // src/skill.ts
16
16
  var exports_skill5 = {};
17
17
  __export(exports_skill5, {
18
18
  DirectorySource: () => DirectorySource2,
19
19
  EmbeddedSource: () => EmbeddedSource2,
20
- Event: () => Event5,
20
+ Event: () => Event7,
21
21
  ID: () => ID4,
22
- Info: () => Info4,
22
+ Info: () => Info6,
23
23
  Name: () => Name2,
24
- Service: () => Service34,
24
+ Service: () => Service38,
25
25
  Skill: () => exports_skill5,
26
26
  Source: () => Source3,
27
27
  UrlSource: () => UrlSource2,
28
28
  available: () => available2,
29
- node: () => node38,
29
+ node: () => node42,
30
30
  prepare: () => prepare3,
31
31
  toModelOutput: () => toModelOutput3
32
32
  });
@@ -34,12 +34,12 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
34
34
  import path from "path";
35
35
  import { Context, Effect, Layer } from "effect";
36
36
  import { Skill } from "@opencode/schema/skill";
37
- import { Event as Event5 } from "@opencode/schema/skill";
37
+ import { Event as Event7 } from "@opencode/schema/skill";
38
38
  var DirectorySource2 = Skill.DirectorySource;
39
39
  var UrlSource2 = Skill.UrlSource;
40
40
  var EmbeddedSource2 = Skill.EmbeddedSource;
41
41
  var Source3 = Skill.Source;
42
- var Info4 = Skill.Info;
42
+ var Info6 = Skill.Info;
43
43
  var ID4 = Skill.ID;
44
44
  var Name2 = Skill.Name;
45
45
  var available2 = (skills, agent) => skills.filter((skill) => evaluate2("skill", skill.id, agent.permissions).effect !== "deny");
@@ -71,10 +71,10 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
71
71
  };
72
72
  });
73
73
 
74
- class Service34 extends Context.Service()("@opencode/Skill") {
74
+ class Service38 extends Context.Service()("@opencode/Skill") {
75
75
  }
76
- var layer = Layer.effect(Service34, Effect.gen(function* () {
77
- const bus = yield* Service79;
76
+ var layer = Layer.effect(Service38, Effect.gen(function* () {
77
+ const bus = yield* Service78;
78
78
  const state = create3({
79
79
  name: "skill",
80
80
  initial: () => ({ skills: new Map }),
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
97
97
  }),
98
98
  notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
99
99
  });
100
- return Service34.of({
100
+ return Service38.of({
101
101
  transform: state.transform,
102
102
  reload: state.reload,
103
103
  get: Effect.fn("Skill.get")(function* (id) {
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
108
108
  })
109
109
  });
110
110
  }));
111
- var node38 = makeLocationNode({
112
- service: Service34,
111
+ var node42 = makeLocationNode({
112
+ service: Service38,
113
113
  layer,
114
- deps: [node84]
114
+ deps: [node83]
115
115
  });
116
116
 
117
- export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info4, ID4, Name2, available2, toModelOutput3, prepare3, Service34, node38, exports_skill5, Event5 };
117
+ export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info6, ID4, Name2, available2, toModelOutput3, prepare3, Service38, node42, exports_skill5, Event7 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  InvalidError2
3
- } from "./file-29x78va6.js";
3
+ } from "./bus-29x78va6.js";
4
4
  import {
5
5
  __export
6
- } from "./file-9rqn6x4v.js";
6
+ } from "./bus-9rqn6x4v.js";
7
7
 
8
8
  // src/config/variable.ts
9
9
  var exports_variable = {};
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  ID6,
3
- Service49
4
- } from "./file-8gbf9msb.js";
3
+ Service55
4
+ } from "./bus-1st7a56d.js";
5
5
  import {
6
6
  isAISDK2,
7
7
  packageName2
8
- } from "./file-84tssp1s.js";
8
+ } from "./bus-2d6j2h4j.js";
9
9
 
10
10
  // src/plugin/provider/llmgateway.ts
11
11
  import { Effect } from "effect";
@@ -13,7 +13,7 @@ import { define } from "@opencode/plugin/effect/plugin";
13
13
  var LLMGatewayPlugin2 = define({
14
14
  id: "opencode.provider.llmgateway",
15
15
  effect: Effect.fn(function* (ctx) {
16
- const integrations = yield* Service49;
16
+ const integrations = yield* Service55;
17
17
  const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
18
18
  yield* ctx.catalog.transform((evt) => {
19
19
  for (const item of evt.provider.list()) {
@@ -2,20 +2,20 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./file-922hggd3.js";
5
+ } from "./bus-922hggd3.js";
6
6
  import {
7
- Service66,
8
- node70
9
- } from "./file-cp5f26bt.js";
7
+ Service70,
8
+ node74
9
+ } from "./bus-x122gxrn.js";
10
10
  import {
11
11
  Content2
12
- } from "./file-w85wdfaw.js";
12
+ } from "./bus-mm42hkcz.js";
13
13
  import {
14
14
  detect2
15
- } from "./file-3smtnn6g.js";
15
+ } from "./bus-3smtnn6g.js";
16
16
  import {
17
17
  __export
18
- } from "./file-9rqn6x4v.js";
18
+ } from "./bus-9rqn6x4v.js";
19
19
 
20
20
  // src/tool/read-filesystem.ts
21
21
  var exports_read_filesystem = {};
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
33
33
  PageInput: () => PageInput2,
34
34
  PathKindError: () => PathKindError2,
35
35
  ReadToolFileSystem: () => exports_read_filesystem,
36
- Service: () => Service5,
36
+ Service: () => Service12,
37
37
  TextPage: () => TextPage2,
38
- node: () => node7,
38
+ node: () => node15,
39
39
  read: () => read2
40
40
  });
41
41
  import path from "path";
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
114
114
  }) {
115
115
  }
116
116
 
117
- class Service5 extends Context.Service()("@opencode/ReadToolFileSystem") {
117
+ class Service12 extends Context.Service()("@opencode/ReadToolFileSystem") {
118
118
  }
119
119
  var mimeType = (value) => lookup(value) || "application/octet-stream";
120
120
  var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
@@ -326,13 +326,13 @@ var nthNewline = (bytes, count) => {
326
326
  return index + 1;
327
327
  }
328
328
  };
329
- var layer = Layer.effect(Service5, Effect.gen(function* () {
330
- const environment = yield* Service66;
331
- return Service5.of({
329
+ var layer = Layer.effect(Service12, Effect.gen(function* () {
330
+ const environment = yield* Service70;
331
+ return Service12.of({
332
332
  list: environment.files.list,
333
333
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
334
334
  });
335
335
  }));
336
- var node7 = makeLocationNode({ service: Service5, layer, deps: [node70] });
336
+ var node15 = makeLocationNode({ service: Service12, layer, deps: [node74] });
337
337
 
338
- export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service5, read2, node7, exports_read_filesystem };
338
+ export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service12, read2, node15, exports_read_filesystem };
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2
4
- } from "./file-84tssp1s.js";
4
+ } from "./bus-2d6j2h4j.js";
5
5
  import {
6
6
  latest2,
7
- Service69
8
- } from "./file-1xb0henf.js";
7
+ Service67
8
+ } from "./bus-zfr0a75a.js";
9
9
  import {
10
10
  observe2
11
- } from "./file-qsdy395h.js";
11
+ } from "./bus-qsdy395h.js";
12
12
  import {
13
13
  __export
14
- } from "./file-9rqn6x4v.js";
14
+ } from "./bus-9rqn6x4v.js";
15
15
 
16
16
  // src/config/plugin/provider.ts
17
17
  var exports_provider = {};
18
18
  __export(exports_provider, {
19
19
  ConfigProviderPlugin: () => exports_provider,
20
- Plugin: () => Plugin36
20
+ Plugin: () => Plugin12
21
21
  });
22
22
  import { define } from "@opencode/plugin/effect/plugin";
23
23
  import { Money } from "@opencode/schema/money";
24
24
  import { Effect } from "effect";
25
- var Plugin36 = define({
25
+ var Plugin12 = define({
26
26
  id: "opencode.config.provider",
27
27
  effect: Effect.fn(function* (ctx) {
28
- const config = yield* Service69;
28
+ const config = yield* Service67;
29
29
  const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.catalog.reload())));
30
30
  yield* ctx.integration.transform((integrations) => {
31
31
  for (const [id, provider] of configuredProviders(loaded.entries)) {
@@ -155,4 +155,4 @@ function configuredProviders(entries) {
155
155
  return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
156
156
  }
157
157
 
158
- export { Plugin36, exports_provider };
158
+ export { Plugin12, exports_provider };
@@ -1,8 +1,8 @@
1
1
  import {
2
- ID16,
2
+ ID15,
3
3
  isAISDK2,
4
4
  packageName2
5
- } from "./file-84tssp1s.js";
5
+ } from "./bus-2d6j2h4j.js";
6
6
 
7
7
  // src/plugin/provider/google-vertex.ts
8
8
  import { Effect } from "effect";
@@ -39,7 +39,7 @@ var GoogleVertexPlugin2 = define({
39
39
  for (const item of evt.provider.list()) {
40
40
  if (!isAISDK2(item.provider.package))
41
41
  continue;
42
- if (packageName2(item.provider.package) !== "@ai-sdk/google-vertex" && !(item.provider.id === ID16.googleVertex && packageName2(item.provider.package)?.includes("@ai-sdk/openai-compatible")))
42
+ if (packageName2(item.provider.package) !== "@ai-sdk/google-vertex" && !(item.provider.id === ID15.googleVertex && packageName2(item.provider.package)?.includes("@ai-sdk/openai-compatible")))
43
43
  continue;
44
44
  const project = resolveProject(item.provider.settings ?? {});
45
45
  const location = String(resolveLocation(item.provider.settings ?? {}));
@@ -56,7 +56,7 @@ var GoogleVertexPlugin2 = define({
56
56
  }
57
57
  });
58
58
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
59
- if (evt.model.providerID === ID16.googleVertex && evt.package.includes("@ai-sdk/openai-compatible")) {
59
+ if (evt.model.providerID === ID15.googleVertex && evt.package.includes("@ai-sdk/openai-compatible")) {
60
60
  evt.options.fetch = authFetch(evt.options.fetch);
61
61
  return;
62
62
  }
@@ -87,7 +87,7 @@ var GoogleVertexPlugin2 = define({
87
87
  });
88
88
  }));
89
89
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
90
- if (evt.model.providerID !== ID16.googleVertex)
90
+ if (evt.model.providerID !== ID15.googleVertex)
91
91
  return;
92
92
  evt.language = evt.sdk.languageModel(String(evt.model.modelID ?? evt.model.id).trim());
93
93
  }));
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./file-922hggd3.js";
3
+ } from "./bus-922hggd3.js";
4
4
  import {
5
5
  Service76
6
- } from "./file-enk99f8n.js";
6
+ } from "./bus-hj7jnvhr.js";
7
7
  import {
8
- Service69
9
- } from "./file-1xb0henf.js";
8
+ Service67
9
+ } from "./bus-zfr0a75a.js";
10
10
  import {
11
11
  LocalSource2,
12
12
  GitSource2
13
- } from "./file-s52qk724.js";
13
+ } from "./bus-d8ksp3m6.js";
14
14
  import {
15
15
  observe2
16
- } from "./file-qsdy395h.js";
16
+ } from "./bus-qsdy395h.js";
17
17
  import {
18
18
  __export
19
- } from "./file-9rqn6x4v.js";
19
+ } from "./bus-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/reference.ts
22
22
  var exports_reference = {};
23
23
  __export(exports_reference, {
24
24
  ConfigReferencePlugin: () => exports_reference,
25
- Plugin: () => Plugin35
25
+ Plugin: () => Plugin10
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import path from "path";
29
29
  import { Effect } from "effect";
30
30
  import { Global } from "@opencode/util/global";
31
- var Plugin35 = define({
31
+ var Plugin10 = define({
32
32
  id: "opencode.config.reference",
33
33
  effect: Effect.fn(function* (ctx) {
34
- const config = yield* Service69;
34
+ const config = yield* Service67;
35
35
  const location = yield* Service76;
36
36
  const global = yield* Global.Service;
37
37
  const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
72
72
  return path.isAbsolute(value) ? value : path.resolve(directory, value);
73
73
  }
74
74
 
75
- export { Plugin35, exports_reference };
75
+ export { Plugin10, exports_reference };
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./file-2a5m3afh.js";
3
+ } from "./bus-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./file-922hggd3.js";
6
+ } from "./bus-922hggd3.js";
7
7
  import {
8
8
  Service76
9
- } from "./file-enk99f8n.js";
9
+ } from "./bus-hj7jnvhr.js";
10
10
  import {
11
- Service66
12
- } from "./file-cp5f26bt.js";
11
+ Service70
12
+ } from "./bus-x122gxrn.js";
13
13
  import {
14
- Service16
15
- } from "./file-2j4ksk9q.js";
14
+ Service24
15
+ } from "./bus-z7a0szv5.js";
16
16
  import {
17
17
  DEFAULT_SEARCH_LIMIT2,
18
18
  DEFAULT_SEARCH_TIMEOUT_MS2,
19
19
  GlobInput2,
20
20
  Entry2
21
- } from "./file-w85wdfaw.js";
21
+ } from "./bus-mm42hkcz.js";
22
22
  import {
23
- Service55
24
- } from "./file-1q2nd9f6.js";
23
+ Service59
24
+ } from "./bus-7wh9hy1a.js";
25
25
  import {
26
- Service54
27
- } from "./file-7be1f342.js";
26
+ Service18
27
+ } from "./bus-wc7hea4z.js";
28
28
  import {
29
29
  __export
30
- } from "./file-9rqn6x4v.js";
30
+ } from "./bus-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/glob.ts
33
33
  var exports_glob = {};
34
34
  __export(exports_glob, {
35
35
  GlobTool: () => exports_glob,
36
- Input: () => Input3,
37
- Output: () => Output3,
38
- Plugin: () => Plugin16,
39
- name: () => name3,
40
- toModelContent: () => toModelContent2
36
+ Input: () => Input10,
37
+ Output: () => Output7,
38
+ Plugin: () => Plugin41,
39
+ name: () => name10,
40
+ toModelContent: () => toModelContent6
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import path from "path";
45
- var name3 = "glob";
46
- var Input3 = Schema.Struct({
45
+ var name10 = "glob";
46
+ var Input10 = Schema.Struct({
47
47
  pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
48
48
  path: Schema.optionalKey(RelativePath2).annotate({
49
49
  description: "Directory to search. Defaults to the current working directory."
@@ -55,35 +55,35 @@ var Input3 = Schema.Struct({
55
55
  description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
56
56
  })
57
57
  });
58
- var Output3 = Schema.Array(Entry2);
59
- var toModelContent2 = (entries, truncated = false) => {
58
+ var Output7 = Schema.Array(Entry2);
59
+ var toModelContent6 = (entries, truncated = false) => {
60
60
  const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
61
61
  if (truncated)
62
62
  lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
63
63
  return lines.join(`
64
64
  `);
65
65
  };
66
- var Plugin16 = {
66
+ var Plugin41 = {
67
67
  id: "opencode.tool.glob",
68
68
  effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
69
- const environment = yield* Service66;
70
- const ripgrep = yield* Service16;
69
+ const environment = yield* Service70;
70
+ const ripgrep = yield* Service24;
71
71
  const location = yield* Service76;
72
- const access = yield* Service54;
73
- const permission = yield* Service55;
72
+ const access = yield* Service18;
73
+ const permission = yield* Service59;
74
74
  yield* ctx.tool.transform((editor) => editor.add({
75
- name: name3,
75
+ name: name10,
76
76
  options: { codemode: false },
77
77
  description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
78
- input: Input3,
79
- output: Output3,
78
+ input: Input10,
79
+ output: Output7,
80
80
  execute: (input, context) => Effect.gen(function* () {
81
81
  const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
82
82
  const source = { type: "tool", messageID: context.messageID, id: context.id };
83
83
  const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
84
84
  yield* access.authorizeExternal([target], context);
85
85
  yield* permission.assert({
86
- action: name3,
86
+ action: name10,
87
87
  resources: [input.pattern],
88
88
  save: ["*"],
89
89
  metadata: {
@@ -118,11 +118,11 @@ var Plugin16 = {
118
118
  return { entries: entries.slice(0, limit), truncated: entries.length > limit };
119
119
  }).pipe(Effect.map((result) => ({
120
120
  output: result.entries,
121
- content: toModelContent2(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
121
+ content: toModelContent6(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
122
122
  metadata: { count: result.entries.length, truncated: result.truncated }
123
123
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
124
124
  })).pipe(Effect.orDie);
125
125
  })
126
126
  };
127
127
 
128
- export { name3, Input3, Output3, toModelContent2, Plugin16, exports_glob };
128
+ export { name10, Input10, Output7, toModelContent6, Plugin41, exports_glob };