@opencode/core 0.0.0-dev-19699 → 0.0.0-dev-19702
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 +80 -80
- 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/{wellknown-xft24mgj.js → job-022cd9ra.js} +6 -6
- package/dist/chunks/{wellknown-8pv0kv37.js → job-04tqcm8g.js} +22 -22
- package/dist/chunks/{wellknown-yjyb1rhv.js → job-065m2xz2.js} +20 -20
- package/dist/chunks/{wellknown-18fke3sp.js → job-069t7z67.js} +25 -25
- package/dist/chunks/{wellknown-chtesddx.js → job-07jb5e1r.js} +32 -32
- package/dist/chunks/{wellknown-1rkjqmq1.js → job-0h790w37.js} +13 -13
- package/dist/chunks/{wellknown-rv5n0yay.js → job-0m47qdrg.js} +34 -34
- package/dist/chunks/job-0mesazry.js +4 -0
- package/dist/chunks/{wellknown-jbm78rjc.js → job-0mxw30qt.js} +10 -10
- package/dist/chunks/{wellknown-0paq2nw3.js → job-0paq2nw3.js} +1 -1
- package/dist/chunks/{wellknown-0q0f95c6.js → job-0q0f95c6.js} +1 -1
- package/dist/chunks/{wellknown-gzmp8t1a.js → job-0r0bx9fw.js} +12 -12
- package/dist/chunks/{wellknown-mtfwx8wg.js → job-0w952zvq.js} +24 -24
- package/dist/chunks/{wellknown-dbkx7kkc.js → job-1782m5n5.js} +47 -47
- package/dist/chunks/{wellknown-jhgpt0kn.js → job-18gzj8xz.js} +9 -9
- package/dist/chunks/{wellknown-yp2x3t23.js → job-1acjjqhc.js} +4 -4
- package/dist/chunks/{wellknown-h817dscy.js → job-1av6pmdt.js} +19 -19
- package/dist/chunks/{wellknown-1dazxqgg.js → job-1dazxqgg.js} +2 -2
- package/dist/chunks/{wellknown-nrwk3scp.js → job-1ff6j5tg.js} +16 -16
- package/dist/chunks/{wellknown-d4h7w4jx.js → job-1rhq5ytr.js} +3 -3
- package/dist/chunks/{wellknown-7y9nfy68.js → job-1tkbwebs.js} +15 -15
- package/dist/chunks/{wellknown-nbrd663h.js → job-1y1xs1ae.js} +13 -13
- package/dist/chunks/{wellknown-p9vpdv56.js → job-1yjkd6jj.js} +27 -27
- package/dist/chunks/{wellknown-zfh5y184.js → job-1yscqzaw.js} +17 -17
- package/dist/chunks/{wellknown-21r38tys.js → job-21r38tys.js} +1 -1
- package/dist/chunks/{wellknown-1hf93j3g.js → job-2202cw77.js} +42 -42
- package/dist/chunks/{wellknown-rdtn0193.js → job-22mrwvg1.js} +78 -78
- package/dist/chunks/{wellknown-2402vzrj.js → job-2402vzrj.js} +1 -1
- package/dist/chunks/{wellknown-h21tm5bp.js → job-29g3x6a3.js} +23 -23
- package/dist/chunks/{wellknown-29x78va6.js → job-29x78va6.js} +2 -2
- package/dist/chunks/{wellknown-2a5m3afh.js → job-2a5m3afh.js} +1 -1
- package/dist/chunks/{wellknown-p0b4ytnr.js → job-2jmaghvr.js} +6 -6
- package/dist/chunks/{wellknown-62kg8r9z.js → job-2v6he05y.js} +24 -24
- package/dist/chunks/{wellknown-fz8c2kxy.js → job-2v7rq559.js} +39 -39
- package/dist/chunks/{wellknown-tz49nvh7.js → job-30s5h3jh.js} +3 -3
- package/dist/chunks/{wellknown-y0dwvd8v.js → job-3166ez5m.js} +8 -8
- package/dist/chunks/{wellknown-6tt5evqq.js → job-34z8bdtq.js} +4 -4
- package/dist/chunks/{wellknown-5jrz7pq0.js → job-37mbmggv.js} +4 -4
- package/dist/chunks/{wellknown-ct958zhq.js → job-3adarak8.js} +14 -14
- package/dist/chunks/{wellknown-ewn3dy9s.js → job-3f0af496.js} +28 -28
- package/dist/chunks/{wellknown-2re9my94.js → job-3f1yqx78.js} +12 -12
- package/dist/chunks/{wellknown-3fc6dm20.js → job-3fc6dm20.js} +1 -1
- package/dist/chunks/{wellknown-5dy7rswa.js → job-3ffpwp20.js} +18 -18
- package/dist/chunks/{wellknown-858rcgn7.js → job-3fjcsrjg.js} +2 -2
- package/dist/chunks/{wellknown-3hepkmqq.js → job-3hepkmqq.js} +1 -1
- package/dist/chunks/{wellknown-3q2hx7qx.js → job-3hzr9rg4.js} +21 -21
- package/dist/chunks/{wellknown-j48xzn17.js → job-3nans76d.js} +9 -9
- package/dist/chunks/{wellknown-hpfvhvya.js → job-3rtxz4nr.js} +8 -8
- package/dist/chunks/{wellknown-3smtnn6g.js → job-3smtnn6g.js} +1 -1
- package/dist/chunks/{wellknown-3tvqynh2.js → job-3tvqynh2.js} +1 -1
- package/dist/chunks/{wellknown-k9kj6xed.js → job-44ke2mar.js} +6 -6
- package/dist/chunks/{wellknown-phcney37.js → job-462453sf.js} +8 -8
- package/dist/chunks/{wellknown-y5faqwyj.js → job-4cc4vv0w.js} +11 -11
- package/dist/chunks/{wellknown-mbn2hkww.js → job-4tg808hb.js} +31 -31
- package/dist/chunks/{wellknown-4y72ap3v.js → job-4y72ap3v.js} +5 -5
- package/dist/chunks/{wellknown-0tz7ckg3.js → job-4zm2epk8.js} +4 -4
- package/dist/chunks/{wellknown-hcz3zddy.js → job-510m7gjw.js} +5 -5
- package/dist/chunks/{wellknown-57ez7d0k.js → job-57ez7d0k.js} +2 -2
- package/dist/chunks/{wellknown-a1bz86dw.js → job-5c4hm403.js} +3 -3
- package/dist/chunks/{wellknown-2sejkfem.js → job-5d607bsg.js} +9 -9
- package/dist/chunks/{wellknown-5daktx2q.js → job-5daktx2q.js} +1 -1
- package/dist/chunks/{wellknown-8mv22bfd.js → job-5m4a01c8.js} +6 -6
- package/dist/chunks/{wellknown-a2p103pg.js → job-5qvasddx.js} +5 -5
- package/dist/chunks/{wellknown-5t3nmthw.js → job-5t3nmthw.js} +2 -2
- package/dist/chunks/{wellknown-8wjsrxa5.js → job-5wvs6z57.js} +30 -30
- package/dist/chunks/{wellknown-sk6q27c4.js → job-642pbq0n.js} +8 -8
- package/dist/chunks/{wellknown-669tq793.js → job-669tq793.js} +1 -1
- package/dist/chunks/{wellknown-49w8r3q3.js → job-6achbx11.js} +13 -13
- package/dist/chunks/{wellknown-1ddyqjqr.js → job-6b5ctmn8.js} +22 -22
- package/dist/chunks/{wellknown-mp6rxbgf.js → job-6ge4zmqr.js} +7 -7
- package/dist/chunks/{wellknown-6msgmcgs.js → job-6msgmcgs.js} +1 -1
- package/dist/chunks/{wellknown-6p3xbzsx.js → job-6p3xbzsx.js} +1 -1
- package/dist/chunks/{wellknown-1f7e444c.js → job-6s94xw6m.js} +20 -20
- package/dist/chunks/{wellknown-f5djnss5.js → job-6z2ydhz9.js} +2 -2
- package/dist/chunks/{wellknown-5xtp168v.js → job-71nwy637.js} +40 -40
- package/dist/chunks/{wellknown-wfn03waw.js → job-764we3xa.js} +1 -1
- package/dist/chunks/{wellknown-7bmhse3q.js → job-7bmhse3q.js} +1 -1
- package/dist/chunks/{wellknown-5c9je0v9.js → job-7f04ezez.js} +4 -4
- package/dist/chunks/{wellknown-mtft99cd.js → job-7gvwkz6m.js} +5 -5
- package/dist/chunks/{wellknown-apg30w74.js → job-7jvk9anh.js} +18 -18
- package/dist/chunks/{wellknown-6t4xh0bm.js → job-7kgdwtth.js} +4 -4
- package/dist/chunks/{wellknown-bhs1apdh.js → job-7pak15t3.js} +20 -20
- package/dist/chunks/{wellknown-tbhgqgrp.js → job-7q3qvr3d.js} +6 -6
- package/dist/chunks/{wellknown-37syhnnj.js → job-7t9hkypx.js} +33 -33
- package/dist/chunks/{wellknown-w7t5jt7v.js → job-7vq06w24.js} +12 -12
- package/dist/chunks/{wellknown-hv51d5cw.js → job-7wkneyd5.js} +11 -11
- package/dist/chunks/{wellknown-5asa4ssx.js → job-7x0cfjbm.js} +14 -14
- package/dist/chunks/{wellknown-1w2cbjd8.js → job-825ednk9.js} +8 -8
- package/dist/chunks/{wellknown-97j4gngf.js → job-834a0b17.js} +3 -3
- package/dist/chunks/{wellknown-yn1wpys1.js → job-890699dk.js} +21 -21
- package/dist/chunks/{wellknown-8d7r5vzw.js → job-8d7r5vzw.js} +1 -1
- package/dist/chunks/{wellknown-02vq89j5.js → job-8db86g5t.js} +11 -11
- package/dist/chunks/{wellknown-dws6p1jx.js → job-8gcg36zp.js} +12 -12
- package/dist/chunks/{wellknown-0rkmmx2h.js → job-8ysc8vcc.js} +22 -22
- package/dist/chunks/{wellknown-cyhsea0k.js → job-9eq5kwq7.js} +8 -8
- package/dist/chunks/{wellknown-n6keassd.js → job-9nfwzf18.js} +7 -7
- package/dist/chunks/job-9sh4wc5j.js +18 -0
- package/dist/chunks/{wellknown-06aztdta.js → job-9vr7yne4.js} +10 -10
- package/dist/chunks/{wellknown-xb02k0wq.js → job-a46v4e4v.js} +4 -4
- package/dist/chunks/{wellknown-megepw3e.js → job-a5sttpqd.js} +7 -7
- package/dist/chunks/{wellknown-aaet6srn.js → job-aaet6srn.js} +2 -2
- package/dist/chunks/{wellknown-2f0bjgcj.js → job-ag9w8cw1.js} +5 -5
- package/dist/chunks/{wellknown-hxgex57t.js → job-apba0671.js} +8 -8
- package/dist/chunks/{wellknown-as1xxm31.js → job-as1xxm31.js} +3 -3
- package/dist/chunks/{wellknown-3672w6ev.js → job-as71pn4z.js} +12 -12
- package/dist/chunks/{wellknown-nwge8jy8.js → job-atvwme1y.js} +2 -2
- package/dist/chunks/{wellknown-tr7w9brq.js → job-b0c6j53s.js} +10 -10
- package/dist/chunks/{wellknown-0g6j1py3.js → job-b50zdmtr.js} +8 -8
- package/dist/chunks/{wellknown-b6gygkdw.js → job-b6gygkdw.js} +2 -2
- package/dist/chunks/{wellknown-m16hdrdp.js → job-b6s0yqqy.js} +23 -23
- package/dist/chunks/{wellknown-ave4adqk.js → job-b72zr03q.js} +3 -3
- package/dist/chunks/{wellknown-b8hzf7nw.js → job-b8hzf7nw.js} +3 -3
- package/dist/chunks/{wellknown-38r79mk0.js → job-ba6t94q8.js} +28 -28
- package/dist/chunks/{wellknown-t6vv26m3.js → job-baxkehm5.js} +14 -14
- package/dist/chunks/{wellknown-v5s4bq9p.js → job-cajv5v76.js} +9 -9
- package/dist/chunks/{wellknown-mszgpyrk.js → job-chdetvw4.js} +9 -9
- package/dist/chunks/{wellknown-6wpb9dtm.js → job-cjc4r8s3.js} +26 -26
- package/dist/chunks/{wellknown-vddt8e92.js → job-ckn0f6h2.js} +14 -14
- package/dist/chunks/{wellknown-dccad321.js → job-cwzm48wp.js} +14 -14
- package/dist/chunks/{wellknown-p37cw4rj.js → job-czfptnv9.js} +8 -8
- package/dist/chunks/{wellknown-9vwffpq4.js → job-d3x5ab7k.js} +24 -24
- package/dist/chunks/{wellknown-13rkag4v.js → job-d5h8km0r.js} +33 -33
- package/dist/chunks/{wellknown-nk87491m.js → job-dd00fe14.js} +1 -1
- package/dist/chunks/{wellknown-m2f3pxpa.js → job-dd0j56f4.js} +18 -18
- package/dist/chunks/{wellknown-8p4f9s12.js → job-dj2t23y0.js} +2 -2
- package/dist/chunks/{wellknown-p3ghsg1d.js → job-djn99qrt.js} +3 -3
- package/dist/chunks/{wellknown-f70agvkv.js → job-dn502w5g.js} +15 -15
- package/dist/chunks/{wellknown-z32px5c3.js → job-ebqkbxvf.js} +15 -15
- package/dist/chunks/{wellknown-1x2j9kyw.js → job-ecb3s43f.js} +14 -14
- package/dist/chunks/{wellknown-ef5x83kb.js → job-ef5x83kb.js} +1 -1
- package/dist/chunks/{wellknown-7kx617rh.js → job-ep62eb50.js} +8 -8
- package/dist/chunks/{wellknown-4mwpykj0.js → job-eqkxs06z.js} +6 -6
- package/dist/chunks/{wellknown-qmn2804t.js → job-erz4712f.js} +20 -20
- package/dist/chunks/{wellknown-etq0c3wd.js → job-etq0c3wd.js} +1 -1
- package/dist/chunks/{wellknown-xcy0ccxh.js → job-ewaf2sjk.js} +6 -6
- package/dist/chunks/job-f7b1ctf7.js +247 -0
- package/dist/chunks/{wellknown-b1pnbeng.js → job-f933kht6.js} +11 -11
- package/dist/chunks/{wellknown-3jcgvabz.js → job-fagy559h.js} +18 -18
- package/dist/chunks/{wellknown-4b1y0hxr.js → job-fe2tngfa.js} +35 -35
- package/dist/chunks/{wellknown-xre3mbt3.js → job-fhc00xdc.js} +2 -2
- package/dist/chunks/{wellknown-bsakc679.js → job-fpmspqn4.js} +42 -42
- package/dist/chunks/{wellknown-j15ahbfv.js → job-fqv7dxfm.js} +20 -20
- package/dist/chunks/{wellknown-a9rp9621.js → job-fr65bh3s.js} +14 -14
- package/dist/chunks/{wellknown-2jvdvk0y.js → job-fr9ve2ee.js} +12 -12
- package/dist/chunks/{wellknown-fxbjtjnd.js → job-fxbjtjnd.js} +1 -1
- package/dist/chunks/{wellknown-0gr7cw0d.js → job-fyymr9xg.js} +4 -4
- package/dist/chunks/{wellknown-87zw2hyv.js → job-g01xcej6.js} +1 -1
- package/dist/chunks/{wellknown-qt4n3gg0.js → job-g2qpjdqb.js} +275 -275
- package/dist/chunks/{wellknown-kbegyq1c.js → job-g2yz86wh.js} +2 -2
- package/dist/chunks/{wellknown-0evgz6jk.js → job-gbz2csa8.js} +10 -10
- package/dist/chunks/{wellknown-gd4qta3r.js → job-gd4qta3r.js} +1 -1
- package/dist/chunks/{wellknown-ytzkehyx.js → job-gkqjere8.js} +8 -8
- package/dist/chunks/{wellknown-gv6a8nnw.js → job-gv6a8nnw.js} +2 -2
- package/dist/chunks/{wellknown-h03wrkyp.js → job-h03wrkyp.js} +2 -2
- package/dist/chunks/{wellknown-cgw5at3k.js → job-h3z1r0k6.js} +11 -11
- package/dist/chunks/{wellknown-h6r3nrb9.js → job-h6r3nrb9.js} +1 -1
- package/dist/chunks/{wellknown-h6vf3j39.js → job-h6vf3j39.js} +1 -1
- package/dist/chunks/{wellknown-mjtk0fpq.js → job-h88s8hxx.js} +32 -32
- package/dist/chunks/{wellknown-f828m53h.js → job-hdnk95c8.js} +2 -2
- package/dist/chunks/{wellknown-djfnsed5.js → job-hf5g19y9.js} +19 -19
- package/dist/chunks/{wellknown-53bv3qst.js → job-hgrsecr2.js} +1 -1
- package/dist/chunks/{wellknown-0jyq87xe.js → job-hh1kxan1.js} +3 -3
- package/dist/chunks/{wellknown-xvzq63g5.js → job-hh2h2czy.js} +8 -8
- package/dist/chunks/{wellknown-nbzxak9z.js → job-hmamsey8.js} +11 -11
- package/dist/chunks/{wellknown-eq1pz5kg.js → job-j028xdjb.js} +3 -3
- package/dist/chunks/{wellknown-j56e64zr.js → job-j56e64zr.js} +1 -1
- package/dist/chunks/{wellknown-j5786zrt.js → job-j5786zrt.js} +1 -1
- package/dist/chunks/{wellknown-pds4s9w6.js → job-j6fdsezs.js} +16 -16
- package/dist/chunks/{wellknown-1veccysx.js → job-j718f430.js} +16 -16
- package/dist/chunks/{wellknown-e6z92hp1.js → job-j7ky126m.js} +4 -4
- package/dist/chunks/{wellknown-qvhhnas7.js → job-j9kgn8bf.js} +10 -10
- package/dist/chunks/{wellknown-4en4q4yc.js → job-j9t37hbc.js} +25 -25
- package/dist/chunks/{wellknown-fjvydvzm.js → job-jbjr1a4g.js} +6 -6
- package/dist/chunks/{wellknown-frrk65se.js → job-jehrb8j7.js} +3 -3
- package/dist/chunks/{wellknown-wrtk7tx3.js → job-jh87jszf.js} +11 -11
- package/dist/chunks/{wellknown-xe5c0ha1.js → job-jrqcgxgw.js} +24 -24
- package/dist/chunks/{wellknown-kha7fq0w.js → job-k33dtm43.js} +21 -21
- package/dist/chunks/{wellknown-k3c624dm.js → job-k3c624dm.js} +3 -3
- package/dist/chunks/{wellknown-jppvw2tx.js → job-k3gnzxs0.js} +5 -5
- package/dist/chunks/{wellknown-khec1x9r.js → job-kddwdnn4.js} +17 -17
- package/dist/chunks/{wellknown-fdms3n6w.js → job-kp8q1t60.js} +9 -9
- package/dist/chunks/{wellknown-5z3pmdav.js → job-ksqnh1ga.js} +20 -20
- package/dist/chunks/{wellknown-meahrvbf.js → job-kvk4ezgs.js} +22 -22
- package/dist/chunks/{wellknown-cfpkc3c9.js → job-m0jqrx5p.js} +2 -2
- package/dist/chunks/{wellknown-m3fdjcah.js → job-m3fdjcah.js} +1 -1
- package/dist/chunks/{wellknown-m9w0rfyh.js → job-m9w0rfyh.js} +1 -1
- package/dist/chunks/{wellknown-1ygqh575.js → job-mfqp6xfm.js} +6 -6
- package/dist/chunks/{wellknown-9fc3v4re.js → job-mh1qkymb.js} +4 -4
- package/dist/chunks/{wellknown-fzgxakwn.js → job-mnbh32fx.js} +6 -6
- package/dist/chunks/{wellknown-pnv527nz.js → job-n35d2xk4.js} +9 -9
- package/dist/chunks/{wellknown-7qwxv68y.js → job-n4s4v3w0.js} +9 -9
- package/dist/chunks/{wellknown-703epsd2.js → job-nem44s3m.js} +13 -13
- package/dist/chunks/{wellknown-g1sxm558.js → job-ngts6ef0.js} +8 -8
- package/dist/chunks/{wellknown-wbyztnvg.js → job-njhkn8n2.js} +20 -20
- package/dist/chunks/{wellknown-rjrw51c9.js → job-nt7nj4b2.js} +9 -9
- package/dist/chunks/{wellknown-sbp6zker.js → job-p0mjqdsz.js} +1 -1
- package/dist/chunks/{wellknown-qr116c46.js → job-p8683q21.js} +4 -4
- package/dist/chunks/{wellknown-wwrtpvbz.js → job-pg6914bh.js} +37 -37
- package/dist/chunks/{wellknown-pjvnvgmy.js → job-pjvnvgmy.js} +1 -1
- package/dist/chunks/{wellknown-pknna89w.js → job-pknna89w.js} +1 -1
- package/dist/chunks/{wellknown-vaw8eek1.js → job-pkw3xmkc.js} +9 -9
- package/dist/chunks/{wellknown-ezjfbph4.js → job-pn1jbybg.js} +11 -11
- package/dist/chunks/{wellknown-thr3r15w.js → job-pn7y0ex0.js} +16 -16
- package/dist/chunks/{wellknown-1qhzf4x8.js → job-prm9128a.js} +48 -48
- package/dist/chunks/{wellknown-3xt9d42j.js → job-pwnpmnmx.js} +14 -14
- package/dist/chunks/{wellknown-5z99wved.js → job-q359z174.js} +82 -82
- package/dist/chunks/{wellknown-45ww0dfj.js → job-q3g8bpq9.js} +9 -9
- package/dist/chunks/{wellknown-zcrspsvn.js → job-q5asdkn4.js} +4 -4
- package/dist/chunks/{wellknown-j0dzqqfs.js → job-q82r7ypz.js} +121 -121
- package/dist/chunks/{wellknown-66r9f6z1.js → job-qa7075pb.js} +5 -5
- package/dist/chunks/{wellknown-89ce2975.js → job-qb8zys25.js} +22 -22
- package/dist/chunks/{wellknown-fcrkznn8.js → job-qgn6gcr1.js} +5 -5
- package/dist/chunks/{wellknown-qsdy395h.js → job-qsdy395h.js} +1 -1
- package/dist/chunks/{wellknown-rdw6cm16.js → job-rdw6cm16.js} +1 -1
- package/dist/chunks/{wellknown-a11sa989.js → job-re2epwfr.js} +9 -9
- package/dist/chunks/{wellknown-xr2zjj6s.js → job-rmhrse1n.js} +20 -20
- package/dist/chunks/{wellknown-9q0tgr1n.js → job-rq6z7xas.js} +1 -1
- package/dist/chunks/{wellknown-s4enseaf.js → job-s4enseaf.js} +2 -2
- package/dist/chunks/{wellknown-r94yb0nv.js → job-s4pq5rpv.js} +13 -13
- package/dist/chunks/{wellknown-s8d7rejh.js → job-s8d7rejh.js} +1 -1
- package/dist/chunks/{wellknown-s8j6jbjj.js → job-s8j6jbjj.js} +1 -1
- package/dist/chunks/{wellknown-pddfpf4s.js → job-s9b7y6t7.js} +20 -20
- package/dist/chunks/{wellknown-gctnpdhs.js → job-sb5cp8p1.js} +29 -29
- package/dist/chunks/{wellknown-2x6qb6j3.js → job-smpdnbn2.js} +15 -15
- package/dist/chunks/{wellknown-bw274x7r.js → job-sn5yxs0v.js} +35 -35
- package/dist/chunks/{wellknown-8h6ypk9j.js → job-t3tthasf.js} +10 -10
- package/dist/chunks/{wellknown-tdpf2yw9.js → job-t5v6b0as.js} +13 -13
- package/dist/chunks/{wellknown-tazgh4e4.js → job-tazgh4e4.js} +1 -1
- package/dist/chunks/{wellknown-tcezcvh9.js → job-tcezcvh9.js} +1 -1
- package/dist/chunks/{wellknown-tdstcens.js → job-tdstcens.js} +1 -1
- package/dist/chunks/{wellknown-xkawgvmm.js → job-te7nhm16.js} +8 -8
- package/dist/chunks/{wellknown-gyhk607v.js → job-tm56npms.js} +13 -13
- package/dist/chunks/{wellknown-x9c7yp0e.js → job-tqmbv8jz.js} +18 -18
- package/dist/chunks/{wellknown-qggfgy6q.js → job-tracefb8.js} +8 -8
- package/dist/chunks/{wellknown-tvtrv512.js → job-tvtrv512.js} +1 -1
- package/dist/chunks/{wellknown-zg736tz1.js → job-v2d5xw7d.js} +34 -34
- package/dist/chunks/{wellknown-frwp1sqd.js → job-v44a2v51.js} +6 -6
- package/dist/chunks/{wellknown-an7cqtb7.js → job-ve4pfa0n.js} +4 -4
- package/dist/chunks/{wellknown-veqvce7d.js → job-veqvce7d.js} +1 -1
- package/dist/chunks/{wellknown-05frfhne.js → job-vfsmhr4e.js} +31 -31
- package/dist/chunks/{wellknown-1eamemeq.js → job-vn4g9zq4.js} +43 -43
- package/dist/chunks/{wellknown-sx1w5c9b.js → job-vwmdm86f.js} +33 -33
- package/dist/chunks/{wellknown-e3qz7xqh.js → job-vye8yzgh.js} +11 -11
- package/dist/chunks/{wellknown-vzcthcp8.js → job-vzcthcp8.js} +1 -1
- package/dist/chunks/{wellknown-rd45dmm7.js → job-w113rk05.js} +11 -11
- package/dist/chunks/{wellknown-xsv73v2g.js → job-w2tezq6a.js} +4 -4
- package/dist/chunks/{wellknown-w3wsvvr9.js → job-w3wsvvr9.js} +1 -1
- package/dist/chunks/{wellknown-22m6agjv.js → job-waet2y12.js} +28 -28
- package/dist/chunks/{wellknown-wd87259q.js → job-wd87259q.js} +1 -1
- package/dist/chunks/{wellknown-srejxs9b.js → job-wpr5f8em.js} +3 -3
- package/dist/chunks/{wellknown-85m7w1zb.js → job-wqy0sms7.js} +299 -299
- package/dist/chunks/{wellknown-q3h4ed11.js → job-wwxpaqyb.js} +16 -16
- package/dist/chunks/{wellknown-x1ezjp6w.js → job-x1ezjp6w.js} +1 -1
- package/dist/chunks/{wellknown-sm55rqp8.js → job-x5afmscm.js} +11 -11
- package/dist/chunks/job-xbv35jdg.js +26 -0
- package/dist/chunks/{wellknown-b5a0cfst.js → job-xf73pnjb.js} +15 -15
- package/dist/chunks/{wellknown-xfkkasph.js → job-xfkkasph.js} +1 -1
- package/dist/chunks/{wellknown-n7d88tpn.js → job-xkhfjrgz.js} +3 -3
- package/dist/chunks/{wellknown-d6r8xqx0.js → job-xth330dm.js} +20 -20
- package/dist/chunks/{wellknown-bkxyw0dr.js → job-y0mc46pw.js} +9 -9
- package/dist/chunks/{wellknown-y1fvbwt7.js → job-y1fvbwt7.js} +1 -1
- package/dist/chunks/{wellknown-nxx05gp4.js → job-y2226ffw.js} +55 -55
- package/dist/chunks/{wellknown-2tw2jb74.js → job-y3ftq99d.js} +16 -16
- package/dist/chunks/{wellknown-bqyrc6kt.js → job-y40s9njk.js} +11 -11
- package/dist/chunks/{wellknown-d858xzj7.js → job-y6mhz57t.js} +4 -4
- package/dist/chunks/{wellknown-y71avatq.js → job-y71avatq.js} +1 -1
- package/dist/chunks/{wellknown-djv3jzct.js → job-y7e72tr8.js} +20 -20
- package/dist/chunks/{wellknown-g0k6m2dv.js → job-yc2jfvtf.js} +21 -21
- package/dist/chunks/{wellknown-ettrbj24.js → job-yrf7bsxq.js} +1 -1
- package/dist/chunks/{wellknown-yrhqyw5v.js → job-yrhqyw5v.js} +1 -1
- package/dist/chunks/{wellknown-5twhmeh2.js → job-z01p511z.js} +6 -6
- package/dist/chunks/{wellknown-z0bkrqjs.js → job-z0bkrqjs.js} +1 -1
- package/dist/chunks/{wellknown-7cy86ee7.js → job-z5k128zv.js} +9 -9
- package/dist/chunks/{wellknown-zeh9ct20.js → job-zeh9ct20.js} +2 -2
- package/dist/chunks/{wellknown-ed3ymh90.js → job-zfzhtqgs.js} +3 -3
- package/dist/chunks/{wellknown-nycb949q.js → job-zmzwfm6d.js} +3 -3
- package/dist/chunks/{wellknown-j4a32nwn.js → job-zqm6dfeg.js} +10 -10
- package/dist/chunks/{wellknown-zr2ceqn5.js → job-zr2ceqn5.js} +1 -1
- package/dist/chunks/{wellknown-zth67p6s.js → job-zth67p6s.js} +2 -2
- package/dist/chunks/{wellknown-zxq2ej10.js → job-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- 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 +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- 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 +123 -123
- 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 +82 -82
- package/dist/database/database.js +65 -65
- 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/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 +365 -365
- 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 +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 +224 -224
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +96 -96
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +101 -101
- package/dist/form.js +79 -79
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +102 -102
- 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 +98 -98
- 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 +356 -356
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +75 -75
- 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-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +353 -353
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- 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 +98 -98
- package/dist/model-resolver.js +95 -95
- package/dist/model.js +95 -95
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +75 -75
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +104 -104
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- 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 +328 -328
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- 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 +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- 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 +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- 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 +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- 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/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +88 -88
- 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 +97 -97
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +88 -88
- 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 +127 -127
- 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 +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- 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 +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +3 -3
- 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 +1 -1
- 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 +229 -229
- 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 +111 -111
- 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 +171 -171
- 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 +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- 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 +215 -215
- 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 +15 -15
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- 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 +126 -126
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- 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 +104 -104
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +12 -12
- 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 +3 -3
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- 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 +1 -1
- 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 +81 -81
- 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 +77 -77
- 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 +97 -97
- package/package.json +8 -8
- package/dist/chunks/wellknown-9zdhvgqs.js +0 -18
- package/dist/chunks/wellknown-d6bs0g6r.js +0 -26
- package/dist/chunks/wellknown-qapv375x.js +0 -4
- package/dist/chunks/wellknown-vg8dhn5e.js +0 -247
- /package/dist/chunks/{wellknown-0qkdqm5v.js → job-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{wellknown-0zkw76rk.js → job-0zkw76rk.js} +0 -0
- /package/dist/chunks/{wellknown-17cy0kzp.js → job-17cy0kzp.js} +0 -0
- /package/dist/chunks/{wellknown-1cnp2v09.js → job-1cnp2v09.js} +0 -0
- /package/dist/chunks/{wellknown-1kg9ymc8.js → job-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{wellknown-24dcb14g.js → job-24dcb14g.js} +0 -0
- /package/dist/chunks/{wellknown-2710q6r3.js → job-2710q6r3.js} +0 -0
- /package/dist/chunks/{wellknown-2axfhc9x.js → job-2axfhc9x.js} +0 -0
- /package/dist/chunks/{wellknown-2c3vjs8z.js → job-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{wellknown-359p4xyc.js → job-359p4xyc.js} +0 -0
- /package/dist/chunks/{wellknown-3asan66x.js → job-3asan66x.js} +0 -0
- /package/dist/chunks/{wellknown-3v8g72cx.js → job-3v8g72cx.js} +0 -0
- /package/dist/chunks/{wellknown-3w5fmr99.js → job-3w5fmr99.js} +0 -0
- /package/dist/chunks/{wellknown-3wcehsnq.js → job-3wcehsnq.js} +0 -0
- /package/dist/chunks/{wellknown-43n2bw4t.js → job-43n2bw4t.js} +0 -0
- /package/dist/chunks/{wellknown-4knz6hnm.js → job-4knz6hnm.js} +0 -0
- /package/dist/chunks/{wellknown-4vcrnpx2.js → job-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{wellknown-4y7fprxs.js → job-4y7fprxs.js} +0 -0
- /package/dist/chunks/{wellknown-53557ph1.js → job-53557ph1.js} +0 -0
- /package/dist/chunks/{wellknown-550bvhaj.js → job-550bvhaj.js} +0 -0
- /package/dist/chunks/{wellknown-6prwharc.js → job-6prwharc.js} +0 -0
- /package/dist/chunks/{wellknown-7akdwqpd.js → job-7akdwqpd.js} +0 -0
- /package/dist/chunks/{wellknown-7m9af43g.js → job-7m9af43g.js} +0 -0
- /package/dist/chunks/{wellknown-822emrt2.js → job-822emrt2.js} +0 -0
- /package/dist/chunks/{wellknown-88xbtdfr.js → job-88xbtdfr.js} +0 -0
- /package/dist/chunks/{wellknown-8n3pysct.js → job-8n3pysct.js} +0 -0
- /package/dist/chunks/{wellknown-922hggd3.js → job-922hggd3.js} +0 -0
- /package/dist/chunks/{wellknown-9a4afbnw.js → job-9a4afbnw.js} +0 -0
- /package/dist/chunks/{wellknown-9rqn6x4v.js → job-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{wellknown-a6k6eb26.js → job-a6k6eb26.js} +0 -0
- /package/dist/chunks/{wellknown-af5trqkr.js → job-af5trqkr.js} +0 -0
- /package/dist/chunks/{wellknown-afrmfg78.js → job-afrmfg78.js} +0 -0
- /package/dist/chunks/{wellknown-aqzs7mqg.js → job-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{wellknown-atq7p7m5.js → job-atq7p7m5.js} +0 -0
- /package/dist/chunks/{wellknown-bkyjaxrp.js → job-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{wellknown-bmr6ed5q.js → job-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{wellknown-cf4snx6d.js → job-cf4snx6d.js} +0 -0
- /package/dist/chunks/{wellknown-cvy3z8tj.js → job-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{wellknown-d9fn303g.js → job-d9fn303g.js} +0 -0
- /package/dist/chunks/{wellknown-d9jj8t3e.js → job-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{wellknown-dajrwvna.js → job-dajrwvna.js} +0 -0
- /package/dist/chunks/{wellknown-dap0rakb.js → job-dap0rakb.js} +0 -0
- /package/dist/chunks/{wellknown-df08tz66.js → job-df08tz66.js} +0 -0
- /package/dist/chunks/{wellknown-dy18nga0.js → job-dy18nga0.js} +0 -0
- /package/dist/chunks/{wellknown-e3qxr5gk.js → job-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{wellknown-e5kj55wp.js → job-e5kj55wp.js} +0 -0
- /package/dist/chunks/{wellknown-e73j6tqm.js → job-e73j6tqm.js} +0 -0
- /package/dist/chunks/{wellknown-ec1grn59.js → job-ec1grn59.js} +0 -0
- /package/dist/chunks/{wellknown-eh3zwz77.js → job-eh3zwz77.js} +0 -0
- /package/dist/chunks/{wellknown-emrn6kk6.js → job-emrn6kk6.js} +0 -0
- /package/dist/chunks/{wellknown-f0mxakyp.js → job-f0mxakyp.js} +0 -0
- /package/dist/chunks/{wellknown-f6n9ztr4.js → job-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{wellknown-faypxj3z.js → job-faypxj3z.js} +0 -0
- /package/dist/chunks/{wellknown-fd410y7t.js → job-fd410y7t.js} +0 -0
- /package/dist/chunks/{wellknown-fxgpk5d8.js → job-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{wellknown-g4wezp1m.js → job-g4wezp1m.js} +0 -0
- /package/dist/chunks/{wellknown-g86h250q.js → job-g86h250q.js} +0 -0
- /package/dist/chunks/{wellknown-gebd4c9n.js → job-gebd4c9n.js} +0 -0
- /package/dist/chunks/{wellknown-gftt206x.js → job-gftt206x.js} +0 -0
- /package/dist/chunks/{wellknown-hjbc5kem.js → job-hjbc5kem.js} +0 -0
- /package/dist/chunks/{wellknown-hk9envan.js → job-hk9envan.js} +0 -0
- /package/dist/chunks/{wellknown-j2ntwpah.js → job-j2ntwpah.js} +0 -0
- /package/dist/chunks/{wellknown-j5zkgpj8.js → job-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{wellknown-jjkms2e6.js → job-jjkms2e6.js} +0 -0
- /package/dist/chunks/{wellknown-jr7sbwjy.js → job-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{wellknown-jwfs4k6c.js → job-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{wellknown-jzg6c2d5.js → job-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{wellknown-mp448xyj.js → job-mp448xyj.js} +0 -0
- /package/dist/chunks/{wellknown-msx8hqn2.js → job-msx8hqn2.js} +0 -0
- /package/dist/chunks/{wellknown-n05xt0ee.js → job-n05xt0ee.js} +0 -0
- /package/dist/chunks/{wellknown-n3j8tn72.js → job-n3j8tn72.js} +0 -0
- /package/dist/chunks/{wellknown-njntx4h6.js → job-njntx4h6.js} +0 -0
- /package/dist/chunks/{wellknown-q3sfg36h.js → job-q3sfg36h.js} +0 -0
- /package/dist/chunks/{wellknown-q74kybfr.js → job-q74kybfr.js} +0 -0
- /package/dist/chunks/{wellknown-qaymkmh1.js → job-qaymkmh1.js} +0 -0
- /package/dist/chunks/{wellknown-qb87gjwd.js → job-qb87gjwd.js} +0 -0
- /package/dist/chunks/{wellknown-qfa1cgps.js → job-qfa1cgps.js} +0 -0
- /package/dist/chunks/{wellknown-qg3g05ea.js → job-qg3g05ea.js} +0 -0
- /package/dist/chunks/{wellknown-qrg20bc0.js → job-qrg20bc0.js} +0 -0
- /package/dist/chunks/{wellknown-rcb2kzg1.js → job-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{wellknown-sdp7kfr6.js → job-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{wellknown-sk3qaz4a.js → job-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{wellknown-ssg3fenm.js → job-ssg3fenm.js} +0 -0
- /package/dist/chunks/{wellknown-twg0f83k.js → job-twg0f83k.js} +0 -0
- /package/dist/chunks/{wellknown-w803qqfp.js → job-w803qqfp.js} +0 -0
- /package/dist/chunks/{wellknown-wc3fc9cn.js → job-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{wellknown-wer8tq1h.js → job-wer8tq1h.js} +0 -0
- /package/dist/chunks/{wellknown-wtztk69x.js → job-wtztk69x.js} +0 -0
- /package/dist/chunks/{wellknown-x0ckcb58.js → job-x0ckcb58.js} +0 -0
- /package/dist/chunks/{wellknown-x61499pn.js → job-x61499pn.js} +0 -0
- /package/dist/chunks/{wellknown-y44na4kk.js → job-y44na4kk.js} +0 -0
- /package/dist/chunks/{wellknown-y8cydn3q.js → job-y8cydn3q.js} +0 -0
- /package/dist/chunks/{wellknown-y8f7s663.js → job-y8f7s663.js} +0 -0
- /package/dist/chunks/{wellknown-ygaqb7jw.js → job-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{wellknown-ym463w8f.js → job-ym463w8f.js} +0 -0
- /package/dist/chunks/{wellknown-z9919s4g.js → job-z9919s4g.js} +0 -0
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID10,
|
|
3
|
+
Service64
|
|
4
|
+
} from "./job-3hzr9rg4.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service71
|
|
8
|
+
} from "./job-wwxpaqyb.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service66
|
|
12
|
+
} from "./job-71nwy637.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./job-xkhfjrgz.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service65
|
|
18
|
+
} from "./job-1yscqzaw.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service59
|
|
22
|
+
} from "./job-0m47qdrg.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service22
|
|
25
|
+
} from "./job-22mrwvg1.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./job-x1ezjp6w.js";
|
|
29
29
|
import {
|
|
30
30
|
make9
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./job-te7nhm16.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./job-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input3,
|
|
40
|
+
Output: () => Output2,
|
|
41
|
+
Plugin: () => Plugin36,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description3,
|
|
44
|
+
name: () => name3
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name3 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input3 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,12 +72,12 @@ var Input8 = Schema.Struct({
|
|
|
72
72
|
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."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output2 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
79
79
|
});
|
|
80
|
-
var
|
|
80
|
+
var description3 = [
|
|
81
81
|
"Spawns an agent in a child session to work on the specified task.",
|
|
82
82
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
83
83
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -86,15 +86,15 @@ var description4 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin36 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
92
|
+
const sessions = yield* Service22;
|
|
93
|
+
const jobs = yield* Service65;
|
|
94
|
+
const agents = yield* Service64;
|
|
95
|
+
const config = yield* Service66;
|
|
96
|
+
const permission = yield* Service59;
|
|
97
|
+
const models = yield* Service71;
|
|
98
98
|
const subagents = yield* make9;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
@@ -115,11 +115,11 @@ var Plugin23 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name3,
|
|
119
119
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
120
|
+
description: description3,
|
|
121
|
+
input: Input3,
|
|
122
|
+
output: Output2,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
125
|
let current = parent;
|
|
@@ -139,7 +139,7 @@ var Plugin23 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name3,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin23 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID10.make(input.agent),
|
|
172
172
|
model
|
|
173
173
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
174
174
|
const background = input.background === true;
|
|
@@ -218,13 +218,13 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
const hook = (event) => Effect.gen(function* () {
|
|
221
|
-
const tool = event.tools[
|
|
221
|
+
const tool = event.tools[name3];
|
|
222
222
|
if (!tool)
|
|
223
223
|
return;
|
|
224
224
|
const selected = yield* agents.resolve(event.agent);
|
|
225
225
|
if (!selected)
|
|
226
226
|
return;
|
|
227
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
227
|
+
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));
|
|
228
228
|
if (available.length === 0)
|
|
229
229
|
return;
|
|
230
230
|
tool.description = [
|
|
@@ -241,4 +241,4 @@ ${output.output}
|
|
|
241
241
|
})
|
|
242
242
|
};
|
|
243
243
|
|
|
244
|
-
export {
|
|
244
|
+
export { name3, Input3, Output2, description3, Plugin36, exports_subagent };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ID11,
|
|
3
|
+
Info15,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./job-xkhfjrgz.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./job-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Service82,
|
|
11
11
|
node86
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./job-djn99qrt.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
15
|
Service81,
|
|
16
16
|
node85
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./job-w2tezq6a.js";
|
|
18
18
|
import {
|
|
19
19
|
Service79,
|
|
20
20
|
node83
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./job-ep62eb50.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service57,
|
|
24
|
+
node60
|
|
25
|
+
} from "./job-eqkxs06z.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./job-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./job-5c4hm403.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
node58
|
|
34
|
+
} from "./job-b6s0yqqy.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./job-34z8bdtq.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./job-s4pq5rpv.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./job-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
46
|
+
node27
|
|
47
|
+
} from "./job-tqmbv8jz.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node73
|
|
51
|
+
} from "./job-h3z1r0k6.js";
|
|
52
52
|
import {
|
|
53
53
|
NotFoundError9,
|
|
54
54
|
MessageNotFoundError2,
|
|
@@ -61,58 +61,58 @@ import {
|
|
|
61
61
|
BusyError2,
|
|
62
62
|
InboxConflictError2,
|
|
63
63
|
SkillNotFoundError2
|
|
64
|
-
} from "./
|
|
64
|
+
} from "./job-834a0b17.js";
|
|
65
65
|
import {
|
|
66
66
|
ListInput5,
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
67
|
+
Service61,
|
|
68
|
+
node64
|
|
69
|
+
} from "./job-7vq06w24.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
71
|
+
Service65,
|
|
72
|
+
node68
|
|
73
|
+
} from "./job-1yscqzaw.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
75
|
+
Service53,
|
|
76
|
+
node57
|
|
77
|
+
} from "./job-sn5yxs0v.js";
|
|
78
78
|
import {
|
|
79
79
|
llmClient2
|
|
80
|
-
} from "./
|
|
80
|
+
} from "./job-5t3nmthw.js";
|
|
81
81
|
import {
|
|
82
82
|
Service34,
|
|
83
83
|
node37
|
|
84
|
-
} from "./
|
|
84
|
+
} from "./job-zth67p6s.js";
|
|
85
85
|
import {
|
|
86
86
|
generate2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./job-j6fdsezs.js";
|
|
88
88
|
import {
|
|
89
89
|
execute2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./job-b50zdmtr.js";
|
|
91
91
|
import {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
} from "./
|
|
92
|
+
Service63,
|
|
93
|
+
node66
|
|
94
|
+
} from "./job-gkqjere8.js";
|
|
95
95
|
import {
|
|
96
96
|
DestinationNotFoundError2,
|
|
97
97
|
DestinationNotDirectoryError2,
|
|
98
98
|
DestinationUnavailableError2,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./
|
|
99
|
+
Service23,
|
|
100
|
+
node26
|
|
101
|
+
} from "./job-prm9128a.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./
|
|
103
|
+
Service36,
|
|
104
|
+
node39
|
|
105
|
+
} from "./job-3rtxz4nr.js";
|
|
106
106
|
import {
|
|
107
|
-
|
|
108
|
-
} from "./
|
|
107
|
+
make13
|
|
108
|
+
} from "./job-vfsmhr4e.js";
|
|
109
109
|
import {
|
|
110
110
|
TurnRangeError2,
|
|
111
111
|
turn2
|
|
112
|
-
} from "./
|
|
112
|
+
} from "./job-pn1jbybg.js";
|
|
113
113
|
import {
|
|
114
114
|
__export
|
|
115
|
-
} from "./
|
|
115
|
+
} from "./job-9rqn6x4v.js";
|
|
116
116
|
|
|
117
117
|
// src/session.ts
|
|
118
118
|
var exports_session = {};
|
|
@@ -123,22 +123,22 @@ __export(exports_session, {
|
|
|
123
123
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
124
124
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
125
125
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
126
|
-
ID: () =>
|
|
126
|
+
ID: () => ID11,
|
|
127
127
|
InboxConflictError: () => InboxConflictError2,
|
|
128
|
-
Info: () =>
|
|
128
|
+
Info: () => Info15,
|
|
129
129
|
ListAnchor: () => ListAnchor2,
|
|
130
130
|
ListInput: () => ListInput3,
|
|
131
131
|
MessageDecodeError: () => MessageDecodeError2,
|
|
132
132
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
133
133
|
NotFoundError: () => NotFoundError9,
|
|
134
134
|
PromptConflictError: () => PromptConflictError2,
|
|
135
|
-
Service: () =>
|
|
135
|
+
Service: () => Service22,
|
|
136
136
|
Session: () => exports_session,
|
|
137
137
|
SessionSchema: () => SessionSchema2,
|
|
138
138
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
139
139
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
140
140
|
TurnRangeError: () => TurnRangeError2,
|
|
141
|
-
node: () =>
|
|
141
|
+
node: () => node25
|
|
142
142
|
});
|
|
143
143
|
import { Effect, Layer, Schema, Context, Stream } from "effect";
|
|
144
144
|
import { LLMClient } from "@opencode/ai";
|
|
@@ -149,26 +149,26 @@ import path from "path";
|
|
|
149
149
|
import { Node } from "@opencode/util/effect/app-node";
|
|
150
150
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
151
151
|
var ListInput3 = ListInput5;
|
|
152
|
-
class
|
|
152
|
+
class Service22 extends Context.Service()("@opencode/Session") {
|
|
153
153
|
}
|
|
154
|
-
var layer = Layer.effect(
|
|
154
|
+
var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
155
155
|
const app = yield* Metadata2;
|
|
156
156
|
const database = yield* Service82;
|
|
157
157
|
const db = database.db;
|
|
158
158
|
const bus = yield* Service81;
|
|
159
159
|
const projects = yield* Service79;
|
|
160
|
-
const execution = yield*
|
|
160
|
+
const execution = yield* Service53;
|
|
161
161
|
const llm = yield* LLMClient.Service;
|
|
162
162
|
const transport = yield* Service34;
|
|
163
|
-
const store = yield*
|
|
164
|
-
const instances = yield*
|
|
165
|
-
const moves = yield*
|
|
166
|
-
const jobs = yield*
|
|
167
|
-
const environments = yield*
|
|
168
|
-
const locations = yield*
|
|
169
|
-
const sessions = yield*
|
|
163
|
+
const store = yield* Service61;
|
|
164
|
+
const instances = yield* Service57;
|
|
165
|
+
const moves = yield* Service23;
|
|
166
|
+
const jobs = yield* Service65;
|
|
167
|
+
const environments = yield* Service36;
|
|
168
|
+
const locations = yield* Service63;
|
|
169
|
+
const sessions = yield* make13();
|
|
170
170
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
171
|
-
const result =
|
|
171
|
+
const result = Service22.of({
|
|
172
172
|
create: Effect.fn("Session.create")(function* (input) {
|
|
173
173
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
174
174
|
const recorded = yield* store.get(sessionID);
|
|
@@ -281,11 +281,11 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
281
281
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
282
282
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
283
283
|
const session = yield* result.get(input.sessionID);
|
|
284
|
-
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
284
|
+
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service57, instances), Effect.provideService(Service82, database), Effect.provideService(LLMClient.Service, llm));
|
|
285
285
|
}),
|
|
286
286
|
command: Effect.fn("Session.command")(function* (input) {
|
|
287
287
|
const session = yield* result.get(input.sessionID);
|
|
288
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
288
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service57, instances));
|
|
289
289
|
}),
|
|
290
290
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
291
291
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -326,27 +326,27 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
326
326
|
});
|
|
327
327
|
return result;
|
|
328
328
|
}));
|
|
329
|
-
var
|
|
330
|
-
service:
|
|
329
|
+
var node25 = Node.makeGlobalNode({
|
|
330
|
+
service: Service22,
|
|
331
331
|
layer,
|
|
332
332
|
deps: [
|
|
333
|
-
|
|
334
|
-
|
|
333
|
+
node68,
|
|
334
|
+
node39,
|
|
335
335
|
node86,
|
|
336
336
|
node85,
|
|
337
337
|
node83,
|
|
338
|
-
|
|
338
|
+
node57,
|
|
339
339
|
node37,
|
|
340
340
|
llmClient2,
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
341
|
+
node64,
|
|
342
|
+
node60,
|
|
343
|
+
node58,
|
|
344
|
+
node26,
|
|
345
|
+
node27,
|
|
346
|
+
node66,
|
|
347
347
|
FSUtil.node,
|
|
348
|
-
|
|
348
|
+
node73
|
|
349
349
|
]
|
|
350
350
|
});
|
|
351
351
|
|
|
352
|
-
export { ListAnchor2, ListInput3,
|
|
352
|
+
export { ListAnchor2, ListInput3, Service22, node25, exports_session };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./job-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Service78,
|
|
7
7
|
node82
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./job-atvwme1y.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service16,
|
|
11
|
+
node18
|
|
12
|
+
} from "./job-1av6pmdt.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./job-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/filesystem.ts
|
|
18
18
|
var exports_filesystem = {};
|
|
@@ -21,18 +21,18 @@ __export(exports_filesystem, {
|
|
|
21
21
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
22
22
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
23
23
|
Entry: () => Entry2,
|
|
24
|
-
Event: () =>
|
|
24
|
+
Event: () => Event3,
|
|
25
25
|
FileSystem: () => exports_filesystem,
|
|
26
26
|
FindInput: () => FindInput2,
|
|
27
27
|
GlobInput: () => GlobInput2,
|
|
28
28
|
GrepInput: () => GrepInput2,
|
|
29
29
|
ListInput: () => ListInput2,
|
|
30
30
|
Match: () => Match2,
|
|
31
|
-
NotFoundError: () =>
|
|
31
|
+
NotFoundError: () => NotFoundError3,
|
|
32
32
|
ReadInput: () => ReadInput2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service15,
|
|
34
34
|
Submatch: () => Submatch2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node17
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
38
38
|
import path from "path";
|
|
@@ -44,7 +44,7 @@ var ReadInput2 = Schema.Struct({
|
|
|
44
44
|
path: RelativePath2
|
|
45
45
|
});
|
|
46
46
|
|
|
47
|
-
class
|
|
47
|
+
class NotFoundError3 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
48
48
|
path: RelativePath2
|
|
49
49
|
}) {
|
|
50
50
|
}
|
|
@@ -78,14 +78,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
78
78
|
limit: Schema.optionalKey(PositiveInt2)
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
|
-
var
|
|
81
|
+
var Event3 = FileSystem.Event;
|
|
82
82
|
|
|
83
|
-
class
|
|
83
|
+
class Service15 extends Context.Service()("@opencode/FileSystem") {
|
|
84
84
|
}
|
|
85
|
-
var baseLayer = Layer.effect(
|
|
85
|
+
var baseLayer = Layer.effect(Service15, Effect.gen(function* () {
|
|
86
86
|
const fs = yield* FSUtil.Service;
|
|
87
87
|
const location = yield* Service78;
|
|
88
|
-
const search = yield*
|
|
88
|
+
const search = yield* Service16;
|
|
89
89
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
90
90
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
91
91
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -96,15 +96,15 @@ var baseLayer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
96
96
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
97
97
|
return { absolute, real, directory: location.directory };
|
|
98
98
|
});
|
|
99
|
-
return
|
|
99
|
+
return Service15.of({
|
|
100
100
|
find: search.find,
|
|
101
101
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
102
|
-
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
103
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
102
|
+
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
|
|
103
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
|
|
104
104
|
if (info.type !== "File")
|
|
105
105
|
return yield* Effect.die(new Error("Path is not a file"));
|
|
106
106
|
return {
|
|
107
|
-
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
107
|
+
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error))),
|
|
108
108
|
mime: FSUtil.mimeType(target.real)
|
|
109
109
|
};
|
|
110
110
|
}),
|
|
@@ -128,10 +128,10 @@ var baseLayer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
128
128
|
})
|
|
129
129
|
});
|
|
130
130
|
}));
|
|
131
|
-
var
|
|
132
|
-
service:
|
|
131
|
+
var node17 = makeLocationNode({
|
|
132
|
+
service: Service15,
|
|
133
133
|
layer: baseLayer,
|
|
134
|
-
deps: [FSUtil.node, node82,
|
|
134
|
+
deps: [FSUtil.node, node82, node18]
|
|
135
135
|
});
|
|
136
136
|
|
|
137
|
-
export { FindInput2, ReadInput2,
|
|
137
|
+
export { FindInput2, ReadInput2, NotFoundError3, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event3, Service15, node17, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/lsp.ts
|
|
6
6
|
var exports_lsp = {};
|
|
7
7
|
__export(exports_lsp, {
|
|
8
8
|
ConfigLSPV1: () => exports_lsp,
|
|
9
9
|
Disabled: () => Disabled2,
|
|
10
|
-
Entry: () =>
|
|
11
|
-
Info: () =>
|
|
10
|
+
Entry: () => Entry3,
|
|
11
|
+
Info: () => Info21,
|
|
12
12
|
builtinServerIds: () => builtinServerIds2,
|
|
13
13
|
requiresExtensionsForCustomServers: () => requiresExtensionsForCustomServers2
|
|
14
14
|
});
|
|
@@ -16,7 +16,7 @@ import { Schema } from "effect";
|
|
|
16
16
|
var Disabled2 = Schema.Struct({
|
|
17
17
|
disabled: Schema.Literal(true)
|
|
18
18
|
});
|
|
19
|
-
var
|
|
19
|
+
var Entry3 = Schema.Union([
|
|
20
20
|
Disabled2,
|
|
21
21
|
Schema.Struct({
|
|
22
22
|
command: Schema.mutable(Schema.Array(Schema.String)),
|
|
@@ -79,6 +79,6 @@ var requiresExtensionsForCustomServers2 = Schema.makeFilter((data) => {
|
|
|
79
79
|
});
|
|
80
80
|
return ok ? undefined : "For custom LSP servers, 'extensions' array is required.";
|
|
81
81
|
});
|
|
82
|
-
var
|
|
82
|
+
var Info21 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]).check(requiresExtensionsForCustomServers2);
|
|
83
83
|
|
|
84
|
-
export { Disabled2,
|
|
84
|
+
export { Disabled2, Entry3, builtinServerIds2, requiresExtensionsForCustomServers2, Info21, exports_lsp };
|