@opencode/core 0.0.0-dev-19511 → 0.0.0-dev-19514

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 (782) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -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 +72 -72
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{project-49z946gs.js → file-048xp89v.js} +17 -17
  9. package/dist/chunks/{project-4e10zhsk.js → file-07ch4k8a.js} +31 -31
  10. package/dist/chunks/{project-mspfsrrg.js → file-0a423ajn.js} +43 -43
  11. package/dist/chunks/{project-fys1mhb0.js → file-0bcfzsmy.js} +7 -7
  12. package/dist/chunks/{project-5cbh0j70.js → file-0dzcdmmm.js} +9 -9
  13. package/dist/chunks/{project-athype10.js → file-0gdmqesm.js} +6 -6
  14. package/dist/chunks/{project-s8fqe7jm.js → file-0gsjhwbw.js} +23 -23
  15. package/dist/chunks/{project-8w2hbp94.js → file-0kenkm4y.js} +3 -3
  16. package/dist/chunks/{project-0paq2nw3.js → file-0paq2nw3.js} +1 -1
  17. package/dist/chunks/{project-0q0f95c6.js → file-0q0f95c6.js} +1 -1
  18. package/dist/chunks/{project-hnr5yq9h.js → file-0r7yqxbf.js} +5 -5
  19. package/dist/chunks/{project-xttm4980.js → file-0rymwcrg.js} +25 -25
  20. package/dist/chunks/{project-5qb16e34.js → file-1288mpm8.js} +56 -56
  21. package/dist/chunks/{project-1dazxqgg.js → file-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{project-fhvnb7q8.js → file-1dgfjwgv.js} +24 -24
  23. package/dist/chunks/{project-fmsmdavp.js → file-1j388zrc.js} +22 -22
  24. package/dist/chunks/{project-t0d6gkvd.js → file-1vtz46z8.js} +8 -8
  25. package/dist/chunks/file-1x11rq2a.js +18 -0
  26. package/dist/chunks/{project-21r38tys.js → file-21r38tys.js} +1 -1
  27. package/dist/chunks/{project-m5gdw33a.js → file-21tk25ps.js} +1 -1
  28. package/dist/chunks/{project-eraanh1f.js → file-23mbrqv5.js} +6 -6
  29. package/dist/chunks/{project-2402vzrj.js → file-2402vzrj.js} +1 -1
  30. package/dist/chunks/{project-9bf6jj70.js → file-25nfakxt.js} +28 -28
  31. package/dist/chunks/{project-h1fxz2n8.js → file-26m15rn7.js} +29 -29
  32. package/dist/chunks/{project-2a5m3afh.js → file-2a5m3afh.js} +1 -1
  33. package/dist/chunks/{project-03byqthe.js → file-2scwh29m.js} +24 -24
  34. package/dist/chunks/{project-g4e9nbcn.js → file-30f1x3mc.js} +13 -13
  35. package/dist/chunks/{project-5v6xbca9.js → file-365b2wx5.js} +156 -156
  36. package/dist/chunks/{project-9qfkze9a.js → file-37yfqsb0.js} +14 -14
  37. package/dist/chunks/{project-jmz50v4a.js → file-3ec5gh45.js} +16 -16
  38. package/dist/chunks/{project-j84bzan4.js → file-3g5458vk.js} +40 -40
  39. package/dist/chunks/{project-3hepkmqq.js → file-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{project-cgjzvrd1.js → file-3jrr9nrh.js} +4 -4
  41. package/dist/chunks/{project-czc1p6ep.js → file-3kwdbmfv.js} +24 -24
  42. package/dist/chunks/{project-3smtnn6g.js → file-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{project-3tvqynh2.js → file-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{project-2f0bjgcj.js → file-3w0fmcng.js} +5 -5
  45. package/dist/chunks/{project-1w0xs9z0.js → file-3yqybkx7.js} +9 -9
  46. package/dist/chunks/{project-8dnxqjce.js → file-40bxqg89.js} +10 -10
  47. package/dist/chunks/{project-17f7730q.js → file-40p7j5ff.js} +20 -20
  48. package/dist/chunks/{project-tz0jyenk.js → file-4p6bmny6.js} +10 -10
  49. package/dist/chunks/{project-xse6m6qk.js → file-4we3c2am.js} +35 -35
  50. package/dist/chunks/{project-4y66k410.js → file-4y66k410.js} +2 -2
  51. package/dist/chunks/{project-kcyhewq8.js → file-52hm8910.js} +6 -6
  52. package/dist/chunks/{project-mfqp6xfm.js → file-56gdpj1q.js} +6 -6
  53. package/dist/chunks/{project-5daktx2q.js → file-5daktx2q.js} +1 -1
  54. package/dist/chunks/{project-vnb6p14m.js → file-5n5g9tme.js} +13 -13
  55. package/dist/chunks/{project-1tjc281v.js → file-5ppegk2h.js} +5 -5
  56. package/dist/chunks/{project-5t3nmthw.js → file-5t3nmthw.js} +2 -2
  57. package/dist/chunks/{project-wa8w638y.js → file-5vpje3g0.js} +15 -15
  58. package/dist/chunks/{project-669tq793.js → file-669tq793.js} +1 -1
  59. package/dist/chunks/{project-gfqzzqy5.js → file-6d9mz4vp.js} +9 -9
  60. package/dist/chunks/{project-9n42172b.js → file-6h09v0nk.js} +28 -28
  61. package/dist/chunks/{project-2xnqg3kz.js → file-6h539xbt.js} +10 -10
  62. package/dist/chunks/{project-6vc8p3va.js → file-6kb1ngvr.js} +1 -1
  63. package/dist/chunks/{project-6msgmcgs.js → file-6msgmcgs.js} +1 -1
  64. package/dist/chunks/{project-nvqrzj9g.js → file-715w4jb6.js} +9 -9
  65. package/dist/chunks/{project-1p3xnr7f.js → file-71eqg07f.js} +13 -13
  66. package/dist/chunks/{project-71q4at8m.js → file-71q4at8m.js} +1 -1
  67. package/dist/chunks/{project-ktxw75tm.js → file-779r4x49.js} +15 -15
  68. package/dist/chunks/{project-7bmhse3q.js → file-7bmhse3q.js} +1 -1
  69. package/dist/chunks/{project-qgn6gcr1.js → file-7dqw4kz8.js} +5 -5
  70. package/dist/chunks/{project-06brqfbk.js → file-7hkbksc5.js} +19 -19
  71. package/dist/chunks/{project-k8p4hbnm.js → file-7n50n386.js} +7 -7
  72. package/dist/chunks/{project-tb99n96z.js → file-7rd885s9.js} +29 -29
  73. package/dist/chunks/{project-kkaqcpw4.js → file-7rxw70p2.js} +18 -18
  74. package/dist/chunks/{project-81swgkk7.js → file-81swgkk7.js} +2 -2
  75. package/dist/chunks/{project-ywkfy99j.js → file-84zt2byv.js} +9 -9
  76. package/dist/chunks/{project-pgr272tc.js → file-858qdcc3.js} +20 -20
  77. package/dist/chunks/file-86de9m55.js +22 -0
  78. package/dist/chunks/{project-3c1tgrea.js → file-8a2qdx2a.js} +6 -6
  79. package/dist/chunks/{project-8d7r5vzw.js → file-8d7r5vzw.js} +1 -1
  80. package/dist/chunks/{project-dez563yv.js → file-8g5hs4np.js} +42 -42
  81. package/dist/chunks/{project-8za6t4pe.js → file-8j5k38c8.js} +8 -8
  82. package/dist/chunks/{project-dj2t23y0.js → file-8p4f9s12.js} +2 -2
  83. package/dist/chunks/{project-0mqws7ma.js → file-8secz49e.js} +22 -22
  84. package/dist/chunks/{project-hdz1sw8x.js → file-903gnre9.js} +11 -11
  85. package/dist/chunks/{project-tk07mxne.js → file-915t83ht.js} +11 -11
  86. package/dist/chunks/{project-1nypc09g.js → file-92vqf0gg.js} +18 -18
  87. package/dist/chunks/{project-cpa9365v.js → file-96v5c2p5.js} +26 -26
  88. package/dist/chunks/{project-n5qsk9dt.js → file-9cfgjn1d.js} +12 -12
  89. package/dist/chunks/{project-zp5ax0qn.js → file-9khdf5s3.js} +8 -8
  90. package/dist/chunks/{project-gxg7s5ax.js → file-9z0v2yqn.js} +27 -27
  91. package/dist/chunks/{project-5c4hm403.js → file-a1bz86dw.js} +3 -3
  92. package/dist/chunks/{project-0mgvehma.js → file-a3rvyvck.js} +3 -3
  93. package/dist/chunks/{project-aaet6srn.js → file-aaet6srn.js} +2 -2
  94. package/dist/chunks/{project-1qg96azw.js → file-akrnn5pm.js} +8 -8
  95. package/dist/chunks/{project-gsbm691j.js → file-ar7nfc0b.js} +20 -20
  96. package/dist/chunks/{project-s6bhfz4z.js → file-aw9hkdyd.js} +21 -21
  97. package/dist/chunks/{project-t2fc4mz5.js → file-b27vhd2z.js} +4 -4
  98. package/dist/chunks/{project-b6gygkdw.js → file-b6gygkdw.js} +2 -2
  99. package/dist/chunks/{project-9z0604wv.js → file-b7kmpk6t.js} +45 -45
  100. package/dist/chunks/{project-0jrfp098.js → file-ba5k2znj.js} +7 -7
  101. package/dist/chunks/{project-4jct13es.js → file-bj61hnyg.js} +14 -14
  102. package/dist/chunks/{project-by3d5382.js → file-bm7vyjfb.js} +11 -11
  103. package/dist/chunks/{project-9bb2zzrg.js → file-br4mb8ra.js} +18 -18
  104. package/dist/chunks/{project-yh49gxee.js → file-bvr7grfh.js} +4 -4
  105. package/dist/chunks/{project-128jwkd9.js → file-c0n50874.js} +11 -11
  106. package/dist/chunks/{project-m0jqrx5p.js → file-cfpkc3c9.js} +2 -2
  107. package/dist/chunks/{project-2etzwqq0.js → file-cn02216x.js} +3 -3
  108. package/dist/chunks/{project-pncxwfjb.js → file-cyfhm506.js} +17 -17
  109. package/dist/chunks/{project-d0acstaf.js → file-d9s96shc.js} +43 -43
  110. package/dist/chunks/{project-xbmcec40.js → file-da2m7fje.js} +5 -5
  111. package/dist/chunks/{project-41v07cqx.js → file-dedq8wa1.js} +11 -11
  112. package/dist/chunks/{project-s36sm4ep.js → file-detsjsfs.js} +33 -33
  113. package/dist/chunks/{project-pmr4s4kc.js → file-dfe8djrf.js} +4 -4
  114. package/dist/chunks/{project-180kq3wy.js → file-dkkjpy3x.js} +11 -11
  115. package/dist/chunks/{project-dpkg50ah.js → file-dpkg50ah.js} +1 -1
  116. package/dist/chunks/{project-vyqn3nqs.js → file-dwvzh0g2.js} +6 -6
  117. package/dist/chunks/{project-z4h22pxa.js → file-e5y2w16d.js} +12 -12
  118. package/dist/chunks/{project-r33ff4dw.js → file-e6hd9jay.js} +6 -6
  119. package/dist/chunks/{project-1gsa2cck.js → file-edqnm9wa.js} +14 -14
  120. package/dist/chunks/{project-k18waxcd.js → file-ee39sspt.js} +33 -33
  121. package/dist/chunks/{project-v6paxmcr.js → file-eg10bheh.js} +32 -32
  122. package/dist/chunks/{project-rm2yqhr0.js → file-ekkfxm1b.js} +5 -4
  123. package/dist/chunks/{project-getxn4jm.js → file-embs9rr0.js} +22 -22
  124. package/dist/chunks/{project-k0c7x7cv.js → file-ep6qz3j5.js} +5 -5
  125. package/dist/chunks/{project-gf79vf69.js → file-epd1fg1b.js} +4 -4
  126. package/dist/chunks/{project-etq0c3wd.js → file-etq0c3wd.js} +1 -1
  127. package/dist/chunks/{project-xmqchchm.js → file-f49kx7ec.js} +18 -18
  128. package/dist/chunks/{project-m1t0sds5.js → file-f6x64a2f.js} +16 -16
  129. package/dist/chunks/{project-hdnk95c8.js → file-f828m53h.js} +2 -2
  130. package/dist/chunks/{project-3dv0dhzr.js → file-fbgw5egt.js} +83 -83
  131. package/dist/chunks/{project-x2q7kmg1.js → file-fdma6z5m.js} +8 -8
  132. package/dist/chunks/{project-mxz3erqp.js → file-fg1gh0c9.js} +37 -37
  133. package/dist/chunks/{project-6f2gh7ng.js → file-fh5t8s2q.js} +1 -1
  134. package/dist/chunks/{project-havt8zv8.js → file-fhqc3h92.js} +36 -36
  135. package/dist/chunks/{project-2bj8tynh.js → file-fjszsmnf.js} +4 -4
  136. package/dist/chunks/{project-vjazvx2w.js → file-fqtt6ran.js} +25 -25
  137. package/dist/chunks/{project-e6jkap1f.js → file-frwpyczr.js} +4 -4
  138. package/dist/chunks/{project-sgjjsjgk.js → file-fs5r8wpj.js} +25 -25
  139. package/dist/chunks/{project-fxbjtjnd.js → file-fxbjtjnd.js} +1 -1
  140. package/dist/chunks/{project-at6fsfad.js → file-fzthsjy4.js} +14 -14
  141. package/dist/chunks/{project-rk0v45j3.js → file-g02cz0vt.js} +13 -13
  142. package/dist/chunks/{project-nk6256zg.js → file-g67wee21.js} +4 -4
  143. package/dist/chunks/{project-p8095ktx.js → file-g6fqja2m.js} +13 -13
  144. package/dist/chunks/{project-04hzg152.js → file-g7hhbneb.js} +15 -15
  145. package/dist/chunks/{project-dmw8ezrh.js → file-g83qpwmz.js} +3 -3
  146. package/dist/chunks/{project-v9kqwjfa.js → file-g9t7qa9y.js} +29 -29
  147. package/dist/chunks/{project-gd4qta3r.js → file-gd4qta3r.js} +1 -1
  148. package/dist/chunks/{project-3fc6dm20.js → file-gdvy8fx6.js} +4 -4
  149. package/dist/chunks/{project-zaah75v1.js → file-gmmhsxfs.js} +21 -21
  150. package/dist/chunks/{project-bvm1hg5c.js → file-gmprtwsb.js} +1 -1
  151. package/dist/chunks/{project-th5km1p3.js → file-gv6a8nnw.js} +5 -5
  152. package/dist/chunks/{project-qvf77yps.js → file-gy7w27zy.js} +11 -11
  153. package/dist/chunks/{project-a7h8je70.js → file-gyaee7jp.js} +17 -17
  154. package/dist/chunks/{project-h03wrkyp.js → file-h03wrkyp.js} +2 -2
  155. package/dist/chunks/{project-3ymzj6fs.js → file-h2fpsr6d.js} +8 -8
  156. package/dist/chunks/{project-1rhhxb2c.js → file-h3fx38h7.js} +26 -26
  157. package/dist/chunks/{project-r034a52s.js → file-h6f2rjkg.js} +9 -9
  158. package/dist/chunks/{project-2qmj82d1.js → file-h6t3ct0z.js} +44 -44
  159. package/dist/chunks/{project-h6vf3j39.js → file-h6vf3j39.js} +1 -1
  160. package/dist/chunks/{project-rrzxexy0.js → file-h9n27kr1.js} +52 -52
  161. package/dist/chunks/{project-hmz9dp0k.js → file-hh50gg05.js} +5 -5
  162. package/dist/chunks/{project-ag81pwzz.js → file-hhzb4w78.js} +12 -12
  163. package/dist/chunks/{project-p44d8wdy.js → file-hkfg6fzm.js} +5 -5
  164. package/dist/chunks/{project-485wz5ap.js → file-hn612hq8.js} +70 -70
  165. package/dist/chunks/{project-0gcj0wxd.js → file-hv3f10xw.js} +10 -10
  166. package/dist/chunks/{project-0kgvfrm4.js → file-hy7ma9dc.js} +20 -20
  167. package/dist/chunks/{project-1vtpe7zb.js → file-hy9khhh5.js} +4 -4
  168. package/dist/chunks/{project-j028xdjb.js → file-j028xdjb.js} +1 -1
  169. package/dist/chunks/{project-7h2z3prw.js → file-j2xqzd67.js} +92 -43
  170. package/dist/chunks/{project-j56e64zr.js → file-j56e64zr.js} +1 -1
  171. package/dist/chunks/{project-rmtkxqwx.js → file-jfahe5dm.js} +7 -7
  172. package/dist/chunks/{project-2vs2nh1n.js → file-jj3qxa52.js} +4 -4
  173. package/dist/chunks/{project-40zzw5vx.js → file-jm6kzkv1.js} +5 -5
  174. package/dist/chunks/{project-3yme9dtt.js → file-jrpprbm6.js} +14 -14
  175. package/dist/chunks/{project-mm16nfvn.js → file-jsa2395n.js} +28 -28
  176. package/dist/chunks/{project-9502mm2y.js → file-jwadv04f.js} +34 -34
  177. package/dist/chunks/{project-8vyszhxq.js → file-jxyz68eg.js} +7 -7
  178. package/dist/chunks/{project-k79tzb9n.js → file-jzzy94zk.js} +9 -9
  179. package/dist/chunks/{project-kg06axw8.js → file-kg06axw8.js} +1 -1
  180. package/dist/chunks/{project-3hzqgt9w.js → file-kmv05cyx.js} +30 -30
  181. package/dist/chunks/{project-tfwap27p.js → file-kt5w8vxh.js} +10 -10
  182. package/dist/chunks/{project-82kwe8pc.js → file-ky6wt9x3.js} +5 -5
  183. package/dist/chunks/{project-z40tgwd8.js → file-kym9c2x0.js} +9 -9
  184. package/dist/chunks/{project-d643ey3h.js → file-m3krncyp.js} +13 -13
  185. package/dist/chunks/{project-by1fd37v.js → file-m6cttsv8.js} +16 -16
  186. package/dist/chunks/{project-7xjy9a2e.js → file-m6qbstta.js} +11 -11
  187. package/dist/chunks/{project-m9w0rfyh.js → file-m9w0rfyh.js} +1 -1
  188. package/dist/chunks/{project-4p1ga2js.js → file-ma9yb35x.js} +6 -6
  189. package/dist/chunks/{project-gnh4rmrp.js → file-mbpbw8jh.js} +8 -8
  190. package/dist/chunks/{project-rhxfnfwf.js → file-mj63ee6j.js} +23 -23
  191. package/dist/chunks/{project-yyb6d1pw.js → file-mpvjdhq3.js} +15 -15
  192. package/dist/chunks/{project-0jzgk3xk.js → file-msprhwgy.js} +15 -15
  193. package/dist/chunks/{project-rsdf2nvv.js → file-msq0jde0.js} +4 -4
  194. package/dist/chunks/{project-xw98cjw1.js → file-mtjmqs8n.js} +2 -2
  195. package/dist/chunks/{project-gzhexwst.js → file-mv3cm7pe.js} +16 -16
  196. package/dist/chunks/{project-fqj9nv8j.js → file-mvdg3mfe.js} +8 -8
  197. package/dist/chunks/{project-cdkak6c5.js → file-n01rjve2.js} +19 -19
  198. package/dist/chunks/{project-6597xj7n.js → file-np6jr823.js} +7 -7
  199. package/dist/chunks/{project-8e2hps12.js → file-nrafk414.js} +32 -32
  200. package/dist/chunks/{project-rtdy2j7k.js → file-nv4467mr.js} +11 -11
  201. package/dist/chunks/{project-7nypd6v8.js → file-nw0z258d.js} +18 -18
  202. package/dist/chunks/{project-f2n192rq.js → file-nxer0yad.js} +4 -4
  203. package/dist/chunks/{project-wx9wy1qm.js → file-p33ejz0k.js} +1 -1
  204. package/dist/chunks/{project-nhy5jxhy.js → file-p6yzb5ay.js} +4 -4
  205. package/dist/chunks/{project-yfetrmg9.js → file-pdy8tdap.js} +290 -290
  206. package/dist/chunks/{project-yptvf0vj.js → file-pef5zs3s.js} +18 -18
  207. package/dist/chunks/{project-c5c0bz0t.js → file-pfq1ksym.js} +5 -5
  208. package/dist/chunks/{project-pjvnvgmy.js → file-pjvnvgmy.js} +1 -1
  209. package/dist/chunks/{project-pknna89w.js → file-pknna89w.js} +1 -1
  210. package/dist/chunks/{project-fjhcf7g9.js → file-pv06hj7d.js} +2 -2
  211. package/dist/chunks/{project-3592630s.js → file-pw6rbwyw.js} +6 -6
  212. package/dist/chunks/{project-qqjjzdpg.js → file-pxs9g58w.js} +47 -47
  213. package/dist/chunks/{project-3yjg5mh2.js → file-pxt4kznk.js} +3 -3
  214. package/dist/chunks/{project-g30z4c76.js → file-q19rd6y7.js} +9 -9
  215. package/dist/chunks/{project-9wsm2w7d.js → file-q6vwf3nd.js} +6 -6
  216. package/dist/chunks/{project-hs9cbhjh.js → file-qeden6pr.js} +26 -26
  217. package/dist/chunks/{project-magykp64.js → file-qj8eh1ht.js} +4 -4
  218. package/dist/chunks/{project-zh3kw9jz.js → file-qjrh95de.js} +4 -4
  219. package/dist/chunks/{project-vytej9g6.js → file-qmj11y7g.js} +18 -18
  220. package/dist/chunks/{project-crc3g98t.js → file-qr42g2ex.js} +12 -12
  221. package/dist/chunks/{project-qsdy395h.js → file-qsdy395h.js} +1 -1
  222. package/dist/chunks/{project-936n54ck.js → file-qtptnsh1.js} +1 -1
  223. package/dist/chunks/file-qtvmxc8s.js +4 -0
  224. package/dist/chunks/{project-x8gz1y8e.js → file-qvb3nf84.js} +8 -8
  225. package/dist/chunks/{project-qqmxp0w7.js → file-r4aah319.js} +12 -12
  226. package/dist/chunks/{project-ndgqx56h.js → file-r8vf1f61.js} +6 -6
  227. package/dist/chunks/{project-r9mregkx.js → file-r9mregkx.js} +2 -2
  228. package/dist/chunks/{project-svxygcjw.js → file-rfkfgx1j.js} +2 -2
  229. package/dist/chunks/{project-4qw9jy8s.js → file-rgy7ctyq.js} +6 -6
  230. package/dist/chunks/{project-p60kmaay.js → file-rjjwk750.js} +60 -60
  231. package/dist/chunks/{project-cx98cjrt.js → file-rny9rhyh.js} +4 -4
  232. package/dist/chunks/{project-x71d43dg.js → file-rqnks7rh.js} +6 -6
  233. package/dist/chunks/{project-ce6x2zr0.js → file-rzmkrbvb.js} +2 -2
  234. package/dist/chunks/{project-3gtmxc06.js → file-s8b69be9.js} +8 -8
  235. package/dist/chunks/{project-tyy2ek0j.js → file-sj50v99f.js} +22 -22
  236. package/dist/chunks/{project-da239ya3.js → file-skmtrd5n.js} +21 -21
  237. package/dist/chunks/{project-g7xq9dq6.js → file-sv08ktng.js} +15 -15
  238. package/dist/chunks/{project-fn3pntxg.js → file-t0r7fcbn.js} +24 -24
  239. package/dist/chunks/{project-h943hffx.js → file-t2mvn8e2.js} +9 -9
  240. package/dist/chunks/{project-h0n6hk95.js → file-t3v0vag8.js} +7 -7
  241. package/dist/chunks/{project-k266rhdn.js → file-t4fqcf9n.js} +24 -24
  242. package/dist/chunks/{project-h9jj2pmn.js → file-t7f26a2p.js} +20 -20
  243. package/dist/chunks/{project-tazgh4e4.js → file-tazgh4e4.js} +1 -1
  244. package/dist/chunks/{project-tcezcvh9.js → file-tcezcvh9.js} +1 -1
  245. package/dist/chunks/{project-30b4p980.js → file-td8ytyxd.js} +8 -8
  246. package/dist/chunks/{project-tdstcens.js → file-tdstcens.js} +1 -1
  247. package/dist/chunks/{project-msgqzgez.js → file-tjr0drtg.js} +11 -11
  248. package/dist/chunks/{project-7j92jdde.js → file-tm7zr4pr.js} +4 -4
  249. package/dist/chunks/{project-pa8pe2x7.js → file-tpw6cwsb.js} +8 -8
  250. package/dist/chunks/{project-tvtrv512.js → file-tvtrv512.js} +1 -1
  251. package/dist/chunks/{project-z9p65wfg.js → file-v1gbks79.js} +42 -42
  252. package/dist/chunks/{project-cg9cg68q.js → file-v1h457r3.js} +9 -9
  253. package/dist/chunks/{project-f79y50b7.js → file-v1sethzn.js} +21 -21
  254. package/dist/chunks/{project-e9ngbr94.js → file-v6v8ttny.js} +20 -20
  255. package/dist/chunks/{project-nh3r2c9y.js → file-v8xrsrn8.js} +6 -6
  256. package/dist/chunks/{project-r4a4h3h4.js → file-v9me9bjc.js} +18 -18
  257. package/dist/chunks/{project-syn9s4ck.js → file-vbz5sa67.js} +34 -34
  258. package/dist/chunks/{project-veqvce7d.js → file-veqvce7d.js} +1 -1
  259. package/dist/chunks/{project-rm0vmy1k.js → file-vm34h1x5.js} +8 -8
  260. package/dist/chunks/{project-vzcthcp8.js → file-vzcthcp8.js} +1 -1
  261. package/dist/chunks/{project-w3wsvvr9.js → file-w3wsvvr9.js} +1 -1
  262. package/dist/chunks/{project-jcbnna01.js → file-wd6ep4mh.js} +1 -1
  263. package/dist/chunks/{project-wd87259q.js → file-wd87259q.js} +1 -1
  264. package/dist/chunks/{project-vsrns1zn.js → file-wpm2rk0p.js} +6 -6
  265. package/dist/chunks/{project-k1v67f28.js → file-wywpfvj8.js} +29 -29
  266. package/dist/chunks/{project-x1ezjp6w.js → file-x1ezjp6w.js} +1 -1
  267. package/dist/chunks/{project-9gdc11pm.js → file-x4fh1qwh.js} +19 -19
  268. package/dist/chunks/{project-8421cefc.js → file-xc694gh7.js} +3 -3
  269. package/dist/chunks/{project-9jmfdv3c.js → file-xte6ahy5.js} +9 -9
  270. package/dist/chunks/{project-74t57acv.js → file-xx4ze2dw.js} +9 -9
  271. package/dist/chunks/{project-2wgpvvmt.js → file-xy0cewe0.js} +11 -11
  272. package/dist/chunks/{project-y80gd2k5.js → file-xz25bmqh.js} +21 -21
  273. package/dist/chunks/{project-y1fvbwt7.js → file-y1fvbwt7.js} +1 -1
  274. package/dist/chunks/{project-352w66m8.js → file-y2rgym3m.js} +9 -9
  275. package/dist/chunks/{project-1y3t80aq.js → file-yb2a0x4v.js} +3 -3
  276. package/dist/chunks/{project-61pd2xsr.js → file-ye1tt27n.js} +31 -31
  277. package/dist/chunks/{project-yrhqyw5v.js → file-yrhqyw5v.js} +1 -1
  278. package/dist/chunks/{project-yrznvahk.js → file-yrznvahk.js} +2 -2
  279. package/dist/chunks/{project-z0bkrqjs.js → file-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{project-z63w68vq.js → file-z63w68vq.js} +2 -2
  281. package/dist/chunks/file-zb4ha1kd.js +247 -0
  282. package/dist/chunks/{project-zeh9ct20.js → file-zeh9ct20.js} +2 -2
  283. package/dist/chunks/{project-c4ykr5r1.js → file-znf35ddy.js} +43 -43
  284. package/dist/chunks/{project-zr2ceqn5.js → file-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{project-c61qbbjh.js → file-zvsn794g.js} +10 -10
  286. package/dist/chunks/{project-zxq2ej10.js → file-zxq2ej10.js} +1 -1
  287. package/dist/codemode/catalog.js +3 -3
  288. package/dist/codemode/instructions.js +7 -7
  289. package/dist/codemode/tool.js +2 -2
  290. package/dist/command.js +78 -78
  291. package/dist/config/discovery.js +78 -78
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +19 -19
  294. package/dist/config/plugin/agent.js +116 -116
  295. package/dist/config/plugin/command.js +208 -208
  296. package/dist/config/plugin/compaction.js +156 -156
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +118 -118
  299. package/dist/config/plugin/image.js +116 -116
  300. package/dist/config/plugin/instruction.js +86 -86
  301. package/dist/config/plugin/location-watcher.js +118 -118
  302. package/dist/config/plugin/mcp.js +125 -125
  303. package/dist/config/plugin/policy.js +115 -115
  304. package/dist/config/plugin/provider.js +114 -114
  305. package/dist/config/plugin/reference.js +118 -118
  306. package/dist/config/plugin/shell.js +119 -119
  307. package/dist/config/plugin/skill-file.js +98 -98
  308. package/dist/config/plugin/skill.js +137 -137
  309. package/dist/config/plugin/snapshot.js +116 -116
  310. package/dist/config/plugin/source.js +116 -116
  311. package/dist/config/plugin/tool-output.js +118 -118
  312. package/dist/config/plugin/websearch.js +116 -116
  313. package/dist/config/plugin/worktree.js +117 -117
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +118 -118
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +84 -84
  319. package/dist/database/database.js +69 -69
  320. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +13 -13
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +14 -14
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration.gen.js +48 -48
  384. package/dist/database/migration.js +50 -50
  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 +78 -78
  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 +1 -1
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +89 -89
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +91 -91
  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 +73 -73
  408. package/dist/file-access.js +100 -100
  409. package/dist/file-mutation.js +90 -90
  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 +223 -223
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +100 -100
  421. package/dist/filesystem/watcher-binding.js +1 -1
  422. package/dist/filesystem/watcher.js +11 -11
  423. package/dist/filesystem.js +97 -97
  424. package/dist/form.js +85 -85
  425. package/dist/formatter/builtins.js +2 -2
  426. package/dist/formatter.js +83 -83
  427. package/dist/generate.js +94 -94
  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 +6 -6
  451. package/dist/instance/service.js +5 -5
  452. package/dist/instance.js +352 -352
  453. package/dist/instruction-discovery.js +84 -84
  454. package/dist/instructions/builtins.js +81 -81
  455. package/dist/instructions/index.js +3 -3
  456. package/dist/integration/connection.js +1 -1
  457. package/dist/integration.js +85 -85
  458. package/dist/job.js +78 -78
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +72 -72
  461. package/dist/location-activity.js +134 -134
  462. package/dist/location-mutation.js +100 -100
  463. package/dist/location-service-map.js +84 -84
  464. package/dist/location-services.js +349 -349
  465. package/dist/location.js +77 -77
  466. package/dist/mcp/client.js +87 -87
  467. package/dist/mcp/index.js +100 -100
  468. package/dist/mcp/instructions.js +121 -121
  469. package/dist/mcp/oauth.js +3 -3
  470. package/dist/mcp/stdio.js +86 -86
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +3 -3
  473. package/dist/model-resolver.js +87 -87
  474. package/dist/model.js +4 -4
  475. package/dist/models-dev.js +87 -87
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +79 -79
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +107 -107
  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 +83 -83
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +74 -74
  485. package/dist/plugin/agent.js +98 -98
  486. package/dist/plugin/command.js +95 -95
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +214 -214
  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 +76 -76
  493. package/dist/plugin/module.js +7 -7
  494. package/dist/plugin/optimize.js +4 -4
  495. package/dist/plugin/plan.js +98 -98
  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/azure.js +119 -119
  500. package/dist/plugin/provider/cerebras.js +2 -2
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +115 -115
  505. package/dist/plugin/provider/digitalocean.js +80 -80
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/gateway.js +2 -2
  509. package/dist/plugin/provider/github-copilot.js +81 -81
  510. package/dist/plugin/provider/gitlab.js +3 -3
  511. package/dist/plugin/provider/google-vertex.js +2 -2
  512. package/dist/plugin/provider/kilo.js +2 -2
  513. package/dist/plugin/provider/llmgateway.js +77 -77
  514. package/dist/plugin/provider/lmstudio.js +116 -116
  515. package/dist/plugin/provider/modal.js +80 -80
  516. package/dist/plugin/provider/nvidia.js +2 -2
  517. package/dist/plugin/provider/ollama.js +118 -118
  518. package/dist/plugin/provider/openai-compatible.js +1 -1
  519. package/dist/plugin/provider/openai.js +81 -81
  520. package/dist/plugin/provider/opencode.js +80 -80
  521. package/dist/plugin/provider/openrouter.js +3 -3
  522. package/dist/plugin/provider/perplexity.js +2 -2
  523. package/dist/plugin/provider/poe.js +77 -77
  524. package/dist/plugin/provider/sap-ai-core.js +3 -3
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +118 -118
  527. package/dist/plugin/provider/venice.js +2 -2
  528. package/dist/plugin/provider/vercel.js +2 -2
  529. package/dist/plugin/provider/vllm.js +118 -118
  530. package/dist/plugin/provider/xai.js +78 -78
  531. package/dist/plugin/provider/zenmux.js +2 -2
  532. package/dist/plugin/provider.js +157 -157
  533. package/dist/plugin/sdk.js +73 -73
  534. package/dist/plugin/service.js +3 -3
  535. package/dist/plugin/skill.js +134 -134
  536. package/dist/plugin/source-directory.js +1 -1
  537. package/dist/plugin/supervisor.js +340 -340
  538. package/dist/plugin/update.js +6 -6
  539. package/dist/plugin/variant.js +4 -4
  540. package/dist/plugin/vcs/git.js +83 -83
  541. package/dist/plugin/vcs/hg.js +83 -83
  542. package/dist/plugin/warming.js +113 -113
  543. package/dist/plugin/websearch/exa.js +7 -7
  544. package/dist/plugin/websearch/firecrawl.js +6 -6
  545. package/dist/plugin/websearch/index.js +8 -8
  546. package/dist/plugin/websearch/mcp.js +4 -4
  547. package/dist/plugin/websearch/parallel.js +8 -8
  548. package/dist/plugin/websearch/tavily.js +4 -4
  549. package/dist/plugin.js +221 -221
  550. package/dist/project/schema.js +2 -2
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +76 -76
  553. package/dist/provider.js +5 -5
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/schema.js +3 -3
  556. package/dist/pty/ticket.js +1 -1
  557. package/dist/pty.js +95 -95
  558. package/dist/reference/instructions.js +83 -83
  559. package/dist/reference.js +81 -81
  560. package/dist/repository-cache.js +77 -77
  561. package/dist/repository.js +1 -1
  562. package/dist/ripgrep/binary.js +2 -2
  563. package/dist/ripgrep.js +94 -94
  564. package/dist/rpc.js +82 -82
  565. package/dist/schema.js +1 -1
  566. package/dist/session/command.js +73 -73
  567. package/dist/session/compaction.js +124 -124
  568. package/dist/session/context.js +146 -146
  569. package/dist/session/environment.js +5 -5
  570. package/dist/session/error.js +5 -5
  571. package/dist/session/event.js +1 -1
  572. package/dist/session/execution/restart.js +220 -220
  573. package/dist/session/execution.js +123 -123
  574. package/dist/session/generate.js +149 -149
  575. package/dist/session/history.js +13 -13
  576. package/dist/session/inbox.js +87 -87
  577. package/dist/session/info.js +3 -3
  578. package/dist/session/instruction-entry.js +76 -76
  579. package/dist/session/instruction-state.js +8 -8
  580. package/dist/session/instructions.js +91 -91
  581. package/dist/session/message-updater.js +2 -2
  582. package/dist/session/message.js +1 -1
  583. package/dist/session/model-request.js +112 -112
  584. package/dist/session/model-transport.js +7 -7
  585. package/dist/session/move.js +127 -127
  586. package/dist/session/projector.js +85 -85
  587. package/dist/session/prompt.js +101 -101
  588. package/dist/session/provider-context.js +3 -3
  589. package/dist/session/revert.js +86 -86
  590. package/dist/session/run-coordinator.js +3 -3
  591. package/dist/session/runner/index.js +3 -3
  592. package/dist/session/runner/llm.js +226 -226
  593. package/dist/session/runner/max-steps.js +1 -1
  594. package/dist/session/runner/model.js +87 -87
  595. package/dist/session/runner/publish-llm-event.js +3 -3
  596. package/dist/session/runner/retry.js +109 -109
  597. package/dist/session/runner/step.js +120 -120
  598. package/dist/session/runner/to-llm-message.js +2 -2
  599. package/dist/session/schema.js +5 -5
  600. package/dist/session/session.js +170 -170
  601. package/dist/session/shell.js +132 -132
  602. package/dist/session/skill.js +99 -99
  603. package/dist/session/sql.js +5 -5
  604. package/dist/session/stats.js +74 -74
  605. package/dist/session/store.js +84 -84
  606. package/dist/session/subagent-completion.js +1 -1
  607. package/dist/session/subagent-job.js +204 -204
  608. package/dist/session/system-prompt.js +3 -3
  609. package/dist/session/title.js +150 -150
  610. package/dist/session/to-session-error.js +108 -108
  611. package/dist/session/transfer.js +216 -216
  612. package/dist/session/usage.js +1 -1
  613. package/dist/session.js +212 -212
  614. package/dist/shell/parse.js +6 -6
  615. package/dist/shell/result.js +1 -1
  616. package/dist/shell/scan.js +1 -1
  617. package/dist/shell/select.js +3 -3
  618. package/dist/shell.js +134 -134
  619. package/dist/skill/discovery.js +6 -6
  620. package/dist/skill/instructions.js +99 -99
  621. package/dist/skill.js +106 -106
  622. package/dist/snapshot.js +87 -87
  623. package/dist/state.js +1 -1
  624. package/dist/tool/html-markdown.js +1 -1
  625. package/dist/tool/http-body.js +1 -1
  626. package/dist/tool/mcp.js +118 -118
  627. package/dist/tool/plugin/edit.js +110 -110
  628. package/dist/tool/plugin/file-diff.js +1 -1
  629. package/dist/tool/plugin/glob.js +121 -121
  630. package/dist/tool/plugin/grep.js +121 -121
  631. package/dist/tool/plugin/opencode.js +3 -3
  632. package/dist/tool/plugin/patch.js +118 -118
  633. package/dist/tool/plugin/question.js +97 -97
  634. package/dist/tool/plugin/read.js +122 -122
  635. package/dist/tool/plugin/shell.js +213 -213
  636. package/dist/tool/plugin/skill.js +109 -109
  637. package/dist/tool/plugin/subagent.js +207 -207
  638. package/dist/tool/plugin/webfetch.js +108 -108
  639. package/dist/tool/plugin/websearch.js +108 -108
  640. package/dist/tool/plugin/write.js +118 -118
  641. package/dist/tool/read-filesystem.js +97 -97
  642. package/dist/tool/runtime.js +1 -1
  643. package/dist/tool-output.js +8 -8
  644. package/dist/tool.js +13 -13
  645. package/dist/types/config.d.ts +5 -1
  646. package/dist/types/shell/select.d.ts +1 -0
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/iife.js +1 -1
  650. package/dist/util/lazy.js +1 -1
  651. package/dist/util/slug.js +1 -1
  652. package/dist/util/token.js +1 -1
  653. package/dist/util/which.js +1 -1
  654. package/dist/util/wildcard.js +1 -1
  655. package/dist/v1/config/agent.js +5 -5
  656. package/dist/v1/config/attachment.js +4 -4
  657. package/dist/v1/config/command.js +3 -3
  658. package/dist/v1/config/config.js +16 -16
  659. package/dist/v1/config/error.js +2 -2
  660. package/dist/v1/config/formatter.js +5 -5
  661. package/dist/v1/config/layout.js +1 -1
  662. package/dist/v1/config/lsp.js +5 -5
  663. package/dist/v1/config/mcp.js +4 -4
  664. package/dist/v1/config/migrate.js +4 -4
  665. package/dist/v1/config/permission.js +3 -3
  666. package/dist/v1/config/plugin.js +3 -3
  667. package/dist/v1/config/provider-options.js +1 -1
  668. package/dist/v1/config/provider.js +4 -4
  669. package/dist/v1/config/server.js +2 -2
  670. package/dist/v1/config/skills.js +3 -3
  671. package/dist/v1/permission.js +1 -1
  672. package/dist/vcs/patch.js +1 -1
  673. package/dist/vcs.js +86 -86
  674. package/dist/websearch.js +79 -79
  675. package/dist/wellknown/plugin.js +75 -75
  676. package/dist/wellknown.js +78 -78
  677. package/dist/workspace/driver.js +5 -5
  678. package/dist/workspace/sql.js +1 -1
  679. package/dist/workspace.js +79 -79
  680. package/dist/worktree/directory.js +4 -4
  681. package/dist/worktree/git.js +7 -7
  682. package/dist/worktree/refresh.js +341 -341
  683. package/dist/worktree/sql.js +5 -5
  684. package/dist/worktree.js +92 -92
  685. package/package.json +8 -8
  686. package/dist/chunks/project-6kdq0pjd.js +0 -4
  687. package/dist/chunks/project-ajqyq5kb.js +0 -22
  688. package/dist/chunks/project-ht5y0zrb.js +0 -18
  689. package/dist/chunks/project-mpaqfvem.js +0 -247
  690. /package/dist/chunks/{project-0qkdqm5v.js → file-0qkdqm5v.js} +0 -0
  691. /package/dist/chunks/{project-0zkw76rk.js → file-0zkw76rk.js} +0 -0
  692. /package/dist/chunks/{project-17cy0kzp.js → file-17cy0kzp.js} +0 -0
  693. /package/dist/chunks/{project-1cnp2v09.js → file-1cnp2v09.js} +0 -0
  694. /package/dist/chunks/{project-1kg9ymc8.js → file-1kg9ymc8.js} +0 -0
  695. /package/dist/chunks/{project-2710q6r3.js → file-2710q6r3.js} +0 -0
  696. /package/dist/chunks/{project-2axfhc9x.js → file-2axfhc9x.js} +0 -0
  697. /package/dist/chunks/{project-2c3vjs8z.js → file-2c3vjs8z.js} +0 -0
  698. /package/dist/chunks/{project-359p4xyc.js → file-359p4xyc.js} +0 -0
  699. /package/dist/chunks/{project-3asan66x.js → file-3asan66x.js} +0 -0
  700. /package/dist/chunks/{project-3v8g72cx.js → file-3v8g72cx.js} +0 -0
  701. /package/dist/chunks/{project-3w5fmr99.js → file-3w5fmr99.js} +0 -0
  702. /package/dist/chunks/{project-3wcehsnq.js → file-3wcehsnq.js} +0 -0
  703. /package/dist/chunks/{project-43n2bw4t.js → file-43n2bw4t.js} +0 -0
  704. /package/dist/chunks/{project-4knz6hnm.js → file-4knz6hnm.js} +0 -0
  705. /package/dist/chunks/{project-4vcrnpx2.js → file-4vcrnpx2.js} +0 -0
  706. /package/dist/chunks/{project-4y7fprxs.js → file-4y7fprxs.js} +0 -0
  707. /package/dist/chunks/{project-53557ph1.js → file-53557ph1.js} +0 -0
  708. /package/dist/chunks/{project-550bvhaj.js → file-550bvhaj.js} +0 -0
  709. /package/dist/chunks/{project-6prwharc.js → file-6prwharc.js} +0 -0
  710. /package/dist/chunks/{project-7akdwqpd.js → file-7akdwqpd.js} +0 -0
  711. /package/dist/chunks/{project-7m9af43g.js → file-7m9af43g.js} +0 -0
  712. /package/dist/chunks/{project-822emrt2.js → file-822emrt2.js} +0 -0
  713. /package/dist/chunks/{project-88xbtdfr.js → file-88xbtdfr.js} +0 -0
  714. /package/dist/chunks/{project-8n3pysct.js → file-8n3pysct.js} +0 -0
  715. /package/dist/chunks/{project-922hggd3.js → file-922hggd3.js} +0 -0
  716. /package/dist/chunks/{project-9a4afbnw.js → file-9a4afbnw.js} +0 -0
  717. /package/dist/chunks/{project-9rqn6x4v.js → file-9rqn6x4v.js} +0 -0
  718. /package/dist/chunks/{project-a6k6eb26.js → file-a6k6eb26.js} +0 -0
  719. /package/dist/chunks/{project-af5trqkr.js → file-af5trqkr.js} +0 -0
  720. /package/dist/chunks/{project-afrmfg78.js → file-afrmfg78.js} +0 -0
  721. /package/dist/chunks/{project-aqzs7mqg.js → file-aqzs7mqg.js} +0 -0
  722. /package/dist/chunks/{project-atq7p7m5.js → file-atq7p7m5.js} +0 -0
  723. /package/dist/chunks/{project-bkyjaxrp.js → file-bkyjaxrp.js} +0 -0
  724. /package/dist/chunks/{project-bmr6ed5q.js → file-bmr6ed5q.js} +0 -0
  725. /package/dist/chunks/{project-cf4snx6d.js → file-cf4snx6d.js} +0 -0
  726. /package/dist/chunks/{project-cvy3z8tj.js → file-cvy3z8tj.js} +0 -0
  727. /package/dist/chunks/{project-d9fn303g.js → file-d9fn303g.js} +0 -0
  728. /package/dist/chunks/{project-d9jj8t3e.js → file-d9jj8t3e.js} +0 -0
  729. /package/dist/chunks/{project-dajrwvna.js → file-dajrwvna.js} +0 -0
  730. /package/dist/chunks/{project-dap0rakb.js → file-dap0rakb.js} +0 -0
  731. /package/dist/chunks/{project-df08tz66.js → file-df08tz66.js} +0 -0
  732. /package/dist/chunks/{project-dy18nga0.js → file-dy18nga0.js} +0 -0
  733. /package/dist/chunks/{project-e5kj55wp.js → file-e5kj55wp.js} +0 -0
  734. /package/dist/chunks/{project-e73j6tqm.js → file-e73j6tqm.js} +0 -0
  735. /package/dist/chunks/{project-ec1grn59.js → file-ec1grn59.js} +0 -0
  736. /package/dist/chunks/{project-eh3zwz77.js → file-eh3zwz77.js} +0 -0
  737. /package/dist/chunks/{project-emrn6kk6.js → file-emrn6kk6.js} +0 -0
  738. /package/dist/chunks/{project-f0mxakyp.js → file-f0mxakyp.js} +0 -0
  739. /package/dist/chunks/{project-f6n9ztr4.js → file-f6n9ztr4.js} +0 -0
  740. /package/dist/chunks/{project-faypxj3z.js → file-faypxj3z.js} +0 -0
  741. /package/dist/chunks/{project-fd410y7t.js → file-fd410y7t.js} +0 -0
  742. /package/dist/chunks/{project-fxgpk5d8.js → file-fxgpk5d8.js} +0 -0
  743. /package/dist/chunks/{project-g4wezp1m.js → file-g4wezp1m.js} +0 -0
  744. /package/dist/chunks/{project-g86h250q.js → file-g86h250q.js} +0 -0
  745. /package/dist/chunks/{project-gebd4c9n.js → file-gebd4c9n.js} +0 -0
  746. /package/dist/chunks/{project-gftt206x.js → file-gftt206x.js} +0 -0
  747. /package/dist/chunks/{project-hjbc5kem.js → file-hjbc5kem.js} +0 -0
  748. /package/dist/chunks/{project-hk9envan.js → file-hk9envan.js} +0 -0
  749. /package/dist/chunks/{project-hrnqkpcd.js → file-hrnqkpcd.js} +0 -0
  750. /package/dist/chunks/{project-j2ntwpah.js → file-j2ntwpah.js} +0 -0
  751. /package/dist/chunks/{project-j5zkgpj8.js → file-j5zkgpj8.js} +0 -0
  752. /package/dist/chunks/{project-jr7sbwjy.js → file-jr7sbwjy.js} +0 -0
  753. /package/dist/chunks/{project-jwfs4k6c.js → file-jwfs4k6c.js} +0 -0
  754. /package/dist/chunks/{project-jzg6c2d5.js → file-jzg6c2d5.js} +0 -0
  755. /package/dist/chunks/{project-mp448xyj.js → file-mp448xyj.js} +0 -0
  756. /package/dist/chunks/{project-msx8hqn2.js → file-msx8hqn2.js} +0 -0
  757. /package/dist/chunks/{project-n05xt0ee.js → file-n05xt0ee.js} +0 -0
  758. /package/dist/chunks/{project-n3j8tn72.js → file-n3j8tn72.js} +0 -0
  759. /package/dist/chunks/{project-njntx4h6.js → file-njntx4h6.js} +0 -0
  760. /package/dist/chunks/{project-paphc93g.js → file-paphc93g.js} +0 -0
  761. /package/dist/chunks/{project-q3sfg36h.js → file-q3sfg36h.js} +0 -0
  762. /package/dist/chunks/{project-q74kybfr.js → file-q74kybfr.js} +0 -0
  763. /package/dist/chunks/{project-qaymkmh1.js → file-qaymkmh1.js} +0 -0
  764. /package/dist/chunks/{project-qb87gjwd.js → file-qb87gjwd.js} +0 -0
  765. /package/dist/chunks/{project-qfa1cgps.js → file-qfa1cgps.js} +0 -0
  766. /package/dist/chunks/{project-qrg20bc0.js → file-qrg20bc0.js} +0 -0
  767. /package/dist/chunks/{project-rcb2kzg1.js → file-rcb2kzg1.js} +0 -0
  768. /package/dist/chunks/{project-sdp7kfr6.js → file-sdp7kfr6.js} +0 -0
  769. /package/dist/chunks/{project-sk3qaz4a.js → file-sk3qaz4a.js} +0 -0
  770. /package/dist/chunks/{project-ssg3fenm.js → file-ssg3fenm.js} +0 -0
  771. /package/dist/chunks/{project-twg0f83k.js → file-twg0f83k.js} +0 -0
  772. /package/dist/chunks/{project-w803qqfp.js → file-w803qqfp.js} +0 -0
  773. /package/dist/chunks/{project-wer8tq1h.js → file-wer8tq1h.js} +0 -0
  774. /package/dist/chunks/{project-wtztk69x.js → file-wtztk69x.js} +0 -0
  775. /package/dist/chunks/{project-x0ckcb58.js → file-x0ckcb58.js} +0 -0
  776. /package/dist/chunks/{project-x61499pn.js → file-x61499pn.js} +0 -0
  777. /package/dist/chunks/{project-y44na4kk.js → file-y44na4kk.js} +0 -0
  778. /package/dist/chunks/{project-y8cydn3q.js → file-y8cydn3q.js} +0 -0
  779. /package/dist/chunks/{project-y8f7s663.js → file-y8f7s663.js} +0 -0
  780. /package/dist/chunks/{project-ygaqb7jw.js → file-ygaqb7jw.js} +0 -0
  781. /package/dist/chunks/{project-ym463w8f.js → file-ym463w8f.js} +0 -0
  782. /package/dist/chunks/{project-z9919s4g.js → file-z9919s4g.js} +0 -0
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service78,
3
- node83
4
- } from "./project-jmz50v4a.js";
2
+ Service79,
3
+ node84
4
+ } from "./file-3ec5gh45.js";
5
5
  import {
6
6
  create3
7
- } from "./project-kg06axw8.js";
7
+ } from "./file-kg06axw8.js";
8
8
  import {
9
9
  __export
10
- } from "./project-9rqn6x4v.js";
10
+ } from "./file-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: () => Event8,
16
+ Event: () => Event10,
17
17
  ExecutionError: () => ExecutionError2,
18
- Info: () => Info8,
18
+ Info: () => Info9,
19
19
  NotFoundError: () => NotFoundError5,
20
- Service: () => Service48,
20
+ Service: () => Service46,
21
21
  layer: () => layer19,
22
- node: () => node51
22
+ node: () => node49
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 Event8 } from "@opencode/schema/command";
28
- var Info8 = Command.Info;
27
+ import { Event as Event10 } from "@opencode/schema/command";
28
+ var Info9 = Command.Info;
29
29
 
30
30
  class NotFoundError5 extends Schema.TaggedError()("Command.NotFoundError", {
31
31
  command: Schema.String,
@@ -39,10 +39,10 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
39
39
  }) {
40
40
  }
41
41
 
42
- class Service48 extends Context.Service()("@opencode/Command") {
42
+ class Service46 extends Context.Service()("@opencode/Command") {
43
43
  }
44
- var layer19 = Layer.effect(Service48, Effect.gen(function* () {
45
- const bus = yield* Service78;
44
+ var layer19 = Layer.effect(Service46, Effect.gen(function* () {
45
+ const bus = yield* Service79;
46
46
  const state = create3({
47
47
  name: "command",
48
48
  initial: () => new Map,
@@ -51,11 +51,11 @@ var layer19 = Layer.effect(Service48, Effect.gen(function* () {
51
51
  }),
52
52
  notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
53
53
  });
54
- const info = (definition) => Info8.make({
54
+ const info = (definition) => Info9.make({
55
55
  name: definition.name,
56
56
  description: definition.description
57
57
  });
58
- return Service48.of({
58
+ return Service46.of({
59
59
  reload: state.reload,
60
60
  transform: state.transform,
61
61
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -71,10 +71,10 @@ var layer19 = Layer.effect(Service48, Effect.gen(function* () {
71
71
  })
72
72
  });
73
73
  }));
74
- var node51 = makeLocationNode({
75
- service: Service48,
74
+ var node49 = makeLocationNode({
75
+ service: Service46,
76
76
  layer: layer19,
77
- deps: [node83]
77
+ deps: [node84]
78
78
  });
79
79
  function errorMessage(error) {
80
80
  if (error instanceof Error)
@@ -86,4 +86,4 @@ function errorMessage(error) {
86
86
  return "Command execution failed";
87
87
  }
88
88
 
89
- export { Info8, NotFoundError5, ExecutionError2, Service48, layer19, node51, exports_command4, Event8 };
89
+ export { Info9, NotFoundError5, ExecutionError2, Service46, layer19, node49, exports_command4, Event10 };
@@ -1,11 +1,11 @@
1
1
  import {
2
- ID6,
3
- Service61
4
- } from "./project-4e10zhsk.js";
2
+ ID9,
3
+ Service66
4
+ } from "./file-07ch4k8a.js";
5
5
  import {
6
6
  isAISDK2,
7
7
  packageName2
8
- } from "./project-x71d43dg.js";
8
+ } from "./file-rqnks7rh.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* Service61;
16
+ const integrations = yield* Service66;
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()) {
@@ -25,7 +25,7 @@ var LLMGatewayPlugin2 = define({
25
25
  continue;
26
26
  if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
27
27
  continue;
28
- if (!configured.has(ID6.make(item.provider.id)))
28
+ if (!configured.has(ID9.make(item.provider.id)))
29
29
  continue;
30
30
  evt.provider.update(item.provider.id, (provider) => {
31
31
  provider.headers = {
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  useragent2
3
- } from "./project-zp5ax0qn.js";
3
+ } from "./file-9khdf5s3.js";
4
4
  import {
5
- Service78
6
- } from "./project-jmz50v4a.js";
5
+ Service79
6
+ } from "./file-3ec5gh45.js";
7
7
  import {
8
8
  OAuth3,
9
- Event14
10
- } from "./project-xse6m6qk.js";
9
+ Event18
10
+ } from "./file-4we3c2am.js";
11
11
  import {
12
- ID6,
12
+ ID9,
13
13
  MethodID2
14
- } from "./project-4e10zhsk.js";
14
+ } from "./file-07ch4k8a.js";
15
15
  import {
16
16
  success2,
17
17
  error2
18
- } from "./project-pjvnvgmy.js";
18
+ } from "./file-pjvnvgmy.js";
19
19
  import {
20
- ID16,
20
+ ID13,
21
21
  mergeOverlay2,
22
22
  mergeHeaders2
23
- } from "./project-x71d43dg.js";
23
+ } from "./file-rqnks7rh.js";
24
24
 
25
25
  // src/plugin/provider/openai.ts
26
26
  import { define } from "@opencode/plugin/effect/plugin";
@@ -44,7 +44,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
44
44
  }));
45
45
  var decodeClaims = Schema.decodeUnknownOption(Claims);
46
46
  var browser = (app) => ({
47
- integrationID: ID6.make("openai"),
47
+ integrationID: ID9.make("openai"),
48
48
  method: {
49
49
  id: browserMethodID,
50
50
  type: "oauth",
@@ -117,7 +117,7 @@ function addressInUse(error) {
117
117
  return "code" in error && error.code === "EADDRINUSE";
118
118
  }
119
119
  var headless = (app) => ({
120
- integrationID: ID6.make("openai"),
120
+ integrationID: ID9.make("openai"),
121
121
  method: {
122
122
  id: headlessMethodID,
123
123
  type: "oauth",
@@ -159,10 +159,10 @@ var headless = (app) => ({
159
159
  }),
160
160
  refresh: (value) => refresh(headlessMethodID, value, app)
161
161
  });
162
- var OpenAIPlugin2 = define({
162
+ var OpenAIPlugin3 = define({
163
163
  id: "opencode.provider.openai",
164
164
  effect: Effect.fn(function* (ctx) {
165
- const bus = yield* Service78;
165
+ const bus = yield* Service79;
166
166
  const loading = Semaphore.makeUnsafe(1);
167
167
  let chatgpt;
168
168
  const load = Effect.fn("OpenAIPlugin.load")(function* () {
@@ -178,7 +178,7 @@ var OpenAIPlugin2 = define({
178
178
  });
179
179
  yield* load();
180
180
  yield* ctx.catalog.transform((evt) => {
181
- const item = evt.provider.get(ID16.openai);
181
+ const item = evt.provider.get(ID13.openai);
182
182
  if (!item)
183
183
  return;
184
184
  for (const model of item.models.values()) {
@@ -222,9 +222,9 @@ var OpenAIPlugin2 = define({
222
222
  evt.baseURL = codexBaseURL;
223
223
  evt.headers.originator = "opencode";
224
224
  evt.headers["session-id"] = evt.sessionID;
225
- }), { providerID: ID16.openai });
225
+ }), { providerID: ID13.openai });
226
226
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
227
- yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID6.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
227
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
228
228
  })
229
229
  });
230
230
  function headers(contentType, app) {
@@ -315,4 +315,4 @@ function claim(token) {
315
315
  return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
316
316
  }
317
317
 
318
- export { OpenAIPlugin2 };
318
+ export { OpenAIPlugin3 };
@@ -2,45 +2,45 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./project-2a5m3afh.js";
5
+ } from "./file-2a5m3afh.js";
6
6
  import {
7
7
  Service76
8
- } from "./project-xw98cjw1.js";
8
+ } from "./file-mtjmqs8n.js";
9
9
  import {
10
- Service70
11
- } from "./project-y80gd2k5.js";
10
+ Service74
11
+ } from "./file-xz25bmqh.js";
12
12
  import {
13
- Service13
14
- } from "./project-180kq3wy.js";
13
+ Service12
14
+ } from "./file-dkkjpy3x.js";
15
15
  import {
16
- Service24,
16
+ Service17,
17
17
  readText2,
18
18
  syncTextBom2
19
- } from "./project-g4e9nbcn.js";
19
+ } from "./file-30f1x3mc.js";
20
20
  import {
21
- Service65
22
- } from "./project-rrzxexy0.js";
21
+ Service56
22
+ } from "./file-h9n27kr1.js";
23
23
  import {
24
- Service20,
24
+ Service55,
25
25
  resolvePath2
26
- } from "./project-04hzg152.js";
26
+ } from "./file-g7hhbneb.js";
27
27
  import {
28
28
  fileDiff2
29
- } from "./project-6prwharc.js";
29
+ } from "./file-6prwharc.js";
30
30
  import {
31
31
  __export
32
- } from "./project-9rqn6x4v.js";
32
+ } from "./file-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/patch.ts
35
35
  var exports_patch = {};
36
36
  __export(exports_patch, {
37
37
  Applied: () => Applied2,
38
- Input: () => Input2,
39
- Output: () => Output2,
38
+ Input: () => Input7,
39
+ Output: () => Output5,
40
40
  PatchTool: () => exports_patch,
41
- Plugin: () => Plugin33,
42
- name: () => name2,
43
- toModelContent: () => toModelContent2
41
+ Plugin: () => Plugin8,
42
+ name: () => name7,
43
+ toModelContent: () => toModelContent4
44
44
  });
45
45
  import { ToolFailure } from "@opencode/ai";
46
46
  import { FileDiff } from "@opencode/schema/file-diff";
@@ -85,8 +85,8 @@ It is important to remember:
85
85
  `;
86
86
 
87
87
  // src/tool/plugin/patch.ts
88
- var name2 = "patch";
89
- var Input2 = Schema.Struct({
88
+ var name7 = "patch";
89
+ var Input7 = Schema.Struct({
90
90
  patchText: Schema.String.annotate({
91
91
  description: "The full patch text describing add, update, and delete operations"
92
92
  })
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
96
96
  resource: Schema.String,
97
97
  target: Schema.String
98
98
  });
99
- var Output2 = Schema.Struct({
99
+ var Output5 = Schema.Struct({
100
100
  applied: Schema.Array(Applied2),
101
101
  files: Schema.Array(FileDiff.Info)
102
102
  });
103
- var toModelContent2 = (output) => [
103
+ var toModelContent4 = (output) => [
104
104
  "Success. Updated the following files:",
105
105
  ...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
106
106
  ].join(`
107
107
  `);
108
- var Plugin33 = {
108
+ var Plugin8 = {
109
109
  id: "opencode.tool.patch",
110
110
  effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
111
- const environment = yield* Service70;
112
- const access = yield* Service20;
113
- const fileMutation = yield* Service24;
114
- const formatter = yield* Service13;
111
+ const environment = yield* Service74;
112
+ const access = yield* Service55;
113
+ const fileMutation = yield* Service17;
114
+ const formatter = yield* Service12;
115
115
  const location = yield* Service76;
116
- const permission = yield* Service65;
116
+ const permission = yield* Service56;
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name2,
118
+ name: name7,
119
119
  options: { codemode: false, permission: "edit" },
120
120
  description: patch_default,
121
- input: Input2,
122
- output: Output2,
121
+ input: Input7,
122
+ output: Output5,
123
123
  execute: (input, context) => {
124
124
  const applied = [];
125
125
  const parsed = Patch.parse(input.patchText);
@@ -266,7 +266,7 @@ var Plugin33 = {
266
266
  return { applied, files };
267
267
  }).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
268
268
  output,
269
- content: toModelContent2(output),
269
+ content: toModelContent4(output),
270
270
  metadata: { files: output.files }
271
271
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
272
272
  }
@@ -323,4 +323,4 @@ function trimDiff(diff) {
323
323
  `);
324
324
  }
325
325
 
326
- export { name2, Input2, Applied2, Output2, toModelContent2, Plugin33, exports_patch };
326
+ export { name7, Input7, Applied2, Output5, toModelContent4, Plugin8, exports_patch };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./project-ym463w8f.js";
3
+ } from "./file-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/perplexity.ts
6
6
  var PerplexityPlugin2 = createProviderPlugin2({
@@ -1,15 +1,15 @@
1
1
  import {
2
- Service48
3
- } from "./project-e9ngbr94.js";
2
+ Service46
3
+ } from "./file-v6v8ttny.js";
4
4
  import {
5
- Service41
6
- } from "./project-3c1tgrea.js";
5
+ Service28
6
+ } from "./file-8a2qdx2a.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./project-ht5y0zrb.js";
9
+ } from "./file-1x11rq2a.js";
10
10
  import {
11
11
  __export
12
- } from "./project-9rqn6x4v.js";
12
+ } from "./file-9rqn6x4v.js";
13
13
 
14
14
  // src/session/command.ts
15
15
  var exports_command3 = {};
@@ -19,8 +19,8 @@ __export(exports_command3, {
19
19
  });
20
20
  import { Effect } from "effect";
21
21
  var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
22
- const instances = yield* Service41;
23
- const commands = yield* awaitActivation2.pipe(Effect.andThen(Service48), instances.provide(input.session));
22
+ const instances = yield* Service28;
23
+ const commands = yield* awaitActivation2.pipe(Effect.andThen(Service46), instances.provide(input.session));
24
24
  yield* commands.execute({
25
25
  name: input.command,
26
26
  invocation: {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  loadSDKFactory2
3
- } from "./project-hjbc5kem.js";
3
+ } from "./file-hjbc5kem.js";
4
4
 
5
5
  // src/plugin/provider/dynamic.ts
6
6
  import { Effect } from "effect";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2
4
- } from "./project-emrn6kk6.js";
4
+ } from "./file-emrn6kk6.js";
5
5
 
