@opencode/core 0.0.0-dev-19607 → 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 (785) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  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-8pbhr5rb.js → image-010j0rjj.js} +11 -11
  8. package/dist/chunks/{bus-7kj26btf.js → image-0dr9jjfc.js} +3 -3
  9. package/dist/chunks/{bus-a4f8rw7k.js → image-0evxafpt.js} +10 -10
  10. package/dist/chunks/{bus-0paq2nw3.js → image-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{bus-0q0f95c6.js → image-0q0f95c6.js} +1 -1
  12. package/dist/chunks/{bus-cnb5z5cf.js → image-0qaz1sfc.js} +8 -8
  13. package/dist/chunks/{bus-qed01h9c.js → image-0xnze9ce.js} +65 -65
  14. package/dist/chunks/{bus-2p5j9sv7.js → image-10fqs124.js} +15 -15
  15. package/dist/chunks/{bus-zakjc7j6.js → image-1a4hyc8b.js} +18 -18
  16. package/dist/chunks/{bus-73tb2d7t.js → image-1bbkgx8g.js} +3 -3
  17. package/dist/chunks/{bus-1dazxqgg.js → image-1dazxqgg.js} +2 -2
  18. package/dist/chunks/{bus-9m5kzw0e.js → image-1kgb4aq1.js} +8 -8
  19. package/dist/chunks/{bus-b5ky3g00.js → image-1z5mtsne.js} +2 -2
  20. package/dist/chunks/{bus-k5m0fz1p.js → image-1zqsf2j9.js} +8 -8
  21. package/dist/chunks/{bus-21r38tys.js → image-21r38tys.js} +1 -1
  22. package/dist/chunks/{bus-v1ksr1cs.js → image-22zy1c33.js} +8 -8
  23. package/dist/chunks/{bus-6h73sxmp.js → image-2402vzrj.js} +5 -5
  24. package/dist/chunks/{bus-2a5m3afh.js → image-2a5m3afh.js} +1 -1
  25. package/dist/chunks/{bus-8qvaa28h.js → image-2c0ya96f.js} +10 -10
  26. package/dist/chunks/{bus-h686kfbk.js → image-2eh5hdcs.js} +9 -9
  27. package/dist/chunks/{bus-te6cpsjw.js → image-30hxd0b6.js} +4 -4
  28. package/dist/chunks/{bus-p33wnvsh.js → image-33dzk201.js} +32 -32
  29. package/dist/chunks/{bus-33w4ejhs.js → image-33w4ejhs.js} +2 -2
  30. package/dist/chunks/{bus-m63gtq16.js → image-3685kgv2.js} +11 -11
  31. package/dist/chunks/{bus-3fc6dm20.js → image-3fc6dm20.js} +1 -1
  32. package/dist/chunks/{bus-3hepkmqq.js → image-3hepkmqq.js} +1 -1
  33. package/dist/chunks/{bus-2vvyjm96.js → image-3p19zrd2.js} +85 -85
  34. package/dist/chunks/{bus-3smtnn6g.js → image-3smtnn6g.js} +1 -1
  35. package/dist/chunks/{bus-zbj7r6th.js → image-3t9tj8wy.js} +10 -10
  36. package/dist/chunks/{bus-3tvqynh2.js → image-3tvqynh2.js} +1 -1
  37. package/dist/chunks/{bus-74ag36aw.js → image-3wctd9by.js} +19 -19
  38. package/dist/chunks/{bus-at1kfnmk.js → image-3zykk5as.js} +8 -8
  39. package/dist/chunks/{bus-w6dzfd7x.js → image-41kev6en.js} +12 -12
  40. package/dist/chunks/{bus-4xgsacd1.js → image-49q20pp7.js} +26 -26
  41. package/dist/chunks/{bus-cj2xyb66.js → image-4a27vn7r.js} +17 -17
  42. package/dist/chunks/{bus-w35y2yw8.js → image-4jygvmvn.js} +24 -24
  43. package/dist/chunks/{bus-cdvm88eq.js → image-4mfmjxec.js} +9 -9
  44. package/dist/chunks/{bus-engx0f1y.js → image-4n3236zn.js} +12 -12
  45. package/dist/chunks/{bus-nrtvwtgm.js → image-4qh8ec8f.js} +4 -4
  46. package/dist/chunks/{bus-2wmcpc5j.js → image-4vte9j2j.js} +8 -8
  47. package/dist/chunks/{bus-xpfz5w62.js → image-4w2yzhqg.js} +6 -6
  48. package/dist/chunks/{bus-0ffvsmqa.js → image-54tjnctb.js} +9 -9
  49. package/dist/chunks/{bus-4sn99hha.js → image-57ez7d0k.js} +7 -7
  50. package/dist/chunks/{bus-hvk5xh9a.js → image-59sbn0zz.js} +45 -45
  51. package/dist/chunks/{bus-atssdtxp.js → image-5bekvhzp.js} +9 -9
  52. package/dist/chunks/{bus-jcmyxw9c.js → image-5bny2dwb.js} +12 -12
  53. package/dist/chunks/{bus-paegk39x.js → image-5c0f1prt.js} +4 -4
  54. package/dist/chunks/{bus-a1bz86dw.js → image-5c4hm403.js} +3 -3
  55. package/dist/chunks/{bus-5daktx2q.js → image-5daktx2q.js} +1 -1
  56. package/dist/chunks/{bus-5d17xbav.js → image-5ebw3s4g.js} +5 -5
  57. package/dist/chunks/{bus-kxdh0s6n.js → image-5k2nshkd.js} +11 -11
  58. package/dist/chunks/{bus-5t3nmthw.js → image-5t3nmthw.js} +2 -2
  59. package/dist/chunks/{bus-dn2g8ty9.js → image-5wmgxaxj.js} +16 -16
  60. package/dist/chunks/{bus-v4hmzr0r.js → image-5xtgfte3.js} +8 -8
  61. package/dist/chunks/{bus-zg4yt3jb.js → image-61s2mknn.js} +33 -33
  62. package/dist/chunks/{bus-669tq793.js → image-669tq793.js} +1 -1
  63. package/dist/chunks/{bus-6msgmcgs.js → image-6msgmcgs.js} +1 -1
  64. package/dist/chunks/{bus-jdc9ax8k.js → image-6npptpe2.js} +7 -7
  65. package/dist/chunks/{bus-fec9d9pd.js → image-6q87w041.js} +56 -56
  66. package/dist/chunks/{bus-cst62dfw.js → image-6s054ecb.js} +20 -20
  67. package/dist/chunks/{bus-e16t29dh.js → image-6ya7w255.js} +3 -3
  68. package/dist/chunks/{bus-71q4at8m.js → image-71q4at8m.js} +1 -1
  69. package/dist/chunks/{bus-fxqygnfa.js → image-7ac170kv.js} +4 -4
  70. package/dist/chunks/{bus-7bmhse3q.js → image-7bmhse3q.js} +1 -1
  71. package/dist/chunks/{bus-0jwsre1p.js → image-7dqw4kz8.js} +5 -5
  72. package/dist/chunks/{bus-cpng0f85.js → image-7f40knje.js} +29 -29
  73. package/dist/chunks/{bus-9gwk1d27.js → image-7gmd6s9f.js} +292 -292
  74. package/dist/chunks/{bus-7414g21f.js → image-7hqs4pm0.js} +43 -43
  75. package/dist/chunks/{bus-73z097ay.js → image-7jm5jzq7.js} +16 -16
  76. package/dist/chunks/{bus-c3nbwr53.js → image-7rjv7hd1.js} +43 -43
  77. package/dist/chunks/{bus-mz0r0wg6.js → image-7s78zkxc.js} +17 -17
  78. package/dist/chunks/{bus-sg1mp0wp.js → image-7sny0gx5.js} +21 -21
  79. package/dist/chunks/{bus-ewp6a6x8.js → image-7wtn6qfv.js} +37 -37
  80. package/dist/chunks/{bus-eq4mjx14.js → image-806p5xqx.js} +23 -23
  81. package/dist/chunks/{bus-tdhe5xga.js → image-818pfwc9.js} +8 -8
  82. package/dist/chunks/{bus-2t9y4ena.js → image-87wkjvtv.js} +22 -22
  83. package/dist/chunks/{bus-8d7r5vzw.js → image-8d7r5vzw.js} +1 -1
  84. package/dist/chunks/{bus-q09v2a5f.js → image-8dhatp37.js} +4 -4
  85. package/dist/chunks/{bus-yx0rmv9r.js → image-8e1b1gzh.js} +6 -6
  86. package/dist/chunks/{bus-eebdtnk6.js → image-8r48jvq9.js} +8 -8
  87. package/dist/chunks/{bus-gcrpxwkb.js → image-8y2shdgp.js} +33 -33
  88. package/dist/chunks/{bus-xx2kx86r.js → image-922nm86p.js} +43 -43
  89. package/dist/chunks/{bus-25k60r6z.js → image-95hsdyye.js} +19 -19
  90. package/dist/chunks/{bus-gemkh5vt.js → image-96dvqytq.js} +24 -24
  91. package/dist/chunks/{bus-62akg8e4.js → image-98n2zv5b.js} +22 -22
  92. package/dist/chunks/{bus-179189h4.js → image-9h41vc4j.js} +4 -4
  93. package/dist/chunks/{bus-vgg4xkgc.js → image-9mvt1ex4.js} +8 -8
  94. package/dist/chunks/{bus-jca4demv.js → image-a3r4dcrj.js} +2 -2
  95. package/dist/chunks/{bus-c72vda60.js → image-a84h0eb3.js} +24 -24
  96. package/dist/chunks/{bus-aaet6srn.js → image-aaet6srn.js} +2 -2
  97. package/dist/chunks/image-ae2tejpt.js +251 -0
  98. package/dist/chunks/{bus-ca7w653e.js → image-afdssyjb.js} +4 -4
  99. package/dist/chunks/{bus-m4sagrtb.js → image-aj6515bh.js} +49 -49
  100. package/dist/chunks/{bus-hs3grr87.js → image-axf0s4jm.js} +21 -21
  101. package/dist/chunks/{bus-fz5sfred.js → image-axyt463m.js} +18 -18
  102. package/dist/chunks/{bus-0hng8cbp.js → image-azxt8y52.js} +17 -17
  103. package/dist/chunks/{bus-236xsrf6.js → image-b5f0xpv3.js} +25 -25
  104. package/dist/chunks/{bus-b6gygkdw.js → image-b6gygkdw.js} +2 -2
  105. package/dist/chunks/{bus-ay1e4s3v.js → image-bjsxm6fs.js} +17 -17
  106. package/dist/chunks/{bus-1vh9c756.js → image-bpr49tj0.js} +14 -14
  107. package/dist/chunks/{bus-jssqjg8j.js → image-bva47t1w.js} +7 -7
  108. package/dist/chunks/{bus-gbcrwt4m.js → image-bxtjsyk9.js} +10 -10
  109. package/dist/chunks/{bus-zp0g5kd9.js → image-c4qbqqm9.js} +15 -15
  110. package/dist/chunks/{bus-ycxk46z7.js → image-c605ygk1.js} +47 -47
  111. package/dist/chunks/{bus-qyeevtht.js → image-c76sny21.js} +39 -39
  112. package/dist/chunks/{bus-a3e7ey2w.js → image-cacjtj5k.js} +5 -5
  113. package/dist/chunks/{bus-fcxm0egy.js → image-cbbptew9.js} +12 -12
  114. package/dist/chunks/{bus-nnq4n2qn.js → image-cefmkny3.js} +43 -43
  115. package/dist/chunks/{bus-t402yjt7.js → image-cfp1wp84.js} +25 -25
  116. package/dist/chunks/{bus-v2tpmsmj.js → image-ch1hcs5y.js} +41 -41
  117. package/dist/chunks/{bus-w5k3gg8r.js → image-cmra4ph4.js} +90 -90
  118. package/dist/chunks/{bus-stb1hwq0.js → image-cpce81tk.js} +15 -15
  119. package/dist/chunks/{bus-g8n86g3v.js → image-cs2qrq3p.js} +2 -2
  120. package/dist/chunks/{bus-b8ey678w.js → image-d4he2qe1.js} +9 -9
  121. package/dist/chunks/{bus-pwpvhpkp.js → image-d5g3wzfd.js} +18 -18
  122. package/dist/chunks/{bus-zcxhpjvf.js → image-d7tzj868.js} +23 -23
  123. package/dist/chunks/{bus-j2149bqs.js → image-dh6wvp2k.js} +11 -11
  124. package/dist/chunks/{bus-yjjca98t.js → image-dh976vjg.js} +18 -18
  125. package/dist/chunks/{bus-8p4f9s12.js → image-dj2t23y0.js} +2 -2
  126. package/dist/chunks/{bus-dpkg50ah.js → image-dpkg50ah.js} +1 -1
  127. package/dist/chunks/{bus-ktjqq88n.js → image-dt0jwwwa.js} +32 -32
  128. package/dist/chunks/{bus-gzyaaj9q.js → image-dw06mjkt.js} +13 -13
  129. package/dist/chunks/{bus-686zvbc5.js → image-e1kg9vz0.js} +52 -52
  130. package/dist/chunks/{bus-e5nv3ght.js → image-e5nv3ght.js} +2 -2
  131. package/dist/chunks/{bus-63xctefh.js → image-ebah8r6x.js} +6 -6
  132. package/dist/chunks/{bus-2hhrjxd4.js → image-eeh91h1y.js} +13 -13
  133. package/dist/chunks/{bus-ef5x83kb.js → image-ef5x83kb.js} +1 -1
  134. package/dist/chunks/{bus-0pwp6vee.js → image-enrjqv4h.js} +17 -17
  135. package/dist/chunks/{bus-ppj42jsj.js → image-ep9bxrrg.js} +12 -12
  136. package/dist/chunks/{bus-etq0c3wd.js → image-etq0c3wd.js} +1 -1
  137. package/dist/chunks/{bus-nzh27kh4.js → image-ey7m5wa6.js} +13 -13
  138. package/dist/chunks/{bus-0h0xn3fd.js → image-f270k846.js} +26 -26
  139. package/dist/chunks/{bus-xsxe7432.js → image-f2gth83d.js} +9 -9
  140. package/dist/chunks/{bus-4fb4zfkv.js → image-f2jvx8nr.js} +3 -3
  141. package/dist/chunks/{bus-nkj12b6c.js → image-f5crtqgd.js} +176 -176
  142. package/dist/chunks/{bus-hp23vqgj.js → image-fgjfhan0.js} +4 -4
  143. package/dist/chunks/{bus-g4rgasps.js → image-fhtb1nxk.js} +3 -3
  144. package/dist/chunks/{bus-bdqrk2vk.js → image-fjvydvzm.js} +4 -4
  145. package/dist/chunks/{bus-jg1rg3jc.js → image-fr9qgvrp.js} +47 -47
  146. package/dist/chunks/{bus-kdh23bg8.js → image-fsqzyqf7.js} +15 -15
  147. package/dist/chunks/{bus-15zevn5w.js → image-fvanntqq.js} +6 -6
  148. package/dist/chunks/{bus-fxbjtjnd.js → image-fxbjtjnd.js} +1 -1
  149. package/dist/chunks/{bus-mjymc32g.js → image-g190xswt.js} +4 -4
  150. package/dist/chunks/{bus-3vk31qq0.js → image-g36gcegr.js} +1 -1
  151. package/dist/chunks/{bus-15nepkqg.js → image-g477egy3.js} +8 -8
  152. package/dist/chunks/{bus-72774a2p.js → image-g7q9pgkk.js} +6 -6
  153. package/dist/chunks/{bus-gd4qta3r.js → image-gd4qta3r.js} +1 -1
  154. package/dist/chunks/{bus-w0sf05pe.js → image-ggv97vhn.js} +4 -4
  155. package/dist/chunks/{bus-gx8hye9g.js → image-ghtm10aa.js} +6 -6
  156. package/dist/chunks/{bus-brbkvpcb.js → image-gse1qw90.js} +14 -14
  157. package/dist/chunks/{bus-th5km1p3.js → image-gv6a8nnw.js} +5 -5
  158. package/dist/chunks/{bus-h7ygw6q4.js → image-gvkmt430.js} +5 -5
  159. package/dist/chunks/{bus-h03wrkyp.js → image-h03wrkyp.js} +2 -2
  160. package/dist/chunks/{bus-7zgx3034.js → image-h5jfkxsw.js} +18 -18
  161. package/dist/chunks/{bus-r55vasa2.js → image-h6r3nrb9.js} +4 -4
  162. package/dist/chunks/{bus-h6vf3j39.js → image-h6vf3j39.js} +1 -1
  163. package/dist/chunks/{bus-bbtrsqmd.js → image-h79m35fy.js} +26 -26
  164. package/dist/chunks/{bus-f828m53h.js → image-hdnk95c8.js} +2 -2
  165. package/dist/chunks/{bus-q529tzg0.js → image-hfn6h9h0.js} +23 -23
  166. package/dist/chunks/{bus-e82z9tr0.js → image-hjt4xg1x.js} +7 -7
  167. package/dist/chunks/{bus-4czdean4.js → image-hjtap0zg.js} +22 -22
  168. package/dist/chunks/{bus-m4gm00jg.js → image-hnakerc1.js} +7 -7
  169. package/dist/chunks/{bus-v21t5zre.js → image-hnbzzefg.js} +24 -24
  170. package/dist/chunks/{bus-q7wya2ft.js → image-hswahs1s.js} +10 -10
  171. package/dist/chunks/{bus-5dfrxsm4.js → image-hwkbadth.js} +8 -8
  172. package/dist/chunks/{bus-j35w4m74.js → image-j2vdbwsr.js} +6 -6
  173. package/dist/chunks/{bus-j56e64zr.js → image-j56e64zr.js} +1 -1
  174. package/dist/chunks/{bus-cq1ssszz.js → image-j5rjq302.js} +6 -6
  175. package/dist/chunks/{bus-d1e2r7xq.js → image-j66pfzft.js} +10 -10
  176. package/dist/chunks/{bus-q3t37ft6.js → image-jexxy024.js} +3 -3
  177. package/dist/chunks/{bus-tkmwgdpd.js → image-jfqtm2ew.js} +7 -7
  178. package/dist/chunks/{bus-xpgn474g.js → image-jq1p61tn.js} +12 -12
  179. package/dist/chunks/{bus-bje2m678.js → image-jxphv8sm.js} +41 -41
  180. package/dist/chunks/{bus-kffdrsz9.js → image-k1m65rvn.js} +5 -5
  181. package/dist/chunks/{bus-vxn7m0sk.js → image-kbnc93aj.js} +5 -5
  182. package/dist/chunks/{bus-2596a819.js → image-kbrpdkkr.js} +7 -7
  183. package/dist/chunks/{bus-1m7ztpz9.js → image-kjz2ypmt.js} +13 -13
  184. package/dist/chunks/{bus-c9f7p254.js → image-ktwkz8s9.js} +19 -19
  185. package/dist/chunks/{bus-tsg9kv8a.js → image-kvccqq4y.js} +12 -12
  186. package/dist/chunks/{bus-cfpkc3c9.js → image-m0jqrx5p.js} +2 -2
  187. package/dist/chunks/{bus-pfrpta5e.js → image-m55pfywp.js} +6 -6
  188. package/dist/chunks/{bus-pbp9sz76.js → image-m5wgsj6n.js} +4 -4
  189. package/dist/chunks/{bus-hy39tjkp.js → image-m7pytshy.js} +9 -9
  190. package/dist/chunks/{bus-m9w0rfyh.js → image-m9w0rfyh.js} +1 -1
  191. package/dist/chunks/{bus-t3qrjm11.js → image-man2vsb5.js} +33 -33
  192. package/dist/chunks/{bus-th34e5xy.js → image-mfz8wse2.js} +11 -11
  193. package/dist/chunks/{bus-qrs9zw48.js → image-mqx0de4k.js} +8 -8
  194. package/dist/chunks/{bus-6xf9vr65.js → image-n03aapsh.js} +51 -51
  195. package/dist/chunks/{bus-km7e3hxy.js → image-n17g706s.js} +1 -1
  196. package/dist/chunks/{bus-bc94wkq6.js → image-n4wre08x.js} +18 -18
  197. package/dist/chunks/{bus-1c2v1v3n.js → image-nv2ksrja.js} +28 -28
  198. package/dist/chunks/{bus-0f9afca0.js → image-p44d8wdy.js} +5 -5
  199. package/dist/chunks/{bus-wb72v9a5.js → image-p5k166g4.js} +15 -15
  200. package/dist/chunks/{bus-hspc2tk9.js → image-pe73xtx4.js} +1 -1
  201. package/dist/chunks/{bus-pjvnvgmy.js → image-pjvnvgmy.js} +1 -1
  202. package/dist/chunks/{bus-1xj9a01p.js → image-pk7fv021.js} +5 -5
  203. package/dist/chunks/{bus-pknna89w.js → image-pknna89w.js} +1 -1
  204. package/dist/chunks/{bus-q2b1ymqp.js → image-pmr4s4kc.js} +4 -4
  205. package/dist/chunks/{bus-p53n7dng.js → image-ppz8g910.js} +30 -30
  206. package/dist/chunks/{bus-pbky2mmf.js → image-prq0wc4d.js} +27 -27
  207. package/dist/chunks/{bus-0n6rap9z.js → image-pvrrebnp.js} +19 -19
  208. package/dist/chunks/{bus-4vdg0vy0.js → image-pvvjbe5v.js} +32 -32
  209. package/dist/chunks/{bus-9a5x4ndh.js → image-q594ctnf.js} +30 -30
  210. package/dist/chunks/{bus-c833tjt1.js → image-qbjqdxea.js} +30 -30
  211. package/dist/chunks/{bus-xp1v9ajb.js → image-qmh473g3.js} +29 -29
  212. package/dist/chunks/{bus-aez8skhx.js → image-qnevtc5c.js} +35 -35
  213. package/dist/chunks/{bus-qsdy395h.js → image-qsdy395h.js} +1 -1
  214. package/dist/chunks/{bus-2ryrfs8t.js → image-qw34z0mz.js} +18 -18
  215. package/dist/chunks/{bus-437w8xnq.js → image-qz348hxe.js} +4 -4
  216. package/dist/chunks/{bus-cadqg8yk.js → image-r60qs0tf.js} +17 -17
  217. package/dist/chunks/{bus-yp2x3t23.js → image-r8xr0va3.js} +4 -4
  218. package/dist/chunks/{bus-r9mregkx.js → image-r9mregkx.js} +2 -2
  219. package/dist/chunks/image-rap9a73h.js +18 -0
  220. package/dist/chunks/{bus-5nc0fa0s.js → image-rd23nqx6.js} +23 -23
  221. package/dist/chunks/{bus-rdw6cm16.js → image-rdw6cm16.js} +1 -1
  222. package/dist/chunks/{bus-5t01hw7s.js → image-ret12whd.js} +1 -1
  223. package/dist/chunks/{bus-tat11k01.js → image-rwmg7s8f.js} +9 -9
  224. package/dist/chunks/{bus-yd9ketrd.js → image-s1nnrw4q.js} +3 -3
  225. package/dist/chunks/{bus-t32f9ypw.js → image-s7yhcq7p.js} +11 -11
  226. package/dist/chunks/{bus-02nrjc1r.js → image-s8d7rejh.js} +8 -8
  227. package/dist/chunks/{bus-36eabxvj.js → image-saseaz33.js} +6 -6
  228. package/dist/chunks/{bus-5rr0th1e.js → image-sbs223z4.js} +15 -15
  229. package/dist/chunks/{bus-q73r15kw.js → image-ssnhfp6a.js} +6 -6
  230. package/dist/chunks/{bus-9yma6mz2.js → image-sssgmf7d.js} +27 -27
  231. package/dist/chunks/{bus-6cr8vpfb.js → image-sy6qbg9d.js} +3 -3
  232. package/dist/chunks/{bus-tz2bjj40.js → image-t0fxg8b9.js} +5 -5
  233. package/dist/chunks/{bus-5rvay4qb.js → image-t0wbe1cv.js} +4 -4
  234. package/dist/chunks/{bus-ss6xz6nm.js → image-t1fh5c1n.js} +11 -11
  235. package/dist/chunks/{bus-aef6edcj.js → image-t676541r.js} +11 -11
  236. package/dist/chunks/{bus-jgpr3qf1.js → image-t7vkg8np.js} +26 -26
  237. package/dist/chunks/{bus-tazgh4e4.js → image-tazgh4e4.js} +1 -1
  238. package/dist/chunks/{bus-x60djdrf.js → image-tb6c5549.js} +14 -14
  239. package/dist/chunks/{bus-89znhe33.js → image-tcezcvh9.js} +4 -4
  240. package/dist/chunks/{bus-tdstcens.js → image-tdstcens.js} +1 -1
  241. package/dist/chunks/{bus-4ma4crhq.js → image-tv9x8hxg.js} +15 -15
  242. package/dist/chunks/{bus-tvtrv512.js → image-tvtrv512.js} +1 -1
  243. package/dist/chunks/{bus-zp47re1r.js → image-v6vfg88f.js} +11 -11
  244. package/dist/chunks/{bus-nzzy63ds.js → image-v8g0avwf.js} +11 -11
  245. package/dist/chunks/{bus-dpmm3pd1.js → image-v90b78v5.js} +30 -30
  246. package/dist/chunks/{bus-mca7v45c.js → image-ve1hctsm.js} +30 -30
  247. package/dist/chunks/{bus-veqvce7d.js → image-veqvce7d.js} +1 -1
  248. package/dist/chunks/{bus-erswsgcd.js → image-vs59tkqa.js} +8 -8
  249. package/dist/chunks/{bus-vzcthcp8.js → image-vzcthcp8.js} +1 -1
  250. package/dist/chunks/{bus-h3sg4en2.js → image-vzvpgcjq.js} +7 -7
  251. package/dist/chunks/{bus-w3wsvvr9.js → image-w3wsvvr9.js} +1 -1
  252. package/dist/chunks/{bus-2fqncqd8.js → image-w94394wb.js} +24 -24
  253. package/dist/chunks/{bus-n81xd9d5.js → image-w97vtpxb.js} +1 -1
  254. package/dist/chunks/{bus-5pjsqvg3.js → image-waxe3yd1.js} +11 -11
  255. package/dist/chunks/{bus-wd87259q.js → image-wd87259q.js} +1 -1
  256. package/dist/chunks/{bus-9cebcpzz.js → image-wde5h6bz.js} +32 -32
  257. package/dist/chunks/{bus-sm8rghk4.js → image-whzj9w6d.js} +13 -13
  258. package/dist/chunks/{bus-x1ezjp6w.js → image-x1ezjp6w.js} +1 -1
  259. package/dist/chunks/{bus-r9nkdn48.js → image-x497tgc1.js} +5 -5
  260. package/dist/chunks/{bus-mx0gp0c3.js → image-x9afmtav.js} +28 -28
  261. package/dist/chunks/{bus-pw2ze8eb.js → image-xc5tp58y.js} +34 -34
  262. package/dist/chunks/{bus-wq4mgxca.js → image-xe94yqgp.js} +8 -8
  263. package/dist/chunks/{bus-h3ysd6bx.js → image-xrrhyath.js} +31 -31
  264. package/dist/chunks/{bus-11nsfp7x.js → image-xx4v3z4y.js} +23 -23
  265. package/dist/chunks/{bus-t5t549nc.js → image-y18b782a.js} +20 -20
  266. package/dist/chunks/{bus-y1fvbwt7.js → image-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{bus-3vnz1vry.js → image-y2n85772.js} +11 -11
  268. package/dist/chunks/{bus-d09006c3.js → image-y56ehv6b.js} +9 -9
  269. package/dist/chunks/{bus-xevfw74a.js → image-y8bs7pn1.js} +27 -27
  270. package/dist/chunks/{bus-gmjjhz4f.js → image-ybhbtxjg.js} +3 -3
  271. package/dist/chunks/{bus-7vgsmbaw.js → image-ydv41jj4.js} +9 -9
  272. package/dist/chunks/{bus-dbmkm35e.js → image-ygkn4pcb.js} +1 -1
  273. package/dist/chunks/{bus-0r7yqxbf.js → image-yjptyezs.js} +5 -5
  274. package/dist/chunks/{bus-ete3mxyp.js → image-yngbnjdn.js} +16 -16
  275. package/dist/chunks/{bus-yrhqyw5v.js → image-yrhqyw5v.js} +1 -1
  276. package/dist/chunks/{bus-yrznvahk.js → image-yrznvahk.js} +2 -2
  277. package/dist/chunks/{bus-1p84h329.js → image-yxa2jv7b.js} +17 -17
  278. package/dist/chunks/{bus-vw8bwat5.js → image-yzvrqxqx.js} +29 -29
  279. package/dist/chunks/{bus-z0bkrqjs.js → image-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{bus-z63w68vq.js → image-z63w68vq.js} +2 -2
  281. package/dist/chunks/{bus-rkhcyd8j.js → image-zbhf92rx.js} +16 -16
  282. package/dist/chunks/{bus-zeh9ct20.js → image-zeh9ct20.js} +2 -2
  283. package/dist/chunks/{bus-tcg29b4q.js → image-zhq6vg7a.js} +1 -1
  284. package/dist/chunks/{bus-zr2ceqn5.js → image-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{bus-75tpbtqb.js → image-zrpcnpdy.js} +35 -35
  286. package/dist/chunks/{bus-h11wzpyy.js → image-zsfad6mw.js} +22 -22
  287. package/dist/chunks/{bus-zn1xqtaw.js → image-zt441g4g.js} +28 -28
  288. package/dist/chunks/{bus-zxq2ej10.js → image-zxq2ej10.js} +1 -1
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +5 -5
  291. package/dist/codemode/tool.js +2 -2
  292. package/dist/command.js +84 -84
  293. package/dist/config/discovery.js +83 -83
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +105 -105
  296. package/dist/config/plugin/agent.js +122 -122
  297. package/dist/config/plugin/command.js +211 -211
  298. package/dist/config/plugin/compaction.js +159 -159
  299. package/dist/config/plugin/compatibility.js +138 -138
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +123 -123
  302. package/dist/config/plugin/image.js +120 -120
  303. package/dist/config/plugin/instruction.js +89 -89
  304. package/dist/config/plugin/location-watcher.js +122 -122
  305. package/dist/config/plugin/mcp.js +129 -129
  306. package/dist/config/plugin/policy.js +122 -122
  307. package/dist/config/plugin/provider.js +119 -119
  308. package/dist/config/plugin/reference.js +124 -124
  309. package/dist/config/plugin/shell.js +122 -122
  310. package/dist/config/plugin/skill-file.js +101 -101
  311. package/dist/config/plugin/skill.js +139 -139
  312. package/dist/config/plugin/snapshot.js +122 -122
  313. package/dist/config/plugin/source.js +125 -125
  314. package/dist/config/plugin/tool-output.js +124 -124
  315. package/dist/config/plugin/websearch.js +121 -121
  316. package/dist/config/plugin/worktree.js +125 -125
  317. package/dist/config/variable.js +3 -3
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +127 -127
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +84 -84
  322. package/dist/database/database.js +65 -65
  323. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +13 -13
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +14 -14
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  386. package/dist/database/migration.gen.js +48 -48
  387. package/dist/database/migration.js +50 -50
  388. package/dist/database/path.js +2 -2
  389. package/dist/database/schema.gen.js +1 -1
  390. package/dist/database/schema.sql.js +1 -1
  391. package/dist/database/sqlite.bun.js +1 -1
  392. package/dist/database/sqlite.js +1 -1
  393. package/dist/database/sqlite.node.js +1 -1
  394. package/dist/database/sqlite.workerd.js +1 -1
  395. package/dist/database/v1-migration.bun.js +75 -75
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +365 -365
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +1 -1
  400. package/dist/effect/websocket-constructor.js +1 -1
  401. package/dist/environment/driver.js +1 -1
  402. package/dist/environment/environment.js +92 -92
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +94 -94
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +1 -1
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +73 -73
  411. package/dist/file-access.js +103 -103
  412. package/dist/file-mutation.js +89 -89
  413. package/dist/file-retention.js +1 -1
  414. package/dist/file.js +1 -1
  415. package/dist/filesystem/fff.bun.js +2 -2
  416. package/dist/filesystem/fff.js +1 -1
  417. package/dist/filesystem/fff.node.js +2 -2
  418. package/dist/filesystem/fff.workerd.js +2 -2
  419. package/dist/filesystem/ignore.js +1 -1
  420. package/dist/filesystem/location-watcher-policy.js +6 -6
  421. package/dist/filesystem/location-watcher.js +221 -221
  422. package/dist/filesystem/protected.js +3 -3
  423. package/dist/filesystem/search.js +102 -102
  424. package/dist/filesystem/watcher-binding.js +1 -1
  425. package/dist/filesystem/watcher.js +15 -15
  426. package/dist/filesystem.js +105 -105
  427. package/dist/form.js +85 -85
  428. package/dist/formatter/builtins.js +4 -4
  429. package/dist/formatter.js +86 -86
  430. package/dist/generate.js +99 -99
  431. package/dist/git.js +10 -10
  432. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  433. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  434. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  436. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  438. package/dist/github-copilot/copilot-provider.js +17 -17
  439. package/dist/github-copilot/models.js +90 -90
  440. package/dist/github-copilot/openai-compatible-error.js +1 -1
  441. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  442. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  443. package/dist/github-copilot/responses/openai-error.js +1 -1
  444. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  445. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  446. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  447. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  448. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  451. package/dist/id/id.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +6 -6
  454. package/dist/instance/service.js +5 -5
  455. package/dist/instance.js +356 -356
  456. package/dist/instruction-discovery.js +84 -84
  457. package/dist/instructions/builtins.js +86 -86
  458. package/dist/instructions/index.js +5 -5
  459. package/dist/integration/connection.js +3 -3
  460. package/dist/integration.js +85 -85
  461. package/dist/job.js +78 -78
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +72 -72
  464. package/dist/location-activity.js +137 -137
  465. package/dist/location-mutation.js +103 -103
  466. package/dist/location-service-map.js +87 -87
  467. package/dist/location-services.js +353 -353
  468. package/dist/location.js +86 -86
  469. package/dist/mcp/client.js +90 -90
  470. package/dist/mcp/index.js +101 -101
  471. package/dist/mcp/instructions.js +126 -126
  472. package/dist/mcp/oauth.js +77 -77
  473. package/dist/mcp/stdio.js +89 -89
  474. package/dist/mime.js +1 -1
  475. package/dist/modal/models.js +90 -90
  476. package/dist/model-resolver.js +98 -98
  477. package/dist/model.js +101 -101
  478. package/dist/models-dev.js +99 -99
  479. package/dist/oauth/page.js +1 -1
  480. package/dist/permission/saved.js +81 -81
  481. package/dist/permission/sql.js +5 -5
  482. package/dist/permission.js +110 -110
  483. package/dist/persistent-pty/binary.bun.js +1 -1
  484. package/dist/persistent-pty/daemon.js +1 -1
  485. package/dist/persistent-pty/index.js +85 -85
  486. package/dist/persistent-pty/pty-binding.js +1 -1
  487. package/dist/persistent-pty.js +74 -74
  488. package/dist/plugin/agent.js +101 -101
  489. package/dist/plugin/command.js +98 -98
  490. package/dist/plugin/hooks.js +5 -5
  491. package/dist/plugin/host.js +216 -216
  492. package/dist/plugin/instance.js +5 -5
  493. package/dist/plugin/internal.js +327 -327
  494. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  495. package/dist/plugin/models-dev.js +94 -94
  496. package/dist/plugin/module.js +7 -7
  497. package/dist/plugin/optimize.js +4 -4
  498. package/dist/plugin/plan.js +101 -101
  499. package/dist/plugin/promise.js +1 -1
  500. package/dist/plugin/provider/alibaba.js +2 -2
  501. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  502. package/dist/plugin/provider/azure.js +121 -121
  503. package/dist/plugin/provider/cerebras.js +89 -89
  504. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  505. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  506. package/dist/plugin/provider/cohere.js +2 -2
  507. package/dist/plugin/provider/configured.js +118 -118
  508. package/dist/plugin/provider/digitalocean.js +92 -92
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/gateway.js +2 -2
  512. package/dist/plugin/provider/github-copilot.js +92 -92
  513. package/dist/plugin/provider/gitlab.js +90 -90
  514. package/dist/plugin/provider/google-vertex.js +89 -89
  515. package/dist/plugin/provider/kilo.js +89 -89
  516. package/dist/plugin/provider/llmgateway.js +89 -89
  517. package/dist/plugin/provider/lmstudio.js +119 -119
  518. package/dist/plugin/provider/modal.js +91 -91
  519. package/dist/plugin/provider/nvidia.js +89 -89
  520. package/dist/plugin/provider/ollama.js +121 -121
  521. package/dist/plugin/provider/openai-compatible.js +1 -1
  522. package/dist/plugin/provider/openai.js +93 -93
  523. package/dist/plugin/provider/opencode.js +92 -92
  524. package/dist/plugin/provider/openrouter.js +90 -90
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +77 -77
  527. package/dist/plugin/provider/sap-ai-core.js +90 -90
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  530. package/dist/plugin/provider/venice.js +2 -2
  531. package/dist/plugin/provider/vercel.js +89 -89
  532. package/dist/plugin/provider/vllm.js +119 -119
  533. package/dist/plugin/provider/xai.js +90 -90
  534. package/dist/plugin/provider/zenmux.js +89 -89
  535. package/dist/plugin/provider.js +159 -159
  536. package/dist/plugin/sdk.js +75 -75
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +138 -138
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +346 -346
  541. package/dist/plugin/update.js +6 -6
  542. package/dist/plugin/variant.js +91 -91
  543. package/dist/plugin/vcs/git.js +85 -85
  544. package/dist/plugin/vcs/hg.js +85 -85
  545. package/dist/plugin/warming.js +120 -120
  546. package/dist/plugin/websearch/exa.js +7 -7
  547. package/dist/plugin/websearch/firecrawl.js +4 -4
  548. package/dist/plugin/websearch/index.js +9 -9
  549. package/dist/plugin/websearch/mcp.js +2 -2
  550. package/dist/plugin/websearch/parallel.js +8 -8
  551. package/dist/plugin/websearch/tavily.js +6 -6
  552. package/dist/plugin/websearch/tinyfish.js +8 -8
  553. package/dist/plugin.js +221 -221
  554. package/dist/project/schema.js +6 -6
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +89 -89
  557. package/dist/provider.js +100 -100
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/schema.js +1 -1
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +91 -91
  562. package/dist/reference/instructions.js +86 -86
  563. package/dist/reference.js +88 -88
  564. package/dist/repository-cache.js +80 -80
  565. package/dist/repository.js +3 -3
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +96 -96
  568. package/dist/rpc.js +85 -85
  569. package/dist/schema.js +1 -1
  570. package/dist/session/command.js +73 -73
  571. package/dist/session/compaction.js +127 -127
  572. package/dist/session/context.js +151 -151
  573. package/dist/session/diff.js +87 -87
  574. package/dist/session/environment.js +5 -5
  575. package/dist/session/error.js +3 -3
  576. package/dist/session/event.js +1 -1
  577. package/dist/session/execution/restart.js +223 -223
  578. package/dist/session/execution.js +128 -128
  579. package/dist/session/generate.js +150 -150
  580. package/dist/session/history.js +13 -13
  581. package/dist/session/inbox.js +89 -89
  582. package/dist/session/info.js +3 -3
  583. package/dist/session/instruction-entry.js +78 -78
  584. package/dist/session/instruction-state.js +8 -8
  585. package/dist/session/instructions.js +96 -96
  586. package/dist/session/message-updater.js +2 -2
  587. package/dist/session/message.js +1 -1
  588. package/dist/session/model-request.js +117 -117
  589. package/dist/session/model-transport.js +9 -9
  590. package/dist/session/move.js +130 -130
  591. package/dist/session/projector.js +85 -85
  592. package/dist/session/prompt.js +104 -104
  593. package/dist/session/provider-context.js +3 -3
  594. package/dist/session/revert.js +89 -89
  595. package/dist/session/run-coordinator.js +3 -3
  596. package/dist/session/runner/index.js +3 -3
  597. package/dist/session/runner/llm.js +228 -228
  598. package/dist/session/runner/max-steps.js +1 -1
  599. package/dist/session/runner/model.js +98 -98
  600. package/dist/session/runner/publish-llm-event.js +3 -3
  601. package/dist/session/runner/retry.js +114 -114
  602. package/dist/session/runner/step.js +125 -125
  603. package/dist/session/runner/to-llm-message.js +2 -2
  604. package/dist/session/schema.js +5 -5
  605. package/dist/session/session.js +172 -172
  606. package/dist/session/shell.js +137 -137
  607. package/dist/session/skill.js +102 -102
  608. package/dist/session/sql.js +5 -5
  609. package/dist/session/stats.js +72 -72
  610. package/dist/session/store.js +86 -86
  611. package/dist/session/subagent-completion.js +1 -1
  612. package/dist/session/subagent-job.js +207 -207
  613. package/dist/session/system-prompt.js +5 -5
  614. package/dist/session/title.js +155 -155
  615. package/dist/session/to-session-error.js +111 -111
  616. package/dist/session/transfer.js +219 -219
  617. package/dist/session/usage.js +1 -1
  618. package/dist/session.js +213 -213
  619. package/dist/shell/parse.js +6 -6
  620. package/dist/shell/result.js +1 -1
  621. package/dist/shell/scan.js +1 -1
  622. package/dist/shell/select.js +11 -11
  623. package/dist/shell.js +139 -139
  624. package/dist/skill/discovery.js +4 -4
  625. package/dist/skill/instructions.js +106 -106
  626. package/dist/skill.js +109 -109
  627. package/dist/snapshot.js +92 -92
  628. package/dist/state.js +1 -1
  629. package/dist/tool/html-markdown.js +1 -1
  630. package/dist/tool/http-body.js +1 -1
  631. package/dist/tool/mcp.js +125 -125
  632. package/dist/tool/plugin/edit.js +119 -119
  633. package/dist/tool/plugin/file-diff.js +1 -1
  634. package/dist/tool/plugin/glob.js +123 -123
  635. package/dist/tool/plugin/grep.js +115 -115
  636. package/dist/tool/plugin/opencode.js +3 -3
  637. package/dist/tool/plugin/patch.js +119 -119
  638. package/dist/tool/plugin/question.js +102 -102
  639. package/dist/tool/plugin/read.js +124 -124
  640. package/dist/tool/plugin/shell.js +214 -214
  641. package/dist/tool/plugin/skill.js +106 -106
  642. package/dist/tool/plugin/subagent.js +218 -218
  643. package/dist/tool/plugin/webfetch.js +109 -109
  644. package/dist/tool/plugin/websearch.js +111 -111
  645. package/dist/tool/plugin/write.js +121 -121
  646. package/dist/tool/read-filesystem.js +97 -97
  647. package/dist/tool/runtime.js +1 -1
  648. package/dist/tool-output.js +8 -8
  649. package/dist/tool.js +15 -15
  650. package/dist/util/error-summary.js +1 -1
  651. package/dist/util/error.js +1 -1
  652. package/dist/util/git-executable.js +2 -2
  653. package/dist/util/iife.js +1 -1
  654. package/dist/util/lazy.js +1 -1
  655. package/dist/util/slug.js +1 -1
  656. package/dist/util/token.js +1 -1
  657. package/dist/util/which.js +1 -1
  658. package/dist/util/wildcard.js +1 -1
  659. package/dist/v1/config/agent.js +5 -5
  660. package/dist/v1/config/attachment.js +4 -4
  661. package/dist/v1/config/command.js +5 -5
  662. package/dist/v1/config/config.js +16 -16
  663. package/dist/v1/config/error.js +2 -2
  664. package/dist/v1/config/formatter.js +3 -3
  665. package/dist/v1/config/layout.js +1 -1
  666. package/dist/v1/config/lsp.js +5 -5
  667. package/dist/v1/config/mcp.js +4 -4
  668. package/dist/v1/config/migrate.js +91 -91
  669. package/dist/v1/config/permission.js +3 -3
  670. package/dist/v1/config/plugin.js +3 -3
  671. package/dist/v1/config/provider-options.js +1 -1
  672. package/dist/v1/config/provider.js +4 -4
  673. package/dist/v1/config/server.js +2 -2
  674. package/dist/v1/config/skills.js +3 -3
  675. package/dist/v1/permission.js +1 -1
  676. package/dist/vcs/patch.js +1 -1
  677. package/dist/vcs.js +88 -88
  678. package/dist/websearch.js +79 -79
  679. package/dist/wellknown/plugin.js +75 -75
  680. package/dist/wellknown.js +78 -78
  681. package/dist/workspace/driver.js +5 -5
  682. package/dist/workspace/sql.js +1 -1
  683. package/dist/workspace.js +79 -79
  684. package/dist/worktree/directory.js +4 -4
  685. package/dist/worktree/git.js +10 -10
  686. package/dist/worktree/refresh.js +345 -345
  687. package/dist/worktree/sql.js +5 -5
  688. package/dist/worktree.js +93 -93
  689. package/package.json +8 -8
  690. package/dist/chunks/bus-pf31ssb9.js +0 -18
  691. package/dist/chunks/bus-x88d9nzm.js +0 -251
  692. /package/dist/chunks/{bus-0qkdqm5v.js → image-0qkdqm5v.js} +0 -0
  693. /package/dist/chunks/{bus-0zkw76rk.js → image-0zkw76rk.js} +0 -0
  694. /package/dist/chunks/{bus-17cy0kzp.js → image-17cy0kzp.js} +0 -0
  695. /package/dist/chunks/{bus-1cnp2v09.js → image-1cnp2v09.js} +0 -0
  696. /package/dist/chunks/{bus-1kg9ymc8.js → image-1kg9ymc8.js} +0 -0
  697. /package/dist/chunks/{bus-2710q6r3.js → image-2710q6r3.js} +0 -0
  698. /package/dist/chunks/{bus-2axfhc9x.js → image-2axfhc9x.js} +0 -0
  699. /package/dist/chunks/{bus-2c3vjs8z.js → image-2c3vjs8z.js} +0 -0
  700. /package/dist/chunks/{bus-359p4xyc.js → image-359p4xyc.js} +0 -0
  701. /package/dist/chunks/{bus-3asan66x.js → image-3asan66x.js} +0 -0
  702. /package/dist/chunks/{bus-3v8g72cx.js → image-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{bus-3w5fmr99.js → image-3w5fmr99.js} +0 -0
  704. /package/dist/chunks/{bus-3wcehsnq.js → image-3wcehsnq.js} +0 -0
  705. /package/dist/chunks/{bus-43n2bw4t.js → image-43n2bw4t.js} +0 -0
  706. /package/dist/chunks/{bus-4knz6hnm.js → image-4knz6hnm.js} +0 -0
  707. /package/dist/chunks/{bus-4vcrnpx2.js → image-4vcrnpx2.js} +0 -0
  708. /package/dist/chunks/{bus-4y7fprxs.js → image-4y7fprxs.js} +0 -0
  709. /package/dist/chunks/{bus-53557ph1.js → image-53557ph1.js} +0 -0
  710. /package/dist/chunks/{bus-550bvhaj.js → image-550bvhaj.js} +0 -0
  711. /package/dist/chunks/{bus-5qd3pb7m.js → image-5qd3pb7m.js} +0 -0
  712. /package/dist/chunks/{bus-6prwharc.js → image-6prwharc.js} +0 -0
  713. /package/dist/chunks/{bus-7akdwqpd.js → image-7akdwqpd.js} +0 -0
  714. /package/dist/chunks/{bus-7m9af43g.js → image-7m9af43g.js} +0 -0
  715. /package/dist/chunks/{bus-822emrt2.js → image-822emrt2.js} +0 -0
  716. /package/dist/chunks/{bus-88xbtdfr.js → image-88xbtdfr.js} +0 -0
  717. /package/dist/chunks/{bus-8n3pysct.js → image-8n3pysct.js} +0 -0
  718. /package/dist/chunks/{bus-922hggd3.js → image-922hggd3.js} +0 -0
  719. /package/dist/chunks/{bus-9a4afbnw.js → image-9a4afbnw.js} +0 -0
  720. /package/dist/chunks/{bus-9rqn6x4v.js → image-9rqn6x4v.js} +0 -0
  721. /package/dist/chunks/{bus-a6k6eb26.js → image-a6k6eb26.js} +0 -0
  722. /package/dist/chunks/{bus-af5trqkr.js → image-af5trqkr.js} +0 -0
  723. /package/dist/chunks/{bus-afrmfg78.js → image-afrmfg78.js} +0 -0
  724. /package/dist/chunks/{bus-aqzs7mqg.js → image-aqzs7mqg.js} +0 -0
  725. /package/dist/chunks/{bus-atq7p7m5.js → image-atq7p7m5.js} +0 -0
  726. /package/dist/chunks/{bus-bkyjaxrp.js → image-bkyjaxrp.js} +0 -0
  727. /package/dist/chunks/{bus-bmr6ed5q.js → image-bmr6ed5q.js} +0 -0
  728. /package/dist/chunks/{bus-cf4snx6d.js → image-cf4snx6d.js} +0 -0
  729. /package/dist/chunks/{bus-cvy3z8tj.js → image-cvy3z8tj.js} +0 -0
  730. /package/dist/chunks/{bus-d9fn303g.js → image-d9fn303g.js} +0 -0
  731. /package/dist/chunks/{bus-d9jj8t3e.js → image-d9jj8t3e.js} +0 -0
  732. /package/dist/chunks/{bus-dajrwvna.js → image-dajrwvna.js} +0 -0
  733. /package/dist/chunks/{bus-dap0rakb.js → image-dap0rakb.js} +0 -0
  734. /package/dist/chunks/{bus-df08tz66.js → image-df08tz66.js} +0 -0
  735. /package/dist/chunks/{bus-dy18nga0.js → image-dy18nga0.js} +0 -0
  736. /package/dist/chunks/{bus-e5kj55wp.js → image-e5kj55wp.js} +0 -0
  737. /package/dist/chunks/{bus-e73j6tqm.js → image-e73j6tqm.js} +0 -0
  738. /package/dist/chunks/{bus-ec1grn59.js → image-ec1grn59.js} +0 -0
  739. /package/dist/chunks/{bus-eh3zwz77.js → image-eh3zwz77.js} +0 -0
  740. /package/dist/chunks/{bus-emrn6kk6.js → image-emrn6kk6.js} +0 -0
  741. /package/dist/chunks/{bus-f0mxakyp.js → image-f0mxakyp.js} +0 -0
  742. /package/dist/chunks/{bus-f6n9ztr4.js → image-f6n9ztr4.js} +0 -0
  743. /package/dist/chunks/{bus-faypxj3z.js → image-faypxj3z.js} +0 -0
  744. /package/dist/chunks/{bus-fd410y7t.js → image-fd410y7t.js} +0 -0
  745. /package/dist/chunks/{bus-fxgpk5d8.js → image-fxgpk5d8.js} +0 -0
  746. /package/dist/chunks/{bus-g4wezp1m.js → image-g4wezp1m.js} +0 -0
  747. /package/dist/chunks/{bus-g86h250q.js → image-g86h250q.js} +0 -0
  748. /package/dist/chunks/{bus-gebd4c9n.js → image-gebd4c9n.js} +0 -0
  749. /package/dist/chunks/{bus-gftt206x.js → image-gftt206x.js} +0 -0
  750. /package/dist/chunks/{bus-hjbc5kem.js → image-hjbc5kem.js} +0 -0
  751. /package/dist/chunks/{bus-hk9envan.js → image-hk9envan.js} +0 -0
  752. /package/dist/chunks/{bus-hrnqkpcd.js → image-hrnqkpcd.js} +0 -0
  753. /package/dist/chunks/{bus-j2ntwpah.js → image-j2ntwpah.js} +0 -0
  754. /package/dist/chunks/{bus-j5zkgpj8.js → image-j5zkgpj8.js} +0 -0
  755. /package/dist/chunks/{bus-jr7sbwjy.js → image-jr7sbwjy.js} +0 -0
  756. /package/dist/chunks/{bus-jwfs4k6c.js → image-jwfs4k6c.js} +0 -0
  757. /package/dist/chunks/{bus-jzg6c2d5.js → image-jzg6c2d5.js} +0 -0
  758. /package/dist/chunks/{bus-mp448xyj.js → image-mp448xyj.js} +0 -0
  759. /package/dist/chunks/{bus-msx8hqn2.js → image-msx8hqn2.js} +0 -0
  760. /package/dist/chunks/{bus-n05xt0ee.js → image-n05xt0ee.js} +0 -0
  761. /package/dist/chunks/{bus-n3j8tn72.js → image-n3j8tn72.js} +0 -0
  762. /package/dist/chunks/{bus-njntx4h6.js → image-njntx4h6.js} +0 -0
  763. /package/dist/chunks/{bus-q3sfg36h.js → image-q3sfg36h.js} +0 -0
  764. /package/dist/chunks/{bus-q74kybfr.js → image-q74kybfr.js} +0 -0
  765. /package/dist/chunks/{bus-qapv375x.js → image-qapv375x.js} +0 -0
  766. /package/dist/chunks/{bus-qaymkmh1.js → image-qaymkmh1.js} +0 -0
  767. /package/dist/chunks/{bus-qb87gjwd.js → image-qb87gjwd.js} +0 -0
  768. /package/dist/chunks/{bus-qfa1cgps.js → image-qfa1cgps.js} +0 -0
  769. /package/dist/chunks/{bus-qrg20bc0.js → image-qrg20bc0.js} +0 -0
  770. /package/dist/chunks/{bus-rcb2kzg1.js → image-rcb2kzg1.js} +0 -0
  771. /package/dist/chunks/{bus-sdp7kfr6.js → image-sdp7kfr6.js} +0 -0
  772. /package/dist/chunks/{bus-sk3qaz4a.js → image-sk3qaz4a.js} +0 -0
  773. /package/dist/chunks/{bus-ssg3fenm.js → image-ssg3fenm.js} +0 -0
  774. /package/dist/chunks/{bus-twg0f83k.js → image-twg0f83k.js} +0 -0
  775. /package/dist/chunks/{bus-w803qqfp.js → image-w803qqfp.js} +0 -0
  776. /package/dist/chunks/{bus-wer8tq1h.js → image-wer8tq1h.js} +0 -0
  777. /package/dist/chunks/{bus-wtztk69x.js → image-wtztk69x.js} +0 -0
  778. /package/dist/chunks/{bus-x0ckcb58.js → image-x0ckcb58.js} +0 -0
  779. /package/dist/chunks/{bus-x61499pn.js → image-x61499pn.js} +0 -0
  780. /package/dist/chunks/{bus-y44na4kk.js → image-y44na4kk.js} +0 -0
  781. /package/dist/chunks/{bus-y8cydn3q.js → image-y8cydn3q.js} +0 -0
  782. /package/dist/chunks/{bus-y8f7s663.js → image-y8f7s663.js} +0 -0
  783. /package/dist/chunks/{bus-ygaqb7jw.js → image-ygaqb7jw.js} +0 -0
  784. /package/dist/chunks/{bus-ym463w8f.js → image-ym463w8f.js} +0 -0
  785. /package/dist/chunks/{bus-z9919s4g.js → image-z9919s4g.js} +0 -0
@@ -1,66 +1,66 @@
1
1
  import {
2
- Service58
3
- } from "./bus-vw8bwat5.js";
2
+ Service74
3
+ } from "./image-yzvrqxqx.js";
4
4
  import {
5
- Service68
6
- } from "./bus-686zvbc5.js";
5
+ Service63
6
+ } from "./image-e1kg9vz0.js";
7
7
  import {
8
8
  ID6,
9
9
  Result2,
10
10
  ProviderRequiredError2,
11
11
  DisabledError2,
12
12
  RequestError2,
13
- Service51
14
- } from "./bus-sg1mp0wp.js";
13
+ Service40
14
+ } from "./image-7sny0gx5.js";
15
15
  import {
16
16
  __export
17
- } from "./bus-9rqn6x4v.js";
17
+ } from "./image-9rqn6x4v.js";
18
18
 
19
19
  // src/tool/plugin/websearch.ts
20
20
  var exports_websearch = {};
21
21
  __export(exports_websearch, {
22
- Input: () => Input11,
22
+ Input: () => Input4,
23
23
  NO_RESULTS: () => NO_RESULTS2,
24
- Plugin: () => Plugin12,
24
+ Plugin: () => Plugin4,
25
25
  WebSearchTool: () => exports_websearch,
26
- description: () => description5,
27
- name: () => name11
26
+ description: () => description3,
27
+ name: () => name4
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Effect, Schema, Semaphore } from "effect";
31
31
  import { HttpClientError } from "effect/unstable/http";
32
- var name11 = "websearch";
32
+ var name4 = "websearch";
33
33
  var NO_RESULTS2 = "No search results found. Please try a different query.";
34
34
  var providerSelectionLock = Semaphore.makeUnsafe(1);
35
35
  var httpErrors = new Map([
36
36
  [429, "Web search rate limited (HTTP 429)"],
37
37
  [401, "Web search authentication failed (HTTP 401)"]
38
38
  ]);
39
- var description5 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
39
+ var description3 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
40
40
 
41
41
  The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
42
- var Input11 = Schema.Struct({
42
+ var Input4 = Schema.Struct({
43
43
  query: Schema.String.annotate({ description: "Websearch query" })
44
44
  });
45
45
  var Output = Schema.Struct({
46
46
  provider: ID6,
47
47
  results: Schema.Array(Result2)
48
48
  });
49
- var Plugin12 = {
49
+ var Plugin4 = {
50
50
  id: "opencode.tool.websearch",
51
51
  effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
52
- const permission = yield* Service68;
53
- const forms = yield* Service58;
54
- const websearch = yield* Service51;
52
+ const permission = yield* Service63;
53
+ const forms = yield* Service74;
54
+ const websearch = yield* Service40;
55
55
  yield* ctx.tool.transform((editor) => editor.add({
56
- name: name11,
56
+ name: name4,
57
57
  options: { codemode: false },
58
- description: description5,
59
- input: Input11,
58
+ description: description3,
59
+ input: Input4,
60
60
  output: Output,
61
61
  execute: (input, context) => Effect.gen(function* () {
62
62
  yield* permission.assert({
63
- action: name11,
63
+ action: name4,
64
64
  resources: [input.query],
65
65
  save: ["*"],
66
66
  metadata: input,
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
176
176
  const hook = (event) => Effect.gen(function* () {
177
177
  const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
178
178
  if (disabled)
179
- delete event.tools[name11];
179
+ delete event.tools[name4];
180
180
  });
181
181
  yield* ctx.session.hook("context", hook);
182
182
  yield* ctx.session.hook("compaction", hook);
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
184
184
  })
185
185
  };
186
186
 
187
- export { name11, NO_RESULTS2, description5, Input11, Plugin12, exports_websearch };
187
+ export { name4, NO_RESULTS2, description3, Input4, Plugin4, exports_websearch };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./bus-2a5m3afh.js";
5
+ } from "./image-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./bus-9rqn6x4v.js";
8
+ } from "./image-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/memory.ts
11
11
  var exports_memory = {};
@@ -0,0 +1,251 @@
1
+ import {
2
+ node71
3
+ } from "./image-w94394wb.js";
4
+ import {
5
+ node79
6
+ } from "./image-yzvrqxqx.js";
7
+ import {
8
+ node78
9
+ } from "./image-dt0jwwwa.js";
10
+ import {
11
+ node82,
12
+ boundNode2
13
+ } from "./image-7jm5jzq7.js";
14
+ import {
15
+ node77
16
+ } from "./image-zrpcnpdy.js";
17
+ import {
18
+ node73
19
+ } from "./image-mfz8wse2.js";
20
+ import {
21
+ node76
22
+ } from "./image-qnevtc5c.js";
23
+ import {
24
+ node52
25
+ } from "./image-zt441g4g.js";
26
+ import {
27
+ configured8,
28
+ node56
29
+ } from "./image-aj6515bh.js";
30
+ import {
31
+ node59
32
+ } from "./image-96dvqytq.js";
33
+ import {
34
+ node19
35
+ } from "./image-kbrpdkkr.js";
36
+ import {
37
+ node22
38
+ } from "./image-sbs223z4.js";
39
+ import {
40
+ node47
41
+ } from "./image-pvvjbe5v.js";
42
+ import {
43
+ node46
44
+ } from "./image-ppz8g910.js";
45
+ import {
46
+ node72
47
+ } from "./image-59sbn0zz.js";
48
+ import {
49
+ node18
50
+ } from "./image-10fqs124.js";
51
+ import {
52
+ node51
53
+ } from "./image-rwmg7s8f.js";
54
+ import {
55
+ node33
56
+ } from "./image-fr9qgvrp.js";
57
+ import {
58
+ Service61,
59
+ node66
60
+ } from "./image-ebah8r6x.js";
61
+ import {
62
+ node37
63
+ } from "./image-yxa2jv7b.js";
64
+ import {
65
+ node74
66
+ } from "./image-3zykk5as.js";
67
+ import {
68
+ node68
69
+ } from "./image-e1kg9vz0.js";
70
+ import {
71
+ node65
72
+ } from "./image-dw06mjkt.js";
73
+ import {
74
+ configured6,
75
+ node49
76
+ } from "./image-v90b78v5.js";
77
+ import {
78
+ node34
79
+ } from "./image-3wctd9by.js";
80
+ import {
81
+ node39
82
+ } from "./image-b5f0xpv3.js";
83
+ import {
84
+ node32
85
+ } from "./image-wde5h6bz.js";
86
+ import {
87
+ node41
88
+ } from "./image-7f40knje.js";
89
+ import {
90
+ node30
91
+ } from "./image-r60qs0tf.js";
92
+ import {
93
+ node42
94
+ } from "./image-h79m35fy.js";
95
+ import {
96
+ node38
97
+ } from "./image-zsfad6mw.js";
98
+ import {
99
+ node29
100
+ } from "./image-3p19zrd2.js";
101
+ import {
102
+ node40
103
+ } from "./image-8y2shdgp.js";
104
+ import {
105
+ node62
106
+ } from "./image-zbhf92rx.js";
107
+ import {
108
+ node55
109
+ } from "./image-kvccqq4y.js";
110
+ import {
111
+ node53
112
+ } from "./image-n03aapsh.js";
113
+ import {
114
+ node20
115
+ } from "./image-d5g3wzfd.js";
116
+ import {
117
+ node17
118
+ } from "./image-xx4v3z4y.js";
119
+ import {
120
+ node45
121
+ } from "./image-7sny0gx5.js";
122
+ import {
123
+ node23
124
+ } from "./image-922nm86p.js";
125
+ import {
126
+ node15
127
+ } from "./image-axyt463m.js";
128
+ import {
129
+ node2
130
+ } from "./image-x9afmtav.js";
131
+ import {
132
+ node25
133
+ } from "./image-h5jfkxsw.js";
134
+ import {
135
+ node6,
136
+ bound2
137
+ } from "./image-5xtgfte3.js";
138
+ import {
139
+ node12
140
+ } from "./image-1a4hyc8b.js";
141
+ import {
142
+ node14
143
+ } from "./image-87wkjvtv.js";
144
+ import {
145
+ node8
146
+ } from "./image-5wmgxaxj.js";
147
+ import {
148
+ node4
149
+ } from "./image-7rjv7hd1.js";
150
+ import {
151
+ node3
152
+ } from "./image-6s054ecb.js";
153
+ import {
154
+ node21
155
+ } from "./image-f270k846.js";
156
+ import {
157
+ node13
158
+ } from "./image-qmh473g3.js";
159
+ import {
160
+ node11
161
+ } from "./image-0xnze9ce.js";
162
+ import {
163
+ __export
164
+ } from "./image-9rqn6x4v.js";
165
+
166
+ // src/instance.ts
167
+ var exports_instance = {};
168
+ __export(exports_instance, {
169
+ Instance: () => exports_instance,
170
+ Service: () => Service61,
171
+ graph: () => graph2,
172
+ layer: () => layer2,
173
+ node: () => node66
174
+ });
175
+ import { Effect, Layer } from "effect";
176
+ import { LayerNode } from "@opencode/util/effect/layer-node";
177
+ import { Node } from "@opencode/util/effect/app-node";
178
+ var nodes = [
179
+ node82,
180
+ node59,
181
+ node56,
182
+ node71,
183
+ node52,
184
+ node41,
185
+ node20,
186
+ node45,
187
+ node78,
188
+ node77,
189
+ node76,
190
+ node72,
191
+ node73,
192
+ node15,
193
+ node74,
194
+ node6,
195
+ node4,
196
+ node3,
197
+ node23,
198
+ node47,
199
+ node46,
200
+ node62,
201
+ node21,
202
+ node53,
203
+ node42,
204
+ node34,
205
+ node49,
206
+ node25,
207
+ node19,
208
+ node22,
209
+ node33,
210
+ node68,
211
+ node39,
212
+ node55,
213
+ node51,
214
+ node38,
215
+ node30,
216
+ node37,
217
+ node79,
218
+ node18,
219
+ node8,
220
+ node32,
221
+ node14,
222
+ node65,
223
+ node12,
224
+ node13,
225
+ node29,
226
+ node40,
227
+ node11,
228
+ node17,
229
+ node2
230
+ ];
231
+ var graph2 = LayerNode.group(nodes);
232
+ var vanillaReplacements = [
233
+ node56.replace(configured8({ project: false, global: false })),
234
+ node49.replace(configured6({ project: false, global: false }))
235
+ ];
236
+ function layer2(ref, options = {}) {
237
+ const startedAt = performance.now();
238
+ const replacements = [
239
+ ...options.discovery === false ? vanillaReplacements : [],
240
+ ...options.replacements ?? [],
241
+ node82.replace(boundNode2(ref, { discovery: options.discovery })),
242
+ node6.replace(bound2(options.plugins ?? []))
243
+ ];
244
+ return LayerNode.compile(graph2, { replacements, shared: Node.tags.values.global }).pipe(Layer.orDie, Layer.tap(() => Effect.logInfo("location services booted", {
245
+ directory: ref.directory,
246
+ workspaceID: ref.workspaceID,
247
+ durationMs: Math.round(performance.now() - startedAt)
248
+ })));
249
+ }
250
+
251
+ export { graph2, layer2, exports_instance };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  __export
3
- } from "./bus-9rqn6x4v.js";
3
+ } from "./image-9rqn6x4v.js";
4
4
 
5
5
  // src/session/runner/index.ts
6
6
  var exports_runner = {};
7
7
  __export(exports_runner, {
8
8
  DrainResult: () => DrainResult2,
9
- Service: () => Service33,
9
+ Service: () => Service58,
10
10
  SessionRunner: () => exports_runner
11
11
  });
12
12
  import { Context, Data } from "effect";
13
13
  var DrainResult2 = Data.taggedEnum();
14
14
 
15
- class Service33 extends Context.Service()("@opencode/SessionRunner") {
15
+ class Service58 extends Context.Service()("@opencode/SessionRunner") {
16
16
  }
17
17
 
18
- export { DrainResult2, Service33, exports_runner };
18
+ export { DrainResult2, Service58, exports_runner };
@@ -1,56 +1,56 @@
1
1
  import {
2
- Service79,
3
- node83
4
- } from "./bus-brbkvpcb.js";
2
+ Service80,
3
+ node85
4
+ } from "./image-gse1qw90.js";
5
5
  import {
6
- Event14,
7
- Service57,
8
- node61
9
- } from "./bus-t3qrjm11.js";
6
+ Event20,
7
+ Service75,
8
+ node80
9
+ } from "./image-man2vsb5.js";
10
10
  import {
11
- Service41,
12
- node44
13
- } from "./bus-62akg8e4.js";
11
+ Service52,
12
+ node57
13
+ } from "./image-98n2zv5b.js";
14
14
  import {
15
15
  AbsolutePath2
16
- } from "./bus-922hggd3.js";
16
+ } from "./image-922hggd3.js";
17
17
  import {
18
- Service72,
19
- node76
20
- } from "./bus-73z097ay.js";
18
+ Service77,
19
+ node82
20
+ } from "./image-7jm5jzq7.js";
21
21
  import {
22
22
  substitute2
23
- } from "./bus-yrznvahk.js";
23
+ } from "./image-yrznvahk.js";
24
24
  import {
25
25
  normalize2
26
- } from "./bus-v21t5zre.js";
26
+ } from "./image-hnbzzefg.js";
27
27
  import {
28
- names3,
28
+ names4,
29
29
  discover3
30
- } from "./bus-d1e2r7xq.js";
30
+ } from "./image-j66pfzft.js";
31
31
  import {
32
32
  plan2
33
- } from "./bus-j56e64zr.js";
33
+ } from "./image-j56e64zr.js";
34
34
  import {
35
- Service65,
36
- Event18,
37
- node69
38
- } from "./bus-hs3grr87.js";
35
+ Service53,
36
+ Event13,
37
+ node58
38
+ } from "./image-axf0s4jm.js";
39
39
  import {
40
40
  __export
41
- } from "./bus-9rqn6x4v.js";
41
+ } from "./image-9rqn6x4v.js";
42
42
 
