@opencode-ai/core 0.0.0-beta-17519 → 0.0.0-beta-17595
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 +2 -2
- package/dist/agent.js +72 -72
- package/dist/aisdk-native.js +3 -3
- package/dist/aisdk.js +4 -4
- package/dist/app.js +2 -2
- package/dist/bus.js +70 -70
- package/dist/catalog.js +80 -80
- package/dist/chunks/{worktree-1waapm91.js → file-027bgpms.js} +14 -14
- package/dist/chunks/{worktree-02dbfq60.js → file-02dbfq60.js} +1 -1
- package/dist/chunks/{worktree-04kwjb53.js → file-04kwjb53.js} +2 -2
- package/dist/chunks/{worktree-nx95edza.js → file-06h1zy40.js} +5 -5
- package/dist/chunks/{worktree-0dwyqmzq.js → file-0dwyqmzq.js} +1 -1
- package/dist/chunks/{worktree-0kvmztkf.js → file-0kvmztkf.js} +1 -1
- package/dist/chunks/{worktree-vj4x9f3m.js → file-0q14sxyz.js} +9 -9
- package/dist/chunks/{worktree-n8bdvphd.js → file-0x2z9q12.js} +8 -8
- package/dist/chunks/{worktree-0zs4qnv1.js → file-0zs4qnv1.js} +2 -2
- package/dist/chunks/{worktree-18pv8fg3.js → file-18pv8fg3.js} +2 -2
- package/dist/chunks/{worktree-0b3j38xs.js → file-18vh565s.js} +6 -6
- package/dist/chunks/{worktree-1c00jchy.js → file-1c00jchy.js} +2 -2
- package/dist/chunks/{worktree-xfd1xnk3.js → file-1px4xhxb.js} +2 -2
- package/dist/chunks/{worktree-37rcj8p3.js → file-1sx0aa4f.js} +3 -3
- package/dist/chunks/{worktree-2vwegrqc.js → file-1w0svdh3.js} +2 -2
- package/dist/chunks/{worktree-1xksxgzs.js → file-1xksxgzs.js} +2 -2
- package/dist/chunks/{worktree-f1nsvbvj.js → file-1yz6p2jq.js} +3 -3
- package/dist/chunks/{worktree-fe14tdkq.js → file-20fnfdqj.js} +10 -10
- package/dist/chunks/{worktree-25pxtba7.js → file-25pxtba7.js} +1 -1
- package/dist/chunks/{worktree-sd966s7w.js → file-27xnc6tv.js} +9 -9
- package/dist/chunks/{worktree-x8bp53t2.js → file-2g41g83c.js} +7 -7
- package/dist/chunks/{worktree-t6j101pt.js → file-2krtwza0.js} +7 -7
- package/dist/chunks/{worktree-2nmyybe0.js → file-2nmyybe0.js} +1 -1
- package/dist/chunks/{worktree-ddn74qps.js → file-2vxr0v86.js} +2 -2
- package/dist/chunks/{worktree-vgenfcra.js → file-2wqqqft7.js} +2 -2
- package/dist/chunks/{worktree-bpjevh87.js → file-3755670m.js} +25 -25
- package/dist/chunks/{worktree-38crwsq8.js → file-38crwsq8.js} +2 -2
- package/dist/chunks/{worktree-gs3rgzv4.js → file-3bk6rmsw.js} +129 -116
- package/dist/chunks/{worktree-5pfeh60c.js → file-3g8vftxb.js} +2 -2
- package/dist/chunks/{worktree-wm59w936.js → file-3jfeqpzx.js} +22 -22
- package/dist/chunks/{worktree-5xzparyv.js → file-3s7e2f99.js} +3 -3
- package/dist/chunks/{worktree-3thh6229.js → file-3thh6229.js} +2 -2
- package/dist/chunks/{worktree-t1wskd5z.js → file-4223r8y8.js} +5 -5
- package/dist/chunks/{worktree-42q4drvy.js → file-42q4drvy.js} +2 -2
- package/dist/chunks/{worktree-45f7x7tq.js → file-4adhyg6m.js} +7 -7
- package/dist/chunks/{worktree-pcnqrn8w.js → file-4m2k2smt.js} +7 -7
- package/dist/chunks/{worktree-4s2xwh5d.js → file-4s2xwh5d.js} +3 -3
- package/dist/chunks/{worktree-njp4sjwj.js → file-4wnw1v48.js} +7 -7
- package/dist/chunks/{worktree-4zzdwbaz.js → file-4zzdwbaz.js} +2 -2
- package/dist/chunks/{worktree-50jxp3hw.js → file-50jxp3hw.js} +1 -1
- package/dist/chunks/{worktree-52jzav25.js → file-52jzav25.js} +1 -1
- package/dist/chunks/{worktree-57tzwnz4.js → file-57tzwnz4.js} +1 -1
- package/dist/chunks/{worktree-8wwfk5hz.js → file-5aca3jzc.js} +9 -9
- package/dist/chunks/{worktree-7pgjtstk.js → file-5mbfga6t.js} +4 -4
- package/dist/chunks/{worktree-1rwe361b.js → file-5qc7cxvj.js} +13 -13
- package/dist/chunks/{worktree-taddbf1j.js → file-5rd2371y.js} +9 -9
- package/dist/chunks/{worktree-5rs65q6p.js → file-5rs65q6p.js} +1 -1
- package/dist/chunks/{worktree-5vcssjzn.js → file-5vcssjzn.js} +1 -1
- package/dist/chunks/{worktree-mvfnqvr0.js → file-60c0k1qy.js} +5 -5
- package/dist/chunks/{worktree-zqkzb2rv.js → file-64bdc2sf.js} +2 -2
- package/dist/chunks/{worktree-te3kd788.js → file-658vcx0m.js} +5 -5
- package/dist/chunks/{worktree-7b0jv85b.js → file-663be8qb.js} +7 -7
- package/dist/chunks/{worktree-kgw3cve8.js → file-665983a3.js} +20 -20
- package/dist/chunks/{worktree-nv3q409j.js → file-66ww2ke6.js} +2 -2
- package/dist/chunks/{worktree-hejzkg3n.js → file-6f5gxeem.js} +20 -20
- package/dist/chunks/file-6ky7rqk7.js +31 -0
- package/dist/chunks/{worktree-jqh1fr37.js → file-6nfxvtta.js} +4 -4
- package/dist/chunks/{worktree-cdws2yyh.js → file-6q42t53d.js} +5 -5
- package/dist/chunks/{worktree-875wbggt.js → file-6t84bth1.js} +5 -4
- package/dist/chunks/{worktree-n701djg3.js → file-6tvgjq6v.js} +4 -4
- package/dist/chunks/{worktree-p8fzv3v2.js → file-6y00qkx7.js} +1 -1
- package/dist/chunks/{worktree-706a4azd.js → file-706a4azd.js} +1 -1
- package/dist/chunks/{worktree-eep368gz.js → file-70krbkh8.js} +3 -3
- package/dist/chunks/{worktree-8qy7z4xa.js → file-73brgvey.js} +3 -3
- package/dist/chunks/{worktree-vy0djk29.js → file-75z23hs9.js} +21 -21
- package/dist/chunks/{worktree-7mrpdsq5.js → file-7mrpdsq5.js} +1 -1
- package/dist/chunks/file-7n13pnta.js +174 -0
- package/dist/chunks/{worktree-7wcmqxrc.js → file-7wcmqxrc.js} +1 -1
- package/dist/chunks/{worktree-88jbfw8z.js → file-88jbfw8z.js} +2 -2
- package/dist/chunks/{worktree-dgd8rska.js → file-8a9n1ecs.js} +3 -3
- package/dist/chunks/{worktree-f5h4svs6.js → file-8b8db9dn.js} +42 -7
- package/dist/chunks/{worktree-cgvnqv92.js → file-8dwkjrbx.js} +1 -1
- package/dist/chunks/{worktree-ygfah3rq.js → file-8ss9enjp.js} +3 -3
- package/dist/chunks/{worktree-d6vvk673.js → file-8twz6z1z.js} +2 -2
- package/dist/chunks/{worktree-8v47shgf.js → file-8v47shgf.js} +2 -2
- package/dist/chunks/{worktree-8ywqk2j9.js → file-8ywqk2j9.js} +1 -1
- package/dist/chunks/{worktree-93qdgxxd.js → file-93qdgxxd.js} +1 -1
- package/dist/chunks/{worktree-999qd968.js → file-999qd968.js} +1 -1
- package/dist/chunks/{worktree-9d2xhdr4.js → file-9d2xhdr4.js} +3 -3
- package/dist/chunks/{worktree-nwh9mtrv.js → file-9dbphfd4.js} +12 -12
- package/dist/chunks/{worktree-9f0rnpkn.js → file-9f0rnpkn.js} +1 -1
- package/dist/chunks/file-9jr1552g.js +49 -0
- package/dist/chunks/{worktree-bkkwvxgw.js → file-9nxkvjkr.js} +17 -17
- package/dist/chunks/{worktree-98930e30.js → file-9q7032rn.js} +10 -10
- package/dist/chunks/{worktree-qxcxzq0w.js → file-9tgd1sa0.js} +28 -11
- package/dist/chunks/{worktree-j3m211jx.js → file-9vc4jz8b.js} +5 -5
- package/dist/chunks/{worktree-zrg8htec.js → file-a4004nss.js} +75 -75
- package/dist/chunks/{worktree-a65h300v.js → file-a65h300v.js} +2 -2
- package/dist/chunks/{worktree-n6a0dr6g.js → file-aejdne0e.js} +2 -2
- package/dist/chunks/{worktree-f493cvht.js → file-as1t9t7n.js} +6 -6
- package/dist/chunks/{worktree-ayfwnm78.js → file-ayfwnm78.js} +2 -2
- package/dist/chunks/{worktree-5b8vkrh0.js → file-b1jt21vx.js} +5 -5
- package/dist/chunks/{worktree-v3hh79qq.js → file-b1z4y0ay.js} +86 -86
- package/dist/chunks/{worktree-6e3dgnnx.js → file-b4j6ey0s.js} +10 -10
- package/dist/chunks/{worktree-kb5qk7wn.js → file-bbmh2dfw.js} +2 -2
- package/dist/chunks/{worktree-9smt8cr9.js → file-bn7p95jq.js} +12 -12
- package/dist/chunks/{worktree-byab506k.js → file-byab506k.js} +1 -1
- package/dist/chunks/{worktree-857g7h76.js → file-c53n3hjv.js} +1 -1
- package/dist/chunks/{worktree-rqswsgbs.js → file-cdrqa8qb.js} +2 -2
- package/dist/chunks/{worktree-730r4vyz.js → file-cn5vww2k.js} +7 -7
- package/dist/chunks/{worktree-9r0qzhnf.js → file-cvh8045m.js} +2 -2
- package/dist/chunks/{worktree-cz3dkvcz.js → file-cz3dkvcz.js} +1 -1
- package/dist/chunks/{worktree-6jtjggv5.js → file-dgjzraq6.js} +1 -1
- package/dist/chunks/{worktree-dhphtf1x.js → file-dhphtf1x.js} +1 -1
- package/dist/chunks/{worktree-dyz5q1tb.js → file-dyz5q1tb.js} +2 -2
- package/dist/chunks/{worktree-e1z9a0ts.js → file-e1z9a0ts.js} +2 -2
- package/dist/chunks/{worktree-qg07mtkh.js → file-e62qqw9f.js} +15 -15
- package/dist/chunks/{worktree-8k8ks5a6.js → file-ec8vrfw5.js} +3 -3
- package/dist/chunks/{worktree-ywdd8efs.js → file-edvtf4tx.js} +105 -91
- package/dist/chunks/{worktree-wj6jc4h7.js → file-ek4bes0b.js} +5 -5
- package/dist/chunks/{worktree-hb4xmydk.js → file-en0j70s6.js} +3 -3
- package/dist/chunks/{worktree-erj4j75s.js → file-erj4j75s.js} +1 -1
- package/dist/chunks/{worktree-eyk9wdct.js → file-eyk9wdct.js} +2 -2
- package/dist/chunks/{worktree-g467njmm.js → file-ezegptdr.js} +10 -10
- package/dist/chunks/{worktree-f05p34aa.js → file-f05p34aa.js} +3 -3
- package/dist/chunks/{worktree-dppgrtwb.js → file-f14r7hfz.js} +27 -0
- package/dist/chunks/{worktree-jyepqp0w.js → file-f3rqrz1h.js} +7 -5
- package/dist/chunks/file-f6a73nhd.js +139 -0
- package/dist/chunks/{worktree-5zz4jszj.js → file-f7evhwkg.js} +8 -8
- package/dist/chunks/{worktree-axf5sacz.js → file-fcefwnba.js} +10 -10
- package/dist/chunks/{worktree-fmyre8m1.js → file-fmyre8m1.js} +1 -1
- package/dist/chunks/{worktree-b73001y4.js → file-fvjr77vx.js} +5 -5
- package/dist/chunks/file-fvw35s1f.js +148 -0
- package/dist/chunks/{worktree-g9yygpzr.js → file-g9yygpzr.js} +1 -1
- package/dist/chunks/{worktree-gcay93cp.js → file-gcay93cp.js} +1 -1
- package/dist/chunks/{worktree-gd2xppx8.js → file-gd2xppx8.js} +1 -1
- package/dist/chunks/{worktree-jy6jkn1q.js → file-gdndr5ds.js} +3 -3
- package/dist/chunks/{worktree-jcwqeqpt.js → file-gndxty6r.js} +12 -12
- package/dist/chunks/{worktree-gpee7ppy.js → file-gpee7ppy.js} +2 -2
- package/dist/chunks/{worktree-bp8xwhb4.js → file-grghsxkg.js} +6 -6
- package/dist/chunks/{worktree-909g54nx.js → file-gxmfza0d.js} +29 -29
- package/dist/chunks/{worktree-xdgv2fac.js → file-h7hxhz5s.js} +6 -6
- package/dist/chunks/{worktree-h8ecejt5.js → file-h8ecejt5.js} +1 -1
- package/dist/chunks/{worktree-y5mtxhrm.js → file-hcypmxj6.js} +22 -22
- package/dist/chunks/{worktree-3mfgaav1.js → file-hgn8axp1.js} +4 -4
- package/dist/chunks/{worktree-8bkmtpp6.js → file-hsyk7kfz.js} +5 -5
- package/dist/chunks/{worktree-j1a5h53y.js → file-j1a5h53y.js} +1 -1
- package/dist/chunks/{worktree-we2zmhe4.js → file-j2f50m4s.js} +2 -2
- package/dist/chunks/{worktree-cp1ke1wq.js → file-j2nmssd3.js} +9 -9
- package/dist/chunks/{worktree-6628r0j2.js → file-jqkpryhn.js} +11 -11
- package/dist/chunks/{worktree-jssy2dr3.js → file-jssy2dr3.js} +2 -2
- package/dist/chunks/{worktree-10xtr3be.js → file-jwcdbjdr.js} +2 -2
- package/dist/chunks/{worktree-w6ytwaqa.js → file-k0630w4g.js} +10 -10
- package/dist/chunks/{worktree-be91g35x.js → file-k7pgcjt6.js} +30 -26
- package/dist/chunks/{worktree-kg1345f7.js → file-kg1345f7.js} +1 -1
- package/dist/chunks/{worktree-szax8zgv.js → file-kjkmrs65.js} +2 -2
- package/dist/chunks/{worktree-nk6j6dqr.js → file-knd350r7.js} +8 -8
- package/dist/chunks/{worktree-z2vzkpp7.js → file-kptd0d9x.js} +6 -6
- package/dist/chunks/{worktree-shfvvkmw.js → file-kzj2xtdg.js} +14 -14
- package/dist/chunks/{worktree-mf0hyk7z.js → file-mf0hyk7z.js} +1 -1
- package/dist/chunks/{worktree-mh28new4.js → file-mh28new4.js} +2 -2
- package/dist/chunks/{worktree-2gh436pb.js → file-mhsxry0w.js} +5 -5
- package/dist/chunks/{worktree-8vhzxx5g.js → file-mnb85w6b.js} +3 -3
- package/dist/chunks/{worktree-ba68z0mh.js → file-mqfhnxg0.js} +22 -22
- package/dist/chunks/{worktree-mwceq5am.js → file-mwceq5am.js} +1 -1
- package/dist/chunks/{worktree-a9jaghsy.js → file-mzdzk01c.js} +3 -3
- package/dist/chunks/{worktree-7zqysg7a.js → file-n32fctmg.js} +9 -9
- package/dist/chunks/{worktree-ddjpbqb0.js → file-n744begs.js} +6 -6
- package/dist/chunks/{worktree-nesb2rcz.js → file-nesb2rcz.js} +2 -2
- package/dist/chunks/{worktree-05525jb6.js → file-ngrtxfq1.js} +2 -2
- package/dist/chunks/{worktree-nj1s64cz.js → file-nj1s64cz.js} +1 -1
- package/dist/chunks/{worktree-nr76rjj3.js → file-nr76rjj3.js} +2 -2
- package/dist/chunks/{worktree-3zqegg96.js → file-nthsreft.js} +9 -9
- package/dist/chunks/{worktree-7zdtvaa2.js → file-nve52h2s.js} +6 -6
- package/dist/chunks/{worktree-nzrjycs5.js → file-nzrjycs5.js} +1 -1
- package/dist/chunks/{worktree-s6by3cc4.js → file-p27xxkqg.js} +9 -9
- package/dist/chunks/{worktree-9rdgabpj.js → file-p3661pfb.js} +17 -11
- package/dist/chunks/{worktree-p3zwavty.js → file-p3zwavty.js} +2 -2
- package/dist/chunks/{worktree-skessbcj.js → file-pe29tp57.js} +3 -3
- package/dist/chunks/{worktree-pfqehjmy.js → file-pfqehjmy.js} +2 -2
- package/dist/chunks/{worktree-ph1me6ah.js → file-ph1me6ah.js} +2 -2
- package/dist/chunks/{worktree-pq4b4pqk.js → file-pq4b4pqk.js} +2 -2
- package/dist/chunks/{worktree-prf9bavk.js → file-prf9bavk.js} +3 -3
- package/dist/chunks/{worktree-fm1nvm5g.js → file-px7n0cd3.js} +1 -1
- package/dist/chunks/{worktree-snreps37.js → file-pxc9mm6x.js} +11 -11
- package/dist/chunks/{worktree-dw1mm7n3.js → file-pxh2y4mp.js} +6 -6
- package/dist/chunks/{worktree-wxkmmjny.js → file-qbvbyx91.js} +4 -4
- package/dist/chunks/{worktree-qe0d689s.js → file-qe0d689s.js} +2 -2
- package/dist/chunks/{worktree-ekph8834.js → file-qgt32wwf.js} +3 -3
- package/dist/chunks/{worktree-qsgvz7g8.js → file-qsgvz7g8.js} +2 -2
- package/dist/chunks/{worktree-qgn7w6cn.js → file-qxs84648.js} +9 -9
- package/dist/chunks/{worktree-5p2sx24b.js → file-qy071k7t.js} +3 -3
- package/dist/chunks/{worktree-r3k9abhd.js → file-r3k9abhd.js} +2 -2
- package/dist/chunks/{worktree-7420sy82.js → file-rg5spvbf.js} +5 -5
- package/dist/chunks/{worktree-rt6yg6j2.js → file-rt6yg6j2.js} +2 -2
- package/dist/chunks/{worktree-c3f8xgsn.js → file-ry4vhh7y.js} +80 -33
- package/dist/chunks/{worktree-ryap75b3.js → file-ryap75b3.js} +1 -1
- package/dist/chunks/{worktree-6nw3hf3n.js → file-s6e3c6h1.js} +3 -3
- package/dist/chunks/{worktree-3ms9b0hh.js → file-s8dhdr1a.js} +10 -10
- package/dist/chunks/{worktree-s9f13v9h.js → file-s9f13v9h.js} +1 -1
- package/dist/chunks/{worktree-smpeg8c9.js → file-smpeg8c9.js} +2 -2
- package/dist/chunks/{worktree-jtvazjbd.js → file-szsnfq8s.js} +36 -36
- package/dist/chunks/{worktree-2m0g72hh.js → file-t14kykx1.js} +3 -3
- package/dist/chunks/{worktree-tcn24h1d.js → file-tcn24h1d.js} +1 -1
- package/dist/chunks/{worktree-tenv3kfs.js → file-tenv3kfs.js} +2 -2
- package/dist/chunks/{worktree-0qh9pzb0.js → file-tfpq1akv.js} +12 -12
- package/dist/chunks/{worktree-6ehwq28g.js → file-tgkwq7ey.js} +16 -16
- package/dist/chunks/{worktree-thstd87d.js → file-thstd87d.js} +1 -1
- package/dist/chunks/{worktree-sxxq12m6.js → file-tns74tew.js} +4 -4
- package/dist/chunks/{worktree-fkqmsqw4.js → file-tq2yp16c.js} +7 -7
- package/dist/chunks/{worktree-5fjttjqy.js → file-tr01v5pk.js} +3 -3
- package/dist/chunks/{worktree-y3qywb4q.js → file-trvnbm2r.js} +4 -4
- package/dist/chunks/{worktree-8zdwha83.js → file-ttdn9mvh.js} +11 -11
- package/dist/chunks/{worktree-6p661xfs.js → file-v0ktexvy.js} +2 -2
- package/dist/chunks/{worktree-v80zsxnb.js → file-v80zsxnb.js} +1 -1
- package/dist/chunks/{worktree-v972xay6.js → file-v972xay6.js} +1 -1
- package/dist/chunks/{worktree-v9bfv94f.js → file-v9bfv94f.js} +1 -1
- package/dist/chunks/{worktree-b9twh12c.js → file-va2xjmjn.js} +13 -13
- package/dist/chunks/file-vacr5vr5.js +37 -0
- package/dist/chunks/{worktree-r1a74hph.js → file-vd76ghhe.js} +70 -58
- package/dist/chunks/{worktree-yftywzew.js → file-vhn5tvvs.js} +7 -7
- package/dist/chunks/{worktree-9xv0h02m.js → file-vks3mnpp.js} +16 -16
- package/dist/chunks/{worktree-wx89ywv3.js → file-vkvb1sb3.js} +1 -1
- package/dist/chunks/{worktree-r0zc60h8.js → file-vm3prpn4.js} +1 -1
- package/dist/chunks/{worktree-ts4t4v20.js → file-vv288965.js} +2 -2
- package/dist/chunks/{worktree-9a1r81ws.js → file-vwqhfv9a.js} +84 -67
- package/dist/chunks/{worktree-vz89hfgr.js → file-vz89hfgr.js} +1 -1
- package/dist/chunks/{worktree-wjn5a2kx.js → file-w0nvndn8.js} +8 -8
- package/dist/chunks/{worktree-91t3rsqh.js → file-w5c5ggfg.js} +12 -12
- package/dist/chunks/{worktree-249s8sgy.js → file-wamspyg8.js} +3 -3
- package/dist/chunks/{worktree-wd268jeg.js → file-wd268jeg.js} +1 -1
- package/dist/chunks/{worktree-wmxdh12w.js → file-wmxdh12w.js} +1 -1
- package/dist/chunks/{worktree-wps8gh8n.js → file-wps8gh8n.js} +2 -2
- package/dist/chunks/{worktree-wt193r4g.js → file-wt193r4g.js} +1 -1
- package/dist/chunks/{worktree-eyycrz1w.js → file-x143q1e8.js} +6 -6
- package/dist/chunks/{worktree-zthe9zqc.js → file-xczfw7dq.js} +4 -4
- package/dist/chunks/{worktree-3w0f1yxt.js → file-xg3qgrrb.js} +3 -3
- package/dist/chunks/{worktree-xgv25zxy.js → file-xgv25zxy.js} +1 -1
- package/dist/chunks/{worktree-56p2m126.js → file-xjreyxj2.js} +1 -1
- package/dist/chunks/{worktree-g07x5xy3.js → file-xkapkgm1.js} +7 -7
- package/dist/chunks/{worktree-s5q7hk5c.js → file-xt2bapaq.js} +6 -6
- package/dist/chunks/{worktree-xwftk1fd.js → file-xwftk1fd.js} +2 -2
- package/dist/chunks/{worktree-hkp4zrd4.js → file-xxpvz42q.js} +3 -3
- package/dist/chunks/{worktree-y0x38cee.js → file-y0x38cee.js} +1 -1
- package/dist/chunks/{worktree-1kvtxahz.js → file-y198y2ra.js} +4 -4
- package/dist/chunks/{worktree-tr3fnk6a.js → file-y3ys4sce.js} +3 -3
- package/dist/chunks/{worktree-y67x6rf6.js → file-y67x6rf6.js} +1 -1
- package/dist/chunks/{worktree-y8rs54ne.js → file-y8rs54ne.js} +1 -1
- package/dist/chunks/{worktree-y980s7ka.js → file-y980s7ka.js} +3 -3
- package/dist/chunks/{worktree-hwa45yqt.js → file-yb1hpdkr.js} +12 -12
- package/dist/chunks/{worktree-ed4jjjcc.js → file-yf0knd5z.js} +2 -2
- package/dist/chunks/{worktree-fa8dcnd7.js → file-ywrrwgdd.js} +7 -7
- package/dist/chunks/{worktree-y7xy17p6.js → file-yy9aw35r.js} +37 -7
- package/dist/chunks/{worktree-yz0wm9s3.js → file-yz0wm9s3.js} +2 -2
- package/dist/chunks/{worktree-3vh42rcr.js → file-z3nf8g8y.js} +2 -2
- package/dist/chunks/{worktree-zbqqnp0n.js → file-zbqqnp0n.js} +1 -1
- package/dist/chunks/{worktree-zdkg1k91.js → file-zdkg1k91.js} +1 -1
- package/dist/chunks/{worktree-zfxc0ze5.js → file-zfxc0ze5.js} +1 -1
- package/dist/chunks/{worktree-t2xtwj2n.js → file-zgkcypa3.js} +46 -26
- package/dist/chunks/{worktree-5a1f2529.js → file-zh6p9k71.js} +4 -4
- package/dist/chunks/{worktree-8v2yzmx6.js → file-zj2qv98r.js} +9 -9
- package/dist/chunks/{worktree-z66vzcey.js → file-zjvgdt9p.js} +7 -7
- package/dist/chunks/{worktree-jaw7zdhd.js → file-ztp8pcjx.js} +8 -8
- package/dist/chunks/{worktree-dx75tmcf.js → file-zx1bs0qm.js} +3 -3
- package/dist/chunks/{worktree-5sgbvx3z.js → file-zxe9jjhn.js} +2 -2
- package/dist/chunks/{worktree-j7gqmkwh.js → file-zxg28mmk.js} +4 -4
- package/dist/chunks/index-8jqmqb92.js +1 -1
- package/dist/codemode/catalog.js +2 -2
- package/dist/codemode/instructions.js +4 -4
- package/dist/codemode/tool.js +3 -3
- package/dist/command.js +126 -126
- package/dist/config/markdown.js +2 -2
- package/dist/config/normalize.js +20 -20
- package/dist/config/plugin/agent.js +131 -131
- package/dist/config/plugin/command.js +128 -128
- package/dist/config/plugin/instruction.js +87 -87
- package/dist/config/plugin/mcp.js +133 -0
- package/dist/config/plugin/policy.js +112 -112
- package/dist/config/plugin/provider.js +111 -111
- package/dist/config/plugin/reference.js +115 -115
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/source.js +111 -111
- package/dist/config/plugin/websearch.js +111 -111
- package/dist/config/variable.js +4 -4
- package/dist/config.js +110 -110
- package/dist/credential/sql.js +3 -3
- package/dist/credential.js +70 -70
- package/dist/database/database.js +67 -67
- package/dist/database/drizzle/effect-sqlite/driver.js +16 -16
- package/dist/database/drizzle/effect-sqlite/index.js +16 -16
- package/dist/database/drizzle/effect-sqlite/migrator.js +15 -15
- package/dist/database/drizzle/effect-sqlite/session.js +15 -15
- package/dist/database/drizzle/index.js +18 -18
- package/dist/database/drizzle/internal/drizzle-utils.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/count.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/db.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/delete.js +3 -3
- package/dist/database/drizzle/sqlite-core/effect/index.js +22 -22
- package/dist/database/drizzle/sqlite-core/effect/insert.js +3 -3
- package/dist/database/drizzle/sqlite-core/effect/query.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/raw.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/select.js +3 -3
- package/dist/database/drizzle/sqlite-core/effect/session.js +14 -14
- package/dist/database/drizzle/sqlite-core/effect/update.js +3 -3
- package/dist/database/drizzle/up-migrations/effect-sqlite.js +4 -4
- package/dist/database/drizzle/up-migrations/sqlite.js +2 -2
- package/dist/database/drizzle/up-migrations/utils.js +2 -2
- package/dist/database/drizzle.js +19 -19
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +2 -2
- package/dist/database/migration/20260211171708_add_project_commands.js +2 -2
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +2 -2
- package/dist/database/migration/20260225215848_workspace.js +2 -2
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +2 -2
- package/dist/database/migration/20260228203230_blue_harpoon.js +2 -2
- package/dist/database/migration/20260303231226_add_workspace_fields.js +2 -2
- package/dist/database/migration/20260309230000_move_org_to_state.js +2 -2
- package/dist/database/migration/20260312043431_session_message_cursor.js +2 -2
- package/dist/database/migration/20260323234822_events.js +2 -2
- package/dist/database/migration/20260410174513_workspace-name.js +2 -2
- package/dist/database/migration/20260413175956_chief_energizer.js +2 -2
- package/dist/database/migration/20260423070820_add_icon_url_override.js +2 -2
- package/dist/database/migration/20260427172553_slow_nightmare.js +2 -2
- package/dist/database/migration/20260428004200_add_session_path.js +2 -2
- package/dist/database/migration/20260501142318_next_venus.js +2 -2
- package/dist/database/migration/20260504145000_add_sync_owner.js +2 -2
- package/dist/database/migration/20260507164347_add_workspace_time.js +2 -2
- package/dist/database/migration/20260510033149_session_usage.js +2 -2
- package/dist/database/migration/20260511000411_data_migration_state.js +2 -2
- package/dist/database/migration/20260511173437_session-metadata.js +2 -2
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +2 -2
- package/dist/database/migration/20260601202201_amazing_prowler.js +2 -2
- package/dist/database/migration/20260602002951_lowly_union_jack.js +2 -2
- package/dist/database/migration/20260602182828_add_project_directories.js +2 -2
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +2 -2
- package/dist/database/migration/20260603040000_session_message_projection_order.js +2 -2
- package/dist/database/migration/20260603141458_session_input_inbox.js +2 -2
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +2 -2
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +2 -2
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +2 -2
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +2 -2
- package/dist/database/migration/20260611035744_credential.js +2 -2
- package/dist/database/migration/20260611192811_lush_chimera.js +2 -2
- package/dist/database/migration/20260612174303_project_dir_strategy.js +2 -2
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +2 -2
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +2 -2
- package/dist/database/migration/20260622202450_simplify_session_input.js +2 -2
- package/dist/database/migration/20260804233008_loose_psylocke.js +2 -2
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +2 -2
- package/dist/database/migration/20260808023530_workspace_domain.js +2 -2
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +2 -2
- package/dist/database/migration/20260812181746_session_inbox.js +2 -2
- package/dist/database/migration/20260812213948_worktree.js +2 -2
- package/dist/database/migration.gen.js +46 -46
- package/dist/database/migration.js +48 -48
- package/dist/database/path.js +3 -3
- package/dist/database/schema.gen.js +2 -2
- package/dist/database/schema.sql.js +2 -2
- package/dist/database/sqlite.bun.js +2 -2
- package/dist/database/sqlite.js +2 -2
- package/dist/database/sqlite.node.js +2 -2
- package/dist/database/sqlite.workerd.js +2 -2
- package/dist/database/v1-migration.bun.js +146 -84
- package/dist/database/v1-migration.js +2 -2
- package/dist/database/v1-migration.noop.js +1 -1
- package/dist/effect/app-node-builder.js +319 -313
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +2 -2
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +3 -3
- package/dist/environment/files.js +2 -2
- package/dist/environment/index.js +90 -90
- package/dist/environment/local.js +3 -3
- package/dist/environment/memory.js +3 -3
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +2 -2
- package/dist/event-logger.js +70 -70
- package/dist/file-mutation.js +89 -89
- package/dist/file.js +2 -2
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +2 -2
- 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.js +111 -111
- package/dist/filesystem/protected.js +2 -2
- package/dist/filesystem/search.js +93 -93
- package/dist/filesystem/watcher-binding.js +2 -2
- package/dist/filesystem/watcher.js +4 -4
- package/dist/filesystem.js +93 -93
- package/dist/form.js +71 -71
- package/dist/formatter/builtins.js +3 -3
- package/dist/formatter.js +113 -113
- package/dist/generate.js +85 -85
- package/dist/git.js +5 -5
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +2 -2
- package/dist/github-copilot/chat/get-response-metadata.js +2 -2
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +2 -2
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +8 -8
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +2 -2
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +2 -2
- package/dist/github-copilot/copilot-provider.js +19 -19
- package/dist/github-copilot/models.js +4 -4
- package/dist/github-copilot/openai-compatible-error.js +2 -2
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +3 -3
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +2 -2
- package/dist/github-copilot/responses/openai-error.js +2 -2
- package/dist/github-copilot/responses/openai-responses-language-model.js +12 -12
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +7 -7
- package/dist/github-copilot/responses/tool/code-interpreter.js +2 -2
- package/dist/github-copilot/responses/tool/file-search.js +2 -2
- package/dist/github-copilot/responses/tool/image-generation.js +2 -2
- package/dist/github-copilot/responses/tool/local-shell.js +2 -2
- package/dist/github-copilot/responses/tool/web-search-preview.js +2 -2
- package/dist/github-copilot/responses/tool/web-search.js +2 -2
- package/dist/id/id.js +2 -2
- package/dist/image/photon-wasm.bun.js +1 -1
- package/dist/image/photon-wasm.node.js +1 -1
- package/dist/image/photon-wasm.workerd.js +1 -1
- package/dist/image/photon.js +124 -124
- package/dist/image.js +124 -124
- package/dist/instruction-discovery.js +74 -74
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +2 -2
- package/dist/integration/connection.js +2 -2
- package/dist/integration.js +77 -77
- package/dist/job.js +4 -4
- package/dist/kv/sql.js +3 -3
- package/dist/kv.js +70 -70
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +319 -313
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +95 -123
- package/dist/mcp/instructions.js +151 -151
- package/dist/mcp/oauth.js +2 -2
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +2 -2
- package/dist/model-resolver.js +83 -83
- package/dist/model.js +3 -3
- package/dist/models-dev.js +77 -77
- package/dist/oauth/page.js +2 -2
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +6 -6
- package/dist/permission.js +101 -101
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +81 -81
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +184 -183
- package/dist/plugin/internal.js +278 -272
- package/dist/plugin/mcp-codemode-exclusion.js +9 -0
- package/dist/plugin/models-dev.js +78 -78
- package/dist/plugin/plan.js +74 -74
- package/dist/plugin/promise.js +2 -2
- package/dist/plugin/provider/alibaba.js +3 -3
- package/dist/plugin/provider/amazon-bedrock.js +3 -3
- package/dist/plugin/provider/anthropic.js +3 -3
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +3 -3
- package/dist/plugin/provider/cloudflare-ai-gateway.js +119 -119
- package/dist/plugin/provider/cloudflare-workers-ai.js +119 -119
- package/dist/plugin/provider/cohere.js +3 -3
- package/dist/plugin/provider/configured.js +116 -116
- package/dist/plugin/provider/deepinfra.js +3 -3
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +2 -2
- package/dist/plugin/provider/gateway.js +3 -3
- package/dist/plugin/provider/github-copilot.js +84 -84
- package/dist/plugin/provider/gitlab.js +4 -4
- package/dist/plugin/provider/google-vertex.js +3 -3
- package/dist/plugin/provider/groq.js +3 -3
- package/dist/plugin/provider/kilo.js +3 -3
- package/dist/plugin/provider/llmgateway.js +79 -79
- package/dist/plugin/provider/lmstudio.js +118 -0
- package/dist/plugin/provider/mistral.js +3 -3
- package/dist/plugin/provider/nvidia.js +3 -3
- package/dist/plugin/provider/ollama.js +118 -0
- package/dist/plugin/provider/openai-compatible.js +2 -2
- package/dist/plugin/provider/openai.js +81 -81
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +4 -4
- package/dist/plugin/provider/perplexity.js +3 -3
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/snowflake-cortex.js +3 -3
- package/dist/plugin/provider/togetherai.js +3 -3
- package/dist/plugin/provider/venice.js +3 -3
- package/dist/plugin/provider/vercel.js +3 -3
- package/dist/plugin/provider/vllm.js +118 -0
- package/dist/plugin/provider/xai.js +79 -79
- package/dist/plugin/provider/zenmux.js +3 -3
- package/dist/plugin/provider.js +157 -154
- package/dist/plugin/runtime.js +175 -174
- package/dist/plugin/sdk.js +71 -71
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/supervisor.js +283 -277
- package/dist/plugin/system-prompt.js +2 -2
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +4 -4
- package/dist/plugin/websearch/firecrawl.js +5 -5
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +3 -3
- package/dist/plugin/websearch/parallel.js +5 -5
- package/dist/plugin/websearch/tavily.js +3 -3
- package/dist/plugin.js +185 -184
- package/dist/project/schema.js +3 -3
- package/dist/project/sql.js +5 -5
- package/dist/project.js +79 -79
- package/dist/provider.js +2 -2
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/pty.bun.js +1 -1
- package/dist/pty/pty.node.js +1 -1
- package/dist/pty/pty.workerd.js +1 -1
- package/dist/pty/schema.js +2 -2
- package/dist/pty/ticket.js +72 -72
- package/dist/pty.js +114 -114
- package/dist/reference/instructions.js +79 -79
- package/dist/reference.js +77 -77
- package/dist/repository-cache.js +7 -7
- package/dist/repository.js +2 -2
- package/dist/ripgrep/binary.js +3 -3
- package/dist/ripgrep.js +91 -91
- package/dist/schema.js +2 -2
- package/dist/session/compaction.js +147 -147
- package/dist/session/context.js +291 -285
- package/dist/session/environment.js +12 -0
- package/dist/session/error.js +4 -4
- package/dist/session/event.js +2 -2
- package/dist/session/execution/restart.js +117 -117
- package/dist/session/execution.js +117 -117
- package/dist/session/generate-node.js +297 -291
- package/dist/session/generate.js +2 -2
- package/dist/session/history.js +79 -79
- package/dist/session/inbox.js +79 -79
- package/dist/session/info.js +89 -89
- package/dist/session/instruction-entry.js +75 -75
- package/dist/session/instruction-state.js +10 -10
- package/dist/session/instructions.js +98 -98
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +2 -2
- package/dist/session/model-headers.js +4 -4
- package/dist/session/model-http.js +4 -4
- package/dist/session/model-request.js +299 -293
- package/dist/session/model-transport.js +4 -4
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt-cache-diagnostics.js +2 -2
- package/dist/session/prompt-cache-key.js +3 -3
- package/dist/session/revert.js +116 -116
- package/dist/session/run-coordinator.js +2 -2
- package/dist/session/runner/index.js +86 -86
- package/dist/session/runner/llm.js +306 -300
- package/dist/session/runner/max-steps.js +2 -2
- package/dist/session/runner/model.js +85 -85
- package/dist/session/runner/publish-llm-event.js +4 -4
- package/dist/session/runner/retry.js +74 -74
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +2 -2
- package/dist/session/sql.js +6 -6
- package/dist/session/store.js +97 -97
- package/dist/session/system-prompt.js +2 -2
- package/dist/session/title.js +114 -114
- package/dist/session/to-session-error.js +112 -112
- package/dist/session/transfer.js +183 -182
- package/dist/session/usage.js +2 -2
- package/dist/session.js +174 -173
- package/dist/shell/parse.js +4 -4
- package/dist/shell/parser-wasm.bun.js +1 -1
- package/dist/shell/parser-wasm.node.js +1 -1
- package/dist/shell/parser-wasm.workerd.js +1 -1
- package/dist/shell/select.js +3 -3
- package/dist/shell.js +125 -123
- package/dist/skill/discovery.js +3 -3
- package/dist/skill/instructions.js +103 -103
- package/dist/skill.js +102 -102
- package/dist/snapshot.js +111 -111
- package/dist/state.js +2 -2
- package/dist/tool/html-markdown.js +2 -2
- package/dist/tool/http-body.js +2 -2
- package/dist/tool/mcp.js +150 -150
- package/dist/tool/plugin/edit.js +141 -141
- package/dist/tool/plugin/file-diff.js +2 -2
- package/dist/tool/plugin/glob.js +113 -113
- package/dist/tool/plugin/grep.js +113 -113
- package/dist/tool/plugin/patch.js +141 -141
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +116 -116
- package/dist/tool/plugin/shell.js +179 -178
- package/dist/tool/plugin/skill.js +103 -103
- package/dist/tool/plugin/subagent.js +176 -175
- package/dist/tool/plugin/webfetch.js +104 -104
- package/dist/tool/plugin/websearch.js +132 -132
- package/dist/tool/plugin/write.js +141 -141
- package/dist/tool/read-filesystem.js +95 -95
- package/dist/tool/runtime.js +2 -2
- package/dist/tool-output.js +112 -112
- package/dist/tool.js +145 -145
- package/dist/types/command.d.ts +1 -1
- package/dist/types/config/plugin/mcp.d.ts +8 -0
- package/dist/types/location-service-map.d.ts +2 -2
- package/dist/types/location-services.d.ts +1 -1
- package/dist/types/mcp/index.d.ts +12 -6
- package/dist/types/plugin/host.d.ts +14 -1
- package/dist/types/plugin/internal.d.ts +4 -3
- package/dist/types/plugin/mcp-codemode-exclusion.d.ts +2 -0
- package/dist/types/plugin/provider/lmstudio.d.ts +5 -0
- package/dist/types/plugin/provider/ollama.d.ts +5 -0
- package/dist/types/plugin/provider/vllm.d.ts +5 -0
- package/dist/types/plugin/runtime.d.ts +13 -1
- package/dist/types/plugin/supervisor.d.ts +1 -1
- package/dist/types/plugin/websearch/mcp.d.ts +1 -1
- package/dist/types/schema.d.ts +1 -1
- package/dist/types/session/environment.d.ts +13 -0
- package/dist/types/session.d.ts +5 -0
- package/dist/types/shell.d.ts +2 -1
- package/dist/types/tool/plugin/shell.d.ts +1 -1
- package/dist/types/tool/plugin/subagent.d.ts +4 -0
- package/dist/types/v1/config/migrate.d.ts +9 -9
- package/dist/util/array.js +1 -1
- package/dist/util/binary.js +1 -1
- package/dist/util/encode.js +1 -1
- package/dist/util/error.js +2 -2
- package/dist/util/identifier.js +1 -1
- package/dist/util/iife.js +2 -2
- package/dist/util/lazy.js +2 -2
- package/dist/util/path.js +1 -1
- package/dist/util/process-lock-ffi.bun.js +1 -1
- package/dist/util/process-lock-ffi.node.js +1 -1
- package/dist/util/process-lock-ffi.workerd.js +1 -1
- package/dist/util/process-lock.js +3 -3
- package/dist/util/retry.js +1 -1
- package/dist/util/slug.js +2 -2
- package/dist/util/token.js +2 -2
- package/dist/util/which.js +2 -2
- package/dist/util/wildcard.js +2 -2
- package/dist/v1/config/agent.js +4 -4
- package/dist/v1/config/attachment.js +3 -3
- package/dist/v1/config/command.js +2 -2
- package/dist/v1/config/config.js +15 -15
- package/dist/v1/config/error.js +3 -3
- package/dist/v1/config/formatter.js +2 -2
- package/dist/v1/config/layout.js +2 -2
- package/dist/v1/config/lsp.js +2 -2
- package/dist/v1/config/mcp.js +3 -3
- package/dist/v1/config/migrate.js +19 -19
- package/dist/v1/config/permission.js +2 -2
- package/dist/v1/config/plugin.js +2 -2
- package/dist/v1/config/provider-options.js +2 -2
- package/dist/v1/config/provider.js +3 -3
- package/dist/v1/config/server.js +3 -3
- package/dist/v1/config/skills.js +2 -2
- package/dist/v1/permission.js +5 -5
- package/dist/vcs/git.js +3 -3
- package/dist/vcs/hg.js +3 -3
- package/dist/vcs/patch.js +2 -2
- package/dist/vcs.js +84 -84
- package/dist/websearch.js +72 -72
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +74 -74
- package/dist/workspace/driver.js +2 -2
- package/dist/workspace/sql.js +2 -2
- package/dist/workspace.js +71 -71
- package/dist/worktree/directory.js +3 -3
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/sql.js +6 -6
- package/dist/worktree.js +84 -84
- package/package.json +11 -11
- /package/dist/chunks/{worktree-0cgt0xh2.js → file-0cgt0xh2.js} +0 -0
- /package/dist/chunks/{worktree-0f48qthw.js → file-0f48qthw.js} +0 -0
- /package/dist/chunks/{worktree-0zz82cjq.js → file-0zz82cjq.js} +0 -0
- /package/dist/chunks/{worktree-1fb7bmpf.js → file-1fb7bmpf.js} +0 -0
- /package/dist/chunks/{worktree-1wcz8fvj.js → file-1wcz8fvj.js} +0 -0
- /package/dist/chunks/{worktree-2qdx6zz3.js → file-2qdx6zz3.js} +0 -0
- /package/dist/chunks/{worktree-3c4nztf9.js → file-3c4nztf9.js} +0 -0
- /package/dist/chunks/{worktree-3g3rpp2x.js → file-3g3rpp2x.js} +0 -0
- /package/dist/chunks/{worktree-3q6gbwmd.js → file-3q6gbwmd.js} +0 -0
- /package/dist/chunks/{worktree-3w3ybtfd.js → file-3w3ybtfd.js} +0 -0
- /package/dist/chunks/{worktree-47ty4mvs.js → file-47ty4mvs.js} +0 -0
- /package/dist/chunks/{worktree-4b2tz2m9.js → file-4b2tz2m9.js} +0 -0
- /package/dist/chunks/{worktree-4zg0gww9.js → file-4zg0gww9.js} +0 -0
- /package/dist/chunks/{worktree-5a5ch9ts.js → file-5a5ch9ts.js} +0 -0
- /package/dist/chunks/{worktree-5va1yh78.js → file-5va1yh78.js} +0 -0
- /package/dist/chunks/{worktree-69qrqpw0.js → file-69qrqpw0.js} +0 -0
- /package/dist/chunks/{worktree-6yt963b8.js → file-6yt963b8.js} +0 -0
- /package/dist/chunks/{worktree-7n9qwqk4.js → file-7n9qwqk4.js} +0 -0
- /package/dist/chunks/{worktree-8nn8kqcn.js → file-8nn8kqcn.js} +0 -0
- /package/dist/chunks/{worktree-8sj3ajy5.js → file-8sj3ajy5.js} +0 -0
- /package/dist/chunks/{worktree-8w9tzfz1.js → file-8w9tzfz1.js} +0 -0
- /package/dist/chunks/{worktree-906y0b6d.js → file-906y0b6d.js} +0 -0
- /package/dist/chunks/{worktree-9dct5xhx.js → file-9dct5xhx.js} +0 -0
- /package/dist/chunks/{worktree-9sdtsapf.js → file-9sdtsapf.js} +0 -0
- /package/dist/chunks/{worktree-a02svayp.js → file-a02svayp.js} +0 -0
- /package/dist/chunks/{worktree-a83yvq99.js → file-a83yvq99.js} +0 -0
- /package/dist/chunks/{worktree-ayevdmef.js → file-ayevdmef.js} +0 -0
- /package/dist/chunks/{worktree-b02txbh8.js → file-b02txbh8.js} +0 -0
- /package/dist/chunks/{worktree-bbqs2y60.js → file-bbqs2y60.js} +0 -0
- /package/dist/chunks/{worktree-brsh5f65.js → file-brsh5f65.js} +0 -0
- /package/dist/chunks/{worktree-bxdhjb3y.js → file-bxdhjb3y.js} +0 -0
- /package/dist/chunks/{worktree-c77ad0vh.js → file-c77ad0vh.js} +0 -0
- /package/dist/chunks/{worktree-cm67rqy2.js → file-cm67rqy2.js} +0 -0
- /package/dist/chunks/{worktree-d6s8p2vk.js → file-d6s8p2vk.js} +0 -0
- /package/dist/chunks/{worktree-dbah77c1.js → file-dbah77c1.js} +0 -0
- /package/dist/chunks/{worktree-df3v2q6j.js → file-df3v2q6j.js} +0 -0
- /package/dist/chunks/{worktree-dhcq6c44.js → file-dhcq6c44.js} +0 -0
- /package/dist/chunks/{worktree-dht5baf0.js → file-dht5baf0.js} +0 -0
- /package/dist/chunks/{worktree-dkmkay92.js → file-dkmkay92.js} +0 -0
- /package/dist/chunks/{worktree-ecxv0vtt.js → file-ecxv0vtt.js} +0 -0
- /package/dist/chunks/{worktree-ehj9csmv.js → file-ehj9csmv.js} +0 -0
- /package/dist/chunks/{worktree-em6xpscd.js → file-em6xpscd.js} +0 -0
- /package/dist/chunks/{worktree-emmqknsm.js → file-emmqknsm.js} +0 -0
- /package/dist/chunks/{worktree-ezs3tagn.js → file-ezs3tagn.js} +0 -0
- /package/dist/chunks/{worktree-f4cp4g4a.js → file-f4cp4g4a.js} +0 -0
- /package/dist/chunks/{worktree-f84sxdqn.js → file-f84sxdqn.js} +0 -0
- /package/dist/chunks/{worktree-faypg4r1.js → file-faypg4r1.js} +0 -0
- /package/dist/chunks/{worktree-g7k9te92.js → file-g7k9te92.js} +0 -0
- /package/dist/chunks/{worktree-gd5xeqc2.js → file-gd5xeqc2.js} +0 -0
- /package/dist/chunks/{worktree-ghm4673n.js → file-ghm4673n.js} +0 -0
- /package/dist/chunks/{worktree-ghwjy7my.js → file-ghwjy7my.js} +0 -0
- /package/dist/chunks/{worktree-gy500k2r.js → file-gy500k2r.js} +0 -0
- /package/dist/chunks/{worktree-hzeg9cfr.js → file-hzeg9cfr.js} +0 -0
- /package/dist/chunks/{worktree-j07kk359.js → file-j07kk359.js} +0 -0
- /package/dist/chunks/{worktree-jve7t217.js → file-jve7t217.js} +0 -0
- /package/dist/chunks/{worktree-kpdbz7gn.js → file-kpdbz7gn.js} +0 -0
- /package/dist/chunks/{worktree-kxy11nzk.js → file-kxy11nzk.js} +0 -0
- /package/dist/chunks/{worktree-kyyqvx4s.js → file-kyyqvx4s.js} +0 -0
- /package/dist/chunks/{worktree-m8cbvarh.js → file-m8cbvarh.js} +0 -0
- /package/dist/chunks/{worktree-ma07p6tt.js → file-ma07p6tt.js} +0 -0
- /package/dist/chunks/{worktree-ma60vzgv.js → file-ma60vzgv.js} +0 -0
- /package/dist/chunks/{worktree-n3m50c2t.js → file-n3m50c2t.js} +0 -0
- /package/dist/chunks/{worktree-nkm1m8dz.js → file-nkm1m8dz.js} +0 -0
- /package/dist/chunks/{worktree-nsc0c3zb.js → file-nsc0c3zb.js} +0 -0
- /package/dist/chunks/{worktree-qaarhjrp.js → file-qaarhjrp.js} +0 -0
- /package/dist/chunks/{worktree-qc167nrn.js → file-qc167nrn.js} +0 -0
- /package/dist/chunks/{worktree-qp95y4jb.js → file-qp95y4jb.js} +0 -0
- /package/dist/chunks/{worktree-r8f4w671.js → file-r8f4w671.js} +0 -0
- /package/dist/chunks/{worktree-rdfev9jy.js → file-rdfev9jy.js} +0 -0
- /package/dist/chunks/{worktree-rvfvac9x.js → file-rvfvac9x.js} +0 -0
- /package/dist/chunks/{worktree-s7whb9gt.js → file-s7whb9gt.js} +0 -0
- /package/dist/chunks/{worktree-se76j685.js → file-se76j685.js} +0 -0
- /package/dist/chunks/{worktree-sem2g21k.js → file-sem2g21k.js} +0 -0
- /package/dist/chunks/{worktree-tmb1f636.js → file-tmb1f636.js} +0 -0
- /package/dist/chunks/{worktree-ttxf0gsy.js → file-ttxf0gsy.js} +0 -0
- /package/dist/chunks/{worktree-tvmhrvfj.js → file-tvmhrvfj.js} +0 -0
- /package/dist/chunks/{worktree-v2adqbbe.js → file-v2adqbbe.js} +0 -0
- /package/dist/chunks/{worktree-wj4sxzqa.js → file-wj4sxzqa.js} +0 -0
- /package/dist/chunks/{worktree-wwntjmk1.js → file-wwntjmk1.js} +0 -0
- /package/dist/chunks/{worktree-wyqjaaa5.js → file-wyqjaaa5.js} +0 -0
- /package/dist/chunks/{worktree-x4q807cx.js → file-x4q807cx.js} +0 -0
- /package/dist/chunks/{worktree-xhz3jyrc.js → file-xhz3jyrc.js} +0 -0
- /package/dist/chunks/{worktree-yrqrg4vp.js → file-yrqrg4vp.js} +0 -0
- /package/dist/chunks/{worktree-z47nswr2.js → file-z47nswr2.js} +0 -0
- /package/dist/chunks/{worktree-zsf8rs93.js → file-zsf8rs93.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
load
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-dkmkay92.js";
|
|
4
4
|
import {
|
|
5
5
|
lazy
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-8w9tzfz1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-rvfvac9x.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import {
|
|
2
|
-
WorktreeTable
|
|
3
|
-
} from "./worktree-mh28new4.js";
|
|
4
1
|
import {
|
|
5
2
|
exports_schema
|
|
6
|
-
} from "./
|
|
3
|
+
} from "./file-8v47shgf.js";
|
|
4
|
+
import {
|
|
5
|
+
WorktreeTable
|
|
6
|
+
} from "./file-mh28new4.js";
|
|
7
7
|
import {
|
|
8
8
|
ProjectTable,
|
|
9
9
|
upsertProject
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-88jbfw8z.js";
|
|
11
11
|
import {
|
|
12
12
|
exports_git
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-zjvgdt9p.js";
|
|
14
|
+
import {
|
|
15
|
+
AbsolutePath
|
|
16
|
+
} from "./file-j07kk359.js";
|
|
14
17
|
import {
|
|
15
18
|
exports_bus
|
|
16
|
-
} from "./
|
|
19
|
+
} from "./file-ywrrwgdd.js";
|
|
17
20
|
import {
|
|
18
21
|
exports_database
|
|
19
|
-
} from "./
|
|
20
|
-
import {
|
|
21
|
-
AbsolutePath
|
|
22
|
-
} from "./worktree-j07kk359.js";
|
|
22
|
+
} from "./file-4223r8y8.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./file-rvfvac9x.js";
|
|
26
26
|
|
|
27
27
|
// src/project.ts
|
|
28
28
|
var exports_project = {};
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
Failed,
|
|
3
3
|
NotFound,
|
|
4
4
|
WrongKind
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-xczfw7dq.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-rvfvac9x.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
EventSequenceTable,
|
|
3
3
|
EventTable
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
exports_keyed_mutex
|
|
7
|
-
} from "./worktree-0kvmztkf.js";
|
|
4
|
+
} from "./file-zsf8rs93.js";
|
|
8
5
|
import {
|
|
9
6
|
exports_database
|
|
10
|
-
} from "./
|
|
7
|
+
} from "./file-4223r8y8.js";
|
|
8
|
+
import {
|
|
9
|
+
exports_keyed_mutex
|
|
10
|
+
} from "./file-0kvmztkf.js";
|
|
11
11
|
import {
|
|
12
12
|
__export,
|
|
13
13
|
__require
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-rvfvac9x.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
@@ -45,7 +45,7 @@ var reserveSequence = Effect.fn("Bus.reserveSequence")(function* (db, aggregateI
|
|
|
45
45
|
}).run().pipe(Effect.orDie);
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
class InvalidDurableEventError extends Schema.
|
|
48
|
+
class InvalidDurableEventError extends Schema.TaggedError()("Bus.InvalidDurableEvent", {
|
|
49
49
|
type: Schema.String,
|
|
50
50
|
message: Schema.String
|
|
51
51
|
}) {
|
|
@@ -1,21 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_session
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-vwqhfv9a.js";
|
|
4
|
+
import {
|
|
5
|
+
exports_location_service_map
|
|
6
|
+
} from "./file-zdkg1k91.js";
|
|
4
7
|
import {
|
|
5
8
|
exports_job
|
|
6
|
-
} from "./
|
|
9
|
+
} from "./file-gpee7ppy.js";
|
|
7
10
|
import {
|
|
8
11
|
exports_agent
|
|
9
|
-
} from "./
|
|
12
|
+
} from "./file-06h1zy40.js";
|
|
10
13
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
14
|
+
exports_mcp
|
|
15
|
+
} from "./file-edvtf4tx.js";
|
|
13
16
|
import {
|
|
14
17
|
exports_location
|
|
15
|
-
} from "./
|
|
18
|
+
} from "./file-v0ktexvy.js";
|
|
16
19
|
import {
|
|
17
20
|
__export
|
|
18
|
-
} from "./
|
|
21
|
+
} from "./file-rvfvac9x.js";
|
|
19
22
|
|
|
20
23
|
// src/plugin/runtime.ts
|
|
21
24
|
var exports_runtime = {};
|
|
@@ -53,6 +56,8 @@ var layerWithCell = (cell) => Layer.succeed(Service, Service.of({
|
|
|
53
56
|
command: (input) => require2(cell, (runtime) => runtime.session.command(input)),
|
|
54
57
|
rename: (input) => require2(cell, (runtime) => runtime.session.rename(input)),
|
|
55
58
|
resume: (sessionID) => require2(cell, (runtime) => runtime.session.resume(sessionID)),
|
|
59
|
+
switchAgent: (input) => require2(cell, (runtime) => runtime.session.switchAgent(input)),
|
|
60
|
+
switchModel: (input) => require2(cell, (runtime) => runtime.session.switchModel(input)),
|
|
56
61
|
interrupt: (sessionID) => require2(cell, (runtime) => runtime.session.interrupt(sessionID)),
|
|
57
62
|
synthetic: (input) => require2(cell, (runtime) => runtime.session.synthetic(input)),
|
|
58
63
|
wait: (sessionID) => require2(cell, (runtime) => runtime.session.wait(sessionID))
|
|
@@ -67,6 +72,13 @@ var layerWithCell = (cell) => Layer.succeed(Service, Service.of({
|
|
|
67
72
|
location: {
|
|
68
73
|
agent: {
|
|
69
74
|
list: (ref) => require2(cell, (runtime) => runtime.location.agent.list(ref))
|
|
75
|
+
},
|
|
76
|
+
mcp: {
|
|
77
|
+
list: (ref) => require2(cell, (runtime) => runtime.location.mcp.list(ref)),
|
|
78
|
+
add: (ref, server, config) => require2(cell, (runtime) => runtime.location.mcp.add(ref, server, config)),
|
|
79
|
+
remove: (ref, server) => require2(cell, (runtime) => runtime.location.mcp.remove(ref, server)),
|
|
80
|
+
connect: (ref, server) => require2(cell, (runtime) => runtime.location.mcp.connect(ref, server)),
|
|
81
|
+
disconnect: (ref, server) => require2(cell, (runtime) => runtime.location.mcp.disconnect(ref, server))
|
|
70
82
|
}
|
|
71
83
|
}
|
|
72
84
|
}));
|
|
@@ -91,6 +103,24 @@ var providerLayerWithCell = (cell) => Layer.effectDiscard(Effect.gen(function* (
|
|
|
91
103
|
data: yield* agents.list()
|
|
92
104
|
};
|
|
93
105
|
}).pipe(Effect.provide(locations.get(ref)), Effect.orDie)
|
|
106
|
+
},
|
|
107
|
+
mcp: {
|
|
108
|
+
list: (ref) => Effect.gen(function* () {
|
|
109
|
+
const location = yield* exports_location.Service;
|
|
110
|
+
const mcp = yield* exports_mcp.Service;
|
|
111
|
+
return {
|
|
112
|
+
location: new exports_location.Info({
|
|
113
|
+
directory: location.directory,
|
|
114
|
+
workspaceID: location.workspaceID,
|
|
115
|
+
project: location.project
|
|
116
|
+
}),
|
|
117
|
+
data: yield* mcp.servers()
|
|
118
|
+
};
|
|
119
|
+
}).pipe(Effect.provide(locations.get(ref))),
|
|
120
|
+
add: (ref, server, config) => exports_mcp.Service.use((mcp) => mcp.add(server, config)).pipe(Effect.provide(locations.get(ref))),
|
|
121
|
+
remove: (ref, server) => exports_mcp.Service.use((mcp) => mcp.remove(server)).pipe(Effect.provide(locations.get(ref))),
|
|
122
|
+
connect: (ref, server) => exports_mcp.Service.use((mcp) => mcp.connect(server)).pipe(Effect.provide(locations.get(ref))),
|
|
123
|
+
disconnect: (ref, server) => exports_mcp.Service.use((mcp) => mcp.disconnect(server)).pipe(Effect.provide(locations.get(ref)))
|
|
94
124
|
}
|
|
95
125
|
}
|
|
96
126
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_model
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-1px4xhxb.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_provider
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-8twz6z1z.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/openrouter.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
getViewSelectedFieldsRuntime,
|
|
5
5
|
mapUpdateSet,
|
|
6
6
|
orderSelectedFields
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-ma07p6tt.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_runtime
|
|
3
|
-
} from "./
|
|
4
|
-
import {
|
|
5
|
-
exports_config
|
|
6
|
-
} from "./worktree-6ehwq28g.js";
|
|
3
|
+
} from "./file-yy9aw35r.js";
|
|
7
4
|
import {
|
|
8
5
|
exports_permission
|
|
9
|
-
} from "./
|
|
6
|
+
} from "./file-027bgpms.js";
|
|
10
7
|
import {
|
|
11
8
|
exports_schema
|
|
12
|
-
} from "./
|
|
9
|
+
} from "./file-y8rs54ne.js";
|
|
13
10
|
import {
|
|
14
11
|
exports_agent
|
|
15
|
-
} from "./
|
|
12
|
+
} from "./file-06h1zy40.js";
|
|
13
|
+
import {
|
|
14
|
+
exports_config
|
|
15
|
+
} from "./file-tgkwq7ey.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-rvfvac9x.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/plugin/subagent.ts
|
|
21
21
|
var exports_subagent = {};
|
|
@@ -32,7 +32,7 @@ import { Effect, Schema, Scope } from "effect";
|
|
|
32
32
|
var name = "subagent";
|
|
33
33
|
var NO_TEXT = "Subagent completed without a text response.";
|
|
34
34
|
var backgroundStarted = (sessionID) => [
|
|
35
|
-
`The subagent is working in the background (
|
|
35
|
+
`The subagent is working in the background (sessionID: ${sessionID}). You will be notified automatically when it finishes.`,
|
|
36
36
|
"DO NOT sleep, poll for progress, ask the subagent for status, or duplicate this subagent's work; avoid working with the same files or topics it is using.",
|
|
37
37
|
"Work on non-overlapping tasks, or briefly tell the user what you launched and end your response."
|
|
38
38
|
].join(`
|
|
@@ -41,6 +41,9 @@ var Input = Schema.Struct({
|
|
|
41
41
|
agent: Schema.String.annotate({ description: "The type of specialized agent to use for this task" }),
|
|
42
42
|
description: Schema.String.annotate({ description: "A short 3-5 word label for the task, displayed to the user" }),
|
|
43
43
|
prompt: Schema.String.annotate({ description: "The task for the subagent to perform" }),
|
|
44
|
+
sessionID: Schema.optionalKey(exports_schema.ID).annotate({
|
|
45
|
+
description: "Continue a specific previous subagent conversation by passing its sessionID. Calls without a sessionID start a new conversation."
|
|
46
|
+
}),
|
|
44
47
|
background: Schema.optionalKey(Schema.Boolean).annotate({
|
|
45
48
|
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."
|
|
46
49
|
})
|
|
@@ -52,7 +55,8 @@ var Output = Schema.Struct({
|
|
|
52
55
|
});
|
|
53
56
|
var description = [
|
|
54
57
|
"Spawns an agent in a child session to work on the specified task.",
|
|
55
|
-
"
|
|
58
|
+
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
59
|
+
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
56
60
|
"Foreground (default) runs the subagent to completion and returns its final response.",
|
|
57
61
|
"Background mode (background=true) launches it asynchronously and returns immediately; you are notified when it finishes.",
|
|
58
62
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
@@ -66,6 +70,7 @@ var Plugin = {
|
|
|
66
70
|
const config = yield* exports_config.Service;
|
|
67
71
|
const permission = yield* exports_permission.Service;
|
|
68
72
|
const scope = yield* Scope.Scope;
|
|
73
|
+
const notifications = new Set;
|
|
69
74
|
const latestAssistantText = Effect.fn("SubagentTool.latestAssistantText")(function* (sessionID) {
|
|
70
75
|
const messages = yield* runtime.session.messages({ sessionID, order: "desc", limit: 20 });
|
|
71
76
|
const assistant = messages.find((message) => message.type === "assistant" && message.time.completed !== undefined && message.error === undefined);
|
|
@@ -77,14 +82,18 @@ var Plugin = {
|
|
|
77
82
|
const injectCompletion = Effect.fn("SubagentTool.injectCompletion")(function* (parentID, childID, agent, description2, state, text) {
|
|
78
83
|
yield* runtime.session.synthetic({
|
|
79
84
|
sessionID: parentID,
|
|
80
|
-
text: `<subagent
|
|
85
|
+
text: `<subagent sessionID="${childID}" state="${state}" description="${description2}">
|
|
81
86
|
${text}
|
|
82
87
|
</subagent>`,
|
|
83
88
|
description: description2,
|
|
84
89
|
metadata: { source: "subagent", childID, agent, state }
|
|
85
90
|
});
|
|
86
91
|
});
|
|
87
|
-
const notifyWhenDone = Effect.fn("SubagentTool.notifyWhenDone")(function* (parentID, childID, agent, description2) {
|
|
92
|
+
const notifyWhenDone = Effect.fn("SubagentTool.notifyWhenDone")(function* (parentID, childID, agent, description2, startedAt) {
|
|
93
|
+
const key = `${childID}:${startedAt}`;
|
|
94
|
+
if (notifications.has(key))
|
|
95
|
+
return;
|
|
96
|
+
notifications.add(key);
|
|
88
97
|
yield* runtime.job.wait({ id: childID }).pipe(Effect.flatMap((result) => {
|
|
89
98
|
if (result.info?.status === "completed")
|
|
90
99
|
return injectCompletion(parentID, childID, agent, description2, "completed", result.info.output ?? NO_TEXT);
|
|
@@ -93,7 +102,7 @@ ${text}
|
|
|
93
102
|
if (result.info?.status === "cancelled")
|
|
94
103
|
return injectCompletion(parentID, childID, agent, description2, "cancelled", "Subagent cancelled");
|
|
95
104
|
return Effect.void;
|
|
96
|
-
}), Effect.forkIn(scope, { startImmediately: true }));
|
|
105
|
+
}), Effect.ensuring(Effect.sync(() => notifications.delete(key))), Effect.forkIn(scope, { startImmediately: true }));
|
|
97
106
|
});
|
|
98
107
|
yield* ctx.tool.transform((draft) => draft.add({
|
|
99
108
|
name,
|
|
@@ -131,22 +140,29 @@ ${text}
|
|
|
131
140
|
id: context.id
|
|
132
141
|
}
|
|
133
142
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Subagent denied: ${agent.id}`, error })));
|
|
143
|
+
const existing = input.sessionID === undefined ? undefined : yield* runtime.session.get(input.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Subagent session not found: ${input.sessionID}`, error })));
|
|
144
|
+
if (existing !== undefined && existing.parentID !== context.sessionID)
|
|
145
|
+
return yield* new ToolFailure({
|
|
146
|
+
message: `Session ${existing.id} is not a child of the current session`
|
|
147
|
+
});
|
|
148
|
+
if (existing !== undefined && existing.agent !== agent.id) {
|
|
149
|
+
yield* runtime.session.switchAgent({ sessionID: existing.id, agent: agent.id }).pipe(Effect.andThen(agent.model === undefined ? Effect.void : runtime.session.switchModel({ sessionID: existing.id, model: agent.model })), Effect.mapError((error) => new ToolFailure({ message: `Failed to switch subagent session agent: ${existing.id}`, error })));
|
|
150
|
+
}
|
|
134
151
|
const model = agent.model ?? parent.model;
|
|
135
|
-
const child = yield* runtime.session.create({
|
|
152
|
+
const child = existing ?? (yield* runtime.session.create({
|
|
136
153
|
parentID: context.sessionID,
|
|
137
154
|
title: input.description,
|
|
138
155
|
agent: exports_agent.ID.make(input.agent),
|
|
139
156
|
model
|
|
140
|
-
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
157
|
+
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
141
158
|
const background = input.background === true;
|
|
142
159
|
yield* context.progress({ sessionID: child.id, status: "running" });
|
|
160
|
+
yield* runtime.session.prompt({
|
|
161
|
+
sessionID: child.id,
|
|
162
|
+
text: existing === undefined ? ["You are a subagent spawned by another session.", input.prompt].join(`
|
|
163
|
+
`) : input.prompt
|
|
164
|
+
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Failed to prompt subagent: ${child.id}`, error })));
|
|
143
165
|
const run = Effect.gen(function* () {
|
|
144
|
-
yield* runtime.session.prompt({
|
|
145
|
-
sessionID: child.id,
|
|
146
|
-
text: ["You are a subagent spawned by another session.", input.prompt].join(`
|
|
147
|
-
`),
|
|
148
|
-
resume: false
|
|
149
|
-
});
|
|
150
166
|
yield* runtime.session.resume(child.id);
|
|
151
167
|
return yield* latestAssistantText(child.id);
|
|
152
168
|
}).pipe(Effect.onInterrupt(() => runtime.session.interrupt(child.id)));
|
|
@@ -159,7 +175,7 @@ ${text}
|
|
|
159
175
|
});
|
|
160
176
|
if (background) {
|
|
161
177
|
yield* runtime.job.background(info.id);
|
|
162
|
-
yield* notifyWhenDone(context.sessionID, child.id, agent.name, input.description);
|
|
178
|
+
yield* notifyWhenDone(context.sessionID, child.id, agent.name, input.description, info.started_at);
|
|
163
179
|
return {
|
|
164
180
|
sessionID: child.id,
|
|
165
181
|
status: "running",
|
|
@@ -170,7 +186,7 @@ ${text}
|
|
|
170
186
|
discard: true
|
|
171
187
|
})));
|
|
172
188
|
if (result?.type === "backgrounded") {
|
|
173
|
-
yield* notifyWhenDone(context.sessionID, child.id, agent.name, input.description);
|
|
189
|
+
yield* notifyWhenDone(context.sessionID, child.id, agent.name, input.description, result.info.started_at);
|
|
174
190
|
return {
|
|
175
191
|
sessionID: child.id,
|
|
176
192
|
status: "running",
|
|
@@ -178,13 +194,17 @@ ${text}
|
|
|
178
194
|
};
|
|
179
195
|
}
|
|
180
196
|
if (result?.info.status === "error")
|
|
181
|
-
return yield* new ToolFailure({
|
|
197
|
+
return yield* new ToolFailure({
|
|
198
|
+
message: `Subagent failed (sessionID: ${child.id}): ${result.info.error ?? "unknown error"}`
|
|
199
|
+
});
|
|
182
200
|
if (result?.info.status === "cancelled")
|
|
183
|
-
return yield* new ToolFailure({ message:
|
|
201
|
+
return yield* new ToolFailure({ message: `Subagent cancelled (sessionID: ${child.id})` });
|
|
184
202
|
return { sessionID: child.id, status: "completed", output: result?.info.output ?? NO_TEXT };
|
|
185
203
|
}).pipe(Effect.map((output) => ({
|
|
186
204
|
output,
|
|
187
|
-
content: output.output
|
|
205
|
+
content: output.status === "completed" ? `<subagent sessionID="${output.sessionID}" state="completed">
|
|
206
|
+
${output.output}
|
|
207
|
+
</subagent>` : output.output,
|
|
188
208
|
metadata: { sessionID: output.sessionID, status: output.status }
|
|
189
209
|
})))
|
|
190
210
|
})).pipe(Effect.orDie);
|
|
@@ -3,18 +3,18 @@ import {
|
|
|
3
3
|
EffectSQLiteDatabase,
|
|
4
4
|
make,
|
|
5
5
|
makeWithDefaults
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-1yz6p2jq.js";
|
|
7
7
|
import {
|
|
8
8
|
EffectSQLiteSession,
|
|
9
9
|
EffectSQLiteTransaction,
|
|
10
10
|
managesTransactionsNatively
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-6y00qkx7.js";
|
|
12
12
|
import {
|
|
13
13
|
migrate
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-vm3prpn4.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-rvfvac9x.js";
|
|
18
18
|
|
|
19
19
|
// src/database/drizzle/index.ts
|
|
20
20
|
var exports_drizzle = {};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
SessionEvent
|
|
3
|
+
} from "./file-a83yvq99.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionInboxTable,
|
|
6
6
|
SessionMessageTable
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-9d2xhdr4.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
exports_message
|
|
10
|
+
} from "./file-25pxtba7.js";
|
|
11
11
|
import {
|
|
12
12
|
exports_schema
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-y8rs54ne.js";
|
|
14
14
|
import {
|
|
15
15
|
exports_keyed_mutex
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-0kvmztkf.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-rvfvac9x.js";
|
|
20
20
|
|
|
21
21
|
// src/session/inbox.ts
|
|
22
22
|
var exports_inbox = {};
|
|
@@ -81,7 +81,7 @@ var decodeMessage = Schema.decodeUnknownSync(exports_message.Info);
|
|
|
81
81
|
var inboxLocks = exports_keyed_mutex.makeUnsafe();
|
|
82
82
|
var serialized = (sessionID, effect) => inboxLocks.withLock(sessionID)(effect);
|
|
83
83
|
|
|
84
|
-
class LifecycleConflict extends Schema.
|
|
84
|
+
class LifecycleConflict extends Schema.TaggedError()("SessionInbox.LifecycleConflict", {
|
|
85
85
|
id: exports_message.ID
|
|
86
86
|
}) {
|
|
87
87
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
exports_keyed_mutex
|
|
3
|
-
} from "./worktree-0kvmztkf.js";
|
|
4
1
|
import {
|
|
5
2
|
AbsolutePath,
|
|
6
3
|
RelativePath
|
|
7
|
-
} from "./
|
|
4
|
+
} from "./file-j07kk359.js";
|
|
5
|
+
import {
|
|
6
|
+
exports_keyed_mutex
|
|
7
|
+
} from "./file-0kvmztkf.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-rvfvac9x.js";
|
|
11
11
|
|
|
12
12
|
// src/git.ts
|
|
13
13
|
var exports_git = {};
|
|
@@ -51,7 +51,7 @@ var snapshotConfig = `[core]
|
|
|
51
51
|
`;
|
|
52
52
|
var TreeID = Schema.String.pipe(Schema.brand("Git.TreeID"));
|
|
53
53
|
|
|
54
|
-
class OperationError extends Schema.
|
|
54
|
+
class OperationError extends Schema.TaggedError()("Git.OperationError", {
|
|
55
55
|
operation: Schema.Literals([
|
|
56
56
|
"clone",
|
|
57
57
|
"fetch",
|
|
@@ -76,7 +76,7 @@ class Worktree extends Schema.Class("Git.Worktree")({
|
|
|
76
76
|
}) {
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
-
class WorktreeError extends Schema.
|
|
79
|
+
class WorktreeError extends Schema.TaggedError()("Git.WorktreeError", {
|
|
80
80
|
operation: Schema.Literals(["create", "remove", "list"]),
|
|
81
81
|
message: Schema.String,
|
|
82
82
|
directory: Schema.optional(AbsolutePath),
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
iife
|
|
3
|
-
} from "./worktree-ehj9csmv.js";
|
|
4
1
|
import {
|
|
5
2
|
configuredSettings
|
|
6
|
-
} from "./
|
|
3
|
+
} from "./file-s6e3c6h1.js";
|
|
4
|
+
import {
|
|
5
|
+
iife
|
|
6
|
+
} from "./file-ehj9csmv.js";
|
|
7
7
|
import {
|
|
8
8
|
exports_app
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-50jxp3hw.js";
|
|
10
10
|
import {
|
|
11
11
|
exports_provider
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-8twz6z1z.js";
|
|
13
13
|
import {
|
|
14
14
|
__require
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-rvfvac9x.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
18
18
|
import os from "os";
|
|
@@ -87,7 +87,7 @@ var CloudflareAIGatewayPlugin = define({
|
|
|
87
87
|
}));
|
|
88
88
|
})
|
|
89
89
|
});
|
|
90
|
-
var decodeJson = Schema.decodeUnknownOption(Schema.
|
|
90
|
+
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
91
91
|
function gatewayConfig(options) {
|
|
92
92
|
const accountId = process.env.CLOUDFLARE_ACCOUNT_ID ?? stringOption(options, "accountId");
|
|
93
93
|
const gatewayId = process.env.CLOUDFLARE_GATEWAY_ID ?? stringOption(options, "gatewayId") ?? stringOption(options, "gateway");
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_config
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-tgkwq7ey.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_provider
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-8twz6z1z.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-rvfvac9x.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/provider.ts
|
|
12
12
|
var exports_provider2 = {};
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
Failed,
|
|
3
3
|
NotFound,
|
|
4
4
|
WrongKind
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-xczfw7dq.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-rvfvac9x.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PermissionTable
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-nesb2rcz.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_project
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-yb1hpdkr.js";
|
|
7
7
|
import {
|
|
8
8
|
exports_database
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-4223r8y8.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-rvfvac9x.js";
|
|
13
13
|
|
|
14
14
|
// src/permission/saved.ts
|
|
15
15
|
var exports_saved = {};
|
package/dist/codemode/catalog.js
CHANGED
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
make,
|
|
4
4
|
render,
|
|
5
5
|
update
|
|
6
|
-
} from "../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
9
|
-
import"../chunks/
|
|
6
|
+
} from "../chunks/file-xxpvz42q.js";
|
|
7
|
+
import"../chunks/file-57tzwnz4.js";
|
|
8
|
+
import"../chunks/file-ec8vrfw5.js";
|
|
9
|
+
import"../chunks/file-rvfvac9x.js";
|
|
10
10
|
export {
|
|
11
11
|
update,
|
|
12
12
|
render,
|