@opencode/core 0.0.0-dev-21661 → 0.0.0-dev-21662
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{model-retry-aj7mw0zk.js → mime-034tev2y.js} +2 -2
- package/dist/chunks/{model-retry-4fzjj0zw.js → mime-099h1hwj.js} +6 -6
- package/dist/chunks/{model-retry-xby873vx.js → mime-0akmrmk7.js} +24 -24
- package/dist/chunks/{model-retry-mw1nm45k.js → mime-0gewffq4.js} +12 -12
- package/dist/chunks/{model-retry-c5m2a8vb.js → mime-12a87htm.js} +8 -8
- package/dist/chunks/{model-retry-qxbnebsm.js → mime-12yp6zfs.js} +40 -40
- package/dist/chunks/{model-retry-ckhajkac.js → mime-18efg9pm.js} +11 -11
- package/dist/chunks/{model-retry-knncxtrw.js → mime-1dgpftbk.js} +7 -7
- package/dist/chunks/{model-retry-27w5k9zf.js → mime-1ep2p91f.js} +2 -2
- package/dist/chunks/{model-retry-z4svz70a.js → mime-1f869mtq.js} +1 -1
- package/dist/chunks/{model-retry-w445jyrw.js → mime-1hshenye.js} +6 -6
- package/dist/chunks/{model-retry-w7cnq13e.js → mime-1jt66y4q.js} +36 -36
- package/dist/chunks/{model-retry-ygy08vjq.js → mime-1pt7st65.js} +27 -27
- package/dist/chunks/mime-1s6zx0v5.js +257 -0
- package/dist/chunks/{model-retry-aqtvbfp8.js → mime-1ta8vatk.js} +4 -4
- package/dist/chunks/{model-retry-1x2knyw4.js → mime-1x2knyw4.js} +1 -1
- package/dist/chunks/{model-retry-yq1gzmdm.js → mime-1ynsyetg.js} +22 -22
- package/dist/chunks/{model-retry-4nh7jqqy.js → mime-2bpj5bas.js} +87 -87
- package/dist/chunks/{model-retry-9gzd5sdz.js → mime-2c6wxkce.js} +14 -14
- package/dist/chunks/{model-retry-z16rqh1h.js → mime-2qc2a76n.js} +9 -9
- package/dist/chunks/{model-retry-w1zjn144.js → mime-2r3n53wq.js} +11 -11
- package/dist/chunks/{model-retry-gmwwyjpc.js → mime-2trgpvge.js} +15 -15
- package/dist/chunks/{model-retry-yfyqcpqq.js → mime-2yvtks3w.js} +3 -3
- package/dist/chunks/{model-retry-2z1j29yd.js → mime-2z1j29yd.js} +1 -1
- package/dist/chunks/{model-retry-qbat39qr.js → mime-326newke.js} +4 -4
- package/dist/chunks/{model-retry-dmhcp16a.js → mime-3483qh8f.js} +13 -13
- package/dist/chunks/{model-retry-n7wnam13.js → mime-35y8wyjz.js} +8 -8
- package/dist/chunks/{model-retry-m2hnwcn8.js → mime-367y2685.js} +9 -9
- package/dist/chunks/{model-retry-33jrma66.js → mime-3fddq23p.js} +19 -19
- package/dist/chunks/{model-retry-3hepkmqq.js → mime-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-retry-8wc2fpae.js → mime-3kdbrncp.js} +5 -5
- package/dist/chunks/{model-retry-3nnrz6f6.js → mime-3nnrz6f6.js} +1 -1
- package/dist/chunks/{model-retry-hg04c070.js → mime-3rn14jrq.js} +21 -21
- package/dist/chunks/{model-retry-2azy8kv6.js → mime-3ryz99p0.js} +4 -4
- package/dist/chunks/{model-retry-5ntvbkr3.js → mime-3x352axd.js} +24 -24
- package/dist/chunks/{model-retry-ea0wswcg.js → mime-3xr2c3vg.js} +42 -42
- package/dist/chunks/{model-retry-antzfpbp.js → mime-3yh7bp88.js} +17 -17
- package/dist/chunks/{model-retry-pppg3y1y.js → mime-40d1e0p0.js} +43 -43
- package/dist/chunks/{model-retry-a6zfrhwy.js → mime-4en5cy3a.js} +18 -18
- package/dist/chunks/{model-retry-v7edqz63.js → mime-4rs84ng6.js} +14 -14
- package/dist/chunks/{model-retry-4v008n1t.js → mime-4v008n1t.js} +1 -1
- package/dist/chunks/{model-retry-4xvmh7wp.js → mime-4xvmh7wp.js} +3 -3
- package/dist/chunks/{model-retry-rxcn9dmj.js → mime-57b792pb.js} +43 -43
- package/dist/chunks/{model-retry-5m9w47nd.js → mime-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-retry-b6vsg801.js → mime-5nnwax6m.js} +5 -5
- package/dist/chunks/{model-retry-5bnhtwbz.js → mime-5sm65pen.js} +50 -50
- package/dist/chunks/{model-retry-6esdw8yj.js → mime-6esdw8yj.js} +1 -1
- package/dist/chunks/{model-retry-kj1j79ct.js → mime-6fpyxm8h.js} +11 -11
- package/dist/chunks/{model-retry-xn0dkv9k.js → mime-6g5dn60k.js} +10 -10
- package/dist/chunks/{model-retry-dw7m3xvw.js → mime-6gm6bk7h.js} +20 -20
- package/dist/chunks/{model-retry-6pjqjmy2.js → mime-6pjqjmy2.js} +1 -1
- package/dist/chunks/{model-retry-76cb1hcw.js → mime-76cb1hcw.js} +1 -1
- package/dist/chunks/{model-retry-nah043kf.js → mime-770pw0s1.js} +4 -4
- package/dist/chunks/{model-retry-1pd714jw.js → mime-78t3ejb4.js} +11 -11
- package/dist/chunks/{model-retry-7bmhse3q.js → mime-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-retry-f49gwp6r.js → mime-7hkznkk2.js} +22 -22
- package/dist/chunks/{model-retry-m04867d5.js → mime-7hy4mxk4.js} +5 -5
- package/dist/chunks/{model-retry-7w2ypzdf.js → mime-7w2ypzdf.js} +1 -1
- package/dist/chunks/{model-retry-bdv51ks6.js → mime-7ymw8hcc.js} +42 -42
- package/dist/chunks/{model-retry-6fshephh.js → mime-7zghsshh.js} +24 -24
- package/dist/chunks/{model-retry-cmjj196d.js → mime-845h38vz.js} +33 -33
- package/dist/chunks/{model-retry-a8rk6bya.js → mime-86vkr6ja.js} +18 -18
- package/dist/chunks/{model-retry-tsemnbjg.js → mime-8dvrnm31.js} +30 -30
- package/dist/chunks/{model-retry-s6zqqgcc.js → mime-8e1vzrak.js} +24 -24
- package/dist/chunks/{model-retry-504h1h2p.js → mime-8f1s63js.js} +5 -5
- package/dist/chunks/{model-retry-gg5ajwfv.js → mime-8j2dev17.js} +32 -32
- package/dist/chunks/{model-retry-1gv4f02v.js → mime-8jmzjr3t.js} +5 -5
- package/dist/chunks/{model-retry-mt3ysty9.js → mime-8sxdqgb0.js} +6 -6
- package/dist/chunks/{model-retry-8wtp7s3z.js → mime-8wtp7s3z.js} +1 -1
- package/dist/chunks/{model-retry-18g90bpv.js → mime-8x9y3wj0.js} +9 -9
- package/dist/chunks/{model-retry-91rj84md.js → mime-91rj84md.js} +1 -1
- package/dist/chunks/{model-retry-09pgmfn5.js → mime-92xjtyzm.js} +3 -3
- package/dist/chunks/{model-retry-c3cfh5w6.js → mime-9562mf0m.js} +9 -9
- package/dist/chunks/{model-retry-h2v6w9fm.js → mime-9975mbgd.js} +21 -21
- package/dist/chunks/{model-retry-dvj9ct8m.js → mime-998yhzzq.js} +3 -3
- package/dist/chunks/{model-retry-1gde04cj.js → mime-99s58nzh.js} +9 -9
- package/dist/chunks/{model-retry-sdxydkh6.js → mime-9bbgn1zx.js} +12 -12
- package/dist/chunks/{model-retry-7vrs0mxf.js → mime-9ben7srh.js} +12 -12
- package/dist/chunks/{model-retry-bh48jfkc.js → mime-9mcfgtzv.js} +191 -191
- package/dist/chunks/{model-retry-e5dqjz6v.js → mime-9p9xqj3m.js} +8 -8
- package/dist/chunks/{model-retry-j5644rm0.js → mime-9tgdekzb.js} +46 -46
- package/dist/chunks/{model-retry-tx91wa5k.js → mime-9tvpxs1q.js} +4 -4
- package/dist/chunks/{model-retry-4p63kbz0.js → mime-a4ed5y5r.js} +19 -19
- package/dist/chunks/{model-retry-j8qp8vb7.js → mime-a5qzt3rb.js} +2 -2
- package/dist/chunks/{model-retry-thtmsm01.js → mime-ab5qny6w.js} +29 -29
- package/dist/chunks/{model-retry-sjxh0ebt.js → mime-aex04x02.js} +4 -4
- package/dist/chunks/{model-retry-dxtt3dn7.js → mime-afg4vg0a.js} +48 -48
- package/dist/chunks/{model-retry-cfkzqjea.js → mime-agbrqsyc.js} +24 -24
- package/dist/chunks/{model-retry-yy9yh1zy.js → mime-antc3kt1.js} +16 -16
- package/dist/chunks/{model-retry-1q6rtcwx.js → mime-at840swy.js} +11 -11
- package/dist/chunks/{model-retry-jq4gkdch.js → mime-avb6j7af.js} +39 -39
- package/dist/chunks/{model-retry-k4pkx3h8.js → mime-avyq2sch.js} +3 -3
- package/dist/chunks/{model-retry-61wyp4gr.js → mime-ay6kp039.js} +4 -4
- package/dist/chunks/{model-retry-3cbjf1nt.js → mime-ayjs7tqn.js} +2 -2
- package/dist/chunks/{model-retry-b0mv4wxm.js → mime-b0mv4wxm.js} +2 -2
- package/dist/chunks/{model-retry-q8skw5t4.js → mime-b3a0a1dt.js} +11 -11
- package/dist/chunks/{model-retry-fmhdrg4y.js → mime-b5hjsjtc.js} +28 -28
- package/dist/chunks/{model-retry-6pk7avk3.js → mime-b8fewz8c.js} +11 -11
- package/dist/chunks/{model-retry-sd3cteb1.js → mime-bdkfqjh1.js} +3 -3
- package/dist/chunks/{model-retry-hd9p2qrn.js → mime-be4ky1jx.js} +4 -4
- package/dist/chunks/{model-retry-bstexjd6.js → mime-bstexjd6.js} +1 -1
- package/dist/chunks/{model-retry-jav3q4wh.js → mime-c2q4mep3.js} +7 -7
- package/dist/chunks/{model-retry-t3mtxhe8.js → mime-c37dr9s5.js} +36 -36
- package/dist/chunks/{model-retry-c4970w7t.js → mime-c4970w7t.js} +1 -1
- package/dist/chunks/{model-retry-adfgt62e.js → mime-c5k488xh.js} +14 -14
- package/dist/chunks/{model-retry-9abfe0c3.js → mime-c99z4cs7.js} +15 -15
- package/dist/chunks/{model-retry-k2qg1sgb.js → mime-c9kxtag3.js} +26 -26
- package/dist/chunks/{model-retry-0etvtzr7.js → mime-cmrd856v.js} +11 -11
- package/dist/chunks/{model-retry-bdhbhy6a.js → mime-cn524wvf.js} +11 -11
- package/dist/chunks/{model-retry-7cy37jqv.js → mime-cp2r97hh.js} +7 -7
- package/dist/chunks/{model-retry-grv9e0a8.js → mime-cs9nhmnc.js} +35 -35
- package/dist/chunks/{model-retry-xp3wxx2t.js → mime-csp3r2wr.js} +19 -19
- package/dist/chunks/{model-retry-16z8xvrr.js → mime-cvh6tqsr.js} +12 -12
- package/dist/chunks/{model-retry-2wmk5873.js → mime-cwd8eagc.js} +4 -4
- package/dist/chunks/{model-retry-d2887f8n.js → mime-d2887f8n.js} +1 -1
- package/dist/chunks/{model-retry-d4v9tmah.js → mime-d4v9tmah.js} +2 -2
- package/dist/chunks/{model-retry-e3e7vv2j.js → mime-daavfx2n.js} +13 -13
- package/dist/chunks/{model-retry-ezfrkc6y.js → mime-dahs8mrh.js} +14 -14
- package/dist/chunks/{model-retry-7gq17r0e.js → mime-dcw54xmr.js} +9 -9
- package/dist/chunks/{model-retry-hk6b7xe4.js → mime-de78d3b2.js} +35 -35
- package/dist/chunks/{model-retry-y1249fzv.js → mime-dehah0wg.js} +14 -14
- package/dist/chunks/{model-retry-0gka690g.js → mime-dkq45v8d.js} +6 -6
- package/dist/chunks/{model-retry-dw8101p3.js → mime-dsxwdbtx.js} +21 -21
- package/dist/chunks/{model-retry-4j6ygzg0.js → mime-dvn6w1q7.js} +19 -19
- package/dist/chunks/{model-retry-xe04d561.js → mime-dw8r8nqw.js} +15 -15
- package/dist/chunks/{model-retry-xegc1gxr.js → mime-dxknpyv9.js} +17 -17
- package/dist/chunks/{model-retry-295s1tfa.js → mime-dywpt2jz.js} +13 -13
- package/dist/chunks/{model-retry-9wbkt707.js → mime-dz78pxbz.js} +28 -28
- package/dist/chunks/{model-retry-pdw6wz0h.js → mime-e3ynzpwe.js} +5 -5
- package/dist/chunks/{model-retry-tc3wr7kw.js → mime-e6zvexf0.js} +10 -10
- package/dist/chunks/{model-retry-e834z07m.js → mime-e834z07m.js} +1 -1
- package/dist/chunks/{model-retry-88wp77t0.js → mime-ec8872rv.js} +34 -34
- package/dist/chunks/{model-retry-ef5x83kb.js → mime-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-retry-qvw98tg0.js → mime-egmw08v6.js} +5 -5
- package/dist/chunks/{model-retry-gj8x1tda.js → mime-es3s6s73.js} +5 -5
- package/dist/chunks/{model-retry-jzpxygg0.js → mime-esezyxfc.js} +9 -9
- package/dist/chunks/{model-retry-p4nbw5fh.js → mime-etb6jfd1.js} +32 -32
- package/dist/chunks/mime-ezna1kdx.js +18 -0
- package/dist/chunks/{model-retry-qyjpv9b5.js → mime-f6h5pjek.js} +22 -22
- package/dist/chunks/{model-retry-ktxkps69.js → mime-faz434mq.js} +68 -68
- package/dist/chunks/{model-retry-qe6vkhvx.js → mime-fb07bnzr.js} +15 -15
- package/dist/chunks/{model-retry-t00mk0ke.js → mime-fb9p315s.js} +24 -24
- package/dist/chunks/{model-retry-5r72z9dp.js → mime-fbjqxkhq.js} +8 -8
- package/dist/chunks/{model-retry-6z7s29v1.js → mime-fc77mr6m.js} +27 -27
- package/dist/chunks/{model-retry-20bsrc0x.js → mime-fch85cg6.js} +6 -6
- package/dist/chunks/{model-retry-fffv3p7h.js → mime-fffv3p7h.js} +1 -1
- package/dist/chunks/{model-retry-20nwq5j7.js → mime-fmc8gber.js} +10 -10
- package/dist/chunks/{model-retry-4efv169t.js → mime-fs4v9sqg.js} +7 -7
- package/dist/chunks/{model-retry-5v7kgtbj.js → mime-fwg6t5aa.js} +5 -5
- package/dist/chunks/{model-retry-g5h9c0rr.js → mime-g5h9c0rr.js} +2 -2
- package/dist/chunks/{model-retry-wjkdsmbm.js → mime-g7tvh7ca.js} +14 -14
- package/dist/chunks/{model-retry-pfyk31y2.js → mime-gbppfq5v.js} +5 -5
- package/dist/chunks/{model-retry-ghrzdqqx.js → mime-gfhhve88.js} +5 -5
- package/dist/chunks/{model-retry-vryb9jrf.js → mime-gkww2qs4.js} +8 -8
- package/dist/chunks/{model-retry-7xrq36hz.js → mime-grfdtbby.js} +42 -42
- package/dist/chunks/{model-retry-tjcpgb0t.js → mime-gx9515g0.js} +22 -22
- package/dist/chunks/{model-retry-h6yftxtc.js → mime-h0ra2w7t.js} +21 -21
- package/dist/chunks/{model-retry-pgeypdwc.js → mime-h5frkgzc.js} +27 -27
- package/dist/chunks/{model-retry-s71ympam.js → mime-h6chhj6a.js} +32 -32
- package/dist/chunks/{model-retry-0qev6pn3.js → mime-h7w2c8gt.js} +13 -13
- package/dist/chunks/{model-retry-gj9fd72a.js → mime-h99fb420.js} +19 -19
- package/dist/chunks/{model-retry-nekjk3x1.js → mime-hvqk9px9.js} +21 -21
- package/dist/chunks/{model-retry-pqrp5r8r.js → mime-hy03mgxa.js} +26 -26
- package/dist/chunks/{model-retry-fhjm4z34.js → mime-hymmg9xs.js} +32 -32
- package/dist/chunks/{model-retry-j113cymg.js → mime-j113cymg.js} +1 -1
- package/dist/chunks/{model-retry-jeyepegn.js → mime-j2e1pdqh.js} +7 -7
- package/dist/chunks/{model-retry-vck6kdh7.js → mime-j686yndx.js} +24 -24
- package/dist/chunks/{model-retry-akeabbgf.js → mime-j9d5v112.js} +6 -6
- package/dist/chunks/{model-retry-xv9gw8q2.js → mime-jf0x0mkb.js} +10 -10
- package/dist/chunks/{model-retry-sm6vx8r5.js → mime-jjby1v15.js} +21 -21
- package/dist/chunks/{model-retry-tx653dhe.js → mime-jqc4b6as.js} +21 -21
- package/dist/chunks/{model-retry-jt5vb9t1.js → mime-jw539tsy.js} +20 -20
- package/dist/chunks/{model-retry-pc1v25hk.js → mime-jx89vj1k.js} +3 -3
- package/dist/chunks/{model-retry-qy1wtshc.js → mime-k1ahy816.js} +8 -8
- package/dist/chunks/{model-retry-k814nvkf.js → mime-k814nvkf.js} +1 -1
- package/dist/chunks/{model-retry-wmtep305.js → mime-k8ha6td9.js} +30 -30
- package/dist/chunks/{model-retry-tbbj6rhj.js → mime-kcw2mt0q.js} +9 -9
- package/dist/chunks/{model-retry-qjqtgprh.js → mime-kfye5h0a.js} +5 -5
- package/dist/chunks/{model-retry-a634j94t.js → mime-khq36pg9.js} +13 -13
- package/dist/chunks/{model-retry-z26cgg3v.js → mime-ks4dhf3r.js} +20 -20
- package/dist/chunks/{model-retry-m1714858.js → mime-m1714858.js} +1 -1
- package/dist/chunks/{model-retry-vmfhgzt5.js → mime-m37sd98t.js} +4 -4
- package/dist/chunks/{model-retry-3x6mzmtb.js → mime-m5y7mrec.js} +37 -37
- package/dist/chunks/{model-retry-m9w0rfyh.js → mime-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-retry-rf0axqhe.js → mime-makr7g9p.js} +18 -18
- package/dist/chunks/{model-retry-maspj1v3.js → mime-maspj1v3.js} +1 -1
- package/dist/chunks/{model-retry-gddkg3ta.js → mime-mdrzmmdf.js} +24 -24
- package/dist/chunks/{model-retry-zp9devnn.js → mime-mh7750nv.js} +2 -2
- package/dist/chunks/{model-retry-vrq9j7rb.js → mime-mr6kd87r.js} +15 -15
- package/dist/chunks/{model-retry-wh6kfv27.js → mime-ms6fca56.js} +47 -47
- package/dist/chunks/{model-retry-sgsbvhae.js → mime-mtgfg349.js} +17 -17
- package/dist/chunks/{model-retry-4kxrtmfk.js → mime-mvm1cxx8.js} +34 -34
- package/dist/chunks/{model-retry-n0p0277s.js → mime-n0p0277s.js} +1 -1
- package/dist/chunks/{model-retry-cfkc8wvf.js → mime-n39q19g8.js} +4 -4
- package/dist/chunks/{model-retry-kt8g20y3.js → mime-nefyg2qe.js} +21 -21
- package/dist/chunks/{model-retry-kr6h74hd.js → mime-ngeq0yak.js} +4 -4
- package/dist/chunks/{model-retry-4z2d5fre.js → mime-nsm09qdn.js} +19 -19
- package/dist/chunks/{model-retry-rfqv2m6w.js → mime-nvq2cp9b.js} +6 -6
- package/dist/chunks/{model-retry-jzh23w2y.js → mime-nvxqht09.js} +2 -2
- package/dist/chunks/{model-retry-p015t6z3.js → mime-p015t6z3.js} +2 -2
- package/dist/chunks/{model-retry-wnr6a5h7.js → mime-p0ncpex0.js} +29 -29
- package/dist/chunks/{model-retry-5r8en0fy.js → mime-p6vdpmm7.js} +7 -7
- package/dist/chunks/{model-retry-v9ez2kgh.js → mime-p7vhpwh8.js} +5 -5
- package/dist/chunks/{model-retry-tfkjdz6t.js → mime-pbrndjvt.js} +23 -23
- package/dist/chunks/{model-retry-pknna89w.js → mime-pknna89w.js} +1 -1
- package/dist/chunks/{model-retry-hjw91gt8.js → mime-przv10k5.js} +4 -4
- package/dist/chunks/{model-retry-wecx54fa.js → mime-pw6tpjg0.js} +38 -38
- package/dist/chunks/{model-retry-d0h8t5hk.js → mime-q1akkz19.js} +11 -11
- package/dist/chunks/{model-retry-waexrkk0.js → mime-q8g6wzn7.js} +30 -30
- package/dist/chunks/{model-retry-8gpczyd8.js → mime-q9qe5dt4.js} +7 -7
- package/dist/chunks/{model-retry-wkgj5k69.js → mime-qesqfwsz.js} +5 -5
- package/dist/chunks/{model-retry-7d4vabvg.js → mime-qht88apq.js} +25 -25
- package/dist/chunks/{model-retry-s3aa97yb.js → mime-qhz1719s.js} +29 -29
- package/dist/chunks/{model-retry-8jztxfpf.js → mime-qjgzc4b4.js} +4 -4
- package/dist/chunks/{model-retry-r0yr0wbs.js → mime-r0yr0wbs.js} +1 -1
- package/dist/chunks/{model-retry-rb9dy4dg.js → mime-rb9dy4dg.js} +1 -1
- package/dist/chunks/{model-retry-1rpbm281.js → mime-rbg5ajna.js} +9 -9
- package/dist/chunks/{model-retry-w9w8mt4n.js → mime-rcbjwvze.js} +4 -4
- package/dist/chunks/{model-retry-7pg8rm12.js → mime-rgw8zdkq.js} +8 -8
- package/dist/chunks/{model-retry-bjhzkqyk.js → mime-rrad2nt9.js} +4 -4
- package/dist/chunks/{model-retry-qgmn31h3.js → mime-rrpm1tdr.js} +30 -30
- package/dist/chunks/{model-retry-rt5dr6hb.js → mime-rt5dr6hb.js} +1 -1
- package/dist/chunks/{model-retry-s7kyse9r.js → mime-s7kyse9r.js} +1 -1
- package/dist/chunks/{model-retry-r8a6rr1y.js → mime-sdw0stpz.js} +15 -15
- package/dist/chunks/{model-retry-945mzj2f.js → mime-shhwk7r4.js} +14 -14
- package/dist/chunks/{model-retry-cvqzdst0.js → mime-shxxcw0f.js} +4 -4
- package/dist/chunks/{model-retry-hnrrf75a.js → mime-sjefdf1p.js} +10 -10
- package/dist/chunks/{model-retry-a0ze7ap3.js → mime-sjsbybqr.js} +17 -17
- package/dist/chunks/{model-retry-sqjzf8x2.js → mime-sqjzf8x2.js} +1 -1
- package/dist/chunks/{model-retry-4eyfa5bt.js → mime-ss9hm05n.js} +18 -18
- package/dist/chunks/{model-retry-hfc726b7.js → mime-st7p3hwb.js} +2 -2
- package/dist/chunks/{model-retry-tczq8hjw.js → mime-tczq8hjw.js} +1 -1
- package/dist/chunks/{model-retry-vsdtm3y6.js → mime-tq360aqh.js} +19 -19
- package/dist/chunks/{model-retry-160yv0cs.js → mime-tqx9c315.js} +8 -8
- package/dist/chunks/{model-retry-ytzfdnxp.js → mime-tw8z5tpz.js} +18 -18
- package/dist/chunks/{model-retry-tw8zr1ps.js → mime-tw8zr1ps.js} +1 -1
- package/dist/chunks/{model-retry-twv2r8f4.js → mime-twv2r8f4.js} +2 -2
- package/dist/chunks/{model-retry-15b56cgm.js → mime-tx9renrs.js} +6 -6
- package/dist/chunks/{model-retry-v2r1d0zg.js → mime-v2r1d0zg.js} +1 -1
- package/dist/chunks/{model-retry-mfvka9j5.js → mime-v7qwy7k6.js} +9 -9
- package/dist/chunks/{model-retry-vd3b3yk9.js → mime-vd3b3yk9.js} +1 -1
- package/dist/chunks/{model-retry-veqvce7d.js → mime-veqvce7d.js} +1 -1
- package/dist/chunks/{model-retry-h86hs4jx.js → mime-vfaknrr0.js} +20 -20
- package/dist/chunks/{model-retry-g02cgtqg.js → mime-vgatjcfj.js} +78 -78
- package/dist/chunks/{model-retry-32s59e8p.js → mime-vgk61ywp.js} +9 -9
- package/dist/chunks/{model-retry-y3xtvwd4.js → mime-vp7nbskz.js} +14 -14
- package/dist/chunks/{model-retry-95x7pe01.js → mime-vxawy97t.js} +17 -17
- package/dist/chunks/{model-retry-w830et9m.js → mime-w24tx78k.js} +11 -11
- package/dist/chunks/{model-retry-yr0q3nx1.js → mime-w2cw001h.js} +6 -6
- package/dist/chunks/{model-retry-40za9wsf.js → mime-w2eysc6j.js} +9 -9
- package/dist/chunks/{model-retry-w3wsvvr9.js → mime-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-retry-wakvkjy4.js → mime-wakvkjy4.js} +1 -1
- package/dist/chunks/{model-retry-r3hh8w6n.js → mime-way9x9na.js} +24 -24
- package/dist/chunks/{model-retry-wd87259q.js → mime-wd87259q.js} +1 -1
- package/dist/chunks/{model-retry-w687dnns.js → mime-wr3re1en.js} +4 -4
- package/dist/chunks/{model-retry-v1y7x4cv.js → mime-wsjhra5c.js} +14 -14
- package/dist/chunks/{model-retry-fn90fkvf.js → mime-wv25cjfq.js} +26 -26
- package/dist/chunks/{model-retry-txfdt2b0.js → mime-wvv9pwzq.js} +17 -17
- package/dist/chunks/{model-retry-gqy3s5ng.js → mime-wwf2h3h9.js} +23 -23
- package/dist/chunks/mime-x49m95er.js +523 -0
- package/dist/chunks/{model-retry-xvee63d2.js → mime-x6e5q3s7.js} +11 -11
- package/dist/chunks/{model-retry-8zmpysdb.js → mime-xa6jjthr.js} +1 -1
- package/dist/chunks/{model-retry-btsa3r6q.js → mime-xgp4rgab.js} +1 -1
- package/dist/chunks/{model-retry-ecw9kts4.js → mime-xn6a1j0y.js} +12 -12
- package/dist/chunks/{model-retry-kjgnzevm.js → mime-xrpfz6f8.js} +9 -9
- package/dist/chunks/{model-retry-daaznt2t.js → mime-xs1m5cpe.js} +4 -4
- package/dist/chunks/{model-retry-zjy8xeq5.js → mime-xvt56c4d.js} +35 -35
- package/dist/chunks/{model-retry-yb20nhc3.js → mime-yb20nhc3.js} +1 -1
- package/dist/chunks/{model-retry-2352cqpm.js → mime-yks697c0.js} +20 -20
- package/dist/chunks/mime-ypydzh1y.js +26 -0
- package/dist/chunks/{model-retry-z0t0wh6t.js → mime-ytr2aw5s.js} +6 -6
- package/dist/chunks/{model-retry-x2s7p62g.js → mime-yywe7zex.js} +13 -13
- package/dist/chunks/{model-retry-0eaaaj4x.js → mime-yz0kavm7.js} +16 -16
- package/dist/chunks/{model-retry-z0bkrqjs.js → mime-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-retry-5bwswyjb.js → mime-z1a2w6sk.js} +28 -28
- package/dist/chunks/{model-retry-z38nccrw.js → mime-z38nccrw.js} +1 -1
- package/dist/chunks/{model-retry-p4gac2xv.js → mime-z44n2dnr.js} +25 -25
- package/dist/chunks/{model-retry-s7pe5jpp.js → mime-zc6v1jhv.js} +14 -14
- package/dist/chunks/{model-retry-1x14vdzp.js → mime-zeg0rdj0.js} +50 -50
- package/dist/chunks/{model-retry-zkg84ctx.js → mime-zkg84ctx.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +94 -94
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- 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 +11 -11
- package/dist/filesystem.js +102 -102
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +109 -109
- package/dist/git.js +10 -10
- 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 +101 -101
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +1 -1
- package/dist/instance.js +356 -356
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +156 -156
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +357 -357
- package/dist/location.js +91 -91
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +140 -140
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +99 -99
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- 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 +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +103 -103
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +123 -123
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +170 -170
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +164 -164
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +130 -130
- package/dist/session/generate.js +166 -166
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +93 -93
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +132 -132
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +101 -101
- package/dist/session/runner/publish-llm-event.js +116 -116
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +212 -212
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +166 -166
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +95 -95
- 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 +137 -137
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +115 -115
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +104 -104
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +88 -88
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +102 -102
- package/package.json +8 -8
- package/dist/chunks/model-retry-das67r30.js +0 -26
- package/dist/chunks/model-retry-ewms6j9b.js +0 -523
- package/dist/chunks/model-retry-f8ma18fn.js +0 -18
- package/dist/chunks/model-retry-qrbjjv6t.js +0 -257
- /package/dist/chunks/{model-retry-0qkdqm5v.js → mime-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-retry-0zkw76rk.js → mime-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-retry-17cy0kzp.js → mime-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-retry-1cnp2v09.js → mime-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-retry-24dcb14g.js → mime-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-retry-2710q6r3.js → mime-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-retry-2bv980vf.js → mime-2bv980vf.js} +0 -0
- /package/dist/chunks/{model-retry-2c3vjs8z.js → mime-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-retry-359p4xyc.js → mime-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-retry-3asan66x.js → mime-3asan66x.js} +0 -0
- /package/dist/chunks/{model-retry-3v8g72cx.js → mime-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-retry-3wcehsnq.js → mime-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-retry-43n2bw4t.js → mime-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-retry-4knz6hnm.js → mime-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-retry-4vcrnpx2.js → mime-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-retry-4y7fprxs.js → mime-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-retry-53557ph1.js → mime-53557ph1.js} +0 -0
- /package/dist/chunks/{model-retry-550bvhaj.js → mime-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-retry-5fjb7ams.js → mime-5fjb7ams.js} +0 -0
- /package/dist/chunks/{model-retry-6prwharc.js → mime-6prwharc.js} +0 -0
- /package/dist/chunks/{model-retry-6q2bdcd1.js → mime-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{model-retry-7akdwqpd.js → mime-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-retry-7m9af43g.js → mime-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-retry-822emrt2.js → mime-822emrt2.js} +0 -0
- /package/dist/chunks/{model-retry-84wd9syh.js → mime-84wd9syh.js} +0 -0
- /package/dist/chunks/{model-retry-88xbtdfr.js → mime-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-retry-8n3pysct.js → mime-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-retry-8wj87zfr.js → mime-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-retry-9a4afbnw.js → mime-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-retry-9rqn6x4v.js → mime-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-retry-a058387c.js → mime-a058387c.js} +0 -0
- /package/dist/chunks/{model-retry-a6k6eb26.js → mime-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-retry-af5trqkr.js → mime-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-retry-afrmfg78.js → mime-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-retry-aqzs7mqg.js → mime-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-retry-atq7p7m5.js → mime-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-retry-bkyjaxrp.js → mime-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-retry-bmr6ed5q.js → mime-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-retry-cf4snx6d.js → mime-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-retry-cvy3z8tj.js → mime-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-retry-d9fn303g.js → mime-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-retry-d9jj8t3e.js → mime-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-retry-dajrwvna.js → mime-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-retry-dap0rakb.js → mime-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-retry-df08tz66.js → mime-df08tz66.js} +0 -0
- /package/dist/chunks/{model-retry-dy18nga0.js → mime-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-retry-e3qxr5gk.js → mime-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{model-retry-e5kj55wp.js → mime-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-retry-e73j6tqm.js → mime-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-retry-ec1grn59.js → mime-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-retry-eh3zwz77.js → mime-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-retry-emrn6kk6.js → mime-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-retry-f0mxakyp.js → mime-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-retry-f6n9ztr4.js → mime-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-retry-faypxj3z.js → mime-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-retry-fd410y7t.js → mime-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-retry-g4wezp1m.js → mime-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-retry-g86h250q.js → mime-g86h250q.js} +0 -0
- /package/dist/chunks/{model-retry-gebd4c9n.js → mime-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-retry-gftt206x.js → mime-gftt206x.js} +0 -0
- /package/dist/chunks/{model-retry-hcxmzztb.js → mime-hcxmzztb.js} +0 -0
- /package/dist/chunks/{model-retry-hk9envan.js → mime-hk9envan.js} +0 -0
- /package/dist/chunks/{model-retry-j2ntwpah.js → mime-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-retry-j5zkgpj8.js → mime-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-retry-jjkms2e6.js → mime-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-retry-jr7sbwjy.js → mime-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-retry-jwfs4k6c.js → mime-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-retry-jze0r7bz.js → mime-jze0r7bz.js} +0 -0
- /package/dist/chunks/{model-retry-jzg6c2d5.js → mime-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-retry-m18g726c.js → mime-m18g726c.js} +0 -0
- /package/dist/chunks/{model-retry-mp448xyj.js → mime-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-retry-msx8hqn2.js → mime-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-retry-n05xt0ee.js → mime-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-retry-n3j8tn72.js → mime-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-retry-njntx4h6.js → mime-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-retry-pkyv6v7h.js → mime-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{model-retry-q3sfg36h.js → mime-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-retry-q74kybfr.js → mime-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-retry-qaymkmh1.js → mime-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-retry-qb87gjwd.js → mime-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-retry-qfa1cgps.js → mime-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-retry-qg3g05ea.js → mime-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-retry-qrg20bc0.js → mime-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-retry-rcb2kzg1.js → mime-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-retry-sdp7kfr6.js → mime-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-retry-ssg3fenm.js → mime-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-retry-ve7vex1e.js → mime-ve7vex1e.js} +0 -0
- /package/dist/chunks/{model-retry-w803qqfp.js → mime-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-retry-wc3fc9cn.js → mime-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-retry-wer8tq1h.js → mime-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-retry-wjj7prxr.js → mime-wjj7prxr.js} +0 -0
- /package/dist/chunks/{model-retry-wtztk69x.js → mime-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-retry-x0ckcb58.js → mime-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-retry-x61499pn.js → mime-x61499pn.js} +0 -0
- /package/dist/chunks/{model-retry-y44na4kk.js → mime-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-retry-y8f7s663.js → mime-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-retry-ygaqb7jw.js → mime-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-retry-ym463w8f.js → mime-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-retry-z5v4ffb3.js → mime-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{model-retry-z9919s4g.js → mime-z9919s4g.js} +0 -0
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service66
|
|
4
|
+
} from "./mime-12yp6zfs.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service35
|
|
7
|
+
} from "./mime-845h38vz.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./mime-6pjqjmy2.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./mime-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
17
17
|
__export(exports_snapshot, {
|
|
18
18
|
ConfigSnapshotPlugin: () => exports_snapshot,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin17
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin17 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service66;
|
|
27
|
+
const snapshot = yield* Service35;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -35,4 +35,4 @@ var Plugin34 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin17, exports_snapshot };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID10,
|
|
3
|
+
Service58
|
|
4
|
+
} from "./mime-7hkznkk2.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service76
|
|
7
|
+
} from "./mime-vxawy97t.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service66
|
|
10
|
+
} from "./mime-12yp6zfs.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service46,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./mime-f6h5pjek.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service21
|
|
17
|
+
} from "./mime-vgatjcfj.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service6
|
|
20
|
+
} from "./mime-csp3r2wr.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./mime-e834z07m.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./mime-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigCommandPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_command = {};
|
|
30
|
+
__export(exports_command, {
|
|
31
|
+
ConfigCommandPlugin: () => exports_command,
|
|
32
|
+
Plugin: () => Plugin21
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -39,10 +39,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
39
39
|
import { ChildProcess } from "effect/process";
|
|
40
40
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
41
41
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
42
|
-
var
|
|
42
|
+
var Plugin21 = define({
|
|
43
43
|
id: "opencode.config.command",
|
|
44
44
|
effect: Effect.fn(function* (ctx) {
|
|
45
|
-
const config = yield*
|
|
45
|
+
const config = yield* Service66;
|
|
46
46
|
const fs = yield* FSUtil.Service;
|
|
47
47
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
48
48
|
if (entry.type === "document")
|
|
@@ -52,12 +52,12 @@ var Plugin28 = define({
|
|
|
52
52
|
const commands = yield* loadDirectory(fs, entry.path);
|
|
53
53
|
return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
|
|
54
54
|
});
|
|
55
|
-
const location = yield*
|
|
55
|
+
const location = yield* Service76;
|
|
56
56
|
const processes = yield* AppProcess.Service;
|
|
57
|
-
const shell = yield*
|
|
58
|
-
const sessions = yield*
|
|
59
|
-
const agents = yield*
|
|
60
|
-
const subagents = yield*
|
|
57
|
+
const shell = yield* Service46;
|
|
58
|
+
const sessions = yield* Service21;
|
|
59
|
+
const agents = yield* Service58;
|
|
60
|
+
const subagents = yield* Service6;
|
|
61
61
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
62
62
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
63
63
|
});
|
|
@@ -78,7 +78,7 @@ var Plugin28 = define({
|
|
|
78
78
|
name,
|
|
79
79
|
description: command.description,
|
|
80
80
|
execute: (input) => Effect.gen(function* () {
|
|
81
|
-
const agent = command.agent === undefined ? undefined :
|
|
81
|
+
const agent = command.agent === undefined ? undefined : ID10.make(command.agent);
|
|
82
82
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
83
83
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
84
84
|
id: command.model.model,
|
|
@@ -202,4 +202,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
202
202
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
203
203
|
var shellRegex = /!`([^`]+)`/g;
|
|
204
204
|
|
|
205
|
-
export {
|
|
205
|
+
export { Plugin21, exports_command };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service66
|
|
3
|
+
} from "./mime-12yp6zfs.js";
|
|
4
4
|
import {
|
|
5
5
|
Service33
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-1jt66y4q.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./mime-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigMcpPlugin: () =>
|
|
15
|
-
Plugin: () =>
|
|
12
|
+
var exports_mcp = {};
|
|
13
|
+
__export(exports_mcp, {
|
|
14
|
+
ConfigMcpPlugin: () => exports_mcp,
|
|
15
|
+
Plugin: () => Plugin25,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin25 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
27
|
+
const config = yield* Service66;
|
|
28
28
|
const mcp = yield* Service33;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin25, register2, exports_mcp };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-5sm65pen.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-pkyv6v7h.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./mime-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./mime-92xjtyzm.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./mime-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./mime-qjgzc4b4.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./mime-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-be4ky1jx.js";
|
|
4
4
|
import {
|
|
5
5
|
supportsText2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-h6chhj6a.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service62,
|
|
9
|
+
Event12
|
|
10
|
+
} from "./mime-m5y7mrec.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/models-dev.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -38,7 +38,7 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
38
38
|
var ModelsDevPlugin2 = define({
|
|
39
39
|
id: "opencode.models.dev",
|
|
40
40
|
effect: Effect.fn(function* (ctx) {
|
|
41
|
-
const modelsDev = yield*
|
|
41
|
+
const modelsDev = yield* Service62;
|
|
42
42
|
const bus = yield* Service85;
|
|
43
43
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
44
44
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -72,7 +72,7 @@ var ModelsDevPlugin2 = define({
|
|
|
72
72
|
loaded.data = snapshots(data);
|
|
73
73
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
74
74
|
};
|
|
75
|
-
yield* bus.subscribe(
|
|
75
|
+
yield* bus.subscribe(Event12.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
76
76
|
const latest = yield* modelsDev.get();
|
|
77
77
|
if (snapshots(latest) !== loaded.data)
|
|
78
78
|
yield* apply(latest);
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-rrad2nt9.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-be4ky1jx.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event18
|
|
10
|
+
} from "./mime-wv25cjfq.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID16,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./mime-c9kxtag3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID12,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service72
|
|
20
|
+
} from "./mime-h5frkgzc.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID11
|
|
23
|
+
} from "./mime-h6chhj6a.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
load3,
|
|
26
|
+
derive3
|
|
27
|
+
} from "./mime-gx9515g0.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./mime-cmrd856v.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID10
|
|
33
|
+
} from "./mime-7hkznkk2.js";
|
|
34
34
|
import {
|
|
35
35
|
get5
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./mime-3nnrz6f6.js";
|
|
37
37
|
|
|
38
38
|
// src/plugin/provider/github-copilot.ts
|
|
39
39
|
import { isRecord } from "@opencode/ai/utils/record";
|
|
@@ -66,7 +66,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
66
66
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
67
67
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
68
68
|
var oauth = (app) => ({
|
|
69
|
-
integrationID:
|
|
69
|
+
integrationID: ID16.make("github-copilot"),
|
|
70
70
|
method: {
|
|
71
71
|
id: methodID,
|
|
72
72
|
type: "oauth",
|
|
@@ -164,7 +164,7 @@ var oauth = (app) => ({
|
|
|
164
164
|
var GithubCopilotPlugin2 = define({
|
|
165
165
|
id: "opencode.provider.github.copilot",
|
|
166
166
|
effect: Effect.fn(function* (ctx) {
|
|
167
|
-
const providers = yield*
|
|
167
|
+
const providers = yield* Service72;
|
|
168
168
|
const bus = yield* Service85;
|
|
169
169
|
const loading = Semaphore.makeUnsafe(1);
|
|
170
170
|
const loaded = {};
|
|
@@ -181,9 +181,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
181
181
|
return;
|
|
182
182
|
}
|
|
183
183
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
184
|
-
const provider = yield* providers.get(
|
|
184
|
+
const provider = yield* providers.get(ID12.githubCopilot);
|
|
185
185
|
const remote = yield* Effect.tryPromise({
|
|
186
|
-
try: () =>
|
|
186
|
+
try: () => load3(url, {
|
|
187
187
|
...provider?.headers,
|
|
188
188
|
Authorization: `Bearer ${credential.refresh}`,
|
|
189
189
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -203,13 +203,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
203
203
|
editor.method.update(oauth(ctx.app));
|
|
204
204
|
});
|
|
205
205
|
yield* ctx.provider.transform((evt) => {
|
|
206
|
-
const item = evt.get(
|
|
206
|
+
const item = evt.get(ID12.githubCopilot);
|
|
207
207
|
if (!item)
|
|
208
208
|
return;
|
|
209
209
|
if (loaded.models) {
|
|
210
210
|
evt.add({
|
|
211
211
|
info: item.provider,
|
|
212
|
-
models: Array.from(
|
|
212
|
+
models: Array.from(derive3(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
|
|
213
213
|
sourceConnection: loaded.connection
|
|
214
214
|
});
|
|
215
215
|
return;
|
|
@@ -231,17 +231,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
231
231
|
}
|
|
232
232
|
});
|
|
233
233
|
yield* ctx.model.transform((models) => {
|
|
234
|
-
if (models.get(
|
|
235
|
-
models.update(
|
|
234
|
+
if (models.get(ID12.githubCopilot, ID11.make("gpt-5-chat-latest"))) {
|
|
235
|
+
models.update(ID12.githubCopilot, ID11.make("gpt-5-chat-latest"), (model) => {
|
|
236
236
|
model.enabled = false;
|
|
237
237
|
});
|
|
238
238
|
}
|
|
239
239
|
});
|
|
240
240
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
241
|
-
yield* bus.subscribe(
|
|
241
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
242
242
|
yield* refresh().pipe(Effect.forkScoped);
|
|
243
243
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
244
|
-
if (evt.model.providerID !==
|
|
244
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
245
245
|
return;
|
|
246
246
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
247
247
|
return;
|
|
@@ -250,7 +250,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
250
250
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
251
251
|
}));
|
|
252
252
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
253
|
-
if (evt.model.providerID !==
|
|
253
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
254
254
|
return;
|
|
255
255
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
256
256
|
return;
|
|
@@ -260,13 +260,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
260
260
|
evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
|
|
261
261
|
if (interaction !== "conversation-agent")
|
|
262
262
|
evt.headers["x-initiator"] = "agent";
|
|
263
|
-
}), { providerID:
|
|
263
|
+
}), { providerID: ID12.githubCopilot });
|
|
264
264
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
265
|
-
if (evt.model.providerID !==
|
|
265
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
266
266
|
return;
|
|
267
267
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
268
268
|
return;
|
|
269
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
269
|
+
const agent = yield* ctx.agent.get({ agentID: ID10.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
270
270
|
return;
|
|
271
271
|
}));
|
|
272
272
|
if (agent?.data.model)
|
|
@@ -277,9 +277,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
277
277
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
278
278
|
return;
|
|
279
279
|
}));
|
|
280
|
-
}), { providerID:
|
|
280
|
+
}), { providerID: ID12.githubCopilot });
|
|
281
281
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
282
|
-
if (evt.model.providerID !==
|
|
282
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
283
283
|
return;
|
|
284
284
|
const token = evt.request.headers.get("x-api-key");
|
|
285
285
|
if (!token)
|
|
@@ -287,9 +287,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
287
287
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
288
288
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
289
289
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
290
|
-
}), { providerID:
|
|
290
|
+
}), { providerID: ID12.githubCopilot });
|
|
291
291
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
292
|
-
if (evt.model.providerID !==
|
|
292
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
293
293
|
return;
|
|
294
294
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
295
295
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service66
|
|
4
|
+
} from "./mime-12yp6zfs.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service46
|
|
7
|
+
} from "./mime-f6h5pjek.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./mime-6pjqjmy2.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./mime-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ConfigShellPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_shell2 = {};
|
|
17
|
+
__export(exports_shell2, {
|
|
18
|
+
ConfigShellPlugin: () => exports_shell2,
|
|
19
|
+
Plugin: () => Plugin18
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin18 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service66;
|
|
27
|
+
const shell = yield* Service46;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin25 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin18, exports_shell2 };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WorktreeError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-cvh6tqsr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service54
|
|
6
|
+
} from "./mime-pw6tpjg0.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service53
|
|
9
|
+
} from "./mime-86vkr6ja.js";
|
|
10
10
|
import {
|
|
11
11
|
DirectoryUnavailableError2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./mime-d4v9tmah.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Info5,
|
|
15
15
|
List2,
|
|
16
16
|
InvalidDirectoryError2,
|
|
17
17
|
StrategyUnavailableError2,
|
|
18
18
|
OperationError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./mime-grfdtbby.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./mime-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/tool/plugin/opencode.ts
|
|
25
25
|
var exports_opencode = {};
|
|
@@ -27,7 +27,7 @@ __export(exports_opencode, {
|
|
|
27
27
|
ModelsInput: () => ModelsInput2,
|
|
28
28
|
MoveInput: () => MoveInput2,
|
|
29
29
|
OpenCodeTools: () => exports_opencode,
|
|
30
|
-
Plugin: () =>
|
|
30
|
+
Plugin: () => Plugin15,
|
|
31
31
|
RenameInput: () => RenameInput2,
|
|
32
32
|
WorktreeCreateInput: () => WorktreeCreateInput2,
|
|
33
33
|
WorktreeRemoveInput: () => WorktreeRemoveInput2
|
|
@@ -97,11 +97,11 @@ var ModelsOutput = Schema.Struct({
|
|
|
97
97
|
total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
|
|
98
98
|
next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
|
|
99
99
|
});
|
|
100
|
-
var
|
|
100
|
+
var Plugin15 = {
|
|
101
101
|
id: "opencode.tools",
|
|
102
102
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
103
|
-
const access = yield*
|
|
104
|
-
const permission = yield*
|
|
103
|
+
const access = yield* Service53;
|
|
104
|
+
const permission = yield* Service54;
|
|
105
105
|
const hook = (event) => Effect.sync(() => {
|
|
106
106
|
event.system.push(SystemPart.make("When you create a worktree outside the current working directory and intend to use it as your primary working directory, consider using `execute` to call `tools.opencode.session_move` and make the worktree the session's working directory."));
|
|
107
107
|
});
|
|
@@ -153,7 +153,7 @@ var Plugin45 = {
|
|
|
153
153
|
name: "worktree_create",
|
|
154
154
|
description: "Create a named worktree. Returns its directory.",
|
|
155
155
|
input: WorktreeCreateInput2,
|
|
156
|
-
output:
|
|
156
|
+
output: Info5,
|
|
157
157
|
options: { namespace: "opencode", codemode: true, pinned: true },
|
|
158
158
|
execute: (input) => ctx.worktree.create({ projectID: ctx.location.project.id, name: input.name }).pipe(Effect.map((output) => ({ output, content: `Created worktree in ${output.directory}.` })), Effect.mapError((error) => new ToolFailure({ message: `Unable to create worktree ${input.name}`, error })))
|
|
159
159
|
});
|
|
@@ -250,4 +250,4 @@ function removeFailure(directory, error) {
|
|
|
250
250
|
return `Unable to remove worktree ${directory}.`;
|
|
251
251
|
}
|
|
252
252
|
|
|
253
|
-
export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2,
|
|
253
|
+
export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin15, exports_opencode };
|