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

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 (786) 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 +72 -72
  7. package/dist/chunks/{shell-zwbb9m0v.js → image-010j0rjj.js} +11 -11
  8. package/dist/chunks/{shell-yaym739t.js → image-0dr9jjfc.js} +3 -3
  9. package/dist/chunks/{shell-v5enyfy9.js → image-0evxafpt.js} +10 -10
  10. package/dist/chunks/{shell-0paq2nw3.js → image-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{shell-0q0f95c6.js → image-0q0f95c6.js} +1 -1
  12. package/dist/chunks/{shell-1tceadnv.js → image-0qaz1sfc.js} +11 -11
  13. package/dist/chunks/{shell-sf7s3xnw.js → image-0xnze9ce.js} +66 -66
  14. package/dist/chunks/{shell-19qt9ms0.js → image-10fqs124.js} +16 -16
  15. package/dist/chunks/{shell-s2n5r9er.js → image-1a4hyc8b.js} +30 -30
  16. package/dist/chunks/{shell-7yh4e7ss.js → image-1bbkgx8g.js} +3 -3
  17. package/dist/chunks/{shell-1dazxqgg.js → image-1dazxqgg.js} +2 -2
  18. package/dist/chunks/{shell-z9nnsx8f.js → image-1kgb4aq1.js} +8 -8
  19. package/dist/chunks/{shell-v8wr64pb.js → image-1z5mtsne.js} +2 -2
  20. package/dist/chunks/{shell-2a4f6v5q.js → image-1zqsf2j9.js} +8 -8
  21. package/dist/chunks/{shell-21r38tys.js → image-21r38tys.js} +1 -1
  22. package/dist/chunks/{shell-xxs5sj5m.js → image-22zy1c33.js} +8 -8
  23. package/dist/chunks/{shell-2402vzrj.js → image-2402vzrj.js} +1 -1
  24. package/dist/chunks/{shell-2a5m3afh.js → image-2a5m3afh.js} +1 -1
  25. package/dist/chunks/{shell-tkg9rxzp.js → image-2c0ya96f.js} +8 -8
  26. package/dist/chunks/{shell-x9emb11y.js → image-2eh5hdcs.js} +9 -9
  27. package/dist/chunks/{shell-cee4awht.js → image-30hxd0b6.js} +4 -4
  28. package/dist/chunks/{shell-58k5q12w.js → image-33dzk201.js} +26 -26
  29. package/dist/chunks/{shell-56gdpj1q.js → image-33w4ejhs.js} +6 -6
  30. package/dist/chunks/{shell-p3vxwp2p.js → image-3685kgv2.js} +11 -11
  31. package/dist/chunks/{shell-3fc6dm20.js → image-3fc6dm20.js} +1 -1
  32. package/dist/chunks/{shell-3hepkmqq.js → image-3hepkmqq.js} +1 -1
  33. package/dist/chunks/{shell-xxvph2p0.js → image-3p19zrd2.js} +82 -82
  34. package/dist/chunks/{shell-3smtnn6g.js → image-3smtnn6g.js} +1 -1
  35. package/dist/chunks/{shell-60b87sp0.js → image-3t9tj8wy.js} +10 -10
  36. package/dist/chunks/{shell-3tvqynh2.js → image-3tvqynh2.js} +1 -1
  37. package/dist/chunks/{shell-aypr84xx.js → image-3wctd9by.js} +16 -16
  38. package/dist/chunks/{shell-ngts6ef0.js → image-3zykk5as.js} +8 -8
  39. package/dist/chunks/{shell-yhcttc12.js → image-41kev6en.js} +12 -12
  40. package/dist/chunks/{shell-gwz5q7xf.js → image-49q20pp7.js} +31 -31
  41. package/dist/chunks/{shell-vnge3cnh.js → image-4a27vn7r.js} +20 -20
  42. package/dist/chunks/{shell-r78s3j5q.js → image-4jygvmvn.js} +35 -35
  43. package/dist/chunks/{shell-ca7n9cfq.js → image-4mfmjxec.js} +9 -9
  44. package/dist/chunks/{shell-724fmg57.js → image-4n3236zn.js} +12 -12
  45. package/dist/chunks/{shell-tezxby1z.js → image-4qh8ec8f.js} +4 -4
  46. package/dist/chunks/{shell-qj5hfmwn.js → image-4vte9j2j.js} +11 -11
  47. package/dist/chunks/{shell-91tfrhd1.js → image-4w2yzhqg.js} +6 -6
  48. package/dist/chunks/{shell-shk57n0j.js → image-54tjnctb.js} +11 -11
  49. package/dist/chunks/{shell-4sn99hha.js → image-57ez7d0k.js} +7 -7
  50. package/dist/chunks/{shell-gntzjf7q.js → image-59sbn0zz.js} +45 -45
  51. package/dist/chunks/{shell-0aw7zksj.js → image-5bekvhzp.js} +9 -9
  52. package/dist/chunks/{shell-j2q2mctg.js → image-5bny2dwb.js} +12 -12
  53. package/dist/chunks/{shell-csf2jhsg.js → image-5c0f1prt.js} +4 -4
  54. package/dist/chunks/{shell-a1bz86dw.js → image-5c4hm403.js} +3 -3
  55. package/dist/chunks/{shell-5daktx2q.js → image-5daktx2q.js} +1 -1
  56. package/dist/chunks/{shell-vnwmzs4a.js → image-5ebw3s4g.js} +5 -5
  57. package/dist/chunks/{shell-bz5ac8yj.js → image-5k2nshkd.js} +11 -11
  58. package/dist/chunks/{shell-e3qxr5gk.js → image-5qd3pb7m.js} +2 -2
  59. package/dist/chunks/{shell-5t3nmthw.js → image-5t3nmthw.js} +2 -2
  60. package/dist/chunks/{shell-tb9hrnng.js → image-5wmgxaxj.js} +17 -17
  61. package/dist/chunks/{shell-844ef7ks.js → image-5xtgfte3.js} +8 -8
  62. package/dist/chunks/{shell-j5krrq7s.js → image-61s2mknn.js} +32 -32
  63. package/dist/chunks/{shell-669tq793.js → image-669tq793.js} +1 -1
  64. package/dist/chunks/{shell-6msgmcgs.js → image-6msgmcgs.js} +1 -1
  65. package/dist/chunks/{shell-myhx9xq2.js → image-6npptpe2.js} +10 -10
  66. package/dist/chunks/{shell-shkg2ahe.js → image-6q87w041.js} +57 -57
  67. package/dist/chunks/{shell-08hjcfds.js → image-6s054ecb.js} +18 -18
  68. package/dist/chunks/{shell-zrg5zcty.js → image-6ya7w255.js} +9 -9
  69. package/dist/chunks/{shell-71q4at8m.js → image-71q4at8m.js} +1 -1
  70. package/dist/chunks/{shell-vkxpz7g2.js → image-7ac170kv.js} +4 -4
  71. package/dist/chunks/{shell-7bmhse3q.js → image-7bmhse3q.js} +1 -1
  72. package/dist/chunks/{shell-7dqw4kz8.js → image-7dqw4kz8.js} +1 -1
  73. package/dist/chunks/{shell-yw5eewpj.js → image-7f40knje.js} +16 -16
  74. package/dist/chunks/{shell-286ag1vh.js → image-7gmd6s9f.js} +299 -299
  75. package/dist/chunks/{shell-wztakc2g.js → image-7hqs4pm0.js} +43 -43
  76. package/dist/chunks/{shell-t44n027g.js → image-7jm5jzq7.js} +16 -16
  77. package/dist/chunks/{shell-bj86b7kp.js → image-7rjv7hd1.js} +40 -40
  78. package/dist/chunks/{shell-dg9hzp08.js → image-7s78zkxc.js} +17 -17
  79. package/dist/chunks/{shell-5k7whcx8.js → image-7sny0gx5.js} +27 -27
  80. package/dist/chunks/{shell-7r3neg1r.js → image-7wtn6qfv.js} +23 -23
  81. package/dist/chunks/{shell-kg219d3x.js → image-806p5xqx.js} +28 -28
  82. package/dist/chunks/{shell-f32czd11.js → image-818pfwc9.js} +11 -11
  83. package/dist/chunks/{shell-sx1q5qav.js → image-87wkjvtv.js} +21 -21
  84. package/dist/chunks/{shell-8d7r5vzw.js → image-8d7r5vzw.js} +1 -1
  85. package/dist/chunks/{shell-8sp2z33n.js → image-8dhatp37.js} +4 -4
  86. package/dist/chunks/{shell-6d6xcght.js → image-8e1b1gzh.js} +6 -6
  87. package/dist/chunks/{shell-3ef74p4c.js → image-8r48jvq9.js} +11 -11
  88. package/dist/chunks/{shell-mtvv3gsd.js → image-8y2shdgp.js} +25 -25
  89. package/dist/chunks/{shell-vet9mkc8.js → image-922nm86p.js} +38 -38
  90. package/dist/chunks/{shell-ydkphrk6.js → image-95hsdyye.js} +18 -18
  91. package/dist/chunks/{shell-ks9y0tx3.js → image-96dvqytq.js} +24 -24
  92. package/dist/chunks/{shell-4j54dnxn.js → image-98n2zv5b.js} +22 -22
  93. package/dist/chunks/{shell-d8nc1xcx.js → image-9h41vc4j.js} +4 -4
  94. package/dist/chunks/{shell-3gqfk94q.js → image-9mvt1ex4.js} +8 -8
  95. package/dist/chunks/{shell-m7va1g8x.js → image-a3r4dcrj.js} +2 -2
  96. package/dist/chunks/{shell-4t7xgrp5.js → image-a84h0eb3.js} +26 -26
  97. package/dist/chunks/{shell-aaet6srn.js → image-aaet6srn.js} +2 -2
  98. package/dist/chunks/image-ae2tejpt.js +251 -0
  99. package/dist/chunks/{shell-jvf3yq6v.js → image-afdssyjb.js} +4 -4
  100. package/dist/chunks/{shell-fgga4tyk.js → image-aj6515bh.js} +42 -42
  101. package/dist/chunks/{shell-6zttb827.js → image-axf0s4jm.js} +22 -22
  102. package/dist/chunks/{shell-5wq01ar5.js → image-axyt463m.js} +13 -13
  103. package/dist/chunks/{shell-r8b7ztcg.js → image-azxt8y52.js} +17 -17
  104. package/dist/chunks/{shell-vcfd1qyk.js → image-b5f0xpv3.js} +24 -24
  105. package/dist/chunks/{shell-b6gygkdw.js → image-b6gygkdw.js} +2 -2
  106. package/dist/chunks/{shell-wn0qm5qp.js → image-bjsxm6fs.js} +15 -15
  107. package/dist/chunks/{shell-13vh4t13.js → image-bpr49tj0.js} +16 -16
  108. package/dist/chunks/{shell-m7p8symg.js → image-bva47t1w.js} +7 -7
  109. package/dist/chunks/{shell-1sr49ngx.js → image-bxtjsyk9.js} +13 -13
  110. package/dist/chunks/{shell-vz6ekzbd.js → image-c4qbqqm9.js} +14 -14
  111. package/dist/chunks/{shell-8saayj0p.js → image-c605ygk1.js} +47 -47
  112. package/dist/chunks/{shell-nemptxrn.js → image-c76sny21.js} +38 -38
  113. package/dist/chunks/{shell-bz4hpk94.js → image-cacjtj5k.js} +5 -5
  114. package/dist/chunks/{shell-da7pjdbd.js → image-cbbptew9.js} +15 -15
  115. package/dist/chunks/{shell-am2x7dha.js → image-cefmkny3.js} +43 -43
  116. package/dist/chunks/{shell-qk0ppmjd.js → image-cfp1wp84.js} +18 -18
  117. package/dist/chunks/{shell-xx3aj77c.js → image-ch1hcs5y.js} +41 -41
  118. package/dist/chunks/{shell-35f3c8ak.js → image-cmra4ph4.js} +94 -94
  119. package/dist/chunks/{shell-4yzwshaw.js → image-cpce81tk.js} +15 -15
  120. package/dist/chunks/{shell-7xjyd7zv.js → image-cs2qrq3p.js} +2 -2
  121. package/dist/chunks/{shell-d3tz2ej1.js → image-d4he2qe1.js} +9 -9
  122. package/dist/chunks/{shell-85tc3nc8.js → image-d5g3wzfd.js} +18 -18
  123. package/dist/chunks/{shell-4nqjb4pf.js → image-d7tzj868.js} +20 -20
  124. package/dist/chunks/{shell-n25js84d.js → image-dh6wvp2k.js} +11 -11
  125. package/dist/chunks/{shell-gmrsnwh8.js → image-dh976vjg.js} +14 -14
  126. package/dist/chunks/{shell-8p4f9s12.js → image-dj2t23y0.js} +2 -2
  127. package/dist/chunks/{shell-jwcy2c2z.js → image-dpkg50ah.js} +4 -4
  128. package/dist/chunks/{shell-3657zqg5.js → image-dt0jwwwa.js} +26 -26
  129. package/dist/chunks/{shell-k7gxh26f.js → image-dw06mjkt.js} +13 -13
  130. package/dist/chunks/{shell-cmmb813z.js → image-e1kg9vz0.js} +56 -56
  131. package/dist/chunks/{shell-e5nv3ght.js → image-e5nv3ght.js} +2 -2
  132. package/dist/chunks/{shell-ff0htmxq.js → image-ebah8r6x.js} +6 -6
  133. package/dist/chunks/{shell-e1tdxk5c.js → image-eeh91h1y.js} +16 -16
  134. package/dist/chunks/{shell-ef5x83kb.js → image-ef5x83kb.js} +1 -1
  135. package/dist/chunks/{shell-f00031fc.js → image-enrjqv4h.js} +15 -15
  136. package/dist/chunks/{shell-8mgmrm9j.js → image-ep9bxrrg.js} +5 -5
  137. package/dist/chunks/{shell-etq0c3wd.js → image-etq0c3wd.js} +1 -1
  138. package/dist/chunks/{shell-rhbwnwxm.js → image-ey7m5wa6.js} +13 -13
  139. package/dist/chunks/{shell-8ymghxqk.js → image-f270k846.js} +36 -36
  140. package/dist/chunks/{shell-q7436kvy.js → image-f2gth83d.js} +9 -9
  141. package/dist/chunks/{shell-hmr3ea9n.js → image-f2jvx8nr.js} +5 -5
  142. package/dist/chunks/{shell-fqax9b7r.js → image-f5crtqgd.js} +169 -169
  143. package/dist/chunks/{shell-jsj4eyt5.js → image-fgjfhan0.js} +4 -4
  144. package/dist/chunks/{shell-28aedara.js → image-fhtb1nxk.js} +3 -3
  145. package/dist/chunks/{shell-bdqrk2vk.js → image-fjvydvzm.js} +4 -4
  146. package/dist/chunks/{shell-6860rr66.js → image-fr9qgvrp.js} +51 -51
  147. package/dist/chunks/{shell-28ebf1cb.js → image-fsqzyqf7.js} +18 -18
  148. package/dist/chunks/{shell-p0b4ytnr.js → image-fvanntqq.js} +4 -4
  149. package/dist/chunks/{shell-fxbjtjnd.js → image-fxbjtjnd.js} +1 -1
  150. package/dist/chunks/{shell-axmvebxj.js → image-g190xswt.js} +21 -21
  151. package/dist/chunks/{shell-apkjg5f1.js → image-g36gcegr.js} +1 -1
  152. package/dist/chunks/{shell-2n295dmf.js → image-g477egy3.js} +8 -8
  153. package/dist/chunks/{shell-h967t558.js → image-g7q9pgkk.js} +6 -6
  154. package/dist/chunks/{shell-gd4qta3r.js → image-gd4qta3r.js} +1 -1
  155. package/dist/chunks/{shell-rq4xqzzd.js → image-ggv97vhn.js} +4 -4
  156. package/dist/chunks/{shell-gg94j5y5.js → image-ghtm10aa.js} +6 -6
  157. package/dist/chunks/{shell-bsp1pkt4.js → image-gse1qw90.js} +12 -12
  158. package/dist/chunks/{shell-gv6a8nnw.js → image-gv6a8nnw.js} +2 -2
  159. package/dist/chunks/{shell-m86bnw2c.js → image-gvkmt430.js} +9 -9
  160. package/dist/chunks/{shell-h03wrkyp.js → image-h03wrkyp.js} +2 -2
  161. package/dist/chunks/{shell-raxwcv5a.js → image-h5jfkxsw.js} +18 -18
  162. package/dist/chunks/{shell-5mtzsd3b.js → image-h6r3nrb9.js} +4 -4
  163. package/dist/chunks/{shell-h6vf3j39.js → image-h6vf3j39.js} +1 -1
  164. package/dist/chunks/{shell-cgccaycz.js → image-h79m35fy.js} +18 -18
  165. package/dist/chunks/{shell-f828m53h.js → image-hdnk95c8.js} +2 -2
  166. package/dist/chunks/{shell-vfx00g3j.js → image-hfn6h9h0.js} +22 -22
  167. package/dist/chunks/{shell-hjt4xg1x.js → image-hjt4xg1x.js} +1 -1
  168. package/dist/chunks/{shell-tkwws864.js → image-hjtap0zg.js} +20 -20
  169. package/dist/chunks/{shell-bdyp82c4.js → image-hnakerc1.js} +7 -7
  170. package/dist/chunks/{shell-f6dg4s51.js → image-hnbzzefg.js} +24 -24
  171. package/dist/chunks/{shell-eg7y150x.js → image-hswahs1s.js} +10 -10
  172. package/dist/chunks/{shell-4zr3jzsn.js → image-hwkbadth.js} +8 -8
  173. package/dist/chunks/{shell-q7j6kr81.js → image-j2vdbwsr.js} +6 -6
  174. package/dist/chunks/{shell-j56e64zr.js → image-j56e64zr.js} +1 -1
  175. package/dist/chunks/{shell-hs3g5x4f.js → image-j5rjq302.js} +6 -6
  176. package/dist/chunks/{shell-tmaw6k1g.js → image-j66pfzft.js} +5 -5
  177. package/dist/chunks/{shell-256nx13v.js → image-jexxy024.js} +3 -3
  178. package/dist/chunks/{shell-xb02k0wq.js → image-jfqtm2ew.js} +4 -4
  179. package/dist/chunks/{shell-hnf89hr7.js → image-jq1p61tn.js} +9 -9
  180. package/dist/chunks/{shell-15actg85.js → image-jxphv8sm.js} +38 -38
  181. package/dist/chunks/{shell-f8gkg4y9.js → image-k1m65rvn.js} +5 -5
  182. package/dist/chunks/{shell-kv6kzmzw.js → image-kbnc93aj.js} +5 -5
  183. package/dist/chunks/{shell-czb7hhek.js → image-kbrpdkkr.js} +13 -13
  184. package/dist/chunks/image-kjz2ypmt.js +26 -0
  185. package/dist/chunks/{shell-pt4mvj74.js → image-ktwkz8s9.js} +19 -19
  186. package/dist/chunks/{shell-vzjym1fd.js → image-kvccqq4y.js} +12 -12
  187. package/dist/chunks/{shell-cfpkc3c9.js → image-m0jqrx5p.js} +2 -2
  188. package/dist/chunks/{shell-twygzwrg.js → image-m55pfywp.js} +4 -4
  189. package/dist/chunks/{shell-06cb0fd0.js → image-m5wgsj6n.js} +4 -4
  190. package/dist/chunks/{shell-dmxnnmbc.js → image-m7pytshy.js} +9 -9
  191. package/dist/chunks/{shell-m9w0rfyh.js → image-m9w0rfyh.js} +1 -1
  192. package/dist/chunks/{shell-g99htbkw.js → image-man2vsb5.js} +23 -23
  193. package/dist/chunks/{shell-8nmhfs9c.js → image-mfz8wse2.js} +11 -11
  194. package/dist/chunks/{shell-bs5y9wpc.js → image-mqx0de4k.js} +11 -11
  195. package/dist/chunks/{shell-k943pb70.js → image-n03aapsh.js} +48 -48
  196. package/dist/chunks/{shell-xa8bg79b.js → image-n17g706s.js} +1 -1
  197. package/dist/chunks/{shell-4dsybr1x.js → image-n4wre08x.js} +23 -23
  198. package/dist/chunks/{shell-rq8qh2nn.js → image-nv2ksrja.js} +27 -27
  199. package/dist/chunks/{shell-yt0fqk68.js → image-p44d8wdy.js} +5 -5
  200. package/dist/chunks/{shell-de5ahzfz.js → image-p5k166g4.js} +15 -15
  201. package/dist/chunks/{shell-8q0t0smx.js → image-pe73xtx4.js} +1 -1
  202. package/dist/chunks/{shell-pjvnvgmy.js → image-pjvnvgmy.js} +1 -1
  203. package/dist/chunks/{shell-xdaabq9e.js → image-pk7fv021.js} +5 -5
  204. package/dist/chunks/{shell-pknna89w.js → image-pknna89w.js} +1 -1
  205. package/dist/chunks/{shell-bct739vz.js → image-pmr4s4kc.js} +4 -4
  206. package/dist/chunks/{shell-zhgb2amq.js → image-ppz8g910.js} +30 -30
  207. package/dist/chunks/{shell-jm7w29aj.js → image-prq0wc4d.js} +27 -27
  208. package/dist/chunks/{shell-t38tzg53.js → image-pvrrebnp.js} +17 -17
  209. package/dist/chunks/{shell-a0b5fdkw.js → image-pvvjbe5v.js} +30 -30
  210. package/dist/chunks/{shell-bfjqsf6d.js → image-q594ctnf.js} +30 -30
  211. package/dist/chunks/image-qapv375x.js +4 -0
  212. package/dist/chunks/{shell-4ymq8kc4.js → image-qbjqdxea.js} +36 -36
  213. package/dist/chunks/{shell-jz6dexdk.js → image-qmh473g3.js} +29 -29
  214. package/dist/chunks/{shell-5p8jzcnz.js → image-qnevtc5c.js} +29 -29
  215. package/dist/chunks/{shell-qsdy395h.js → image-qsdy395h.js} +1 -1
  216. package/dist/chunks/{shell-a271x0pd.js → image-qw34z0mz.js} +13 -13
  217. package/dist/chunks/{shell-5wrt214j.js → image-qz348hxe.js} +4 -4
  218. package/dist/chunks/{shell-wn3yryga.js → image-r60qs0tf.js} +15 -15
  219. package/dist/chunks/{shell-yp2x3t23.js → image-r8xr0va3.js} +4 -4
  220. package/dist/chunks/{shell-r9mregkx.js → image-r9mregkx.js} +2 -2
  221. package/dist/chunks/{shell-rap9a73h.js → image-rap9a73h.js} +1 -1
  222. package/dist/chunks/{shell-wc2samf7.js → image-rd23nqx6.js} +23 -23
  223. package/dist/chunks/{shell-rdw6cm16.js → image-rdw6cm16.js} +1 -1
  224. package/dist/chunks/{shell-11nyajgd.js → image-ret12whd.js} +1 -1
  225. package/dist/chunks/{shell-f58gpcny.js → image-rwmg7s8f.js} +9 -9
  226. package/dist/chunks/{shell-nj8bs39t.js → image-s1nnrw4q.js} +6 -6
  227. package/dist/chunks/{shell-fk5v58mc.js → image-s7yhcq7p.js} +11 -11
  228. package/dist/chunks/{shell-0gdmqesm.js → image-s8d7rejh.js} +4 -4
  229. package/dist/chunks/{shell-84bp84rj.js → image-saseaz33.js} +6 -6
  230. package/dist/chunks/{shell-hjfxv1hf.js → image-sbs223z4.js} +7 -7
  231. package/dist/chunks/{shell-fbw0akyd.js → image-ssnhfp6a.js} +9 -9
  232. package/dist/chunks/{shell-3h03gnyd.js → image-sssgmf7d.js} +27 -27
  233. package/dist/chunks/{shell-fekeaz39.js → image-sy6qbg9d.js} +3 -3
  234. package/dist/chunks/{shell-2qp6y8xf.js → image-t0fxg8b9.js} +5 -5
  235. package/dist/chunks/{shell-s45sawj9.js → image-t0wbe1cv.js} +4 -4
  236. package/dist/chunks/{shell-j22hf46x.js → image-t1fh5c1n.js} +5 -5
  237. package/dist/chunks/{shell-vq3jpdg0.js → image-t676541r.js} +11 -11
  238. package/dist/chunks/{shell-q12fghcp.js → image-t7vkg8np.js} +26 -26
  239. package/dist/chunks/{shell-tazgh4e4.js → image-tazgh4e4.js} +1 -1
  240. package/dist/chunks/{shell-9b2gkdkm.js → image-tb6c5549.js} +22 -22
  241. package/dist/chunks/{shell-tcezcvh9.js → image-tcezcvh9.js} +1 -1
  242. package/dist/chunks/{shell-tdstcens.js → image-tdstcens.js} +1 -1
  243. package/dist/chunks/{shell-bcgxfqk7.js → image-tv9x8hxg.js} +12 -12
  244. package/dist/chunks/{shell-tvtrv512.js → image-tvtrv512.js} +1 -1
  245. package/dist/chunks/{shell-eyhpk03x.js → image-v6vfg88f.js} +11 -11
  246. package/dist/chunks/{shell-py8w2btc.js → image-v8g0avwf.js} +9 -9
  247. package/dist/chunks/{shell-c5n3h355.js → image-v90b78v5.js} +23 -23
  248. package/dist/chunks/{shell-hka8yjdz.js → image-ve1hctsm.js} +27 -27
  249. package/dist/chunks/{shell-veqvce7d.js → image-veqvce7d.js} +1 -1
  250. package/dist/chunks/{shell-gm46a55d.js → image-vs59tkqa.js} +8 -8
  251. package/dist/chunks/{shell-vzcthcp8.js → image-vzcthcp8.js} +1 -1
  252. package/dist/chunks/{shell-ysm27kyh.js → image-vzvpgcjq.js} +10 -10
  253. package/dist/chunks/{shell-w3wsvvr9.js → image-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{shell-5kbrmkke.js → image-w94394wb.js} +27 -27
  255. package/dist/chunks/{shell-b1hg7rtt.js → image-w97vtpxb.js} +1 -1
  256. package/dist/chunks/{shell-tb399yc8.js → image-waxe3yd1.js} +11 -11
  257. package/dist/chunks/{shell-wd87259q.js → image-wd87259q.js} +1 -1
  258. package/dist/chunks/{shell-y3nkzwnm.js → image-wde5h6bz.js} +28 -28
  259. package/dist/chunks/{shell-q0fgvcgb.js → image-whzj9w6d.js} +13 -13
  260. package/dist/chunks/{shell-x1ezjp6w.js → image-x1ezjp6w.js} +1 -1
  261. package/dist/chunks/{shell-jamwgqsw.js → image-x497tgc1.js} +5 -5
  262. package/dist/chunks/{shell-krapdeg3.js → image-x9afmtav.js} +33 -33
  263. package/dist/chunks/{shell-ky853516.js → image-xc5tp58y.js} +34 -34
  264. package/dist/chunks/{shell-5rtg8v4f.js → image-xe94yqgp.js} +6 -6
  265. package/dist/chunks/{shell-kbdz3wd2.js → image-xrrhyath.js} +34 -34
  266. package/dist/chunks/{shell-vq7zxmz5.js → image-xx4v3z4y.js} +20 -20
  267. package/dist/chunks/{shell-n64z6ayh.js → image-y18b782a.js} +17 -17
  268. package/dist/chunks/{shell-y1fvbwt7.js → image-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{shell-g15mg1fp.js → image-y2n85772.js} +11 -11
  270. package/dist/chunks/{shell-0p4j4cv0.js → image-y56ehv6b.js} +9 -9
  271. package/dist/chunks/{shell-yqcnkns9.js → image-y8bs7pn1.js} +25 -25
  272. package/dist/chunks/{shell-pjcjb8bs.js → image-ybhbtxjg.js} +9 -9
  273. package/dist/chunks/{shell-er21d9gb.js → image-ydv41jj4.js} +9 -9
  274. package/dist/chunks/{shell-y992ahjm.js → image-ygkn4pcb.js} +1 -1
  275. package/dist/chunks/{shell-jv01nqvq.js → image-yjptyezs.js} +5 -5
  276. package/dist/chunks/{shell-znbb05ss.js → image-yngbnjdn.js} +16 -16
  277. package/dist/chunks/{shell-yrhqyw5v.js → image-yrhqyw5v.js} +1 -1
  278. package/dist/chunks/{shell-s4enseaf.js → image-yrznvahk.js} +2 -2
  279. package/dist/chunks/{shell-tj413h3v.js → image-yxa2jv7b.js} +13 -13
  280. package/dist/chunks/{shell-0bvq92zm.js → image-yzvrqxqx.js} +21 -21
  281. package/dist/chunks/{shell-z0bkrqjs.js → image-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{shell-29x78va6.js → image-z63w68vq.js} +6 -6
  283. package/dist/chunks/{shell-98depksn.js → image-zbhf92rx.js} +22 -22
  284. package/dist/chunks/{shell-zeh9ct20.js → image-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{shell-ts2x07a1.js → image-zhq6vg7a.js} +1 -1
  286. package/dist/chunks/{shell-zr2ceqn5.js → image-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{shell-n3ej18g3.js → image-zrpcnpdy.js} +29 -29
  288. package/dist/chunks/{shell-tnsmn68n.js → image-zsfad6mw.js} +18 -18
  289. package/dist/chunks/{shell-4nt81eez.js → image-zt441g4g.js} +19 -19
  290. package/dist/chunks/{shell-zxq2ej10.js → image-zxq2ej10.js} +1 -1
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +3 -3
  293. package/dist/codemode/tool.js +2 -2
  294. package/dist/command.js +78 -78
  295. package/dist/config/discovery.js +81 -81
  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 +123 -123
  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 +125 -125
  322. package/dist/credential/sql.js +2 -2
  323. package/dist/credential.js +80 -80
  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 +1 -1
  425. package/dist/filesystem/search.js +102 -102
  426. package/dist/filesystem/watcher-binding.js +3 -3
  427. package/dist/filesystem/watcher.js +13 -13
  428. package/dist/filesystem.js +105 -105
  429. package/dist/form.js +77 -77
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +82 -82
  432. package/dist/generate.js +99 -99
  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 +80 -80
  459. package/dist/instructions/builtins.js +86 -86
  460. package/dist/instructions/index.js +3 -3
  461. package/dist/integration/connection.js +3 -3
  462. package/dist/integration.js +83 -83
  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 +135 -135
  467. package/dist/location-mutation.js +103 -103
  468. package/dist/location-service-map.js +85 -85
  469. package/dist/location-services.js +353 -353
  470. package/dist/location.js +86 -86
  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 +98 -98
  479. package/dist/model.js +97 -97
  480. package/dist/models-dev.js +105 -105
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +81 -81
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +112 -112
  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 +7 -7
  499. package/dist/plugin/optimize.js +4 -4
  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 +93 -93
  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 +1 -1
  540. package/dist/plugin/skill.js +140 -140
  541. package/dist/plugin/source-directory.js +1 -1
  542. package/dist/plugin/supervisor.js +346 -346
  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 +6 -6
  557. package/dist/project/sql.js +4 -4
  558. package/dist/project.js +87 -87
  559. package/dist/provider.js +96 -96
  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 +82 -82
  566. package/dist/repository-cache.js +80 -80
  567. package/dist/repository.js +1 -1
  568. package/dist/ripgrep/binary.js +2 -2
  569. package/dist/ripgrep.js +94 -94
  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 +128 -128
  581. package/dist/session/generate.js +150 -150
  582. package/dist/session/history.js +15 -15
  583. package/dist/session/inbox.js +89 -89
  584. package/dist/session/info.js +3 -3
  585. package/dist/session/instruction-entry.js +76 -76
  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 +115 -115
  591. package/dist/session/model-transport.js +7 -7
  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 +3 -3
  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 +125 -125
  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 +170 -170
  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 +86 -86
  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 +1 -1
  616. package/dist/session/title.js +155 -155
  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 +15 -15
  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 +105 -105
  629. package/dist/snapshot.js +90 -90
  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 +115 -115
  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 +102 -102
  641. package/dist/tool/plugin/read.js +124 -124
  642. package/dist/tool/plugin/shell.js +214 -214
  643. package/dist/tool/plugin/skill.js +110 -110
  644. package/dist/tool/plugin/subagent.js +216 -216
  645. package/dist/tool/plugin/webfetch.js +107 -107
  646. package/dist/tool/plugin/websearch.js +111 -111
  647. package/dist/tool/plugin/write.js +119 -119
  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 +3 -3
  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 +3 -3
  667. package/dist/v1/config/layout.js +1 -1
  668. package/dist/v1/config/lsp.js +3 -3
  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 +1 -1
  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 +86 -86
  680. package/dist/websearch.js +83 -83
  681. package/dist/wellknown/plugin.js +73 -73
  682. package/dist/wellknown.js +80 -80
  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 +2 -2
  687. package/dist/worktree/git.js +8 -8
  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/shell-5y2ymaq7.js +0 -26
  693. package/dist/chunks/shell-6kdq0pjd.js +0 -4
  694. package/dist/chunks/shell-deqxj2db.js +0 -251
  695. /package/dist/chunks/{shell-0qkdqm5v.js → image-0qkdqm5v.js} +0 -0
  696. /package/dist/chunks/{shell-0zkw76rk.js → image-0zkw76rk.js} +0 -0
  697. /package/dist/chunks/{shell-17cy0kzp.js → image-17cy0kzp.js} +0 -0
  698. /package/dist/chunks/{shell-1cnp2v09.js → image-1cnp2v09.js} +0 -0
  699. /package/dist/chunks/{shell-1kg9ymc8.js → image-1kg9ymc8.js} +0 -0
  700. /package/dist/chunks/{shell-2710q6r3.js → image-2710q6r3.js} +0 -0
  701. /package/dist/chunks/{shell-2axfhc9x.js → image-2axfhc9x.js} +0 -0
  702. /package/dist/chunks/{shell-2c3vjs8z.js → image-2c3vjs8z.js} +0 -0
  703. /package/dist/chunks/{shell-359p4xyc.js → image-359p4xyc.js} +0 -0
  704. /package/dist/chunks/{shell-3asan66x.js → image-3asan66x.js} +0 -0
  705. /package/dist/chunks/{shell-3v8g72cx.js → image-3v8g72cx.js} +0 -0
  706. /package/dist/chunks/{shell-3w5fmr99.js → image-3w5fmr99.js} +0 -0
  707. /package/dist/chunks/{shell-3wcehsnq.js → image-3wcehsnq.js} +0 -0
  708. /package/dist/chunks/{shell-43n2bw4t.js → image-43n2bw4t.js} +0 -0
  709. /package/dist/chunks/{shell-4knz6hnm.js → image-4knz6hnm.js} +0 -0
  710. /package/dist/chunks/{shell-4vcrnpx2.js → image-4vcrnpx2.js} +0 -0
  711. /package/dist/chunks/{shell-4y7fprxs.js → image-4y7fprxs.js} +0 -0
  712. /package/dist/chunks/{shell-53557ph1.js → image-53557ph1.js} +0 -0
  713. /package/dist/chunks/{shell-550bvhaj.js → image-550bvhaj.js} +0 -0
  714. /package/dist/chunks/{shell-6prwharc.js → image-6prwharc.js} +0 -0
  715. /package/dist/chunks/{shell-7akdwqpd.js → image-7akdwqpd.js} +0 -0
  716. /package/dist/chunks/{shell-7m9af43g.js → image-7m9af43g.js} +0 -0
  717. /package/dist/chunks/{shell-822emrt2.js → image-822emrt2.js} +0 -0
  718. /package/dist/chunks/{shell-88xbtdfr.js → image-88xbtdfr.js} +0 -0
  719. /package/dist/chunks/{shell-8n3pysct.js → image-8n3pysct.js} +0 -0
  720. /package/dist/chunks/{shell-922hggd3.js → image-922hggd3.js} +0 -0
  721. /package/dist/chunks/{shell-9a4afbnw.js → image-9a4afbnw.js} +0 -0
  722. /package/dist/chunks/{shell-9rqn6x4v.js → image-9rqn6x4v.js} +0 -0
  723. /package/dist/chunks/{shell-a6k6eb26.js → image-a6k6eb26.js} +0 -0
  724. /package/dist/chunks/{shell-af5trqkr.js → image-af5trqkr.js} +0 -0
  725. /package/dist/chunks/{shell-afrmfg78.js → image-afrmfg78.js} +0 -0
  726. /package/dist/chunks/{shell-aqzs7mqg.js → image-aqzs7mqg.js} +0 -0
  727. /package/dist/chunks/{shell-atq7p7m5.js → image-atq7p7m5.js} +0 -0
  728. /package/dist/chunks/{shell-bkyjaxrp.js → image-bkyjaxrp.js} +0 -0
  729. /package/dist/chunks/{shell-bmr6ed5q.js → image-bmr6ed5q.js} +0 -0
  730. /package/dist/chunks/{shell-cf4snx6d.js → image-cf4snx6d.js} +0 -0
  731. /package/dist/chunks/{shell-cvy3z8tj.js → image-cvy3z8tj.js} +0 -0
  732. /package/dist/chunks/{shell-d9fn303g.js → image-d9fn303g.js} +0 -0
  733. /package/dist/chunks/{shell-d9jj8t3e.js → image-d9jj8t3e.js} +0 -0
  734. /package/dist/chunks/{shell-dajrwvna.js → image-dajrwvna.js} +0 -0
  735. /package/dist/chunks/{shell-dap0rakb.js → image-dap0rakb.js} +0 -0
  736. /package/dist/chunks/{shell-df08tz66.js → image-df08tz66.js} +0 -0
  737. /package/dist/chunks/{shell-dy18nga0.js → image-dy18nga0.js} +0 -0
  738. /package/dist/chunks/{shell-e5kj55wp.js → image-e5kj55wp.js} +0 -0
  739. /package/dist/chunks/{shell-e73j6tqm.js → image-e73j6tqm.js} +0 -0
  740. /package/dist/chunks/{shell-ec1grn59.js → image-ec1grn59.js} +0 -0
  741. /package/dist/chunks/{shell-eh3zwz77.js → image-eh3zwz77.js} +0 -0
  742. /package/dist/chunks/{shell-emrn6kk6.js → image-emrn6kk6.js} +0 -0
  743. /package/dist/chunks/{shell-f0mxakyp.js → image-f0mxakyp.js} +0 -0
  744. /package/dist/chunks/{shell-f6n9ztr4.js → image-f6n9ztr4.js} +0 -0
  745. /package/dist/chunks/{shell-faypxj3z.js → image-faypxj3z.js} +0 -0
  746. /package/dist/chunks/{shell-fd410y7t.js → image-fd410y7t.js} +0 -0
  747. /package/dist/chunks/{shell-fxgpk5d8.js → image-fxgpk5d8.js} +0 -0
  748. /package/dist/chunks/{shell-g4wezp1m.js → image-g4wezp1m.js} +0 -0
  749. /package/dist/chunks/{shell-g86h250q.js → image-g86h250q.js} +0 -0
  750. /package/dist/chunks/{shell-gebd4c9n.js → image-gebd4c9n.js} +0 -0
  751. /package/dist/chunks/{shell-gftt206x.js → image-gftt206x.js} +0 -0
  752. /package/dist/chunks/{shell-hjbc5kem.js → image-hjbc5kem.js} +0 -0
  753. /package/dist/chunks/{shell-hk9envan.js → image-hk9envan.js} +0 -0
  754. /package/dist/chunks/{shell-hrnqkpcd.js → image-hrnqkpcd.js} +0 -0
  755. /package/dist/chunks/{shell-j2ntwpah.js → image-j2ntwpah.js} +0 -0
  756. /package/dist/chunks/{shell-j5zkgpj8.js → image-j5zkgpj8.js} +0 -0
  757. /package/dist/chunks/{shell-jr7sbwjy.js → image-jr7sbwjy.js} +0 -0
  758. /package/dist/chunks/{shell-jwfs4k6c.js → image-jwfs4k6c.js} +0 -0
  759. /package/dist/chunks/{shell-jzg6c2d5.js → image-jzg6c2d5.js} +0 -0
  760. /package/dist/chunks/{shell-mp448xyj.js → image-mp448xyj.js} +0 -0
  761. /package/dist/chunks/{shell-msx8hqn2.js → image-msx8hqn2.js} +0 -0
  762. /package/dist/chunks/{shell-n05xt0ee.js → image-n05xt0ee.js} +0 -0
  763. /package/dist/chunks/{shell-n3j8tn72.js → image-n3j8tn72.js} +0 -0
  764. /package/dist/chunks/{shell-njntx4h6.js → image-njntx4h6.js} +0 -0
  765. /package/dist/chunks/{shell-q3sfg36h.js → image-q3sfg36h.js} +0 -0
  766. /package/dist/chunks/{shell-q74kybfr.js → image-q74kybfr.js} +0 -0
  767. /package/dist/chunks/{shell-qaymkmh1.js → image-qaymkmh1.js} +0 -0
  768. /package/dist/chunks/{shell-qb87gjwd.js → image-qb87gjwd.js} +0 -0
  769. /package/dist/chunks/{shell-qfa1cgps.js → image-qfa1cgps.js} +0 -0
  770. /package/dist/chunks/{shell-qrg20bc0.js → image-qrg20bc0.js} +0 -0
  771. /package/dist/chunks/{shell-rcb2kzg1.js → image-rcb2kzg1.js} +0 -0
  772. /package/dist/chunks/{shell-sdp7kfr6.js → image-sdp7kfr6.js} +0 -0
  773. /package/dist/chunks/{shell-sk3qaz4a.js → image-sk3qaz4a.js} +0 -0
  774. /package/dist/chunks/{shell-ssg3fenm.js → image-ssg3fenm.js} +0 -0
  775. /package/dist/chunks/{shell-twg0f83k.js → image-twg0f83k.js} +0 -0
  776. /package/dist/chunks/{shell-w803qqfp.js → image-w803qqfp.js} +0 -0
  777. /package/dist/chunks/{shell-wer8tq1h.js → image-wer8tq1h.js} +0 -0
  778. /package/dist/chunks/{shell-wtztk69x.js → image-wtztk69x.js} +0 -0
  779. /package/dist/chunks/{shell-x0ckcb58.js → image-x0ckcb58.js} +0 -0
  780. /package/dist/chunks/{shell-x61499pn.js → image-x61499pn.js} +0 -0
  781. /package/dist/chunks/{shell-y44na4kk.js → image-y44na4kk.js} +0 -0
  782. /package/dist/chunks/{shell-y8cydn3q.js → image-y8cydn3q.js} +0 -0
  783. /package/dist/chunks/{shell-y8f7s663.js → image-y8f7s663.js} +0 -0
  784. /package/dist/chunks/{shell-ygaqb7jw.js → image-ygaqb7jw.js} +0 -0
  785. /package/dist/chunks/{shell-ym463w8f.js → image-ym463w8f.js} +0 -0
  786. /package/dist/chunks/{shell-z9919s4g.js → image-z9919s4g.js} +0 -0
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service52
3
- } from "./shell-f58gpcny.js";
2
+ Service46
3
+ } from "./image-rwmg7s8f.js";
4
4
  import {
5
- Service45
6
- } from "./shell-ff0htmxq.js";
5
+ Service61
6
+ } from "./image-ebah8r6x.js";
7
7
  import {
8
8
  detect2
9
- } from "./shell-3smtnn6g.js";
9
+ } from "./image-3smtnn6g.js";
10
10
  import {
11
11
  awaitActivation2
12
- } from "./shell-rap9a73h.js";
12
+ } from "./image-rap9a73h.js";
13
13
  import {
14
- Service62
15
- } from "./shell-ngts6ef0.js";
14
+ Service69
15
+ } from "./image-3zykk5as.js";
16
16
  import {
17
17
  AttachmentError2,
18
18
  SkillNotFoundError2
19
- } from "./shell-pjcjb8bs.js";
19
+ } from "./image-ybhbtxjg.js";
20
20
  import {
21
21
  prepare3,
22
- Service39
23
- } from "./shell-cgccaycz.js";
22
+ Service38
23
+ } from "./image-h79m35fy.js";
24
24
  import {
25
25
  __export
26
- } from "./shell-9rqn6x4v.js";
26
+ } from "./image-9rqn6x4v.js";
27
27
 
