@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,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-vnjwe8gy.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
7
|
Service85,
|
|
8
8
|
node89
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-se016j3a.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-retention-p015t6z3.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-retention-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-retention-1m8zk9rp.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service56,
|
|
21
|
+
node59
|
|
22
|
+
} from "./file-retention-rf0tecrn.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service28,
|
|
25
|
+
node32
|
|
26
|
+
} from "./file-retention-gv60x5cq.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-retention-r542h3bh.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service2,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
|
-
layer: () =>
|
|
42
|
-
node: () =>
|
|
41
|
+
layer: () => layer3,
|
|
42
|
+
node: () => node3
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai/effect";
|
|
@@ -51,7 +51,7 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service2 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var messagePrompt = (text) => `Here is the first message of the conversation:
|
|
@@ -72,11 +72,11 @@ var isUntitled2 = (session) => isExactRootFallback({
|
|
|
72
72
|
title: session.title,
|
|
73
73
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var layer3 = Layer.effect(Service2, Effect.gen(function* () {
|
|
76
76
|
const bus = yield* Service85;
|
|
77
77
|
const llm = yield* LLMClient.Service;
|
|
78
|
-
const context = yield*
|
|
79
|
-
const store = yield*
|
|
78
|
+
const context = yield* Service28;
|
|
79
|
+
const store = yield* Service56;
|
|
80
80
|
const db = (yield* Service86).db;
|
|
81
81
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
82
82
|
const chunks = [];
|
|
@@ -160,12 +160,12 @@ Recent conversation:
|
|
|
160
160
|
title: truncate(title)
|
|
161
161
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
162
162
|
});
|
|
163
|
-
return
|
|
163
|
+
return Service2.of({ generate });
|
|
164
164
|
}));
|
|
165
|
-
var
|
|
166
|
-
service:
|
|
167
|
-
layer:
|
|
168
|
-
deps: [node89, llmClient2,
|
|
165
|
+
var node3 = makeLocationNode({
|
|
166
|
+
service: Service2,
|
|
167
|
+
layer: layer3,
|
|
168
|
+
deps: [node89, llmClient2, node32, node59, node90]
|
|
169
169
|
});
|
|
170
170
|
|
|
171
|
-
export {
|
|
171
|
+
export { Service2, isUntitled2, layer3, node3, exports_title };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service73
|
|
3
|
+
} from "./file-retention-cvv281km.js";
|
|
4
4
|
import {
|
|
5
5
|
Service8
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-0anyt1n6.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-hpg1pkwy.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
|
-
var
|
|
16
|
-
__export(
|
|
17
|
-
ConfigLocationWatcherPlugin: () =>
|
|
18
|
-
Plugin: () =>
|
|
15
|
+
var exports_location_watcher2 = {};
|
|
16
|
+
__export(exports_location_watcher2, {
|
|
17
|
+
ConfigLocationWatcherPlugin: () => exports_location_watcher2,
|
|
18
|
+
Plugin: () => Plugin4
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin4 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service73;
|
|
26
26
|
const policy = yield* Service8;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
@@ -35,4 +35,4 @@ var Plugin21 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin4, exports_location_watcher2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-p2x3qxk9.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service80
|
|
7
|
+
} from "./file-retention-vfpbkdxj.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID14,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-retention-hzs6scc7.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID13,
|
|
14
14
|
mergeOverlay2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-retention-geg17xg0.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/provider/xai.ts
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
|
|
|
24
24
|
var pollingSafetyMargin = 3000;
|
|
25
25
|
var browserMethodID = MethodID2.make("browser");
|
|
26
26
|
var deviceMethodID = MethodID2.make("device");
|
|
27
|
-
var providerID =
|
|
27
|
+
var providerID = ID13.make("xai");
|
|
28
28
|
var Token = Schema.Struct({
|
|
29
29
|
access_token: Schema.String,
|
|
30
30
|
refresh_token: Schema.optional(Schema.String),
|
|
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
|
|
|
44
44
|
});
|
|
45
45
|
var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
|
|
46
46
|
var device = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID14.make("xai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: deviceMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -69,8 +69,8 @@ var device = (app) => ({
|
|
|
69
69
|
var XAIPlugin2 = define({
|
|
70
70
|
id: "opencode.provider.xai",
|
|
71
71
|
effect: Effect.fn(function* (ctx) {
|
|
72
|
-
const credentials = yield*
|
|
73
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
72
|
+
const credentials = yield* Service80;
|
|
73
|
+
yield* Effect.forEach(yield* credentials.list(ID14.make("xai")), (credential) => {
|
|
74
74
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
75
75
|
return Effect.void;
|
|
76
76
|
return credentials.update(credential.id, {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-1jakw16s.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/tool-input-repair.ts
|
|
9
9
|
var exports_tool_input_repair = {};
|
|
10
10
|
__export(exports_tool_input_repair, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin44,
|
|
12
12
|
ToolInputRepairPlugin: () => exports_tool_input_repair
|
|
13
13
|
});
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Effect, Option, Predicate, Schema } from "effect";
|
|
16
16
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
17
17
|
var maxDepth = 6;
|
|
18
|
-
var
|
|
18
|
+
var Plugin44 = define({
|
|
19
19
|
id: "opencode.tool.input.repair",
|
|
20
20
|
effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
|
|
21
21
|
if (event.tool === "execute")
|
|
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
|
|
|
120
120
|
return compatible ? [repaired] : value;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { Plugin44, exports_tool_input_repair };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/integration/connection.ts
|
|
6
6
|
var exports_connection = {};
|
|
7
7
|
__export(exports_connection, {
|
|
8
8
|
CredentialInfo: () => CredentialInfo2,
|
|
9
9
|
EnvInfo: () => EnvInfo2,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info25,
|
|
11
11
|
IntegrationConnection: () => exports_connection,
|
|
12
12
|
Status: () => Status3,
|
|
13
13
|
key: () => key2
|
|
@@ -15,7 +15,7 @@ __export(exports_connection, {
|
|
|
15
15
|
import { Connection } from "@opencode/schema/connection";
|
|
16
16
|
var CredentialInfo2 = Connection.CredentialInfo;
|
|
17
17
|
var EnvInfo2 = Connection.EnvInfo;
|
|
18
|
-
var
|
|
18
|
+
var Info25 = Connection.Info;
|
|
19
19
|
var Status3 = Connection.Status;
|
|
20
20
|
function key2(connection) {
|
|
21
21
|
if (!connection)
|
|
@@ -23,4 +23,4 @@ function key2(connection) {
|
|
|
23
23
|
return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
export { CredentialInfo2, EnvInfo2,
|
|
26
|
+
export { CredentialInfo2, EnvInfo2, Info25, Status3, key2, exports_connection };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service49
|
|
3
|
+
} from "./file-retention-cg3fcpn4.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-8x060fmy.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service66
|
|
9
|
+
} from "./file-retention-6dzgygyw.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-retention-k814nvkf.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service49;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service66), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-se016j3a.js";
|
|
5
5
|
import {
|
|
6
6
|
Service82,
|
|
7
7
|
node86
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-retention-gqqeyx1x.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service70,
|
|
11
|
+
node73
|
|
12
|
+
} from "./file-retention-13efzyg2.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-retention-tczq8hjw.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service69,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node72
|
|
20
|
+
} from "./file-retention-24xmfd7w.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
22
|
+
Service71,
|
|
23
23
|
node74
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./file-retention-qz087kyw.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service67,
|
|
27
|
+
node70
|
|
28
|
+
} from "./file-retention-bm4gstpq.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./file-retention-qsee9sfb.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service73,
|
|
35
|
+
node77
|
|
36
|
+
} from "./file-retention-cvv281km.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./file-retention-gp067yzn.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError10,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service66,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node69
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -63,7 +63,7 @@ import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
|
63
63
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
65
|
import { Global } from "@opencode/util/global";
|
|
66
|
-
class
|
|
66
|
+
class NotFoundError10 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
67
67
|
id: Shell.ID
|
|
68
68
|
}) {
|
|
69
69
|
}
|
|
@@ -71,7 +71,7 @@ var EXITED_LIMIT = 25;
|
|
|
71
71
|
var RETENTION2 = Duration.days(7);
|
|
72
72
|
var DIRECTORY2 = "shell";
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service66 extends Context.Service()("@opencode/Shell") {
|
|
75
75
|
}
|
|
76
76
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
77
77
|
const fs = yield* FSUtil.Service;
|
|
@@ -87,15 +87,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
87
87
|
layer: cleanupLayer,
|
|
88
88
|
deps: [FSUtil.node, Global.node]
|
|
89
89
|
});
|
|
90
|
-
var layer = () => Layer.effect(
|
|
90
|
+
var layer = () => Layer.effect(Service66, Effect.gen(function* () {
|
|
91
91
|
const bus = yield* Service85;
|
|
92
92
|
const location = yield* Service82;
|
|
93
93
|
const global = yield* Global.Service;
|
|
94
|
-
const shell = yield*
|
|
95
|
-
const environment = yield*
|
|
96
|
-
const hooks = yield*
|
|
97
|
-
const environments = yield*
|
|
98
|
-
const config = yield*
|
|
94
|
+
const shell = yield* Service69;
|
|
95
|
+
const environment = yield* Service70;
|
|
96
|
+
const hooks = yield* Service71;
|
|
97
|
+
const environments = yield* Service67;
|
|
98
|
+
const config = yield* Service73;
|
|
99
99
|
const context = yield* Effect.context();
|
|
100
100
|
const runFork = Effect.runForkWith(context);
|
|
101
101
|
const commands = new Map;
|
|
@@ -116,7 +116,7 @@ var layer = () => Layer.effect(Service49, Effect.gen(function* () {
|
|
|
116
116
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
117
117
|
const command = commands.get(id);
|
|
118
118
|
if (!command)
|
|
119
|
-
return yield* new
|
|
119
|
+
return yield* new NotFoundError10({ id });
|
|
120
120
|
return command;
|
|
121
121
|
});
|
|
122
122
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -129,7 +129,7 @@ var layer = () => Layer.effect(Service49, Effect.gen(function* () {
|
|
|
129
129
|
commands.delete(id);
|
|
130
130
|
if (command.timeoutFiber)
|
|
131
131
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
132
|
-
yield* Deferred.fail(command.done, new
|
|
132
|
+
yield* Deferred.fail(command.done, new NotFoundError10({ id }));
|
|
133
133
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
134
134
|
if (command.info.status === "running")
|
|
135
135
|
yield* bus.publish(Shell.Event.Exited, { id, status: "killed" });
|
|
@@ -336,22 +336,22 @@ var layer = () => Layer.effect(Service49, Effect.gen(function* () {
|
|
|
336
336
|
const command = yield* Deferred.await(ready);
|
|
337
337
|
return command.info;
|
|
338
338
|
});
|
|
339
|
-
return
|
|
339
|
+
return Service66.of({ create, list, get, wait, result, timeout, output, remove });
|
|
340
340
|
}));
|
|
341
|
-
var
|
|
342
|
-
service:
|
|
341
|
+
var node69 = makeLocationNode({
|
|
342
|
+
service: Service66,
|
|
343
343
|
layer: layer(),
|
|
344
344
|
deps: [
|
|
345
345
|
node89,
|
|
346
346
|
node86,
|
|
347
347
|
Global.node,
|
|
348
|
-
|
|
349
|
-
|
|
348
|
+
node72,
|
|
349
|
+
node73,
|
|
350
350
|
node74,
|
|
351
|
-
|
|
352
|
-
|
|
351
|
+
node70,
|
|
352
|
+
node77,
|
|
353
353
|
cleanupNode
|
|
354
354
|
]
|
|
355
355
|
});
|
|
356
356
|
|
|
357
|
-
export {
|
|
357
|
+
export { NotFoundError10, RETENTION2, DIRECTORY2, Service66, cleanup2, node69, exports_shell4 };
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-se016j3a.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service39,
|
|
7
|
+
node42
|
|
8
|
+
} from "./file-retention-vfxqwymt.js";
|
|
9
9
|
import {
|
|
10
10
|
isTextual2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-retention-4pyp9zr9.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service54,
|
|
14
|
+
node57
|
|
15
|
+
} from "./file-retention-7yb883t5.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service50,
|
|
18
|
+
node52
|
|
19
|
+
} from "./file-retention-44bpj4c9.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service68,
|
|
22
|
+
node71
|
|
23
|
+
} from "./file-retention-gp067yzn.js";
|
|
24
24
|
import {
|
|
25
25
|
MEDIA_MIMES2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./file-retention-vr9ywjng.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/tool/mcp.ts
|
|
32
32
|
var exports_mcp3 = {};
|
|
33
33
|
__export(exports_mcp3, {
|
|
34
34
|
McpTool: () => exports_mcp3,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service36,
|
|
36
36
|
layer: () => layer17,
|
|
37
|
-
name: () =>
|
|
37
|
+
name: () => name15,
|
|
38
38
|
namespace: () => namespace2,
|
|
39
|
-
node: () =>
|
|
39
|
+
node: () => node40
|
|
40
40
|
});
|
|
41
41
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
42
42
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -45,16 +45,16 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
45
45
|
import { extension } from "mime-types";
|
|
46
46
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
47
47
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
48
|
-
var
|
|
48
|
+
var name15 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service36 extends Context.Service()("@opencode/McpTool") {
|
|
51
51
|
}
|
|
52
|
-
var layer17 = Layer.effect(
|
|
53
|
-
const mcp = yield*
|
|
54
|
-
const tools = yield*
|
|
52
|
+
var layer17 = Layer.effect(Service36, Effect.gen(function* () {
|
|
53
|
+
const mcp = yield* Service39;
|
|
54
|
+
const tools = yield* Service50;
|
|
55
55
|
const bus = yield* Service85;
|
|
56
|
-
const permission = yield*
|
|
57
|
-
const toolOutput = yield*
|
|
56
|
+
const permission = yield* Service54;
|
|
57
|
+
const toolOutput = yield* Service68;
|
|
58
58
|
const lock = Semaphore.makeUnsafe(1);
|
|
59
59
|
let discovered = [];
|
|
60
60
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -69,7 +69,7 @@ var layer17 = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
69
69
|
output: tool.outputSchema ?? {},
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
yield* permission.assert({
|
|
72
|
-
action:
|
|
72
|
+
action: name15(tool.server, tool.name),
|
|
73
73
|
resources: ["*"],
|
|
74
74
|
save: ["*"],
|
|
75
75
|
metadata: { input: input ?? {} },
|
|
@@ -111,7 +111,7 @@ var layer17 = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
111
111
|
output: output(),
|
|
112
112
|
...content.length === 0 ? {} : { content }
|
|
113
113
|
};
|
|
114
|
-
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${
|
|
114
|
+
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name15(tool.server, tool.name)}` })))
|
|
115
115
|
});
|
|
116
116
|
}
|
|
117
117
|
});
|
|
@@ -124,7 +124,7 @@ var layer17 = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
124
124
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
125
125
|
const updates = yield* PubSub.subscribe(changes);
|
|
126
126
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
127
|
-
return
|
|
127
|
+
return Service36.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
128
128
|
}));
|
|
129
129
|
var toContent = Effect.fnUntraced(function* (part, toolOutput) {
|
|
130
130
|
if (part.type === "text")
|
|
@@ -144,10 +144,10 @@ ${bytes.toString("utf8")}` };
|
|
|
144
144
|
text: `[Binary resource ${label} (${part.mimeType}, ${bytes.byteLength} bytes) saved to ${file}]`
|
|
145
145
|
};
|
|
146
146
|
});
|
|
147
|
-
var
|
|
148
|
-
service:
|
|
147
|
+
var node40 = makeLocationNode({
|
|
148
|
+
service: Service36,
|
|
149
149
|
layer: layer17,
|
|
150
|
-
deps: [
|
|
150
|
+
deps: [node52, node42, node89, node57, node71]
|
|
151
151
|
});
|
|
152
152
|
|
|
153
|
-
export { namespace2,
|
|
153
|
+
export { namespace2, name15, Service36, layer17, node40, exports_mcp3 };
|