@opencode/core 0.0.0-dev-20052 → 0.0.0-dev-20055
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{session-8knh3ff8.js → persistent-pty-01021z3r.js} +10 -10
- package/dist/chunks/{session-g83fpe91.js → persistent-pty-03cbr0jq.js} +21 -21
- package/dist/chunks/{session-8vrp8bmj.js → persistent-pty-0dhjr9tc.js} +4 -4
- package/dist/chunks/{session-5bp2skey.js → persistent-pty-0edkeq6v.js} +18 -18
- package/dist/chunks/{session-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{session-pztm1pv2.js → persistent-pty-0zm5snvh.js} +27 -27
- package/dist/chunks/{session-47nmn8s9.js → persistent-pty-14e8zrc8.js} +20 -20
- package/dist/chunks/{session-2tm5ae6q.js → persistent-pty-15cqf3kr.js} +18 -18
- package/dist/chunks/{session-p7nsp59h.js → persistent-pty-179189h4.js} +4 -4
- package/dist/chunks/{session-0xvc1pc6.js → persistent-pty-18qw6axq.js} +28 -28
- package/dist/chunks/{session-yt76ada2.js → persistent-pty-1cwvpkmb.js} +19 -19
- package/dist/chunks/{session-1dazxqgg.js → persistent-pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{session-gce79w0q.js → persistent-pty-1fw2a5v8.js} +13 -13
- package/dist/chunks/{session-7f85ph34.js → persistent-pty-1h80sv90.js} +8 -8
- package/dist/chunks/{session-jhva41zd.js → persistent-pty-1watctkc.js} +7 -7
- package/dist/chunks/{session-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
- package/dist/chunks/{session-2402vzrj.js → persistent-pty-2402vzrj.js} +1 -1
- package/dist/chunks/{session-9rxvj49m.js → persistent-pty-27gsfrrn.js} +1 -1
- package/dist/chunks/{session-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{session-qcjgwxds.js → persistent-pty-2bks3qmb.js} +36 -36
- package/dist/chunks/{session-s7qtgpz2.js → persistent-pty-2j4h19rn.js} +6 -6
- package/dist/chunks/{session-nxrdwk4h.js → persistent-pty-2k3c4q13.js} +3 -3
- package/dist/chunks/{session-qgn6gcr1.js → persistent-pty-2k8khapm.js} +5 -5
- package/dist/chunks/{session-by3zva6c.js → persistent-pty-2kt2qswp.js} +15 -15
- package/dist/chunks/{session-a1w4bp15.js → persistent-pty-2kvqe6kt.js} +28 -28
- package/dist/chunks/{session-4vw5zmsz.js → persistent-pty-2nkp2mfn.js} +6 -6
- package/dist/chunks/{session-r2m716tb.js → persistent-pty-2sejkfem.js} +9 -9
- package/dist/chunks/{session-at1kfnmk.js → persistent-pty-30846h32.js} +8 -8
- package/dist/chunks/{session-mfqp6xfm.js → persistent-pty-33w4ejhs.js} +9 -9
- package/dist/chunks/{session-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{session-5xpznt2d.js → persistent-pty-3fmtxraa.js} +4 -4
- package/dist/chunks/{session-qkte4jzb.js → persistent-pty-3fydtesb.js} +11 -11
- package/dist/chunks/{session-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{session-mfnb62q9.js → persistent-pty-3mtzcc5w.js} +1 -1
- package/dist/chunks/{session-g7t1ktz5.js → persistent-pty-3n93prt5.js} +3 -3
- package/dist/chunks/{session-rk8z89hk.js → persistent-pty-3qt928je.js} +11 -11
- package/dist/chunks/{session-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{session-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{session-cjm1vn85.js → persistent-pty-3yccry20.js} +5 -5
- package/dist/chunks/{session-3zsf4n22.js → persistent-pty-3zsf4n22.js} +1 -1
- package/dist/chunks/{session-4v7qyvan.js → persistent-pty-43f675a3.js} +15 -15
- package/dist/chunks/{session-g35sxfze.js → persistent-pty-45w2hez1.js} +4 -4
- package/dist/chunks/{session-qaja2phe.js → persistent-pty-4c2df9zx.js} +8 -8
- package/dist/chunks/{session-j6q11bhh.js → persistent-pty-4pjjbxv2.js} +9 -9
- package/dist/chunks/{session-ag580yac.js → persistent-pty-56dkfrzf.js} +4 -4
- package/dist/chunks/{session-aamtrqep.js → persistent-pty-57ez7d0k.js} +9 -9
- package/dist/chunks/{session-cnyds74t.js → persistent-pty-59a69fj0.js} +12 -12
- package/dist/chunks/{session-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
- package/dist/chunks/{session-5ekn9679.js → persistent-pty-5ekn9679.js} +1 -1
- package/dist/chunks/{session-pp7vw36h.js → persistent-pty-5jgvze5w.js} +9 -9
- package/dist/chunks/{session-neavnvq9.js → persistent-pty-5m8csvve.js} +4 -4
- package/dist/chunks/{session-5t3nmthw.js → persistent-pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{session-669tq793.js → persistent-pty-669tq793.js} +1 -1
- package/dist/chunks/{session-fdg2fymt.js → persistent-pty-6bd07m6k.js} +15 -15
- package/dist/chunks/{session-4y9kbvhd.js → persistent-pty-6eh7yy0z.js} +4 -4
- package/dist/chunks/{session-bm6mjsmb.js → persistent-pty-6j158gj8.js} +18 -18
- package/dist/chunks/{session-zzvetv0f.js → persistent-pty-6k427wqf.js} +19 -19
- package/dist/chunks/{session-6msgmcgs.js → persistent-pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{session-ppfdhd4m.js → persistent-pty-6mvdh01c.js} +16 -16
- package/dist/chunks/{session-gh9chfvz.js → persistent-pty-6wgjtmj1.js} +20 -20
- package/dist/chunks/{session-qagkqpcw.js → persistent-pty-6ysrkrkr.js} +8 -8
- package/dist/chunks/{session-mvfsc1pv.js → persistent-pty-73tb2d7t.js} +3 -3
- package/dist/chunks/{session-jz6veew7.js → persistent-pty-768gsh1v.js} +5 -5
- package/dist/chunks/{session-n1edfwxj.js → persistent-pty-79mwksnw.js} +4 -4
- package/dist/chunks/{session-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{session-6gf1w7gh.js → persistent-pty-7cdwr1t5.js} +32 -32
- package/dist/chunks/{session-sy0s5bwh.js → persistent-pty-7jjmmf08.js} +30 -30
- package/dist/chunks/{session-98fz18ap.js → persistent-pty-7md6e53z.js} +3 -3
- package/dist/chunks/{session-e6r66vhv.js → persistent-pty-7xfe1xnv.js} +17 -17
- package/dist/chunks/{session-4hz2mmtn.js → persistent-pty-7zs56f9j.js} +6 -6
- package/dist/chunks/{session-891rev4j.js → persistent-pty-830djgf5.js} +10 -10
- package/dist/chunks/{session-y2f6grkd.js → persistent-pty-8829hrmv.js} +5 -5
- package/dist/chunks/{session-3e1zst93.js → persistent-pty-89tssg7j.js} +5 -5
- package/dist/chunks/{session-1q5x1686.js → persistent-pty-8cb91319.js} +27 -27
- package/dist/chunks/{session-8d7r5vzw.js → persistent-pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{session-tafx042x.js → persistent-pty-8p6aty9m.js} +15 -15
- package/dist/chunks/{session-bym4s09g.js → persistent-pty-8tvn0bgg.js} +42 -42
- package/dist/chunks/{session-jn060pb1.js → persistent-pty-90c14161.js} +20 -20
- package/dist/chunks/{session-fgfy4ayq.js → persistent-pty-90mszmds.js} +20 -20
- package/dist/chunks/{session-zjbqayz9.js → persistent-pty-90r3bpwe.js} +39 -39
- package/dist/chunks/{session-1srchzyf.js → persistent-pty-92nedzp3.js} +8 -8
- package/dist/chunks/{session-29ehe47y.js → persistent-pty-933fkq5d.js} +27 -27
- package/dist/chunks/{session-94ek1h2f.js → persistent-pty-94ek1h2f.js} +2 -2
- package/dist/chunks/{session-a3rvs4a0.js → persistent-pty-97fmyryk.js} +6 -6
- package/dist/chunks/{session-me0y1cnd.js → persistent-pty-9hxa6fgt.js} +16 -16
- package/dist/chunks/{session-g84cjvn9.js → persistent-pty-9kmbd9mt.js} +2 -2
- package/dist/chunks/{session-h8ad6ek3.js → persistent-pty-a2jafzqy.js} +7 -7
- package/dist/chunks/{session-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
- package/dist/chunks/{session-q0yde1c4.js → persistent-pty-ajfhfmjy.js} +24 -24
- package/dist/chunks/{session-h74dn9jk.js → persistent-pty-amw4dhzn.js} +55 -55
- package/dist/chunks/{session-nwf7mb4z.js → persistent-pty-b2fmx0cr.js} +18 -18
- package/dist/chunks/{session-gt9qcemj.js → persistent-pty-b6ev060k.js} +79 -79
- package/dist/chunks/{session-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{session-qrbbscqf.js → persistent-pty-b95khez4.js} +33 -33
- package/dist/chunks/{session-bkryqbeh.js → persistent-pty-bex2v6cw.js} +27 -27
- package/dist/chunks/{session-emzsebxx.js → persistent-pty-bqszwq89.js} +6 -6
- package/dist/chunks/{session-mzjz1a5e.js → persistent-pty-bxss05bd.js} +5 -5
- package/dist/chunks/{session-w8x28t5s.js → persistent-pty-by2ahm79.js} +15 -15
- package/dist/chunks/persistent-pty-by5v678g.js +18 -0
- package/dist/chunks/persistent-pty-bye9g0db.js +503 -0
- package/dist/chunks/{session-qm151fxq.js → persistent-pty-cavp3yv7.js} +170 -170
- package/dist/chunks/{session-xt73n9e1.js → persistent-pty-cb29sgre.js} +10 -10
- package/dist/chunks/{session-aeygnrp9.js → persistent-pty-cet8zpt3.js} +14 -14
- package/dist/chunks/{session-ckecvw8r.js → persistent-pty-ckecvw8r.js} +2 -2
- package/dist/chunks/{session-pfnz72td.js → persistent-pty-ckznq2md.js} +43 -43
- package/dist/chunks/{session-q0g0xgbp.js → persistent-pty-cy7y84yk.js} +34 -34
- package/dist/chunks/{session-2ddy47rr.js → persistent-pty-d04a2mwz.js} +25 -25
- package/dist/chunks/{session-f9xa6rg6.js → persistent-pty-d3mx090j.js} +11 -11
- package/dist/chunks/{session-g2yrt224.js → persistent-pty-dahg00w6.js} +12 -12
- package/dist/chunks/{session-x2aynqqh.js → persistent-pty-depwzj9d.js} +9 -9
- package/dist/chunks/{session-85pzrjeq.js → persistent-pty-dftjxd64.js} +39 -39
- package/dist/chunks/{session-a89e0tac.js → persistent-pty-dj68pnee.js} +4 -4
- package/dist/chunks/{session-d8pj9jd3.js → persistent-pty-dta3aaj1.js} +13 -13
- package/dist/chunks/{session-dwvzh0g2.js → persistent-pty-dwvzh0g2.js} +1 -1
- package/dist/chunks/{session-0yae14ry.js → persistent-pty-e6bk6vcc.js} +14 -14
- package/dist/chunks/{session-pf2hb43r.js → persistent-pty-e6hd9jay.js} +4 -4
- package/dist/chunks/{session-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{session-65fzhxt5.js → persistent-pty-ek7s1yw1.js} +25 -25
- package/dist/chunks/{session-erw5rpbs.js → persistent-pty-erw5rpbs.js} +2 -2
- package/dist/chunks/{session-etq0c3wd.js → persistent-pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{session-he2xssmb.js → persistent-pty-eyn1g3ne.js} +11 -11
- package/dist/chunks/{session-3vwrvaxg.js → persistent-pty-f78qqxb3.js} +11 -11
- package/dist/chunks/{session-qa3qhgw8.js → persistent-pty-fdv30zvt.js} +5 -5
- package/dist/chunks/{session-meqw6q7z.js → persistent-pty-fmfe6t1x.js} +10 -10
- package/dist/chunks/{session-vsztgv60.js → persistent-pty-fwdthrhg.js} +4 -4
- package/dist/chunks/{session-r5rbqxjx.js → persistent-pty-g1e31y9g.js} +13 -13
- package/dist/chunks/{session-e9skrw04.js → persistent-pty-g9keeyzv.js} +22 -22
- package/dist/chunks/{session-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{session-5wyqxqdq.js → persistent-pty-gk8whktx.js} +30 -30
- package/dist/chunks/{session-1jfn0zqb.js → persistent-pty-gmjq4p6e.js} +12 -12
- package/dist/chunks/{session-gv6a8nnw.js → persistent-pty-gv6a8nnw.js} +2 -2
- package/dist/chunks/{session-wf538q6w.js → persistent-pty-h2r7bbkd.js} +5 -5
- package/dist/chunks/{session-44h5tttr.js → persistent-pty-h6r3nrb9.js} +4 -4
- package/dist/chunks/{session-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{session-7z65t9n4.js → persistent-pty-h92q6hp8.js} +3 -3
- package/dist/chunks/{session-0jkw1j53.js → persistent-pty-hdab2k61.js} +6 -6
- package/dist/chunks/{session-wkm65a5e.js → persistent-pty-hdmhar15.js} +17 -17
- package/dist/chunks/{session-9fkyfe87.js → persistent-pty-hfr76n8q.js} +19 -19
- package/dist/chunks/{session-c0rf4axc.js → persistent-pty-hk4fq7r2.js} +31 -31
- package/dist/chunks/{session-7w77vjmn.js → persistent-pty-hmpr7mk5.js} +48 -48
- package/dist/chunks/{session-2q2j00f4.js → persistent-pty-hrhjdx1t.js} +9 -9
- package/dist/chunks/{session-ghafsdjh.js → persistent-pty-hsn9352f.js} +52 -52
- package/dist/chunks/{session-a56v96gd.js → persistent-pty-hv93qhcc.js} +2 -2
- package/dist/chunks/{session-qtg8sbhy.js → persistent-pty-hwk3zhxf.js} +7 -7
- package/dist/chunks/{session-5nb7gs72.js → persistent-pty-j27gqa6x.js} +5 -5
- package/dist/chunks/{session-j56e64zr.js → persistent-pty-j56e64zr.js} +1 -1
- package/dist/chunks/{session-f400w89m.js → persistent-pty-jettcq7s.js} +13 -13
- package/dist/chunks/{session-wtpb55aw.js → persistent-pty-jrarfqr6.js} +20 -20
- package/dist/chunks/{session-qj8eh1ht.js → persistent-pty-jw80jp6b.js} +4 -4
- package/dist/chunks/{session-wadkm4m9.js → persistent-pty-k3b8e1df.js} +26 -26
- package/dist/chunks/{session-k3c624dm.js → persistent-pty-k3c624dm.js} +3 -3
- package/dist/chunks/{session-q9cy86ms.js → persistent-pty-k4r214gj.js} +13 -13
- package/dist/chunks/{session-fkjmw100.js → persistent-pty-k9kj6xed.js} +2 -2
- package/dist/chunks/{session-rcyr9k4h.js → persistent-pty-ka5wj0td.js} +9 -9
- package/dist/chunks/{session-xp8eppfe.js → persistent-pty-kk99n8q9.js} +15 -15
- package/dist/chunks/{session-m3fdjcah.js → persistent-pty-m3fdjcah.js} +1 -1
- package/dist/chunks/{session-fv5e30h3.js → persistent-pty-m57zmrhq.js} +22 -22
- package/dist/chunks/{session-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{session-m64xvjj1.js → persistent-pty-ma15yhyh.js} +5 -5
- package/dist/chunks/{session-y4hwa6fe.js → persistent-pty-mae9nf4n.js} +16 -16
- package/dist/chunks/{session-mb4kd00m.js → persistent-pty-mce3n2w0.js} +15 -15
- package/dist/chunks/{session-dm1py9b3.js → persistent-pty-mf9m2v67.js} +3 -3
- package/dist/chunks/{session-6dxx1993.js → persistent-pty-mhd9raa2.js} +29 -29
- package/dist/chunks/{session-24bnwns1.js → persistent-pty-mhj6erx5.js} +11 -11
- package/dist/chunks/persistent-pty-mn1405vt.js +252 -0
- package/dist/chunks/{session-8csy398d.js → persistent-pty-mrgbk9d9.js} +3 -3
- package/dist/chunks/{session-87jgd4yc.js → persistent-pty-mxqsfyay.js} +15 -15
- package/dist/chunks/{session-wdprw8y7.js → persistent-pty-myas8b4t.js} +20 -20
- package/dist/chunks/{session-9y6mh9nj.js → persistent-pty-myg059q6.js} +44 -44
- package/dist/chunks/{session-ck2r3q7f.js → persistent-pty-n7q0d5fq.js} +3 -3
- package/dist/chunks/{session-arcwc29g.js → persistent-pty-ndtwm10h.js} +11 -11
- package/dist/chunks/{session-3t7s9wr0.js → persistent-pty-nkgvehk0.js} +15 -15
- package/dist/chunks/{session-nq7qbqzc.js → persistent-pty-nq7qbqzc.js} +2 -2
- package/dist/chunks/{session-s2e92qp2.js → persistent-pty-nx741bd4.js} +29 -29
- package/dist/chunks/{session-ead3g9p8.js → persistent-pty-nxhqveyz.js} +5 -5
- package/dist/chunks/{session-pvetz0d1.js → persistent-pty-ny93wepk.js} +8 -8
- package/dist/chunks/{session-sy2z0gpb.js → persistent-pty-p14rgpp2.js} +18 -18
- package/dist/chunks/{session-g0445xdp.js → persistent-pty-pa8pe2x7.js} +8 -8
- package/dist/chunks/{session-czedw7a5.js → persistent-pty-pbfw7m20.js} +11 -11
- package/dist/chunks/{session-qd5xpryb.js → persistent-pty-pfa9vqac.js} +3 -3
- package/dist/chunks/{session-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{session-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
- package/dist/chunks/{session-tjtpwfd8.js → persistent-pty-pp173efe.js} +10 -10
- package/dist/chunks/{session-s5sq7s6b.js → persistent-pty-pr593267.js} +37 -37
- package/dist/chunks/{session-wj6981eq.js → persistent-pty-q5758hxt.js} +11 -11
- package/dist/chunks/{session-5hd7p33q.js → persistent-pty-q9n5cbnp.js} +14 -14
- package/dist/chunks/{session-bfezck53.js → persistent-pty-qp5vsj8n.js} +12 -12
- package/dist/chunks/{session-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
- package/dist/chunks/{session-jv01nqvq.js → persistent-pty-qte5z7bc.js} +5 -5
- package/dist/chunks/{session-nyqx1cb3.js → persistent-pty-qvreyy9g.js} +5 -5
- package/dist/chunks/{session-n34y64fa.js → persistent-pty-qxxt2qtz.js} +44 -44
- package/dist/chunks/{session-097zaa0w.js → persistent-pty-r2j9d1ms.js} +11 -11
- package/dist/chunks/{session-7q55pes4.js → persistent-pty-r31redw9.js} +21 -21
- package/dist/chunks/{session-rdw6cm16.js → persistent-pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{session-s8d7rejh.js → persistent-pty-rhjbct0v.js} +4 -4
- package/dist/chunks/{session-c0ved6qq.js → persistent-pty-rjvvd7vb.js} +22 -22
- package/dist/chunks/{session-8v1rbcne.js → persistent-pty-rr40bken.js} +24 -24
- package/dist/chunks/{session-28qq4hhx.js → persistent-pty-rxhvjhx4.js} +8 -8
- package/dist/chunks/{session-03m785b0.js → persistent-pty-s4ek6zwe.js} +21 -21
- package/dist/chunks/{session-wa4nzs8j.js → persistent-pty-s8wgvgmw.js} +6 -6
- package/dist/chunks/{session-qjxevsft.js → persistent-pty-sfntmzm9.js} +1 -1
- package/dist/chunks/{session-0yy8y0xf.js → persistent-pty-sk6t9hvy.js} +88 -88
- package/dist/chunks/{session-d9qgampt.js → persistent-pty-sma20vvg.js} +11 -11
- package/dist/chunks/{session-espb96qn.js → persistent-pty-smympfee.js} +30 -30
- package/dist/chunks/{session-1nd1dyj4.js → persistent-pty-st4mhzzs.js} +5 -5
- package/dist/chunks/{session-4p7tmdrv.js → persistent-pty-sxcbscrm.js} +9 -9
- package/dist/chunks/{session-eaek5xy9.js → persistent-pty-syyvpj1n.js} +18 -18
- package/dist/chunks/{session-tn0aqsam.js → persistent-pty-t0fxg8b9.js} +5 -5
- package/dist/chunks/{session-yfbwj5jw.js → persistent-pty-t29rx7a6.js} +9 -9
- package/dist/chunks/{session-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{session-5tst18hn.js → persistent-pty-tcekf9ey.js} +5 -5
- package/dist/chunks/{session-tcezcvh9.js → persistent-pty-tcezcvh9.js} +1 -1
- package/dist/chunks/{session-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
- package/dist/chunks/{session-9evpwprb.js → persistent-pty-thas5x23.js} +20 -20
- package/dist/chunks/{session-tvtrv512.js → persistent-pty-tvtrv512.js} +1 -1
- package/dist/chunks/{session-t3rhj3kt.js → persistent-pty-twba3jga.js} +26 -26
- package/dist/chunks/{session-f6e004jv.js → persistent-pty-v1kefnyt.js} +16 -16
- package/dist/chunks/{session-85964jq7.js → persistent-pty-v3qtc92a.js} +28 -28
- package/dist/chunks/{session-ek46xvkd.js → persistent-pty-v4zvv4f8.js} +10 -10
- package/dist/chunks/{session-pm7a0j07.js → persistent-pty-v9pex1z2.js} +12 -12
- package/dist/chunks/persistent-pty-vatnpgrc.js +26 -0
- package/dist/chunks/{session-0dqyxqc6.js → persistent-pty-vcsatxq3.js} +11 -11
- package/dist/chunks/{session-0v53mg2y.js → persistent-pty-ve4pfa0n.js} +4 -4
- package/dist/chunks/{session-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
- package/dist/chunks/{session-h4n9r5tr.js → persistent-pty-vhf33m4y.js} +8 -8
- package/dist/chunks/{session-898jh0sx.js → persistent-pty-vhkdxrqw.js} +26 -26
- package/dist/chunks/{session-1mn56et9.js → persistent-pty-vnkhd93v.js} +14 -14
- package/dist/chunks/{session-6jcyz307.js → persistent-pty-vq1h36b7.js} +30 -30
- package/dist/chunks/{session-5qrjp0ry.js → persistent-pty-vr3zvskj.js} +62 -62
- package/dist/chunks/{session-avae2qkj.js → persistent-pty-vtt0yr3x.js} +11 -11
- package/dist/chunks/{session-9cyfspf3.js → persistent-pty-vtxr0yy2.js} +5 -5
- package/dist/chunks/{session-vzcthcp8.js → persistent-pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{session-81j6fgb4.js → persistent-pty-w0bwbkhm.js} +13 -13
- package/dist/chunks/{session-rpjgfq5s.js → persistent-pty-w3nq1sqw.js} +9 -9
- package/dist/chunks/{session-xw0cs880.js → persistent-pty-w3pke5fx.js} +8 -8
- package/dist/chunks/{session-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{session-ck6j0tmg.js → persistent-pty-w577a3z6.js} +21 -21
- package/dist/chunks/{session-pfjjv6m2.js → persistent-pty-w7q5193v.js} +33 -33
- package/dist/chunks/{session-rb315gan.js → persistent-pty-w9kxsqx0.js} +15 -15
- package/dist/chunks/{session-wd3x2cqz.js → persistent-pty-wd3x2cqz.js} +2 -2
- package/dist/chunks/{session-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
- package/dist/chunks/{session-sgzh4dhp.js → persistent-pty-weft2jvw.js} +7 -7
- package/dist/chunks/{session-kxmmewe0.js → persistent-pty-wpv1nwv6.js} +20 -20
- package/dist/chunks/{session-xxft9bgk.js → persistent-pty-ww3rdmp0.js} +9 -9
- package/dist/chunks/{session-gvgp1py9.js → persistent-pty-x02qtknb.js} +18 -18
- package/dist/chunks/{session-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{session-zbv6vxc2.js → persistent-pty-x73qep3k.js} +44 -44
- package/dist/chunks/{session-rmte0ewr.js → persistent-pty-x9p3nmqr.js} +46 -46
- package/dist/chunks/{session-d9v2cph1.js → persistent-pty-xe9jd8cp.js} +29 -29
- package/dist/chunks/{session-drwq78ky.js → persistent-pty-xfkkasph.js} +4 -4
- package/dist/chunks/{session-km974dfy.js → persistent-pty-xgxqjvfa.js} +3 -3
- package/dist/chunks/{session-xmmwfnds.js → persistent-pty-xm5cggtr.js} +18 -18
- package/dist/chunks/{session-f72hhft4.js → persistent-pty-xn4akm7j.js} +7 -7
- package/dist/chunks/{session-n98x30mq.js → persistent-pty-xt97jqwb.js} +3 -3
- package/dist/chunks/{session-mfq0gsbt.js → persistent-pty-xtbqs454.js} +22 -22
- package/dist/chunks/{session-51k3ahpx.js → persistent-pty-xw8g27w3.js} +27 -27
- package/dist/chunks/{session-kc1vwbxf.js → persistent-pty-xy6b5509.js} +5 -5
- package/dist/chunks/{session-4r1y7bdz.js → persistent-pty-xzzwhxmb.js} +12 -12
- package/dist/chunks/{session-c6rz4xes.js → persistent-pty-y001mj7v.js} +7 -7
- package/dist/chunks/{session-2q6kkxxq.js → persistent-pty-y19c3zcv.js} +4 -4
- package/dist/chunks/{session-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{session-fp4mcc78.js → persistent-pty-y64nvfbp.js} +16 -16
- package/dist/chunks/{session-ng1epe3c.js → persistent-pty-y6agey15.js} +4 -4
- package/dist/chunks/{session-y71avatq.js → persistent-pty-y71avatq.js} +1 -1
- package/dist/chunks/{session-xwp0p8cq.js → persistent-pty-y7d7kw9x.js} +14 -14
- package/dist/chunks/{session-yp2x3t23.js → persistent-pty-yp2x3t23.js} +1 -1
- package/dist/chunks/{session-yrhqyw5v.js → persistent-pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{session-yrznvahk.js → persistent-pty-yrznvahk.js} +2 -2
- package/dist/chunks/{session-y85pjamd.js → persistent-pty-z06g7yey.js} +17 -17
- package/dist/chunks/{session-z07pqspn.js → persistent-pty-z07pqspn.js} +3 -3
- package/dist/chunks/{session-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{session-z63w68vq.js → persistent-pty-z63w68vq.js} +2 -2
- package/dist/chunks/{session-sddsc253.js → persistent-pty-zar8sqd3.js} +15 -15
- package/dist/chunks/{session-k76fn4kw.js → persistent-pty-zav06jzw.js} +4 -4
- package/dist/chunks/{session-q46aey48.js → persistent-pty-zd5y1z78.js} +23 -23
- package/dist/chunks/{session-8phpzhkn.js → persistent-pty-zdsm4etx.js} +23 -23
- package/dist/chunks/{session-zeh9ct20.js → persistent-pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{session-4s63e22f.js → persistent-pty-zjzqdcy8.js} +13 -13
- package/dist/chunks/{session-f2envfqx.js → persistent-pty-zp05054v.js} +35 -35
- package/dist/chunks/{session-phkjr6g5.js → persistent-pty-zp1j8h0b.js} +7 -7
- package/dist/chunks/{session-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{session-pekxgg20.js → persistent-pty-zrv8bjrm.js} +12 -12
- package/dist/chunks/{session-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +124 -124
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- 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/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +93 -93
- 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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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 +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +100 -100
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +83 -83
- package/dist/generate.js +99 -99
- package/dist/git.js +10 -10
- 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 +91 -91
- 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 +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +88 -88
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +358 -358
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +104 -104
- package/dist/mcp/instructions.js +124 -124
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/compaction.js +133 -133
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +93 -93
- package/dist/plugin/provider/gitlab.js +91 -91
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +120 -120
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +120 -120
- package/dist/plugin/provider/openai.js +92 -92
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +120 -120
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +101 -101
- 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 +90 -90
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +130 -130
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- 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 +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +112 -112
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- 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 +9 -9
- package/dist/shell.js +138 -138
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +91 -91
- 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 +121 -121
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +3 -3
- 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 +1 -1
- 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 +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +78 -78
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +94 -94
- package/package.json +8 -8
- package/dist/chunks/session-7fj5dwt0.js +0 -18
- package/dist/chunks/session-svzgkj0a.js +0 -503
- package/dist/chunks/session-vb4xy4ts.js +0 -252
- package/dist/chunks/session-zm849682.js +0 -26
- /package/dist/chunks/{session-0mesazry.js → persistent-pty-0mesazry.js} +0 -0
- /package/dist/chunks/{session-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{session-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{session-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{session-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{session-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{session-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{session-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{session-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{session-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{session-34c7v6d4.js → persistent-pty-34c7v6d4.js} +0 -0
- /package/dist/chunks/{session-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{session-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
- /package/dist/chunks/{session-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{session-3w5fmr99.js → persistent-pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{session-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{session-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{session-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{session-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{session-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{session-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
- /package/dist/chunks/{session-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{session-5qd3pb7m.js → persistent-pty-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{session-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
- /package/dist/chunks/{session-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{session-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{session-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
- /package/dist/chunks/{session-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{session-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{session-8wj87zfr.js → persistent-pty-8wj87zfr.js} +0 -0
- /package/dist/chunks/{session-922hggd3.js → persistent-pty-922hggd3.js} +0 -0
- /package/dist/chunks/{session-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{session-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{session-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{session-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{session-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{session-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{session-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{session-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{session-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{session-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{session-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{session-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{session-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{session-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{session-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{session-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
- /package/dist/chunks/{session-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{session-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{session-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{session-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{session-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{session-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{session-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{session-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{session-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{session-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{session-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{session-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{session-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
- /package/dist/chunks/{session-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{session-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
- /package/dist/chunks/{session-hjbc5kem.js → persistent-pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{session-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
- /package/dist/chunks/{session-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{session-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{session-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{session-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{session-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{session-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{session-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{session-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{session-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{session-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{session-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{session-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{session-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{session-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{session-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{session-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{session-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{session-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{session-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{session-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{session-sk3qaz4a.js → persistent-pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{session-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{session-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{session-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{session-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{session-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{session-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{session-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
- /package/dist/chunks/{session-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{session-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{session-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{session-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{session-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{session-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./persistent-pty-03cbr0jq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service63
|
|
6
|
+
} from "./persistent-pty-hsn9352f.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
@@ -53,8 +53,8 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin49 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service78;
|
|
57
|
+
const permission = yield* Service63;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
59
|
name: name13,
|
|
60
60
|
options: { codemode: false },
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./persistent-pty-7cdwr1t5.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/google-vertex.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -24,7 +24,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
25
|
yield* ctx.provider.transform((evt) => {
|
|
26
26
|
for (const item of evt.list()) {
|
|
27
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
27
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
28
28
|
continue;
|
|
29
29
|
const project = resolveProject(item.provider.settings ?? {});
|
|
30
30
|
const location = String(resolveLocation(item.provider.settings ?? {}));
|
|
@@ -42,7 +42,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
42
42
|
});
|
|
43
43
|
yield* ctx.model.transform((models) => {
|
|
44
44
|
for (const item of models.provider.list()) {
|
|
45
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
45
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
46
46
|
continue;
|
|
47
47
|
const project = resolveProject(item.provider.settings ?? {});
|
|
48
48
|
const location = String(resolveLocation(item.provider.settings ?? {}));
|
|
@@ -59,7 +59,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
61
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
62
|
-
if (evt.model.providerID !==
|
|
62
|
+
if (evt.model.providerID !== ID13.googleVertex)
|
|
63
63
|
return;
|
|
64
64
|
evt.language = evt.sdk.languageModel(String(evt.model.modelID ?? evt.model.id).trim());
|
|
65
65
|
}));
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-7md6e53z.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make20,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-rhjbct0v.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./persistent-pty-z07pqspn.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
@@ -22,11 +22,11 @@ __export(exports_instruction_entry, {
|
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service33,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node37,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -56,12 +56,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service33 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
64
|
+
var source = (entry) => make20({
|
|
65
65
|
key: Key3.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make21({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service84;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service33.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node37 = makeLocationNode({ service: Service33, layer, deps: [node88] });
|
|
114
114
|
|
|
115
|
-
export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2,
|
|
115
|
+
export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service33, node37, exports_instruction_entry };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-7md6e53z.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-y6agey15.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service51
|
|
9
|
+
} from "./persistent-pty-hdab2k61.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-922hggd3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID6,
|
|
15
|
+
Service60
|
|
16
|
+
} from "./persistent-pty-d04a2mwz.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./persistent-pty-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./persistent-pty-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./persistent-pty-97fmyryk.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./persistent-pty-z07pqspn.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,12 +42,12 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
45
|
+
const instances = yield* Service51;
|
|
46
46
|
const database = yield* Service84;
|
|
47
47
|
const bus = yield* Service83;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
50
|
-
const original = input.session.revert?.snapshot ?
|
|
49
|
+
const snapshot = yield* Service60;
|
|
50
|
+
const original = input.session.revert?.snapshot ? ID6.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
53
53
|
if (original) {
|
|
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
77
|
+
const instances = yield* Service51;
|
|
78
78
|
const bus = yield* Service83;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service60;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
|
-
const original = session.revert.snapshot ?
|
|
83
|
+
const original = session.revert.snapshot ? ID6.make(session.revert.snapshot) : undefined;
|
|
84
84
|
if (original)
|
|
85
85
|
yield* snapshot.restore({
|
|
86
86
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
111
111
|
continue;
|
|
112
112
|
for (const file of message.snapshot.files ?? [])
|
|
113
113
|
if (!files.has(file))
|
|
114
|
-
files.set(file,
|
|
114
|
+
files.set(file, ID6.make(message.snapshot.start));
|
|
115
115
|
}
|
|
116
116
|
return files;
|
|
117
117
|
});
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
6
|
var exports_permission = {};
|
|
7
7
|
__export(exports_permission, {
|
|
8
8
|
Action: () => Action2,
|
|
9
9
|
ConfigPermissionV1: () => exports_permission,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info17,
|
|
11
11
|
Object: () => Object2,
|
|
12
12
|
Rule: () => Rule2
|
|
13
13
|
});
|
|
@@ -33,9 +33,9 @@ var InputObject = Schema.StructWithRest(Schema.Struct({
|
|
|
33
33
|
}), [Schema.Record(Schema.String, Rule2)]);
|
|
34
34
|
var InputSchema = Schema.Union([Action2, InputObject]);
|
|
35
35
|
var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
|
|
36
|
-
var
|
|
36
|
+
var Info17 = InputSchema.pipe(Schema.decodeTo(InputObject, {
|
|
37
37
|
decode: SchemaGetter.transform(normalizeInput),
|
|
38
38
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
39
39
|
})).annotate({ identifier: "PermissionConfig" });
|
|
40
40
|
|
|
41
|
-
export { Action2, Object2, Rule2,
|
|
41
|
+
export { Action2, Object2, Rule2, Info17, exports_permission };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-h6r3nrb9.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-y6agey15.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./persistent-pty-2kvqe6kt.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./persistent-pty-bex2v6cw.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID13,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service75
|
|
20
|
+
} from "./persistent-pty-7cdwr1t5.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID11
|
|
23
|
+
} from "./persistent-pty-7jjmmf08.js";
|
|
24
24
|
import {
|
|
25
25
|
load3,
|
|
26
26
|
derive3
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./persistent-pty-r2j9d1ms.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./persistent-pty-v4zvv4f8.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/github-copilot.ts
|
|
33
33
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -59,7 +59,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
59
59
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
60
60
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
61
61
|
var oauth = (app) => ({
|
|
62
|
-
integrationID:
|
|
62
|
+
integrationID: ID14.make("github-copilot"),
|
|
63
63
|
method: {
|
|
64
64
|
id: methodID,
|
|
65
65
|
type: "oauth",
|
|
@@ -157,7 +157,7 @@ var oauth = (app) => ({
|
|
|
157
157
|
var GithubCopilotPlugin2 = define({
|
|
158
158
|
id: "opencode.provider.github.copilot",
|
|
159
159
|
effect: Effect.fn(function* (ctx) {
|
|
160
|
-
const providers = yield*
|
|
160
|
+
const providers = yield* Service75;
|
|
161
161
|
const bus = yield* Service83;
|
|
162
162
|
const loading = Semaphore.makeUnsafe(1);
|
|
163
163
|
const loaded = {};
|
|
@@ -173,7 +173,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
173
173
|
return;
|
|
174
174
|
}
|
|
175
175
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
176
|
-
const provider = yield* providers.get(
|
|
176
|
+
const provider = yield* providers.get(ID13.githubCopilot);
|
|
177
177
|
const remote = yield* Effect.tryPromise({
|
|
178
178
|
try: () => load3(url, {
|
|
179
179
|
...provider?.headers,
|
|
@@ -194,7 +194,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
194
194
|
editor.method.update(oauth(ctx.app));
|
|
195
195
|
});
|
|
196
196
|
yield* ctx.provider.transform((evt) => {
|
|
197
|
-
const item = evt.get(
|
|
197
|
+
const item = evt.get(ID13.githubCopilot);
|
|
198
198
|
if (!item)
|
|
199
199
|
return;
|
|
200
200
|
if (loaded.models) {
|
|
@@ -214,17 +214,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
214
214
|
}
|
|
215
215
|
});
|
|
216
216
|
yield* ctx.model.transform((models) => {
|
|
217
|
-
if (models.get(
|
|
218
|
-
models.update(
|
|
217
|
+
if (models.get(ID13.githubCopilot, ID11.make("gpt-5-chat-latest"))) {
|
|
218
|
+
models.update(ID13.githubCopilot, ID11.make("gpt-5-chat-latest"), (model) => {
|
|
219
219
|
model.enabled = false;
|
|
220
220
|
});
|
|
221
221
|
}
|
|
222
222
|
});
|
|
223
223
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
224
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
225
225
|
yield* refresh().pipe(Effect.forkScoped);
|
|
226
226
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
227
|
-
if (evt.model.providerID !==
|
|
227
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
228
228
|
return;
|
|
229
229
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
230
230
|
return;
|
|
@@ -233,7 +233,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
233
233
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
234
234
|
}));
|
|
235
235
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
236
|
-
if (evt.model.providerID !==
|
|
236
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
237
237
|
return;
|
|
238
238
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
239
239
|
return;
|
|
@@ -243,9 +243,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
243
243
|
evt.headers["X-Interaction-Id"] = evt.sessionID;
|
|
244
244
|
if (interaction !== "conversation-agent")
|
|
245
245
|
evt.headers["x-initiator"] = "agent";
|
|
246
|
-
}), { providerID:
|
|
246
|
+
}), { providerID: ID13.githubCopilot });
|
|
247
247
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
248
|
-
if (evt.model.providerID !==
|
|
248
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
249
249
|
return;
|
|
250
250
|
const token = evt.request.headers.get("x-api-key");
|
|
251
251
|
if (!token)
|
|
@@ -253,9 +253,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
253
253
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
254
254
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
255
255
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
256
|
-
}), { providerID:
|
|
256
|
+
}), { providerID: ID13.githubCopilot });
|
|
257
257
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
258
|
-
if (evt.model.providerID !==
|
|
258
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
259
259
|
return;
|
|
260
260
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
261
261
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-3w5fmr99.js";
|
|
5
5
|
import {
|
|
6
6
|
extension2,
|
|
7
7
|
display2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./persistent-pty-m3fdjcah.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/codemode/tool.ts
|
|
14
14
|
var exports_tool2 = {};
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service80
|
|
6
|
+
} from "./persistent-pty-7xfe1xnv.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service54
|
|
9
|
+
} from "./persistent-pty-dftjxd64.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./persistent-pty-90c14161.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./persistent-pty-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin36
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin36 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
35
|
-
const location = yield*
|
|
34
|
+
const config = yield* Service54;
|
|
35
|
+
const location = yield* Service80;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
38
38
|
yield* ctx.reference.transform((editor) => {
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin36, exports_reference };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-v4zvv4f8.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-33w4ejhs.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/tinyfish.ts
|
|
12
12
|
var exports_tinyfish = {};
|
|
13
13
|
__export(exports_tinyfish, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin15,
|
|
15
15
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint2 = "https://agent.tinyfish.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String
|
|
24
24
|
});
|
|
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
33
33
|
}))
|
|
34
34
|
}));
|
|
35
35
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
36
|
-
var
|
|
36
|
+
var Plugin15 = define({
|
|
37
37
|
id: "opencode.websearch.tinyfish",
|
|
38
38
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
39
39
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -55,7 +55,7 @@ var Plugin22 = define({
|
|
|
55
55
|
execute: (input) => Effect.gen(function* () {
|
|
56
56
|
const connection = yield* ctx.integration.connection.active("tinyfish");
|
|
57
57
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
58
|
-
const result = yield* call2(http,
|
|
58
|
+
const result = yield* call2(http, endpoint2, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
|
|
59
59
|
"User-Agent": useragent2(ctx.app),
|
|
60
60
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
61
61
|
});
|
|
@@ -73,4 +73,4 @@ var Plugin22 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { endpoint2, Plugin15, exports_tinyfish };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service55
|
|
3
|
+
} from "./persistent-pty-14e8zrc8.js";
|
|
4
4
|
import {
|
|
5
5
|
unavailable3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-rhjbct0v.js";
|
|
7
7
|
import {
|
|
8
8
|
AbsolutePath2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-922hggd3.js";
|
|
10
10
|
import {
|
|
11
11
|
File2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service57
|
|
13
|
+
} from "./persistent-pty-ajfhfmjy.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service80
|
|
16
|
+
} from "./persistent-pty-7xfe1xnv.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin47
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
30
|
import { dirname, join } from "path";
|
|
31
31
|
import { Effect, PubSub, Semaphore, Stream } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin47 = define({
|
|
33
33
|
id: "opencode.config.instruction",
|
|
34
34
|
effect: Effect.fn(function* () {
|
|
35
|
-
const discovery = yield*
|
|
35
|
+
const discovery = yield* Service57;
|
|
36
36
|
if (!discovery.project && !discovery.global)
|
|
37
37
|
return;
|
|
38
38
|
yield* Effect.gen(function* () {
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
40
|
const global = yield* Global.Service;
|
|
41
|
-
const location = yield*
|
|
42
|
-
const watcher = yield*
|
|
41
|
+
const location = yield* Service80;
|
|
42
|
+
const watcher = yield* Service55;
|
|
43
43
|
const changes = yield* PubSub.sliding(1);
|
|
44
44
|
const lock = Semaphore.makeUnsafe(1);
|
|
45
45
|
const start = yield* fs.resolve(location.directory);
|
|
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
|
|
|
114
114
|
return [start, ...ancestorDirectories(dirname(start), stop)];
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
export {
|
|
117
|
+
export { Plugin47, exports_instruction };
|