6
6
  // src/database/drizzle/sqlite-core/effect/delete.ts
7
7
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./project-x71d43dg.js";
4
+ } from "./file-rqnks7rh.js";
5
5
 
6
6
  // src/plugin/provider/vercel.ts
7
7
  import { Effect } from "effect";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getViewSelectedFieldsRuntime2,
3
3
  orderSelectedFields2
4
- } from "./project-emrn6kk6.js";
4
+ } from "./file-emrn6kk6.js";
5
5
 
6
6
  // src/database/drizzle/sqlite-core/effect/select.ts
7
7
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./project-9rqn6x4v.js";
3
+ } from "./file-9rqn6x4v.js";
4
4
 
5
5
  // src/workspace/driver.ts
6
6
  var exports_driver = {};
@@ -10,8 +10,8 @@ __export(exports_driver, {
10
10
  ProviderNotFound: () => ProviderNotFound2,
11
11
  RegistryService: () => RegistryService2,
12
12
  WorkspaceDriver: () => exports_driver,
13
- make: () => make19,
14
- node: () => node75,
13
+ make: () => make21,
14
+ node: () => node80,
15
15
  registry: () => registry2,
16
16
  registryNode: () => registryNode2
17
17
  });
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
29
29
  provider: Schema.String
30
30
  }) {
31
31
  }
