@opencode/core 0.0.0-dev-21340 → 0.0.0-dev-21344
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/agent.js +65 -65
- package/dist/aisdk-native.js +68 -68
- package/dist/aisdk.js +71 -71
- package/dist/app.js +7 -7
- package/dist/bus.js +54 -54
- package/dist/chunks/{form-5wr9n5bc.js → form-03hw1891.js} +18 -18
- package/dist/chunks/{form-r2zk8jj2.js → form-05praa0f.js} +17 -17
- package/dist/chunks/{form-tpr2dqt6.js → form-06qmw05c.js} +19 -19
- package/dist/chunks/{form-4eh83hae.js → form-0nwnefwx.js} +21 -21
- package/dist/chunks/{form-rc9vttjd.js → form-12ceq3sd.js} +16 -16
- package/dist/chunks/{form-dtkj6t2x.js → form-16jfehqd.js} +30 -30
- package/dist/chunks/{form-svvda557.js → form-1851grx7.js} +9 -9
- package/dist/chunks/{form-jevsscxn.js → form-1a8kzx3z.js} +8 -8
- package/dist/chunks/{form-ym4b2kva.js → form-1f0rm155.js} +11 -11
- package/dist/chunks/{form-bjx1sjef.js → form-1ffvrpkg.js} +4 -4
- package/dist/chunks/{form-egwezsn2.js → form-1mn6fryd.js} +29 -29
- package/dist/chunks/{form-6yz0wx8n.js → form-1pxz8ven.js} +3 -3
- package/dist/chunks/{form-ngv1hrws.js → form-1rh4e964.js} +9 -9
- package/dist/chunks/{form-xx4eqekj.js → form-1v56txv5.js} +27 -27
- package/dist/chunks/{form-9sh4wc5j.js → form-1x11rq2a.js} +4 -4
- package/dist/chunks/{form-61s75xk5.js → form-1xag7s0d.js} +9 -9
- package/dist/chunks/{form-b0frvc6a.js → form-1zvfhj0e.js} +20 -20
- package/dist/chunks/{form-92swnv4m.js → form-22sd1qqc.js} +7 -7
- package/dist/chunks/{form-abnya1q3.js → form-24whbny8.js} +10 -10
- package/dist/chunks/{form-hhm4rk5s.js → form-251hxpd6.js} +1 -1
- package/dist/chunks/{form-ykbgc1mn.js → form-268xe8g9.js} +7 -7
- package/dist/chunks/{form-zcrspsvn.js → form-2vs2nh1n.js} +3 -3
- package/dist/chunks/{form-0jqywv5j.js → form-2z0hcvmw.js} +11 -11
- package/dist/chunks/{form-zqjsn67b.js → form-38cy47c3.js} +6 -6
- package/dist/chunks/{form-q0n5p59x.js → form-3gc7db2q.js} +8 -8
- package/dist/chunks/{form-7f8j414w.js → form-3jqnp5e1.js} +16 -16
- package/dist/chunks/{form-pww2q2ts.js → form-3kmbmqbb.js} +1 -1
- package/dist/chunks/{form-tprmfzaq.js → form-3mgq9tn8.js} +13 -13
- package/dist/chunks/{form-2tzz6wa4.js → form-3n01zwdf.js} +47 -47
- package/dist/chunks/{form-55xzanda.js → form-3snckwy5.js} +18 -18
- package/dist/chunks/{form-1n047p2a.js → form-3xh7hkzg.js} +16 -16
- package/dist/chunks/{form-7dx0mp5a.js → form-43pfpj47.js} +2 -2
- package/dist/chunks/{form-kgash78d.js → form-45ptwq2c.js} +4 -4
- package/dist/chunks/{form-n68wnkf7.js → form-46tcmqje.js} +19 -19
- package/dist/chunks/{form-kzbxs04q.js → form-48sw23k9.js} +16 -16
- package/dist/chunks/form-49xamyg9.js +257 -0
- package/dist/chunks/{form-tq73j5ey.js → form-4kpsjb1s.js} +5 -5
- package/dist/chunks/{form-zkdxs0f7.js → form-4r8b378w.js} +8 -8
- package/dist/chunks/{form-4fw7esra.js → form-4xf1jpfm.js} +3 -3
- package/dist/chunks/{form-qwert80r.js → form-517dcg1a.js} +4 -4
- package/dist/chunks/{form-nvbqagkz.js → form-5h12h0cy.js} +33 -33
- package/dist/chunks/{form-e3qxr5gk.js → form-5qd3pb7m.js} +2 -2
- package/dist/chunks/{form-mmjb59xw.js → form-5zh9a8yb.js} +22 -22
- package/dist/chunks/{form-4n9d0tgx.js → form-64vmcaw9.js} +41 -41
- package/dist/chunks/{form-jm9pv4jw.js → form-65mr19er.js} +10 -10
- package/dist/chunks/{form-91js1pam.js → form-6cw2sbjh.js} +16 -16
- package/dist/chunks/{form-jbr6yd38.js → form-7217af1g.js} +14 -14
- package/dist/chunks/{form-dbt3qtfn.js → form-7eh5v8ez.js} +22 -22
- package/dist/chunks/{form-0p4mvthy.js → form-7g9ka3b7.js} +13 -13
- package/dist/chunks/{form-4krksnp0.js → form-7je7e60q.js} +19 -19
- package/dist/chunks/{form-0bkg5nam.js → form-7n556vnp.js} +28 -28
- package/dist/chunks/{form-2nragry7.js → form-7xhhy66q.js} +12 -12
- package/dist/chunks/{form-a4f079eb.js → form-861n07f3.js} +16 -16
- package/dist/chunks/{form-n2fddagm.js → form-86d0rtkg.js} +8 -8
- package/dist/chunks/{form-tcezcvh9.js → form-89znhe33.js} +3 -3
- package/dist/chunks/form-8dempt9d.js +26 -0
- package/dist/chunks/{form-hxpm8s3f.js → form-8myr7ban.js} +3 -3
- package/dist/chunks/{form-rsrjg9aq.js → form-8pdcb37s.js} +180 -180
- package/dist/chunks/{form-ymx7xvyq.js → form-90gj6ab4.js} +20 -20
- package/dist/chunks/{form-r4gn9rws.js → form-9f3m9enf.js} +36 -36
- package/dist/chunks/{form-vawf6b6n.js → form-9hhx5af9.js} +2 -2
- package/dist/chunks/{form-6n9djq0h.js → form-9vkgtp31.js} +9 -9
- package/dist/chunks/{form-cf8mxv8s.js → form-9yd6k3gs.js} +27 -27
- package/dist/chunks/{form-fbvxegff.js → form-a5wmqwpc.js} +5 -5
- package/dist/chunks/{form-rp9znzbk.js → form-a9fy9mxz.js} +4 -4
- package/dist/chunks/{form-kbs0fn1w.js → form-awg6j8k5.js} +12 -12
- package/dist/chunks/{form-7zzdk6j1.js → form-bmkdxg01.js} +327 -327
- package/dist/chunks/{form-pbtbray8.js → form-brndm0ne.js} +18 -18
- package/dist/chunks/{form-bvse6ds2.js → form-c61xra83.js} +25 -25
- package/dist/chunks/{form-n8p3yyy1.js → form-c6jrq38e.js} +10 -10
- package/dist/chunks/{form-man6r55w.js → form-caz0srpv.js} +8 -8
- package/dist/chunks/{form-6xwkk55c.js → form-cdyfjk22.js} +7 -7
- package/dist/chunks/{form-b89refpb.js → form-cefkz2r6.js} +1 -1
- package/dist/chunks/{form-qc22nsxb.js → form-cjd6ew82.js} +16 -16
- package/dist/chunks/{form-px1ej7j2.js → form-ck9mnxsy.js} +19 -19
- package/dist/chunks/{form-8hpy5qx6.js → form-crj8jj8v.js} +24 -24
- package/dist/chunks/{form-am8khs7c.js → form-ct33827a.js} +24 -24
- package/dist/chunks/{form-g454qmhn.js → form-ctf2yk4c.js} +32 -32
- package/dist/chunks/{form-5g85rz3q.js → form-cyj5tmxp.js} +19 -19
- package/dist/chunks/{form-t0pyhqcw.js → form-d04ep358.js} +8 -8
- package/dist/chunks/{form-zerhytxa.js → form-d31hr9cr.js} +12 -12
- package/dist/chunks/{form-j9dnpnxm.js → form-d45h4px0.js} +55 -55
- package/dist/chunks/{form-kmgdj4b7.js → form-d7j2b6b5.js} +4 -4
- package/dist/chunks/{form-n9z01exy.js → form-dgp61zeh.js} +14 -14
- package/dist/chunks/{form-2sejkfem.js → form-djszqvmq.js} +7 -7
- package/dist/chunks/{form-y71avatq.js → form-dpkg50ah.js} +3 -3
- package/dist/chunks/{form-0s7awbhn.js → form-e03vnsya.js} +1 -1
- package/dist/chunks/{form-v70j0478.js → form-e0vw22bh.js} +9 -9
- package/dist/chunks/{form-j73xx5v2.js → form-e17kez53.js} +12 -12
- package/dist/chunks/{form-zpq5tdxv.js → form-e6b459zv.js} +24 -24
- package/dist/chunks/{form-vep9yay1.js → form-e7gxy7fd.js} +3 -3
- package/dist/chunks/{form-962zhnx1.js → form-eba4qtm8.js} +27 -27
- package/dist/chunks/{form-tvq4fmk2.js → form-ejrgmtaq.js} +7 -7
- package/dist/chunks/{form-ct5beqmq.js → form-eps22w94.js} +9 -9
- package/dist/chunks/{form-jqd7rvfh.js → form-es3vcbkv.js} +3 -3
- package/dist/chunks/{form-frnhj82z.js → form-exh5eq2b.js} +9 -9
- package/dist/chunks/{form-sagdypxn.js → form-f88m6yqb.js} +9 -9
- package/dist/chunks/{form-tekdv28b.js → form-fhvqd07r.js} +14 -14
- package/dist/chunks/{form-0qaxnjep.js → form-fj60yz2g.js} +21 -21
- package/dist/chunks/{form-wz9398tt.js → form-ft0vqakg.js} +40 -40
- package/dist/chunks/{form-e7a0tnjd.js → form-fww2ha2b.js} +8 -8
- package/dist/chunks/{form-nzndyyrp.js → form-fz4d0gag.js} +40 -40
- package/dist/chunks/{form-wdfe9bpp.js → form-g2t9s127.js} +4 -4
- package/dist/chunks/{form-aat25gmm.js → form-g4m4kdwx.js} +18 -18
- package/dist/chunks/{form-y7nndgyc.js → form-g686f6pq.js} +7 -7
- package/dist/chunks/{form-mc39ckc0.js → form-g6smwwgg.js} +10 -10
- package/dist/chunks/{form-ez4eysx7.js → form-g7cb5dsr.js} +27 -27
- package/dist/chunks/{form-tv2qmm1m.js → form-g97htqd3.js} +17 -17
- package/dist/chunks/{form-he8gezxy.js → form-ggd4e67m.js} +17 -17
- package/dist/chunks/{form-j2ahjm38.js → form-ggkcxy96.js} +8 -8
- package/dist/chunks/{form-b2zs7akg.js → form-ghxkdvab.js} +41 -41
- package/dist/chunks/{form-nb3eeafx.js → form-gnbbadj4.js} +45 -45
- package/dist/chunks/{form-adnpvf0n.js → form-gp275c3d.js} +78 -78
- package/dist/chunks/{form-h0et906m.js → form-gpmesn0v.js} +39 -39
- package/dist/chunks/{form-rpqs4zrr.js → form-gv897vmw.js} +13 -13
- package/dist/chunks/{form-eeeprd1m.js → form-gvj76kbm.js} +13 -13
- package/dist/chunks/{form-xed4prex.js → form-gwc3z95n.js} +20 -20
- package/dist/chunks/{form-g2brvksk.js → form-h1vf0xqq.js} +23 -23
- package/dist/chunks/{form-80zvrhj7.js → form-h2r6cra7.js} +24 -24
- package/dist/chunks/{form-67k81bmf.js → form-h3jggzk4.js} +1 -1
- package/dist/chunks/{form-w1xdw7re.js → form-hg8tkm75.js} +6 -6
- package/dist/chunks/{form-fxaymqdw.js → form-hq3c8me3.js} +3 -3
- package/dist/chunks/{form-wegah70x.js → form-hw9vqzfw.js} +40 -40
- package/dist/chunks/{form-2wzyh2nh.js → form-hzt320k7.js} +13 -13
- package/dist/chunks/{form-5e1pzs32.js → form-j1mj860n.js} +7 -7
- package/dist/chunks/{form-3xzhnrg0.js → form-j5897gd2.js} +21 -21
- package/dist/chunks/{form-h48rpa6y.js → form-jpatghfr.js} +7 -7
- package/dist/chunks/{form-1hqqab4s.js → form-jtf29y2t.js} +10 -10
- package/dist/chunks/{form-1tcnrg0s.js → form-k3qrda5j.js} +17 -17
- package/dist/chunks/{form-dk6zbvkj.js → form-k60xj1t7.js} +1 -1
- package/dist/chunks/{form-rvqf1hhw.js → form-kj0herga.js} +21 -21
- package/dist/chunks/{form-cqfbx4h9.js → form-km5g435h.js} +4 -4
- package/dist/chunks/{form-2jybnyep.js → form-kx5nz21w.js} +15 -15
- package/dist/chunks/{form-bvdpv0z0.js → form-m3s3xc92.js} +25 -25
- package/dist/chunks/{form-02sakfs1.js → form-mbtcjnsj.js} +7 -7
- package/dist/chunks/{form-aza9mb39.js → form-mjb8sty1.js} +12 -12
- package/dist/chunks/{form-xkhfjrgz.js → form-my4zabxr.js} +3 -3
- package/dist/chunks/{form-0r36wfjw.js → form-mze36jyg.js} +19 -19
- package/dist/chunks/{form-jhyjs82x.js → form-n3gv7a1h.js} +25 -25
- package/dist/chunks/{form-55m81wnp.js → form-nj7hqrdc.js} +8 -8
- package/dist/chunks/{form-kwqx9ezn.js → form-njd51qxm.js} +24 -24
- package/dist/chunks/{form-2aqgybcp.js → form-nkc1tx59.js} +21 -21
- package/dist/chunks/{form-rense280.js → form-nnatg56w.js} +22 -22
- package/dist/chunks/{form-pk9fe0rg.js → form-npw39rc8.js} +9 -9
- package/dist/chunks/{form-6yb97afg.js → form-ntwbnv8p.js} +7 -7
- package/dist/chunks/{form-g6f94y0n.js → form-nvb1bc80.js} +12 -12
- package/dist/chunks/{form-v13b12ef.js → form-nz56sr1f.js} +3 -3
- package/dist/chunks/{form-ckh33p24.js → form-p0ztmah6.js} +22 -22
- package/dist/chunks/{form-tp68cw24.js → form-p9z0zkdt.js} +19 -19
- package/dist/chunks/{form-50aa1a66.js → form-pgty7w5v.js} +33 -33
- package/dist/chunks/{form-54bvb9cj.js → form-pkywgpj6.js} +24 -24
- package/dist/chunks/{form-tg63fvkh.js → form-prv28kd3.js} +12 -12
- package/dist/chunks/{form-rt5r8wym.js → form-pxp0janp.js} +31 -31
- package/dist/chunks/{form-3n1993ym.js → form-pypvpsrm.js} +9 -9
- package/dist/chunks/{form-cd4peczh.js → form-q3nahge5.js} +29 -29
- package/dist/chunks/{form-vzs67vbf.js → form-q82c1dje.js} +77 -77
- package/dist/chunks/{form-2ypbq784.js → form-qfv36mrb.js} +4 -4
- package/dist/chunks/{form-fcrkznn8.js → form-qgn6gcr1.js} +4 -4
- package/dist/chunks/{form-zswrtyyf.js → form-qh43smsn.js} +16 -16
- package/dist/chunks/{form-je3wc35j.js → form-qm4y2xbd.js} +17 -17
- package/dist/chunks/{form-bbk4sw4d.js → form-qq5nsf62.js} +22 -22
- package/dist/chunks/{form-rq76fwbg.js → form-qy0p29jn.js} +16 -16
- package/dist/chunks/{form-5xhehs7n.js → form-ra3vfzv1.js} +7 -7
- package/dist/chunks/{form-16ptnzp4.js → form-rc6vcpxp.js} +24 -24
- package/dist/chunks/{form-cr0bat6b.js → form-rcmz3p1d.js} +14 -14
- package/dist/chunks/{form-6pc27hjz.js → form-rkprpv83.js} +4 -4
- package/dist/chunks/{form-jcj17ehp.js → form-rnwvn009.js} +11 -11
- package/dist/chunks/{form-t4t28t75.js → form-rsm4htgs.js} +16 -16
- package/dist/chunks/{form-jfqtm2ew.js → form-ryr25ayn.js} +3 -3
- package/dist/chunks/{form-99x6s37t.js → form-rzqnmzcf.js} +30 -30
- package/dist/chunks/{form-wgefzgwt.js → form-s031wkkr.js} +11 -11
- package/dist/chunks/{form-xxxym934.js → form-s26hbv8p.js} +3 -3
- package/dist/chunks/{form-7refdtwv.js → form-sacfpxxw.js} +1 -1
- package/dist/chunks/{form-ardm1wrc.js → form-sgphrwae.js} +45 -45
- package/dist/chunks/{form-y6qsrq0m.js → form-spvhq4rn.js} +5 -5
- package/dist/chunks/{form-ztter523.js → form-sqph2rem.js} +5 -5
- package/dist/chunks/{form-vjawge7b.js → form-svz1p6c6.js} +23 -23
- package/dist/chunks/{form-p4g7pjpc.js → form-sxcwrkvg.js} +4 -4
- package/dist/chunks/{form-4mwpykj0.js → form-sxzvkvgj.js} +5 -5
- package/dist/chunks/{form-pkj8hqbd.js → form-sz15zhhw.js} +8 -8
- package/dist/chunks/{form-1v8j23j1.js → form-t179r25m.js} +44 -44
- package/dist/chunks/{form-wkx7yw3s.js → form-t3afeeqz.js} +19 -19
- package/dist/chunks/{form-fh8k3p5m.js → form-t3dbhzng.js} +14 -14
- package/dist/chunks/{form-0gdmqesm.js → form-t550f9t1.js} +3 -3
- package/dist/chunks/{form-15nepkqg.js → form-t89fqycx.js} +7 -7
- package/dist/chunks/{form-s7vrpya1.js → form-tag4a24h.js} +4 -4
- package/dist/chunks/{form-dhb2hta4.js → form-tdqj5rj9.js} +3 -3
- package/dist/chunks/{form-hfnb13cj.js → form-tdvmxvqx.js} +1 -1
- package/dist/chunks/{form-cmwkp3r5.js → form-tpw6cwsb.js} +7 -7
- package/dist/chunks/{form-trya7axm.js → form-tre5yt63.js} +7 -7
- package/dist/chunks/{form-0javqkgf.js → form-v210v162.js} +7 -7
- package/dist/chunks/{form-bgg5jk8p.js → form-v4v0g7kw.js} +6 -6
- package/dist/chunks/{form-27jfxer4.js → form-vcxbe612.js} +2 -2
- package/dist/chunks/{form-g8j30dqw.js → form-vgcrqvce.js} +12 -12
- package/dist/chunks/{form-a8nkje97.js → form-w3qw7gwn.js} +9 -9
- package/dist/chunks/{form-482mympf.js → form-w4mkebwp.js} +30 -30
- package/dist/chunks/{form-mddns072.js → form-wa3r9qa9.js} +14 -14
- package/dist/chunks/{form-43833zpv.js → form-we3w1333.js} +1 -1
- package/dist/chunks/{form-361k30qc.js → form-whvnf6b4.js} +30 -30
- package/dist/chunks/{form-h9eccewq.js → form-wryv9aq9.js} +7 -7
- package/dist/chunks/{form-9sjyw1m6.js → form-wwvmde0v.js} +7 -7
- package/dist/chunks/{form-me4kkzkr.js → form-wz5ft07p.js} +1 -1
- package/dist/chunks/{form-54q14agg.js → form-x3fa5db0.js} +13 -13
- package/dist/chunks/{form-addxnjmp.js → form-x661k3y3.js} +3 -3
- package/dist/chunks/{form-qcws3hz9.js → form-x86nz4fc.js} +9 -9
- package/dist/chunks/{form-f3rpkqey.js → form-xc1f0rvb.js} +27 -27
- package/dist/chunks/{form-s90dqpw7.js → form-xvb5x7q0.js} +9 -9
- package/dist/chunks/{form-8xh436hj.js → form-xyxs5dm1.js} +4 -4
- package/dist/chunks/{form-kcvspnct.js → form-y0samtkt.js} +9 -9
- package/dist/chunks/{form-kbymfr7p.js → form-y3446w5g.js} +9 -9
- package/dist/chunks/{form-h71w788e.js → form-y56ehv6b.js} +8 -8
- package/dist/chunks/{form-bqsaj0qs.js → form-y5fzqhne.js} +15 -15
- package/dist/chunks/{form-whms72wd.js → form-yef9qky4.js} +39 -39
- package/dist/chunks/{form-qne3fa44.js → form-ygdna4kr.js} +3 -3
- package/dist/chunks/{form-4hfeq7yc.js → form-yj7k2rcj.js} +1 -1
- package/dist/chunks/{form-d2edjj1v.js → form-yvgq1qte.js} +12 -12
- package/dist/chunks/{form-6wg7wrda.js → form-yx0rmv9r.js} +5 -5
- package/dist/chunks/{form-78y8a3rg.js → form-z0p92055.js} +8 -8
- package/dist/chunks/{form-1krmxpby.js → form-zdha7q0e.js} +4 -4
- package/dist/chunks/{form-jdthh91w.js → form-zjndanvv.js} +19 -19
- package/dist/chunks/{form-yq6kw6eg.js → form-znjyvqyt.js} +27 -27
- package/dist/chunks/{form-ebkydghs.js → form-znm2wwgf.js} +5 -5
- package/dist/chunks/{form-yy1b5byj.js → form-zx383xpj.js} +6 -6
- package/dist/chunks/{form-a3c7ahw6.js → form-zy43x3f1.js} +3 -3
- package/dist/codemode/instructions.js +4 -4
- package/dist/command.js +67 -67
- package/dist/config/discovery.js +64 -64
- package/dist/config/normalize.js +77 -77
- package/dist/config/plugin/agent.js +88 -88
- package/dist/config/plugin/command.js +165 -165
- package/dist/config/plugin/compaction.js +117 -117
- package/dist/config/plugin/compatibility.js +107 -107
- package/dist/config/plugin/formatter.js +88 -88
- package/dist/config/plugin/image.js +88 -88
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +88 -88
- package/dist/config/plugin/mcp.js +96 -96
- package/dist/config/plugin/policy.js +89 -89
- package/dist/config/plugin/provider.js +88 -88
- package/dist/config/plugin/reference.js +89 -89
- package/dist/config/plugin/shell.js +88 -88
- package/dist/config/plugin/skill-file.js +76 -76
- package/dist/config/plugin/skill.js +106 -106
- package/dist/config/plugin/snapshot.js +88 -88
- package/dist/config/plugin/source.js +89 -89
- package/dist/config/plugin/tool-output.js +88 -88
- package/dist/config/plugin/websearch.js +87 -87
- package/dist/config/plugin/worktree.js +88 -88
- package/dist/config.js +94 -94
- package/dist/credential.js +67 -67
- package/dist/database/database.js +52 -52
- package/dist/database/drizzle/effect-sqlite/driver.js +11 -11
- package/dist/database/drizzle/effect-sqlite/index.js +6 -6
- package/dist/database/drizzle/effect-sqlite/session.js +8 -8
- package/dist/database/drizzle/index.js +12 -12
- package/dist/database/drizzle/sqlite-core/effect/db.js +6 -6
- package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +7 -7
- package/dist/database/drizzle.js +12 -12
- package/dist/database/migration.gen.js +40 -40
- package/dist/database/migration.js +41 -41
- package/dist/database/v1-migration.bun.js +9 -9
- package/dist/effect/app-node-builder.js +235 -235
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/environment/environment.js +69 -69
- package/dist/environment/index.js +71 -71
- package/dist/environment/unavailable.js +3 -3
- package/dist/event-logger.js +10 -10
- package/dist/file-access.js +79 -79
- package/dist/file-mutation.js +70 -70
- package/dist/filesystem/location-watcher-policy.js +5 -5
- package/dist/filesystem/location-watcher.js +179 -179
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +78 -78
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +14 -14
- package/dist/filesystem.js +77 -77
- package/dist/form.js +65 -65
- package/dist/formatter.js +66 -66
- package/dist/generate.js +81 -81
- package/dist/git.js +8 -8
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +4 -4
- package/dist/github-copilot/copilot-provider.js +3 -3
- package/dist/github-copilot/models.js +78 -78
- package/dist/github-copilot/responses/openai-responses-language-model.js +6 -6
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +3 -3
- package/dist/image/photon.js +1 -1
- package/dist/image.js +5 -5
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +309 -309
- package/dist/instruction-discovery.js +68 -68
- package/dist/instructions/builtins.js +67 -67
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +69 -69
- package/dist/job.js +62 -62
- package/dist/kv.js +57 -57
- package/dist/location-activity.js +56 -56
- package/dist/location-lifecycle.js +82 -82
- package/dist/location-service-map.js +66 -66
- package/dist/location-services.js +307 -307
- package/dist/location.js +67 -67
- package/dist/managed-policy.js +7 -7
- package/dist/mcp/client.js +18 -18
- package/dist/mcp/index.js +79 -79
- package/dist/mcp/instructions.js +98 -98
- package/dist/mcp/oauth.js +14 -14
- package/dist/mcp/stdio.js +66 -66
- package/dist/modal/models.js +78 -78
- package/dist/model-resolver.js +75 -75
- package/dist/model.js +77 -77
- package/dist/models-dev.js +86 -86
- package/dist/permission/saved.js +59 -59
- package/dist/permission.js +86 -86
- package/dist/persistent-pty/index.js +72 -72
- package/dist/persistent-pty.js +56 -56
- package/dist/plugin/agent.js +58 -58
- package/dist/plugin/command.js +76 -76
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +172 -172
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +281 -281
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +89 -89
- package/dist/plugin/optimize.js +3 -3
- package/dist/plugin/plan.js +77 -77
- package/dist/plugin/provider/amazon-bedrock.js +69 -69
- package/dist/plugin/provider/azure.js +89 -89
- package/dist/plugin/provider/chatgpt.js +87 -87
- package/dist/plugin/provider/cloudflare-ai-gateway.js +86 -86
- package/dist/plugin/provider/cloudflare-workers-ai.js +86 -86
- package/dist/plugin/provider/configured.js +85 -85
- package/dist/plugin/provider/digitalocean.js +71 -71
- package/dist/plugin/provider/github-copilot.js +73 -73
- package/dist/plugin/provider/gitlab.js +71 -71
- package/dist/plugin/provider/google-vertex.js +86 -86
- package/dist/plugin/provider/llmgateway.js +62 -62
- package/dist/plugin/provider/lmstudio.js +98 -98
- package/dist/plugin/provider/local.js +95 -95
- package/dist/plugin/provider/modal.js +71 -71
- package/dist/plugin/provider/ollama.js +98 -98
- package/dist/plugin/provider/openai.js +89 -89
- package/dist/plugin/provider/opencode.js +76 -76
- package/dist/plugin/provider/openrouter.js +70 -70
- package/dist/plugin/provider/poe.js +62 -62
- package/dist/plugin/provider/sap-ai-core.js +69 -69
- package/dist/plugin/provider/snowflake-cortex.js +87 -87
- package/dist/plugin/provider/vercel.js +69 -69
- package/dist/plugin/provider/vllm.js +98 -98
- package/dist/plugin/provider/xai.js +70 -70
- package/dist/plugin/provider.js +133 -133
- package/dist/plugin/sdk.js +61 -61
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +107 -107
- package/dist/plugin/supervisor.js +297 -297
- package/dist/plugin/tool-input-repair.js +3 -3
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +65 -65
- package/dist/plugin/vcs/hg.js +65 -65
- package/dist/plugin/verbosity.js +72 -72
- package/dist/plugin/warming.js +87 -87
- package/dist/plugin/websearch/exa.js +6 -6
- package/dist/plugin/websearch/firecrawl.js +7 -7
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +3 -3
- package/dist/plugin/websearch/parallel.js +7 -7
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +7 -7
- package/dist/plugin.js +183 -183
- package/dist/project/schema.js +7 -7
- package/dist/project.js +68 -68
- package/dist/provider.js +76 -76
- package/dist/pty.js +77 -77
- package/dist/reference/instructions.js +70 -70
- package/dist/reference.js +72 -72
- package/dist/repository-cache.js +62 -62
- package/dist/ripgrep.js +70 -70
- package/dist/rpc.js +66 -66
- package/dist/session/command.js +58 -58
- package/dist/session/compaction.js +96 -96
- package/dist/session/context.js +118 -118
- package/dist/session/diff.js +65 -65
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +2 -2
- package/dist/session/execution/restart.js +111 -111
- package/dist/session/execution.js +100 -100
- package/dist/session/generate.js +120 -120
- package/dist/session/history.js +8 -8
- package/dist/session/inbox.js +70 -70
- package/dist/session/info.js +2 -2
- package/dist/session/instruction-entry.js +60 -60
- package/dist/session/instruction-state.js +3 -3
- package/dist/session/instructions.js +74 -74
- package/dist/session/message-updater.js +3 -3
- package/dist/session/model-request.js +89 -89
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +103 -103
- package/dist/session/projector.js +67 -67
- package/dist/session/prompt.js +80 -80
- package/dist/session/revert.js +70 -70
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +181 -181
- package/dist/session/runner/model.js +77 -77
- package/dist/session/runner/publish-llm-event.js +87 -87
- package/dist/session/runner/step.js +93 -93
- package/dist/session/runner/to-llm-message.js +7 -7
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +130 -130
- package/dist/session/shell.js +101 -101
- package/dist/session/skill.js +78 -78
- package/dist/session/stats.js +8 -8
- package/dist/session/store.js +64 -64
- package/dist/session/subagent-job.js +166 -166
- package/dist/session/title.js +119 -119
- package/dist/session/to-session-error.js +86 -86
- package/dist/session/transfer.js +108 -108
- package/dist/session.js +171 -171
- package/dist/shell/parse.js +3 -3
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +104 -104
- package/dist/skill/discovery.js +5 -5
- package/dist/skill/instructions.js +82 -82
- package/dist/skill.js +89 -89
- package/dist/snapshot.js +72 -72
- package/dist/tool/mcp.js +95 -95
- package/dist/tool/plugin/edit.js +91 -91
- package/dist/tool/plugin/glob.js +87 -87
- package/dist/tool/plugin/grep.js +93 -93
- package/dist/tool/plugin/mcp-resource.js +89 -89
- package/dist/tool/plugin/opencode.js +82 -82
- package/dist/tool/plugin/patch.js +89 -89
- package/dist/tool/plugin/question.js +78 -78
- package/dist/tool/plugin/read.js +96 -96
- package/dist/tool/plugin/shell.js +170 -170
- package/dist/tool/plugin/skill.js +88 -88
- package/dist/tool/plugin/subagent.js +173 -173
- package/dist/tool/plugin/todo.js +110 -110
- package/dist/tool/plugin/webfetch.js +85 -85
- package/dist/tool/plugin/websearch.js +87 -87
- package/dist/tool/plugin/write.js +91 -91
- package/dist/tool/read-filesystem.js +74 -74
- package/dist/tool-output.js +5 -5
- package/dist/tool.js +5 -5
- package/dist/v1/config/agent.js +6 -6
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +3 -3
- package/dist/v1/config/migrate.js +70 -70
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider.js +3 -3
- package/dist/variant.js +72 -72
- package/dist/vcs.js +68 -68
- package/dist/voice.js +70 -70
- package/dist/websearch.js +68 -68
- package/dist/wellknown/plugin.js +60 -60
- package/dist/wellknown.js +65 -65
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace.js +65 -65
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/strategies.js +67 -67
- package/dist/worktree.js +75 -75
- package/package.json +8 -8
- package/dist/chunks/form-360h9knm.js +0 -26
- package/dist/chunks/form-ymafgmrd.js +0 -257
- /package/dist/chunks/{form-wptgs5cr.js → form-4q08mgzs.js} +0 -0
- /package/dist/chunks/{form-65qcyyma.js → form-gkn1t7a9.js} +0 -0
- /package/dist/chunks/{form-pfq1ksym.js → form-mjagy123.js} +0 -0
- /package/dist/chunks/{form-0bmnjpfs.js → form-ve45bn9x.js} +0 -0
|
@@ -1,129 +1,129 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
|
-
|
|
4
|
-
} from "./form-
|
|
3
|
+
node79
|
|
4
|
+
} from "./form-y3446w5g.js";
|
|
5
5
|
import {
|
|
6
6
|
Service85,
|
|
7
7
|
node89
|
|
8
|
-
} from "./form-
|
|
8
|
+
} from "./form-43pfpj47.js";
|
|
9
9
|
import {
|
|
10
10
|
ID9,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./form-
|
|
11
|
+
Service67,
|
|
12
|
+
node69
|
|
13
|
+
} from "./form-6cw2sbjh.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID14,
|
|
16
16
|
OAuth3
|
|
17
|
-
} from "./form-
|
|
17
|
+
} from "./form-m3s3xc92.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID13,
|
|
20
20
|
MethodID2,
|
|
21
21
|
AttemptID2,
|
|
22
22
|
Method2,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./form-
|
|
23
|
+
Service74,
|
|
24
|
+
node76
|
|
25
|
+
} from "./form-qq5nsf62.js";
|
|
26
26
|
import {
|
|
27
27
|
AbsolutePath2
|
|
28
28
|
} from "./form-z5v4ffb3.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
30
|
+
Info27,
|
|
31
31
|
Ref4,
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./form-
|
|
32
|
+
Service82,
|
|
33
|
+
node86
|
|
34
|
+
} from "./form-kx5nz21w.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./form-
|
|
36
|
+
ID12,
|
|
37
|
+
Service73,
|
|
38
|
+
node75
|
|
39
|
+
} from "./form-njd51qxm.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
41
|
+
Service71,
|
|
42
42
|
node73
|
|
43
|
-
} from "./form-
|
|
43
|
+
} from "./form-9vkgtp31.js";
|
|
44
44
|
import {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
} from "./form-
|
|
45
|
+
Service47,
|
|
46
|
+
node49
|
|
47
|
+
} from "./form-cyj5tmxp.js";
|
|
48
48
|
import {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
} from "./form-
|
|
49
|
+
Service56,
|
|
50
|
+
node58
|
|
51
|
+
} from "./form-86d0rtkg.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
} from "./form-
|
|
53
|
+
Service60,
|
|
54
|
+
node62
|
|
55
|
+
} from "./form-3gc7db2q.js";
|
|
56
56
|
import {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
} from "./form-
|
|
57
|
+
ID11,
|
|
58
|
+
Service72,
|
|
59
|
+
node74
|
|
60
|
+
} from "./form-c61xra83.js";
|
|
61
61
|
import {
|
|
62
|
-
|
|
63
|
-
} from "./form-
|
|
62
|
+
ID16
|
|
63
|
+
} from "./form-h2r6cra7.js";
|
|
64
64
|
import {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
} from "./form-
|
|
65
|
+
Service30,
|
|
66
|
+
node33
|
|
67
|
+
} from "./form-ft0vqakg.js";
|
|
68
68
|
import {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
} from "./form-
|
|
69
|
+
Service68,
|
|
70
|
+
node70
|
|
71
|
+
} from "./form-22sd1qqc.js";
|
|
72
72
|
import {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
} from "./form-
|
|
73
|
+
Service64,
|
|
74
|
+
node66
|
|
75
|
+
} from "./form-fz4d0gag.js";
|
|
76
76
|
import {
|
|
77
77
|
Service46,
|
|
78
78
|
node48,
|
|
79
|
-
|
|
80
|
-
} from "./form-
|
|
79
|
+
Error3
|
|
80
|
+
} from "./form-awg6j8k5.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
} from "./form-
|
|
82
|
+
Source3,
|
|
83
|
+
Service36,
|
|
84
|
+
node39
|
|
85
|
+
} from "./form-p0ztmah6.js";
|
|
86
86
|
import {
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
} from "./form-
|
|
87
|
+
Info16,
|
|
88
|
+
Service63,
|
|
89
|
+
node65
|
|
90
|
+
} from "./form-e6b459zv.js";
|
|
91
91
|
import {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
} from "./form-
|
|
92
|
+
Service19,
|
|
93
|
+
node22
|
|
94
|
+
} from "./form-q82c1dje.js";
|
|
95
95
|
import {
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
} from "./form-
|
|
96
|
+
Service16,
|
|
97
|
+
node19
|
|
98
|
+
} from "./form-xc1f0rvb.js";
|
|
99
99
|
import {
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
} from "./form-
|
|
100
|
+
Service34,
|
|
101
|
+
node37
|
|
102
|
+
} from "./form-gv897vmw.js";
|
|
103
103
|
import {
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
} from "./form-
|
|
104
|
+
Service18,
|
|
105
|
+
node21
|
|
106
|
+
} from "./form-3snckwy5.js";
|
|
107
107
|
import {
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
} from "./form-
|
|
108
|
+
ID3,
|
|
109
|
+
Service17,
|
|
110
|
+
node20
|
|
111
|
+
} from "./form-svz1p6c6.js";
|
|
112
112
|
import {
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
} from "./form-
|
|
113
|
+
Service59,
|
|
114
|
+
node61
|
|
115
|
+
} from "./form-g4m4kdwx.js";
|
|
116
116
|
import {
|
|
117
117
|
StrategyID2,
|
|
118
|
-
|
|
118
|
+
Info14,
|
|
119
119
|
ListEntry3,
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
} from "./form-
|
|
120
|
+
Service58,
|
|
121
|
+
node60
|
|
122
|
+
} from "./form-16jfehqd.js";
|
|
123
123
|
import {
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
} from "./form-
|
|
124
|
+
Service38,
|
|
125
|
+
node41
|
|
126
|
+
} from "./form-861n07f3.js";
|
|
127
127
|
import {
|
|
128
128
|
__export
|
|
129
129
|
} from "./form-9rqn6x4v.js";
|
|
@@ -144,49 +144,49 @@ var mutable = (value) => value;
|
|
|
144
144
|
var isRpcEvent = (event) => event.type.startsWith("rpc.");
|
|
145
145
|
var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test") {
|
|
146
146
|
const app = yield* Metadata2;
|
|
147
|
-
const agents = yield*
|
|
148
|
-
const aisdk = yield*
|
|
149
|
-
const providers = yield*
|
|
150
|
-
const models = yield*
|
|
151
|
-
const commands = yield*
|
|
147
|
+
const agents = yield* Service67;
|
|
148
|
+
const aisdk = yield* Service71;
|
|
149
|
+
const providers = yield* Service73;
|
|
150
|
+
const models = yield* Service72;
|
|
151
|
+
const commands = yield* Service47;
|
|
152
152
|
const bus = yield* Service85;
|
|
153
|
-
const integration = yield*
|
|
154
|
-
const kv = yield*
|
|
155
|
-
const mcp = yield*
|
|
156
|
-
const location = yield*
|
|
157
|
-
const reference = yield*
|
|
158
|
-
const rpc = yield*
|
|
159
|
-
const skill = yield*
|
|
153
|
+
const integration = yield* Service74;
|
|
154
|
+
const kv = yield* Service56;
|
|
155
|
+
const mcp = yield* Service30;
|
|
156
|
+
const location = yield* Service82;
|
|
157
|
+
const reference = yield* Service36;
|
|
158
|
+
const rpc = yield* Service34;
|
|
159
|
+
const skill = yield* Service63;
|
|
160
160
|
const tools = yield* Service46;
|
|
161
|
-
const vcs = yield*
|
|
162
|
-
const websearch = yield*
|
|
163
|
-
const generate = yield*
|
|
164
|
-
const permission = yield*
|
|
165
|
-
const hooks = yield*
|
|
166
|
-
const sessions = yield*
|
|
167
|
-
const persistentPty = yield*
|
|
168
|
-
const locations = yield*
|
|
169
|
-
const worktrees = yield*
|
|
170
|
-
const worktreeStrategies = yield*
|
|
161
|
+
const vcs = yield* Service18;
|
|
162
|
+
const websearch = yield* Service17;
|
|
163
|
+
const generate = yield* Service38;
|
|
164
|
+
const permission = yield* Service64;
|
|
165
|
+
const hooks = yield* Service68;
|
|
166
|
+
const sessions = yield* Service19;
|
|
167
|
+
const persistentPty = yield* Service16;
|
|
168
|
+
const locations = yield* Service60;
|
|
169
|
+
const worktrees = yield* Service58;
|
|
170
|
+
const worktreeStrategies = yield* Service59;
|
|
171
171
|
const currentWorktreeStrategies = location.workspaceID ? undefined : worktreeStrategies;
|
|
172
|
-
const locationInfo = () => new
|
|
172
|
+
const locationInfo = () => new Info27({
|
|
173
173
|
directory: location.directory,
|
|
174
174
|
workspaceID: location.workspaceID,
|
|
175
175
|
project: location.project
|
|
176
176
|
});
|
|
177
177
|
const locationRef = (input) => input?.location === undefined ? undefined : Ref4.make({
|
|
178
178
|
directory: AbsolutePath2.make(input.location.directory ?? location.directory),
|
|
179
|
-
workspaceID: input.location.workspace === undefined ? location.workspaceID :
|
|
179
|
+
workspaceID: input.location.workspace === undefined ? location.workspaceID : ID16.make(input.location.workspace)
|
|
180
180
|
});
|
|
181
181
|
const isCurrentLocation = (ref) => ref.directory === location.directory && ref.workspaceID === location.workspaceID;
|
|
182
182
|
const response = (effect) => effect.pipe(Effect.map((data) => ({ location: locationInfo(), data })));
|
|
183
|
-
const decodeWorktree = Schema.decodeUnknownEffect(
|
|
183
|
+
const decodeWorktree = Schema.decodeUnknownEffect(Info14);
|
|
184
184
|
const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry3));
|
|
185
185
|
const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.gen(function* () {
|
|
186
|
-
const location = yield*
|
|
187
|
-
const agents = yield*
|
|
186
|
+
const location = yield* Service82;
|
|
187
|
+
const agents = yield* Service67;
|
|
188
188
|
return {
|
|
189
|
-
location: new
|
|
189
|
+
location: new Info27({
|
|
190
190
|
directory: location.directory,
|
|
191
191
|
workspaceID: location.workspaceID,
|
|
192
192
|
project: location.project
|
|
@@ -255,22 +255,22 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
255
255
|
},
|
|
256
256
|
provider: {
|
|
257
257
|
list: () => response(providers.available()),
|
|
258
|
-
get: (input) => providers.get(
|
|
258
|
+
get: (input) => providers.get(ID12.make(input.providerID)).pipe(Effect.flatMap((provider) => provider === undefined ? Effect.fail(new Error(`Provider not found: ${input.providerID}`)) : response(Effect.succeed(provider)))),
|
|
259
259
|
reload: providers.reload,
|
|
260
260
|
transform: (callback) => providers.transform((editor) => {
|
|
261
261
|
callback({
|
|
262
262
|
list: editor.list,
|
|
263
|
-
get: (id) => editor.get(
|
|
263
|
+
get: (id) => editor.get(ID12.make(id)),
|
|
264
264
|
add: (definition) => editor.add({
|
|
265
265
|
...definition,
|
|
266
|
-
sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id:
|
|
266
|
+
sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id: ID14.make(definition.sourceConnection.id) } : definition.sourceConnection
|
|
267
267
|
}),
|
|
268
|
-
update: (id, update) => editor.update(
|
|
269
|
-
remove: (id) => editor.remove(
|
|
268
|
+
update: (id, update) => editor.update(ID12.make(id), update),
|
|
269
|
+
remove: (id) => editor.remove(ID12.make(id)),
|
|
270
270
|
models: {
|
|
271
|
-
set: (id, models) => editor.models.set(
|
|
272
|
-
update: (providerID, modelID, update) => editor.models.update(
|
|
273
|
-
remove: (providerID, modelID) => editor.models.remove(
|
|
271
|
+
set: (id, models) => editor.models.set(ID12.make(id), models),
|
|
272
|
+
update: (providerID, modelID, update) => editor.models.update(ID12.make(providerID), ID11.make(modelID), update),
|
|
273
|
+
remove: (providerID, modelID) => editor.models.remove(ID12.make(providerID), ID11.make(modelID))
|
|
274
274
|
}
|
|
275
275
|
});
|
|
276
276
|
})
|
|
@@ -280,17 +280,17 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
280
280
|
default: () => response(models.default()),
|
|
281
281
|
reload: models.reload,
|
|
282
282
|
transform: (callback) => models.transform((editor) => callback({
|
|
283
|
-
list: (providerID) => editor.list(providerID === undefined ? undefined :
|
|
284
|
-
get: (providerID, modelID) => editor.get(
|
|
285
|
-
update: (providerID, modelID, update) => editor.update(
|
|
286
|
-
remove: (providerID, modelID) => editor.remove(
|
|
283
|
+
list: (providerID) => editor.list(providerID === undefined ? undefined : ID12.make(providerID)),
|
|
284
|
+
get: (providerID, modelID) => editor.get(ID12.make(providerID), ID11.make(modelID)),
|
|
285
|
+
update: (providerID, modelID, update) => editor.update(ID12.make(providerID), ID11.make(modelID), update),
|
|
286
|
+
remove: (providerID, modelID) => editor.remove(ID12.make(providerID), ID11.make(modelID)),
|
|
287
287
|
default: {
|
|
288
288
|
get: editor.default.get,
|
|
289
|
-
set: (providerID, modelID) => editor.default.set(
|
|
289
|
+
set: (providerID, modelID) => editor.default.set(ID12.make(providerID), ID11.make(modelID))
|
|
290
290
|
},
|
|
291
291
|
provider: {
|
|
292
292
|
list: editor.provider.list,
|
|
293
|
-
get: (id) => editor.provider.get(
|
|
293
|
+
get: (id) => editor.provider.get(ID12.make(id))
|
|
294
294
|
}
|
|
295
295
|
}))
|
|
296
296
|
},
|
|
@@ -316,20 +316,20 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
316
316
|
integration: {
|
|
317
317
|
list: () => response(integration.list()),
|
|
318
318
|
get: Effect.fn(function* (input) {
|
|
319
|
-
const item = yield* integration.get(
|
|
319
|
+
const item = yield* integration.get(ID13.make(input.integrationID));
|
|
320
320
|
if (!item)
|
|
321
321
|
return yield* Effect.fail(new Error(`Integration not found: ${input.integrationID}`));
|
|
322
322
|
return yield* response(Effect.succeed(item));
|
|
323
323
|
}),
|
|
324
324
|
connect: {
|
|
325
325
|
key: (input) => integration.connection.key({
|
|
326
|
-
integrationID:
|
|
326
|
+
integrationID: ID13.make(input.integrationID),
|
|
327
327
|
key: input.key,
|
|
328
328
|
answer: input.answer,
|
|
329
329
|
label: input.label
|
|
330
330
|
}),
|
|
331
331
|
external: (input) => integration.connection.external({
|
|
332
|
-
integrationID:
|
|
332
|
+
integrationID: ID13.make(input.integrationID),
|
|
333
333
|
methodID: MethodID2.make(input.methodID),
|
|
334
334
|
answer: input.answer,
|
|
335
335
|
label: input.label
|
|
@@ -337,60 +337,60 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
337
337
|
},
|
|
338
338
|
oauth: {
|
|
339
339
|
connect: (input) => response(integration.oauth.connect({
|
|
340
|
-
integrationID:
|
|
340
|
+
integrationID: ID13.make(input.integrationID),
|
|
341
341
|
methodID: MethodID2.make(input.methodID),
|
|
342
342
|
answer: input.answer,
|
|
343
343
|
label: input.label
|
|
344
344
|
})),
|
|
345
345
|
status: (input) => response(integration.oauth.status({
|
|
346
|
-
integrationID:
|
|
346
|
+
integrationID: ID13.make(input.integrationID),
|
|
347
347
|
attemptID: AttemptID2.make(input.attemptID)
|
|
348
348
|
})),
|
|
349
349
|
complete: (input) => integration.oauth.complete({
|
|
350
|
-
integrationID:
|
|
350
|
+
integrationID: ID13.make(input.integrationID),
|
|
351
351
|
attemptID: AttemptID2.make(input.attemptID),
|
|
352
352
|
code: input.code
|
|
353
353
|
}),
|
|
354
354
|
cancel: (input) => integration.oauth.cancel({
|
|
355
|
-
integrationID:
|
|
355
|
+
integrationID: ID13.make(input.integrationID),
|
|
356
356
|
attemptID: AttemptID2.make(input.attemptID)
|
|
357
357
|
})
|
|
358
358
|
},
|
|
359
359
|
command: {
|
|
360
360
|
connect: (input) => response(integration.command.connect({
|
|
361
|
-
integrationID:
|
|
361
|
+
integrationID: ID13.make(input.integrationID),
|
|
362
362
|
methodID: MethodID2.make(input.methodID),
|
|
363
363
|
label: input.label
|
|
364
364
|
})),
|
|
365
365
|
status: (input) => response(integration.command.status({
|
|
366
|
-
integrationID:
|
|
366
|
+
integrationID: ID13.make(input.integrationID),
|
|
367
367
|
attemptID: AttemptID2.make(input.attemptID)
|
|
368
368
|
})),
|
|
369
369
|
cancel: (input) => integration.command.cancel({
|
|
370
|
-
integrationID:
|
|
370
|
+
integrationID: ID13.make(input.integrationID),
|
|
371
371
|
attemptID: AttemptID2.make(input.attemptID)
|
|
372
372
|
})
|
|
373
373
|
},
|
|
374
374
|
reload: integration.reload,
|
|
375
375
|
connection: {
|
|
376
|
-
active: (id) => integration.connection.active(
|
|
377
|
-
resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id:
|
|
376
|
+
active: (id) => integration.connection.active(ID13.make(id)),
|
|
377
|
+
resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID14.make(connection.id) } : connection),
|
|
378
378
|
status: (input) => integration.connection.status({
|
|
379
|
-
integrationID:
|
|
380
|
-
connection: input.connection.type === "credential" ? { ...input.connection, id:
|
|
379
|
+
integrationID: ID13.make(input.integrationID),
|
|
380
|
+
connection: input.connection.type === "credential" ? { ...input.connection, id: ID14.make(input.connection.id) } : input.connection,
|
|
381
381
|
status: input.status
|
|
382
382
|
})
|
|
383
383
|
},
|
|
384
384
|
transform: (callback) => integration.transform((editor) => {
|
|
385
385
|
callback({
|
|
386
386
|
list: () => mutable(editor.list()),
|
|
387
|
-
get: (id) => mutable(editor.get(
|
|
388
|
-
update: (id, update) => editor.update(
|
|
389
|
-
remove: (id) => editor.remove(
|
|
387
|
+
get: (id) => mutable(editor.get(ID13.make(id))),
|
|
388
|
+
update: (id, update) => editor.update(ID13.make(id), update),
|
|
389
|
+
remove: (id) => editor.remove(ID13.make(id)),
|
|
390
390
|
method: {
|
|
391
|
-
list: (id) => editor.method.list(
|
|
391
|
+
list: (id) => editor.method.list(ID13.make(id)),
|
|
392
392
|
update: (input) => editor.method.update(methodImplementation(input)),
|
|
393
|
-
remove: (id, method) => editor.method.remove(
|
|
393
|
+
remove: (id, method) => editor.method.remove(ID13.make(id), Schema.decodeUnknownSync(Method2)(method))
|
|
394
394
|
}
|
|
395
395
|
});
|
|
396
396
|
})
|
|
@@ -400,10 +400,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
400
400
|
const ref = locationRef(input);
|
|
401
401
|
if (ref && !isCurrentLocation(ref))
|
|
402
402
|
return Effect.gen(function* () {
|
|
403
|
-
const location = yield*
|
|
404
|
-
const mcp = yield*
|
|
403
|
+
const location = yield* Service82;
|
|
404
|
+
const mcp = yield* Service30;
|
|
405
405
|
return {
|
|
406
|
-
location: new
|
|
406
|
+
location: new Info27({
|
|
407
407
|
directory: location.directory,
|
|
408
408
|
workspaceID: location.workspaceID,
|
|
409
409
|
project: location.project
|
|
@@ -430,9 +430,9 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
430
430
|
get: (input) => permission.get(input.requestID).pipe(Effect.flatMap((request) => request?.sessionID === input.sessionID ? Effect.succeed(request) : Effect.fail(new Error(`Permission request not found: ${input.requestID}`)))),
|
|
431
431
|
reply: (input) => permission.get(input.requestID).pipe(Effect.flatMap((request) => request?.sessionID === input.sessionID ? permission.reply({ requestID: input.requestID, reply: input.decision, message: input.message }) : Effect.fail(new Error(`Permission request not found: ${input.requestID}`)))),
|
|
432
432
|
assert: (input) => permission.assert(input).pipe(Effect.catchTags({
|
|
433
|
-
"Permission.BlockedError": (error) => Effect.fail(new
|
|
434
|
-
"Permission.CorrectedError": (error) => Effect.fail(new
|
|
435
|
-
"Session.NotFoundError": (error) => Effect.fail(new
|
|
433
|
+
"Permission.BlockedError": (error) => Effect.fail(new Error3({ message: error.message, error })),
|
|
434
|
+
"Permission.CorrectedError": (error) => Effect.fail(new Error3({ message: error.feedback, error })),
|
|
435
|
+
"Session.NotFoundError": (error) => Effect.fail(new Error3({ message: `Session not found: ${error.sessionID}`, error }))
|
|
436
436
|
}))
|
|
437
437
|
},
|
|
438
438
|
plugin: {
|
|
@@ -443,7 +443,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
443
443
|
reload: reference.reload,
|
|
444
444
|
transform: (callback) => reference.transform((editor) => {
|
|
445
445
|
callback({
|
|
446
|
-
add: (name, source) => editor.add(name, Schema.decodeUnknownSync(
|
|
446
|
+
add: (name, source) => editor.add(name, Schema.decodeUnknownSync(Source3)(source)),
|
|
447
447
|
remove: editor.remove,
|
|
448
448
|
list: editor.list,
|
|
449
449
|
get: editor.get
|
|
@@ -457,7 +457,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
457
457
|
callback({
|
|
458
458
|
list: () => mutable(editor.list()),
|
|
459
459
|
get: editor.get,
|
|
460
|
-
add: (value) => editor.add(Schema.decodeUnknownSync(
|
|
460
|
+
add: (value) => editor.add(Schema.decodeUnknownSync(Info16)(value)),
|
|
461
461
|
update: editor.update,
|
|
462
462
|
remove: editor.remove
|
|
463
463
|
});
|
|
@@ -488,19 +488,19 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
488
488
|
providers: () => response(websearch.providers()),
|
|
489
489
|
query: (input) => response(websearch.query({
|
|
490
490
|
query: input.query,
|
|
491
|
-
providerID: input.providerID === undefined ? undefined :
|
|
491
|
+
providerID: input.providerID === undefined ? undefined : ID3.make(input.providerID)
|
|
492
492
|
})),
|
|
493
493
|
reload: websearch.reload,
|
|
494
494
|
transform: (callback) => websearch.transform((editor) => {
|
|
495
495
|
callback({
|
|
496
496
|
add: (definition) => editor.add({
|
|
497
|
-
id:
|
|
497
|
+
id: ID3.make(definition.id),
|
|
498
498
|
name: definition.name,
|
|
499
499
|
execute: definition.execute
|
|
500
500
|
}),
|
|
501
501
|
default: {
|
|
502
502
|
get: editor.default.get,
|
|
503
|
-
set: (selection) => editor.default.set(selection === false || selection === "random" ? selection :
|
|
503
|
+
set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID3.make(selection))
|
|
504
504
|
}
|
|
505
505
|
});
|
|
506
506
|
})
|
|
@@ -561,31 +561,31 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
561
561
|
return context;
|
|
562
562
|
});
|
|
563
563
|
var requirements3 = LayerNode.group([
|
|
564
|
-
node76,
|
|
565
|
-
node61,
|
|
566
|
-
node73,
|
|
567
|
-
node80,
|
|
568
564
|
node79,
|
|
569
|
-
|
|
565
|
+
node69,
|
|
566
|
+
node73,
|
|
567
|
+
node75,
|
|
568
|
+
node74,
|
|
569
|
+
node49,
|
|
570
570
|
node89,
|
|
571
|
-
|
|
572
|
-
|
|
571
|
+
node76,
|
|
572
|
+
node58,
|
|
573
|
+
node33,
|
|
574
|
+
node86,
|
|
573
575
|
node39,
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
node47,
|
|
577
|
-
node40,
|
|
576
|
+
node37,
|
|
577
|
+
node65,
|
|
578
578
|
node48,
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
579
|
+
node21,
|
|
580
|
+
node20,
|
|
581
|
+
node60,
|
|
582
|
+
node61,
|
|
583
|
+
node41,
|
|
584
|
+
node66,
|
|
585
|
+
node70,
|
|
586
|
+
node22,
|
|
587
|
+
node19,
|
|
588
|
+
node62
|
|
589
589
|
]);
|
|
590
590
|
function storage2(kv, pluginID) {
|
|
591
591
|
const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
|
|
@@ -612,7 +612,7 @@ function methodImplementation(input) {
|
|
|
612
612
|
if ("authorize" in input) {
|
|
613
613
|
const refresh = input.refresh;
|
|
614
614
|
return {
|
|
615
|
-
integrationID:
|
|
615
|
+
integrationID: ID13.make(input.integrationID),
|
|
616
616
|
method: { ...input.method, id: MethodID2.make(input.method.id) },
|
|
617
617
|
authorize: (answer) => input.authorize(answer).pipe(Effect.map((authorization) => {
|
|
618
618
|
if (authorization.mode === "auto") {
|
|
@@ -632,24 +632,24 @@ function methodImplementation(input) {
|
|
|
632
632
|
}
|
|
633
633
|
if (input.method.type === "env") {
|
|
634
634
|
return {
|
|
635
|
-
integrationID:
|
|
635
|
+
integrationID: ID13.make(input.integrationID),
|
|
636
636
|
method: input.method
|
|
637
637
|
};
|
|
638
638
|
}
|
|
639
639
|
if (input.method.type === "command") {
|
|
640
640
|
return {
|
|
641
|
-
integrationID:
|
|
641
|
+
integrationID: ID13.make(input.integrationID),
|
|
642
642
|
method: { ...input.method, id: MethodID2.make(input.method.id) }
|
|
643
643
|
};
|
|
644
644
|
}
|
|
645
645
|
if (input.method.type === "external") {
|
|
646
646
|
return {
|
|
647
|
-
integrationID:
|
|
647
|
+
integrationID: ID13.make(input.integrationID),
|
|
648
648
|
method: { ...input.method, id: MethodID2.make(input.method.id) }
|
|
649
649
|
};
|
|
650
650
|
}
|
|
651
651
|
return {
|
|
652
|
-
integrationID:
|
|
652
|
+
integrationID: ID13.make(input.integrationID),
|
|
653
653
|
method: input.method
|
|
654
654
|
};
|
|
655
655
|
}
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make19,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./form-
|
|
6
|
+
} from "./form-t550f9t1.js";
|
|
7
7
|
import {
|
|
8
8
|
evaluate2
|
|
9
|
-
} from "./form-
|
|
9
|
+
} from "./form-fz4d0gag.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./form-
|
|
11
|
+
Service30,
|
|
12
|
+
node33
|
|
13
|
+
} from "./form-ft0vqakg.js";
|
|
14
14
|
import {
|
|
15
15
|
namespace2,
|
|
16
16
|
name14
|
|
17
|
-
} from "./form-
|
|
17
|
+
} from "./form-nkc1tx59.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
20
|
} from "./form-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/mcp/instructions.ts
|
|
23
|
-
var
|
|
24
|
-
__export(
|
|
25
|
-
McpInstructions: () =>
|
|
26
|
-
Service: () =>
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
23
|
+
var exports_instructions2 = {};
|
|
24
|
+
__export(exports_instructions2, {
|
|
25
|
+
McpInstructions: () => exports_instructions2,
|
|
26
|
+
Service: () => Service22,
|
|
27
|
+
layer: () => layer11,
|
|
28
|
+
node: () => node26
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -61,13 +61,13 @@ var update = (previous, current) => {
|
|
|
61
61
|
`);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service22 extends Context.Service()("@opencode/McpInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var
|
|
67
|
-
const mcp = yield*
|
|
68
|
-
return
|
|
66
|
+
var layer11 = Layer.effect(Service22, Effect.gen(function* () {
|
|
67
|
+
const mcp = yield* Service30;
|
|
68
|
+
return Service22.of({
|
|
69
69
|
load: Effect.fn("McpInstructions.load")(function* (permissions) {
|
|
70
|
-
const source = (value) =>
|
|
70
|
+
const source = (value) => make19({
|
|
71
71
|
key: Key3.make("core/mcp-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(value),
|
|
@@ -96,6 +96,6 @@ var layer13 = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
}));
|
|
99
|
-
var
|
|
99
|
+
var node26 = makeLocationNode({ service: Service22, layer: layer11, deps: [node33] });
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { Service22, layer11, node26, exports_instructions2 };
|