@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,59 +1,59 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./app-h35nstb6.js";
|
|
5
5
|
import {
|
|
6
6
|
Service81,
|
|
7
7
|
node85
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./app-j27dhsgb.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service46,
|
|
11
|
+
node48
|
|
12
|
+
} from "./app-jcdktctk.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service45,
|
|
15
|
+
node47
|
|
16
|
+
} from "./app-mx9vqzsb.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./app-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make15
|
|
22
|
+
} from "./app-f2n192rq.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service42
|
|
26
|
+
} from "./app-jvf3yq6v.js";
|
|
27
27
|
import {
|
|
28
28
|
UserInterruptedError2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./app-f38mbwqt.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
31
|
+
Service57,
|
|
32
|
+
node59
|
|
33
|
+
} from "./app-rvdbz7jp.js";
|
|
34
34
|
import {
|
|
35
35
|
toSessionError2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./app-p4b89s5t.js";
|
|
37
37
|
import {
|
|
38
38
|
nextPromotable2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./app-bxx2fbms.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./app-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/session/execution.ts
|
|
45
45
|
var exports_execution = {};
|
|
46
46
|
__export(exports_execution, {
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service41,
|
|
48
48
|
SessionExecution: () => exports_execution,
|
|
49
|
-
layer: () =>
|
|
50
|
-
node: () =>
|
|
51
|
-
noopLayer: () =>
|
|
49
|
+
layer: () => layer17,
|
|
50
|
+
node: () => node44,
|
|
51
|
+
noopLayer: () => noopLayer3,
|
|
52
52
|
terminal: () => terminal2
|
|
53
53
|
});
|
|
54
54
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
55
55
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
56
|
-
class
|
|
56
|
+
class Service41 extends Context.Service()("@opencode/SessionExecution") {
|
|
57
57
|
}
|
|
58
58
|
function terminal2(exit, reason) {
|
|
59
59
|
if (Exit.isSuccess(exit))
|
|
@@ -65,11 +65,11 @@ function terminal2(exit, reason) {
|
|
|
65
65
|
return { type: "interrupted", reason: "user" };
|
|
66
66
|
return { type: "failed", error: toSessionError2(failure) };
|
|
67
67
|
}
|
|
68
|
-
var
|
|
69
|
-
const store = yield*
|
|
70
|
-
const instances = yield*
|
|
68
|
+
var layer17 = Layer.effect(Service41, Effect.gen(function* () {
|
|
69
|
+
const store = yield* Service57;
|
|
70
|
+
const instances = yield* Service45;
|
|
71
71
|
const bus = yield* Service81;
|
|
72
|
-
const jobs = yield*
|
|
72
|
+
const jobs = yield* Service46;
|
|
73
73
|
const db = (yield* Service82).db;
|
|
74
74
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
75
75
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -82,14 +82,14 @@ var layer15 = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
82
82
|
const session = yield* store.get(sessionID);
|
|
83
83
|
if (!session)
|
|
84
84
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
85
|
-
const result = yield*
|
|
85
|
+
const result = yield* Service42.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
86
86
|
return yield* DrainResult2.$match(result, {
|
|
87
87
|
Complete: () => Effect.void,
|
|
88
88
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable),
|
|
89
89
|
Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
|
|
90
90
|
});
|
|
91
91
|
});
|
|
92
|
-
const coordinator = yield*
|
|
92
|
+
const coordinator = yield* make15({
|
|
93
93
|
started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
|
|
94
94
|
drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
|
|
95
95
|
settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
|
|
@@ -110,7 +110,7 @@ var layer15 = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
110
110
|
}, releaseOnCommit(sessionID));
|
|
111
111
|
}))
|
|
112
112
|
});
|
|
113
|
-
return
|
|
113
|
+
return Service41.of({
|
|
114
114
|
active: coordinator.active,
|
|
115
115
|
isActive: coordinator.isActive,
|
|
116
116
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -129,12 +129,12 @@ var layer15 = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
129
129
|
awaitIdle: coordinator.awaitIdle
|
|
130
130
|
});
|
|
131
131
|
}));
|
|
132
|
-
var
|
|
133
|
-
service:
|
|
134
|
-
layer:
|
|
135
|
-
deps: [
|
|
132
|
+
var node44 = makeGlobalNode({
|
|
133
|
+
service: Service41,
|
|
134
|
+
layer: layer17,
|
|
135
|
+
deps: [node59, node47, node85, node86, node48]
|
|
136
136
|
});
|
|
137
|
-
var
|
|
137
|
+
var noopLayer3 = Layer.succeed(Service41, Service41.of({
|
|
138
138
|
active: Effect.succeed(new Set),
|
|
139
139
|
isActive: () => Effect.succeed(false),
|
|
140
140
|
resume: () => Effect.void,
|
|
@@ -143,4 +143,4 @@ var noopLayer2 = Layer.succeed(Service35, Service35.of({
|
|
|
143
143
|
awaitIdle: () => Effect.void
|
|
144
144
|
}));
|
|
145
145
|
|
|
146
|
-
export {
|
|
146
|
+
export { Service41, terminal2, layer17, node44, noopLayer3, exports_execution };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service42,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service42 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service42, exports_runner };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service78
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-phttym0s.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service40
|
|
9
|
+
} from "./app-9f9pqsn7.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service9
|
|
12
|
+
} from "./app-0b88r0h9.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./app-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service10
|
|
27
|
+
} from "./app-ssfx8w0w.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./app-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input10,
|
|
36
|
+
Plugin: () => Plugin28,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name10,
|
|
39
|
+
toModelContent: () => toModelContent5
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name10 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input10 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin28 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service10;
|
|
62
|
+
const access = yield* Service40;
|
|
63
|
+
const sessionInstructions = yield* Service9;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
65
|
const location = yield* Service78;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name10,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input10,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -112,7 +112,7 @@ var Plugin12 = {
|
|
|
112
112
|
return { output: result.content, path: result.path };
|
|
113
113
|
}).pipe(Effect.map((result) => ({
|
|
114
114
|
output: result.output,
|
|
115
|
-
content:
|
|
115
|
+
content: toModelContent5(result.path, input.offset, result.output),
|
|
116
116
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
117
117
|
})), Effect.mapError((error) => {
|
|
118
118
|
if (error instanceof ToolFailure)
|
|
@@ -144,7 +144,7 @@ ${suggestions.join(`
|
|
|
144
144
|
});
|
|
145
145
|
})
|
|
146
146
|
};
|
|
147
|
-
var
|
|
147
|
+
var toModelContent5 = (path, offset, output) => {
|
|
148
148
|
if (output.type === "file" && output.encoding === "base64")
|
|
149
149
|
return [
|
|
150
150
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -180,4 +180,4 @@ var toModelContent6 = (path, offset, output) => {
|
|
|
180
180
|
`);
|
|
181
181
|
};
|
|
182
182
|
|
|
183
|
-
export {
|
|
183
|
+
export { name10, Input10, Plugin28, toModelContent5, exports_read };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-j27dhsgb.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service74
|
|
6
|
+
} from "./app-hv3115q5.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./app-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service32,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./app-9sh4wc5j.js";
|
|
17
17
|
import {
|
|
18
18
|
make11,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./app-7nevcv2j.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./app-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
28
28
|
__export(exports_plugin2, {
|
|
29
|
-
Event: () =>
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
29
|
+
Event: () => Event3,
|
|
30
|
+
ID: () => ID2,
|
|
31
|
+
Info: () => Info2,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service32,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node18
|
|
38
38
|
});
|
|
39
|
-
import { Event as
|
|
39
|
+
import { Event as Event3, ID as ID2, Info as Info2, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
43
|
+
var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
44
44
|
const bus = yield* Service81;
|
|
45
|
-
const kv = yield*
|
|
45
|
+
const kv = yield* Service74;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
47
47
|
const active = new Map;
|
|
48
48
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service32.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -222,10 +222,10 @@ function slotInfo(slot) {
|
|
|
222
222
|
features: { server: true, ...slot.plugin.features }
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
var
|
|
226
|
-
service:
|
|
225
|
+
var node18 = Node.makeLocationNode({
|
|
226
|
+
service: Service32,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export {
|
|
231
|
+
export { node18, exports_plugin2, Event3, ID2, Info2, Source2, State2 };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./app-3w5fmr99.js";
|
|
5
5
|
import {
|
|
6
6
|
extension2,
|
|
7
7
|
display2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./app-m3fdjcah.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./app-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/codemode/tool.ts
|
|
14
14
|
var exports_tool2 = {};
|
|
@@ -1,98 +1,98 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./app-h35nstb6.js";
|
|
5
5
|
import {
|
|
6
6
|
Service81,
|
|
7
7
|
node85
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./app-j27dhsgb.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionMessage2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./app-gftt206x.js";
|
|
12
12
|
import {
|
|
13
13
|
StepFailedError2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./app-f38mbwqt.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionEvent2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./app-ec1grn59.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionMessageTable2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./app-a1bz86dw.js";
|
|
21
21
|
import {
|
|
22
22
|
prepare4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./app-bajakh74.js";
|
|
24
24
|
import {
|
|
25
25
|
provenance2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./app-csf2jhsg.js";
|
|
27
27
|
import {
|
|
28
28
|
decodeMessageRow2,
|
|
29
29
|
preview2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./app-eqfn4xbt.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service57,
|
|
33
|
+
node59
|
|
34
|
+
} from "./app-rvdbz7jp.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
36
|
+
Service18,
|
|
37
|
+
node21
|
|
38
|
+
} from "./app-2331zxhe.js";
|
|
39
39
|
import {
|
|
40
40
|
llmClient2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./app-5t3nmthw.js";
|
|
42
42
|
import {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
43
|
+
Service28,
|
|
44
|
+
node32
|
|
45
|
+
} from "./app-r9bhfmrk.js";
|
|
46
46
|
import {
|
|
47
47
|
baseTranscript2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./app-knwmqf4w.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
make4
|
|
51
|
+
} from "./app-9merv84y.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
} from "./
|
|
53
|
+
Service8,
|
|
54
|
+
node10
|
|
55
|
+
} from "./app-zkkvfm1v.js";
|
|
56
56
|
import {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
} from "./
|
|
57
|
+
Service22,
|
|
58
|
+
node25
|
|
59
|
+
} from "./app-9z29ty1c.js";
|
|
60
60
|
import {
|
|
61
61
|
serialized2,
|
|
62
62
|
nextPromotable2,
|
|
63
63
|
promote2
|
|
64
|
-
} from "./
|
|
64
|
+
} from "./app-bxx2fbms.js";
|
|
65
65
|
import {
|
|
66
66
|
Service2,
|
|
67
67
|
isUntitled2,
|
|
68
68
|
node3
|
|
69
|
-
} from "./
|
|
69
|
+
} from "./app-th8dzebb.js";
|
|
70
70
|
import {
|
|
71
71
|
DrainResult2,
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
72
|
+
Service42
|
|
73
|
+
} from "./app-jvf3yq6v.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
} from "./
|
|
75
|
+
node42
|
|
76
|
+
} from "./app-4sqx4g1d.js";
|
|
77
77
|
import {
|
|
78
78
|
node87
|
|
79
|
-
} from "./
|
|
79
|
+
} from "./app-s12geb02.js";
|
|
80
80
|
import {
|
|
81
81
|
Outcome2,
|
|
82
82
|
make3
|
|
83
|
-
} from "./
|
|
83
|
+
} from "./app-q7e4c841.js";
|
|
84
84
|
import {
|
|
85
|
-
|
|
86
|
-
} from "./
|
|
85
|
+
Service32
|
|
86
|
+
} from "./app-9sh4wc5j.js";
|
|
87
87
|
import {
|
|
88
|
-
|
|
89
|
-
} from "./
|
|
88
|
+
node18
|
|
89
|
+
} from "./app-k1j9bv8z.js";
|
|
90
90
|
import {
|
|
91
91
|
MAX_STEPS_PROMPT2
|
|
92
|
-
} from "./
|
|
92
|
+
} from "./app-y44na4kk.js";
|
|
93
93
|
import {
|
|
94
94
|
__export
|
|
95
|
-
} from "./
|
|
95
|
+
} from "./app-9rqn6x4v.js";
|
|
96
96
|
|
|
97
97
|
// src/session/runner/llm.ts
|
|
98
98
|
var exports_llm = {};
|
|
@@ -105,15 +105,15 @@ import { and, desc, eq, sql } from "drizzle-orm";
|
|
|
105
105
|
import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
|
|
106
106
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
107
107
|
var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
|
|
108
|
-
var layer = Layer.effect(
|
|
108
|
+
var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
109
109
|
const bus = yield* Service81;
|
|
110
|
-
const lifecycle = yield*
|
|
111
|
-
const store = yield*
|
|
112
|
-
const context = yield*
|
|
113
|
-
const modelTransport = yield*
|
|
110
|
+
const lifecycle = yield* Service18;
|
|
111
|
+
const store = yield* Service57;
|
|
112
|
+
const context = yield* Service22;
|
|
113
|
+
const modelTransport = yield* Service28;
|
|
114
114
|
const db = (yield* Service82).db;
|
|
115
|
-
const compaction = yield*
|
|
116
|
-
const plugins = yield*
|
|
115
|
+
const compaction = yield* Service8;
|
|
116
|
+
const plugins = yield* Service32;
|
|
117
117
|
const title = yield* Service2;
|
|
118
118
|
const steps = yield* make3;
|
|
119
119
|
const titles = yield* FiberMap.make();
|
|
@@ -240,7 +240,7 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
240
240
|
const runStep = Effect.fn("SessionRunner.runStep")(function* (first, step) {
|
|
241
241
|
const sessionID = first.session.id;
|
|
242
242
|
let assistantMessageID = SessionMessage2.ID.create();
|
|
243
|
-
const retry = yield*
|
|
243
|
+
const retry = yield* make4(bus, sessionID);
|
|
244
244
|
let initial = first;
|
|
245
245
|
let recoverOverflow = true;
|
|
246
246
|
let recoverContinuation = true;
|
|
@@ -361,22 +361,22 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
361
361
|
}
|
|
362
362
|
}
|
|
363
363
|
});
|
|
364
|
-
return
|
|
364
|
+
return Service42.of({ drain });
|
|
365
365
|
}));
|
|
366
366
|
var node2 = makeLocationNode({
|
|
367
|
-
service:
|
|
367
|
+
service: Service42,
|
|
368
368
|
layer,
|
|
369
369
|
deps: [
|
|
370
370
|
node85,
|
|
371
|
-
node63,
|
|
372
|
-
llmClient2,
|
|
373
|
-
node24,
|
|
374
|
-
node35,
|
|
375
|
-
node67,
|
|
376
|
-
node12,
|
|
377
371
|
node21,
|
|
372
|
+
llmClient2,
|
|
373
|
+
node25,
|
|
374
|
+
node32,
|
|
375
|
+
node59,
|
|
376
|
+
node10,
|
|
377
|
+
node18,
|
|
378
378
|
node3,
|
|
379
|
-
|
|
379
|
+
node42,
|
|
380
380
|
node87,
|
|
381
381
|
node86
|
|
382
382
|
]
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
render3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-drwq78ky.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/optimize.ts
|
|
9
9
|
var exports_optimize = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_optimize, {
|
|
|
13
13
|
ArceePlugin: () => ArceePlugin2,
|
|
14
14
|
KimiPlugin: () => KimiPlugin2,
|
|
15
15
|
MetaPlugin: () => MetaPlugin2,
|
|
16
|
-
OpenAIPlugin: () =>
|
|
16
|
+
OpenAIPlugin: () => OpenAIPlugin3,
|
|
17
17
|
OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
|
|
18
18
|
OptimizePlugin: () => exports_optimize,
|
|
19
19
|
Plugins: () => Plugins2
|
|
@@ -374,7 +374,7 @@ By default, match the surrounding comment density: where the code has none, add
|
|
|
374
374
|
`;
|
|
375
375
|
|
|
376
376
|
// src/plugin/optimize.ts
|
|
377
|
-
var
|
|
377
|
+
var OpenAIPlugin3 = make("opencode.prompt.openai", (model) => {
|
|
378
378
|
const id = model.id.toLowerCase();
|
|
379
379
|
if (!id.includes("gpt"))
|
|
380
380
|
return;
|
|
@@ -409,7 +409,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
|
|
|
409
409
|
return;
|
|
410
410
|
return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
|
|
411
411
|
});
|
|
412
|
-
var Plugins2 = [
|
|
412
|
+
var Plugins2 = [OpenAIPlugin3, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
|
|
413
413
|
function make(id, optimize, mode = "override") {
|
|
414
414
|
return define({
|
|
415
415
|
id,
|
|
@@ -437,4 +437,4 @@ ${rendered}` : rendered;
|
|
|
437
437
|
});
|
|
438
438
|
}
|
|
439
439
|
|
|
440
|
-
export {
|
|
440
|
+
export { OpenAIPlugin3, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
|