@opencode/core 0.0.0-dev-20086 → 0.0.0-dev-20088

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 (801) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{state-n45qbav7.js → wellknown-02ay6hqg.js} +5 -5
  8. package/dist/chunks/{state-02cj0pc8.js → wellknown-07qks21j.js} +16 -16
  9. package/dist/chunks/{state-12as4csw.js → wellknown-0cmnazqm.js} +4 -4
  10. package/dist/chunks/{state-1em0vfhe.js → wellknown-0kbvaqxg.js} +7 -7
  11. package/dist/chunks/{state-nh5efkqv.js → wellknown-0n3stnym.js} +9 -9
  12. package/dist/chunks/{state-0paq2nw3.js → wellknown-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{state-nrx107y4.js → wellknown-0sw8n72f.js} +16 -16
  14. package/dist/chunks/{state-vgbaqptb.js → wellknown-0ztq6350.js} +6 -6
  15. package/dist/chunks/{state-96frkt8z.js → wellknown-16qm5t5a.js} +7 -7
  16. package/dist/chunks/{state-1dazxqgg.js → wellknown-1dazxqgg.js} +2 -2
  17. package/dist/chunks/{state-0tmgye68.js → wellknown-1nzh38e4.js} +5 -5
  18. package/dist/chunks/{state-7z9wgydg.js → wellknown-1w01qkgz.js} +10 -10
  19. package/dist/chunks/{state-mpsr4xxv.js → wellknown-1yxn9t92.js} +8 -8
  20. package/dist/chunks/{state-21r38tys.js → wellknown-21r38tys.js} +1 -1
  21. package/dist/chunks/{state-2a5m3afh.js → wellknown-2a5m3afh.js} +1 -1
  22. package/dist/chunks/{state-yvvvp4gn.js → wellknown-2hr5nhwa.js} +8 -8
  23. package/dist/chunks/{state-5vmwkxe9.js → wellknown-2kkyas57.js} +24 -24
  24. package/dist/chunks/{state-njbb07ax.js → wellknown-2r7n83y8.js} +15 -15
  25. package/dist/chunks/{state-fdv30zvt.js → wellknown-34rkz0x9.js} +4 -4
  26. package/dist/chunks/{state-jtjd9btn.js → wellknown-35gpf1q0.js} +15 -15
  27. package/dist/chunks/{state-637kffsg.js → wellknown-391dmqr2.js} +24 -24
  28. package/dist/chunks/{state-ggydwk5a.js → wellknown-3bx4j3sb.js} +27 -27
  29. package/dist/chunks/{state-3fc6dm20.js → wellknown-3fc6dm20.js} +1 -1
  30. package/dist/chunks/{state-3hepkmqq.js → wellknown-3hepkmqq.js} +1 -1
  31. package/dist/chunks/{state-3smtnn6g.js → wellknown-3smtnn6g.js} +1 -1
  32. package/dist/chunks/{state-3tvqynh2.js → wellknown-3tvqynh2.js} +1 -1
  33. package/dist/chunks/{state-3zsf4n22.js → wellknown-3zsf4n22.js} +1 -1
  34. package/dist/chunks/{state-12p4qwq0.js → wellknown-417f0ndq.js} +17 -17
  35. package/dist/chunks/{state-1bmsx0zf.js → wellknown-4j14e5ea.js} +10 -10
  36. package/dist/chunks/{state-qwjmgwmn.js → wellknown-4w5f3qm5.js} +8 -8
  37. package/dist/chunks/{state-1ygqh575.js → wellknown-56gdpj1q.js} +9 -9
  38. package/dist/chunks/{state-sc9th92v.js → wellknown-5774vrx5.js} +19 -19
  39. package/dist/chunks/{state-6w1rts7e.js → wellknown-5a6s7q48.js} +4 -4
  40. package/dist/chunks/{state-5daktx2q.js → wellknown-5daktx2q.js} +1 -1
  41. package/dist/chunks/{state-5ekn9679.js → wellknown-5ekn9679.js} +1 -1
  42. package/dist/chunks/{state-ftffmgpp.js → wellknown-5pk6mrn1.js} +24 -24
  43. package/dist/chunks/{state-5t3nmthw.js → wellknown-5t3nmthw.js} +2 -2
  44. package/dist/chunks/{state-addr2z3b.js → wellknown-627mbqxc.js} +5 -5
  45. package/dist/chunks/{state-669tq793.js → wellknown-669tq793.js} +1 -1
  46. package/dist/chunks/{state-gv189fdt.js → wellknown-678e88h8.js} +4 -4
  47. package/dist/chunks/{state-p1m5akjg.js → wellknown-6d6wpktw.js} +10 -10
  48. package/dist/chunks/{state-64dtqc3f.js → wellknown-6er8x6d0.js} +3 -3
  49. package/dist/chunks/{state-epb60yey.js → wellknown-6fkvgzc7.js} +26 -26
  50. package/dist/chunks/{state-6h73sxmp.js → wellknown-6h73sxmp.js} +1 -1
  51. package/dist/chunks/{state-6msgmcgs.js → wellknown-6msgmcgs.js} +1 -1
  52. package/dist/chunks/{state-3xe0jx7r.js → wellknown-6q0e5evp.js} +5 -5
  53. package/dist/chunks/{state-0erg9wwv.js → wellknown-6txqsvff.js} +29 -29
  54. package/dist/chunks/{state-nj1j17x6.js → wellknown-6ysrkrkr.js} +8 -8
  55. package/dist/chunks/{state-x7gyst7m.js → wellknown-71abkhq3.js} +12 -12
  56. package/dist/chunks/{state-6xxehmv1.js → wellknown-754kaqqn.js} +16 -16
  57. package/dist/chunks/{state-7bmhse3q.js → wellknown-7bmhse3q.js} +1 -1
  58. package/dist/chunks/{state-6s8wj2t2.js → wellknown-7d7d17vd.js} +4 -4
  59. package/dist/chunks/{state-6pc27hjz.js → wellknown-7fkffz83.js} +8 -8
  60. package/dist/chunks/{state-tr7ttk42.js → wellknown-7q1ypnqr.js} +17 -17
  61. package/dist/chunks/{state-cbm7rw8j.js → wellknown-7x92602t.js} +26 -26
  62. package/dist/chunks/{state-dmcwwrzf.js → wellknown-81c3ttat.js} +43 -43
  63. package/dist/chunks/{state-57ez7d0k.js → wellknown-81swgkk7.js} +7 -7
  64. package/dist/chunks/{state-rycbktba.js → wellknown-85h5126a.js} +3 -3
  65. package/dist/chunks/{state-g6h7bsxt.js → wellknown-86enc17z.js} +18 -18
  66. package/dist/chunks/{state-8d7r5vzw.js → wellknown-8d7r5vzw.js} +1 -1
  67. package/dist/chunks/{state-bxxr9cq6.js → wellknown-8djatqda.js} +23 -23
  68. package/dist/chunks/{state-dxs7zpw7.js → wellknown-8hjzc8er.js} +24 -24
  69. package/dist/chunks/{state-xhvbz364.js → wellknown-8jbk1876.js} +16 -16
  70. package/dist/chunks/{state-d858xzj7.js → wellknown-8tsdq50x.js} +4 -4
  71. package/dist/chunks/{state-m5qjvym0.js → wellknown-8ya03gbb.js} +30 -30
  72. package/dist/chunks/{state-94ek1h2f.js → wellknown-94ek1h2f.js} +2 -2
  73. package/dist/chunks/{state-k7hn9ts1.js → wellknown-99yqgcre.js} +11 -11
  74. package/dist/chunks/{state-mp6axp2d.js → wellknown-9psb6rs6.js} +17 -17
  75. package/dist/chunks/{state-6qsj15fd.js → wellknown-9s848a1g.js} +9 -9
  76. package/dist/chunks/{state-zdnfnbnt.js → wellknown-a13sefkk.js} +21 -21
  77. package/dist/chunks/{state-2cdppye1.js → wellknown-a1gyj93n.js} +9 -9
  78. package/dist/chunks/{state-7z7az0f5.js → wellknown-a2rpfkac.js} +13 -9
  79. package/dist/chunks/{state-aaet6srn.js → wellknown-aaet6srn.js} +2 -2
  80. package/dist/chunks/{state-0wey50z9.js → wellknown-aapew5zc.js} +15 -15
  81. package/dist/chunks/{state-1vtry6ap.js → wellknown-adwdgm2s.js} +11 -11
  82. package/dist/chunks/{state-dq0v80fr.js → wellknown-afed7ext.js} +5 -5
  83. package/dist/chunks/{state-dg2cj1yd.js → wellknown-ag580yac.js} +4 -4
  84. package/dist/chunks/wellknown-agqhfaby.js +252 -0
  85. package/dist/chunks/{state-rhg03jha.js → wellknown-ajwjy3vs.js} +18 -18
  86. package/dist/chunks/{state-9aq5295b.js → wellknown-am860khz.js} +5 -5
  87. package/dist/chunks/{state-g5vp43hv.js → wellknown-awrhstbg.js} +4 -4
  88. package/dist/chunks/{state-4n607a2z.js → wellknown-axs6pdy0.js} +5 -5
  89. package/dist/chunks/{state-fdms3n6w.js → wellknown-b0dgvpy7.js} +9 -9
  90. package/dist/chunks/{state-38zhvv5q.js → wellknown-b2emagap.js} +9 -9
  91. package/dist/chunks/{state-b6gygkdw.js → wellknown-b6gygkdw.js} +2 -2
  92. package/dist/chunks/{state-w6wc4w52.js → wellknown-bh9zpxkf.js} +319 -319
  93. package/dist/chunks/{state-gpk600j1.js → wellknown-bn0s77k4.js} +17 -17
  94. package/dist/chunks/{state-x46s54wc.js → wellknown-bphmbv2n.js} +5 -5
  95. package/dist/chunks/{state-zhfw9w26.js → wellknown-bqtyhf1w.js} +26 -26
  96. package/dist/chunks/{state-9g7qqvsb.js → wellknown-c0k7dzdy.js} +66 -66
  97. package/dist/chunks/{state-dj9sq318.js → wellknown-c78bbtc9.js} +5 -5
  98. package/dist/chunks/{state-331q5pgp.js → wellknown-c935hdwy.js} +24 -24
  99. package/dist/chunks/{state-gj2fds2z.js → wellknown-c9d081nh.js} +12 -12
  100. package/dist/chunks/{state-a8bn8zg0.js → wellknown-cavr175a.js} +4 -4
  101. package/dist/chunks/{state-tmgek03n.js → wellknown-cdx1pajz.js} +34 -34
  102. package/dist/chunks/{state-ckecvw8r.js → wellknown-ckecvw8r.js} +2 -2
  103. package/dist/chunks/{state-h6r3nrb9.js → wellknown-cpj0znwe.js} +4 -4
  104. package/dist/chunks/{state-dqpqvfc1.js → wellknown-csvdae6h.js} +22 -22
  105. package/dist/chunks/{state-djszqvmq.js → wellknown-cwa6csj7.js} +9 -9
  106. package/dist/chunks/{state-9zch71dn.js → wellknown-d5nw2z1z.js} +24 -24
  107. package/dist/chunks/{state-sfr5ve0q.js → wellknown-d7xn25tt.js} +20 -20
  108. package/dist/chunks/{state-ahze9mkv.js → wellknown-dek7wc1c.js} +8 -8
  109. package/dist/chunks/{state-9smb885v.js → wellknown-dppzafmr.js} +20 -20
  110. package/dist/chunks/{state-rdve76c1.js → wellknown-dqde9yfd.js} +11 -11
  111. package/dist/chunks/{state-wgzsnxjh.js → wellknown-dqg5586z.js} +20 -20
  112. package/dist/chunks/{state-qkrrfaax.js → wellknown-dsxxwtp7.js} +27 -27
  113. package/dist/chunks/{state-3pt3xjye.js → wellknown-dtscaaz7.js} +3 -3
  114. package/dist/chunks/{state-qp3v07n2.js → wellknown-dwq6ryhm.js} +8 -8
  115. package/dist/chunks/{state-527n1w5n.js → wellknown-dy5jbeh5.js} +7 -7
  116. package/dist/chunks/{state-87df55d3.js → wellknown-e1gwt1x8.js} +13 -13
  117. package/dist/chunks/{state-rhjbct0v.js → wellknown-eaj1djv9.js} +8 -8
  118. package/dist/chunks/{state-8hm487hb.js → wellknown-ec6my3m6.js} +22 -22
  119. package/dist/chunks/{state-ef5x83kb.js → wellknown-ef5x83kb.js} +1 -1
  120. package/dist/chunks/{state-x69hm2n9.js → wellknown-eg1dr1mk.js} +25 -25
  121. package/dist/chunks/{state-w2fbgn6w.js → wellknown-ekbzd23w.js} +20 -20
  122. package/dist/chunks/{state-4nzwy074.js → wellknown-em3h5ktn.js} +4 -4
  123. package/dist/chunks/{state-ttkne1yr.js → wellknown-em5kycxp.js} +26 -26
  124. package/dist/chunks/{state-erw5rpbs.js → wellknown-erw5rpbs.js} +2 -2
  125. package/dist/chunks/{state-etq0c3wd.js → wellknown-etq0c3wd.js} +1 -1
  126. package/dist/chunks/{state-smmy5npd.js → wellknown-ex8f569q.js} +23 -23
  127. package/dist/chunks/{state-ezbzr521.js → wellknown-ezzbe5rx.js} +32 -32
  128. package/dist/chunks/{state-dsdkcqh1.js → wellknown-f20kv4h9.js} +12 -12
  129. package/dist/chunks/{state-r8xr0va3.js → wellknown-f2n192rq.js} +4 -4
  130. package/dist/chunks/{state-eqrfgmgr.js → wellknown-f3ydt0tv.js} +32 -32
  131. package/dist/chunks/{state-s0gvgf44.js → wellknown-f4xvve52.js} +22 -22
  132. package/dist/chunks/{state-vchqcv40.js → wellknown-f931w4ch.js} +17 -17
  133. package/dist/chunks/{state-chjpp9jv.js → wellknown-fgdmd333.js} +14 -14
  134. package/dist/chunks/{state-07rdd209.js → wellknown-fjt4ex07.js} +17 -17
  135. package/dist/chunks/{state-kv8zgwe7.js → wellknown-fxd4qk6y.js} +5 -5
  136. package/dist/chunks/{state-ksg5ge3c.js → wellknown-g57wvbe7.js} +9 -9
  137. package/dist/chunks/{state-y7x142mt.js → wellknown-g8jasmdt.js} +8 -8
  138. package/dist/chunks/{state-gd4qta3r.js → wellknown-gd4qta3r.js} +1 -1
  139. package/dist/chunks/{state-6xjd4qpp.js → wellknown-gmyzj2jd.js} +84 -84
  140. package/dist/chunks/{state-580xtat9.js → wellknown-gp1cjb3w.js} +9 -9
  141. package/dist/chunks/{state-gv6a8nnw.js → wellknown-gv6a8nnw.js} +2 -2
  142. package/dist/chunks/{state-a8tm1nmv.js → wellknown-h3tjb8kw.js} +11 -11
  143. package/dist/chunks/{state-h6vf3j39.js → wellknown-h6vf3j39.js} +1 -1
  144. package/dist/chunks/{state-bwgpf6kh.js → wellknown-h8f4eya8.js} +21 -21
  145. package/dist/chunks/{state-gvz217w8.js → wellknown-h9h0mx4r.js} +14 -14
  146. package/dist/chunks/{state-bswpvtym.js → wellknown-hk66nqvm.js} +8 -8
  147. package/dist/chunks/{state-a3r4dcrj.js → wellknown-hkagk5ex.js} +2 -2
  148. package/dist/chunks/{state-ws3tx48n.js → wellknown-hktrdnnd.js} +82 -82
  149. package/dist/chunks/{state-dhw6r217.js → wellknown-hkvqk6yv.js} +20 -20
  150. package/dist/chunks/{state-1px9a8xa.js → wellknown-hkxzh5mk.js} +34 -34
  151. package/dist/chunks/{state-aesvhg1d.js → wellknown-hm7fj9g2.js} +43 -43
  152. package/dist/chunks/{state-vyxryegc.js → wellknown-hmzmjmkz.js} +33 -33
  153. package/dist/chunks/{state-4qv3yyzg.js → wellknown-hrepkr0b.js} +10 -10
  154. package/dist/chunks/{state-vpwpbydj.js → wellknown-hsm12kgw.js} +12 -12
  155. package/dist/chunks/wellknown-ht5y0zrb.js +18 -0
  156. package/dist/chunks/{state-m46seram.js → wellknown-hzmnsnsk.js} +20 -20
  157. package/dist/chunks/{state-j56e64zr.js → wellknown-j56e64zr.js} +1 -1
  158. package/dist/chunks/{state-14qvxy67.js → wellknown-je7wb95j.js} +4 -4
  159. package/dist/chunks/{state-ybhbtxjg.js → wellknown-jemfgm91.js} +3 -3
  160. package/dist/chunks/{state-52hb404k.js → wellknown-jhf3jymm.js} +6 -6
  161. package/dist/chunks/{state-dnrkp1py.js → wellknown-jmfhbzhy.js} +37 -37
  162. package/dist/chunks/{state-6n2eehmw.js → wellknown-jpazqe9z.js} +27 -27
  163. package/dist/chunks/{state-n98mt2bs.js → wellknown-jwhvtnff.js} +1 -1
  164. package/dist/chunks/{state-40e94ye7.js → wellknown-jwkjpyjz.js} +20 -20
  165. package/dist/chunks/{state-eef7h5va.js → wellknown-jxdqd6y8.js} +11 -11
  166. package/dist/chunks/{state-cjagda2z.js → wellknown-jyr2yk35.js} +25 -25
  167. package/dist/chunks/{state-ash9qzxk.js → wellknown-k13t3p08.js} +8 -8
  168. package/dist/chunks/{state-prk02b1h.js → wellknown-k21vf7jx.js} +17 -17
  169. package/dist/chunks/{state-kbhz4k7s.js → wellknown-k6nqjfhj.js} +11 -11
  170. package/dist/chunks/{state-4ncjv8c3.js → wellknown-kjg57q5q.js} +30 -30
  171. package/dist/chunks/{state-my5aw7sa.js → wellknown-kk5y5e31.js} +10 -10
  172. package/dist/chunks/{state-ngxakx5z.js → wellknown-kp7kck1f.js} +30 -30
  173. package/dist/chunks/{state-g9a672k8.js → wellknown-kpcbfkys.js} +8 -8
  174. package/dist/chunks/{state-ww31mshw.js → wellknown-kpd5tq3d.js} +21 -21
  175. package/dist/chunks/{state-scad059f.js → wellknown-kpscmddh.js} +51 -51
  176. package/dist/chunks/{state-q0jqcs2e.js → wellknown-ks5rdx6p.js} +25 -25
  177. package/dist/chunks/{state-q994nwkr.js → wellknown-kwzmgxvf.js} +6 -6
  178. package/dist/chunks/{state-xcfbfb3r.js → wellknown-ky3r4m1q.js} +23 -23
  179. package/dist/chunks/{state-2r4f9961.js → wellknown-kysfx830.js} +20 -20
  180. package/dist/chunks/{state-72c7x5rd.js → wellknown-m1met2j0.js} +5 -5
  181. package/dist/chunks/{state-fhs97t90.js → wellknown-m2d0j7c0.js} +9 -9
  182. package/dist/chunks/{state-m3fdjcah.js → wellknown-m3fdjcah.js} +1 -1
  183. package/dist/chunks/{state-dnndpd67.js → wellknown-m4arwand.js} +21 -21
  184. package/dist/chunks/{state-m9w0rfyh.js → wellknown-m9w0rfyh.js} +1 -1
  185. package/dist/chunks/{state-mhkvc446.js → wellknown-mvfsc1pv.js} +3 -3
  186. package/dist/chunks/{state-8tt36ewb.js → wellknown-mwjcgr28.js} +24 -24
  187. package/dist/chunks/{state-6q87yf47.js → wellknown-mykefr3t.js} +13 -13
  188. package/dist/chunks/{state-bhnryp6n.js → wellknown-n5g8qfkh.js} +32 -32
  189. package/dist/chunks/{state-jexxy024.js → wellknown-ndmv45hp.js} +3 -3
  190. package/dist/chunks/{state-10jtetaj.js → wellknown-ndqtf2h8.js} +6 -6
  191. package/dist/chunks/{state-892zz8qj.js → wellknown-nf2bhtke.js} +2 -2
  192. package/dist/chunks/{state-44849632.js → wellknown-ngkes2xe.js} +17 -17
  193. package/dist/chunks/{state-es9xe94t.js → wellknown-nvkqntqe.js} +6 -6
  194. package/dist/chunks/{state-3ztzj39p.js → wellknown-nygkak42.js} +15 -15
  195. package/dist/chunks/{state-k3c624dm.js → wellknown-nzks3jc8.js} +3 -3
  196. package/dist/chunks/{state-9hn6k4tm.js → wellknown-p42hj8p8.js} +8 -8
  197. package/dist/chunks/{state-b4xx7p0v.js → wellknown-pd22eygj.js} +10 -10
  198. package/dist/chunks/{state-nxhqveyz.js → wellknown-pecb0brz.js} +5 -5
  199. package/dist/chunks/{state-pjvnvgmy.js → wellknown-pjvnvgmy.js} +1 -1
  200. package/dist/chunks/{state-pknna89w.js → wellknown-pknna89w.js} +1 -1
  201. package/dist/chunks/{state-dbs1cfk5.js → wellknown-pwnwhfpz.js} +17 -17
  202. package/dist/chunks/{state-271vm2mc.js → wellknown-q272xss5.js} +175 -175
  203. package/dist/chunks/{state-22r3fh08.js → wellknown-q5s1j7v7.js} +10 -10
  204. package/dist/chunks/{state-nkf0pzw4.js → wellknown-q6acr7kh.js} +13 -13
  205. package/dist/chunks/{state-zw06ysnm.js → wellknown-qfynbmn6.js} +9 -9
  206. package/dist/chunks/{state-7dqw4kz8.js → wellknown-qgn6gcr1.js} +5 -5
  207. package/dist/chunks/{state-t3dtk66s.js → wellknown-qj9gqmga.js} +19 -19
  208. package/dist/chunks/{state-k53npxr2.js → wellknown-qjxevsft.js} +1 -1
  209. package/dist/chunks/{state-8w6y8kk9.js → wellknown-qn6refn7.js} +18 -18
  210. package/dist/chunks/{state-drwq78ky.js → wellknown-qqeeq2t9.js} +7 -7
  211. package/dist/chunks/{state-qsdy395h.js → wellknown-qsdy395h.js} +1 -1
  212. package/dist/chunks/{state-rdw6cm16.js → wellknown-rdw6cm16.js} +1 -1
  213. package/dist/chunks/{state-b2rczs3a.js → wellknown-rjyppv6f.js} +3 -3
  214. package/dist/chunks/{state-tvqfr44j.js → wellknown-rkqmn6vx.js} +20 -20
  215. package/dist/chunks/{state-khz59kc2.js → wellknown-rnkz2ts9.js} +26 -26
  216. package/dist/chunks/{state-r33ff4dw.js → wellknown-rph3zd4r.js} +6 -6
  217. package/dist/chunks/{state-trg234vc.js → wellknown-s333fh32.js} +30 -30
  218. package/dist/chunks/{state-x9ftw283.js → wellknown-s67bm65s.js} +42 -42
  219. package/dist/chunks/{state-r860wnh4.js → wellknown-sh0rhkk8.js} +3 -3
  220. package/dist/chunks/{state-nj4z6qgz.js → wellknown-shnd1k2w.js} +5 -5
  221. package/dist/chunks/{state-8zz3fhf5.js → wellknown-sng0mpqx.js} +27 -27
  222. package/dist/chunks/{state-wm0kxxzy.js → wellknown-sp9dn3zb.js} +11 -11
  223. package/dist/chunks/{state-2akz4pff.js → wellknown-stqdgpbp.js} +20 -20
  224. package/dist/chunks/{state-bgs9y14h.js → wellknown-sykc9y4a.js} +5 -5
  225. package/dist/chunks/{state-dq47ydgj.js → wellknown-t73e6et9.js} +11 -11
  226. package/dist/chunks/{state-2wh0tznn.js → wellknown-t9q6q9b2.js} +44 -44
  227. package/dist/chunks/{state-384gf1m7.js → wellknown-t9sbjs2e.js} +30 -30
  228. package/dist/chunks/{state-tazgh4e4.js → wellknown-tazgh4e4.js} +1 -1
  229. package/dist/chunks/{state-w2gpeyga.js → wellknown-tcae2ee6.js} +23 -23
  230. package/dist/chunks/{state-tcezcvh9.js → wellknown-tcezcvh9.js} +1 -1
  231. package/dist/chunks/{state-tdstcens.js → wellknown-tdstcens.js} +1 -1
  232. package/dist/chunks/{state-86dam8yv.js → wellknown-tf8gy6s3.js} +15 -15
  233. package/dist/chunks/{state-5gftdx11.js → wellknown-tk8n40ec.js} +39 -39
  234. package/dist/chunks/{state-821ss22x.js → wellknown-tm13csnt.js} +48 -48
  235. package/dist/chunks/{state-tvtrv512.js → wellknown-tvtrv512.js} +1 -1
  236. package/dist/chunks/{state-ckf8nxjz.js → wellknown-tz4n1mmd.js} +4 -4
  237. package/dist/chunks/{state-t15fh6tg.js → wellknown-tzbpqgcm.js} +11 -11
  238. package/dist/chunks/{state-zaxbaxp3.js → wellknown-v2ceagrf.js} +13 -13
  239. package/dist/chunks/{state-bgte5q86.js → wellknown-v2vtvyk0.js} +9 -9
  240. package/dist/chunks/{state-6f09tcf1.js → wellknown-v4agpjxc.js} +29 -29
  241. package/dist/chunks/{state-bct739vz.js → wellknown-ve4pfa0n.js} +4 -4
  242. package/dist/chunks/{state-veqvce7d.js → wellknown-veqvce7d.js} +1 -1
  243. package/dist/chunks/{state-63cq5ear.js → wellknown-vp2dr8ef.js} +11 -11
  244. package/dist/chunks/{state-r9tfwnqk.js → wellknown-vrzwcp5a.js} +3 -3
  245. package/dist/chunks/{state-vtxr0yy2.js → wellknown-vtxr0yy2.js} +2 -2
  246. package/dist/chunks/{state-vzcthcp8.js → wellknown-vzcthcp8.js} +1 -1
  247. package/dist/chunks/{state-w3wsvvr9.js → wellknown-w3wsvvr9.js} +1 -1
  248. package/dist/chunks/{state-wd3x2cqz.js → wellknown-wd3x2cqz.js} +2 -2
  249. package/dist/chunks/{state-wd87259q.js → wellknown-wd87259q.js} +1 -1
  250. package/dist/chunks/{state-cfm9g534.js → wellknown-wdwph0vc.js} +6 -6
  251. package/dist/chunks/{state-nybzzdwf.js → wellknown-wezhver3.js} +28 -28
  252. package/dist/chunks/{state-3fmtxraa.js → wellknown-wq4mmp7m.js} +4 -4
  253. package/dist/chunks/{state-fv5cfh7k.js → wellknown-wtp3j6ww.js} +11 -11
  254. package/dist/chunks/{state-vyj7e0dj.js → wellknown-wvncmcwq.js} +40 -40
  255. package/dist/chunks/{state-t6msp11s.js → wellknown-wwksdzh2.js} +6 -6
  256. package/dist/chunks/{state-8d0p2m37.js → wellknown-wxe1qfek.js} +6 -6
  257. package/dist/chunks/{state-x1ezjp6w.js → wellknown-x1ezjp6w.js} +1 -1
  258. package/dist/chunks/{state-103sd08j.js → wellknown-xmrqcsy3.js} +23 -23
  259. package/dist/chunks/{state-w5mngq82.js → wellknown-xqn9gnks.js} +1 -1
  260. package/dist/chunks/{state-g4w6jwnj.js → wellknown-xtv80xxm.js} +5 -5
  261. package/dist/chunks/{state-2gsn04w3.js → wellknown-xvhqwa82.js} +33 -33
  262. package/dist/chunks/{state-s2zjj5p9.js → wellknown-xw879xmy.js} +22 -22
  263. package/dist/chunks/{state-ab3q5qw2.js → wellknown-xx9hpt89.js} +30 -30
  264. package/dist/chunks/{state-n436yt00.js → wellknown-xz3z2ytp.js} +30 -30
  265. package/dist/chunks/{state-en8wy5tc.js → wellknown-y0ff3w8f.js} +6 -6
  266. package/dist/chunks/{state-y1fvbwt7.js → wellknown-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{state-k1jc7js8.js → wellknown-y285t7cb.js} +37 -37
  268. package/dist/chunks/{state-zpx8x5b1.js → wellknown-y4m0v0jh.js} +15 -15
  269. package/dist/chunks/{state-y71avatq.js → wellknown-y71avatq.js} +1 -1
  270. package/dist/chunks/{state-7wrqfeey.js → wellknown-y82z2pvx.js} +43 -43
  271. package/dist/chunks/{state-jrfdjycb.js → wellknown-yazmrbe0.js} +14 -14
  272. package/dist/chunks/{state-d2jcr80b.js → wellknown-ycxznwxp.js} +15 -15
  273. package/dist/chunks/{state-rxp8vwqb.js → wellknown-yfe0myzd.js} +14 -14
  274. package/dist/chunks/{state-e6hmchc5.js → wellknown-yjptyezs.js} +5 -5
  275. package/dist/chunks/{state-yrhqyw5v.js → wellknown-yrhqyw5v.js} +1 -1
  276. package/dist/chunks/{state-yrznvahk.js → wellknown-yrznvahk.js} +2 -2
  277. package/dist/chunks/{state-z07pqspn.js → wellknown-z07pqspn.js} +3 -3
  278. package/dist/chunks/{state-z0bkrqjs.js → wellknown-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{state-z63w68vq.js → wellknown-z63w68vq.js} +2 -2
  280. package/dist/chunks/{state-3tza3sf4.js → wellknown-zb6er0nt.js} +48 -48
  281. package/dist/chunks/{state-za95q0ey.js → wellknown-zbzar1k2.js} +15 -15
  282. package/dist/chunks/{state-1s1ztnqh.js → wellknown-zdmbvcj1.js} +14 -14
  283. package/dist/chunks/{state-zeh9ct20.js → wellknown-zeh9ct20.js} +2 -2
  284. package/dist/chunks/{state-37pjvmwd.js → wellknown-zej982vg.js} +9 -9
  285. package/dist/chunks/{state-jmx7yt6q.js → wellknown-zk4ds5mz.js} +3 -3
  286. package/dist/chunks/{state-vssbqz3f.js → wellknown-znwq617a.js} +6 -6
  287. package/dist/chunks/{state-87qk2fb2.js → wellknown-zpzh683m.js} +13 -13
  288. package/dist/chunks/{state-zr2ceqn5.js → wellknown-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/wellknown-zvrfp1rb.js +26 -0
  290. package/dist/chunks/{state-zxq2ej10.js → wellknown-zxq2ej10.js} +1 -1
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +9 -9
  293. package/dist/codemode/tool.js +3 -3
  294. package/dist/codemode/web.js +1 -1
  295. package/dist/command.js +83 -83
  296. package/dist/config/discovery.js +82 -82
  297. package/dist/config/markdown.js +1 -1
  298. package/dist/config/normalize.js +106 -106
  299. package/dist/config/plugin/agent.js +125 -125
  300. package/dist/config/plugin/command.js +214 -214
  301. package/dist/config/plugin/compaction.js +162 -162
  302. package/dist/config/plugin/compatibility.js +141 -141
  303. package/dist/config/plugin/entry-observer.js +1 -1
  304. package/dist/config/plugin/formatter.js +124 -124
  305. package/dist/config/plugin/image.js +123 -123
  306. package/dist/config/plugin/instruction.js +90 -90
  307. package/dist/config/plugin/location-watcher.js +123 -123
  308. package/dist/config/plugin/mcp.js +132 -132
  309. package/dist/config/plugin/policy.js +124 -124
  310. package/dist/config/plugin/provider.js +123 -123
  311. package/dist/config/plugin/reference.js +125 -125
  312. package/dist/config/plugin/shell.js +125 -125
  313. package/dist/config/plugin/skill-file.js +102 -102
  314. package/dist/config/plugin/skill.js +142 -142
  315. package/dist/config/plugin/snapshot.js +123 -123
  316. package/dist/config/plugin/source.js +124 -124
  317. package/dist/config/plugin/tool-output.js +125 -125
  318. package/dist/config/plugin/websearch.js +124 -124
  319. package/dist/config/plugin/worktree.js +125 -125
  320. package/dist/config/variable.js +3 -3
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +128 -128
  323. package/dist/credential/sql.js +2 -2
  324. package/dist/credential.js +85 -85
  325. package/dist/database/database.js +66 -66
  326. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  327. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  328. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  329. package/dist/database/drizzle/index.js +13 -13
  330. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  333. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  340. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  341. package/dist/database/drizzle.js +14 -14
  342. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  343. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  344. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  345. package/dist/database/migration/20260225215848_workspace.js +1 -1
  346. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  347. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  348. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  349. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  350. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  351. package/dist/database/migration/20260323234822_events.js +1 -1
  352. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  353. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  354. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  355. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  356. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  357. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  358. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  359. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  360. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  361. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  362. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  363. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  364. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  365. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  366. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  367. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  368. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  369. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  370. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  371. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  372. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  373. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  374. package/dist/database/migration/20260611035744_credential.js +1 -1
  375. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  376. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  377. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  378. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  379. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  380. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  381. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  382. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  383. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  384. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  385. package/dist/database/migration/20260812213948_worktree.js +1 -1
  386. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  387. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  388. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  389. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  390. package/dist/database/migration.gen.js +49 -49
  391. package/dist/database/migration.js +51 -51
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +76 -76
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +371 -371
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +1 -1
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +93 -93
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +93 -93
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +1 -1
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +70 -70
  415. package/dist/file-access.js +104 -104
  416. package/dist/file-mutation.js +94 -94
  417. package/dist/file-retention.js +1 -1
  418. package/dist/file.js +1 -1
  419. package/dist/filesystem/fff.bun.js +2 -2
  420. package/dist/filesystem/fff.js +1 -1
  421. package/dist/filesystem/fff.node.js +2 -2
  422. package/dist/filesystem/fff.workerd.js +2 -2
  423. package/dist/filesystem/ignore.js +1 -1
  424. package/dist/filesystem/location-watcher-policy.js +6 -6
  425. package/dist/filesystem/location-watcher.js +225 -225
  426. package/dist/filesystem/protected.js +1 -1
  427. package/dist/filesystem/search.js +103 -103
  428. package/dist/filesystem/watcher-binding.js +1 -1
  429. package/dist/filesystem/watcher.js +15 -15
  430. package/dist/filesystem.js +102 -102
  431. package/dist/form.js +86 -86
  432. package/dist/formatter/builtins.js +4 -4
  433. package/dist/formatter.js +87 -87
  434. package/dist/generate.js +105 -105
  435. package/dist/git.js +6 -6
  436. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  437. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  438. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  440. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  442. package/dist/github-copilot/copilot-provider.js +17 -17
  443. package/dist/github-copilot/models.js +99 -99
  444. package/dist/github-copilot/openai-compatible-error.js +1 -1
  445. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  446. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  447. package/dist/github-copilot/responses/openai-error.js +1 -1
  448. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  449. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  450. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  451. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  452. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  455. package/dist/id/id.js +1 -1
  456. package/dist/image/photon.js +2 -2
  457. package/dist/image.js +4 -4
  458. package/dist/instance/service.js +5 -5
  459. package/dist/instance.js +362 -362
  460. package/dist/instruction-discovery.js +85 -85
  461. package/dist/instructions/builtins.js +87 -87
  462. package/dist/instructions/index.js +5 -5
  463. package/dist/integration/connection.js +3 -3
  464. package/dist/integration.js +86 -86
  465. package/dist/job.js +79 -79
  466. package/dist/kv/sql.js +2 -2
  467. package/dist/kv.js +73 -73
  468. package/dist/location-activity.js +129 -129
  469. package/dist/location-lifecycle.js +107 -107
  470. package/dist/location-mutation.js +104 -104
  471. package/dist/location-service-map.js +86 -86
  472. package/dist/location-services.js +359 -359
  473. package/dist/location.js +87 -87
  474. package/dist/managed-policy.js +5 -5
  475. package/dist/mcp/client.js +91 -91
  476. package/dist/mcp/index.js +108 -108
  477. package/dist/mcp/instructions.js +126 -126
  478. package/dist/mcp/oauth.js +78 -78
  479. package/dist/mcp/stdio.js +90 -90
  480. package/dist/mime.js +1 -1
  481. package/dist/modal/models.js +99 -99
  482. package/dist/model-resolver.js +98 -98
  483. package/dist/model.js +100 -100
  484. package/dist/models-dev.js +107 -107
  485. package/dist/oauth/page.js +1 -1
  486. package/dist/permission/saved.js +76 -76
  487. package/dist/permission/sql.js +5 -5
  488. package/dist/permission.js +109 -109
  489. package/dist/persistent-pty/binary.bun.js +1 -1
  490. package/dist/persistent-pty/daemon.js +1 -1
  491. package/dist/persistent-pty/index.js +88 -88
  492. package/dist/persistent-pty/pty-binding.js +1 -1
  493. package/dist/persistent-pty.js +75 -75
  494. package/dist/plugin/agent.js +104 -104
  495. package/dist/plugin/command.js +101 -101
  496. package/dist/plugin/compaction.js +133 -133
  497. package/dist/plugin/hooks.js +5 -5
  498. package/dist/plugin/host.js +218 -218
  499. package/dist/plugin/identity.js +3 -3
  500. package/dist/plugin/instance.js +5 -5
  501. package/dist/plugin/internal.js +333 -333
  502. package/dist/plugin/mcp-codemode-defaults.js +8 -0
  503. package/dist/plugin/models-dev.js +96 -96
  504. package/dist/plugin/module.js +7 -7
  505. package/dist/plugin/optimize.js +4 -4
  506. package/dist/plugin/plan.js +102 -102
  507. package/dist/plugin/promise.js +1 -1
  508. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  509. package/dist/plugin/provider/azure.js +122 -122
  510. package/dist/plugin/provider/cerebras.js +1 -1
  511. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  512. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  513. package/dist/plugin/provider/cohere.js +2 -2
  514. package/dist/plugin/provider/configured.js +119 -119
  515. package/dist/plugin/provider/digitalocean.js +93 -93
  516. package/dist/plugin/provider/dynamic.js +2 -2
  517. package/dist/plugin/provider/factory.js +1 -1
  518. package/dist/plugin/provider/gateway.js +2 -2
  519. package/dist/plugin/provider/github-copilot.js +93 -93
  520. package/dist/plugin/provider/gitlab.js +93 -93
  521. package/dist/plugin/provider/google-vertex.js +90 -90
  522. package/dist/plugin/provider/kilo.js +1 -1
  523. package/dist/plugin/provider/llmgateway.js +77 -77
  524. package/dist/plugin/provider/lmstudio.js +122 -122
  525. package/dist/plugin/provider/modal.js +92 -92
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +122 -122
  528. package/dist/plugin/provider/openai.js +94 -94
  529. package/dist/plugin/provider/opencode.js +95 -95
  530. package/dist/plugin/provider/openrouter.js +91 -91
  531. package/dist/plugin/provider/perplexity.js +2 -2
  532. package/dist/plugin/provider/poe.js +78 -78
  533. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  534. package/dist/plugin/provider/sap-ai-core.js +91 -91
  535. package/dist/plugin/provider/sdk-factory.js +1 -1
  536. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  537. package/dist/plugin/provider/venice.js +2 -2
  538. package/dist/plugin/provider/vercel.js +90 -90
  539. package/dist/plugin/provider/vllm.js +122 -122
  540. package/dist/plugin/provider/xai.js +91 -91
  541. package/dist/plugin/provider/zenmux.js +1 -1
  542. package/dist/plugin/provider.js +160 -160
  543. package/dist/plugin/sdk.js +74 -74
  544. package/dist/plugin/service.js +3 -3
  545. package/dist/plugin/skill.js +141 -141
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +352 -352
  548. package/dist/plugin/tool-input-repair.js +4 -4
  549. package/dist/plugin/update.js +6 -6
  550. package/dist/plugin/vcs/git.js +86 -86
  551. package/dist/plugin/vcs/hg.js +86 -86
  552. package/dist/plugin/warming.js +121 -121
  553. package/dist/plugin/websearch/exa.js +7 -7
  554. package/dist/plugin/websearch/firecrawl.js +8 -8
  555. package/dist/plugin/websearch/index.js +9 -9
  556. package/dist/plugin/websearch/mcp.js +6 -6
  557. package/dist/plugin/websearch/parallel.js +8 -8
  558. package/dist/plugin/websearch/tavily.js +6 -6
  559. package/dist/plugin/websearch/tinyfish.js +8 -8
  560. package/dist/plugin.js +225 -225
  561. package/dist/project/schema.js +6 -6
  562. package/dist/project/sql.js +4 -4
  563. package/dist/project.js +86 -86
  564. package/dist/provider.js +101 -101
  565. package/dist/pty/protocol.js +1 -1
  566. package/dist/pty/schema.js +1 -1
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +92 -92
  569. package/dist/reference/instructions.js +89 -89
  570. package/dist/reference.js +91 -91
  571. package/dist/repository-cache.js +81 -81
  572. package/dist/repository.js +1 -1
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +97 -97
  575. package/dist/rpc.js +86 -86
  576. package/dist/schema.js +1 -1
  577. package/dist/session/command.js +74 -74
  578. package/dist/session/compaction.js +134 -134
  579. package/dist/session/context.js +152 -152
  580. package/dist/session/diff.js +88 -88
  581. package/dist/session/environment.js +5 -5
  582. package/dist/session/error.js +3 -3
  583. package/dist/session/event.js +1 -1
  584. package/dist/session/execution/restart.js +218 -218
  585. package/dist/session/execution.js +126 -126
  586. package/dist/session/generate.js +153 -153
  587. package/dist/session/history.js +13 -13
  588. package/dist/session/inbox.js +90 -90
  589. package/dist/session/info.js +3 -3
  590. package/dist/session/instruction-entry.js +79 -79
  591. package/dist/session/instruction-state.js +8 -8
  592. package/dist/session/instructions.js +97 -97
  593. package/dist/session/message-updater.js +2 -2
  594. package/dist/session/message.js +1 -1
  595. package/dist/session/model-request.js +119 -119
  596. package/dist/session/model-transport.js +9 -9
  597. package/dist/session/move.js +130 -130
  598. package/dist/session/projector.js +86 -86
  599. package/dist/session/prompt.js +105 -105
  600. package/dist/session/provider-context.js +3 -3
  601. package/dist/session/revert.js +90 -90
  602. package/dist/session/run-coordinator.js +3 -3
  603. package/dist/session/runner/index.js +3 -3
  604. package/dist/session/runner/llm.js +231 -231
  605. package/dist/session/runner/max-steps.js +1 -1
  606. package/dist/session/runner/model.js +98 -98
  607. package/dist/session/runner/publish-llm-event.js +3 -3
  608. package/dist/session/runner/retry.js +114 -114
  609. package/dist/session/runner/step.js +126 -126
  610. package/dist/session/runner/to-llm-message.js +2 -2
  611. package/dist/session/schema.js +5 -5
  612. package/dist/session/session.js +172 -172
  613. package/dist/session/shell.js +138 -138
  614. package/dist/session/skill.js +103 -103
  615. package/dist/session/sql.js +5 -5
  616. package/dist/session/stats.js +73 -73
  617. package/dist/session/store.js +81 -81
  618. package/dist/session/subagent-completion.js +1 -1
  619. package/dist/session/subagent-job.js +210 -210
  620. package/dist/session/system-prompt.js +5 -5
  621. package/dist/session/title.js +156 -156
  622. package/dist/session/to-session-error.js +111 -111
  623. package/dist/session/transfer.js +217 -217
  624. package/dist/session/usage.js +1 -1
  625. package/dist/session.js +216 -216
  626. package/dist/shell/parse.js +6 -6
  627. package/dist/shell/result.js +1 -1
  628. package/dist/shell/scan.js +1 -1
  629. package/dist/shell/select.js +9 -9
  630. package/dist/shell.js +138 -138
  631. package/dist/skill/discovery.js +6 -6
  632. package/dist/skill/instructions.js +105 -105
  633. package/dist/skill.js +112 -112
  634. package/dist/snapshot.js +89 -89
  635. package/dist/state.js +1 -1
  636. package/dist/tool/html-markdown.js +1 -1
  637. package/dist/tool/http-body.js +1 -1
  638. package/dist/tool/mcp.js +127 -127
  639. package/dist/tool/plugin/edit.js +120 -120
  640. package/dist/tool/plugin/file-diff.js +1 -1
  641. package/dist/tool/plugin/glob.js +116 -116
  642. package/dist/tool/plugin/grep.js +124 -124
  643. package/dist/tool/plugin/mcp-resource.js +116 -116
  644. package/dist/tool/plugin/opencode.js +3 -3
  645. package/dist/tool/plugin/patch.js +122 -122
  646. package/dist/tool/plugin/question.js +105 -105
  647. package/dist/tool/plugin/read.js +125 -125
  648. package/dist/tool/plugin/shell.js +217 -217
  649. package/dist/tool/plugin/skill.js +113 -113
  650. package/dist/tool/plugin/subagent.js +219 -219
  651. package/dist/tool/plugin/webfetch.js +112 -112
  652. package/dist/tool/plugin/websearch.js +114 -114
  653. package/dist/tool/plugin/write.js +122 -122
  654. package/dist/tool/read-filesystem.js +100 -100
  655. package/dist/tool/runtime.js +1 -1
  656. package/dist/tool-output.js +8 -8
  657. package/dist/tool.js +12 -12
  658. package/dist/types/plugin/{mcp-codemode-exclusion.d.ts → mcp-codemode-defaults.d.ts} +1 -1
  659. package/dist/util/error-summary.js +1 -1
  660. package/dist/util/error.js +1 -1
  661. package/dist/util/git-executable.js +2 -2
  662. package/dist/util/iife.js +1 -1
  663. package/dist/util/lazy.js +1 -1
  664. package/dist/util/slug.js +1 -1
  665. package/dist/util/token.js +1 -1
  666. package/dist/util/which.js +1 -1
  667. package/dist/util/wildcard.js +1 -1
  668. package/dist/v1/config/agent.js +5 -5
  669. package/dist/v1/config/attachment.js +4 -4
  670. package/dist/v1/config/command.js +3 -3
  671. package/dist/v1/config/config.js +16 -16
  672. package/dist/v1/config/error.js +2 -2
  673. package/dist/v1/config/formatter.js +5 -5
  674. package/dist/v1/config/layout.js +1 -1
  675. package/dist/v1/config/lsp.js +5 -5
  676. package/dist/v1/config/mcp.js +4 -4
  677. package/dist/v1/config/migrate.js +92 -92
  678. package/dist/v1/config/permission.js +3 -3
  679. package/dist/v1/config/plugin.js +3 -3
  680. package/dist/v1/config/provider-options.js +1 -1
  681. package/dist/v1/config/provider.js +4 -4
  682. package/dist/v1/config/server.js +2 -2
  683. package/dist/v1/config/skills.js +3 -3
  684. package/dist/v1/permission.js +1 -1
  685. package/dist/variant.js +93 -93
  686. package/dist/vcs/patch.js +1 -1
  687. package/dist/vcs.js +89 -89
  688. package/dist/websearch.js +84 -84
  689. package/dist/wellknown/plugin.js +76 -76
  690. package/dist/wellknown.js +81 -81
  691. package/dist/workspace/driver.js +5 -5
  692. package/dist/workspace/sql.js +1 -1
  693. package/dist/workspace.js +78 -78
  694. package/dist/worktree/directory.js +2 -2
  695. package/dist/worktree/git.js +10 -10
  696. package/dist/worktree/sql.js +5 -5
  697. package/dist/worktree/strategies.js +89 -89
  698. package/dist/worktree.js +94 -94
  699. package/package.json +8 -8
  700. package/dist/chunks/state-6mkgf16q.js +0 -252
  701. package/dist/chunks/state-qc068m1q.js +0 -18
  702. package/dist/chunks/state-tp76zfa1.js +0 -26
  703. package/dist/plugin/mcp-codemode-exclusion.js +0 -8
  704. /package/dist/chunks/{state-0mesazry.js → wellknown-0mesazry.js} +0 -0
  705. /package/dist/chunks/{state-0qkdqm5v.js → wellknown-0qkdqm5v.js} +0 -0
  706. /package/dist/chunks/{state-0zkw76rk.js → wellknown-0zkw76rk.js} +0 -0
  707. /package/dist/chunks/{state-17cy0kzp.js → wellknown-17cy0kzp.js} +0 -0
  708. /package/dist/chunks/{state-1cnp2v09.js → wellknown-1cnp2v09.js} +0 -0
  709. /package/dist/chunks/{state-1kg9ymc8.js → wellknown-1kg9ymc8.js} +0 -0
  710. /package/dist/chunks/{state-24dcb14g.js → wellknown-24dcb14g.js} +0 -0
  711. /package/dist/chunks/{state-2710q6r3.js → wellknown-2710q6r3.js} +0 -0
  712. /package/dist/chunks/{state-2axfhc9x.js → wellknown-2axfhc9x.js} +0 -0
  713. /package/dist/chunks/{state-2c3vjs8z.js → wellknown-2c3vjs8z.js} +0 -0
  714. /package/dist/chunks/{state-34c7v6d4.js → wellknown-34c7v6d4.js} +0 -0
  715. /package/dist/chunks/{state-359p4xyc.js → wellknown-359p4xyc.js} +0 -0
  716. /package/dist/chunks/{state-3asan66x.js → wellknown-3asan66x.js} +0 -0
  717. /package/dist/chunks/{state-3v8g72cx.js → wellknown-3v8g72cx.js} +0 -0
  718. /package/dist/chunks/{state-3w5fmr99.js → wellknown-3w5fmr99.js} +0 -0
  719. /package/dist/chunks/{state-3wcehsnq.js → wellknown-3wcehsnq.js} +0 -0
  720. /package/dist/chunks/{state-43n2bw4t.js → wellknown-43n2bw4t.js} +0 -0
  721. /package/dist/chunks/{state-4knz6hnm.js → wellknown-4knz6hnm.js} +0 -0
  722. /package/dist/chunks/{state-4vcrnpx2.js → wellknown-4vcrnpx2.js} +0 -0
  723. /package/dist/chunks/{state-4y7fprxs.js → wellknown-4y7fprxs.js} +0 -0
  724. /package/dist/chunks/{state-53557ph1.js → wellknown-53557ph1.js} +0 -0
  725. /package/dist/chunks/{state-550bvhaj.js → wellknown-550bvhaj.js} +0 -0
  726. /package/dist/chunks/{state-5qd3pb7m.js → wellknown-5qd3pb7m.js} +0 -0
  727. /package/dist/chunks/{state-6prwharc.js → wellknown-6prwharc.js} +0 -0
  728. /package/dist/chunks/{state-7akdwqpd.js → wellknown-7akdwqpd.js} +0 -0
  729. /package/dist/chunks/{state-7m9af43g.js → wellknown-7m9af43g.js} +0 -0
  730. /package/dist/chunks/{state-822emrt2.js → wellknown-822emrt2.js} +0 -0
  731. /package/dist/chunks/{state-88xbtdfr.js → wellknown-88xbtdfr.js} +0 -0
  732. /package/dist/chunks/{state-8n3pysct.js → wellknown-8n3pysct.js} +0 -0
  733. /package/dist/chunks/{state-8wj87zfr.js → wellknown-8wj87zfr.js} +0 -0
  734. /package/dist/chunks/{state-922hggd3.js → wellknown-922hggd3.js} +0 -0
  735. /package/dist/chunks/{state-9a4afbnw.js → wellknown-9a4afbnw.js} +0 -0
  736. /package/dist/chunks/{state-9rqn6x4v.js → wellknown-9rqn6x4v.js} +0 -0
  737. /package/dist/chunks/{state-a6k6eb26.js → wellknown-a6k6eb26.js} +0 -0
  738. /package/dist/chunks/{state-af5trqkr.js → wellknown-af5trqkr.js} +0 -0
  739. /package/dist/chunks/{state-afrmfg78.js → wellknown-afrmfg78.js} +0 -0
  740. /package/dist/chunks/{state-aqzs7mqg.js → wellknown-aqzs7mqg.js} +0 -0
  741. /package/dist/chunks/{state-atq7p7m5.js → wellknown-atq7p7m5.js} +0 -0
  742. /package/dist/chunks/{state-bkyjaxrp.js → wellknown-bkyjaxrp.js} +0 -0
  743. /package/dist/chunks/{state-bmr6ed5q.js → wellknown-bmr6ed5q.js} +0 -0
  744. /package/dist/chunks/{state-cf4snx6d.js → wellknown-cf4snx6d.js} +0 -0
  745. /package/dist/chunks/{state-cvy3z8tj.js → wellknown-cvy3z8tj.js} +0 -0
  746. /package/dist/chunks/{state-d9fn303g.js → wellknown-d9fn303g.js} +0 -0
  747. /package/dist/chunks/{state-d9jj8t3e.js → wellknown-d9jj8t3e.js} +0 -0
  748. /package/dist/chunks/{state-dajrwvna.js → wellknown-dajrwvna.js} +0 -0
  749. /package/dist/chunks/{state-dap0rakb.js → wellknown-dap0rakb.js} +0 -0
  750. /package/dist/chunks/{state-df08tz66.js → wellknown-df08tz66.js} +0 -0
  751. /package/dist/chunks/{state-dy18nga0.js → wellknown-dy18nga0.js} +0 -0
  752. /package/dist/chunks/{state-e5kj55wp.js → wellknown-e5kj55wp.js} +0 -0
  753. /package/dist/chunks/{state-e73j6tqm.js → wellknown-e73j6tqm.js} +0 -0
  754. /package/dist/chunks/{state-ec1grn59.js → wellknown-ec1grn59.js} +0 -0
  755. /package/dist/chunks/{state-eh3zwz77.js → wellknown-eh3zwz77.js} +0 -0
  756. /package/dist/chunks/{state-emrn6kk6.js → wellknown-emrn6kk6.js} +0 -0
  757. /package/dist/chunks/{state-f0mxakyp.js → wellknown-f0mxakyp.js} +0 -0
  758. /package/dist/chunks/{state-f6n9ztr4.js → wellknown-f6n9ztr4.js} +0 -0
  759. /package/dist/chunks/{state-faypxj3z.js → wellknown-faypxj3z.js} +0 -0
  760. /package/dist/chunks/{state-fd410y7t.js → wellknown-fd410y7t.js} +0 -0
  761. /package/dist/chunks/{state-fxgpk5d8.js → wellknown-fxgpk5d8.js} +0 -0
  762. /package/dist/chunks/{state-g4wezp1m.js → wellknown-g4wezp1m.js} +0 -0
  763. /package/dist/chunks/{state-g86h250q.js → wellknown-g86h250q.js} +0 -0
  764. /package/dist/chunks/{state-gebd4c9n.js → wellknown-gebd4c9n.js} +0 -0
  765. /package/dist/chunks/{state-gftt206x.js → wellknown-gftt206x.js} +0 -0
  766. /package/dist/chunks/{state-hjbc5kem.js → wellknown-hjbc5kem.js} +0 -0
  767. /package/dist/chunks/{state-hk9envan.js → wellknown-hk9envan.js} +0 -0
  768. /package/dist/chunks/{state-j2ntwpah.js → wellknown-j2ntwpah.js} +0 -0
  769. /package/dist/chunks/{state-j5zkgpj8.js → wellknown-j5zkgpj8.js} +0 -0
  770. /package/dist/chunks/{state-jjkms2e6.js → wellknown-jjkms2e6.js} +0 -0
  771. /package/dist/chunks/{state-jr7sbwjy.js → wellknown-jr7sbwjy.js} +0 -0
  772. /package/dist/chunks/{state-jwfs4k6c.js → wellknown-jwfs4k6c.js} +0 -0
  773. /package/dist/chunks/{state-jzg6c2d5.js → wellknown-jzg6c2d5.js} +0 -0
  774. /package/dist/chunks/{state-mp448xyj.js → wellknown-mp448xyj.js} +0 -0
  775. /package/dist/chunks/{state-msx8hqn2.js → wellknown-msx8hqn2.js} +0 -0
  776. /package/dist/chunks/{state-n05xt0ee.js → wellknown-n05xt0ee.js} +0 -0
  777. /package/dist/chunks/{state-n3j8tn72.js → wellknown-n3j8tn72.js} +0 -0
  778. /package/dist/chunks/{state-njntx4h6.js → wellknown-njntx4h6.js} +0 -0
  779. /package/dist/chunks/{state-q3sfg36h.js → wellknown-q3sfg36h.js} +0 -0
  780. /package/dist/chunks/{state-q74kybfr.js → wellknown-q74kybfr.js} +0 -0
  781. /package/dist/chunks/{state-qaymkmh1.js → wellknown-qaymkmh1.js} +0 -0
  782. /package/dist/chunks/{state-qb87gjwd.js → wellknown-qb87gjwd.js} +0 -0
  783. /package/dist/chunks/{state-qfa1cgps.js → wellknown-qfa1cgps.js} +0 -0
  784. /package/dist/chunks/{state-qg3g05ea.js → wellknown-qg3g05ea.js} +0 -0
  785. /package/dist/chunks/{state-qrg20bc0.js → wellknown-qrg20bc0.js} +0 -0
  786. /package/dist/chunks/{state-rcb2kzg1.js → wellknown-rcb2kzg1.js} +0 -0
  787. /package/dist/chunks/{state-sdp7kfr6.js → wellknown-sdp7kfr6.js} +0 -0
  788. /package/dist/chunks/{state-sk3qaz4a.js → wellknown-sk3qaz4a.js} +0 -0
  789. /package/dist/chunks/{state-ssg3fenm.js → wellknown-ssg3fenm.js} +0 -0
  790. /package/dist/chunks/{state-w803qqfp.js → wellknown-w803qqfp.js} +0 -0
  791. /package/dist/chunks/{state-wc3fc9cn.js → wellknown-wc3fc9cn.js} +0 -0
  792. /package/dist/chunks/{state-wer8tq1h.js → wellknown-wer8tq1h.js} +0 -0
  793. /package/dist/chunks/{state-wtztk69x.js → wellknown-wtztk69x.js} +0 -0
  794. /package/dist/chunks/{state-x0ckcb58.js → wellknown-x0ckcb58.js} +0 -0
  795. /package/dist/chunks/{state-x61499pn.js → wellknown-x61499pn.js} +0 -0
  796. /package/dist/chunks/{state-y44na4kk.js → wellknown-y44na4kk.js} +0 -0
  797. /package/dist/chunks/{state-y8cydn3q.js → wellknown-y8cydn3q.js} +0 -0
  798. /package/dist/chunks/{state-y8f7s663.js → wellknown-y8f7s663.js} +0 -0
  799. /package/dist/chunks/{state-ygaqb7jw.js → wellknown-ygaqb7jw.js} +0 -0
  800. /package/dist/chunks/{state-ym463w8f.js → wellknown-ym463w8f.js} +0 -0
  801. /package/dist/chunks/{state-z9919s4g.js → wellknown-z9919s4g.js} +0 -0
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./state-922hggd3.js";
3
+ } from "./wellknown-922hggd3.js";
4
4
  import {
5
5
  WorktreeError2,
6
6
  node86
7
- } from "./state-dq0v80fr.js";
7
+ } from "./wellknown-afed7ext.js";
8
8
  import {
9
9
  Slug2
10
- } from "./state-gebd4c9n.js";
10
+ } from "./wellknown-gebd4c9n.js";
11
11
  import {
12
12
  Service84,
13
13
  node88
14
- } from "./state-3pt3xjye.js";
14
+ } from "./wellknown-dtscaaz7.js";
15
15
  import {
16
16
  Service83,
17
17
  node87
18
- } from "./state-12as4csw.js";
18
+ } from "./wellknown-0cmnazqm.js";
19
19
  import {
20
20
  ProjectTable2
21
- } from "./state-wd3x2cqz.js";
21
+ } from "./wellknown-wd3x2cqz.js";
22
22
  import {
23
23
  WorktreeTable2
24
- } from "./state-94ek1h2f.js";
24
+ } from "./wellknown-94ek1h2f.js";
25
25
  import {
26
26
  ID17,
27
27
  NotFoundError11
28
- } from "./state-103sd08j.js";
28
+ } from "./wellknown-xmrqcsy3.js";
29
29
  import {
30
30
  Ref4
31
- } from "./state-xhvbz364.js";
31
+ } from "./wellknown-8jbk1876.js";
32
32
  import {
33
- Service60,
34
- node64
35
- } from "./state-38zhvv5q.js";
33
+ Service44,
34
+ node46
35
+ } from "./wellknown-b2emagap.js";
36
36
  import {
37
37
  DirectoryUnavailableError2,
38
38
  canonical2
39
- } from "./state-gv6a8nnw.js";
39
+ } from "./wellknown-gv6a8nnw.js";
40
40
  import {
41
- make12
42
- } from "./state-8d0p2m37.js";
41
+ make17
42
+ } from "./wellknown-wxe1qfek.js";
43
43
  import {
44
- Service28
45
- } from "./state-w2fbgn6w.js";
44
+ Service43
45
+ } from "./wellknown-ekbzd23w.js";
46
46
  import {
47
47
  __export
48
- } from "./state-9rqn6x4v.js";
48
+ } from "./wellknown-9rqn6x4v.js";
49
49
 
