@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,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-p2x3qxk9.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-se016j3a.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
8
|
+
ID15,
|
|
9
|
+
Event18,
|
|
10
|
+
Service80
|
|
11
|
+
} from "./file-retention-vfpbkdxj.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-retention-61ennm6n.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID14,
|
|
17
17
|
MethodID2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-retention-hzs6scc7.js";
|
|
19
19
|
import {
|
|
20
20
|
which2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-retention-qaymkmh1.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
ID13,
|
|
24
|
+
Service78
|
|
25
|
+
} from "./file-retention-geg17xg0.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
ID12
|
|
28
|
+
} from "./file-retention-z4efjq9s.js";
|
|
29
29
|
import {
|
|
30
30
|
configuredSettings2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./file-retention-b36ttk86.js";
|
|
32
32
|
|
|
33
33
|
// src/plugin/provider/azure.ts
|
|
34
34
|
import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -70,11 +70,11 @@ function make6(endpoints = {
|
|
|
70
70
|
return define({
|
|
71
71
|
id: "opencode.provider.azure",
|
|
72
72
|
effect: Effect.fn(function* (ctx) {
|
|
73
|
-
const configured = yield* configuredSettings2(
|
|
73
|
+
const configured = yield* configuredSettings2(ID13.azure);
|
|
74
74
|
const processes = yield* AppProcess.Service;
|
|
75
75
|
const bus = yield* Service85;
|
|
76
|
-
const credentials = yield*
|
|
77
|
-
const providers = yield*
|
|
76
|
+
const credentials = yield* Service80;
|
|
77
|
+
const providers = yield* Service78;
|
|
78
78
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
79
79
|
const tokens = new Map;
|
|
80
80
|
const resourceIDs = new Map;
|
|
@@ -100,11 +100,11 @@ function make6(endpoints = {
|
|
|
100
100
|
const configuredResource = Boolean(resolveResourceName(configured) || typeof configured?.baseURL === "string");
|
|
101
101
|
yield* ctx.integration.transform((editor) => {
|
|
102
102
|
editor.method.update({
|
|
103
|
-
integrationID:
|
|
103
|
+
integrationID: ID13.azure,
|
|
104
104
|
method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
|
|
105
105
|
});
|
|
106
106
|
editor.method.update({
|
|
107
|
-
integrationID:
|
|
107
|
+
integrationID: ID13.azure,
|
|
108
108
|
method: {
|
|
109
109
|
type: "key",
|
|
110
110
|
label: "API key",
|
|
@@ -122,7 +122,7 @@ function make6(endpoints = {
|
|
|
122
122
|
if (!available)
|
|
123
123
|
return;
|
|
124
124
|
editor.method.update({
|
|
125
|
-
integrationID:
|
|
125
|
+
integrationID: ID13.azure,
|
|
126
126
|
method: {
|
|
127
127
|
id: methodID,
|
|
128
128
|
type: "external",
|
|
@@ -142,8 +142,8 @@ function make6(endpoints = {
|
|
|
142
142
|
});
|
|
143
143
|
});
|
|
144
144
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
145
|
-
const connection = yield* ctx.integration.connection.active(
|
|
146
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
145
|
+
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
146
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID15.make(connection.id)) : undefined;
|
|
147
147
|
return { connection, resource: credentialResource(stored?.value) };
|
|
148
148
|
});
|
|
149
149
|
const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
|
|
@@ -182,7 +182,7 @@ function make6(endpoints = {
|
|
|
182
182
|
}));
|
|
183
183
|
const discover = Effect.fn("AzurePlugin.discover")(function* () {
|
|
184
184
|
const connection = loaded.connection;
|
|
185
|
-
const settings = (yield* providers.get(
|
|
185
|
+
const settings = (yield* providers.get(ID13.azure))?.settings;
|
|
186
186
|
const name = loaded.resource ?? resolveResourceName(settings);
|
|
187
187
|
const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
|
|
188
188
|
if (loaded.connection !== connection)
|
|
@@ -204,11 +204,11 @@ function make6(endpoints = {
|
|
|
204
204
|
const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
|
|
205
205
|
if (!found)
|
|
206
206
|
return;
|
|
207
|
-
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(
|
|
207
|
+
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID13.azure)))
|
|
208
208
|
return;
|
|
209
209
|
if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
|
|
210
210
|
return;
|
|
211
|
-
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(
|
|
211
|
+
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID13.azure)?.models.keys() ?? [], (id) => [
|
|
212
212
|
id.toLowerCase(),
|
|
213
213
|
id
|
|
214
214
|
]));
|
|
@@ -221,11 +221,11 @@ function make6(endpoints = {
|
|
|
221
221
|
yield* ctx.model.reload();
|
|
222
222
|
});
|
|
223
223
|
const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
|
|
224
|
-
const resourceFor = (provider) => provider.id ===
|
|
224
|
+
const resourceFor = (provider) => provider.id === ID13.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
|
|
225
225
|
Object.assign(loaded, yield* load());
|
|
226
226
|
yield* ctx.provider.transform((evt) => {
|
|
227
227
|
for (const item of evt.list()) {
|
|
228
|
-
if (item.provider.id !==
|
|
228
|
+
if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
229
229
|
continue;
|
|
230
230
|
const resourceName = resourceFor(item.provider);
|
|
231
231
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -240,7 +240,7 @@ function make6(endpoints = {
|
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
242
|
}
|
|
243
|
-
const item = evt.get(
|
|
243
|
+
const item = evt.get(ID13.azure);
|
|
244
244
|
if (!item)
|
|
245
245
|
return;
|
|
246
246
|
evt.add({
|
|
@@ -251,7 +251,7 @@ function make6(endpoints = {
|
|
|
251
251
|
});
|
|
252
252
|
yield* ctx.model.transform((models) => {
|
|
253
253
|
for (const item of models.provider.list()) {
|
|
254
|
-
if (item.provider.id !==
|
|
254
|
+
if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
255
255
|
continue;
|
|
256
256
|
const resourceName = resourceFor(item.provider);
|
|
257
257
|
if (!resourceName)
|
|
@@ -270,20 +270,20 @@ function make6(endpoints = {
|
|
|
270
270
|
}
|
|
271
271
|
if (!loaded.deployments)
|
|
272
272
|
return;
|
|
273
|
-
const catalog = models.list(
|
|
273
|
+
const catalog = models.list(ID13.azure);
|
|
274
274
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
275
275
|
for (const model of catalog) {
|
|
276
276
|
if (!deployed.has(model.id))
|
|
277
|
-
models.remove(
|
|
277
|
+
models.remove(ID13.azure, model.id);
|
|
278
278
|
}
|
|
279
279
|
for (const [id, model] of deployed) {
|
|
280
|
-
models.update(
|
|
280
|
+
models.update(ID13.azure, id, (draft) => Object.assign(draft, model));
|
|
281
281
|
}
|
|
282
282
|
});
|
|
283
|
-
yield* bus.subscribe(
|
|
283
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
|
|
284
284
|
yield* refresh().pipe(Effect.forkScoped);
|
|
285
285
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
286
|
-
const connection = yield* ctx.integration.connection.active(
|
|
286
|
+
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
287
287
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
288
288
|
return;
|
|
289
289
|
})) : undefined;
|
|
@@ -295,7 +295,7 @@ function make6(endpoints = {
|
|
|
295
295
|
return `Bearer ${current.access}`;
|
|
296
296
|
});
|
|
297
297
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
298
|
-
if (evt.model.providerID !==
|
|
298
|
+
if (evt.model.providerID !== ID13.azure)
|
|
299
299
|
return;
|
|
300
300
|
const authorization = yield* bearer(evt.request.url);
|
|
301
301
|
if (!authorization)
|
|
@@ -304,9 +304,9 @@ function make6(endpoints = {
|
|
|
304
304
|
evt.request.headers.delete("x-api-key");
|
|
305
305
|
evt.request.headers.set("authorization", authorization);
|
|
306
306
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
307
|
-
}), { providerID:
|
|
307
|
+
}), { providerID: ID13.azure });
|
|
308
308
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
309
|
-
if (evt.model.providerID !==
|
|
309
|
+
if (evt.model.providerID !== ID13.azure)
|
|
310
310
|
return;
|
|
311
311
|
const authorization = yield* bearer(evt.url);
|
|
312
312
|
if (!authorization)
|
|
@@ -315,7 +315,7 @@ function make6(endpoints = {
|
|
|
315
315
|
delete evt.headers["x-api-key"];
|
|
316
316
|
evt.headers.authorization = authorization;
|
|
317
317
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
318
|
-
}), { providerID:
|
|
318
|
+
}), { providerID: ID13.azure });
|
|
319
319
|
})
|
|
320
320
|
});
|
|
321
321
|
}
|
|
@@ -349,11 +349,11 @@ function deployedModels(deployments, catalog) {
|
|
|
349
349
|
const model = catalogModel(models, deployment);
|
|
350
350
|
if (!model)
|
|
351
351
|
return [];
|
|
352
|
-
const id =
|
|
352
|
+
const id = ID12.make(deployment.name.toLowerCase());
|
|
353
353
|
const info = {
|
|
354
354
|
...structuredClone(model),
|
|
355
355
|
id,
|
|
356
|
-
modelID:
|
|
356
|
+
modelID: ID12.make(deployment.name),
|
|
357
357
|
name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
|
|
358
358
|
};
|
|
359
359
|
return [[id, info]];
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service70
|
|
3
|
+
} from "./file-retention-13efzyg2.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service22,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-retention-g8wyr0p0.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service15
|
|
11
|
+
} from "./file-retention-m5n42v94.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service54
|
|
14
|
+
} from "./file-retention-7yb883t5.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service16
|
|
17
|
+
} from "./file-retention-ae8yhtn6.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-retention-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input11,
|
|
29
|
+
Output: () => Output7,
|
|
30
|
+
Plugin: () => Plugin31,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name11,
|
|
33
|
+
toModelContent: () => toModelContent5
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name11 = "write";
|
|
39
|
+
var Input11 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output7 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent5 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin31 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service16;
|
|
56
|
+
const fileMutation = yield* Service22;
|
|
57
|
+
const environment = yield* Service70;
|
|
58
|
+
const formatter = yield* Service15;
|
|
59
|
+
const permission = yield* Service54;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name11,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input11,
|
|
69
|
+
output: Output7,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent5(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name11, Input11, Output7, toModelContent5, Plugin31, exports_write };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-retention-mpppa3sy.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
|
-
|
|
9
|
+
make23,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-retention-n6pb4r7m.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_drizzle, {
|
|
|
22
22
|
EffectSQLiteDatabase: () => EffectSQLiteDatabase2,
|
|
23
23
|
EffectSQLiteSession: () => EffectSQLiteSession2,
|
|
24
24
|
EffectSQLiteTransaction: () => EffectSQLiteTransaction2,
|
|
25
|
-
make: () =>
|
|
25
|
+
make: () => make23,
|
|
26
26
|
makeWithDefaults: () => makeWithDefaults2,
|
|
27
27
|
managesTransactionsNatively: () => managesTransactionsNatively2
|
|
28
28
|
});
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
nativeSettings2,
|
|
6
6
|
timeouts2,
|
|
7
7
|
mergeOverlay2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-retention-geg17xg0.js";
|
|
9
9
|
import {
|
|
10
10
|
stringify2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-retention-1jakw16s.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/aisdk.ts
|
|
17
17
|
var exports_aisdk = {};
|
|
18
18
|
__export(exports_aisdk, {
|
|
19
19
|
AISDK: () => exports_aisdk,
|
|
20
20
|
InitError: () => InitError2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service59,
|
|
22
22
|
locationLayer: () => locationLayer2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node62
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -153,7 +153,7 @@ function throughMiddleware(store, send, input, init) {
|
|
|
153
153
|
var HEADER_TIMEOUT_MESSAGE = "Response headers timed out";
|
|
154
154
|
|
|
155
155
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
156
|
-
providerID:
|
|
156
|
+
providerID: ID13,
|
|
157
157
|
cause: Schema.Defect()
|
|
158
158
|
}) {
|
|
159
159
|
}
|
|
@@ -161,9 +161,9 @@ function initError(providerID) {
|
|
|
161
161
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
class
|
|
164
|
+
class Service59 extends Context.Service()("@opencode/AISDK") {
|
|
165
165
|
}
|
|
166
|
-
var locationLayer2 = Layer.effect(
|
|
166
|
+
var locationLayer2 = Layer.effect(Service59, Effect.gen(function* () {
|
|
167
167
|
let sdkHooks = [];
|
|
168
168
|
let languageHooks = [];
|
|
169
169
|
const languages = new Map;
|
|
@@ -201,7 +201,7 @@ var locationLayer2 = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
201
201
|
}
|
|
202
202
|
return event;
|
|
203
203
|
});
|
|
204
|
-
const service =
|
|
204
|
+
const service = Service59.of({
|
|
205
205
|
hook: {
|
|
206
206
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
207
207
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -863,6 +863,6 @@ function providerErrorMessage(error) {
|
|
|
863
863
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
864
864
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
865
865
|
}
|
|
866
|
-
var
|
|
866
|
+
var node62 = makeLocationNode({ service: Service59, layer: locationLayer2, deps: [] });
|
|
867
867
|
|
|
868
|
-
export { InitError2,
|
|
868
|
+
export { InitError2, Service59, locationLayer2, node62, exports_aisdk };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-w2eysc6j.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin40,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint6
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint6 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin40 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin4 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint6);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint6, Plugin40, exports_exa };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-gqqeyx1x.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service74
|
|
3
|
+
} from "./file-retention-cm18kf9d.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-gqqeyx1x.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service73
|
|
9
|
+
} from "./file-retention-cvv281km.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-retention-xt0z8zst.js";
|
|
13
13
|
import {
|
|
14
14
|
File2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service40
|
|
16
|
+
} from "./file-retention-x592j5n8.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin2
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -31,17 +31,17 @@ import { sameDirectory } from "@opencode/util/path";
|
|
|
31
31
|
import path, { dirname, join } from "path";
|
|
32
32
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
33
33
|
import { HttpClient, HttpClientRequest } from "effect/http";
|
|
34
|
-
var
|
|
34
|
+
var Plugin2 = define({
|
|
35
35
|
id: "opencode.config.instruction",
|
|
36
36
|
effect: Effect.fn(function* (ctx) {
|
|
37
|
-
const discovery = yield*
|
|
37
|
+
const discovery = yield* Service40;
|
|
38
38
|
yield* Effect.gen(function* () {
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service73;
|
|
40
40
|
const fs = yield* FSUtil.Service;
|
|
41
41
|
const global = yield* Global.Service;
|
|
42
42
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
43
43
|
const location = yield* Service82;
|
|
44
|
-
const watcher = yield*
|
|
44
|
+
const watcher = yield* Service74;
|
|
45
45
|
const changes = yield* PubSub.sliding(1);
|
|
46
46
|
const watches = yield* FiberMap.make();
|
|
47
47
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -180,4 +180,4 @@ function isUrl(source) {
|
|
|
180
180
|
return URL.canParse(source) && /^https?:$/.test(new URL(source).protocol);
|
|
181
181
|
}
|
|
182
182
|
|
|
183
|
-
export {
|
|
183
|
+
export { Plugin2, exports_instruction };
|