@opencode/core 0.0.0-dev-19963 → 0.0.0-dev-19965

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 (796) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{git-ex3p6n8c.js → project-058vq2j8.js} +11 -11
  8. package/dist/chunks/{git-s8d7rejh.js → project-0gdmqesm.js} +4 -4
  9. package/dist/chunks/{git-jfp1bkdw.js → project-0hrvvet0.js} +8 -8
  10. package/dist/chunks/{git-4snk6ghz.js → project-0jr93kkc.js} +8 -8
  11. package/dist/chunks/{git-1vqc4ctf.js → project-0merdtq6.js} +50 -50
  12. package/dist/chunks/project-0mesazry.js +4 -0
  13. package/dist/chunks/{git-svc4hy3t.js → project-0p4jx4fd.js} +14 -14
  14. package/dist/chunks/{git-0paq2nw3.js → project-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{git-0q0f95c6.js → project-0q0f95c6.js} +1 -1
  16. package/dist/chunks/{git-dmp6f7nw.js → project-15tf48hp.js} +25 -25
  17. package/dist/chunks/{git-rh3sb4f2.js → project-18wzm834.js} +17 -17
  18. package/dist/chunks/{git-rsz70btv.js → project-1c8prt5q.js} +10 -10
  19. package/dist/chunks/{git-1dazxqgg.js → project-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{git-ratrq7cm.js → project-1g7epwpd.js} +7 -7
  21. package/dist/chunks/{git-y1r3txym.js → project-1gcs78sm.js} +29 -29
  22. package/dist/chunks/{git-3qrd9h0m.js → project-1gd24jtv.js} +11 -11
  23. package/dist/chunks/{git-pngkqepv.js → project-1y7t7sgp.js} +19 -19
  24. package/dist/chunks/{git-21r38tys.js → project-21r38tys.js} +1 -1
  25. package/dist/chunks/{git-6ersrjne.js → project-23pqda6t.js} +6 -6
  26. package/dist/chunks/{git-z1j1f49y.js → project-25sb2q89.js} +5 -5
  27. package/dist/chunks/{git-2a5m3afh.js → project-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{git-gq6j0wd7.js → project-2c50a4hz.js} +28 -28
  29. package/dist/chunks/{git-7abb9s9f.js → project-2chytzzm.js} +37 -37
  30. package/dist/chunks/{git-xwrsj031.js → project-2czxbyyd.js} +2 -2
  31. package/dist/chunks/{git-c765mh8b.js → project-2mq1h16s.js} +9 -9
  32. package/dist/chunks/{git-vesgbrs2.js → project-2r1f3161.js} +27 -27
  33. package/dist/chunks/{git-wrpan8g3.js → project-2x7jzfgr.js} +3 -3
  34. package/dist/chunks/{git-9f7rj4wk.js → project-2zcxjm8w.js} +20 -20
  35. package/dist/chunks/{git-j7ym9e45.js → project-3bxd3j1q.js} +6 -6
  36. package/dist/chunks/{git-dkfy5fvc.js → project-3de7jp1p.js} +17 -17
  37. package/dist/chunks/{git-3fc6dm20.js → project-3fc6dm20.js} +1 -1
  38. package/dist/chunks/{git-395shjnb.js → project-3fr8ss9f.js} +9 -9
  39. package/dist/chunks/{git-4dc88x86.js → project-3g9mhmkp.js} +3 -3
  40. package/dist/chunks/{git-hsmp49ac.js → project-3gjyge2f.js} +14 -14
  41. package/dist/chunks/{git-3hepkmqq.js → project-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{git-05qtraqy.js → project-3ky9txt0.js} +17 -17
  43. package/dist/chunks/{git-2wb8zz4b.js → project-3rsgnsmd.js} +17 -17
  44. package/dist/chunks/{git-3smtnn6g.js → project-3smtnn6g.js} +1 -1
  45. package/dist/chunks/{git-3tvqynh2.js → project-3tvqynh2.js} +1 -1
  46. package/dist/chunks/{git-zy4qa08p.js → project-3wdv6d8m.js} +17 -17
  47. package/dist/chunks/{git-6y16pf8d.js → project-3xwvqmwq.js} +49 -49
  48. package/dist/chunks/{git-0k83jycd.js → project-3yh9ny3q.js} +325 -325
  49. package/dist/chunks/{git-ys00f8er.js → project-3z627z5z.js} +10 -10
  50. package/dist/chunks/{git-1bzc8wjz.js → project-40xgcexb.js} +4 -4
  51. package/dist/chunks/{git-h6r3nrb9.js → project-44h5tttr.js} +4 -4
  52. package/dist/chunks/{git-5v69qryj.js → project-46459e7q.js} +15 -15
  53. package/dist/chunks/{git-qpexc320.js → project-4n60pb9e.js} +5 -5
  54. package/dist/chunks/{git-3g6bmfcx.js → project-4s4ptdqs.js} +20 -20
  55. package/dist/chunks/{git-yvhxgmze.js → project-4y1rcddj.js} +22 -22
  56. package/dist/chunks/{git-r81nh1e1.js → project-52setmep.js} +23 -23
  57. package/dist/chunks/{git-1ygqh575.js → project-56gdpj1q.js} +9 -9
  58. package/dist/chunks/{git-57ez7d0k.js → project-57ez7d0k.js} +2 -2
  59. package/dist/chunks/{git-pq1c5pk5.js → project-5bsxggaw.js} +9 -9
  60. package/dist/chunks/{git-ka2w09r2.js → project-5c4s9rra.js} +16 -16
  61. package/dist/chunks/{git-5daktx2q.js → project-5daktx2q.js} +1 -1
  62. package/dist/chunks/{git-cb4m6qbq.js → project-5dgn1ybc.js} +9 -9
  63. package/dist/chunks/{git-8ryk0bb9.js → project-5e15319b.js} +5 -5
  64. package/dist/chunks/{git-az72c4w6.js → project-5m7mkkpv.js} +37 -37
  65. package/dist/chunks/{git-xnmnj1k6.js → project-5qbx7kyj.js} +4 -4
  66. package/dist/chunks/{git-286es1k3.js → project-5r1a4zz1.js} +7 -7
  67. package/dist/chunks/{git-5t3nmthw.js → project-5t3nmthw.js} +2 -2
  68. package/dist/chunks/{git-21pvqfky.js → project-5ykpya4c.js} +24 -24
  69. package/dist/chunks/{git-7dqw4kz8.js → project-607tc6va.js} +5 -5
  70. package/dist/chunks/{git-669tq793.js → project-669tq793.js} +1 -1
  71. package/dist/chunks/{git-cwhqb0pk.js → project-66qpnbfn.js} +25 -25
  72. package/dist/chunks/{git-mg83pbjr.js → project-6d6xcght.js} +8 -8
  73. package/dist/chunks/{git-635s8sdc.js → project-6d7xp62b.js} +18 -18
  74. package/dist/chunks/{git-nkbrxe8d.js → project-6gnjnc72.js} +170 -170
  75. package/dist/chunks/{git-2402vzrj.js → project-6h73sxmp.js} +5 -5
  76. package/dist/chunks/{git-6msgmcgs.js → project-6msgmcgs.js} +1 -1
  77. package/dist/chunks/{git-9t1rambg.js → project-6v2gbdep.js} +12 -12
  78. package/dist/chunks/{git-06dxphr1.js → project-6z4wb64c.js} +4 -4
  79. package/dist/chunks/{git-r6gr5y5e.js → project-6zza1smj.js} +11 -11
  80. package/dist/chunks/{git-q7x0kbq5.js → project-768me8ma.js} +24 -24
  81. package/dist/chunks/{git-3gwfj97d.js → project-77j4ksha.js} +13 -13
  82. package/dist/chunks/{git-dxbnpv2d.js → project-7a79fyt5.js} +6 -6
  83. package/dist/chunks/{git-7bmhse3q.js → project-7bmhse3q.js} +1 -1
  84. package/dist/chunks/{git-1460jzd9.js → project-7n5vx9wf.js} +9 -9
  85. package/dist/chunks/{git-qj5rmx2e.js → project-7x6t9adc.js} +12 -12
  86. package/dist/chunks/{git-f8w6kc2m.js → project-81nbps67.js} +43 -43
  87. package/dist/chunks/{git-tcezcvh9.js → project-89znhe33.js} +4 -4
  88. package/dist/chunks/{git-njppd0qb.js → project-8apd0fk3.js} +2 -2
  89. package/dist/chunks/{git-b64x26df.js → project-8d4mrw56.js} +26 -26
  90. package/dist/chunks/{git-8d7r5vzw.js → project-8d7r5vzw.js} +1 -1
  91. package/dist/chunks/{git-kz5tm6dy.js → project-8k32wqdf.js} +85 -85
  92. package/dist/chunks/{git-nyxjpem3.js → project-8mdcper2.js} +5 -5
  93. package/dist/chunks/{git-gn2hfjap.js → project-8n69n882.js} +7 -7
  94. package/dist/chunks/{git-dj2t23y0.js → project-8p4f9s12.js} +2 -2
  95. package/dist/chunks/{git-xmng7kkz.js → project-8r6fg7ct.js} +24 -24
  96. package/dist/chunks/{git-49p20qv9.js → project-8tbgdqxq.js} +4 -4
  97. package/dist/chunks/{git-cp64kxg5.js → project-91ny65fk.js} +24 -24
  98. package/dist/chunks/{git-ged09db7.js → project-97958gw3.js} +26 -26
  99. package/dist/chunks/{git-84wb89t3.js → project-99mdmb67.js} +29 -29
  100. package/dist/chunks/{git-brkskmey.js → project-9bvpbkhr.js} +27 -27
  101. package/dist/chunks/{git-vr2vg3zy.js → project-9fc3v4re.js} +4 -4
  102. package/dist/chunks/{git-h1bdwc5p.js → project-9ken6xqn.js} +8 -8
  103. package/dist/chunks/project-9zdhvgqs.js +18 -0
  104. package/dist/chunks/{git-daw445tw.js → project-a0yh64rb.js} +11 -11
  105. package/dist/chunks/{git-5c4hm403.js → project-a1bz86dw.js} +3 -3
  106. package/dist/chunks/{git-4ykpj415.js → project-a96hn7s0.js} +12 -12
  107. package/dist/chunks/{git-aaet6srn.js → project-aaet6srn.js} +2 -2
  108. package/dist/chunks/{git-2ajybb6k.js → project-af7bxwvw.js} +5 -5
  109. package/dist/chunks/{git-68y7phbn.js → project-afed7ext.js} +5 -5
  110. package/dist/chunks/{git-bydnjh3t.js → project-b0dgvpy7.js} +9 -9
  111. package/dist/chunks/{git-2j90fwmk.js → project-b4m32151.js} +7 -7
  112. package/dist/chunks/{git-k9avtbwf.js → project-b4xa8xgk.js} +6 -6
  113. package/dist/chunks/{git-b6gygkdw.js → project-b6gygkdw.js} +2 -2
  114. package/dist/chunks/{git-qfrmsbny.js → project-baxnm38s.js} +30 -30
  115. package/dist/chunks/{git-cmwkp3r5.js → project-br0tr5aq.js} +8 -8
  116. package/dist/chunks/{git-jqbgwaya.js → project-bsrjb1f7.js} +28 -28
  117. package/dist/chunks/{git-2jrkyvhw.js → project-btkph3mh.js} +24 -24
  118. package/dist/chunks/{git-a4gew60h.js → project-c0xp0z8j.js} +23 -23
  119. package/dist/chunks/{git-7vpk8sc3.js → project-c2ee59z5.js} +3 -3
  120. package/dist/chunks/{git-p1nmgx0b.js → project-cd5e0ncw.js} +1 -1
  121. package/dist/chunks/{git-m0jqrx5p.js → project-cfpkc3c9.js} +2 -2
  122. package/dist/chunks/{git-yvye40cq.js → project-chezdbnw.js} +10 -10
  123. package/dist/chunks/{git-jp53m4qq.js → project-chhs2fpd.js} +5 -5
  124. package/dist/chunks/{git-eyz1zzrw.js → project-cj6z7q4m.js} +18 -18
  125. package/dist/chunks/{git-p44d8wdy.js → project-cr07tj7n.js} +5 -5
  126. package/dist/chunks/{git-c8jj867k.js → project-csmvz898.js} +9 -9
  127. package/dist/chunks/{git-5ccchpgh.js → project-cwxh38s6.js} +26 -26
  128. package/dist/chunks/{git-ycjb11n5.js → project-d1mtykxg.js} +6 -6
  129. package/dist/chunks/{git-sg1xppj0.js → project-d1ss3yp7.js} +21 -21
  130. package/dist/chunks/{git-xpdbz8gv.js → project-d2amnt0t.js} +62 -62
  131. package/dist/chunks/{git-vbw67av1.js → project-d3skbh37.js} +43 -43
  132. package/dist/chunks/{git-tn9zx3br.js → project-d4mvnt5t.js} +11 -11
  133. package/dist/chunks/{git-2syg74rg.js → project-d7fjbfjm.js} +4 -4
  134. package/dist/chunks/{git-9n8tprqg.js → project-d7w19mqk.js} +6 -6
  135. package/dist/chunks/{git-ygdsm0w5.js → project-d8eda7kb.js} +11 -11
  136. package/dist/chunks/{git-zee1rnkq.js → project-ddt2bs9e.js} +4 -4
  137. package/dist/chunks/{git-3eyza1hw.js → project-dgt6kxbt.js} +13 -13
  138. package/dist/chunks/{git-2f0bjgcj.js → project-dj9sq318.js} +5 -5
  139. package/dist/chunks/{git-xfkkasph.js → project-drwq78ky.js} +4 -4
  140. package/dist/chunks/{git-5heajm94.js → project-ebpj8ebp.js} +8 -8
  141. package/dist/chunks/{git-shh6fz4q.js → project-ec8389mk.js} +4 -4
  142. package/dist/chunks/{git-tbp5s86q.js → project-ecbtfsmk.js} +39 -39
  143. package/dist/chunks/{git-jaeq979q.js → project-edx0sx26.js} +9 -9
  144. package/dist/chunks/{git-segwbde7.js → project-ee4p7x9e.js} +30 -30
  145. package/dist/chunks/{git-ef5x83kb.js → project-ef5x83kb.js} +1 -1
  146. package/dist/chunks/{git-2hwxdyne.js → project-ep6z9mt6.js} +8 -8
  147. package/dist/chunks/{git-erw5rpbs.js → project-erw5rpbs.js} +2 -2
  148. package/dist/chunks/{git-etq0c3wd.js → project-etq0c3wd.js} +1 -1
  149. package/dist/chunks/{git-4tvf6cka.js → project-ez67mx11.js} +18 -18
  150. package/dist/chunks/{git-408t61km.js → project-ezzzks3g.js} +22 -22
  151. package/dist/chunks/{git-2ye5xzh0.js → project-f09vbjwv.js} +16 -16
  152. package/dist/chunks/{git-r8xr0va3.js → project-f2n192rq.js} +4 -4
  153. package/dist/chunks/{git-6nkqx3gn.js → project-f4m13756.js} +20 -20
  154. package/dist/chunks/{git-5a98hshb.js → project-f55ehv52.js} +31 -31
  155. package/dist/chunks/{git-4arb9zza.js → project-f7rj482f.js} +8 -8
  156. package/dist/chunks/{git-hdnk95c8.js → project-f828m53h.js} +2 -2
  157. package/dist/chunks/{git-jphtr8zc.js → project-fa2frvsq.js} +13 -13
  158. package/dist/chunks/{git-wsb67xeh.js → project-fcbbx3j9.js} +11 -11
  159. package/dist/chunks/{git-nq7qbqzc.js → project-fhs97t90.js} +9 -9
  160. package/dist/chunks/{git-fxbjtjnd.js → project-fxbjtjnd.js} +1 -1
  161. package/dist/chunks/{git-s8d8d7b9.js → project-g4jds230.js} +24 -24
  162. package/dist/chunks/{git-y31p2zpt.js → project-g6r4f441.js} +10 -10
  163. package/dist/chunks/{git-gd4qta3r.js → project-gd4qta3r.js} +1 -1
  164. package/dist/chunks/{git-510m7gjw.js → project-gg7pg1rj.js} +5 -5
  165. package/dist/chunks/{git-at1kfnmk.js → project-gs3s1a1g.js} +8 -8
  166. package/dist/chunks/{git-56m60q16.js → project-gv66gg0x.js} +5 -5
  167. package/dist/chunks/{git-gv6a8nnw.js → project-gv6a8nnw.js} +2 -2
  168. package/dist/chunks/{git-7w99qc9d.js → project-gynv5cx7.js} +3 -3
  169. package/dist/chunks/{git-h6vf3j39.js → project-h6vf3j39.js} +1 -1
  170. package/dist/chunks/{git-7bpzgkas.js → project-ha607pgt.js} +6 -6
  171. package/dist/chunks/{git-a85400sx.js → project-hq2v06xf.js} +16 -16
  172. package/dist/chunks/{git-vb0vr72z.js → project-j3vg15m0.js} +17 -17
  173. package/dist/chunks/{git-j56e64zr.js → project-j56e64zr.js} +1 -1
  174. package/dist/chunks/{git-aykj8f11.js → project-j8rw3axx.js} +22 -22
  175. package/dist/chunks/{git-b43x2tjx.js → project-jf6e2x3g.js} +8 -8
  176. package/dist/chunks/{git-n852fwdt.js → project-jg5wt5ha.js} +11 -11
  177. package/dist/chunks/{git-j8f2qs6h.js → project-jksd3hgh.js} +8 -8
  178. package/dist/chunks/{git-r69czbxd.js → project-jkyq3z1t.js} +24 -24
  179. package/dist/chunks/{git-abkadxp6.js → project-jmxz90ff.js} +16 -16
  180. package/dist/chunks/{git-7d76vwge.js → project-jrdxm6mh.js} +18 -18
  181. package/dist/chunks/{git-ghmv28rk.js → project-jtyz3hnt.js} +20 -20
  182. package/dist/chunks/{git-k3c624dm.js → project-k3c624dm.js} +3 -3
  183. package/dist/chunks/{git-8wk75bfx.js → project-k6p7079f.js} +20 -20
  184. package/dist/chunks/{git-r46ddqt3.js → project-k7vzf8ty.js} +6 -6
  185. package/dist/chunks/{git-nng2ktcm.js → project-kbwf032e.js} +2 -2
  186. package/dist/chunks/{git-44ke2mar.js → project-knb7evpn.js} +2 -2
  187. package/dist/chunks/{git-8gcb4b4w.js → project-kpt1qdq7.js} +11 -11
  188. package/dist/chunks/{git-bz85s9hh.js → project-kv4fs7t7.js} +1 -1
  189. package/dist/chunks/project-m2fv4tsm.js +26 -0
  190. package/dist/chunks/{git-m3fdjcah.js → project-m3fdjcah.js} +1 -1
  191. package/dist/chunks/{git-hx36sbmw.js → project-m4nmqper.js} +11 -11
  192. package/dist/chunks/{git-fvcdj7wb.js → project-m4s37zq8.js} +11 -11
  193. package/dist/chunks/{git-vrq08rdj.js → project-m73pcdkj.js} +48 -48
  194. package/dist/chunks/{git-m9w0rfyh.js → project-m9w0rfyh.js} +1 -1
  195. package/dist/chunks/{git-g190xswt.js → project-magykp64.js} +4 -4
  196. package/dist/chunks/project-mk5nqtvt.js +252 -0
  197. package/dist/chunks/{git-j3abd7zq.js → project-mk6cxvfk.js} +15 -15
  198. package/dist/chunks/{git-f7vnzrbx.js → project-mnfhan20.js} +8 -8
  199. package/dist/chunks/{git-fve8wnjz.js → project-mp0wkdkb.js} +9 -9
  200. package/dist/chunks/{git-vtyyf370.js → project-msyq6m42.js} +35 -35
  201. package/dist/chunks/{git-73tb2d7t.js → project-mvfsc1pv.js} +3 -3
  202. package/dist/chunks/{git-02pmypxa.js → project-n42gasq5.js} +32 -32
  203. package/dist/chunks/{git-5myv2p8d.js → project-n9k4a674.js} +11 -11
  204. package/dist/chunks/{git-2x6hqw9v.js → project-ndp4vv3f.js} +15 -15
  205. package/dist/chunks/{git-t9st246x.js → project-ng9fnydx.js} +47 -47
  206. package/dist/chunks/{git-41jetqzf.js → project-nhpae0wq.js} +35 -35
  207. package/dist/chunks/{git-s98dxwan.js → project-nwtacksf.js} +11 -11
  208. package/dist/chunks/{git-p28j5sbe.js → project-p28j5sbe.js} +2 -2
  209. package/dist/chunks/{git-wp1gq5nr.js → project-p2wj83qv.js} +15 -15
  210. package/dist/chunks/{git-ayjh3rzp.js → project-p53c638z.js} +15 -15
  211. package/dist/chunks/{git-kgpepejr.js → project-p9mnwjh7.js} +11 -11
  212. package/dist/chunks/{git-e60ey3ft.js → project-pavs221x.js} +4 -4
  213. package/dist/chunks/{git-pjvnvgmy.js → project-pjvnvgmy.js} +1 -1
  214. package/dist/chunks/{git-pknna89w.js → project-pknna89w.js} +1 -1
  215. package/dist/chunks/{git-r98e92ep.js → project-pmr4s4kc.js} +4 -4
  216. package/dist/chunks/{git-k242wpsy.js → project-pqeyfrg6.js} +16 -16
  217. package/dist/chunks/{git-c87apehh.js → project-pts6vf4w.js} +37 -37
  218. package/dist/chunks/{git-k1khj4z2.js → project-q0bq2k1c.js} +13 -13
  219. package/dist/chunks/{git-mdf2c320.js → project-q15fhm92.js} +6 -6
  220. package/dist/chunks/{git-qyx9bk35.js → project-qgcp42sq.js} +44 -44
  221. package/dist/chunks/{git-y1jyhyv0.js → project-qj90dp8f.js} +84 -84
  222. package/dist/chunks/{git-qsdy395h.js → project-qsdy395h.js} +1 -1
  223. package/dist/chunks/{git-vytnvtsp.js → project-qtcnb6n0.js} +36 -36
  224. package/dist/chunks/{git-58bbchv8.js → project-qzxpbk08.js} +10 -10
  225. package/dist/chunks/{git-g923tb5w.js → project-r2147qr5.js} +13 -13
  226. package/dist/chunks/{git-35ht377h.js → project-r6dyg3h3.js} +22 -22
  227. package/dist/chunks/{git-8yy6x47x.js → project-r6q7g1m5.js} +13 -13
  228. package/dist/chunks/{git-4hbtcwyf.js → project-ra7k8cxz.js} +31 -31
  229. package/dist/chunks/{git-nx1dzctz.js → project-rbtwj3fv.js} +8 -8
  230. package/dist/chunks/{git-rdw6cm16.js → project-rdw6cm16.js} +1 -1
  231. package/dist/chunks/{git-7yze2c8e.js → project-rf6x4mzb.js} +23 -23
  232. package/dist/chunks/{git-kkrawjrh.js → project-rsm7z9rp.js} +6 -6
  233. package/dist/chunks/{git-10z2cff9.js → project-rvgstrhz.js} +17 -17
  234. package/dist/chunks/{git-svg3w2h1.js → project-ryycqeg8.js} +1 -1
  235. package/dist/chunks/{git-mz31q2z2.js → project-rz9rje65.js} +15 -15
  236. package/dist/chunks/{git-mqnxk84h.js → project-s2b3f138.js} +7 -7
  237. package/dist/chunks/{git-ac6wgtzc.js → project-s5dm7ens.js} +21 -21
  238. package/dist/chunks/{git-way2fyha.js → project-sdkmmp6p.js} +29 -29
  239. package/dist/chunks/{git-xyst5azx.js → project-seetsk1y.js} +20 -20
  240. package/dist/chunks/{git-0cbp42yf.js → project-ss3aymxd.js} +3 -3
  241. package/dist/chunks/{git-tazgh4e4.js → project-tazgh4e4.js} +1 -1
  242. package/dist/chunks/{git-1sjzhdj3.js → project-tb8aj0jp.js} +16 -16
  243. package/dist/chunks/{git-2k71kv7p.js → project-tbmac1c7.js} +4 -4
  244. package/dist/chunks/{git-my2v1wkz.js → project-tc2dawkr.js} +11 -11
  245. package/dist/chunks/{git-tdstcens.js → project-tdstcens.js} +1 -1
  246. package/dist/chunks/{git-gn6qf5g4.js → project-tj88ws5h.js} +4 -4
  247. package/dist/chunks/{git-k9mgd1ps.js → project-tjr458hf.js} +10 -10
  248. package/dist/chunks/{git-0bgz29s9.js → project-tkndnfam.js} +4 -4
  249. package/dist/chunks/{git-50pgn4y4.js → project-tkrzs310.js} +6 -6
  250. package/dist/chunks/{git-mgg80ybm.js → project-tsxqf4cv.js} +25 -25
  251. package/dist/chunks/{git-tvtrv512.js → project-tvtrv512.js} +1 -1
  252. package/dist/chunks/{git-r3grwxg7.js → project-twthfsw8.js} +43 -43
  253. package/dist/chunks/{git-nfmeaax4.js → project-tzsjrs71.js} +17 -17
  254. package/dist/chunks/{git-4nvcxvz7.js → project-vaahshze.js} +10 -10
  255. package/dist/chunks/{git-veqvce7d.js → project-veqvce7d.js} +1 -1
  256. package/dist/chunks/{git-7ac170kv.js → project-vkxpz7g2.js} +4 -4
  257. package/dist/chunks/{git-yx0t6q4x.js → project-vm3z8dtg.js} +5 -5
  258. package/dist/chunks/{git-cxp53ypn.js → project-vsyfpyr9.js} +22 -22
  259. package/dist/chunks/{git-vzcthcp8.js → project-vzcthcp8.js} +1 -1
  260. package/dist/chunks/{git-w3wsvvr9.js → project-w3wsvvr9.js} +1 -1
  261. package/dist/chunks/{git-w8j3tndx.js → project-w4zfp3g6.js} +8 -8
  262. package/dist/chunks/{git-nmkrx1ap.js → project-w6y0yszf.js} +5 -5
  263. package/dist/chunks/{git-en150vp6.js → project-w7gj1e9s.js} +34 -34
  264. package/dist/chunks/{git-vyqn3nqs.js → project-waa9wdep.js} +6 -6
  265. package/dist/chunks/{git-wd87259q.js → project-wd87259q.js} +1 -1
  266. package/dist/chunks/{git-x1ezjp6w.js → project-x1ezjp6w.js} +1 -1
  267. package/dist/chunks/{git-pb8ht8km.js → project-x8rnm5yb.js} +22 -22
  268. package/dist/chunks/{git-pnss60ng.js → project-x99mmdzx.js} +10 -10
  269. package/dist/chunks/{git-fhz5gfgy.js → project-xjtsx636.js} +5 -5
  270. package/dist/chunks/{git-mjsf35yc.js → project-xrf7y2d9.js} +24 -24
  271. package/dist/chunks/{git-y1fvbwt7.js → project-y1fvbwt7.js} +1 -1
  272. package/dist/chunks/{git-ccqtsjcf.js → project-y4wxjvpb.js} +11 -11
  273. package/dist/chunks/{git-0pwrfd95.js → project-y6g64962.js} +16 -16
  274. package/dist/chunks/{git-dpkg50ah.js → project-y71avatq.js} +4 -4
  275. package/dist/chunks/{git-mmbz82p6.js → project-yee4g248.js} +5 -5
  276. package/dist/chunks/{git-00gra85v.js → project-ykjmw520.js} +13 -13
  277. package/dist/chunks/{git-yrhqyw5v.js → project-yrhqyw5v.js} +1 -1
  278. package/dist/chunks/{git-yrznvahk.js → project-yrznvahk.js} +2 -2
  279. package/dist/chunks/{git-h46291mb.js → project-z04y6wbq.js} +32 -32
  280. package/dist/chunks/{git-z0bkrqjs.js → project-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{git-msknr91p.js → project-z47gpksh.js} +24 -24
  282. package/dist/chunks/{git-z63w68vq.js → project-z63w68vq.js} +2 -2
  283. package/dist/chunks/{git-ftqhemdh.js → project-zafvkgz2.js} +15 -15
  284. package/dist/chunks/{git-n42cx0ab.js → project-zc0wbjka.js} +29 -29
  285. package/dist/chunks/{git-zeh9ct20.js → project-zeh9ct20.js} +2 -2
  286. package/dist/chunks/{git-2n10f9nc.js → project-zgqx0wd1.js} +3 -3
  287. package/dist/chunks/{git-zr2ceqn5.js → project-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{git-s2k58n27.js → project-zvg9jnf3.js} +33 -33
  289. package/dist/chunks/{git-zxq2ej10.js → project-zxq2ej10.js} +1 -1
  290. package/dist/chunks/{git-8b8nab4q.js → project-zymmqkhq.js} +12 -12
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +7 -7
  293. package/dist/codemode/tool.js +3 -3
  294. package/dist/codemode/web.js +1 -1
  295. package/dist/command.js +84 -84
  296. package/dist/config/discovery.js +83 -83
  297. package/dist/config/markdown.js +1 -1
  298. package/dist/config/normalize.js +105 -105
  299. package/dist/config/plugin/agent.js +124 -124
  300. package/dist/config/plugin/command.js +213 -213
  301. package/dist/config/plugin/compaction.js +161 -161
  302. package/dist/config/plugin/compatibility.js +140 -140
  303. package/dist/config/plugin/entry-observer.js +1 -1
  304. package/dist/config/plugin/formatter.js +123 -123
  305. package/dist/config/plugin/image.js +122 -122
  306. package/dist/config/plugin/instruction.js +89 -89
  307. package/dist/config/plugin/location-watcher.js +122 -122
  308. package/dist/config/plugin/mcp.js +131 -131
  309. package/dist/config/plugin/policy.js +123 -123
  310. package/dist/config/plugin/provider.js +122 -122
  311. package/dist/config/plugin/reference.js +124 -124
  312. package/dist/config/plugin/shell.js +122 -122
  313. package/dist/config/plugin/skill-file.js +101 -101
  314. package/dist/config/plugin/skill.js +143 -143
  315. package/dist/config/plugin/snapshot.js +122 -122
  316. package/dist/config/plugin/source.js +125 -125
  317. package/dist/config/plugin/tool-output.js +124 -124
  318. package/dist/config/plugin/websearch.js +121 -121
  319. package/dist/config/plugin/worktree.js +124 -124
  320. package/dist/config/variable.js +3 -3
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +127 -127
  323. package/dist/credential/sql.js +2 -2
  324. package/dist/credential.js +82 -82
  325. package/dist/database/database.js +65 -65
  326. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  327. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  328. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  329. package/dist/database/drizzle/index.js +15 -15
  330. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  333. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  340. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  341. package/dist/database/drizzle.js +16 -16
  342. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  343. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  344. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  345. package/dist/database/migration/20260225215848_workspace.js +1 -1
  346. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  347. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  348. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  349. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  350. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  351. package/dist/database/migration/20260323234822_events.js +1 -1
  352. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  353. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  354. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  355. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  356. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  357. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  358. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  359. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  360. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  361. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  362. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  363. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  364. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  365. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  366. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  367. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  368. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  369. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  370. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  371. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  372. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  373. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  374. package/dist/database/migration/20260611035744_credential.js +1 -1
  375. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  376. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  377. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  378. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  379. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  380. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  381. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  382. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  383. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  384. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  385. package/dist/database/migration/20260812213948_worktree.js +1 -1
  386. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  387. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  388. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  389. package/dist/database/migration.gen.js +48 -48
  390. package/dist/database/migration.js +50 -50
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +75 -75
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +369 -369
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +3 -3
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +92 -92
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +94 -94
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +1 -1
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +69 -69
  414. package/dist/file-access.js +103 -103
  415. package/dist/file-mutation.js +93 -93
  416. package/dist/file-retention.js +1 -1
  417. package/dist/file.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/ignore.js +1 -1
  423. package/dist/filesystem/location-watcher-policy.js +6 -6
  424. package/dist/filesystem/location-watcher.js +222 -222
  425. package/dist/filesystem/protected.js +3 -3
  426. package/dist/filesystem/search.js +102 -102
  427. package/dist/filesystem/watcher-binding.js +1 -1
  428. package/dist/filesystem/watcher.js +15 -15
  429. package/dist/filesystem.js +107 -107
  430. package/dist/form.js +83 -83
  431. package/dist/formatter/builtins.js +4 -4
  432. package/dist/formatter.js +86 -86
  433. package/dist/generate.js +98 -98
  434. package/dist/git.js +6 -6
  435. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  436. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  437. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  439. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  441. package/dist/github-copilot/copilot-provider.js +17 -17
  442. package/dist/github-copilot/models.js +98 -98
  443. package/dist/github-copilot/openai-compatible-error.js +1 -1
  444. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  445. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  446. package/dist/github-copilot/responses/openai-error.js +1 -1
  447. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  448. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  449. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  450. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  451. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  454. package/dist/id/id.js +1 -1
  455. package/dist/image/photon.js +2 -2
  456. package/dist/image.js +6 -6
  457. package/dist/instance/service.js +5 -5
  458. package/dist/instance.js +360 -360
  459. package/dist/instruction-discovery.js +84 -84
  460. package/dist/instructions/builtins.js +86 -86
  461. package/dist/instructions/index.js +3 -3
  462. package/dist/integration/connection.js +3 -3
  463. package/dist/integration.js +85 -85
  464. package/dist/job.js +78 -78
  465. package/dist/kv/sql.js +2 -2
  466. package/dist/kv.js +72 -72
  467. package/dist/location-activity.js +131 -131
  468. package/dist/location-lifecycle.js +105 -105
  469. package/dist/location-mutation.js +103 -103
  470. package/dist/location-service-map.js +85 -85
  471. package/dist/location-services.js +357 -357
  472. package/dist/location.js +80 -80
  473. package/dist/managed-policy.js +5 -5
  474. package/dist/mcp/client.js +90 -90
  475. package/dist/mcp/index.js +107 -107
  476. package/dist/mcp/instructions.js +125 -125
  477. package/dist/mcp/oauth.js +77 -77
  478. package/dist/mcp/stdio.js +89 -89
  479. package/dist/mime.js +1 -1
  480. package/dist/modal/models.js +98 -98
  481. package/dist/model-resolver.js +97 -97
  482. package/dist/model.js +101 -101
  483. package/dist/models-dev.js +106 -106
  484. package/dist/oauth/page.js +1 -1
  485. package/dist/permission/saved.js +81 -81
  486. package/dist/permission/sql.js +5 -5
  487. package/dist/permission.js +110 -110
  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 +85 -85
  491. package/dist/persistent-pty/pty-binding.js +1 -1
  492. package/dist/persistent-pty.js +74 -74
  493. package/dist/plugin/agent.js +103 -103
  494. package/dist/plugin/command.js +100 -100
  495. package/dist/plugin/compaction.js +132 -132
  496. package/dist/plugin/hooks.js +5 -5
  497. package/dist/plugin/host.js +217 -217
  498. package/dist/plugin/identity.js +3 -3
  499. package/dist/plugin/instance.js +5 -5
  500. package/dist/plugin/internal.js +331 -331
  501. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  502. package/dist/plugin/models-dev.js +95 -95
  503. package/dist/plugin/module.js +7 -7
  504. package/dist/plugin/optimize.js +2 -2
  505. package/dist/plugin/plan.js +101 -101
  506. package/dist/plugin/promise.js +1 -1
  507. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  508. package/dist/plugin/provider/azure.js +121 -121
  509. package/dist/plugin/provider/cerebras.js +1 -1
  510. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  511. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  512. package/dist/plugin/provider/cohere.js +2 -2
  513. package/dist/plugin/provider/configured.js +118 -118
  514. package/dist/plugin/provider/digitalocean.js +92 -92
  515. package/dist/plugin/provider/dynamic.js +2 -2
  516. package/dist/plugin/provider/factory.js +1 -1
  517. package/dist/plugin/provider/gateway.js +2 -2
  518. package/dist/plugin/provider/github-copilot.js +92 -92
  519. package/dist/plugin/provider/gitlab.js +90 -90
  520. package/dist/plugin/provider/google-vertex.js +89 -89
  521. package/dist/plugin/provider/kilo.js +1 -1
  522. package/dist/plugin/provider/llmgateway.js +76 -76
  523. package/dist/plugin/provider/lmstudio.js +121 -121
  524. package/dist/plugin/provider/modal.js +91 -91
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +121 -121
  527. package/dist/plugin/provider/openai.js +91 -91
  528. package/dist/plugin/provider/opencode.js +93 -93
  529. package/dist/plugin/provider/openrouter.js +90 -90
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +77 -77
  532. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  533. package/dist/plugin/provider/sap-ai-core.js +90 -90
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  536. package/dist/plugin/provider/venice.js +2 -2
  537. package/dist/plugin/provider/vercel.js +89 -89
  538. package/dist/plugin/provider/vllm.js +121 -121
  539. package/dist/plugin/provider/xai.js +90 -90
  540. package/dist/plugin/provider/zenmux.js +1 -1
  541. package/dist/plugin/provider.js +159 -159
  542. package/dist/plugin/sdk.js +75 -75
  543. package/dist/plugin/service.js +3 -3
  544. package/dist/plugin/skill.js +140 -140
  545. package/dist/plugin/source-directory.js +1 -1
  546. package/dist/plugin/supervisor.js +346 -346
  547. package/dist/plugin/tool-input-repair.js +4 -4
  548. package/dist/plugin/update.js +6 -6
  549. package/dist/plugin/vcs/git.js +85 -85
  550. package/dist/plugin/vcs/hg.js +85 -85
  551. package/dist/plugin/warming.js +120 -120
  552. package/dist/plugin/websearch/exa.js +5 -5
  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 +6 -6
  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 +8 -8
  559. package/dist/plugin.js +228 -228
  560. package/dist/project/schema.js +2 -2
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +79 -79
  563. package/dist/provider.js +98 -98
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/schema.js +3 -3
  566. package/dist/pty/ticket.js +1 -1
  567. package/dist/pty.js +97 -97
  568. package/dist/reference/instructions.js +88 -88
  569. package/dist/reference.js +88 -88
  570. package/dist/repository-cache.js +80 -80
  571. package/dist/repository.js +3 -3
  572. package/dist/ripgrep/binary.js +2 -2
  573. package/dist/ripgrep.js +96 -96
  574. package/dist/rpc.js +85 -85
  575. package/dist/schema.js +1 -1
  576. package/dist/session/command.js +73 -73
  577. package/dist/session/compaction.js +133 -133
  578. package/dist/session/context.js +151 -151
  579. package/dist/session/diff.js +87 -87
  580. package/dist/session/environment.js +3 -3
  581. package/dist/session/error.js +5 -5
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +220 -220
  584. package/dist/session/execution.js +125 -125
  585. package/dist/session/generate.js +150 -150
  586. package/dist/session/history.js +13 -13
  587. package/dist/session/inbox.js +89 -89
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +78 -78
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +96 -96
  592. package/dist/session/message-updater.js +2 -2
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +118 -118
  595. package/dist/session/model-transport.js +9 -9
  596. package/dist/session/move.js +129 -129
  597. package/dist/session/projector.js +85 -85
  598. package/dist/session/prompt.js +104 -104
  599. package/dist/session/provider-context.js +3 -3
  600. package/dist/session/revert.js +89 -89
  601. package/dist/session/run-coordinator.js +3 -3
  602. package/dist/session/runner/index.js +3 -3
  603. package/dist/session/runner/llm.js +230 -230
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +97 -97
  606. package/dist/session/runner/publish-llm-event.js +3 -3
  607. package/dist/session/runner/retry.js +113 -113
  608. package/dist/session/runner/step.js +123 -123
  609. package/dist/session/runner/to-llm-message.js +2 -2
  610. package/dist/session/schema.js +5 -5
  611. package/dist/session/session.js +171 -171
  612. package/dist/session/shell.js +137 -137
  613. package/dist/session/skill.js +102 -102
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +72 -72
  616. package/dist/session/store.js +86 -86
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +209 -209
  619. package/dist/session/system-prompt.js +3 -3
  620. package/dist/session/title.js +149 -149
  621. package/dist/session/to-session-error.js +110 -110
  622. package/dist/session/transfer.js +213 -213
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +217 -217
  625. package/dist/shell/parse.js +6 -6
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +15 -15
  629. package/dist/shell.js +137 -137
  630. package/dist/skill/discovery.js +6 -6
  631. package/dist/skill/instructions.js +104 -104
  632. package/dist/skill.js +109 -109
  633. package/dist/snapshot.js +88 -88
  634. package/dist/state.js +1 -1
  635. package/dist/tool/html-markdown.js +1 -1
  636. package/dist/tool/http-body.js +1 -1
  637. package/dist/tool/mcp.js +126 -126
  638. package/dist/tool/plugin/edit.js +119 -119
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +123 -123
  641. package/dist/tool/plugin/grep.js +123 -123
  642. package/dist/tool/plugin/opencode.js +3 -3
  643. package/dist/tool/plugin/patch.js +121 -121
  644. package/dist/tool/plugin/question.js +102 -102
  645. package/dist/tool/plugin/read.js +124 -124
  646. package/dist/tool/plugin/shell.js +214 -214
  647. package/dist/tool/plugin/skill.js +112 -112
  648. package/dist/tool/plugin/subagent.js +210 -210
  649. package/dist/tool/plugin/webfetch.js +111 -111
  650. package/dist/tool/plugin/websearch.js +111 -111
  651. package/dist/tool/plugin/write.js +121 -121
  652. package/dist/tool/read-filesystem.js +99 -99
  653. package/dist/tool/runtime.js +1 -1
  654. package/dist/tool-output.js +6 -6
  655. package/dist/tool.js +16 -16
  656. package/dist/util/error-summary.js +1 -1
  657. package/dist/util/error.js +1 -1
  658. package/dist/util/git-executable.js +2 -2
  659. package/dist/util/iife.js +1 -1
  660. package/dist/util/lazy.js +1 -1
  661. package/dist/util/slug.js +1 -1
  662. package/dist/util/token.js +1 -1
  663. package/dist/util/which.js +1 -1
  664. package/dist/util/wildcard.js +1 -1
  665. package/dist/v1/config/agent.js +5 -5
  666. package/dist/v1/config/attachment.js +4 -4
  667. package/dist/v1/config/command.js +5 -5
  668. package/dist/v1/config/config.js +16 -16
  669. package/dist/v1/config/error.js +2 -2
  670. package/dist/v1/config/formatter.js +5 -5
  671. package/dist/v1/config/layout.js +1 -1
  672. package/dist/v1/config/lsp.js +5 -5
  673. package/dist/v1/config/mcp.js +4 -4
  674. package/dist/v1/config/migrate.js +91 -91
  675. package/dist/v1/config/permission.js +3 -3
  676. package/dist/v1/config/plugin.js +3 -3
  677. package/dist/v1/config/provider-options.js +1 -1
  678. package/dist/v1/config/provider.js +4 -4
  679. package/dist/v1/config/server.js +2 -2
  680. package/dist/v1/config/skills.js +3 -3
  681. package/dist/v1/permission.js +1 -1
  682. package/dist/variant.js +92 -92
  683. package/dist/vcs/patch.js +1 -1
  684. package/dist/vcs.js +88 -88
  685. package/dist/websearch.js +79 -79
  686. package/dist/wellknown/plugin.js +75 -75
  687. package/dist/wellknown.js +80 -80
  688. package/dist/workspace/driver.js +7 -7
  689. package/dist/workspace/sql.js +1 -1
  690. package/dist/workspace.js +79 -79
  691. package/dist/worktree/directory.js +2 -2
  692. package/dist/worktree/git.js +10 -10
  693. package/dist/worktree/sql.js +5 -5
  694. package/dist/worktree/strategies.js +88 -88
  695. package/dist/worktree.js +97 -97
  696. package/package.json +8 -8
  697. package/dist/chunks/git-1tm0r3ht.js +0 -4
  698. package/dist/chunks/git-8mkkfjr9.js +0 -26
  699. package/dist/chunks/git-9sh4wc5j.js +0 -18
  700. package/dist/chunks/git-fqy4gber.js +0 -252
  701. /package/dist/chunks/{git-0qkdqm5v.js → project-0qkdqm5v.js} +0 -0
  702. /package/dist/chunks/{git-0zkw76rk.js → project-0zkw76rk.js} +0 -0
  703. /package/dist/chunks/{git-17cy0kzp.js → project-17cy0kzp.js} +0 -0
  704. /package/dist/chunks/{git-1cnp2v09.js → project-1cnp2v09.js} +0 -0
  705. /package/dist/chunks/{git-1kg9ymc8.js → project-1kg9ymc8.js} +0 -0
  706. /package/dist/chunks/{git-24dcb14g.js → project-24dcb14g.js} +0 -0
  707. /package/dist/chunks/{git-2710q6r3.js → project-2710q6r3.js} +0 -0
  708. /package/dist/chunks/{git-2axfhc9x.js → project-2axfhc9x.js} +0 -0
  709. /package/dist/chunks/{git-2c3vjs8z.js → project-2c3vjs8z.js} +0 -0
  710. /package/dist/chunks/{git-359p4xyc.js → project-359p4xyc.js} +0 -0
  711. /package/dist/chunks/{git-3asan66x.js → project-3asan66x.js} +0 -0
  712. /package/dist/chunks/{git-3v8g72cx.js → project-3v8g72cx.js} +0 -0
  713. /package/dist/chunks/{git-3w5fmr99.js → project-3w5fmr99.js} +0 -0
  714. /package/dist/chunks/{git-3wcehsnq.js → project-3wcehsnq.js} +0 -0
  715. /package/dist/chunks/{git-43n2bw4t.js → project-43n2bw4t.js} +0 -0
  716. /package/dist/chunks/{git-4knz6hnm.js → project-4knz6hnm.js} +0 -0
  717. /package/dist/chunks/{git-4vcrnpx2.js → project-4vcrnpx2.js} +0 -0
  718. /package/dist/chunks/{git-4y7fprxs.js → project-4y7fprxs.js} +0 -0
  719. /package/dist/chunks/{git-53557ph1.js → project-53557ph1.js} +0 -0
  720. /package/dist/chunks/{git-550bvhaj.js → project-550bvhaj.js} +0 -0
  721. /package/dist/chunks/{git-5qd3pb7m.js → project-5qd3pb7m.js} +0 -0
  722. /package/dist/chunks/{git-6prwharc.js → project-6prwharc.js} +0 -0
  723. /package/dist/chunks/{git-7akdwqpd.js → project-7akdwqpd.js} +0 -0
  724. /package/dist/chunks/{git-7m9af43g.js → project-7m9af43g.js} +0 -0
  725. /package/dist/chunks/{git-822emrt2.js → project-822emrt2.js} +0 -0
  726. /package/dist/chunks/{git-88xbtdfr.js → project-88xbtdfr.js} +0 -0
  727. /package/dist/chunks/{git-8n3pysct.js → project-8n3pysct.js} +0 -0
  728. /package/dist/chunks/{git-922hggd3.js → project-922hggd3.js} +0 -0
  729. /package/dist/chunks/{git-9a4afbnw.js → project-9a4afbnw.js} +0 -0
  730. /package/dist/chunks/{git-9rqn6x4v.js → project-9rqn6x4v.js} +0 -0
  731. /package/dist/chunks/{git-a6k6eb26.js → project-a6k6eb26.js} +0 -0
  732. /package/dist/chunks/{git-af5trqkr.js → project-af5trqkr.js} +0 -0
  733. /package/dist/chunks/{git-afrmfg78.js → project-afrmfg78.js} +0 -0
  734. /package/dist/chunks/{git-aqzs7mqg.js → project-aqzs7mqg.js} +0 -0
  735. /package/dist/chunks/{git-atq7p7m5.js → project-atq7p7m5.js} +0 -0
  736. /package/dist/chunks/{git-bkyjaxrp.js → project-bkyjaxrp.js} +0 -0
  737. /package/dist/chunks/{git-bmr6ed5q.js → project-bmr6ed5q.js} +0 -0
  738. /package/dist/chunks/{git-cf4snx6d.js → project-cf4snx6d.js} +0 -0
  739. /package/dist/chunks/{git-cvy3z8tj.js → project-cvy3z8tj.js} +0 -0
  740. /package/dist/chunks/{git-d9fn303g.js → project-d9fn303g.js} +0 -0
  741. /package/dist/chunks/{git-d9jj8t3e.js → project-d9jj8t3e.js} +0 -0
  742. /package/dist/chunks/{git-dajrwvna.js → project-dajrwvna.js} +0 -0
  743. /package/dist/chunks/{git-dap0rakb.js → project-dap0rakb.js} +0 -0
  744. /package/dist/chunks/{git-df08tz66.js → project-df08tz66.js} +0 -0
  745. /package/dist/chunks/{git-dy18nga0.js → project-dy18nga0.js} +0 -0
  746. /package/dist/chunks/{git-e5kj55wp.js → project-e5kj55wp.js} +0 -0
  747. /package/dist/chunks/{git-e73j6tqm.js → project-e73j6tqm.js} +0 -0
  748. /package/dist/chunks/{git-ec1grn59.js → project-ec1grn59.js} +0 -0
  749. /package/dist/chunks/{git-eh3zwz77.js → project-eh3zwz77.js} +0 -0
  750. /package/dist/chunks/{git-emrn6kk6.js → project-emrn6kk6.js} +0 -0
  751. /package/dist/chunks/{git-f0mxakyp.js → project-f0mxakyp.js} +0 -0
  752. /package/dist/chunks/{git-f6n9ztr4.js → project-f6n9ztr4.js} +0 -0
  753. /package/dist/chunks/{git-faypxj3z.js → project-faypxj3z.js} +0 -0
  754. /package/dist/chunks/{git-fd410y7t.js → project-fd410y7t.js} +0 -0
  755. /package/dist/chunks/{git-fxgpk5d8.js → project-fxgpk5d8.js} +0 -0
  756. /package/dist/chunks/{git-g4wezp1m.js → project-g4wezp1m.js} +0 -0
  757. /package/dist/chunks/{git-g86h250q.js → project-g86h250q.js} +0 -0
  758. /package/dist/chunks/{git-gebd4c9n.js → project-gebd4c9n.js} +0 -0
  759. /package/dist/chunks/{git-gftt206x.js → project-gftt206x.js} +0 -0
  760. /package/dist/chunks/{git-hjbc5kem.js → project-hjbc5kem.js} +0 -0
  761. /package/dist/chunks/{git-hk9envan.js → project-hk9envan.js} +0 -0
  762. /package/dist/chunks/{git-j2ntwpah.js → project-j2ntwpah.js} +0 -0
  763. /package/dist/chunks/{git-j5zkgpj8.js → project-j5zkgpj8.js} +0 -0
  764. /package/dist/chunks/{git-jjkms2e6.js → project-jjkms2e6.js} +0 -0
  765. /package/dist/chunks/{git-jr7sbwjy.js → project-jr7sbwjy.js} +0 -0
  766. /package/dist/chunks/{git-jwfs4k6c.js → project-jwfs4k6c.js} +0 -0
  767. /package/dist/chunks/{git-jzg6c2d5.js → project-jzg6c2d5.js} +0 -0
  768. /package/dist/chunks/{git-mp448xyj.js → project-mp448xyj.js} +0 -0
  769. /package/dist/chunks/{git-msx8hqn2.js → project-msx8hqn2.js} +0 -0
  770. /package/dist/chunks/{git-n05xt0ee.js → project-n05xt0ee.js} +0 -0
  771. /package/dist/chunks/{git-n3j8tn72.js → project-n3j8tn72.js} +0 -0
  772. /package/dist/chunks/{git-njntx4h6.js → project-njntx4h6.js} +0 -0
  773. /package/dist/chunks/{git-q3sfg36h.js → project-q3sfg36h.js} +0 -0
  774. /package/dist/chunks/{git-q74kybfr.js → project-q74kybfr.js} +0 -0
  775. /package/dist/chunks/{git-qaymkmh1.js → project-qaymkmh1.js} +0 -0
  776. /package/dist/chunks/{git-qb87gjwd.js → project-qb87gjwd.js} +0 -0
  777. /package/dist/chunks/{git-qfa1cgps.js → project-qfa1cgps.js} +0 -0
  778. /package/dist/chunks/{git-qg3g05ea.js → project-qg3g05ea.js} +0 -0
  779. /package/dist/chunks/{git-qrg20bc0.js → project-qrg20bc0.js} +0 -0
  780. /package/dist/chunks/{git-rcb2kzg1.js → project-rcb2kzg1.js} +0 -0
  781. /package/dist/chunks/{git-sdp7kfr6.js → project-sdp7kfr6.js} +0 -0
  782. /package/dist/chunks/{git-sk3qaz4a.js → project-sk3qaz4a.js} +0 -0
  783. /package/dist/chunks/{git-ssg3fenm.js → project-ssg3fenm.js} +0 -0
  784. /package/dist/chunks/{git-twg0f83k.js → project-twg0f83k.js} +0 -0
  785. /package/dist/chunks/{git-w803qqfp.js → project-w803qqfp.js} +0 -0
  786. /package/dist/chunks/{git-wc3fc9cn.js → project-wc3fc9cn.js} +0 -0
  787. /package/dist/chunks/{git-wer8tq1h.js → project-wer8tq1h.js} +0 -0
  788. /package/dist/chunks/{git-wtztk69x.js → project-wtztk69x.js} +0 -0
  789. /package/dist/chunks/{git-x0ckcb58.js → project-x0ckcb58.js} +0 -0
  790. /package/dist/chunks/{git-x61499pn.js → project-x61499pn.js} +0 -0
  791. /package/dist/chunks/{git-y44na4kk.js → project-y44na4kk.js} +0 -0
  792. /package/dist/chunks/{git-y8cydn3q.js → project-y8cydn3q.js} +0 -0
  793. /package/dist/chunks/{git-y8f7s663.js → project-y8f7s663.js} +0 -0
  794. /package/dist/chunks/{git-ygaqb7jw.js → project-ygaqb7jw.js} +0 -0
  795. /package/dist/chunks/{git-ym463w8f.js → project-ym463w8f.js} +0 -0
  796. /package/dist/chunks/{git-z9919s4g.js → project-z9919s4g.js} +0 -0
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./git-922hggd3.js";
4
+ } from "./project-922hggd3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
8
  Service82,
9
9
  node86
10
- } from "./git-68y7phbn.js";
10
+ } from "./project-afed7ext.js";
11
11
  import {
12
12
  Service80,
13
13
  node84
14
- } from "./git-xwrsj031.js";
14
+ } from "./project-2czxbyyd.js";
15
15
  import {
16
16
  create3
17
- } from "./git-rdw6cm16.js";
17
+ } from "./project-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./git-9rqn6x4v.js";
20
+ } from "./project-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error3,
25
+ Error: () => Error2,
26
26
  ID: () => ID4,
