@opencode/core 0.0.0-dev-20594 → 0.0.0-dev-20602
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{managed-policy-pkqb68ka.js → filesystem-0dygnakk.js} +4 -4
- package/dist/chunks/{managed-policy-q0xm7vwc.js → filesystem-0j77ygfz.js} +6 -6
- package/dist/chunks/{managed-policy-0paq2nw3.js → filesystem-0paq2nw3.js} +1 -1
- package/dist/chunks/{managed-policy-fzka5vhq.js → filesystem-0rp1rmqj.js} +8 -8
- package/dist/chunks/{managed-policy-nbqnkjck.js → filesystem-0shza7wa.js} +20 -20
- package/dist/chunks/{managed-policy-0vbcp93d.js → filesystem-0vbcp93d.js} +2 -2
- package/dist/chunks/{managed-policy-dnge0aqq.js → filesystem-0wpypy9k.js} +33 -33
- package/dist/chunks/{managed-policy-d6bttsxy.js → filesystem-0y55kwzf.js} +5 -5
- package/dist/chunks/{managed-policy-aec1bqve.js → filesystem-167apanm.js} +13 -13
- package/dist/chunks/{managed-policy-1dazxqgg.js → filesystem-1dazxqgg.js} +2 -2
- package/dist/chunks/{managed-policy-33w4ejhs.js → filesystem-1ygqh575.js} +6 -6
- package/dist/chunks/{managed-policy-e8vwfchq.js → filesystem-22f357wt.js} +9 -9
- package/dist/chunks/{managed-policy-2erjdy5k.js → filesystem-277myemf.js} +22 -22
- package/dist/chunks/{managed-policy-2a5m3afh.js → filesystem-2a5m3afh.js} +1 -1
- package/dist/chunks/{managed-policy-145xw1zc.js → filesystem-2aw5gy1a.js} +5 -5
- package/dist/chunks/{managed-policy-4ts7tf6z.js → filesystem-2ccvkpx1.js} +2 -2
- package/dist/chunks/{managed-policy-93rbxt91.js → filesystem-2ydbbtvs.js} +13 -13
- package/dist/chunks/{managed-policy-d6qjz85w.js → filesystem-30w2jk0g.js} +11 -11
- package/dist/chunks/{managed-policy-xvdg8f15.js → filesystem-3124xjv5.js} +5 -5
- package/dist/chunks/{managed-policy-h2b79v29.js → filesystem-3cegwx68.js} +2 -2
- package/dist/chunks/{managed-policy-3fc6dm20.js → filesystem-3fc6dm20.js} +1 -1
- package/dist/chunks/{managed-policy-w7a2szgj.js → filesystem-3g7aw0e2.js} +8 -8
- package/dist/chunks/{managed-policy-3hepkmqq.js → filesystem-3hepkmqq.js} +1 -1
- package/dist/chunks/{managed-policy-qvreyy9g.js → filesystem-3j9bgvtg.js} +5 -5
- package/dist/chunks/filesystem-3rbawgv7.js +26 -0
- package/dist/chunks/{managed-policy-3smtnn6g.js → filesystem-3smtnn6g.js} +1 -1
- package/dist/chunks/{managed-policy-4bsrnaz3.js → filesystem-3t5mk94f.js} +43 -43
- package/dist/chunks/{managed-policy-3tvqynh2.js → filesystem-3tvqynh2.js} +1 -1
- package/dist/chunks/{managed-policy-eq6gwms1.js → filesystem-3tx1qjh6.js} +23 -23
- package/dist/chunks/{managed-policy-3zsf4n22.js → filesystem-3zsf4n22.js} +1 -1
- package/dist/chunks/{managed-policy-pczz4718.js → filesystem-4326jr2k.js} +13 -13
- package/dist/chunks/{managed-policy-j7v3c1ew.js → filesystem-49kvfp1r.js} +11 -11
- package/dist/chunks/{managed-policy-t1xnf4e5.js → filesystem-4pjc529k.js} +5 -5
- package/dist/chunks/{managed-policy-7a12vqq0.js → filesystem-4rx3papc.js} +29 -29
- package/dist/chunks/{managed-policy-s1xp6p9p.js → filesystem-4vw64pvn.js} +6 -6
- package/dist/chunks/{managed-policy-3mentpw2.js → filesystem-52wy7q97.js} +27 -27
- package/dist/chunks/{managed-policy-nedqmk46.js → filesystem-54evr9qc.js} +12 -12
- package/dist/chunks/{managed-policy-r94pvvab.js → filesystem-54ma36ye.js} +4 -4
- package/dist/chunks/{managed-policy-5daktx2q.js → filesystem-5daktx2q.js} +1 -1
- package/dist/chunks/filesystem-5hftm4dp.js +43 -0
- package/dist/chunks/{managed-policy-g24nezpw.js → filesystem-5jhahjrw.js} +11 -11
- package/dist/chunks/{managed-policy-dda53qcs.js → filesystem-5p2ddtg9.js} +22 -22
- package/dist/chunks/{managed-policy-q8wzdh58.js → filesystem-5pfs40b8.js} +29 -29
- package/dist/chunks/{managed-policy-fw3mavjd.js → filesystem-5sh4vwnj.js} +21 -21
- package/dist/chunks/{managed-policy-5t3nmthw.js → filesystem-5t3nmthw.js} +2 -2
- package/dist/chunks/{managed-policy-hspec0h6.js → filesystem-5vdbc3f9.js} +27 -27
- package/dist/chunks/{managed-policy-89c57hn9.js → filesystem-5w7jvsny.js} +27 -27
- package/dist/chunks/{managed-policy-1epzdntc.js → filesystem-606e7s57.js} +11 -11
- package/dist/chunks/{managed-policy-d8mxbdrt.js → filesystem-60t2pvv5.js} +16 -16
- package/dist/chunks/{managed-policy-f6kvqh3r.js → filesystem-60zs3p88.js} +20 -20
- package/dist/chunks/{managed-policy-16z57f9y.js → filesystem-641m1tbz.js} +29 -29
- package/dist/chunks/{managed-policy-9qhqs605.js → filesystem-64g412fh.js} +26 -26
- package/dist/chunks/{managed-policy-qqrjxc2w.js → filesystem-64kw0922.js} +12 -12
- package/dist/chunks/{managed-policy-669tq793.js → filesystem-669tq793.js} +1 -1
- package/dist/chunks/{managed-policy-wpkjvcng.js → filesystem-66f30m3k.js} +11 -11
- package/dist/chunks/{managed-policy-azks30c4.js → filesystem-69mxx76a.js} +24 -24
- package/dist/chunks/{managed-policy-r9w3djhf.js → filesystem-6b2zjn2e.js} +9 -9
- package/dist/chunks/{managed-policy-j1rkkxtq.js → filesystem-6gwdhv30.js} +11 -11
- package/dist/chunks/{managed-policy-y0mc46pw.js → filesystem-6pzw4973.js} +9 -9
- package/dist/chunks/{managed-policy-6xb47vfp.js → filesystem-6xb47vfp.js} +1 -1
- package/dist/chunks/{managed-policy-yj382vm2.js → filesystem-6z9mwsmt.js} +24 -24
- package/dist/chunks/{managed-policy-63db42yp.js → filesystem-706phk7x.js} +2 -2
- package/dist/chunks/{managed-policy-hmgnztse.js → filesystem-70he0n48.js} +15 -15
- package/dist/chunks/{managed-policy-6m3tp8mj.js → filesystem-70hw7rqt.js} +25 -25
- package/dist/chunks/filesystem-716v4pk6.js +72 -0
- package/dist/chunks/{managed-policy-98pk7vxr.js → filesystem-74jethyg.js} +24 -24
- package/dist/chunks/{managed-policy-v23f9kf7.js → filesystem-74qydh90.js} +54 -54
- package/dist/chunks/{managed-policy-7bmhse3q.js → filesystem-7bmhse3q.js} +1 -1
- package/dist/chunks/{managed-policy-qgn6gcr1.js → filesystem-7dqw4kz8.js} +5 -5
- package/dist/chunks/{managed-policy-1rjc8rx3.js → filesystem-7f7etyks.js} +23 -23
- package/dist/chunks/{managed-policy-5dpktnqk.js → filesystem-7gmmhyav.js} +8 -8
- package/dist/chunks/{managed-policy-wnhksab4.js → filesystem-7htmkn1c.js} +45 -45
- package/dist/chunks/{managed-policy-w6rbpf4e.js → filesystem-7m5zn0j1.js} +39 -39
- package/dist/chunks/{managed-policy-enpcsfks.js → filesystem-7pp4szkv.js} +35 -35
- package/dist/chunks/{managed-policy-ab1k20a6.js → filesystem-7z7kh450.js} +4 -4
- package/dist/chunks/{managed-policy-exstxen9.js → filesystem-7zx1qa5e.js} +14 -14
- package/dist/chunks/{managed-policy-1dvck2a7.js → filesystem-84h8c373.js} +2 -2
- package/dist/chunks/{managed-policy-w1eejvng.js → filesystem-84txncab.js} +5 -5
- package/dist/chunks/{managed-policy-3hanrfct.js → filesystem-89w5ekkf.js} +17 -17
- package/dist/chunks/{managed-policy-5tcm9639.js → filesystem-8a6ws7jr.js} +9 -9
- package/dist/chunks/{managed-policy-8d7r5vzw.js → filesystem-8d7r5vzw.js} +1 -1
- package/dist/chunks/{managed-policy-q335xte2.js → filesystem-8q267h9v.js} +24 -24
- package/dist/chunks/{managed-policy-evg6eabx.js → filesystem-8t4stv32.js} +7 -7
- package/dist/chunks/{managed-policy-zy43x3f1.js → filesystem-8wbxkt1z.js} +4 -4
- package/dist/chunks/{managed-policy-gws45dxs.js → filesystem-93bn1gw0.js} +10 -10
- package/dist/chunks/{managed-policy-thxbv41p.js → filesystem-93tcn014.js} +18 -18
- package/dist/chunks/{managed-policy-n48dmbbt.js → filesystem-9acv8a8q.js} +4 -4
- package/dist/chunks/filesystem-9dftrr8m.js +31 -0
- package/dist/chunks/{managed-policy-8xkqg01v.js → filesystem-9fxhyr9d.js} +3 -3
- package/dist/chunks/{managed-policy-fqtvmpfq.js → filesystem-9jbvj98d.js} +8 -8
- package/dist/chunks/{managed-policy-254rtawq.js → filesystem-9nvbss96.js} +17 -17
- package/dist/chunks/{managed-policy-py9kw9tn.js → filesystem-a0g5q532.js} +22 -22
- package/dist/chunks/{managed-policy-bqb67z36.js → filesystem-a0nrfapa.js} +23 -23
- package/dist/chunks/{managed-policy-eq1pz5kg.js → filesystem-a1gpj94z.js} +3 -3
- package/dist/chunks/{managed-policy-nepz78e5.js → filesystem-a3xzgxah.js} +9 -9
- package/dist/chunks/{managed-policy-dzh8x6fa.js → filesystem-a8jhphkq.js} +19 -19
- package/dist/chunks/{managed-policy-aaet6srn.js → filesystem-aaet6srn.js} +2 -2
- package/dist/chunks/{managed-policy-gqtdsdt7.js → filesystem-addxnjmp.js} +4 -4
- package/dist/chunks/{managed-policy-dm99yka6.js → filesystem-adrc3k43.js} +29 -29
- package/dist/chunks/{managed-policy-2g7kj2k8.js → filesystem-af4g4tm2.js} +6 -6
- package/dist/chunks/{managed-policy-bkwdfw9d.js → filesystem-agas6951.js} +23 -23
- package/dist/chunks/{managed-policy-fnw4p95j.js → filesystem-azc0px7x.js} +30 -30
- package/dist/chunks/{managed-policy-mk8h694h.js → filesystem-b22x9jmk.js} +9 -9
- package/dist/chunks/{managed-policy-t2fc4mz5.js → filesystem-b27vhd2z.js} +4 -4
- package/dist/chunks/{managed-policy-b6gygkdw.js → filesystem-b6gygkdw.js} +2 -2
- package/dist/chunks/{managed-policy-nhnhrcwq.js → filesystem-b6yzx5gq.js} +22 -22
- package/dist/chunks/{managed-policy-zfasm7f5.js → filesystem-bj4xrtzj.js} +8 -8
- package/dist/chunks/{managed-policy-2b2w1tdt.js → filesystem-bjkh11zp.js} +8 -8
- package/dist/chunks/{managed-policy-6mf7zknn.js → filesystem-bmc7r4t8.js} +37 -37
- package/dist/chunks/{managed-policy-3zbwexce.js → filesystem-bn3rhc52.js} +11 -11
- package/dist/chunks/{managed-policy-ppk1gead.js → filesystem-bnm8fb8h.js} +47 -47
- package/dist/chunks/{managed-policy-dbc1qc54.js → filesystem-bvxyc9gc.js} +11 -11
- package/dist/chunks/{managed-policy-dd07kq7c.js → filesystem-byf7jksx.js} +18 -18
- package/dist/chunks/{managed-policy-sshrb621.js → filesystem-bzx1h3sx.js} +25 -25
- package/dist/chunks/{managed-policy-shtc3zvy.js → filesystem-cdrvgdex.js} +20 -20
- package/dist/chunks/{managed-policy-67gx64xn.js → filesystem-cdwz3t6x.js} +40 -40
- package/dist/chunks/{managed-policy-2qqgyr6a.js → filesystem-cg8t7cy8.js} +19 -19
- package/dist/chunks/{managed-policy-9web0d32.js → filesystem-cqnpbd2p.js} +6 -6
- package/dist/chunks/{managed-policy-jr8cgfk1.js → filesystem-czw6kqc3.js} +4 -4
- package/dist/chunks/{managed-policy-g4my6z3y.js → filesystem-d0e1hgt3.js} +20 -20
- package/dist/chunks/{managed-policy-eqkxs06z.js → filesystem-d1mtykxg.js} +6 -6
- package/dist/chunks/{managed-policy-dq17f564.js → filesystem-d3r3dk6y.js} +13 -13
- package/dist/chunks/{managed-policy-qqcbs79k.js → filesystem-d6dyd3fd.js} +6 -6
- package/dist/chunks/{managed-policy-8yfev5t1.js → filesystem-da0gtaay.js} +3 -3
- package/dist/chunks/{managed-policy-5qwkxp89.js → filesystem-dbv05mm3.js} +4 -4
- package/dist/chunks/{managed-policy-xjp9ycw1.js → filesystem-ddmpsqd0.js} +33 -33
- package/dist/chunks/{managed-policy-ckf8nxjz.js → filesystem-ddt2bs9e.js} +4 -4
- package/dist/chunks/{managed-policy-x2ntk5yv.js → filesystem-de9p37qw.js} +19 -19
- package/dist/chunks/filesystem-dgytgmtw.js +143 -0
- package/dist/chunks/{managed-policy-me746yqy.js → filesystem-dh3k95jc.js} +5 -5
- package/dist/chunks/{managed-policy-qc4vvddf.js → filesystem-dh7g9f8f.js} +11 -11
- package/dist/chunks/{managed-policy-pyfrz2yp.js → filesystem-dj6rd612.js} +9 -9
- package/dist/chunks/{managed-policy-qmqgtz8f.js → filesystem-djszqvmq.js} +9 -9
- package/dist/chunks/{managed-policy-r9d9xsbb.js → filesystem-dkgbpsr5.js} +32 -32
- package/dist/chunks/{managed-policy-phtj4jat.js → filesystem-dp49ea5z.js} +5 -5
- package/dist/chunks/{managed-policy-yv9p7m88.js → filesystem-dt2w98wh.js} +11 -11
- package/dist/chunks/{managed-policy-6jyw55rp.js → filesystem-dy46c2ft.js} +18 -18
- package/dist/chunks/{managed-policy-5qd3pb7m.js → filesystem-e3qxr5gk.js} +2 -2
- package/dist/chunks/{managed-policy-vzfpntg8.js → filesystem-e67e6j0j.js} +26 -26
- package/dist/chunks/{managed-policy-4q8xb7vk.js → filesystem-e82jk1xa.js} +22 -22
- package/dist/chunks/{managed-policy-z2fqwqvv.js → filesystem-e94fm7xg.js} +11 -11
- package/dist/chunks/{managed-policy-ef5x83kb.js → filesystem-ef5x83kb.js} +1 -1
- package/dist/chunks/{managed-policy-etq0c3wd.js → filesystem-etq0c3wd.js} +1 -1
- package/dist/chunks/{managed-policy-rent2jd4.js → filesystem-ewvqjf2t.js} +11 -11
- package/dist/chunks/{managed-policy-xsjbfs7s.js → filesystem-eyvwcx88.js} +12 -12
- package/dist/chunks/{managed-policy-g8ytx0e6.js → filesystem-f2mw6jyj.js} +11 -11
- package/dist/chunks/{managed-policy-71az546q.js → filesystem-f75zav2x.js} +2 -2
- package/dist/chunks/{managed-policy-xs81jx4r.js → filesystem-fntkcw1e.js} +13 -13
- package/dist/chunks/{managed-policy-975ebawg.js → filesystem-ftg1wqvm.js} +11 -11
- package/dist/chunks/{managed-policy-9qq8050t.js → filesystem-fyhztkyq.js} +174 -174
- package/dist/chunks/{managed-policy-2qx31yc6.js → filesystem-g29q4m4m.js} +21 -21
- package/dist/chunks/{managed-policy-gd4qta3r.js → filesystem-gd4qta3r.js} +1 -1
- package/dist/chunks/filesystem-gnt2zf9m.js +507 -0
- package/dist/chunks/{managed-policy-c10q7bwq.js → filesystem-gq5cp2m4.js} +29 -29
- package/dist/chunks/{managed-policy-w677k9fj.js → filesystem-grhtzbr5.js} +19 -19
- package/dist/chunks/{managed-policy-xkhn0stb.js → filesystem-gxv90b6f.js} +5 -5
- package/dist/chunks/{managed-policy-5md23d48.js → filesystem-h43jn5d4.js} +18 -18
- package/dist/chunks/{managed-policy-p4qmxczc.js → filesystem-h63vhw9z.js} +19 -19
- package/dist/chunks/{managed-policy-7avdme9t.js → filesystem-h6jnqrbn.js} +2 -2
- package/dist/chunks/{managed-policy-h6vf3j39.js → filesystem-h6vf3j39.js} +1 -1
- package/dist/chunks/{managed-policy-p3mjp9vn.js → filesystem-h6xrewk0.js} +75 -75
- package/dist/chunks/{managed-policy-gw7cjrad.js → filesystem-h9wp8z5w.js} +4 -4
- package/dist/chunks/{managed-policy-y6zxh1t7.js → filesystem-hkv302dx.js} +14 -14
- package/dist/chunks/{managed-policy-4c2df9zx.js → filesystem-hpfvhvya.js} +8 -8
- package/dist/chunks/{managed-policy-zxyy8bfe.js → filesystem-hr4wrrf6.js} +57 -57
- package/dist/chunks/{managed-policy-acnatzrp.js → filesystem-hrd1nde7.js} +4 -4
- package/dist/chunks/{managed-policy-7teayjnf.js → filesystem-ht6a65zw.js} +17 -17
- package/dist/chunks/{managed-policy-tpaw23f3.js → filesystem-j2865w2v.js} +11 -11
- package/dist/chunks/{managed-policy-j56e64zr.js → filesystem-j56e64zr.js} +1 -1
- package/dist/chunks/{managed-policy-g17w5wg1.js → filesystem-j7zryc91.js} +6 -6
- package/dist/chunks/{managed-policy-rkprpv83.js → filesystem-jktqzjpa.js} +8 -8
- package/dist/chunks/{managed-policy-j74g7mqr.js → filesystem-k2955xap.js} +6 -6
- package/dist/chunks/{managed-policy-459mc33k.js → filesystem-k3qk5v9m.js} +25 -25
- package/dist/chunks/{managed-policy-w2722vtt.js → filesystem-ka78bvwr.js} +34 -34
- package/dist/chunks/{managed-policy-9e5bzkjp.js → filesystem-kb9j3d72.js} +3 -3
- package/dist/chunks/{managed-policy-r3d0j56v.js → filesystem-kbx9zp93.js} +25 -25
- package/dist/chunks/{managed-policy-df8jaf6d.js → filesystem-m1213s2d.js} +4 -4
- package/dist/chunks/{managed-policy-m3fdjcah.js → filesystem-m3fdjcah.js} +1 -1
- package/dist/chunks/{managed-policy-6xn9vhwr.js → filesystem-m69ksr44.js} +2 -2
- package/dist/chunks/{managed-policy-m9w0rfyh.js → filesystem-m9w0rfyh.js} +1 -1
- package/dist/chunks/{managed-policy-06yeazan.js → filesystem-mk9jrdj5.js} +1 -1
- package/dist/chunks/{managed-policy-9hr53hdz.js → filesystem-mpjek28k.js} +86 -86
- package/dist/chunks/{managed-policy-ss358qx3.js → filesystem-n7d88tpn.js} +3 -3
- package/dist/chunks/{managed-policy-4qz2jy35.js → filesystem-ndv6xaj5.js} +13 -13
- package/dist/chunks/{managed-policy-k7y67xhs.js → filesystem-nh3a7tvc.js} +8 -8
- package/dist/chunks/{managed-policy-a2gae43d.js → filesystem-npd1vztc.js} +10 -10
- package/dist/chunks/{managed-policy-9jrdkbpa.js → filesystem-npy1jpkw.js} +8 -8
- package/dist/chunks/{managed-policy-d3y08a9a.js → filesystem-nshzc8pb.js} +6 -6
- package/dist/chunks/{managed-policy-65245510.js → filesystem-nwwy52aa.js} +5 -5
- package/dist/chunks/{managed-policy-dpkg50ah.js → filesystem-nxm207yx.js} +4 -4
- package/dist/chunks/{managed-policy-g0445xdp.js → filesystem-p37cw4rj.js} +8 -8
- package/dist/chunks/{managed-policy-46v0s1hp.js → filesystem-p76qarx3.js} +17 -17
- package/dist/chunks/{managed-policy-d8kjn5t6.js → filesystem-pabbzeed.js} +3 -3
- package/dist/chunks/{managed-policy-93hnm8e8.js → filesystem-pedtrev3.js} +30 -30
- package/dist/chunks/{managed-policy-721zw7bm.js → filesystem-ph3trhh7.js} +27 -27
- package/dist/chunks/{managed-policy-pjvnvgmy.js → filesystem-pjvnvgmy.js} +1 -1
- package/dist/chunks/{managed-policy-pknna89w.js → filesystem-pknna89w.js} +1 -1
- package/dist/chunks/{managed-policy-7sxxghw0.js → filesystem-pvz2ybrw.js} +8 -8
- package/dist/chunks/{managed-policy-k08ezkqp.js → filesystem-q1ebemwr.js} +11 -11
- package/dist/chunks/{managed-policy-nrs2fee3.js → filesystem-q3p7br47.js} +5 -5
- package/dist/chunks/{managed-policy-t5h6g2ht.js → filesystem-q7d95chg.js} +42 -42
- package/dist/chunks/{managed-policy-qnc92qwc.js → filesystem-qnc92qwc.js} +1 -1
- package/dist/chunks/{managed-policy-x8v70qwz.js → filesystem-qqe847jd.js} +16 -16
- package/dist/chunks/{managed-policy-gs74ya0r.js → filesystem-qqv1hm2r.js} +29 -29
- package/dist/chunks/{managed-policy-qsdy395h.js → filesystem-qsdy395h.js} +1 -1
- package/dist/chunks/{managed-policy-dw835dm2.js → filesystem-qv57k41b.js} +15 -15
- package/dist/chunks/{managed-policy-rhraev7y.js → filesystem-r8xr0va3.js} +4 -4
- package/dist/chunks/{managed-policy-rdw6cm16.js → filesystem-rdw6cm16.js} +1 -1
- package/dist/chunks/{managed-policy-14wx0bkd.js → filesystem-re6fq1vt.js} +13 -13
- package/dist/chunks/{managed-policy-e9v0a8nt.js → filesystem-rgn471sa.js} +22 -22
- package/dist/chunks/{managed-policy-wv396vej.js → filesystem-rhjbct0v.js} +8 -8
- package/dist/chunks/{managed-policy-9x8tc8sp.js → filesystem-rjmaf817.js} +7 -7
- package/dist/chunks/{managed-policy-0ge1h6kx.js → filesystem-s3f3na3g.js} +3 -3
- package/dist/chunks/{managed-policy-kqjv8prj.js → filesystem-s4363v40.js} +21 -21
- package/dist/chunks/{managed-policy-qygbw77c.js → filesystem-scgrse2b.js} +5 -5
- package/dist/chunks/{managed-policy-d8ck81wr.js → filesystem-scxjzwy3.js} +11 -11
- package/dist/chunks/{managed-policy-w973dr2w.js → filesystem-svmhx4z4.js} +13 -13
- package/dist/chunks/{managed-policy-j9nbzdbc.js → filesystem-sy6m8g0m.js} +12 -12
- package/dist/chunks/{managed-policy-sz0fczdy.js → filesystem-t6msp11s.js} +6 -6
- package/dist/chunks/{managed-policy-tazgh4e4.js → filesystem-tazgh4e4.js} +1 -1
- package/dist/chunks/{managed-policy-tcezcvh9.js → filesystem-tcezcvh9.js} +1 -1
- package/dist/chunks/{managed-policy-tdstcens.js → filesystem-tdstcens.js} +1 -1
- package/dist/chunks/{managed-policy-29wxfsp2.js → filesystem-tetvtk1x.js} +36 -36
- package/dist/chunks/{managed-policy-02wmet1s.js → filesystem-tp320r54.js} +23 -23
- package/dist/chunks/{managed-policy-8rp5913h.js → filesystem-tq3jytt0.js} +14 -14
- package/dist/chunks/{managed-policy-91wpvk88.js → filesystem-ttmczaxh.js} +31 -31
- package/dist/chunks/{managed-policy-v0es1rhs.js → filesystem-v0es1rhs.js} +2 -2
- package/dist/chunks/{managed-policy-d9gc1nmt.js → filesystem-v6q8pczy.js} +33 -33
- package/dist/chunks/{managed-policy-65jde4my.js → filesystem-v7exs4mj.js} +17 -17
- package/dist/chunks/filesystem-v8d9pxf2.js +253 -0
- package/dist/chunks/{managed-policy-j5rxtxht.js → filesystem-vbfgae2j.js} +4 -4
- package/dist/chunks/{managed-policy-veqvce7d.js → filesystem-veqvce7d.js} +1 -1
- package/dist/chunks/{managed-policy-29garr4v.js → filesystem-vfavjxm7.js} +1 -1
- package/dist/chunks/{managed-policy-zggnq27k.js → filesystem-vjf1hyyy.js} +7 -7
- package/dist/chunks/filesystem-vnkjks7b.js +18 -0
- package/dist/chunks/{managed-policy-mm3pa1p9.js → filesystem-vp7x5tg7.js} +43 -43
- package/dist/chunks/{managed-policy-cavr175a.js → filesystem-vsp1fds9.js} +21 -21
- package/dist/chunks/{managed-policy-dnt2jfde.js → filesystem-vwmxq978.js} +11 -11
- package/dist/chunks/{managed-policy-bgxarxct.js → filesystem-vwy2dwsg.js} +92 -92
- package/dist/chunks/{managed-policy-vzcthcp8.js → filesystem-vzcthcp8.js} +1 -1
- package/dist/chunks/{managed-policy-vzs5sf6e.js → filesystem-vzs5sf6e.js} +1 -1
- package/dist/chunks/{managed-policy-drwq78ky.js → filesystem-w19d8598.js} +7 -7
- package/dist/chunks/{managed-policy-n9axn9y3.js → filesystem-w1ad28wa.js} +8 -8
- package/dist/chunks/{managed-policy-db0nhp4v.js → filesystem-w1bpwr2w.js} +20 -20
- package/dist/chunks/{managed-policy-weagkh0e.js → filesystem-w2apjenm.js} +7 -7
- package/dist/chunks/{managed-policy-w39jehkq.js → filesystem-w2h15q85.js} +5 -5
- package/dist/chunks/{managed-policy-w3wsvvr9.js → filesystem-w3wsvvr9.js} +1 -1
- package/dist/chunks/{managed-policy-wd87259q.js → filesystem-wd87259q.js} +1 -1
- package/dist/chunks/{managed-policy-9f69r79s.js → filesystem-wj5nvfcv.js} +21 -21
- package/dist/chunks/{managed-policy-q6w467xr.js → filesystem-ws9vx4zj.js} +16 -16
- package/dist/chunks/{managed-policy-e10k1cys.js → filesystem-wst4rpdj.js} +15 -15
- package/dist/chunks/{managed-policy-zvht52jd.js → filesystem-wvg70fph.js} +15 -15
- package/dist/chunks/{managed-policy-vsbamy9h.js → filesystem-wyyxkk5r.js} +18 -18
- package/dist/chunks/{managed-policy-kc20gndt.js → filesystem-x2q3h1g0.js} +14 -14
- package/dist/chunks/{managed-policy-6ba3xpax.js → filesystem-x35qpc5t.js} +28 -28
- package/dist/chunks/{managed-policy-b4d01myw.js → filesystem-x3kctc80.js} +44 -44
- package/dist/chunks/{managed-policy-m64xvjj1.js → filesystem-x6pyv2yz.js} +5 -5
- package/dist/chunks/{managed-policy-4hh2xy14.js → filesystem-x72cyxkw.js} +3 -3
- package/dist/chunks/{managed-policy-cc75tkym.js → filesystem-xgsp1r84.js} +2 -2
- package/dist/chunks/{managed-policy-5j1v3jqf.js → filesystem-xk2tzhhe.js} +33 -33
- package/dist/chunks/{managed-policy-xkntkrq7.js → filesystem-xkntkrq7.js} +2 -2
- package/dist/chunks/{managed-policy-tekbgh3x.js → filesystem-xnpkzqyy.js} +10 -10
- package/dist/chunks/{managed-policy-xyafkbt0.js → filesystem-xyafkbt0.js} +3 -3
- package/dist/chunks/{managed-policy-w7066q4p.js → filesystem-y1bjwcm4.js} +5 -5
- package/dist/chunks/{managed-policy-y1fvbwt7.js → filesystem-y1fvbwt7.js} +1 -1
- package/dist/chunks/{managed-policy-e4vaeb0t.js → filesystem-y94qedfr.js} +26 -26
- package/dist/chunks/{managed-policy-5q13c62c.js → filesystem-yf10kn3d.js} +8 -8
- package/dist/chunks/{managed-policy-cqwk4fcq.js → filesystem-yfz2rgwt.js} +3 -3
- package/dist/chunks/{managed-policy-gear7qnb.js → filesystem-yn6pjxmn.js} +48 -48
- package/dist/chunks/{managed-policy-zs5zztja.js → filesystem-yssy4yg8.js} +9 -9
- package/dist/chunks/{managed-policy-vvmfhg21.js → filesystem-yvekp6xe.js} +28 -28
- package/dist/chunks/{managed-policy-abx012e0.js → filesystem-yvfhqz1f.js} +48 -48
- package/dist/chunks/{managed-policy-z0bkrqjs.js → filesystem-z0bkrqjs.js} +1 -1
- package/dist/chunks/{managed-policy-59790n6y.js → filesystem-z3t1gjd3.js} +12 -12
- package/dist/chunks/{managed-policy-h07qkwg0.js → filesystem-zfqr1f4t.js} +8 -8
- package/dist/chunks/{managed-policy-9hwaqfsw.js → filesystem-zmr78fwr.js} +5 -5
- package/dist/chunks/{managed-policy-wxyynt4w.js → filesystem-znsx74x0.js} +1 -1
- package/dist/chunks/{managed-policy-zr2ceqn5.js → filesystem-zr2ceqn5.js} +1 -1
- package/dist/chunks/{managed-policy-zxq2ej10.js → filesystem-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 +99 -99
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +132 -132
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- 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 +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +70 -70
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/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 +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -363
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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/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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +218 -218
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +355 -354
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +352 -351
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- 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 +102 -102
- package/dist/models-dev.js +99 -99
- 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 +117 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -326
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- 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 +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- 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 +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +116 -115
- package/dist/plugin/provider/local.js +118 -0
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +116 -115
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- 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 +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +116 -115
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +156 -155
- package/dist/plugin/sdk.js +70 -70
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -341
- 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/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -214
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- 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 +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- 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 +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +201 -201
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- 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 +126 -126
- package/dist/tool/plugin/edit.js +118 -118
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- 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 +7 -7
- package/dist/tool.js +16 -16
- package/dist/types/plugin/provider/lmstudio.d.ts +2 -5
- package/dist/types/plugin/provider/local.d.ts +29 -0
- package/dist/types/plugin/provider/ollama.d.ts +2 -5
- package/dist/types/plugin/provider/vllm.d.ts +2 -5
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- 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 +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/managed-policy-5p07r5rm.js +0 -145
- package/dist/chunks/managed-policy-619r8v3y.js +0 -18
- package/dist/chunks/managed-policy-a1bw3dq9.js +0 -507
- package/dist/chunks/managed-policy-ewksh3kr.js +0 -26
- package/dist/chunks/managed-policy-jvezg3bv.js +0 -173
- package/dist/chunks/managed-policy-r3w4rbh2.js +0 -253
- package/dist/chunks/managed-policy-yj7tpypp.js +0 -137
- /package/dist/chunks/{managed-policy-0qkdqm5v.js → filesystem-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{managed-policy-0zkw76rk.js → filesystem-0zkw76rk.js} +0 -0
- /package/dist/chunks/{managed-policy-17cy0kzp.js → filesystem-17cy0kzp.js} +0 -0
- /package/dist/chunks/{managed-policy-1cnp2v09.js → filesystem-1cnp2v09.js} +0 -0
- /package/dist/chunks/{managed-policy-1kg9ymc8.js → filesystem-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{managed-policy-24dcb14g.js → filesystem-24dcb14g.js} +0 -0
- /package/dist/chunks/{managed-policy-2710q6r3.js → filesystem-2710q6r3.js} +0 -0
- /package/dist/chunks/{managed-policy-2axfhc9x.js → filesystem-2axfhc9x.js} +0 -0
- /package/dist/chunks/{managed-policy-2c3vjs8z.js → filesystem-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{managed-policy-34c7v6d4.js → filesystem-34c7v6d4.js} +0 -0
- /package/dist/chunks/{managed-policy-359p4xyc.js → filesystem-359p4xyc.js} +0 -0
- /package/dist/chunks/{managed-policy-3asan66x.js → filesystem-3asan66x.js} +0 -0
- /package/dist/chunks/{managed-policy-3t0ybcrp.js → filesystem-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{managed-policy-3v8g72cx.js → filesystem-3v8g72cx.js} +0 -0
- /package/dist/chunks/{managed-policy-3w5fmr99.js → filesystem-3w5fmr99.js} +0 -0
- /package/dist/chunks/{managed-policy-3wcehsnq.js → filesystem-3wcehsnq.js} +0 -0
- /package/dist/chunks/{managed-policy-43n2bw4t.js → filesystem-43n2bw4t.js} +0 -0
- /package/dist/chunks/{managed-policy-4knz6hnm.js → filesystem-4knz6hnm.js} +0 -0
- /package/dist/chunks/{managed-policy-4vcrnpx2.js → filesystem-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{managed-policy-4y7fprxs.js → filesystem-4y7fprxs.js} +0 -0
- /package/dist/chunks/{managed-policy-53557ph1.js → filesystem-53557ph1.js} +0 -0
- /package/dist/chunks/{managed-policy-550bvhaj.js → filesystem-550bvhaj.js} +0 -0
- /package/dist/chunks/{managed-policy-6prwharc.js → filesystem-6prwharc.js} +0 -0
- /package/dist/chunks/{managed-policy-7akdwqpd.js → filesystem-7akdwqpd.js} +0 -0
- /package/dist/chunks/{managed-policy-7m9af43g.js → filesystem-7m9af43g.js} +0 -0
- /package/dist/chunks/{managed-policy-822emrt2.js → filesystem-822emrt2.js} +0 -0
- /package/dist/chunks/{managed-policy-88xbtdfr.js → filesystem-88xbtdfr.js} +0 -0
- /package/dist/chunks/{managed-policy-8n3pysct.js → filesystem-8n3pysct.js} +0 -0
- /package/dist/chunks/{managed-policy-8wj87zfr.js → filesystem-8wj87zfr.js} +0 -0
- /package/dist/chunks/{managed-policy-9a4afbnw.js → filesystem-9a4afbnw.js} +0 -0
- /package/dist/chunks/{managed-policy-9rqn6x4v.js → filesystem-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{managed-policy-a6k6eb26.js → filesystem-a6k6eb26.js} +0 -0
- /package/dist/chunks/{managed-policy-af5trqkr.js → filesystem-af5trqkr.js} +0 -0
- /package/dist/chunks/{managed-policy-afrmfg78.js → filesystem-afrmfg78.js} +0 -0
- /package/dist/chunks/{managed-policy-aqzs7mqg.js → filesystem-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{managed-policy-atq7p7m5.js → filesystem-atq7p7m5.js} +0 -0
- /package/dist/chunks/{managed-policy-bkyjaxrp.js → filesystem-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{managed-policy-bmr6ed5q.js → filesystem-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{managed-policy-cf4snx6d.js → filesystem-cf4snx6d.js} +0 -0
- /package/dist/chunks/{managed-policy-cvy3z8tj.js → filesystem-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{managed-policy-d9fn303g.js → filesystem-d9fn303g.js} +0 -0
- /package/dist/chunks/{managed-policy-d9jj8t3e.js → filesystem-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{managed-policy-dajrwvna.js → filesystem-dajrwvna.js} +0 -0
- /package/dist/chunks/{managed-policy-dap0rakb.js → filesystem-dap0rakb.js} +0 -0
- /package/dist/chunks/{managed-policy-df08tz66.js → filesystem-df08tz66.js} +0 -0
- /package/dist/chunks/{managed-policy-dy18nga0.js → filesystem-dy18nga0.js} +0 -0
- /package/dist/chunks/{managed-policy-e5kj55wp.js → filesystem-e5kj55wp.js} +0 -0
- /package/dist/chunks/{managed-policy-e73j6tqm.js → filesystem-e73j6tqm.js} +0 -0
- /package/dist/chunks/{managed-policy-ec1grn59.js → filesystem-ec1grn59.js} +0 -0
- /package/dist/chunks/{managed-policy-eh3zwz77.js → filesystem-eh3zwz77.js} +0 -0
- /package/dist/chunks/{managed-policy-emrn6kk6.js → filesystem-emrn6kk6.js} +0 -0
- /package/dist/chunks/{managed-policy-f0mxakyp.js → filesystem-f0mxakyp.js} +0 -0
- /package/dist/chunks/{managed-policy-f6n9ztr4.js → filesystem-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{managed-policy-faypxj3z.js → filesystem-faypxj3z.js} +0 -0
- /package/dist/chunks/{managed-policy-fd410y7t.js → filesystem-fd410y7t.js} +0 -0
- /package/dist/chunks/{managed-policy-fxgpk5d8.js → filesystem-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{managed-policy-g4wezp1m.js → filesystem-g4wezp1m.js} +0 -0
- /package/dist/chunks/{managed-policy-g86h250q.js → filesystem-g86h250q.js} +0 -0
- /package/dist/chunks/{managed-policy-gebd4c9n.js → filesystem-gebd4c9n.js} +0 -0
- /package/dist/chunks/{managed-policy-gftt206x.js → filesystem-gftt206x.js} +0 -0
- /package/dist/chunks/{managed-policy-hjbc5kem.js → filesystem-hjbc5kem.js} +0 -0
- /package/dist/chunks/{managed-policy-hk9envan.js → filesystem-hk9envan.js} +0 -0
- /package/dist/chunks/{managed-policy-j2ntwpah.js → filesystem-j2ntwpah.js} +0 -0
- /package/dist/chunks/{managed-policy-j5zkgpj8.js → filesystem-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{managed-policy-jjkms2e6.js → filesystem-jjkms2e6.js} +0 -0
- /package/dist/chunks/{managed-policy-jr7sbwjy.js → filesystem-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{managed-policy-jwfs4k6c.js → filesystem-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{managed-policy-jzg6c2d5.js → filesystem-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{managed-policy-mp448xyj.js → filesystem-mp448xyj.js} +0 -0
- /package/dist/chunks/{managed-policy-msx8hqn2.js → filesystem-msx8hqn2.js} +0 -0
- /package/dist/chunks/{managed-policy-n05xt0ee.js → filesystem-n05xt0ee.js} +0 -0
- /package/dist/chunks/{managed-policy-n3j8tn72.js → filesystem-n3j8tn72.js} +0 -0
- /package/dist/chunks/{managed-policy-njntx4h6.js → filesystem-njntx4h6.js} +0 -0
- /package/dist/chunks/{managed-policy-q3sfg36h.js → filesystem-q3sfg36h.js} +0 -0
- /package/dist/chunks/{managed-policy-q74kybfr.js → filesystem-q74kybfr.js} +0 -0
- /package/dist/chunks/{managed-policy-qaymkmh1.js → filesystem-qaymkmh1.js} +0 -0
- /package/dist/chunks/{managed-policy-qb87gjwd.js → filesystem-qb87gjwd.js} +0 -0
- /package/dist/chunks/{managed-policy-qfa1cgps.js → filesystem-qfa1cgps.js} +0 -0
- /package/dist/chunks/{managed-policy-qg3g05ea.js → filesystem-qg3g05ea.js} +0 -0
- /package/dist/chunks/{managed-policy-qrg20bc0.js → filesystem-qrg20bc0.js} +0 -0
- /package/dist/chunks/{managed-policy-rcb2kzg1.js → filesystem-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{managed-policy-sdp7kfr6.js → filesystem-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{managed-policy-ssg3fenm.js → filesystem-ssg3fenm.js} +0 -0
- /package/dist/chunks/{managed-policy-w803qqfp.js → filesystem-w803qqfp.js} +0 -0
- /package/dist/chunks/{managed-policy-wc3fc9cn.js → filesystem-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{managed-policy-wer8tq1h.js → filesystem-wer8tq1h.js} +0 -0
- /package/dist/chunks/{managed-policy-wtztk69x.js → filesystem-wtztk69x.js} +0 -0
- /package/dist/chunks/{managed-policy-x0ckcb58.js → filesystem-x0ckcb58.js} +0 -0
- /package/dist/chunks/{managed-policy-x61499pn.js → filesystem-x61499pn.js} +0 -0
- /package/dist/chunks/{managed-policy-y44na4kk.js → filesystem-y44na4kk.js} +0 -0
- /package/dist/chunks/{managed-policy-y8cydn3q.js → filesystem-y8cydn3q.js} +0 -0
- /package/dist/chunks/{managed-policy-y8f7s663.js → filesystem-y8f7s663.js} +0 -0
- /package/dist/chunks/{managed-policy-ygaqb7jw.js → filesystem-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{managed-policy-ym463w8f.js → filesystem-ym463w8f.js} +0 -0
- /package/dist/chunks/{managed-policy-z5v4ffb3.js → filesystem-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{managed-policy-z9919s4g.js → filesystem-z9919s4g.js} +0 -0
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-addxnjmp.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-7gmmhyav.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./filesystem-xk2tzhhe.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./filesystem-pedtrev3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID13,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service76
|
|
20
|
+
} from "./filesystem-adrc3k43.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID12
|
|
23
|
+
} from "./filesystem-5pfs40b8.js";
|
|
24
24
|
import {
|
|
25
25
|
load3,
|
|
26
26
|
derive3
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./filesystem-dt2w98wh.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./filesystem-vwmxq978.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID9
|
|
33
|
+
} from "./filesystem-69mxx76a.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
35
|
+
get5
|
|
36
|
+
} from "./filesystem-54ma36ye.js";
|
|
37
37
|
|
|
38
38
|
// src/plugin/provider/github-copilot.ts
|
|
39
39
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -65,7 +65,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
65
65
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
66
66
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
67
67
|
var oauth = (app) => ({
|
|
68
|
-
integrationID:
|
|
68
|
+
integrationID: ID14.make("github-copilot"),
|
|
69
69
|
method: {
|
|
70
70
|
id: methodID,
|
|
71
71
|
type: "oauth",
|
|
@@ -163,7 +163,7 @@ var oauth = (app) => ({
|
|
|
163
163
|
var GithubCopilotPlugin2 = define({
|
|
164
164
|
id: "opencode.provider.github.copilot",
|
|
165
165
|
effect: Effect.fn(function* (ctx) {
|
|
166
|
-
const providers = yield*
|
|
166
|
+
const providers = yield* Service76;
|
|
167
167
|
const bus = yield* Service82;
|
|
168
168
|
const loading = Semaphore.makeUnsafe(1);
|
|
169
169
|
const loaded = {};
|
|
@@ -180,7 +180,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
180
180
|
return;
|
|
181
181
|
}
|
|
182
182
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
183
|
-
const provider = yield* providers.get(
|
|
183
|
+
const provider = yield* providers.get(ID13.githubCopilot);
|
|
184
184
|
const remote = yield* Effect.tryPromise({
|
|
185
185
|
try: () => load3(url, {
|
|
186
186
|
...provider?.headers,
|
|
@@ -202,7 +202,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
202
202
|
editor.method.update(oauth(ctx.app));
|
|
203
203
|
});
|
|
204
204
|
yield* ctx.provider.transform((evt) => {
|
|
205
|
-
const item = evt.get(
|
|
205
|
+
const item = evt.get(ID13.githubCopilot);
|
|
206
206
|
if (!item)
|
|
207
207
|
return;
|
|
208
208
|
if (loaded.models) {
|
|
@@ -222,17 +222,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
222
222
|
}
|
|
223
223
|
});
|
|
224
224
|
yield* ctx.model.transform((models) => {
|
|
225
|
-
if (models.get(
|
|
226
|
-
models.update(
|
|
225
|
+
if (models.get(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"))) {
|
|
226
|
+
models.update(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"), (model) => {
|
|
227
227
|
model.enabled = false;
|
|
228
228
|
});
|
|
229
229
|
}
|
|
230
230
|
});
|
|
231
231
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
232
|
-
yield* bus.subscribe(
|
|
232
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
233
233
|
yield* refresh().pipe(Effect.forkScoped);
|
|
234
234
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
235
|
-
if (evt.model.providerID !==
|
|
235
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
236
236
|
return;
|
|
237
237
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
238
238
|
return;
|
|
@@ -241,23 +241,23 @@ var GithubCopilotPlugin2 = define({
|
|
|
241
241
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
242
242
|
}));
|
|
243
243
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
244
|
-
if (evt.model.providerID !==
|
|
244
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
245
245
|
return;
|
|
246
246
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
247
247
|
return;
|
|
248
248
|
}));
|
|
249
249
|
const interaction = interactionType2(evt.kind, session?.parentID !== undefined);
|
|
250
250
|
evt.headers["X-Interaction-Type"] = interaction;
|
|
251
|
-
evt.headers["X-Interaction-Id"] = session ?
|
|
251
|
+
evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
|
|
252
252
|
if (interaction !== "conversation-agent")
|
|
253
253
|
evt.headers["x-initiator"] = "agent";
|
|
254
|
-
}), { providerID:
|
|
254
|
+
}), { providerID: ID13.githubCopilot });
|
|
255
255
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
256
|
-
if (evt.model.providerID !==
|
|
256
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
257
257
|
return;
|
|
258
258
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
259
259
|
return;
|
|
260
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
260
|
+
const agent = yield* ctx.agent.get({ agentID: ID9.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
261
261
|
return;
|
|
262
262
|
}));
|
|
263
263
|
if (agent?.data.model)
|
|
@@ -268,9 +268,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
268
268
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
269
269
|
return;
|
|
270
270
|
}));
|
|
271
|
-
}), { providerID:
|
|
271
|
+
}), { providerID: ID13.githubCopilot });
|
|
272
272
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
273
|
-
if (evt.model.providerID !==
|
|
273
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
274
274
|
return;
|
|
275
275
|
const token = evt.request.headers.get("x-api-key");
|
|
276
276
|
if (!token)
|
|
@@ -278,9 +278,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
278
278
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
279
279
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
280
280
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
281
|
-
}), { providerID:
|
|
281
|
+
}), { providerID: ID13.githubCopilot });
|
|
282
282
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
283
|
-
if (evt.model.providerID !==
|
|
283
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
284
284
|
return;
|
|
285
285
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
286
286
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-qnc92qwc.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-3cegwx68.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80,
|
|
6
6
|
node84
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-xgsp1r84.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service67,
|
|
10
|
+
node70
|
|
11
|
+
} from "./filesystem-h43jn5d4.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./filesystem-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options7,
|
|
25
|
+
Service: () => Service66,
|
|
26
|
+
configured: () => configured8,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer22,
|
|
29
|
+
node: () => node69,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options7 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service66 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service66, Effect.gen(function* () {
|
|
62
62
|
const location = yield* Service80;
|
|
63
|
-
const ripgrep = yield*
|
|
63
|
+
const ripgrep = yield* Service67;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -105,14 +105,14 @@ var ripgrepLayer2 = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service66.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
115
|
+
var fffLayer2 = Layer.effect(Service66, Effect.gen(function* () {
|
|
116
116
|
const location = yield* Service80;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service66.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service66.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,7 +174,7 @@ var fffLayer2 = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
177
|
+
var layer22 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
178
|
const location = yield* Service80;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
@@ -182,9 +182,9 @@ var layer9 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured8(options) {
|
|
186
|
+
return makeLocationNode({ service: Service66, layer: layer22(options), deps: [node84, node70] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node69 = configured8();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options7, Service66, ripgrepLayer2, fffLayer2, layer22, configured8, node69, exports_search };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service68
|
|
3
|
+
} from "./filesystem-5sh4vwnj.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -21,7 +21,7 @@ var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
|
21
21
|
var EXIT_WAIT = Duration.seconds(1);
|
|
22
22
|
var STDERR_TAIL = 1000;
|
|
23
23
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
24
|
-
const environment = yield*
|
|
24
|
+
const environment = yield* Service68;
|
|
25
25
|
const scope = yield* Effect.scope;
|
|
26
26
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
27
27
|
const buffer = new ReadBuffer;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveNullableObjectPaths2,
|
|
3
3
|
mapResultRow2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-emrn6kk6.js";
|
|
5
5
|
import {
|
|
6
6
|
SQLiteEffectDatabase2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-vjf1hyyy.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/session.ts
|
|
10
10
|
import * as Cause from "effect/Cause";
|
|
@@ -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,118 +1,118 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./filesystem-ftg1wqvm.js";
|
|
5
5
|
import {
|
|
6
6
|
Service80,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./filesystem-xgsp1r84.js";
|
|
9
9
|
import {
|
|
10
10
|
VariantID2,
|
|
11
11
|
Ref2,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service74,
|
|
13
|
+
node78
|
|
14
|
+
} from "./filesystem-5pfs40b8.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
16
|
+
ID9,
|
|
17
|
+
Service62,
|
|
18
|
+
node65
|
|
19
|
+
} from "./filesystem-69mxx76a.js";
|
|
20
20
|
import {
|
|
21
21
|
AgentNotFoundError2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./filesystem-22f357wt.js";
|
|
23
23
|
import {
|
|
24
24
|
combine2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./filesystem-rhjbct0v.js";
|
|
26
26
|
import {
|
|
27
27
|
provenance2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./filesystem-h9wp8z5w.js";
|
|
29
29
|
import {
|
|
30
30
|
entriesForRunner2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./filesystem-scxjzwy3.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service61,
|
|
34
|
+
node64
|
|
35
|
+
} from "./filesystem-h63vhw9z.js";
|
|
36
36
|
import {
|
|
37
37
|
merge2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./filesystem-hr4wrrf6.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
40
|
+
make16
|
|
41
|
+
} from "./filesystem-7zx1qa5e.js";
|
|
42
42
|
import {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
43
|
+
Service48,
|
|
44
|
+
node51
|
|
45
|
+
} from "./filesystem-8q267h9v.js";
|
|
46
46
|
import {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
} from "./
|
|
47
|
+
Service24,
|
|
48
|
+
node27
|
|
49
|
+
} from "./filesystem-60t2pvv5.js";
|
|
50
50
|
import {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
} from "./
|
|
51
|
+
Service34,
|
|
52
|
+
node37
|
|
53
|
+
} from "./filesystem-k3qk5v9m.js";
|
|
54
54
|
import {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
55
|
+
Service26,
|
|
56
|
+
node29
|
|
57
|
+
} from "./filesystem-70hw7rqt.js";
|
|
58
|
+
import {
|
|
59
|
+
Service25,
|
|
60
|
+
node28
|
|
61
|
+
} from "./filesystem-tp320r54.js";
|
|
58
62
|
import {
|
|
59
63
|
Service28,
|
|
64
|
+
node31
|
|
65
|
+
} from "./filesystem-de9p37qw.js";
|
|
66
|
+
import {
|
|
67
|
+
Service29,
|
|
60
68
|
node32
|
|
61
|
-
} from "./
|
|
69
|
+
} from "./filesystem-cg8t7cy8.js";
|
|
62
70
|
import {
|
|
63
71
|
Service27,
|
|
64
|
-
|
|
65
|
-
} from "./
|
|
72
|
+
node30
|
|
73
|
+
} from "./filesystem-d0e1hgt3.js";
|
|
66
74
|
import {
|
|
67
|
-
|
|
75
|
+
Service31,
|
|
68
76
|
node34
|
|
69
|
-
} from "./
|
|
70
|
-
import {
|
|
71
|
-
Service33,
|
|
72
|
-
node37
|
|
73
|
-
} from "./managed-policy-g4my6z3y.js";
|
|
74
|
-
import {
|
|
75
|
-
Service34,
|
|
76
|
-
node38
|
|
77
|
-
} from "./managed-policy-enpcsfks.js";
|
|
77
|
+
} from "./filesystem-7pp4szkv.js";
|
|
78
78
|
import {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
} from "./
|
|
79
|
+
Service38,
|
|
80
|
+
node40
|
|
81
|
+
} from "./filesystem-ndv6xaj5.js";
|
|
82
82
|
import {
|
|
83
83
|
__export
|
|
84
|
-
} from "./
|
|
84
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
85
85
|
|
|
86
86
|
// src/session/context.ts
|
|
87
87
|
var exports_context = {};
|
|
88
88
|
__export(exports_context, {
|
|
89
|
-
Service: () =>
|
|
89
|
+
Service: () => Service23,
|
|
90
90
|
SessionContext: () => exports_context,
|
|
91
|
-
node: () =>
|
|
91
|
+
node: () => node26
|
|
92
92
|
});
|
|
93
93
|
import { Context, Effect, Layer } from "effect";
|
|
94
94
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
95
|
-
class
|
|
95
|
+
class Service23 extends Context.Service()("@opencode/SessionContext") {
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
98
|
-
const agents = yield*
|
|
99
|
-
const builtins = yield*
|
|
100
|
-
const model = yield*
|
|
101
|
-
const db = (yield*
|
|
102
|
-
const discovery = yield*
|
|
103
|
-
const entries = yield*
|
|
97
|
+
var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
98
|
+
const agents = yield* Service62;
|
|
99
|
+
const builtins = yield* Service24;
|
|
100
|
+
const model = yield* Service74;
|
|
101
|
+
const db = (yield* Service83).db;
|
|
102
|
+
const discovery = yield* Service48;
|
|
103
|
+
const entries = yield* Service27;
|
|
104
104
|
const location = yield* Service80;
|
|
105
|
-
const mcpInstructions = yield*
|
|
106
|
-
const mcpTools = yield*
|
|
107
|
-
const models = yield*
|
|
108
|
-
const request = yield*
|
|
109
|
-
const referenceInstructions = yield*
|
|
110
|
-
const skillInstructions = yield*
|
|
111
|
-
const store = yield*
|
|
112
|
-
const registry = yield*
|
|
105
|
+
const mcpInstructions = yield* Service25;
|
|
106
|
+
const mcpTools = yield* Service26;
|
|
107
|
+
const models = yield* Service38;
|
|
108
|
+
const request = yield* Service31;
|
|
109
|
+
const referenceInstructions = yield* Service28;
|
|
110
|
+
const skillInstructions = yield* Service29;
|
|
111
|
+
const store = yield* Service61;
|
|
112
|
+
const registry = yield* Service34;
|
|
113
113
|
const resolveModel = (session) => models.resolve(session, model.available);
|
|
114
114
|
const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
|
|
115
|
-
const agent = yield* agents.get(
|
|
115
|
+
const agent = yield* agents.get(ID9.make("title"));
|
|
116
116
|
if (!agent)
|
|
117
117
|
return;
|
|
118
118
|
const primary = yield* resolveModel(session).pipe(Effect.orElseSucceed(() => {
|
|
@@ -165,7 +165,7 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
165
165
|
session,
|
|
166
166
|
agent: { ...agent, info: agent.info },
|
|
167
167
|
instructions: combine2([
|
|
168
|
-
|
|
168
|
+
make16(loaded.tools.codeModeCatalog),
|
|
169
169
|
loaded.mcp,
|
|
170
170
|
loaded.references,
|
|
171
171
|
loaded.skills,
|
|
@@ -188,29 +188,29 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
188
188
|
tools: selection.tools
|
|
189
189
|
};
|
|
190
190
|
});
|
|
191
|
-
return
|
|
191
|
+
return Service23.of({ select, load, resolveModel, selectTitle, request });
|
|
192
192
|
}));
|
|
193
193
|
var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => VariantID2.make(id));
|
|
194
|
-
var
|
|
195
|
-
service:
|
|
194
|
+
var node26 = makeLocationNode({
|
|
195
|
+
service: Service23,
|
|
196
196
|
layer,
|
|
197
197
|
deps: [
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
198
|
+
node65,
|
|
199
|
+
node78,
|
|
200
|
+
node87,
|
|
201
|
+
node27,
|
|
202
|
+
node51,
|
|
203
|
+
node30,
|
|
204
204
|
node84,
|
|
205
|
-
|
|
206
|
-
|
|
205
|
+
node28,
|
|
206
|
+
node29,
|
|
207
207
|
node31,
|
|
208
|
-
|
|
209
|
-
node38,
|
|
210
|
-
node78,
|
|
208
|
+
node40,
|
|
211
209
|
node34,
|
|
212
|
-
|
|
210
|
+
node64,
|
|
211
|
+
node32,
|
|
212
|
+
node37
|
|
213
213
|
]
|
|
214
214
|
});
|
|
215
215
|
|
|
216
|
-
export {
|
|
216
|
+
export { Service23, node26, exports_context };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var ID10 = Session.ID;
|
|
5
|
+
var Info14 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID10, Info14, SessionSchema2 };
|