@opencode/core 0.0.0-dev-19607 → 0.0.0-dev-19610

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 (787) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +74 -74
  7. package/dist/chunks/{bus-pbp9sz76.js → shell-06cb0fd0.js} +4 -4
  8. package/dist/chunks/{bus-cst62dfw.js → shell-08hjcfds.js} +18 -18
  9. package/dist/chunks/{bus-atssdtxp.js → shell-0aw7zksj.js} +9 -9
  10. package/dist/chunks/{bus-vw8bwat5.js → shell-0bvq92zm.js} +29 -29
  11. package/dist/chunks/{bus-02nrjc1r.js → shell-0gdmqesm.js} +8 -8
  12. package/dist/chunks/{bus-d09006c3.js → shell-0p4j4cv0.js} +9 -9
  13. package/dist/chunks/{bus-0paq2nw3.js → shell-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{bus-0q0f95c6.js → shell-0q0f95c6.js} +1 -1
  15. package/dist/chunks/{bus-5t01hw7s.js → shell-11nyajgd.js} +1 -1
  16. package/dist/chunks/{bus-1vh9c756.js → shell-13vh4t13.js} +14 -14
  17. package/dist/chunks/{bus-bje2m678.js → shell-15actg85.js} +26 -26
  18. package/dist/chunks/{bus-2p5j9sv7.js → shell-19qt9ms0.js} +22 -22
  19. package/dist/chunks/{bus-1dazxqgg.js → shell-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{bus-gbcrwt4m.js → shell-1sr49ngx.js} +13 -13
  21. package/dist/chunks/{bus-cnb5z5cf.js → shell-1tceadnv.js} +11 -11
  22. package/dist/chunks/{bus-21r38tys.js → shell-21r38tys.js} +1 -1
  23. package/dist/chunks/{bus-6h73sxmp.js → shell-2402vzrj.js} +5 -5
  24. package/dist/chunks/{bus-q3t37ft6.js → shell-256nx13v.js} +3 -3
  25. package/dist/chunks/{bus-9gwk1d27.js → shell-286ag1vh.js} +299 -299
  26. package/dist/chunks/{bus-g4rgasps.js → shell-28aedara.js} +3 -3
  27. package/dist/chunks/{bus-kdh23bg8.js → shell-28ebf1cb.js} +19 -19
  28. package/dist/chunks/{bus-z63w68vq.js → shell-29x78va6.js} +6 -6
  29. package/dist/chunks/{bus-k5m0fz1p.js → shell-2a4f6v5q.js} +8 -8
  30. package/dist/chunks/{bus-2a5m3afh.js → shell-2a5m3afh.js} +1 -1
  31. package/dist/chunks/{bus-15nepkqg.js → shell-2n295dmf.js} +8 -8
  32. package/dist/chunks/{bus-tz2bjj40.js → shell-2qp6y8xf.js} +5 -5
  33. package/dist/chunks/{bus-w5k3gg8r.js → shell-35f3c8ak.js} +95 -95
  34. package/dist/chunks/{bus-ktjqq88n.js → shell-3657zqg5.js} +32 -32
  35. package/dist/chunks/{bus-eebdtnk6.js → shell-3ef74p4c.js} +11 -11
  36. package/dist/chunks/{bus-3fc6dm20.js → shell-3fc6dm20.js} +1 -1
  37. package/dist/chunks/{bus-vgg4xkgc.js → shell-3gqfk94q.js} +8 -8
  38. package/dist/chunks/{bus-9yma6mz2.js → shell-3h03gnyd.js} +23 -23
  39. package/dist/chunks/{bus-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{bus-3smtnn6g.js → shell-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{bus-3tvqynh2.js → shell-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{bus-bc94wkq6.js → shell-4dsybr1x.js} +22 -22
  43. package/dist/chunks/{bus-62akg8e4.js → shell-4j54dnxn.js} +24 -24
  44. package/dist/chunks/{bus-zcxhpjvf.js → shell-4nqjb4pf.js} +23 -23
  45. package/dist/chunks/{bus-zn1xqtaw.js → shell-4nt81eez.js} +28 -28
  46. package/dist/chunks/{bus-4sn99hha.js → shell-4sn99hha.js} +2 -2
  47. package/dist/chunks/{bus-c72vda60.js → shell-4t7xgrp5.js} +26 -26
  48. package/dist/chunks/{bus-c833tjt1.js → shell-4ymq8kc4.js} +36 -36
  49. package/dist/chunks/{bus-stb1hwq0.js → shell-4yzwshaw.js} +15 -15
  50. package/dist/chunks/{bus-5dfrxsm4.js → shell-4zr3jzsn.js} +8 -8
  51. package/dist/chunks/{bus-33w4ejhs.js → shell-56gdpj1q.js} +6 -6
  52. package/dist/chunks/{bus-p33wnvsh.js → shell-58k5q12w.js} +32 -32
  53. package/dist/chunks/{bus-5daktx2q.js → shell-5daktx2q.js} +1 -1
  54. package/dist/chunks/{bus-sg1mp0wp.js → shell-5k7whcx8.js} +28 -28
  55. package/dist/chunks/{bus-2fqncqd8.js → shell-5kbrmkke.js} +27 -27
  56. package/dist/chunks/{bus-r55vasa2.js → shell-5mtzsd3b.js} +4 -4
  57. package/dist/chunks/{bus-aez8skhx.js → shell-5p8jzcnz.js} +35 -35
  58. package/dist/chunks/{bus-wq4mgxca.js → shell-5rtg8v4f.js} +4 -4
  59. package/dist/chunks/{bus-5t3nmthw.js → shell-5t3nmthw.js} +2 -2
  60. package/dist/chunks/{bus-fz5sfred.js → shell-5wq01ar5.js} +15 -15
  61. package/dist/chunks/{bus-437w8xnq.js → shell-5wrt214j.js} +4 -4
  62. package/dist/chunks/shell-5y2ymaq7.js +26 -0
  63. package/dist/chunks/{bus-zbj7r6th.js → shell-60b87sp0.js} +10 -10
  64. package/dist/chunks/{bus-669tq793.js → shell-669tq793.js} +1 -1
  65. package/dist/chunks/{bus-jg1rg3jc.js → shell-6860rr66.js} +54 -54
  66. package/dist/chunks/{bus-yx0rmv9r.js → shell-6d6xcght.js} +6 -6
  67. package/dist/chunks/shell-6kdq0pjd.js +4 -0
  68. package/dist/chunks/{bus-6msgmcgs.js → shell-6msgmcgs.js} +1 -1
  69. package/dist/chunks/{bus-hs3grr87.js → shell-6zttb827.js} +19 -19
  70. package/dist/chunks/{bus-71q4at8m.js → shell-71q4at8m.js} +1 -1
  71. package/dist/chunks/{bus-engx0f1y.js → shell-724fmg57.js} +12 -12
  72. package/dist/chunks/{bus-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
  73. package/dist/chunks/{bus-0jwsre1p.js → shell-7dqw4kz8.js} +5 -5
  74. package/dist/chunks/{bus-ewp6a6x8.js → shell-7r3neg1r.js} +37 -37
  75. package/dist/chunks/{bus-g8n86g3v.js → shell-7xjyd7zv.js} +2 -2
  76. package/dist/chunks/{bus-73tb2d7t.js → shell-7yh4e7ss.js} +3 -3
  77. package/dist/chunks/{bus-v4hmzr0r.js → shell-844ef7ks.js} +8 -8
  78. package/dist/chunks/{bus-36eabxvj.js → shell-84bp84rj.js} +6 -6
  79. package/dist/chunks/{bus-pwpvhpkp.js → shell-85tc3nc8.js} +18 -18
  80. package/dist/chunks/{bus-8d7r5vzw.js → shell-8d7r5vzw.js} +1 -1
  81. package/dist/chunks/{bus-ppj42jsj.js → shell-8mgmrm9j.js} +12 -12
  82. package/dist/chunks/{bus-th34e5xy.js → shell-8nmhfs9c.js} +11 -11
  83. package/dist/chunks/{bus-8p4f9s12.js → shell-8p4f9s12.js} +2 -2
  84. package/dist/chunks/{bus-hspc2tk9.js → shell-8q0t0smx.js} +1 -1
  85. package/dist/chunks/{bus-ycxk46z7.js → shell-8saayj0p.js} +47 -47
  86. package/dist/chunks/{bus-q09v2a5f.js → shell-8sp2z33n.js} +4 -4
  87. package/dist/chunks/{bus-0h0xn3fd.js → shell-8ymghxqk.js} +37 -37
  88. package/dist/chunks/{bus-xpfz5w62.js → shell-91tfrhd1.js} +6 -6
  89. package/dist/chunks/{bus-rkhcyd8j.js → shell-98depksn.js} +19 -19
  90. package/dist/chunks/{bus-x60djdrf.js → shell-9b2gkdkm.js} +22 -22
  91. package/dist/chunks/{bus-4vdg0vy0.js → shell-a0b5fdkw.js} +31 -31
  92. package/dist/chunks/{bus-a1bz86dw.js → shell-a1bz86dw.js} +3 -3
  93. package/dist/chunks/{bus-2ryrfs8t.js → shell-a271x0pd.js} +18 -18
  94. package/dist/chunks/{bus-aaet6srn.js → shell-aaet6srn.js} +2 -2
  95. package/dist/chunks/{bus-nnq4n2qn.js → shell-am2x7dha.js} +43 -43
  96. package/dist/chunks/{bus-3vk31qq0.js → shell-apkjg5f1.js} +1 -1
  97. package/dist/chunks/{bus-mjymc32g.js → shell-axmvebxj.js} +21 -21
  98. package/dist/chunks/{bus-74ag36aw.js → shell-aypr84xx.js} +19 -19
  99. package/dist/chunks/{bus-n81xd9d5.js → shell-b1hg7rtt.js} +1 -1
  100. package/dist/chunks/{bus-b6gygkdw.js → shell-b6gygkdw.js} +2 -2
  101. package/dist/chunks/{bus-4ma4crhq.js → shell-bcgxfqk7.js} +18 -18
  102. package/dist/chunks/{bus-q2b1ymqp.js → shell-bct739vz.js} +4 -4
  103. package/dist/chunks/{bus-bdqrk2vk.js → shell-bdqrk2vk.js} +1 -1
  104. package/dist/chunks/{bus-m4gm00jg.js → shell-bdyp82c4.js} +7 -7
  105. package/dist/chunks/{bus-9a5x4ndh.js → shell-bfjqsf6d.js} +32 -32
  106. package/dist/chunks/{bus-c3nbwr53.js → shell-bj86b7kp.js} +34 -34
  107. package/dist/chunks/{bus-qrs9zw48.js → shell-bs5y9wpc.js} +11 -11
  108. package/dist/chunks/{bus-brbkvpcb.js → shell-bsp1pkt4.js} +14 -14
  109. package/dist/chunks/{bus-a3e7ey2w.js → shell-bz4hpk94.js} +5 -5
  110. package/dist/chunks/{bus-kxdh0s6n.js → shell-bz5ac8yj.js} +11 -11
  111. package/dist/chunks/{bus-dpmm3pd1.js → shell-c5n3h355.js} +30 -30
  112. package/dist/chunks/{bus-cdvm88eq.js → shell-ca7n9cfq.js} +9 -9
  113. package/dist/chunks/{bus-te6cpsjw.js → shell-cee4awht.js} +4 -4
  114. package/dist/chunks/{bus-cfpkc3c9.js → shell-cfpkc3c9.js} +2 -2
  115. package/dist/chunks/{bus-bbtrsqmd.js → shell-cgccaycz.js} +26 -26
  116. package/dist/chunks/{bus-686zvbc5.js → shell-cmmb813z.js} +62 -62
  117. package/dist/chunks/{bus-paegk39x.js → shell-csf2jhsg.js} +4 -4
  118. package/dist/chunks/{bus-2596a819.js → shell-czb7hhek.js} +13 -13
  119. package/dist/chunks/{bus-b8ey678w.js → shell-d3tz2ej1.js} +9 -9
  120. package/dist/chunks/{bus-179189h4.js → shell-d8nc1xcx.js} +4 -4
  121. package/dist/chunks/{bus-fcxm0egy.js → shell-da7pjdbd.js} +15 -15
  122. package/dist/chunks/{bus-wb72v9a5.js → shell-de5ahzfz.js} +15 -15
  123. package/dist/chunks/shell-deqxj2db.js +251 -0
  124. package/dist/chunks/{bus-mz0r0wg6.js → shell-dg9hzp08.js} +15 -15
  125. package/dist/chunks/{bus-hy39tjkp.js → shell-dmxnnmbc.js} +9 -9
  126. package/dist/chunks/{bus-2hhrjxd4.js → shell-e1tdxk5c.js} +16 -16
  127. package/dist/chunks/{bus-5qd3pb7m.js → shell-e3qxr5gk.js} +2 -2
  128. package/dist/chunks/{bus-e5nv3ght.js → shell-e5nv3ght.js} +2 -2
  129. package/dist/chunks/{bus-ef5x83kb.js → shell-ef5x83kb.js} +1 -1
  130. package/dist/chunks/{bus-q7wya2ft.js → shell-eg7y150x.js} +10 -10
  131. package/dist/chunks/{bus-7vgsmbaw.js → shell-er21d9gb.js} +9 -9
  132. package/dist/chunks/{bus-etq0c3wd.js → shell-etq0c3wd.js} +1 -1
  133. package/dist/chunks/{bus-zp47re1r.js → shell-eyhpk03x.js} +11 -11
  134. package/dist/chunks/{bus-0pwp6vee.js → shell-f00031fc.js} +17 -17
  135. package/dist/chunks/{bus-tdhe5xga.js → shell-f32czd11.js} +11 -11
  136. package/dist/chunks/{bus-tat11k01.js → shell-f58gpcny.js} +9 -9
  137. package/dist/chunks/{bus-v21t5zre.js → shell-f6dg4s51.js} +24 -24
  138. package/dist/chunks/{bus-f828m53h.js → shell-f828m53h.js} +2 -2
  139. package/dist/chunks/{bus-kffdrsz9.js → shell-f8gkg4y9.js} +5 -5
  140. package/dist/chunks/{bus-q73r15kw.js → shell-fbw0akyd.js} +9 -9
  141. package/dist/chunks/{bus-6cr8vpfb.js → shell-fekeaz39.js} +3 -3
  142. package/dist/chunks/{bus-63xctefh.js → shell-ff0htmxq.js} +6 -6
  143. package/dist/chunks/{bus-m4sagrtb.js → shell-fgga4tyk.js} +47 -47
  144. package/dist/chunks/{bus-t32f9ypw.js → shell-fk5v58mc.js} +11 -11
  145. package/dist/chunks/{bus-nkj12b6c.js → shell-fqax9b7r.js} +175 -175
  146. package/dist/chunks/{bus-fxbjtjnd.js → shell-fxbjtjnd.js} +1 -1
  147. package/dist/chunks/{bus-3vnz1vry.js → shell-g15mg1fp.js} +14 -14
  148. package/dist/chunks/{bus-t3qrjm11.js → shell-g99htbkw.js} +33 -33
  149. package/dist/chunks/{bus-gd4qta3r.js → shell-gd4qta3r.js} +1 -1
  150. package/dist/chunks/{bus-gx8hye9g.js → shell-gg94j5y5.js} +6 -6
  151. package/dist/chunks/{bus-erswsgcd.js → shell-gm46a55d.js} +8 -8
  152. package/dist/chunks/{bus-yjjca98t.js → shell-gmrsnwh8.js} +18 -18
  153. package/dist/chunks/{bus-hvk5xh9a.js → shell-gntzjf7q.js} +43 -43
  154. package/dist/chunks/{bus-th5km1p3.js → shell-gv6a8nnw.js} +5 -5
  155. package/dist/chunks/{bus-4xgsacd1.js → shell-gwz5q7xf.js} +31 -31
  156. package/dist/chunks/{bus-h03wrkyp.js → shell-h03wrkyp.js} +2 -2
  157. package/dist/chunks/{bus-h6vf3j39.js → shell-h6vf3j39.js} +1 -1
  158. package/dist/chunks/{bus-72774a2p.js → shell-h967t558.js} +6 -6
  159. package/dist/chunks/{bus-5rr0th1e.js → shell-hjfxv1hf.js} +15 -15
  160. package/dist/chunks/{bus-e82z9tr0.js → shell-hjt4xg1x.js} +7 -7
  161. package/dist/chunks/{bus-mca7v45c.js → shell-hka8yjdz.js} +32 -32
  162. package/dist/chunks/{bus-4fb4zfkv.js → shell-hmr3ea9n.js} +5 -5
  163. package/dist/chunks/{bus-xpgn474g.js → shell-hnf89hr7.js} +10 -10
  164. package/dist/chunks/{bus-cq1ssszz.js → shell-hs3g5x4f.js} +6 -6
  165. package/dist/chunks/{bus-ss6xz6nm.js → shell-j22hf46x.js} +11 -11
  166. package/dist/chunks/{bus-jcmyxw9c.js → shell-j2q2mctg.js} +12 -12
  167. package/dist/chunks/{bus-j56e64zr.js → shell-j56e64zr.js} +1 -1
  168. package/dist/chunks/{bus-zg4yt3jb.js → shell-j5krrq7s.js} +35 -35
  169. package/dist/chunks/{bus-r9nkdn48.js → shell-jamwgqsw.js} +5 -5
  170. package/dist/chunks/{bus-pbky2mmf.js → shell-jm7w29aj.js} +24 -24
  171. package/dist/chunks/{bus-hp23vqgj.js → shell-jsj4eyt5.js} +4 -4
  172. package/dist/chunks/{bus-0r7yqxbf.js → shell-jv01nqvq.js} +5 -5
  173. package/dist/chunks/{bus-ca7w653e.js → shell-jvf3yq6v.js} +4 -4
  174. package/dist/chunks/{bus-dpkg50ah.js → shell-jwcy2c2z.js} +4 -4
  175. package/dist/chunks/{bus-xp1v9ajb.js → shell-jz6dexdk.js} +27 -27
  176. package/dist/chunks/{bus-gzyaaj9q.js → shell-k7gxh26f.js} +13 -13
  177. package/dist/chunks/{bus-6xf9vr65.js → shell-k943pb70.js} +51 -51
  178. package/dist/chunks/{bus-h3ysd6bx.js → shell-kbdz3wd2.js} +36 -36
  179. package/dist/chunks/{bus-eq4mjx14.js → shell-kg219d3x.js} +28 -28
  180. package/dist/chunks/{bus-mx0gp0c3.js → shell-krapdeg3.js} +31 -31
  181. package/dist/chunks/{bus-gemkh5vt.js → shell-ks9y0tx3.js} +24 -24
  182. package/dist/chunks/{bus-vxn7m0sk.js → shell-kv6kzmzw.js} +5 -5
  183. package/dist/chunks/{bus-pw2ze8eb.js → shell-ky853516.js} +32 -32
  184. package/dist/chunks/{bus-jssqjg8j.js → shell-m7p8symg.js} +7 -7
  185. package/dist/chunks/{bus-jca4demv.js → shell-m7va1g8x.js} +2 -2
  186. package/dist/chunks/{bus-h7ygw6q4.js → shell-m86bnw2c.js} +9 -9
  187. package/dist/chunks/{bus-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
  188. package/dist/chunks/{bus-gcrpxwkb.js → shell-mtvv3gsd.js} +30 -30
  189. package/dist/chunks/{bus-jdc9ax8k.js → shell-myhx9xq2.js} +10 -10
  190. package/dist/chunks/{bus-j2149bqs.js → shell-n25js84d.js} +11 -11
  191. package/dist/chunks/{bus-75tpbtqb.js → shell-n3ej18g3.js} +35 -35
  192. package/dist/chunks/{bus-t5t549nc.js → shell-n64z6ayh.js} +20 -20
  193. package/dist/chunks/{bus-qyeevtht.js → shell-nemptxrn.js} +41 -41
  194. package/dist/chunks/{bus-at1kfnmk.js → shell-ngts6ef0.js} +8 -8
  195. package/dist/chunks/{bus-yd9ketrd.js → shell-nj8bs39t.js} +6 -6
  196. package/dist/chunks/{bus-15zevn5w.js → shell-p0b4ytnr.js} +6 -6
  197. package/dist/chunks/{bus-m63gtq16.js → shell-p3vxwp2p.js} +11 -11
  198. package/dist/chunks/{bus-gmjjhz4f.js → shell-pjcjb8bs.js} +9 -9
  199. package/dist/chunks/{bus-pjvnvgmy.js → shell-pjvnvgmy.js} +1 -1
  200. package/dist/chunks/{bus-pknna89w.js → shell-pknna89w.js} +1 -1
  201. package/dist/chunks/{bus-c9f7p254.js → shell-pt4mvj74.js} +19 -19
  202. package/dist/chunks/{bus-nzzy63ds.js → shell-py8w2btc.js} +11 -11
  203. package/dist/chunks/{bus-sm8rghk4.js → shell-q0fgvcgb.js} +13 -13
  204. package/dist/chunks/{bus-jgpr3qf1.js → shell-q12fghcp.js} +26 -26
  205. package/dist/chunks/{bus-xsxe7432.js → shell-q7436kvy.js} +9 -9
  206. package/dist/chunks/{bus-j35w4m74.js → shell-q7j6kr81.js} +6 -6
  207. package/dist/chunks/{bus-2wmcpc5j.js → shell-qj5hfmwn.js} +11 -11
  208. package/dist/chunks/{bus-t402yjt7.js → shell-qk0ppmjd.js} +24 -24
  209. package/dist/chunks/{bus-qsdy395h.js → shell-qsdy395h.js} +1 -1
  210. package/dist/chunks/{bus-w35y2yw8.js → shell-r78s3j5q.js} +37 -37
  211. package/dist/chunks/{bus-0hng8cbp.js → shell-r8b7ztcg.js} +17 -17
  212. package/dist/chunks/{bus-r9mregkx.js → shell-r9mregkx.js} +2 -2
  213. package/dist/chunks/shell-rap9a73h.js +18 -0
  214. package/dist/chunks/{bus-7zgx3034.js → shell-raxwcv5a.js} +18 -18
  215. package/dist/chunks/{bus-rdw6cm16.js → shell-rdw6cm16.js} +1 -1
  216. package/dist/chunks/{bus-nzh27kh4.js → shell-rhbwnwxm.js} +13 -13
  217. package/dist/chunks/{bus-w0sf05pe.js → shell-rq4xqzzd.js} +4 -4
  218. package/dist/chunks/{bus-1c2v1v3n.js → shell-rq8qh2nn.js} +28 -28
  219. package/dist/chunks/{bus-zakjc7j6.js → shell-s2n5r9er.js} +30 -30
  220. package/dist/chunks/{bus-5rvay4qb.js → shell-s45sawj9.js} +4 -4
  221. package/dist/chunks/{bus-yrznvahk.js → shell-s4enseaf.js} +2 -2
  222. package/dist/chunks/{bus-qed01h9c.js → shell-sf7s3xnw.js} +63 -63
  223. package/dist/chunks/{bus-0ffvsmqa.js → shell-shk57n0j.js} +11 -11
  224. package/dist/chunks/{bus-fec9d9pd.js → shell-shkg2ahe.js} +58 -58
  225. package/dist/chunks/{bus-2t9y4ena.js → shell-sx1q5qav.js} +22 -22
  226. package/dist/chunks/{bus-0n6rap9z.js → shell-t38tzg53.js} +19 -19
  227. package/dist/chunks/{bus-73z097ay.js → shell-t44n027g.js} +14 -14
  228. package/dist/chunks/{bus-tazgh4e4.js → shell-tazgh4e4.js} +1 -1
  229. package/dist/chunks/{bus-5pjsqvg3.js → shell-tb399yc8.js} +11 -11
  230. package/dist/chunks/{bus-dn2g8ty9.js → shell-tb9hrnng.js} +15 -15
  231. package/dist/chunks/{bus-89znhe33.js → shell-tcezcvh9.js} +4 -4
  232. package/dist/chunks/{bus-tdstcens.js → shell-tdstcens.js} +1 -1
  233. package/dist/chunks/{bus-nrtvwtgm.js → shell-tezxby1z.js} +4 -4
  234. package/dist/chunks/{bus-1p84h329.js → shell-tj413h3v.js} +17 -17
  235. package/dist/chunks/{bus-8qvaa28h.js → shell-tkg9rxzp.js} +10 -10
  236. package/dist/chunks/{bus-4czdean4.js → shell-tkwws864.js} +19 -19
  237. package/dist/chunks/{bus-d1e2r7xq.js → shell-tmaw6k1g.js} +10 -10
  238. package/dist/chunks/{bus-h11wzpyy.js → shell-tnsmn68n.js} +22 -22
  239. package/dist/chunks/{bus-tcg29b4q.js → shell-ts2x07a1.js} +1 -1
  240. package/dist/chunks/{bus-tvtrv512.js → shell-tvtrv512.js} +1 -1
  241. package/dist/chunks/{bus-pfrpta5e.js → shell-twygzwrg.js} +6 -6
  242. package/dist/chunks/{bus-a4f8rw7k.js → shell-v5enyfy9.js} +10 -10
  243. package/dist/chunks/{bus-b5ky3g00.js → shell-v8wr64pb.js} +2 -2
  244. package/dist/chunks/{bus-236xsrf6.js → shell-vcfd1qyk.js} +24 -24
  245. package/dist/chunks/{bus-veqvce7d.js → shell-veqvce7d.js} +1 -1
  246. package/dist/chunks/{bus-xx2kx86r.js → shell-vet9mkc8.js} +43 -43
  247. package/dist/chunks/{bus-q529tzg0.js → shell-vfx00g3j.js} +23 -23
  248. package/dist/chunks/{bus-fxqygnfa.js → shell-vkxpz7g2.js} +4 -4
  249. package/dist/chunks/{bus-cj2xyb66.js → shell-vnge3cnh.js} +20 -20
  250. package/dist/chunks/{bus-5d17xbav.js → shell-vnwmzs4a.js} +5 -5
  251. package/dist/chunks/{bus-aef6edcj.js → shell-vq3jpdg0.js} +11 -11
  252. package/dist/chunks/{bus-11nsfp7x.js → shell-vq7zxmz5.js} +23 -23
  253. package/dist/chunks/{bus-zp0g5kd9.js → shell-vz6ekzbd.js} +15 -15
  254. package/dist/chunks/{bus-vzcthcp8.js → shell-vzcthcp8.js} +1 -1
  255. package/dist/chunks/{bus-tsg9kv8a.js → shell-vzjym1fd.js} +12 -12
  256. package/dist/chunks/{bus-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
  257. package/dist/chunks/{bus-5nc0fa0s.js → shell-wc2samf7.js} +23 -23
  258. package/dist/chunks/{bus-wd87259q.js → shell-wd87259q.js} +1 -1
  259. package/dist/chunks/{bus-ay1e4s3v.js → shell-wn0qm5qp.js} +17 -17
  260. package/dist/chunks/{bus-cadqg8yk.js → shell-wn3yryga.js} +20 -20
  261. package/dist/chunks/{bus-7414g21f.js → shell-wztakc2g.js} +41 -41
  262. package/dist/chunks/{bus-x1ezjp6w.js → shell-x1ezjp6w.js} +1 -1
  263. package/dist/chunks/{bus-h686kfbk.js → shell-x9emb11y.js} +9 -9
  264. package/dist/chunks/{bus-km7e3hxy.js → shell-xa8bg79b.js} +1 -1
  265. package/dist/chunks/{bus-tkmwgdpd.js → shell-xb02k0wq.js} +7 -7
  266. package/dist/chunks/{bus-1xj9a01p.js → shell-xdaabq9e.js} +5 -5
  267. package/dist/chunks/{bus-v2tpmsmj.js → shell-xx3aj77c.js} +38 -38
  268. package/dist/chunks/{bus-v1ksr1cs.js → shell-xxs5sj5m.js} +5 -5
  269. package/dist/chunks/{bus-2vvyjm96.js → shell-xxvph2p0.js} +84 -84
  270. package/dist/chunks/{bus-y1fvbwt7.js → shell-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{bus-9cebcpzz.js → shell-y3nkzwnm.js} +30 -30
  272. package/dist/chunks/{bus-dbmkm35e.js → shell-y992ahjm.js} +1 -1
  273. package/dist/chunks/{bus-7kj26btf.js → shell-yaym739t.js} +3 -3
  274. package/dist/chunks/{bus-25k60r6z.js → shell-ydkphrk6.js} +17 -17
  275. package/dist/chunks/{bus-w6dzfd7x.js → shell-yhcttc12.js} +12 -12
  276. package/dist/chunks/{bus-yp2x3t23.js → shell-yp2x3t23.js} +1 -1
  277. package/dist/chunks/{bus-xevfw74a.js → shell-yqcnkns9.js} +27 -27
  278. package/dist/chunks/{bus-yrhqyw5v.js → shell-yrhqyw5v.js} +1 -1
  279. package/dist/chunks/{bus-h3sg4en2.js → shell-ysm27kyh.js} +10 -10
  280. package/dist/chunks/{bus-0f9afca0.js → shell-yt0fqk68.js} +5 -5
  281. package/dist/chunks/{bus-cpng0f85.js → shell-yw5eewpj.js} +29 -29
  282. package/dist/chunks/{bus-z0bkrqjs.js → shell-z0bkrqjs.js} +1 -1
  283. package/dist/chunks/{bus-9m5kzw0e.js → shell-z9nnsx8f.js} +8 -8
  284. package/dist/chunks/{bus-zeh9ct20.js → shell-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{bus-p53n7dng.js → shell-zhgb2amq.js} +30 -30
  286. package/dist/chunks/{bus-ete3mxyp.js → shell-znbb05ss.js} +16 -16
  287. package/dist/chunks/{bus-zr2ceqn5.js → shell-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{bus-e16t29dh.js → shell-zrg5zcty.js} +9 -9
  289. package/dist/chunks/{bus-8pbhr5rb.js → shell-zwbb9m0v.js} +11 -11
  290. package/dist/chunks/{bus-zxq2ej10.js → shell-zxq2ej10.js} +1 -1
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +5 -5
  293. package/dist/codemode/tool.js +2 -2
  294. package/dist/command.js +84 -84
  295. package/dist/config/discovery.js +83 -83
  296. package/dist/config/markdown.js +1 -1
  297. package/dist/config/normalize.js +105 -105
  298. package/dist/config/plugin/agent.js +124 -124
  299. package/dist/config/plugin/command.js +213 -213
  300. package/dist/config/plugin/compaction.js +159 -159
  301. package/dist/config/plugin/compatibility.js +140 -140
  302. package/dist/config/plugin/entry-observer.js +1 -1
  303. package/dist/config/plugin/formatter.js +123 -123
  304. package/dist/config/plugin/image.js +122 -122
  305. package/dist/config/plugin/instruction.js +89 -89
  306. package/dist/config/plugin/location-watcher.js +122 -122
  307. package/dist/config/plugin/mcp.js +131 -131
  308. package/dist/config/plugin/policy.js +122 -122
  309. package/dist/config/plugin/provider.js +121 -121
  310. package/dist/config/plugin/reference.js +124 -124
  311. package/dist/config/plugin/shell.js +122 -122
  312. package/dist/config/plugin/skill-file.js +101 -101
  313. package/dist/config/plugin/skill.js +143 -143
  314. package/dist/config/plugin/snapshot.js +122 -122
  315. package/dist/config/plugin/source.js +125 -125
  316. package/dist/config/plugin/tool-output.js +124 -124
  317. package/dist/config/plugin/websearch.js +121 -121
  318. package/dist/config/plugin/worktree.js +125 -125
  319. package/dist/config/variable.js +3 -3
  320. package/dist/config/watch.js +1 -1
  321. package/dist/config.js +127 -127
  322. package/dist/credential/sql.js +2 -2
  323. package/dist/credential.js +84 -84
  324. package/dist/database/database.js +65 -65
  325. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  327. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  328. package/dist/database/drizzle/index.js +15 -15
  329. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  332. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  340. package/dist/database/drizzle.js +16 -16
  341. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  342. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  343. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  344. package/dist/database/migration/20260225215848_workspace.js +1 -1
  345. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  346. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  347. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  348. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  349. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  350. package/dist/database/migration/20260323234822_events.js +1 -1
  351. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  352. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  353. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  354. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  355. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  356. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  357. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  358. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  359. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  360. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  361. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  362. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  363. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  364. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  365. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  366. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  367. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  368. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  369. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  370. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  371. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  372. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  373. package/dist/database/migration/20260611035744_credential.js +1 -1
  374. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  375. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  376. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  377. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  378. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  379. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  380. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  381. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  382. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  383. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  384. package/dist/database/migration/20260812213948_worktree.js +1 -1
  385. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  386. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  387. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  388. package/dist/database/migration.gen.js +48 -48
  389. package/dist/database/migration.js +50 -50
  390. package/dist/database/path.js +2 -2
  391. package/dist/database/schema.gen.js +1 -1
  392. package/dist/database/schema.sql.js +1 -1
  393. package/dist/database/sqlite.bun.js +1 -1
  394. package/dist/database/sqlite.js +1 -1
  395. package/dist/database/sqlite.node.js +1 -1
  396. package/dist/database/sqlite.workerd.js +1 -1
  397. package/dist/database/v1-migration.bun.js +75 -75
  398. package/dist/database/v1-migration.js +1 -1
  399. package/dist/effect/app-node-builder.js +365 -365
  400. package/dist/effect/app-node-platform.js +2 -2
  401. package/dist/effect/keyed-mutex.js +3 -3
  402. package/dist/effect/websocket-constructor.js +1 -1
  403. package/dist/environment/driver.js +1 -1
  404. package/dist/environment/environment.js +92 -92
  405. package/dist/environment/exec-defaults.js +2 -2
  406. package/dist/environment/files.js +1 -1
  407. package/dist/environment/index.js +94 -94
  408. package/dist/environment/local.js +2 -2
  409. package/dist/environment/memory.js +2 -2
  410. package/dist/environment/unavailable.js +1 -1
  411. package/dist/event/sql.js +1 -1
  412. package/dist/event-logger.js +73 -73
  413. package/dist/file-access.js +103 -103
  414. package/dist/file-mutation.js +93 -93
  415. package/dist/file-retention.js +1 -1
  416. package/dist/file.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/ignore.js +1 -1
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +223 -223
  424. package/dist/filesystem/protected.js +3 -3
  425. package/dist/filesystem/search.js +102 -102
  426. package/dist/filesystem/watcher-binding.js +3 -3
  427. package/dist/filesystem/watcher.js +15 -15
  428. package/dist/filesystem.js +105 -105
  429. package/dist/form.js +85 -85
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +86 -86
  432. package/dist/generate.js +103 -103
  433. package/dist/git.js +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +90 -90
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/id/id.js +1 -1
  454. package/dist/image/photon.js +2 -2
  455. package/dist/image.js +6 -6
  456. package/dist/instance/service.js +5 -5
  457. package/dist/instance.js +356 -356
  458. package/dist/instruction-discovery.js +84 -84
  459. package/dist/instructions/builtins.js +86 -86
  460. package/dist/instructions/index.js +5 -5
  461. package/dist/integration/connection.js +3 -3
  462. package/dist/integration.js +85 -85
  463. package/dist/job.js +78 -78
  464. package/dist/kv/sql.js +2 -2
  465. package/dist/kv.js +72 -72
  466. package/dist/location-activity.js +137 -137
  467. package/dist/location-mutation.js +103 -103
  468. package/dist/location-service-map.js +87 -87
  469. package/dist/location-services.js +353 -353
  470. package/dist/location.js +84 -84
  471. package/dist/mcp/client.js +90 -90
  472. package/dist/mcp/index.js +107 -107
  473. package/dist/mcp/instructions.js +124 -124
  474. package/dist/mcp/oauth.js +77 -77
  475. package/dist/mcp/stdio.js +89 -89
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +90 -90
  478. package/dist/model-resolver.js +96 -96
  479. package/dist/model.js +101 -101
  480. package/dist/models-dev.js +105 -105
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +79 -79
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +116 -116
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +87 -87
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +74 -74
  490. package/dist/plugin/agent.js +103 -103
  491. package/dist/plugin/command.js +100 -100
  492. package/dist/plugin/hooks.js +5 -5
  493. package/dist/plugin/host.js +216 -216
  494. package/dist/plugin/instance.js +5 -5
  495. package/dist/plugin/internal.js +327 -327
  496. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  497. package/dist/plugin/models-dev.js +94 -94
  498. package/dist/plugin/module.js +5 -5
  499. package/dist/plugin/optimize.js +2 -2
  500. package/dist/plugin/plan.js +101 -101
  501. package/dist/plugin/promise.js +1 -1
  502. package/dist/plugin/provider/alibaba.js +2 -2
  503. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  504. package/dist/plugin/provider/azure.js +121 -121
  505. package/dist/plugin/provider/cerebras.js +89 -89
  506. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  507. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  508. package/dist/plugin/provider/cohere.js +2 -2
  509. package/dist/plugin/provider/configured.js +118 -118
  510. package/dist/plugin/provider/digitalocean.js +92 -92
  511. package/dist/plugin/provider/dynamic.js +2 -2
  512. package/dist/plugin/provider/factory.js +1 -1
  513. package/dist/plugin/provider/gateway.js +2 -2
  514. package/dist/plugin/provider/github-copilot.js +92 -92
  515. package/dist/plugin/provider/gitlab.js +90 -90
  516. package/dist/plugin/provider/google-vertex.js +89 -89
  517. package/dist/plugin/provider/kilo.js +89 -89
  518. package/dist/plugin/provider/llmgateway.js +89 -89
  519. package/dist/plugin/provider/lmstudio.js +121 -121
  520. package/dist/plugin/provider/modal.js +91 -91
  521. package/dist/plugin/provider/nvidia.js +89 -89
  522. package/dist/plugin/provider/ollama.js +121 -121
  523. package/dist/plugin/provider/openai-compatible.js +1 -1
  524. package/dist/plugin/provider/openai.js +91 -91
  525. package/dist/plugin/provider/opencode.js +92 -92
  526. package/dist/plugin/provider/openrouter.js +90 -90
  527. package/dist/plugin/provider/perplexity.js +2 -2
  528. package/dist/plugin/provider/poe.js +77 -77
  529. package/dist/plugin/provider/sap-ai-core.js +90 -90
  530. package/dist/plugin/provider/sdk-factory.js +1 -1
  531. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  532. package/dist/plugin/provider/venice.js +2 -2
  533. package/dist/plugin/provider/vercel.js +89 -89
  534. package/dist/plugin/provider/vllm.js +121 -121
  535. package/dist/plugin/provider/xai.js +90 -90
  536. package/dist/plugin/provider/zenmux.js +89 -89
  537. package/dist/plugin/provider.js +159 -159
  538. package/dist/plugin/sdk.js +75 -75
  539. package/dist/plugin/service.js +3 -3
  540. package/dist/plugin/skill.js +140 -140
  541. package/dist/plugin/source-directory.js +1 -1
  542. package/dist/plugin/supervisor.js +342 -342
  543. package/dist/plugin/update.js +6 -6
  544. package/dist/plugin/variant.js +91 -91
  545. package/dist/plugin/vcs/git.js +85 -85
  546. package/dist/plugin/vcs/hg.js +85 -85
  547. package/dist/plugin/warming.js +120 -120
  548. package/dist/plugin/websearch/exa.js +7 -7
  549. package/dist/plugin/websearch/firecrawl.js +8 -8
  550. package/dist/plugin/websearch/index.js +9 -9
  551. package/dist/plugin/websearch/mcp.js +4 -4
  552. package/dist/plugin/websearch/parallel.js +8 -8
  553. package/dist/plugin/websearch/tavily.js +6 -6
  554. package/dist/plugin/websearch/tinyfish.js +8 -8
  555. package/dist/plugin.js +219 -219
  556. package/dist/project/schema.js +2 -2
  557. package/dist/project/sql.js +4 -4
  558. package/dist/project.js +85 -85
  559. package/dist/provider.js +100 -100
  560. package/dist/pty/protocol.js +1 -1
  561. package/dist/pty/schema.js +3 -3
  562. package/dist/pty/ticket.js +1 -1
  563. package/dist/pty.js +97 -97
  564. package/dist/reference/instructions.js +88 -88
  565. package/dist/reference.js +88 -88
  566. package/dist/repository-cache.js +80 -80
  567. package/dist/repository.js +3 -3
  568. package/dist/ripgrep/binary.js +2 -2
  569. package/dist/ripgrep.js +96 -96
  570. package/dist/rpc.js +85 -85
  571. package/dist/schema.js +1 -1
  572. package/dist/session/command.js +73 -73
  573. package/dist/session/compaction.js +133 -133
  574. package/dist/session/context.js +151 -151
  575. package/dist/session/diff.js +87 -87
  576. package/dist/session/environment.js +5 -5
  577. package/dist/session/error.js +7 -7
  578. package/dist/session/event.js +1 -1
  579. package/dist/session/execution/restart.js +223 -223
  580. package/dist/session/execution.js +126 -126
  581. package/dist/session/generate.js +150 -150
  582. package/dist/session/history.js +15 -15
  583. package/dist/session/inbox.js +87 -87
  584. package/dist/session/info.js +3 -3
  585. package/dist/session/instruction-entry.js +78 -78
  586. package/dist/session/instruction-state.js +8 -8
  587. package/dist/session/instructions.js +96 -96
  588. package/dist/session/message-updater.js +2 -2
  589. package/dist/session/message.js +1 -1
  590. package/dist/session/model-request.js +117 -117
  591. package/dist/session/model-transport.js +9 -9
  592. package/dist/session/move.js +130 -130
  593. package/dist/session/projector.js +85 -85
  594. package/dist/session/prompt.js +104 -104
  595. package/dist/session/provider-context.js +3 -3
  596. package/dist/session/revert.js +89 -89
  597. package/dist/session/run-coordinator.js +1 -1
  598. package/dist/session/runner/index.js +3 -3
  599. package/dist/session/runner/llm.js +228 -228
  600. package/dist/session/runner/max-steps.js +1 -1
  601. package/dist/session/runner/model.js +98 -98
  602. package/dist/session/runner/publish-llm-event.js +3 -3
  603. package/dist/session/runner/retry.js +114 -114
  604. package/dist/session/runner/step.js +123 -123
  605. package/dist/session/runner/to-llm-message.js +2 -2
  606. package/dist/session/schema.js +5 -5
  607. package/dist/session/session.js +172 -172
  608. package/dist/session/shell.js +137 -137
  609. package/dist/session/skill.js +102 -102
  610. package/dist/session/sql.js +5 -5
  611. package/dist/session/stats.js +72 -72
  612. package/dist/session/store.js +84 -84
  613. package/dist/session/subagent-completion.js +1 -1
  614. package/dist/session/subagent-job.js +209 -209
  615. package/dist/session/system-prompt.js +5 -5
  616. package/dist/session/title.js +153 -153
  617. package/dist/session/to-session-error.js +111 -111
  618. package/dist/session/transfer.js +219 -219
  619. package/dist/session/usage.js +1 -1
  620. package/dist/session.js +219 -219
  621. package/dist/shell/parse.js +6 -6
  622. package/dist/shell/result.js +1 -1
  623. package/dist/shell/scan.js +1 -1
  624. package/dist/shell/select.js +13 -13
  625. package/dist/shell.js +139 -139
  626. package/dist/skill/discovery.js +6 -6
  627. package/dist/skill/instructions.js +106 -106
  628. package/dist/skill.js +109 -109
  629. package/dist/snapshot.js +88 -88
  630. package/dist/state.js +1 -1
  631. package/dist/tool/html-markdown.js +1 -1
  632. package/dist/tool/http-body.js +1 -1
  633. package/dist/tool/mcp.js +123 -123
  634. package/dist/tool/plugin/edit.js +119 -119
  635. package/dist/tool/plugin/file-diff.js +1 -1
  636. package/dist/tool/plugin/glob.js +123 -123
  637. package/dist/tool/plugin/grep.js +123 -123
  638. package/dist/tool/plugin/opencode.js +3 -3
  639. package/dist/tool/plugin/patch.js +121 -121
  640. package/dist/tool/plugin/question.js +104 -104
  641. package/dist/tool/plugin/read.js +122 -122
  642. package/dist/tool/plugin/shell.js +214 -214
  643. package/dist/tool/plugin/skill.js +108 -108
  644. package/dist/tool/plugin/subagent.js +218 -218
  645. package/dist/tool/plugin/webfetch.js +109 -109
  646. package/dist/tool/plugin/websearch.js +111 -111
  647. package/dist/tool/plugin/write.js +121 -121
  648. package/dist/tool/read-filesystem.js +99 -99
  649. package/dist/tool/runtime.js +1 -1
  650. package/dist/tool-output.js +8 -8
  651. package/dist/tool.js +13 -13
  652. package/dist/util/error-summary.js +1 -1
  653. package/dist/util/error.js +1 -1
  654. package/dist/util/git-executable.js +2 -2
  655. package/dist/util/iife.js +1 -1
  656. package/dist/util/lazy.js +1 -1
  657. package/dist/util/slug.js +1 -1
  658. package/dist/util/token.js +1 -1
  659. package/dist/util/which.js +1 -1
  660. package/dist/util/wildcard.js +1 -1
  661. package/dist/v1/config/agent.js +7 -7
  662. package/dist/v1/config/attachment.js +4 -4
  663. package/dist/v1/config/command.js +5 -5
  664. package/dist/v1/config/config.js +16 -16
  665. package/dist/v1/config/error.js +4 -4
  666. package/dist/v1/config/formatter.js +1 -1
  667. package/dist/v1/config/layout.js +1 -1
  668. package/dist/v1/config/lsp.js +5 -5
  669. package/dist/v1/config/mcp.js +4 -4
  670. package/dist/v1/config/migrate.js +91 -91
  671. package/dist/v1/config/permission.js +7 -7
  672. package/dist/v1/config/plugin.js +3 -3
  673. package/dist/v1/config/provider-options.js +1 -1
  674. package/dist/v1/config/provider.js +4 -4
  675. package/dist/v1/config/server.js +2 -2
  676. package/dist/v1/config/skills.js +3 -3
  677. package/dist/v1/permission.js +1 -1
  678. package/dist/vcs/patch.js +1 -1
  679. package/dist/vcs.js +88 -88
  680. package/dist/websearch.js +83 -83
  681. package/dist/wellknown/plugin.js +75 -75
  682. package/dist/wellknown.js +78 -78
  683. package/dist/workspace/driver.js +5 -5
  684. package/dist/workspace/sql.js +1 -1
  685. package/dist/workspace.js +79 -79
  686. package/dist/worktree/directory.js +4 -4
  687. package/dist/worktree/git.js +10 -10
  688. package/dist/worktree/refresh.js +345 -345
  689. package/dist/worktree/sql.js +5 -5
  690. package/dist/worktree.js +95 -95
  691. package/package.json +8 -8
  692. package/dist/chunks/bus-1m7ztpz9.js +0 -26
  693. package/dist/chunks/bus-pf31ssb9.js +0 -18
  694. package/dist/chunks/bus-qapv375x.js +0 -4
  695. package/dist/chunks/bus-x88d9nzm.js +0 -251
  696. /package/dist/chunks/{bus-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
  697. /package/dist/chunks/{bus-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
  698. /package/dist/chunks/{bus-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
  699. /package/dist/chunks/{bus-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
  700. /package/dist/chunks/{bus-1kg9ymc8.js → shell-1kg9ymc8.js} +0 -0
  701. /package/dist/chunks/{bus-2710q6r3.js → shell-2710q6r3.js} +0 -0
  702. /package/dist/chunks/{bus-2axfhc9x.js → shell-2axfhc9x.js} +0 -0
  703. /package/dist/chunks/{bus-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
  704. /package/dist/chunks/{bus-359p4xyc.js → shell-359p4xyc.js} +0 -0
  705. /package/dist/chunks/{bus-3asan66x.js → shell-3asan66x.js} +0 -0
  706. /package/dist/chunks/{bus-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
  707. /package/dist/chunks/{bus-3w5fmr99.js → shell-3w5fmr99.js} +0 -0
  708. /package/dist/chunks/{bus-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
  709. /package/dist/chunks/{bus-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
  710. /package/dist/chunks/{bus-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
  711. /package/dist/chunks/{bus-4vcrnpx2.js → shell-4vcrnpx2.js} +0 -0
  712. /package/dist/chunks/{bus-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
  713. /package/dist/chunks/{bus-53557ph1.js → shell-53557ph1.js} +0 -0
  714. /package/dist/chunks/{bus-550bvhaj.js → shell-550bvhaj.js} +0 -0
  715. /package/dist/chunks/{bus-6prwharc.js → shell-6prwharc.js} +0 -0
  716. /package/dist/chunks/{bus-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
  717. /package/dist/chunks/{bus-7m9af43g.js → shell-7m9af43g.js} +0 -0
  718. /package/dist/chunks/{bus-822emrt2.js → shell-822emrt2.js} +0 -0
  719. /package/dist/chunks/{bus-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
  720. /package/dist/chunks/{bus-8n3pysct.js → shell-8n3pysct.js} +0 -0
  721. /package/dist/chunks/{bus-922hggd3.js → shell-922hggd3.js} +0 -0
  722. /package/dist/chunks/{bus-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
  723. /package/dist/chunks/{bus-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
  724. /package/dist/chunks/{bus-a6k6eb26.js → shell-a6k6eb26.js} +0 -0
  725. /package/dist/chunks/{bus-af5trqkr.js → shell-af5trqkr.js} +0 -0
  726. /package/dist/chunks/{bus-afrmfg78.js → shell-afrmfg78.js} +0 -0
  727. /package/dist/chunks/{bus-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
  728. /package/dist/chunks/{bus-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
  729. /package/dist/chunks/{bus-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
  730. /package/dist/chunks/{bus-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
  731. /package/dist/chunks/{bus-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
  732. /package/dist/chunks/{bus-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
  733. /package/dist/chunks/{bus-d9fn303g.js → shell-d9fn303g.js} +0 -0
  734. /package/dist/chunks/{bus-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
  735. /package/dist/chunks/{bus-dajrwvna.js → shell-dajrwvna.js} +0 -0
  736. /package/dist/chunks/{bus-dap0rakb.js → shell-dap0rakb.js} +0 -0
  737. /package/dist/chunks/{bus-df08tz66.js → shell-df08tz66.js} +0 -0
  738. /package/dist/chunks/{bus-dy18nga0.js → shell-dy18nga0.js} +0 -0
  739. /package/dist/chunks/{bus-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
  740. /package/dist/chunks/{bus-e73j6tqm.js → shell-e73j6tqm.js} +0 -0
  741. /package/dist/chunks/{bus-ec1grn59.js → shell-ec1grn59.js} +0 -0
  742. /package/dist/chunks/{bus-eh3zwz77.js → shell-eh3zwz77.js} +0 -0
  743. /package/dist/chunks/{bus-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
  744. /package/dist/chunks/{bus-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
  745. /package/dist/chunks/{bus-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
  746. /package/dist/chunks/{bus-faypxj3z.js → shell-faypxj3z.js} +0 -0
  747. /package/dist/chunks/{bus-fd410y7t.js → shell-fd410y7t.js} +0 -0
  748. /package/dist/chunks/{bus-fxgpk5d8.js → shell-fxgpk5d8.js} +0 -0
  749. /package/dist/chunks/{bus-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
  750. /package/dist/chunks/{bus-g86h250q.js → shell-g86h250q.js} +0 -0
  751. /package/dist/chunks/{bus-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
  752. /package/dist/chunks/{bus-gftt206x.js → shell-gftt206x.js} +0 -0
  753. /package/dist/chunks/{bus-hjbc5kem.js → shell-hjbc5kem.js} +0 -0
  754. /package/dist/chunks/{bus-hk9envan.js → shell-hk9envan.js} +0 -0
  755. /package/dist/chunks/{bus-hrnqkpcd.js → shell-hrnqkpcd.js} +0 -0
  756. /package/dist/chunks/{bus-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
  757. /package/dist/chunks/{bus-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
  758. /package/dist/chunks/{bus-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
  759. /package/dist/chunks/{bus-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
  760. /package/dist/chunks/{bus-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
  761. /package/dist/chunks/{bus-mp448xyj.js → shell-mp448xyj.js} +0 -0
  762. /package/dist/chunks/{bus-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
  763. /package/dist/chunks/{bus-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
  764. /package/dist/chunks/{bus-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
  765. /package/dist/chunks/{bus-njntx4h6.js → shell-njntx4h6.js} +0 -0
  766. /package/dist/chunks/{bus-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
  767. /package/dist/chunks/{bus-q74kybfr.js → shell-q74kybfr.js} +0 -0
  768. /package/dist/chunks/{bus-qaymkmh1.js → shell-qaymkmh1.js} +0 -0
  769. /package/dist/chunks/{bus-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
  770. /package/dist/chunks/{bus-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
  771. /package/dist/chunks/{bus-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
  772. /package/dist/chunks/{bus-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
  773. /package/dist/chunks/{bus-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
  774. /package/dist/chunks/{bus-sk3qaz4a.js → shell-sk3qaz4a.js} +0 -0
  775. /package/dist/chunks/{bus-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
  776. /package/dist/chunks/{bus-twg0f83k.js → shell-twg0f83k.js} +0 -0
  777. /package/dist/chunks/{bus-w803qqfp.js → shell-w803qqfp.js} +0 -0
  778. /package/dist/chunks/{bus-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
  779. /package/dist/chunks/{bus-wtztk69x.js → shell-wtztk69x.js} +0 -0
  780. /package/dist/chunks/{bus-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
  781. /package/dist/chunks/{bus-x61499pn.js → shell-x61499pn.js} +0 -0
  782. /package/dist/chunks/{bus-y44na4kk.js → shell-y44na4kk.js} +0 -0
  783. /package/dist/chunks/{bus-y8cydn3q.js → shell-y8cydn3q.js} +0 -0
  784. /package/dist/chunks/{bus-y8f7s663.js → shell-y8f7s663.js} +0 -0
  785. /package/dist/chunks/{bus-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
  786. /package/dist/chunks/{bus-ym463w8f.js → shell-ym463w8f.js} +0 -0
  787. /package/dist/chunks/{bus-z9919s4g.js → shell-z9919s4g.js} +0 -0
@@ -1,69 +1,69 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./bus-922hggd3.js";
3
+ } from "./shell-922hggd3.js";
4
4
  import {
5
5
  WorktreeError2,
6
- node79
7
- } from "./bus-w6dzfd7x.js";
6
+ node83
7
+ } from "./shell-yhcttc12.js";
8
8
  import {
9
9
  ID17
10
- } from "./bus-4sn99hha.js";
10
+ } from "./shell-4sn99hha.js";
11
11
  import {
12
12
  Slug2
13
- } from "./bus-gebd4c9n.js";
13
+ } from "./shell-gebd4c9n.js";
14
14
  import {
15
15
  Service81,
16
16
  node86
17
- } from "./bus-g4rgasps.js";
17
+ } from "./shell-28aedara.js";
18
18
  import {
19
- Service79,
20
- node83
21
- } from "./bus-brbkvpcb.js";
19
+ Service77,
20
+ node82
21
+ } from "./shell-bsp1pkt4.js";
22
22
  import {
23
23
  ProjectTable2
24
- } from "./bus-8p4f9s12.js";
24
+ } from "./shell-8p4f9s12.js";
25
25
  import {
26
26
  WorktreeTable2
27
- } from "./bus-cfpkc3c9.js";
27
+ } from "./shell-cfpkc3c9.js";
28
28
  import {
29
- Service72,
30
- node76
31
- } from "./bus-73z097ay.js";
29
+ Service75,
30
+ node80
31
+ } from "./shell-t44n027g.js";
32
32
  import {
33
33
  DirectoryUnavailableError2,
34
- canonical3
35
- } from "./bus-th5km1p3.js";
34
+ canonical2
35
+ } from "./shell-gv6a8nnw.js";
36
36
  import {
37
- make19
38
- } from "./bus-ss6xz6nm.js";
37
+ make12
38
+ } from "./shell-j22hf46x.js";
39
39
  import {
40
40
  create3
41
- } from "./bus-rdw6cm16.js";
41
+ } from "./shell-rdw6cm16.js";
42
42
  import {
43
43
  __export
44
- } from "./bus-9rqn6x4v.js";
44
+ } from "./shell-9rqn6x4v.js";
45
45
 
46
46
  // src/worktree.ts
47
47
  var exports_worktree2 = {};
48
48
  __export(exports_worktree2, {
49
- CreateInput: () => CreateInput3,
49
+ CreateInput: () => CreateInput2,
50
50
  DestinationExistsError: () => DestinationExistsError2,
51
51
  DirectoryUnavailableError: () => DirectoryUnavailableError2,
52
- Event: () => Event11,
53
- Info: () => Info19,
52
+ Event: () => Event3,
53
+ Info: () => Info4,
54
54
  InvalidDirectoryError: () => InvalidDirectoryError2,
55
55
  List: () => List2,
56
56
  ListEntry: () => ListEntry3,
57
57
  OperationError: () => OperationError2,
58
58
  RefreshResult: () => RefreshResult2,
59
59
  RemoveInput: () => RemoveInput2,
60
- Service: () => Service54,
60
+ Service: () => Service16,
61
61
  SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
62
62
  StrategyID: () => StrategyID2,
63
63
  StrategyUnavailableError: () => StrategyUnavailableError2,
64
64
  UnsupportedLocationError: () => UnsupportedLocationError2,
65
65
  Worktree: () => exports_worktree2,
66
- node: () => node58
66
+ node: () => node20
67
67
  });
68
68
  import { Context, Effect, Layer, Schema } from "effect";
69
69
  import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
@@ -76,13 +76,13 @@ import { AppProcess } from "@opencode/util/process";
76
76
  import { ChildProcess } from "effect/unstable/process";
77
77
  import { OperationError as OperationError2 } from "@opencode/schema/worktree";
78
78
  var StrategyID2 = Worktree.StrategyID;
79
- var CreateInput3 = Worktree.CreateInput;
79
+ var CreateInput2 = Worktree.CreateInput;
80
80
  var RemoveInput2 = Worktree.RemoveInput;
81
81
  var RefreshResult2 = Schema.Struct({
82
82
  updated: Schema.Array(AbsolutePath2),
83
83
  removed: Schema.Array(AbsolutePath2)
84
84
  }).annotate({ identifier: "Worktree.RefreshResult" });
85
- var Info19 = Worktree.Info;
85
+ var Info4 = Worktree.Info;
86
86
  var List2 = Worktree.List;
87
87
  var ListEntry3 = Worktree.ListEntry;
88
88
 
@@ -100,21 +100,21 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
100
100
 
101
101
  class UnsupportedLocationError2 extends Schema.TaggedError()("Worktree.UnsupportedLocationError", { directory: AbsolutePath2 }) {
102
102
  }
103
- var Event11 = Worktree.Event;
103
+ var Event3 = Worktree.Event;
104
104
 
105
- class Service54 extends Context.Service()("@opencode/v2/Worktree") {
105
+ class Service16 extends Context.Service()("@opencode/v2/Worktree") {
106
106
  }
107
- var layer = Layer.effect(Service54, Effect.gen(function* () {
107
+ var layer = Layer.effect(Service16, Effect.gen(function* () {
108
108
  const fs = yield* FSUtil.Service;
109
109
  const database = yield* Service81;
110
110
  const db = database.db;
111
- const bus = yield* Service79;
111
+ const bus = yield* Service77;
112
112
  const processService = yield* AppProcess.Service;
113
- const location = yield* Service72;
113
+ const location = yield* Service75;
114
114
  const global = yield* Global.Service;
115
115
  const projectID = location.project.id;
116
116
  const local = location.workspaceID ? Effect.fail(new UnsupportedLocationError2({ directory: location.directory })) : Effect.void;
117
- const gitStrategy = yield* make19;
117
+ const gitStrategy = yield* make12;
118
118
  const state = create3({
119
119
  name: "worktree",
120
120
  initial: () => ({
@@ -135,7 +135,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
135
135
  });
136
136
  const changed = Effect.fnUntraced(function* (update) {
137
137
  if (update)
138
- yield* bus.publish(Event11.Updated, { projectID });
138
+ yield* bus.publish(Event3.Updated, { projectID });
139
139
  });
140
140
  const ops = {
141
141
  list: Effect.fnUntraced(function* () {
@@ -161,7 +161,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
161
161
  };
162
162
  const source = Effect.fnUntraced(function* (input) {
163
163
  const sourceDirectory = input ?? location.project.directory;
164
- const resolved = yield* canonical3(fs, sourceDirectory);
164
+ const resolved = yield* canonical2(fs, sourceDirectory);
165
165
  if ((yield* ops.find(resolved)) === undefined)
166
166
  return yield* new SourceDirectoryNotFoundError2({ projectID, directory: resolved });
167
167
  return resolved;
@@ -193,7 +193,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
193
193
  sourceDirectory,
194
194
  branch: input.branch
195
195
  }).pipe(Effect.mapError((error) => operationError(selected.id, "create", error)));
196
- const result = { directory: yield* canonical3(fs, created.directory) };
196
+ const result = { directory: yield* canonical2(fs, created.directory) };
197
197
  yield* changed(yield* ops.create({
198
198
  directory: result.directory,
199
199
  strategy: selected.id,
@@ -218,7 +218,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
218
218
  });
219
219
  const remove = Effect.fn("Worktree.remove")(function* (input) {
220
220
  yield* local;
221
- const worktreeDirectory = yield* canonical3(fs, input.directory);
221
+ const worktreeDirectory = yield* canonical2(fs, input.directory);
222
222
  const stored = yield* ops.find(worktreeDirectory);
223
223
  if (!stored?.strategy)
224
224
  return yield* new InvalidDirectoryError2({ directory: worktreeDirectory });
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
239
239
  for (const strategy of strategies) {
240
240
  const entries = yield* strategy.list(location.project.directory).pipe(Effect.mapError((error) => operationError(strategy.id, "list", error)), Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.succeed([])));
241
241
  for (const entry of entries) {
242
- const directory = yield* canonical3(fs, entry.directory).pipe(Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.undefined));
242
+ const directory = yield* canonical2(fs, entry.directory).pipe(Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.undefined));
243
243
  if (!directory || discovered.has(directory))
244
244
  continue;
245
245
  discovered.set(directory, {
@@ -257,7 +257,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
257
257
  yield* changed(changes.updated.length > 0 || changes.removed.length > 0);
258
258
  return changes;
259
259
  });
260
- return Service54.of({
260
+ return Service16.of({
261
261
  transform: state.transform,
262
262
  reload: state.reload,
263
263
  list: Effect.fn("Worktree.list")(function* () {
@@ -269,10 +269,10 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
269
269
  refresh
270
270
  });
271
271
  }));
272
- var node58 = makeLocationNode({
273
- service: Service54,
272
+ var node20 = makeLocationNode({
273
+ service: Service16,
274
274
  layer,
275
- deps: [FSUtil.node, node79, node83, node86, AppProcess.node, node76, Global.node]
275
+ deps: [FSUtil.node, node83, node82, node86, AppProcess.node, node80, Global.node]
276
276
  });
277
277
  function operationError(strategy, operation, error) {
278
278
  if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
@@ -282,4 +282,4 @@ function operationError(strategy, operation, error) {
282
282
  });
283
283
  }
284
284
 
285
- export { StrategyID2, CreateInput3, RemoveInput2, RefreshResult2, Info19, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event11, Service54, node58, exports_worktree2, OperationError2 };
285
+ export { StrategyID2, CreateInput2, RemoveInput2, RefreshResult2, Info4, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event3, Service16, node20, exports_worktree2, OperationError2 };
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  useragent2
3
- } from "./bus-kxdh0s6n.js";
3
+ } from "./shell-bz5ac8yj.js";
4
4
  import {
5
- Service79
6
- } from "./bus-brbkvpcb.js";
5
+ Service77
6
+ } from "./shell-bsp1pkt4.js";
7
7
  import {
8
8
  OAuth3,
9
- Event14
10
- } from "./bus-t3qrjm11.js";
9
+ Event20
10
+ } from "./shell-g99htbkw.js";
11
11
  import {
12
- ID8,
12
+ ID12,
13
13
  MethodID2
14
- } from "./bus-ktjqq88n.js";
14
+ } from "./shell-3657zqg5.js";
15
15
  import {
16
16
  which2
17
- } from "./bus-qaymkmh1.js";
17
+ } from "./shell-qaymkmh1.js";
18
18
  import {
19
- ID7,
19
+ ID11,
20
20
  packageName2,
21
21
  mergeOverlay2
22
- } from "./bus-75tpbtqb.js";
22
+ } from "./shell-n3ej18g3.js";
23
23
  import {
24
24
  iife2
25
- } from "./bus-1kg9ymc8.js";
25
+ } from "./shell-1kg9ymc8.js";
26
26
  import {
27
27
  configuredSettings2
28
- } from "./bus-cq1ssszz.js";
28
+ } from "./shell-hs3g5x4f.js";
29
29
 
30
30
  // src/plugin/provider/azure.ts
31
31
  import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
@@ -45,9 +45,9 @@ var decodeToken = Schema.decodeUnknownEffect(Schema.Struct({
45
45
  var AzurePlugin2 = define({
46
46
  id: "opencode.provider.azure",
47
47
  effect: Effect.fn(function* (ctx) {
48
- const configured = yield* configuredSettings2(ID7.azure);
48
+ const configured = yield* configuredSettings2(ID11.azure);
49
49
  const processes = yield* AppProcess.Service;
50
- const bus = yield* Service79;
50
+ const bus = yield* Service77;
51
51
  const tokens = new Map;
52
52
  const loading = Semaphore.makeUnsafe(1);
53
53
  const loaded = {};
@@ -81,13 +81,13 @@ var AzurePlugin2 = define({
81
81
  });
82
82
  yield* ctx.integration.transform((editor) => {
83
83
  editor.method.update({
84
- integrationID: ID7.azure,
84
+ integrationID: ID11.azure,
85
85
  method: { type: "key", label: "API key", form: form() }
86
86
  });
87
87
  if (!available)
88
88
  return;
89
89
  editor.method.update({
90
- integrationID: ID7.azure,
90
+ integrationID: ID11.azure,
91
91
  method: {
92
92
  id: methodID,
93
93
  type: "oauth",
@@ -119,7 +119,7 @@ var AzurePlugin2 = define({
119
119
  });
120
120
  });
121
121
  const load = Effect.fn("AzurePlugin.load")(function* () {
122
- const connection = yield* ctx.integration.connection.active(ID7.azure);
122
+ const connection = yield* ctx.integration.connection.active(ID11.azure);
123
123
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
124
124
  return;
125
125
  })) : undefined;
@@ -133,7 +133,7 @@ var AzurePlugin2 = define({
133
133
  yield* load();
134
134
  yield* ctx.provider.transform((evt) => {
135
135
  for (const item of evt.list()) {
136
- if (item.provider.id !== ID7.azure && packageName2(item.provider.package) !== "@ai-sdk/azure")
136
+ if (item.provider.id !== ID11.azure && packageName2(item.provider.package) !== "@ai-sdk/azure")
137
137
  continue;
138
138
  const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
139
139
  if (resourceName)
@@ -148,7 +148,7 @@ var AzurePlugin2 = define({
148
148
  });
149
149
  yield* ctx.model.transform((models) => {
150
150
  for (const item of models.provider.list()) {
151
- if (item.provider.id !== ID7.azure && packageName2(item.provider.package) !== "@ai-sdk/azure")
151
+ if (item.provider.id !== ID11.azure && packageName2(item.provider.package) !== "@ai-sdk/azure")
152
152
  continue;
153
153
  const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
154
154
  for (const model of models.list(item.provider.id)) {
@@ -164,11 +164,11 @@ var AzurePlugin2 = define({
164
164
  }
165
165
  });
166
166
  const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
167
- yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
167
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
168
168
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
169
- if (evt.model.providerID !== ID7.azure)
169
+ if (evt.model.providerID !== ID11.azure)
170
170
  return;
171
- const connection = yield* ctx.integration.connection.active(ID7.azure);
171
+ const connection = yield* ctx.integration.connection.active(ID11.azure);
172
172
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
173
173
  return;
174
174
  })) : undefined;
@@ -181,7 +181,7 @@ var AzurePlugin2 = define({
181
181
  evt.request.headers.delete("x-api-key");
182
182
  evt.request.headers.set("authorization", `Bearer ${current.access}`);
183
183
  evt.request.headers.set("user-agent", useragent2(ctx.app));
184
- }), { providerID: ID7.azure });
184
+ }), { providerID: ID11.azure });
185
185
  })
186
186
  });
187
187
  function resolveResourceName(settings, fallback) {
@@ -5,17 +5,17 @@ import {
5
5
  renderInitial2,
6
6
  renderUpdate2,
7
7
  applyHashDelta2
8
- } from "./bus-02nrjc1r.js";
8
+ } from "./shell-0gdmqesm.js";
9
9
  import {
10
10
  SessionEvent2
11
- } from "./bus-ec1grn59.js";
11
+ } from "./shell-ec1grn59.js";
12
12
  import {
13
13
  InstructionBlobTable2,
14
14
  InstructionStateTable2
15
- } from "./bus-a1bz86dw.js";
15
+ } from "./shell-a1bz86dw.js";
16
16
  import {
17
17
  __export
18
- } from "./bus-9rqn6x4v.js";
18
+ } from "./shell-9rqn6x4v.js";
19
19
 
20
20
  // src/session/instruction-state.ts
21
21
  var exports_instruction_state = {};
@@ -1,31 +1,31 @@
1
1
  import {
2
- ID14
3
- } from "./bus-2fqncqd8.js";
2
+ ID9
3
+ } from "./shell-5kbrmkke.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./bus-922hggd3.js";
6
+ } from "./shell-922hggd3.js";
7
7
  import {
8
- Info10
9
- } from "./bus-tdhe5xga.js";
8
+ Info21
9
+ } from "./shell-f32czd11.js";
10
10
  import {
11
11
  migrateAgent2
12
- } from "./bus-nrtvwtgm.js";
12
+ } from "./shell-tezxby1z.js";
13
13
  import {
14
14
  latest2,
15
- Service40
16
- } from "./bus-m4sagrtb.js";
15
+ Service63
16
+ } from "./shell-fgga4tyk.js";
17
17
  import {
18
18
  parseOption2
19
- } from "./bus-5daktx2q.js";
19
+ } from "./shell-5daktx2q.js";
20
20
  import {
21
21
  __export
22
- } from "./bus-9rqn6x4v.js";
22
+ } from "./shell-9rqn6x4v.js";
23
23
 
24
24
  // src/config/plugin/agent.ts
25
- var exports_agent2 = {};
26
- __export(exports_agent2, {
27
- ConfigAgentPlugin: () => exports_agent2,
28
- Plugin: () => Plugin36
25
+ var exports_agent = {};
26
+ __export(exports_agent, {
27
+ ConfigAgentPlugin: () => exports_agent,
28
+ Plugin: () => Plugin19
29
29
  });
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { Document, Info } from "@opencode/schema/config";
@@ -40,14 +40,14 @@ var legacySources = [
40
40
  ];
41
41
  var sourceDirectories = ["agent", "agents", "mode", "modes"];
42
42
  var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
43
- var decodeLegacyAgent = Schema.decodeUnknownOption(Info10);
43
+ var decodeLegacyAgent = Schema.decodeUnknownOption(Info21);
44
44
  var decodeConfig = Schema.decodeUnknownOption(Info);
45
45
  var pathActions = ["external_directory", "read", "edit"];
46
46
  var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
47
- var Plugin36 = define({
47
+ var Plugin19 = define({
48
48
  id: "opencode.config.agent",
49
49
  effect: Effect.fn(function* (ctx) {
50
- const config = yield* Service40;
50
+ const config = yield* Service63;
51
51
  const fs = yield* FSUtil.Service;
52
52
  const global = yield* Global.Service;
53
53
  const loadEntry = Effect.fnUntraced(function* (entry) {
@@ -76,13 +76,13 @@ var Plugin36 = define({
76
76
  const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
77
77
  const configuredDefault = latest2(loaded.documents, "default_agent");
78
78
  if (configuredDefault !== undefined)
79
- editor.default(ID14.make(configuredDefault));
79
+ editor.default(ID9.make(configuredDefault));
80
80
  for (const current of editor.list()) {
81
81
  editor.update(current.id, (agent) => agent.permissions.push(...permissions));
82
82
  }
83
83
  for (const document of loaded.documents) {
84
84
  for (const [id, item] of Object.entries(document.info.agents ?? {})) {
85
- const agentID = ID14.make(id);
85
+ const agentID = ID9.make(id);
86
86
  if (item.disabled) {
87
87
  editor.remove(agentID);
88
88
  continue;
@@ -161,4 +161,4 @@ function decode(file, content) {
161
161
  return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
162
162
  }
163
163
 
164
- export { Plugin36, exports_agent2 };
164
+ export { Plugin19, exports_agent };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  codeInterpreterArgsSchema2
3
- } from "./bus-eh3zwz77.js";
3
+ } from "./shell-eh3zwz77.js";
4
4
  import {
5
5
  fileSearchArgsSchema2
6
- } from "./bus-e73j6tqm.js";
6
+ } from "./shell-e73j6tqm.js";
7
7
  import {
8
8
  webSearchArgsSchema2
9
- } from "./bus-3wcehsnq.js";
9
+ } from "./shell-3wcehsnq.js";
10
10
  import {
11
11
  webSearchPreviewArgsSchema2
12
- } from "./bus-dap0rakb.js";
12
+ } from "./shell-dap0rakb.js";
13
13
  import {
14
14
  imageGenerationArgsSchema2
15
- } from "./bus-4y7fprxs.js";
15
+ } from "./shell-4y7fprxs.js";
16
16
 
17
17
  // src/github-copilot/responses/openai-responses-prepare-tools.ts
18
18
  import {
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service40
4
- } from "./bus-m4sagrtb.js";
3
+ Service63
4
+ } from "./shell-fgga4tyk.js";
5
5
  import {
6
- Service49
7
- } from "./bus-gcrpxwkb.js";
6
+ Service50
7
+ } from "./shell-mtvv3gsd.js";
8
8
  import {
9
9
  observe2
10
- } from "./bus-qsdy395h.js";
10
+ } from "./shell-qsdy395h.js";
11
11
  import {
12
12
  __export
13
- } from "./bus-9rqn6x4v.js";
13
+ } from "./shell-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/snapshot.ts
16
16
  var exports_snapshot = {};
17
17
  __export(exports_snapshot, {
18
18
  ConfigSnapshotPlugin: () => exports_snapshot,
19
- Plugin: () => Plugin42
19
+ Plugin: () => Plugin20
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin42 = define({
23
+ var Plugin20 = define({
24
24
  id: "opencode.config.snapshot",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service40;
27
- const snapshot = yield* Service49;
26
+ const config = yield* Service63;
27
+ const snapshot = yield* Service50;
28
28
  const loaded = yield* observe2(config, ctx.event, snapshot.reload());
29
29
  yield* snapshot.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "snapshots");
@@ -35,4 +35,4 @@ var Plugin42 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin42, exports_snapshot };
38
+ export { Plugin20, exports_snapshot };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service79,
3
- node83
4
- } from "./bus-brbkvpcb.js";
2
+ Service77,
3
+ node82
4
+ } from "./shell-bsp1pkt4.js";
5
5
  import {
6
6
  PATCH_CONTEXT_LINES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
8
8
  emptyPatch2
9
- } from "./bus-tazgh4e4.js";
9
+ } from "./shell-tazgh4e4.js";
10
10
  import {
11
- Service72,
12
- node76
13
- } from "./bus-73z097ay.js";
11
+ Service75,
12
+ node80
13
+ } from "./shell-t44n027g.js";
14
14
  import {
15
15
  reconcile2,
16
16
  create3
17
- } from "./bus-rdw6cm16.js";
17
+ } from "./shell-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./bus-9rqn6x4v.js";
20
+ } from "./shell-9rqn6x4v.js";
21
21
 
22
22
  // src/vcs.ts
23
23
  var exports_vcs = {};
@@ -26,17 +26,17 @@ __export(exports_vcs, {
26
26
  BranchList: () => BranchList2,
27
27
  DiffError: () => DiffError2,
28
28
  FileStatus: () => FileStatus2,
29
- Info: () => Info25,
29
+ Info: () => Info3,
30
30
  Mode: () => Mode2,
31
- Service: () => Service60,
31
+ Service: () => Service15,
32
32
  Vcs: () => exports_vcs,
33
- node: () => node64
33
+ node: () => node19
34
34
  });
35
35
  import path from "path";
36
36
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
37
37
  import { FileDiff } from "@opencode/schema/file-diff";
38
38
  import { FileSystem } from "@opencode/schema/filesystem";
39
- import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info25, Mode as Mode2 } from "@opencode/schema/vcs";
39
+ import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info3, Mode as Mode2 } from "@opencode/schema/vcs";
40
40
  import { VcsEvent } from "@opencode/schema/vcs-event";
41
41
  import { makeLocationNode } from "@opencode/util/effect/app-node";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
@@ -45,12 +45,12 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
45
45
  }) {
46
46
  }
47
47
 
48
- class Service60 extends Context.Service()("@opencode/Vcs") {
48
+ class Service15 extends Context.Service()("@opencode/Vcs") {
49
49
  }
50
- var layer = Layer.effect(Service60, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service15, Effect.gen(function* () {
51
51
  const fs = yield* FSUtil.Service;
52
- const location = yield* Service72;
53
- const bus = yield* Service79;
52
+ const location = yield* Service75;
53
+ const bus = yield* Service77;
54
54
  const root = yield* Effect.scope;
55
55
  const fork = yield* FiberSet.makeRuntime();
56
56
  const vcs = location.vcs;
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
62
62
  canonical: location.project.canonical,
63
63
  ...vcs ? { store: vcs.store } : {}
64
64
  };
65
- const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info25));
65
+ const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info3));
66
66
  const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
67
67
  const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
68
68
  const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
115
115
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
116
116
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
117
117
  }
118
- return Service60.of({
118
+ return Service15.of({
119
119
  transform: state.transform,
120
120
  reload: state.reload,
121
121
  info: Effect.fn("Vcs.info")(function* () {
@@ -161,10 +161,10 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
161
161
  })
162
162
  });
163
163
  }));
164
- var node64 = makeLocationNode({
165
- service: Service60,
164
+ var node19 = makeLocationNode({
165
+ service: Service15,
166
166
  layer,
167
- deps: [FSUtil.node, node76, node83]
167
+ deps: [FSUtil.node, node80, node82]
168
168
  });
169
169
 
170
- export { Base2, BranchList2, FileStatus2, Info25, Mode2, DiffError2, Service60, node64, exports_vcs };
170
+ export { Base2, BranchList2, FileStatus2, Info3, Mode2, DiffError2, Service15, node19, exports_vcs };