@opencode/core 0.0.0-dev-19280 → 0.0.0-dev-19284
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +71 -71
- package/dist/catalog.js +83 -83
- package/dist/chunks/{location-service-map-93cx6esp.js → pty-04b6k755.js} +14 -14
- package/dist/chunks/{location-service-map-2gfgcbzh.js → pty-0531sp94.js} +2 -2
- package/dist/chunks/{location-service-map-5nh6m5vw.js → pty-0b0xam7s.js} +26 -26
- package/dist/chunks/{location-service-map-1dfhrqqs.js → pty-0hpxrkyb.js} +5 -5
- package/dist/chunks/{location-service-map-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-service-map-0q0f95c6.js → pty-0q0f95c6.js} +1 -1
- package/dist/chunks/{location-service-map-4vgmnd2k.js → pty-0v9511cz.js} +4 -4
- package/dist/chunks/{location-service-map-n9mdbeqq.js → pty-0xxge0pj.js} +15 -15
- package/dist/chunks/{location-service-map-6cm37j9r.js → pty-0y9djfvb.js} +3 -3
- package/dist/chunks/{location-service-map-30021mhd.js → pty-101th954.js} +24 -24
- package/dist/chunks/{location-service-map-a78p0fgv.js → pty-113zqzxk.js} +28 -28
- package/dist/chunks/{location-service-map-1g2ww1p9.js → pty-12y94dz0.js} +10 -10
- package/dist/chunks/{location-service-map-76fg4f71.js → pty-13egd5dp.js} +26 -26
- package/dist/chunks/{location-service-map-54rgpan3.js → pty-1ayhfk3a.js} +82 -82
- package/dist/chunks/{location-service-map-1dazxqgg.js → pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-service-map-eaxv9vp3.js → pty-1dtagjcf.js} +11 -11
- package/dist/chunks/{location-service-map-16qsj906.js → pty-1k9r8ajs.js} +21 -21
- package/dist/chunks/{location-service-map-061af93m.js → pty-1katgxgp.js} +43 -43
- package/dist/chunks/{location-service-map-tc59d7j5.js → pty-1r92xkdd.js} +13 -13
- package/dist/chunks/{location-service-map-67rqfjp4.js → pty-1tq5sqwa.js} +9 -9
- package/dist/chunks/{location-service-map-xqyszs4f.js → pty-1tr2mxv2.js} +15 -15
- package/dist/chunks/{location-service-map-y0zvy8xh.js → pty-1vx4skf5.js} +26 -26
- package/dist/chunks/{location-service-map-mfqp6xfm.js → pty-1ygqh575.js} +6 -6
- package/dist/chunks/{location-service-map-21r38tys.js → pty-21r38tys.js} +1 -1
- package/dist/chunks/{location-service-map-2402vzrj.js → pty-2402vzrj.js} +1 -1
- package/dist/chunks/{location-service-map-8w01z9h0.js → pty-28v53sff.js} +10 -10
- package/dist/chunks/{location-service-map-z63w68vq.js → pty-29x78va6.js} +6 -6
- package/dist/chunks/{location-service-map-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-service-map-kqa41daq.js → pty-2caq6pqh.js} +23 -23
- package/dist/chunks/{location-service-map-tn0aqsam.js → pty-2f0bjgcj.js} +5 -5
- package/dist/chunks/{location-service-map-n8ja4s63.js → pty-2h21rrjx.js} +20 -20
- package/dist/chunks/{location-service-map-w74r38yk.js → pty-2n7rzc9a.js} +9 -9
- package/dist/chunks/{location-service-map-aa78bncg.js → pty-2wzvf4j2.js} +83 -83
- package/dist/chunks/{location-service-map-8sghyhzw.js → pty-36yjp8yh.js} +8 -8
- package/dist/chunks/{location-service-map-yap3mhkf.js → pty-3c2gg74p.js} +17 -17
- package/dist/chunks/{location-service-map-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-service-map-0j4fym4e.js → pty-3gr3tgnk.js} +27 -27
- package/dist/chunks/{location-service-map-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-service-map-bk4s3tx3.js → pty-3r153z9p.js} +51 -51
- package/dist/chunks/{location-service-map-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-service-map-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-service-map-8ce9gjz0.js → pty-3xfh4yeh.js} +31 -31
- package/dist/chunks/{location-service-map-ms0zmdaj.js → pty-3yyqtq1k.js} +18 -18
- package/dist/chunks/{location-service-map-841pgex1.js → pty-48jnmw64.js} +32 -32
- package/dist/chunks/{location-service-map-41gq8gm7.js → pty-4ahbs3kp.js} +19 -19
- package/dist/chunks/{location-service-map-c7g3redb.js → pty-4f90fc6p.js} +20 -20
- package/dist/chunks/{location-service-map-6fgbakp6.js → pty-52fdmm22.js} +57 -57
- package/dist/chunks/{location-service-map-7qr4d326.js → pty-53datcyd.js} +41 -41
- package/dist/chunks/{location-service-map-hsg9k7t6.js → pty-595vq8s1.js} +20 -20
- package/dist/chunks/{location-service-map-qgxb7vr4.js → pty-5b8sybsb.js} +20 -20
- package/dist/chunks/{location-service-map-5daktx2q.js → pty-5daktx2q.js} +1 -1
- package/dist/chunks/pty-5eypht73.js +247 -0
- package/dist/chunks/{location-service-map-mwps40g7.js → pty-5gpsw6jk.js} +32 -32
- package/dist/chunks/{location-service-map-5t3nmthw.js → pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-service-map-8v0m4qy5.js → pty-604mgw0e.js} +11 -11
- package/dist/chunks/{location-service-map-669tq793.js → pty-669tq793.js} +1 -1
- package/dist/chunks/{location-service-map-fjjp0bek.js → pty-6e6v2scb.js} +18 -18
- package/dist/chunks/{location-service-map-6jnybvqn.js → pty-6jnybvqn.js} +2 -2
- package/dist/chunks/{location-service-map-6msgmcgs.js → pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-service-map-v7w426qw.js → pty-6rgk4ym7.js} +29 -29
- package/dist/chunks/{location-service-map-xmmda1hq.js → pty-6tfkz8mw.js} +11 -11
- package/dist/chunks/{location-service-map-907sgp7f.js → pty-70vxa6pp.js} +12 -12
- package/dist/chunks/{location-service-map-nkq24z0e.js → pty-7108e3wm.js} +26 -26
- package/dist/chunks/{location-service-map-71q4at8m.js → pty-71q4at8m.js} +1 -1
- package/dist/chunks/{location-service-map-mhkvc446.js → pty-73tb2d7t.js} +3 -3
- package/dist/chunks/{location-service-map-7v6bx775.js → pty-7bfxxbhh.js} +6 -6
- package/dist/chunks/{location-service-map-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-service-map-tftr6m9x.js → pty-7d0zm79z.js} +8 -8
- package/dist/chunks/{location-service-map-2qwrzt4p.js → pty-7f7j5aqq.js} +12 -12
- package/dist/chunks/{location-service-map-mzv60zsr.js → pty-7kn1pjxe.js} +11 -11
- package/dist/chunks/{location-service-map-krm5fbzy.js → pty-7nfgfjsm.js} +9 -9
- package/dist/chunks/{location-service-map-y8nnf61w.js → pty-7t0ps460.js} +10 -10
- package/dist/chunks/{location-service-map-bfvgachw.js → pty-7wabxp46.js} +22 -22
- package/dist/chunks/{location-service-map-j15mfg1p.js → pty-7yqjxrmz.js} +4 -4
- package/dist/chunks/{location-service-map-81swgkk7.js → pty-81swgkk7.js} +2 -2
- package/dist/chunks/{location-service-map-61tk1b3w.js → pty-84c1s7yv.js} +17 -17
- package/dist/chunks/{location-service-map-8d7r5vzw.js → pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-service-map-z00wvf46.js → pty-8dk8azxs.js} +3 -3
- package/dist/chunks/{location-service-map-13vmeyva.js → pty-8gpb4ajr.js} +11 -11
- package/dist/chunks/{location-service-map-4796q64q.js → pty-8kqe18cf.js} +9 -9
- package/dist/chunks/{location-service-map-98wajpgs.js → pty-8nqvx115.js} +4 -4
- package/dist/chunks/{location-service-map-dj2t23y0.js → pty-8p4f9s12.js} +2 -2
- package/dist/chunks/{location-service-map-0h6kt2by.js → pty-8tfpvtr7.js} +28 -28
- package/dist/chunks/{location-service-map-y64575h1.js → pty-8xyemkvq.js} +3 -3
- package/dist/chunks/{location-service-map-3kwjdgrz.js → pty-913yfcff.js} +18 -18
- package/dist/chunks/{location-service-map-t0ba7kpe.js → pty-92c83kr3.js} +13 -13
- package/dist/chunks/{location-service-map-cy3hhnd8.js → pty-9ex99xm7.js} +7 -7
- package/dist/chunks/{location-service-map-xxynqx5z.js → pty-9ky66zz9.js} +3 -3
- package/dist/chunks/{location-service-map-f3j7ywnm.js → pty-9nepbqpa.js} +6 -6
- package/dist/chunks/{location-service-map-az24r0qy.js → pty-9qrd0ade.js} +45 -45
- package/dist/chunks/{location-service-map-1crzq34m.js → pty-9txcanwf.js} +34 -34
- package/dist/chunks/{location-service-map-5c4hm403.js → pty-a1bz86dw.js} +3 -3
- package/dist/chunks/{location-service-map-4zned0t3.js → pty-a2fmrcfx.js} +4 -4
- package/dist/chunks/{location-service-map-aaet6srn.js → pty-aaet6srn.js} +2 -2
- package/dist/chunks/{location-service-map-ae8ff96s.js → pty-ah0499c8.js} +30 -30
- package/dist/chunks/{location-service-map-3aqv7wxc.js → pty-ahz4xwhq.js} +19 -19
- package/dist/chunks/{location-service-map-24ye1wdt.js → pty-ajnpj862.js} +6 -6
- package/dist/chunks/{location-service-map-xrgnr4vw.js → pty-anj7ja7x.js} +16 -16
- package/dist/chunks/{location-service-map-ryr25ayn.js → pty-at5d07az.js} +4 -4
- package/dist/chunks/pty-at7vj8xg.js +462 -0
- package/dist/chunks/{location-service-map-8gnjjt4m.js → pty-aynpr8ab.js} +15 -15
- package/dist/chunks/{location-service-map-8b2cqggs.js → pty-azc0fw06.js} +47 -47
- package/dist/chunks/{location-service-map-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-service-map-fab8hzt3.js → pty-bajakh74.js} +4 -4
- package/dist/chunks/{location-service-map-msq0jde0.js → pty-bccb6npm.js} +4 -4
- package/dist/chunks/{location-service-map-w9f4sbje.js → pty-bd2sx3rh.js} +30 -30
- package/dist/chunks/{location-service-map-pdpf3tt7.js → pty-bf9a8ejx.js} +17 -17
- package/dist/chunks/{location-service-map-kk8h1mek.js → pty-bh0zzf2s.js} +8 -8
- package/dist/chunks/{location-service-map-wb3jcy3h.js → pty-by885ras.js} +4 -4
- package/dist/chunks/{location-service-map-j28tp19m.js → pty-byz24ksx.js} +29 -29
- package/dist/chunks/{location-service-map-f4p5cr8k.js → pty-c1ayfejr.js} +18 -18
- package/dist/chunks/{location-service-map-zejb1v11.js → pty-c1zrx13f.js} +14 -14
- package/dist/chunks/{location-service-map-pzx9vzqb.js → pty-c4jwsn70.js} +19 -19
- package/dist/chunks/{location-service-map-qak59w04.js → pty-cajdsvab.js} +19 -19
- package/dist/chunks/{location-service-map-2y34zzjz.js → pty-cf3tj770.js} +4 -4
- package/dist/chunks/{location-service-map-m0jqrx5p.js → pty-cfpkc3c9.js} +2 -2
- package/dist/chunks/{location-service-map-jv9ns0w3.js → pty-cq79sjzr.js} +30 -30
- package/dist/chunks/{location-service-map-yxc59d7f.js → pty-cte9ap30.js} +6 -6
- package/dist/chunks/{location-service-map-fbddvgjq.js → pty-cy209589.js} +7 -7
- package/dist/chunks/{location-service-map-tbxt9n2a.js → pty-d4e3xrxv.js} +8 -8
- package/dist/chunks/{location-service-map-aabn5n86.js → pty-dcmqyx64.js} +6 -6
- package/dist/chunks/{location-service-map-4hzyr4ps.js → pty-dm7hx1w0.js} +13 -13
- package/dist/chunks/{location-service-map-dpkg50ah.js → pty-dpkg50ah.js} +1 -1
- package/dist/chunks/{location-service-map-asmz7wyz.js → pty-dv1qgsyq.js} +8 -8
- package/dist/chunks/{location-service-map-y7w5tfeq.js → pty-dw85xzsy.js} +12 -12
- package/dist/chunks/{location-service-map-xtjyn408.js → pty-dxt59c3z.js} +14 -14
- package/dist/chunks/{location-service-map-jywbac0n.js → pty-e2ryeqwt.js} +25 -25
- package/dist/chunks/{location-service-map-b6pgh42p.js → pty-e430r8zt.js} +11 -11
- package/dist/chunks/{location-service-map-4zpskbgw.js → pty-e6eyn984.js} +20 -20
- package/dist/chunks/{location-service-map-rsxg3zg0.js → pty-edafkgj2.js} +6 -6
- package/dist/chunks/{location-service-map-zhz9x1ck.js → pty-ee3krkrp.js} +15 -15
- package/dist/chunks/{location-service-map-zj96yyh5.js → pty-eegqa8a9.js} +35 -35
- package/dist/chunks/{location-service-map-0r7wabnc.js → pty-ef87s1j5.js} +11 -11
- package/dist/chunks/{location-service-map-vqmx0vgv.js → pty-efhysqvt.js} +11 -11
- package/dist/chunks/{location-service-map-xnfkgz8z.js → pty-egb2azzx.js} +29 -29
- package/dist/chunks/{location-service-map-nhez0whe.js → pty-ehvxp5zp.js} +13 -13
- package/dist/chunks/{location-service-map-etq0c3wd.js → pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-service-map-vjq8w0ct.js → pty-evp6550k.js} +24 -24
- package/dist/chunks/{location-service-map-0xbgg0nv.js → pty-f6h7dvp6.js} +7 -7
- package/dist/chunks/{location-service-map-hdnk95c8.js → pty-f828m53h.js} +2 -2
- package/dist/chunks/{location-service-map-d2aac7k2.js → pty-f90chkmn.js} +5 -5
- package/dist/chunks/{location-service-map-7dqw4kz8.js → pty-fcrkznn8.js} +5 -5
- package/dist/chunks/{location-service-map-wygcwagr.js → pty-fn6h20rm.js} +4 -4
- package/dist/chunks/{location-service-map-fxbjtjnd.js → pty-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-service-map-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-service-map-jmaqwnm5.js → pty-gdm9bc2g.js} +36 -36
- package/dist/chunks/{location-service-map-qej9sj1w.js → pty-gke4hfak.js} +11 -11
- package/dist/chunks/{location-service-map-1hmee049.js → pty-gmesheqj.js} +67 -67
- package/dist/chunks/{location-service-map-xkwrsmqc.js → pty-gq4yt5d9.js} +11 -11
- package/dist/chunks/{location-service-map-eedqqt57.js → pty-gy4xd5ae.js} +7 -7
- package/dist/chunks/{location-service-map-h03wrkyp.js → pty-h03wrkyp.js} +2 -2
- package/dist/chunks/{location-service-map-4rt6grj7.js → pty-h457z9c3.js} +1 -1
- package/dist/chunks/{location-service-map-xtgp4803.js → pty-h6dyyfam.js} +163 -163
- package/dist/chunks/{location-service-map-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-service-map-qte5z7bc.js → pty-hcz3zddy.js} +5 -5
- package/dist/chunks/{location-service-map-6dxh1ctg.js → pty-hhqp0ev3.js} +4 -4
- package/dist/chunks/{location-service-map-076fdf6x.js → pty-hjdzmzjx.js} +3 -3
- package/dist/chunks/{location-service-map-hn57h045.js → pty-hn57h045.js} +1 -1
- package/dist/chunks/{location-service-map-tnkz2q47.js → pty-hq506b09.js} +1 -1
- package/dist/chunks/{location-service-map-2aa0fsm0.js → pty-hqp75n2j.js} +27 -27
- package/dist/chunks/pty-hr9dp009.js +4 -0
- package/dist/chunks/{location-service-map-p1wf2k30.js → pty-hrvd6t1f.js} +9 -9
- package/dist/chunks/{location-service-map-6cf0kwbj.js → pty-hvw41qaw.js} +24 -24
- package/dist/chunks/{location-service-map-7gepjn4b.js → pty-hxzmwa8h.js} +11 -11
- package/dist/chunks/{location-service-map-sn6jpf3k.js → pty-j08yav90.js} +26 -26
- package/dist/chunks/{location-service-map-80t34wb3.js → pty-j32r0sby.js} +11 -11
- package/dist/chunks/{location-service-map-xrywhj35.js → pty-j46t8cy3.js} +35 -35
- package/dist/chunks/{location-service-map-37v971k2.js → pty-j4e3jsg7.js} +5 -5
- package/dist/chunks/{location-service-map-j56e64zr.js → pty-j56e64zr.js} +1 -1
- package/dist/chunks/{location-service-map-paphc93g.js → pty-j935v87r.js} +2 -2
- package/dist/chunks/{location-service-map-36vh5heq.js → pty-jaxrymj1.js} +32 -32
- package/dist/chunks/{location-service-map-capp4e5v.js → pty-jfz1was4.js} +9 -9
- package/dist/chunks/{location-service-map-saaf3fxb.js → pty-jmm88pvs.js} +11 -11
- package/dist/chunks/{location-service-map-s8ab6230.js → pty-jn1j3vts.js} +9 -9
- package/dist/chunks/{location-service-map-vpytprf9.js → pty-jv1xsv73.js} +43 -43
- package/dist/chunks/{location-service-map-h4kyb941.js → pty-k15hmge1.js} +19 -19
- package/dist/chunks/{location-service-map-b7wf9cse.js → pty-k9zjg2m8.js} +15 -15
- package/dist/chunks/pty-keyh8483.js +22 -0
- package/dist/chunks/{location-service-map-2end795d.js → pty-kf7bhd8x.js} +16 -16
- package/dist/chunks/{location-service-map-kg06axw8.js → pty-kg06axw8.js} +1 -1
- package/dist/chunks/{location-service-map-xxs862kg.js → pty-kke37ydq.js} +15 -15
- package/dist/chunks/{location-service-map-bwzhs6r2.js → pty-kqcsfhww.js} +22 -22
- package/dist/chunks/{location-service-map-tfwap27p.js → pty-kt5w8vxh.js} +10 -10
- package/dist/chunks/{location-service-map-x3d13zqf.js → pty-m9g7kjz2.js} +1 -1
- package/dist/chunks/{location-service-map-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-service-map-q0dj6ebj.js → pty-map23pr4.js} +24 -24
- package/dist/chunks/{location-service-map-mkcjrzeh.js → pty-mkcjrzeh.js} +1 -1
- package/dist/chunks/{location-service-map-4tj7k7mp.js → pty-mq9k5emb.js} +22 -22
- package/dist/chunks/{location-service-map-6rsdt8e9.js → pty-mqgza0s1.js} +2 -2
- package/dist/chunks/{location-service-map-vnhrgrcz.js → pty-mx6z9c2k.js} +38 -38
- package/dist/chunks/{location-service-map-ps8w6tdx.js → pty-myh2tnjz.js} +14 -14
- package/dist/chunks/{location-service-map-2m9apge2.js → pty-n3hdt412.js} +15 -15
- package/dist/chunks/{location-service-map-5c7att9k.js → pty-n6nwjk4k.js} +13 -13
- package/dist/chunks/{location-service-map-47gsdddb.js → pty-nhy5jxhy.js} +5 -5
- package/dist/chunks/{location-service-map-tpsh7nep.js → pty-nqh3n51t.js} +12 -12
- package/dist/chunks/{location-service-map-mm89s5e8.js → pty-nts3ktd3.js} +6 -6
- package/dist/chunks/{location-service-map-y2fvzcwf.js → pty-p0x0xsz0.js} +16 -16
- package/dist/chunks/{location-service-map-qgde9kn8.js → pty-p9e5f8hs.js} +4 -4
- package/dist/chunks/{location-service-map-s534qmrw.js → pty-pck3w1ab.js} +4 -4
- package/dist/chunks/{location-service-map-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-service-map-pknna89w.js → pty-pknna89w.js} +1 -1
- package/dist/chunks/{location-service-map-5gn61kgv.js → pty-pksqeybc.js} +25 -25
- package/dist/chunks/{location-service-map-gczbgzva.js → pty-pxm7ex4k.js} +15 -15
- package/dist/chunks/{location-service-map-5z63511r.js → pty-qba6esk9.js} +9 -9
- package/dist/chunks/{location-service-map-z0adqxrv.js → pty-qcbjdgb9.js} +27 -27
- package/dist/chunks/{location-service-map-q2h0z8ma.js → pty-qd417my5.js} +1 -1
- package/dist/chunks/{location-service-map-nqgwmxz9.js → pty-qn39sdbb.js} +41 -41
- package/dist/chunks/{location-service-map-qsdy395h.js → pty-qsdy395h.js} +1 -1
- package/dist/chunks/{location-service-map-vncycja5.js → pty-r98e92ep.js} +4 -4
- package/dist/chunks/{location-service-map-hbtjffsn.js → pty-rb4rdn3m.js} +47 -47
- package/dist/chunks/{location-service-map-4x7wp6bv.js → pty-rdyvw1h1.js} +33 -33
- package/dist/chunks/{location-service-map-amphtb7h.js → pty-rhq1hhdm.js} +8 -8
- package/dist/chunks/{location-service-map-9hmzd01s.js → pty-rw861jrs.js} +46 -46
- package/dist/chunks/{location-service-map-yrznvahk.js → pty-s4enseaf.js} +2 -2
- package/dist/chunks/{location-service-map-5h8vdksd.js → pty-s7kwm6zm.js} +5 -5
- package/dist/chunks/{location-service-map-g190xswt.js → pty-s8j6jbjj.js} +21 -21
- package/dist/chunks/{location-service-map-2sr0pdaw.js → pty-sedetxkq.js} +32 -32
- package/dist/chunks/{location-service-map-dm6exe3b.js → pty-sjnbwgen.js} +13 -13
- package/dist/chunks/{location-service-map-nzdya8zy.js → pty-sthxgr5k.js} +24 -24
- package/dist/chunks/{location-service-map-67eqsqcw.js → pty-sv2dresp.js} +11 -11
- package/dist/chunks/{location-service-map-g2xbs3ev.js → pty-sxam9rt0.js} +4 -4
- package/dist/chunks/{location-service-map-p33ejz0k.js → pty-t23qze4t.js} +1 -1
- package/dist/chunks/{location-service-map-qjn3382e.js → pty-t2vdd8h0.js} +7 -7
- package/dist/chunks/{location-service-map-rhjbct0v.js → pty-t550f9t1.js} +4 -4
- package/dist/chunks/{location-service-map-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-service-map-tcezcvh9.js → pty-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-service-map-tdstcens.js → pty-tdstcens.js} +1 -1
- package/dist/chunks/{location-service-map-rd0bynaw.js → pty-tffb36pg.js} +14 -14
- package/dist/chunks/{location-service-map-gv6a8nnw.js → pty-th5km1p3.js} +5 -5
- package/dist/chunks/{location-service-map-y0zx1wb0.js → pty-tt7t6gfm.js} +13 -13
- package/dist/chunks/{location-service-map-tvtrv512.js → pty-tvtrv512.js} +1 -1
- package/dist/chunks/{location-service-map-veqvce7d.js → pty-veqvce7d.js} +1 -1
- package/dist/chunks/{location-service-map-er71arxf.js → pty-vewreb7k.js} +12 -12
- package/dist/chunks/pty-vnkjks7b.js +18 -0
- package/dist/chunks/{location-service-map-hznkg6qn.js → pty-vp5s6n4v.js} +34 -34
- package/dist/chunks/{location-service-map-4v4bfvma.js → pty-vrpz8t5t.js} +5 -5
- package/dist/chunks/{location-service-map-tfrhnqth.js → pty-vxdaz8vr.js} +11 -11
- package/dist/chunks/{location-service-map-9x70wdpr.js → pty-vy69nfyt.js} +29 -29
- package/dist/chunks/{location-service-map-8dnnpvxn.js → pty-vyyqyr61.js} +25 -25
- package/dist/chunks/{location-service-map-vzcthcp8.js → pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-service-map-npntah3r.js → pty-vzrnynxw.js} +6 -6
- package/dist/chunks/{location-service-map-m24xnkg2.js → pty-w31q4z5a.js} +11 -11
- package/dist/chunks/{location-service-map-dz2mtk21.js → pty-w3ent86v.js} +7 -7
- package/dist/chunks/{location-service-map-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-service-map-wd87259q.js → pty-wd87259q.js} +1 -1
- package/dist/chunks/{location-service-map-t29szwpj.js → pty-wfeey21d.js} +18 -18
- package/dist/chunks/{location-service-map-6e1ynkjd.js → pty-wg42tg3h.js} +8 -8
- package/dist/chunks/{location-service-map-9095qaaa.js → pty-wm0z4180.js} +25 -25
- package/dist/chunks/{location-service-map-xvx8vm3y.js → pty-wm433qqz.js} +46 -46
- package/dist/chunks/{location-service-map-t0v1gnpj.js → pty-wp2qtysx.js} +14 -14
- package/dist/chunks/{location-service-map-jrv1xbev.js → pty-wwrx56v5.js} +3 -3
- package/dist/chunks/{location-service-map-zj09a0ew.js → pty-x0511brf.js} +4 -4
- package/dist/chunks/{location-service-map-d0hhfdg4.js → pty-x0yh80ry.js} +13 -13
- package/dist/chunks/{location-service-map-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-service-map-x43y2vfs.js → pty-x43y2vfs.js} +2 -2
- package/dist/chunks/{location-service-map-tmjae0pq.js → pty-x4kntfbn.js} +20 -20
- package/dist/chunks/{location-service-map-s9ysmem1.js → pty-xc71xt00.js} +5 -5
- package/dist/chunks/{location-service-map-n3p3jf1x.js → pty-xfxn6gek.js} +1 -1
- package/dist/chunks/{location-service-map-0erzq2np.js → pty-xsasmzga.js} +3 -3
- package/dist/chunks/{location-service-map-gb30xeaa.js → pty-xt97pgbp.js} +7 -7
- package/dist/chunks/{location-service-map-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-service-map-66fdfd31.js → pty-y37t65q2.js} +13 -13
- package/dist/chunks/{location-service-map-fnf4x40q.js → pty-y49qrr0k.js} +1 -1
- package/dist/chunks/{location-service-map-b8b3f19r.js → pty-y56ehv6b.js} +9 -9
- package/dist/chunks/{location-service-map-f64330d9.js → pty-y65x3qsm.js} +5 -5
- package/dist/chunks/{location-service-map-g46phx72.js → pty-ye323zqv.js} +9 -9
- package/dist/chunks/{location-service-map-yp2x3t23.js → pty-yp2x3t23.js} +1 -1
- package/dist/chunks/{location-service-map-5jg3sy5t.js → pty-yrc26zmc.js} +20 -20
- package/dist/chunks/{location-service-map-yrhqyw5v.js → pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-service-map-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-service-map-f5h9zjps.js → pty-z33n7yxw.js} +1 -1
- package/dist/chunks/{location-service-map-znpwehhw.js → pty-z5p19pf1.js} +8 -8
- package/dist/chunks/{location-service-map-3c1tgrea.js → pty-zcqf6png.js} +6 -6
- package/dist/chunks/{location-service-map-hvbks3tt.js → pty-ze5v0a14.js} +8 -8
- package/dist/chunks/{location-service-map-zeh9ct20.js → pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-service-map-ensq9cxs.js → pty-zmh1pv5f.js} +15 -15
- package/dist/chunks/{location-service-map-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-service-map-jgvckwgj.js → pty-zwv60398.js} +2 -2
- package/dist/chunks/{location-service-map-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
- package/dist/chunks/{location-service-map-77gr2wf6.js → pty-zy5ev4j8.js} +21 -21
- package/dist/chunks/{location-service-map-zzx7yemb.js → pty-zyzh87z1.js} +26 -26
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- 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 +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +79 -79
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +72 -72
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- 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 +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +93 -93
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +94 -94
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +89 -89
- package/dist/git.js +7 -7
- 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 +3 -3
- 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 +352 -352
- package/dist/instruction-discovery.js +79 -79
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +80 -80
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +130 -130
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +349 -349
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +118 -118
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +110 -110
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- 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 +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +115 -115
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -80
- package/dist/plugin/provider/opencode.js +76 -76
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.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 +75 -75
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +147 -147
- 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 +216 -216
- package/dist/session/execution.js +118 -118
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +1 -1
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +121 -121
- 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 +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +11 -11
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +86 -86
- 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 +119 -119
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +116 -116
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +96 -96
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- 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 +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- 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/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +339 -339
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +8 -8
- package/dist/chunks/location-service-map-0mesazry.js +0 -4
- package/dist/chunks/location-service-map-5tkdef88.js +0 -462
- package/dist/chunks/location-service-map-6z5nery6.js +0 -247
- package/dist/chunks/location-service-map-9zdhvgqs.js +0 -18
- package/dist/chunks/location-service-map-a25zw1br.js +0 -22
- /package/dist/chunks/{location-service-map-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-service-map-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-service-map-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-service-map-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-service-map-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-service-map-2710q6r3.js → pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-service-map-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-service-map-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-service-map-359p4xyc.js → pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-service-map-3asan66x.js → pty-3asan66x.js} +0 -0
- /package/dist/chunks/{location-service-map-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-service-map-3w5fmr99.js → pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-service-map-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-service-map-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-service-map-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-service-map-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-service-map-53557ph1.js → pty-53557ph1.js} +0 -0
- /package/dist/chunks/{location-service-map-550bvhaj.js → pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-service-map-6prwharc.js → pty-6prwharc.js} +0 -0
- /package/dist/chunks/{location-service-map-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-service-map-7m9af43g.js → pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-service-map-822emrt2.js → pty-822emrt2.js} +0 -0
- /package/dist/chunks/{location-service-map-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-service-map-8n3pysct.js → pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-service-map-922hggd3.js → pty-922hggd3.js} +0 -0
- /package/dist/chunks/{location-service-map-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-service-map-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-service-map-a1tpkmh4.js → pty-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{location-service-map-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-service-map-af5trqkr.js → pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-service-map-afrmfg78.js → pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-service-map-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-service-map-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-service-map-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-service-map-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-service-map-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-service-map-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-service-map-d9fn303g.js → pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-service-map-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-service-map-dajrwvna.js → pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-service-map-dap0rakb.js → pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-service-map-df08tz66.js → pty-df08tz66.js} +0 -0
- /package/dist/chunks/{location-service-map-dy18nga0.js → pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-service-map-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-service-map-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-service-map-ec1grn59.js → pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-service-map-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-service-map-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-service-map-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-service-map-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-service-map-faypxj3z.js → pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-service-map-fd410y7t.js → pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-service-map-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-service-map-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-service-map-g86h250q.js → pty-g86h250q.js} +0 -0
- /package/dist/chunks/{location-service-map-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-service-map-gftt206x.js → pty-gftt206x.js} +0 -0
- /package/dist/chunks/{location-service-map-hjbc5kem.js → pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-service-map-hk9envan.js → pty-hk9envan.js} +0 -0
- /package/dist/chunks/{location-service-map-hrnqkpcd.js → pty-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{location-service-map-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-service-map-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-service-map-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-service-map-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-service-map-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-service-map-mp448xyj.js → pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-service-map-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-service-map-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-service-map-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-service-map-njntx4h6.js → pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-service-map-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-service-map-q74kybfr.js → pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-service-map-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-service-map-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-service-map-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-service-map-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-service-map-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-service-map-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-service-map-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-service-map-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-service-map-twg0f83k.js → pty-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-service-map-w803qqfp.js → pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-service-map-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-service-map-wtztk69x.js → pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-service-map-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-service-map-x61499pn.js → pty-x61499pn.js} +0 -0
- /package/dist/chunks/{location-service-map-y44na4kk.js → pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-service-map-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-service-map-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-service-map-ym463w8f.js → pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-service-map-z9919s4g.js → pty-z9919s4g.js} +0 -0
|
@@ -1,70 +1,70 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./pty-kf7bhd8x.js";
|
|
5
5
|
import {
|
|
6
6
|
Service76,
|
|
7
7
|
node81
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./pty-nts3ktd3.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID7,
|
|
11
|
+
Service54,
|
|
12
|
+
node57
|
|
13
|
+
} from "./pty-qcbjdgb9.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
NotFoundError7
|
|
16
|
+
} from "./pty-ye323zqv.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service53,
|
|
19
|
+
node56
|
|
20
|
+
} from "./pty-c4jwsn70.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./pty-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service52,
|
|
26
|
+
node55
|
|
27
|
+
} from "./pty-5b8sybsb.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service55,
|
|
30
|
+
node58
|
|
31
|
+
} from "./pty-36yjp8yh.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./pty-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
|
-
var
|
|
38
|
-
__export(
|
|
37
|
+
var exports_permission = {};
|
|
38
|
+
__export(exports_permission, {
|
|
39
39
|
AskResult: () => AskResult2,
|
|
40
40
|
AssertInput: () => AssertInput2,
|
|
41
41
|
BlockedError: () => BlockedError2,
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
46
|
-
ID: () =>
|
|
47
|
-
NotFoundError: () =>
|
|
48
|
-
Permission: () =>
|
|
49
|
-
Reply: () =>
|
|
45
|
+
Event: () => Event8,
|
|
46
|
+
ID: () => ID5,
|
|
47
|
+
NotFoundError: () => NotFoundError6,
|
|
48
|
+
Permission: () => exports_permission,
|
|
49
|
+
Reply: () => Reply2,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
51
|
Request: () => Request2,
|
|
52
|
-
Rule: () =>
|
|
52
|
+
Rule: () => Rule2,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service51,
|
|
55
55
|
Source: () => Source4,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node54
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode/schema/permission";
|
|
63
|
-
import { Rule as
|
|
64
|
-
import { Event as
|
|
63
|
+
import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
64
|
+
import { Event as Event8 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
67
|
+
var ID5 = Permission.ID;
|
|
68
68
|
var Source4 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
@@ -75,19 +75,19 @@ var RequestFields = {
|
|
|
75
75
|
source: Permission.Request.fields.source
|
|
76
76
|
};
|
|
77
77
|
var Request2 = Permission.Request;
|
|
78
|
-
var
|
|
78
|
+
var Reply2 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID5.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
|
-
agent:
|
|
82
|
+
agent: ID7.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
86
|
-
reply:
|
|
85
|
+
requestID: ID5,
|
|
86
|
+
reply: Reply2,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID5,
|
|
91
91
|
effect: Permission.Effect
|
|
92
92
|
}).annotate({ identifier: "Permission.AskResult" });
|
|
93
93
|
|
|
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class
|
|
114
|
-
requestID:
|
|
113
|
+
class NotFoundError6 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
+
requestID: ID5
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
117
117
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service51 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
131
|
-
const bus = yield*
|
|
130
|
+
var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
131
|
+
const bus = yield* Service79;
|
|
132
132
|
const location = yield* Service76;
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
133
|
+
const agents = yield* Service54;
|
|
134
|
+
const sessions = yield* Service53;
|
|
135
|
+
const saved = yield* Service52;
|
|
136
|
+
const hooks = yield* Service55;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
yield* Effect.addFinalizer(() => Effect.forEach(pending.values(), (item) => Deferred.fail(item.deferred, new DeclinedError2), {
|
|
139
139
|
discard: true
|
|
@@ -150,7 +150,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
150
150
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
151
151
|
const session = yield* sessions.get(sessionID);
|
|
152
152
|
if (!session)
|
|
153
|
-
return yield* new
|
|
153
|
+
return yield* new NotFoundError7({ sessionID });
|
|
154
154
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
155
155
|
return agent?.permissions ?? missingAgentPermissions;
|
|
156
156
|
});
|
|
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
180
180
|
});
|
|
181
181
|
function request(input, message) {
|
|
182
182
|
return {
|
|
183
|
-
id: input.id ??
|
|
183
|
+
id: input.id ?? ID5.create(),
|
|
184
184
|
sessionID: input.sessionID,
|
|
185
185
|
action: input.action,
|
|
186
186
|
resources: input.resources,
|
|
@@ -228,7 +228,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
228
228
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
229
229
|
const existing = pending.get(input.requestID);
|
|
230
230
|
if (!existing)
|
|
231
|
-
return yield* new
|
|
231
|
+
return yield* new NotFoundError6({ requestID: input.requestID });
|
|
232
232
|
yield* bus.publish(Permission.Event.Replied, {
|
|
233
233
|
sessionID: existing.request.sessionID,
|
|
234
234
|
requestID: existing.request.id,
|
|
@@ -283,12 +283,12 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
283
283
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
284
284
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
285
285
|
});
|
|
286
|
-
return
|
|
286
|
+
return Service51.of({ ask, assert, reply, get, forSession, list });
|
|
287
287
|
}));
|
|
288
|
-
var
|
|
289
|
-
service:
|
|
288
|
+
var node54 = makeLocationNode({
|
|
289
|
+
service: Service51,
|
|
290
290
|
layer,
|
|
291
|
-
deps: [
|
|
291
|
+
deps: [node84, node81, node57, node56, node55, node58]
|
|
292
292
|
});
|
|
293
293
|
|
|
294
|
-
export { PermissionEffect,
|
|
294
|
+
export { PermissionEffect, ID5, Source4, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError6, evaluate2, merge2, Service51, node54, exports_permission, Rule2, Ruleset2, Event8 };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID7,
|
|
3
|
+
Service54
|
|
4
|
+
} from "./pty-qcbjdgb9.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service68
|
|
8
|
+
} from "./pty-qn39sdbb.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionSchema2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./pty-9ky66zz9.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service42
|
|
14
|
+
} from "./pty-3c2gg74p.js";
|
|
15
15
|
import {
|
|
16
16
|
evaluate2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service51
|
|
18
|
+
} from "./pty-52fdmm22.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service21
|
|
21
|
+
} from "./pty-1ayhfk3a.js";
|
|
22
22
|
import {
|
|
23
23
|
NO_TEXT2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./pty-x1ezjp6w.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
make8
|
|
27
|
+
} from "./pty-604mgw0e.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./pty-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/subagent.ts
|
|
33
33
|
var exports_subagent = {};
|
|
34
34
|
__export(exports_subagent, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Output: () =>
|
|
37
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input3,
|
|
36
|
+
Output: () => Output3,
|
|
37
|
+
Plugin: () => Plugin16,
|
|
38
38
|
SubagentTool: () => exports_subagent,
|
|
39
|
-
description: () =>
|
|
40
|
-
name: () =>
|
|
39
|
+
description: () => description3,
|
|
40
|
+
name: () => name3
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
|
-
var
|
|
44
|
+
var name3 = "subagent";
|
|
45
45
|
var backgroundResult = (sessionID) => ({
|
|
46
46
|
sessionID,
|
|
47
47
|
status: "running",
|
|
@@ -52,7 +52,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
52
52
|
].join(`
|
|
53
53
|
`)
|
|
54
54
|
});
|
|
55
|
-
var
|
|
55
|
+
var Input3 = Schema.Struct({
|
|
56
56
|
agent: Schema.String.annotate({ description: "The type of specialized agent to use for this task" }),
|
|
57
57
|
description: Schema.String.annotate({ description: "A short 3-5 word label for the task, displayed to the user" }),
|
|
58
58
|
prompt: Schema.String.annotate({ description: "The task for the subagent to perform" }),
|
|
@@ -63,12 +63,12 @@ var Input8 = Schema.Struct({
|
|
|
63
63
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
64
64
|
})
|
|
65
65
|
});
|
|
66
|
-
var
|
|
66
|
+
var Output3 = Schema.Struct({
|
|
67
67
|
sessionID: SessionSchema2.ID,
|
|
68
68
|
status: Schema.Literals(["completed", "running"]),
|
|
69
69
|
output: Schema.String
|
|
70
70
|
});
|
|
71
|
-
var
|
|
71
|
+
var description3 = [
|
|
72
72
|
"Spawns an agent in a child session to work on the specified task.",
|
|
73
73
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
74
74
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -77,21 +77,21 @@ var description4 = [
|
|
|
77
77
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
78
78
|
].join(`
|
|
79
79
|
`);
|
|
80
|
-
var
|
|
80
|
+
var Plugin16 = {
|
|
81
81
|
id: "opencode.tool.subagent",
|
|
82
82
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
83
|
-
const sessions = yield*
|
|
84
|
-
const jobs = yield*
|
|
85
|
-
const agents = yield*
|
|
86
|
-
const config = yield*
|
|
87
|
-
const permission = yield*
|
|
88
|
-
const subagents = yield*
|
|
83
|
+
const sessions = yield* Service21;
|
|
84
|
+
const jobs = yield* Service42;
|
|
85
|
+
const agents = yield* Service54;
|
|
86
|
+
const config = yield* Service68;
|
|
87
|
+
const permission = yield* Service51;
|
|
88
|
+
const subagents = yield* make8;
|
|
89
89
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
90
|
-
name:
|
|
90
|
+
name: name3,
|
|
91
91
|
options: { codemode: false },
|
|
92
|
-
description:
|
|
93
|
-
input:
|
|
94
|
-
output:
|
|
92
|
+
description: description3,
|
|
93
|
+
input: Input3,
|
|
94
|
+
output: Output3,
|
|
95
95
|
execute: (input, context) => Effect.gen(function* () {
|
|
96
96
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
97
97
|
let current = parent;
|
|
@@ -111,7 +111,7 @@ var Plugin39 = {
|
|
|
111
111
|
if (agent.mode === "primary")
|
|
112
112
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
113
113
|
yield* permission.assert({
|
|
114
|
-
action:
|
|
114
|
+
action: name3,
|
|
115
115
|
resources: [agent.id],
|
|
116
116
|
save: [agent.id],
|
|
117
117
|
sessionID: context.sessionID,
|
|
@@ -134,7 +134,7 @@ var Plugin39 = {
|
|
|
134
134
|
const child = existing ?? (yield* sessions.create({
|
|
135
135
|
parentID: context.sessionID,
|
|
136
136
|
title: input.description,
|
|
137
|
-
agent:
|
|
137
|
+
agent: ID7.make(input.agent),
|
|
138
138
|
model
|
|
139
139
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
140
140
|
const background = input.background === true;
|
|
@@ -184,13 +184,13 @@ ${output.output}
|
|
|
184
184
|
})))
|
|
185
185
|
})).pipe(Effect.orDie);
|
|
186
186
|
yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
|
|
187
|
-
const tool = event.tools[
|
|
187
|
+
const tool = event.tools[name3];
|
|
188
188
|
if (!tool)
|
|
189
189
|
return;
|
|
190
190
|
const selected = yield* agents.resolve(event.agent);
|
|
191
191
|
if (!selected)
|
|
192
192
|
return;
|
|
193
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
193
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name3, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
194
194
|
if (available.length === 0)
|
|
195
195
|
return;
|
|
196
196
|
tool.description = [
|
|
@@ -204,4 +204,4 @@ ${output.output}
|
|
|
204
204
|
})
|
|
205
205
|
};
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { name3, Input3, Output3, description3, Plugin16, exports_subagent };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./pty-kf7bhd8x.js";
|
|
5
5
|
import {
|
|
6
6
|
Service76,
|
|
7
7
|
node81
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./pty-nts3ktd3.js";
|
|
9
9
|
import {
|
|
10
10
|
reconcile2,
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
14
|
PATCH_CONTEXT_LINES2,
|
|
15
15
|
MAX_TOTAL_PATCH_BYTES2,
|
|
16
16
|
emptyPatch2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./pty-tazgh4e4.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./pty-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/vcs.ts
|
|
23
23
|
var exports_vcs = {};
|
|
@@ -26,17 +26,17 @@ __export(exports_vcs, {
|
|
|
26
26
|
BranchList: () => BranchList2,
|
|
27
27
|
DiffError: () => DiffError2,
|
|
28
28
|
FileStatus: () => FileStatus2,
|
|
29
|
-
Info: () =>
|
|
29
|
+
Info: () => Info14,
|
|
30
30
|
Mode: () => Mode2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service62,
|
|
32
32
|
Vcs: () => exports_vcs,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node66
|
|
34
34
|
});
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
37
37
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
38
38
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
39
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
39
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info14, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
40
40
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
41
41
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -45,12 +45,12 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
|
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service62 extends Context.Service()("@opencode/Vcs") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const location = yield* Service76;
|
|
53
|
-
const bus = yield*
|
|
53
|
+
const bus = yield* Service79;
|
|
54
54
|
const root = yield* Effect.scope;
|
|
55
55
|
const fork = yield* FiberSet.makeRuntime();
|
|
56
56
|
const vcs = location.vcs;
|
|
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
62
62
|
canonical: location.project.canonical,
|
|
63
63
|
...vcs ? { store: vcs.store } : {}
|
|
64
64
|
};
|
|
65
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
65
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info14));
|
|
66
66
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
67
67
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
68
68
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
115
115
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
116
116
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
117
117
|
}
|
|
118
|
-
return
|
|
118
|
+
return Service62.of({
|
|
119
119
|
transform: state.transform,
|
|
120
120
|
reload: state.reload,
|
|
121
121
|
info: Effect.fn("Vcs.info")(function* () {
|
|
@@ -161,10 +161,10 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
161
161
|
})
|
|
162
162
|
});
|
|
163
163
|
}));
|
|
164
|
-
var
|
|
165
|
-
service:
|
|
164
|
+
var node66 = makeLocationNode({
|
|
165
|
+
service: Service62,
|
|
166
166
|
layer,
|
|
167
|
-
deps: [FSUtil.node, node81,
|
|
167
|
+
deps: [FSUtil.node, node81, node84]
|
|
168
168
|
});
|
|
169
169
|
|
|
170
|
-
export { Base2, BranchList2, FileStatus2,
|
|
170
|
+
export { Base2, BranchList2, FileStatus2, Info14, Mode2, DiffError2, Service62, node66, exports_vcs };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node85
|
|
4
|
+
} from "./pty-vxdaz8vr.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./pty-f828m53h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
18
|
-
ListInput: () =>
|
|
16
|
+
ID: () => ID6,
|
|
17
|
+
Info: () => Info8,
|
|
18
|
+
ListInput: () => ListInput4,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service52,
|
|
21
|
+
node: () => node55
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
30
|
-
var
|
|
28
|
+
var ID6 = PermissionSaved.ID;
|
|
29
|
+
var Info8 = PermissionSaved.Info;
|
|
30
|
+
var ListInput4 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
33
33
|
var AddInput2 = Schema.Struct({
|
|
@@ -36,10 +36,10 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service52 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
42
|
-
const db = (yield*
|
|
41
|
+
var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
42
|
+
const db = (yield* Service80).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
45
45
|
return rows.map((row) => ({
|
|
@@ -53,7 +53,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
53
53
|
if (!input.resources.length)
|
|
54
54
|
return;
|
|
55
55
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
56
|
-
id:
|
|
56
|
+
id: ID6.create(),
|
|
57
57
|
project_id: input.projectID,
|
|
58
58
|
action: input.action,
|
|
59
59
|
resource
|
|
@@ -62,8 +62,8 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
62
62
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
63
63
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
64
64
|
});
|
|
65
|
-
return
|
|
65
|
+
return Service52.of({ list, add, remove });
|
|
66
66
|
}));
|
|
67
|
-
var
|
|
67
|
+
var node55 = makeGlobalNode({ service: Service52, layer, deps: [node85] });
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { ID6, Info8, ListInput4, AddInput2, Service52, node55, exports_saved };
|