@opencode/core 0.0.0-dev-19977 → 0.0.0-dev-19979
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{vcs-6xyj4q8a.js → variant-01qjk1e4.js} +16 -16
- package/dist/chunks/{vcs-2ndbjpj7.js → variant-02qx3nt3.js} +2 -2
- package/dist/chunks/{vcs-tdvtfxdy.js → variant-06gv8wbv.js} +10 -10
- package/dist/chunks/{vcs-0paq2nw3.js → variant-0paq2nw3.js} +1 -1
- package/dist/chunks/{vcs-0q0f95c6.js → variant-0q0f95c6.js} +1 -1
- package/dist/chunks/{vcs-xcckkd32.js → variant-0wn1pn7d.js} +27 -27
- package/dist/chunks/{vcs-aee8h6x3.js → variant-0zasd35x.js} +17 -17
- package/dist/chunks/{vcs-a3ftg8j6.js → variant-11dqjexa.js} +9 -9
- package/dist/chunks/{vcs-a4gexze1.js → variant-14rbk3zc.js} +20 -20
- package/dist/chunks/{vcs-3790xwfd.js → variant-1amz2eg5.js} +27 -27
- package/dist/chunks/{vcs-1dazxqgg.js → variant-1dazxqgg.js} +2 -2
- package/dist/chunks/{vcs-qx03bd0a.js → variant-1epfs5fg.js} +11 -11
- package/dist/chunks/{vcs-wqys0xwa.js → variant-1mmn3t24.js} +13 -13
- package/dist/chunks/{vcs-rvmg0ahe.js → variant-21hdf7f9.js} +1 -1
- package/dist/chunks/{vcs-21r38tys.js → variant-21r38tys.js} +1 -1
- package/dist/chunks/{vcs-026mxvrw.js → variant-27m138w7.js} +30 -30
- package/dist/chunks/{vcs-77n73x0z.js → variant-27yn9rhw.js} +12 -12
- package/dist/chunks/{vcs-2a5m3afh.js → variant-2a5m3afh.js} +1 -1
- package/dist/chunks/{vcs-mxqk8fax.js → variant-2gjtp3w6.js} +8 -8
- package/dist/chunks/{vcs-ebt3yecv.js → variant-2h81abkb.js} +30 -30
- package/dist/chunks/{vcs-arcxrr1g.js → variant-2j1jcbga.js} +24 -24
- package/dist/chunks/{vcs-h1smzm8e.js → variant-2q7rp569.js} +9 -9
- package/dist/chunks/{vcs-dpewnr59.js → variant-2ssmy2pv.js} +9 -9
- package/dist/chunks/{vcs-762r0j46.js → variant-2vgzs72b.js} +5 -5
- package/dist/chunks/{vcs-0p47j88a.js → variant-30dywwj6.js} +11 -11
- package/dist/chunks/{vcs-mm5kxf07.js → variant-3104ney4.js} +8 -8
- package/dist/chunks/{vcs-jg9pn0ks.js → variant-337xk0e5.js} +26 -26
- package/dist/chunks/{vcs-56gdpj1q.js → variant-33w4ejhs.js} +6 -6
- package/dist/chunks/{vcs-37s12vcn.js → variant-37s12vcn.js} +2 -2
- package/dist/chunks/{vcs-3fc6dm20.js → variant-3fc6dm20.js} +1 -1
- package/dist/chunks/{vcs-3hepkmqq.js → variant-3hepkmqq.js} +1 -1
- package/dist/chunks/{vcs-dedh1m42.js → variant-3jekz8h8.js} +20 -20
- package/dist/chunks/{vcs-sj4zt4zs.js → variant-3jhr2a2t.js} +5 -5
- package/dist/chunks/{vcs-grhn0qhx.js → variant-3jzbymb5.js} +5 -5
- package/dist/chunks/{vcs-73sq42y9.js → variant-3mnsrdsg.js} +16 -16
- package/dist/chunks/{vcs-5ypy0aps.js → variant-3n3eb5aa.js} +5 -5
- package/dist/chunks/{vcs-31a459na.js → variant-3r4kmr0h.js} +11 -11
- package/dist/chunks/{vcs-3smtnn6g.js → variant-3smtnn6g.js} +1 -1
- package/dist/chunks/{vcs-3tvqynh2.js → variant-3tvqynh2.js} +1 -1
- package/dist/chunks/{vcs-mmr7bq34.js → variant-44ke2mar.js} +8 -8
- package/dist/chunks/{vcs-b4fb1g87.js → variant-49g4s7y7.js} +6 -6
- package/dist/chunks/{vcs-vm6hw26a.js → variant-4ck5q7wh.js} +10 -10
- package/dist/chunks/{vcs-h6r3nrb9.js → variant-4dgbcxzg.js} +4 -4
- package/dist/chunks/{vcs-mp0zv96f.js → variant-4fgf37wt.js} +13 -13
- package/dist/chunks/{vcs-35qq722n.js → variant-4h9018w9.js} +7 -7
- package/dist/chunks/{vcs-nw28za41.js → variant-4q4pt9sm.js} +95 -95
- package/dist/chunks/{vcs-7z1m1xqn.js → variant-4xbh84pg.js} +8 -8
- package/dist/chunks/{vcs-a1bz86dw.js → variant-5c4hm403.js} +3 -3
- package/dist/chunks/{vcs-5daktx2q.js → variant-5daktx2q.js} +1 -1
- package/dist/chunks/{vcs-gtmm17wr.js → variant-5jah1aqk.js} +32 -32
- package/dist/chunks/{vcs-5t3nmthw.js → variant-5t3nmthw.js} +2 -2
- package/dist/chunks/{vcs-669tq793.js → variant-669tq793.js} +1 -1
- package/dist/chunks/{vcs-gqf37yrc.js → variant-6fgkhyxm.js} +4 -4
- package/dist/chunks/{vcs-n64bhgvh.js → variant-6h4x4393.js} +11 -11
- package/dist/chunks/{vcs-2402vzrj.js → variant-6h73sxmp.js} +5 -5
- package/dist/chunks/{vcs-ze01d2sn.js → variant-6k0fn069.js} +30 -30
- package/dist/chunks/{vcs-6msgmcgs.js → variant-6msgmcgs.js} +1 -1
- package/dist/chunks/{vcs-y2swddp5.js → variant-6prjr0ba.js} +16 -16
- package/dist/chunks/{vcs-w3nmmr0q.js → variant-6ryfpt65.js} +2 -2
- package/dist/chunks/{vcs-21jmns5z.js → variant-6t5pmk7b.js} +54 -54
- package/dist/chunks/{vcs-gs4tkc79.js → variant-6ysrkrkr.js} +8 -8
- package/dist/chunks/{vcs-zamycwzx.js → variant-72ahydd8.js} +18 -18
- package/dist/chunks/{vcs-f7f62ppg.js → variant-75mb2dj9.js} +43 -43
- package/dist/chunks/{vcs-d7r387ef.js → variant-79wzcjsa.js} +6 -6
- package/dist/chunks/{vcs-cq37gk0t.js → variant-7ac170kv.js} +4 -4
- package/dist/chunks/{vcs-7bmhse3q.js → variant-7bmhse3q.js} +1 -1
- package/dist/chunks/{vcs-qgn6gcr1.js → variant-7dqw4kz8.js} +5 -5
- package/dist/chunks/{vcs-c9jrejd8.js → variant-7k5rzq7b.js} +24 -24
- package/dist/chunks/{vcs-mn77zb4p.js → variant-7mk9t2b4.js} +73 -73
- package/dist/chunks/{vcs-x8cycxf4.js → variant-7qq3ahcc.js} +6 -6
- package/dist/chunks/{vcs-h3emgna1.js → variant-7rqyb9xq.js} +16 -16
- package/dist/chunks/{vcs-57ez7d0k.js → variant-81swgkk7.js} +7 -7
- package/dist/chunks/{vcs-eveqffnf.js → variant-8a1xt0qe.js} +20 -20
- package/dist/chunks/{vcs-8d7r5vzw.js → variant-8d7r5vzw.js} +1 -1
- package/dist/chunks/{vcs-5zr8nydg.js → variant-8f8kbx59.js} +30 -30
- package/dist/chunks/{vcs-hy8nah29.js → variant-8pejhe55.js} +43 -43
- package/dist/chunks/{vcs-4s7kcajh.js → variant-8ppvdbde.js} +21 -21
- package/dist/chunks/{vcs-02egfabs.js → variant-8qmcac2p.js} +12 -12
- package/dist/chunks/{vcs-bjtgrew5.js → variant-8qy3tpz1.js} +57 -57
- package/dist/chunks/{vcs-qa1eq3gf.js → variant-8szzxw8p.js} +3 -3
- package/dist/chunks/{vcs-vy4zg7qh.js → variant-965ggptx.js} +12 -12
- package/dist/chunks/{vcs-raj0fffq.js → variant-9brx4zwk.js} +23 -23
- package/dist/chunks/{vcs-1scs63j0.js → variant-9n6wwvty.js} +18 -18
- package/dist/chunks/variant-9nx3epfh.js +26 -0
- package/dist/chunks/{vcs-31dgsdk7.js → variant-a10y8grx.js} +13 -13
- package/dist/chunks/{vcs-cavr175a.js → variant-a8bn8zg0.js} +4 -4
- package/dist/chunks/{vcs-g8jasmdt.js → variant-a8zr1srk.js} +8 -8
- package/dist/chunks/{vcs-aaet6srn.js → variant-aaet6srn.js} +2 -2
- package/dist/chunks/{vcs-fng9e0je.js → variant-ab9238g2.js} +6 -6
- package/dist/chunks/{vcs-krw5nhfk.js → variant-adtdcqb7.js} +37 -37
- package/dist/chunks/{vcs-4fp0tc5q.js → variant-aeh5t7p2.js} +21 -21
- package/dist/chunks/{vcs-a3r4dcrj.js → variant-b09hzw3k.js} +2 -2
- package/dist/chunks/{vcs-z7syg6j7.js → variant-b41tm2qj.js} +25 -25
- package/dist/chunks/{vcs-5g96j2vd.js → variant-b542neky.js} +10 -10
- package/dist/chunks/{vcs-b6gygkdw.js → variant-b6gygkdw.js} +2 -2
- package/dist/chunks/{vcs-7hgdmm2q.js → variant-b838jk36.js} +9 -9
- package/dist/chunks/{vcs-00z3vp5f.js → variant-bct739vz.js} +4 -4
- package/dist/chunks/{vcs-1gx19wx1.js → variant-bdg3jkjk.js} +11 -11
- package/dist/chunks/{vcs-q6f7adkm.js → variant-bx70xd4a.js} +29 -29
- package/dist/chunks/variant-by5v678g.js +18 -0
- package/dist/chunks/{vcs-zvdcdv1n.js → variant-c472f307.js} +28 -28
- package/dist/chunks/{vcs-pyds7pwm.js → variant-c6m5d6tv.js} +3 -3
- package/dist/chunks/{vcs-0mm9aq32.js → variant-chrxq3ex.js} +16 -16
- package/dist/chunks/{vcs-p44d8wdy.js → variant-cr07tj7n.js} +5 -5
- package/dist/chunks/{vcs-wrka22zr.js → variant-cszjtp1q.js} +22 -22
- package/dist/chunks/{vcs-eg9s2d14.js → variant-czz7qg73.js} +6 -6
- package/dist/chunks/{vcs-w12svhvm.js → variant-d2eaxrr9.js} +36 -36
- package/dist/chunks/{vcs-5sb1zc5g.js → variant-d8r4x71c.js} +16 -16
- package/dist/chunks/{vcs-ncne3zzx.js → variant-dfr3ajd8.js} +20 -20
- package/dist/chunks/{vcs-8p4f9s12.js → variant-dj2t23y0.js} +2 -2
- package/dist/chunks/{vcs-d4he2qe1.js → variant-djszqvmq.js} +9 -9
- package/dist/chunks/{vcs-y71avatq.js → variant-dpkg50ah.js} +4 -4
- package/dist/chunks/{vcs-xfja6ssk.js → variant-dt1f0v0y.js} +15 -15
- package/dist/chunks/{vcs-x2rjr4y2.js → variant-dtvsqqr8.js} +15 -15
- package/dist/chunks/{vcs-ybhbtxjg.js → variant-e5xpd6yj.js} +6 -6
- package/dist/chunks/{vcs-hnr5yq9h.js → variant-e6hmchc5.js} +5 -5
- package/dist/chunks/{vcs-0b9vs59q.js → variant-eab9zk3a.js} +1 -1
- package/dist/chunks/{vcs-ef5x83kb.js → variant-ef5x83kb.js} +1 -1
- package/dist/chunks/{vcs-r5x6zcsm.js → variant-eq1pz5kg.js} +3 -3
- package/dist/chunks/{vcs-erw5rpbs.js → variant-erw5rpbs.js} +2 -2
- package/dist/chunks/{vcs-f0xae989.js → variant-esqkvn0e.js} +18 -18
- package/dist/chunks/{vcs-etq0c3wd.js → variant-etq0c3wd.js} +1 -1
- package/dist/chunks/{vcs-636n1fx9.js → variant-evh5ncab.js} +35 -35
- package/dist/chunks/{vcs-xta7qcpj.js → variant-ewfmf9yp.js} +15 -15
- package/dist/chunks/{vcs-y307swq8.js → variant-eyytz2vc.js} +12 -12
- package/dist/chunks/{vcs-qnre3gvs.js → variant-f0429z4s.js} +34 -34
- package/dist/chunks/{vcs-zhq6vg7a.js → variant-fch79rh9.js} +1 -1
- package/dist/chunks/{vcs-vmact3ma.js → variant-fhes3t1d.js} +32 -32
- package/dist/chunks/{vcs-ea198e8q.js → variant-fmwzdpcj.js} +22 -22
- package/dist/chunks/{vcs-y30evbxf.js → variant-fr3ksnzs.js} +4 -4
- package/dist/chunks/{vcs-fxbjtjnd.js → variant-fxbjtjnd.js} +1 -1
- package/dist/chunks/{vcs-phstrbs2.js → variant-g0445xdp.js} +8 -8
- package/dist/chunks/{vcs-g8d3gcyj.js → variant-g8d3gcyj.js} +1 -1
- package/dist/chunks/{vcs-gd4qta3r.js → variant-gd4qta3r.js} +1 -1
- package/dist/chunks/{vcs-4mj78ng4.js → variant-gdk3jkz9.js} +1 -1
- package/dist/chunks/{vcs-pxp43rx9.js → variant-gkb6f2x1.js} +33 -33
- package/dist/chunks/{vcs-jspmbzq8.js → variant-gm199810.js} +13 -13
- package/dist/chunks/{vcs-gv6a8nnw.js → variant-gv6a8nnw.js} +2 -2
- package/dist/chunks/{vcs-7jmzt1bp.js → variant-gzfbe2d4.js} +23 -23
- package/dist/chunks/{vcs-xp7fz8rg.js → variant-h5s5g0dq.js} +31 -31
- package/dist/chunks/{vcs-ce4c0a8t.js → variant-h5th8w0s.js} +7 -7
- package/dist/chunks/{vcs-h6vf3j39.js → variant-h6vf3j39.js} +1 -1
- package/dist/chunks/{vcs-18e56dsp.js → variant-h6z8d5tn.js} +4 -4
- package/dist/chunks/{vcs-f828m53h.js → variant-hdnk95c8.js} +2 -2
- package/dist/chunks/{vcs-8vbzfqqc.js → variant-hja80fqx.js} +43 -43
- package/dist/chunks/{vcs-88b3bgew.js → variant-hqejd0fh.js} +18 -18
- package/dist/chunks/{vcs-qagsqzqe.js → variant-hrxk1s6s.js} +29 -29
- package/dist/chunks/{vcs-22a20jna.js → variant-j502ch8n.js} +33 -33
- package/dist/chunks/{vcs-j56e64zr.js → variant-j56e64zr.js} +1 -1
- package/dist/chunks/{vcs-0cvxc6ms.js → variant-jg4cr3aq.js} +46 -46
- package/dist/chunks/{vcs-31ckz9nn.js → variant-jqdmccvh.js} +18 -18
- package/dist/chunks/{vcs-dgpaqazm.js → variant-k0dxc2e8.js} +6 -6
- package/dist/chunks/{vcs-nzks3jc8.js → variant-k3c624dm.js} +3 -3
- package/dist/chunks/{vcs-xd4kzs7n.js → variant-k79vytfj.js} +9 -9
- package/dist/chunks/{vcs-ewtse9cq.js → variant-k7evwn58.js} +17 -17
- package/dist/chunks/{vcs-nxf13baa.js → variant-kaj3g59n.js} +8 -8
- package/dist/chunks/{vcs-wv50yr5g.js → variant-kavvc4j5.js} +49 -49
- package/dist/chunks/{vcs-70rtrpe7.js → variant-kgx759jk.js} +15 -15
- package/dist/chunks/{vcs-rwm5vee1.js → variant-kne8f3cn.js} +4 -4
- package/dist/chunks/{vcs-kbxs9t8f.js → variant-ky1ggc4k.js} +11 -11
- package/dist/chunks/{vcs-cfpkc3c9.js → variant-m0jqrx5p.js} +2 -2
- package/dist/chunks/{vcs-m3fdjcah.js → variant-m3fdjcah.js} +1 -1
- package/dist/chunks/{vcs-jfmt6x2y.js → variant-m444xqc2.js} +13 -13
- package/dist/chunks/{vcs-m9w0rfyh.js → variant-m9w0rfyh.js} +1 -1
- package/dist/chunks/{vcs-0csvndr3.js → variant-mca23bg6.js} +3 -3
- package/dist/chunks/{vcs-1571dsgn.js → variant-me04qd9d.js} +12 -12
- package/dist/chunks/{vcs-5c0f1prt.js → variant-mfhfdr54.js} +4 -4
- package/dist/chunks/{vcs-0gyx6ezr.js → variant-mk4ssrj5.js} +22 -22
- package/dist/chunks/variant-mn76vrx0.js +252 -0
- package/dist/chunks/{vcs-ca5qybfk.js → variant-msvcs4j3.js} +9 -9
- package/dist/chunks/{vcs-bw9zjykr.js → variant-mx9vqzsb.js} +6 -6
- package/dist/chunks/{vcs-eq9pbqr9.js → variant-n154eg5w.js} +11 -11
- package/dist/chunks/{vcs-3ewed21c.js → variant-nb9p6b26.js} +4 -4
- package/dist/chunks/{vcs-6vx8265g.js → variant-nn70ht8q.js} +22 -22
- package/dist/chunks/{vcs-rbrcjd28.js → variant-npbwcns0.js} +25 -25
- package/dist/chunks/{vcs-nq7qbqzc.js → variant-nscznvay.js} +9 -9
- package/dist/chunks/{vcs-hn09sy8b.js → variant-nsxy0q5x.js} +2 -2
- package/dist/chunks/{vcs-gkpeh6zm.js → variant-p0thxnh0.js} +11 -11
- package/dist/chunks/{vcs-f47ks197.js → variant-p2mk4npz.js} +21 -21
- package/dist/chunks/{vcs-14604q16.js → variant-p5b9tf5x.js} +27 -27
- package/dist/chunks/{vcs-w6dttbvj.js → variant-p6dvmy6m.js} +8 -8
- package/dist/chunks/{vcs-9c1r8673.js → variant-pdt3pyx9.js} +12 -12
- package/dist/chunks/{vcs-pjvnvgmy.js → variant-pjvnvgmy.js} +1 -1
- package/dist/chunks/{vcs-pknna89w.js → variant-pknna89w.js} +1 -1
- package/dist/chunks/{vcs-3qjhd3zm.js → variant-ps3v8v0p.js} +13 -13
- package/dist/chunks/{vcs-34d507gh.js → variant-pv2wxbd1.js} +33 -33
- package/dist/chunks/{vcs-pdx9bhth.js → variant-pvaf78f7.js} +11 -11
- package/dist/chunks/{vcs-pzk07e2t.js → variant-pwjnm3hv.js} +27 -27
- package/dist/chunks/{vcs-cr17rqga.js → variant-px7pwtkk.js} +9 -9
- package/dist/chunks/{vcs-esww11we.js → variant-q5vdcker.js} +16 -16
- package/dist/chunks/{vcs-91p43skh.js → variant-qahh6mkr.js} +11 -11
- package/dist/chunks/{vcs-rd68j2my.js → variant-qbjfty6d.js} +24 -24
- package/dist/chunks/{vcs-pkr90xzg.js → variant-qh96mzky.js} +7 -7
- package/dist/chunks/{vcs-ebfttpxm.js → variant-qmf7n49c.js} +13 -13
- package/dist/chunks/{vcs-6mwa2s17.js → variant-qraapvmf.js} +8 -8
- package/dist/chunks/{vcs-qsdy395h.js → variant-qsdy395h.js} +1 -1
- package/dist/chunks/{vcs-w3aqdajt.js → variant-qt563qnh.js} +13 -13
- package/dist/chunks/{vcs-yt3hy1g9.js → variant-qvreyy9g.js} +5 -5
- package/dist/chunks/{vcs-1wy7xpcm.js → variant-qwwnvr6f.js} +16 -16
- package/dist/chunks/{vcs-jqgys1dy.js → variant-r7cez9p4.js} +13 -13
- package/dist/chunks/{vcs-65gfcbyz.js → variant-r8fazzcs.js} +37 -37
- package/dist/chunks/{vcs-dnrd96kf.js → variant-r8q8xsr5.js} +23 -23
- package/dist/chunks/{vcs-nehsc8qp.js → variant-racw9w49.js} +12 -12
- package/dist/chunks/{vcs-wq8d43zf.js → variant-rbyp8db0.js} +28 -28
- package/dist/chunks/{vcs-rdw6cm16.js → variant-rdw6cm16.js} +1 -1
- package/dist/chunks/{vcs-wh2pd5f7.js → variant-rnqe883g.js} +85 -85
- package/dist/chunks/{vcs-qdpmgmct.js → variant-rw27kmkb.js} +10 -10
- package/dist/chunks/{vcs-ypyq0fq8.js → variant-rwdxaze6.js} +3 -3
- package/dist/chunks/{vcs-f501bh8q.js → variant-s19e73r6.js} +1 -1
- package/dist/chunks/{vcs-4c8cjtxr.js → variant-s40m713m.js} +12 -12
- package/dist/chunks/{vcs-kt8hxg6p.js → variant-s4vqrt4f.js} +21 -21
- package/dist/chunks/{vcs-k1gkpfdk.js → variant-s5met55r.js} +8 -8
- package/dist/chunks/{vcs-yzrxx1hs.js → variant-s5v1hbc7.js} +39 -39
- package/dist/chunks/{vcs-rhjbct0v.js → variant-s8d7rejh.js} +4 -4
- package/dist/chunks/{vcs-8g3cnzmf.js → variant-swz218t1.js} +15 -15
- package/dist/chunks/{vcs-fmb18yvb.js → variant-t65f74fp.js} +26 -26
- package/dist/chunks/{vcs-j0c0jrrq.js → variant-t87q1wma.js} +9 -9
- package/dist/chunks/{vcs-tazgh4e4.js → variant-tazgh4e4.js} +1 -1
- package/dist/chunks/{vcs-p28j5sbe.js → variant-tbz0fdvh.js} +5 -5
- package/dist/chunks/{vcs-tcezcvh9.js → variant-tcezcvh9.js} +1 -1
- package/dist/chunks/{vcs-s8a7esdq.js → variant-tda9n49j.js} +20 -20
- package/dist/chunks/{vcs-tdstcens.js → variant-tdstcens.js} +1 -1
- package/dist/chunks/{vcs-n2havasm.js → variant-th8ht05d.js} +18 -18
- package/dist/chunks/{vcs-qmhk62hb.js → variant-tt2d18x6.js} +12 -12
- package/dist/chunks/{vcs-tvtrv512.js → variant-tvtrv512.js} +1 -1
- package/dist/chunks/{vcs-krjf62r2.js → variant-tvtxd4ef.js} +6 -6
- package/dist/chunks/{vcs-v00wb7q9.js → variant-v4bfmp8s.js} +41 -41
- package/dist/chunks/{vcs-esp4rdvc.js → variant-v4jcyr56.js} +11 -11
- package/dist/chunks/{vcs-p5tk2x4g.js → variant-v9yc49ez.js} +16 -16
- package/dist/chunks/{vcs-nkcwakxz.js → variant-va5qff5x.js} +6 -6
- package/dist/chunks/{vcs-veqvce7d.js → variant-veqvce7d.js} +1 -1
- package/dist/chunks/{vcs-ve9gaad2.js → variant-vh8c0j52.js} +2 -2
- package/dist/chunks/{vcs-6mm913p5.js → variant-vsqv43av.js} +4 -4
- package/dist/chunks/{vcs-5b5g75gf.js → variant-vvh9mfqv.js} +29 -29
- package/dist/chunks/{vcs-vzcthcp8.js → variant-vzcthcp8.js} +1 -1
- package/dist/chunks/{vcs-w3wsvvr9.js → variant-w3wsvvr9.js} +1 -1
- package/dist/chunks/{vcs-1enqjbtj.js → variant-w44663xc.js} +9 -9
- package/dist/chunks/{vcs-yvvvp4gn.js → variant-w49382pb.js} +8 -8
- package/dist/chunks/{vcs-at3m1tvy.js → variant-w5rfw0cw.js} +15 -15
- package/dist/chunks/{vcs-wgtgqmgr.js → variant-wb55je22.js} +315 -315
- package/dist/chunks/{vcs-5xjstr01.js → variant-wcaxp10e.js} +20 -20
- package/dist/chunks/{vcs-wd87259q.js → variant-wd87259q.js} +1 -1
- package/dist/chunks/{vcs-93pp14as.js → variant-wg4md656.js} +11 -11
- package/dist/chunks/{vcs-qw1bjgpz.js → variant-wgzndssf.js} +22 -22
- package/dist/chunks/{vcs-x1ezjp6w.js → variant-x1ezjp6w.js} +1 -1
- package/dist/chunks/{vcs-ja7awhpc.js → variant-x22ev0hb.js} +21 -21
- package/dist/chunks/{vcs-04zx5mpa.js → variant-x22gyqrw.js} +1 -1
- package/dist/chunks/{vcs-bzmv9v1t.js → variant-x8zxr43e.js} +34 -34
- package/dist/chunks/{vcs-mgj4p8m4.js → variant-xef69pp0.js} +17 -17
- package/dist/chunks/{vcs-qqeeq2t9.js → variant-xfkkasph.js} +7 -7
- package/dist/chunks/{vcs-7f4kevra.js → variant-xfs1q4xd.js} +30 -30
- package/dist/chunks/{vcs-q29hs5tk.js → variant-xfvm3mak.js} +24 -24
- package/dist/chunks/{vcs-f6mdpyt7.js → variant-xhk51xgy.js} +47 -47
- package/dist/chunks/{vcs-5zdtcgy0.js → variant-xmeaynwa.js} +43 -43
- package/dist/chunks/{vcs-36k6dezp.js → variant-xskn2s6v.js} +15 -15
- package/dist/chunks/{vcs-e1j0qnan.js → variant-xw54q2z7.js} +3 -3
- package/dist/chunks/{vcs-ehyhzm66.js → variant-xx495gr6.js} +8 -8
- package/dist/chunks/{vcs-e6fmpsdj.js → variant-y19c3zcv.js} +4 -4
- package/dist/chunks/{vcs-y1fvbwt7.js → variant-y1fvbwt7.js} +1 -1
- package/dist/chunks/{vcs-yf18nbwz.js → variant-y1s4hq9c.js} +30 -30
- package/dist/chunks/{vcs-jexxy024.js → variant-y6f0p4jw.js} +3 -3
- package/dist/chunks/{vcs-r8xr0va3.js → variant-yp2x3t23.js} +4 -4
- package/dist/chunks/{vcs-yrhqyw5v.js → variant-yrhqyw5v.js} +1 -1
- package/dist/chunks/{vcs-yrznvahk.js → variant-yrznvahk.js} +2 -2
- package/dist/chunks/{vcs-47r4vyk3.js → variant-z08d3gkn.js} +8 -8
- package/dist/chunks/{vcs-z0bkrqjs.js → variant-z0bkrqjs.js} +1 -1
- package/dist/chunks/{vcs-ypk83nm1.js → variant-z3aasmrj.js} +4 -4
- package/dist/chunks/{vcs-ra3bs4fs.js → variant-z4394exs.js} +25 -25
- package/dist/chunks/{vcs-2n0f0xad.js → variant-z5g6zmez.js} +18 -18
- package/dist/chunks/{vcs-z63w68vq.js → variant-z63w68vq.js} +2 -2
- package/dist/chunks/variant-z926abd4.js +4 -0
- package/dist/chunks/{vcs-hh877wqm.js → variant-z9vgre7d.js} +16 -16
- package/dist/chunks/{vcs-2m91t0br.js → variant-za3dectt.js} +152 -152
- package/dist/chunks/{vcs-xdrba4jw.js → variant-zab19jja.js} +9 -9
- package/dist/chunks/{vcs-7pej1m6n.js → variant-zb3e93f3.js} +6 -6
- package/dist/chunks/{vcs-ejsjeqcn.js → variant-zd8tz85g.js} +4 -4
- package/dist/chunks/{vcs-zeh9ct20.js → variant-zeh9ct20.js} +2 -2
- package/dist/chunks/{vcs-y36f9vsb.js → variant-zfchs64b.js} +20 -20
- package/dist/chunks/{vcs-tzjwyy45.js → variant-zq8b9kne.js} +6 -6
- package/dist/chunks/{vcs-zr2ceqn5.js → variant-zr2ceqn5.js} +1 -1
- package/dist/chunks/{vcs-sk41x0qc.js → variant-zse5513f.js} +23 -23
- package/dist/chunks/{vcs-c3065vva.js → variant-ztfaec9a.js} +3 -3
- package/dist/chunks/{vcs-mqxthytd.js → variant-zwvpdwrg.js} +18 -18
- package/dist/chunks/{vcs-zxq2ej10.js → variant-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +80 -80
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +69 -69
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/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 +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 +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +90 -90
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +92 -92
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +73 -73
- 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 +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +99 -99
- package/dist/form.js +77 -77
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +102 -102
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +98 -98
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +83 -83
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- 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 +86 -86
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +104 -104
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +110 -110
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +77 -77
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +132 -132
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +93 -93
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +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 +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +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 +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +96 -96
- 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 +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +83 -83
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +86 -86
- 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 +222 -222
- 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 +13 -13
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +90 -90
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +124 -124
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +119 -119
- 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 +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +2 -2
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/vcs-3p71wzhx.js +0 -252
- package/dist/chunks/vcs-619r8v3y.js +0 -18
- package/dist/chunks/vcs-qapv375x.js +0 -4
- package/dist/chunks/vcs-rgevtwgf.js +0 -26
- /package/dist/chunks/{vcs-0qkdqm5v.js → variant-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{vcs-0zkw76rk.js → variant-0zkw76rk.js} +0 -0
- /package/dist/chunks/{vcs-17cy0kzp.js → variant-17cy0kzp.js} +0 -0
- /package/dist/chunks/{vcs-1cnp2v09.js → variant-1cnp2v09.js} +0 -0
- /package/dist/chunks/{vcs-1kg9ymc8.js → variant-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{vcs-24dcb14g.js → variant-24dcb14g.js} +0 -0
- /package/dist/chunks/{vcs-2710q6r3.js → variant-2710q6r3.js} +0 -0
- /package/dist/chunks/{vcs-2axfhc9x.js → variant-2axfhc9x.js} +0 -0
- /package/dist/chunks/{vcs-2c3vjs8z.js → variant-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{vcs-359p4xyc.js → variant-359p4xyc.js} +0 -0
- /package/dist/chunks/{vcs-3asan66x.js → variant-3asan66x.js} +0 -0
- /package/dist/chunks/{vcs-3v8g72cx.js → variant-3v8g72cx.js} +0 -0
- /package/dist/chunks/{vcs-3w5fmr99.js → variant-3w5fmr99.js} +0 -0
- /package/dist/chunks/{vcs-3wcehsnq.js → variant-3wcehsnq.js} +0 -0
- /package/dist/chunks/{vcs-43n2bw4t.js → variant-43n2bw4t.js} +0 -0
- /package/dist/chunks/{vcs-4knz6hnm.js → variant-4knz6hnm.js} +0 -0
- /package/dist/chunks/{vcs-4vcrnpx2.js → variant-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{vcs-4y7fprxs.js → variant-4y7fprxs.js} +0 -0
- /package/dist/chunks/{vcs-53557ph1.js → variant-53557ph1.js} +0 -0
- /package/dist/chunks/{vcs-550bvhaj.js → variant-550bvhaj.js} +0 -0
- /package/dist/chunks/{vcs-5qd3pb7m.js → variant-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{vcs-6prwharc.js → variant-6prwharc.js} +0 -0
- /package/dist/chunks/{vcs-7akdwqpd.js → variant-7akdwqpd.js} +0 -0
- /package/dist/chunks/{vcs-7m9af43g.js → variant-7m9af43g.js} +0 -0
- /package/dist/chunks/{vcs-822emrt2.js → variant-822emrt2.js} +0 -0
- /package/dist/chunks/{vcs-88xbtdfr.js → variant-88xbtdfr.js} +0 -0
- /package/dist/chunks/{vcs-8n3pysct.js → variant-8n3pysct.js} +0 -0
- /package/dist/chunks/{vcs-922hggd3.js → variant-922hggd3.js} +0 -0
- /package/dist/chunks/{vcs-9a4afbnw.js → variant-9a4afbnw.js} +0 -0
- /package/dist/chunks/{vcs-9rqn6x4v.js → variant-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{vcs-a6k6eb26.js → variant-a6k6eb26.js} +0 -0
- /package/dist/chunks/{vcs-af5trqkr.js → variant-af5trqkr.js} +0 -0
- /package/dist/chunks/{vcs-afrmfg78.js → variant-afrmfg78.js} +0 -0
- /package/dist/chunks/{vcs-aqzs7mqg.js → variant-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{vcs-atq7p7m5.js → variant-atq7p7m5.js} +0 -0
- /package/dist/chunks/{vcs-bkyjaxrp.js → variant-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{vcs-bmr6ed5q.js → variant-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{vcs-cf4snx6d.js → variant-cf4snx6d.js} +0 -0
- /package/dist/chunks/{vcs-cvy3z8tj.js → variant-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{vcs-d9fn303g.js → variant-d9fn303g.js} +0 -0
- /package/dist/chunks/{vcs-d9jj8t3e.js → variant-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{vcs-dajrwvna.js → variant-dajrwvna.js} +0 -0
- /package/dist/chunks/{vcs-dap0rakb.js → variant-dap0rakb.js} +0 -0
- /package/dist/chunks/{vcs-df08tz66.js → variant-df08tz66.js} +0 -0
- /package/dist/chunks/{vcs-dy18nga0.js → variant-dy18nga0.js} +0 -0
- /package/dist/chunks/{vcs-e5kj55wp.js → variant-e5kj55wp.js} +0 -0
- /package/dist/chunks/{vcs-e73j6tqm.js → variant-e73j6tqm.js} +0 -0
- /package/dist/chunks/{vcs-ec1grn59.js → variant-ec1grn59.js} +0 -0
- /package/dist/chunks/{vcs-eh3zwz77.js → variant-eh3zwz77.js} +0 -0
- /package/dist/chunks/{vcs-emrn6kk6.js → variant-emrn6kk6.js} +0 -0
- /package/dist/chunks/{vcs-f0mxakyp.js → variant-f0mxakyp.js} +0 -0
- /package/dist/chunks/{vcs-f6n9ztr4.js → variant-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{vcs-faypxj3z.js → variant-faypxj3z.js} +0 -0
- /package/dist/chunks/{vcs-fd410y7t.js → variant-fd410y7t.js} +0 -0
- /package/dist/chunks/{vcs-fxgpk5d8.js → variant-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{vcs-g4wezp1m.js → variant-g4wezp1m.js} +0 -0
- /package/dist/chunks/{vcs-g86h250q.js → variant-g86h250q.js} +0 -0
- /package/dist/chunks/{vcs-gebd4c9n.js → variant-gebd4c9n.js} +0 -0
- /package/dist/chunks/{vcs-gftt206x.js → variant-gftt206x.js} +0 -0
- /package/dist/chunks/{vcs-hjbc5kem.js → variant-hjbc5kem.js} +0 -0
- /package/dist/chunks/{vcs-hk9envan.js → variant-hk9envan.js} +0 -0
- /package/dist/chunks/{vcs-j2ntwpah.js → variant-j2ntwpah.js} +0 -0
- /package/dist/chunks/{vcs-j5zkgpj8.js → variant-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{vcs-jjkms2e6.js → variant-jjkms2e6.js} +0 -0
- /package/dist/chunks/{vcs-jr7sbwjy.js → variant-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{vcs-jwfs4k6c.js → variant-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{vcs-jzg6c2d5.js → variant-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{vcs-mp448xyj.js → variant-mp448xyj.js} +0 -0
- /package/dist/chunks/{vcs-msx8hqn2.js → variant-msx8hqn2.js} +0 -0
- /package/dist/chunks/{vcs-n05xt0ee.js → variant-n05xt0ee.js} +0 -0
- /package/dist/chunks/{vcs-n3j8tn72.js → variant-n3j8tn72.js} +0 -0
- /package/dist/chunks/{vcs-njntx4h6.js → variant-njntx4h6.js} +0 -0
- /package/dist/chunks/{vcs-q3sfg36h.js → variant-q3sfg36h.js} +0 -0
- /package/dist/chunks/{vcs-q74kybfr.js → variant-q74kybfr.js} +0 -0
- /package/dist/chunks/{vcs-qaymkmh1.js → variant-qaymkmh1.js} +0 -0
- /package/dist/chunks/{vcs-qb87gjwd.js → variant-qb87gjwd.js} +0 -0
- /package/dist/chunks/{vcs-qfa1cgps.js → variant-qfa1cgps.js} +0 -0
- /package/dist/chunks/{vcs-qg3g05ea.js → variant-qg3g05ea.js} +0 -0
- /package/dist/chunks/{vcs-qrg20bc0.js → variant-qrg20bc0.js} +0 -0
- /package/dist/chunks/{vcs-rcb2kzg1.js → variant-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{vcs-sdp7kfr6.js → variant-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{vcs-sk3qaz4a.js → variant-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{vcs-ssg3fenm.js → variant-ssg3fenm.js} +0 -0
- /package/dist/chunks/{vcs-twg0f83k.js → variant-twg0f83k.js} +0 -0
- /package/dist/chunks/{vcs-w803qqfp.js → variant-w803qqfp.js} +0 -0
- /package/dist/chunks/{vcs-wc3fc9cn.js → variant-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{vcs-wer8tq1h.js → variant-wer8tq1h.js} +0 -0
- /package/dist/chunks/{vcs-wtztk69x.js → variant-wtztk69x.js} +0 -0
- /package/dist/chunks/{vcs-x0ckcb58.js → variant-x0ckcb58.js} +0 -0
- /package/dist/chunks/{vcs-x61499pn.js → variant-x61499pn.js} +0 -0
- /package/dist/chunks/{vcs-y44na4kk.js → variant-y44na4kk.js} +0 -0
- /package/dist/chunks/{vcs-y8cydn3q.js → variant-y8cydn3q.js} +0 -0
- /package/dist/chunks/{vcs-y8f7s663.js → variant-y8f7s663.js} +0 -0
- /package/dist/chunks/{vcs-ygaqb7jw.js → variant-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{vcs-ym463w8f.js → variant-ym463w8f.js} +0 -0
- /package/dist/chunks/{vcs-z9919s4g.js → variant-z9919s4g.js} +0 -0
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-n154eg5w.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./variant-33w4ejhs.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./variant-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/tinyfish.ts
|
|
12
12
|
var exports_tinyfish = {};
|
|
13
13
|
__export(exports_tinyfish, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin16,
|
|
15
15
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint3
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint3 = "https://agent.tinyfish.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String
|
|
24
24
|
});
|
|
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
33
33
|
}))
|
|
34
34
|
}));
|
|
35
35
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
36
|
-
var
|
|
36
|
+
var Plugin16 = define({
|
|
37
37
|
id: "opencode.websearch.tinyfish",
|
|
38
38
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
39
39
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -55,7 +55,7 @@ var Plugin40 = define({
|
|
|
55
55
|
execute: (input) => Effect.gen(function* () {
|
|
56
56
|
const connection = yield* ctx.integration.connection.active("tinyfish");
|
|
57
57
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
58
|
-
const result = yield* call2(http,
|
|
58
|
+
const result = yield* call2(http, endpoint3, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
|
|
59
59
|
"User-Agent": useragent2(ctx.app),
|
|
60
60
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
61
61
|
});
|
|
@@ -73,4 +73,4 @@ var Plugin40 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { endpoint3, Plugin16, exports_tinyfish };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./variant-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/message-updater.ts
|
|
9
9
|
var exports_message_updater = {};
|
|
10
10
|
__export(exports_message_updater, {
|
|
11
11
|
SessionMessageUpdater: () => exports_message_updater,
|
|
12
|
-
update: () =>
|
|
12
|
+
update: () => update3
|
|
13
13
|
});
|
|
14
14
|
import { castDraft, produce } from "immer";
|
|
15
15
|
import { DateTime, Effect, Match, pipe, Schema } from "effect";
|
|
@@ -21,7 +21,7 @@ var projectTerminalSnapshot = (draft, event) => {
|
|
|
21
21
|
files: event.data.files ? Array.from(event.data.files) : undefined
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
|
-
function
|
|
24
|
+
function update3(adapter, event) {
|
|
25
25
|
const created = DateTime.makeUnsafe(event.created);
|
|
26
26
|
const latestTool = (assistant, id) => assistant.content.findLast((item) => item.type === "tool" && item.id === id);
|
|
27
27
|
const latestText = (assistant) => assistant.content.findLast((item) => item.type === "text");
|
|
@@ -401,4 +401,4 @@ function update2(adapter, event) {
|
|
|
401
401
|
return project(event);
|
|
402
402
|
}
|
|
403
403
|
|
|
404
|
-
export {
|
|
404
|
+
export { update3, exports_message_updater };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./variant-qahh6mkr.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./variant-hdnk95c8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./variant-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
18
|
-
ListInput: () =>
|
|
16
|
+
ID: () => ID8,
|
|
17
|
+
Info: () => Info21,
|
|
18
|
+
ListInput: () => ListInput5,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service64,
|
|
21
|
+
node: () => node68
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
30
|
-
var
|
|
28
|
+
var ID8 = PermissionSaved.ID;
|
|
29
|
+
var Info21 = PermissionSaved.Info;
|
|
30
|
+
var ListInput5 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
33
33
|
var AddInput2 = Schema.Struct({
|
|
@@ -36,10 +36,10 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service64 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
42
|
-
const db = (yield*
|
|
41
|
+
var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
42
|
+
const db = (yield* Service83).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
45
45
|
return rows.map((row) => ({
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
57
57
|
if (!input.resources.length)
|
|
58
58
|
return;
|
|
59
59
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
60
|
-
id:
|
|
60
|
+
id: ID8.create(),
|
|
61
61
|
project_id: input.projectID,
|
|
62
62
|
action: input.action,
|
|
63
63
|
resource
|
|
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
66
66
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
67
67
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service64.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node68 = makeGlobalNode({ service: Service64, layer, deps: [node87] });
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { ID8, Info21, ListInput5, AddInput2, Service64, node68, exports_saved };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./variant-qahh6mkr.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make21,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./variant-s8d7rejh.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./variant-5c4hm403.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./variant-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info5,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service33,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node37,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info5 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,12 +56,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service33 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
64
|
+
var source = (entry) => make21({
|
|
65
65
|
key: Key3.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
@@ -75,8 +75,8 @@ var source = (entry) => make20({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
79
|
-
const { db } = yield*
|
|
78
|
+
var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
79
|
+
const { db } = yield* Service83;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
82
82
|
key: InstructionEntryTable2.key,
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service33.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node37 = makeLocationNode({ service: Service33, layer, deps: [node87] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service33, node37, exports_instruction_entry };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./variant-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./variant-rdw6cm16.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./variant-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service57,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node60
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service57 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
122
122
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
123
123
|
};
|
|
124
124
|
});
|
|
125
|
-
return
|
|
125
|
+
return Service57.of({
|
|
126
126
|
transform: state.transform,
|
|
127
127
|
reload: state.reload,
|
|
128
128
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node60 = makeLocationNode({
|
|
143
|
+
service: Service57,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service57, node60, exports_tool_output2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-n154eg5w.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service75
|
|
7
|
+
} from "./variant-bx70xd4a.js";
|
|
8
8
|
import {
|
|
9
9
|
ID14,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./variant-npbwcns0.js";
|
|
12
12
|
import {
|
|
13
13
|
ID13,
|
|
14
14
|
mergeOverlay2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./variant-hrxk1s6s.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/provider/xai.ts
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -69,7 +69,7 @@ var device = (app) => ({
|
|
|
69
69
|
var XAIPlugin2 = define({
|
|
70
70
|
id: "opencode.provider.xai",
|
|
71
71
|
effect: Effect.fn(function* (ctx) {
|
|
72
|
-
const credentials = yield*
|
|
72
|
+
const credentials = yield* Service75;
|
|
73
73
|
yield* Effect.forEach(yield* credentials.list(ID14.make("xai")), (credential) => {
|
|
74
74
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
75
75
|
return Effect.void;
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service54
|
|
7
|
+
} from "./variant-jg4cr3aq.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./variant-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
12
|
Service58
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./variant-7rqyb9xq.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service47
|
|
16
|
+
} from "./variant-k7evwn58.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service62
|
|
19
|
+
} from "./variant-6t5pmk7b.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service20,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./variant-esqkvn0e.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./variant-fxbjtjnd.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service72,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./variant-9n6wwvty.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError5,
|
|
36
|
+
Service52
|
|
37
|
+
} from "./variant-kavvc4j5.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service29
|
|
40
|
+
} from "./variant-4q4pt9sm.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./variant-z3aasmrj.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./variant-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell = {};
|
|
50
50
|
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input11,
|
|
53
|
+
Plugin: () => Plugin12,
|
|
54
54
|
ShellTool: () => exports_shell,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name11
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name11 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input11 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
|
|
|
115
115
|
truncated: false,
|
|
116
116
|
status: "running"
|
|
117
117
|
});
|
|
118
|
-
var
|
|
118
|
+
var Plugin12 = {
|
|
119
119
|
id: "opencode.tool.shell",
|
|
120
120
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
121
|
-
const sessions = yield*
|
|
122
|
-
const jobs = yield*
|
|
121
|
+
const sessions = yield* Service29;
|
|
122
|
+
const jobs = yield* Service47;
|
|
123
123
|
const scope = yield* Scope.Scope;
|
|
124
124
|
const environment = yield* Service58;
|
|
125
|
-
const access = yield*
|
|
126
|
-
const shell = yield*
|
|
127
|
-
const shellSelect = yield*
|
|
125
|
+
const access = yield* Service20;
|
|
126
|
+
const shell = yield* Service52;
|
|
127
|
+
const shellSelect = yield* Service72;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
|
-
const permission = yield*
|
|
130
|
-
const config = yield*
|
|
129
|
+
const permission = yield* Service62;
|
|
130
|
+
const config = yield* Service54;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -146,7 +146,7 @@ var Plugin4 = {
|
|
|
146
146
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
147
147
|
if (parsed.commands.length > 0)
|
|
148
148
|
yield* permission.assert({
|
|
149
|
-
action:
|
|
149
|
+
action: name11,
|
|
150
150
|
resources: parsed.commands.map((command) => command.resource),
|
|
151
151
|
save: parsed.commands.map((command) => command.save),
|
|
152
152
|
sessionID: context.sessionID,
|
|
@@ -183,10 +183,10 @@ var Plugin4 = {
|
|
|
183
183
|
yield* jobs.completeBackground(info.notificationID);
|
|
184
184
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
185
185
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
186
|
-
name:
|
|
186
|
+
name: name11,
|
|
187
187
|
options: { codemode: false },
|
|
188
188
|
description: description(),
|
|
189
|
-
input:
|
|
189
|
+
input: Input11,
|
|
190
190
|
output: Output,
|
|
191
191
|
execute: (input, context) => Effect.gen(function* () {
|
|
192
192
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -205,7 +205,7 @@ var Plugin4 = {
|
|
|
205
205
|
const run = Effect.gen(function* () {
|
|
206
206
|
const result = yield* shell.result(info);
|
|
207
207
|
if (!result.capture)
|
|
208
|
-
return yield* new
|
|
208
|
+
return yield* new NotFoundError5({ id: info.id });
|
|
209
209
|
const output = output2(result);
|
|
210
210
|
return {
|
|
211
211
|
...output,
|
|
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
219
219
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
220
220
|
const job = yield* jobs.start({
|
|
221
221
|
id: info.id,
|
|
222
|
-
type:
|
|
222
|
+
type: name11,
|
|
223
223
|
title: info.command,
|
|
224
224
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
225
225
|
recovery: {
|
|
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
249
249
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
250
250
|
})).pipe(Effect.orDie);
|
|
251
251
|
const hook = (event) => Effect.gen(function* () {
|
|
252
|
-
const tool = event.tools[
|
|
252
|
+
const tool = event.tools[name11];
|
|
253
253
|
if (!tool)
|
|
254
254
|
return;
|
|
255
255
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
260
260
|
})
|
|
261
261
|
};
|
|
262
262
|
|
|
263
|
-
export {
|
|
263
|
+
export { name11, DEFAULT_TIMEOUT_MS2, Input11, Plugin12, exports_shell };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service55
|
|
3
|
+
} from "./variant-8a1xt0qe.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service54
|
|
6
|
+
} from "./variant-jg4cr3aq.js";
|
|
7
7
|
import {
|
|
8
8
|
parse2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./variant-zd8tz85g.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./variant-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compatibility.ts
|
|
15
15
|
var exports_compatibility = {};
|
|
16
16
|
__export(exports_compatibility, {
|
|
17
17
|
ConfigCompatibilityPlugin: () => exports_compatibility,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin46
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
24
|
-
var
|
|
24
|
+
var Plugin46 = define({
|
|
25
25
|
id: "opencode.config.compatibility",
|
|
26
26
|
effect: Effect.fn(function* (ctx) {
|
|
27
|
-
const config = yield*
|
|
27
|
+
const config = yield* Service54;
|
|
28
28
|
const fs = yield* FSUtil.Service;
|
|
29
|
-
const watcher = yield*
|
|
29
|
+
const watcher = yield* Service55;
|
|
30
30
|
const watches = yield* FiberMap.make();
|
|
31
31
|
const changes = yield* PubSub.sliding(1);
|
|
32
32
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -73,4 +73,4 @@ var Plugin26 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Plugin46, exports_compatibility };
|