27
- Service: () => Service44,
27
+ Service: () => Service31,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node48,
29
+ node: () => node34,
30
30
  noopLayer: () => noopLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -36,16 +36,16 @@ import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
37
  import { ID as ID4 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error3 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error2 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service44 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service31 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service44, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service31, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
50
  const git = yield* Service82;
51
51
  const global = yield* Global.Service;
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const relative = path.relative(worktree, location.directory);
75
75
  if (relative.startsWith("..") || path.isAbsolute(relative))
76
- return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
127
127
  for (const [file, snapshot] of input.files) {
128
128
  const absolute = path.resolve(worktree, file);
129
129
  if (!FSUtil.contains(worktree, absolute))
130
- return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
130
+ return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
131
131
  files.set(file, TreeID2.make(snapshot));
132
132
  }
133
133
  return files;
134
134
  });
135
135
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
136
136
  if (!enabled())
137
- return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
137
+ return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
138
138
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
139
139
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
140
140
  });
141
- return Service44.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service31.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node48 = makeLocationNode({
144
- service: Service44,
143
+ var node34 = makeLocationNode({
144
+ service: Service31,
145
145
  layer,
146
146
  deps: [FSUtil.node, node86, Global.node, node84]
147
147
  });
148
- var noopLayer2 = Layer.succeed(Service44, Service44.of({
148
+ var noopLayer2 = Layer.succeed(Service31, Service31.of({
149
149
  transform: () => Effect.succeed({ dispose: Effect.void }),
150
150
  reload: () => Effect.void,
151
151
  capture: () => Effect.undefined,
@@ -154,13 +154,13 @@ var noopLayer2 = Layer.succeed(Service44, Service44.of({
154
154
  restore: () => Effect.void
155
155
  }));
156
156
  function failure(operation, cause) {
157
- if (cause instanceof Error3 && cause.operation === operation)
157
+ if (cause instanceof Error2 && cause.operation === operation)
158
158
  return cause;
159
- return new Error3({
159
+ return new Error2({
160
160
  operation,
161
161
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
162
162
  cause
163
163
  });
164
164
  }
165
165
 
166
- export { ID4, Error3, Service44, node48, noopLayer2, exports_snapshot2 };
166
+ export { ID4, Error2, Service31, node34, noopLayer2, exports_snapshot2 };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service65,
3
- node69,
2
+ Service79,
3
+ node83,
4
4
  canonical3
5
- } from "./git-jaeq979q.js";
5
+ } from "./project-edx0sx26.js";
6
6
  import {
7
- Service61,
8
- node65
9
- } from "./git-ycjb11n5.js";
7
+ Service39,
8
+ node41
9
+ } from "./project-d1mtykxg.js";
10
10
  import {
11
- Service18
12
- } from "./git-msknr91p.js";
11
+ Service14
12
+ } from "./project-z47gpksh.js";
13
13
  import {
14
14
  layer2
15
- } from "./git-fqy4gber.js";
15
+ } from "./project-mk5nqtvt.js";
16
16
 
17
17
  // src/location-services.ts
18
18
  import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
19
19
  function buildLocationServiceMap2(replacements = []) {
20
- return Layer.effect(Service65, Effect.gen(function* () {
20
+ return Layer.effect(Service79, Effect.gen(function* () {
21
21
  const owner = yield* Effect.scope;
22
22
  const builds = MutableHashMap.empty();
23
23
  const inner = yield* LayerMap.make((ref) => {
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
27
27
  const finish = Effect.suspend(() => {
28
28
  if (Exit.isSuccess(exit)) {
29
29
  return Effect.gen(function* () {
30
- const lifecycle = Context.get(exit.value, Service18);
30
+ const lifecycle = Context.get(exit.value, Service14);
31
31
  if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
32
32
  return yield* lifecycle.shutdown;
33
33
  build.close = lifecycle.shutdown;
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
54
54
  }).pipe(Effect.uninterruptible)
55
55
  };
56
56
  const bindings = [
57
- node65.replace(Layer.succeed(Service61, {
57
+ node41.replace(Layer.succeed(Service39, {
58
58
  provide: (session) => Effect.provide(map.get(session.location))
59
59
  })),
60
60
  ...replacements,
61
- node69.replace(Layer.succeed(Service65, map))
61
+ node83.replace(Layer.succeed(Service79, map))
62
62
  ];
63
63
  return map;
64
64
  }));
@@ -1,66 +1,66 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./git-1bzc8wjz.js";
4
+ } from "./project-40xgcexb.js";
5
5
  import {
6
6
  Service80,
7
7
  node84
8
- } from "./git-xwrsj031.js";
8
+ } from "./project-2czxbyyd.js";
9
9
  import {
10
- ID7
11
- } from "./git-1tm0r3ht.js";
10
+ ID2
11
+ } from "./project-0mesazry.js";
12
12
  import {
13
- Service58,
13
+ Service54,
14
14
  login2,
15
- node63
16
- } from "./git-408t61km.js";
15
+ node56
16
+ } from "./project-ezzzks3g.js";
17
17
  import {
18
18
  lazy2
19
- } from "./git-88xbtdfr.js";
19
+ } from "./project-88xbtdfr.js";
20
20
  import {
21
21
  __export
22
- } from "./git-9rqn6x4v.js";
22
+ } from "./project-9rqn6x4v.js";
23
23
 
24
24
  // src/pty.ts
25
25
  var exports_pty = {};
26
26
  __export(exports_pty, {
27
- CreateInput: () => CreateInput3,
28
- Event: () => Event13,
27
+ CreateInput: () => CreateInput2,
28
+ Event: () => Event2,
29
29
  ExitedError: () => ExitedError2,
30
- Info: () => Info20,
31
- NotFoundError: () => NotFoundError7,
30
+ Info: () => Info2,
31
+ NotFoundError: () => NotFoundError2,
32
32
  Pty: () => exports_pty,
33
- Service: () => Service57,
33
+ Service: () => Service17,
34
34
  UpdateInput: () => UpdateInput2,
35
- node: () => node62
35
+ node: () => node19
36
36
  });
37
37
  import { makeLocationNode } from "@opencode/util/effect/app-node";
38
38
  import { Context, Effect, Layer, Schema } from "effect";
39
39
  import { Pty } from "@opencode/schema/pty";
40
- import { Event as Event13 } from "@opencode/schema/pty";
40
+ import { Event as Event2 } from "@opencode/schema/pty";
41
41
  var BUFFER_LIMIT = 1024 * 1024 * 2;
42
42
  var EXITED_LIMIT = 25;
43
43
  var pty = lazy2(() => import("#pty"));
44
- var Info20 = Pty.Info;
45
- var CreateInput3 = Pty.CreateInput;
44
+ var Info2 = Pty.Info;
45
+ var CreateInput2 = Pty.CreateInput;
46
46
  var UpdateInput2 = Pty.UpdateInput;
47
47
 
48
- class NotFoundError7 extends Schema.TaggedError()("Pty.NotFoundError", {
49
- ptyID: ID7
48
+ class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
49
+ ptyID: ID2
50
50
  }) {
51
51
  }
52
52
 
53
53
  class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
54
- ptyID: ID7
54
+ ptyID: ID2
55
55
  }) {
56
56
  }
57
57
 
58
- class Service57 extends Context.Service()("@opencode/Pty") {
58
+ class Service17 extends Context.Service()("@opencode/Pty") {
59
59
  }
60
- var layer = Layer.effect(Service57, Effect.gen(function* () {
60
+ var layer = Layer.effect(Service17, Effect.gen(function* () {
61
61
  const bus = yield* Service83;
62
62
  const location = yield* Service80;
63
- const shell = yield* Service58;
63
+ const shell = yield* Service54;
64
64
  const context = yield* Effect.context();
65
65
  const runFork = Effect.runForkWith(context);
66
66
  const sessions = new Map;
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
97
97
  const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
98
98
  const session = sessions.get(id);
99
99
  if (!session)
100
- return yield* new NotFoundError7({ ptyID: id });
100
+ return yield* new NotFoundError2({ ptyID: id });
101
101
  return session;
102
102
  });
103
103
  const removeSession = Effect.fnUntraced(function* (id) {
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
123
123
  return (yield* requireSession(id)).info;
124
124
  });
125
125
  const create = Effect.fn("Pty.create")(function* (input) {
126
- const id = ID7.ascending();
126
+ const id = ID2.ascending();
127
127
  const command = input.command || (yield* shell.resolve({ priority: "config" }));
128
128
  const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
129
129
  const cwd = input.cwd || location.directory;
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
268
268
  }
269
269
  };
270
270
  });
271
- return Service57.of({ list, get, create, update, remove, write, attach });
271
+ return Service17.of({ list, get, create, update, remove, write, attach });
272
272
  }));
273
- var node62 = makeLocationNode({
274
- service: Service57,
273
+ var node19 = makeLocationNode({
274
+ service: Service17,
275
275
  layer,
276
- deps: [node87, node84, node63]
276
+ deps: [node87, node84, node56]
277
277
  });
278
278
 
279
- export { Info20, CreateInput3, UpdateInput2, NotFoundError7, ExitedError2, Service57, node62, exports_pty, Event13 };
279
+ export { Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service17, node19, exports_pty, Event2 };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  latest2,
3
- Service54
4
- } from "./git-r3grwxg7.js";
3
+ Service45
4
+ } from "./project-twthfsw8.js";
5
5
  import {
6
6
  observe2
7
- } from "./git-qsdy395h.js";
7
+ } from "./project-qsdy395h.js";
8
8
  import {
9
9
  __export
10
- } from "./git-9rqn6x4v.js";
10
+ } from "./project-9rqn6x4v.js";
11
11
 
12
12
  // src/config/plugin/websearch.ts
13
13
  var exports_websearch = {};
14
14
  __export(exports_websearch, {
15
15
  ConfigWebSearchPlugin: () => exports_websearch,
16
- Plugin: () => Plugin27
16
+ Plugin: () => Plugin2
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect } from "effect";
20
- var Plugin27 = define({
20
+ var Plugin2 = define({
21
21
  id: "opencode.config.websearch",
22
22
  effect: Effect.fn(function* (ctx) {
23
- const config = yield* Service54;
23
+ const config = yield* Service45;
24
24
  const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
25
25
  yield* ctx.websearch.transform((websearch) => {
26
26
  const selection = latest2(loaded.entries, "websearch");
@@ -32,4 +32,4 @@ var Plugin27 = define({
32
32
  })
33
33
  });
34
34
 
35
- export { Plugin27, exports_websearch };
35
+ export { Plugin2, exports_websearch };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./git-9rqn6x4v.js";
3
+ } from "./project-9rqn6x4v.js";
4
4
 
5
5
  // src/state.ts
6
6
  var exports_state = {};
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  useragent2
3
- } from "./git-8gcb4b4w.js";
3
+ } from "./project-kpt1qdq7.js";
4
4
  import {
5
5
  Service83
6
- } from "./git-1bzc8wjz.js";
6
+ } from "./project-40xgcexb.js";
7
7
  import {
8
8
  OAuth3,
9
- Event19
10
- } from "./git-gq6j0wd7.js";
9
+ Event15
10
+ } from "./project-2c50a4hz.js";
11
11
  import {
12
- ID14,
12
+ ID12,
13
13
  MethodID2
14
- } from "./git-cwhqb0pk.js";
14
+ } from "./project-66qpnbfn.js";
15
15
  import {
16
16
  which2
17
- } from "./git-qaymkmh1.js";
17
+ } from "./project-qaymkmh1.js";
18
18
  import {
19
- ID13
20
- } from "./git-brkskmey.js";
19
+ ID11
20
+ } from "./project-9bvpbkhr.js";
21
21
  import {
22
22
  iife2
23
- } from "./git-1kg9ymc8.js";
23
+ } from "./project-1kg9ymc8.js";
24
24
  import {
25
25
  configuredSettings2
26
- } from "./git-r46ddqt3.js";
26
+ } from "./project-k7vzf8ty.js";
27
27
 
28
28
  // src/plugin/provider/azure.ts
29
29
  import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
@@ -43,7 +43,7 @@ var decodeToken = Schema.decodeUnknownEffect(Schema.Struct({
43
43
  var AzurePlugin2 = define({
44
44
  id: "opencode.provider.azure",
45
45
  effect: Effect.fn(function* (ctx) {
46
- const configured = yield* configuredSettings2(ID13.azure);
46
+ const configured = yield* configuredSettings2(ID11.azure);
47
47
  const processes = yield* AppProcess.Service;
48
48
  const bus = yield* Service83;
49
49
  const tokens = new Map;
@@ -79,13 +79,13 @@ var AzurePlugin2 = define({
79
79
  });
80
80
  yield* ctx.integration.transform((editor) => {
81
81
  editor.method.update({
82
- integrationID: ID13.azure,
82
+ integrationID: ID11.azure,
83
83
  method: { type: "key", label: "API key", form: form() }
84
84
  });
85
85
  if (!available)
86
86
  return;
87
87
  editor.method.update({
88
- integrationID: ID13.azure,
88
+ integrationID: ID11.azure,
89
89
  method: {
90
90
  id: methodID,
91
91
  type: "oauth",
@@ -117,7 +117,7 @@ var AzurePlugin2 = define({
117
117
  });
118
118
  });
119
119
  const load = Effect.fn("AzurePlugin.load")(function* () {
120
- const connection = yield* ctx.integration.connection.active(ID13.azure);
120
+ const connection = yield* ctx.integration.connection.active(ID11.azure);
121
121
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
122
122
  return;
123
123
  })) : undefined;
@@ -131,7 +131,7 @@ var AzurePlugin2 = define({
131
131
  yield* load();
132
132
  yield* ctx.provider.transform((evt) => {
133
133
  for (const item of evt.list()) {
134
- if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
134
+ if (item.provider.id !== ID11.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
135
135
  continue;
136
136
  const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
137
137
  const websocket = responsesWebSocketCapable(item.provider);
@@ -149,7 +149,7 @@ var AzurePlugin2 = define({
149
149
  });
150
150
  yield* ctx.model.transform((models) => {
151
151
  for (const item of models.provider.list()) {
152
- if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
152
+ if (item.provider.id !== ID11.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
153
153
  continue;
154
154
  const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
155
155
  for (const model of models.list(item.provider.id)) {
@@ -161,9 +161,9 @@ var AzurePlugin2 = define({
161
161
  }
162
162
  });
163
163
  const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
164
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
164
+ yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
165
165
  const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
166
- const connection = yield* ctx.integration.connection.active(ID13.azure);
166
+ const connection = yield* ctx.integration.connection.active(ID11.azure);
167
167
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
168
168
  return;
169
169
  })) : undefined;
@@ -175,7 +175,7 @@ var AzurePlugin2 = define({
175
175
  return `Bearer ${current.access}`;
176
176
  });
177
177
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
178
- if (evt.model.providerID !== ID13.azure)
178
+ if (evt.model.providerID !== ID11.azure)
179
179
  return;
180
180
  const authorization = yield* bearer(evt.request.url);
181
181
  if (!authorization)
@@ -184,9 +184,9 @@ var AzurePlugin2 = define({
184
184
  evt.request.headers.delete("x-api-key");
185
185
  evt.request.headers.set("authorization", authorization);
186
186
  evt.request.headers.set("user-agent", useragent2(ctx.app));
187
- }), { providerID: ID13.azure });
187
+ }), { providerID: ID11.azure });
188
188
  yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
189
- if (evt.model.providerID !== ID13.azure)
189
+ if (evt.model.providerID !== ID11.azure)
190
190
  return;
191
191
  const authorization = yield* bearer(evt.url);
192
192
  if (!authorization)
@@ -195,7 +195,7 @@ var AzurePlugin2 = define({
195
195
  delete evt.headers["x-api-key"];
196
196
  evt.headers.authorization = authorization;
197
197
  evt.headers["user-agent"] = useragent2(ctx.app);
198
- }), { providerID: ID13.azure });
198
+ }), { providerID: ID11.azure });
199
199
  })
200
200
  });
201
201
  function resolveResourceName(settings, fallback) {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service83
3
- } from "./git-1bzc8wjz.js";
3
+ } from "./project-40xgcexb.js";
4
4
  import {
5
- Service13,
6
- Event2
7
- } from "./git-az72c4w6.js";
5
+ Service57,
6
+ Event11
7
+ } from "./project-5m7mkkpv.js";
8
8
 
9
9
  // src/plugin/models-dev.ts
10
10
  import { define } from "@opencode/plugin/effect/plugin";
@@ -29,7 +29,7 @@ var BEDROCK_PROFILE_ONLY_IDS = [
29
29
  var ModelsDevPlugin2 = define({
30
30
  id: "opencode.models.dev",
31
31
  effect: Effect.fn(function* (ctx) {
32
- const modelsDev = yield* Service13;
32
+ const modelsDev = yield* Service57;
33
33
  const bus = yield* Service83;
34
34
  const loaded = { data: snapshots(yield* modelsDev.get()) };
35
35
  yield* ctx.integration.transform((integrations) => {
@@ -63,7 +63,7 @@ var ModelsDevPlugin2 = define({
63
63
  loaded.data = snapshots(data);
64
64
  return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
65
65
  };
66
- yield* bus.subscribe(Event2.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
66
+ yield* bus.subscribe(Event11.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
67
67
  const latest = yield* modelsDev.get();
68
68
  if (snapshots(latest) !== loaded.data)
69
69
  yield* apply(latest);
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./git-wrpan8g3.js";
4
+ } from "./project-2x7jzfgr.js";
5
5
  import {
6
6
  PermissionTable2
7
- } from "./git-hdnk95c8.js";
7
+ } from "./project-f828m53h.js";
8
8
  import {
9
9
  __export
10
- } from "./git-9rqn6x4v.js";
10
+ } from "./project-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: () => ID9,
17
- Info: () => Info23,
18
- ListInput: () => ListInput5,
16
+ ID: () => ID8,
17
+ Info: () => Info19,
18
+ ListInput: () => ListInput4,
19
19
  PermissionSaved: () => exports_saved,
20
- Service: () => Service72,
21
- node: () => node76
20
+ Service: () => Service51,
21
+ node: () => node53
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 ID9 = PermissionSaved.ID;
29
- var Info23 = PermissionSaved.Info;
30
- var ListInput5 = Schema.Struct({
28
+ var ID8 = PermissionSaved.ID;
29
+ var Info19 = PermissionSaved.Info;
30
+ var ListInput4 = Schema.Struct({
31
31
  projectID: Project.ID.pipe(Schema.optional)
32
32
  }).annotate({ identifier: "PermissionSaved.ListInput" });
33
33
  var AddInput2 = Schema.Struct({
@@ -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 Service72 extends Context.Service()("@opencode/PermissionSaved") {
39
+ class Service51 extends Context.Service()("@opencode/PermissionSaved") {
40
40
  }
41
- var layer = Layer.effect(Service72, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service51, 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(Service72, 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: ID9.create(),
60
+ id: ID8.create(),
61
61
  project_id: input.projectID,
62
62
  action: input.action,
63
63
  resource
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service72, 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 Service72.of({ list, add, remove });
69
+ return Service51.of({ list, add, remove });
70
70
  }));
71
- var node76 = makeGlobalNode({ service: Service72, layer, deps: [node88] });
71
+ var node53 = makeGlobalNode({ service: Service51, layer, deps: [node88] });
72
72
 
73
- export { ID9, Info23, ListInput5, AddInput2, Service72, node76, exports_saved };
73
+ export { ID8, Info19, ListInput4, AddInput2, Service51, node53, exports_saved };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./git-brkskmey.js";
4
+ } from "./project-9bvpbkhr.js";
5
5
 
6
6
  // src/plugin/provider/vercel.ts
7
7
  import { Effect } from "effect";