@opencode/core 0.0.0-dev-107 → 0.0.0-dev-126
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 +89 -89
- package/dist/aisdk-native.js +97 -97
- package/dist/aisdk.js +103 -103
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{generate-pxnkq3zk.js → kv-02xem3g7.js} +7 -7
- package/dist/chunks/{generate-034tev2y.js → kv-034tev2y.js} +2 -2
- package/dist/chunks/{generate-w2d0d7v1.js → kv-040cxj5w.js} +15 -15
- package/dist/chunks/{generate-d22azegw.js → kv-071gpszy.js} +17 -17
- package/dist/chunks/{generate-qtjq56z8.js → kv-0e61bcwm.js} +10 -10
- package/dist/chunks/{generate-xh6s06j0.js → kv-0fgrxrs4.js} +17 -17
- package/dist/chunks/{generate-8a1jyxga.js → kv-0fvn3p7v.js} +4 -4
- package/dist/chunks/{generate-kq7mjshc.js → kv-0wg3svz2.js} +11 -11
- package/dist/chunks/{generate-5z35dpy9.js → kv-115ne1bg.js} +2 -2
- package/dist/chunks/{generate-ey7c0mj3.js → kv-11z2hjhz.js} +33 -33
- package/dist/chunks/{generate-ddvn7d3w.js → kv-160yv0cs.js} +8 -8
- package/dist/chunks/{generate-qgt3dwxm.js → kv-1cng5f3b.js} +6 -6
- package/dist/chunks/{generate-1ep2p91f.js → kv-1ep2p91f.js} +2 -2
- package/dist/chunks/{generate-1kn6jdkn.js → kv-1kn6jdkn.js} +1 -1
- package/dist/chunks/{generate-hdn2t124.js → kv-1qws1cxk.js} +18 -18
- package/dist/chunks/{generate-a9q6fvpe.js → kv-1r7af8ee.js} +3 -3
- package/dist/chunks/{generate-1sfk74bq.js → kv-1sh5kzz0.js} +19 -19
- package/dist/chunks/{generate-xd77wxb5.js → kv-1wxjvrk5.js} +14 -14
- package/dist/chunks/{generate-1x2knyw4.js → kv-1x2knyw4.js} +1 -1
- package/dist/chunks/{generate-204s3925.js → kv-204s3925.js} +1 -1
- package/dist/chunks/{generate-qft8hb75.js → kv-2azy8kv6.js} +7 -7
- package/dist/chunks/{generate-emg02mbg.js → kv-2b2r99nk.js} +14 -14
- package/dist/chunks/{generate-9wzq089f.js → kv-2b2tn81v.js} +47 -47
- package/dist/chunks/{generate-hdfccz72.js → kv-2n5dwavd.js} +18 -18
- package/dist/chunks/{generate-6zwdg53a.js → kv-2pb3yjvs.js} +32 -32
- package/dist/chunks/{generate-qadf7jyf.js → kv-2rmkd67q.js} +29 -29
- package/dist/chunks/{generate-9n9p4xt1.js → kv-2s2qahr1.js} +45 -45
- package/dist/chunks/{generate-3hepkmqq.js → kv-3hepkmqq.js} +1 -1
- package/dist/chunks/{generate-f01y088k.js → kv-3j1m3tq4.js} +5 -5
- package/dist/chunks/{generate-3nnrz6f6.js → kv-3nnrz6f6.js} +1 -1
- package/dist/chunks/{generate-grk9sjy2.js → kv-3p052jv5.js} +11 -11
- package/dist/chunks/{generate-dw5es7np.js → kv-3rdnw7tp.js} +1 -1
- package/dist/chunks/{generate-wa69088s.js → kv-3xack7ze.js} +15 -15
- package/dist/chunks/{generate-kn1v0813.js → kv-3ztkfjf6.js} +40 -40
- package/dist/chunks/{generate-pk00nasj.js → kv-404pyvje.js} +45 -45
- package/dist/chunks/{generate-ffwhmgh9.js → kv-42bec753.js} +28 -28
- package/dist/chunks/{generate-202bxvr4.js → kv-45t4pvv9.js} +8 -8
- package/dist/chunks/{generate-jksqncxt.js → kv-47xa9006.js} +10 -10
- package/dist/chunks/{generate-9wmr3sd2.js → kv-4a0szxqv.js} +16 -16
- package/dist/chunks/{generate-v1cyqkdh.js → kv-4a3eytr1.js} +21 -21
- package/dist/chunks/{generate-0rdesn2s.js → kv-4evqz61e.js} +11 -11
- package/dist/chunks/{generate-t2wj15q2.js → kv-4pwbrt4g.js} +4 -4
- package/dist/chunks/{generate-4pyp9zr9.js → kv-4pyp9zr9.js} +1 -1
- package/dist/chunks/{generate-4320fn7v.js → kv-4t06a3yy.js} +11 -11
- package/dist/chunks/{generate-4v008n1t.js → kv-4v008n1t.js} +1 -1
- package/dist/chunks/{generate-p0fjc254.js → kv-4vfjz4rt.js} +8 -8
- package/dist/chunks/{generate-agwf0v5r.js → kv-55dqfegw.js} +11 -11
- package/dist/chunks/{generate-caqvfgf5.js → kv-56c2krc0.js} +326 -326
- package/dist/chunks/{generate-1j9w4y6h.js → kv-5dr4hgg7.js} +24 -24
- package/dist/chunks/{generate-eq1bfm3w.js → kv-5ejxf25r.js} +12 -12
- package/dist/chunks/{generate-mw3ncd47.js → kv-5jrsbfjd.js} +18 -18
- package/dist/chunks/{generate-87xrnj2a.js → kv-5k77g5zr.js} +13 -13
- package/dist/chunks/{generate-v4pzw4ea.js → kv-5kk15k00.js} +9 -9
- package/dist/chunks/{generate-5m9w47nd.js → kv-5m9w47nd.js} +1 -1
- package/dist/chunks/{generate-z2qd981m.js → kv-5rgfwmcq.js} +33 -33
- package/dist/chunks/{generate-8yty72zd.js → kv-5rsan3mw.js} +85 -85
- package/dist/chunks/{generate-x5aby0mh.js → kv-5sx2762c.js} +32 -32
- package/dist/chunks/{generate-c97hk87q.js → kv-5tkm4nky.js} +17 -17
- package/dist/chunks/{generate-5x26af84.js → kv-5x26af84.js} +4 -4
- package/dist/chunks/{generate-p7vhpwh8.js → kv-5zrxpy3q.js} +5 -5
- package/dist/chunks/{generate-rrad2nt9.js → kv-61ennm6n.js} +4 -4
- package/dist/chunks/{generate-r4dvsgaa.js → kv-66na6bfc.js} +4 -4
- package/dist/chunks/{generate-6esdw8yj.js → kv-6esdw8yj.js} +1 -1
- package/dist/chunks/{generate-ymvnz4e6.js → kv-6kd4nej0.js} +17 -17
- package/dist/chunks/{generate-nym92392.js → kv-6wv82vhb.js} +3 -3
- package/dist/chunks/{generate-3kdbrncp.js → kv-6xqtcmxs.js} +5 -5
- package/dist/chunks/{generate-a89th7t7.js → kv-6ybw2n0b.js} +18 -18
- package/dist/chunks/{generate-w7m8a9sj.js → kv-75595w94.js} +30 -30
- package/dist/chunks/{generate-c4p24wp9.js → kv-760wp627.js} +20 -20
- package/dist/chunks/{generate-76cb1hcw.js → kv-76cb1hcw.js} +1 -1
- package/dist/chunks/{generate-7bmhse3q.js → kv-7bmhse3q.js} +1 -1
- package/dist/chunks/{generate-s67dn7c0.js → kv-7dg3r1w7.js} +11 -11
- package/dist/chunks/{generate-erv8assh.js → kv-7e2neh3h.js} +17 -17
- package/dist/chunks/{generate-cytwgfbf.js → kv-7j5zmrgn.js} +4 -4
- package/dist/chunks/{generate-jvt6ewmz.js → kv-7qh08jpw.js} +3 -3
- package/dist/chunks/{generate-qjzfdart.js → kv-7r08xby2.js} +12 -12
- package/dist/chunks/{generate-dptvw9a5.js → kv-7r392kn2.js} +46 -46
- package/dist/chunks/{generate-7w2ypzdf.js → kv-7w2ypzdf.js} +1 -1
- package/dist/chunks/{generate-fpjnyk7v.js → kv-7y9vgyqs.js} +15 -15
- package/dist/chunks/{generate-4tqctrqn.js → kv-83xcdb4y.js} +6 -6
- package/dist/chunks/{generate-t763r6q6.js → kv-86dmydwe.js} +9 -9
- package/dist/chunks/{generate-hy8pjzp2.js → kv-89jhvfsn.js} +18 -18
- package/dist/chunks/{generate-8jztxfpf.js → kv-8jztxfpf.js} +1 -1
- package/dist/chunks/{generate-p3w9bnf6.js → kv-8qnscykg.js} +10 -10
- package/dist/chunks/{generate-8wtp7s3z.js → kv-8wtp7s3z.js} +1 -1
- package/dist/chunks/{generate-18g90bpv.js → kv-8x9y3wj0.js} +9 -9
- package/dist/chunks/{generate-90zstvax.js → kv-90zstvax.js} +1 -1
- package/dist/chunks/{generate-eazr4mrc.js → kv-91zgm02f.js} +28 -28
- package/dist/chunks/{generate-5092e2jb.js → kv-935mmq8c.js} +5 -5
- package/dist/chunks/{generate-s2zs9ezy.js → kv-9jj3c98z.js} +11 -11
- package/dist/chunks/{generate-w35wzz9x.js → kv-9q8g9sv8.js} +4 -4
- package/dist/chunks/{generate-wwc0wvm8.js → kv-9qgjgkb9.js} +5 -5
- package/dist/chunks/{generate-4tqs0jzk.js → kv-9tvpxs1q.js} +4 -4
- package/dist/chunks/{generate-m0cfdda0.js → kv-a04bxpfg.js} +17 -17
- package/dist/chunks/{generate-nn2w1eqe.js → kv-a3qf1gkz.js} +25 -25
- package/dist/chunks/{generate-7q0gn4vw.js → kv-a9heag1q.js} +34 -34
- package/dist/chunks/{generate-yxr9byb3.js → kv-abt0sas0.js} +33 -33
- package/dist/chunks/{generate-ebc8470v.js → kv-ae17cx8n.js} +22 -22
- package/dist/chunks/{generate-y6t48rzr.js → kv-as23t5a0.js} +21 -21
- package/dist/chunks/{generate-ayjs7tqn.js → kv-ayjs7tqn.js} +2 -2
- package/dist/chunks/{generate-h1wkcee1.js → kv-b3vkvrqf.js} +13 -13
- package/dist/chunks/{generate-b6vsg801.js → kv-b6vsg801.js} +2 -2
- package/dist/chunks/{generate-0n115jhs.js → kv-bja6bvye.js} +2 -2
- package/dist/chunks/{generate-3e5vr4ez.js → kv-bkzw6hsp.js} +18 -18
- package/dist/chunks/{generate-kdj9z3kk.js → kv-bs9erd7a.js} +17 -17
- package/dist/chunks/{generate-bstexjd6.js → kv-bstexjd6.js} +1 -1
- package/dist/chunks/{generate-1ee0r1kj.js → kv-c3rxspmj.js} +19 -19
- package/dist/chunks/{generate-yadhmhsa.js → kv-c5jgm94y.js} +6 -6
- package/dist/chunks/{generate-hdvssxsh.js → kv-c5m2a8vb.js} +8 -8
- package/dist/chunks/kv-c77hr98g.js +257 -0
- package/dist/chunks/{generate-bdgvvtkj.js → kv-cb8bjp2w.js} +4 -4
- package/dist/chunks/{generate-9vpjb0mc.js → kv-ceka3dkk.js} +25 -25
- package/dist/chunks/{generate-666bv3ay.js → kv-cw10c582.js} +5 -5
- package/dist/chunks/{generate-cwrgdav8.js → kv-cwrgdav8.js} +2 -2
- package/dist/chunks/{generate-7c4ttkny.js → kv-cyw3w6mc.js} +33 -33
- package/dist/chunks/{generate-rxrz6b15.js → kv-d0h96hzn.js} +2 -2
- package/dist/chunks/{generate-cjj6cyve.js → kv-d3r57h85.js} +21 -21
- package/dist/chunks/{generate-q5ksxkha.js → kv-d3x5xz6w.js} +6 -6
- package/dist/chunks/{generate-d4v9tmah.js → kv-d4v9tmah.js} +2 -2
- package/dist/chunks/{generate-n3hk2jtv.js → kv-ddt4fr4j.js} +13 -13
- package/dist/chunks/{generate-az9xpas6.js → kv-dk38r1a2.js} +7 -7
- package/dist/chunks/{generate-y3x0evb5.js → kv-dm6ksgvz.js} +8 -8
- package/dist/chunks/{generate-2ma0e9a9.js → kv-dmfyzmpg.js} +19 -19
- package/dist/chunks/{generate-hdv37mps.js → kv-drj7ak6f.js} +28 -28
- package/dist/chunks/{generate-drvbhkez.js → kv-drvbhkez.js} +2 -2
- package/dist/chunks/{generate-dt77769w.js → kv-dt77769w.js} +1 -1
- package/dist/chunks/{generate-wby0kqsc.js → kv-e07q2w5p.js} +4 -4
- package/dist/chunks/{generate-3swdr1y8.js → kv-e2m0e281.js} +12 -12
- package/dist/chunks/{generate-e834z07m.js → kv-e834z07m.js} +1 -1
- package/dist/chunks/{generate-gbbntbvj.js → kv-eg90dvv9.js} +35 -35
- package/dist/chunks/{generate-2ae0bb16.js → kv-evhj5yhc.js} +14 -14
- package/dist/chunks/{generate-s857ash9.js → kv-ex0pka66.js} +5 -5
- package/dist/chunks/{generate-pt5qt6br.js → kv-f2k9m1r5.js} +11 -11
- package/dist/chunks/{generate-kz9rq8ns.js → kv-f4r96g21.js} +37 -37
- package/dist/chunks/{generate-5ktqpe3k.js → kv-fdx879ms.js} +14 -14
- package/dist/chunks/{generate-fffv3p7h.js → kv-fffv3p7h.js} +1 -1
- package/dist/chunks/{generate-fg9p65nk.js → kv-fg9p65nk.js} +2 -2
- package/dist/chunks/{generate-7e2708gx.js → kv-fh84vrc6.js} +25 -25
- package/dist/chunks/{generate-wagm36fb.js → kv-fhn08a80.js} +28 -28
- package/dist/chunks/{generate-zjcdctqk.js → kv-fsrz95nf.js} +25 -25
- package/dist/chunks/{generate-3ec98pns.js → kv-ftxywx64.js} +8 -8
- package/dist/chunks/{generate-zzc7r4pv.js → kv-fvssm496.js} +3 -3
- package/dist/chunks/{generate-71zez6gk.js → kv-g9cxkdwa.js} +6 -6
- package/dist/chunks/{generate-dqpjcdfr.js → kv-gbxkedf1.js} +9 -9
- package/dist/chunks/{generate-gg8p9cgs.js → kv-gg8p9cgs.js} +3 -3
- package/dist/chunks/{generate-qnz30c4x.js → kv-h2y60qcv.js} +11 -11
- package/dist/chunks/{generate-d0fjdyyv.js → kv-h3pvpee7.js} +29 -29
- package/dist/chunks/{generate-j8k0q4w6.js → kv-hde841fm.js} +1 -1
- package/dist/chunks/{generate-ea54n1e7.js → kv-hdfrs5mg.js} +9 -9
- package/dist/chunks/{generate-hfgk9wzg.js → kv-hfgk9wzg.js} +1 -1
- package/dist/chunks/{generate-trfczban.js → kv-hhd5n8kg.js} +48 -48
- package/dist/chunks/{generate-06z701rm.js → kv-hjpcddse.js} +25 -25
- package/dist/chunks/{generate-hpg1pkwy.js → kv-hpg1pkwy.js} +1 -1
- package/dist/chunks/{generate-jj9kddkh.js → kv-hyq982s1.js} +194 -194
- package/dist/chunks/{generate-aknbadps.js → kv-j74bswn5.js} +11 -11
- package/dist/chunks/{generate-7w97sera.js → kv-j8nev28t.js} +7 -7
- package/dist/chunks/{generate-q62a41c3.js → kv-j9nzbxbp.js} +32 -32
- package/dist/chunks/{generate-zkhxg2te.js → kv-jccwdt87.js} +11 -11
- package/dist/chunks/{generate-r20ydrt4.js → kv-jd4age7a.js} +4 -4
- package/dist/chunks/{generate-9g6r0xzh.js → kv-jd9njenw.js} +4 -4
- package/dist/chunks/{generate-0zzszzpj.js → kv-je4969v5.js} +5 -5
- package/dist/chunks/{generate-jfaecv01.js → kv-jfaecv01.js} +1 -1
- package/dist/chunks/{generate-xpfsdcm6.js → kv-jnznqa0v.js} +35 -35
- package/dist/chunks/{generate-xtbe8yyk.js → kv-jqz6w6rx.js} +17 -17
- package/dist/chunks/{generate-jtnps1zs.js → kv-jtnps1zs.js} +2 -2
- package/dist/chunks/{generate-2fhcbr2h.js → kv-jvdf543n.js} +5 -5
- package/dist/chunks/{generate-s7kbkgr5.js → kv-jx4dw3ag.js} +14 -14
- package/dist/chunks/{generate-3yr9ad7b.js → kv-jyv46rdb.js} +20 -20
- package/dist/chunks/{generate-k814nvkf.js → kv-k814nvkf.js} +1 -1
- package/dist/chunks/{generate-mmk7c5zv.js → kv-ka5qgwzt.js} +27 -27
- package/dist/chunks/{generate-vpn990f9.js → kv-kaezavbt.js} +7 -7
- package/dist/chunks/{generate-8gjt3z81.js → kv-kh14z306.js} +7 -7
- package/dist/chunks/{generate-nbzxv6ct.js → kv-kjz2x0t6.js} +4 -4
- package/dist/chunks/{generate-kt3bjfbg.js → kv-kt3bjfbg.js} +1 -1
- package/dist/chunks/{generate-2g290e82.js → kv-ktcb05j9.js} +51 -51
- package/dist/chunks/{generate-nzd678w9.js → kv-kvyjzh70.js} +43 -43
- package/dist/chunks/{generate-dbp9zbdw.js → kv-kw1ywfqs.js} +17 -17
- package/dist/chunks/{generate-vyebj7xm.js → kv-kwn3ssfm.js} +8 -8
- package/dist/chunks/{generate-zp10wf5q.js → kv-kwndref6.js} +6 -6
- package/dist/chunks/{generate-m1714858.js → kv-m1714858.js} +1 -1
- package/dist/chunks/{generate-gq58s2jg.js → kv-m2d0yhwr.js} +15 -15
- package/dist/chunks/{generate-7v4h4gdx.js → kv-m72tv8hd.js} +3 -3
- package/dist/chunks/{generate-vsnnaxjq.js → kv-m7xh3h0x.js} +4 -4
- package/dist/chunks/{generate-m9w0rfyh.js → kv-m9w0rfyh.js} +1 -1
- package/dist/chunks/{generate-1m60qraa.js → kv-me84cmg9.js} +45 -45
- package/dist/chunks/{generate-nx7gw4xs.js → kv-myytq8fm.js} +32 -32
- package/dist/chunks/{generate-91h8br7e.js → kv-mz6map7w.js} +24 -24
- package/dist/chunks/{generate-hzrfc1p4.js → kv-n7d88tpn.js} +3 -3
- package/dist/chunks/{generate-7aa2mjr2.js → kv-n81rxgvg.js} +11 -11
- package/dist/chunks/{generate-p7nnq0h5.js → kv-n8khhpxx.js} +14 -14
- package/dist/chunks/{generate-nah043kf.js → kv-nah043kf.js} +1 -1
- package/dist/chunks/{generate-ea418bh9.js → kv-nhbhgapw.js} +7 -7
- package/dist/chunks/{generate-0vsxvdtn.js → kv-nx76pwqd.js} +18 -18
- package/dist/chunks/{generate-p015t6z3.js → kv-p015t6z3.js} +2 -2
- package/dist/chunks/{generate-d9ym7arr.js → kv-p4nh6pwc.js} +5 -5
- package/dist/chunks/{generate-pkmfc50t.js → kv-p7j90a4h.js} +7 -7
- package/dist/chunks/{generate-6whdpt6t.js → kv-pchrqqdm.js} +21 -21
- package/dist/chunks/{generate-pknna89w.js → kv-pknna89w.js} +1 -1
- package/dist/chunks/{generate-hs9fnnsf.js → kv-pw71cva5.js} +11 -11
- package/dist/chunks/{generate-cq2w5zye.js → kv-pxhg702b.js} +1 -1
- package/dist/chunks/{generate-zcsbj68c.js → kv-q2kjegb7.js} +23 -23
- package/dist/chunks/{generate-q85rya1m.js → kv-q85rya1m.js} +1 -1
- package/dist/chunks/{generate-6hy38yqe.js → kv-q9np0saj.js} +13 -13
- package/dist/chunks/{generate-z03xx0zs.js → kv-qbwb6asr.js} +11 -11
- package/dist/chunks/{generate-qedarahg.js → kv-qfa3cv49.js} +9 -9
- package/dist/chunks/{generate-m16tgpdr.js → kv-qkmqhy1p.js} +25 -25
- package/dist/chunks/{generate-0ma4nchc.js → kv-qnqasnye.js} +6 -6
- package/dist/chunks/{generate-qp7r0hxv.js → kv-qp7r0hxv.js} +1 -1
- package/dist/chunks/{generate-1q6dszbz.js → kv-qqycp87v.js} +10 -10
- package/dist/chunks/{generate-q83e4r6c.js → kv-qydyzxp6.js} +11 -11
- package/dist/chunks/{generate-mkmw974x.js → kv-qzbnxppj.js} +20 -20
- package/dist/chunks/{generate-b77f8j6q.js → kv-r0g6ap0x.js} +5 -5
- package/dist/chunks/{generate-r0yr0wbs.js → kv-r0yr0wbs.js} +1 -1
- package/dist/chunks/{generate-nm02mz5v.js → kv-r49z6jqe.js} +3 -3
- package/dist/chunks/{generate-r542h3bh.js → kv-r542h3bh.js} +1 -1
- package/dist/chunks/{generate-rcv4y2hr.js → kv-r5tcggmq.js} +21 -21
- package/dist/chunks/{generate-8wntc457.js → kv-r8kayhxa.js} +26 -26
- package/dist/chunks/{generate-rb9dy4dg.js → kv-rb9dy4dg.js} +1 -1
- package/dist/chunks/{generate-db9qyw1r.js → kv-rka2t92q.js} +35 -35
- package/dist/chunks/{generate-n7xqecct.js → kv-rmg9yy75.js} +51 -51
- package/dist/chunks/{generate-2ztdhh52.js → kv-rse61z3e.js} +82 -82
- package/dist/chunks/{generate-rt5dr6hb.js → kv-rt5dr6hb.js} +1 -1
- package/dist/chunks/{generate-9hykb5cg.js → kv-rtjw24t9.js} +17 -17
- package/dist/chunks/{generate-ra053bj0.js → kv-rvc61n5b.js} +13 -13
- package/dist/chunks/{generate-jq3m410h.js → kv-rw0xsr40.js} +4 -4
- package/dist/chunks/{generate-dnn01zm9.js → kv-s13sq3kz.js} +30 -30
- package/dist/chunks/{generate-xsajkasw.js → kv-s61hs6sc.js} +12 -12
- package/dist/chunks/{generate-bxgg086j.js → kv-s6yf7284.js} +40 -40
- package/dist/chunks/{generate-3vj30g40.js → kv-s8arvpx8.js} +23 -23
- package/dist/chunks/{generate-sa3fpqfw.js → kv-sa3fpqfw.js} +2 -2
- package/dist/chunks/{generate-h50mtd3p.js → kv-shf9kqdk.js} +12 -12
- package/dist/chunks/{generate-sqjzf8x2.js → kv-sqjzf8x2.js} +1 -1
- package/dist/chunks/{generate-sbse9r81.js → kv-srqjx27b.js} +12 -12
- package/dist/chunks/{generate-ssfehs1z.js → kv-ssfehs1z.js} +1 -1
- package/dist/chunks/{generate-p10enhg4.js → kv-stf0fspw.js} +21 -21
- package/dist/chunks/{generate-svcy3p9a.js → kv-svcy3p9a.js} +1 -1
- package/dist/chunks/{generate-stzr70w7.js → kv-t1qkrhj3.js} +5 -5
- package/dist/chunks/{generate-n2hv359w.js → kv-t6mph8g7.js} +61 -61
- package/dist/chunks/{generate-de9fn7va.js → kv-tadqmw12.js} +10 -10
- package/dist/chunks/{generate-1t55kv49.js → kv-tbnr3qzn.js} +15 -15
- package/dist/chunks/{generate-tczq8hjw.js → kv-tczq8hjw.js} +1 -1
- package/dist/chunks/{generate-tc7v1aj8.js → kv-twbd5t10.js} +3 -3
- package/dist/chunks/{generate-twssxy5n.js → kv-twssxy5n.js} +2 -2
- package/dist/chunks/{generate-x0cjh2rw.js → kv-v1w3n95q.js} +11 -11
- package/dist/chunks/{generate-v2r1d0zg.js → kv-v2r1d0zg.js} +1 -1
- package/dist/chunks/{generate-kg4a0hxh.js → kv-v3xc7t3q.js} +10 -10
- package/dist/chunks/{generate-5ee85207.js → kv-va23x1ev.js} +24 -24
- package/dist/chunks/{generate-mqe7nf5n.js → kv-vb80j1wh.js} +3 -3
- package/dist/chunks/{generate-4g9y7qp0.js → kv-vbhxch91.js} +11 -11
- package/dist/chunks/{generate-veqvce7d.js → kv-veqvce7d.js} +1 -1
- package/dist/chunks/{generate-kw1sybbj.js → kv-vgbe0hx2.js} +6 -6
- package/dist/chunks/{generate-qj7q2t7b.js → kv-vp0e260z.js} +21 -21
- package/dist/chunks/{generate-50yzfa9j.js → kv-vp2s2yka.js} +11 -11
- package/dist/chunks/{generate-njb5ba6d.js → kv-vv3nc6b1.js} +26 -14
- package/dist/chunks/{generate-x21tw6yf.js → kv-vx10x2dk.js} +5 -5
- package/dist/chunks/{generate-w2eysc6j.js → kv-w2eysc6j.js} +2 -2
- package/dist/chunks/{generate-rzx2fdc9.js → kv-w3nmgmjr.js} +25 -25
- package/dist/chunks/{generate-w3wsvvr9.js → kv-w3wsvvr9.js} +1 -1
- package/dist/chunks/{generate-ypv1jkb1.js → kv-w4p9wx71.js} +33 -33
- package/dist/chunks/{generate-wakvkjy4.js → kv-wakvkjy4.js} +1 -1
- package/dist/chunks/{generate-6wxsr7gx.js → kv-wct2263p.js} +8 -8
- package/dist/chunks/{generate-jwxx7s5d.js → kv-wcz009vq.js} +7 -7
- package/dist/chunks/{generate-wd87259q.js → kv-wd87259q.js} +1 -1
- package/dist/chunks/{generate-9746xxpe.js → kv-wjsq0ywf.js} +18 -18
- package/dist/chunks/{generate-wnhgecwx.js → kv-wnhgecwx.js} +1 -1
- package/dist/chunks/{generate-wr3re1en.js → kv-wr3re1en.js} +1 -1
- package/dist/chunks/{generate-vyv3g1eh.js → kv-ww3hkwgk.js} +11 -11
- package/dist/chunks/{generate-mybk4etn.js → kv-x50xqm0y.js} +27 -27
- package/dist/chunks/{generate-ngwmsjrv.js → kv-x6pnkns2.js} +3 -3
- package/dist/chunks/{generate-dt4hj756.js → kv-x7p5d4ez.js} +11 -11
- package/dist/chunks/{generate-hxa57kkw.js → kv-xgdb09b7.js} +16 -16
- package/dist/chunks/{generate-yzgm5439.js → kv-xp28p2w2.js} +12 -12
- package/dist/chunks/{generate-eh8g1rp4.js → kv-xtqtqx9z.js} +54 -54
- package/dist/chunks/{generate-4v40nn40.js → kv-xya1t4hx.js} +16 -16
- package/dist/chunks/{generate-yara3q77.js → kv-yara3q77.js} +2 -2
- package/dist/chunks/{generate-yb20nhc3.js → kv-yb20nhc3.js} +1 -1
- package/dist/chunks/{generate-w84j477y.js → kv-yjb6ndj5.js} +3 -3
- package/dist/chunks/{generate-w5k8ndhw.js → kv-z06a16gz.js} +35 -35
- package/dist/chunks/{generate-z0bkrqjs.js → kv-z0bkrqjs.js} +1 -1
- package/dist/chunks/{generate-z38nccrw.js → kv-z38nccrw.js} +1 -1
- package/dist/chunks/{generate-wkz62ntz.js → kv-z5kj034w.js} +28 -28
- package/dist/chunks/kv-z7bdqmx5.js +18 -0
- package/dist/chunks/{generate-s7wcbp6p.js → kv-zczdm7ss.js} +37 -37
- package/dist/chunks/{generate-4z2wtcvt.js → kv-zek7wtxf.js} +27 -27
- package/dist/chunks/{generate-9f3sjfep.js → kv-zgd8t41s.js} +9 -9
- package/dist/chunks/{generate-zgkm4kzm.js → kv-zgkm4kzm.js} +3 -3
- package/dist/chunks/{generate-ztfb9jsa.js → kv-zt0ned3b.js} +42 -32
- package/dist/chunks/{generate-kjgnzevm.js → kv-zx29snpc.js} +9 -9
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +91 -91
- package/dist/config/discovery.js +90 -90
- package/dist/config/integration.js +3 -3
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +107 -107
- package/dist/config/plugin/agent.js +121 -121
- package/dist/config/plugin/command.js +219 -219
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +142 -142
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +122 -122
- package/dist/config/plugin/image.js +121 -121
- package/dist/config/plugin/instruction.js +121 -121
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +128 -128
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +123 -123
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +138 -138
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +145 -145
- package/dist/config/plugin/snapshot.js +121 -121
- package/dist/config/plugin/source.js +122 -122
- package/dist/config/plugin/tool-output.js +122 -122
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +123 -123
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -126
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +89 -89
- package/dist/database/database.js +72 -72
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration.gen.js +55 -55
- package/dist/database/migration.js +57 -57
- 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 +100 -100
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +375 -375
- 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 +101 -101
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +103 -103
- 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 +76 -76
- package/dist/file-access.js +148 -148
- package/dist/file-mutation.js +102 -102
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/file-watch.js +83 -83
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +234 -234
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +107 -107
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +112 -112
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +95 -95
- package/dist/generate.js +115 -115
- package/dist/git.js +11 -11
- 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 +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +1 -1
- package/dist/instance.js +368 -368
- package/dist/instruction-discovery.js +90 -90
- package/dist/instructions/builtins.js +95 -95
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +93 -93
- package/dist/job.js +82 -82
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +79 -79
- package/dist/location-activity.js +163 -163
- package/dist/location-lifecycle.js +142 -142
- package/dist/location-service-map.js +94 -94
- package/dist/location-services.js +369 -369
- package/dist/location.js +97 -97
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +99 -99
- package/dist/mcp/index.js +117 -117
- package/dist/mcp/instructions.js +168 -168
- package/dist/mcp/oauth.js +84 -84
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +98 -98
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +107 -107
- package/dist/model-retry.js +1 -1
- package/dist/model.js +108 -108
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +116 -116
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +141 -141
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +96 -96
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +81 -81
- package/dist/plugin/agent.js +80 -80
- package/dist/plugin/command.js +108 -108
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +225 -225
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +342 -342
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +105 -105
- package/dist/plugin/module.js +123 -123
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +138 -138
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +98 -98
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +121 -121
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +117 -117
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +101 -101
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +103 -103
- package/dist/plugin/provider/gitlab.js +101 -101
- package/dist/plugin/provider/google-vertex.js +118 -118
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +84 -84
- package/dist/plugin/provider/lmstudio.js +130 -130
- package/dist/plugin/provider/local.js +127 -127
- package/dist/plugin/provider/modal.js +100 -100
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +130 -130
- package/dist/plugin/provider/openai-context-caps.js +98 -98
- package/dist/plugin/provider/openai.js +121 -121
- package/dist/plugin/provider/opencode.js +124 -124
- package/dist/plugin/provider/openrouter.js +99 -99
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +85 -85
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +99 -99
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +120 -120
- package/dist/plugin/provider/vercel.js +98 -98
- package/dist/plugin/provider/vllm.js +128 -128
- package/dist/plugin/provider/xai.js +99 -99
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +175 -175
- package/dist/plugin/sdk.js +80 -80
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +359 -359
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +92 -92
- package/dist/plugin/vcs/hg.js +92 -92
- package/dist/plugin/verbosity.js +101 -101
- package/dist/plugin/warming.js +119 -119
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +4 -4
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +232 -232
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +98 -98
- package/dist/provider.js +107 -107
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +102 -102
- package/dist/reference/instructions.js +96 -96
- package/dist/reference.js +98 -98
- package/dist/repository-cache.js +88 -88
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +103 -103
- package/dist/rpc.js +94 -94
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/blob.js +120 -120
- package/dist/session/command.js +80 -80
- package/dist/session/compaction.js +162 -162
- package/dist/session/context.js +188 -188
- package/dist/session/diff.js +96 -96
- 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 +228 -228
- package/dist/session/execution.js +154 -154
- package/dist/session/generate.js +188 -188
- package/dist/session/history.js +127 -127
- package/dist/session/inbox.js +134 -134
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +83 -83
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +132 -132
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +155 -155
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +156 -156
- package/dist/session/projector.js +134 -134
- package/dist/session/prompt.js +140 -140
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +130 -130
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +236 -236
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +108 -108
- package/dist/session/runner/publish-llm-event.js +141 -141
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +152 -152
- package/dist/session/runner/to-llm-message.js +128 -128
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +135 -135
- package/dist/session/skill.js +139 -139
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +79 -79
- package/dist/session/store.js +133 -133
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +219 -219
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +186 -186
- package/dist/session/to-session-error.js +140 -140
- package/dist/session/transfer.js +224 -224
- package/dist/session/usage.js +1 -1
- package/dist/session.js +223 -223
- 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 +7 -7
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +143 -143
- package/dist/skill.js +148 -148
- package/dist/snapshot.js +101 -101
- 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 +167 -167
- package/dist/tool/plugin/edit.js +156 -156
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +160 -160
- package/dist/tool/plugin/grep.js +160 -160
- package/dist/tool/plugin/mcp-resource.js +154 -154
- package/dist/tool/plugin/opencode.js +153 -153
- package/dist/tool/plugin/patch.js +154 -154
- package/dist/tool/plugin/question.js +138 -138
- package/dist/tool/plugin/read.js +159 -159
- package/dist/tool/plugin/shell.js +224 -224
- package/dist/tool/plugin/skill.js +147 -147
- package/dist/tool/plugin/subagent.js +226 -226
- package/dist/tool/plugin/todo.js +143 -143
- package/dist/tool/plugin/webfetch.js +147 -147
- package/dist/tool/plugin/websearch.js +147 -147
- package/dist/tool/plugin/write.js +156 -156
- package/dist/tool/read-filesystem.js +108 -108
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/usage-limits.js +93 -93
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +100 -100
- 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/variant.js +99 -99
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +97 -97
- package/dist/voice.js +96 -96
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +82 -82
- package/dist/wellknown.js +85 -85
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +88 -88
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +97 -97
- package/dist/worktree.js +106 -106
- package/package.json +8 -8
- package/dist/chunks/generate-6bshxcsx.js +0 -18
- package/dist/chunks/generate-ygprdr8p.js +0 -257
- /package/dist/chunks/{generate-0qkdqm5v.js → kv-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{generate-0zkw76rk.js → kv-0zkw76rk.js} +0 -0
- /package/dist/chunks/{generate-17cy0kzp.js → kv-17cy0kzp.js} +0 -0
- /package/dist/chunks/{generate-1cnp2v09.js → kv-1cnp2v09.js} +0 -0
- /package/dist/chunks/{generate-1jakw16s.js → kv-1jakw16s.js} +0 -0
- /package/dist/chunks/{generate-24dcb14g.js → kv-24dcb14g.js} +0 -0
- /package/dist/chunks/{generate-2710q6r3.js → kv-2710q6r3.js} +0 -0
- /package/dist/chunks/{generate-2bv980vf.js → kv-2bv980vf.js} +0 -0
- /package/dist/chunks/{generate-2c3vjs8z.js → kv-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{generate-359p4xyc.js → kv-359p4xyc.js} +0 -0
- /package/dist/chunks/{generate-3asan66x.js → kv-3asan66x.js} +0 -0
- /package/dist/chunks/{generate-3v8g72cx.js → kv-3v8g72cx.js} +0 -0
- /package/dist/chunks/{generate-3wcehsnq.js → kv-3wcehsnq.js} +0 -0
- /package/dist/chunks/{generate-43n2bw4t.js → kv-43n2bw4t.js} +0 -0
- /package/dist/chunks/{generate-4knz6hnm.js → kv-4knz6hnm.js} +0 -0
- /package/dist/chunks/{generate-4m86bj6y.js → kv-4m86bj6y.js} +0 -0
- /package/dist/chunks/{generate-4vcrnpx2.js → kv-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{generate-4y7fprxs.js → kv-4y7fprxs.js} +0 -0
- /package/dist/chunks/{generate-53557ph1.js → kv-53557ph1.js} +0 -0
- /package/dist/chunks/{generate-550bvhaj.js → kv-550bvhaj.js} +0 -0
- /package/dist/chunks/{generate-5w3e23ze.js → kv-5w3e23ze.js} +0 -0
- /package/dist/chunks/{generate-6prwharc.js → kv-6prwharc.js} +0 -0
- /package/dist/chunks/{generate-6q2bdcd1.js → kv-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{generate-7akdwqpd.js → kv-7akdwqpd.js} +0 -0
- /package/dist/chunks/{generate-7m9af43g.js → kv-7m9af43g.js} +0 -0
- /package/dist/chunks/{generate-822emrt2.js → kv-822emrt2.js} +0 -0
- /package/dist/chunks/{generate-84wd9syh.js → kv-84wd9syh.js} +0 -0
- /package/dist/chunks/{generate-88xbtdfr.js → kv-88xbtdfr.js} +0 -0
- /package/dist/chunks/{generate-8n3pysct.js → kv-8n3pysct.js} +0 -0
- /package/dist/chunks/{generate-8wj87zfr.js → kv-8wj87zfr.js} +0 -0
- /package/dist/chunks/{generate-9a4afbnw.js → kv-9a4afbnw.js} +0 -0
- /package/dist/chunks/{generate-9rqn6x4v.js → kv-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{generate-a058387c.js → kv-a058387c.js} +0 -0
- /package/dist/chunks/{generate-a6k6eb26.js → kv-a6k6eb26.js} +0 -0
- /package/dist/chunks/{generate-af5trqkr.js → kv-af5trqkr.js} +0 -0
- /package/dist/chunks/{generate-afrmfg78.js → kv-afrmfg78.js} +0 -0
- /package/dist/chunks/{generate-aqzs7mqg.js → kv-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{generate-atq7p7m5.js → kv-atq7p7m5.js} +0 -0
- /package/dist/chunks/{generate-beh6qq61.js → kv-beh6qq61.js} +0 -0
- /package/dist/chunks/{generate-bkyjaxrp.js → kv-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{generate-bmr6ed5q.js → kv-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{generate-cf4snx6d.js → kv-cf4snx6d.js} +0 -0
- /package/dist/chunks/{generate-cqv5kn06.js → kv-cqv5kn06.js} +0 -0
- /package/dist/chunks/{generate-cvy3z8tj.js → kv-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{generate-d9fn303g.js → kv-d9fn303g.js} +0 -0
- /package/dist/chunks/{generate-d9jj8t3e.js → kv-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{generate-dajrwvna.js → kv-dajrwvna.js} +0 -0
- /package/dist/chunks/{generate-dap0rakb.js → kv-dap0rakb.js} +0 -0
- /package/dist/chunks/{generate-df08tz66.js → kv-df08tz66.js} +0 -0
- /package/dist/chunks/{generate-dy18nga0.js → kv-dy18nga0.js} +0 -0
- /package/dist/chunks/{generate-e5kj55wp.js → kv-e5kj55wp.js} +0 -0
- /package/dist/chunks/{generate-e73j6tqm.js → kv-e73j6tqm.js} +0 -0
- /package/dist/chunks/{generate-ec1grn59.js → kv-ec1grn59.js} +0 -0
- /package/dist/chunks/{generate-eh3zwz77.js → kv-eh3zwz77.js} +0 -0
- /package/dist/chunks/{generate-emrn6kk6.js → kv-emrn6kk6.js} +0 -0
- /package/dist/chunks/{generate-f0mxakyp.js → kv-f0mxakyp.js} +0 -0
- /package/dist/chunks/{generate-f6n9ztr4.js → kv-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{generate-faypxj3z.js → kv-faypxj3z.js} +0 -0
- /package/dist/chunks/{generate-fd410y7t.js → kv-fd410y7t.js} +0 -0
- /package/dist/chunks/{generate-fkpq3x5p.js → kv-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{generate-g4wezp1m.js → kv-g4wezp1m.js} +0 -0
- /package/dist/chunks/{generate-g86h250q.js → kv-g86h250q.js} +0 -0
- /package/dist/chunks/{generate-gebd4c9n.js → kv-gebd4c9n.js} +0 -0
- /package/dist/chunks/{generate-gftt206x.js → kv-gftt206x.js} +0 -0
- /package/dist/chunks/{generate-hcxmzztb.js → kv-hcxmzztb.js} +0 -0
- /package/dist/chunks/{generate-hk9envan.js → kv-hk9envan.js} +0 -0
- /package/dist/chunks/{generate-j2ntwpah.js → kv-j2ntwpah.js} +0 -0
- /package/dist/chunks/{generate-j5zkgpj8.js → kv-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{generate-jjkms2e6.js → kv-jjkms2e6.js} +0 -0
- /package/dist/chunks/{generate-jr7sbwjy.js → kv-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{generate-jwfs4k6c.js → kv-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{generate-jwr30sdr.js → kv-jwr30sdr.js} +0 -0
- /package/dist/chunks/{generate-jze0r7bz.js → kv-jze0r7bz.js} +0 -0
- /package/dist/chunks/{generate-jzg6c2d5.js → kv-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{generate-m18g726c.js → kv-m18g726c.js} +0 -0
- /package/dist/chunks/{generate-mp448xyj.js → kv-mp448xyj.js} +0 -0
- /package/dist/chunks/{generate-msx8hqn2.js → kv-msx8hqn2.js} +0 -0
- /package/dist/chunks/{generate-n05xt0ee.js → kv-n05xt0ee.js} +0 -0
- /package/dist/chunks/{generate-n3j8tn72.js → kv-n3j8tn72.js} +0 -0
- /package/dist/chunks/{generate-ncqqe42p.js → kv-ncqqe42p.js} +0 -0
- /package/dist/chunks/{generate-njntx4h6.js → kv-njntx4h6.js} +0 -0
- /package/dist/chunks/{generate-p71gwv9c.js → kv-p71gwv9c.js} +0 -0
- /package/dist/chunks/{generate-q3sfg36h.js → kv-q3sfg36h.js} +0 -0
- /package/dist/chunks/{generate-q74kybfr.js → kv-q74kybfr.js} +0 -0
- /package/dist/chunks/{generate-qaymkmh1.js → kv-qaymkmh1.js} +0 -0
- /package/dist/chunks/{generate-qb87gjwd.js → kv-qb87gjwd.js} +0 -0
- /package/dist/chunks/{generate-qfa1cgps.js → kv-qfa1cgps.js} +0 -0
- /package/dist/chunks/{generate-qg3g05ea.js → kv-qg3g05ea.js} +0 -0
- /package/dist/chunks/{generate-qrg20bc0.js → kv-qrg20bc0.js} +0 -0
- /package/dist/chunks/{generate-rcb2kzg1.js → kv-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{generate-sdp7kfr6.js → kv-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{generate-ssg3fenm.js → kv-ssg3fenm.js} +0 -0
- /package/dist/chunks/{generate-ve7vex1e.js → kv-ve7vex1e.js} +0 -0
- /package/dist/chunks/{generate-w803qqfp.js → kv-w803qqfp.js} +0 -0
- /package/dist/chunks/{generate-wc3fc9cn.js → kv-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{generate-wer8tq1h.js → kv-wer8tq1h.js} +0 -0
- /package/dist/chunks/{generate-wtztk69x.js → kv-wtztk69x.js} +0 -0
- /package/dist/chunks/{generate-x0ckcb58.js → kv-x0ckcb58.js} +0 -0
- /package/dist/chunks/{generate-x61499pn.js → kv-x61499pn.js} +0 -0
- /package/dist/chunks/{generate-y44na4kk.js → kv-y44na4kk.js} +0 -0
- /package/dist/chunks/{generate-y8f7s663.js → kv-y8f7s663.js} +0 -0
- /package/dist/chunks/{generate-ygaqb7jw.js → kv-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{generate-ym463w8f.js → kv-ym463w8f.js} +0 -0
- /package/dist/chunks/{generate-z5v4ffb3.js → kv-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{generate-z9919s4g.js → kv-z9919s4g.js} +0 -0
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-w2eysc6j.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin37,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint5
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint5 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin37 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin33 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint5);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint5, Plugin37, exports_exa };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service56
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-q85rya1m.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-z7bdqmx5.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service40
|
|
9
|
+
} from "./kv-2b2tn81v.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./kv-k814nvkf.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./kv-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -23,7 +23,7 @@ __export(exports_shell3, {
|
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
25
|
const instances = yield* Service56;
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service40), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-cb8bjp2w.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service70
|
|
6
|
+
} from "./kv-8qnscykg.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
changes2,
|
|
12
12
|
inherit2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./kv-204s3925.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
Service32,
|
|
16
16
|
awaitActivation2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./kv-z7bdqmx5.js";
|
|
18
18
|
import {
|
|
19
19
|
make11,
|
|
20
20
|
requirements3,
|
|
21
21
|
storage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./kv-hyq982s1.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./kv-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/plugin.ts
|
|
28
28
|
var exports_plugin2 = {};
|
|
29
29
|
__export(exports_plugin2, {
|
|
30
|
-
Event: () =>
|
|
30
|
+
Event: () => Event2,
|
|
31
31
|
GuiBundle: () => GuiBundle2,
|
|
32
32
|
ID: () => ID2,
|
|
33
33
|
Info: () => Info3,
|
|
34
34
|
Plugin: () => exports_plugin2,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service32,
|
|
36
36
|
Source: () => Source2,
|
|
37
37
|
State: () => State2,
|
|
38
38
|
awaitActivation: () => awaitActivation2,
|
|
39
|
-
node: () =>
|
|
39
|
+
node: () => node15
|
|
40
40
|
});
|
|
41
|
-
import { Event as
|
|
41
|
+
import { Event as Event2, GuiBundle as GuiBundle2, ID as ID2, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
42
42
|
import { readFile } from "node:fs/promises";
|
|
43
43
|
import { fileURLToPath } from "node:url";
|
|
44
44
|
import { Plugin } from "@opencode/schema/plugin";
|
|
45
45
|
import { Node } from "@opencode/util/effect/app-node";
|
|
46
46
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
48
48
|
const bus = yield* Service85;
|
|
49
|
-
const kv = yield*
|
|
49
|
+
const kv = yield* Service70;
|
|
50
50
|
const scope = yield* Scope.make();
|
|
51
51
|
const active = new Map;
|
|
52
52
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -214,7 +214,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
214
214
|
yield* shutdown2(Scope.close(scope, exit));
|
|
215
215
|
}));
|
|
216
216
|
yield* Effect.addFinalizer(close);
|
|
217
|
-
return
|
|
217
|
+
return Service32.of({
|
|
218
218
|
activate,
|
|
219
219
|
close,
|
|
220
220
|
awaitActivation: ready.await,
|
|
@@ -232,10 +232,10 @@ function slotInfo(slot) {
|
|
|
232
232
|
features: slot.plugin.features ?? { server: true }
|
|
233
233
|
};
|
|
234
234
|
}
|
|
235
|
-
var
|
|
236
|
-
service:
|
|
235
|
+
var node15 = Node.makeLocationNode({
|
|
236
|
+
service: Service32,
|
|
237
237
|
layer,
|
|
238
238
|
deps: [requirements3]
|
|
239
239
|
});
|
|
240
240
|
|
|
241
|
-
export {
|
|
241
|
+
export { node15, exports_plugin2, Event2, GuiBundle2, ID2, Info3, Source2, State2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-tczq8hjw.js";
|
|
4
4
|
import {
|
|
5
5
|
create3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-204s3925.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./kv-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool-output.ts
|
|
12
12
|
var exports_tool_output2 = {};
|
|
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
|
|
|
15
15
|
MAX_BYTES: () => MAX_BYTES2,
|
|
16
16
|
MAX_LINES: () => MAX_LINES2,
|
|
17
17
|
RETENTION: () => RETENTION3,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service43,
|
|
19
19
|
ToolOutput: () => exports_tool_output2,
|
|
20
20
|
fileName: () => fileName2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node47
|
|
22
22
|
});
|
|
23
23
|
import path from "path";
|
|
24
24
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
|
|
|
32
32
|
var DIRECTORY3 = "tool-output";
|
|
33
33
|
var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service43 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(Service43, 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);
|
|
@@ -121,7 +121,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
121
121
|
yield* fs.writeWithDirs(file, bytes).pipe(Effect.orDie);
|
|
122
122
|
return file;
|
|
123
123
|
});
|
|
124
|
-
return
|
|
124
|
+
return Service43.of({
|
|
125
125
|
transform: state.transform,
|
|
126
126
|
reload: state.reload,
|
|
127
127
|
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 node47 = makeLocationNode({
|
|
143
|
+
service: Service43,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service43, node47, exports_tool_output2 };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service80
|
|
3
|
+
} from "./kv-4a3eytr1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service61
|
|
6
|
+
} from "./kv-zczdm7ss.js";
|
|
7
7
|
import {
|
|
8
8
|
ID3,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service13
|
|
14
|
+
} from "./kv-1qws1cxk.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./kv-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
22
|
-
Input: () =>
|
|
20
|
+
var exports_websearch = {};
|
|
21
|
+
__export(exports_websearch, {
|
|
22
|
+
Input: () => Input3,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
25
|
-
WebSearchTool: () =>
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
24
|
+
Plugin: () => Plugin3,
|
|
25
|
+
WebSearchTool: () => exports_websearch,
|
|
26
|
+
description: () => description3,
|
|
27
|
+
name: () => name3
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/http";
|
|
32
|
-
var
|
|
32
|
+
var name3 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description3 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input3 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
46
|
provider: ID3,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin3 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service61;
|
|
53
|
+
const forms = yield* Service80;
|
|
54
|
+
const websearch = yield* Service13;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name3,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description3,
|
|
59
|
+
input: Input3,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name3,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name3];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name3, NO_RESULTS2, description3, Input3, Plugin3, exports_websearch };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
stringify2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-1jakw16s.js";
|
|
7
7
|
import {
|
|
8
8
|
contentFilterError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./kv-9qgjgkb9.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/publish-llm-event.ts
|
|
12
12
|
import { isRecord } from "@opencode/util/record";
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service65
|
|
4
|
+
} from "./kv-2s2qahr1.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service43
|
|
7
|
+
} from "./kv-ww3hkwgk.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./kv-hpg1pkwy.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./kv-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin31
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin31 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service65;
|
|
27
|
+
const output = yield* Service43;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin4 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin31, exports_tool_output };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service48,
|
|
3
|
+
node52
|
|
4
|
+
} from "./kv-r8kayhxa.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
8
|
make21,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./kv-1kn6jdkn.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./kv-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ReferenceInstructions: () =>
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
16
|
+
var exports_instructions4 = {};
|
|
17
|
+
__export(exports_instructions4, {
|
|
18
|
+
ReferenceInstructions: () => exports_instructions4,
|
|
19
|
+
Service: () => Service24,
|
|
20
|
+
node: () => node28
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -61,11 +61,11 @@ var update = (previous, current) => {
|
|
|
61
61
|
`);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service24 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const references = yield*
|
|
68
|
-
return
|
|
66
|
+
var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
67
|
+
const references = yield* Service48;
|
|
68
|
+
return Service24.of({
|
|
69
69
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
70
70
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
71
71
|
name: reference.name,
|
|
@@ -85,6 +85,6 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
85
85
|
})
|
|
86
86
|
});
|
|
87
87
|
}));
|
|
88
|
-
var
|
|
88
|
+
var node28 = makeLocationNode({ service: Service24, layer, deps: [node52] });
|
|
89
89
|
|
|
90
|
-
export {
|
|
90
|
+
export { Service24, node28, exports_instructions4 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-4v008n1t.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service66
|
|
6
|
+
} from "./kv-nx76pwqd.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service65
|
|
9
|
+
} from "./kv-2s2qahr1.js";
|
|
10
10
|
import {
|
|
11
11
|
statements2,
|
|
12
12
|
decision2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./kv-1r7af8ee.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./kv-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/plugin/module.ts
|
|
19
19
|
var exports_module = {};
|
|
20
20
|
__export(exports_module, {
|
|
21
21
|
LoadError: () => LoadError2,
|
|
22
22
|
PluginModule: () => exports_module,
|
|
23
|
-
make: () =>
|
|
23
|
+
make: () => make4
|
|
24
24
|
});
|
|
25
25
|
import { Host } from "@opencode/plugin/host";
|
|
26
26
|
import { GuiBundle } from "@opencode/schema/plugin";
|
|
@@ -31,9 +31,9 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
|
|
|
31
31
|
import path from "path";
|
|
32
32
|
import { readFile, stat } from "node:fs/promises";
|
|
33
33
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
34
|
-
var
|
|
35
|
-
const config = yield*
|
|
36
|
-
const watcher = yield*
|
|
34
|
+
var make4 = Effect.fn("PluginModule.make")(function* () {
|
|
35
|
+
const config = yield* Service65;
|
|
36
|
+
const watcher = yield* Service66;
|
|
37
37
|
const scope = yield* Effect.scope;
|
|
38
38
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
39
39
|
const changes = yield* PubSub.unbounded();
|
|
@@ -136,4 +136,4 @@ var loadServer = Effect.fn("PluginModule.loadServer")(function* (entrypoint, sou
|
|
|
136
136
|
return { plugin: "effect" in value ? value : fromPromise2(value), version: loaded.version };
|
|
137
137
|
});
|
|
138
138
|
|
|
139
|
-
export {
|
|
139
|
+
export { make4, LoadError2, exports_module };
|