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

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 (801) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{pty-kehatjqj.js → mime-038cbjbn.js} +11 -11
  8. package/dist/chunks/{pty-fjwmcm9g.js → mime-0anb59kh.js} +14 -14
  9. package/dist/chunks/{pty-7xxh74w6.js → mime-0hn7mjnx.js} +11 -11
  10. package/dist/chunks/{pty-0paq2nw3.js → mime-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{pty-0r7yqxbf.js → mime-0r7yqxbf.js} +2 -2
  12. package/dist/chunks/{pty-cx803r68.js → mime-0sadyvpa.js} +4 -4
  13. package/dist/chunks/{pty-00832hy7.js → mime-0tzy42a9.js} +8 -8
  14. package/dist/chunks/{pty-nefa8w28.js → mime-153c4z9z.js} +17 -17
  15. package/dist/chunks/{pty-yttzf3nj.js → mime-170hdxs4.js} +4 -4
  16. package/dist/chunks/{pty-1acjjqhc.js → mime-1acjjqhc.js} +1 -1
  17. package/dist/chunks/{pty-cbamtmth.js → mime-1bmj1kf2.js} +10 -10
  18. package/dist/chunks/{pty-c72g4n35.js → mime-1d35eqgr.js} +5 -5
  19. package/dist/chunks/{pty-1dazxqgg.js → mime-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{pty-0ft9cg2j.js → mime-1nzs1dt7.js} +6 -6
  21. package/dist/chunks/{pty-1w51kcab.js → mime-1q1h4scy.js} +29 -29
  22. package/dist/chunks/{pty-eh24cpx8.js → mime-1q9kvn7y.js} +8 -8
  23. package/dist/chunks/{pty-1ygqh575.js → mime-1ygqh575.js} +2 -2
  24. package/dist/chunks/{pty-21r38tys.js → mime-21r38tys.js} +1 -1
  25. package/dist/chunks/{pty-5dmpnzwe.js → mime-22s5ds6t.js} +12 -12
  26. package/dist/chunks/{pty-40y54r5c.js → mime-234qydz7.js} +3 -3
  27. package/dist/chunks/{pty-2402vzrj.js → mime-2402vzrj.js} +1 -1
  28. package/dist/chunks/{pty-y8vthjxv.js → mime-27em9pm7.js} +12 -12
  29. package/dist/chunks/{pty-z63w68vq.js → mime-29x78va6.js} +6 -6
  30. package/dist/chunks/{pty-2a5m3afh.js → mime-2a5m3afh.js} +1 -1
  31. package/dist/chunks/{pty-1813d5zh.js → mime-2bekqz3a.js} +14 -14
  32. package/dist/chunks/{pty-vp2t77bj.js → mime-2cfadnaz.js} +5 -5
  33. package/dist/chunks/{pty-x4z8t7mn.js → mime-2dy1p8ya.js} +13 -13
  34. package/dist/chunks/{pty-x6k9b9cw.js → mime-2gw68b84.js} +15 -15
  35. package/dist/chunks/{pty-2k8khapm.js → mime-2k8khapm.js} +1 -1
  36. package/dist/chunks/{pty-twrb86q2.js → mime-2kdwgsh2.js} +2 -2
  37. package/dist/chunks/{pty-67d35v68.js → mime-2nah3rm6.js} +11 -11
  38. package/dist/chunks/{pty-ew0v584s.js → mime-2py3gdf7.js} +20 -20
  39. package/dist/chunks/{pty-33yknepq.js → mime-2vm2mn6r.js} +31 -31
  40. package/dist/chunks/{pty-f73rjn58.js → mime-2vs2nh1n.js} +4 -4
  41. package/dist/chunks/{pty-3gnkk110.js → mime-30vqxvem.js} +6 -6
  42. package/dist/chunks/{pty-2dejz1mq.js → mime-3153j44s.js} +27 -27
  43. package/dist/chunks/{pty-8njz7rt2.js → mime-3559wj1e.js} +22 -22
  44. package/dist/chunks/{pty-7fnyxttq.js → mime-35kmpahp.js} +4 -4
  45. package/dist/chunks/{pty-3fc6dm20.js → mime-3fc6dm20.js} +1 -1
  46. package/dist/chunks/{pty-3hepkmqq.js → mime-3hepkmqq.js} +1 -1
  47. package/dist/chunks/{pty-60vycrkp.js → mime-3js9yjpf.js} +30 -30
  48. package/dist/chunks/{pty-3smtnn6g.js → mime-3smtnn6g.js} +1 -1
  49. package/dist/chunks/{pty-3tvqynh2.js → mime-3tvqynh2.js} +1 -1
  50. package/dist/chunks/{pty-t0fxg8b9.js → mime-3w0fmcng.js} +5 -5
  51. package/dist/chunks/{pty-07yh2w3s.js → mime-3wrtxrr4.js} +6 -6
  52. package/dist/chunks/{pty-3zsf4n22.js → mime-3zsf4n22.js} +1 -1
  53. package/dist/chunks/{pty-t9ag37r3.js → mime-41km3kz5.js} +21 -21
  54. package/dist/chunks/{pty-xbps7699.js → mime-42wz0x18.js} +12 -12
  55. package/dist/chunks/{pty-dv4smdre.js → mime-44d35g97.js} +25 -25
  56. package/dist/chunks/{pty-3pb9a38v.js → mime-44vkmz6z.js} +23 -23
  57. package/dist/chunks/{pty-979hjcpa.js → mime-45v820cx.js} +31 -31
  58. package/dist/chunks/{pty-qmjzgd7a.js → mime-49zwtcb8.js} +50 -50
  59. package/dist/chunks/{pty-5ar2sckv.js → mime-4crc4jdm.js} +5 -5
  60. package/dist/chunks/{pty-hxf9ag7d.js → mime-4fvze959.js} +41 -41
  61. package/dist/chunks/{pty-99taak7k.js → mime-4j2jd05g.js} +30 -30
  62. package/dist/chunks/{pty-fne9b88m.js → mime-508mdezp.js} +4 -4
  63. package/dist/chunks/{pty-jzsws37g.js → mime-54g84kz9.js} +9 -9
  64. package/dist/chunks/{pty-xfkkasph.js → mime-57b9ws8p.js} +7 -7
  65. package/dist/chunks/{pty-57ez7d0k.js → mime-57ez7d0k.js} +2 -2
  66. package/dist/chunks/{pty-5daktx2q.js → mime-5daktx2q.js} +1 -1
  67. package/dist/chunks/{pty-ph20cxtq.js → mime-5fb55ywp.js} +9 -9
  68. package/dist/chunks/{pty-rgr7zy8c.js → mime-5pyf4h0a.js} +22 -22
  69. package/dist/chunks/{pty-5b0bje4b.js → mime-5s4prcyn.js} +27 -27
  70. package/dist/chunks/{pty-5t3nmthw.js → mime-5t3nmthw.js} +2 -2
  71. package/dist/chunks/{pty-pa8pe2x7.js → mime-5yzzbxa7.js} +8 -8
  72. package/dist/chunks/{pty-3rkt7740.js → mime-605gm5cj.js} +26 -26
  73. package/dist/chunks/{pty-bh8ht1d2.js → mime-6540dvt1.js} +7 -7
  74. package/dist/chunks/{pty-669tq793.js → mime-669tq793.js} +1 -1
  75. package/dist/chunks/{pty-se2405xg.js → mime-6aq6s8eb.js} +5 -5
  76. package/dist/chunks/{pty-99kmt16y.js → mime-6cjeyrsw.js} +13 -13
  77. package/dist/chunks/{pty-0996nyz8.js → mime-6hjx5zpb.js} +5 -5
  78. package/dist/chunks/{pty-6msgmcgs.js → mime-6msgmcgs.js} +1 -1
  79. package/dist/chunks/{pty-6d77vjf5.js → mime-6r5c0w9g.js} +26 -26
  80. package/dist/chunks/{pty-qsra982x.js → mime-6rfetefd.js} +3 -3
  81. package/dist/chunks/{pty-rw780tjq.js → mime-743spchq.js} +1 -1
  82. package/dist/chunks/{pty-221x7bq0.js → mime-75xs070m.js} +16 -16
  83. package/dist/chunks/{pty-3bbgm4hs.js → mime-77a7k1x9.js} +27 -27
  84. package/dist/chunks/{pty-27ra7qpk.js → mime-79bvek48.js} +18 -18
  85. package/dist/chunks/{pty-7bmhse3q.js → mime-7bmhse3q.js} +1 -1
  86. package/dist/chunks/{pty-x45rtsks.js → mime-7cgya2dp.js} +17 -17
  87. package/dist/chunks/{pty-yhwy8nw2.js → mime-7psk4stz.js} +33 -33
  88. package/dist/chunks/{pty-xt0qjtha.js → mime-7r6qf5r7.js} +16 -16
  89. package/dist/chunks/{pty-dfncrten.js → mime-7tbrah22.js} +5 -5
  90. package/dist/chunks/{pty-n158bs7w.js → mime-7tycp833.js} +9 -9
  91. package/dist/chunks/{pty-3yakcpj9.js → mime-7wny7pda.js} +24 -24
  92. package/dist/chunks/{pty-rt925ear.js → mime-7xsf7rnq.js} +11 -11
  93. package/dist/chunks/{pty-nndwhze1.js → mime-82e83hjb.js} +17 -17
  94. package/dist/chunks/{pty-wvtedn3t.js → mime-83m6sd17.js} +4 -4
  95. package/dist/chunks/{pty-ebzz9p7s.js → mime-86aj54kq.js} +24 -24
  96. package/dist/chunks/{pty-r0kh7xsn.js → mime-87d9dw5n.js} +9 -9
  97. package/dist/chunks/{pty-tcezcvh9.js → mime-89znhe33.js} +4 -4
  98. package/dist/chunks/{pty-8d7r5vzw.js → mime-8d7r5vzw.js} +1 -1
  99. package/dist/chunks/{pty-3vqxbr3s.js → mime-8fyve6nd.js} +7 -7
  100. package/dist/chunks/{pty-gfvb90ym.js → mime-94ek1h2f.js} +2 -2
  101. package/dist/chunks/{pty-5rt6txf8.js → mime-97sgz6yw.js} +22 -22
  102. package/dist/chunks/{pty-ckqn5b0t.js → mime-9g6t6zrh.js} +17 -17
  103. package/dist/chunks/{pty-w6xjr483.js → mime-9hhm9pvq.js} +13 -13
  104. package/dist/chunks/{pty-j1dhetpm.js → mime-9k86q3aq.js} +11 -11
  105. package/dist/chunks/{pty-aaet6srn.js → mime-aaet6srn.js} +2 -2
  106. package/dist/chunks/{pty-6dxfrfn6.js → mime-aamn49ap.js} +38 -38
  107. package/dist/chunks/{pty-dg2cj1yd.js → mime-ae0nwvy8.js} +4 -4
  108. package/dist/chunks/{pty-dq0v80fr.js → mime-afed7ext.js} +5 -5
  109. package/dist/chunks/{pty-ss96nb5e.js → mime-ajt4fata.js} +8 -8
  110. package/dist/chunks/{pty-mja4j6rb.js → mime-amgtyp96.js} +15 -15
  111. package/dist/chunks/{pty-2v6ca730.js → mime-anq3081s.js} +10 -10
  112. package/dist/chunks/{pty-mrz2mfwp.js → mime-aqd372pc.js} +25 -25
  113. package/dist/chunks/{pty-0f7yvzkx.js → mime-b4yeq8gw.js} +16 -16
  114. package/dist/chunks/{pty-b6gygkdw.js → mime-b6gygkdw.js} +2 -2
  115. package/dist/chunks/{pty-mv4t038k.js → mime-b95dy7zp.js} +4 -4
  116. package/dist/chunks/{pty-cj3sqp0r.js → mime-bb26mjzh.js} +11 -11
  117. package/dist/chunks/{pty-7end9xac.js → mime-bbjzvta2.js} +29 -29
  118. package/dist/chunks/{pty-6kspbkqh.js → mime-bc3t5yes.js} +24 -24
  119. package/dist/chunks/{pty-jrm07jrz.js → mime-beezqa8w.js} +15 -15
  120. package/dist/chunks/{pty-t1kj1ks6.js → mime-bg87x2pg.js} +13 -13
  121. package/dist/chunks/{pty-z9ftkqee.js → mime-bjzh7m45.js} +11 -11
  122. package/dist/chunks/{pty-97fmyryk.js → mime-bpcm8v83.js} +9 -9
  123. package/dist/chunks/{pty-x6vvseye.js → mime-c1ckp43n.js} +9 -9
  124. package/dist/chunks/{pty-r0841nan.js → mime-c4bh15tq.js} +17 -17
  125. package/dist/chunks/{pty-5nqyfg55.js → mime-c77x7g6d.js} +22 -22
  126. package/dist/chunks/{pty-6d6xcght.js → mime-cjwramev.js} +6 -6
  127. package/dist/chunks/{pty-54tcyq79.js → mime-ckecvw8r.js} +2 -2
  128. package/dist/chunks/{pty-6rm04a4d.js → mime-cz43zx57.js} +6 -6
  129. package/dist/chunks/{pty-nb301scj.js → mime-cz6jyf1n.js} +6 -6
  130. package/dist/chunks/{pty-nxhqveyz.js → mime-d2aac7k2.js} +5 -5
  131. package/dist/chunks/{pty-bc0ha7f3.js → mime-d7aqhzds.js} +86 -86
  132. package/dist/chunks/{pty-tjedn1bk.js → mime-d858xzj7.js} +4 -4
  133. package/dist/chunks/{pty-9gh63tf7.js → mime-d866bxqg.js} +11 -11
  134. package/dist/chunks/{pty-eg2tb1rm.js → mime-de35ch4m.js} +11 -11
  135. package/dist/chunks/{pty-t9zs3egg.js → mime-dfe8djrf.js} +4 -4
  136. package/dist/chunks/{pty-tx7gh1kr.js → mime-dhc0xkxm.js} +36 -36
  137. package/dist/chunks/{pty-a2ywx13m.js → mime-ds0wtj4e.js} +1 -1
  138. package/dist/chunks/{pty-jy93wyqx.js → mime-dtt66365.js} +20 -20
  139. package/dist/chunks/{pty-27xgxgv2.js → mime-dy59ndr5.js} +49 -49
  140. package/dist/chunks/{pty-vzqmaqpm.js → mime-dzqga1rh.js} +22 -22
  141. package/dist/chunks/{pty-0hbp2t3w.js → mime-e0ps24dg.js} +20 -20
  142. package/dist/chunks/{pty-5qd3pb7m.js → mime-e3qxr5gk.js} +2 -2
  143. package/dist/chunks/{pty-ecfe7b91.js → mime-ecfe7b91.js} +2 -2
  144. package/dist/chunks/{pty-ef5x83kb.js → mime-ef5x83kb.js} +1 -1
  145. package/dist/chunks/{pty-ycxstv38.js → mime-ekv8efyj.js} +11 -11
  146. package/dist/chunks/{pty-1sxsykr6.js → mime-enh3xt40.js} +8 -8
  147. package/dist/chunks/{pty-xazd4z7p.js → mime-enmnh83w.js} +20 -20
  148. package/dist/chunks/{pty-73tb2d7t.js → mime-eq1pz5kg.js} +3 -3
  149. package/dist/chunks/{pty-9wbp47sd.js → mime-et8918tz.js} +3 -3
  150. package/dist/chunks/{pty-etq0c3wd.js → mime-etq0c3wd.js} +1 -1
  151. package/dist/chunks/{pty-fwpk2wm7.js → mime-ey8kmd5x.js} +18 -18
  152. package/dist/chunks/{pty-k53npxr2.js → mime-ezyw3hyt.js} +1 -1
  153. package/dist/chunks/{pty-f3eh0ser.js → mime-f1yg1ebf.js} +32 -32
  154. package/dist/chunks/{pty-45y21gs0.js → mime-f2dxdeh3.js} +20 -20
  155. package/dist/chunks/{pty-7y7dz3xh.js → mime-fdjzn7y9.js} +24 -24
  156. package/dist/chunks/{pty-45tygp0h.js → mime-fee1sgdn.js} +30 -30
  157. package/dist/chunks/{pty-ezqh9axr.js → mime-fp67s591.js} +13 -13
  158. package/dist/chunks/{pty-mf9m2v67.js → mime-fpnx24t4.js} +3 -3
  159. package/dist/chunks/{pty-gd4qta3r.js → mime-gd4qta3r.js} +1 -1
  160. package/dist/chunks/{pty-41tapkvj.js → mime-gqy8xtzk.js} +38 -38
  161. package/dist/chunks/{pty-gv6a8nnw.js → mime-gv6a8nnw.js} +2 -2
  162. package/dist/chunks/{pty-ag3twsq1.js → mime-gwydwvmj.js} +8 -8
  163. package/dist/chunks/{pty-571ezfbc.js → mime-gxvazm9p.js} +11 -11
  164. package/dist/chunks/{pty-qy4pzfzt.js → mime-h4dg678n.js} +5 -5
  165. package/dist/chunks/{pty-4z2qm7e6.js → mime-h69067hd.js} +10 -10
  166. package/dist/chunks/{pty-5mtzsd3b.js → mime-h6r3nrb9.js} +4 -4
  167. package/dist/chunks/{pty-h6vf3j39.js → mime-h6vf3j39.js} +1 -1
  168. package/dist/chunks/{pty-dwvzh0g2.js → mime-hdzt82x2.js} +6 -6
  169. package/dist/chunks/{pty-60t26s16.js → mime-hqrt1rb2.js} +15 -15
  170. package/dist/chunks/mime-hr9dp009.js +4 -0
  171. package/dist/chunks/{pty-ch9yp1pz.js → mime-ht3seza6.js} +25 -25
  172. package/dist/chunks/{pty-a3c7ahw6.js → mime-j34bs4nz.js} +4 -4
  173. package/dist/chunks/{pty-j56e64zr.js → mime-j56e64zr.js} +1 -1
  174. package/dist/chunks/{pty-cgtg3r0q.js → mime-j5fqsg2e.js} +327 -327
  175. package/dist/chunks/{pty-9x77fmbz.js → mime-j8afcsyc.js} +4 -4
  176. package/dist/chunks/{pty-pwf03s6r.js → mime-ja923fd7.js} +6 -6
  177. package/dist/chunks/{pty-1p7f10vm.js → mime-k1qrnqst.js} +8 -8
  178. package/dist/chunks/{pty-5n2dsd6w.js → mime-k28tmd1k.js} +10 -10
  179. package/dist/chunks/{pty-k3c624dm.js → mime-k3c624dm.js} +3 -3
  180. package/dist/chunks/{pty-c9fqa78w.js → mime-k7z0z15n.js} +8 -8
  181. package/dist/chunks/{pty-b27vhd2z.js → mime-k8962brh.js} +7 -7
  182. package/dist/chunks/{pty-3fqt7tyn.js → mime-k8fbnnjg.js} +29 -29
  183. package/dist/chunks/{pty-exr53306.js → mime-kea5jqe6.js} +33 -33
  184. package/dist/chunks/{pty-37bbksa5.js → mime-ket7y27p.js} +69 -69
  185. package/dist/chunks/{pty-m3fdjcah.js → mime-m3fdjcah.js} +1 -1
  186. package/dist/chunks/{pty-v2fqb831.js → mime-m7x0jkmn.js} +5 -5
  187. package/dist/chunks/{pty-f76fhdgf.js → mime-m9rvph0x.js} +8 -8
  188. package/dist/chunks/{pty-m9w0rfyh.js → mime-m9w0rfyh.js} +1 -1
  189. package/dist/chunks/{pty-q4qsq2r1.js → mime-mbjbnbxx.js} +4 -4
  190. package/dist/chunks/{pty-8d0p2m37.js → mime-mgmaefw5.js} +3 -3
  191. package/dist/chunks/{pty-zn493atz.js → mime-mh42mebz.js} +7 -7
  192. package/dist/chunks/{pty-kahn2df4.js → mime-mhmbnrp5.js} +13 -13
  193. package/dist/chunks/{pty-mg0z7gqm.js → mime-mpmqpgh5.js} +5 -5
  194. package/dist/chunks/{pty-1ed2t66p.js → mime-n1ka8r9d.js} +4 -4
  195. package/dist/chunks/{pty-eqdtwbsd.js → mime-ndz9h71m.js} +3 -3
  196. package/dist/chunks/{pty-b4xp5b4g.js → mime-nes9re6y.js} +6 -6
  197. package/dist/chunks/{pty-c4n9gx9q.js → mime-ny1bawyf.js} +17 -17
  198. package/dist/chunks/{pty-36agyrng.js → mime-p3vh2ta0.js} +24 -24
  199. package/dist/chunks/{pty-7e8n9cs3.js → mime-p42cb6gq.js} +37 -37
  200. package/dist/chunks/{pty-75wwy8y2.js → mime-pebjh6nn.js} +10 -10
  201. package/dist/chunks/{pty-pjvnvgmy.js → mime-pjvnvgmy.js} +1 -1
  202. package/dist/chunks/{pty-pknna89w.js → mime-pknna89w.js} +1 -1
  203. package/dist/chunks/{pty-9by0nc1z.js → mime-ppv6hta6.js} +25 -25
  204. package/dist/chunks/{pty-rx2zrev4.js → mime-ppvvtx0s.js} +20 -20
  205. package/dist/chunks/{pty-v64esaz8.js → mime-q2kneea3.js} +11 -11
  206. package/dist/chunks/{pty-9kmbd9mt.js → mime-q970vn6j.js} +2 -2
  207. package/dist/chunks/{pty-nq7qbqzc.js → mime-qg0jgkcp.js} +9 -9
  208. package/dist/chunks/{pty-2h9st16x.js → mime-qh8qw1yz.js} +11 -11
  209. package/dist/chunks/{pty-2sejkfem.js → mime-qmqgtz8f.js} +9 -9
  210. package/dist/chunks/{pty-bv318s69.js → mime-qms6mpje.js} +20 -20
  211. package/dist/chunks/{pty-gnk6yzfx.js → mime-qp9qrtp0.js} +45 -45
  212. package/dist/chunks/{pty-3pbjq009.js → mime-qs001aqx.js} +11 -11
  213. package/dist/chunks/{pty-1hpkc3d9.js → mime-qs50n71f.js} +17 -17
  214. package/dist/chunks/{pty-qsdy395h.js → mime-qsdy395h.js} +1 -1
  215. package/dist/chunks/{pty-2bc87pvv.js → mime-r398a7yx.js} +7 -7
  216. package/dist/chunks/{pty-dnh4eggc.js → mime-r9302q9a.js} +30 -30
  217. package/dist/chunks/{pty-zz3dkezh.js → mime-rbe8s94e.js} +23 -23
  218. package/dist/chunks/{pty-rdw6cm16.js → mime-rdw6cm16.js} +1 -1
  219. package/dist/chunks/{pty-372k5868.js → mime-re33y59c.js} +22 -22
  220. package/dist/chunks/{pty-vxp3kcg3.js → mime-rf80fxgj.js} +5 -5
  221. package/dist/chunks/{pty-8wqe6q5q.js → mime-rk5e9k3p.js} +86 -86
  222. package/dist/chunks/{pty-z1swwevk.js → mime-rp5c3k0s.js} +39 -39
  223. package/dist/chunks/{pty-jd6az1p0.js → mime-s17k9x7e.js} +11 -11
  224. package/dist/chunks/{pty-47erbzba.js → mime-s25qb6rd.js} +14 -14
  225. package/dist/chunks/{pty-yrznvahk.js → mime-s4enseaf.js} +2 -2
  226. package/dist/chunks/{pty-3p6y7fhg.js → mime-s8r0mwsn.js} +46 -46
  227. package/dist/chunks/{pty-prc9mp0v.js → mime-sdg1gcr0.js} +29 -29
  228. package/dist/chunks/{pty-3vnaarfk.js → mime-sk4fpzkz.js} +16 -16
  229. package/dist/chunks/{pty-9gea571p.js → mime-sxzvkvgj.js} +6 -6
  230. package/dist/chunks/{pty-nfzmfrje.js → mime-t4ay05z1.js} +9 -9
  231. package/dist/chunks/{pty-eaj1djv9.js → mime-t550f9t1.js} +8 -8
  232. package/dist/chunks/{pty-dwwvf93g.js → mime-t550g8gs.js} +11 -11
  233. package/dist/chunks/{pty-mqvas0bz.js → mime-t5ra0cz4.js} +11 -11
  234. package/dist/chunks/{pty-8vrhx02r.js → mime-t6f3wjjb.js} +35 -35
  235. package/dist/chunks/{pty-tazgh4e4.js → mime-tazgh4e4.js} +1 -1
  236. package/dist/chunks/{pty-tdstcens.js → mime-tdstcens.js} +1 -1
  237. package/dist/chunks/{pty-4xgaqrq2.js → mime-tggd67fe.js} +16 -16
  238. package/dist/chunks/{pty-kjhqpjf5.js → mime-tgwh4g45.js} +3 -3
  239. package/dist/chunks/{pty-tvtrv512.js → mime-tvtrv512.js} +1 -1
  240. package/dist/chunks/{pty-17y8z6sp.js → mime-tz679c1q.js} +3 -3
  241. package/dist/chunks/mime-v1faaxn9.js +18 -0
  242. package/dist/chunks/{pty-hx5dphvg.js → mime-v553wp33.js} +48 -48
  243. package/dist/chunks/{pty-9zdcvzy0.js → mime-v6v677s0.js} +26 -26
  244. package/dist/chunks/{pty-w6yz6n38.js → mime-vc794bvv.js} +170 -170
  245. package/dist/chunks/{pty-veqvce7d.js → mime-veqvce7d.js} +1 -1
  246. package/dist/chunks/{pty-7febzfrp.js → mime-vfwfag5t.js} +27 -27
  247. package/dist/chunks/{pty-54xnztgb.js → mime-vj9r822s.js} +44 -44
  248. package/dist/chunks/{pty-gje89n48.js → mime-vq9mnbss.js} +28 -28
  249. package/dist/chunks/{pty-8kjs0e52.js → mime-vw5a0rfv.js} +2 -2
  250. package/dist/chunks/{pty-vzcthcp8.js → mime-vzcthcp8.js} +1 -1
  251. package/dist/chunks/{pty-vzs5sf6e.js → mime-vzs5sf6e.js} +1 -1
  252. package/dist/chunks/{pty-w3wsvvr9.js → mime-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{pty-2gds47hr.js → mime-w41yqvvp.js} +17 -17
  254. package/dist/chunks/{pty-t70hw2aa.js → mime-w5py834v.js} +27 -27
  255. package/dist/chunks/{pty-py3kkmfq.js → mime-w92k2e0p.js} +8 -8
  256. package/dist/chunks/{pty-psazpmmj.js → mime-wd3x2cqz.js} +2 -2
  257. package/dist/chunks/{pty-wd87259q.js → mime-wd87259q.js} +1 -1
  258. package/dist/chunks/{pty-vfcs7mkg.js → mime-whvrryqk.js} +23 -23
  259. package/dist/chunks/{pty-8yen0vmk.js → mime-ws8rf1n9.js} +19 -19
  260. package/dist/chunks/{pty-v6aqgby1.js → mime-wskervgn.js} +14 -14
  261. package/dist/chunks/{pty-qgyvxnrz.js → mime-wvjy0rkm.js} +3 -3
  262. package/dist/chunks/{pty-x1ezjp6w.js → mime-x1ezjp6w.js} +1 -1
  263. package/dist/chunks/{pty-4n607a2z.js → mime-x2rw7g36.js} +5 -5
  264. package/dist/chunks/{pty-te7gyzaz.js → mime-x9d81cjr.js} +7 -7
  265. package/dist/chunks/{pty-e2n265pm.js → mime-xaqyyngn.js} +8 -8
  266. package/dist/chunks/{pty-f3ngv102.js → mime-xdk9p2qn.js} +21 -21
  267. package/dist/chunks/{pty-jmr301rc.js → mime-xjtpc5ew.js} +21 -21
  268. package/dist/chunks/{pty-xkntkrq7.js → mime-xkntkrq7.js} +2 -2
  269. package/dist/chunks/{pty-p7656wpr.js → mime-xmj1c5tj.js} +26 -26
  270. package/dist/chunks/{pty-avjan795.js → mime-xsjv728j.js} +9 -9
  271. package/dist/chunks/{pty-7w357n7h.js → mime-xxc26qrd.js} +15 -15
  272. package/dist/chunks/{pty-y1fvbwt7.js → mime-y1fvbwt7.js} +1 -1
  273. package/dist/chunks/{pty-bbdm7xgf.js → mime-y5xqhydv.js} +29 -29
  274. package/dist/chunks/{pty-y71avatq.js → mime-y71avatq.js} +1 -1
  275. package/dist/chunks/{pty-nekn4kj4.js → mime-y8yd5a40.js} +11 -11
  276. package/dist/chunks/{pty-ke9c0zby.js → mime-yew08yk0.js} +48 -48
  277. package/dist/chunks/{pty-gfmqcfkq.js → mime-yg64st6f.js} +13 -13
  278. package/dist/chunks/{pty-yrhqyw5v.js → mime-yrhqyw5v.js} +1 -1
  279. package/dist/chunks/{pty-8anx25cs.js → mime-ysk4s0pp.js} +22 -22
  280. package/dist/chunks/mime-yvzdpfbp.js +252 -0
  281. package/dist/chunks/{pty-nzfzj4ee.js → mime-ywqv77jt.js} +29 -29
  282. package/dist/chunks/{pty-bjtzbw4r.js → mime-z07pqspn.js} +3 -3
  283. package/dist/chunks/{pty-z0bkrqjs.js → mime-z0bkrqjs.js} +1 -1
  284. package/dist/chunks/{pty-jyb2y6gr.js → mime-z5km0pse.js} +15 -15
  285. package/dist/chunks/{pty-bc1mwsm1.js → mime-z90jk03v.js} +22 -22
  286. package/dist/chunks/{pty-9kzv5r3t.js → mime-zdcc64ja.js} +5 -5
  287. package/dist/chunks/{pty-r369ybd3.js → mime-zefpc43y.js} +14 -14
  288. package/dist/chunks/{pty-zeh9ct20.js → mime-zeh9ct20.js} +2 -2
  289. package/dist/chunks/{pty-kba9tdab.js → mime-zkkg3hmv.js} +12 -12
  290. package/dist/chunks/{pty-zr2ceqn5.js → mime-zr2ceqn5.js} +1 -1
  291. package/dist/chunks/{pty-zrq8kphx.js → mime-zrq8kphx.js} +1 -1
  292. package/dist/chunks/{pty-afp6dc07.js → mime-zvj905se.js} +10 -10
  293. package/dist/chunks/{pty-zxq2ej10.js → mime-zxq2ej10.js} +1 -1
  294. package/dist/codemode/catalog.js +1 -1
  295. package/dist/codemode/instructions.js +7 -7
  296. package/dist/codemode/tool.js +3 -3
  297. package/dist/codemode/web.js +1 -1
  298. package/dist/command.js +85 -85
  299. package/dist/config/discovery.js +84 -84
  300. package/dist/config/markdown.js +1 -1
  301. package/dist/config/normalize.js +106 -106
  302. package/dist/config/plugin/agent.js +123 -123
  303. package/dist/config/plugin/command.js +212 -212
  304. package/dist/config/plugin/compaction.js +160 -160
  305. package/dist/config/plugin/compatibility.js +141 -141
  306. package/dist/config/plugin/entry-observer.js +1 -1
  307. package/dist/config/plugin/formatter.js +124 -124
  308. package/dist/config/plugin/image.js +123 -123
  309. package/dist/config/plugin/instruction.js +90 -90
  310. package/dist/config/plugin/location-watcher.js +123 -123
  311. package/dist/config/plugin/mcp.js +130 -130
  312. package/dist/config/plugin/policy.js +124 -124
  313. package/dist/config/plugin/provider.js +123 -123
  314. package/dist/config/plugin/reference.js +125 -125
  315. package/dist/config/plugin/shell.js +125 -125
  316. package/dist/config/plugin/skill-file.js +102 -102
  317. package/dist/config/plugin/skill.js +144 -144
  318. package/dist/config/plugin/snapshot.js +123 -123
  319. package/dist/config/plugin/source.js +124 -124
  320. package/dist/config/plugin/tool-output.js +125 -125
  321. package/dist/config/plugin/websearch.js +124 -124
  322. package/dist/config/plugin/worktree.js +125 -125
  323. package/dist/config/variable.js +3 -3
  324. package/dist/config/watch.js +1 -1
  325. package/dist/config.js +126 -126
  326. package/dist/credential/sql.js +2 -2
  327. package/dist/credential.js +85 -85
  328. package/dist/database/database.js +66 -66
  329. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  330. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  331. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  332. package/dist/database/drizzle/index.js +13 -13
  333. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  336. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  341. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  342. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  343. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  344. package/dist/database/drizzle.js +14 -14
  345. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  346. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  347. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  348. package/dist/database/migration/20260225215848_workspace.js +1 -1
  349. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  350. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  351. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  352. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  353. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  354. package/dist/database/migration/20260323234822_events.js +1 -1
  355. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  356. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  357. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  358. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  359. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  360. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  361. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  362. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  363. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  364. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  365. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  366. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  367. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  368. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  369. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  370. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  371. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  372. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  373. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  374. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  375. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  376. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  377. package/dist/database/migration/20260611035744_credential.js +1 -1
  378. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  379. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  380. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  381. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  382. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  383. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  384. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  385. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  386. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  387. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  388. package/dist/database/migration/20260812213948_worktree.js +1 -1
  389. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  390. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  391. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  392. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  393. package/dist/database/migration.gen.js +49 -49
  394. package/dist/database/migration.js +51 -51
  395. package/dist/database/path.js +2 -2
  396. package/dist/database/schema.gen.js +1 -1
  397. package/dist/database/schema.sql.js +1 -1
  398. package/dist/database/sqlite.bun.js +1 -1
  399. package/dist/database/sqlite.js +1 -1
  400. package/dist/database/sqlite.node.js +1 -1
  401. package/dist/database/sqlite.workerd.js +1 -1
  402. package/dist/database/v1-migration.bun.js +76 -76
  403. package/dist/database/v1-migration.js +1 -1
  404. package/dist/effect/app-node-builder.js +372 -372
  405. package/dist/effect/app-node-platform.js +2 -2
  406. package/dist/effect/keyed-mutex.js +1 -1
  407. package/dist/effect/websocket-constructor.js +1 -1
  408. package/dist/environment/driver.js +1 -1
  409. package/dist/environment/environment.js +93 -93
  410. package/dist/environment/exec-defaults.js +2 -2
  411. package/dist/environment/files.js +1 -1
  412. package/dist/environment/index.js +93 -93
  413. package/dist/environment/local.js +2 -2
  414. package/dist/environment/memory.js +2 -2
  415. package/dist/environment/unavailable.js +1 -1
  416. package/dist/event/sql.js +1 -1
  417. package/dist/event-logger.js +70 -70
  418. package/dist/file-access.js +104 -104
  419. package/dist/file-mutation.js +94 -94
  420. package/dist/file-retention.js +1 -1
  421. package/dist/file.js +1 -1
  422. package/dist/filesystem/fff.bun.js +2 -2
  423. package/dist/filesystem/fff.js +1 -1
  424. package/dist/filesystem/fff.node.js +2 -2
  425. package/dist/filesystem/fff.workerd.js +2 -2
  426. package/dist/filesystem/ignore.js +1 -1
  427. package/dist/filesystem/location-watcher-policy.js +6 -6
  428. package/dist/filesystem/location-watcher.js +225 -225
  429. package/dist/filesystem/protected.js +3 -3
  430. package/dist/filesystem/search.js +103 -103
  431. package/dist/filesystem/watcher-binding.js +3 -3
  432. package/dist/filesystem/watcher.js +11 -11
  433. package/dist/filesystem.js +108 -108
  434. package/dist/form.js +82 -82
  435. package/dist/formatter/builtins.js +4 -4
  436. package/dist/formatter.js +87 -87
  437. package/dist/generate.js +105 -105
  438. package/dist/git.js +6 -6
  439. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  440. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  441. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  443. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  444. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  445. package/dist/github-copilot/copilot-provider.js +17 -17
  446. package/dist/github-copilot/models.js +99 -99
  447. package/dist/github-copilot/openai-compatible-error.js +1 -1
  448. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  449. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  450. package/dist/github-copilot/responses/openai-error.js +1 -1
  451. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  452. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  453. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  454. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  455. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  456. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  457. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  458. package/dist/id/id.js +1 -1
  459. package/dist/image/photon.js +2 -2
  460. package/dist/image.js +6 -6
  461. package/dist/instance/service.js +5 -5
  462. package/dist/instance.js +363 -363
  463. package/dist/instruction-discovery.js +85 -85
  464. package/dist/instructions/builtins.js +87 -87
  465. package/dist/instructions/index.js +5 -5
  466. package/dist/integration/connection.js +3 -3
  467. package/dist/integration.js +86 -86
  468. package/dist/job.js +79 -79
  469. package/dist/kv/sql.js +2 -2
  470. package/dist/kv.js +73 -73
  471. package/dist/location-activity.js +132 -132
  472. package/dist/location-lifecycle.js +107 -107
  473. package/dist/location-mutation.js +104 -104
  474. package/dist/location-service-map.js +86 -86
  475. package/dist/location-services.js +360 -360
  476. package/dist/location.js +81 -81
  477. package/dist/managed-policy.js +5 -5
  478. package/dist/mcp/client.js +91 -91
  479. package/dist/mcp/index.js +108 -108
  480. package/dist/mcp/instructions.js +126 -126
  481. package/dist/mcp/oauth.js +78 -78
  482. package/dist/mcp/stdio.js +90 -90
  483. package/dist/mime.js +1 -1
  484. package/dist/modal/models.js +99 -99
  485. package/dist/model-resolver.js +98 -98
  486. package/dist/model.js +100 -100
  487. package/dist/models-dev.js +107 -107
  488. package/dist/oauth/page.js +1 -1
  489. package/dist/permission/saved.js +80 -80
  490. package/dist/permission/sql.js +5 -5
  491. package/dist/permission.js +113 -113
  492. package/dist/persistent-pty/binary.bun.js +1 -1
  493. package/dist/persistent-pty/daemon.js +1 -1
  494. package/dist/persistent-pty/index.js +88 -88
  495. package/dist/persistent-pty/pty-binding.js +1 -1
  496. package/dist/persistent-pty.js +75 -75
  497. package/dist/plugin/agent.js +102 -102
  498. package/dist/plugin/command.js +99 -99
  499. package/dist/plugin/compaction.js +131 -131
  500. package/dist/plugin/hooks.js +1 -1
  501. package/dist/plugin/host.js +218 -218
  502. package/dist/plugin/identity.js +3 -3
  503. package/dist/plugin/instance.js +5 -5
  504. package/dist/plugin/internal.js +334 -334
  505. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  506. package/dist/plugin/models-dev.js +96 -96
  507. package/dist/plugin/module.js +7 -7
  508. package/dist/plugin/optimize.js +4 -4
  509. package/dist/plugin/plan.js +102 -102
  510. package/dist/plugin/promise.js +1 -1
  511. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  512. package/dist/plugin/provider/azure.js +122 -122
  513. package/dist/plugin/provider/cerebras.js +1 -1
  514. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  515. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  516. package/dist/plugin/provider/cohere.js +2 -2
  517. package/dist/plugin/provider/configured.js +119 -119
  518. package/dist/plugin/provider/digitalocean.js +93 -93
  519. package/dist/plugin/provider/dynamic.js +2 -2
  520. package/dist/plugin/provider/factory.js +1 -1
  521. package/dist/plugin/provider/gateway.js +2 -2
  522. package/dist/plugin/provider/github-copilot.js +93 -93
  523. package/dist/plugin/provider/gitlab.js +93 -93
  524. package/dist/plugin/provider/google-vertex.js +90 -90
  525. package/dist/plugin/provider/kilo.js +1 -1
  526. package/dist/plugin/provider/llmgateway.js +77 -77
  527. package/dist/plugin/provider/lmstudio.js +122 -122
  528. package/dist/plugin/provider/modal.js +92 -92
  529. package/dist/plugin/provider/nvidia.js +1 -1
  530. package/dist/plugin/provider/ollama.js +122 -122
  531. package/dist/plugin/provider/openai.js +94 -94
  532. package/dist/plugin/provider/opencode.js +95 -95
  533. package/dist/plugin/provider/openrouter.js +91 -91
  534. package/dist/plugin/provider/perplexity.js +2 -2
  535. package/dist/plugin/provider/poe.js +78 -78
  536. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  537. package/dist/plugin/provider/sap-ai-core.js +91 -91
  538. package/dist/plugin/provider/sdk-factory.js +1 -1
  539. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  540. package/dist/plugin/provider/venice.js +2 -2
  541. package/dist/plugin/provider/vercel.js +90 -90
  542. package/dist/plugin/provider/vllm.js +120 -120
  543. package/dist/plugin/provider/xai.js +91 -91
  544. package/dist/plugin/provider/zenmux.js +1 -1
  545. package/dist/plugin/provider.js +160 -160
  546. package/dist/plugin/sdk.js +76 -76
  547. package/dist/plugin/service.js +3 -3
  548. package/dist/plugin/skill.js +139 -139
  549. package/dist/plugin/source-directory.js +1 -1
  550. package/dist/plugin/supervisor.js +353 -353
  551. package/dist/plugin/tool-input-repair.js +4 -4
  552. package/dist/plugin/update.js +4 -4
  553. package/dist/plugin/vcs/git.js +84 -84
  554. package/dist/plugin/vcs/hg.js +84 -84
  555. package/dist/plugin/verbosity.js +93 -93
  556. package/dist/plugin/warming.js +121 -121
  557. package/dist/plugin/websearch/exa.js +7 -7
  558. package/dist/plugin/websearch/firecrawl.js +8 -8
  559. package/dist/plugin/websearch/index.js +9 -9
  560. package/dist/plugin/websearch/mcp.js +2 -2
  561. package/dist/plugin/websearch/parallel.js +6 -6
  562. package/dist/plugin/websearch/tavily.js +4 -4
  563. package/dist/plugin/websearch/tinyfish.js +8 -8
  564. package/dist/plugin.js +225 -225
  565. package/dist/project/schema.js +2 -2
  566. package/dist/project/sql.js +4 -4
  567. package/dist/project.js +80 -80
  568. package/dist/provider.js +99 -99
  569. package/dist/pty/protocol.js +1 -1
  570. package/dist/pty/schema.js +3 -3
  571. package/dist/pty/ticket.js +1 -1
  572. package/dist/pty.js +98 -98
  573. package/dist/reference/instructions.js +89 -89
  574. package/dist/reference.js +89 -89
  575. package/dist/repository-cache.js +81 -81
  576. package/dist/repository.js +1 -1
  577. package/dist/ripgrep/binary.js +2 -2
  578. package/dist/ripgrep.js +97 -97
  579. package/dist/rpc.js +86 -86
  580. package/dist/schema.js +1 -1
  581. package/dist/session/command.js +74 -74
  582. package/dist/session/compaction.js +132 -132
  583. package/dist/session/context.js +152 -152
  584. package/dist/session/diff.js +88 -88
  585. package/dist/session/environment.js +5 -5
  586. package/dist/session/error.js +7 -7
  587. package/dist/session/event.js +1 -1
  588. package/dist/session/execution/restart.js +221 -221
  589. package/dist/session/execution.js +128 -128
  590. package/dist/session/generate.js +153 -153
  591. package/dist/session/history.js +15 -15
  592. package/dist/session/inbox.js +88 -88
  593. package/dist/session/info.js +3 -3
  594. package/dist/session/instruction-entry.js +79 -79
  595. package/dist/session/instruction-state.js +8 -8
  596. package/dist/session/instructions.js +97 -97
  597. package/dist/session/message-updater.js +2 -2
  598. package/dist/session/message.js +1 -1
  599. package/dist/session/model-request.js +119 -119
  600. package/dist/session/model-transport.js +9 -9
  601. package/dist/session/move.js +130 -130
  602. package/dist/session/projector.js +86 -86
  603. package/dist/session/prompt.js +105 -105
  604. package/dist/session/provider-context.js +3 -3
  605. package/dist/session/revert.js +90 -90
  606. package/dist/session/run-coordinator.js +1 -1
  607. package/dist/session/runner/index.js +3 -3
  608. package/dist/session/runner/llm.js +231 -231
  609. package/dist/session/runner/max-steps.js +1 -1
  610. package/dist/session/runner/model.js +98 -98
  611. package/dist/session/runner/publish-llm-event.js +3 -3
  612. package/dist/session/runner/retry.js +114 -114
  613. package/dist/session/runner/step.js +126 -126
  614. package/dist/session/runner/to-llm-message.js +2 -2
  615. package/dist/session/schema.js +5 -5
  616. package/dist/session/session.js +170 -170
  617. package/dist/session/shell.js +138 -138
  618. package/dist/session/skill.js +103 -103
  619. package/dist/session/sql.js +5 -5
  620. package/dist/session/stats.js +73 -73
  621. package/dist/session/store.js +87 -87
  622. package/dist/session/subagent-completion.js +1 -1
  623. package/dist/session/subagent-job.js +210 -210
  624. package/dist/session/system-prompt.js +5 -5
  625. package/dist/session/title.js +156 -156
  626. package/dist/session/to-session-error.js +111 -111
  627. package/dist/session/transfer.js +214 -214
  628. package/dist/session/usage.js +1 -1
  629. package/dist/session.js +218 -218
  630. package/dist/shell/parse.js +6 -6
  631. package/dist/shell/result.js +1 -1
  632. package/dist/shell/scan.js +1 -1
  633. package/dist/shell/select.js +13 -13
  634. package/dist/shell.js +140 -140
  635. package/dist/skill/discovery.js +6 -6
  636. package/dist/skill/instructions.js +107 -107
  637. package/dist/skill.js +112 -112
  638. package/dist/snapshot.js +93 -93
  639. package/dist/state.js +1 -1
  640. package/dist/tool/html-markdown.js +1 -1
  641. package/dist/tool/http-body.js +1 -1
  642. package/dist/tool/mcp.js +127 -127
  643. package/dist/tool/plugin/edit.js +120 -120
  644. package/dist/tool/plugin/file-diff.js +1 -1
  645. package/dist/tool/plugin/glob.js +122 -122
  646. package/dist/tool/plugin/grep.js +122 -122
  647. package/dist/tool/plugin/mcp-resource.js +116 -116
  648. package/dist/tool/plugin/opencode.js +3 -3
  649. package/dist/tool/plugin/patch.js +120 -120
  650. package/dist/tool/plugin/question.js +105 -105
  651. package/dist/tool/plugin/read.js +125 -125
  652. package/dist/tool/plugin/shell.js +217 -217
  653. package/dist/tool/plugin/skill.js +113 -113
  654. package/dist/tool/plugin/subagent.js +219 -219
  655. package/dist/tool/plugin/webfetch.js +110 -110
  656. package/dist/tool/plugin/websearch.js +114 -114
  657. package/dist/tool/plugin/write.js +120 -120
  658. package/dist/tool/read-filesystem.js +100 -100
  659. package/dist/tool/runtime.js +1 -1
  660. package/dist/tool-output.js +8 -8
  661. package/dist/tool.js +16 -16
  662. package/dist/util/error-summary.js +1 -1
  663. package/dist/util/error.js +1 -1
  664. package/dist/util/git-executable.js +2 -2
  665. package/dist/util/iife.js +1 -1
  666. package/dist/util/lazy.js +1 -1
  667. package/dist/util/slug.js +1 -1
  668. package/dist/util/token.js +1 -1
  669. package/dist/util/which.js +1 -1
  670. package/dist/util/wildcard.js +1 -1
  671. package/dist/v1/config/agent.js +7 -7
  672. package/dist/v1/config/attachment.js +4 -4
  673. package/dist/v1/config/command.js +5 -5
  674. package/dist/v1/config/config.js +16 -16
  675. package/dist/v1/config/error.js +4 -4
  676. package/dist/v1/config/formatter.js +5 -5
  677. package/dist/v1/config/layout.js +1 -1
  678. package/dist/v1/config/lsp.js +5 -5
  679. package/dist/v1/config/mcp.js +4 -4
  680. package/dist/v1/config/migrate.js +92 -92
  681. package/dist/v1/config/permission.js +7 -7
  682. package/dist/v1/config/plugin.js +1 -1
  683. package/dist/v1/config/provider-options.js +1 -1
  684. package/dist/v1/config/provider.js +2 -2
  685. package/dist/v1/config/server.js +2 -2
  686. package/dist/v1/config/skills.js +3 -3
  687. package/dist/v1/permission.js +1 -1
  688. package/dist/variant.js +93 -93
  689. package/dist/vcs/patch.js +1 -1
  690. package/dist/vcs.js +87 -87
  691. package/dist/websearch.js +84 -84
  692. package/dist/wellknown/plugin.js +76 -76
  693. package/dist/wellknown.js +79 -79
  694. package/dist/workspace/driver.js +5 -5
  695. package/dist/workspace/sql.js +1 -1
  696. package/dist/workspace.js +80 -80
  697. package/dist/worktree/directory.js +2 -2
  698. package/dist/worktree/git.js +8 -8
  699. package/dist/worktree/sql.js +5 -5
  700. package/dist/worktree/strategies.js +89 -89
  701. package/dist/worktree.js +98 -98
  702. package/package.json +8 -8
  703. package/dist/chunks/pty-6kdq0pjd.js +0 -4
  704. package/dist/chunks/pty-7fj5dwt0.js +0 -18
  705. package/dist/chunks/pty-pjz83rka.js +0 -252
  706. /package/dist/chunks/{pty-0qkdqm5v.js → mime-0qkdqm5v.js} +0 -0
  707. /package/dist/chunks/{pty-0zkw76rk.js → mime-0zkw76rk.js} +0 -0
  708. /package/dist/chunks/{pty-17cy0kzp.js → mime-17cy0kzp.js} +0 -0
  709. /package/dist/chunks/{pty-1cnp2v09.js → mime-1cnp2v09.js} +0 -0
  710. /package/dist/chunks/{pty-1kg9ymc8.js → mime-1kg9ymc8.js} +0 -0
  711. /package/dist/chunks/{pty-24dcb14g.js → mime-24dcb14g.js} +0 -0
  712. /package/dist/chunks/{pty-2710q6r3.js → mime-2710q6r3.js} +0 -0
  713. /package/dist/chunks/{pty-2axfhc9x.js → mime-2axfhc9x.js} +0 -0
  714. /package/dist/chunks/{pty-2c3vjs8z.js → mime-2c3vjs8z.js} +0 -0
  715. /package/dist/chunks/{pty-34c7v6d4.js → mime-34c7v6d4.js} +0 -0
  716. /package/dist/chunks/{pty-359p4xyc.js → mime-359p4xyc.js} +0 -0
  717. /package/dist/chunks/{pty-3asan66x.js → mime-3asan66x.js} +0 -0
  718. /package/dist/chunks/{pty-3v8g72cx.js → mime-3v8g72cx.js} +0 -0
  719. /package/dist/chunks/{pty-3w5fmr99.js → mime-3w5fmr99.js} +0 -0
  720. /package/dist/chunks/{pty-3wcehsnq.js → mime-3wcehsnq.js} +0 -0
  721. /package/dist/chunks/{pty-43n2bw4t.js → mime-43n2bw4t.js} +0 -0
  722. /package/dist/chunks/{pty-4knz6hnm.js → mime-4knz6hnm.js} +0 -0
  723. /package/dist/chunks/{pty-4vcrnpx2.js → mime-4vcrnpx2.js} +0 -0
  724. /package/dist/chunks/{pty-4y7fprxs.js → mime-4y7fprxs.js} +0 -0
  725. /package/dist/chunks/{pty-53557ph1.js → mime-53557ph1.js} +0 -0
  726. /package/dist/chunks/{pty-550bvhaj.js → mime-550bvhaj.js} +0 -0
  727. /package/dist/chunks/{pty-6prwharc.js → mime-6prwharc.js} +0 -0
  728. /package/dist/chunks/{pty-7akdwqpd.js → mime-7akdwqpd.js} +0 -0
  729. /package/dist/chunks/{pty-7m9af43g.js → mime-7m9af43g.js} +0 -0
  730. /package/dist/chunks/{pty-822emrt2.js → mime-822emrt2.js} +0 -0
  731. /package/dist/chunks/{pty-88xbtdfr.js → mime-88xbtdfr.js} +0 -0
  732. /package/dist/chunks/{pty-8n3pysct.js → mime-8n3pysct.js} +0 -0
  733. /package/dist/chunks/{pty-8wj87zfr.js → mime-8wj87zfr.js} +0 -0
  734. /package/dist/chunks/{pty-922hggd3.js → mime-922hggd3.js} +0 -0
  735. /package/dist/chunks/{pty-9a4afbnw.js → mime-9a4afbnw.js} +0 -0
  736. /package/dist/chunks/{pty-9rqn6x4v.js → mime-9rqn6x4v.js} +0 -0
  737. /package/dist/chunks/{pty-a6k6eb26.js → mime-a6k6eb26.js} +0 -0
  738. /package/dist/chunks/{pty-af5trqkr.js → mime-af5trqkr.js} +0 -0
  739. /package/dist/chunks/{pty-afrmfg78.js → mime-afrmfg78.js} +0 -0
  740. /package/dist/chunks/{pty-aqzs7mqg.js → mime-aqzs7mqg.js} +0 -0
  741. /package/dist/chunks/{pty-atq7p7m5.js → mime-atq7p7m5.js} +0 -0
  742. /package/dist/chunks/{pty-bkyjaxrp.js → mime-bkyjaxrp.js} +0 -0
  743. /package/dist/chunks/{pty-bmr6ed5q.js → mime-bmr6ed5q.js} +0 -0
  744. /package/dist/chunks/{pty-cf4snx6d.js → mime-cf4snx6d.js} +0 -0
  745. /package/dist/chunks/{pty-cvy3z8tj.js → mime-cvy3z8tj.js} +0 -0
  746. /package/dist/chunks/{pty-d9fn303g.js → mime-d9fn303g.js} +0 -0
  747. /package/dist/chunks/{pty-d9jj8t3e.js → mime-d9jj8t3e.js} +0 -0
  748. /package/dist/chunks/{pty-dajrwvna.js → mime-dajrwvna.js} +0 -0
  749. /package/dist/chunks/{pty-dap0rakb.js → mime-dap0rakb.js} +0 -0
  750. /package/dist/chunks/{pty-df08tz66.js → mime-df08tz66.js} +0 -0
  751. /package/dist/chunks/{pty-dy18nga0.js → mime-dy18nga0.js} +0 -0
  752. /package/dist/chunks/{pty-e5kj55wp.js → mime-e5kj55wp.js} +0 -0
  753. /package/dist/chunks/{pty-e73j6tqm.js → mime-e73j6tqm.js} +0 -0
  754. /package/dist/chunks/{pty-ec1grn59.js → mime-ec1grn59.js} +0 -0
  755. /package/dist/chunks/{pty-eh3zwz77.js → mime-eh3zwz77.js} +0 -0
  756. /package/dist/chunks/{pty-emrn6kk6.js → mime-emrn6kk6.js} +0 -0
  757. /package/dist/chunks/{pty-f0mxakyp.js → mime-f0mxakyp.js} +0 -0
  758. /package/dist/chunks/{pty-f6n9ztr4.js → mime-f6n9ztr4.js} +0 -0
  759. /package/dist/chunks/{pty-faypxj3z.js → mime-faypxj3z.js} +0 -0
  760. /package/dist/chunks/{pty-fd410y7t.js → mime-fd410y7t.js} +0 -0
  761. /package/dist/chunks/{pty-fxgpk5d8.js → mime-fxgpk5d8.js} +0 -0
  762. /package/dist/chunks/{pty-g4wezp1m.js → mime-g4wezp1m.js} +0 -0
  763. /package/dist/chunks/{pty-g86h250q.js → mime-g86h250q.js} +0 -0
  764. /package/dist/chunks/{pty-gebd4c9n.js → mime-gebd4c9n.js} +0 -0
  765. /package/dist/chunks/{pty-gftt206x.js → mime-gftt206x.js} +0 -0
  766. /package/dist/chunks/{pty-hjbc5kem.js → mime-hjbc5kem.js} +0 -0
  767. /package/dist/chunks/{pty-hk9envan.js → mime-hk9envan.js} +0 -0
  768. /package/dist/chunks/{pty-j2ntwpah.js → mime-j2ntwpah.js} +0 -0
  769. /package/dist/chunks/{pty-j5zkgpj8.js → mime-j5zkgpj8.js} +0 -0
  770. /package/dist/chunks/{pty-jjkms2e6.js → mime-jjkms2e6.js} +0 -0
  771. /package/dist/chunks/{pty-jr7sbwjy.js → mime-jr7sbwjy.js} +0 -0
  772. /package/dist/chunks/{pty-jwfs4k6c.js → mime-jwfs4k6c.js} +0 -0
  773. /package/dist/chunks/{pty-jzg6c2d5.js → mime-jzg6c2d5.js} +0 -0
  774. /package/dist/chunks/{pty-mp448xyj.js → mime-mp448xyj.js} +0 -0
  775. /package/dist/chunks/{pty-msx8hqn2.js → mime-msx8hqn2.js} +0 -0
  776. /package/dist/chunks/{pty-n05xt0ee.js → mime-n05xt0ee.js} +0 -0
  777. /package/dist/chunks/{pty-n3j8tn72.js → mime-n3j8tn72.js} +0 -0
  778. /package/dist/chunks/{pty-njntx4h6.js → mime-njntx4h6.js} +0 -0
  779. /package/dist/chunks/{pty-q3sfg36h.js → mime-q3sfg36h.js} +0 -0
  780. /package/dist/chunks/{pty-q74kybfr.js → mime-q74kybfr.js} +0 -0
  781. /package/dist/chunks/{pty-qaymkmh1.js → mime-qaymkmh1.js} +0 -0
  782. /package/dist/chunks/{pty-qb87gjwd.js → mime-qb87gjwd.js} +0 -0
  783. /package/dist/chunks/{pty-qfa1cgps.js → mime-qfa1cgps.js} +0 -0
  784. /package/dist/chunks/{pty-qg3g05ea.js → mime-qg3g05ea.js} +0 -0
  785. /package/dist/chunks/{pty-qrg20bc0.js → mime-qrg20bc0.js} +0 -0
  786. /package/dist/chunks/{pty-rcb2kzg1.js → mime-rcb2kzg1.js} +0 -0
  787. /package/dist/chunks/{pty-sdp7kfr6.js → mime-sdp7kfr6.js} +0 -0
  788. /package/dist/chunks/{pty-sk3qaz4a.js → mime-sk3qaz4a.js} +0 -0
  789. /package/dist/chunks/{pty-ssg3fenm.js → mime-ssg3fenm.js} +0 -0
  790. /package/dist/chunks/{pty-w803qqfp.js → mime-w803qqfp.js} +0 -0
  791. /package/dist/chunks/{pty-wc3fc9cn.js → mime-wc3fc9cn.js} +0 -0
  792. /package/dist/chunks/{pty-wer8tq1h.js → mime-wer8tq1h.js} +0 -0
  793. /package/dist/chunks/{pty-wtztk69x.js → mime-wtztk69x.js} +0 -0
  794. /package/dist/chunks/{pty-x0ckcb58.js → mime-x0ckcb58.js} +0 -0
  795. /package/dist/chunks/{pty-x61499pn.js → mime-x61499pn.js} +0 -0
  796. /package/dist/chunks/{pty-y44na4kk.js → mime-y44na4kk.js} +0 -0
  797. /package/dist/chunks/{pty-y8cydn3q.js → mime-y8cydn3q.js} +0 -0
  798. /package/dist/chunks/{pty-y8f7s663.js → mime-y8f7s663.js} +0 -0
  799. /package/dist/chunks/{pty-ygaqb7jw.js → mime-ygaqb7jw.js} +0 -0
  800. /package/dist/chunks/{pty-ym463w8f.js → mime-ym463w8f.js} +0 -0
  801. /package/dist/chunks/{pty-z9919s4g.js → mime-z9919s4g.js} +0 -0
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./pty-qgyvxnrz.js";
4
+ } from "./mime-wvjy0rkm.js";
5
5
  import {
6
6
  PermissionTable2
7
- } from "./pty-54tcyq79.js";
7
+ } from "./mime-ckecvw8r.js";
8
8
  import {
9
9
  __export
10
- } from "./pty-9rqn6x4v.js";
10
+ } from "./mime-9rqn6x4v.js";
11
11
 
