@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,70 +1,70 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-7gmmhyav.js";
|
|
5
5
|
import {
|
|
6
6
|
Service80,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./filesystem-xgsp1r84.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID9,
|
|
11
|
+
Service62,
|
|
12
|
+
node65
|
|
13
|
+
} from "./filesystem-69mxx76a.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
NotFoundError8
|
|
16
|
+
} from "./filesystem-22f357wt.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service61,
|
|
19
|
+
node64
|
|
20
|
+
} from "./filesystem-h63vhw9z.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./filesystem-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service60,
|
|
26
|
+
node63
|
|
27
|
+
} from "./filesystem-w1bpwr2w.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service63,
|
|
30
|
+
node66
|
|
31
|
+
} from "./filesystem-9jbvj98d.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
|
-
var
|
|
38
|
-
__export(
|
|
37
|
+
var exports_permission = {};
|
|
38
|
+
__export(exports_permission, {
|
|
39
39
|
AskResult: () => AskResult2,
|
|
40
40
|
AssertInput: () => AssertInput2,
|
|
41
41
|
BlockedError: () => BlockedError2,
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
46
|
-
ID: () =>
|
|
47
|
-
NotFoundError: () =>
|
|
48
|
-
Permission: () =>
|
|
49
|
-
Reply: () =>
|
|
45
|
+
Event: () => Event11,
|
|
46
|
+
ID: () => ID7,
|
|
47
|
+
NotFoundError: () => NotFoundError7,
|
|
48
|
+
Permission: () => exports_permission,
|
|
49
|
+
Reply: () => Reply2,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
|
-
Request: () =>
|
|
52
|
-
Rule: () =>
|
|
51
|
+
Request: () => Request2,
|
|
52
|
+
Rule: () => Rule2,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service59,
|
|
55
55
|
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node62
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode/schema/permission";
|
|
63
|
-
import { Rule as
|
|
64
|
-
import { Event as
|
|
63
|
+
import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
64
|
+
import { Event as Event11 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
67
|
+
var ID7 = Permission.ID;
|
|
68
68
|
var Source5 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
@@ -74,20 +74,20 @@ var RequestFields = {
|
|
|
74
74
|
metadata: Permission.Request.fields.metadata,
|
|
75
75
|
source: Permission.Request.fields.source
|
|
76
76
|
};
|
|
77
|
-
var
|
|
78
|
-
var
|
|
77
|
+
var Request2 = Permission.Request;
|
|
78
|
+
var Reply2 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID7.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
|
-
agent:
|
|
82
|
+
agent: ID9.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
86
|
-
reply:
|
|
85
|
+
requestID: ID7,
|
|
86
|
+
reply: Reply2,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID7,
|
|
91
91
|
effect: Permission.Effect
|
|
92
92
|
}).annotate({ identifier: "Permission.AskResult" });
|
|
93
93
|
|
|
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class
|
|
114
|
-
requestID:
|
|
113
|
+
class NotFoundError7 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
+
requestID: ID7
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
117
117
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service59 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
130
|
+
var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
131
131
|
const bus = yield* Service82;
|
|
132
132
|
const location = yield* Service80;
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
133
|
+
const agents = yield* Service62;
|
|
134
|
+
const sessions = yield* Service61;
|
|
135
|
+
const saved = yield* Service60;
|
|
136
|
+
const hooks = yield* Service63;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
let closed = false;
|
|
139
139
|
const close = Effect.gen(function* () {
|
|
@@ -156,7 +156,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
156
156
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
157
157
|
const session = yield* sessions.get(sessionID);
|
|
158
158
|
if (!session)
|
|
159
|
-
return yield* new
|
|
159
|
+
return yield* new NotFoundError8({ sessionID });
|
|
160
160
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
161
161
|
return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
|
|
162
162
|
});
|
|
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
186
186
|
});
|
|
187
187
|
function request(input, message) {
|
|
188
188
|
return {
|
|
189
|
-
id: input.id ??
|
|
189
|
+
id: input.id ?? ID7.create(),
|
|
190
190
|
sessionID: input.sessionID,
|
|
191
191
|
action: input.action,
|
|
192
192
|
resources: input.resources,
|
|
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
211
211
|
}));
|
|
212
212
|
const ask = Effect.fn("Permission.ask")(function* (input) {
|
|
213
213
|
if (closed)
|
|
214
|
-
return { id: input.id ??
|
|
214
|
+
return { id: input.id ?? ID7.create(), effect: "deny" };
|
|
215
215
|
const result = yield* evaluateInput(input);
|
|
216
216
|
const value = request(input, result.message);
|
|
217
217
|
if (result.effect === "ask")
|
|
@@ -242,7 +242,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
242
242
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
243
243
|
const existing = pending.get(input.requestID);
|
|
244
244
|
if (!existing)
|
|
245
|
-
return yield* new
|
|
245
|
+
return yield* new NotFoundError7({ requestID: input.requestID });
|
|
246
246
|
yield* bus.publish(Permission.Event.Replied, {
|
|
247
247
|
sessionID: existing.request.sessionID,
|
|
248
248
|
requestID: existing.request.id,
|
|
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
297
297
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
298
298
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
299
299
|
});
|
|
300
|
-
return
|
|
300
|
+
return Service59.of({ ask, assert, reply, get, forSession, list, close });
|
|
301
301
|
}));
|
|
302
|
-
var
|
|
303
|
-
service:
|
|
302
|
+
var node62 = makeLocationNode({
|
|
303
|
+
service: Service59,
|
|
304
304
|
layer,
|
|
305
|
-
deps: [node86, node84,
|
|
305
|
+
deps: [node86, node84, node65, node64, node63, node66]
|
|
306
306
|
});
|
|
307
307
|
|
|
308
|
-
export { PermissionEffect,
|
|
308
|
+
export { PermissionEffect, ID7, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError7, evaluate2, merge2, Service59, node62, exports_permission, Rule2, Ruleset2, Event11 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openaiFailedResponseHandler2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-550bvhaj.js";
|
|
4
4
|
import {
|
|
5
5
|
convertToOpenAIResponsesInput2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-j5zkgpj8.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAIResponseFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-3asan66x.js";
|
|
10
10
|
import {
|
|
11
11
|
prepareResponsesTools2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./filesystem-x6pyv2yz.js";
|
|
13
13
|
|
|
14
14
|
// src/github-copilot/responses/openai-responses-language-model.ts
|
|
15
15
|
import {
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID9
|
|
3
|
+
} from "./filesystem-69mxx76a.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info19
|
|
9
|
+
} from "./filesystem-bn3rhc52.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./filesystem-czw6kqc3.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service70
|
|
16
|
+
} from "./filesystem-cdwz3t6x.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./filesystem-5daktx2q.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
25
|
var exports_agent2 = {};
|
|
26
26
|
__export(exports_agent2, {
|
|
27
27
|
ConfigAgentPlugin: () => exports_agent2,
|
|
28
|
-
Plugin: () =>
|
|
28
|
+
Plugin: () => Plugin41
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info19);
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin41 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service70;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin33 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID9.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID9.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -161,4 +161,4 @@ function decode(file, content) {
|
|
|
161
161
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { Plugin41, exports_agent2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service70
|
|
3
|
+
} from "./filesystem-cdwz3t6x.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service42
|
|
6
|
+
} from "./filesystem-6pzw4973.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin37
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin37 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service70;
|
|
26
|
+
const image = yield* Service42;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin32 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin37, exports_image };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
@@ -10,8 +10,8 @@ __export(exports_driver, {
|
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
|
-
make: () =>
|
|
14
|
-
node: () =>
|
|
13
|
+
make: () => make22,
|
|
14
|
+
node: () => node73,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
|
|
|
29
29
|
provider: Schema.String
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var make22 = (driver) => driver;
|
|
33
33
|
|
|
34
34
|
class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
|
|
35
35
|
}
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node73 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2, Error5, ProviderNotFound2,
|
|
49
|
+
export { Binding2, Error5, ProviderNotFound2, make22, RegistryService2, registry2, registryNode2, node73, exports_driver };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
render2
|
|
3
|
+
} from "./filesystem-w19d8598.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/optimize.ts
|
|
9
9
|
var exports_optimize = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_optimize, {
|
|
|
13
13
|
ArceePlugin: () => ArceePlugin2,
|
|
14
14
|
KimiPlugin: () => KimiPlugin2,
|
|
15
15
|
MetaPlugin: () => MetaPlugin2,
|
|
16
|
-
OpenAIPlugin: () =>
|
|
16
|
+
OpenAIPlugin: () => OpenAIPlugin2,
|
|
17
17
|
OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
|
|
18
18
|
OptimizePlugin: () => exports_optimize,
|
|
19
19
|
Plugins: () => Plugins2
|
|
@@ -374,7 +374,7 @@ By default, match the surrounding comment density: where the code has none, add
|
|
|
374
374
|
`;
|
|
375
375
|
|
|
376
376
|
// src/plugin/optimize.ts
|
|
377
|
-
var
|
|
377
|
+
var OpenAIPlugin2 = make("opencode.prompt.openai", (model) => {
|
|
378
378
|
const id = model.id.toLowerCase();
|
|
379
379
|
if (!id.includes("gpt"))
|
|
380
380
|
return;
|
|
@@ -409,7 +409,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
|
|
|
409
409
|
return;
|
|
410
410
|
return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
|
|
411
411
|
});
|
|
412
|
-
var Plugins2 = [
|
|
412
|
+
var Plugins2 = [OpenAIPlugin2, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
|
|
413
413
|
function make(id, optimize, mode = "override") {
|
|
414
414
|
return define({
|
|
415
415
|
id,
|
|
@@ -424,7 +424,7 @@ function make(id, optimize, mode = "override") {
|
|
|
424
424
|
const system = event.system[0];
|
|
425
425
|
if (!system)
|
|
426
426
|
return;
|
|
427
|
-
const rendered =
|
|
427
|
+
const rendered = render2(template, Object.keys(event.tools));
|
|
428
428
|
const text = mode === "append" ? `${system.text}
|
|
429
429
|
|
|
430
430
|
${rendered}` : rendered;
|
|
@@ -437,4 +437,4 @@ ${rendered}` : rendered;
|
|
|
437
437
|
});
|
|
438
438
|
}
|
|
439
439
|
|
|
440
|
-
export {
|
|
440
|
+
export { OpenAIPlugin2, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-vwmxq978.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-1ygqh575.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/parallel.ts
|
|
12
12
|
var exports_parallel = {};
|
|
13
13
|
__export(exports_parallel, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin4,
|
|
15
15
|
WebSearchParallel: () => exports_parallel,
|
|
16
16
|
endpoint: () => endpoint4
|
|
17
17
|
});
|
|
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
|
|
|
47
47
|
content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
|
|
48
48
|
structuredContent: SearchResponse
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Plugin4 = define({
|
|
51
51
|
id: "opencode.websearch.parallel",
|
|
52
52
|
effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
|
|
53
53
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -93,4 +93,4 @@ var Plugin20 = define({
|
|
|
93
93
|
})
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export { endpoint4,
|
|
96
|
+
export { endpoint4, Plugin4, exports_parallel };
|
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-3w5fmr99.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./filesystem-xyafkbt0.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./filesystem-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service42,
|
|
17
|
+
node44
|
|
18
|
+
} from "./filesystem-6pzw4973.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service63,
|
|
21
|
+
node66
|
|
22
|
+
} from "./filesystem-9jbvj98d.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./filesystem-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
32
32
|
__export(exports_tool, {
|
|
33
33
|
CallID: () => CallID2,
|
|
34
|
-
Content: () =>
|
|
35
|
-
Error: () =>
|
|
34
|
+
Content: () => Content2,
|
|
35
|
+
Error: () => Error3,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service34,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node37
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as
|
|
43
|
+
import { CallID as CallID2, Content as Content2, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
45
45
|
import { Tool } from "@opencode/schema/tool";
|
|
46
46
|
import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service34 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service63;
|
|
58
|
+
const image = yield* Service42;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
184
184
|
}), { discard: true });
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
return
|
|
187
|
+
return Service34.of({
|
|
188
188
|
transform: state.transform,
|
|
189
189
|
reload: state.reload,
|
|
190
190
|
list: () => Effect.sync(() => Array.from(state.get().tools.values())),
|
|
@@ -273,10 +273,10 @@ function namespaceError(name) {
|
|
|
273
273
|
return;
|
|
274
274
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
275
275
|
}
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node37 = makeLocationNode({
|
|
277
|
+
service: Service34,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node66, node44]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { RegistrationError2,
|
|
282
|
+
export { RegistrationError2, Service34, node37, exports_tool, CallID2, Content2, Error3, FileContent3, TextContent2 };
|