@opencode/core 0.0.0-dev-974 → 0.0.0-dev-981
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 +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +7 -7
- package/dist/artifact.js +236 -236
- package/dist/bus.js +86 -86
- package/dist/chunks/agent-00ve6mdn.js +18 -0
- package/dist/chunks/{permission-034tev2y.js → agent-034tev2y.js} +2 -2
- package/dist/chunks/{permission-1h4y1sqd.js → agent-03s1syy0.js} +5 -5
- package/dist/chunks/{permission-z99vtvbp.js → agent-0bas93te.js} +11 -11
- package/dist/chunks/{permission-vsgn8ybb.js → agent-0dc2hx03.js} +15 -15
- package/dist/chunks/{permission-k4fjj2s3.js → agent-0frp03gx.js} +9 -9
- package/dist/chunks/{permission-0j7gp832.js → agent-0j7gp832.js} +1 -1
- package/dist/chunks/{permission-0ma9gw4f.js → agent-0ma9gw4f.js} +2 -2
- package/dist/chunks/{permission-ffvvmdd5.js → agent-0qh3s10f.js} +7 -7
- package/dist/chunks/{permission-6b1nchq2.js → agent-0sdba99t.js} +23 -23
- package/dist/chunks/{permission-mvcy4kgt.js → agent-0sq7yx7p.js} +13 -13
- package/dist/chunks/{permission-drs18qzg.js → agent-0w88x2cw.js} +23 -23
- package/dist/chunks/{permission-97c053ek.js → agent-0xp2zwch.js} +13 -13
- package/dist/chunks/{permission-7bdtq0xf.js → agent-145d65ep.js} +8 -8
- package/dist/chunks/{permission-2xb8qwnh.js → agent-1776j15m.js} +23 -23
- package/dist/chunks/{permission-e0nd6rg0.js → agent-17b8a7h3.js} +8 -8
- package/dist/chunks/{permission-1aqsckx4.js → agent-1aqsckx4.js} +1 -1
- package/dist/chunks/{permission-1ep2p91f.js → agent-1ep2p91f.js} +2 -2
- package/dist/chunks/{permission-72k1w0ep.js → agent-1fk5xgk4.js} +17 -17
- package/dist/chunks/{permission-nms700qw.js → agent-1p69b0p2.js} +11 -11
- package/dist/chunks/{permission-45hfabts.js → agent-1s8e9aqh.js} +38 -38
- package/dist/chunks/{permission-0h86f0az.js → agent-1v2g13eq.js} +4 -4
- package/dist/chunks/{permission-1x2knyw4.js → agent-1x2knyw4.js} +1 -1
- package/dist/chunks/{permission-1yq9hg58.js → agent-1yq9hg58.js} +1 -1
- package/dist/chunks/{permission-ztqf0t77.js → agent-1zmv1hc5.js} +19 -19
- package/dist/chunks/{permission-1zxrx0km.js → agent-1zxrx0km.js} +2 -2
- package/dist/chunks/{permission-zsqe1qgh.js → agent-2b86rq14.js} +9 -9
- package/dist/chunks/{permission-2fc7eemy.js → agent-2fc7eemy.js} +1 -1
- package/dist/chunks/{permission-t8vec8en.js → agent-2kxs6t6m.js} +15 -15
- package/dist/chunks/{permission-fyfzbt3s.js → agent-2n444ktb.js} +3 -3
- package/dist/chunks/{permission-1vtzw0t5.js → agent-2ntftwm7.js} +10 -10
- package/dist/chunks/{permission-s1ba0vj0.js → agent-2p60zmnr.js} +2 -2
- package/dist/chunks/{permission-39sgvy3e.js → agent-2y8q1569.js} +4 -4
- package/dist/chunks/{permission-xjbsd7zy.js → agent-3adw4bt5.js} +9 -9
- package/dist/chunks/{permission-p5xh8nbt.js → agent-3egvspvf.js} +9 -9
- package/dist/chunks/{permission-3hepkmqq.js → agent-3hepkmqq.js} +1 -1
- package/dist/chunks/{permission-3nnrz6f6.js → agent-3nnrz6f6.js} +1 -1
- package/dist/chunks/{permission-9zsb5378.js → agent-3txg0pd7.js} +11 -11
- package/dist/chunks/{permission-40y6dtc2.js → agent-40y6dtc2.js} +1 -1
- package/dist/chunks/{permission-r41sfy63.js → agent-40za9wsf.js} +6 -6
- package/dist/chunks/{permission-zd91jsyq.js → agent-41a7c9y2.js} +4 -4
- package/dist/chunks/{permission-jxd6f16v.js → agent-44pmzq9c.js} +2 -2
- package/dist/chunks/{permission-7j6e4qts.js → agent-479x8892.js} +39 -39
- package/dist/chunks/{permission-xtgrbaac.js → agent-4a35cdrq.js} +5 -5
- package/dist/chunks/{permission-4dx1dgte.js → agent-4dx1dgte.js} +1 -1
- package/dist/chunks/{permission-4f25tdd0.js → agent-4f25tdd0.js} +1 -1
- package/dist/chunks/{permission-t0608nav.js → agent-4krr2nde.js} +3 -3
- package/dist/chunks/{permission-4pyp9zr9.js → agent-4pyp9zr9.js} +1 -1
- package/dist/chunks/{permission-wjq797ag.js → agent-4syft219.js} +8 -8
- package/dist/chunks/{permission-4v008n1t.js → agent-4v008n1t.js} +1 -1
- package/dist/chunks/{permission-6nrzyck0.js → agent-514ks32r.js} +43 -43
- package/dist/chunks/{permission-1pvdh9fg.js → agent-53rk79rp.js} +10 -10
- package/dist/chunks/{permission-3axtjmyz.js → agent-53xvr310.js} +3 -3
- package/dist/chunks/{permission-yzxd9et0.js → agent-55z69hwz.js} +21 -21
- package/dist/chunks/{permission-qxb7ybqa.js → agent-5hapvr34.js} +12 -12
- package/dist/chunks/{permission-5m9w47nd.js → agent-5m9w47nd.js} +1 -1
- package/dist/chunks/{permission-2ww52whw.js → agent-5nz84q85.js} +20 -20
- package/dist/chunks/{permission-bys6f9s7.js → agent-61qraad9.js} +5 -5
- package/dist/chunks/{permission-g09vxmsr.js → agent-6b57y4tm.js} +5 -5
- package/dist/chunks/{permission-ch6js622.js → agent-6c33gsgt.js} +23 -23
- package/dist/chunks/{permission-4qjx740b.js → agent-6dwa5jtc.js} +22 -22
- package/dist/chunks/{permission-dmbpqcj0.js → agent-6nfj3rxw.js} +15 -15
- package/dist/chunks/{permission-kvz001nz.js → agent-6w15kdgv.js} +14 -14
- package/dist/chunks/{permission-edena8v9.js → agent-6wkx5vpj.js} +20 -20
- package/dist/chunks/{permission-8ncddk31.js → agent-6wnvkxy2.js} +2 -2
- package/dist/chunks/{permission-v2ev84cm.js → agent-71wp5w4t.js} +18 -18
- package/dist/chunks/{permission-wzf0ypyr.js → agent-72w62nvf.js} +5 -5
- package/dist/chunks/{permission-cq0ap0qt.js → agent-73hqzbye.js} +5 -5
- package/dist/chunks/{permission-98b2mm61.js → agent-765q7gwk.js} +16 -16
- package/dist/chunks/{permission-775hqbnd.js → agent-775hqbnd.js} +3 -3
- package/dist/chunks/{permission-2vkdkmjq.js → agent-7a5zzgze.js} +31 -31
- package/dist/chunks/{permission-z44p38n5.js → agent-7ac9vf2v.js} +2 -2
- package/dist/chunks/{permission-sddbj8ba.js → agent-7bahrbjj.js} +11 -11
- package/dist/chunks/{permission-7bmhse3q.js → agent-7bmhse3q.js} +1 -1
- package/dist/chunks/{permission-sfqtvsb1.js → agent-7bn2cmg4.js} +17 -17
- package/dist/chunks/{permission-2p1ahbh5.js → agent-7bwes6js.js} +22 -22
- package/dist/chunks/{permission-9cq43qek.js → agent-7dn1zj2c.js} +9 -9
- package/dist/chunks/{permission-ht0sjv6q.js → agent-7fz7kfy5.js} +14 -14
- package/dist/chunks/{permission-y8gfsn8s.js → agent-7s0aaexf.js} +11 -11
- package/dist/chunks/{permission-7w2ypzdf.js → agent-7w2ypzdf.js} +1 -1
- package/dist/chunks/{permission-r873ky2d.js → agent-7wa892tk.js} +27 -27
- package/dist/chunks/{permission-7weczvnd.js → agent-7weczvnd.js} +1 -1
- package/dist/chunks/{permission-80pdk984.js → agent-80pdk984.js} +1 -1
- package/dist/chunks/{permission-qa9tnpvp.js → agent-833s6sc9.js} +11 -11
- package/dist/chunks/{permission-rxjv6jh3.js → agent-83daj7yj.js} +37 -37
- package/dist/chunks/{permission-6t5rev7r.js → agent-85w748h8.js} +5 -5
- package/dist/chunks/{permission-89287pr7.js → agent-89287pr7.js} +1 -1
- package/dist/chunks/{permission-8b3vzgkx.js → agent-8b3vzgkx.js} +1 -1
- package/dist/chunks/{permission-5whx36p1.js → agent-8cg7mtm3.js} +4 -4
- package/dist/chunks/{permission-hbp8dfzz.js → agent-8ch46v0w.js} +16 -16
- package/dist/chunks/{permission-8sxe6kv8.js → agent-8sxe6kv8.js} +2 -2
- package/dist/chunks/{permission-r17fbvme.js → agent-8t99kr38.js} +4 -4
- package/dist/chunks/{permission-8wtp7s3z.js → agent-8wtp7s3z.js} +1 -1
- package/dist/chunks/{permission-8xz27cp9.js → agent-8xz27cp9.js} +1 -1
- package/dist/chunks/{permission-8zv0xmg5.js → agent-8zv0xmg5.js} +1 -1
- package/dist/chunks/{permission-38aws4xb.js → agent-90ct6wq4.js} +4 -4
- package/dist/chunks/{permission-yqfwbma4.js → agent-94gj6608.js} +17 -17
- package/dist/chunks/{permission-ptzdhrt4.js → agent-963hk181.js} +9 -9
- package/dist/chunks/{permission-11wek8gg.js → agent-9a8saam1.js} +18 -18
- package/dist/chunks/{permission-fb3jej2f.js → agent-9adnckeg.js} +10 -10
- package/dist/chunks/{permission-91x07hma.js → agent-9nq4n9bn.js} +14 -14
- package/dist/chunks/{permission-d6qkfra9.js → agent-9zvxeyh0.js} +20 -20
- package/dist/chunks/{permission-wc9hk5na.js → agent-a232rz61.js} +3 -3
- package/dist/chunks/{permission-z0c26qk4.js → agent-a3fn0gmm.js} +2 -2
- package/dist/chunks/{permission-f4x2715q.js → agent-a54h82rt.js} +10 -10
- package/dist/chunks/{permission-x4mcewfn.js → agent-a5fx33f2.js} +8 -8
- package/dist/chunks/{permission-9gdcgbsn.js → agent-a5g6cc71.js} +11 -11
- package/dist/chunks/{permission-7czdj4ta.js → agent-a91n2tqa.js} +8 -8
- package/dist/chunks/{permission-1ny6fkcx.js → agent-am0c6q8r.js} +14 -14
- package/dist/chunks/{permission-aq906svt.js → agent-ampjv2jb.js} +3 -3
- package/dist/chunks/{permission-f1eg8630.js → agent-arnrzsa7.js} +29 -29
- package/dist/chunks/{permission-xsqhp9sf.js → agent-at91w1sd.js} +19 -19
- package/dist/chunks/{permission-jkxac81g.js → agent-awvdajxa.js} +19 -19
- package/dist/chunks/{permission-10pn4eb5.js → agent-ayfytmn9.js} +5 -5
- package/dist/chunks/{permission-ayjs7tqn.js → agent-ayjs7tqn.js} +2 -2
- package/dist/chunks/{permission-g4txs7zc.js → agent-b26ddj6h.js} +4 -4
- package/dist/chunks/agent-b327c6e6.js +26 -0
- package/dist/chunks/{permission-zzeg3e4n.js → agent-bmtjea25.js} +19 -19
- package/dist/chunks/{permission-jyrk1dg0.js → agent-bqm1ag82.js} +12 -12
- package/dist/chunks/{permission-xd9cc171.js → agent-bstexjd6.js} +5 -5
- package/dist/chunks/{permission-mca7m2tr.js → agent-bt57tpxv.js} +12 -12
- package/dist/chunks/{permission-rys04g04.js → agent-c0m38ftc.js} +8 -8
- package/dist/chunks/{permission-80m5xgxj.js → agent-c0tz6aqz.js} +8 -8
- package/dist/chunks/{permission-fgmter8b.js → agent-c1sfsxsr.js} +8 -8
- package/dist/chunks/{permission-0rfayb2g.js → agent-c1snbmvy.js} +20 -20
- package/dist/chunks/{permission-rfarrx3z.js → agent-c4pg5r9q.js} +18 -18
- package/dist/chunks/{permission-8n09hdvs.js → agent-c5m2a8vb.js} +8 -8
- package/dist/chunks/{permission-c7cw818c.js → agent-c7cw818c.js} +2 -2
- package/dist/chunks/{permission-c7gk57p6.js → agent-c7gk57p6.js} +1 -1
- package/dist/chunks/{permission-a6s57dw6.js → agent-ckn0kvtp.js} +3 -3
- package/dist/chunks/{permission-3ryz99p0.js → agent-cpvd08na.js} +4 -4
- package/dist/chunks/{permission-5aw99tvv.js → agent-ctfe7v1v.js} +25 -25
- package/dist/chunks/{permission-cwrgdav8.js → agent-cwrgdav8.js} +2 -2
- package/dist/chunks/{permission-23z41e0s.js → agent-d0ct107g.js} +10 -10
- package/dist/chunks/{permission-dw1zr0zq.js → agent-d42hvbhd.js} +1 -1
- package/dist/chunks/{permission-d4v9tmah.js → agent-d4v9tmah.js} +2 -2
- package/dist/chunks/{permission-xnn04dzw.js → agent-d708f7va.js} +28 -28
- package/dist/chunks/{permission-6ytxh9c0.js → agent-d7d1gqr0.js} +31 -31
- package/dist/chunks/{permission-k2b1rh1h.js → agent-dbwvxspc.js} +5 -5
- package/dist/chunks/{permission-5vas14ae.js → agent-dc60sssd.js} +9 -9
- package/dist/chunks/{permission-h507mgnq.js → agent-dch23kaq.js} +36 -36
- package/dist/chunks/{permission-x98q29a0.js → agent-ddgq088e.js} +36 -36
- package/dist/chunks/{permission-fq5gqwv7.js → agent-djs4q55k.js} +4 -4
- package/dist/chunks/{permission-cqthj8xe.js → agent-dp05pbnt.js} +17 -17
- package/dist/chunks/{permission-dt77769w.js → agent-dt77769w.js} +1 -1
- package/dist/chunks/{permission-em2vjetw.js → agent-e1e2z6y2.js} +4 -4
- package/dist/chunks/{permission-whkkyd7g.js → agent-ea48cx4w.js} +32 -32
- package/dist/chunks/{permission-nmdvah63.js → agent-eb6navfw.js} +11 -11
- package/dist/chunks/{permission-3wgyx0d7.js → agent-eh3q51rs.js} +54 -54
- package/dist/chunks/{permission-n4b3ed7e.js → agent-ejpp96pb.js} +28 -28
- package/dist/chunks/{permission-wbp6hs9w.js → agent-emjkzpye.js} +19 -19
- package/dist/chunks/{permission-eqw4pqj1.js → agent-eqw4pqj1.js} +2 -2
- package/dist/chunks/{permission-ev6d3avn.js → agent-ergvsmdh.js} +6 -6
- package/dist/chunks/{permission-ebfz484k.js → agent-esmhkswe.js} +59 -59
- package/dist/chunks/{permission-3wmvwtqb.js → agent-eznwzz89.js} +5 -5
- package/dist/chunks/{permission-y28xhz9b.js → agent-f004pghm.js} +4 -4
- package/dist/chunks/{permission-hxpxgv3c.js → agent-f3zh1z40.js} +20 -20
- package/dist/chunks/{permission-fffv3p7h.js → agent-fffv3p7h.js} +1 -1
- package/dist/chunks/{permission-fg9p65nk.js → agent-fg9p65nk.js} +2 -2
- package/dist/chunks/{permission-av915ncq.js → agent-fnnh9tr0.js} +16 -16
- package/dist/chunks/{permission-gy63swg6.js → agent-fpp9mkjh.js} +10 -10
- package/dist/chunks/{permission-mp589wdn.js → agent-fqys5f2f.js} +15 -15
- package/dist/chunks/{permission-ta6vj6gh.js → agent-fx5dbny4.js} +5 -5
- package/dist/chunks/{permission-wr3re1en.js → agent-fznmdakp.js} +4 -4
- package/dist/chunks/{permission-0k1kxf39.js → agent-g54wb9zb.js} +8 -8
- package/dist/chunks/{permission-1665g4ph.js → agent-g83mr36h.js} +183 -183
- package/dist/chunks/{permission-gbjdnr5j.js → agent-gbjdnr5j.js} +2 -2
- package/dist/chunks/{permission-p9bg6m0n.js → agent-gbzdy980.js} +28 -28
- package/dist/chunks/{permission-sdt5j0rm.js → agent-ghrv1g9c.js} +4 -4
- package/dist/chunks/{permission-z71pbndn.js → agent-ghzn7fps.js} +19 -19
- package/dist/chunks/{permission-hmd3a07s.js → agent-gmf1f742.js} +7 -7
- package/dist/chunks/{permission-bsj0rdpa.js → agent-gtaq5q8g.js} +6 -6
- package/dist/chunks/{permission-tg7s7b5t.js → agent-gxs71cxp.js} +4 -4
- package/dist/chunks/{permission-s6pcwtbr.js → agent-gzdfg4q2.js} +31 -31
- package/dist/chunks/{permission-2m6x9wxc.js → agent-gzrqs4nz.js} +16 -16
- package/dist/chunks/{permission-9yqjp86x.js → agent-h2afx71g.js} +6 -6
- package/dist/chunks/{permission-s1h37f5j.js → agent-hdkgxgz2.js} +36 -36
- package/dist/chunks/{permission-hgzwgvze.js → agent-hgzwgvze.js} +2 -2
- package/dist/chunks/{permission-prmkf11g.js → agent-hsjdarb3.js} +12 -12
- package/dist/chunks/{permission-6yc3724w.js → agent-j831fg6g.js} +31 -31
- package/dist/chunks/{permission-j9nxzz3g.js → agent-j9nxzz3g.js} +3 -3
- package/dist/chunks/{permission-7abfkjak.js → agent-javg7esx.js} +18 -18
- package/dist/chunks/{permission-zvx45fsm.js → agent-jdwsaczw.js} +11 -11
- package/dist/chunks/{permission-ccer8cqq.js → agent-jhxyynhp.js} +31 -31
- package/dist/chunks/{permission-bhfd478d.js → agent-jkdcm5hg.js} +4 -4
- package/dist/chunks/{permission-jm70asfg.js → agent-jm70asfg.js} +1 -1
- package/dist/chunks/{permission-rf8nke8d.js → agent-jqaj356s.js} +23 -23
- package/dist/chunks/{permission-hkd7b00q.js → agent-jraam9fg.js} +6 -6
- package/dist/chunks/{permission-5yyy5wk5.js → agent-js67yn6j.js} +9 -9
- package/dist/chunks/{permission-qsghwt0m.js → agent-k0gdef7s.js} +31 -31
- package/dist/chunks/{permission-1vqamasp.js → agent-k77fysk8.js} +5 -5
- package/dist/chunks/{permission-2613wmjm.js → agent-kcvhe8ec.js} +45 -45
- package/dist/chunks/{permission-kj9n5bvh.js → agent-kj9n5bvh.js} +1 -1
- package/dist/chunks/{permission-f2j60fxt.js → agent-kmwb2feb.js} +23 -23
- package/dist/chunks/{permission-fcrd7kek.js → agent-kq4fnwb1.js} +4 -4
- package/dist/chunks/{permission-pm165amp.js → agent-kt0aej7d.js} +24 -24
- package/dist/chunks/{permission-ngc2wkmy.js → agent-kt1xtm1c.js} +27 -27
- package/dist/chunks/{permission-kt3bjfbg.js → agent-kt3bjfbg.js} +1 -1
- package/dist/chunks/{permission-yce4w052.js → agent-kt89rn5p.js} +19 -19
- package/dist/chunks/{permission-4yyrtzb8.js → agent-kwa16xgp.js} +9 -9
- package/dist/chunks/{permission-rm9eer3g.js → agent-kx4qq42j.js} +7 -7
- package/dist/chunks/{permission-9nkqwwn6.js → agent-kyg65sbd.js} +40 -40
- package/dist/chunks/{permission-afkqey5y.js → agent-kyjv3y5f.js} +360 -360
- package/dist/chunks/{permission-kzczzf4v.js → agent-kzczzf4v.js} +1 -1
- package/dist/chunks/{permission-qk5sk9d1.js → agent-kzdam8c6.js} +7 -7
- package/dist/chunks/{permission-s5a6yjpk.js → agent-m09z1v99.js} +68 -68
- package/dist/chunks/{permission-m1714858.js → agent-m1714858.js} +1 -1
- package/dist/chunks/{permission-m9w0rfyh.js → agent-m9w0rfyh.js} +1 -1
- package/dist/chunks/{permission-mb7mbhnz.js → agent-mb7mbhnz.js} +3 -3
- package/dist/chunks/{permission-gnkmn8c6.js → agent-me215f18.js} +1 -1
- package/dist/chunks/{permission-kkv0j8b9.js → agent-mkhghf85.js} +17 -17
- package/dist/chunks/{permission-3817tp8z.js → agent-mkwqcq0t.js} +3 -3
- package/dist/chunks/{permission-gvtfe59a.js → agent-mmf7n8z0.js} +5 -5
- package/dist/chunks/{permission-nf2yeap3.js → agent-mpkd4dcq.js} +32 -32
- package/dist/chunks/{permission-v7d7t100.js → agent-mqxpc6bt.js} +5 -5
- package/dist/chunks/{permission-pb7k49f9.js → agent-n2d2n6fs.js} +35 -35
- package/dist/chunks/{permission-e6mxqr2s.js → agent-n74b8jv4.js} +12 -12
- package/dist/chunks/{permission-k0jpkd7q.js → agent-ncne1zgd.js} +7 -7
- package/dist/chunks/{permission-6ez2h30a.js → agent-nggmx95f.js} +13 -13
- package/dist/chunks/{permission-804fwt7w.js → agent-nk507k5f.js} +21 -21
- package/dist/chunks/{permission-rzfv3bpq.js → agent-nmvv25t4.js} +50 -50
- package/dist/chunks/{permission-4nm7dpf5.js → agent-nn3saq6b.js} +39 -39
- package/dist/chunks/{permission-bsbb98x3.js → agent-nnwpcz14.js} +59 -59
- package/dist/chunks/{permission-4m49r6wp.js → agent-nptrm8kt.js} +17 -17
- package/dist/chunks/{permission-gg2jwreg.js → agent-nr0wjx78.js} +38 -38
- package/dist/chunks/{permission-wf5g6btq.js → agent-nryptj9p.js} +30 -30
- package/dist/chunks/{permission-kchst7at.js → agent-nstbetgn.js} +8 -8
- package/dist/chunks/{permission-h5chy42v.js → agent-nt907s04.js} +3 -3
- package/dist/chunks/{permission-5bc25xm0.js → agent-nvcgcg81.js} +21 -21
- package/dist/chunks/{permission-s51rk2n1.js → agent-nyc4jwvb.js} +4 -4
- package/dist/chunks/{permission-zkht5bk7.js → agent-p2ybnjzy.js} +12 -12
- package/dist/chunks/{permission-59npd4n6.js → agent-p5fnmvpj.js} +31 -31
- package/dist/chunks/{permission-cdp03f7e.js → agent-p7cpkq4c.js} +14 -14
- package/dist/chunks/{permission-z46f52fm.js → agent-p9mh9akd.js} +35 -35
- package/dist/chunks/{permission-hgbq5zdy.js → agent-p9rbnb6x.js} +20 -20
- package/dist/chunks/{permission-6ke78j0d.js → agent-pb4hhsm2.js} +10 -10
- package/dist/chunks/{permission-tw9esxyx.js → agent-pgh8k322.js} +3 -3
- package/dist/chunks/{permission-pknna89w.js → agent-pknna89w.js} +1 -1
- package/dist/chunks/{permission-vq3dvvpq.js → agent-ppngxvrt.js} +13 -13
- package/dist/chunks/{permission-px7qpgcn.js → agent-px7qpgcn.js} +1 -1
- package/dist/chunks/{permission-re2rx1yk.js → agent-q1g1p593.js} +80 -80
- package/dist/chunks/{permission-s3znytn1.js → agent-q1jshvh7.js} +11 -11
- package/dist/chunks/{permission-cp3wmahc.js → agent-q3rq6fp3.js} +13 -13
- package/dist/chunks/{permission-qs2j0e81.js → agent-q7srkfd6.js} +6 -6
- package/dist/chunks/{permission-am9a0q64.js → agent-qacy18a6.js} +13 -13
- package/dist/chunks/{permission-swyc8tmp.js → agent-qag47dhy.js} +5 -5
- package/dist/chunks/{permission-6hdyvggz.js → agent-qb7ncd82.js} +7 -7
- package/dist/chunks/{permission-yqw6xb0y.js → agent-qcv2egf2.js} +9 -9
- package/dist/chunks/{permission-br3r6y2z.js → agent-qhskymbr.js} +6 -6
- package/dist/chunks/{permission-9432kxcp.js → agent-qkw9ffvq.js} +4 -4
- package/dist/chunks/{permission-qp7r0hxv.js → agent-qp7r0hxv.js} +1 -1
- package/dist/chunks/agent-qparg5af.js +265 -0
- package/dist/chunks/{permission-wfdx5ztx.js → agent-qsdghx1p.js} +4 -4
- package/dist/chunks/{permission-ckmm0pe4.js → agent-r5r5vreg.js} +33 -33
- package/dist/chunks/{permission-bhdq3y5d.js → agent-r7zdf0d6.js} +20 -20
- package/dist/chunks/{permission-xsvq7cjt.js → agent-r96ere88.js} +4 -4
- package/dist/chunks/{permission-0w5s2scy.js → agent-r98mbgms.js} +5 -5
- package/dist/chunks/{permission-rb9dy4dg.js → agent-rb9dy4dg.js} +1 -1
- package/dist/chunks/{permission-yqgzkd4s.js → agent-rbt5fkkh.js} +18 -18
- package/dist/chunks/{permission-rgc9cx3e.js → agent-rgc9cx3e.js} +2 -2
- package/dist/chunks/{permission-g2fyxw2s.js → agent-rgr196vp.js} +9 -9
- package/dist/chunks/{permission-zevbv6wf.js → agent-rhcdfjrd.js} +9 -9
- package/dist/chunks/{permission-gecaa27y.js → agent-rngj42e6.js} +8 -8
- package/dist/chunks/{permission-wsbxvn7p.js → agent-rt30r86m.js} +34 -34
- package/dist/chunks/{permission-rt5dr6hb.js → agent-rt5dr6hb.js} +1 -1
- package/dist/chunks/{permission-wahstx9x.js → agent-rtafshd2.js} +14 -14
- package/dist/chunks/{permission-cnq21873.js → agent-s3fyah2j.js} +24 -24
- package/dist/chunks/{permission-sbya78hr.js → agent-sbya78hr.js} +1 -1
- package/dist/chunks/{permission-xkhm2q09.js → agent-sqk89xq2.js} +10 -10
- package/dist/chunks/{permission-svcy3p9a.js → agent-svcy3p9a.js} +1 -1
- package/dist/chunks/{permission-6gj5jmed.js → agent-sx0w3y2a.js} +4 -4
- package/dist/chunks/{permission-0vb72f4f.js → agent-sxsqza7j.js} +20 -20
- package/dist/chunks/{permission-gsbpvqyk.js → agent-sxzffpc4.js} +12 -12
- package/dist/chunks/{permission-rbg54dp1.js → agent-syncbfr5.js} +4 -4
- package/dist/chunks/{permission-t48jrnqq.js → agent-t48jrnqq.js} +1 -1
- package/dist/chunks/{permission-r7zrbnjn.js → agent-t62dywgn.js} +4 -4
- package/dist/chunks/{permission-26wfx3k0.js → agent-tb2mrvc9.js} +4 -4
- package/dist/chunks/{permission-tbpn7jtk.js → agent-tbpn7jtk.js} +1 -1
- package/dist/chunks/{permission-tczq8hjw.js → agent-tczq8hjw.js} +1 -1
- package/dist/chunks/{permission-9qgdkf28.js → agent-td0gj47q.js} +49 -49
- package/dist/chunks/{permission-160yv0cs.js → agent-tg1vr1qt.js} +8 -8
- package/dist/chunks/{permission-72scsbqa.js → agent-tgk8trf3.js} +50 -50
- package/dist/chunks/{permission-c2fzb83d.js → agent-tnk2mvrg.js} +15 -15
- package/dist/chunks/{permission-j376ae4e.js → agent-tr8x705m.js} +5 -5
- package/dist/chunks/{permission-kten498d.js → agent-ts58nkq1.js} +29 -29
- package/dist/chunks/{permission-w7shbsr8.js → agent-ts9w7b04.js} +5 -5
- package/dist/chunks/{permission-xdb1ae9c.js → agent-tsj33jr1.js} +35 -35
- package/dist/chunks/{permission-tvtps2q9.js → agent-tvtps2q9.js} +1 -1
- package/dist/chunks/{permission-twssxy5n.js → agent-twssxy5n.js} +2 -2
- package/dist/chunks/{permission-9q8g9sv8.js → agent-v0t96s7a.js} +4 -4
- package/dist/chunks/{permission-v2r1d0zg.js → agent-v2r1d0zg.js} +1 -1
- package/dist/chunks/{permission-3vahy3b1.js → agent-v4wwqybb.js} +4 -4
- package/dist/chunks/{permission-2qqhw0zr.js → agent-v5mgyt8c.js} +8 -8
- package/dist/chunks/{permission-4qf8t990.js → agent-v86kjx5c.js} +9 -9
- package/dist/chunks/{permission-7cx36hm4.js → agent-vbkwga0e.js} +5 -5
- package/dist/chunks/{permission-f38bv1hk.js → agent-vc53vb0y.js} +11 -11
- package/dist/chunks/{permission-54bgyfzs.js → agent-vc9f7ebj.js} +90 -90
- package/dist/chunks/{permission-nr56wj1w.js → agent-vh3qajfg.js} +34 -34
- package/dist/chunks/{permission-vjf35v1f.js → agent-vjf35v1f.js} +1 -1
- package/dist/chunks/{permission-teav1bzy.js → agent-vq0qa3sh.js} +9 -9
- package/dist/chunks/{permission-84j68s61.js → agent-vwhy63a2.js} +16 -16
- package/dist/chunks/{permission-2chzskwd.js → agent-w2z9mm8j.js} +4 -4
- package/dist/chunks/{permission-k7x1yaj5.js → agent-w3jbcn9f.js} +15 -15
- package/dist/chunks/{permission-w3wsvvr9.js → agent-w3wsvvr9.js} +1 -1
- package/dist/chunks/{permission-n8231hxk.js → agent-wa4w9bvn.js} +6 -6
- package/dist/chunks/{permission-wakvkjy4.js → agent-wakvkjy4.js} +1 -1
- package/dist/chunks/{permission-wd87259q.js → agent-wd87259q.js} +1 -1
- package/dist/chunks/{permission-wegkxhrn.js → agent-wegkxhrn.js} +2 -2
- package/dist/chunks/{permission-9fs9hfkk.js → agent-wg8qvsq7.js} +45 -45
- package/dist/chunks/{permission-k1323acr.js → agent-wrpxk6mc.js} +12 -12
- package/dist/chunks/{permission-at28g7bn.js → agent-wsvsnvv1.js} +27 -27
- package/dist/chunks/{permission-rh53ccgq.js → agent-wsy9bbs6.js} +15 -15
- package/dist/chunks/{permission-79k544d0.js → agent-wvr8xscb.js} +7 -7
- package/dist/chunks/{permission-qak84xag.js → agent-wvtmn79c.js} +9 -9
- package/dist/chunks/{permission-bn0fwy97.js → agent-wyh1zxn8.js} +43 -43
- package/dist/chunks/{permission-23y8vqpw.js → agent-x0thc2ej.js} +26 -26
- package/dist/chunks/{permission-2kqa0qe6.js → agent-x79hntmv.js} +1 -1
- package/dist/chunks/{permission-75bv99d3.js → agent-xfj4wc10.js} +4 -4
- package/dist/chunks/{permission-xjr6c8m4.js → agent-xjr6c8m4.js} +1 -1
- package/dist/chunks/{permission-bt0f909j.js → agent-xkm85qpg.js} +6 -6
- package/dist/chunks/{permission-7y90txc4.js → agent-xmrb8t3m.js} +12 -12
- package/dist/chunks/{permission-t5becr9x.js → agent-xpbt5r8q.js} +23 -23
- package/dist/chunks/{permission-p1f53z17.js → agent-y2cw704x.js} +12 -12
- package/dist/chunks/{permission-7zvrs411.js → agent-y853tm2x.js} +37 -37
- package/dist/chunks/{permission-yb20nhc3.js → agent-yb20nhc3.js} +1 -1
- package/dist/chunks/{permission-v3w15vqz.js → agent-ybpwwy0n.js} +79 -79
- package/dist/chunks/{permission-a81h6kfa.js → agent-ydv8kc8h.js} +8 -8
- package/dist/chunks/{permission-x52y1fgs.js → agent-yec5mb3m.js} +32 -32
- package/dist/chunks/{permission-3cd4gp9d.js → agent-yf686wy0.js} +15 -15
- package/dist/chunks/{permission-bcbv6xw2.js → agent-ykstx2xe.js} +10 -10
- package/dist/chunks/{permission-yr705xyq.js → agent-yr705xyq.js} +1 -1
- package/dist/chunks/{permission-ff7978fc.js → agent-yrhdks23.js} +50 -50
- package/dist/chunks/{permission-148nbq0k.js → agent-ysn7hxne.js} +20 -20
- package/dist/chunks/{permission-yvtc2x31.js → agent-yvtc2x31.js} +1 -1
- package/dist/chunks/{permission-423db7z6.js → agent-yzzwwk98.js} +12 -12
- package/dist/chunks/{permission-rn385x56.js → agent-z8gssff5.js} +23 -23
- package/dist/chunks/{permission-84bryrc8.js → agent-z92h4cq5.js} +21 -21
- package/dist/chunks/{permission-ntmkxjyh.js → agent-znbeg29p.js} +15 -15
- package/dist/chunks/{permission-by8ty0bx.js → agent-zpdbqgja.js} +4 -4
- package/dist/chunks/{permission-yewnt240.js → agent-ztnv97d0.js} +29 -29
- package/dist/chunks/{permission-kp6y9pzf.js → agent-zx818e5g.js} +6 -6
- package/dist/chunks/{permission-3ywwqvfk.js → agent-zxv0z7ct.js} +19 -19
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +1 -1
- package/dist/codemode/fetch.js +148 -148
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +155 -155
- package/dist/command.js +90 -90
- package/dist/config/discovery.js +97 -97
- 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 +131 -131
- package/dist/config/plugin/command.js +238 -238
- package/dist/config/plugin/compaction.js +173 -173
- package/dist/config/plugin/compatibility.js +151 -151
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +129 -129
- 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 +149 -149
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +154 -154
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +134 -134
- 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 +131 -131
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +77 -77
- 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/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 +76 -76
- 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/v1-migration.bun.js +105 -105
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +440 -440
- 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 +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +109 -109
- 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 +85 -85
- package/dist/file-access.js +160 -160
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +164 -164
- 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 +253 -253
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +113 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +118 -118
- package/dist/flag.js +127 -127
- package/dist/form.js +91 -91
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +100 -100
- package/dist/generate.js +122 -122
- 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 +104 -104
- 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 +2 -2
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +431 -431
- package/dist/instruction-discovery.js +91 -91
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +100 -100
- package/dist/job/list.js +5 -5
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +185 -185
- package/dist/location-lifecycle.js +153 -153
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +428 -428
- package/dist/location.js +102 -102
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +158 -158
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/index.js +126 -126
- package/dist/mcp/instructions.js +187 -187
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/pool.js +112 -112
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +157 -157
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +104 -104
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +115 -115
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +115 -115
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +91 -91
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +158 -158
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +99 -99
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +85 -85
- package/dist/plugin/command.js +117 -117
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +244 -244
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +409 -409
- 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 +4 -4
- package/dist/plugin/plan.js +149 -149
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +106 -106
- package/dist/plugin/provider/azure.js +133 -133
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +133 -133
- package/dist/plugin/provider/claude-agent/aisdk.js +115 -115
- 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 +3 -3
- 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 +7 -7
- package/dist/plugin/provider/claude-agent/index.js +146 -146
- package/dist/plugin/provider/claude-agent/instructions.js +114 -114
- package/dist/plugin/provider/claude-agent/integration.js +115 -115
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- 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 +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +108 -108
- 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 +3 -3
- package/dist/plugin/provider/claude-agent/tools/pending.js +1 -1
- 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 +130 -130
- package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +109 -109
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +111 -111
- package/dist/plugin/provider/gitlab.js +109 -109
- 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 +138 -138
- package/dist/plugin/provider/local.js +137 -137
- package/dist/plugin/provider/modal.js +108 -108
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +140 -140
- package/dist/plugin/provider/openai-context-caps.js +106 -106
- package/dist/plugin/provider/openai.js +135 -135
- package/dist/plugin/provider/opencode.js +159 -159
- 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 +131 -131
- package/dist/plugin/provider/vllm.js +140 -140
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +237 -237
- package/dist/plugin/sdk.js +89 -89
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +152 -152
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +419 -419
- 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 +130 -130
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +7 -7
- package/dist/plugin/websearch/provider.js +1 -1
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +249 -249
- 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 +112 -112
- 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 +101 -101
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +109 -109
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +249 -249
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +255 -255
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +3 -3
- package/dist/session/blob.js +132 -132
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +171 -171
- package/dist/session/context.js +205 -205
- 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 +250 -250
- package/dist/session/execution.js +167 -167
- package/dist/session/generate.js +206 -206
- package/dist/session/history.js +139 -139
- package/dist/session/inbox.js +152 -152
- 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 +146 -146
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +171 -171
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +171 -171
- package/dist/session/projector.js +146 -146
- package/dist/session/prompt.js +151 -151
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +142 -142
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +258 -258
- 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 +153 -153
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +166 -166
- package/dist/session/runner/to-llm-message.js +140 -140
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +186 -186
- package/dist/session/shell.js +145 -145
- package/dist/session/skill.js +150 -150
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +145 -145
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +237 -237
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +209 -209
- package/dist/session/to-session-error.js +152 -152
- package/dist/session/transfer.js +248 -248
- package/dist/session/usage.js +1 -1
- package/dist/session.js +241 -241
- 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 +11 -11
- package/dist/shell.js +147 -147
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +154 -154
- package/dist/skill.js +155 -155
- package/dist/snapshot.js +100 -100
- 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 +186 -186
- package/dist/tool/plugin/artifact.js +236 -236
- package/dist/tool/plugin/edit.js +170 -170
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +174 -174
- package/dist/tool/plugin/grep.js +173 -173
- package/dist/tool/plugin/image-generate.js +247 -247
- package/dist/tool/plugin/mcp-resource.js +169 -169
- package/dist/tool/plugin/opencode.js +166 -166
- package/dist/tool/plugin/patch.js +171 -171
- package/dist/tool/plugin/question.js +149 -149
- package/dist/tool/plugin/read.js +169 -169
- package/dist/tool/plugin/schedule.js +255 -255
- package/dist/tool/plugin/shell.js +241 -241
- package/dist/tool/plugin/skill.js +158 -158
- package/dist/tool/plugin/subagent.js +244 -244
- package/dist/tool/plugin/todo.js +156 -156
- package/dist/tool/plugin/webfetch.js +154 -154
- package/dist/tool/plugin/websearch.js +154 -154
- package/dist/tool/plugin/write.js +171 -171
- package/dist/tool/read-filesystem.js +114 -114
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +159 -159
- package/dist/usage-limits.js +96 -96
- 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 +105 -105
- 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 +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +101 -101
- package/dist/websearch.js +89 -89
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +90 -90
- package/dist/workspace/driver.js +5 -5
- 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 +105 -105
- package/package.json +9 -9
- package/dist/chunks/permission-b5mcw2yd.js +0 -26
- package/dist/chunks/permission-d5pfvdf3.js +0 -265
- package/dist/chunks/permission-qmh7vbk2.js +0 -18
- /package/dist/chunks/{permission-0qkdqm5v.js → agent-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{permission-0zkw76rk.js → agent-0zkw76rk.js} +0 -0
- /package/dist/chunks/{permission-108x4f4w.js → agent-108x4f4w.js} +0 -0
- /package/dist/chunks/{permission-17cy0kzp.js → agent-17cy0kzp.js} +0 -0
- /package/dist/chunks/{permission-1cnp2v09.js → agent-1cnp2v09.js} +0 -0
- /package/dist/chunks/{permission-1kah00gy.js → agent-1kah00gy.js} +0 -0
- /package/dist/chunks/{permission-24dcb14g.js → agent-24dcb14g.js} +0 -0
- /package/dist/chunks/{permission-2710q6r3.js → agent-2710q6r3.js} +0 -0
- /package/dist/chunks/{permission-2bv980vf.js → agent-2bv980vf.js} +0 -0
- /package/dist/chunks/{permission-2c3vjs8z.js → agent-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{permission-359p4xyc.js → agent-359p4xyc.js} +0 -0
- /package/dist/chunks/{permission-3af0jn4w.js → agent-3af0jn4w.js} +0 -0
- /package/dist/chunks/{permission-3asan66x.js → agent-3asan66x.js} +0 -0
- /package/dist/chunks/{permission-3v8g72cx.js → agent-3v8g72cx.js} +0 -0
- /package/dist/chunks/{permission-3wcehsnq.js → agent-3wcehsnq.js} +0 -0
- /package/dist/chunks/{permission-43n2bw4t.js → agent-43n2bw4t.js} +0 -0
- /package/dist/chunks/{permission-4knz6hnm.js → agent-4knz6hnm.js} +0 -0
- /package/dist/chunks/{permission-4qk9sjk2.js → agent-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{permission-4y7fprxs.js → agent-4y7fprxs.js} +0 -0
- /package/dist/chunks/{permission-53557ph1.js → agent-53557ph1.js} +0 -0
- /package/dist/chunks/{permission-550bvhaj.js → agent-550bvhaj.js} +0 -0
- /package/dist/chunks/{permission-5w3e23ze.js → agent-5w3e23ze.js} +0 -0
- /package/dist/chunks/{permission-6agm2x70.js → agent-6agm2x70.js} +0 -0
- /package/dist/chunks/{permission-6prwharc.js → agent-6prwharc.js} +0 -0
- /package/dist/chunks/{permission-6q2bdcd1.js → agent-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{permission-7akdwqpd.js → agent-7akdwqpd.js} +0 -0
- /package/dist/chunks/{permission-7m9af43g.js → agent-7m9af43g.js} +0 -0
- /package/dist/chunks/{permission-822emrt2.js → agent-822emrt2.js} +0 -0
- /package/dist/chunks/{permission-84wd9syh.js → agent-84wd9syh.js} +0 -0
- /package/dist/chunks/{permission-88xbtdfr.js → agent-88xbtdfr.js} +0 -0
- /package/dist/chunks/{permission-8n3pysct.js → agent-8n3pysct.js} +0 -0
- /package/dist/chunks/{permission-8wj87zfr.js → agent-8wj87zfr.js} +0 -0
- /package/dist/chunks/{permission-9a4afbnw.js → agent-9a4afbnw.js} +0 -0
- /package/dist/chunks/{permission-9rqn6x4v.js → agent-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{permission-af5trqkr.js → agent-af5trqkr.js} +0 -0
- /package/dist/chunks/{permission-afrmfg78.js → agent-afrmfg78.js} +0 -0
- /package/dist/chunks/{permission-aqzs7mqg.js → agent-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{permission-atq7p7m5.js → agent-atq7p7m5.js} +0 -0
- /package/dist/chunks/{permission-beh6qq61.js → agent-beh6qq61.js} +0 -0
- /package/dist/chunks/{permission-bhmrqjy3.js → agent-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{permission-bkyjaxrp.js → agent-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{permission-bmr6ed5q.js → agent-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{permission-cf4snx6d.js → agent-cf4snx6d.js} +0 -0
- /package/dist/chunks/{permission-cqv5kn06.js → agent-cqv5kn06.js} +0 -0
- /package/dist/chunks/{permission-cvy3z8tj.js → agent-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{permission-d9fn303g.js → agent-d9fn303g.js} +0 -0
- /package/dist/chunks/{permission-d9jj8t3e.js → agent-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{permission-dap0rakb.js → agent-dap0rakb.js} +0 -0
- /package/dist/chunks/{permission-df08tz66.js → agent-df08tz66.js} +0 -0
- /package/dist/chunks/{permission-dy18nga0.js → agent-dy18nga0.js} +0 -0
- /package/dist/chunks/{permission-e5kj55wp.js → agent-e5kj55wp.js} +0 -0
- /package/dist/chunks/{permission-ean2d8b5.js → agent-ean2d8b5.js} +0 -0
- /package/dist/chunks/{permission-ec1grn59.js → agent-ec1grn59.js} +0 -0
- /package/dist/chunks/{permission-emrn6kk6.js → agent-emrn6kk6.js} +0 -0
- /package/dist/chunks/{permission-f0mxakyp.js → agent-f0mxakyp.js} +0 -0
- /package/dist/chunks/{permission-f6n9ztr4.js → agent-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{permission-faypxj3z.js → agent-faypxj3z.js} +0 -0
- /package/dist/chunks/{permission-fd410y7t.js → agent-fd410y7t.js} +0 -0
- /package/dist/chunks/{permission-fkpq3x5p.js → agent-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{permission-g4wezp1m.js → agent-g4wezp1m.js} +0 -0
- /package/dist/chunks/{permission-g86h250q.js → agent-g86h250q.js} +0 -0
- /package/dist/chunks/{permission-gebd4c9n.js → agent-gebd4c9n.js} +0 -0
- /package/dist/chunks/{permission-gftt206x.js → agent-gftt206x.js} +0 -0
- /package/dist/chunks/{permission-hcxmzztb.js → agent-hcxmzztb.js} +0 -0
- /package/dist/chunks/{permission-hk9envan.js → agent-hk9envan.js} +0 -0
- /package/dist/chunks/{permission-j2ntwpah.js → agent-j2ntwpah.js} +0 -0
- /package/dist/chunks/{permission-j5zkgpj8.js → agent-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{permission-jjkms2e6.js → agent-jjkms2e6.js} +0 -0
- /package/dist/chunks/{permission-jr7sbwjy.js → agent-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{permission-jwfs4k6c.js → agent-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{permission-jwr30sdr.js → agent-jwr30sdr.js} +0 -0
- /package/dist/chunks/{permission-jzg6c2d5.js → agent-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{permission-m18g726c.js → agent-m18g726c.js} +0 -0
- /package/dist/chunks/{permission-mp448xyj.js → agent-mp448xyj.js} +0 -0
- /package/dist/chunks/{permission-msx8hqn2.js → agent-msx8hqn2.js} +0 -0
- /package/dist/chunks/{permission-n05xt0ee.js → agent-n05xt0ee.js} +0 -0
- /package/dist/chunks/{permission-n3j8tn72.js → agent-n3j8tn72.js} +0 -0
- /package/dist/chunks/{permission-nh4v3znn.js → agent-nh4v3znn.js} +0 -0
- /package/dist/chunks/{permission-njntx4h6.js → agent-njntx4h6.js} +0 -0
- /package/dist/chunks/{permission-p71gwv9c.js → agent-p71gwv9c.js} +0 -0
- /package/dist/chunks/{permission-q3sfg36h.js → agent-q3sfg36h.js} +0 -0
- /package/dist/chunks/{permission-q74kybfr.js → agent-q74kybfr.js} +0 -0
- /package/dist/chunks/{permission-qb87gjwd.js → agent-qb87gjwd.js} +0 -0
- /package/dist/chunks/{permission-qfa1cgps.js → agent-qfa1cgps.js} +0 -0
- /package/dist/chunks/{permission-qg3g05ea.js → agent-qg3g05ea.js} +0 -0
- /package/dist/chunks/{permission-qrg20bc0.js → agent-qrg20bc0.js} +0 -0
- /package/dist/chunks/{permission-rcb2kzg1.js → agent-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{permission-sdp7kfr6.js → agent-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{permission-ssg3fenm.js → agent-ssg3fenm.js} +0 -0
- /package/dist/chunks/{permission-syrav9an.js → agent-syrav9an.js} +0 -0
- /package/dist/chunks/{permission-t03h4f5z.js → agent-t03h4f5z.js} +0 -0
- /package/dist/chunks/{permission-ty7weeps.js → agent-ty7weeps.js} +0 -0
- /package/dist/chunks/{permission-ve7vex1e.js → agent-ve7vex1e.js} +0 -0
- /package/dist/chunks/{permission-vtarvj67.js → agent-vtarvj67.js} +0 -0
- /package/dist/chunks/{permission-w803qqfp.js → agent-w803qqfp.js} +0 -0
- /package/dist/chunks/{permission-wc3fc9cn.js → agent-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{permission-wer8tq1h.js → agent-wer8tq1h.js} +0 -0
- /package/dist/chunks/{permission-wtztk69x.js → agent-wtztk69x.js} +0 -0
- /package/dist/chunks/{permission-x0ckcb58.js → agent-x0ckcb58.js} +0 -0
- /package/dist/chunks/{permission-x4th4bpe.js → agent-x4th4bpe.js} +0 -0
- /package/dist/chunks/{permission-x61499pn.js → agent-x61499pn.js} +0 -0
- /package/dist/chunks/{permission-y44na4kk.js → agent-y44na4kk.js} +0 -0
- /package/dist/chunks/{permission-y8f7s663.js → agent-y8f7s663.js} +0 -0
- /package/dist/chunks/{permission-ygaqb7jw.js → agent-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{permission-z0h12gs8.js → agent-z0h12gs8.js} +0 -0
- /package/dist/chunks/{permission-z5v4ffb3.js → agent-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{permission-z9919s4g.js → agent-z9919s4g.js} +0 -0
- /package/dist/chunks/{permission-zxpyjp51.js → agent-zxpyjp51.js} +0 -0
- /package/dist/chunks/{permission-zz5vv3aq.js → agent-zz5vv3aq.js} +0 -0
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service91,
|
|
3
|
+
node94
|
|
4
|
+
} from "./agent-rtafshd2.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service87,
|
|
7
|
+
node90
|
|
8
|
+
} from "./agent-jqaj356s.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service89,
|
|
11
|
+
node92
|
|
12
|
+
} from "./agent-tgk8trf3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
14
|
+
Ref4,
|
|
15
|
+
Service85,
|
|
16
|
+
node88
|
|
17
|
+
} from "./agent-dp05pbnt.js";
|
|
18
18
|
import {
|
|
19
19
|
canonical3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./agent-1p69b0p2.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionEvent2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./agent-ec1grn59.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service74,
|
|
26
|
+
node76
|
|
27
|
+
} from "./agent-yrhdks23.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service69,
|
|
30
|
+
node70
|
|
31
|
+
} from "./agent-nvcgcg81.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./agent-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/location-lifecycle.ts
|
|
37
37
|
var exports_location_lifecycle = {};
|
|
38
38
|
__export(exports_location_lifecycle, {
|
|
39
39
|
LocationLifecycle: () => exports_location_lifecycle,
|
|
40
|
-
Service: () =>
|
|
41
|
-
node: () =>
|
|
40
|
+
Service: () => Service19,
|
|
41
|
+
node: () => node21
|
|
42
42
|
});
|
|
43
43
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
44
44
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -46,17 +46,17 @@ import { LocationEvent } from "@opencode/schema/location-event";
|
|
|
46
46
|
var isSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
47
47
|
var durableSessionEventTypes = new Set(SessionEvent2.DurableDefinitions.map((definition) => definition.type));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service19 extends Context.Service()("@opencode/LocationLifecycle") {
|
|
50
50
|
}
|
|
51
|
-
var layer = Layer.effect(
|
|
52
|
-
const bus = yield*
|
|
53
|
-
const location = yield*
|
|
54
|
-
const permission = yield*
|
|
55
|
-
const forms = yield*
|
|
56
|
-
const rpc = yield*
|
|
57
|
-
const project = yield*
|
|
51
|
+
var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
52
|
+
const bus = yield* Service91;
|
|
53
|
+
const location = yield* Service85;
|
|
54
|
+
const permission = yield* Service74;
|
|
55
|
+
const forms = yield* Service87;
|
|
56
|
+
const rpc = yield* Service69;
|
|
57
|
+
const project = yield* Service89;
|
|
58
58
|
const scope = yield* Effect.scope;
|
|
59
|
-
const self = canonical3(
|
|
59
|
+
const self = canonical3(Ref4.make({ directory: location.directory, workspaceID: location.workspaceID }));
|
|
60
60
|
yield* project.activate(location.project.id);
|
|
61
61
|
const unsubscribe = yield* bus.listen((event) => {
|
|
62
62
|
if (!event.location || !durableSessionEventTypes.has(event.type))
|
|
@@ -81,11 +81,11 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
81
81
|
yield* forms.close;
|
|
82
82
|
yield* rpc.close;
|
|
83
83
|
yield* bus.publish(LocationEvent.Shutdown, {}, {
|
|
84
|
-
location:
|
|
84
|
+
location: Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
|
|
85
85
|
});
|
|
86
86
|
}).pipe(Effect.ensuring(Deferred.succeed(done, undefined)));
|
|
87
87
|
}).pipe(Effect.uninterruptible);
|
|
88
|
-
return
|
|
88
|
+
return Service19.of({
|
|
89
89
|
isClosed: () => closed,
|
|
90
90
|
shutdown,
|
|
91
91
|
awaitShutdown: Deferred.await(done),
|
|
@@ -97,10 +97,10 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
97
97
|
isRetained: () => retained > 0
|
|
98
98
|
});
|
|
99
99
|
}));
|
|
100
|
-
var
|
|
101
|
-
service:
|
|
100
|
+
var node21 = makeLocationNode({
|
|
101
|
+
service: Service19,
|
|
102
102
|
layer,
|
|
103
|
-
deps: [
|
|
103
|
+
deps: [node94, node88, node76, node92, node90, node70]
|
|
104
104
|
});
|
|
105
105
|
|
|
106
|
-
export {
|
|
106
|
+
export { Service19, node21, exports_location_lifecycle };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID18,
|
|
3
|
+
Service86
|
|
4
|
+
} from "./agent-j831fg6g.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/provider/llmgateway.ts
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
9
9
|
var LLMGatewayPlugin2 = define({
|
|
10
10
|
id: "opencode.provider.llmgateway",
|
|
11
11
|
effect: Effect.fn(function* (ctx) {
|
|
12
|
-
const integrations = yield*
|
|
12
|
+
const integrations = yield* Service86;
|
|
13
13
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
14
14
|
yield* ctx.provider.transform((evt) => {
|
|
15
15
|
for (const item of evt.list()) {
|
|
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
19
19
|
continue;
|
|
20
20
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
21
21
|
continue;
|
|
22
|
-
if (!configured.has(
|
|
22
|
+
if (!configured.has(ID18.make(item.provider.id)))
|
|
23
23
|
continue;
|
|
24
24
|
evt.update(item.provider.id, (provider) => {
|
|
25
25
|
provider.headers = {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RecoverySchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-me215f18.js";
|
|
4
4
|
import {
|
|
5
5
|
JobTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-kzczzf4v.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./agent-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/job/list.ts
|
|
12
12
|
var exports_list = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service47
|
|
3
|
+
} from "./agent-c1snbmvy.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service64
|
|
6
|
+
} from "./agent-h2afx71g.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./agent-00ve6mdn.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./agent-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/session/command.ts
|
|
15
15
|
var exports_command3 = {};
|
|
@@ -19,10 +19,10 @@ __export(exports_command3, {
|
|
|
19
19
|
});
|
|
20
20
|
import { Effect } from "effect";
|
|
21
21
|
var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
|
|
22
|
-
const instances = yield*
|
|
22
|
+
const instances = yield* Service64;
|
|
23
23
|
yield* Effect.gen(function* () {
|
|
24
24
|
yield* awaitActivation2;
|
|
25
|
-
const commands = yield*
|
|
25
|
+
const commands = yield* Service47;
|
|
26
26
|
yield* commands.execute({
|
|
27
27
|
name: input.command,
|
|
28
28
|
invocation: {
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-d0ct107g.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID20,
|
|
6
|
+
Service88
|
|
7
|
+
} from "./agent-jhxyynhp.js";
|
|
8
8
|
import {
|
|
9
9
|
key3
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./agent-kq4fnwb1.js";
|
|
11
11
|
import {
|
|
12
12
|
MethodID2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./agent-j831fg6g.js";
|
|
14
14
|
import {
|
|
15
15
|
which2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./agent-x4th4bpe.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
ID17,
|
|
19
|
+
Service84
|
|
20
|
+
} from "./agent-r5r5vreg.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID16
|
|
23
|
+
} from "./agent-y853tm2x.js";
|
|
24
24
|
import {
|
|
25
25
|
interval2,
|
|
26
|
-
|
|
26
|
+
Service51,
|
|
27
27
|
fingerprint2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./agent-nstbetgn.js";
|
|
29
29
|
import {
|
|
30
30
|
configuredSettings2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./agent-gtaq5q8g.js";
|
|
32
32
|
import {
|
|
33
33
|
onSwitch2,
|
|
34
34
|
switched2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./agent-kwa16xgp.js";
|
|
36
36
|
import {
|
|
37
37
|
activeCredential2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./agent-qhskymbr.js";
|
|
39
39
|
|
|
40
40
|
// src/plugin/provider/azure.ts
|
|
41
41
|
import { Clock, Effect, Equal, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -70,18 +70,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
|
|
|
70
70
|
}));
|
|
71
71
|
var ResourceQuery = Schema.Struct({ query: Schema.String });
|
|
72
72
|
var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
|
|
73
|
-
function
|
|
73
|
+
function make17(endpoints = {
|
|
74
74
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
75
75
|
management: "https://management.azure.com"
|
|
76
76
|
}) {
|
|
77
77
|
return define({
|
|
78
78
|
id: "opencode.provider.azure",
|
|
79
79
|
effect: Effect.fn(function* (ctx) {
|
|
80
|
-
const configured = yield* configuredSettings2(
|
|
80
|
+
const configured = yield* configuredSettings2(ID17.azure);
|
|
81
81
|
const processes = yield* AppProcess.Service;
|
|
82
|
-
const credentials = yield*
|
|
83
|
-
const providers = yield*
|
|
84
|
-
const cache = yield*
|
|
82
|
+
const credentials = yield* Service88;
|
|
83
|
+
const providers = yield* Service84;
|
|
84
|
+
const cache = yield* Service51;
|
|
85
85
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
86
86
|
const tokens = new Map;
|
|
87
87
|
const resourceIDs = new Map;
|
|
@@ -107,11 +107,11 @@ function make15(endpoints = {
|
|
|
107
107
|
const configuredResource = Boolean(resolveResourceName(configured) || typeof configured?.baseURL === "string");
|
|
108
108
|
yield* ctx.integration.transform((editor) => {
|
|
109
109
|
editor.method.update({
|
|
110
|
-
integrationID:
|
|
110
|
+
integrationID: ID17.azure,
|
|
111
111
|
method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
|
|
112
112
|
});
|
|
113
113
|
editor.method.update({
|
|
114
|
-
integrationID:
|
|
114
|
+
integrationID: ID17.azure,
|
|
115
115
|
method: {
|
|
116
116
|
type: "key",
|
|
117
117
|
label: "API key",
|
|
@@ -129,7 +129,7 @@ function make15(endpoints = {
|
|
|
129
129
|
if (!available)
|
|
130
130
|
return;
|
|
131
131
|
editor.method.update({
|
|
132
|
-
integrationID:
|
|
132
|
+
integrationID: ID17.azure,
|
|
133
133
|
method: {
|
|
134
134
|
id: methodID,
|
|
135
135
|
type: "external",
|
|
@@ -149,8 +149,8 @@ function make15(endpoints = {
|
|
|
149
149
|
});
|
|
150
150
|
});
|
|
151
151
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
152
|
-
const connection = yield* ctx.integration.connection.active(
|
|
153
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
152
|
+
const connection = yield* ctx.integration.connection.active(ID17.azure);
|
|
153
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID20.make(connection.id)) : undefined;
|
|
154
154
|
return { connection, resource: credentialResource(stored?.value) };
|
|
155
155
|
});
|
|
156
156
|
const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
|
|
@@ -189,7 +189,7 @@ function make15(endpoints = {
|
|
|
189
189
|
}));
|
|
190
190
|
const discover = Effect.fn("AzurePlugin.discover")(function* (options) {
|
|
191
191
|
const connection = loaded.connection;
|
|
192
|
-
const settings = (yield* providers.get(
|
|
192
|
+
const settings = (yield* providers.get(ID17.azure))?.settings;
|
|
193
193
|
const name = loaded.resource ?? resolveResourceName(settings);
|
|
194
194
|
const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
|
|
195
195
|
if (loaded.connection !== connection)
|
|
@@ -219,11 +219,11 @@ function make15(endpoints = {
|
|
|
219
219
|
});
|
|
220
220
|
const apply = (next) => next ? loading.withPermit(publish(next.connection, next.found)).pipe(Effect.uninterruptible) : Effect.void;
|
|
221
221
|
const publish = Effect.fn("AzurePlugin.publish")(function* (connection, found) {
|
|
222
|
-
if (loaded.connection !== connection || key3(connection) !== key3(yield* ctx.integration.connection.active(
|
|
222
|
+
if (loaded.connection !== connection || key3(connection) !== key3(yield* ctx.integration.connection.active(ID17.azure)))
|
|
223
223
|
return;
|
|
224
224
|
if (Equal.equals(found, loaded.deployments))
|
|
225
225
|
return;
|
|
226
|
-
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(
|
|
226
|
+
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID17.azure)?.models.keys() ?? [], (id) => [
|
|
227
227
|
id.toLowerCase(),
|
|
228
228
|
id
|
|
229
229
|
]));
|
|
@@ -236,7 +236,7 @@ function make15(endpoints = {
|
|
|
236
236
|
yield* ctx.model.reload();
|
|
237
237
|
});
|
|
238
238
|
const refresh = discover({}).pipe(Effect.flatMap(apply));
|
|
239
|
-
const resourceFor = (provider) => provider.id ===
|
|
239
|
+
const resourceFor = (provider) => provider.id === ID17.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
|
|
240
240
|
Object.assign(loaded, yield* load());
|
|
241
241
|
yield* ctx.provider.transform((evt) => {
|
|
242
242
|
for (const item of evt.list()) {
|
|
@@ -255,7 +255,7 @@ function make15(endpoints = {
|
|
|
255
255
|
};
|
|
256
256
|
});
|
|
257
257
|
}
|
|
258
|
-
const item = evt.get(
|
|
258
|
+
const item = evt.get(ID17.azure);
|
|
259
259
|
if (!item)
|
|
260
260
|
return;
|
|
261
261
|
evt.add({
|
|
@@ -285,21 +285,21 @@ function make15(endpoints = {
|
|
|
285
285
|
}
|
|
286
286
|
if (!loaded.deployments)
|
|
287
287
|
return;
|
|
288
|
-
const catalog = models.list(
|
|
288
|
+
const catalog = models.list(ID17.azure);
|
|
289
289
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
290
290
|
for (const model of catalog) {
|
|
291
291
|
if (!deployed.has(model.id))
|
|
292
|
-
models.remove(
|
|
292
|
+
models.remove(ID17.azure, model.id);
|
|
293
293
|
}
|
|
294
294
|
for (const [id, model] of deployed) {
|
|
295
|
-
models.update(
|
|
295
|
+
models.update(ID17.azure, id, (draft) => Object.assign(draft, model));
|
|
296
296
|
}
|
|
297
297
|
});
|
|
298
298
|
yield* onSwitch2("azure", rebind().pipe(Effect.andThen(FiberHandle.run(discovery, switched2(discover, apply)))));
|
|
299
299
|
yield* rebind().pipe(Effect.andThen(FiberHandle.run(discovery, refresh)), Effect.forkScoped);
|
|
300
300
|
yield* Effect.sleep(interval2).pipe(Effect.andThen(FiberHandle.run(discovery, refresh, { onlyIfMissing: true })), Effect.forever, Effect.forkScoped);
|
|
301
301
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
302
|
-
const { credential } = yield* activeCredential2(ctx,
|
|
302
|
+
const { credential } = yield* activeCredential2(ctx, ID17.azure);
|
|
303
303
|
if (credential?.type !== "external" || credential.methodID !== methodID)
|
|
304
304
|
return;
|
|
305
305
|
const target = new URL(url);
|
|
@@ -315,7 +315,7 @@ function make15(endpoints = {
|
|
|
315
315
|
evt.request.headers.delete("x-api-key");
|
|
316
316
|
evt.request.headers.set("authorization", authorization);
|
|
317
317
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
318
|
-
}), { providerID:
|
|
318
|
+
}), { providerID: ID17.azure });
|
|
319
319
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
320
320
|
const authorization = yield* bearer(evt.url);
|
|
321
321
|
if (!authorization)
|
|
@@ -324,11 +324,11 @@ function make15(endpoints = {
|
|
|
324
324
|
delete evt.headers["x-api-key"];
|
|
325
325
|
evt.headers.authorization = authorization;
|
|
326
326
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
327
|
-
}), { providerID:
|
|
327
|
+
}), { providerID: ID17.azure });
|
|
328
328
|
})
|
|
329
329
|
});
|
|
330
330
|
}
|
|
331
|
-
var AzurePlugin2 =
|
|
331
|
+
var AzurePlugin2 = make17();
|
|
332
332
|
function deploymentsKey(connection, credential, url) {
|
|
333
333
|
const access = credential.type === "key" ? `:${fingerprint2(credential.key)}` : "";
|
|
334
334
|
return `azure:${key3(connection)}${access}:${url}`;
|
|
@@ -343,7 +343,7 @@ function expandResourceName(baseURL, resourceName) {
|
|
|
343
343
|
return baseURL.replaceAll("${AZURE_RESOURCE_NAME}", resourceName).replaceAll("${AZURE_COGNITIVE_SERVICES_RESOURCE_NAME}", resourceName);
|
|
344
344
|
}
|
|
345
345
|
function azureProvider(provider) {
|
|
346
|
-
return provider.id ===
|
|
346
|
+
return provider.id === ID17.azure || provider.package.startsWith("@opencode/ai/providers/azure/");
|
|
347
347
|
}
|
|
348
348
|
function usable(credential) {
|
|
349
349
|
return credential?.type === "key" || credential?.type === "external" && credential.methodID === methodID;
|
|
@@ -368,11 +368,11 @@ function deployedModels(deployments, catalog) {
|
|
|
368
368
|
const model = catalogModel(models, deployment);
|
|
369
369
|
if (!model)
|
|
370
370
|
return [];
|
|
371
|
-
const id =
|
|
371
|
+
const id = ID16.make(deployment.name.toLowerCase());
|
|
372
372
|
const info = {
|
|
373
373
|
...structuredClone(model),
|
|
374
374
|
id,
|
|
375
|
-
modelID:
|
|
375
|
+
modelID: ID16.make(deployment.name),
|
|
376
376
|
name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
|
|
377
377
|
};
|
|
378
378
|
return [[id, info]];
|
|
@@ -394,4 +394,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
394
394
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
395
395
|
}
|
|
396
396
|
|
|
397
|
-
export {
|
|
397
|
+
export { make17, AzurePlugin2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service92,
|
|
3
3
|
node95
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./agent-f004pghm.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./agent-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./agent-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service82,
|
|
17
|
+
node: () => node85
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service82 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service92).db;
|
|
26
|
-
return
|
|
26
|
+
return Service82.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node85 = makeGlobalNode({ service: Service82, layer, deps: [node95] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service82, node85, exports_kv };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-r5r5vreg.js";
|
|
4
4
|
import {
|
|
5
5
|
VariantID2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-y853tm2x.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./agent-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/variant.ts
|
|
12
12
|
var exports_variant = {};
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service91,
|
|
4
|
+
node94
|
|
5
|
+
} from "./agent-rtafshd2.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service82,
|
|
8
|
+
node85
|
|
9
|
+
} from "./agent-53rk79rp.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./agent-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event14,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service80,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node82,
|
|
26
26
|
resolve: () => resolve5
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service80 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event14 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var requestTimeout = "15 seconds";
|
|
@@ -79,10 +79,10 @@ var Sources = Schema.Array(Schema.String);
|
|
|
79
79
|
var manifestKey = (origin) => `wellknown:manifest:${origin}`;
|
|
80
80
|
var configKey = (origin) => `wellknown:config:${origin}`;
|
|
81
81
|
var Configs = Schema.Array(Config2);
|
|
82
|
-
var layer = Layer.effect(
|
|
82
|
+
var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
83
83
|
const http = yield* HttpClient.HttpClient;
|
|
84
|
-
const kv = yield*
|
|
85
|
-
const bus = yield*
|
|
84
|
+
const kv = yield* Service82;
|
|
85
|
+
const bus = yield* Service91;
|
|
86
86
|
const cache = yield* Ref.make(new Map);
|
|
87
87
|
const lock = Semaphore.makeUnsafe(1);
|
|
88
88
|
const loadEntry = Effect.fn("WellKnown.loadEntry")(function* (origin) {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
112
112
|
if (!changed)
|
|
113
113
|
return false;
|
|
114
114
|
yield* Ref.set(cache, next);
|
|
115
|
-
yield* bus.publish(
|
|
115
|
+
yield* bus.publish(Event14.Updated, {}, { global: true });
|
|
116
116
|
return true;
|
|
117
117
|
}, (effect) => lock.withPermit(effect));
|
|
118
|
-
return
|
|
118
|
+
return Service80.of({
|
|
119
119
|
entries: load,
|
|
120
120
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
121
121
|
refresh,
|
|
@@ -127,7 +127,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
127
127
|
const origins = yield* readOrigins;
|
|
128
128
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
129
129
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
130
|
-
yield* bus.publish(
|
|
130
|
+
yield* bus.publish(Event14.Updated, {}, { global: true });
|
|
131
131
|
return entry;
|
|
132
132
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
133
133
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -141,7 +141,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
141
141
|
next.delete(origin);
|
|
142
142
|
return next;
|
|
143
143
|
});
|
|
144
|
-
yield* bus.publish(
|
|
144
|
+
yield* bus.publish(Event14.Updated, {}, { global: true });
|
|
145
145
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
146
146
|
resolve: Effect.fn("WellKnown.resolveEntry")(function* (entry, variables) {
|
|
147
147
|
const configs = yield* resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http));
|
|
@@ -154,6 +154,6 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
154
154
|
})
|
|
155
155
|
});
|
|
156
156
|
}));
|
|
157
|
-
var
|
|
157
|
+
var node82 = makeGlobalNode({ service: Service80, layer, deps: [httpClient, node85, node94] });
|
|
158
158
|
|
|
159
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
159
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service80, Event14, inspect2, resolve5, node82, exports_wellknown };
|