@opencode/core 0.0.0-dev-99 → 0.0.0-dev-107
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +85 -85
- package/dist/aisdk-native.js +97 -97
- package/dist/aisdk.js +103 -103
- package/dist/app.js +9 -9
- package/dist/bus.js +79 -79
- package/dist/chunks/{voice-aj7mw0zk.js → generate-034tev2y.js} +2 -2
- package/dist/chunks/{voice-10b07186.js → generate-06z701rm.js} +23 -23
- package/dist/chunks/{voice-tvssxyt8.js → generate-0ma4nchc.js} +6 -6
- package/dist/chunks/{voice-f363njpc.js → generate-0n115jhs.js} +2 -2
- package/dist/chunks/{voice-5cdyypjb.js → generate-0rdesn2s.js} +13 -13
- package/dist/chunks/{voice-yhdj4qa2.js → generate-0vsxvdtn.js} +18 -18
- package/dist/chunks/{voice-dgz2vxrq.js → generate-0zzszzpj.js} +5 -5
- package/dist/chunks/{voice-gcjdgkn2.js → generate-18g90bpv.js} +9 -9
- package/dist/chunks/{voice-nycn27sp.js → generate-1ee0r1kj.js} +14 -14
- package/dist/chunks/{voice-27w5k9zf.js → generate-1ep2p91f.js} +2 -2
- package/dist/chunks/{voice-8mhbx0x4.js → generate-1j9w4y6h.js} +28 -28
- package/dist/chunks/{voice-gtn9c16a.js → generate-1kn6jdkn.js} +4 -4
- package/dist/chunks/{voice-ayac0pmv.js → generate-1m60qraa.js} +30 -30
- package/dist/chunks/{voice-t0k6e1ss.js → generate-1q6dszbz.js} +13 -13
- package/dist/chunks/{voice-tw2exgye.js → generate-1sfk74bq.js} +8 -8
- package/dist/chunks/{voice-x1v6dac7.js → generate-1t55kv49.js} +12 -12
- package/dist/chunks/{voice-1x2knyw4.js → generate-1x2knyw4.js} +1 -1
- package/dist/chunks/{voice-tb7p4ryh.js → generate-202bxvr4.js} +8 -8
- package/dist/chunks/{voice-204s3925.js → generate-204s3925.js} +1 -1
- package/dist/chunks/{voice-q8f8nstw.js → generate-2ae0bb16.js} +11 -11
- package/dist/chunks/{voice-s96vctdr.js → generate-2fhcbr2h.js} +5 -5
- package/dist/chunks/{voice-t34jsjd6.js → generate-2g290e82.js} +62 -62
- package/dist/chunks/{voice-qp2aqw05.js → generate-2ma0e9a9.js} +25 -25
- package/dist/chunks/{voice-qzkaf7ck.js → generate-2ztdhh52.js} +92 -92
- package/dist/chunks/{voice-vg44zv8d.js → generate-3e5vr4ez.js} +21 -21
- package/dist/chunks/{voice-zyqj5zdv.js → generate-3ec98pns.js} +5 -5
- package/dist/chunks/{voice-3hepkmqq.js → generate-3hepkmqq.js} +1 -1
- package/dist/chunks/{voice-6xqtcmxs.js → generate-3kdbrncp.js} +5 -5
- package/dist/chunks/{voice-3nnrz6f6.js → generate-3nnrz6f6.js} +1 -1
- package/dist/chunks/{voice-m22zt8nd.js → generate-3swdr1y8.js} +11 -11
- package/dist/chunks/{voice-wt5afxdw.js → generate-3vj30g40.js} +20 -20
- package/dist/chunks/{voice-m5whwk5s.js → generate-3yr9ad7b.js} +20 -20
- package/dist/chunks/{voice-vcqt97er.js → generate-4320fn7v.js} +11 -11
- package/dist/chunks/{voice-7yxj48h3.js → generate-4g9y7qp0.js} +16 -16
- package/dist/chunks/{voice-4pyp9zr9.js → generate-4pyp9zr9.js} +1 -1
- package/dist/chunks/{voice-7dq6dzyb.js → generate-4tqctrqn.js} +8 -8
- package/dist/chunks/{voice-4tqs0jzk.js → generate-4tqs0jzk.js} +1 -1
- package/dist/chunks/{voice-4v008n1t.js → generate-4v008n1t.js} +1 -1
- package/dist/chunks/{voice-c1xzz700.js → generate-4v40nn40.js} +18 -18
- package/dist/chunks/{voice-v91x0m3b.js → generate-4z2wtcvt.js} +37 -37
- package/dist/chunks/{voice-0wr6s8hf.js → generate-5092e2jb.js} +2 -2
- package/dist/chunks/{voice-zvwptkbn.js → generate-50yzfa9j.js} +11 -11
- package/dist/chunks/{voice-ds6m7yxn.js → generate-5ee85207.js} +27 -27
- package/dist/chunks/{voice-h0wn6ym7.js → generate-5ktqpe3k.js} +18 -18
- package/dist/chunks/{voice-5m9w47nd.js → generate-5m9w47nd.js} +1 -1
- package/dist/chunks/{voice-pkf3y2cc.js → generate-5x26af84.js} +4 -4
- package/dist/chunks/{voice-sjqs7mej.js → generate-5z35dpy9.js} +2 -2
- package/dist/chunks/{voice-jv541gt1.js → generate-666bv3ay.js} +5 -5
- package/dist/chunks/generate-6bshxcsx.js +18 -0
- package/dist/chunks/{voice-6esdw8yj.js → generate-6esdw8yj.js} +1 -1
- package/dist/chunks/{voice-7yrdctck.js → generate-6hy38yqe.js} +10 -10
- package/dist/chunks/{voice-xvzka3w1.js → generate-6whdpt6t.js} +19 -19
- package/dist/chunks/{voice-wkvtmc5w.js → generate-6wxsr7gx.js} +8 -8
- package/dist/chunks/{voice-tzha5hs4.js → generate-6zwdg53a.js} +32 -32
- package/dist/chunks/{voice-rqnts8nb.js → generate-71zez6gk.js} +4 -4
- package/dist/chunks/{voice-76cb1hcw.js → generate-76cb1hcw.js} +1 -1
- package/dist/chunks/{voice-tf9r37f3.js → generate-7aa2mjr2.js} +6 -6
- package/dist/chunks/{voice-7bmhse3q.js → generate-7bmhse3q.js} +1 -1
- package/dist/chunks/{voice-2cmwvfmq.js → generate-7c4ttkny.js} +28 -28
- package/dist/chunks/{voice-333y4y1k.js → generate-7e2708gx.js} +20 -20
- package/dist/chunks/{voice-mcwjwgrj.js → generate-7q0gn4vw.js} +37 -37
- package/dist/chunks/{voice-j8wphgxv.js → generate-7v4h4gdx.js} +11 -11
- package/dist/chunks/{voice-7w2ypzdf.js → generate-7w2ypzdf.js} +1 -1
- package/dist/chunks/{voice-pfeq29ft.js → generate-7w97sera.js} +7 -7
- package/dist/chunks/{voice-t1w7e31t.js → generate-87xrnj2a.js} +16 -16
- package/dist/chunks/{voice-gsn45bse.js → generate-8a1jyxga.js} +2 -2
- package/dist/chunks/{voice-w9t3mw71.js → generate-8gjt3z81.js} +10 -10
- package/dist/chunks/{voice-11hfp36g.js → generate-8jztxfpf.js} +4 -4
- package/dist/chunks/{voice-e775pq2z.js → generate-8wntc457.js} +27 -27
- package/dist/chunks/{voice-8wtp7s3z.js → generate-8wtp7s3z.js} +1 -1
- package/dist/chunks/{voice-2yetf460.js → generate-8yty72zd.js} +90 -90
- package/dist/chunks/{voice-90zstvax.js → generate-90zstvax.js} +1 -1
- package/dist/chunks/{voice-j07qkm4a.js → generate-91h8br7e.js} +24 -24
- package/dist/chunks/{voice-d12qgqfw.js → generate-9746xxpe.js} +22 -22
- package/dist/chunks/{voice-9f3sjfep.js → generate-9f3sjfep.js} +2 -2
- package/dist/chunks/{voice-egye72a3.js → generate-9g6r0xzh.js} +4 -4
- package/dist/chunks/{voice-bmn2dgx0.js → generate-9hykb5cg.js} +17 -17
- package/dist/chunks/{voice-n8bsmrat.js → generate-9n9p4xt1.js} +47 -47
- package/dist/chunks/{voice-mp08ce1a.js → generate-9vpjb0mc.js} +25 -25
- package/dist/chunks/{voice-cr7taz2b.js → generate-9wmr3sd2.js} +22 -22
- package/dist/chunks/{voice-ryp7x2h1.js → generate-9wzq089f.js} +51 -51
- package/dist/chunks/{voice-g7addse0.js → generate-a89th7t7.js} +10 -10
- package/dist/chunks/{voice-3cgskxpq.js → generate-a9q6fvpe.js} +3 -3
- package/dist/chunks/{voice-kp07per1.js → generate-agwf0v5r.js} +11 -11
- package/dist/chunks/{voice-2rvz45tb.js → generate-aknbadps.js} +11 -11
- package/dist/chunks/{voice-3cbjf1nt.js → generate-ayjs7tqn.js} +2 -2
- package/dist/chunks/{voice-gwpw7hr2.js → generate-az9xpas6.js} +10 -10
- package/dist/chunks/{voice-b6vsg801.js → generate-b6vsg801.js} +2 -2
- package/dist/chunks/{voice-8ferbn28.js → generate-b77f8j6q.js} +1 -1
- package/dist/chunks/{voice-3c0w14m0.js → generate-bdgvvtkj.js} +16 -16
- package/dist/chunks/{voice-bstexjd6.js → generate-bstexjd6.js} +1 -1
- package/dist/chunks/{voice-x9wkxbjw.js → generate-bxgg086j.js} +45 -45
- package/dist/chunks/{voice-qtz59mmv.js → generate-c4p24wp9.js} +18 -18
- package/dist/chunks/{voice-e850hve9.js → generate-c97hk87q.js} +17 -17
- package/dist/chunks/{voice-6pj15psn.js → generate-caqvfgf5.js} +312 -312
- package/dist/chunks/{voice-vb6nsr4p.js → generate-cjj6cyve.js} +18 -18
- package/dist/chunks/{voice-gvc7qt4p.js → generate-cq2w5zye.js} +1 -1
- package/dist/chunks/{voice-cwrgdav8.js → generate-cwrgdav8.js} +2 -2
- package/dist/chunks/{voice-j8pxpn7p.js → generate-cytwgfbf.js} +4 -4
- package/dist/chunks/{voice-jv0tnvtm.js → generate-d0fjdyyv.js} +32 -32
- package/dist/chunks/{voice-zeaee8g3.js → generate-d22azegw.js} +19 -19
- package/dist/chunks/{voice-d4v9tmah.js → generate-d4v9tmah.js} +2 -2
- package/dist/chunks/{voice-6qmm9t44.js → generate-d9ym7arr.js} +5 -5
- package/dist/chunks/{voice-tjengf1z.js → generate-db9qyw1r.js} +35 -35
- package/dist/chunks/{voice-zba06pnj.js → generate-dbp9zbdw.js} +22 -22
- package/dist/chunks/{voice-160yv0cs.js → generate-ddvn7d3w.js} +8 -8
- package/dist/chunks/{voice-frmkhz9x.js → generate-de9fn7va.js} +8 -8
- package/dist/chunks/{voice-k6dyd1ry.js → generate-dnn01zm9.js} +36 -36
- package/dist/chunks/{voice-pdhpv67q.js → generate-dptvw9a5.js} +41 -41
- package/dist/chunks/{voice-e3x4a5y3.js → generate-dqpjcdfr.js} +9 -9
- package/dist/chunks/{voice-agqd6nxz.js → generate-drvbhkez.js} +2 -2
- package/dist/chunks/{voice-ptf8rtgv.js → generate-dt4hj756.js} +11 -11
- package/dist/chunks/{voice-dt77769w.js → generate-dt77769w.js} +1 -1
- package/dist/chunks/{voice-9hdzsva2.js → generate-dw5es7np.js} +1 -1
- package/dist/chunks/{voice-e834z07m.js → generate-e834z07m.js} +1 -1
- package/dist/chunks/{voice-4v9de40m.js → generate-ea418bh9.js} +7 -7
- package/dist/chunks/{voice-hdfrs5mg.js → generate-ea54n1e7.js} +9 -9
- package/dist/chunks/{voice-x54jrvrj.js → generate-eazr4mrc.js} +20 -20
- package/dist/chunks/{voice-ttkm7wr9.js → generate-ebc8470v.js} +20 -20
- package/dist/chunks/{voice-5menbnme.js → generate-eh8g1rp4.js} +54 -54
- package/dist/chunks/{voice-kjzt0bct.js → generate-emg02mbg.js} +8 -8
- package/dist/chunks/{voice-z4ydffp6.js → generate-eq1bfm3w.js} +17 -17
- package/dist/chunks/{voice-xxm4fdq6.js → generate-erv8assh.js} +15 -15
- package/dist/chunks/{voice-dzctypk2.js → generate-ey7c0mj3.js} +33 -33
- package/dist/chunks/{voice-c46s9eb3.js → generate-f01y088k.js} +5 -5
- package/dist/chunks/{voice-fffv3p7h.js → generate-fffv3p7h.js} +1 -1
- package/dist/chunks/{voice-we63vvfq.js → generate-ffwhmgh9.js} +25 -25
- package/dist/chunks/{voice-fg9p65nk.js → generate-fg9p65nk.js} +2 -2
- package/dist/chunks/{voice-34zgj7qr.js → generate-fpjnyk7v.js} +15 -15
- package/dist/chunks/{voice-mz4jnm5z.js → generate-gbbntbvj.js} +34 -34
- package/dist/chunks/{voice-ep59zg61.js → generate-gg8p9cgs.js} +3 -3
- package/dist/chunks/{voice-2nj48t4r.js → generate-gq58s2jg.js} +15 -15
- package/dist/chunks/{voice-p6b1k2et.js → generate-grk9sjy2.js} +11 -11
- package/dist/chunks/{voice-pw86wcs0.js → generate-h1wkcee1.js} +21 -21
- package/dist/chunks/{voice-ggdqje0p.js → generate-h50mtd3p.js} +12 -12
- package/dist/chunks/{voice-pjbhqqeh.js → generate-hdfccz72.js} +18 -18
- package/dist/chunks/{voice-tsfb2tny.js → generate-hdn2t124.js} +28 -28
- package/dist/chunks/{voice-jq2afmfh.js → generate-hdv37mps.js} +29 -29
- package/dist/chunks/{voice-2s709x84.js → generate-hdvssxsh.js} +8 -8
- package/dist/chunks/{voice-m37sd98t.js → generate-hfgk9wzg.js} +4 -4
- package/dist/chunks/{voice-hpg1pkwy.js → generate-hpg1pkwy.js} +1 -1
- package/dist/chunks/{voice-fdbhccrr.js → generate-hs9fnnsf.js} +11 -11
- package/dist/chunks/{voice-mzgmcrrm.js → generate-hxa57kkw.js} +15 -15
- package/dist/chunks/{voice-ezp6wd1h.js → generate-hy8pjzp2.js} +23 -23
- package/dist/chunks/{voice-yeejah88.js → generate-hzrfc1p4.js} +3 -3
- package/dist/chunks/{voice-m4knd7af.js → generate-j8k0q4w6.js} +4 -4
- package/dist/chunks/{voice-jfaecv01.js → generate-jfaecv01.js} +1 -1
- package/dist/chunks/{voice-pnpsyps7.js → generate-jj9kddkh.js} +184 -184
- package/dist/chunks/{voice-4wt9s2pf.js → generate-jksqncxt.js} +10 -10
- package/dist/chunks/{voice-qy1n5mv3.js → generate-jq3m410h.js} +2 -2
- package/dist/chunks/{voice-jtnps1zs.js → generate-jtnps1zs.js} +2 -2
- package/dist/chunks/{voice-k3md7259.js → generate-jvt6ewmz.js} +3 -3
- package/dist/chunks/{voice-ja4rm3bq.js → generate-jwxx7s5d.js} +9 -9
- package/dist/chunks/{voice-k814nvkf.js → generate-k814nvkf.js} +1 -1
- package/dist/chunks/{voice-zpg8yxxw.js → generate-kdj9z3kk.js} +15 -15
- package/dist/chunks/{voice-dqq96mb5.js → generate-kg4a0hxh.js} +12 -12
- package/dist/chunks/{voice-r9zrswe1.js → generate-kjgnzevm.js} +2 -2
- package/dist/chunks/{voice-5vh1kv03.js → generate-kn1v0813.js} +45 -45
- package/dist/chunks/{voice-n879fzbw.js → generate-kq7mjshc.js} +17 -17
- package/dist/chunks/{voice-kt3bjfbg.js → generate-kt3bjfbg.js} +1 -1
- package/dist/chunks/{voice-jbca2cyk.js → generate-kw1sybbj.js} +6 -6
- package/dist/chunks/{voice-1vhppp2d.js → generate-kz9rq8ns.js} +26 -26
- package/dist/chunks/{voice-x1xkmpff.js → generate-m0cfdda0.js} +14 -14
- package/dist/chunks/{voice-rhj80qy2.js → generate-m16tgpdr.js} +15 -15
- package/dist/chunks/{voice-m1714858.js → generate-m1714858.js} +1 -1
- package/dist/chunks/{voice-m9w0rfyh.js → generate-m9w0rfyh.js} +1 -1
- package/dist/chunks/{voice-ymxzvk0t.js → generate-mkmw974x.js} +16 -16
- package/dist/chunks/{voice-mgwcrd4g.js → generate-mmk7c5zv.js} +27 -27
- package/dist/chunks/{voice-mqe7nf5n.js → generate-mqe7nf5n.js} +1 -1
- package/dist/chunks/{voice-27rkw089.js → generate-mw3ncd47.js} +21 -21
- package/dist/chunks/{voice-azdyaqcs.js → generate-mybk4etn.js} +26 -26
- package/dist/chunks/{voice-e2cw23xq.js → generate-n2hv359w.js} +68 -68
- package/dist/chunks/{voice-qye54pkd.js → generate-n3hk2jtv.js} +16 -16
- package/dist/chunks/{voice-hd03fjjx.js → generate-n7xqecct.js} +45 -45
- package/dist/chunks/{voice-nah043kf.js → generate-nah043kf.js} +1 -1
- package/dist/chunks/{voice-x1c2c821.js → generate-nbzxv6ct.js} +4 -4
- package/dist/chunks/{voice-zam3nmgc.js → generate-ngwmsjrv.js} +3 -3
- package/dist/chunks/{voice-sxvmbka1.js → generate-njb5ba6d.js} +70 -25
- package/dist/chunks/{voice-pt6pp4rd.js → generate-nm02mz5v.js} +9 -9
- package/dist/chunks/{voice-8w4jng2b.js → generate-nn2w1eqe.js} +27 -27
- package/dist/chunks/{voice-dc0p1gvq.js → generate-nx7gw4xs.js} +32 -32
- package/dist/chunks/{voice-p68v8nme.js → generate-nym92392.js} +5 -5
- package/dist/chunks/{voice-gw3b4235.js → generate-nzd678w9.js} +39 -39
- package/dist/chunks/{voice-p015t6z3.js → generate-p015t6z3.js} +2 -2
- package/dist/chunks/{voice-xtx0w7v7.js → generate-p0fjc254.js} +8 -8
- package/dist/chunks/{voice-pcpwb3fy.js → generate-p10enhg4.js} +24 -24
- package/dist/chunks/{voice-7x4xr4z7.js → generate-p3w9bnf6.js} +13 -13
- package/dist/chunks/{voice-wrffcx1c.js → generate-p7nnq0h5.js} +9 -9
- package/dist/chunks/{voice-1yq9hg58.js → generate-p7vhpwh8.js} +5 -5
- package/dist/chunks/{voice-dp7f6ap0.js → generate-pk00nasj.js} +22 -22
- package/dist/chunks/{voice-7wfz880e.js → generate-pkmfc50t.js} +9 -9
- package/dist/chunks/{voice-pknna89w.js → generate-pknna89w.js} +1 -1
- package/dist/chunks/{voice-hgyh4sbk.js → generate-pt5qt6br.js} +11 -11
- package/dist/chunks/{voice-nrpx6v5h.js → generate-pxnkq3zk.js} +11 -11
- package/dist/chunks/{voice-gkng5bng.js → generate-q5ksxkha.js} +6 -6
- package/dist/chunks/{voice-xzf037z6.js → generate-q62a41c3.js} +23 -23
- package/dist/chunks/{voice-wv1mwfaa.js → generate-q83e4r6c.js} +8 -8
- package/dist/chunks/{voice-9cbnrx2n.js → generate-q85rya1m.js} +6 -6
- package/dist/chunks/{voice-2tk5fqnx.js → generate-qadf7jyf.js} +19 -19
- package/dist/chunks/{voice-mdqd5s8j.js → generate-qedarahg.js} +7 -7
- package/dist/chunks/{voice-2azy8kv6.js → generate-qft8hb75.js} +7 -7
- package/dist/chunks/{voice-f9p5sf8g.js → generate-qgt3dwxm.js} +9 -9
- package/dist/chunks/{voice-khwzpnwr.js → generate-qj7q2t7b.js} +25 -25
- package/dist/chunks/{voice-ax2tydf9.js → generate-qjzfdart.js} +15 -15
- package/dist/chunks/{voice-mnsk6wet.js → generate-qnz30c4x.js} +19 -19
- package/dist/chunks/{voice-qp7r0hxv.js → generate-qp7r0hxv.js} +1 -1
- package/dist/chunks/{voice-dfm98kbp.js → generate-qtjq56z8.js} +18 -18
- package/dist/chunks/{voice-r0yr0wbs.js → generate-r0yr0wbs.js} +1 -1
- package/dist/chunks/{voice-k056mj60.js → generate-r20ydrt4.js} +4 -4
- package/dist/chunks/{voice-xc7y8zhy.js → generate-r4dvsgaa.js} +4 -4
- package/dist/chunks/{voice-r542h3bh.js → generate-r542h3bh.js} +1 -1
- package/dist/chunks/{voice-9mke522w.js → generate-ra053bj0.js} +13 -13
- package/dist/chunks/{voice-rb9dy4dg.js → generate-rb9dy4dg.js} +1 -1
- package/dist/chunks/{voice-0dabjbsv.js → generate-rcv4y2hr.js} +18 -18
- package/dist/chunks/{voice-bjhzkqyk.js → generate-rrad2nt9.js} +4 -4
- package/dist/chunks/{voice-rt5dr6hb.js → generate-rt5dr6hb.js} +1 -1
- package/dist/chunks/{voice-ybnpgdfy.js → generate-rxrz6b15.js} +2 -2
- package/dist/chunks/{voice-qpq5hhd3.js → generate-rzx2fdc9.js} +25 -25
- package/dist/chunks/{voice-gy90jt1b.js → generate-s2zs9ezy.js} +11 -11
- package/dist/chunks/{voice-j4retg1q.js → generate-s67dn7c0.js} +9 -9
- package/dist/chunks/{voice-b82aa4t7.js → generate-s7kbkgr5.js} +24 -24
- package/dist/chunks/{voice-sh1hr9wt.js → generate-s7wcbp6p.js} +48 -48
- package/dist/chunks/{voice-v6ghzfeb.js → generate-s857ash9.js} +5 -5
- package/dist/chunks/{voice-sa3fpqfw.js → generate-sa3fpqfw.js} +2 -2
- package/dist/chunks/{voice-gry7rz84.js → generate-sbse9r81.js} +15 -15
- package/dist/chunks/{voice-sqjzf8x2.js → generate-sqjzf8x2.js} +1 -1
- package/dist/chunks/{voice-d2887f8n.js → generate-ssfehs1z.js} +4 -4
- package/dist/chunks/{voice-xcwc3724.js → generate-stzr70w7.js} +5 -5
- package/dist/chunks/{voice-svcy3p9a.js → generate-svcy3p9a.js} +1 -1
- package/dist/chunks/{voice-9cnma5t8.js → generate-t2wj15q2.js} +4 -4
- package/dist/chunks/{voice-rgxa1khh.js → generate-t763r6q6.js} +12 -12
- package/dist/chunks/{voice-zfxph5ba.js → generate-tc7v1aj8.js} +1 -1
- package/dist/chunks/{voice-tczq8hjw.js → generate-tczq8hjw.js} +1 -1
- package/dist/chunks/{voice-77aqw605.js → generate-trfczban.js} +53 -53
- package/dist/chunks/{voice-twssxy5n.js → generate-twssxy5n.js} +2 -2
- package/dist/chunks/{voice-69smecb2.js → generate-v1cyqkdh.js} +22 -22
- package/dist/chunks/{voice-v2r1d0zg.js → generate-v2r1d0zg.js} +1 -1
- package/dist/chunks/{voice-q7wd12e3.js → generate-v4pzw4ea.js} +9 -9
- package/dist/chunks/{voice-veqvce7d.js → generate-veqvce7d.js} +1 -1
- package/dist/chunks/{voice-2jmne6ge.js → generate-vpn990f9.js} +7 -7
- package/dist/chunks/{voice-prd8gnhb.js → generate-vsnnaxjq.js} +4 -4
- package/dist/chunks/{voice-hzn1ztr7.js → generate-vyebj7xm.js} +5 -5
- package/dist/chunks/{voice-epbga8mh.js → generate-vyv3g1eh.js} +11 -11
- package/dist/chunks/{voice-z0excmh6.js → generate-w2d0d7v1.js} +11 -11
- package/dist/chunks/{voice-w2eysc6j.js → generate-w2eysc6j.js} +2 -2
- package/dist/chunks/{voice-w35wzz9x.js → generate-w35wzz9x.js} +1 -1
- package/dist/chunks/{voice-w3wsvvr9.js → generate-w3wsvvr9.js} +1 -1
- package/dist/chunks/{voice-gkwz7c6r.js → generate-w5k8ndhw.js} +28 -28
- package/dist/chunks/{voice-c6m216ht.js → generate-w7m8a9sj.js} +32 -32
- package/dist/chunks/{voice-44wxb8ky.js → generate-w84j477y.js} +6 -6
- package/dist/chunks/{voice-zks6jtay.js → generate-wa69088s.js} +15 -15
- package/dist/chunks/{voice-qvaq9h2b.js → generate-wagm36fb.js} +37 -37
- package/dist/chunks/{voice-wakvkjy4.js → generate-wakvkjy4.js} +1 -1
- package/dist/chunks/{voice-epbqh0vp.js → generate-wby0kqsc.js} +4 -4
- package/dist/chunks/{voice-wd87259q.js → generate-wd87259q.js} +1 -1
- package/dist/chunks/{voice-tzax1vfd.js → generate-wkz62ntz.js} +31 -31
- package/dist/chunks/{voice-wnhgecwx.js → generate-wnhgecwx.js} +1 -1
- package/dist/chunks/{voice-wr3re1en.js → generate-wr3re1en.js} +1 -1
- package/dist/chunks/{voice-6346x9cy.js → generate-wwc0wvm8.js} +5 -5
- package/dist/chunks/{voice-bzpz13xw.js → generate-x0cjh2rw.js} +11 -11
- package/dist/chunks/{voice-rnbe7wjx.js → generate-x21tw6yf.js} +5 -5
- package/dist/chunks/{voice-tnas20nf.js → generate-x5aby0mh.js} +38 -38
- package/dist/chunks/{voice-m8nbpmy9.js → generate-xd77wxb5.js} +12 -12
- package/dist/chunks/{voice-39vpqnck.js → generate-xh6s06j0.js} +17 -17
- package/dist/chunks/{voice-9kz2e94z.js → generate-xpfsdcm6.js} +32 -32
- package/dist/chunks/{voice-8hmvetrj.js → generate-xsajkasw.js} +10 -10
- package/dist/chunks/{voice-240htfw9.js → generate-xtbe8yyk.js} +28 -28
- package/dist/chunks/{voice-kznshby3.js → generate-y3x0evb5.js} +8 -8
- package/dist/chunks/{voice-8cndmtyr.js → generate-y6t48rzr.js} +21 -21
- package/dist/chunks/{voice-ee6z14je.js → generate-yadhmhsa.js} +6 -6
- package/dist/chunks/{voice-qkw2jr9b.js → generate-yara3q77.js} +2 -2
- package/dist/chunks/{voice-yb20nhc3.js → generate-yb20nhc3.js} +1 -1
- package/dist/chunks/generate-ygprdr8p.js +257 -0
- package/dist/chunks/{voice-8s6k3hnq.js → generate-ymvnz4e6.js} +17 -17
- package/dist/chunks/{voice-95ny5wdh.js → generate-ypv1jkb1.js} +31 -31
- package/dist/chunks/{voice-c9fqvz1s.js → generate-yxr9byb3.js} +32 -32
- package/dist/chunks/{voice-5ne14kqg.js → generate-yzgm5439.js} +12 -12
- package/dist/chunks/{voice-k99k5qjg.js → generate-z03xx0zs.js} +11 -11
- package/dist/chunks/{voice-z0bkrqjs.js → generate-z0bkrqjs.js} +1 -1
- package/dist/chunks/{voice-z9h078tt.js → generate-z2qd981m.js} +22 -22
- package/dist/chunks/{voice-z38nccrw.js → generate-z38nccrw.js} +1 -1
- package/dist/chunks/{voice-q7ajfcnc.js → generate-zcsbj68c.js} +37 -37
- package/dist/chunks/{voice-zgkm4kzm.js → generate-zgkm4kzm.js} +3 -3
- package/dist/chunks/{voice-sbsk23pr.js → generate-zjcdctqk.js} +25 -25
- package/dist/chunks/{voice-gjx514tf.js → generate-zkhxg2te.js} +11 -11
- package/dist/chunks/{voice-w2qz52ff.js → generate-zp10wf5q.js} +6 -6
- package/dist/chunks/{voice-yxheenbn.js → generate-ztfb9jsa.js} +29 -29
- package/dist/chunks/{voice-rrw0faen.js → generate-zzc7r4pv.js} +6 -11
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +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 +119 -119
- 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 +121 -121
- 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 +121 -121
- package/dist/config/plugin/shell.js +121 -121
- package/dist/config/plugin/skill-file.js +138 -138
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +121 -121
- package/dist/config/plugin/source.js +118 -118
- package/dist/config/plugin/tool-output.js +122 -122
- package/dist/config/plugin/websearch.js +120 -120
- 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 +87 -87
- package/dist/database/database.js +76 -76
- 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/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 +103 -103
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +381 -381
- 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 +101 -101
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +101 -101
- 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 +80 -80
- 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 +86 -86
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +228 -228
- 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 +86 -86
- package/dist/formatter/builtins.js +2 -2
- 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 +107 -107
- 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 +5 -5
- package/dist/instance.js +372 -372
- package/dist/instruction-discovery.js +88 -88
- package/dist/instructions/builtins.js +95 -95
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +93 -93
- package/dist/job.js +78 -78
- 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 +111 -111
- package/dist/mcp/instructions.js +166 -166
- 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 +107 -107
- package/dist/model-resolver.js +107 -107
- package/dist/model-retry.js +1 -1
- package/dist/model.js +106 -106
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +108 -108
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +88 -88
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +145 -145
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- 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 +1 -1
- 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 +130 -130
- 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 +357 -357
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +94 -94
- package/dist/plugin/vcs/hg.js +94 -94
- 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 +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +236 -236
- 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 +105 -105
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +106 -106
- package/dist/reference/instructions.js +94 -94
- package/dist/reference.js +96 -96
- package/dist/repository-cache.js +88 -88
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +105 -105
- 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 +152 -152
- package/dist/session/generate.js +190 -190
- package/dist/session/history.js +127 -127
- package/dist/session/inbox.js +138 -138
- 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 +3 -3
- 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 +172 -172
- 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 +81 -81
- 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 +215 -215
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +186 -186
- package/dist/session/to-session-error.js +140 -140
- package/dist/session/transfer.js +230 -230
- package/dist/session/usage.js +1 -1
- package/dist/session.js +225 -225
- 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 +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +143 -143
- package/dist/skill.js +144 -144
- package/dist/snapshot.js +99 -99
- 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 +165 -165
- package/dist/tool/plugin/edit.js +156 -156
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +156 -156
- 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 +158 -158
- package/dist/tool/plugin/question.js +138 -138
- package/dist/tool/plugin/read.js +161 -161
- package/dist/tool/plugin/shell.js +222 -222
- package/dist/tool/plugin/skill.js +145 -145
- package/dist/tool/plugin/subagent.js +226 -226
- package/dist/tool/plugin/todo.js +145 -145
- package/dist/tool/plugin/webfetch.js +147 -147
- package/dist/tool/plugin/websearch.js +145 -145
- package/dist/tool/plugin/write.js +158 -158
- 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 +95 -95
- 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 +5 -5
- 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 +1 -1
- 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 +101 -101
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +97 -97
- package/dist/voice.js +96 -96
- package/dist/websearch.js +90 -90
- package/dist/wellknown/plugin.js +82 -82
- package/dist/wellknown.js +87 -87
- 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 +9 -9
- 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/voice-a610t88q.js +0 -18
- package/dist/chunks/voice-xhgq90d0.js +0 -257
- /package/dist/chunks/{voice-0qkdqm5v.js → generate-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{voice-0zkw76rk.js → generate-0zkw76rk.js} +0 -0
- /package/dist/chunks/{voice-17cy0kzp.js → generate-17cy0kzp.js} +0 -0
- /package/dist/chunks/{voice-1cnp2v09.js → generate-1cnp2v09.js} +0 -0
- /package/dist/chunks/{voice-1jakw16s.js → generate-1jakw16s.js} +0 -0
- /package/dist/chunks/{voice-24dcb14g.js → generate-24dcb14g.js} +0 -0
- /package/dist/chunks/{voice-2710q6r3.js → generate-2710q6r3.js} +0 -0
- /package/dist/chunks/{voice-2bv980vf.js → generate-2bv980vf.js} +0 -0
- /package/dist/chunks/{voice-2c3vjs8z.js → generate-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{voice-359p4xyc.js → generate-359p4xyc.js} +0 -0
- /package/dist/chunks/{voice-3asan66x.js → generate-3asan66x.js} +0 -0
- /package/dist/chunks/{voice-3v8g72cx.js → generate-3v8g72cx.js} +0 -0
- /package/dist/chunks/{voice-3wcehsnq.js → generate-3wcehsnq.js} +0 -0
- /package/dist/chunks/{voice-43n2bw4t.js → generate-43n2bw4t.js} +0 -0
- /package/dist/chunks/{voice-4knz6hnm.js → generate-4knz6hnm.js} +0 -0
- /package/dist/chunks/{voice-4m86bj6y.js → generate-4m86bj6y.js} +0 -0
- /package/dist/chunks/{voice-4vcrnpx2.js → generate-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{voice-4y7fprxs.js → generate-4y7fprxs.js} +0 -0
- /package/dist/chunks/{voice-53557ph1.js → generate-53557ph1.js} +0 -0
- /package/dist/chunks/{voice-550bvhaj.js → generate-550bvhaj.js} +0 -0
- /package/dist/chunks/{voice-5w3e23ze.js → generate-5w3e23ze.js} +0 -0
- /package/dist/chunks/{voice-6prwharc.js → generate-6prwharc.js} +0 -0
- /package/dist/chunks/{voice-6q2bdcd1.js → generate-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{voice-7akdwqpd.js → generate-7akdwqpd.js} +0 -0
- /package/dist/chunks/{voice-7m9af43g.js → generate-7m9af43g.js} +0 -0
- /package/dist/chunks/{voice-822emrt2.js → generate-822emrt2.js} +0 -0
- /package/dist/chunks/{voice-84wd9syh.js → generate-84wd9syh.js} +0 -0
- /package/dist/chunks/{voice-88xbtdfr.js → generate-88xbtdfr.js} +0 -0
- /package/dist/chunks/{voice-8n3pysct.js → generate-8n3pysct.js} +0 -0
- /package/dist/chunks/{voice-8wj87zfr.js → generate-8wj87zfr.js} +0 -0
- /package/dist/chunks/{voice-9a4afbnw.js → generate-9a4afbnw.js} +0 -0
- /package/dist/chunks/{voice-9rqn6x4v.js → generate-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{voice-a058387c.js → generate-a058387c.js} +0 -0
- /package/dist/chunks/{voice-a6k6eb26.js → generate-a6k6eb26.js} +0 -0
- /package/dist/chunks/{voice-af5trqkr.js → generate-af5trqkr.js} +0 -0
- /package/dist/chunks/{voice-afrmfg78.js → generate-afrmfg78.js} +0 -0
- /package/dist/chunks/{voice-aqzs7mqg.js → generate-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{voice-atq7p7m5.js → generate-atq7p7m5.js} +0 -0
- /package/dist/chunks/{voice-beh6qq61.js → generate-beh6qq61.js} +0 -0
- /package/dist/chunks/{voice-bkyjaxrp.js → generate-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{voice-bmr6ed5q.js → generate-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{voice-cf4snx6d.js → generate-cf4snx6d.js} +0 -0
- /package/dist/chunks/{voice-cqv5kn06.js → generate-cqv5kn06.js} +0 -0
- /package/dist/chunks/{voice-cvy3z8tj.js → generate-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{voice-d9fn303g.js → generate-d9fn303g.js} +0 -0
- /package/dist/chunks/{voice-d9jj8t3e.js → generate-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{voice-dajrwvna.js → generate-dajrwvna.js} +0 -0
- /package/dist/chunks/{voice-dap0rakb.js → generate-dap0rakb.js} +0 -0
- /package/dist/chunks/{voice-df08tz66.js → generate-df08tz66.js} +0 -0
- /package/dist/chunks/{voice-dy18nga0.js → generate-dy18nga0.js} +0 -0
- /package/dist/chunks/{voice-e5kj55wp.js → generate-e5kj55wp.js} +0 -0
- /package/dist/chunks/{voice-e73j6tqm.js → generate-e73j6tqm.js} +0 -0
- /package/dist/chunks/{voice-ec1grn59.js → generate-ec1grn59.js} +0 -0
- /package/dist/chunks/{voice-eh3zwz77.js → generate-eh3zwz77.js} +0 -0
- /package/dist/chunks/{voice-emrn6kk6.js → generate-emrn6kk6.js} +0 -0
- /package/dist/chunks/{voice-f0mxakyp.js → generate-f0mxakyp.js} +0 -0
- /package/dist/chunks/{voice-f6n9ztr4.js → generate-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{voice-faypxj3z.js → generate-faypxj3z.js} +0 -0
- /package/dist/chunks/{voice-fd410y7t.js → generate-fd410y7t.js} +0 -0
- /package/dist/chunks/{voice-fkpq3x5p.js → generate-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{voice-g4wezp1m.js → generate-g4wezp1m.js} +0 -0
- /package/dist/chunks/{voice-g86h250q.js → generate-g86h250q.js} +0 -0
- /package/dist/chunks/{voice-gebd4c9n.js → generate-gebd4c9n.js} +0 -0
- /package/dist/chunks/{voice-gftt206x.js → generate-gftt206x.js} +0 -0
- /package/dist/chunks/{voice-hcxmzztb.js → generate-hcxmzztb.js} +0 -0
- /package/dist/chunks/{voice-hk9envan.js → generate-hk9envan.js} +0 -0
- /package/dist/chunks/{voice-j2ntwpah.js → generate-j2ntwpah.js} +0 -0
- /package/dist/chunks/{voice-j5zkgpj8.js → generate-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{voice-jjkms2e6.js → generate-jjkms2e6.js} +0 -0
- /package/dist/chunks/{voice-jr7sbwjy.js → generate-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{voice-jwfs4k6c.js → generate-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{voice-jwr30sdr.js → generate-jwr30sdr.js} +0 -0
- /package/dist/chunks/{voice-jze0r7bz.js → generate-jze0r7bz.js} +0 -0
- /package/dist/chunks/{voice-jzg6c2d5.js → generate-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{voice-m18g726c.js → generate-m18g726c.js} +0 -0
- /package/dist/chunks/{voice-mp448xyj.js → generate-mp448xyj.js} +0 -0
- /package/dist/chunks/{voice-msx8hqn2.js → generate-msx8hqn2.js} +0 -0
- /package/dist/chunks/{voice-n05xt0ee.js → generate-n05xt0ee.js} +0 -0
- /package/dist/chunks/{voice-n3j8tn72.js → generate-n3j8tn72.js} +0 -0
- /package/dist/chunks/{voice-ncqqe42p.js → generate-ncqqe42p.js} +0 -0
- /package/dist/chunks/{voice-njntx4h6.js → generate-njntx4h6.js} +0 -0
- /package/dist/chunks/{voice-p71gwv9c.js → generate-p71gwv9c.js} +0 -0
- /package/dist/chunks/{voice-q3sfg36h.js → generate-q3sfg36h.js} +0 -0
- /package/dist/chunks/{voice-q74kybfr.js → generate-q74kybfr.js} +0 -0
- /package/dist/chunks/{voice-qaymkmh1.js → generate-qaymkmh1.js} +0 -0
- /package/dist/chunks/{voice-qb87gjwd.js → generate-qb87gjwd.js} +0 -0
- /package/dist/chunks/{voice-qfa1cgps.js → generate-qfa1cgps.js} +0 -0
- /package/dist/chunks/{voice-qg3g05ea.js → generate-qg3g05ea.js} +0 -0
- /package/dist/chunks/{voice-qrg20bc0.js → generate-qrg20bc0.js} +0 -0
- /package/dist/chunks/{voice-rcb2kzg1.js → generate-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{voice-sdp7kfr6.js → generate-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{voice-ssg3fenm.js → generate-ssg3fenm.js} +0 -0
- /package/dist/chunks/{voice-ve7vex1e.js → generate-ve7vex1e.js} +0 -0
- /package/dist/chunks/{voice-w803qqfp.js → generate-w803qqfp.js} +0 -0
- /package/dist/chunks/{voice-wc3fc9cn.js → generate-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{voice-wer8tq1h.js → generate-wer8tq1h.js} +0 -0
- /package/dist/chunks/{voice-wtztk69x.js → generate-wtztk69x.js} +0 -0
- /package/dist/chunks/{voice-x0ckcb58.js → generate-x0ckcb58.js} +0 -0
- /package/dist/chunks/{voice-x61499pn.js → generate-x61499pn.js} +0 -0
- /package/dist/chunks/{voice-y44na4kk.js → generate-y44na4kk.js} +0 -0
- /package/dist/chunks/{voice-y8f7s663.js → generate-y8f7s663.js} +0 -0
- /package/dist/chunks/{voice-ygaqb7jw.js → generate-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{voice-ym463w8f.js → generate-ym463w8f.js} +0 -0
- /package/dist/chunks/{voice-z5v4ffb3.js → generate-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{voice-z9919s4g.js → generate-z9919s4g.js} +0 -0
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service86
|
|
3
|
+
} from "./generate-7v4h4gdx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service44
|
|
6
|
+
} from "./generate-dqpjcdfr.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-4pyp9zr9.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./generate-6bshxcsx.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service62
|
|
15
|
+
} from "./generate-202bxvr4.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./generate-q5ksxkha.js";
|
|
20
20
|
import {
|
|
21
21
|
Ref2,
|
|
22
22
|
refHash2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./generate-fg9p65nk.js";
|
|
24
24
|
import {
|
|
25
25
|
read3
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./generate-yadhmhsa.js";
|
|
27
27
|
import {
|
|
28
28
|
prepare3,
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
Service42
|
|
30
|
+
} from "./generate-3vj30g40.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./generate-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/prompt.ts
|
|
36
36
|
var exports_prompt = {};
|
|
@@ -48,7 +48,7 @@ var RESIZABLE_IMAGE_MIMES = new Set(["image/png", "image/jpeg", "image/gif", "im
|
|
|
48
48
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
yield* awaitActivation2;
|
|
51
|
-
const hooks = yield*
|
|
51
|
+
const hooks = yield* Service62;
|
|
52
52
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
53
53
|
sessionID: request.session.id,
|
|
54
54
|
messageID: request.messageID,
|
|
@@ -67,7 +67,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
67
67
|
const selected = yield* Effect.gen(function* () {
|
|
68
68
|
if (!requested?.length)
|
|
69
69
|
return;
|
|
70
|
-
const skillService = yield*
|
|
70
|
+
const skillService = yield* Service42;
|
|
71
71
|
const prepared = new Map;
|
|
72
72
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
73
73
|
const name = prepared.get(attachment.id);
|
|
@@ -141,14 +141,14 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
141
141
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
142
142
|
if (!RESIZABLE_IMAGE_MIMES.has(mime))
|
|
143
143
|
return { data: Base64.make(data), mime };
|
|
144
|
-
const image = yield*
|
|
144
|
+
const image = yield* Service44;
|
|
145
145
|
const label = attachmentLabel(input);
|
|
146
146
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
147
147
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
148
148
|
return { data: Base64.make(normalized.content), mime: normalized.mime };
|
|
149
149
|
});
|
|
150
150
|
var readBlobAttachment = Effect.fn("SessionPrompt.readBlobAttachment")(function* (uri) {
|
|
151
|
-
const { db } = yield*
|
|
151
|
+
const { db } = yield* Service86;
|
|
152
152
|
const blob = yield* read3(db, refHash2(uri));
|
|
153
153
|
if (!blob)
|
|
154
154
|
return yield* new AttachmentError2({ uri, message: `Attachment is no longer stored: ${uri}` });
|
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./generate-bdgvvtkj.js";
|
|
5
5
|
import {
|
|
6
6
|
lazy2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./generate-88xbtdfr.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service75,
|
|
10
|
+
node79
|
|
11
|
+
} from "./generate-ymvnz4e6.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service69,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node73
|
|
16
|
+
} from "./generate-qnz30c4x.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./generate-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/pty.ts
|
|
22
22
|
var exports_pty = {};
|
|
23
23
|
__export(exports_pty, {
|
|
24
|
-
CreateInput: () =>
|
|
25
|
-
Event: () =>
|
|
24
|
+
CreateInput: () => CreateInput3,
|
|
25
|
+
Event: () => Event6,
|
|
26
26
|
ExitedError: () => ExitedError2,
|
|
27
|
-
ID: () =>
|
|
28
|
-
Info: () =>
|
|
29
|
-
NotFoundError: () =>
|
|
27
|
+
ID: () => ID4,
|
|
28
|
+
Info: () => Info5,
|
|
29
|
+
NotFoundError: () => NotFoundError3,
|
|
30
30
|
Pty: () => exports_pty,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service24,
|
|
32
32
|
UpdateInput: () => UpdateInput2,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node27
|
|
34
34
|
});
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
37
37
|
import { Pty } from "@opencode/schema/pty";
|
|
38
|
-
import { Event as
|
|
38
|
+
import { Event as Event6 } from "@opencode/schema/pty";
|
|
39
39
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
40
40
|
var EXITED_LIMIT = 25;
|
|
41
41
|
var pty = lazy2(() => import("#pty"));
|
|
42
|
-
var
|
|
43
|
-
var
|
|
44
|
-
var
|
|
42
|
+
var ID4 = Pty.ID;
|
|
43
|
+
var Info5 = Pty.Info;
|
|
44
|
+
var CreateInput3 = Pty.CreateInput;
|
|
45
45
|
var UpdateInput2 = Pty.UpdateInput;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
ptyID:
|
|
47
|
+
class NotFoundError3 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
48
|
+
ptyID: ID4
|
|
49
49
|
}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
53
|
-
ptyID:
|
|
53
|
+
ptyID: ID4
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service24 extends Context.Service()("@opencode/Pty") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
60
|
-
const bus = yield*
|
|
61
|
-
const location = yield*
|
|
62
|
-
const shell = yield*
|
|
59
|
+
var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
60
|
+
const bus = yield* Service85;
|
|
61
|
+
const location = yield* Service75;
|
|
62
|
+
const shell = yield* Service69;
|
|
63
63
|
const context = yield* Effect.context();
|
|
64
64
|
const runFork = Effect.runForkWith(context);
|
|
65
65
|
const sessions = new Map;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
96
96
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
97
97
|
const session = sessions.get(id);
|
|
98
98
|
if (!session)
|
|
99
|
-
return yield* new
|
|
99
|
+
return yield* new NotFoundError3({ ptyID: id });
|
|
100
100
|
return session;
|
|
101
101
|
});
|
|
102
102
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
122
122
|
return (yield* requireSession(id)).info;
|
|
123
123
|
});
|
|
124
124
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
125
|
-
const id =
|
|
125
|
+
const id = ID4.ascending();
|
|
126
126
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
127
127
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
128
128
|
const cwd = input.cwd || location.directory;
|
|
@@ -267,12 +267,12 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
267
267
|
}
|
|
268
268
|
};
|
|
269
269
|
});
|
|
270
|
-
return
|
|
270
|
+
return Service24.of({ list, get, create, update, remove, write, attach });
|
|
271
271
|
}));
|
|
272
|
-
var
|
|
273
|
-
service:
|
|
272
|
+
var node27 = makeLocationNode({
|
|
273
|
+
service: Service24,
|
|
274
274
|
layer,
|
|
275
|
-
deps: [
|
|
275
|
+
deps: [node89, node79, node73]
|
|
276
276
|
});
|
|
277
277
|
|
|
278
|
-
export {
|
|
278
|
+
export { ID4, Info5, CreateInput3, UpdateInput2, NotFoundError3, ExitedError2, Service24, node27, exports_pty, Event6 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-p015t6z3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service34,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer14,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node38
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service34 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service34, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service26, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service34.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer14 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node38 = makeGlobalNode({ service: Service34, layer: layer14, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service34, makeLayer2, layer14, node38, exports_model_transport };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service75
|
|
6
|
+
} from "./generate-ymvnz4e6.js";
|
|
7
7
|
import {
|
|
8
8
|
NotFound3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-svcy3p9a.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service18
|
|
12
|
+
} from "./generate-rzx2fdc9.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service12
|
|
15
|
+
} from "./generate-dbp9zbdw.js";
|
|
16
16
|
import {
|
|
17
17
|
BinaryFileError2,
|
|
18
18
|
MediaIngestLimitError2,
|
|
@@ -22,26 +22,26 @@ import {
|
|
|
22
22
|
FileContent2,
|
|
23
23
|
TextPage2,
|
|
24
24
|
ListPage2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service38
|
|
26
|
+
} from "./generate-9hykb5cg.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./generate-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/tool/plugin/read.ts
|
|
32
32
|
var exports_read = {};
|
|
33
33
|
__export(exports_read, {
|
|
34
|
-
Input: () =>
|
|
35
|
-
Plugin: () =>
|
|
34
|
+
Input: () => Input6,
|
|
35
|
+
Plugin: () => Plugin23,
|
|
36
36
|
ReadTool: () => exports_read,
|
|
37
|
-
name: () =>
|
|
38
|
-
toModelContent: () =>
|
|
37
|
+
name: () => name6,
|
|
38
|
+
toModelContent: () => toModelContent3
|
|
39
39
|
});
|
|
40
40
|
import { basename, dirname, join } from "path";
|
|
41
41
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
42
42
|
import { Effect, Schema } from "effect";
|
|
43
43
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
44
|
-
var
|
|
44
|
+
var name6 = "read";
|
|
45
45
|
var FILENAME = "AGENTS.md";
|
|
46
46
|
var LocationInput = Schema.Struct({
|
|
47
47
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -52,21 +52,21 @@ var LocationInput = Schema.Struct({
|
|
|
52
52
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
53
53
|
})
|
|
54
54
|
});
|
|
55
|
-
var
|
|
55
|
+
var Input6 = LocationInput;
|
|
56
56
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
57
|
-
var
|
|
57
|
+
var Plugin23 = {
|
|
58
58
|
id: "opencode.tool.read",
|
|
59
59
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
60
|
-
const reader = yield*
|
|
61
|
-
const access = yield*
|
|
62
|
-
const sessionInstructions = yield*
|
|
60
|
+
const reader = yield* Service38;
|
|
61
|
+
const access = yield* Service18;
|
|
62
|
+
const sessionInstructions = yield* Service12;
|
|
63
63
|
const fs = yield* FSUtil.Service;
|
|
64
|
-
const location = yield*
|
|
64
|
+
const location = yield* Service75;
|
|
65
65
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
66
|
-
name:
|
|
66
|
+
name: name6,
|
|
67
67
|
options: { codemode: false },
|
|
68
68
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
69
|
-
input:
|
|
69
|
+
input: Input6,
|
|
70
70
|
output: Output,
|
|
71
71
|
execute: (input, context) => {
|
|
72
72
|
return Effect.gen(function* () {
|
|
@@ -110,7 +110,7 @@ var Plugin21 = {
|
|
|
110
110
|
return { output: result.content, path: result.path };
|
|
111
111
|
}).pipe(Effect.map((result) => ({
|
|
112
112
|
output: result.output,
|
|
113
|
-
content:
|
|
113
|
+
content: toModelContent3(result.path, input.offset, result.output),
|
|
114
114
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
115
115
|
})), Effect.mapError((error) => {
|
|
116
116
|
if (error instanceof ToolFailure)
|
|
@@ -143,7 +143,7 @@ ${suggestions.join(`
|
|
|
143
143
|
});
|
|
144
144
|
})
|
|
145
145
|
};
|
|
146
|
-
var
|
|
146
|
+
var toModelContent3 = (path, offset, output) => {
|
|
147
147
|
if (output.type === "file" && output.encoding === "base64")
|
|
148
148
|
return [
|
|
149
149
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -179,4 +179,4 @@ var toModelContent2 = (path, offset, output) => {
|
|
|
179
179
|
`);
|
|
180
180
|
};
|
|
181
181
|
|
|
182
|
-
export {
|
|
182
|
+
export { name6, Input6, Plugin23, toModelContent3, exports_read };
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./generate-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service50,
|
|
8
|
+
node53
|
|
9
|
+
} from "./generate-91h8br7e.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./generate-90zstvax.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./generate-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error3,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service47,
|
|
24
|
+
node: () => node50
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/process";
|
|
@@ -47,7 +47,7 @@ var RawMatch = Schema.Struct({
|
|
|
47
47
|
});
|
|
48
48
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Error3 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
51
51
|
message: Schema.String,
|
|
52
52
|
cause: Schema.optional(Schema.Defect())
|
|
53
53
|
}) {
|
|
@@ -59,13 +59,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
59
59
|
}) {
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
class
|
|
62
|
+
class Service47 extends Context.Service()("@opencode/Ripgrep") {
|
|
63
63
|
}
|
|
64
|
-
var failure = (message, cause) => new
|
|
64
|
+
var failure = (message, cause) => new Error3({ message, cause });
|
|
65
65
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
66
66
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
67
|
-
var layer = Layer.effect(
|
|
68
|
-
const environment = yield*
|
|
67
|
+
var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
68
|
+
const environment = yield* Service50;
|
|
69
69
|
const binary = yield* RipgrepBinary2.Service;
|
|
70
70
|
const run = (input) => {
|
|
71
71
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -91,9 +91,9 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
91
91
|
return code === 1 ? [] : rows;
|
|
92
92
|
}));
|
|
93
93
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
94
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
94
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error3 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
95
95
|
};
|
|
96
|
-
return
|
|
96
|
+
return Service47.of({
|
|
97
97
|
glob: (input) => run({
|
|
98
98
|
cwd: input.cwd,
|
|
99
99
|
limit: input.limit,
|
|
@@ -179,6 +179,6 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
179
179
|
}))))
|
|
180
180
|
});
|
|
181
181
|
}));
|
|
182
|
-
var
|
|
182
|
+
var node50 = makeLocationNode({ service: Service47, layer, deps: [node53, RipgrepBinary2.node] });
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { Error3, InvalidPatternError2, Service47, node50, exports_ripgrep };
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./generate-1kn6jdkn.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./generate-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./generate-gg8p9cgs.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./generate-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveNullableObjectPaths2,
|
|
3
3
|
mapResultRow2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-emrn6kk6.js";
|
|
5
5
|
import {
|
|
6
6
|
SQLiteEffectDatabase2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./generate-ea418bh9.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/session.ts
|
|
10
10
|
import * as Cause from "effect/Cause";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-1jakw16s.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/tool-input-repair.ts
|
|
9
9
|
var exports_tool_input_repair = {};
|
|
10
10
|
__export(exports_tool_input_repair, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin41,
|
|
12
12
|
ToolInputRepairPlugin: () => exports_tool_input_repair
|
|
13
13
|
});
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Effect, Option, Predicate, Schema } from "effect";
|
|
16
16
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
17
17
|
var maxDepth = 6;
|
|
18
|
-
var
|
|
18
|
+
var Plugin41 = define({
|
|
19
19
|
id: "opencode.tool.input.repair",
|
|
20
20
|
effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
|
|
21
21
|
if (event.tool === "execute")
|
|
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
|
|
|
120
120
|
return compatible ? [repaired] : value;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { Plugin41, exports_tool_input_repair };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./generate-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service39,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service39 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service39.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service39, awaitActivation2, exports_service };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service75
|
|
6
|
+
} from "./generate-ymvnz4e6.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service63
|
|
9
|
+
} from "./generate-9n9p4xt1.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./generate-8wntc457.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./generate-hpg1pkwy.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./generate-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
@@ -31,8 +31,8 @@ import { Global } from "@opencode/util/global";
|
|
|
31
31
|
var Plugin10 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
35
|
-
const location = yield*
|
|
34
|
+
const config = yield* Service63;
|
|
35
|
+
const location = yield* Service75;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
38
38
|
yield* ctx.reference.transform((editor) => {
|