@opencode/core 0.0.0-dev-232 → 0.0.0-dev-233
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 +92 -92
- package/dist/aisdk-native.js +100 -100
- package/dist/aisdk.js +104 -104
- package/dist/app.js +7 -7
- package/dist/bus.js +78 -78
- package/dist/chunks/bus-00ve6mdn.js +18 -0
- package/dist/chunks/{credential-034tev2y.js → bus-034tev2y.js} +2 -2
- package/dist/chunks/{credential-cm2hyy18.js → bus-04pp57dr.js} +8 -8
- package/dist/chunks/{credential-4gnj7q94.js → bus-06t14ddp.js} +1 -1
- package/dist/chunks/{credential-2g02qr0r.js → bus-07m51zyr.js} +5 -5
- package/dist/chunks/{credential-9f3sjfep.js → bus-0anyt1n6.js} +9 -9
- package/dist/chunks/{credential-w0sctsdt.js → bus-0azq8fy9.js} +2 -2
- package/dist/chunks/{credential-j499rj47.js → bus-0cqzd7yx.js} +4 -4
- package/dist/chunks/{credential-a38b7w2q.js → bus-0es81n8q.js} +8 -8
- package/dist/chunks/{credential-ymz7p2c9.js → bus-0f8tg23y.js} +3 -3
- package/dist/chunks/{credential-z01m528w.js → bus-0vx0x5fb.js} +16 -16
- package/dist/chunks/{credential-7tgk2ckz.js → bus-0znsw351.js} +9 -9
- package/dist/chunks/{credential-f758g5wm.js → bus-11gkgbrz.js} +2 -2
- package/dist/chunks/{credential-ayvz2n09.js → bus-12yrf7jb.js} +5 -5
- package/dist/chunks/{credential-sm7psbfm.js → bus-158gwrne.js} +12 -12
- package/dist/chunks/{credential-9qcg53ez.js → bus-162nfr0g.js} +9 -9
- package/dist/chunks/{credential-1ep2p91f.js → bus-1ep2p91f.js} +2 -2
- package/dist/chunks/{credential-1x2knyw4.js → bus-1x2knyw4.js} +1 -1
- package/dist/chunks/{credential-k532z9bf.js → bus-1y1sdcvs.js} +15 -15
- package/dist/chunks/{credential-204s3925.js → bus-204s3925.js} +1 -1
- package/dist/chunks/{credential-1rtcg5pt.js → bus-21m1qx2d.js} +18 -18
- package/dist/chunks/{credential-25h84942.js → bus-25h84942.js} +1 -1
- package/dist/chunks/{credential-4y8p0etd.js → bus-2cgds78d.js} +23 -23
- package/dist/chunks/{credential-gnzzs75r.js → bus-2jr2kyhh.js} +5 -5
- package/dist/chunks/{credential-kmv1hb68.js → bus-2qe92jhz.js} +8 -8
- package/dist/chunks/{credential-12h4w7eb.js → bus-2s6jkv91.js} +11 -11
- package/dist/chunks/{credential-6qwvma6z.js → bus-2ty01zvd.js} +13 -13
- package/dist/chunks/{credential-wfv6mr0t.js → bus-32z24wxs.js} +28 -28
- package/dist/chunks/{credential-agqd6nxz.js → bus-36qx82yz.js} +2 -2
- package/dist/chunks/{credential-xby0v85x.js → bus-3carsgcx.js} +6 -6
- package/dist/chunks/{credential-a1226ymt.js → bus-3es65w47.js} +9 -9
- package/dist/chunks/{credential-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
- package/dist/chunks/{credential-3nnrz6f6.js → bus-3nnrz6f6.js} +1 -1
- package/dist/chunks/{credential-3pw2198r.js → bus-3rbyhj39.js} +81 -81
- package/dist/chunks/{credential-cpvd08na.js → bus-3ryz99p0.js} +4 -4
- package/dist/chunks/{credential-79se5gqs.js → bus-3wk2baz8.js} +14 -14
- package/dist/chunks/{credential-rfrz2qbb.js → bus-3zjzp6xn.js} +21 -21
- package/dist/chunks/{credential-xf8b1wk9.js → bus-4dkdeg3x.js} +23 -23
- package/dist/chunks/{credential-nr90vwd5.js → bus-4pnq7323.js} +5 -5
- package/dist/chunks/{credential-4pyp9zr9.js → bus-4pyp9zr9.js} +1 -1
- package/dist/chunks/{credential-4v008n1t.js → bus-4v008n1t.js} +1 -1
- package/dist/chunks/{credential-rrfeqsm8.js → bus-5hvj3cgw.js} +22 -22
- package/dist/chunks/{credential-1ke0ebjk.js → bus-5kkktyrc.js} +8 -8
- package/dist/chunks/{credential-5m9w47nd.js → bus-5m9w47nd.js} +1 -1
- package/dist/chunks/{credential-x657mhw6.js → bus-5qpycfhf.js} +15 -15
- package/dist/chunks/{credential-zhd9tgn6.js → bus-67sqxw17.js} +20 -20
- package/dist/chunks/{credential-1t4t88x3.js → bus-69fgec3f.js} +26 -26
- package/dist/chunks/{credential-2jm7sg1n.js → bus-6drdq4m3.js} +41 -41
- package/dist/chunks/{credential-9vp6aqcz.js → bus-6eetqezh.js} +10 -10
- package/dist/chunks/{credential-6esdw8yj.js → bus-6esdw8yj.js} +1 -1
- package/dist/chunks/{credential-7evtdt3e.js → bus-6mq5ryr8.js} +4 -4
- package/dist/chunks/{credential-vqe08nj1.js → bus-6rqscc3n.js} +24 -24
- package/dist/chunks/{credential-kvvwtbv8.js → bus-6yence91.js} +29 -29
- package/dist/chunks/{credential-1fqvap8y.js → bus-72a16mc2.js} +19 -19
- package/dist/chunks/{credential-2teqx1fj.js → bus-74e79trj.js} +16 -16
- package/dist/chunks/{credential-w8qtt4th.js → bus-76cb1hcw.js} +4 -4
- package/dist/chunks/{credential-h5kmqadq.js → bus-76k1r7sv.js} +20 -20
- package/dist/chunks/{credential-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
- package/dist/chunks/{credential-gqk9gxfj.js → bus-7cgnmsnz.js} +9 -9
- package/dist/chunks/{credential-m0w0bb4h.js → bus-7kprcbad.js} +5 -5
- package/dist/chunks/{credential-9gmdzyfg.js → bus-7p8y1xew.js} +21 -21
- package/dist/chunks/{credential-t1qmvjvb.js → bus-7r82pzna.js} +32 -32
- package/dist/chunks/{credential-7w2ypzdf.js → bus-7w2ypzdf.js} +1 -1
- package/dist/chunks/{credential-yc1k612c.js → bus-7x554r32.js} +9 -9
- package/dist/chunks/{credential-h4p3pyf8.js → bus-818eymrz.js} +6 -6
- package/dist/chunks/{credential-aafav67h.js → bus-8edw0cf2.js} +6 -6
- package/dist/chunks/{credential-11hfp36g.js → bus-8jztxfpf.js} +4 -4
- package/dist/chunks/{credential-n65rh0xd.js → bus-8pkhhaa7.js} +30 -30
- package/dist/chunks/{credential-mv2126ff.js → bus-8vm3c4cx.js} +21 -21
- package/dist/chunks/{credential-8wtp7s3z.js → bus-8wtp7s3z.js} +1 -1
- package/dist/chunks/{credential-90zstvax.js → bus-90zstvax.js} +1 -1
- package/dist/chunks/{credential-9dyz4be8.js → bus-92vky5wk.js} +11 -11
- package/dist/chunks/{credential-4zrcmfpw.js → bus-961m4qdm.js} +7 -7
- package/dist/chunks/{credential-myskz43g.js → bus-9agry0mm.js} +2 -2
- package/dist/chunks/{credential-fv02tqgz.js → bus-9n8z28yy.js} +22 -22
- package/dist/chunks/{credential-k9ayha1m.js → bus-9nx9hf51.js} +6 -6
- package/dist/chunks/{credential-384pxm0c.js → bus-a0qb2paf.js} +10 -10
- package/dist/chunks/{credential-tqg17mva.js → bus-a38ksn3m.js} +30 -30
- package/dist/chunks/{credential-a3975399.js → bus-agvxwjff.js} +12 -12
- package/dist/chunks/{credential-3ct3v2ns.js → bus-amzzn6zg.js} +11 -11
- package/dist/chunks/{credential-ayjs7tqn.js → bus-ayjs7tqn.js} +2 -2
- package/dist/chunks/bus-aykdwqbv.js +257 -0
- package/dist/chunks/{credential-60d2znf6.js → bus-b1gj8ygw.js} +4 -4
- package/dist/chunks/{credential-5nnwax6m.js → bus-b6vsg801.js} +5 -5
- package/dist/chunks/{credential-2pe161ac.js → bus-bgyx9ygv.js} +24 -24
- package/dist/chunks/{credential-fjds1fn3.js → bus-bj6adykh.js} +8 -8
- package/dist/chunks/{credential-81a9zpe2.js → bus-bqzcd44k.js} +8 -8
- package/dist/chunks/{credential-xd9cc171.js → bus-bstexjd6.js} +5 -5
- package/dist/chunks/{credential-yvt4z0b8.js → bus-by25n89t.js} +36 -36
- package/dist/chunks/{credential-mbq8kt07.js → bus-byj473rn.js} +8 -8
- package/dist/chunks/{credential-pm3q2zxn.js → bus-c1a686j5.js} +8 -8
- package/dist/chunks/{credential-9wp8352v.js → bus-c3fg13fa.js} +3 -3
- package/dist/chunks/{credential-6n1skpzs.js → bus-c6k5p5tb.js} +12 -12
- package/dist/chunks/{credential-b5nc9mwq.js → bus-c8ph4e1p.js} +16 -16
- package/dist/chunks/{credential-rbftx08j.js → bus-ca947eq7.js} +3 -3
- package/dist/chunks/{credential-hszqsyww.js → bus-cdtqhjvm.js} +10 -10
- package/dist/chunks/{credential-4zsb5k87.js → bus-ceqqxneb.js} +11 -11
- package/dist/chunks/{credential-ys32d0ez.js → bus-cf4c2abg.js} +6 -6
- package/dist/chunks/{credential-8dfptpqb.js → bus-cpe35zww.js} +4 -4
- package/dist/chunks/{credential-50ttnce6.js → bus-cwa3fr09.js} +57 -57
- package/dist/chunks/{credential-88f4ansx.js → bus-cwkz8rb4.js} +11 -11
- package/dist/chunks/{credential-cwrgdav8.js → bus-cwrgdav8.js} +2 -2
- package/dist/chunks/{credential-d4v9tmah.js → bus-d4v9tmah.js} +2 -2
- package/dist/chunks/{credential-34e87nx4.js → bus-d80gpe23.js} +19 -19
- package/dist/chunks/{credential-zhmdrh6b.js → bus-d96p21aj.js} +18 -18
- package/dist/chunks/bus-dasb3jjm.js +26 -0
- package/dist/chunks/{credential-qe54a3zp.js → bus-de3kd59v.js} +43 -43
- package/dist/chunks/{credential-9a1tdgr3.js → bus-dhg7g0zf.js} +25 -25
- package/dist/chunks/{credential-95byvzjw.js → bus-dhp97qke.js} +11 -11
- package/dist/chunks/{credential-3j1m3tq4.js → bus-ds7r37yp.js} +5 -5
- package/dist/chunks/{credential-dt77769w.js → bus-dt77769w.js} +1 -1
- package/dist/chunks/{credential-rgg7ckaw.js → bus-dwemer89.js} +14 -14
- package/dist/chunks/{credential-92cn2t4g.js → bus-dy9zc4pe.js} +11 -11
- package/dist/chunks/{credential-z3390mnz.js → bus-e63fs6m1.js} +46 -46
- package/dist/chunks/{credential-e834z07m.js → bus-e834z07m.js} +1 -1
- package/dist/chunks/{credential-eahpwh8e.js → bus-eahpwh8e.js} +4 -4
- package/dist/chunks/{credential-y73ydd0q.js → bus-ebkm765p.js} +30 -30
- package/dist/chunks/{credential-1qsv2p2w.js → bus-ec14ztk4.js} +3 -3
- package/dist/chunks/{credential-0m9q59s6.js → bus-erjptbv1.js} +4 -4
- package/dist/chunks/{credential-b6y9tnyb.js → bus-esn455wh.js} +13 -13
- package/dist/chunks/{credential-sskrz1rw.js → bus-f8smm1h8.js} +32 -32
- package/dist/chunks/{credential-c1z88dhz.js → bus-f9nwn4tf.js} +3 -3
- package/dist/chunks/{credential-yv1jexcb.js → bus-faz7t49j.js} +6 -6
- package/dist/chunks/{credential-fffv3p7h.js → bus-fffv3p7h.js} +1 -1
- package/dist/chunks/{credential-fg9p65nk.js → bus-fg9p65nk.js} +2 -2
- package/dist/chunks/{credential-2xpqyv5y.js → bus-fnrcf1wj.js} +24 -24
- package/dist/chunks/{credential-t3p3y0b7.js → bus-fpgy7th3.js} +9 -9
- package/dist/chunks/{credential-fypmhnps.js → bus-fypmhnps.js} +2 -2
- package/dist/chunks/{credential-p9g1pat1.js → bus-fyyp424t.js} +31 -31
- package/dist/chunks/{credential-ds6gwmx6.js → bus-g4wezt3f.js} +2 -2
- package/dist/chunks/{credential-7j68yrtf.js → bus-gbhvr811.js} +24 -24
- package/dist/chunks/{credential-jcqm84fr.js → bus-gcjdgkn2.js} +9 -9
- package/dist/chunks/{credential-z017em5h.js → bus-gckdc5ay.js} +18 -18
- package/dist/chunks/{credential-z51dnz1g.js → bus-h1ygv866.js} +5 -5
- package/dist/chunks/{credential-85ns452d.js → bus-h9vwxdya.js} +48 -48
- package/dist/chunks/{credential-ye0pyk4z.js → bus-ha5nk7p4.js} +15 -15
- package/dist/chunks/{credential-hjx8amkq.js → bus-hbrjs09v.js} +5 -5
- package/dist/chunks/{credential-ytjvy0qw.js → bus-hh14ynr9.js} +27 -27
- package/dist/chunks/{credential-7vh1qcpk.js → bus-hkjbyznq.js} +8 -8
- package/dist/chunks/{credential-p580ev26.js → bus-hn4sj8vd.js} +6 -6
- package/dist/chunks/{credential-hpg1pkwy.js → bus-hpg1pkwy.js} +1 -1
- package/dist/chunks/{credential-3hxa5b5d.js → bus-hpyv6m3b.js} +326 -326
- package/dist/chunks/{credential-ch2d8ay7.js → bus-hwrm0jef.js} +28 -28
- package/dist/chunks/{credential-wnk70846.js → bus-hx97nj8x.js} +14 -14
- package/dist/chunks/{credential-e9rx3qe8.js → bus-j5txmjyq.js} +11 -11
- package/dist/chunks/{credential-dkvmgk9x.js → bus-j8w82mf5.js} +16 -16
- package/dist/chunks/{credential-3kdbrncp.js → bus-ja63h2sr.js} +5 -5
- package/dist/chunks/{credential-vbhg7a8p.js → bus-jaan4nhy.js} +35 -35
- package/dist/chunks/{credential-jfaecv01.js → bus-jfaecv01.js} +1 -1
- package/dist/chunks/{credential-33rwgczv.js → bus-jfvq35wr.js} +15 -15
- package/dist/chunks/{credential-jtnps1zs.js → bus-jtnps1zs.js} +2 -2
- package/dist/chunks/{credential-vqavkb0r.js → bus-jvqz6y9c.js} +13 -13
- package/dist/chunks/{credential-y38nte2y.js → bus-jxr5ks98.js} +6 -6
- package/dist/chunks/{credential-gv0qvba3.js → bus-jzv5rqjm.js} +9 -9
- package/dist/chunks/{credential-fpy4nybh.js → bus-k1p2a49w.js} +11 -11
- package/dist/chunks/{credential-6869n964.js → bus-k5xdymkf.js} +11 -11
- package/dist/chunks/{credential-78r8et96.js → bus-k7xg2xms.js} +9 -9
- package/dist/chunks/{credential-k814nvkf.js → bus-k814nvkf.js} +1 -1
- package/dist/chunks/{credential-yyv7g89v.js → bus-k89jh6dj.js} +16 -16
- package/dist/chunks/{credential-3r2mjcrp.js → bus-kkfw1ty8.js} +11 -11
- package/dist/chunks/{credential-kt3bjfbg.js → bus-kt3bjfbg.js} +1 -1
- package/dist/chunks/{credential-j93e60fq.js → bus-ktr6pf1t.js} +26 -26
- package/dist/chunks/{credential-mv2fpsaq.js → bus-m0cjf5xp.js} +16 -16
- package/dist/chunks/{credential-b83byfam.js → bus-m0dqqhg5.js} +8 -8
- package/dist/chunks/{credential-m1714858.js → bus-m1714858.js} +1 -1
- package/dist/chunks/{credential-rsw4x5nh.js → bus-m4sdr4hs.js} +31 -31
- package/dist/chunks/{credential-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
- package/dist/chunks/{credential-mb7mbhnz.js → bus-mb7mbhnz.js} +3 -3
- package/dist/chunks/{credential-02074jrw.js → bus-mmp59vtg.js} +28 -28
- package/dist/chunks/{credential-vx3jgdek.js → bus-mtpeagzc.js} +3 -3
- package/dist/chunks/{credential-a3a7mjkh.js → bus-mttwgft7.js} +20 -20
- package/dist/chunks/{credential-xm0pdva2.js → bus-my7b4af9.js} +34 -34
- package/dist/chunks/{credential-zfyyea20.js → bus-mz1qqpv3.js} +9 -9
- package/dist/chunks/{credential-4hqwqpkp.js → bus-n5eh1rap.js} +82 -82
- package/dist/chunks/{credential-2r1210wt.js → bus-n9d26gdb.js} +10 -10
- package/dist/chunks/{credential-tp62qny7.js → bus-n9rn6xa3.js} +11 -11
- package/dist/chunks/{credential-nah043kf.js → bus-nah043kf.js} +1 -1
- package/dist/chunks/{credential-66304bnq.js → bus-ndsna3c1.js} +32 -32
- package/dist/chunks/{credential-p015t6z3.js → bus-p015t6z3.js} +2 -2
- package/dist/chunks/{credential-1yq9hg58.js → bus-p7vhpwh8.js} +5 -5
- package/dist/chunks/{credential-ppvmsckx.js → bus-p9k333b6.js} +6 -6
- package/dist/chunks/{credential-n786j7gq.js → bus-per0mbyz.js} +13 -13
- package/dist/chunks/{credential-sgwnnnm7.js → bus-pfb4yznh.js} +10 -10
- package/dist/chunks/{credential-h4t863wd.js → bus-pfsn56gn.js} +8 -8
- package/dist/chunks/{credential-0330sawq.js → bus-phaw4w7g.js} +5 -5
- package/dist/chunks/{credential-bf19td7e.js → bus-pkdrh1qv.js} +4 -4
- package/dist/chunks/{credential-pknna89w.js → bus-pknna89w.js} +1 -1
- package/dist/chunks/{credential-jera5sqk.js → bus-prhcv6dr.js} +20 -20
- package/dist/chunks/{credential-69r9be3z.js → bus-ptc9r7kc.js} +33 -33
- package/dist/chunks/{credential-wae28k01.js → bus-pyjsgtqa.js} +9 -9
- package/dist/chunks/{credential-ef6q3xef.js → bus-pzbysshh.js} +76 -76
- package/dist/chunks/{credential-z8fzb2rn.js → bus-qn5zf4nr.js} +25 -25
- package/dist/chunks/{credential-qp7r0hxv.js → bus-qp7r0hxv.js} +1 -1
- package/dist/chunks/{credential-jwskecy1.js → bus-qpgx3sd4.js} +12 -12
- package/dist/chunks/{credential-qqvy8y24.js → bus-qqvy8y24.js} +1 -1
- package/dist/chunks/{credential-m5ybn5jf.js → bus-qyny2w4y.js} +18 -18
- package/dist/chunks/{credential-3kaedtbj.js → bus-r082yccm.js} +14 -14
- package/dist/chunks/{credential-r0yr0wbs.js → bus-r0yr0wbs.js} +1 -1
- package/dist/chunks/{credential-r542h3bh.js → bus-r542h3bh.js} +1 -1
- package/dist/chunks/{credential-7n02w7qn.js → bus-r9fybn2k.js} +43 -43
- package/dist/chunks/{credential-2dh97hnq.js → bus-rb1rz6cd.js} +5 -5
- package/dist/chunks/{credential-rb9dy4dg.js → bus-rb9dy4dg.js} +1 -1
- package/dist/chunks/{credential-hezj4sa2.js → bus-rdajxzmj.js} +9 -9
- package/dist/chunks/{credential-xr0813vk.js → bus-rf3ew56q.js} +31 -31
- package/dist/chunks/{credential-6fvxxg60.js → bus-rg52mm6z.js} +25 -25
- package/dist/chunks/{credential-wzrertcx.js → bus-rgdq8gvk.js} +12 -12
- package/dist/chunks/{credential-998ewk3b.js → bus-rkrna9hn.js} +2 -2
- package/dist/chunks/{credential-j00x2d5t.js → bus-rr54y859.js} +4 -4
- package/dist/chunks/{credential-rt5dr6hb.js → bus-rt5dr6hb.js} +1 -1
- package/dist/chunks/{credential-4na4vtxt.js → bus-rwdwt89q.js} +10 -10
- package/dist/chunks/{credential-s7gmm2q3.js → bus-s7gmm2q3.js} +3 -3
- package/dist/chunks/{credential-pcspc0c8.js → bus-s9m7w1wa.js} +15 -15
- package/dist/chunks/{credential-sa3fpqfw.js → bus-sa3fpqfw.js} +2 -2
- package/dist/chunks/{credential-g3p0mxj8.js → bus-sag1960s.js} +4 -4
- package/dist/chunks/{credential-fh48twx0.js → bus-sbg8j0vj.js} +11 -11
- package/dist/chunks/{credential-5ntfweg7.js → bus-sbr89z4j.js} +27 -27
- package/dist/chunks/{credential-z2qbjhyn.js → bus-sfkj0ta1.js} +5 -5
- package/dist/chunks/{credential-sqjzf8x2.js → bus-sqjzf8x2.js} +1 -1
- package/dist/chunks/{credential-13mbnmkz.js → bus-srxxcest.js} +30 -30
- package/dist/chunks/{credential-ssfehs1z.js → bus-ssfehs1z.js} +1 -1
- package/dist/chunks/{credential-svcy3p9a.js → bus-svcy3p9a.js} +1 -1
- package/dist/chunks/{credential-k8v5aqnf.js → bus-svwybv69.js} +9 -9
- package/dist/chunks/{credential-kv8hcqvx.js → bus-sz9w62cr.js} +22 -22
- package/dist/chunks/{credential-02gdc367.js → bus-t0mx6v2s.js} +17 -17
- package/dist/chunks/{credential-yz5sb0gz.js → bus-t1dw8cfv.js} +11 -11
- package/dist/chunks/{credential-tczq8hjw.js → bus-tczq8hjw.js} +1 -1
- package/dist/chunks/{credential-p8ke63yd.js → bus-tvhr4amm.js} +4 -4
- package/dist/chunks/{credential-wtn5j8ff.js → bus-twj077f6.js} +1 -1
- package/dist/chunks/{credential-twssxy5n.js → bus-twssxy5n.js} +2 -2
- package/dist/chunks/{credential-xg75fqpv.js → bus-txa2na18.js} +23 -23
- package/dist/chunks/{credential-jvn8ph2p.js → bus-v0sdba08.js} +14 -14
- package/dist/chunks/{credential-mmx1mfjr.js → bus-v0t96s7a.js} +4 -4
- package/dist/chunks/{credential-v2r1d0zg.js → bus-v2r1d0zg.js} +1 -1
- package/dist/chunks/{credential-nbg1eymv.js → bus-v3kn2g9y.js} +5 -5
- package/dist/chunks/{credential-tg1vr1qt.js → bus-v5hpj9dd.js} +8 -8
- package/dist/chunks/{credential-44jn1514.js → bus-v75c35rk.js} +13 -13
- package/dist/chunks/{credential-w1tnk1sc.js → bus-v7hm3t8n.js} +7 -7
- package/dist/chunks/{credential-nb115p4b.js → bus-va1w8a24.js} +17 -17
- package/dist/chunks/{credential-2zp5a6yg.js → bus-vb80j1wh.js} +3 -3
- package/dist/chunks/{credential-m37sd98t.js → bus-vmfhgzt5.js} +4 -4
- package/dist/chunks/{credential-vaq1yek0.js → bus-vsqvcqta.js} +6 -6
- package/dist/chunks/{credential-jypxyda9.js → bus-vxdc9hjx.js} +2 -2
- package/dist/chunks/{credential-65v26sy5.js → bus-vzv0sjvt.js} +9 -9
- package/dist/chunks/{credential-ac39bgbj.js → bus-vzvgxy56.js} +24 -24
- package/dist/chunks/{credential-5enarcya.js → bus-w2eysc6j.js} +6 -6
- package/dist/chunks/{credential-6astz3f9.js → bus-w2gtp0cp.js} +30 -30
- package/dist/chunks/{credential-k9zkdd2y.js → bus-w307e9wj.js} +4 -4
- package/dist/chunks/{credential-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
- package/dist/chunks/{credential-fea2mecn.js → bus-w4650645.js} +7 -7
- package/dist/chunks/{credential-2vp3eae7.js → bus-w5v2k2bw.js} +12 -12
- package/dist/chunks/{credential-wakvkjy4.js → bus-wakvkjy4.js} +1 -1
- package/dist/chunks/{credential-wd87259q.js → bus-wd87259q.js} +1 -1
- package/dist/chunks/{credential-wnhgecwx.js → bus-wnhgecwx.js} +1 -1
- package/dist/chunks/{credential-wr3re1en.js → bus-wr3re1en.js} +1 -1
- package/dist/chunks/{credential-6g2dzwcy.js → bus-wrjnae0d.js} +154 -154
- package/dist/chunks/{credential-wwgpyqzb.js → bus-wwgpyqzb.js} +2 -2
- package/dist/chunks/{credential-4ewbr215.js → bus-wxpy059d.js} +6 -6
- package/dist/chunks/{credential-bk9s8j1w.js → bus-wzq1kmgq.js} +23 -23
- package/dist/chunks/{credential-ewvsv6ts.js → bus-x48bv8h6.js} +5 -5
- package/dist/chunks/{credential-9s4r78yd.js → bus-x73g3dsh.js} +5 -5
- package/dist/chunks/{credential-xz9rerx7.js → bus-x9e94t11.js} +13 -13
- package/dist/chunks/{credential-38bbyr5m.js → bus-xdfy1vac.js} +19 -19
- package/dist/chunks/{credential-xk2zn0cv.js → bus-xk2zn0cv.js} +1 -1
- package/dist/chunks/{credential-96f366mh.js → bus-xqxcdqkj.js} +18 -18
- package/dist/chunks/{credential-ww4her3p.js → bus-xrtynsxf.js} +33 -33
- package/dist/chunks/{credential-xt0z8zst.js → bus-xt0z8zst.js} +1 -1
- package/dist/chunks/{credential-edz3vk4c.js → bus-xzr1gvfw.js} +16 -16
- package/dist/chunks/{credential-jx93w0c5.js → bus-y02x7m19.js} +13 -13
- package/dist/chunks/{credential-afhevj5w.js → bus-y2ngtz71.js} +11 -11
- package/dist/chunks/{credential-7xrs9a5d.js → bus-y2whjd1m.js} +11 -11
- package/dist/chunks/{credential-h6hc5rex.js → bus-y78kkv0p.js} +17 -17
- package/dist/chunks/{credential-t1pz09kx.js → bus-y7ehhw0v.js} +25 -25
- package/dist/chunks/{credential-yara3q77.js → bus-yara3q77.js} +2 -2
- package/dist/chunks/{credential-yb20nhc3.js → bus-yb20nhc3.js} +1 -1
- package/dist/chunks/{credential-x9hr9mw5.js → bus-yca54qy5.js} +32 -32
- package/dist/chunks/{credential-4kjz03p0.js → bus-ydm7wqfm.js} +18 -18
- package/dist/chunks/{credential-d3wqtg9z.js → bus-ye07msm6.js} +16 -16
- package/dist/chunks/{credential-q45fvp3e.js → bus-yfa3dy01.js} +6 -6
- package/dist/chunks/{credential-nb5fst4x.js → bus-ykvdctq4.js} +4 -4
- package/dist/chunks/{credential-xsact9zs.js → bus-yqveydy6.js} +4 -4
- package/dist/chunks/{credential-2wav6r65.js → bus-yydbrnd5.js} +34 -34
- package/dist/chunks/{credential-s8xxgn4g.js → bus-yyhgbx7d.js} +4 -4
- package/dist/chunks/{credential-584z8fgw.js → bus-z2twcj9c.js} +42 -42
- package/dist/chunks/{credential-z38nccrw.js → bus-z38nccrw.js} +1 -1
- package/dist/chunks/{credential-60jz9eyc.js → bus-z7930y0h.js} +28 -28
- package/dist/chunks/{credential-87e13nka.js → bus-zhaxkft9.js} +3 -3
- package/dist/chunks/{credential-rmm621gb.js → bus-zkkkregz.js} +5 -5
- package/dist/chunks/{credential-yaxy9fpa.js → bus-znxhc1zm.js} +22 -22
- package/dist/chunks/{credential-a06br7p4.js → bus-zq5c9s7v.js} +21 -21
- package/dist/chunks/{credential-2b7qrkd5.js → bus-zsh677ft.js} +39 -39
- package/dist/chunks/{credential-vvbgnqg2.js → bus-zsjwhcwr.js} +25 -25
- package/dist/chunks/{credential-w4xkkccr.js → bus-ztz0q9zh.js} +3 -3
- package/dist/chunks/{credential-eqkje2vh.js → bus-zyydwx25.js} +11 -11
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +92 -92
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +3 -3
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +110 -110
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +222 -222
- package/dist/config/plugin/compaction.js +165 -165
- package/dist/config/plugin/compatibility.js +145 -145
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +125 -125
- package/dist/config/plugin/image.js +124 -124
- package/dist/config/plugin/instruction.js +124 -124
- package/dist/config/plugin/location-watcher.js +126 -126
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +126 -126
- package/dist/config/plugin/provider.js +125 -125
- package/dist/config/plugin/reference.js +126 -126
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +141 -141
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +124 -124
- package/dist/config/plugin/source.js +127 -127
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +129 -129
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +75 -75
- 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/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration.gen.js +58 -58
- package/dist/database/migration.js +60 -60
- 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 +96 -96
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +388 -388
- 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 +104 -104
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +104 -104
- 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 +79 -79
- package/dist/file-access.js +151 -151
- package/dist/file-mutation.js +105 -105
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +237 -237
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +110 -110
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +113 -113
- package/dist/form.js +79 -79
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +98 -98
- package/dist/generate.js +118 -118
- package/dist/git.js +7 -7
- 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 +102 -102
- 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/notice.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 +379 -379
- package/dist/instruction-discovery.js +89 -89
- package/dist/instructions/builtins.js +98 -98
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +87 -87
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +82 -82
- package/dist/location-activity.js +163 -163
- package/dist/location-lifecycle.js +145 -145
- package/dist/location-service-map.js +97 -97
- package/dist/location-services.js +376 -376
- package/dist/location.js +92 -92
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +102 -102
- package/dist/mcp/index.js +116 -116
- package/dist/mcp/instructions.js +171 -171
- package/dist/mcp/oauth.js +84 -84
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +101 -101
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +102 -102
- package/dist/model-resolver.js +108 -108
- package/dist/model-retry.js +1 -1
- package/dist/model.js +111 -111
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +113 -113
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +89 -89
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +144 -144
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +95 -95
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +84 -84
- package/dist/plugin/agent.js +83 -83
- package/dist/plugin/command.js +111 -111
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +230 -230
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +349 -349
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +108 -108
- package/dist/plugin/module.js +126 -126
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +141 -141
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +102 -102
- package/dist/plugin/provider/azure.js +124 -124
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +124 -124
- package/dist/plugin/provider/cloudflare-ai-gateway.js +122 -122
- package/dist/plugin/provider/cloudflare-workers-ai.js +122 -122
- package/dist/plugin/provider/configured.js +120 -120
- package/dist/plugin/provider/credential-settings.js +83 -83
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +104 -104
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +106 -106
- package/dist/plugin/provider/gitlab.js +105 -105
- package/dist/plugin/provider/google-vertex.js +121 -121
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +87 -87
- package/dist/plugin/provider/lmstudio.js +133 -133
- package/dist/plugin/provider/local.js +130 -130
- package/dist/plugin/provider/modal.js +103 -103
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +133 -133
- package/dist/plugin/provider/openai-context-caps.js +101 -101
- package/dist/plugin/provider/openai.js +124 -124
- package/dist/plugin/provider/opencode.js +127 -127
- package/dist/plugin/provider/openrouter.js +102 -102
- package/dist/plugin/provider/poe.js +88 -88
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +102 -102
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +123 -123
- package/dist/plugin/provider/vllm.js +133 -133
- package/dist/plugin/provider/xai.js +102 -102
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +175 -175
- package/dist/plugin/sdk.js +85 -85
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +144 -144
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +367 -367
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +97 -97
- package/dist/plugin/vcs/hg.js +97 -97
- package/dist/plugin/verbosity.js +104 -104
- package/dist/plugin/warming.js +122 -122
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +241 -241
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +91 -91
- package/dist/provider.js +106 -106
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +109 -109
- package/dist/reference/instructions.js +99 -99
- package/dist/reference.js +101 -101
- package/dist/repository-cache.js +91 -91
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +108 -108
- package/dist/rpc.js +97 -97
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +224 -224
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +123 -123
- package/dist/session/command.js +83 -83
- package/dist/session/compaction.js +167 -167
- package/dist/session/context.js +191 -191
- package/dist/session/diff.js +99 -99
- 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 +229 -229
- package/dist/session/execution.js +157 -157
- package/dist/session/generate.js +193 -193
- package/dist/session/history.js +130 -130
- package/dist/session/inbox.js +141 -141
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +88 -88
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +135 -135
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +158 -158
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +159 -159
- package/dist/session/projector.js +137 -137
- package/dist/session/prompt.js +143 -143
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +133 -133
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +242 -242
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +111 -111
- package/dist/session/runner/publish-llm-event.js +144 -144
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +157 -157
- package/dist/session/runner/to-llm-message.js +131 -131
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +175 -175
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +142 -142
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +82 -82
- package/dist/session/store.js +132 -132
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +222 -222
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +195 -195
- package/dist/session/to-session-error.js +143 -143
- package/dist/session/transfer.js +227 -227
- package/dist/session/usage.js +1 -1
- package/dist/session.js +226 -226
- 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 +15 -15
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +146 -146
- package/dist/skill.js +151 -151
- package/dist/snapshot.js +104 -104
- 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 +168 -168
- package/dist/tool/plugin/edit.js +159 -159
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +163 -163
- package/dist/tool/plugin/grep.js +163 -163
- package/dist/tool/plugin/image-generate.js +232 -232
- package/dist/tool/plugin/mcp-resource.js +157 -157
- package/dist/tool/plugin/opencode.js +156 -156
- package/dist/tool/plugin/patch.js +159 -159
- package/dist/tool/plugin/question.js +141 -141
- package/dist/tool/plugin/read.js +164 -164
- package/dist/tool/plugin/schedule.js +222 -222
- package/dist/tool/plugin/shell.js +225 -225
- package/dist/tool/plugin/skill.js +152 -152
- package/dist/tool/plugin/subagent.js +223 -223
- package/dist/tool/plugin/todo.js +148 -148
- package/dist/tool/plugin/webfetch.js +152 -152
- package/dist/tool/plugin/websearch.js +144 -144
- package/dist/tool/plugin/write.js +161 -161
- package/dist/tool/read-filesystem.js +111 -111
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/usage-limits.js +96 -96
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +103 -103
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +102 -102
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +100 -100
- package/dist/voice.js +97 -97
- package/dist/websearch.js +93 -93
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +90 -90
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +91 -91
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +100 -100
- package/dist/worktree.js +109 -109
- package/package.json +8 -8
- package/dist/chunks/credential-3x4vqzvj.js +0 -257
- package/dist/chunks/credential-6zjm2phc.js +0 -18
- package/dist/chunks/credential-mehdtjq6.js +0 -26
- /package/dist/chunks/{credential-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{credential-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
- /package/dist/chunks/{credential-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
- /package/dist/chunks/{credential-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
- /package/dist/chunks/{credential-1jakw16s.js → bus-1jakw16s.js} +0 -0
- /package/dist/chunks/{credential-1kah00gy.js → bus-1kah00gy.js} +0 -0
- /package/dist/chunks/{credential-24dcb14g.js → bus-24dcb14g.js} +0 -0
- /package/dist/chunks/{credential-2710q6r3.js → bus-2710q6r3.js} +0 -0
- /package/dist/chunks/{credential-2bv980vf.js → bus-2bv980vf.js} +0 -0
- /package/dist/chunks/{credential-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{credential-359p4xyc.js → bus-359p4xyc.js} +0 -0
- /package/dist/chunks/{credential-3asan66x.js → bus-3asan66x.js} +0 -0
- /package/dist/chunks/{credential-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
- /package/dist/chunks/{credential-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
- /package/dist/chunks/{credential-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
- /package/dist/chunks/{credential-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
- /package/dist/chunks/{credential-4vcrnpx2.js → bus-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{credential-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
- /package/dist/chunks/{credential-53557ph1.js → bus-53557ph1.js} +0 -0
- /package/dist/chunks/{credential-550bvhaj.js → bus-550bvhaj.js} +0 -0
- /package/dist/chunks/{credential-5w3e23ze.js → bus-5w3e23ze.js} +0 -0
- /package/dist/chunks/{credential-6prwharc.js → bus-6prwharc.js} +0 -0
- /package/dist/chunks/{credential-6q2bdcd1.js → bus-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{credential-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
- /package/dist/chunks/{credential-7m9af43g.js → bus-7m9af43g.js} +0 -0
- /package/dist/chunks/{credential-822emrt2.js → bus-822emrt2.js} +0 -0
- /package/dist/chunks/{credential-84wd9syh.js → bus-84wd9syh.js} +0 -0
- /package/dist/chunks/{credential-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
- /package/dist/chunks/{credential-8n3pysct.js → bus-8n3pysct.js} +0 -0
- /package/dist/chunks/{credential-8wj87zfr.js → bus-8wj87zfr.js} +0 -0
- /package/dist/chunks/{credential-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
- /package/dist/chunks/{credential-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{credential-a058387c.js → bus-a058387c.js} +0 -0
- /package/dist/chunks/{credential-a6k6eb26.js → bus-a6k6eb26.js} +0 -0
- /package/dist/chunks/{credential-af5trqkr.js → bus-af5trqkr.js} +0 -0
- /package/dist/chunks/{credential-afrmfg78.js → bus-afrmfg78.js} +0 -0
- /package/dist/chunks/{credential-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{credential-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
- /package/dist/chunks/{credential-beh6qq61.js → bus-beh6qq61.js} +0 -0
- /package/dist/chunks/{credential-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{credential-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{credential-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
- /package/dist/chunks/{credential-cqv5kn06.js → bus-cqv5kn06.js} +0 -0
- /package/dist/chunks/{credential-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{credential-d9fn303g.js → bus-d9fn303g.js} +0 -0
- /package/dist/chunks/{credential-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{credential-dajrwvna.js → bus-dajrwvna.js} +0 -0
- /package/dist/chunks/{credential-dap0rakb.js → bus-dap0rakb.js} +0 -0
- /package/dist/chunks/{credential-df08tz66.js → bus-df08tz66.js} +0 -0
- /package/dist/chunks/{credential-dy18nga0.js → bus-dy18nga0.js} +0 -0
- /package/dist/chunks/{credential-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
- /package/dist/chunks/{credential-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
- /package/dist/chunks/{credential-ec1grn59.js → bus-ec1grn59.js} +0 -0
- /package/dist/chunks/{credential-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
- /package/dist/chunks/{credential-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
- /package/dist/chunks/{credential-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
- /package/dist/chunks/{credential-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{credential-faypxj3z.js → bus-faypxj3z.js} +0 -0
- /package/dist/chunks/{credential-fd410y7t.js → bus-fd410y7t.js} +0 -0
- /package/dist/chunks/{credential-fkpq3x5p.js → bus-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{credential-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
- /package/dist/chunks/{credential-g86h250q.js → bus-g86h250q.js} +0 -0
- /package/dist/chunks/{credential-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
- /package/dist/chunks/{credential-gftt206x.js → bus-gftt206x.js} +0 -0
- /package/dist/chunks/{credential-hcxmzztb.js → bus-hcxmzztb.js} +0 -0
- /package/dist/chunks/{credential-hk9envan.js → bus-hk9envan.js} +0 -0
- /package/dist/chunks/{credential-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
- /package/dist/chunks/{credential-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{credential-jjkms2e6.js → bus-jjkms2e6.js} +0 -0
- /package/dist/chunks/{credential-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{credential-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{credential-jwr30sdr.js → bus-jwr30sdr.js} +0 -0
- /package/dist/chunks/{credential-jze0r7bz.js → bus-jze0r7bz.js} +0 -0
- /package/dist/chunks/{credential-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{credential-m18g726c.js → bus-m18g726c.js} +0 -0
- /package/dist/chunks/{credential-mp448xyj.js → bus-mp448xyj.js} +0 -0
- /package/dist/chunks/{credential-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
- /package/dist/chunks/{credential-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
- /package/dist/chunks/{credential-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
- /package/dist/chunks/{credential-ncqqe42p.js → bus-ncqqe42p.js} +0 -0
- /package/dist/chunks/{credential-nh4v3znn.js → bus-nh4v3znn.js} +0 -0
- /package/dist/chunks/{credential-njntx4h6.js → bus-njntx4h6.js} +0 -0
- /package/dist/chunks/{credential-p71gwv9c.js → bus-p71gwv9c.js} +0 -0
- /package/dist/chunks/{credential-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
- /package/dist/chunks/{credential-q74kybfr.js → bus-q74kybfr.js} +0 -0
- /package/dist/chunks/{credential-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
- /package/dist/chunks/{credential-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
- /package/dist/chunks/{credential-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
- /package/dist/chunks/{credential-qg3g05ea.js → bus-qg3g05ea.js} +0 -0
- /package/dist/chunks/{credential-qgfkghh1.js → bus-qgfkghh1.js} +0 -0
- /package/dist/chunks/{credential-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
- /package/dist/chunks/{credential-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{credential-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{credential-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
- /package/dist/chunks/{credential-ty7weeps.js → bus-ty7weeps.js} +0 -0
- /package/dist/chunks/{credential-ve7vex1e.js → bus-ve7vex1e.js} +0 -0
- /package/dist/chunks/{credential-w803qqfp.js → bus-w803qqfp.js} +0 -0
- /package/dist/chunks/{credential-wc3fc9cn.js → bus-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{credential-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
- /package/dist/chunks/{credential-wtztk69x.js → bus-wtztk69x.js} +0 -0
- /package/dist/chunks/{credential-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
- /package/dist/chunks/{credential-x61499pn.js → bus-x61499pn.js} +0 -0
- /package/dist/chunks/{credential-y44na4kk.js → bus-y44na4kk.js} +0 -0
- /package/dist/chunks/{credential-y8f7s663.js → bus-y8f7s663.js} +0 -0
- /package/dist/chunks/{credential-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{credential-z5v4ffb3.js → bus-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{credential-z9919s4g.js → bus-z9919s4g.js} +0 -0
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service65
|
|
7
|
+
} from "./bus-zsh677ft.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-svcy3p9a.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service62
|
|
13
|
+
} from "./bus-8vm3c4cx.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service77
|
|
16
|
+
} from "./bus-m0cjf5xp.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service57
|
|
19
|
+
} from "./bus-yydbrnd5.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service56,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./bus-5hvj3cgw.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./bus-k814nvkf.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service76,
|
|
32
32
|
name17
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./bus-sz9w62cr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError4,
|
|
36
|
+
Service29
|
|
37
|
+
} from "./bus-de3kd59v.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service15
|
|
40
|
+
} from "./bus-n5eh1rap.js";
|
|
41
41
|
import {
|
|
42
42
|
scan3
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./bus-rr54y859.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./bus-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell2 = {};
|
|
50
50
|
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input6,
|
|
53
|
+
Plugin: () => Plugin25,
|
|
54
54
|
ShellTool: () => exports_shell2,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name6
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
59
|
import { shellParserWasm } from "#shell-parser-wasm";
|
|
60
|
-
var
|
|
60
|
+
var name6 = "shell";
|
|
61
61
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
62
62
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
63
63
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -71,7 +71,7 @@ var description = (shell) => [
|
|
|
71
71
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
72
72
|
"Background commands return immediately, and you will be notified when they complete."
|
|
73
73
|
].join(" ");
|
|
74
|
-
var
|
|
74
|
+
var Input6 = Schema.Struct({
|
|
75
75
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
76
76
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
77
77
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
|
|
|
117
117
|
truncated: false,
|
|
118
118
|
status: "running"
|
|
119
119
|
});
|
|
120
|
-
var
|
|
120
|
+
var Plugin25 = {
|
|
121
121
|
id: "opencode.tool.shell",
|
|
122
122
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
123
|
-
const sessions = yield*
|
|
124
|
-
const jobs = yield*
|
|
123
|
+
const sessions = yield* Service15;
|
|
124
|
+
const jobs = yield* Service77;
|
|
125
125
|
const scope = yield* Scope.Scope;
|
|
126
|
-
const environment = yield*
|
|
127
|
-
const access = yield*
|
|
128
|
-
const shell = yield*
|
|
129
|
-
const shellSelect = yield*
|
|
126
|
+
const environment = yield* Service62;
|
|
127
|
+
const access = yield* Service56;
|
|
128
|
+
const shell = yield* Service29;
|
|
129
|
+
const shellSelect = yield* Service76;
|
|
130
130
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
131
|
-
const permission = yield*
|
|
132
|
-
const config = yield*
|
|
131
|
+
const permission = yield* Service57;
|
|
132
|
+
const config = yield* Service65;
|
|
133
133
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
134
134
|
const source = {
|
|
135
135
|
type: "tool",
|
|
@@ -148,7 +148,7 @@ var Plugin47 = {
|
|
|
148
148
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
149
149
|
if (parsed.commands.length > 0)
|
|
150
150
|
yield* permission.assert({
|
|
151
|
-
action:
|
|
151
|
+
action: name6,
|
|
152
152
|
resources: parsed.commands.map((command) => command.resource),
|
|
153
153
|
save: parsed.commands.map((command) => command.save),
|
|
154
154
|
sessionID: context.sessionID,
|
|
@@ -185,10 +185,10 @@ var Plugin47 = {
|
|
|
185
185
|
yield* jobs.completeBackground(info.notificationID);
|
|
186
186
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
187
187
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
188
|
-
name:
|
|
188
|
+
name: name6,
|
|
189
189
|
options: { codemode: false },
|
|
190
190
|
description: description(),
|
|
191
|
-
input:
|
|
191
|
+
input: Input6,
|
|
192
192
|
output: Output,
|
|
193
193
|
execute: (input, context) => Effect.gen(function* () {
|
|
194
194
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -211,7 +211,7 @@ var Plugin47 = {
|
|
|
211
211
|
const run = Effect.gen(function* () {
|
|
212
212
|
const result = yield* shell.result(info);
|
|
213
213
|
if (!result.capture)
|
|
214
|
-
return yield* new
|
|
214
|
+
return yield* new NotFoundError4({ id: info.id });
|
|
215
215
|
const output = output2(result);
|
|
216
216
|
return {
|
|
217
217
|
...output,
|
|
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
225
225
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
226
226
|
const job = yield* jobs.start({
|
|
227
227
|
id: info.id,
|
|
228
|
-
type:
|
|
228
|
+
type: name6,
|
|
229
229
|
title: info.command,
|
|
230
230
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
231
231
|
recovery: {
|
|
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
255
255
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
256
256
|
})).pipe(Effect.orDie);
|
|
257
257
|
const hook = (event) => Effect.gen(function* () {
|
|
258
|
-
const tool = event.tools[
|
|
258
|
+
const tool = event.tools[name6];
|
|
259
259
|
if (!tool)
|
|
260
260
|
return;
|
|
261
261
|
tool.description = description(name17(yield* compatibleShell));
|
|
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
266
266
|
})
|
|
267
267
|
};
|
|
268
268
|
|
|
269
|
-
export {
|
|
269
|
+
export { name6, DEFAULT_TIMEOUT_MS2, Input6, Plugin25, exports_shell2 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87,
|
|
3
3
|
node91
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./bus-f9nwn4tf.js";
|
|
5
5
|
import {
|
|
6
6
|
Service86,
|
|
7
7
|
node90
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./bus-yyhgbx7d.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./bus-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./bus-m1714858.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./bus-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-yyhgbx7d.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-rkrna9hn.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service27
|
|
10
|
+
} from "./bus-mmp59vtg.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./bus-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
16
|
var exports_command2 = {};
|
|
17
17
|
__export(exports_command2, {
|
|
18
18
|
CommandPlugin: () => exports_command2,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin44
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin44 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
199
|
const location = yield* Service80;
|
|
200
|
-
const mcp = yield*
|
|
200
|
+
const mcp = yield* Service27;
|
|
201
201
|
const bus = yield* Service86;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin44, exports_command2 };
|
|
@@ -2,44 +2,44 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./bus-svcy3p9a.js";
|
|
6
6
|
import {
|
|
7
7
|
Service80
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./bus-rkrna9hn.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service62
|
|
11
|
+
} from "./bus-8vm3c4cx.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service79
|
|
14
|
+
} from "./bus-k5xdymkf.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service52,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./bus-v75c35rk.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service57
|
|
22
|
+
} from "./bus-yydbrnd5.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service56,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./bus-5hvj3cgw.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./bus-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./bus-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input13,
|
|
39
|
+
Output: () => Output9,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
41
|
+
Plugin: () => Plugin33,
|
|
42
|
+
name: () => name13,
|
|
43
43
|
toModelContent: () => toModelContent6
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name13 = "patch";
|
|
89
|
+
var Input13 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,7 +96,7 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output9 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
@@ -105,21 +105,21 @@ var toModelContent6 = (output) => [
|
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin33 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
111
|
+
const environment = yield* Service62;
|
|
112
|
+
const access = yield* Service56;
|
|
113
|
+
const fileMutation = yield* Service52;
|
|
114
|
+
const formatter = yield* Service79;
|
|
115
115
|
const location = yield* Service80;
|
|
116
|
-
const permission = yield*
|
|
116
|
+
const permission = yield* Service57;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name13,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input13,
|
|
122
|
+
output: Output9,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -345,4 +345,4 @@ function trimDiff(diff) {
|
|
|
345
345
|
`);
|
|
346
346
|
}
|
|
347
347
|
|
|
348
|
-
export {
|
|
348
|
+
export { name13, Input13, Applied2, Output9, toModelContent6, Plugin33, exports_patch };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isTextual2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-4pyp9zr9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service57
|
|
6
|
+
} from "./bus-yydbrnd5.js";
|
|
7
7
|
import {
|
|
8
8
|
MAX_MARKDOWN_BYTES2,
|
|
9
9
|
convertHTMLToMarkdown2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-4vcrnpx2.js";
|
|
11
11
|
import {
|
|
12
12
|
collectBoundedResponseBody2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./bus-3v8g72cx.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./bus-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/tool/plugin/webfetch.ts
|
|
19
19
|
var exports_webfetch = {};
|
|
20
20
|
__export(exports_webfetch, {
|
|
21
21
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
22
|
-
Input: () =>
|
|
22
|
+
Input: () => Input3,
|
|
23
23
|
MAX_REDIRECTS: () => MAX_REDIRECTS2,
|
|
24
|
-
MAX_RESPONSE_BYTES: () =>
|
|
24
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
25
25
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
26
|
-
Plugin: () =>
|
|
26
|
+
Plugin: () => Plugin20,
|
|
27
27
|
WebFetchTool: () => exports_webfetch,
|
|
28
28
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
29
|
-
description: () =>
|
|
29
|
+
description: () => description3,
|
|
30
30
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
31
|
-
name: () =>
|
|
31
|
+
name: () => name3
|
|
32
32
|
});
|
|
33
33
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
34
34
|
import { Duration, Effect, Schema } from "effect";
|
|
35
35
|
import { FetchHttpClient, HttpClient, HttpClientError, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
36
36
|
import { Parser } from "htmlparser2";
|
|
37
|
-
var
|
|
38
|
-
var
|
|
37
|
+
var name3 = "webfetch";
|
|
38
|
+
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
39
39
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
40
40
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
41
|
-
var
|
|
41
|
+
var description3 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
42
42
|
|
|
43
43
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
44
44
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
45
|
-
var
|
|
45
|
+
var Input3 = Schema.Struct({
|
|
46
46
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
47
47
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
48
48
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -52,7 +52,7 @@ var Input9 = Schema.Struct({
|
|
|
52
52
|
var Output = Schema.Struct({
|
|
53
53
|
url: Schema.String,
|
|
54
54
|
contentType: Schema.String,
|
|
55
|
-
format:
|
|
55
|
+
format: Input3.fields.format,
|
|
56
56
|
output: Schema.String
|
|
57
57
|
});
|
|
58
58
|
var acceptHeader = (format) => {
|
|
@@ -103,7 +103,7 @@ var execute = (http, check, url, format, userAgent = openCodeUserAgent, redirect
|
|
|
103
103
|
return yield* execute(http, check, next, format, userAgent, redirects + 1);
|
|
104
104
|
});
|
|
105
105
|
}));
|
|
106
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
106
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
|
|
107
107
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
108
108
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
109
109
|
var convert = (content, contentType, format) => {
|
|
@@ -115,16 +115,16 @@ var convert = (content, contentType, format) => {
|
|
|
115
115
|
return extractTextFromHTML2(content);
|
|
116
116
|
return content;
|
|
117
117
|
};
|
|
118
|
-
var
|
|
118
|
+
var Plugin20 = {
|
|
119
119
|
id: "opencode.tool.webfetch",
|
|
120
120
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
121
121
|
const http = yield* HttpClient.HttpClient;
|
|
122
|
-
const permission = yield*
|
|
122
|
+
const permission = yield* Service57;
|
|
123
123
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
124
|
-
name:
|
|
124
|
+
name: name3,
|
|
125
125
|
options: { codemode: false },
|
|
126
|
-
description:
|
|
127
|
-
input:
|
|
126
|
+
description: description3,
|
|
127
|
+
input: Input3,
|
|
128
128
|
output: Output,
|
|
129
129
|
execute: (input, context) => Effect.gen(function* () {
|
|
130
130
|
yield* Effect.try({
|
|
@@ -132,7 +132,7 @@ var Plugin45 = {
|
|
|
132
132
|
catch: (error) => error
|
|
133
133
|
});
|
|
134
134
|
yield* permission.assert({
|
|
135
|
-
action:
|
|
135
|
+
action: name3,
|
|
136
136
|
resources: [input.url],
|
|
137
137
|
save: ["*"],
|
|
138
138
|
metadata: input,
|
|
@@ -142,7 +142,7 @@ var Plugin45 = {
|
|
|
142
142
|
});
|
|
143
143
|
const { body, contentType } = yield* Effect.gen(function* () {
|
|
144
144
|
const check = (url) => permission.assertNotDenied({
|
|
145
|
-
action:
|
|
145
|
+
action: name3,
|
|
146
146
|
resources: [url],
|
|
147
147
|
metadata: { ...input, url },
|
|
148
148
|
sessionID: context.sessionID,
|
|
@@ -198,4 +198,4 @@ function extractTextFromHTML2(html) {
|
|
|
198
198
|
parser.end();
|
|
199
199
|
return text.trim();
|
|
200
200
|
}
|
|
201
|
-
export {
|
|
201
|
+
export { name3, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description3, Input3, MAX_REDIRECTS2, Plugin20, extractTextFromHTML2, exports_webfetch };
|
|
@@ -3,23 +3,23 @@ import {
|
|
|
3
3
|
removed2,
|
|
4
4
|
make20,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-xt0z8zst.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize3,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./bus-fffv3p7h.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./bus-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CodeModeInstructions: () =>
|
|
20
|
-
make: () =>
|
|
17
|
+
var exports_instructions4 = {};
|
|
18
|
+
__export(exports_instructions4, {
|
|
19
|
+
CodeModeInstructions: () => exports_instructions4,
|
|
20
|
+
make: () => make13,
|
|
21
21
|
render: () => render2,
|
|
22
|
-
update: () =>
|
|
22
|
+
update: () => update3
|
|
23
23
|
});
|
|
24
24
|
import { searchSignature, toolExpression } from "@opencode/codemode";
|
|
25
25
|
import { Effect, Schema } from "effect";
|
|
@@ -43,7 +43,7 @@ function render2(catalog) {
|
|
|
43
43
|
${tools.join(`
|
|
44
44
|
`)}`;
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function update3(previous, current) {
|
|
47
47
|
const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
|
|
48
48
|
|
|
49
49
|
${render2(current)}`;
|
|
@@ -111,7 +111,7 @@ ${render2(current)}`;
|
|
|
111
111
|
}
|
|
112
112
|
var key = Key3.make("core/codemode");
|
|
113
113
|
var codec = Schema.toCodecJson(Summary2);
|
|
114
|
-
var
|
|
114
|
+
var make13 = (inventory) => {
|
|
115
115
|
const catalog = inventory === undefined ? removed2 : summarize3(inventory);
|
|
116
116
|
return make20({
|
|
117
117
|
key,
|
|
@@ -119,10 +119,10 @@ var make14 = (inventory) => {
|
|
|
119
119
|
read: Effect.succeed(catalog),
|
|
120
120
|
render: {
|
|
121
121
|
initial: render2,
|
|
122
|
-
changed:
|
|
122
|
+
changed: update3,
|
|
123
123
|
removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
|
|
124
124
|
}
|
|
125
125
|
});
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export { render2,
|
|
128
|
+
export { render2, update3, make13, exports_instructions4 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
name17,
|
|
3
3
|
ps2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./bus-sz9w62cr.js";
|
|
5
5
|
import {
|
|
6
6
|
lazy2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./bus-88xbtdfr.js";
|
|
8
8
|
import {
|
|
9
9
|
match2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-z38nccrw.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./bus-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/shell/parse.ts
|
|
16
16
|
var exports_parse = {};
|
|
@@ -2,37 +2,37 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service86,
|
|
4
4
|
node90
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./bus-yyhgbx7d.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./bus-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service7,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
|
-
layer: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
layer: () => layer6,
|
|
17
|
+
node: () => node9
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service7 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var layer6 = Layer.effect(Service7, Effect.gen(function* () {
|
|
26
26
|
const bus = yield* Service86;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service7.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {}, { global: true })), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node9 = makeGlobalNode({ service: Service7, layer: layer6, deps: [node90] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service7, layer6, node9, exports_sdk };
|