@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,58 +1,58 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-7gmmhyav.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service79,
|
|
7
|
+
node83
|
|
8
|
+
} from "./filesystem-y94qedfr.js";
|
|
9
9
|
import {
|
|
10
10
|
Service81,
|
|
11
11
|
node85
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./filesystem-qv57k41b.js";
|
|
13
13
|
import {
|
|
14
14
|
Ref4,
|
|
15
15
|
Service80,
|
|
16
16
|
node84
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./filesystem-xgsp1r84.js";
|
|
18
18
|
import {
|
|
19
19
|
canonical3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./filesystem-a3xzgxah.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionEvent2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./filesystem-ec1grn59.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service59,
|
|
26
|
+
node62
|
|
27
|
+
} from "./filesystem-hr4wrrf6.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service47,
|
|
30
|
+
node50
|
|
31
|
+
} from "./filesystem-bvxyc9gc.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/location-lifecycle.ts
|
|
37
37
|
var exports_location_lifecycle = {};
|
|
38
38
|
__export(exports_location_lifecycle, {
|
|
39
39
|
LocationLifecycle: () => exports_location_lifecycle,
|
|
40
|
-
Service: () =>
|
|
41
|
-
node: () =>
|
|
40
|
+
Service: () => Service16,
|
|
41
|
+
node: () => node18
|
|
42
42
|
});
|
|
43
43
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
44
44
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
45
45
|
import { LocationEvent } from "@opencode/schema/location-event";
|
|
46
46
|
var isSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service16 extends Context.Service()("@opencode/LocationLifecycle") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
51
51
|
const bus = yield* Service82;
|
|
52
52
|
const location = yield* Service80;
|
|
53
|
-
const permission = yield*
|
|
54
|
-
const forms = yield*
|
|
55
|
-
const rpc = yield*
|
|
53
|
+
const permission = yield* Service59;
|
|
54
|
+
const forms = yield* Service79;
|
|
55
|
+
const rpc = yield* Service47;
|
|
56
56
|
const project = yield* Service81;
|
|
57
57
|
const scope = yield* Effect.scope;
|
|
58
58
|
yield* project.activate(location.project.id);
|
|
@@ -75,15 +75,15 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
75
75
|
location: Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
|
|
76
76
|
});
|
|
77
77
|
}).pipe(Effect.uninterruptible));
|
|
78
|
-
return
|
|
78
|
+
return Service16.of({
|
|
79
79
|
isClosed: () => closed,
|
|
80
80
|
shutdown
|
|
81
81
|
});
|
|
82
82
|
}));
|
|
83
|
-
var
|
|
84
|
-
service:
|
|
83
|
+
var node18 = makeLocationNode({
|
|
84
|
+
service: Service16,
|
|
85
85
|
layer,
|
|
86
|
-
deps: [node86, node84,
|
|
86
|
+
deps: [node86, node84, node62, node85, node83, node50]
|
|
87
87
|
});
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Service16, node18, exports_location_lifecycle };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service70
|
|
4
|
+
} from "./filesystem-cdwz3t6x.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-qsdy395h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
13
|
var exports_websearch2 = {};
|
|
14
14
|
__export(exports_websearch2, {
|
|
15
15
|
ConfigWebSearchPlugin: () => exports_websearch2,
|
|
16
|
-
Plugin: () =>
|
|
16
|
+
Plugin: () => Plugin44
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin44 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const config = yield*
|
|
23
|
+
const config = yield* Service70;
|
|
24
24
|
const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
|
|
25
25
|
yield* ctx.websearch.transform((websearch) => {
|
|
26
26
|
const selection = latest2(loaded.entries, "websearch");
|
|
@@ -32,4 +32,4 @@ var Plugin47 = define({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Plugin44, exports_websearch2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID3,
|
|
6
|
+
Service33
|
|
7
|
+
} from "./filesystem-4rx3papc.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-n7d88tpn.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./filesystem-22f357wt.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./filesystem-kb9j3d72.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service33;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID3.make(from),
|
|
91
|
+
to: ID3.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./filesystem-adrc3k43.js";
|
|
4
4
|
import {
|
|
5
5
|
iife2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-1kg9ymc8.js";
|
|
7
7
|
import {
|
|
8
8
|
configuredSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-4vw64pvn.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
14
14
|
import { Form } from "@opencode/schema/form";
|
|
15
|
-
var providerID =
|
|
15
|
+
var providerID = ID13.make("cloudflare-workers-ai");
|
|
16
16
|
var CloudflareWorkersAIPlugin2 = define({
|
|
17
17
|
id: "opencode.provider.cloudflare.workers.ai",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,57 +1,57 @@
|
|
|
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
|
-
} from "./
|
|
10
|
+
Service68,
|
|
11
|
+
node71
|
|
12
|
+
} from "./filesystem-5sh4vwnj.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./filesystem-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service56,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node59
|
|
20
|
+
} from "./filesystem-a8jhphkq.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service63,
|
|
23
|
+
node66
|
|
24
|
+
} from "./filesystem-9jbvj98d.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service54,
|
|
27
|
+
node57
|
|
28
|
+
} from "./filesystem-hpfvhvya.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./filesystem-n7d88tpn.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service70,
|
|
35
|
+
node74
|
|
36
|
+
} from "./filesystem-cdwz3t6x.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./filesystem-f2mw6jyj.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError5,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service53,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node56
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -63,7 +63,7 @@ import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
|
63
63
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
65
|
import { Global } from "@opencode/util/global";
|
|
66
|
-
class
|
|
66
|
+
class NotFoundError5 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
67
67
|
id: Shell.ID
|
|
68
68
|
}) {
|
|
69
69
|
}
|
|
@@ -71,7 +71,7 @@ var EXITED_LIMIT = 25;
|
|
|
71
71
|
var RETENTION2 = Duration.days(7);
|
|
72
72
|
var DIRECTORY2 = "shell";
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service53 extends Context.Service()("@opencode/Shell") {
|
|
75
75
|
}
|
|
76
76
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
77
77
|
const fs = yield* FSUtil.Service;
|
|
@@ -87,15 +87,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
87
87
|
layer: cleanupLayer,
|
|
88
88
|
deps: [FSUtil.node, Global.node]
|
|
89
89
|
});
|
|
90
|
-
var layer = () => Layer.effect(
|
|
90
|
+
var layer = () => Layer.effect(Service53, Effect.gen(function* () {
|
|
91
91
|
const bus = yield* Service82;
|
|
92
92
|
const location = yield* Service80;
|
|
93
93
|
const global = yield* Global.Service;
|
|
94
|
-
const shell = yield*
|
|
95
|
-
const environment = yield*
|
|
96
|
-
const hooks = yield*
|
|
97
|
-
const environments = yield*
|
|
98
|
-
const config = yield*
|
|
94
|
+
const shell = yield* Service56;
|
|
95
|
+
const environment = yield* Service68;
|
|
96
|
+
const hooks = yield* Service63;
|
|
97
|
+
const environments = yield* Service54;
|
|
98
|
+
const config = yield* Service70;
|
|
99
99
|
const context = yield* Effect.context();
|
|
100
100
|
const runFork = Effect.runForkWith(context);
|
|
101
101
|
const commands = new Map;
|
|
@@ -116,7 +116,7 @@ var layer = () => Layer.effect(Service45, Effect.gen(function* () {
|
|
|
116
116
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
117
117
|
const command = commands.get(id);
|
|
118
118
|
if (!command)
|
|
119
|
-
return yield* new
|
|
119
|
+
return yield* new NotFoundError5({ id });
|
|
120
120
|
return command;
|
|
121
121
|
});
|
|
122
122
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -129,7 +129,7 @@ var layer = () => Layer.effect(Service45, Effect.gen(function* () {
|
|
|
129
129
|
commands.delete(id);
|
|
130
130
|
if (command.timeoutFiber)
|
|
131
131
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
132
|
-
yield* Deferred.fail(command.done, new
|
|
132
|
+
yield* Deferred.fail(command.done, new NotFoundError5({ id }));
|
|
133
133
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
134
134
|
yield* bus.publish(Shell.Event.Deleted, { id });
|
|
135
135
|
});
|
|
@@ -323,22 +323,22 @@ var layer = () => Layer.effect(Service45, Effect.gen(function* () {
|
|
|
323
323
|
const command = yield* Deferred.await(ready);
|
|
324
324
|
return command.info;
|
|
325
325
|
});
|
|
326
|
-
return
|
|
326
|
+
return Service53.of({ create, list, get, wait, result, timeout, output, remove });
|
|
327
327
|
}));
|
|
328
|
-
var
|
|
329
|
-
service:
|
|
328
|
+
var node56 = makeLocationNode({
|
|
329
|
+
service: Service53,
|
|
330
330
|
layer: layer(),
|
|
331
331
|
deps: [
|
|
332
332
|
node86,
|
|
333
333
|
node84,
|
|
334
334
|
Global.node,
|
|
335
|
+
node59,
|
|
335
336
|
node71,
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
node51,
|
|
337
|
+
node66,
|
|
338
|
+
node57,
|
|
339
|
+
node74,
|
|
340
340
|
cleanupNode
|
|
341
341
|
]
|
|
342
342
|
});
|
|
343
343
|
|
|
344
|
-
export {
|
|
344
|
+
export { NotFoundError5, RETENTION2, DIRECTORY2, Service53, cleanup2, node56, exports_shell4 };
|
|
@@ -1,28 +1,28 @@
|
|
|
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
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./filesystem-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service61,
|
|
14
|
+
node64
|
|
15
|
+
} from "./filesystem-h63vhw9z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
22
22
|
__export(exports_instructions, {
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service6,
|
|
24
24
|
SessionInstructions: () => exports_instructions,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node8
|
|
26
26
|
});
|
|
27
27
|
import { relative } from "path";
|
|
28
28
|
import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
|
|
@@ -32,12 +32,12 @@ var InjectedMetadata = Schema.Struct({
|
|
|
32
32
|
instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service6 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
37
|
+
var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
38
38
|
const bus = yield* Service82;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
40
|
+
const store = yield* Service61;
|
|
41
41
|
const location = yield* Service80;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
@@ -84,7 +84,7 @@ ${file.content}`).join(`
|
|
|
84
84
|
return next;
|
|
85
85
|
})));
|
|
86
86
|
});
|
|
87
|
-
return
|
|
87
|
+
return Service6.of({ load });
|
|
88
88
|
}));
|
|
89
89
|
function previouslyInjected(store, sessionID) {
|
|
90
90
|
return Effect.gen(function* () {
|
|
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
|
|
|
95
95
|
function describePath(root, path) {
|
|
96
96
|
return FSUtil.contains(root, path) ? relative(root, path) : path;
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var node8 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [node86, FSUtil.node, node84,
|
|
101
|
+
deps: [node86, FSUtil.node, node84, node64]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { Service6, node8, exports_instructions };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node47
|
|
5
|
+
} from "./filesystem-vwmxq978.js";
|
|
6
6
|
import {
|
|
7
7
|
Service82,
|
|
8
8
|
node86
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-7gmmhyav.js";
|
|
10
10
|
import {
|
|
11
11
|
native2,
|
|
12
|
-
|
|
12
|
+
ID13,
|
|
13
13
|
aisdk2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./filesystem-adrc3k43.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID12,
|
|
17
17
|
Family2,
|
|
18
18
|
compatibility2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./filesystem-5pfs40b8.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
resolve4
|
|
22
|
+
} from "./filesystem-af4g4tm2.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service73,
|
|
25
|
+
node77
|
|
26
|
+
} from "./filesystem-fntkcw1e.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/models-dev.ts
|
|
32
32
|
var exports_models_dev = {};
|
|
@@ -35,11 +35,11 @@ __export(exports_models_dev, {
|
|
|
35
35
|
Event: () => Event2,
|
|
36
36
|
ModelsDev: () => exports_models_dev,
|
|
37
37
|
Options: () => Options2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service14,
|
|
39
39
|
bodyDigest: () => bodyDigest2,
|
|
40
40
|
configured: () => configured2,
|
|
41
41
|
layer: () => layer8,
|
|
42
|
-
node: () =>
|
|
42
|
+
node: () => node16
|
|
43
43
|
});
|
|
44
44
|
import { Cause, Context, Duration, Effect, Layer, Option, Schedule, Schema, Semaphore } from "effect";
|
|
45
45
|
import { HttpClient, HttpClientRequest } from "effect/unstable/http";
|
|
@@ -67,7 +67,7 @@ function nativePackage(provider, model) {
|
|
|
67
67
|
function normalize(input) {
|
|
68
68
|
const providers = [];
|
|
69
69
|
for (const item of Object.values(input)) {
|
|
70
|
-
const providerID =
|
|
70
|
+
const providerID = ID13.make(item.id);
|
|
71
71
|
const packageName = nativePackage(item);
|
|
72
72
|
const info = {
|
|
73
73
|
id: providerID,
|
|
@@ -79,12 +79,12 @@ function normalize(input) {
|
|
|
79
79
|
const models = [];
|
|
80
80
|
for (const model of Object.values(item.models)) {
|
|
81
81
|
const baseCost = cost(model.cost);
|
|
82
|
-
const id =
|
|
82
|
+
const id = ID12.make(model.id);
|
|
83
83
|
const base = modelInfo(item, id, model, { cost: baseCost });
|
|
84
|
-
const variants =
|
|
84
|
+
const variants = resolve4({ ...base, package: nativePackage(item, model) }, supports(model));
|
|
85
85
|
models.push({ ...base, variants });
|
|
86
86
|
for (const [mode, options] of Object.entries(model.experimental?.modes ?? {})) {
|
|
87
|
-
const modeID =
|
|
87
|
+
const modeID = ID12.make(`${model.id}-${mode}`);
|
|
88
88
|
models.push(modelInfo(item, modeID, model, {
|
|
89
89
|
name: modeName(model, mode),
|
|
90
90
|
cost: mergeCost(baseCost, options.cost),
|
|
@@ -157,7 +157,7 @@ function supports(model) {
|
|
|
157
157
|
return (model.reasoning_options ?? []).map((option) => option.type === "effort" ? { type: "effort", values: option.values.filter((value) => value !== null && value !== "null") } : option);
|
|
158
158
|
}
|
|
159
159
|
function modelInfo(provider, id, model, input = {}) {
|
|
160
|
-
const providerID =
|
|
160
|
+
const providerID = ID13.make(provider.id);
|
|
161
161
|
const resolved = nativePackage(provider, model);
|
|
162
162
|
const pkg = model.provider?.npm || resolved !== nativePackage(provider) ? resolved : undefined;
|
|
163
163
|
const settings = {
|
|
@@ -166,7 +166,7 @@ function modelInfo(provider, id, model, input = {}) {
|
|
|
166
166
|
};
|
|
167
167
|
return {
|
|
168
168
|
id,
|
|
169
|
-
modelID:
|
|
169
|
+
modelID: ID12.make(model.id),
|
|
170
170
|
providerID,
|
|
171
171
|
name: input.name ?? model.name,
|
|
172
172
|
compatibility: compatibility2(model.interleaved),
|
|
@@ -199,7 +199,7 @@ var Options2 = Schema.Struct({
|
|
|
199
199
|
snapshot: Schema.optional(Schema.Boolean)
|
|
200
200
|
});
|
|
201
201
|
|
|
202
|
-
class
|
|
202
|
+
class Service14 extends Context.Service()("@opencode/ModelsDev") {
|
|
203
203
|
}
|
|
204
204
|
var CatalogJson = Schema.fromJsonString(Schema.Record(Schema.String, Schema.Unknown));
|
|
205
205
|
var decodeCatalog = (text) => Schema.decodeUnknownEffect(CatalogJson)(text).pipe(Effect.map((catalog) => catalog));
|
|
@@ -222,11 +222,11 @@ function cacheKey(source) {
|
|
|
222
222
|
function bodyDigest2(text) {
|
|
223
223
|
return Hash.sha256(text);
|
|
224
224
|
}
|
|
225
|
-
var layer8 = (options) => Layer.effect(
|
|
225
|
+
var layer8 = (options) => Layer.effect(Service14, Effect.gen(function* () {
|
|
226
226
|
const fs = yield* FSUtil.Service;
|
|
227
227
|
const bus = yield* Service82;
|
|
228
228
|
const app = yield* Metadata2;
|
|
229
|
-
const kv = yield*
|
|
229
|
+
const kv = yield* Service73;
|
|
230
230
|
const http = HttpClient.filterStatusOk((yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
231
231
|
retryOn: "errors-and-responses",
|
|
232
232
|
times: 2,
|
|
@@ -306,15 +306,15 @@ var layer8 = (options) => Layer.effect(Service13, Effect.gen(function* () {
|
|
|
306
306
|
if (fetch && !process.argv.includes("--get-yargs-completions")) {
|
|
307
307
|
yield* Effect.forkScoped(refresh().pipe(Effect.repeat(Schedule.spaced(ttl)), Effect.ignore));
|
|
308
308
|
}
|
|
309
|
-
return
|
|
309
|
+
return Service14.of({ get, refresh });
|
|
310
310
|
}));
|
|
311
311
|
function configured2(options) {
|
|
312
312
|
return makeGlobalNode({
|
|
313
|
-
service:
|
|
313
|
+
service: Service14,
|
|
314
314
|
layer: layer8(options),
|
|
315
|
-
deps: [FSUtil.node, node86,
|
|
315
|
+
deps: [FSUtil.node, node86, node47, node77, httpClient]
|
|
316
316
|
});
|
|
317
317
|
}
|
|
318
|
-
var
|
|
318
|
+
var node16 = configured2();
|
|
319
319
|
|
|
320
|
-
export { CatalogModelStatus2, Options2,
|
|
320
|
+
export { CatalogModelStatus2, Options2, Service14, bodyDigest2, layer8, configured2, node16, exports_models_dev, Event2 };
|