28
28
  // src/session/prompt.ts
29
29
  var exports_prompt = {};
@@ -39,10 +39,10 @@ import path from "path";
39
39
  import { fileURLToPath } from "url";
40
40
  var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
41
41
  const fs = yield* FSUtil.Service;
42
- const instances = yield* Service45;
42
+ const instances = yield* Service61;
43
43
  return yield* Effect.gen(function* () {
44
44
  yield* awaitActivation2;
45
- const hooks = yield* Service62;
45
+ const hooks = yield* Service69;
46
46
  const event = yield* hooks.trigger("session", "prompt", {
47
47
  sessionID: request.session.id,
48
48
  messageID: request.messageID,
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
61
61
  const selected = yield* Effect.gen(function* () {
62
62
  if (!requested?.length)
63
63
  return;
64
- const skillService = yield* Service39;
64
+ const skillService = yield* Service38;
65
65
  const prepared = new Map;
66
66
  return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
67
67
  const name = prepared.get(attachment.id);
@@ -125,7 +125,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
125
125
  var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
126
126
  if (!mime.startsWith("image/"))
127
127
  return { data: Base64.make(data), mime };
128
- const image = yield* Service52;
128
+ const image = yield* Service46;
129
129
  const label = input.name ?? (input.uri.startsWith("data:") ? "inline attachment" : input.uri);
130
130
  const content = { uri: label, content: data, encoding: "base64", mime };
131
131
  const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./shell-ym463w8f.js";
3
+ } from "./image-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/venice.ts
6
6
  var VenicePlugin2 = createProviderPlugin2({
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  InvalidError2
3
- } from "./shell-29x78va6.js";
3
+ } from "./image-z63w68vq.js";
4
4
  import {
5
5
  __export
6
- } from "./shell-9rqn6x4v.js";
6
+ } from "./image-9rqn6x4v.js";
7
7
 
8
8
  // src/config/variable.ts
9
9
  var exports_variable = {};
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  Service81,
3
3
  node86
4
- } from "./shell-28aedara.js";
4
+ } from "./image-fhtb1nxk.js";
5
5
  import {
6
6
  Key3,
7
7
  removed2,
8
- make18,
8
+ make21,
9
9
  combine2
10
- } from "./shell-0gdmqesm.js";
10
+ } from "./image-s8d7rejh.js";
11
11
  import {
12
12
  InstructionEntryTable2
13
- } from "./shell-a1bz86dw.js";
13
+ } from "./image-5c4hm403.js";
14
14
  import {
15
15
  __export
16
- } from "./shell-9rqn6x4v.js";
16
+ } from "./image-9rqn6x4v.js";
17
17
 
