@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,27 +1,27 @@
1
1
  import {
2
2
  Service84
3
- } from "./mime-wvjy0rkm.js";
3
+ } from "./app-21qee8pd.js";
4
4
  import {
5
- Service42
6
- } from "./mime-sxzvkvgj.js";
5
+ Service41
6
+ } from "./app-vqfzq50h.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./mime-v1faaxn9.js";
9
+ } from "./app-gyce5qg1.js";
10
10
  import {
11
11
  provenance2
12
- } from "./mime-ae0nwvy8.js";
12
+ } from "./app-pf9pgydg.js";
13
13
  import {
14
14
  preview2
15
- } from "./mime-ekv8efyj.js";
15
+ } from "./app-f11fm5rt.js";
16
16
  import {
17
17
  baseTranscript2
18
- } from "./mime-k8fbnnjg.js";
18
+ } from "./app-p6m2jw0c.js";
19
19
  import {
20
- Service20
21
- } from "./mime-rk5e9k3p.js";
20
+ Service17
21
+ } from "./app-3bwzg9n3.js";
22
22
  import {
23
23
  __export
24
- } from "./mime-9rqn6x4v.js";
24
+ } from "./app-9rqn6x4v.js";
25
25
 
26
26
  // src/session/generate.ts
27
27
  var exports_generate = {};
@@ -32,12 +32,12 @@ __export(exports_generate, {
32
32
  import { LLMClient, Message } from "@opencode/ai";
33
33
  import { Effect } from "effect";
34
34
  var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
35
- const instances = yield* Service42;
35
+ const instances = yield* Service41;
36
36
  const database = yield* Service84;
37
37
  const llm = yield* LLMClient.Service;
38
38
  return yield* Effect.gen(function* () {
39
39
  yield* awaitActivation2;
40
- const context = yield* Service20;
40
+ const context = yield* Service17;
41
41
  const selection = yield* context.select(input.session.id);
42
42
  const model = yield* context.resolveModel(selection.session);
43
43
  const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
@@ -1,62 +1,62 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./mime-922hggd3.js";
3
+ } from "./app-922hggd3.js";
4
4
  import {
5
5
  latest2,
6
- Service58
7
- } from "./mime-rp5c3k0s.js";
6
+ Service67
7
+ } from "./app-a76g130h.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./mime-2a5m3afh.js";
10
+ } from "./app-2a5m3afh.js";
11
11
  import {
12
- Service69
13
- } from "./mime-xjtpc5ew.js";
12
+ Service59
13
+ } from "./app-rczr7grn.js";
14
14
  import {
15
- Service44
16
- } from "./mime-ny1bawyf.js";
15
+ Service43
16
+ } from "./app-3cc30kq4.js";
17
17
  import {
18
- Service54
19
- } from "./mime-dy59ndr5.js";
18
+ Service44
19
+ } from "./app-4w6pnabk.js";
20
20
  import {
21
- Service53,
21
+ Service30,
22
22
  resolvePath2
23
- } from "./mime-xxc26qrd.js";
23
+ } from "./app-381tf59s.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./mime-vzs5sf6e.js";
29
+ } from "./app-vzs5sf6e.js";
30
30
  import {
31
31
  Service73,
32
32
  name15
33
- } from "./mime-ws8rf1n9.js";
33
+ } from "./app-17j7xjjx.js";
34
34
  import {
35
- NotFoundError3,
36
- Service31
37
- } from "./mime-gqy8xtzk.js";
35
+ NotFoundError4,
36
+ Service36
37
+ } from "./app-a2xk245q.js";
38
38
  import {
39
- Service18
40
- } from "./mime-d7aqhzds.js";
39
+ Service15
40
+ } from "./app-tbcsea09.js";
41
41
  import {
42
42
  scan2
43
- } from "./mime-83m6sd17.js";
43
+ } from "./app-jnjzrgfb.js";
44
44
  import {
45
45
  __export
46
- } from "./mime-9rqn6x4v.js";
46
+ } from "./app-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
49
  var exports_shell2 = {};
