@opencode-ai/core 0.0.0-dev-19146 → 0.0.0-dev-19148
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 +77 -77
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/catalog.js +82 -82
- package/dist/chunks/{skill-krvqxvv7.js → location-service-map-03ptcy8q.js} +11 -11
- package/dist/chunks/{skill-x00g5gps.js → location-service-map-06qbn9zd.js} +9 -9
- package/dist/chunks/{skill-0e0xafbb.js → location-service-map-0e0xafbb.js} +2 -2
- package/dist/chunks/{skill-z0syrazk.js → location-service-map-0g6sf9st.js} +28 -28
- package/dist/chunks/{skill-gfwtb2jm.js → location-service-map-0p7avtcr.js} +40 -40
- package/dist/chunks/{skill-0paq2nw3.js → location-service-map-0paq2nw3.js} +1 -1
- package/dist/chunks/{skill-0s9ayhjt.js → location-service-map-0s9ayhjt.js} +1 -1
- package/dist/chunks/{skill-z0nz70kd.js → location-service-map-0w5rjm18.js} +38 -38
- package/dist/chunks/{skill-qfv98y5r.js → location-service-map-139hay1k.js} +32 -32
- package/dist/chunks/{skill-rkhn366t.js → location-service-map-1cn285vq.js} +12 -12
- package/dist/chunks/{skill-nj1fe1jb.js → location-service-map-1cngsnb6.js} +20 -20
- package/dist/chunks/{skill-1ct4r87x.js → location-service-map-1ct4r87x.js} +1 -1
- package/dist/chunks/{skill-kcj2w5je.js → location-service-map-1j3hrkr2.js} +9 -9
- package/dist/chunks/{skill-jmwgnw0m.js → location-service-map-1r54br2e.js} +9 -9
- package/dist/chunks/{skill-4mwpxvm9.js → location-service-map-1xdzyqy5.js} +13 -13
- package/dist/chunks/{skill-ahcbzqnj.js → location-service-map-1xk0mwxe.js} +26 -26
- package/dist/chunks/{skill-21r38tys.js → location-service-map-21r38tys.js} +1 -1
- package/dist/chunks/{skill-2402vzrj.js → location-service-map-2402vzrj.js} +1 -1
- package/dist/chunks/{skill-fsh8xs9r.js → location-service-map-26bgett0.js} +9 -9
- package/dist/chunks/{skill-rae26gbb.js → location-service-map-2a1acymz.js} +8 -8
- package/dist/chunks/{skill-2a5m3afh.js → location-service-map-2a5m3afh.js} +1 -1
- package/dist/chunks/{skill-geg7b9pt.js → location-service-map-2d7153kf.js} +17 -17
- package/dist/chunks/{skill-x40q6527.js → location-service-map-2d84wbrn.js} +19 -19
- package/dist/chunks/{skill-2ht70gj7.js → location-service-map-2ht70gj7.js} +1 -1
- package/dist/chunks/{skill-2jqmte8w.js → location-service-map-2jqmte8w.js} +2 -2
- package/dist/chunks/{skill-5hbbg0tf.js → location-service-map-2rgv953f.js} +15 -15
- package/dist/chunks/{skill-16yckt1f.js → location-service-map-2sqcrgzp.js} +14 -14
- package/dist/chunks/{skill-t4rggybx.js → location-service-map-2wyksmet.js} +22 -22
- package/dist/chunks/{skill-jxbbcmy5.js → location-service-map-2ymxpdsa.js} +7 -7
- package/dist/chunks/{skill-qs4avvkb.js → location-service-map-305k387t.js} +1 -1
- package/dist/chunks/{skill-2404hjbe.js → location-service-map-30tfae0y.js} +2 -2
- package/dist/chunks/{skill-gd0s6wzk.js → location-service-map-33vth67a.js} +15 -15
- package/dist/chunks/{skill-aaqac0b9.js → location-service-map-34xzfs1b.js} +7 -7
- package/dist/chunks/{skill-3fc6dm20.js → location-service-map-3fc6dm20.js} +1 -1
- package/dist/chunks/{skill-g9k1ggqm.js → location-service-map-3gz3fae6.js} +4 -4
- package/dist/chunks/{skill-3hepkmqq.js → location-service-map-3hepkmqq.js} +1 -1
- package/dist/chunks/{skill-8jewxnbd.js → location-service-map-3ktfk1t2.js} +4 -4
- package/dist/chunks/{skill-e3t0axx9.js → location-service-map-3kx0c57q.js} +8 -8
- package/dist/chunks/{skill-qweq2v4b.js → location-service-map-3nyamjvt.js} +11 -11
- package/dist/chunks/{skill-3qzbfqsy.js → location-service-map-3qzbfqsy.js} +2 -2
- package/dist/chunks/{skill-a1y2q22t.js → location-service-map-3s21hx6e.js} +55 -55
- package/dist/chunks/{skill-3smtnn6g.js → location-service-map-3smtnn6g.js} +1 -1
- package/dist/chunks/{skill-3tvqynh2.js → location-service-map-3tvqynh2.js} +1 -1
- package/dist/chunks/{skill-j97x952a.js → location-service-map-42yj134d.js} +30 -30
- package/dist/chunks/{skill-454k5vzh.js → location-service-map-454k5vzh.js} +1 -1
- package/dist/chunks/{skill-26hrw514.js → location-service-map-49r71nez.js} +28 -28
- package/dist/chunks/{skill-pt7wq7x0.js → location-service-map-4ex15pvw.js} +1 -1
- package/dist/chunks/{skill-7g7xka39.js → location-service-map-4fqze2qj.js} +9 -9
- package/dist/chunks/{skill-qq0tkz6q.js → location-service-map-4he2j10r.js} +3 -3
- package/dist/chunks/{skill-reqwpk3p.js → location-service-map-4hk62fah.js} +5 -5
- package/dist/chunks/{skill-wwb03vrn.js → location-service-map-4nxabq38.js} +9 -9
- package/dist/chunks/{skill-4r2nyarf.js → location-service-map-4r2nyarf.js} +1 -1
- package/dist/chunks/{skill-377jfr6a.js → location-service-map-4s85dwcq.js} +15 -15
- package/dist/chunks/{skill-y0gwj0vf.js → location-service-map-4v5fevzd.js} +4 -4
- package/dist/chunks/location-service-map-54837pgm.js +247 -0
- package/dist/chunks/{skill-6vgms480.js → location-service-map-553dkgs2.js} +23 -23
- package/dist/chunks/{skill-qn08p3qt.js → location-service-map-58ny9r5s.js} +78 -78
- package/dist/chunks/{skill-5daktx2q.js → location-service-map-5daktx2q.js} +1 -1
- package/dist/chunks/{skill-5fmxt4p5.js → location-service-map-5fmxt4p5.js} +1 -1
- package/dist/chunks/{skill-fdm74xhe.js → location-service-map-5gdkses6.js} +12 -12
- package/dist/chunks/{skill-1thvpp6x.js → location-service-map-5jv3vqzx.js} +23 -23
- package/dist/chunks/{skill-5jvc5tg2.js → location-service-map-5jvc5tg2.js} +1 -1
- package/dist/chunks/{skill-fqbqb51f.js → location-service-map-5njwjxt6.js} +8 -8
- package/dist/chunks/{skill-1q44t0as.js → location-service-map-5pgcnsdx.js} +25 -25
- package/dist/chunks/{skill-ez5b8bq3.js → location-service-map-5sg4xzjf.js} +7 -7
- package/dist/chunks/{skill-fz1pdqz4.js → location-service-map-637qq8n2.js} +9 -9
- package/dist/chunks/{skill-tptg6stc.js → location-service-map-646rggwr.js} +7 -7
- package/dist/chunks/{skill-2bq890yg.js → location-service-map-6dbgywry.js} +11 -11
- package/dist/chunks/{skill-mtcjf44p.js → location-service-map-6e958v7x.js} +4 -4
- package/dist/chunks/{skill-2saxr98m.js → location-service-map-6mbcg25b.js} +31 -31
- package/dist/chunks/{skill-7btjpst1.js → location-service-map-6rs7g6rh.js} +8 -8
- package/dist/chunks/{skill-3gbyeyxe.js → location-service-map-6t4qscpp.js} +22 -22
- package/dist/chunks/{skill-711hfp6y.js → location-service-map-711hfp6y.js} +2 -2
- package/dist/chunks/{skill-72nftnjy.js → location-service-map-72nftnjy.js} +2 -2
- package/dist/chunks/{skill-eph91qt2.js → location-service-map-742et1pq.js} +7 -7
- package/dist/chunks/{skill-w23s81zh.js → location-service-map-774scpz9.js} +37 -37
- package/dist/chunks/{skill-7bmhse3q.js → location-service-map-7bmhse3q.js} +1 -1
- package/dist/chunks/{skill-7dqw4kz8.js → location-service-map-7dqw4kz8.js} +1 -1
- package/dist/chunks/{skill-hfzd6k88.js → location-service-map-7qyqz0tn.js} +30 -30
- package/dist/chunks/location-service-map-7zk4hah4.js +4 -0
- package/dist/chunks/{skill-tzcj45k0.js → location-service-map-85d6r8k5.js} +13 -13
- package/dist/chunks/{skill-nf7qpkg2.js → location-service-map-88xjs5sb.js} +29 -29
- package/dist/chunks/{skill-1drfm42n.js → location-service-map-8gyx1w2m.js} +11 -11
- package/dist/chunks/{skill-y6zr9m49.js → location-service-map-8n1tzgm3.js} +1 -1
- package/dist/chunks/{skill-505p5ry7.js → location-service-map-8n4wb1gp.js} +6 -6
- package/dist/chunks/{skill-vbncmk2w.js → location-service-map-8rq2gk94.js} +61 -61
- package/dist/chunks/{skill-888k7gfv.js → location-service-map-8rxwk6s8.js} +10 -10
- package/dist/chunks/{skill-93a8yfjt.js → location-service-map-93a8yfjt.js} +2 -2
- package/dist/chunks/{skill-1hr809fs.js → location-service-map-9bextr3s.js} +15 -15
- package/dist/chunks/{skill-1t58wnn1.js → location-service-map-9qfxk1ve.js} +11 -11
- package/dist/chunks/{skill-4ebjt7kz.js → location-service-map-9s7vkc9y.js} +20 -20
- package/dist/chunks/{skill-bpghvxt7.js → location-service-map-a4zgtt71.js} +11 -11
- package/dist/chunks/{skill-aaet6srn.js → location-service-map-aaet6srn.js} +2 -2
- package/dist/chunks/{skill-b4j510f0.js → location-service-map-af95cbph.js} +43 -43
- package/dist/chunks/{skill-dcwd2kjw.js → location-service-map-aqpaxnrv.js} +13 -13
- package/dist/chunks/{skill-xvtcmct4.js → location-service-map-b1whx416.js} +29 -29
- package/dist/chunks/{skill-vsgh5kw9.js → location-service-map-b3wd6krr.js} +13 -13
- package/dist/chunks/{skill-0f618yfd.js → location-service-map-b6f3m773.js} +13 -13
- package/dist/chunks/{skill-b6gygkdw.js → location-service-map-b6gygkdw.js} +2 -2
- package/dist/chunks/{skill-b9wsbatv.js → location-service-map-b9wsbatv.js} +1 -1
- package/dist/chunks/{skill-d8qsmb6k.js → location-service-map-bbmnfd9a.js} +11 -11
- package/dist/chunks/{skill-ab9f4t14.js → location-service-map-bg6s5wh8.js} +21 -21
- package/dist/chunks/{skill-98smnk5z.js → location-service-map-bggmj1hg.js} +6 -6
- package/dist/chunks/{skill-rvb2zp0m.js → location-service-map-bve5bdy4.js} +4 -4
- package/dist/chunks/{skill-2w6bfmvf.js → location-service-map-bwt96rmt.js} +1 -1
- package/dist/chunks/location-service-map-by5v678g.js +18 -0
- package/dist/chunks/{skill-gb2wy085.js → location-service-map-bz49fxc8.js} +6 -6
- package/dist/chunks/{skill-e0ek2j91.js → location-service-map-c3739vpd.js} +14 -14
- package/dist/chunks/{skill-h25myfp2.js → location-service-map-c5nvwva5.js} +25 -25
- package/dist/chunks/{skill-dw67r187.js → location-service-map-ccj0fzck.js} +8 -8
- package/dist/chunks/{skill-hzscb7xf.js → location-service-map-cwpgvrxg.js} +20 -20
- package/dist/chunks/{skill-51rtrhk0.js → location-service-map-dc7c5a2v.js} +8 -8
- package/dist/chunks/{skill-9et72e7w.js → location-service-map-dhtfc8dh.js} +10 -10
- package/dist/chunks/{skill-tpvznqg8.js → location-service-map-drxrg1v0.js} +10 -10
- package/dist/chunks/{skill-apz3xhc7.js → location-service-map-e2meq0rc.js} +19 -19
- package/dist/chunks/location-service-map-e9xse5em.js +22 -0
- package/dist/chunks/{skill-pgw35ab3.js → location-service-map-emcanb2k.js} +32 -32
- package/dist/chunks/{skill-r5x6zcsm.js → location-service-map-eq1pz5kg.js} +3 -3
- package/dist/chunks/{skill-3mrm2hwf.js → location-service-map-f9anq697.js} +7 -7
- package/dist/chunks/{skill-ka1d01ec.js → location-service-map-famd3pv6.js} +5 -5
- package/dist/chunks/{skill-b27vhd2z.js → location-service-map-fm2qvscf.js} +4 -4
- package/dist/chunks/{skill-dnwcjnnq.js → location-service-map-fq756qpp.js} +25 -25
- package/dist/chunks/location-service-map-fqk2gtzq.js +460 -0
- package/dist/chunks/{skill-fxbjtjnd.js → location-service-map-fxbjtjnd.js} +1 -1
- package/dist/chunks/{skill-fxypknc8.js → location-service-map-fxypknc8.js} +1 -1
- package/dist/chunks/{skill-aj7d9r5a.js → location-service-map-g1aevtqk.js} +1 -1
- package/dist/chunks/{skill-yttv0zt4.js → location-service-map-g1efgppa.js} +21 -21
- package/dist/chunks/{skill-hrvm11jt.js → location-service-map-g2dy4bvs.js} +3 -3
- package/dist/chunks/{skill-d72308c8.js → location-service-map-g2gt0w0k.js} +2 -2
- package/dist/chunks/{skill-2qjw0q0a.js → location-service-map-g3abhybn.js} +15 -15
- package/dist/chunks/{skill-705hjevc.js → location-service-map-gc2czm5n.js} +28 -28
- package/dist/chunks/{skill-gd4qta3r.js → location-service-map-gd4qta3r.js} +1 -1
- package/dist/chunks/{skill-v5sp78z3.js → location-service-map-ghrf58bv.js} +3 -3
- package/dist/chunks/{skill-mq6ebpf7.js → location-service-map-h6b1rn69.js} +150 -150
- package/dist/chunks/{skill-h6vf3j39.js → location-service-map-h6vf3j39.js} +1 -1
- package/dist/chunks/{skill-ww8c32hp.js → location-service-map-h722e297.js} +5 -5
- package/dist/chunks/{skill-1v037h4n.js → location-service-map-h7av1qnn.js} +17 -17
- package/dist/chunks/{skill-1hy241bm.js → location-service-map-h9gn2f9p.js} +1 -1
- package/dist/chunks/{skill-3qbt326n.js → location-service-map-hbdj4dt2.js} +11 -11
- package/dist/chunks/{skill-kyrcqpxm.js → location-service-map-hdeag583.js} +22 -22
- package/dist/chunks/{skill-d70t4mkn.js → location-service-map-hefhysf4.js} +44 -44
- package/dist/chunks/{skill-heyhwy2w.js → location-service-map-heyhwy2w.js} +1 -1
- package/dist/chunks/{skill-0ykzsznw.js → location-service-map-hv939mdw.js} +8 -8
- package/dist/chunks/{skill-kvsjn1dr.js → location-service-map-hw4pv20g.js} +2 -2
- package/dist/chunks/{skill-0fxpns9x.js → location-service-map-j6cmfp9d.js} +12 -12
- package/dist/chunks/{skill-d1a1bt21.js → location-service-map-j7a4wd22.js} +1 -1
- package/dist/chunks/{skill-bf0ztrs3.js → location-service-map-j83byb14.js} +4 -4
- package/dist/chunks/{skill-5qd3pb7m.js → location-service-map-j935v87r.js} +2 -2
- package/dist/chunks/{skill-0facaex5.js → location-service-map-jcs5m68w.js} +10 -10
- package/dist/chunks/{skill-je9hks3h.js → location-service-map-je9hks3h.js} +2 -2
- package/dist/chunks/{skill-59hmewq5.js → location-service-map-jejm9xps.js} +25 -25
- package/dist/chunks/{skill-yj3e99fm.js → location-service-map-jfw3kf1b.js} +3 -3
- package/dist/chunks/{skill-f4d7scyv.js → location-service-map-jssmxfgq.js} +27 -27
- package/dist/chunks/{skill-8230h201.js → location-service-map-jyxp5v4e.js} +11 -11
- package/dist/chunks/{skill-k4bwy1x5.js → location-service-map-k4bwy1x5.js} +1 -1
- package/dist/chunks/{skill-yq07z3qa.js → location-service-map-k4cqv5tf.js} +34 -34
- package/dist/chunks/{skill-4hdyv2zw.js → location-service-map-k66gpt8e.js} +9 -9
- package/dist/chunks/{skill-kzdcqyn1.js → location-service-map-kbj2dgab.js} +5 -5
- package/dist/chunks/{skill-m9p8h4jk.js → location-service-map-kd8v050h.js} +12 -12
- package/dist/chunks/{skill-hzdqfeee.js → location-service-map-ke05zhk0.js} +2 -2
- package/dist/chunks/{skill-kg06axw8.js → location-service-map-kg06axw8.js} +1 -1
- package/dist/chunks/{skill-6926ty5t.js → location-service-map-khbq8y0e.js} +8 -8
- package/dist/chunks/{skill-wkxv5gdj.js → location-service-map-kss3zgg4.js} +4 -4
- package/dist/chunks/{skill-qz49fwgp.js → location-service-map-kxpygcw9.js} +6 -6
- package/dist/chunks/{skill-2pgk7vty.js → location-service-map-m3550wrf.js} +2 -2
- package/dist/chunks/{skill-m9w0rfyh.js → location-service-map-m9w0rfyh.js} +1 -1
- package/dist/chunks/{skill-8frzc6qw.js → location-service-map-m9wp1512.js} +4 -4
- package/dist/chunks/{skill-xbehdes5.js → location-service-map-mb2xgx49.js} +19 -19
- package/dist/chunks/{skill-de8ypev3.js → location-service-map-mkhaqzvs.js} +27 -27
- package/dist/chunks/{skill-q4thqt71.js → location-service-map-mpy0vy60.js} +22 -22
- package/dist/chunks/{skill-w5c7hha5.js → location-service-map-mtb0v59f.js} +35 -35
- package/dist/chunks/{skill-61qb9z8b.js → location-service-map-mwb1rh8h.js} +4 -4
- package/dist/chunks/{skill-m1ggyr73.js → location-service-map-n3jkd22a.js} +4 -4
- package/dist/chunks/{skill-44bhcd4v.js → location-service-map-n8perk2c.js} +17 -17
- package/dist/chunks/{skill-4hjr9hb9.js → location-service-map-nk2q8z3f.js} +29 -29
- package/dist/chunks/{skill-2jyb19dr.js → location-service-map-nmyxnhrv.js} +3 -3
- package/dist/chunks/{skill-j3pby61b.js → location-service-map-npnkh76t.js} +6 -6
- package/dist/chunks/{skill-fbtenrpe.js → location-service-map-ntdby5a8.js} +8 -8
- package/dist/chunks/{skill-c3x8qrt8.js → location-service-map-nztqyx29.js} +12 -12
- package/dist/chunks/{skill-3pecn819.js → location-service-map-p1agt55m.js} +22 -22
- package/dist/chunks/{skill-pcqms43p.js → location-service-map-padredns.js} +26 -26
- package/dist/chunks/{skill-tap9rc33.js → location-service-map-pbx4fq0c.js} +16 -16
- package/dist/chunks/{skill-pjvnvgmy.js → location-service-map-pjvnvgmy.js} +1 -1
- package/dist/chunks/{skill-pknna89w.js → location-service-map-pknna89w.js} +1 -1
- package/dist/chunks/{skill-xat1tws6.js → location-service-map-pzhbq0pe.js} +41 -41
- package/dist/chunks/{skill-rme1whxk.js → location-service-map-qe2f72y1.js} +17 -17
- package/dist/chunks/{skill-gzbkpp9m.js → location-service-map-qq8x5mwt.js} +6 -6
- package/dist/chunks/{skill-qsdy395h.js → location-service-map-qsdy395h.js} +1 -1
- package/dist/chunks/{skill-9qm9egsn.js → location-service-map-qvbcabdc.js} +2 -2
- package/dist/chunks/{skill-2tyh9zea.js → location-service-map-qvy9613d.js} +14 -14
- package/dist/chunks/{skill-t4cav981.js → location-service-map-qyqf3spn.js} +33 -33
- package/dist/chunks/{skill-8dbsynwt.js → location-service-map-r0msr716.js} +4 -4
- package/dist/chunks/{skill-v7j1z2wq.js → location-service-map-r71sk144.js} +5 -5
- package/dist/chunks/{skill-d94dr7n2.js → location-service-map-r89567m1.js} +10 -10
- package/dist/chunks/{skill-r8dhm0tv.js → location-service-map-r8dhm0tv.js} +1 -1
- package/dist/chunks/{skill-e1hrx4vk.js → location-service-map-r9n9aa8b.js} +2 -2
- package/dist/chunks/{skill-tf6cqnqn.js → location-service-map-rcgkk9bt.js} +9 -9
- package/dist/chunks/{skill-1bwaarmf.js → location-service-map-re9ss62v.js} +2 -2
- package/dist/chunks/{skill-ck0n87y5.js → location-service-map-rh8zvq4z.js} +84 -84
- package/dist/chunks/{skill-c562961a.js → location-service-map-rjkxpsgg.js} +8 -8
- package/dist/chunks/{skill-yxckwajw.js → location-service-map-rktzyqm1.js} +17 -17
- package/dist/chunks/{skill-b2rxqb9q.js → location-service-map-rmdavfxa.js} +20 -20
- package/dist/chunks/{skill-91d7ewqk.js → location-service-map-rpjwm3hx.js} +23 -23
- package/dist/chunks/{skill-j17p3z02.js → location-service-map-s0qrzs9n.js} +19 -19
- package/dist/chunks/{skill-fkxfpsqq.js → location-service-map-s8jnn1en.js} +11 -11
- package/dist/chunks/{skill-sba4qhjf.js → location-service-map-sba4qhjf.js} +1 -1
- package/dist/chunks/{skill-6chny00m.js → location-service-map-sd2gs3s8.js} +34 -34
- package/dist/chunks/{skill-jnmmvqjs.js → location-service-map-sms1b131.js} +1 -1
- package/dist/chunks/{skill-jtvd6mbe.js → location-service-map-ssvfzqqs.js} +6 -6
- package/dist/chunks/{skill-z100w0rg.js → location-service-map-sx71jems.js} +11 -11
- package/dist/chunks/{skill-ecthgzsh.js → location-service-map-t00n1yfv.js} +8 -8
- package/dist/chunks/{skill-wst6vyk0.js → location-service-map-t07aqm32.js} +22 -22
- package/dist/chunks/{skill-achegbeh.js → location-service-map-t1pem4kq.js} +18 -18
- package/dist/chunks/{skill-v6whbxwh.js → location-service-map-t45hhd0m.js} +22 -22
- package/dist/chunks/{skill-jkqz6tyv.js → location-service-map-t6pqvm63.js} +7 -7
- package/dist/chunks/{skill-s7b9zbm6.js → location-service-map-t6xnk39e.js} +11 -11
- package/dist/chunks/{skill-tazgh4e4.js → location-service-map-tazgh4e4.js} +1 -1
- package/dist/chunks/{skill-gpcgjjbg.js → location-service-map-tb55j0q1.js} +7 -7
- package/dist/chunks/{skill-tcezcvh9.js → location-service-map-tcezcvh9.js} +1 -1
- package/dist/chunks/{skill-fy6n5twb.js → location-service-map-thcxaxg6.js} +4 -4
- package/dist/chunks/{skill-tjykrgmx.js → location-service-map-tjykrgmx.js} +1 -1
- package/dist/chunks/{skill-7gwyswp8.js → location-service-map-tmxxvs2x.js} +16 -16
- package/dist/chunks/{skill-tppvcy65.js → location-service-map-tppvcy65.js} +2 -2
- package/dist/chunks/{skill-8ph8xft0.js → location-service-map-v01argkf.js} +23 -23
- package/dist/chunks/{skill-7t6f6eaq.js → location-service-map-v7nee8yx.js} +46 -46
- package/dist/chunks/{skill-6czbt3sh.js → location-service-map-v8jtv36f.js} +30 -30
- package/dist/chunks/{skill-rrnwvmz2.js → location-service-map-vpy2en2a.js} +28 -28
- package/dist/chunks/{skill-tsjc1en0.js → location-service-map-vqrbp603.js} +27 -27
- package/dist/chunks/{skill-yhtqjkzd.js → location-service-map-vz6qr5p1.js} +6 -6
- package/dist/chunks/{skill-3jj6bjb6.js → location-service-map-w0k1he6w.js} +5 -5
- package/dist/chunks/{skill-w3jym6ha.js → location-service-map-w3jym6ha.js} +2 -2
- package/dist/chunks/{skill-w3wsvvr9.js → location-service-map-w3wsvvr9.js} +1 -1
- package/dist/chunks/{skill-36mzbjn4.js → location-service-map-w4600456.js} +4 -4
- package/dist/chunks/{skill-1pja1p92.js → location-service-map-w50kyf6f.js} +50 -50
- package/dist/chunks/{skill-0r4csqbj.js → location-service-map-w8c40dj8.js} +6 -6
- package/dist/chunks/{skill-8rrfe7cb.js → location-service-map-wa5x9jhc.js} +12 -12
- package/dist/chunks/{skill-krd5cmp0.js → location-service-map-wbwz2vz2.js} +8 -8
- package/dist/chunks/{skill-wd87259q.js → location-service-map-wd87259q.js} +1 -1
- package/dist/chunks/{skill-77b3df6j.js → location-service-map-we0g4f80.js} +11 -11
- package/dist/chunks/{skill-eqzm8707.js → location-service-map-wnp6vcex.js} +4 -4
- package/dist/chunks/{skill-6zfrtyfr.js → location-service-map-wswvwwqg.js} +36 -36
- package/dist/chunks/{skill-z62gh9db.js → location-service-map-wx7kwpmt.js} +34 -34
- package/dist/chunks/{skill-8hx3mbfc.js → location-service-map-wybz6hrf.js} +9 -9
- package/dist/chunks/{skill-k8cz2ymp.js → location-service-map-wztj94nr.js} +6 -6
- package/dist/chunks/{skill-4kkev07m.js → location-service-map-wzv8aag1.js} +6 -6
- package/dist/chunks/{skill-x1ezjp6w.js → location-service-map-x1ezjp6w.js} +1 -1
- package/dist/chunks/{skill-96zakvq3.js → location-service-map-x4bfd8a5.js} +9 -9
- package/dist/chunks/{skill-te0e5arw.js → location-service-map-x4mvr2jw.js} +7 -7
- package/dist/chunks/{skill-108gejms.js → location-service-map-x4wv9fw4.js} +13 -13
- package/dist/chunks/{skill-g3m9axkp.js → location-service-map-x5hde6ee.js} +4 -4
- package/dist/chunks/{skill-3v8n0207.js → location-service-map-xbph54b9.js} +4 -4
- package/dist/chunks/{skill-63hy88sb.js → location-service-map-xchzmsnd.js} +25 -25
- package/dist/chunks/{skill-7ng38tyy.js → location-service-map-xprfjhwy.js} +15 -15
- package/dist/chunks/{skill-r5w2ssxe.js → location-service-map-xr5vwsd4.js} +9 -9
- package/dist/chunks/{skill-y1fvbwt7.js → location-service-map-y1fvbwt7.js} +1 -1
- package/dist/chunks/{skill-zr5bq73b.js → location-service-map-y1jf9cpr.js} +23 -23
- package/dist/chunks/{skill-768z0hjh.js → location-service-map-y6apgg1j.js} +1 -1
- package/dist/chunks/{skill-jwcy2c2z.js → location-service-map-y71avatq.js} +4 -4
- package/dist/chunks/{skill-b2624nj0.js → location-service-map-ych9xzme.js} +18 -18
- package/dist/chunks/{skill-zqgjvfag.js → location-service-map-yckmqyn2.js} +10 -10
- package/dist/chunks/{skill-yfbd16n1.js → location-service-map-yfbd16n1.js} +2 -2
- package/dist/chunks/{skill-ajtjthsy.js → location-service-map-yg7sb877.js} +2 -2
- package/dist/chunks/{skill-1c2ffca4.js → location-service-map-yh9kry66.js} +22 -22
- package/dist/chunks/{skill-ebmahs1r.js → location-service-map-yhe2m301.js} +27 -27
- package/dist/chunks/{skill-82zka58v.js → location-service-map-ymvww241.js} +24 -24
- package/dist/chunks/{skill-xc2m3snf.js → location-service-map-yswn773t.js} +46 -46
- package/dist/chunks/{skill-b2r752qe.js → location-service-map-ytf4r5bp.js} +11 -11
- package/dist/chunks/{skill-z1k01bn4.js → location-service-map-z1k01bn4.js} +2 -2
- package/dist/chunks/{skill-zajwd6at.js → location-service-map-z3jc06sm.js} +2 -2
- package/dist/chunks/{skill-a3x9xvd8.js → location-service-map-z3xgatyd.js} +4 -4
- package/dist/chunks/{skill-29x78va6.js → location-service-map-z63w68vq.js} +6 -6
- package/dist/chunks/{skill-n4zjznhm.js → location-service-map-zbnhqhy2.js} +8 -8
- package/dist/chunks/{skill-vmaddhmt.js → location-service-map-zj32m2et.js} +16 -16
- package/dist/chunks/{skill-3z1xmqjc.js → location-service-map-zjf1vt57.js} +9 -9
- package/dist/chunks/{skill-rz2zvdba.js → location-service-map-zn99fp6v.js} +13 -13
- package/dist/chunks/{skill-9ccg1j3a.js → location-service-map-zt5m6zxd.js} +5 -5
- package/dist/chunks/{skill-zxq2ej10.js → location-service-map-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 +79 -79
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +114 -114
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +116 -116
- package/dist/config/plugin/image.js +114 -114
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +113 -113
- package/dist/config/plugin/provider.js +112 -112
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +115 -115
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +130 -130
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +114 -114
- package/dist/config/plugin/tool-output.js +116 -116
- package/dist/config/plugin/websearch.js +112 -112
- package/dist/config/plugin/worktree.js +117 -117
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +116 -116
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +78 -78
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +358 -358
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +72 -72
- package/dist/file-mutation.js +89 -89
- 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 +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +100 -100
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +90 -90
- package/dist/git.js +7 -7
- 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 +3 -3
- 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 +349 -349
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +83 -83
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +86 -86
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +346 -346
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +102 -102
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +2 -2
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +85 -85
- package/dist/model.js +6 -6
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +107 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -82
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +96 -96
- package/dist/plugin/command.js +93 -93
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +320 -320
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +2 -2
- package/dist/plugin/plan.js +96 -96
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +4 -4
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- 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 +79 -79
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +75 -75
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +78 -78
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +75 -75
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +76 -76
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +154 -154
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +129 -129
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +337 -337
- package/dist/plugin/system-prompt.js +5 -5
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +111 -111
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +75 -75
- package/dist/provider.js +3 -3
- 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 +94 -94
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +125 -125
- package/dist/session/context.js +145 -145
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +215 -215
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +144 -144
- package/dist/session/history.js +14 -14
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +87 -87
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +124 -124
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +99 -99
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +83 -83
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +117 -117
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +82 -82
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +201 -201
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +145 -145
- package/dist/session/to-session-error.js +105 -105
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +11 -11
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +99 -99
- package/dist/skill.js +104 -104
- package/dist/snapshot.js +86 -86
- 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 +117 -117
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +115 -115
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +114 -114
- package/dist/tool/plugin/question.js +95 -95
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +204 -204
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +102 -102
- package/dist/tool/plugin/websearch.js +106 -106
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +92 -92
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/util/error.js +1 -1
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- 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/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +338 -338
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +7 -7
- package/dist/chunks/skill-38fdwfqw.js +0 -247
- package/dist/chunks/skill-9sh4wc5j.js +0 -18
- package/dist/chunks/skill-e3ze3pba.js +0 -4
- package/dist/chunks/skill-hwjyq29s.js +0 -460
- package/dist/chunks/skill-xqf4p8hn.js +0 -22
- /package/dist/chunks/{skill-0fabt78z.js → location-service-map-0fabt78z.js} +0 -0
- /package/dist/chunks/{skill-0qkdqm5v.js → location-service-map-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{skill-0zkw76rk.js → location-service-map-0zkw76rk.js} +0 -0
- /package/dist/chunks/{skill-17cy0kzp.js → location-service-map-17cy0kzp.js} +0 -0
- /package/dist/chunks/{skill-1cnp2v09.js → location-service-map-1cnp2v09.js} +0 -0
- /package/dist/chunks/{skill-1kg9ymc8.js → location-service-map-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{skill-2710q6r3.js → location-service-map-2710q6r3.js} +0 -0
- /package/dist/chunks/{skill-2axfhc9x.js → location-service-map-2axfhc9x.js} +0 -0
- /package/dist/chunks/{skill-2c3vjs8z.js → location-service-map-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{skill-359p4xyc.js → location-service-map-359p4xyc.js} +0 -0
- /package/dist/chunks/{skill-3asan66x.js → location-service-map-3asan66x.js} +0 -0
- /package/dist/chunks/{skill-3t738kvx.js → location-service-map-3t738kvx.js} +0 -0
- /package/dist/chunks/{skill-3v8g72cx.js → location-service-map-3v8g72cx.js} +0 -0
- /package/dist/chunks/{skill-3wcehsnq.js → location-service-map-3wcehsnq.js} +0 -0
- /package/dist/chunks/{skill-41nvscxy.js → location-service-map-41nvscxy.js} +0 -0
- /package/dist/chunks/{skill-43n2bw4t.js → location-service-map-43n2bw4t.js} +0 -0
- /package/dist/chunks/{skill-4knz6hnm.js → location-service-map-4knz6hnm.js} +0 -0
- /package/dist/chunks/{skill-4y7fprxs.js → location-service-map-4y7fprxs.js} +0 -0
- /package/dist/chunks/{skill-53557ph1.js → location-service-map-53557ph1.js} +0 -0
- /package/dist/chunks/{skill-550bvhaj.js → location-service-map-550bvhaj.js} +0 -0
- /package/dist/chunks/{skill-6prwharc.js → location-service-map-6prwharc.js} +0 -0
- /package/dist/chunks/{skill-7akdwqpd.js → location-service-map-7akdwqpd.js} +0 -0
- /package/dist/chunks/{skill-7m9af43g.js → location-service-map-7m9af43g.js} +0 -0
- /package/dist/chunks/{skill-822emrt2.js → location-service-map-822emrt2.js} +0 -0
- /package/dist/chunks/{skill-88xbtdfr.js → location-service-map-88xbtdfr.js} +0 -0
- /package/dist/chunks/{skill-8n3pysct.js → location-service-map-8n3pysct.js} +0 -0
- /package/dist/chunks/{skill-982e01ww.js → location-service-map-982e01ww.js} +0 -0
- /package/dist/chunks/{skill-9a4afbnw.js → location-service-map-9a4afbnw.js} +0 -0
- /package/dist/chunks/{skill-9rqn6x4v.js → location-service-map-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{skill-a1tpkmh4.js → location-service-map-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{skill-af5trqkr.js → location-service-map-af5trqkr.js} +0 -0
- /package/dist/chunks/{skill-afrmfg78.js → location-service-map-afrmfg78.js} +0 -0
- /package/dist/chunks/{skill-aqzs7mqg.js → location-service-map-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{skill-atq7p7m5.js → location-service-map-atq7p7m5.js} +0 -0
- /package/dist/chunks/{skill-bkyjaxrp.js → location-service-map-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{skill-bmr6ed5q.js → location-service-map-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{skill-cf4snx6d.js → location-service-map-cf4snx6d.js} +0 -0
- /package/dist/chunks/{skill-cvy3z8tj.js → location-service-map-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{skill-d9fn303g.js → location-service-map-d9fn303g.js} +0 -0
- /package/dist/chunks/{skill-d9jj8t3e.js → location-service-map-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{skill-dajrwvna.js → location-service-map-dajrwvna.js} +0 -0
- /package/dist/chunks/{skill-dap0rakb.js → location-service-map-dap0rakb.js} +0 -0
- /package/dist/chunks/{skill-df08tz66.js → location-service-map-df08tz66.js} +0 -0
- /package/dist/chunks/{skill-dy18nga0.js → location-service-map-dy18nga0.js} +0 -0
- /package/dist/chunks/{skill-e5kj55wp.js → location-service-map-e5kj55wp.js} +0 -0
- /package/dist/chunks/{skill-e73j6tqm.js → location-service-map-e73j6tqm.js} +0 -0
- /package/dist/chunks/{skill-eh3zwz77.js → location-service-map-eh3zwz77.js} +0 -0
- /package/dist/chunks/{skill-emrn6kk6.js → location-service-map-emrn6kk6.js} +0 -0
- /package/dist/chunks/{skill-f0mxakyp.js → location-service-map-f0mxakyp.js} +0 -0
- /package/dist/chunks/{skill-f6n9ztr4.js → location-service-map-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{skill-faypxj3z.js → location-service-map-faypxj3z.js} +0 -0
- /package/dist/chunks/{skill-fd410y7t.js → location-service-map-fd410y7t.js} +0 -0
- /package/dist/chunks/{skill-fxgpk5d8.js → location-service-map-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{skill-g4wezp1m.js → location-service-map-g4wezp1m.js} +0 -0
- /package/dist/chunks/{skill-g86h250q.js → location-service-map-g86h250q.js} +0 -0
- /package/dist/chunks/{skill-gebd4c9n.js → location-service-map-gebd4c9n.js} +0 -0
- /package/dist/chunks/{skill-hk9envan.js → location-service-map-hk9envan.js} +0 -0
- /package/dist/chunks/{skill-j2ntwpah.js → location-service-map-j2ntwpah.js} +0 -0
- /package/dist/chunks/{skill-j5zkgpj8.js → location-service-map-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{skill-jr7sbwjy.js → location-service-map-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{skill-jwfs4k6c.js → location-service-map-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{skill-jzg6c2d5.js → location-service-map-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{skill-mntxs535.js → location-service-map-mntxs535.js} +0 -0
- /package/dist/chunks/{skill-mp448xyj.js → location-service-map-mp448xyj.js} +0 -0
- /package/dist/chunks/{skill-msx8hqn2.js → location-service-map-msx8hqn2.js} +0 -0
- /package/dist/chunks/{skill-n05xt0ee.js → location-service-map-n05xt0ee.js} +0 -0
- /package/dist/chunks/{skill-n3j8tn72.js → location-service-map-n3j8tn72.js} +0 -0
- /package/dist/chunks/{skill-njntx4h6.js → location-service-map-njntx4h6.js} +0 -0
- /package/dist/chunks/{skill-p8qxwesx.js → location-service-map-p8qxwesx.js} +0 -0
- /package/dist/chunks/{skill-q3sfg36h.js → location-service-map-q3sfg36h.js} +0 -0
- /package/dist/chunks/{skill-q74kybfr.js → location-service-map-q74kybfr.js} +0 -0
- /package/dist/chunks/{skill-qaymkmh1.js → location-service-map-qaymkmh1.js} +0 -0
- /package/dist/chunks/{skill-qb87gjwd.js → location-service-map-qb87gjwd.js} +0 -0
- /package/dist/chunks/{skill-qfa1cgps.js → location-service-map-qfa1cgps.js} +0 -0
- /package/dist/chunks/{skill-qrg20bc0.js → location-service-map-qrg20bc0.js} +0 -0
- /package/dist/chunks/{skill-rcb2kzg1.js → location-service-map-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{skill-sdp7kfr6.js → location-service-map-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{skill-se0s1eqw.js → location-service-map-se0s1eqw.js} +0 -0
- /package/dist/chunks/{skill-sk3qaz4a.js → location-service-map-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{skill-ssg3fenm.js → location-service-map-ssg3fenm.js} +0 -0
- /package/dist/chunks/{skill-twg0f83k.js → location-service-map-twg0f83k.js} +0 -0
- /package/dist/chunks/{skill-w803qqfp.js → location-service-map-w803qqfp.js} +0 -0
- /package/dist/chunks/{skill-wer8tq1h.js → location-service-map-wer8tq1h.js} +0 -0
- /package/dist/chunks/{skill-wtztk69x.js → location-service-map-wtztk69x.js} +0 -0
- /package/dist/chunks/{skill-x0ckcb58.js → location-service-map-x0ckcb58.js} +0 -0
- /package/dist/chunks/{skill-x1b8g1yb.js → location-service-map-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{skill-x61499pn.js → location-service-map-x61499pn.js} +0 -0
- /package/dist/chunks/{skill-y44na4kk.js → location-service-map-y44na4kk.js} +0 -0
- /package/dist/chunks/{skill-y8cydn3q.js → location-service-map-y8cydn3q.js} +0 -0
- /package/dist/chunks/{skill-ygaqb7jw.js → location-service-map-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{skill-z9919s4g.js → location-service-map-z9919s4g.js} +0 -0
- /package/dist/chunks/{skill-zbjnn3ac.js → location-service-map-zbjnn3ac.js} +0 -0
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service76
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-w8c40dj8.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service65
|
|
6
|
+
} from "./location-service-map-bg6s5wh8.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service13,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-service-map-zn99fp6v.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service14
|
|
14
|
+
} from "./location-service-map-s8jnn1en.js";
|
|
15
15
|
import {
|
|
16
16
|
externalDirectoryPermission2,
|
|
17
17
|
resolvePath2,
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service15
|
|
19
|
+
} from "./location-service-map-nztqyx29.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service57
|
|
22
|
+
} from "./location-service-map-hefhysf4.js";
|
|
23
23
|
import {
|
|
24
24
|
fileDiff2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./location-service-map-6prwharc.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool/plugin/edit.ts
|
|
31
31
|
var exports_edit = {};
|
|
32
32
|
__export(exports_edit, {
|
|
33
33
|
EditTool: () => exports_edit,
|
|
34
|
-
Input: () =>
|
|
35
|
-
Output: () =>
|
|
36
|
-
Plugin: () =>
|
|
37
|
-
name: () =>
|
|
34
|
+
Input: () => Input4,
|
|
35
|
+
Output: () => Output4,
|
|
36
|
+
Plugin: () => Plugin35,
|
|
37
|
+
name: () => name4
|
|
38
38
|
});
|
|
39
39
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
40
40
|
import { FileDiff } from "@opencode-ai/schema/file-diff";
|
|
41
41
|
import { Bom } from "@opencode-ai/util/bom";
|
|
42
42
|
import { Effect, Schema } from "effect";
|
|
43
|
-
var
|
|
44
|
-
var
|
|
43
|
+
var name4 = "edit";
|
|
44
|
+
var Input4 = Schema.Struct({
|
|
45
45
|
path: Schema.String.annotate({
|
|
46
46
|
description: "File to edit"
|
|
47
47
|
}),
|
|
@@ -51,7 +51,7 @@ var Input8 = Schema.Struct({
|
|
|
51
51
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
52
52
|
})
|
|
53
53
|
});
|
|
54
|
-
var
|
|
54
|
+
var Output4 = Schema.Struct({
|
|
55
55
|
files: Schema.Array(FileDiff.Info),
|
|
56
56
|
replacements: Schema.Number
|
|
57
57
|
});
|
|
@@ -104,21 +104,21 @@ var findLineOccurrences = (content, search) => {
|
|
|
104
104
|
return result;
|
|
105
105
|
}, []);
|
|
106
106
|
};
|
|
107
|
-
var
|
|
107
|
+
var Plugin35 = {
|
|
108
108
|
id: "opencode.tool.edit",
|
|
109
109
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
110
|
-
const mutation = yield*
|
|
111
|
-
const fileMutation = yield*
|
|
112
|
-
const environment = yield*
|
|
113
|
-
const formatter = yield*
|
|
110
|
+
const mutation = yield* Service15;
|
|
111
|
+
const fileMutation = yield* Service13;
|
|
112
|
+
const environment = yield* Service65;
|
|
113
|
+
const formatter = yield* Service14;
|
|
114
114
|
const location = yield* Service76;
|
|
115
|
-
const permission = yield*
|
|
115
|
+
const permission = yield* Service57;
|
|
116
116
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
117
|
-
name:
|
|
117
|
+
name: name4,
|
|
118
118
|
options: { codemode: false, permission: "edit" },
|
|
119
119
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
120
|
-
input:
|
|
121
|
-
output:
|
|
120
|
+
input: Input4,
|
|
121
|
+
output: Output4,
|
|
122
122
|
execute: (input, context) => {
|
|
123
123
|
return Effect.gen(function* () {
|
|
124
124
|
const permissionSource = {
|
|
@@ -203,4 +203,4 @@ var Plugin40 = {
|
|
|
203
203
|
})
|
|
204
204
|
};
|
|
205
205
|
|
|
206
|
-
export {
|
|
206
|
+
export { name4, Input4, Output4, Plugin35, exports_edit };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service80,
|
|
3
|
-
node85
|
|
4
|
-
} from "./skill-qweq2v4b.js";
|
|
5
1
|
import {
|
|
6
2
|
Service79,
|
|
7
3
|
node84
|
|
8
|
-
} from "./
|
|
4
|
+
} from "./location-service-map-3nyamjvt.js";
|
|
5
|
+
import {
|
|
6
|
+
Service78,
|
|
7
|
+
node83
|
|
8
|
+
} from "./location-service-map-zj32m2et.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-service-map-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/credential.ts
|
|
17
17
|
var exports_credential = {};
|
|
18
18
|
__export(exports_credential, {
|
|
19
19
|
Credential: () => exports_credential,
|
|
20
|
-
Event: () =>
|
|
20
|
+
Event: () => Event16,
|
|
21
21
|
ID: () => ID12,
|
|
22
|
-
Info: () =>
|
|
22
|
+
Info: () => Info24,
|
|
23
23
|
Key: () => Key4,
|
|
24
24
|
OAuth: () => OAuth3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service61,
|
|
26
26
|
Value: () => Value2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node65
|
|
28
28
|
});
|
|
29
29
|
import { asc, desc, eq } from "drizzle-orm";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -35,9 +35,9 @@ var ID12 = Credential.ID;
|
|
|
35
35
|
var OAuth3 = Credential.OAuth;
|
|
36
36
|
var Key4 = Credential.Key;
|
|
37
37
|
var Value2 = Credential.Value;
|
|
38
|
-
var
|
|
38
|
+
var Event16 = Credential.Event;
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Info24 extends Schema.Class("Credential.Info")({
|
|
41
41
|
id: ID12,
|
|
42
42
|
integrationID: Integration.ID,
|
|
43
43
|
label: Schema.String,
|
|
@@ -45,16 +45,16 @@ class Info25 extends Schema.Class("Credential.Info")({
|
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service61 extends Context.Service()("@opencode/Credential") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
51
|
-
const db = (yield*
|
|
52
|
-
const bus = yield*
|
|
50
|
+
var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
51
|
+
const db = (yield* Service79).db;
|
|
52
|
+
const bus = yield* Service78;
|
|
53
53
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
54
54
|
const stored = (row) => {
|
|
55
55
|
if (!row.integration_id)
|
|
56
56
|
return;
|
|
57
|
-
return new
|
|
57
|
+
return new Info24({
|
|
58
58
|
id: row.id,
|
|
59
59
|
integrationID: row.integration_id,
|
|
60
60
|
label: row.label,
|
|
@@ -65,7 +65,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
65
65
|
const credential = stored(row);
|
|
66
66
|
return credential ? [credential] : [];
|
|
67
67
|
});
|
|
68
|
-
return
|
|
68
|
+
return Service61.of({
|
|
69
69
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
70
70
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
71
71
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
73
73
|
return row ? stored(row) : undefined;
|
|
74
74
|
}),
|
|
75
75
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
76
|
-
const credential = new
|
|
76
|
+
const credential = new Info24({
|
|
77
77
|
id: ID12.create(),
|
|
78
78
|
integrationID: input.integrationID,
|
|
79
79
|
label: input.label ?? "default",
|
|
@@ -89,8 +89,8 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
89
89
|
active: true
|
|
90
90
|
}).run();
|
|
91
91
|
})).pipe(Effect.orDie);
|
|
92
|
-
yield* bus.publish(
|
|
93
|
-
yield* bus.publish(
|
|
92
|
+
yield* bus.publish(Event16.Updated, {}, { global: true });
|
|
93
|
+
yield* bus.publish(Event16.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
94
94
|
return credential;
|
|
95
95
|
}),
|
|
96
96
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -106,7 +106,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
106
106
|
return credential.integration_id;
|
|
107
107
|
})).pipe(Effect.orDie);
|
|
108
108
|
if (integrationID)
|
|
109
|
-
yield* bus.publish(
|
|
109
|
+
yield* bus.publish(Event16.Switched, { integrationID, credentialID: id }, { global: true });
|
|
110
110
|
}),
|
|
111
111
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
112
112
|
if (updates.label === undefined && updates.value === undefined)
|
|
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
118
118
|
return;
|
|
119
119
|
yield* db.update(CredentialTable2).set({ label: updates.label, value: updates.value }).where(eq(CredentialTable2.id, id)).run().pipe(Effect.orDie);
|
|
120
120
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
121
|
-
yield* bus.publish(
|
|
121
|
+
yield* bus.publish(Event16.Updated, {}, { global: true });
|
|
122
122
|
}),
|
|
123
123
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
124
124
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -142,12 +142,12 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
142
142
|
})).pipe(Effect.orDie);
|
|
143
143
|
if (!removed)
|
|
144
144
|
return;
|
|
145
|
-
yield* bus.publish(
|
|
145
|
+
yield* bus.publish(Event16.Updated, {}, { global: true });
|
|
146
146
|
if (removed.switched)
|
|
147
|
-
yield* bus.publish(
|
|
147
|
+
yield* bus.publish(Event16.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
148
148
|
})
|
|
149
149
|
});
|
|
150
150
|
}));
|
|
151
|
-
var
|
|
151
|
+
var node65 = makeGlobalNode({ service: Service61, layer, deps: [node84, node83] });
|
|
152
152
|
|
|
153
|
-
export { ID12, OAuth3, Key4, Value2,
|
|
153
|
+
export { ID12, OAuth3, Key4, Value2, Event16, Info24, Service61, node65, exports_credential };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node83
|
|
4
|
+
} from "./location-service-map-zj32m2et.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-service-map-qe2f72y1.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-service-map-sk3qaz4a.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError3,
|
|
20
20
|
Options: () => Options4,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
22
|
+
Service: () => Service22,
|
|
23
|
+
UnavailableError: () => UnavailableError2,
|
|
24
24
|
configured: () => configured4,
|
|
25
|
-
layer: () =>
|
|
26
|
-
node: () =>
|
|
25
|
+
layer: () => layer10,
|
|
26
|
+
node: () => node26
|
|
27
27
|
});
|
|
28
28
|
import os from "node:os";
|
|
29
29
|
import path from "node:path";
|
|
@@ -37,20 +37,20 @@ import { resolveBinary } from "#persistent-pty-binary";
|
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode-ai/schema/persistent-pty";
|
|
38
38
|
var Options4 = Schema.Struct({ handoff: Schema.optional(Handoff) });
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
41
41
|
message: Schema.String
|
|
42
42
|
}) {
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
46
46
|
ptyID: Pty.ID
|
|
47
47
|
}) {
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service22 extends Context.Service()("@opencode/PersistentPty") {
|
|
51
51
|
}
|
|
52
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
53
|
-
const bus = yield*
|
|
52
|
+
var makeLayer = (options = {}) => Layer.effect(Service22, Effect.gen(function* () {
|
|
53
|
+
const bus = yield* Service78;
|
|
54
54
|
const global = yield* Global.Service;
|
|
55
55
|
const context = yield* Effect.context();
|
|
56
56
|
const runFork = Effect.runForkWith(context);
|
|
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service53, Effect.gen(function* (
|
|
|
72
72
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
73
73
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
74
74
|
if (!found)
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new NotFoundError3({ ptyID: id });
|
|
76
76
|
return found;
|
|
77
77
|
});
|
|
78
78
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -162,7 +162,7 @@ var makeLayer = (options = {}) => Layer.effect(Service53, Effect.gen(function* (
|
|
|
162
162
|
});
|
|
163
163
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
164
164
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
165
|
-
return yield* new
|
|
165
|
+
return yield* new UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
|
|
166
166
|
const id = current.get(sessionID);
|
|
167
167
|
if (!id)
|
|
168
168
|
return null;
|
|
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service53, Effect.gen(function* (
|
|
|
239
239
|
detach: attachment.detach
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
|
-
return
|
|
242
|
+
return Service22.of({
|
|
243
243
|
list,
|
|
244
244
|
get,
|
|
245
245
|
create,
|
|
@@ -255,17 +255,17 @@ var makeLayer = (options = {}) => Layer.effect(Service53, Effect.gen(function* (
|
|
|
255
255
|
attach
|
|
256
256
|
});
|
|
257
257
|
}));
|
|
258
|
-
var
|
|
258
|
+
var layer10 = makeLayer();
|
|
259
259
|
var configured4 = (options) => makeGlobalNode({
|
|
260
|
-
service:
|
|
261
|
-
layer: options === undefined ?
|
|
262
|
-
deps: [
|
|
260
|
+
service: Service22,
|
|
261
|
+
layer: options === undefined ? layer10 : makeLayer(options),
|
|
262
|
+
deps: [node83, Global.node]
|
|
263
263
|
});
|
|
264
|
-
var
|
|
264
|
+
var node26 = configured4();
|
|
265
265
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
266
266
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
267
|
-
var unexpected = (response) => Effect.fail(new
|
|
268
|
-
var unavailable = (error) => new
|
|
267
|
+
var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
268
|
+
var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
|
|
269
269
|
var runtimeDirectory = () => {
|
|
270
270
|
const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
|
|
271
271
|
return path.join(root, crypto.randomUUID());
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export { Options4,
|
|
304
|
+
export { Options4, UnavailableError2, NotFoundError3, Service22, layer10, configured4, node26, exports_persistent_pty, Handoff2 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service38,
|
|
10
|
+
node: () => node41
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode-ai/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode-ai/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service38 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node41 = LayerNode.unbound(Service38, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service38, node41, exports_service2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info16,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info16 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info16, exports_mcp5 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
9
|
var exports_mcp2 = {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-service-map-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/delete.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt2 = {};
|
|
7
7
|
__export(exports_system_prompt2, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt2,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make14
|
|
10
10
|
});
|
|
11
11
|
|
|
12
12
|
// src/session/runner/prompt/system.txt
|
|
@@ -28,7 +28,7 @@ var system_default = `You are an AI agent powered by OpenCode, a coding agent ha
|
|
|
28
28
|
`;
|
|
29
29
|
|
|
30
30
|
// src/session/system-prompt.ts
|
|
31
|
-
function
|
|
31
|
+
function make14(tools) {
|
|
32
32
|
const instructions = [];
|
|
33
33
|
if (tools.includes("shell")) {
|
|
34
34
|
instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.");
|
|
@@ -43,4 +43,4 @@ function make15(tools) {
|
|
|
43
43
|
`));
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { make14, exports_system_prompt2 };
|