18
18
  // src/session/instruction-entry.ts
19
19
  var exports_instruction_entry = {};
@@ -22,11 +22,11 @@ __export(exports_instruction_entry, {
22
22
  InstructionEntry: () => exports_instruction_entry,
23
23
  Key: () => Key2,
24
24
  MaxValueBytes: () => MaxValueBytes2,
25
- Service: () => Service30,
25
+ Service: () => Service32,
26
26
  Snapshot: () => Snapshot2,
27
27
  ValueTooLargeError: () => ValueTooLargeError2,
28
28
  initialize: () => initialize2,
29
- node: () => node35,
29
+ node: () => node37,
30
30
  snapshot: () => snapshot2
31
31
  });
32
32
  import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -56,12 +56,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
56
56
  }))).run().pipe(Effect.orDie), { discard: true });
57
57
  });
58
58
 
59
- class Service30 extends Context.Service()("@opencode/InstructionEntry") {
59
+ class Service32 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) => make18({
64
+ var source = (entry) => make21({
65
65
  key: Key3.make(`api/${entry.key}`),
66
66
  codec: Schema.toCodecJson(Schema.Json),
67
67
  read: Effect.succeed(entry.removed ? removed2 : entry.value),
@@ -75,7 +75,7 @@ var source = (entry) => make18({
75
75
  removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
76
76
  }
77
77
  });
78
- var layer = Layer.effect(Service30, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service32, Effect.gen(function* () {
79
79
  const { db } = yield* Service81;
80
80
  const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
81
81
  return yield* db.select({
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service30, 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 Service30.of({ list, put, remove, load });
111
+ return Service32.of({ list, put, remove, load });
112
112
  }));
113
- var node35 = makeLocationNode({ service: Service30, layer, deps: [node86] });
113
+ var node37 = makeLocationNode({ service: Service32, layer, deps: [node86] });
114
114
 
115
- export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service30, node35, exports_instruction_entry };
115
+ export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service32, node37, exports_instruction_entry };
@@ -1,10 +1,10 @@
1
1
  import {
2
- Service77,
3
- node82
4
- } from "./shell-bsp1pkt4.js";
2
+ Service80,
3
+ node85
4
+ } from "./image-gse1qw90.js";
5
5
  import {
6
6
  __export
7
- } from "./shell-9rqn6x4v.js";
7
+ } from "./image-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -16,17 +16,17 @@ __export(exports_form, {
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID13,
20
- Info: () => Info28,
19
+ ID: () => ID15,
20
+ Info: () => Info30,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
23
  NotFoundError: () => NotFoundError10,
24
24
  Reply: () => Reply3,
25
- Service: () => Service70,
25
+ Service: () => Service74,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
28
  layer: () => layer25,
29
- node: () => node74,
29
+ node: () => node79,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
32
32
  });
