@opencode/core 0.0.0-dev-930 → 0.0.0-dev-932
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 +92 -92
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +9 -9
- package/dist/artifact.js +250 -250
- package/dist/bus.js +84 -84
- package/dist/chunks/{app-67gy8jg0.js → location-services-00eb18yd.js} +17 -17
- package/dist/chunks/{app-9hf0evrd.js → location-services-00p3ph88.js} +9 -9
- package/dist/chunks/{app-hey4n9e0.js → location-services-030ja76d.js} +15 -15
- package/dist/chunks/{app-c90jxhtf.js → location-services-034amxa6.js} +12 -12
- package/dist/chunks/{app-034tev2y.js → location-services-034tev2y.js} +2 -2
- package/dist/chunks/{app-km0aqjb8.js → location-services-03jtn3px.js} +6 -6
- package/dist/chunks/{app-9n041za2.js → location-services-04g3g75g.js} +26 -26
- package/dist/chunks/{app-vd9b5bna.js → location-services-05x1wb0n.js} +12 -12
- package/dist/chunks/{app-1j45dc5e.js → location-services-068ht3cm.js} +12 -12
- package/dist/chunks/{app-2wvp08v2.js → location-services-076bn8p3.js} +15 -15
- package/dist/chunks/{app-0wsez188.js → location-services-0ae70vvn.js} +13 -13
- package/dist/chunks/{app-0j7gp832.js → location-services-0j7gp832.js} +1 -1
- package/dist/chunks/{app-0ma9gw4f.js → location-services-0ma9gw4f.js} +2 -2
- package/dist/chunks/{app-39sgvy3e.js → location-services-0php2d2a.js} +4 -4
- package/dist/chunks/{app-h42n7g38.js → location-services-0qstkd96.js} +12 -12
- package/dist/chunks/{app-y3t41wh2.js → location-services-0rj23bn5.js} +11 -11
- package/dist/chunks/{app-n2gb5j71.js → location-services-0vaaqfb8.js} +19 -19
- package/dist/chunks/{app-ygat9vf5.js → location-services-11yktptr.js} +25 -25
- package/dist/chunks/{app-wqqn7zha.js → location-services-14f9ryy7.js} +7 -7
- package/dist/chunks/{app-eznvan59.js → location-services-1616fpg6.js} +6 -6
- package/dist/chunks/{app-4hw44f8s.js → location-services-16n0mh9h.js} +11 -11
- package/dist/chunks/{app-5c7p9e10.js → location-services-18b1hh0p.js} +8 -8
- package/dist/chunks/{app-1aqsckx4.js → location-services-1aqsckx4.js} +1 -1
- package/dist/chunks/{app-1ep2p91f.js → location-services-1ep2p91f.js} +2 -2
- package/dist/chunks/location-services-1h0x0ayx.js +26 -0
- package/dist/chunks/{app-a7pq7p46.js → location-services-1pw3h209.js} +18 -18
- package/dist/chunks/{app-1v2g13eq.js → location-services-1v2g13eq.js} +4 -4
- package/dist/chunks/{app-1x2knyw4.js → location-services-1x2knyw4.js} +1 -1
- package/dist/chunks/{app-p7vhpwh8.js → location-services-1yq9hg58.js} +5 -5
- package/dist/chunks/{app-2y33qs27.js → location-services-215njyj7.js} +9 -9
- package/dist/chunks/{app-ypqfjrwr.js → location-services-21rj3a9a.js} +26 -26
- package/dist/chunks/{app-jjvvtnfs.js → location-services-26wfx3k0.js} +4 -4
- package/dist/chunks/{app-2fc7eemy.js → location-services-2fc7eemy.js} +1 -1
- package/dist/chunks/{app-2p60zmnr.js → location-services-2p60zmnr.js} +2 -2
- package/dist/chunks/{app-npent30c.js → location-services-2ptfb2xb.js} +6 -6
- package/dist/chunks/{app-90ct6wq4.js → location-services-38aws4xb.js} +4 -4
- package/dist/chunks/{app-mkxnffcz.js → location-services-3b80k74n.js} +43 -43
- package/dist/chunks/{app-p39zyxw8.js → location-services-3eg4b8kf.js} +15 -15
- package/dist/chunks/{app-3hepkmqq.js → location-services-3hepkmqq.js} +1 -1
- package/dist/chunks/{app-mh5aw221.js → location-services-3mwbyh8w.js} +21 -21
- package/dist/chunks/{app-t2grkwmv.js → location-services-3pa6gzmp.js} +4 -4
- package/dist/chunks/{app-40y6dtc2.js → location-services-40y6dtc2.js} +1 -1
- package/dist/chunks/{app-40za9wsf.js → location-services-40za9wsf.js} +2 -2
- package/dist/chunks/{app-44pmzq9c.js → location-services-44pmzq9c.js} +2 -2
- package/dist/chunks/{app-8kze1sqp.js → location-services-4943c7ee.js} +3 -3
- package/dist/chunks/{app-8cg7mtm3.js → location-services-4d2dtj2f.js} +4 -4
- package/dist/chunks/{app-mr37h189.js → location-services-4d6yzd5c.js} +4 -4
- package/dist/chunks/{app-4dx1dgte.js → location-services-4dx1dgte.js} +1 -1
- package/dist/chunks/{app-dtz66er0.js → location-services-4esc05fd.js} +31 -31
- package/dist/chunks/{app-4f25tdd0.js → location-services-4f25tdd0.js} +1 -1
- package/dist/chunks/{app-ry7kp2db.js → location-services-4ffhv9d7.js} +7 -7
- package/dist/chunks/{app-7tamtvk1.js → location-services-4n23eqd9.js} +14 -14
- package/dist/chunks/{app-4pyp9zr9.js → location-services-4pyp9zr9.js} +1 -1
- package/dist/chunks/{app-f9q5e29p.js → location-services-4r57zead.js} +13 -13
- package/dist/chunks/{app-jgshkq3g.js → location-services-4rzb9pqa.js} +7 -7
- package/dist/chunks/{app-4v008n1t.js → location-services-4v008n1t.js} +1 -1
- package/dist/chunks/{app-2za7en0g.js → location-services-5avzpymh.js} +7 -7
- package/dist/chunks/{app-1s2p2vnr.js → location-services-5eepw9xc.js} +59 -59
- package/dist/chunks/{app-ws9xzb2h.js → location-services-5j9y8mkr.js} +52 -52
- package/dist/chunks/{app-5m9w47nd.js → location-services-5m9w47nd.js} +1 -1
- package/dist/chunks/{app-twma9mff.js → location-services-5my1wk5q.js} +33 -33
- package/dist/chunks/{app-eay54qxk.js → location-services-5r4de6xv.js} +53 -53
- package/dist/chunks/{app-3b760w7q.js → location-services-5wn3t7xk.js} +2 -2
- package/dist/chunks/location-services-5zcyx99g.js +16 -0
- package/dist/chunks/{app-9e6qe24r.js → location-services-66sx5m3p.js} +11 -11
- package/dist/chunks/{app-2n65r591.js → location-services-6dpjhrgg.js} +21 -21
- package/dist/chunks/{app-bs293djh.js → location-services-6r5g7fbf.js} +14 -14
- package/dist/chunks/{app-pf1bzhgp.js → location-services-71qtwrpw.js} +26 -26
- package/dist/chunks/{app-nek18195.js → location-services-72t05j5x.js} +37 -37
- package/dist/chunks/{app-80mg3ag8.js → location-services-775hqbnd.js} +3 -3
- package/dist/chunks/{app-7bmhse3q.js → location-services-7bmhse3q.js} +1 -1
- package/dist/chunks/{app-1xqtr3dk.js → location-services-7et9czqd.js} +13 -13
- package/dist/chunks/{app-c6x7d2ts.js → location-services-7ffybbfj.js} +5 -5
- package/dist/chunks/{app-22wp63zj.js → location-services-7h7tvtg0.js} +2 -2
- package/dist/chunks/{app-7nqkf5r1.js → location-services-7nqkf5r1.js} +2 -2
- package/dist/chunks/{app-vm9vyqs1.js → location-services-7rrs0ze8.js} +3 -3
- package/dist/chunks/{app-v28xtsye.js → location-services-7tdxzyyf.js} +7 -7
- package/dist/chunks/{app-7w2ypzdf.js → location-services-7w2ypzdf.js} +1 -1
- package/dist/chunks/{app-7weczvnd.js → location-services-7weczvnd.js} +1 -1
- package/dist/chunks/{app-nma2f0f2.js → location-services-7x31z3f7.js} +11 -11
- package/dist/chunks/{app-3r9qa00m.js → location-services-7yxesyys.js} +16 -16
- package/dist/chunks/{app-zpf6e861.js → location-services-808n7bgv.js} +25 -25
- package/dist/chunks/{app-80pdk984.js → location-services-80pdk984.js} +1 -1
- package/dist/chunks/{app-3e5jrhb4.js → location-services-82phky2w.js} +14 -14
- package/dist/chunks/{app-fepr8zfr.js → location-services-84tpry0d.js} +22 -22
- package/dist/chunks/{app-rp6t20zc.js → location-services-859w1rtj.js} +5 -5
- package/dist/chunks/{app-89287pr7.js → location-services-89287pr7.js} +1 -1
- package/dist/chunks/{app-jb3zrt2e.js → location-services-89fb5nj9.js} +11 -11
- package/dist/chunks/{app-8b3vzgkx.js → location-services-8b3vzgkx.js} +1 -1
- package/dist/chunks/{app-t48jrnqq.js → location-services-8bcc8xgx.js} +3 -3
- package/dist/chunks/{app-pk4g31m5.js → location-services-8ftgkh75.js} +3 -3
- package/dist/chunks/{app-5sgvqzxv.js → location-services-8n7p6g7c.js} +37 -37
- package/dist/chunks/{app-8sxe6kv8.js → location-services-8sxe6kv8.js} +2 -2
- package/dist/chunks/{app-ydwgvzct.js → location-services-8v7c76s7.js} +25 -25
- package/dist/chunks/{app-8wtp7s3z.js → location-services-8wtp7s3z.js} +1 -1
- package/dist/chunks/{app-dd2px84z.js → location-services-8yp7p8a5.js} +9 -9
- package/dist/chunks/{app-8zv0xmg5.js → location-services-8zv0xmg5.js} +1 -1
- package/dist/chunks/{app-kzdam8c6.js → location-services-93xmyh8q.js} +5 -5
- package/dist/chunks/{app-h5chy42v.js → location-services-94e33dpz.js} +3 -3
- package/dist/chunks/{app-0mtp185z.js → location-services-963hk181.js} +9 -9
- package/dist/chunks/{app-9jfrvtvf.js → location-services-99yjcbf6.js} +43 -43
- package/dist/chunks/{app-6cqkw5v2.js → location-services-9rqhy0gk.js} +7 -7
- package/dist/chunks/{app-0646vvnq.js → location-services-9xjtc09c.js} +13 -13
- package/dist/chunks/{app-hpzys7pb.js → location-services-a4bajsrg.js} +11 -11
- package/dist/chunks/{app-vk7hhnk0.js → location-services-a5t2vkve.js} +30 -30
- package/dist/chunks/{app-g1zzfyxd.js → location-services-a7hrjhsw.js} +6 -6
- package/dist/chunks/{app-6z603f10.js → location-services-a9ey74ef.js} +15 -15
- package/dist/chunks/{app-94vhjfsr.js → location-services-a9g7j60y.js} +9 -9
- package/dist/chunks/{app-edjadrga.js → location-services-aevg9dbh.js} +23 -23
- package/dist/chunks/{app-d1m3f82a.js → location-services-ah50wnbc.js} +41 -41
- package/dist/chunks/{app-48hj1gxk.js → location-services-ak914rtg.js} +11 -11
- package/dist/chunks/{app-767h5cbz.js → location-services-aknhbnkk.js} +6 -6
- package/dist/chunks/{app-wgaqf3qg.js → location-services-amwq3gja.js} +9 -9
- package/dist/chunks/{app-jxj59ejr.js → location-services-avysq43j.js} +5 -5
- package/dist/chunks/{app-ayjs7tqn.js → location-services-ayjs7tqn.js} +2 -2
- package/dist/chunks/{app-50emzza2.js → location-services-b1w7ct0q.js} +9 -9
- package/dist/chunks/{app-b26ddj6h.js → location-services-b26ddj6h.js} +4 -4
- package/dist/chunks/{app-33k2ebs1.js → location-services-b3j5jf8z.js} +11 -11
- package/dist/chunks/{app-71anwv0r.js → location-services-b91h5xkx.js} +21 -21
- package/dist/chunks/{app-jkdcm5hg.js → location-services-bhfd478d.js} +4 -4
- package/dist/chunks/{app-ra6n3z8h.js → location-services-bkbjewn3.js} +7 -7
- package/dist/chunks/{app-1zw032jw.js → location-services-bs80dnhg.js} +3 -3
- package/dist/chunks/{app-bstexjd6.js → location-services-bstexjd6.js} +1 -1
- package/dist/chunks/{app-730f3fk2.js → location-services-bt36km6k.js} +7 -7
- package/dist/chunks/{app-adt1x0y6.js → location-services-bt5n8jk5.js} +2 -2
- package/dist/chunks/{app-wa4d1hh0.js → location-services-by9k6m7d.js} +25 -25
- package/dist/chunks/{app-fh2dwwpe.js → location-services-c3rwemgn.js} +22 -22
- package/dist/chunks/{app-6gca2vbz.js → location-services-c65wk5h3.js} +27 -27
- package/dist/chunks/{app-c7cw818c.js → location-services-c7cw818c.js} +2 -2
- package/dist/chunks/{app-yeh8t9m0.js → location-services-c7yyf9r0.js} +8 -8
- package/dist/chunks/{app-ee084dvx.js → location-services-c9h2bdhp.js} +10 -10
- package/dist/chunks/{app-0h93wryw.js → location-services-ckkjvf7a.js} +25 -25
- package/dist/chunks/{app-ydm2awtd.js → location-services-crb9mr53.js} +23 -23
- package/dist/chunks/{app-cxmhnm4d.js → location-services-cvx41m7z.js} +12 -12
- package/dist/chunks/{app-cwrgdav8.js → location-services-cwrgdav8.js} +2 -2
- package/dist/chunks/{app-yggdxra4.js → location-services-cx5260hs.js} +14 -14
- package/dist/chunks/{app-9ptdn7en.js → location-services-cyfyjvsj.js} +4 -4
- package/dist/chunks/{app-rj2v10wg.js → location-services-cyr33nte.js} +5 -5
- package/dist/chunks/{app-g95fypc9.js → location-services-d2e0j0zj.js} +21 -21
- package/dist/chunks/{app-6rdp941s.js → location-services-d3f7fth4.js} +32 -32
- package/dist/chunks/{app-d4v9tmah.js → location-services-d4v9tmah.js} +2 -2
- package/dist/chunks/{app-5nxf7pr1.js → location-services-da62fhsq.js} +19 -19
- package/dist/chunks/{app-ztwmqcbs.js → location-services-db6dvb2a.js} +22 -22
- package/dist/chunks/{app-r3wabzv3.js → location-services-dfrg1pgv.js} +10 -10
- package/dist/chunks/{app-9fr3b7yw.js → location-services-dnr442gb.js} +10 -10
- package/dist/chunks/{app-2cj9btjf.js → location-services-ds0t8ek9.js} +10 -10
- package/dist/chunks/{app-dt77769w.js → location-services-dt77769w.js} +1 -1
- package/dist/chunks/{app-336y0v0e.js → location-services-dtd1azc6.js} +14 -14
- package/dist/chunks/{app-6xtjqz2m.js → location-services-dvnqv6yn.js} +4 -4
- package/dist/chunks/{app-6dbch156.js → location-services-e377nend.js} +22 -22
- package/dist/chunks/{app-5yx6mxxt.js → location-services-e57p6bf8.js} +34 -34
- package/dist/chunks/{app-3187c04a.js → location-services-e5dpqtbg.js} +82 -82
- package/dist/chunks/{app-d7ghtrxv.js → location-services-ea6gy4sr.js} +8 -8
- package/dist/chunks/{app-3yaf1m62.js → location-services-ecj07vsr.js} +5 -5
- package/dist/chunks/{app-ngvqct0y.js → location-services-edv5p742.js} +13 -13
- package/dist/chunks/{app-eqw4pqj1.js → location-services-eqw4pqj1.js} +2 -2
- package/dist/chunks/{app-2f6y3wyx.js → location-services-etrnj9s7.js} +11 -11
- package/dist/chunks/{app-f15mqz6e.js → location-services-eyynt1vh.js} +43 -43
- package/dist/chunks/{app-mww4nk6n.js → location-services-f2te6h88.js} +21 -21
- package/dist/chunks/{app-h1zqhbvg.js → location-services-f7acan8v.js} +18 -18
- package/dist/chunks/{app-1eh2b87n.js → location-services-fd9y5092.js} +19 -19
- package/dist/chunks/{app-fffv3p7h.js → location-services-fffv3p7h.js} +1 -1
- package/dist/chunks/{app-fg9p65nk.js → location-services-fg9p65nk.js} +2 -2
- package/dist/chunks/{app-8jgvqrkh.js → location-services-fh2xetxm.js} +10 -10
- package/dist/chunks/{app-37c1sc5v.js → location-services-fy8nv03n.js} +16 -16
- package/dist/chunks/{app-jf0a2egm.js → location-services-fz29tkee.js} +5 -5
- package/dist/chunks/{app-y26jdh0p.js → location-services-fzj9f7b7.js} +13 -13
- package/dist/chunks/{app-m8a8p8m6.js → location-services-g5ys2ny0.js} +5 -5
- package/dist/chunks/{app-643wp8m1.js → location-services-g6j0byh0.js} +18 -18
- package/dist/chunks/{app-w1d15jf1.js → location-services-g7ytqmzv.js} +4 -4
- package/dist/chunks/{app-ddwaa558.js → location-services-g9ndtp1p.js} +4 -4
- package/dist/chunks/{app-gbjdnr5j.js → location-services-gbjdnr5j.js} +2 -2
- package/dist/chunks/{app-trgprtq4.js → location-services-get77tan.js} +11 -11
- package/dist/chunks/{app-9m6gxrkr.js → location-services-ggyk85y6.js} +35 -35
- package/dist/chunks/{app-sdt5j0rm.js → location-services-ghrv1g9c.js} +4 -4
- package/dist/chunks/{app-nxsj05qp.js → location-services-gmx77sv1.js} +12 -12
- package/dist/chunks/{app-hzcp0yxy.js → location-services-gwk3p7a1.js} +22 -22
- package/dist/chunks/{app-a6s57dw6.js → location-services-gwyytpcj.js} +6 -6
- package/dist/chunks/{app-gxs71cxp.js → location-services-gxs71cxp.js} +1 -1
- package/dist/chunks/{app-nrsrz85j.js → location-services-h6eznjre.js} +159 -159
- package/dist/chunks/{app-2ra1cvjf.js → location-services-hafjz1sj.js} +8 -8
- package/dist/chunks/{app-37c8jw0r.js → location-services-hdpykzjb.js} +14 -14
- package/dist/chunks/{app-hgzwgvze.js → location-services-hgzwgvze.js} +2 -2
- package/dist/chunks/{app-7trt7kgg.js → location-services-hj0xet7m.js} +5 -5
- package/dist/chunks/{app-1h076tz7.js → location-services-hjpt2390.js} +22 -22
- package/dist/chunks/{app-vmf39np0.js → location-services-hzvz0yv5.js} +20 -20
- package/dist/chunks/{app-b311bvtk.js → location-services-j05xgeqf.js} +10 -10
- package/dist/chunks/{app-rxpre413.js → location-services-j8j6p06v.js} +13 -13
- package/dist/chunks/{app-ze75qvmd.js → location-services-j9nxzz3g.js} +3 -3
- package/dist/chunks/{app-5rskchrm.js → location-services-jegdcphq.js} +29 -29
- package/dist/chunks/{app-48ggbv1f.js → location-services-jm4kpx5k.js} +8 -8
- package/dist/chunks/{app-jm70asfg.js → location-services-jm70asfg.js} +1 -1
- package/dist/chunks/{app-fme3h8gg.js → location-services-jq6jv4kq.js} +3 -3
- package/dist/chunks/{app-s2m9sy6h.js → location-services-jq79h74x.js} +4 -4
- package/dist/chunks/{app-3hg3bep4.js → location-services-jtqc45ta.js} +3 -3
- package/dist/chunks/{app-s2f7q82g.js → location-services-jttn5p00.js} +39 -39
- package/dist/chunks/{app-jv5ccajn.js → location-services-jv5ccajn.js} +2 -2
- package/dist/chunks/{app-rk9xm8jn.js → location-services-k1dc26g2.js} +12 -12
- package/dist/chunks/{app-9kwqkdns.js → location-services-k5y16x7n.js} +3 -3
- package/dist/chunks/{app-rqemyd5r.js → location-services-k64651g8.js} +2 -2
- package/dist/chunks/{app-h50a83qg.js → location-services-k6geg3g4.js} +7 -7
- package/dist/chunks/{app-9yqjp86x.js → location-services-ka01146j.js} +6 -6
- package/dist/chunks/{app-xfbyx6cg.js → location-services-kdx3qx4y.js} +11 -11
- package/dist/chunks/{app-qfz6bxfd.js → location-services-kj9n5bvh.js} +4 -4
- package/dist/chunks/{app-rnb8t1x2.js → location-services-kse531ts.js} +6 -6
- package/dist/chunks/{app-6gdtvz19.js → location-services-kt2bca40.js} +49 -49
- package/dist/chunks/{app-kt3bjfbg.js → location-services-kt3bjfbg.js} +1 -1
- package/dist/chunks/{app-bqrsqftq.js → location-services-kvf5vq95.js} +8 -8
- package/dist/chunks/{app-fargh1ea.js → location-services-kvmt29g0.js} +49 -49
- package/dist/chunks/{app-kzczzf4v.js → location-services-kzczzf4v.js} +1 -1
- package/dist/chunks/{app-m1714858.js → location-services-m1714858.js} +1 -1
- package/dist/chunks/{app-2a3a7k8r.js → location-services-m35zggzz.js} +36 -36
- package/dist/chunks/{app-3zrncgh3.js → location-services-m3nrp8fm.js} +20 -20
- package/dist/chunks/location-services-m4dpkth4.js +265 -0
- package/dist/chunks/{app-jahxfc61.js → location-services-m5brqekz.js} +9 -9
- package/dist/chunks/{app-m9w0rfyh.js → location-services-m9w0rfyh.js} +1 -1
- package/dist/chunks/{app-t5ykzd76.js → location-services-maetc2zy.js} +25 -25
- package/dist/chunks/{app-mb7mbhnz.js → location-services-mb7mbhnz.js} +3 -3
- package/dist/chunks/{app-jfz1azs2.js → location-services-mrq9q7g0.js} +4 -4
- package/dist/chunks/{app-zejrxb9p.js → location-services-mw7ynca8.js} +15 -15
- package/dist/chunks/{app-a9kjwepc.js → location-services-n12y6d39.js} +12 -12
- package/dist/chunks/{app-n320gsn2.js → location-services-n320gsn2.js} +1 -1
- package/dist/chunks/{app-r7zrbnjn.js → location-services-n3j33rb6.js} +4 -4
- package/dist/chunks/{app-rsq1d8w2.js → location-services-nbap750w.js} +31 -31
- package/dist/chunks/{app-kvs3x393.js → location-services-nhrkars0.js} +25 -25
- package/dist/chunks/{app-jt92w8ws.js → location-services-njgec4fk.js} +11 -11
- package/dist/chunks/{app-sgw0jkd5.js → location-services-nwtnzhyq.js} +11 -11
- package/dist/chunks/{app-pk1whten.js → location-services-p567rred.js} +26 -26
- package/dist/chunks/{app-dem2kqn4.js → location-services-pdkhck37.js} +14 -14
- package/dist/chunks/{app-jwz2j98a.js → location-services-perbtc84.js} +27 -27
- package/dist/chunks/{app-wnd715bp.js → location-services-pja8mbn7.js} +10 -10
- package/dist/chunks/{app-pknna89w.js → location-services-pknna89w.js} +1 -1
- package/dist/chunks/{app-9c7ta219.js → location-services-prrf0k71.js} +30 -30
- package/dist/chunks/{app-79wvfy28.js → location-services-q02n8ctq.js} +25 -25
- package/dist/chunks/{app-hcz4s32p.js → location-services-q1sb3k5v.js} +35 -35
- package/dist/chunks/{app-faj59est.js → location-services-q2ch8zdc.js} +19 -19
- package/dist/chunks/{app-xd53tz27.js → location-services-q6jsgfzz.js} +15 -15
- package/dist/chunks/{app-beq88yw8.js → location-services-q9aerynr.js} +6 -6
- package/dist/chunks/{app-b86d3h2n.js → location-services-qc21sf98.js} +18 -18
- package/dist/chunks/{app-rbg54dp1.js → location-services-qkc3z5ds.js} +4 -4
- package/dist/chunks/{app-qp7r0hxv.js → location-services-qp7r0hxv.js} +1 -1
- package/dist/chunks/{app-qsdghx1p.js → location-services-qsdghx1p.js} +1 -1
- package/dist/chunks/{app-zy2pwjwk.js → location-services-qtfkdt1d.js} +4 -4
- package/dist/chunks/{app-jrbrm25q.js → location-services-qtseg9sg.js} +30 -30
- package/dist/chunks/{app-mb47gv5p.js → location-services-qw2zfda3.js} +36 -36
- package/dist/chunks/{app-nkzb5f1v.js → location-services-r0wrga32.js} +8 -8
- package/dist/chunks/{app-r17fbvme.js → location-services-r17fbvme.js} +1 -1
- package/dist/chunks/{app-7n1pjrhc.js → location-services-r8s6c21z.js} +17 -17
- package/dist/chunks/{app-qafsr6ns.js → location-services-r9rwszaa.js} +24 -24
- package/dist/chunks/{app-rb9dy4dg.js → location-services-rb9dy4dg.js} +1 -1
- package/dist/chunks/{app-n3xzkyqm.js → location-services-rc8qyt8n.js} +9 -9
- package/dist/chunks/{app-rgc9cx3e.js → location-services-rgc9cx3e.js} +2 -2
- package/dist/chunks/{app-c5zvymhv.js → location-services-rj7j5fvs.js} +4 -4
- package/dist/chunks/{app-jec2t4h8.js → location-services-rmd0m2px.js} +15 -15
- package/dist/chunks/{app-rt5dr6hb.js → location-services-rt5dr6hb.js} +1 -1
- package/dist/chunks/location-services-rtdwr4dr.js +571 -0
- package/dist/chunks/{app-nzwqnw15.js → location-services-rwgjpast.js} +11 -11
- package/dist/chunks/{app-dkzk85aw.js → location-services-rznypb3b.js} +9 -9
- package/dist/chunks/{app-yftey8ff.js → location-services-s0d9zmve.js} +3 -3
- package/dist/chunks/{app-jrafahbk.js → location-services-s695hexq.js} +17 -17
- package/dist/chunks/{app-n1vr94tq.js → location-services-s7zxj15h.js} +16 -16
- package/dist/chunks/{app-sbya78hr.js → location-services-sbya78hr.js} +1 -1
- package/dist/chunks/{app-qa5zxexw.js → location-services-skmswm5g.js} +18 -18
- package/dist/chunks/{app-svcy3p9a.js → location-services-svcy3p9a.js} +1 -1
- package/dist/chunks/{app-zx9tvbtf.js → location-services-syrr4cnk.js} +26 -26
- package/dist/chunks/{app-2wv6wthb.js → location-services-t48nap8a.js} +10 -10
- package/dist/chunks/{app-xjr6c8m4.js → location-services-t54kw4zq.js} +7 -7
- package/dist/chunks/{app-abpeqptw.js → location-services-t5nq9mt3.js} +52 -52
- package/dist/chunks/{app-tbpn7jtk.js → location-services-tbpn7jtk.js} +1 -1
- package/dist/chunks/{app-tczq8hjw.js → location-services-tczq8hjw.js} +1 -1
- package/dist/chunks/{app-hy8c1z76.js → location-services-tg1vr1qt.js} +8 -8
- package/dist/chunks/{app-qm7n85he.js → location-services-tma5tkqa.js} +5 -5
- package/dist/chunks/{app-3nnrz6f6.js → location-services-tmc7xdjs.js} +4 -4
- package/dist/chunks/{app-0gtz7zec.js → location-services-tqbbmcnz.js} +8 -8
- package/dist/chunks/{app-tr8x705m.js → location-services-tr8x705m.js} +1 -1
- package/dist/chunks/{app-yep1cnjy.js → location-services-tva56gng.js} +26 -26
- package/dist/chunks/{app-tvtps2q9.js → location-services-tvtps2q9.js} +1 -1
- package/dist/chunks/{app-twssxy5n.js → location-services-twssxy5n.js} +2 -2
- package/dist/chunks/{app-yh69qe4y.js → location-services-ty1de05y.js} +5 -5
- package/dist/chunks/{app-pgyjdqbw.js → location-services-tzsf1d52.js} +29 -29
- package/dist/chunks/{app-8jft793v.js → location-services-v0g0hnh7.js} +11 -11
- package/dist/chunks/{app-v2r1d0zg.js → location-services-v2r1d0zg.js} +1 -1
- package/dist/chunks/{app-46y22gzs.js → location-services-v2tx47x3.js} +84 -84
- package/dist/chunks/{app-yq3shdw3.js → location-services-va0yj1jw.js} +1 -1
- package/dist/chunks/{app-t2wsy5r8.js → location-services-vf9xtskt.js} +31 -31
- package/dist/chunks/{app-0xhpxt7r.js → location-services-vgc2ek0g.js} +18 -18
- package/dist/chunks/{app-g15nk29q.js → location-services-vgh6br0h.js} +11 -11
- package/dist/chunks/{app-8sbpxsq1.js → location-services-vgqehety.js} +29 -29
- package/dist/chunks/{app-vjf35v1f.js → location-services-vjf35v1f.js} +1 -1
- package/dist/chunks/{app-g3bfjtxj.js → location-services-vneey271.js} +11 -11
- package/dist/chunks/{app-e734f2cn.js → location-services-vt65avf7.js} +11 -11
- package/dist/chunks/{app-xg5dygeb.js → location-services-vv9qzcre.js} +10 -10
- package/dist/chunks/{app-n9trcen2.js → location-services-vwn7ghnk.js} +8 -8
- package/dist/chunks/{app-9v25jcj2.js → location-services-vz50sc1a.js} +13 -13
- package/dist/chunks/{app-bxdjxqce.js → location-services-w0eagv9e.js} +17 -17
- package/dist/chunks/{app-ty5yzg6a.js → location-services-w2qhn4c4.js} +11 -11
- package/dist/chunks/{app-w3wsvvr9.js → location-services-w3wsvvr9.js} +1 -1
- package/dist/chunks/{app-30fg43tg.js → location-services-w3yeexex.js} +16 -16
- package/dist/chunks/{app-ct03wg50.js → location-services-w6k8psgx.js} +4 -4
- package/dist/chunks/{app-s7kyse9r.js → location-services-w79nt68w.js} +4 -4
- package/dist/chunks/{app-wakvkjy4.js → location-services-wakvkjy4.js} +1 -1
- package/dist/chunks/{app-wd87259q.js → location-services-wd87259q.js} +1 -1
- package/dist/chunks/{app-wegkxhrn.js → location-services-wegkxhrn.js} +2 -2
- package/dist/chunks/{app-7th61x42.js → location-services-whxfgz84.js} +56 -56
- package/dist/chunks/{app-yvswffek.js → location-services-whxz4j9j.js} +42 -42
- package/dist/chunks/{app-w8eqwrt1.js → location-services-wq9e5xpm.js} +32 -32
- package/dist/chunks/{app-fznmdakp.js → location-services-wr3re1en.js} +4 -4
- package/dist/chunks/{app-y26wey0g.js → location-services-wss1eb66.js} +2 -2
- package/dist/chunks/{app-vgr6napt.js → location-services-wt5qjg1e.js} +23 -23
- package/dist/chunks/{app-wvr8xscb.js → location-services-wvr8xscb.js} +1 -1
- package/dist/chunks/{app-qap00a9b.js → location-services-x1w545vb.js} +1 -1
- package/dist/chunks/{app-vt4r9rmy.js → location-services-x7de2wha.js} +9 -9
- package/dist/chunks/{app-nft2g627.js → location-services-x9jjjab0.js} +24 -24
- package/dist/chunks/{app-n36rfrjr.js → location-services-xbmehrqj.js} +34 -34
- package/dist/chunks/{app-4rn038z1.js → location-services-xjmw0bvy.js} +13 -13
- package/dist/chunks/{app-8xz27cp9.js → location-services-xksw6ev0.js} +4 -4
- package/dist/chunks/{app-4rj5yt86.js → location-services-xt401nd6.js} +6 -6
- package/dist/chunks/{app-9y5a7gke.js → location-services-xvwhr23v.js} +7 -7
- package/dist/chunks/{app-nvj01zaj.js → location-services-xzhb8n86.js} +12 -12
- package/dist/chunks/{app-8vct2pgr.js → location-services-y1havdw8.js} +3 -3
- package/dist/chunks/{app-4gvs6q0k.js → location-services-y45jeksc.js} +26 -26
- package/dist/chunks/{app-2q8j6dwb.js → location-services-y6w3x1sq.js} +36 -36
- package/dist/chunks/{app-yb20nhc3.js → location-services-yb20nhc3.js} +1 -1
- package/dist/chunks/{app-an8wxs9j.js → location-services-yf8nd4x1.js} +29 -29
- package/dist/chunks/{app-37s45rf8.js → location-services-yfx2dpdy.js} +83 -83
- package/dist/chunks/{app-adhmh10d.js → location-services-yjw8xrdm.js} +10 -10
- package/dist/chunks/{app-he6wzrv8.js → location-services-yjwsyv9v.js} +3 -3
- package/dist/chunks/{app-yr705xyq.js → location-services-yr705xyq.js} +1 -1
- package/dist/chunks/{app-w9mgb9cs.js → location-services-ys900tws.js} +1 -1
- package/dist/chunks/{app-g9k64m7h.js → location-services-yszjc0nx.js} +6 -6
- package/dist/chunks/{app-yvtc2x31.js → location-services-yvtc2x31.js} +1 -1
- package/dist/chunks/{app-2qc5fesg.js → location-services-yw6f4d0s.js} +23 -23
- package/dist/chunks/{app-xq2ks4jp.js → location-services-ywzxjrmt.js} +22 -22
- package/dist/chunks/{app-9hg20ptx.js → location-services-yx6hn7mj.js} +3 -3
- package/dist/chunks/{app-nc0n8dc5.js → location-services-yydfrqcz.js} +11 -11
- package/dist/chunks/location-services-z355x5yr.js +18 -0
- package/dist/chunks/{app-gbgmg4z3.js → location-services-zhc4er4e.js} +33 -33
- package/dist/chunks/{app-jk1z38ah.js → location-services-zkxdh370.js} +3 -3
- package/dist/chunks/{app-pkvcwv6f.js → location-services-zn9ejsze.js} +8 -8
- package/dist/chunks/{app-zpdbqgja.js → location-services-zpdbqgja.js} +1 -1
- package/dist/chunks/{app-ryt7j1x8.js → location-services-zvap4egn.js} +6 -6
- package/dist/chunks/{app-216kw834.js → location-services-zw2parfn.js} +41 -41
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +148 -148
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +155 -155
- package/dist/command.js +96 -96
- package/dist/config/discovery.js +97 -97
- package/dist/config/integration.js +1 -1
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +131 -131
- package/dist/config/plugin/command.js +238 -238
- package/dist/config/plugin/compaction.js +173 -173
- package/dist/config/plugin/compatibility.js +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 +141 -141
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +132 -132
- 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 +131 -131
- 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 +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +92 -92
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +83 -83
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +76 -76
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/v1-migration.bun.js +105 -105
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +440 -440
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +109 -109
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +83 -83
- 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 +160 -160
- 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 +89 -89
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +247 -247
- 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 +9 -9
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +104 -104
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +431 -431
- package/dist/instruction-discovery.js +95 -95
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +96 -96
- 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 +86 -86
- 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 +98 -98
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +158 -158
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/index.js +122 -122
- package/dist/mcp/instructions.js +189 -189
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/pool.js +112 -112
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +157 -157
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +104 -104
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +109 -109
- 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 +93 -93
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +156 -156
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +93 -93
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +85 -85
- package/dist/plugin/command.js +117 -117
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +244 -244
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +407 -407
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +127 -127
- package/dist/plugin/optimize.js +2 -2
- 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 +117 -117
- 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 +146 -146
- package/dist/plugin/provider/claude-agent/instructions.js +110 -110
- package/dist/plugin/provider/claude-agent/integration.js +115 -115
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +4 -4
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +112 -112
- 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 +138 -138
- package/dist/plugin/provider/local.js +137 -137
- package/dist/plugin/provider/modal.js +108 -108
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +140 -140
- package/dist/plugin/provider/openai-context-caps.js +106 -106
- package/dist/plugin/provider/openai.js +133 -133
- 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 +85 -85
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +150 -150
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +415 -415
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +5 -5
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +7 -7
- package/dist/plugin.js +255 -255
- 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 +110 -110
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +113 -113
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- 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 +3 -3
- package/dist/session/background.js +1 -1
- 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 +3 -3
- 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 +171 -171
- package/dist/session/generate.js +204 -204
- package/dist/session/history.js +139 -139
- package/dist/session/inbox.js +150 -150
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +88 -88
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +144 -144
- 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 +1 -1
- 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 +188 -188
- package/dist/session/shell.js +145 -145
- package/dist/session/skill.js +152 -152
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +145 -145
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +233 -233
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +207 -207
- package/dist/session/to-session-error.js +152 -152
- package/dist/session/transfer.js +246 -246
- package/dist/session/usage.js +1 -1
- package/dist/session.js +241 -241
- package/dist/shared-cache.js +5 -5
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +145 -145
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +154 -154
- package/dist/skill.js +159 -159
- package/dist/snapshot.js +106 -106
- 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 +188 -188
- 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 +165 -165
- package/dist/tool/plugin/image-generate.js +247 -247
- package/dist/tool/plugin/mcp-resource.js +169 -169
- package/dist/tool/plugin/opencode.js +166 -166
- package/dist/tool/plugin/patch.js +171 -171
- package/dist/tool/plugin/question.js +151 -151
- package/dist/tool/plugin/read.js +173 -173
- package/dist/tool/plugin/schedule.js +255 -255
- package/dist/tool/plugin/shell.js +243 -243
- package/dist/tool/plugin/skill.js +158 -158
- package/dist/tool/plugin/subagent.js +244 -244
- package/dist/tool/plugin/todo.js +156 -156
- package/dist/tool/plugin/webfetch.js +158 -158
- package/dist/tool/plugin/websearch.js +158 -158
- package/dist/tool/plugin/write.js +169 -169
- package/dist/tool/read-filesystem.js +116 -116
- 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 +165 -165
- 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 +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +2 -2
- 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 +101 -101
- package/dist/wellknown/plugin.js +85 -85
- package/dist/wellknown.js +92 -92
- 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 +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +113 -113
- package/package.json +9 -9
- package/dist/chunks/app-365eavge.js +0 -16
- package/dist/chunks/app-7yv5xa0k.js +0 -18
- package/dist/chunks/app-j7b6s1h1.js +0 -265
- package/dist/chunks/app-mcradxvh.js +0 -571
- package/dist/chunks/app-mvbgbg9v.js +0 -26
- /package/dist/chunks/{app-0qkdqm5v.js → location-services-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{app-0zkw76rk.js → location-services-0zkw76rk.js} +0 -0
- /package/dist/chunks/{app-108x4f4w.js → location-services-108x4f4w.js} +0 -0
- /package/dist/chunks/{app-17cy0kzp.js → location-services-17cy0kzp.js} +0 -0
- /package/dist/chunks/{app-1cnp2v09.js → location-services-1cnp2v09.js} +0 -0
- /package/dist/chunks/{app-1kah00gy.js → location-services-1kah00gy.js} +0 -0
- /package/dist/chunks/{app-24dcb14g.js → location-services-24dcb14g.js} +0 -0
- /package/dist/chunks/{app-2710q6r3.js → location-services-2710q6r3.js} +0 -0
- /package/dist/chunks/{app-2bv980vf.js → location-services-2bv980vf.js} +0 -0
- /package/dist/chunks/{app-2c3vjs8z.js → location-services-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{app-359p4xyc.js → location-services-359p4xyc.js} +0 -0
- /package/dist/chunks/{app-3af0jn4w.js → location-services-3af0jn4w.js} +0 -0
- /package/dist/chunks/{app-3asan66x.js → location-services-3asan66x.js} +0 -0
- /package/dist/chunks/{app-3v8g72cx.js → location-services-3v8g72cx.js} +0 -0
- /package/dist/chunks/{app-3wcehsnq.js → location-services-3wcehsnq.js} +0 -0
- /package/dist/chunks/{app-43n2bw4t.js → location-services-43n2bw4t.js} +0 -0
- /package/dist/chunks/{app-4knz6hnm.js → location-services-4knz6hnm.js} +0 -0
- /package/dist/chunks/{app-4qk9sjk2.js → location-services-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{app-4y7fprxs.js → location-services-4y7fprxs.js} +0 -0
- /package/dist/chunks/{app-53557ph1.js → location-services-53557ph1.js} +0 -0
- /package/dist/chunks/{app-550bvhaj.js → location-services-550bvhaj.js} +0 -0
- /package/dist/chunks/{app-5w3e23ze.js → location-services-5w3e23ze.js} +0 -0
- /package/dist/chunks/{app-6agm2x70.js → location-services-6agm2x70.js} +0 -0
- /package/dist/chunks/{app-6prwharc.js → location-services-6prwharc.js} +0 -0
- /package/dist/chunks/{app-6q2bdcd1.js → location-services-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{app-7akdwqpd.js → location-services-7akdwqpd.js} +0 -0
- /package/dist/chunks/{app-7m9af43g.js → location-services-7m9af43g.js} +0 -0
- /package/dist/chunks/{app-822emrt2.js → location-services-822emrt2.js} +0 -0
- /package/dist/chunks/{app-84wd9syh.js → location-services-84wd9syh.js} +0 -0
- /package/dist/chunks/{app-88xbtdfr.js → location-services-88xbtdfr.js} +0 -0
- /package/dist/chunks/{app-8n3pysct.js → location-services-8n3pysct.js} +0 -0
- /package/dist/chunks/{app-8wj87zfr.js → location-services-8wj87zfr.js} +0 -0
- /package/dist/chunks/{app-9a4afbnw.js → location-services-9a4afbnw.js} +0 -0
- /package/dist/chunks/{app-9rqn6x4v.js → location-services-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{app-a6k6eb26.js → location-services-a6k6eb26.js} +0 -0
- /package/dist/chunks/{app-af5trqkr.js → location-services-af5trqkr.js} +0 -0
- /package/dist/chunks/{app-afrmfg78.js → location-services-afrmfg78.js} +0 -0
- /package/dist/chunks/{app-aqzs7mqg.js → location-services-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{app-atq7p7m5.js → location-services-atq7p7m5.js} +0 -0
- /package/dist/chunks/{app-beh6qq61.js → location-services-beh6qq61.js} +0 -0
- /package/dist/chunks/{app-bhmrqjy3.js → location-services-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{app-bkyjaxrp.js → location-services-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{app-bmr6ed5q.js → location-services-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{app-cf4snx6d.js → location-services-cf4snx6d.js} +0 -0
- /package/dist/chunks/{app-cqv5kn06.js → location-services-cqv5kn06.js} +0 -0
- /package/dist/chunks/{app-cvy3z8tj.js → location-services-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{app-d9fn303g.js → location-services-d9fn303g.js} +0 -0
- /package/dist/chunks/{app-d9jj8t3e.js → location-services-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{app-dap0rakb.js → location-services-dap0rakb.js} +0 -0
- /package/dist/chunks/{app-df08tz66.js → location-services-df08tz66.js} +0 -0
- /package/dist/chunks/{app-dy18nga0.js → location-services-dy18nga0.js} +0 -0
- /package/dist/chunks/{app-e5kj55wp.js → location-services-e5kj55wp.js} +0 -0
- /package/dist/chunks/{app-ean2d8b5.js → location-services-ean2d8b5.js} +0 -0
- /package/dist/chunks/{app-ec1grn59.js → location-services-ec1grn59.js} +0 -0
- /package/dist/chunks/{app-emrn6kk6.js → location-services-emrn6kk6.js} +0 -0
- /package/dist/chunks/{app-f0mxakyp.js → location-services-f0mxakyp.js} +0 -0
- /package/dist/chunks/{app-f6n9ztr4.js → location-services-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{app-faypxj3z.js → location-services-faypxj3z.js} +0 -0
- /package/dist/chunks/{app-fd410y7t.js → location-services-fd410y7t.js} +0 -0
- /package/dist/chunks/{app-fkpq3x5p.js → location-services-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{app-g4wezp1m.js → location-services-g4wezp1m.js} +0 -0
- /package/dist/chunks/{app-g86h250q.js → location-services-g86h250q.js} +0 -0
- /package/dist/chunks/{app-gebd4c9n.js → location-services-gebd4c9n.js} +0 -0
- /package/dist/chunks/{app-gftt206x.js → location-services-gftt206x.js} +0 -0
- /package/dist/chunks/{app-hcxmzztb.js → location-services-hcxmzztb.js} +0 -0
- /package/dist/chunks/{app-hk9envan.js → location-services-hk9envan.js} +0 -0
- /package/dist/chunks/{app-j2ntwpah.js → location-services-j2ntwpah.js} +0 -0
- /package/dist/chunks/{app-j5zkgpj8.js → location-services-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{app-jjkms2e6.js → location-services-jjkms2e6.js} +0 -0
- /package/dist/chunks/{app-jr7sbwjy.js → location-services-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{app-jwfs4k6c.js → location-services-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{app-jwr30sdr.js → location-services-jwr30sdr.js} +0 -0
- /package/dist/chunks/{app-jzg6c2d5.js → location-services-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{app-m18g726c.js → location-services-m18g726c.js} +0 -0
- /package/dist/chunks/{app-mp448xyj.js → location-services-mp448xyj.js} +0 -0
- /package/dist/chunks/{app-msx8hqn2.js → location-services-msx8hqn2.js} +0 -0
- /package/dist/chunks/{app-n05xt0ee.js → location-services-n05xt0ee.js} +0 -0
- /package/dist/chunks/{app-n3j8tn72.js → location-services-n3j8tn72.js} +0 -0
- /package/dist/chunks/{app-nh4v3znn.js → location-services-nh4v3znn.js} +0 -0
- /package/dist/chunks/{app-njntx4h6.js → location-services-njntx4h6.js} +0 -0
- /package/dist/chunks/{app-p71gwv9c.js → location-services-p71gwv9c.js} +0 -0
- /package/dist/chunks/{app-q3sfg36h.js → location-services-q3sfg36h.js} +0 -0
- /package/dist/chunks/{app-q74kybfr.js → location-services-q74kybfr.js} +0 -0
- /package/dist/chunks/{app-qb87gjwd.js → location-services-qb87gjwd.js} +0 -0
- /package/dist/chunks/{app-qfa1cgps.js → location-services-qfa1cgps.js} +0 -0
- /package/dist/chunks/{app-qg3g05ea.js → location-services-qg3g05ea.js} +0 -0
- /package/dist/chunks/{app-qrg20bc0.js → location-services-qrg20bc0.js} +0 -0
- /package/dist/chunks/{app-rcb2kzg1.js → location-services-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{app-sdp7kfr6.js → location-services-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{app-ssg3fenm.js → location-services-ssg3fenm.js} +0 -0
- /package/dist/chunks/{app-syrav9an.js → location-services-syrav9an.js} +0 -0
- /package/dist/chunks/{app-t03h4f5z.js → location-services-t03h4f5z.js} +0 -0
- /package/dist/chunks/{app-ty7weeps.js → location-services-ty7weeps.js} +0 -0
- /package/dist/chunks/{app-ve7vex1e.js → location-services-ve7vex1e.js} +0 -0
- /package/dist/chunks/{app-vtarvj67.js → location-services-vtarvj67.js} +0 -0
- /package/dist/chunks/{app-w803qqfp.js → location-services-w803qqfp.js} +0 -0
- /package/dist/chunks/{app-wc3fc9cn.js → location-services-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{app-wer8tq1h.js → location-services-wer8tq1h.js} +0 -0
- /package/dist/chunks/{app-wtztk69x.js → location-services-wtztk69x.js} +0 -0
- /package/dist/chunks/{app-x0ckcb58.js → location-services-x0ckcb58.js} +0 -0
- /package/dist/chunks/{app-x4th4bpe.js → location-services-x4th4bpe.js} +0 -0
- /package/dist/chunks/{app-x61499pn.js → location-services-x61499pn.js} +0 -0
- /package/dist/chunks/{app-y44na4kk.js → location-services-y44na4kk.js} +0 -0
- /package/dist/chunks/{app-y8f7s663.js → location-services-y8f7s663.js} +0 -0
- /package/dist/chunks/{app-ygaqb7jw.js → location-services-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{app-z0h12gs8.js → location-services-z0h12gs8.js} +0 -0
- /package/dist/chunks/{app-z5v4ffb3.js → location-services-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{app-z9919s4g.js → location-services-z9919s4g.js} +0 -0
- /package/dist/chunks/{app-zxpyjp51.js → location-services-zxpyjp51.js} +0 -0
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service91,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node93
|
|
4
|
+
} from "./location-services-nwtnzhyq.js";
|
|
5
5
|
import {
|
|
6
6
|
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-services-bstexjd6.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-services-z5v4ffb3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service48,
|
|
17
|
+
node51
|
|
18
|
+
} from "./location-services-q2ch8zdc.js";
|
|
19
19
|
import {
|
|
20
20
|
changes2,
|
|
21
21
|
create4
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-services-40y6dtc2.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./location-services-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/reference.ts
|
|
28
28
|
var exports_reference2 = {};
|
|
29
29
|
__export(exports_reference2, {
|
|
30
|
-
Event: () =>
|
|
30
|
+
Event: () => Event6,
|
|
31
31
|
GitSource: () => GitSource2,
|
|
32
|
-
Info: () =>
|
|
32
|
+
Info: () => Info10,
|
|
33
33
|
LocalSource: () => LocalSource2,
|
|
34
34
|
Reference: () => exports_reference2,
|
|
35
|
-
Service: () =>
|
|
36
|
-
Source: () =>
|
|
37
|
-
node: () =>
|
|
35
|
+
Service: () => Service43,
|
|
36
|
+
Source: () => Source3,
|
|
37
|
+
node: () => node46
|
|
38
38
|
});
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
40
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
41
41
|
import { Reference } from "@opencode/schema/reference";
|
|
42
42
|
import { Global } from "@opencode/util/global";
|
|
43
|
-
import { Event as
|
|
43
|
+
import { Event as Event6 } from "@opencode/schema/reference";
|
|
44
44
|
var LocalSource2 = Reference.LocalSource;
|
|
45
45
|
var GitSource2 = Reference.GitSource;
|
|
46
|
-
var
|
|
47
|
-
var
|
|
46
|
+
var Source3 = Reference.Source;
|
|
47
|
+
var Info10 = Reference.Info;
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service43 extends Context.Service()("@opencode/Reference") {
|
|
50
50
|
}
|
|
51
|
-
var layer = Layer.effect(
|
|
51
|
+
var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const bus = yield* Service91;
|
|
54
|
-
const cache = yield*
|
|
54
|
+
const cache = yield* Service48;
|
|
55
55
|
const scope = yield* Scope.Scope;
|
|
56
56
|
const list = (data = state.get()) => Array.from(data.sources).flatMap(([name, source]) => {
|
|
57
57
|
const info = {
|
|
@@ -61,7 +61,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
61
61
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
62
62
|
};
|
|
63
63
|
if (source.type === "local")
|
|
64
|
-
return [
|
|
64
|
+
return [Info10.make({ ...info, path: source.path })];
|
|
65
65
|
const repository = parse4(source.repository);
|
|
66
66
|
if (!repository || !isRemote2(repository))
|
|
67
67
|
return [];
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
return [
|
|
76
|
-
|
|
76
|
+
Info10.make({
|
|
77
77
|
...info,
|
|
78
78
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
79
79
|
})
|
|
@@ -105,7 +105,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
107
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
108
|
-
return
|
|
108
|
+
return Service43.of({
|
|
109
109
|
transform: state.transform,
|
|
110
110
|
reload: state.reload,
|
|
111
111
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -113,10 +113,10 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
113
113
|
})
|
|
114
114
|
});
|
|
115
115
|
}));
|
|
116
|
-
var
|
|
117
|
-
service:
|
|
116
|
+
var node46 = makeLocationNode({
|
|
117
|
+
service: Service43,
|
|
118
118
|
layer,
|
|
119
|
-
deps: [Global.node,
|
|
119
|
+
deps: [Global.node, node93, node51]
|
|
120
120
|
});
|
|
121
121
|
|
|
122
|
-
export { LocalSource2, GitSource2,
|
|
122
|
+
export { LocalSource2, GitSource2, Source3, Info10, Service43, node46, exports_reference2, Event6 };
|
|
@@ -4,24 +4,24 @@ import {
|
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2,
|
|
6
6
|
exists2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-services-svcy3p9a.js";
|
|
8
8
|
import {
|
|
9
9
|
execDefaults2,
|
|
10
10
|
makeFiles2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-services-rgc9cx3e.js";
|
|
12
12
|
import {
|
|
13
13
|
makeLocalDriver2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-services-cwrgdav8.js";
|
|
15
15
|
import {
|
|
16
16
|
makeMemoryDriver2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-services-twssxy5n.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service52,
|
|
20
|
+
node55
|
|
21
|
+
} from "./location-services-0vaaqfb8.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-services-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/environment/index.ts
|
|
27
27
|
var exports_environment2 = {};
|
|
@@ -29,14 +29,14 @@ __export(exports_environment2, {
|
|
|
29
29
|
Environment: () => exports_environment2,
|
|
30
30
|
Failed: () => Failed2,
|
|
31
31
|
NotFound: () => NotFound3,
|
|
32
|
-
Service: () =>
|
|
32
|
+
Service: () => Service52,
|
|
33
33
|
WrongKind: () => WrongKind2,
|
|
34
34
|
execDefaults: () => execDefaults2,
|
|
35
35
|
exists: () => exists2,
|
|
36
36
|
makeFiles: () => makeFiles2,
|
|
37
37
|
makeLocalDriver: () => makeLocalDriver2,
|
|
38
38
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
39
|
-
node: () =>
|
|
39
|
+
node: () => node55,
|
|
40
40
|
typeFollowing: () => typeFollowing2
|
|
41
41
|
});
|
|
42
42
|
export { exports_environment2 };
|
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
8
|
+
Service90,
|
|
9
9
|
node92
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-services-a4bajsrg.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service88,
|
|
13
13
|
node90
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-services-xjmw0bvy.js";
|
|
15
15
|
import {
|
|
16
16
|
create4
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-services-40y6dtc2.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-services-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error4,
|
|
26
|
+
ID: () => ID11,
|
|
27
|
+
Service: () => Service66,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node69,
|
|
30
|
+
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Clock, Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID11 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error4 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service66 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service90;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service88;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create4({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error4({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const directory = yield* fs.realPath(location.directory).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
75
75
|
if (!FSUtil.contains(worktree, directory))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error4({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(path.relative(worktree, directory).replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
97
97
|
maximumUntrackedFileBytes: 2 * 1024 * 1024
|
|
98
98
|
});
|
|
99
99
|
yield* packWhenDue(repo.snapshotRepository);
|
|
100
|
-
return
|
|
100
|
+
return ID11.make(tree);
|
|
101
101
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
|
|
102
102
|
});
|
|
103
103
|
const comparison = Effect.fnUntraced(function* (operation, input) {
|
|
@@ -142,25 +142,25 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
142
142
|
for (const [file, snapshot] of input.files) {
|
|
143
143
|
const absolute = path.resolve(worktree, file);
|
|
144
144
|
if (!FSUtil.contains(worktree, absolute))
|
|
145
|
-
return yield* new
|
|
145
|
+
return yield* new Error4({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
146
146
|
files.set(file, TreeID2.make(snapshot));
|
|
147
147
|
}
|
|
148
148
|
return files;
|
|
149
149
|
});
|
|
150
150
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
151
151
|
if (!enabled())
|
|
152
|
-
return yield* new
|
|
152
|
+
return yield* new Error4({ operation: "restore", message: "Snapshots are disabled" });
|
|
153
153
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
154
154
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
155
155
|
});
|
|
156
|
-
return
|
|
156
|
+
return Service66.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
157
157
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
158
|
-
var
|
|
159
|
-
service:
|
|
158
|
+
var node69 = makeLocationNode({
|
|
159
|
+
service: Service66,
|
|
160
160
|
layer,
|
|
161
161
|
deps: [FSUtil.node, node92, Global.node, node90]
|
|
162
162
|
});
|
|
163
|
-
var
|
|
163
|
+
var noopLayer3 = Layer.succeed(Service66, Service66.of({
|
|
164
164
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
165
165
|
reload: () => Effect.void,
|
|
166
166
|
capture: () => Effect.undefined,
|
|
@@ -169,13 +169,13 @@ var noopLayer2 = Layer.succeed(Service54, Service54.of({
|
|
|
169
169
|
restore: () => Effect.void
|
|
170
170
|
}));
|
|
171
171
|
function failure(operation, cause) {
|
|
172
|
-
if (cause instanceof
|
|
172
|
+
if (cause instanceof Error4 && cause.operation === operation)
|
|
173
173
|
return cause;
|
|
174
|
-
return new
|
|
174
|
+
return new Error4({
|
|
175
175
|
operation,
|
|
176
176
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
177
177
|
cause
|
|
178
178
|
});
|
|
179
179
|
}
|
|
180
180
|
|
|
181
|
-
export {
|
|
181
|
+
export { ID11, Error4, Service66, node69, noopLayer3, exports_snapshot2 };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
server2,
|
|
3
3
|
headers2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-kt3bjfbg.js";
|
|
5
5
|
import {
|
|
6
6
|
ID18,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service84,
|
|
8
|
+
node86
|
|
9
|
+
} from "./location-services-r9rwszaa.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-services-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/usage-limits.ts
|
|
15
15
|
var exports_usage_limits = {};
|
|
16
16
|
__export(exports_usage_limits, {
|
|
17
|
-
Info: () =>
|
|
18
|
-
Service: () =>
|
|
19
|
-
UnavailableError: () =>
|
|
17
|
+
Info: () => Info5,
|
|
18
|
+
Service: () => Service21,
|
|
19
|
+
UnavailableError: () => UnavailableError3,
|
|
20
20
|
UsageLimits: () => exports_usage_limits,
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
21
|
+
layer: () => layer11,
|
|
22
|
+
node: () => node23
|
|
23
23
|
});
|
|
24
24
|
import { Model } from "@opencode/schema/model";
|
|
25
25
|
import { Money } from "@opencode/schema/money";
|
|
@@ -29,23 +29,23 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
29
29
|
import { httpClient } from "@opencode/util/effect/app-node-platform";
|
|
30
30
|
import { Context, Duration, Effect, Layer, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
32
|
-
var
|
|
32
|
+
var Info5 = UsageLimits.Info;
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class UnavailableError3 extends Schema.TaggedError()("UsageLimits.UnavailableError", {
|
|
35
35
|
message: Schema.String
|
|
36
36
|
}) {
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service21 extends Context.Service()("@opencode/UsageLimits") {
|
|
40
40
|
}
|
|
41
|
-
var
|
|
42
|
-
const integrations = yield*
|
|
41
|
+
var layer11 = Layer.effect(Service21, Effect.gen(function* () {
|
|
42
|
+
const integrations = yield* Service84;
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
44
44
|
const get = Effect.fn("UsageLimits.get")(function* () {
|
|
45
45
|
const connection = yield* integrations.connection.active(ID18.make("opencode"));
|
|
46
46
|
if (!connection)
|
|
47
47
|
return;
|
|
48
|
-
const credential = yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new
|
|
48
|
+
const credential = yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError3({ message: error.message })));
|
|
49
49
|
if (!credential || credential.type === "external")
|
|
50
50
|
return;
|
|
51
51
|
const workspaceID = credential.metadata?.orgID;
|
|
@@ -54,7 +54,7 @@ var layer10 = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
54
54
|
const server = server2(credential);
|
|
55
55
|
const [budgets, go] = yield* Effect.all([readBudgets(http, server, credential), readGo(http, server, credential, workspaceID)], { concurrency: 2 }).pipe(Effect.timeoutOrElse({
|
|
56
56
|
duration: Duration.seconds(15),
|
|
57
|
-
orElse: () => Effect.fail(new
|
|
57
|
+
orElse: () => Effect.fail(new UnavailableError3({ message: "OpenCode Console usage limits timed out" }))
|
|
58
58
|
}));
|
|
59
59
|
return {
|
|
60
60
|
workspace: {
|
|
@@ -66,12 +66,12 @@ var layer10 = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
66
66
|
budgets
|
|
67
67
|
};
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service21.of({ get });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
72
|
-
service:
|
|
73
|
-
layer:
|
|
74
|
-
deps: [
|
|
71
|
+
var node23 = makeLocationNode({
|
|
72
|
+
service: Service21,
|
|
73
|
+
layer: layer11,
|
|
74
|
+
deps: [node86, httpClient]
|
|
75
75
|
});
|
|
76
76
|
var ConsoleBudget = Schema.Struct({
|
|
77
77
|
ruleID: Schema.String,
|
|
@@ -117,17 +117,17 @@ function readBudgets(http, server, credential) {
|
|
|
117
117
|
picked: budget.picked,
|
|
118
118
|
shared: budget.shared,
|
|
119
119
|
resetsAt: budget.resetsAt.getTime()
|
|
120
|
-
}))))), Effect.scoped, Effect.mapError((error) => new
|
|
120
|
+
}))))), Effect.scoped, Effect.mapError((error) => new UnavailableError3({ message: `OpenCode Console budgets are unavailable: ${error.message}` })));
|
|
121
121
|
}
|
|
122
122
|
function readGo(http, server, credential, workspaceID) {
|
|
123
123
|
return HttpClient.withScope(http).execute(HttpClientRequest.get(`${new URL(server).origin}/zen/go/v1/usage`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(credential.type === "oauth" ? credential.access : credential.key), HttpClientRequest.setHeader("x-opencode-org-id", workspaceID))).pipe(Effect.flatMap((response) => response.status === 403 ? Effect.succeed(undefined) : HttpClientResponse.filterStatusOk(response).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(GoUsage)), Effect.map((body) => ({
|
|
124
124
|
rolling: meter(body.usage.rolling),
|
|
125
125
|
weekly: meter(body.usage.weekly),
|
|
126
126
|
monthly: meter(body.usage.monthly)
|
|
127
|
-
})))), Effect.scoped, Effect.mapError((error) => new
|
|
127
|
+
})))), Effect.scoped, Effect.mapError((error) => new UnavailableError3({ message: `OpenCode Go usage is unavailable: ${error.message}` })));
|
|
128
128
|
}
|
|
129
129
|
function meter(value) {
|
|
130
130
|
return { percent: value.percent, limited: value.status === "rate-limited", resetsAt: value.resetsAt.getTime() };
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
export {
|
|
133
|
+
export { Info5, UnavailableError3, Service21, layer11, node23, exports_usage_limits };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID18,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service84,
|
|
4
|
+
node86
|
|
5
|
+
} from "./location-services-r9rwszaa.js";
|
|
6
6
|
import {
|
|
7
7
|
ID17,
|
|
8
8
|
isAISDK2,
|
|
@@ -15,24 +15,24 @@ import {
|
|
|
15
15
|
encoding2,
|
|
16
16
|
mergeOverlay2,
|
|
17
17
|
mergeHeaders2,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service83,
|
|
19
|
+
node85
|
|
20
|
+
} from "./location-services-y45jeksc.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service77,
|
|
23
|
+
node79
|
|
24
|
+
} from "./location-services-t48nap8a.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
26
|
+
ID16,
|
|
27
27
|
VariantID2,
|
|
28
28
|
Ref3,
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
Service81,
|
|
30
|
+
node83,
|
|
31
31
|
supportsText2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./location-services-wt5qjg1e.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./location-services-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/model-resolver.ts
|
|
38
38
|
var exports_model_resolver = {};
|
|
@@ -41,15 +41,15 @@ __export(exports_model_resolver, {
|
|
|
41
41
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
42
42
|
ModelInitializationError: () => ModelInitializationError2,
|
|
43
43
|
ModelResolver: () => exports_model_resolver,
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service70,
|
|
45
45
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
46
46
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
47
47
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
48
48
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
49
49
|
fromCatalogModel: () => fromCatalogModel2,
|
|
50
50
|
hasPackage: () => hasPackage2,
|
|
51
|
-
layer: () =>
|
|
52
|
-
node: () =>
|
|
51
|
+
layer: () => layer23,
|
|
52
|
+
node: () => node72,
|
|
53
53
|
resolveModel: () => resolveModel3,
|
|
54
54
|
withVariant: () => withVariant2
|
|
55
55
|
});
|
|
@@ -67,7 +67,7 @@ import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
|
67
67
|
import { Npm } from "@opencode/util/npm";
|
|
68
68
|
class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
69
69
|
providerID: ID17,
|
|
70
|
-
modelID:
|
|
70
|
+
modelID: ID16,
|
|
71
71
|
variant: VariantID2
|
|
72
72
|
}) {
|
|
73
73
|
get message() {
|
|
@@ -77,7 +77,7 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
77
77
|
|
|
78
78
|
class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
79
79
|
providerID: ID17,
|
|
80
|
-
modelID:
|
|
80
|
+
modelID: ID16,
|
|
81
81
|
package: Schema.String
|
|
82
82
|
}) {
|
|
83
83
|
get message() {
|
|
@@ -88,7 +88,7 @@ var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
|
88
88
|
|
|
89
89
|
class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
90
90
|
providerID: ID17,
|
|
91
|
-
modelID:
|
|
91
|
+
modelID: ID16,
|
|
92
92
|
package: Schema.String,
|
|
93
93
|
detail: Schema.String
|
|
94
94
|
}) {
|
|
@@ -99,7 +99,7 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
99
99
|
|
|
100
100
|
class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
101
101
|
providerID: ID17,
|
|
102
|
-
modelID:
|
|
102
|
+
modelID: ID16,
|
|
103
103
|
package: Schema.String,
|
|
104
104
|
phase: InitializationPhase2,
|
|
105
105
|
detail: Schema.String
|
|
@@ -111,7 +111,7 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
111
111
|
|
|
112
112
|
class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
113
113
|
providerID: ID17,
|
|
114
|
-
modelID:
|
|
114
|
+
modelID: ID16,
|
|
115
115
|
variables: Schema.Array(Schema.String)
|
|
116
116
|
}) {
|
|
117
117
|
get message() {
|
|
@@ -121,7 +121,7 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
|
|
|
121
121
|
|
|
122
122
|
class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
123
123
|
providerID: ID17,
|
|
124
|
-
modelID:
|
|
124
|
+
modelID: ID16,
|
|
125
125
|
route: Schema.String
|
|
126
126
|
}) {
|
|
127
127
|
get message() {
|
|
@@ -129,7 +129,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
-
class
|
|
132
|
+
class Service70 extends Context.Service()("@opencode/ModelResolver") {
|
|
133
133
|
}
|
|
134
134
|
var withVariant2 = (model, variantID) => {
|
|
135
135
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -308,12 +308,12 @@ var causeMessage = (cause) => {
|
|
|
308
308
|
};
|
|
309
309
|
var resolveModel3 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
310
310
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
311
|
-
var
|
|
312
|
-
const providers = yield*
|
|
313
|
-
const models = yield*
|
|
314
|
-
const integrations = yield*
|
|
311
|
+
var layer23 = Layer.effect(Service70, Effect.gen(function* () {
|
|
312
|
+
const providers = yield* Service83;
|
|
313
|
+
const models = yield* Service81;
|
|
314
|
+
const integrations = yield* Service84;
|
|
315
315
|
const npm = yield* Npm.Service;
|
|
316
|
-
const aisdk = yield*
|
|
316
|
+
const aisdk = yield* Service77;
|
|
317
317
|
const dependencies = {
|
|
318
318
|
loadPackage: (specifier) => loadPackage2(specifier, npm),
|
|
319
319
|
loadAISDK: (model) => aisdk.model(model)
|
|
@@ -356,7 +356,7 @@ var layer25 = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
356
356
|
const { credential, runtimeInfo } = yield* prepare(info, ref.variant);
|
|
357
357
|
return yield* fromCatalogMedia(runtimeInfo, is, credential, dependencies);
|
|
358
358
|
});
|
|
359
|
-
return
|
|
359
|
+
return Service70.of({
|
|
360
360
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
361
361
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
|
|
362
362
|
if (!selected)
|
|
@@ -415,10 +415,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
415
415
|
return false;
|
|
416
416
|
return API_KEY_AUTH_PACKAGES.has(name) || name.startsWith("@opencode/ai/providers/openai/") || name.startsWith("@opencode/ai/providers/azure/");
|
|
417
417
|
}
|
|
418
|
-
var
|
|
419
|
-
service:
|
|
420
|
-
layer:
|
|
421
|
-
deps: [
|
|
418
|
+
var node72 = makeLocationNode({
|
|
419
|
+
service: Service70,
|
|
420
|
+
layer: layer23,
|
|
421
|
+
deps: [node85, node83, node86, Npm.node, node79]
|
|
422
422
|
});
|
|
423
423
|
|
|
424
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
424
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service70, withVariant2, fromCatalogModel2, resolveModel3, hasPackage2, layer23, node72, exports_model_resolver };
|