@opencode/core 0.0.0-dev-19926 → 0.0.0-dev-19928
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 +82 -82
- 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/{model-resolver-fb8c08xg.js → generate-02rzwqf2.js} +11 -11
- package/dist/chunks/{model-resolver-08xem6p0.js → generate-08n1bwxs.js} +26 -26
- package/dist/chunks/{model-resolver-kfwxpy88.js → generate-0b3cvpyc.js} +6 -6
- package/dist/chunks/{model-resolver-pd658761.js → generate-0djzmssq.js} +15 -15
- package/dist/chunks/{model-resolver-0paq2nw3.js → generate-0paq2nw3.js} +1 -1
- package/dist/chunks/{model-resolver-0q0f95c6.js → generate-0q0f95c6.js} +1 -1
- package/dist/chunks/{model-resolver-jb9v1mz9.js → generate-12st523p.js} +7 -7
- package/dist/chunks/{model-resolver-4c8bw516.js → generate-15nepkqg.js} +8 -8
- package/dist/chunks/{model-resolver-78vf6w8w.js → generate-17k7e265.js} +12 -12
- package/dist/chunks/{model-resolver-vsaptvsj.js → generate-17z5qab9.js} +79 -79
- package/dist/chunks/{model-resolver-v17m4zdb.js → generate-1979c0g3.js} +2 -2
- package/dist/chunks/{model-resolver-1dazxqgg.js → generate-1dazxqgg.js} +2 -2
- package/dist/chunks/{model-resolver-vang5ec1.js → generate-1kgsqxqk.js} +30 -30
- package/dist/chunks/{model-resolver-40j503mv.js → generate-1knd450p.js} +15 -15
- package/dist/chunks/{model-resolver-5hgsj32b.js → generate-1n8x84jk.js} +25 -25
- package/dist/chunks/{model-resolver-vkyakgxh.js → generate-1nz402vm.js} +20 -20
- package/dist/chunks/{model-resolver-wdt6zdam.js → generate-1qxy8npy.js} +3 -3
- package/dist/chunks/{model-resolver-7ycmm9h1.js → generate-1s0c7e1x.js} +43 -43
- package/dist/chunks/generate-1vjp0nt5.js +26 -0
- package/dist/chunks/generate-1x11rq2a.js +18 -0
- package/dist/chunks/{model-resolver-1ygqh575.js → generate-1ygqh575.js} +2 -2
- package/dist/chunks/{model-resolver-21r38tys.js → generate-21r38tys.js} +1 -1
- package/dist/chunks/{model-resolver-2402vzrj.js → generate-2402vzrj.js} +1 -1
- package/dist/chunks/{model-resolver-k9nbr7aq.js → generate-29f4vwe7.js} +12 -12
- package/dist/chunks/{model-resolver-z63w68vq.js → generate-29x78va6.js} +6 -6
- package/dist/chunks/{model-resolver-2a5m3afh.js → generate-2a5m3afh.js} +1 -1
- package/dist/chunks/{model-resolver-yk80ejdm.js → generate-2b9qhknk.js} +5 -5
- package/dist/chunks/{model-resolver-6ns2tdmk.js → generate-2c8axg0p.js} +11 -11
- package/dist/chunks/{model-resolver-76wx763q.js → generate-2j0xwkgq.js} +24 -24
- package/dist/chunks/{model-resolver-tp5arsk6.js → generate-2mmvmxaa.js} +11 -11
- package/dist/chunks/{model-resolver-hrmdcqyf.js → generate-2re9my94.js} +9 -9
- package/dist/chunks/{model-resolver-2zdq6f6p.js → generate-2x9qwzry.js} +41 -41
- package/dist/chunks/{model-resolver-bajakh74.js → generate-34z8bdtq.js} +4 -4
- package/dist/chunks/{model-resolver-a1rqsmym.js → generate-35ghwfgj.js} +8 -8
- package/dist/chunks/{model-resolver-3fc6dm20.js → generate-3fc6dm20.js} +1 -1
- package/dist/chunks/{model-resolver-3hepkmqq.js → generate-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-bdsby7g0.js → generate-3n26wstr.js} +7 -7
- package/dist/chunks/{model-resolver-3smtnn6g.js → generate-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-resolver-3tvqynh2.js → generate-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-resolver-hdth81r5.js → generate-3vpjtrxk.js} +3 -3
- package/dist/chunks/{model-resolver-24gamcb6.js → generate-4310vdb4.js} +9 -9
- package/dist/chunks/{model-resolver-44y902bk.js → generate-49q65w6d.js} +17 -17
- package/dist/chunks/{model-resolver-qnscm38h.js → generate-4m7rhrzk.js} +4 -4
- package/dist/chunks/{model-resolver-knvwt6j5.js → generate-4z1dv4tz.js} +20 -20
- package/dist/chunks/{model-resolver-6fc9ab0p.js → generate-50b9th6r.js} +18 -18
- package/dist/chunks/{model-resolver-hg1baqdt.js → generate-52cc6hz4.js} +9 -9
- package/dist/chunks/{model-resolver-57ez7d0k.js → generate-57ez7d0k.js} +2 -2
- package/dist/chunks/{model-resolver-s3fz7j7v.js → generate-5bgrpqnq.js} +28 -28
- package/dist/chunks/{model-resolver-a1bz86dw.js → generate-5c4hm403.js} +3 -3
- package/dist/chunks/{model-resolver-5daktx2q.js → generate-5daktx2q.js} +1 -1
- package/dist/chunks/{model-resolver-7skx4erk.js → generate-5nrdpb71.js} +11 -11
- package/dist/chunks/{model-resolver-7q57kfqx.js → generate-5sh8j88p.js} +16 -16
- package/dist/chunks/{model-resolver-xn4mwr17.js → generate-5sj14crw.js} +15 -15
- package/dist/chunks/{model-resolver-5t3nmthw.js → generate-5t3nmthw.js} +2 -2
- package/dist/chunks/{model-resolver-abfxp5rq.js → generate-60y7pn7x.js} +5 -5
- package/dist/chunks/{model-resolver-5st1adr6.js → generate-652pvwrv.js} +10 -10
- package/dist/chunks/{model-resolver-669tq793.js → generate-669tq793.js} +1 -1
- package/dist/chunks/{model-resolver-ex5q91jn.js → generate-67fym8mz.js} +13 -13
- package/dist/chunks/{model-resolver-w4t2hm04.js → generate-6970jmxf.js} +18 -18
- package/dist/chunks/{model-resolver-0y2gte3n.js → generate-69zg2gja.js} +47 -47
- package/dist/chunks/{model-resolver-zm94pjk4.js → generate-6ad5a7cc.js} +1 -1
- package/dist/chunks/{model-resolver-6jqp9cwx.js → generate-6agjyrrr.js} +11 -11
- package/dist/chunks/{model-resolver-jmggaf18.js → generate-6cptqdtp.js} +9 -9
- package/dist/chunks/{model-resolver-64q9w75g.js → generate-6g4xk5ct.js} +32 -32
- package/dist/chunks/{model-resolver-6msgmcgs.js → generate-6msgmcgs.js} +1 -1
- package/dist/chunks/{model-resolver-xr83eezp.js → generate-6nph9wxp.js} +15 -15
- package/dist/chunks/{model-resolver-msq0jde0.js → generate-6p3xbzsx.js} +4 -4
- package/dist/chunks/{model-resolver-gmah3she.js → generate-6v8ra5s2.js} +22 -22
- package/dist/chunks/{model-resolver-wapgj76k.js → generate-6y7qr3ne.js} +2 -2
- package/dist/chunks/{model-resolver-ks46mppt.js → generate-6yprahxd.js} +24 -24
- package/dist/chunks/{model-resolver-wpm2rk0p.js → generate-708yg38f.js} +8 -8
- package/dist/chunks/{model-resolver-ratrq7cm.js → generate-73gmm198.js} +4 -4
- package/dist/chunks/{model-resolver-5f90fjb2.js → generate-74rrnwt7.js} +5 -5
- package/dist/chunks/{model-resolver-qph6aq08.js → generate-788ne9mn.js} +292 -292
- package/dist/chunks/{model-resolver-9gmmm9sx.js → generate-78kn9psm.js} +17 -17
- package/dist/chunks/{model-resolver-7bmhse3q.js → generate-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-00b2qmzp.js → generate-7bsw6jb9.js} +16 -16
- package/dist/chunks/{model-resolver-k0ybnwrn.js → generate-7fn8enjq.js} +21 -21
- package/dist/chunks/{model-resolver-a626cka7.js → generate-7kfq0bws.js} +26 -26
- package/dist/chunks/{model-resolver-4ht7zjzd.js → generate-7m46d0cp.js} +12 -12
- package/dist/chunks/{model-resolver-0qk498bf.js → generate-7n92h9ae.js} +5 -5
- package/dist/chunks/{model-resolver-nv6sgpkb.js → generate-834a0b17.js} +9 -9
- package/dist/chunks/{model-resolver-r9xy17z8.js → generate-84png0yc.js} +10 -10
- package/dist/chunks/{model-resolver-rk04762b.js → generate-88v3zjmk.js} +4 -4
- package/dist/chunks/{model-resolver-8d7r5vzw.js → generate-8d7r5vzw.js} +1 -1
- package/dist/chunks/{model-resolver-mr0fddg5.js → generate-8mcdqw3q.js} +7 -7
- package/dist/chunks/{model-resolver-bfsh06ya.js → generate-8r79x31a.js} +3 -3
- package/dist/chunks/{model-resolver-wym541qg.js → generate-92dp6wm6.js} +5 -5
- package/dist/chunks/generate-949fbdqq.js +252 -0
- package/dist/chunks/{model-resolver-63fadg39.js → generate-9588h3n1.js} +12 -12
- package/dist/chunks/{model-resolver-afs9jfss.js → generate-96gqrx7w.js} +23 -23
- package/dist/chunks/{model-resolver-gg02cd9y.js → generate-9avarjh4.js} +4 -4
- package/dist/chunks/{model-resolver-3vzygexc.js → generate-9c6p0cbw.js} +5 -5
- package/dist/chunks/{model-resolver-p37cw4rj.js → generate-9hn6k4tm.js} +8 -8
- package/dist/chunks/{model-resolver-3znywzy1.js → generate-9jp7t3k6.js} +3 -3
- package/dist/chunks/{model-resolver-pca8yecj.js → generate-9kp8pnw9.js} +9 -9
- package/dist/chunks/{model-resolver-az8jh5px.js → generate-9wdxvxcx.js} +10 -10
- package/dist/chunks/{model-resolver-ffq37epr.js → generate-9wp9hbbv.js} +11 -11
- package/dist/chunks/{model-resolver-aaet6srn.js → generate-aaet6srn.js} +2 -2
- package/dist/chunks/{model-resolver-k022gtx1.js → generate-afyt8s0d.js} +11 -11
- package/dist/chunks/{model-resolver-fxmgg4aj.js → generate-ajvrh1yc.js} +4 -4
- package/dist/chunks/{model-resolver-0sfx6ryg.js → generate-ak7jg0qj.js} +18 -18
- package/dist/chunks/{model-resolver-3k59eqae.js → generate-ar6h1w8d.js} +16 -16
- package/dist/chunks/{model-resolver-qa5kg56q.js → generate-aw5fwsf1.js} +8 -8
- package/dist/chunks/{model-resolver-qkrdvrz2.js → generate-axfff6jb.js} +6 -6
- package/dist/chunks/{model-resolver-eqqrsm1t.js → generate-b18zasay.js} +24 -24
- package/dist/chunks/{model-resolver-b6gygkdw.js → generate-b6gygkdw.js} +2 -2
- package/dist/chunks/{model-resolver-gjssp7pf.js → generate-bchwhfzs.js} +13 -13
- package/dist/chunks/{model-resolver-fg8jec26.js → generate-bcmxkm63.js} +20 -20
- package/dist/chunks/{model-resolver-vncycja5.js → generate-bf0ztrs3.js} +4 -4
- package/dist/chunks/{model-resolver-ev6hqs1q.js → generate-bgc7662s.js} +9 -9
- package/dist/chunks/{model-resolver-mfwxq1fh.js → generate-btv7656b.js} +5 -5
- package/dist/chunks/{model-resolver-af39q8s5.js → generate-bxd68sh6.js} +11 -11
- package/dist/chunks/{model-resolver-rk343djc.js → generate-c2g3wzfp.js} +33 -33
- package/dist/chunks/{model-resolver-ct38679x.js → generate-c67y0jfd.js} +23 -23
- package/dist/chunks/{model-resolver-7v0tkhvj.js → generate-c9bb4jjz.js} +165 -165
- package/dist/chunks/{model-resolver-xrfewb9d.js → generate-caxab8mx.js} +11 -11
- package/dist/chunks/{model-resolver-eqkxs06z.js → generate-ccfa4wxs.js} +5 -5
- package/dist/chunks/{model-resolver-vfawz6dj.js → generate-cnm1btwq.js} +17 -17
- package/dist/chunks/{model-resolver-sb9fep2d.js → generate-cr5b1kcj.js} +8 -8
- package/dist/chunks/{model-resolver-1bdsymve.js → generate-d0sda21w.js} +6 -6
- package/dist/chunks/{model-resolver-075k3c2t.js → generate-d11edp8t.js} +22 -22
- package/dist/chunks/{model-resolver-8p4f9s12.js → generate-dj2t23y0.js} +2 -2
- package/dist/chunks/{model-resolver-s4d32hds.js → generate-dphvwjzd.js} +11 -11
- package/dist/chunks/{model-resolver-y71avatq.js → generate-dpkg50ah.js} +4 -4
- package/dist/chunks/{model-resolver-xfkkasph.js → generate-drwq78ky.js} +4 -4
- package/dist/chunks/{model-resolver-arrrx05s.js → generate-dt25xn4z.js} +33 -33
- package/dist/chunks/{model-resolver-a8m4vrfw.js → generate-dx0f7ver.js} +18 -18
- package/dist/chunks/{model-resolver-9yyb952e.js → generate-dzcb1sne.js} +11 -11
- package/dist/chunks/{model-resolver-p9ejrfws.js → generate-dzyqfwqf.js} +16 -16
- package/dist/chunks/{model-resolver-5qd3pb7m.js → generate-e3qxr5gk.js} +2 -2
- package/dist/chunks/{model-resolver-ph842b28.js → generate-eahhehpg.js} +4 -4
- package/dist/chunks/{model-resolver-ef5x83kb.js → generate-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-resolver-hnbn0m2z.js → generate-egrkgs8q.js} +21 -21
- package/dist/chunks/{model-resolver-erw5rpbs.js → generate-erw5rpbs.js} +2 -2
- package/dist/chunks/{model-resolver-etq0c3wd.js → generate-etq0c3wd.js} +1 -1
- package/dist/chunks/{model-resolver-9gccg1eh.js → generate-ezsrcjtm.js} +11 -11
- package/dist/chunks/{model-resolver-6d2paczb.js → generate-f0q7wva8.js} +11 -11
- package/dist/chunks/{model-resolver-1fw2a5v8.js → generate-f2ehs87a.js} +22 -22
- package/dist/chunks/{model-resolver-rqrnf5mw.js → generate-f2vy8wd0.js} +42 -42
- package/dist/chunks/{model-resolver-ka5h1wrp.js → generate-f6mwz6ae.js} +3 -3
- package/dist/chunks/{model-resolver-2k8khapm.js → generate-fcrkznn8.js} +5 -5
- package/dist/chunks/{model-resolver-fkp0gvex.js → generate-fny86xce.js} +15 -15
- package/dist/chunks/{model-resolver-w1hqwkkp.js → generate-frkbx2gh.js} +42 -42
- package/dist/chunks/{model-resolver-ev1yg4x7.js → generate-fwwrfcv4.js} +20 -20
- package/dist/chunks/{model-resolver-fxbjtjnd.js → generate-fxbjtjnd.js} +1 -1
- package/dist/chunks/{model-resolver-m8xgmas4.js → generate-g1dme5yb.js} +11 -11
- package/dist/chunks/{model-resolver-wqc6684y.js → generate-g2yz86wh.js} +2 -2
- package/dist/chunks/{model-resolver-v2k8yzhz.js → generate-g904xrc0.js} +23 -23
- package/dist/chunks/{model-resolver-398p6kdy.js → generate-gafwvkft.js} +4 -4
- package/dist/chunks/{model-resolver-xhw2e9cm.js → generate-gampfn72.js} +11 -11
- package/dist/chunks/{model-resolver-gd4qta3r.js → generate-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-resolver-3e1synqb.js → generate-gdek4pmw.js} +17 -17
- package/dist/chunks/{model-resolver-hz59w1dt.js → generate-gjdj0760.js} +6 -6
- package/dist/chunks/{model-resolver-z01c9x9z.js → generate-gmbmcgg0.js} +13 -13
- package/dist/chunks/{model-resolver-xsk2k8qr.js → generate-grfkgt6x.js} +9 -9
- package/dist/chunks/{model-resolver-gv6a8nnw.js → generate-gv6a8nnw.js} +2 -2
- package/dist/chunks/{model-resolver-3x7xgm7m.js → generate-h0chh9mh.js} +26 -26
- package/dist/chunks/{model-resolver-dk518thc.js → generate-h4tm529t.js} +27 -27
- package/dist/chunks/{model-resolver-4dgbcxzg.js → generate-h6r3nrb9.js} +4 -4
- package/dist/chunks/{model-resolver-h6vf3j39.js → generate-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-resolver-f828m53h.js → generate-hdnk95c8.js} +2 -2
- package/dist/chunks/{model-resolver-vyskdrqb.js → generate-hph9a1wy.js} +1 -1
- package/dist/chunks/{model-resolver-wjr7xgfm.js → generate-hqwgtjdf.js} +11 -11
- package/dist/chunks/{model-resolver-g8dj7pp1.js → generate-j10h1wdt.js} +24 -24
- package/dist/chunks/{model-resolver-dhqy0ykh.js → generate-j1gmcxjp.js} +44 -44
- package/dist/chunks/{model-resolver-j56e64zr.js → generate-j56e64zr.js} +1 -1
- package/dist/chunks/{model-resolver-pstg3rfm.js → generate-j5786zrt.js} +1 -1
- package/dist/chunks/{model-resolver-wwajdw47.js → generate-j9hz3vad.js} +9 -9
- package/dist/chunks/{model-resolver-h68x73dv.js → generate-jb23qwp2.js} +3 -3
- package/dist/chunks/{model-resolver-e6hmchc5.js → generate-jv01nqvq.js} +5 -5
- package/dist/chunks/{model-resolver-08q9b52r.js → generate-jxaefcp2.js} +11 -11
- package/dist/chunks/{model-resolver-zrq8kphx.js → generate-k1gkpfdk.js} +8 -8
- package/dist/chunks/{model-resolver-k3c624dm.js → generate-k3c624dm.js} +3 -3
- package/dist/chunks/{model-resolver-pagmmz98.js → generate-ka9jgt4a.js} +25 -25
- package/dist/chunks/{model-resolver-c2h2ttee.js → generate-kbtsy04j.js} +23 -23
- package/dist/chunks/{model-resolver-mkjhxygp.js → generate-kczcp0fs.js} +30 -30
- package/dist/chunks/{model-resolver-8ympn3ah.js → generate-kd639zsd.js} +3 -3
- package/dist/chunks/{model-resolver-6fz3n079.js → generate-keg68jj3.js} +31 -31
- package/dist/chunks/{model-resolver-qg0jgkcp.js → generate-kfphszmj.js} +9 -9
- package/dist/chunks/{model-resolver-ag7nqrcy.js → generate-kkhe5v2n.js} +31 -31
- package/dist/chunks/{model-resolver-tytr0bkw.js → generate-kky6syvy.js} +7 -7
- package/dist/chunks/{model-resolver-pf2hb43r.js → generate-kmkwybff.js} +4 -4
- package/dist/chunks/{model-resolver-k9kj6xed.js → generate-knb7evpn.js} +6 -6
- package/dist/chunks/{model-resolver-zvk2hk11.js → generate-kq6rykfa.js} +32 -32
- package/dist/chunks/{model-resolver-cfpkc3c9.js → generate-m0jqrx5p.js} +2 -2
- package/dist/chunks/{model-resolver-m3fdjcah.js → generate-m3fdjcah.js} +1 -1
- package/dist/chunks/{model-resolver-h7ng5vdc.js → generate-m61kjpz8.js} +13 -13
- package/dist/chunks/{model-resolver-m9w0rfyh.js → generate-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-g1jvev6e.js → generate-mbx5xje1.js} +10 -10
- package/dist/chunks/{model-resolver-73tb2d7t.js → generate-mhkvc446.js} +3 -3
- package/dist/chunks/{model-resolver-ev4stjem.js → generate-mk4cbe95.js} +35 -35
- package/dist/chunks/{model-resolver-1x9sk52d.js → generate-mk9gh17g.js} +16 -16
- package/dist/chunks/{model-resolver-ztm7g6bb.js → generate-mkazsh4n.js} +25 -25
- package/dist/chunks/{model-resolver-s8zy8myc.js → generate-mtft99cd.js} +5 -5
- package/dist/chunks/{model-resolver-ye0xva7k.js → generate-nb5fc2he.js} +23 -23
- package/dist/chunks/{model-resolver-35mcxst1.js → generate-nn06v8gr.js} +3 -3
- package/dist/chunks/{model-resolver-m2h0hv26.js → generate-nwes2rk7.js} +7 -7
- package/dist/chunks/{model-resolver-tbz0fdvh.js → generate-p28j5sbe.js} +5 -5
- package/dist/chunks/{model-resolver-vx56fmvp.js → generate-p9by1qyw.js} +17 -17
- package/dist/chunks/{model-resolver-dffkmpde.js → generate-p9yczjkf.js} +68 -68
- package/dist/chunks/{model-resolver-tmjbks7b.js → generate-pfhkc59y.js} +17 -17
- package/dist/chunks/{model-resolver-br29rrqr.js → generate-pfp2se81.js} +10 -10
- package/dist/chunks/{model-resolver-pjvnvgmy.js → generate-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-resolver-pknna89w.js → generate-pknna89w.js} +1 -1
- package/dist/chunks/{model-resolver-g47qx744.js → generate-q3egvdqd.js} +8 -8
- package/dist/chunks/{model-resolver-jkp1s217.js → generate-q47m5e8w.js} +52 -52
- package/dist/chunks/{model-resolver-ckf8nxjz.js → generate-q5asdkn4.js} +4 -4
- package/dist/chunks/{model-resolver-xcxz94y0.js → generate-q98y5tty.js} +5 -5
- package/dist/chunks/{model-resolver-japqcg14.js → generate-qa2fqmf7.js} +2 -2
- package/dist/chunks/{model-resolver-a0kryv5z.js → generate-qa4v9jft.js} +5 -5
- package/dist/chunks/{model-resolver-f62qkzqr.js → generate-qdbakdjh.js} +5 -5
- package/dist/chunks/{model-resolver-dxea04xa.js → generate-qfja44bf.js} +4 -4
- package/dist/chunks/{model-resolver-0erbzs5f.js → generate-qm17akbq.js} +17 -17
- package/dist/chunks/{model-resolver-2sejkfem.js → generate-qmqgtz8f.js} +9 -9
- package/dist/chunks/{model-resolver-qsdy395h.js → generate-qsdy395h.js} +1 -1
- package/dist/chunks/{model-resolver-ef5hpeet.js → generate-r2kbaf83.js} +8 -8
- package/dist/chunks/{model-resolver-1acjjqhc.js → generate-r8xr0va3.js} +4 -4
- package/dist/chunks/{model-resolver-0jq9fyba.js → generate-r9w3djhf.js} +9 -9
- package/dist/chunks/{model-resolver-ze5v0a14.js → generate-rav9e4bf.js} +5 -5
- package/dist/chunks/{model-resolver-rdw6cm16.js → generate-rdw6cm16.js} +1 -1
- package/dist/chunks/{model-resolver-04k65yr5.js → generate-rg4s56dy.js} +11 -11
- package/dist/chunks/{model-resolver-gjxbhnbr.js → generate-rhnwdj6j.js} +16 -16
- package/dist/chunks/{model-resolver-qen4878t.js → generate-rnnxefam.js} +25 -25
- package/dist/chunks/{model-resolver-p0yw2kgq.js → generate-rsxnvcbs.js} +20 -20
- package/dist/chunks/{model-resolver-5b0afsa0.js → generate-rtf2d8r4.js} +5 -5
- package/dist/chunks/{model-resolver-q41erv8w.js → generate-s17mkaes.js} +21 -21
- package/dist/chunks/{model-resolver-yrznvahk.js → generate-s4enseaf.js} +2 -2
- package/dist/chunks/{model-resolver-79mwksnw.js → generate-s4fp5dz9.js} +4 -4
- package/dist/chunks/{model-resolver-t550f9t1.js → generate-s8d7rejh.js} +4 -4
- package/dist/chunks/{model-resolver-m4xr9n7x.js → generate-s8sz8x3h.js} +17 -17
- package/dist/chunks/{model-resolver-qfq680d4.js → generate-scpwghev.js} +13 -13
- package/dist/chunks/{model-resolver-zk8c4w5t.js → generate-sfkj0ta1.js} +5 -5
- package/dist/chunks/{model-resolver-4jv7e9dq.js → generate-sfty89x1.js} +4 -4
- package/dist/chunks/{model-resolver-pf1wkr1n.js → generate-shbb2w98.js} +11 -11
- package/dist/chunks/{model-resolver-16xkypz6.js → generate-sqpz9tdp.js} +23 -23
- package/dist/chunks/{model-resolver-sgzcj7pk.js → generate-stmqcs3c.js} +24 -24
- package/dist/chunks/{model-resolver-a5cdwkfx.js → generate-sxbv8nmb.js} +33 -33
- package/dist/chunks/{model-resolver-x7j5emw0.js → generate-szmyybnp.js} +7 -7
- package/dist/chunks/{model-resolver-8204yxav.js → generate-tayd22pr.js} +6 -6
- package/dist/chunks/{model-resolver-tazgh4e4.js → generate-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-resolver-tcezcvh9.js → generate-tcezcvh9.js} +1 -1
- package/dist/chunks/{model-resolver-tdstcens.js → generate-tdstcens.js} +1 -1
- package/dist/chunks/{model-resolver-twc0jmth.js → generate-tdvmaz96.js} +4 -4
- package/dist/chunks/{model-resolver-3cfzdc8e.js → generate-tn0aqsam.js} +5 -5
- package/dist/chunks/{model-resolver-v669qxf6.js → generate-tst1v2ep.js} +4 -4
- package/dist/chunks/{model-resolver-tvtrv512.js → generate-tvtrv512.js} +1 -1
- package/dist/chunks/{model-resolver-zk5xate0.js → generate-v46xynw3.js} +20 -20
- package/dist/chunks/{model-resolver-1zp38nzc.js → generate-v5wtqz8r.js} +44 -44
- package/dist/chunks/{model-resolver-veqvce7d.js → generate-veqvce7d.js} +1 -1
- package/dist/chunks/{model-resolver-r2ahnezy.js → generate-vwmfpdm0.js} +40 -40
- package/dist/chunks/{model-resolver-cvxf3tek.js → generate-vz58hpym.js} +26 -26
- package/dist/chunks/{model-resolver-vzcthcp8.js → generate-vzcthcp8.js} +1 -1
- package/dist/chunks/{model-resolver-w3wsvvr9.js → generate-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-w9qfmmnv.js → generate-w4qyy28q.js} +79 -79
- package/dist/chunks/{model-resolver-8e6ttvsq.js → generate-w5nkq4gn.js} +16 -16
- package/dist/chunks/{model-resolver-wd87259q.js → generate-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-7d2y95gb.js → generate-wj55daks.js} +8 -8
- package/dist/chunks/{model-resolver-dhbstf12.js → generate-wnc14pb6.js} +6 -6
- package/dist/chunks/{model-resolver-8s8mxddj.js → generate-x0511brf.js} +4 -4
- package/dist/chunks/{model-resolver-x1ezjp6w.js → generate-x1ezjp6w.js} +1 -1
- package/dist/chunks/{model-resolver-n4jsyspr.js → generate-x20jwhze.js} +24 -24
- package/dist/chunks/{model-resolver-1psxzgkr.js → generate-xbnbae7c.js} +15 -15
- package/dist/chunks/{model-resolver-f3ngv102.js → generate-xdk9p2qn.js} +21 -21
- package/dist/chunks/{model-resolver-k6yq57aq.js → generate-xkhfjrgz.js} +3 -3
- package/dist/chunks/{model-resolver-83m0n60z.js → generate-xxm1k3hc.js} +43 -43
- package/dist/chunks/{model-resolver-y1fvbwt7.js → generate-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-resolver-c4s6zvat.js → generate-y28gekph.js} +29 -29
- package/dist/chunks/{model-resolver-rjqfry4y.js → generate-yjcxzpp0.js} +24 -24
- package/dist/chunks/{model-resolver-zs2nqse7.js → generate-ymbygv4j.js} +8 -8
- package/dist/chunks/{model-resolver-kkb3bxcv.js → generate-yncwd9ka.js} +20 -20
- package/dist/chunks/{model-resolver-yrhqyw5v.js → generate-yrhqyw5v.js} +1 -1
- package/dist/chunks/{model-resolver-dpf05fgk.js → generate-ytqqef47.js} +13 -13
- package/dist/chunks/{model-resolver-rxwv643q.js → generate-yypw9zm6.js} +6 -6
- package/dist/chunks/{model-resolver-z0bkrqjs.js → generate-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-resolver-s9dxmr29.js → generate-zb6sf20w.js} +6 -6
- package/dist/chunks/{model-resolver-76jxy9rk.js → generate-zcvhjkmp.js} +24 -24
- package/dist/chunks/{model-resolver-zeh9ct20.js → generate-zeh9ct20.js} +2 -2
- package/dist/chunks/{model-resolver-zr2ceqn5.js → generate-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-resolver-aj39p006.js → generate-zsm3phbg.js} +11 -11
- package/dist/chunks/{model-resolver-fr9t8qj7.js → generate-zsq5ry13.js} +26 -26
- package/dist/chunks/{model-resolver-ss4zp5an.js → generate-zxb8w1dj.js} +5 -5
- package/dist/chunks/{model-resolver-zxq2ej10.js → generate-zxq2ej10.js} +1 -1
- 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 +122 -122
- package/dist/config/plugin/command.js +211 -211
- 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 +122 -122
- package/dist/config/plugin/mcp.js +129 -129
- 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 +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +141 -141
- 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 +121 -121
- 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 +78 -78
- 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 +363 -363
- 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 +224 -224
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +92 -92
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +93 -93
- package/dist/form.js +79 -79
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +104 -104
- 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 +6 -6
- package/dist/instance/service.js +3 -3
- package/dist/instance.js +357 -357
- package/dist/instruction-discovery.js +80 -80
- 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 +83 -83
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +129 -129
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +356 -356
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +101 -101
- 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 +97 -97
- package/dist/model.js +97 -97
- package/dist/models-dev.js +100 -100
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/compaction.js +130 -130
- 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 +330 -330
- 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 +119 -119
- 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 +69 -69
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- package/dist/plugin/tool-input-repair.js +4 -4
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +96 -96
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +90 -90
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- 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 +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +87 -87
- 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 +4 -4
- 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 +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +95 -95
- 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 +171 -171
- 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 +3 -3
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- 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 +15 -15
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +109 -109
- 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 +124 -124
- 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 +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- 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 +7 -7
- 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 +83 -83
- package/dist/wellknown/plugin.js +73 -73
- package/dist/wellknown.js +80 -80
- 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/model-resolver-7e8q9hkf.js +0 -26
- package/dist/chunks/model-resolver-9zdhvgqs.js +0 -18
- package/dist/chunks/model-resolver-kh9txynr.js +0 -252
- /package/dist/chunks/{model-resolver-0mesazry.js → generate-0mesazry.js} +0 -0
- /package/dist/chunks/{model-resolver-0qkdqm5v.js → generate-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → generate-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → generate-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → generate-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-1kg9ymc8.js → generate-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-resolver-24dcb14g.js → generate-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → generate-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2axfhc9x.js → generate-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → generate-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → generate-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3asan66x.js → generate-3asan66x.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → generate-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-3w5fmr99.js → generate-3w5fmr99.js} +0 -0
- /package/dist/chunks/{model-resolver-3wcehsnq.js → generate-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → generate-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → generate-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4vcrnpx2.js → generate-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-resolver-4y7fprxs.js → generate-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → generate-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-550bvhaj.js → generate-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → generate-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → generate-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → generate-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → generate-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → generate-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → generate-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-922hggd3.js → generate-922hggd3.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → generate-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → generate-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-a6k6eb26.js → generate-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-resolver-af5trqkr.js → generate-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-resolver-afrmfg78.js → generate-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → generate-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → generate-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → generate-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → generate-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → generate-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → generate-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → generate-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → generate-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-dajrwvna.js → generate-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-resolver-dap0rakb.js → generate-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → generate-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → generate-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → generate-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-e73j6tqm.js → generate-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-resolver-ec1grn59.js → generate-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-resolver-eh3zwz77.js → generate-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → generate-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → generate-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → generate-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → generate-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → generate-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-fxgpk5d8.js → generate-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{model-resolver-g4wezp1m.js → generate-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → generate-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → generate-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-gftt206x.js → generate-gftt206x.js} +0 -0
- /package/dist/chunks/{model-resolver-hjbc5kem.js → generate-hjbc5kem.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → generate-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → generate-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-j5zkgpj8.js → generate-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-resolver-jjkms2e6.js → generate-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → generate-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → generate-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → generate-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → generate-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → generate-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → generate-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → generate-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → generate-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → generate-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → generate-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qaymkmh1.js → generate-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → generate-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → generate-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qg3g05ea.js → generate-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → generate-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → generate-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → generate-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-sk3qaz4a.js → generate-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → generate-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-twg0f83k.js → generate-twg0f83k.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → generate-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wc3fc9cn.js → generate-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → generate-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → generate-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x0ckcb58.js → generate-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-resolver-x61499pn.js → generate-x61499pn.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → generate-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8cydn3q.js → generate-y8cydn3q.js} +0 -0
- /package/dist/chunks/{model-resolver-y8f7s663.js → generate-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → generate-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-ym463w8f.js → generate-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → generate-z9919s4g.js} +0 -0
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service60,
|
|
6
|
+
node64
|
|
7
|
+
} from "./generate-v5wtqz8r.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./generate-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Generate: () =>
|
|
13
|
+
var exports_generate2 = {};
|
|
14
|
+
__export(exports_generate2, {
|
|
15
|
+
Generate: () => exports_generate2,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
18
|
-
UnavailableError: () =>
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
17
|
+
Service: () => Service51,
|
|
18
|
+
UnavailableError: () => UnavailableError3,
|
|
19
|
+
layer: () => layer19,
|
|
20
|
+
node: () => node56
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -27,17 +27,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
|
|
|
27
27
|
}) {
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
31
31
|
message: Schema.String,
|
|
32
32
|
service: Schema.optional(Schema.String)
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service51 extends Context.Service()("@opencode/Generate") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
38
|
+
var layer19 = Layer.effect(Service51, Effect.gen(function* () {
|
|
39
39
|
const llm = yield* LLMClient.Service;
|
|
40
|
-
const resolver = yield*
|
|
40
|
+
const resolver = yield* Service60;
|
|
41
41
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
42
42
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
43
43
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -47,28 +47,28 @@ var layer10 = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
47
47
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
48
48
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
49
49
|
], (error) => {
|
|
50
|
-
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new
|
|
50
|
+
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: error.providerID });
|
|
51
51
|
return Effect.fail(mapped);
|
|
52
52
|
}));
|
|
53
53
|
if (!resolved)
|
|
54
54
|
return yield* new ModelSelectionError2({
|
|
55
55
|
message: input.model ? `Model unavailable: ${input.model.providerID}/${input.model.id}` : "No model specified and no supported model is available"
|
|
56
56
|
});
|
|
57
|
-
const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new
|
|
57
|
+
const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError3({
|
|
58
58
|
message: error.message,
|
|
59
59
|
service: resolved.ref.providerID
|
|
60
60
|
})));
|
|
61
61
|
return response.text;
|
|
62
62
|
});
|
|
63
|
-
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
63
|
+
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
|
|
64
64
|
message: "Generation credentials are unavailable"
|
|
65
65
|
})));
|
|
66
|
-
return
|
|
66
|
+
return Service51.of({ text });
|
|
67
67
|
}));
|
|
68
|
-
var
|
|
69
|
-
service:
|
|
70
|
-
layer:
|
|
71
|
-
deps: [
|
|
68
|
+
var node56 = makeLocationNode({
|
|
69
|
+
service: Service51,
|
|
70
|
+
layer: layer19,
|
|
71
|
+
deps: [node64, llmClient2]
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { ModelSelectionError2,
|
|
74
|
+
export { ModelSelectionError2, UnavailableError3, Service51, layer19, node56, exports_generate2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info22,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info22 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info22, exports_mcp5 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-qfja44bf.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./generate-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
Service79,
|
|
11
11
|
node83
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./generate-1979c0g3.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID13,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
Service74,
|
|
20
|
+
node78,
|
|
21
21
|
Event17
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./generate-g904xrc0.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./generate-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -32,15 +32,15 @@ __export(exports_model2, {
|
|
|
32
32
|
Cost: () => Cost2,
|
|
33
33
|
Event: () => Event16,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID12,
|
|
36
|
+
Info: () => Info26,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service73,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
|
-
node: () =>
|
|
43
|
+
node: () => node77,
|
|
44
44
|
parse: () => parse5
|
|
45
45
|
});
|
|
46
46
|
import { Model } from "@opencode/schema/model";
|
|
@@ -48,7 +48,7 @@ import { Context, Effect, Layer, Stream } from "effect";
|
|
|
48
48
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
49
49
|
import { freeze } from "immer";
|
|
50
50
|
import { Event as Event16 } from "@opencode/schema/model";
|
|
51
|
-
var
|
|
51
|
+
var ID12 = Model.ID;
|
|
52
52
|
var VariantID2 = Model.VariantID;
|
|
53
53
|
var Family2 = Model.Family;
|
|
54
54
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -56,12 +56,12 @@ var Compatibility2 = Model.Compatibility;
|
|
|
56
56
|
var Capabilities2 = Model.Capabilities;
|
|
57
57
|
var Cost2 = Model.Cost;
|
|
58
58
|
var Ref2 = Model.Ref;
|
|
59
|
-
var
|
|
59
|
+
var Info26 = Model.Info;
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service73 extends Context.Service()("@opencode/Model") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
64
|
-
const providers = yield*
|
|
63
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
64
|
+
const providers = yield* Service74;
|
|
65
65
|
const bus = yield* Service82;
|
|
66
66
|
const location = yield* Service79;
|
|
67
67
|
let input;
|
|
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
108
108
|
const models = writable(providerID);
|
|
109
109
|
if (!models)
|
|
110
110
|
return;
|
|
111
|
-
const model = draft(providerID, modelID) ??
|
|
111
|
+
const model = draft(providerID, modelID) ?? Info26.default(providerID, modelID);
|
|
112
112
|
update(model);
|
|
113
113
|
model.id = modelID;
|
|
114
114
|
model.providerID = providerID;
|
|
@@ -198,7 +198,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
198
198
|
});
|
|
199
199
|
});
|
|
200
200
|
yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
201
|
-
return
|
|
201
|
+
return Service73.of({
|
|
202
202
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
203
203
|
reload,
|
|
204
204
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -217,7 +217,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
217
217
|
})
|
|
218
218
|
});
|
|
219
219
|
}));
|
|
220
|
-
var
|
|
220
|
+
var node77 = makeLocationNode({ service: Service73, layer, deps: [node78, node86, node83] });
|
|
221
221
|
function compatibility2(input) {
|
|
222
222
|
if (typeof input === "string")
|
|
223
223
|
return { reasoningField: input };
|
|
@@ -228,9 +228,9 @@ function compatibility2(input) {
|
|
|
228
228
|
function parse5(input) {
|
|
229
229
|
const index = input.indexOf("/");
|
|
230
230
|
return {
|
|
231
|
-
providerID:
|
|
232
|
-
modelID:
|
|
231
|
+
providerID: ID13.make(index === -1 ? input : input.slice(0, index)),
|
|
232
|
+
modelID: ID12.make(index === -1 ? "" : input.slice(index + 1))
|
|
233
233
|
};
|
|
234
234
|
}
|
|
235
235
|
|
|
236
|
-
export {
|
|
236
|
+
export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info26, Service73, node77, compatibility2, parse5, exports_model2, Event16 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-69zg2gja.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-twg0f83k.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID12,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-nb5fc2he.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service69
|
|
7
|
+
} from "./generate-vwmfpdm0.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./generate-tayd22pr.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/lmstudio.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -36,7 +36,7 @@ function make4(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
36
36
|
id: "opencode.provider.lmstudio",
|
|
37
37
|
effect: Effect.fn(function* (ctx) {
|
|
38
38
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service69;
|
|
40
40
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
41
41
|
const loaded = { models: [], hash: "[]" };
|
|
42
42
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -63,7 +63,7 @@ function make4(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
63
63
|
});
|
|
64
64
|
for (const item of loaded.models) {
|
|
65
65
|
providers.models.update(providerID, item.key, (model) => {
|
|
66
|
-
model.modelID =
|
|
66
|
+
model.modelID = ID12.make(item.key);
|
|
67
67
|
model.name = item.display_name || item.key;
|
|
68
68
|
model.family = item.architecture ? Family2.make(item.architecture) : undefined;
|
|
69
69
|
model.capabilities = {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/message-updater.ts
|
|
9
9
|
var exports_message_updater = {};
|
|
10
10
|
__export(exports_message_updater, {
|
|
11
11
|
SessionMessageUpdater: () => exports_message_updater,
|
|
12
|
-
update: () =>
|
|
12
|
+
update: () => update2
|
|
13
13
|
});
|
|
14
14
|
import { castDraft, produce } from "immer";
|
|
15
15
|
import { DateTime, Effect, Match, pipe, Schema } from "effect";
|
|
@@ -21,7 +21,7 @@ var projectTerminalSnapshot = (draft, event) => {
|
|
|
21
21
|
files: event.data.files ? Array.from(event.data.files) : undefined
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
|
-
function
|
|
24
|
+
function update2(adapter, event) {
|
|
25
25
|
const created = DateTime.makeUnsafe(event.created);
|
|
26
26
|
const latestTool = (assistant, id) => assistant.content.findLast((item) => item.type === "tool" && item.id === id);
|
|
27
27
|
const latestText = (assistant) => assistant.content.findLast((item) => item.type === "text");
|
|
@@ -401,4 +401,4 @@ function update3(adapter, event) {
|
|
|
401
401
|
return project(event);
|
|
402
402
|
}
|
|
403
403
|
|
|
404
|
-
export {
|
|
404
|
+
export { update2, exports_message_updater };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-caxab8mx.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-qfja44bf.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event19,
|
|
10
|
+
Service76
|
|
11
|
+
} from "./generate-v46xynw3.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID14,
|
|
14
14
|
MethodID2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service75
|
|
16
|
+
} from "./generate-kbtsy04j.js";
|
|
17
17
|
import {
|
|
18
18
|
success2,
|
|
19
19
|
error2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./generate-pjvnvgmy.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID13
|
|
23
|
+
} from "./generate-g904xrc0.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./generate-tayd22pr.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/snowflake-cortex.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
30
30
|
import { Form } from "@opencode/schema/form";
|
|
31
31
|
import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
|
|
32
32
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
33
|
-
var providerID =
|
|
34
|
-
var integrationID =
|
|
33
|
+
var providerID = ID13.make("snowflake-cortex");
|
|
34
|
+
var integrationID = ID14.make(providerID);
|
|
35
35
|
var methodID = MethodID2.make("browser");
|
|
36
36
|
var clientID = "LOCAL_APPLICATION";
|
|
37
37
|
var accountForm = Form.Fields.make([
|
|
@@ -53,8 +53,8 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
53
53
|
id: "opencode.provider.snowflake.cortex",
|
|
54
54
|
effect: Effect.fn(function* (ctx) {
|
|
55
55
|
const http = yield* HttpClient.HttpClient;
|
|
56
|
-
const credentials = yield*
|
|
57
|
-
const integrations = yield*
|
|
56
|
+
const credentials = yield* Service76;
|
|
57
|
+
const integrations = yield* Service75;
|
|
58
58
|
const bus = yield* Service82;
|
|
59
59
|
const configured = yield* configuredSettings2(providerID);
|
|
60
60
|
const account = { value: "" };
|
|
@@ -184,7 +184,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
184
184
|
});
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
yield* bus.subscribe(
|
|
187
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
188
188
|
yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
|
|
189
189
|
const token = envToken();
|
|
190
190
|
if (token)
|
|
@@ -1,120 +1,120 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-kd639zsd.js";
|
|
5
5
|
import {
|
|
6
6
|
Service82,
|
|
7
7
|
node86
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./generate-qfja44bf.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionMessage2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./generate-gftt206x.js";
|
|
12
12
|
import {
|
|
13
13
|
StepFailedError2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./generate-834a0b17.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionEvent2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./generate-ec1grn59.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionMessageTable2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./generate-5c4hm403.js";
|
|
21
21
|
import {
|
|
22
22
|
prepare4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./generate-34z8bdtq.js";
|
|
24
24
|
import {
|
|
25
25
|
provenance2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./generate-6p3xbzsx.js";
|
|
27
27
|
import {
|
|
28
28
|
decodeMessageRow2,
|
|
29
29
|
preview2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./generate-ezsrcjtm.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service66,
|
|
33
|
+
node70
|
|
34
|
+
} from "./generate-mk9gh17g.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
36
|
+
Service62,
|
|
37
|
+
node66
|
|
38
|
+
} from "./generate-6yprahxd.js";
|
|
39
39
|
import {
|
|
40
40
|
llmClient2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./generate-5t3nmthw.js";
|
|
42
42
|
import {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
43
|
+
Service32,
|
|
44
|
+
node35
|
|
45
|
+
} from "./generate-rg4s56dy.js";
|
|
46
46
|
import {
|
|
47
47
|
baseTranscript2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./generate-6g4xk5ct.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
make8
|
|
51
|
+
} from "./generate-wnc14pb6.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
} from "./
|
|
53
|
+
Service10,
|
|
54
|
+
node12
|
|
55
|
+
} from "./generate-h0chh9mh.js";
|
|
56
56
|
import {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
} from "./
|
|
57
|
+
Service23,
|
|
58
|
+
node27
|
|
59
|
+
} from "./generate-w4qyy28q.js";
|
|
60
60
|
import {
|
|
61
61
|
serialized2,
|
|
62
62
|
nextPromotable2,
|
|
63
63
|
promote2
|
|
64
|
-
} from "./
|
|
64
|
+
} from "./generate-c67y0jfd.js";
|
|
65
65
|
import {
|
|
66
|
-
|
|
66
|
+
Service5,
|
|
67
67
|
isUntitled2,
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
68
|
+
node7
|
|
69
|
+
} from "./generate-zcvhjkmp.js";
|
|
70
70
|
import {
|
|
71
71
|
DrainResult2,
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
72
|
+
Service54
|
|
73
|
+
} from "./generate-q5asdkn4.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
} from "./
|
|
75
|
+
node38
|
|
76
|
+
} from "./generate-zsq5ry13.js";
|
|
77
77
|
import {
|
|
78
|
-
|
|
79
|
-
} from "./
|
|
78
|
+
node57
|
|
79
|
+
} from "./generate-9588h3n1.js";
|
|
80
80
|
import {
|
|
81
81
|
Outcome2,
|
|
82
82
|
make7
|
|
83
|
-
} from "./
|
|
83
|
+
} from "./generate-cnm1btwq.js";
|
|
84
84
|
import {
|
|
85
|
-
|
|
86
|
-
} from "./
|
|
85
|
+
Service27
|
|
86
|
+
} from "./generate-1x11rq2a.js";
|
|
87
87
|
import {
|
|
88
|
-
|
|
89
|
-
} from "./
|
|
88
|
+
node22
|
|
89
|
+
} from "./generate-rhnwdj6j.js";
|
|
90
90
|
import {
|
|
91
91
|
MAX_STEPS_PROMPT2
|
|
92
|
-
} from "./
|
|
92
|
+
} from "./generate-y44na4kk.js";
|
|
93
93
|
import {
|
|
94
94
|
__export
|
|
95
|
-
} from "./
|
|
95
|
+
} from "./generate-9rqn6x4v.js";
|
|
96
96
|
|
|
97
97
|
// src/session/runner/llm.ts
|
|
98
98
|
var exports_llm = {};
|
|
99
99
|
__export(exports_llm, {
|
|
100
100
|
SessionRunnerLLM: () => exports_llm,
|
|
101
|
-
node: () =>
|
|
101
|
+
node: () => node6
|
|
102
102
|
});
|
|
103
103
|
import { Message } from "@opencode/ai";
|
|
104
104
|
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(Service54, Effect.gen(function* () {
|
|
109
109
|
const bus = yield* Service82;
|
|
110
|
-
const lifecycle = yield*
|
|
111
|
-
const store = yield*
|
|
112
|
-
const context = yield*
|
|
113
|
-
const modelTransport = yield*
|
|
110
|
+
const lifecycle = yield* Service62;
|
|
111
|
+
const store = yield* Service66;
|
|
112
|
+
const context = yield* Service23;
|
|
113
|
+
const modelTransport = yield* Service32;
|
|
114
114
|
const db = (yield* Service83).db;
|
|
115
|
-
const compaction = yield*
|
|
116
|
-
const plugins = yield*
|
|
117
|
-
const title = yield*
|
|
115
|
+
const compaction = yield* Service10;
|
|
116
|
+
const plugins = yield* Service27;
|
|
117
|
+
const title = yield* Service5;
|
|
118
118
|
const steps = yield* make7;
|
|
119
119
|
const titles = yield* FiberMap.make();
|
|
120
120
|
const drain = Effect.fn("SessionRunner.drain")(function* (input) {
|
|
@@ -240,7 +240,7 @@ var layer = Layer.effect(Service55, 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* make8(bus, sessionID);
|
|
244
244
|
let initial = first;
|
|
245
245
|
let recoverOverflow = true;
|
|
246
246
|
let recoverContinuation = true;
|
|
@@ -361,25 +361,25 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
361
361
|
}
|
|
362
362
|
}
|
|
363
363
|
});
|
|
364
|
-
return
|
|
364
|
+
return Service54.of({ drain });
|
|
365
365
|
}));
|
|
366
|
-
var
|
|
367
|
-
service:
|
|
366
|
+
var node6 = makeLocationNode({
|
|
367
|
+
service: Service54,
|
|
368
368
|
layer,
|
|
369
369
|
deps: [
|
|
370
370
|
node86,
|
|
371
|
-
|
|
371
|
+
node66,
|
|
372
372
|
llmClient2,
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
373
|
+
node27,
|
|
374
|
+
node35,
|
|
375
|
+
node70,
|
|
376
|
+
node12,
|
|
377
|
+
node22,
|
|
378
|
+
node7,
|
|
379
|
+
node38,
|
|
380
|
+
node57,
|
|
381
381
|
node87
|
|
382
382
|
]
|
|
383
383
|
});
|
|
384
384
|
|
|
385
|
-
export {
|
|
385
|
+
export { node6, exports_llm };
|