@opencode/core 0.0.0-dev-19975 → 0.0.0-dev-19977
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 +78 -78
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +89 -89
- package/dist/app.js +7 -7
- package/dist/bus.js +68 -68
- package/dist/chunks/{location-services-pmr4s4kc.js → vcs-00z3vp5f.js} +4 -4
- package/dist/chunks/{location-services-y3drazew.js → vcs-026mxvrw.js} +24 -24
- package/dist/chunks/{location-services-w4b82h60.js → vcs-02egfabs.js} +11 -11
- package/dist/chunks/{location-services-ae7n2nze.js → vcs-04zx5mpa.js} +1 -1
- package/dist/chunks/{location-services-6w1c0kqr.js → vcs-0b9vs59q.js} +1 -1
- package/dist/chunks/{location-services-d1za1ksq.js → vcs-0csvndr3.js} +3 -3
- package/dist/chunks/{location-services-qhebqpkw.js → vcs-0cvxc6ms.js} +39 -39
- package/dist/chunks/{location-services-c6vhszhr.js → vcs-0gyx6ezr.js} +16 -16
- package/dist/chunks/{location-services-gk4m79v4.js → vcs-0mm9aq32.js} +18 -18
- package/dist/chunks/{location-services-1t2khamf.js → vcs-0p47j88a.js} +11 -11
- package/dist/chunks/{location-services-0paq2nw3.js → vcs-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-services-0q0f95c6.js → vcs-0q0f95c6.js} +1 -1
- package/dist/chunks/{location-services-7nqrqxkr.js → vcs-14604q16.js} +25 -25
- package/dist/chunks/{location-services-4qf6cv5v.js → vcs-1571dsgn.js} +12 -12
- package/dist/chunks/{location-services-sej7e0cf.js → vcs-18e56dsp.js} +4 -4
- package/dist/chunks/{location-services-1dazxqgg.js → vcs-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-services-f2313ze9.js → vcs-1enqjbtj.js} +7 -7
- package/dist/chunks/{location-services-7m0tw5w3.js → vcs-1gx19wx1.js} +10 -10
- package/dist/chunks/{location-services-9tadwx83.js → vcs-1scs63j0.js} +15 -15
- package/dist/chunks/{location-services-0bsrjas3.js → vcs-1wy7xpcm.js} +9 -9
- package/dist/chunks/{location-services-3qj11n1s.js → vcs-21jmns5z.js} +31 -31
- package/dist/chunks/{location-services-21r38tys.js → vcs-21r38tys.js} +1 -1
- package/dist/chunks/{location-services-a12vw9wn.js → vcs-22a20jna.js} +31 -31
- package/dist/chunks/{location-services-2402vzrj.js → vcs-2402vzrj.js} +1 -1
- package/dist/chunks/{location-services-2a5m3afh.js → vcs-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-services-177v4jr3.js → vcs-2m91t0br.js} +125 -125
- package/dist/chunks/{location-services-t2g29g87.js → vcs-2n0f0xad.js} +20 -20
- package/dist/chunks/{location-services-t60gdekx.js → vcs-2ndbjpj7.js} +2 -2
- package/dist/chunks/{location-services-ns2wmxy1.js → vcs-31a459na.js} +11 -11
- package/dist/chunks/{location-services-88y1fzsq.js → vcs-31ckz9nn.js} +14 -14
- package/dist/chunks/{location-services-vk0b90t9.js → vcs-31dgsdk7.js} +9 -9
- package/dist/chunks/{location-services-bx73qnaz.js → vcs-34d507gh.js} +30 -30
- package/dist/chunks/{location-services-35gsk47f.js → vcs-35qq722n.js} +7 -7
- package/dist/chunks/{location-services-8hn3mr47.js → vcs-36k6dezp.js} +13 -13
- package/dist/chunks/{location-services-z6489t8s.js → vcs-3790xwfd.js} +20 -20
- package/dist/chunks/{location-services-t0fxg8b9.js → vcs-37s12vcn.js} +5 -5
- package/dist/chunks/{location-services-s26hbv8p.js → vcs-3ewed21c.js} +4 -4
- package/dist/chunks/{location-services-3fc6dm20.js → vcs-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-services-3hepkmqq.js → vcs-3hepkmqq.js} +1 -1
- package/dist/chunks/vcs-3p71wzhx.js +252 -0
- package/dist/chunks/{location-services-dkt3kj3m.js → vcs-3qjhd3zm.js} +14 -14
- package/dist/chunks/{location-services-3smtnn6g.js → vcs-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-services-3tvqynh2.js → vcs-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-services-ybsvey3q.js → vcs-47r4vyk3.js} +8 -8
- package/dist/chunks/{location-services-ms4tmmwz.js → vcs-4c8cjtxr.js} +8 -8
- package/dist/chunks/{location-services-j333e51k.js → vcs-4fp0tc5q.js} +20 -20
- package/dist/chunks/{location-services-d3m1rxj3.js → vcs-4mj78ng4.js} +1 -1
- package/dist/chunks/{location-services-nf9mvk43.js → vcs-4s7kcajh.js} +12 -12
- package/dist/chunks/{location-services-mfqp6xfm.js → vcs-56gdpj1q.js} +6 -6
- package/dist/chunks/{location-services-57ez7d0k.js → vcs-57ez7d0k.js} +2 -2
- package/dist/chunks/{location-services-qjqrezts.js → vcs-5b5g75gf.js} +8 -8
- package/dist/chunks/{location-services-5c0f1prt.js → vcs-5c0f1prt.js} +1 -1
- package/dist/chunks/{location-services-5daktx2q.js → vcs-5daktx2q.js} +1 -1
- package/dist/chunks/{location-services-8xea18f0.js → vcs-5g96j2vd.js} +8 -8
- package/dist/chunks/{location-services-xv5dzxpm.js → vcs-5sb1zc5g.js} +21 -21
- package/dist/chunks/{location-services-5t3nmthw.js → vcs-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-services-1391s5qk.js → vcs-5xjstr01.js} +14 -14
- package/dist/chunks/{location-services-7bx6fbd3.js → vcs-5ypy0aps.js} +8 -8
- package/dist/chunks/{location-services-pndcjns4.js → vcs-5zdtcgy0.js} +19 -19
- package/dist/chunks/{location-services-c1hrrqdg.js → vcs-5zr8nydg.js} +32 -32
- package/dist/chunks/vcs-619r8v3y.js +18 -0
- package/dist/chunks/{location-services-hfmbhb0v.js → vcs-636n1fx9.js} +30 -30
- package/dist/chunks/{location-services-sq2tgyxc.js → vcs-65gfcbyz.js} +31 -31
- package/dist/chunks/{location-services-669tq793.js → vcs-669tq793.js} +1 -1
- package/dist/chunks/{location-services-dcbj84cq.js → vcs-6mm913p5.js} +4 -4
- package/dist/chunks/{location-services-6msgmcgs.js → vcs-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-services-7y0nnkh8.js → vcs-6mwa2s17.js} +7 -7
- package/dist/chunks/{location-services-ttg22typ.js → vcs-6vx8265g.js} +21 -21
- package/dist/chunks/{location-services-9ez4xn4m.js → vcs-6xyj4q8a.js} +20 -20
- package/dist/chunks/{location-services-c2zb4129.js → vcs-70rtrpe7.js} +13 -13
- package/dist/chunks/{location-services-8vfq8kmg.js → vcs-73sq42y9.js} +4 -4
- package/dist/chunks/{location-services-rf80fxgj.js → vcs-762r0j46.js} +5 -5
- package/dist/chunks/{location-services-2ewf845r.js → vcs-77n73x0z.js} +15 -15
- package/dist/chunks/{location-services-7bmhse3q.js → vcs-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-services-089kk14c.js → vcs-7f4kevra.js} +28 -28
- package/dist/chunks/{location-services-ze3x53x4.js → vcs-7hgdmm2q.js} +7 -7
- package/dist/chunks/{location-services-e3e8kjz0.js → vcs-7jmzt1bp.js} +15 -15
- package/dist/chunks/{location-services-e6pjtdvq.js → vcs-7pej1m6n.js} +6 -6
- package/dist/chunks/{location-services-ehbx4wzj.js → vcs-7z1m1xqn.js} +6 -6
- package/dist/chunks/{location-services-9jgkxjne.js → vcs-88b3bgew.js} +22 -22
- package/dist/chunks/{location-services-8d7r5vzw.js → vcs-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-services-5nbw05k5.js → vcs-8g3cnzmf.js} +13 -13
- package/dist/chunks/{location-services-8p4f9s12.js → vcs-8p4f9s12.js} +2 -2
- package/dist/chunks/{location-services-shas0zdn.js → vcs-8vbzfqqc.js} +42 -42
- package/dist/chunks/{location-services-cq67rvxm.js → vcs-91p43skh.js} +3 -3
- package/dist/chunks/{location-services-z8t3qsap.js → vcs-93pp14as.js} +11 -11
- package/dist/chunks/{location-services-tjfve502.js → vcs-9c1r8673.js} +8 -8
- package/dist/chunks/{location-services-a1bz86dw.js → vcs-a1bz86dw.js} +3 -3
- package/dist/chunks/{location-services-6hjx5zpb.js → vcs-a3ftg8j6.js} +9 -9
- package/dist/chunks/{location-services-nng2ktcm.js → vcs-a3r4dcrj.js} +2 -2
- package/dist/chunks/{location-services-ba72fspk.js → vcs-a4gexze1.js} +3 -3
- package/dist/chunks/{location-services-aaet6srn.js → vcs-aaet6srn.js} +2 -2
- package/dist/chunks/{location-services-49qmw5p2.js → vcs-aee8h6x3.js} +15 -15
- package/dist/chunks/{location-services-xh40qn80.js → vcs-arcxrr1g.js} +22 -22
- package/dist/chunks/{location-services-kw0g404m.js → vcs-at3m1tvy.js} +15 -15
- package/dist/chunks/{location-services-n5a93a7r.js → vcs-b4fb1g87.js} +6 -6
- package/dist/chunks/{location-services-b6gygkdw.js → vcs-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-services-dvh6p90y.js → vcs-bjtgrew5.js} +38 -38
- package/dist/chunks/{location-services-bw9zjykr.js → vcs-bw9zjykr.js} +1 -1
- package/dist/chunks/{location-services-bt5qab31.js → vcs-bzmv9v1t.js} +23 -23
- package/dist/chunks/{location-services-m5jn93st.js → vcs-c3065vva.js} +3 -3
- package/dist/chunks/{location-services-pb3rzm1n.js → vcs-c9jrejd8.js} +19 -19
- package/dist/chunks/{location-services-9yvjr51e.js → vcs-ca5qybfk.js} +6 -6
- package/dist/chunks/{location-services-g190xswt.js → vcs-cavr175a.js} +4 -4
- package/dist/chunks/{location-services-nkydbpf6.js → vcs-ce4c0a8t.js} +7 -7
- package/dist/chunks/{location-services-cfpkc3c9.js → vcs-cfpkc3c9.js} +2 -2
- package/dist/chunks/{location-services-hfdr1yjj.js → vcs-cq37gk0t.js} +4 -4
- package/dist/chunks/{location-services-kecwm5gn.js → vcs-cr17rqga.js} +2 -2
- package/dist/chunks/{location-services-r2m716tb.js → vcs-d4he2qe1.js} +9 -9
- package/dist/chunks/{location-services-92k45pvj.js → vcs-d7r387ef.js} +6 -6
- package/dist/chunks/{location-services-2csmxjzx.js → vcs-dedh1m42.js} +25 -25
- package/dist/chunks/{location-services-5mra5t95.js → vcs-dgpaqazm.js} +6 -6
- package/dist/chunks/{location-services-m9tmsx7y.js → vcs-dnrd96kf.js} +17 -17
- package/dist/chunks/{location-services-nyhmyhfn.js → vcs-dpewnr59.js} +9 -9
- package/dist/chunks/{location-services-g2qbz7ad.js → vcs-e1j0qnan.js} +3 -3
- package/dist/chunks/{location-services-jqnpsya4.js → vcs-e6fmpsdj.js} +4 -4
- package/dist/chunks/{location-services-jbh1cmae.js → vcs-ea198e8q.js} +18 -18
- package/dist/chunks/{location-services-b7cs46qb.js → vcs-ebfttpxm.js} +11 -11
- package/dist/chunks/{location-services-v2kc4m29.js → vcs-ebt3yecv.js} +14 -14
- package/dist/chunks/{location-services-ef5x83kb.js → vcs-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-services-bh9mdgtf.js → vcs-eg9s2d14.js} +6 -6
- package/dist/chunks/{location-services-gpf1akt4.js → vcs-ehyhzm66.js} +8 -8
- package/dist/chunks/{location-services-5afb82kq.js → vcs-ejsjeqcn.js} +6 -6
- package/dist/chunks/{location-services-0916jsyy.js → vcs-eq9pbqr9.js} +8 -8
- package/dist/chunks/{location-services-erw5rpbs.js → vcs-erw5rpbs.js} +2 -2
- package/dist/chunks/{location-services-r2tsv3wg.js → vcs-esp4rdvc.js} +11 -11
- package/dist/chunks/{location-services-ghqhrgyn.js → vcs-esww11we.js} +14 -14
- package/dist/chunks/{location-services-etq0c3wd.js → vcs-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-services-xmfmtq35.js → vcs-eveqffnf.js} +18 -18
- package/dist/chunks/{location-services-bmepjbt2.js → vcs-ewtse9cq.js} +17 -17
- package/dist/chunks/{location-services-nz5501ch.js → vcs-f0xae989.js} +15 -15
- package/dist/chunks/{location-services-h03jhrmm.js → vcs-f47ks197.js} +29 -29
- package/dist/chunks/{location-services-jejs7rer.js → vcs-f501bh8q.js} +1 -1
- package/dist/chunks/{location-services-710qyn68.js → vcs-f6mdpyt7.js} +47 -47
- package/dist/chunks/{location-services-8c5kjqks.js → vcs-f7f62ppg.js} +37 -37
- package/dist/chunks/{location-services-f828m53h.js → vcs-f828m53h.js} +2 -2
- package/dist/chunks/{location-services-f5qy5xjn.js → vcs-fmb18yvb.js} +23 -23
- package/dist/chunks/{location-services-3a6re68j.js → vcs-fng9e0je.js} +6 -6
- package/dist/chunks/{location-services-fxbjtjnd.js → vcs-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-services-g8d3gcyj.js → vcs-g8d3gcyj.js} +1 -1
- package/dist/chunks/{location-services-ckfwh0ft.js → vcs-g8jasmdt.js} +8 -8
- package/dist/chunks/{location-services-gd4qta3r.js → vcs-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-services-ygx0r1a5.js → vcs-gkpeh6zm.js} +11 -11
- package/dist/chunks/{location-services-260rstwk.js → vcs-gqf37yrc.js} +4 -4
- package/dist/chunks/{location-services-tybbf50r.js → vcs-grhn0qhx.js} +3 -3
- package/dist/chunks/{location-services-p3rd9cb6.js → vcs-gs4tkc79.js} +8 -8
- package/dist/chunks/{location-services-0673vfe6.js → vcs-gtmm17wr.js} +24 -24
- package/dist/chunks/{location-services-gv6a8nnw.js → vcs-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-services-ak1c3jvj.js → vcs-h1smzm8e.js} +7 -7
- package/dist/chunks/{location-services-60vjg1t9.js → vcs-h3emgna1.js} +7 -7
- package/dist/chunks/{location-services-h6r3nrb9.js → vcs-h6r3nrb9.js} +1 -1
- package/dist/chunks/{location-services-h6vf3j39.js → vcs-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-services-e0mw0c73.js → vcs-hh877wqm.js} +13 -13
- package/dist/chunks/{location-services-d0yjwtn3.js → vcs-hn09sy8b.js} +2 -2
- package/dist/chunks/{location-services-qjnxxf51.js → vcs-hnr5yq9h.js} +5 -5
- package/dist/chunks/{location-services-2s3mnh9j.js → vcs-hy8nah29.js} +35 -35
- package/dist/chunks/{location-services-jtrztkj0.js → vcs-j0c0jrrq.js} +9 -9
- package/dist/chunks/{location-services-j56e64zr.js → vcs-j56e64zr.js} +1 -1
- package/dist/chunks/{location-services-r1e1bnxz.js → vcs-ja7awhpc.js} +3 -3
- package/dist/chunks/{location-services-7w99qc9d.js → vcs-jexxy024.js} +3 -3
- package/dist/chunks/{location-services-4kqqwhxe.js → vcs-jfmt6x2y.js} +10 -10
- package/dist/chunks/{location-services-c95gceag.js → vcs-jg9pn0ks.js} +29 -29
- package/dist/chunks/{location-services-txem1jx5.js → vcs-jqgys1dy.js} +10 -10
- package/dist/chunks/{location-services-d4q3eqbp.js → vcs-jspmbzq8.js} +9 -9
- package/dist/chunks/{location-services-qwjmgwmn.js → vcs-k1gkpfdk.js} +8 -8
- package/dist/chunks/{location-services-1qbned4j.js → vcs-kbxs9t8f.js} +11 -11
- package/dist/chunks/{location-services-3q1d996h.js → vcs-krjf62r2.js} +6 -6
- package/dist/chunks/{location-services-3yzsbtk5.js → vcs-krw5nhfk.js} +19 -19
- package/dist/chunks/{location-services-6mwdz5rr.js → vcs-kt8hxg6p.js} +14 -14
- package/dist/chunks/{location-services-m3fdjcah.js → vcs-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-services-m9w0rfyh.js → vcs-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-services-n54j8dy8.js → vcs-mgj4p8m4.js} +12 -12
- package/dist/chunks/{location-services-ch4t865s.js → vcs-mm5kxf07.js} +8 -8
- package/dist/chunks/{location-services-fkjmw100.js → vcs-mmr7bq34.js} +4 -4
- package/dist/chunks/{location-services-mckr61m4.js → vcs-mn77zb4p.js} +65 -65
- package/dist/chunks/{location-services-hfhbff15.js → vcs-mp0zv96f.js} +13 -13
- package/dist/chunks/{location-services-7hfd3ta9.js → vcs-mqxthytd.js} +11 -11
- package/dist/chunks/{location-services-702grjpm.js → vcs-mxqk8fax.js} +8 -8
- package/dist/chunks/{location-services-t84b0cnn.js → vcs-n2havasm.js} +15 -15
- package/dist/chunks/{location-services-kxvn6n2f.js → vcs-n64bhgvh.js} +11 -11
- package/dist/chunks/{location-services-jspdrsne.js → vcs-ncne3zzx.js} +20 -20
- package/dist/chunks/{location-services-z568v2bz.js → vcs-nehsc8qp.js} +10 -10
- package/dist/chunks/{location-services-7w3s9kd0.js → vcs-nkcwakxz.js} +6 -6
- package/dist/chunks/{location-services-rhafb4aa.js → vcs-nq7qbqzc.js} +9 -9
- package/dist/chunks/{location-services-kg04d60s.js → vcs-nw28za41.js} +72 -72
- package/dist/chunks/{location-services-w0rp7m49.js → vcs-nxf13baa.js} +11 -11
- package/dist/chunks/{location-services-k3c624dm.js → vcs-nzks3jc8.js} +3 -3
- package/dist/chunks/{location-services-tbz0fdvh.js → vcs-p28j5sbe.js} +5 -5
- package/dist/chunks/{location-services-yt0fqk68.js → vcs-p44d8wdy.js} +5 -5
- package/dist/chunks/{location-services-3tsvntwc.js → vcs-p5tk2x4g.js} +2 -2
- package/dist/chunks/{location-services-zm85d2ry.js → vcs-pdx9bhth.js} +14 -14
- package/dist/chunks/{location-services-g0445xdp.js → vcs-phstrbs2.js} +8 -8
- package/dist/chunks/{location-services-pjvnvgmy.js → vcs-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-services-pknna89w.js → vcs-pknna89w.js} +1 -1
- package/dist/chunks/{location-services-67sm614f.js → vcs-pkr90xzg.js} +11 -11
- package/dist/chunks/{location-services-e09tse5t.js → vcs-pxp43rx9.js} +15 -15
- package/dist/chunks/{location-services-104q0bh7.js → vcs-pyds7pwm.js} +1 -1
- package/dist/chunks/{location-services-z34bqxfp.js → vcs-pzk07e2t.js} +24 -24
- package/dist/chunks/{location-services-zzxgczqy.js → vcs-q29hs5tk.js} +24 -24
- package/dist/chunks/{location-services-4hcc7af7.js → vcs-q6f7adkm.js} +28 -28
- package/dist/chunks/{location-services-698t161c.js → vcs-qa1eq3gf.js} +3 -3
- package/dist/chunks/{location-services-b7fx4td0.js → vcs-qagsqzqe.js} +16 -16
- package/dist/chunks/vcs-qapv375x.js +4 -0
- package/dist/chunks/{location-services-dv2avwe4.js → vcs-qdpmgmct.js} +8 -8
- package/dist/chunks/{location-services-qgn6gcr1.js → vcs-qgn6gcr1.js} +1 -1
- package/dist/chunks/{location-services-hyrz6ndr.js → vcs-qmhk62hb.js} +12 -12
- package/dist/chunks/{location-services-598rh06g.js → vcs-qnre3gvs.js} +20 -20
- package/dist/chunks/{location-services-drwq78ky.js → vcs-qqeeq2t9.js} +7 -7
- package/dist/chunks/{location-services-qsdy395h.js → vcs-qsdy395h.js} +1 -1
- package/dist/chunks/{location-services-2r6cz3cw.js → vcs-qw1bjgpz.js} +25 -25
- package/dist/chunks/{location-services-q853cmgp.js → vcs-qx03bd0a.js} +11 -11
- package/dist/chunks/{location-services-mvfsc1pv.js → vcs-r5x6zcsm.js} +3 -3
- package/dist/chunks/{location-services-r8xr0va3.js → vcs-r8xr0va3.js} +1 -1
- package/dist/chunks/{location-services-2a33v3px.js → vcs-ra3bs4fs.js} +17 -17
- package/dist/chunks/{location-services-jymg4yzt.js → vcs-raj0fffq.js} +28 -28
- package/dist/chunks/{location-services-4qmfr7sb.js → vcs-rbrcjd28.js} +17 -17
- package/dist/chunks/{location-services-19ppwr7v.js → vcs-rd68j2my.js} +5 -5
- package/dist/chunks/{location-services-rdw6cm16.js → vcs-rdw6cm16.js} +1 -1
- package/dist/chunks/vcs-rgevtwgf.js +26 -0
- package/dist/chunks/{location-services-s8d7rejh.js → vcs-rhjbct0v.js} +4 -4
- package/dist/chunks/{location-services-aqnpacrp.js → vcs-rvmg0ahe.js} +1 -1
- package/dist/chunks/{location-services-rwm5vee1.js → vcs-rwm5vee1.js} +1 -1
- package/dist/chunks/{location-services-maj04dgt.js → vcs-s8a7esdq.js} +10 -10
- package/dist/chunks/{location-services-r9eq9xg7.js → vcs-sj4zt4zs.js} +5 -5
- package/dist/chunks/{location-services-z811gd5h.js → vcs-sk41x0qc.js} +16 -16
- package/dist/chunks/{location-services-tazgh4e4.js → vcs-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-services-89znhe33.js → vcs-tcezcvh9.js} +4 -4
- package/dist/chunks/{location-services-tdstcens.js → vcs-tdstcens.js} +1 -1
- package/dist/chunks/{location-services-6wqjg4s1.js → vcs-tdvtfxdy.js} +8 -8
- package/dist/chunks/{location-services-tvtrv512.js → vcs-tvtrv512.js} +1 -1
- package/dist/chunks/{location-services-tnr69bnh.js → vcs-tzjwyy45.js} +3 -3
- package/dist/chunks/{location-services-t6gvky2f.js → vcs-v00wb7q9.js} +44 -44
- package/dist/chunks/{location-services-b9dnjnx2.js → vcs-ve9gaad2.js} +2 -2
- package/dist/chunks/{location-services-veqvce7d.js → vcs-veqvce7d.js} +1 -1
- package/dist/chunks/{location-services-y16x9bsh.js → vcs-vm6hw26a.js} +8 -8
- package/dist/chunks/{location-services-j9pw51p3.js → vcs-vmact3ma.js} +26 -26
- package/dist/chunks/{location-services-vy4zg7qh.js → vcs-vy4zg7qh.js} +5 -5
- package/dist/chunks/{location-services-vzcthcp8.js → vcs-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-services-dttg7nxd.js → vcs-w12svhvm.js} +41 -41
- package/dist/chunks/{location-services-p7we1hrz.js → vcs-w3aqdajt.js} +10 -10
- package/dist/chunks/{location-services-7ny34fh5.js → vcs-w3nmmr0q.js} +2 -2
- package/dist/chunks/{location-services-w3wsvvr9.js → vcs-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-services-w6dttbvj.js → vcs-w6dttbvj.js} +3 -3
- package/dist/chunks/{location-services-wd87259q.js → vcs-wd87259q.js} +1 -1
- package/dist/chunks/vcs-wgtgqmgr.js +503 -0
- package/dist/chunks/{location-services-b92k507q.js → vcs-wh2pd5f7.js} +83 -83
- package/dist/chunks/{location-services-a2ymm1g0.js → vcs-wq8d43zf.js} +23 -23
- package/dist/chunks/{location-services-srek7m3q.js → vcs-wqys0xwa.js} +13 -13
- package/dist/chunks/{location-services-kfkn95kh.js → vcs-wrka22zr.js} +20 -20
- package/dist/chunks/{location-services-jkdaszze.js → vcs-wv50yr5g.js} +39 -39
- package/dist/chunks/{location-services-x1ezjp6w.js → vcs-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-services-czy45c4v.js → vcs-x2rjr4y2.js} +23 -23
- package/dist/chunks/{location-services-x8cycxf4.js → vcs-x8cycxf4.js} +1 -1
- package/dist/chunks/{location-services-kffet6q6.js → vcs-xcckkd32.js} +24 -24
- package/dist/chunks/{location-services-rdshk97x.js → vcs-xd4kzs7n.js} +6 -6
- package/dist/chunks/{location-services-63kpjth9.js → vcs-xdrba4jw.js} +9 -9
- package/dist/chunks/{location-services-fpx7htvs.js → vcs-xfja6ssk.js} +12 -12
- package/dist/chunks/{location-services-vkwyn1a3.js → vcs-xp7fz8rg.js} +24 -24
- package/dist/chunks/{location-services-y12xfdj2.js → vcs-xta7qcpj.js} +11 -11
- package/dist/chunks/{location-services-y1fvbwt7.js → vcs-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-services-61twgykx.js → vcs-y2swddp5.js} +10 -10
- package/dist/chunks/{location-services-fswwm3e4.js → vcs-y307swq8.js} +12 -12
- package/dist/chunks/{location-services-8yfge7sy.js → vcs-y30evbxf.js} +4 -4
- package/dist/chunks/{location-services-qgfymp7z.js → vcs-y36f9vsb.js} +16 -16
- package/dist/chunks/{location-services-y71avatq.js → vcs-y71avatq.js} +1 -1
- package/dist/chunks/{location-services-k9avtbwf.js → vcs-ybhbtxjg.js} +3 -3
- package/dist/chunks/{location-services-0akatdbs.js → vcs-yf18nbwz.js} +27 -27
- package/dist/chunks/{location-services-1bdsjmsw.js → vcs-ypk83nm1.js} +4 -4
- package/dist/chunks/{location-services-4t3gmr2n.js → vcs-ypyq0fq8.js} +3 -3
- package/dist/chunks/{location-services-yrhqyw5v.js → vcs-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-services-yrznvahk.js → vcs-yrznvahk.js} +2 -2
- package/dist/chunks/{location-services-npwy0cf6.js → vcs-yt3hy1g9.js} +5 -5
- package/dist/chunks/{location-services-0t9wd588.js → vcs-yvvvp4gn.js} +8 -8
- package/dist/chunks/{location-services-w3zm2e9m.js → vcs-yzrxx1hs.js} +44 -44
- package/dist/chunks/{location-services-z0bkrqjs.js → vcs-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-services-z63w68vq.js → vcs-z63w68vq.js} +2 -2
- package/dist/chunks/{location-services-ay0drwcf.js → vcs-z7syg6j7.js} +25 -25
- package/dist/chunks/{location-services-hj81kgmb.js → vcs-zamycwzx.js} +18 -18
- package/dist/chunks/{location-services-zpjh97gf.js → vcs-ze01d2sn.js} +33 -33
- package/dist/chunks/{location-services-zeh9ct20.js → vcs-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-services-zhq6vg7a.js → vcs-zhq6vg7a.js} +1 -1
- package/dist/chunks/{location-services-zr2ceqn5.js → vcs-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-services-yy7ajxpj.js → vcs-zvdcdv1n.js} +29 -29
- package/dist/chunks/{location-services-zxq2ej10.js → vcs-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- 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 +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +120 -120
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +129 -129
- 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 +82 -82
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +88 -88
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +224 -224
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +107 -107
- package/dist/form.js +79 -79
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +104 -104
- 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 +90 -90
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +1 -1
- package/dist/instance.js +356 -356
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +79 -79
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +128 -128
- 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 +107 -107
- package/dist/mcp/instructions.js +125 -125
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +95 -95
- package/dist/model.js +93 -93
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +75 -75
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +102 -102
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +83 -83
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/compaction.js +130 -130
- 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 +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +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 +121 -121
- 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 +73 -73
- 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 +350 -350
- 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 +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +92 -92
- 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 +88 -88
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- 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 +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +119 -119
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +81 -81
- 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 +1 -1
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +1 -1
- 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 +169 -169
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +5 -5
- 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 +9 -9
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +90 -90
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +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 +121 -121
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +113 -113
- 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 +111 -111
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- 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 +1 -1
- 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 +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +1 -1
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +69 -69
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/location-services-75xmh6z1.js +0 -503
- package/dist/chunks/location-services-gbadjzag.js +0 -4
- package/dist/chunks/location-services-mvtmfmfb.js +0 -26
- package/dist/chunks/location-services-pn6h1b1r.js +0 -252
- package/dist/chunks/location-services-v1faaxn9.js +0 -18
- /package/dist/chunks/{location-services-0qkdqm5v.js → vcs-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-services-0zkw76rk.js → vcs-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-services-17cy0kzp.js → vcs-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-services-1cnp2v09.js → vcs-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-services-1kg9ymc8.js → vcs-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-services-24dcb14g.js → vcs-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-services-2710q6r3.js → vcs-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-services-2axfhc9x.js → vcs-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-services-2c3vjs8z.js → vcs-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-services-359p4xyc.js → vcs-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-services-3asan66x.js → vcs-3asan66x.js} +0 -0
- /package/dist/chunks/{location-services-3v8g72cx.js → vcs-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-services-3w5fmr99.js → vcs-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-services-3wcehsnq.js → vcs-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-services-43n2bw4t.js → vcs-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-services-4knz6hnm.js → vcs-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-services-4vcrnpx2.js → vcs-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-services-4y7fprxs.js → vcs-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-services-53557ph1.js → vcs-53557ph1.js} +0 -0
- /package/dist/chunks/{location-services-550bvhaj.js → vcs-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-services-5qd3pb7m.js → vcs-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{location-services-6prwharc.js → vcs-6prwharc.js} +0 -0
- /package/dist/chunks/{location-services-7akdwqpd.js → vcs-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-services-7m9af43g.js → vcs-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-services-822emrt2.js → vcs-822emrt2.js} +0 -0
- /package/dist/chunks/{location-services-88xbtdfr.js → vcs-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-services-8n3pysct.js → vcs-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-services-922hggd3.js → vcs-922hggd3.js} +0 -0
- /package/dist/chunks/{location-services-9a4afbnw.js → vcs-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-services-9rqn6x4v.js → vcs-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-services-a6k6eb26.js → vcs-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-services-af5trqkr.js → vcs-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-services-afrmfg78.js → vcs-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-services-aqzs7mqg.js → vcs-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-services-atq7p7m5.js → vcs-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-services-bkyjaxrp.js → vcs-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-services-bmr6ed5q.js → vcs-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-services-cf4snx6d.js → vcs-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-services-cvy3z8tj.js → vcs-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-services-d9fn303g.js → vcs-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-services-d9jj8t3e.js → vcs-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-services-dajrwvna.js → vcs-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-services-dap0rakb.js → vcs-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-services-df08tz66.js → vcs-df08tz66.js} +0 -0
- /package/dist/chunks/{location-services-dy18nga0.js → vcs-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-services-e5kj55wp.js → vcs-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-services-e73j6tqm.js → vcs-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-services-ec1grn59.js → vcs-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-services-eh3zwz77.js → vcs-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-services-emrn6kk6.js → vcs-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-services-f0mxakyp.js → vcs-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-services-f6n9ztr4.js → vcs-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-services-faypxj3z.js → vcs-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-services-fd410y7t.js → vcs-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-services-fxgpk5d8.js → vcs-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-services-g4wezp1m.js → vcs-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-services-g86h250q.js → vcs-g86h250q.js} +0 -0
- /package/dist/chunks/{location-services-gebd4c9n.js → vcs-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-services-gftt206x.js → vcs-gftt206x.js} +0 -0
- /package/dist/chunks/{location-services-hjbc5kem.js → vcs-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-services-hk9envan.js → vcs-hk9envan.js} +0 -0
- /package/dist/chunks/{location-services-j2ntwpah.js → vcs-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-services-j5zkgpj8.js → vcs-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-services-jjkms2e6.js → vcs-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-services-jr7sbwjy.js → vcs-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-services-jwfs4k6c.js → vcs-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-services-jzg6c2d5.js → vcs-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-services-mp448xyj.js → vcs-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-services-msx8hqn2.js → vcs-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-services-n05xt0ee.js → vcs-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-services-n3j8tn72.js → vcs-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-services-njntx4h6.js → vcs-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-services-q3sfg36h.js → vcs-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-services-q74kybfr.js → vcs-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-services-qaymkmh1.js → vcs-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-services-qb87gjwd.js → vcs-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-services-qfa1cgps.js → vcs-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-services-qg3g05ea.js → vcs-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-services-qrg20bc0.js → vcs-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-services-rcb2kzg1.js → vcs-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-services-sdp7kfr6.js → vcs-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-services-sk3qaz4a.js → vcs-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-services-ssg3fenm.js → vcs-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-services-twg0f83k.js → vcs-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-services-w803qqfp.js → vcs-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-services-wc3fc9cn.js → vcs-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-services-wer8tq1h.js → vcs-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-services-wtztk69x.js → vcs-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-services-x0ckcb58.js → vcs-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-services-x61499pn.js → vcs-x61499pn.js} +0 -0
- /package/dist/chunks/{location-services-y44na4kk.js → vcs-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-services-y8cydn3q.js → vcs-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-services-y8f7s663.js → vcs-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-services-ygaqb7jw.js → vcs-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-services-ym463w8f.js → vcs-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-services-z9919s4g.js → vcs-z9919s4g.js} +0 -0
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service11,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node13
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service11 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node13 = makeLocationNode({
|
|
19
|
+
service: Service11,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service11, Service11.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service11, node13, bound2, exports_instance2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service77
|
|
3
|
+
} from "./vcs-6xyj4q8a.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service65
|
|
6
|
+
} from "./vcs-21jmns5z.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
@@ -17,13 +17,13 @@ __export(exports_question, {
|
|
|
17
17
|
Plugin: () => Plugin49,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
19
19
|
description: () => description6,
|
|
20
|
-
name: () =>
|
|
20
|
+
name: () => name14,
|
|
21
21
|
toModelContent: () => toModelContent7
|
|
22
22
|
});
|
|
23
23
|
import { ToolFailure } from "@opencode/ai";
|
|
24
24
|
import { Effect, Schema } from "effect";
|
|
25
25
|
import { Question } from "@opencode/schema/question";
|
|
26
|
-
var
|
|
26
|
+
var name14 = "question";
|
|
27
27
|
var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
|
|
28
28
|
1. Gather user preferences or requirements
|
|
29
29
|
2. Clarify ambiguous instructions
|
|
@@ -53,10 +53,10 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin49 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service77;
|
|
57
|
+
const permission = yield* Service65;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
|
-
name:
|
|
59
|
+
name: name14,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
62
|
input: Input14,
|
|
@@ -115,4 +115,4 @@ function toField(question, index) {
|
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
export {
|
|
118
|
+
export { name14, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin49, exports_question };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./vcs-73sq42y9.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./vcs-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
Service80,
|
|
11
11
|
node84
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-p5tk2x4g.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
15
|
ID13,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
Service74,
|
|
20
|
+
node78,
|
|
21
21
|
Event17
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./vcs-qagsqzqe.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./vcs-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -37,10 +37,10 @@ __export(exports_model2, {
|
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service72,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
|
-
node: () =>
|
|
43
|
+
node: () => node76,
|
|
44
44
|
parse: () => parse5
|
|
45
45
|
});
|
|
46
46
|
import { Model } from "@opencode/schema/model";
|
|
@@ -58,10 +58,10 @@ var Cost2 = Model.Cost;
|
|
|
58
58
|
var Ref2 = Model.Ref;
|
|
59
59
|
var Info26 = Model.Info;
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service72 extends Context.Service()("@opencode/Model") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
64
|
-
const providers = yield*
|
|
63
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
64
|
+
const providers = yield* Service74;
|
|
65
65
|
const bus = yield* Service83;
|
|
66
66
|
const location = yield* Service80;
|
|
67
67
|
let input;
|
|
@@ -198,7 +198,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
198
198
|
});
|
|
199
199
|
});
|
|
200
200
|
yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
201
|
-
return
|
|
201
|
+
return Service72.of({
|
|
202
202
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
203
203
|
reload,
|
|
204
204
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -217,7 +217,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
217
217
|
})
|
|
218
218
|
});
|
|
219
219
|
}));
|
|
220
|
-
var
|
|
220
|
+
var node76 = makeLocationNode({ service: Service72, layer, deps: [node78, node87, node84] });
|
|
221
221
|
function compatibility2(input) {
|
|
222
222
|
if (typeof input === "string")
|
|
223
223
|
return { reasoningField: input };
|
|
@@ -233,4 +233,4 @@ function parse5(input) {
|
|
|
233
233
|
};
|
|
234
234
|
}
|
|
235
235
|
|
|
236
|
-
export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info26,
|
|
236
|
+
export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info26, Service72, node76, compatibility2, parse5, exports_model2, Event16 };
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service58
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-h3emgna1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service57,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./vcs-1gx19wx1.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service18
|
|
11
|
+
} from "./vcs-xta7qcpj.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service65
|
|
14
|
+
} from "./vcs-21jmns5z.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service24
|
|
17
|
+
} from "./vcs-f0xae989.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./vcs-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./vcs-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
28
|
+
Input: () => Input10,
|
|
29
29
|
Output: () => Output6,
|
|
30
|
-
Plugin: () =>
|
|
30
|
+
Plugin: () => Plugin11,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
32
|
+
name: () => name10,
|
|
33
33
|
toModelContent: () => toModelContent4
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name10 = "write";
|
|
39
|
+
var Input10 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
@@ -49,23 +49,23 @@ var Output6 = Schema.Struct({
|
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
51
|
var toModelContent4 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
-
var
|
|
52
|
+
var Plugin11 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
55
|
+
const access = yield* Service24;
|
|
56
|
+
const fileMutation = yield* Service57;
|
|
57
57
|
const environment = yield* Service58;
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
58
|
+
const formatter = yield* Service18;
|
|
59
|
+
const permission = yield* Service65;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name10,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
68
|
+
input: Input10,
|
|
69
69
|
output: Output6,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
@@ -98,4 +98,4 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name10, Input10, Output6, toModelContent4, Plugin11, exports_write };
|
|
@@ -2,35 +2,35 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service83,
|
|
4
4
|
node87
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./vcs-73sq42y9.js";
|
|
6
6
|
import {
|
|
7
7
|
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make20,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-rhjbct0v.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./vcs-922hggd3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./vcs-rdw6cm16.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./vcs-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event11,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
|
-
Options: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
configured: () =>
|
|
32
|
-
layer: () =>
|
|
33
|
-
node: () =>
|
|
29
|
+
Options: () => Options10,
|
|
30
|
+
Service: () => Service50,
|
|
31
|
+
configured: () => configured10,
|
|
32
|
+
layer: () => layer19,
|
|
33
|
+
node: () => node54
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -42,17 +42,17 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
44
|
var key = Key3.make("core/instructions");
|
|
45
|
-
var
|
|
45
|
+
var Event11 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
|
-
var
|
|
48
|
+
var Options10 = Schema.Struct({
|
|
49
49
|
project: Schema.optional(Schema.Boolean),
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service50 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var
|
|
55
|
+
var layer19 = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
56
56
|
const bus = yield* Service83;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
@@ -72,9 +72,9 @@ var layer17 = (options) => Layer.effect(Service46, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event11.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
|
-
const source = (value) =>
|
|
77
|
+
const source = (value) => make20({
|
|
78
78
|
key,
|
|
79
79
|
codec: Schema.toCodecJson(Files),
|
|
80
80
|
read: Effect.succeed(value),
|
|
@@ -90,7 +90,7 @@ var layer17 = (options) => Layer.effect(Service46, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service50.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -104,14 +104,14 @@ var layer17 = (options) => Layer.effect(Service46, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
function
|
|
107
|
+
function configured10(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
110
|
-
layer:
|
|
109
|
+
service: Service50,
|
|
110
|
+
layer: layer19(options),
|
|
111
111
|
deps: [node87]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node54 = configured10();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event11, Options10, Service50, layer19, configured10, node54, exports_instruction_discovery };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./vcs-91p43skh.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./vcs-73sq42y9.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./vcs-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./vcs-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./vcs-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: () =>
|
|
23
|
+
Event: () => Event19,
|
|
24
|
+
ID: () => ID15,
|
|
25
|
+
Info: () => Info30,
|
|
26
26
|
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service76,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node80
|
|
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 ID15 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
39
|
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event19 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info30 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID15,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service76 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service76, 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 Info30({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service76.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(Service79, 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 Info30({
|
|
80
|
+
id: ID15.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(Service79, 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(Event19.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event19.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(Service79, 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(Event19.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(Service79, 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(Event19.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(Service79, 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(Event19.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node80 = makeGlobalNode({ service: Service76, layer, deps: [node88, node87] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID15, OAuth3, Key4, Value2, Event19, Info30, Service76, node80, exports_credential };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-f6mdpyt7.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-twg0f83k.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|