@@ -35,8 +35,8 @@ import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  import { Event as Event19 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID13 = Form.ID;
39
- var Info28 = Form.Info;
38
+ var ID15 = Form.ID;
39
+ var Info30 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
42
42
  var When2 = Form.When;
@@ -45,7 +45,7 @@ var Answer2 = Form.Answer;
45
45
  var Reply3 = Form.Reply;
46
46
 
47
47
  class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID13
48
+ id: ID15
49
49
  }) {
50
50
  get message() {
51
51
  return `Form not found: ${this.id}`;
@@ -53,7 +53,7 @@ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
53
53
  }
54
54
 
55
55
  class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
56
- id: ID13
56
+ id: ID15
57
57
  }) {
58
58
  get message() {
59
59
  return `Form already settled: ${this.id}`;
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
61
61
  }
62
62
 
63
63
  class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
64
- id: ID13
64
+ id: ID15
65
65
  }) {
66
66
  get message() {
67
67
  return `Form already exists: ${this.id}`;
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
69
69
  }
70
70
 
71
71
  class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
72
- id: ID13,
72
+ id: ID15,
73
73
  message: Schema.String
74
74
  }) {
75
75
  }
@@ -79,17 +79,17 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service70 extends Context.Service()("@opencode/Form") {
82
+ class Service74 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer25 = Layer.effect(Service70, Effect.gen(function* () {
85
- const bus = yield* Service77;
84
+ var layer25 = Layer.effect(Service74, Effect.gen(function* () {
85
+ const bus = yield* Service80;
86
86
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
87
87
  capacity: Number.MAX_SAFE_INTEGER,
88
88
  timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
89
89
  });
90
90
  const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
91
91
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
92
- const id = input.id ?? ID13.create();
92
+ const id = input.id ?? ID15.create();
93
93
  const existing = yield* Cache.getSuccess(forms, id);
94
94
  if (Option.isSome(existing))
95
95
  return yield* new AlreadyExistsError2({ id });
@@ -153,9 +153,9 @@ var layer25 = Layer.effect(Service70, Effect.gen(function* () {
153
153
  yield* Deferred.succeed(entry.deferred, next);
154
154
  })));
155
155
  yield* Effect.addFinalizer(() => Cache.values(forms).pipe(Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true }))));
156
- return Service70.of({ create, ask, get, list, state, reply, cancel });
156
+ return Service74.of({ create, ask, get, list, state, reply, cancel });
157
157
  }));
