@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,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2,
|
|
3
3
|
exists2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-svcy3p9a.js";
|
|
5
5
|
import {
|
|
6
6
|
AbsolutePath2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-z5v4ffb3.js";
|
|
8
8
|
import {
|
|
9
9
|
root2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-86kkc16z.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service83,
|
|
13
|
+
node87
|
|
14
|
+
} from "./repository-8sfccg3j.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service59,
|
|
17
|
+
node61
|
|
18
|
+
} from "./repository-0bz9q8qd.js";
|
|
19
19
|
import {
|
|
20
20
|
invocation2,
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service65,
|
|
22
|
+
node68
|
|
23
|
+
} from "./repository-mbvsapx9.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./repository-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/file-access.ts
|
|
29
29
|
var exports_file_access = {};
|
|
@@ -31,8 +31,8 @@ __export(exports_file_access, {
|
|
|
31
31
|
FileAccess: () => exports_file_access,
|
|
32
32
|
Kind: () => Kind2,
|
|
33
33
|
ResolveInput: () => ResolveInput2,
|
|
34
|
-
Service: () =>
|
|
35
|
-
node: () =>
|
|
34
|
+
Service: () => Service18,
|
|
35
|
+
node: () => node21,
|
|
36
36
|
resolvePath: () => resolvePath2
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -46,18 +46,18 @@ var ResolveInput2 = Schema.Struct({
|
|
|
46
46
|
kind: Kind2.pipe(Schema.optional)
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service18 extends Context.Service()("@opencode/FileAccess") {
|
|
50
50
|
}
|
|
51
51
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
52
52
|
const normalized = FSUtil.windowsPath(input);
|
|
53
53
|
return path.resolve(directory, normalized === "~" ? home : normalized.startsWith("~/") || process.platform === "win32" && normalized.startsWith("~\\") ? path.join(home, normalized.slice(2)) : normalized);
|
|
54
54
|
};
|
|
55
55
|
var slash = (value) => value.replaceAll("\\", "/");
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const { files } = yield*
|
|
56
|
+
var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
57
|
+
const { files } = yield* Service59;
|
|
58
58
|
const exists = (file) => exists2(files, file);
|
|
59
|
-
const location = yield*
|
|
60
|
-
const permission = yield*
|
|
59
|
+
const location = yield* Service83;
|
|
60
|
+
const permission = yield* Service65;
|
|
61
61
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
62
62
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
63
63
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -106,12 +106,12 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
106
106
|
});
|
|
107
107
|
return target;
|
|
108
108
|
});
|
|
109
|
-
return
|
|
109
|
+
return Service18.of({ resolve, authorizeExternal, authorizeRead });
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node21 = makeLocationNode({
|
|
112
|
+
service: Service18,
|
|
113
113
|
layer,
|
|
114
|
-
deps: [
|
|
114
|
+
deps: [node61, node87, node68]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { Kind2, ResolveInput2,
|
|
117
|
+
export { Kind2, ResolveInput2, Service18, resolvePath2, node21, exports_file_access };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
make15
|
|
3
|
+
} from "./repository-5n0rnk8e.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
make16
|
|
6
|
+
} from "./repository-ep6pe98a.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/claude-agent/claude/query-options.ts
|
|
12
12
|
var exports_query_options = {};
|
|
@@ -80,14 +80,14 @@ async function session2(input) {
|
|
|
80
80
|
systemPrompt: input.system,
|
|
81
81
|
includePartialMessages: true,
|
|
82
82
|
persistSession: input.persist,
|
|
83
|
-
hooks:
|
|
83
|
+
hooks: make15(input.pending),
|
|
84
84
|
mcpServers: {}
|
|
85
85
|
};
|
|
86
86
|
if (input.maxOutputTokens !== undefined) {
|
|
87
87
|
options.env = { ...options.env, CLAUDE_CODE_MAX_OUTPUT_TOKENS: String(input.maxOutputTokens) };
|
|
88
88
|
}
|
|
89
89
|
if (input.tools.length > 0)
|
|
90
|
-
options.mcpServers = { opencode: await
|
|
90
|
+
options.mcpServers = { opencode: await make16(input.tools, input.pending) };
|
|
91
91
|
if (input.resume !== undefined) {
|
|
92
92
|
options.resume = input.resume;
|
|
93
93
|
return options;
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service92,
|
|
3
3
|
node96
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-94x7x2bc.js";
|
|
5
5
|
import {
|
|
6
6
|
Service91,
|
|
7
7
|
node95
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-ad4g1b77.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service41,
|
|
11
|
+
node44
|
|
12
|
+
} from "./repository-8zkf5cgt.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2,
|
|
15
15
|
RelativePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-z5v4ffb3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service84,
|
|
19
|
+
node88
|
|
20
|
+
} from "./repository-86kkc16z.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Ref5
|
|
23
|
+
} from "./repository-8sfccg3j.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service74,
|
|
26
|
+
node78
|
|
27
|
+
} from "./repository-9c2bqs4t.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionMessage2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./repository-gftt206x.js";
|
|
31
31
|
import {
|
|
32
32
|
NotFoundError11
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./repository-r7z0jfb4.js";
|
|
34
34
|
import {
|
|
35
35
|
SessionEvent2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./repository-ec1grn59.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
38
|
+
Service39
|
|
39
|
+
} from "./repository-xpve62cf.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service67,
|
|
42
|
+
node70
|
|
43
|
+
} from "./repository-ggej6006.js";
|
|
44
44
|
import {
|
|
45
45
|
Item2,
|
|
46
46
|
serialized2,
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
Service40,
|
|
48
|
+
node43,
|
|
49
49
|
moveIDs2
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./repository-jy6ht0vf.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
52
|
+
Service38,
|
|
53
|
+
node42
|
|
54
|
+
} from "./repository-s5hs9nb1.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
56
|
+
node30
|
|
57
|
+
} from "./repository-5t0t932v.js";
|
|
58
58
|
import {
|
|
59
59
|
__export
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./repository-9rqn6x4v.js";
|
|
61
61
|
|
|
62
62
|
// src/session/move.ts
|
|
63
63
|
var exports_move = {};
|
|
@@ -65,9 +65,9 @@ __export(exports_move, {
|
|
|
65
65
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
66
66
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
67
67
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
68
|
-
Service: () =>
|
|
68
|
+
Service: () => Service25,
|
|
69
69
|
SessionMove: () => exports_move,
|
|
70
|
-
node: () =>
|
|
70
|
+
node: () => node29
|
|
71
71
|
});
|
|
72
72
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
73
73
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -83,17 +83,17 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
|
|
|
83
83
|
class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
class
|
|
86
|
+
class Service25 extends Context.Service()("@opencode/SessionMove") {
|
|
87
87
|
}
|
|
88
|
-
var layer = Layer.effect(
|
|
88
|
+
var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
89
89
|
const fs = yield* FSUtil.Service;
|
|
90
90
|
const global = yield* Global.Service;
|
|
91
|
-
const projects = yield*
|
|
92
|
-
const locations = yield*
|
|
93
|
-
const store = yield*
|
|
94
|
-
const execution = yield*
|
|
95
|
-
const instances = yield*
|
|
96
|
-
const admission = yield*
|
|
91
|
+
const projects = yield* Service84;
|
|
92
|
+
const locations = yield* Service74;
|
|
93
|
+
const store = yield* Service67;
|
|
94
|
+
const execution = yield* Service38;
|
|
95
|
+
const instances = yield* Service41;
|
|
96
|
+
const admission = yield* Service40;
|
|
97
97
|
const database = yield* Service92;
|
|
98
98
|
const bus = yield* Service91;
|
|
99
99
|
const get = Effect.fn("SessionMove.get")(function* (sessionID) {
|
|
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
115
115
|
return yield* new DestinationNotDirectoryError2({ directory });
|
|
116
116
|
const project = yield* projects.resolve(directory);
|
|
117
117
|
const destination = {
|
|
118
|
-
location:
|
|
118
|
+
location: Ref5.make({ directory, workspaceID: input.workspaceID }),
|
|
119
119
|
projectID: project.id,
|
|
120
120
|
subpath: RelativePath2.make(path.relative(project.directory, directory).replaceAll("\\", "/"))
|
|
121
121
|
};
|
|
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
131
131
|
return false;
|
|
132
132
|
if (!(yield* fs.isDir(session.location.directory)))
|
|
133
133
|
return true;
|
|
134
|
-
return yield*
|
|
134
|
+
return yield* Service39.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(Cause.fromReasons(cause.reasons.filter(Cause.isInterruptReason))) : Effect.succeed(true)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service25.of({
|
|
137
137
|
move: Effect.fn("SessionMove.move")(function* (input) {
|
|
138
138
|
const session = yield* get(input.sessionID);
|
|
139
139
|
const destination = yield* resolveDestination(session, input);
|
|
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
163
163
|
})
|
|
164
164
|
});
|
|
165
165
|
}));
|
|
166
|
-
var
|
|
167
|
-
service:
|
|
166
|
+
var node29 = makeGlobalNode({
|
|
167
|
+
service: Service25,
|
|
168
168
|
layer,
|
|
169
169
|
deps: [
|
|
170
170
|
FSUtil.node,
|
|
171
171
|
Global.node,
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
172
|
+
node88,
|
|
173
|
+
node78,
|
|
174
|
+
node70,
|
|
175
|
+
node42,
|
|
176
|
+
node44,
|
|
177
|
+
node43,
|
|
178
178
|
node96,
|
|
179
179
|
node95,
|
|
180
|
-
|
|
180
|
+
node30
|
|
181
181
|
]
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2,
|
|
184
|
+
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service25, node29, exports_move };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toolFailure2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-z0h12gs8.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./repository-8sfccg3j.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service59
|
|
9
|
+
} from "./repository-0bz9q8qd.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
Service19,
|
|
12
12
|
readText2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-hp5xq2f7.js";
|
|
14
14
|
import {
|
|
15
15
|
invocation2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service65
|
|
17
|
+
} from "./repository-mbvsapx9.js";
|
|
18
18
|
import {
|
|
19
19
|
resolvePath2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./repository-h3j309gg.js";
|
|
21
21
|
import {
|
|
22
22
|
fileDiff2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-6prwharc.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service17
|
|
26
|
+
} from "./repository-qcvzp09b.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./repository-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/tool/plugin/edit.ts
|
|
32
32
|
var exports_edit = {};
|
|
33
33
|
__export(exports_edit, {
|
|
34
34
|
EditTool: () => exports_edit,
|
|
35
|
-
Input: () =>
|
|
36
|
-
Output: () =>
|
|
37
|
-
Plugin: () =>
|
|
38
|
-
name: () =>
|
|
35
|
+
Input: () => Input11,
|
|
36
|
+
Output: () => Output8,
|
|
37
|
+
Plugin: () => Plugin15,
|
|
38
|
+
name: () => name11
|
|
39
39
|
});
|
|
40
40
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
41
41
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
42
42
|
import { Effect, Schema } from "effect";
|
|
43
|
-
var
|
|
44
|
-
var
|
|
43
|
+
var name11 = "edit";
|
|
44
|
+
var Input11 = Schema.Struct({
|
|
45
45
|
path: Schema.String.annotate({
|
|
46
46
|
description: "File to edit"
|
|
47
47
|
}),
|
|
@@ -51,7 +51,7 @@ var Input13 = Schema.Struct({
|
|
|
51
51
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
52
52
|
})
|
|
53
53
|
});
|
|
54
|
-
var
|
|
54
|
+
var Output8 = Schema.Struct({
|
|
55
55
|
files: Schema.Array(FileDiff.Info),
|
|
56
56
|
replacements: Schema.Number
|
|
57
57
|
});
|
|
@@ -243,20 +243,20 @@ var countBefore = (positions, offset) => {
|
|
|
243
243
|
}
|
|
244
244
|
return low;
|
|
245
245
|
};
|
|
246
|
-
var
|
|
246
|
+
var Plugin15 = {
|
|
247
247
|
id: "opencode.tool.edit",
|
|
248
248
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
249
|
-
const fileMutation = yield*
|
|
250
|
-
const fileWrite = yield*
|
|
251
|
-
const environment = yield*
|
|
252
|
-
const location = yield*
|
|
253
|
-
const permission = yield*
|
|
249
|
+
const fileMutation = yield* Service19;
|
|
250
|
+
const fileWrite = yield* Service17;
|
|
251
|
+
const environment = yield* Service59;
|
|
252
|
+
const location = yield* Service83;
|
|
253
|
+
const permission = yield* Service65;
|
|
254
254
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
255
|
-
name:
|
|
255
|
+
name: name11,
|
|
256
256
|
options: { codemode: false, permission: "edit" },
|
|
257
257
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. Write line breaks as \\n; the file's existing CRLF or LF line endings are matched and preserved. To change line endings themselves, make oldString and newString differ only in \\r; that edit applies to the exact bytes. If there is no exact match, the edit retries while ignoring typographic quote, dash, and space variants, then trailing whitespace on each line. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
258
|
-
input:
|
|
259
|
-
output:
|
|
258
|
+
input: Input11,
|
|
259
|
+
output: Output8,
|
|
260
260
|
execute: (input, context) => {
|
|
261
261
|
return Effect.gen(function* () {
|
|
262
262
|
if (input.oldString === input.newString) {
|
|
@@ -318,4 +318,4 @@ ${hint}` : ""}`
|
|
|
318
318
|
})
|
|
319
319
|
};
|
|
320
320
|
|
|
321
|
-
export {
|
|
321
|
+
export { name11, Input11, Output8, Plugin15, exports_edit };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-x4th4bpe.js";
|
|
7
7
|
|
|
8
8
|
// src/util/git-executable.ts
|
|
9
9
|
import { existsSync, realpathSync } from "node:fs";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-8cg7mtm3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service59,
|
|
6
|
+
node61
|
|
7
|
+
} from "./repository-0bz9q8qd.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service19,
|
|
17
|
+
node: () => node22,
|
|
18
18
|
readOptionalText: () => readOptionalText2,
|
|
19
19
|
readText: () => readText2,
|
|
20
20
|
syncTextBom: () => syncTextBom2
|
|
@@ -23,7 +23,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
23
23
|
import { Context, Effect, Layer } from "effect";
|
|
24
24
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
25
25
|
import { Bom } from "@opencode/util/bom";
|
|
26
|
-
class
|
|
26
|
+
class Service19 extends Context.Service()("@opencode/FileMutation") {
|
|
27
27
|
}
|
|
28
28
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
29
29
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -39,8 +39,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
39
39
|
return synced.text;
|
|
40
40
|
});
|
|
41
41
|
var transactionLocks = makeUnsafe2();
|
|
42
|
-
var layer = Layer.effect(
|
|
43
|
-
const environment = yield*
|
|
42
|
+
var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
43
|
+
const environment = yield* Service59;
|
|
44
44
|
const locks = makeUnsafe2();
|
|
45
45
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
46
46
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -62,8 +62,8 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
62
62
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, bom)));
|
|
63
63
|
return { ...writeResult(input.target, current !== undefined), bom };
|
|
64
64
|
})));
|
|
65
|
-
return
|
|
65
|
+
return Service19.of({ withLock, write, writeTextPreservingBom });
|
|
66
66
|
}));
|
|
67
|
-
var
|
|
67
|
+
var node22 = makeLocationNode({ service: Service19, layer, deps: [node61] });
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { Service19, readText2, readOptionalText2, syncTextBom2, node22, exports_file_mutation };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID18,
|
|
3
|
+
Service79
|
|
4
|
+
} from "./repository-p4s9hdeb.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/provider/llmgateway.ts
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
9
9
|
var LLMGatewayPlugin2 = define({
|
|
10
10
|
id: "opencode.provider.llmgateway",
|
|
11
11
|
effect: Effect.fn(function* (ctx) {
|
|
12
|
-
const integrations = yield*
|
|
12
|
+
const integrations = yield* Service79;
|
|
13
13
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
14
14
|
yield* ctx.provider.transform((evt) => {
|
|
15
15
|
for (const item of evt.list()) {
|
|
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
19
19
|
continue;
|
|
20
20
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
21
21
|
continue;
|
|
22
|
-
if (!configured.has(
|
|
22
|
+
if (!configured.has(ID18.make(item.provider.id)))
|
|
23
23
|
continue;
|
|
24
24
|
evt.update(item.provider.id, (provider) => {
|
|
25
25
|
provider.headers = {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service92
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-94x7x2bc.js";
|
|
4
4
|
import {
|
|
5
5
|
Service91
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-ad4g1b77.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service41
|
|
9
|
+
} from "./repository-8zkf5cgt.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-89287pr7.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-gftt206x.js";
|
|
16
16
|
import {
|
|
17
17
|
NotFoundError11,
|
|
18
18
|
PromptConflictError2,
|
|
@@ -20,37 +20,37 @@ import {
|
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-r7z0jfb4.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./repository-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service67
|
|
29
|
+
} from "./repository-ggej6006.js";
|
|
30
30
|
import {
|
|
31
31
|
SyntheticPayload2,
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
Service40
|
|
33
|
+
} from "./repository-jy6ht0vf.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
35
|
+
Service38
|
|
36
|
+
} from "./repository-s5hs9nb1.js";
|
|
37
37
|
import {
|
|
38
38
|
prepare2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./repository-4eyab45f.js";
|
|
40
40
|
import {
|
|
41
41
|
stage2,
|
|
42
42
|
clear2,
|
|
43
43
|
commit2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./repository-1psp2qsj.js";
|
|
45
45
|
import {
|
|
46
46
|
start4
|
|
47
|
-
} from "./
|
|
47
|
+
} from "./repository-k9akkpr2.js";
|
|
48
48
|
import {
|
|
49
49
|
get4
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./repository-c9vkkpgm.js";
|
|
51
51
|
import {
|
|
52
52
|
__export
|
|
53
|
-
} from "./
|
|
53
|
+
} from "./repository-9rqn6x4v.js";
|
|
54
54
|
|
|
55
55
|
// src/session/session.ts
|
|
56
56
|
var exports_session4 = {};
|
|
@@ -64,10 +64,10 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
64
64
|
var make23 = Effect.fn("Session.make")(function* () {
|
|
65
65
|
const bus = yield* Service91;
|
|
66
66
|
const database = yield* Service92;
|
|
67
|
-
const store = yield*
|
|
68
|
-
const instances = yield*
|
|
69
|
-
const execution = yield*
|
|
70
|
-
const admission = yield*
|
|
67
|
+
const store = yield* Service67;
|
|
68
|
+
const instances = yield* Service41;
|
|
69
|
+
const execution = yield* Service38;
|
|
70
|
+
const admission = yield* Service40;
|
|
71
71
|
const fs = yield* FSUtil.Service;
|
|
72
72
|
const scope = yield* Scope.Scope;
|
|
73
73
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
@@ -164,7 +164,7 @@ var make23 = Effect.fn("Session.make")(function* () {
|
|
|
164
164
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
165
165
|
const session = yield* get(sessionID);
|
|
166
166
|
const running = yield* Effect.gen(function* () {
|
|
167
|
-
const started = yield* start4({ session, command: input.command }).pipe(Effect.provideService(
|
|
167
|
+
const started = yield* start4({ session, command: input.command }).pipe(Effect.provideService(Service41, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
168
168
|
text: `User shell command failed to start:
|
|
169
169
|
${input.command}
|
|
170
170
|
|
|
@@ -193,7 +193,7 @@ ${error.message}`,
|
|
|
193
193
|
});
|
|
194
194
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
195
195
|
const session = yield* get(sessionID);
|
|
196
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
196
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service41, instances));
|
|
197
197
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
198
198
|
sessionID,
|
|
199
199
|
id: skill.id,
|
|
@@ -250,13 +250,13 @@ ${error.message}`,
|
|
|
250
250
|
const session = yield* get(sessionID);
|
|
251
251
|
if (yield* execution.isActive(sessionID))
|
|
252
252
|
return yield* new BusyError2({ sessionID });
|
|
253
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
253
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service41, instances), Effect.provideService(Service92, database), Effect.provideService(Service91, bus));
|
|
254
254
|
});
|
|
255
255
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
256
256
|
const session = yield* get(sessionID);
|
|
257
257
|
if (yield* execution.isActive(sessionID))
|
|
258
258
|
return yield* new BusyError2({ sessionID });
|
|
259
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
259
|
+
yield* clear2(session).pipe(Effect.provideService(Service41, instances), Effect.provideService(Service91, bus));
|
|
260
260
|
return yield* execution.wake(sessionID);
|
|
261
261
|
});
|
|
262
262
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|