32
- var make19 = (driver) => driver;
32
+ var make21 = (driver) => driver;
33
33
 
34
34
  class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
35
35
  }
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
44
44
  layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
45
45
  deps: []
46
46
  });
47
- var node75 = registryNode2({});
47
+ var node80 = registryNode2({});
48
48
 
49
- export { Binding2, Error5, ProviderNotFound2, make19, RegistryService2, registry2, registryNode2, node75, exports_driver };
49
+ export { Binding2, Error5, ProviderNotFound2, make21, RegistryService2, registry2, registryNode2, node80, exports_driver };
@@ -1,10 +1,10 @@
1
1
  import {
2
- Service78,
3
- node83
4
- } from "./project-jmz50v4a.js";
2
+ Service79,
3
+ node84
4
+ } from "./file-3ec5gh45.js";
5
5
  import {
6
6
  __export
7
- } from "./project-9rqn6x4v.js";
7
+ } from "./file-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -12,40 +12,40 @@ __export(exports_form, {
12
12
  AlreadyExistsError: () => AlreadyExistsError2,
13
13
  AlreadySettledError: () => AlreadySettledError2,
14
14
  Answer: () => Answer2,
15
- Event: () => Event15,
15
+ Event: () => Event17,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID8,
20
- Info: () => Info21,
19
+ ID: () => ID10,
20
+ Info: () => Info25,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
- NotFoundError: () => NotFoundError7,
24
- Reply: () => Reply2,
25
- Service: () => Service63,
23
+ NotFoundError: () => NotFoundError8,
24
+ Reply: () => Reply3,
25
+ Service: () => Service68,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
- layer: () => layer24,
29
- node: () => node66,
28
+ layer: () => layer25,
29
+ node: () => node72,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
32
32
  });
