@opencode/core 0.0.0-dev-20127 → 0.0.0-dev-20131
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{config-t6ka9dx9.js → model-resolver-019v9s6p.js} +20 -20
- package/dist/chunks/{config-0gdmqesm.js → model-resolver-02nrjc1r.js} +8 -8
- package/dist/chunks/{config-2hq4rz85.js → model-resolver-02ycnm9p.js} +9 -9
- package/dist/chunks/{config-sadtqq7n.js → model-resolver-06pr8t08.js} +47 -47
- package/dist/chunks/{config-9hccfhrx.js → model-resolver-0dd3shfy.js} +35 -35
- package/dist/chunks/{config-mx9vqzsb.js → model-resolver-0hf9g8pg.js} +6 -6
- package/dist/chunks/{config-jvjbkr9j.js → model-resolver-0nz87m70.js} +5 -5
- package/dist/chunks/{config-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
- package/dist/chunks/{config-7t3tfz5t.js → model-resolver-11a63abd.js} +18 -18
- package/dist/chunks/{config-cgt6twhd.js → model-resolver-1443xh57.js} +19 -19
- package/dist/chunks/{config-2nfs6qc9.js → model-resolver-148hwcm1.js} +47 -47
- package/dist/chunks/{config-qh9bhcvf.js → model-resolver-14vnkz19.js} +29 -29
- package/dist/chunks/{config-t73e6et9.js → model-resolver-154cngd0.js} +11 -11
- package/dist/chunks/{config-6qg5yf3b.js → model-resolver-1a1kv4b6.js} +20 -20
- package/dist/chunks/{config-1dazxqgg.js → model-resolver-1dazxqgg.js} +2 -2
- package/dist/chunks/{config-6pc27hjz.js → model-resolver-1p07q0wb.js} +8 -8
- package/dist/chunks/{config-wwbfbydv.js → model-resolver-1xdh55zq.js} +23 -23
- package/dist/chunks/{config-21r38tys.js → model-resolver-21r38tys.js} +1 -1
- package/dist/chunks/{config-0pedt0qh.js → model-resolver-26ytv93r.js} +188 -188
- package/dist/chunks/{config-2a5m3afh.js → model-resolver-2a5m3afh.js} +1 -1
- package/dist/chunks/{config-w4rqcj1w.js → model-resolver-2c0njjec.js} +5 -5
- package/dist/chunks/{config-bbf2nzw2.js → model-resolver-2f06ph81.js} +23 -23
- package/dist/chunks/{config-mbmxjtmc.js → model-resolver-2ksgs95r.js} +13 -13
- package/dist/chunks/{config-1rxr7f6r.js → model-resolver-2kze60mb.js} +97 -97
- package/dist/chunks/{config-pjpqce74.js → model-resolver-2pg8f252.js} +10 -13
- package/dist/chunks/{config-pm9twwzx.js → model-resolver-2z2h1d1a.js} +28 -28
- package/dist/chunks/{config-xy5sj35e.js → model-resolver-30h5yzkb.js} +25 -25
- package/dist/chunks/{config-vwxfqwvv.js → model-resolver-312373c7.js} +2 -2
- package/dist/chunks/{config-gbhvfqq2.js → model-resolver-31aac5dg.js} +15 -15
- package/dist/chunks/{config-22aaza4z.js → model-resolver-34ffsfmk.js} +32 -32
- package/dist/chunks/{config-werwj205.js → model-resolver-36cdy2c1.js} +13 -13
- package/dist/chunks/{config-ezbsm7tg.js → model-resolver-36z62d1v.js} +53 -53
- package/dist/chunks/{config-yqqd4sa6.js → model-resolver-380686fe.js} +17 -17
- package/dist/chunks/{config-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
- package/dist/chunks/{config-52zhtxpf.js → model-resolver-3gpdp23k.js} +22 -22
- package/dist/chunks/{config-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
- package/dist/chunks/{config-rw2gjr4k.js → model-resolver-3jbh6hat.js} +29 -29
- package/dist/chunks/{config-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
- package/dist/chunks/{config-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
- package/dist/chunks/{config-3zsf4n22.js → model-resolver-3zsf4n22.js} +1 -1
- package/dist/chunks/{config-4n68vvn4.js → model-resolver-40py8n81.js} +4 -4
- package/dist/chunks/{config-pc13wr2c.js → model-resolver-43xnf7n2.js} +7 -7
- package/dist/chunks/{config-1a4sspre.js → model-resolver-48mqjw6a.js} +4 -4
- package/dist/chunks/{config-7174pgp6.js → model-resolver-4k1ett8m.js} +3 -3
- package/dist/chunks/{config-nr2w2189.js → model-resolver-4qaqz5hy.js} +28 -28
- package/dist/chunks/{config-3nxb9rvh.js → model-resolver-4sn99hha.js} +9 -9
- package/dist/chunks/{config-vkt5fbj2.js → model-resolver-4xhhjths.js} +8 -8
- package/dist/chunks/{config-fps507qa.js → model-resolver-4xkes3e0.js} +28 -28
- package/dist/chunks/{config-drwq78ky.js → model-resolver-57b9ws8p.js} +5 -5
- package/dist/chunks/{config-phwsvaab.js → model-resolver-59tns5gj.js} +3 -3
- package/dist/chunks/{config-xka7mv2v.js → model-resolver-5c96rnmg.js} +9 -9
- package/dist/chunks/{config-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
- package/dist/chunks/{config-p3cpk4pp.js → model-resolver-5fk90ppn.js} +30 -30
- package/dist/chunks/model-resolver-5m5mx5gm.js +252 -0
- package/dist/chunks/{config-e3qxr5gk.js → model-resolver-5qd3pb7m.js} +2 -2
- package/dist/chunks/{config-g5prf4y9.js → model-resolver-5qw9a524.js} +16 -16
- package/dist/chunks/{config-5t3nmthw.js → model-resolver-5t3nmthw.js} +2 -2
- package/dist/chunks/{config-9hn6k4tm.js → model-resolver-5xtgfte3.js} +8 -8
- package/dist/chunks/{config-qm5bh2zg.js → model-resolver-5zmnbfpv.js} +22 -22
- package/dist/chunks/{config-669tq793.js → model-resolver-669tq793.js} +1 -1
- package/dist/chunks/{config-ne09twhz.js → model-resolver-6c4rfp41.js} +29 -29
- package/dist/chunks/{config-6anwy9fs.js → model-resolver-6ersrjne.js} +6 -6
- package/dist/chunks/{config-6hjx5zpb.js → model-resolver-6fatt4mk.js} +9 -9
- package/dist/chunks/{config-6h73sxmp.js → model-resolver-6h73sxmp.js} +1 -1
- package/dist/chunks/model-resolver-6kdq0pjd.js +4 -0
- package/dist/chunks/{config-6msgmcgs.js → model-resolver-6msgmcgs.js} +1 -1
- package/dist/chunks/{config-b3q826kt.js → model-resolver-6zbaf6y6.js} +35 -35
- package/dist/chunks/{config-xka9c7fg.js → model-resolver-79daw15k.js} +19 -19
- package/dist/chunks/{config-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
- package/dist/chunks/{config-sgc52vgw.js → model-resolver-7bw9czss.js} +17 -17
- package/dist/chunks/{config-fcrkznn8.js → model-resolver-7dqw4kz8.js} +5 -5
- package/dist/chunks/{config-jfap9aer.js → model-resolver-7fgmj9zm.js} +52 -52
- package/dist/chunks/model-resolver-7fj5dwt0.js +18 -0
- package/dist/chunks/{config-rk33hdvr.js → model-resolver-7gn1sa53.js} +13 -13
- package/dist/chunks/{config-w87rt6qs.js → model-resolver-7gtkwbed.js} +24 -24
- package/dist/chunks/{config-jcfd94wa.js → model-resolver-7q7n39pe.js} +4 -4
- package/dist/chunks/{config-bpcdvc6b.js → model-resolver-7xpjqkkh.js} +75 -75
- package/dist/chunks/{config-dhwr7h25.js → model-resolver-818pfwc9.js} +11 -11
- package/dist/chunks/{config-nq7qbqzc.js → model-resolver-84zt2byv.js} +9 -9
- package/dist/chunks/{config-9dn6mvr2.js → model-resolver-865wjsr0.js} +6 -6
- package/dist/chunks/{config-8d7r5vzw.js → model-resolver-8d7r5vzw.js} +1 -1
- package/dist/chunks/{config-gy9at9sn.js → model-resolver-8daq0xa6.js} +8 -8
- package/dist/chunks/{config-r1fsesgm.js → model-resolver-8nvr8aa5.js} +92 -92
- package/dist/chunks/{config-yzep51rf.js → model-resolver-8pdtxvwz.js} +30 -30
- package/dist/chunks/{config-2xxgvyge.js → model-resolver-8qxd8ywd.js} +20 -20
- package/dist/chunks/{config-4w6knpbj.js → model-resolver-8rrp652e.js} +45 -45
- package/dist/chunks/{config-94ek1h2f.js → model-resolver-94ek1h2f.js} +2 -2
- package/dist/chunks/{config-zt2th1vh.js → model-resolver-9d2rvs94.js} +30 -30
- package/dist/chunks/{config-ssn372xj.js → model-resolver-9qk46xax.js} +8 -8
- package/dist/chunks/{config-8x96bj0m.js → model-resolver-a2ew8a62.js} +7 -7
- package/dist/chunks/{config-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
- package/dist/chunks/{config-yvppk48a.js → model-resolver-ab36d4rp.js} +30 -30
- package/dist/chunks/{config-1hhnftxq.js → model-resolver-avgcnp2n.js} +27 -27
- package/dist/chunks/{config-6qttmjpq.js → model-resolver-aye9t8w1.js} +11 -11
- package/dist/chunks/{config-9x8w7p4j.js → model-resolver-b10wfwbh.js} +28 -28
- package/dist/chunks/{config-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
- package/dist/chunks/{config-2dnv9bpn.js → model-resolver-b9yq29xv.js} +1 -1
- package/dist/chunks/{config-kne8f3cn.js → model-resolver-baaqp4zd.js} +4 -4
- package/dist/chunks/{config-wvdf2pxg.js → model-resolver-bbqvnk4j.js} +21 -21
- package/dist/chunks/{config-v13penc1.js → model-resolver-bkmpw4ys.js} +42 -42
- package/dist/chunks/{config-tyn74aag.js → model-resolver-bmjpewtg.js} +10 -10
- package/dist/chunks/{config-799hf882.js → model-resolver-bnn3ejb3.js} +18 -18
- package/dist/chunks/{config-dg5bcj4q.js → model-resolver-bscb95cy.js} +6 -6
- package/dist/chunks/{config-vgepzxbh.js → model-resolver-bsqx64w4.js} +4 -4
- package/dist/chunks/{config-jh2rg891.js → model-resolver-c4k5568r.js} +11 -11
- package/dist/chunks/{config-q0hrn92q.js → model-resolver-c8t27pbe.js} +24 -24
- package/dist/chunks/{config-6b65ztv1.js → model-resolver-cfv23f3f.js} +9 -9
- package/dist/chunks/{config-ckecvw8r.js → model-resolver-ckecvw8r.js} +2 -2
- package/dist/chunks/{config-4dgbcxzg.js → model-resolver-cpj0znwe.js} +4 -4
- package/dist/chunks/{config-w2m16rkb.js → model-resolver-cqv513mk.js} +10 -10
- package/dist/chunks/{config-sr5e78z3.js → model-resolver-cre1ds5y.js} +12 -12
- package/dist/chunks/{config-qyhc2ect.js → model-resolver-d39wnbs3.js} +31 -31
- package/dist/chunks/{config-svc2yp16.js → model-resolver-d70vg6w7.js} +5 -5
- package/dist/chunks/{config-8v1m0y60.js → model-resolver-da6awahp.js} +11 -11
- package/dist/chunks/{config-0xytrptb.js → model-resolver-ddvm9hbe.js} +11 -11
- package/dist/chunks/{config-2sejkfem.js → model-resolver-djszqvmq.js} +9 -9
- package/dist/chunks/{config-5y2798r0.js → model-resolver-dt787f91.js} +11 -11
- package/dist/chunks/{config-yp947cz6.js → model-resolver-dz80t97f.js} +8 -8
- package/dist/chunks/{config-adx83z8t.js → model-resolver-e2z5s1q4.js} +35 -35
- package/dist/chunks/{config-nfg9kq59.js → model-resolver-e97x7vbd.js} +21 -21
- package/dist/chunks/{config-akqqet5h.js → model-resolver-e9e65bk8.js} +29 -29
- package/dist/chunks/{config-ecfe7b91.js → model-resolver-ecfe7b91.js} +2 -2
- package/dist/chunks/{config-ef5x83kb.js → model-resolver-ef5x83kb.js} +1 -1
- package/dist/chunks/{config-1dsw9fq7.js → model-resolver-eg6dkfdg.js} +33 -33
- package/dist/chunks/{config-1mxw8x31.js → model-resolver-et80q73h.js} +20 -20
- package/dist/chunks/{config-etq0c3wd.js → model-resolver-etq0c3wd.js} +1 -1
- package/dist/chunks/{config-4ye6r6fn.js → model-resolver-f0f4082g.js} +9 -9
- package/dist/chunks/{config-2v0fm1hw.js → model-resolver-f9fdmeaf.js} +20 -20
- package/dist/chunks/{config-pfc5wcba.js → model-resolver-fb8vwq5a.js} +43 -43
- package/dist/chunks/{config-fxvr7k3s.js → model-resolver-fchfgkaj.js} +3 -3
- package/dist/chunks/{config-8q9k32tn.js → model-resolver-fq1mb532.js} +23 -23
- package/dist/chunks/{config-hy258ha3.js → model-resolver-fv5cfh7k.js} +11 -11
- package/dist/chunks/{config-shpyybr3.js → model-resolver-fwwaqksj.js} +22 -22
- package/dist/chunks/{config-vsp1fds9.js → model-resolver-g190xswt.js} +21 -21
- package/dist/chunks/{config-s6376x3p.js → model-resolver-g220c3ay.js} +17 -17
- package/dist/chunks/{config-a2tjvjty.js → model-resolver-g2yswn4q.js} +25 -25
- package/dist/chunks/{config-z7227wrg.js → model-resolver-g5dq6450.js} +14 -14
- package/dist/chunks/{config-epmkw3y8.js → model-resolver-g5j9y4s8.js} +5 -5
- package/dist/chunks/{config-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
- package/dist/chunks/{config-ymptrdr6.js → model-resolver-geazy0ga.js} +22 -22
- package/dist/chunks/{config-5erymg1w.js → model-resolver-gn5vz676.js} +10 -10
- package/dist/chunks/{config-gv6a8nnw.js → model-resolver-gv6a8nnw.js} +2 -2
- package/dist/chunks/{config-cfavsdh4.js → model-resolver-h52b82t8.js} +11 -11
- package/dist/chunks/{config-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
- package/dist/chunks/{config-5c29qaae.js → model-resolver-h78w9zet.js} +14 -14
- package/dist/chunks/{config-3wd95d96.js → model-resolver-h9yqjvwa.js} +19 -19
- package/dist/chunks/model-resolver-hha64avn.js +26 -0
- package/dist/chunks/{config-rm23jeyq.js → model-resolver-hkagk5ex.js} +2 -2
- package/dist/chunks/{config-n135dnsm.js → model-resolver-hkfaxnqd.js} +20 -20
- package/dist/chunks/{config-515z4g5k.js → model-resolver-hkk23z5q.js} +27 -27
- package/dist/chunks/{config-dpn9gxbb.js → model-resolver-j2gs22te.js} +26 -26
- package/dist/chunks/{config-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
- package/dist/chunks/{config-kkt1pvxq.js → model-resolver-j63mkyf2.js} +48 -48
- package/dist/chunks/{config-qzp3w3dw.js → model-resolver-j85kw5b6.js} +1 -1
- package/dist/chunks/{config-5pt7ermt.js → model-resolver-jc64rqpz.js} +27 -27
- package/dist/chunks/{config-v1djkr2w.js → model-resolver-jdn4y69x.js} +27 -27
- package/dist/chunks/{config-pbas15b9.js → model-resolver-jg7327rx.js} +32 -32
- package/dist/chunks/{config-xvx8kafd.js → model-resolver-jprx4acp.js} +32 -32
- package/dist/chunks/{config-bxk1md5p.js → model-resolver-jpvyrqpf.js} +8 -8
- package/dist/chunks/{config-0br3sbwn.js → model-resolver-k0a3z2qz.js} +4 -4
- package/dist/chunks/{config-v8h8cbks.js → model-resolver-k315xvzq.js} +18 -18
- package/dist/chunks/{config-k3c624dm.js → model-resolver-k3c624dm.js} +3 -3
- package/dist/chunks/{config-yfyk3984.js → model-resolver-k9tmrhf2.js} +24 -24
- package/dist/chunks/{config-c0g3q3bg.js → model-resolver-ktaf8h5s.js} +29 -29
- package/dist/chunks/{config-vcfreb8r.js → model-resolver-ktk6m7yv.js} +12 -12
- package/dist/chunks/{config-pf9pgydg.js → model-resolver-kwrf6mrp.js} +4 -4
- package/dist/chunks/{config-8j7axh46.js → model-resolver-m1g4ddbr.js} +13 -13
- package/dist/chunks/{config-m3fdjcah.js → model-resolver-m3fdjcah.js} +1 -1
- package/dist/chunks/{config-7nbgfms9.js → model-resolver-m8de87mw.js} +18 -18
- package/dist/chunks/{config-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
- package/dist/chunks/{config-1ygqh575.js → model-resolver-mfqp6xfm.js} +6 -6
- package/dist/chunks/{config-j7sgts27.js → model-resolver-mptx0e16.js} +14 -14
- package/dist/chunks/{config-6np4m6hv.js → model-resolver-mt4m7rgv.js} +37 -37
- package/dist/chunks/{config-s26g1336.js → model-resolver-mtxspnbv.js} +6 -6
- package/dist/chunks/{config-73tb2d7t.js → model-resolver-mvfsc1pv.js} +3 -3
- package/dist/chunks/{config-c35kps7f.js → model-resolver-mvpnggzp.js} +19 -19
- package/dist/chunks/{config-2ywgxq1j.js → model-resolver-mw06f09h.js} +4 -4
- package/dist/chunks/{config-zpm5mcr1.js → model-resolver-mxvadrgb.js} +24 -24
- package/dist/chunks/{config-spz7pvpb.js → model-resolver-n06j78b9.js} +35 -35
- package/dist/chunks/{config-ze75yzft.js → model-resolver-n0tq777j.js} +8 -8
- package/dist/chunks/{config-8sbtcq5s.js → model-resolver-n12nh7v3.js} +16 -16
- package/dist/chunks/{config-hw3jf7zs.js → model-resolver-n1vacj9h.js} +17 -17
- package/dist/chunks/{config-6ysrkrkr.js → model-resolver-ncjresk4.js} +8 -8
- package/dist/chunks/{config-grqp3cmb.js → model-resolver-ndmv45hp.js} +3 -3
- package/dist/chunks/{config-az63ayr1.js → model-resolver-ng7mjv9a.js} +7 -7
- package/dist/chunks/{config-m853nhb8.js → model-resolver-nswx804b.js} +5 -5
- package/dist/chunks/{config-v92p9kc0.js → model-resolver-nsyvzat3.js} +65 -65
- package/dist/chunks/{config-3m46j07d.js → model-resolver-nvga8as2.js} +25 -25
- package/dist/chunks/{config-3cz8rj72.js → model-resolver-p44d8wdy.js} +5 -5
- package/dist/chunks/{config-frw0pd7b.js → model-resolver-p5n4cgkg.js} +5 -5
- package/dist/chunks/{config-fze14hen.js → model-resolver-p995c4qr.js} +44 -44
- package/dist/chunks/{config-a7e40s8p.js → model-resolver-pad12jgs.js} +6 -6
- package/dist/chunks/{config-krg1mvne.js → model-resolver-pfk6y5a9.js} +3 -3
- package/dist/chunks/{config-fdzkgkhq.js → model-resolver-phpw85vv.js} +8 -8
- package/dist/chunks/{config-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
- package/dist/chunks/{config-pknna89w.js → model-resolver-pknna89w.js} +1 -1
- package/dist/chunks/{config-10zsszfr.js → model-resolver-prwkcbsp.js} +6 -6
- package/dist/chunks/{config-3h592g7x.js → model-resolver-pvyheege.js} +11 -11
- package/dist/chunks/{config-1mr1eyme.js → model-resolver-pws4t4z4.js} +12 -12
- package/dist/chunks/{config-xc58nfyg.js → model-resolver-pzf166vf.js} +15 -15
- package/dist/chunks/{config-p1nm93x7.js → model-resolver-qn4ba14w.js} +5 -5
- package/dist/chunks/{config-0vk9pt22.js → model-resolver-qrcgjn0g.js} +13 -13
- package/dist/chunks/{config-vt7nys27.js → model-resolver-qrpa6y5p.js} +22 -22
- package/dist/chunks/{config-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
- package/dist/chunks/{config-fcbbx3j9.js → model-resolver-qtg64bph.js} +17 -17
- package/dist/chunks/{config-8cmfe1vg.js → model-resolver-qw9dfm9w.js} +42 -42
- package/dist/chunks/{config-xvfh2x84.js → model-resolver-r1vxhqvv.js} +3 -3
- package/dist/chunks/{config-a0ghkavf.js → model-resolver-r3s0jvgk.js} +11 -11
- package/dist/chunks/{config-f2n192rq.js → model-resolver-r8xr0va3.js} +4 -4
- package/dist/chunks/{config-xdka3trx.js → model-resolver-r94sc7mg.js} +22 -22
- package/dist/chunks/{config-dfe8djrf.js → model-resolver-r98e92ep.js} +4 -4
- package/dist/chunks/{config-ysxwcaka.js → model-resolver-r9gyrj3a.js} +37 -37
- package/dist/chunks/{config-rdw6cm16.js → model-resolver-rdw6cm16.js} +1 -1
- package/dist/chunks/{config-qsr9synt.js → model-resolver-reg6q42h.js} +5 -5
- package/dist/chunks/{config-ffn32vtp.js → model-resolver-rgp9xjnz.js} +9 -9
- package/dist/chunks/{config-v78vw6yh.js → model-resolver-rpdh6k9e.js} +10 -10
- package/dist/chunks/{config-msvrdtvz.js → model-resolver-rz6dkkgy.js} +19 -19
- package/dist/chunks/{config-cnwyxq1e.js → model-resolver-s5e1nvhr.js} +4 -4
- package/dist/chunks/{config-1h60jvfy.js → model-resolver-sekja6vn.js} +32 -32
- package/dist/chunks/{config-2xs629qk.js → model-resolver-skewz91w.js} +8 -8
- package/dist/chunks/model-resolver-sps9zgfa.js +507 -0
- package/dist/chunks/{config-s1b4b48z.js → model-resolver-syb9bdnb.js} +40 -40
- package/dist/chunks/{config-y3842byn.js → model-resolver-tabketkd.js} +23 -23
- package/dist/chunks/{config-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
- package/dist/chunks/{config-cx4bma5z.js → model-resolver-tbggjeq3.js} +11 -11
- package/dist/chunks/{config-tcezcvh9.js → model-resolver-tcezcvh9.js} +1 -1
- package/dist/chunks/{config-b7v4cx43.js → model-resolver-tdpndm1c.js} +5 -5
- package/dist/chunks/{config-tdstcens.js → model-resolver-tdstcens.js} +1 -1
- package/dist/chunks/{config-eddmhssm.js → model-resolver-tep61x30.js} +9 -9
- package/dist/chunks/{config-9q25103b.js → model-resolver-tfe0tp1v.js} +21 -21
- package/dist/chunks/{config-72g3zqyf.js → model-resolver-tj563fq2.js} +12 -12
- package/dist/chunks/{config-z3pw5915.js → model-resolver-tn0aqsam.js} +5 -5
- package/dist/chunks/{config-h5xc503t.js → model-resolver-tr5g7dwj.js} +33 -33
- package/dist/chunks/{config-wt4b75er.js → model-resolver-trkehavn.js} +42 -42
- package/dist/chunks/{config-tvtrv512.js → model-resolver-tvtrv512.js} +1 -1
- package/dist/chunks/{config-jy58bwtx.js → model-resolver-v5w6wnvh.js} +5 -5
- package/dist/chunks/{config-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
- package/dist/chunks/{config-q7tnj3cs.js → model-resolver-vjkdmr6a.js} +60 -60
- package/dist/chunks/{config-6qgk5hzy.js → model-resolver-vnzk026p.js} +15 -15
- package/dist/chunks/{config-1q8wa827.js → model-resolver-vpg6s37p.js} +14 -14
- package/dist/chunks/{config-yxz8806d.js → model-resolver-vs0p53ya.js} +34 -34
- package/dist/chunks/{config-37mwd34b.js → model-resolver-vtpkq4qf.js} +1 -1
- package/dist/chunks/{config-yv1fjq0p.js → model-resolver-vxd8j8jx.js} +11 -11
- package/dist/chunks/{config-vzcthcp8.js → model-resolver-vzcthcp8.js} +1 -1
- package/dist/chunks/{config-vzs5sf6e.js → model-resolver-vzs5sf6e.js} +1 -1
- package/dist/chunks/{config-byggynze.js → model-resolver-w1ab7jb8.js} +21 -21
- package/dist/chunks/{config-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
- package/dist/chunks/{config-wd3x2cqz.js → model-resolver-wd3x2cqz.js} +2 -2
- package/dist/chunks/{config-wd87259q.js → model-resolver-wd87259q.js} +1 -1
- package/dist/chunks/{config-d884m17t.js → model-resolver-wg9731he.js} +3 -3
- package/dist/chunks/{config-b8p7xqbm.js → model-resolver-wgcg4671.js} +7 -7
- package/dist/chunks/{config-zkhserxx.js → model-resolver-wgj8gk84.js} +13 -13
- package/dist/chunks/{config-tazp3vs0.js → model-resolver-wgtcm0m7.js} +4 -4
- package/dist/chunks/{config-jvaehxt1.js → model-resolver-wrmrmykr.js} +9 -9
- package/dist/chunks/{config-20j0fgcq.js → model-resolver-wskc8q6d.js} +11 -11
- package/dist/chunks/{config-b4pwz10k.js → model-resolver-wz37ky42.js} +15 -15
- package/dist/chunks/{config-x1ezjp6w.js → model-resolver-x1ezjp6w.js} +1 -1
- package/dist/chunks/{config-pz8tbp7j.js → model-resolver-x3smdky3.js} +21 -21
- package/dist/chunks/{config-p6ayam82.js → model-resolver-xd8zv5eh.js} +12 -12
- package/dist/chunks/{config-xkntkrq7.js → model-resolver-xkntkrq7.js} +2 -2
- package/dist/chunks/{config-fjkr4zhg.js → model-resolver-xr3c7pyz.js} +22 -22
- package/dist/chunks/{config-p2j1q75x.js → model-resolver-xts25mas.js} +17 -17
- package/dist/chunks/{config-eydfqfz8.js → model-resolver-xwk6kexd.js} +26 -26
- package/dist/chunks/{config-1zh869pz.js → model-resolver-xwmpr423.js} +11 -11
- package/dist/chunks/{config-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
- package/dist/chunks/{config-eahhehpg.js → model-resolver-y6mhz57t.js} +4 -4
- package/dist/chunks/{config-y71avatq.js → model-resolver-y71avatq.js} +1 -1
- package/dist/chunks/{config-f7e5rkha.js → model-resolver-y7mjge6b.js} +10 -10
- package/dist/chunks/{config-a87twgwr.js → model-resolver-yr3xshr9.js} +19 -19
- package/dist/chunks/{config-yrhqyw5v.js → model-resolver-yrhqyw5v.js} +1 -1
- package/dist/chunks/{config-s4enseaf.js → model-resolver-yrznvahk.js} +2 -2
- package/dist/chunks/{config-16g44qj3.js → model-resolver-ys5e46m7.js} +19 -19
- package/dist/chunks/{config-rzs3gq0x.js → model-resolver-yvvvp4gn.js} +8 -8
- package/dist/chunks/{config-z07pqspn.js → model-resolver-z07pqspn.js} +3 -3
- package/dist/chunks/{config-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
- package/dist/chunks/{config-4y7j986s.js → model-resolver-z3nay82g.js} +9 -9
- package/dist/chunks/{config-99wrhtss.js → model-resolver-z4qjxmbw.js} +37 -37
- package/dist/chunks/{config-29x78va6.js → model-resolver-z63w68vq.js} +6 -6
- package/dist/chunks/{config-16kxxb61.js → model-resolver-z9ceva1d.js} +12 -12
- package/dist/chunks/{config-2c60h6pz.js → model-resolver-zbr1vv3b.js} +28 -28
- package/dist/chunks/{config-zeh9ct20.js → model-resolver-zeh9ct20.js} +2 -2
- package/dist/chunks/{config-8ved8jnx.js → model-resolver-zgnhzt77.js} +8 -8
- package/dist/chunks/{config-dssafcpe.js → model-resolver-zp1dewdg.js} +17 -17
- package/dist/chunks/{config-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
- package/dist/chunks/{config-ryjbxne7.js → model-resolver-zx1yj1rb.js} +5 -5
- package/dist/chunks/{config-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +124 -124
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +70 -70
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +91 -91
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +93 -93
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +100 -100
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +362 -362
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +88 -88
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +119 -119
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/compaction.js +133 -133
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +93 -93
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +120 -120
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +96 -96
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +224 -224
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +223 -223
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +89 -89
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +125 -125
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +114 -114
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +119 -119
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/config-0mesazry.js +0 -4
- package/dist/chunks/config-1x11rq2a.js +0 -18
- package/dist/chunks/config-5w2nd07z.js +0 -252
- package/dist/chunks/config-gbs378er.js +0 -26
- package/dist/chunks/config-qvh4m5s3.js +0 -507
- /package/dist/chunks/{config-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{config-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
- /package/dist/chunks/{config-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
- /package/dist/chunks/{config-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
- /package/dist/chunks/{config-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{config-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
- /package/dist/chunks/{config-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
- /package/dist/chunks/{config-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
- /package/dist/chunks/{config-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{config-34c7v6d4.js → model-resolver-34c7v6d4.js} +0 -0
- /package/dist/chunks/{config-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
- /package/dist/chunks/{config-3asan66x.js → model-resolver-3asan66x.js} +0 -0
- /package/dist/chunks/{config-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
- /package/dist/chunks/{config-3w5fmr99.js → model-resolver-3w5fmr99.js} +0 -0
- /package/dist/chunks/{config-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
- /package/dist/chunks/{config-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
- /package/dist/chunks/{config-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
- /package/dist/chunks/{config-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{config-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
- /package/dist/chunks/{config-53557ph1.js → model-resolver-53557ph1.js} +0 -0
- /package/dist/chunks/{config-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
- /package/dist/chunks/{config-6prwharc.js → model-resolver-6prwharc.js} +0 -0
- /package/dist/chunks/{config-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
- /package/dist/chunks/{config-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
- /package/dist/chunks/{config-822emrt2.js → model-resolver-822emrt2.js} +0 -0
- /package/dist/chunks/{config-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
- /package/dist/chunks/{config-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
- /package/dist/chunks/{config-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
- /package/dist/chunks/{config-922hggd3.js → model-resolver-922hggd3.js} +0 -0
- /package/dist/chunks/{config-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
- /package/dist/chunks/{config-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{config-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
- /package/dist/chunks/{config-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
- /package/dist/chunks/{config-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
- /package/dist/chunks/{config-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{config-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
- /package/dist/chunks/{config-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{config-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{config-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
- /package/dist/chunks/{config-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{config-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
- /package/dist/chunks/{config-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{config-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
- /package/dist/chunks/{config-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
- /package/dist/chunks/{config-df08tz66.js → model-resolver-df08tz66.js} +0 -0
- /package/dist/chunks/{config-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
- /package/dist/chunks/{config-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
- /package/dist/chunks/{config-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
- /package/dist/chunks/{config-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
- /package/dist/chunks/{config-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
- /package/dist/chunks/{config-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
- /package/dist/chunks/{config-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
- /package/dist/chunks/{config-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{config-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
- /package/dist/chunks/{config-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
- /package/dist/chunks/{config-fxgpk5d8.js → model-resolver-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{config-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
- /package/dist/chunks/{config-g86h250q.js → model-resolver-g86h250q.js} +0 -0
- /package/dist/chunks/{config-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
- /package/dist/chunks/{config-gftt206x.js → model-resolver-gftt206x.js} +0 -0
- /package/dist/chunks/{config-hjbc5kem.js → model-resolver-hjbc5kem.js} +0 -0
- /package/dist/chunks/{config-hk9envan.js → model-resolver-hk9envan.js} +0 -0
- /package/dist/chunks/{config-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
- /package/dist/chunks/{config-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{config-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
- /package/dist/chunks/{config-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{config-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{config-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{config-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
- /package/dist/chunks/{config-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
- /package/dist/chunks/{config-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
- /package/dist/chunks/{config-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
- /package/dist/chunks/{config-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
- /package/dist/chunks/{config-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
- /package/dist/chunks/{config-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
- /package/dist/chunks/{config-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
- /package/dist/chunks/{config-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
- /package/dist/chunks/{config-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
- /package/dist/chunks/{config-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
- /package/dist/chunks/{config-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
- /package/dist/chunks/{config-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{config-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{config-sk3qaz4a.js → model-resolver-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{config-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
- /package/dist/chunks/{config-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
- /package/dist/chunks/{config-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{config-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
- /package/dist/chunks/{config-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
- /package/dist/chunks/{config-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
- /package/dist/chunks/{config-x61499pn.js → model-resolver-x61499pn.js} +0 -0
- /package/dist/chunks/{config-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
- /package/dist/chunks/{config-y8cydn3q.js → model-resolver-y8cydn3q.js} +0 -0
- /package/dist/chunks/{config-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
- /package/dist/chunks/{config-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{config-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
- /package/dist/chunks/{config-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-cpj0znwe.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service81
|
|
6
|
+
} from "./model-resolver-m8de87mw.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event16
|
|
10
|
+
} from "./model-resolver-n06j78b9.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID8,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-resolver-vs0p53ya.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID7,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service68
|
|
20
|
+
} from "./model-resolver-6zbaf6y6.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID6
|
|
23
|
+
} from "./model-resolver-tr5g7dwj.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
load3,
|
|
26
|
+
derive3
|
|
27
|
+
} from "./model-resolver-geazy0ga.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./model-resolver-fv5cfh7k.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/github-copilot.ts
|
|
33
33
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -59,7 +59,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
59
59
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
60
60
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
61
61
|
var oauth = (app) => ({
|
|
62
|
-
integrationID:
|
|
62
|
+
integrationID: ID8.make("github-copilot"),
|
|
63
63
|
method: {
|
|
64
64
|
id: methodID,
|
|
65
65
|
type: "oauth",
|
|
@@ -157,8 +157,8 @@ var oauth = (app) => ({
|
|
|
157
157
|
var GithubCopilotPlugin2 = define({
|
|
158
158
|
id: "opencode.provider.github.copilot",
|
|
159
159
|
effect: Effect.fn(function* (ctx) {
|
|
160
|
-
const providers = yield*
|
|
161
|
-
const bus = yield*
|
|
160
|
+
const providers = yield* Service68;
|
|
161
|
+
const bus = yield* Service81;
|
|
162
162
|
const loading = Semaphore.makeUnsafe(1);
|
|
163
163
|
const loaded = {};
|
|
164
164
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -173,9 +173,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
173
173
|
return;
|
|
174
174
|
}
|
|
175
175
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
176
|
-
const provider = yield* providers.get(
|
|
176
|
+
const provider = yield* providers.get(ID7.githubCopilot);
|
|
177
177
|
const remote = yield* Effect.tryPromise({
|
|
178
|
-
try: () =>
|
|
178
|
+
try: () => load3(url, {
|
|
179
179
|
...provider?.headers,
|
|
180
180
|
Authorization: `Bearer ${credential.refresh}`,
|
|
181
181
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -194,13 +194,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
194
194
|
editor.method.update(oauth(ctx.app));
|
|
195
195
|
});
|
|
196
196
|
yield* ctx.provider.transform((evt) => {
|
|
197
|
-
const item = evt.get(
|
|
197
|
+
const item = evt.get(ID7.githubCopilot);
|
|
198
198
|
if (!item)
|
|
199
199
|
return;
|
|
200
200
|
if (loaded.models) {
|
|
201
201
|
evt.add({
|
|
202
202
|
info: item.provider,
|
|
203
|
-
models: Array.from(
|
|
203
|
+
models: Array.from(derive3(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
|
|
204
204
|
sourceConnection: loaded.connection
|
|
205
205
|
});
|
|
206
206
|
return;
|
|
@@ -214,17 +214,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
214
214
|
}
|
|
215
215
|
});
|
|
216
216
|
yield* ctx.model.transform((models) => {
|
|
217
|
-
if (models.get(
|
|
218
|
-
models.update(
|
|
217
|
+
if (models.get(ID7.githubCopilot, ID6.make("gpt-5-chat-latest"))) {
|
|
218
|
+
models.update(ID7.githubCopilot, ID6.make("gpt-5-chat-latest"), (model) => {
|
|
219
219
|
model.enabled = false;
|
|
220
220
|
});
|
|
221
221
|
}
|
|
222
222
|
});
|
|
223
223
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
224
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
225
225
|
yield* refresh().pipe(Effect.forkScoped);
|
|
226
226
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
227
|
-
if (evt.model.providerID !==
|
|
227
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
228
228
|
return;
|
|
229
229
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
230
230
|
return;
|
|
@@ -233,7 +233,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
233
233
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
234
234
|
}));
|
|
235
235
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
236
|
-
if (evt.model.providerID !==
|
|
236
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
237
237
|
return;
|
|
238
238
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
239
239
|
return;
|
|
@@ -243,9 +243,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
243
243
|
evt.headers["X-Interaction-Id"] = evt.sessionID;
|
|
244
244
|
if (interaction !== "conversation-agent")
|
|
245
245
|
evt.headers["x-initiator"] = "agent";
|
|
246
|
-
}), { providerID:
|
|
246
|
+
}), { providerID: ID7.githubCopilot });
|
|
247
247
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
248
|
-
if (evt.model.providerID !==
|
|
248
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
249
249
|
return;
|
|
250
250
|
const token = evt.request.headers.get("x-api-key");
|
|
251
251
|
if (!token)
|
|
@@ -253,9 +253,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
253
253
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
254
254
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
255
255
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
256
|
-
}), { providerID:
|
|
256
|
+
}), { providerID: ID7.githubCopilot });
|
|
257
257
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
258
|
-
if (evt.model.providerID !==
|
|
258
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
259
259
|
return;
|
|
260
260
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
261
261
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service81
|
|
3
|
+
} from "./model-resolver-m8de87mw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service14,
|
|
6
|
+
Event2
|
|
7
|
+
} from "./model-resolver-syb9bdnb.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/models-dev.ts
|
|
10
10
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,8 +29,8 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
29
29
|
var ModelsDevPlugin2 = define({
|
|
30
30
|
id: "opencode.models.dev",
|
|
31
31
|
effect: Effect.fn(function* (ctx) {
|
|
32
|
-
const modelsDev = yield*
|
|
33
|
-
const bus = yield*
|
|
32
|
+
const modelsDev = yield* Service14;
|
|
33
|
+
const bus = yield* Service81;
|
|
34
34
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
35
35
|
yield* ctx.integration.transform((integrations) => {
|
|
36
36
|
for (const provider of loaded.data) {
|
|
@@ -63,7 +63,7 @@ var ModelsDevPlugin2 = define({
|
|
|
63
63
|
loaded.data = snapshots(data);
|
|
64
64
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
65
65
|
};
|
|
66
|
-
yield* bus.subscribe(
|
|
66
|
+
yield* bus.subscribe(Event2.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
67
67
|
const latest = yield* modelsDev.get();
|
|
68
68
|
if (snapshots(latest) !== loaded.data)
|
|
69
69
|
yield* apply(latest);
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-defaults.ts
|
|
6
6
|
var exports_mcp_codemode_defaults = {};
|
|
7
7
|
__export(exports_mcp_codemode_defaults, {
|
|
8
8
|
McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin36
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
14
|
var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
|
|
15
15
|
var mode = "x-posthog-mcp-mode";
|
|
16
|
-
var
|
|
16
|
+
var Plugin36 = define({
|
|
17
17
|
id: "opencode.mcp.codemode.defaults",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -38,4 +38,4 @@ var Plugin10 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin36, exports_mcp_codemode_defaults };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service78
|
|
6
|
+
} from "./model-resolver-7bw9czss.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service15
|
|
9
|
+
} from "./model-resolver-zp1dewdg.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service11
|
|
12
|
+
} from "./model-resolver-r94sc7mg.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-resolver-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,17 +23,17 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service12
|
|
27
|
+
} from "./model-resolver-g5dq6450.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
35
|
Input: () => Input3,
|
|
36
|
-
Plugin: () =>
|
|
36
|
+
Plugin: () => Plugin38,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
38
|
name: () => name3,
|
|
39
39
|
toModelContent: () => toModelContent2
|
|
@@ -55,14 +55,14 @@ var LocationInput = Schema.Struct({
|
|
|
55
55
|
});
|
|
56
56
|
var Input3 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin38 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service12;
|
|
62
|
+
const access = yield* Service15;
|
|
63
|
+
const sessionInstructions = yield* Service11;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service78;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
67
|
name: name3,
|
|
68
68
|
options: { codemode: false },
|
|
@@ -181,4 +181,4 @@ var toModelContent2 = (path, offset, output) => {
|
|
|
181
181
|
`);
|
|
182
182
|
};
|
|
183
183
|
|
|
184
|
-
export { name3, Input3,
|
|
184
|
+
export { name3, Input3, Plugin38, toModelContent2, exports_read };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-3w5fmr99.js";
|
|
5
5
|
import {
|
|
6
6
|
extension2,
|
|
7
7
|
display2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-resolver-m3fdjcah.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/codemode/tool.ts
|
|
14
14
|
var exports_tool2 = {};
|
|
@@ -2,34 +2,34 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./model-resolver-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service78
|
|
8
|
+
} from "./model-resolver-7bw9czss.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service64
|
|
11
|
+
} from "./model-resolver-x3smdky3.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service16
|
|
14
|
+
} from "./model-resolver-vnzk026p.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service28,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-resolver-z9ceva1d.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service73
|
|
22
|
+
} from "./model-resolver-nsyvzat3.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service15,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./model-resolver-zp1dewdg.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./model-resolver-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
@@ -38,7 +38,7 @@ __export(exports_patch, {
|
|
|
38
38
|
Input: () => Input11,
|
|
39
39
|
Output: () => Output8,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
41
|
+
Plugin: () => Plugin48,
|
|
42
42
|
name: () => name11,
|
|
43
43
|
toModelContent: () => toModelContent6
|
|
44
44
|
});
|
|
@@ -105,15 +105,15 @@ var toModelContent6 = (output) => [
|
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin48 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
111
|
+
const environment = yield* Service64;
|
|
112
|
+
const access = yield* Service15;
|
|
113
|
+
const fileMutation = yield* Service28;
|
|
114
|
+
const formatter = yield* Service16;
|
|
115
|
+
const location = yield* Service78;
|
|
116
|
+
const permission = yield* Service73;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
118
|
name: name11,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export { name11, Input11, Applied2, Output8, toModelContent6,
|
|
329
|
+
export { name11, Input11, Applied2, Output8, toModelContent6, Plugin48, exports_patch };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
10
|
-
import {
|
|
11
|
-
Service65
|
|
12
|
-
} from "./config-pz8tbp7j.js";
|
|
8
|
+
Service78
|
|
9
|
+
} from "./model-resolver-7bw9czss.js";
|
|
13
10
|
import {
|
|
14
11
|
Service64
|
|
15
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-x3smdky3.js";
|
|
13
|
+
import {
|
|
14
|
+
Service19
|
|
15
|
+
} from "./model-resolver-380686fe.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./model-resolver-w1ab7jb8.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service73
|
|
24
|
+
} from "./model-resolver-nsyvzat3.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service15
|
|
27
|
+
} from "./model-resolver-zp1dewdg.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
36
|
+
Input: () => Input10,
|
|
37
37
|
Output: () => Output7,
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
38
|
+
Plugin: () => Plugin47,
|
|
39
|
+
name: () => name10,
|
|
40
40
|
toModelContent: () => toModelContent5
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name10 = "glob";
|
|
46
|
+
var Input10 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -63,19 +63,19 @@ var toModelContent5 = (entries, truncated = false) => {
|
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin47 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
71
|
-
const location = yield*
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
69
|
+
const environment = yield* Service64;
|
|
70
|
+
const ripgrep = yield* Service19;
|
|
71
|
+
const location = yield* Service78;
|
|
72
|
+
const access = yield* Service15;
|
|
73
|
+
const permission = yield* Service73;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name10,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
78
|
+
input: Input10,
|
|
79
79
|
output: Output7,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
@@ -83,7 +83,7 @@ var Plugin27 = {
|
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name10,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -125,4 +125,4 @@ var Plugin27 = {
|
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name10, Input10, Output7, toModelContent5, Plugin47, exports_glob };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_TOTAL_PATCH_BYTES2,
|
|
10
10
|
emptyPatch2,
|
|
11
11
|
chunksByFile2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-tazgh4e4.js";
|
|
13
13
|
import {
|
|
14
14
|
gitExecutable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-resolver-ef5x83kb.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/git.ts
|
|
21
21
|
var exports_git3 = {};
|
|
@@ -23,11 +23,11 @@ __export(exports_git3, {
|
|
|
23
23
|
Git: () => exports_git3,
|
|
24
24
|
OperationError: () => OperationError3,
|
|
25
25
|
Repository: () => Repository2,
|
|
26
|
-
Service: () =>
|
|
26
|
+
Service: () => Service80,
|
|
27
27
|
TreeID: () => TreeID2,
|
|
28
28
|
Worktree: () => Worktree2,
|
|
29
29
|
WorktreeError: () => WorktreeError2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node83
|
|
31
31
|
});
|
|
32
32
|
import path from "path";
|
|
33
33
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -93,9 +93,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
|
|
|
93
93
|
}) {
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service80 extends Context.Service()("@opencode/Git") {
|
|
97
97
|
}
|
|
98
|
-
var layer = Layer.effect(
|
|
98
|
+
var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
99
99
|
const fs = yield* FSUtil.Service;
|
|
100
100
|
const proc = yield* AppProcess.Service;
|
|
101
101
|
const locks = makeUnsafe2();
|
|
@@ -419,7 +419,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
419
419
|
kind: index === 0 ? "main" : "linked"
|
|
420
420
|
}));
|
|
421
421
|
});
|
|
422
|
-
return
|
|
422
|
+
return Service80.of({
|
|
423
423
|
repo: { discover, clone, create },
|
|
424
424
|
remote: { get: remote },
|
|
425
425
|
history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
|
|
@@ -435,7 +435,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
435
435
|
}
|
|
436
436
|
});
|
|
437
437
|
}));
|
|
438
|
-
var
|
|
438
|
+
var node83 = makeGlobalNode({ service: Service80, layer, deps: [FSUtil.node, AppProcess.node] });
|
|
439
439
|
function run(cwd, proc, args) {
|
|
440
440
|
return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
|
|
441
441
|
}
|
|
@@ -463,4 +463,4 @@ function resolvePath(cwd, value) {
|
|
|
463
463
|
return path.resolve(cwd, normalized);
|
|
464
464
|
}
|
|
465
465
|
|
|
466
|
-
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2,
|
|
466
|
+
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service80, node83, exports_git3 };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/provider-context.ts
|
|
6
6
|
var exports_provider_context = {};
|
|
7
7
|
__export(exports_provider_context, {
|
|
8
|
-
Info: () =>
|
|
8
|
+
Info: () => Info27,
|
|
9
9
|
SessionProviderContext: () => exports_provider_context,
|
|
10
10
|
compatible: () => compatible2,
|
|
11
11
|
decode: () => decode2,
|
|
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
|
|
|
19
19
|
import { Schema } from "effect";
|
|
20
20
|
import { isDeepStrictEqual } from "node:util";
|
|
21
21
|
import { Hash } from "@opencode/util/hash";
|
|
22
|
-
var
|
|
22
|
+
var Info27 = SessionProviderContext.Info;
|
|
23
23
|
var messages = Schema.toCodecJson(Schema.Array(Message));
|
|
24
24
|
function provenance2(resolved) {
|
|
25
25
|
const model = resolved.model;
|
|
@@ -49,4 +49,4 @@ var encode2 = (provenance, replacement) => ({
|
|
|
49
49
|
var decode2 = (context) => Schema.decodeUnknownSync(messages)(context.messages);
|
|
50
50
|
var validate2 = (context) => Schema.decodeUnknownEffect(messages)(context.messages);
|
|
51
51
|
|
|
52
|
-
export {
|
|
52
|
+
export { Info27, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service81,
|
|
4
|
+
node84
|
|
5
|
+
} from "./model-resolver-m8de87mw.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service6,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
|
-
layer: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
layer: () => layer6,
|
|
17
|
+
node: () => node8
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service6 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var
|
|
26
|
-
const bus = yield*
|
|
25
|
+
var layer6 = Layer.effect(Service6, Effect.gen(function* () {
|
|
26
|
+
const bus = yield* Service81;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service6.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node8 = makeGlobalNode({ service: Service6, layer: layer6, deps: [node84] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service6, layer6, node8, exports_sdk };
|