158
- var node74 = makeLocationNode({ service: Service70, layer: layer25, deps: [node82] });
158
+ var node79 = makeLocationNode({ service: Service74, layer: layer25, deps: [node85] });
159
159
  function validateAnswer2(form, answer) {
160
160
  const fields = new Map(form.map((field) => [field.key, field]));
161
161
  for (const key of Object.keys(answer)) {
@@ -307,4 +307,4 @@ function isDateTime(value) {
307
307
  return !Number.isNaN(new Date(value).getTime());
308
308
  }
309
309
 
310
- export { ID13, Info28, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service70, layer25, node74, validateAnswer2, validateFields2, exports_form, Event19 };
310
+ export { ID15, Info30, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service74, layer25, node79, validateAnswer2, validateFields2, exports_form, Event19 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./shell-ym463w8f.js";
3
+ } from "./image-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/cohere.ts
6
6
  var CoherePlugin2 = createProviderPlugin2({
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  NamedError2
3
- } from "./shell-2axfhc9x.js";
3
+ } from "./image-2axfhc9x.js";
4
4
  import {
5
5
  __export
6
- } from "./shell-9rqn6x4v.js";
6
+ } from "./image-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/error.ts
9
- var exports_error2 = {};
10
- __export(exports_error2, {
11
- ConfigErrorV1: () => exports_error2,
9
+ var exports_error = {};
10
+ __export(exports_error, {
11
+ ConfigErrorV1: () => exports_error,
12
12
  DirectoryTypoError: () => DirectoryTypoError2,
13
13
  FrontmatterError: () => FrontmatterError2,
14
14
  InvalidError: () => InvalidError2,
@@ -43,4 +43,4 @@ var RemoteAuthError2 = NamedError2.create("ConfigRemoteAuthError", {
43
43
  remote: Schema.String
44
44
  });
45
45
 
46
- export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2, exports_error2 };
46
+ export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2, exports_error };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  create3
3
- } from "./shell-rdw6cm16.js";
3
+ } from "./image-rdw6cm16.js";
4
4
  import {
5
5
  which2
6
- } from "./shell-qaymkmh1.js";
6
+ } from "./image-qaymkmh1.js";
7
7
  import {
8
8
  __export
9
- } from "./shell-9rqn6x4v.js";
9
+ } from "./image-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: () => Service61,
14
+ Options: () => Options10,
15
+ Service: () => Service56,
16
16
  ShellSelect: () => exports_select,