33
33
  import { Form } from "@opencode/schema/form";
34
34
  import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
- import { Event as Event15 } from "@opencode/schema/form";
36
+ import { Event as Event17 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID8 = Form.ID;
39
- var Info21 = Form.Info;
38
+ var ID10 = Form.ID;
39
+ var Info25 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
42
42
  var When2 = Form.When;
43
43
  var State3 = Form.State;
44
44
  var Answer2 = Form.Answer;
45
- var Reply2 = Form.Reply;
45
+ var Reply3 = Form.Reply;
46
46
 
47
- class NotFoundError7 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID8
47
+ class NotFoundError8 extends Schema.TaggedError()("Form.NotFoundError", {
48
+ id: ID10
49
49
  }) {
50
50
  get message() {
51
51
  return `Form not found: ${this.id}`;
@@ -53,7 +53,7 @@ class NotFoundError7 extends Schema.TaggedError()("Form.NotFoundError", {
53
53
  }
54
54
 
55
55
  class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
56
- id: ID8
56
+ id: ID10
57
57
  }) {
58
58
  get message() {
59
59
  return `Form already settled: ${this.id}`;
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
61
61
  }
62
62
 
63
63
  class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
64
- id: ID8
64
+ id: ID10
65
65
  }) {
66
66
  get message() {
67
67
  return `Form already exists: ${this.id}`;
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
69
69
  }
70
70
 
71
71
  class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
72
- id: ID8,
72
+ id: ID10,
73
73
  message: Schema.String
74
74
  }) {
75
75
  }
