@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,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured7,
|
|
11
|
+
layer: () => layer22,
|
|
12
|
+
make: () => make31,
|
|
13
|
+
node: () => node74,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make31()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make31(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make33(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer22 = (input) => Layer.succeed(Metadata2, make31(input));
|
|
32
|
+
var configured7 = (input) => makeGlobalNode({ service: Metadata2, layer: layer22(input), deps: [] });
|
|
33
|
+
var node74 = configured7();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make31, useragent2, layer22, configured7, node74, exports_app };
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-p94p4v4n.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-mb7mbhnz.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./repository-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./repository-86kkc16z.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
11
11
|
__export(exports_location, {
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info30,
|
|
13
13
|
Location: () => exports_location,
|
|
14
|
-
Ref: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Ref: () => Ref5,
|
|
15
|
+
Service: () => Service83,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node87,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
|
-
import { Info as
|
|
21
|
+
import { Info as Info30, Ref as Ref5, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
23
23
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
24
24
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
25
|
-
class
|
|
25
|
+
class Service83 extends Context.Service()("@opencode/Location") {
|
|
26
26
|
}
|
|
27
|
-
var
|
|
28
|
-
var layer = (ref) => Layer.effect(
|
|
27
|
+
var node87 = LayerNode.unbound(Service83, tags.values.location);
|
|
28
|
+
var layer = (ref) => Layer.effect(Service83, Effect.gen(function* () {
|
|
29
29
|
const fs = yield* FSUtil.Service;
|
|
30
|
-
const project = yield*
|
|
30
|
+
const project = yield* Service84;
|
|
31
31
|
const persist = ref.workspaceID !== undefined || (yield* fs.isDir(ref.directory));
|
|
32
32
|
const resolved = yield* project.resolve(ref.directory, { persist });
|
|
33
|
-
return
|
|
33
|
+
return Service83.of({
|
|
34
34
|
directory: ref.directory,
|
|
35
35
|
workspaceID: ref.workspaceID,
|
|
36
36
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -38,9 +38,9 @@ var layer = (ref) => Layer.effect(Service85, Effect.gen(function* () {
|
|
|
38
38
|
});
|
|
39
39
|
}));
|
|
40
40
|
var boundNode2 = (ref) => makeLocationNode({
|
|
41
|
-
service:
|
|
41
|
+
service: Service83,
|
|
42
42
|
layer: layer(ref),
|
|
43
|
-
deps: [FSUtil.node,
|
|
43
|
+
deps: [FSUtil.node, node88]
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Info30, Ref5, response2, Service83, node87, boundNode2, exports_location };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service41,
|
|
10
|
+
node: () => node44
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service41 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node44 = LayerNode.unbound(Service41, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service41, node44, exports_service2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-rb9dy4dg.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID9,
|
|
6
|
+
Service55
|
|
7
|
+
} from "./repository-f8f6ttpt.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-5k4n6v37.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-r7z0jfb4.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-mb7mbhnz.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./repository-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service55;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID9.make(from),
|
|
91
|
+
to: ID9.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Document3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-r17fbvme.js";
|
|
4
4
|
import {
|
|
5
5
|
match3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-1aqsckx4.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/managed-policy.ts
|
|
12
12
|
var exports_managed_policy = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
managesTransactionsNatively2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-08xzxa8e.js";
|
|
4
4
|
import {
|
|
5
5
|
makeWithDefaults2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-10ahnnaz.js";
|
|
7
7
|
import {
|
|
8
8
|
apply3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-rs5qbk4v.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/database/database.ts
|
|
15
15
|
var exports_database = {};
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service72
|
|
3
|
+
} from "./repository-2v4kkva7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./repository-8sfccg3j.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service71
|
|
9
|
+
} from "./repository-9a9v4e1n.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-p94p4v4n.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
File3,
|
|
15
|
+
Service76
|
|
16
|
+
} from "./repository-cfrsedvg.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./repository-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin34
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -31,17 +31,17 @@ import { sameDirectory } from "@opencode/util/path";
|
|
|
31
31
|
import path, { dirname, join } from "path";
|
|
32
32
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
33
33
|
import { HttpClient, HttpClientRequest } from "effect/http";
|
|
34
|
-
var
|
|
34
|
+
var Plugin34 = define({
|
|
35
35
|
id: "opencode.config.instruction",
|
|
36
36
|
effect: Effect.fn(function* (ctx) {
|
|
37
|
-
const discovery = yield*
|
|
37
|
+
const discovery = yield* Service76;
|
|
38
38
|
yield* Effect.gen(function* () {
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service71;
|
|
40
40
|
const fs = yield* FSUtil.Service;
|
|
41
41
|
const global = yield* Global.Service;
|
|
42
42
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
43
|
-
const location = yield*
|
|
44
|
-
const watcher = yield*
|
|
43
|
+
const location = yield* Service83;
|
|
44
|
+
const watcher = yield* Service72;
|
|
45
45
|
const changes = yield* PubSub.sliding(1);
|
|
46
46
|
const watches = yield* FiberMap.make();
|
|
47
47
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -66,13 +66,13 @@ var Plugin41 = define({
|
|
|
66
66
|
yield* updates.pipe(Stream.runForEach(publish), Effect.forkScoped({ startImmediately: true }));
|
|
67
67
|
}
|
|
68
68
|
const read = Effect.fn("ConfigInstructionPlugin.read")(function* (filepath) {
|
|
69
|
-
return yield* fs.readFileString(filepath).pipe(Effect.map((content) => new
|
|
69
|
+
return yield* fs.readFileString(filepath).pipe(Effect.map((content) => new File3({ path: filepath, content })), Effect.catchIf((error) => error.reason._tag === "NotFound" || FSUtil.isAccessDenied(error), (error) => Effect.logDebug("instruction file skipped", { path: filepath, reason: error.reason._tag }).pipe(Effect.as(error.reason._tag === "NotFound" ? undefined : "denied"))));
|
|
70
70
|
});
|
|
71
71
|
const globalSource = Effect.fn("ConfigInstructionPlugin.globalSource")(function* () {
|
|
72
72
|
if (!discovery.global || !(yield* fs.isFile(globalFile)))
|
|
73
73
|
return [];
|
|
74
74
|
const file = yield* read(globalFile);
|
|
75
|
-
return file instanceof
|
|
75
|
+
return file instanceof File3 ? [file] : [];
|
|
76
76
|
});
|
|
77
77
|
const projectSource = Effect.fn("ConfigInstructionPlugin.projectSource")(function* () {
|
|
78
78
|
if (!project)
|
|
@@ -82,7 +82,7 @@ var Plugin41 = define({
|
|
|
82
82
|
const files = yield* Effect.forEach(discovered, read, { concurrency: "unbounded" });
|
|
83
83
|
if (files.some((file) => file === undefined))
|
|
84
84
|
return unavailable3;
|
|
85
|
-
return files.filter((file) => file instanceof
|
|
85
|
+
return files.filter((file) => file instanceof File3);
|
|
86
86
|
});
|
|
87
87
|
const match = Effect.fn("ConfigInstructionPlugin.match")(function* (source) {
|
|
88
88
|
const expanded = source.startsWith("~/") ? path.join(global.home, source.slice(2)) : source;
|
|
@@ -117,7 +117,7 @@ var Plugin41 = define({
|
|
|
117
117
|
continue;
|
|
118
118
|
watched.add(resolved);
|
|
119
119
|
const file = yield* read(resolved);
|
|
120
|
-
if (file instanceof
|
|
120
|
+
if (file instanceof File3)
|
|
121
121
|
files.push(file);
|
|
122
122
|
}
|
|
123
123
|
}
|
|
@@ -136,7 +136,7 @@ var Plugin41 = define({
|
|
|
136
136
|
const reconfigure = Effect.fn("ConfigInstructionPlugin.reconfigure")(function* () {
|
|
137
137
|
const entries = yield* config.entries();
|
|
138
138
|
const sources = Array.from(new Set(entries.flatMap((entry) => entry.type === "document" ? entry.info.instructions ?? [] : [])));
|
|
139
|
-
const fetched = yield* Effect.forEach(sources.filter(isUrl), (url) => HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.text), Effect.timeout("5 seconds"), Effect.map((content) => new
|
|
139
|
+
const fetched = yield* Effect.forEach(sources.filter(isUrl), (url) => HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.text), Effect.timeout("5 seconds"), Effect.map((content) => new File3({ path: url, content })), Effect.catchCause((cause) => Effect.logWarning("failed to fetch instruction url", { url, cause }).pipe(Effect.as(configured.remote.get(url))))), { concurrency: 4 });
|
|
140
140
|
configured.sources = sources;
|
|
141
141
|
configured.remote = new Map(fetched.filter((file) => file !== undefined).map((file) => [file.path, file]));
|
|
142
142
|
}, (effect) => lock.withPermit(effect));
|
|
@@ -180,4 +180,4 @@ function isUrl(source) {
|
|
|
180
180
|
return URL.canParse(source) && /^https?:$/.test(new URL(source).protocol);
|
|
181
181
|
}
|
|
182
182
|
|
|
183
|
-
export {
|
|
183
|
+
export { Plugin34, exports_instruction };
|
|
@@ -1,71 +1,71 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service91,
|
|
3
3
|
node95
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-ad4g1b77.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
6
|
+
ID19,
|
|
7
|
+
Event18,
|
|
8
|
+
Service80,
|
|
9
|
+
node84
|
|
10
|
+
} from "./repository-2h7px8sz.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service72,
|
|
13
|
+
node76
|
|
14
|
+
} from "./repository-2v4kkva7.js";
|
|
15
15
|
import {
|
|
16
16
|
AbsolutePath2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./repository-z5v4ffb3.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service83,
|
|
20
|
+
node87
|
|
21
|
+
} from "./repository-8sfccg3j.js";
|
|
22
22
|
import {
|
|
23
23
|
substitute2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./repository-7w2ypzdf.js";
|
|
25
25
|
import {
|
|
26
26
|
normalize3
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./repository-f25p614d.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
29
|
+
names4,
|
|
30
30
|
stripPreferenceMetadata2,
|
|
31
31
|
discover3
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./repository-9hxzqb8n.js";
|
|
33
33
|
import {
|
|
34
34
|
plan2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./repository-1x2knyw4.js";
|
|
36
36
|
import {
|
|
37
37
|
Document3,
|
|
38
38
|
WellKnownDocument2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./repository-r17fbvme.js";
|
|
40
40
|
import {
|
|
41
41
|
Document2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./repository-4dx1dgte.js";
|
|
43
43
|
import {
|
|
44
44
|
statements2,
|
|
45
45
|
decision2,
|
|
46
46
|
integrationResource2,
|
|
47
47
|
account2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./repository-94e33dpz.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
} from "./
|
|
50
|
+
Service89,
|
|
51
|
+
Event21,
|
|
52
|
+
node93
|
|
53
|
+
} from "./repository-my66mdgm.js";
|
|
54
54
|
import {
|
|
55
55
|
__export
|
|
56
|
-
} from "./
|
|
56
|
+
} from "./repository-9rqn6x4v.js";
|
|
57
57
|
|
|
58
58
|
// src/config.ts
|
|
59
59
|
var exports_config = {};
|
|
60
60
|
__export(exports_config, {
|
|
61
61
|
Config: () => exports_config,
|
|
62
|
-
Options: () =>
|
|
63
|
-
Service: () =>
|
|
62
|
+
Options: () => Options5,
|
|
63
|
+
Service: () => Service71,
|
|
64
64
|
Test: () => Test2,
|
|
65
|
-
configured: () =>
|
|
65
|
+
configured: () => configured8,
|
|
66
66
|
latest: () => latest2,
|
|
67
|
-
layer: () =>
|
|
68
|
-
node: () =>
|
|
67
|
+
layer: () => layer23,
|
|
68
|
+
node: () => node75,
|
|
69
69
|
testLayer: () => testLayer2
|
|
70
70
|
});
|
|
71
71
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -81,7 +81,7 @@ import { ChildProcess } from "effect/process";
|
|
|
81
81
|
function latest2(entries, key) {
|
|
82
82
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
83
83
|
}
|
|
84
|
-
var
|
|
84
|
+
var Options5 = Schema.Struct({
|
|
85
85
|
project: Schema.optional(Schema.Boolean),
|
|
86
86
|
global: Schema.optional(Schema.Boolean),
|
|
87
87
|
system: Schema.optional(Schema.Union([Schema.Boolean, Schema.String])),
|
|
@@ -90,7 +90,7 @@ var Options7 = Schema.Struct({
|
|
|
90
90
|
content: Schema.optional(Schema.String)
|
|
91
91
|
});
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service71 extends Context.Service()("@opencode/Config") {
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -117,16 +117,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
117
117
|
state.integrations = document ? next.set(integrationID, document) : next;
|
|
118
118
|
})
|
|
119
119
|
});
|
|
120
|
-
return Context.empty().pipe(Context.add(
|
|
120
|
+
return Context.empty().pipe(Context.add(Service71, service), Context.add(Test2, service));
|
|
121
121
|
}));
|
|
122
|
-
var
|
|
122
|
+
var layer23 = (options) => Layer.effect(Service71, Effect.gen(function* () {
|
|
123
123
|
const fs = yield* FSUtil.Service;
|
|
124
|
-
const location = yield*
|
|
125
|
-
const watcher = yield*
|
|
124
|
+
const location = yield* Service83;
|
|
125
|
+
const watcher = yield* Service72;
|
|
126
126
|
const bus = yield* Service91;
|
|
127
|
-
const credentials = yield*
|
|
127
|
+
const credentials = yield* Service80;
|
|
128
128
|
const globalService = yield* Global.Service;
|
|
129
|
-
const wellknown = yield*
|
|
129
|
+
const wellknown = yield* Service89;
|
|
130
130
|
const processes = yield* AppProcess.Service;
|
|
131
131
|
const integrations = new Map;
|
|
132
132
|
const context = yield* Effect.context();
|
|
@@ -197,7 +197,7 @@ var layer24 = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
|
197
197
|
return yield* Effect.forEach(entries, (entry) => loadWellknownEntry(entry).pipe(Effect.map((documents) => ({ integrationID: entry.integrationID, documents }))));
|
|
198
198
|
});
|
|
199
199
|
const supplies = Effect.fnUntraced(function* (lockdown, integrationID, connection) {
|
|
200
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
200
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID19.make(connection.id)) : undefined;
|
|
201
201
|
const resource = integrationResource2(integrationID, stored ? account2(stored.value) : undefined);
|
|
202
202
|
return decision2(lockdown, "integration.use", resource) !== "deny";
|
|
203
203
|
});
|
|
@@ -220,7 +220,7 @@ var layer24 = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
|
220
220
|
});
|
|
221
221
|
const loadDirectory = Effect.fnUntraced(function* (directory) {
|
|
222
222
|
return [
|
|
223
|
-
...yield* Effect.forEach(
|
|
223
|
+
...yield* Effect.forEach(names4, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
|
|
224
224
|
new Directory({ type: "directory", path: directory })
|
|
225
225
|
];
|
|
226
226
|
});
|
|
@@ -295,8 +295,8 @@ var layer24 = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
|
295
295
|
}, (effect) => reloadLock.withPermit(effect));
|
|
296
296
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
297
297
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
298
|
-
yield* bus.subscribe(
|
|
299
|
-
yield* bus.subscribe(
|
|
298
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
299
|
+
yield* bus.subscribe(Event21.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
300
300
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
301
301
|
if (!wellknown.snapshot().length)
|
|
302
302
|
return Effect.void;
|
|
@@ -309,7 +309,7 @@ var layer24 = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
|
309
309
|
yield* reloadLock.withPermit(reconcile(initial));
|
|
310
310
|
const update = Effect.fn("Config.update")(function* (patch) {
|
|
311
311
|
const directory = initial.global ?? AbsolutePath2.make(globalService.config);
|
|
312
|
-
const candidates =
|
|
312
|
+
const candidates = names4.map((name) => path.join(directory, name));
|
|
313
313
|
const filepath = (yield* Effect.filter(candidates, fs.isFile)).at(-1) ?? path.join(directory, "opencode.jsonc");
|
|
314
314
|
const text = (yield* fs.readFileStringSafe(filepath)) ?? `{}
|
|
315
315
|
`;
|
|
@@ -324,7 +324,7 @@ var layer24 = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
|
324
324
|
`);
|
|
325
325
|
yield* requestReload;
|
|
326
326
|
}, (effect) => updateLock.withPermit(effect));
|
|
327
|
-
return
|
|
327
|
+
return Service71.of({
|
|
328
328
|
entries: Effect.fnUntraced(function* () {
|
|
329
329
|
return configs;
|
|
330
330
|
}),
|
|
@@ -345,22 +345,22 @@ var layer24 = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
|
345
345
|
})
|
|
346
346
|
});
|
|
347
347
|
}));
|
|
348
|
-
function
|
|
348
|
+
function configured8(options) {
|
|
349
349
|
return makeLocationNode({
|
|
350
|
-
service:
|
|
351
|
-
layer:
|
|
350
|
+
service: Service71,
|
|
351
|
+
layer: layer23(options),
|
|
352
352
|
deps: [
|
|
353
|
-
|
|
353
|
+
node76,
|
|
354
354
|
node95,
|
|
355
355
|
FSUtil.node,
|
|
356
356
|
Global.node,
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
357
|
+
node87,
|
|
358
|
+
node84,
|
|
359
|
+
node93,
|
|
360
360
|
AppProcess.node
|
|
361
361
|
]
|
|
362
362
|
});
|
|
363
363
|
}
|
|
364
|
-
var
|
|
364
|
+
var node75 = configured8();
|
|
365
365
|
|
|
366
|
-
export { latest2,
|
|
366
|
+
export { latest2, Options5, Service71, Test2, testLayer2, layer23, configured8, node75, exports_config };
|