@opencode/core 0.0.0-dev-223 → 0.0.0-dev-225
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 -68
- package/dist/aisdk-native.js +73 -72
- package/dist/aisdk.js +78 -77
- package/dist/app.js +9 -9
- package/dist/bus.js +58 -57
- package/dist/chunks/{repository-w6qag2k8.js → repository-02q6devy.js} +18 -18
- package/dist/chunks/{repository-chfbpvyw.js → repository-04r1wrks.js} +13 -13
- package/dist/chunks/{repository-anr40x3d.js → repository-0afpajpk.js} +24 -24
- package/dist/chunks/{repository-z4pj4x9b.js → repository-0kjn3gmb.js} +8 -8
- package/dist/chunks/{repository-ha05q1k1.js → repository-0m7m3myj.js} +24 -24
- package/dist/chunks/{repository-28z6cbgf.js → repository-0qrj5tp3.js} +13 -13
- package/dist/chunks/{repository-x4v825th.js → repository-0vqtycbn.js} +10 -10
- package/dist/chunks/{repository-8dx40r31.js → repository-0yd0c7yw.js} +22 -22
- package/dist/chunks/{repository-8jztxfpf.js → repository-11hfp36g.js} +3 -3
- package/dist/chunks/{repository-24rck98s.js → repository-12dhx30w.js} +19 -19
- package/dist/chunks/{repository-xkb2c2nh.js → repository-12vcxn89.js} +18 -18
- package/dist/chunks/{repository-t9nzfb3m.js → repository-13h4821v.js} +22 -22
- package/dist/chunks/{repository-2yksqsyz.js → repository-14x2cdqd.js} +34 -34
- package/dist/chunks/{repository-aa83a44m.js → repository-17emz8v6.js} +3 -3
- package/dist/chunks/repository-1kah00gy.js +13 -0
- package/dist/chunks/{repository-bw29t359.js → repository-1tzttee1.js} +8 -8
- package/dist/chunks/{repository-p7vhpwh8.js → repository-1yq9hg58.js} +4 -4
- package/dist/chunks/{repository-yq02jwn4.js → repository-212rqbfx.js} +12 -12
- package/dist/chunks/{repository-dyy4zt3v.js → repository-23dwhg36.js} +44 -44
- package/dist/chunks/{repository-vaq1yek0.js → repository-26x8chrq.js} +3 -3
- package/dist/chunks/{repository-1ep2p91f.js → repository-27w5k9zf.js} +1 -1
- package/dist/chunks/{repository-v65we5h7.js → repository-28910prs.js} +19 -19
- package/dist/chunks/{repository-cge55dh8.js → repository-2gwexerd.js} +29 -29
- package/dist/chunks/{repository-mvfvs5vr.js → repository-2h1rexsh.js} +8 -8
- package/dist/chunks/{repository-fmff55yr.js → repository-2mv5n5wp.js} +11 -11
- package/dist/chunks/{repository-nfsrfhgk.js → repository-2r7kfffr.js} +13 -13
- package/dist/chunks/{repository-zdf3gzwx.js → repository-2vnjdqz4.js} +29 -29
- package/dist/chunks/{repository-vsgz7a0v.js → repository-2wwz1bdd.js} +22 -22
- package/dist/chunks/{repository-tdzpe7ny.js → repository-3a1gzt4h.js} +5 -1
- package/dist/chunks/{repository-ayjs7tqn.js → repository-3cbjf1nt.js} +1 -1
- package/dist/chunks/{repository-wvdwzn2w.js → repository-3e2gc48p.js} +1 -1
- package/dist/chunks/{repository-8t5bg94k.js → repository-3g2vn521.js} +41 -41
- package/dist/chunks/{repository-d4adk9sf.js → repository-3hdfjcc2.js} +9 -9
- package/dist/chunks/{repository-3ys2qbze.js → repository-3k1cgzmy.js} +5 -5
- package/dist/chunks/{repository-5mprhnrj.js → repository-3pm16jz4.js} +152 -152
- package/dist/chunks/{repository-nrqpxzzq.js → repository-3x62q367.js} +17 -17
- package/dist/chunks/{repository-6a610sb4.js → repository-3yrxkn0v.js} +8 -8
- package/dist/chunks/{repository-nkr6yq9m.js → repository-4xv4re4f.js} +3 -3
- package/dist/chunks/{repository-p718ct0k.js → repository-512987xb.js} +2 -2
- package/dist/chunks/{repository-p7y2ae2b.js → repository-534ps77n.js} +7 -7
- package/dist/chunks/{repository-d9k7070j.js → repository-56d0mdwc.js} +10 -10
- package/dist/chunks/{repository-q2z2t1q0.js → repository-5dfywfr4.js} +17 -17
- package/dist/chunks/{repository-fac3sjkm.js → repository-5f0h22rt.js} +23 -23
- package/dist/chunks/{repository-ys7d052r.js → repository-5f0m5wzz.js} +13 -13
- package/dist/chunks/{repository-50jfwd0b.js → repository-5hb3xp22.js} +1 -1
- package/dist/chunks/{repository-hax9wfhq.js → repository-61c5qd3j.js} +23 -23
- package/dist/chunks/{repository-msv0m990.js → repository-625d5ysm.js} +14 -14
- package/dist/chunks/{repository-59bskyqz.js → repository-67x0hfmk.js} +2 -2
- package/dist/chunks/{repository-dmpan285.js → repository-697zycvk.js} +7 -7
- package/dist/chunks/{repository-3tzpckpe.js → repository-6bpfps1f.js} +4 -4
- package/dist/chunks/{repository-j360sx8s.js → repository-6c013jja.js} +5 -5
- package/dist/chunks/{repository-kv757zv6.js → repository-6dv331nt.js} +12 -12
- package/dist/chunks/{repository-nyqa861q.js → repository-6gbw9738.js} +12 -12
- package/dist/chunks/{repository-yekse1yq.js → repository-6gz1fwcb.js} +18 -18
- package/dist/chunks/{repository-a2zbwxm7.js → repository-6k655h6s.js} +10 -10
- package/dist/chunks/{repository-c46s9eb3.js → repository-6npr164p.js} +3 -3
- package/dist/chunks/{repository-pjbbp4st.js → repository-6tkn5w05.js} +28 -28
- package/dist/chunks/{repository-0f4tqvx5.js → repository-6yqr9evj.js} +1 -1
- package/dist/chunks/{repository-n4cszq6s.js → repository-76ek6v85.js} +12 -12
- package/dist/chunks/{repository-bzecdqed.js → repository-7bsdd5sy.js} +10 -10
- package/dist/chunks/{repository-g20aks6e.js → repository-7f52k950.js} +17 -17
- package/dist/chunks/{repository-mzbswx4t.js → repository-7jdsj2a9.js} +3 -3
- package/dist/chunks/{repository-87e2vapc.js → repository-7n3s3k63.js} +23 -23
- package/dist/chunks/{repository-m227na57.js → repository-7pa3t2xk.js} +8 -8
- package/dist/chunks/{repository-7y253f34.js → repository-7vvjhnrn.js} +7 -7
- package/dist/chunks/{repository-vdh3rgac.js → repository-7yv5xa0k.js} +4 -4
- package/dist/chunks/{repository-626sad5p.js → repository-80x4fa6r.js} +9 -9
- package/dist/chunks/{repository-7nc6vhv1.js → repository-8nap1jrd.js} +15 -15
- package/dist/chunks/{repository-q61bmwds.js → repository-8z6m94af.js} +2 -1
- package/dist/chunks/{repository-semxt4qn.js → repository-98757as2.js} +5 -5
- package/dist/chunks/{repository-zapma743.js → repository-9awk6jpk.js} +5 -5
- package/dist/chunks/{repository-d9s3h93w.js → repository-9c4fmw56.js} +13 -13
- package/dist/chunks/{repository-sg06s8x8.js → repository-9cqr2vkq.js} +11 -11
- package/dist/chunks/{repository-y6699624.js → repository-9h1ss44a.js} +7 -7
- package/dist/chunks/{repository-8mkcdndv.js → repository-9r4pxyh7.js} +32 -32
- package/dist/chunks/{repository-s27fe866.js → repository-a654hsnz.js} +4 -4
- package/dist/chunks/{repository-kmkjyfhv.js → repository-a82v2hxv.js} +20 -20
- package/dist/chunks/{repository-kkebvfyp.js → repository-agd3ajwq.js} +6 -6
- package/dist/chunks/{repository-vaqj36aw.js → repository-ampz2f9v.js} +13 -13
- package/dist/chunks/{repository-dsq3hdx8.js → repository-arn7cr2v.js} +35 -35
- package/dist/chunks/{repository-war8sgwz.js → repository-b06zajxa.js} +13 -13
- package/dist/chunks/{repository-skbttzty.js → repository-b08ppfvn.js} +8 -8
- package/dist/chunks/{repository-bp73kexw.js → repository-b4sf3bff.js} +9 -9
- package/dist/chunks/{repository-4pjd4h0r.js → repository-b7y5rk4r.js} +6 -6
- package/dist/chunks/{repository-6ahrxn7h.js → repository-b9s89jmt.js} +24 -24
- package/dist/chunks/{repository-jzn0pxw0.js → repository-bdb9z49n.js} +10 -10
- package/dist/chunks/{repository-wb47rx5c.js → repository-bj6adykh.js} +4 -4
- package/dist/chunks/{repository-xd9cc171.js → repository-bstexjd6.js} +4 -4
- package/dist/chunks/{repository-v816cg4v.js → repository-c7memrrh.js} +7 -7
- package/dist/chunks/{repository-4bwthz3m.js → repository-ceq6pwch.js} +5 -5
- package/dist/chunks/{repository-xvjkytpn.js → repository-cf7x31pg.js} +8 -8
- package/dist/chunks/{repository-av5s4abm.js → repository-crbrb0jj.js} +4 -4
- package/dist/chunks/{repository-4twczz1d.js → repository-d1jzsn22.js} +4 -4
- package/dist/chunks/{repository-c9t2ty9q.js → repository-d2887f8n.js} +3 -3
- package/dist/chunks/{repository-30h5vszr.js → repository-d3jz2cz5.js} +11 -11
- package/dist/chunks/{repository-7x55e4f3.js → repository-d3yrsr4e.js} +21 -21
- package/dist/chunks/{repository-5dgv37f6.js → repository-dfr5r696.js} +14 -14
- package/dist/chunks/{repository-zx29snpc.js → repository-dkqkergf.js} +7 -7
- package/dist/chunks/{repository-55g1gb2r.js → repository-dnf86brd.js} +5 -5
- package/dist/chunks/{repository-5h9w1760.js → repository-dw4s89a0.js} +10 -10
- package/dist/chunks/{repository-94cvkwyc.js → repository-dzkkvexc.js} +7 -7
- package/dist/chunks/{repository-hp5ggfzb.js → repository-e58sv9rp.js} +17 -17
- package/dist/chunks/{repository-jkgxvka5.js → repository-eda6vzv8.js} +10 -10
- package/dist/chunks/{repository-8b5v3532.js → repository-epq6cdz1.js} +3 -3
- package/dist/chunks/{repository-abrs8pjj.js → repository-eqzd7aqx.js} +6 -6
- package/dist/chunks/{repository-2qfs2vgm.js → repository-f1z26w0d.js} +13 -13
- package/dist/chunks/{repository-xrjfkxwf.js → repository-f9xffe6w.js} +33 -33
- package/dist/chunks/{repository-prq7xxp2.js → repository-fg9p65nk.js} +4 -4
- package/dist/chunks/{repository-pach9r6p.js → repository-fm429npj.js} +16 -16
- package/dist/chunks/{repository-a2pcb318.js → repository-fm8xskze.js} +21 -21
- package/dist/chunks/{repository-hds1b6c6.js → repository-fs4b0t0k.js} +10 -10
- package/dist/chunks/{repository-g0x9f173.js → repository-fwsgn0kj.js} +46 -46
- package/dist/chunks/{repository-r1zag3k4.js → repository-fyk4dqjk.js} +30 -30
- package/dist/chunks/{repository-5eksgbhk.js → repository-g0nw359p.js} +15 -15
- package/dist/chunks/{repository-gk3m201e.js → repository-g1kwxa1b.js} +17 -17
- package/dist/chunks/{repository-360yt0tf.js → repository-g1xkvxp8.js} +7 -7
- package/dist/chunks/{repository-9n6p1q61.js → repository-g83h66a1.js} +4 -4
- package/dist/chunks/{repository-267kfj3b.js → repository-gfcceyza.js} +37 -37
- package/dist/chunks/{repository-c1gtqsga.js → repository-gjrqrjfc.js} +31 -31
- package/dist/chunks/{repository-b8fn1a2b.js → repository-gpgd96vy.js} +6 -6
- package/dist/chunks/{repository-4jdk4m55.js → repository-gqdnb8y1.js} +17 -17
- package/dist/chunks/{repository-gv0adxtq.js → repository-gvqm1969.js} +28 -28
- package/dist/chunks/{repository-xgjk47c2.js → repository-h7gfa9td.js} +18 -18
- package/dist/chunks/{repository-160yv0cs.js → repository-hy8c1z76.js} +7 -7
- package/dist/chunks/{repository-hbwwzcqk.js → repository-jcx3m0pd.js} +1 -1
- package/dist/chunks/{repository-4zevbb2g.js → repository-jh36xa0j.js} +40 -40
- package/dist/chunks/{repository-5d4p0r89.js → repository-jm7m7qv4.js} +12 -12
- package/dist/chunks/{repository-7hdgky85.js → repository-jmcy6tdz.js} +28 -28
- package/dist/chunks/{repository-kgnmyx47.js → repository-jqt6shdc.js} +22 -22
- package/dist/chunks/{repository-2jpjfffa.js → repository-jv2xnyk0.js} +7 -7
- package/dist/chunks/{repository-a7vyxcv1.js → repository-jw9hwjk7.js} +8 -8
- package/dist/chunks/{repository-gsn0hbky.js → repository-jx6743tc.js} +27 -27
- package/dist/chunks/{repository-zvwzcwk0.js → repository-k4461cq5.js} +5 -5
- package/dist/chunks/{repository-e05k2b0s.js → repository-k73cna2p.js} +1 -1
- package/dist/chunks/{repository-bz487fe5.js → repository-kmj5avpj.js} +21 -21
- package/dist/chunks/{repository-tqsn5rpq.js → repository-kpn1bhgk.js} +2 -2
- package/dist/chunks/{repository-vzr2jnmc.js → repository-kw8s21va.js} +3 -3
- package/dist/chunks/{repository-4qxgbnr8.js → repository-kx71657v.js} +5 -5
- package/dist/chunks/{repository-ak9j0n4g.js → repository-kxn25fwv.js} +31 -31
- package/dist/chunks/{repository-0qj6yjmx.js → repository-mbb1g1yw.js} +3 -3
- package/dist/chunks/{repository-mtf9rx2d.js → repository-mcnyjy51.js} +2 -2
- package/dist/chunks/{repository-rkvjm6bb.js → repository-mna4epf6.js} +2 -2
- package/dist/chunks/{repository-meq5xayt.js → repository-mrfyq4g5.js} +16 -16
- package/dist/chunks/{repository-cncfqw11.js → repository-mz3zm30x.js} +40 -40
- package/dist/chunks/{repository-94k7vj63.js → repository-n4e7dz5r.js} +19 -19
- package/dist/chunks/{repository-t2dqqkmp.js → repository-n81rk82p.js} +21 -21
- package/dist/chunks/{repository-r2v87c26.js → repository-n8e58mf8.js} +6 -6
- package/dist/chunks/{repository-770pw0s1.js → repository-nah043kf.js} +3 -3
- package/dist/chunks/{repository-d41dy4jz.js → repository-nasy3zn8.js} +22 -22
- package/dist/chunks/{repository-x78jh7xq.js → repository-ngnmw7n1.js} +8 -8
- package/dist/chunks/{repository-2mfa6jt6.js → repository-nktr62nw.js} +33 -33
- package/dist/chunks/{repository-wbqjejvk.js → repository-np3f7rt0.js} +1 -1
- package/dist/chunks/{repository-6y263vp8.js → repository-nv205p9v.js} +3 -3
- package/dist/chunks/{repository-yd5kqwzv.js → repository-nx91d85n.js} +19 -19
- package/dist/chunks/{repository-h0rg6s60.js → repository-p76me67c.js} +3 -3
- package/dist/chunks/{repository-2y8z5rdx.js → repository-p93f7rm8.js} +23 -23
- package/dist/chunks/{repository-99q7081m.js → repository-pb5kqfgr.js} +7 -7
- package/dist/chunks/{repository-8xe30kkw.js → repository-ph5famjc.js} +30 -30
- package/dist/chunks/{repository-tm50zxtt.js → repository-prsb3gy8.js} +327 -327
- package/dist/chunks/{repository-yara3q77.js → repository-pxtfkpje.js} +1 -1
- package/dist/chunks/{repository-4127byac.js → repository-q78bpt09.js} +2 -2
- package/dist/chunks/{repository-fvg4pwjj.js → repository-qakshsr3.js} +4 -4
- package/dist/chunks/{repository-f57gywq5.js → repository-qap93fyq.js} +2 -2
- package/dist/chunks/{repository-91h4454q.js → repository-qf4sba5t.js} +4 -4
- package/dist/chunks/{repository-99hh273v.js → repository-qg4zt266.js} +5 -5
- package/dist/chunks/{repository-p5j5bg0f.js → repository-qgfkghh1.js} +1 -0
- package/dist/chunks/{repository-d7jw5fp3.js → repository-qhjk5g7p.js} +13 -13
- package/dist/chunks/{repository-ntref8y6.js → repository-qp19en1v.js} +22 -22
- package/dist/chunks/{repository-0ahs07zn.js → repository-qqg9c0kv.js} +3 -3
- package/dist/chunks/{repository-w4a5rcbb.js → repository-qzmm5tz3.js} +14 -14
- package/dist/chunks/{repository-ha3gr0r3.js → repository-rcdhpebz.js} +19 -19
- package/dist/chunks/{repository-9wzjb77v.js → repository-rfy1qsv0.js} +3 -3
- package/dist/chunks/{repository-yj5jfd5z.js → repository-rgrwz8jc.js} +1 -1
- package/dist/chunks/{repository-qwzfnxry.js → repository-rhhs0wkq.js} +18 -14
- package/dist/chunks/{repository-f44s1d53.js → repository-rt7pfvy6.js} +29 -29
- package/dist/chunks/{repository-bkvh1vz1.js → repository-rttr2fak.js} +20 -20
- package/dist/chunks/{repository-1r2kzq99.js → repository-rvt22k2y.js} +13 -13
- package/dist/chunks/{repository-97c5t57a.js → repository-s06t763y.js} +8 -8
- package/dist/chunks/{repository-ngwn9sfh.js → repository-s1ngvbs7.js} +30 -30
- package/dist/chunks/{repository-8bw97m0q.js → repository-s3dg6dk7.js} +14 -14
- package/dist/chunks/{repository-1yck77gx.js → repository-s80rtvac.js} +5 -5
- package/dist/chunks/repository-sagzsdcj.js +26 -0
- package/dist/chunks/{repository-cmdwg2dr.js → repository-smhsv5n1.js} +11 -11
- package/dist/chunks/{repository-fhded4xh.js → repository-smtd4r5d.js} +7 -7
- package/dist/chunks/{repository-95g2r518.js → repository-snxt3tr6.js} +19 -19
- package/dist/chunks/{repository-653nzf8n.js → repository-sq3g877h.js} +74 -74
- package/dist/chunks/{repository-vzrdr816.js → repository-stg46zfy.js} +32 -32
- package/dist/chunks/{repository-q6earb14.js → repository-swt9j2d1.js} +19 -19
- package/dist/chunks/{repository-421f5x70.js → repository-syekz850.js} +27 -11
- package/dist/chunks/{repository-s9br1ntq.js → repository-symxyxd2.js} +39 -39
- package/dist/chunks/{repository-gcjdgkn2.js → repository-takvccra.js} +7 -7
- package/dist/chunks/{repository-xa7zr3zm.js → repository-tea79k12.js} +1 -1
- package/dist/chunks/{repository-qx66ja59.js → repository-th3qszsa.js} +10 -10
- package/dist/chunks/{repository-0erz1dmz.js → repository-tptvq6v6.js} +2 -2
- package/dist/chunks/{repository-xdeca17p.js → repository-tspjt6hv.js} +22 -22
- package/dist/chunks/{repository-sfy613zk.js → repository-ttt74r5g.js} +21 -21
- package/dist/chunks/{repository-ry8wv614.js → repository-tvpzekgj.js} +3 -3
- package/dist/chunks/{repository-9f15z1yv.js → repository-v0e44ra8.js} +9 -9
- package/dist/chunks/{repository-53qx6cqq.js → repository-v0yg2p47.js} +33 -33
- package/dist/chunks/{repository-pgz7m435.js → repository-v6y9sg65.js} +35 -35
- package/dist/chunks/{repository-g7fty37q.js → repository-v9tv2jcf.js} +18 -18
- package/dist/chunks/{repository-vfvg8wtj.js → repository-vavwx7s5.js} +15 -15
- package/dist/chunks/{repository-sqkqhx99.js → repository-vbbf82hz.js} +13 -13
- package/dist/chunks/{repository-ch4a6gtw.js → repository-vbm79bx3.js} +2 -1
- package/dist/chunks/{repository-2scem4zq.js → repository-vdetwb8q.js} +6 -6
- package/dist/chunks/{repository-56v7dcaj.js → repository-vegsf5sr.js} +3 -3
- package/dist/chunks/{repository-2zp5a6yg.js → repository-vg0erq9k.js} +2 -2
- package/dist/chunks/{repository-b5rc0sm5.js → repository-vk8tcr7v.js} +87 -85
- package/dist/chunks/{repository-gpcc0bgy.js → repository-w08h028t.js} +7 -7
- package/dist/chunks/{repository-40za9wsf.js → repository-w2eysc6j.js} +7 -7
- package/dist/chunks/{repository-746hfkms.js → repository-wb1032jb.js} +15 -15
- package/dist/chunks/{repository-2s8qs2ty.js → repository-wfhze47m.js} +18 -18
- package/dist/chunks/{repository-1d0hekf1.js → repository-wfx67pkj.js} +12 -12
- package/dist/chunks/{repository-t9xxwrxt.js → repository-wgaw9e9b.js} +19 -19
- package/dist/chunks/{repository-pamhxmwe.js → repository-x3nmv35r.js} +7 -7
- package/dist/chunks/{repository-15wkvq9x.js → repository-x5anz7b2.js} +4 -4
- package/dist/chunks/{repository-k48h5se1.js → repository-xgpjap4q.js} +3 -3
- package/dist/chunks/{repository-n6mm56gb.js → repository-xm3tvg1p.js} +8 -8
- package/dist/chunks/{repository-mpe4epve.js → repository-xmgjtvx2.js} +4 -4
- package/dist/chunks/{repository-b0npgc9t.js → repository-xt0z8zst.js} +7 -7
- package/dist/chunks/{repository-5sdj5p51.js → repository-xv4cc4d2.js} +47 -47
- package/dist/chunks/{repository-j2h2v56y.js → repository-xvhkpttz.js} +23 -23
- package/dist/chunks/{repository-x51cbw6r.js → repository-y164yf7k.js} +8 -8
- package/dist/chunks/{repository-1xbe02wa.js → repository-y7skvavs.js} +18 -18
- package/dist/chunks/{repository-3vy7y2j7.js → repository-ym3r9j8z.js} +84 -84
- package/dist/chunks/repository-ym4fxhy7.js +257 -0
- package/dist/chunks/{repository-j368t596.js → repository-yqtq7xaq.js} +7 -7
- package/dist/chunks/{repository-34aktkbd.js → repository-yr49e4mv.js} +7 -7
- package/dist/chunks/{repository-86050tb7.js → repository-z0bthqbq.js} +21 -21
- package/dist/chunks/{repository-w8k3kdvv.js → repository-z5gw4pap.js} +7 -7
- package/dist/chunks/{repository-bsdpkvp5.js → repository-z9gwer7j.js} +7 -7
- package/dist/chunks/{repository-k7a4agay.js → repository-zc3ayq8k.js} +27 -27
- package/dist/chunks/{repository-r96ere88.js → repository-zdat2xwq.js} +3 -3
- package/dist/chunks/{repository-9f3sjfep.js → repository-zgd8t41s.js} +7 -7
- package/dist/chunks/{repository-dvnqv6yn.js → repository-zybtfqav.js} +3 -3
- package/dist/codemode/instructions.js +2 -2
- package/dist/command.js +71 -70
- package/dist/config/discovery.js +68 -67
- package/dist/config/normalize.js +81 -80
- package/dist/config/plugin/agent.js +95 -94
- package/dist/config/plugin/command.js +178 -177
- package/dist/config/plugin/compaction.js +129 -128
- package/dist/config/plugin/compatibility.js +113 -112
- package/dist/config/plugin/formatter.js +94 -93
- package/dist/config/plugin/image.js +93 -92
- package/dist/config/plugin/instruction.js +94 -93
- package/dist/config/plugin/location-watcher.js +95 -94
- package/dist/config/plugin/mcp.js +98 -97
- package/dist/config/plugin/policy.js +93 -92
- package/dist/config/plugin/provider.js +93 -92
- package/dist/config/plugin/reference.js +95 -94
- package/dist/config/plugin/shell.js +95 -94
- package/dist/config/plugin/skill-file.js +109 -108
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +116 -115
- package/dist/config/plugin/snapshot.js +93 -92
- package/dist/config/plugin/source.js +96 -95
- package/dist/config/plugin/tool-output.js +93 -92
- package/dist/config/plugin/websearch.js +94 -93
- package/dist/config/plugin/worktree.js +95 -94
- package/dist/config.js +95 -94
- package/dist/credential.js +68 -67
- package/dist/database/database.js +56 -55
- 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/20261029073502_session_time_busy.js +6 -0
- package/dist/database/migration.gen.js +45 -44
- package/dist/database/migration.js +47 -46
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/v1-migration.bun.js +27 -26
- package/dist/effect/app-node-builder.js +248 -247
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/environment/environment.js +74 -73
- package/dist/environment/index.js +74 -73
- package/dist/event-logger.js +12 -11
- package/dist/file-access.js +113 -112
- package/dist/file-mutation.js +75 -74
- package/dist/filesystem/file-watch.js +13 -12
- package/dist/filesystem/location-watcher-policy.js +5 -5
- package/dist/filesystem/location-watcher.js +190 -189
- package/dist/filesystem/search.js +78 -77
- package/dist/filesystem/watcher.js +5 -5
- package/dist/filesystem.js +81 -80
- package/dist/form.js +73 -72
- package/dist/formatter/builtins.js +3 -3
- package/dist/formatter.js +73 -72
- package/dist/generate.js +85 -84
- package/dist/git.js +7 -7
- 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 +75 -74
- 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 +324 -323
- package/dist/instruction-discovery.js +74 -73
- package/dist/instructions/builtins.js +73 -72
- package/dist/instructions/index.js +5 -5
- package/dist/integration.js +69 -68
- package/dist/job.js +65 -64
- package/dist/kv.js +61 -60
- package/dist/location-activity.js +75 -74
- package/dist/location-lifecycle.js +114 -113
- package/dist/location-service-map.js +72 -71
- package/dist/location-services.js +322 -321
- package/dist/location.js +73 -72
- package/dist/mcp/client.js +23 -22
- package/dist/mcp/index.js +84 -83
- package/dist/mcp/instructions.js +131 -130
- package/dist/mcp/oauth.js +16 -15
- package/dist/mcp/stdio.js +71 -70
- package/dist/modal/models.js +75 -74
- package/dist/model-resolver.js +82 -81
- package/dist/model.js +84 -83
- package/dist/models-dev.js +85 -84
- package/dist/permission/saved.js +70 -69
- package/dist/permission/sql.js +3 -3
- package/dist/permission.js +117 -116
- package/dist/persistent-pty/index.js +71 -70
- package/dist/persistent-pty.js +61 -60
- package/dist/plugin/agent.js +64 -63
- package/dist/plugin/command.js +81 -80
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +181 -180
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +295 -294
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +80 -79
- package/dist/plugin/module.js +93 -92
- package/dist/plugin/plan.js +110 -109
- package/dist/plugin/provider/amazon-bedrock.js +75 -74
- package/dist/plugin/provider/azure.js +94 -93
- package/dist/plugin/provider/chatgpt.js +92 -91
- package/dist/plugin/provider/cloudflare-ai-gateway.js +92 -91
- package/dist/plugin/provider/cloudflare-workers-ai.js +92 -91
- package/dist/plugin/provider/configured.js +90 -89
- package/dist/plugin/provider/credential-settings.js +61 -60
- package/dist/plugin/provider/digitalocean.js +76 -75
- package/dist/plugin/provider/github-copilot.js +78 -77
- package/dist/plugin/provider/gitlab.js +77 -76
- package/dist/plugin/provider/google-vertex.js +91 -90
- package/dist/plugin/provider/llmgateway.js +64 -63
- package/dist/plugin/provider/lmstudio.js +97 -96
- package/dist/plugin/provider/local.js +94 -93
- package/dist/plugin/provider/modal.js +76 -75
- package/dist/plugin/provider/ollama.js +97 -96
- package/dist/plugin/provider/openai-context-caps.js +74 -73
- package/dist/plugin/provider/openai.js +92 -91
- package/dist/plugin/provider/opencode.js +94 -93
- package/dist/plugin/provider/openrouter.js +75 -74
- package/dist/plugin/provider/poe.js +64 -63
- package/dist/plugin/provider/sap-ai-core.js +74 -73
- package/dist/plugin/provider/snowflake-cortex.js +92 -91
- package/dist/plugin/provider/vllm.js +97 -96
- package/dist/plugin/provider/xai.js +75 -74
- package/dist/plugin/provider.js +133 -132
- package/dist/plugin/sdk.js +63 -62
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +113 -112
- package/dist/plugin/supervisor.js +311 -310
- package/dist/plugin/tool-input-repair.js +3 -3
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/vcs/git.js +72 -71
- package/dist/plugin/vcs/hg.js +72 -71
- package/dist/plugin/verbosity.js +77 -76
- package/dist/plugin/warming.js +92 -91
- package/dist/plugin/websearch/exa.js +4 -4
- 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 +4 -4
- package/dist/plugin/websearch/tinyfish.js +7 -7
- package/dist/plugin.js +192 -191
- package/dist/project/icon.js +3 -3
- package/dist/project/schema.js +7 -7
- package/dist/project/sql.js +2 -2
- package/dist/project.js +76 -75
- package/dist/provider.js +75 -74
- package/dist/pty.js +84 -83
- package/dist/reference/instructions.js +74 -73
- package/dist/reference.js +72 -71
- package/dist/repository-cache.js +67 -66
- package/dist/repository.js +3 -3
- package/dist/ripgrep.js +75 -74
- package/dist/rpc.js +72 -71
- package/dist/schedule/sql.js +4 -4
- package/dist/schedule.js +183 -182
- package/dist/session/blob.js +103 -92
- package/dist/session/command.js +62 -61
- package/dist/session/compaction.js +129 -128
- package/dist/session/context.js +148 -147
- package/dist/session/diff.js +73 -72
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +2 -2
- package/dist/session/execution/restart.js +121 -120
- package/dist/session/execution.js +125 -124
- package/dist/session/generate.js +147 -146
- package/dist/session/history.js +99 -98
- package/dist/session/inbox.js +112 -111
- package/dist/session/info.js +2 -2
- package/dist/session/instruction-entry.js +67 -66
- package/dist/session/instruction-state.js +5 -5
- package/dist/session/instructions.js +104 -103
- package/dist/session/model-request.js +124 -123
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +126 -125
- package/dist/session/projector.js +105 -104
- package/dist/session/prompt.js +111 -110
- package/dist/session/revert.js +102 -101
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +192 -191
- package/dist/session/runner/model.js +83 -82
- package/dist/session/runner/publish-llm-event.js +112 -111
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +123 -122
- package/dist/session/runner/to-llm-message.js +100 -99
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +134 -133
- package/dist/session/shell.js +101 -100
- package/dist/session/skill.js +111 -110
- package/dist/session/sql.js +3 -3
- package/dist/session/stats.js +12 -11
- package/dist/session/store.js +105 -104
- package/dist/session/stored.js +3 -3
- package/dist/session/subagent-job.js +176 -175
- package/dist/session/title.js +151 -150
- package/dist/session/to-session-error.js +111 -110
- package/dist/session/transfer.js +143 -119
- package/dist/session.js +183 -182
- package/dist/shell/parse.js +5 -5
- package/dist/shell/select.js +12 -12
- package/dist/shell.js +102 -101
- package/dist/skill/discovery.js +5 -5
- package/dist/skill/instructions.js +113 -112
- package/dist/skill.js +118 -117
- package/dist/snapshot.js +79 -78
- package/dist/tool/mcp.js +128 -127
- package/dist/tool/plugin/edit.js +120 -119
- package/dist/tool/plugin/glob.js +119 -118
- package/dist/tool/plugin/grep.js +125 -124
- package/dist/tool/plugin/image-generate.js +186 -185
- package/dist/tool/plugin/mcp-resource.js +118 -117
- package/dist/tool/plugin/opencode.js +120 -119
- package/dist/tool/plugin/patch.js +124 -123
- package/dist/tool/plugin/question.js +108 -107
- package/dist/tool/plugin/read.js +123 -122
- package/dist/tool/plugin/schedule.js +176 -175
- package/dist/tool/plugin/shell.js +182 -181
- package/dist/tool/plugin/skill.js +117 -116
- package/dist/tool/plugin/subagent.js +183 -182
- package/dist/tool/plugin/todo.js +116 -115
- package/dist/tool/plugin/webfetch.js +118 -117
- package/dist/tool/plugin/websearch.js +119 -118
- package/dist/tool/plugin/write.js +124 -123
- package/dist/tool/read-filesystem.js +78 -77
- package/dist/tool-output.js +5 -5
- package/dist/tool.js +9 -9
- package/dist/types/config/plugin/command.d.ts +1 -1
- package/dist/types/database/migration/20261029073502_session_time_busy.d.ts +3 -0
- package/dist/types/instance.d.ts +1 -1
- package/dist/types/location-activity.d.ts +1 -1
- package/dist/types/mcp/index.d.ts +1 -1
- package/dist/types/plugin/command.d.ts +1 -1
- package/dist/types/plugin/host.d.ts +2 -2
- package/dist/types/plugin/internal.d.ts +1 -1
- package/dist/types/plugin/models-dev.d.ts +1 -1
- package/dist/types/session/blob.d.ts +884 -17
- package/dist/types/session/compaction.d.ts +1 -1
- package/dist/types/session/execution/restart.d.ts +1 -1
- package/dist/types/session/execution.d.ts +1 -1
- package/dist/types/session/revert.d.ts +2 -2
- package/dist/types/session/runner/step.d.ts +1 -1
- package/dist/types/session/schema.d.ts +1 -0
- package/dist/types/session/session.d.ts +1 -1
- package/dist/types/session/sql.d.ts +16 -0
- package/dist/types/session/title.d.ts +1 -1
- package/dist/types/session/transfer.d.ts +1 -0
- package/dist/types/tool/mcp.d.ts +1 -1
- package/dist/types/tool/plugin/subagent.d.ts +1 -1
- package/dist/usage-limits.js +74 -73
- package/dist/v1/config/agent.js +1 -1
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +3 -3
- package/dist/v1/config/migrate.js +75 -74
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider.js +3 -3
- package/dist/variant.js +77 -76
- package/dist/vcs.js +75 -74
- package/dist/voice.js +68 -67
- package/dist/websearch.js +71 -70
- package/dist/wellknown/plugin.js +63 -62
- package/dist/wellknown.js +66 -65
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace.js +69 -68
- package/dist/worktree/directory.js +1 -1
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/sql.js +3 -3
- package/dist/worktree/strategies.js +75 -74
- package/dist/worktree.js +81 -80
- package/package.json +8 -8
- package/dist/chunks/repository-fvnssjxv.js +0 -26
- package/dist/chunks/repository-qn96veqe.js +0 -257
- /package/dist/chunks/{repository-vykevjvn.js → repository-0t098hqn.js} +0 -0
- /package/dist/chunks/{repository-034tev2y.js → repository-aj7mw0zk.js} +0 -0
- /package/dist/chunks/{repository-8ykqf5wm.js → repository-drev6nd3.js} +0 -0
- /package/dist/chunks/{repository-d4v9tmah.js → repository-gn8tkhbf.js} +0 -0
- /package/dist/chunks/{repository-4j3arzw1.js → repository-h9zvag9j.js} +0 -0
- /package/dist/chunks/{repository-n7wq2c5f.js → repository-hzwmgw4t.js} +0 -0
|
@@ -1,135 +1,135 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
|
-
|
|
4
|
-
} from "./repository-
|
|
3
|
+
node44
|
|
4
|
+
} from "./repository-0vqtycbn.js";
|
|
5
5
|
import {
|
|
6
6
|
Service86,
|
|
7
7
|
node90
|
|
8
|
-
} from "./repository-
|
|
8
|
+
} from "./repository-512987xb.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./repository-
|
|
10
|
+
ID10,
|
|
11
|
+
Service58,
|
|
12
|
+
node61
|
|
13
|
+
} from "./repository-3x62q367.js";
|
|
14
14
|
import {
|
|
15
15
|
ID15,
|
|
16
16
|
OAuth3
|
|
17
|
-
} from "./repository-
|
|
17
|
+
} from "./repository-snxt3tr6.js";
|
|
18
18
|
import {
|
|
19
19
|
ID14,
|
|
20
20
|
MethodID2,
|
|
21
21
|
AttemptID2,
|
|
22
22
|
Method2,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./repository-
|
|
23
|
+
Service75,
|
|
24
|
+
node78
|
|
25
|
+
} from "./repository-d3yrsr4e.js";
|
|
26
26
|
import {
|
|
27
27
|
AbsolutePath2
|
|
28
28
|
} from "./repository-z5v4ffb3.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
30
|
+
Info29,
|
|
31
31
|
Ref5,
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./repository-
|
|
32
|
+
Service83,
|
|
33
|
+
node87
|
|
34
|
+
} from "./repository-vavwx7s5.js";
|
|
35
35
|
import {
|
|
36
36
|
ID13,
|
|
37
37
|
Service71,
|
|
38
38
|
node74
|
|
39
|
-
} from "./repository-
|
|
39
|
+
} from "./repository-g0nw359p.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./repository-
|
|
41
|
+
Service60,
|
|
42
|
+
node63
|
|
43
|
+
} from "./repository-2h1rexsh.js";
|
|
44
44
|
import {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
} from "./repository-
|
|
45
|
+
Service61,
|
|
46
|
+
node64
|
|
47
|
+
} from "./repository-nx91d85n.js";
|
|
48
48
|
import {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
} from "./repository-
|
|
49
|
+
Service66,
|
|
50
|
+
node69
|
|
51
|
+
} from "./repository-y164yf7k.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
} from "./repository-
|
|
53
|
+
Service69,
|
|
54
|
+
node72
|
|
55
|
+
} from "./repository-3yrxkn0v.js";
|
|
56
56
|
import {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
} from "./repository-
|
|
57
|
+
ID12,
|
|
58
|
+
Service70,
|
|
59
|
+
node73
|
|
60
|
+
} from "./repository-7n3s3k63.js";
|
|
61
61
|
import {
|
|
62
|
-
|
|
63
|
-
} from "./repository-
|
|
62
|
+
ID17
|
|
63
|
+
} from "./repository-0m7m3myj.js";
|
|
64
64
|
import {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
} from "./repository-
|
|
65
|
+
Service34,
|
|
66
|
+
node37
|
|
67
|
+
} from "./repository-23dwhg36.js";
|
|
68
68
|
import {
|
|
69
69
|
Key2,
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
} from "./repository-
|
|
70
|
+
Service35,
|
|
71
|
+
node39
|
|
72
|
+
} from "./repository-fm429npj.js";
|
|
73
73
|
import {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
} from "./repository-
|
|
74
|
+
Service74,
|
|
75
|
+
node77
|
|
76
|
+
} from "./repository-g1xkvxp8.js";
|
|
77
77
|
import {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
} from "./repository-
|
|
78
|
+
Service55,
|
|
79
|
+
node58
|
|
80
|
+
} from "./repository-3g2vn521.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
} from "./repository-
|
|
82
|
+
Service72,
|
|
83
|
+
node75,
|
|
84
|
+
Error3
|
|
85
|
+
} from "./repository-rcdhpebz.js";
|
|
86
86
|
import {
|
|
87
87
|
Source3,
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
} from "./repository-
|
|
88
|
+
Service40,
|
|
89
|
+
node43
|
|
90
|
+
} from "./repository-fm8xskze.js";
|
|
91
91
|
import {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
} from "./repository-
|
|
92
|
+
Info10,
|
|
93
|
+
Service44,
|
|
94
|
+
node48
|
|
95
|
+
} from "./repository-28910prs.js";
|
|
96
96
|
import {
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
} from "./repository-
|
|
97
|
+
Service26,
|
|
98
|
+
node29
|
|
99
|
+
} from "./repository-vk8tcr7v.js";
|
|
100
100
|
import {
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
} from "./repository-
|
|
101
|
+
Service24,
|
|
102
|
+
node27
|
|
103
|
+
} from "./repository-kmj5avpj.js";
|
|
104
104
|
import {
|
|
105
|
-
|
|
106
|
-
|
|
105
|
+
Service25,
|
|
106
|
+
node28,
|
|
107
107
|
eventDefinition2
|
|
108
|
-
} from "./repository-
|
|
108
|
+
} from "./repository-2r7kfffr.js";
|
|
109
109
|
import {
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
} from "./repository-
|
|
110
|
+
Service23,
|
|
111
|
+
node26
|
|
112
|
+
} from "./repository-12vcxn89.js";
|
|
113
113
|
import {
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
} from "./repository-
|
|
114
|
+
ID5,
|
|
115
|
+
Service22,
|
|
116
|
+
node25
|
|
117
|
+
} from "./repository-0afpajpk.js";
|
|
118
118
|
import {
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
} from "./repository-
|
|
119
|
+
Service68,
|
|
120
|
+
node71
|
|
121
|
+
} from "./repository-02q6devy.js";
|
|
122
122
|
import {
|
|
123
123
|
StrategyID2,
|
|
124
|
-
|
|
124
|
+
Info21,
|
|
125
125
|
ListEntry3,
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
} from "./repository-
|
|
126
|
+
Service67,
|
|
127
|
+
node70
|
|
128
|
+
} from "./repository-v0yg2p47.js";
|
|
129
129
|
import {
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
} from "./repository-
|
|
130
|
+
Service48,
|
|
131
|
+
node52
|
|
132
|
+
} from "./repository-jqt6shdc.js";
|
|
133
133
|
import {
|
|
134
134
|
__export
|
|
135
135
|
} from "./repository-9rqn6x4v.js";
|
|
@@ -152,51 +152,51 @@ var isRpcEvent = (event) => isRpcType(event.type);
|
|
|
152
152
|
var isPublicEvent = (event) => EventManifest.isServer(event) || isRpcEvent(event);
|
|
153
153
|
var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test") {
|
|
154
154
|
const app = yield* Metadata2;
|
|
155
|
-
const agents = yield*
|
|
156
|
-
const aisdk = yield*
|
|
155
|
+
const agents = yield* Service58;
|
|
156
|
+
const aisdk = yield* Service60;
|
|
157
157
|
const providers = yield* Service71;
|
|
158
|
-
const models = yield*
|
|
159
|
-
const commands = yield*
|
|
158
|
+
const models = yield* Service70;
|
|
159
|
+
const commands = yield* Service61;
|
|
160
160
|
const bus = yield* Service86;
|
|
161
|
-
const integration = yield*
|
|
162
|
-
const kv = yield*
|
|
163
|
-
const mcp = yield*
|
|
164
|
-
const location = yield*
|
|
165
|
-
const reference = yield*
|
|
166
|
-
const rpc = yield*
|
|
167
|
-
const skill = yield*
|
|
168
|
-
const tools = yield*
|
|
169
|
-
const vcs = yield*
|
|
170
|
-
const websearch = yield*
|
|
171
|
-
const generate = yield*
|
|
161
|
+
const integration = yield* Service75;
|
|
162
|
+
const kv = yield* Service66;
|
|
163
|
+
const mcp = yield* Service34;
|
|
164
|
+
const location = yield* Service83;
|
|
165
|
+
const reference = yield* Service40;
|
|
166
|
+
const rpc = yield* Service25;
|
|
167
|
+
const skill = yield* Service44;
|
|
168
|
+
const tools = yield* Service72;
|
|
169
|
+
const vcs = yield* Service23;
|
|
170
|
+
const websearch = yield* Service22;
|
|
171
|
+
const generate = yield* Service48;
|
|
172
172
|
const generateText = (input) => generate.text(input).pipe(Effect.map((text) => ({ text })));
|
|
173
|
-
const permission = yield*
|
|
174
|
-
const hooks = yield*
|
|
175
|
-
const sessions = yield*
|
|
176
|
-
const instructionEntries = yield*
|
|
177
|
-
const persistentPty = yield*
|
|
178
|
-
const locations = yield*
|
|
179
|
-
const worktrees = yield*
|
|
180
|
-
const worktreeStrategies = yield*
|
|
173
|
+
const permission = yield* Service55;
|
|
174
|
+
const hooks = yield* Service74;
|
|
175
|
+
const sessions = yield* Service26;
|
|
176
|
+
const instructionEntries = yield* Service35;
|
|
177
|
+
const persistentPty = yield* Service24;
|
|
178
|
+
const locations = yield* Service69;
|
|
179
|
+
const worktrees = yield* Service67;
|
|
180
|
+
const worktreeStrategies = yield* Service68;
|
|
181
181
|
const currentWorktreeStrategies = location.workspaceID ? undefined : worktreeStrategies;
|
|
182
|
-
const locationInfo = () => new
|
|
182
|
+
const locationInfo = () => new Info29({
|
|
183
183
|
directory: location.directory,
|
|
184
184
|
workspaceID: location.workspaceID,
|
|
185
185
|
project: location.project
|
|
186
186
|
});
|
|
187
187
|
const locationRef = (input) => input?.location === undefined ? undefined : Ref5.make({
|
|
188
188
|
directory: AbsolutePath2.make(input.location.directory ?? location.directory),
|
|
189
|
-
workspaceID: input.location.workspace === undefined ? location.workspaceID :
|
|
189
|
+
workspaceID: input.location.workspace === undefined ? location.workspaceID : ID17.make(input.location.workspace)
|
|
190
190
|
});
|
|
191
191
|
const isCurrentLocation = (ref) => ref.directory === location.directory && ref.workspaceID === location.workspaceID;
|
|
192
192
|
const response = (effect) => effect.pipe(Effect.map((data) => ({ location: locationInfo(), data })));
|
|
193
|
-
const decodeWorktree = Schema.decodeUnknownEffect(
|
|
193
|
+
const decodeWorktree = Schema.decodeUnknownEffect(Info21);
|
|
194
194
|
const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry3));
|
|
195
195
|
const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.gen(function* () {
|
|
196
|
-
const location = yield*
|
|
197
|
-
const agents = yield*
|
|
196
|
+
const location = yield* Service83;
|
|
197
|
+
const agents = yield* Service58;
|
|
198
198
|
return {
|
|
199
|
-
location: new
|
|
199
|
+
location: new Info29({
|
|
200
200
|
directory: location.directory,
|
|
201
201
|
workspaceID: location.workspaceID,
|
|
202
202
|
project: location.project
|
|
@@ -228,10 +228,10 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
228
228
|
transform: (callback) => agents.transform((editor) => {
|
|
229
229
|
callback({
|
|
230
230
|
list: editor.list,
|
|
231
|
-
get: (id) => editor.get(
|
|
232
|
-
default: (id) => editor.default(id === undefined ? undefined :
|
|
233
|
-
update: (id, update) => editor.update(
|
|
234
|
-
remove: (id) => editor.remove(
|
|
231
|
+
get: (id) => editor.get(ID10.make(id)),
|
|
232
|
+
default: (id) => editor.default(id === undefined ? undefined : ID10.make(id)),
|
|
233
|
+
update: (id, update) => editor.update(ID10.make(id), update),
|
|
234
|
+
remove: (id) => editor.remove(ID10.make(id))
|
|
235
235
|
});
|
|
236
236
|
})
|
|
237
237
|
},
|
|
@@ -279,8 +279,8 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
279
279
|
remove: (id) => editor.remove(ID13.make(id)),
|
|
280
280
|
models: {
|
|
281
281
|
set: (id, models) => editor.models.set(ID13.make(id), models),
|
|
282
|
-
update: (providerID, modelID, update) => editor.models.update(ID13.make(providerID),
|
|
283
|
-
remove: (providerID, modelID) => editor.models.remove(ID13.make(providerID),
|
|
282
|
+
update: (providerID, modelID, update) => editor.models.update(ID13.make(providerID), ID12.make(modelID), update),
|
|
283
|
+
remove: (providerID, modelID) => editor.models.remove(ID13.make(providerID), ID12.make(modelID))
|
|
284
284
|
}
|
|
285
285
|
});
|
|
286
286
|
})
|
|
@@ -291,12 +291,12 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
291
291
|
reload: models.reload,
|
|
292
292
|
transform: (callback) => models.transform((editor) => callback({
|
|
293
293
|
list: (providerID) => editor.list(providerID === undefined ? undefined : ID13.make(providerID)),
|
|
294
|
-
get: (providerID, modelID) => editor.get(ID13.make(providerID),
|
|
295
|
-
update: (providerID, modelID, update) => editor.update(ID13.make(providerID),
|
|
296
|
-
remove: (providerID, modelID) => editor.remove(ID13.make(providerID),
|
|
294
|
+
get: (providerID, modelID) => editor.get(ID13.make(providerID), ID12.make(modelID)),
|
|
295
|
+
update: (providerID, modelID, update) => editor.update(ID13.make(providerID), ID12.make(modelID), update),
|
|
296
|
+
remove: (providerID, modelID) => editor.remove(ID13.make(providerID), ID12.make(modelID)),
|
|
297
297
|
default: {
|
|
298
298
|
get: editor.default.get,
|
|
299
|
-
set: (providerID, modelID) => editor.default.set(ID13.make(providerID),
|
|
299
|
+
set: (providerID, modelID) => editor.default.set(ID13.make(providerID), ID12.make(modelID))
|
|
300
300
|
},
|
|
301
301
|
provider: {
|
|
302
302
|
list: editor.provider.list,
|
|
@@ -431,10 +431,10 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
431
431
|
const ref = locationRef(input);
|
|
432
432
|
if (ref && !isCurrentLocation(ref))
|
|
433
433
|
return Effect.gen(function* () {
|
|
434
|
-
const location = yield*
|
|
435
|
-
const mcp = yield*
|
|
434
|
+
const location = yield* Service83;
|
|
435
|
+
const mcp = yield* Service34;
|
|
436
436
|
return {
|
|
437
|
-
location: new
|
|
437
|
+
location: new Info29({
|
|
438
438
|
directory: location.directory,
|
|
439
439
|
workspaceID: location.workspaceID,
|
|
440
440
|
project: location.project
|
|
@@ -461,9 +461,9 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
461
461
|
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}`)))),
|
|
462
462
|
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}`)))),
|
|
463
463
|
assert: (input) => permission.assert(input).pipe(Effect.catchTags({
|
|
464
|
-
"Permission.BlockedError": (error) => Effect.fail(new
|
|
465
|
-
"Permission.CorrectedError": (error) => Effect.fail(new
|
|
466
|
-
"Session.NotFoundError": (error) => Effect.fail(new
|
|
464
|
+
"Permission.BlockedError": (error) => Effect.fail(new Error3({ message: error.message, error })),
|
|
465
|
+
"Permission.CorrectedError": (error) => Effect.fail(new Error3({ message: error.feedback, error })),
|
|
466
|
+
"Session.NotFoundError": (error) => Effect.fail(new Error3({ message: `Session not found: ${error.sessionID}`, error }))
|
|
467
467
|
}))
|
|
468
468
|
},
|
|
469
469
|
plugin: {
|
|
@@ -488,7 +488,7 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
488
488
|
callback({
|
|
489
489
|
list: () => mutable(editor.list()),
|
|
490
490
|
get: editor.get,
|
|
491
|
-
add: (value) => editor.add(Schema.decodeUnknownSync(
|
|
491
|
+
add: (value) => editor.add(Schema.decodeUnknownSync(Info10)(value)),
|
|
492
492
|
update: editor.update,
|
|
493
493
|
remove: editor.remove
|
|
494
494
|
});
|
|
@@ -519,19 +519,19 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
519
519
|
providers: () => response(websearch.providers()),
|
|
520
520
|
query: (input) => response(websearch.query({
|
|
521
521
|
query: input.query,
|
|
522
|
-
providerID: input.providerID === undefined ? undefined :
|
|
522
|
+
providerID: input.providerID === undefined ? undefined : ID5.make(input.providerID)
|
|
523
523
|
})),
|
|
524
524
|
reload: websearch.reload,
|
|
525
525
|
transform: (callback) => websearch.transform((editor) => {
|
|
526
526
|
callback({
|
|
527
527
|
add: (definition) => editor.add({
|
|
528
|
-
id:
|
|
528
|
+
id: ID5.make(definition.id),
|
|
529
529
|
name: definition.name,
|
|
530
530
|
execute: definition.execute
|
|
531
531
|
}),
|
|
532
532
|
default: {
|
|
533
533
|
get: editor.default.get,
|
|
534
|
-
set: (selection) => editor.default.set(selection === false || selection === "random" ? selection :
|
|
534
|
+
set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID5.make(selection))
|
|
535
535
|
}
|
|
536
536
|
});
|
|
537
537
|
})
|
|
@@ -610,32 +610,32 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
610
610
|
return context;
|
|
611
611
|
});
|
|
612
612
|
var requirements3 = LayerNode.group([
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
613
|
+
node44,
|
|
614
|
+
node61,
|
|
615
|
+
node63,
|
|
616
616
|
node74,
|
|
617
|
-
|
|
618
|
-
|
|
617
|
+
node73,
|
|
618
|
+
node64,
|
|
619
619
|
node90,
|
|
620
|
-
node75,
|
|
621
620
|
node78,
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
621
|
+
node69,
|
|
622
|
+
node37,
|
|
623
|
+
node87,
|
|
624
|
+
node43,
|
|
625
|
+
node28,
|
|
626
|
+
node48,
|
|
627
|
+
node75,
|
|
628
|
+
node26,
|
|
629
|
+
node25,
|
|
630
|
+
node70,
|
|
631
|
+
node71,
|
|
625
632
|
node52,
|
|
626
|
-
node61,
|
|
627
|
-
node40,
|
|
628
633
|
node58,
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
node53,
|
|
633
|
-
node62,
|
|
634
|
-
node68,
|
|
635
|
-
node23,
|
|
634
|
+
node77,
|
|
635
|
+
node29,
|
|
636
|
+
node39,
|
|
636
637
|
node27,
|
|
637
|
-
|
|
638
|
-
node56
|
|
638
|
+
node72
|
|
639
639
|
]);
|
|
640
640
|
function storage2(kv, pluginID) {
|
|
641
641
|
const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./repository-
|
|
4
|
+
} from "./repository-512987xb.js";
|
|
5
5
|
import {
|
|
6
6
|
changes2,
|
|
7
7
|
create3
|
|
@@ -15,27 +15,27 @@ var exports_agent3 = {};
|
|
|
15
15
|
__export(exports_agent3, {
|
|
16
16
|
Agent: () => exports_agent3,
|
|
17
17
|
Color: () => Color2,
|
|
18
|
-
Event: () =>
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
18
|
+
Event: () => Event10,
|
|
19
|
+
ID: () => ID10,
|
|
20
|
+
Info: () => Info13,
|
|
21
21
|
Name: () => Name3,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service58,
|
|
23
23
|
defaultID: () => defaultID2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node61
|
|
25
25
|
});
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Array, Context, Effect, Layer } from "effect";
|
|
28
28
|
import { Agent } from "@opencode/schema/agent";
|
|
29
|
-
import { Event as
|
|
30
|
-
var
|
|
29
|
+
import { Event as Event10 } from "@opencode/schema/agent";
|
|
30
|
+
var ID10 = Agent.ID;
|
|
31
31
|
var Name3 = Agent.Name;
|
|
32
|
-
var defaultID2 =
|
|
32
|
+
var defaultID2 = ID10.make("build");
|
|
33
33
|
var Color2 = Agent.Color;
|
|
34
|
-
var
|
|
34
|
+
var Info13 = Agent.Info;
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service58 extends Context.Service()("@opencode/Agent") {
|
|
37
37
|
}
|
|
38
|
-
var layer = Layer.effect(
|
|
38
|
+
var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
39
39
|
const bus = yield* Service86;
|
|
40
40
|
const selectable = (agent) => agent && agent.mode !== "subagent" && !agent.hidden ? agent : undefined;
|
|
41
41
|
const selectedDefault = (data) => {
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
68
68
|
editor.default = id;
|
|
69
69
|
},
|
|
70
70
|
update: (id, fn) => {
|
|
71
|
-
const current = editor.agents.get(id) ??
|
|
71
|
+
const current = editor.agents.get(id) ?? Info13.default(id);
|
|
72
72
|
if (!editor.agents.has(id))
|
|
73
73
|
editor.agents.set(id, current);
|
|
74
74
|
fn(current);
|
|
@@ -80,7 +80,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
80
80
|
}),
|
|
81
81
|
notify: changes2(list, () => bus.publish(Agent.Event.Updated, {}).pipe(Effect.asVoid))
|
|
82
82
|
});
|
|
83
|
-
return
|
|
83
|
+
return Service58.of({
|
|
84
84
|
transform: state.transform,
|
|
85
85
|
reload: state.reload,
|
|
86
86
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
88
88
|
}),
|
|
89
89
|
resolve: Effect.fnUntraced(function* (id) {
|
|
90
90
|
if (id !== undefined)
|
|
91
|
-
return state.get().agents.get(
|
|
91
|
+
return state.get().agents.get(ID10.make(id));
|
|
92
92
|
return selectedDefault(state.get());
|
|
93
93
|
}),
|
|
94
94
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
@@ -102,6 +102,6 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
102
102
|
})
|
|
103
103
|
});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
105
|
+
var node61 = makeLocationNode({ service: Service58, layer, deps: [node90] });
|
|
106
106
|
|
|
107
|
-
export {
|
|
107
|
+
export { ID10, Name3, defaultID2, Color2, Info13, Service58, node61, exports_agent3, Event10 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref5
|
|
3
|
-
} from "./repository-
|
|
3
|
+
} from "./repository-vavwx7s5.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
6
|
} from "./repository-9rqn6x4v.js";
|
|
@@ -9,9 +9,9 @@ import {
|
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service69,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node72,
|
|
15
15
|
reload: () => reload2
|
|
16
16
|
});
|
|
17
17
|
import { Context, Effect, Exit, Layer, RcMap } from "effect";
|
|
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
|
19
19
|
import { Node } from "@opencode/util/effect/app-node";
|
|
20
20
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
21
21
|
import path from "path";
|
|
22
|
-
class
|
|
22
|
+
class Service69 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
23
23
|
static get(ref) {
|
|
24
|
-
return Layer.unwrap(Effect.map(
|
|
24
|
+
return Layer.unwrap(Effect.map(Service69, (locations) => locations.get(ref)));
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var node72 = LayerNode.unbound(Service69, Node.tags.values.global);
|
|
28
28
|
var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
|
|
29
|
-
const locations = yield*
|
|
29
|
+
const locations = yield* Service69;
|
|
30
30
|
const refs = Array.from(yield* RcMap.keys(locations.rcMap));
|
|
31
31
|
yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
|
|
32
32
|
discard: true,
|
|
@@ -48,4 +48,4 @@ function canonical3(ref) {
|
|
|
48
48
|
});
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Service69, node72, reload2, canonical3, exports_location_service_map };
|
|
@@ -5,9 +5,9 @@ import {
|
|
|
5
5
|
AbsolutePath2
|
|
6
6
|
} from "./repository-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID7,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./repository-
|
|
10
|
+
} from "./repository-28910prs.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
13
|
} from "./repository-9rqn6x4v.js";
|
|
@@ -62,7 +62,7 @@ function parse2(directory, filepath, content) {
|
|
|
62
62
|
return {
|
|
63
63
|
_tag: "Parsed",
|
|
64
64
|
skill: {
|
|
65
|
-
id:
|
|
65
|
+
id: ID7.make(id),
|
|
66
66
|
name: Name2.make(frontmatter.name ?? id),
|
|
67
67
|
...frontmatter.description === undefined ? {} : { description: frontmatter.description },
|
|
68
68
|
...autoinvoke === undefined ? {} : { autoinvoke },
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87,
|
|
3
3
|
node91
|
|
4
|
-
} from "./repository-
|
|
4
|
+
} from "./repository-mna4epf6.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
8
|
} from "./repository-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./repository-
|
|
11
|
+
} from "./repository-11hfp36g.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
14
|
} from "./repository-9rqn6x4v.js";
|
|
@@ -9,11 +9,11 @@ import {
|
|
|
9
9
|
chunksByFile2
|
|
10
10
|
} from "./repository-rb9dy4dg.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./repository-
|
|
12
|
+
Service83
|
|
13
|
+
} from "./repository-vavwx7s5.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./repository-
|
|
16
|
+
} from "./repository-12vcxn89.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
19
|
} from "./repository-9rqn6x4v.js";
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin36,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin36 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
|
-
const location = yield*
|
|
36
|
+
const location = yield* Service83;
|
|
37
37
|
if (location.vcs && location.vcs.type !== "hg")
|
|
38
38
|
return;
|
|
39
39
|
const processes = yield* AppProcess.Service;
|
|
@@ -198,4 +198,4 @@ function makeHg(proc, worktree) {
|
|
|
198
198
|
return { status, diff, branch, ancestor, cat };
|
|
199
199
|
}
|
|
200
200
|
|
|
201
|
-
export {
|
|
201
|
+
export { Plugin36, exports_hg };
|