43
43
  // src/config.ts
44
44
  var exports_config = {};
45
45
  __export(exports_config, {
46
46
  Config: () => exports_config,
47
- Options: () => Options4,
48
- Service: () => Service40,
47
+ Options: () => Options7,
48
+ Service: () => Service51,
49
49
  Test: () => Test2,
50
- configured: () => configured4,
50
+ configured: () => configured8,
51
51
  latest: () => latest2,
52
- layer: () => layer17,
53
- node: () => node43,
52
+ layer: () => layer20,
53
+ node: () => node56,
54
54
  testLayer: () => testLayer2
55
55
  });
56
56
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
64
64
  function latest2(entries, key) {
65
65
  return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
66
66
  }
67
- var Options4 = Schema.Struct({
67
+ var Options7 = Schema.Struct({
68
68
  project: Schema.optional(Schema.Boolean),
69
69
  global: Schema.optional(Schema.Boolean),
70
70
  file: Schema.optional(Schema.String),
71
71
  content: Schema.optional(Schema.String)
72
72
  });
73
73
 
74
- class Service40 extends Context.Service()("@opencode/Config") {
74
+ class Service51 extends Context.Service()("@opencode/Config") {
75
75
  }
76
76
 
77
77
  class Test2 extends Context.Service()("@opencode/Config/Test") {
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
89
89
  setEntries: (next) => Ref.set(entries, next),
90
90
  emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
91
91
  });
92
- return Context.empty().pipe(Context.add(Service40, service), Context.add(Test2, service));
92
+ return Context.empty().pipe(Context.add(Service51, service), Context.add(Test2, service));
93
93
  }));
