@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,33 +1,33 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./git-1bzc8wjz.js";
4
+ } from "./project-40xgcexb.js";
5
5
  import {
6
6
  create3
7
- } from "./git-rdw6cm16.js";
7
+ } from "./project-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./git-9rqn6x4v.js";
10
+ } from "./project-9rqn6x4v.js";
11
11
 
12
12
  // src/command.ts
13
- var exports_command4 = {};
14
- __export(exports_command4, {
15
- Command: () => exports_command4,
16
- Event: () => Event8,
13
+ var exports_command5 = {};
14
+ __export(exports_command5, {
15
+ Command: () => exports_command5,
16
+ Event: () => Event17,
17
17
  ExecutionError: () => ExecutionError2,
18
- Info: () => Info7,
19
- NotFoundError: () => NotFoundError6,
20
- Service: () => Service45,
21
- layer: () => layer18,
22
- node: () => node49
18
+ Info: () => Info28,
19
+ NotFoundError: () => NotFoundError9,
20
+ Service: () => Service66,
21
+ layer: () => layer24,
22
+ node: () => node69
23
23
  });
24
24
  import { Command } from "@opencode/schema/command";
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
- import { Event as Event8 } from "@opencode/schema/command";
28
- var Info7 = Command.Info;
27
+ import { Event as Event17 } from "@opencode/schema/command";
28
+ var Info28 = Command.Info;
29
29
 
30
- class NotFoundError6 extends Schema.TaggedError()("Command.NotFoundError", {
30
+ class NotFoundError9 extends Schema.TaggedError()("Command.NotFoundError", {
31
31
  command: Schema.String,
32
32
  message: Schema.String
33
33
  }) {
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
39
39
  }) {
40
40
  }
41
41
 
42
- class Service45 extends Context.Service()("@opencode/Command") {
42
+ class Service66 extends Context.Service()("@opencode/Command") {
43
43
  }
44
- var layer18 = Layer.effect(Service45, Effect.gen(function* () {
44
+ var layer24 = Layer.effect(Service66, Effect.gen(function* () {
45
45
  const bus = yield* Service83;
46
46
  const state = create3({
47
47
  name: "command",
@@ -51,11 +51,11 @@ var layer18 = Layer.effect(Service45, Effect.gen(function* () {
51
51
  }),
52
52
  notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
53
53
  });
54
- const info = (definition) => Info7.make({
54
+ const info = (definition) => Info28.make({
55
55
  name: definition.name,
56
56
  description: definition.description
57
57
  });
58
- return Service45.of({
58
+ return Service66.of({
59
59
  reload: state.reload,
60
60
  transform: state.transform,
61
61
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -66,14 +66,14 @@ var layer18 = Layer.effect(Service45, Effect.gen(function* () {
66
66
  execute: Effect.fn("Command.execute")(function* (input) {
67
67
  const definition = state.get().get(input.name);
68
68
  if (!definition)
69
- return yield* new NotFoundError6({ command: input.name, message: `Command not found: ${input.name}` });
69
+ return yield* new NotFoundError9({ command: input.name, message: `Command not found: ${input.name}` });
70
70
  return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
71
71
  })
72
72
  });
73
73
  }));
74
- var node49 = makeLocationNode({
75
- service: Service45,
76
- layer: layer18,
74
+ var node69 = makeLocationNode({
75
+ service: Service66,
76
+ layer: layer24,
77
77
  deps: [node87]
78
78
  });
79
79
  function errorMessage(error) {
@@ -86,4 +86,4 @@ function errorMessage(error) {
86
86
  return "Command execution failed";
87
87
  }
88
88
 
89
- export { Info7, NotFoundError6, ExecutionError2, Service45, layer18, node49, exports_command4, Event8 };
89
+ export { Info28, NotFoundError9, ExecutionError2, Service66, layer24, node69, exports_command5, Event17 };
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./git-1bzc8wjz.js";
4
+ } from "./project-40xgcexb.js";
5
5
  import {
6
- parse4,
6
+ parse5,
7
7
  parseRemote2,
8
8
  validateBranch3,
9
9
  isRemote2,
10
10
  cachePath2
11
- } from "./git-2402vzrj.js";
11
+ } from "./project-6h73sxmp.js";
12
12
  import {
13
13
  AbsolutePath2
14
- } from "./git-922hggd3.js";
14
+ } from "./project-922hggd3.js";
15
15
  import {
16
- Service48,
17
- node52
18
- } from "./git-9f7rj4wk.js";
16
+ Service59,
17
+ node62
18
+ } from "./project-2zcxjm8w.js";
19
19
  import {
20
20
  create3
21
- } from "./git-rdw6cm16.js";
21
+ } from "./project-rdw6cm16.js";
22
22
  import {
23
23
  __export
24
- } from "./git-9rqn6x4v.js";
24
+ } from "./project-9rqn6x4v.js";
25
25
 
26
26
  // src/reference.ts
27
27
  var exports_reference2 = {};
28
28
  __export(exports_reference2, {
29
29
  Event: () => Event10,
30
30
  GitSource: () => GitSource2,
31
- Info: () => Info8,
31
+ Info: () => Info21,
32
32
  LocalSource: () => LocalSource2,
33
33
  Reference: () => exports_reference2,
34
- Service: () => Service47,
35
- Source: () => Source4,
36
- node: () => node51
34
+ Service: () => Service52,
35
+ Source: () => Source5,
36
+ node: () => node54
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Context, Effect, Layer, Scope } from "effect";
@@ -42,15 +42,15 @@ import { Global } from "@opencode/util/global";
42
42
  import { Event as Event10 } from "@opencode/schema/reference";
43
43
  var LocalSource2 = Reference.LocalSource;
44
44
  var GitSource2 = Reference.GitSource;
45
- var Source4 = Reference.Source;
46
- var Info8 = Reference.Info;
45
+ var Source5 = Reference.Source;
46
+ var Info21 = Reference.Info;
47
47
 
48
- class Service47 extends Context.Service()("@opencode/Reference") {
48
+ class Service52 extends Context.Service()("@opencode/Reference") {
49
49
  }
50
- var layer = Layer.effect(Service47, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service52, Effect.gen(function* () {
51
51
  const global = yield* Global.Service;
52
52
  const bus = yield* Service83;
53
- const cache = yield* Service48;
53
+ const cache = yield* Service59;
54
54
  const scope = yield* Scope.Scope;
55
55
  const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
56
56
  const info = {
@@ -60,8 +60,8 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
60
60
  ...source.hidden === undefined ? {} : { hidden: source.hidden }
61
61
  };
62
62
  if (source.type === "local")
63
- return [Info8.make({ ...info, path: source.path })];
64
- const repository = parse4(source.repository);
63
+ return [Info21.make({ ...info, path: source.path })];
64
+ const repository = parse5(source.repository);
65
65
  if (!repository || !isRemote2(repository))
66
66
  return [];
67
67
  if (source.branch) {
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
72
72
  }
73
73
  }
74
74
  return [
75
- Info8.make({
75
+ Info21.make({
76
76
  ...info,
77
77
  path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
78
78
  })
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
107
- return Service47.of({
107
+ return Service52.of({
108
108
  transform: state.transform,
109
109
  reload: state.reload,
110
110
  list: Effect.fn("Reference.list")(function* () {
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
112
112
  })
113
113
  });
114
114
  }));
115
- var node51 = makeLocationNode({
116
- service: Service47,
115
+ var node54 = makeLocationNode({
116
+ service: Service52,
117
117
  layer,
118
- deps: [Global.node, node87, node52]
118
+ deps: [Global.node, node87, node62]
119
119
  });
120
120
 
121
- export { LocalSource2, GitSource2, Source4, Info8, Service47, node51, exports_reference2, Event10 };
121
+ export { LocalSource2, GitSource2, Source5, Info21, Service52, node54, exports_reference2, Event10 };
@@ -2,47 +2,47 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./git-922hggd3.js";
5
+ } from "./project-922hggd3.js";
6
6
  import {
7
7
  Service80,
8
8
  node84
9
- } from "./git-xwrsj031.js";
9
+ } from "./project-2czxbyyd.js";
10
10
  import {
11
- Service15,
12
- node17
13
- } from "./git-vesgbrs2.js";
11
+ Service72,
12
+ node75
13
+ } from "./project-2r1f3161.js";
14
14
  import {
15
15
  __export
16
- } from "./git-9rqn6x4v.js";
16
+ } from "./project-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
20
20
  __export(exports_filesystem, {
21
- Content: () => Content2,
21
+ Content: () => Content3,
22
22
  DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
23
23
  DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
24
- Entry: () => Entry2,
25
- Event: () => Event3,
24
+ Entry: () => Entry4,
25
+ Event: () => Event18,
26
26
  FileSystem: () => exports_filesystem,
27
27
  FindInput: () => FindInput2,
28
28
  GlobInput: () => GlobInput2,
29
29
  GrepInput: () => GrepInput2,
30
- ListInput: () => ListInput2,
30
+ ListInput: () => ListInput5,
31
31
  Match: () => Match2,
32
- NotFoundError: () => NotFoundError2,
32
+ NotFoundError: () => NotFoundError10,
33
33
  ReadInput: () => ReadInput2,
34
- Service: () => Service14,
34
+ Service: () => Service71,
35
35
  Submatch: () => Submatch2,
36
36
  Write: () => Write2,
37
37
  WriteInput: () => WriteInput2,
38
- node: () => node16
38
+ node: () => node74
39
39
  });
40
40
  import { makeLocationNode } from "@opencode/util/effect/app-node";
41
41
  import path from "path";
42
42
  import { Context, Effect, Layer, Schema } from "effect";
43
43
  import { FSUtil } from "@opencode/util/fs-util";
44
44
  import { Entry, FileSystem, FindInput as FindInput2, Write as Write2 } from "@opencode/schema/filesystem";
45
- import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
45
+ import { Entry as Entry4, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
46
46
  var ReadInput2 = Schema.Struct({
47
47
  path: RelativePath2
48
48
  });
@@ -51,18 +51,18 @@ var WriteInput2 = Schema.Struct({
51
51
  data: Schema.Uint8Array
52
52
  });
53
53
 
54
- class NotFoundError2 extends Schema.TaggedError()("FileSystem.NotFoundError", {
54
+ class NotFoundError10 extends Schema.TaggedError()("FileSystem.NotFoundError", {
55
55
  path: RelativePath2
56
56
  }) {
57
57
  }
58
- var Content2 = Schema.Struct({
58
+ var Content3 = 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 ListInput2 = Schema.Struct({
65
+ var ListInput5 = 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 Event3 = FileSystem.Event;
88
+ var Event18 = FileSystem.Event;
89
89
 
90
- class Service14 extends Context.Service()("@opencode/FileSystem") {
90
+ class Service71 extends Context.Service()("@opencode/FileSystem") {
91
91
  }
92
- var baseLayer = Layer.effect(Service14, Effect.gen(function* () {
92
+ var baseLayer = Layer.effect(Service71, Effect.gen(function* () {
93
93
  const fs = yield* FSUtil.Service;
94
94
  const location = yield* Service80;
95
- const search = yield* Service15;
95
+ const search = yield* Service72;
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(Service14, 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 Service14.of({
106
+ return Service71.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 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)));
109
+ const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError10({ path: input.path })), (_, error) => Effect.die(error)));
110
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError10({ 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 NotFoundError2({ path: input.path })), (_, error) => Effect.die(error))),
114
+ content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError10({ 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(Service14, Effect.gen(function* () {
140
140
  })
141
141
  });
142
142
  }));
143
- var node16 = makeLocationNode({
144
- service: Service14,
143
+ var node74 = makeLocationNode({
144
+ service: Service71,
145
145
  layer: baseLayer,
146
- deps: [FSUtil.node, node84, node17]
146
+ deps: [FSUtil.node, node84, node75]
147
147
  });
148
148
 
149
- export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event3, Service14, node16, exports_filesystem, Entry2, Match2, Submatch2 };
149
+ export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError10, Content3, ListInput5, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event18, Service71, node74, exports_filesystem, Entry4, Match2, Submatch2 };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./git-1bzc8wjz.js";
4
+ } from "./project-40xgcexb.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./git-rdw6cm16.js";
8
+ } from "./project-rdw6cm16.js";
9
9
  import {
10
- ID14,
11
- Service77,
12
- node81,
13
- Event18
14
- } from "./git-cwhqb0pk.js";
10
+ ID12,
11
+ Service63,
12
+ node66,
13
+ Event14
14
+ } from "./project-66qpnbfn.js";
15
15
  import {
16
16
  key2
17
- } from "./git-h6r3nrb9.js";
17
+ } from "./project-44h5tttr.js";
18
18
  import {
19
19
  Service80,
20
20
  node84
21
- } from "./git-xwrsj031.js";
21
+ } from "./project-2czxbyyd.js";
22
22
  import {
23
23
  __export
24
- } from "./git-9rqn6x4v.js";
24
+ } from "./project-9rqn6x4v.js";
25
25
 
26
26
  // src/aisdk-native.ts
27
27
  var exports_aisdk_native = {};
@@ -37,13 +37,13 @@ var exports_provider3 = {};
37
37
  __export(exports_provider3, {
38
38
  AISDK_PREFIX: () => AISDK_PREFIX2,
39
39
  Compaction: () => Compaction3,
40
- Event: () => Event17,
41
- ID: () => ID13,
42
- Info: () => Info27,
40
+ Event: () => Event13,
41
+ ID: () => ID11,
42
+ Info: () => Info23,
43
43
  LoadError: () => LoadError3,
44
44
  Provider: () => exports_provider3,
45
45
  Request: () => Request3,
46
- Service: () => Service76,
46
+ Service: () => Service62,
47
47
  Settings: () => Settings2,
48
48
  Transport: () => Transport2,
49
49
  aisdk: () => aisdk2,
@@ -53,7 +53,7 @@ __export(exports_provider3, {
53
53
  mergeOverlay: () => mergeOverlay2,
54
54
  modelSettings: () => modelSettings2,
55
55
  nativeSettings: () => nativeSettings2,
56
- node: () => node80,
56
+ node: () => node65,
57
57
  packageName: () => packageName2
58
58
  });
59
59
  import { Context, Effect, Layer, Schema, Stream, Struct } from "effect";
@@ -64,8 +64,8 @@ import { isRecord } from "@opencode/ai/utils/record";
64
64
  import { importModule, resolveModule } from "@opencode/util/runtime-import";
65
65
  import { Credential } from "@opencode/schema/credential";
66
66
  import { freeze } from "immer";
67
- import { Event as Event17 } from "@opencode/schema/provider";
68
- var ID13 = Provider.ID;
67
+ import { Event as Event13 } from "@opencode/schema/provider";
68
+ var ID11 = Provider.ID;
69
69
  var AISDK_PREFIX2 = "aisdk:";
70
70
  var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
71
71
  var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
@@ -210,9 +210,9 @@ var Request3 = Provider.Request;
210
210
  var Compaction3 = Provider.Compaction;
211
211
  var Transport2 = Provider.Transport;
212
212
  var Settings2 = Provider.Settings;
213
- var Info27 = Provider.Info;
213
+ var Info23 = Provider.Info;
214
214
 
215
- class Service76 extends Context.Service()("@opencode/Provider") {
215
+ class Service62 extends Context.Service()("@opencode/Provider") {
216
216
  }
217
217
  var definitions = new WeakMap;
218
218
  function index(providerID, models) {
@@ -225,9 +225,9 @@ function index(providerID, models) {
225
225
  definitions.set(models, indexes);
226
226
  return result;
227
227
  }
228
- var layer = Layer.effect(Service76, Effect.gen(function* () {
228
+ var layer = Layer.effect(Service62, Effect.gen(function* () {
229
229
  const bus = yield* Service83;
230
- const integrations = yield* Service77;
230
+ const integrations = yield* Service63;
231
231
  const location = yield* Service80;
232
232
  const state = create3({
233
233
  name: "provider",
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
239
239
  const current = records.get(id);
240
240
  if (current)
241
241
  return current;
242
- const added = { provider: Info27.empty(id), models: new Map };
242
+ const added = { provider: Info23.empty(id), models: new Map };
243
243
  records.set(id, added);
244
244
  maps.add(added.models);
245
245
  return added;
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
320
320
  const available = Array.from(records.values()).filter((record) => {
321
321
  if (record.provider.activation === "disabled")
322
322
  return false;
323
- const integration = byID.get(record.provider.integrationID ?? ID14.make(record.provider.id));
323
+ const integration = byID.get(record.provider.integrationID ?? ID12.make(record.provider.id));
324
324
  if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
325
325
  return false;
326
326
  if (record.provider.activation === "enabled")
@@ -346,8 +346,8 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
346
346
  location: { directory: location.directory, workspaceID: location.workspaceID }
347
347
  });
348
348
  });
349
- yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
350
- return Service76.of({
349
+ yield* bus.subscribe([Event14.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
350
+ return Service62.of({
351
351
  transform: state.transform,
352
352
  reload: state.reload,
353
353
  get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
@@ -356,7 +356,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
356
356
  snapshot
357
357
  });
358
358
  }));
359
- var node80 = makeLocationNode({ service: Service76, layer, deps: [node87, node81, node84] });
359
+ var node65 = makeLocationNode({ service: Service62, layer, deps: [node87, node66, node84] });
360
360
  var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
361
361
  const module = yield* Effect.tryPromise({
362
362
  try: () => {
@@ -616,4 +616,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
616
616
  }), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
617
617
  var decode = Schema2.decodeUnknownSync(Legacy);
618
618
 
619
- export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info27, Service76, node80, exports_provider3, Event17 };
619
+ export { rewrite2, native2, exports_aisdk_native, ID11, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info23, Service62, node65, exports_provider3, Event13 };
@@ -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/tool/plugin/opencode.ts
6
6
  var exports_opencode = {};
@@ -8,7 +8,7 @@ __export(exports_opencode, {
8
8
  ModelsInput: () => ModelsInput2,
9
9
  MoveInput: () => MoveInput2,
10
10
  OpenCodeTools: () => exports_opencode,
11
- Plugin: () => Plugin38,
11
+ Plugin: () => Plugin22,
12
12
  RenameInput: () => RenameInput2
13
13
  });
14
14
  import { SystemPart, ToolFailure } from "@opencode/ai";
@@ -64,7 +64,7 @@ var ModelsOutput = Schema.Struct({
64
64
  total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
65
65
  next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
66
66
  });
67
- var Plugin38 = {
67
+ var Plugin22 = {
68
68
  id: "opencode.tools",
69
69
  effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
70
70
  const hook = (event) => Effect.sync(() => {
@@ -161,4 +161,4 @@ var Plugin38 = {
161
161
  })
162
162
  };
163
163
 
164
- export { RenameInput2, MoveInput2, ModelsInput2, Plugin38, exports_opencode };
164
+ export { RenameInput2, MoveInput2, ModelsInput2, Plugin22, exports_opencode };
@@ -1,15 +1,15 @@
1
1
  import {
2
- Service45
3
- } from "./git-cp64kxg5.js";
2
+ Service66
3
+ } from "./project-91ny65fk.js";
4
4
  import {
5
- Service61
6
- } from "./git-ycjb11n5.js";
5
+ Service39
6
+ } from "./project-d1mtykxg.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./git-9sh4wc5j.js";
9
+ } from "./project-9zdhvgqs.js";
10
10
  import {
11
11
  __export
12
- } from "./git-9rqn6x4v.js";
12
+ } from "./project-9rqn6x4v.js";
13
13
 
14
14
  // src/session/command.ts
15
15
  var exports_command3 = {};
@@ -19,8 +19,8 @@ __export(exports_command3, {
19
19
  });
20
20
  import { Effect } from "effect";
21
21
  var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
22
- const instances = yield* Service61;
23
- const commands = yield* awaitActivation2.pipe(Effect.andThen(Service45), instances.provide(input.session));
22
+ const instances = yield* Service39;
23
+ const commands = yield* awaitActivation2.pipe(Effect.andThen(Service66), instances.provide(input.session));
24
24
  yield* commands.execute({
25
25
  name: input.command,
26
26
  invocation: {
@@ -0,0 +1,18 @@
1
+ import {
2
+ __export
3
+ } from "./project-9rqn6x4v.js";
4
+
5
+ // src/plugin/service.ts
6
+ var exports_service = {};
7
+ __export(exports_service, {
8
+ Plugin: () => exports_service,
9
+ Service: () => Service30,
10
+ awaitActivation: () => awaitActivation2
11
+ });
12
+ import { Context } from "effect";
13
+
14
+ class Service30 extends Context.Service()("@opencode/Plugin") {
15
+ }
16
+ var awaitActivation2 = Service30.use((plugins) => plugins.awaitActivation);
17
+
18
+ export { Service30, awaitActivation2, exports_service };
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./git-922hggd3.js";
3
+ } from "./project-922hggd3.js";
4
4
  import {
5
5
  Service80
6
- } from "./git-xwrsj031.js";
6
+ } from "./project-2czxbyyd.js";
7
7
  import {
8
- Service54
9
- } from "./git-r3grwxg7.js";
8
+ Service45
9
+ } from "./project-twthfsw8.js";
10
10
  import {
11
11
  LocalSource2,
12
12
  GitSource2
13
- } from "./git-ged09db7.js";
13
+ } from "./project-97958gw3.js";
14
14
  import {
15
15
  observe2
16
- } from "./git-qsdy395h.js";
16
+ } from "./project-qsdy395h.js";
17
17
  import {
18
18
  __export
19
- } from "./git-9rqn6x4v.js";
19
+ } from "./project-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/reference.ts
22
22
  var exports_reference = {};
23
23
  __export(exports_reference, {
24
24
  ConfigReferencePlugin: () => exports_reference,
25
- Plugin: () => Plugin29
25
+ Plugin: () => Plugin6
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import path from "path";
29
29
  import { Effect } from "effect";
30
30
  import { Global } from "@opencode/util/global";
31
- var Plugin29 = define({
31
+ var Plugin6 = define({
32
32
  id: "opencode.config.reference",
33
33
  effect: Effect.fn(function* (ctx) {
34
- const config = yield* Service54;
34
+ const config = yield* Service45;
35
35
  const location = yield* Service80;
36
36
  const global = yield* Global.Service;
37
37
  const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
72
72
  return path.isAbsolute(value) ? value : path.resolve(directory, value);
73
73
  }
74
74
 
75
- export { Plugin29, exports_reference };
75
+ export { Plugin6, exports_reference };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  directoryColumn2,
3
3
  pathColumn2
4
- } from "./git-6msgmcgs.js";
4
+ } from "./project-6msgmcgs.js";
5
5
  import {
6
6
  Timestamps2
7
- } from "./git-qfa1cgps.js";
7
+ } from "./project-qfa1cgps.js";
8
8
  import {
9
9
  ProjectTable2
10
- } from "./git-dj2t23y0.js";
10
+ } from "./project-8p4f9s12.js";
11
11
 
12
12
  // src/session/sql.ts
13
13
  import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";