@opencode/core 0.0.0-dev-19974 → 0.0.0-dev-19975
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/{command-kkf65y6a.js → location-services-0673vfe6.js} +25 -25
- package/dist/chunks/{command-svt8e23h.js → location-services-089kk14c.js} +28 -28
- package/dist/chunks/{command-4gv05ame.js → location-services-0916jsyy.js} +11 -11
- package/dist/chunks/{command-sf8s250z.js → location-services-0akatdbs.js} +24 -24
- package/dist/chunks/{command-ca4wybjn.js → location-services-0bsrjas3.js} +12 -12
- package/dist/chunks/{command-0paq2nw3.js → location-services-0paq2nw3.js} +1 -1
- package/dist/chunks/{command-0q0f95c6.js → location-services-0q0f95c6.js} +1 -1
- package/dist/chunks/{command-97w5rk9e.js → location-services-0t9wd588.js} +8 -8
- package/dist/chunks/{command-g2aavtfc.js → location-services-104q0bh7.js} +3 -3
- package/dist/chunks/{command-5esk5nf6.js → location-services-1391s5qk.js} +18 -18
- package/dist/chunks/{command-b3h4hk8s.js → location-services-177v4jr3.js} +167 -167
- package/dist/chunks/{command-4qm7m3m6.js → location-services-19ppwr7v.js} +14 -14
- package/dist/chunks/{command-mt1xf8xq.js → location-services-1bdsjmsw.js} +4 -4
- package/dist/chunks/{command-1dazxqgg.js → location-services-1dazxqgg.js} +2 -2
- package/dist/chunks/{command-qmawctgv.js → location-services-1qbned4j.js} +11 -11
- package/dist/chunks/{command-m2k7mg07.js → location-services-1t2khamf.js} +9 -9
- package/dist/chunks/{command-21r38tys.js → location-services-21r38tys.js} +1 -1
- package/dist/chunks/{command-6h73sxmp.js → location-services-2402vzrj.js} +5 -5
- package/dist/chunks/{command-j1h0x3qm.js → location-services-260rstwk.js} +4 -4
- package/dist/chunks/{command-b91y5b0n.js → location-services-2a33v3px.js} +20 -20
- package/dist/chunks/{command-2a5m3afh.js → location-services-2a5m3afh.js} +1 -1
- package/dist/chunks/{command-18fjrjyv.js → location-services-2csmxjzx.js} +20 -20
- package/dist/chunks/{command-hqn1z470.js → location-services-2ewf845r.js} +12 -12
- package/dist/chunks/{command-6jt6hkba.js → location-services-2r6cz3cw.js} +24 -24
- package/dist/chunks/{command-eqbz22z4.js → location-services-2s3mnh9j.js} +37 -37
- package/dist/chunks/{command-w1kts72e.js → location-services-35gsk47f.js} +5 -5
- package/dist/chunks/{command-35agz59w.js → location-services-3a6re68j.js} +6 -6
- package/dist/chunks/{command-3fc6dm20.js → location-services-3fc6dm20.js} +1 -1
- package/dist/chunks/{command-3hepkmqq.js → location-services-3hepkmqq.js} +1 -1
- package/dist/chunks/{command-brmtm7cf.js → location-services-3q1d996h.js} +11 -11
- package/dist/chunks/{command-yx0qkvav.js → location-services-3qj11n1s.js} +52 -52
- package/dist/chunks/{command-3smtnn6g.js → location-services-3smtnn6g.js} +1 -1
- package/dist/chunks/{command-fxjzx9zk.js → location-services-3tsvntwc.js} +2 -2
- package/dist/chunks/{command-3tvqynh2.js → location-services-3tvqynh2.js} +1 -1
- package/dist/chunks/{command-k0gxj95r.js → location-services-3yzsbtk5.js} +33 -33
- package/dist/chunks/{command-0dtckawb.js → location-services-49qmw5p2.js} +13 -13
- package/dist/chunks/{command-gb73r5q4.js → location-services-4hcc7af7.js} +30 -30
- package/dist/chunks/{command-vbaxqaky.js → location-services-4kqqwhxe.js} +11 -11
- package/dist/chunks/{command-76vyv3fa.js → location-services-4qf6cv5v.js} +10 -10
- package/dist/chunks/{command-19wqcg6g.js → location-services-4qmfr7sb.js} +29 -29
- package/dist/chunks/{command-5fygez4p.js → location-services-4t3gmr2n.js} +5 -5
- package/dist/chunks/{command-d9s573fh.js → location-services-57ez7d0k.js} +2 -2
- package/dist/chunks/{command-8gxjxfk7.js → location-services-598rh06g.js} +32 -32
- package/dist/chunks/{command-szncdaef.js → location-services-5afb82kq.js} +4 -4
- package/dist/chunks/{command-w1k39n5e.js → location-services-5c0f1prt.js} +4 -4
- package/dist/chunks/{command-5daktx2q.js → location-services-5daktx2q.js} +1 -1
- package/dist/chunks/{command-xydhn12a.js → location-services-5mra5t95.js} +6 -6
- package/dist/chunks/{command-ejhgf7w3.js → location-services-5nbw05k5.js} +11 -11
- package/dist/chunks/{command-5t3nmthw.js → location-services-5t3nmthw.js} +2 -2
- package/dist/chunks/{command-y64kjv5k.js → location-services-60vjg1t9.js} +16 -16
- package/dist/chunks/{command-m4j94d0w.js → location-services-61twgykx.js} +17 -17
- package/dist/chunks/{command-e0378qy6.js → location-services-63kpjth9.js} +9 -9
- package/dist/chunks/{command-669tq793.js → location-services-669tq793.js} +1 -1
- package/dist/chunks/{command-ycrff0sc.js → location-services-67sm614f.js} +11 -11
- package/dist/chunks/{command-4dkr59gj.js → location-services-698t161c.js} +3 -3
- package/dist/chunks/{command-fdms3n6w.js → location-services-6hjx5zpb.js} +9 -9
- package/dist/chunks/{command-6msgmcgs.js → location-services-6msgmcgs.js} +1 -1
- package/dist/chunks/{command-k6jsebqw.js → location-services-6mwdz5rr.js} +16 -16
- package/dist/chunks/{command-dj7ydz2q.js → location-services-6w1c0kqr.js} +1 -1
- package/dist/chunks/{command-ny7zsgxc.js → location-services-6wqjg4s1.js} +8 -8
- package/dist/chunks/{command-qbznwwr3.js → location-services-702grjpm.js} +3 -3
- package/dist/chunks/{command-8qby4p94.js → location-services-710qyn68.js} +47 -47
- package/dist/chunks/location-services-75xmh6z1.js +503 -0
- package/dist/chunks/{command-7bmhse3q.js → location-services-7bmhse3q.js} +1 -1
- package/dist/chunks/{command-k6w958j5.js → location-services-7bx6fbd3.js} +3 -3
- package/dist/chunks/{command-3x4n1p4b.js → location-services-7hfd3ta9.js} +11 -11
- package/dist/chunks/{command-44ksrw62.js → location-services-7m0tw5w3.js} +5 -5
- package/dist/chunks/{command-pm3aw8jw.js → location-services-7nqrqxkr.js} +25 -25
- package/dist/chunks/{command-9ksxqh2k.js → location-services-7ny34fh5.js} +2 -2
- package/dist/chunks/{command-q5nw5m1n.js → location-services-7w3s9kd0.js} +6 -6
- package/dist/chunks/{command-q3t37ft6.js → location-services-7w99qc9d.js} +3 -3
- package/dist/chunks/{command-qvx74awb.js → location-services-7y0nnkh8.js} +8 -8
- package/dist/chunks/{command-rtbgd8vv.js → location-services-88y1fzsq.js} +16 -16
- package/dist/chunks/{command-89znhe33.js → location-services-89znhe33.js} +1 -1
- package/dist/chunks/{command-5v6q8ws3.js → location-services-8c5kjqks.js} +36 -36
- package/dist/chunks/{command-8d7r5vzw.js → location-services-8d7r5vzw.js} +1 -1
- package/dist/chunks/{command-29ebz4cy.js → location-services-8hn3mr47.js} +19 -19
- package/dist/chunks/{command-dj2t23y0.js → location-services-8p4f9s12.js} +2 -2
- package/dist/chunks/{command-xh0mn2db.js → location-services-8vfq8kmg.js} +4 -4
- package/dist/chunks/{command-k409y6k1.js → location-services-8xea18f0.js} +8 -8
- package/dist/chunks/{command-3f7xan5b.js → location-services-8yfge7sy.js} +4 -4
- package/dist/chunks/{command-cnkj3bkk.js → location-services-92k45pvj.js} +6 -6
- package/dist/chunks/{command-w0cjdr4y.js → location-services-9ez4xn4m.js} +26 -26
- package/dist/chunks/{command-en452bs7.js → location-services-9jgkxjne.js} +23 -23
- package/dist/chunks/{command-92rkebfh.js → location-services-9tadwx83.js} +13 -13
- package/dist/chunks/{command-77hk7r89.js → location-services-9yvjr51e.js} +9 -9
- package/dist/chunks/{command-r5b2g718.js → location-services-a12vw9wn.js} +33 -33
- package/dist/chunks/{command-5c4hm403.js → location-services-a1bz86dw.js} +3 -3
- package/dist/chunks/{command-6axvzsm7.js → location-services-a2ymm1g0.js} +20 -20
- package/dist/chunks/{command-aaet6srn.js → location-services-aaet6srn.js} +2 -2
- package/dist/chunks/{command-a16afrr2.js → location-services-ae7n2nze.js} +3 -3
- package/dist/chunks/{command-cb9ss0ge.js → location-services-ak1c3jvj.js} +9 -9
- package/dist/chunks/{command-y91g1rqk.js → location-services-aqnpacrp.js} +5 -5
- package/dist/chunks/{command-qsmad8q5.js → location-services-ay0drwcf.js} +26 -26
- package/dist/chunks/{command-b6gygkdw.js → location-services-b6gygkdw.js} +2 -2
- package/dist/chunks/{command-12ppvwww.js → location-services-b7cs46qb.js} +9 -9
- package/dist/chunks/{command-vtpa8adt.js → location-services-b7fx4td0.js} +29 -29
- package/dist/chunks/{command-js89hyr4.js → location-services-b92k507q.js} +82 -82
- package/dist/chunks/{command-6dbd9kfr.js → location-services-b9dnjnx2.js} +4 -4
- package/dist/chunks/{command-1wnwcw7r.js → location-services-ba72fspk.js} +22 -22
- package/dist/chunks/{command-ceer43ev.js → location-services-bh9mdgtf.js} +3 -3
- package/dist/chunks/{command-15ecbz73.js → location-services-bmepjbt2.js} +17 -17
- package/dist/chunks/{command-gzk0z5t1.js → location-services-bt5qab31.js} +44 -44
- package/dist/chunks/{command-3ppptnan.js → location-services-bw9zjykr.js} +6 -6
- package/dist/chunks/{command-80agk8qd.js → location-services-bx73qnaz.js} +33 -33
- package/dist/chunks/{command-e23rwaaf.js → location-services-c1hrrqdg.js} +32 -32
- package/dist/chunks/{command-r60jn89m.js → location-services-c2zb4129.js} +17 -17
- package/dist/chunks/{command-ytjd48j9.js → location-services-c6vhszhr.js} +16 -16
- package/dist/chunks/{command-1fmn7nca.js → location-services-c95gceag.js} +26 -26
- package/dist/chunks/{command-m0jqrx5p.js → location-services-cfpkc3c9.js} +2 -2
- package/dist/chunks/{command-5we7r0eg.js → location-services-ch4t865s.js} +8 -8
- package/dist/chunks/{command-0fxyxxca.js → location-services-ckfwh0ft.js} +8 -8
- package/dist/chunks/{command-57aypccr.js → location-services-cq67rvxm.js} +3 -3
- package/dist/chunks/{command-dtyshr95.js → location-services-czy45c4v.js} +20 -20
- package/dist/chunks/{command-rqmc9bz6.js → location-services-d0yjwtn3.js} +4 -4
- package/dist/chunks/{command-rsnh7qyx.js → location-services-d1za1ksq.js} +5 -5
- package/dist/chunks/{command-j84y35zg.js → location-services-d3m1rxj3.js} +1 -1
- package/dist/chunks/{command-ngne8dfe.js → location-services-d4q3eqbp.js} +10 -10
- package/dist/chunks/{command-9xv0kghy.js → location-services-dcbj84cq.js} +4 -4
- package/dist/chunks/{command-2m0t44q9.js → location-services-dkt3kj3m.js} +14 -14
- package/dist/chunks/{command-xfkkasph.js → location-services-drwq78ky.js} +4 -4
- package/dist/chunks/{command-5cry9dbs.js → location-services-dttg7nxd.js} +42 -42
- package/dist/chunks/{command-e64hjbz6.js → location-services-dv2avwe4.js} +5 -5
- package/dist/chunks/{command-5arbc4sb.js → location-services-dvh6p90y.js} +50 -50
- package/dist/chunks/{command-y32hsvj3.js → location-services-e09tse5t.js} +29 -29
- package/dist/chunks/{command-7rx5b338.js → location-services-e0mw0c73.js} +12 -12
- package/dist/chunks/{command-azsbfkqj.js → location-services-e3e8kjz0.js} +14 -14
- package/dist/chunks/{command-3gafegkz.js → location-services-e6pjtdvq.js} +6 -6
- package/dist/chunks/{command-ef5x83kb.js → location-services-ef5x83kb.js} +1 -1
- package/dist/chunks/{command-p504gj3f.js → location-services-ehbx4wzj.js} +8 -8
- package/dist/chunks/{command-erw5rpbs.js → location-services-erw5rpbs.js} +2 -2
- package/dist/chunks/{command-etq0c3wd.js → location-services-etq0c3wd.js} +1 -1
- package/dist/chunks/{command-69zdqv0e.js → location-services-f2313ze9.js} +9 -9
- package/dist/chunks/{command-d8vs3fz8.js → location-services-f5qy5xjn.js} +23 -23
- package/dist/chunks/{command-hdnk95c8.js → location-services-f828m53h.js} +2 -2
- package/dist/chunks/{command-44ke2mar.js → location-services-fkjmw100.js} +6 -6
- package/dist/chunks/{command-6pj7x9ww.js → location-services-fpx7htvs.js} +15 -15
- package/dist/chunks/{command-dm0bbnwt.js → location-services-fswwm3e4.js} +8 -8
- package/dist/chunks/{command-fxbjtjnd.js → location-services-fxbjtjnd.js} +1 -1
- package/dist/chunks/{command-p37cw4rj.js → location-services-g0445xdp.js} +8 -8
- package/dist/chunks/{command-jw80jp6b.js → location-services-g190xswt.js} +4 -4
- package/dist/chunks/{command-z7t8qwge.js → location-services-g2qbz7ad.js} +5 -5
- package/dist/chunks/{command-fdv30zvt.js → location-services-g8d3gcyj.js} +4 -4
- package/dist/chunks/location-services-gbadjzag.js +4 -0
- package/dist/chunks/{command-gd4qta3r.js → location-services-gd4qta3r.js} +1 -1
- package/dist/chunks/{command-y1q6eyqb.js → location-services-ghqhrgyn.js} +16 -16
- package/dist/chunks/{command-sds13m34.js → location-services-gk4m79v4.js} +14 -14
- package/dist/chunks/{command-rahj5xg6.js → location-services-gpf1akt4.js} +8 -8
- package/dist/chunks/{command-yyb7tjpc.js → location-services-gv6a8nnw.js} +2 -2
- package/dist/chunks/{command-hng4xen5.js → location-services-h03jhrmm.js} +23 -23
- package/dist/chunks/{command-nzyhnfxz.js → location-services-h6r3nrb9.js} +4 -4
- package/dist/chunks/{command-h6vf3j39.js → location-services-h6vf3j39.js} +1 -1
- package/dist/chunks/{command-y31b318c.js → location-services-hfdr1yjj.js} +4 -4
- package/dist/chunks/{command-98r14yx2.js → location-services-hfhbff15.js} +11 -11
- package/dist/chunks/{command-9bh1kbwm.js → location-services-hfmbhb0v.js} +35 -35
- package/dist/chunks/{command-d4kvcxbh.js → location-services-hj81kgmb.js} +15 -15
- package/dist/chunks/{command-pn2fvd3j.js → location-services-hyrz6ndr.js} +12 -12
- package/dist/chunks/{command-bkt6pkzv.js → location-services-j333e51k.js} +23 -23
- package/dist/chunks/{command-j56e64zr.js → location-services-j56e64zr.js} +1 -1
- package/dist/chunks/{command-bvrm6sd3.js → location-services-j9pw51p3.js} +26 -26
- package/dist/chunks/{command-csmtma2g.js → location-services-jbh1cmae.js} +18 -18
- package/dist/chunks/{command-jshnnbm0.js → location-services-jejs7rer.js} +3 -3
- package/dist/chunks/{command-8a6kxmc8.js → location-services-jkdaszze.js} +33 -33
- package/dist/chunks/{command-bp02r99k.js → location-services-jqnpsya4.js} +4 -4
- package/dist/chunks/{command-zg4hrway.js → location-services-jspdrsne.js} +20 -20
- package/dist/chunks/{command-tg765z21.js → location-services-jtrztkj0.js} +6 -6
- package/dist/chunks/{command-ycytvwgt.js → location-services-jymg4yzt.js} +26 -26
- package/dist/chunks/{command-nzks3jc8.js → location-services-k3c624dm.js} +3 -3
- package/dist/chunks/{command-3ktbe3hf.js → location-services-k9avtbwf.js} +6 -6
- package/dist/chunks/{command-beq4zdab.js → location-services-kecwm5gn.js} +11 -11
- package/dist/chunks/{command-zqcfqxpy.js → location-services-kffet6q6.js} +20 -20
- package/dist/chunks/{command-jm23qt55.js → location-services-kfkn95kh.js} +16 -16
- package/dist/chunks/{command-qnv6wqrn.js → location-services-kg04d60s.js} +86 -86
- package/dist/chunks/{command-rkwepmqr.js → location-services-kw0g404m.js} +10 -10
- package/dist/chunks/{command-pdhkkygs.js → location-services-kxvn6n2f.js} +9 -9
- package/dist/chunks/{command-m3fdjcah.js → location-services-m3fdjcah.js} +1 -1
- package/dist/chunks/{command-5r8re7cq.js → location-services-m5jn93st.js} +5 -5
- package/dist/chunks/{command-1vc7h4bf.js → location-services-m9tmsx7y.js} +20 -20
- package/dist/chunks/{command-m9w0rfyh.js → location-services-m9w0rfyh.js} +1 -1
- package/dist/chunks/{command-n80jc431.js → location-services-maj04dgt.js} +17 -17
- package/dist/chunks/{command-85gr95dm.js → location-services-mckr61m4.js} +66 -66
- package/dist/chunks/{command-1ygqh575.js → location-services-mfqp6xfm.js} +6 -6
- package/dist/chunks/{command-21bs846c.js → location-services-ms4tmmwz.js} +17 -17
- package/dist/chunks/{command-mhkvc446.js → location-services-mvfsc1pv.js} +3 -3
- package/dist/chunks/location-services-mvtmfmfb.js +26 -0
- package/dist/chunks/{command-c27g0cwe.js → location-services-n54j8dy8.js} +14 -14
- package/dist/chunks/{command-gezbrf6h.js → location-services-n5a93a7r.js} +4 -4
- package/dist/chunks/{command-kz87xe09.js → location-services-nf9mvk43.js} +30 -30
- package/dist/chunks/{command-f3t28nxc.js → location-services-nkydbpf6.js} +7 -7
- package/dist/chunks/{command-jca4demv.js → location-services-nng2ktcm.js} +2 -2
- package/dist/chunks/{command-3801kdgp.js → location-services-npwy0cf6.js} +5 -5
- package/dist/chunks/{command-bc7r1051.js → location-services-ns2wmxy1.js} +8 -8
- package/dist/chunks/{command-f41ena25.js → location-services-nyhmyhfn.js} +9 -9
- package/dist/chunks/{command-hvf8bzx3.js → location-services-nz5501ch.js} +15 -15
- package/dist/chunks/{command-cd0z4qvb.js → location-services-p3rd9cb6.js} +8 -8
- package/dist/chunks/{command-1jqpcwdd.js → location-services-p7we1hrz.js} +13 -13
- package/dist/chunks/{command-5mjt82ds.js → location-services-pb3rzm1n.js} +21 -21
- package/dist/chunks/{command-pjvnvgmy.js → location-services-pjvnvgmy.js} +1 -1
- package/dist/chunks/{command-pknna89w.js → location-services-pknna89w.js} +1 -1
- package/dist/chunks/{command-t9zs3egg.js → location-services-pmr4s4kc.js} +4 -4
- package/dist/chunks/location-services-pn6h1b1r.js +252 -0
- package/dist/chunks/{command-bbn46np6.js → location-services-pndcjns4.js} +38 -38
- package/dist/chunks/{command-6bnbyxfg.js → location-services-q853cmgp.js} +11 -11
- package/dist/chunks/{command-v5g5v3ws.js → location-services-qgfymp7z.js} +20 -20
- package/dist/chunks/{command-esafk7q3.js → location-services-qgn6gcr1.js} +5 -5
- package/dist/chunks/{command-st8d6rzm.js → location-services-qhebqpkw.js} +31 -31
- package/dist/chunks/{command-t3swkhbg.js → location-services-qjnxxf51.js} +5 -5
- package/dist/chunks/{command-c68rk66j.js → location-services-qjqrezts.js} +8 -8
- package/dist/chunks/{command-qsdy395h.js → location-services-qsdy395h.js} +1 -1
- package/dist/chunks/{command-tx9w5tca.js → location-services-qwjmgwmn.js} +8 -8
- package/dist/chunks/{command-rc2rdsk3.js → location-services-r1e1bnxz.js} +23 -23
- package/dist/chunks/{command-cwa6csj7.js → location-services-r2m716tb.js} +9 -9
- package/dist/chunks/{command-qv6qez6w.js → location-services-r2tsv3wg.js} +7 -7
- package/dist/chunks/{command-yp2x3t23.js → location-services-r8xr0va3.js} +4 -4
- package/dist/chunks/{command-z3qta96q.js → location-services-r9eq9xg7.js} +5 -5
- package/dist/chunks/{command-jndgkwdf.js → location-services-rdshk97x.js} +9 -9
- package/dist/chunks/{command-rdw6cm16.js → location-services-rdw6cm16.js} +1 -1
- package/dist/chunks/{command-4drgpw32.js → location-services-rf80fxgj.js} +5 -5
- package/dist/chunks/{command-mvn2r3z4.js → location-services-rhafb4aa.js} +5 -5
- package/dist/chunks/{command-gst7axd9.js → location-services-rwm5vee1.js} +4 -4
- package/dist/chunks/{command-86qzxe6p.js → location-services-s26hbv8p.js} +4 -4
- package/dist/chunks/{command-eaj1djv9.js → location-services-s8d7rejh.js} +6 -6
- package/dist/chunks/{command-2evyaa68.js → location-services-sej7e0cf.js} +4 -4
- package/dist/chunks/{command-z0pamjge.js → location-services-shas0zdn.js} +44 -44
- package/dist/chunks/{command-qcqngy56.js → location-services-sq2tgyxc.js} +29 -29
- package/dist/chunks/{command-ypwyy9wb.js → location-services-srek7m3q.js} +13 -13
- package/dist/chunks/{command-ez47arx5.js → location-services-t0fxg8b9.js} +5 -5
- package/dist/chunks/{command-nnbzrd8n.js → location-services-t2g29g87.js} +18 -18
- package/dist/chunks/{command-qmk2rxp5.js → location-services-t60gdekx.js} +5 -5
- package/dist/chunks/{command-6yd319e0.js → location-services-t6gvky2f.js} +40 -40
- package/dist/chunks/{command-q29a3mzv.js → location-services-t84b0cnn.js} +15 -15
- package/dist/chunks/{command-tazgh4e4.js → location-services-tazgh4e4.js} +1 -1
- package/dist/chunks/{command-p28j5sbe.js → location-services-tbz0fdvh.js} +5 -5
- package/dist/chunks/{command-tdstcens.js → location-services-tdstcens.js} +1 -1
- package/dist/chunks/{command-7s37cbtz.js → location-services-tjfve502.js} +8 -8
- package/dist/chunks/{command-5qmpb97a.js → location-services-tnr69bnh.js} +3 -3
- package/dist/chunks/{command-np4grtax.js → location-services-ttg22typ.js} +21 -21
- package/dist/chunks/{command-tvtrv512.js → location-services-tvtrv512.js} +1 -1
- package/dist/chunks/{command-ph5q8xzv.js → location-services-txem1jx5.js} +10 -10
- package/dist/chunks/{command-dnm7xxeh.js → location-services-tybbf50r.js} +3 -3
- package/dist/chunks/location-services-v1faaxn9.js +18 -0
- package/dist/chunks/{command-9tb5hr0v.js → location-services-v2kc4m29.js} +24 -24
- package/dist/chunks/{command-veqvce7d.js → location-services-veqvce7d.js} +1 -1
- package/dist/chunks/{command-hm4csw6w.js → location-services-vk0b90t9.js} +15 -15
- package/dist/chunks/{command-mwch1h7x.js → location-services-vkwyn1a3.js} +28 -28
- package/dist/chunks/{command-s2ynmxvy.js → location-services-vy4zg7qh.js} +5 -5
- package/dist/chunks/{command-vzcthcp8.js → location-services-vzcthcp8.js} +1 -1
- package/dist/chunks/{command-1dard8rw.js → location-services-w0rp7m49.js} +9 -9
- package/dist/chunks/{command-w3wsvvr9.js → location-services-w3wsvvr9.js} +1 -1
- package/dist/chunks/{command-fb3kqv53.js → location-services-w3zm2e9m.js} +40 -40
- package/dist/chunks/{command-0601qg4c.js → location-services-w4b82h60.js} +10 -10
- package/dist/chunks/{command-f2wfspan.js → location-services-w6dttbvj.js} +6 -6
- package/dist/chunks/{command-wd87259q.js → location-services-wd87259q.js} +1 -1
- package/dist/chunks/{command-x1ezjp6w.js → location-services-x1ezjp6w.js} +1 -1
- package/dist/chunks/{command-mqzwkyay.js → location-services-x8cycxf4.js} +4 -4
- package/dist/chunks/{command-m9wnxg74.js → location-services-xh40qn80.js} +14 -14
- package/dist/chunks/{command-tqnd21xx.js → location-services-xmfmtq35.js} +16 -16
- package/dist/chunks/{command-h47e2fat.js → location-services-xv5dzxpm.js} +22 -22
- package/dist/chunks/{command-q0r7cvmx.js → location-services-y12xfdj2.js} +11 -11
- package/dist/chunks/{command-7y0fda1f.js → location-services-y16x9bsh.js} +8 -8
- package/dist/chunks/{command-y1fvbwt7.js → location-services-y1fvbwt7.js} +1 -1
- package/dist/chunks/{command-wgzvszfr.js → location-services-y3drazew.js} +24 -24
- package/dist/chunks/{command-y71avatq.js → location-services-y71avatq.js} +1 -1
- package/dist/chunks/{command-9jyavp4h.js → location-services-ybsvey3q.js} +8 -8
- package/dist/chunks/{command-v7bs4fwn.js → location-services-ygx0r1a5.js} +12 -12
- package/dist/chunks/{command-yrhqyw5v.js → location-services-yrhqyw5v.js} +1 -1
- package/dist/chunks/{command-yrznvahk.js → location-services-yrznvahk.js} +2 -2
- package/dist/chunks/{command-jwbqhvyy.js → location-services-yt0fqk68.js} +5 -5
- package/dist/chunks/{command-eac26f80.js → location-services-yy7ajxpj.js} +29 -29
- package/dist/chunks/{command-z0bkrqjs.js → location-services-z0bkrqjs.js} +1 -1
- package/dist/chunks/{command-ha7xgv60.js → location-services-z34bqxfp.js} +30 -30
- package/dist/chunks/{command-rgbassad.js → location-services-z568v2bz.js} +23 -23
- package/dist/chunks/{command-z63w68vq.js → location-services-z63w68vq.js} +2 -2
- package/dist/chunks/{command-kw5v92fn.js → location-services-z6489t8s.js} +19 -19
- package/dist/chunks/{command-fyxvyc63.js → location-services-z811gd5h.js} +16 -16
- package/dist/chunks/{command-aht6b1gw.js → location-services-z8t3qsap.js} +9 -9
- package/dist/chunks/{command-njkzccyn.js → location-services-ze3x53x4.js} +7 -7
- package/dist/chunks/{command-rq775frq.js → location-services-zeh9ct20.js} +2 -2
- package/dist/chunks/{command-4jc5c4h4.js → location-services-zhq6vg7a.js} +1 -1
- package/dist/chunks/{command-x6k8vawk.js → location-services-zm85d2ry.js} +10 -10
- package/dist/chunks/{command-395exzp5.js → location-services-zpjh97gf.js} +27 -27
- package/dist/chunks/{command-zr2ceqn5.js → location-services-zr2ceqn5.js} +1 -1
- package/dist/chunks/{command-zxq2ej10.js → location-services-zxq2ej10.js} +1 -1
- package/dist/chunks/{command-7nvpgp18.js → location-services-zzxgczqy.js} +24 -24
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- 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 +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- 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 +124 -124
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +125 -125
- 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 +369 -369
- 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 +90 -90
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +92 -92
- 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 +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 +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +101 -101
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +102 -102
- package/dist/git.js +6 -6
- 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 +360 -360
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +84 -84
- 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-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +357 -357
- package/dist/location.js +80 -80
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +127 -127
- 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 +81 -81
- 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 +85 -85
- 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/compaction.js +132 -132
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- 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 +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +93 -93
- 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 +119 -119
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +159 -159
- 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 +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- 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 +97 -97
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +92 -92
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +151 -151
- 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 +220 -220
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- 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 +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +125 -125
- 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 +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- 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 +137 -137
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +92 -92
- 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 +126 -126
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +119 -119
- 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 +216 -216
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- 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 +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- 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 +5 -5
- 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 +90 -90
- 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 +76 -76
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +73 -73
- 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 +97 -97
- package/package.json +8 -8
- package/dist/chunks/command-0mesazry.js +0 -4
- package/dist/chunks/command-0repjh3r.js +0 -252
- package/dist/chunks/command-vnkjks7b.js +0 -18
- package/dist/chunks/command-w0825h81.js +0 -503
- package/dist/chunks/command-zyyeags5.js +0 -26
- /package/dist/chunks/{command-0qkdqm5v.js → location-services-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{command-0zkw76rk.js → location-services-0zkw76rk.js} +0 -0
- /package/dist/chunks/{command-17cy0kzp.js → location-services-17cy0kzp.js} +0 -0
- /package/dist/chunks/{command-1cnp2v09.js → location-services-1cnp2v09.js} +0 -0
- /package/dist/chunks/{command-1kg9ymc8.js → location-services-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{command-24dcb14g.js → location-services-24dcb14g.js} +0 -0
- /package/dist/chunks/{command-2710q6r3.js → location-services-2710q6r3.js} +0 -0
- /package/dist/chunks/{command-2axfhc9x.js → location-services-2axfhc9x.js} +0 -0
- /package/dist/chunks/{command-2c3vjs8z.js → location-services-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{command-359p4xyc.js → location-services-359p4xyc.js} +0 -0
- /package/dist/chunks/{command-3asan66x.js → location-services-3asan66x.js} +0 -0
- /package/dist/chunks/{command-3v8g72cx.js → location-services-3v8g72cx.js} +0 -0
- /package/dist/chunks/{command-3w5fmr99.js → location-services-3w5fmr99.js} +0 -0
- /package/dist/chunks/{command-3wcehsnq.js → location-services-3wcehsnq.js} +0 -0
- /package/dist/chunks/{command-43n2bw4t.js → location-services-43n2bw4t.js} +0 -0
- /package/dist/chunks/{command-4knz6hnm.js → location-services-4knz6hnm.js} +0 -0
- /package/dist/chunks/{command-4vcrnpx2.js → location-services-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{command-4y7fprxs.js → location-services-4y7fprxs.js} +0 -0
- /package/dist/chunks/{command-53557ph1.js → location-services-53557ph1.js} +0 -0
- /package/dist/chunks/{command-550bvhaj.js → location-services-550bvhaj.js} +0 -0
- /package/dist/chunks/{command-5qd3pb7m.js → location-services-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{command-6prwharc.js → location-services-6prwharc.js} +0 -0
- /package/dist/chunks/{command-7akdwqpd.js → location-services-7akdwqpd.js} +0 -0
- /package/dist/chunks/{command-7m9af43g.js → location-services-7m9af43g.js} +0 -0
- /package/dist/chunks/{command-822emrt2.js → location-services-822emrt2.js} +0 -0
- /package/dist/chunks/{command-88xbtdfr.js → location-services-88xbtdfr.js} +0 -0
- /package/dist/chunks/{command-8n3pysct.js → location-services-8n3pysct.js} +0 -0
- /package/dist/chunks/{command-922hggd3.js → location-services-922hggd3.js} +0 -0
- /package/dist/chunks/{command-9a4afbnw.js → location-services-9a4afbnw.js} +0 -0
- /package/dist/chunks/{command-9rqn6x4v.js → location-services-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{command-a6k6eb26.js → location-services-a6k6eb26.js} +0 -0
- /package/dist/chunks/{command-af5trqkr.js → location-services-af5trqkr.js} +0 -0
- /package/dist/chunks/{command-afrmfg78.js → location-services-afrmfg78.js} +0 -0
- /package/dist/chunks/{command-aqzs7mqg.js → location-services-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{command-atq7p7m5.js → location-services-atq7p7m5.js} +0 -0
- /package/dist/chunks/{command-bkyjaxrp.js → location-services-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{command-bmr6ed5q.js → location-services-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{command-cf4snx6d.js → location-services-cf4snx6d.js} +0 -0
- /package/dist/chunks/{command-cvy3z8tj.js → location-services-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{command-d9fn303g.js → location-services-d9fn303g.js} +0 -0
- /package/dist/chunks/{command-d9jj8t3e.js → location-services-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{command-dajrwvna.js → location-services-dajrwvna.js} +0 -0
- /package/dist/chunks/{command-dap0rakb.js → location-services-dap0rakb.js} +0 -0
- /package/dist/chunks/{command-df08tz66.js → location-services-df08tz66.js} +0 -0
- /package/dist/chunks/{command-dy18nga0.js → location-services-dy18nga0.js} +0 -0
- /package/dist/chunks/{command-e5kj55wp.js → location-services-e5kj55wp.js} +0 -0
- /package/dist/chunks/{command-e73j6tqm.js → location-services-e73j6tqm.js} +0 -0
- /package/dist/chunks/{command-ec1grn59.js → location-services-ec1grn59.js} +0 -0
- /package/dist/chunks/{command-eh3zwz77.js → location-services-eh3zwz77.js} +0 -0
- /package/dist/chunks/{command-emrn6kk6.js → location-services-emrn6kk6.js} +0 -0
- /package/dist/chunks/{command-f0mxakyp.js → location-services-f0mxakyp.js} +0 -0
- /package/dist/chunks/{command-f6n9ztr4.js → location-services-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{command-faypxj3z.js → location-services-faypxj3z.js} +0 -0
- /package/dist/chunks/{command-fd410y7t.js → location-services-fd410y7t.js} +0 -0
- /package/dist/chunks/{command-fxgpk5d8.js → location-services-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{command-g4wezp1m.js → location-services-g4wezp1m.js} +0 -0
- /package/dist/chunks/{command-g86h250q.js → location-services-g86h250q.js} +0 -0
- /package/dist/chunks/{command-gebd4c9n.js → location-services-gebd4c9n.js} +0 -0
- /package/dist/chunks/{command-gftt206x.js → location-services-gftt206x.js} +0 -0
- /package/dist/chunks/{command-hjbc5kem.js → location-services-hjbc5kem.js} +0 -0
- /package/dist/chunks/{command-hk9envan.js → location-services-hk9envan.js} +0 -0
- /package/dist/chunks/{command-j2ntwpah.js → location-services-j2ntwpah.js} +0 -0
- /package/dist/chunks/{command-j5zkgpj8.js → location-services-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{command-jjkms2e6.js → location-services-jjkms2e6.js} +0 -0
- /package/dist/chunks/{command-jr7sbwjy.js → location-services-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{command-jwfs4k6c.js → location-services-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{command-jzg6c2d5.js → location-services-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{command-mp448xyj.js → location-services-mp448xyj.js} +0 -0
- /package/dist/chunks/{command-msx8hqn2.js → location-services-msx8hqn2.js} +0 -0
- /package/dist/chunks/{command-n05xt0ee.js → location-services-n05xt0ee.js} +0 -0
- /package/dist/chunks/{command-n3j8tn72.js → location-services-n3j8tn72.js} +0 -0
- /package/dist/chunks/{command-njntx4h6.js → location-services-njntx4h6.js} +0 -0
- /package/dist/chunks/{command-q3sfg36h.js → location-services-q3sfg36h.js} +0 -0
- /package/dist/chunks/{command-q74kybfr.js → location-services-q74kybfr.js} +0 -0
- /package/dist/chunks/{command-qaymkmh1.js → location-services-qaymkmh1.js} +0 -0
- /package/dist/chunks/{command-qb87gjwd.js → location-services-qb87gjwd.js} +0 -0
- /package/dist/chunks/{command-qfa1cgps.js → location-services-qfa1cgps.js} +0 -0
- /package/dist/chunks/{command-qg3g05ea.js → location-services-qg3g05ea.js} +0 -0
- /package/dist/chunks/{command-qrg20bc0.js → location-services-qrg20bc0.js} +0 -0
- /package/dist/chunks/{command-rcb2kzg1.js → location-services-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{command-sdp7kfr6.js → location-services-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{command-sk3qaz4a.js → location-services-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{command-ssg3fenm.js → location-services-ssg3fenm.js} +0 -0
- /package/dist/chunks/{command-twg0f83k.js → location-services-twg0f83k.js} +0 -0
- /package/dist/chunks/{command-w803qqfp.js → location-services-w803qqfp.js} +0 -0
- /package/dist/chunks/{command-wc3fc9cn.js → location-services-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{command-wer8tq1h.js → location-services-wer8tq1h.js} +0 -0
- /package/dist/chunks/{command-wtztk69x.js → location-services-wtztk69x.js} +0 -0
- /package/dist/chunks/{command-x0ckcb58.js → location-services-x0ckcb58.js} +0 -0
- /package/dist/chunks/{command-x61499pn.js → location-services-x61499pn.js} +0 -0
- /package/dist/chunks/{command-y44na4kk.js → location-services-y44na4kk.js} +0 -0
- /package/dist/chunks/{command-y8cydn3q.js → location-services-y8cydn3q.js} +0 -0
- /package/dist/chunks/{command-y8f7s663.js → location-services-y8f7s663.js} +0 -0
- /package/dist/chunks/{command-ygaqb7jw.js → location-services-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{command-ym463w8f.js → location-services-ym463w8f.js} +0 -0
- /package/dist/chunks/{command-z9919s4g.js → location-services-z9919s4g.js} +0 -0
|
@@ -1,80 +1,80 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-cq67rvxm.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-8vfq8kmg.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service62
|
|
9
|
+
} from "./location-services-bw9zjykr.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-services-fxbjtjnd.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-services-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
NotFoundError9,
|
|
18
18
|
PromptConflictError2,
|
|
19
19
|
SyntheticConflictError2,
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-services-k9avtbwf.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-services-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service69
|
|
29
|
+
} from "./location-services-n54j8dy8.js";
|
|
30
30
|
import {
|
|
31
31
|
Delivery2,
|
|
32
32
|
SyntheticPayload2,
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Service64
|
|
34
|
+
} from "./location-services-v2kc4m29.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service60
|
|
37
|
+
} from "./location-services-pndcjns4.js";
|
|
38
38
|
import {
|
|
39
39
|
prepare2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./location-services-ghqhrgyn.js";
|
|
41
41
|
import {
|
|
42
42
|
stage2,
|
|
43
43
|
clear2,
|
|
44
44
|
commit2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./location-services-2a33v3px.js";
|
|
46
46
|
import {
|
|
47
47
|
start2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./location-services-ak1c3jvj.js";
|
|
49
49
|
import {
|
|
50
50
|
get4
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./location-services-f2313ze9.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./location-services-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/session.ts
|
|
57
57
|
var exports_session2 = {};
|
|
58
58
|
__export(exports_session2, {
|
|
59
59
|
Session: () => exports_session2,
|
|
60
|
-
make: () =>
|
|
60
|
+
make: () => make12
|
|
61
61
|
});
|
|
62
62
|
import { DateTime, Effect, Fiber, Scope } from "effect";
|
|
63
63
|
import { Event } from "@opencode/schema/event";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
|
-
var
|
|
65
|
+
var make12 = Effect.fn("Session.make")(function* () {
|
|
66
66
|
const bus = yield* Service83;
|
|
67
67
|
const database = yield* Service84;
|
|
68
|
-
const store = yield*
|
|
69
|
-
const instances = yield*
|
|
70
|
-
const execution = yield*
|
|
71
|
-
const admission = yield*
|
|
68
|
+
const store = yield* Service69;
|
|
69
|
+
const instances = yield* Service62;
|
|
70
|
+
const execution = yield* Service60;
|
|
71
|
+
const admission = yield* Service64;
|
|
72
72
|
const fs = yield* FSUtil.Service;
|
|
73
73
|
const scope = yield* Scope.Scope;
|
|
74
74
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
75
75
|
const session = yield* store.get(sessionID);
|
|
76
76
|
if (!session)
|
|
77
|
-
return yield* new
|
|
77
|
+
return yield* new NotFoundError9({ sessionID });
|
|
78
78
|
return session;
|
|
79
79
|
});
|
|
80
80
|
const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
|
|
@@ -131,7 +131,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
131
131
|
});
|
|
132
132
|
if (existing)
|
|
133
133
|
return existing;
|
|
134
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
134
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service62, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
135
135
|
if (session.revert)
|
|
136
136
|
yield* commit2(bus, session);
|
|
137
137
|
return yield* admission.admit({
|
|
@@ -147,7 +147,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
147
147
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
148
148
|
const session = yield* get(sessionID);
|
|
149
149
|
const running = yield* Effect.gen(function* () {
|
|
150
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
150
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service62, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
151
151
|
text: `User shell command failed to start:
|
|
152
152
|
${input.command}
|
|
153
153
|
|
|
@@ -176,7 +176,7 @@ ${error.message}`,
|
|
|
176
176
|
});
|
|
177
177
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
178
178
|
const session = yield* get(sessionID);
|
|
179
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
179
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service62, instances));
|
|
180
180
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
181
181
|
sessionID,
|
|
182
182
|
id: skill.id,
|
|
@@ -233,13 +233,13 @@ ${error.message}`,
|
|
|
233
233
|
const session = yield* get(sessionID);
|
|
234
234
|
if (yield* execution.isActive(sessionID))
|
|
235
235
|
return yield* new BusyError2({ sessionID });
|
|
236
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
236
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service62, instances), Effect.provideService(Service84, database), Effect.provideService(Service83, bus));
|
|
237
237
|
});
|
|
238
238
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
239
239
|
const session = yield* get(sessionID);
|
|
240
240
|
if (yield* execution.isActive(sessionID))
|
|
241
241
|
return yield* new BusyError2({ sessionID });
|
|
242
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
242
|
+
yield* clear2(session).pipe(Effect.provideService(Service62, instances), Effect.provideService(Service83, bus));
|
|
243
243
|
return yield* execution.wake(sessionID);
|
|
244
244
|
});
|
|
245
245
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -322,4 +322,4 @@ ${error.message}`,
|
|
|
322
322
|
return { forSession };
|
|
323
323
|
});
|
|
324
324
|
|
|
325
|
-
export {
|
|
325
|
+
export { make12, exports_session2 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-3tsvntwc.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
6
|
Service47
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-services-qhebqpkw.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service13
|
|
10
|
+
} from "./location-services-y12xfdj2.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
make4
|
|
13
|
+
} from "./location-services-mvfsc1pv.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-services-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-services-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/formatter.ts
|
|
22
22
|
var exports_formatter = {};
|
|
23
23
|
__export(exports_formatter, {
|
|
24
24
|
ConfigFormatterPlugin: () => exports_formatter,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin4
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -30,11 +30,11 @@ import { Global } from "@opencode/util/global";
|
|
|
30
30
|
import { Npm } from "@opencode/util/npm";
|
|
31
31
|
import { AppProcess } from "@opencode/util/process";
|
|
32
32
|
import { Effect } from "effect";
|
|
33
|
-
var
|
|
33
|
+
var Plugin4 = define({
|
|
34
34
|
id: "opencode.config.formatter",
|
|
35
35
|
effect: Effect.fn(function* (ctx) {
|
|
36
36
|
const config = yield* Service47;
|
|
37
|
-
const formatter = yield*
|
|
37
|
+
const formatter = yield* Service13;
|
|
38
38
|
const fs = yield* FSUtil.Service;
|
|
39
39
|
const global = yield* Global.Service;
|
|
40
40
|
const location = yield* Service80;
|
|
@@ -45,7 +45,7 @@ var Plugin37 = define({
|
|
|
45
45
|
const configured = latest2(loaded.entries, "formatter");
|
|
46
46
|
if (!configured)
|
|
47
47
|
return;
|
|
48
|
-
const builtIns =
|
|
48
|
+
const builtIns = make4({
|
|
49
49
|
directory: location.directory,
|
|
50
50
|
worktree: location.project.directory,
|
|
51
51
|
fs,
|
|
@@ -74,4 +74,4 @@ var Plugin37 = define({
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
|
|
77
|
-
export {
|
|
77
|
+
export { Plugin4, exports_formatter };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-cq67rvxm.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-services-8vfq8kmg.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-services-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-services-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-services-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
26
|
-
Key: () =>
|
|
23
|
+
Event: () => Event20,
|
|
24
|
+
ID: () => ID16,
|
|
25
|
+
Info: () => Info31,
|
|
26
|
+
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service79,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node83
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID16 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
|
-
var
|
|
39
|
+
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event20 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info31 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID16,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service79 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service84).db;
|
|
55
55
|
const bus = yield* Service83;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info31({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service79.of({
|
|
72
72
|
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))),
|
|
73
73
|
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))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info31({
|
|
80
|
+
id: ID16.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event20.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event20.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event20.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node83 = makeGlobalNode({ service: Service79, layer, deps: [node88, node87] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID16, OAuth3, Key4, Value2, Event20, Info31, Service79, node83, exports_credential };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service47
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-qhebqpkw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service29
|
|
6
|
+
} from "./location-services-shas0zdn.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigMcpPlugin: () =>
|
|
15
|
-
Plugin: () =>
|
|
12
|
+
var exports_mcp = {};
|
|
13
|
+
__export(exports_mcp, {
|
|
14
|
+
ConfigMcpPlugin: () => exports_mcp,
|
|
15
|
+
Plugin: () => Plugin13,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin13 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
@@ -25,7 +25,7 @@ var Plugin42 = define({
|
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
27
|
const config = yield* Service47;
|
|
28
|
-
const mcp = yield*
|
|
28
|
+
const mcp = yield* Service29;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin13, register2, exports_mcp };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service47
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-qhebqpkw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service54
|
|
6
|
+
} from "./location-services-p3rd9cb6.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
observe2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-services-qsdy395h.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-services-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/config/plugin/policy.ts
|
|
18
18
|
var exports_policy = {};
|
|
19
19
|
__export(exports_policy, {
|
|
20
20
|
ConfigPolicyPlugin: () => exports_policy,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin5
|
|
22
22
|
});
|
|
23
23
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
24
24
|
import { Effect } from "effect";
|
|
25
|
-
var
|
|
25
|
+
var Plugin5 = define({
|
|
26
26
|
id: "opencode.config.policy",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
28
|
const config = yield* Service47;
|
|
29
|
-
const managed = yield*
|
|
29
|
+
const managed = yield* Service54;
|
|
30
30
|
const loaded = yield* observe2(config, ctx.event, ctx.provider.reload());
|
|
31
31
|
const policies = () => {
|
|
32
32
|
const organization = managed.current();
|
|
@@ -57,4 +57,4 @@ var Plugin45 = define({
|
|
|
57
57
|
})
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
export {
|
|
60
|
+
export { Plugin5, exports_policy };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-8vfq8kmg.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Key4,
|
|
7
|
+
Service79,
|
|
8
|
+
node83
|
|
9
|
+
} from "./location-services-4hcc7af7.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-services-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-services-9ez4xn4m.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-services-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/integration.ts
|
|
22
22
|
var exports_integration = {};
|
|
@@ -31,17 +31,17 @@ __export(exports_integration, {
|
|
|
31
31
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
32
32
|
CommandMethod: () => CommandMethod2,
|
|
33
33
|
EnvMethod: () => EnvMethod2,
|
|
34
|
-
Event: () =>
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
34
|
+
Event: () => Event18,
|
|
35
|
+
ID: () => ID14,
|
|
36
|
+
Info: () => Info29,
|
|
37
37
|
Integration: () => exports_integration,
|
|
38
38
|
KeyMethod: () => KeyMethod2,
|
|
39
39
|
Method: () => Method2,
|
|
40
40
|
MethodID: () => MethodID2,
|
|
41
41
|
OAuthMethod: () => OAuthMethod2,
|
|
42
42
|
Ref: () => Ref3,
|
|
43
|
-
Service: () =>
|
|
44
|
-
node: () =>
|
|
43
|
+
Service: () => Service77,
|
|
44
|
+
node: () => node81
|
|
45
45
|
});
|
|
46
46
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
47
47
|
import {
|
|
@@ -62,8 +62,8 @@ import {
|
|
|
62
62
|
import { Integration } from "@opencode/schema/integration";
|
|
63
63
|
import { AppProcess } from "@opencode/util/process";
|
|
64
64
|
import { ChildProcess } from "effect/unstable/process";
|
|
65
|
-
import { Event as
|
|
66
|
-
var
|
|
65
|
+
import { Event as Event18 } from "@opencode/schema/integration";
|
|
66
|
+
var ID14 = Integration.ID;
|
|
67
67
|
var MethodID2 = Integration.MethodID;
|
|
68
68
|
var AttemptID2 = Integration.AttemptID;
|
|
69
69
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -71,7 +71,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
71
71
|
var KeyMethod2 = Integration.KeyMethod;
|
|
72
72
|
var EnvMethod2 = Integration.EnvMethod;
|
|
73
73
|
var Method2 = Integration.Method;
|
|
74
|
-
var
|
|
74
|
+
var Info29 = Integration.Info;
|
|
75
75
|
var Attempt2 = Integration.Attempt;
|
|
76
76
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
77
77
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -94,19 +94,19 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
97
|
-
integrationID:
|
|
97
|
+
integrationID: ID14,
|
|
98
98
|
attemptID: AttemptID2
|
|
99
99
|
}) {
|
|
100
100
|
}
|
|
101
101
|
var Ref3 = Integration.Ref;
|
|
102
102
|
|
|
103
|
-
class
|
|
103
|
+
class Service77 extends Context.Service()("@opencode/Integration") {
|
|
104
104
|
}
|
|
105
105
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
106
106
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
107
107
|
var scrubInterval = Duration.seconds(30);
|
|
108
|
-
var layer = Layer.effect(
|
|
109
|
-
const credentials = yield*
|
|
108
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
109
|
+
const credentials = yield* Service79;
|
|
110
110
|
const bus = yield* Service83;
|
|
111
111
|
const processes = yield* AppProcess.Service;
|
|
112
112
|
const scope = yield* Scope.Scope;
|
|
@@ -200,7 +200,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
200
200
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
201
201
|
return [...credentials, ...env];
|
|
202
202
|
};
|
|
203
|
-
const project = (entry, connections) =>
|
|
203
|
+
const project = (entry, connections) => Info29.make({
|
|
204
204
|
id: entry.ref.id,
|
|
205
205
|
name: entry.ref.name,
|
|
206
206
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -284,7 +284,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
284
284
|
const persistence = yield* createCredential({
|
|
285
285
|
integrationID: attempt.integrationID,
|
|
286
286
|
label: attempt.label,
|
|
287
|
-
value:
|
|
287
|
+
value: Key4.make({ type: "key", key: exit.value })
|
|
288
288
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
289
289
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
290
290
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -430,7 +430,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
430
430
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
431
431
|
return CommandAttempt2.make({ attemptID, time });
|
|
432
432
|
});
|
|
433
|
-
return
|
|
433
|
+
return Service77.of({
|
|
434
434
|
transform: state.transform,
|
|
435
435
|
reload: state.reload,
|
|
436
436
|
revision: state.revision,
|
|
@@ -452,7 +452,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
452
452
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
453
453
|
if (connection.type === "env") {
|
|
454
454
|
const key = process.env[connection.name];
|
|
455
|
-
return key ?
|
|
455
|
+
return key ? Key4.make({ type: "key", key }) : undefined;
|
|
456
456
|
}
|
|
457
457
|
const credential = yield* credentials.get(connection.id);
|
|
458
458
|
if (!credential)
|
|
@@ -485,7 +485,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
485
485
|
yield* createCredential({
|
|
486
486
|
integrationID: input.integrationID,
|
|
487
487
|
label: input.label,
|
|
488
|
-
value:
|
|
488
|
+
value: Key4.make({
|
|
489
489
|
type: "key",
|
|
490
490
|
key: input.key,
|
|
491
491
|
...Object.keys(answer).length > 0 ? { configuration: answer } : {}
|
|
@@ -579,10 +579,10 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
579
579
|
}
|
|
580
580
|
});
|
|
581
581
|
}));
|
|
582
|
-
var
|
|
583
|
-
service:
|
|
582
|
+
var node81 = makeLocationNode({
|
|
583
|
+
service: Service77,
|
|
584
584
|
layer,
|
|
585
|
-
deps: [
|
|
585
|
+
deps: [node83, node87, AppProcess.node]
|
|
586
586
|
});
|
|
587
587
|
|
|
588
|
-
export {
|
|
588
|
+
export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info29, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service77, node81, exports_integration, Event18 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OAuth3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-4hcc7af7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID14,
|
|
6
6
|
MethodID2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-services-4qmfr7sb.js";
|
|
8
8
|
import {
|
|
9
9
|
success2,
|
|
10
10
|
error2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-services-pjvnvgmy.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/provider/poe.ts
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Clock, Deferred, Effect, Option, Schema } from "effect";
|
|
16
16
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID14.make("poe");
|
|
18
18
|
var methodID = MethodID2.make("browser");
|
|
19
19
|
var clientID = "client_728290227fc048cc9262091a1ea197ea";
|
|
20
20
|
var issuer = "https://poe.com";
|