@opencode/core 0.0.0-dev-448 → 0.0.0-dev-451
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 +92 -92
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +9 -9
- package/dist/artifact.js +244 -244
- package/dist/bus.js +84 -84
- package/dist/chunks/{shell-ss0wp4jv.js → command-040mzty7.js} +19 -19
- package/dist/chunks/{shell-0j7gp832.js → command-0j7gp832.js} +1 -1
- package/dist/chunks/{shell-pncygwdk.js → command-0m2hpscf.js} +4 -4
- package/dist/chunks/{shell-0ma9gw4f.js → command-0ma9gw4f.js} +2 -2
- package/dist/chunks/{shell-y9xb4576.js → command-0wk4arae.js} +15 -15
- package/dist/chunks/{shell-m41dwf8x.js → command-112p5x9p.js} +28 -28
- package/dist/chunks/{shell-73n38n5m.js → command-12g9ep21.js} +5 -5
- package/dist/chunks/{shell-2nye2ds3.js → command-1a7qmzy6.js} +12 -12
- package/dist/chunks/{shell-1aqsckx4.js → command-1aqsckx4.js} +1 -1
- package/dist/chunks/{shell-n9vbb020.js → command-1b1fgn2c.js} +9 -9
- package/dist/chunks/{shell-25wes5qp.js → command-1fjqwg4j.js} +59 -59
- package/dist/chunks/{shell-9yvqmxq3.js → command-1t7pz1nk.js} +16 -16
- package/dist/chunks/{shell-1x2knyw4.js → command-1x2knyw4.js} +1 -1
- package/dist/chunks/{shell-p7vhpwh8.js → command-1yq9hg58.js} +5 -5
- package/dist/chunks/{shell-3fm5wbjz.js → command-266c1h5y.js} +23 -23
- package/dist/chunks/{shell-wbebweck.js → command-26sg6z04.js} +14 -14
- package/dist/chunks/{shell-1ep2p91f.js → command-27w5k9zf.js} +2 -2
- package/dist/chunks/{shell-h068nwdc.js → command-289dd89z.js} +12 -12
- package/dist/chunks/{shell-4zd0rrxz.js → command-28d0291v.js} +40 -40
- package/dist/chunks/{shell-6gggjtz2.js → command-28q9vvsb.js} +9 -9
- package/dist/chunks/{shell-w79nt68w.js → command-2kg89srt.js} +4 -4
- package/dist/chunks/{shell-yqveydy6.js → command-2m2g9ynh.js} +4 -4
- package/dist/chunks/{shell-en2d5ckk.js → command-2tetecd9.js} +16 -16
- package/dist/chunks/{shell-2vpa0jw2.js → command-2wwcsj3x.js} +3 -3
- package/dist/chunks/{shell-83dtkyp0.js → command-302t0y3a.js} +24 -24
- package/dist/chunks/{shell-fb1j3qsp.js → command-3325mep2.js} +7 -7
- package/dist/chunks/{shell-dxsywhez.js → command-390xskpw.js} +4 -4
- package/dist/chunks/{shell-a2avvjgj.js → command-3bbtnch6.js} +35 -35
- package/dist/chunks/{shell-ayjs7tqn.js → command-3cbjf1nt.js} +2 -2
- package/dist/chunks/{shell-3hepkmqq.js → command-3hepkmqq.js} +1 -1
- package/dist/chunks/{shell-3nnrz6f6.js → command-3nnrz6f6.js} +1 -1
- package/dist/chunks/{shell-4hheswcz.js → command-3v6tj8d3.js} +14 -14
- package/dist/chunks/{shell-4pk3sz26.js → command-4034feyd.js} +9 -9
- package/dist/chunks/{shell-40y6dtc2.js → command-40y6dtc2.js} +1 -1
- package/dist/chunks/{shell-askmrcha.js → command-467b3p22.js} +13 -13
- package/dist/chunks/{shell-h30y51ze.js → command-4ag3733q.js} +32 -32
- package/dist/chunks/{shell-nx6bawrx.js → command-4cr9jw6n.js} +3 -3
- package/dist/chunks/{shell-4dx1dgte.js → command-4dx1dgte.js} +1 -1
- package/dist/chunks/{shell-4f25tdd0.js → command-4f25tdd0.js} +1 -1
- package/dist/chunks/{shell-awp23k8s.js → command-4fxzkjd3.js} +10 -10
- package/dist/chunks/{shell-1gn0yq23.js → command-4g9b4p6m.js} +40 -40
- package/dist/chunks/{shell-14h6fpvz.js → command-4gfkesf9.js} +8 -8
- package/dist/chunks/{shell-2zhyc09s.js → command-4pefe19r.js} +11 -11
- package/dist/chunks/{shell-4pyp9zr9.js → command-4pyp9zr9.js} +1 -1
- package/dist/chunks/{shell-z5rnbz19.js → command-4sq52vjb.js} +42 -42
- package/dist/chunks/{shell-e9eefsk3.js → command-4tf5hgjt.js} +24 -24
- package/dist/chunks/{shell-4v008n1t.js → command-4v008n1t.js} +1 -1
- package/dist/chunks/{shell-wt44qdcs.js → command-56yhydrj.js} +3 -3
- package/dist/chunks/{shell-40za9wsf.js → command-5enarcya.js} +6 -6
- package/dist/chunks/{shell-0kfn2p10.js → command-5gxhv5t4.js} +5 -5
- package/dist/chunks/{shell-5m9w47nd.js → command-5m9w47nd.js} +1 -1
- package/dist/chunks/{shell-5nnwax6m.js → command-5nnwax6m.js} +2 -2
- package/dist/chunks/{shell-7r0r50e5.js → command-5nrew705.js} +5 -5
- package/dist/chunks/{shell-7jk3qjta.js → command-5q8vf2h9.js} +2 -2
- package/dist/chunks/{shell-jcxtjxcx.js → command-5zbs2fep.js} +31 -31
- package/dist/chunks/{shell-aq3d4cx2.js → command-66fewe6v.js} +91 -91
- package/dist/chunks/{shell-e3vjfzb0.js → command-6cd3ncdx.js} +2 -2
- package/dist/chunks/{shell-zqgpx8ma.js → command-6e15hyzb.js} +26 -26
- package/dist/chunks/{shell-30rdyssq.js → command-6f40yt45.js} +22 -22
- package/dist/chunks/{shell-3br5vy3s.js → command-6rehztjd.js} +11 -11
- package/dist/chunks/{shell-m7sxgjj7.js → command-6sd197cc.js} +15 -15
- package/dist/chunks/{shell-pn41xxg3.js → command-6ss6ngz0.js} +4 -4
- package/dist/chunks/{shell-ggrsp7xj.js → command-6sxf2mfa.js} +6 -6
- package/dist/chunks/{shell-461h2a5h.js → command-6w959vfg.js} +9 -9
- package/dist/chunks/{shell-9nkjg9qd.js → command-7215dbqr.js} +6 -6
- package/dist/chunks/{shell-ssdvd2y7.js → command-75q1s5an.js} +4 -4
- package/dist/chunks/{shell-76cb1hcw.js → command-76cb1hcw.js} +1 -1
- package/dist/chunks/{shell-775hqbnd.js → command-775hqbnd.js} +3 -3
- package/dist/chunks/{shell-a7jv6bhz.js → command-797jymej.js} +16 -16
- package/dist/chunks/{shell-7bmhse3q.js → command-7bmhse3q.js} +1 -1
- package/dist/chunks/{shell-k84dnw8r.js → command-7fzp8zae.js} +13 -13
- package/dist/chunks/{shell-7kr66rt3.js → command-7kr66rt3.js} +1 -1
- package/dist/chunks/{shell-vq7pdr9z.js → command-7ppvtjhd.js} +12 -12
- package/dist/chunks/{shell-pcxqyrq0.js → command-7q0kkz2h.js} +10 -10
- package/dist/chunks/{shell-7w2ypzdf.js → command-7w2ypzdf.js} +1 -1
- package/dist/chunks/{shell-7weczvnd.js → command-7weczvnd.js} +1 -1
- package/dist/chunks/{shell-7ne4y0bm.js → command-7xz196dn.js} +6 -6
- package/dist/chunks/{shell-89287pr7.js → command-89287pr7.js} +1 -1
- package/dist/chunks/{shell-8b3vzgkx.js → command-8b3vzgkx.js} +1 -1
- package/dist/chunks/{shell-b2armg7w.js → command-8cg7mtm3.js} +4 -4
- package/dist/chunks/{shell-p52jgvd8.js → command-8hfmqq8w.js} +8 -8
- package/dist/chunks/{shell-cbzdy2pv.js → command-8ktngwzh.js} +30 -30
- package/dist/chunks/{shell-8wtp7s3z.js → command-8wtp7s3z.js} +1 -1
- package/dist/chunks/{shell-8xz27cp9.js → command-8xz27cp9.js} +1 -1
- package/dist/chunks/{shell-mb7mbhnz.js → command-8z6m94af.js} +3 -3
- package/dist/chunks/{shell-90ct6wq4.js → command-90ct6wq4.js} +1 -1
- package/dist/chunks/{shell-90zstvax.js → command-90zstvax.js} +1 -1
- package/dist/chunks/{shell-96djdqw5.js → command-96djdqw5.js} +4 -4
- package/dist/chunks/{shell-qw9nj3hw.js → command-98h4mwq7.js} +18 -18
- package/dist/chunks/{shell-qx8keh7z.js → command-98hszmvx.js} +5 -5
- package/dist/chunks/{shell-6g782zwq.js → command-9cv7cw0n.js} +13 -13
- package/dist/chunks/{shell-3mg501j9.js → command-9dea7wbw.js} +2 -2
- package/dist/chunks/{shell-89cj2fxr.js → command-9k6nqw7x.js} +51 -51
- package/dist/chunks/{shell-8mft0qb8.js → command-9n68tmyf.js} +3 -3
- package/dist/chunks/{shell-3vtz7ksg.js → command-a1jg1vcd.js} +13 -13
- package/dist/chunks/{shell-cxj09ebx.js → command-a2gahn4b.js} +6 -6
- package/dist/chunks/{shell-yfp0tbxs.js → command-a4v3wsmw.js} +9 -9
- package/dist/chunks/{shell-b096peb1.js → command-a84pm7qp.js} +8 -8
- package/dist/chunks/{shell-wf4k3nrk.js → command-acsz68z7.js} +1 -1
- package/dist/chunks/{shell-51v7w56y.js → command-adapf27x.js} +4 -4
- package/dist/chunks/{shell-j82m12k7.js → command-aenn6vam.js} +4 -4
- package/dist/chunks/{shell-ra7camvv.js → command-ag68y7y1.js} +24 -24
- package/dist/chunks/{shell-6rzx9z0d.js → command-ahw9krkn.js} +33 -33
- package/dist/chunks/{shell-034tev2y.js → command-aj7mw0zk.js} +2 -2
- package/dist/chunks/{shell-7b7w9v0b.js → command-ajjm4dtx.js} +6 -6
- package/dist/chunks/{shell-y2384acf.js → command-ajv23y1e.js} +54 -54
- package/dist/chunks/{shell-mwb4t2xa.js → command-amadrth6.js} +8 -8
- package/dist/chunks/{shell-4n04qkt5.js → command-ap7w36b6.js} +16 -16
- package/dist/chunks/{shell-b50bv8kf.js → command-axd1rwaf.js} +26 -26
- package/dist/chunks/{shell-ps01eb2k.js → command-b8gtv96y.js} +22 -22
- package/dist/chunks/{shell-eyjntv0n.js → command-bjr4tvbr.js} +6 -6
- package/dist/chunks/{shell-bnzx9dwt.js → command-bnzx9dwt.js} +2 -2
- package/dist/chunks/{shell-bstexjd6.js → command-bstexjd6.js} +1 -1
- package/dist/chunks/{shell-k9bs7cba.js → command-c55jkhec.js} +14 -14
- package/dist/chunks/{shell-px7qpgcn.js → command-c5zvymhv.js} +4 -4
- package/dist/chunks/{shell-d27tfk0e.js → command-caxtd6xe.js} +39 -39
- package/dist/chunks/{shell-sfpad9m1.js → command-ckev4zzb.js} +35 -35
- package/dist/chunks/{shell-bs847zte.js → command-cmrdg35n.js} +5 -5
- package/dist/chunks/{shell-56jkt7vc.js → command-cqbn3g43.js} +36 -36
- package/dist/chunks/{shell-gtt1ypct.js → command-cqdj8zma.js} +20 -20
- package/dist/chunks/{shell-qn178psk.js → command-crsbatbp.js} +11 -11
- package/dist/chunks/{shell-cwrgdav8.js → command-cwrgdav8.js} +2 -2
- package/dist/chunks/{shell-js4rf8bj.js → command-czy387n2.js} +50 -50
- package/dist/chunks/{shell-j9zdr12n.js → command-d0p9h96d.js} +20 -20
- package/dist/chunks/{shell-etrnj9s7.js → command-d390zwf3.js} +8 -8
- package/dist/chunks/{shell-drd2zyk1.js → command-d4abdmzn.js} +18 -18
- package/dist/chunks/{shell-d4v9tmah.js → command-d4v9tmah.js} +2 -2
- package/dist/chunks/{shell-hm878m0g.js → command-d7x2s5pv.js} +4 -4
- package/dist/chunks/{shell-dt77769w.js → command-dt77769w.js} +1 -1
- package/dist/chunks/{shell-86kd7kzh.js → command-dypb56j1.js} +4 -4
- package/dist/chunks/{shell-4qjj3hcn.js → command-dzdrzhkt.js} +26 -26
- package/dist/chunks/{shell-e834z07m.js → command-e834z07m.js} +1 -1
- package/dist/chunks/{shell-1t71ng30.js → command-eebq73da.js} +18 -18
- package/dist/chunks/{shell-b358x5d5.js → command-enq2s1fc.js} +12 -12
- package/dist/chunks/{shell-eqw4pqj1.js → command-eqw4pqj1.js} +2 -2
- package/dist/chunks/{shell-92cf50ag.js → command-exw3n246.js} +8 -8
- package/dist/chunks/{shell-f163p87t.js → command-f163p87t.js} +4 -4
- package/dist/chunks/{shell-fccvjkbp.js → command-f1qx1v58.js} +9 -9
- package/dist/chunks/{shell-27q2yh5h.js → command-f8bbmp6a.js} +11 -11
- package/dist/chunks/{shell-6ckcm1vf.js → command-fdegceef.js} +28 -28
- package/dist/chunks/{shell-fffv3p7h.js → command-fffv3p7h.js} +1 -1
- package/dist/chunks/{shell-fg9p65nk.js → command-fg9p65nk.js} +2 -2
- package/dist/chunks/{shell-x3fa7fwr.js → command-fhtgvnfh.js} +9 -9
- package/dist/chunks/{shell-39v0af2n.js → command-fkr8t5yr.js} +4 -4
- package/dist/chunks/{shell-fmvwew7x.js → command-fq4mbxwp.js} +7 -7
- package/dist/chunks/{shell-5q2nstmm.js → command-frktwh14.js} +9 -9
- package/dist/chunks/{shell-hj48rses.js → command-g1r9ysfg.js} +346 -346
- package/dist/chunks/{shell-sx705zhx.js → command-g2m4kvc9.js} +8 -8
- package/dist/chunks/{shell-j7pa4zmt.js → command-g3jajyb4.js} +15 -15
- package/dist/chunks/{shell-3114at99.js → command-ga0jqm62.js} +27 -27
- package/dist/chunks/{shell-449ep3qq.js → command-ga5t9aga.js} +50 -50
- package/dist/chunks/{shell-4s5nd4wa.js → command-gbg10xz8.js} +12 -12
- package/dist/chunks/{shell-gbjdnr5j.js → command-gbjdnr5j.js} +2 -2
- package/dist/chunks/{shell-qe69n4wc.js → command-gctjzyr1.js} +11 -11
- package/dist/chunks/{shell-9qgz8pwv.js → command-ggn31dpb.js} +2 -2
- package/dist/chunks/{shell-0kxez0ph.js → command-gmg5z9db.js} +24 -24
- package/dist/chunks/{shell-pmctgzqh.js → command-gshsjqyk.js} +9 -9
- package/dist/chunks/{shell-gxs71cxp.js → command-gxs71cxp.js} +1 -1
- package/dist/chunks/{shell-5yya8jn5.js → command-gzayeng8.js} +27 -27
- package/dist/chunks/{shell-6cqv0jev.js → command-gzpgqmvb.js} +18 -18
- package/dist/chunks/{shell-dbc9xtzy.js → command-h5gjn4y2.js} +3 -3
- package/dist/chunks/{shell-8wepf0gn.js → command-h89yaxmp.js} +11 -11
- package/dist/chunks/{shell-qh5g3qaw.js → command-h91vm5r2.js} +9 -9
- package/dist/chunks/{shell-b6p2478r.js → command-hdjjdvc3.js} +9 -9
- package/dist/chunks/{shell-2xqskhr2.js → command-hk1h1qy2.js} +22 -22
- package/dist/chunks/{shell-2zekx2gw.js → command-hk4d0qev.js} +33 -33
- package/dist/chunks/{shell-hpg1pkwy.js → command-hpg1pkwy.js} +1 -1
- package/dist/chunks/{shell-vt35469a.js → command-hqv8ds23.js} +9 -9
- package/dist/chunks/{shell-bzeh9fff.js → command-hqvy1seb.js} +19 -19
- package/dist/chunks/{shell-a3fn0gmm.js → command-hretfjjx.js} +2 -2
- package/dist/chunks/{shell-ckw7gy7y.js → command-hszgmwg9.js} +14 -14
- package/dist/chunks/{shell-05ag7ga3.js → command-htyjw1t2.js} +171 -171
- package/dist/chunks/{shell-y5bbkd9h.js → command-j16gqe8n.js} +30 -30
- package/dist/chunks/{shell-j376ae4e.js → command-j376ae4e.js} +1 -1
- package/dist/chunks/{shell-0ahs07zn.js → command-j3f8hyeg.js} +4 -4
- package/dist/chunks/{shell-s75f2ek2.js → command-j5fr71ge.js} +4 -4
- package/dist/chunks/{shell-eyrapaw6.js → command-j6942x1g.js} +16 -16
- package/dist/chunks/{shell-5wa3g67q.js → command-j7fgn957.js} +9 -9
- package/dist/chunks/{shell-j9nxzz3g.js → command-j9nxzz3g.js} +3 -3
- package/dist/chunks/{shell-7bd9md05.js → command-je2j8er4.js} +24 -24
- package/dist/chunks/{shell-6qccxdkv.js → command-jfn1q9at.js} +13 -13
- package/dist/chunks/{shell-bhfd478d.js → command-jkdcm5hg.js} +4 -4
- package/dist/chunks/{shell-2665aej8.js → command-jktx46qt.js} +29 -29
- package/dist/chunks/{shell-r4p1hmh8.js → command-jp4d7tph.js} +6 -6
- package/dist/chunks/{shell-51apr65m.js → command-jqp59910.js} +29 -29
- package/dist/chunks/{shell-jtnps1zs.js → command-jtnps1zs.js} +2 -2
- package/dist/chunks/{shell-jxd6f16v.js → command-jxd6f16v.js} +2 -2
- package/dist/chunks/{shell-qax80wjp.js → command-k0dmerk5.js} +35 -35
- package/dist/chunks/{shell-a752e3c2.js → command-k11dcgkf.js} +3 -3
- package/dist/chunks/{shell-t11xxbkn.js → command-k4am5acp.js} +30 -30
- package/dist/chunks/{shell-gmsr39wm.js → command-k9s4eaab.js} +25 -25
- package/dist/chunks/{shell-sywhw5n9.js → command-kfynvycx.js} +23 -23
- package/dist/chunks/{shell-kj9n5bvh.js → command-kj9n5bvh.js} +1 -1
- package/dist/chunks/{shell-5btn60ym.js → command-kmxkyq3p.js} +51 -51
- package/dist/chunks/{shell-pawhhdeh.js → command-kn3pbsk5.js} +3 -3
- package/dist/chunks/{shell-8tr8bk8c.js → command-kqtx5w6f.js} +24 -24
- package/dist/chunks/{shell-kt3bjfbg.js → command-kt3bjfbg.js} +1 -1
- package/dist/chunks/{shell-kzczzf4v.js → command-kzczzf4v.js} +1 -1
- package/dist/chunks/{shell-93xmyh8q.js → command-kzdam8c6.js} +5 -5
- package/dist/chunks/{shell-m1714858.js → command-m1714858.js} +1 -1
- package/dist/chunks/{shell-5rktefs5.js → command-m35sj09n.js} +12 -12
- package/dist/chunks/{shell-drzej0yw.js → command-m3vwtq97.js} +31 -31
- package/dist/chunks/{shell-9r66fnzx.js → command-m9168d7w.js} +11 -11
- package/dist/chunks/{shell-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
- package/dist/chunks/command-mary8sqy.js +261 -0
- package/dist/chunks/{shell-ed6f1zf7.js → command-mdwaa3r0.js} +14 -14
- package/dist/chunks/{shell-53qdpb3h.js → command-mgvy0xnk.js} +21 -21
- package/dist/chunks/{shell-4za8zkf9.js → command-mj9h3nv3.js} +24 -24
- package/dist/chunks/{shell-b1cct362.js → command-mnhcj7qf.js} +15 -15
- package/dist/chunks/{shell-mnpd6dxn.js → command-mnpd6dxn.js} +4 -4
- package/dist/chunks/{shell-27nqpkb2.js → command-mr41mz10.js} +10 -10
- package/dist/chunks/{shell-bfg2nms2.js → command-n31szky0.js} +17 -17
- package/dist/chunks/{shell-4jwb178p.js → command-n6198yay.js} +13 -13
- package/dist/chunks/{shell-gcjdgkn2.js → command-n7bnkb3p.js} +9 -9
- package/dist/chunks/{shell-a4jw6pvt.js → command-naahght3.js} +23 -23
- package/dist/chunks/{shell-61w59j6e.js → command-nff5fnx5.js} +30 -30
- package/dist/chunks/{shell-jnfc869c.js → command-nptrtzfm.js} +7 -7
- package/dist/chunks/{shell-2n444ktb.js → command-nv2c5e9q.js} +3 -3
- package/dist/chunks/{shell-wegkxhrn.js → command-nx4vzyjd.js} +2 -2
- package/dist/chunks/{shell-wvr8xscb.js → command-nyxvvj5y.js} +4 -4
- package/dist/chunks/{shell-vy50mzzj.js → command-p4q03rmg.js} +23 -23
- package/dist/chunks/{shell-vy796nhc.js → command-pafwnz17.js} +8 -8
- package/dist/chunks/{shell-jprct3q1.js → command-pb0zgdvs.js} +21 -21
- package/dist/chunks/{shell-yqvz6s31.js → command-pbnhzd2a.js} +8 -8
- package/dist/chunks/{shell-ahetjexs.js → command-pe5w8f1e.js} +80 -80
- package/dist/chunks/{shell-stb7syxb.js → command-pemyrp0y.js} +4 -4
- package/dist/chunks/{shell-pknna89w.js → command-pknna89w.js} +1 -1
- package/dist/chunks/{shell-ca06aq19.js → command-pph0sm0s.js} +20 -20
- package/dist/chunks/{shell-t9p1t371.js → command-ptv6adae.js} +33 -33
- package/dist/chunks/{shell-0v6hfd9s.js → command-q0fawvbg.js} +3 -3
- package/dist/chunks/{shell-ehmfb7qh.js → command-q36xmy8v.js} +22 -22
- package/dist/chunks/{shell-yf4636eg.js → command-q3cah92p.js} +7 -7
- package/dist/chunks/{shell-snk2nech.js → command-q4wm190t.js} +20 -20
- package/dist/chunks/{shell-bm4qvk29.js → command-q5rwejs6.js} +23 -23
- package/dist/chunks/{shell-swrmw7cp.js → command-q6cg44jg.js} +29 -29
- package/dist/chunks/{shell-7nqkf5r1.js → command-qj27ec1j.js} +2 -2
- package/dist/chunks/{shell-m74aw6gb.js → command-qj7pvvpf.js} +23 -23
- package/dist/chunks/{shell-qp7r0hxv.js → command-qp7r0hxv.js} +1 -1
- package/dist/chunks/{shell-m7bre8ve.js → command-qpjbvmjj.js} +19 -19
- package/dist/chunks/{shell-qqvy8y24.js → command-qqvy8y24.js} +1 -1
- package/dist/chunks/{shell-qsdghx1p.js → command-qsdghx1p.js} +1 -1
- package/dist/chunks/{shell-963hk181.js → command-qw26gbrf.js} +9 -9
- package/dist/chunks/{shell-qw2t3dzn.js → command-qw2t3dzn.js} +3 -3
- package/dist/chunks/{shell-31694pws.js → command-r15e5fgt.js} +11 -11
- package/dist/chunks/{shell-gn6qas9s.js → command-r2jsee34.js} +8 -8
- package/dist/chunks/{shell-7gh7q8bn.js → command-r4ce7j88.js} +21 -21
- package/dist/chunks/{shell-mnc72ab7.js → command-r6mcamb5.js} +27 -27
- package/dist/chunks/{shell-rb9dy4dg.js → command-rb9dy4dg.js} +1 -1
- package/dist/chunks/{shell-yd96381m.js → command-rg9j8c64.js} +9 -9
- package/dist/chunks/{shell-9q5v2hqn.js → command-rpe9qcx0.js} +63 -63
- package/dist/chunks/{shell-tcahmmy5.js → command-rq1bn5ff.js} +43 -43
- package/dist/chunks/{shell-djjqqg9g.js → command-rrsfp6ze.js} +17 -17
- package/dist/chunks/{shell-1t6wg0nd.js → command-rs6jcsrf.js} +23 -23
- package/dist/chunks/{shell-8qmjt4fd.js → command-rsre77k7.js} +21 -21
- package/dist/chunks/{shell-rt5dr6hb.js → command-rt5dr6hb.js} +1 -1
- package/dist/chunks/{shell-eh5dqxbp.js → command-rtqf1qnx.js} +35 -35
- package/dist/chunks/{shell-ndksvsqq.js → command-rwsvr4dq.js} +5 -5
- package/dist/chunks/{shell-d9xdsm8s.js → command-ryqhrx4f.js} +18 -18
- package/dist/chunks/{shell-s1ba0vj0.js → command-s1ba0vj0.js} +2 -2
- package/dist/chunks/{shell-ss09eh5m.js → command-s4kyhetj.js} +6 -6
- package/dist/chunks/{shell-fqs0zq7g.js → command-s8d7542g.js} +12 -12
- package/dist/chunks/{shell-sa3fpqfw.js → command-sa3fpqfw.js} +2 -2
- package/dist/chunks/{shell-sbya78hr.js → command-sbya78hr.js} +1 -1
- package/dist/chunks/{shell-5h6nvp4c.js → command-schafjf2.js} +6 -6
- package/dist/chunks/{shell-kmee7t05.js → command-sgfm45rn.js} +92 -92
- package/dist/chunks/{shell-9fa1t37d.js → command-ss2grsr1.js} +22 -22
- package/dist/chunks/{shell-svcy3p9a.js → command-svcy3p9a.js} +1 -1
- package/dist/chunks/{shell-dwstrqp9.js → command-szscrh8z.js} +23 -23
- package/dist/chunks/{shell-3tp4c0xt.js → command-t323kqwe.js} +12 -12
- package/dist/chunks/{shell-t8erkws8.js → command-t8erkws8.js} +2 -2
- package/dist/chunks/{shell-tb2mrvc9.js → command-tb2mrvc9.js} +1 -1
- package/dist/chunks/{shell-tczq8hjw.js → command-tczq8hjw.js} +1 -1
- package/dist/chunks/{shell-nbbs31bc.js → command-th74p2h3.js} +17 -17
- package/dist/chunks/{shell-ja2smk70.js → command-thc4f7yk.js} +8 -8
- package/dist/chunks/{shell-0w3xksdf.js → command-thpvhm7p.js} +8 -8
- package/dist/chunks/{shell-2x55varr.js → command-tm5zj7bd.js} +37 -37
- package/dist/chunks/{shell-mdeyfzen.js → command-tp5psy3g.js} +9 -9
- package/dist/chunks/{shell-yf073rag.js → command-tsvf0ypj.js} +10 -10
- package/dist/chunks/{shell-twssxy5n.js → command-twssxy5n.js} +2 -2
- package/dist/chunks/{shell-snc40rsw.js → command-v0gf7nmq.js} +25 -25
- package/dist/chunks/{shell-kghhyr40.js → command-v0mzemm6.js} +21 -21
- package/dist/chunks/{shell-v2r1d0zg.js → command-v2r1d0zg.js} +1 -1
- package/dist/chunks/{shell-81xk75pr.js → command-veesmm8k.js} +3 -3
- package/dist/chunks/{shell-0zakc424.js → command-vf37ha3m.js} +15 -15
- package/dist/chunks/{shell-vjf35v1f.js → command-vjf35v1f.js} +1 -1
- package/dist/chunks/{shell-pwz5ypps.js → command-vsc4dw33.js} +13 -13
- package/dist/chunks/{shell-ft05h4rm.js → command-vsnkte39.js} +53 -53
- package/dist/chunks/{shell-eg4gnj8c.js → command-vtmxyqqs.js} +35 -35
- package/dist/chunks/{shell-8rj7reax.js → command-vvrd773r.js} +23 -23
- package/dist/chunks/{shell-xj160ydj.js → command-vxsh6985.js} +31 -31
- package/dist/chunks/{shell-tc9v4qa2.js → command-vy3dbkv2.js} +25 -25
- package/dist/chunks/{shell-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
- package/dist/chunks/{shell-wakvkjy4.js → command-wakvkjy4.js} +1 -1
- package/dist/chunks/{shell-wd87259q.js → command-wd87259q.js} +1 -1
- package/dist/chunks/{shell-x64jffdk.js → command-wjkfvcx3.js} +15 -15
- package/dist/chunks/{shell-8fmhgeg1.js → command-wmyfck53.js} +34 -34
- package/dist/chunks/{shell-wnhgecwx.js → command-wnhgecwx.js} +1 -1
- package/dist/chunks/{shell-9pmmtcn7.js → command-wp9qxkj5.js} +35 -35
- package/dist/chunks/{shell-wr3re1en.js → command-wr3re1en.js} +1 -1
- package/dist/chunks/{shell-epcdake3.js → command-wrq7dm6q.js} +4 -4
- package/dist/chunks/{shell-wws03c5r.js → command-wws03c5r.js} +1 -1
- package/dist/chunks/{shell-r6mk7n9z.js → command-x3agqc95.js} +17 -17
- package/dist/chunks/command-x3bvnkne.js +26 -0
- package/dist/chunks/{shell-00mqt8vt.js → command-x5vff03n.js} +18 -18
- package/dist/chunks/{shell-zm27gg57.js → command-x67mg8mk.js} +2 -2
- package/dist/chunks/{shell-ne3edjpr.js → command-x79ghvf2.js} +9 -9
- package/dist/chunks/{shell-395719v5.js → command-xcvkrh98.js} +5 -5
- package/dist/chunks/{shell-7ydc43j0.js → command-xeazcnat.js} +12 -12
- package/dist/chunks/{shell-9zhekznq.js → command-xvh6nyz9.js} +18 -18
- package/dist/chunks/{shell-qzxcgvak.js → command-xya5z1v4.js} +3 -3
- package/dist/chunks/{shell-sj1akaq3.js → command-xywcct0r.js} +25 -25
- package/dist/chunks/{shell-tdzh4vzn.js → command-y4hqb8zf.js} +11 -11
- package/dist/chunks/{shell-yb20nhc3.js → command-yb20nhc3.js} +1 -1
- package/dist/chunks/{shell-ybws1qgk.js → command-ybws1qgk.js} +4 -4
- package/dist/chunks/{shell-2cdjxzfg.js → command-yjjyz0e3.js} +3 -3
- package/dist/chunks/{shell-51fa9ecf.js → command-yjw0tny1.js} +32 -32
- package/dist/chunks/{shell-hy8c1z76.js → command-ykvsfm8k.js} +8 -8
- package/dist/chunks/{shell-azx1espf.js → command-yms5yk40.js} +11 -11
- package/dist/chunks/{shell-yr705xyq.js → command-yr705xyq.js} +1 -1
- package/dist/chunks/{shell-n4d8tphs.js → command-ys6g3emr.js} +35 -35
- package/dist/chunks/{shell-05bzq52v.js → command-yv0q8n2v.js} +18 -18
- package/dist/chunks/{shell-yvtc2x31.js → command-yvtc2x31.js} +1 -1
- package/dist/chunks/{shell-sdn8sen6.js → command-z0bs4asb.js} +4 -4
- package/dist/chunks/command-z355x5yr.js +18 -0
- package/dist/chunks/{shell-wej8cf7c.js → command-z75sjccv.js} +25 -25
- package/dist/chunks/{shell-bxq9e2r0.js → command-z9j69c60.js} +15 -15
- package/dist/chunks/{shell-0yrffq11.js → command-zbbn7txt.js} +12 -12
- package/dist/chunks/{shell-cn0ah7mh.js → command-zc1tqb6c.js} +43 -43
- package/dist/chunks/{shell-xc1jhcm7.js → command-zg9xszfz.js} +7 -7
- package/dist/chunks/{shell-8dzmkjrb.js → command-zkb4dvfy.js} +3 -3
- package/dist/chunks/{shell-6d0d1q6g.js → command-zw5s2a2z.js} +4 -4
- package/dist/chunks/{shell-fc6b9ra8.js → command-zxrsq0zh.js} +13 -13
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +145 -145
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +151 -151
- package/dist/command.js +92 -92
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +3 -3
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +132 -132
- package/dist/config/plugin/command.js +231 -231
- package/dist/config/plugin/compaction.js +171 -171
- package/dist/config/plugin/compatibility.js +150 -150
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +132 -132
- package/dist/config/plugin/mcp.js +141 -141
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +130 -130
- package/dist/config/plugin/skill-file.js +146 -146
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +153 -153
- package/dist/config/plugin/snapshot.js +128 -128
- package/dist/config/plugin/source.js +131 -131
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +129 -129
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +135 -135
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/database.js +81 -81
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +62 -62
- 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 +3 -71
- package/dist/database/sqlite.node.js +3 -67
- package/dist/database/sqlite.workerd.js +11 -14
- package/dist/database/v1-migration.bun.js +108 -108
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +430 -430
- 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 +106 -106
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +106 -106
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +85 -85
- package/dist/file-access.js +156 -156
- package/dist/file-mutation.js +107 -107
- 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 +91 -91
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +245 -245
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +110 -110
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +117 -117
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +118 -118
- package/dist/git.js +11 -11
- 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 +112 -112
- 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/notice.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 +421 -421
- package/dist/instruction-discovery.js +95 -95
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +94 -94
- package/dist/job/sql.js +2 -2
- package/dist/job.js +86 -86
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +179 -179
- package/dist/location-lifecycle.js +150 -150
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +418 -418
- package/dist/location.js +100 -100
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +104 -104
- package/dist/mcp/index.js +122 -122
- package/dist/mcp/instructions.js +181 -181
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +103 -103
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +112 -112
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +113 -113
- 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 +93 -93
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +155 -155
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +101 -101
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +87 -87
- package/dist/plugin/command.js +115 -115
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +236 -236
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +397 -397
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +146 -146
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +104 -104
- package/dist/plugin/provider/azure.js +132 -132
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +130 -130
- package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +143 -143
- package/dist/plugin/provider/claude-agent/instructions.js +112 -112
- package/dist/plugin/provider/claude-agent/integration.js +113 -113
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +4 -4
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/usage.js +1 -1
- package/dist/plugin/provider/claude-agent/provider.js +110 -110
- package/dist/plugin/provider/claude-agent/session.js +112 -112
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +128 -128
- package/dist/plugin/provider/cloudflare-workers-ai.js +128 -128
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +85 -85
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +108 -108
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +110 -110
- package/dist/plugin/provider/gitlab.js +107 -107
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +139 -139
- package/dist/plugin/provider/local.js +136 -136
- package/dist/plugin/provider/modal.js +107 -107
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +139 -139
- package/dist/plugin/provider/openai-context-caps.js +103 -103
- package/dist/plugin/provider/openai.js +130 -130
- package/dist/plugin/provider/opencode.js +132 -132
- package/dist/plugin/provider/openrouter.js +104 -104
- package/dist/plugin/provider/poe.js +90 -90
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +129 -129
- package/dist/plugin/provider/vllm.js +139 -139
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +212 -212
- package/dist/plugin/sdk.js +85 -85
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +149 -149
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +407 -407
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +106 -106
- package/dist/plugin/warming.js +128 -128
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +247 -247
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +103 -103
- package/dist/provider.js +108 -108
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +109 -109
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +110 -110
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +241 -241
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +243 -243
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +129 -129
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +169 -169
- package/dist/session/context.js +198 -198
- package/dist/session/diff.js +101 -101
- 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 +242 -242
- package/dist/session/execution.js +161 -161
- package/dist/session/generate.js +198 -198
- package/dist/session/history.js +136 -136
- package/dist/session/inbox.js +147 -147
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +90 -90
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +137 -137
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +166 -166
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +161 -161
- package/dist/session/projector.js +141 -141
- package/dist/session/prompt.js +148 -148
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +139 -139
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +250 -250
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +149 -149
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +161 -161
- package/dist/session/runner/to-llm-message.js +137 -137
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +181 -181
- package/dist/session/shell.js +144 -144
- package/dist/session/skill.js +147 -147
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +86 -86
- package/dist/session/store.js +142 -142
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +229 -229
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +202 -202
- package/dist/session/to-session-error.js +148 -148
- package/dist/session/transfer.js +243 -243
- package/dist/session/usage.js +1 -1
- package/dist/session.js +235 -235
- package/dist/shared-cache.js +5 -5
- 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 +15 -15
- package/dist/shell.js +146 -146
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +151 -151
- package/dist/skill.js +150 -150
- package/dist/snapshot.js +102 -102
- 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 +178 -178
- package/dist/tool/plugin/artifact.js +228 -228
- package/dist/tool/plugin/edit.js +158 -158
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +168 -168
- package/dist/tool/plugin/grep.js +168 -168
- package/dist/tool/plugin/image-generate.js +229 -229
- package/dist/tool/plugin/mcp-resource.js +162 -162
- package/dist/tool/plugin/opencode.js +161 -161
- package/dist/tool/plugin/patch.js +162 -162
- package/dist/tool/plugin/question.js +146 -146
- package/dist/tool/plugin/read.js +169 -169
- package/dist/tool/plugin/schedule.js +247 -247
- package/dist/tool/plugin/shell.js +233 -233
- package/dist/tool/plugin/skill.js +155 -155
- package/dist/tool/plugin/subagent.js +236 -236
- package/dist/tool/plugin/todo.js +153 -153
- package/dist/tool/plugin/webfetch.js +155 -155
- package/dist/tool/plugin/websearch.js +153 -153
- package/dist/tool/plugin/write.js +160 -160
- package/dist/tool/read-filesystem.js +113 -113
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +161 -161
- package/dist/types/database/sqlite.bun.d.ts +3 -11
- package/dist/types/database/sqlite.node.d.ts +3 -13
- package/dist/types/database/sqlite.workerd.d.ts +1 -2
- package/dist/usage-limits.js +100 -100
- 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 +2 -2
- package/dist/v1/config/migrate.js +105 -105
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/variant.js +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +99 -99
- package/dist/websearch.js +101 -101
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +92 -92
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +109 -109
- package/package.json +10 -9
- package/dist/chunks/shell-7yv5xa0k.js +0 -18
- package/dist/chunks/shell-94s5f2xb.js +0 -62
- package/dist/chunks/shell-hhqxxv04.js +0 -26
- package/dist/chunks/shell-w9emth0g.js +0 -261
- package/dist/database/sqlite.js +0 -12
- package/dist/types/database/sqlite.d.ts +0 -20
- /package/dist/chunks/{shell-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{shell-0zkw76rk.js → command-0zkw76rk.js} +0 -0
- /package/dist/chunks/{shell-17cy0kzp.js → command-17cy0kzp.js} +0 -0
- /package/dist/chunks/{shell-1cnp2v09.js → command-1cnp2v09.js} +0 -0
- /package/dist/chunks/{shell-1kah00gy.js → command-1kah00gy.js} +0 -0
- /package/dist/chunks/{shell-1pevy3nx.js → command-1pevy3nx.js} +0 -0
- /package/dist/chunks/{shell-24dcb14g.js → command-24dcb14g.js} +0 -0
- /package/dist/chunks/{shell-2710q6r3.js → command-2710q6r3.js} +0 -0
- /package/dist/chunks/{shell-2bv980vf.js → command-2bv980vf.js} +0 -0
- /package/dist/chunks/{shell-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{shell-359p4xyc.js → command-359p4xyc.js} +0 -0
- /package/dist/chunks/{shell-3asan66x.js → command-3asan66x.js} +0 -0
- /package/dist/chunks/{shell-3v8g72cx.js → command-3v8g72cx.js} +0 -0
- /package/dist/chunks/{shell-3wcehsnq.js → command-3wcehsnq.js} +0 -0
- /package/dist/chunks/{shell-43n2bw4t.js → command-43n2bw4t.js} +0 -0
- /package/dist/chunks/{shell-4knz6hnm.js → command-4knz6hnm.js} +0 -0
- /package/dist/chunks/{shell-4qk9sjk2.js → command-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{shell-4vcrnpx2.js → command-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{shell-4y7fprxs.js → command-4y7fprxs.js} +0 -0
- /package/dist/chunks/{shell-53557ph1.js → command-53557ph1.js} +0 -0
- /package/dist/chunks/{shell-550bvhaj.js → command-550bvhaj.js} +0 -0
- /package/dist/chunks/{shell-5w3e23ze.js → command-5w3e23ze.js} +0 -0
- /package/dist/chunks/{shell-6agm2x70.js → command-6agm2x70.js} +0 -0
- /package/dist/chunks/{shell-6prwharc.js → command-6prwharc.js} +0 -0
- /package/dist/chunks/{shell-6q2bdcd1.js → command-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{shell-7akdwqpd.js → command-7akdwqpd.js} +0 -0
- /package/dist/chunks/{shell-7m9af43g.js → command-7m9af43g.js} +0 -0
- /package/dist/chunks/{shell-822emrt2.js → command-822emrt2.js} +0 -0
- /package/dist/chunks/{shell-84wd9syh.js → command-84wd9syh.js} +0 -0
- /package/dist/chunks/{shell-88xbtdfr.js → command-88xbtdfr.js} +0 -0
- /package/dist/chunks/{shell-8n3pysct.js → command-8n3pysct.js} +0 -0
- /package/dist/chunks/{shell-8wj87zfr.js → command-8wj87zfr.js} +0 -0
- /package/dist/chunks/{shell-9a4afbnw.js → command-9a4afbnw.js} +0 -0
- /package/dist/chunks/{shell-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{shell-a6k6eb26.js → command-a6k6eb26.js} +0 -0
- /package/dist/chunks/{shell-af5trqkr.js → command-af5trqkr.js} +0 -0
- /package/dist/chunks/{shell-afrmfg78.js → command-afrmfg78.js} +0 -0
- /package/dist/chunks/{shell-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{shell-atq7p7m5.js → command-atq7p7m5.js} +0 -0
- /package/dist/chunks/{shell-beh6qq61.js → command-beh6qq61.js} +0 -0
- /package/dist/chunks/{shell-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{shell-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{shell-cf4snx6d.js → command-cf4snx6d.js} +0 -0
- /package/dist/chunks/{shell-cqv5kn06.js → command-cqv5kn06.js} +0 -0
- /package/dist/chunks/{shell-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{shell-d9fn303g.js → command-d9fn303g.js} +0 -0
- /package/dist/chunks/{shell-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{shell-dap0rakb.js → command-dap0rakb.js} +0 -0
- /package/dist/chunks/{shell-dbht28n9.js → command-dbht28n9.js} +0 -0
- /package/dist/chunks/{shell-df08tz66.js → command-df08tz66.js} +0 -0
- /package/dist/chunks/{shell-dy18nga0.js → command-dy18nga0.js} +0 -0
- /package/dist/chunks/{shell-e5kj55wp.js → command-e5kj55wp.js} +0 -0
- /package/dist/chunks/{shell-e73j6tqm.js → command-e73j6tqm.js} +0 -0
- /package/dist/chunks/{shell-ean2d8b5.js → command-ean2d8b5.js} +0 -0
- /package/dist/chunks/{shell-ec1grn59.js → command-ec1grn59.js} +0 -0
- /package/dist/chunks/{shell-eh3zwz77.js → command-eh3zwz77.js} +0 -0
- /package/dist/chunks/{shell-emrn6kk6.js → command-emrn6kk6.js} +0 -0
- /package/dist/chunks/{shell-f0mxakyp.js → command-f0mxakyp.js} +0 -0
- /package/dist/chunks/{shell-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{shell-faypxj3z.js → command-faypxj3z.js} +0 -0
- /package/dist/chunks/{shell-fd410y7t.js → command-fd410y7t.js} +0 -0
- /package/dist/chunks/{shell-fkpq3x5p.js → command-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{shell-g4wezp1m.js → command-g4wezp1m.js} +0 -0
- /package/dist/chunks/{shell-g86h250q.js → command-g86h250q.js} +0 -0
- /package/dist/chunks/{shell-gebd4c9n.js → command-gebd4c9n.js} +0 -0
- /package/dist/chunks/{shell-gftt206x.js → command-gftt206x.js} +0 -0
- /package/dist/chunks/{shell-hcxmzztb.js → command-hcxmzztb.js} +0 -0
- /package/dist/chunks/{shell-hk9envan.js → command-hk9envan.js} +0 -0
- /package/dist/chunks/{shell-j2ntwpah.js → command-j2ntwpah.js} +0 -0
- /package/dist/chunks/{shell-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{shell-jjkms2e6.js → command-jjkms2e6.js} +0 -0
- /package/dist/chunks/{shell-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{shell-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{shell-jwr30sdr.js → command-jwr30sdr.js} +0 -0
- /package/dist/chunks/{shell-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{shell-m18g726c.js → command-m18g726c.js} +0 -0
- /package/dist/chunks/{shell-mp448xyj.js → command-mp448xyj.js} +0 -0
- /package/dist/chunks/{shell-msx8hqn2.js → command-msx8hqn2.js} +0 -0
- /package/dist/chunks/{shell-n05xt0ee.js → command-n05xt0ee.js} +0 -0
- /package/dist/chunks/{shell-n3j8tn72.js → command-n3j8tn72.js} +0 -0
- /package/dist/chunks/{shell-nh4v3znn.js → command-nh4v3znn.js} +0 -0
- /package/dist/chunks/{shell-njntx4h6.js → command-njntx4h6.js} +0 -0
- /package/dist/chunks/{shell-p71gwv9c.js → command-p71gwv9c.js} +0 -0
- /package/dist/chunks/{shell-q3sfg36h.js → command-q3sfg36h.js} +0 -0
- /package/dist/chunks/{shell-q74kybfr.js → command-q74kybfr.js} +0 -0
- /package/dist/chunks/{shell-qaymkmh1.js → command-qaymkmh1.js} +0 -0
- /package/dist/chunks/{shell-qb87gjwd.js → command-qb87gjwd.js} +0 -0
- /package/dist/chunks/{shell-qfa1cgps.js → command-qfa1cgps.js} +0 -0
- /package/dist/chunks/{shell-qg3g05ea.js → command-qg3g05ea.js} +0 -0
- /package/dist/chunks/{shell-qrg20bc0.js → command-qrg20bc0.js} +0 -0
- /package/dist/chunks/{shell-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{shell-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{shell-ssg3fenm.js → command-ssg3fenm.js} +0 -0
- /package/dist/chunks/{shell-syrav9an.js → command-syrav9an.js} +0 -0
- /package/dist/chunks/{shell-t03h4f5z.js → command-t03h4f5z.js} +0 -0
- /package/dist/chunks/{shell-ty7weeps.js → command-ty7weeps.js} +0 -0
- /package/dist/chunks/{shell-ve7vex1e.js → command-ve7vex1e.js} +0 -0
- /package/dist/chunks/{shell-vtarvj67.js → command-vtarvj67.js} +0 -0
- /package/dist/chunks/{shell-w803qqfp.js → command-w803qqfp.js} +0 -0
- /package/dist/chunks/{shell-wc3fc9cn.js → command-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{shell-wer8tq1h.js → command-wer8tq1h.js} +0 -0
- /package/dist/chunks/{shell-wtztk69x.js → command-wtztk69x.js} +0 -0
- /package/dist/chunks/{shell-x0ckcb58.js → command-x0ckcb58.js} +0 -0
- /package/dist/chunks/{shell-x61499pn.js → command-x61499pn.js} +0 -0
- /package/dist/chunks/{shell-y44na4kk.js → command-y44na4kk.js} +0 -0
- /package/dist/chunks/{shell-y8f7s663.js → command-y8f7s663.js} +0 -0
- /package/dist/chunks/{shell-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{shell-z5v4ffb3.js → command-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{shell-z9919s4g.js → command-z9919s4g.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-tczq8hjw.js";
|
|
4
4
|
import {
|
|
5
5
|
create4
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-40y6dtc2.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool-output.ts
|
|
12
12
|
var exports_tool_output2 = {};
|
|
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
|
|
|
15
15
|
MAX_BYTES: () => MAX_BYTES2,
|
|
16
16
|
MAX_LINES: () => MAX_LINES2,
|
|
17
17
|
RETENTION: () => RETENTION3,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service52,
|
|
19
19
|
ToolOutput: () => exports_tool_output2,
|
|
20
20
|
fileName: () => fileName2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node55
|
|
22
22
|
});
|
|
23
23
|
import path from "path";
|
|
24
24
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
|
|
|
32
32
|
var DIRECTORY3 = "tool-output";
|
|
33
33
|
var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service52 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -121,7 +121,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
121
121
|
yield* fs.writeWithDirs(file, bytes).pipe(Effect.orDie);
|
|
122
122
|
return file;
|
|
123
123
|
});
|
|
124
|
-
return
|
|
124
|
+
return Service52.of({
|
|
125
125
|
transform: state.transform,
|
|
126
126
|
reload: state.reload,
|
|
127
127
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node55 = makeLocationNode({
|
|
143
|
+
service: Service52,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service52, node55, exports_tool_output2 };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./command-svcy3p9a.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service88,
|
|
3
|
+
node91
|
|
4
|
+
} from "./command-ap7w36b6.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service83,
|
|
7
|
+
node86
|
|
8
|
+
} from "./command-1t7pz1nk.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service72,
|
|
11
|
+
node75
|
|
12
|
+
} from "./command-b8gtv96y.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
NotFoundError11
|
|
15
|
+
} from "./command-s4kyhetj.js";
|
|
16
16
|
import {
|
|
17
17
|
match3
|
|
18
|
-
} from "./
|
|
19
|
-
import {
|
|
20
|
-
Service57,
|
|
21
|
-
node58
|
|
22
|
-
} from "./shell-x64jffdk.js";
|
|
18
|
+
} from "./command-1aqsckx4.js";
|
|
23
19
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
20
|
+
Service70,
|
|
21
|
+
node73
|
|
22
|
+
} from "./command-wjkfvcx3.js";
|
|
27
23
|
import {
|
|
28
|
-
|
|
24
|
+
Service71,
|
|
29
25
|
node74
|
|
30
|
-
} from "./
|
|
26
|
+
} from "./command-302t0y3a.js";
|
|
27
|
+
import {
|
|
28
|
+
Service73,
|
|
29
|
+
node76
|
|
30
|
+
} from "./command-r2jsee34.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./command-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/permission.ts
|
|
36
36
|
var exports_permission = {};
|
|
@@ -39,30 +39,30 @@ __export(exports_permission, {
|
|
|
39
39
|
CorrectedError: () => CorrectedError2,
|
|
40
40
|
DeclinedError: () => DeclinedError2,
|
|
41
41
|
Effect: () => PermissionEffect,
|
|
42
|
-
Event: () =>
|
|
43
|
-
ID: () =>
|
|
44
|
-
NotFoundError: () =>
|
|
42
|
+
Event: () => Event13,
|
|
43
|
+
ID: () => ID12,
|
|
44
|
+
NotFoundError: () => NotFoundError10,
|
|
45
45
|
Permission: () => exports_permission,
|
|
46
46
|
Reply: () => Reply2,
|
|
47
47
|
Request: () => Request3,
|
|
48
48
|
Rule: () => Rule2,
|
|
49
49
|
Ruleset: () => Ruleset2,
|
|
50
|
-
Service: () =>
|
|
51
|
-
Source: () =>
|
|
50
|
+
Service: () => Service69,
|
|
51
|
+
Source: () => Source5,
|
|
52
52
|
Unattended: () => Unattended2,
|
|
53
53
|
evaluate: () => evaluate3,
|
|
54
54
|
merge: () => merge2,
|
|
55
|
-
node: () =>
|
|
55
|
+
node: () => node72
|
|
56
56
|
});
|
|
57
57
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
58
58
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
59
59
|
import { Permission } from "@opencode/schema/permission";
|
|
60
60
|
import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
61
|
-
import { Event as
|
|
61
|
+
import { Event as Event13 } from "@opencode/schema/permission";
|
|
62
62
|
var PermissionEffect = Permission.Effect;
|
|
63
63
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
64
|
-
var
|
|
65
|
-
var
|
|
64
|
+
var ID12 = Permission.ID;
|
|
65
|
+
var Source5 = Permission.Source;
|
|
66
66
|
var Request3 = Permission.Request;
|
|
67
67
|
var Reply2 = Permission.Reply;
|
|
68
68
|
var Unattended2 = Context.Reference("@opencode/Permission/Unattended", {
|
|
@@ -93,8 +93,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
class
|
|
97
|
-
requestID:
|
|
96
|
+
class NotFoundError10 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
97
|
+
requestID: ID12
|
|
98
98
|
}) {
|
|
99
99
|
}
|
|
100
100
|
function evaluate3(action, resource, ...rulesets) {
|
|
@@ -108,15 +108,15 @@ function merge2(...rulesets) {
|
|
|
108
108
|
return rulesets.flat();
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
-
class
|
|
111
|
+
class Service69 extends Context.Service()("@opencode/Permission") {
|
|
112
112
|
}
|
|
113
|
-
var layer = Layer.effect(
|
|
114
|
-
const bus = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const agents = yield*
|
|
117
|
-
const sessions = yield*
|
|
118
|
-
const saved = yield*
|
|
119
|
-
const hooks = yield*
|
|
113
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
114
|
+
const bus = yield* Service88;
|
|
115
|
+
const location = yield* Service83;
|
|
116
|
+
const agents = yield* Service72;
|
|
117
|
+
const sessions = yield* Service70;
|
|
118
|
+
const saved = yield* Service71;
|
|
119
|
+
const hooks = yield* Service73;
|
|
120
120
|
const pending = new Map;
|
|
121
121
|
let closed = false;
|
|
122
122
|
const close = Effect.gen(function* () {
|
|
@@ -139,7 +139,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
139
139
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
140
140
|
const session = yield* sessions.get(sessionID);
|
|
141
141
|
if (!session)
|
|
142
|
-
return yield* new
|
|
142
|
+
return yield* new NotFoundError11({ sessionID });
|
|
143
143
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
144
144
|
return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
|
|
145
145
|
});
|
|
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
180
180
|
});
|
|
181
181
|
function request(input, message) {
|
|
182
182
|
return {
|
|
183
|
-
id: input.id ??
|
|
183
|
+
id: input.id ?? ID12.create(),
|
|
184
184
|
sessionID: input.sessionID,
|
|
185
185
|
action: input.action,
|
|
186
186
|
resources: input.resources,
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
205
205
|
}));
|
|
206
206
|
const ask = Effect.fn("Permission.ask")(function* (input) {
|
|
207
207
|
if (closed)
|
|
208
|
-
return { id: input.id ??
|
|
208
|
+
return { id: input.id ?? ID12.create(), effect: "deny" };
|
|
209
209
|
const result = yield* evaluateInput(input);
|
|
210
210
|
const value = request(input, result.message);
|
|
211
211
|
if (result.effect === "ask")
|
|
@@ -252,7 +252,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
252
252
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
253
253
|
const existing = pending.get(input.requestID);
|
|
254
254
|
if (!existing)
|
|
255
|
-
return yield* new
|
|
255
|
+
return yield* new NotFoundError10({ requestID: input.requestID });
|
|
256
256
|
yield* bus.publish(Permission.Event.Replied, {
|
|
257
257
|
sessionID: existing.request.sessionID,
|
|
258
258
|
requestID: existing.request.id,
|
|
@@ -307,12 +307,12 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
307
307
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
308
308
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
309
309
|
});
|
|
310
|
-
return
|
|
310
|
+
return Service69.of({ ask, assert, assertNotDenied, allows, reply, get, forSession, list, close });
|
|
311
311
|
}));
|
|
312
|
-
var
|
|
313
|
-
service:
|
|
312
|
+
var node72 = makeLocationNode({
|
|
313
|
+
service: Service69,
|
|
314
314
|
layer,
|
|
315
|
-
deps: [
|
|
315
|
+
deps: [node91, node86, node75, node73, node74, node76]
|
|
316
316
|
});
|
|
317
317
|
|
|
318
|
-
export { PermissionEffect,
|
|
318
|
+
export { PermissionEffect, ID12, Source5, Request3, Reply2, Unattended2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError10, evaluate3, merge2, Service69, node72, exports_permission, Rule2, Ruleset2, Event13 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID14
|
|
3
|
+
} from "./command-b8gtv96y.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info20
|
|
9
|
+
} from "./command-d390zwf3.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-0m2hpscf.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service74
|
|
16
|
+
} from "./command-ajv23y1e.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./command-e834z07m.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./command-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
|
-
var
|
|
26
|
-
__export(
|
|
27
|
-
ConfigAgentPlugin: () =>
|
|
28
|
-
Plugin: () =>
|
|
25
|
+
var exports_agent = {};
|
|
26
|
+
__export(exports_agent, {
|
|
27
|
+
ConfigAgentPlugin: () => exports_agent,
|
|
28
|
+
Plugin: () => Plugin9
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info20);
|
|
44
44
|
var pathActions = ["external_directory", "read", "edit"];
|
|
45
45
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
46
46
|
var nativeKeys = ["permissions", "request", "system", "disabled"];
|
|
47
|
-
var
|
|
47
|
+
var Plugin9 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service74;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin27 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID14.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID14.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -163,4 +163,4 @@ var decode = Effect.fnUntraced(function* (file, content) {
|
|
|
163
163
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
164
164
|
});
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { Plugin9, exports_agent };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Entries2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Info21
|
|
7
|
+
} from "./command-2kg89srt.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/v1/config/agent.ts
|
|
13
13
|
var exports_agent4 = {};
|
|
14
14
|
__export(exports_agent4, {
|
|
15
15
|
ConfigAgentV1: () => exports_agent4,
|
|
16
|
-
Info: () =>
|
|
16
|
+
Info: () => Info20
|
|
17
17
|
});
|
|
18
18
|
import { Schema, SchemaGetter } from "effect";
|
|
19
19
|
var Color = Schema.Union([
|
|
@@ -45,7 +45,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
45
45
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
46
46
|
}),
|
|
47
47
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
48
|
-
permission: Schema.optional(
|
|
48
|
+
permission: Schema.optional(Info21)
|
|
49
49
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
50
50
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
51
51
|
var normalize = (agent) => {
|
|
@@ -64,9 +64,9 @@ var normalize = (agent) => {
|
|
|
64
64
|
const steps = agent.steps ?? agent.maxSteps;
|
|
65
65
|
return { ...agent, options, permission: [...permission], ...steps !== undefined ? { steps } : {} };
|
|
66
66
|
};
|
|
67
|
-
var
|
|
67
|
+
var Info20 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
|
|
68
68
|
decode: SchemaGetter.transform(normalize),
|
|
69
69
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
70
70
|
})).annotate({ identifier: "AgentConfig" });
|
|
71
71
|
|
|
72
|
-
export {
|
|
72
|
+
export { Info20, exports_agent4 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service88,
|
|
3
|
+
node91
|
|
4
|
+
} from "./command-ap7w36b6.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref5,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service83,
|
|
12
|
+
node86
|
|
13
|
+
} from "./command-1t7pz1nk.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./command-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service27,
|
|
23
23
|
define: () => define2,
|
|
24
24
|
eventDefinition: () => eventDefinition2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node30
|
|
26
26
|
});
|
|
27
27
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
28
28
|
import { Event } from "@opencode/schema/event";
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
30
30
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
31
|
-
class
|
|
31
|
+
class Service27 extends Context.Service()("@opencode/Rpc") {
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
class DeclaredError extends Error {
|
|
@@ -40,9 +40,9 @@ class DeclaredError extends Error {
|
|
|
40
40
|
this.data = data;
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
var layer = Layer.effect(
|
|
44
|
-
const bus = yield*
|
|
45
|
-
const location = yield*
|
|
43
|
+
var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
44
|
+
const bus = yield* Service88;
|
|
45
|
+
const location = yield* Service83;
|
|
46
46
|
const ref = Ref5.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
47
47
|
const closed = yield* Deferred.make();
|
|
48
48
|
const callContext = {
|
|
@@ -119,14 +119,14 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
119
119
|
const registered = events.get(name);
|
|
120
120
|
if (!registered)
|
|
121
121
|
return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
|
|
122
|
-
return bus.subscribe(registered.definition).pipe(Stream.provideService(
|
|
122
|
+
return bus.subscribe(registered.definition).pipe(Stream.provideService(Service83, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
125
|
};
|
|
126
126
|
};
|
|
127
|
-
return
|
|
127
|
+
return Service27.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
128
128
|
}));
|
|
129
|
-
var
|
|
129
|
+
var node30 = makeLocationNode({ service: Service27, layer, deps: [node91, node86] });
|
|
130
130
|
var fields = {
|
|
131
131
|
id: Event.ID,
|
|
132
132
|
created: Schema.Finite,
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service27, node30, eventDefinition2, exports_rpc, define2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-3v6tj8d3.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/lmstudio.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -19,7 +19,7 @@ var RemoteModel = Schema.Struct({
|
|
|
19
19
|
}).pipe(Schema.optional)
|
|
20
20
|
});
|
|
21
21
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
22
|
-
var
|
|
22
|
+
var make17 = createLocalProviderPlugin2({
|
|
23
23
|
id: "opencode.provider.lmstudio",
|
|
24
24
|
providerID: "lmstudio",
|
|
25
25
|
name: "LM Studio",
|
|
@@ -38,6 +38,6 @@ var make16 = createLocalProviderPlugin2({
|
|
|
38
38
|
context: item.loaded_instances.length === 0 ? item.max_context_length : Math.min(...item.loaded_instances.map((instance) => instance.config.context_length))
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
|
-
var LMStudioPlugin2 =
|
|
41
|
+
var LMStudioPlugin2 = make17();
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { make17, LMStudioPlugin2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/codemode/execution.ts
|
|
6
6
|
var exports_execution2 = {};
|
|
7
7
|
__export(exports_execution2, {
|
|
8
8
|
CodeModeExecution: () => exports_execution2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service67
|
|
10
10
|
});
|
|
11
11
|
import { Context } from "effect";
|
|
12
12
|
|
|
13
|
-
class
|
|
13
|
+
class Service67 extends Context.Service()("@opencode/CodeModeExecution") {
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { Service67, exports_execution2 };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
real2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-96djdqw5.js";
|
|
4
4
|
import {
|
|
5
5
|
registry2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-9cv7cw0n.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
make6
|
|
9
|
+
} from "./command-a2gahn4b.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service83
|
|
12
|
+
} from "./command-1t7pz1nk.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
register7,
|
|
15
15
|
connection2
|
|
16
|
-
} from "./
|
|
17
|
-
import {
|
|
18
|
-
register2
|
|
19
|
-
} from "./shell-xc1jhcm7.js";
|
|
16
|
+
} from "./command-mr41mz10.js";
|
|
20
17
|
import {
|
|
21
18
|
register5
|
|
22
|
-
} from "./
|
|
19
|
+
} from "./command-zg9xszfz.js";
|
|
23
20
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
21
|
+
register6
|
|
22
|
+
} from "./command-schafjf2.js";
|
|
26
23
|
import {
|
|
27
24
|
register3
|
|
28
|
-
} from "./
|
|
25
|
+
} from "./command-vsc4dw33.js";
|
|
26
|
+
import {
|
|
27
|
+
register4
|
|
28
|
+
} from "./command-bjr4tvbr.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
Service63
|
|
31
|
+
} from "./command-ag68y7y1.js";
|
|
32
32
|
import {
|
|
33
33
|
spawner2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./command-wr3re1en.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/claude-agent/index.ts
|
|
37
37
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -40,22 +40,22 @@ var ID2 = "opencode.provider.claude-agent";
|
|
|
40
40
|
var make4 = (io, registry = registry2()) => define({
|
|
41
41
|
id: ID2,
|
|
42
42
|
effect: Effect.fn("ClaudeAgent.Plugin")(function* (ctx) {
|
|
43
|
-
const environment = yield* Effect.serviceOption(
|
|
44
|
-
const location = yield* Effect.serviceOption(
|
|
43
|
+
const environment = yield* Effect.serviceOption(Service63);
|
|
44
|
+
const location = yield* Effect.serviceOption(Service83);
|
|
45
45
|
if (Option.isSome(location) && location.value.workspaceID !== undefined)
|
|
46
46
|
return;
|
|
47
47
|
if (Option.isSome(environment) && environment.value.spawner === spawner2)
|
|
48
48
|
return;
|
|
49
|
-
const status = yield*
|
|
49
|
+
const status = yield* make6(io, () => connection2(ctx));
|
|
50
50
|
const sessions = yield* registry.attach({ io, status, storage: ctx.storage, directory: ctx.location.directory });
|
|
51
51
|
yield* ctx.event.subscribe({
|
|
52
52
|
types: ["session.execution.succeeded", "session.execution.failed", "session.execution.interrupted"]
|
|
53
53
|
}).pipe(Stream.runForEach((event) => sessions.idle(event.data.sessionID)), Effect.forkScoped({ startImmediately: true }));
|
|
54
|
-
yield*
|
|
55
|
-
yield*
|
|
56
|
-
yield*
|
|
57
|
-
yield*
|
|
58
|
-
yield*
|
|
54
|
+
yield* register7(ctx, status, io);
|
|
55
|
+
yield* register3(ctx, status);
|
|
56
|
+
yield* register5(ctx, sessions);
|
|
57
|
+
yield* register4(ctx);
|
|
58
|
+
yield* register6(ctx);
|
|
59
59
|
})
|
|
60
60
|
});
|
|
61
61
|
var ClaudeAgentPlugin2 = make4(real2);
|