50
50
  // src/worktree.ts
51
51
  var exports_worktree2 = {};
@@ -54,18 +54,18 @@ __export(exports_worktree2, {
54
54
  DestinationExistsError: () => DestinationExistsError2,
55
55
  DirectoryUnavailableError: () => DirectoryUnavailableError2,
56
56
  Event: () => Event7,
57
- Info: () => Info4,
57
+ Info: () => Info8,
58
58
  InvalidDirectoryError: () => InvalidDirectoryError2,
59
59
  List: () => List2,
60
60
  ListEntry: () => ListEntry3,
61
61
  OperationError: () => OperationError2,
62
62
  RemoveInput: () => RemoveInput2,
63
- Service: () => Service27,
63
+ Service: () => Service42,
64
64
  SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
65
65
  StrategyID: () => StrategyID2,
66
66
  StrategyUnavailableError: () => StrategyUnavailableError2,
67
67
  Worktree: () => exports_worktree2,
68
- node: () => node30
68
+ node: () => node44
69
69
  });
70
70
  import { Context, Effect, Layer, Schema } from "effect";
71
71
  import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
@@ -79,7 +79,7 @@ import { OperationError as OperationError2 } from "@opencode/schema/worktree";
79
79
  var StrategyID2 = Worktree.StrategyID;