12
12
  // src/permission/saved.ts
13
13
  var exports_saved = {};
14
14
  __export(exports_saved, {
15
15
  AddInput: () => AddInput2,
16
- ID: () => ID8,
17
- Info: () => Info21,
16
+ ID: () => ID5,
17
+ Info: () => Info10,
18
18
  ListInput: () => ListInput4,
19
19
  PermissionSaved: () => exports_saved,
20
- Service: () => Service62,
21
- node: () => node65
20
+ Service: () => Service56,
21
+ node: () => node58
22
22
  });
23
23
  import { eq } from "drizzle-orm";
24
24
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
25
25
  import { Project } from "@opencode/schema/project";
26
26
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
27
27
  import { PermissionSaved } from "@opencode/schema/permission-saved";
28
- var ID8 = PermissionSaved.ID;
29
- var Info21 = PermissionSaved.Info;
28
+ var ID5 = PermissionSaved.ID;
29
+ var Info10 = PermissionSaved.Info;
30
30
  var ListInput4 = Schema.Struct({
31
31
  projectID: Project.ID.pipe(Schema.optional)
32
32
  }).annotate({ identifier: "PermissionSaved.ListInput" });
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
36
36
  resources: Schema.Array(Schema.String)
37
37
  }).annotate({ identifier: "PermissionSaved.AddInput" });
