@opencode/core 2.1.1 → 2.1.2
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 +69 -69
- package/dist/aisdk-native.js +74 -74
- package/dist/aisdk.js +79 -79
- package/dist/app.js +9 -9
- package/dist/bus.js +60 -60
- package/dist/chunks/{repository-cache-jnk63p10.js → repository-cache-068g2d37.js} +28 -28
- package/dist/chunks/{repository-cache-mhdex35g.js → repository-cache-07rqgew6.js} +5 -5
- package/dist/chunks/{repository-cache-b2ckp95n.js → repository-cache-09390rf8.js} +13 -13
- package/dist/chunks/{repository-cache-b4nzaj04.js → repository-cache-0cg871e2.js} +3 -3
- package/dist/chunks/{repository-cache-8d1pd201.js → repository-cache-0cwe34aq.js} +21 -21
- package/dist/chunks/{repository-cache-v210v162.js → repository-cache-0javqkgf.js} +7 -7
- package/dist/chunks/{repository-cache-6nq3099y.js → repository-cache-0nz7j1v1.js} +1 -1
- package/dist/chunks/{repository-cache-94p6wp9x.js → repository-cache-136rxf1v.js} +16 -16
- package/dist/chunks/{repository-cache-fbxj9tpm.js → repository-cache-14z3krkx.js} +4 -4
- package/dist/chunks/{repository-cache-7303zb1f.js → repository-cache-1bsm6gb2.js} +15 -15
- package/dist/chunks/{repository-cache-a0kr73jj.js → repository-cache-1g044nmy.js} +9 -9
- package/dist/chunks/{repository-cache-9m35c2r0.js → repository-cache-1hyfwtsr.js} +7 -7
- package/dist/chunks/{repository-cache-1ngx28bn.js → repository-cache-1rf4yw31.js} +2 -2
- package/dist/chunks/{repository-cache-0vf8bfn5.js → repository-cache-1rj8m5vq.js} +4 -4
- package/dist/chunks/{repository-cache-f94wsmf1.js → repository-cache-1sj4xbsw.js} +1 -1
- package/dist/chunks/{repository-cache-t5nm1h7p.js → repository-cache-1ycwwje8.js} +38 -38
- package/dist/chunks/{repository-cache-qsbh95pa.js → repository-cache-2296e4cw.js} +16 -16
- package/dist/chunks/{repository-cache-3hkcw4we.js → repository-cache-23fc6a7j.js} +12 -12
- package/dist/chunks/{repository-cache-0vtn597b.js → repository-cache-24ra19qx.js} +19 -19
- package/dist/chunks/{repository-cache-ezhy60ay.js → repository-cache-25m6jntb.js} +27 -27
- package/dist/chunks/{repository-cache-s5met55r.js → repository-cache-2eegacq4.js} +7 -7
- package/dist/chunks/{repository-cache-77d0na5t.js → repository-cache-2ntc19nv.js} +43 -43
- package/dist/chunks/{repository-cache-rmtct2jg.js → repository-cache-2r3bm1pf.js} +17 -17
- package/dist/chunks/{repository-cache-fww2ha2b.js → repository-cache-3g642jy4.js} +8 -8
- package/dist/chunks/{repository-cache-yfdycbsw.js → repository-cache-3ske6nsv.js} +18 -18
- package/dist/chunks/{repository-cache-3ns80m0h.js → repository-cache-3wvrfr7w.js} +11 -11
- package/dist/chunks/{repository-cache-15e8hpnt.js → repository-cache-3wxjf8vr.js} +8 -8
- package/dist/chunks/{repository-cache-63t8kvdx.js → repository-cache-3xcrjpsd.js} +14 -14
- package/dist/chunks/{repository-cache-0qb6tpgj.js → repository-cache-41bqvch9.js} +9 -9
- package/dist/chunks/{repository-cache-pnf7bv7v.js → repository-cache-4evmdpem.js} +19 -19
- package/dist/chunks/{repository-cache-yew0zm8m.js → repository-cache-4m3ygwz0.js} +10 -10
- package/dist/chunks/{repository-cache-tza759th.js → repository-cache-4nxvs59q.js} +13 -13
- package/dist/chunks/{repository-cache-57myy5jh.js → repository-cache-4xpgt2w9.js} +3 -3
- package/dist/chunks/{repository-cache-065m31h9.js → repository-cache-4xtxvh3c.js} +9 -9
- package/dist/chunks/{repository-cache-dzxp512b.js → repository-cache-58a6xtee.js} +50 -50
- package/dist/chunks/{repository-cache-qmqgtz8f.js → repository-cache-5d607bsg.js} +7 -7
- package/dist/chunks/{repository-cache-kqe08t1d.js → repository-cache-5f1cq77a.js} +9 -9
- package/dist/chunks/{repository-cache-7vt9yzvg.js → repository-cache-5j9zz1y4.js} +9 -9
- package/dist/chunks/{repository-cache-h1schjng.js → repository-cache-5mnspefx.js} +29 -29
- package/dist/chunks/{repository-cache-gnrrjsmd.js → repository-cache-5xn7qbr2.js} +16 -14
- package/dist/chunks/{repository-cache-wqz8rkkb.js → repository-cache-5xte2yyn.js} +13 -13
- package/dist/chunks/{repository-cache-r8tt5pdh.js → repository-cache-60xtzwnm.js} +17 -17
- package/dist/chunks/{repository-cache-3fcx2j2w.js → repository-cache-63jfzrme.js} +17 -17
- package/dist/chunks/{repository-cache-9hn6k4tm.js → repository-cache-6f890ccd.js} +7 -7
- package/dist/chunks/{repository-cache-6kthashm.js → repository-cache-6khagj97.js} +27 -27
- package/dist/chunks/{repository-cache-r8qzytx6.js → repository-cache-6nhfh867.js} +6 -6
- package/dist/chunks/{repository-cache-py3kkmfq.js → repository-cache-6pc27hjz.js} +5 -5
- package/dist/chunks/{repository-cache-v7kdkfkp.js → repository-cache-6qprtkrf.js} +24 -24
- package/dist/chunks/{repository-cache-6qn8gjqg.js → repository-cache-6yftxg5c.js} +19 -19
- package/dist/chunks/{repository-cache-dv4jvz6s.js → repository-cache-78c4e6ad.js} +19 -19
- package/dist/chunks/{repository-cache-kq77jz7h.js → repository-cache-7b2pfqtj.js} +4 -4
- package/dist/chunks/{repository-cache-t5gc52ef.js → repository-cache-84cpmds6.js} +22 -22
- package/dist/chunks/{repository-cache-w1eejvng.js → repository-cache-84txncab.js} +4 -4
- package/dist/chunks/{repository-cache-k9gaxmgh.js → repository-cache-8pvf9cdd.js} +15 -15
- package/dist/chunks/{repository-cache-7p9sqgn0.js → repository-cache-8s3pces3.js} +10 -10
- package/dist/chunks/{repository-cache-kx8xg74a.js → repository-cache-8s4xtewj.js} +12 -12
- package/dist/chunks/{repository-cache-pfhhvb3w.js → repository-cache-8w6fvyhj.js} +1 -1
- package/dist/chunks/{repository-cache-3ty6jwen.js → repository-cache-8wmb0r1y.js} +3 -3
- package/dist/chunks/{repository-cache-c15zmvx5.js → repository-cache-8xnvw0w1.js} +9 -9
- package/dist/chunks/{repository-cache-95tpv30c.js → repository-cache-95hwhe14.js} +13 -13
- package/dist/chunks/{repository-cache-wp7khyzv.js → repository-cache-95t8ye7z.js} +39 -39
- package/dist/chunks/{repository-cache-8vy56zzm.js → repository-cache-96dnwma2.js} +30 -30
- package/dist/chunks/{repository-cache-q0p071b0.js → repository-cache-9bh5q6pj.js} +1 -1
- package/dist/chunks/{repository-cache-tgfxvvf8.js → repository-cache-9da6j7qw.js} +12 -12
- package/dist/chunks/{repository-cache-vnm2wjz3.js → repository-cache-9f77xx3w.js} +12 -12
- package/dist/chunks/{repository-cache-z6c3x22d.js → repository-cache-9hwaqfsw.js} +3 -3
- package/dist/chunks/{repository-cache-ewj35nqb.js → repository-cache-9j0x65xk.js} +3 -3
- package/dist/chunks/{repository-cache-842mqg42.js → repository-cache-9sr4q53q.js} +9 -9
- package/dist/chunks/{repository-cache-t4rnqcab.js → repository-cache-a9vzac7j.js} +5 -5
- package/dist/chunks/{repository-cache-w12shgbp.js → repository-cache-acd8cc5y.js} +20 -20
- package/dist/chunks/{repository-cache-txwpsv2p.js → repository-cache-am5vmnvv.js} +18 -18
- package/dist/chunks/{repository-cache-77a66swy.js → repository-cache-amsnh37f.js} +7 -7
- package/dist/chunks/{repository-cache-1ptgpzsy.js → repository-cache-apagrtrt.js} +16 -16
- package/dist/chunks/{repository-cache-0fztarvd.js → repository-cache-atj1s5r2.js} +12 -12
- package/dist/chunks/{repository-cache-6bq45c98.js → repository-cache-aws4c0c0.js} +19 -19
- package/dist/chunks/{repository-cache-c2sed5cq.js → repository-cache-axe3mf62.js} +3 -3
- package/dist/chunks/{repository-cache-1ze9gtzp.js → repository-cache-baqyxak2.js} +1 -1
- package/dist/chunks/{repository-cache-mn5j6xz9.js → repository-cache-be5vje8s.js} +15 -7
- package/dist/chunks/{repository-cache-dmpxat65.js → repository-cache-befx3zey.js} +4 -4
- package/dist/chunks/{repository-cache-kf0zwkk2.js → repository-cache-begyvfqb.js} +20 -20
- package/dist/chunks/{repository-cache-x7wne18b.js → repository-cache-bf876wkh.js} +10 -10
- package/dist/chunks/{repository-cache-4tyzw6xh.js → repository-cache-bkafj4ay.js} +7 -7
- package/dist/chunks/{repository-cache-jsg4jcbs.js → repository-cache-bnqg0hxn.js} +3 -3
- package/dist/chunks/{repository-cache-hh0jpq4c.js → repository-cache-br622wkd.js} +63 -63
- package/dist/chunks/{repository-cache-tzaz3z0t.js → repository-cache-btpxpz9q.js} +4 -4
- package/dist/chunks/{repository-cache-dqjdwcmj.js → repository-cache-bzcwmnv3.js} +9 -9
- package/dist/chunks/{repository-cache-1ep4rre3.js → repository-cache-bzeyqsqd.js} +3 -3
- package/dist/chunks/{repository-cache-yjxqy5ha.js → repository-cache-c02r2nwt.js} +9 -9
- package/dist/chunks/{repository-cache-v30mg9q2.js → repository-cache-cbfm0wb6.js} +7 -7
- package/dist/chunks/{repository-cache-scqf7y3w.js → repository-cache-cd8v38ms.js} +84 -84
- package/dist/chunks/{repository-cache-mx97exft.js → repository-cache-cg5q9ras.js} +30 -30
- package/dist/chunks/{repository-cache-8g2mbw9h.js → repository-cache-cmkn1bh9.js} +16 -16
- package/dist/chunks/{repository-cache-37cqxn50.js → repository-cache-ctxez2a7.js} +4 -4
- package/dist/chunks/{repository-cache-vhwx28nx.js → repository-cache-cz1210nh.js} +18 -13
- package/dist/chunks/{repository-cache-6xjvsea3.js → repository-cache-d04ep358.js} +8 -8
- package/dist/chunks/{repository-cache-9hzyxvsk.js → repository-cache-d72a72b9.js} +12 -12
- package/dist/chunks/{repository-cache-njebe5fw.js → repository-cache-dcdf7gkr.js} +17 -17
- package/dist/chunks/{repository-cache-h7q4kewv.js → repository-cache-dh0nadn9.js} +36 -36
- package/dist/chunks/{repository-cache-y71avatq.js → repository-cache-dpkg50ah.js} +3 -3
- package/dist/chunks/{repository-cache-z86wre2g.js → repository-cache-dqr3pwk6.js} +20 -20
- package/dist/chunks/{repository-cache-xfkkasph.js → repository-cache-drwq78ky.js} +3 -3
- package/dist/chunks/{repository-cache-rfmm8jvy.js → repository-cache-dsx0mmc6.js} +21 -21
- package/dist/chunks/repository-cache-e5ybad6w.js +257 -0
- package/dist/chunks/{repository-cache-mk935gd8.js → repository-cache-eg5kq0wk.js} +9 -9
- package/dist/chunks/{repository-cache-a75ad8v4.js → repository-cache-ek8edefh.js} +1 -1
- package/dist/chunks/{repository-cache-d2qeb4wf.js → repository-cache-ethnw1sn.js} +12 -12
- package/dist/chunks/{repository-cache-tfp3dpkf.js → repository-cache-ettmqyzq.js} +2 -2
- package/dist/chunks/{repository-cache-na3b46a7.js → repository-cache-ey9nrxd1.js} +19 -19
- package/dist/chunks/{repository-cache-8t50b4ww.js → repository-cache-ez5pkgh4.js} +23 -23
- package/dist/chunks/{repository-cache-zmy0eq9j.js → repository-cache-ezx2brb0.js} +16 -16
- package/dist/chunks/{repository-cache-jargxt5j.js → repository-cache-f31q5wm1.js} +13 -13
- package/dist/chunks/{repository-cache-qcy13bhz.js → repository-cache-f8yphcvr.js} +16 -16
- package/dist/chunks/{repository-cache-zp864mkb.js → repository-cache-fpen5yq5.js} +20 -20
- package/dist/chunks/{repository-cache-1q92ejr7.js → repository-cache-g2qvt889.js} +19 -19
- package/dist/chunks/{repository-cache-gp5jn49f.js → repository-cache-g5ngm8f4.js} +28 -28
- package/dist/chunks/{repository-cache-gkge597h.js → repository-cache-g90zrjvy.js} +17 -17
- package/dist/chunks/{repository-cache-2v5tj3gs.js → repository-cache-gen6sgf1.js} +10 -10
- package/dist/chunks/{repository-cache-zx24wvbj.js → repository-cache-gm3f9v0x.js} +4 -4
- package/dist/chunks/{repository-cache-fzdrxngq.js → repository-cache-gng93yft.js} +1 -1
- package/dist/chunks/{repository-cache-djbskq1b.js → repository-cache-gtdxectv.js} +1 -1
- package/dist/chunks/{repository-cache-gec8gq51.js → repository-cache-gxdr2vwe.js} +7 -7
- package/dist/chunks/{repository-cache-6e57763q.js → repository-cache-gye9bare.js} +1 -1
- package/dist/chunks/{repository-cache-rrymd76b.js → repository-cache-h1g26er5.js} +21 -21
- package/dist/chunks/{repository-cache-7z1jx34y.js → repository-cache-hbvyahhm.js} +21 -21
- package/dist/chunks/{repository-cache-ek4c2f0v.js → repository-cache-hehc42eq.js} +8 -8
- package/dist/chunks/{repository-cache-hjygm116.js → repository-cache-hm1sg1ry.js} +34 -34
- package/dist/chunks/{repository-cache-h1f52gh9.js → repository-cache-hnvjv21h.js} +30 -23
- package/dist/chunks/{repository-cache-k1jycaz7.js → repository-cache-hspen3n6.js} +24 -24
- package/dist/chunks/{repository-cache-6hjx5zpb.js → repository-cache-hwjyn0yt.js} +8 -8
- package/dist/chunks/{repository-cache-dzr38x1r.js → repository-cache-j2xqfvk3.js} +9 -9
- package/dist/chunks/{repository-cache-nbs22qen.js → repository-cache-jcwtgcwh.js} +3 -3
- package/dist/chunks/{repository-cache-fj6qct2w.js → repository-cache-k07nhkpw.js} +37 -37
- package/dist/chunks/{repository-cache-zs22chpb.js → repository-cache-k1php5wk.js} +22 -22
- package/dist/chunks/{repository-cache-6s242g8e.js → repository-cache-k20z56w2.js} +35 -35
- package/dist/chunks/{repository-cache-4prqf89h.js → repository-cache-k2vh0b3r.js} +26 -26
- package/dist/chunks/{repository-cache-gpqw730e.js → repository-cache-k4q5zqd4.js} +7 -7
- package/dist/chunks/{repository-cache-rpjgfq5s.js → repository-cache-k7myrtme.js} +7 -7
- package/dist/chunks/{repository-cache-ms89s1xg.js → repository-cache-k9tkpxn3.js} +144 -144
- package/dist/chunks/{repository-cache-s2b0mt3v.js → repository-cache-ka0kb0pp.js} +1 -1
- package/dist/chunks/{repository-cache-tdbmj82j.js → repository-cache-kdz0rk07.js} +7 -7
- package/dist/chunks/{repository-cache-7jwh32ts.js → repository-cache-ke7rr379.js} +25 -25
- package/dist/chunks/{repository-cache-savvjd0x.js → repository-cache-kg7htk1j.js} +46 -24
- package/dist/chunks/{repository-cache-vbfgae2j.js → repository-cache-kkp8zx71.js} +3 -3
- package/dist/chunks/{repository-cache-5dycw2n2.js → repository-cache-kkq0x60e.js} +8 -8
- package/dist/chunks/{repository-cache-2ky2kwtz.js → repository-cache-kp3dd9gy.js} +2 -2
- package/dist/chunks/{repository-cache-g2kfam58.js → repository-cache-kvk0xsab.js} +10 -10
- package/dist/chunks/{repository-cache-43x4yszk.js → repository-cache-m12bw8xw.js} +14 -14
- package/dist/chunks/{repository-cache-exgm3bba.js → repository-cache-mjfbh2zj.js} +12 -12
- package/dist/chunks/{repository-cache-0xfcnhey.js → repository-cache-mjxa0fkz.js} +28 -28
- package/dist/chunks/{repository-cache-yv2cmth8.js → repository-cache-mk9tkz9j.js} +1 -1
- package/dist/chunks/{repository-cache-9v5raxs8.js → repository-cache-mkqa88c4.js} +2 -2
- package/dist/chunks/{repository-cache-vhj1m4b0.js → repository-cache-mq56jt1j.js} +22 -22
- package/dist/chunks/{repository-cache-sz15zhhw.js → repository-cache-mqqhst8y.js} +3 -3
- package/dist/chunks/{repository-cache-x06a86kn.js → repository-cache-mr0cv7ny.js} +15 -15
- package/dist/chunks/{repository-cache-dzse07y5.js → repository-cache-mx9vqzsb.js} +5 -5
- package/dist/chunks/{repository-cache-j5w7gx2k.js → repository-cache-n196avmr.js} +33 -33
- package/dist/chunks/{repository-cache-x4jd4xmr.js → repository-cache-n99h6tw9.js} +31 -31
- package/dist/chunks/{repository-cache-21n0xhjn.js → repository-cache-nsxxvcpe.js} +13 -13
- package/dist/chunks/{repository-cache-bf4bmw04.js → repository-cache-pk0dmpdf.js} +8 -8
- package/dist/chunks/{repository-cache-fncqf4dd.js → repository-cache-psj2x98s.js} +4 -4
- package/dist/chunks/{repository-cache-46mephjz.js → repository-cache-pzc1z4et.js} +28 -28
- package/dist/chunks/{repository-cache-p7pstqch.js → repository-cache-qd284e96.js} +13 -13
- package/dist/chunks/{repository-cache-sxy57xts.js → repository-cache-qd9a1hat.js} +83 -83
- package/dist/chunks/{repository-cache-fcrkznn8.js → repository-cache-qgn6gcr1.js} +4 -4
- package/dist/chunks/{repository-cache-4wehpdsn.js → repository-cache-qm621tfa.js} +29 -29
- package/dist/chunks/{repository-cache-znqen040.js → repository-cache-qrtd1qkj.js} +9 -9
- package/dist/chunks/{repository-cache-2577k5af.js → repository-cache-qs0n9k2z.js} +9 -9
- package/dist/chunks/{repository-cache-kh81xvt5.js → repository-cache-qy7ffa5a.js} +2 -2
- package/dist/chunks/{repository-cache-y50tnaxc.js → repository-cache-qz7vxdk7.js} +8 -8
- package/dist/chunks/{repository-cache-r8mc9fw8.js → repository-cache-rbyshrxq.js} +6 -6
- package/dist/chunks/{repository-cache-47cwnsyn.js → repository-cache-rjzs5m1z.js} +7 -7
- package/dist/chunks/repository-cache-rvyd7pdz.js +517 -0
- package/dist/chunks/{repository-cache-g9rqxbv3.js → repository-cache-rw0rmakh.js} +5 -5
- package/dist/chunks/{repository-cache-rjf4ffg7.js → repository-cache-rx1rzkp9.js} +16 -16
- package/dist/chunks/{repository-cache-brcmb8c2.js → repository-cache-s1aqfa5x.js} +33 -33
- package/dist/chunks/repository-cache-s2jpy0bd.js +26 -0
- package/dist/chunks/{repository-cache-hfkjwy2f.js → repository-cache-s3ertt83.js} +10 -10
- package/dist/chunks/{repository-cache-jaym3td0.js → repository-cache-s7ggtf3y.js} +20 -20
- package/dist/chunks/{repository-cache-rhjbct0v.js → repository-cache-s8d7rejh.js} +3 -3
- package/dist/chunks/{repository-cache-pmx6p9t5.js → repository-cache-se9m0ate.js} +24 -24
- package/dist/chunks/{repository-cache-a3c7ahw6.js → repository-cache-sfjrjc0q.js} +3 -3
- package/dist/chunks/{repository-cache-86eqfcce.js → repository-cache-sfy3bb98.js} +7 -7
- package/dist/chunks/{repository-cache-gtsbe4v4.js → repository-cache-sq37fes3.js} +8 -8
- package/dist/chunks/{repository-cache-e80seqcp.js → repository-cache-sxcaecc0.js} +2 -2
- package/dist/chunks/{repository-cache-szwj80cc.js → repository-cache-t1r0yajc.js} +1 -1
- package/dist/chunks/{repository-cache-83whknbm.js → repository-cache-t720n0zt.js} +32 -32
- package/dist/chunks/{repository-cache-00x4qneg.js → repository-cache-t89fqycx.js} +6 -6
- package/dist/chunks/{repository-cache-g5g9rrdp.js → repository-cache-t8z4ntba.js} +7 -7
- package/dist/chunks/{repository-cache-c5ggqzvz.js → repository-cache-t95zrypp.js} +8 -8
- package/dist/chunks/{repository-cache-h74mnx9x.js → repository-cache-tcxc2yk9.js} +10 -10
- package/dist/chunks/{repository-cache-r38tb40c.js → repository-cache-tkt1yh5w.js} +8 -8
- package/dist/chunks/{repository-cache-hbb7npd7.js → repository-cache-tt8gc4fv.js} +3 -3
- package/dist/chunks/{repository-cache-3rq8r7zt.js → repository-cache-twwrpnjg.js} +13 -13
- package/dist/chunks/{repository-cache-a4db0rvv.js → repository-cache-v1vh7s4p.js} +7 -7
- package/dist/chunks/{repository-cache-ys5mczsm.js → repository-cache-vbj53afp.js} +7 -7
- package/dist/chunks/{repository-cache-1acjjqhc.js → repository-cache-vep9yay1.js} +4 -14
- package/dist/chunks/{repository-cache-by5v678g.js → repository-cache-vnkjks7b.js} +4 -4
- package/dist/chunks/{repository-cache-f39mejfg.js → repository-cache-vs7zhs8r.js} +12 -12
- package/dist/chunks/{repository-cache-hs0qwjvp.js → repository-cache-vsa820f9.js} +31 -31
- package/dist/chunks/{repository-cache-5f5dfnyg.js → repository-cache-vzjp43bk.js} +1 -1
- package/dist/chunks/{repository-cache-mmfyj663.js → repository-cache-w0cy9m9e.js} +6 -6
- package/dist/chunks/{repository-cache-fmnd8f8t.js → repository-cache-w7fj1zb2.js} +7 -7
- package/dist/chunks/{repository-cache-z6dhcqsk.js → repository-cache-w94dkyq7.js} +25 -25
- package/dist/chunks/{repository-cache-5m84d531.js → repository-cache-wrmbd4ct.js} +6 -6
- package/dist/chunks/{repository-cache-4bk9s89f.js → repository-cache-wwh9ddtq.js} +9 -9
- package/dist/chunks/{repository-cache-xkrbr206.js → repository-cache-wwkjqs8e.js} +7 -7
- package/dist/chunks/{repository-cache-n268d91j.js → repository-cache-x1jjhmsh.js} +13 -13
- package/dist/chunks/{repository-cache-ht1p01b4.js → repository-cache-x41h92ne.js} +10 -10
- package/dist/chunks/{repository-cache-haz4dce7.js → repository-cache-x51ersaw.js} +15 -15
- package/dist/chunks/{repository-cache-y8tjtsy7.js → repository-cache-x98xddc7.js} +8 -8
- package/dist/chunks/{repository-cache-gpz4bnby.js → repository-cache-xh38a0x5.js} +1 -1
- package/dist/chunks/{repository-cache-knhxpfbp.js → repository-cache-xhbe8e91.js} +14 -14
- package/dist/chunks/{repository-cache-yfsa45n4.js → repository-cache-xwgk07kc.js} +30 -30
- package/dist/chunks/{repository-cache-pmx89wj9.js → repository-cache-y1yvzwwp.js} +12 -12
- package/dist/chunks/{repository-cache-twy8yh4t.js → repository-cache-y642zbcz.js} +21 -21
- package/dist/chunks/{repository-cache-a58n7r3a.js → repository-cache-ys3h2zrn.js} +38 -38
- package/dist/chunks/{repository-cache-bjx1sjef.js → repository-cache-ywt8jp22.js} +7 -7
- package/dist/chunks/{repository-cache-nxhdjhjw.js → repository-cache-z0mn1t4q.js} +41 -41
- package/dist/chunks/{repository-cache-8reangzk.js → repository-cache-z1fx9rk1.js} +2 -2
- package/dist/chunks/{repository-cache-ps8kb85m.js → repository-cache-za7dxrd4.js} +13 -13
- package/dist/chunks/{repository-cache-cgc2saxs.js → repository-cache-zj2b8f8d.js} +24 -24
- package/dist/chunks/{repository-cache-baaqp4zd.js → repository-cache-zvt5dnpc.js} +3 -3
- package/dist/chunks/{repository-cache-zz6a9he3.js → repository-cache-zzv2xjb0.js} +32 -32
- package/dist/codemode/instructions.js +6 -6
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +73 -73
- package/dist/config/discovery.js +68 -68
- package/dist/config/normalize.js +83 -83
- package/dist/config/plugin/agent.js +96 -96
- package/dist/config/plugin/command.js +176 -176
- package/dist/config/plugin/compaction.js +127 -127
- package/dist/config/plugin/compatibility.js +110 -110
- package/dist/config/plugin/formatter.js +95 -95
- package/dist/config/plugin/image.js +94 -94
- package/dist/config/plugin/instruction.js +95 -95
- package/dist/config/plugin/location-watcher.js +94 -94
- package/dist/config/plugin/mcp.js +101 -101
- package/dist/config/plugin/policy.js +95 -95
- package/dist/config/plugin/provider.js +94 -94
- package/dist/config/plugin/reference.js +96 -96
- package/dist/config/plugin/shell.js +96 -96
- package/dist/config/plugin/skill-file.js +83 -83
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +113 -113
- package/dist/config/plugin/snapshot.js +94 -94
- package/dist/config/plugin/source.js +97 -97
- package/dist/config/plugin/tool-output.js +95 -95
- package/dist/config/plugin/websearch.js +95 -95
- package/dist/config/plugin/worktree.js +96 -96
- package/dist/config.js +100 -100
- package/dist/credential.js +73 -73
- package/dist/database/database.js +58 -58
- package/dist/database/drizzle/effect-sqlite/driver.js +9 -9
- package/dist/database/drizzle/effect-sqlite/index.js +6 -6
- package/dist/database/drizzle/effect-sqlite/session.js +6 -6
- package/dist/database/drizzle/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/db.js +4 -4
- package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +5 -5
- package/dist/database/drizzle.js +10 -10
- package/dist/database/migration.gen.js +41 -41
- package/dist/database/migration.js +43 -43
- 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 +76 -76
- package/dist/environment/index.js +78 -78
- package/dist/event-logger.js +10 -10
- package/dist/file-access.js +86 -86
- package/dist/file-mutation.js +77 -77
- package/dist/filesystem/location-watcher-policy.js +5 -5
- package/dist/filesystem/location-watcher.js +186 -186
- package/dist/filesystem/search.js +84 -84
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +81 -81
- package/dist/form.js +61 -61
- package/dist/formatter/builtins.js +3 -3
- package/dist/formatter.js +73 -73
- package/dist/generate.js +87 -87
- package/dist/git.js +8 -8
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +2 -2
- package/dist/github-copilot/copilot-provider.js +3 -3
- package/dist/github-copilot/models.js +76 -76
- package/dist/github-copilot/responses/openai-responses-language-model.js +7 -7
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +4 -4
- package/dist/image/photon.js +1 -1
- package/dist/image.js +5 -5
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +317 -317
- package/dist/instruction-discovery.js +74 -74
- package/dist/instructions/builtins.js +73 -73
- package/dist/instructions/index.js +3 -3
- package/dist/integration.js +66 -66
- package/dist/job.js +68 -68
- package/dist/kv.js +63 -63
- package/dist/location-activity.js +104 -77
- package/dist/location-lifecycle.js +89 -89
- package/dist/location-service-map.js +72 -72
- package/dist/location-services.js +316 -316
- package/dist/location.js +73 -73
- package/dist/managed-policy.js +7 -7
- package/dist/mcp/client.js +18 -18
- package/dist/mcp/index.js +91 -91
- package/dist/mcp/instructions.js +106 -106
- package/dist/mcp/oauth.js +14 -14
- package/dist/mcp/stdio.js +73 -73
- package/dist/modal/models.js +76 -76
- package/dist/model-resolver.js +83 -83
- package/dist/model.js +87 -87
- package/dist/models-dev.js +91 -91
- package/dist/permission/saved.js +71 -71
- package/dist/permission.js +89 -89
- package/dist/persistent-pty/index.js +74 -74
- package/dist/persistent-pty.js +62 -62
- package/dist/plugin/agent.js +66 -66
- package/dist/plugin/command.js +84 -84
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +179 -179
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +291 -291
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +80 -80
- package/dist/plugin/module.js +95 -95
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +84 -84
- package/dist/plugin/provider/amazon-bedrock.js +75 -75
- package/dist/plugin/provider/azure.js +95 -95
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +92 -92
- package/dist/plugin/provider/cloudflare-workers-ai.js +92 -92
- package/dist/plugin/provider/configured.js +91 -91
- package/dist/plugin/provider/digitalocean.js +77 -77
- package/dist/plugin/provider/github-copilot.js +79 -79
- package/dist/plugin/provider/gitlab.js +77 -77
- package/dist/plugin/provider/google-vertex.js +92 -92
- package/dist/plugin/provider/llmgateway.js +67 -67
- package/dist/plugin/provider/lmstudio.js +100 -100
- package/dist/plugin/provider/local.js +97 -97
- package/dist/plugin/provider/modal.js +77 -77
- package/dist/plugin/provider/ollama.js +100 -100
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +82 -82
- package/dist/plugin/provider/openrouter.js +76 -76
- package/dist/plugin/provider/poe.js +67 -67
- package/dist/plugin/provider/sap-ai-core.js +75 -75
- package/dist/plugin/provider/snowflake-cortex.js +93 -93
- package/dist/plugin/provider/vercel.js +75 -75
- package/dist/plugin/provider/vllm.js +98 -98
- package/dist/plugin/provider/xai.js +76 -76
- package/dist/plugin/provider.js +136 -136
- package/dist/plugin/sdk.js +67 -67
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +110 -110
- package/dist/plugin/supervisor.js +306 -306
- package/dist/plugin/tool-input-repair.js +3 -3
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +72 -72
- package/dist/plugin/vcs/hg.js +72 -72
- package/dist/plugin/verbosity.js +78 -78
- package/dist/plugin/warming.js +93 -93
- package/dist/plugin/websearch/exa.js +6 -6
- package/dist/plugin/websearch/firecrawl.js +5 -5
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +5 -5
- 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 +186 -186
- package/dist/project/schema.js +7 -7
- package/dist/project.js +74 -74
- package/dist/provider.js +74 -74
- package/dist/pty.js +82 -82
- package/dist/reference/instructions.js +76 -76
- package/dist/reference.js +76 -76
- package/dist/repository-cache.js +69 -69
- package/dist/repository.js +3 -3
- package/dist/ripgrep.js +79 -79
- package/dist/rpc.js +72 -72
- package/dist/session/command.js +64 -64
- package/dist/session/compaction.js +111 -111
- package/dist/session/context.js +128 -128
- package/dist/session/diff.js +72 -72
- package/dist/session/environment.js +3 -3
- package/dist/session/error.js +4 -4
- package/dist/session/execution/restart.js +110 -110
- package/dist/session/execution.js +108 -108
- package/dist/session/generate.js +128 -128
- package/dist/session/history.js +6 -6
- package/dist/session/inbox.js +78 -78
- package/dist/session/info.js +2 -2
- package/dist/session/instruction-entry.js +66 -66
- package/dist/session/instruction-state.js +2 -2
- package/dist/session/instructions.js +80 -80
- package/dist/session/model-request.js +100 -100
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +108 -108
- package/dist/session/projector.js +72 -72
- package/dist/session/prompt.js +87 -87
- package/dist/session/revert.js +77 -77
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +189 -189
- package/dist/session/runner/model.js +83 -83
- package/dist/session/runner/publish-llm-event.js +93 -93
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +105 -105
- package/dist/session/runner/to-llm-message.js +7 -7
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +136 -136
- package/dist/session/shell.js +105 -105
- package/dist/session/skill.js +85 -85
- package/dist/session/stats.js +8 -8
- package/dist/session/store.js +72 -72
- package/dist/session/subagent-job.js +174 -174
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +131 -131
- package/dist/session/to-session-error.js +92 -92
- package/dist/session/transfer.js +107 -107
- package/dist/session.js +183 -183
- package/dist/shell/parse.js +4 -4
- package/dist/shell/select.js +7 -7
- package/dist/shell.js +104 -104
- package/dist/skill/discovery.js +5 -5
- package/dist/skill/instructions.js +87 -87
- package/dist/skill.js +94 -94
- package/dist/snapshot.js +79 -79
- package/dist/tool/mcp.js +103 -103
- package/dist/tool/plugin/edit.js +98 -98
- package/dist/tool/plugin/glob.js +101 -101
- package/dist/tool/plugin/grep.js +101 -101
- package/dist/tool/plugin/mcp-resource.js +95 -95
- package/dist/tool/plugin/opencode.js +89 -89
- package/dist/tool/plugin/patch.js +100 -100
- package/dist/tool/plugin/question.js +85 -85
- package/dist/tool/plugin/read.js +102 -102
- package/dist/tool/plugin/shell.js +176 -176
- package/dist/tool/plugin/skill.js +91 -91
- package/dist/tool/plugin/subagent.js +177 -177
- package/dist/tool/plugin/todo.js +113 -113
- package/dist/tool/plugin/webfetch.js +92 -92
- package/dist/tool/plugin/websearch.js +96 -96
- package/dist/tool/plugin/write.js +98 -98
- package/dist/tool/read-filesystem.js +81 -81
- package/dist/tool-output.js +5 -5
- package/dist/tool.js +11 -11
- package/dist/types/job.d.ts +1 -0
- package/dist/types/location-activity.d.ts +2 -1
- package/dist/types/session/error.d.ts +1 -0
- package/dist/types/session/execution.d.ts +2 -5
- package/dist/types/session/history.d.ts +10 -0
- package/dist/types/session/run-coordinator.d.ts +2 -5
- package/dist/types/session/transfer.d.ts +10 -2
- package/dist/types/worktree/git.d.ts +3 -3
- package/dist/v1/config/agent.js +4 -4
- package/dist/v1/config/mcp.js +3 -3
- package/dist/v1/config/migrate.js +76 -76
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider.js +3 -3
- package/dist/variant.js +78 -78
- package/dist/vcs.js +75 -75
- package/dist/voice.js +75 -75
- package/dist/websearch.js +73 -73
- package/dist/wellknown/plugin.js +66 -66
- package/dist/wellknown.js +71 -71
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace.js +70 -70
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/strategies.js +74 -74
- package/dist/worktree.js +80 -80
- package/package.json +8 -8
- package/dist/chunks/repository-cache-9wrj4pc9.js +0 -257
- package/dist/chunks/repository-cache-v061a9c2.js +0 -517
- package/dist/chunks/repository-cache-w2nph7ph.js +0 -26
- /package/dist/chunks/{repository-cache-x2gnjtg4.js → repository-cache-6b2stqvb.js} +0 -0
- /package/dist/chunks/{repository-cache-4v4bfvma.js → repository-cache-6vq97qmv.js} +0 -0
- /package/dist/chunks/{repository-cache-7v6vae4w.js → repository-cache-a20pjse5.js} +0 -0
- /package/dist/chunks/{repository-cache-bq3hn31g.js → repository-cache-b0b3nmkz.js} +0 -0
- /package/dist/chunks/{repository-cache-rd8qctj1.js → repository-cache-hpfdwx7h.js} +0 -0
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
RelativePath2
|
|
3
3
|
} from "./repository-cache-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./repository-cache-
|
|
5
|
+
Service81,
|
|
6
|
+
node85
|
|
7
|
+
} from "./repository-cache-8pvf9cdd.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./repository-cache-
|
|
9
|
+
Service39,
|
|
10
|
+
node42
|
|
11
|
+
} from "./repository-cache-1bsm6gb2.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
@@ -21,12 +21,12 @@ import {
|
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options2,
|
|
25
|
+
Service: () => Service17,
|
|
26
|
+
configured: () => configured2,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer9,
|
|
29
|
+
node: () => node19,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options2 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service17 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
62
|
-
const location = yield*
|
|
63
|
-
const ripgrep = yield*
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service17, Effect.gen(function* () {
|
|
62
|
+
const location = yield* Service81;
|
|
63
|
+
const ripgrep = yield* Service39;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service17.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
116
|
-
const location = yield*
|
|
115
|
+
var fffLayer2 = Layer.effect(Service17, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service81;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
119
119
|
basePath: location.directory,
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service17.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service17.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
178
|
-
const location = yield*
|
|
177
|
+
var layer9 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
|
+
const location = yield* Service81;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
181
181
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured2(options) {
|
|
186
|
+
return makeLocationNode({ service: Service17, layer: layer9(options), deps: [node85, node42] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node19 = configured2();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options2, Service17, ripgrepLayer2, fffLayer2, layer9, configured2, node19, exports_search };
|
|
@@ -6,8 +6,8 @@ import {
|
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service77,
|
|
10
|
+
node: () => node81
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service77 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service77.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node81 = makeLocationNode({ service: Service77, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service77, node81, exports_hooks };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./repository-cache-
|
|
4
|
+
} from "./repository-cache-z1fx9rk1.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./repository-cache-
|
|
6
|
+
Service81,
|
|
7
|
+
node85
|
|
8
|
+
} from "./repository-cache-8pvf9cdd.js";
|
|
9
9
|
import {
|
|
10
10
|
ID11,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./repository-cache-
|
|
11
|
+
Service76,
|
|
12
|
+
node80
|
|
13
|
+
} from "./repository-cache-5xte2yyn.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./repository-cache-
|
|
15
|
+
NotFoundError10
|
|
16
|
+
} from "./repository-cache-ctxez2a7.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./repository-cache-
|
|
18
|
+
Service75,
|
|
19
|
+
node79
|
|
20
|
+
} from "./repository-cache-d72a72b9.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
23
|
} from "./repository-cache-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./repository-cache-
|
|
25
|
+
Service74,
|
|
26
|
+
node78
|
|
27
|
+
} from "./repository-cache-84cpmds6.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./repository-cache-
|
|
29
|
+
Service77,
|
|
30
|
+
node81
|
|
31
|
+
} from "./repository-cache-2eegacq4.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
34
|
} from "./repository-cache-9rqn6x4v.js";
|
|
@@ -42,8 +42,8 @@ __export(exports_permission2, {
|
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
46
|
-
ID: () =>
|
|
45
|
+
Event: () => Event15,
|
|
46
|
+
ID: () => ID9,
|
|
47
47
|
NotFoundError: () => NotFoundError8,
|
|
48
48
|
Permission: () => exports_permission2,
|
|
49
49
|
Reply: () => Reply2,
|
|
@@ -51,20 +51,20 @@ __export(exports_permission2, {
|
|
|
51
51
|
Request: () => Request2,
|
|
52
52
|
Rule: () => Rule3,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service73,
|
|
55
55
|
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node77
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode/schema/permission";
|
|
63
63
|
import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
64
|
-
import { Event as
|
|
64
|
+
import { Event as Event15 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
67
|
+
var ID9 = Permission.ID;
|
|
68
68
|
var Source5 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
@@ -77,17 +77,17 @@ var RequestFields = {
|
|
|
77
77
|
var Request2 = Permission.Request;
|
|
78
78
|
var Reply2 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID9.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
82
|
agent: ID11.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
85
|
+
requestID: ID9,
|
|
86
86
|
reply: Reply2,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID9,
|
|
91
91
|
effect: Permission.Effect
|
|
92
92
|
}).annotate({ identifier: "Permission.AskResult" });
|
|
93
93
|
|
|
@@ -111,7 +111,7 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
-
requestID:
|
|
114
|
+
requestID: ID9
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
117
117
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service73 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
130
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
131
131
|
const bus = yield* Service85;
|
|
132
|
-
const location = yield*
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
132
|
+
const location = yield* Service81;
|
|
133
|
+
const agents = yield* Service76;
|
|
134
|
+
const sessions = yield* Service75;
|
|
135
|
+
const saved = yield* Service74;
|
|
136
|
+
const hooks = yield* Service77;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
let closed = false;
|
|
139
139
|
const close = Effect.gen(function* () {
|
|
@@ -156,7 +156,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
156
156
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
157
157
|
const session = yield* sessions.get(sessionID);
|
|
158
158
|
if (!session)
|
|
159
|
-
return yield* new
|
|
159
|
+
return yield* new NotFoundError10({ sessionID });
|
|
160
160
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
161
161
|
return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
|
|
162
162
|
});
|
|
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
186
186
|
});
|
|
187
187
|
function request(input, message) {
|
|
188
188
|
return {
|
|
189
|
-
id: input.id ??
|
|
189
|
+
id: input.id ?? ID9.create(),
|
|
190
190
|
sessionID: input.sessionID,
|
|
191
191
|
action: input.action,
|
|
192
192
|
resources: input.resources,
|
|
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
211
211
|
}));
|
|
212
212
|
const ask = Effect.fn("Permission.ask")(function* (input) {
|
|
213
213
|
if (closed)
|
|
214
|
-
return { id: input.id ??
|
|
214
|
+
return { id: input.id ?? ID9.create(), effect: "deny" };
|
|
215
215
|
const result = yield* evaluateInput(input);
|
|
216
216
|
const value = request(input, result.message);
|
|
217
217
|
if (result.effect === "ask")
|
|
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
297
297
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
298
298
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
299
299
|
});
|
|
300
|
-
return
|
|
300
|
+
return Service73.of({ ask, assert, reply, get, forSession, list, close });
|
|
301
301
|
}));
|
|
302
|
-
var
|
|
303
|
-
service:
|
|
302
|
+
var node77 = makeLocationNode({
|
|
303
|
+
service: Service73,
|
|
304
304
|
layer,
|
|
305
|
-
deps: [node89,
|
|
305
|
+
deps: [node89, node85, node80, node79, node78, node81]
|
|
306
306
|
});
|
|
307
307
|
|
|
308
|
-
export { PermissionEffect,
|
|
308
|
+
export { PermissionEffect, ID9, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service73, node77, exports_permission2, Rule3, Ruleset2, Event15 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./repository-cache-
|
|
4
|
+
} from "./repository-cache-z1fx9rk1.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./repository-cache-
|
|
6
|
+
Service81,
|
|
7
|
+
node85
|
|
8
|
+
} from "./repository-cache-8pvf9cdd.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
11
|
} from "./repository-cache-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./repository-cache-
|
|
13
|
+
Service75,
|
|
14
|
+
node79
|
|
15
|
+
} from "./repository-cache-d72a72b9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
18
|
} from "./repository-cache-9rqn6x4v.js";
|
|
@@ -20,9 +20,9 @@ import {
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
22
22
|
__export(exports_instructions, {
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service10,
|
|
24
24
|
SessionInstructions: () => exports_instructions,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node12
|
|
26
26
|
});
|
|
27
27
|
import { relative } from "path";
|
|
28
28
|
import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
|
|
@@ -32,13 +32,13 @@ var InjectedMetadata = Schema.Struct({
|
|
|
32
32
|
instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service10 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
37
|
+
var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
38
38
|
const bus = yield* Service85;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
41
|
-
const location = yield*
|
|
40
|
+
const store = yield* Service75;
|
|
41
|
+
const location = yield* Service81;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
44
44
|
const load = Effect.fn("SessionInstructions.load")(function* (input) {
|
|
@@ -84,7 +84,7 @@ ${file.content}`).join(`
|
|
|
84
84
|
return next;
|
|
85
85
|
})));
|
|
86
86
|
});
|
|
87
|
-
return
|
|
87
|
+
return Service10.of({ load });
|
|
88
88
|
}));
|
|
89
89
|
function previouslyInjected(store, sessionID) {
|
|
90
90
|
return Effect.gen(function* () {
|
|
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
|
|
|
95
95
|
function describePath(root, path) {
|
|
96
96
|
return FSUtil.contains(root, path) ? relative(root, path) : path;
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var node12 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [node89, FSUtil.node,
|
|
101
|
+
deps: [node89, FSUtil.node, node85, node79]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { Service10, node12, exports_instructions };
|
|
@@ -9,22 +9,22 @@ import {
|
|
|
9
9
|
var exports_managed_policy = {};
|
|
10
10
|
__export(exports_managed_policy, {
|
|
11
11
|
ManagedPolicy: () => exports_managed_policy,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service18,
|
|
13
13
|
decision: () => decision2,
|
|
14
|
-
layer: () =>
|
|
15
|
-
node: () =>
|
|
14
|
+
layer: () => layer10,
|
|
15
|
+
node: () => node20,
|
|
16
16
|
statements: () => statements2
|
|
17
17
|
});
|
|
18
18
|
import { isDeepStrictEqual } from "node:util";
|
|
19
19
|
import { Context, Effect, Layer, PubSub, Stream } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class Service18 extends Context.Service()("@opencode/ManagedPolicy") {
|
|
23
23
|
}
|
|
24
|
-
var
|
|
24
|
+
var layer10 = Layer.effect(Service18, Effect.gen(function* () {
|
|
25
25
|
const changes = yield* PubSub.unbounded();
|
|
26
26
|
const state = { current: { statements: [] } };
|
|
27
|
-
return
|
|
27
|
+
return Service18.of({
|
|
28
28
|
changes: () => Stream.fromPubSub(changes),
|
|
29
29
|
current: () => state.current,
|
|
30
30
|
set: (next) => Effect.gen(function* () {
|
|
@@ -36,7 +36,7 @@ var layer9 = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
36
36
|
})
|
|
37
37
|
});
|
|
38
38
|
}));
|
|
39
|
-
var
|
|
39
|
+
var node20 = makeGlobalNode({ service: Service18, layer: layer10, deps: [] });
|
|
40
40
|
function statements2(entries, organization) {
|
|
41
41
|
return [
|
|
42
42
|
...entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.policies ?? []).map((policy) => ({ ...policy, message: "Blocked by configuration policy" })),
|
|
@@ -50,4 +50,4 @@ function decision2(policies, action, resource) {
|
|
|
50
50
|
return policies.findLast((policy) => policy.action === action && match2(resource, policy.resource))?.effect ?? "allow";
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service18, layer10, node20, statements2, decision2, exports_managed_policy };
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
AbsolutePath2
|
|
3
3
|
} from "./repository-cache-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./repository-cache-
|
|
5
|
+
node87
|
|
6
|
+
} from "./repository-cache-t95zrypp.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./repository-cache-
|
|
8
|
+
Service81,
|
|
9
|
+
node85
|
|
10
|
+
} from "./repository-cache-8pvf9cdd.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
13
|
} from "./repository-cache-rdw6cm16.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./repository-cache-
|
|
15
|
+
make19
|
|
16
|
+
} from "./repository-cache-w0cy9m9e.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
19
|
} from "./repository-cache-9rqn6x4v.js";
|
|
@@ -21,9 +21,9 @@ import {
|
|
|
21
21
|
// src/worktree/strategies.ts
|
|
22
22
|
var exports_strategies = {};
|
|
23
23
|
__export(exports_strategies, {
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service63,
|
|
25
25
|
WorktreeStrategies: () => exports_strategies,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node66
|
|
27
27
|
});
|
|
28
28
|
import { Context, Effect, Layer } from "effect";
|
|
29
29
|
import path from "path";
|
|
@@ -31,12 +31,12 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
31
31
|
import { Global } from "@opencode/util/global";
|
|
32
32
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class Service63 extends Context.Service()("@opencode/WorktreeStrategies") {
|
|
35
35
|
}
|
|
36
|
-
var layer = Layer.effect(
|
|
37
|
-
const location = yield*
|
|
36
|
+
var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
37
|
+
const location = yield* Service81;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
|
-
const git = yield*
|
|
39
|
+
const git = yield* make19;
|
|
40
40
|
const state = create3({
|
|
41
41
|
name: "worktree",
|
|
42
42
|
initial: () => ({
|
|
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
55
55
|
}
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service63.of({ ...state, directory: location.directory });
|
|
59
59
|
}));
|
|
60
|
-
var
|
|
61
|
-
service:
|
|
60
|
+
var node66 = makeLocationNode({
|
|
61
|
+
service: Service63,
|
|
62
62
|
layer,
|
|
63
|
-
deps: [
|
|
63
|
+
deps: [node85, Global.node, node87, FSUtil.node]
|
|
64
64
|
});
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service63, node66, exports_strategies };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./repository-cache-
|
|
3
|
+
} from "./repository-cache-4m3ygwz0.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./repository-cache-
|
|
6
|
+
} from "./repository-cache-z1fx9rk1.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./repository-cache-
|
|
9
|
+
Event21
|
|
10
|
+
} from "./repository-cache-ke7rr379.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
13
|
} from "./repository-cache-addxnjmp.js";
|
|
14
14
|
import {
|
|
15
15
|
ID14,
|
|
16
16
|
MethodID2
|
|
17
|
-
} from "./repository-cache-
|
|
17
|
+
} from "./repository-cache-t8z4ntba.js";
|
|
18
18
|
import {
|
|
19
19
|
ID13,
|
|
20
20
|
aisdk2,
|
|
21
21
|
Service78
|
|
22
|
-
} from "./repository-cache-
|
|
22
|
+
} from "./repository-cache-1hyfwtsr.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./repository-cache-
|
|
24
|
+
ID8,
|
|
25
|
+
Info18
|
|
26
|
+
} from "./repository-cache-hnvjv21h.js";
|
|
27
27
|
import {
|
|
28
28
|
success2,
|
|
29
29
|
error2
|
|
@@ -185,7 +185,7 @@ var GitLabPlugin2 = define({
|
|
|
185
185
|
models: [
|
|
186
186
|
...item.models.values(),
|
|
187
187
|
...loaded.models.filter((model) => !item.models.has(model.id)).map((model) => ({
|
|
188
|
-
...
|
|
188
|
+
...Info18.default(providerID, ID8.make(model.id)),
|
|
189
189
|
name: `Agent Platform (${model.name})`,
|
|
190
190
|
package: aisdk2("gitlab-ai-provider"),
|
|
191
191
|
settings: { workflowRef: model.ref },
|
|
@@ -196,7 +196,7 @@ var GitLabPlugin2 = define({
|
|
|
196
196
|
});
|
|
197
197
|
});
|
|
198
198
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
199
|
-
yield* bus.subscribe(
|
|
199
|
+
yield* bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
200
200
|
yield* refresh().pipe(Effect.forkScoped);
|
|
201
201
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
202
202
|
if (evt.package !== "gitlab-ai-provider")
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./repository-cache-
|
|
3
|
+
} from "./repository-cache-gtdxectv.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./repository-cache-
|
|
5
|
+
Service73
|
|
6
|
+
} from "./repository-cache-2ntc19nv.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
9
|
} from "./repository-cache-9rqn6x4v.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
var exports_question = {};
|
|
13
13
|
__export(exports_question, {
|
|
14
14
|
CancelledError: () => CancelledError2,
|
|
15
|
-
Input: () =>
|
|
15
|
+
Input: () => Input14,
|
|
16
16
|
Output: () => Output10,
|
|
17
17
|
Plugin: () => Plugin51,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
@@ -34,7 +34,7 @@ Usage notes:
|
|
|
34
34
|
- A "Type your own answer" option is added automatically; don't include a separate option for free form answers
|
|
35
35
|
- Set \`multiple: true\` to allow selecting more than one option
|
|
36
36
|
- If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
|
|
37
|
-
var
|
|
37
|
+
var Input14 = Schema.Struct({
|
|
38
38
|
questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
|
|
39
39
|
});
|
|
40
40
|
var Output10 = Schema.Struct({
|
|
@@ -54,12 +54,12 @@ var Plugin51 = {
|
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
56
|
const forms = yield* Service80;
|
|
57
|
-
const permission = yield*
|
|
57
|
+
const permission = yield* Service73;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
59
|
name: name15,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
|
-
input:
|
|
62
|
+
input: Input14,
|
|
63
63
|
output: Output10,
|
|
64
64
|
execute: (input, context) => permission.assert({
|
|
65
65
|
action: "question",
|
|
@@ -117,4 +117,4 @@ function toField(question, index) {
|
|
|
117
117
|
};
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
export { name15, description6,
|
|
120
|
+
export { name15, description6, Input14, Output10, CancelledError2, toModelContent7, Plugin51, exports_question };
|