80
80
  var CreateInput3 = Worktree.CreateInput;
81
81
  var RemoveInput2 = Worktree.RemoveInput;
82
- var Info4 = Worktree.Info;
82
+ var Info8 = Worktree.Info;
83
83
  var List2 = Worktree.List;
84
84
  var ListEntry3 = Worktree.ListEntry;
85
85
 
@@ -96,16 +96,16 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
96
96
  }
97
97
  var Event7 = Worktree.Event;
98
98
 
99
- class Service27 extends Context.Service()("@opencode/Worktree") {
99
+ class Service42 extends Context.Service()("@opencode/Worktree") {
100
100
  }
101
- var layer = Layer.effect(Service27, Effect.gen(function* () {
101
+ var layer = Layer.effect(Service42, Effect.gen(function* () {
102
102
  const fs = yield* FSUtil.Service;
103
103
  const database = yield* Service84;
104
104
  const db = database.db;
105
105
  const bus = yield* Service83;
106
106
  const processService = yield* AppProcess.Service;
107
- const locations = yield* Service60;
108
- const gitStrategy = yield* make12;
107
+ const locations = yield* Service44;
108
+ const gitStrategy = yield* make17;
109
109
  const project = Effect.fnUntraced(function* (projectID) {
110
110
  const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
111
111
  if (!row)
@@ -120,7 +120,7 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
120
120
  const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
121
121
  const context = yield* locations.contextEffect(Ref4.make({ directory }));
122
122
  yield* Context.get(context, Plugin.Service).awaitActivation;
123
- return Context.get(context, Service28).get();
123
+ return Context.get(context, Service43).get();
124
124
  });
125
125
  const changed = Effect.fnUntraced(function* (projectID, update) {
126
126
  if (update)
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
251
251
  })).pipe(Effect.orDie);
252
252
  yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
253
253
  }, Effect.scoped);
254
- return Service27.of({
254
+ return Service42.of({
255
255
  list: Effect.fn("Worktree.list")(function* (input) {
256
256
  yield* project(input.projectID);
257
257
  return yield* ops.list(input.projectID);
@@ -261,10 +261,10 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
261
261
  refresh
262
262
  });
263
263
  }));
264
- var node30 = Node.makeGlobalNode({
265
- service: Service27,
264
+ var node44 = Node.makeGlobalNode({
265
+ service: Service42,
266
266
  layer,
267
- deps: [FSUtil.node, node86, node87, node88, AppProcess.node, node64]
267
+ deps: [FSUtil.node, node86, node87, node88, AppProcess.node, node46]
268
268
  });
269
269
  function operationError(strategy, operation, error) {
270
270
  if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
@@ -274,4 +274,4 @@ function operationError(strategy, operation, error) {
274
274
  });
275
275
  }
276
276
 
277
- export { StrategyID2, CreateInput3, RemoveInput2, Info4, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event7, Service27, node30, exports_worktree2, OperationError2 };
277
+ export { StrategyID2, CreateInput3, RemoveInput2, Info8, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event7, Service42, node44, exports_worktree2, OperationError2 };
@@ -1,31 +1,31 @@
1
1
  import {
2
- Key3,
2
+ Key4,
3
3
  removed2,
4
- make20,
4
+ make21,
5
5
  diffByKey2
6
- } from "./state-rhjbct0v.js";
6
+ } from "./wellknown-eaj1djv9.js";
7
7
  import {
8
8
  evaluate2
9
- } from "./state-5gftdx11.js";
9
+ } from "./wellknown-tk8n40ec.js";
10
10
  import {
11
- Service41,
12
- node44
13
- } from "./state-scad059f.js";
11
+ Service31,
12
+ node34
13
+ } from "./wellknown-kpscmddh.js";
14
14
  import {
15
15
  namespace2,
16
- name14
17
- } from "./state-ftffmgpp.js";
16
+ name13
17
+ } from "./wellknown-5pk6mrn1.js";
18
18
  import {
19
19
  __export
20
- } from "./state-9rqn6x4v.js";
20
+ } from "./wellknown-9rqn6x4v.js";
21
21
 
22
22
  // src/mcp/instructions.ts
23
23
  var exports_instructions4 = {};
24
24
  __export(exports_instructions4, {
25
25
  McpInstructions: () => exports_instructions4,
26
- Service: () => Service39,
27
- layer: () => layer14,
28
- node: () => node42
26
+ Service: () => Service26,
27
+ layer: () => layer9,
28
+ node: () => node30
29
29
  });
30
30
  import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import { Context, Effect, Layer, Schema } from "effect";
@@ -61,14 +61,14 @@ var update = (previous, current) => {
61
61
  `);
62
62
  };
63
63
 
64
- class Service39 extends Context.Service()("@opencode/McpInstructions") {
64
+ class Service26 extends Context.Service()("@opencode/McpInstructions") {
65
65
  }
66
- var layer14 = Layer.effect(Service39, Effect.gen(function* () {
67
- const mcp = yield* Service41;
68
- return Service39.of({
66
+ var layer9 = Layer.effect(Service26, Effect.gen(function* () {
67
+ const mcp = yield* Service31;
68
+ return Service26.of({
69
69
  load: Effect.fn("McpInstructions.load")(function* (permissions) {
70
- const source = (value) => make20({
71
- key: Key3.make("core/mcp-guidance"),
70
+ const source = (value) => make21({
71
+ key: Key4.make("core/mcp-guidance"),
72
72
  codec: Schema.toCodecJson(Schema.Array(Summary)),
73
73
  read: Effect.succeed(value),
74
74
  render: {
@@ -86,7 +86,7 @@ var layer14 = Layer.effect(Service39, Effect.gen(function* () {
86
86
  const codemode = owned[0]?.codemode !== false;
87
87
  if (codemode && !canExecute)
88
88
  return [];
89
- if (!owned.some((tool) => evaluate2(name14(tool.server, tool.name), "*", permissions).effect !== "deny"))
89
+ if (!owned.some((tool) => evaluate2(name13(tool.server, tool.name), "*", permissions).effect !== "deny"))
90
90
  return [];
91
91
  return [
92
92
  codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
@@ -96,6 +96,6 @@ var layer14 = Layer.effect(Service39, Effect.gen(function* () {
96
96
  })
97
97
  });
98
98
  }));
99
- var node42 = makeLocationNode({ service: Service39, layer: layer14, deps: [node44] });
99
+ var node30 = makeLocationNode({ service: Service26, layer: layer9, deps: [node34] });
100
100
 
101
- export { Service39, layer14, node42, exports_instructions4 };
101
+ export { Service26, layer9, node30, exports_instructions4 };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  useragent2
3
- } from "./state-fv5cfh7k.js";
3
+ } from "./wellknown-wtp3j6ww.js";
4
4
  import {
5
5
  Service83
6
- } from "./state-12as4csw.js";
6
+ } from "./wellknown-0cmnazqm.js";
7
7
  import {
8
8
  OAuth3,
9
- Event19
10
- } from "./state-384gf1m7.js";
9
+ Event14
10
+ } from "./wellknown-t9sbjs2e.js";
11
11
  import {
12
- ID14,
12
+ ID8,
13
13
  MethodID2
14
- } from "./state-0erg9wwv.js";
14
+ } from "./wellknown-6txqsvff.js";
15
15
  import {
16
16
  success2,
17
17
  error2
18
- } from "./state-pjvnvgmy.js";
18
+ } from "./wellknown-pjvnvgmy.js";
19
19
  import {
20
- ID13,
20
+ ID7,
21
21
  mergeOverlay2,
22
22
  mergeHeaders2
23
- } from "./state-bhnryp6n.js";
23
+ } from "./wellknown-n5g8qfkh.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: ID14.make("openai"),
47
+ integrationID: ID8.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: ID14.make("openai"),
120
+ integrationID: ID8.make("openai"),
121
121
  method: {
122
122
  id: headlessMethodID,
123
123
  type: "oauth",
@@ -159,7 +159,7 @@ var headless = (app) => ({
159
159
  }),
160
160
  refresh: (value) => refresh(headlessMethodID, value, app)
161
161
  });
162
- var OpenAIPlugin3 = define({
162
+ var OpenAIPlugin2 = define({
163
163
  id: "opencode.provider.openai",
164
164
  effect: Effect.fn(function* (ctx) {
165
165
  const bus = yield* Service83;
@@ -178,7 +178,7 @@ var OpenAIPlugin3 = define({
178
178
  });
179
179
  yield* load();
180
180
  yield* ctx.provider.transform((providers) => {
181
- const item = providers.get(ID13.openai);
181
+ const item = providers.get(ID7.openai);
182
182
  if (!item)
183
183
  return;
184
184
  const account = chatgpt?.metadata?.accountID;
@@ -197,7 +197,7 @@ var OpenAIPlugin3 = define({
197
197
  });
198
198
  });
199
199
  yield* ctx.model.transform((models) => {
200
- for (const model of models.list(ID13.openai)) {
200
+ for (const model of models.list(ID7.openai)) {
201
201
  models.update(model.providerID, model.id, (draft) => {
202
202
  if (!chatgpt)
203
203
  return;
@@ -225,9 +225,9 @@ var OpenAIPlugin3 = define({
225
225
  evt.baseURL = codexBaseURL;
226
226
  evt.headers.originator = "opencode";
227
227
  evt.headers["session-id"] = evt.sessionID;
228
- }), { providerID: ID13.openai });
228
+ }), { providerID: ID7.openai });
229
229
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
230
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
230
+ yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
231
231
  })
232
232
  });
233
233
  function headers(contentType, app) {
@@ -318,4 +318,4 @@ function claim(token) {
318
318
  return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
319
319
  }
320
320
 
321
- export { OpenAIPlugin3 };
321
+ export { OpenAIPlugin2 };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  create3
3
- } from "./state-rdw6cm16.js";
3
+ } from "./wellknown-rdw6cm16.js";
4
4
  import {
5
5
  which2
6
- } from "./state-qaymkmh1.js";
6
+ } from "./wellknown-qaymkmh1.js";
7
7
  import {
8
8
  __export
9
- } from "./state-9rqn6x4v.js";
9
+ } from "./wellknown-9rqn6x4v.js";
10
10
 
11
11
  // src/shell/select.ts
12
12
  var exports_select = {};
13
13
  __export(exports_select, {
14
- Options: () => Options6,
15
- Service: () => Service49,
14
+ Options: () => Options9,
15
+ Service: () => Service52,
16
16
  ShellSelect: () => exports_select,
17
17
  args: () => args2,
18
18
  configured: () => configured8,
19
19
  environment: () => environment2,
20
20
  gitbash: () => gitbash2,
21
- list: () => list3,
21
+ list: () => list4,
22
22
  login: () => login2,
23
23
  name: () => name15,
24
24
  node: () => node54,
@@ -43,11 +43,11 @@ var META = {
43
43
  sh: { login: true },
44
44
  zsh: { login: true }
45
45
  };
46
- var Options6 = Schema.Struct({
46
+ var Options9 = Schema.Struct({
47
47
  gitbash: Schema.optional(Schema.String)
48
48
  });
49
49
 
50
- class Service49 extends Context.Service()("@opencode/ShellSelect") {
50
+ class Service52 extends Context.Service()("@opencode/ShellSelect") {
51
51
  }
52
52
  function stat(file) {
53
53
  return statSync(file, { throwIfNoEntry: false }) ?? undefined;
@@ -184,11 +184,11 @@ resolve2.reset = () => {
184
184
  defaultConfigured = undefined;
185
185
  defaultCompatible = undefined;
186
186
  };
187
- async function list3(options, bin) {
187
+ async function list4(options, bin) {
188
188
  const shells = process.platform === "win32" ? win(options, bin) : await unix();
189
189
  return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
190
190
  }
191
- var layer = (options) => Layer.effect(Service49, Effect.gen(function* () {
191
+ var layer = (options) => Layer.effect(Service52, Effect.gen(function* () {
192
192
  const global = yield* Global.Service;
193
193
  const state = create3({
194
194
  name: "shell-select",
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service49, Effect.gen(function* () {
199
199
  }
200
200
  })
201
201
  });
202
- return Service49.of({
202
+ return Service52.of({
203
203
  transform: state.transform,
204
204
  reload: state.reload,
205
205
  resolve: (input) => Effect.sync(() => resolve2(input, state.get().shell, options, global.bin)),
206
- list: () => Effect.promise(() => list3(options, global.bin))
206
+ list: () => Effect.promise(() => list4(options, global.bin))
207
207
  });
208
208
  }));
209
209
  function configured8(options) {
210
- return makeLocationNode({ service: Service49, layer: layer(options), deps: [Global.node] });
210
+ return makeLocationNode({ service: Service52, layer: layer(options), deps: [Global.node] });
211
211
  }
212
212
  var node54 = configured8();
213
213
 
214
- export { Options6, Service49, gitbash2, name15, login2, ps2, args2, environment2, resolve2, list3, configured8, node54, exports_select };
214
+ export { Options9, Service52, gitbash2, name15, login2, ps2, args2, environment2, resolve2, list4, configured8, node54, exports_select };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./state-3pt3xjye.js";
4
+ } from "./wellknown-dtscaaz7.js";
5
5
  import {
6
- Key3,
6
+ Key4,
7
7
  removed2,
8
- make20,
8
+ make21,
9
9
  combine2
10
- } from "./state-rhjbct0v.js";
10
+ } from "./wellknown-eaj1djv9.js";
11
11
  import {
12
12
  InstructionEntryTable2
13
- } from "./state-z07pqspn.js";
13
+ } from "./wellknown-z07pqspn.js";
14
14
  import {
15
15
  __export
16
- } from "./state-9rqn6x4v.js";
16
+ } from "./wellknown-9rqn6x4v.js";
17
17
 
18
18
  // src/session/instruction-entry.ts
19
19
  var exports_instruction_entry = {};
20
20
  __export(exports_instruction_entry, {
21
- Info: () => Info6,
21
+ Info: () => Info5,
22
22
  InstructionEntry: () => exports_instruction_entry,
23
23
  Key: () => Key2,
24
24
  MaxValueBytes: () => MaxValueBytes2,
25
- Service: () => Service35,
25
+ Service: () => Service25,
26
26
  Snapshot: () => Snapshot2,
27
27
  ValueTooLargeError: () => ValueTooLargeError2,
28
28
  initialize: () => initialize2,
29
- node: () => node39,
29
+ node: () => node29,
30
30
  snapshot: () => snapshot2
31
31
  });
32
32
  import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
34
34
  import { InstructionEntry } from "@opencode/schema/instruction-entry";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  var Key2 = InstructionEntry.Key;
37
- var Info6 = InstructionEntry.Info;
37
+ var Info5 = InstructionEntry.Info;
38
38
  var Snapshot2 = InstructionEntry.Snapshot;
39
39
  var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
40
40
  var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
@@ -56,13 +56,13 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
56
56
  }))).run().pipe(Effect.orDie), { discard: true });
57
57
  });
58
58
 
59
- class Service35 extends Context.Service()("@opencode/InstructionEntry") {
59
+ class Service25 extends Context.Service()("@opencode/InstructionEntry") {
60
60
  }
61
61
  var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
62
62
  var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
63
63
  `);
64
- var source = (entry) => make20({
65
- key: Key3.make(`api/${entry.key}`),
64
+ var source = (entry) => make21({
65
+ key: Key4.make(`api/${entry.key}`),
66
66
  codec: Schema.toCodecJson(Schema.Json),
67
67
  read: Effect.succeed(entry.removed ? removed2 : entry.value),
68
68
  render: {
@@ -75,7 +75,7 @@ var source = (entry) => make20({
75
75
  removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
76
76
  }
77
77
  });
78
- var layer = Layer.effect(Service35, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service25, Effect.gen(function* () {
79
79
  const { db } = yield* Service84;
80
80
  const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
81
81
  return yield* db.select({
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
108
108
  const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
109
109
  return combine2((yield* rows(sessionID, true)).map(source));
110
110
  });
111
- return Service35.of({ list, put, remove, load });
111
+ return Service25.of({ list, put, remove, load });
112
112
  }));
113
- var node39 = makeLocationNode({ service: Service35, layer, deps: [node88] });
113
+ var node29 = makeLocationNode({ service: Service25, layer, deps: [node88] });
114
114
 
115
- export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service35, node39, exports_instruction_entry };
115
+ export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service25, node29, exports_instruction_entry };
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID13
3
- } from "./state-bhnryp6n.js";
2
+ ID7
3
+ } from "./wellknown-n5g8qfkh.js";
4
4
 
5
5
  // src/plugin/provider/google-vertex.ts
6
6
  import { Effect } from "effect";
@@ -24,7 +24,7 @@ var GoogleVertexPlugin2 = define({
24
24
  effect: Effect.fn(function* (ctx) {
25
25
  yield* ctx.provider.transform((evt) => {
26
26
  for (const item of evt.list()) {
27
- if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
27
+ if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID7.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
28
28
  continue;
29
29
  const project = resolveProject(item.provider.settings ?? {});
30
30
  const location = String(resolveLocation(item.provider.settings ?? {}));
@@ -42,7 +42,7 @@ var GoogleVertexPlugin2 = define({
42
42
  });
43
43
  yield* ctx.model.transform((models) => {
44
44
  for (const item of models.provider.list()) {
45
- if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
45
+ if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID7.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
46
46
  continue;
47
47
  const project = resolveProject(item.provider.settings ?? {});
48
48
  const location = String(resolveLocation(item.provider.settings ?? {}));
@@ -59,7 +59,7 @@ var GoogleVertexPlugin2 = define({
59
59
  }
60
60
  });
61
61
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
62
- if (evt.model.providerID !== ID13.googleVertex)
62
+ if (evt.model.providerID !== ID7.googleVertex)
63
63
  return;
64
64
  evt.language = evt.sdk.languageModel(String(evt.model.modelID ?? evt.model.id).trim());
65
65
  }));
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service51
3
- } from "./state-7wrqfeey.js";
2
+ Service50
3
+ } from "./wellknown-y82z2pvx.js";
4
4
  import {
5
5
  Service46
6
- } from "./state-0tmgye68.js";
6
+ } from "./wellknown-1nzh38e4.js";
7
7
  import {
8
8
  observe2
9
- } from "./state-qsdy395h.js";
9
+ } from "./wellknown-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./state-9rqn6x4v.js";
12
+ } from "./wellknown-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/image.ts
15
15
  var exports_image = {};
16
16
  __export(exports_image, {
17
17
  ConfigImagePlugin: () => exports_image,
18
- Plugin: () => Plugin22
18
+ Plugin: () => Plugin18
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin22 = define({
22
+ var Plugin18 = define({
23
23
  id: "opencode.config.image",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service51;
25
+ const config = yield* Service50;
26
26
  const image = yield* Service46;
27
27
  const loaded = yield* observe2(config, ctx.event, image.reload());
28
28
  yield* image.transform((editor) => {
@@ -43,4 +43,4 @@ var Plugin22 = define({
43
43
  })
44
44
  });
45
45
 
46
- export { Plugin22, exports_image };
46
+ export { Plugin18, exports_image };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./state-922hggd3.js";
3
+ } from "./wellknown-922hggd3.js";
4
4
  import {
5
- Info12
6
- } from "./state-a8bn8zg0.js";
5
+ Info13
6
+ } from "./wellknown-cavr175a.js";
7
7
  import {
8
8
  __export
9
- } from "./state-9rqn6x4v.js";
9
+ } from "./wellknown-9rqn6x4v.js";
10
10
 
11
11
  // src/v1/config/agent.ts
12
12
  var exports_agent3 = {};
13
13
  __export(exports_agent3, {
14
14
  ConfigAgentV1: () => exports_agent3,
15
- Info: () => Info10
15
+ Info: () => Info12
16
16
  });
17
17
  import { Schema, SchemaGetter } from "effect";
18
18
  var Color = Schema.Union([
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
44
44
  description: "Maximum number of agentic iterations before forcing text-only response"
45
45
  }),
46
46
  maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
47
- permission: Schema.optional(Info12)
47
+ permission: Schema.optional(Info13)
48
48
  }), [Schema.Record(Schema.String, Schema.Any)]);
49
49
  var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
50
50
  var normalize = (agent) => {
@@ -66,9 +66,9 @@ var normalize = (agent) => {
66
66
  const steps = agent.steps ?? agent.maxSteps;
67
67
  return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
68
68
  };
69
- var Info10 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
69
+ var Info12 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
70
70
  decode: SchemaGetter.transform(normalize),
71
71
  encode: SchemaGetter.passthrough({ strict: false })
72
72
  })).annotate({ identifier: "AgentConfig" });
73
73
 
74
- export { Info10, exports_agent3 };
74
+ export { Info12, exports_agent3 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./state-9rqn6x4v.js";
3
+ } from "./wellknown-9rqn6x4v.js";
4
4
 
5
5
  // src/file-retention.ts
6
6
  var exports_file_retention = {};