@opencode/core 0.0.0-dev-821 → 0.0.0-dev-825
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 +9 -9
- package/dist/artifact.js +240 -240
- package/dist/bus.js +80 -80
- package/dist/chunks/{models-dev-034tev2y.js → repository-034tev2y.js} +2 -2
- package/dist/chunks/{models-dev-4yw3xa9p.js → repository-08xzxa8e.js} +1 -1
- package/dist/chunks/{models-dev-yqse4b3k.js → repository-0994vbbn.js} +28 -28
- package/dist/chunks/{models-dev-c6x7d2ts.js → repository-0ahs07zn.js} +4 -4
- package/dist/chunks/{models-dev-7k76scnr.js → repository-0bz9q8qd.js} +20 -20
- package/dist/chunks/{models-dev-0j7gp832.js → repository-0j7gp832.js} +1 -1
- package/dist/chunks/{models-dev-121k8z9s.js → repository-0jbwgxgf.js} +8 -8
- package/dist/chunks/{models-dev-0ma9gw4f.js → repository-0ma9gw4f.js} +2 -2
- package/dist/chunks/{models-dev-75hna5mc.js → repository-0ty4dky8.js} +5 -5
- package/dist/chunks/{models-dev-2f93wwe1.js → repository-10ahnnaz.js} +3 -3
- package/dist/chunks/{models-dev-97s6e4sx.js → repository-11kbg32g.js} +3 -3
- package/dist/chunks/{models-dev-1aqsckx4.js → repository-1aqsckx4.js} +1 -1
- package/dist/chunks/{models-dev-1ep2p91f.js → repository-1ep2p91f.js} +2 -2
- package/dist/chunks/{models-dev-9pqjywgk.js → repository-1g8et7f3.js} +15 -15
- package/dist/chunks/{models-dev-gcrqynzm.js → repository-1psp2qsj.js} +16 -16
- package/dist/chunks/{models-dev-1x2knyw4.js → repository-1x2knyw4.js} +1 -1
- package/dist/chunks/{models-dev-2hc2yyeh.js → repository-1zc261y1.js} +8 -8
- package/dist/chunks/{models-dev-rj7j5fvs.js → repository-229tvxdn.js} +4 -4
- package/dist/chunks/{models-dev-0h3ceryy.js → repository-27m2756j.js} +38 -38
- package/dist/chunks/{models-dev-z2f2m2hs.js → repository-2b5ete4v.js} +378 -378
- package/dist/chunks/{models-dev-d7bkt1ky.js → repository-2dd1gyky.js} +9 -9
- package/dist/chunks/{models-dev-2fc7eemy.js → repository-2fc7eemy.js} +1 -1
- package/dist/chunks/{models-dev-xz24aj5q.js → repository-2gszavhy.js} +14 -14
- package/dist/chunks/{models-dev-d92j0cx9.js → repository-2h7px8sz.js} +28 -28
- package/dist/chunks/{models-dev-7arcpjge.js → repository-2m82kwf8.js} +9 -9
- package/dist/chunks/{models-dev-2p60zmnr.js → repository-2p60zmnr.js} +2 -2
- package/dist/chunks/{models-dev-sv4xvz3w.js → repository-2qtxdwzg.js} +42 -42
- package/dist/chunks/{models-dev-a51ghqya.js → repository-2v04724g.js} +18 -18
- package/dist/chunks/{models-dev-3230743g.js → repository-2v4kkva7.js} +18 -18
- package/dist/chunks/{models-dev-94n07ttx.js → repository-2vj3mcb9.js} +4 -4
- package/dist/chunks/{models-dev-s3js2fgx.js → repository-2yh5f2q3.js} +17 -17
- package/dist/chunks/{models-dev-j5afyyw8.js → repository-346hvfgb.js} +85 -85
- package/dist/chunks/{models-dev-30v09tya.js → repository-36mbjf8k.js} +13 -13
- package/dist/chunks/{models-dev-mjrcsjpa.js → repository-3adw4bt5.js} +9 -9
- package/dist/chunks/{models-dev-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
- package/dist/chunks/{models-dev-3nnrz6f6.js → repository-3nnrz6f6.js} +1 -1
- package/dist/chunks/{models-dev-wc587bja.js → repository-3rykqk9c.js} +8 -8
- package/dist/chunks/{models-dev-73gbh3a5.js → repository-3ts1yv15.js} +14 -14
- package/dist/chunks/{models-dev-40y6dtc2.js → repository-40y6dtc2.js} +1 -1
- package/dist/chunks/{models-dev-e7r79vgc.js → repository-42jetmjj.js} +34 -34
- package/dist/chunks/{models-dev-c0nyawbk.js → repository-42z7z3wx.js} +173 -173
- package/dist/chunks/{models-dev-avc9s1kg.js → repository-43kg0q29.js} +7 -7
- package/dist/chunks/{models-dev-44pmzq9c.js → repository-44pmzq9c.js} +2 -2
- package/dist/chunks/{models-dev-st44jb4s.js → repository-454ezavw.js} +10 -10
- package/dist/chunks/{models-dev-gh0f4cz8.js → repository-4ccmkn1k.js} +4 -4
- package/dist/chunks/{models-dev-arnnvs39.js → repository-4dvckpb1.js} +22 -22
- package/dist/chunks/{models-dev-4dx1dgte.js → repository-4dx1dgte.js} +1 -1
- package/dist/chunks/{models-dev-qwaxtrf9.js → repository-4eyab45f.js} +16 -16
- package/dist/chunks/{models-dev-f0rf1837.js → repository-4hwm0yv8.js} +15 -15
- package/dist/chunks/{models-dev-q5a9eaqq.js → repository-4pfcg8b2.js} +17 -17
- package/dist/chunks/{models-dev-4pyp9zr9.js → repository-4pyp9zr9.js} +1 -1
- package/dist/chunks/{models-dev-4v008n1t.js → repository-4v008n1t.js} +1 -1
- package/dist/chunks/{models-dev-zkbhzvnx.js → repository-4wbbxyz1.js} +4 -4
- package/dist/chunks/{models-dev-r5v2vrmq.js → repository-57v9t8b1.js} +13 -13
- package/dist/chunks/{models-dev-q570z6vw.js → repository-58xa946s.js} +2 -2
- package/dist/chunks/{models-dev-nfhv1t94.js → repository-5g90fmrv.js} +1 -1
- package/dist/chunks/{models-dev-kqg59h3d.js → repository-5h5zemyv.js} +12 -12
- package/dist/chunks/{models-dev-721tb84k.js → repository-5k4n6v37.js} +3 -3
- package/dist/chunks/{models-dev-5m9w47nd.js → repository-5m9w47nd.js} +1 -1
- package/dist/chunks/{models-dev-bhfd478d.js → repository-5n0rnk8e.js} +4 -4
- package/dist/chunks/{models-dev-rpfg1qef.js → repository-5t0t932v.js} +23 -23
- package/dist/chunks/{models-dev-as1emax5.js → repository-5wb77t7x.js} +10 -10
- package/dist/chunks/{models-dev-y6c56h0k.js → repository-5ypa17q2.js} +3 -3
- package/dist/chunks/{models-dev-1yq9hg58.js → repository-5zrxpy3q.js} +5 -5
- package/dist/chunks/{models-dev-e3kjrnpq.js → repository-633ywpet.js} +18 -18
- package/dist/chunks/{models-dev-q8j283ev.js → repository-63qfzx3d.js} +8 -8
- package/dist/chunks/{models-dev-0ynq1agj.js → repository-64pz71zv.js} +15 -15
- package/dist/chunks/{models-dev-zyfhsknv.js → repository-68cs06h1.js} +9 -9
- package/dist/chunks/{models-dev-4jqc3p1s.js → repository-6mkkvg4d.js} +12 -12
- package/dist/chunks/{models-dev-z99vtvbp.js → repository-6t40r86m.js} +11 -11
- package/dist/chunks/{models-dev-kqz76vss.js → repository-6wsypzda.js} +6 -6
- package/dist/chunks/{models-dev-qmpq5he0.js → repository-7b9gqgn8.js} +29 -29
- package/dist/chunks/{models-dev-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
- package/dist/chunks/{models-dev-p1ysvyrn.js → repository-7d1znp7a.js} +1 -1
- package/dist/chunks/{models-dev-vwtga85c.js → repository-7p3kv0s7.js} +27 -27
- package/dist/chunks/{models-dev-dvpv3eyc.js → repository-7ptaasd0.js} +6 -6
- package/dist/chunks/{models-dev-7h4ex808.js → repository-7rb9v8wg.js} +29 -29
- package/dist/chunks/{models-dev-p3x4f80b.js → repository-7st6202b.js} +35 -35
- package/dist/chunks/{models-dev-p4b0tw4g.js → repository-7tjync5t.js} +20 -20
- package/dist/chunks/{models-dev-v60rwdes.js → repository-7vb5mjx9.js} +13 -13
- package/dist/chunks/{models-dev-7w2ypzdf.js → repository-7w2ypzdf.js} +1 -1
- package/dist/chunks/{models-dev-7weczvnd.js → repository-7weczvnd.js} +1 -1
- package/dist/chunks/{models-dev-775hqbnd.js → repository-80mg3ag8.js} +3 -3
- package/dist/chunks/{models-dev-dxdjspet.js → repository-813cb08y.js} +16 -16
- package/dist/chunks/{models-dev-j5rt9ep9.js → repository-86kkc16z.js} +47 -47
- package/dist/chunks/{models-dev-89287pr7.js → repository-89287pr7.js} +1 -1
- package/dist/chunks/{models-dev-vahrs0m9.js → repository-8a1b5gq0.js} +7 -7
- package/dist/chunks/{models-dev-t48jrnqq.js → repository-8akjpyn6.js} +3 -3
- package/dist/chunks/{models-dev-8b3vzgkx.js → repository-8b3vzgkx.js} +1 -1
- package/dist/chunks/{models-dev-gjrhxzde.js → repository-8b8x22w8.js} +10 -10
- package/dist/chunks/{models-dev-8cg7mtm3.js → repository-8cg7mtm3.js} +1 -1
- package/dist/chunks/{models-dev-cmv7n359.js → repository-8dncjpvn.js} +19 -19
- package/dist/chunks/{models-dev-0qdw55z7.js → repository-8hbz69sy.js} +11 -11
- package/dist/chunks/{models-dev-39sgvy3e.js → repository-8rapdqzr.js} +4 -4
- package/dist/chunks/{models-dev-j7ajdzfm.js → repository-8sfccg3j.js} +17 -17
- package/dist/chunks/{models-dev-8sxe6kv8.js → repository-8sxe6kv8.js} +2 -2
- package/dist/chunks/{models-dev-8wtp7s3z.js → repository-8wtp7s3z.js} +1 -1
- package/dist/chunks/{models-dev-qah7t4da.js → repository-8zkf5cgt.js} +6 -6
- package/dist/chunks/{models-dev-8zv0xmg5.js → repository-8zv0xmg5.js} +1 -1
- package/dist/chunks/{models-dev-drhqx7vb.js → repository-92ehh6cz.js} +11 -11
- package/dist/chunks/{models-dev-f341sazs.js → repository-94e33dpz.js} +3 -3
- package/dist/chunks/{models-dev-pj9f3xs0.js → repository-94x7x2bc.js} +4 -4
- package/dist/chunks/{models-dev-8zb9pbzg.js → repository-96q4hcrt.js} +23 -23
- package/dist/chunks/{models-dev-s2beheky.js → repository-9a9v4e1n.js} +54 -54
- package/dist/chunks/{models-dev-3wpn5mv8.js → repository-9c2bqs4t.js} +11 -11
- package/dist/chunks/{models-dev-t5fss7h2.js → repository-9cfmkamw.js} +10 -10
- package/dist/chunks/{models-dev-d3sf0jta.js → repository-9hxzqb8n.js} +10 -10
- package/dist/chunks/{models-dev-6sw6f629.js → repository-9j20w6gs.js} +1 -1
- package/dist/chunks/{models-dev-tagm5996.js → repository-9jy8mats.js} +2 -2
- package/dist/chunks/{models-dev-xp2q9dpf.js → repository-9m9rb66j.js} +24 -24
- package/dist/chunks/{models-dev-pn149nk6.js → repository-9nh708zh.js} +6 -6
- package/dist/chunks/{models-dev-92n7mnaf.js → repository-9wyr9weg.js} +3 -3
- package/dist/chunks/{models-dev-rf39jpds.js → repository-a0p8mqkt.js} +11 -11
- package/dist/chunks/{models-dev-3htc12ww.js → repository-a55devgp.js} +25 -25
- package/dist/chunks/{models-dev-7nqkf5r1.js → repository-a5fx33f2.js} +6 -6
- package/dist/chunks/{models-dev-6y7zsfy8.js → repository-a70dxxxa.js} +2 -2
- package/dist/chunks/{models-dev-rbrhgter.js → repository-a84sc8bh.js} +78 -78
- package/dist/chunks/{models-dev-eheqd7th.js → repository-a8cfcyt3.js} +12 -12
- package/dist/chunks/{models-dev-h38ertx6.js → repository-a9q3ynkc.js} +16 -16
- package/dist/chunks/{models-dev-h0rewzpn.js → repository-ad4g1b77.js} +4 -4
- package/dist/chunks/{models-dev-wvxb73c8.js → repository-ajvm5x1k.js} +59 -59
- package/dist/chunks/{models-dev-k3zjn696.js → repository-akt0fjbd.js} +4 -4
- package/dist/chunks/{models-dev-ayjs7tqn.js → repository-ayjs7tqn.js} +2 -2
- package/dist/chunks/{models-dev-0hxfk2gz.js → repository-b14gg4sh.js} +8 -8
- package/dist/chunks/{models-dev-b26ddj6h.js → repository-b26ddj6h.js} +4 -4
- package/dist/chunks/{models-dev-6fzxjq19.js → repository-b35jvm0v.js} +36 -36
- package/dist/chunks/{models-dev-d083yn9a.js → repository-b4hsppa9.js} +7 -7
- package/dist/chunks/{models-dev-pmze51tp.js → repository-b4k47k2s.js} +5 -5
- package/dist/chunks/{models-dev-fc6dtdcd.js → repository-b78vcyc5.js} +22 -22
- package/dist/chunks/{models-dev-gz5xrs27.js → repository-bgn5hadf.js} +8 -8
- package/dist/chunks/{models-dev-cfbpf7dc.js → repository-bh59f9rd.js} +9 -9
- package/dist/chunks/{models-dev-v1s4mn5h.js → repository-bn84h1pr.js} +41 -41
- package/dist/chunks/{models-dev-bztx9h6p.js → repository-bws3jtw9.js} +6 -6
- package/dist/chunks/{models-dev-zpdbqgja.js → repository-by8ty0bx.js} +4 -4
- package/dist/chunks/{models-dev-aqvr8f0c.js → repository-bymwvmjr.js} +4 -4
- package/dist/chunks/repository-c6k7fcz8.js +265 -0
- package/dist/chunks/{models-dev-c7cw818c.js → repository-c7cw818c.js} +2 -2
- package/dist/chunks/{models-dev-8wdzr78q.js → repository-c8gd2j19.js} +8 -8
- package/dist/chunks/{models-dev-k7dk3zks.js → repository-c9vkkpgm.js} +9 -9
- package/dist/chunks/{models-dev-vc8zs7wg.js → repository-cfrsedvg.js} +27 -27
- package/dist/chunks/{models-dev-1jbjy5y1.js → repository-cmn9htvg.js} +4 -4
- package/dist/chunks/{models-dev-36fyk4b5.js → repository-cnx94ynn.js} +46 -46
- package/dist/chunks/{models-dev-cwrgdav8.js → repository-cwrgdav8.js} +2 -2
- package/dist/chunks/{models-dev-veqphcjp.js → repository-d146bgny.js} +17 -17
- package/dist/chunks/{models-dev-d4v9tmah.js → repository-d4v9tmah.js} +2 -2
- package/dist/chunks/{models-dev-tg1vr1qt.js → repository-ddvn7d3w.js} +8 -8
- package/dist/chunks/{models-dev-dt77769w.js → repository-dt77769w.js} +1 -1
- package/dist/chunks/{models-dev-9bp4ky6y.js → repository-dw0j9b8q.js} +40 -40
- package/dist/chunks/{models-dev-a2jhv7dc.js → repository-dy9wc0ek.js} +27 -27
- package/dist/chunks/{models-dev-er10shan.js → repository-e4nwzbzr.js} +24 -24
- package/dist/chunks/{models-dev-e834z07m.js → repository-e834z07m.js} +1 -1
- package/dist/chunks/{models-dev-wy7rabb5.js → repository-e9shpzm4.js} +4 -4
- package/dist/chunks/{models-dev-sgnqkqva.js → repository-eb5bs4av.js} +3 -3
- package/dist/chunks/{models-dev-yjd522w5.js → repository-ecz89gw5.js} +11 -11
- package/dist/chunks/{models-dev-axgenjsx.js → repository-ej1gfyzk.js} +14 -14
- package/dist/chunks/{models-dev-g92hc1zp.js → repository-em9xfsjv.js} +22 -22
- package/dist/chunks/{models-dev-qk5sk9d1.js → repository-ep6pe98a.js} +5 -5
- package/dist/chunks/{models-dev-eqw4pqj1.js → repository-eqw4pqj1.js} +2 -2
- package/dist/chunks/{models-dev-8bj5rrk9.js → repository-esnzksqe.js} +37 -37
- package/dist/chunks/{models-dev-8qne1c5b.js → repository-et652733.js} +13 -13
- package/dist/chunks/{models-dev-g6axq7c8.js → repository-etrnj9s7.js} +8 -8
- package/dist/chunks/{models-dev-zr1ne672.js → repository-ews15w8r.js} +5 -5
- package/dist/chunks/{models-dev-4m51nng4.js → repository-f25p614d.js} +18 -18
- package/dist/chunks/{models-dev-wsqqgvdy.js → repository-f5fh1k3t.js} +7 -7
- package/dist/chunks/{models-dev-x3zw6ms1.js → repository-f6e7p22k.js} +25 -25
- package/dist/chunks/{models-dev-8n4r3r3g.js → repository-f6z7z56m.js} +11 -11
- package/dist/chunks/{models-dev-y5zekp2n.js → repository-f8f6ttpt.js} +32 -32
- package/dist/chunks/{models-dev-awe0zr9y.js → repository-fefngcxr.js} +23 -23
- package/dist/chunks/{models-dev-fffv3p7h.js → repository-fffv3p7h.js} +1 -1
- package/dist/chunks/{models-dev-2hz01tyt.js → repository-fpcrbcat.js} +18 -18
- package/dist/chunks/{models-dev-7p7c4qnx.js → repository-fr4kys9t.js} +15 -15
- package/dist/chunks/{models-dev-4fbz4jvg.js → repository-fx5c1tjh.js} +23 -23
- package/dist/chunks/{models-dev-s3svkpkt.js → repository-g3e3vmrx.js} +6 -6
- package/dist/chunks/{models-dev-gx76kxxn.js → repository-g442wsqe.js} +11 -11
- package/dist/chunks/{models-dev-y3a5ah7e.js → repository-g5gt5c3n.js} +9 -9
- package/dist/chunks/{models-dev-kprqg2bx.js → repository-g6hens4m.js} +28 -28
- package/dist/chunks/{models-dev-1bwtc8x5.js → repository-g87nr3nw.js} +5 -5
- package/dist/chunks/{models-dev-gbjdnr5j.js → repository-gbjdnr5j.js} +2 -2
- package/dist/chunks/{models-dev-g41rydh6.js → repository-gg1x98p9.js} +5 -5
- package/dist/chunks/{models-dev-dq295evr.js → repository-ggej6006.js} +12 -12
- package/dist/chunks/{models-dev-sdt5j0rm.js → repository-ghrv1g9c.js} +4 -4
- package/dist/chunks/{models-dev-3smgbqzf.js → repository-gywxy7j9.js} +9 -9
- package/dist/chunks/{models-dev-0d57w74k.js → repository-h18d68bp.js} +15 -15
- package/dist/chunks/{models-dev-3gp613t8.js → repository-h3j309gg.js} +25 -25
- package/dist/chunks/{models-dev-ffvvmdd5.js → repository-h5gm5jf1.js} +7 -7
- package/dist/chunks/{models-dev-2ybjx2g3.js → repository-hdrtk87s.js} +54 -54
- package/dist/chunks/{models-dev-ea2vq711.js → repository-hfdeg0q9.js} +31 -31
- package/dist/chunks/{models-dev-hgzwgvze.js → repository-hgzwgvze.js} +2 -2
- package/dist/chunks/{models-dev-p47ht8fj.js → repository-hp5xq2f7.js} +13 -13
- package/dist/chunks/{models-dev-ep27xpxa.js → repository-htz3qjhf.js} +5 -5
- package/dist/chunks/{models-dev-14y77cbc.js → repository-hxm880w8.js} +27 -27
- package/dist/chunks/{models-dev-fxnwcv8c.js → repository-j4r7kv1t.js} +31 -31
- package/dist/chunks/{models-dev-9jcsrw8k.js → repository-jcapt50a.js} +84 -84
- package/dist/chunks/{models-dev-59x4k10a.js → repository-jkmg1q5b.js} +40 -40
- package/dist/chunks/{models-dev-jm70asfg.js → repository-jm70asfg.js} +1 -1
- package/dist/chunks/{models-dev-918zf4wh.js → repository-jt43vy5p.js} +35 -35
- package/dist/chunks/{models-dev-0jwnjxzp.js → repository-jy6ht0vf.js} +26 -26
- package/dist/chunks/{models-dev-jnrn6bfa.js → repository-jzbd9n56.js} +27 -27
- package/dist/chunks/{models-dev-54815wdd.js → repository-k0nkxeqt.js} +11 -11
- package/dist/chunks/{models-dev-1jpcz0sm.js → repository-k311np5h.js} +11 -11
- package/dist/chunks/{models-dev-h9cp3cfb.js → repository-k370mbj3.js} +21 -21
- package/dist/chunks/{models-dev-b92jjpa0.js → repository-k426ppv8.js} +11 -11
- package/dist/chunks/{models-dev-3jgf85gr.js → repository-k7taw3e3.js} +20 -20
- package/dist/chunks/{models-dev-pfy35696.js → repository-k83g76qh.js} +6 -6
- package/dist/chunks/{models-dev-m0qx698a.js → repository-k9akkpr2.js} +9 -9
- package/dist/chunks/{models-dev-5jvvhpq5.js → repository-kcv0p6qs.js} +28 -28
- package/dist/chunks/{models-dev-3qq51sb5.js → repository-kmh9f3xz.js} +14 -14
- package/dist/chunks/{models-dev-tnjc52vz.js → repository-ksg0sazg.js} +30 -30
- package/dist/chunks/{models-dev-2n7my5qy.js → repository-kszkre2j.js} +8 -8
- package/dist/chunks/{models-dev-a6s57dw6.js → repository-ktck1cjp.js} +6 -6
- package/dist/chunks/{models-dev-kzczzf4v.js → repository-kzczzf4v.js} +1 -1
- package/dist/chunks/{models-dev-tb2mrvc9.js → repository-kze6nzna.js} +7 -7
- package/dist/chunks/{models-dev-w74vtb82.js → repository-m0y6w2jg.js} +12 -12
- package/dist/chunks/{models-dev-m1714858.js → repository-m1714858.js} +1 -1
- package/dist/chunks/{models-dev-7ead9jn5.js → repository-m92nfpf5.js} +9 -9
- package/dist/chunks/{models-dev-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
- package/dist/chunks/{models-dev-mb7mbhnz.js → repository-mb7mbhnz.js} +3 -3
- package/dist/chunks/{models-dev-a7y05c4f.js → repository-mbvsapx9.js} +38 -38
- package/dist/chunks/{models-dev-201ajh21.js → repository-mc0exbqp.js} +17 -17
- package/dist/chunks/{models-dev-c5244b3n.js → repository-mej5exg2.js} +10 -10
- package/dist/chunks/{models-dev-8ga7trcd.js → repository-mfth9ytk.js} +17 -17
- package/dist/chunks/{models-dev-3ewmbwwb.js → repository-mgx1zyr6.js} +15 -15
- package/dist/chunks/{models-dev-mm06edep.js → repository-mm06edep.js} +1 -1
- package/dist/chunks/{models-dev-s2tmpat2.js → repository-mngayyt0.js} +22 -22
- package/dist/chunks/{models-dev-xnqrcwyz.js → repository-mpm8yx7z.js} +7 -7
- package/dist/chunks/{models-dev-msd2a3qm.js → repository-msd2a3qm.js} +4 -4
- package/dist/chunks/{models-dev-qynkf5aq.js → repository-mvckngtm.js} +10 -10
- package/dist/chunks/{models-dev-8hd989vd.js → repository-my66mdgm.js} +18 -18
- package/dist/chunks/{models-dev-dp6gg9d4.js → repository-myxktkwz.js} +11 -11
- package/dist/chunks/{models-dev-67t8hk2e.js → repository-n2najmm2.js} +3 -3
- package/dist/chunks/{models-dev-azqdag7d.js → repository-n320gsn2.js} +4 -4
- package/dist/chunks/{models-dev-7dt8cvhn.js → repository-n6r6k69t.js} +6 -6
- package/dist/chunks/{models-dev-3gbt196a.js → repository-naadnz2w.js} +13 -13
- package/dist/chunks/{models-dev-nypt70yn.js → repository-najwffq5.js} +32 -32
- package/dist/chunks/{models-dev-gy3qkx01.js → repository-ndj0qvc1.js} +28 -28
- package/dist/chunks/{models-dev-rafjb5p0.js → repository-p4s9hdeb.js} +28 -28
- package/dist/chunks/{models-dev-r7zrbnjn.js → repository-p94p4v4n.js} +4 -4
- package/dist/chunks/{models-dev-megzkfz2.js → repository-pbh4n44j.js} +15 -15
- package/dist/chunks/{models-dev-tmd1r8tg.js → repository-pgqxr0th.js} +4 -4
- package/dist/chunks/{models-dev-pknna89w.js → repository-pknna89w.js} +1 -1
- package/dist/chunks/{models-dev-fg9p65nk.js → repository-prq7xxp2.js} +6 -6
- package/dist/chunks/{models-dev-fnm34e0k.js → repository-pyc3gczw.js} +5 -5
- package/dist/chunks/{models-dev-bt1xpfj3.js → repository-q07m0qr2.js} +26 -26
- package/dist/chunks/{models-dev-rq4aeapw.js → repository-q43319pn.js} +26 -26
- package/dist/chunks/{models-dev-9g3evv1a.js → repository-qcvzp09b.js} +31 -31
- package/dist/chunks/{models-dev-qp7r0hxv.js → repository-qp7r0hxv.js} +1 -1
- package/dist/chunks/{models-dev-0qc532s5.js → repository-qtq380bn.js} +18 -18
- package/dist/chunks/{models-dev-8t99kr38.js → repository-r17fbvme.js} +4 -4
- package/dist/chunks/{models-dev-5f97fvfa.js → repository-r1pfe6de.js} +9 -9
- package/dist/chunks/{models-dev-cbt1b1d9.js → repository-r44sxzgf.js} +12 -12
- package/dist/chunks/{models-dev-4f25tdd0.js → repository-r542h3bh.js} +5 -5
- package/dist/chunks/{models-dev-8khkrf7k.js → repository-r7z0jfb4.js} +3 -3
- package/dist/chunks/{models-dev-rb9dy4dg.js → repository-rb9dy4dg.js} +1 -1
- package/dist/chunks/{models-dev-rgc9cx3e.js → repository-rgc9cx3e.js} +2 -2
- package/dist/chunks/{models-dev-da6gpe7g.js → repository-rkkjt8fb.js} +14 -14
- package/dist/chunks/{models-dev-rdv38xb1.js → repository-rs5qbk4v.js} +4 -4
- package/dist/chunks/{models-dev-rt5dr6hb.js → repository-rt5dr6hb.js} +1 -1
- package/dist/chunks/{models-dev-bazmfq6k.js → repository-rvwmk2rc.js} +16 -16
- package/dist/chunks/{models-dev-3j4157qq.js → repository-rxvjga48.js} +22 -22
- package/dist/chunks/{models-dev-7dw8seq8.js → repository-s16hq6hq.js} +8 -8
- package/dist/chunks/repository-s1f96faj.js +26 -0
- package/dist/chunks/{models-dev-sqfxwgx1.js → repository-s3ap151k.js} +36 -36
- package/dist/chunks/{models-dev-bbdtq6xg.js → repository-s5hs9nb1.js} +36 -36
- package/dist/chunks/{models-dev-f95veexa.js → repository-s5she26k.js} +13 -13
- package/dist/chunks/{models-dev-sbya78hr.js → repository-sbya78hr.js} +1 -1
- package/dist/chunks/{models-dev-90ct6wq4.js → repository-sf9y72b7.js} +4 -4
- package/dist/chunks/{models-dev-8px19554.js → repository-sga6cxxk.js} +14 -14
- package/dist/chunks/{models-dev-jt92w8ws.js → repository-st4hg3gb.js} +9 -9
- package/dist/chunks/{models-dev-9fsd47c6.js → repository-stztmf2b.js} +32 -32
- package/dist/chunks/{models-dev-svcy3p9a.js → repository-svcy3p9a.js} +1 -1
- package/dist/chunks/{models-dev-kj5tsfkj.js → repository-t2yp4qp9.js} +28 -28
- package/dist/chunks/{models-dev-tcveyqdm.js → repository-t49a5w8f.js} +4 -4
- package/dist/chunks/{models-dev-tbpn7jtk.js → repository-tbpn7jtk.js} +1 -1
- package/dist/chunks/{models-dev-x70ptyy5.js → repository-tbthaakc.js} +9 -9
- package/dist/chunks/{models-dev-tczq8hjw.js → repository-tczq8hjw.js} +1 -1
- package/dist/chunks/{models-dev-h4khyh26.js → repository-tde0pya5.js} +10 -10
- package/dist/chunks/{models-dev-6h8vcvjm.js → repository-teav1bzy.js} +9 -9
- package/dist/chunks/{models-dev-psy9mywm.js → repository-ten44rr7.js} +2 -2
- package/dist/chunks/{models-dev-tg7s7b5t.js → repository-tg7s7b5t.js} +1 -1
- package/dist/chunks/{models-dev-yqn5hert.js → repository-tn4wd2fq.js} +18 -18
- package/dist/chunks/{models-dev-tr8x705m.js → repository-tr8x705m.js} +1 -1
- package/dist/chunks/{models-dev-qpa2zpgq.js → repository-ts0309y8.js} +9 -9
- package/dist/chunks/{models-dev-w4895n3h.js → repository-ttqkg3t3.js} +16 -16
- package/dist/chunks/{models-dev-7hq1gv6b.js → repository-tv28p82x.js} +5 -5
- package/dist/chunks/{models-dev-twssxy5n.js → repository-twssxy5n.js} +2 -2
- package/dist/chunks/{models-dev-wda1n394.js → repository-txan6bsn.js} +38 -38
- package/dist/chunks/{models-dev-hvacammh.js → repository-v0xx51e0.js} +32 -32
- package/dist/chunks/{models-dev-v2r1d0zg.js → repository-v2r1d0zg.js} +1 -1
- package/dist/chunks/{models-dev-5p1tp8tw.js → repository-v7v806p5.js} +11 -11
- package/dist/chunks/{models-dev-57kvbh9f.js → repository-v9vs06em.js} +2 -2
- package/dist/chunks/{models-dev-053n6nhr.js → repository-vatm92p4.js} +11 -11
- package/dist/chunks/{models-dev-hced1q2j.js → repository-vek77fn1.js} +4 -4
- package/dist/chunks/{models-dev-vjf35v1f.js → repository-vjf35v1f.js} +1 -1
- package/dist/chunks/{models-dev-kj9n5bvh.js → repository-vmqe41cb.js} +4 -4
- package/dist/chunks/{models-dev-69d7jc2d.js → repository-vntxrryt.js} +36 -36
- package/dist/chunks/{models-dev-td18btq0.js → repository-vsnyj3xr.js} +40 -40
- package/dist/chunks/{models-dev-hx3mz2q2.js → repository-vycsk1c7.js} +8 -8
- package/dist/chunks/{models-dev-ctaw48c7.js → repository-vyk6e2d4.js} +27 -27
- package/dist/chunks/{models-dev-r41sfy63.js → repository-w2eysc6j.js} +6 -6
- package/dist/chunks/{models-dev-8f8zjs59.js → repository-w3h50mwv.js} +12 -12
- package/dist/chunks/{models-dev-sn2ktsvh.js → repository-w3vqc4ke.js} +8 -8
- package/dist/chunks/{models-dev-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
- package/dist/chunks/{models-dev-zq87yxkx.js → repository-w5ce9yke.js} +29 -29
- package/dist/chunks/{models-dev-v0t96s7a.js → repository-w79nt68w.js} +4 -4
- package/dist/chunks/{models-dev-2j78aek0.js → repository-w8xzxbk7.js} +5 -5
- package/dist/chunks/{models-dev-wakvkjy4.js → repository-wakvkjy4.js} +1 -1
- package/dist/chunks/{models-dev-wd87259q.js → repository-wd87259q.js} +1 -1
- package/dist/chunks/{models-dev-wegkxhrn.js → repository-wegkxhrn.js} +2 -2
- package/dist/chunks/{models-dev-0z9j4w6a.js → repository-wfbepe62.js} +58 -58
- package/dist/chunks/{models-dev-qsdghx1p.js → repository-wfdx5ztx.js} +4 -4
- package/dist/chunks/{models-dev-bcbqbskm.js → repository-wqr24bzv.js} +16 -16
- package/dist/chunks/{models-dev-5astvvgn.js → repository-wqwf5vb3.js} +16 -16
- package/dist/chunks/{models-dev-fznmdakp.js → repository-wr3re1en.js} +4 -4
- package/dist/chunks/{models-dev-wvr8xscb.js → repository-wvr8xscb.js} +1 -1
- package/dist/chunks/{models-dev-hnn12jtk.js → repository-x6dx5rh2.js} +23 -23
- package/dist/chunks/{models-dev-mc08rq96.js → repository-x9nycdzm.js} +5 -5
- package/dist/chunks/{models-dev-bstexjd6.js → repository-xd9cc171.js} +5 -5
- package/dist/chunks/{models-dev-ky596kc3.js → repository-xpve62cf.js} +4 -4
- package/dist/chunks/{models-dev-dtxa2x4r.js → repository-xq13qa7d.js} +21 -21
- package/dist/chunks/{models-dev-zw1sb514.js → repository-xqcb3zgw.js} +12 -12
- package/dist/chunks/{models-dev-xjr6c8m4.js → repository-xxschbft.js} +4 -4
- package/dist/chunks/{models-dev-0je4shck.js → repository-xxxmm4tr.js} +10 -10
- package/dist/chunks/{models-dev-61qraad9.js → repository-y3p3hzkr.js} +5 -5
- package/dist/chunks/{models-dev-yb20nhc3.js → repository-yb20nhc3.js} +1 -1
- package/dist/chunks/{models-dev-mg0jvj1p.js → repository-yg1k5wpw.js} +14 -14
- package/dist/chunks/{models-dev-sgnyh5pf.js → repository-ygymdc53.js} +11 -11
- package/dist/chunks/{models-dev-d39j1d0r.js → repository-ynkzm82q.js} +27 -27
- package/dist/chunks/{models-dev-b536crsa.js → repository-yr3c35qq.js} +3 -3
- package/dist/chunks/{models-dev-yr705xyq.js → repository-yr705xyq.js} +1 -1
- package/dist/chunks/{models-dev-xksw6ev0.js → repository-yts2a8qm.js} +4 -4
- package/dist/chunks/{models-dev-yvtc2x31.js → repository-yvtc2x31.js} +1 -1
- package/dist/chunks/{models-dev-yxn958qs.js → repository-ywab437h.js} +24 -24
- package/dist/chunks/{models-dev-x2xvvv0y.js → repository-z5rnheqe.js} +11 -11
- package/dist/chunks/repository-z7bdqmx5.js +18 -0
- package/dist/chunks/{models-dev-8sb7jtsn.js → repository-z88rdk3t.js} +9 -9
- package/dist/chunks/{models-dev-7dq7pg8p.js → repository-z8tfykde.js} +3 -3
- package/dist/chunks/{models-dev-vvj0xdxe.js → repository-z931v3a9.js} +16 -16
- package/dist/chunks/{models-dev-p3fxcjkw.js → repository-zc5hv29m.js} +12 -12
- package/dist/chunks/{models-dev-6c39bkdj.js → repository-zc6sszfw.js} +15 -15
- package/dist/chunks/{models-dev-j9nxzz3g.js → repository-ze75qvmd.js} +3 -3
- package/dist/chunks/{models-dev-r17fpkya.js → repository-zfyw8qbd.js} +5 -5
- package/dist/chunks/{models-dev-rxyd3afs.js → repository-znt7rw13.js} +31 -31
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +148 -148
- package/dist/codemode/instructions.js +5 -5
- 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 +133 -133
- package/dist/config/plugin/command.js +240 -240
- package/dist/config/plugin/compaction.js +173 -173
- package/dist/config/plugin/compatibility.js +153 -153
- 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 +130 -130
- package/dist/config/plugin/mcp.js +145 -145
- 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 +156 -156
- 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 +135 -135
- package/dist/console-access.js +7 -7
- 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 +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 +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 +1 -1
- 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 +108 -108
- 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 +81 -81
- 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 +88 -88
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +251 -251
- 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 +11 -11
- package/dist/filesystem.js +118 -118
- package/dist/flag.js +129 -129
- package/dist/form.js +95 -95
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +120 -120
- 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 +431 -431
- package/dist/instruction-discovery.js +97 -97
- 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 +182 -182
- 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 +104 -104
- package/dist/mcp/index.js +122 -122
- 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 +112 -112
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +111 -111
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +117 -117
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +91 -91
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +152 -152
- 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 +119 -119
- 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 +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 +148 -148
- 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 +6 -6
- 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 +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +5 -5
- 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 +3 -3
- 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 +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 +140 -140
- 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 +138 -138
- 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 +87 -87
- 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 +7 -7
- 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 +3 -3
- package/dist/plugin/websearch/tavily.js +5 -5
- 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 +108 -108
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- 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 +111 -111
- 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 +173 -173
- 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 +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +247 -247
- 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 +5 -5
- 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 +4 -4
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +233 -233
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +209 -209
- package/dist/session/to-session-error.js +152 -152
- package/dist/session/transfer.js +245 -245
- package/dist/session/usage.js +3 -3
- package/dist/session.js +239 -239
- 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 +145 -145
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +154 -154
- package/dist/skill.js +157 -157
- package/dist/snapshot.js +104 -104
- 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 +245 -245
- package/dist/tool/plugin/mcp-resource.js +169 -169
- package/dist/tool/plugin/opencode.js +164 -164
- package/dist/tool/plugin/patch.js +171 -171
- package/dist/tool/plugin/question.js +149 -149
- package/dist/tool/plugin/read.js +175 -175
- 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 +242 -242
- package/dist/tool/plugin/todo.js +156 -156
- package/dist/tool/plugin/webfetch.js +158 -158
- package/dist/tool/plugin/websearch.js +156 -156
- package/dist/tool/plugin/write.js +169 -169
- 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 +163 -163
- 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 +4 -4
- 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 +4 -4
- package/dist/variant.js +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +100 -100
- package/dist/voice.js +101 -101
- package/dist/websearch.js +93 -93
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +90 -90
- 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 +105 -105
- package/package.json +8 -8
- package/dist/chunks/models-dev-4dk7y572.js +0 -26
- package/dist/chunks/models-dev-7yv5xa0k.js +0 -18
- package/dist/chunks/models-dev-b5t85mhn.js +0 -265
- /package/dist/chunks/{models-dev-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{models-dev-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
- /package/dist/chunks/{models-dev-108x4f4w.js → repository-108x4f4w.js} +0 -0
- /package/dist/chunks/{models-dev-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
- /package/dist/chunks/{models-dev-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
- /package/dist/chunks/{models-dev-1kah00gy.js → repository-1kah00gy.js} +0 -0
- /package/dist/chunks/{models-dev-24dcb14g.js → repository-24dcb14g.js} +0 -0
- /package/dist/chunks/{models-dev-2710q6r3.js → repository-2710q6r3.js} +0 -0
- /package/dist/chunks/{models-dev-2bv980vf.js → repository-2bv980vf.js} +0 -0
- /package/dist/chunks/{models-dev-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{models-dev-359p4xyc.js → repository-359p4xyc.js} +0 -0
- /package/dist/chunks/{models-dev-3af0jn4w.js → repository-3af0jn4w.js} +0 -0
- /package/dist/chunks/{models-dev-3asan66x.js → repository-3asan66x.js} +0 -0
- /package/dist/chunks/{models-dev-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
- /package/dist/chunks/{models-dev-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
- /package/dist/chunks/{models-dev-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
- /package/dist/chunks/{models-dev-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
- /package/dist/chunks/{models-dev-4qk9sjk2.js → repository-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{models-dev-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
- /package/dist/chunks/{models-dev-53557ph1.js → repository-53557ph1.js} +0 -0
- /package/dist/chunks/{models-dev-550bvhaj.js → repository-550bvhaj.js} +0 -0
- /package/dist/chunks/{models-dev-5w3e23ze.js → repository-5w3e23ze.js} +0 -0
- /package/dist/chunks/{models-dev-6agm2x70.js → repository-6agm2x70.js} +0 -0
- /package/dist/chunks/{models-dev-6prwharc.js → repository-6prwharc.js} +0 -0
- /package/dist/chunks/{models-dev-6q2bdcd1.js → repository-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{models-dev-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
- /package/dist/chunks/{models-dev-7m9af43g.js → repository-7m9af43g.js} +0 -0
- /package/dist/chunks/{models-dev-822emrt2.js → repository-822emrt2.js} +0 -0
- /package/dist/chunks/{models-dev-84wd9syh.js → repository-84wd9syh.js} +0 -0
- /package/dist/chunks/{models-dev-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
- /package/dist/chunks/{models-dev-8n3pysct.js → repository-8n3pysct.js} +0 -0
- /package/dist/chunks/{models-dev-8wj87zfr.js → repository-8wj87zfr.js} +0 -0
- /package/dist/chunks/{models-dev-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
- /package/dist/chunks/{models-dev-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{models-dev-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
- /package/dist/chunks/{models-dev-af5trqkr.js → repository-af5trqkr.js} +0 -0
- /package/dist/chunks/{models-dev-afrmfg78.js → repository-afrmfg78.js} +0 -0
- /package/dist/chunks/{models-dev-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{models-dev-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
- /package/dist/chunks/{models-dev-beh6qq61.js → repository-beh6qq61.js} +0 -0
- /package/dist/chunks/{models-dev-bhmrqjy3.js → repository-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{models-dev-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{models-dev-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{models-dev-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
- /package/dist/chunks/{models-dev-cqv5kn06.js → repository-cqv5kn06.js} +0 -0
- /package/dist/chunks/{models-dev-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{models-dev-d9fn303g.js → repository-d9fn303g.js} +0 -0
- /package/dist/chunks/{models-dev-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{models-dev-dap0rakb.js → repository-dap0rakb.js} +0 -0
- /package/dist/chunks/{models-dev-df08tz66.js → repository-df08tz66.js} +0 -0
- /package/dist/chunks/{models-dev-dy18nga0.js → repository-dy18nga0.js} +0 -0
- /package/dist/chunks/{models-dev-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
- /package/dist/chunks/{models-dev-ean2d8b5.js → repository-ean2d8b5.js} +0 -0
- /package/dist/chunks/{models-dev-ec1grn59.js → repository-ec1grn59.js} +0 -0
- /package/dist/chunks/{models-dev-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
- /package/dist/chunks/{models-dev-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
- /package/dist/chunks/{models-dev-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{models-dev-faypxj3z.js → repository-faypxj3z.js} +0 -0
- /package/dist/chunks/{models-dev-fd410y7t.js → repository-fd410y7t.js} +0 -0
- /package/dist/chunks/{models-dev-fkpq3x5p.js → repository-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{models-dev-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
- /package/dist/chunks/{models-dev-g86h250q.js → repository-g86h250q.js} +0 -0
- /package/dist/chunks/{models-dev-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
- /package/dist/chunks/{models-dev-gftt206x.js → repository-gftt206x.js} +0 -0
- /package/dist/chunks/{models-dev-hcxmzztb.js → repository-hcxmzztb.js} +0 -0
- /package/dist/chunks/{models-dev-hk9envan.js → repository-hk9envan.js} +0 -0
- /package/dist/chunks/{models-dev-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
- /package/dist/chunks/{models-dev-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{models-dev-jjkms2e6.js → repository-jjkms2e6.js} +0 -0
- /package/dist/chunks/{models-dev-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{models-dev-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{models-dev-jwr30sdr.js → repository-jwr30sdr.js} +0 -0
- /package/dist/chunks/{models-dev-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{models-dev-m18g726c.js → repository-m18g726c.js} +0 -0
- /package/dist/chunks/{models-dev-mp448xyj.js → repository-mp448xyj.js} +0 -0
- /package/dist/chunks/{models-dev-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
- /package/dist/chunks/{models-dev-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
- /package/dist/chunks/{models-dev-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
- /package/dist/chunks/{models-dev-nh4v3znn.js → repository-nh4v3znn.js} +0 -0
- /package/dist/chunks/{models-dev-njntx4h6.js → repository-njntx4h6.js} +0 -0
- /package/dist/chunks/{models-dev-p71gwv9c.js → repository-p71gwv9c.js} +0 -0
- /package/dist/chunks/{models-dev-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
- /package/dist/chunks/{models-dev-q74kybfr.js → repository-q74kybfr.js} +0 -0
- /package/dist/chunks/{models-dev-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
- /package/dist/chunks/{models-dev-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
- /package/dist/chunks/{models-dev-qg3g05ea.js → repository-qg3g05ea.js} +0 -0
- /package/dist/chunks/{models-dev-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
- /package/dist/chunks/{models-dev-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{models-dev-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{models-dev-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
- /package/dist/chunks/{models-dev-syrav9an.js → repository-syrav9an.js} +0 -0
- /package/dist/chunks/{models-dev-t03h4f5z.js → repository-t03h4f5z.js} +0 -0
- /package/dist/chunks/{models-dev-ty7weeps.js → repository-ty7weeps.js} +0 -0
- /package/dist/chunks/{models-dev-ve7vex1e.js → repository-ve7vex1e.js} +0 -0
- /package/dist/chunks/{models-dev-vtarvj67.js → repository-vtarvj67.js} +0 -0
- /package/dist/chunks/{models-dev-w803qqfp.js → repository-w803qqfp.js} +0 -0
- /package/dist/chunks/{models-dev-wc3fc9cn.js → repository-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{models-dev-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
- /package/dist/chunks/{models-dev-wtztk69x.js → repository-wtztk69x.js} +0 -0
- /package/dist/chunks/{models-dev-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
- /package/dist/chunks/{models-dev-x4th4bpe.js → repository-x4th4bpe.js} +0 -0
- /package/dist/chunks/{models-dev-x61499pn.js → repository-x61499pn.js} +0 -0
- /package/dist/chunks/{models-dev-y44na4kk.js → repository-y44na4kk.js} +0 -0
- /package/dist/chunks/{models-dev-y8f7s663.js → repository-y8f7s663.js} +0 -0
- /package/dist/chunks/{models-dev-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{models-dev-z0h12gs8.js → repository-z0h12gs8.js} +0 -0
- /package/dist/chunks/{models-dev-z5v4ffb3.js → repository-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{models-dev-z9919s4g.js → repository-z9919s4g.js} +0 -0
- /package/dist/chunks/{models-dev-zxpyjp51.js → repository-zxpyjp51.js} +0 -0
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Ref5
|
|
3
|
+
} from "./repository-8sfccg3j.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service74,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node78,
|
|
15
15
|
reload: () => reload2
|
|
16
16
|
});
|
|
17
17
|
import { Context, Effect, Exit, Layer, RcMap } from "effect";
|
|
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
|
19
19
|
import { Node } from "@opencode/util/effect/app-node";
|
|
20
20
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
21
21
|
import path from "path";
|
|
22
|
-
class
|
|
22
|
+
class Service74 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
23
23
|
static get(ref) {
|
|
24
|
-
return Layer.unwrap(Effect.map(
|
|
24
|
+
return Layer.unwrap(Effect.map(Service74, (locations) => locations.get(ref)));
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var node78 = LayerNode.unbound(Service74, Node.tags.values.global);
|
|
28
28
|
var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
|
|
29
|
-
const locations = yield*
|
|
29
|
+
const locations = yield* Service74;
|
|
30
30
|
const refs = Array.from(yield* RcMap.keys(locations.rcMap));
|
|
31
31
|
yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
|
|
32
32
|
discard: true,
|
|
@@ -42,10 +42,10 @@ function canonical3(ref) {
|
|
|
42
42
|
const flavor = process.platform === "win32" && !ref.directory.startsWith("/") ? path.win32 : path.posix;
|
|
43
43
|
const normalized = flavor.normalize(ref.directory);
|
|
44
44
|
const trailing = normalized.endsWith(flavor.sep) && normalized.length > flavor.parse(normalized).root.length;
|
|
45
|
-
return
|
|
45
|
+
return Ref5.make({
|
|
46
46
|
directory: AbsolutePath.make(trailing ? normalized.slice(0, -1) : normalized),
|
|
47
47
|
workspaceID: ref.workspaceID
|
|
48
48
|
});
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Service74, node78, reload2, canonical3, exports_location_service_map };
|
|
@@ -2,37 +2,37 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service91,
|
|
4
4
|
node95
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./repository-ad4g1b77.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service5,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
|
-
layer: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
layer: () => layer6,
|
|
17
|
+
node: () => node7
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service5 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var layer6 = Layer.effect(Service5, Effect.gen(function* () {
|
|
26
26
|
const bus = yield* Service91;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service5.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {}, { global: true })), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node7 = makeGlobalNode({ service: Service5, layer: layer6, deps: [node95] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service5, layer6, node7, exports_sdk };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./repository-8sfccg3j.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
13
13
|
__export(exports_discovery2, {
|
|
14
14
|
ConfigDiscovery: () => exports_discovery2,
|
|
15
15
|
discover: () => discover3,
|
|
16
|
-
names: () =>
|
|
16
|
+
names: () => names4,
|
|
17
17
|
preferencePaths: () => preferencePaths2,
|
|
18
18
|
stripPreferenceMetadata: () => stripPreferenceMetadata2,
|
|
19
19
|
systemDirectory: () => systemDirectory2
|
|
@@ -23,7 +23,7 @@ import path from "path";
|
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
25
25
|
import { Global } from "@opencode/util/global";
|
|
26
|
-
var
|
|
26
|
+
var names4 = ["opencode.json", "opencode.jsonc"];
|
|
27
27
|
function systemDirectory2(platform = process.platform, env = process.env) {
|
|
28
28
|
if (platform === "darwin")
|
|
29
29
|
return AbsolutePath2.make("/Library/Application Support/opencode");
|
|
@@ -54,7 +54,7 @@ function stripPreferenceMetadata2(json) {
|
|
|
54
54
|
var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
55
55
|
const fs = yield* FSUtil.Service;
|
|
56
56
|
const global = yield* Global.Service;
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service83;
|
|
58
58
|
const system = (() => {
|
|
59
59
|
if (options?.system === false)
|
|
60
60
|
return;
|
|
@@ -69,7 +69,7 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
69
69
|
const globalRoots = yield* Effect.forEach([...configDirectories, globalClaudeDirectory, globalAgentsDirectory], (item) => fs.resolve(item), { concurrency: "unbounded" });
|
|
70
70
|
const current = yield* fs.resolve(location.directory);
|
|
71
71
|
const directories = globalRoots.slice(0, configDirectories.length).includes(current) || options?.project === false ? [] : yield* fs.up({ targets: ["."], start: location.directory }).pipe(Effect.orDie);
|
|
72
|
-
const candidates = [".claude", ".agents", ".opencode", ...
|
|
72
|
+
const candidates = [".claude", ".agents", ".opencode", ...names4.toReversed()];
|
|
73
73
|
const discovered = yield* Effect.forEach(directories, (directory) => Effect.gen(function* () {
|
|
74
74
|
const parent = directory === location.directory ? current : yield* fs.resolve(directory);
|
|
75
75
|
const entries = yield* fs.readDirectory(parent).pipe(Effect.map((list) => new Set(list.map((entry) => entry.toLowerCase()))), Effect.orElseSucceed(() => {
|
|
@@ -84,7 +84,7 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
84
84
|
}, { concurrency: "unbounded" });
|
|
85
85
|
}), { concurrency: "unbounded" }).pipe(Effect.map((items) => items.flat()), Effect.orDie);
|
|
86
86
|
const globalEnabled = options?.global !== false;
|
|
87
|
-
const globalFiles = yield* Effect.forEach(configDirectories.flatMap((directory) =>
|
|
87
|
+
const globalFiles = yield* Effect.forEach(configDirectories.flatMap((directory) => names4.map((name) => path.join(directory, name))), (file) => fs.resolve(file), { concurrency: "unbounded" });
|
|
88
88
|
const visibleEntries = discovered.filter((entry) => globalEnabled ? !globalRoots.includes(entry.resolved) && !globalFiles.includes(entry.resolved) : !globalRoots.some((root) => entry.resolved === root || entry.resolved.startsWith(root + path.sep)));
|
|
89
89
|
const visible = visibleEntries.map((entry) => entry.item);
|
|
90
90
|
const preferences = globalEnabled && (options?.system ?? true) === true && process.platform === "darwin" ? (yield* Effect.filter(preferencePaths2(yield* Effect.try(() => os.userInfo().username).pipe(Effect.orElseSucceed(() => "user"))), fs.isFile)).at(0) : undefined;
|
|
@@ -110,4 +110,4 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
110
110
|
};
|
|
111
111
|
});
|
|
112
112
|
|
|
113
|
-
export {
|
|
113
|
+
export { names4, systemDirectory2, preferencePaths2, stripPreferenceMetadata2, discover3, exports_discovery2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service91,
|
|
3
3
|
node95
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-ad4g1b77.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,31 +12,31 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event19,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID20,
|
|
20
|
+
Info: () => Info29,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError12,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service81,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When3,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer27,
|
|
29
|
+
node: () => node85,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event19 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID20 = Form.ID;
|
|
39
|
+
var Info29 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When3 = Form.When;
|
|
@@ -44,8 +44,8 @@ var State3 = Form.State;
|
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError12 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID20
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError14 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID20
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID20
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID20,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service81 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
84
|
+
var layer27 = Layer.effect(Service81, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service91;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
89
89
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
90
90
|
});
|
|
91
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
91
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError12({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID20.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -162,9 +162,9 @@ var layer28 = Layer.effect(Service89, Effect.gen(function* () {
|
|
|
162
162
|
closed = true;
|
|
163
163
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
164
164
|
yield* Effect.addFinalizer(() => close);
|
|
165
|
-
return
|
|
165
|
+
return Service81.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
167
|
+
var node85 = makeLocationNode({ service: Service81, layer: layer27, deps: [node95] });
|
|
168
168
|
function validateAnswer2(form, answer) {
|
|
169
169
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
170
170
|
for (const key of Object.keys(answer)) {
|
|
@@ -316,4 +316,4 @@ function isDateTime(value) {
|
|
|
316
316
|
return !Number.isNaN(new Date(value).getTime());
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export {
|
|
319
|
+
export { ID20, Info29, Field2, Fields2, When3, State3, Answer2, Reply3, NotFoundError12, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service81, layer27, node85, validateAnswer2, validateFields2, exports_form, Event19 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
run2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-2p60zmnr.js";
|
|
4
4
|
import {
|
|
5
5
|
base2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-h5gm5jf1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/claude-agent/claude/status.ts
|
|
12
12
|
var exports_status = {};
|
|
13
13
|
__export(exports_status, {
|
|
14
14
|
ClaudeStatus: () => exports_status,
|
|
15
|
-
make: () =>
|
|
15
|
+
make: () => make8
|
|
16
16
|
});
|
|
17
17
|
import { Effect, Semaphore, SubscriptionRef } from "effect";
|
|
18
|
-
var
|
|
18
|
+
var make8 = Effect.fn("ClaudeStatus.make")(function* (io, connection) {
|
|
19
19
|
const state = yield* SubscriptionRef.make({ type: "checking" });
|
|
20
20
|
const lock = yield* Semaphore.make(1);
|
|
21
21
|
const refresh = Effect.fn("ClaudeStatus.refresh")(function* () {
|
|
@@ -33,4 +33,4 @@ var make5 = Effect.fn("ClaudeStatus.make")(function* (io, connection) {
|
|
|
33
33
|
return { state, refresh, report };
|
|
34
34
|
});
|
|
35
35
|
|
|
36
|
-
export {
|
|
36
|
+
export { make8, exports_status };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-f6e7p22k.js";
|
|
4
4
|
import {
|
|
5
5
|
VariantID2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-e4nwzbzr.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/variant.ts
|
|
12
12
|
var exports_variant = {};
|
|
@@ -2,32 +2,32 @@ import {
|
|
|
2
2
|
Resource2,
|
|
3
3
|
ResourceTemplate2,
|
|
4
4
|
ResourceContent2,
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service36
|
|
6
|
+
} from "./repository-wfbepe62.js";
|
|
7
7
|
import {
|
|
8
8
|
invocation2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service65
|
|
10
|
+
} from "./repository-mbvsapx9.js";
|
|
11
11
|
import {
|
|
12
12
|
MEDIA_MIMES2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-mc0exbqp.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/tool/plugin/mcp-resource.ts
|
|
19
19
|
var exports_mcp_resource = {};
|
|
20
20
|
__export(exports_mcp_resource, {
|
|
21
21
|
McpResourceTools: () => exports_mcp_resource,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin5
|
|
23
23
|
});
|
|
24
24
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
25
25
|
import { Effect, Schema } from "effect";
|
|
26
|
-
var
|
|
26
|
+
var Plugin5 = {
|
|
27
27
|
id: "opencode.tools.mcp-resources",
|
|
28
28
|
effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
|
|
29
|
-
const mcp = yield*
|
|
30
|
-
const permission = yield*
|
|
29
|
+
const mcp = yield* Service36;
|
|
30
|
+
const permission = yield* Service65;
|
|
31
31
|
yield* ctx.tool.transform((editor) => {
|
|
32
32
|
editor.add({
|
|
33
33
|
name: "list_mcp_resources",
|
|
@@ -93,4 +93,4 @@ var Plugin8 = {
|
|
|
93
93
|
})
|
|
94
94
|
};
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Plugin5, exports_mcp_resource };
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node74
|
|
5
|
+
} from "./repository-8hbz69sy.js";
|
|
6
6
|
import {
|
|
7
7
|
Service91,
|
|
8
8
|
node95
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-ad4g1b77.js";
|
|
10
10
|
import {
|
|
11
11
|
native2,
|
|
12
12
|
ID17,
|
|
13
13
|
aisdk2,
|
|
14
14
|
packageName2,
|
|
15
15
|
builtinPackages2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-f6e7p22k.js";
|
|
17
17
|
import {
|
|
18
18
|
ID16,
|
|
19
19
|
Family2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./repository-e4nwzbzr.js";
|
|
21
21
|
import {
|
|
22
22
|
supports2,
|
|
23
23
|
resolve2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./repository-9wyr9weg.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service90,
|
|
27
|
+
node94
|
|
28
|
+
} from "./repository-mvckngtm.js";
|
|
29
29
|
import {
|
|
30
30
|
isV12,
|
|
31
31
|
toV22
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./repository-p71gwv9c.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./repository-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/models-dev.ts
|
|
38
38
|
var exports_models_dev = {};
|
|
39
39
|
__export(exports_models_dev, {
|
|
40
40
|
Event: () => Event3,
|
|
41
41
|
ModelsDev: () => exports_models_dev,
|
|
42
|
-
Options: () =>
|
|
43
|
-
Service: () =>
|
|
42
|
+
Options: () => Options3,
|
|
43
|
+
Service: () => Service16,
|
|
44
44
|
bodyDigest: () => bodyDigest2,
|
|
45
45
|
catalogPath: () => catalogPath2,
|
|
46
|
-
configured: () =>
|
|
46
|
+
configured: () => configured3,
|
|
47
47
|
decodeSnapshot: () => decodeSnapshot2,
|
|
48
48
|
layer: () => layer10,
|
|
49
|
-
node: () =>
|
|
49
|
+
node: () => node19
|
|
50
50
|
});
|
|
51
51
|
import { Cause, Context, Duration, Effect, Layer, Option, Result, Schedule, Schema, Semaphore } from "effect";
|
|
52
52
|
import { HttpClient, HttpClientError, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
@@ -391,14 +391,14 @@ function modelInfo(providerID, provider, id, source, input = {}) {
|
|
|
391
391
|
body: input.request?.body ? { ...input.request.body } : undefined
|
|
392
392
|
};
|
|
393
393
|
}
|
|
394
|
-
var
|
|
394
|
+
var Options3 = Schema.Struct({
|
|
395
395
|
url: Schema.optional(Schema.String),
|
|
396
396
|
file: Schema.optional(Schema.String),
|
|
397
397
|
fetch: Schema.optional(Schema.Boolean),
|
|
398
398
|
snapshot: Schema.optional(Schema.Boolean)
|
|
399
399
|
});
|
|
400
400
|
|
|
401
|
-
class
|
|
401
|
+
class Service16 extends Context.Service()("@opencode/ModelsDev") {
|
|
402
402
|
}
|
|
403
403
|
var CatalogJson = Schema.fromJsonString(Schema.Record(Schema.String, Schema.Unknown));
|
|
404
404
|
var decodeCatalog = (text) => Schema.decodeUnknownEffect(CatalogJson)(text);
|
|
@@ -428,11 +428,11 @@ function cacheKey(source) {
|
|
|
428
428
|
function bodyDigest2(text) {
|
|
429
429
|
return Hash.sha256(text);
|
|
430
430
|
}
|
|
431
|
-
var layer10 = (options) => Layer.effect(
|
|
431
|
+
var layer10 = (options) => Layer.effect(Service16, Effect.gen(function* () {
|
|
432
432
|
const fs = yield* FSUtil.Service;
|
|
433
433
|
const bus = yield* Service91;
|
|
434
434
|
const app = yield* Metadata2;
|
|
435
|
-
const kv = yield*
|
|
435
|
+
const kv = yield* Service90;
|
|
436
436
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
437
437
|
retryOn: "errors-and-responses",
|
|
438
438
|
times: 2,
|
|
@@ -526,15 +526,15 @@ var layer10 = (options) => Layer.effect(Service19, Effect.gen(function* () {
|
|
|
526
526
|
if (fetch && !process.argv.includes("--get-yargs-completions")) {
|
|
527
527
|
yield* Effect.forkScoped(refresh().pipe(Effect.repeat(Schedule.spaced(ttl)), Effect.ignore));
|
|
528
528
|
}
|
|
529
|
-
return
|
|
529
|
+
return Service16.of({ get, refresh });
|
|
530
530
|
}));
|
|
531
|
-
function
|
|
531
|
+
function configured3(options) {
|
|
532
532
|
return makeGlobalNode({
|
|
533
|
-
service:
|
|
533
|
+
service: Service16,
|
|
534
534
|
layer: layer10(options),
|
|
535
|
-
deps: [FSUtil.node, node95,
|
|
535
|
+
deps: [FSUtil.node, node95, node74, node94, httpClient]
|
|
536
536
|
});
|
|
537
537
|
}
|
|
538
|
-
var
|
|
538
|
+
var node19 = configured3();
|
|
539
539
|
|
|
540
|
-
export {
|
|
540
|
+
export { Options3, Service16, catalogPath2, decodeSnapshot2, bodyDigest2, layer10, configured3, node19, exports_models_dev, Event3 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
render3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-wvr8xscb.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/optimize.ts
|
|
9
9
|
var exports_optimize = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_optimize, {
|
|
|
13
13
|
ArceePlugin: () => ArceePlugin2,
|
|
14
14
|
KimiPlugin: () => KimiPlugin2,
|
|
15
15
|
MetaPlugin: () => MetaPlugin2,
|
|
16
|
-
OpenAIPlugin: () =>
|
|
16
|
+
OpenAIPlugin: () => OpenAIPlugin2,
|
|
17
17
|
OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
|
|
18
18
|
OptimizePlugin: () => exports_optimize,
|
|
19
19
|
Plugins: () => Plugins2,
|
|
@@ -375,7 +375,7 @@ By default, match the surrounding comment density: where the code has none, add
|
|
|
375
375
|
`;
|
|
376
376
|
|
|
377
377
|
// src/plugin/optimize.ts
|
|
378
|
-
var
|
|
378
|
+
var OpenAIPlugin2 = make("opencode.prompt.openai", (model) => {
|
|
379
379
|
const id = model.id.toLowerCase();
|
|
380
380
|
if (!id.includes("gpt"))
|
|
381
381
|
return;
|
|
@@ -410,7 +410,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
|
|
|
410
410
|
return;
|
|
411
411
|
return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
|
|
412
412
|
});
|
|
413
|
-
var Plugins2 = [
|
|
413
|
+
var Plugins2 = [OpenAIPlugin2, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
|
|
414
414
|
var models = new WeakMap;
|
|
415
415
|
var resolveModel2 = (ctx, event) => Effect.gen(function* () {
|
|
416
416
|
const cached = models.get(event);
|
|
@@ -447,4 +447,4 @@ ${rendered}` : rendered;
|
|
|
447
447
|
});
|
|
448
448
|
}
|
|
449
449
|
|
|
450
|
-
export {
|
|
450
|
+
export { OpenAIPlugin2, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, resolveModel2, exports_optimize };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID17
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-f6e7p22k.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-6q2bdcd1.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|