@@ -79,17 +79,17 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service63 extends Context.Service()("@opencode/Form") {
82
+ class Service68 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer24 = Layer.effect(Service63, Effect.gen(function* () {
85
- const bus = yield* Service78;
84
+ var layer25 = Layer.effect(Service68, Effect.gen(function* () {
85
+ const bus = yield* Service79;
86
86
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
87
87
  capacity: Number.MAX_SAFE_INTEGER,
88
88
  timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
89
89
  });
90
- const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError7({ id })))));
90
+ const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError8({ id })))));
91
91
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
92
- const id = input.id ?? ID8.create();
92
+ const id = input.id ?? ID10.create();
93
93
  const existing = yield* Cache.getSuccess(forms, id);
94
94
  if (Option.isSome(existing))
95
95
  return yield* new AlreadyExistsError2({ id });
@@ -153,9 +153,9 @@ var layer24 = Layer.effect(Service63, Effect.gen(function* () {
153
153
  yield* Deferred.succeed(entry.deferred, next);
154
154
  })));
155
155
  yield* Effect.addFinalizer(() => Cache.values(forms).pipe(Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true }))));
156
- return Service63.of({ create, ask, get, list, state, reply, cancel });
156
+ return Service68.of({ create, ask, get, list, state, reply, cancel });
157
157
  }));
158
- var node66 = makeLocationNode({ service: Service63, layer: layer24, deps: [node83] });
158
+ var node72 = makeLocationNode({ service: Service68, layer: layer25, deps: [node84] });
159
159
  function validateAnswer2(form, answer) {
160
160
  const fields = new Map(form.map((field) => [field.key, field]));
161
161
  for (const key of Object.keys(answer)) {
@@ -307,4 +307,4 @@ function isDateTime(value) {
307
307
  return !Number.isNaN(new Date(value).getTime());
308
308
  }
309
309
 
310
- export { ID8, Info21, Field2, Fields2, When2, State3, Answer2, Reply2, NotFoundError7, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service63, layer24, node66, validateAnswer2, validateFields2, exports_form, Event15 };
310
+ export { ID10, Info25, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError8, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service68, layer25, node72, validateAnswer2, validateFields2, exports_form, Event17 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./project-9rqn6x4v.js";
3
+ } from "./file-9rqn6x4v.js";
4
4
 
5
5
  // src/session/subagent-completion.ts
6
6
  var exports_subagent_completion = {};