38
38
 
39
- class Service62 extends Context.Service()("@opencode/PermissionSaved") {
39
+ class Service56 extends Context.Service()("@opencode/PermissionSaved") {
40
40
  }
41
- var layer = Layer.effect(Service62, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service56, Effect.gen(function* () {
42
42
  const db = (yield* Service84).db;
43
43
  const list = Effect.fnUntraced(function* (input) {
44
44
  const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
57
57
  if (!input.resources.length)
58
58
  return;
59
59
  yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
60
- id: ID8.create(),
60
+ id: ID5.create(),
61
61
  project_id: input.projectID,
62
62
  action: input.action,
63
63
  resource
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
66
66
  const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
67
67
  yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
68
68
  });
69
- return Service62.of({ list, add, remove });
69
+ return Service56.of({ list, add, remove });
70
70
  }));
71
- var node65 = makeGlobalNode({ service: Service62, layer, deps: [node88] });
71
+ var node58 = makeGlobalNode({ service: Service56, layer, deps: [node88] });
72
72
 
73
- export { ID8, Info21, ListInput4, AddInput2, Service62, node65, exports_saved };
73
+ export { ID5, Info10, ListInput4, AddInput2, Service56, node58, exports_saved };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./pty-qgyvxnrz.js";
4
+ } from "./mime-wvjy0rkm.js";
5
5
  import {
6
6
  KVTable2
7
- } from "./pty-3hepkmqq.js";
7
+ } from "./mime-3hepkmqq.js";
8
8
  import {
9
9
  __export
10
- } from "./pty-9rqn6x4v.js";
10
+ } from "./mime-9rqn6x4v.js";
11
11
 
