@opencode/core 0.0.0-dev-21662 → 0.0.0-dev-21668
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +7 -7
- package/dist/bus.js +71 -71
- package/dist/chunks/{mime-jx89vj1k.js → snapshot-033a0jkt.js} +3 -3
- package/dist/chunks/{mime-vgk61ywp.js → snapshot-0421tmwc.js} +9 -9
- package/dist/chunks/{mime-grfdtbby.js → snapshot-0cxd67sz.js} +27 -27
- package/dist/chunks/{mime-wr3re1en.js → snapshot-0h8y3ex8.js} +4 -4
- package/dist/chunks/{mime-kfye5h0a.js → snapshot-0sdvj732.js} +5 -5
- package/dist/chunks/{mime-fc77mr6m.js → snapshot-0x28tm96.js} +25 -25
- package/dist/chunks/{mime-x49m95er.js → snapshot-0xry0drq.js} +326 -326
- package/dist/chunks/{mime-s7kyse9r.js → snapshot-173t91w5.js} +9 -9
- package/dist/chunks/{mime-qesqfwsz.js → snapshot-1psv69az.js} +5 -5
- package/dist/chunks/{mime-q8g6wzn7.js → snapshot-1skgtqkp.js} +33 -33
- package/dist/chunks/{mime-1x2knyw4.js → snapshot-1x2knyw4.js} +1 -1
- package/dist/chunks/{mime-c9kxtag3.js → snapshot-1z8e55mc.js} +28 -28
- package/dist/chunks/{mime-fmc8gber.js → snapshot-20nwq5j7.js} +10 -10
- package/dist/chunks/{mime-hymmg9xs.js → snapshot-23kx2h0m.js} +29 -29
- package/dist/chunks/{mime-xrpfz6f8.js → snapshot-26qqh6c2.js} +9 -9
- package/dist/chunks/{mime-1ep2p91f.js → snapshot-27w5k9zf.js} +2 -2
- package/dist/chunks/{mime-0gewffq4.js → snapshot-2cj8dw40.js} +12 -12
- package/dist/chunks/snapshot-2m3we97b.js +257 -0
- package/dist/chunks/{mime-xa6jjthr.js → snapshot-2xayqnkb.js} +1 -1
- package/dist/chunks/{mime-2z1j29yd.js → snapshot-2z1j29yd.js} +1 -1
- package/dist/chunks/{mime-cvh6tqsr.js → snapshot-32d3hzha.js} +12 -12
- package/dist/chunks/{mime-yywe7zex.js → snapshot-32jffxcm.js} +13 -13
- package/dist/chunks/{mime-9mcfgtzv.js → snapshot-37yt7bbd.js} +176 -176
- package/dist/chunks/{mime-ayjs7tqn.js → snapshot-3cbjf1nt.js} +2 -2
- package/dist/chunks/{mime-jf0x0mkb.js → snapshot-3fgynn9z.js} +13 -13
- package/dist/chunks/{mime-nsm09qdn.js → snapshot-3fp5dj89.js} +21 -21
- package/dist/chunks/{mime-3hepkmqq.js → snapshot-3hepkmqq.js} +1 -1
- package/dist/chunks/{mime-86vkr6ja.js → snapshot-3maxfv7x.js} +18 -18
- package/dist/chunks/{mime-3nnrz6f6.js → snapshot-3nnrz6f6.js} +1 -1
- package/dist/chunks/{mime-vgatjcfj.js → snapshot-3s06s3jm.js} +87 -87
- package/dist/chunks/{mime-khq36pg9.js → snapshot-48kj9ap1.js} +13 -13
- package/dist/chunks/{mime-j9d5v112.js → snapshot-4d3r9sj7.js} +6 -6
- package/dist/chunks/{mime-0akmrmk7.js → snapshot-4kjpm9vg.js} +18 -18
- package/dist/chunks/{mime-ab5qny6w.js → snapshot-4ms7e40b.js} +35 -35
- package/dist/chunks/{mime-dsxwdbtx.js → snapshot-4pk1s674.js} +18 -18
- package/dist/chunks/{mime-avyq2sch.js → snapshot-4q3ynb4r.js} +3 -3
- package/dist/chunks/{mime-yks697c0.js → snapshot-4stkd5r6.js} +16 -16
- package/dist/chunks/{mime-dz78pxbz.js → snapshot-4t140x50.js} +23 -23
- package/dist/chunks/{mime-4v008n1t.js → snapshot-4v008n1t.js} +1 -1
- package/dist/chunks/{mime-w24tx78k.js → snapshot-4vgzdrnt.js} +11 -11
- package/dist/chunks/{mime-4xvmh7wp.js → snapshot-4xvmh7wp.js} +3 -3
- package/dist/chunks/{mime-4en5cy3a.js → snapshot-4yjsd0st.js} +9 -9
- package/dist/chunks/{mime-9ben7srh.js → snapshot-58b8s1qw.js} +14 -14
- package/dist/chunks/{mime-3fddq23p.js → snapshot-5awenbjt.js} +12 -12
- package/dist/chunks/{mime-cs9nhmnc.js → snapshot-5m4gtxdr.js} +35 -35
- package/dist/chunks/{mime-5m9w47nd.js → snapshot-5m9w47nd.js} +1 -1
- package/dist/chunks/{mime-hy03mgxa.js → snapshot-5nbhg5mq.js} +21 -21
- package/dist/chunks/{mime-e3qxr5gk.js → snapshot-5qd3pb7m.js} +2 -2
- package/dist/chunks/{mime-gbppfq5v.js → snapshot-5vbppz2s.js} +3 -3
- package/dist/chunks/{mime-shhwk7r4.js → snapshot-5z80vped.js} +16 -16
- package/dist/chunks/{mime-przv10k5.js → snapshot-5z9pfwbq.js} +4 -4
- package/dist/chunks/{mime-ss9hm05n.js → snapshot-610sztem.js} +14 -14
- package/dist/chunks/{mime-afg4vg0a.js → snapshot-65xpdfa7.js} +46 -46
- package/dist/chunks/{mime-tq360aqh.js → snapshot-66cfxs70.js} +21 -21
- package/dist/chunks/{mime-egmw08v6.js → snapshot-6d6xnsqa.js} +5 -5
- package/dist/chunks/{mime-6esdw8yj.js → snapshot-6esdw8yj.js} +1 -1
- package/dist/chunks/{mime-c5k488xh.js → snapshot-6fc2jj72.js} +14 -14
- package/dist/chunks/{mime-2trgpvge.js → snapshot-6hx05w6d.js} +13 -13
- package/dist/chunks/{mime-7hkznkk2.js → snapshot-6jjcp2t3.js} +22 -22
- package/dist/chunks/{mime-326newke.js → snapshot-6pefdjqg.js} +1 -1
- package/dist/chunks/{mime-6pjqjmy2.js → snapshot-6pjqjmy2.js} +1 -1
- package/dist/chunks/{mime-mtgfg349.js → snapshot-6rhfy3ae.js} +19 -19
- package/dist/chunks/{mime-3rn14jrq.js → snapshot-6t3tc22h.js} +18 -18
- package/dist/chunks/{mime-e6zvexf0.js → snapshot-71r0w8zg.js} +10 -10
- package/dist/chunks/{mime-vfaknrr0.js → snapshot-752jpkzc.js} +20 -20
- package/dist/chunks/{mime-7bmhse3q.js → snapshot-7bmhse3q.js} +1 -1
- package/dist/chunks/{mime-5sm65pen.js → snapshot-7pr1y472.js} +50 -50
- package/dist/chunks/{mime-tw8z5tpz.js → snapshot-7q6s22z8.js} +18 -18
- package/dist/chunks/{mime-7w2ypzdf.js → snapshot-7w2ypzdf.js} +1 -1
- package/dist/chunks/{mime-pbrndjvt.js → snapshot-7x3q52mv.js} +12 -12
- package/dist/chunks/{mime-antc3kt1.js → snapshot-7xnhddsz.js} +12 -12
- package/dist/chunks/{mime-j686yndx.js → snapshot-7xq4z8xa.js} +16 -16
- package/dist/chunks/{mime-hvqk9px9.js → snapshot-7zb10xad.js} +23 -23
- package/dist/chunks/{mime-fb07bnzr.js → snapshot-8tsxffec.js} +15 -15
- package/dist/chunks/{mime-8wtp7s3z.js → snapshot-8wtp7s3z.js} +1 -1
- package/dist/chunks/{mime-8x9y3wj0.js → snapshot-8x9y3wj0.js} +2 -2
- package/dist/chunks/{mime-3xr2c3vg.js → snapshot-8yhhbcjk.js} +45 -45
- package/dist/chunks/{mime-nvq2cp9b.js → snapshot-90ckabyq.js} +6 -6
- package/dist/chunks/{mime-91rj84md.js → snapshot-91rj84md.js} +1 -1
- package/dist/chunks/{mime-8dvrnm31.js → snapshot-93z9sy6y.js} +30 -30
- package/dist/chunks/{mime-fbjqxkhq.js → snapshot-9437wt4d.js} +8 -8
- package/dist/chunks/{mime-dkq45v8d.js → snapshot-956c56jz.js} +6 -6
- package/dist/chunks/{mime-ngeq0yak.js → snapshot-97hv35cm.js} +4 -4
- package/dist/chunks/{mime-18efg9pm.js → snapshot-9fgzczsj.js} +11 -11
- package/dist/chunks/{mime-fch85cg6.js → snapshot-9h4y1sr0.js} +10 -10
- package/dist/chunks/{mime-c37dr9s5.js → snapshot-9pn10d5x.js} +32 -32
- package/dist/chunks/{mime-gx9515g0.js → snapshot-9sznrwc9.js} +11 -11
- package/dist/chunks/{mime-9tgdekzb.js → snapshot-9y2jjkve.js} +46 -46
- package/dist/chunks/{mime-f6h5pjek.js → snapshot-a2c90ztv.js} +22 -22
- package/dist/chunks/{mime-qht88apq.js → snapshot-a82ggzqd.js} +23 -23
- package/dist/chunks/{mime-12yp6zfs.js → snapshot-a8rbahn6.js} +45 -45
- package/dist/chunks/{mime-b5hjsjtc.js → snapshot-a9x398e2.js} +23 -23
- package/dist/chunks/{mime-034tev2y.js → snapshot-aj7mw0zk.js} +2 -2
- package/dist/chunks/{mime-xs1m5cpe.js → snapshot-anyn98fc.js} +4 -4
- package/dist/chunks/{mime-rrad2nt9.js → snapshot-ar2j3j0f.js} +4 -4
- package/dist/chunks/{mime-b0mv4wxm.js → snapshot-b0mv4wxm.js} +2 -2
- package/dist/chunks/{mime-k8ha6td9.js → snapshot-b2gqx2s6.js} +28 -28
- package/dist/chunks/{mime-5nnwax6m.js → snapshot-b6vsg801.js} +5 -5
- package/dist/chunks/{mime-35y8wyjz.js → snapshot-bgg6fpfq.js} +8 -8
- package/dist/chunks/{mime-cn524wvf.js → snapshot-bjvnb1jb.js} +14 -14
- package/dist/chunks/{mime-fwg6t5aa.js → snapshot-bpvjn4b4.js} +5 -5
- package/dist/chunks/{mime-bstexjd6.js → snapshot-bstexjd6.js} +1 -1
- package/dist/chunks/{mime-dcw54xmr.js → snapshot-bt6ghjgk.js} +9 -9
- package/dist/chunks/{mime-7zghsshh.js → snapshot-btd04tm9.js} +24 -24
- package/dist/chunks/{mime-makr7g9p.js → snapshot-btnzg8nv.js} +18 -18
- package/dist/chunks/{mime-a4ed5y5r.js → snapshot-bwcj1zz2.js} +17 -17
- package/dist/chunks/{mime-367y2685.js → snapshot-c1gjp1wv.js} +3 -3
- package/dist/chunks/{mime-1ta8vatk.js → snapshot-c1yxjx8d.js} +4 -4
- package/dist/chunks/{mime-ec8872rv.js → snapshot-c2jwcn11.js} +32 -32
- package/dist/chunks/{mime-at840swy.js → snapshot-c2wjegh6.js} +11 -11
- package/dist/chunks/{mime-9562mf0m.js → snapshot-c3cfh5w6.js} +9 -9
- package/dist/chunks/{mime-d2887f8n.js → snapshot-c9t2ty9q.js} +4 -4
- package/dist/chunks/{mime-12a87htm.js → snapshot-ccp6j38y.js} +8 -8
- package/dist/chunks/{mime-ms6fca56.js → snapshot-chxh2xv4.js} +43 -43
- package/dist/chunks/{mime-z1a2w6sk.js → snapshot-d092qe14.js} +28 -28
- package/dist/chunks/{mime-d4v9tmah.js → snapshot-d4v9tmah.js} +2 -2
- package/dist/chunks/{mime-rbg5ajna.js → snapshot-de80h68g.js} +9 -9
- package/dist/chunks/{mime-dw8r8nqw.js → snapshot-desdfmbz.js} +15 -15
- package/dist/chunks/{mime-wv25cjfq.js → snapshot-dktwc335.js} +28 -28
- package/dist/chunks/{mime-4rs84ng6.js → snapshot-dmkv2tgn.js} +12 -12
- package/dist/chunks/{mime-998yhzzq.js → snapshot-dvj9ct8m.js} +3 -3
- package/dist/chunks/{mime-8j2dev17.js → snapshot-dvnjm1h8.js} +37 -37
- package/dist/chunks/{mime-cwd8eagc.js → snapshot-dzn8tf7s.js} +4 -4
- package/dist/chunks/{mime-sjefdf1p.js → snapshot-e2ze8rsg.js} +10 -10
- package/dist/chunks/{mime-e834z07m.js → snapshot-e834z07m.js} +1 -1
- package/dist/chunks/{mime-9tvpxs1q.js → snapshot-e8pm465n.js} +4 -4
- package/dist/chunks/{mime-de78d3b2.js → snapshot-e9h2djdw.js} +35 -35
- package/dist/chunks/{mime-dvn6w1q7.js → snapshot-easvm2vj.js} +19 -19
- package/dist/chunks/{mime-ef5x83kb.js → snapshot-ef5x83kb.js} +1 -1
- package/dist/chunks/{mime-b3a0a1dt.js → snapshot-esvf2qf6.js} +8 -8
- package/dist/chunks/{mime-p6vdpmm7.js → snapshot-et8k1vr1.js} +9 -9
- package/dist/chunks/snapshot-ev660z6k.js +18 -0
- package/dist/chunks/{mime-3483qh8f.js → snapshot-expey290.js} +16 -16
- package/dist/chunks/{mime-g7tvh7ca.js → snapshot-f36md42a.js} +14 -14
- package/dist/chunks/{mime-h6chhj6a.js → snapshot-f95ahvj8.js} +32 -32
- package/dist/chunks/{mime-jjby1v15.js → snapshot-fepyh2km.js} +11 -11
- package/dist/chunks/{mime-fffv3p7h.js → snapshot-fffv3p7h.js} +1 -1
- package/dist/chunks/{mime-7hy4mxk4.js → snapshot-fgjt3jgn.js} +5 -5
- package/dist/chunks/{mime-8jmzjr3t.js → snapshot-fp00nt0f.js} +5 -5
- package/dist/chunks/{mime-be4ky1jx.js → snapshot-fp9qajhf.js} +4 -4
- package/dist/chunks/{mime-jqc4b6as.js → snapshot-fr70jeat.js} +18 -18
- package/dist/chunks/{mime-099h1hwj.js → snapshot-fvvr5s83.js} +6 -6
- package/dist/chunks/{mime-dehah0wg.js → snapshot-fyqk7716.js} +14 -14
- package/dist/chunks/{mime-g5h9c0rr.js → snapshot-g5h9c0rr.js} +2 -2
- package/dist/chunks/{mime-mh7750nv.js → snapshot-gp4q1vjf.js} +2 -2
- package/dist/chunks/{mime-sjsbybqr.js → snapshot-gtggn4m8.js} +13 -13
- package/dist/chunks/{mime-dywpt2jz.js → snapshot-gz2sw2ma.js} +21 -21
- package/dist/chunks/{mime-rgw8zdkq.js → snapshot-gzjdybps.js} +8 -8
- package/dist/chunks/{mime-6g5dn60k.js → snapshot-h1xsva0t.js} +10 -10
- package/dist/chunks/{mime-mvm1cxx8.js → snapshot-h973wt88.js} +34 -34
- package/dist/chunks/{mime-6gm6bk7h.js → snapshot-hb29wq2n.js} +20 -20
- package/dist/chunks/{mime-2bpj5bas.js → snapshot-hbw75saf.js} +86 -86
- package/dist/chunks/{mime-1f869mtq.js → snapshot-hj9jsy39.js} +4 -4
- package/dist/chunks/{mime-m5y7mrec.js → snapshot-htnzn55t.js} +37 -37
- package/dist/chunks/{mime-j113cymg.js → snapshot-j113cymg.js} +1 -1
- package/dist/chunks/{mime-q9qe5dt4.js → snapshot-j7t1g52h.js} +9 -9
- package/dist/chunks/{mime-845h38vz.js → snapshot-j9cjhb81.js} +33 -33
- package/dist/chunks/{mime-h99fb420.js → snapshot-jh96v5at.js} +16 -16
- package/dist/chunks/{mime-wwf2h3h9.js → snapshot-jt7rgdp8.js} +14 -14
- package/dist/chunks/{mime-wsjhra5c.js → snapshot-jx13zqpg.js} +8 -8
- package/dist/chunks/{mime-qhz1719s.js → snapshot-k5xhafzb.js} +29 -29
- package/dist/chunks/{mime-k814nvkf.js → snapshot-k814nvkf.js} +1 -1
- package/dist/chunks/{mime-ypydzh1y.js → snapshot-kg5hf5sk.js} +11 -11
- package/dist/chunks/{mime-gkww2qs4.js → snapshot-kmcztane.js} +8 -8
- package/dist/chunks/{mime-tx9renrs.js → snapshot-knyqd3dz.js} +4 -4
- package/dist/chunks/{mime-7ymw8hcc.js → snapshot-kra5gpw7.js} +43 -43
- package/dist/chunks/{mime-zeg0rdj0.js → snapshot-ks069zf8.js} +56 -56
- package/dist/chunks/{mime-v7qwy7k6.js → snapshot-kzwb18h7.js} +11 -11
- package/dist/chunks/{mime-m1714858.js → snapshot-m1714858.js} +1 -1
- package/dist/chunks/{mime-m37sd98t.js → snapshot-m37sd98t.js} +1 -1
- package/dist/chunks/{mime-3x352axd.js → snapshot-m9vdqn0q.js} +30 -30
- package/dist/chunks/{mime-m9w0rfyh.js → snapshot-m9w0rfyh.js} +1 -1
- package/dist/chunks/{mime-maspj1v3.js → snapshot-maspj1v3.js} +1 -1
- package/dist/chunks/{mime-j2e1pdqh.js → snapshot-mesf2czn.js} +10 -10
- package/dist/chunks/{mime-faz434mq.js → snapshot-mfw0x7a6.js} +61 -61
- package/dist/chunks/{mime-rrpm1tdr.js → snapshot-mqew7zyd.js} +28 -28
- package/dist/chunks/{mime-nvxqht09.js → snapshot-mtpeagzc.js} +3 -3
- package/dist/chunks/{mime-esezyxfc.js → snapshot-mzyv1r8q.js} +11 -11
- package/dist/chunks/{mime-n0p0277s.js → snapshot-n0p0277s.js} +1 -1
- package/dist/chunks/{mime-wvv9pwzq.js → snapshot-n35z2g72.js} +17 -17
- package/dist/chunks/{mime-78t3ejb4.js → snapshot-n911m9zj.js} +20 -20
- package/dist/chunks/{mime-770pw0s1.js → snapshot-nah043kf.js} +4 -4
- package/dist/chunks/{mime-dxknpyv9.js → snapshot-nds6ga7z.js} +17 -17
- package/dist/chunks/{mime-w2cw001h.js → snapshot-nk8tpxf0.js} +3 -3
- package/dist/chunks/{mime-st7p3hwb.js → snapshot-nkr5r85d.js} +2 -2
- package/dist/chunks/{mime-etb6jfd1.js → snapshot-nskhb6ad.js} +32 -32
- package/dist/chunks/{mime-p015t6z3.js → snapshot-p015t6z3.js} +2 -2
- package/dist/chunks/{mime-c99z4cs7.js → snapshot-p0x3txpd.js} +13 -13
- package/dist/chunks/{mime-gfhhve88.js → snapshot-p3p972wa.js} +5 -5
- package/dist/chunks/{mime-rcbjwvze.js → snapshot-p76me67c.js} +4 -4
- package/dist/chunks/{mime-40d1e0p0.js → snapshot-p7qc0ane.js} +41 -41
- package/dist/chunks/{mime-p7vhpwh8.js → snapshot-p7vhpwh8.js} +1 -1
- package/dist/chunks/{mime-es3s6s73.js → snapshot-pacbbjc0.js} +5 -5
- package/dist/chunks/{mime-k1ahy816.js → snapshot-pcspdvfz.js} +5 -5
- package/dist/chunks/{mime-pknna89w.js → snapshot-pknna89w.js} +1 -1
- package/dist/chunks/{mime-q1akkz19.js → snapshot-pqb8eb2f.js} +11 -11
- package/dist/chunks/{mime-csp3r2wr.js → snapshot-pv9y8cyn.js} +11 -11
- package/dist/chunks/{mime-pw6tpjg0.js → snapshot-py70aet5.js} +52 -52
- package/dist/chunks/{mime-z44n2dnr.js → snapshot-q5ve17hv.js} +23 -23
- package/dist/chunks/{mime-c4970w7t.js → snapshot-qah7t4da.js} +6 -6
- package/dist/chunks/{mime-qjgzc4b4.js → snapshot-qjgzc4b4.js} +1 -1
- package/dist/chunks/{mime-cp2r97hh.js → snapshot-qn60nzrt.js} +7 -7
- package/dist/chunks/{mime-jw539tsy.js → snapshot-qqn4m6zg.js} +18 -18
- package/dist/chunks/{mime-9975mbgd.js → snapshot-qz83k29f.js} +11 -11
- package/dist/chunks/{mime-r0yr0wbs.js → snapshot-r0yr0wbs.js} +1 -1
- package/dist/chunks/{mime-rb9dy4dg.js → snapshot-rb9dy4dg.js} +1 -1
- package/dist/chunks/{mime-kcw2mt0q.js → snapshot-rd6zdj6e.js} +3 -3
- package/dist/chunks/{mime-c2q4mep3.js → snapshot-rey6ew65.js} +7 -7
- package/dist/chunks/{mime-aex04x02.js → snapshot-rffg35ng.js} +4 -4
- package/dist/chunks/{mime-agbrqsyc.js → snapshot-rj8x90ng.js} +20 -20
- package/dist/chunks/{mime-2qc2a76n.js → snapshot-rmhxa1va.js} +11 -11
- package/dist/chunks/{mime-rt5dr6hb.js → snapshot-rt5dr6hb.js} +1 -1
- package/dist/chunks/{mime-1hshenye.js → snapshot-ry63fkbp.js} +6 -6
- package/dist/chunks/{mime-92xjtyzm.js → snapshot-s6v9y3bv.js} +3 -3
- package/dist/chunks/{mime-daavfx2n.js → snapshot-s73pgd5t.js} +13 -13
- package/dist/chunks/{mime-1pt7st65.js → snapshot-sh0vvbd0.js} +22 -22
- package/dist/chunks/{mime-avb6j7af.js → snapshot-sk9w2v45.js} +40 -40
- package/dist/chunks/{mime-2r3n53wq.js → snapshot-sknn4ytw.js} +11 -11
- package/dist/chunks/{mime-8f1s63js.js → snapshot-snaj6n18.js} +5 -5
- package/dist/chunks/{mime-sqjzf8x2.js → snapshot-sqjzf8x2.js} +1 -1
- package/dist/chunks/{mime-2c6wxkce.js → snapshot-sz1wsyga.js} +14 -14
- package/dist/chunks/{mime-3kdbrncp.js → snapshot-szcgc7h4.js} +5 -5
- package/dist/chunks/{mime-8e1vzrak.js → snapshot-t1jhrm4y.js} +24 -24
- package/dist/chunks/{mime-3ryz99p0.js → snapshot-t211gxpv.js} +4 -4
- package/dist/chunks/{mime-57b792pb.js → snapshot-t8549y5a.js} +45 -45
- package/dist/chunks/{mime-zc6v1jhv.js → snapshot-t8tbgrvw.js} +16 -16
- package/dist/chunks/{mime-1ynsyetg.js → snapshot-tcnewvsx.js} +23 -23
- package/dist/chunks/{mime-tqx9c315.js → snapshot-tcvw3ax2.js} +8 -8
- package/dist/chunks/{mime-tczq8hjw.js → snapshot-tczq8hjw.js} +1 -1
- package/dist/chunks/{mime-dahs8mrh.js → snapshot-tf2ec46p.js} +14 -14
- package/dist/chunks/{mime-shxxcw0f.js → snapshot-tf5c574a.js} +4 -4
- package/dist/chunks/{mime-bdkfqjh1.js → snapshot-tfkshzr6.js} +3 -3
- package/dist/chunks/{mime-3yh7bp88.js → snapshot-tj8qecb5.js} +17 -17
- package/dist/chunks/{mime-1jt66y4q.js → snapshot-tpez38m9.js} +52 -52
- package/dist/chunks/{mime-fs4v9sqg.js → snapshot-tpzqzpez.js} +7 -7
- package/dist/chunks/{mime-tw8zr1ps.js → snapshot-tw8zr1ps.js} +1 -1
- package/dist/chunks/{mime-1dgpftbk.js → snapshot-twkwk1tg.js} +7 -7
- package/dist/chunks/{mime-twv2r8f4.js → snapshot-twv2r8f4.js} +2 -2
- package/dist/chunks/{mime-v2r1d0zg.js → snapshot-v2r1d0zg.js} +1 -1
- package/dist/chunks/{mime-vxawy97t.js → snapshot-v753rv77.js} +17 -17
- package/dist/chunks/{mime-vd3b3yk9.js → snapshot-vd3b3yk9.js} +1 -1
- package/dist/chunks/{mime-n39q19g8.js → snapshot-ve7ke69q.js} +4 -4
- package/dist/chunks/{mime-veqvce7d.js → snapshot-veqvce7d.js} +1 -1
- package/dist/chunks/{mime-b8fewz8c.js → snapshot-vnn4dnfn.js} +10 -10
- package/dist/chunks/{mime-6fpyxm8h.js → snapshot-w06brs61.js} +11 -11
- package/dist/chunks/{mime-p0ncpex0.js → snapshot-w1pg8ac5.js} +4 -4
- package/dist/chunks/{mime-w2eysc6j.js → snapshot-w2eysc6j.js} +2 -2
- package/dist/chunks/{mime-w3wsvvr9.js → snapshot-w3wsvvr9.js} +1 -1
- package/dist/chunks/{mime-76cb1hcw.js → snapshot-w8qtt4th.js} +4 -4
- package/dist/chunks/{mime-e3ynzpwe.js → snapshot-w9a9fs8e.js} +10 -10
- package/dist/chunks/{mime-wakvkjy4.js → snapshot-wakvkjy4.js} +1 -1
- package/dist/chunks/{mime-wd87259q.js → snapshot-wd87259q.js} +1 -1
- package/dist/chunks/{mime-nefyg2qe.js → snapshot-wh9mm6vw.js} +21 -21
- package/dist/chunks/{mime-9bbgn1zx.js → snapshot-x341zyq1.js} +11 -11
- package/dist/chunks/{mime-a5qzt3rb.js → snapshot-x4c5ct84.js} +2 -2
- package/dist/chunks/{mime-cmrd856v.js → snapshot-x4rf9yj3.js} +10 -10
- package/dist/chunks/{mime-mr6kd87r.js → snapshot-xaxjrmdm.js} +15 -15
- package/dist/chunks/{mime-fb9p315s.js → snapshot-xctkx9ev.js} +25 -25
- package/dist/chunks/{mime-8sxdqgb0.js → snapshot-xkympmbz.js} +6 -6
- package/dist/chunks/{mime-h7w2c8gt.js → snapshot-xnh17wmv.js} +13 -13
- package/dist/chunks/{mime-way9x9na.js → snapshot-xvtsgqh3.js} +18 -18
- package/dist/chunks/{mime-h5frkgzc.js → snapshot-xwbd5bvh.js} +32 -32
- package/dist/chunks/{mime-yz0kavm7.js → snapshot-xxcv7c4s.js} +18 -18
- package/dist/chunks/{mime-xvt56c4d.js → snapshot-xzpe0agp.js} +35 -35
- package/dist/chunks/{mime-9p9xqj3m.js → snapshot-y2tacs4v.js} +4 -4
- package/dist/chunks/{mime-99s58nzh.js → snapshot-y7gkpn43.js} +9 -9
- package/dist/chunks/{mime-yb20nhc3.js → snapshot-yb20nhc3.js} +1 -1
- package/dist/chunks/{mime-sdw0stpz.js → snapshot-ycqmxcqc.js} +17 -17
- package/dist/chunks/{mime-ay6kp039.js → snapshot-yk0esd9v.js} +4 -4
- package/dist/chunks/{mime-ks4dhf3r.js → snapshot-yphmbpfe.js} +17 -17
- package/dist/chunks/{mime-vp7nbskz.js → snapshot-yywmapa3.js} +14 -14
- package/dist/chunks/{mime-z0bkrqjs.js → snapshot-z0bkrqjs.js} +1 -1
- package/dist/chunks/{mime-mdrzmmdf.js → snapshot-z2f4zgv2.js} +28 -28
- package/dist/chunks/{mime-z38nccrw.js → snapshot-z38nccrw.js} +1 -1
- package/dist/chunks/{mime-h0ra2w7t.js → snapshot-z45bvydx.js} +32 -32
- package/dist/chunks/{mime-2yvtks3w.js → snapshot-zg933662.js} +6 -6
- package/dist/chunks/{mime-zkg84ctx.js → snapshot-zkg84ctx.js} +1 -1
- package/dist/chunks/{mime-xn6a1j0y.js → snapshot-zmh6aqr2.js} +8 -8
- package/dist/chunks/{mime-x6e5q3s7.js → snapshot-zyd3t986.js} +11 -11
- package/dist/chunks/{mime-ytr2aw5s.js → snapshot-zysf9qxs.js} +8 -8
- package/dist/chunks/{mime-xgp4rgab.js → snapshot-zzzmj3mf.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +94 -94
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +106 -106
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +107 -107
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +93 -93
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +91 -91
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +156 -156
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +357 -357
- package/dist/location.js +91 -91
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +140 -140
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +101 -101
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +117 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +76 -76
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +74 -74
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +123 -123
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +103 -103
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +170 -170
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +4 -4
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +4 -4
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +136 -136
- package/dist/session/context.js +164 -164
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +130 -130
- package/dist/session/generate.js +166 -166
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +95 -95
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +95 -95
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +132 -132
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +229 -229
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +101 -101
- package/dist/session/runner/publish-llm-event.js +116 -116
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +163 -163
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +162 -162
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +95 -95
- 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 +139 -139
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +132 -132
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/voice.js +88 -88
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +87 -87
- package/dist/worktree.js +92 -92
- package/package.json +8 -8
- package/dist/chunks/mime-1s6zx0v5.js +0 -257
- package/dist/chunks/mime-ezna1kdx.js +0 -18
- /package/dist/chunks/{mime-0qkdqm5v.js → snapshot-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{mime-0zkw76rk.js → snapshot-0zkw76rk.js} +0 -0
- /package/dist/chunks/{mime-17cy0kzp.js → snapshot-17cy0kzp.js} +0 -0
- /package/dist/chunks/{mime-1cnp2v09.js → snapshot-1cnp2v09.js} +0 -0
- /package/dist/chunks/{mime-24dcb14g.js → snapshot-24dcb14g.js} +0 -0
- /package/dist/chunks/{mime-2710q6r3.js → snapshot-2710q6r3.js} +0 -0
- /package/dist/chunks/{mime-2bv980vf.js → snapshot-2bv980vf.js} +0 -0
- /package/dist/chunks/{mime-2c3vjs8z.js → snapshot-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{mime-359p4xyc.js → snapshot-359p4xyc.js} +0 -0
- /package/dist/chunks/{mime-3asan66x.js → snapshot-3asan66x.js} +0 -0
- /package/dist/chunks/{mime-3v8g72cx.js → snapshot-3v8g72cx.js} +0 -0
- /package/dist/chunks/{mime-3wcehsnq.js → snapshot-3wcehsnq.js} +0 -0
- /package/dist/chunks/{mime-43n2bw4t.js → snapshot-43n2bw4t.js} +0 -0
- /package/dist/chunks/{mime-4knz6hnm.js → snapshot-4knz6hnm.js} +0 -0
- /package/dist/chunks/{mime-4vcrnpx2.js → snapshot-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{mime-4y7fprxs.js → snapshot-4y7fprxs.js} +0 -0
- /package/dist/chunks/{mime-53557ph1.js → snapshot-53557ph1.js} +0 -0
- /package/dist/chunks/{mime-550bvhaj.js → snapshot-550bvhaj.js} +0 -0
- /package/dist/chunks/{mime-5fjb7ams.js → snapshot-5fjb7ams.js} +0 -0
- /package/dist/chunks/{mime-6prwharc.js → snapshot-6prwharc.js} +0 -0
- /package/dist/chunks/{mime-6q2bdcd1.js → snapshot-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{mime-7akdwqpd.js → snapshot-7akdwqpd.js} +0 -0
- /package/dist/chunks/{mime-7m9af43g.js → snapshot-7m9af43g.js} +0 -0
- /package/dist/chunks/{mime-822emrt2.js → snapshot-822emrt2.js} +0 -0
- /package/dist/chunks/{mime-84wd9syh.js → snapshot-84wd9syh.js} +0 -0
- /package/dist/chunks/{mime-88xbtdfr.js → snapshot-88xbtdfr.js} +0 -0
- /package/dist/chunks/{mime-8n3pysct.js → snapshot-8n3pysct.js} +0 -0
- /package/dist/chunks/{mime-8wj87zfr.js → snapshot-8wj87zfr.js} +0 -0
- /package/dist/chunks/{mime-9a4afbnw.js → snapshot-9a4afbnw.js} +0 -0
- /package/dist/chunks/{mime-9rqn6x4v.js → snapshot-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{mime-a058387c.js → snapshot-a058387c.js} +0 -0
- /package/dist/chunks/{mime-a6k6eb26.js → snapshot-a6k6eb26.js} +0 -0
- /package/dist/chunks/{mime-af5trqkr.js → snapshot-af5trqkr.js} +0 -0
- /package/dist/chunks/{mime-afrmfg78.js → snapshot-afrmfg78.js} +0 -0
- /package/dist/chunks/{mime-aqzs7mqg.js → snapshot-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{mime-atq7p7m5.js → snapshot-atq7p7m5.js} +0 -0
- /package/dist/chunks/{mime-bkyjaxrp.js → snapshot-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{mime-bmr6ed5q.js → snapshot-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{mime-cf4snx6d.js → snapshot-cf4snx6d.js} +0 -0
- /package/dist/chunks/{mime-cvy3z8tj.js → snapshot-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{mime-d9fn303g.js → snapshot-d9fn303g.js} +0 -0
- /package/dist/chunks/{mime-d9jj8t3e.js → snapshot-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{mime-dajrwvna.js → snapshot-dajrwvna.js} +0 -0
- /package/dist/chunks/{mime-dap0rakb.js → snapshot-dap0rakb.js} +0 -0
- /package/dist/chunks/{mime-df08tz66.js → snapshot-df08tz66.js} +0 -0
- /package/dist/chunks/{mime-dy18nga0.js → snapshot-dy18nga0.js} +0 -0
- /package/dist/chunks/{mime-e5kj55wp.js → snapshot-e5kj55wp.js} +0 -0
- /package/dist/chunks/{mime-e73j6tqm.js → snapshot-e73j6tqm.js} +0 -0
- /package/dist/chunks/{mime-ec1grn59.js → snapshot-ec1grn59.js} +0 -0
- /package/dist/chunks/{mime-eh3zwz77.js → snapshot-eh3zwz77.js} +0 -0
- /package/dist/chunks/{mime-emrn6kk6.js → snapshot-emrn6kk6.js} +0 -0
- /package/dist/chunks/{mime-f0mxakyp.js → snapshot-f0mxakyp.js} +0 -0
- /package/dist/chunks/{mime-f6n9ztr4.js → snapshot-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{mime-faypxj3z.js → snapshot-faypxj3z.js} +0 -0
- /package/dist/chunks/{mime-fd410y7t.js → snapshot-fd410y7t.js} +0 -0
- /package/dist/chunks/{mime-g4wezp1m.js → snapshot-g4wezp1m.js} +0 -0
- /package/dist/chunks/{mime-g86h250q.js → snapshot-g86h250q.js} +0 -0
- /package/dist/chunks/{mime-gebd4c9n.js → snapshot-gebd4c9n.js} +0 -0
- /package/dist/chunks/{mime-gftt206x.js → snapshot-gftt206x.js} +0 -0
- /package/dist/chunks/{mime-hcxmzztb.js → snapshot-hcxmzztb.js} +0 -0
- /package/dist/chunks/{mime-hk9envan.js → snapshot-hk9envan.js} +0 -0
- /package/dist/chunks/{mime-j2ntwpah.js → snapshot-j2ntwpah.js} +0 -0
- /package/dist/chunks/{mime-j5zkgpj8.js → snapshot-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{mime-jjkms2e6.js → snapshot-jjkms2e6.js} +0 -0
- /package/dist/chunks/{mime-jr7sbwjy.js → snapshot-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{mime-jwfs4k6c.js → snapshot-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{mime-jze0r7bz.js → snapshot-jze0r7bz.js} +0 -0
- /package/dist/chunks/{mime-jzg6c2d5.js → snapshot-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{mime-m18g726c.js → snapshot-m18g726c.js} +0 -0
- /package/dist/chunks/{mime-mp448xyj.js → snapshot-mp448xyj.js} +0 -0
- /package/dist/chunks/{mime-msx8hqn2.js → snapshot-msx8hqn2.js} +0 -0
- /package/dist/chunks/{mime-n05xt0ee.js → snapshot-n05xt0ee.js} +0 -0
- /package/dist/chunks/{mime-n3j8tn72.js → snapshot-n3j8tn72.js} +0 -0
- /package/dist/chunks/{mime-njntx4h6.js → snapshot-njntx4h6.js} +0 -0
- /package/dist/chunks/{mime-pkyv6v7h.js → snapshot-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{mime-q3sfg36h.js → snapshot-q3sfg36h.js} +0 -0
- /package/dist/chunks/{mime-q74kybfr.js → snapshot-q74kybfr.js} +0 -0
- /package/dist/chunks/{mime-qaymkmh1.js → snapshot-qaymkmh1.js} +0 -0
- /package/dist/chunks/{mime-qb87gjwd.js → snapshot-qb87gjwd.js} +0 -0
- /package/dist/chunks/{mime-qfa1cgps.js → snapshot-qfa1cgps.js} +0 -0
- /package/dist/chunks/{mime-qg3g05ea.js → snapshot-qg3g05ea.js} +0 -0
- /package/dist/chunks/{mime-qrg20bc0.js → snapshot-qrg20bc0.js} +0 -0
- /package/dist/chunks/{mime-rcb2kzg1.js → snapshot-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{mime-sdp7kfr6.js → snapshot-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{mime-ssg3fenm.js → snapshot-ssg3fenm.js} +0 -0
- /package/dist/chunks/{mime-ve7vex1e.js → snapshot-ve7vex1e.js} +0 -0
- /package/dist/chunks/{mime-w803qqfp.js → snapshot-w803qqfp.js} +0 -0
- /package/dist/chunks/{mime-wc3fc9cn.js → snapshot-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{mime-wer8tq1h.js → snapshot-wer8tq1h.js} +0 -0
- /package/dist/chunks/{mime-wjj7prxr.js → snapshot-wjj7prxr.js} +0 -0
- /package/dist/chunks/{mime-wtztk69x.js → snapshot-wtztk69x.js} +0 -0
- /package/dist/chunks/{mime-x0ckcb58.js → snapshot-x0ckcb58.js} +0 -0
- /package/dist/chunks/{mime-x61499pn.js → snapshot-x61499pn.js} +0 -0
- /package/dist/chunks/{mime-y44na4kk.js → snapshot-y44na4kk.js} +0 -0
- /package/dist/chunks/{mime-y8f7s663.js → snapshot-y8f7s663.js} +0 -0
- /package/dist/chunks/{mime-ygaqb7jw.js → snapshot-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{mime-ym463w8f.js → snapshot-ym463w8f.js} +0 -0
- /package/dist/chunks/{mime-z5v4ffb3.js → snapshot-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{mime-z9919s4g.js → snapshot-z9919s4g.js} +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
6
|
+
var exports_permission = {};
|
|
7
|
+
__export(exports_permission, {
|
|
8
8
|
Action: () => Action2,
|
|
9
|
-
ConfigPermissionV1: () =>
|
|
9
|
+
ConfigPermissionV1: () => exports_permission,
|
|
10
10
|
Entries: () => Entries2,
|
|
11
|
-
Info: () =>
|
|
11
|
+
Info: () => Info16,
|
|
12
12
|
Object: () => Object2,
|
|
13
|
-
Rule: () =>
|
|
13
|
+
Rule: () => Rule2
|
|
14
14
|
});
|
|
15
15
|
import { Schema, SchemaGetter } from "effect";
|
|
16
16
|
var Action2 = Schema.Literals(["ask", "allow", "deny"]).annotate({ identifier: "PermissionActionConfig" });
|
|
@@ -19,13 +19,13 @@ var Entries2 = (value) => Schema.ObjectKeyword.check(Schema.makeFilter((input) =
|
|
|
19
19
|
encode: SchemaGetter.transform((entries) => globalThis.Object.fromEntries(entries))
|
|
20
20
|
}));
|
|
21
21
|
var Object2 = Entries2(Action2).annotate({ identifier: "PermissionObjectConfig" });
|
|
22
|
-
var
|
|
22
|
+
var Rule2 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
|
|
23
23
|
var actionOnly = new Set(["question", "websearch", "doom_loop"]);
|
|
24
|
-
var
|
|
24
|
+
var Info16 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(Rule2), {
|
|
25
25
|
decode: SchemaGetter.transform((input) => typeof input === "string" ? { "*": input } : input),
|
|
26
26
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
27
27
|
})).check(Schema.makeFilter((rules) => rules.every(([key, rule]) => !actionOnly.has(key) || typeof rule === "string"), {
|
|
28
28
|
expected: "question, websearch, and doom_loop to be ask, allow, or deny"
|
|
29
29
|
})).annotate({ identifier: "PermissionConfig" });
|
|
30
30
|
|
|
31
|
-
export { Action2, Entries2, Object2,
|
|
31
|
+
export { Action2, Entries2, Object2, Rule2, Info16, exports_permission };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-zg933662.js";
|
|
5
5
|
import {
|
|
6
6
|
CorrectedError2,
|
|
7
7
|
BlockedError2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./snapshot-py70aet5.js";
|
|
9
9
|
import {
|
|
10
10
|
AuthorizationError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./snapshot-1z8e55mc.js";
|
|
12
12
|
import {
|
|
13
13
|
VariantUnavailableError2,
|
|
14
14
|
UnsupportedPackageError2,
|
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
ModelInitializationError2,
|
|
17
17
|
UnresolvedProviderVariablesError2,
|
|
18
18
|
UnsupportedCompactionError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./snapshot-8yhhbcjk.js";
|
|
20
20
|
import {
|
|
21
21
|
ModelNotSelectedError2,
|
|
22
22
|
ModelUnavailableError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./snapshot-48kj9ap1.js";
|
|
24
24
|
|
|
25
25
|
// src/session/to-session-error.ts
|
|
26
26
|
import { AIError, ToolFailure } from "@opencode/ai";
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-fp9qajhf.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service84,
|
|
7
|
+
node88
|
|
8
|
+
} from "./snapshot-32d3hzha.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service82,
|
|
11
|
+
node86
|
|
12
|
+
} from "./snapshot-v753rv77.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./snapshot-ev660z6k.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service55,
|
|
18
|
+
node57
|
|
19
|
+
} from "./snapshot-btnzg8nv.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node18
|
|
22
|
+
} from "./snapshot-4stkd5r6.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service12,
|
|
25
|
+
node14
|
|
26
|
+
} from "./snapshot-0421tmwc.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
|
-
var
|
|
33
|
-
__export(
|
|
34
|
-
LocationWatcher: () =>
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
32
|
+
var exports_location_watcher2 = {};
|
|
33
|
+
__export(exports_location_watcher2, {
|
|
34
|
+
LocationWatcher: () => exports_location_watcher2,
|
|
35
|
+
Service: () => Service11,
|
|
36
|
+
node: () => node13
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service11 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
45
|
+
var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
46
|
+
const location = yield* Service82;
|
|
47
|
+
const watcher = yield* Service55;
|
|
48
48
|
const bus = yield* Service85;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
51
|
-
const policy = yield*
|
|
50
|
+
const git = yield* Service84;
|
|
51
|
+
const policy = yield* Service12;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service3, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service11.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node13 = makeLocationNode({
|
|
106
|
+
service: Service11,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node57, FSUtil.node, node86, node88, node89, node18, node14]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service11, node13, exports_location_watcher2 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-fp9qajhf.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
External2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service69,
|
|
9
|
+
node72
|
|
10
|
+
} from "./snapshot-dktwc335.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./snapshot-vd3b3yk9.js";
|
|
14
14
|
import {
|
|
15
15
|
key2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./snapshot-ar2j3j0f.js";
|
|
17
17
|
import {
|
|
18
18
|
validateAnswer2,
|
|
19
19
|
validateFields2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./snapshot-t1jhrm4y.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/integration.ts
|
|
26
26
|
var exports_integration = {};
|
|
@@ -35,18 +35,18 @@ __export(exports_integration, {
|
|
|
35
35
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
36
36
|
CommandMethod: () => CommandMethod2,
|
|
37
37
|
EnvMethod: () => EnvMethod2,
|
|
38
|
-
Event: () =>
|
|
38
|
+
Event: () => Event14,
|
|
39
39
|
ExternalMethod: () => ExternalMethod2,
|
|
40
|
-
ID: () =>
|
|
41
|
-
Info: () =>
|
|
40
|
+
ID: () => ID9,
|
|
41
|
+
Info: () => Info19,
|
|
42
42
|
Integration: () => exports_integration,
|
|
43
43
|
KeyMethod: () => KeyMethod2,
|
|
44
44
|
Method: () => Method2,
|
|
45
45
|
MethodID: () => MethodID2,
|
|
46
46
|
OAuthMethod: () => OAuthMethod2,
|
|
47
|
-
Ref: () =>
|
|
48
|
-
Service: () =>
|
|
49
|
-
node: () =>
|
|
47
|
+
Ref: () => Ref3,
|
|
48
|
+
Service: () => Service68,
|
|
49
|
+
node: () => node71
|
|
50
50
|
});
|
|
51
51
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
52
52
|
import {
|
|
@@ -68,8 +68,8 @@ import {
|
|
|
68
68
|
import { Integration } from "@opencode/schema/integration";
|
|
69
69
|
import { AppProcess } from "@opencode/util/process";
|
|
70
70
|
import { ChildProcess } from "effect/process";
|
|
71
|
-
import { Event as
|
|
72
|
-
var
|
|
71
|
+
import { Event as Event14 } from "@opencode/schema/integration";
|
|
72
|
+
var ID9 = Integration.ID;
|
|
73
73
|
var MethodID2 = Integration.MethodID;
|
|
74
74
|
var AttemptID2 = Integration.AttemptID;
|
|
75
75
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -78,7 +78,7 @@ var KeyMethod2 = Integration.KeyMethod;
|
|
|
78
78
|
var ExternalMethod2 = Integration.ExternalMethod;
|
|
79
79
|
var EnvMethod2 = Integration.EnvMethod;
|
|
80
80
|
var Method2 = Integration.Method;
|
|
81
|
-
var
|
|
81
|
+
var Info19 = Integration.Info;
|
|
82
82
|
var Attempt2 = Integration.Attempt;
|
|
83
83
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
84
84
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -101,19 +101,19 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
104
|
-
integrationID:
|
|
104
|
+
integrationID: ID9,
|
|
105
105
|
attemptID: AttemptID2
|
|
106
106
|
}) {
|
|
107
107
|
}
|
|
108
|
-
var
|
|
108
|
+
var Ref3 = Integration.Ref;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service68 extends Context.Service()("@opencode/Integration") {
|
|
111
111
|
}
|
|
112
112
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
113
113
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
114
114
|
var scrubInterval = Duration.seconds(30);
|
|
115
|
-
var layer = Layer.effect(
|
|
116
|
-
const credentials = yield*
|
|
115
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
116
|
+
const credentials = yield* Service69;
|
|
117
117
|
const bus = yield* Service85;
|
|
118
118
|
const processes = yield* AppProcess.Service;
|
|
119
119
|
const scope = yield* Scope.Scope;
|
|
@@ -214,7 +214,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
214
214
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
215
215
|
return [...credentials, ...env];
|
|
216
216
|
};
|
|
217
|
-
const project = (entry, connections) =>
|
|
217
|
+
const project = (entry, connections) => Info19.make({
|
|
218
218
|
id: entry.ref.id,
|
|
219
219
|
name: entry.ref.name,
|
|
220
220
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -447,7 +447,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
447
447
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
448
448
|
return CommandAttempt2.make({ attemptID, time });
|
|
449
449
|
});
|
|
450
|
-
return
|
|
450
|
+
return Service68.of({
|
|
451
451
|
transform: state.transform,
|
|
452
452
|
reload: state.reload,
|
|
453
453
|
revision: state.revision,
|
|
@@ -629,10 +629,10 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
629
629
|
}
|
|
630
630
|
});
|
|
631
631
|
}));
|
|
632
|
-
var
|
|
633
|
-
service:
|
|
632
|
+
var node71 = makeLocationNode({
|
|
633
|
+
service: Service68,
|
|
634
634
|
layer,
|
|
635
|
-
deps: [
|
|
635
|
+
deps: [node72, node89, AppProcess.node]
|
|
636
636
|
});
|
|
637
637
|
|
|
638
|
-
export {
|
|
638
|
+
export { ID9, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info19, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service68, node71, exports_integration, Event14 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
match2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-z38nccrw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/managed-policy.ts
|
|
9
9
|
var exports_managed_policy = {};
|
|
10
10
|
__export(exports_managed_policy, {
|
|
11
11
|
ManagedPolicy: () => exports_managed_policy,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service13,
|
|
13
13
|
decision: () => decision2,
|
|
14
|
-
layer: () =>
|
|
15
|
-
node: () =>
|
|
14
|
+
layer: () => layer9,
|
|
15
|
+
node: () => node15,
|
|
16
16
|
statements: () => statements2
|
|
17
17
|
});
|
|
18
18
|
import { isDeepStrictEqual } from "node:util";
|
|
19
19
|
import { Context, Effect, Layer, PubSub, Stream } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class Service13 extends Context.Service()("@opencode/ManagedPolicy") {
|
|
23
23
|
}
|
|
24
|
-
var
|
|
24
|
+
var layer9 = Layer.effect(Service13, Effect.gen(function* () {
|
|
25
25
|
const changes = yield* PubSub.unbounded();
|
|
26
26
|
const state = { current: { statements: [] } };
|
|
27
|
-
return
|
|
27
|
+
return Service13.of({
|
|
28
28
|
changes: () => Stream.fromPubSub(changes),
|
|
29
29
|
current: () => state.current,
|
|
30
30
|
set: (next) => Effect.gen(function* () {
|
|
@@ -36,7 +36,7 @@ var layer10 = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
36
36
|
})
|
|
37
37
|
});
|
|
38
38
|
}));
|
|
39
|
-
var
|
|
39
|
+
var node15 = makeGlobalNode({ service: Service13, layer: layer9, deps: [] });
|
|
40
40
|
function statements2(entries, organization) {
|
|
41
41
|
return [
|
|
42
42
|
...entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.policies ?? []).map((policy) => ({ ...policy, message: "Blocked by configuration policy" })),
|
|
@@ -50,4 +50,4 @@ function decision2(policies, action, resource) {
|
|
|
50
50
|
return policies.findLast((policy) => policy.action === action && match2(resource, policy.resource))?.effect ?? "allow";
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service13, layer9, node15, statements2, decision2, exports_managed_policy };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service80
|
|
3
|
+
} from "./snapshot-btd04tm9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service24,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./snapshot-32jffxcm.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service14
|
|
11
|
+
} from "./snapshot-8tsxffec.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service70
|
|
14
|
+
} from "./snapshot-py70aet5.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service17
|
|
17
|
+
} from "./snapshot-3maxfv7x.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./snapshot-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input4,
|
|
29
|
+
Output: () => Output4,
|
|
30
|
+
Plugin: () => Plugin22,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
32
|
+
name: () => name4,
|
|
33
33
|
toModelContent: () => toModelContent3
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name4 = "write";
|
|
39
|
+
var Input4 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output4 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
51
|
var toModelContent3 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
-
var
|
|
52
|
+
var Plugin22 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service17;
|
|
56
|
+
const fileMutation = yield* Service24;
|
|
57
|
+
const environment = yield* Service80;
|
|
58
|
+
const formatter = yield* Service14;
|
|
59
|
+
const permission = yield* Service70;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name4,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input4,
|
|
69
|
+
output: Output4,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -98,4 +98,4 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name4, Input4, Output4, toModelContent3, Plugin22, exports_write };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-qjgzc4b4.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service10,
|
|
13
|
+
node: () => node12
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service10 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service10.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node12 = makeGlobalNode({ service: Service10, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service10, node12, exports_update };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-aj7mw0zk.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID8,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
timeouts2,
|
|
6
6
|
mergeOverlay2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./snapshot-xwbd5bvh.js";
|
|
8
8
|
import {
|
|
9
9
|
stringify2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./snapshot-5fjb7ams.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/aisdk.ts
|
|
16
16
|
var exports_aisdk = {};
|
|
17
17
|
__export(exports_aisdk, {
|
|
18
18
|
AISDK: () => exports_aisdk,
|
|
19
19
|
InitError: () => InitError2,
|
|
20
|
-
Service: () =>
|
|
20
|
+
Service: () => Service57,
|
|
21
21
|
locationLayer: () => locationLayer2,
|
|
22
|
-
node: () =>
|
|
22
|
+
node: () => node59
|
|
23
23
|
});
|
|
24
24
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
25
25
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -156,7 +156,7 @@ function throughMiddleware(store, send, input, init) {
|
|
|
156
156
|
var HEADER_TIMEOUT_MESSAGE = "Response headers timed out";
|
|
157
157
|
|
|
158
158
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
159
|
-
providerID:
|
|
159
|
+
providerID: ID8,
|
|
160
160
|
cause: Schema.Defect()
|
|
161
161
|
}) {
|
|
162
162
|
}
|
|
@@ -164,9 +164,9 @@ function initError(providerID) {
|
|
|
164
164
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
165
165
|
}
|
|
166
166
|
|
|
167
|
-
class
|
|
167
|
+
class Service57 extends Context.Service()("@opencode/AISDK") {
|
|
168
168
|
}
|
|
169
|
-
var locationLayer2 = Layer.effect(
|
|
169
|
+
var locationLayer2 = Layer.effect(Service57, Effect.gen(function* () {
|
|
170
170
|
let sdkHooks = [];
|
|
171
171
|
let languageHooks = [];
|
|
172
172
|
const languages = new Map;
|
|
@@ -204,7 +204,7 @@ var locationLayer2 = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
204
204
|
}
|
|
205
205
|
return event;
|
|
206
206
|
});
|
|
207
|
-
const service =
|
|
207
|
+
const service = Service57.of({
|
|
208
208
|
hook: {
|
|
209
209
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
210
210
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -870,6 +870,6 @@ function providerErrorMessage(error) {
|
|
|
870
870
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
871
871
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
872
872
|
}
|
|
873
|
-
var
|
|
873
|
+
var node59 = makeLocationNode({ service: Service57, layer: locationLayer2, deps: [] });
|
|
874
874
|
|
|
875
|
-
export { InitError2,
|
|
875
|
+
export { InitError2, Service57, locationLayer2, node59, exports_aisdk };
|