50
50
  __export(exports_shell2, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input3,
53
- Plugin: () => Plugin39,
52
+ Input: () => Input12,
53
+ Plugin: () => Plugin33,
54
54
  ShellTool: () => exports_shell2,
55
- name: () => name3
55
+ name: () => name12
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
- var name3 = "shell";
59
+ var name12 = "shell";
60
60
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
61
61
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
62
62
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -70,7 +70,7 @@ var description = (shell) => [
70
70
  "Commands accept an optional timeout, background commands have no timeout by default.",
71
71
  "Background commands return immediately, and you will be notified when they complete."
72
72
  ].join(" ");
73
- var Input3 = Schema.Struct({
73
+ var Input12 = Schema.Struct({
74
74
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
75
75
  workdir: Schema.optionalKey(Schema.String).annotate({
76
76
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -116,19 +116,19 @@ Output is streaming to: ${file}`,
116
116
  truncated: false,
117
117
  status: "running"
118
118
  });
119
- var Plugin39 = {
119
+ var Plugin33 = {
120
120
  id: "opencode.tool.shell",
121
121
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
122
- const sessions = yield* Service18;
123
- const jobs = yield* Service44;
122
+ const sessions = yield* Service15;
123
+ const jobs = yield* Service43;
124
124
  const scope = yield* Scope.Scope;
125
- const environment = yield* Service69;
126
- const access = yield* Service53;
127
- const shell = yield* Service31;
125
+ const environment = yield* Service59;
126
+ const access = yield* Service30;
127
+ const shell = yield* Service36;
128
128
  const shellSelect = yield* Service73;
129
129
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
130
- const permission = yield* Service54;
131
- const config = yield* Service58;
130
+ const permission = yield* Service44;
131
+ const config = yield* Service67;
132
132
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
133
133
  const source = {
134
134
  type: "tool",
@@ -147,7 +147,7 @@ var Plugin39 = {
147
147
  yield* access.authorizeExternal([target, ...directories], context);
148
148
  if (parsed.commands.length > 0)
149
149
  yield* permission.assert({
150
- action: name3,
150
+ action: name12,
151
151
  resources: parsed.commands.map((command) => command.resource),
152
152
  save: parsed.commands.map((command) => command.save),
153
153
  sessionID: context.sessionID,
@@ -184,10 +184,10 @@ var Plugin39 = {
184
184
  yield* jobs.completeBackground(info.notificationID);
185
185
  }, Effect.forkIn(scope, { startImmediately: true }));
186
186
  yield* ctx.tool.transform((editor) => editor.add({
187
- name: name3,
187
+ name: name12,
188
188
  options: { codemode: false },
189
189
  description: description(),
190
- input: Input3,
190
+ input: Input12,
191
191
  output: Output,
192
192
  execute: (input, context) => Effect.gen(function* () {
193
193
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -206,7 +206,7 @@ var Plugin39 = {
206
206
  const run = Effect.gen(function* () {
207
207
  const result = yield* shell.result(info);
208
208
  if (!result.capture)
209
- return yield* new NotFoundError3({ id: info.id });
209
+ return yield* new NotFoundError4({ id: info.id });
210
210
  const output = output2(result);
211
211
  return {
212
212
  ...output,
@@ -220,7 +220,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
220
220
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
221
221
  const job = yield* jobs.start({
222
222
  id: info.id,
223
- type: name3,
223
+ type: name12,
224
224
  title: info.command,
225
225
  metadata: { sessionID: context.sessionID, shellID: info.id },
226
226
  recovery: {
@@ -250,7 +250,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
250
250
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
251
251
  })).pipe(Effect.orDie);
252
252
  const hook = (event) => Effect.gen(function* () {
253
- const tool = event.tools[name3];
253
+ const tool = event.tools[name12];
254
254
  if (!tool)
255
255
  return;
256
256
  tool.description = description(name15(yield* compatibleShell));
@@ -261,4 +261,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
261
261
  })
262
262
  };
263
263
 
264
- export { name3, DEFAULT_TIMEOUT_MS2, Input3, Plugin39, exports_shell2 };
264
+ export { name12, DEFAULT_TIMEOUT_MS2, Input12, Plugin33, exports_shell2 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  latest2,
3
- Service58
4
- } from "./mime-rp5c3k0s.js";
3
+ Service67
4
+ } from "./app-a76g130h.js";
5
5
  import {
6
6
  __export
7
- } from "./mime-9rqn6x4v.js";
7
+ } from "./app-9rqn6x4v.js";
8
8
 
9
9
  // src/plugin/warming.ts
10
10
  var exports_warming = {};
11
11
  __export(exports_warming, {
12
- Plugin: () => Plugin11,
12
+ Plugin: () => Plugin42,
13
13
  WarmingPlugin: () => exports_warming
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -19,10 +19,10 @@ var defaults = {
19
19
  interval: Duration.minutes(4),
20
20
  duration: Duration.minutes(30)
21
21
  };
22
- var Plugin11 = define({
22
+ var Plugin42 = define({
23
23
  id: "opencode.warming",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service58;
25
+ const config = yield* Service67;
26
26
  const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
27
27
  const warming = latest2(yield* config.entries(), "warming");
28
28
  if (!warming)
@@ -96,4 +96,4 @@ var Plugin11 = define({
96
96
  })
97
97
  });
98
98
 
99
- export { Plugin11, exports_warming };
99
+ export { Plugin42, exports_warming };
@@ -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/file-retention.ts
6
6
  var exports_file_retention = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./mime-922hggd3.js";
3
+ } from "./app-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./mime-9rqn6x4v.js";
6
+ } from "./app-9rqn6x4v.js";
7
7
 
8
8
  // src/worktree/directory.ts
9
9
  var exports_directory = {};
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  ephemeral2,
3
- Service83,
4
- node87
5
- } from "./mime-b95dy7zp.js";
3
+ Service80,
4
+ node84
5
+ } from "./app-d60vjyrj.js";
6
6
  import {
7
- Service62,
8
- node65
9
- } from "./mime-anq3081s.js";
7
+ Service82,
8
+ node86
9
+ } from "./app-qk25y3ed.js";
10
10
  import {
11
11
  __export
12
- } from "./mime-9rqn6x4v.js";
12
+ } from "./app-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: () => Event11,
19
+ Event: () => Event14,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service60,
22
+ Service: () => Service69,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node62,
26
- resolve: () => resolve2
25
+ node: () => node73,
26
+ resolve: () => resolve3
27
27
  });
28
28
  import { Integration } from "@opencode/schema/integration";
29
29
  import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
@@ -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 Service60 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service69 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
- var Event11 = {
51
+ var Event14 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
53
53
  };
54
54
  var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
56
56
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
57
57
  return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
58
58
  });
59
- var resolve2 = Effect.fn("WellKnown.resolve")(function* (input) {
59
+ var resolve3 = Effect.fn("WellKnown.resolve")(function* (input) {
60
60
  const manifest = yield* inspect2(input.origin);
61
61
  return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
62
62
  });
@@ -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(Service60, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service69, Effect.gen(function* () {
79
79
  const http = yield* HttpClient.HttpClient;
80
- const kv = yield* Service62;
81
- const bus = yield* Service83;
80
+ const kv = yield* Service82;
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(Service60, Effect.gen(function* () {
109
109
  if (!changed)
110
110
  return false;
111
111
  yield* Ref.set(cache, next);
112
- yield* bus.publish(Event11.Updated, {});
112
+ yield* bus.publish(Event14.Updated, {});
113
113
  return true;
114
114
  }, (effect) => lock.withPermit(effect));
115
- return Service60.of({
115
+ return Service69.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(Service60, 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(Event11.Updated, {});
128
+ yield* bus.publish(Event14.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(Service60, Effect.gen(function* () {
138
138
  next.delete(origin);
139
139
  return next;
140
140
  });
141
- yield* bus.publish(Event11.Updated, {});
141
+ yield* bus.publish(Event14.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 node62 = makeGlobalNode({ service: Service60, layer, deps: [httpClient, node65, node87] });
146
+ var node73 = makeGlobalNode({ service: Service69, layer, deps: [httpClient, node86, node84] });
147
147
 
148
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service60, Event11, inspect2, resolve2, node62, exports_wellknown };
148
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service69, Event14, inspect2, resolve3, node73, exports_wellknown };
@@ -0,0 +1,18 @@
1
+ import {
2
+ __export
3
+ } from "./app-9rqn6x4v.js";
4
+
5
+ // src/plugin/service.ts
6
+ var exports_service = {};
7
+ __export(exports_service, {
8
+ Plugin: () => exports_service,
9
+ Service: () => Service21,
10
+ awaitActivation: () => awaitActivation2
11
+ });
12
+ import { Context } from "effect";
13
+
14
+ class Service21 extends Context.Service()("@opencode/Plugin") {
15
+ }
16
+ var awaitActivation2 = Service21.use((plugins) => plugins.awaitActivation);
17
+
18
+ export { Service21, awaitActivation2, exports_service };
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  Key3,
3
3
  removed2,
4
- make19,
4
+ make21,
5
5
  diffByKey2
6
- } from "./mime-t550f9t1.js";
6
+ } from "./app-s8d7rejh.js";
7
7
  import {
8
8
  evaluate2
9
- } from "./mime-dy59ndr5.js";
9
+ } from "./app-4w6pnabk.js";
10
10
  import {
11
- Service30,
12
- node33
13
- } from "./mime-yew08yk0.js";
11
+ Service26,
12
+ node29
13
+ } from "./app-2q7knkvv.js";
14
14
  import {
15
15
  namespace2,
16
16
  name14
17
- } from "./mime-ywqv77jt.js";
17
+ } from "./app-4gvbb2mg.js";
18
18
  import {
19
19
  __export
20
- } from "./mime-9rqn6x4v.js";
20
+ } from "./app-9rqn6x4v.js";
21
21
 
22
22
  // src/mcp/instructions.ts
23
- var exports_instructions3 = {};
24
- __export(exports_instructions3, {
25
- McpInstructions: () => exports_instructions3,
26
- Service: () => Service27,
27
- layer: () => layer11,
28
- node: () => node30
23
+ var exports_instructions4 = {};
24
+ __export(exports_instructions4, {
25
+ McpInstructions: () => exports_instructions4,
26
+ Service: () => Service24,
27
+ layer: () => layer10,
28
+ node: () => node27
29
29
  });
30
30
  import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import { Context, Effect, Layer, Schema } from "effect";
@@ -61,13 +61,13 @@ var update = (previous, current) => {
61
61
  `);
62
62
  };
63
63
 
64
- class Service27 extends Context.Service()("@opencode/McpInstructions") {
64
+ class Service24 extends Context.Service()("@opencode/McpInstructions") {
65
65
  }
66
- var layer11 = Layer.effect(Service27, Effect.gen(function* () {
67
- const mcp = yield* Service30;
68
- return Service27.of({
66
+ var layer10 = Layer.effect(Service24, Effect.gen(function* () {
67
+ const mcp = yield* Service26;
68
+ return Service24.of({
69
69
  load: Effect.fn("McpInstructions.load")(function* (permissions) {
70
- const source = (value) => make19({
70
+ const source = (value) => make21({
71
71
  key: Key3.make("core/mcp-guidance"),
72
72
  codec: Schema.toCodecJson(Schema.Array(Summary)),
73
73
  read: Effect.succeed(value),
@@ -96,6 +96,6 @@ var layer11 = Layer.effect(Service27, Effect.gen(function* () {
96
96
  })
97
97
  });
98
98
  }));
99
- var node30 = makeLocationNode({ service: Service27, layer: layer11, deps: [node33] });
99
+ var node27 = makeLocationNode({ service: Service24, layer: layer10, deps: [node29] });
100
100
 
101
- export { Service27, layer11, node30, exports_instructions3 };
101
+ export { Service24, layer10, node27, exports_instructions4 };
@@ -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/integration/connection.ts
6
6
  var exports_connection = {};
@@ -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/util/token.ts
6
6
  var exports_token = {};
@@ -1,46 +1,46 @@
1
1
  import {
2
- Service80
3
- } from "./mime-2kdwgsh2.js";
2
+ Service78
3
+ } from "./app-f7a7fxkf.js";
4
4
  import {
5
- Service69
6
- } from "./mime-xjtpc5ew.js";
5
+ Service59
6
+ } from "./app-rczr7grn.js";
7
7
  import {
8
- Service38,
8
+ Service50,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./mime-bg87x2pg.js";
11
+ } from "./app-dppfft2v.js";
12
12
  import {
13
- Service37
14
- } from "./mime-038cbjbn.js";
13
+ Service14
14
+ } from "./app-dn5wevn0.js";
15
15
  import {
16
- Service54
17
- } from "./mime-dy59ndr5.js";
16
+ Service44
17
+ } from "./app-4w6pnabk.js";
18
18
  import {
19
- Service53,
19
+ Service30,
20
20
  resolvePath2
21
- } from "./mime-xxc26qrd.js";
21
+ } from "./app-381tf59s.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./mime-6prwharc.js";
24
+ } from "./app-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./mime-9rqn6x4v.js";
27
+ } from "./app-9rqn6x4v.js";
28
28
 
29
29
  // src/tool/plugin/edit.ts
30
30
  var exports_edit = {};
31
31
  __export(exports_edit, {
32
32
  EditTool: () => exports_edit,
33
- Input: () => Input9,
34
- Output: () => Output7,
35
- Plugin: () => Plugin45,
36
- name: () => name9
33
+ Input: () => Input11,
34
+ Output: () => Output8,
35
+ Plugin: () => Plugin32,
36
+ name: () => name11
37
37
  });
38
38
  import { ToolFailure } from "@opencode/ai";
39
39
  import { FileDiff } from "@opencode/schema/file-diff";
40
40
  import { Bom } from "@opencode/util/bom";
41
41
  import { Effect, Schema } from "effect";
42
- var name9 = "edit";
43
- var Input9 = Schema.Struct({
42
+ var name11 = "edit";
43
+ var Input11 = Schema.Struct({
44
44
  path: Schema.String.annotate({
45
45
  description: "File to edit"
46
46
  }),
@@ -50,7 +50,7 @@ var Input9 = Schema.Struct({
50
50
  description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
51
51
  })
52
52
  });
53
- var Output7 = Schema.Struct({
53
+ var Output8 = Schema.Struct({
54
54
  files: Schema.Array(FileDiff.Info),
55
55
  replacements: Schema.Number
56
56
  });
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
103
103
  return result;
104
104
  }, []);
105
105
  };
106
- var Plugin45 = {
106
+ var Plugin32 = {
107
107
  id: "opencode.tool.edit",
108
108
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
109
- const access = yield* Service53;
110
- const fileMutation = yield* Service38;
111
- const environment = yield* Service69;
112
- const formatter = yield* Service37;
113
- const location = yield* Service80;
114
- const permission = yield* Service54;
109
+ const access = yield* Service30;
110
+ const fileMutation = yield* Service50;
111
+ const environment = yield* Service59;
112
+ const formatter = yield* Service14;
113
+ const location = yield* Service78;
114
+ const permission = yield* Service44;
115
115
  yield* ctx.tool.transform((editor) => editor.add({
116
- name: name9,
116
+ name: name11,
117
117
  options: { codemode: false, permission: "edit" },
118
118
  description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
119
- input: Input9,
120
- output: Output7,
119
+ input: Input11,
120
+ output: Output8,
121
121
  execute: (input, context) => {
122
122
  return Effect.gen(function* () {
123
123
  const permissionSource = {
@@ -194,4 +194,4 @@ var Plugin45 = {
194
194
  })
195
195
  };
196
196
 
197
- export { name9, Input9, Output7, Plugin45, exports_edit };
197
+ export { name11, Input11, Output8, Plugin32, exports_edit };