@opencode-ai/core 0.0.0-beta-18314 → 0.0.0-beta-18371
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 +70 -70
- package/dist/aisdk-native.js +3 -3
- package/dist/aisdk.js +4 -4
- package/dist/app.js +2 -2
- package/dist/bus.js +68 -68
- package/dist/catalog.js +78 -78
- package/dist/chunks/{job-gyaadd27.js → model-resolver-00ghgemb.js} +5 -5
- package/dist/chunks/{job-02dbfq60.js → model-resolver-02dbfq60.js} +1 -1
- package/dist/chunks/{job-c6agw9t5.js → model-resolver-0e955jr3.js} +14 -14
- package/dist/chunks/{job-0kvmztkf.js → model-resolver-0kvmztkf.js} +1 -1
- package/dist/chunks/{job-bt5jq058.js → model-resolver-0m084d2q.js} +4 -4
- package/dist/chunks/{job-jwgf44xz.js → model-resolver-0qm83tjt.js} +4 -4
- package/dist/chunks/{job-j2rwtkhe.js → model-resolver-13c57d66.js} +4 -4
- package/dist/chunks/{job-18pv8fg3.js → model-resolver-18pv8fg3.js} +2 -2
- package/dist/chunks/{job-9mhxn888.js → model-resolver-1c7r7zzs.js} +3 -3
- package/dist/chunks/{job-1fs6j1ee.js → model-resolver-1da9znbj.js} +12 -12
- package/dist/chunks/{job-18bpd5mk.js → model-resolver-1fzcbgr0.js} +4 -4
- package/dist/chunks/{job-5zxzwffr.js → model-resolver-1hzaa9cx.js} +7 -7
- package/dist/chunks/{job-dvagncbd.js → model-resolver-1qf08dc2.js} +74 -65
- package/dist/chunks/{job-m1ey0mfv.js → model-resolver-1txahbwr.js} +4 -4
- package/dist/chunks/{job-gv594dge.js → model-resolver-255r79nw.js} +9 -13
- package/dist/chunks/{job-sysphzh2.js → model-resolver-27q8pxga.js} +1 -1
- package/dist/chunks/{job-cy8yjam4.js → model-resolver-28cgwqbq.js} +5 -5
- package/dist/chunks/{job-vkvb1sb3.js → model-resolver-29n7vfk2.js} +2 -1
- package/dist/chunks/{job-r673n5v1.js → model-resolver-2aem3zm3.js} +12 -12
- package/dist/chunks/{job-61ae575p.js → model-resolver-2fyv5e50.js} +3 -3
- package/dist/chunks/model-resolver-2m0hgr65.js +18 -0
- package/dist/chunks/{job-2nmyybe0.js → model-resolver-2nmyybe0.js} +1 -1
- package/dist/chunks/{job-0b0fh8m6.js → model-resolver-2p7kqv8d.js} +4 -4
- package/dist/chunks/{job-2wds5nk3.js → model-resolver-2wds5nk3.js} +1 -1
- package/dist/chunks/{job-yytvxvcy.js → model-resolver-3b4q8hk0.js} +7 -7
- package/dist/chunks/{job-3pa0yq1v.js → model-resolver-3dc4mkmm.js} +2 -2
- package/dist/chunks/{job-8c81waph.js → model-resolver-3eft67a8.js} +12 -12
- package/dist/chunks/{job-3g8vftxb.js → model-resolver-3g8vftxb.js} +2 -2
- package/dist/chunks/{job-qdd4e9kv.js → model-resolver-3j06t78m.js} +10 -10
- package/dist/chunks/{job-3qv8nf0b.js → model-resolver-3qv8nf0b.js} +1 -1
- package/dist/chunks/{job-3thh6229.js → model-resolver-3thh6229.js} +2 -2
- package/dist/chunks/{job-vjt1s33f.js → model-resolver-3yrv3sh0.js} +7 -7
- package/dist/chunks/{job-f4kwr62g.js → model-resolver-40d9hg4b.js} +8 -8
- package/dist/chunks/{job-mqanfv2e.js → model-resolver-42cgv4c2.js} +4 -4
- package/dist/chunks/{job-e023xh4m.js → model-resolver-4evxzkhe.js} +3 -3
- package/dist/chunks/{job-zvcgsh8t.js → model-resolver-4hc6kbrw.js} +15 -15
- package/dist/chunks/{job-evme9j8h.js → model-resolver-4j9v5hvd.js} +10 -10
- package/dist/chunks/{job-0wfeztgd.js → model-resolver-4k1s3a8x.js} +4 -4
- package/dist/chunks/{job-4s2xwh5d.js → model-resolver-4s2xwh5d.js} +3 -3
- package/dist/chunks/{job-4zzdwbaz.js → model-resolver-4zzdwbaz.js} +2 -2
- package/dist/chunks/{job-50jxp3hw.js → model-resolver-50jxp3hw.js} +1 -1
- package/dist/chunks/{job-30cqtyfe.js → model-resolver-55yy771n.js} +5 -5
- package/dist/chunks/{job-57tzwnz4.js → model-resolver-57tzwnz4.js} +1 -1
- package/dist/chunks/{job-58xdvehb.js → model-resolver-58xdvehb.js} +1 -1
- package/dist/chunks/{job-5cdnkd94.js → model-resolver-5cdnkd94.js} +3 -3
- package/dist/chunks/{job-67qnaq06.js → model-resolver-5cgt2bxg.js} +5 -5
- package/dist/chunks/{job-5fe026tx.js → model-resolver-5fe026tx.js} +3 -3
- package/dist/chunks/{job-5rs65q6p.js → model-resolver-5rs65q6p.js} +1 -1
- package/dist/chunks/{job-hfrn4x7x.js → model-resolver-5sfdg351.js} +6 -6
- package/dist/chunks/{job-5vcssjzn.js → model-resolver-5vcssjzn.js} +1 -1
- package/dist/chunks/{job-swfajvmq.js → model-resolver-5y8hhxwf.js} +10 -15
- package/dist/chunks/{job-5z4zwtb4.js → model-resolver-5z4zwtb4.js} +2 -2
- package/dist/chunks/{job-6272rtjg.js → model-resolver-6272rtjg.js} +1 -1
- package/dist/chunks/{job-87s75dvv.js → model-resolver-63w2ay9e.js} +3 -3
- package/dist/chunks/{job-cms3avjt.js → model-resolver-67jehtq9.js} +7 -7
- package/dist/chunks/{job-kw1zvwxg.js → model-resolver-6ekv75fa.js} +7 -7
- package/dist/chunks/{job-9v8sftqd.js → model-resolver-6fwazb1v.js} +2 -2
- package/dist/chunks/{job-41j8xasw.js → model-resolver-6hcyjqef.js} +9 -9
- package/dist/chunks/{job-6ky7rqk7.js → model-resolver-6ky7rqk7.js} +1 -1
- package/dist/chunks/{job-7y1ge8cm.js → model-resolver-6ryqfjvp.js} +3 -3
- package/dist/chunks/{job-v3mckd1j.js → model-resolver-6wdwzpfh.js} +6 -6
- package/dist/chunks/{job-6wkzvma0.js → model-resolver-6wkzvma0.js} +2 -2
- package/dist/chunks/{job-6cb4pvvr.js → model-resolver-6wswptam.js} +8 -8
- package/dist/chunks/{job-4yxq1tjg.js → model-resolver-70v65tpe.js} +89 -89
- package/dist/chunks/{job-75h1hfe2.js → model-resolver-75h1hfe2.js} +2 -2
- package/dist/chunks/{job-1v8zr5j1.js → model-resolver-7c49b741.js} +3 -3
- package/dist/chunks/{job-7gqqz1s8.js → model-resolver-7gqqz1s8.js} +1 -1
- package/dist/chunks/{job-74sy20v2.js → model-resolver-7hhsvv9w.js} +83 -24
- package/dist/chunks/{job-7khw64yh.js → model-resolver-7khw64yh.js} +1 -1
- package/dist/chunks/{job-7mrpdsq5.js → model-resolver-7mrpdsq5.js} +1 -1
- package/dist/chunks/{job-cegwyrsy.js → model-resolver-7ph4btqd.js} +4 -4
- package/dist/chunks/{job-7thnevmq.js → model-resolver-7thnevmq.js} +2 -2
- package/dist/chunks/{job-7wcmqxrc.js → model-resolver-7wcmqxrc.js} +1 -1
- package/dist/chunks/{job-88jbfw8z.js → model-resolver-88jbfw8z.js} +2 -2
- package/dist/chunks/{job-by1b88kn.js → model-resolver-8a8eker1.js} +14 -14
- package/dist/chunks/{job-qtwj4sct.js → model-resolver-8axcyx1d.js} +3 -3
- package/dist/chunks/{job-8pngjawd.js → model-resolver-8pngjawd.js} +2 -2
- package/dist/chunks/model-resolver-8tv6syt7.js +46 -0
- package/dist/chunks/{job-7tan8bxz.js → model-resolver-8ynsv3dn.js} +4 -4
- package/dist/chunks/{job-awxbz613.js → model-resolver-92c1hbn3.js} +10 -10
- package/dist/chunks/{job-tqk65e1r.js → model-resolver-96g12gma.js} +14 -14
- package/dist/chunks/{job-999qd968.js → model-resolver-999qd968.js} +1 -1
- package/dist/chunks/{job-9f0rnpkn.js → model-resolver-9f0rnpkn.js} +1 -1
- package/dist/chunks/{job-4b29ngba.js → model-resolver-9qf4c1dq.js} +76 -31
- package/dist/chunks/{job-4s1gnawc.js → model-resolver-9rdcfkcx.js} +9 -9
- package/dist/chunks/{job-emcftcn6.js → model-resolver-9sv6fyqj.js} +4 -4
- package/dist/chunks/{job-xhmx5xme.js → model-resolver-9v6d6j4e.js} +2 -2
- package/dist/chunks/{job-0b17sr9d.js → model-resolver-a09abg6q.js} +11 -14
- package/dist/chunks/{job-91crht0e.js → model-resolver-a27nps75.js} +3 -3
- package/dist/chunks/{job-t2nhz694.js → model-resolver-a4dsspcc.js} +3 -3
- package/dist/chunks/{job-h846wrk2.js → model-resolver-a9vdgkgd.js} +1 -1
- package/dist/chunks/{job-jg0n1jjh.js → model-resolver-aa2ma3z3.js} +3 -3
- package/dist/chunks/{job-80f2pyxq.js → model-resolver-ad93zf3w.js} +35 -33
- package/dist/chunks/{job-j1v3cm3s.js → model-resolver-ahjey3nf.js} +3 -3
- package/dist/chunks/{job-453chyz6.js → model-resolver-an4sq5sg.js} +3 -3
- package/dist/chunks/{job-awg5d31a.js → model-resolver-awg5d31a.js} +1 -1
- package/dist/chunks/{job-80h0mrdr.js → model-resolver-bgmcctn4.js} +16 -22
- package/dist/chunks/{job-x2yhhk3x.js → model-resolver-bgxd79er.js} +7 -7
- package/dist/chunks/{job-bh1wr8rq.js → model-resolver-bh1wr8rq.js} +2 -2
- package/dist/chunks/{job-v87jc5jg.js → model-resolver-bh4farnk.js} +2 -2
- package/dist/chunks/{job-bmknfyv0.js → model-resolver-bmknfyv0.js} +2 -2
- package/dist/chunks/{job-m28e25wx.js → model-resolver-bmw7xqpn.js} +5 -5
- package/dist/chunks/{job-83vq7eg1.js → model-resolver-bpqydscm.js} +8 -8
- package/dist/chunks/{job-byab506k.js → model-resolver-byab506k.js} +1 -1
- package/dist/chunks/{job-04cwzwc7.js → model-resolver-bymt1gaf.js} +3 -3
- package/dist/chunks/{job-c4wcb9vc.js → model-resolver-c4wcb9vc.js} +2 -2
- package/dist/chunks/{job-ykhdtytp.js → model-resolver-cag041wd.js} +48 -72
- package/dist/chunks/{job-3675e63x.js → model-resolver-cbajjvnv.js} +5 -5
- package/dist/chunks/{job-6g380kj4.js → model-resolver-cczrd96b.js} +9 -9
- package/dist/chunks/{job-zgj06aq9.js → model-resolver-cjgkryjg.js} +7 -7
- package/dist/chunks/{job-csrx180a.js → model-resolver-csrx180a.js} +3 -3
- package/dist/chunks/{job-fcrk6m2k.js → model-resolver-cvzq2k2j.js} +4 -4
- package/dist/chunks/{job-d2gk9vpf.js → model-resolver-d2gk9vpf.js} +2 -2
- package/dist/chunks/{job-d4ax61k3.js → model-resolver-d4ax61k3.js} +2 -2
- package/dist/chunks/{job-kj73zjy7.js → model-resolver-d56stg0x.js} +3 -3
- package/dist/chunks/{job-kqp51j35.js → model-resolver-d8t4kqdr.js} +2 -2
- package/dist/chunks/{job-dhphtf1x.js → model-resolver-dhphtf1x.js} +1 -1
- package/dist/chunks/{job-s3g94pz9.js → model-resolver-dnf3rn1j.js} +2 -2
- package/dist/chunks/{job-8za0sdpt.js → model-resolver-dt8890pn.js} +4 -4
- package/dist/chunks/{job-e1z9a0ts.js → model-resolver-e1z9a0ts.js} +2 -2
- package/dist/chunks/{job-mmg6vxx4.js → model-resolver-ec3y3ysv.js} +9 -9
- package/dist/chunks/{job-ec8vrfw5.js → model-resolver-ec8vrfw5.js} +1 -1
- package/dist/chunks/{job-enpg66yn.js → model-resolver-enpg66yn.js} +1 -1
- package/dist/chunks/{job-xw73njnh.js → model-resolver-ewfbpjdm.js} +21 -15
- package/dist/chunks/{job-ztjk4rav.js → model-resolver-f11jbhcb.js} +6 -6
- package/dist/chunks/{job-7ccgh94t.js → model-resolver-f7q7a28y.js} +6 -6
- package/dist/chunks/{job-f9wt0tjw.js → model-resolver-f9wt0tjw.js} +2 -2
- package/dist/chunks/{job-fb7nfzf2.js → model-resolver-fb7nfzf2.js} +3 -3
- package/dist/chunks/{job-fgyjabww.js → model-resolver-fgyjabww.js} +2 -2
- package/dist/chunks/{job-ambzzkps.js → model-resolver-fwpmn9q0.js} +8 -8
- package/dist/chunks/{job-gcay93cp.js → model-resolver-gcay93cp.js} +1 -1
- package/dist/chunks/{job-gd2xppx8.js → model-resolver-gd2xppx8.js} +1 -1
- package/dist/chunks/{job-g0ms0rgy.js → model-resolver-gnrhajcr.js} +4 -4
- package/dist/chunks/{job-gpybhmhb.js → model-resolver-gpybhmhb.js} +3 -3
- package/dist/chunks/{job-g2rkrtc7.js → model-resolver-gx79gans.js} +14 -14
- package/dist/chunks/{job-h12kt9pa.js → model-resolver-h12kt9pa.js} +2 -2
- package/dist/chunks/{job-f3nzffq3.js → model-resolver-h3d2yzc7.js} +4 -4
- package/dist/chunks/{job-j5q8scqt.js → model-resolver-h3kcef9b.js} +8 -8
- package/dist/chunks/{job-c8k88b24.js → model-resolver-h763zy7b.js} +36 -36
- package/dist/chunks/{job-h94zdhz8.js → model-resolver-h94zdhz8.js} +2 -2
- package/dist/chunks/{job-hp6rpdnc.js → model-resolver-hp6rpdnc.js} +1 -1
- package/dist/chunks/{job-6y125m49.js → model-resolver-hxdwd9z9.js} +8 -8
- package/dist/chunks/{job-f7x4n10r.js → model-resolver-jftqpvh4.js} +10 -10
- package/dist/chunks/{job-gcvth7mt.js → model-resolver-jhrzhtsq.js} +6 -6
- package/dist/chunks/{job-k42t1tha.js → model-resolver-k42t1tha.js} +2 -2
- package/dist/chunks/{job-d1sq95z9.js → model-resolver-kdpeb35f.js} +2 -2
- package/dist/chunks/{job-kg1345f7.js → model-resolver-kg1345f7.js} +1 -1
- package/dist/chunks/{job-kp1t5rcy.js → model-resolver-kp1t5rcy.js} +1 -1
- package/dist/chunks/{job-979eqq1k.js → model-resolver-kpj1z3d3.js} +14 -14
- package/dist/chunks/{job-krsqcmnj.js → model-resolver-krsqcmnj.js} +1 -1
- package/dist/chunks/{job-gkwa729k.js → model-resolver-ky6mgxk3.js} +4 -4
- package/dist/chunks/{job-f5btf568.js → model-resolver-m3pxv7vy.js} +15 -17
- package/dist/chunks/{job-m55whf0h.js → model-resolver-m55whf0h.js} +2 -2
- package/dist/chunks/{job-emgtfyfk.js → model-resolver-m746561h.js} +6 -6
- package/dist/chunks/model-resolver-mb0mcgky.js +341 -0
- package/dist/chunks/{job-efjyazj3.js → model-resolver-mdkrm042.js} +13 -13
- package/dist/chunks/model-resolver-mepqfw3s.js +209 -0
- package/dist/chunks/{job-mf0hyk7z.js → model-resolver-mf0hyk7z.js} +1 -1
- package/dist/chunks/{job-mh28new4.js → model-resolver-mh28new4.js} +2 -2
- package/dist/chunks/{job-mnb85w6b.js → model-resolver-mnb85w6b.js} +2 -2
- package/dist/chunks/{job-gv6vfy44.js → model-resolver-mppd4b9z.js} +89 -89
- package/dist/chunks/{job-y5w7j7k0.js → model-resolver-mtgz9jvk.js} +9 -9
- package/dist/chunks/{job-mxvw03gv.js → model-resolver-mxvw03gv.js} +1 -1
- package/dist/chunks/{job-90zewg12.js → model-resolver-mxwx9cv9.js} +5 -5
- package/dist/chunks/{job-p7khmdc5.js → model-resolver-n307d0z2.js} +4 -4
- package/dist/chunks/{job-htvrdb86.js → model-resolver-n51v3fg0.js} +3 -3
- package/dist/chunks/{job-rf256wce.js → model-resolver-n6kt309t.js} +15 -15
- package/dist/chunks/{job-nesb2rcz.js → model-resolver-nesb2rcz.js} +2 -2
- package/dist/chunks/{job-v3wya5xh.js → model-resolver-nezq13q9.js} +4 -4
- package/dist/chunks/{job-x92gabff.js → model-resolver-nh7cz8y3.js} +6 -6
- package/dist/chunks/{job-nr76rjj3.js → model-resolver-nr76rjj3.js} +2 -2
- package/dist/chunks/{job-nzrjycs5.js → model-resolver-nzrjycs5.js} +1 -1
- package/dist/chunks/{job-6q0m15b3.js → model-resolver-p8fr6x1v.js} +2 -2
- package/dist/chunks/{job-q7kxpbqj.js → model-resolver-pa36kxjq.js} +12 -12
- package/dist/chunks/{job-56th4kc6.js → model-resolver-pbkwpytw.js} +3 -3
- package/dist/chunks/{job-752hq4tr.js → model-resolver-pebqs190.js} +5 -5
- package/dist/chunks/{job-pq4b4pqk.js → model-resolver-pq4b4pqk.js} +2 -2
- package/dist/chunks/{job-pff6q9k0.js → model-resolver-pvbhnv8z.js} +4 -4
- package/dist/chunks/{job-tn0pfbrf.js → model-resolver-pwqf298r.js} +4 -4
- package/dist/chunks/{job-v3tbrwy6.js → model-resolver-q1z6zb5q.js} +13 -20
- package/dist/chunks/{job-q9b4qnv8.js → model-resolver-q9b4qnv8.js} +2 -2
- package/dist/chunks/{job-594xzh81.js → model-resolver-qb7ktahy.js} +7 -7
- package/dist/chunks/{job-qe0d689s.js → model-resolver-qe0d689s.js} +2 -2
- package/dist/chunks/{job-se1aqaya.js → model-resolver-qf7arn9v.js} +6 -5
- package/dist/chunks/{job-r13w8t0w.js → model-resolver-r13w8t0w.js} +2 -2
- package/dist/chunks/{job-ejc7zsyk.js → model-resolver-r1b56gxk.js} +3 -3
- package/dist/chunks/{job-r3k9abhd.js → model-resolver-r3k9abhd.js} +2 -2
- package/dist/chunks/{job-rahat93a.js → model-resolver-rahat93a.js} +1 -1
- package/dist/chunks/{job-rameyvmv.js → model-resolver-rameyvmv.js} +1 -1
- package/dist/chunks/{job-rbnp2c85.js → model-resolver-rbnp2c85.js} +3 -3
- package/dist/chunks/{job-rfbm65k8.js → model-resolver-rfbm65k8.js} +1 -1
- package/dist/chunks/{job-4nvjkpcc.js → model-resolver-rrqkxxjp.js} +5 -5
- package/dist/chunks/{job-am5pnytv.js → model-resolver-rtq888az.js} +60 -60
- package/dist/chunks/{job-s33fw6zm.js → model-resolver-s33fw6zm.js} +1 -1
- package/dist/chunks/{job-hh1wpw8n.js → model-resolver-s9x5m3kb.js} +2 -2
- package/dist/chunks/{job-xs1a0k5e.js → model-resolver-shhypnhg.js} +3 -3
- package/dist/chunks/{job-smpeg8c9.js → model-resolver-smpeg8c9.js} +2 -2
- package/dist/chunks/{job-sw84ckhj.js → model-resolver-sw84ckhj.js} +1 -1
- package/dist/chunks/{job-t14kykx1.js → model-resolver-t14kykx1.js} +1 -1
- package/dist/chunks/{job-efh129a7.js → model-resolver-t2c6nnpe.js} +3 -3
- package/dist/chunks/{job-tcptxgyq.js → model-resolver-tcptxgyq.js} +1 -1
- package/dist/chunks/{job-vpex7vrq.js → model-resolver-tdhkfr1t.js} +27 -27
- package/dist/chunks/{job-wey5vt6z.js → model-resolver-tdkvzw42.js} +5 -5
- package/dist/chunks/{job-tgbb2ckq.js → model-resolver-tgbb2ckq.js} +2 -2
- package/dist/chunks/{job-thstd87d.js → model-resolver-thstd87d.js} +1 -1
- package/dist/chunks/{job-x2zfy610.js → model-resolver-ts00zsxp.js} +11 -11
- package/dist/chunks/{job-v2wshkax.js → model-resolver-v2wshkax.js} +1 -1
- package/dist/chunks/{job-v80zsxnb.js → model-resolver-v80zsxnb.js} +1 -1
- package/dist/chunks/{job-v972xay6.js → model-resolver-v972xay6.js} +1 -1
- package/dist/chunks/{job-v9bfv94f.js → model-resolver-v9bfv94f.js} +1 -1
- package/dist/chunks/{job-vcwr2vpf.js → model-resolver-vcwr2vpf.js} +1 -1
- package/dist/chunks/{job-j624ajjr.js → model-resolver-vgpsk8g3.js} +63 -63
- package/dist/chunks/{job-vqbmgfq1.js → model-resolver-vqbmgfq1.js} +3 -3
- package/dist/chunks/{job-dw0e6gqz.js → model-resolver-vrg249m2.js} +56 -50
- package/dist/chunks/{job-x4fa0s7b.js → model-resolver-vve06gze.js} +3 -3
- package/dist/chunks/{job-9fxjt5sk.js → model-resolver-vycjsnjm.js} +17 -29
- package/dist/chunks/{job-vz89hfgr.js → model-resolver-vz89hfgr.js} +1 -1
- package/dist/chunks/{job-bpfzp1b4.js → model-resolver-w1njty1c.js} +23 -23
- package/dist/chunks/model-resolver-w8f9kpcw.js +324 -0
- package/dist/chunks/{job-wbkt8qpj.js → model-resolver-wbkt8qpj.js} +1 -1
- package/dist/chunks/{job-wd268jeg.js → model-resolver-wd268jeg.js} +1 -1
- package/dist/chunks/{job-eb5hn8c3.js → model-resolver-wgqwyc5x.js} +5 -5
- package/dist/chunks/{job-whk0g8cz.js → model-resolver-whk0g8cz.js} +4 -4
- package/dist/chunks/{job-wmxdh12w.js → model-resolver-wmxdh12w.js} +1 -1
- package/dist/chunks/{job-wps8gh8n.js → model-resolver-wps8gh8n.js} +2 -2
- package/dist/chunks/{job-d10138fy.js → model-resolver-wqyhh6zh.js} +17 -17
- package/dist/chunks/{job-s5s19g76.js → model-resolver-x0yvy2ba.js} +18 -67
- package/dist/chunks/{job-jtsr1kyk.js → model-resolver-x2syzpyj.js} +4 -4
- package/dist/chunks/{job-03svsmyg.js → model-resolver-x501yhn6.js} +13 -13
- package/dist/chunks/{job-b517em9p.js → model-resolver-x7n0vxsg.js} +10 -10
- package/dist/chunks/{job-x89rah0x.js → model-resolver-x89rah0x.js} +1 -1
- package/dist/chunks/{job-22mtntar.js → model-resolver-x93jkx69.js} +5 -5
- package/dist/chunks/{job-8stkcvkk.js → model-resolver-xcdmv9yv.js} +6 -6
- package/dist/chunks/{job-xczfw7dq.js → model-resolver-xczfw7dq.js} +1 -1
- package/dist/chunks/{job-xgv25zxy.js → model-resolver-xgv25zxy.js} +1 -1
- package/dist/chunks/{job-tmrzx1y1.js → model-resolver-xhafmq7j.js} +7 -7
- package/dist/chunks/{job-9fke2v0v.js → model-resolver-xp0574gg.js} +4 -4
- package/dist/chunks/{job-tb33ng7x.js → model-resolver-xqrzrwfb.js} +107 -35
- package/dist/chunks/{job-a72jeb24.js → model-resolver-xs18wzfv.js} +3 -3
- package/dist/chunks/{job-xwftk1fd.js → model-resolver-xwftk1fd.js} +2 -2
- package/dist/chunks/{job-e6tqds24.js → model-resolver-xxmkv86g.js} +7 -7
- package/dist/chunks/{job-xxpvz42q.js → model-resolver-xxpvz42q.js} +3 -3
- package/dist/chunks/{job-y0x38cee.js → model-resolver-y0x38cee.js} +1 -1
- package/dist/chunks/{job-y198y2ra.js → model-resolver-y198y2ra.js} +1 -1
- package/dist/chunks/{job-j3qn6z6c.js → model-resolver-y3s43asn.js} +155 -155
- package/dist/chunks/{job-y67x6rf6.js → model-resolver-y67x6rf6.js} +1 -1
- package/dist/chunks/{job-y980s7ka.js → model-resolver-y980s7ka.js} +3 -3
- package/dist/chunks/{job-ybhfpy64.js → model-resolver-ybhfpy64.js} +2 -2
- package/dist/chunks/{job-yc2vxtaa.js → model-resolver-yc2vxtaa.js} +2 -2
- package/dist/chunks/{job-szy0yc2m.js → model-resolver-yd0311fj.js} +3 -3
- package/dist/chunks/{job-yf0knd5z.js → model-resolver-yf0knd5z.js} +2 -2
- package/dist/chunks/{job-ygy0xbqa.js → model-resolver-ygy0xbqa.js} +3 -3
- package/dist/chunks/{job-66kns9ss.js → model-resolver-yjkby015.js} +9 -9
- package/dist/chunks/{job-zbqqnp0n.js → model-resolver-zbqqnp0n.js} +1 -1
- package/dist/chunks/{job-zdkg1k91.js → model-resolver-zdkg1k91.js} +1 -1
- package/dist/chunks/{job-x7gtn86w.js → model-resolver-zr9p7tag.js} +11 -11
- package/dist/chunks/{job-wvkyq8sh.js → model-resolver-zsyw48fy.js} +5 -5
- package/dist/chunks/{job-gfk86902.js → model-resolver-zthbn9fh.js} +5 -5
- package/dist/chunks/{job-zxcy6vhn.js → model-resolver-zxcy6vhn.js} +1 -1
- package/dist/chunks/{job-zxe9jjhn.js → model-resolver-zxe9jjhn.js} +2 -2
- package/dist/chunks/{job-hqh8yks9.js → model-resolver-zytbgf7y.js} +3 -3
- 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 +70 -70
- package/dist/config/markdown.js +2 -2
- package/dist/config/normalize.js +20 -20
- package/dist/config/plugin/agent.js +136 -135
- package/dist/config/plugin/command.js +118 -118
- package/dist/config/plugin/compaction.js +150 -170
- package/dist/config/plugin/entry-observer.js +114 -114
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +116 -116
- package/dist/config/plugin/provider.js +115 -115
- package/dist/config/plugin/reference.js +119 -119
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +109 -108
- package/dist/config/plugin/skill.js +139 -138
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +114 -114
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/variable.js +4 -4
- package/dist/config.js +113 -113
- package/dist/credential/sql.js +3 -3
- package/dist/credential.js +71 -71
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +13 -13
- package/dist/database/drizzle/effect-sqlite/index.js +13 -13
- package/dist/database/drizzle/effect-sqlite/session.js +12 -12
- package/dist/database/drizzle/index.js +14 -14
- 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 +19 -19
- 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 +11 -11
- package/dist/database/drizzle/sqlite-core/effect/update.js +3 -3
- package/dist/database/drizzle.js +15 -15
- 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/20260819222447_session_viewed_state.js +2 -2
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +2 -2
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +91 -75
- package/dist/database/v1-migration.js +2 -2
- package/dist/database/v1-migration.noop.js +1 -1
- package/dist/effect/app-node-builder.js +328 -326
- package/dist/effect/app-node-platform.js +3 -3
- package/dist/effect/keyed-mutex.js +2 -2
- package/dist/effect/websocket-constructor.js +2 -2
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +91 -91
- package/dist/environment/exec-defaults.js +3 -3
- package/dist/environment/files.js +2 -2
- package/dist/environment/index.js +93 -93
- 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 +68 -68
- package/dist/file-mutation.js +92 -92
- package/dist/file-retention.js +2 -2
- 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-policy.js +3 -3
- package/dist/filesystem/location-watcher.js +304 -306
- package/dist/filesystem/protected.js +2 -2
- package/dist/filesystem/search.js +96 -96
- package/dist/filesystem/watcher-binding.js +2 -2
- package/dist/filesystem/watcher.js +4 -4
- package/dist/filesystem.js +96 -96
- package/dist/form.js +69 -69
- package/dist/formatter/builtins.js +3 -3
- package/dist/formatter.js +85 -85
- package/dist/generate.js +84 -84
- 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 +20 -20
- 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 +2 -2
- 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 +11 -11
- 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/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 +98 -98
- package/dist/image.js +98 -98
- package/dist/instruction-discovery.js +72 -72
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +2 -2
- package/dist/integration/connection.js +2 -2
- package/dist/integration.js +75 -75
- package/dist/job.js +72 -4
- package/dist/kv/sql.js +3 -3
- package/dist/kv.js +68 -68
- package/dist/location-activity.js +85 -85
- package/dist/location-mutation.js +84 -84
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +328 -326
- package/dist/location.js +83 -83
- package/dist/mcp/client.js +96 -93
- package/dist/mcp/index.js +98 -98
- package/dist/mcp/instructions.js +129 -128
- package/dist/mcp/oauth.js +2 -2
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +2 -2
- package/dist/model-resolver.js +81 -81
- package/dist/model.js +3 -3
- package/dist/models-dev.js +75 -75
- package/dist/oauth/page.js +2 -2
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +6 -6
- package/dist/permission.js +106 -105
- package/dist/persistent-pty/binary.bun.js +2 -2
- package/dist/persistent-pty/binary.node.js +1 -1
- package/dist/persistent-pty/binary.workerd.js +1 -1
- package/dist/persistent-pty/daemon.js +2 -2
- package/dist/persistent-pty/index.js +70 -70
- package/dist/persistent-pty/pty-binding.js +2 -2
- package/dist/persistent-pty.js +70 -70
- package/dist/plugin/agent.js +107 -106
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +171 -170
- package/dist/plugin/internal.js +298 -300
- package/dist/plugin/mcp-codemode-exclusion.js +2 -2
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +3 -3
- package/dist/plugin/plan.js +107 -106
- 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 +121 -121
- package/dist/plugin/provider/cerebras.js +3 -3
- package/dist/plugin/provider/cloudflare-ai-gateway.js +122 -122
- package/dist/plugin/provider/cloudflare-workers-ai.js +122 -122
- package/dist/plugin/provider/cohere.js +3 -3
- package/dist/plugin/provider/configured.js +119 -119
- 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 +82 -82
- package/dist/plugin/provider/gitlab.js +4 -4
- package/dist/plugin/provider/google-vertex.js +3 -3
- package/dist/plugin/provider/kilo.js +3 -3
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +114 -114
- package/dist/plugin/provider/mistral.js +3 -3
- package/dist/plugin/provider/nvidia.js +3 -3
- package/dist/plugin/provider/ollama.js +114 -114
- package/dist/plugin/provider/openai-compatible.js +2 -2
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +93 -93
- 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/venice.js +3 -3
- package/dist/plugin/provider/vercel.js +3 -3
- package/dist/plugin/provider/vllm.js +114 -114
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +3 -3
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/runtime.js +159 -156
- package/dist/plugin/sdk.js +69 -69
- package/dist/plugin/skill.js +137 -136
- package/dist/plugin/source-directory.js +2 -2
- package/dist/plugin/supervisor-service.js +2 -2
- package/dist/plugin/supervisor.js +303 -305
- package/dist/plugin/system-prompt.js +2 -2
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +115 -115
- 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 +172 -171
- package/dist/project/markers.js +74 -74
- package/dist/project/schema.js +3 -3
- package/dist/project/sql.js +5 -5
- package/dist/project.js +82 -82
- 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 +70 -70
- package/dist/pty.js +89 -89
- package/dist/reference/instructions.js +77 -77
- package/dist/reference.js +75 -75
- package/dist/repository-cache.js +7 -7
- package/dist/repository.js +2 -2
- package/dist/ripgrep/binary.js +3 -3
- package/dist/ripgrep.js +94 -94
- package/dist/schema.js +2 -2
- package/dist/session/compaction.js +122 -142
- package/dist/session/context.js +313 -312
- package/dist/session/environment.js +3 -3
- package/dist/session/error.js +4 -4
- package/dist/session/event.js +2 -2
- package/dist/session/execution/restart.js +253 -129
- package/dist/session/execution.js +126 -121
- package/dist/session/generate-node.js +314 -313
- package/dist/session/generate.js +2 -2
- package/dist/session/history.js +94 -77
- package/dist/session/inbox.js +91 -77
- package/dist/session/info.js +92 -92
- package/dist/session/instruction-entry.js +90 -73
- package/dist/session/instruction-state.js +91 -10
- package/dist/session/instructions.js +102 -101
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +2 -2
- package/dist/session/model-request.js +139 -138
- package/dist/session/model-transport.js +5 -5
- package/dist/session/projector.js +101 -90
- package/dist/session/prompt-cache-diagnostics.js +2 -2
- package/dist/session/revert.js +94 -90
- package/dist/session/run-coordinator.js +2 -2
- package/dist/session/runner/index.js +87 -85
- package/dist/session/runner/llm.js +320 -318
- package/dist/session/runner/max-steps.js +2 -2
- package/dist/session/runner/model.js +83 -83
- package/dist/session/runner/publish-llm-event.js +4 -4
- package/dist/session/runner/retry.js +73 -75
- package/dist/session/runner/step.js +155 -0
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +2 -2
- package/dist/session/sql.js +87 -6
- package/dist/session/stats.js +87 -71
- package/dist/session/store.js +101 -100
- package/dist/session/system-prompt.js +2 -2
- package/dist/session/title.js +314 -140
- package/dist/session/to-session-error.js +117 -116
- package/dist/session/transfer.js +162 -159
- package/dist/session/usage.js +2 -2
- package/dist/session.js +157 -154
- package/dist/shell/parse.js +9 -6
- 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/scan.js +1084 -365
- package/dist/shell/select.js +4 -4
- package/dist/shell.js +99 -99
- package/dist/skill/discovery.js +3 -3
- package/dist/skill/instructions.js +108 -107
- package/dist/skill.js +107 -106
- package/dist/snapshot.js +85 -85
- 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 +128 -127
- package/dist/tool/plugin/edit.js +116 -115
- package/dist/tool/plugin/file-diff.js +2 -2
- package/dist/tool/plugin/glob.js +118 -117
- package/dist/tool/plugin/grep.js +118 -117
- package/dist/tool/plugin/patch.js +116 -115
- package/dist/tool/plugin/question.js +108 -107
- package/dist/tool/plugin/read.js +121 -120
- package/dist/tool/plugin/shell.js +187 -186
- package/dist/tool/plugin/skill.js +108 -107
- package/dist/tool/plugin/subagent.js +184 -183
- package/dist/tool/plugin/webfetch.js +109 -108
- package/dist/tool/plugin/websearch.js +111 -110
- package/dist/tool/plugin/write.js +116 -115
- package/dist/tool/read-filesystem.js +98 -98
- package/dist/tool/runtime.js +2 -2
- package/dist/tool-output.js +5 -5
- package/dist/tool.js +121 -120
- package/dist/types/bus.d.ts +3 -0
- package/dist/types/job.d.ts +45 -8
- package/dist/types/location-service-map.d.ts +2 -2
- package/dist/types/location-services.d.ts +1 -1
- package/dist/types/plugin/host.d.ts +4 -8
- package/dist/types/plugin/internal.d.ts +3 -3
- package/dist/types/plugin/runtime.d.ts +1 -6
- package/dist/types/plugin/supervisor.d.ts +1 -1
- package/dist/types/session/compaction.d.ts +8 -3
- package/dist/types/session/context.d.ts +11 -2
- package/dist/types/session/execution/restart.d.ts +6 -1
- package/dist/types/session/execution.d.ts +2 -1
- package/dist/types/session/generate-node.d.ts +1 -3
- package/dist/types/session/model-request.d.ts +1 -1
- package/dist/types/session/runner/index.d.ts +55 -6
- package/dist/types/session/runner/model.d.ts +2 -1
- package/dist/types/session/runner/publish-llm-event.d.ts +1 -8
- package/dist/types/session/runner/retry.d.ts +3 -7
- package/dist/types/session/runner/step.d.ts +58 -0
- package/dist/types/session/store.d.ts +5 -7
- package/dist/types/session/title.d.ts +2 -5
- package/dist/types/shell/parse.d.ts +8 -6
- package/dist/types/shell/scan.d.ts +6 -3
- package/dist/types/tool/plugin/shell.d.ts +1 -1
- package/dist/types/tool.d.ts +14 -5
- package/dist/util/array.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/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 +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 +7 -43
- package/dist/vcs/patch.js +2 -2
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +73 -73
- package/dist/wellknown/plugin.js +73 -73
- package/dist/wellknown.js +72 -72
- package/dist/workspace/driver.js +2 -2
- package/dist/workspace/sql.js +2 -2
- package/dist/workspace.js +69 -69
- 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 +87 -87
- package/package.json +8 -8
- package/dist/chunks/job-cz3dkvcz.js +0 -16
- package/dist/chunks/job-nv9gjhyw.js +0 -712
- package/dist/chunks/job-zn4b3ags.js +0 -539
- /package/dist/chunks/{job-0cgt0xh2.js → model-resolver-0cgt0xh2.js} +0 -0
- /package/dist/chunks/{job-0f48qthw.js → model-resolver-0f48qthw.js} +0 -0
- /package/dist/chunks/{job-0zz82cjq.js → model-resolver-0zz82cjq.js} +0 -0
- /package/dist/chunks/{job-1fb7bmpf.js → model-resolver-1fb7bmpf.js} +0 -0
- /package/dist/chunks/{job-1wcz8fvj.js → model-resolver-1wcz8fvj.js} +0 -0
- /package/dist/chunks/{job-2qdx6zz3.js → model-resolver-2qdx6zz3.js} +0 -0
- /package/dist/chunks/{job-2xb0r1c6.js → model-resolver-2xb0r1c6.js} +0 -0
- /package/dist/chunks/{job-39ktntah.js → model-resolver-39ktntah.js} +0 -0
- /package/dist/chunks/{job-3g3rpp2x.js → model-resolver-3g3rpp2x.js} +0 -0
- /package/dist/chunks/{job-3q6gbwmd.js → model-resolver-3q6gbwmd.js} +0 -0
- /package/dist/chunks/{job-3w3ybtfd.js → model-resolver-3w3ybtfd.js} +0 -0
- /package/dist/chunks/{job-47ty4mvs.js → model-resolver-47ty4mvs.js} +0 -0
- /package/dist/chunks/{job-4b2tz2m9.js → model-resolver-4b2tz2m9.js} +0 -0
- /package/dist/chunks/{job-5a5ch9ts.js → model-resolver-5a5ch9ts.js} +0 -0
- /package/dist/chunks/{job-5va1yh78.js → model-resolver-5va1yh78.js} +0 -0
- /package/dist/chunks/{job-61ek4hj9.js → model-resolver-61ek4hj9.js} +0 -0
- /package/dist/chunks/{job-69qrqpw0.js → model-resolver-69qrqpw0.js} +0 -0
- /package/dist/chunks/{job-6zqxzw0a.js → model-resolver-6zqxzw0a.js} +0 -0
- /package/dist/chunks/{job-7n9qwqk4.js → model-resolver-7n9qwqk4.js} +0 -0
- /package/dist/chunks/{job-8nn8kqcn.js → model-resolver-8nn8kqcn.js} +0 -0
- /package/dist/chunks/{job-8rpfd2h6.js → model-resolver-8rpfd2h6.js} +0 -0
- /package/dist/chunks/{job-8sj3ajy5.js → model-resolver-8sj3ajy5.js} +0 -0
- /package/dist/chunks/{job-8w9tzfz1.js → model-resolver-8w9tzfz1.js} +0 -0
- /package/dist/chunks/{job-906y0b6d.js → model-resolver-906y0b6d.js} +0 -0
- /package/dist/chunks/{job-9dct5xhx.js → model-resolver-9dct5xhx.js} +0 -0
- /package/dist/chunks/{job-9sdtsapf.js → model-resolver-9sdtsapf.js} +0 -0
- /package/dist/chunks/{job-a02svayp.js → model-resolver-a02svayp.js} +0 -0
- /package/dist/chunks/{job-a83yvq99.js → model-resolver-a83yvq99.js} +0 -0
- /package/dist/chunks/{job-ayevdmef.js → model-resolver-ayevdmef.js} +0 -0
- /package/dist/chunks/{job-b02txbh8.js → model-resolver-b02txbh8.js} +0 -0
- /package/dist/chunks/{job-bbqs2y60.js → model-resolver-bbqs2y60.js} +0 -0
- /package/dist/chunks/{job-bjwj8hwv.js → model-resolver-bjwj8hwv.js} +0 -0
- /package/dist/chunks/{job-brsh5f65.js → model-resolver-brsh5f65.js} +0 -0
- /package/dist/chunks/{job-bxdhjb3y.js → model-resolver-bxdhjb3y.js} +0 -0
- /package/dist/chunks/{job-c77ad0vh.js → model-resolver-c77ad0vh.js} +0 -0
- /package/dist/chunks/{job-ck5pgha0.js → model-resolver-ck5pgha0.js} +0 -0
- /package/dist/chunks/{job-cm67rqy2.js → model-resolver-cm67rqy2.js} +0 -0
- /package/dist/chunks/{job-df3v2q6j.js → model-resolver-df3v2q6j.js} +0 -0
- /package/dist/chunks/{job-dhcq6c44.js → model-resolver-dhcq6c44.js} +0 -0
- /package/dist/chunks/{job-dht5baf0.js → model-resolver-dht5baf0.js} +0 -0
- /package/dist/chunks/{job-dkmkay92.js → model-resolver-dkmkay92.js} +0 -0
- /package/dist/chunks/{job-drean1vx.js → model-resolver-drean1vx.js} +0 -0
- /package/dist/chunks/{job-ehj9csmv.js → model-resolver-ehj9csmv.js} +0 -0
- /package/dist/chunks/{job-em6xpscd.js → model-resolver-em6xpscd.js} +0 -0
- /package/dist/chunks/{job-emmqknsm.js → model-resolver-emmqknsm.js} +0 -0
- /package/dist/chunks/{job-ezs3tagn.js → model-resolver-ezs3tagn.js} +0 -0
- /package/dist/chunks/{job-f14r7hfz.js → model-resolver-f14r7hfz.js} +0 -0
- /package/dist/chunks/{job-f4cp4g4a.js → model-resolver-f4cp4g4a.js} +0 -0
- /package/dist/chunks/{job-faypg4r1.js → model-resolver-faypg4r1.js} +0 -0
- /package/dist/chunks/{job-fgbfdq62.js → model-resolver-fgbfdq62.js} +0 -0
- /package/dist/chunks/{job-gd5xeqc2.js → model-resolver-gd5xeqc2.js} +0 -0
- /package/dist/chunks/{job-ghm4673n.js → model-resolver-ghm4673n.js} +0 -0
- /package/dist/chunks/{job-ghwjy7my.js → model-resolver-ghwjy7my.js} +0 -0
- /package/dist/chunks/{job-gqn2zsfg.js → model-resolver-gqn2zsfg.js} +0 -0
- /package/dist/chunks/{job-gy500k2r.js → model-resolver-gy500k2r.js} +0 -0
- /package/dist/chunks/{job-hzeg9cfr.js → model-resolver-hzeg9cfr.js} +0 -0
- /package/dist/chunks/{job-j07kk359.js → model-resolver-j07kk359.js} +0 -0
- /package/dist/chunks/{job-jve7t217.js → model-resolver-jve7t217.js} +0 -0
- /package/dist/chunks/{job-k3e42drn.js → model-resolver-k3e42drn.js} +0 -0
- /package/dist/chunks/{job-k8b45nas.js → model-resolver-k8b45nas.js} +0 -0
- /package/dist/chunks/{job-kcacmy5c.js → model-resolver-kcacmy5c.js} +0 -0
- /package/dist/chunks/{job-kpdbz7gn.js → model-resolver-kpdbz7gn.js} +0 -0
- /package/dist/chunks/{job-kxy11nzk.js → model-resolver-kxy11nzk.js} +0 -0
- /package/dist/chunks/{job-kyyqvx4s.js → model-resolver-kyyqvx4s.js} +0 -0
- /package/dist/chunks/{job-m8cbvarh.js → model-resolver-m8cbvarh.js} +0 -0
- /package/dist/chunks/{job-ma60vzgv.js → model-resolver-ma60vzgv.js} +0 -0
- /package/dist/chunks/{job-n3m50c2t.js → model-resolver-n3m50c2t.js} +0 -0
- /package/dist/chunks/{job-nkm1m8dz.js → model-resolver-nkm1m8dz.js} +0 -0
- /package/dist/chunks/{job-nsc0c3zb.js → model-resolver-nsc0c3zb.js} +0 -0
- /package/dist/chunks/{job-qaarhjrp.js → model-resolver-qaarhjrp.js} +0 -0
- /package/dist/chunks/{job-qc167nrn.js → model-resolver-qc167nrn.js} +0 -0
- /package/dist/chunks/{job-qp95y4jb.js → model-resolver-qp95y4jb.js} +0 -0
- /package/dist/chunks/{job-r8f4w671.js → model-resolver-r8f4w671.js} +0 -0
- /package/dist/chunks/{job-rdfev9jy.js → model-resolver-rdfev9jy.js} +0 -0
- /package/dist/chunks/{job-rvfvac9x.js → model-resolver-rvfvac9x.js} +0 -0
- /package/dist/chunks/{job-s7whb9gt.js → model-resolver-s7whb9gt.js} +0 -0
- /package/dist/chunks/{job-se76j685.js → model-resolver-se76j685.js} +0 -0
- /package/dist/chunks/{job-sem2g21k.js → model-resolver-sem2g21k.js} +0 -0
- /package/dist/chunks/{job-sp575ygv.js → model-resolver-sp575ygv.js} +0 -0
- /package/dist/chunks/{job-tmb1f636.js → model-resolver-tmb1f636.js} +0 -0
- /package/dist/chunks/{job-ttxf0gsy.js → model-resolver-ttxf0gsy.js} +0 -0
- /package/dist/chunks/{job-tvmhrvfj.js → model-resolver-tvmhrvfj.js} +0 -0
- /package/dist/chunks/{job-v2adqbbe.js → model-resolver-v2adqbbe.js} +0 -0
- /package/dist/chunks/{job-wj4sxzqa.js → model-resolver-wj4sxzqa.js} +0 -0
- /package/dist/chunks/{job-wwntjmk1.js → model-resolver-wwntjmk1.js} +0 -0
- /package/dist/chunks/{job-wyqjaaa5.js → model-resolver-wyqjaaa5.js} +0 -0
- /package/dist/chunks/{job-x4q807cx.js → model-resolver-x4q807cx.js} +0 -0
- /package/dist/chunks/{job-xt0068v8.js → model-resolver-xt0068v8.js} +0 -0
- /package/dist/chunks/{job-yrqrg4vp.js → model-resolver-yrqrg4vp.js} +0 -0
- /package/dist/chunks/{job-z47nswr2.js → model-resolver-z47nswr2.js} +0 -0
- /package/dist/chunks/{job-zsf8rs93.js → model-resolver-zsf8rs93.js} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeDaemonTransport
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-gqn2zsfg.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_bus
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-7hhsvv9w.js";
|
|
7
7
|
import {
|
|
8
8
|
exports_database
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-55yy771n.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-rvfvac9x.js";
|
|
13
13
|
|
|
14
14
|
// src/persistent-pty/index.ts
|
|
15
15
|
var exports_persistent_pty = {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_provider
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-krsqcmnj.js";
|
|
4
4
|
import {
|
|
5
5
|
__require
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-rvfvac9x.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/google-vertex.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteArrayColumn,
|
|
3
3
|
absoluteColumn
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-zbqqnp0n.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-sem2g21k.js";
|
|
8
8
|
|
|
9
9
|
// src/project/sql.ts
|
|
10
10
|
import { isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import {
|
|
2
|
-
exports_question
|
|
3
|
-
} from "./job-67qnaq06.js";
|
|
4
1
|
import {
|
|
5
2
|
toLLMMessages
|
|
6
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-a9vdgkgd.js";
|
|
7
4
|
import {
|
|
8
5
|
exports_system_prompt
|
|
9
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-v80zsxnb.js";
|
|
10
7
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
8
|
+
exports_question
|
|
9
|
+
} from "./model-resolver-5cgt2bxg.js";
|
|
13
10
|
import {
|
|
14
11
|
exports_model_transport
|
|
15
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-d4ax61k3.js";
|
|
13
|
+
import {
|
|
14
|
+
exports_tool
|
|
15
|
+
} from "./model-resolver-1qf08dc2.js";
|
|
16
|
+
import {
|
|
17
|
+
exports_app
|
|
18
|
+
} from "./model-resolver-50jxp3hw.js";
|
|
16
19
|
import {
|
|
17
20
|
exports_permission
|
|
18
|
-
} from "./
|
|
21
|
+
} from "./model-resolver-zr9p7tag.js";
|
|
19
22
|
import {
|
|
20
23
|
exports_hooks
|
|
21
|
-
} from "./
|
|
22
|
-
import {
|
|
23
|
-
exports_app
|
|
24
|
-
} from "./job-50jxp3hw.js";
|
|
24
|
+
} from "./model-resolver-v2wshkax.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./model-resolver-rvfvac9x.js";
|
|
28
28
|
|
|
29
29
|
// src/session/model-request.ts
|
|
30
30
|
var exports_model_request = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_entry_observer
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-kp1t5rcy.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_config
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-n6kt309t.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-rvfvac9x.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/websearch.ts
|
|
12
12
|
var exports_websearch = {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_model
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-r13w8t0w.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_provider
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-krsqcmnj.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/openrouter.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./model-resolver-rvfvac9x.js";
|
|
4
|
+
|
|
5
|
+
// src/v1/permission.ts
|
|
6
|
+
var exports_permission = {};
|
|
7
|
+
__export(exports_permission, {
|
|
8
|
+
RejectedError: () => RejectedError,
|
|
9
|
+
PermissionV1: () => exports_permission,
|
|
10
|
+
NotFoundError: () => NotFoundError,
|
|
11
|
+
DeniedError: () => DeniedError,
|
|
12
|
+
CorrectedError: () => CorrectedError
|
|
13
|
+
});
|
|
14
|
+
import { Schema } from "effect";
|
|
15
|
+
|
|
16
|
+
export * from "@opencode-ai/schema/permission-v1";
|
|
17
|
+
import { ID } from "@opencode-ai/schema/permission-v1";
|
|
18
|
+
|
|
19
|
+
class RejectedError extends Schema.TaggedError()("PermissionRejectedError", {}) {
|
|
20
|
+
get message() {
|
|
21
|
+
return "The user rejected permission to use this specific tool call.";
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
class CorrectedError extends Schema.TaggedError()("PermissionCorrectedError", {
|
|
26
|
+
feedback: Schema.String
|
|
27
|
+
}) {
|
|
28
|
+
get message() {
|
|
29
|
+
return `The user rejected permission to use this specific tool call with the following feedback: ${this.feedback}`;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
class DeniedError extends Schema.TaggedError()("PermissionDeniedError", {
|
|
34
|
+
ruleset: Schema.Any
|
|
35
|
+
}) {
|
|
36
|
+
get message() {
|
|
37
|
+
return `The user has specified a rule which prevents you from using this specific tool call. Here are some of the relevant rules ${JSON.stringify(this.ruleset)}`;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
class NotFoundError extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
42
|
+
requestID: ID
|
|
43
|
+
}) {
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export { RejectedError, CorrectedError, DeniedError, NotFoundError, exports_permission };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_permission
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-zr9p7tag.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_state
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-x89rah0x.js";
|
|
7
7
|
import {
|
|
8
8
|
exports_bus
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-7hhsvv9w.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-rvfvac9x.js";
|
|
13
13
|
|
|
14
14
|
// src/skill.ts
|
|
15
15
|
var exports_skill = {};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_internal
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-y3s43asn.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_source
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-rrqkxxjp.js";
|
|
7
7
|
import {
|
|
8
8
|
exports_plugin
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-h763zy7b.js";
|
|
10
10
|
import {
|
|
11
11
|
Service
|
|
12
|
-
} from "./
|
|
13
|
-
import {
|
|
14
|
-
exports_module
|
|
15
|
-
} from "./job-75h1hfe2.js";
|
|
12
|
+
} from "./model-resolver-s33fw6zm.js";
|
|
16
13
|
import {
|
|
17
14
|
exports_sdk
|
|
18
|
-
} from "./
|
|
15
|
+
} from "./model-resolver-s9x5m3kb.js";
|
|
16
|
+
import {
|
|
17
|
+
exports_module
|
|
18
|
+
} from "./model-resolver-75h1hfe2.js";
|
|
19
19
|
import {
|
|
20
20
|
exports_bus
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./model-resolver-7hhsvv9w.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./model-resolver-rvfvac9x.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin/supervisor.ts
|
|
27
27
|
var exports_supervisor = {};
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_agent
|
|
3
|
-
} from "./
|
|
4
|
-
import {
|
|
5
|
-
exports_workspace
|
|
6
|
-
} from "./job-5zxzwffr.js";
|
|
3
|
+
} from "./model-resolver-1c7r7zzs.js";
|
|
7
4
|
import {
|
|
8
5
|
SessionSchema
|
|
9
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-bjwj8hwv.js";
|
|
7
|
+
import {
|
|
8
|
+
exports_model
|
|
9
|
+
} from "./model-resolver-r13w8t0w.js";
|
|
10
|
+
import {
|
|
11
|
+
exports_provider
|
|
12
|
+
} from "./model-resolver-krsqcmnj.js";
|
|
13
|
+
import {
|
|
14
|
+
exports_workspace
|
|
15
|
+
} from "./model-resolver-1hzaa9cx.js";
|
|
10
16
|
import {
|
|
11
17
|
exports_location
|
|
12
|
-
} from "./
|
|
18
|
+
} from "./model-resolver-dnf3rn1j.js";
|
|
13
19
|
import {
|
|
14
20
|
exports_project
|
|
15
|
-
} from "./
|
|
21
|
+
} from "./model-resolver-gx79gans.js";
|
|
16
22
|
import {
|
|
17
23
|
AbsolutePath,
|
|
18
24
|
RelativePath
|
|
19
|
-
} from "./
|
|
20
|
-
import {
|
|
21
|
-
exports_model
|
|
22
|
-
} from "./job-r13w8t0w.js";
|
|
23
|
-
import {
|
|
24
|
-
exports_provider
|
|
25
|
-
} from "./job-krsqcmnj.js";
|
|
25
|
+
} from "./model-resolver-j07kk359.js";
|
|
26
26
|
|
|
27
27
|
// src/session/info.ts
|
|
28
28
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,60 +1,69 @@
|
|
|
1
|
-
import {
|
|
2
|
-
exports_supervisor
|
|
3
|
-
} from "./job-awxbz613.js";
|
|
4
1
|
import {
|
|
5
2
|
exports_instructions as exports_instructions3
|
|
6
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-xxpvz42q.js";
|
|
4
|
+
import {
|
|
5
|
+
exports_model_request
|
|
6
|
+
} from "./model-resolver-8a8eker1.js";
|
|
7
|
+
import {
|
|
8
|
+
exports_builtins
|
|
9
|
+
} from "./model-resolver-n51v3fg0.js";
|
|
10
|
+
import {
|
|
11
|
+
exports_instructions as exports_instructions2
|
|
12
|
+
} from "./model-resolver-pbkwpytw.js";
|
|
7
13
|
import {
|
|
8
14
|
exports_instructions as exports_instructions5
|
|
9
|
-
} from "./
|
|
15
|
+
} from "./model-resolver-bymt1gaf.js";
|
|
10
16
|
import {
|
|
11
17
|
exports_instructions as exports_instructions4
|
|
12
|
-
} from "./
|
|
18
|
+
} from "./model-resolver-pebqs190.js";
|
|
13
19
|
import {
|
|
14
20
|
exports_mcp
|
|
15
|
-
} from "./
|
|
21
|
+
} from "./model-resolver-m3pxv7vy.js";
|
|
16
22
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
23
|
+
exports_supervisor
|
|
24
|
+
} from "./model-resolver-92c1hbn3.js";
|
|
19
25
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
26
|
+
exports_model as exports_model2
|
|
27
|
+
} from "./model-resolver-255r79nw.js";
|
|
28
|
+
import {
|
|
29
|
+
exports_instruction_entry
|
|
30
|
+
} from "./model-resolver-pwqf298r.js";
|
|
22
31
|
import {
|
|
23
32
|
exports_tool
|
|
24
|
-
} from "./
|
|
33
|
+
} from "./model-resolver-1qf08dc2.js";
|
|
25
34
|
import {
|
|
26
35
|
exports_instruction_discovery
|
|
27
|
-
} from "./
|
|
36
|
+
} from "./model-resolver-6ekv75fa.js";
|
|
28
37
|
import {
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
31
|
-
import {
|
|
32
|
-
exports_instruction_entry
|
|
33
|
-
} from "./job-tn0pfbrf.js";
|
|
38
|
+
exports_catalog
|
|
39
|
+
} from "./model-resolver-bpqydscm.js";
|
|
34
40
|
import {
|
|
35
41
|
exports_store
|
|
36
|
-
} from "./
|
|
42
|
+
} from "./model-resolver-qb7ktahy.js";
|
|
37
43
|
import {
|
|
38
44
|
exports_history
|
|
39
|
-
} from "./
|
|
45
|
+
} from "./model-resolver-yjkby015.js";
|
|
40
46
|
import {
|
|
41
47
|
AgentNotFoundError
|
|
42
|
-
} from "./
|
|
48
|
+
} from "./model-resolver-fb7nfzf2.js";
|
|
49
|
+
import {
|
|
50
|
+
exports_instructions
|
|
51
|
+
} from "./model-resolver-ec8vrfw5.js";
|
|
43
52
|
import {
|
|
44
53
|
exports_agent
|
|
45
|
-
} from "./
|
|
54
|
+
} from "./model-resolver-1c7r7zzs.js";
|
|
46
55
|
import {
|
|
47
|
-
|
|
48
|
-
} from "./
|
|
56
|
+
exports_model
|
|
57
|
+
} from "./model-resolver-r13w8t0w.js";
|
|
49
58
|
import {
|
|
50
59
|
exports_location
|
|
51
|
-
} from "./
|
|
60
|
+
} from "./model-resolver-dnf3rn1j.js";
|
|
52
61
|
import {
|
|
53
62
|
exports_database
|
|
54
|
-
} from "./
|
|
63
|
+
} from "./model-resolver-55yy771n.js";
|
|
55
64
|
import {
|
|
56
65
|
__export
|
|
57
|
-
} from "./
|
|
66
|
+
} from "./model-resolver-rvfvac9x.js";
|
|
58
67
|
|
|
59
68
|
// src/session/context.ts
|
|
60
69
|
var exports_context = {};
|
|
@@ -70,18 +79,51 @@ class Service extends Context.Service()("@opencode/SessionContext") {
|
|
|
70
79
|
var layer = Layer.effect(Service, Effect.gen(function* () {
|
|
71
80
|
const agents = yield* exports_agent.Service;
|
|
72
81
|
const builtins = yield* exports_builtins.Service;
|
|
82
|
+
const catalog = yield* exports_catalog.Service;
|
|
73
83
|
const db = (yield* exports_database.Service).db;
|
|
74
84
|
const discovery = yield* exports_instruction_discovery.Service;
|
|
75
85
|
const entries = yield* exports_instruction_entry.Service;
|
|
76
86
|
const location = yield* exports_location.Service;
|
|
77
87
|
const mcpInstructions = yield* exports_instructions4.Service;
|
|
78
88
|
const mcpTools = yield* exports_mcp.Service;
|
|
79
|
-
const models = yield*
|
|
89
|
+
const models = yield* exports_model2.Service;
|
|
90
|
+
const modelRequests = yield* exports_model_request.Service;
|
|
80
91
|
const plugins = yield* exports_supervisor.Service;
|
|
81
92
|
const referenceInstructions = yield* exports_instructions2.Service;
|
|
82
93
|
const skillInstructions = yield* exports_instructions5.Service;
|
|
83
94
|
const store = yield* exports_store.Service;
|
|
84
95
|
const registry = yield* exports_tool.Service;
|
|
96
|
+
const resolveModel = (session) => models.resolve(session, catalog.model.available);
|
|
97
|
+
const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
|
|
98
|
+
const agent = yield* agents.get(exports_agent.ID.make("title"));
|
|
99
|
+
if (!agent)
|
|
100
|
+
return;
|
|
101
|
+
const primary = yield* resolveModel(session).pipe(Effect.orElseSucceed(() => {
|
|
102
|
+
return;
|
|
103
|
+
}));
|
|
104
|
+
const info = yield* Effect.gen(function* () {
|
|
105
|
+
if (agent.model)
|
|
106
|
+
return yield* catalog.model.get(agent.model.providerID, agent.model.id);
|
|
107
|
+
if (!primary)
|
|
108
|
+
return;
|
|
109
|
+
return yield* catalog.model.small(primary.ref.providerID);
|
|
110
|
+
});
|
|
111
|
+
const variant = agent.model?.variant ?? MINIMAL_REASONING_VARIANTS.find((id) => info?.variants.some((item) => item.id === id));
|
|
112
|
+
const preferred = info && (yield* resolveModel({
|
|
113
|
+
...session,
|
|
114
|
+
model: exports_model.Ref.make({
|
|
115
|
+
providerID: info.providerID,
|
|
116
|
+
id: info.id,
|
|
117
|
+
...variant ? { variant } : {}
|
|
118
|
+
})
|
|
119
|
+
}).pipe(Effect.orElseSucceed(() => {
|
|
120
|
+
return;
|
|
121
|
+
})));
|
|
122
|
+
const selected = preferred ?? primary;
|
|
123
|
+
if (!selected)
|
|
124
|
+
return;
|
|
125
|
+
return { agent, primary, selected };
|
|
126
|
+
});
|
|
85
127
|
const select = Effect.fn("SessionContext.select")(function* (sessionID) {
|
|
86
128
|
const session = yield* store.get(sessionID);
|
|
87
129
|
if (!session)
|
|
@@ -118,7 +160,7 @@ var layer = Layer.effect(Service, Effect.gen(function* () {
|
|
|
118
160
|
};
|
|
119
161
|
});
|
|
120
162
|
const load = Effect.fn("SessionContext.load")(function* (selection) {
|
|
121
|
-
const model = yield*
|
|
163
|
+
const model = yield* resolveModel(selection.session);
|
|
122
164
|
const history = yield* exports_history.entriesForRunner(db, selection.session.id, selection.instructions);
|
|
123
165
|
return {
|
|
124
166
|
session: selection.session,
|
|
@@ -129,13 +171,15 @@ var layer = Layer.effect(Service, Effect.gen(function* () {
|
|
|
129
171
|
tools: selection.tools
|
|
130
172
|
};
|
|
131
173
|
});
|
|
132
|
-
return Service.of({ select, load });
|
|
174
|
+
return Service.of({ select, load, resolveModel, selectTitle, prepare: modelRequests.prepare });
|
|
133
175
|
}));
|
|
176
|
+
var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => exports_model.VariantID.make(id));
|
|
134
177
|
var node = makeLocationNode({
|
|
135
178
|
service: Service,
|
|
136
179
|
layer,
|
|
137
180
|
deps: [
|
|
138
181
|
exports_agent.node,
|
|
182
|
+
exports_catalog.node,
|
|
139
183
|
exports_database.node,
|
|
140
184
|
exports_builtins.node,
|
|
141
185
|
exports_instruction_discovery.node,
|
|
@@ -145,7 +189,8 @@ var node = makeLocationNode({
|
|
|
145
189
|
exports_mcp.node,
|
|
146
190
|
exports_supervisor.node,
|
|
147
191
|
exports_instructions2.node,
|
|
148
|
-
|
|
192
|
+
exports_model2.node,
|
|
193
|
+
exports_model_request.node,
|
|
149
194
|
exports_store.node,
|
|
150
195
|
exports_instructions5.node,
|
|
151
196
|
exports_tool.node
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_page
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-7mrpdsq5.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_app
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-50jxp3hw.js";
|
|
7
7
|
import {
|
|
8
8
|
exports_integration
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-3yrv3sh0.js";
|
|
10
10
|
import {
|
|
11
11
|
exports_credential
|
|
12
|
-
} from "./
|
|
13
|
-
import {
|
|
14
|
-
exports_bus
|
|
15
|
-
} from "./job-74sy20v2.js";
|
|
12
|
+
} from "./model-resolver-x2syzpyj.js";
|
|
16
13
|
import {
|
|
17
14
|
exports_provider
|
|
18
|
-
} from "./
|
|
15
|
+
} from "./model-resolver-krsqcmnj.js";
|
|
16
|
+
import {
|
|
17
|
+
exports_bus
|
|
18
|
+
} from "./model-resolver-7hhsvv9w.js";
|
|
19
19
|
import {
|
|
20
20
|
__require
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./model-resolver-rvfvac9x.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/openai.ts
|
|
24
24
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_source
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-rrqkxxjp.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_skill
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-8ynsv3dn.js";
|
|
7
7
|
import {
|
|
8
8
|
AbsolutePath
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-j07kk359.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-rvfvac9x.js";
|
|
13
13
|
|
|
14
14
|
// src/plugin/skill.ts
|
|
15
15
|
var exports_skill2 = {};
|
|
@@ -1,21 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-a83yvq99.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-rvfvac9x.js";
|
|
7
7
|
|
|
8
8
|
// src/session/runner/retry.ts
|
|
9
9
|
var exports_retry = {};
|
|
10
10
|
__export(exports_retry, {
|
|
11
11
|
schedule: () => schedule,
|
|
12
12
|
isRetryable: () => isRetryable,
|
|
13
|
-
SessionRunnerRetry: () => exports_retry
|
|
14
|
-
RetryableFailure: () => RetryableFailure
|
|
13
|
+
SessionRunnerRetry: () => exports_retry
|
|
15
14
|
});
|
|
16
|
-
import {
|
|
17
|
-
class RetryableFailure extends Data.TaggedError("SessionRunner.RetryableFailure") {
|
|
18
|
-
}
|
|
15
|
+
import { Duration, Effect, Schedule } from "effect";
|
|
19
16
|
function isRetryable(error) {
|
|
20
17
|
const override = "http" in error.reason ? error.reason.http?.response?.headers["x-should-retry"] : undefined;
|
|
21
18
|
if (override === "true")
|
|
@@ -43,21 +40,21 @@ function isRetryable(error) {
|
|
|
43
40
|
}
|
|
44
41
|
}
|
|
45
42
|
}
|
|
46
|
-
var retryAfter = (
|
|
47
|
-
if (
|
|
48
|
-
return
|
|
43
|
+
var retryAfter = (input) => {
|
|
44
|
+
if (input.cause.reason._tag === "RateLimit" || input.cause.reason._tag === "ProviderInternal")
|
|
45
|
+
return input.cause.reason.retryAfterMs;
|
|
49
46
|
return;
|
|
50
47
|
};
|
|
51
|
-
var schedule = (bus, sessionID
|
|
52
|
-
const minimum = retryAfter(
|
|
48
|
+
var schedule = (bus, sessionID) => Schedule.max([Schedule.exponential("2 seconds"), Schedule.recurs(4)]).pipe(Schedule.jittered, Schedule.setInputType(), Schedule.modifyDelay(({ input, duration: delay }) => {
|
|
49
|
+
const minimum = retryAfter(input);
|
|
53
50
|
const duration = minimum === undefined ? delay : Duration.max(delay, Duration.millis(minimum));
|
|
54
51
|
return Effect.succeed(Duration.millis(Math.ceil(Duration.toMillis(duration))));
|
|
55
52
|
}), Schedule.tap((metadata) => bus.publish(SessionEvent.RetryScheduled, {
|
|
56
53
|
sessionID,
|
|
57
|
-
assistantMessageID: assistantMessageID
|
|
54
|
+
assistantMessageID: metadata.input.assistantMessageID,
|
|
58
55
|
attempt: metadata.attempt + 1,
|
|
59
56
|
at: metadata.now + Duration.toMillis(metadata.duration),
|
|
60
57
|
error: metadata.input.error
|
|
61
58
|
})));
|
|
62
59
|
|
|
63
|
-
export {
|
|
60
|
+
export { isRetryable, schedule, exports_retry };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_skill
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-8ynsv3dn.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_permission
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-zr9p7tag.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-rvfvac9x.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/skill.ts
|
|
12
12
|
var exports_skill2 = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_config
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-n6kt309t.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_model
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-r13w8t0w.js";
|
|
7
7
|
import {
|
|
8
8
|
exports_provider
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-krsqcmnj.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/lmstudio.ts
|
|
12
12
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
@@ -141,7 +141,7 @@ var assistant = (message, model, providerMetadataKey) => {
|
|
|
141
141
|
text: item.text,
|
|
142
142
|
providerMetadata: providerMetadata(providerMetadataKey, item.state)
|
|
143
143
|
}
|
|
144
|
-
] : item.text.length > 0 ? [{ type: "text", text: item.text }] : [];
|
|
144
|
+
] : item.text.length > 0 ? [{ type: message.error === undefined ? "reasoning" : "text", text: item.text }] : [];
|
|
145
145
|
const reuseToolProviderMetadata = reuseProviderMetadata || sameModel && item.executed === true && (item.state.status === "completed" || item.state.status === "error");
|
|
146
146
|
const call = toolCall(item, reuseToolProviderMetadata ? providerMetadata(providerMetadataKey, item.providerState) : undefined);
|
|
147
147
|
if (item.executed !== true)
|