12
12
  // src/kv.ts
13
13
  var exports_kv = {};
14
14
  __export(exports_kv, {
15
15
  KV: () => exports_kv,
16
- Service: () => Service66,
17
- node: () => node69
16
+ Service: () => Service62,
17
+ node: () => node65
18
18
  });
19
19
  import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
20
20
  import { Context, Effect, Layer } from "effect";
21
21
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
22
- class Service66 extends Context.Service()("@opencode/KV") {
22
+ class Service62 extends Context.Service()("@opencode/KV") {
23
23
  }
24
- var layer = Layer.effect(Service66, Effect.gen(function* () {
24
+ var layer = Layer.effect(Service62, Effect.gen(function* () {
25
25
  const db = (yield* Service84).db;
26
- return Service66.of({
26
+ return Service62.of({
27
27
  get: Effect.fn("KV.get")(function* (key) {
28
28
  return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
29
29
  }),
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
51
51
  return;
52
52
  return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
53
53
  }
54
- var node69 = makeGlobalNode({ service: Service66, layer, deps: [node88] });
54
+ var node65 = makeGlobalNode({ service: Service62, layer, deps: [node88] });
55
55
 
56
- export { Service66, node69, exports_kv };
56
+ export { Service62, node65, exports_kv };
@@ -1,50 +1,50 @@
1
1
  import {
2
- Service52
3
- } from "./pty-jy93wyqx.js";
2
+ Service59
3
+ } from "./mime-dtt66365.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./pty-922hggd3.js";
6
+ } from "./mime-922hggd3.js";
7
7
  import {
8
8
  Service80
9
- } from "./pty-twrb86q2.js";
9
+ } from "./mime-2kdwgsh2.js";
10
10
  import {
11
- Service51
12
- } from "./pty-z1swwevk.js";
11
+ Service58
12
+ } from "./mime-rp5c3k0s.js";
13
13
  import {
14
14
  DirectorySource2,
15
15
  UrlSource2,
16
- Source4
17
- } from "./pty-3yakcpj9.js";
16
+ Source3
17
+ } from "./mime-7wny7pda.js";
18
18
  import {
19
- Service12
20
- } from "./pty-nq7qbqzc.js";
19
+ Service10
20
+ } from "./mime-qg0jgkcp.js";
21
21
  import {
22
22
  parse2
23
- } from "./pty-3gnkk110.js";
23
+ } from "./mime-30vqxvem.js";
24
24
  import {
25
25
  __export
26
- } from "./pty-9rqn6x4v.js";
26
+ } from "./mime-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/skill.ts
29
- var exports_skill3 = {};
30
- __export(exports_skill3, {
31
- ConfigSkillPlugin: () => exports_skill3,
32
- Plugin: () => Plugin49
29
+ var exports_skill2 = {};
30
+ __export(exports_skill2, {
31
+ ConfigSkillPlugin: () => exports_skill2,
32
+ Plugin: () => Plugin20
33
33
  });
34
34
  import { define } from "@opencode/plugin/effect/plugin";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
37
  import path from "path";
38
38
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
39
- var Plugin49 = define({
39
+ var Plugin20 = define({
40
40
  id: "opencode.config.skill",
41
41
  effect: Effect.fn(function* (ctx) {
42
- const config = yield* Service51;
43
- const discovery = yield* Service12;
42
+ const config = yield* Service58;
43
+ const discovery = yield* Service10;
44
44
  const fs = yield* FSUtil.Service;
45
45
  const global = yield* Global.Service;
46
46
  const location = yield* Service80;
47
- const watcher = yield* Service52;
47
+ const watcher = yield* Service59;
48
48
  const loaded = {
49
49
  entries: yield* config.entries(),
50
50
  skills: []
@@ -87,7 +87,7 @@ var Plugin49 = define({
87
87
  const sources = () => {
88
88
  const result = [];
89
89
  const add = (source) => {
90
- if (result.some((item) => Source4.equals(item, source)))
90
+ if (result.some((item) => Source3.equals(item, source)))
91
91
  return;
92
92
  result.push(source);
93
93
  };
@@ -112,7 +112,7 @@ var Plugin49 = define({
112
112
  };
113
113
  const load = Effect.fn("ConfigSkillPlugin.load")(function* (source) {
114
114
  const directories = source.type === "directory" ? [source.path] : yield* discovery.pull(source.url).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to load skill source", {
115
- source: Source4.key(source),
115
+ source: Source3.key(source),
116
116
  cause
117
117
  }).pipe(Effect.as([]))));
118
118
  const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
@@ -141,7 +141,7 @@ var Plugin49 = define({
141
141
  }
142
142
  }
143
143
  yield* Effect.logDebug("skill source loaded", {
144
- source: Source4.key(source),
144
+ source: Source3.key(source),
145
145
  type: source.type,
146
146
  directories,
147
147
  skills: skills.map((skill) => skill.id)
@@ -160,7 +160,7 @@ var Plugin49 = define({
160
160
  if (file) {
161
161
  yield* Effect.logInfo("skills rescanned", {
162
162
  file,
163
- sources: current.map(Source4.key),
163
+ sources: current.map(Source3.key),
164
164
  skills: loaded.skills.map((skill) => skill.id)
165
165
  });
166
166
  }
@@ -176,4 +176,4 @@ var Plugin49 = define({
176
176
  })
177
177
  });
178
178
 
179
- export { Plugin49, exports_skill3 };
179
+ export { Plugin20, exports_skill2 };
@@ -1,43 +1,43 @@
1
1
  import {
2
2
  Service84
3
- } from "./pty-qgyvxnrz.js";
3
+ } from "./mime-wvjy0rkm.js";
4
4
  import {
5
- Service59
6
- } from "./pty-9gea571p.js";
5
+ Service42
6
+ } from "./mime-sxzvkvgj.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./pty-7fj5dwt0.js";
9
+ } from "./mime-v1faaxn9.js";
10
10
  import {
11
11
  provenance2
12
- } from "./pty-dg2cj1yd.js";
12
+ } from "./mime-ae0nwvy8.js";
13
13
  import {
14
14
  preview2
15
- } from "./pty-ycxstv38.js";
15
+ } from "./mime-ekv8efyj.js";
16
16
  import {
17
17
  baseTranscript2
18
- } from "./pty-3fqt7tyn.js";
18
+ } from "./mime-k8fbnnjg.js";
19
19
  import {
20
- Service32
21
- } from "./pty-8wqe6q5q.js";
20
+ Service20
21
+ } from "./mime-rk5e9k3p.js";
22
22
  import {
23
23
  __export
24
- } from "./pty-9rqn6x4v.js";
24
+ } from "./mime-9rqn6x4v.js";
25
25
 
26
26
  // src/session/generate.ts
27
- var exports_generate2 = {};
28
- __export(exports_generate2, {
29
- SessionGenerate: () => exports_generate2,
27
+ var exports_generate = {};
28
+ __export(exports_generate, {
29
+ SessionGenerate: () => exports_generate,
30
30
  generate: () => generate2
31
31
  });
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* Service59;
35
+ const instances = yield* Service42;
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* Service32;
40
+ const context = yield* Service20;
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");
@@ -71,4 +71,4 @@ var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
71
71
  }).pipe(instances.provide(input.session));
72
72
  });
73
73
 
74
- export { generate2, exports_generate2 };
74
+ export { generate2, exports_generate };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./pty-2a5m3afh.js";
5
+ } from "./mime-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./pty-9rqn6x4v.js";
8
+ } from "./mime-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/local.ts
11
11
  var exports_local = {};
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./pty-qgyvxnrz.js";
4
+ } from "./mime-wvjy0rkm.js";
5
5
  import {
6
6
  EventSequenceTable2,
7
7
  EventTable2
8
- } from "./pty-2710q6r3.js";
8
+ } from "./mime-2710q6r3.js";
9
9
  import {
10
10
  makeUnsafe2
11
- } from "./pty-y71avatq.js";
11
+ } from "./mime-y71avatq.js";
12
12
  import {
13
13
  __export
14
- } from "./pty-9rqn6x4v.js";
14
+ } from "./mime-9rqn6x4v.js";
15
15
 
