@opencode/core 0.0.0-dev-20175 → 0.0.0-dev-20183

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 (802) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{mime-wskervgn.js → app-04mwcks8.js} +16 -16
  8. package/dist/chunks/{mime-2vs2nh1n.js → app-06x8he3q.js} +4 -4
  9. package/dist/chunks/{mime-z90jk03v.js → app-07m27n2f.js} +31 -31
  10. package/dist/chunks/{mime-vc794bvv.js → app-0bncb0zr.js} +152 -152
  11. package/dist/chunks/{mime-fdjzn7y9.js → app-0k7rzmkv.js} +28 -28
  12. package/dist/chunks/app-0mesazry.js +4 -0
  13. package/dist/chunks/{mime-0paq2nw3.js → app-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{mime-2py3gdf7.js → app-0t3s8gwj.js} +23 -23
  15. package/dist/chunks/{mime-xmj1c5tj.js → app-0y8j0jwb.js} +33 -33
  16. package/dist/chunks/{mime-dhc0xkxm.js → app-0zs2jmpx.js} +41 -41
  17. package/dist/chunks/{mime-ws8rf1n9.js → app-17j7xjjx.js} +8 -8
  18. package/dist/chunks/{mime-qs001aqx.js → app-17j9h1rv.js} +8 -8
  19. package/dist/chunks/{mime-eq1pz5kg.js → app-1bbkgx8g.js} +3 -3
  20. package/dist/chunks/{mime-1dazxqgg.js → app-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{mime-1nzs1dt7.js → app-1tq060df.js} +6 -6
  22. package/dist/chunks/{mime-0anb59kh.js → app-1wapx8hq.js} +5 -5
  23. package/dist/chunks/{mime-wvjy0rkm.js → app-21qee8pd.js} +3 -3
  24. package/dist/chunks/{mime-21r38tys.js → app-21r38tys.js} +1 -1
  25. package/dist/chunks/{mime-29x78va6.js → app-29x78va6.js} +2 -2
  26. package/dist/chunks/{mime-2a5m3afh.js → app-2a5m3afh.js} +1 -1
  27. package/dist/chunks/{mime-2dy1p8ya.js → app-2ewsd7dz.js} +15 -15
  28. package/dist/chunks/{mime-amgtyp96.js → app-2krf6z0f.js} +15 -15
  29. package/dist/chunks/{mime-yew08yk0.js → app-2q7knkvv.js} +48 -48
  30. package/dist/chunks/{mime-dzqga1rh.js → app-2rqb0n2e.js} +16 -16
  31. package/dist/chunks/{mime-yg64st6f.js → app-2sfcmm48.js} +13 -13
  32. package/dist/chunks/{mime-r9302q9a.js → app-30dn86p1.js} +21 -21
  33. package/dist/chunks/{mime-ezyw3hyt.js → app-37mwd34b.js} +1 -1
  34. package/dist/chunks/{mime-xxc26qrd.js → app-381tf59s.js} +18 -18
  35. package/dist/chunks/{mime-rk5e9k3p.js → app-3bwzg9n3.js} +86 -86
  36. package/dist/chunks/{mime-ny1bawyf.js → app-3cc30kq4.js} +15 -15
  37. package/dist/chunks/{mime-3fc6dm20.js → app-3fc6dm20.js} +1 -1
  38. package/dist/chunks/{mime-3hepkmqq.js → app-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{mime-dfe8djrf.js → app-3j8sdtpz.js} +4 -4
  40. package/dist/chunks/{mime-k1qrnqst.js → app-3ms0g86c.js} +8 -8
  41. package/dist/chunks/{mime-4crc4jdm.js → app-3rmaeae4.js} +3 -3
  42. package/dist/chunks/{mime-3smtnn6g.js → app-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{mime-3tvqynh2.js → app-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{mime-3zsf4n22.js → app-3zsf4n22.js} +1 -1
  45. package/dist/chunks/{mime-2bekqz3a.js → app-41wzkj33.js} +15 -15
  46. package/dist/chunks/{mime-w41yqvvp.js → app-4bjnnp4e.js} +17 -17
  47. package/dist/chunks/{mime-ywqv77jt.js → app-4gvbb2mg.js} +27 -27
  48. package/dist/chunks/{mime-s17k9x7e.js → app-4nmwwe2n.js} +11 -11
  49. package/dist/chunks/{mime-5s4prcyn.js → app-4s9c1cby.js} +33 -33
  50. package/dist/chunks/{mime-dy59ndr5.js → app-4w6pnabk.js} +49 -49
  51. package/dist/chunks/{mime-4fvze959.js → app-4y1a8kv7.js} +43 -43
  52. package/dist/chunks/{mime-1ygqh575.js → app-56gdpj1q.js} +9 -9
  53. package/dist/chunks/{mime-57ez7d0k.js → app-57ez7d0k.js} +2 -2
  54. package/dist/chunks/{mime-5daktx2q.js → app-5daktx2q.js} +1 -1
  55. package/dist/chunks/{mime-2vm2mn6r.js → app-5ha5de5a.js} +33 -33
  56. package/dist/chunks/{mime-ysk4s0pp.js → app-5kr47n8m.js} +17 -17
  57. package/dist/chunks/{mime-fee1sgdn.js → app-5n4zza11.js} +31 -31
  58. package/dist/chunks/{mime-t6f3wjjb.js → app-5nr495b5.js} +41 -41
  59. package/dist/chunks/{mime-79bvek48.js → app-5qtwg0c9.js} +21 -21
  60. package/dist/chunks/{mime-5t3nmthw.js → app-5t3nmthw.js} +2 -2
  61. package/dist/chunks/{mime-n1ka8r9d.js → app-5xpznt2d.js} +4 -4
  62. package/dist/chunks/{mime-1q9kvn7y.js → app-60z9p1zw.js} +22 -22
  63. package/dist/chunks/{mime-669tq793.js → app-669tq793.js} +1 -1
  64. package/dist/chunks/{mime-beezqa8w.js → app-6df1s2zp.js} +18 -18
  65. package/dist/chunks/{mime-bbjzvta2.js → app-6e60b89z.js} +20 -20
  66. package/dist/chunks/{mime-2402vzrj.js → app-6h73sxmp.js} +5 -5
  67. package/dist/chunks/{mime-y5xqhydv.js → app-6kzbhvf9.js} +30 -30
  68. package/dist/chunks/{mime-6msgmcgs.js → app-6msgmcgs.js} +1 -1
  69. package/dist/chunks/{mime-m9rvph0x.js → app-6r17xzga.js} +10 -10
  70. package/dist/chunks/{mime-xdk9p2qn.js → app-6sr3ve8g.js} +4 -4
  71. package/dist/chunks/{mime-rf80fxgj.js → app-6vq97qmv.js} +5 -5
  72. package/dist/chunks/{mime-mh42mebz.js → app-762k0108.js} +10 -10
  73. package/dist/chunks/{mime-k7z0z15n.js → app-772x3yj2.js} +12 -12
  74. package/dist/chunks/{mime-7bmhse3q.js → app-7bmhse3q.js} +1 -1
  75. package/dist/chunks/{mime-vq9mnbss.js → app-7t177gfd.js} +25 -25
  76. package/dist/chunks/{mime-k8962brh.js → app-806j49yq.js} +7 -7
  77. package/dist/chunks/{mime-aamn49ap.js → app-81vvm6at.js} +38 -38
  78. package/dist/chunks/app-82yqp303.js +252 -0
  79. package/dist/chunks/{mime-8d7r5vzw.js → app-8d7r5vzw.js} +1 -1
  80. package/dist/chunks/{mime-54g84kz9.js → app-8hr617rk.js} +16 -16
  81. package/dist/chunks/{mime-45v820cx.js → app-8nz49acp.js} +36 -36
  82. package/dist/chunks/{mime-t550g8gs.js → app-8prskhzj.js} +9 -9
  83. package/dist/chunks/{mime-qh8qw1yz.js → app-8vmhfmbz.js} +14 -14
  84. package/dist/chunks/{mime-94ek1h2f.js → app-94ek1h2f.js} +2 -2
  85. package/dist/chunks/{mime-et8918tz.js → app-9jcr10np.js} +1 -1
  86. package/dist/chunks/{mime-7psk4stz.js → app-9n26hfc3.js} +33 -33
  87. package/dist/chunks/{mime-6540dvt1.js → app-9skm3yw2.js} +7 -7
  88. package/dist/chunks/{mime-enmnh83w.js → app-a26qxgdt.js} +16 -16
  89. package/dist/chunks/{mime-gqy8xtzk.js → app-a2xk245q.js} +45 -45
  90. package/dist/chunks/{mime-bpcm8v83.js → app-a5gqm4c9.js} +3 -3
  91. package/dist/chunks/{mime-22s5ds6t.js → app-a72gbv29.js} +15 -15
  92. package/dist/chunks/{mime-rp5c3k0s.js → app-a76g130h.js} +47 -47
  93. package/dist/chunks/{mime-4j2jd05g.js → app-a7cargxb.js} +33 -33
  94. package/dist/chunks/{mime-xsjv728j.js → app-a9rzk6y3.js} +9 -9
  95. package/dist/chunks/{mime-aaet6srn.js → app-aaet6srn.js} +2 -2
  96. package/dist/chunks/{mime-afed7ext.js → app-adk9my66.js} +12 -12
  97. package/dist/chunks/{mime-0sadyvpa.js → app-ahsg504y.js} +4 -4
  98. package/dist/chunks/{mime-sdg1gcr0.js → app-am9m0s2t.js} +24 -24
  99. package/dist/chunks/{mime-kea5jqe6.js → app-ax56929r.js} +37 -37
  100. package/dist/chunks/{mime-cz43zx57.js → app-azmax92t.js} +8 -8
  101. package/dist/chunks/{mime-v553wp33.js → app-b4nhm8bs.js} +48 -48
  102. package/dist/chunks/{mime-b6gygkdw.js → app-b6gygkdw.js} +2 -2
  103. package/dist/chunks/{mime-44vkmz6z.js → app-b7b9y31v.js} +26 -26
  104. package/dist/chunks/{mime-6rfetefd.js → app-bd9pgsph.js} +3 -3
  105. package/dist/chunks/{mime-t4ay05z1.js → app-bh8ke73z.js} +9 -9
  106. package/dist/chunks/{mime-ajt4fata.js → app-bjd689ev.js} +5 -5
  107. package/dist/chunks/app-bwd0y37m.js +26 -0
  108. package/dist/chunks/{mime-bb26mjzh.js → app-c9e7vqn3.js} +6 -6
  109. package/dist/chunks/{mime-7tycp833.js → app-cbtv2dmn.js} +9 -9
  110. package/dist/chunks/{mime-dtt66365.js → app-ccs41bz9.js} +22 -22
  111. package/dist/chunks/{mime-ckecvw8r.js → app-ckecvw8r.js} +2 -2
  112. package/dist/chunks/{mime-0hn7mjnx.js → app-ckj0j7na.js} +11 -11
  113. package/dist/chunks/{mime-p42cb6gq.js → app-cqh4n8r9.js} +37 -37
  114. package/dist/chunks/{mime-whvrryqk.js → app-cvgzt2jg.js} +12 -12
  115. package/dist/chunks/{mime-9g6t6zrh.js → app-cw2mjhhm.js} +12 -12
  116. package/dist/chunks/{mime-qmqgtz8f.js → app-cwa6csj7.js} +9 -9
  117. package/dist/chunks/{mime-1bmj1kf2.js → app-d1v55qp5.js} +10 -10
  118. package/dist/chunks/{mime-1d35eqgr.js → app-d3ybp0kx.js} +5 -5
  119. package/dist/chunks/{mime-b95dy7zp.js → app-d60vjyrj.js} +12 -12
  120. package/dist/chunks/{mime-3w0fmcng.js → app-d87ppnb3.js} +5 -5
  121. package/dist/chunks/{mime-qms6mpje.js → app-dcngajy7.js} +23 -23
  122. package/dist/chunks/{mime-038cbjbn.js → app-dn5wevn0.js} +15 -15
  123. package/dist/chunks/{mime-bg87x2pg.js → app-dppfft2v.js} +13 -13
  124. package/dist/chunks/{mime-57b9ws8p.js → app-drwq78ky.js} +5 -5
  125. package/dist/chunks/{mime-tgwh4g45.js → app-dwae9e5x.js} +3 -3
  126. package/dist/chunks/{mime-41km3kz5.js → app-dy5f8vtz.js} +18 -18
  127. package/dist/chunks/{mime-d2aac7k2.js → app-ead3g9p8.js} +5 -5
  128. package/dist/chunks/{mime-mhmbnrp5.js → app-eb1vd11r.js} +15 -15
  129. package/dist/chunks/{mime-ecfe7b91.js → app-ecfe7b91.js} +2 -2
  130. package/dist/chunks/{mime-cz6jyf1n.js → app-ed0vge4d.js} +6 -6
  131. package/dist/chunks/{mime-77a7k1x9.js → app-een8gttx.js} +32 -32
  132. package/dist/chunks/{mime-ef5x83kb.js → app-ef5x83kb.js} +1 -1
  133. package/dist/chunks/{mime-etq0c3wd.js → app-etq0c3wd.js} +1 -1
  134. package/dist/chunks/{mime-ekv8efyj.js → app-f11fm5rt.js} +8 -8
  135. package/dist/chunks/{mime-49zwtcb8.js → app-f4821swv.js} +55 -55
  136. package/dist/chunks/{mime-c1ckp43n.js → app-f6fxmw8k.js} +9 -9
  137. package/dist/chunks/{mime-2kdwgsh2.js → app-f7a7fxkf.js} +14 -14
  138. package/dist/chunks/{mime-zrq8kphx.js → app-fgktf29t.js} +8 -8
  139. package/dist/chunks/{mime-hdzt82x2.js → app-fjvydvzm.js} +4 -4
  140. package/dist/chunks/{mime-bc3t5yes.js → app-fp8f3fwd.js} +24 -24
  141. package/dist/chunks/{mime-27em9pm7.js → app-fvvvn3xt.js} +12 -12
  142. package/dist/chunks/{mime-qs50n71f.js → app-fx7nf9wq.js} +20 -20
  143. package/dist/chunks/{mime-5yzzbxa7.js → app-g0445xdp.js} +8 -8
  144. package/dist/chunks/{mime-7xsf7rnq.js → app-g0mqs9ke.js} +11 -11
  145. package/dist/chunks/{mime-75xs070m.js → app-g3fwpptv.js} +19 -19
  146. package/dist/chunks/{mime-c77x7g6d.js → app-g6kd9wnb.js} +27 -27
  147. package/dist/chunks/{mime-b4yeq8gw.js → app-g6y5eke2.js} +12 -12
  148. package/dist/chunks/{mime-s8r0mwsn.js → app-g751tqet.js} +41 -41
  149. package/dist/chunks/{mime-r398a7yx.js → app-g9k4z160.js} +7 -7
  150. package/dist/chunks/{mime-gd4qta3r.js → app-gd4qta3r.js} +1 -1
  151. package/dist/chunks/{mime-gv6a8nnw.js → app-gv6a8nnw.js} +2 -2
  152. package/dist/chunks/{mime-2gw68b84.js → app-gwtnskww.js} +23 -23
  153. package/dist/chunks/app-gyce5qg1.js +18 -0
  154. package/dist/chunks/{mime-3559wj1e.js → app-h3beccv2.js} +21 -21
  155. package/dist/chunks/{mime-h6r3nrb9.js → app-h6r3nrb9.js} +1 -1
  156. package/dist/chunks/{mime-h6vf3j39.js → app-h6vf3j39.js} +1 -1
  157. package/dist/chunks/{mime-3js9yjpf.js → app-hbaf146g.js} +32 -32
  158. package/dist/chunks/{mime-w5py834v.js → app-hsfpjhe3.js} +22 -22
  159. package/dist/chunks/{mime-nes9re6y.js → app-j34tctwe.js} +6 -6
  160. package/dist/chunks/{mime-j56e64zr.js → app-j56e64zr.js} +1 -1
  161. package/dist/chunks/{mime-743spchq.js → app-j6c2947d.js} +1 -1
  162. package/dist/chunks/{mime-j34bs4nz.js → app-j8m1p4p1.js} +4 -4
  163. package/dist/chunks/{mime-d858xzj7.js → app-jewzahs7.js} +4 -4
  164. package/dist/chunks/{mime-h4dg678n.js → app-jfgzrkfd.js} +3 -3
  165. package/dist/chunks/{mime-82e83hjb.js → app-jjh1kqak.js} +15 -15
  166. package/dist/chunks/{mime-6r5c0w9g.js → app-jmafhyzf.js} +20 -20
  167. package/dist/chunks/{mime-83m6sd17.js → app-jnjzrgfb.js} +4 -4
  168. package/dist/chunks/{mime-qp9qrtp0.js → app-jpn3snb8.js} +45 -45
  169. package/dist/chunks/{mime-h69067hd.js → app-jq4a9y4s.js} +7 -7
  170. package/dist/chunks/{mime-x9d81cjr.js → app-jvhw5feb.js} +9 -9
  171. package/dist/chunks/{mime-7tbrah22.js → app-jwmy08gh.js} +10 -10
  172. package/dist/chunks/{mime-m7x0jkmn.js → app-jzm3dw47.js} +3 -3
  173. package/dist/chunks/{mime-fp67s591.js → app-k0vfxb4k.js} +23 -23
  174. package/dist/chunks/{mime-cjwramev.js → app-k18ytf7m.js} +6 -6
  175. package/dist/chunks/{mime-k3c624dm.js → app-k3c624dm.js} +3 -3
  176. package/dist/chunks/{mime-6hjx5zpb.js → app-kp8q1t60.js} +9 -9
  177. package/dist/chunks/{mime-ndz9h71m.js → app-kpz2hpxg.js} +3 -3
  178. package/dist/chunks/{mime-153c4z9z.js → app-ktc86f7m.js} +23 -23
  179. package/dist/chunks/{mime-ja923fd7.js → app-ktmxpr9b.js} +6 -6
  180. package/dist/chunks/{mime-m3fdjcah.js → app-m3fdjcah.js} +1 -1
  181. package/dist/chunks/{mime-234qydz7.js → app-m8e7ztd5.js} +3 -3
  182. package/dist/chunks/{mime-m9w0rfyh.js → app-m9w0rfyh.js} +1 -1
  183. package/dist/chunks/{mime-tggd67fe.js → app-msede844.js} +16 -16
  184. package/dist/chunks/{mime-j8afcsyc.js → app-mwwxnxty.js} +4 -4
  185. package/dist/chunks/{mime-z5km0pse.js → app-myd3b094.js} +17 -17
  186. package/dist/chunks/{mime-qg0jgkcp.js → app-n35d2xk4.js} +9 -9
  187. package/dist/chunks/{mime-vw5a0rfv.js → app-nc7x9c24.js} +2 -2
  188. package/dist/chunks/{mime-0r7yqxbf.js → app-p1nm93x7.js} +5 -5
  189. package/dist/chunks/{mime-k8fbnnjg.js → app-p6m2jw0c.js} +30 -30
  190. package/dist/chunks/{mime-pebjh6nn.js → app-pa5fajgc.js} +13 -13
  191. package/dist/chunks/{mime-re33y59c.js → app-pa6tn4dn.js} +25 -25
  192. package/dist/chunks/{mime-y8yd5a40.js → app-pany3nnr.js} +14 -14
  193. package/dist/chunks/{mime-7wny7pda.js → app-pax4wwbn.js} +26 -26
  194. package/dist/chunks/{mime-1q1h4scy.js → app-pb4k0zyb.js} +20 -20
  195. package/dist/chunks/{mime-ae0nwvy8.js → app-pf9pgydg.js} +4 -4
  196. package/dist/chunks/{mime-3wrtxrr4.js → app-phjaars8.js} +6 -6
  197. package/dist/chunks/{mime-pjvnvgmy.js → app-pjvnvgmy.js} +1 -1
  198. package/dist/chunks/{mime-pknna89w.js → app-pknna89w.js} +1 -1
  199. package/dist/chunks/{mime-5pyf4h0a.js → app-q132mq55.js} +24 -24
  200. package/dist/chunks/{mime-bjzh7m45.js → app-q20b9c35.js} +11 -11
  201. package/dist/chunks/{mime-ey8kmd5x.js → app-q7ar3ry6.js} +14 -14
  202. package/dist/chunks/{mime-zdcc64ja.js → app-qatg2v12.js} +3 -3
  203. package/dist/chunks/{mime-170hdxs4.js → app-qersht4q.js} +4 -4
  204. package/dist/chunks/{mime-2k8khapm.js → app-qgn6gcr1.js} +5 -5
  205. package/dist/chunks/{mime-mgmaefw5.js → app-qhfx9m4p.js} +8 -8
  206. package/dist/chunks/{mime-2nah3rm6.js → app-qj0e4t2j.js} +13 -13
  207. package/dist/chunks/{mime-rbe8s94e.js → app-qjkadte7.js} +18 -18
  208. package/dist/chunks/{mime-anq3081s.js → app-qk25y3ed.js} +10 -10
  209. package/dist/chunks/{mime-gwydwvmj.js → app-qpbc7zwf.js} +8 -8
  210. package/dist/chunks/{mime-x2rw7g36.js → app-qrds72pd.js} +5 -5
  211. package/dist/chunks/{mime-qsdy395h.js → app-qsdy395h.js} +1 -1
  212. package/dist/chunks/{mime-e0ps24dg.js → app-qz2fsytq.js} +20 -20
  213. package/dist/chunks/{mime-f1yg1ebf.js → app-r2bcgb1d.js} +30 -30
  214. package/dist/chunks/{mime-7cgya2dp.js → app-r7qvzhps.js} +16 -16
  215. package/dist/chunks/{mime-9hhm9pvq.js → app-r8wf6j98.js} +13 -13
  216. package/dist/chunks/{mime-xjtpc5ew.js → app-rczr7grn.js} +24 -24
  217. package/dist/chunks/{mime-rdw6cm16.js → app-rdw6cm16.js} +1 -1
  218. package/dist/chunks/{mime-w92k2e0p.js → app-rkprpv83.js} +8 -8
  219. package/dist/chunks/{mime-d866bxqg.js → app-rks7y0xb.js} +11 -11
  220. package/dist/chunks/{mime-gxvazm9p.js → app-rqr024yb.js} +11 -11
  221. package/dist/chunks/{mime-j5fqsg2e.js → app-rs4pcg3z.js} +332 -332
  222. package/dist/chunks/{mime-ket7y27p.js → app-rxmg1584.js} +74 -74
  223. package/dist/chunks/{mime-0tzy42a9.js → app-rzs3gq0x.js} +8 -8
  224. package/dist/chunks/{mime-s4enseaf.js → app-s4enseaf.js} +2 -2
  225. package/dist/chunks/{mime-87d9dw5n.js → app-s7y4804s.js} +9 -9
  226. package/dist/chunks/{mime-t550f9t1.js → app-s8d7rejh.js} +4 -4
  227. package/dist/chunks/{mime-hqrt1rb2.js → app-spgs379g.js} +13 -13
  228. package/dist/chunks/{mime-ppv6hta6.js → app-ss7gbv6r.js} +17 -17
  229. package/dist/chunks/{mime-9k86q3aq.js → app-t2w908bg.js} +8 -8
  230. package/dist/chunks/{mime-sk4fpzkz.js → app-t9tb71he.js} +12 -12
  231. package/dist/chunks/{mime-tazgh4e4.js → app-tazgh4e4.js} +1 -1
  232. package/dist/chunks/{mime-42wz0x18.js → app-tb3b9sw6.js} +12 -12
  233. package/dist/chunks/{mime-d7aqhzds.js → app-tbcsea09.js} +87 -87
  234. package/dist/chunks/{mime-89znhe33.js → app-tcezcvh9.js} +4 -4
  235. package/dist/chunks/{mime-fpnx24t4.js → app-tdhfktd2.js} +2 -2
  236. package/dist/chunks/{mime-tdstcens.js → app-tdstcens.js} +1 -1
  237. package/dist/chunks/{mime-mpmqpgh5.js → app-tmg40ghk.js} +1 -1
  238. package/dist/chunks/{mime-tvtrv512.js → app-tvtrv512.js} +1 -1
  239. package/dist/chunks/{mime-zefpc43y.js → app-v1gkvhxg.js} +21 -21
  240. package/dist/chunks/{mime-86aj54kq.js → app-v4tbcz23.js} +35 -35
  241. package/dist/chunks/{mime-q2kneea3.js → app-v96s264c.js} +18 -18
  242. package/dist/chunks/{mime-35kmpahp.js → app-vb4g9dae.js} +4 -4
  243. package/dist/chunks/{mime-8fyve6nd.js → app-vbxncmzn.js} +7 -7
  244. package/dist/chunks/{mime-s25qb6rd.js → app-vc7vckp8.js} +9 -9
  245. package/dist/chunks/{mime-veqvce7d.js → app-veqvce7d.js} +1 -1
  246. package/dist/chunks/{mime-ds0wtj4e.js → app-vhe5gjfh.js} +1 -1
  247. package/dist/chunks/{mime-7r6qf5r7.js → app-vnqd9frj.js} +21 -21
  248. package/dist/chunks/{mime-sxzvkvgj.js → app-vqfzq50h.js} +6 -6
  249. package/dist/chunks/{mime-vzcthcp8.js → app-vzcthcp8.js} +1 -1
  250. package/dist/chunks/{mime-vzs5sf6e.js → app-vzs5sf6e.js} +1 -1
  251. package/dist/chunks/{mime-5fb55ywp.js → app-w3nq1sqw.js} +9 -9
  252. package/dist/chunks/{mime-w3wsvvr9.js → app-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{mime-mbjbnbxx.js → app-w97pdczc.js} +9 -9
  254. package/dist/chunks/{mime-f2dxdeh3.js → app-wcda6taw.js} +18 -18
  255. package/dist/chunks/{mime-wd3x2cqz.js → app-wd3x2cqz.js} +2 -2
  256. package/dist/chunks/{mime-wd87259q.js → app-wd87259q.js} +1 -1
  257. package/dist/chunks/{mime-t5ra0cz4.js → app-wd8qy4jf.js} +11 -11
  258. package/dist/chunks/{mime-c4bh15tq.js → app-ws59qfe7.js} +15 -15
  259. package/dist/chunks/{mime-97sgz6yw.js → app-wsvzkehx.js} +20 -20
  260. package/dist/chunks/{mime-3153j44s.js → app-wx4a3jh4.js} +28 -28
  261. package/dist/chunks/{mime-x1ezjp6w.js → app-x1ezjp6w.js} +1 -1
  262. package/dist/chunks/{mime-ht3seza6.js → app-x2cmdckx.js} +24 -24
  263. package/dist/chunks/{mime-44d35g97.js → app-x37dysgs.js} +26 -26
  264. package/dist/chunks/{mime-enh3xt40.js → app-x5vahk43.js} +8 -8
  265. package/dist/chunks/{mime-xkntkrq7.js → app-xkntkrq7.js} +2 -2
  266. package/dist/chunks/{mime-508mdezp.js → app-xq5ct9qr.js} +4 -4
  267. package/dist/chunks/{mime-zkkg3hmv.js → app-xtnpp68a.js} +12 -12
  268. package/dist/chunks/{mime-ppvvtx0s.js → app-xw0zhdsg.js} +22 -22
  269. package/dist/chunks/{mime-v6v677s0.js → app-xy4s0ftx.js} +28 -28
  270. package/dist/chunks/{mime-vj9r822s.js → app-y0sv1x8h.js} +35 -35
  271. package/dist/chunks/{mime-y1fvbwt7.js → app-y1fvbwt7.js} +1 -1
  272. package/dist/chunks/{mime-de35ch4m.js → app-y4egsfsk.js} +8 -8
  273. package/dist/chunks/{mime-6aq6s8eb.js → app-y4jwevgg.js} +5 -5
  274. package/dist/chunks/{mime-y71avatq.js → app-y71avatq.js} +1 -1
  275. package/dist/chunks/{mime-30vqxvem.js → app-ya9fx2vp.js} +6 -6
  276. package/dist/chunks/{mime-vfwfag5t.js → app-yb8taw9s.js} +26 -26
  277. package/dist/chunks/{mime-1acjjqhc.js → app-yp2x3t23.js} +4 -4
  278. package/dist/chunks/{mime-yrhqyw5v.js → app-yrhqyw5v.js} +1 -1
  279. package/dist/chunks/{mime-605gm5cj.js → app-yxwncw5d.js} +29 -29
  280. package/dist/chunks/{mime-z07pqspn.js → app-z07pqspn.js} +3 -3
  281. package/dist/chunks/{mime-z0bkrqjs.js → app-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{mime-xaqyyngn.js → app-z5a3g3fm.js} +8 -8
  283. package/dist/chunks/{mime-zvj905se.js → app-z895wpav.js} +7 -7
  284. package/dist/chunks/{mime-2cfadnaz.js → app-zbc4823q.js} +2 -2
  285. package/dist/chunks/{mime-zeh9ct20.js → app-zeh9ct20.js} +2 -2
  286. package/dist/chunks/{mime-k28tmd1k.js → app-zfeqee33.js} +13 -13
  287. package/dist/chunks/{mime-aqd372pc.js → app-zgq7793f.js} +22 -22
  288. package/dist/chunks/{mime-q970vn6j.js → app-zjx5ttkw.js} +2 -2
  289. package/dist/chunks/{mime-zr2ceqn5.js → app-zr2ceqn5.js} +1 -1
  290. package/dist/chunks/{mime-p3vh2ta0.js → app-zsv6wfhn.js} +28 -28
  291. package/dist/chunks/{mime-zxq2ej10.js → app-zxq2ej10.js} +1 -1
  292. package/dist/chunks/{mime-tz679c1q.js → app-zy8mqy84.js} +1 -1
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +9 -9
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +85 -85
  298. package/dist/config/discovery.js +84 -84
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +106 -106
  301. package/dist/config/plugin/agent.js +125 -125
  302. package/dist/config/plugin/command.js +214 -214
  303. package/dist/config/plugin/compaction.js +162 -162
  304. package/dist/config/plugin/compatibility.js +141 -141
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +124 -124
  307. package/dist/config/plugin/image.js +123 -123
  308. package/dist/config/plugin/instruction.js +90 -90
  309. package/dist/config/plugin/location-watcher.js +125 -125
  310. package/dist/config/plugin/mcp.js +132 -132
  311. package/dist/config/plugin/policy.js +124 -124
  312. package/dist/config/plugin/provider.js +123 -123
  313. package/dist/config/plugin/reference.js +125 -125
  314. package/dist/config/plugin/shell.js +123 -123
  315. package/dist/config/plugin/skill-file.js +102 -102
  316. package/dist/config/plugin/skill.js +144 -144
  317. package/dist/config/plugin/snapshot.js +123 -123
  318. package/dist/config/plugin/source.js +126 -126
  319. package/dist/config/plugin/tool-output.js +125 -125
  320. package/dist/config/plugin/websearch.js +122 -122
  321. package/dist/config/plugin/worktree.js +125 -125
  322. package/dist/config/variable.js +3 -3
  323. package/dist/config/watch.js +1 -1
  324. package/dist/config.js +126 -126
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +83 -83
  327. package/dist/database/database.js +66 -66
  328. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +13 -13
  332. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  335. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  343. package/dist/database/drizzle.js +14 -14
  344. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  345. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  346. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  347. package/dist/database/migration/20260225215848_workspace.js +1 -1
  348. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  349. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  350. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  351. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  352. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  353. package/dist/database/migration/20260323234822_events.js +1 -1
  354. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  355. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  356. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  357. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  358. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  359. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  360. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  361. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  362. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  363. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  364. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  365. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  366. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  367. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  368. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  369. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  370. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  371. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  372. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  373. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  374. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  375. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  376. package/dist/database/migration/20260611035744_credential.js +1 -1
  377. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  378. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  379. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  380. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  381. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  382. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  383. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  384. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  385. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  386. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  387. package/dist/database/migration/20260812213948_worktree.js +1 -1
  388. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  389. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  390. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  391. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  392. package/dist/database/migration.gen.js +49 -49
  393. package/dist/database/migration.js +51 -51
  394. package/dist/database/path.js +2 -2
  395. package/dist/database/schema.gen.js +1 -1
  396. package/dist/database/schema.sql.js +1 -1
  397. package/dist/database/sqlite.bun.js +1 -1
  398. package/dist/database/sqlite.js +1 -1
  399. package/dist/database/sqlite.node.js +1 -1
  400. package/dist/database/sqlite.workerd.js +1 -1
  401. package/dist/database/v1-migration.bun.js +76 -76
  402. package/dist/database/v1-migration.js +1 -1
  403. package/dist/effect/app-node-builder.js +372 -372
  404. package/dist/effect/app-node-platform.js +2 -2
  405. package/dist/effect/keyed-mutex.js +1 -1
  406. package/dist/effect/websocket-constructor.js +1 -1
  407. package/dist/environment/driver.js +1 -1
  408. package/dist/environment/environment.js +93 -93
  409. package/dist/environment/exec-defaults.js +2 -2
  410. package/dist/environment/files.js +1 -1
  411. package/dist/environment/index.js +95 -95
  412. package/dist/environment/local.js +2 -2
  413. package/dist/environment/memory.js +2 -2
  414. package/dist/environment/unavailable.js +1 -1
  415. package/dist/event/sql.js +1 -1
  416. package/dist/event-logger.js +74 -74
  417. package/dist/file-access.js +104 -104
  418. package/dist/file-mutation.js +94 -94
  419. package/dist/file-retention.js +1 -1
  420. package/dist/file.js +1 -1
  421. package/dist/filesystem/fff.bun.js +2 -2
  422. package/dist/filesystem/fff.js +1 -1
  423. package/dist/filesystem/fff.node.js +2 -2
  424. package/dist/filesystem/fff.workerd.js +2 -2
  425. package/dist/filesystem/ignore.js +1 -1
  426. package/dist/filesystem/location-watcher-policy.js +6 -6
  427. package/dist/filesystem/location-watcher.js +227 -227
  428. package/dist/filesystem/protected.js +3 -3
  429. package/dist/filesystem/search.js +103 -103
  430. package/dist/filesystem/watcher-binding.js +1 -1
  431. package/dist/filesystem/watcher.js +15 -15
  432. package/dist/filesystem.js +106 -106
  433. package/dist/form.js +76 -76
  434. package/dist/formatter/builtins.js +4 -4
  435. package/dist/formatter.js +87 -87
  436. package/dist/generate.js +101 -101
  437. package/dist/git.js +10 -10
  438. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  439. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  440. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  442. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  443. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  444. package/dist/github-copilot/copilot-provider.js +17 -17
  445. package/dist/github-copilot/models.js +99 -99
  446. package/dist/github-copilot/openai-compatible-error.js +1 -1
  447. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  448. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  449. package/dist/github-copilot/responses/openai-error.js +1 -1
  450. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  451. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  452. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  453. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  454. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  456. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  457. package/dist/id/id.js +1 -1
  458. package/dist/image/photon.js +2 -2
  459. package/dist/image.js +6 -6
  460. package/dist/instance/service.js +5 -5
  461. package/dist/instance.js +363 -363
  462. package/dist/instruction-discovery.js +85 -85
  463. package/dist/instructions/builtins.js +87 -87
  464. package/dist/instructions/index.js +3 -3
  465. package/dist/integration/connection.js +1 -1
  466. package/dist/integration.js +80 -80
  467. package/dist/job.js +77 -77
  468. package/dist/kv/sql.js +2 -2
  469. package/dist/kv.js +73 -73
  470. package/dist/location-activity.js +135 -135
  471. package/dist/location-lifecycle.js +107 -107
  472. package/dist/location-mutation.js +104 -104
  473. package/dist/location-service-map.js +86 -86
  474. package/dist/location-services.js +360 -360
  475. package/dist/location.js +85 -85
  476. package/dist/managed-policy.js +5 -5
  477. package/dist/mcp/client.js +91 -91
  478. package/dist/mcp/index.js +108 -108
  479. package/dist/mcp/instructions.js +128 -128
  480. package/dist/mcp/oauth.js +78 -78
  481. package/dist/mcp/stdio.js +90 -90
  482. package/dist/mime.js +1 -1
  483. package/dist/modal/models.js +99 -99
  484. package/dist/model-resolver.js +98 -98
  485. package/dist/model.js +100 -100
  486. package/dist/models-dev.js +107 -107
  487. package/dist/oauth/page.js +1 -1
  488. package/dist/permission/saved.js +80 -80
  489. package/dist/permission/sql.js +5 -5
  490. package/dist/permission.js +109 -109
  491. package/dist/persistent-pty/binary.bun.js +1 -1
  492. package/dist/persistent-pty/daemon.js +1 -1
  493. package/dist/persistent-pty/index.js +86 -86
  494. package/dist/persistent-pty/pty-binding.js +1 -1
  495. package/dist/persistent-pty.js +75 -75
  496. package/dist/plugin/agent.js +104 -104
  497. package/dist/plugin/command.js +101 -101
  498. package/dist/plugin/compaction.js +133 -133
  499. package/dist/plugin/hooks.js +5 -5
  500. package/dist/plugin/host.js +218 -218
  501. package/dist/plugin/identity.js +3 -3
  502. package/dist/plugin/instance.js +5 -5
  503. package/dist/plugin/internal.js +334 -334
  504. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  505. package/dist/plugin/models-dev.js +96 -96
  506. package/dist/plugin/module.js +5 -5
  507. package/dist/plugin/optimize.js +4 -4
  508. package/dist/plugin/plan.js +102 -102
  509. package/dist/plugin/promise.js +1 -1
  510. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  511. package/dist/plugin/provider/azure.js +122 -122
  512. package/dist/plugin/provider/cerebras.js +1 -1
  513. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  514. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  515. package/dist/plugin/provider/cohere.js +2 -2
  516. package/dist/plugin/provider/configured.js +119 -119
  517. package/dist/plugin/provider/digitalocean.js +93 -93
  518. package/dist/plugin/provider/dynamic.js +2 -2
  519. package/dist/plugin/provider/factory.js +1 -1
  520. package/dist/plugin/provider/gateway.js +2 -2
  521. package/dist/plugin/provider/github-copilot.js +93 -93
  522. package/dist/plugin/provider/gitlab.js +93 -93
  523. package/dist/plugin/provider/google-vertex.js +90 -90
  524. package/dist/plugin/provider/kilo.js +1 -1
  525. package/dist/plugin/provider/llmgateway.js +77 -77
  526. package/dist/plugin/provider/lmstudio.js +120 -120
  527. package/dist/plugin/provider/modal.js +92 -92
  528. package/dist/plugin/provider/nvidia.js +1 -1
  529. package/dist/plugin/provider/ollama.js +120 -120
  530. package/dist/plugin/provider/openai.js +94 -94
  531. package/dist/plugin/provider/opencode.js +95 -95
  532. package/dist/plugin/provider/openrouter.js +91 -91
  533. package/dist/plugin/provider/perplexity.js +2 -2
  534. package/dist/plugin/provider/poe.js +78 -78
  535. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  536. package/dist/plugin/provider/sap-ai-core.js +91 -91
  537. package/dist/plugin/provider/sdk-factory.js +1 -1
  538. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  539. package/dist/plugin/provider/venice.js +2 -2
  540. package/dist/plugin/provider/vercel.js +90 -90
  541. package/dist/plugin/provider/vllm.js +120 -120
  542. package/dist/plugin/provider/xai.js +91 -91
  543. package/dist/plugin/provider/zenmux.js +1 -1
  544. package/dist/plugin/provider.js +160 -160
  545. package/dist/plugin/sdk.js +76 -76
  546. package/dist/plugin/service.js +3 -3
  547. package/dist/plugin/skill.js +141 -141
  548. package/dist/plugin/source-directory.js +1 -1
  549. package/dist/plugin/supervisor.js +349 -349
  550. package/dist/plugin/tool-input-repair.js +4 -4
  551. package/dist/plugin/update.js +6 -6
  552. package/dist/plugin/vcs/git.js +86 -86
  553. package/dist/plugin/vcs/hg.js +86 -86
  554. package/dist/plugin/verbosity.js +93 -93
  555. package/dist/plugin/warming.js +121 -121
  556. package/dist/plugin/websearch/exa.js +7 -7
  557. package/dist/plugin/websearch/firecrawl.js +8 -8
  558. package/dist/plugin/websearch/index.js +9 -9
  559. package/dist/plugin/websearch/mcp.js +6 -6
  560. package/dist/plugin/websearch/parallel.js +8 -8
  561. package/dist/plugin/websearch/tavily.js +4 -4
  562. package/dist/plugin/websearch/tinyfish.js +8 -8
  563. package/dist/plugin.js +227 -227
  564. package/dist/project/schema.js +2 -2
  565. package/dist/project/sql.js +4 -4
  566. package/dist/project.js +84 -84
  567. package/dist/provider.js +93 -93
  568. package/dist/pty/protocol.js +1 -1
  569. package/dist/pty/schema.js +3 -3
  570. package/dist/pty/ticket.js +1 -1
  571. package/dist/pty.js +98 -98
  572. package/dist/reference/instructions.js +89 -89
  573. package/dist/reference.js +91 -91
  574. package/dist/repository-cache.js +81 -81
  575. package/dist/repository.js +3 -3
  576. package/dist/ripgrep/binary.js +2 -2
  577. package/dist/ripgrep.js +95 -95
  578. package/dist/rpc.js +86 -86
  579. package/dist/schema.js +1 -1
  580. package/dist/session/command.js +74 -74
  581. package/dist/session/compaction.js +134 -134
  582. package/dist/session/context.js +152 -152
  583. package/dist/session/diff.js +88 -88
  584. package/dist/session/environment.js +5 -5
  585. package/dist/session/error.js +3 -3
  586. package/dist/session/event.js +1 -1
  587. package/dist/session/execution/restart.js +224 -224
  588. package/dist/session/execution.js +128 -128
  589. package/dist/session/generate.js +151 -151
  590. package/dist/session/history.js +13 -13
  591. package/dist/session/inbox.js +86 -86
  592. package/dist/session/info.js +3 -3
  593. package/dist/session/instruction-entry.js +79 -79
  594. package/dist/session/instruction-state.js +8 -8
  595. package/dist/session/instructions.js +97 -97
  596. package/dist/session/message-updater.js +2 -2
  597. package/dist/session/message.js +1 -1
  598. package/dist/session/model-request.js +119 -119
  599. package/dist/session/model-transport.js +9 -9
  600. package/dist/session/move.js +130 -130
  601. package/dist/session/projector.js +86 -86
  602. package/dist/session/prompt.js +105 -105
  603. package/dist/session/provider-context.js +3 -3
  604. package/dist/session/revert.js +90 -90
  605. package/dist/session/run-coordinator.js +3 -3
  606. package/dist/session/runner/index.js +3 -3
  607. package/dist/session/runner/llm.js +231 -231
  608. package/dist/session/runner/max-steps.js +1 -1
  609. package/dist/session/runner/model.js +98 -98
  610. package/dist/session/runner/publish-llm-event.js +3 -3
  611. package/dist/session/runner/retry.js +114 -114
  612. package/dist/session/runner/step.js +126 -126
  613. package/dist/session/runner/to-llm-message.js +2 -2
  614. package/dist/session/schema.js +3 -3
  615. package/dist/session/session.js +172 -172
  616. package/dist/session/shell.js +138 -138
  617. package/dist/session/skill.js +103 -103
  618. package/dist/session/sql.js +5 -5
  619. package/dist/session/stats.js +73 -73
  620. package/dist/session/store.js +85 -85
  621. package/dist/session/subagent-completion.js +1 -1
  622. package/dist/session/subagent-job.js +210 -210
  623. package/dist/session/system-prompt.js +3 -3
  624. package/dist/session/title.js +156 -156
  625. package/dist/session/to-session-error.js +111 -111
  626. package/dist/session/transfer.js +220 -220
  627. package/dist/session/usage.js +1 -1
  628. package/dist/session.js +214 -214
  629. package/dist/shell/parse.js +6 -6
  630. package/dist/shell/result.js +1 -1
  631. package/dist/shell/scan.js +1 -1
  632. package/dist/shell/select.js +5 -5
  633. package/dist/shell.js +140 -140
  634. package/dist/skill/discovery.js +6 -6
  635. package/dist/skill/instructions.js +107 -107
  636. package/dist/skill.js +110 -110
  637. package/dist/snapshot.js +93 -93
  638. package/dist/state.js +1 -1
  639. package/dist/tool/html-markdown.js +1 -1
  640. package/dist/tool/http-body.js +1 -1
  641. package/dist/tool/mcp.js +125 -125
  642. package/dist/tool/plugin/edit.js +120 -120
  643. package/dist/tool/plugin/file-diff.js +1 -1
  644. package/dist/tool/plugin/glob.js +124 -124
  645. package/dist/tool/plugin/grep.js +120 -120
  646. package/dist/tool/plugin/mcp-resource.js +116 -116
  647. package/dist/tool/plugin/opencode.js +3 -3
  648. package/dist/tool/plugin/patch.js +122 -122
  649. package/dist/tool/plugin/question.js +101 -101
  650. package/dist/tool/plugin/read.js +123 -123
  651. package/dist/tool/plugin/shell.js +215 -215
  652. package/dist/tool/plugin/skill.js +111 -111
  653. package/dist/tool/plugin/subagent.js +219 -219
  654. package/dist/tool/plugin/webfetch.js +112 -112
  655. package/dist/tool/plugin/websearch.js +112 -112
  656. package/dist/tool/plugin/write.js +114 -114
  657. package/dist/tool/read-filesystem.js +100 -100
  658. package/dist/tool/runtime.js +1 -1
  659. package/dist/tool-output.js +8 -8
  660. package/dist/tool.js +16 -16
  661. package/dist/util/error-summary.js +1 -1
  662. package/dist/util/error.js +1 -1
  663. package/dist/util/git-executable.js +2 -2
  664. package/dist/util/iife.js +1 -1
  665. package/dist/util/lazy.js +1 -1
  666. package/dist/util/slug.js +1 -1
  667. package/dist/util/token.js +1 -1
  668. package/dist/util/which.js +1 -1
  669. package/dist/util/wildcard.js +1 -1
  670. package/dist/v1/config/agent.js +5 -5
  671. package/dist/v1/config/attachment.js +4 -4
  672. package/dist/v1/config/command.js +5 -5
  673. package/dist/v1/config/config.js +16 -16
  674. package/dist/v1/config/error.js +2 -2
  675. package/dist/v1/config/formatter.js +3 -3
  676. package/dist/v1/config/layout.js +1 -1
  677. package/dist/v1/config/lsp.js +5 -5
  678. package/dist/v1/config/mcp.js +4 -4
  679. package/dist/v1/config/migrate.js +92 -92
  680. package/dist/v1/config/permission.js +3 -3
  681. package/dist/v1/config/plugin.js +3 -3
  682. package/dist/v1/config/provider-options.js +1 -1
  683. package/dist/v1/config/provider.js +4 -4
  684. package/dist/v1/config/server.js +2 -2
  685. package/dist/v1/config/skills.js +3 -3
  686. package/dist/v1/permission.js +1 -1
  687. package/dist/variant.js +93 -93
  688. package/dist/vcs/patch.js +1 -1
  689. package/dist/vcs.js +89 -89
  690. package/dist/websearch.js +82 -82
  691. package/dist/wellknown/plugin.js +76 -76
  692. package/dist/wellknown.js +81 -81
  693. package/dist/workspace/driver.js +5 -5
  694. package/dist/workspace/sql.js +1 -1
  695. package/dist/workspace.js +78 -78
  696. package/dist/worktree/directory.js +2 -2
  697. package/dist/worktree/git.js +10 -10
  698. package/dist/worktree/sql.js +5 -5
  699. package/dist/worktree/strategies.js +89 -89
  700. package/dist/worktree.js +98 -98
  701. package/package.json +8 -8
  702. package/dist/chunks/mime-6cjeyrsw.js +0 -26
  703. package/dist/chunks/mime-hr9dp009.js +0 -4
  704. package/dist/chunks/mime-v1faaxn9.js +0 -18
  705. package/dist/chunks/mime-yvzdpfbp.js +0 -252
  706. /package/dist/chunks/{mime-0qkdqm5v.js → app-0qkdqm5v.js} +0 -0
  707. /package/dist/chunks/{mime-0zkw76rk.js → app-0zkw76rk.js} +0 -0
  708. /package/dist/chunks/{mime-17cy0kzp.js → app-17cy0kzp.js} +0 -0
  709. /package/dist/chunks/{mime-1cnp2v09.js → app-1cnp2v09.js} +0 -0
  710. /package/dist/chunks/{mime-1kg9ymc8.js → app-1kg9ymc8.js} +0 -0
  711. /package/dist/chunks/{mime-24dcb14g.js → app-24dcb14g.js} +0 -0
  712. /package/dist/chunks/{mime-2710q6r3.js → app-2710q6r3.js} +0 -0
  713. /package/dist/chunks/{mime-2axfhc9x.js → app-2axfhc9x.js} +0 -0
  714. /package/dist/chunks/{mime-2c3vjs8z.js → app-2c3vjs8z.js} +0 -0
  715. /package/dist/chunks/{mime-34c7v6d4.js → app-34c7v6d4.js} +0 -0
  716. /package/dist/chunks/{mime-359p4xyc.js → app-359p4xyc.js} +0 -0
  717. /package/dist/chunks/{mime-3asan66x.js → app-3asan66x.js} +0 -0
  718. /package/dist/chunks/{mime-3v8g72cx.js → app-3v8g72cx.js} +0 -0
  719. /package/dist/chunks/{mime-3w5fmr99.js → app-3w5fmr99.js} +0 -0
  720. /package/dist/chunks/{mime-3wcehsnq.js → app-3wcehsnq.js} +0 -0
  721. /package/dist/chunks/{mime-43n2bw4t.js → app-43n2bw4t.js} +0 -0
  722. /package/dist/chunks/{mime-4knz6hnm.js → app-4knz6hnm.js} +0 -0
  723. /package/dist/chunks/{mime-4vcrnpx2.js → app-4vcrnpx2.js} +0 -0
  724. /package/dist/chunks/{mime-4y7fprxs.js → app-4y7fprxs.js} +0 -0
  725. /package/dist/chunks/{mime-53557ph1.js → app-53557ph1.js} +0 -0
  726. /package/dist/chunks/{mime-550bvhaj.js → app-550bvhaj.js} +0 -0
  727. /package/dist/chunks/{mime-6prwharc.js → app-6prwharc.js} +0 -0
  728. /package/dist/chunks/{mime-7akdwqpd.js → app-7akdwqpd.js} +0 -0
  729. /package/dist/chunks/{mime-7m9af43g.js → app-7m9af43g.js} +0 -0
  730. /package/dist/chunks/{mime-822emrt2.js → app-822emrt2.js} +0 -0
  731. /package/dist/chunks/{mime-88xbtdfr.js → app-88xbtdfr.js} +0 -0
  732. /package/dist/chunks/{mime-8n3pysct.js → app-8n3pysct.js} +0 -0
  733. /package/dist/chunks/{mime-8wj87zfr.js → app-8wj87zfr.js} +0 -0
  734. /package/dist/chunks/{mime-922hggd3.js → app-922hggd3.js} +0 -0
  735. /package/dist/chunks/{mime-9a4afbnw.js → app-9a4afbnw.js} +0 -0
  736. /package/dist/chunks/{mime-9rqn6x4v.js → app-9rqn6x4v.js} +0 -0
  737. /package/dist/chunks/{mime-a6k6eb26.js → app-a6k6eb26.js} +0 -0
  738. /package/dist/chunks/{mime-af5trqkr.js → app-af5trqkr.js} +0 -0
  739. /package/dist/chunks/{mime-afrmfg78.js → app-afrmfg78.js} +0 -0
  740. /package/dist/chunks/{mime-aqzs7mqg.js → app-aqzs7mqg.js} +0 -0
  741. /package/dist/chunks/{mime-atq7p7m5.js → app-atq7p7m5.js} +0 -0
  742. /package/dist/chunks/{mime-bkyjaxrp.js → app-bkyjaxrp.js} +0 -0
  743. /package/dist/chunks/{mime-bmr6ed5q.js → app-bmr6ed5q.js} +0 -0
  744. /package/dist/chunks/{mime-cf4snx6d.js → app-cf4snx6d.js} +0 -0
  745. /package/dist/chunks/{mime-cvy3z8tj.js → app-cvy3z8tj.js} +0 -0
  746. /package/dist/chunks/{mime-d9fn303g.js → app-d9fn303g.js} +0 -0
  747. /package/dist/chunks/{mime-d9jj8t3e.js → app-d9jj8t3e.js} +0 -0
  748. /package/dist/chunks/{mime-dajrwvna.js → app-dajrwvna.js} +0 -0
  749. /package/dist/chunks/{mime-dap0rakb.js → app-dap0rakb.js} +0 -0
  750. /package/dist/chunks/{mime-df08tz66.js → app-df08tz66.js} +0 -0
  751. /package/dist/chunks/{mime-dy18nga0.js → app-dy18nga0.js} +0 -0
  752. /package/dist/chunks/{mime-e3qxr5gk.js → app-e3qxr5gk.js} +0 -0
  753. /package/dist/chunks/{mime-e5kj55wp.js → app-e5kj55wp.js} +0 -0
  754. /package/dist/chunks/{mime-e73j6tqm.js → app-e73j6tqm.js} +0 -0
  755. /package/dist/chunks/{mime-ec1grn59.js → app-ec1grn59.js} +0 -0
  756. /package/dist/chunks/{mime-eh3zwz77.js → app-eh3zwz77.js} +0 -0
  757. /package/dist/chunks/{mime-emrn6kk6.js → app-emrn6kk6.js} +0 -0
  758. /package/dist/chunks/{mime-f0mxakyp.js → app-f0mxakyp.js} +0 -0
  759. /package/dist/chunks/{mime-f6n9ztr4.js → app-f6n9ztr4.js} +0 -0
  760. /package/dist/chunks/{mime-faypxj3z.js → app-faypxj3z.js} +0 -0
  761. /package/dist/chunks/{mime-fd410y7t.js → app-fd410y7t.js} +0 -0
  762. /package/dist/chunks/{mime-fxgpk5d8.js → app-fxgpk5d8.js} +0 -0
  763. /package/dist/chunks/{mime-g4wezp1m.js → app-g4wezp1m.js} +0 -0
  764. /package/dist/chunks/{mime-g86h250q.js → app-g86h250q.js} +0 -0
  765. /package/dist/chunks/{mime-gebd4c9n.js → app-gebd4c9n.js} +0 -0
  766. /package/dist/chunks/{mime-gftt206x.js → app-gftt206x.js} +0 -0
  767. /package/dist/chunks/{mime-hjbc5kem.js → app-hjbc5kem.js} +0 -0
  768. /package/dist/chunks/{mime-hk9envan.js → app-hk9envan.js} +0 -0
  769. /package/dist/chunks/{mime-j2ntwpah.js → app-j2ntwpah.js} +0 -0
  770. /package/dist/chunks/{mime-j5zkgpj8.js → app-j5zkgpj8.js} +0 -0
  771. /package/dist/chunks/{mime-jjkms2e6.js → app-jjkms2e6.js} +0 -0
  772. /package/dist/chunks/{mime-jr7sbwjy.js → app-jr7sbwjy.js} +0 -0
  773. /package/dist/chunks/{mime-jwfs4k6c.js → app-jwfs4k6c.js} +0 -0
  774. /package/dist/chunks/{mime-jzg6c2d5.js → app-jzg6c2d5.js} +0 -0
  775. /package/dist/chunks/{mime-mp448xyj.js → app-mp448xyj.js} +0 -0
  776. /package/dist/chunks/{mime-msx8hqn2.js → app-msx8hqn2.js} +0 -0
  777. /package/dist/chunks/{mime-n05xt0ee.js → app-n05xt0ee.js} +0 -0
  778. /package/dist/chunks/{mime-n3j8tn72.js → app-n3j8tn72.js} +0 -0
  779. /package/dist/chunks/{mime-njntx4h6.js → app-njntx4h6.js} +0 -0
  780. /package/dist/chunks/{mime-q3sfg36h.js → app-q3sfg36h.js} +0 -0
  781. /package/dist/chunks/{mime-q74kybfr.js → app-q74kybfr.js} +0 -0
  782. /package/dist/chunks/{mime-qaymkmh1.js → app-qaymkmh1.js} +0 -0
  783. /package/dist/chunks/{mime-qb87gjwd.js → app-qb87gjwd.js} +0 -0
  784. /package/dist/chunks/{mime-qfa1cgps.js → app-qfa1cgps.js} +0 -0
  785. /package/dist/chunks/{mime-qg3g05ea.js → app-qg3g05ea.js} +0 -0
  786. /package/dist/chunks/{mime-qrg20bc0.js → app-qrg20bc0.js} +0 -0
  787. /package/dist/chunks/{mime-rcb2kzg1.js → app-rcb2kzg1.js} +0 -0
  788. /package/dist/chunks/{mime-sdp7kfr6.js → app-sdp7kfr6.js} +0 -0
  789. /package/dist/chunks/{mime-sk3qaz4a.js → app-sk3qaz4a.js} +0 -0
  790. /package/dist/chunks/{mime-ssg3fenm.js → app-ssg3fenm.js} +0 -0
  791. /package/dist/chunks/{mime-w803qqfp.js → app-w803qqfp.js} +0 -0
  792. /package/dist/chunks/{mime-wc3fc9cn.js → app-wc3fc9cn.js} +0 -0
  793. /package/dist/chunks/{mime-wer8tq1h.js → app-wer8tq1h.js} +0 -0
  794. /package/dist/chunks/{mime-wtztk69x.js → app-wtztk69x.js} +0 -0
  795. /package/dist/chunks/{mime-x0ckcb58.js → app-x0ckcb58.js} +0 -0
  796. /package/dist/chunks/{mime-x61499pn.js → app-x61499pn.js} +0 -0
  797. /package/dist/chunks/{mime-y44na4kk.js → app-y44na4kk.js} +0 -0
  798. /package/dist/chunks/{mime-y8cydn3q.js → app-y8cydn3q.js} +0 -0
  799. /package/dist/chunks/{mime-y8f7s663.js → app-y8f7s663.js} +0 -0
  800. /package/dist/chunks/{mime-ygaqb7jw.js → app-ygaqb7jw.js} +0 -0
  801. /package/dist/chunks/{mime-ym463w8f.js → app-ym463w8f.js} +0 -0
  802. /package/dist/chunks/{mime-z9919s4g.js → app-z9919s4g.js} +0 -0
@@ -1,44 +1,44 @@
1
1
  import {
2
- Service54
3
- } from "./mime-dy59ndr5.js";
2
+ Service44
3
+ } from "./app-4w6pnabk.js";
4
4
  import {
5
5
  MAX_MARKDOWN_BYTES2,
6
6
  convertHTMLToMarkdown2
7
- } from "./mime-4vcrnpx2.js";
7
+ } from "./app-4vcrnpx2.js";
8
8
  import {
9
9
  collectBoundedResponseBody2
10
- } from "./mime-3v8g72cx.js";
10
+ } from "./app-3v8g72cx.js";
11
11
  import {
12
12
  __export
13
- } from "./mime-9rqn6x4v.js";
13
+ } from "./app-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/webfetch.ts
16
16
  var exports_webfetch = {};
17
17
  __export(exports_webfetch, {
18
18
  DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
19
- Input: () => Input8,
20
- MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
19
+ Input: () => Input10,
20
+ MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
21
21
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
22
- Plugin: () => Plugin44,
22
+ Plugin: () => Plugin31,
23
23
  WebFetchTool: () => exports_webfetch,
24
24
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
25
- description: () => description4,
25
+ description: () => description5,
26
26
  extractTextFromHTML: () => extractTextFromHTML2,
27
- name: () => name8
27
+ name: () => name10
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Duration, Effect, Schema } from "effect";
31
31
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
32
32
  import { Parser } from "htmlparser2";
33
- var name8 = "webfetch";
34
- var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
33
+ var name10 = "webfetch";
34
+ var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
35
35
  var DEFAULT_TIMEOUT_SECONDS2 = 30;
36
36
  var MAX_TIMEOUT_SECONDS2 = 120;
37
- var description4 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
37
+ var description5 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
38
38
 
39
39
  Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
40
40
  var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
41
- var Input8 = Schema.Struct({
41
+ var Input10 = Schema.Struct({
42
42
  url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
43
43
  format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
44
44
  timeout: Schema.optionalKey(Timeout).annotate({
@@ -48,7 +48,7 @@ var Input8 = Schema.Struct({
48
48
  var Output = Schema.Struct({
49
49
  url: Schema.String,
50
50
  contentType: Schema.String,
51
- format: Input8.fields.format,
51
+ format: Input10.fields.format,
52
52
  output: Schema.String
53
53
  });
54
54
  var acceptHeader = (format) => {
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
79
79
  throw new Error("URL must use http:// or https://");
80
80
  };
81
81
  var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
82
- var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
82
+ var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
83
83
  var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
84
84
  var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
85
85
  var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
92
92
  return extractTextFromHTML2(content);
93
93
  return content;
94
94
  };
95
- var Plugin44 = {
95
+ var Plugin31 = {
96
96
  id: "opencode.tool.webfetch",
97
97
  effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
98
98
  const http = yield* HttpClient.HttpClient;
99
- const permission = yield* Service54;
99
+ const permission = yield* Service44;
100
100
  yield* ctx.tool.transform((editor) => editor.add({
101
- name: name8,
101
+ name: name10,
102
102
  options: { codemode: false },
103
- description: description4,
104
- input: Input8,
103
+ description: description5,
104
+ input: Input10,
105
105
  output: Output,
106
106
  execute: (input, context) => Effect.gen(function* () {
107
107
  yield* Effect.try({
@@ -109,7 +109,7 @@ var Plugin44 = {
109
109
  catch: (error) => error
110
110
  });
111
111
  yield* permission.assert({
112
- action: name8,
112
+ action: name10,
113
113
  resources: [input.url],
114
114
  save: ["*"],
115
115
  metadata: input,
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
167
167
  parser.end();
168
168
  return text.trim();
169
169
  }
170
- export { name8, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input8, Plugin44, extractTextFromHTML2, exports_webfetch };
170
+ export { name10, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input10, Plugin31, extractTextFromHTML2, exports_webfetch };
@@ -1,55 +1,55 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./mime-922hggd3.js";
4
+ } from "./app-922hggd3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service82,
9
- node86
10
- } from "./mime-afed7ext.js";
8
+ Service83,
9
+ node87
10
+ } from "./app-adk9my66.js";
11
11
  import {
12
- Service80,
13
- node84
14
- } from "./mime-2kdwgsh2.js";
12
+ Service78,
13
+ node82
14
+ } from "./app-f7a7fxkf.js";
15
15
  import {
16
16
  create3
17
- } from "./mime-rdw6cm16.js";
17
+ } from "./app-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./mime-9rqn6x4v.js";
20
+ } from "./app-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error3,
26
- ID: () => ID9,
27
- Service: () => Service65,
25
+ Error: () => Error2,
26
+ ID: () => ID5,
27
+ Service: () => Service29,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node68,
30
- noopLayer: () => noopLayer3
29
+ node: () => node32,
30
+ noopLayer: () => noopLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import path from "path";
34
34
  import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID9 } from "@opencode/schema/snapshot";
37
+ import { ID as ID5 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error3 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error2 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service65 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service29 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service65, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service29, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service82;
50
+ const git = yield* Service83;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service80;
52
+ const location = yield* Service78;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const relative = path.relative(worktree, location.directory);
75
75
  if (relative.startsWith("..") || path.isAbsolute(relative))
76
- return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID9.make(yield* git.tree.capture({
85
+ return ID5.make(yield* git.tree.capture({
86
86
  repository: repo.snapshotRepository,
87
87
  scopes: [yield* scope(repo.worktree)],
88
88
  ignores: repo.source,
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
127
127
  for (const [file, snapshot] of input.files) {
128
128
  const absolute = path.resolve(worktree, file);
129
129
  if (!FSUtil.contains(worktree, absolute))
130
- return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
130
+ return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
131
131
  files.set(file, TreeID2.make(snapshot));
132
132
  }
133
133
  return files;
134
134
  });
135
135
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
136
136
  if (!enabled())
137
- return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
137
+ return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
138
138
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
139
139
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
140
140
  });
141
- return Service65.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service29.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node68 = makeLocationNode({
144
- service: Service65,
143
+ var node32 = makeLocationNode({
144
+ service: Service29,
145
145
  layer,
146
- deps: [FSUtil.node, node86, Global.node, node84]
146
+ deps: [FSUtil.node, node87, Global.node, node82]
147
147
  });
148
- var noopLayer3 = Layer.succeed(Service65, Service65.of({
148
+ var noopLayer2 = Layer.succeed(Service29, Service29.of({
149
149
  transform: () => Effect.succeed({ dispose: Effect.void }),
150
150
  reload: () => Effect.void,
151
151
  capture: () => Effect.undefined,
@@ -154,13 +154,13 @@ var noopLayer3 = Layer.succeed(Service65, Service65.of({
154
154
  restore: () => Effect.void
155
155
  }));
156
156
  function failure(operation, cause) {
157
- if (cause instanceof Error3 && cause.operation === operation)
157
+ if (cause instanceof Error2 && cause.operation === operation)
158
158
  return cause;
159
- return new Error3({
159
+ return new Error2({
160
160
  operation,
161
161
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
162
162
  cause
163
163
  });
164
164
  }
165
165
 
166
- export { ID9, Error3, Service65, node68, noopLayer3, exports_snapshot2 };
166
+ export { ID5, Error2, Service29, node32, noopLayer2, exports_snapshot2 };
@@ -1,59 +1,59 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./mime-wvjy0rkm.js";
4
+ } from "./app-21qee8pd.js";
5
5
  import {
6
- Service83,
7
- node87
8
- } from "./mime-b95dy7zp.js";
6
+ Service80,
7
+ node84
8
+ } from "./app-d60vjyrj.js";
9
9
  import {
10
- Service44,
11
- node46
12
- } from "./mime-ny1bawyf.js";
10
+ Service43,
11
+ node45
12
+ } from "./app-3cc30kq4.js";
13
13
  import {
14
- Service42,
15
- node44
16
- } from "./mime-sxzvkvgj.js";
14
+ Service41,
15
+ node43
16
+ } from "./app-vqfzq50h.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./mime-ec1grn59.js";
19
+ } from "./app-ec1grn59.js";
20
20
  import {
21
- make17
22
- } from "./mime-1acjjqhc.js";
21
+ make16
22
+ } from "./app-yp2x3t23.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service40
26
- } from "./mime-2vs2nh1n.js";
25
+ Service39
26
+ } from "./app-06x8he3q.js";
27
27
  import {
28
28
  UserInterruptedError2
29
- } from "./mime-bpcm8v83.js";
29
+ } from "./app-a5gqm4c9.js";
30
30
  import {
31
- Service55,
32
- node57
33
- } from "./mime-sk4fpzkz.js";
31
+ Service45,
32
+ node47
33
+ } from "./app-t9tb71he.js";
34
34
  import {
35
35
  toSessionError2
36
- } from "./mime-0sadyvpa.js";
36
+ } from "./app-ahsg504y.js";
37
37
  import {
38
38
  nextPromotable2
39
- } from "./mime-e0ps24dg.js";
39
+ } from "./app-qz2fsytq.js";
40
40
  import {
41
41
  __export
42
- } from "./mime-9rqn6x4v.js";
42
+ } from "./app-9rqn6x4v.js";
43
43
 
44
44
  // src/session/execution.ts
45
45
  var exports_execution = {};
46
46
  __export(exports_execution, {
47
- Service: () => Service39,
47
+ Service: () => Service38,
48
48
  SessionExecution: () => exports_execution,
49
- layer: () => layer16,
50
- node: () => node42,
51
- noopLayer: () => noopLayer2,
49
+ layer: () => layer14,
50
+ node: () => node41,
51
+ noopLayer: () => noopLayer3,
52
52
  terminal: () => terminal2
53
53
  });
54
54
  import { Cause, Context, Effect, Exit, Layer } from "effect";
55
55
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
56
- class Service39 extends Context.Service()("@opencode/SessionExecution") {
56
+ class Service38 extends Context.Service()("@opencode/SessionExecution") {
57
57
  }
58
58
  function terminal2(exit, reason) {
59
59
  if (Exit.isSuccess(exit))
@@ -65,11 +65,11 @@ function terminal2(exit, reason) {
65
65
  return { type: "interrupted", reason: "user" };
66
66
  return { type: "failed", error: toSessionError2(failure) };
67
67
  }
68
- var layer16 = Layer.effect(Service39, Effect.gen(function* () {
69
- const store = yield* Service55;
70
- const instances = yield* Service42;
71
- const bus = yield* Service83;
72
- const jobs = yield* Service44;
68
+ var layer14 = Layer.effect(Service38, Effect.gen(function* () {
69
+ const store = yield* Service45;
70
+ const instances = yield* Service41;
71
+ const bus = yield* Service80;
72
+ const jobs = yield* Service43;
73
73
  const db = (yield* Service84).db;
74
74
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
75
75
  const claimOnCommit = (sessionID) => ({
@@ -82,14 +82,14 @@ var layer16 = Layer.effect(Service39, Effect.gen(function* () {
82
82
  const session = yield* store.get(sessionID);
83
83
  if (!session)
84
84
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
85
- const result = yield* Service40.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
85
+ const result = yield* Service39.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
86
86
  return yield* DrainResult2.$match(result, {
87
87
  Complete: () => Effect.void,
88
88
  Moved: (result) => drain(sessionID, false, result.continuation, promotable),
89
89
  Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
90
90
  });
91
91
  });
92
- const coordinator = yield* make17({
92
+ const coordinator = yield* make16({
93
93
  started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
94
94
  drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
95
95
  settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
@@ -110,7 +110,7 @@ var layer16 = Layer.effect(Service39, Effect.gen(function* () {
110
110
  }, releaseOnCommit(sessionID));
111
111
  }))
112
112
  });
113
- return Service39.of({
113
+ return Service38.of({
114
114
  active: coordinator.active,
115
115
  isActive: coordinator.isActive,
116
116
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -129,12 +129,12 @@ var layer16 = Layer.effect(Service39, Effect.gen(function* () {
129
129
  awaitIdle: coordinator.awaitIdle
130
130
  });
131
131
  }));
132
- var node42 = makeGlobalNode({
133
- service: Service39,
134
- layer: layer16,
135
- deps: [node57, node44, node87, node88, node46]
132
+ var node41 = makeGlobalNode({
133
+ service: Service38,
134
+ layer: layer14,
135
+ deps: [node47, node43, node84, node88, node45]
136
136
  });
137
- var noopLayer2 = Layer.succeed(Service39, Service39.of({
137
+ var noopLayer3 = Layer.succeed(Service38, Service38.of({
138
138
  active: Effect.succeed(new Set),
139
139
  isActive: () => Effect.succeed(false),
140
140
  resume: () => Effect.void,
@@ -143,4 +143,4 @@ var noopLayer2 = Layer.succeed(Service39, Service39.of({
143
143
  awaitIdle: () => Effect.void
144
144
  }));
145
145
 
146
- export { Service39, terminal2, layer16, node42, noopLayer2, exports_execution };
146
+ export { Service38, terminal2, layer14, node41, noopLayer3, exports_execution };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  create3
3
- } from "./mime-rdw6cm16.js";
3
+ } from "./app-rdw6cm16.js";
4
4
  import {
5
5
  which2
6
- } from "./mime-qaymkmh1.js";
6
+ } from "./app-qaymkmh1.js";
7
7
  import {
8
8
  __export
9
- } from "./mime-9rqn6x4v.js";
9
+ } from "./app-9rqn6x4v.js";
10
10
 
11
11
  // src/shell/select.ts
12
12
  var exports_select = {};
@@ -23,7 +23,7 @@ __export(exports_select, {
23
23
  name: () => name15,
24
24
  node: () => node77,
25
25
  ps: () => ps2,
26
- resolve: () => resolve3
26
+ resolve: () => resolve4
27
27
  });
28
28
  import path from "path";
29
29
  import { readFile } from "fs/promises";
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
164
164
  }
165
165
  var defaultConfigured;
166
166
  var defaultCompatible;
167
- function resolve3(input, configShell, options, bin) {
167
+ function resolve4(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,7 +180,7 @@ function resolve3(input, configShell, options, bin) {
180
180
  defaultConfigured = { bin, value };
181
181
  return value;
182
182
  }
183
- resolve3.reset = () => {
183
+ resolve4.reset = () => {
184
184
  defaultConfigured = undefined;
185
185
  defaultCompatible = undefined;
186
186
  };
@@ -202,7 +202,7 @@ var layer = (options) => Layer.effect(Service73, Effect.gen(function* () {
202
202
  return Service73.of({
203
203
  transform: state.transform,
204
204
  reload: state.reload,
205
- resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin)),
205
+ resolve: (input) => Effect.sync(() => resolve4(input, state.get().shell, options, global.bin)),
206
206
  list: () => Effect.promise(() => list4(options, global.bin))
207
207
  });
208
208
  }));
@@ -211,4 +211,4 @@ function configured11(options) {
211
211
  }
212
212
  var node77 = configured11();
213
213
 
214
- export { Options10, Service73, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list4, configured11, node77, exports_select };
214
+ export { Options10, Service73, gitbash2, name15, login2, ps2, args2, environment2, resolve4, list4, configured11, node77, exports_select };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./mime-922hggd3.js";
3
+ } from "./app-922hggd3.js";
4
4
  import {
5
- Info21
6
- } from "./mime-xdk9p2qn.js";
5
+ Info19
6
+ } from "./app-6sr3ve8g.js";
7
7
  import {
8
8
  __export
9
- } from "./mime-9rqn6x4v.js";
9
+ } from "./app-9rqn6x4v.js";
10
10
 
11
11
  // src/v1/config/agent.ts
12
12
  var exports_agent4 = {};
13
13
  __export(exports_agent4, {
14
14
  ConfigAgentV1: () => exports_agent4,
15
- Info: () => Info20
15
+ Info: () => Info18
16
16
  });
17
17
  import { Schema, SchemaGetter } from "effect";
18
18
  var Color = Schema.Union([
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
44
44
  description: "Maximum number of agentic iterations before forcing text-only response"
45
45
  }),
46
46
  maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
47
- permission: Schema.optional(Info21)
47
+ permission: Schema.optional(Info19)
48
48
  }), [Schema.Record(Schema.String, Schema.Any)]);
49
49
  var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
50
50
  var normalize = (agent) => {
@@ -66,9 +66,9 @@ var normalize = (agent) => {
66
66
  const steps = agent.steps ?? agent.maxSteps;
67
67
  return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
68
68
  };
69
- var Info20 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
69
+ var Info18 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
70
70
  decode: SchemaGetter.transform(normalize),
71
71
  encode: SchemaGetter.passthrough({ strict: false })
72
72
  })).annotate({ identifier: "AgentConfig" });
73
73
 
74
- export { Info20, exports_agent4 };
74
+ export { Info18, exports_agent4 };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  which2
3
- } from "./mime-qaymkmh1.js";
3
+ } from "./app-qaymkmh1.js";
4
4
 
5
5
  // src/formatter/builtins.ts
6
6
  import { Effect } from "effect";
7
7
  import { ChildProcess } from "effect/unstable/process";
8
- function make8(input) {
8
+ function make7(input) {
9
9
  const disabled = false;
10
10
  const findExecutable = (name) => which2(name, undefined, input.bin);
11
11
  const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
@@ -261,4 +261,4 @@ function isRecord(input) {
261
261
  return Boolean(input && typeof input === "object" && !Array.isArray(input));
262
262
  }
263
263
 
264
- export { make8 };
264
+ export { make7 };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./mime-2a5m3afh.js";
5
+ } from "./app-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./mime-9rqn6x4v.js";
8
+ } from "./app-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/exec-defaults.ts
11
11
  var exports_exec_defaults = {};
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  __export
3
- } from "./mime-9rqn6x4v.js";
3
+ } from "./app-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/lsp.ts
6
6
  var exports_lsp = {};
7
7
  __export(exports_lsp, {
8
8
  ConfigLSPV1: () => exports_lsp,
9
9
  Disabled: () => Disabled2,
10
- Entry: () => Entry2,
11
- Info: () => Info16,
10
+ Entry: () => Entry4,
11
+ Info: () => Info25,
12
12
  builtinServerIds: () => builtinServerIds2,
13
13
  requiresExtensionsForCustomServers: () => requiresExtensionsForCustomServers2
14
14
  });
@@ -16,7 +16,7 @@ import { Schema } from "effect";
16
16
  var Disabled2 = Schema.Struct({
17
17
  disabled: Schema.Literal(true)
18
18
  });
19
- var Entry2 = Schema.Union([
19
+ var Entry4 = Schema.Union([
20
20
  Disabled2,
21
21
  Schema.Struct({
22
22
  command: Schema.mutable(Schema.Array(Schema.String)),
@@ -79,6 +79,6 @@ var requiresExtensionsForCustomServers2 = Schema.makeFilter((data) => {
79
79
  });
80
80
  return ok ? undefined : "For custom LSP servers, 'extensions' array is required.";
81
81
  });
82
- var Info16 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry2)]).check(requiresExtensionsForCustomServers2);
82
+ var Info25 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]).check(requiresExtensionsForCustomServers2);
83
83
 
84
- export { Disabled2, Entry2, builtinServerIds2, requiresExtensionsForCustomServers2, Info16, exports_lsp };
84
+ export { Disabled2, Entry4, builtinServerIds2, requiresExtensionsForCustomServers2, Info25, exports_lsp };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  Service77
3
- } from "./mime-41km3kz5.js";
3
+ } from "./app-dy5f8vtz.js";
4
4
  import {
5
- Service54
6
- } from "./mime-dy59ndr5.js";
5
+ Service44
6
+ } from "./app-4w6pnabk.js";
7
7
  import {
8
8
  __export
9
- } from "./mime-9rqn6x4v.js";
9
+ } from "./app-9rqn6x4v.js";
10
10
 
11
11
  // src/tool/plugin/question.ts
12
12
  var exports_question = {};
@@ -54,7 +54,7 @@ var Plugin51 = {
54
54
  id: "opencode.tool.question",
55
55
  effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
56
56
  const forms = yield* Service77;
57
- const permission = yield* Service54;
57
+ const permission = yield* Service44;
58
58
  yield* ctx.tool.transform((editor) => editor.add({
59
59
  name: name13,
60
60
  options: { codemode: false },
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  makeWithDefaults2
3
- } from "./mime-ndz9h71m.js";
3
+ } from "./app-kpz2hpxg.js";
4
4
  import {
5
5
  apply3
6
- } from "./mime-tgwh4g45.js";
6
+ } from "./app-dwae9e5x.js";
7
7
  import {
8
8
  __export
9
- } from "./mime-9rqn6x4v.js";
9
+ } from "./app-9rqn6x4v.js";
10
10
 
11
11
  // src/database/database.ts
12
12
  var exports_database = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./mime-9rqn6x4v.js";
3
+ } from "./app-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/layout.ts
6
6
  var exports_layout = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  NamedError2
3
- } from "./mime-2axfhc9x.js";
3
+ } from "./app-2axfhc9x.js";
4
4
  import {
5
5
  __export
6
- } from "./mime-9rqn6x4v.js";
6
+ } from "./app-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/error.ts
9
9
  var exports_error2 = {};