@opencode/core 0.0.0-dev-192 → 0.0.0-dev-197
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 +90 -90
- package/dist/aisdk-native.js +98 -98
- package/dist/aisdk.js +104 -104
- package/dist/app.js +5 -5
- package/dist/bus.js +76 -76
- package/dist/chunks/{command-ff597jm7.js → file-retention-00ay3kdv.js} +22 -22
- package/dist/chunks/{command-h2ry2ahb.js → file-retention-02zav387.js} +9 -9
- package/dist/chunks/{command-aj7mw0zk.js → file-retention-034tev2y.js} +2 -2
- package/dist/chunks/{command-jzfm45zn.js → file-retention-05r0g2r7.js} +5 -5
- package/dist/chunks/{command-9z9tayqc.js → file-retention-0anyt1n6.js} +5 -5
- package/dist/chunks/{command-4rc4c6p6.js → file-retention-0evwtgv8.js} +9 -9
- package/dist/chunks/{command-w687dnns.js → file-retention-0h8y3ex8.js} +4 -4
- package/dist/chunks/{command-qcwk3ksp.js → file-retention-0t1gh2k2.js} +12 -12
- package/dist/chunks/{command-m5gkvr4e.js → file-retention-1024y9y6.js} +4 -4
- package/dist/chunks/{command-8jztxfpf.js → file-retention-11hfp36g.js} +4 -4
- package/dist/chunks/{command-bz229hd6.js → file-retention-13efzyg2.js} +21 -21
- package/dist/chunks/{command-86s92ra1.js → file-retention-1apykrxj.js} +46 -45
- package/dist/chunks/{command-pcr7gbpj.js → file-retention-1cv2vd66.js} +15 -15
- package/dist/chunks/{command-27w5k9zf.js → file-retention-1ep2p91f.js} +2 -2
- package/dist/chunks/{command-wm2sanfk.js → file-retention-1kfywa72.js} +4 -4
- package/dist/chunks/{command-00mjjsd1.js → file-retention-1m8zk9rp.js} +9 -9
- package/dist/chunks/{command-7hmy122c.js → file-retention-1nke647r.js} +11 -11
- package/dist/chunks/{command-ymz7p2c9.js → file-retention-1r7af8ee.js} +3 -3
- package/dist/chunks/{command-gf3f1z7b.js → file-retention-1vt7zj53.js} +7 -7
- package/dist/chunks/{command-1x2knyw4.js → file-retention-1x2knyw4.js} +1 -1
- package/dist/chunks/{command-1yq9hg58.js → file-retention-1yq9hg58.js} +1 -1
- package/dist/chunks/{command-204s3925.js → file-retention-204s3925.js} +1 -1
- package/dist/chunks/{command-jf78x530.js → file-retention-24xmfd7w.js} +13 -13
- package/dist/chunks/{command-njmdq0v4.js → file-retention-2eskrrsw.js} +12 -12
- package/dist/chunks/{command-ztf6n3de.js → file-retention-2mbjfaxd.js} +4 -4
- package/dist/chunks/{command-6sffq8p7.js → file-retention-32hbtqx1.js} +6 -6
- package/dist/chunks/{command-atzg8zb1.js → file-retention-36g55jbn.js} +29 -29
- package/dist/chunks/{command-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
- package/dist/chunks/{command-b4vpdc8n.js → file-retention-3j1m3tq4.js} +5 -5
- package/dist/chunks/{command-vw06atv7.js → file-retention-3jemhejf.js} +8 -8
- package/dist/chunks/{command-ec66vark.js → file-retention-3k3wyk17.js} +25 -25
- package/dist/chunks/{command-ma407v5y.js → file-retention-3n9k8ktf.js} +10 -10
- package/dist/chunks/{command-tmc7xdjs.js → file-retention-3nnrz6f6.js} +4 -4
- package/dist/chunks/{command-phtkj9qf.js → file-retention-3s7skkh9.js} +5 -5
- package/dist/chunks/{command-v0q3mgw6.js → file-retention-3vxknmvb.js} +12 -12
- package/dist/chunks/{command-tjt434kf.js → file-retention-42x4te7c.js} +18 -18
- package/dist/chunks/{command-6bz7qnk4.js → file-retention-44bpj4c9.js} +23 -23
- package/dist/chunks/{command-9h1y6hg7.js → file-retention-45nyv10h.js} +32 -32
- package/dist/chunks/{command-9y6y4p5q.js → file-retention-47r66zre.js} +84 -84
- package/dist/chunks/{command-zf0kqan8.js → file-retention-481gxrfg.js} +4 -4
- package/dist/chunks/{command-dy0rdwyn.js → file-retention-4n32qr4v.js} +7 -7
- package/dist/chunks/{command-438nppkm.js → file-retention-4pbrjawp.js} +27 -27
- package/dist/chunks/{command-4pyp9zr9.js → file-retention-4pyp9zr9.js} +1 -1
- package/dist/chunks/{command-4v008n1t.js → file-retention-4v008n1t.js} +1 -1
- package/dist/chunks/{command-zrc3q1m0.js → file-retention-4xqce2n5.js} +11 -11
- package/dist/chunks/{command-w1yz8y9w.js → file-retention-527s141c.js} +8 -8
- package/dist/chunks/{command-4d51p485.js → file-retention-52hfn8qm.js} +26 -26
- package/dist/chunks/{command-ay2wbdds.js → file-retention-55yn0q28.js} +12 -12
- package/dist/chunks/{command-yafp75j8.js → file-retention-5cwy195j.js} +11 -11
- package/dist/chunks/{command-5m9w47nd.js → file-retention-5m9w47nd.js} +1 -1
- package/dist/chunks/{command-9wzjb77v.js → file-retention-5mm8f81r.js} +5 -5
- package/dist/chunks/{command-bjhzkqyk.js → file-retention-61ennm6n.js} +4 -4
- package/dist/chunks/{command-wzxekqyh.js → file-retention-69sb8681.js} +9 -9
- package/dist/chunks/{command-r438avjf.js → file-retention-6dzgygyw.js} +41 -41
- package/dist/chunks/{command-29ph2m0n.js → file-retention-6e5dkec4.js} +33 -33
- package/dist/chunks/{command-6esdw8yj.js → file-retention-6esdw8yj.js} +1 -1
- package/dist/chunks/{command-w2arfqwz.js → file-retention-6fkjv1xc.js} +12 -12
- package/dist/chunks/{command-4c6kfn9z.js → file-retention-6kzgetar.js} +4 -4
- package/dist/chunks/{command-3mxdezre.js → file-retention-6qazmz99.js} +5 -5
- package/dist/chunks/{command-takvccra.js → file-retention-6twykydk.js} +9 -9
- package/dist/chunks/{command-q1v2rqx1.js → file-retention-71ffcwx2.js} +18 -18
- package/dist/chunks/{command-76cb1hcw.js → file-retention-76cb1hcw.js} +1 -1
- package/dist/chunks/{command-ksmsdsrm.js → file-retention-76z54svf.js} +13 -13
- package/dist/chunks/{command-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
- package/dist/chunks/{command-3qrv10r6.js → file-retention-7d5ng1a2.js} +12 -12
- package/dist/chunks/{command-tyaqfnq9.js → file-retention-7m8d3k8h.js} +18 -18
- package/dist/chunks/{command-5043ej2r.js → file-retention-7mfyhxd7.js} +25 -25
- package/dist/chunks/{command-myvbtv3b.js → file-retention-7qqd2nx3.js} +1 -1
- package/dist/chunks/{command-7tgj3thq.js → file-retention-7vher5vz.js} +23 -23
- package/dist/chunks/{command-7w2ypzdf.js → file-retention-7w2ypzdf.js} +1 -1
- package/dist/chunks/{command-07b35671.js → file-retention-7yb883t5.js} +43 -43
- package/dist/chunks/{command-w84a1txn.js → file-retention-81rf7y7z.js} +11 -11
- package/dist/chunks/{command-r6drjba7.js → file-retention-81x0z535.js} +23 -23
- package/dist/chunks/{command-01b4dp20.js → file-retention-84hv32w5.js} +17 -17
- package/dist/chunks/{command-eexq3avs.js → file-retention-8b5hhaf2.js} +7 -7
- package/dist/chunks/{command-2t58wk4f.js → file-retention-8p4fey4p.js} +11 -11
- package/dist/chunks/{command-9s06frge.js → file-retention-8p5baybq.js} +5 -5
- package/dist/chunks/{command-ayf3m2d5.js → file-retention-8sw03j0e.js} +13 -13
- package/dist/chunks/{command-8wtp7s3z.js → file-retention-8wtp7s3z.js} +1 -1
- package/dist/chunks/{command-8x060fmy.js → file-retention-8x060fmy.js} +1 -1
- package/dist/chunks/{command-90zstvax.js → file-retention-90zstvax.js} +1 -1
- package/dist/chunks/{command-j12cv1sc.js → file-retention-97z6p5c2.js} +26 -26
- package/dist/chunks/{command-wgjkkrj2.js → file-retention-9tsn38wb.js} +21 -21
- package/dist/chunks/{command-sh3c00mc.js → file-retention-9xnya6re.js} +11 -11
- package/dist/chunks/{command-cmx0zgd5.js → file-retention-9zhqn0tq.js} +24 -24
- package/dist/chunks/{command-6xr9vfwh.js → file-retention-ab1m5rfy.js} +15 -15
- package/dist/chunks/{command-em23s76k.js → file-retention-ae8yhtn6.js} +22 -22
- package/dist/chunks/{command-p7f9amnf.js → file-retention-agqd6nxz.js} +6 -6
- package/dist/chunks/{command-b277gfsp.js → file-retention-aqgxz88q.js} +21 -21
- package/dist/chunks/{command-p1jpxsyv.js → file-retention-aqwa35rv.js} +12 -12
- package/dist/chunks/{command-4vy9vv05.js → file-retention-aqy09njx.js} +316 -316
- package/dist/chunks/{command-vv0zpxc5.js → file-retention-as3sm64x.js} +10 -10
- package/dist/chunks/{command-34z95qkg.js → file-retention-asxv01zn.js} +42 -42
- package/dist/chunks/{command-3cbjf1nt.js → file-retention-ayjs7tqn.js} +2 -2
- package/dist/chunks/{command-c3tj1nfn.js → file-retention-b0hsmqv0.js} +22 -22
- package/dist/chunks/{command-6jkh4qsb.js → file-retention-b36ttk86.js} +6 -6
- package/dist/chunks/{command-yp1yfw1j.js → file-retention-b6gbsyrt.js} +5 -5
- package/dist/chunks/{command-b6vsg801.js → file-retention-b6vsg801.js} +2 -2
- package/dist/chunks/{command-gf614vnd.js → file-retention-bckyc6k9.js} +6 -6
- package/dist/chunks/{command-fft6kzd2.js → file-retention-bdzmqtb7.js} +3 -3
- package/dist/chunks/{command-e71bb87j.js → file-retention-bm4gstpq.js} +8 -8
- package/dist/chunks/{command-e79z1jvy.js → file-retention-bt45xqy1.js} +19 -19
- package/dist/chunks/{command-cby6psbp.js → file-retention-byk50ab2.js} +9 -9
- package/dist/chunks/{command-gdrsszk7.js → file-retention-c0ycfh2w.js} +11 -11
- package/dist/chunks/{command-3ryz99p0.js → file-retention-c6x7d2ts.js} +4 -4
- package/dist/chunks/{command-2bnkmtyn.js → file-retention-c7m3737k.js} +36 -36
- package/dist/chunks/{command-2rysqmgp.js → file-retention-c9re5j8a.js} +13 -13
- package/dist/chunks/{command-ssfehs1z.js → file-retention-c9t2ty9q.js} +4 -4
- package/dist/chunks/{command-y0z7xxr2.js → file-retention-cebftnbm.js} +28 -28
- package/dist/chunks/{command-sq4s6wq1.js → file-retention-cg3fcpn4.js} +6 -6
- package/dist/chunks/{command-w4re67rg.js → file-retention-ckfzcqz5.js} +3 -3
- package/dist/chunks/{command-yhdj4qa2.js → file-retention-cm18kf9d.js} +14 -14
- package/dist/chunks/{command-0rq6zj2e.js → file-retention-cvv281km.js} +36 -36
- package/dist/chunks/{command-cwrgdav8.js → file-retention-cwrgdav8.js} +2 -2
- package/dist/chunks/{command-eehpsxwd.js → file-retention-d2rkekdg.js} +11 -11
- package/dist/chunks/{command-gn8tkhbf.js → file-retention-d4v9tmah.js} +2 -2
- package/dist/chunks/{command-p7mdng8d.js → file-retention-d76g5cnb.js} +10 -10
- package/dist/chunks/{command-dsbck6v3.js → file-retention-d7ezq276.js} +11 -11
- package/dist/chunks/{command-egzpwr9w.js → file-retention-dcj312nn.js} +5 -5
- package/dist/chunks/{command-zz7cy004.js → file-retention-dpbhk201.js} +13 -13
- package/dist/chunks/{command-5kbev7nh.js → file-retention-drerwy6v.js} +6 -6
- package/dist/chunks/{command-dt77769w.js → file-retention-dt77769w.js} +1 -1
- package/dist/chunks/{command-k9zkdd2y.js → file-retention-e07q2w5p.js} +4 -4
- package/dist/chunks/{command-fgs47z99.js → file-retention-e0w63sys.js} +25 -25
- package/dist/chunks/{command-e834z07m.js → file-retention-e834z07m.js} +1 -1
- package/dist/chunks/{command-tx91wa5k.js → file-retention-e8pm465n.js} +4 -4
- package/dist/chunks/{command-y0gcdphe.js → file-retention-e8ywph5q.js} +43 -43
- package/dist/chunks/{command-0821qhef.js → file-retention-efer459w.js} +6 -6
- package/dist/chunks/{command-jxqj52kg.js → file-retention-em4evt6c.js} +8 -8
- package/dist/chunks/{command-0md8jbwq.js → file-retention-f4r5xwfc.js} +13 -13
- package/dist/chunks/{command-z6445x7a.js → file-retention-f7jjbss4.js} +12 -12
- package/dist/chunks/{command-sbke1tyt.js → file-retention-fbh8zj85.js} +5 -5
- package/dist/chunks/{command-frj2twk5.js → file-retention-fc5at3zt.js} +18 -18
- package/dist/chunks/{command-fffv3p7h.js → file-retention-fffv3p7h.js} +1 -1
- package/dist/chunks/{command-fg9p65nk.js → file-retention-fg9p65nk.js} +2 -2
- package/dist/chunks/{command-hvm8hq2z.js → file-retention-ft8xs19g.js} +18 -18
- package/dist/chunks/{command-dq1vsfnp.js → file-retention-g5swcsby.js} +12 -12
- package/dist/chunks/{command-8kggrr3e.js → file-retention-g8wyr0p0.js} +13 -13
- package/dist/chunks/{command-zyy21h18.js → file-retention-g8zf12h5.js} +20 -20
- package/dist/chunks/{command-xjzmf0f0.js → file-retention-gc8gtep9.js} +4 -4
- package/dist/chunks/{command-tdjjjkq6.js → file-retention-geg17xg0.js} +27 -27
- package/dist/chunks/{command-7g4ceemv.js → file-retention-gexzakpg.js} +3 -3
- package/dist/chunks/{command-ep59zg61.js → file-retention-gg8p9cgs.js} +3 -3
- package/dist/chunks/{command-kytj30gb.js → file-retention-gp067yzn.js} +11 -11
- package/dist/chunks/{command-cdq1pcjt.js → file-retention-gqqeyx1x.js} +2 -2
- package/dist/chunks/{command-v6pfsmaj.js → file-retention-gv60x5cq.js} +80 -80
- package/dist/chunks/{command-xmsgn8wk.js → file-retention-gw7rtptf.js} +9 -9
- package/dist/chunks/{command-gbkvsjtb.js → file-retention-h2wv7g1z.js} +33 -33
- package/dist/chunks/{command-515hc563.js → file-retention-h3nbc66p.js} +19 -19
- package/dist/chunks/{command-cn1mgj56.js → file-retention-h6t0znmf.js} +9 -9
- package/dist/chunks/file-retention-hccc1d27.js +26 -0
- package/dist/chunks/{command-tvv0tn9w.js → file-retention-hcjxzb33.js} +6 -6
- package/dist/chunks/{command-a7s1nr2m.js → file-retention-hdfrs5mg.js} +2 -2
- package/dist/chunks/{command-hpg1pkwy.js → file-retention-hpg1pkwy.js} +1 -1
- package/dist/chunks/{command-mz5czfjq.js → file-retention-hr6qbbbj.js} +28 -28
- package/dist/chunks/{command-9r0x1bva.js → file-retention-hs9b4b47.js} +9 -9
- package/dist/chunks/{command-3nthtgk6.js → file-retention-hs9c5tve.js} +32 -32
- package/dist/chunks/{command-vc24ps4y.js → file-retention-hz6fz10g.js} +21 -21
- package/dist/chunks/{command-93ee6ynz.js → file-retention-hzs6scc7.js} +26 -26
- package/dist/chunks/{command-p7n3nxvc.js → file-retention-j1ptedcn.js} +16 -16
- package/dist/chunks/{command-2n3kxmrb.js → file-retention-jd833z4n.js} +3 -3
- package/dist/chunks/{command-jfaecv01.js → file-retention-jfaecv01.js} +1 -1
- package/dist/chunks/{command-jtnps1zs.js → file-retention-jtnps1zs.js} +2 -2
- package/dist/chunks/{command-zjfjzrw7.js → file-retention-jvshpvt0.js} +4 -4
- package/dist/chunks/{command-cbkde0jd.js → file-retention-k09ty2nz.js} +17 -17
- package/dist/chunks/{command-x9szzvh5.js → file-retention-k3rsaqe1.js} +13 -13
- package/dist/chunks/{command-k814nvkf.js → file-retention-k814nvkf.js} +1 -1
- package/dist/chunks/{command-chx6yw2v.js → file-retention-k9ry6nae.js} +18 -18
- package/dist/chunks/{command-ebj3rvtd.js → file-retention-ka9dq9bh.js} +11 -11
- package/dist/chunks/{command-yr0jtzyt.js → file-retention-kbs230cz.js} +11 -11
- package/dist/chunks/{command-v8d0t8r0.js → file-retention-kez5w1ys.js} +33 -33
- package/dist/chunks/{command-s1e3bnys.js → file-retention-ks3c9cqr.js} +34 -34
- package/dist/chunks/{command-kt3bjfbg.js → file-retention-kt3bjfbg.js} +1 -1
- package/dist/chunks/{command-m1714858.js → file-retention-m1714858.js} +1 -1
- package/dist/chunks/{command-hfgk9wzg.js → file-retention-m37sd98t.js} +4 -4
- package/dist/chunks/{command-shanfhsz.js → file-retention-m4bjc8bw.js} +9 -9
- package/dist/chunks/{command-nfze187e.js → file-retention-m5n42v94.js} +11 -11
- package/dist/chunks/{command-hr8ybq2q.js → file-retention-m80e7yhz.js} +3 -3
- package/dist/chunks/{command-455g72dc.js → file-retention-m8210qzt.js} +12 -12
- package/dist/chunks/{command-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
- package/dist/chunks/{command-yjx9frm7.js → file-retention-mjzzxa19.js} +5 -5
- package/dist/chunks/{command-h9kvttc7.js → file-retention-mpppa3sy.js} +1 -1
- package/dist/chunks/{command-tjre620e.js → file-retention-n6pb4r7m.js} +6 -6
- package/dist/chunks/{command-qps2khjy.js → file-retention-n7xzwjsb.js} +36 -36
- package/dist/chunks/{command-3j1x65zx.js → file-retention-n810xmn2.js} +172 -172
- package/dist/chunks/{command-nah043kf.js → file-retention-nah043kf.js} +1 -1
- package/dist/chunks/{command-0xgy9r8e.js → file-retention-neary136.js} +9 -9
- package/dist/chunks/{command-km31c7kj.js → file-retention-njkvgpzw.js} +7 -7
- package/dist/chunks/{command-6etkam66.js → file-retention-nmcr2840.js} +34 -34
- package/dist/chunks/{command-p015t6z3.js → file-retention-p015t6z3.js} +2 -2
- package/dist/chunks/{command-k0z9xgt2.js → file-retention-p2x3qxk9.js} +8 -8
- package/dist/chunks/{command-cpgbtk9c.js → file-retention-pbbktnbz.js} +4 -4
- package/dist/chunks/{command-s73byfaf.js → file-retention-pehfm7w7.js} +18 -18
- package/dist/chunks/{command-n6vpezgx.js → file-retention-pfayv7n8.js} +16 -16
- package/dist/chunks/{command-tzqrh5pq.js → file-retention-phacckca.js} +13 -13
- package/dist/chunks/{command-gtbct7qe.js → file-retention-pk1jk6nd.js} +8 -8
- package/dist/chunks/{command-pknna89w.js → file-retention-pknna89w.js} +1 -1
- package/dist/chunks/{command-cn79fdx8.js → file-retention-pntz5nv8.js} +15 -15
- package/dist/chunks/{command-hf61y91y.js → file-retention-pq0g1j3r.js} +14 -14
- package/dist/chunks/{command-mptdz56v.js → file-retention-q6tw3efa.js} +33 -33
- package/dist/chunks/{command-n9e6fwv2.js → file-retention-q98fvpa3.js} +4 -4
- package/dist/chunks/{command-j2d02bpj.js → file-retention-qgfsr1ak.js} +15 -15
- package/dist/chunks/{command-qp7r0hxv.js → file-retention-qp7r0hxv.js} +1 -1
- package/dist/chunks/{command-wxy4dqwa.js → file-retention-qqppq1tw.js} +6 -6
- package/dist/chunks/{command-vpm8vpz0.js → file-retention-qsee9sfb.js} +2 -2
- package/dist/chunks/{command-5nx4wf47.js → file-retention-qwpavc5r.js} +27 -27
- package/dist/chunks/{command-msj7tqt3.js → file-retention-qz087kyw.js} +7 -7
- package/dist/chunks/{command-r0yr0wbs.js → file-retention-r0yr0wbs.js} +1 -1
- package/dist/chunks/{command-r542h3bh.js → file-retention-r542h3bh.js} +1 -1
- package/dist/chunks/{command-qv2477tn.js → file-retention-r564vpxy.js} +17 -17
- package/dist/chunks/{command-rb9dy4dg.js → file-retention-rb9dy4dg.js} +1 -1
- package/dist/chunks/{command-6n9ky129.js → file-retention-rcdgzwjt.js} +16 -16
- package/dist/chunks/{command-zrjs9xec.js → file-retention-rf0tecrn.js} +12 -12
- package/dist/chunks/{command-yqhz1kx0.js → file-retention-rgzggw2r.js} +2 -2
- package/dist/chunks/{command-y7crk8z2.js → file-retention-rpgqzgsw.js} +11 -11
- package/dist/chunks/{command-rt5dr6hb.js → file-retention-rt5dr6hb.js} +1 -1
- package/dist/chunks/{command-p9ayhvdt.js → file-retention-s52g94eq.js} +23 -23
- package/dist/chunks/{command-s7gmm2q3.js → file-retention-s7gmm2q3.js} +3 -3
- package/dist/chunks/{command-29t3wztw.js → file-retention-s99cgj3z.js} +28 -28
- package/dist/chunks/{command-sa3fpqfw.js → file-retention-sa3fpqfw.js} +2 -2
- package/dist/chunks/{command-azw5wzd7.js → file-retention-saw0xt7z.js} +20 -20
- package/dist/chunks/{command-5851zxg9.js → file-retention-se016j3a.js} +4 -4
- package/dist/chunks/{command-10z2q35a.js → file-retention-sg08nake.js} +20 -20
- package/dist/chunks/{command-sqjzf8x2.js → file-retention-sqjzf8x2.js} +1 -1
- package/dist/chunks/{command-svcy3p9a.js → file-retention-svcy3p9a.js} +1 -1
- package/dist/chunks/{command-2v2p2rpz.js → file-retention-t0yv98de.js} +2 -2
- package/dist/chunks/{command-7yect7x1.js → file-retention-t5jqs5j7.js} +2 -2
- package/dist/chunks/{command-tczq8hjw.js → file-retention-tczq8hjw.js} +1 -1
- package/dist/chunks/{command-h1ytfc0y.js → file-retention-tmpm4r5r.js} +8 -8
- package/dist/chunks/{command-5qsq6d1y.js → file-retention-tps1nyr3.js} +24 -24
- package/dist/chunks/{command-czkk2md7.js → file-retention-ttqtdfz1.js} +5 -5
- package/dist/chunks/{command-etbjhst2.js → file-retention-tvps0thf.js} +7 -7
- package/dist/chunks/{command-twssxy5n.js → file-retention-twssxy5n.js} +2 -2
- package/dist/chunks/{command-9q8g9sv8.js → file-retention-v0t96s7a.js} +4 -4
- package/dist/chunks/{command-v2r1d0zg.js → file-retention-v2r1d0zg.js} +1 -1
- package/dist/chunks/{command-kmzgegqq.js → file-retention-v5hpj9dd.js} +8 -8
- package/dist/chunks/{command-r29jt39q.js → file-retention-vcyr9zvk.js} +28 -28
- package/dist/chunks/{command-30bemqd7.js → file-retention-vfpbkdxj.js} +28 -28
- package/dist/chunks/{command-vfybh93w.js → file-retention-vfxqwymt.js} +40 -40
- package/dist/chunks/{command-hqxkkta1.js → file-retention-vg0erq9k.js} +3 -3
- package/dist/chunks/{command-28ac1jrk.js → file-retention-vjbmgwyr.js} +55 -55
- package/dist/chunks/{command-6xrdpfmf.js → file-retention-vmrgyahk.js} +34 -34
- package/dist/chunks/{command-hnfbx6gz.js → file-retention-vnjwe8gy.js} +3 -3
- package/dist/chunks/{command-16xbxjgz.js → file-retention-vqe1mp4b.js} +20 -20
- package/dist/chunks/{command-m7h6p2mz.js → file-retention-vr9ywjng.js} +21 -21
- package/dist/chunks/{command-26x8chrq.js → file-retention-vsqvcqta.js} +6 -6
- package/dist/chunks/{command-33p3rw4f.js → file-retention-vtm22ma1.js} +21 -21
- package/dist/chunks/{command-40za9wsf.js → file-retention-w2eysc6j.js} +9 -9
- package/dist/chunks/{command-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
- package/dist/chunks/{command-b29mbqx6.js → file-retention-w8xr7nv8.js} +5 -5
- package/dist/chunks/{command-wakvkjy4.js → file-retention-wakvkjy4.js} +1 -1
- package/dist/chunks/{command-5dnzaf1y.js → file-retention-watjt3p8.js} +45 -45
- package/dist/chunks/{command-y6sqc5ks.js → file-retention-wbje33cw.js} +4 -4
- package/dist/chunks/{command-waamrcjf.js → file-retention-wczydp3b.js} +2 -2
- package/dist/chunks/{command-wd87259q.js → file-retention-wd87259q.js} +1 -1
- package/dist/chunks/{command-wnhgecwx.js → file-retention-wnhgecwx.js} +1 -1
- package/dist/chunks/{command-8at4k5nj.js → file-retention-x592j5n8.js} +21 -21
- package/dist/chunks/{command-nzjp5m62.js → file-retention-xcj09269.js} +8 -8
- package/dist/chunks/{command-bstexjd6.js → file-retention-xd9cc171.js} +5 -5
- package/dist/chunks/{command-3268pdg4.js → file-retention-xq7py0nk.js} +16 -16
- package/dist/chunks/{command-gtn9c16a.js → file-retention-xt0z8zst.js} +4 -4
- package/dist/chunks/{command-exfq29n4.js → file-retention-xt6yj4t6.js} +22 -22
- package/dist/chunks/{command-fhazfch2.js → file-retention-xwmq2dcw.js} +42 -42
- package/dist/chunks/{command-3zj1xpaw.js → file-retention-y49ten0s.js} +32 -32
- package/dist/chunks/{command-pxtfkpje.js → file-retention-yara3q77.js} +2 -2
- package/dist/chunks/{command-yb20nhc3.js → file-retention-yb20nhc3.js} +1 -1
- package/dist/chunks/{command-rtn5n65h.js → file-retention-ycarv14j.js} +5 -5
- package/dist/chunks/{command-36y1bd58.js → file-retention-yg021pr4.js} +12 -12
- package/dist/chunks/{command-n3bkb5q1.js → file-retention-yjdt6y29.js} +8 -8
- package/dist/chunks/{command-rsjmrn99.js → file-retention-yk6ka46x.js} +3 -3
- package/dist/chunks/{command-xkmmweqg.js → file-retention-ysjrjqrd.js} +15 -15
- package/dist/chunks/file-retention-yxdzradw.js +257 -0
- package/dist/chunks/{command-4rm62t2b.js → file-retention-z2d0yvk9.js} +20 -20
- package/dist/chunks/{command-z38nccrw.js → file-retention-z38nccrw.js} +1 -1
- package/dist/chunks/{command-tk7f1t18.js → file-retention-z3h17q8g.js} +22 -22
- package/dist/chunks/{command-4mpvz957.js → file-retention-z4efjq9s.js} +31 -31
- package/dist/chunks/{command-70wrqntk.js → file-retention-z79z9k8j.js} +9 -9
- package/dist/chunks/{command-1v0kgbst.js → file-retention-zcd9d9xm.js} +26 -26
- package/dist/chunks/{command-y57mav2x.js → file-retention-zf274ksp.js} +21 -21
- package/dist/chunks/{command-e9nx9dch.js → file-retention-zg0ggtad.js} +68 -68
- package/dist/chunks/{command-znhbtrmf.js → file-retention-zke8k14a.js} +15 -15
- package/dist/chunks/{command-9tvh7z9g.js → file-retention-zptqqsqr.js} +49 -49
- package/dist/chunks/{command-7bd1zx9q.js → file-retention-zrj29v3f.js} +17 -17
- package/dist/chunks/{command-v5brjje0.js → file-retention-ztw3rrzx.js} +13 -13
- package/dist/chunks/{command-jrye536t.js → file-retention-zzhx4wss.js} +11 -11
- package/dist/chunks/{command-fw1xdg81.js → file-retention-zzjadyyc.js} +15 -15
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +90 -90
- package/dist/config/discovery.js +91 -91
- package/dist/config/integration.js +3 -3
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +108 -108
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +222 -222
- package/dist/config/plugin/compaction.js +163 -163
- package/dist/config/plugin/compatibility.js +143 -143
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +122 -122
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +139 -139
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +146 -146
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +123 -123
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +90 -90
- package/dist/database/database.js +73 -73
- 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/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration.gen.js +56 -56
- package/dist/database/migration.js +58 -58
- 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 +378 -378
- 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 +102 -102
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +104 -104
- 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 +77 -77
- package/dist/file-access.js +149 -149
- package/dist/file-mutation.js +103 -103
- 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/file-watch.js +84 -84
- package/dist/filesystem/location-watcher-policy.js +4 -4
- package/dist/filesystem/location-watcher.js +235 -235
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +108 -108
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +7 -7
- package/dist/filesystem.js +109 -109
- package/dist/form.js +87 -87
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +96 -96
- package/dist/generate.js +106 -106
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +100 -100
- 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-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +369 -369
- package/dist/instruction-discovery.js +89 -89
- package/dist/instructions/builtins.js +96 -96
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +94 -94
- package/dist/job.js +85 -85
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +76 -76
- package/dist/location-activity.js +164 -164
- package/dist/location-lifecycle.js +143 -143
- package/dist/location-service-map.js +95 -95
- package/dist/location-services.js +366 -366
- package/dist/location.js +90 -90
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +100 -100
- package/dist/mcp/index.js +110 -110
- package/dist/mcp/instructions.js +167 -167
- package/dist/mcp/oauth.js +85 -85
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +99 -99
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +100 -100
- package/dist/model-resolver.js +108 -108
- package/dist/model-retry.js +1 -1
- package/dist/model.js +111 -111
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +117 -117
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +89 -89
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +148 -148
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +93 -93
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +82 -82
- package/dist/plugin/agent.js +83 -83
- package/dist/plugin/command.js +111 -111
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +228 -228
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +339 -339
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +106 -106
- package/dist/plugin/module.js +124 -124
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +139 -139
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +99 -99
- package/dist/plugin/provider/azure.js +120 -120
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +122 -122
- package/dist/plugin/provider/cloudflare-ai-gateway.js +119 -119
- package/dist/plugin/provider/cloudflare-workers-ai.js +119 -119
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +102 -102
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +104 -104
- package/dist/plugin/provider/gitlab.js +102 -102
- package/dist/plugin/provider/google-vertex.js +119 -119
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +85 -85
- package/dist/plugin/provider/lmstudio.js +129 -129
- package/dist/plugin/provider/local.js +128 -128
- package/dist/plugin/provider/modal.js +101 -101
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +131 -131
- package/dist/plugin/provider/openai-context-caps.js +99 -99
- package/dist/plugin/provider/openai.js +124 -124
- package/dist/plugin/provider/opencode.js +125 -125
- package/dist/plugin/provider/openrouter.js +100 -100
- package/dist/plugin/provider/poe.js +86 -86
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +100 -100
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/vllm.js +131 -131
- package/dist/plugin/provider/xai.js +100 -100
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +172 -172
- package/dist/plugin/sdk.js +83 -83
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +142 -142
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +358 -358
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +95 -95
- package/dist/plugin/vcs/hg.js +95 -95
- package/dist/plugin/verbosity.js +102 -102
- package/dist/plugin/warming.js +120 -120
- 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 +6 -6
- package/dist/plugin.js +231 -231
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +108 -108
- 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 +97 -97
- package/dist/reference.js +99 -99
- package/dist/repository-cache.js +89 -89
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +106 -106
- package/dist/rpc.js +95 -95
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +228 -228
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/blob.js +121 -121
- package/dist/session/command.js +81 -81
- package/dist/session/compaction.js +165 -165
- package/dist/session/context.js +189 -189
- package/dist/session/diff.js +97 -97
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +229 -229
- package/dist/session/execution.js +153 -153
- package/dist/session/generate.js +189 -189
- package/dist/session/history.js +128 -128
- package/dist/session/inbox.js +135 -135
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +86 -86
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +133 -133
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +154 -154
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +157 -157
- package/dist/session/projector.js +135 -135
- package/dist/session/prompt.js +141 -141
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +131 -131
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +239 -239
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +109 -109
- package/dist/session/runner/publish-llm-event.js +142 -142
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +155 -155
- package/dist/session/runner/to-llm-message.js +129 -129
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +173 -173
- package/dist/session/shell.js +136 -136
- package/dist/session/skill.js +142 -142
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +80 -80
- package/dist/session/store.js +134 -134
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +220 -220
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +193 -193
- package/dist/session/to-session-error.js +141 -141
- package/dist/session/transfer.js +220 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +222 -222
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +138 -138
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +144 -144
- package/dist/skill.js +149 -149
- package/dist/snapshot.js +98 -98
- 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 +166 -166
- package/dist/tool/plugin/edit.js +155 -155
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +161 -161
- package/dist/tool/plugin/grep.js +161 -161
- package/dist/tool/plugin/mcp-resource.js +155 -155
- package/dist/tool/plugin/opencode.js +154 -154
- package/dist/tool/plugin/patch.js +159 -159
- package/dist/tool/plugin/question.js +139 -139
- package/dist/tool/plugin/read.js +162 -162
- package/dist/tool/plugin/shell.js +223 -223
- package/dist/tool/plugin/skill.js +150 -150
- package/dist/tool/plugin/subagent.js +227 -227
- package/dist/tool/plugin/todo.js +146 -146
- package/dist/tool/plugin/webfetch.js +150 -150
- package/dist/tool/plugin/websearch.js +146 -146
- package/dist/tool/plugin/write.js +159 -159
- package/dist/tool/read-filesystem.js +111 -111
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/usage-limits.js +94 -94
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +101 -101
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +100 -100
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +98 -98
- package/dist/voice.js +95 -95
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +83 -83
- package/dist/wellknown.js +86 -86
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +89 -89
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +98 -98
- package/dist/worktree.js +107 -107
- package/package.json +8 -8
- package/dist/chunks/command-x17jgygk.js +0 -26
- package/dist/chunks/command-xxs30trs.js +0 -257
- /package/dist/chunks/{command-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{command-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
- /package/dist/chunks/{command-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
- /package/dist/chunks/{command-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
- /package/dist/chunks/{command-1jakw16s.js → file-retention-1jakw16s.js} +0 -0
- /package/dist/chunks/{command-24dcb14g.js → file-retention-24dcb14g.js} +0 -0
- /package/dist/chunks/{command-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
- /package/dist/chunks/{command-2bv980vf.js → file-retention-2bv980vf.js} +0 -0
- /package/dist/chunks/{command-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{command-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
- /package/dist/chunks/{command-3asan66x.js → file-retention-3asan66x.js} +0 -0
- /package/dist/chunks/{command-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
- /package/dist/chunks/{command-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
- /package/dist/chunks/{command-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
- /package/dist/chunks/{command-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
- /package/dist/chunks/{command-4vcrnpx2.js → file-retention-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{command-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
- /package/dist/chunks/{command-53557ph1.js → file-retention-53557ph1.js} +0 -0
- /package/dist/chunks/{command-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
- /package/dist/chunks/{command-5w3e23ze.js → file-retention-5w3e23ze.js} +0 -0
- /package/dist/chunks/{command-6prwharc.js → file-retention-6prwharc.js} +0 -0
- /package/dist/chunks/{command-6q2bdcd1.js → file-retention-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{command-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
- /package/dist/chunks/{command-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
- /package/dist/chunks/{command-822emrt2.js → file-retention-822emrt2.js} +0 -0
- /package/dist/chunks/{command-84wd9syh.js → file-retention-84wd9syh.js} +0 -0
- /package/dist/chunks/{command-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
- /package/dist/chunks/{command-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
- /package/dist/chunks/{command-8wj87zfr.js → file-retention-8wj87zfr.js} +0 -0
- /package/dist/chunks/{command-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
- /package/dist/chunks/{command-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{command-a058387c.js → file-retention-a058387c.js} +0 -0
- /package/dist/chunks/{command-a6k6eb26.js → file-retention-a6k6eb26.js} +0 -0
- /package/dist/chunks/{command-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
- /package/dist/chunks/{command-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
- /package/dist/chunks/{command-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{command-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
- /package/dist/chunks/{command-beh6qq61.js → file-retention-beh6qq61.js} +0 -0
- /package/dist/chunks/{command-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{command-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{command-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
- /package/dist/chunks/{command-cqv5kn06.js → file-retention-cqv5kn06.js} +0 -0
- /package/dist/chunks/{command-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{command-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
- /package/dist/chunks/{command-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{command-dajrwvna.js → file-retention-dajrwvna.js} +0 -0
- /package/dist/chunks/{command-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
- /package/dist/chunks/{command-df08tz66.js → file-retention-df08tz66.js} +0 -0
- /package/dist/chunks/{command-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
- /package/dist/chunks/{command-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
- /package/dist/chunks/{command-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
- /package/dist/chunks/{command-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
- /package/dist/chunks/{command-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
- /package/dist/chunks/{command-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
- /package/dist/chunks/{command-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
- /package/dist/chunks/{command-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{command-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
- /package/dist/chunks/{command-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
- /package/dist/chunks/{command-fkpq3x5p.js → file-retention-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{command-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
- /package/dist/chunks/{command-g86h250q.js → file-retention-g86h250q.js} +0 -0
- /package/dist/chunks/{command-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
- /package/dist/chunks/{command-gftt206x.js → file-retention-gftt206x.js} +0 -0
- /package/dist/chunks/{command-hcxmzztb.js → file-retention-hcxmzztb.js} +0 -0
- /package/dist/chunks/{command-hk9envan.js → file-retention-hk9envan.js} +0 -0
- /package/dist/chunks/{command-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
- /package/dist/chunks/{command-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{command-jjkms2e6.js → file-retention-jjkms2e6.js} +0 -0
- /package/dist/chunks/{command-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{command-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{command-jwr30sdr.js → file-retention-jwr30sdr.js} +0 -0
- /package/dist/chunks/{command-jze0r7bz.js → file-retention-jze0r7bz.js} +0 -0
- /package/dist/chunks/{command-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{command-m18g726c.js → file-retention-m18g726c.js} +0 -0
- /package/dist/chunks/{command-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
- /package/dist/chunks/{command-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
- /package/dist/chunks/{command-myztnk54.js → file-retention-myztnk54.js} +0 -0
- /package/dist/chunks/{command-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
- /package/dist/chunks/{command-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
- /package/dist/chunks/{command-ncqqe42p.js → file-retention-ncqqe42p.js} +0 -0
- /package/dist/chunks/{command-nh4v3znn.js → file-retention-nh4v3znn.js} +0 -0
- /package/dist/chunks/{command-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
- /package/dist/chunks/{command-p71gwv9c.js → file-retention-p71gwv9c.js} +0 -0
- /package/dist/chunks/{command-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
- /package/dist/chunks/{command-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
- /package/dist/chunks/{command-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
- /package/dist/chunks/{command-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
- /package/dist/chunks/{command-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
- /package/dist/chunks/{command-qg3g05ea.js → file-retention-qg3g05ea.js} +0 -0
- /package/dist/chunks/{command-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
- /package/dist/chunks/{command-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{command-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{command-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
- /package/dist/chunks/{command-ve7vex1e.js → file-retention-ve7vex1e.js} +0 -0
- /package/dist/chunks/{command-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
- /package/dist/chunks/{command-wc3fc9cn.js → file-retention-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{command-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
- /package/dist/chunks/{command-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
- /package/dist/chunks/{command-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
- /package/dist/chunks/{command-x61499pn.js → file-retention-x61499pn.js} +0 -0
- /package/dist/chunks/{command-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
- /package/dist/chunks/{command-y8f7s663.js → file-retention-y8f7s663.js} +0 -0
- /package/dist/chunks/{command-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{command-z5v4ffb3.js → file-retention-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{command-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-61ennm6n.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-se016j3a.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event18
|
|
10
|
+
} from "./file-retention-vfpbkdxj.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-retention-hzs6scc7.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID13,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service78
|
|
20
|
+
} from "./file-retention-geg17xg0.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID12
|
|
23
|
+
} from "./file-retention-z4efjq9s.js";
|
|
24
24
|
import {
|
|
25
25
|
load4,
|
|
26
26
|
derive3
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./file-retention-d2rkekdg.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-retention-p2x3qxk9.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID9
|
|
33
|
+
} from "./file-retention-xt6yj4t6.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
35
|
+
get5
|
|
36
|
+
} from "./file-retention-3nnrz6f6.js";
|
|
37
37
|
|
|
38
38
|
// src/plugin/provider/github-copilot.ts
|
|
39
39
|
import { isRecord } from "@opencode/util/record";
|
|
@@ -66,7 +66,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
66
66
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
67
67
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
68
68
|
var oauth = (app) => ({
|
|
69
|
-
integrationID:
|
|
69
|
+
integrationID: ID14.make("github-copilot"),
|
|
70
70
|
method: {
|
|
71
71
|
id: methodID,
|
|
72
72
|
type: "oauth",
|
|
@@ -164,7 +164,7 @@ var oauth = (app) => ({
|
|
|
164
164
|
var GithubCopilotPlugin2 = define({
|
|
165
165
|
id: "opencode.provider.github.copilot",
|
|
166
166
|
effect: Effect.fn(function* (ctx) {
|
|
167
|
-
const providers = yield*
|
|
167
|
+
const providers = yield* Service78;
|
|
168
168
|
const bus = yield* Service85;
|
|
169
169
|
const loading = Semaphore.makeUnsafe(1);
|
|
170
170
|
const loaded = {};
|
|
@@ -181,7 +181,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
181
181
|
return;
|
|
182
182
|
}
|
|
183
183
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
184
|
-
const provider = yield* providers.get(
|
|
184
|
+
const provider = yield* providers.get(ID13.githubCopilot);
|
|
185
185
|
const remote = yield* Effect.tryPromise({
|
|
186
186
|
try: () => load4(url, {
|
|
187
187
|
...provider?.headers,
|
|
@@ -203,7 +203,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
203
203
|
editor.method.update(oauth(ctx.app));
|
|
204
204
|
});
|
|
205
205
|
yield* ctx.provider.transform((evt) => {
|
|
206
|
-
const item = evt.get(
|
|
206
|
+
const item = evt.get(ID13.githubCopilot);
|
|
207
207
|
if (!item)
|
|
208
208
|
return;
|
|
209
209
|
if (loaded.models) {
|
|
@@ -231,17 +231,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
231
231
|
}
|
|
232
232
|
});
|
|
233
233
|
yield* ctx.model.transform((models) => {
|
|
234
|
-
if (models.get(
|
|
235
|
-
models.update(
|
|
234
|
+
if (models.get(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"))) {
|
|
235
|
+
models.update(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"), (model) => {
|
|
236
236
|
model.enabled = false;
|
|
237
237
|
});
|
|
238
238
|
}
|
|
239
239
|
});
|
|
240
240
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
241
|
-
yield* bus.subscribe(
|
|
241
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
242
242
|
yield* refresh().pipe(Effect.forkScoped);
|
|
243
243
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
244
|
-
if (evt.model.providerID !==
|
|
244
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
245
245
|
return;
|
|
246
246
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
247
247
|
return;
|
|
@@ -250,23 +250,23 @@ var GithubCopilotPlugin2 = define({
|
|
|
250
250
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
251
251
|
}));
|
|
252
252
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
253
|
-
if (evt.model.providerID !==
|
|
253
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
254
254
|
return;
|
|
255
255
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
256
256
|
return;
|
|
257
257
|
}));
|
|
258
258
|
const interaction = interactionType2(evt.kind, session?.parentID !== undefined);
|
|
259
259
|
evt.headers["X-Interaction-Type"] = interaction;
|
|
260
|
-
evt.headers["X-Interaction-Id"] = session ?
|
|
260
|
+
evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
|
|
261
261
|
if (interaction !== "conversation-agent")
|
|
262
262
|
evt.headers["x-initiator"] = "agent";
|
|
263
|
-
}), { providerID:
|
|
263
|
+
}), { providerID: ID13.githubCopilot });
|
|
264
264
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
265
|
-
if (evt.model.providerID !==
|
|
265
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
266
266
|
return;
|
|
267
267
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
268
268
|
return;
|
|
269
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
269
|
+
const agent = yield* ctx.agent.get({ agentID: ID9.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
270
270
|
return;
|
|
271
271
|
}));
|
|
272
272
|
if (agent?.data.model)
|
|
@@ -277,9 +277,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
277
277
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
278
278
|
return;
|
|
279
279
|
}));
|
|
280
|
-
}), { providerID:
|
|
280
|
+
}), { providerID: ID13.githubCopilot });
|
|
281
281
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
282
|
-
if (evt.model.providerID !==
|
|
282
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
283
283
|
return;
|
|
284
284
|
const token = evt.request.headers.get("x-api-key");
|
|
285
285
|
if (!token)
|
|
@@ -287,9 +287,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
287
287
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
288
288
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
289
289
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
290
|
-
}), { providerID:
|
|
290
|
+
}), { providerID: ID13.githubCopilot });
|
|
291
291
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
292
|
-
if (evt.model.providerID !==
|
|
292
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
293
293
|
return;
|
|
294
294
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
295
295
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-n6pb4r7m.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-gexzakpg.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-se016j3a.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,31 +12,31 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event19,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID16,
|
|
20
|
+
Info: () => Info27,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
23
|
NotFoundError: () => NotFoundError11,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service81,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
28
|
layer: () => layer27,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node85,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event19 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID16 = Form.ID;
|
|
39
|
+
var Info27 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
@@ -45,7 +45,7 @@ var Answer2 = Form.Answer;
|
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
47
|
class NotFoundError11 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
-
id:
|
|
48
|
+
id: ID16
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError11 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID16
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID16
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID16,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,9 +79,9 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service81 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var layer27 = Layer.effect(
|
|
84
|
+
var layer27 = Layer.effect(Service81, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service85;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
@@ -90,7 +90,7 @@ var layer27 = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
90
90
|
});
|
|
91
91
|
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError11({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID16.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -162,9 +162,9 @@ var layer27 = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
162
162
|
closed = true;
|
|
163
163
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
164
164
|
yield* Effect.addFinalizer(() => close);
|
|
165
|
-
return
|
|
165
|
+
return Service81.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
167
|
+
var node85 = makeLocationNode({ service: Service81, layer: layer27, deps: [node89] });
|
|
168
168
|
function validateAnswer2(form, answer) {
|
|
169
169
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
170
170
|
for (const key of Object.keys(answer)) {
|
|
@@ -316,4 +316,4 @@ function isDateTime(value) {
|
|
|
316
316
|
return !Number.isNaN(new Date(value).getTime());
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export {
|
|
319
|
+
export { ID16, Info27, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError11, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service81, layer27, node85, validateAnswer2, validateFields2, exports_form, Event19 };
|
|
@@ -2,27 +2,27 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-retention-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service70,
|
|
8
|
+
node73
|
|
9
|
+
} from "./file-retention-13efzyg2.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Content2
|
|
12
|
+
} from "./file-retention-71ffcwx2.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-retention-4pyp9zr9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
22
22
|
__export(exports_read_filesystem, {
|
|
23
23
|
BinaryFileError: () => BinaryFileError2,
|
|
24
24
|
FileContent: () => FileContent2,
|
|
25
|
-
ListEntry: () =>
|
|
25
|
+
ListEntry: () => ListEntry2,
|
|
26
26
|
ListPage: () => ListPage2,
|
|
27
27
|
MAX_MEDIA_INGEST_BYTES: () => MAX_MEDIA_INGEST_BYTES2,
|
|
28
28
|
MAX_READ_BYTES: () => MAX_READ_BYTES2,
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service37,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node41,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
|
|
|
89
89
|
});
|
|
90
90
|
var FileContent2 = Schema.Struct({
|
|
91
91
|
type: Schema.Literal("file"),
|
|
92
|
-
...
|
|
92
|
+
...Content2.fields
|
|
93
93
|
}).annotate({ identifier: "ReadTool.FileContent" });
|
|
94
94
|
|
|
95
95
|
class TextPage2 extends Schema.Class("ReadTool.TextPage")({
|
|
@@ -101,20 +101,20 @@ class TextPage2 extends Schema.Class("ReadTool.TextPage")({
|
|
|
101
101
|
next: Schema.optionalKey(PositiveInt2)
|
|
102
102
|
}) {
|
|
103
103
|
}
|
|
104
|
-
var
|
|
104
|
+
var ListEntry2 = Schema.Struct({
|
|
105
105
|
path: RelativePath2,
|
|
106
106
|
type: Schema.Literals(["file", "directory", "symlink"])
|
|
107
107
|
}).annotate({ identifier: "ReadTool.ListEntry" });
|
|
108
108
|
|
|
109
109
|
class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
110
110
|
type: Schema.Literal("list-page"),
|
|
111
|
-
entries: Schema.Array(
|
|
111
|
+
entries: Schema.Array(ListEntry2),
|
|
112
112
|
truncated: Schema.Boolean,
|
|
113
113
|
next: Schema.optionalKey(PositiveInt2)
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service37 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -227,7 +227,7 @@ var list = (items, page) => {
|
|
|
227
227
|
const offset = page.offset || 1;
|
|
228
228
|
const limit = Math.min(page.limit || MAX_READ_LINES2, MAX_READ_LINES2);
|
|
229
229
|
const visible = items.flatMap((item) => item.type === "other" ? [] : [
|
|
230
|
-
|
|
230
|
+
ListEntry2.make({
|
|
231
231
|
path: RelativePath2.make(item.name + (item.type === "directory" ? path.sep : "")),
|
|
232
232
|
type: item.type
|
|
233
233
|
})
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service70;
|
|
335
|
+
return Service37.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node41 = makeLocationNode({ service: Service37, layer, deps: [node73] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service37, read2, node41, exports_read_filesystem };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
policy3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-wnhgecwx.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionEvent2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-ec1grn59.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/retry.ts
|
|
12
12
|
var exports_retry = {};
|
|
13
13
|
__export(exports_retry, {
|
|
14
14
|
SessionRunnerRetry: () => exports_retry,
|
|
15
15
|
isRetryable: () => isRetryable2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make5,
|
|
17
17
|
policy: () => policy2
|
|
18
18
|
});
|
|
19
19
|
import { isRetryable as isRetryable2 } from "@opencode/ai/effect";
|
|
@@ -39,7 +39,7 @@ var policy2 = (sessionID) => Effect.gen(function* () {
|
|
|
39
39
|
return { retry: true, attempt: next.attempt, delay: normalized };
|
|
40
40
|
});
|
|
41
41
|
});
|
|
42
|
-
var
|
|
42
|
+
var make5 = (bus, sessionID) => Effect.gen(function* () {
|
|
43
43
|
const decide = yield* policy2(sessionID);
|
|
44
44
|
const wait = (input) => Effect.gen(function* () {
|
|
45
45
|
const scheduled = yield* Clock.currentTimeMillis;
|
|
@@ -56,4 +56,4 @@ var make10 = (bus, sessionID) => Effect.gen(function* () {
|
|
|
56
56
|
return { decide, wait };
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
export { isRetryable2, policy2,
|
|
59
|
+
export { isRetryable2, policy2, make5, exports_retry };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service73
|
|
4
|
+
} from "./file-retention-cvv281km.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-retention-hpg1pkwy.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service54
|
|
10
|
+
} from "./file-retention-7yb883t5.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/todo.ts
|
|
16
16
|
var exports_todo = {};
|
|
17
17
|
__export(exports_todo, {
|
|
18
18
|
Info: () => Info2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
Output: () =>
|
|
21
|
-
Plugin: () =>
|
|
19
|
+
Input: () => Input5,
|
|
20
|
+
Output: () => Output5,
|
|
21
|
+
Plugin: () => Plugin24,
|
|
22
22
|
TodoTool: () => exports_todo,
|
|
23
|
-
name: () =>
|
|
23
|
+
name: () => name5,
|
|
24
24
|
summarize: () => summarize2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
@@ -37,17 +37,17 @@ Use it proactively when a task has 3 or more distinct steps, or when the user gi
|
|
|
37
37
|
`;
|
|
38
38
|
|
|
39
39
|
// src/tool/plugin/todo.ts
|
|
40
|
-
var
|
|
40
|
+
var name5 = "todowrite";
|
|
41
41
|
var Info2 = Schema.Struct({
|
|
42
42
|
content: Schema.String.annotate({ description: "Brief description of the task" }),
|
|
43
43
|
status: Schema.Literals(["pending", "in_progress", "completed", "cancelled"]).annotate({
|
|
44
44
|
description: "Current status of the task: pending, in_progress, completed, cancelled"
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var Input5 = Schema.Struct({
|
|
48
48
|
todos: Schema.Array(Info2).annotate({ description: "The updated todo list" })
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Output5 = Schema.Struct({
|
|
51
51
|
todos: Schema.Array(Info2)
|
|
52
52
|
});
|
|
53
53
|
var summarize2 = (todos) => {
|
|
@@ -61,24 +61,24 @@ var summarize2 = (todos) => {
|
|
|
61
61
|
const active = todos.filter((todo) => todo.status === "in_progress").map((todo) => JSON.stringify(todo.content));
|
|
62
62
|
return `Todos updated: ${counts}${active.length ? `. In progress: ${active.join(", ")}` : ""}`;
|
|
63
63
|
};
|
|
64
|
-
var
|
|
64
|
+
var Plugin24 = {
|
|
65
65
|
id: "opencode.tool.todo",
|
|
66
66
|
effect: Effect.fn("TodoTool.Plugin")(function* (ctx) {
|
|
67
|
-
const config = yield*
|
|
68
|
-
const permission = yield*
|
|
67
|
+
const config = yield* Service73;
|
|
68
|
+
const permission = yield* Service54;
|
|
69
69
|
const loaded = yield* observe2(config, ctx.event, ctx.tool.reload());
|
|
70
70
|
const enabled = () => latest2(loaded.entries, "experimental")?.todo === true;
|
|
71
71
|
yield* ctx.tool.transform((editor) => {
|
|
72
72
|
if (!enabled())
|
|
73
73
|
return;
|
|
74
74
|
editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name5,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: todowrite_default,
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input5,
|
|
79
|
+
output: Output5,
|
|
80
80
|
execute: (input, context) => permission.assert({
|
|
81
|
-
action:
|
|
81
|
+
action: name5,
|
|
82
82
|
resources: ["*"],
|
|
83
83
|
save: ["*"],
|
|
84
84
|
sessionID: context.sessionID,
|
|
@@ -94,4 +94,4 @@ var Plugin38 = {
|
|
|
94
94
|
})
|
|
95
95
|
};
|
|
96
96
|
|
|
97
|
-
export {
|
|
97
|
+
export { name5, Info2, Input5, Output5, summarize2, Plugin24, exports_todo };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
11
|
-
MAX_RESPONSE_BYTES: () =>
|
|
12
|
-
WebSearchMcp: () =>
|
|
9
|
+
var exports_mcp2 = {};
|
|
10
|
+
__export(exports_mcp2, {
|
|
11
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
12
|
+
WebSearchMcp: () => exports_mcp2,
|
|
13
13
|
call: () => call2,
|
|
14
14
|
parseResponse: () => parseResponse2
|
|
15
15
|
});
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var MAX_RESPONSE_BYTES3 = 256 * 1024;
|
|
19
19
|
var parseResponse2 = (body, result) => {
|
|
20
20
|
const decode = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Struct({ result })));
|
|
21
21
|
const parse = (payload) => {
|
|
@@ -53,7 +53,7 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
53
53
|
}));
|
|
54
54
|
return yield* Effect.gen(function* () {
|
|
55
55
|
const response = yield* HttpClient.withScope(HttpClient.filterStatusOk(http)).execute(request);
|
|
56
|
-
const body = yield* collectBoundedResponseBody2(response,
|
|
56
|
+
const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES3} bytes`));
|
|
57
57
|
return yield* parseResponse2(body.toString("utf8"), schema.output);
|
|
58
58
|
}).pipe(Effect.scoped, Effect.timeoutOrElse({
|
|
59
59
|
duration: Duration.seconds(25),
|
|
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
61
61
|
}));
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
export {
|
|
64
|
+
export { MAX_RESPONSE_BYTES3, parseResponse2, call2, exports_mcp2 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/delete.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
codeInterpreterArgsSchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-eh3zwz77.js";
|
|
4
4
|
import {
|
|
5
5
|
fileSearchArgsSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-e73j6tqm.js";
|
|
7
7
|
import {
|
|
8
8
|
webSearchArgsSchema2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-3wcehsnq.js";
|
|
10
10
|
import {
|
|
11
11
|
webSearchPreviewArgsSchema2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-retention-dap0rakb.js";
|
|
13
13
|
import {
|
|
14
14
|
imageGenerationArgsSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-retention-4y7fprxs.js";
|
|
16
16
|
|
|
17
17
|
// src/github-copilot/responses/openai-responses-prepare-tools.ts
|
|
18
18
|
import {
|