16
16
  // src/bus.ts
17
17
  var exports_bus = {};
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  useragent2
3
- } from "./pty-eg2tb1rm.js";
3
+ } from "./mime-de35ch4m.js";
4
4
  import {
5
5
  OAuth3,
6
- Service72
7
- } from "./pty-45tygp0h.js";
6
+ Service78
7
+ } from "./mime-fee1sgdn.js";
8
8
  import {
9
- ID12,
9
+ ID14,
10
10
  MethodID2
11
- } from "./pty-7end9xac.js";
11
+ } from "./mime-bbjzvta2.js";
12
12
  import {
13
- ID11,
13
+ ID13,
14
14
  mergeOverlay2
15
- } from "./pty-t70hw2aa.js";
15
+ } from "./mime-w5py834v.js";
16
16
 
17
17
  // src/plugin/provider/xai.ts
18
18
  import { define } from "@opencode/plugin/effect/plugin";
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
24
24
  var pollingSafetyMargin = 3000;
25
25
  var browserMethodID = MethodID2.make("browser");
26
26
  var deviceMethodID = MethodID2.make("device");
27
- var providerID = ID11.make("xai");
27
+ var providerID = ID13.make("xai");
28
28
  var Token = Schema.Struct({
29
29
  access_token: Schema.String,
30
30
  refresh_token: Schema.optional(Schema.String),
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
44
44
  });
