@opencode/core 0.0.0-dev-19384 → 0.0.0-dev-19388
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 +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{model-resolver-zsjw64s0.js → filesystem-056y9sk5.js} +1 -1
- package/dist/chunks/{model-resolver-7dqw4kz8.js → filesystem-0jwsre1p.js} +5 -5
- package/dist/chunks/filesystem-0mesazry.js +4 -0
- package/dist/chunks/{model-resolver-6p2e52w0.js → filesystem-0n7kkwyn.js} +32 -32
- package/dist/chunks/{model-resolver-0paq2nw3.js → filesystem-0paq2nw3.js} +1 -1
- package/dist/chunks/{model-resolver-0q0f95c6.js → filesystem-0q0f95c6.js} +1 -1
- package/dist/chunks/{model-resolver-6nxs6bmb.js → filesystem-13bwbegs.js} +6 -6
- package/dist/chunks/{model-resolver-r8xr0va3.js → filesystem-1acjjqhc.js} +4 -4
- package/dist/chunks/{model-resolver-c1g6mvbq.js → filesystem-1b1ar3e7.js} +8 -8
- package/dist/chunks/{model-resolver-9q2j1ek8.js → filesystem-1b4ff5b6.js} +21 -21
- package/dist/chunks/{model-resolver-pj0fhg0j.js → filesystem-1batb0zb.js} +38 -38
- package/dist/chunks/{model-resolver-1dazxqgg.js → filesystem-1dazxqgg.js} +2 -2
- package/dist/chunks/{model-resolver-1eyaby9q.js → filesystem-1eyaby9q.js} +2 -2
- package/dist/chunks/{model-resolver-cz2fjc0t.js → filesystem-1fbj5668.js} +1 -1
- package/dist/chunks/{model-resolver-cppeb8e9.js → filesystem-1fqh06zb.js} +43 -43
- package/dist/chunks/{model-resolver-1pjc74g1.js → filesystem-1jgwmmhy.js} +4 -4
- package/dist/chunks/{model-resolver-2bhdwkz4.js → filesystem-1rheacw5.js} +34 -34
- package/dist/chunks/{model-resolver-21r38tys.js → filesystem-21r38tys.js} +1 -1
- package/dist/chunks/{model-resolver-2neek4c8.js → filesystem-24c7s165.js} +24 -24
- package/dist/chunks/{model-resolver-c8p7nfbc.js → filesystem-25852kw6.js} +81 -81
- package/dist/chunks/{model-resolver-2a5m3afh.js → filesystem-2a5m3afh.js} +1 -1
- package/dist/chunks/{model-resolver-es1gkq3r.js → filesystem-2bt6bea8.js} +9 -9
- package/dist/chunks/{model-resolver-9w6qx4ar.js → filesystem-2m10wfgt.js} +11 -11
- package/dist/chunks/{model-resolver-ta08rfq5.js → filesystem-2mdf44cj.js} +9 -9
- package/dist/chunks/{model-resolver-fz4feqya.js → filesystem-2stek9w5.js} +9 -9
- package/dist/chunks/{model-resolver-xmwzbncj.js → filesystem-33zmxq1h.js} +11 -11
- package/dist/chunks/{model-resolver-6b99yyvg.js → filesystem-385xck8a.js} +8 -8
- package/dist/chunks/{model-resolver-77bj7wjf.js → filesystem-394r11tr.js} +31 -31
- package/dist/chunks/{model-resolver-754zj9nk.js → filesystem-3h6cqk62.js} +16 -16
- package/dist/chunks/{model-resolver-3hepkmqq.js → filesystem-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-yw2gt92n.js → filesystem-3s4rvetn.js} +10 -10
- package/dist/chunks/{model-resolver-3smtnn6g.js → filesystem-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-resolver-wdevvqhk.js → filesystem-3t5n67ye.js} +12 -12
- package/dist/chunks/{model-resolver-3tvqynh2.js → filesystem-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-resolver-wvh8s2yn.js → filesystem-3vb6kzdw.js} +8 -8
- package/dist/chunks/{model-resolver-pxq6bqj6.js → filesystem-469vaqsc.js} +7 -7
- package/dist/chunks/{model-resolver-1g817pcs.js → filesystem-4dszt5y5.js} +25 -25
- package/dist/chunks/{model-resolver-zzy03re2.js → filesystem-4e3yc908.js} +18 -18
- package/dist/chunks/{model-resolver-wea85wnq.js → filesystem-4jamjfh1.js} +7 -7
- package/dist/chunks/{model-resolver-zem9gw1c.js → filesystem-4maj8g0n.js} +17 -17
- package/dist/chunks/{model-resolver-2c9abtxg.js → filesystem-4rqn3ef5.js} +8 -8
- package/dist/chunks/{model-resolver-bd9nqr2t.js → filesystem-4vaczfm4.js} +5 -5
- package/dist/chunks/{model-resolver-xjmdmay6.js → filesystem-4vcrnpx2.js} +11 -3
- package/dist/chunks/{model-resolver-jw80jp6b.js → filesystem-50mzsvk4.js} +4 -4
- package/dist/chunks/{model-resolver-j53p89fq.js → filesystem-511fzf0h.js} +17 -17
- package/dist/chunks/{model-resolver-syctdxxv.js → filesystem-51whyq4r.js} +7 -7
- package/dist/chunks/{model-resolver-q77c0ew5.js → filesystem-55z3fzyw.js} +8 -8
- package/dist/chunks/{model-resolver-mfqp6xfm.js → filesystem-56gdpj1q.js} +6 -6
- package/dist/chunks/{model-resolver-3y2vzd8j.js → filesystem-57zwapjz.js} +1 -1
- package/dist/chunks/{model-resolver-zqczhjy7.js → filesystem-5bmw5kj7.js} +38 -38
- package/dist/chunks/{model-resolver-5daktx2q.js → filesystem-5daktx2q.js} +1 -1
- package/dist/chunks/{model-resolver-cwxby6pr.js → filesystem-5gachfgg.js} +8 -8
- package/dist/chunks/{model-resolver-5kptn8c0.js → filesystem-5kptn8c0.js} +2 -2
- package/dist/chunks/{model-resolver-hvnwc3gd.js → filesystem-5pa6vm4n.js} +7 -7
- package/dist/chunks/{model-resolver-hwwca0qh.js → filesystem-5pg93txw.js} +15 -15
- package/dist/chunks/{model-resolver-5t3nmthw.js → filesystem-5t3nmthw.js} +2 -2
- package/dist/chunks/{model-resolver-ahtyeane.js → filesystem-617hgdan.js} +46 -46
- package/dist/chunks/{model-resolver-4h6za3g8.js → filesystem-621rr81n.js} +11 -11
- package/dist/chunks/{model-resolver-669tq793.js → filesystem-669tq793.js} +1 -1
- package/dist/chunks/{model-resolver-60jadqqn.js → filesystem-67dj31rt.js} +15 -15
- package/dist/chunks/{model-resolver-r0vvnr3j.js → filesystem-67pthv0s.js} +24 -24
- package/dist/chunks/{model-resolver-qsare228.js → filesystem-6e93yj3m.js} +3 -3
- package/dist/chunks/{model-resolver-6h73sxmp.js → filesystem-6h73sxmp.js} +1 -1
- package/dist/chunks/{model-resolver-ds30tbjg.js → filesystem-6k9awrbh.js} +10 -10
- package/dist/chunks/{model-resolver-6msgmcgs.js → filesystem-6msgmcgs.js} +1 -1
- package/dist/chunks/{model-resolver-2qjqjmaw.js → filesystem-6rzja1f9.js} +6 -6
- package/dist/chunks/{model-resolver-d7tbmrmr.js → filesystem-6v7jgxpn.js} +9 -9
- package/dist/chunks/{model-resolver-txht7vc4.js → filesystem-6vkh6tth.js} +39 -39
- package/dist/chunks/{model-resolver-2de4jeeq.js → filesystem-6yt31z2p.js} +12 -12
- package/dist/chunks/{model-resolver-eg5vnqyk.js → filesystem-701y5145.js} +30 -30
- package/dist/chunks/{model-resolver-71q4at8m.js → filesystem-71q4at8m.js} +1 -1
- package/dist/chunks/{model-resolver-2wyjv582.js → filesystem-737983wq.js} +4 -4
- package/dist/chunks/{model-resolver-r5x6zcsm.js → filesystem-73tb2d7t.js} +3 -3
- package/dist/chunks/{model-resolver-qx26rsfj.js → filesystem-795b89xp.js} +24 -24
- package/dist/chunks/{model-resolver-7bmhse3q.js → filesystem-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-pe1m764c.js → filesystem-7cfynq8y.js} +143 -143
- package/dist/chunks/{model-resolver-6bpyz9aj.js → filesystem-7fe4gxq1.js} +11 -11
- package/dist/chunks/{model-resolver-chtn9pha.js → filesystem-7v6dnkvf.js} +32 -32
- package/dist/chunks/{model-resolver-hymdpy01.js → filesystem-7zjk8agd.js} +10 -10
- package/dist/chunks/{model-resolver-y5mrfvw4.js → filesystem-81swgkk7.js} +9 -9
- package/dist/chunks/{model-resolver-7b15y959.js → filesystem-844ef7ks.js} +8 -8
- package/dist/chunks/{model-resolver-shk6rdn6.js → filesystem-86b59fvh.js} +14 -14
- package/dist/chunks/{model-resolver-4bbwdacz.js → filesystem-88gqx8fx.js} +43 -43
- package/dist/chunks/{model-resolver-412kwdx9.js → filesystem-895sbn4q.js} +22 -22
- package/dist/chunks/{model-resolver-tcezcvh9.js → filesystem-89znhe33.js} +4 -4
- package/dist/chunks/{model-resolver-pkxy8g8t.js → filesystem-8bfq94b1.js} +52 -52
- package/dist/chunks/{model-resolver-8d7r5vzw.js → filesystem-8d7r5vzw.js} +1 -1
- package/dist/chunks/{model-resolver-8p4f9s12.js → filesystem-8p4f9s12.js} +2 -2
- package/dist/chunks/{model-resolver-fn61cvhn.js → filesystem-8qgzw9wd.js} +20 -20
- package/dist/chunks/{model-resolver-v2zxy9vy.js → filesystem-8v4d8r02.js} +1 -1
- package/dist/chunks/{model-resolver-wn7wpz7v.js → filesystem-915024ph.js} +19 -19
- package/dist/chunks/{model-resolver-k1xpzw1w.js → filesystem-91pqtkcw.js} +13 -13
- package/dist/chunks/{model-resolver-gsa0bc7f.js → filesystem-94f5g9k1.js} +37 -37
- package/dist/chunks/{model-resolver-4gd74qvs.js → filesystem-9a3ed6hb.js} +6 -6
- package/dist/chunks/{model-resolver-ftxm3p3a.js → filesystem-9fyw720m.js} +21 -21
- package/dist/chunks/{model-resolver-grf3440t.js → filesystem-9g3vdk5q.js} +21 -21
- package/dist/chunks/{model-resolver-gg3hwfv5.js → filesystem-9gqgjvk8.js} +21 -21
- package/dist/chunks/filesystem-9sh4wc5j.js +18 -0
- package/dist/chunks/{model-resolver-esj243wz.js → filesystem-9zswys26.js} +9 -9
- package/dist/chunks/{model-resolver-n8120r6k.js → filesystem-a0ptexgx.js} +4 -4
- package/dist/chunks/{model-resolver-a1bz86dw.js → filesystem-a1bz86dw.js} +3 -3
- package/dist/chunks/{model-resolver-p905rm1f.js → filesystem-a1z5mzke.js} +1 -1
- package/dist/chunks/{model-resolver-9m7evh4e.js → filesystem-a5stevxr.js} +16 -16
- package/dist/chunks/{model-resolver-shzfhh4e.js → filesystem-a9mh0r96.js} +12 -12
- package/dist/chunks/{model-resolver-aaet6srn.js → filesystem-aaet6srn.js} +2 -2
- package/dist/chunks/{model-resolver-ngmpv4k0.js → filesystem-ac88cgcg.js} +17 -17
- package/dist/chunks/{model-resolver-tx1bbn1t.js → filesystem-ak7vzz1a.js} +2 -2
- package/dist/chunks/filesystem-ang5fwfr.js +247 -0
- package/dist/chunks/{model-resolver-m9mm4cnh.js → filesystem-attwfgmv.js} +17 -17
- package/dist/chunks/{model-resolver-8nnbah93.js → filesystem-b4bcrb8b.js} +4 -4
- package/dist/chunks/{model-resolver-b6gygkdw.js → filesystem-b6gygkdw.js} +2 -2
- package/dist/chunks/{model-resolver-0p99qez5.js → filesystem-b6mfpxes.js} +40 -40
- package/dist/chunks/{model-resolver-h63xhtna.js → filesystem-bqvawe2y.js} +48 -48
- package/dist/chunks/{model-resolver-7zavcbms.js → filesystem-bzq013b3.js} +3 -3
- package/dist/chunks/{model-resolver-b4cdxvsz.js → filesystem-c36wc4f0.js} +43 -43
- package/dist/chunks/{model-resolver-vnrz4pgq.js → filesystem-c3mh7abg.js} +14 -14
- package/dist/chunks/{model-resolver-g756tth6.js → filesystem-c7jd750q.js} +9 -9
- package/dist/chunks/{model-resolver-cfpkc3c9.js → filesystem-cfpkc3c9.js} +2 -2
- package/dist/chunks/{model-resolver-x46gjfhs.js → filesystem-cqvt4heg.js} +11 -11
- package/dist/chunks/{model-resolver-ak9msbxp.js → filesystem-cr9wy6w1.js} +6 -6
- package/dist/chunks/{model-resolver-dcd7yt0v.js → filesystem-d2z85qgk.js} +4 -4
- package/dist/chunks/{model-resolver-nyxmwzmx.js → filesystem-dbmcae2r.js} +17 -17
- package/dist/chunks/{model-resolver-nmhj9mbj.js → filesystem-dmmdt4bf.js} +25 -25
- package/dist/chunks/{model-resolver-wy1grk9j.js → filesystem-dp24j7vv.js} +3 -3
- package/dist/chunks/{model-resolver-jbad0je3.js → filesystem-dtx2zz03.js} +17 -17
- package/dist/chunks/{model-resolver-gpffk3sd.js → filesystem-dwgb0r40.js} +2 -2
- package/dist/chunks/{model-resolver-34gkz9wj.js → filesystem-dx6jvs3w.js} +4 -4
- package/dist/chunks/{model-resolver-vstb6x8b.js → filesystem-dxadfsz3.js} +11 -11
- package/dist/chunks/{model-resolver-bkqqcfdf.js → filesystem-e7z2mpna.js} +13 -13
- package/dist/chunks/{model-resolver-rsmx3r31.js → filesystem-e7z714tc.js} +12 -12
- package/dist/chunks/{model-resolver-47gsdddb.js → filesystem-e82z9tr0.js} +4 -4
- package/dist/chunks/{model-resolver-394mryvr.js → filesystem-e8tzj1q5.js} +11 -11
- package/dist/chunks/{model-resolver-dtf70dba.js → filesystem-eddqeyr4.js} +37 -37
- package/dist/chunks/{model-resolver-cr4v6k8r.js → filesystem-ede8bgtj.js} +24 -24
- package/dist/chunks/{model-resolver-fqj9nv8j.js → filesystem-ednp5hmx.js} +5 -5
- package/dist/chunks/{model-resolver-v44d1hzb.js → filesystem-eh06tsh4.js} +20 -19
- package/dist/chunks/{model-resolver-k36djr8a.js → filesystem-eqqhapwp.js} +22 -22
- package/dist/chunks/{model-resolver-6adjmyr0.js → filesystem-er06bvme.js} +13 -13
- package/dist/chunks/{model-resolver-etq0c3wd.js → filesystem-etq0c3wd.js} +1 -1
- package/dist/chunks/{model-resolver-f828m53h.js → filesystem-f828m53h.js} +2 -2
- package/dist/chunks/{model-resolver-mk59f0qp.js → filesystem-fp9646aj.js} +3 -3
- package/dist/chunks/{model-resolver-rjeyb174.js → filesystem-fqz39t5z.js} +8 -8
- package/dist/chunks/{model-resolver-wkgjqrx7.js → filesystem-fwvt04sz.js} +4 -4
- package/dist/chunks/{model-resolver-fxbjtjnd.js → filesystem-fxbjtjnd.js} +1 -1
- package/dist/chunks/{model-resolver-h8b7tcqs.js → filesystem-g0e3tkhh.js} +11 -11
- package/dist/chunks/{model-resolver-10zhb9cj.js → filesystem-gb23bvxt.js} +16 -16
- package/dist/chunks/{model-resolver-02nrjc1r.js → filesystem-gbt6w4kb.js} +4 -4
- package/dist/chunks/{model-resolver-gd4qta3r.js → filesystem-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-resolver-3fc6dm20.js → filesystem-gdvy8fx6.js} +4 -4
- package/dist/chunks/{model-resolver-gteg2vnc.js → filesystem-gfybhtft.js} +19 -18
- package/dist/chunks/{model-resolver-ebk7g7ej.js → filesystem-gps6vdk6.js} +18 -18
- package/dist/chunks/{model-resolver-vex7y4d1.js → filesystem-gr04s9gg.js} +14 -14
- package/dist/chunks/{model-resolver-vy3jd71w.js → filesystem-gzcwfc4e.js} +20 -20
- package/dist/chunks/{model-resolver-h03wrkyp.js → filesystem-h03wrkyp.js} +2 -2
- package/dist/chunks/{model-resolver-zknapg7q.js → filesystem-h24d087c.js} +15 -15
- package/dist/chunks/{model-resolver-h6vf3j39.js → filesystem-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-resolver-121k57vw.js → filesystem-hd29wc17.js} +8 -8
- package/dist/chunks/{model-resolver-yvx62gnn.js → filesystem-hf9zzdc2.js} +10 -10
- package/dist/chunks/{model-resolver-snxhrb6z.js → filesystem-hfqxjmzm.js} +5 -5
- package/dist/chunks/{model-resolver-abgeen7n.js → filesystem-hhstr0w6.js} +24 -24
- package/dist/chunks/{model-resolver-tj8f0xj4.js → filesystem-hjs68xrf.js} +34 -34
- package/dist/chunks/{model-resolver-wbkyxrgf.js → filesystem-hnr5yq9h.js} +5 -5
- package/dist/chunks/{model-resolver-bnfv4bke.js → filesystem-ht3akpg4.js} +9 -9
- package/dist/chunks/{model-resolver-tevc9p4b.js → filesystem-htp6s35y.js} +9 -9
- package/dist/chunks/{model-resolver-8n5es00k.js → filesystem-j2mhjbmg.js} +26 -26
- package/dist/chunks/{model-resolver-922arjmq.js → filesystem-j55f1gt8.js} +15 -15
- package/dist/chunks/{model-resolver-j56e64zr.js → filesystem-j56e64zr.js} +1 -1
- package/dist/chunks/{model-resolver-tfjws8eq.js → filesystem-jane354b.js} +3 -3
- package/dist/chunks/{model-resolver-wbqy31zn.js → filesystem-jbddx18m.js} +1 -1
- package/dist/chunks/{model-resolver-x04m22yd.js → filesystem-jbjar616.js} +32 -32
- package/dist/chunks/{model-resolver-0wrbff2f.js → filesystem-jefma2gq.js} +10 -10
- package/dist/chunks/{model-resolver-20fjk41b.js → filesystem-jk60jt88.js} +11 -11
- package/dist/chunks/filesystem-jx1df3jm.js +22 -0
- package/dist/chunks/{model-resolver-dzdf5n0b.js → filesystem-k44km4nj.js} +17 -17
- package/dist/chunks/{model-resolver-kg06axw8.js → filesystem-kg06axw8.js} +1 -1
- package/dist/chunks/{model-resolver-341vskh0.js → filesystem-ky6k48re.js} +20 -20
- package/dist/chunks/{model-resolver-4am1wjpn.js → filesystem-m1y8ttrx.js} +1 -1
- package/dist/chunks/{model-resolver-z2kgn23z.js → filesystem-m7m032ab.js} +24 -24
- package/dist/chunks/{model-resolver-m9w0rfyh.js → filesystem-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-awaee7qt.js → filesystem-m9wy7qrr.js} +6 -6
- package/dist/chunks/{model-resolver-kts9wqnk.js → filesystem-mhkcfdm3.js} +22 -22
- package/dist/chunks/{model-resolver-mkcjrzeh.js → filesystem-mkcjrzeh.js} +1 -1
- package/dist/chunks/{model-resolver-cejc3es4.js → filesystem-mkv6pa3p.js} +13 -13
- package/dist/chunks/{model-resolver-6178vqjw.js → filesystem-mrtpz622.js} +3 -3
- package/dist/chunks/{model-resolver-1hc11dc4.js → filesystem-msq0jde0.js} +4 -4
- package/dist/chunks/{model-resolver-6sg55drv.js → filesystem-myg80vbs.js} +22 -22
- package/dist/chunks/{model-resolver-ee7h6a8j.js → filesystem-n4vj9ajn.js} +10 -10
- package/dist/chunks/{model-resolver-fmxf2c45.js → filesystem-n8r29p3x.js} +9 -9
- package/dist/chunks/{model-resolver-h2r7bbkd.js → filesystem-nbzsj80d.js} +8 -8
- package/dist/chunks/{model-resolver-nda3z8kh.js → filesystem-nt7y0b6y.js} +9 -9
- package/dist/chunks/{model-resolver-s0hza5ac.js → filesystem-nw2nz702.js} +4 -4
- package/dist/chunks/{model-resolver-s8zy8myc.js → filesystem-nxhqveyz.js} +5 -5
- package/dist/chunks/{model-resolver-7jhhyt0b.js → filesystem-p1by39wd.js} +25 -25
- package/dist/chunks/{model-resolver-3q1jyqhd.js → filesystem-p33ejz0k.js} +1 -1
- package/dist/chunks/{model-resolver-mgxq4wd9.js → filesystem-p613tt29.js} +5 -5
- package/dist/chunks/{model-resolver-9vs0xtad.js → filesystem-p6r5yh53.js} +2 -2
- package/dist/chunks/{model-resolver-0ft9cg2j.js → filesystem-pf2hb43r.js} +4 -4
- package/dist/chunks/{model-resolver-4p59xbax.js → filesystem-pf7e094e.js} +11 -11
- package/dist/chunks/{model-resolver-pjvnvgmy.js → filesystem-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-resolver-pknna89w.js → filesystem-pknna89w.js} +1 -1
- package/dist/chunks/{model-resolver-rjjg3e34.js → filesystem-pndg43xp.js} +7 -7
- package/dist/chunks/{model-resolver-1y2x0aqg.js → filesystem-q1mwthsg.js} +17 -17
- package/dist/chunks/{model-resolver-pmr4s4kc.js → filesystem-q2b1ymqp.js} +4 -4
- package/dist/chunks/{model-resolver-964trts7.js → filesystem-q3j0kqfw.js} +27 -27
- package/dist/chunks/{model-resolver-a211gggb.js → filesystem-q5933jwj.js} +20 -20
- package/dist/chunks/{model-resolver-q5asdkn4.js → filesystem-q5asdkn4.js} +1 -1
- package/dist/chunks/{model-resolver-e592wy5s.js → filesystem-qam20mpp.js} +15 -15
- package/dist/chunks/{model-resolver-e23m03bd.js → filesystem-qgj7q01q.js} +30 -30
- package/dist/chunks/filesystem-qj0x7chz.js +462 -0
- package/dist/chunks/{model-resolver-8fqcqt95.js → filesystem-qk7hwtaf.js} +2 -2
- package/dist/chunks/{model-resolver-r59qmds9.js → filesystem-qpnsqa9x.js} +15 -15
- package/dist/chunks/{model-resolver-qsdy395h.js → filesystem-qsdy395h.js} +1 -1
- package/dist/chunks/{model-resolver-6q5arvd8.js → filesystem-r837shg4.js} +46 -46
- package/dist/chunks/{model-resolver-2szxs6c7.js → filesystem-r9dyd1jw.js} +4 -4
- package/dist/chunks/{model-resolver-h4rczdf5.js → filesystem-rf9vrjw2.js} +15 -15
- package/dist/chunks/{model-resolver-vwqc105j.js → filesystem-rgp0xy6k.js} +12 -12
- package/dist/chunks/{model-resolver-7xhxth10.js → filesystem-rv8k5jkc.js} +11 -11
- package/dist/chunks/{model-resolver-mj27xt9n.js → filesystem-rxhbvfmr.js} +24 -24
- package/dist/chunks/{model-resolver-ma62v64d.js → filesystem-s84w5bg7.js} +15 -15
- package/dist/chunks/{model-resolver-xh49vxj8.js → filesystem-s857ash9.js} +5 -5
- package/dist/chunks/{model-resolver-9a34e234.js → filesystem-sfbacvk4.js} +9 -9
- package/dist/chunks/{model-resolver-shxa3zc7.js → filesystem-sj9w4s23.js} +19 -19
- package/dist/chunks/{model-resolver-grxcxy9j.js → filesystem-sp5zyyma.js} +8 -8
- package/dist/chunks/{model-resolver-v5dkyp31.js → filesystem-t2fc4mz5.js} +4 -4
- package/dist/chunks/{model-resolver-v93xbqr2.js → filesystem-t4rrxcfh.js} +16 -16
- package/dist/chunks/{model-resolver-g9vkt591.js → filesystem-t5w9h8rb.js} +19 -19
- package/dist/chunks/{model-resolver-tazgh4e4.js → filesystem-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-resolver-tdstcens.js → filesystem-tdstcens.js} +1 -1
- package/dist/chunks/{model-resolver-gv6a8nnw.js → filesystem-th5km1p3.js} +5 -5
- package/dist/chunks/{model-resolver-9w6wr46b.js → filesystem-tj953jaq.js} +20 -20
- package/dist/chunks/{model-resolver-k3w3g6yz.js → filesystem-tkrrbede.js} +9 -9
- package/dist/chunks/{model-resolver-tvtrv512.js → filesystem-tvtrv512.js} +1 -1
- package/dist/chunks/{model-resolver-32yfgjtf.js → filesystem-tyyqsn0v.js} +6 -6
- package/dist/chunks/{model-resolver-2f0bjgcj.js → filesystem-tz2bjj40.js} +5 -5
- package/dist/chunks/{model-resolver-h6693ktv.js → filesystem-v0zwhkz5.js} +11 -11
- package/dist/chunks/{model-resolver-a165ysxp.js → filesystem-v31hq529.js} +43 -43
- package/dist/chunks/{model-resolver-8q9myf25.js → filesystem-v32t8jx1.js} +4 -4
- package/dist/chunks/{model-resolver-veqvce7d.js → filesystem-veqvce7d.js} +1 -1
- package/dist/chunks/{model-resolver-54n99x85.js → filesystem-vnwx8xqr.js} +25 -25
- package/dist/chunks/{model-resolver-fxqygnfa.js → filesystem-vyy6cxw9.js} +4 -4
- package/dist/chunks/{model-resolver-vzcthcp8.js → filesystem-vzcthcp8.js} +1 -1
- package/dist/chunks/{model-resolver-62v8g8sf.js → filesystem-w1ph7bey.js} +18 -18
- package/dist/chunks/{model-resolver-w3wsvvr9.js → filesystem-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-hcb85x7b.js → filesystem-wazkm2x0.js} +13 -13
- package/dist/chunks/{model-resolver-wdgm1b9h.js → filesystem-wcdb3cer.js} +29 -29
- package/dist/chunks/{model-resolver-wd87259q.js → filesystem-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-1r8xap2c.js → filesystem-wgn8rn3k.js} +41 -41
- package/dist/chunks/{model-resolver-nzckpb8h.js → filesystem-wjy94g25.js} +13 -13
- package/dist/chunks/{model-resolver-qmsqtg79.js → filesystem-wpej6h4s.js} +7 -7
- package/dist/chunks/{model-resolver-3sexfajv.js → filesystem-wrdw2bq8.js} +3 -3
- package/dist/chunks/{model-resolver-x8qpn73s.js → filesystem-wv978b9k.js} +26 -26
- package/dist/chunks/{model-resolver-8jv093w6.js → filesystem-wx8vgsfk.js} +24 -24
- package/dist/chunks/{model-resolver-3axs0qpa.js → filesystem-wy1hgqd7.js} +7 -7
- package/dist/chunks/{model-resolver-x1ezjp6w.js → filesystem-x1ezjp6w.js} +1 -1
- package/dist/chunks/{model-resolver-x43y2vfs.js → filesystem-x43y2vfs.js} +2 -2
- package/dist/chunks/{model-resolver-h3930hs4.js → filesystem-xax1yraj.js} +11 -11
- package/dist/chunks/{model-resolver-266ddf5t.js → filesystem-xhngfy0e.js} +73 -73
- package/dist/chunks/{model-resolver-dn00p2xs.js → filesystem-xkjxrpcb.js} +18 -18
- package/dist/chunks/{model-resolver-3rr3nb8h.js → filesystem-xpxjkdch.js} +10 -10
- package/dist/chunks/{model-resolver-r2jnt3k9.js → filesystem-xrxwtwha.js} +4 -4
- package/dist/chunks/{model-resolver-fc3gg9nv.js → filesystem-xtfcs0yj.js} +6 -6
- package/dist/chunks/{model-resolver-fwfyd8fy.js → filesystem-xy0sa79b.js} +6 -6
- package/dist/chunks/{model-resolver-y1fvbwt7.js → filesystem-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-resolver-y71avatq.js → filesystem-y71avatq.js} +1 -1
- package/dist/chunks/{model-resolver-32sr25b2.js → filesystem-y9jmv78b.js} +4 -4
- package/dist/chunks/{model-resolver-pth6n3j5.js → filesystem-ydckf0vr.js} +23 -23
- package/dist/chunks/{model-resolver-6rsb5r8s.js → filesystem-ydq1q308.js} +24 -24
- package/dist/chunks/{model-resolver-yrhqyw5v.js → filesystem-yrhqyw5v.js} +1 -1
- package/dist/chunks/{model-resolver-yrznvahk.js → filesystem-yrznvahk.js} +2 -2
- package/dist/chunks/{model-resolver-7bzsnhgb.js → filesystem-ywa60t48.js} +12 -12
- package/dist/chunks/{model-resolver-hdn37q54.js → filesystem-yxjsdcwg.js} +5 -5
- package/dist/chunks/{model-resolver-bwc3vdty.js → filesystem-yytdt4jf.js} +10 -10
- package/dist/chunks/{model-resolver-z0bkrqjs.js → filesystem-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-resolver-0a57wjjf.js → filesystem-z0ff4ppm.js} +4 -4
- package/dist/chunks/{model-resolver-h6nsps6f.js → filesystem-z1f4gy9p.js} +2 -2
- package/dist/chunks/{model-resolver-z63w68vq.js → filesystem-z63w68vq.js} +2 -2
- package/dist/chunks/{model-resolver-vs2mxw6e.js → filesystem-zd00mhnz.js} +10 -10
- package/dist/chunks/{model-resolver-zeh9ct20.js → filesystem-zeh9ct20.js} +2 -2
- package/dist/chunks/{model-resolver-9km4y146.js → filesystem-zesa0009.js} +6 -6
- package/dist/chunks/{model-resolver-zr2ceqn5.js → filesystem-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-resolver-7s3an50r.js → filesystem-zx94nz29.js} +7 -7
- package/dist/chunks/{model-resolver-zxq2ej10.js → filesystem-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +79 -79
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +113 -113
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +115 -115
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +79 -79
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +356 -356
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +88 -88
- 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 +68 -68
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +76 -76
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +78 -78
- package/dist/generate.js +89 -89
- package/dist/git.js +7 -7
- 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 +3 -3
- 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 +3 -3
- package/dist/instance.js +351 -351
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +126 -126
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +350 -350
- package/dist/location.js +82 -82
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +84 -84
- package/dist/model.js +8 -8
- package/dist/models-dev.js +84 -84
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- 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 +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +97 -97
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- 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 +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +341 -341
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- 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.js +222 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +7 -7
- 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 +92 -92
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +147 -147
- 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 +214 -214
- package/dist/session/execution.js +118 -118
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +82 -82
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +1 -1
- package/dist/session/runner/llm.js +223 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +84 -84
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +145 -145
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +212 -212
- 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 +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +100 -100
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +84 -84
- 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 +119 -119
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +112 -112
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +96 -96
- package/dist/tool/plugin/read.js +115 -115
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +105 -105
- package/dist/tool/plugin/write.js +109 -109
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- 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 +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- 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 +4 -4
- 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/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +74 -74
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +340 -340
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/model-resolver-6kdq0pjd.js +0 -4
- package/dist/chunks/model-resolver-a5tg2hvh.js +0 -462
- package/dist/chunks/model-resolver-jqh9b0xq.js +0 -18
- package/dist/chunks/model-resolver-xfa62wd8.js +0 -22
- package/dist/chunks/model-resolver-ypaemdrr.js +0 -247
- /package/dist/chunks/{model-resolver-0qkdqm5v.js → filesystem-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → filesystem-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → filesystem-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → filesystem-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-1kg9ymc8.js → filesystem-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → filesystem-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2axfhc9x.js → filesystem-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → filesystem-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → filesystem-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3asan66x.js → filesystem-3asan66x.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → filesystem-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-3w5fmr99.js → filesystem-3w5fmr99.js} +0 -0
- /package/dist/chunks/{model-resolver-3wcehsnq.js → filesystem-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → filesystem-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → filesystem-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4y7fprxs.js → filesystem-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → filesystem-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-550bvhaj.js → filesystem-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → filesystem-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → filesystem-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → filesystem-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → filesystem-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → filesystem-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → filesystem-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-922hggd3.js → filesystem-922hggd3.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → filesystem-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → filesystem-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-a6k6eb26.js → filesystem-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-resolver-af5trqkr.js → filesystem-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-resolver-afrmfg78.js → filesystem-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → filesystem-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → filesystem-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → filesystem-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → filesystem-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → filesystem-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → filesystem-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → filesystem-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → filesystem-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-dajrwvna.js → filesystem-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-resolver-dap0rakb.js → filesystem-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → filesystem-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → filesystem-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → filesystem-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-e73j6tqm.js → filesystem-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-resolver-ec1grn59.js → filesystem-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-resolver-eh3zwz77.js → filesystem-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → filesystem-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → filesystem-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → filesystem-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → filesystem-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → filesystem-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-fxgpk5d8.js → filesystem-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{model-resolver-g4wezp1m.js → filesystem-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → filesystem-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → filesystem-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-gftt206x.js → filesystem-gftt206x.js} +0 -0
- /package/dist/chunks/{model-resolver-hjbc5kem.js → filesystem-hjbc5kem.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → filesystem-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-hrnqkpcd.js → filesystem-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → filesystem-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-j5zkgpj8.js → filesystem-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → filesystem-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → filesystem-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → filesystem-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → filesystem-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → filesystem-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → filesystem-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → filesystem-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → filesystem-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-paphc93g.js → filesystem-paphc93g.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → filesystem-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → filesystem-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qaymkmh1.js → filesystem-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → filesystem-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → filesystem-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → filesystem-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → filesystem-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → filesystem-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-sk3qaz4a.js → filesystem-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → filesystem-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-twg0f83k.js → filesystem-twg0f83k.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → filesystem-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → filesystem-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → filesystem-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x0ckcb58.js → filesystem-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-resolver-x61499pn.js → filesystem-x61499pn.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → filesystem-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8cydn3q.js → filesystem-y8cydn3q.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → filesystem-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-ym463w8f.js → filesystem-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → filesystem-z9919s4g.js} +0 -0
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node50
|
|
5
|
+
} from "./filesystem-33zmxq1h.js";
|
|
6
6
|
import {
|
|
7
7
|
provenance2,
|
|
8
8
|
compatible2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-msq0jde0.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service67,
|
|
12
|
+
node72
|
|
13
|
+
} from "./filesystem-hd29wc17.js";
|
|
14
14
|
import {
|
|
15
15
|
DeclinedError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./filesystem-bqvawe2y.js";
|
|
17
17
|
import {
|
|
18
18
|
CancelledError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./filesystem-469vaqsc.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Error3
|
|
22
|
+
} from "./filesystem-mhkcfdm3.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service27,
|
|
25
|
+
node32
|
|
26
|
+
} from "./filesystem-e8tzj1q5.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
make13
|
|
29
|
+
} from "./filesystem-e82z9tr0.js";
|
|
30
30
|
import {
|
|
31
31
|
toLLMMessages2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./filesystem-p33ejz0k.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/session/model-request.ts
|
|
38
38
|
var exports_model_request = {};
|
|
39
39
|
__export(exports_model_request, {
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service26,
|
|
41
41
|
SessionModelRequest: () => exports_model_request,
|
|
42
42
|
baseTranscript: () => baseTranscript2,
|
|
43
43
|
boundImages: () => boundImages2,
|
|
44
|
-
layer: () =>
|
|
45
|
-
node: () =>
|
|
44
|
+
layer: () => layer11,
|
|
45
|
+
node: () => node31,
|
|
46
46
|
unsupportedParts: () => unsupportedParts2
|
|
47
47
|
});
|
|
48
48
|
import { HttpOptions, LanguageModel, LLM, LLMRequest, Message, SystemPart } from "@opencode/ai";
|
|
@@ -62,7 +62,7 @@ var baseTranscript2 = (input) => {
|
|
|
62
62
|
return {
|
|
63
63
|
providerMetadataKey,
|
|
64
64
|
system: [
|
|
65
|
-
input.agent.system ? input.agent.system :
|
|
65
|
+
input.agent.system ? input.agent.system : make13(input.tools.definitions.map((tool) => tool.name)),
|
|
66
66
|
input.initial
|
|
67
67
|
].filter((part) => part.length > 0).map(SystemPart.make),
|
|
68
68
|
messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
|
|
@@ -189,11 +189,11 @@ var httpMiddleware = (hooks, scope) => (request, handler) => Effect.gen(function
|
|
|
189
189
|
return HttpClientResponse.fromWeb(sent, after.response);
|
|
190
190
|
}).pipe(Effect.mapError((cause) => cause instanceof Error ? cause : new Error(String(cause))));
|
|
191
191
|
|
|
192
|
-
class
|
|
192
|
+
class Service26 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
193
193
|
}
|
|
194
|
-
var
|
|
195
|
-
const hooks = yield*
|
|
196
|
-
const transport = yield*
|
|
194
|
+
var layer11 = Layer.effect(Service26, Effect.gen(function* () {
|
|
195
|
+
const hooks = yield* Service67;
|
|
196
|
+
const transport = yield* Service27;
|
|
197
197
|
const app = yield* Metadata2;
|
|
198
198
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (input) {
|
|
199
199
|
const session = input.scope.session;
|
|
@@ -201,7 +201,7 @@ var layer12 = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
201
201
|
const model = resolved.model;
|
|
202
202
|
const tools = input.scope.tools ?? {
|
|
203
203
|
definitions: [],
|
|
204
|
-
execute: () => new
|
|
204
|
+
execute: () => new Error3({ message: "Tools are not available for this request" })
|
|
205
205
|
};
|
|
206
206
|
const registry = new Map(tools.definitions.map((tool) => [tool.name, tool]));
|
|
207
207
|
const given = new Map(tools.definitions.map((tool) => [{ description: tool.description, input: { ...tool.inputSchema } }, tool]));
|
|
@@ -261,12 +261,12 @@ var layer12 = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
261
261
|
executeTool
|
|
262
262
|
};
|
|
263
263
|
});
|
|
264
|
-
return
|
|
264
|
+
return Service26.of({ prepare });
|
|
265
265
|
}));
|
|
266
|
-
var
|
|
267
|
-
service:
|
|
268
|
-
layer:
|
|
269
|
-
deps: [
|
|
266
|
+
var node31 = makeLocationNode({
|
|
267
|
+
service: Service26,
|
|
268
|
+
layer: layer11,
|
|
269
|
+
deps: [node72, node32, node50]
|
|
270
270
|
});
|
|
271
271
|
|
|
272
|
-
export { baseTranscript2, unsupportedParts2, boundImages2,
|
|
272
|
+
export { baseTranscript2, unsupportedParts2, boundImages2, Service26, layer11, node31, exports_model_request };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/git.ts
|
|
13
13
|
var exports_git3 = {};
|
|
@@ -15,11 +15,11 @@ __export(exports_git3, {
|
|
|
15
15
|
Git: () => exports_git3,
|
|
16
16
|
OperationError: () => OperationError3,
|
|
17
17
|
Repository: () => Repository2,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service78,
|
|
19
19
|
TreeID: () => TreeID2,
|
|
20
20
|
Worktree: () => Worktree2,
|
|
21
21
|
WorktreeError: () => WorktreeError2,
|
|
22
|
-
node: () =>
|
|
22
|
+
node: () => node83
|
|
23
23
|
});
|
|
24
24
|
import path from "path";
|
|
25
25
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -85,9 +85,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
|
|
|
85
85
|
}) {
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
class
|
|
88
|
+
class Service78 extends Context.Service()("@opencode/Git") {
|
|
89
89
|
}
|
|
90
|
-
var layer = Layer.effect(
|
|
90
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
91
91
|
const fs = yield* FSUtil.Service;
|
|
92
92
|
const proc = yield* AppProcess.Service;
|
|
93
93
|
const locks = makeUnsafe2();
|
|
@@ -409,7 +409,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
409
409
|
kind: index === 0 ? "main" : "linked"
|
|
410
410
|
}));
|
|
411
411
|
});
|
|
412
|
-
return
|
|
412
|
+
return Service78.of({
|
|
413
413
|
repo: { discover, clone, create },
|
|
414
414
|
remote: { get: remote },
|
|
415
415
|
history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
|
|
@@ -425,7 +425,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
425
425
|
}
|
|
426
426
|
});
|
|
427
427
|
}));
|
|
428
|
-
var
|
|
428
|
+
var node83 = makeGlobalNode({ service: Service78, layer, deps: [FSUtil.node, AppProcess.node] });
|
|
429
429
|
function run(cwd, proc, args) {
|
|
430
430
|
return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
|
|
431
431
|
}
|
|
@@ -450,4 +450,4 @@ function resolvePath(cwd, value) {
|
|
|
450
450
|
return path.resolve(cwd, normalized);
|
|
451
451
|
}
|
|
452
452
|
|
|
453
|
-
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2,
|
|
453
|
+
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service78, node83, exports_git3 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID15,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
mergeOverlay2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-1b1ar3e7.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/aisdk.ts
|
|
12
12
|
var exports_aisdk = {};
|
|
13
13
|
__export(exports_aisdk, {
|
|
14
14
|
AISDK: () => exports_aisdk,
|
|
15
15
|
InitError: () => InitError2,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service69,
|
|
17
17
|
locationLayer: () => locationLayer2,
|
|
18
|
-
node: () =>
|
|
18
|
+
node: () => node74
|
|
19
19
|
});
|
|
20
20
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -128,7 +128,7 @@ function prepareOptions(model, pkg) {
|
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
131
|
-
providerID:
|
|
131
|
+
providerID: ID15,
|
|
132
132
|
cause: Schema.Defect()
|
|
133
133
|
}) {
|
|
134
134
|
}
|
|
@@ -136,9 +136,9 @@ function initError(providerID) {
|
|
|
136
136
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
class
|
|
139
|
+
class Service69 extends Context.Service()("@opencode/AISDK") {
|
|
140
140
|
}
|
|
141
|
-
var locationLayer2 = Layer.effect(
|
|
141
|
+
var locationLayer2 = Layer.effect(Service69, Effect.gen(function* () {
|
|
142
142
|
let sdkHooks = [];
|
|
143
143
|
let languageHooks = [];
|
|
144
144
|
const languages = new Map;
|
|
@@ -176,7 +176,7 @@ var locationLayer2 = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
176
176
|
}
|
|
177
177
|
return event;
|
|
178
178
|
});
|
|
179
|
-
const service =
|
|
179
|
+
const service = Service69.of({
|
|
180
180
|
hook: {
|
|
181
181
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
182
182
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -809,6 +809,6 @@ function providerErrorMessage(error) {
|
|
|
809
809
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
810
810
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
811
811
|
}
|
|
812
|
-
var
|
|
812
|
+
var node74 = makeLocationNode({ service: Service69, layer: locationLayer2, deps: [] });
|
|
813
813
|
|
|
814
|
-
export { InitError2,
|
|
814
|
+
export { InitError2, Service69, locationLayer2, node74, exports_aisdk };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin33
|
|
3
|
+
} from "./filesystem-ednp5hmx.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin36
|
|
6
|
+
} from "./filesystem-6rzja1f9.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin37
|
|
9
|
+
} from "./filesystem-nt7y0b6y.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin34
|
|
12
|
+
} from "./filesystem-3vb6kzdw.js";
|
|
13
|
+
|
|
14
|
+
// src/plugin/websearch/index.ts
|
|
15
|
+
var WebSearchPlugins2 = [
|
|
16
|
+
Plugin33,
|
|
17
|
+
Plugin36,
|
|
18
|
+
Plugin37,
|
|
19
|
+
Plugin34
|
|
20
|
+
];
|
|
21
|
+
|
|
22
|
+
export { WebSearchPlugins2 };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-dx6jvs3w.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service35
|
|
6
|
+
} from "./filesystem-wcdb3cer.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Error3
|
|
9
|
+
} from "./filesystem-mhkcfdm3.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service44
|
|
12
|
+
} from "./filesystem-rgp0xy6k.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./filesystem-mrtpz622.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./filesystem-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./filesystem-xrxwtwha.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./filesystem-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./filesystem-h03wrkyp.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./filesystem-9a3ed6hb.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
@@ -54,8 +54,8 @@ var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not r
|
|
|
54
54
|
var make3 = Effect.gen(function* () {
|
|
55
55
|
const bus = yield* Service79;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service35;
|
|
58
|
+
const toolOutput = yield* Service44;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const startSnapshot = yield* snapshots.capture();
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -70,7 +70,7 @@ var make3 = Effect.gen(function* () {
|
|
|
70
70
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
71
71
|
const executeTool = (call) => {
|
|
72
72
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
73
|
-
return new
|
|
73
|
+
return new Error3({ message: "Tools are disabled after the maximum agent steps" });
|
|
74
74
|
return input.prepared.executeTool({
|
|
75
75
|
sessionID: input.sessionID,
|
|
76
76
|
agent: input.agent,
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-fp9646aj.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-dx6jvs3w.js";
|
|
7
7
|
import {
|
|
8
8
|
Service57
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-v32t8jx1.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./filesystem-fxbjtjnd.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./filesystem-gftt206x.js";
|
|
16
16
|
import {
|
|
17
17
|
NotFoundError9,
|
|
18
18
|
PromptConflictError2,
|
|
@@ -20,52 +20,52 @@ import {
|
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./filesystem-mrtpz622.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./filesystem-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service64
|
|
29
|
+
} from "./filesystem-a9mh0r96.js";
|
|
30
30
|
import {
|
|
31
31
|
Delivery2,
|
|
32
32
|
SyntheticPayload2,
|
|
33
33
|
Service55
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./filesystem-511fzf0h.js";
|
|
35
35
|
import {
|
|
36
36
|
Service53
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./filesystem-p1by39wd.js";
|
|
38
38
|
import {
|
|
39
39
|
prepare2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./filesystem-c3mh7abg.js";
|
|
41
41
|
import {
|
|
42
42
|
stage2,
|
|
43
43
|
clear2,
|
|
44
44
|
commit2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./filesystem-e7z2mpna.js";
|
|
46
46
|
import {
|
|
47
47
|
start2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./filesystem-5pa6vm4n.js";
|
|
49
49
|
import {
|
|
50
50
|
get4
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./filesystem-wy1hgqd7.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/session.ts
|
|
57
57
|
var exports_session2 = {};
|
|
58
58
|
__export(exports_session2, {
|
|
59
59
|
Session: () => exports_session2,
|
|
60
|
-
make: () =>
|
|
60
|
+
make: () => make12
|
|
61
61
|
});
|
|
62
62
|
import { DateTime, Effect, Fiber, Scope } from "effect";
|
|
63
63
|
import { Event } from "@opencode/schema/event";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
|
-
var
|
|
65
|
+
var make12 = Effect.fn("Session.make")(function* () {
|
|
66
66
|
const bus = yield* Service79;
|
|
67
67
|
const database = yield* Service80;
|
|
68
|
-
const store = yield*
|
|
68
|
+
const store = yield* Service64;
|
|
69
69
|
const instances = yield* Service57;
|
|
70
70
|
const execution = yield* Service53;
|
|
71
71
|
const admission = yield* Service55;
|
|
@@ -315,4 +315,4 @@ ${error.message}`,
|
|
|
315
315
|
return { forSession };
|
|
316
316
|
});
|
|
317
317
|
|
|
318
|
-
export {
|
|
318
|
+
export { make12, exports_session2 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID15,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./filesystem-1b1ar3e7.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
ID13
|
|
8
|
+
} from "./filesystem-3t5n67ye.js";
|
|
9
9
|
import {
|
|
10
10
|
Service79
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./filesystem-dx6jvs3w.js";
|
|
12
12
|
import {
|
|
13
13
|
OAuth3,
|
|
14
14
|
Event16
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./filesystem-tj953jaq.js";
|
|
16
16
|
import {
|
|
17
17
|
ID8,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./filesystem-67pthv0s.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service60
|
|
22
|
+
} from "./filesystem-ydckf0vr.js";
|
|
23
23
|
import {
|
|
24
24
|
get3
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./filesystem-7fe4gxq1.js";
|
|
26
26
|
import {
|
|
27
27
|
useragent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./filesystem-33zmxq1h.js";
|
|
29
29
|
|
|
30
30
|
// src/plugin/provider/github-copilot.ts
|
|
31
31
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -155,7 +155,7 @@ var oauth = (app) => ({
|
|
|
155
155
|
var GithubCopilotPlugin2 = define({
|
|
156
156
|
id: "opencode.provider.github.copilot",
|
|
157
157
|
effect: Effect.fn(function* (ctx) {
|
|
158
|
-
const catalog = yield*
|
|
158
|
+
const catalog = yield* Service60;
|
|
159
159
|
const bus = yield* Service79;
|
|
160
160
|
const loading = Semaphore.makeUnsafe(1);
|
|
161
161
|
const loaded = {};
|
|
@@ -170,8 +170,8 @@ var GithubCopilotPlugin2 = define({
|
|
|
170
170
|
return;
|
|
171
171
|
}
|
|
172
172
|
loaded.baseURL = copilotBaseURL2(credential.metadata);
|
|
173
|
-
const provider = yield* catalog.provider.get(
|
|
174
|
-
const existing = (yield* catalog.model.all()).filter((model) => model.providerID ===
|
|
173
|
+
const provider = yield* catalog.provider.get(ID15.githubCopilot);
|
|
174
|
+
const existing = (yield* catalog.model.all()).filter((model) => model.providerID === ID15.githubCopilot);
|
|
175
175
|
loaded.models = yield* Effect.tryPromise({
|
|
176
176
|
try: () => get3(loaded.baseURL ?? baseURL(), {
|
|
177
177
|
...provider?.headers,
|
|
@@ -187,12 +187,12 @@ var GithubCopilotPlugin2 = define({
|
|
|
187
187
|
editor.method.update(oauth(ctx.app));
|
|
188
188
|
});
|
|
189
189
|
yield* ctx.catalog.transform((evt) => {
|
|
190
|
-
const item = evt.provider.get(
|
|
190
|
+
const item = evt.provider.get(ID15.githubCopilot);
|
|
191
191
|
if (!item)
|
|
192
192
|
return;
|
|
193
193
|
if (loaded.models) {
|
|
194
194
|
for (const id of item.models.keys()) {
|
|
195
|
-
if (!loaded.models.has(
|
|
195
|
+
if (!loaded.models.has(ID13.make(id)))
|
|
196
196
|
evt.model.remove(item.provider.id, id);
|
|
197
197
|
}
|
|
198
198
|
for (const [id, model] of loaded.models) {
|
|
@@ -207,8 +207,8 @@ var GithubCopilotPlugin2 = define({
|
|
|
207
207
|
});
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
|
-
if (item.models.has(
|
|
211
|
-
evt.model.update(item.provider.id,
|
|
210
|
+
if (item.models.has(ID13.make("gpt-5-chat-latest"))) {
|
|
211
|
+
evt.model.update(item.provider.id, ID13.make("gpt-5-chat-latest"), (model) => {
|
|
212
212
|
model.enabled = false;
|
|
213
213
|
});
|
|
214
214
|
}
|
|
@@ -217,7 +217,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
217
217
|
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
218
218
|
yield* refresh().pipe(Effect.forkScoped);
|
|
219
219
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
220
|
-
if (evt.model.providerID !==
|
|
220
|
+
if (evt.model.providerID !== ID15.githubCopilot)
|
|
221
221
|
return;
|
|
222
222
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
223
223
|
return;
|
|
@@ -226,7 +226,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
226
226
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
227
227
|
}));
|
|
228
228
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
229
|
-
if (evt.model.providerID !==
|
|
229
|
+
if (evt.model.providerID !== ID15.githubCopilot)
|
|
230
230
|
return;
|
|
231
231
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
232
232
|
return;
|
|
@@ -236,9 +236,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
236
236
|
evt.headers["X-Interaction-Id"] = evt.sessionID;
|
|
237
237
|
if (interaction !== "conversation-agent")
|
|
238
238
|
evt.headers["x-initiator"] = "agent";
|
|
239
|
-
}), { providerID:
|
|
239
|
+
}), { providerID: ID15.githubCopilot });
|
|
240
240
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
241
|
-
if (evt.model.providerID !==
|
|
241
|
+
if (evt.model.providerID !== ID15.githubCopilot)
|
|
242
242
|
return;
|
|
243
243
|
const token = evt.request.headers.get("x-api-key");
|
|
244
244
|
if (!token)
|
|
@@ -246,9 +246,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
246
246
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
247
247
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
248
248
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
249
|
-
}), { providerID:
|
|
249
|
+
}), { providerID: ID15.githubCopilot });
|
|
250
250
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
251
|
-
if (evt.model.providerID !==
|
|
251
|
+
if (evt.model.providerID !== ID15.githubCopilot)
|
|
252
252
|
return;
|
|
253
253
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
254
254
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/formatter.ts
|
|
6
6
|
var exports_formatter3 = {};
|
|
7
7
|
__export(exports_formatter3, {
|
|
8
8
|
ConfigFormatterV1: () => exports_formatter3,
|
|
9
|
-
Entry: () =>
|
|
10
|
-
Info: () =>
|
|
9
|
+
Entry: () => Entry2,
|
|
10
|
+
Info: () => Info11
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
13
|
+
var Entry2 = Schema.Struct({
|
|
14
14
|
disabled: Schema.optional(Schema.Boolean),
|
|
15
15
|
command: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
16
16
|
environment: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
17
17
|
extensions: Schema.optional(Schema.mutable(Schema.Array(Schema.String)))
|
|
18
18
|
});
|
|
19
|
-
var
|
|
19
|
+
var Info11 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry2)]);
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Entry2, Info11, exports_formatter3 };
|