@opencode/core 0.0.0-dev-20218 → 0.0.0-dev-20219

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 (810) 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 +7 -7
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{state-7c1t3sth.js → file-access-02170c8p.js} +5 -5
  8. package/dist/chunks/{state-kvvpqxe2.js → file-access-0gqkrztv.js} +32 -33
  9. package/dist/chunks/{state-m4mpbz9t.js → file-access-0hj7f8b1.js} +12 -12
  10. package/dist/chunks/{state-bysw588c.js → file-access-0hq2a882.js} +33 -33
  11. package/dist/chunks/{state-z1wdxvxw.js → file-access-0na0gq9y.js} +62 -62
  12. package/dist/chunks/{state-0paq2nw3.js → file-access-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{state-j30mx6hz.js → file-access-0qzc11ky.js} +27 -27
  14. package/dist/chunks/{state-r8xr0va3.js → file-access-1acjjqhc.js} +4 -4
  15. package/dist/chunks/{state-1dazxqgg.js → file-access-1dazxqgg.js} +2 -2
  16. package/dist/chunks/{state-347x2fmn.js → file-access-1fftszxk.js} +10 -10
  17. package/dist/chunks/{state-phx87qke.js → file-access-1fpbszz0.js} +11 -11
  18. package/dist/chunks/{state-vb3nvgyj.js → file-access-1fzqmwms.js} +25 -25
  19. package/dist/chunks/{state-03axkpd7.js → file-access-1va56eq4.js} +26 -26
  20. package/dist/chunks/{state-05vsj3p7.js → file-access-1vvb128b.js} +4 -4
  21. package/dist/chunks/{state-xzc7yfbq.js → file-access-2008k294.js} +24 -24
  22. package/dist/chunks/{state-21r38tys.js → file-access-21r38tys.js} +1 -1
  23. package/dist/chunks/{state-2402vzrj.js → file-access-2402vzrj.js} +1 -1
  24. package/dist/chunks/{state-z63w68vq.js → file-access-29x78va6.js} +6 -6
  25. package/dist/chunks/{state-hdne2gxf.js → file-access-2a26731r.js} +8 -8
  26. package/dist/chunks/{state-2a5m3afh.js → file-access-2a5m3afh.js} +1 -1
  27. package/dist/chunks/{state-7bvkr4r5.js → file-access-2bdsn8gv.js} +11 -11
  28. package/dist/chunks/{state-zy4wzh65.js → file-access-2e4my0rk.js} +17 -17
  29. package/dist/chunks/{state-kfxz280d.js → file-access-2fhv7y2b.js} +15 -15
  30. package/dist/chunks/{state-7dqw4kz8.js → file-access-2k8khapm.js} +5 -5
  31. package/dist/chunks/{state-kbqjp078.js → file-access-2p623br6.js} +5 -5
  32. package/dist/chunks/{state-r3at2bs8.js → file-access-301zh46q.js} +31 -31
  33. package/dist/chunks/{state-akx14ffq.js → file-access-3402q8qq.js} +5 -5
  34. package/dist/chunks/{state-jcwatdg2.js → file-access-342w1vcn.js} +30 -30
  35. package/dist/chunks/{state-k863czh1.js → file-access-3b3aqk9w.js} +12 -12
  36. package/dist/chunks/{state-3fc6dm20.js → file-access-3fc6dm20.js} +1 -1
  37. package/dist/chunks/{state-q6vq307s.js → file-access-3g35pcv0.js} +4 -4
  38. package/dist/chunks/{state-3hepkmqq.js → file-access-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{state-3qb6nqt1.js → file-access-3mwv30z9.js} +13 -31
  40. package/dist/chunks/{state-trg22pty.js → file-access-3sfkgk8j.js} +8 -8
  41. package/dist/chunks/{state-3smtnn6g.js → file-access-3smtnn6g.js} +1 -1
  42. package/dist/chunks/{state-a7n07cbk.js → file-access-3t1ftwb2.js} +15 -15
  43. package/dist/chunks/{state-3tvqynh2.js → file-access-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{state-evbgk2k8.js → file-access-3w0fmcng.js} +5 -5
  45. package/dist/chunks/{state-3zsf4n22.js → file-access-3zsf4n22.js} +1 -1
  46. package/dist/chunks/{state-cw4h18ma.js → file-access-4096n4es.js} +27 -27
  47. package/dist/chunks/{state-686tv83h.js → file-access-49p0ed20.js} +51 -53
  48. package/dist/chunks/{state-4dgbcxzg.js → file-access-4dgbcxzg.js} +1 -1
  49. package/dist/chunks/{state-616betvk.js → file-access-4dspejaa.js} +45 -45
  50. package/dist/chunks/{state-v3vry9cg.js → file-access-4my0r3nx.js} +16 -16
  51. package/dist/chunks/{state-697fm79x.js → file-access-4nzwy074.js} +4 -4
  52. package/dist/chunks/{state-rtathh62.js → file-access-4xhhjths.js} +8 -8
  53. package/dist/chunks/{state-v7vymymh.js → file-access-4xqqv2eq.js} +22 -22
  54. package/dist/chunks/{state-mkh9q7yy.js → file-access-4z01qq42.js} +20 -20
  55. package/dist/chunks/{state-7g5bn0rc.js → file-access-4zh8bh1k.js} +9 -9
  56. package/dist/chunks/{state-ajmg8w9c.js → file-access-57ez7d0k.js} +9 -9
  57. package/dist/chunks/{state-mmcr6kdq.js → file-access-5bvcr52s.js} +20 -20
  58. package/dist/chunks/{state-5daktx2q.js → file-access-5daktx2q.js} +1 -1
  59. package/dist/chunks/{state-4j4tgtq5.js → file-access-5dkn69vz.js} +4 -4
  60. package/dist/chunks/{state-mv23qax8.js → file-access-5e2mts1z.js} +26 -26
  61. package/dist/chunks/file-access-5hg325bh.js +252 -0
  62. package/dist/chunks/{state-cnebggg2.js → file-access-5jnj5r41.js} +27 -27
  63. package/dist/chunks/{state-07ysamf7.js → file-access-5kmzp830.js} +41 -41
  64. package/dist/chunks/{state-5t3nmthw.js → file-access-5t3nmthw.js} +2 -2
  65. package/dist/chunks/file-access-619r8v3y.js +18 -0
  66. package/dist/chunks/{state-669tq793.js → file-access-669tq793.js} +1 -1
  67. package/dist/chunks/{state-wk5z6jzv.js → file-access-6hjx5zpb.js} +9 -9
  68. package/dist/chunks/{state-1gya5ztd.js → file-access-6kksgcx1.js} +3 -3
  69. package/dist/chunks/{state-6msgmcgs.js → file-access-6msgmcgs.js} +1 -1
  70. package/dist/chunks/{state-63kpjth9.js → file-access-6n4b0dsb.js} +9 -9
  71. package/dist/chunks/{state-rkprpv83.js → file-access-6pc27hjz.js} +6 -6
  72. package/dist/chunks/{state-562azfy0.js → file-access-6vgcbnx1.js} +15 -15
  73. package/dist/chunks/{state-9e7tejnn.js → file-access-6xrmt3bc.js} +40 -40
  74. package/dist/chunks/{state-z380d6bz.js → file-access-73k62qrh.js} +33 -33
  75. package/dist/chunks/{state-xkahfabv.js → file-access-779yr38r.js} +24 -24
  76. package/dist/chunks/{state-mjgn9fkd.js → file-access-78hrq4jx.js} +24 -24
  77. package/dist/chunks/{state-843rktzr.js → file-access-78xt172e.js} +37 -37
  78. package/dist/chunks/{state-7bmhse3q.js → file-access-7bmhse3q.js} +1 -1
  79. package/dist/chunks/{state-gtbg8hzf.js → file-access-7cwnxm3f.js} +20 -20
  80. package/dist/chunks/{state-00832hy7.js → file-access-7s2tn799.js} +8 -8
  81. package/dist/chunks/{state-ekw5v65w.js → file-access-8bhq85vc.js} +22 -22
  82. package/dist/chunks/{state-h6p9wsd3.js → file-access-8cr4de2n.js} +43 -43
  83. package/dist/chunks/{state-8d7r5vzw.js → file-access-8d7r5vzw.js} +1 -1
  84. package/dist/chunks/{state-mcq35w5h.js → file-access-8df8erbe.js} +15 -15
  85. package/dist/chunks/{state-42hej837.js → file-access-8nmhxbrx.js} +22 -22
  86. package/dist/chunks/{state-3x4m5qd9.js → file-access-8pbjw162.js} +18 -18
  87. package/dist/chunks/{state-kbetmkvn.js → file-access-911xaqx0.js} +24 -24
  88. package/dist/chunks/{state-fj9t785f.js → file-access-914x9242.js} +5 -5
  89. package/dist/chunks/{state-dpdh24t4.js → file-access-93aj03xk.js} +27 -27
  90. package/dist/chunks/{state-94ek1h2f.js → file-access-94ek1h2f.js} +2 -2
  91. package/dist/chunks/{state-xgmh5kwe.js → file-access-9a8936n8.js} +44 -44
  92. package/dist/chunks/{state-br0tr5aq.js → file-access-9hn6k4tm.js} +8 -8
  93. package/dist/chunks/{state-5zvmc3ez.js → file-access-9j9p4yd9.js} +20 -20
  94. package/dist/chunks/{state-sx3dk1aa.js → file-access-9sy143aw.js} +3 -3
  95. package/dist/chunks/file-access-9t1exmx7.js +507 -0
  96. package/dist/chunks/{state-gm9d908t.js → file-access-a1n80dmw.js} +18 -18
  97. package/dist/chunks/{state-xrnnsjt5.js → file-access-a4cmfvx0.js} +4 -4
  98. package/dist/chunks/{state-8t4yhv83.js → file-access-a5emdzv3.js} +69 -69
  99. package/dist/chunks/{state-6wq59zjx.js → file-access-a6q3q10g.js} +30 -30
  100. package/dist/chunks/{state-aaet6srn.js → file-access-aaet6srn.js} +2 -2
  101. package/dist/chunks/{state-wkfs9xf1.js → file-access-am8bjgc7.js} +10 -10
  102. package/dist/chunks/{state-w12jd273.js → file-access-amee31y2.js} +25 -25
  103. package/dist/chunks/{state-dfe8djrf.js → file-access-an7cqtb7.js} +4 -4
  104. package/dist/chunks/{state-e0bbdjrn.js → file-access-aqx1t2w1.js} +3 -3
  105. package/dist/chunks/{state-h180zsc3.js → file-access-are7hw82.js} +5 -5
  106. package/dist/chunks/{state-kwh57d2a.js → file-access-axh3bb98.js} +17 -17
  107. package/dist/chunks/{state-qj8eh1ht.js → file-access-axmvebxj.js} +21 -21
  108. package/dist/chunks/{state-anj5zhyn.js → file-access-b1qxe6t8.js} +27 -27
  109. package/dist/chunks/{state-kjdd0312.js → file-access-b3vjrmmd.js} +10 -10
  110. package/dist/chunks/{state-b6gygkdw.js → file-access-b6gygkdw.js} +2 -2
  111. package/dist/chunks/{state-p8x2zf1r.js → file-access-bhjh1468.js} +34 -34
  112. package/dist/chunks/{state-25d919r2.js → file-access-bm7jthd3.js} +29 -29
  113. package/dist/chunks/{state-wcj256t6.js → file-access-c05qyvmj.js} +42 -42
  114. package/dist/chunks/{state-h5tv3rwb.js → file-access-c2fkv48w.js} +13 -13
  115. package/dist/chunks/{state-he0atntt.js → file-access-c3jkddnq.js} +3 -3
  116. package/dist/chunks/{state-0mh48h74.js → file-access-cgwxh910.js} +17 -17
  117. package/dist/chunks/{state-ckecvw8r.js → file-access-ckecvw8r.js} +2 -2
  118. package/dist/chunks/{state-sresy5h2.js → file-access-d5ggx3gj.js} +3 -3
  119. package/dist/chunks/{state-s5vp1x85.js → file-access-d5wfqpep.js} +6 -6
  120. package/dist/chunks/{state-kbv8ef41.js → file-access-dbsq4pwp.js} +23 -23
  121. package/dist/chunks/{state-6ge9xvdz.js → file-access-dq0v80fr.js} +12 -12
  122. package/dist/chunks/{state-drwq78ky.js → file-access-drwq78ky.js} +1 -1
  123. package/dist/chunks/{state-5qd3pb7m.js → file-access-e3qxr5gk.js} +2 -2
  124. package/dist/chunks/{state-p3qswy66.js → file-access-e7v7ag1x.js} +11 -11
  125. package/dist/chunks/{state-0xx33ygk.js → file-access-ea9m5r7a.js} +87 -87
  126. package/dist/chunks/{state-ecfe7b91.js → file-access-ecfe7b91.js} +2 -2
  127. package/dist/chunks/{state-ef5x83kb.js → file-access-ef5x83kb.js} +1 -1
  128. package/dist/chunks/{state-fqs56ekt.js → file-access-egxmeba7.js} +25 -25
  129. package/dist/chunks/{state-v997gcsz.js → file-access-ehdjeyg2.js} +19 -19
  130. package/dist/chunks/{state-x7v2bm1t.js → file-access-ej6hc95k.js} +9 -9
  131. package/dist/chunks/{state-zee1rnkq.js → file-access-embw8kgh.js} +4 -4
  132. package/dist/chunks/{state-wjjgdhkj.js → file-access-eq6cnfxg.js} +11 -11
  133. package/dist/chunks/{state-5n657pg2.js → file-access-eqswh4p0.js} +3 -3
  134. package/dist/chunks/{state-etq0c3wd.js → file-access-etq0c3wd.js} +1 -1
  135. package/dist/chunks/{state-fz7zprw4.js → file-access-etwd8xdv.js} +9 -9
  136. package/dist/chunks/{state-r7m9tyc3.js → file-access-f062ken5.js} +6 -6
  137. package/dist/chunks/{state-3pkc36ya.js → file-access-f4mxeny4.js} +7 -7
  138. package/dist/chunks/{state-2mkrz92g.js → file-access-f73kw1rr.js} +26 -26
  139. package/dist/chunks/{state-n35nve9s.js → file-access-fne2zcz7.js} +11 -11
  140. package/dist/chunks/{state-pf2hb43r.js → file-access-fvanntqq.js} +6 -6
  141. package/dist/chunks/{state-32ymn5e1.js → file-access-fx3wdqb9.js} +9 -9
  142. package/dist/chunks/{state-pc1a02me.js → file-access-fy9ksp8t.js} +30 -30
  143. package/dist/chunks/{state-h6b02349.js → file-access-g5agzp2h.js} +5 -5
  144. package/dist/chunks/{state-za8zfcmp.js → file-access-g7vt4ewv.js} +178 -178
  145. package/dist/chunks/{state-gd4qta3r.js → file-access-gd4qta3r.js} +1 -1
  146. package/dist/chunks/{state-bd1518y4.js → file-access-gdh5zwy9.js} +9 -9
  147. package/dist/chunks/{state-jpybm3yb.js → file-access-gfvr1m8q.js} +13 -13
  148. package/dist/chunks/{state-gv6a8nnw.js → file-access-gv6a8nnw.js} +2 -2
  149. package/dist/chunks/{state-7ve2bcyf.js → file-access-gz0m67vm.js} +22 -22
  150. package/dist/chunks/{state-hd8vw2pw.js → file-access-h5w29vws.js} +1 -1
  151. package/dist/chunks/{state-h3fwwd3m.js → file-access-h6q283th.js} +21 -21
  152. package/dist/chunks/{state-h6vf3j39.js → file-access-h6vf3j39.js} +1 -1
  153. package/dist/chunks/{state-r5wgqceq.js → file-access-hq8zt1th.js} +6 -6
  154. package/dist/chunks/{state-pey5f48j.js → file-access-hzmns3wg.js} +1 -1
  155. package/dist/chunks/{state-pvmg7gn1.js → file-access-j22g0rnm.js} +11 -11
  156. package/dist/chunks/{state-ndqtf2h8.js → file-access-j5208yae.js} +5 -5
  157. package/dist/chunks/{state-j56e64zr.js → file-access-j56e64zr.js} +1 -1
  158. package/dist/chunks/{state-6b0e6jr0.js → file-access-jcg2nqds.js} +54 -54
  159. package/dist/chunks/{state-5mcapwzv.js → file-access-jda6501c.js} +32 -32
  160. package/dist/chunks/{state-w9pb4be2.js → file-access-jhgteaw4.js} +17 -17
  161. package/dist/chunks/{state-w2xscrkm.js → file-access-k070rzvq.js} +88 -88
  162. package/dist/chunks/{state-espax8zg.js → file-access-k0a3z2qz.js} +4 -4
  163. package/dist/chunks/{state-k3c624dm.js → file-access-k3c624dm.js} +3 -3
  164. package/dist/chunks/{state-eb7aytjb.js → file-access-khtcj2vc.js} +30 -30
  165. package/dist/chunks/{state-5h68hgfk.js → file-access-kxastgyr.js} +28 -28
  166. package/dist/chunks/{state-nng2ktcm.js → file-access-ky3seynh.js} +2 -2
  167. package/dist/chunks/{state-m3fdjcah.js → file-access-m3fdjcah.js} +1 -1
  168. package/dist/chunks/{state-ajzatwsb.js → file-access-m6x2wn8b.js} +14 -14
  169. package/dist/chunks/{state-k0sbk250.js → file-access-m9tnd93v.js} +23 -23
  170. package/dist/chunks/{state-m9w0rfyh.js → file-access-m9w0rfyh.js} +1 -1
  171. package/dist/chunks/{state-axbkptea.js → file-access-mce70z9k.js} +2 -2
  172. package/dist/chunks/{state-x2kfg3xp.js → file-access-mdrzgh0c.js} +11 -11
  173. package/dist/chunks/{state-56gdpj1q.js → file-access-mfqp6xfm.js} +6 -6
  174. package/dist/chunks/{state-jfqgnx50.js → file-access-mh417yj2.js} +6 -6
  175. package/dist/chunks/{state-w2ffkqsz.js → file-access-mpeg9c4h.js} +18 -18
  176. package/dist/chunks/{state-1zde08dm.js → file-access-mqnkr8x4.js} +6 -6
  177. package/dist/chunks/{state-r5x6zcsm.js → file-access-mvfsc1pv.js} +3 -3
  178. package/dist/chunks/{state-f6ggn7ee.js → file-access-n1jysz1p.js} +24 -24
  179. package/dist/chunks/{state-jc9t9v97.js → file-access-nay98bnt.js} +15 -15
  180. package/dist/chunks/{state-bwhv742z.js → file-access-nmj3j4b2.js} +10 -10
  181. package/dist/chunks/{state-treznftm.js → file-access-nyn33q22.js} +16 -16
  182. package/dist/chunks/{state-nvfvfdqj.js → file-access-p1centea.js} +9 -9
  183. package/dist/chunks/{state-3631mzea.js → file-access-p23sct0g.js} +9 -9
  184. package/dist/chunks/{state-vwryqt0b.js → file-access-p7cft6yn.js} +7 -7
  185. package/dist/chunks/{state-qpyfagd9.js → file-access-p7mbcwcb.js} +8 -8
  186. package/dist/chunks/{state-g534k4t5.js → file-access-p91mzttq.js} +15 -15
  187. package/dist/chunks/{state-pm9q95bv.js → file-access-pc2x3pek.js} +11 -11
  188. package/dist/chunks/{state-mvksx64m.js → file-access-pccq72bz.js} +4 -4
  189. package/dist/chunks/{state-pjvnvgmy.js → file-access-pjvnvgmy.js} +1 -1
  190. package/dist/chunks/{state-pknna89w.js → file-access-pknna89w.js} +1 -1
  191. package/dist/chunks/{state-73kdj4zj.js → file-access-pnaxc6j9.js} +4 -4
  192. package/dist/chunks/{state-c5885s0q.js → file-access-pp173efe.js} +11 -11
  193. package/dist/chunks/{state-qrkzvyze.js → file-access-pw8s4ynb.js} +17 -17
  194. package/dist/chunks/{state-abyvc0ab.js → file-access-pydn7ak2.js} +18 -18
  195. package/dist/chunks/{state-mgqv9cjv.js → file-access-q2pj9hmq.js} +8 -8
  196. package/dist/chunks/{state-f5q2cchh.js → file-access-q31ybm9w.js} +10 -10
  197. package/dist/chunks/{state-s3366ge2.js → file-access-q44wpwgt.js} +23 -23
  198. package/dist/chunks/{state-ryr25ayn.js → file-access-qa3qhgw8.js} +4 -4
  199. package/dist/chunks/{state-aq25p0km.js → file-access-qfdmkt50.js} +32 -32
  200. package/dist/chunks/{state-jjs74g98.js → file-access-qg0jgkcp.js} +9 -9
  201. package/dist/chunks/{state-a2ax3qpg.js → file-access-qje44bf3.js} +3 -3
  202. package/dist/chunks/{state-qsdy395h.js → file-access-qsdy395h.js} +1 -1
  203. package/dist/chunks/{state-r3yqybmq.js → file-access-qsewrvhd.js} +7 -7
  204. package/dist/chunks/{state-0r7yqxbf.js → file-access-qte5z7bc.js} +5 -5
  205. package/dist/chunks/{state-e22zwrdw.js → file-access-r0gnj1sa.js} +5 -5
  206. package/dist/chunks/{state-djszqvmq.js → file-access-r2m716tb.js} +9 -9
  207. package/dist/chunks/{state-7yjkh209.js → file-access-r4k1wyhr.js} +3 -3
  208. package/dist/chunks/{state-zqktqd3m.js → file-access-r58we06e.js} +8 -6
  209. package/dist/chunks/{state-b3sqm8qs.js → file-access-rc0bg82d.js} +10 -10
  210. package/dist/chunks/{state-rdw6cm16.js → file-access-rdw6cm16.js} +1 -1
  211. package/dist/chunks/{state-c2wmnxd0.js → file-access-rdzdpb0f.js} +14 -14
  212. package/dist/chunks/{state-avz33p24.js → file-access-rfw6gmm3.js} +10 -10
  213. package/dist/chunks/{state-fjc6nchj.js → file-access-rgnahn02.js} +24 -24
  214. package/dist/chunks/{state-yx0rmv9r.js → file-access-rtv6ahp9.js} +6 -6
  215. package/dist/chunks/{state-g8damagz.js → file-access-rwt9bvf4.js} +11 -11
  216. package/dist/chunks/{state-yrznvahk.js → file-access-s4enseaf.js} +2 -2
  217. package/dist/chunks/{state-4ve5k4jc.js → file-access-sfce5m8y.js} +8 -8
  218. package/dist/chunks/{state-nt1mtbhg.js → file-access-sfk4w328.js} +16 -16
  219. package/dist/chunks/{state-k4eksvdb.js → file-access-sgf2gghg.js} +11 -11
  220. package/dist/chunks/{state-b9cdatme.js → file-access-sgwr1j85.js} +24 -24
  221. package/dist/chunks/{state-g27ndhem.js → file-access-sjxp2wb1.js} +25 -25
  222. package/dist/chunks/{state-k24hn4de.js → file-access-sqfdps7q.js} +8 -8
  223. package/dist/chunks/{state-m8qwvxaw.js → file-access-sqgwgmch.js} +22 -22
  224. package/dist/chunks/{state-5gpdyetc.js → file-access-sy6yxnp0.js} +17 -17
  225. package/dist/chunks/{state-rhjbct0v.js → file-access-t550f9t1.js} +4 -4
  226. package/dist/chunks/{state-kyyn4ww3.js → file-access-t6h1g1g5.js} +13 -13
  227. package/dist/chunks/{state-srs9dwz9.js → file-access-t94cg862.js} +9 -9
  228. package/dist/chunks/{state-tazgh4e4.js → file-access-tazgh4e4.js} +1 -1
  229. package/dist/chunks/{state-tcezcvh9.js → file-access-tcezcvh9.js} +1 -1
  230. package/dist/chunks/{state-tdstcens.js → file-access-tdstcens.js} +1 -1
  231. package/dist/chunks/{state-sqb9y0cm.js → file-access-tm3ganxf.js} +20 -20
  232. package/dist/chunks/{state-8kb9ad1g.js → file-access-tmyr738p.js} +23 -23
  233. package/dist/chunks/{state-tvtrv512.js → file-access-tvtrv512.js} +1 -1
  234. package/dist/chunks/{state-gqc82067.js → file-access-twytakqq.js} +5 -5
  235. package/dist/chunks/{state-s87y6m3g.js → file-access-tx6fw33t.js} +13 -13
  236. package/dist/chunks/{state-ysemb9nv.js → file-access-tzt8249x.js} +11 -11
  237. package/dist/chunks/{state-vb2kgc45.js → file-access-v0t94end.js} +5 -5
  238. package/dist/chunks/{state-405avf1k.js → file-access-v81977ac.js} +11 -11
  239. package/dist/chunks/{state-veqvce7d.js → file-access-veqvce7d.js} +1 -1
  240. package/dist/chunks/{state-7k0859n8.js → file-access-vewd95as.js} +19 -19
  241. package/dist/chunks/{state-xmw0p0yx.js → file-access-vfdyctpy.js} +19 -19
  242. package/dist/chunks/{state-0gapa1rm.js → file-access-vrpz8t5t.js} +5 -5
  243. package/dist/chunks/{state-cbszzs6d.js → file-access-vsat1x4f.js} +10 -10
  244. package/dist/chunks/{state-338yrj73.js → file-access-vvdre5gq.js} +39 -39
  245. package/dist/chunks/{state-d06nhcag.js → file-access-vx9ej7x5.js} +16 -16
  246. package/dist/chunks/{state-vzcthcp8.js → file-access-vzcthcp8.js} +1 -1
  247. package/dist/chunks/{state-vzs5sf6e.js → file-access-vzs5sf6e.js} +1 -1
  248. package/dist/chunks/{state-764xmq7n.js → file-access-w1h00q37.js} +16 -16
  249. package/dist/chunks/{state-pvg53n3j.js → file-access-w3tfrc1q.js} +43 -43
  250. package/dist/chunks/{state-w3wsvvr9.js → file-access-w3wsvvr9.js} +1 -1
  251. package/dist/chunks/{state-at4p1dba.js → file-access-w5ebx16g.js} +18 -18
  252. package/dist/chunks/{state-3ban7q1k.js → file-access-wbq604wr.js} +30 -30
  253. package/dist/chunks/{state-wd3x2cqz.js → file-access-wd3x2cqz.js} +2 -2
  254. package/dist/chunks/{state-wd87259q.js → file-access-wd87259q.js} +1 -1
  255. package/dist/chunks/{state-x1ezjp6w.js → file-access-x1ezjp6w.js} +1 -1
  256. package/dist/chunks/{state-ywyx2haj.js → file-access-x5h44zm2.js} +9 -9
  257. package/dist/chunks/{state-xqbar29h.js → file-access-xa86a8qv.js} +4 -4
  258. package/dist/chunks/{state-14yk5par.js → file-access-xak1a13c.js} +15 -15
  259. package/dist/chunks/{state-ev7a3h22.js → file-access-xax8qz02.js} +53 -53
  260. package/dist/chunks/{state-kjg680bv.js → file-access-xgqanhs1.js} +10 -10
  261. package/dist/chunks/{state-fvfccrab.js → file-access-xhj0xgtv.js} +4 -4
  262. package/dist/chunks/{state-xkntkrq7.js → file-access-xkntkrq7.js} +2 -2
  263. package/dist/chunks/{state-yn0cfv5b.js → file-access-xt7040bk.js} +1 -1
  264. package/dist/chunks/{state-cmxzdf4d.js → file-access-xtnt4vmq.js} +12 -12
  265. package/dist/chunks/{state-7w99qc9d.js → file-access-xxynqx5z.js} +2 -2
  266. package/dist/chunks/{state-y1fvbwt7.js → file-access-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{state-n898jteq.js → file-access-y3vytq0t.js} +11 -11
  268. package/dist/chunks/{state-jewzahs7.js → file-access-y6mhz57t.js} +4 -4
  269. package/dist/chunks/{state-y71avatq.js → file-access-y71avatq.js} +1 -1
  270. package/dist/chunks/{state-ga2xd9w7.js → file-access-yakgq9vr.js} +15 -15
  271. package/dist/chunks/{state-3fpxrx1n.js → file-access-yavsy04x.js} +10 -10
  272. package/dist/chunks/{state-7g38j68k.js → file-access-ypp77dnm.js} +24 -24
  273. package/dist/chunks/{state-yrhqyw5v.js → file-access-yrhqyw5v.js} +1 -1
  274. package/dist/chunks/{state-d2aac7k2.js → file-access-yt0fqk68.js} +5 -5
  275. package/dist/chunks/{state-vka635y3.js → file-access-yy1qatwb.js} +19 -19
  276. package/dist/chunks/{state-5mnv6qns.js → file-access-yzmqgt45.js} +20 -20
  277. package/dist/chunks/{state-z07pqspn.js → file-access-z07pqspn.js} +3 -3
  278. package/dist/chunks/{state-z0bkrqjs.js → file-access-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{state-qs75wfsq.js → file-access-z3anv38p.js} +8 -8
  280. package/dist/chunks/{state-6ysrkrkr.js → file-access-z5rd9rww.js} +8 -8
  281. package/dist/chunks/{state-4p1epq1b.js → file-access-z6rbkfvk.js} +5 -5
  282. package/dist/chunks/{state-3wrtxrr4.js → file-access-za77p82n.js} +6 -6
  283. package/dist/chunks/{state-zeh9ct20.js → file-access-zeh9ct20.js} +2 -2
  284. package/dist/chunks/{state-jx4tfryq.js → file-access-zfamtpfd.js} +11 -11
  285. package/dist/chunks/{state-3dhcjsqz.js → file-access-zgbj96fe.js} +25 -25
  286. package/dist/chunks/{state-6hyw96xs.js → file-access-zm32e97v.js} +9 -9
  287. package/dist/chunks/file-access-znyh501z.js +26 -0
  288. package/dist/chunks/{state-qhv8q597.js → file-access-zqmnyjkg.js} +20 -20
  289. package/dist/chunks/{state-zr2ceqn5.js → file-access-zr2ceqn5.js} +1 -1
  290. package/dist/chunks/{state-5md0szhq.js → file-access-zr4a2xz6.js} +48 -48
  291. package/dist/chunks/{state-zxq2ej10.js → file-access-zxq2ej10.js} +1 -1
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +5 -5
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +81 -81
  297. package/dist/config/discovery.js +82 -82
  298. package/dist/config/markdown.js +1 -1
  299. package/dist/config/normalize.js +106 -106
  300. package/dist/config/plugin/agent.js +123 -123
  301. package/dist/config/plugin/command.js +212 -212
  302. package/dist/config/plugin/compaction.js +160 -160
  303. package/dist/config/plugin/compatibility.js +141 -141
  304. package/dist/config/plugin/entry-observer.js +1 -1
  305. package/dist/config/plugin/formatter.js +124 -124
  306. package/dist/config/plugin/image.js +123 -123
  307. package/dist/config/plugin/instruction.js +90 -90
  308. package/dist/config/plugin/location-watcher.js +125 -125
  309. package/dist/config/plugin/mcp.js +130 -130
  310. package/dist/config/plugin/policy.js +124 -124
  311. package/dist/config/plugin/provider.js +123 -123
  312. package/dist/config/plugin/reference.js +125 -125
  313. package/dist/config/plugin/shell.js +123 -123
  314. package/dist/config/plugin/skill-file.js +102 -102
  315. package/dist/config/plugin/skill.js +142 -142
  316. package/dist/config/plugin/snapshot.js +123 -123
  317. package/dist/config/plugin/source.js +126 -126
  318. package/dist/config/plugin/tool-output.js +125 -125
  319. package/dist/config/plugin/websearch.js +122 -122
  320. package/dist/config/plugin/worktree.js +125 -125
  321. package/dist/config/variable.js +3 -3
  322. package/dist/config/watch.js +1 -1
  323. package/dist/config.js +128 -128
  324. package/dist/credential/sql.js +2 -2
  325. package/dist/credential.js +81 -81
  326. package/dist/database/database.js +66 -66
  327. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  328. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  330. package/dist/database/drizzle/index.js +13 -13
  331. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  334. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  341. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  342. package/dist/database/drizzle.js +14 -14
  343. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  344. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  345. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  346. package/dist/database/migration/20260225215848_workspace.js +1 -1
  347. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  348. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  349. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  350. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  351. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  352. package/dist/database/migration/20260323234822_events.js +1 -1
  353. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  354. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  355. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  356. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  357. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  358. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  359. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  360. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  361. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  362. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  363. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  364. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  365. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  366. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  367. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  368. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  369. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  370. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  371. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  372. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  373. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  374. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  375. package/dist/database/migration/20260611035744_credential.js +1 -1
  376. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  377. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  378. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  379. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  380. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  381. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  382. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  383. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  384. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  385. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  386. package/dist/database/migration/20260812213948_worktree.js +1 -1
  387. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  388. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  389. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  390. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  391. package/dist/database/migration.gen.js +49 -49
  392. package/dist/database/migration.js +51 -51
  393. package/dist/database/path.js +2 -2
  394. package/dist/database/schema.gen.js +1 -1
  395. package/dist/database/schema.sql.js +1 -1
  396. package/dist/database/sqlite.bun.js +1 -1
  397. package/dist/database/sqlite.js +1 -1
  398. package/dist/database/sqlite.node.js +1 -1
  399. package/dist/database/sqlite.workerd.js +1 -1
  400. package/dist/database/v1-migration.bun.js +76 -76
  401. package/dist/database/v1-migration.js +1 -1
  402. package/dist/effect/app-node-builder.js +370 -371
  403. package/dist/effect/app-node-platform.js +2 -2
  404. package/dist/effect/keyed-mutex.js +1 -1
  405. package/dist/effect/websocket-constructor.js +1 -1
  406. package/dist/environment/driver.js +1 -1
  407. package/dist/environment/environment.js +93 -93
  408. package/dist/environment/exec-defaults.js +2 -2
  409. package/dist/environment/files.js +1 -1
  410. package/dist/environment/index.js +95 -95
  411. package/dist/environment/local.js +2 -2
  412. package/dist/environment/memory.js +2 -2
  413. package/dist/environment/unavailable.js +1 -1
  414. package/dist/event/sql.js +1 -1
  415. package/dist/event-logger.js +70 -70
  416. package/dist/file-access.js +104 -104
  417. package/dist/file-mutation.js +94 -94
  418. package/dist/file-retention.js +1 -1
  419. package/dist/filesystem/fff.bun.js +2 -2
  420. package/dist/filesystem/fff.js +1 -1
  421. package/dist/filesystem/fff.node.js +2 -2
  422. package/dist/filesystem/fff.workerd.js +2 -2
  423. package/dist/filesystem/ignore.js +1 -1
  424. package/dist/filesystem/location-watcher-policy.js +6 -6
  425. package/dist/filesystem/location-watcher.js +227 -227
  426. package/dist/filesystem/protected.js +1 -1
  427. package/dist/filesystem/search.js +103 -103
  428. package/dist/filesystem/watcher-binding.js +3 -3
  429. package/dist/filesystem/watcher.js +15 -15
  430. package/dist/filesystem.js +106 -106
  431. package/dist/form.js +82 -82
  432. package/dist/formatter/builtins.js +4 -4
  433. package/dist/formatter.js +83 -83
  434. package/dist/generate.js +103 -103
  435. package/dist/git.js +10 -10
  436. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  437. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  438. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  440. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  442. package/dist/github-copilot/copilot-provider.js +17 -17
  443. package/dist/github-copilot/models.js +91 -91
  444. package/dist/github-copilot/openai-compatible-error.js +1 -1
  445. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  446. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  447. package/dist/github-copilot/responses/openai-error.js +1 -1
  448. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  449. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  450. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  451. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  452. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  455. package/dist/id/id.js +1 -1
  456. package/dist/image/photon.js +2 -2
  457. package/dist/image.js +6 -6
  458. package/dist/instance/service.js +5 -5
  459. package/dist/instance.js +361 -362
  460. package/dist/instruction-discovery.js +85 -85
  461. package/dist/instructions/builtins.js +87 -87
  462. package/dist/instructions/index.js +3 -3
  463. package/dist/integration/connection.js +1 -1
  464. package/dist/integration.js +84 -84
  465. package/dist/job.js +79 -79
  466. package/dist/kv/sql.js +2 -2
  467. package/dist/kv.js +73 -73
  468. package/dist/location-activity.js +132 -132
  469. package/dist/location-lifecycle.js +107 -107
  470. package/dist/location-service-map.js +86 -86
  471. package/dist/location-services.js +358 -359
  472. package/dist/location.js +87 -87
  473. package/dist/managed-policy.js +5 -5
  474. package/dist/mcp/client.js +91 -91
  475. package/dist/mcp/index.js +108 -110
  476. package/dist/mcp/instructions.js +126 -126
  477. package/dist/mcp/oauth.js +78 -78
  478. package/dist/mcp/stdio.js +90 -90
  479. package/dist/mime.js +1 -1
  480. package/dist/modal/models.js +91 -91
  481. package/dist/model-resolver.js +110 -110
  482. package/dist/model.js +98 -98
  483. package/dist/models-dev.js +101 -101
  484. package/dist/oauth/page.js +1 -1
  485. package/dist/permission/saved.js +82 -82
  486. package/dist/permission/sql.js +5 -5
  487. package/dist/permission.js +113 -113
  488. package/dist/persistent-pty/binary.bun.js +1 -1
  489. package/dist/persistent-pty/daemon.js +1 -1
  490. package/dist/persistent-pty/index.js +86 -86
  491. package/dist/persistent-pty/pty-binding.js +1 -1
  492. package/dist/persistent-pty.js +75 -75
  493. package/dist/plugin/agent.js +102 -102
  494. package/dist/plugin/command.js +99 -99
  495. package/dist/plugin/hooks.js +3 -3
  496. package/dist/plugin/host.js +218 -218
  497. package/dist/plugin/identity.js +3 -3
  498. package/dist/plugin/instance.js +5 -5
  499. package/dist/plugin/internal.js +333 -333
  500. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  501. package/dist/plugin/models-dev.js +96 -96
  502. package/dist/plugin/module.js +7 -7
  503. package/dist/plugin/optimize.js +4 -4
  504. package/dist/plugin/plan.js +102 -102
  505. package/dist/plugin/promise.js +1 -1
  506. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  507. package/dist/plugin/provider/azure.js +122 -122
  508. package/dist/plugin/provider/cerebras.js +1 -1
  509. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  510. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  511. package/dist/plugin/provider/cohere.js +2 -2
  512. package/dist/plugin/provider/configured.js +119 -119
  513. package/dist/plugin/provider/digitalocean.js +93 -93
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/gateway.js +2 -2
  517. package/dist/plugin/provider/github-copilot.js +94 -94
  518. package/dist/plugin/provider/gitlab.js +93 -93
  519. package/dist/plugin/provider/google-vertex.js +90 -90
  520. package/dist/plugin/provider/kilo.js +1 -1
  521. package/dist/plugin/provider/llmgateway.js +77 -77
  522. package/dist/plugin/provider/lmstudio.js +122 -122
  523. package/dist/plugin/provider/modal.js +92 -92
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +122 -122
  526. package/dist/plugin/provider/openai.js +94 -94
  527. package/dist/plugin/provider/opencode.js +95 -95
  528. package/dist/plugin/provider/openrouter.js +91 -91
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +78 -78
  531. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  532. package/dist/plugin/provider/sap-ai-core.js +91 -91
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  535. package/dist/plugin/provider/venice.js +2 -2
  536. package/dist/plugin/provider/vercel.js +90 -90
  537. package/dist/plugin/provider/vllm.js +122 -122
  538. package/dist/plugin/provider/xai.js +91 -91
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +161 -161
  541. package/dist/plugin/sdk.js +76 -76
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +141 -141
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +352 -352
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +6 -6
  548. package/dist/plugin/vcs/git.js +86 -86
  549. package/dist/plugin/vcs/hg.js +86 -86
  550. package/dist/plugin/verbosity.js +93 -93
  551. package/dist/plugin/warming.js +121 -121
  552. package/dist/plugin/websearch/exa.js +7 -7
  553. package/dist/plugin/websearch/firecrawl.js +8 -8
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +4 -4
  556. package/dist/plugin/websearch/parallel.js +8 -8
  557. package/dist/plugin/websearch/tavily.js +6 -6
  558. package/dist/plugin/websearch/tinyfish.js +6 -6
  559. package/dist/plugin.js +225 -225
  560. package/dist/project/schema.js +8 -8
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +90 -90
  563. package/dist/provider.js +97 -97
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +97 -96
  567. package/dist/reference/instructions.js +87 -87
  568. package/dist/reference.js +89 -89
  569. package/dist/repository-cache.js +81 -81
  570. package/dist/repository.js +1 -1
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +97 -97
  573. package/dist/rpc.js +86 -86
  574. package/dist/schema.js +1 -1
  575. package/dist/session/command.js +74 -74
  576. package/dist/session/compaction.js +134 -134
  577. package/dist/session/context.js +152 -152
  578. package/dist/session/diff.js +88 -88
  579. package/dist/session/environment.js +5 -5
  580. package/dist/session/error.js +7 -7
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +221 -221
  583. package/dist/session/execution.js +128 -128
  584. package/dist/session/generate.js +153 -153
  585. package/dist/session/history.js +15 -15
  586. package/dist/session/inbox.js +90 -90
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +79 -79
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +97 -97
  591. package/dist/session/message-updater.js +2 -2
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +119 -119
  594. package/dist/session/model-transport.js +9 -9
  595. package/dist/session/move.js +130 -130
  596. package/dist/session/projector.js +86 -86
  597. package/dist/session/prompt.js +105 -105
  598. package/dist/session/provider-context.js +3 -3
  599. package/dist/session/revert.js +90 -90
  600. package/dist/session/run-coordinator.js +3 -3
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +231 -231
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +98 -110
  605. package/dist/session/runner/publish-llm-event.js +3 -3
  606. package/dist/session/runner/retry.js +4 -4
  607. package/dist/session/runner/step.js +126 -126
  608. package/dist/session/runner/to-llm-message.js +2 -2
  609. package/dist/session/schema.js +3 -3
  610. package/dist/session/session.js +170 -170
  611. package/dist/session/shell.js +138 -138
  612. package/dist/session/skill.js +103 -103
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +73 -73
  615. package/dist/session/store.js +87 -87
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +210 -210
  618. package/dist/session/system-prompt.js +1 -1
  619. package/dist/session/title.js +156 -156
  620. package/dist/session/to-session-error.js +111 -111
  621. package/dist/session/transfer.js +217 -217
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +218 -218
  624. package/dist/shell/parse.js +6 -6
  625. package/dist/shell/result.js +1 -1
  626. package/dist/shell/scan.js +1 -1
  627. package/dist/shell/select.js +15 -15
  628. package/dist/shell.js +140 -140
  629. package/dist/skill/discovery.js +6 -6
  630. package/dist/skill/instructions.js +107 -107
  631. package/dist/skill.js +110 -110
  632. package/dist/snapshot.js +91 -91
  633. package/dist/state.js +1 -1
  634. package/dist/tool/html-markdown.js +1 -1
  635. package/dist/tool/http-body.js +1 -1
  636. package/dist/tool/mcp.js +125 -125
  637. package/dist/tool/plugin/edit.js +120 -120
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +118 -118
  640. package/dist/tool/plugin/grep.js +122 -122
  641. package/dist/tool/plugin/mcp-resource.js +116 -116
  642. package/dist/tool/plugin/opencode.js +3 -3
  643. package/dist/tool/plugin/patch.js +122 -122
  644. package/dist/tool/plugin/question.js +103 -103
  645. package/dist/tool/plugin/read.js +125 -125
  646. package/dist/tool/plugin/shell.js +215 -215
  647. package/dist/tool/plugin/skill.js +105 -105
  648. package/dist/tool/plugin/subagent.js +219 -219
  649. package/dist/tool/plugin/webfetch.js +112 -112
  650. package/dist/tool/plugin/websearch.js +112 -112
  651. package/dist/tool/plugin/write.js +120 -120
  652. package/dist/tool/read-filesystem.js +100 -100
  653. package/dist/tool/runtime.js +1 -1
  654. package/dist/tool-output.js +8 -8
  655. package/dist/tool.js +16 -16
  656. package/dist/types/git.d.ts +2 -2
  657. package/dist/types/mcp/index.d.ts +0 -12
  658. package/dist/types/pty/ticket.d.ts +2 -2
  659. package/dist/types/pty.d.ts +11 -6
  660. package/dist/types/session/diff.d.ts +1 -7
  661. package/dist/types/session/revert.d.ts +1 -7
  662. package/dist/types/session/runner/model.d.ts +0 -12
  663. package/dist/types/session/session.d.ts +1 -7
  664. package/dist/types/snapshot.d.ts +2 -2
  665. package/dist/util/error-summary.js +1 -1
  666. package/dist/util/error.js +1 -1
  667. package/dist/util/git-executable.js +2 -2
  668. package/dist/util/iife.js +1 -1
  669. package/dist/util/lazy.js +1 -1
  670. package/dist/util/slug.js +1 -1
  671. package/dist/util/token.js +1 -1
  672. package/dist/util/which.js +1 -1
  673. package/dist/util/wildcard.js +1 -1
  674. package/dist/v1/config/agent.js +7 -7
  675. package/dist/v1/config/attachment.js +4 -4
  676. package/dist/v1/config/command.js +3 -3
  677. package/dist/v1/config/config.js +16 -16
  678. package/dist/v1/config/error.js +4 -4
  679. package/dist/v1/config/formatter.js +3 -3
  680. package/dist/v1/config/layout.js +1 -1
  681. package/dist/v1/config/lsp.js +5 -5
  682. package/dist/v1/config/mcp.js +4 -4
  683. package/dist/v1/config/migrate.js +92 -92
  684. package/dist/v1/config/permission.js +7 -7
  685. package/dist/v1/config/plugin.js +3 -3
  686. package/dist/v1/config/provider-options.js +1 -1
  687. package/dist/v1/config/provider.js +4 -4
  688. package/dist/v1/config/server.js +2 -2
  689. package/dist/v1/config/skills.js +3 -3
  690. package/dist/v1/permission.js +1 -1
  691. package/dist/variant.js +91 -91
  692. package/dist/vcs/patch.js +1 -1
  693. package/dist/vcs.js +89 -89
  694. package/dist/websearch.js +84 -84
  695. package/dist/wellknown/plugin.js +76 -76
  696. package/dist/wellknown.js +81 -81
  697. package/dist/workspace/driver.js +5 -5
  698. package/dist/workspace/sql.js +1 -1
  699. package/dist/workspace.js +80 -80
  700. package/dist/worktree/directory.js +2 -2
  701. package/dist/worktree/git.js +10 -10
  702. package/dist/worktree/sql.js +5 -5
  703. package/dist/worktree/strategies.js +89 -89
  704. package/dist/worktree.js +96 -96
  705. package/package.json +8 -8
  706. package/dist/chunks/state-0mesazry.js +0 -4
  707. package/dist/chunks/state-6eqtnz3a.js +0 -507
  708. package/dist/chunks/state-9zdhvgqs.js +0 -18
  709. package/dist/chunks/state-gx3thcd1.js +0 -252
  710. package/dist/chunks/state-qxcs1gwy.js +0 -26
  711. package/dist/file.js +0 -16
  712. package/dist/pty/schema.js +0 -6
  713. package/dist/types/file.d.ts +0 -9
  714. package/dist/types/pty/schema.d.ts +0 -1
  715. /package/dist/chunks/{state-0qkdqm5v.js → file-access-0qkdqm5v.js} +0 -0
  716. /package/dist/chunks/{state-0zkw76rk.js → file-access-0zkw76rk.js} +0 -0
  717. /package/dist/chunks/{state-17cy0kzp.js → file-access-17cy0kzp.js} +0 -0
  718. /package/dist/chunks/{state-1cnp2v09.js → file-access-1cnp2v09.js} +0 -0
  719. /package/dist/chunks/{state-1kg9ymc8.js → file-access-1kg9ymc8.js} +0 -0
  720. /package/dist/chunks/{state-24dcb14g.js → file-access-24dcb14g.js} +0 -0
  721. /package/dist/chunks/{state-2710q6r3.js → file-access-2710q6r3.js} +0 -0
  722. /package/dist/chunks/{state-2axfhc9x.js → file-access-2axfhc9x.js} +0 -0
  723. /package/dist/chunks/{state-2c3vjs8z.js → file-access-2c3vjs8z.js} +0 -0
  724. /package/dist/chunks/{state-34c7v6d4.js → file-access-34c7v6d4.js} +0 -0
  725. /package/dist/chunks/{state-359p4xyc.js → file-access-359p4xyc.js} +0 -0
  726. /package/dist/chunks/{state-3asan66x.js → file-access-3asan66x.js} +0 -0
  727. /package/dist/chunks/{state-3v8g72cx.js → file-access-3v8g72cx.js} +0 -0
  728. /package/dist/chunks/{state-3w5fmr99.js → file-access-3w5fmr99.js} +0 -0
  729. /package/dist/chunks/{state-3wcehsnq.js → file-access-3wcehsnq.js} +0 -0
  730. /package/dist/chunks/{state-43n2bw4t.js → file-access-43n2bw4t.js} +0 -0
  731. /package/dist/chunks/{state-4knz6hnm.js → file-access-4knz6hnm.js} +0 -0
  732. /package/dist/chunks/{state-4vcrnpx2.js → file-access-4vcrnpx2.js} +0 -0
  733. /package/dist/chunks/{state-4y7fprxs.js → file-access-4y7fprxs.js} +0 -0
  734. /package/dist/chunks/{state-53557ph1.js → file-access-53557ph1.js} +0 -0
  735. /package/dist/chunks/{state-550bvhaj.js → file-access-550bvhaj.js} +0 -0
  736. /package/dist/chunks/{state-6prwharc.js → file-access-6prwharc.js} +0 -0
  737. /package/dist/chunks/{state-7akdwqpd.js → file-access-7akdwqpd.js} +0 -0
  738. /package/dist/chunks/{state-7m9af43g.js → file-access-7m9af43g.js} +0 -0
  739. /package/dist/chunks/{state-822emrt2.js → file-access-822emrt2.js} +0 -0
  740. /package/dist/chunks/{state-88xbtdfr.js → file-access-88xbtdfr.js} +0 -0
  741. /package/dist/chunks/{state-8n3pysct.js → file-access-8n3pysct.js} +0 -0
  742. /package/dist/chunks/{state-8wj87zfr.js → file-access-8wj87zfr.js} +0 -0
  743. /package/dist/chunks/{state-922hggd3.js → file-access-922hggd3.js} +0 -0
  744. /package/dist/chunks/{state-9a4afbnw.js → file-access-9a4afbnw.js} +0 -0
  745. /package/dist/chunks/{state-9rqn6x4v.js → file-access-9rqn6x4v.js} +0 -0
  746. /package/dist/chunks/{state-a6k6eb26.js → file-access-a6k6eb26.js} +0 -0
  747. /package/dist/chunks/{state-af5trqkr.js → file-access-af5trqkr.js} +0 -0
  748. /package/dist/chunks/{state-afrmfg78.js → file-access-afrmfg78.js} +0 -0
  749. /package/dist/chunks/{state-aqzs7mqg.js → file-access-aqzs7mqg.js} +0 -0
  750. /package/dist/chunks/{state-atq7p7m5.js → file-access-atq7p7m5.js} +0 -0
  751. /package/dist/chunks/{state-bkyjaxrp.js → file-access-bkyjaxrp.js} +0 -0
  752. /package/dist/chunks/{state-bmr6ed5q.js → file-access-bmr6ed5q.js} +0 -0
  753. /package/dist/chunks/{state-cf4snx6d.js → file-access-cf4snx6d.js} +0 -0
  754. /package/dist/chunks/{state-cvy3z8tj.js → file-access-cvy3z8tj.js} +0 -0
  755. /package/dist/chunks/{state-d9fn303g.js → file-access-d9fn303g.js} +0 -0
  756. /package/dist/chunks/{state-d9jj8t3e.js → file-access-d9jj8t3e.js} +0 -0
  757. /package/dist/chunks/{state-dajrwvna.js → file-access-dajrwvna.js} +0 -0
  758. /package/dist/chunks/{state-dap0rakb.js → file-access-dap0rakb.js} +0 -0
  759. /package/dist/chunks/{state-df08tz66.js → file-access-df08tz66.js} +0 -0
  760. /package/dist/chunks/{state-dy18nga0.js → file-access-dy18nga0.js} +0 -0
  761. /package/dist/chunks/{state-e5kj55wp.js → file-access-e5kj55wp.js} +0 -0
  762. /package/dist/chunks/{state-e73j6tqm.js → file-access-e73j6tqm.js} +0 -0
  763. /package/dist/chunks/{state-ec1grn59.js → file-access-ec1grn59.js} +0 -0
  764. /package/dist/chunks/{state-eh3zwz77.js → file-access-eh3zwz77.js} +0 -0
  765. /package/dist/chunks/{state-emrn6kk6.js → file-access-emrn6kk6.js} +0 -0
  766. /package/dist/chunks/{state-f0mxakyp.js → file-access-f0mxakyp.js} +0 -0
  767. /package/dist/chunks/{state-f6n9ztr4.js → file-access-f6n9ztr4.js} +0 -0
  768. /package/dist/chunks/{state-faypxj3z.js → file-access-faypxj3z.js} +0 -0
  769. /package/dist/chunks/{state-fd410y7t.js → file-access-fd410y7t.js} +0 -0
  770. /package/dist/chunks/{state-fxgpk5d8.js → file-access-fxgpk5d8.js} +0 -0
  771. /package/dist/chunks/{state-g4wezp1m.js → file-access-g4wezp1m.js} +0 -0
  772. /package/dist/chunks/{state-g86h250q.js → file-access-g86h250q.js} +0 -0
  773. /package/dist/chunks/{state-gebd4c9n.js → file-access-gebd4c9n.js} +0 -0
  774. /package/dist/chunks/{state-gftt206x.js → file-access-gftt206x.js} +0 -0
  775. /package/dist/chunks/{state-hjbc5kem.js → file-access-hjbc5kem.js} +0 -0
  776. /package/dist/chunks/{state-hk9envan.js → file-access-hk9envan.js} +0 -0
  777. /package/dist/chunks/{state-j2ntwpah.js → file-access-j2ntwpah.js} +0 -0
  778. /package/dist/chunks/{state-j5zkgpj8.js → file-access-j5zkgpj8.js} +0 -0
  779. /package/dist/chunks/{state-jjkms2e6.js → file-access-jjkms2e6.js} +0 -0
  780. /package/dist/chunks/{state-jr7sbwjy.js → file-access-jr7sbwjy.js} +0 -0
  781. /package/dist/chunks/{state-jwfs4k6c.js → file-access-jwfs4k6c.js} +0 -0
  782. /package/dist/chunks/{state-jzg6c2d5.js → file-access-jzg6c2d5.js} +0 -0
  783. /package/dist/chunks/{state-mp448xyj.js → file-access-mp448xyj.js} +0 -0
  784. /package/dist/chunks/{state-msx8hqn2.js → file-access-msx8hqn2.js} +0 -0
  785. /package/dist/chunks/{state-n05xt0ee.js → file-access-n05xt0ee.js} +0 -0
  786. /package/dist/chunks/{state-n3j8tn72.js → file-access-n3j8tn72.js} +0 -0
  787. /package/dist/chunks/{state-njntx4h6.js → file-access-njntx4h6.js} +0 -0
  788. /package/dist/chunks/{state-q3sfg36h.js → file-access-q3sfg36h.js} +0 -0
  789. /package/dist/chunks/{state-q74kybfr.js → file-access-q74kybfr.js} +0 -0
  790. /package/dist/chunks/{state-qaymkmh1.js → file-access-qaymkmh1.js} +0 -0
  791. /package/dist/chunks/{state-qb87gjwd.js → file-access-qb87gjwd.js} +0 -0
  792. /package/dist/chunks/{state-qfa1cgps.js → file-access-qfa1cgps.js} +0 -0
  793. /package/dist/chunks/{state-qg3g05ea.js → file-access-qg3g05ea.js} +0 -0
  794. /package/dist/chunks/{state-qrg20bc0.js → file-access-qrg20bc0.js} +0 -0
  795. /package/dist/chunks/{state-rcb2kzg1.js → file-access-rcb2kzg1.js} +0 -0
  796. /package/dist/chunks/{state-sdp7kfr6.js → file-access-sdp7kfr6.js} +0 -0
  797. /package/dist/chunks/{state-sk3qaz4a.js → file-access-sk3qaz4a.js} +0 -0
  798. /package/dist/chunks/{state-ssg3fenm.js → file-access-ssg3fenm.js} +0 -0
  799. /package/dist/chunks/{state-w803qqfp.js → file-access-w803qqfp.js} +0 -0
  800. /package/dist/chunks/{state-wc3fc9cn.js → file-access-wc3fc9cn.js} +0 -0
  801. /package/dist/chunks/{state-wer8tq1h.js → file-access-wer8tq1h.js} +0 -0
  802. /package/dist/chunks/{state-wtztk69x.js → file-access-wtztk69x.js} +0 -0
  803. /package/dist/chunks/{state-x0ckcb58.js → file-access-x0ckcb58.js} +0 -0
  804. /package/dist/chunks/{state-x61499pn.js → file-access-x61499pn.js} +0 -0
  805. /package/dist/chunks/{state-y44na4kk.js → file-access-y44na4kk.js} +0 -0
  806. /package/dist/chunks/{state-y8cydn3q.js → file-access-y8cydn3q.js} +0 -0
  807. /package/dist/chunks/{state-y8f7s663.js → file-access-y8f7s663.js} +0 -0
  808. /package/dist/chunks/{state-ygaqb7jw.js → file-access-ygaqb7jw.js} +0 -0
  809. /package/dist/chunks/{state-ym463w8f.js → file-access-ym463w8f.js} +0 -0
  810. /package/dist/chunks/{state-z9919s4g.js → file-access-z9919s4g.js} +0 -0
@@ -1,36 +1,36 @@
1
1
  import {
2
2
  key2
3
- } from "./state-4dgbcxzg.js";
3
+ } from "./file-access-4dgbcxzg.js";
4
4
  import {
5
5
  Service83
6
- } from "./state-xrnnsjt5.js";
6
+ } from "./file-access-a4cmfvx0.js";
7
7
  import {
8
8
  OAuth3,
9
- Event19
10
- } from "./state-7g38j68k.js";
9
+ Event18
10
+ } from "./file-access-ypp77dnm.js";
11
11
  import {
12
- ID13,
12
+ ID14,
13
13
  MethodID2
14
- } from "./state-ekw5v65w.js";
14
+ } from "./file-access-8bhq85vc.js";
15
15
  import {
16
- ID12,
16
+ ID13,
17
17
  aisdk2,
18
18
  mergeOverlay2,
19
- Service75
20
- } from "./state-j30mx6hz.js";
19
+ Service72
20
+ } from "./file-access-0qzc11ky.js";
21
21
  import {
22
- ID11
23
- } from "./state-cnebggg2.js";
22
+ ID12
23
+ } from "./file-access-5jnj5r41.js";
24
24
  import {
25
25
  load3,
26
26
  derive3
27
- } from "./state-srs9dwz9.js";
27
+ } from "./file-access-t94cg862.js";
28
28
  import {
29
29
  useragent2
30
- } from "./state-qpyfagd9.js";
30
+ } from "./file-access-p7mbcwcb.js";
31
31
  import {
32
- ID9
33
- } from "./state-xzc7yfbq.js";
32
+ ID8
33
+ } from "./file-access-2008k294.js";
34
34
 
