@opencode-ai/core 0.0.0-dev-19196 → 0.0.0-dev-19202
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{shell-qkar7ddm.js → model-resolver-01q1wmsg.js} +15 -15
- package/dist/chunks/{shell-ecqg7bmw.js → model-resolver-04nrqb8q.js} +18 -18
- package/dist/chunks/{shell-brg38b3f.js → model-resolver-0ancwgef.js} +5 -5
- package/dist/chunks/{shell-fkpvx5pg.js → model-resolver-0bhzd4d6.js} +42 -41
- package/dist/chunks/{shell-0e0xafbb.js → model-resolver-0e0xafbb.js} +2 -2
- package/dist/chunks/{shell-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
- package/dist/chunks/{shell-0q0f95c6.js → model-resolver-0q0f95c6.js} +1 -1
- package/dist/chunks/{shell-fe9mb3y1.js → model-resolver-0q56w8vj.js} +10 -10
- package/dist/chunks/{shell-6erngkvb.js → model-resolver-0qr0cjqp.js} +33 -33
- package/dist/chunks/{shell-0s9ayhjt.js → model-resolver-0s9ayhjt.js} +1 -1
- package/dist/chunks/{shell-kkqvv4hs.js → model-resolver-0vcgwdj5.js} +28 -28
- package/dist/chunks/{shell-zmjynawk.js → model-resolver-0xd2d7hb.js} +5 -5
- package/dist/chunks/{shell-4kjzcy7g.js → model-resolver-0xvppt2q.js} +15 -15
- package/dist/chunks/{shell-n3xn0h0f.js → model-resolver-15pjntb5.js} +15 -15
- package/dist/chunks/{shell-z8c5n9kb.js → model-resolver-16hj88rm.js} +11 -11
- package/dist/chunks/{shell-kyd4za44.js → model-resolver-1bwaarmf.js} +4 -4
- package/dist/chunks/{shell-1ct4r87x.js → model-resolver-1ct4r87x.js} +1 -1
- package/dist/chunks/{shell-jdnwrjf1.js → model-resolver-1hy241bm.js} +3 -3
- package/dist/chunks/{shell-pjy2hnng.js → model-resolver-1mvksd4s.js} +4 -4
- package/dist/chunks/{shell-xb5d6gcm.js → model-resolver-1nfczbs6.js} +26 -26
- package/dist/chunks/{shell-mg8hyy97.js → model-resolver-1rm0drdm.js} +2 -2
- package/dist/chunks/model-resolver-1tymz7y1.js +22 -0
- package/dist/chunks/{shell-35kceag9.js → model-resolver-1wj6fe6f.js} +43 -43
- package/dist/chunks/{shell-m3fm0fm8.js → model-resolver-1ydgq2r4.js} +5 -5
- package/dist/chunks/{shell-v97587cg.js → model-resolver-1zsnv1c7.js} +5 -5
- package/dist/chunks/{shell-21r38tys.js → model-resolver-21r38tys.js} +1 -1
- package/dist/chunks/{shell-2402vzrj.js → model-resolver-2402vzrj.js} +1 -1
- package/dist/chunks/{shell-7pb57fb0.js → model-resolver-25g0a3wm.js} +36 -36
- package/dist/chunks/{shell-05mkz72h.js → model-resolver-29vm76e6.js} +20 -20
- package/dist/chunks/{shell-29x78va6.js → model-resolver-29x78va6.js} +2 -2
- package/dist/chunks/{shell-2a5m3afh.js → model-resolver-2a5m3afh.js} +1 -1
- package/dist/chunks/{shell-4t7hsdzk.js → model-resolver-2ejk6t2t.js} +14 -14
- package/dist/chunks/{shell-78vzyx6d.js → model-resolver-2gqx3cqb.js} +12 -12
- package/dist/chunks/{shell-2ht70gj7.js → model-resolver-2ht70gj7.js} +1 -1
- package/dist/chunks/{shell-qgn6gcr1.js → model-resolver-2k8khapm.js} +5 -5
- package/dist/chunks/{shell-mmj01rc6.js → model-resolver-2m5rhxa5.js} +6 -6
- package/dist/chunks/{shell-enwn0tzc.js → model-resolver-2pgk7vty.js} +2 -2
- package/dist/chunks/{shell-p3e4re21.js → model-resolver-2w6bfmvf.js} +1 -1
- package/dist/chunks/{shell-8nkz5pt3.js → model-resolver-34rgtrgw.js} +10 -10
- package/dist/chunks/{shell-36vsdr69.js → model-resolver-36vsdr69.js} +2 -2
- package/dist/chunks/{shell-a6y0jgay.js → model-resolver-3b41mhr3.js} +9 -9
- package/dist/chunks/{shell-r99b7fbd.js → model-resolver-3cz2rdwz.js} +11 -11
- package/dist/chunks/{shell-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
- package/dist/chunks/{shell-417y9pm1.js → model-resolver-3g3bkchr.js} +4 -4
- package/dist/chunks/{shell-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
- package/dist/chunks/{shell-sxaj9jh7.js → model-resolver-3mrm2hwf.js} +8 -8
- package/dist/chunks/{shell-3qzbfqsy.js → model-resolver-3qzbfqsy.js} +2 -2
- package/dist/chunks/{shell-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
- package/dist/chunks/{shell-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
- package/dist/chunks/{shell-nv1z9knr.js → model-resolver-4325r94x.js} +3 -3
- package/dist/chunks/{shell-454k5vzh.js → model-resolver-454k5vzh.js} +1 -1
- package/dist/chunks/{shell-gfv1e1ds.js → model-resolver-45c840ky.js} +46 -46
- package/dist/chunks/{shell-2g7fb4sy.js → model-resolver-4hdyv2zw.js} +6 -6
- package/dist/chunks/{shell-6rjzzdxy.js → model-resolver-4kbdx47m.js} +3 -3
- package/dist/chunks/{shell-4r2nyarf.js → model-resolver-4r2nyarf.js} +1 -1
- package/dist/chunks/{shell-dvxcgtgp.js → model-resolver-52z9exmq.js} +29 -29
- package/dist/chunks/{shell-4wt00r3g.js → model-resolver-56293sgk.js} +9 -9
- package/dist/chunks/{shell-bmfd242v.js → model-resolver-57smdxt4.js} +20 -20
- package/dist/chunks/{shell-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
- package/dist/chunks/{shell-5fmxt4p5.js → model-resolver-5fmxt4p5.js} +1 -1
- package/dist/chunks/{shell-5jvc5tg2.js → model-resolver-5jvc5tg2.js} +1 -1
- package/dist/chunks/{shell-kv8syyjy.js → model-resolver-5mhvc9ws.js} +15 -15
- package/dist/chunks/{shell-xa232ce3.js → model-resolver-5qdzg6f9.js} +17 -17
- package/dist/chunks/{shell-jsdxtgmy.js → model-resolver-6926ty5t.js} +8 -8
- package/dist/chunks/{shell-fy2metxv.js → model-resolver-6atxajng.js} +84 -84
- package/dist/chunks/{shell-00pcw284.js → model-resolver-6bktjyyc.js} +13 -13
- package/dist/chunks/{shell-haggcxkj.js → model-resolver-6eq76p0n.js} +9 -9
- package/dist/chunks/{shell-c88sz3qs.js → model-resolver-6ks5kqks.js} +16 -16
- package/dist/chunks/{shell-eye58hw2.js → model-resolver-6rb05nrd.js} +19 -19
- package/dist/chunks/{shell-jphw73by.js → model-resolver-6tt6g98m.js} +20 -20
- package/dist/chunks/{shell-g52wq5zw.js → model-resolver-6yj45qfn.js} +4 -4
- package/dist/chunks/{shell-711hfp6y.js → model-resolver-711hfp6y.js} +2 -2
- package/dist/chunks/{shell-72nftnjy.js → model-resolver-72nftnjy.js} +2 -2
- package/dist/chunks/{shell-14s8ve6g.js → model-resolver-768z0hjh.js} +1 -1
- package/dist/chunks/{shell-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
- package/dist/chunks/{shell-y68jbn75.js → model-resolver-7cm3k2ba.js} +16 -16
- package/dist/chunks/{shell-nsw1yxtn.js → model-resolver-7fjq4tnf.js} +18 -18
- package/dist/chunks/{shell-ywcb5etp.js → model-resolver-7wxchhek.js} +40 -57
- package/dist/chunks/{shell-7yp0j7my.js → model-resolver-7x9n72sf.js} +13 -13
- package/dist/chunks/{shell-k37p1w3a.js → model-resolver-84vg3atq.js} +7 -7
- package/dist/chunks/{shell-08gqv4wh.js → model-resolver-85mg7hhh.js} +27 -27
- package/dist/chunks/{shell-7r4ym1qc.js → model-resolver-8arm59qw.js} +26 -26
- package/dist/chunks/{shell-84ws7vk9.js → model-resolver-8b66w0av.js} +31 -31
- package/dist/chunks/{shell-d6se384q.js → model-resolver-8bcbmssv.js} +17 -17
- package/dist/chunks/{shell-7vcgspzg.js → model-resolver-8na2q2w3.js} +32 -32
- package/dist/chunks/{shell-v9mxw17g.js → model-resolver-8rk7xmhz.js} +30 -30
- package/dist/chunks/{shell-3w01mqch.js → model-resolver-8vfmqbrd.js} +23 -23
- package/dist/chunks/{shell-y2cqme3r.js → model-resolver-93a8yfjt.js} +5 -5
- package/dist/chunks/{shell-mtcjf44p.js → model-resolver-97f5v037.js} +4 -4
- package/dist/chunks/model-resolver-9ccst39j.js +460 -0
- package/dist/chunks/{shell-hay8k9wj.js → model-resolver-9cnab95r.js} +24 -24
- package/dist/chunks/{shell-9qm9egsn.js → model-resolver-9qm9egsn.js} +2 -2
- package/dist/chunks/{shell-ctd4qdmr.js → model-resolver-9tjsbxxt.js} +4 -4
- package/dist/chunks/{shell-7908ykgb.js → model-resolver-9z09jxjk.js} +5 -5
- package/dist/chunks/{shell-k0zgeteb.js → model-resolver-a12rb003.js} +21 -21
- package/dist/chunks/{shell-2sfwn1pw.js → model-resolver-a75v1xyy.js} +11 -11
- package/dist/chunks/{shell-3f9n5hdq.js → model-resolver-a9c7wcwq.js} +12 -12
- package/dist/chunks/{shell-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
- package/dist/chunks/{shell-0xzew176.js → model-resolver-agpxhpem.js} +46 -46
- package/dist/chunks/{shell-ajtjthsy.js → model-resolver-ajtjthsy.js} +2 -2
- package/dist/chunks/{shell-037vejbr.js → model-resolver-amhrny11.js} +14 -14
- package/dist/chunks/{shell-bct739vz.js → model-resolver-an7cqtb7.js} +4 -4
- package/dist/chunks/{shell-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
- package/dist/chunks/{shell-b9wsbatv.js → model-resolver-b9wsbatv.js} +1 -1
- package/dist/chunks/{shell-ckv8rq3a.js → model-resolver-bc3eevve.js} +15 -15
- package/dist/chunks/{shell-gr7vg3y5.js → model-resolver-bfenx2tw.js} +4 -4
- package/dist/chunks/{shell-bsvvsrn1.js → model-resolver-bphmvjfp.js} +5 -5
- package/dist/chunks/{shell-7t18mxkv.js → model-resolver-bta0rsxr.js} +3 -3
- package/dist/chunks/{shell-42t0dhr4.js → model-resolver-c05z1hzq.js} +7 -7
- package/dist/chunks/{shell-d67bzqbb.js → model-resolver-c1pc5gy5.js} +9 -9
- package/dist/chunks/{shell-bpyk2zgp.js → model-resolver-c76spgvt.js} +6 -6
- package/dist/chunks/{shell-w2fyyd5g.js → model-resolver-cp47cn18.js} +34 -34
- package/dist/chunks/{shell-djytekme.js → model-resolver-cvvv77jg.js} +29 -29
- package/dist/chunks/{shell-1sfe7ky6.js → model-resolver-d1a1bt21.js} +5 -5
- package/dist/chunks/{shell-32wdy755.js → model-resolver-d44mvk5w.js} +6 -6
- package/dist/chunks/{shell-d72308c8.js → model-resolver-d72308c8.js} +2 -2
- package/dist/chunks/{shell-585qr39b.js → model-resolver-d9hq9bdj.js} +9 -9
- package/dist/chunks/{shell-66zzpgw2.js → model-resolver-daj0k9by.js} +37 -37
- package/dist/chunks/{shell-qwjbpryz.js → model-resolver-dd6t7n6p.js} +16 -16
- package/dist/chunks/{shell-m70sbz6t.js → model-resolver-dhmh7aw6.js} +4 -4
- package/dist/chunks/{shell-gp91837t.js → model-resolver-dhsttevq.js} +20 -20
- package/dist/chunks/{shell-v63mh1hy.js → model-resolver-dkbgd4kx.js} +11 -11
- package/dist/chunks/{shell-ejmkr9z7.js → model-resolver-ds7ysbcx.js} +48 -48
- package/dist/chunks/{shell-sfrccsk6.js → model-resolver-ebpav8ht.js} +33 -33
- package/dist/chunks/{shell-7sqp221s.js → model-resolver-eg4pr325.js} +10 -10
- package/dist/chunks/{shell-wgz7hchk.js → model-resolver-f2gse5fy.js} +6 -6
- package/dist/chunks/{shell-n7p3q306.js → model-resolver-f2t11rgb.js} +17 -17
- package/dist/chunks/{shell-sykc9y4a.js → model-resolver-fepbnb8j.js} +5 -5
- package/dist/chunks/{shell-a46v4e4v.js → model-resolver-fm2qvscf.js} +4 -4
- package/dist/chunks/{shell-fxbjtjnd.js → model-resolver-fxbjtjnd.js} +1 -1
- package/dist/chunks/{shell-fxypknc8.js → model-resolver-fxypknc8.js} +1 -1
- package/dist/chunks/{shell-vtq1wfzg.js → model-resolver-fy6n5twb.js} +4 -4
- package/dist/chunks/{shell-1n116cmy.js → model-resolver-fz1pdqz4.js} +9 -9
- package/dist/chunks/{shell-fzajb8v1.js → model-resolver-fzs22wv3.js} +12 -12
- package/dist/chunks/{shell-fr5cx72t.js → model-resolver-g1qbfqak.js} +81 -81
- package/dist/chunks/{shell-k1w98zgr.js → model-resolver-g869pf5g.js} +8 -8
- package/dist/chunks/{shell-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
- package/dist/chunks/{shell-98fez8vh.js → model-resolver-gfbnzf5x.js} +25 -25
- package/dist/chunks/{shell-gqs2vad9.js → model-resolver-gpvbfbv1.js} +15 -15
- package/dist/chunks/{shell-zsf5n11x.js → model-resolver-gsfshahz.js} +20 -20
- package/dist/chunks/{shell-b4xf332k.js → model-resolver-gt3w77ph.js} +27 -27
- package/dist/chunks/{shell-zqyb8yat.js → model-resolver-gww66jkq.js} +22 -22
- package/dist/chunks/{shell-ew0tmsyp.js → model-resolver-gxc2v2ks.js} +11 -11
- package/dist/chunks/{shell-xjy0arej.js → model-resolver-h4ka1g8b.js} +54 -54
- package/dist/chunks/{shell-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
- package/dist/chunks/{shell-9cbk0p5b.js → model-resolver-h8f15ghy.js} +32 -32
- package/dist/chunks/{shell-21ahhajh.js → model-resolver-haqbnmr5.js} +4 -4
- package/dist/chunks/{shell-yd426xvt.js → model-resolver-hdfh4kmr.js} +9 -9
- package/dist/chunks/{shell-heyhwy2w.js → model-resolver-heyhwy2w.js} +1 -1
- package/dist/chunks/{shell-dyrfwbsh.js → model-resolver-hgwc40d2.js} +21 -21
- package/dist/chunks/{shell-hjjb040h.js → model-resolver-hm42kar1.js} +4 -4
- package/dist/chunks/{shell-hrvm11jt.js → model-resolver-hrvm11jt.js} +3 -3
- package/dist/chunks/{shell-43q760fm.js → model-resolver-jjv4cws2.js} +7 -7
- package/dist/chunks/{shell-k2qp0rt7.js → model-resolver-jnmmvqjs.js} +1 -1
- package/dist/chunks/{shell-r48p3yav.js → model-resolver-jpwcqcav.js} +1 -1
- package/dist/chunks/{shell-9yjbvttw.js → model-resolver-jq2p7hez.js} +25 -25
- package/dist/chunks/model-resolver-jqh9b0xq.js +18 -0
- package/dist/chunks/{shell-yc67yyny.js → model-resolver-jrr570aw.js} +9 -9
- package/dist/chunks/{shell-rca1y2wr.js → model-resolver-jtb47g3a.js} +15 -15
- package/dist/chunks/{shell-xhfw6gwk.js → model-resolver-k22h4khz.js} +12 -12
- package/dist/chunks/{shell-k4bwy1x5.js → model-resolver-k4bwy1x5.js} +1 -1
- package/dist/chunks/{shell-1mrma768.js → model-resolver-ka1d01ec.js} +5 -5
- package/dist/chunks/{shell-1s3v4p4d.js → model-resolver-kbfs3jn6.js} +15 -15
- package/dist/chunks/{shell-kg06axw8.js → model-resolver-kg06axw8.js} +1 -1
- package/dist/chunks/{shell-kvsjn1dr.js → model-resolver-kvsjn1dr.js} +2 -2
- package/dist/chunks/{shell-04pvrnvk.js → model-resolver-kwfjfb3x.js} +29 -29
- package/dist/chunks/{shell-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
- package/dist/chunks/{shell-6abnk40k.js → model-resolver-mfqp6xfm.js} +8 -8
- package/dist/chunks/{shell-2xs51w6t.js → model-resolver-mh7ehz1v.js} +21 -21
- package/dist/chunks/model-resolver-mj9y1f9w.js +193 -0
- package/dist/chunks/{shell-aybqrser.js → model-resolver-mrca8mn9.js} +17 -17
- package/dist/chunks/{shell-mvfsc1pv.js → model-resolver-mvfsc1pv.js} +1 -1
- package/dist/chunks/{shell-myqn1vwn.js → model-resolver-n0qm516r.js} +7 -7
- package/dist/chunks/{shell-9sy3m4ps.js → model-resolver-n52wrphd.js} +20 -20
- package/dist/chunks/{shell-pxcwkz2f.js → model-resolver-n7z8rwmy.js} +15 -15
- package/dist/chunks/{shell-zhrc5y8g.js → model-resolver-n8qe30xq.js} +9 -9
- package/dist/chunks/{shell-4xew0z44.js → model-resolver-n9whx688.js} +3 -3
- package/dist/chunks/{shell-nhy5jxhy.js → model-resolver-nhy5jxhy.js} +1 -1
- package/dist/chunks/{shell-ze4dnq9c.js → model-resolver-nj1fe1jb.js} +4 -4
- package/dist/chunks/{shell-g3m9axkp.js → model-resolver-nv1jjwpd.js} +4 -4
- package/dist/chunks/{shell-9ap403n6.js → model-resolver-nvecvfg1.js} +34 -34
- package/dist/chunks/{shell-06337yqs.js → model-resolver-p3a8ybaq.js} +5 -5
- package/dist/chunks/model-resolver-p6v8s9en.js +247 -0
- package/dist/chunks/{shell-nmgddbg4.js → model-resolver-pae9v2p1.js} +8 -8
- package/dist/chunks/{shell-9gfdxbs4.js → model-resolver-pbk0bgfv.js} +2 -2
- package/dist/chunks/{shell-gzbkpp9m.js → model-resolver-pjedbq3k.js} +4 -4
- package/dist/chunks/{shell-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
- package/dist/chunks/{shell-sjn9e3ew.js → model-resolver-pk1prh3n.js} +11 -11
- package/dist/chunks/{shell-pknna89w.js → model-resolver-pknna89w.js} +1 -1
- package/dist/chunks/{shell-2x7hewgh.js → model-resolver-pmt5dx08.js} +44 -44
- package/dist/chunks/{shell-zfnpc7fv.js → model-resolver-pt7wq7x0.js} +1 -1
- package/dist/chunks/{shell-44x7fxmt.js → model-resolver-pyj5p63s.js} +10 -10
- package/dist/chunks/{shell-vqcnb6e5.js → model-resolver-pzkjnmpb.js} +13 -13
- package/dist/chunks/{shell-j1pm0kh5.js → model-resolver-q5kb97vr.js} +11 -11
- package/dist/chunks/{shell-cg0d0972.js → model-resolver-q5pkwzxb.js} +15 -15
- package/dist/chunks/{shell-kz8th6jy.js → model-resolver-qq0tkz6q.js} +2 -2
- package/dist/chunks/{shell-yykyxftz.js → model-resolver-qqmc633y.js} +11 -11
- package/dist/chunks/{shell-4c5k13je.js → model-resolver-qs4avvkb.js} +1 -1
- package/dist/chunks/{shell-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
- package/dist/chunks/{shell-hmeey3k9.js → model-resolver-qvpg2584.js} +11 -11
- package/dist/chunks/{shell-0gaj4617.js → model-resolver-qz49fwgp.js} +4 -4
- package/dist/chunks/{shell-1kmw8bw9.js → model-resolver-r67ewn20.js} +8 -8
- package/dist/chunks/{shell-r8dhm0tv.js → model-resolver-r8dhm0tv.js} +1 -1
- package/dist/chunks/{shell-f2n192rq.js → model-resolver-r8xr0va3.js} +4 -4
- package/dist/chunks/{shell-2xph78ty.js → model-resolver-rd9dg6mx.js} +11 -11
- package/dist/chunks/{shell-7qtxbs4b.js → model-resolver-rese3z7z.js} +6 -6
- package/dist/chunks/{shell-2yk8myve.js → model-resolver-rfwpvx00.js} +41 -41
- package/dist/chunks/{shell-80bfyqqz.js → model-resolver-rmgpg45v.js} +24 -24
- package/dist/chunks/{shell-hc4b3kyg.js → model-resolver-rvb2zp0m.js} +4 -4
- package/dist/chunks/{shell-fcxhebz1.js → model-resolver-rz6a3sbe.js} +22 -22
- package/dist/chunks/{shell-5ewtbtr0.js → model-resolver-sb2pm13j.js} +32 -32
- package/dist/chunks/{shell-sba4qhjf.js → model-resolver-sba4qhjf.js} +1 -1
- package/dist/chunks/{shell-ts3fz7sh.js → model-resolver-sjdwkfxd.js} +32 -32
- package/dist/chunks/{shell-fehrn2qm.js → model-resolver-smjktvs8.js} +6 -6
- package/dist/chunks/{shell-ysjs28ey.js → model-resolver-smnvvzmt.js} +15 -15
- package/dist/chunks/{shell-g47dvf5d.js → model-resolver-t044qcb6.js} +9 -9
- package/dist/chunks/{shell-ga1tzhpe.js → model-resolver-t35vvjm0.js} +11 -11
- package/dist/chunks/{shell-mek50901.js → model-resolver-t6yc1zyn.js} +6 -6
- package/dist/chunks/{shell-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
- package/dist/chunks/{shell-vcnd030r.js → model-resolver-tbhhj5cs.js} +15 -15
- package/dist/chunks/{shell-tcezcvh9.js → model-resolver-tcezcvh9.js} +1 -1
- package/dist/chunks/{shell-y7w5kr51.js → model-resolver-tcfdn8aw.js} +24 -24
- package/dist/chunks/{shell-tjykrgmx.js → model-resolver-tjykrgmx.js} +1 -1
- package/dist/chunks/{shell-q39pj94r.js → model-resolver-tkb4f2r7.js} +15 -15
- package/dist/chunks/{shell-vwvvp157.js → model-resolver-tppvcy65.js} +9 -9
- package/dist/chunks/{shell-f086nceb.js → model-resolver-trt9khgc.js} +24 -24
- package/dist/chunks/{shell-sh0vnv2k.js → model-resolver-ve9vvn65.js} +18 -18
- package/dist/chunks/{shell-vh4awg6g.js → model-resolver-vhpw989j.js} +16 -16
- package/dist/chunks/{shell-4b5qqsbn.js → model-resolver-vj55tknd.js} +8 -8
- package/dist/chunks/{shell-vn3xvc40.js → model-resolver-vn39pvqa.js} +37 -37
- package/dist/chunks/{shell-2r4smnpn.js → model-resolver-vqebmn7g.js} +19 -19
- package/dist/chunks/{shell-1xtfawcg.js → model-resolver-vr2m7p38.js} +32 -32
- package/dist/chunks/model-resolver-w3vb4krt.js +4 -0
- package/dist/chunks/{shell-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
- package/dist/chunks/{shell-xyxtpgsf.js → model-resolver-w5fe4zgf.js} +23 -23
- package/dist/chunks/{shell-r9fqtgme.js → model-resolver-w7krw9hh.js} +10 -10
- package/dist/chunks/{shell-gc168ysg.js → model-resolver-w991kqb0.js} +14 -14
- package/dist/chunks/{shell-v4r0s993.js → model-resolver-wcav6c40.js} +13 -13
- package/dist/chunks/{shell-wd87259q.js → model-resolver-wd87259q.js} +1 -1
- package/dist/chunks/{shell-2ty14fk8.js → model-resolver-wfwqxwhj.js} +9 -9
- package/dist/chunks/{shell-ky97vkm0.js → model-resolver-wgt7v56c.js} +19 -19
- package/dist/chunks/{shell-3wkxvcm2.js → model-resolver-whrpd8wj.js} +5 -5
- package/dist/chunks/{shell-x02ksyz9.js → model-resolver-wkm999c9.js} +14 -14
- package/dist/chunks/{shell-1a5eqtf0.js → model-resolver-wnhc2w01.js} +16 -16
- package/dist/chunks/{shell-0qkbcjwh.js → model-resolver-wr9ysm64.js} +9 -9
- package/dist/chunks/{shell-x1ezjp6w.js → model-resolver-x1ezjp6w.js} +1 -1
- package/dist/chunks/{shell-aszbaj7g.js → model-resolver-x5da3ets.js} +15 -15
- package/dist/chunks/{shell-4192f9pk.js → model-resolver-xaspcyx5.js} +166 -166
- package/dist/chunks/{shell-70b0rhqw.js → model-resolver-xb1yhede.js} +15 -15
- package/dist/chunks/{shell-gw8yqzg5.js → model-resolver-xd1gj6jr.js} +9 -9
- package/dist/chunks/{shell-bvc9822d.js → model-resolver-xf29bhrb.js} +29 -29
- package/dist/chunks/{shell-bhmtg2kj.js → model-resolver-xft3xkxh.js} +11 -11
- package/dist/chunks/{shell-jjz9kdpw.js → model-resolver-xgb46x83.js} +32 -32
- package/dist/chunks/{shell-jzz3abdx.js → model-resolver-xjfjd024.js} +17 -17
- package/dist/chunks/{shell-8tbsk23y.js → model-resolver-xr5vwsd4.js} +9 -9
- package/dist/chunks/{shell-fk8hrt4z.js → model-resolver-xz4sbw44.js} +54 -54
- package/dist/chunks/{shell-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
- package/dist/chunks/{shell-y71avatq.js → model-resolver-y71avatq.js} +1 -1
- package/dist/chunks/{shell-8gfg9fa9.js → model-resolver-y86ghdgz.js} +3 -3
- package/dist/chunks/{shell-bb0kg1q4.js → model-resolver-ybnqsmq7.js} +9 -9
- package/dist/chunks/{shell-8tzngw7b.js → model-resolver-ye01600q.js} +20 -20
- package/dist/chunks/{shell-kk3rr3qh.js → model-resolver-yfbd16n1.js} +5 -5
- package/dist/chunks/{shell-9y1phk8d.js → model-resolver-yj3e99fm.js} +1 -1
- package/dist/chunks/{shell-93wwsra1.js → model-resolver-ymmafesq.js} +5 -5
- package/dist/chunks/{shell-7gfpemw6.js → model-resolver-ypg1pkf2.js} +6 -6
- package/dist/chunks/{shell-sraw6zer.js → model-resolver-yvnsnb9v.js} +24 -24
- package/dist/chunks/{shell-kryk1pph.js → model-resolver-yzxcxw3p.js} +11 -11
- package/dist/chunks/{shell-z1k01bn4.js → model-resolver-z1k01bn4.js} +2 -2
- package/dist/chunks/{shell-0ar19swb.js → model-resolver-z3h7hm3n.js} +4 -4
- package/dist/chunks/{shell-xaf20by6.js → model-resolver-z79mad95.js} +15 -15
- package/dist/chunks/{shell-hzxz3qkz.js → model-resolver-z8jfykz0.js} +10 -10
- package/dist/chunks/{shell-7nprwmah.js → model-resolver-z9pdm7mn.js} +43 -43
- package/dist/chunks/{shell-6ym5me7r.js → model-resolver-zajwd6at.js} +5 -5
- package/dist/chunks/{shell-5mxx68d3.js → model-resolver-zf2pwqth.js} +10 -10
- package/dist/chunks/{shell-ya0kqzg7.js → model-resolver-zgza400y.js} +7 -7
- package/dist/chunks/{shell-h5wpvtxr.js → model-resolver-zhptab2p.js} +4 -4
- package/dist/chunks/{shell-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +115 -115
- package/dist/config/plugin/command.js +206 -206
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +133 -133
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +111 -111
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +111 -111
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +79 -79
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +359 -359
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +68 -68
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +219 -219
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +94 -94
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +82 -82
- package/dist/generate.js +93 -93
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +7 -7
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +350 -350
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +75 -75
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +129 -129
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +347 -347
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +121 -121
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +4 -4
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +103 -103
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +96 -96
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +321 -321
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +96 -96
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +115 -115
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +76 -76
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +336 -336
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +3 -3
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +74 -74
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +77 -77
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +122 -122
- package/dist/session/context.js +146 -146
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +215 -215
- package/dist/session/execution.js +121 -121
- package/dist/session/generate.js +147 -147
- package/dist/session/history.js +12 -12
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +91 -91
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +110 -110
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +125 -125
- package/dist/session/projector.js +82 -82
- package/dist/session/prompt.js +99 -99
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +120 -120
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +168 -168
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +204 -204
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +144 -144
- package/dist/session/to-session-error.js +106 -106
- package/dist/session/transfer.js +209 -209
- package/dist/session/usage.js +1 -1
- package/dist/session.js +208 -208
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +102 -102
- package/dist/snapshot.js +86 -86
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +120 -120
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +117 -117
- package/dist/tool/plugin/grep.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +97 -97
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +205 -205
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +207 -207
- package/dist/tool/plugin/webfetch.js +104 -104
- package/dist/tool/plugin/websearch.js +100 -100
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/types/plugin/websearch/mcp.d.ts +1 -1
- package/dist/types/project/schema.d.ts +1 -0
- package/dist/types/project.d.ts +1 -0
- package/dist/types/websearch.d.ts +5 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +78 -78
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +337 -337
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +7 -7
- package/dist/chunks/shell-7zk4hah4.js +0 -4
- package/dist/chunks/shell-8y6r9mz6.js +0 -22
- package/dist/chunks/shell-b7pyt6aj.js +0 -460
- package/dist/chunks/shell-bgee90x3.js +0 -138
- package/dist/chunks/shell-dxj72tfx.js +0 -18
- package/dist/chunks/shell-wpc0p36r.js +0 -247
- /package/dist/chunks/{shell-0fabt78z.js → model-resolver-0fabt78z.js} +0 -0
- /package/dist/chunks/{shell-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{shell-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
- /package/dist/chunks/{shell-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
- /package/dist/chunks/{shell-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
- /package/dist/chunks/{shell-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{shell-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
- /package/dist/chunks/{shell-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
- /package/dist/chunks/{shell-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{shell-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
- /package/dist/chunks/{shell-3asan66x.js → model-resolver-3asan66x.js} +0 -0
- /package/dist/chunks/{shell-3t738kvx.js → model-resolver-3t738kvx.js} +0 -0
- /package/dist/chunks/{shell-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
- /package/dist/chunks/{shell-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
- /package/dist/chunks/{shell-41nvscxy.js → model-resolver-41nvscxy.js} +0 -0
- /package/dist/chunks/{shell-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
- /package/dist/chunks/{shell-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
- /package/dist/chunks/{shell-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
- /package/dist/chunks/{shell-53557ph1.js → model-resolver-53557ph1.js} +0 -0
- /package/dist/chunks/{shell-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
- /package/dist/chunks/{shell-6prwharc.js → model-resolver-6prwharc.js} +0 -0
- /package/dist/chunks/{shell-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
- /package/dist/chunks/{shell-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
- /package/dist/chunks/{shell-822emrt2.js → model-resolver-822emrt2.js} +0 -0
- /package/dist/chunks/{shell-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
- /package/dist/chunks/{shell-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
- /package/dist/chunks/{shell-982e01ww.js → model-resolver-982e01ww.js} +0 -0
- /package/dist/chunks/{shell-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
- /package/dist/chunks/{shell-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{shell-a1tpkmh4.js → model-resolver-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{shell-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
- /package/dist/chunks/{shell-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
- /package/dist/chunks/{shell-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{shell-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
- /package/dist/chunks/{shell-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{shell-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{shell-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
- /package/dist/chunks/{shell-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{shell-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
- /package/dist/chunks/{shell-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{shell-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
- /package/dist/chunks/{shell-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
- /package/dist/chunks/{shell-df08tz66.js → model-resolver-df08tz66.js} +0 -0
- /package/dist/chunks/{shell-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
- /package/dist/chunks/{shell-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
- /package/dist/chunks/{shell-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
- /package/dist/chunks/{shell-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
- /package/dist/chunks/{shell-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
- /package/dist/chunks/{shell-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
- /package/dist/chunks/{shell-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{shell-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
- /package/dist/chunks/{shell-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
- /package/dist/chunks/{shell-fxgpk5d8.js → model-resolver-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{shell-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
- /package/dist/chunks/{shell-g86h250q.js → model-resolver-g86h250q.js} +0 -0
- /package/dist/chunks/{shell-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
- /package/dist/chunks/{shell-hk9envan.js → model-resolver-hk9envan.js} +0 -0
- /package/dist/chunks/{shell-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
- /package/dist/chunks/{shell-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{shell-j935v87r.js → model-resolver-j935v87r.js} +0 -0
- /package/dist/chunks/{shell-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{shell-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{shell-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{shell-mntxs535.js → model-resolver-mntxs535.js} +0 -0
- /package/dist/chunks/{shell-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
- /package/dist/chunks/{shell-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
- /package/dist/chunks/{shell-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
- /package/dist/chunks/{shell-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
- /package/dist/chunks/{shell-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
- /package/dist/chunks/{shell-p8qxwesx.js → model-resolver-p8qxwesx.js} +0 -0
- /package/dist/chunks/{shell-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
- /package/dist/chunks/{shell-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
- /package/dist/chunks/{shell-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
- /package/dist/chunks/{shell-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
- /package/dist/chunks/{shell-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
- /package/dist/chunks/{shell-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
- /package/dist/chunks/{shell-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{shell-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{shell-se0s1eqw.js → model-resolver-se0s1eqw.js} +0 -0
- /package/dist/chunks/{shell-sk3qaz4a.js → model-resolver-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{shell-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
- /package/dist/chunks/{shell-twg0f83k.js → model-resolver-twg0f83k.js} +0 -0
- /package/dist/chunks/{shell-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
- /package/dist/chunks/{shell-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
- /package/dist/chunks/{shell-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
- /package/dist/chunks/{shell-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
- /package/dist/chunks/{shell-x1b8g1yb.js → model-resolver-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{shell-x61499pn.js → model-resolver-x61499pn.js} +0 -0
- /package/dist/chunks/{shell-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
- /package/dist/chunks/{shell-y8cydn3q.js → model-resolver-y8cydn3q.js} +0 -0
- /package/dist/chunks/{shell-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{shell-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
- /package/dist/chunks/{shell-zbjnn3ac.js → model-resolver-zbjnn3ac.js} +0 -0
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-qvpg2584.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID16,
|
|
6
6
|
isAISDK2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-rvb2zp0m.js";
|
|
8
8
|
import {
|
|
9
9
|
iife2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-1kg9ymc8.js";
|
|
11
11
|
import {
|
|
12
12
|
configuredSettings2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-jjv4cws2.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
16
16
|
import os from "os";
|
|
17
17
|
import { Effect } from "effect";
|
|
18
18
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
19
19
|
import { Form } from "@opencode-ai/schema/form";
|
|
20
|
-
var providerID =
|
|
20
|
+
var providerID = ID16.make("cloudflare-workers-ai");
|
|
21
21
|
var CloudflareWorkersAIPlugin2 = define({
|
|
22
22
|
id: "opencode.provider.cloudflare.workers.ai",
|
|
23
23
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-hm42kar1.js";
|
|
5
5
|
import {
|
|
6
6
|
Event19,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service74,
|
|
8
|
+
node79
|
|
9
|
+
} from "./model-resolver-gsfshahz.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service68,
|
|
12
|
+
node72
|
|
13
|
+
} from "./model-resolver-gww66jkq.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-resolver-p8qxwesx.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service75,
|
|
19
|
+
node80
|
|
20
|
+
} from "./model-resolver-8bcbmssv.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-resolver-kvsjn1dr.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./model-resolver-rmgpg45v.js";
|
|
27
27
|
import {
|
|
28
28
|
names4,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./model-resolver-whrpd8wj.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./model-resolver-0s9ayhjt.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service71,
|
|
36
|
+
Event18,
|
|
37
|
+
node76
|
|
38
|
+
} from "./model-resolver-04nrqb8q.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
|
-
Options: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Options: () => Options7,
|
|
48
|
+
Service: () => Service67,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured8,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer24,
|
|
53
|
+
node: () => node71,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
@@ -71,14 +71,14 @@ import { Global } from "@opencode-ai/util/global";
|
|
|
71
71
|
function latest2(entries, key) {
|
|
72
72
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
73
73
|
}
|
|
74
|
-
var
|
|
74
|
+
var Options7 = Schema.Struct({
|
|
75
75
|
project: Schema.optional(Schema.Boolean),
|
|
76
76
|
global: Schema.optional(Schema.Boolean),
|
|
77
77
|
file: Schema.optional(Schema.String),
|
|
78
78
|
content: Schema.optional(Schema.String)
|
|
79
79
|
});
|
|
80
80
|
|
|
81
|
-
class
|
|
81
|
+
class Service67 extends Context.Service()("@opencode/Config") {
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -92,15 +92,15 @@ var testLayer2 = (initial = []) => Layer.effectContext(Effect.gen(function* () {
|
|
|
92
92
|
setEntries: (next) => Ref.set(entries, next),
|
|
93
93
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
94
94
|
});
|
|
95
|
-
return Context.empty().pipe(Context.add(
|
|
95
|
+
return Context.empty().pipe(Context.add(Service67, service), Context.add(Test2, service));
|
|
96
96
|
}));
|
|
97
|
-
var
|
|
97
|
+
var layer24 = (options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
|
-
const location = yield*
|
|
100
|
-
const watcher = yield*
|
|
99
|
+
const location = yield* Service75;
|
|
100
|
+
const watcher = yield* Service68;
|
|
101
101
|
const bus = yield* Service79;
|
|
102
|
-
const credentials = yield*
|
|
103
|
-
const wellknown = yield*
|
|
102
|
+
const credentials = yield* Service74;
|
|
103
|
+
const wellknown = yield* Service71;
|
|
104
104
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
105
105
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
106
106
|
const decodeInfo = Schema.decodeUnknownOption(Info, decodeOptions);
|
|
@@ -224,7 +224,7 @@ var layer21 = (options) => Layer.effect(Service63, Effect.gen(function* () {
|
|
|
224
224
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
225
225
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
226
226
|
yield* bus.subscribe(Event19.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
227
|
-
yield* bus.subscribe(
|
|
227
|
+
yield* bus.subscribe(Event18.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
228
228
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
229
229
|
if (!wellknown.snapshot().length)
|
|
230
230
|
return Effect.void;
|
|
@@ -235,20 +235,20 @@ var layer21 = (options) => Layer.effect(Service63, Effect.gen(function* () {
|
|
|
235
235
|
}).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to refresh wellknown config", { cause })));
|
|
236
236
|
})), Effect.forever, Effect.forkScoped({ startImmediately: true }));
|
|
237
237
|
yield* reloadLock.withPermit(reconcile(initial));
|
|
238
|
-
return
|
|
238
|
+
return Service67.of({
|
|
239
239
|
entries: Effect.fnUntraced(function* () {
|
|
240
240
|
return configs;
|
|
241
241
|
}),
|
|
242
242
|
changes: () => Stream.fromPubSub(updates)
|
|
243
243
|
});
|
|
244
244
|
}));
|
|
245
|
-
function
|
|
245
|
+
function configured8(options) {
|
|
246
246
|
return makeLocationNode({
|
|
247
|
-
service:
|
|
248
|
-
layer:
|
|
249
|
-
deps: [
|
|
247
|
+
service: Service67,
|
|
248
|
+
layer: layer24(options),
|
|
249
|
+
deps: [node72, node84, FSUtil.node, Global.node, node80, node79, node76]
|
|
250
250
|
});
|
|
251
251
|
}
|
|
252
|
-
var
|
|
252
|
+
var node71 = configured8();
|
|
253
253
|
|
|
254
|
-
export { latest2,
|
|
254
|
+
export { latest2, Options7, Service67, Test2, testLayer2, layer24, configured8, node71, exports_config };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-nj1fe1jb.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info16
|
|
9
|
+
} from "./model-resolver-vj55tknd.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info18
|
|
12
|
+
} from "./model-resolver-1ydgq2r4.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info17
|
|
15
|
+
} from "./model-resolver-fm2qvscf.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Info20
|
|
18
|
+
} from "./model-resolver-0xd2d7hb.js";
|
|
19
19
|
import {
|
|
20
20
|
Spec2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./model-resolver-2k8khapm.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info24
|
|
24
|
+
} from "./model-resolver-ka1d01ec.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Info15
|
|
27
|
+
} from "./model-resolver-z9pdm7mn.js";
|
|
28
28
|
import {
|
|
29
29
|
migrate2,
|
|
30
30
|
normalizeAction2,
|
|
@@ -33,10 +33,10 @@ import {
|
|
|
33
33
|
migrateMcp2,
|
|
34
34
|
migrateProvider2,
|
|
35
35
|
providerID2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./model-resolver-fy6n5twb.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/config/normalize.ts
|
|
42
42
|
var exports_normalize = {};
|
|
@@ -84,10 +84,10 @@ function normalize2(input) {
|
|
|
84
84
|
const encoded = {};
|
|
85
85
|
unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
|
|
86
86
|
const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
|
|
87
|
-
const legacyUpdate = own(input, "autoupdate") ? decodeValue(
|
|
87
|
+
const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info15.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
|
|
88
88
|
const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
|
|
89
89
|
const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
|
|
90
|
-
const legacyMedia = own(input, "attachment") ? decodeValue(
|
|
90
|
+
const legacyMedia = own(input, "attachment") ? decodeValue(Info18, input.attachment, ["attachment"], diagnostics) : undefined;
|
|
91
91
|
if (legacyMedia !== undefined) {
|
|
92
92
|
const migrated = migrate2({ attachment: legacyMedia }).media;
|
|
93
93
|
if (migrated !== undefined)
|
|
@@ -104,7 +104,7 @@ function normalize2(input) {
|
|
|
104
104
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
105
105
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
106
106
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
107
|
-
const legacyCommands = decodeMap(input.command,
|
|
107
|
+
const legacyCommands = decodeMap(input.command, Info17, ["command"], diagnostics, decodeValue);
|
|
108
108
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
109
109
|
const migratedCommands = mapValues(legacyCommands, (value) => {
|
|
110
110
|
const migrated = commands2({ value })?.value;
|
|
@@ -112,7 +112,7 @@ function normalize2(input) {
|
|
|
112
112
|
});
|
|
113
113
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
114
114
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
115
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
115
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info16, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
116
116
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
117
117
|
const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
|
|
118
118
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -126,7 +126,7 @@ function normalize2(input) {
|
|
|
126
126
|
model: migratedSmallModel,
|
|
127
127
|
...legacyAgents.title
|
|
128
128
|
};
|
|
129
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
129
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info16, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
130
130
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
131
131
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
132
132
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
225
225
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
226
226
|
return;
|
|
227
227
|
}
|
|
228
|
-
const server = decodeValue(
|
|
228
|
+
const server = decodeValue(Info20, value, path, diagnostics);
|
|
229
229
|
if (server !== undefined)
|
|
230
230
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
231
231
|
});
|
|
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
421
421
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
422
422
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
423
423
|
return [];
|
|
424
|
-
const provider = decodeValue(
|
|
424
|
+
const provider = decodeValue(Info24, raw, path, diagnostics);
|
|
425
425
|
if (provider === undefined)
|
|
426
426
|
return [];
|
|
427
427
|
const destination = providerID2(name);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/provider.ts
|
|
6
6
|
var exports_provider3 = {};
|
|
7
7
|
__export(exports_provider3, {
|
|
8
8
|
AISDK_PREFIX: () => AISDK_PREFIX2,
|
|
9
|
-
ID: () =>
|
|
9
|
+
ID: () => ID16,
|
|
10
10
|
Info: () => Info29,
|
|
11
11
|
LoadError: () => LoadError3,
|
|
12
12
|
Provider: () => exports_provider3,
|
|
@@ -23,7 +23,7 @@ import { Effect, Schema } from "effect";
|
|
|
23
23
|
import { Provider } from "@opencode-ai/schema/provider";
|
|
24
24
|
import { isRecord } from "@opencode-ai/ai/utils/record";
|
|
25
25
|
import { importModule, resolveModule } from "@opencode-ai/util/runtime-import";
|
|
26
|
-
var
|
|
26
|
+
var ID16 = Provider.ID;
|
|
27
27
|
var AISDK_PREFIX2 = "aisdk:";
|
|
28
28
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
29
29
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -159,4 +159,4 @@ var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, en
|
|
|
159
159
|
return module;
|
|
160
160
|
});
|
|
161
161
|
|
|
162
|
-
export {
|
|
162
|
+
export { ID16, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, mergeOverlay2, mergeHeaders2, Request3, Settings2, Info29, exports_provider3 };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-hm42kar1.js";
|
|
5
5
|
import {
|
|
6
6
|
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-resolver-2402vzrj.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-resolver-p8qxwesx.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service44,
|
|
17
17
|
node48
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-resolver-7fjq4tnf.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./model-resolver-kg06axw8.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event11,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info9,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
35
|
-
Source: () =>
|
|
34
|
+
Service: () => Service43,
|
|
35
|
+
Source: () => Source4,
|
|
36
36
|
node: () => node47
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode-ai/schema/reference";
|
|
41
41
|
import { Global } from "@opencode-ai/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event11 } from "@opencode-ai/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var Source4 = Reference.Source;
|
|
46
|
+
var Info9 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service43 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
52
|
const bus = yield* Service79;
|
|
53
|
-
const cache = yield*
|
|
53
|
+
const cache = yield* Service44;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
63
|
+
return [Info9.make({ ...info, path: source.path })];
|
|
64
64
|
const repository = parse4(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info9.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service43.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -113,9 +113,9 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
115
|
var node47 = makeLocationNode({
|
|
116
|
-
service:
|
|
116
|
+
service: Service43,
|
|
117
117
|
layer,
|
|
118
118
|
deps: [Global.node, node84, node48]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2,
|
|
121
|
+
export { LocalSource2, GitSource2, Source4, Info9, Service43, node47, exports_reference2, Event11 };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service75
|
|
3
|
+
} from "./model-resolver-8bcbmssv.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service69
|
|
6
|
+
} from "./model-resolver-trt9khgc.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service22,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-resolver-wcav6c40.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service14
|
|
14
|
+
} from "./model-resolver-smnvvzmt.js";
|
|
15
15
|
import {
|
|
16
16
|
externalDirectoryPermission2,
|
|
17
17
|
resolvePath2,
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service21
|
|
19
|
+
} from "./model-resolver-vhpw989j.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service53
|
|
22
|
+
} from "./model-resolver-pmt5dx08.js";
|
|
23
23
|
import {
|
|
24
24
|
fileDiff2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./model-resolver-6prwharc.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool/plugin/edit.ts
|
|
31
31
|
var exports_edit = {};
|
|
32
32
|
__export(exports_edit, {
|
|
33
33
|
EditTool: () => exports_edit,
|
|
34
|
-
Input: () =>
|
|
35
|
-
Output: () =>
|
|
36
|
-
Plugin: () =>
|
|
37
|
-
name: () =>
|
|
34
|
+
Input: () => Input7,
|
|
35
|
+
Output: () => Output5,
|
|
36
|
+
Plugin: () => Plugin38,
|
|
37
|
+
name: () => name7
|
|
38
38
|
});
|
|
39
39
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
40
40
|
import { FileDiff } from "@opencode-ai/schema/file-diff";
|
|
41
41
|
import { Bom } from "@opencode-ai/util/bom";
|
|
42
42
|
import { Effect, Schema } from "effect";
|
|
43
|
-
var
|
|
44
|
-
var
|
|
43
|
+
var name7 = "edit";
|
|
44
|
+
var Input7 = Schema.Struct({
|
|
45
45
|
path: Schema.String.annotate({
|
|
46
46
|
description: "File to edit"
|
|
47
47
|
}),
|
|
@@ -51,7 +51,7 @@ var Input2 = Schema.Struct({
|
|
|
51
51
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
52
52
|
})
|
|
53
53
|
});
|
|
54
|
-
var
|
|
54
|
+
var Output5 = Schema.Struct({
|
|
55
55
|
files: Schema.Array(FileDiff.Info),
|
|
56
56
|
replacements: Schema.Number
|
|
57
57
|
});
|
|
@@ -104,21 +104,21 @@ var findLineOccurrences = (content, search) => {
|
|
|
104
104
|
return result;
|
|
105
105
|
}, []);
|
|
106
106
|
};
|
|
107
|
-
var
|
|
107
|
+
var Plugin38 = {
|
|
108
108
|
id: "opencode.tool.edit",
|
|
109
109
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
110
|
-
const mutation = yield*
|
|
111
|
-
const fileMutation = yield*
|
|
112
|
-
const environment = yield*
|
|
113
|
-
const formatter = yield*
|
|
114
|
-
const location = yield*
|
|
115
|
-
const permission = yield*
|
|
110
|
+
const mutation = yield* Service21;
|
|
111
|
+
const fileMutation = yield* Service22;
|
|
112
|
+
const environment = yield* Service69;
|
|
113
|
+
const formatter = yield* Service14;
|
|
114
|
+
const location = yield* Service75;
|
|
115
|
+
const permission = yield* Service53;
|
|
116
116
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
117
|
-
name:
|
|
117
|
+
name: name7,
|
|
118
118
|
options: { codemode: false, permission: "edit" },
|
|
119
119
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
120
|
-
input:
|
|
121
|
-
output:
|
|
120
|
+
input: Input7,
|
|
121
|
+
output: Output5,
|
|
122
122
|
execute: (input, context) => {
|
|
123
123
|
return Effect.gen(function* () {
|
|
124
124
|
const permissionSource = {
|
|
@@ -203,4 +203,4 @@ var Plugin19 = {
|
|
|
203
203
|
})
|
|
204
204
|
};
|
|
205
205
|
|
|
206
|
-
export {
|
|
206
|
+
export { name7, Input7, Output5, Plugin38, exports_edit };
|