@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,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service66
|
|
7
|
+
} from "./mime-12yp6zfs.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./mime-zkg84ctx.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service75
|
|
13
|
+
} from "./mime-7zghsshh.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service52
|
|
16
|
+
} from "./mime-vp7nbskz.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service54
|
|
19
|
+
} from "./mime-pw6tpjg0.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service53,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./mime-86vkr6ja.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./mime-k814nvkf.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service46,
|
|
32
32
|
name16
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./mime-f6h5pjek.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError6,
|
|
36
|
+
Service41
|
|
37
|
+
} from "./mime-ms6fca56.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service21
|
|
40
|
+
} from "./mime-vgatjcfj.js";
|
|
41
41
|
import {
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
42
|
+
scan2
|
|
43
|
+
} from "./mime-fs4v9sqg.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./mime-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell = {};
|
|
50
|
+
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input12,
|
|
53
|
+
Plugin: () => Plugin14,
|
|
54
|
+
ShellTool: () => exports_shell,
|
|
55
|
+
name: () => name12
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
59
|
import { shellParserWasm } from "#shell-parser-wasm";
|
|
60
|
-
var
|
|
60
|
+
var name12 = "shell";
|
|
61
61
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
62
62
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
63
63
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -71,7 +71,7 @@ var description = (shell) => [
|
|
|
71
71
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
72
72
|
"Background commands return immediately, and you will be notified when they complete."
|
|
73
73
|
].join(" ");
|
|
74
|
-
var
|
|
74
|
+
var Input12 = Schema.Struct({
|
|
75
75
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
76
76
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
77
77
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
|
|
|
117
117
|
truncated: false,
|
|
118
118
|
status: "running"
|
|
119
119
|
});
|
|
120
|
-
var
|
|
120
|
+
var Plugin14 = {
|
|
121
121
|
id: "opencode.tool.shell",
|
|
122
122
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
123
|
-
const sessions = yield*
|
|
124
|
-
const jobs = yield*
|
|
123
|
+
const sessions = yield* Service21;
|
|
124
|
+
const jobs = yield* Service52;
|
|
125
125
|
const scope = yield* Scope.Scope;
|
|
126
|
-
const environment = yield*
|
|
127
|
-
const access = yield*
|
|
128
|
-
const shell = yield*
|
|
129
|
-
const shellSelect = yield*
|
|
126
|
+
const environment = yield* Service75;
|
|
127
|
+
const access = yield* Service53;
|
|
128
|
+
const shell = yield* Service41;
|
|
129
|
+
const shellSelect = yield* Service46;
|
|
130
130
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
131
|
-
const permission = yield*
|
|
132
|
-
const config = yield*
|
|
131
|
+
const permission = yield* Service54;
|
|
132
|
+
const config = yield* Service66;
|
|
133
133
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
134
134
|
const source = {
|
|
135
135
|
type: "tool",
|
|
@@ -140,7 +140,7 @@ var Plugin39 = {
|
|
|
140
140
|
invocation.cwd = target.absolute;
|
|
141
141
|
const timeout = invocation.timeout;
|
|
142
142
|
const portable = latest2(yield* config.entries(), "experimental")?.portable_shell_scanner ?? (shellParserWasm.bash === "" || ctx.app.channel === "local" || ctx.app.channel === "dev");
|
|
143
|
-
const parsed = yield*
|
|
143
|
+
const parsed = yield* scan2(invocation.command, invocation.shell, target.absolute, { portable });
|
|
144
144
|
const directories = yield* Effect.forEach(parsed.directories, (directory) => access.resolve({
|
|
145
145
|
path: resolvePath2(target.absolute, directory),
|
|
146
146
|
kind: "directory"
|
|
@@ -148,7 +148,7 @@ var Plugin39 = {
|
|
|
148
148
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
149
149
|
if (parsed.commands.length > 0)
|
|
150
150
|
yield* permission.assert({
|
|
151
|
-
action:
|
|
151
|
+
action: name12,
|
|
152
152
|
resources: parsed.commands.map((command) => command.resource),
|
|
153
153
|
save: parsed.commands.map((command) => command.save),
|
|
154
154
|
sessionID: context.sessionID,
|
|
@@ -185,10 +185,10 @@ var Plugin39 = {
|
|
|
185
185
|
yield* jobs.completeBackground(info.notificationID);
|
|
186
186
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
187
187
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
188
|
-
name:
|
|
188
|
+
name: name12,
|
|
189
189
|
options: { codemode: false },
|
|
190
190
|
description: description(),
|
|
191
|
-
input:
|
|
191
|
+
input: Input12,
|
|
192
192
|
output: Output,
|
|
193
193
|
execute: (input, context) => Effect.gen(function* () {
|
|
194
194
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -211,7 +211,7 @@ var Plugin39 = {
|
|
|
211
211
|
const run = Effect.gen(function* () {
|
|
212
212
|
const result = yield* shell.result(info);
|
|
213
213
|
if (!result.capture)
|
|
214
|
-
return yield* new
|
|
214
|
+
return yield* new NotFoundError6({ id: info.id });
|
|
215
215
|
const output = output2(result);
|
|
216
216
|
return {
|
|
217
217
|
...output,
|
|
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
225
225
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
226
226
|
const job = yield* jobs.start({
|
|
227
227
|
id: info.id,
|
|
228
|
-
type:
|
|
228
|
+
type: name12,
|
|
229
229
|
title: info.command,
|
|
230
230
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
231
231
|
recovery: {
|
|
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
255
255
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
256
256
|
})).pipe(Effect.orDie);
|
|
257
257
|
const hook = (event) => Effect.gen(function* () {
|
|
258
|
-
const tool = event.tools[
|
|
258
|
+
const tool = event.tools[name12];
|
|
259
259
|
if (!tool)
|
|
260
260
|
return;
|
|
261
261
|
tool.description = description(name16(yield* compatibleShell));
|
|
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
266
266
|
})
|
|
267
267
|
};
|
|
268
268
|
|
|
269
|
-
export {
|
|
269
|
+
export { name12, DEFAULT_TIMEOUT_MS2, Input12, Plugin14, exports_shell };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./mime-be4ky1jx.js";
|
|
5
5
|
import {
|
|
6
6
|
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./mime-bstexjd6.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./mime-z5v4ffb3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service69,
|
|
17
|
+
node71
|
|
18
|
+
} from "./mime-6gm6bk7h.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./mime-vd3b3yk9.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./mime-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event8,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info9,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service40,
|
|
35
35
|
Source: () => Source4,
|
|
36
|
-
node: () =>
|
|
36
|
+
node: () => node43
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode/schema/reference";
|
|
41
41
|
import { Global } from "@opencode/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event8 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
45
|
var Source4 = Reference.Source;
|
|
46
|
-
var
|
|
46
|
+
var Info9 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service40 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
52
|
const bus = yield* Service85;
|
|
53
|
-
const cache = yield*
|
|
53
|
+
const cache = yield* Service69;
|
|
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(Service42, 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(Service42, 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(Service42, 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 Service40.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node43 = makeLocationNode({
|
|
116
|
+
service: Service40,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node, node89,
|
|
118
|
+
deps: [Global.node, node89, node71]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2, Source4,
|
|
121
|
+
export { LocalSource2, GitSource2, Source4, Info9, Service40, node43, exports_reference2, Event8 };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key4,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-9p9xqj3m.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize3,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./mime-fffv3p7h.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./mime-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CodeModeInstructions: () =>
|
|
20
|
-
make: () =>
|
|
17
|
+
var exports_instructions3 = {};
|
|
18
|
+
__export(exports_instructions3, {
|
|
19
|
+
CodeModeInstructions: () => exports_instructions3,
|
|
20
|
+
make: () => make14,
|
|
21
21
|
render: () => render2,
|
|
22
|
-
update: () =>
|
|
22
|
+
update: () => update2
|
|
23
23
|
});
|
|
24
24
|
import { searchSignature, toolExpression } from "@opencode/codemode";
|
|
25
25
|
import { Effect, Schema } from "effect";
|
|
@@ -43,7 +43,7 @@ function render2(catalog) {
|
|
|
43
43
|
${tools.join(`
|
|
44
44
|
`)}`;
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function update2(previous, current) {
|
|
47
47
|
const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
|
|
48
48
|
|
|
49
49
|
${render2(current)}`;
|
|
@@ -109,20 +109,20 @@ ${render2(current)}`;
|
|
|
109
109
|
return delta;
|
|
110
110
|
return replacement;
|
|
111
111
|
}
|
|
112
|
-
var key =
|
|
112
|
+
var key = Key4.make("core/codemode");
|
|
113
113
|
var codec = Schema.toCodecJson(Summary2);
|
|
114
|
-
var
|
|
114
|
+
var make14 = (inventory) => {
|
|
115
115
|
const catalog = inventory === undefined ? removed2 : summarize3(inventory);
|
|
116
|
-
return
|
|
116
|
+
return make21({
|
|
117
117
|
key,
|
|
118
118
|
codec,
|
|
119
119
|
read: Effect.succeed(catalog),
|
|
120
120
|
render: {
|
|
121
121
|
initial: render2,
|
|
122
|
-
changed:
|
|
122
|
+
changed: update2,
|
|
123
123
|
removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
|
|
124
124
|
}
|
|
125
125
|
});
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export { render2,
|
|
128
|
+
export { render2, update2, make14, exports_instructions3 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service66
|
|
3
|
+
} from "./mime-12yp6zfs.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./mime-99s58nzh.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./mime-6pjqjmy2.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./mime-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin33
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin33 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service66;
|
|
26
|
+
const image = yield* Service83;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin21 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin33, exports_image };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./mime-be4ky1jx.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node69
|
|
7
|
+
} from "./mime-makr7g9p.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service4,
|
|
10
|
+
node6
|
|
11
|
+
} from "./mime-fc77mr6m.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service16
|
|
14
|
+
} from "./mime-fmc8gber.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service34
|
|
17
|
+
} from "./mime-ezna1kdx.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
node16,
|
|
20
|
+
ID2
|
|
21
|
+
} from "./mime-yks697c0.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service10,
|
|
24
|
+
node12
|
|
25
|
+
} from "./mime-tqx9c315.js";
|
|
26
26
|
import {
|
|
27
27
|
requirements2,
|
|
28
28
|
guarded2,
|
|
29
29
|
list2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./mime-x49m95er.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
32
|
+
make6,
|
|
33
33
|
LoadError2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./mime-dahs8mrh.js";
|
|
35
35
|
import {
|
|
36
36
|
Updated2,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
37
|
+
Service12,
|
|
38
|
+
node14
|
|
39
|
+
} from "./mime-sjefdf1p.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service11,
|
|
42
|
+
node13
|
|
43
|
+
} from "./mime-xrpfz6f8.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./mime-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/plugin/supervisor.ts
|
|
49
49
|
var exports_supervisor = {};
|
|
@@ -127,7 +127,7 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
127
127
|
failures: [
|
|
128
128
|
...failures.values(),
|
|
129
129
|
...ordered.filter(duplicate).map((plugin) => ({
|
|
130
|
-
id:
|
|
130
|
+
id: ID2.make(plugin.id),
|
|
131
131
|
source: plugin.source ?? { type: "builtin" },
|
|
132
132
|
state: { status: "failed", error: `Duplicate plugin ID: ${plugin.id}` },
|
|
133
133
|
features: { server: true, ...plugin.features }
|
|
@@ -137,14 +137,14 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
137
137
|
};
|
|
138
138
|
});
|
|
139
139
|
var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
140
|
-
const managed = yield*
|
|
141
|
-
const registry = yield*
|
|
142
|
-
const sdk = yield*
|
|
143
|
-
const instance = yield*
|
|
144
|
-
const sources = yield*
|
|
145
|
-
const modules = yield*
|
|
140
|
+
const managed = yield* Service16;
|
|
141
|
+
const registry = yield* Service34;
|
|
142
|
+
const sdk = yield* Service12;
|
|
143
|
+
const instance = yield* Service10;
|
|
144
|
+
const sources = yield* Service4;
|
|
145
|
+
const modules = yield* make6();
|
|
146
146
|
const bus = yield* Service85;
|
|
147
|
-
const updates = yield*
|
|
147
|
+
const updates = yield* Service11;
|
|
148
148
|
const internal = yield* list2();
|
|
149
149
|
let release = yield* registry.hold();
|
|
150
150
|
yield* Effect.addFinalizer(() => release ?? Effect.void);
|
|
@@ -220,14 +220,14 @@ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
220
220
|
})), Effect.forkScoped({ startImmediately: true }));
|
|
221
221
|
}));
|
|
222
222
|
var nodeDeps = [
|
|
223
|
-
|
|
223
|
+
node16,
|
|
224
|
+
node14,
|
|
225
|
+
node12,
|
|
224
226
|
node6,
|
|
225
|
-
|
|
226
|
-
node11,
|
|
227
|
-
node8,
|
|
227
|
+
node13,
|
|
228
228
|
node89,
|
|
229
229
|
Npm.node,
|
|
230
|
-
|
|
230
|
+
node69,
|
|
231
231
|
requirements2
|
|
232
232
|
];
|
|
233
233
|
function pluginSource(target) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID11
|
|
3
|
+
} from "./mime-h6chhj6a.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/openrouter.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
for (const item of models.provider.list()) {
|
|
22
22
|
if (item.provider.package !== "@opencode/ai/providers/openrouter")
|
|
23
23
|
continue;
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID11.make("gpt-5-chat-latest"), ID11.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!models.get(item.provider.id, modelID))
|
|
26
26
|
continue;
|
|
27
27
|
models.update(item.provider.id, modelID, (model) => {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/identity.ts
|
|
6
6
|
var exports_identity = {};
|
|
7
7
|
__export(exports_identity, {
|
|
8
8
|
IdentityPlugin: () => exports_identity,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin50,
|
|
10
10
|
identity: () => identity2
|
|
11
11
|
});
|
|
12
12
|
import { SystemPart } from "@opencode/ai";
|
|
@@ -22,7 +22,7 @@ function identity2(model) {
|
|
|
22
22
|
].join(`
|
|
23
23
|
`);
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var Plugin50 = define({
|
|
26
26
|
id: "opencode.prompt.identity",
|
|
27
27
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
28
28
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -35,4 +35,4 @@ var Plugin10 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export { identity2,
|
|
38
|
+
export { identity2, Plugin50, exports_identity };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-wakvkjy4.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-034tev2y.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./mime-zkg84ctx.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./mime-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|