@opencode/core 0.0.0-dev-19775 → 0.0.0-dev-19778
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.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{location-lifecycle-qsee9sfb.js → app-08rawchj.js} +3 -3
- package/dist/chunks/{location-lifecycle-qys7d30g.js → app-09gk47kq.js} +23 -23
- package/dist/chunks/{location-lifecycle-sdsxhjm1.js → app-0b88r0h9.js} +16 -16
- package/dist/chunks/{location-lifecycle-jxcmjcy4.js → app-0nspsvre.js} +29 -29
- package/dist/chunks/{location-lifecycle-0paq2nw3.js → app-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-lifecycle-0q0f95c6.js → app-0q0f95c6.js} +1 -1
- package/dist/chunks/{location-lifecycle-pkvdgekh.js → app-0w9dg31r.js} +17 -17
- package/dist/chunks/{location-lifecycle-pgkynvr1.js → app-11k2snsb.js} +26 -26
- package/dist/chunks/{location-lifecycle-5jch67cs.js → app-179dh4fb.js} +15 -15
- package/dist/chunks/{location-lifecycle-19vf66h0.js → app-19vf66h0.js} +1 -1
- package/dist/chunks/{location-lifecycle-wwmey332.js → app-1avr8xz3.js} +14 -14
- package/dist/chunks/{location-lifecycle-1dazxqgg.js → app-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-lifecycle-kzc3h1h3.js → app-1y283654.js} +4 -4
- package/dist/chunks/{location-lifecycle-nj9ssgdn.js → app-1zh1qvy5.js} +12 -12
- package/dist/chunks/{location-lifecycle-21r38tys.js → app-21r38tys.js} +1 -1
- package/dist/chunks/{location-lifecycle-e804n02b.js → app-2331zxhe.js} +24 -24
- package/dist/chunks/{location-lifecycle-2402vzrj.js → app-2402vzrj.js} +1 -1
- package/dist/chunks/{location-lifecycle-7pzbss7r.js → app-254g4bgq.js} +8 -8
- package/dist/chunks/{location-lifecycle-29x78va6.js → app-29x78va6.js} +2 -2
- package/dist/chunks/{location-lifecycle-2a5m3afh.js → app-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-lifecycle-wjvzynk3.js → app-2cxbvhsv.js} +17 -17
- package/dist/chunks/{location-lifecycle-vj3k5gd6.js → app-2dx3f4tk.js} +48 -48
- package/dist/chunks/{location-lifecycle-rh8waqx1.js → app-2f8jvka8.js} +11 -11
- package/dist/chunks/{location-lifecycle-jjng5k39.js → app-2jpzqyhy.js} +42 -42
- package/dist/chunks/{location-lifecycle-7dqw4kz8.js → app-2k8khapm.js} +5 -5
- package/dist/chunks/{location-lifecycle-2359sbzh.js → app-2n5t2efr.js} +15 -15
- package/dist/chunks/{location-lifecycle-3w2b2yj4.js → app-2qp6y8xf.js} +5 -5
- package/dist/chunks/{location-lifecycle-kzdcqyn1.js → app-2xwkyk0m.js} +5 -5
- package/dist/chunks/{location-lifecycle-qx8yq4hs.js → app-325w0d43.js} +9 -9
- package/dist/chunks/{location-lifecycle-1n6mrg39.js → app-35kwx3sj.js} +16 -16
- package/dist/chunks/{location-lifecycle-z7fg3yzq.js → app-37dzk8a6.js} +17 -17
- package/dist/chunks/{location-lifecycle-3fc6dm20.js → app-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-lifecycle-kn58mc9c.js → app-3gm11ngf.js} +11 -11
- package/dist/chunks/{location-lifecycle-3hepkmqq.js → app-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-lifecycle-bf0ztrs3.js → app-3j8sdtpz.js} +4 -4
- package/dist/chunks/{location-lifecycle-3smtnn6g.js → app-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-lifecycle-g85jzhcq.js → app-3t95da75.js} +4 -4
- package/dist/chunks/{location-lifecycle-2e6tr95n.js → app-3tasvxsc.js} +13 -13
- package/dist/chunks/{location-lifecycle-3tvqynh2.js → app-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-lifecycle-yb62w462.js → app-3xptedn4.js} +21 -21
- package/dist/chunks/{location-lifecycle-z4y453q1.js → app-4a5fdhmb.js} +6 -6
- package/dist/chunks/{location-lifecycle-h6r3nrb9.js → app-4dgbcxzg.js} +4 -4
- package/dist/chunks/{location-lifecycle-3nssxx48.js → app-4rn0kpbs.js} +7 -7
- package/dist/chunks/{location-lifecycle-sy0y93sa.js → app-4rq81ytk.js} +12 -12
- package/dist/chunks/{location-lifecycle-jfktk5f2.js → app-4sqx4g1d.js} +26 -26
- package/dist/chunks/{location-lifecycle-a5d13p60.js → app-54tkqdbb.js} +10 -10
- package/dist/chunks/{location-lifecycle-33w4ejhs.js → app-56gdpj1q.js} +6 -6
- package/dist/chunks/{location-lifecycle-57ez7d0k.js → app-57ez7d0k.js} +2 -2
- package/dist/chunks/{location-lifecycle-5daktx2q.js → app-5daktx2q.js} +1 -1
- package/dist/chunks/{location-lifecycle-d8ner1vk.js → app-5e1anv4t.js} +15 -15
- package/dist/chunks/{location-lifecycle-b648f3a2.js → app-5g3p3txv.js} +6 -6
- package/dist/chunks/{location-lifecycle-fv6axbdc.js → app-5je3e6t6.js} +11 -11
- package/dist/chunks/{location-lifecycle-5t3nmthw.js → app-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-lifecycle-kk00bynn.js → app-5wtwrezn.js} +4 -4
- package/dist/chunks/{location-lifecycle-9yhet4f0.js → app-5xk1bkzf.js} +23 -23
- package/dist/chunks/{location-lifecycle-2a1p58y4.js → app-5xkprrtv.js} +25 -25
- package/dist/chunks/{location-lifecycle-5rx1en03.js → app-5yp88j5n.js} +13 -13
- package/dist/chunks/{location-lifecycle-669tq793.js → app-669tq793.js} +1 -1
- package/dist/chunks/{location-lifecycle-w1hvpvz2.js → app-6a1145wy.js} +11 -11
- package/dist/chunks/{location-lifecycle-y56ehv6b.js → app-6h23kmq1.js} +9 -9
- package/dist/chunks/app-6kdq0pjd.js +4 -0
- package/dist/chunks/{location-lifecycle-6msgmcgs.js → app-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-lifecycle-w40pnpej.js → app-6nchnj33.js} +11 -11
- package/dist/chunks/{location-lifecycle-e89vbeg8.js → app-6t5c1nps.js} +35 -35
- package/dist/chunks/{location-lifecycle-brx3w182.js → app-76vcpf37.js} +28 -28
- package/dist/chunks/{location-lifecycle-7bmhse3q.js → app-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-lifecycle-m7q6macq.js → app-7dw6a6qq.js} +13 -13
- package/dist/chunks/{location-lifecycle-fvanntqq.js → app-7ebn0nc0.js} +4 -4
- package/dist/chunks/{location-lifecycle-sra9araw.js → app-7gvwkz6m.js} +5 -5
- package/dist/chunks/{location-lifecycle-75251nmg.js → app-7nevcv2j.js} +168 -168
- package/dist/chunks/{location-lifecycle-sgnqmrx9.js → app-7xt60b7w.js} +11 -11
- package/dist/chunks/{location-lifecycle-eq1pz5kg.js → app-7yh4e7ss.js} +3 -3
- package/dist/chunks/{location-lifecycle-47cy0djt.js → app-8453a172.js} +3 -3
- package/dist/chunks/{location-lifecycle-hcwqpyvc.js → app-86yypyvq.js} +14 -14
- package/dist/chunks/{location-lifecycle-kamc54jj.js → app-89mq7wyr.js} +39 -39
- package/dist/chunks/{location-lifecycle-vvb19s65.js → app-8c78cpwa.js} +16 -16
- package/dist/chunks/{location-lifecycle-8d7r5vzw.js → app-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-lifecycle-wrh74t2j.js → app-8eqv3pz0.js} +15 -15
- package/dist/chunks/{location-lifecycle-0t2p0s6x.js → app-8gtmhb3s.js} +28 -28
- package/dist/chunks/{location-lifecycle-vyrd71eq.js → app-8hgfhrm0.js} +8 -8
- package/dist/chunks/{location-lifecycle-0m545p7q.js → app-8jt7gytg.js} +9 -9
- package/dist/chunks/{location-lifecycle-3702ncx3.js → app-8mkana51.js} +9 -9
- package/dist/chunks/{location-lifecycle-8p4f9s12.js → app-8p4f9s12.js} +2 -2
- package/dist/chunks/{location-lifecycle-erx1ymvz.js → app-8q3prv5x.js} +12 -12
- package/dist/chunks/{location-lifecycle-vk2qvkq3.js → app-8w492f25.js} +11 -11
- package/dist/chunks/{location-lifecycle-88z22xyb.js → app-8w8z15t5.js} +22 -22
- package/dist/chunks/{location-lifecycle-qby9dwvd.js → app-92swnv4m.js} +8 -8
- package/dist/chunks/{location-lifecycle-anpxnxga.js → app-93kbyvxf.js} +8 -8
- package/dist/chunks/{location-lifecycle-s6kv65ar.js → app-983faghs.js} +42 -42
- package/dist/chunks/{location-lifecycle-nzh7nt0x.js → app-9f9pqsn7.js} +15 -15
- package/dist/chunks/{location-lifecycle-db54agdm.js → app-9g3kc011.js} +5 -5
- package/dist/chunks/{location-lifecycle-sv6xjb0f.js → app-9m1xy59m.js} +28 -28
- package/dist/chunks/{location-lifecycle-pryfatb2.js → app-9merv84y.js} +6 -6
- package/dist/chunks/{location-lifecycle-apasb5kv.js → app-9qt073d4.js} +24 -24
- package/dist/chunks/app-9sh4wc5j.js +18 -0
- package/dist/chunks/{location-lifecycle-kvbgbx56.js → app-9tpewzt2.js} +11 -11
- package/dist/chunks/{location-lifecycle-2n8ex6wt.js → app-9z0vqgj8.js} +44 -44
- package/dist/chunks/{location-lifecycle-37ee5xtk.js → app-9z29ty1c.js} +80 -80
- package/dist/chunks/{location-lifecycle-keaxt39w.js → app-a02x2nqf.js} +11 -11
- package/dist/chunks/{location-lifecycle-grjhnehy.js → app-a09b8rh7.js} +14 -14
- package/dist/chunks/{location-lifecycle-a1bz86dw.js → app-a1bz86dw.js} +3 -3
- package/dist/chunks/{location-lifecycle-aaet6srn.js → app-aaet6srn.js} +2 -2
- package/dist/chunks/{location-lifecycle-rcsbpktc.js → app-aaxfm0x4.js} +9 -9
- package/dist/chunks/{location-lifecycle-wy609sy0.js → app-az7sc7tr.js} +33 -33
- package/dist/chunks/{location-lifecycle-b6gygkdw.js → app-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-lifecycle-zt149n1m.js → app-b6yse9kk.js} +27 -27
- package/dist/chunks/{location-lifecycle-hc7n3jk5.js → app-bajakh74.js} +4 -4
- package/dist/chunks/{location-lifecycle-j5djgq14.js → app-bwv0bmtn.js} +20 -20
- package/dist/chunks/{location-lifecycle-5hb63z90.js → app-bx2v6p93.js} +15 -15
- package/dist/chunks/{location-lifecycle-r0vfb6s8.js → app-bxx2fbms.js} +17 -17
- package/dist/chunks/{location-lifecycle-mtcwhrrs.js → app-bz83r41j.js} +26 -26
- package/dist/chunks/{location-lifecycle-8f6k85bw.js → app-c2zct6gz.js} +1 -1
- package/dist/chunks/{location-lifecycle-4y9pqhyv.js → app-c6ds0c94.js} +4 -4
- package/dist/chunks/{location-lifecycle-cwa6csj7.js → app-c765mh8b.js} +9 -9
- package/dist/chunks/{location-lifecycle-am60j996.js → app-ce16mkz4.js} +8 -8
- package/dist/chunks/{location-lifecycle-cfpkc3c9.js → app-cfpkc3c9.js} +2 -2
- package/dist/chunks/{location-lifecycle-9vzyn289.js → app-cgsgnzce.js} +25 -25
- package/dist/chunks/{location-lifecycle-6p3xbzsx.js → app-csf2jhsg.js} +4 -4
- package/dist/chunks/{location-lifecycle-27bvgpry.js → app-ct358y0f.js} +18 -18
- package/dist/chunks/{location-lifecycle-5v63wf0e.js → app-cxpa1y59.js} +24 -24
- package/dist/chunks/{location-lifecycle-rgw6bvjh.js → app-cxsc12hy.js} +15 -15
- package/dist/chunks/{location-lifecycle-fe13djvq.js → app-cz607syy.js} +29 -29
- package/dist/chunks/{location-lifecycle-xgmv817t.js → app-d4wrttap.js} +74 -74
- package/dist/chunks/{location-lifecycle-8bkef4w4.js → app-dajkjmdb.js} +16 -16
- package/dist/chunks/{location-lifecycle-0p85d2b5.js → app-dk224700.js} +17 -17
- package/dist/chunks/{location-lifecycle-bn6s17cs.js → app-dkvtys4x.js} +31 -31
- package/dist/chunks/{location-lifecycle-j33757dq.js → app-dmvh2pxq.js} +8 -8
- package/dist/chunks/{location-lifecycle-xdsa205k.js → app-dqbfyft2.js} +14 -14
- package/dist/chunks/{location-lifecycle-drwq78ky.js → app-drwq78ky.js} +1 -1
- package/dist/chunks/{location-lifecycle-jgn59k9q.js → app-e1meqxse.js} +10 -10
- package/dist/chunks/{location-lifecycle-xy7zkf14.js → app-e44f2nns.js} +8 -8
- package/dist/chunks/{location-lifecycle-ef5x83kb.js → app-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-lifecycle-xn1s65b5.js → app-eg4c4y0k.js} +9 -9
- package/dist/chunks/{location-lifecycle-7gcp8pkf.js → app-emz89tv7.js} +6 -6
- package/dist/chunks/{location-lifecycle-ee8fp9pb.js → app-enmz7mfm.js} +2 -2
- package/dist/chunks/{location-lifecycle-d0kq6bcs.js → app-enxpex03.js} +13 -13
- package/dist/chunks/{location-lifecycle-rfyy2fbp.js → app-eqfn4xbt.js} +8 -8
- package/dist/chunks/{location-lifecycle-erw5rpbs.js → app-erw5rpbs.js} +2 -2
- package/dist/chunks/{location-lifecycle-eakwe6db.js → app-etf6ft0y.js} +16 -16
- package/dist/chunks/{location-lifecycle-etq0c3wd.js → app-etq0c3wd.js} +1 -1
- package/dist/chunks/app-exv2d4f1.js +478 -0
- package/dist/chunks/{location-lifecycle-byr3fygr.js → app-eyyn9k7n.js} +4 -4
- package/dist/chunks/{location-lifecycle-4b2v48k8.js → app-f23vd0x7.js} +20 -20
- package/dist/chunks/{location-lifecycle-yp2x3t23.js → app-f2n192rq.js} +4 -4
- package/dist/chunks/{location-lifecycle-pxr7vr2f.js → app-f38mbwqt.js} +3 -3
- package/dist/chunks/{location-lifecycle-042q83f5.js → app-f38wsw69.js} +2 -2
- package/dist/chunks/{location-lifecycle-0vweymcq.js → app-f61hb4ek.js} +20 -20
- package/dist/chunks/{location-lifecycle-f828m53h.js → app-f828m53h.js} +2 -2
- package/dist/chunks/{location-lifecycle-q58r1q90.js → app-fsbsefvd.js} +10 -10
- package/dist/chunks/{location-lifecycle-neggjd8m.js → app-fvskdbcf.js} +15 -15
- package/dist/chunks/{location-lifecycle-fxbjtjnd.js → app-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-lifecycle-k0km23p1.js → app-fzs6s7vg.js} +6 -6
- package/dist/chunks/{location-lifecycle-t6rnktzk.js → app-g23kf5ev.js} +7 -7
- package/dist/chunks/{location-lifecycle-wk77qrbw.js → app-g5wwnt5k.js} +9 -9
- package/dist/chunks/app-gb40j6dy.js +252 -0
- package/dist/chunks/{location-lifecycle-gd4qta3r.js → app-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-lifecycle-y7hyc544.js → app-gk0dt8df.js} +13 -13
- package/dist/chunks/{location-lifecycle-4grhrwhs.js → app-gmqyvvgm.js} +29 -29
- package/dist/chunks/{location-lifecycle-sfsanhkm.js → app-gswswfzq.js} +7 -7
- package/dist/chunks/{location-lifecycle-gv6a8nnw.js → app-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-lifecycle-3qsm2re4.js → app-gyy1ffzd.js} +18 -18
- package/dist/chunks/{location-lifecycle-1yzkmr49.js → app-gyzwq9sn.js} +19 -19
- package/dist/chunks/{location-lifecycle-fjvydvzm.js → app-gzbkpp9m.js} +4 -4
- package/dist/chunks/{location-lifecycle-c5gqad7k.js → app-h351tmaf.js} +13 -13
- package/dist/chunks/{location-lifecycle-g9d4q01g.js → app-h35nstb6.js} +3 -3
- package/dist/chunks/{location-lifecycle-xwwz9aqf.js → app-h6jr292a.js} +4 -4
- package/dist/chunks/{location-lifecycle-h6vf3j39.js → app-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-lifecycle-ppgtt6fv.js → app-hjsb5tch.js} +3 -3
- package/dist/chunks/{location-lifecycle-5mgfe4rs.js → app-hrjdv2as.js} +5 -5
- package/dist/chunks/{location-lifecycle-7kne1rr3.js → app-htw5fxvd.js} +29 -29
- package/dist/chunks/{location-lifecycle-rkdqx70x.js → app-hv3115q5.js} +10 -10
- package/dist/chunks/{location-lifecycle-ts8nkrqx.js → app-hy9pqe3b.js} +11 -11
- package/dist/chunks/{location-lifecycle-hafpya9j.js → app-j27dhsgb.js} +4 -4
- package/dist/chunks/{location-lifecycle-j56e64zr.js → app-j56e64zr.js} +1 -1
- package/dist/chunks/{location-lifecycle-39fbdg6v.js → app-j8pq5m3s.js} +27 -27
- package/dist/chunks/{location-lifecycle-5kj4kk34.js → app-jcdktctk.js} +15 -15
- package/dist/chunks/{location-lifecycle-c7kw5n00.js → app-jktrx7yg.js} +39 -39
- package/dist/chunks/{location-lifecycle-4faaayh9.js → app-jnc00e3h.js} +13 -13
- package/dist/chunks/{location-lifecycle-kgs94606.js → app-jsq5br9j.js} +38 -38
- package/dist/chunks/{location-lifecycle-ddt2bs9e.js → app-jvf3yq6v.js} +4 -4
- package/dist/chunks/{location-lifecycle-7s6533aw.js → app-jw8sqkvn.js} +25 -25
- package/dist/chunks/{location-lifecycle-yprrd5kf.js → app-k1j9bv8z.js} +20 -20
- package/dist/chunks/{location-lifecycle-k3c624dm.js → app-k3c624dm.js} +3 -3
- package/dist/chunks/{location-lifecycle-a1r6gdc1.js → app-k8n6pnr9.js} +59 -59
- package/dist/chunks/{location-lifecycle-fkjmw100.js → app-knb7evpn.js} +6 -6
- package/dist/chunks/{location-lifecycle-f67z0p6b.js → app-knwmqf4w.js} +28 -28
- package/dist/chunks/{location-lifecycle-zbfk49h1.js → app-krswskp9.js} +5 -5
- package/dist/chunks/{location-lifecycle-m3fdjcah.js → app-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-lifecycle-b9gzvhds.js → app-m893rmfk.js} +30 -30
- package/dist/chunks/{location-lifecycle-m9w0rfyh.js → app-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-lifecycle-b7wa81tp.js → app-mnpggwcf.js} +9 -9
- package/dist/chunks/{location-lifecycle-zmw9a2ym.js → app-mp8r0d78.js} +38 -38
- package/dist/chunks/{location-lifecycle-p7a39gy5.js → app-mx9vqzsb.js} +6 -6
- package/dist/chunks/{location-lifecycle-qyppsvy7.js → app-n4thtx26.js} +47 -47
- package/dist/chunks/{location-lifecycle-zfjy4kgb.js → app-ne6czcbh.js} +15 -15
- package/dist/chunks/{location-lifecycle-dnavak78.js → app-nrmx6035.js} +6 -6
- package/dist/chunks/{location-lifecycle-j4jgwbxy.js → app-ns7ytg88.js} +5 -5
- package/dist/chunks/{location-lifecycle-sewjnrgk.js → app-nsbb6rh2.js} +9 -9
- package/dist/chunks/{location-lifecycle-fhs97t90.js → app-nscznvay.js} +9 -9
- package/dist/chunks/{location-lifecycle-en0bd26m.js → app-p002d2y8.js} +11 -11
- package/dist/chunks/{location-lifecycle-9snyxm1r.js → app-p46rex2z.js} +5 -5
- package/dist/chunks/{location-lifecycle-xprfz8hm.js → app-p4b89s5t.js} +4 -4
- package/dist/chunks/{location-lifecycle-dv1qgsyq.js → app-pa8pe2x7.js} +8 -8
- package/dist/chunks/{location-lifecycle-ars4a9nd.js → app-pd4tfbn7.js} +27 -27
- package/dist/chunks/{location-lifecycle-hj6d10w0.js → app-phttym0s.js} +2 -2
- package/dist/chunks/{location-lifecycle-pjvnvgmy.js → app-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-lifecycle-pknna89w.js → app-pknna89w.js} +1 -1
- package/dist/chunks/{location-lifecycle-4m9w2phg.js → app-prbrnhj7.js} +21 -21
- package/dist/chunks/{location-lifecycle-dwtvkfdb.js → app-pya94xtm.js} +41 -41
- package/dist/chunks/{location-lifecycle-phrncyc5.js → app-q6xw37aw.js} +24 -24
- package/dist/chunks/{location-lifecycle-e6yt117e.js → app-q6zxb0dv.js} +6 -6
- package/dist/chunks/{location-lifecycle-n6kjjvst.js → app-q7e4c841.js} +13 -13
- package/dist/chunks/{location-lifecycle-tjbwrg3m.js → app-q80w5f59.js} +4 -4
- package/dist/chunks/{location-lifecycle-c447jeeg.js → app-q9xc5syg.js} +20 -20
- package/dist/chunks/{location-lifecycle-v0zfhqw3.js → app-qf8tt7h0.js} +20 -20
- package/dist/chunks/{location-lifecycle-gzgsw2w2.js → app-qht3p2g6.js} +23 -23
- package/dist/chunks/{location-lifecycle-qsdy395h.js → app-qsdy395h.js} +1 -1
- package/dist/chunks/{location-lifecycle-cvgayg76.js → app-r9bhfmrk.js} +11 -11
- package/dist/chunks/{location-lifecycle-rdw6cm16.js → app-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-lifecycle-0qfptt5k.js → app-re49jchr.js} +33 -33
- package/dist/chunks/{location-lifecycle-k9fj1e0n.js → app-rejdgvb4.js} +21 -21
- package/dist/chunks/{location-lifecycle-90p59b3a.js → app-rtathh62.js} +5 -5
- package/dist/chunks/{location-lifecycle-5m2thc3h.js → app-rvdbz7jp.js} +14 -14
- package/dist/chunks/{location-lifecycle-vyp5mzt3.js → app-s12geb02.js} +4 -4
- package/dist/chunks/{location-lifecycle-s4enseaf.js → app-s4enseaf.js} +2 -2
- package/dist/chunks/{location-lifecycle-xsd6aqt0.js → app-s7e9s4m8.js} +10 -10
- package/dist/chunks/{location-lifecycle-e7hvxrxc.js → app-sa0xgtnt.js} +10 -10
- package/dist/chunks/{location-lifecycle-erf1z1aw.js → app-sfpmt6g6.js} +26 -26
- package/dist/chunks/{location-lifecycle-xncbf6ay.js → app-sjx70dvg.js} +5 -5
- package/dist/chunks/{location-lifecycle-97w5rk9e.js → app-sm965ndy.js} +8 -8
- package/dist/chunks/{location-lifecycle-vqrz25dp.js → app-ssfx8w0w.js} +15 -15
- package/dist/chunks/{location-lifecycle-yw8t7fty.js → app-t26fz10k.js} +42 -42
- package/dist/chunks/{location-lifecycle-rhjbct0v.js → app-t550f9t1.js} +4 -4
- package/dist/chunks/{location-lifecycle-tazgh4e4.js → app-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-lifecycle-tbz0fdvh.js → app-tbz0fdvh.js} +2 -2
- package/dist/chunks/{location-lifecycle-tcezcvh9.js → app-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-lifecycle-tdstcens.js → app-tdstcens.js} +1 -1
- package/dist/chunks/{location-lifecycle-r8074hfk.js → app-th8dzebb.js} +16 -16
- package/dist/chunks/{location-lifecycle-4mrjq53b.js → app-tmy80d1d.js} +33 -33
- package/dist/chunks/{location-lifecycle-488ecjmm.js → app-tpqwzhdx.js} +3 -3
- package/dist/chunks/{location-lifecycle-j5786zrt.js → app-ts2x07a1.js} +1 -1
- package/dist/chunks/{location-lifecycle-tvtrv512.js → app-tvtrv512.js} +1 -1
- package/dist/chunks/app-v2xq4n2m.js +26 -0
- package/dist/chunks/{location-lifecycle-fy4nfvq6.js → app-v74hrknw.js} +3 -3
- package/dist/chunks/{location-lifecycle-veqvce7d.js → app-veqvce7d.js} +1 -1
- package/dist/chunks/{location-lifecycle-2919v7f8.js → app-vf31m6xw.js} +6 -6
- package/dist/chunks/{location-lifecycle-fvsyg6qk.js → app-vmq7ehpy.js} +5 -5
- package/dist/chunks/{location-lifecycle-mg0hvqns.js → app-vy2nh6er.js} +22 -22
- package/dist/chunks/{location-lifecycle-vzcthcp8.js → app-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-lifecycle-w3wsvvr9.js → app-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-lifecycle-8rrp4d6h.js → app-w4axh9wz.js} +8 -8
- package/dist/chunks/{location-lifecycle-y563cxrh.js → app-w5r1r7r5.js} +5 -5
- package/dist/chunks/{location-lifecycle-z6pnwnms.js → app-wcnpmejz.js} +4 -4
- package/dist/chunks/{location-lifecycle-wd87259q.js → app-wd87259q.js} +1 -1
- package/dist/chunks/{location-lifecycle-day6310d.js → app-wr40kbw1.js} +18 -18
- package/dist/chunks/{location-lifecycle-abxf3pnh.js → app-x16z1dtm.js} +35 -35
- package/dist/chunks/{location-lifecycle-x1ezjp6w.js → app-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-lifecycle-rxq1rw6x.js → app-x74apfg4.js} +1 -1
- package/dist/chunks/{location-lifecycle-w7954qpa.js → app-xd6rxq6w.js} +3 -3
- package/dist/chunks/{location-lifecycle-q0raz0xt.js → app-xdx7acry.js} +5 -5
- package/dist/chunks/{location-lifecycle-wtcwnkvw.js → app-xjx8etak.js} +42 -42
- package/dist/chunks/{location-lifecycle-p5r4g375.js → app-xnwv1veh.js} +11 -11
- package/dist/chunks/{location-lifecycle-18sy4pmj.js → app-xpxdqe4n.js} +10 -10
- package/dist/chunks/{location-lifecycle-y1fvbwt7.js → app-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-lifecycle-jqccg9bw.js → app-y4r7bpy5.js} +5 -5
- package/dist/chunks/{location-lifecycle-wsp0kw9y.js → app-y5svnfmg.js} +9 -9
- package/dist/chunks/{location-lifecycle-9gksjqwg.js → app-y6rdf9v0.js} +16 -16
- package/dist/chunks/{location-lifecycle-dpkg50ah.js → app-y71avatq.js} +4 -4
- package/dist/chunks/{location-lifecycle-qmz5hgkz.js → app-yd34yanf.js} +4 -4
- package/dist/chunks/{location-lifecycle-7wacmsvk.js → app-ydqbacn8.js} +11 -11
- package/dist/chunks/{location-lifecycle-yrhqyw5v.js → app-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-lifecycle-3nztwa7f.js → app-ytbhk2x6.js} +5 -5
- package/dist/chunks/{location-lifecycle-9k9p9g57.js → app-z0656w2w.js} +24 -24
- package/dist/chunks/{location-lifecycle-z0bkrqjs.js → app-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-lifecycle-zeh9ct20.js → app-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-lifecycle-xymwp6jy.js → app-zkkvfm1v.js} +22 -22
- package/dist/chunks/{location-lifecycle-zr2ceqn5.js → app-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-lifecycle-fvgp010w.js → app-zt0gt0h0.js} +3 -3
- package/dist/chunks/{location-lifecycle-qek8dtx8.js → app-zvpx4q1j.js} +9 -9
- package/dist/chunks/{location-lifecycle-zxq2ej10.js → app-zxq2ej10.js} +1 -1
- package/dist/chunks/{location-lifecycle-m3dzp4pc.js → app-zz7qbrzd.js} +21 -21
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -366
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +96 -96
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +97 -97
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +102 -102
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +90 -90
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +4 -4
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +357 -357
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +354 -354
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +95 -95
- package/dist/model.js +99 -99
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +106 -106
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +79 -79
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +328 -328
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +98 -98
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +92 -92
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +126 -126
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +119 -119
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +119 -119
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +4 -4
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +76 -76
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/location-lifecycle-0mesazry.js +0 -4
- package/dist/chunks/location-lifecycle-26hpxw0m.js +0 -252
- package/dist/chunks/location-lifecycle-ht5y0zrb.js +0 -18
- package/dist/chunks/location-lifecycle-pe3634vc.js +0 -26
- package/dist/chunks/location-lifecycle-v699prpt.js +0 -478
- /package/dist/chunks/{location-lifecycle-0qkdqm5v.js → app-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-lifecycle-0zkw76rk.js → app-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-lifecycle-17cy0kzp.js → app-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-1cnp2v09.js → app-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-lifecycle-1kg9ymc8.js → app-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-lifecycle-24dcb14g.js → app-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-lifecycle-2710q6r3.js → app-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-lifecycle-2axfhc9x.js → app-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-lifecycle-2c3vjs8z.js → app-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-lifecycle-359p4xyc.js → app-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-lifecycle-3asan66x.js → app-3asan66x.js} +0 -0
- /package/dist/chunks/{location-lifecycle-3v8g72cx.js → app-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-lifecycle-3w5fmr99.js → app-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-lifecycle-3wcehsnq.js → app-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-lifecycle-43n2bw4t.js → app-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-lifecycle-4knz6hnm.js → app-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-lifecycle-4vcrnpx2.js → app-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-lifecycle-4y7fprxs.js → app-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-lifecycle-53557ph1.js → app-53557ph1.js} +0 -0
- /package/dist/chunks/{location-lifecycle-550bvhaj.js → app-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-lifecycle-6prwharc.js → app-6prwharc.js} +0 -0
- /package/dist/chunks/{location-lifecycle-7akdwqpd.js → app-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-lifecycle-7m9af43g.js → app-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-lifecycle-822emrt2.js → app-822emrt2.js} +0 -0
- /package/dist/chunks/{location-lifecycle-88xbtdfr.js → app-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-lifecycle-8n3pysct.js → app-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-lifecycle-922hggd3.js → app-922hggd3.js} +0 -0
- /package/dist/chunks/{location-lifecycle-9a4afbnw.js → app-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-lifecycle-9rqn6x4v.js → app-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-lifecycle-a6k6eb26.js → app-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-lifecycle-af5trqkr.js → app-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-lifecycle-afrmfg78.js → app-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-lifecycle-aqzs7mqg.js → app-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-lifecycle-atq7p7m5.js → app-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-lifecycle-bkyjaxrp.js → app-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-bmr6ed5q.js → app-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-lifecycle-cf4snx6d.js → app-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-lifecycle-cvy3z8tj.js → app-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-lifecycle-d9fn303g.js → app-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-lifecycle-d9jj8t3e.js → app-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-lifecycle-dajrwvna.js → app-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-lifecycle-dap0rakb.js → app-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-lifecycle-df08tz66.js → app-df08tz66.js} +0 -0
- /package/dist/chunks/{location-lifecycle-dy18nga0.js → app-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-lifecycle-e3qxr5gk.js → app-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{location-lifecycle-e5kj55wp.js → app-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-e73j6tqm.js → app-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-lifecycle-ec1grn59.js → app-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-lifecycle-eh3zwz77.js → app-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-lifecycle-emrn6kk6.js → app-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-lifecycle-f0mxakyp.js → app-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-f6n9ztr4.js → app-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-lifecycle-faypxj3z.js → app-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-lifecycle-fd410y7t.js → app-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-lifecycle-fxgpk5d8.js → app-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-lifecycle-g4wezp1m.js → app-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-lifecycle-g86h250q.js → app-g86h250q.js} +0 -0
- /package/dist/chunks/{location-lifecycle-gebd4c9n.js → app-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-lifecycle-gftt206x.js → app-gftt206x.js} +0 -0
- /package/dist/chunks/{location-lifecycle-hjbc5kem.js → app-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-lifecycle-hk9envan.js → app-hk9envan.js} +0 -0
- /package/dist/chunks/{location-lifecycle-j2ntwpah.js → app-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-lifecycle-j5zkgpj8.js → app-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jjkms2e6.js → app-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jr7sbwjy.js → app-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jwfs4k6c.js → app-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jzg6c2d5.js → app-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-lifecycle-mp448xyj.js → app-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-lifecycle-msx8hqn2.js → app-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-lifecycle-n05xt0ee.js → app-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-lifecycle-n3j8tn72.js → app-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-lifecycle-njntx4h6.js → app-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-lifecycle-q3sfg36h.js → app-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-lifecycle-q74kybfr.js → app-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qaymkmh1.js → app-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qb87gjwd.js → app-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qfa1cgps.js → app-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qg3g05ea.js → app-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qrg20bc0.js → app-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-lifecycle-rcb2kzg1.js → app-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-lifecycle-sdp7kfr6.js → app-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-lifecycle-sk3qaz4a.js → app-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-lifecycle-ssg3fenm.js → app-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-lifecycle-twg0f83k.js → app-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-lifecycle-w803qqfp.js → app-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-wc3fc9cn.js → app-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-lifecycle-wer8tq1h.js → app-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-lifecycle-wtztk69x.js → app-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-lifecycle-x0ckcb58.js → app-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-lifecycle-x61499pn.js → app-x61499pn.js} +0 -0
- /package/dist/chunks/{location-lifecycle-y44na4kk.js → app-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-lifecycle-y8cydn3q.js → app-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-lifecycle-y8f7s663.js → app-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-lifecycle-ygaqb7jw.js → app-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-lifecycle-ym463w8f.js → app-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-lifecycle-z9919s4g.js → app-z9919s4g.js} +0 -0
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ID9,
|
|
3
|
+
Info14,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./app-08rawchj.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./app-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Service82,
|
|
11
11
|
node86
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./app-h35nstb6.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
15
|
Service81,
|
|
16
16
|
node85
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./app-j27dhsgb.js";
|
|
18
18
|
import {
|
|
19
19
|
Service79,
|
|
20
20
|
node83
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./app-254g4bgq.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service45,
|
|
24
|
+
node47
|
|
25
|
+
} from "./app-mx9vqzsb.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./app-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./app-a1bz86dw.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
node45
|
|
34
|
+
} from "./app-bxx2fbms.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./app-bajakh74.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./app-fvskdbcf.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./app-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
46
|
+
node27
|
|
47
|
+
} from "./app-35kwx3sj.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node73
|
|
51
|
+
} from "./app-p002d2y8.js";
|
|
52
52
|
import {
|
|
53
53
|
NotFoundError9,
|
|
54
54
|
MessageNotFoundError2,
|
|
@@ -61,58 +61,58 @@ import {
|
|
|
61
61
|
BusyError2,
|
|
62
62
|
InboxConflictError2,
|
|
63
63
|
SkillNotFoundError2
|
|
64
|
-
} from "./
|
|
64
|
+
} from "./app-f38mbwqt.js";
|
|
65
65
|
import {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
66
|
+
ListInput4,
|
|
67
|
+
Service57,
|
|
68
|
+
node59
|
|
69
|
+
} from "./app-rvdbz7jp.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
71
|
+
Service46,
|
|
72
|
+
node48
|
|
73
|
+
} from "./app-jcdktctk.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
75
|
+
Service41,
|
|
76
|
+
node44
|
|
77
|
+
} from "./app-jsq5br9j.js";
|
|
78
78
|
import {
|
|
79
79
|
llmClient2
|
|
80
|
-
} from "./
|
|
80
|
+
} from "./app-5t3nmthw.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
82
|
+
Service28,
|
|
83
|
+
node32
|
|
84
|
+
} from "./app-r9bhfmrk.js";
|
|
85
85
|
import {
|
|
86
86
|
generate2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./app-dajkjmdb.js";
|
|
88
88
|
import {
|
|
89
89
|
execute2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./app-93kbyvxf.js";
|
|
91
91
|
import {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
} from "./
|
|
92
|
+
Service51,
|
|
93
|
+
node53
|
|
94
|
+
} from "./app-8mkana51.js";
|
|
95
95
|
import {
|
|
96
96
|
DestinationNotFoundError2,
|
|
97
97
|
DestinationNotDirectoryError2,
|
|
98
98
|
DestinationUnavailableError2,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./
|
|
99
|
+
Service21,
|
|
100
|
+
node24
|
|
101
|
+
} from "./app-2dx3f4tk.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./
|
|
103
|
+
Service38,
|
|
104
|
+
node41
|
|
105
|
+
} from "./app-sm965ndy.js";
|
|
106
106
|
import {
|
|
107
107
|
make12
|
|
108
|
-
} from "./
|
|
108
|
+
} from "./app-8gtmhb3s.js";
|
|
109
109
|
import {
|
|
110
110
|
TurnRangeError2,
|
|
111
111
|
turn2
|
|
112
|
-
} from "./
|
|
112
|
+
} from "./app-7xt60b7w.js";
|
|
113
113
|
import {
|
|
114
114
|
__export
|
|
115
|
-
} from "./
|
|
115
|
+
} from "./app-9rqn6x4v.js";
|
|
116
116
|
|
|
117
117
|
// src/session.ts
|
|
118
118
|
var exports_session = {};
|
|
@@ -123,9 +123,9 @@ __export(exports_session, {
|
|
|
123
123
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
124
124
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
125
125
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
126
|
-
ID: () =>
|
|
126
|
+
ID: () => ID9,
|
|
127
127
|
InboxConflictError: () => InboxConflictError2,
|
|
128
|
-
Info: () =>
|
|
128
|
+
Info: () => Info14,
|
|
129
129
|
ListAnchor: () => ListAnchor2,
|
|
130
130
|
ListInput: () => ListInput3,
|
|
131
131
|
MessageDecodeError: () => MessageDecodeError2,
|
|
@@ -148,7 +148,7 @@ import { Model } from "@opencode/schema/model";
|
|
|
148
148
|
import path from "path";
|
|
149
149
|
import { Node } from "@opencode/util/effect/app-node";
|
|
150
150
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
151
|
-
var ListInput3 =
|
|
151
|
+
var ListInput3 = ListInput4;
|
|
152
152
|
class Service20 extends Context.Service()("@opencode/Session") {
|
|
153
153
|
}
|
|
154
154
|
var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
@@ -157,15 +157,15 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
157
157
|
const db = database.db;
|
|
158
158
|
const bus = yield* Service81;
|
|
159
159
|
const projects = yield* Service79;
|
|
160
|
-
const execution = yield*
|
|
160
|
+
const execution = yield* Service41;
|
|
161
161
|
const llm = yield* LLMClient.Service;
|
|
162
|
-
const transport = yield*
|
|
163
|
-
const store = yield*
|
|
164
|
-
const instances = yield*
|
|
165
|
-
const moves = yield*
|
|
166
|
-
const jobs = yield*
|
|
167
|
-
const environments = yield*
|
|
168
|
-
const locations = yield*
|
|
162
|
+
const transport = yield* Service28;
|
|
163
|
+
const store = yield* Service57;
|
|
164
|
+
const instances = yield* Service45;
|
|
165
|
+
const moves = yield* Service21;
|
|
166
|
+
const jobs = yield* Service46;
|
|
167
|
+
const environments = yield* Service38;
|
|
168
|
+
const locations = yield* Service51;
|
|
169
169
|
const sessions = yield* make12();
|
|
170
170
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
171
171
|
const result = Service20.of({
|
|
@@ -281,11 +281,11 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
281
281
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
282
282
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
283
283
|
const session = yield* result.get(input.sessionID);
|
|
284
|
-
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
284
|
+
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service45, instances), Effect.provideService(Service82, database), Effect.provideService(LLMClient.Service, llm));
|
|
285
285
|
}),
|
|
286
286
|
command: Effect.fn("Session.command")(function* (input) {
|
|
287
287
|
const session = yield* result.get(input.sessionID);
|
|
288
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
288
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service45, instances));
|
|
289
289
|
}),
|
|
290
290
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
291
291
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -330,22 +330,22 @@ var node23 = Node.makeGlobalNode({
|
|
|
330
330
|
service: Service20,
|
|
331
331
|
layer,
|
|
332
332
|
deps: [
|
|
333
|
-
|
|
334
|
-
|
|
333
|
+
node48,
|
|
334
|
+
node41,
|
|
335
335
|
node86,
|
|
336
336
|
node85,
|
|
337
337
|
node83,
|
|
338
|
-
|
|
339
|
-
|
|
338
|
+
node44,
|
|
339
|
+
node32,
|
|
340
340
|
llmClient2,
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
341
|
+
node59,
|
|
342
|
+
node47,
|
|
343
|
+
node45,
|
|
344
|
+
node24,
|
|
345
|
+
node27,
|
|
346
|
+
node53,
|
|
347
347
|
FSUtil.node,
|
|
348
|
-
|
|
348
|
+
node73
|
|
349
349
|
]
|
|
350
350
|
});
|
|
351
351
|
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-h35nstb6.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service45
|
|
6
|
+
} from "./app-mx9vqzsb.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./app-9sh4wc5j.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./app-csf2jhsg.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./app-eqfn4xbt.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./app-knwmqf4w.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service22
|
|
21
|
+
} from "./app-9z29ty1c.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./app-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
|
-
var
|
|
28
|
-
__export(
|
|
29
|
-
SessionGenerate: () =>
|
|
27
|
+
var exports_generate2 = {};
|
|
28
|
+
__export(exports_generate2, {
|
|
29
|
+
SessionGenerate: () => exports_generate2,
|
|
30
30
|
generate: () => generate2
|
|
31
31
|
});
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service45;
|
|
36
36
|
const database = yield* Service82;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service22;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
@@ -71,4 +71,4 @@ var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
|
71
71
|
}).pipe(instances.provide(input.session));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { generate2,
|
|
74
|
+
export { generate2, exports_generate2 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-p002d2y8.js";
|
|
4
4
|
import {
|
|
5
5
|
Service81
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-j27dhsgb.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event17
|
|
10
|
+
} from "./app-76vcpf37.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID12,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./app-cgsgnzce.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./app-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID11,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./app-b6yse9kk.js";
|
|
24
24
|
|
|
25
25
|
// src/plugin/provider/openai.ts
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -44,7 +44,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
44
44
|
}));
|
|
45
45
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
46
46
|
var browser = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID12.make("openai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: browserMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -117,7 +117,7 @@ function addressInUse(error) {
|
|
|
117
117
|
return "code" in error && error.code === "EADDRINUSE";
|
|
118
118
|
}
|
|
119
119
|
var headless = (app) => ({
|
|
120
|
-
integrationID:
|
|
120
|
+
integrationID: ID12.make("openai"),
|
|
121
121
|
method: {
|
|
122
122
|
id: headlessMethodID,
|
|
123
123
|
type: "oauth",
|
|
@@ -159,7 +159,7 @@ var headless = (app) => ({
|
|
|
159
159
|
}),
|
|
160
160
|
refresh: (value) => refresh(headlessMethodID, value, app)
|
|
161
161
|
});
|
|
162
|
-
var
|
|
162
|
+
var OpenAIPlugin2 = define({
|
|
163
163
|
id: "opencode.provider.openai",
|
|
164
164
|
effect: Effect.fn(function* (ctx) {
|
|
165
165
|
const bus = yield* Service81;
|
|
@@ -178,7 +178,7 @@ var OpenAIPlugin3 = define({
|
|
|
178
178
|
});
|
|
179
179
|
yield* load();
|
|
180
180
|
yield* ctx.provider.transform((providers) => {
|
|
181
|
-
const item = providers.get(
|
|
181
|
+
const item = providers.get(ID11.openai);
|
|
182
182
|
if (!item)
|
|
183
183
|
return;
|
|
184
184
|
if (!chatgpt)
|
|
@@ -194,7 +194,7 @@ var OpenAIPlugin3 = define({
|
|
|
194
194
|
});
|
|
195
195
|
});
|
|
196
196
|
yield* ctx.model.transform((models) => {
|
|
197
|
-
for (const model of models.list(
|
|
197
|
+
for (const model of models.list(ID11.openai)) {
|
|
198
198
|
models.update(model.providerID, model.id, (draft) => {
|
|
199
199
|
draft.transport = models.provider.get(model.providerID)?.provider.transport ?? "websocket";
|
|
200
200
|
if (!chatgpt)
|
|
@@ -223,9 +223,9 @@ var OpenAIPlugin3 = define({
|
|
|
223
223
|
evt.baseURL = codexBaseURL;
|
|
224
224
|
evt.headers.originator = "opencode";
|
|
225
225
|
evt.headers["session-id"] = evt.sessionID;
|
|
226
|
-
}), { providerID:
|
|
226
|
+
}), { providerID: ID11.openai });
|
|
227
227
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
228
|
-
yield* bus.subscribe(
|
|
228
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
229
229
|
})
|
|
230
230
|
});
|
|
231
231
|
function headers(contentType, app) {
|
|
@@ -316,4 +316,4 @@ function claim(token) {
|
|
|
316
316
|
return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export {
|
|
319
|
+
export { OpenAIPlugin2 };
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./app-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
Service78
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./app-phttym0s.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service76
|
|
11
|
+
} from "./app-3xptedn4.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service19
|
|
14
|
+
} from "./app-ydqbacn8.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service75,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./app-jnc00e3h.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service56
|
|
22
|
+
} from "./app-2jpzqyhy.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service40,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./app-9f9pqsn7.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./app-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./app-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
38
|
+
Input: () => Input12,
|
|
39
39
|
Output: () => Output8,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin31,
|
|
42
|
+
name: () => name12,
|
|
43
|
+
toModelContent: () => toModelContent6
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name12 = "patch";
|
|
89
|
+
var Input12 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -100,25 +100,25 @@ var Output8 = Schema.Struct({
|
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent6 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin31 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
111
|
+
const environment = yield* Service76;
|
|
112
|
+
const access = yield* Service40;
|
|
113
|
+
const fileMutation = yield* Service75;
|
|
114
|
+
const formatter = yield* Service19;
|
|
115
115
|
const location = yield* Service78;
|
|
116
|
-
const permission = yield*
|
|
116
|
+
const permission = yield* Service56;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name12,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
121
|
+
input: Input12,
|
|
122
122
|
output: Output8,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
@@ -266,7 +266,7 @@ var Plugin10 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent6(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name12, Input12, Applied2, Output8, toModelContent6, Plugin31, exports_patch };
|
|
@@ -4,31 +4,31 @@ import {
|
|
|
4
4
|
MAX_TOTAL_PATCH_BYTES2,
|
|
5
5
|
emptyPatch2,
|
|
6
6
|
chunksByFile2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./app-tazgh4e4.js";
|
|
8
8
|
import {
|
|
9
9
|
gitExecutable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-ef5x83kb.js";
|
|
11
11
|
import {
|
|
12
12
|
Service78
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./app-phttym0s.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./app-etf6ft0y.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./app-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/git.ts
|
|
22
22
|
var exports_git = {};
|
|
23
23
|
__export(exports_git, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin39,
|
|
25
25
|
VcsGitPlugin: () => exports_git
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Effect } from "effect";
|
|
29
29
|
import { ChildProcess } from "effect/unstable/process";
|
|
30
30
|
import { AppProcess } from "@opencode/util/process";
|
|
31
|
-
var
|
|
31
|
+
var Plugin39 = define({
|
|
32
32
|
id: "opencode.vcs.git",
|
|
33
33
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
34
34
|
const location = yield* Service78;
|
|
@@ -470,4 +470,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
470
470
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
471
471
|
});
|
|
472
472
|
|
|
473
|
-
export {
|
|
473
|
+
export { Plugin39, exports_git };
|
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./app-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service76,
|
|
8
|
+
node79
|
|
9
|
+
} from "./app-3xptedn4.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./app-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./app-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
@@ -20,8 +20,8 @@ __export(exports_ripgrep, {
|
|
|
20
20
|
Error: () => Error2,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service15,
|
|
24
|
+
node: () => node17
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service15 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
63
|
var failure = (message, cause) => new Error2({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service76;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -92,7 +92,7 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
93
|
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service15.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node17 = makeLocationNode({ service: Service15, layer, deps: [node79, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export { Error2, InvalidPatternError2,
|
|
180
|
+
export { Error2, InvalidPatternError2, Service15, node17, exports_ripgrep };
|