@opencode/core 0.0.0-dev-19638 → 0.0.0-dev-19640
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 +76 -76
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{file-access-avs77xrm.js → location-services-02gzfyb5.js} +5 -5
- package/dist/chunks/{file-access-hm7xtcxq.js → location-services-02phnknr.js} +13 -13
- package/dist/chunks/{file-access-et8mzwyf.js → location-services-04kk4d0b.js} +11 -11
- package/dist/chunks/{file-access-hg4hxzv1.js → location-services-0586yqyr.js} +24 -24
- package/dist/chunks/{file-access-vbmkf8sa.js → location-services-0fpm5ckv.js} +63 -63
- package/dist/chunks/{file-access-a3ftg8j6.js → location-services-0jq9fyba.js} +9 -9
- package/dist/chunks/{file-access-1h5aw7tx.js → location-services-0ms6sga5.js} +28 -28
- package/dist/chunks/{file-access-0paq2nw3.js → location-services-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-access-0q0f95c6.js → location-services-0q0f95c6.js} +1 -1
- package/dist/chunks/{file-access-46hd3f0f.js → location-services-0qfr4k4g.js} +5 -5
- package/dist/chunks/{file-access-j03d6hs6.js → location-services-0rzg7vgx.js} +18 -18
- package/dist/chunks/{file-access-62agcz7g.js → location-services-0tjwgcx9.js} +18 -18
- package/dist/chunks/{file-access-vfp4enkz.js → location-services-0z4j7wf4.js} +11 -11
- package/dist/chunks/{file-access-2js99wz0.js → location-services-0ztby9hd.js} +13 -13
- package/dist/chunks/{file-access-5srkf7nd.js → location-services-16srzzdd.js} +11 -11
- package/dist/chunks/{file-access-mrxfpjcs.js → location-services-178pw3hr.js} +8 -8
- package/dist/chunks/{file-access-1dazxqgg.js → location-services-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-access-z12cg9p1.js → location-services-1kpkrr0w.js} +9 -9
- package/dist/chunks/{file-access-mfqp6xfm.js → location-services-1ygqh575.js} +6 -6
- package/dist/chunks/{file-access-ypyq2zsn.js → location-services-1zv9wbr8.js} +10 -10
- package/dist/chunks/{file-access-812zr1rk.js → location-services-219xz9an.js} +10 -10
- package/dist/chunks/{file-access-21r38tys.js → location-services-21r38tys.js} +1 -1
- package/dist/chunks/{file-access-2402vzrj.js → location-services-2402vzrj.js} +1 -1
- package/dist/chunks/{file-access-s8j3dq9b.js → location-services-25tw5xqn.js} +3 -3
- package/dist/chunks/{file-access-2a5m3afh.js → location-services-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-access-q3t37ft6.js → location-services-2f04pwep.js} +2 -2
- package/dist/chunks/{file-access-f60890a8.js → location-services-3bw0x712.js} +7 -7
- package/dist/chunks/{file-access-56rycjvn.js → location-services-3c141gkz.js} +30 -30
- package/dist/chunks/{file-access-2j0dgarf.js → location-services-3ecmxp0g.js} +20 -20
- package/dist/chunks/{file-access-3fc6dm20.js → location-services-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-access-3hepkmqq.js → location-services-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-access-fak7xqqt.js → location-services-3qppezv8.js} +28 -28
- package/dist/chunks/{file-access-3smtnn6g.js → location-services-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-access-3tvqynh2.js → location-services-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-access-6jft8mvs.js → location-services-3y7s1jsp.js} +20 -20
- package/dist/chunks/{file-access-4hxfx086.js → location-services-3yx66ec2.js} +9 -9
- package/dist/chunks/{file-access-t9kha2ca.js → location-services-415rc5ej.js} +16 -16
- package/dist/chunks/{file-access-p2f255ct.js → location-services-448vs3y4.js} +4 -4
- package/dist/chunks/{file-access-hpe0ccrg.js → location-services-4585f844.js} +42 -42
- package/dist/chunks/{file-access-rw8kjknk.js → location-services-4ascqkkz.js} +5 -5
- package/dist/chunks/{file-access-cy2r3qg1.js → location-services-4fpx8h9m.js} +34 -34
- package/dist/chunks/{file-access-25fjjxm2.js → location-services-4g26z7a1.js} +30 -30
- package/dist/chunks/{file-access-b2jj88ef.js → location-services-4gd3ydy5.js} +16 -16
- package/dist/chunks/{file-access-xsyev9bv.js → location-services-4gpbsxfq.js} +17 -17
- package/dist/chunks/{file-access-4jc5c4h4.js → location-services-4jc5c4h4.js} +1 -1
- package/dist/chunks/{file-access-q12jtckr.js → location-services-4ncrsdff.js} +10 -10
- package/dist/chunks/{file-access-gsj5sv52.js → location-services-4sb98eey.js} +11 -11
- package/dist/chunks/{file-access-kr9cqyf0.js → location-services-4zxevbz2.js} +8 -8
- package/dist/chunks/{file-access-7n0p62ew.js → location-services-5149gher.js} +11 -11
- package/dist/chunks/{file-access-0tg58rzn.js → location-services-51vvd7en.js} +11 -11
- package/dist/chunks/{file-access-5daktx2q.js → location-services-5daktx2q.js} +1 -1
- package/dist/chunks/{file-access-6snq9ewv.js → location-services-5dfvhher.js} +36 -36
- package/dist/chunks/{file-access-mmy2zf88.js → location-services-5knxp1w9.js} +20 -20
- package/dist/chunks/{file-access-5t3nmthw.js → location-services-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-access-y3d0z3tn.js → location-services-5x3hq9j3.js} +27 -27
- package/dist/chunks/{file-access-6ykthspn.js → location-services-5yjbp4dm.js} +6 -6
- package/dist/chunks/{file-access-cmwkp3r5.js → location-services-5yzzbxa7.js} +8 -8
- package/dist/chunks/{file-access-669tq793.js → location-services-669tq793.js} +1 -1
- package/dist/chunks/{file-access-fyjp43ss.js → location-services-66r9f6z1.js} +5 -5
- package/dist/chunks/{file-access-rsk3jvy7.js → location-services-684662vh.js} +11 -11
- package/dist/chunks/{file-access-8b68vhre.js → location-services-6c28me67.js} +15 -15
- package/dist/chunks/{file-access-76xmbs1m.js → location-services-6gfvp9py.js} +15 -15
- package/dist/chunks/{file-access-6msgmcgs.js → location-services-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-access-wvxf6pmh.js → location-services-6n37dfq0.js} +10 -10
- package/dist/chunks/{file-access-js4k7t4e.js → location-services-6nk105vy.js} +17 -17
- package/dist/chunks/{file-access-86jfkp86.js → location-services-6ta1kpbb.js} +24 -24
- package/dist/chunks/{file-access-dthhqzns.js → location-services-7147cet5.js} +12 -12
- package/dist/chunks/{file-access-8yppv9j5.js → location-services-72wxma7g.js} +15 -15
- package/dist/chunks/{file-access-7yh4e7ss.js → location-services-73tb2d7t.js} +3 -3
- package/dist/chunks/{file-access-b5jkzqy2.js → location-services-750q0psk.js} +37 -37
- package/dist/chunks/{file-access-7bmhse3q.js → location-services-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-access-dy562txv.js → location-services-7gekp0pq.js} +17 -17
- package/dist/chunks/{file-access-33c2t3mm.js → location-services-7sadfj5y.js} +20 -20
- package/dist/chunks/{file-access-ea3fxjgj.js → location-services-8027tmm7.js} +23 -23
- package/dist/chunks/{file-access-eahf1j6r.js → location-services-80vjes0x.js} +24 -24
- package/dist/chunks/{file-access-snmjhvm7.js → location-services-81bq2xsc.js} +18 -18
- package/dist/chunks/{file-access-8yph952s.js → location-services-85jve5wz.js} +4 -4
- package/dist/chunks/{file-access-8d7r5vzw.js → location-services-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-access-j0vfj7ky.js → location-services-8h9se9rt.js} +13 -13
- package/dist/chunks/{file-access-vhfq0sg5.js → location-services-8jdmsvjr.js} +7 -7
- package/dist/chunks/{file-access-yb8fj77w.js → location-services-8jpr388a.js} +30 -30
- package/dist/chunks/{file-access-dj2t23y0.js → location-services-8p4f9s12.js} +2 -2
- package/dist/chunks/{file-access-f3k401ar.js → location-services-8rj4g5mw.js} +24 -24
- package/dist/chunks/{file-access-3zrjs6f3.js → location-services-8wmmyffs.js} +9 -9
- package/dist/chunks/{file-access-99xay3p1.js → location-services-97w5rk9e.js} +8 -8
- package/dist/chunks/location-services-9djywp5r.js +478 -0
- package/dist/chunks/{file-access-ajk9kppy.js → location-services-9gv4jtzp.js} +20 -20
- package/dist/chunks/{file-access-ke9sk9ax.js → location-services-9mmvzbkx.js} +17 -17
- package/dist/chunks/{file-access-by9rpdtw.js → location-services-9r37c4n6.js} +8 -8
- package/dist/chunks/location-services-9zdhvgqs.js +18 -0
- package/dist/chunks/{file-access-5c4hm403.js → location-services-a1bz86dw.js} +3 -3
- package/dist/chunks/{file-access-sxd752g3.js → location-services-a3f8kctb.js} +8 -8
- package/dist/chunks/{file-access-f6fgfmmn.js → location-services-a7tmcrpq.js} +28 -28
- package/dist/chunks/{file-access-aaet6srn.js → location-services-aaet6srn.js} +2 -2
- package/dist/chunks/{file-access-j15mfg1p.js → location-services-ab9238g2.js} +4 -4
- package/dist/chunks/{file-access-g00jty2v.js → location-services-aggp30hw.js} +18 -18
- package/dist/chunks/{file-access-8ank75fn.js → location-services-at1kfnmk.js} +4 -4
- package/dist/chunks/{file-access-6m499kzd.js → location-services-axhjmd8c.js} +33 -33
- package/dist/chunks/{file-access-0hnxfn8s.js → location-services-azmtv9sv.js} +27 -27
- package/dist/chunks/{file-access-vyqn3nqs.js → location-services-b0awdqvx.js} +5 -5
- package/dist/chunks/{file-access-vpgyrhve.js → location-services-b5t6kpaj.js} +43 -43
- package/dist/chunks/{file-access-b6gygkdw.js → location-services-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-access-b2gch9fn.js → location-services-b7wwt9tw.js} +25 -25
- package/dist/chunks/{file-access-m6gy85y0.js → location-services-bcjhdqzs.js} +20 -20
- package/dist/chunks/{file-access-t3swkhbg.js → location-services-bgxcxs0p.js} +5 -5
- package/dist/chunks/{file-access-9b36z5yg.js → location-services-bha4atvq.js} +4 -4
- package/dist/chunks/{file-access-spqgdpza.js → location-services-bkr4pjs6.js} +9 -9
- package/dist/chunks/{file-access-sstmea9h.js → location-services-bn81s3gb.js} +9 -9
- package/dist/chunks/{file-access-e5nv3ght.js → location-services-bndc73cn.js} +5 -5
- package/dist/chunks/{file-access-dpcqhtkn.js → location-services-bp8fbrfw.js} +15 -15
- package/dist/chunks/{file-access-hn57h045.js → location-services-ca7w653e.js} +4 -4
- package/dist/chunks/{file-access-6ywjc070.js → location-services-cbbxnz2q.js} +22 -22
- package/dist/chunks/{file-access-m0jqrx5p.js → location-services-cfpkc3c9.js} +2 -2
- package/dist/chunks/{file-access-ycrw32xq.js → location-services-cktzqvwp.js} +14 -14
- package/dist/chunks/{file-access-v24739yc.js → location-services-cnvnzs5z.js} +12 -12
- package/dist/chunks/{file-access-cpj0znwe.js → location-services-cpj0znwe.js} +1 -1
- package/dist/chunks/{file-access-s587y4ee.js → location-services-cr07tj7n.js} +5 -5
- package/dist/chunks/{file-access-km5njsm9.js → location-services-cy7kc1q1.js} +11 -11
- package/dist/chunks/{file-access-917gka4z.js → location-services-dbqyrmkt.js} +12 -12
- package/dist/chunks/{file-access-8r5sxhkv.js → location-services-dbxcrmyc.js} +3 -3
- package/dist/chunks/{file-access-vncycja5.js → location-services-dfe8djrf.js} +4 -4
- package/dist/chunks/{file-access-k33y0e94.js → location-services-dgazmx6a.js} +37 -37
- package/dist/chunks/{file-access-gqchpbtd.js → location-services-dj9sq318.js} +2 -2
- package/dist/chunks/{file-access-be47w3k3.js → location-services-djayz1b9.js} +11 -11
- package/dist/chunks/{file-access-pdd0bbjk.js → location-services-dwt525sp.js} +18 -18
- package/dist/chunks/{file-access-zw6dtez5.js → location-services-dyn67hmm.js} +4 -4
- package/dist/chunks/{file-access-01bhhyb7.js → location-services-e01z6h01.js} +3 -3
- package/dist/chunks/{file-access-jjefk1kz.js → location-services-e2xf6ff7.js} +43 -43
- package/dist/chunks/{file-access-0j8y3tn5.js → location-services-e9rrmjf1.js} +15 -15
- package/dist/chunks/{file-access-02nrjc1r.js → location-services-eaj1djv9.js} +4 -4
- package/dist/chunks/{file-access-zj09a0ew.js → location-services-ec87kc5z.js} +4 -4
- package/dist/chunks/{file-access-ef5x83kb.js → location-services-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-access-wc8ptzv7.js → location-services-ef8wy0yg.js} +27 -27
- package/dist/chunks/{file-access-4nfbas15.js → location-services-egqygf3v.js} +14 -14
- package/dist/chunks/{file-access-etq0c3wd.js → location-services-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-access-pr444p5c.js → location-services-evf9rjs4.js} +15 -15
- package/dist/chunks/{file-access-hdnk95c8.js → location-services-f828m53h.js} +2 -2
- package/dist/chunks/{file-access-rj5xkaak.js → location-services-fnqw9s27.js} +15 -15
- package/dist/chunks/{file-access-fxbjtjnd.js → location-services-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-access-jgv4nkbw.js → location-services-fxp7jvj2.js} +18 -18
- package/dist/chunks/{file-access-f3ngv102.js → location-services-g190xswt.js} +4 -4
- package/dist/chunks/{file-access-4wrt768g.js → location-services-g5bdk11j.js} +4 -4
- package/dist/chunks/{file-access-zmk6j7b1.js → location-services-g7775ndf.js} +13 -13
- package/dist/chunks/{file-access-b27vhd2z.js → location-services-g8d3gcyj.js} +7 -7
- package/dist/chunks/{file-access-8y62cfgq.js → location-services-g97k7hqe.js} +6 -6
- package/dist/chunks/{file-access-gd4qta3r.js → location-services-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-access-s6jatava.js → location-services-gh298ty0.js} +12 -12
- package/dist/chunks/{file-access-32x43b5h.js → location-services-gkjbdhm0.js} +4 -4
- package/dist/chunks/{file-access-v65pmyz7.js → location-services-gkqpf5j8.js} +3 -3
- package/dist/chunks/{file-access-3knnkrdf.js → location-services-gn22vpfk.js} +18 -18
- package/dist/chunks/{file-access-yyb7tjpc.js → location-services-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-access-s7769g1c.js → location-services-gz1ysa8z.js} +22 -22
- package/dist/chunks/{file-access-h03wrkyp.js → location-services-h03wrkyp.js} +2 -2
- package/dist/chunks/{file-access-h6vf3j39.js → location-services-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-access-pfz3dw98.js → location-services-ha0nspk8.js} +24 -24
- package/dist/chunks/{file-access-qx87dfmj.js → location-services-hdh6cx73.js} +12 -12
- package/dist/chunks/{file-access-7tcrqq4t.js → location-services-hqdn5jrt.js} +7 -7
- package/dist/chunks/{file-access-8snetkfr.js → location-services-hy5fzqeh.js} +5 -5
- package/dist/chunks/{file-access-5apets8e.js → location-services-hz0n22rs.js} +5 -5
- package/dist/chunks/{file-access-j56e64zr.js → location-services-j56e64zr.js} +1 -1
- package/dist/chunks/{file-access-3ppptnan.js → location-services-j5w2yx54.js} +6 -6
- package/dist/chunks/{file-access-k31cg7qp.js → location-services-j91m9kav.js} +15 -15
- package/dist/chunks/{file-access-y3ye89br.js → location-services-j95sj0b7.js} +40 -40
- package/dist/chunks/{file-access-vmgcxazz.js → location-services-jcpsvazg.js} +5 -5
- package/dist/chunks/{file-access-azvx9vjt.js → location-services-jea6qdrd.js} +15 -15
- package/dist/chunks/{file-access-mby8mxat.js → location-services-jfy9m09y.js} +10 -10
- package/dist/chunks/{file-access-bbfsgge0.js → location-services-jwa4pvs5.js} +22 -22
- package/dist/chunks/{file-access-a3dkvnxb.js → location-services-k3cgqnmg.js} +44 -44
- package/dist/chunks/{file-access-ngdt5g2x.js → location-services-k9kj6xed.js} +10 -10
- package/dist/chunks/{file-access-pj43p8qp.js → location-services-kc86y1cg.js} +5 -5
- package/dist/chunks/{file-access-a46e93d3.js → location-services-kcm4f2kg.js} +6 -6
- package/dist/chunks/{file-access-1r6cykv1.js → location-services-ktm1df1f.js} +4 -4
- package/dist/chunks/{file-access-6ycvbcht.js → location-services-kvq4cs15.js} +16 -16
- package/dist/chunks/{file-access-enbnvbva.js → location-services-m1vq15se.js} +33 -33
- package/dist/chunks/{file-access-rgp511zr.js → location-services-m2gtt6ea.js} +2 -2
- package/dist/chunks/{file-access-m9w0rfyh.js → location-services-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-access-9ev53f4q.js → location-services-mazvwtnn.js} +12 -12
- package/dist/chunks/{file-access-7h1ryc6p.js → location-services-me1tt2vw.js} +9 -9
- package/dist/chunks/{file-access-z6t9vx1b.js → location-services-mq0rsbgt.js} +11 -11
- package/dist/chunks/{file-access-3stbjpb0.js → location-services-my244nh0.js} +20 -20
- package/dist/chunks/{file-access-a6kbnp9r.js → location-services-nbqe97f8.js} +6 -6
- package/dist/chunks/{file-access-andt55zn.js → location-services-nc4xh2kb.js} +51 -51
- package/dist/chunks/{file-access-sve5t580.js → location-services-nj8hxbz2.js} +52 -52
- package/dist/chunks/{file-access-qv9gx9bg.js → location-services-nqdbn1cc.js} +29 -29
- package/dist/chunks/{file-access-ys2m57fz.js → location-services-nsdnjfab.js} +33 -33
- package/dist/chunks/{file-access-p5599t8k.js → location-services-p1fvsthc.js} +8 -8
- package/dist/chunks/{file-access-9ancjmj9.js → location-services-p1hzy66n.js} +28 -28
- package/dist/chunks/{file-access-r4ck6ye8.js → location-services-p3bz7yjh.js} +11 -11
- package/dist/chunks/{file-access-9bkgmrac.js → location-services-p3q8av9z.js} +3 -3
- package/dist/chunks/{file-access-50hk1gym.js → location-services-p5ndkpmy.js} +9 -9
- package/dist/chunks/{file-access-c1661jpf.js → location-services-pas7sy9w.js} +1 -1
- package/dist/chunks/{file-access-e2e34s5q.js → location-services-pf3kx1xh.js} +26 -26
- package/dist/chunks/{file-access-a97f1kxr.js → location-services-pfj4yg38.js} +30 -30
- package/dist/chunks/{file-access-d9s573fh.js → location-services-pjmw00w1.js} +7 -7
- package/dist/chunks/{file-access-pjvnvgmy.js → location-services-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-access-pknna89w.js → location-services-pknna89w.js} +1 -1
- package/dist/chunks/{file-access-ashkezcm.js → location-services-pkzfcp45.js} +26 -26
- package/dist/chunks/location-services-pmhjn3da.js +26 -0
- package/dist/chunks/{file-access-b5j16w9d.js → location-services-pn2fvd3j.js} +12 -12
- package/dist/chunks/{file-access-qfjwnv02.js → location-services-pv1225zn.js} +1 -1
- package/dist/chunks/{file-access-ewwzb6sv.js → location-services-q6wy8yy3.js} +5 -5
- package/dist/chunks/{file-access-t7e0y256.js → location-services-q8dzjkx6.js} +9 -9
- package/dist/chunks/{file-access-qgn6gcr1.js → location-services-qgn6gcr1.js} +1 -1
- package/dist/chunks/{file-access-dsyvch4e.js → location-services-qnaqs727.js} +13 -13
- package/dist/chunks/{file-access-zf9pbwsw.js → location-services-qrsn4n6d.js} +84 -84
- package/dist/chunks/{file-access-qsdy395h.js → location-services-qsdy395h.js} +1 -1
- package/dist/chunks/{file-access-bj5hbc59.js → location-services-r135cjb7.js} +4 -4
- package/dist/chunks/{file-access-qmqgtz8f.js → location-services-r2m716tb.js} +9 -9
- package/dist/chunks/{file-access-r9mregkx.js → location-services-r9mregkx.js} +2 -2
- package/dist/chunks/{file-access-rdw6cm16.js → location-services-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-access-zetsppkw.js → location-services-rhmaz7bq.js} +24 -24
- package/dist/chunks/{file-access-bhqn7aj9.js → location-services-s7af8scf.js} +11 -11
- package/dist/chunks/{file-access-jca4demv.js → location-services-s8610hey.js} +2 -2
- package/dist/chunks/{file-access-g0r62mbx.js → location-services-ssnweha5.js} +4 -4
- package/dist/chunks/{file-access-92f8rgp2.js → location-services-sx0er8nq.js} +32 -32
- package/dist/chunks/{file-access-z6q28316.js → location-services-ta8x8nr4.js} +11 -11
- package/dist/chunks/{file-access-n9y08rq6.js → location-services-tangkck8.js} +15 -15
- package/dist/chunks/{file-access-tazgh4e4.js → location-services-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-access-tdbakys2.js → location-services-tc4zgeve.js} +22 -22
- package/dist/chunks/{file-access-tcezcvh9.js → location-services-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-access-tdstcens.js → location-services-tdstcens.js} +1 -1
- package/dist/chunks/{file-access-4vb1y0qz.js → location-services-tqzvspav.js} +9 -9
- package/dist/chunks/{file-access-m3kws1jr.js → location-services-tr4zpdh3.js} +47 -47
- package/dist/chunks/{file-access-tvtrv512.js → location-services-tvtrv512.js} +1 -1
- package/dist/chunks/{file-access-dbtyj0an.js → location-services-tw59yntq.js} +6 -6
- package/dist/chunks/{file-access-8kckztxt.js → location-services-v1288tjp.js} +25 -25
- package/dist/chunks/{file-access-hftty0sn.js → location-services-v2vh6mnd.js} +23 -23
- package/dist/chunks/{file-access-7dcaf0ce.js → location-services-v797jxaj.js} +14 -14
- package/dist/chunks/location-services-v8p7hepz.js +39 -0
- package/dist/chunks/{file-access-22xdy94t.js → location-services-v9561b1h.js} +19 -19
- package/dist/chunks/{file-access-veqvce7d.js → location-services-veqvce7d.js} +1 -1
- package/dist/chunks/{file-access-8526r7vx.js → location-services-vfyag517.js} +36 -36
- package/dist/chunks/{file-access-e64xqjet.js → location-services-vgbbjg13.js} +6 -6
- package/dist/chunks/{file-access-8602h8p3.js → location-services-vm8cdysd.js} +8 -8
- package/dist/chunks/{file-access-vzcthcp8.js → location-services-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-access-zsn07k7j.js → location-services-w0rde4tw.js} +11 -11
- package/dist/chunks/{file-access-w1k39n5e.js → location-services-w1k39n5e.js} +1 -1
- package/dist/chunks/{file-access-w3wsvvr9.js → location-services-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-access-mxyhxd0t.js → location-services-w4dkncpy.js} +10 -10
- package/dist/chunks/{file-access-e3adyxrg.js → location-services-w9e5737r.js} +27 -27
- package/dist/chunks/{file-access-wd87259q.js → location-services-wd87259q.js} +1 -1
- package/dist/chunks/{file-access-1bz55dqa.js → location-services-wft7b0k7.js} +81 -81
- package/dist/chunks/{file-access-rds37zvx.js → location-services-wp8d7vmq.js} +23 -23
- package/dist/chunks/{file-access-3ktbe3hf.js → location-services-wqkncbjv.js} +6 -6
- package/dist/chunks/{file-access-z25b1m8j.js → location-services-x11s5y75.js} +33 -33
- package/dist/chunks/{file-access-x1ezjp6w.js → location-services-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-access-3zdwcfwy.js → location-services-xa2bqj84.js} +9 -9
- package/dist/chunks/{file-access-njqgj7qg.js → location-services-xe7qpmt5.js} +11 -11
- package/dist/chunks/{file-access-47gsdddb.js → location-services-xfkkasph.js} +8 -8
- package/dist/chunks/{file-access-mvn2r3z4.js → location-services-xk747vep.js} +8 -8
- package/dist/chunks/{file-access-7heb594d.js → location-services-xpahhy1b.js} +21 -21
- package/dist/chunks/{file-access-hwr433ds.js → location-services-xpy6m67s.js} +10 -10
- package/dist/chunks/{file-access-nzha355v.js → location-services-xr9fhq19.js} +15 -15
- package/dist/chunks/location-services-xwdetg76.js +247 -0
- package/dist/chunks/{file-access-y1fvbwt7.js → location-services-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-access-9s92gzw6.js → location-services-y55p7fpy.js} +24 -24
- package/dist/chunks/{file-access-9rrc34ns.js → location-services-y665jayr.js} +24 -24
- package/dist/chunks/{file-access-y71avatq.js → location-services-y71avatq.js} +1 -1
- package/dist/chunks/{file-access-e2qab2dq.js → location-services-ydgw7m1v.js} +5 -5
- package/dist/chunks/{file-access-7tdtfp7b.js → location-services-yjc6asv9.js} +23 -23
- package/dist/chunks/{file-access-76jmq1mn.js → location-services-yjrx1dyy.js} +169 -169
- package/dist/chunks/{file-access-rtxak1ft.js → location-services-ymga07ac.js} +13 -13
- package/dist/chunks/{file-access-yp2x3t23.js → location-services-yp2x3t23.js} +1 -1
- package/dist/chunks/{file-access-he2x7e7z.js → location-services-yra71rfx.js} +3 -3
- package/dist/chunks/{file-access-yrhqyw5v.js → location-services-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-access-yrznvahk.js → location-services-yrznvahk.js} +2 -2
- package/dist/chunks/{file-access-fc4nsy51.js → location-services-ytnbagj1.js} +39 -39
- package/dist/chunks/{file-access-z0bkrqjs.js → location-services-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-access-mzrp1fyr.js → location-services-z28368px.js} +17 -17
- package/dist/chunks/{file-access-z63w68vq.js → location-services-z63w68vq.js} +2 -2
- package/dist/chunks/{file-access-5n7sh86d.js → location-services-za4pw5w1.js} +8 -8
- package/dist/chunks/{file-access-4cmr76fd.js → location-services-zdh9vwwx.js} +3 -3
- package/dist/chunks/{file-access-2wts5qzq.js → location-services-ze5v0a14.js} +8 -8
- package/dist/chunks/{file-access-rq775frq.js → location-services-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-access-w4axh9wz.js → location-services-zkp7t929.js} +8 -8
- package/dist/chunks/{file-access-kw9xdzv2.js → location-services-zn5v3n4q.js} +9 -9
- package/dist/chunks/{file-access-zr2ceqn5.js → location-services-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-access-zxq2ej10.js → location-services-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +158 -158
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +123 -123
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -363
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- 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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +223 -223
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +103 -103
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +102 -102
- package/dist/git.js +10 -10
- 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 +90 -90
- 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/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +355 -354
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +81 -81
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +129 -129
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +352 -351
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +95 -95
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +75 -75
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +106 -106
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +216 -216
- package/dist/plugin/identity.js +10 -0
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -326
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -345
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -87
- package/dist/provider.js +94 -94
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +85 -85
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +83 -83
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +150 -150
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +149 -149
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +83 -83
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +115 -115
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +1 -1
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +82 -82
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +154 -154
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- 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 +9 -9
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +90 -90
- 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 +125 -125
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +106 -106
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/types/plugin/identity.d.ts +8 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- 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/attachment.js +2 -2
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/file-access-by5v678g.js +0 -18
- package/dist/chunks/file-access-h2q74avv.js +0 -26
- package/dist/chunks/file-access-phnkt68t.js +0 -474
- package/dist/chunks/file-access-xv4gw76e.js +0 -247
- /package/dist/chunks/{file-access-0mesazry.js → location-services-0mesazry.js} +0 -0
- /package/dist/chunks/{file-access-0qkdqm5v.js → location-services-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-access-0zkw76rk.js → location-services-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-access-17cy0kzp.js → location-services-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-access-1cnp2v09.js → location-services-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-access-1kg9ymc8.js → location-services-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-access-24dcb14g.js → location-services-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-access-2710q6r3.js → location-services-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-access-2axfhc9x.js → location-services-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-access-2c3vjs8z.js → location-services-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-access-359p4xyc.js → location-services-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-access-3asan66x.js → location-services-3asan66x.js} +0 -0
- /package/dist/chunks/{file-access-3v8g72cx.js → location-services-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-access-3w5fmr99.js → location-services-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-access-3wcehsnq.js → location-services-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-access-43n2bw4t.js → location-services-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-access-4knz6hnm.js → location-services-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-access-4vcrnpx2.js → location-services-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-access-4y7fprxs.js → location-services-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-access-53557ph1.js → location-services-53557ph1.js} +0 -0
- /package/dist/chunks/{file-access-550bvhaj.js → location-services-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-access-5qd3pb7m.js → location-services-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{file-access-6prwharc.js → location-services-6prwharc.js} +0 -0
- /package/dist/chunks/{file-access-7akdwqpd.js → location-services-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-access-7m9af43g.js → location-services-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-access-822emrt2.js → location-services-822emrt2.js} +0 -0
- /package/dist/chunks/{file-access-88xbtdfr.js → location-services-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-access-8n3pysct.js → location-services-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-access-922hggd3.js → location-services-922hggd3.js} +0 -0
- /package/dist/chunks/{file-access-9a4afbnw.js → location-services-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-access-9rqn6x4v.js → location-services-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-access-a6k6eb26.js → location-services-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-access-af5trqkr.js → location-services-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-access-afrmfg78.js → location-services-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-access-aqzs7mqg.js → location-services-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-access-atq7p7m5.js → location-services-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-access-bkyjaxrp.js → location-services-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-access-bmr6ed5q.js → location-services-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-access-cf4snx6d.js → location-services-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-access-cvy3z8tj.js → location-services-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-access-d9fn303g.js → location-services-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-access-d9jj8t3e.js → location-services-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-access-dajrwvna.js → location-services-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-access-dap0rakb.js → location-services-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-access-df08tz66.js → location-services-df08tz66.js} +0 -0
- /package/dist/chunks/{file-access-dy18nga0.js → location-services-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-access-e5kj55wp.js → location-services-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-access-e73j6tqm.js → location-services-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-access-ec1grn59.js → location-services-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-access-eh3zwz77.js → location-services-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-access-emrn6kk6.js → location-services-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-access-f0mxakyp.js → location-services-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-access-f6n9ztr4.js → location-services-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-access-faypxj3z.js → location-services-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-access-fd410y7t.js → location-services-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-access-fxgpk5d8.js → location-services-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-access-g4wezp1m.js → location-services-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-access-g86h250q.js → location-services-g86h250q.js} +0 -0
- /package/dist/chunks/{file-access-gebd4c9n.js → location-services-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-access-gftt206x.js → location-services-gftt206x.js} +0 -0
- /package/dist/chunks/{file-access-hjbc5kem.js → location-services-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-access-hk9envan.js → location-services-hk9envan.js} +0 -0
- /package/dist/chunks/{file-access-j2ntwpah.js → location-services-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-access-j5zkgpj8.js → location-services-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-access-jjkms2e6.js → location-services-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-access-jr7sbwjy.js → location-services-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-access-jwfs4k6c.js → location-services-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-access-jzg6c2d5.js → location-services-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-access-mp448xyj.js → location-services-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-access-msx8hqn2.js → location-services-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-access-n05xt0ee.js → location-services-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-access-n3j8tn72.js → location-services-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-access-njntx4h6.js → location-services-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-access-q3sfg36h.js → location-services-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-access-q74kybfr.js → location-services-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-access-qaymkmh1.js → location-services-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-access-qb87gjwd.js → location-services-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-access-qfa1cgps.js → location-services-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-access-qg3g05ea.js → location-services-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-access-qrg20bc0.js → location-services-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-access-rcb2kzg1.js → location-services-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-access-sdp7kfr6.js → location-services-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-access-sk3qaz4a.js → location-services-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-access-ssg3fenm.js → location-services-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-access-twg0f83k.js → location-services-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-access-w803qqfp.js → location-services-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-access-wc3fc9cn.js → location-services-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-access-wer8tq1h.js → location-services-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-access-wtztk69x.js → location-services-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-access-x0ckcb58.js → location-services-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-access-x61499pn.js → location-services-x61499pn.js} +0 -0
- /package/dist/chunks/{file-access-y44na4kk.js → location-services-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-access-y8cydn3q.js → location-services-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-access-y8f7s663.js → location-services-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-access-ygaqb7jw.js → location-services-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-access-ym463w8f.js → location-services-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-access-z9919s4g.js → location-services-z9919s4g.js} +0 -0
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID15,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-services-v797jxaj.js";
|
|
6
6
|
import {
|
|
7
7
|
merge2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-services-5dfvhher.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-services-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/agent.ts
|
|
14
|
-
var
|
|
15
|
-
__export(
|
|
16
|
-
AgentPlugin: () =>
|
|
17
|
-
Plugin: () =>
|
|
14
|
+
var exports_agent = {};
|
|
15
|
+
__export(exports_agent, {
|
|
16
|
+
AgentPlugin: () => exports_agent,
|
|
17
|
+
Plugin: () => Plugin11
|
|
18
18
|
});
|
|
19
19
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
20
20
|
import { Effect } from "effect";
|
|
@@ -90,7 +90,7 @@ Rules:
|
|
|
90
90
|
- Never ask questions or add new questions
|
|
91
91
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
92
92
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
93
|
-
var
|
|
93
|
+
var Plugin11 = define({
|
|
94
94
|
id: "opencode.agent",
|
|
95
95
|
effect: Effect.fn(function* (ctx) {
|
|
96
96
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -100,13 +100,13 @@ var Plugin30 = define({
|
|
|
100
100
|
item.mode = "primary";
|
|
101
101
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
102
102
|
});
|
|
103
|
-
editor.update(
|
|
103
|
+
editor.update(ID15.make("general"), (item) => {
|
|
104
104
|
item.name = Name3.make("General");
|
|
105
105
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
106
106
|
item.mode = "subagent";
|
|
107
107
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
108
108
|
});
|
|
109
|
-
editor.update(
|
|
109
|
+
editor.update(ID15.make("explore"), (item) => {
|
|
110
110
|
const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
|
|
111
111
|
item.name = Name3.make("Explore");
|
|
112
112
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
@@ -125,19 +125,19 @@ var Plugin30 = define({
|
|
|
125
125
|
{ action: "subagent", resource: "*", effect: "deny" }
|
|
126
126
|
], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
|
|
127
127
|
});
|
|
128
|
-
editor.update(
|
|
128
|
+
editor.update(ID15.make("compaction"), (item) => {
|
|
129
129
|
item.name = Name3.make("Compaction");
|
|
130
130
|
item.mode = "primary";
|
|
131
131
|
item.hidden = true;
|
|
132
132
|
});
|
|
133
|
-
editor.update(
|
|
133
|
+
editor.update(ID15.make("title"), (item) => {
|
|
134
134
|
item.name = Name3.make("Title");
|
|
135
135
|
item.mode = "primary";
|
|
136
136
|
item.hidden = true;
|
|
137
137
|
item.system = PROMPT_TITLE;
|
|
138
138
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
139
139
|
});
|
|
140
|
-
editor.update(
|
|
140
|
+
editor.update(ID15.make("summary"), (item) => {
|
|
141
141
|
item.name = Name3.make("Summary");
|
|
142
142
|
item.mode = "primary";
|
|
143
143
|
item.hidden = true;
|
|
@@ -148,4 +148,4 @@ var Plugin30 = define({
|
|
|
148
148
|
})
|
|
149
149
|
});
|
|
150
150
|
|
|
151
|
-
export {
|
|
151
|
+
export { Plugin11, exports_agent };
|
|
@@ -4,34 +4,34 @@ import {
|
|
|
4
4
|
MAX_TOTAL_PATCH_BYTES2,
|
|
5
5
|
emptyPatch2,
|
|
6
6
|
chunksByFile2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-services-tazgh4e4.js";
|
|
8
8
|
import {
|
|
9
9
|
gitExecutable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-services-ef5x83kb.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service75
|
|
13
|
+
} from "./location-services-415rc5ej.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-services-3ecmxp0g.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-services-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/git.ts
|
|
22
22
|
var exports_git = {};
|
|
23
23
|
__export(exports_git, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin3,
|
|
25
25
|
VcsGitPlugin: () => exports_git
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Effect } from "effect";
|
|
29
29
|
import { ChildProcess } from "effect/unstable/process";
|
|
30
30
|
import { AppProcess } from "@opencode/util/process";
|
|
31
|
-
var
|
|
31
|
+
var Plugin3 = define({
|
|
32
32
|
id: "opencode.vcs.git",
|
|
33
33
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
34
|
-
const location = yield*
|
|
34
|
+
const location = yield* Service75;
|
|
35
35
|
if (location.vcs?.type !== "git")
|
|
36
36
|
return;
|
|
37
37
|
const processes = yield* AppProcess.Service;
|
|
@@ -470,4 +470,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
470
470
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
471
471
|
});
|
|
472
472
|
|
|
473
|
-
export {
|
|
473
|
+
export { Plugin3, exports_git };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-g190xswt.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info13
|
|
9
|
+
} from "./location-services-za4pw5w1.js";
|
|
10
10
|
import {
|
|
11
11
|
Info11
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-services-dj9sq318.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info15
|
|
15
|
+
} from "./location-services-g8d3gcyj.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Info9
|
|
18
|
+
} from "./location-services-cr07tj7n.js";
|
|
19
19
|
import {
|
|
20
20
|
Spec2
|
|
21
|
-
} from "./
|
|
22
|
-
import {
|
|
23
|
-
Info13
|
|
24
|
-
} from "./file-access-t3swkhbg.js";
|
|
21
|
+
} from "./location-services-qgn6gcr1.js";
|
|
25
22
|
import {
|
|
26
23
|
Info10
|
|
27
|
-
} from "./
|
|
24
|
+
} from "./location-services-bgxcxs0p.js";
|
|
25
|
+
import {
|
|
26
|
+
Info8
|
|
27
|
+
} from "./location-services-ytnbagj1.js";
|
|
28
28
|
import {
|
|
29
29
|
migrate2,
|
|
30
30
|
normalizeAction2,
|
|
@@ -33,10 +33,10 @@ import {
|
|
|
33
33
|
migrateMcp2,
|
|
34
34
|
migrateProvider2,
|
|
35
35
|
providerID2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./location-services-448vs3y4.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./location-services-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/config/normalize.ts
|
|
42
42
|
var exports_normalize = {};
|
|
@@ -84,7 +84,7 @@ function normalize2(input) {
|
|
|
84
84
|
const encoded = {};
|
|
85
85
|
unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
|
|
86
86
|
const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
|
|
87
|
-
const legacyUpdate = own(input, "autoupdate") ? decodeValue(
|
|
87
|
+
const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info8.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
|
|
88
88
|
const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
|
|
89
89
|
const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
|
|
90
90
|
const legacyMedia = own(input, "attachment") ? decodeValue(Info11, input.attachment, ["attachment"], diagnostics) : undefined;
|
|
@@ -104,7 +104,7 @@ function normalize2(input) {
|
|
|
104
104
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
105
105
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
106
106
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
107
|
-
const legacyCommands = decodeMap(input.command,
|
|
107
|
+
const legacyCommands = decodeMap(input.command, Info15, ["command"], diagnostics, decodeValue);
|
|
108
108
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
109
109
|
const migratedCommands = mapValues(legacyCommands, (value) => {
|
|
110
110
|
const migrated = commands2({ value })?.value;
|
|
@@ -112,7 +112,7 @@ function normalize2(input) {
|
|
|
112
112
|
});
|
|
113
113
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
114
114
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
115
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
115
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info13, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
116
116
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
117
117
|
const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
|
|
118
118
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -126,7 +126,7 @@ function normalize2(input) {
|
|
|
126
126
|
model: migratedSmallModel,
|
|
127
127
|
...legacyAgents.title
|
|
128
128
|
};
|
|
129
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
129
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info13, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
130
130
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
131
131
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
132
132
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
225
225
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
226
226
|
return;
|
|
227
227
|
}
|
|
228
|
-
const server = decodeValue(
|
|
228
|
+
const server = decodeValue(Info9, value, path, diagnostics);
|
|
229
229
|
if (server !== undefined)
|
|
230
230
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
231
231
|
});
|
|
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
421
421
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
422
422
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
423
423
|
return [];
|
|
424
|
-
const provider = decodeValue(
|
|
424
|
+
const provider = decodeValue(Info10, raw, path, diagnostics);
|
|
425
425
|
if (provider === undefined)
|
|
426
426
|
return [];
|
|
427
427
|
const destination = providerID2(name);
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
ID9,
|
|
3
|
+
Service65,
|
|
4
|
+
node69
|
|
5
|
+
} from "./location-services-5knxp1w9.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID8,
|
|
8
8
|
isAISDK2,
|
|
9
9
|
packageName2,
|
|
10
10
|
loadPackage2,
|
|
11
11
|
nativeSettings2,
|
|
12
12
|
mergeOverlay2,
|
|
13
13
|
mergeHeaders2,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service64,
|
|
15
|
+
node68
|
|
16
|
+
} from "./location-services-wp8d7vmq.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service42,
|
|
19
|
+
node44
|
|
20
|
+
} from "./location-services-51vvd7en.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
22
|
+
ID7,
|
|
23
23
|
VariantID2,
|
|
24
24
|
Ref2,
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service63,
|
|
26
|
+
node67
|
|
27
|
+
} from "./location-services-8027tmm7.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-services-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/model-resolver.ts
|
|
33
33
|
var exports_model_resolver = {};
|
|
@@ -36,15 +36,15 @@ __export(exports_model_resolver, {
|
|
|
36
36
|
ModelConfigurationError: () => ModelConfigurationError3,
|
|
37
37
|
ModelInitializationError: () => ModelInitializationError3,
|
|
38
38
|
ModelResolver: () => exports_model_resolver,
|
|
39
|
-
Service: () =>
|
|
39
|
+
Service: () => Service41,
|
|
40
40
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
|
|
41
41
|
UnsupportedCompactionError: () => UnsupportedCompactionError3,
|
|
42
42
|
UnsupportedPackageError: () => UnsupportedPackageError3,
|
|
43
43
|
VariantUnavailableError: () => VariantUnavailableError3,
|
|
44
44
|
fromCatalogModel: () => fromCatalogModel2,
|
|
45
45
|
hasPackage: () => hasPackage2,
|
|
46
|
-
layer: () =>
|
|
47
|
-
node: () =>
|
|
46
|
+
layer: () => layer17,
|
|
47
|
+
node: () => node43,
|
|
48
48
|
resolveModel: () => resolveModel2,
|
|
49
49
|
withVariant: () => withVariant2
|
|
50
50
|
});
|
|
@@ -54,8 +54,8 @@ import { Auth } from "@opencode/ai/route";
|
|
|
54
54
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
55
55
|
import { Npm } from "@opencode/util/npm";
|
|
56
56
|
class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
57
|
-
providerID:
|
|
58
|
-
modelID:
|
|
57
|
+
providerID: ID8,
|
|
58
|
+
modelID: ID7,
|
|
59
59
|
variant: VariantID2
|
|
60
60
|
}) {
|
|
61
61
|
get message() {
|
|
@@ -64,8 +64,8 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
67
|
-
providerID:
|
|
68
|
-
modelID:
|
|
67
|
+
providerID: ID8,
|
|
68
|
+
modelID: ID7,
|
|
69
69
|
package: Schema.String
|
|
70
70
|
}) {
|
|
71
71
|
get message() {
|
|
@@ -75,8 +75,8 @@ class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
75
75
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
76
76
|
|
|
77
77
|
class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
78
|
-
providerID:
|
|
79
|
-
modelID:
|
|
78
|
+
providerID: ID8,
|
|
79
|
+
modelID: ID7,
|
|
80
80
|
package: Schema.String,
|
|
81
81
|
detail: Schema.String
|
|
82
82
|
}) {
|
|
@@ -86,8 +86,8 @@ class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
89
|
-
providerID:
|
|
90
|
-
modelID:
|
|
89
|
+
providerID: ID8,
|
|
90
|
+
modelID: ID7,
|
|
91
91
|
package: Schema.String,
|
|
92
92
|
phase: InitializationPhase2,
|
|
93
93
|
detail: Schema.String
|
|
@@ -98,8 +98,8 @@ class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
101
|
-
providerID:
|
|
102
|
-
modelID:
|
|
101
|
+
providerID: ID8,
|
|
102
|
+
modelID: ID7,
|
|
103
103
|
variables: Schema.Array(Schema.String)
|
|
104
104
|
}) {
|
|
105
105
|
get message() {
|
|
@@ -108,8 +108,8 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
|
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
111
|
-
providerID:
|
|
112
|
-
modelID:
|
|
111
|
+
providerID: ID8,
|
|
112
|
+
modelID: ID7,
|
|
113
113
|
route: Schema.String
|
|
114
114
|
}) {
|
|
115
115
|
get message() {
|
|
@@ -117,7 +117,7 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
class
|
|
120
|
+
class Service41 extends Context.Service()("@opencode/ModelResolver") {
|
|
121
121
|
}
|
|
122
122
|
var withVariant2 = (model, variantID) => {
|
|
123
123
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -257,15 +257,15 @@ var causeMessage = (cause) => {
|
|
|
257
257
|
};
|
|
258
258
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
259
259
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
260
|
-
var
|
|
261
|
-
const providers = yield*
|
|
262
|
-
const models = yield*
|
|
263
|
-
const integrations = yield*
|
|
260
|
+
var layer17 = Layer.effect(Service41, Effect.gen(function* () {
|
|
261
|
+
const providers = yield* Service64;
|
|
262
|
+
const models = yield* Service63;
|
|
263
|
+
const integrations = yield* Service65;
|
|
264
264
|
const npm = yield* Npm.Service;
|
|
265
|
-
const aisdk = yield*
|
|
265
|
+
const aisdk = yield* Service42;
|
|
266
266
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
267
267
|
const provider = yield* providers.get(selected.providerID);
|
|
268
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
268
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID9.make(selected.providerID));
|
|
269
269
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
270
270
|
const runtimeInfo = yield* withVariant2(selected, variant);
|
|
271
271
|
const model = yield* fromCatalogModel2(runtimeInfo, credential, {
|
|
@@ -287,7 +287,7 @@ var layer24 = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
287
287
|
transport: selected.transport
|
|
288
288
|
};
|
|
289
289
|
});
|
|
290
|
-
return
|
|
290
|
+
return Service41.of({
|
|
291
291
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
292
292
|
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(hasPackage2))));
|
|
293
293
|
if (!selected)
|
|
@@ -304,10 +304,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
304
304
|
const name = packageName2(packageName);
|
|
305
305
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
306
306
|
}
|
|
307
|
-
var
|
|
308
|
-
service:
|
|
309
|
-
layer:
|
|
310
|
-
deps: [
|
|
307
|
+
var node43 = makeLocationNode({
|
|
308
|
+
service: Service41,
|
|
309
|
+
layer: layer17,
|
|
310
|
+
deps: [node68, node67, node69, Npm.node, node44]
|
|
311
311
|
});
|
|
312
312
|
|
|
313
|
-
export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3,
|
|
313
|
+
export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service41, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer17, node43, exports_model_resolver };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
render3
|
|
3
|
+
} from "./location-services-xfkkasph.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/optimize.ts
|
|
9
9
|
var exports_optimize = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_optimize, {
|
|
|
13
13
|
ArceePlugin: () => ArceePlugin2,
|
|
14
14
|
KimiPlugin: () => KimiPlugin2,
|
|
15
15
|
MetaPlugin: () => MetaPlugin2,
|
|
16
|
-
OpenAIPlugin: () =>
|
|
16
|
+
OpenAIPlugin: () => OpenAIPlugin2,
|
|
17
17
|
OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
|
|
18
18
|
OptimizePlugin: () => exports_optimize,
|
|
19
19
|
Plugins: () => Plugins2
|
|
@@ -23,7 +23,7 @@ import { Model } from "@opencode/schema/model";
|
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
|
|
25
25
|
// src/plugin/system-prompt/gpt.txt
|
|
26
|
-
var gpt_default = `You are an AI agent
|
|
26
|
+
var gpt_default = `You are an AI agent running in OpenCode, a coding agent harness. Help the user accomplish their goals using the tools you have available.
|
|
27
27
|
|
|
28
28
|
# Harness
|
|
29
29
|
- Responses are rendered as GitHub-flavored Markdown.
|
|
@@ -65,7 +65,7 @@ Do not infer authorization for work beyond the user's request. Assumptions that
|
|
|
65
65
|
`;
|
|
66
66
|
|
|
67
67
|
// src/plugin/system-prompt/gpt-astra.txt
|
|
68
|
-
var gpt_astra_default = `You are an AI agent
|
|
68
|
+
var gpt_astra_default = `You are an AI agent running in OpenCode, a coding agent harness. Help the user accomplish their goals using the tools you have available.
|
|
69
69
|
|
|
70
70
|
# Harness
|
|
71
71
|
- Responses are rendered as GitHub-flavored Markdown.
|
|
@@ -374,7 +374,7 @@ By default, match the surrounding comment density: where the code has none, add
|
|
|
374
374
|
`;
|
|
375
375
|
|
|
376
376
|
// src/plugin/optimize.ts
|
|
377
|
-
var
|
|
377
|
+
var OpenAIPlugin2 = make("opencode.prompt.openai", (model) => {
|
|
378
378
|
const id = model.id.toLowerCase();
|
|
379
379
|
if (!id.includes("gpt"))
|
|
380
380
|
return;
|
|
@@ -409,7 +409,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
|
|
|
409
409
|
return;
|
|
410
410
|
return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
|
|
411
411
|
});
|
|
412
|
-
var Plugins2 = [
|
|
412
|
+
var Plugins2 = [OpenAIPlugin2, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
|
|
413
413
|
function make(id, optimize, mode = "override") {
|
|
414
414
|
return define({
|
|
415
415
|
id,
|
|
@@ -424,7 +424,7 @@ function make(id, optimize, mode = "override") {
|
|
|
424
424
|
const system = event.system[0];
|
|
425
425
|
if (!system)
|
|
426
426
|
return;
|
|
427
|
-
const rendered =
|
|
427
|
+
const rendered = render3(template, Object.keys(event.tools));
|
|
428
428
|
const text = mode === "append" ? `${system.text}
|
|
429
429
|
|
|
430
430
|
${rendered}` : rendered;
|
|
@@ -437,4 +437,4 @@ ${rendered}` : rendered;
|
|
|
437
437
|
});
|
|
438
438
|
}
|
|
439
439
|
|
|
440
|
-
export {
|
|
440
|
+
export { OpenAIPlugin2, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service75
|
|
6
|
+
} from "./location-services-415rc5ej.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
@@ -23,7 +23,7 @@ var names4 = ["opencode.json", "opencode.jsonc"];
|
|
|
23
23
|
var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
24
24
|
const fs = yield* FSUtil.Service;
|
|
25
25
|
const global = yield* Global.Service;
|
|
26
|
-
const location = yield*
|
|
26
|
+
const location = yield* Service75;
|
|
27
27
|
const globalDirectory = AbsolutePath2.make(global.config);
|
|
28
28
|
const globalAgentsDirectory = AbsolutePath2.make(path.join(global.home, ".agents"));
|
|
29
29
|
const globalClaudeDirectory = AbsolutePath2.make(path.join(global.home, ".claude"));
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-5daktx2q.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID12,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-services-72wxma7g.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-services-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -55,7 +55,7 @@ function parse2(directory, filepath, content) {
|
|
|
55
55
|
return {
|
|
56
56
|
_tag: "Parsed",
|
|
57
57
|
skill: {
|
|
58
|
-
id:
|
|
58
|
+
id: ID12.make(id),
|
|
59
59
|
name: Name2.make(frontmatter.name ?? id),
|
|
60
60
|
...frontmatter.description === undefined ? {} : { description: frontmatter.description },
|
|
61
61
|
...autoinvoke === undefined ? {} : { autoinvoke },
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-5149gher.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
ID8
|
|
6
|
+
} from "./location-services-wp8d7vmq.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/gitlab.ts
|
|
9
9
|
import os from "os";
|
|
@@ -33,7 +33,7 @@ var GitLabPlugin2 = define({
|
|
|
33
33
|
});
|
|
34
34
|
}));
|
|
35
35
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
36
|
-
if (evt.model.providerID !==
|
|
36
|
+
if (evt.model.providerID !== ID8.gitlab)
|
|
37
37
|
return;
|
|
38
38
|
const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
|
|
39
39
|
const id = evt.model.modelID ?? evt.model.id;
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service75,
|
|
3
|
+
node79
|
|
4
|
+
} from "./location-services-415rc5ej.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
|
-
|
|
7
|
+
make21,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-eaj1djv9.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-services-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
|
-
Service: () =>
|
|
19
|
-
node: () =>
|
|
18
|
+
Service: () => Service22,
|
|
19
|
+
node: () => node26
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
23
23
|
import { Global } from "@opencode/util/global";
|
|
24
|
-
class
|
|
24
|
+
class Service22 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
|
-
const location = yield*
|
|
29
|
-
return
|
|
28
|
+
const location = yield* Service75;
|
|
29
|
+
return Service22.of({
|
|
30
30
|
load: (sessionID) => Effect.succeed(combine2([
|
|
31
|
-
|
|
31
|
+
make21({
|
|
32
32
|
key: Key4.make("core/environment"),
|
|
33
33
|
codec: Schema.toCodecJson(Schema.String),
|
|
34
34
|
read: Effect.sync(() => [
|
|
@@ -49,7 +49,7 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
49
49
|
`)
|
|
50
50
|
}
|
|
51
51
|
}),
|
|
52
|
-
|
|
52
|
+
make21({
|
|
53
53
|
key: Key4.make("core/date"),
|
|
54
54
|
codec: Schema.toCodecJson(Schema.String),
|
|
55
55
|
read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
|
|
@@ -61,6 +61,6 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
61
61
|
]))
|
|
62
62
|
});
|
|
63
63
|
}));
|
|
64
|
-
var
|
|
64
|
+
var node26 = makeLocationNode({ service: Service22, layer, deps: [Global.node, node79] });
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service22, node26, exports_builtins };
|