@opencode/core 0.0.0-dev-19974 → 0.0.0-dev-19976
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 +82 -82
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{command-8gxjxfk7.js → workspace-00jp707z.js} +34 -34
- package/dist/chunks/{command-d4kvcxbh.js → workspace-05jrxfe9.js} +20 -20
- package/dist/chunks/{command-9tb5hr0v.js → workspace-0jrsc0d0.js} +20 -20
- package/dist/chunks/{command-0paq2nw3.js → workspace-0paq2nw3.js} +1 -1
- package/dist/chunks/{command-0q0f95c6.js → workspace-0q0f95c6.js} +1 -1
- package/dist/chunks/{command-b91y5b0n.js → workspace-0rvp7ahq.js} +20 -20
- package/dist/chunks/{command-e0378qy6.js → workspace-0tmgye68.js} +9 -9
- package/dist/chunks/{command-7y0fda1f.js → workspace-0x0c0f3f.js} +7 -7
- package/dist/chunks/{command-3gafegkz.js → workspace-0z7rzftk.js} +6 -6
- package/dist/chunks/{command-gezbrf6h.js → workspace-1407x5yq.js} +6 -6
- package/dist/chunks/{command-yp2x3t23.js → workspace-1acjjqhc.js} +4 -4
- package/dist/chunks/{command-mhkvc446.js → workspace-1bbkgx8g.js} +3 -3
- package/dist/chunks/{command-1dazxqgg.js → workspace-1dazxqgg.js} +2 -2
- package/dist/chunks/{command-5qmpb97a.js → workspace-1kzq6qnm.js} +6 -6
- package/dist/chunks/{command-yx0qkvav.js → workspace-1y9dt3g7.js} +59 -59
- package/dist/chunks/{command-1ygqh575.js → workspace-1ygqh575.js} +2 -2
- package/dist/chunks/{command-21r38tys.js → workspace-21r38tys.js} +1 -1
- package/dist/chunks/{command-86qzxe6p.js → workspace-277eer69.js} +4 -4
- package/dist/chunks/{command-z63w68vq.js → workspace-29x78va6.js} +6 -6
- package/dist/chunks/{command-2a5m3afh.js → workspace-2a5m3afh.js} +1 -1
- package/dist/chunks/workspace-2a7ewa7q.js +26 -0
- package/dist/chunks/{command-4dkr59gj.js → workspace-2aftd3a2.js} +3 -3
- package/dist/chunks/{command-w1kts72e.js → workspace-2cmnwcq0.js} +7 -7
- package/dist/chunks/{command-vtpa8adt.js → workspace-2qmapw28.js} +29 -29
- package/dist/chunks/{command-15ecbz73.js → workspace-33k257v5.js} +17 -17
- package/dist/chunks/{command-sds13m34.js → workspace-37sfe3bm.js} +11 -11
- package/dist/chunks/{command-3fc6dm20.js → workspace-3fc6dm20.js} +1 -1
- package/dist/chunks/{command-3hepkmqq.js → workspace-3hepkmqq.js} +1 -1
- package/dist/chunks/{command-rahj5xg6.js → workspace-3nenj1by.js} +11 -11
- package/dist/chunks/{command-3smtnn6g.js → workspace-3smtnn6g.js} +1 -1
- package/dist/chunks/{command-3tvqynh2.js → workspace-3tvqynh2.js} +1 -1
- package/dist/chunks/{command-ez47arx5.js → workspace-3w2b2yj4.js} +5 -5
- package/dist/chunks/{command-mwch1h7x.js → workspace-42em1327.js} +26 -26
- package/dist/chunks/{command-zg4hrway.js → workspace-438fgj0f.js} +20 -20
- package/dist/chunks/{command-fdms3n6w.js → workspace-4nj4bn9q.js} +9 -9
- package/dist/chunks/{command-395exzp5.js → workspace-4t3xng2k.js} +35 -35
- package/dist/chunks/{command-q0r7cvmx.js → workspace-4vv2c1zf.js} +11 -11
- package/dist/chunks/{command-1dard8rw.js → workspace-4zvygart.js} +8 -8
- package/dist/chunks/{command-d9s573fh.js → workspace-57ez7d0k.js} +2 -2
- package/dist/chunks/{command-rkwepmqr.js → workspace-57sydnee.js} +12 -12
- package/dist/chunks/{command-cb9ss0ge.js → workspace-5bkw2dcb.js} +9 -9
- package/dist/chunks/{command-5daktx2q.js → workspace-5daktx2q.js} +1 -1
- package/dist/chunks/{command-q3t37ft6.js → workspace-5epte933.js} +3 -3
- package/dist/chunks/{command-6yd319e0.js → workspace-5nzaa539.js} +43 -43
- package/dist/chunks/{command-5t3nmthw.js → workspace-5t3nmthw.js} +2 -2
- package/dist/chunks/{command-y91g1rqk.js → workspace-5yyt2gzp.js} +5 -5
- package/dist/chunks/{command-s2ynmxvy.js → workspace-607q5haz.js} +5 -5
- package/dist/chunks/{command-5fygez4p.js → workspace-61fvg6ge.js} +5 -5
- package/dist/chunks/{command-k0gxj95r.js → workspace-64prggvs.js} +30 -30
- package/dist/chunks/{command-669tq793.js → workspace-669tq793.js} +1 -1
- package/dist/chunks/{command-w0cjdr4y.js → workspace-6878ajz3.js} +26 -26
- package/dist/chunks/{command-f3t28nxc.js → workspace-68arvhxb.js} +7 -7
- package/dist/chunks/{command-q29a3mzv.js → workspace-6bstxtt3.js} +17 -17
- package/dist/chunks/{command-6h73sxmp.js → workspace-6h73sxmp.js} +1 -1
- package/dist/chunks/{command-85gr95dm.js → workspace-6ky7efr6.js} +68 -68
- package/dist/chunks/{command-gzk0z5t1.js → workspace-6m0tgnv5.js} +44 -44
- package/dist/chunks/{command-6msgmcgs.js → workspace-6msgmcgs.js} +1 -1
- package/dist/chunks/{command-1fmn7nca.js → workspace-6qa9hb0h.js} +21 -21
- package/dist/chunks/{command-k6w958j5.js → workspace-6r6sqe9n.js} +8 -8
- package/dist/chunks/{command-nnbzrd8n.js → workspace-6y1vxjf5.js} +20 -20
- package/dist/chunks/{command-tqnd21xx.js → workspace-724bb6xm.js} +24 -24
- package/dist/chunks/{command-ypwyy9wb.js → workspace-77g3a63m.js} +13 -13
- package/dist/chunks/{command-csmtma2g.js → workspace-7b0gpmec.js} +16 -16
- package/dist/chunks/{command-7bmhse3q.js → workspace-7bmhse3q.js} +1 -1
- package/dist/chunks/{command-esafk7q3.js → workspace-7dqw4kz8.js} +5 -5
- package/dist/chunks/{command-eqbz22z4.js → workspace-7h57f7d7.js} +31 -31
- package/dist/chunks/{command-4gv05ame.js → workspace-7rce4ag1.js} +11 -11
- package/dist/chunks/{command-97w5rk9e.js → workspace-7s2tn799.js} +8 -8
- package/dist/chunks/{command-v7bs4fwn.js → workspace-7yg3y2sd.js} +14 -14
- package/dist/chunks/{command-77hk7r89.js → workspace-89ad7fzy.js} +9 -9
- package/dist/chunks/{command-8d7r5vzw.js → workspace-8d7r5vzw.js} +1 -1
- package/dist/chunks/{command-5arbc4sb.js → workspace-8hyqnzhe.js} +50 -50
- package/dist/chunks/{command-en452bs7.js → workspace-8j6z6d32.js} +24 -24
- package/dist/chunks/{command-dj2t23y0.js → workspace-8p4f9s12.js} +2 -2
- package/dist/chunks/{command-98r14yx2.js → workspace-8vabvz82.js} +13 -13
- package/dist/chunks/{command-m4j94d0w.js → workspace-8ykdne12.js} +13 -13
- package/dist/chunks/{command-76vyv3fa.js → workspace-8z45c87w.js} +12 -12
- package/dist/chunks/{command-sf8s250z.js → workspace-915kganc.js} +27 -27
- package/dist/chunks/{command-ha7xgv60.js → workspace-9403nfm7.js} +20 -20
- package/dist/chunks/{command-qbznwwr3.js → workspace-95aphakr.js} +5 -5
- package/dist/chunks/{command-st8d6rzm.js → workspace-9bkpwrqx.js} +43 -43
- package/dist/chunks/{command-bp02r99k.js → workspace-9fc3v4re.js} +4 -4
- package/dist/chunks/{command-p37cw4rj.js → workspace-9hn6k4tm.js} +8 -8
- package/dist/chunks/{command-4drgpw32.js → workspace-9pkkzrmj.js} +5 -5
- package/dist/chunks/{command-fb3kqv53.js → workspace-9rcspwcs.js} +36 -36
- package/dist/chunks/{command-5esk5nf6.js → workspace-9t3w81t2.js} +17 -17
- package/dist/chunks/{command-j1h0x3qm.js → workspace-9v1v9bph.js} +4 -4
- package/dist/chunks/{command-7nvpgp18.js → workspace-9zdcna1n.js} +26 -26
- package/dist/chunks/{command-kkf65y6a.js → workspace-9zmsvm50.js} +27 -27
- package/dist/chunks/{command-5c4hm403.js → workspace-a1bz86dw.js} +3 -3
- package/dist/chunks/{command-njkzccyn.js → workspace-a3afvmqg.js} +7 -7
- package/dist/chunks/{command-fdv30zvt.js → workspace-a46v4e4v.js} +7 -7
- package/dist/chunks/{command-aaet6srn.js → workspace-aaet6srn.js} +2 -2
- package/dist/chunks/{command-5v6q8ws3.js → workspace-axm728m5.js} +35 -35
- package/dist/chunks/{command-jw80jp6b.js → workspace-axmvebxj.js} +21 -21
- package/dist/chunks/{command-8a6kxmc8.js → workspace-ay0gn1a8.js} +43 -43
- package/dist/chunks/{command-b6gygkdw.js → workspace-b6gygkdw.js} +2 -2
- package/dist/chunks/{command-q5nw5m1n.js → workspace-bdqrk2vk.js} +6 -6
- package/dist/chunks/{command-w0825h81.js → workspace-bh6xnkn8.js} +317 -317
- package/dist/chunks/{command-4qm7m3m6.js → workspace-brpd6fv5.js} +26 -26
- package/dist/chunks/{command-rgbassad.js → workspace-bsfgxy3a.js} +23 -23
- package/dist/chunks/{command-r5b2g718.js → workspace-c05v4fnx.js} +33 -33
- package/dist/chunks/{command-m0jqrx5p.js → workspace-cfpkc3c9.js} +2 -2
- package/dist/chunks/{command-ejhgf7w3.js → workspace-cm5z7ssw.js} +13 -13
- package/dist/chunks/{command-qnv6wqrn.js → workspace-cq01mcjf.js} +86 -86
- package/dist/chunks/{command-y31b318c.js → workspace-cq37gk0t.js} +4 -4
- package/dist/chunks/{command-6jt6hkba.js → workspace-crf141y6.js} +25 -25
- package/dist/chunks/{command-2m0t44q9.js → workspace-cs700ddv.js} +17 -17
- package/dist/chunks/{command-w1k39n5e.js → workspace-csf2jhsg.js} +4 -4
- package/dist/chunks/{command-vbaxqaky.js → workspace-cskcxkdr.js} +10 -10
- package/dist/chunks/{command-qsmad8q5.js → workspace-cwp5p4t3.js} +25 -25
- package/dist/chunks/{command-jwbqhvyy.js → workspace-d2aac7k2.js} +5 -5
- package/dist/chunks/{command-t9zs3egg.js → workspace-dfe8djrf.js} +4 -4
- package/dist/chunks/{command-aht6b1gw.js → workspace-dj97z1h1.js} +11 -11
- package/dist/chunks/{command-ca4wybjn.js → workspace-dkkf29sp.js} +9 -9
- package/dist/chunks/{command-69zdqv0e.js → workspace-dn1jy3t2.js} +9 -9
- package/dist/chunks/{command-h47e2fat.js → workspace-dnk3rzs1.js} +27 -27
- package/dist/chunks/{command-7s37cbtz.js → workspace-dnq79vah.js} +10 -10
- package/dist/chunks/{command-y71avatq.js → workspace-dpkg50ah.js} +4 -4
- package/dist/chunks/{command-r60jn89m.js → workspace-drkc87kz.js} +17 -17
- package/dist/chunks/{command-5qd3pb7m.js → workspace-e3qxr5gk.js} +2 -2
- package/dist/chunks/{command-ph5q8xzv.js → workspace-eatsc6yh.js} +10 -10
- package/dist/chunks/{command-p504gj3f.js → workspace-ed6ewr6r.js} +8 -8
- package/dist/chunks/{command-ef5x83kb.js → workspace-ef5x83kb.js} +1 -1
- package/dist/chunks/{command-n80jc431.js → workspace-egm44ayq.js} +17 -17
- package/dist/chunks/{command-azsbfkqj.js → workspace-egmeyekh.js} +20 -20
- package/dist/chunks/{command-12ppvwww.js → workspace-ehe4wzqm.js} +11 -11
- package/dist/chunks/{command-kw5v92fn.js → workspace-en40pvpc.js} +17 -17
- package/dist/chunks/{command-jm23qt55.js → workspace-en5ms791.js} +16 -16
- package/dist/chunks/{command-ngne8dfe.js → workspace-ersf5sn4.js} +9 -9
- package/dist/chunks/{command-erw5rpbs.js → workspace-erw5rpbs.js} +2 -2
- package/dist/chunks/{command-etq0c3wd.js → workspace-etq0c3wd.js} +1 -1
- package/dist/chunks/{command-1wnwcw7r.js → workspace-evstn2e1.js} +11 -11
- package/dist/chunks/{command-svt8e23h.js → workspace-ex4wm9dq.js} +30 -30
- package/dist/chunks/{command-5cry9dbs.js → workspace-ezqe822v.js} +43 -43
- package/dist/chunks/{command-0fxyxxca.js → workspace-f32czd11.js} +11 -11
- package/dist/chunks/{command-hvf8bzx3.js → workspace-f7djnycc.js} +15 -15
- package/dist/chunks/{command-hdnk95c8.js → workspace-f828m53h.js} +2 -2
- package/dist/chunks/{command-z0pamjge.js → workspace-fb08vzds.js} +48 -48
- package/dist/chunks/{command-eac26f80.js → workspace-fnxvy9mq.js} +25 -25
- package/dist/chunks/{command-np4grtax.js → workspace-frq37dj9.js} +24 -24
- package/dist/chunks/{command-fxbjtjnd.js → workspace-fxbjtjnd.js} +1 -1
- package/dist/chunks/{command-zqcfqxpy.js → workspace-g652nsve.js} +24 -24
- package/dist/chunks/{command-jca4demv.js → workspace-g97bb4fb.js} +2 -2
- package/dist/chunks/{command-hm4csw6w.js → workspace-g9avfrxv.js} +15 -15
- package/dist/chunks/{command-gd4qta3r.js → workspace-gd4qta3r.js} +1 -1
- package/dist/chunks/{command-pm3aw8jw.js → workspace-gfrjm2xz.js} +25 -25
- package/dist/chunks/{command-3ppptnan.js → workspace-gjmk74th.js} +6 -6
- package/dist/chunks/{command-fyxvyc63.js → workspace-gmqh62m1.js} +16 -16
- package/dist/chunks/{command-yyb7tjpc.js → workspace-gv6a8nnw.js} +2 -2
- package/dist/chunks/{command-d8vs3fz8.js → workspace-gy8jtxss.js} +18 -18
- package/dist/chunks/{command-qmk2rxp5.js → workspace-h05xe26f.js} +5 -5
- package/dist/chunks/{command-nzyhnfxz.js → workspace-h6r3nrb9.js} +4 -4
- package/dist/chunks/{command-h6vf3j39.js → workspace-h6vf3j39.js} +1 -1
- package/dist/chunks/{command-z3qta96q.js → workspace-hby81b9r.js} +5 -5
- package/dist/chunks/{command-3801kdgp.js → workspace-hbyhqfhs.js} +5 -5
- package/dist/chunks/{command-m2k7mg07.js → workspace-hc5h1fwz.js} +11 -11
- package/dist/chunks/{command-1jqpcwdd.js → workspace-hcpextjt.js} +13 -13
- package/dist/chunks/{command-t3swkhbg.js → workspace-hnr5yq9h.js} +5 -5
- package/dist/chunks/{command-jshnnbm0.js → workspace-hpew3xwe.js} +3 -3
- package/dist/chunks/{command-bvrm6sd3.js → workspace-hq9c8xrb.js} +26 -26
- package/dist/chunks/{command-rtbgd8vv.js → workspace-hsg668p1.js} +16 -16
- package/dist/chunks/{command-fxjzx9zk.js → workspace-j04hx8st.js} +2 -2
- package/dist/chunks/{command-j56e64zr.js → workspace-j56e64zr.js} +1 -1
- package/dist/chunks/{command-0601qg4c.js → workspace-j71eb661.js} +11 -11
- package/dist/chunks/{command-57aypccr.js → workspace-jbnhwg68.js} +3 -3
- package/dist/chunks/{command-9bh1kbwm.js → workspace-jck03djw.js} +37 -37
- package/dist/chunks/{command-qv6qez6w.js → workspace-jd2q17ad.js} +11 -11
- package/dist/chunks/{command-m9wnxg74.js → workspace-jdhqnsv9.js} +24 -24
- package/dist/chunks/{command-ycytvwgt.js → workspace-jn6zj5k7.js} +20 -20
- package/dist/chunks/{command-y32hsvj3.js → workspace-jprse0xe.js} +27 -27
- package/dist/chunks/{command-b3h4hk8s.js → workspace-jttm2z5k.js} +168 -168
- package/dist/chunks/{command-9xv0kghy.js → workspace-jy1x85rx.js} +4 -4
- package/dist/chunks/{command-wgzvszfr.js → workspace-jzj5fe77.js} +24 -24
- package/dist/chunks/{command-qvx74awb.js → workspace-k55f3hcm.js} +7 -7
- package/dist/chunks/{command-44ke2mar.js → workspace-k9kj6xed.js} +6 -6
- package/dist/chunks/{command-e23rwaaf.js → workspace-kfpry7jw.js} +30 -30
- package/dist/chunks/{command-xydhn12a.js → workspace-kkkjbbh2.js} +6 -6
- package/dist/chunks/{command-rc2rdsk3.js → workspace-m1xzdp0d.js} +12 -12
- package/dist/chunks/{command-cnkj3bkk.js → workspace-m2333cga.js} +6 -6
- package/dist/chunks/{command-m3fdjcah.js → workspace-m3fdjcah.js} +1 -1
- package/dist/chunks/{command-1vc7h4bf.js → workspace-m7a66szm.js} +17 -17
- package/dist/chunks/{command-m9w0rfyh.js → workspace-m9w0rfyh.js} +1 -1
- package/dist/chunks/{command-6dbd9kfr.js → workspace-mbj6r9mg.js} +4 -4
- package/dist/chunks/{command-f2wfspan.js → workspace-mksgfzgs.js} +3 -3
- package/dist/chunks/{command-mqzwkyay.js → workspace-mvfdckk2.js} +6 -6
- package/dist/chunks/{command-ny7zsgxc.js → workspace-mzkzf2w3.js} +10 -10
- package/dist/chunks/{command-qcqngy56.js → workspace-n7hq9y22.js} +20 -20
- package/dist/chunks/{command-hqn1z470.js → workspace-nhkza4qs.js} +18 -18
- package/dist/chunks/{command-kz87xe09.js → workspace-njpe9gsc.js} +26 -26
- package/dist/chunks/{command-j84y35zg.js → workspace-ns9v291x.js} +1 -1
- package/dist/chunks/workspace-nt2g1hn6.js +252 -0
- package/dist/chunks/{command-0dtckawb.js → workspace-nz40v0xg.js} +15 -15
- package/dist/chunks/{command-nzks3jc8.js → workspace-nzks3jc8.js} +3 -3
- package/dist/chunks/{command-3x4n1p4b.js → workspace-p0ar7mqv.js} +11 -11
- package/dist/chunks/{command-p28j5sbe.js → workspace-p28j5sbe.js} +2 -2
- package/dist/chunks/{command-xh0mn2db.js → workspace-p7gtrmqp.js} +4 -4
- package/dist/chunks/{command-ytjd48j9.js → workspace-phbsj0j2.js} +16 -16
- package/dist/chunks/{command-pjvnvgmy.js → workspace-pjvnvgmy.js} +1 -1
- package/dist/chunks/{command-pknna89w.js → workspace-pknna89w.js} +1 -1
- package/dist/chunks/{command-qmawctgv.js → workspace-pm8erawn.js} +11 -11
- package/dist/chunks/{command-y1q6eyqb.js → workspace-ppygek1b.js} +16 -16
- package/dist/chunks/{command-6bnbyxfg.js → workspace-ptx7r7w6.js} +11 -11
- package/dist/chunks/{command-beq4zdab.js → workspace-q37hvqsc.js} +11 -11
- package/dist/chunks/{command-tx9w5tca.js → workspace-qby9dwvd.js} +8 -8
- package/dist/chunks/{command-ceer43ev.js → workspace-qft4n94x.js} +6 -6
- package/dist/chunks/{command-rsnh7qyx.js → workspace-qkp1k0b9.js} +5 -5
- package/dist/chunks/{command-bbn46np6.js → workspace-qnye80mc.js} +37 -37
- package/dist/chunks/{command-k409y6k1.js → workspace-qqveq5z9.js} +8 -8
- package/dist/chunks/{command-qsdy395h.js → workspace-qsdy395h.js} +1 -1
- package/dist/chunks/{command-e64hjbz6.js → workspace-qwv4fpqw.js} +10 -10
- package/dist/chunks/{command-35agz59w.js → workspace-qz49fwgp.js} +6 -6
- package/dist/chunks/{command-bc7r1051.js → workspace-r02e4wv6.js} +11 -11
- package/dist/chunks/{command-cwa6csj7.js → workspace-r2m716tb.js} +9 -9
- package/dist/chunks/{command-rdw6cm16.js → workspace-rdw6cm16.js} +1 -1
- package/dist/chunks/{command-eaj1djv9.js → workspace-rhjbct0v.js} +8 -8
- package/dist/chunks/{command-pn2fvd3j.js → workspace-rjg5g3rw.js} +12 -12
- package/dist/chunks/{command-a16afrr2.js → workspace-rxxp0mym.js} +3 -3
- package/dist/chunks/{command-yrznvahk.js → workspace-s4enseaf.js} +2 -2
- package/dist/chunks/{command-szncdaef.js → workspace-s8ah00f6.js} +4 -4
- package/dist/chunks/{command-2evyaa68.js → workspace-shh6fz4q.js} +4 -4
- package/dist/chunks/{command-80agk8qd.js → workspace-sttw4gkc.js} +32 -32
- package/dist/chunks/{command-c27g0cwe.js → workspace-sx7xb6j6.js} +16 -16
- package/dist/chunks/{command-9ksxqh2k.js → workspace-szgj26xm.js} +2 -2
- package/dist/chunks/{command-c68rk66j.js → workspace-t8djmwwn.js} +8 -8
- package/dist/chunks/{command-tazgh4e4.js → workspace-tazgh4e4.js} +1 -1
- package/dist/chunks/{command-89znhe33.js → workspace-tcezcvh9.js} +4 -4
- package/dist/chunks/{command-tdstcens.js → workspace-tdstcens.js} +1 -1
- package/dist/chunks/{command-9jyavp4h.js → workspace-tjszthyy.js} +8 -8
- package/dist/chunks/{command-4jc5c4h4.js → workspace-ts2x07a1.js} +1 -1
- package/dist/chunks/{command-tvtrv512.js → workspace-tvtrv512.js} +1 -1
- package/dist/chunks/{command-7rx5b338.js → workspace-tx1r3w21.js} +16 -16
- package/dist/chunks/{command-rqmc9bz6.js → workspace-txw29g1t.js} +4 -4
- package/dist/chunks/{command-5r8re7cq.js → workspace-v2gb0a2b.js} +5 -5
- package/dist/chunks/{command-18fjrjyv.js → workspace-v2mh11m3.js} +25 -25
- package/dist/chunks/{command-y64kjv5k.js → workspace-v9bkd1yb.js} +21 -21
- package/dist/chunks/{command-ycrff0sc.js → workspace-vd7ypez6.js} +7 -7
- package/dist/chunks/{command-veqvce7d.js → workspace-veqvce7d.js} +1 -1
- package/dist/chunks/{command-mt1xf8xq.js → workspace-vh4jega5.js} +4 -4
- package/dist/chunks/{command-29ebz4cy.js → workspace-vhv5xdae.js} +17 -17
- package/dist/chunks/{command-dtyshr95.js → workspace-vjz8een3.js} +17 -17
- package/dist/chunks/workspace-vkrew15q.js +18 -0
- package/dist/chunks/{command-5we7r0eg.js → workspace-vkt5fbj2.js} +5 -5
- package/dist/chunks/{command-3f7xan5b.js → workspace-vpv31xpv.js} +4 -4
- package/dist/chunks/{command-js89hyr4.js → workspace-vrxn6v33.js} +84 -84
- package/dist/chunks/{command-pdhkkygs.js → workspace-vs1j1ez4.js} +11 -11
- package/dist/chunks/{command-vzcthcp8.js → workspace-vzcthcp8.js} +1 -1
- package/dist/chunks/{command-bkt6pkzv.js → workspace-w068zxwj.js} +20 -20
- package/dist/chunks/{command-w3wsvvr9.js → workspace-w3wsvvr9.js} +1 -1
- package/dist/chunks/{command-6pj7x9ww.js → workspace-wc444ph0.js} +12 -12
- package/dist/chunks/{command-wd87259q.js → workspace-wd87259q.js} +1 -1
- package/dist/chunks/{command-tg765z21.js → workspace-whtf8zfp.js} +6 -6
- package/dist/chunks/{command-dm0bbnwt.js → workspace-wj557cjd.js} +9 -9
- package/dist/chunks/{command-f41ena25.js → workspace-wnf5egzc.js} +9 -9
- package/dist/chunks/{command-x1ezjp6w.js → workspace-x1ezjp6w.js} +1 -1
- package/dist/chunks/{command-19wqcg6g.js → workspace-x57r3cf8.js} +29 -29
- package/dist/chunks/{command-dnm7xxeh.js → workspace-x9m6b332.js} +5 -5
- package/dist/chunks/{command-xfkkasph.js → workspace-xfkkasph.js} +1 -1
- package/dist/chunks/{command-jndgkwdf.js → workspace-xhxcwzqv.js} +7 -7
- package/dist/chunks/{command-mvn2r3z4.js → workspace-xk747vep.js} +8 -8
- package/dist/chunks/{command-92rkebfh.js → workspace-xqrhjvfz.js} +13 -13
- package/dist/chunks/{command-x6k8vawk.js → workspace-xtn5wpmn.js} +11 -11
- package/dist/chunks/{command-44ksrw62.js → workspace-xygf558z.js} +13 -13
- package/dist/chunks/{command-y1fvbwt7.js → workspace-y1fvbwt7.js} +1 -1
- package/dist/chunks/{command-21bs846c.js → workspace-y39x7n9b.js} +17 -17
- package/dist/chunks/{command-dj7ydz2q.js → workspace-y9c8ds6g.js} +1 -1
- package/dist/chunks/{command-z7t8qwge.js → workspace-y9k1g73x.js} +5 -5
- package/dist/chunks/{command-6axvzsm7.js → workspace-yemygy56.js} +23 -23
- package/dist/chunks/{command-cd0z4qvb.js → workspace-yf10kn3d.js} +8 -8
- package/dist/chunks/{command-gb73r5q4.js → workspace-yga8c4n1.js} +30 -30
- package/dist/chunks/{command-yrhqyw5v.js → workspace-yrhqyw5v.js} +1 -1
- package/dist/chunks/{command-3ktbe3hf.js → workspace-yv13jgjp.js} +9 -9
- package/dist/chunks/{command-hng4xen5.js → workspace-yx53t0r1.js} +29 -29
- package/dist/chunks/{command-v5g5v3ws.js → workspace-yz5wbtz1.js} +18 -18
- package/dist/chunks/{command-z0bkrqjs.js → workspace-z0bkrqjs.js} +1 -1
- package/dist/chunks/{command-5mjt82ds.js → workspace-za2m9gf5.js} +24 -24
- package/dist/chunks/{command-gst7axd9.js → workspace-zav06jzw.js} +4 -4
- package/dist/chunks/{command-k6jsebqw.js → workspace-zcaw5wve.js} +14 -14
- package/dist/chunks/{command-rq775frq.js → workspace-zeh9ct20.js} +2 -2
- package/dist/chunks/{command-g2aavtfc.js → workspace-zetnz1cj.js} +3 -3
- package/dist/chunks/{command-brmtm7cf.js → workspace-zn2rtdne.js} +11 -11
- package/dist/chunks/{command-zr2ceqn5.js → workspace-zr2ceqn5.js} +1 -1
- package/dist/chunks/{command-zxq2ej10.js → workspace-zxq2ej10.js} +1 -1
- package/dist/chunks/{command-8qby4p94.js → workspace-zymwz594.js} +47 -47
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +120 -120
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +141 -141
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +107 -107
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +104 -104
- package/dist/git.js +6 -6
- 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 +90 -90
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +357 -357
- package/dist/location.js +80 -80
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +125 -125
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +99 -99
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +118 -118
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/compaction.js +130 -130
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +119 -119
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +93 -93
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- 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 +220 -220
- 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 +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- 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 +169 -169
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +90 -90
- 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 +124 -124
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +113 -113
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +79 -79
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +93 -93
- package/package.json +8 -8
- package/dist/chunks/command-0repjh3r.js +0 -252
- package/dist/chunks/command-vnkjks7b.js +0 -18
- package/dist/chunks/command-zyyeags5.js +0 -26
- /package/dist/chunks/{command-0mesazry.js → workspace-0mesazry.js} +0 -0
- /package/dist/chunks/{command-0qkdqm5v.js → workspace-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{command-0zkw76rk.js → workspace-0zkw76rk.js} +0 -0
- /package/dist/chunks/{command-17cy0kzp.js → workspace-17cy0kzp.js} +0 -0
- /package/dist/chunks/{command-1cnp2v09.js → workspace-1cnp2v09.js} +0 -0
- /package/dist/chunks/{command-1kg9ymc8.js → workspace-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{command-24dcb14g.js → workspace-24dcb14g.js} +0 -0
- /package/dist/chunks/{command-2710q6r3.js → workspace-2710q6r3.js} +0 -0
- /package/dist/chunks/{command-2axfhc9x.js → workspace-2axfhc9x.js} +0 -0
- /package/dist/chunks/{command-2c3vjs8z.js → workspace-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{command-359p4xyc.js → workspace-359p4xyc.js} +0 -0
- /package/dist/chunks/{command-3asan66x.js → workspace-3asan66x.js} +0 -0
- /package/dist/chunks/{command-3v8g72cx.js → workspace-3v8g72cx.js} +0 -0
- /package/dist/chunks/{command-3w5fmr99.js → workspace-3w5fmr99.js} +0 -0
- /package/dist/chunks/{command-3wcehsnq.js → workspace-3wcehsnq.js} +0 -0
- /package/dist/chunks/{command-43n2bw4t.js → workspace-43n2bw4t.js} +0 -0
- /package/dist/chunks/{command-4knz6hnm.js → workspace-4knz6hnm.js} +0 -0
- /package/dist/chunks/{command-4vcrnpx2.js → workspace-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{command-4y7fprxs.js → workspace-4y7fprxs.js} +0 -0
- /package/dist/chunks/{command-53557ph1.js → workspace-53557ph1.js} +0 -0
- /package/dist/chunks/{command-550bvhaj.js → workspace-550bvhaj.js} +0 -0
- /package/dist/chunks/{command-6prwharc.js → workspace-6prwharc.js} +0 -0
- /package/dist/chunks/{command-7akdwqpd.js → workspace-7akdwqpd.js} +0 -0
- /package/dist/chunks/{command-7m9af43g.js → workspace-7m9af43g.js} +0 -0
- /package/dist/chunks/{command-822emrt2.js → workspace-822emrt2.js} +0 -0
- /package/dist/chunks/{command-88xbtdfr.js → workspace-88xbtdfr.js} +0 -0
- /package/dist/chunks/{command-8n3pysct.js → workspace-8n3pysct.js} +0 -0
- /package/dist/chunks/{command-922hggd3.js → workspace-922hggd3.js} +0 -0
- /package/dist/chunks/{command-9a4afbnw.js → workspace-9a4afbnw.js} +0 -0
- /package/dist/chunks/{command-9rqn6x4v.js → workspace-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{command-a6k6eb26.js → workspace-a6k6eb26.js} +0 -0
- /package/dist/chunks/{command-af5trqkr.js → workspace-af5trqkr.js} +0 -0
- /package/dist/chunks/{command-afrmfg78.js → workspace-afrmfg78.js} +0 -0
- /package/dist/chunks/{command-aqzs7mqg.js → workspace-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{command-atq7p7m5.js → workspace-atq7p7m5.js} +0 -0
- /package/dist/chunks/{command-bkyjaxrp.js → workspace-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{command-bmr6ed5q.js → workspace-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{command-cf4snx6d.js → workspace-cf4snx6d.js} +0 -0
- /package/dist/chunks/{command-cvy3z8tj.js → workspace-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{command-d9fn303g.js → workspace-d9fn303g.js} +0 -0
- /package/dist/chunks/{command-d9jj8t3e.js → workspace-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{command-dajrwvna.js → workspace-dajrwvna.js} +0 -0
- /package/dist/chunks/{command-dap0rakb.js → workspace-dap0rakb.js} +0 -0
- /package/dist/chunks/{command-df08tz66.js → workspace-df08tz66.js} +0 -0
- /package/dist/chunks/{command-dy18nga0.js → workspace-dy18nga0.js} +0 -0
- /package/dist/chunks/{command-e5kj55wp.js → workspace-e5kj55wp.js} +0 -0
- /package/dist/chunks/{command-e73j6tqm.js → workspace-e73j6tqm.js} +0 -0
- /package/dist/chunks/{command-ec1grn59.js → workspace-ec1grn59.js} +0 -0
- /package/dist/chunks/{command-eh3zwz77.js → workspace-eh3zwz77.js} +0 -0
- /package/dist/chunks/{command-emrn6kk6.js → workspace-emrn6kk6.js} +0 -0
- /package/dist/chunks/{command-f0mxakyp.js → workspace-f0mxakyp.js} +0 -0
- /package/dist/chunks/{command-f6n9ztr4.js → workspace-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{command-faypxj3z.js → workspace-faypxj3z.js} +0 -0
- /package/dist/chunks/{command-fd410y7t.js → workspace-fd410y7t.js} +0 -0
- /package/dist/chunks/{command-fxgpk5d8.js → workspace-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{command-g4wezp1m.js → workspace-g4wezp1m.js} +0 -0
- /package/dist/chunks/{command-g86h250q.js → workspace-g86h250q.js} +0 -0
- /package/dist/chunks/{command-gebd4c9n.js → workspace-gebd4c9n.js} +0 -0
- /package/dist/chunks/{command-gftt206x.js → workspace-gftt206x.js} +0 -0
- /package/dist/chunks/{command-hjbc5kem.js → workspace-hjbc5kem.js} +0 -0
- /package/dist/chunks/{command-hk9envan.js → workspace-hk9envan.js} +0 -0
- /package/dist/chunks/{command-j2ntwpah.js → workspace-j2ntwpah.js} +0 -0
- /package/dist/chunks/{command-j5zkgpj8.js → workspace-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{command-jjkms2e6.js → workspace-jjkms2e6.js} +0 -0
- /package/dist/chunks/{command-jr7sbwjy.js → workspace-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{command-jwfs4k6c.js → workspace-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{command-jzg6c2d5.js → workspace-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{command-mp448xyj.js → workspace-mp448xyj.js} +0 -0
- /package/dist/chunks/{command-msx8hqn2.js → workspace-msx8hqn2.js} +0 -0
- /package/dist/chunks/{command-n05xt0ee.js → workspace-n05xt0ee.js} +0 -0
- /package/dist/chunks/{command-n3j8tn72.js → workspace-n3j8tn72.js} +0 -0
- /package/dist/chunks/{command-njntx4h6.js → workspace-njntx4h6.js} +0 -0
- /package/dist/chunks/{command-q3sfg36h.js → workspace-q3sfg36h.js} +0 -0
- /package/dist/chunks/{command-q74kybfr.js → workspace-q74kybfr.js} +0 -0
- /package/dist/chunks/{command-qaymkmh1.js → workspace-qaymkmh1.js} +0 -0
- /package/dist/chunks/{command-qb87gjwd.js → workspace-qb87gjwd.js} +0 -0
- /package/dist/chunks/{command-qfa1cgps.js → workspace-qfa1cgps.js} +0 -0
- /package/dist/chunks/{command-qg3g05ea.js → workspace-qg3g05ea.js} +0 -0
- /package/dist/chunks/{command-qrg20bc0.js → workspace-qrg20bc0.js} +0 -0
- /package/dist/chunks/{command-rcb2kzg1.js → workspace-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{command-sdp7kfr6.js → workspace-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{command-sk3qaz4a.js → workspace-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{command-ssg3fenm.js → workspace-ssg3fenm.js} +0 -0
- /package/dist/chunks/{command-twg0f83k.js → workspace-twg0f83k.js} +0 -0
- /package/dist/chunks/{command-w803qqfp.js → workspace-w803qqfp.js} +0 -0
- /package/dist/chunks/{command-wc3fc9cn.js → workspace-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{command-wer8tq1h.js → workspace-wer8tq1h.js} +0 -0
- /package/dist/chunks/{command-wtztk69x.js → workspace-wtztk69x.js} +0 -0
- /package/dist/chunks/{command-x0ckcb58.js → workspace-x0ckcb58.js} +0 -0
- /package/dist/chunks/{command-x61499pn.js → workspace-x61499pn.js} +0 -0
- /package/dist/chunks/{command-y44na4kk.js → workspace-y44na4kk.js} +0 -0
- /package/dist/chunks/{command-y8cydn3q.js → workspace-y8cydn3q.js} +0 -0
- /package/dist/chunks/{command-y8f7s663.js → workspace-y8f7s663.js} +0 -0
- /package/dist/chunks/{command-ygaqb7jw.js → workspace-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{command-ym463w8f.js → workspace-ym463w8f.js} +0 -0
- /package/dist/chunks/{command-z9919s4g.js → workspace-z9919s4g.js} +0 -0
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-j04hx8st.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service65
|
|
6
|
+
} from "./workspace-v9bkd1yb.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service13,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./workspace-xygf558z.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service16
|
|
14
|
+
} from "./workspace-4vv2c1zf.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service55
|
|
17
|
+
} from "./workspace-1y9dt3g7.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service22,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./workspace-f7djnycc.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./workspace-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./workspace-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
34
|
-
Output: () =>
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
33
|
+
Input: () => Input3,
|
|
34
|
+
Output: () => Output3,
|
|
35
|
+
Plugin: () => Plugin20,
|
|
36
|
+
name: () => name3
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name3 = "edit";
|
|
43
|
+
var Input3 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -50,7 +50,7 @@ var Input9 = Schema.Struct({
|
|
|
50
50
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output3 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
|
|
|
103
103
|
return result;
|
|
104
104
|
}, []);
|
|
105
105
|
};
|
|
106
|
-
var
|
|
106
|
+
var Plugin20 = {
|
|
107
107
|
id: "opencode.tool.edit",
|
|
108
108
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
109
|
-
const access = yield*
|
|
110
|
-
const fileMutation = yield*
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const formatter = yield*
|
|
109
|
+
const access = yield* Service22;
|
|
110
|
+
const fileMutation = yield* Service13;
|
|
111
|
+
const environment = yield* Service65;
|
|
112
|
+
const formatter = yield* Service16;
|
|
113
113
|
const location = yield* Service80;
|
|
114
|
-
const permission = yield*
|
|
114
|
+
const permission = yield* Service55;
|
|
115
115
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
116
|
-
name:
|
|
116
|
+
name: name3,
|
|
117
117
|
options: { codemode: false, permission: "edit" },
|
|
118
118
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
119
|
-
input:
|
|
120
|
-
output:
|
|
119
|
+
input: Input3,
|
|
120
|
+
output: Output3,
|
|
121
121
|
execute: (input, context) => {
|
|
122
122
|
return Effect.gen(function* () {
|
|
123
123
|
const permissionSource = {
|
|
@@ -194,4 +194,4 @@ var Plugin26 = {
|
|
|
194
194
|
})
|
|
195
195
|
};
|
|
196
196
|
|
|
197
|
-
export {
|
|
197
|
+
export { name3, Input3, Output3, Plugin20, exports_edit };
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-922hggd3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Info22
|
|
7
|
+
} from "./workspace-axmvebxj.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Info21
|
|
10
|
+
} from "./workspace-f32czd11.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Info19
|
|
13
|
+
} from "./workspace-3w2b2yj4.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Info20
|
|
16
|
+
} from "./workspace-a46v4e4v.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Info15
|
|
19
|
+
} from "./workspace-bdqrk2vk.js";
|
|
20
20
|
import {
|
|
21
21
|
Layout2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./workspace-21r38tys.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Info23
|
|
25
|
+
} from "./workspace-qz49fwgp.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
Info18
|
|
28
|
+
} from "./workspace-d2aac7k2.js";
|
|
29
29
|
import {
|
|
30
30
|
Spec2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./workspace-7dqw4kz8.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Info16
|
|
34
|
+
} from "./workspace-hnr5yq9h.js";
|
|
35
35
|
import {
|
|
36
36
|
Server2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./workspace-zeh9ct20.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Info17
|
|
40
|
+
} from "./workspace-dfe8djrf.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./workspace-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/v1/config/config.ts
|
|
46
46
|
var exports_config2 = {};
|
|
47
47
|
__export(exports_config2, {
|
|
48
48
|
ConfigV1: () => exports_config2,
|
|
49
|
-
Info: () =>
|
|
49
|
+
Info: () => Info14,
|
|
50
50
|
WellKnown: () => WellKnown2
|
|
51
51
|
});
|
|
52
52
|
import { Schema } from "effect";
|
|
@@ -59,7 +59,7 @@ var LogLevelRef = Schema.Literals(["DEBUG", "INFO", "WARN", "ERROR"]).annotate({
|
|
|
59
59
|
identifier: "LogLevel",
|
|
60
60
|
description: "Log level"
|
|
61
61
|
});
|
|
62
|
-
var
|
|
62
|
+
var Info14 = Schema.Struct({
|
|
63
63
|
$schema: Schema.optional(Schema.String).annotate({
|
|
64
64
|
description: "JSON schema reference for configuration validation"
|
|
65
65
|
}),
|
|
@@ -68,10 +68,10 @@ var Info9 = Schema.Struct({
|
|
|
68
68
|
server: Schema.optional(Server2).annotate({
|
|
69
69
|
description: "Server configuration for opencode serve and web commands"
|
|
70
70
|
}),
|
|
71
|
-
command: Schema.optional(Schema.Record(Schema.String,
|
|
71
|
+
command: Schema.optional(Schema.Record(Schema.String, Info20)).annotate({
|
|
72
72
|
description: "Command configuration, see https://opencode.ai/docs/commands"
|
|
73
73
|
}),
|
|
74
|
-
skills: Schema.optional(
|
|
74
|
+
skills: Schema.optional(Info17).annotate({ description: "Additional skill folder paths" }),
|
|
75
75
|
references: Schema.optional(ConfigReference.Info).annotate({
|
|
76
76
|
description: "Named git or local directory references"
|
|
77
77
|
}),
|
|
@@ -113,33 +113,33 @@ var Info9 = Schema.Struct({
|
|
|
113
113
|
username: Schema.optional(Schema.String).annotate({
|
|
114
114
|
description: "Custom username to display in conversations instead of system username"
|
|
115
115
|
}),
|
|
116
|
-
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(
|
|
116
|
+
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(Info21), plan: Schema.optional(Info21) }), [Schema.Record(Schema.String, Info21)])).annotate({ description: "@deprecated Use `agent` field instead." }),
|
|
117
117
|
agent: Schema.optional(Schema.StructWithRest(Schema.Struct({
|
|
118
|
-
plan: Schema.optional(
|
|
119
|
-
build: Schema.optional(
|
|
120
|
-
general: Schema.optional(
|
|
121
|
-
explore: Schema.optional(
|
|
122
|
-
title: Schema.optional(
|
|
123
|
-
summary: Schema.optional(
|
|
124
|
-
compaction: Schema.optional(
|
|
125
|
-
}), [Schema.Record(Schema.String,
|
|
126
|
-
provider: Schema.optional(Schema.Record(Schema.String,
|
|
118
|
+
plan: Schema.optional(Info21),
|
|
119
|
+
build: Schema.optional(Info21),
|
|
120
|
+
general: Schema.optional(Info21),
|
|
121
|
+
explore: Schema.optional(Info21),
|
|
122
|
+
title: Schema.optional(Info21),
|
|
123
|
+
summary: Schema.optional(Info21),
|
|
124
|
+
compaction: Schema.optional(Info21)
|
|
125
|
+
}), [Schema.Record(Schema.String, Info21)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
|
|
126
|
+
provider: Schema.optional(Schema.Record(Schema.String, Info16)).annotate({
|
|
127
127
|
description: "Custom provider configurations and model overrides"
|
|
128
128
|
}),
|
|
129
|
-
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([
|
|
130
|
-
formatter: Schema.optional(
|
|
129
|
+
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info18, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
|
|
130
|
+
formatter: Schema.optional(Info15).annotate({
|
|
131
131
|
description: "Enable or configure formatters. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
132
132
|
}),
|
|
133
|
-
lsp: Schema.optional(
|
|
133
|
+
lsp: Schema.optional(Info23).annotate({
|
|
134
134
|
description: "Enable or configure LSP servers. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
135
135
|
}),
|
|
136
136
|
instructions: Schema.optional(Schema.mutable(Schema.Array(Schema.String))).annotate({
|
|
137
137
|
description: "Additional instruction files or patterns to include"
|
|
138
138
|
}),
|
|
139
139
|
layout: Schema.optional(Layout2).annotate({ description: "@deprecated Always uses stretch layout." }),
|
|
140
|
-
permission: Schema.optional(
|
|
140
|
+
permission: Schema.optional(Info22),
|
|
141
141
|
tools: Schema.optional(Schema.Record(Schema.String, Schema.Boolean)),
|
|
142
|
-
attachment: Schema.optional(
|
|
142
|
+
attachment: Schema.optional(Info19).annotate({
|
|
143
143
|
description: "Attachment processing configuration, including image size limits and resizing behavior"
|
|
144
144
|
}),
|
|
145
145
|
enterprise: Schema.optional(Schema.Struct({ url: Schema.optional(Schema.String).annotate({ description: "Enterprise URL" }) })),
|
|
@@ -191,4 +191,4 @@ var Info9 = Schema.Struct({
|
|
|
191
191
|
}))
|
|
192
192
|
}).annotate({ identifier: "Config" });
|
|
193
193
|
|
|
194
|
-
export { WellKnown2,
|
|
194
|
+
export { WellKnown2, Info14, exports_config2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Info22
|
|
6
|
+
} from "./workspace-axmvebxj.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./workspace-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/v1/config/agent.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigAgentV1: () =>
|
|
15
|
-
Info: () =>
|
|
12
|
+
var exports_agent4 = {};
|
|
13
|
+
__export(exports_agent4, {
|
|
14
|
+
ConfigAgentV1: () => exports_agent4,
|
|
15
|
+
Info: () => Info21
|
|
16
16
|
});
|
|
17
17
|
import { Schema, SchemaGetter } from "effect";
|
|
18
18
|
var Color = Schema.Union([
|
|
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
44
44
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
45
45
|
}),
|
|
46
46
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
47
|
-
permission: Schema.optional(
|
|
47
|
+
permission: Schema.optional(Info22)
|
|
48
48
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
49
49
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
50
50
|
var normalize = (agent) => {
|
|
@@ -66,9 +66,9 @@ var normalize = (agent) => {
|
|
|
66
66
|
const steps = agent.steps ?? agent.maxSteps;
|
|
67
67
|
return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
|
|
68
68
|
};
|
|
69
|
-
var
|
|
69
|
+
var Info21 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
|
|
70
70
|
decode: SchemaGetter.transform(normalize),
|
|
71
71
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
72
72
|
})).annotate({ identifier: "AgentConfig" });
|
|
73
73
|
|
|
74
|
-
export {
|
|
74
|
+
export { Info21, exports_agent4 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-t8djmwwn.js";
|
|
7
7
|
import {
|
|
8
8
|
Service80,
|
|
9
9
|
node84
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./workspace-j04hx8st.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service55,
|
|
13
|
+
node58
|
|
14
|
+
} from "./workspace-1y9dt3g7.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./workspace-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,9 +22,9 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service22,
|
|
26
26
|
externalDirectoryPermission: () => externalDirectoryPermission2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node24,
|
|
28
28
|
resolvePath: () => resolvePath2
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,7 +43,7 @@ var externalDirectoryPermission2 = (input) => ({
|
|
|
43
43
|
save: [input.save]
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service22 extends Context.Service()("@opencode/FileAccess") {
|
|
47
47
|
}
|
|
48
48
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
49
49
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -55,10 +55,10 @@ var invocation = (context) => ({
|
|
|
55
55
|
agent: context.agent,
|
|
56
56
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
57
57
|
});
|
|
58
|
-
var layer = Layer.effect(
|
|
58
|
+
var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
59
59
|
const fs = yield* FSUtil.Service;
|
|
60
60
|
const location = yield* Service80;
|
|
61
|
-
const permission = yield*
|
|
61
|
+
const permission = yield* Service55;
|
|
62
62
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
63
63
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
64
64
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -107,8 +107,8 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
107
107
|
});
|
|
108
108
|
return target;
|
|
109
109
|
});
|
|
110
|
-
return
|
|
110
|
+
return Service22.of({ resolve, authorizeExternal, authorizeRead });
|
|
111
111
|
}));
|
|
112
|
-
var
|
|
112
|
+
var node24 = makeLocationNode({ service: Service22, layer, deps: [FSUtil.node, node84, node58] });
|
|
113
113
|
|
|
114
|
-
export { Kind2, ResolveInput2, externalDirectoryPermission2,
|
|
114
|
+
export { Kind2, ResolveInput2, externalDirectoryPermission2, Service22, resolvePath2, node24, exports_file_access };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-8p4f9s12.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83,
|
|
6
6
|
node87
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./workspace-p7gtrmqp.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event19,
|
|
10
|
+
Service78,
|
|
11
|
+
node82
|
|
12
|
+
} from "./workspace-yga8c4n1.js";
|
|
13
13
|
import {
|
|
14
14
|
Service80,
|
|
15
15
|
node84
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./workspace-j04hx8st.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service65,
|
|
19
|
+
node68
|
|
20
|
+
} from "./workspace-v9bkd1yb.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID16,
|
|
23
|
+
Service79,
|
|
24
|
+
node83
|
|
25
|
+
} from "./workspace-6878ajz3.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./workspace-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID14,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service77,
|
|
34
|
+
node81
|
|
35
|
+
} from "./workspace-x57r3cf8.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./workspace-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError5,
|
|
45
|
+
Options: () => Options5,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
|
|
|
50
50
|
ResourceContentPart: () => ResourceContentPart2,
|
|
51
51
|
ResourceTemplate: () => ResourceTemplate2,
|
|
52
52
|
ServerName: () => ServerName2,
|
|
53
|
-
Service: () =>
|
|
53
|
+
Service: () => Service37,
|
|
54
54
|
Status: () => Status2,
|
|
55
55
|
ToolCallError: () => ToolCallError2,
|
|
56
|
-
configured: () =>
|
|
57
|
-
layer: () =>
|
|
58
|
-
node: () =>
|
|
56
|
+
configured: () => configured5,
|
|
57
|
+
layer: () => layer14,
|
|
58
|
+
node: () => node41
|
|
59
59
|
});
|
|
60
60
|
import { Mcp } from "@opencode/schema/mcp";
|
|
61
61
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -74,7 +74,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
|
74
74
|
var ResourceContentPart2 = Mcp.ResourceContentPart;
|
|
75
75
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class NotFoundError5 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
78
78
|
server: ServerName2
|
|
79
79
|
}) {
|
|
80
80
|
get message() {
|
|
@@ -93,21 +93,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
93
93
|
var endpointLoads = makeUnsafe2();
|
|
94
94
|
var cloneConfig = (config) => structuredClone(config);
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service37 extends Context.Service()("@opencode/MCP") {
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var Options5 = Schema.Struct({
|
|
99
99
|
clientInfo: Schema.optional(Schema.Struct({
|
|
100
100
|
name: Schema.String,
|
|
101
101
|
version: Schema.String
|
|
102
102
|
}))
|
|
103
103
|
});
|
|
104
|
-
var
|
|
104
|
+
var layer14 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
105
105
|
const location = yield* Service80;
|
|
106
|
-
const environment = yield*
|
|
106
|
+
const environment = yield* Service65;
|
|
107
107
|
const bus = yield* Service83;
|
|
108
|
-
const forms = yield*
|
|
109
|
-
const integration = yield*
|
|
110
|
-
const credentials = yield*
|
|
108
|
+
const forms = yield* Service79;
|
|
109
|
+
const integration = yield* Service77;
|
|
110
|
+
const credentials = yield* Service78;
|
|
111
111
|
const root = yield* Effect.scope;
|
|
112
112
|
const fork = yield* FiberSet.makeRuntime();
|
|
113
113
|
const entries = new Map;
|
|
@@ -119,7 +119,7 @@ var layer12 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
119
119
|
return;
|
|
120
120
|
const remote = entry.config;
|
|
121
121
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
122
|
-
const integrationID =
|
|
122
|
+
const integrationID = ID14.make(suffix);
|
|
123
123
|
entry.integrationID = integrationID;
|
|
124
124
|
owned.add(integrationID);
|
|
125
125
|
const methodID = MethodID2.make(suffix);
|
|
@@ -135,7 +135,7 @@ var layer12 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
135
135
|
method: { id: methodID, type: "oauth", label: name },
|
|
136
136
|
authorize: () => Effect.gen(function* () {
|
|
137
137
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
138
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
138
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service78, credentials));
|
|
139
139
|
})
|
|
140
140
|
});
|
|
141
141
|
}).pipe(Scope.provide(scope));
|
|
@@ -144,19 +144,19 @@ var layer12 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
144
144
|
const name = ServerName2.make(server);
|
|
145
145
|
const entry = entries.get(name);
|
|
146
146
|
if (!entry)
|
|
147
|
-
return yield* new
|
|
147
|
+
return yield* new NotFoundError5({ server: name });
|
|
148
148
|
return { name, entry };
|
|
149
149
|
});
|
|
150
150
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
151
151
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
152
152
|
return;
|
|
153
153
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
154
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
154
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service78, credentials));
|
|
155
155
|
});
|
|
156
156
|
const elicitation = {
|
|
157
157
|
create: (input) => Effect.gen(function* () {
|
|
158
158
|
if (input.params.mode === "url") {
|
|
159
|
-
const formID =
|
|
159
|
+
const formID = ID16.create();
|
|
160
160
|
const elicitationID = input.params.elicitationId;
|
|
161
161
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
162
162
|
if (key)
|
|
@@ -240,7 +240,7 @@ var layer12 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
240
240
|
entry.scope = scope;
|
|
241
241
|
const authProvider = yield* connectProvider(entry);
|
|
242
242
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
243
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
243
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service65, environment), Scope.provide(scope));
|
|
244
244
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
245
245
|
if (Exit.isSuccess(result)) {
|
|
246
246
|
entry.client = result.value.connection;
|
|
@@ -365,7 +365,7 @@ var layer12 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
365
365
|
yield* startServer(name, entry);
|
|
366
366
|
}).pipe(locks.withLock(name));
|
|
367
367
|
});
|
|
368
|
-
fork(bus.subscribe(
|
|
368
|
+
fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
369
369
|
const state = create3({
|
|
370
370
|
name: "mcp",
|
|
371
371
|
initial: () => ({
|
|
@@ -391,7 +391,7 @@ var layer12 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
391
391
|
}),
|
|
392
392
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
393
393
|
});
|
|
394
|
-
return
|
|
394
|
+
return Service37.of({
|
|
395
395
|
transform: state.transform,
|
|
396
396
|
reload: state.reload,
|
|
397
397
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -510,14 +510,14 @@ var layer12 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
510
510
|
})
|
|
511
511
|
});
|
|
512
512
|
}));
|
|
513
|
-
function
|
|
513
|
+
function configured5(options) {
|
|
514
514
|
return makeLocationNode({
|
|
515
|
-
service:
|
|
516
|
-
layer:
|
|
517
|
-
deps: [node84,
|
|
515
|
+
service: Service37,
|
|
516
|
+
layer: layer14(options),
|
|
517
|
+
deps: [node84, node68, node87, node83, node81, node82]
|
|
518
518
|
});
|
|
519
519
|
}
|
|
520
|
-
var
|
|
520
|
+
var node41 = configured5();
|
|
521
521
|
function toElicitationField(key, property, required) {
|
|
522
522
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
523
523
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -568,4 +568,4 @@ function toElicitationField(key, property, required) {
|
|
|
568
568
|
}
|
|
569
569
|
}
|
|
570
570
|
|
|
571
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2,
|
|
571
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError5, ToolCallError2, Service37, Options5, layer14, configured5, node41, exports_mcp4 };
|