@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,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service91,
|
|
3
3
|
node95
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-ad4g1b77.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create4
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-40y6dtc2.js";
|
|
9
9
|
import {
|
|
10
10
|
key3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-n320gsn2.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
13
|
+
ID18,
|
|
14
|
+
Service79,
|
|
15
|
+
node83,
|
|
16
|
+
Event17
|
|
17
|
+
} from "./repository-p4s9hdeb.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service83,
|
|
20
|
+
node87
|
|
21
|
+
} from "./repository-8sfccg3j.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./repository-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/provider.ts
|
|
27
27
|
var exports_provider5 = {};
|
|
@@ -31,13 +31,13 @@ __export(exports_provider5, {
|
|
|
31
31
|
Compaction: () => Compaction3,
|
|
32
32
|
DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
|
|
33
33
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
34
|
-
Event: () =>
|
|
34
|
+
Event: () => Event16,
|
|
35
35
|
ID: () => ID17,
|
|
36
36
|
Info: () => Info25,
|
|
37
37
|
LoadError: () => LoadError3,
|
|
38
38
|
Provider: () => exports_provider5,
|
|
39
39
|
Request: () => Request4,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service78,
|
|
41
41
|
Settings: () => Settings2,
|
|
42
42
|
Transport: () => Transport2,
|
|
43
43
|
aisdk: () => aisdk2,
|
|
@@ -49,7 +49,7 @@ __export(exports_provider5, {
|
|
|
49
49
|
mergeOverlay: () => mergeOverlay2,
|
|
50
50
|
modelSettings: () => modelSettings2,
|
|
51
51
|
nativeSettings: () => nativeSettings2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node82,
|
|
53
53
|
packageName: () => packageName2,
|
|
54
54
|
timeout: () => timeout2,
|
|
55
55
|
timeouts: () => timeouts2
|
|
@@ -331,7 +331,7 @@ var Legacy = Schema.StructWithRest(Schema.Struct({
|
|
|
331
331
|
var decode = Schema.decodeUnknownSync(Legacy);
|
|
332
332
|
|
|
333
333
|
// src/provider.ts
|
|
334
|
-
import { Event as
|
|
334
|
+
import { Event as Event16 } from "@opencode/schema/provider";
|
|
335
335
|
var ID17 = Provider.ID;
|
|
336
336
|
var AISDK_PREFIX2 = "aisdk:";
|
|
337
337
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
@@ -579,7 +579,7 @@ var Transport2 = Provider.Transport;
|
|
|
579
579
|
var Settings2 = Provider.Settings;
|
|
580
580
|
var Info25 = Provider.Info;
|
|
581
581
|
|
|
582
|
-
class
|
|
582
|
+
class Service78 extends Context.Service()("@opencode/Provider") {
|
|
583
583
|
}
|
|
584
584
|
var definitions = new WeakMap;
|
|
585
585
|
function index(providerID, models) {
|
|
@@ -592,10 +592,10 @@ function index(providerID, models) {
|
|
|
592
592
|
definitions.set(models, indexes);
|
|
593
593
|
return result;
|
|
594
594
|
}
|
|
595
|
-
var layer = Layer.effect(
|
|
595
|
+
var layer = Layer.effect(Service78, Effect2.gen(function* () {
|
|
596
596
|
const bus = yield* Service91;
|
|
597
|
-
const integrations = yield*
|
|
598
|
-
const location = yield*
|
|
597
|
+
const integrations = yield* Service79;
|
|
598
|
+
const location = yield* Service83;
|
|
599
599
|
const state = create4({
|
|
600
600
|
name: "provider",
|
|
601
601
|
initial: () => new Map,
|
|
@@ -687,7 +687,7 @@ var layer = Layer.effect(Service84, Effect2.gen(function* () {
|
|
|
687
687
|
const available = Array.from(records.values()).filter((record) => {
|
|
688
688
|
if (record.provider.activation === "disabled")
|
|
689
689
|
return false;
|
|
690
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
690
|
+
const integration = byID.get(record.provider.integrationID ?? ID18.make(record.provider.id));
|
|
691
691
|
if (record.sourceConnection && key3(record.sourceConnection) !== key3(integration?.connections[0]))
|
|
692
692
|
return false;
|
|
693
693
|
if (record.provider.activation === "enabled")
|
|
@@ -713,8 +713,8 @@ var layer = Layer.effect(Service84, Effect2.gen(function* () {
|
|
|
713
713
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
714
714
|
});
|
|
715
715
|
});
|
|
716
|
-
yield* bus.subscribe([
|
|
717
|
-
return
|
|
716
|
+
yield* bus.subscribe([Event17.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect2.forkScoped({ startImmediately: true }));
|
|
717
|
+
return Service78.of({
|
|
718
718
|
transform: state.transform,
|
|
719
719
|
reload: state.reload,
|
|
720
720
|
get: Effect2.fn("Provider.get")((id) => Effect2.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -723,7 +723,7 @@ var layer = Layer.effect(Service84, Effect2.gen(function* () {
|
|
|
723
723
|
snapshot
|
|
724
724
|
});
|
|
725
725
|
}));
|
|
726
|
-
var
|
|
726
|
+
var node82 = makeLocationNode({ service: Service78, layer, deps: [node95, node83, node87] });
|
|
727
727
|
var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
728
728
|
const module = yield* Effect2.tryPromise({
|
|
729
729
|
try: () => {
|
|
@@ -745,4 +745,4 @@ var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, e
|
|
|
745
745
|
return module;
|
|
746
746
|
});
|
|
747
747
|
|
|
748
|
-
export { rewrite2, native2, exports_aisdk_native, ID17, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request4, Compaction3, Cache2, Transport2, Settings2, Info25,
|
|
748
|
+
export { rewrite2, native2, exports_aisdk_native, ID17, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request4, Compaction3, Cache2, Transport2, Settings2, Info25, Service78, node82, exports_provider5, Event16 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service57,
|
|
3
|
+
node59
|
|
4
|
+
} from "./repository-naadnz2w.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service24,
|
|
7
|
+
node28
|
|
8
|
+
} from "./repository-346hvfgb.js";
|
|
9
9
|
import {
|
|
10
10
|
text3,
|
|
11
11
|
deliver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-0j7gp832.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/subagent-job.ts
|
|
18
18
|
var exports_subagent_job = {};
|
|
@@ -26,8 +26,8 @@ import { Node } from "@opencode/util/effect/app-node";
|
|
|
26
26
|
class Service11 extends Context.Service()("@opencode/SubagentJob") {
|
|
27
27
|
}
|
|
28
28
|
var make = Effect.gen(function* () {
|
|
29
|
-
const sessions = yield*
|
|
30
|
-
const jobs = yield*
|
|
29
|
+
const sessions = yield* Service24;
|
|
30
|
+
const jobs = yield* Service57;
|
|
31
31
|
const scope = yield* Scope.Scope;
|
|
32
32
|
const context = yield* Effect.context();
|
|
33
33
|
const notifications = new Set;
|
|
@@ -67,7 +67,7 @@ var make = Effect.gen(function* () {
|
|
|
67
67
|
var node13 = Node.makeGlobalNode({
|
|
68
68
|
service: Service11,
|
|
69
69
|
layer: Layer.effect(Service11, make),
|
|
70
|
-
deps: [
|
|
70
|
+
deps: [node28, node59]
|
|
71
71
|
});
|
|
72
72
|
|
|
73
73
|
export { Service11, node13, exports_subagent_job };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service86,
|
|
9
|
+
node90
|
|
10
|
+
} from "./repository-a8cfcyt3.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service83,
|
|
13
|
+
node87
|
|
14
|
+
} from "./repository-8sfccg3j.js";
|
|
15
15
|
import {
|
|
16
16
|
create4
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./repository-40y6dtc2.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./repository-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error3,
|
|
26
|
+
ID: () => ID9,
|
|
27
|
+
Service: () => Service55,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node57,
|
|
30
30
|
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -34,22 +34,22 @@ import path from "path";
|
|
|
34
34
|
import { Clock, Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID9 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service55 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service86;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service83;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create4({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const directory = yield* fs.realPath(location.directory).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
75
75
|
if (!FSUtil.contains(worktree, directory))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(path.relative(worktree, directory).replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
97
97
|
maximumUntrackedFileBytes: 2 * 1024 * 1024
|
|
98
98
|
});
|
|
99
99
|
yield* packWhenDue(repo.snapshotRepository);
|
|
100
|
-
return
|
|
100
|
+
return ID9.make(tree);
|
|
101
101
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
|
|
102
102
|
});
|
|
103
103
|
const comparison = Effect.fnUntraced(function* (operation, input) {
|
|
@@ -142,25 +142,25 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
142
142
|
for (const [file, snapshot] of input.files) {
|
|
143
143
|
const absolute = path.resolve(worktree, file);
|
|
144
144
|
if (!FSUtil.contains(worktree, absolute))
|
|
145
|
-
return yield* new
|
|
145
|
+
return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
146
146
|
files.set(file, TreeID2.make(snapshot));
|
|
147
147
|
}
|
|
148
148
|
return files;
|
|
149
149
|
});
|
|
150
150
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
151
151
|
if (!enabled())
|
|
152
|
-
return yield* new
|
|
152
|
+
return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
|
|
153
153
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
154
154
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
155
155
|
});
|
|
156
|
-
return
|
|
156
|
+
return Service55.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
157
157
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
158
|
-
var
|
|
159
|
-
service:
|
|
158
|
+
var node57 = makeLocationNode({
|
|
159
|
+
service: Service55,
|
|
160
160
|
layer,
|
|
161
|
-
deps: [FSUtil.node,
|
|
161
|
+
deps: [FSUtil.node, node90, Global.node, node87]
|
|
162
162
|
});
|
|
163
|
-
var noopLayer3 = Layer.succeed(
|
|
163
|
+
var noopLayer3 = Layer.succeed(Service55, Service55.of({
|
|
164
164
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
165
165
|
reload: () => Effect.void,
|
|
166
166
|
capture: () => Effect.undefined,
|
|
@@ -169,13 +169,13 @@ var noopLayer3 = Layer.succeed(Service81, Service81.of({
|
|
|
169
169
|
restore: () => Effect.void
|
|
170
170
|
}));
|
|
171
171
|
function failure(operation, cause) {
|
|
172
|
-
if (cause instanceof
|
|
172
|
+
if (cause instanceof Error3 && cause.operation === operation)
|
|
173
173
|
return cause;
|
|
174
|
-
return new
|
|
174
|
+
return new Error3({
|
|
175
175
|
operation,
|
|
176
176
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
177
177
|
cause
|
|
178
178
|
});
|
|
179
179
|
}
|
|
180
180
|
|
|
181
|
-
export {
|
|
181
|
+
export { ID9, Error3, Service55, node57, noopLayer3, exports_snapshot2 };
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
2
|
invocation2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service65
|
|
4
|
+
} from "./repository-mbvsapx9.js";
|
|
5
5
|
import {
|
|
6
6
|
ID8,
|
|
7
7
|
Name2,
|
|
8
8
|
toModelOutput3,
|
|
9
9
|
prepare3,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service50
|
|
11
|
+
} from "./repository-qtq380bn.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/tool/plugin/skill.ts
|
|
17
17
|
var exports_skill = {};
|
|
18
18
|
__export(exports_skill, {
|
|
19
|
-
Input: () =>
|
|
20
|
-
Output: () =>
|
|
21
|
-
Plugin: () =>
|
|
19
|
+
Input: () => Input8,
|
|
20
|
+
Output: () => Output6,
|
|
21
|
+
Plugin: () => Plugin12,
|
|
22
22
|
SkillTool: () => exports_skill,
|
|
23
|
-
description: () =>
|
|
24
|
-
name: () =>
|
|
23
|
+
description: () => description3,
|
|
24
|
+
name: () => name8,
|
|
25
25
|
toModelOutput: () => toModelOutput2
|
|
26
26
|
});
|
|
27
27
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
28
28
|
import { Effect, Schema } from "effect";
|
|
29
29
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
30
|
-
var
|
|
31
|
-
var
|
|
30
|
+
var name8 = "skill";
|
|
31
|
+
var Input8 = Schema.Struct({
|
|
32
32
|
id: ID8.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
33
33
|
});
|
|
34
|
-
var
|
|
34
|
+
var Output6 = Schema.Struct({
|
|
35
35
|
name: Name2,
|
|
36
36
|
directory: Schema.String,
|
|
37
37
|
output: Schema.String
|
|
38
38
|
});
|
|
39
|
-
var
|
|
39
|
+
var description3 = [
|
|
40
40
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
41
41
|
"",
|
|
42
42
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -44,25 +44,25 @@ var description2 = [
|
|
|
44
44
|
`);
|
|
45
45
|
var toModelOutput2 = toModelOutput3;
|
|
46
46
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
47
|
-
var
|
|
47
|
+
var Plugin12 = {
|
|
48
48
|
id: "opencode.tool.skill",
|
|
49
49
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
50
50
|
const fs = yield* FSUtil.Service;
|
|
51
|
-
const skills = yield*
|
|
52
|
-
const permission = yield*
|
|
51
|
+
const skills = yield* Service50;
|
|
52
|
+
const permission = yield* Service65;
|
|
53
53
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
54
|
-
name:
|
|
54
|
+
name: name8,
|
|
55
55
|
options: { codemode: false },
|
|
56
|
-
description:
|
|
57
|
-
input:
|
|
58
|
-
output:
|
|
56
|
+
description: description3,
|
|
57
|
+
input: Input8,
|
|
58
|
+
output: Output6,
|
|
59
59
|
execute: (input, context) => Effect.gen(function* () {
|
|
60
60
|
const skill = yield* skills.get(input.id);
|
|
61
61
|
if (!skill)
|
|
62
62
|
return yield* unableToLoad(input.id);
|
|
63
63
|
return yield* Effect.gen(function* () {
|
|
64
64
|
yield* permission.assert({
|
|
65
|
-
action:
|
|
65
|
+
action: name8,
|
|
66
66
|
resources: [skill.id],
|
|
67
67
|
save: [skill.id],
|
|
68
68
|
...invocation2(context)
|
|
@@ -79,4 +79,4 @@ var Plugin3 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name8, Input8, Output6, description3, toModelOutput2, Plugin12, exports_skill };
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./repository-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service59,
|
|
8
|
+
node61
|
|
9
|
+
} from "./repository-0bz9q8qd.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-tbpn7jtk.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error4,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service58,
|
|
24
|
+
node: () => node60
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/process";
|
|
@@ -47,7 +47,7 @@ var RawMatch = Schema.Struct({
|
|
|
47
47
|
});
|
|
48
48
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
51
51
|
message: Schema.String,
|
|
52
52
|
cause: Schema.optional(Schema.Defect())
|
|
53
53
|
}) {
|
|
@@ -59,13 +59,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
59
59
|
}) {
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
class
|
|
62
|
+
class Service58 extends Context.Service()("@opencode/Ripgrep") {
|
|
63
63
|
}
|
|
64
|
-
var failure = (message, cause) => new
|
|
64
|
+
var failure = (message, cause) => new Error4({ message, cause });
|
|
65
65
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
66
66
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
67
|
-
var layer = Layer.effect(
|
|
68
|
-
const environment = yield*
|
|
67
|
+
var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
68
|
+
const environment = yield* Service59;
|
|
69
69
|
const binary = yield* RipgrepBinary2.Service;
|
|
70
70
|
const run = (input) => {
|
|
71
71
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -91,9 +91,9 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
91
91
|
return code === 1 ? [] : rows;
|
|
92
92
|
}));
|
|
93
93
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
94
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
94
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
95
95
|
};
|
|
96
|
-
return
|
|
96
|
+
return Service58.of({
|
|
97
97
|
glob: (input) => run({
|
|
98
98
|
cwd: input.cwd,
|
|
99
99
|
limit: input.limit,
|
|
@@ -179,6 +179,6 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
179
179
|
}))))
|
|
180
180
|
});
|
|
181
181
|
}));
|
|
182
|
-
var
|
|
182
|
+
var node60 = makeLocationNode({ service: Service58, layer, deps: [node61, RipgrepBinary2.node] });
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { Error4, InvalidPatternError2, Service58, node60, exports_ripgrep };
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-8hbz69sy.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service80
|
|
7
|
+
} from "./repository-2h7px8sz.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID18,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-p4s9hdeb.js";
|
|
12
12
|
import {
|
|
13
13
|
ID17,
|
|
14
14
|
mergeOverlay2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-f6e7p22k.js";
|
|
16
16
|
import {
|
|
17
17
|
ID16,
|
|
18
18
|
VariantID2,
|
|
19
19
|
Info24
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./repository-e4nwzbzr.js";
|
|
21
21
|
import {
|
|
22
22
|
success2,
|
|
23
23
|
error2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./repository-yb20nhc3.js";
|
|
25
25
|
import {
|
|
26
26
|
get5
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./repository-3nnrz6f6.js";
|
|
28
28
|
import {
|
|
29
29
|
configuredSettings2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./repository-k83g76qh.js";
|
|
31
31
|
import {
|
|
32
32
|
onSwitch2,
|
|
33
33
|
reloadIfChanged2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./repository-b4hsppa9.js";
|
|
35
35
|
import {
|
|
36
36
|
activeCredential2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./repository-bws3jtw9.js";
|
|
38
38
|
|
|
39
39
|
// src/plugin/provider/chatgpt.ts
|
|
40
40
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -47,7 +47,7 @@ var tokenURL = `${issuer}/api/accounts/oauth/token`;
|
|
|
47
47
|
var resource = "https://api.openai.com/v1";
|
|
48
48
|
var tokenSharingScope = "chatgpt.tokens.use.direct";
|
|
49
49
|
var providerID = ID17.openai;
|
|
50
|
-
var integrationID =
|
|
50
|
+
var integrationID = ID18.make("openai");
|
|
51
51
|
var methodID = MethodID2.make("chatgpt-token-sharing");
|
|
52
52
|
var modelCacheKey = (clientID) => `models:${clientID}`;
|
|
53
53
|
var fallbackModels = new Set([
|
|
@@ -184,7 +184,7 @@ function listen(server) {
|
|
|
184
184
|
var ChatGPTPlugin2 = define({
|
|
185
185
|
id: "opencode.provider.chatgpt",
|
|
186
186
|
effect: Effect.fn(function* (ctx) {
|
|
187
|
-
const credentials = yield*
|
|
187
|
+
const credentials = yield* Service80;
|
|
188
188
|
const loading = Semaphore.makeUnsafe(1);
|
|
189
189
|
let chatgpt;
|
|
190
190
|
let source;
|
|
@@ -198,7 +198,7 @@ var ChatGPTPlugin2 = define({
|
|
|
198
198
|
yield* ctx.integration.transform((editor) => {
|
|
199
199
|
editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
|
|
200
200
|
});
|
|
201
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
201
|
+
yield* Effect.forEach(yield* credentials.list(ID18.make("openai")), (entry) => {
|
|
202
202
|
const value = entry.value;
|
|
203
203
|
if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
|
|
204
204
|
return Effect.void;
|