94
- var layer17 = (options) => Layer.effect(Service40, Effect.gen(function* () {
94
+ var layer20 = (options) => Layer.effect(Service51, Effect.gen(function* () {
95
95
  const fs = yield* FSUtil.Service;
96
- const location = yield* Service72;
97
- const watcher = yield* Service41;
98
- const bus = yield* Service79;
99
- const credentials = yield* Service57;
96
+ const location = yield* Service77;
97
+ const watcher = yield* Service52;
98
+ const bus = yield* Service80;
99
+ const credentials = yield* Service75;
100
100
  const globalService = yield* Global.Service;
101
- const wellknown = yield* Service65;
101
+ const wellknown = yield* Service53;
102
102
  const reloadLock = Semaphore.makeUnsafe(1);
103
103
  const updateLock = Semaphore.makeUnsafe(1);
104
104
  const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
@@ -167,7 +167,7 @@ var layer17 = (options) => Layer.effect(Service40, Effect.gen(function* () {
167
167
  });
168
168
  const loadDirectory = Effect.fnUntraced(function* (directory) {
169
169
  return [
170
- ...yield* Effect.forEach(names3, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
170
+ ...yield* Effect.forEach(names4, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
171
171
  new Directory({ type: "directory", path: directory })
172
172
  ];
173
173
  });
@@ -221,8 +221,8 @@ var layer17 = (options) => Layer.effect(Service40, Effect.gen(function* () {
221
221
  }, (effect) => reloadLock.withPermit(effect));
222
222
  const pendingReloads = yield* PubSub.subscribe(reloads);
223
223
  yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
224
- yield* bus.subscribe(Event14.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
225
- yield* bus.subscribe(Event18.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
224
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
225
+ yield* bus.subscribe(Event13.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
226
226
  yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
227
227
  if (!wellknown.snapshot().length)
228
228
  return Effect.void;
@@ -235,7 +235,7 @@ var layer17 = (options) => Layer.effect(Service40, Effect.gen(function* () {
235
235
  yield* reloadLock.withPermit(reconcile(initial));
236
236
  const update = Effect.fn("Config.update")(function* (patch) {
237
237
  const directory = initial.global ?? AbsolutePath2.make(globalService.config);
238
- const candidates = names3.map((name) => path.join(directory, name));
238
+ const candidates = names4.map((name) => path.join(directory, name));
239
239
  const filepath = (yield* Effect.filter(candidates, fs.isFile)).at(-1) ?? path.join(directory, "opencode.jsonc");
240
240
  const text = (yield* fs.readFileStringSafe(filepath)) ?? `{}
241
241
  `;
@@ -250,7 +250,7 @@ var layer17 = (options) => Layer.effect(Service40, Effect.gen(function* () {
250
250
  `);
251
251
  yield* requestReload;
252
252
  }, (effect) => updateLock.withPermit(effect));
253
- return Service40.of({
253
+ return Service51.of({
254
254
  entries: Effect.fnUntraced(function* () {
255
255
  return configs;
256
256
  }),
@@ -262,13 +262,13 @@ var layer17 = (options) => Layer.effect(Service40, Effect.gen(function* () {
262
262
  update
263
263
  });
264
264
  }));
265
- function configured4(options) {
265
+ function configured8(options) {
266
266
  return makeLocationNode({
267
- service: Service40,
268
- layer: layer17(options),
269
- deps: [node44, node83, FSUtil.node, Global.node, node76, node61, node69]
267
+ service: Service51,
268
+ layer: layer20(options),
269
+ deps: [node57, node85, FSUtil.node, Global.node, node82, node80, node58]
270
270
  });
271
271
  }
272
- var node43 = configured4();
272
+ var node56 = configured8();
273
273
 
274
- export { latest2, Options4, Service40, Test2, testLayer2, layer17, configured4, node43, exports_config };
274
+ export { latest2, Options7, Service51, Test2, testLayer2, layer20, configured8, node56, exports_config };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  ephemeral2,
3
- Service79,
4
- node83
5
- } from "./bus-brbkvpcb.js";
3
+ Service80,
4
+ node85
5
+ } from "./image-gse1qw90.js";
6
6
  import {
7
- Service66,
8
- node70
9
- } from "./bus-a4f8rw7k.js";
7
+ Service70,
8
+ node75
9
+ } from "./image-0evxafpt.js";
10
10
  import {
11
11
  __export
12
- } from "./bus-9rqn6x4v.js";
12
+ } from "./image-9rqn6x4v.js";
13
13
 
14
14
  // src/wellknown.ts
15
15
  var exports_wellknown = {};
16
16
  __export(exports_wellknown, {
17
17
  Auth: () => Auth2,
18
18
  Config: () => Config2,
19
- Event: () => Event18,
19
+ Event: () => Event13,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service65,
22
+ Service: () => Service53,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node69,
25
+ node: () => node58,
26
26
  resolve: () => resolve2
27
27
  });
28
28
  import { Integration } from "@opencode/schema/integration";
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
46
46
  remote_config: Schema.optional(RemoteConfig2)
47
47
  }).annotate({ identifier: "WellKnown.Manifest" });
48
48
 
49
- class Service65 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service53 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
- var Event18 = {
51
+ var Event13 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
53
53
  };
54
54
  var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
@@ -75,10 +75,10 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
75
75
  });
76
76
  var sourcesKey = "wellknown:sources";
77
77
  var Sources = Schema.Array(Schema.String);
78
- var layer = Layer.effect(Service65, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service53, Effect.gen(function* () {
79
79
  const http = yield* HttpClient.HttpClient;
80
- const kv = yield* Service66;
81
- const bus = yield* Service79;
80
+ const kv = yield* Service70;
81
+ const bus = yield* Service80;
82
82
  const cache = yield* Ref.make(new Map);
83
83
  const lock = Semaphore.makeUnsafe(1);
84
84
  const loadEntry = Effect.fn("WellKnown.loadEntry")(function* (origin) {
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
109
109
  if (!changed)
110
110
  return false;
111
111
  yield* Ref.set(cache, next);
112
- yield* bus.publish(Event18.Updated, {});
112
+ yield* bus.publish(Event13.Updated, {});
113
113
  return true;
114
114
  }, (effect) => lock.withPermit(effect));
115
- return Service65.of({
115
+ return Service53.of({
116
116
  entries: load,
117
117
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
118
118
  refresh,
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
125
125
  const origins = Schema.is(Sources)(sources) ? sources : [];
126
126
  yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
127
127
  yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
128
- yield* bus.publish(Event18.Updated, {});
128
+ yield* bus.publish(Event13.Updated, {});
129
129
  return entry;
130
130
  }, (effect, _value) => lock.withPermit(effect)),
131
131
  remove: Effect.fn("WellKnown.remove")(function* (value) {
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
138
138
  next.delete(origin);
139
139
  return next;
140
140
  });
141
- yield* bus.publish(Event18.Updated, {});
141
+ yield* bus.publish(Event13.Updated, {});
142
142
  }, (effect, _value) => lock.withPermit(effect)),
143
143
  resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
144
144
  });
145
145
  }));
146
- var node69 = makeGlobalNode({ service: Service65, layer, deps: [httpClient, node70, node83] });
146
+ var node58 = makeGlobalNode({ service: Service53, layer, deps: [httpClient, node75, node85] });
147
147
 
148
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service65, Event18, inspect2, resolve2, node69, exports_wellknown };
148
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service53, Event13, inspect2, resolve2, node58, exports_wellknown };