45
45
  var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
46
46
  var device = (app) => ({
47
- integrationID: ID12.make("xai"),
47
+ integrationID: ID14.make("xai"),
48
48
  method: {
49
49
  id: deviceMethodID,
50
50
  type: "oauth",
@@ -69,8 +69,8 @@ var device = (app) => ({
69
69
  var XAIPlugin2 = define({
70
70
  id: "opencode.provider.xai",
71
71
  effect: Effect.fn(function* (ctx) {
72
- const credentials = yield* Service72;
73
- yield* Effect.forEach(yield* credentials.list(ID12.make("xai")), (credential) => {
72
+ const credentials = yield* Service78;
73
+ yield* Effect.forEach(yield* credentials.list(ID14.make("xai")), (credential) => {
74
74
  if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
75
75
  return Effect.void;
76
76
  return credentials.update(credential.id, {
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./pty-mv4t038k.js";
4
+ } from "./mime-b95dy7zp.js";
5
5
  import {
6
- Key3,
7
- Service72,
8
- node75
9
- } from "./pty-45tygp0h.js";
6
+ Key4,
7
+ Service78,
8
+ node82
9
+ } from "./mime-fee1sgdn.js";
10
10
  import {
11
11
  create3
12
- } from "./pty-rdw6cm16.js";
12
+ } from "./mime-rdw6cm16.js";
13
13
  import {
14
14
  validateAnswer2,
15
15
  validateFields2
16
- } from "./pty-t9ag37r3.js";
16
+ } from "./mime-41km3kz5.js";
17
17
  import {
18
18
  __export
19
- } from "./pty-9rqn6x4v.js";
19
+ } from "./mime-9rqn6x4v.js";
20
20
 
21
21
  // src/integration.ts
22
22
  var exports_integration = {};
@@ -31,17 +31,17 @@ __export(exports_integration, {
31
31
  CommandAttemptStatus: () => CommandAttemptStatus2,
32
32
  CommandMethod: () => CommandMethod2,
33
33
  EnvMethod: () => EnvMethod2,
34
- Event: () => Event16,
35
- ID: () => ID12,
36
- Info: () => Info27,
34
+ Event: () => Event18,
35
+ ID: () => ID14,
36
+ Info: () => Info29,
37
37
  Integration: () => exports_integration,
38
38
  KeyMethod: () => KeyMethod2,
39
39
  Method: () => Method2,
40
40
  MethodID: () => MethodID2,
41
41
  OAuthMethod: () => OAuthMethod2,
42
42
  Ref: () => Ref3,
43
- Service: () => Service71,
44
- node: () => node74
43
+ Service: () => Service76,
44
+ node: () => node80
45
45
  });
46
46
  import { makeLocationNode } from "@opencode/util/effect/app-node";
47
47
  import {
@@ -62,8 +62,8 @@ import {
62
62
  import { Integration } from "@opencode/schema/integration";
63
63
  import { AppProcess } from "@opencode/util/process";
64
64
  import { ChildProcess } from "effect/unstable/process";
65
- import { Event as Event16 } from "@opencode/schema/integration";
66
- var ID12 = Integration.ID;
65
+ import { Event as Event18 } from "@opencode/schema/integration";
66
+ var ID14 = Integration.ID;
67
67
  var MethodID2 = Integration.MethodID;
68
68
  var AttemptID2 = Integration.AttemptID;
69
69
  var OAuthMethod2 = Integration.OAuthMethod;
@@ -71,7 +71,7 @@ var CommandMethod2 = Integration.CommandMethod;
71
71
  var KeyMethod2 = Integration.KeyMethod;
72
72
  var EnvMethod2 = Integration.EnvMethod;
73
73
  var Method2 = Integration.Method;
74
- var Info27 = Integration.Info;
74
+ var Info29 = Integration.Info;
75
75
  var Attempt2 = Integration.Attempt;
76
76
  var AttemptStatus2 = Integration.AttemptStatus;
77
77
  var CommandAttempt2 = Integration.CommandAttempt;
@@ -94,19 +94,19 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
94
94
  }
95
95
 
96
96
  class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
97
- integrationID: ID12,
97
+ integrationID: ID14,
98
98
  attemptID: AttemptID2
99
99
  }) {
100
100
  }
101
101
  var Ref3 = Integration.Ref;
102
102
 
103
- class Service71 extends Context.Service()("@opencode/Integration") {
103
+ class Service76 extends Context.Service()("@opencode/Integration") {
104
104
  }
105
105
  var attemptLifetime = Duration.toMillis(Duration.minutes(10));
106
106
  var terminalRetention = Duration.toMillis(Duration.minutes(1));
107
107
  var scrubInterval = Duration.seconds(30);
108
- var layer = Layer.effect(Service71, Effect.gen(function* () {
109
- const credentials = yield* Service72;
108
+ var layer = Layer.effect(Service76, Effect.gen(function* () {
109
+ const credentials = yield* Service78;
110
110
  const bus = yield* Service83;
111
111
  const processes = yield* AppProcess.Service;
112
112
  const scope = yield* Scope.Scope;
@@ -201,7 +201,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
201
201
  const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
202
202
  return [...credentials, ...env];
203
203
  };
204
- const project = (entry, connections) => Info27.make({
204
+ const project = (entry, connections) => Info29.make({
205
205
  id: entry.ref.id,
206
206
  name: entry.ref.name,
207
207
  ...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
@@ -285,7 +285,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
285
285
  const persistence = yield* createCredential({
286
286
  integrationID: attempt.integrationID,
287
287
  label: attempt.label,
288
- value: Key3.make({ type: "key", key: exit.value })
288
+ value: Key4.make({ type: "key", key: exit.value })
289
289
  }).pipe(Effect.asVoid, Effect.exit);
290
290
  const settledAt = yield* Clock.currentTimeMillis;
291
291
  const terminal = Exit.isSuccess(persistence) ? {
@@ -431,7 +431,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
431
431
  }).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
432
432
  return CommandAttempt2.make({ attemptID, time });
433
433
  });
434
- return Service71.of({
434
+ return Service76.of({
435
435
  transform: state.transform,
436
436
  reload: state.reload,
437
437
  revision: state.revision,
@@ -453,7 +453,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
453
453
  resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
454
454
  if (connection.type === "env") {
455
455
  const key = process.env[connection.name];
456
- return key ? Key3.make({ type: "key", key }) : undefined;
456
+ return key ? Key4.make({ type: "key", key }) : undefined;
457
457
  }
458
458
  const credential = yield* credentials.get(connection.id);
459
459
  if (!credential)
@@ -486,7 +486,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
486
486
  yield* createCredential({
487
487
  integrationID: input.integrationID,
488
488
  label: input.label,
489
- value: Key3.make({
489
+ value: Key4.make({
490
490
  type: "key",
491
491
  key: input.key,
492
492
  ...Object.keys(answer).length > 0 ? { configuration: answer } : {}
@@ -580,10 +580,10 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
580
580
  }
581
581
  });
582
582
  }));
583
- var node74 = makeLocationNode({
584
- service: Service71,
583
+ var node80 = makeLocationNode({
584
+ service: Service76,
585
585
  layer,
586
- deps: [node75, node87, AppProcess.node]
586
+ deps: [node82, node87, AppProcess.node]
587
587
  });
588
588
 
589
- export { ID12, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info27, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service71, node74, exports_integration, Event16 };
589
+ export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info29, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service76, node80, exports_integration, Event18 };
@@ -1,44 +1,44 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./pty-mv4t038k.js";
4
+ } from "./mime-b95dy7zp.js";
5
5
  import {
6
6
  create3
7
- } from "./pty-rdw6cm16.js";
7
+ } from "./mime-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./pty-9rqn6x4v.js";
10
+ } from "./mime-9rqn6x4v.js";
11
11
 
12
12
  // src/agent.ts
13
- var exports_agent4 = {};
14
- __export(exports_agent4, {
15
- Agent: () => exports_agent4,
13
+ var exports_agent3 = {};
14
+ __export(exports_agent3, {
15
+ Agent: () => exports_agent3,
16
16
  Color: () => Color2,
17
- Event: () => Event19,
18
- ID: () => ID16,
19
- Info: () => Info31,
17
+ Event: () => Event9,
18
+ ID: () => ID7,
19
+ Info: () => Info12,
20
20
  Name: () => Name3,
21
- Service: () => Service77,
21
+ Service: () => Service57,
22
22
  defaultID: () => defaultID2,
23
- node: () => node81
23
+ node: () => node59
24
24
  });
25
25
  import path from "path";
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
27
27
  import { Array, Context, Effect, Layer } from "effect";
28
28
  import { Agent } from "@opencode/schema/agent";
29
29
  import { Global } from "@opencode/util/global";
30
- import { Event as Event19 } from "@opencode/schema/agent";
30
+ import { Event as Event9 } from "@opencode/schema/agent";
31
31
  var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
32
32
  var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
33
- var ID16 = Agent.ID;
33
+ var ID7 = Agent.ID;
34
34
  var Name3 = Agent.Name;
35
- var defaultID2 = ID16.make("build");
35
+ var defaultID2 = ID7.make("build");
36
36
  var Color2 = Agent.Color;
37
- var Info31 = Agent.Info;
37
+ var Info12 = Agent.Info;
38
38
 
39
- class Service77 extends Context.Service()("@opencode/Agent") {
39
+ class Service57 extends Context.Service()("@opencode/Agent") {
40
40
  }
41
- var layer = Layer.effect(Service77, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service57, Effect.gen(function* () {
42
42
  const bus = yield* Service83;
43
43
  const global = yield* Global.Service;
44
44
  const permissions = [
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
57
57
  editor.default = id;
58
58
  },
59
59
  update: (id, fn) => {
60
- const defaults = Info31.default(id);
60
+ const defaults = Info12.default(id);
61
61
  const current = editor.agents.get(id) ?? {
62
62
  ...defaults,
63
63
  permissions: [...defaults.permissions, ...permissions]
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
79
79
  const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
80
80
  if (configured)
81
81
  return configured;
82
- const build = selectable(data.agents.get(ID16.make("build")));
82
+ const build = selectable(data.agents.get(ID7.make("build")));
83
83
  if (build)
84
84
  return build;
85
85
  for (const agent of data.agents.values()) {
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
88
88
  return fallback;
89
89
  }
90
90
  };
91
- return Service77.of({
91
+ return Service57.of({
92
92
  transform: state.transform,
93
93
  reload: state.reload,
94
94
  get: Effect.fn("Agent.get")(function* (id) {
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
96
96
  }),
97
97
  resolve: Effect.fnUntraced(function* (id) {
98
98
  if (id !== undefined)
99
- return state.get().agents.get(ID16.make(id));
99
+ return state.get().agents.get(ID7.make(id));
100
100
  return selectedDefault();
101
101
  }),
102
102
  select: Effect.fn("Agent.select")(function* (id) {
103
103
  if (id !== undefined) {
104
- const selected = ID16.make(id);
104
+ const selected = ID7.make(id);
105
105
  return { id: selected, info: state.get().agents.get(selected) };
106
106
  }
107
107
  const info = selectedDefault();
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
116
116
  })
117
117
  });
118
118
  }));
119
- var node81 = makeLocationNode({ service: Service77, layer, deps: [node87, Global.node] });
119
+ var node59 = makeLocationNode({ service: Service57, layer, deps: [node87, Global.node] });
120
120
 
121
- export { ID16, Name3, defaultID2, Color2, Info31, Service77, node81, exports_agent4, Event19 };
121
+ export { ID7, Name3, defaultID2, Color2, Info12, Service57, node59, exports_agent3, Event9 };