35
35
  // src/plugin/provider/github-copilot.ts
36
36
  import { Effect, Option, Schema, Semaphore, Stream } from "effect";
@@ -62,7 +62,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
62
62
  var JsonBody = Schema.fromJsonString(Schema.Unknown);
63
63
  var decodeBody = Schema.decodeUnknownOption(JsonBody);
64
64
  var oauth = (app) => ({
65
- integrationID: ID13.make("github-copilot"),
65
+ integrationID: ID14.make("github-copilot"),
66
66
  method: {
67
67
  id: methodID,
68
68
  type: "oauth",
@@ -160,7 +160,7 @@ var oauth = (app) => ({
160
160
  var GithubCopilotPlugin2 = define({
161
161
  id: "opencode.provider.github.copilot",
162
162
  effect: Effect.fn(function* (ctx) {
163
- const providers = yield* Service75;
163
+ const providers = yield* Service72;
164
164
  const bus = yield* Service83;
165
165
  const loading = Semaphore.makeUnsafe(1);
166
166
  const loaded = {};
@@ -177,7 +177,7 @@ var GithubCopilotPlugin2 = define({
177
177
  return;
178
178
  }
179
179
  const url = copilotBaseURL2(credential.metadata) ?? baseURL();
180
- const provider = yield* providers.get(ID12.githubCopilot);
180
+ const provider = yield* providers.get(ID13.githubCopilot);
181
181
  const remote = yield* Effect.tryPromise({
182
182
  try: () => load3(url, {
183
183
  ...provider?.headers,
@@ -199,7 +199,7 @@ var GithubCopilotPlugin2 = define({
199
199
  editor.method.update(oauth(ctx.app));
200
200
  });
201
201
  yield* ctx.provider.transform((evt) => {
202
- const item = evt.get(ID12.githubCopilot);
202
+ const item = evt.get(ID13.githubCopilot);
203
203
  if (!item)
204
204
  return;
205
205
  if (loaded.models) {
@@ -219,17 +219,17 @@ var GithubCopilotPlugin2 = define({
219
219
  }
220
220
  });
221
221
  yield* ctx.model.transform((models) => {
222
- if (models.get(ID12.githubCopilot, ID11.make("gpt-5-chat-latest"))) {
223
- models.update(ID12.githubCopilot, ID11.make("gpt-5-chat-latest"), (model) => {
222
+ if (models.get(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"))) {
223
+ models.update(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"), (model) => {
224
224
  model.enabled = false;
225
225
  });
226
226
  }
227
227
  });
228
228
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
229
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
229
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
230
230
  yield* refresh().pipe(Effect.forkScoped);
231
231
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
232
- if (evt.model.providerID !== ID12.githubCopilot)
232
+ if (evt.model.providerID !== ID13.githubCopilot)
233
233
  return;
234
234
  if (evt.package !== "@ai-sdk/github-copilot")
235
235
  return;
@@ -238,7 +238,7 @@ var GithubCopilotPlugin2 = define({
238
238
  evt.sdk = mod.createOpenaiCompatible(evt.options);
239
239
  }));
240
240
  yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
241
- if (evt.model.providerID !== ID12.githubCopilot)
241
+ if (evt.model.providerID !== ID13.githubCopilot)
242
242
  return;
243
243
  const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
244
244
  return;
@@ -248,13 +248,13 @@ var GithubCopilotPlugin2 = define({
248
248
  evt.headers["X-Interaction-Id"] = evt.sessionID;
249
249
  if (interaction !== "conversation-agent")
250
250
  evt.headers["x-initiator"] = "agent";
251
- }), { providerID: ID12.githubCopilot });
251
+ }), { providerID: ID13.githubCopilot });
252
252
  yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
253
- if (evt.model.providerID !== ID12.githubCopilot)
253
+ if (evt.model.providerID !== ID13.githubCopilot)
254
254
  return;
255
255
  if (!loaded.baseURL || !loaded.token || !loaded.models)
256
256
  return;
257
- const agent = yield* ctx.agent.get({ agentID: ID9.make("title") }).pipe(Effect.orElseSucceed(() => {
257
+ const agent = yield* ctx.agent.get({ agentID: ID8.make("title") }).pipe(Effect.orElseSucceed(() => {
258
258
  return;
259
259
  }));
260
260
  if (agent?.data.model)
@@ -265,9 +265,9 @@ var GithubCopilotPlugin2 = define({
265
265
  evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
266
266
  return;
267
267
  }));
268
- }), { providerID: ID12.githubCopilot });
268
+ }), { providerID: ID13.githubCopilot });
269
269
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
270
- if (evt.model.providerID !== ID12.githubCopilot)
270
+ if (evt.model.providerID !== ID13.githubCopilot)
271
271
  return;
272
272
  const token = evt.request.headers.get("x-api-key");
273
273
  if (!token)
@@ -275,9 +275,9 @@ var GithubCopilotPlugin2 = define({
275
275
  const text = yield* Effect.promise(() => evt.request.clone().text());
276
276
  const body = Option.getOrUndefined(decodeBody(text));
277
277
  applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
278
- }), { providerID: ID12.githubCopilot });
278
+ }), { providerID: ID13.githubCopilot });
279
279
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
280
- if (evt.model.providerID !== ID12.githubCopilot)
280
+ if (evt.model.providerID !== ID13.githubCopilot)
281
281
  return;
282
282
  if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
283
283
  evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
@@ -1,7 +1,7 @@
1
1
  import {
2
- ID13,
3
- Service76
4
- } from "./state-ekw5v65w.js";
2
+ ID14,
3
+ Service73
4
+ } from "./file-access-8bhq85vc.js";
5
5
 
6
6
  // src/plugin/provider/llmgateway.ts
7
7
  import { Effect } from "effect";
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
9
9
  var LLMGatewayPlugin2 = define({
10
10
  id: "opencode.provider.llmgateway",
11
11
  effect: Effect.fn(function* (ctx) {
12
- const integrations = yield* Service76;
12
+ const integrations = yield* Service73;
13
13
  const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
14
14
  yield* ctx.provider.transform((evt) => {
15
15
  for (const item of evt.list()) {
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
19
19
  continue;
20
20
  if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
21
21
  continue;
22
- if (!configured.has(ID13.make(item.provider.id)))
22
+ if (!configured.has(ID14.make(item.provider.id)))
23
23
  continue;
24
24
  evt.update(item.provider.id, (provider) => {
25
25
  provider.headers = {
@@ -2,40 +2,40 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./state-922hggd3.js";
5
+ } from "./file-access-922hggd3.js";
6
6
  import {
7
- Service78,
8
- node81
9
- } from "./state-treznftm.js";
7
+ Service80,
8
+ node84
9
+ } from "./file-access-nyn33q22.js";
10
10
  import {
11
- Service42,
12
- node46
13
- } from "./state-pc1a02me.js";
11
+ Service16,
12
+ node18
13
+ } from "./file-access-fy9ksp8t.js";
14
14
  import {
15
15
  __export
16
- } from "./state-9rqn6x4v.js";
16
+ } from "./file-access-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
20
20
  __export(exports_filesystem, {
21
- Content: () => Content3,
21
+ Content: () => Content2,
22
22
  DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
23
23
  DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
24
24
  Entry: () => Entry2,
25
- Event: () => Event10,
25
+ Event: () => Event3,
26
26
  FileSystem: () => exports_filesystem,
27
27
  FindInput: () => FindInput2,
28
28
  GlobInput: () => GlobInput2,
29
29
  GrepInput: () => GrepInput2,
30
- ListInput: () => ListInput3,
30
+ ListInput: () => ListInput2,
31
31
  Match: () => Match2,
32
- NotFoundError: () => NotFoundError6,
32
+ NotFoundError: () => NotFoundError2,
33
33
  ReadInput: () => ReadInput2,
34
- Service: () => Service41,
34
+ Service: () => Service15,
35
35
  Submatch: () => Submatch2,
36
36
  Write: () => Write2,
37
37
  WriteInput: () => WriteInput2,
38
- node: () => node45
38
+ node: () => node17
39
39
  });
40
40
  import { makeLocationNode } from "@opencode/util/effect/app-node";
41
41
  import path from "path";
@@ -51,18 +51,18 @@ var WriteInput2 = Schema.Struct({
51
51
  data: Schema.Uint8Array
52
52
  });
53
53
 
54
- class NotFoundError6 extends Schema.TaggedError()("FileSystem.NotFoundError", {
54
+ class NotFoundError2 extends Schema.TaggedError()("FileSystem.NotFoundError", {
55
55
  path: RelativePath2
56
56
  }) {
57
57
  }
58
- var Content3 = Schema.Struct({
58
+ var Content2 = Schema.Struct({
59
59
  uri: Schema.String,
60
60
  name: Schema.String.pipe(Schema.optional),
61
61
  content: Schema.String,
62
62
  encoding: Schema.Literals(["utf8", "base64"]),
63
63
  mime: Schema.String
64
64
  }).annotate({ identifier: "FileSystem.Content" });
65
- var ListInput3 = Schema.Struct({
65
+ var ListInput2 = Schema.Struct({
66
66
  path: Schema.String.pipe(Schema.optional)
67
67
  });
68
68
  var DEFAULT_SEARCH_LIMIT2 = 100;
@@ -85,14 +85,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
85
85
  limit: Schema.optionalKey(PositiveInt2)
86
86
  }) {
87
87
  }
88
- var Event10 = FileSystem.Event;
88
+ var Event3 = FileSystem.Event;
89
89
 
90
- class Service41 extends Context.Service()("@opencode/FileSystem") {
90
+ class Service15 extends Context.Service()("@opencode/FileSystem") {
91
91
  }
92
- var baseLayer = Layer.effect(Service41, Effect.gen(function* () {
92
+ var baseLayer = Layer.effect(Service15, Effect.gen(function* () {
93
93
  const fs = yield* FSUtil.Service;
94
- const location = yield* Service78;
95
- const search = yield* Service42;
94
+ const location = yield* Service80;
95
+ const search = yield* Service16;
96
96
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
97
97
  const resolve = Effect.fnUntraced(function* (input) {
98
98
  const absolute = path.resolve(location.directory, input ?? ".");
@@ -103,15 +103,15 @@ var baseLayer = Layer.effect(Service41, Effect.gen(function* () {
103
103
  return yield* Effect.die(new Error("Path escapes the location"));
104
104
  return { absolute, real, directory: location.directory };
105
105
  });
106
- return Service41.of({
106
+ return Service15.of({
107
107
  find: search.find,
108
108
  read: Effect.fn("FileSystem.read")(function* (input) {
109
- const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError6({ path: input.path })), (_, error) => Effect.die(error)));
110
- const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError6({ path: input.path })), (_, error) => Effect.die(error)));
109
+ const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
110
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
111
111
  if (info.type !== "File")
112
112
  return yield* Effect.die(new Error("Path is not a file"));
113
113
  return {
114
- content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError6({ path: input.path })), (_, error) => Effect.die(error))),
114
+ content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error))),
115
115
  mime: FSUtil.mimeType(target.real)
116
116
  };
117
117
  }),
@@ -140,10 +140,10 @@ var baseLayer = Layer.effect(Service41, Effect.gen(function* () {
140
140
  })
141
141
  });
142
142
  }));
143
- var node45 = makeLocationNode({
144
- service: Service41,
143
+ var node17 = makeLocationNode({
144
+ service: Service15,
145
145
  layer: baseLayer,
146
- deps: [FSUtil.node, node81, node46]
146
+ deps: [FSUtil.node, node84, node18]
147
147
  });
148
148
 
149
- export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError6, Content3, ListInput3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event10, Service41, node45, exports_filesystem, Entry2, Match2, Submatch2 };
149
+ export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event3, Service15, node17, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service53
3
- } from "./state-h6p9wsd3.js";
2
+ Service64
3
+ } from "./file-access-8cr4de2n.js";
4
4
  import {
5
- Service15
6
- } from "./state-6ysrkrkr.js";
5
+ Service24
6
+ } from "./file-access-z5rd9rww.js";
7
7
  import {
8
8
  match2
9
- } from "./state-y1fvbwt7.js";
9
+ } from "./file-access-y1fvbwt7.js";
10
10
  import {
11
11
  observe2
12
- } from "./state-qsdy395h.js";
12
+ } from "./file-access-qsdy395h.js";
13
13
  import {
14
14
  __export
15
- } from "./state-9rqn6x4v.js";
15
+ } from "./file-access-9rqn6x4v.js";
16
16
 
17
17
  // src/config/plugin/policy.ts
18
18
  var exports_policy = {};
19
19
  __export(exports_policy, {
20
20
  ConfigPolicyPlugin: () => exports_policy,
21
- Plugin: () => Plugin16
21
+ Plugin: () => Plugin7
22
22
  });
23
23
  import { define } from "@opencode/plugin/effect/plugin";
24
24
  import { Effect } from "effect";
25
- var Plugin16 = define({
25
+ var Plugin7 = define({
26
26
  id: "opencode.config.policy",
27
27
  effect: Effect.fn(function* (ctx) {
28
- const config = yield* Service53;
29
- const managed = yield* Service15;
28
+ const config = yield* Service64;
29
+ const managed = yield* Service24;
30
30
  const loaded = yield* observe2(config, ctx.event, ctx.provider.reload());
31
31
  const policies = () => {
32
32
  const organization = managed.current();
@@ -57,4 +57,4 @@ var Plugin16 = define({
57
57
  })
58
58
  });
59
59
 
60
- export { Plugin16, exports_policy };
60
+ export { Plugin7, exports_policy };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./state-9rqn6x4v.js";
3
+ } from "./file-access-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/catalog.ts
6
6
  var exports_catalog = {};
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  ps2
3
- } from "./state-7ve2bcyf.js";
3
+ } from "./file-access-gz0m67vm.js";
4
4
  import {
5
5
  lazy2
6
- } from "./state-88xbtdfr.js";
6
+ } from "./file-access-88xbtdfr.js";
7
7
  import {
8
8
  match2
9
- } from "./state-y1fvbwt7.js";
9
+ } from "./file-access-y1fvbwt7.js";
10
10
  import {
11
11
  __export
12
- } from "./state-9rqn6x4v.js";
12
+ } from "./file-access-9rqn6x4v.js";
13
13
 
14
14
  // src/shell/parse.ts
15
15
  var exports_parse = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./state-qfa1cgps.js";
3
+ } from "./file-access-qfa1cgps.js";
4
4
 
5
5
  // src/kv/sql.ts
6
6
  import { sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,34 +1,22 @@
1
1
  import {
2
- VariantUnavailableError3,
3
- UnsupportedPackageError3,
4
- ModelConfigurationError3,
5
- ModelInitializationError3,
6
- UnresolvedProviderVariablesError3,
7
- UnsupportedCompactionError3,
8
- Service72,
9
- node75
10
- } from "./state-z1wdxvxw.js";
2
+ Service58,
3
+ node61
4
+ } from "./file-access-0na0gq9y.js";
11
5
  import {
12
6
  SessionSchema2
13
- } from "./state-7w99qc9d.js";
7
+ } from "./file-access-xxynqx5z.js";
14
8
  import {
15
9
  __export
16
- } from "./state-9rqn6x4v.js";
10
+ } from "./file-access-9rqn6x4v.js";
17
11
 
18
12
  // src/session/runner/model.ts
19
13
  var exports_model = {};
20
14
  __export(exports_model, {
21
- ModelConfigurationError: () => ModelConfigurationError2,
22
- ModelInitializationError: () => ModelInitializationError2,
23
15
  ModelNotSelectedError: () => ModelNotSelectedError2,
24
16
  ModelUnavailableError: () => ModelUnavailableError2,
25
- Service: () => Service62,
17
+ Service: () => Service49,
26
18
  SessionRunnerModel: () => exports_model,
27
- UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
28
- UnsupportedCompactionError: () => UnsupportedCompactionError2,
29
- UnsupportedPackageError: () => UnsupportedPackageError2,
30
- VariantUnavailableError: () => VariantUnavailableError2,
31
- node: () => node65,
19
+ node: () => node52,
32
20
  resolved: () => resolved2
33
21
  });
34
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -50,14 +38,8 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
50
38
  return `Model unavailable: ${this.providerID}/${this.modelID}`;
51
39
  }
52
40
  }
53
- var VariantUnavailableError2 = VariantUnavailableError3;
54
- var UnsupportedPackageError2 = UnsupportedPackageError3;
55
- var ModelConfigurationError2 = ModelConfigurationError3;
56
- var ModelInitializationError2 = ModelInitializationError3;
57
- var UnresolvedProviderVariablesError2 = UnresolvedProviderVariablesError3;
58
- var UnsupportedCompactionError2 = UnsupportedCompactionError3;
59
41
 
60
- class Service62 extends Context.Service()("@opencode/SessionRunnerModel") {
42
+ class Service49 extends Context.Service()("@opencode/SessionRunnerModel") {
61
43
  }
62
44
  var resolved2 = (model, options) => ({
63
45
  model,
@@ -72,9 +54,9 @@ var resolved2 = (model, options) => ({
72
54
  compaction: options.compaction,
73
55
  transport: options.transport
74
56
  });
75
- var layer = Layer.effect(Service62, Effect.gen(function* () {
76
- const resolver = yield* Service72;
77
- return Service62.of({
57
+ var layer = Layer.effect(Service49, Effect.gen(function* () {
58
+ const resolver = yield* Service58;
59
+ return Service49.of({
78
60
  resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
79
61
  if (!session.model) {
80
62
  const resolved = yield* resolver.resolve();
@@ -92,6 +74,6 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
92
74
  })
93
75
  });
94
76
  }));
95
- var node65 = makeLocationNode({ service: Service62, layer, deps: [node75] });
77
+ var node52 = makeLocationNode({ service: Service49, layer, deps: [node61] });
96
78
 
97
- export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service62, resolved2, node65, exports_model };
79
+ export { ModelNotSelectedError2, ModelUnavailableError2, Service49, resolved2, node52, exports_model };
@@ -1,26 +1,26 @@
1
1
  import {
2
- Service80
3
- } from "./state-6ge9xvdz.js";
2
+ Service82
3
+ } from "./file-access-dq0v80fr.js";
4
4
  import {
5
5
  DirectoryUnavailableError2,
6
6
  canonical2
7
- } from "./state-gv6a8nnw.js";
7
+ } from "./file-access-gv6a8nnw.js";
8
8
  import {
9
9
  __export
10
- } from "./state-9rqn6x4v.js";
10
+ } from "./file-access-9rqn6x4v.js";
11
11
 
12
12
  // src/worktree/git.ts
13
13
  var exports_git2 = {};
14
14
  __export(exports_git2, {
15
15
  WorktreeGit: () => exports_git2,
16
- make: () => make16
16
+ make: () => make21
17
17
  });
18
18
  import { Effect } from "effect";
19
19
  import { Worktree } from "@opencode/schema/worktree";
20
20
  import { FSUtil } from "@opencode/util/fs-util";
21
- var make16 = Effect.gen(function* () {
21
+ var make21 = Effect.gen(function* () {
22
22
  const fs = yield* FSUtil.Service;
23
- const git = yield* Service80;
23
+ const git = yield* Service82;
24
24
  return {
25
25
  id: Worktree.StrategyID.make("git"),
26
26
  create: Effect.fn("Worktree.Git.create")(function* (input) {
@@ -46,4 +46,4 @@ var make16 = Effect.gen(function* () {
46
46
  };
47
47
  });
48
48
 
49
- export { make16, exports_git2 };
49
+ export { make21, exports_git2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./state-9rqn6x4v.js";
3
+ } from "./file-access-9rqn6x4v.js";
4
4
 
5
5
  // src/mime.ts
6
6
  var exports_mime = {};
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service47,
3
- node51
4
- } from "./state-fjc6nchj.js";
2
+ Service44,
3
+ node47
4
+ } from "./file-access-rgnahn02.js";
5
5
  import {
6
6
  Key3,
7
7
  removed2,
8
- make20,
8
+ make19,
9
9
  diffByKey2
10
- } from "./state-rhjbct0v.js";
10
+ } from "./file-access-t550f9t1.js";
11
11
  import {
12
12
  __export
13
- } from "./state-9rqn6x4v.js";
13
+ } from "./file-access-9rqn6x4v.js";
14
14
 
15
15
  // src/reference/instructions.ts
16
16
  var exports_instructions3 = {};
17
17
  __export(exports_instructions3, {
18
18
  ReferenceInstructions: () => exports_instructions3,
19
- Service: () => Service22,
20
- node: () => node26
19
+ Service: () => Service31,
20
+ node: () => node35
21
21
  });
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -57,18 +57,18 @@ var update = (previous, current) => {
57
57
  `);
58
58
  };
59
59
 
60
- class Service22 extends Context.Service()("@opencode/ReferenceInstructions") {
60
+ class Service31 extends Context.Service()("@opencode/ReferenceInstructions") {
61
61
  }
62
- var layer = Layer.effect(Service22, Effect.gen(function* () {
63
- const references = yield* Service47;
64
- return Service22.of({
62
+ var layer = Layer.effect(Service31, Effect.gen(function* () {
63
+ const references = yield* Service44;
64
+ return Service31.of({
65
65
  load: Effect.fn("ReferenceInstructions.load")(function* () {
66
66
  const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
67
67
  name: reference.name,
68
68
  path: reference.path,
69
69
  description: reference.description
70
70
  })).toSorted((a, b) => a.name.localeCompare(b.name));
71
- return make20({
71
+ return make19({
72
72
  key: Key3.make("core/reference-guidance"),
73
73
  codec: Schema.toCodecJson(Schema.Array(Summary)),
74
74
  read: Effect.succeed(available.length === 0 ? removed2 : available),
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
81
81
  })
82
82
  });
83
83
  }));
84
- var node26 = makeLocationNode({ service: Service22, layer, deps: [node51] });
84
+ var node35 = makeLocationNode({ service: Service31, layer, deps: [node47] });
85
85
 
86
- export { Service22, node26, exports_instructions3 };
86
+ export { Service31, node35, exports_instructions3 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./state-9rqn6x4v.js";
3
+ } from "./file-access-9rqn6x4v.js";
4
4
 
5
5
  // src/database/v1-migration.ts
6
6
  var exports_v1_migration = {};
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./state-922hggd3.js";
3
+ } from "./file-access-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./state-9rqn6x4v.js";
6
+ } from "./file-access-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/attachment.ts
9
9
  var exports_attachment = {};
10
10
  __export(exports_attachment, {
11
11
  ConfigAttachmentV1: () => exports_attachment,
12
12
  Image: () => Image2,
13
- Info: () => Info13
13
+ Info: () => Info15
14
14
  });
15
15
  import { Schema } from "effect";
16
16
  var Image2 = Schema.Struct({
@@ -27,8 +27,8 @@ var Image2 = Schema.Struct({
27
27
  description: "Maximum base64 payload bytes for an image attachment (default: 5242880)"
28
28
  })
29
29
  }).annotate({ identifier: "ImageAttachmentConfig" });
30
- var Info13 = Schema.Struct({
30
+ var Info15 = Schema.Struct({
31
31
  image: Schema.optional(Image2).annotate({ description: "Image attachment configuration" })
32
32
  }).annotate({ identifier: "AttachmentConfig" });
33
33
 
34
- export { Image2, Info13, exports_attachment };
34
+ export { Image2, Info15, exports_attachment };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./state-9rqn6x4v.js";
3
+ } from "./file-access-9rqn6x4v.js";
4
4
 
5
5
  // src/util/error-summary.ts
6
6
  var exports_error_summary = {};