@opencode/core 0.0.0-dev-21167 → 0.0.0-dev-21176
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{location-w319agzg.js → variant-046g8s2b.js} +14 -14
- package/dist/chunks/{location-4mb9pp0y.js → variant-046wpshp.js} +28 -28
- package/dist/chunks/{location-81rc8gm8.js → variant-057ebw4n.js} +20 -20
- package/dist/chunks/{location-3gn0rhd5.js → variant-05p7sv4b.js} +71 -71
- package/dist/chunks/{location-r1j6ejcm.js → variant-083yp1m0.js} +5 -5
- package/dist/chunks/{location-3kyydbkc.js → variant-0frz0xt1.js} +15 -15
- package/dist/chunks/{location-3s9mjem9.js → variant-0gdhy7gs.js} +11 -11
- package/dist/chunks/{location-ma9xypmg.js → variant-0tm86nq6.js} +7 -7
- package/dist/chunks/{location-0vbcp93d.js → variant-0vbcp93d.js} +2 -2
- package/dist/chunks/{location-2ym858dx.js → variant-1ch5ceza.js} +9 -9
- package/dist/chunks/{location-3357mp80.js → variant-1pbhk94w.js} +20 -18
- package/dist/chunks/{location-8rbs03yj.js → variant-1trmznht.js} +4 -4
- package/dist/chunks/{location-khmqacep.js → variant-1w2wqhfv.js} +4 -4
- package/dist/chunks/{location-h8j75c1p.js → variant-1zp4z7qa.js} +15 -15
- package/dist/chunks/{location-3gf5j6sb.js → variant-2a62y8q7.js} +11 -11
- package/dist/chunks/{location-wgkxnvdd.js → variant-2bpk9f3k.js} +42 -42
- package/dist/chunks/{location-r06fjp3p.js → variant-2gprhkyr.js} +13 -13
- package/dist/chunks/{location-2pecxe0h.js → variant-2x94txpx.js} +327 -327
- package/dist/chunks/{location-77s5kvpz.js → variant-2zfs5392.js} +23 -23
- package/dist/chunks/{location-n7jd5fce.js → variant-321f1ejv.js} +12 -12
- package/dist/chunks/{location-dmspabrr.js → variant-39m7k5ja.js} +7 -7
- package/dist/chunks/{location-3fc6dm20.js → variant-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-g9z16n36.js → variant-3ha9j4b5.js} +9 -9
- package/dist/chunks/{location-3hepkmqq.js → variant-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-77q3x2ey.js → variant-3hfvw01m.js} +11 -11
- package/dist/chunks/{location-3hwn7j4h.js → variant-3hwn7j4h.js} +2 -2
- package/dist/chunks/variant-3mxr4v0x.js +257 -0
- package/dist/chunks/{location-ms93yq6r.js → variant-3rtxz4nr.js} +8 -8
- package/dist/chunks/{location-3smtnn6g.js → variant-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-3tvqynh2.js → variant-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-3zsf4n22.js → variant-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-0tpm4bjb.js → variant-40tzx1cc.js} +37 -37
- package/dist/chunks/{location-49kmjwym.js → variant-4ahkyf94.js} +26 -26
- package/dist/chunks/{location-04p168fs.js → variant-4c90nbtc.js} +43 -43
- package/dist/chunks/{location-xkva1xr6.js → variant-4gbdnm18.js} +29 -29
- package/dist/chunks/{location-5dkn69vz.js → variant-4j4tgtq5.js} +4 -4
- package/dist/chunks/{location-sxzvkvgj.js → variant-4mwpykj0.js} +6 -6
- package/dist/chunks/{location-hw962j61.js → variant-4p4gbhws.js} +21 -21
- package/dist/chunks/{location-gvtxftkn.js → variant-4shtx8xv.js} +26 -26
- package/dist/chunks/{location-t74mf4k5.js → variant-4w4z2t1w.js} +11 -11
- package/dist/chunks/{location-yqt3nf50.js → variant-4zh3rk77.js} +20 -20
- package/dist/chunks/{location-54ma36ye.js → variant-54ma36ye.js} +1 -1
- package/dist/chunks/{location-gq1wrjh7.js → variant-59zxysqc.js} +8 -8
- package/dist/chunks/{location-d9x1gjen.js → variant-5epw05xb.js} +85 -83
- package/dist/chunks/{location-d8exgxg3.js → variant-5fmj7ta4.js} +10 -10
- package/dist/chunks/variant-5gcwdx7a.js +26 -0
- package/dist/chunks/{location-sx6g28q1.js → variant-5jvdcdbe.js} +24 -24
- package/dist/chunks/{location-5m9w47nd.js → variant-5m9w47nd.js} +1 -1
- package/dist/chunks/{location-4jdk9bya.js → variant-5nrxcrff.js} +30 -30
- package/dist/chunks/{location-e3qxr5gk.js → variant-5qd3pb7m.js} +2 -2
- package/dist/chunks/{location-n487pwzc.js → variant-5skg1say.js} +16 -16
- package/dist/chunks/{location-a7ysfpsw.js → variant-5wx7ars0.js} +28 -28
- package/dist/chunks/{location-4cyjj1kj.js → variant-5xn2s2y6.js} +1 -1
- package/dist/chunks/{location-5gcpkkgh.js → variant-5zhj8ry3.js} +4 -4
- package/dist/chunks/{location-6827pfxn.js → variant-6827pfxn.js} +1 -1
- package/dist/chunks/{location-t1v93gsh.js → variant-6br1b9vz.js} +24 -24
- package/dist/chunks/{location-mf02evs1.js → variant-6e96tf19.js} +26 -26
- package/dist/chunks/{location-1swd5j6x.js → variant-6jk8qrvt.js} +26 -26
- package/dist/chunks/{location-6pc27hjz.js → variant-6pc27hjz.js} +2 -2
- package/dist/chunks/{location-wvgy3s2v.js → variant-6tw77w91.js} +42 -42
- package/dist/chunks/{location-6xb47vfp.js → variant-6xb47vfp.js} +1 -1
- package/dist/chunks/{location-evnsakp9.js → variant-70zyjq8j.js} +30 -30
- package/dist/chunks/{location-nynfj6vr.js → variant-755d9eqq.js} +2 -2
- package/dist/chunks/{location-775gj3j1.js → variant-775gj3j1.js} +2 -2
- package/dist/chunks/{location-279651ef.js → variant-77gc1d6b.js} +20 -20
- package/dist/chunks/{location-f5rny02c.js → variant-77pc7aym.js} +23 -23
- package/dist/chunks/{location-gbpyn874.js → variant-7a5zdfdw.js} +27 -27
- package/dist/chunks/{location-7bmhse3q.js → variant-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-y7nndgyc.js → variant-80z0vyq9.js} +9 -9
- package/dist/chunks/{location-s3hasvfa.js → variant-814d0nh1.js} +8 -8
- package/dist/chunks/{location-84txncab.js → variant-84txncab.js} +1 -1
- package/dist/chunks/{location-2r1q1mzk.js → variant-86vxb3sx.js} +12 -12
- package/dist/chunks/{location-8wmyvevz.js → variant-875k33ja.js} +20 -20
- package/dist/chunks/{location-6xadtkfd.js → variant-8eq3291x.js} +26 -26
- package/dist/chunks/{location-vtevn8b1.js → variant-8gebk434.js} +50 -50
- package/dist/chunks/{location-8rw554nj.js → variant-8kyvgn7h.js} +3 -3
- package/dist/chunks/{location-8m6m0r52.js → variant-8m6m0r52.js} +1 -1
- package/dist/chunks/{location-dsc0h7gk.js → variant-8ndt9d3t.js} +20 -20
- package/dist/chunks/{location-q0kdvkfz.js → variant-8rhc360h.js} +17 -17
- package/dist/chunks/{location-65mft1we.js → variant-8zkgpeg7.js} +4 -4
- package/dist/chunks/{location-91qna3x0.js → variant-91qna3x0.js} +3 -3
- package/dist/chunks/{location-kqv3x6rj.js → variant-97aeaand.js} +9 -9
- package/dist/chunks/{location-q229fd3c.js → variant-987vp8h5.js} +26 -26
- package/dist/chunks/{location-gws9cbsr.js → variant-9a249s8k.js} +14 -14
- package/dist/chunks/{location-br8m9pad.js → variant-9wggzhwd.js} +79 -79
- package/dist/chunks/{location-ngts6ef0.js → variant-a2qe2ev9.js} +8 -8
- package/dist/chunks/{location-djcsq056.js → variant-a5h0t34w.js} +17 -17
- package/dist/chunks/{location-p6xhd61c.js → variant-a97kj8b3.js} +15 -15
- package/dist/chunks/{location-nj7hqrdc.js → variant-a99sy4q1.js} +5 -5
- package/dist/chunks/{location-rnb0fp5b.js → variant-aje92c6g.js} +11 -11
- package/dist/chunks/{location-9n3bc4fq.js → variant-ake6y9r0.js} +22 -22
- package/dist/chunks/{location-yrjdz1vx.js → variant-ax7wezry.js} +23 -23
- package/dist/chunks/{location-86bv6903.js → variant-b3cx5dwc.js} +6 -6
- package/dist/chunks/{location-4bq5bgy2.js → variant-bfxnahs9.js} +25 -25
- package/dist/chunks/{location-aznyfhv6.js → variant-bjfzzc5s.js} +11 -11
- package/dist/chunks/{location-kjbqd4k5.js → variant-bjgf8e3h.js} +3 -3
- package/dist/chunks/{location-ba07h9gm.js → variant-btfhnvjh.js} +3 -3
- package/dist/chunks/{location-2k9fjx65.js → variant-bx0gyb4h.js} +5 -5
- package/dist/chunks/{location-p141jy73.js → variant-byaywwgc.js} +4 -4
- package/dist/chunks/{location-bzeyqsqd.js → variant-bzeyqsqd.js} +1 -1
- package/dist/chunks/{location-c41wscbt.js → variant-c41wscbt.js} +2 -2
- package/dist/chunks/{location-mgcym914.js → variant-c7aydyf0.js} +30 -30
- package/dist/chunks/{location-c8ax2afj.js → variant-c8ax2afj.js} +2 -2
- package/dist/chunks/{location-yy653qm8.js → variant-cbhr45qc.js} +13 -13
- package/dist/chunks/{location-596mpw5j.js → variant-ce26274z.js} +29 -29
- package/dist/chunks/{location-7mawf7qb.js → variant-cnx16wxb.js} +6 -6
- package/dist/chunks/{location-31xfzrxg.js → variant-d1a28jh7.js} +7 -5
- package/dist/chunks/{location-k550d0f8.js → variant-d6gyv2zn.js} +23 -23
- package/dist/chunks/{location-yvf15whc.js → variant-d6rrdh68.js} +11 -11
- package/dist/chunks/{location-q17z9dx8.js → variant-d9wzmzc3.js} +5 -5
- package/dist/chunks/{location-vd93shqe.js → variant-da4mxm4z.js} +25 -25
- package/dist/chunks/{location-xpakvqd9.js → variant-dk66jcm6.js} +20 -20
- package/dist/chunks/{location-35gpyver.js → variant-dky2mvnp.js} +10 -10
- package/dist/chunks/{location-dpkg50ah.js → variant-dpkg50ah.js} +1 -1
- package/dist/chunks/{location-fn9t717r.js → variant-dq407baf.js} +6 -6
- package/dist/chunks/{location-drwq78ky.js → variant-drwq78ky.js} +1 -1
- package/dist/chunks/{location-8jer7cp2.js → variant-dtvwj1st.js} +15 -15
- package/dist/chunks/variant-dxj72tfx.js +18 -0
- package/dist/chunks/{location-pesmq38c.js → variant-dxzrtcw7.js} +4 -4
- package/dist/chunks/{location-hw91664y.js → variant-dy42zcpp.js} +3 -3
- package/dist/chunks/{location-y54hr7f3.js → variant-dzw83ac5.js} +8 -8
- package/dist/chunks/{location-n6pkkeec.js → variant-e26mw538.js} +43 -43
- package/dist/chunks/{location-ez5ayfgk.js → variant-e7fj9rcp.js} +11 -11
- package/dist/chunks/{location-tj4h5t6p.js → variant-e81pay9y.js} +3 -3
- package/dist/chunks/{location-rhjbct0v.js → variant-eaj1djv9.js} +8 -8
- package/dist/chunks/{location-eej6y6fw.js → variant-eej6y6fw.js} +2 -2
- package/dist/chunks/{location-ef5x83kb.js → variant-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-d5wrgfzq.js → variant-ehrc2hrr.js} +6 -6
- package/dist/chunks/{location-r6kb5pcb.js → variant-ejvnp2ks.js} +11 -11
- package/dist/chunks/{location-br3dfngf.js → variant-er9v8e0b.js} +4 -4
- package/dist/chunks/{location-7h1ysmxt.js → variant-erac1yxk.js} +15 -15
- package/dist/chunks/{location-ej844vx3.js → variant-erv565xg.js} +1 -1
- package/dist/chunks/{location-es1vcfrp.js → variant-es1vcfrp.js} +3 -3
- package/dist/chunks/{location-qdy98gs8.js → variant-f1cc1b27.js} +13 -13
- package/dist/chunks/{location-fcy631f0.js → variant-fcy631f0.js} +1 -1
- package/dist/chunks/{location-e304bmef.js → variant-fkgrsjec.js} +11 -11
- package/dist/chunks/{location-zv1es41t.js → variant-g0knnnvb.js} +11 -11
- package/dist/chunks/{location-946prdfx.js → variant-g42k3yx8.js} +32 -32
- package/dist/chunks/{location-c765mh8b.js → variant-g6q9qykm.js} +9 -9
- package/dist/chunks/{location-6yz0wx8n.js → variant-g6yfr6ja.js} +5 -5
- package/dist/chunks/{location-gd4qta3r.js → variant-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-j5zx779k.js → variant-gj86fx9c.js} +174 -174
- package/dist/chunks/{location-addxnjmp.js → variant-gqtdsdt7.js} +4 -4
- package/dist/chunks/{location-0fhz1623.js → variant-gxwgwve4.js} +25 -25
- package/dist/chunks/{location-azwc7e5n.js → variant-gzgdncdj.js} +22 -22
- package/dist/chunks/{location-vp03p32s.js → variant-h07937sj.js} +17 -17
- package/dist/chunks/{location-hsjvmpjh.js → variant-h0vknvkg.js} +8 -8
- package/dist/chunks/{location-pt7wvqpt.js → variant-h3j7tw64.js} +16 -16
- package/dist/chunks/{location-xgsyd334.js → variant-h55ev976.js} +25 -25
- package/dist/chunks/{location-h6vf3j39.js → variant-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-95046942.js → variant-hcwq51g4.js} +3 -3
- package/dist/chunks/{location-4dr1jy63.js → variant-hdzzamp5.js} +22 -22
- package/dist/chunks/{location-hgz4x7wa.js → variant-hgz4x7wa.js} +1 -1
- package/dist/chunks/{location-72nqjsff.js → variant-hkbk155w.js} +14 -14
- package/dist/chunks/{location-d2326s1m.js → variant-hmf53ygj.js} +28 -28
- package/dist/chunks/{location-c9phwppx.js → variant-hnsqakx3.js} +15 -15
- package/dist/chunks/{location-4r8naqcn.js → variant-hv8trv8t.js} +9 -9
- package/dist/chunks/{location-bh8v5ww5.js → variant-hyc6nb5f.js} +20 -20
- package/dist/chunks/{location-9tg3nv82.js → variant-hzmbbkvz.js} +31 -31
- package/dist/chunks/{location-7bbe0ka3.js → variant-j15f634k.js} +45 -45
- package/dist/chunks/{location-k0rwae6a.js → variant-je3ncztn.js} +13 -13
- package/dist/chunks/{location-2170x3g5.js → variant-jj71mszr.js} +11 -11
- package/dist/chunks/{location-xfkdt1e3.js → variant-jm1yb898.js} +50 -50
- package/dist/chunks/{location-85xxa1xb.js → variant-jn2j5c43.js} +3 -3
- package/dist/chunks/{location-y4fre6jr.js → variant-jrx5985g.js} +32 -32
- package/dist/chunks/{location-11dqjexa.js → variant-jvb9xte8.js} +9 -9
- package/dist/chunks/{location-7hnrkwye.js → variant-jygkwv30.js} +17 -17
- package/dist/chunks/{location-ratrq7cm.js → variant-k76krqzs.js} +4 -4
- package/dist/chunks/{location-d858xzj7.js → variant-kkp8zx71.js} +4 -4
- package/dist/chunks/{location-5ppqnkm2.js → variant-kq4w7yff.js} +6 -6
- package/dist/chunks/{location-ek28ef31.js → variant-kr7jy07f.js} +33 -33
- package/dist/chunks/{location-kwb1v3vj.js → variant-kwb1v3vj.js} +1 -1
- package/dist/chunks/{location-z9yvgd5a.js → variant-kwd6154r.js} +32 -32
- package/dist/chunks/{location-hewkcgwf.js → variant-kxbqcyhs.js} +15 -15
- package/dist/chunks/{location-agxtpttf.js → variant-m4t6kx0z.js} +15 -15
- package/dist/chunks/{location-07770t2t.js → variant-m91gvp7t.js} +6 -6
- package/dist/chunks/{location-m9w0rfyh.js → variant-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-maspj1v3.js → variant-maspj1v3.js} +1 -1
- package/dist/chunks/{location-p76n1axe.js → variant-mc9a8anj.js} +42 -42
- package/dist/chunks/{location-chy52nxf.js → variant-mfrqb4hk.js} +14 -14
- package/dist/chunks/{location-t6g1a1tj.js → variant-mrtxs28p.js} +4 -4
- package/dist/chunks/{location-ws642w3m.js → variant-mwn3kz1y.js} +24 -24
- package/dist/chunks/{location-967benbv.js → variant-n61013np.js} +11 -11
- package/dist/chunks/{location-80rg9w16.js → variant-n91cq9nb.js} +3 -3
- package/dist/chunks/{location-5srbszfv.js → variant-ndk58h8z.js} +13 -13
- package/dist/chunks/{location-r9q2q9h8.js → variant-nkvwea84.js} +9 -9
- package/dist/chunks/{location-xn39yem9.js → variant-npnc5hq3.js} +7 -7
- package/dist/chunks/{location-8xd334rx.js → variant-p102tpkp.js} +48 -30
- package/dist/chunks/{location-mas8jxpn.js → variant-p10qf8gn.js} +8 -8
- package/dist/chunks/{location-f7d2f8sr.js → variant-pbp0m9hy.js} +32 -32
- package/dist/chunks/{location-t2m0r48e.js → variant-pcp44bm4.js} +6 -6
- package/dist/chunks/{location-ecd3m7kj.js → variant-pdc02abw.js} +11 -11
- package/dist/chunks/{location-9hn6k4tm.js → variant-phstrbs2.js} +8 -8
- package/dist/chunks/{location-pjvnvgmy.js → variant-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-pknna89w.js → variant-pknna89w.js} +1 -1
- package/dist/chunks/{location-a8y8kc78.js → variant-pssjzh93.js} +28 -28
- package/dist/chunks/{location-2ryng5r3.js → variant-pyg4v0b6.js} +4 -4
- package/dist/chunks/{location-qz3gmm2p.js → variant-qdnm7966.js} +3 -3
- package/dist/chunks/{location-0ayascqm.js → variant-qdvnb8q8.js} +5 -5
- package/dist/chunks/{location-fcrkznn8.js → variant-qgn6gcr1.js} +5 -5
- package/dist/chunks/{location-qnc92qwc.js → variant-qnc92qwc.js} +1 -1
- package/dist/chunks/{location-f7fbxzn5.js → variant-qnjf4cxx.js} +5 -5
- package/dist/chunks/{location-y729g6m6.js → variant-qscxgnxz.js} +9 -9
- package/dist/chunks/{location-qsdy395h.js → variant-qsdy395h.js} +1 -1
- package/dist/chunks/{location-fexx2wnt.js → variant-qve0vfwn.js} +4 -4
- package/dist/chunks/{location-tystnwaz.js → variant-r65fsh7z.js} +14 -14
- package/dist/chunks/{location-x4t79far.js → variant-rd19d09e.js} +5 -5
- package/dist/chunks/{location-rdw6cm16.js → variant-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-f85jeg19.js → variant-rk8bth6d.js} +11 -11
- package/dist/chunks/{location-kdjm1ewm.js → variant-rp03b2v5.js} +6 -6
- package/dist/chunks/{location-f6w3bzx6.js → variant-rrj8saf7.js} +5 -5
- package/dist/chunks/{location-8r1bk9m8.js → variant-rsfafasw.js} +18 -18
- package/dist/chunks/{location-nrp9mwhy.js → variant-s375a249.js} +14 -14
- package/dist/chunks/{location-d4xra4yg.js → variant-s6wmg1yx.js} +8 -8
- package/dist/chunks/{location-gq9rs75s.js → variant-s8kn2x8c.js} +19 -19
- package/dist/chunks/{location-74e7m4fh.js → variant-sb8kphm5.js} +42 -42
- package/dist/chunks/{location-980kq1k5.js → variant-skerjvek.js} +5 -5
- package/dist/chunks/{location-2dqxsat8.js → variant-srjn715j.js} +8 -8
- package/dist/chunks/{location-e80seqcp.js → variant-sxcaecc0.js} +3 -3
- package/dist/chunks/{location-syv4x271.js → variant-syv4x271.js} +1 -1
- package/dist/chunks/{location-x6k905z3.js → variant-t69yyt7n.js} +10 -10
- package/dist/chunks/{location-3zkbaef1.js → variant-t86fkjrn.js} +45 -45
- package/dist/chunks/{location-7a08grbq.js → variant-t95r54st.js} +10 -10
- package/dist/chunks/{location-tazgh4e4.js → variant-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-tcezcvh9.js → variant-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-1g4xzv17.js → variant-tczk5dww.js} +14 -14
- package/dist/chunks/{location-tdstcens.js → variant-tdstcens.js} +1 -1
- package/dist/chunks/{location-tkb22qbm.js → variant-tkb22qbm.js} +2 -2
- package/dist/chunks/{location-tm0kqsz3.js → variant-tm0kqsz3.js} +1 -1
- package/dist/chunks/{location-gbgj9g7h.js → variant-tq17wahx.js} +24 -24
- package/dist/chunks/{location-76wwsgby.js → variant-ts8pmwjm.js} +11 -11
- package/dist/chunks/{location-508w5ebs.js → variant-tx25dm1j.js} +21 -21
- package/dist/chunks/{location-9y8p4kwc.js → variant-txz88p3m.js} +17 -14
- package/dist/chunks/{location-tyytaxap.js → variant-tyytaxap.js} +1 -1
- package/dist/chunks/{location-v210v162.js → variant-v210v162.js} +2 -2
- package/dist/chunks/{location-y9wpg32p.js → variant-v5gx96xa.js} +7 -7
- package/dist/chunks/{location-v7p4zvkq.js → variant-v7p4zvkq.js} +2 -2
- package/dist/chunks/{location-qd7chy0n.js → variant-vbysqr17.js} +12 -12
- package/dist/chunks/{location-sf3h3gbp.js → variant-ve2mjq42.js} +24 -24
- package/dist/chunks/{location-veqvce7d.js → variant-veqvce7d.js} +1 -1
- package/dist/chunks/{location-79mg13ta.js → variant-vp263n6k.js} +30 -30
- package/dist/chunks/{location-96pkh5sd.js → variant-vste0f9s.js} +18 -18
- package/dist/chunks/{location-9ykzgad9.js → variant-vtqn14gq.js} +10 -10
- package/dist/chunks/{location-gqqemsvr.js → variant-vwe4kmr6.js} +11 -11
- package/dist/chunks/{location-vzs5sf6e.js → variant-vzs5sf6e.js} +1 -1
- package/dist/chunks/{location-w3wsvvr9.js → variant-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-v5kskatz.js → variant-w6sjmjwz.js} +19 -19
- package/dist/chunks/{location-6764vk3q.js → variant-w98xyk9k.js} +43 -43
- package/dist/chunks/{location-8twfw7wm.js → variant-wc02s9yn.js} +13 -13
- package/dist/chunks/{location-wd87259q.js → variant-wd87259q.js} +1 -1
- package/dist/chunks/{location-ha3n25mh.js → variant-wfwdvame.js} +18 -18
- package/dist/chunks/{location-tm4g9m88.js → variant-wksaar7t.js} +5 -5
- package/dist/chunks/{location-2656ff51.js → variant-wnnvyxh9.js} +27 -27
- package/dist/chunks/{location-xsykp6z4.js → variant-wqb8epsc.js} +13 -13
- package/dist/chunks/{location-8erdrt3b.js → variant-x82e3n7x.js} +20 -20
- package/dist/chunks/{location-af6x59c3.js → variant-xazgbj1z.js} +16 -16
- package/dist/chunks/{location-dxq1tm2j.js → variant-xbsw244s.js} +7 -7
- package/dist/chunks/{location-x5mh70ph.js → variant-xcnx8s4x.js} +18 -18
- package/dist/chunks/{location-88q2kk7w.js → variant-xcp33tng.js} +12 -12
- package/dist/chunks/{location-jhdf29st.js → variant-xt4njr3s.js} +1 -1
- package/dist/chunks/{location-t3crqbkt.js → variant-y0b9s196.js} +6 -6
- package/dist/chunks/{location-y1fvbwt7.js → variant-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-yrq96tw7.js → variant-y2mqe777.js} +59 -59
- package/dist/chunks/{location-0br3sbwn.js → variant-y5rf7nzv.js} +4 -4
- package/dist/chunks/{location-q2yp5mm4.js → variant-yhmqr890.js} +10 -10
- package/dist/chunks/{location-kecqjjhm.js → variant-ynh10gny.js} +5 -5
- package/dist/chunks/{location-e6tgbxcd.js → variant-ynry5ybj.js} +30 -30
- package/dist/chunks/{location-yp2x3t23.js → variant-yp2x3t23.js} +1 -1
- package/dist/chunks/{location-jfw8sxf1.js → variant-yq5gx6k0.js} +4 -4
- package/dist/chunks/{location-f3m5b7dq.js → variant-ysjrn4yj.js} +25 -25
- package/dist/chunks/{location-bjx1sjef.js → variant-ywt8jp22.js} +9 -9
- package/dist/chunks/{location-5hzva5en.js → variant-yzxehce5.js} +14 -14
- package/dist/chunks/{location-z0bkrqjs.js → variant-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-0ghrdfc7.js → variant-z9m5qar5.js} +16 -16
- package/dist/chunks/{location-06x8he3q.js → variant-zcrspsvn.js} +4 -4
- package/dist/chunks/{location-syyme4qc.js → variant-zewbgjb2.js} +2 -2
- package/dist/chunks/{location-r26zpbq3.js → variant-zhy09m26.js} +17 -17
- package/dist/chunks/{location-zr2ceqn5.js → variant-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-sff9pyzt.js → variant-zsp4bc1b.js} +11 -11
- package/dist/chunks/{location-zxq2ej10.js → variant-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +77 -77
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +68 -68
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +78 -78
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +219 -219
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +108 -108
- 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 +93 -93
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +4 -4
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +357 -357
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +98 -98
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +121 -121
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- 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-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +114 -114
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +136 -136
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- 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 +215 -215
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +157 -157
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +208 -208
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -210
- 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 +109 -109
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- 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 +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/session/session.d.ts +2 -0
- package/dist/types/session/store.d.ts +3 -0
- package/dist/types/session.d.ts +5 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- 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 +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/location-4v7qdvcn.js +0 -18
- package/dist/chunks/location-b84aqzgf.js +0 -257
- package/dist/chunks/location-xzhrxm47.js +0 -26
- /package/dist/chunks/{location-0qkdqm5v.js → variant-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-0zkw76rk.js → variant-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-17cy0kzp.js → variant-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-1cnp2v09.js → variant-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-1kg9ymc8.js → variant-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-24dcb14g.js → variant-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-2710q6r3.js → variant-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-2axfhc9x.js → variant-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-2bv980vf.js → variant-2bv980vf.js} +0 -0
- /package/dist/chunks/{location-2c3vjs8z.js → variant-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-359p4xyc.js → variant-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-3asan66x.js → variant-3asan66x.js} +0 -0
- /package/dist/chunks/{location-3t0ybcrp.js → variant-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{location-3v8g72cx.js → variant-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-3wcehsnq.js → variant-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-43n2bw4t.js → variant-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-4knz6hnm.js → variant-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-4vcrnpx2.js → variant-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-4y7fprxs.js → variant-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-53557ph1.js → variant-53557ph1.js} +0 -0
- /package/dist/chunks/{location-550bvhaj.js → variant-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-6prwharc.js → variant-6prwharc.js} +0 -0
- /package/dist/chunks/{location-6q2bdcd1.js → variant-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{location-7akdwqpd.js → variant-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-7m9af43g.js → variant-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-822emrt2.js → variant-822emrt2.js} +0 -0
- /package/dist/chunks/{location-84wd9syh.js → variant-84wd9syh.js} +0 -0
- /package/dist/chunks/{location-88xbtdfr.js → variant-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-8n3pysct.js → variant-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-8wj87zfr.js → variant-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-9a4afbnw.js → variant-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-9rqn6x4v.js → variant-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-a6k6eb26.js → variant-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-af5trqkr.js → variant-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-afrmfg78.js → variant-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-aqzs7mqg.js → variant-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-atq7p7m5.js → variant-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-bkyjaxrp.js → variant-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-bmr6ed5q.js → variant-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-cf4snx6d.js → variant-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-cvy3z8tj.js → variant-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-d9fn303g.js → variant-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-d9jj8t3e.js → variant-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-dajrwvna.js → variant-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-dap0rakb.js → variant-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-df08tz66.js → variant-df08tz66.js} +0 -0
- /package/dist/chunks/{location-dy18nga0.js → variant-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-e5kj55wp.js → variant-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-e73j6tqm.js → variant-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-ec1grn59.js → variant-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-eh3zwz77.js → variant-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-emrn6kk6.js → variant-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-f0mxakyp.js → variant-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-f6n9ztr4.js → variant-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-faypxj3z.js → variant-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-fd410y7t.js → variant-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-g4wezp1m.js → variant-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-g86h250q.js → variant-g86h250q.js} +0 -0
- /package/dist/chunks/{location-gebd4c9n.js → variant-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-gftt206x.js → variant-gftt206x.js} +0 -0
- /package/dist/chunks/{location-hcxmzztb.js → variant-hcxmzztb.js} +0 -0
- /package/dist/chunks/{location-hk9envan.js → variant-hk9envan.js} +0 -0
- /package/dist/chunks/{location-j2ntwpah.js → variant-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-j5zkgpj8.js → variant-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-jjkms2e6.js → variant-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-jr7sbwjy.js → variant-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-jwfs4k6c.js → variant-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-jze0r7bz.js → variant-jze0r7bz.js} +0 -0
- /package/dist/chunks/{location-jzg6c2d5.js → variant-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-m18g726c.js → variant-m18g726c.js} +0 -0
- /package/dist/chunks/{location-mp448xyj.js → variant-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-msx8hqn2.js → variant-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-n05xt0ee.js → variant-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-n3j8tn72.js → variant-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-njntx4h6.js → variant-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-pkyv6v7h.js → variant-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{location-pyv0edze.js → variant-pyv0edze.js} +0 -0
- /package/dist/chunks/{location-q3sfg36h.js → variant-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-q74kybfr.js → variant-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-qaymkmh1.js → variant-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-qb87gjwd.js → variant-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-qfa1cgps.js → variant-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-qg3g05ea.js → variant-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-qrg20bc0.js → variant-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-rcb2kzg1.js → variant-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-sdp7kfr6.js → variant-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-ssg3fenm.js → variant-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-ve7vex1e.js → variant-ve7vex1e.js} +0 -0
- /package/dist/chunks/{location-w803qqfp.js → variant-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-wc3fc9cn.js → variant-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-wer8tq1h.js → variant-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-wjj7prxr.js → variant-wjj7prxr.js} +0 -0
- /package/dist/chunks/{location-wtztk69x.js → variant-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-x0ckcb58.js → variant-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-x61499pn.js → variant-x61499pn.js} +0 -0
- /package/dist/chunks/{location-y44na4kk.js → variant-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-y8f7s663.js → variant-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-ygaqb7jw.js → variant-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-ym463w8f.js → variant-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-z5v4ffb3.js → variant-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-z9919s4g.js → variant-z9919s4g.js} +0 -0
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
match2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-y1fvbwt7.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./variant-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/managed-policy.ts
|
|
9
9
|
var exports_managed_policy = {};
|
|
10
10
|
__export(exports_managed_policy, {
|
|
11
11
|
ManagedPolicy: () => exports_managed_policy,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service19,
|
|
13
13
|
decision: () => decision2,
|
|
14
|
-
layer: () =>
|
|
15
|
-
node: () =>
|
|
14
|
+
layer: () => layer12,
|
|
15
|
+
node: () => node22,
|
|
16
16
|
statements: () => statements2
|
|
17
17
|
});
|
|
18
18
|
import { isDeepStrictEqual } from "node:util";
|
|
19
19
|
import { Context, Effect, Layer, PubSub, Stream } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class Service19 extends Context.Service()("@opencode/ManagedPolicy") {
|
|
23
23
|
}
|
|
24
|
-
var
|
|
24
|
+
var layer12 = Layer.effect(Service19, Effect.gen(function* () {
|
|
25
25
|
const changes = yield* PubSub.unbounded();
|
|
26
26
|
const state = { current: { statements: [] } };
|
|
27
|
-
return
|
|
27
|
+
return Service19.of({
|
|
28
28
|
changes: () => Stream.fromPubSub(changes),
|
|
29
29
|
current: () => state.current,
|
|
30
30
|
set: (next) => Effect.gen(function* () {
|
|
@@ -36,7 +36,7 @@ var layer28 = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
36
36
|
})
|
|
37
37
|
});
|
|
38
38
|
}));
|
|
39
|
-
var
|
|
39
|
+
var node22 = makeGlobalNode({ service: Service19, layer: layer12, deps: [] });
|
|
40
40
|
function statements2(entries, organization) {
|
|
41
41
|
return [
|
|
42
42
|
...entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.policies ?? []).map((policy) => ({ ...policy, message: "Blocked by configuration policy" })),
|
|
@@ -50,4 +50,4 @@ function decision2(policies, action, resource) {
|
|
|
50
50
|
return policies.findLast((policy) => policy.action === action && match2(resource, policy.resource))?.effect ?? "allow";
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service19, layer12, node22, statements2, decision2, exports_managed_policy };
|
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./variant-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service64,
|
|
8
|
+
node67
|
|
9
|
+
} from "./variant-4p4gbhws.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./variant-maspj1v3.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./variant-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
@@ -20,8 +20,8 @@ __export(exports_ripgrep, {
|
|
|
20
20
|
Error: () => Error4,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service63,
|
|
24
|
+
node: () => node66
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/process";
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service63 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
63
|
var failure = (message, cause) => new Error4({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service64;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -92,7 +92,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
93
|
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service63.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node66 = makeLocationNode({ service: Service63, layer, deps: [node67, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export { Error4, InvalidPatternError2,
|
|
180
|
+
export { Error4, InvalidPatternError2, Service63, node66, exports_ripgrep };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./variant-c41wscbt.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service49,
|
|
3
|
+
node51
|
|
4
|
+
} from "./variant-6br1b9vz.js";
|
|
5
5
|
import {
|
|
6
6
|
Service82,
|
|
7
7
|
node86
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./variant-zewbgjb2.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service48,
|
|
11
|
+
node50
|
|
12
|
+
} from "./variant-2bpk9f3k.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./variant-zxq2ej10.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./variant-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/source.ts
|
|
22
22
|
var exports_source = {};
|
|
23
23
|
__export(exports_source, {
|
|
24
24
|
ConfigPluginSource: () => exports_source,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service4,
|
|
26
26
|
empty: () => empty2,
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
27
|
+
layer: () => layer5,
|
|
28
|
+
node: () => node6
|
|
29
29
|
});
|
|
30
30
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
31
31
|
import { Host } from "@opencode/plugin/host";
|
|
@@ -33,11 +33,11 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
33
33
|
import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
36
|
-
class
|
|
36
|
+
class Service4 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
39
|
-
const config = yield*
|
|
40
|
-
const watcher = yield*
|
|
38
|
+
var layer5 = Layer.effect(Service4, Effect.gen(function* () {
|
|
39
|
+
const config = yield* Service48;
|
|
40
|
+
const watcher = yield* Service49;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
42
|
const location = yield* Service82;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
@@ -58,7 +58,7 @@ var layer7 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
58
58
|
yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
return
|
|
61
|
+
return Service4.of({
|
|
62
62
|
operations: Effect.fn("ConfigPluginSource.operations")(function* () {
|
|
63
63
|
const entries = yield* config.entries();
|
|
64
64
|
const operations = yield* scan(fs, location, entries);
|
|
@@ -70,14 +70,14 @@ var layer7 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
70
70
|
})), Stream.fromPubSub(configuredChanges))
|
|
71
71
|
});
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node6 = makeLocationNode({
|
|
74
|
+
service: Service4,
|
|
75
|
+
layer: layer5,
|
|
76
|
+
deps: [node50, FSUtil.node, node51, node86]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
|
-
service:
|
|
80
|
-
layer: Layer.succeed(
|
|
79
|
+
service: Service4,
|
|
80
|
+
layer: Layer.succeed(Service4, Service4.of({
|
|
81
81
|
operations: () => Effect.succeed([]),
|
|
82
82
|
changes: () => Stream.never
|
|
83
83
|
})),
|
|
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
|
|
|
137
137
|
return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service4, layer5, node6, empty2, exports_source };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./variant-btfhnvjh.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageDecodeError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./variant-b3cx5dwc.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./variant-eaj1djv9.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./variant-es1vcfrp.js";
|
|
17
17
|
import {
|
|
18
18
|
initial2,
|
|
19
19
|
preview3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./variant-pyg4v0b6.js";
|
|
21
21
|
import {
|
|
22
22
|
compatible2,
|
|
23
23
|
isCheckpoint2,
|
|
24
24
|
validate2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./variant-4j4tgtq5.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./variant-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/session/history.ts
|
|
31
31
|
var exports_history = {};
|
|
@@ -35,7 +35,7 @@ __export(exports_history, {
|
|
|
35
35
|
entriesForRunner: () => entriesForRunner2,
|
|
36
36
|
firstUserMessage: () => firstUserMessage2,
|
|
37
37
|
latestCompaction: () => latestCompaction2,
|
|
38
|
-
load: () =>
|
|
38
|
+
load: () => load5,
|
|
39
39
|
preview: () => preview2
|
|
40
40
|
});
|
|
41
41
|
import { and, asc, desc, eq, gte, or, sql } from "drizzle-orm";
|
|
@@ -56,7 +56,7 @@ var messageEntries = Effect.fnUntraced(function* (db, sessionID, boundary) {
|
|
|
56
56
|
const native = entries.findLast((entry) => isCheckpoint2(entry.message));
|
|
57
57
|
return entries.filter((entry) => !(entry.message.type === "system" && native && entry.seq < native.seq) && replayable(entry.message, boundary));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var load5 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
|
|
60
60
|
return (yield* messageEntries(db, sessionID, boundary)).map((entry) => entry.message);
|
|
61
61
|
});
|
|
62
62
|
var entriesForRunner2 = Effect.fn("SessionHistory.entriesForRunner")(function* (db, sessionID, instructions, boundary) {
|
|
@@ -92,4 +92,4 @@ var firstUserMessage2 = Effect.fn("SessionHistory.firstUserMessage")(function* (
|
|
|
92
92
|
return message?.type === "user" ? message : undefined;
|
|
93
93
|
});
|
|
94
94
|
|
|
95
|
-
export { latestCompaction2, decodeMessageRow2,
|
|
95
|
+
export { latestCompaction2, decodeMessageRow2, load5, entriesForRunner2, preview2, firstUserMessage2, exports_history };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-g0knnnvb.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./variant-8zkgpeg7.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event18,
|
|
10
|
+
Service74
|
|
11
|
+
} from "./variant-ynry5ybj.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID10,
|
|
14
14
|
MethodID2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./variant-70zyjq8j.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID9,
|
|
18
18
|
mergeOverlay2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./variant-ce26274z.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
ID8,
|
|
22
22
|
VariantID2,
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info16
|
|
24
|
+
} from "./variant-hmf53ygj.js";
|
|
25
25
|
import {
|
|
26
26
|
success2,
|
|
27
27
|
error2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./variant-pjvnvgmy.js";
|
|
29
29
|
import {
|
|
30
30
|
get5
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./variant-54ma36ye.js";
|
|
32
32
|
import {
|
|
33
33
|
configuredSettings2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./variant-y0b9s196.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/chatgpt.ts
|
|
37
37
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -43,8 +43,8 @@ var issuer = "https://auth.openai.com";
|
|
|
43
43
|
var tokenURL = `${issuer}/api/accounts/oauth/token`;
|
|
44
44
|
var resource = "https://api.openai.com/v1";
|
|
45
45
|
var tokenSharingScope = "chatgpt.tokens.use.direct";
|
|
46
|
-
var providerID =
|
|
47
|
-
var integrationID =
|
|
46
|
+
var providerID = ID9.openai;
|
|
47
|
+
var integrationID = ID10.make("openai");
|
|
48
48
|
var methodID = MethodID2.make("chatgpt-token-sharing");
|
|
49
49
|
var modelCacheKey = (clientID) => `models:${clientID}`;
|
|
50
50
|
var fallbackModels = new Set([
|
|
@@ -180,7 +180,7 @@ var ChatGPTPlugin2 = define({
|
|
|
180
180
|
id: "opencode.provider.chatgpt",
|
|
181
181
|
effect: Effect.fn(function* (ctx) {
|
|
182
182
|
const bus = yield* Service85;
|
|
183
|
-
const credentials = yield*
|
|
183
|
+
const credentials = yield* Service74;
|
|
184
184
|
const loading = Semaphore.makeUnsafe(1);
|
|
185
185
|
let chatgpt;
|
|
186
186
|
let source;
|
|
@@ -195,7 +195,7 @@ var ChatGPTPlugin2 = define({
|
|
|
195
195
|
yield* ctx.integration.transform((editor) => {
|
|
196
196
|
editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
|
|
197
197
|
});
|
|
198
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
198
|
+
yield* Effect.forEach(yield* credentials.list(ID10.make("openai")), (entry) => {
|
|
199
199
|
const value = entry.value;
|
|
200
200
|
if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
|
|
201
201
|
return Effect.void;
|
|
@@ -268,7 +268,7 @@ var ChatGPTPlugin2 = define({
|
|
|
268
268
|
}
|
|
269
269
|
});
|
|
270
270
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
271
|
-
yield* bus.subscribe(
|
|
271
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
272
272
|
})
|
|
273
273
|
});
|
|
274
274
|
function headers(app) {
|
|
@@ -325,7 +325,7 @@ function deriveModels2(remote, existing) {
|
|
|
325
325
|
const found = byID.get(model.modelID);
|
|
326
326
|
return found ? [deriveModel(found, model)] : [];
|
|
327
327
|
}),
|
|
328
|
-
...remote.filter((model) => !known.has(
|
|
328
|
+
...remote.filter((model) => !known.has(ID8.make(model.slug))).map((model) => deriveModel(model, Info16.default(ID9.openai, ID8.make(model.slug))))
|
|
329
329
|
];
|
|
330
330
|
}
|
|
331
331
|
function deriveModel(remote, previous) {
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./variant-e81pay9y.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./variant-es1vcfrp.js";
|
|
9
9
|
import {
|
|
10
10
|
decodeMessageRow2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
load5
|
|
12
|
+
} from "./variant-ts8pmwjm.js";
|
|
13
13
|
import {
|
|
14
14
|
fromRow2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./variant-jn2j5c43.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./variant-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/store.ts
|
|
21
21
|
var exports_store = {};
|
|
22
22
|
__export(exports_store, {
|
|
23
23
|
ListInput: () => ListInput4,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service77,
|
|
25
25
|
SessionStore: () => exports_store,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node81
|
|
27
27
|
});
|
|
28
28
|
import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
|
|
29
29
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -38,6 +38,7 @@ var ListInputBase = {
|
|
|
38
38
|
limit: PositiveInt.pipe(Schema.optional),
|
|
39
39
|
order: Schema.Literals(["asc", "desc"]).pipe(Schema.optional),
|
|
40
40
|
parentID: Schema.NullOr(Session.ID).pipe(Schema.optional),
|
|
41
|
+
archived: Schema.Boolean.pipe(Schema.optional),
|
|
41
42
|
anchor: Session.ListAnchor.pipe(Schema.optional)
|
|
42
43
|
};
|
|
43
44
|
var ListDirectoryInput = Schema.Struct({
|
|
@@ -52,11 +53,11 @@ var ListProjectInput = Schema.Struct({
|
|
|
52
53
|
var ListAllInput = Schema.Struct(ListInputBase);
|
|
53
54
|
var ListInput4 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
|
|
54
55
|
|
|
55
|
-
class
|
|
56
|
+
class Service77 extends Context.Service()("@opencode/SessionStore") {
|
|
56
57
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
58
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
58
59
|
const { db } = yield* Service86;
|
|
59
|
-
return
|
|
60
|
+
return Service77.of({
|
|
60
61
|
get: Effect.fnUntraced(function* (sessionID) {
|
|
61
62
|
const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
|
|
62
63
|
return row ? fromRow2(row) : undefined;
|
|
@@ -79,6 +80,8 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
79
80
|
conditions.push(like(SessionTable2.title, `%${input.search}%`));
|
|
80
81
|
if (input.parentID !== undefined)
|
|
81
82
|
conditions.push(input.parentID === null ? isNull(SessionTable2.parent_id) : eq(SessionTable2.parent_id, input.parentID));
|
|
83
|
+
if (input.archived !== undefined)
|
|
84
|
+
conditions.push(input.archived ? isNotNull(SessionTable2.time_archived) : isNull(SessionTable2.time_archived));
|
|
82
85
|
if (input.anchor) {
|
|
83
86
|
conditions.push(order === "asc" ? or(gt(sortColumn, input.anchor.time), and(eq(sortColumn, input.anchor.time), gt(SessionTable2.id, input.anchor.id))) : or(lt(sortColumn, input.anchor.time), and(eq(sortColumn, input.anchor.time), lt(SessionTable2.id, input.anchor.id))));
|
|
84
87
|
}
|
|
@@ -98,7 +101,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
98
101
|
const rows = yield* (input.limit === undefined ? query.all() : query.limit(input.limit).all()).pipe(Effect.orDie);
|
|
99
102
|
return yield* Effect.forEach(direction === "previous" ? rows.toReversed() : rows, decodeMessageRow2);
|
|
100
103
|
}),
|
|
101
|
-
context: Effect.fn("SessionStore.context")((sessionID) =>
|
|
104
|
+
context: Effect.fn("SessionStore.context")((sessionID) => load5(db, sessionID, "latest")),
|
|
102
105
|
message: Effect.fn("SessionStore.message")(function* (messageID) {
|
|
103
106
|
const row = yield* db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
|
|
104
107
|
return row ? {
|
|
@@ -125,6 +128,6 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
125
128
|
})
|
|
126
129
|
});
|
|
127
130
|
}));
|
|
128
|
-
var
|
|
131
|
+
var node81 = makeGlobalNode({ service: Service77, layer, deps: [node90] });
|
|
129
132
|
|
|
130
|
-
export { ListInput4,
|
|
133
|
+
export { ListInput4, Service77, node81, exports_store };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service48
|
|
4
|
+
} from "./variant-2bpk9f3k.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./variant-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin46,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -19,10 +19,10 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin46 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service48;
|
|
26
26
|
const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
|
|
27
27
|
const warming = latest2(yield* config.entries(), "warming");
|
|
28
28
|
if (!warming)
|
|
@@ -96,4 +96,4 @@ var Plugin16 = define({
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { Plugin46, exports_warming };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./variant-hgz4x7wa.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./variant-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-8zkgpeg7.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./variant-zewbgjb2.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service34
|
|
10
|
+
} from "./variant-mc9a8anj.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./variant-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
CommandPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_command2 = {};
|
|
17
|
+
__export(exports_command2, {
|
|
18
|
+
CommandPlugin: () => exports_command2,
|
|
19
|
+
Plugin: () => Plugin42
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin42 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
199
|
const location = yield* Service82;
|
|
200
|
-
const mcp = yield*
|
|
200
|
+
const mcp = yield* Service34;
|
|
201
201
|
const bus = yield* Service85;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin42, exports_command2 };
|