17
17
  args: () => args2,
18
- configured: () => configured6,
18
+ configured: () => configured11,
19
19
  environment: () => environment2,
20
20
  gitbash: () => gitbash2,
21
- list: () => list4,
21
+ list: () => list3,
22
22
  login: () => login2,
23
23
  name: () => name15,
24
- node: () => node64,
24
+ node: () => node62,
25
25
  ps: () => ps2,
26
- resolve: () => resolve2
26
+ resolve: () => resolve3
27
27
  });
28
28
  import path from "path";
29
29
  import { readFile } from "fs/promises";
@@ -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 Options10 = Schema.Struct({
47
47
  gitbash: Schema.optional(Schema.String)
48
48
  });
49
49
 
50
- class Service61 extends Context.Service()("@opencode/ShellSelect") {
50
+ class Service56 extends Context.Service()("@opencode/ShellSelect") {
51
51
  }
52
52
  function stat(file) {
53
53
  return statSync(file, { throwIfNoEntry: false }) ?? undefined;
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
164
164
  }
165
165
  var defaultConfigured;
166
166
  var defaultCompatible;
167
- function resolve2(input, configShell, options, bin) {
167
+ function resolve3(input, configShell, options, bin) {
168
168
  const filter = input.priority === "compat" ? { compatible: true } : undefined;
169
169
  if (configShell)
170
170
  return select(configShell, options, filter, bin);
@@ -180,15 +180,15 @@ function resolve2(input, configShell, options, bin) {
180
180
  defaultConfigured = { bin, value };
181
181
  return value;
182
182
  }
183
- resolve2.reset = () => {
183
+ resolve3.reset = () => {
184
184
  defaultConfigured = undefined;
185
185
  defaultCompatible = undefined;
186
186
  };
187
- async function list4(options, bin) {
187
+ async function list3(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(Service61, Effect.gen(function* () {
191
+ var layer = (options) => Layer.effect(Service56, 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(Service61, Effect.gen(function* () {
199
199
  }
200
200
  })
201
201
  });
202
- return Service61.of({
202
+ return Service56.of({
203
203
  transform: state.transform,
204
204
  reload: state.reload,
205
- resolve: (input) => Effect.sync(() => resolve2(input, state.get().shell, options, global.bin)),
206
- list: () => Effect.promise(() => list4(options, global.bin))
205
+ resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin)),
206
+ list: () => Effect.promise(() => list3(options, global.bin))
207
207
  });
208
208
  }));
209
- function configured6(options) {
210
- return makeLocationNode({ service: Service61, layer: layer(options), deps: [Global.node] });
209
+ function configured11(options) {
210
+ return makeLocationNode({ service: Service56, layer: layer(options), deps: [Global.node] });
211
211
  }
212
- var node64 = configured6();
212
+ var node62 = configured11();
213
213
 
214
- export { Options6, Service61, gitbash2, name15, login2, ps2, args2, environment2, resolve2, list4, configured6, node64, exports_select };
214
+ export { Options10, Service56, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list3, configured11, node62, exports_select };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./shell-922hggd3.js";
3
+ } from "./image-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./shell-9rqn6x4v.js";
6
+ } from "./image-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/server.ts
9
9
  var exports_server = {};
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isCheckpoint2,
3
3
  decode2
4
- } from "./shell-csf2jhsg.js";
4
+ } from "./image-5c0f1prt.js";
5
5
 
6
6
  // src/session/runner/to-llm-message.ts
7
7
  import {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./shell-9rqn6x4v.js";
3
+ } from "./image-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/promise.ts
6
6
  var exports_promise = {};
@@ -1,39 +1,39 @@
1
1
  import {
2
- Service77,
3
- node82
4
- } from "./shell-bsp1pkt4.js";
2
+ Service80,
3
+ node85
4
+ } from "./image-gse1qw90.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./shell-rdw6cm16.js";
8
+ } from "./image-rdw6cm16.js";
9
9
  import {
10
- ID12,
11
- Service69,
12
- node73,
10
+ ID14,
11
+ Service73,
12
+ node78,
13
13
  Event18
14
- } from "./shell-3657zqg5.js";
14
+ } from "./image-dt0jwwwa.js";
15
15
  import {
16
16
  key2
17
- } from "./shell-5mtzsd3b.js";
17
+ } from "./image-h6r3nrb9.js";
18
18
  import {
19
- Service75,
20
- node80
21
- } from "./shell-t44n027g.js";
19
+ Service77,
20
+ node82
21
+ } from "./image-7jm5jzq7.js";
22
22
  import {
23
23
  __export
24
- } from "./shell-9rqn6x4v.js";
24
+ } from "./image-9rqn6x4v.js";
25
25
 
