@opencode/core 0.0.0-dev-19639 → 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 +80 -80
- 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/{kv-23razwnm.js → location-services-02gzfyb5.js} +5 -5
- package/dist/chunks/{kv-11cdrfz0.js → location-services-02phnknr.js} +13 -13
- package/dist/chunks/{kv-gfkqpt1e.js → location-services-04kk4d0b.js} +11 -11
- package/dist/chunks/{kv-rp9zvaag.js → location-services-0586yqyr.js} +25 -25
- package/dist/chunks/{kv-2tkww0cv.js → location-services-0fpm5ckv.js} +54 -54
- package/dist/chunks/{kv-6hjx5zpb.js → location-services-0jq9fyba.js} +9 -9
- package/dist/chunks/location-services-0mesazry.js +4 -0
- package/dist/chunks/{kv-v3w1xs5d.js → location-services-0ms6sga5.js} +28 -28
- package/dist/chunks/{kv-0paq2nw3.js → location-services-0paq2nw3.js} +1 -1
- package/dist/chunks/{kv-0q0f95c6.js → location-services-0q0f95c6.js} +1 -1
- package/dist/chunks/{kv-jhrsatcv.js → location-services-0qfr4k4g.js} +5 -5
- package/dist/chunks/{kv-ja5e70h9.js → location-services-0rzg7vgx.js} +20 -20
- package/dist/chunks/{kv-2rjb08nw.js → location-services-0tjwgcx9.js} +20 -20
- package/dist/chunks/{kv-5z94tqmr.js → location-services-0z4j7wf4.js} +9 -9
- package/dist/chunks/{kv-fbsb99ch.js → location-services-0ztby9hd.js} +17 -17
- package/dist/chunks/{kv-0faph1ym.js → location-services-16srzzdd.js} +9 -9
- package/dist/chunks/{kv-837ekr2g.js → location-services-178pw3hr.js} +8 -8
- package/dist/chunks/{kv-1dazxqgg.js → location-services-1dazxqgg.js} +2 -2
- package/dist/chunks/{kv-xxf7whvt.js → location-services-1kpkrr0w.js} +9 -9
- package/dist/chunks/{kv-56gdpj1q.js → location-services-1ygqh575.js} +9 -9
- package/dist/chunks/{kv-0eyg9sj2.js → location-services-1zv9wbr8.js} +10 -10
- package/dist/chunks/{kv-7p8zzw9r.js → location-services-219xz9an.js} +10 -10
- package/dist/chunks/{kv-21r38tys.js → location-services-21r38tys.js} +1 -1
- package/dist/chunks/{kv-6h73sxmp.js → location-services-2402vzrj.js} +5 -5
- package/dist/chunks/{kv-eh9sc5va.js → location-services-25tw5xqn.js} +3 -3
- package/dist/chunks/{kv-2a5m3afh.js → location-services-2a5m3afh.js} +1 -1
- package/dist/chunks/{kv-csdaj16z.js → location-services-2f04pwep.js} +3 -3
- package/dist/chunks/{kv-3xjrnnx0.js → location-services-3bw0x712.js} +7 -7
- package/dist/chunks/{kv-s9q8v06y.js → location-services-3c141gkz.js} +27 -27
- package/dist/chunks/{kv-8ma1xsee.js → location-services-3ecmxp0g.js} +20 -20
- package/dist/chunks/{kv-3fc6dm20.js → location-services-3fc6dm20.js} +1 -1
- package/dist/chunks/{kv-3hepkmqq.js → location-services-3hepkmqq.js} +1 -1
- package/dist/chunks/{kv-ammhsa5d.js → location-services-3qppezv8.js} +30 -30
- package/dist/chunks/{kv-3smtnn6g.js → location-services-3smtnn6g.js} +1 -1
- package/dist/chunks/{kv-3tvqynh2.js → location-services-3tvqynh2.js} +1 -1
- package/dist/chunks/{kv-yvbb4q6z.js → location-services-3y7s1jsp.js} +20 -20
- package/dist/chunks/{kv-s4xyvqvb.js → location-services-3yx66ec2.js} +9 -9
- package/dist/chunks/{kv-82jgxh54.js → location-services-415rc5ej.js} +16 -16
- package/dist/chunks/{kv-q6mv38f6.js → location-services-448vs3y4.js} +4 -4
- package/dist/chunks/{kv-278xm5yv.js → location-services-4585f844.js} +34 -34
- package/dist/chunks/{kv-rxk5qj53.js → location-services-4ascqkkz.js} +5 -5
- package/dist/chunks/{kv-c38fatdf.js → location-services-4fpx8h9m.js} +36 -36
- package/dist/chunks/{kv-q3skwyt1.js → location-services-4g26z7a1.js} +29 -29
- package/dist/chunks/{kv-jsa56ppy.js → location-services-4gd3ydy5.js} +18 -18
- package/dist/chunks/{kv-6h8410cm.js → location-services-4gpbsxfq.js} +17 -17
- package/dist/chunks/{kv-pstg3rfm.js → location-services-4jc5c4h4.js} +1 -1
- package/dist/chunks/{kv-3d23mvyt.js → location-services-4ncrsdff.js} +10 -10
- package/dist/chunks/{kv-vmmg1jfa.js → location-services-4sb98eey.js} +11 -11
- package/dist/chunks/{kv-z5zwqd1h.js → location-services-4zxevbz2.js} +5 -5
- package/dist/chunks/{kv-dn2vbr7z.js → location-services-5149gher.js} +11 -11
- package/dist/chunks/{kv-j9e3hj5f.js → location-services-51vvd7en.js} +11 -11
- package/dist/chunks/{kv-5daktx2q.js → location-services-5daktx2q.js} +1 -1
- package/dist/chunks/{kv-hmgs27qq.js → location-services-5dfvhher.js} +54 -54
- package/dist/chunks/{kv-ydpmx7wn.js → location-services-5knxp1w9.js} +29 -29
- package/dist/chunks/{kv-5t3nmthw.js → location-services-5t3nmthw.js} +2 -2
- package/dist/chunks/{kv-zr3rbwkr.js → location-services-5x3hq9j3.js} +27 -27
- package/dist/chunks/{kv-19d1a1wx.js → location-services-5yjbp4dm.js} +3 -3
- package/dist/chunks/{kv-g0445xdp.js → location-services-5yzzbxa7.js} +8 -8
- package/dist/chunks/{kv-669tq793.js → location-services-669tq793.js} +1 -1
- package/dist/chunks/{kv-r4yqrmdq.js → location-services-66r9f6z1.js} +5 -5
- package/dist/chunks/{kv-5q9yd8mm.js → location-services-684662vh.js} +11 -11
- package/dist/chunks/{kv-ca0bryv0.js → location-services-6c28me67.js} +17 -17
- package/dist/chunks/{kv-06bhybne.js → location-services-6gfvp9py.js} +9 -9
- package/dist/chunks/{kv-6msgmcgs.js → location-services-6msgmcgs.js} +1 -1
- package/dist/chunks/{kv-8s7dmzqa.js → location-services-6n37dfq0.js} +10 -10
- package/dist/chunks/{kv-9gth7wdx.js → location-services-6nk105vy.js} +19 -19
- package/dist/chunks/{kv-qj2k6z66.js → location-services-6ta1kpbb.js} +28 -28
- package/dist/chunks/{kv-7e0sryjp.js → location-services-7147cet5.js} +12 -12
- package/dist/chunks/{kv-5jh529f7.js → location-services-72wxma7g.js} +22 -22
- package/dist/chunks/{kv-mvfsc1pv.js → location-services-73tb2d7t.js} +3 -3
- package/dist/chunks/{kv-g4g43v69.js → location-services-750q0psk.js} +37 -37
- package/dist/chunks/{kv-7bmhse3q.js → location-services-7bmhse3q.js} +1 -1
- package/dist/chunks/{kv-g5m2be3b.js → location-services-7gekp0pq.js} +15 -15
- package/dist/chunks/{kv-dwdfpg9y.js → location-services-7sadfj5y.js} +17 -17
- package/dist/chunks/{kv-g6qcyr5q.js → location-services-8027tmm7.js} +32 -32
- package/dist/chunks/{kv-bnkdgddv.js → location-services-80vjes0x.js} +24 -24
- package/dist/chunks/{kv-w7pp9m0t.js → location-services-81bq2xsc.js} +18 -18
- package/dist/chunks/{kv-cm4vr11e.js → location-services-85jve5wz.js} +4 -4
- package/dist/chunks/{kv-8d7r5vzw.js → location-services-8d7r5vzw.js} +1 -1
- package/dist/chunks/{kv-5rm646d3.js → location-services-8h9se9rt.js} +13 -13
- package/dist/chunks/{kv-4rpey7g3.js → location-services-8jdmsvjr.js} +9 -9
- package/dist/chunks/{kv-aq3mj96b.js → location-services-8jpr388a.js} +26 -26
- package/dist/chunks/{kv-dj2t23y0.js → location-services-8p4f9s12.js} +2 -2
- package/dist/chunks/{kv-990yn902.js → location-services-8rj4g5mw.js} +18 -18
- package/dist/chunks/{kv-60rh8x3g.js → location-services-8wmmyffs.js} +9 -9
- package/dist/chunks/{kv-hpfvhvya.js → location-services-97w5rk9e.js} +8 -8
- package/dist/chunks/location-services-9djywp5r.js +478 -0
- package/dist/chunks/{kv-zegzr0ah.js → location-services-9gv4jtzp.js} +20 -20
- package/dist/chunks/{kv-pegpe8pp.js → location-services-9mmvzbkx.js} +15 -15
- package/dist/chunks/{kv-d60avr4p.js → location-services-9r37c4n6.js} +12 -12
- package/dist/chunks/location-services-9zdhvgqs.js +18 -0
- package/dist/chunks/{kv-5c4hm403.js → location-services-a1bz86dw.js} +3 -3
- package/dist/chunks/{kv-427pr1n5.js → location-services-a3f8kctb.js} +8 -8
- package/dist/chunks/{kv-4pwnbtse.js → location-services-a7tmcrpq.js} +33 -33
- package/dist/chunks/{kv-aaet6srn.js → location-services-aaet6srn.js} +2 -2
- package/dist/chunks/{kv-j15mfg1p.js → location-services-ab9238g2.js} +4 -4
- package/dist/chunks/{kv-cfxtxrf2.js → location-services-aggp30hw.js} +16 -16
- package/dist/chunks/{kv-g1sxm558.js → location-services-at1kfnmk.js} +8 -8
- package/dist/chunks/{kv-f9v9ak1k.js → location-services-axhjmd8c.js} +31 -31
- package/dist/chunks/{kv-aazbweyx.js → location-services-azmtv9sv.js} +27 -27
- package/dist/chunks/{kv-5qkxfyep.js → location-services-b0awdqvx.js} +7 -7
- package/dist/chunks/{kv-k14ta1mw.js → location-services-b5t6kpaj.js} +43 -43
- package/dist/chunks/{kv-b6gygkdw.js → location-services-b6gygkdw.js} +2 -2
- package/dist/chunks/{kv-y98n2nmb.js → location-services-b7wwt9tw.js} +27 -27
- package/dist/chunks/{kv-5kjbzgy0.js → location-services-bcjhdqzs.js} +23 -23
- package/dist/chunks/{kv-qn4ba14w.js → location-services-bgxcxs0p.js} +5 -5
- package/dist/chunks/{kv-7ac170kv.js → location-services-bha4atvq.js} +4 -4
- package/dist/chunks/{kv-yx4rmz5q.js → location-services-bkr4pjs6.js} +23 -23
- package/dist/chunks/{kv-g8saz83p.js → location-services-bn81s3gb.js} +22 -22
- package/dist/chunks/{kv-bndc73cn.js → location-services-bndc73cn.js} +2 -2
- package/dist/chunks/{kv-br1n7bnk.js → location-services-bp8fbrfw.js} +17 -17
- package/dist/chunks/{kv-ag4rn41e.js → location-services-ca7w653e.js} +4 -4
- package/dist/chunks/{kv-0181d07v.js → location-services-cbbxnz2q.js} +25 -25
- package/dist/chunks/{kv-m0jqrx5p.js → location-services-cfpkc3c9.js} +2 -2
- package/dist/chunks/{kv-gftr8a0n.js → location-services-cktzqvwp.js} +14 -14
- package/dist/chunks/{kv-9g3kc011.js → location-services-cnvnzs5z.js} +12 -12
- package/dist/chunks/{kv-5mtzsd3b.js → location-services-cpj0znwe.js} +4 -4
- package/dist/chunks/{kv-af04s6ss.js → location-services-cr07tj7n.js} +5 -5
- package/dist/chunks/{kv-9x5mrpkq.js → location-services-cy7kc1q1.js} +11 -11
- package/dist/chunks/{kv-zr0yvs15.js → location-services-dbqyrmkt.js} +11 -11
- package/dist/chunks/{kv-je97d5cj.js → location-services-dbxcrmyc.js} +3 -3
- package/dist/chunks/{kv-pmr4s4kc.js → location-services-dfe8djrf.js} +4 -4
- package/dist/chunks/{kv-e1nkw1ch.js → location-services-dgazmx6a.js} +41 -41
- package/dist/chunks/{kv-dj9sq318.js → location-services-dj9sq318.js} +2 -2
- package/dist/chunks/{kv-5syhs8jk.js → location-services-djayz1b9.js} +15 -15
- package/dist/chunks/{kv-sqenp41j.js → location-services-dwt525sp.js} +18 -18
- package/dist/chunks/{kv-ynbq69as.js → location-services-dyn67hmm.js} +4 -4
- package/dist/chunks/{kv-x50x66fn.js → location-services-e01z6h01.js} +3 -3
- package/dist/chunks/{kv-zrdk0evt.js → location-services-e2xf6ff7.js} +46 -46
- package/dist/chunks/{kv-z6c53ynw.js → location-services-e9rrmjf1.js} +20 -20
- package/dist/chunks/{kv-s8d7rejh.js → location-services-eaj1djv9.js} +6 -6
- package/dist/chunks/{kv-c5gn303e.js → location-services-ec87kc5z.js} +4 -4
- package/dist/chunks/{kv-ef5x83kb.js → location-services-ef5x83kb.js} +1 -1
- package/dist/chunks/{kv-ptkydeht.js → location-services-ef8wy0yg.js} +23 -23
- package/dist/chunks/{kv-6sg1sdqs.js → location-services-egqygf3v.js} +10 -10
- package/dist/chunks/{kv-etq0c3wd.js → location-services-etq0c3wd.js} +1 -1
- package/dist/chunks/{kv-3yaty7qs.js → location-services-evf9rjs4.js} +18 -18
- package/dist/chunks/{kv-hdnk95c8.js → location-services-f828m53h.js} +2 -2
- package/dist/chunks/{kv-1jzfq4bq.js → location-services-fnqw9s27.js} +15 -15
- package/dist/chunks/{kv-fxbjtjnd.js → location-services-fxbjtjnd.js} +1 -1
- package/dist/chunks/{kv-6jqkynh6.js → location-services-fxp7jvj2.js} +11 -11
- package/dist/chunks/{kv-jw80jp6b.js → location-services-g190xswt.js} +4 -4
- package/dist/chunks/{kv-ywb23tag.js → location-services-g5bdk11j.js} +4 -4
- package/dist/chunks/{kv-mja1kt4d.js → location-services-g7775ndf.js} +13 -13
- package/dist/chunks/{kv-fdv30zvt.js → location-services-g8d3gcyj.js} +4 -4
- package/dist/chunks/{kv-6n468d57.js → location-services-g97k7hqe.js} +6 -6
- package/dist/chunks/{kv-gd4qta3r.js → location-services-gd4qta3r.js} +1 -1
- package/dist/chunks/{kv-tpej8ve4.js → location-services-gh298ty0.js} +19 -19
- package/dist/chunks/{kv-hzk0yx3b.js → location-services-gkjbdhm0.js} +4 -4
- package/dist/chunks/{kv-hvj1z1b4.js → location-services-gkqpf5j8.js} +3 -3
- package/dist/chunks/{kv-avdt6qhh.js → location-services-gn22vpfk.js} +20 -20
- package/dist/chunks/{kv-gv6a8nnw.js → location-services-gv6a8nnw.js} +2 -2
- package/dist/chunks/{kv-kkqrf715.js → location-services-gz1ysa8z.js} +20 -20
- package/dist/chunks/{kv-h03wrkyp.js → location-services-h03wrkyp.js} +2 -2
- package/dist/chunks/{kv-h6vf3j39.js → location-services-h6vf3j39.js} +1 -1
- package/dist/chunks/{kv-y91nftqb.js → location-services-ha0nspk8.js} +26 -26
- package/dist/chunks/{kv-nh999r6h.js → location-services-hdh6cx73.js} +16 -16
- package/dist/chunks/{kv-gzwt477p.js → location-services-hqdn5jrt.js} +7 -7
- package/dist/chunks/{kv-zwgd9mwv.js → location-services-hy5fzqeh.js} +5 -5
- package/dist/chunks/{kv-9c9zbnn4.js → location-services-hz0n22rs.js} +8 -8
- package/dist/chunks/{kv-j56e64zr.js → location-services-j56e64zr.js} +1 -1
- package/dist/chunks/{kv-6ehbgqat.js → location-services-j5w2yx54.js} +6 -6
- package/dist/chunks/{kv-er44h2rz.js → location-services-j91m9kav.js} +19 -19
- package/dist/chunks/{kv-c9h4s5tc.js → location-services-j95sj0b7.js} +35 -35
- package/dist/chunks/{kv-51fjvt3r.js → location-services-jcpsvazg.js} +5 -5
- package/dist/chunks/{kv-xwztb879.js → location-services-jea6qdrd.js} +15 -15
- package/dist/chunks/{kv-y7mmfpa1.js → location-services-jfy9m09y.js} +10 -10
- package/dist/chunks/{kv-vz25c400.js → location-services-jwa4pvs5.js} +20 -20
- package/dist/chunks/{kv-r39yac3r.js → location-services-k3cgqnmg.js} +44 -44
- package/dist/chunks/{kv-e8340df8.js → location-services-k9kj6xed.js} +4 -4
- package/dist/chunks/{kv-4q6ckhfj.js → location-services-kc86y1cg.js} +5 -5
- package/dist/chunks/{kv-hnwcghfw.js → location-services-kcm4f2kg.js} +6 -6
- package/dist/chunks/{kv-x3krd4w8.js → location-services-ktm1df1f.js} +4 -4
- package/dist/chunks/{kv-41j1ttxa.js → location-services-kvq4cs15.js} +16 -16
- package/dist/chunks/{kv-yrw3g6cq.js → location-services-m1vq15se.js} +35 -35
- package/dist/chunks/{kv-w66h423q.js → location-services-m2gtt6ea.js} +2 -2
- package/dist/chunks/{kv-m9w0rfyh.js → location-services-m9w0rfyh.js} +1 -1
- package/dist/chunks/{kv-d9s3hc82.js → location-services-mazvwtnn.js} +16 -16
- package/dist/chunks/{kv-h61d1rt6.js → location-services-me1tt2vw.js} +9 -9
- package/dist/chunks/{kv-hgkbtkys.js → location-services-mq0rsbgt.js} +11 -11
- package/dist/chunks/{kv-k0hvzg6w.js → location-services-my244nh0.js} +22 -22
- package/dist/chunks/{kv-nxsj8qk0.js → location-services-nbqe97f8.js} +6 -6
- package/dist/chunks/{kv-t0ws8mbr.js → location-services-nc4xh2kb.js} +48 -48
- package/dist/chunks/{kv-782x85dz.js → location-services-nj8hxbz2.js} +54 -54
- package/dist/chunks/{kv-qdc4xrm1.js → location-services-nqdbn1cc.js} +29 -29
- package/dist/chunks/{kv-vm4kz6ms.js → location-services-nsdnjfab.js} +35 -35
- package/dist/chunks/{kv-epmshq33.js → location-services-p1fvsthc.js} +8 -8
- package/dist/chunks/{kv-p70cw9s4.js → location-services-p1hzy66n.js} +30 -30
- package/dist/chunks/{kv-qxckzp83.js → location-services-p3bz7yjh.js} +13 -13
- package/dist/chunks/{kv-j1t3fp47.js → location-services-p3q8av9z.js} +3 -3
- package/dist/chunks/{kv-verbbpg9.js → location-services-p5ndkpmy.js} +15 -15
- package/dist/chunks/{kv-cd1mq5a8.js → location-services-pas7sy9w.js} +1 -1
- package/dist/chunks/{kv-3c2xh2cb.js → location-services-pf3kx1xh.js} +26 -26
- package/dist/chunks/{kv-1qnd0792.js → location-services-pfj4yg38.js} +30 -30
- package/dist/chunks/{kv-57ez7d0k.js → location-services-pjmw00w1.js} +7 -7
- package/dist/chunks/{kv-pjvnvgmy.js → location-services-pjvnvgmy.js} +1 -1
- package/dist/chunks/{kv-pknna89w.js → location-services-pknna89w.js} +1 -1
- package/dist/chunks/{kv-jkt2pdqn.js → location-services-pkzfcp45.js} +30 -30
- package/dist/chunks/location-services-pmhjn3da.js +26 -0
- package/dist/chunks/{kv-m2xnkqg2.js → location-services-pn2fvd3j.js} +12 -12
- package/dist/chunks/{kv-aeccn3br.js → location-services-pv1225zn.js} +1 -1
- package/dist/chunks/{kv-548bwhbx.js → location-services-q6wy8yy3.js} +5 -5
- package/dist/chunks/{kv-faqjheh2.js → location-services-q8dzjkx6.js} +9 -9
- package/dist/chunks/{kv-7dqw4kz8.js → location-services-qgn6gcr1.js} +5 -5
- package/dist/chunks/{kv-gqhmbrjs.js → location-services-qnaqs727.js} +15 -15
- package/dist/chunks/{kv-09evap6p.js → location-services-qrsn4n6d.js} +89 -89
- package/dist/chunks/{kv-qsdy395h.js → location-services-qsdy395h.js} +1 -1
- package/dist/chunks/{kv-fq769th7.js → location-services-r135cjb7.js} +4 -4
- package/dist/chunks/{kv-r2m716tb.js → location-services-r2m716tb.js} +2 -2
- package/dist/chunks/{kv-r9mregkx.js → location-services-r9mregkx.js} +2 -2
- package/dist/chunks/{kv-rdw6cm16.js → location-services-rdw6cm16.js} +1 -1
- package/dist/chunks/{kv-8b9twrdg.js → location-services-rhmaz7bq.js} +17 -17
- package/dist/chunks/{kv-x58pb539.js → location-services-s7af8scf.js} +8 -8
- package/dist/chunks/{kv-tyqkzprt.js → location-services-s8610hey.js} +2 -2
- package/dist/chunks/{kv-8bcx3nez.js → location-services-ssnweha5.js} +4 -4
- package/dist/chunks/{kv-fbge7qf9.js → location-services-sx0er8nq.js} +32 -32
- package/dist/chunks/{kv-3a9wmna2.js → location-services-ta8x8nr4.js} +32 -32
- package/dist/chunks/{kv-kb187nae.js → location-services-tangkck8.js} +15 -15
- package/dist/chunks/{kv-tazgh4e4.js → location-services-tazgh4e4.js} +1 -1
- package/dist/chunks/{kv-werfsjnx.js → location-services-tc4zgeve.js} +25 -25
- package/dist/chunks/{kv-tcezcvh9.js → location-services-tcezcvh9.js} +1 -1
- package/dist/chunks/{kv-tdstcens.js → location-services-tdstcens.js} +1 -1
- package/dist/chunks/{kv-e8m664vc.js → location-services-tqzvspav.js} +9 -9
- package/dist/chunks/{kv-hq4ym7hc.js → location-services-tr4zpdh3.js} +47 -47
- package/dist/chunks/{kv-tvtrv512.js → location-services-tvtrv512.js} +1 -1
- package/dist/chunks/{kv-3fa9na4z.js → location-services-tw59yntq.js} +6 -6
- package/dist/chunks/{kv-j8xqf3tm.js → location-services-v1288tjp.js} +23 -23
- package/dist/chunks/{kv-hkqaemm2.js → location-services-v2vh6mnd.js} +23 -23
- package/dist/chunks/{kv-bqvrq9r3.js → location-services-v797jxaj.js} +21 -21
- package/dist/chunks/location-services-v8p7hepz.js +39 -0
- package/dist/chunks/{kv-70qbzkph.js → location-services-v9561b1h.js} +21 -21
- package/dist/chunks/{kv-veqvce7d.js → location-services-veqvce7d.js} +1 -1
- package/dist/chunks/{kv-sm181a3e.js → location-services-vfyag517.js} +38 -38
- package/dist/chunks/{kv-426xjh9f.js → location-services-vgbbjg13.js} +6 -6
- package/dist/chunks/{kv-g5wygk5r.js → location-services-vm8cdysd.js} +8 -8
- package/dist/chunks/{kv-vzcthcp8.js → location-services-vzcthcp8.js} +1 -1
- package/dist/chunks/{kv-z7pmxwv1.js → location-services-w0rde4tw.js} +11 -11
- package/dist/chunks/{kv-msq0jde0.js → location-services-w1k39n5e.js} +4 -4
- package/dist/chunks/{kv-w3wsvvr9.js → location-services-w3wsvvr9.js} +1 -1
- package/dist/chunks/{kv-ktsp86c1.js → location-services-w4dkncpy.js} +10 -10
- package/dist/chunks/{kv-psw4s0xn.js → location-services-w9e5737r.js} +23 -23
- package/dist/chunks/{kv-wd87259q.js → location-services-wd87259q.js} +1 -1
- package/dist/chunks/{kv-egt3aqgc.js → location-services-wft7b0k7.js} +85 -85
- package/dist/chunks/{kv-re5kaxrw.js → location-services-wp8d7vmq.js} +32 -32
- package/dist/chunks/{kv-r0cp9c3a.js → location-services-wqkncbjv.js} +6 -6
- package/dist/chunks/{kv-n1cf34bf.js → location-services-x11s5y75.js} +33 -33
- package/dist/chunks/{kv-x1ezjp6w.js → location-services-x1ezjp6w.js} +1 -1
- package/dist/chunks/{kv-gagqe2a0.js → location-services-xa2bqj84.js} +9 -9
- package/dist/chunks/{kv-by366b0z.js → location-services-xe7qpmt5.js} +11 -11
- package/dist/chunks/{kv-nhy5jxhy.js → location-services-xfkkasph.js} +5 -5
- package/dist/chunks/{kv-xk747vep.js → location-services-xk747vep.js} +2 -2
- package/dist/chunks/{kv-kxq43fw0.js → location-services-xpahhy1b.js} +28 -28
- package/dist/chunks/{kv-9d2y98hx.js → location-services-xpy6m67s.js} +10 -10
- package/dist/chunks/{kv-43p703w4.js → location-services-xr9fhq19.js} +15 -15
- package/dist/chunks/location-services-xwdetg76.js +247 -0
- package/dist/chunks/{kv-y1fvbwt7.js → location-services-y1fvbwt7.js} +1 -1
- package/dist/chunks/{kv-ddq2qd83.js → location-services-y55p7fpy.js} +24 -24
- package/dist/chunks/{kv-g800bs2f.js → location-services-y665jayr.js} +26 -26
- package/dist/chunks/{kv-y71avatq.js → location-services-y71avatq.js} +1 -1
- package/dist/chunks/{kv-2v2aaw6h.js → location-services-ydgw7m1v.js} +5 -5
- package/dist/chunks/{kv-t1r2rqz2.js → location-services-yjc6asv9.js} +20 -20
- package/dist/chunks/{kv-mjvv52aw.js → location-services-yjrx1dyy.js} +181 -181
- package/dist/chunks/{kv-26xgc15z.js → location-services-ymga07ac.js} +13 -13
- package/dist/chunks/{kv-yp2x3t23.js → location-services-yp2x3t23.js} +1 -1
- package/dist/chunks/{kv-v001sjzq.js → location-services-yra71rfx.js} +3 -3
- package/dist/chunks/{kv-yrhqyw5v.js → location-services-yrhqyw5v.js} +1 -1
- package/dist/chunks/{kv-yrznvahk.js → location-services-yrznvahk.js} +2 -2
- package/dist/chunks/{kv-pf8xhqfy.js → location-services-ytnbagj1.js} +38 -38
- package/dist/chunks/{kv-z0bkrqjs.js → location-services-z0bkrqjs.js} +1 -1
- package/dist/chunks/{kv-behht3cm.js → location-services-z28368px.js} +17 -17
- package/dist/chunks/{kv-z63w68vq.js → location-services-z63w68vq.js} +2 -2
- package/dist/chunks/{kv-tpej6hf6.js → location-services-za4pw5w1.js} +8 -8
- package/dist/chunks/{kv-6w4gqaqz.js → location-services-zdh9vwwx.js} +3 -3
- package/dist/chunks/{kv-hr5bc81f.js → location-services-ze5v0a14.js} +8 -8
- package/dist/chunks/{kv-zeh9ct20.js → location-services-zeh9ct20.js} +2 -2
- package/dist/chunks/{kv-k0nnq3t9.js → location-services-zkp7t929.js} +8 -8
- package/dist/chunks/{kv-06jg94xm.js → location-services-zn5v3n4q.js} +9 -9
- package/dist/chunks/{kv-zr2ceqn5.js → location-services-zr2ceqn5.js} +1 -1
- package/dist/chunks/{kv-zxq2ej10.js → location-services-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +78 -78
- 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 +122 -122
- 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 +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- 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 +84 -84
- 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 +2 -2
- 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 +15 -15
- 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 +104 -104
- 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 +98 -98
- 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 +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- 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 +105 -105
- package/dist/mcp/instructions.js +124 -124
- 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 +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- 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 +5 -5
- 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 +5 -5
- package/dist/plugin/optimize.js +2 -2
- 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 +91 -91
- 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 +344 -343
- 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 +6 -6
- 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 +227 -227
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -87
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +128 -128
- 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 +219 -219
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +74 -74
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- 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 +3 -3
- 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 +226 -226
- 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 +111 -111
- package/dist/session/runner/step.js +122 -122
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- 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 +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +3 -3
- 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 +13 -13
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +109 -109
- 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 +121 -121
- package/dist/tool/plugin/edit.js +117 -117
- 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 +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +117 -117
- 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 +15 -15
- 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 +3 -3
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- 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 +3 -3
- 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 +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- 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 +10 -10
- 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/kv-1x11rq2a.js +0 -18
- package/dist/chunks/kv-5rea1s2y.js +0 -26
- package/dist/chunks/kv-6kdq0pjd.js +0 -4
- package/dist/chunks/kv-h8hc1fxm.js +0 -247
- package/dist/chunks/kv-m5bnrnnk.js +0 -474
- /package/dist/chunks/{kv-0qkdqm5v.js → location-services-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{kv-0zkw76rk.js → location-services-0zkw76rk.js} +0 -0
- /package/dist/chunks/{kv-17cy0kzp.js → location-services-17cy0kzp.js} +0 -0
- /package/dist/chunks/{kv-1cnp2v09.js → location-services-1cnp2v09.js} +0 -0
- /package/dist/chunks/{kv-1kg9ymc8.js → location-services-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{kv-24dcb14g.js → location-services-24dcb14g.js} +0 -0
- /package/dist/chunks/{kv-2710q6r3.js → location-services-2710q6r3.js} +0 -0
- /package/dist/chunks/{kv-2axfhc9x.js → location-services-2axfhc9x.js} +0 -0
- /package/dist/chunks/{kv-2c3vjs8z.js → location-services-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{kv-359p4xyc.js → location-services-359p4xyc.js} +0 -0
- /package/dist/chunks/{kv-3asan66x.js → location-services-3asan66x.js} +0 -0
- /package/dist/chunks/{kv-3v8g72cx.js → location-services-3v8g72cx.js} +0 -0
- /package/dist/chunks/{kv-3w5fmr99.js → location-services-3w5fmr99.js} +0 -0
- /package/dist/chunks/{kv-3wcehsnq.js → location-services-3wcehsnq.js} +0 -0
- /package/dist/chunks/{kv-43n2bw4t.js → location-services-43n2bw4t.js} +0 -0
- /package/dist/chunks/{kv-4knz6hnm.js → location-services-4knz6hnm.js} +0 -0
- /package/dist/chunks/{kv-4vcrnpx2.js → location-services-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{kv-4y7fprxs.js → location-services-4y7fprxs.js} +0 -0
- /package/dist/chunks/{kv-53557ph1.js → location-services-53557ph1.js} +0 -0
- /package/dist/chunks/{kv-550bvhaj.js → location-services-550bvhaj.js} +0 -0
- /package/dist/chunks/{kv-5qd3pb7m.js → location-services-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{kv-6prwharc.js → location-services-6prwharc.js} +0 -0
- /package/dist/chunks/{kv-7akdwqpd.js → location-services-7akdwqpd.js} +0 -0
- /package/dist/chunks/{kv-7m9af43g.js → location-services-7m9af43g.js} +0 -0
- /package/dist/chunks/{kv-822emrt2.js → location-services-822emrt2.js} +0 -0
- /package/dist/chunks/{kv-88xbtdfr.js → location-services-88xbtdfr.js} +0 -0
- /package/dist/chunks/{kv-8n3pysct.js → location-services-8n3pysct.js} +0 -0
- /package/dist/chunks/{kv-922hggd3.js → location-services-922hggd3.js} +0 -0
- /package/dist/chunks/{kv-9a4afbnw.js → location-services-9a4afbnw.js} +0 -0
- /package/dist/chunks/{kv-9rqn6x4v.js → location-services-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{kv-a6k6eb26.js → location-services-a6k6eb26.js} +0 -0
- /package/dist/chunks/{kv-af5trqkr.js → location-services-af5trqkr.js} +0 -0
- /package/dist/chunks/{kv-afrmfg78.js → location-services-afrmfg78.js} +0 -0
- /package/dist/chunks/{kv-aqzs7mqg.js → location-services-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{kv-atq7p7m5.js → location-services-atq7p7m5.js} +0 -0
- /package/dist/chunks/{kv-bkyjaxrp.js → location-services-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{kv-bmr6ed5q.js → location-services-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{kv-cf4snx6d.js → location-services-cf4snx6d.js} +0 -0
- /package/dist/chunks/{kv-cvy3z8tj.js → location-services-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{kv-d9fn303g.js → location-services-d9fn303g.js} +0 -0
- /package/dist/chunks/{kv-d9jj8t3e.js → location-services-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{kv-dajrwvna.js → location-services-dajrwvna.js} +0 -0
- /package/dist/chunks/{kv-dap0rakb.js → location-services-dap0rakb.js} +0 -0
- /package/dist/chunks/{kv-df08tz66.js → location-services-df08tz66.js} +0 -0
- /package/dist/chunks/{kv-dy18nga0.js → location-services-dy18nga0.js} +0 -0
- /package/dist/chunks/{kv-e5kj55wp.js → location-services-e5kj55wp.js} +0 -0
- /package/dist/chunks/{kv-e73j6tqm.js → location-services-e73j6tqm.js} +0 -0
- /package/dist/chunks/{kv-ec1grn59.js → location-services-ec1grn59.js} +0 -0
- /package/dist/chunks/{kv-eh3zwz77.js → location-services-eh3zwz77.js} +0 -0
- /package/dist/chunks/{kv-emrn6kk6.js → location-services-emrn6kk6.js} +0 -0
- /package/dist/chunks/{kv-f0mxakyp.js → location-services-f0mxakyp.js} +0 -0
- /package/dist/chunks/{kv-f6n9ztr4.js → location-services-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{kv-faypxj3z.js → location-services-faypxj3z.js} +0 -0
- /package/dist/chunks/{kv-fd410y7t.js → location-services-fd410y7t.js} +0 -0
- /package/dist/chunks/{kv-fxgpk5d8.js → location-services-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{kv-g4wezp1m.js → location-services-g4wezp1m.js} +0 -0
- /package/dist/chunks/{kv-g86h250q.js → location-services-g86h250q.js} +0 -0
- /package/dist/chunks/{kv-gebd4c9n.js → location-services-gebd4c9n.js} +0 -0
- /package/dist/chunks/{kv-gftt206x.js → location-services-gftt206x.js} +0 -0
- /package/dist/chunks/{kv-hjbc5kem.js → location-services-hjbc5kem.js} +0 -0
- /package/dist/chunks/{kv-hk9envan.js → location-services-hk9envan.js} +0 -0
- /package/dist/chunks/{kv-j2ntwpah.js → location-services-j2ntwpah.js} +0 -0
- /package/dist/chunks/{kv-j5zkgpj8.js → location-services-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{kv-jjkms2e6.js → location-services-jjkms2e6.js} +0 -0
- /package/dist/chunks/{kv-jr7sbwjy.js → location-services-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{kv-jwfs4k6c.js → location-services-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{kv-jzg6c2d5.js → location-services-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{kv-mp448xyj.js → location-services-mp448xyj.js} +0 -0
- /package/dist/chunks/{kv-msx8hqn2.js → location-services-msx8hqn2.js} +0 -0
- /package/dist/chunks/{kv-n05xt0ee.js → location-services-n05xt0ee.js} +0 -0
- /package/dist/chunks/{kv-n3j8tn72.js → location-services-n3j8tn72.js} +0 -0
- /package/dist/chunks/{kv-njntx4h6.js → location-services-njntx4h6.js} +0 -0
- /package/dist/chunks/{kv-q3sfg36h.js → location-services-q3sfg36h.js} +0 -0
- /package/dist/chunks/{kv-q74kybfr.js → location-services-q74kybfr.js} +0 -0
- /package/dist/chunks/{kv-qaymkmh1.js → location-services-qaymkmh1.js} +0 -0
- /package/dist/chunks/{kv-qb87gjwd.js → location-services-qb87gjwd.js} +0 -0
- /package/dist/chunks/{kv-qfa1cgps.js → location-services-qfa1cgps.js} +0 -0
- /package/dist/chunks/{kv-qg3g05ea.js → location-services-qg3g05ea.js} +0 -0
- /package/dist/chunks/{kv-qrg20bc0.js → location-services-qrg20bc0.js} +0 -0
- /package/dist/chunks/{kv-rcb2kzg1.js → location-services-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{kv-sdp7kfr6.js → location-services-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{kv-sk3qaz4a.js → location-services-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{kv-ssg3fenm.js → location-services-ssg3fenm.js} +0 -0
- /package/dist/chunks/{kv-twg0f83k.js → location-services-twg0f83k.js} +0 -0
- /package/dist/chunks/{kv-w803qqfp.js → location-services-w803qqfp.js} +0 -0
- /package/dist/chunks/{kv-wc3fc9cn.js → location-services-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{kv-wer8tq1h.js → location-services-wer8tq1h.js} +0 -0
- /package/dist/chunks/{kv-wtztk69x.js → location-services-wtztk69x.js} +0 -0
- /package/dist/chunks/{kv-x0ckcb58.js → location-services-x0ckcb58.js} +0 -0
- /package/dist/chunks/{kv-x61499pn.js → location-services-x61499pn.js} +0 -0
- /package/dist/chunks/{kv-y44na4kk.js → location-services-y44na4kk.js} +0 -0
- /package/dist/chunks/{kv-y8cydn3q.js → location-services-y8cydn3q.js} +0 -0
- /package/dist/chunks/{kv-y8f7s663.js → location-services-y8f7s663.js} +0 -0
- /package/dist/chunks/{kv-ygaqb7jw.js → location-services-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{kv-ym463w8f.js → location-services-ym463w8f.js} +0 -0
- /package/dist/chunks/{kv-z9919s4g.js → location-services-z9919s4g.js} +0 -0
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-25tw5xqn.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-services-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node59
|
|
12
|
+
} from "./location-services-zkp7t929.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-services-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-services-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/workspace.ts
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID5,
|
|
25
|
+
Info: () => Info19,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service56,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
|
-
configured: () =>
|
|
30
|
-
node: () =>
|
|
29
|
+
configured: () => configured9,
|
|
30
|
+
node: () => node58
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
|
|
|
35
35
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
36
36
|
import { systemError } from "effect/PlatformError";
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
|
-
var
|
|
38
|
+
var ID5 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info19 extends Schema.Class("Workspace.Info")({
|
|
41
|
+
id: ID5,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
44
44
|
createdAt: Schema.Number,
|
|
@@ -46,24 +46,24 @@ class Info18 extends Schema.Class("Workspace.Info")({
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
49
|
+
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID5 }) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
53
|
-
workspaceID:
|
|
53
|
+
workspaceID: ID5,
|
|
54
54
|
provider: Schema.String,
|
|
55
55
|
existingProvider: Schema.String
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service56 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
|
-
var
|
|
62
|
-
service:
|
|
61
|
+
var configured9 = (options = {}) => makeGlobalNode({
|
|
62
|
+
service: Service56,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [node86,
|
|
64
|
+
deps: [node86, node59]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
66
|
+
var layer = (options) => Layer.effect(Service56, Effect.gen(function* () {
|
|
67
67
|
const db = (yield* Service82).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service61, Effect.gen(function* () {
|
|
|
80
80
|
return row;
|
|
81
81
|
});
|
|
82
82
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
83
|
-
const info = (row, binding) => new
|
|
83
|
+
const info = (row, binding) => new Info19({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service61, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service56.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
|
-
const workspaceID = input.id ??
|
|
159
|
+
const workspaceID = input.id ?? ID5.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
161
161
|
if (existing) {
|
|
162
162
|
if (existing.provider === input.provider)
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service61, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node58 = configured9();
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { ID5, Info19, NotFound3, CreateConflict2, Service56, configured9, node58, exports_workspace };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service75,
|
|
6
|
+
node79
|
|
7
|
+
} from "./location-services-415rc5ej.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service40,
|
|
10
|
+
node42
|
|
11
|
+
} from "./location-services-dwt525sp.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-services-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-services-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options3,
|
|
25
|
+
Service: () => Service39,
|
|
26
|
+
configured: () => configured3,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer16,
|
|
29
|
+
node: () => node41,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options3 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service39 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
62
|
-
const location = yield*
|
|
63
|
-
const ripgrep = yield*
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service39, Effect.gen(function* () {
|
|
62
|
+
const location = yield* Service75;
|
|
63
|
+
const ripgrep = yield* Service40;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service39.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
116
|
-
const location = yield*
|
|
115
|
+
var fffLayer2 = Layer.effect(Service39, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service75;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
119
119
|
basePath: location.directory,
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service39.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service39.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
178
|
-
const location = yield*
|
|
177
|
+
var layer16 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
|
+
const location = yield* Service75;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
181
181
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured3(options) {
|
|
186
|
+
return makeLocationNode({ service: Service39, layer: layer16(options), deps: [node79, node42] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node41 = configured3();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options3, Service39, ripgrepLayer2, fffLayer2, layer16, configured3, node41, exports_search };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/project/schema.ts
|
|
9
9
|
var exports_schema = {};
|
|
10
10
|
__export(exports_schema, {
|
|
11
11
|
Current: () => Current3,
|
|
12
|
-
Event: () =>
|
|
12
|
+
Event: () => Event19,
|
|
13
13
|
ID: () => ID18,
|
|
14
|
-
Info: () =>
|
|
14
|
+
Info: () => Info33,
|
|
15
15
|
ProjectSchema: () => exports_schema,
|
|
16
16
|
UpdateInput: () => UpdateInput4,
|
|
17
17
|
Vcs: () => Vcs3
|
|
@@ -20,12 +20,12 @@ import { Schema } from "effect";
|
|
|
20
20
|
import { Project } from "@opencode/schema/project";
|
|
21
21
|
var ID18 = Project.ID;
|
|
22
22
|
var Current3 = Project.Current;
|
|
23
|
-
var
|
|
23
|
+
var Info33 = Project.Info;
|
|
24
24
|
var UpdateInput4 = Project.UpdateInput;
|
|
25
|
-
var
|
|
25
|
+
var Event19 = Project.Event;
|
|
26
26
|
var Vcs3 = Schema.Struct({
|
|
27
27
|
type: Project.Vcs,
|
|
28
28
|
store: AbsolutePath2
|
|
29
29
|
});
|
|
30
30
|
|
|
31
|
-
export { ID18, Current3,
|
|
31
|
+
export { ID18, Current3, Info33, UpdateInput4, Event19, Vcs3, exports_schema };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-cpj0znwe.js";
|
|
4
4
|
import {
|
|
5
5
|
Service81
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-dyn67hmm.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event14
|
|
10
|
+
} from "./location-services-3qppezv8.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID9,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-services-5knxp1w9.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID8,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service64
|
|
20
|
+
} from "./location-services-wp8d7vmq.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID7
|
|
23
|
+
} from "./location-services-8027tmm7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
load2,
|
|
26
|
+
derive2
|
|
27
|
+
} from "./location-services-bn81s3gb.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-services-5149gher.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/github-copilot.ts
|
|
33
33
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -59,7 +59,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
59
59
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
60
60
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
61
61
|
var oauth = (app) => ({
|
|
62
|
-
integrationID:
|
|
62
|
+
integrationID: ID9.make("github-copilot"),
|
|
63
63
|
method: {
|
|
64
64
|
id: methodID,
|
|
65
65
|
type: "oauth",
|
|
@@ -157,7 +157,7 @@ var oauth = (app) => ({
|
|
|
157
157
|
var GithubCopilotPlugin2 = define({
|
|
158
158
|
id: "opencode.provider.github.copilot",
|
|
159
159
|
effect: Effect.fn(function* (ctx) {
|
|
160
|
-
const providers = yield*
|
|
160
|
+
const providers = yield* Service64;
|
|
161
161
|
const bus = yield* Service81;
|
|
162
162
|
const loading = Semaphore.makeUnsafe(1);
|
|
163
163
|
const loaded = {};
|
|
@@ -173,9 +173,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
173
173
|
return;
|
|
174
174
|
}
|
|
175
175
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
176
|
-
const provider = yield* providers.get(
|
|
176
|
+
const provider = yield* providers.get(ID8.githubCopilot);
|
|
177
177
|
const remote = yield* Effect.tryPromise({
|
|
178
|
-
try: () =>
|
|
178
|
+
try: () => load2(url, {
|
|
179
179
|
...provider?.headers,
|
|
180
180
|
Authorization: `Bearer ${credential.refresh}`,
|
|
181
181
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -194,13 +194,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
194
194
|
editor.method.update(oauth(ctx.app));
|
|
195
195
|
});
|
|
196
196
|
yield* ctx.provider.transform((evt) => {
|
|
197
|
-
const item = evt.get(
|
|
197
|
+
const item = evt.get(ID8.githubCopilot);
|
|
198
198
|
if (!item)
|
|
199
199
|
return;
|
|
200
200
|
if (loaded.models) {
|
|
201
201
|
evt.add({
|
|
202
202
|
info: item.provider,
|
|
203
|
-
models: Array.from(
|
|
203
|
+
models: Array.from(derive2(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
|
|
204
204
|
sourceConnection: loaded.connection
|
|
205
205
|
});
|
|
206
206
|
return;
|
|
@@ -214,17 +214,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
214
214
|
}
|
|
215
215
|
});
|
|
216
216
|
yield* ctx.model.transform((models) => {
|
|
217
|
-
if (models.get(
|
|
218
|
-
models.update(
|
|
217
|
+
if (models.get(ID8.githubCopilot, ID7.make("gpt-5-chat-latest"))) {
|
|
218
|
+
models.update(ID8.githubCopilot, ID7.make("gpt-5-chat-latest"), (model) => {
|
|
219
219
|
model.enabled = false;
|
|
220
220
|
});
|
|
221
221
|
}
|
|
222
222
|
});
|
|
223
223
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
224
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
225
225
|
yield* refresh().pipe(Effect.forkScoped);
|
|
226
226
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
227
|
-
if (evt.model.providerID !==
|
|
227
|
+
if (evt.model.providerID !== ID8.githubCopilot)
|
|
228
228
|
return;
|
|
229
229
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
230
230
|
return;
|
|
@@ -233,7 +233,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
233
233
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
234
234
|
}));
|
|
235
235
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
236
|
-
if (evt.model.providerID !==
|
|
236
|
+
if (evt.model.providerID !== ID8.githubCopilot)
|
|
237
237
|
return;
|
|
238
238
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
239
239
|
return;
|
|
@@ -243,9 +243,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
243
243
|
evt.headers["X-Interaction-Id"] = evt.sessionID;
|
|
244
244
|
if (interaction !== "conversation-agent")
|
|
245
245
|
evt.headers["x-initiator"] = "agent";
|
|
246
|
-
}), { providerID:
|
|
246
|
+
}), { providerID: ID8.githubCopilot });
|
|
247
247
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
248
|
-
if (evt.model.providerID !==
|
|
248
|
+
if (evt.model.providerID !== ID8.githubCopilot)
|
|
249
249
|
return;
|
|
250
250
|
const token = evt.request.headers.get("x-api-key");
|
|
251
251
|
if (!token)
|
|
@@ -253,9 +253,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
253
253
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
254
254
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
255
255
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
256
|
-
}), { providerID:
|
|
256
|
+
}), { providerID: ID8.githubCopilot });
|
|
257
257
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
258
|
-
if (evt.model.providerID !==
|
|
258
|
+
if (evt.model.providerID !== ID8.githubCopilot)
|
|
259
259
|
return;
|
|
260
260
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
261
261
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin7
|
|
3
|
+
} from "./location-services-ze5v0a14.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin8
|
|
6
|
+
} from "./location-services-3yx66ec2.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin6
|
|
9
|
+
} from "./location-services-1kpkrr0w.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin5
|
|
12
|
+
} from "./location-services-178pw3hr.js";
|
|
13
|
+
import {
|
|
14
|
+
Plugin2
|
|
15
|
+
} from "./location-services-8wmmyffs.js";
|
|
16
|
+
|
|
17
|
+
// src/plugin/websearch/index.ts
|
|
18
|
+
var WebSearchPlugins2 = [
|
|
19
|
+
Plugin7,
|
|
20
|
+
Plugin8,
|
|
21
|
+
Plugin6,
|
|
22
|
+
Plugin5,
|
|
23
|
+
Plugin2
|
|
24
|
+
];
|
|
25
|
+
|
|
26
|
+
export { WebSearchPlugins2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-rdw6cm16.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-services-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service46,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node48
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service46 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
122
122
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
123
123
|
};
|
|
124
124
|
});
|
|
125
|
-
return
|
|
125
|
+
return Service46.of({
|
|
126
126
|
transform: state.transform,
|
|
127
127
|
reload: state.reload,
|
|
128
128
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node48 = makeLocationNode({
|
|
143
|
+
service: Service46,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service46, node48, exports_tool_output2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID8
|
|
3
|
+
} from "./location-services-wp8d7vmq.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/google-vertex.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -24,7 +24,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
25
|
yield* ctx.provider.transform((evt) => {
|
|
26
26
|
for (const item of evt.list()) {
|
|
27
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
27
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID8.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
28
28
|
continue;
|
|
29
29
|
const project = resolveProject(item.provider.settings ?? {});
|
|
30
30
|
const location = String(resolveLocation(item.provider.settings ?? {}));
|
|
@@ -42,7 +42,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
42
42
|
});
|
|
43
43
|
yield* ctx.model.transform((models) => {
|
|
44
44
|
for (const item of models.provider.list()) {
|
|
45
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
45
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID8.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
46
46
|
continue;
|
|
47
47
|
const project = resolveProject(item.provider.settings ?? {});
|
|
48
48
|
const location = String(resolveLocation(item.provider.settings ?? {}));
|
|
@@ -59,7 +59,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
61
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
62
|
-
if (evt.model.providerID !==
|
|
62
|
+
if (evt.model.providerID !== ID8.googleVertex)
|
|
63
63
|
return;
|
|
64
64
|
evt.language = evt.sdk.languageModel(String(evt.model.modelID ?? evt.model.id).trim());
|
|
65
65
|
}));
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service47
|
|
3
|
+
} from "./location-services-b5t6kpaj.js";
|
|
4
4
|
import {
|
|
5
5
|
match2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-y1fvbwt7.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-services-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/policy.ts
|
|
15
15
|
var exports_policy = {};
|
|
16
16
|
__export(exports_policy, {
|
|
17
17
|
ConfigPolicyPlugin: () => exports_policy,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin33
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin33 = define({
|
|
23
23
|
id: "opencode.config.policy",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service47;
|
|
26
26
|
const loaded = yield* observe2(config, ctx.event, ctx.provider.reload());
|
|
27
27
|
yield* ctx.provider.transform((providers) => {
|
|
28
28
|
const policies = loaded.entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.experimental?.policies ?? []);
|
|
@@ -35,4 +35,4 @@ var Plugin16 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin33, exports_policy };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/plugin.ts
|
|
6
6
|
var exports_plugin3 = {};
|
|
7
7
|
__export(exports_plugin3, {
|
|
8
8
|
ConfigPluginV1: () => exports_plugin3,
|
|
9
|
-
Options: () =>
|
|
9
|
+
Options: () => Options7,
|
|
10
10
|
Spec: () => Spec2
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
14
|
-
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String,
|
|
13
|
+
var Options7 = Schema.Record(Schema.String, Schema.Unknown);
|
|
14
|
+
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options7]))]);
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { Options7, Spec2, exports_plugin3 };
|