@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,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./mime-be4ky1jx.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./mime-vd3b3yk9.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./mime-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
13
|
var exports_command4 = {};
|
|
14
14
|
__export(exports_command4, {
|
|
15
15
|
Command: () => exports_command4,
|
|
16
|
-
Event: () =>
|
|
16
|
+
Event: () => Event6,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
18
|
+
Info: () => Info7,
|
|
19
|
+
NotFoundError: () => NotFoundError5,
|
|
20
|
+
Service: () => Service38,
|
|
21
|
+
layer: () => layer17,
|
|
22
|
+
node: () => node41
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event6 } from "@opencode/schema/command";
|
|
28
|
+
var Info7 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError5 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service38 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
44
|
+
var layer17 = Layer.effect(Service38, Effect.gen(function* () {
|
|
45
45
|
const bus = yield* Service85;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
@@ -51,11 +51,11 @@ var layer18 = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info7.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service38.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,14 +66,14 @@ var layer18 = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError5({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
74
|
+
var node41 = makeLocationNode({
|
|
75
|
+
service: Service38,
|
|
76
|
+
layer: layer17,
|
|
77
77
|
deps: [node89]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info7, NotFoundError5, ExecutionError2, Service38, layer17, node41, exports_command4, Event6 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service40,
|
|
3
|
+
node43
|
|
4
|
+
} from "./mime-agbrqsyc.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key4,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make21,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./mime-9p9xqj3m.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./mime-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ReferenceInstructions: () =>
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
16
|
+
var exports_instructions4 = {};
|
|
17
|
+
__export(exports_instructions4, {
|
|
18
|
+
ReferenceInstructions: () => exports_instructions4,
|
|
19
|
+
Service: () => Service25,
|
|
20
|
+
node: () => node28
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -61,19 +61,19 @@ var update = (previous, current) => {
|
|
|
61
61
|
`);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service25 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const references = yield*
|
|
68
|
-
return
|
|
66
|
+
var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
67
|
+
const references = yield* Service40;
|
|
68
|
+
return Service25.of({
|
|
69
69
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
70
70
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
71
71
|
name: reference.name,
|
|
72
72
|
path: reference.path,
|
|
73
73
|
description: reference.description
|
|
74
74
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
75
|
-
return
|
|
76
|
-
key:
|
|
75
|
+
return make21({
|
|
76
|
+
key: Key4.make("core/reference-guidance"),
|
|
77
77
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
78
78
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
79
79
|
render: {
|
|
@@ -85,6 +85,6 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
85
85
|
})
|
|
86
86
|
});
|
|
87
87
|
}));
|
|
88
|
-
var
|
|
88
|
+
var node28 = makeLocationNode({ service: Service25, layer, deps: [node43] });
|
|
89
89
|
|
|
90
|
-
export {
|
|
90
|
+
export { Service25, node28, exports_instructions4 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
which2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-qaymkmh1.js";
|
|
4
4
|
|
|
5
5
|
// src/formatter/builtins.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
7
7
|
import { ChildProcess } from "effect/process";
|
|
8
8
|
import { isRecord } from "@opencode/ai/utils/record";
|
|
9
|
-
function
|
|
9
|
+
function make4(input) {
|
|
10
10
|
const disabled = false;
|
|
11
11
|
const findExecutable = (name) => which2(name, undefined, input.bin);
|
|
12
12
|
const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
|
|
@@ -259,4 +259,4 @@ function hasRecordKey(input, field, key) {
|
|
|
259
259
|
return isRecord(input[field]) && key in input[field];
|
|
260
260
|
}
|
|
261
261
|
|
|
262
|
-
export {
|
|
262
|
+
export { make4 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./mime-cvh6tqsr.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./mime-d4v9tmah.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./mime-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
14
14
|
__export(exports_git2, {
|
|
15
15
|
WorktreeGit: () => exports_git2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make12
|
|
17
17
|
});
|
|
18
18
|
import { Effect } from "effect";
|
|
19
19
|
import { Worktree } from "@opencode/schema/worktree";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
|
-
var
|
|
21
|
+
var make12 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service78;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -46,4 +46,4 @@ var make15 = Effect.gen(function* () {
|
|
|
46
46
|
};
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make12, exports_git2 };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-cmrd856v.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
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./mime-rrad2nt9.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID16,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./mime-c9kxtag3.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service16
|
|
21
|
+
} from "./mime-fmc8gber.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID12,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./mime-h5frkgzc.js";
|
|
27
27
|
import {
|
|
28
28
|
mergeCapabilities2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./mime-h6chhj6a.js";
|
|
30
30
|
import {
|
|
31
31
|
supports2,
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
resolve4
|
|
33
|
+
} from "./mime-nvq2cp9b.js";
|
|
34
34
|
import {
|
|
35
35
|
InvalidRequestError2,
|
|
36
36
|
UnavailableError2,
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
37
|
+
Service13
|
|
38
|
+
} from "./mime-mtgfg349.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
ID3,
|
|
41
|
+
Input14,
|
|
42
42
|
Response2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./mime-qht88apq.js";
|
|
44
44
|
|
|
45
45
|
// src/plugin/provider/opencode.ts
|
|
46
46
|
import {
|
|
@@ -78,7 +78,7 @@ var RemotePolicies = Schema.Array(Schema.Unknown).pipe(Schema.decodeTo(Schema.Un
|
|
|
78
78
|
var RemoteResponse = Schema.Struct({
|
|
79
79
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
80
80
|
websearch: Schema.Struct({
|
|
81
|
-
providerID:
|
|
81
|
+
providerID: ID3
|
|
82
82
|
}).pipe(Schema.optional),
|
|
83
83
|
mcp: Schema.Struct({
|
|
84
84
|
servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
|
|
@@ -136,7 +136,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
136
136
|
}
|
|
137
137
|
function oauth(http) {
|
|
138
138
|
return {
|
|
139
|
-
integrationID:
|
|
139
|
+
integrationID: ID16.make("opencode"),
|
|
140
140
|
method: {
|
|
141
141
|
id: methodID,
|
|
142
142
|
type: "oauth",
|
|
@@ -204,8 +204,8 @@ var OpencodePlugin2 = define({
|
|
|
204
204
|
const bus = yield* Service85;
|
|
205
205
|
const client = yield* HttpClient.HttpClient;
|
|
206
206
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
207
|
-
const managed = yield*
|
|
208
|
-
const voice = yield*
|
|
207
|
+
const managed = yield* Service16;
|
|
208
|
+
const voice = yield* Service13;
|
|
209
209
|
const scope = yield* Scope.Scope;
|
|
210
210
|
const loading = Semaphore.makeUnsafe(1);
|
|
211
211
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -306,7 +306,7 @@ var OpencodePlugin2 = define({
|
|
|
306
306
|
providers.update(providerID, (provider) => {
|
|
307
307
|
if (source && source.provider !== provider)
|
|
308
308
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
309
|
-
provider.integrationID =
|
|
309
|
+
provider.integrationID = ID16.make("opencode");
|
|
310
310
|
if (item.canonical !== undefined)
|
|
311
311
|
provider.canonical = item.canonical;
|
|
312
312
|
if (item.name !== undefined)
|
|
@@ -344,7 +344,7 @@ var OpencodePlugin2 = define({
|
|
|
344
344
|
providers.models.update(providerID, modelID, (model) => {
|
|
345
345
|
if (config.capabilities?.reasoning !== undefined)
|
|
346
346
|
model.variants = [
|
|
347
|
-
...
|
|
347
|
+
...resolve4({ ...model, package: model.package ?? providers.get(providerID)?.provider.package }, supports2(config.capabilities.reasoning))
|
|
348
348
|
];
|
|
349
349
|
for (const variant of config.variants ?? []) {
|
|
350
350
|
let existing = model.variants.find((item) => item.id === variant.id);
|
|
@@ -380,7 +380,7 @@ var OpencodePlugin2 = define({
|
|
|
380
380
|
sourceConnection: snapshot.connection
|
|
381
381
|
});
|
|
382
382
|
}
|
|
383
|
-
const item = providers.get(
|
|
383
|
+
const item = providers.get(ID12.opencode);
|
|
384
384
|
if (!item)
|
|
385
385
|
return;
|
|
386
386
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -392,7 +392,7 @@ var OpencodePlugin2 = define({
|
|
|
392
392
|
});
|
|
393
393
|
});
|
|
394
394
|
yield* ctx.model.transform((models) => {
|
|
395
|
-
const item = models.provider.get(
|
|
395
|
+
const item = models.provider.get(ID12.opencode);
|
|
396
396
|
if (!item)
|
|
397
397
|
return;
|
|
398
398
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -420,7 +420,7 @@ var OpencodePlugin2 = define({
|
|
|
420
420
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
421
421
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
422
422
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
423
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
423
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
|
|
424
424
|
query: input.query,
|
|
425
425
|
providerID: descriptor.providerID
|
|
426
426
|
}));
|
|
@@ -481,7 +481,7 @@ var OpencodePlugin2 = define({
|
|
|
481
481
|
});
|
|
482
482
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
483
483
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
484
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
484
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID12.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
485
485
|
});
|
|
486
486
|
yield* guard(snapshot);
|
|
487
487
|
const polling = yield* FiberHandle.make();
|
|
@@ -492,7 +492,7 @@ var OpencodePlugin2 = define({
|
|
|
492
492
|
onlyIfMissing: true
|
|
493
493
|
});
|
|
494
494
|
});
|
|
495
|
-
yield* bus.subscribe(
|
|
495
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("opencode")), Stream.runForEach(() => refresh().pipe(Effect.andThen(poll()))), Effect.forkScoped({ startImmediately: true }));
|
|
496
496
|
yield* poll();
|
|
497
497
|
})
|
|
498
498
|
});
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-cmrd856v.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-w2eysc6j.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./mime-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin41,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint6
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint6 = "https://mcp.firecrawl.dev/v2/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String,
|
|
24
24
|
limit: Schema.Number.pipe(Schema.optional)
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin41 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -59,7 +59,7 @@ var Plugin3 = define({
|
|
|
59
59
|
execute: (input) => Effect.gen(function* () {
|
|
60
60
|
const connection = yield* ctx.integration.connection.active("firecrawl");
|
|
61
61
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint6, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
|
|
63
63
|
"User-Agent": useragent2(ctx.app),
|
|
64
64
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
|
|
65
65
|
});
|
|
@@ -77,4 +77,4 @@ var Plugin3 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint6, Plugin41, exports_firecrawl };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID16,
|
|
3
|
+
Service80
|
|
4
|
+
} from "./mime-c9kxtag3.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/provider/llmgateway.ts
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
9
9
|
var LLMGatewayPlugin2 = define({
|
|
10
10
|
id: "opencode.provider.llmgateway",
|
|
11
11
|
effect: Effect.fn(function* (ctx) {
|
|
12
|
-
const integrations = yield*
|
|
12
|
+
const integrations = yield* Service80;
|
|
13
13
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
14
14
|
yield* ctx.provider.transform((evt) => {
|
|
15
15
|
for (const item of evt.list()) {
|
|
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
19
19
|
continue;
|
|
20
20
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
21
21
|
continue;
|
|
22
|
-
if (!configured.has(
|
|
22
|
+
if (!configured.has(ID16.make(item.provider.id)))
|
|
23
23
|
continue;
|
|
24
24
|
evt.update(item.provider.id, (provider) => {
|
|
25
25
|
provider.headers = {
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service60,
|
|
3
|
+
node62
|
|
4
|
+
} from "./mime-3xr2c3vg.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./mime-nvxqht09.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./mime-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/session/runner/model.ts
|
|
13
13
|
var exports_model = {};
|
|
14
14
|
__export(exports_model, {
|
|
15
15
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
16
16
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service50,
|
|
18
18
|
SessionRunnerModel: () => exports_model,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node52,
|
|
20
20
|
resolved: () => resolved2
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -39,7 +39,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service50 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
43
43
|
}
|
|
44
44
|
var resolved2 = (model, options) => ({
|
|
45
45
|
model,
|
|
@@ -54,9 +54,9 @@ var resolved2 = (model, options) => ({
|
|
|
54
54
|
compaction: options.compaction,
|
|
55
55
|
transport: options.transport
|
|
56
56
|
});
|
|
57
|
-
var layer = Layer.effect(
|
|
58
|
-
const resolver = yield*
|
|
59
|
-
return
|
|
57
|
+
var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
58
|
+
const resolver = yield* Service60;
|
|
59
|
+
return Service50.of({
|
|
60
60
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
61
61
|
if (!session.model) {
|
|
62
62
|
const resolved = yield* resolver.resolve();
|
|
@@ -74,6 +74,6 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
}));
|
|
77
|
-
var
|
|
77
|
+
var node52 = makeLocationNode({ service: Service50, layer, deps: [node62] });
|
|
78
78
|
|
|
79
|
-
export { ModelNotSelectedError2, ModelUnavailableError2,
|
|
79
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, Service50, resolved2, node52, exports_model };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID10
|
|
3
|
+
} from "./mime-7hkznkk2.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info16
|
|
9
|
+
} from "./mime-esezyxfc.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./mime-przv10k5.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service66
|
|
16
|
+
} from "./mime-12yp6zfs.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./mime-e834z07m.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./mime-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
|
-
var
|
|
26
|
-
__export(
|
|
27
|
-
ConfigAgentPlugin: () =>
|
|
28
|
-
Plugin: () =>
|
|
25
|
+
var exports_agent = {};
|
|
26
|
+
__export(exports_agent, {
|
|
27
|
+
ConfigAgentPlugin: () => exports_agent,
|
|
28
|
+
Plugin: () => Plugin30
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info16);
|
|
44
44
|
var pathActions = ["external_directory", "read", "edit"];
|
|
45
45
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
46
46
|
var nativeKeys = ["permissions", "request", "system", "disabled"];
|
|
47
|
-
var
|
|
47
|
+
var Plugin30 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service66;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin35 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID10.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID10.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -163,4 +163,4 @@ var decode = Effect.fnUntraced(function* (file, content) {
|
|
|
163
163
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
164
164
|
});
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { Plugin30, exports_agent };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make15,
|
|
10
10
|
render: () => render3
|
|
11
11
|
});
|
|
12
12
|
// src/session/runner/prompt/system.txt
|
|
@@ -28,7 +28,7 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
28
28
|
`;
|
|
29
29
|
|
|
30
30
|
// src/session/system-prompt.ts
|
|
31
|
-
function
|
|
31
|
+
function make15(tools) {
|
|
32
32
|
return render3(system_default, tools);
|
|
33
33
|
}
|
|
34
34
|
function render3(prompt, tools) {
|
|
@@ -46,4 +46,4 @@ function render3(prompt, tools) {
|
|
|
46
46
|
`));
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make15, render3, exports_system_prompt };
|