26
26
  // src/provider.ts
27
27
  var exports_provider3 = {};
28
28
  __export(exports_provider3, {
29
29
  AISDK_PREFIX: () => AISDK_PREFIX2,
30
30
  Event: () => Event17,
31
- ID: () => ID11,
32
- Info: () => Info25,
31
+ ID: () => ID13,
32
+ Info: () => Info27,
33
33
  LoadError: () => LoadError3,
34
34
  Provider: () => exports_provider3,
35
35
  Request: () => Request3,
36
- Service: () => Service68,
36
+ Service: () => Service72,
37
37
  Settings: () => Settings2,
38
38
  aisdk: () => aisdk2,
39
39
  isAISDK: () => isAISDK2,
@@ -41,7 +41,7 @@ __export(exports_provider3, {
41
41
  mergeHeaders: () => mergeHeaders2,
42
42
  mergeOverlay: () => mergeOverlay2,
43
43
  nativeSettings: () => nativeSettings2,
44
- node: () => node72,
44
+ node: () => node77,
45
45
  packageName: () => packageName2
46
46
  });
47
47
  import { Context, Effect, Layer, Schema, Stream, Struct } from "effect";
@@ -53,7 +53,7 @@ import { importModule, resolveModule } from "@opencode/util/runtime-import";
53
53
  import { Credential } from "@opencode/schema/credential";
54
54
  import { freeze } from "immer";
55
55
  import { Event as Event17 } from "@opencode/schema/provider";
56
- var ID11 = Provider.ID;
56
+ var ID13 = Provider.ID;
57
57
  var AISDK_PREFIX2 = "aisdk:";
58
58
  var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
59
59
  var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
@@ -173,9 +173,9 @@ function mergeHeaders2(base, overlay) {
173
173
  }
174
174
  var Request3 = Provider.Request;
175
175
  var Settings2 = Provider.Settings;
176
- var Info25 = Provider.Info;
176
+ var Info27 = Provider.Info;
177
177
 
178
- class Service68 extends Context.Service()("@opencode/Provider") {
178
+ class Service72 extends Context.Service()("@opencode/Provider") {
179
179
  }
180
180
  var definitions = new WeakMap;
181
181
  function index(models) {
@@ -186,10 +186,10 @@ function index(models) {
186
186
  definitions.set(models, result);
187
187
  return result;
188
188
  }
189
- var layer = Layer.effect(Service68, Effect.gen(function* () {
190
- const bus = yield* Service77;
191
- const integrations = yield* Service69;
192
- const location = yield* Service75;
189
+ var layer = Layer.effect(Service72, Effect.gen(function* () {
190
+ const bus = yield* Service80;
191
+ const integrations = yield* Service73;
192
+ const location = yield* Service77;
193
193
  const state = create3({
194
194
  name: "provider",
195
195
  initial: () => new Map,
@@ -200,7 +200,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
200
200
  const current = records.get(id);
201
201
  if (current)
202
202
  return current;
203
- const added = { provider: Info25.empty(id), models: new Map };
203
+ const added = { provider: Info27.empty(id), models: new Map };
204
204
  records.set(id, added);
205
205
  maps.add(added.models);
206
206
  return added;
@@ -272,7 +272,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
272
272
  const available = Array.from(records.values()).filter((record) => {
273
273
  if (record.provider.activation === "disabled")
274
274
  return false;
275
- const integration = byID.get(record.provider.integrationID ?? ID12.make(record.provider.id));
275
+ const integration = byID.get(record.provider.integrationID ?? ID14.make(record.provider.id));
276
276
  if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
277
277
  return false;
278
278
  if (record.provider.activation === "enabled")
@@ -297,7 +297,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
297
297
  });
298
298
  });
299
299
  yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
300
- return Service68.of({
300
+ return Service72.of({
301
301
  transform: state.transform,
302
302
  reload: state.reload,
303
303
  get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
@@ -306,7 +306,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
306
306
  snapshot
307
307
  });
308
308
  }));
309
- var node72 = makeLocationNode({ service: Service68, layer, deps: [node82, node73, node80] });
309
+ var node77 = makeLocationNode({ service: Service72, layer, deps: [node85, node78, node82] });
310
310
  var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
311
311
  const module = yield* Effect.tryPromise({
312
312
  try: () => {
@@ -328,4 +328,4 @@ var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, en
328
328
  return module;
329
329
  });
330
330
 
331
- export { ID11, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, mergeOverlay2, mergeHeaders2, Request3, Settings2, Info25, Service68, node72, exports_provider3, Event17 };
331
+ export { ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, mergeOverlay2, mergeHeaders2, Request3, Settings2, Info27, Service72, node77, exports_provider3, Event17 };