@opencode/core 0.0.0-dev-21317 → 0.0.0-dev-21318
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 +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{rpc-88sybas5.js → persistent-pty-035sr1nw.js} +20 -20
- package/dist/chunks/{rpc-0996nyz8.js → persistent-pty-0996nyz8.js} +2 -2
- package/dist/chunks/{rpc-g8xp5ryd.js → persistent-pty-0fjq3n4t.js} +18 -18
- package/dist/chunks/{rpc-ndq3tns3.js → persistent-pty-0jmk01at.js} +17 -17
- package/dist/chunks/{rpc-7dqw4kz8.js → persistent-pty-0jwsre1p.js} +5 -5
- package/dist/chunks/{rpc-nd22kdkt.js → persistent-pty-0nndfddn.js} +30 -30
- package/dist/chunks/{rpc-hyay7qq8.js → persistent-pty-0rhcgknv.js} +5 -5
- package/dist/chunks/{rpc-0vbcp93d.js → persistent-pty-0vbcp93d.js} +2 -2
- package/dist/chunks/{rpc-davd2qck.js → persistent-pty-17d5gh3d.js} +32 -32
- package/dist/chunks/{rpc-bjx1sjef.js → persistent-pty-1ffvrpkg.js} +6 -6
- package/dist/chunks/{rpc-g1p1atpp.js → persistent-pty-1fj32kga.js} +18 -18
- package/dist/chunks/{rpc-8t9rjyy6.js → persistent-pty-1p3zcfwq.js} +11 -11
- package/dist/chunks/{rpc-njexvj4x.js → persistent-pty-1t2v27cd.js} +51 -51
- package/dist/chunks/{rpc-9p6wdtc7.js → persistent-pty-1wsnph7m.js} +7 -7
- package/dist/chunks/{rpc-gec39g60.js → persistent-pty-20hv8fes.js} +29 -29
- package/dist/chunks/{rpc-qzm6q9ch.js → persistent-pty-23zvew7z.js} +6 -6
- package/dist/chunks/{rpc-dgbwxr57.js → persistent-pty-24f3f4ex.js} +2 -2
- package/dist/chunks/{rpc-tt8gc4fv.js → persistent-pty-25yddszk.js} +3 -3
- package/dist/chunks/{rpc-vnb8gzb8.js → persistent-pty-2688anfm.js} +21 -21
- package/dist/chunks/{rpc-kc4pmtd7.js → persistent-pty-2cd9y53g.js} +17 -17
- package/dist/chunks/{rpc-wddqga6e.js → persistent-pty-2jqwmjzy.js} +11 -11
- package/dist/chunks/{rpc-4hqc72tv.js → persistent-pty-2saep75g.js} +13 -13
- package/dist/chunks/{rpc-3vydj3kq.js → persistent-pty-33b5xt83.js} +5 -5
- package/dist/chunks/{rpc-00jxnzb9.js → persistent-pty-36qpgp0j.js} +3 -3
- package/dist/chunks/{rpc-z2595r2k.js → persistent-pty-38963ezr.js} +15 -15
- package/dist/chunks/{rpc-zq01xz8r.js → persistent-pty-3cqwnyj9.js} +8 -8
- package/dist/chunks/{rpc-enkv1cah.js → persistent-pty-3dk6vdcf.js} +10 -10
- package/dist/chunks/{rpc-08pm112b.js → persistent-pty-3f2ed3kj.js} +46 -46
- package/dist/chunks/{rpc-yy4dw9jz.js → persistent-pty-3gdz7m67.js} +33 -33
- package/dist/chunks/{rpc-2ywtyz89.js → persistent-pty-3h7b0ae1.js} +3 -3
- package/dist/chunks/{rpc-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{rpc-3hwn7j4h.js → persistent-pty-3hwn7j4h.js} +2 -2
- package/dist/chunks/{rpc-z9eaewrq.js → persistent-pty-3r96jsjz.js} +14 -14
- package/dist/chunks/{rpc-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{rpc-j0cdr2fc.js → persistent-pty-3ssz1k3q.js} +8 -8
- package/dist/chunks/{rpc-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{rpc-zz959vma.js → persistent-pty-3y24yfnm.js} +9 -9
- package/dist/chunks/{rpc-3zsf4n22.js → persistent-pty-3zsf4n22.js} +1 -1
- package/dist/chunks/{rpc-ct53serg.js → persistent-pty-4071dj26.js} +8 -8
- package/dist/chunks/{rpc-cyaf7x2b.js → persistent-pty-45swxcnn.js} +43 -43
- package/dist/chunks/{rpc-k9vfwqcy.js → persistent-pty-4e4yjs3s.js} +1 -1
- package/dist/chunks/{rpc-by7vy9ry.js → persistent-pty-4ghta6c5.js} +14 -14
- package/dist/chunks/{rpc-w8djw5a7.js → persistent-pty-4y7j986s.js} +9 -9
- package/dist/chunks/{rpc-0jsbygf3.js → persistent-pty-4zvfssd5.js} +15 -15
- package/dist/chunks/{rpc-q3ctsp6k.js → persistent-pty-514z3gf3.js} +19 -19
- package/dist/chunks/{rpc-54ma36ye.js → persistent-pty-54ma36ye.js} +1 -1
- package/dist/chunks/{rpc-9q9ehedv.js → persistent-pty-55vsgkjg.js} +20 -20
- package/dist/chunks/{rpc-h9v1428w.js → persistent-pty-583x3kah.js} +20 -20
- package/dist/chunks/{rpc-ch6w3xdz.js → persistent-pty-5b77hntt.js} +4 -4
- package/dist/chunks/{rpc-q65b0zw3.js → persistent-pty-5bes61s4.js} +47 -47
- package/dist/chunks/{rpc-5m9w47nd.js → persistent-pty-5m9w47nd.js} +1 -1
- package/dist/chunks/{rpc-5rw40y9k.js → persistent-pty-5mz3x8vb.js} +27 -27
- package/dist/chunks/{rpc-jwwcvrfa.js → persistent-pty-5r7ac250.js} +8 -8
- package/dist/chunks/{rpc-stw4zx2z.js → persistent-pty-5tad8fcc.js} +17 -17
- package/dist/chunks/{rpc-45z2phwr.js → persistent-pty-5wfxtdqx.js} +10 -10
- package/dist/chunks/persistent-pty-5wm8vv17.js +257 -0
- package/dist/chunks/{rpc-qv0sc65t.js → persistent-pty-5xqqgpy7.js} +6 -6
- package/dist/chunks/{rpc-pedttwxr.js → persistent-pty-5y480sgp.js} +8 -8
- package/dist/chunks/{rpc-f7wb66b8.js → persistent-pty-5z5javj1.js} +33 -33
- package/dist/chunks/{rpc-6827pfxn.js → persistent-pty-6827pfxn.js} +1 -1
- package/dist/chunks/{rpc-4032msc3.js → persistent-pty-6bazcnan.js} +14 -14
- package/dist/chunks/{rpc-dn3c1mcf.js → persistent-pty-6d7mtdks.js} +38 -38
- package/dist/chunks/{rpc-t3p0q4cs.js → persistent-pty-6e60yqyp.js} +28 -28
- package/dist/chunks/{rpc-a28109tc.js → persistent-pty-6wqpa5p1.js} +17 -17
- package/dist/chunks/{rpc-6xb47vfp.js → persistent-pty-6xb47vfp.js} +1 -1
- package/dist/chunks/{rpc-x0t5pnxf.js → persistent-pty-6znwa2ze.js} +14 -14
- package/dist/chunks/{rpc-775gj3j1.js → persistent-pty-775gj3j1.js} +2 -2
- package/dist/chunks/{rpc-anrp8nyn.js → persistent-pty-77awh5p4.js} +24 -24
- package/dist/chunks/{rpc-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{rpc-nfaj7hc4.js → persistent-pty-7ht1svp9.js} +8 -8
- package/dist/chunks/{rpc-tynxprqf.js → persistent-pty-7k2k32yg.js} +9 -9
- package/dist/chunks/{rpc-n0aztcqq.js → persistent-pty-7nskfpwv.js} +22 -22
- package/dist/chunks/{rpc-tgv1vth5.js → persistent-pty-8058wneq.js} +15 -15
- package/dist/chunks/{rpc-84txncab.js → persistent-pty-84txncab.js} +1 -1
- package/dist/chunks/{rpc-f15bp7fc.js → persistent-pty-86sh86sv.js} +15 -15
- package/dist/chunks/{rpc-7tv5fpf7.js → persistent-pty-8e9wk3v6.js} +4 -4
- package/dist/chunks/{rpc-8m6m0r52.js → persistent-pty-8m6m0r52.js} +1 -1
- package/dist/chunks/{rpc-8mywswrd.js → persistent-pty-8mywswrd.js} +1 -1
- package/dist/chunks/{rpc-g255r8kb.js → persistent-pty-93c0dbkk.js} +5 -5
- package/dist/chunks/{rpc-ymek8a0n.js → persistent-pty-983z13s5.js} +11 -11
- package/dist/chunks/{rpc-hde8myxm.js → persistent-pty-9a5j5arz.js} +3 -3
- package/dist/chunks/{rpc-2b3xhh1f.js → persistent-pty-9eq17axm.js} +9 -9
- package/dist/chunks/{rpc-td2fazyb.js → persistent-pty-9m1d1fqb.js} +9 -9
- package/dist/chunks/{rpc-enftz5nt.js → persistent-pty-9mawegkx.js} +182 -182
- package/dist/chunks/{rpc-e3gdw1r1.js → persistent-pty-9md2mt7s.js} +24 -24
- package/dist/chunks/persistent-pty-9sh4wc5j.js +18 -0
- package/dist/chunks/{rpc-a20pjse5.js → persistent-pty-a20pjse5.js} +3 -3
- package/dist/chunks/persistent-pty-a3q4bfq8.js +26 -0
- package/dist/chunks/{rpc-0w14remh.js → persistent-pty-a546n9dx.js} +5 -5
- package/dist/chunks/{rpc-x9bjgwq0.js → persistent-pty-a5v8ppv0.js} +11 -11
- package/dist/chunks/{rpc-8frgrze6.js → persistent-pty-a8nkje97.js} +11 -11
- package/dist/chunks/{rpc-4ej1p9w4.js → persistent-pty-adeqnqa8.js} +3 -3
- package/dist/chunks/{rpc-h1sbay6j.js → persistent-pty-am4eehff.js} +12 -12
- package/dist/chunks/{rpc-g7yr8gcf.js → persistent-pty-amtxxzg7.js} +23 -23
- package/dist/chunks/{rpc-1ve1hva8.js → persistent-pty-aqebbdxj.js} +18 -18
- package/dist/chunks/{rpc-58hz9pw6.js → persistent-pty-asnz67s1.js} +32 -32
- package/dist/chunks/{rpc-zrhb62f8.js → persistent-pty-b39zvbqb.js} +14 -14
- package/dist/chunks/{rpc-ecwjgqwb.js → persistent-pty-b5wyey98.js} +36 -36
- package/dist/chunks/{rpc-1mrh27g9.js → persistent-pty-bmc8ajke.js} +17 -17
- package/dist/chunks/{rpc-893fyb3c.js → persistent-pty-btd9bnp8.js} +12 -12
- package/dist/chunks/{rpc-bzeyqsqd.js → persistent-pty-bzeyqsqd.js} +1 -1
- package/dist/chunks/{rpc-rj3eygr5.js → persistent-pty-c41wscbt.js} +2 -2
- package/dist/chunks/{rpc-sa8ekw3f.js → persistent-pty-c8ax2afj.js} +2 -2
- package/dist/chunks/{rpc-tyttjw0w.js → persistent-pty-carh3x97.js} +37 -37
- package/dist/chunks/{rpc-rjnv3zd2.js → persistent-pty-cb7pdjkb.js} +22 -22
- package/dist/chunks/{rpc-pqhm9z8g.js → persistent-pty-cjx84n6d.js} +16 -16
- package/dist/chunks/{rpc-8d6fvqda.js → persistent-pty-cpccs97c.js} +28 -28
- package/dist/chunks/{rpc-d4he2qe1.js → persistent-pty-cwa6csj7.js} +9 -9
- package/dist/chunks/{rpc-s4b91j0y.js → persistent-pty-d4a9a1gx.js} +11 -11
- package/dist/chunks/{rpc-5fgmhshs.js → persistent-pty-drdy3fh6.js} +4 -4
- package/dist/chunks/{rpc-drwq78ky.js → persistent-pty-drwq78ky.js} +1 -1
- package/dist/chunks/{rpc-33v3hd7n.js → persistent-pty-eajddnhb.js} +10 -10
- package/dist/chunks/{rpc-dchhc6c0.js → persistent-pty-eamzdkr9.js} +6 -6
- package/dist/chunks/{rpc-6hh8tjw2.js → persistent-pty-edrmdtr5.js} +7 -7
- package/dist/chunks/{rpc-6thh7prw.js → persistent-pty-edx5d1yh.js} +9 -9
- package/dist/chunks/{rpc-eej6y6fw.js → persistent-pty-eej6y6fw.js} +2 -2
- package/dist/chunks/{rpc-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{rpc-zezswsb1.js → persistent-pty-ef9fmmj9.js} +11 -11
- package/dist/chunks/{rpc-zqq0bw5m.js → persistent-pty-eksc9b63.js} +17 -17
- package/dist/chunks/{rpc-cyawa949.js → persistent-pty-emhr29ne.js} +15 -15
- package/dist/chunks/{rpc-h1p8pfjz.js → persistent-pty-ep3f3pzc.js} +85 -85
- package/dist/chunks/{rpc-7gzma787.js → persistent-pty-eqefekej.js} +4 -4
- package/dist/chunks/{rpc-rccf3xte.js → persistent-pty-er69x7n9.js} +46 -46
- package/dist/chunks/{rpc-c1fqxshp.js → persistent-pty-es1vcfrp.js} +3 -3
- package/dist/chunks/{rpc-k142x1ht.js → persistent-pty-ez3v055x.js} +7 -7
- package/dist/chunks/{rpc-kw8539bv.js → persistent-pty-f6pky1vc.js} +27 -27
- package/dist/chunks/{rpc-5tqfz9j8.js → persistent-pty-fcs9x2eq.js} +16 -16
- package/dist/chunks/{rpc-fcy631f0.js → persistent-pty-fcy631f0.js} +1 -1
- package/dist/chunks/{rpc-0b3mjyaj.js → persistent-pty-fjr4y1sz.js} +35 -35
- package/dist/chunks/{rpc-7jj686hc.js → persistent-pty-fs2f0xkk.js} +19 -19
- package/dist/chunks/{rpc-rptgsz2k.js → persistent-pty-fx5bd5w2.js} +24 -24
- package/dist/chunks/{rpc-zkdr3trz.js → persistent-pty-g0fh3ss2.js} +24 -24
- package/dist/chunks/{rpc-byfnn1yt.js → persistent-pty-g4f8ytex.js} +7 -7
- package/dist/chunks/{rpc-j6ktnsbj.js → persistent-pty-g8mv3vbb.js} +12 -12
- package/dist/chunks/{rpc-r7vb4k0a.js → persistent-pty-gbe60986.js} +12 -12
- package/dist/chunks/{rpc-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{rpc-nw0vbtkz.js → persistent-pty-h03re434.js} +10 -10
- package/dist/chunks/{rpc-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{rpc-dtqg9ce1.js → persistent-pty-h9rm1rrn.js} +5 -5
- package/dist/chunks/{rpc-hgz4x7wa.js → persistent-pty-hgz4x7wa.js} +1 -1
- package/dist/chunks/{rpc-hq3c8me3.js → persistent-pty-hq3c8me3.js} +1 -1
- package/dist/chunks/{rpc-6f0mpgjx.js → persistent-pty-hq42ga31.js} +4 -4
- package/dist/chunks/{rpc-fjat486w.js → persistent-pty-hsm9kfyy.js} +20 -20
- package/dist/chunks/{rpc-cq9r63kb.js → persistent-pty-hsnnjyxg.js} +25 -25
- package/dist/chunks/{rpc-2csyvhj5.js → persistent-pty-j0aph1pe.js} +11 -11
- package/dist/chunks/{rpc-benkh0ne.js → persistent-pty-j15m0rxy.js} +7 -7
- package/dist/chunks/{rpc-4586qpea.js → persistent-pty-j1ycnkr6.js} +4 -4
- package/dist/chunks/{rpc-t8yrtgjx.js → persistent-pty-j4fafyv9.js} +16 -14
- package/dist/chunks/{rpc-cr81ydc1.js → persistent-pty-j6hdhn3t.js} +4 -4
- package/dist/chunks/{rpc-z5xa59k4.js → persistent-pty-jfp883ba.js} +3 -3
- package/dist/chunks/{rpc-spdyatzf.js → persistent-pty-jg4qz7te.js} +24 -24
- package/dist/chunks/{rpc-veff5j2c.js → persistent-pty-jyj86nsz.js} +21 -21
- package/dist/chunks/{rpc-9tk9j4pe.js → persistent-pty-k0y4bd87.js} +29 -29
- package/dist/chunks/{rpc-xhht67kb.js → persistent-pty-k2e5s4re.js} +18 -18
- package/dist/chunks/{rpc-yhvd17me.js → persistent-pty-k41hn50r.js} +25 -23
- package/dist/chunks/{rpc-k76fn4kw.js → persistent-pty-k76fn4kw.js} +1 -1
- package/dist/chunks/{rpc-7a74wjkd.js → persistent-pty-k9rjnmc5.js} +4 -4
- package/dist/chunks/{rpc-kwb1v3vj.js → persistent-pty-kwb1v3vj.js} +1 -1
- package/dist/chunks/{rpc-sce1vgyn.js → persistent-pty-m662wk7b.js} +3 -3
- package/dist/chunks/{rpc-q2rh4y1n.js → persistent-pty-m9sgcpcv.js} +4 -4
- package/dist/chunks/{rpc-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{rpc-bbdjexyb.js → persistent-pty-makc3bj9.js} +32 -32
- package/dist/chunks/{rpc-maspj1v3.js → persistent-pty-maspj1v3.js} +1 -1
- package/dist/chunks/{rpc-csqy2ej0.js → persistent-pty-mb1r8vg9.js} +29 -29
- package/dist/chunks/{rpc-wgcwex3a.js → persistent-pty-me0hkc2z.js} +11 -11
- package/dist/chunks/{rpc-hrfx14v9.js → persistent-pty-mgx30ams.js} +13 -13
- package/dist/chunks/{rpc-02ap8j7c.js → persistent-pty-mk51tt9h.js} +19 -19
- package/dist/chunks/{rpc-nrnz1hj7.js → persistent-pty-mm2wf4xp.js} +47 -47
- package/dist/chunks/{rpc-f4rze370.js → persistent-pty-msxpg58k.js} +5 -5
- package/dist/chunks/{rpc-dpa5xhb4.js → persistent-pty-mxfgkdzc.js} +42 -42
- package/dist/chunks/{rpc-gyyzyjff.js → persistent-pty-mxnmfhj8.js} +31 -31
- package/dist/chunks/{rpc-qjfd8twb.js → persistent-pty-mywch70t.js} +36 -36
- package/dist/chunks/{rpc-fav346qz.js → persistent-pty-n0kentm7.js} +45 -45
- package/dist/chunks/{rpc-3zmp6mvq.js → persistent-pty-n26v5e0b.js} +32 -32
- package/dist/chunks/{rpc-86qzxe6p.js → persistent-pty-n2srvep7.js} +4 -4
- package/dist/chunks/{rpc-kpc1hm91.js → persistent-pty-n87gffhn.js} +9 -9
- package/dist/chunks/{rpc-895gdsnd.js → persistent-pty-na1s3jgb.js} +21 -21
- package/dist/chunks/{rpc-y7nndgyc.js → persistent-pty-nd4tfyg0.js} +9 -9
- package/dist/chunks/{rpc-jhsnzz9y.js → persistent-pty-ny7egkeb.js} +32 -32
- package/dist/chunks/{rpc-pzkkvw2v.js → persistent-pty-nyydq7ew.js} +5 -5
- package/dist/chunks/{rpc-79dmsh4f.js → persistent-pty-nz47wyzy.js} +10 -10
- package/dist/chunks/{rpc-nz56sr1f.js → persistent-pty-nz56sr1f.js} +2 -2
- package/dist/chunks/{rpc-zjx3dfpq.js → persistent-pty-pah6vszw.js} +54 -54
- package/dist/chunks/{rpc-hqqv916v.js → persistent-pty-phvw6tnp.js} +18 -18
- package/dist/chunks/{rpc-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{rpc-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
- package/dist/chunks/{rpc-4bgz7na6.js → persistent-pty-pv0cg4pn.js} +13 -13
- package/dist/chunks/{rpc-8brhn7pv.js → persistent-pty-pzs9fcbn.js} +82 -82
- package/dist/chunks/{rpc-m772a2nk.js → persistent-pty-q2mbf3pn.js} +23 -23
- package/dist/chunks/{rpc-bx9tw11q.js → persistent-pty-q37amjjg.js} +8 -8
- package/dist/chunks/{rpc-sygj34gt.js → persistent-pty-q7468z42.js} +21 -21
- package/dist/chunks/{rpc-kyn2zspx.js → persistent-pty-qaswbwd2.js} +18 -18
- package/dist/chunks/{rpc-6e5y98rw.js → persistent-pty-qeee8n96.js} +2 -2
- package/dist/chunks/{rpc-7hx68391.js → persistent-pty-qkt0m9pt.js} +25 -25
- package/dist/chunks/{rpc-qnc92qwc.js → persistent-pty-qnc92qwc.js} +1 -1
- package/dist/chunks/{rpc-dsdptgac.js → persistent-pty-qnjyk5by.js} +38 -38
- package/dist/chunks/{rpc-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
- package/dist/chunks/{rpc-r2z489rp.js → persistent-pty-r2z489rp.js} +1 -1
- package/dist/chunks/{rpc-nxwp04ag.js → persistent-pty-r66vvgts.js} +22 -22
- package/dist/chunks/{rpc-rdw6cm16.js → persistent-pty-rdw6cm16.js} +1 -1
- package/dist/chunks/persistent-pty-rety19fn.js +517 -0
- package/dist/chunks/{rpc-rkprpv83.js → persistent-pty-rkprpv83.js} +2 -2
- package/dist/chunks/{rpc-p7ewv77c.js → persistent-pty-rq7yc33n.js} +5 -5
- package/dist/chunks/{rpc-ss358qx3.js → persistent-pty-rrt0a0ha.js} +3 -3
- package/dist/chunks/{rpc-qc67d349.js → persistent-pty-rs9qg7cf.js} +11 -11
- package/dist/chunks/{rpc-bc9tah8j.js → persistent-pty-rzs3gq0x.js} +8 -8
- package/dist/chunks/{rpc-txm3e8qz.js → persistent-pty-s2z0d44b.js} +4 -4
- package/dist/chunks/{rpc-77a8pby6.js → persistent-pty-s33waz5b.js} +26 -26
- package/dist/chunks/{rpc-czvnsba0.js → persistent-pty-s670sq9m.js} +11 -11
- package/dist/chunks/{rpc-76yfn11e.js → persistent-pty-s6an5wth.js} +21 -21
- package/dist/chunks/{rpc-pb6e7513.js → persistent-pty-sk770vk8.js} +34 -34
- package/dist/chunks/{rpc-70wbgdde.js → persistent-pty-sm301jd3.js} +5 -5
- package/dist/chunks/{rpc-hw77q6fs.js → persistent-pty-sqk4q3nv.js} +11 -11
- package/dist/chunks/{rpc-b6ksnx6d.js → persistent-pty-sqmmasjp.js} +19 -19
- package/dist/chunks/{rpc-bc1qbg2y.js → persistent-pty-sx8q409h.js} +50 -50
- package/dist/chunks/{rpc-7pgfbpgc.js → persistent-pty-sxvetcyn.js} +25 -25
- package/dist/chunks/{rpc-syv4x271.js → persistent-pty-syv4x271.js} +1 -1
- package/dist/chunks/{rpc-q2wkjcq3.js → persistent-pty-t1ndffwz.js} +11 -11
- package/dist/chunks/{rpc-2s32b1pm.js → persistent-pty-t4b6mted.js} +2 -2
- package/dist/chunks/{rpc-jr66w75k.js → persistent-pty-t4q75hqt.js} +5 -5
- package/dist/chunks/{rpc-eaj1djv9.js → persistent-pty-t550f9t1.js} +8 -8
- package/dist/chunks/{rpc-jsba75yt.js → persistent-pty-t7errb51.js} +4 -4
- package/dist/chunks/{rpc-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{rpc-tcezcvh9.js → persistent-pty-tcezcvh9.js} +1 -1
- package/dist/chunks/{rpc-4kvrjvaf.js → persistent-pty-tcyndk34.js} +13 -13
- package/dist/chunks/{rpc-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
- package/dist/chunks/{rpc-rert0e01.js → persistent-pty-tkb22qbm.js} +2 -2
- package/dist/chunks/{rpc-tm0kqsz3.js → persistent-pty-tm0kqsz3.js} +1 -1
- package/dist/chunks/{rpc-cmwkp3r5.js → persistent-pty-tpw6cwsb.js} +8 -8
- package/dist/chunks/{rpc-ftm64v0w.js → persistent-pty-tv4xwgy3.js} +18 -18
- package/dist/chunks/{rpc-5pczf1s7.js → persistent-pty-ty2f7v9a.js} +10 -10
- package/dist/chunks/{rpc-tyytaxap.js → persistent-pty-tyytaxap.js} +1 -1
- package/dist/chunks/{rpc-01eq5551.js → persistent-pty-v40z4tye.js} +55 -55
- package/dist/chunks/{rpc-v7p4zvkq.js → persistent-pty-v7p4zvkq.js} +2 -2
- package/dist/chunks/{rpc-5bjhv7bx.js → persistent-pty-v9dvedb1.js} +13 -13
- package/dist/chunks/{rpc-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
- package/dist/chunks/{rpc-hkq80jaq.js → persistent-pty-vh14538p.js} +16 -16
- package/dist/chunks/{rpc-aha1yb52.js → persistent-pty-vhgfq7sf.js} +19 -19
- package/dist/chunks/{rpc-5dsat6dj.js → persistent-pty-vpzmhxff.js} +9 -9
- package/dist/chunks/{rpc-mmpzk464.js → persistent-pty-vqeemvyx.js} +20 -20
- package/dist/chunks/{rpc-ggbh8asv.js → persistent-pty-vqsk1a30.js} +13 -13
- package/dist/chunks/{rpc-g6yfr6ja.js → persistent-pty-vrrq7v3g.js} +5 -5
- package/dist/chunks/{rpc-5qrjjsm0.js → persistent-pty-vy5j2tyc.js} +1 -1
- package/dist/chunks/{rpc-vzs5sf6e.js → persistent-pty-vzs5sf6e.js} +1 -1
- package/dist/chunks/{rpc-ccnr14qc.js → persistent-pty-w1w1g3rz.js} +11 -11
- package/dist/chunks/{rpc-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{rpc-1g16v4dv.js → persistent-pty-w7vq87x6.js} +16 -16
- package/dist/chunks/{rpc-v7z2bvyd.js → persistent-pty-wa9g86nq.js} +4 -4
- package/dist/chunks/{rpc-cdpaedqb.js → persistent-pty-wbk0qewy.js} +11 -11
- package/dist/chunks/{rpc-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
- package/dist/chunks/{rpc-972jds6k.js → persistent-pty-wgahhr0x.js} +8 -8
- package/dist/chunks/{rpc-sq13d96m.js → persistent-pty-whb9jbcp.js} +8 -8
- package/dist/chunks/{rpc-0hy8befc.js → persistent-pty-x39rm370.js} +21 -21
- package/dist/chunks/{rpc-db2wf4at.js → persistent-pty-x661k3y3.js} +4 -4
- package/dist/chunks/{rpc-1vm2jr1m.js → persistent-pty-x6msxz42.js} +21 -21
- package/dist/chunks/{rpc-v210v162.js → persistent-pty-x8ga927e.js} +7 -7
- package/dist/chunks/{rpc-7vws6z87.js → persistent-pty-x9yke5vr.js} +11 -11
- package/dist/chunks/{rpc-xjz1052a.js → persistent-pty-xaazkcd4.js} +15 -15
- package/dist/chunks/{rpc-0hf9g8pg.js → persistent-pty-xcd0eash.js} +6 -6
- package/dist/chunks/{rpc-teyvr9pn.js → persistent-pty-xda8t08s.js} +15 -15
- package/dist/chunks/{rpc-q5acm4m4.js → persistent-pty-xnc4q7tf.js} +19 -19
- package/dist/chunks/{rpc-wwrfz3b0.js → persistent-pty-xxsrzv4p.js} +36 -36
- package/dist/chunks/{rpc-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{rpc-hy1sb00p.js → persistent-pty-y40k0vp3.js} +30 -30
- package/dist/chunks/{rpc-y71avatq.js → persistent-pty-y71avatq.js} +1 -1
- package/dist/chunks/{rpc-sw038fb9.js → persistent-pty-y8p4cb47.js} +15 -15
- package/dist/chunks/{rpc-f5arb8be.js → persistent-pty-ydkcdr9n.js} +26 -26
- package/dist/chunks/{rpc-6q7pxhem.js → persistent-pty-ye0tt9gc.js} +4 -4
- package/dist/chunks/{rpc-megydfs1.js → persistent-pty-yf9n42xk.js} +6 -6
- package/dist/chunks/{rpc-gj71zhbs.js → persistent-pty-ygdna4kr.js} +5 -5
- package/dist/chunks/{rpc-yp2x3t23.js → persistent-pty-yp2x3t23.js} +1 -1
- package/dist/chunks/{rpc-8fvc1552.js → persistent-pty-yysedm6f.js} +30 -30
- package/dist/chunks/{rpc-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{rpc-gbtxxg6d.js → persistent-pty-z0gbbqnd.js} +33 -33
- package/dist/chunks/{rpc-z18fegx4.js → persistent-pty-z18fegx4.js} +1 -1
- package/dist/chunks/{rpc-wr93r6cw.js → persistent-pty-zft5sqdw.js} +18 -18
- package/dist/chunks/{rpc-76rvckpe.js → persistent-pty-zjtrsxny.js} +5 -5
- package/dist/chunks/{rpc-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{rpc-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
- package/dist/chunks/{rpc-9z8xgd1b.js → persistent-pty-zz9094w6.js} +15 -15
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- 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 +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +206 -206
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +68 -68
- 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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- 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 +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +215 -215
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +106 -106
- 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 +93 -93
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +98 -98
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +86 -86
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +114 -114
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +5 -5
- 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 +219 -219
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +103 -103
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +136 -136
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +213 -213
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +157 -157
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +91 -91
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +1 -1
- package/dist/session/runner/llm.js +223 -223
- 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 +115 -115
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- 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 +206 -206
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- 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 +9 -9
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +95 -95
- 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 +130 -130
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +118 -118
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- 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 +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- 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 +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/rpc-1rnp160z.js +0 -257
- package/dist/chunks/rpc-vnkjks7b.js +0 -18
- package/dist/chunks/rpc-y9sqk9tm.js +0 -517
- package/dist/chunks/rpc-zgrqbn7y.js +0 -26
- /package/dist/chunks/{rpc-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{rpc-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{rpc-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{rpc-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{rpc-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{rpc-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{rpc-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{rpc-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{rpc-2bv980vf.js → persistent-pty-2bv980vf.js} +0 -0
- /package/dist/chunks/{rpc-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{rpc-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{rpc-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
- /package/dist/chunks/{rpc-3t0ybcrp.js → persistent-pty-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{rpc-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{rpc-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{rpc-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{rpc-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{rpc-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{rpc-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{rpc-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
- /package/dist/chunks/{rpc-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{rpc-5qd3pb7m.js → persistent-pty-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{rpc-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
- /package/dist/chunks/{rpc-6q2bdcd1.js → persistent-pty-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{rpc-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{rpc-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{rpc-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
- /package/dist/chunks/{rpc-84wd9syh.js → persistent-pty-84wd9syh.js} +0 -0
- /package/dist/chunks/{rpc-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{rpc-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{rpc-8wj87zfr.js → persistent-pty-8wj87zfr.js} +0 -0
- /package/dist/chunks/{rpc-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{rpc-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{rpc-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{rpc-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{rpc-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{rpc-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{rpc-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{rpc-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{rpc-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{rpc-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{rpc-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{rpc-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{rpc-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{rpc-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{rpc-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{rpc-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
- /package/dist/chunks/{rpc-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{rpc-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{rpc-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{rpc-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{rpc-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{rpc-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{rpc-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{rpc-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{rpc-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{rpc-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{rpc-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{rpc-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
- /package/dist/chunks/{rpc-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{rpc-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
- /package/dist/chunks/{rpc-hcxmzztb.js → persistent-pty-hcxmzztb.js} +0 -0
- /package/dist/chunks/{rpc-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
- /package/dist/chunks/{rpc-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{rpc-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{rpc-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{rpc-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{rpc-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{rpc-jze0r7bz.js → persistent-pty-jze0r7bz.js} +0 -0
- /package/dist/chunks/{rpc-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{rpc-m18g726c.js → persistent-pty-m18g726c.js} +0 -0
- /package/dist/chunks/{rpc-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{rpc-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{rpc-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{rpc-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{rpc-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{rpc-pkyv6v7h.js → persistent-pty-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{rpc-pyv0edze.js → persistent-pty-pyv0edze.js} +0 -0
- /package/dist/chunks/{rpc-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{rpc-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{rpc-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{rpc-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{rpc-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{rpc-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{rpc-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{rpc-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{rpc-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{rpc-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{rpc-ve7vex1e.js → persistent-pty-ve7vex1e.js} +0 -0
- /package/dist/chunks/{rpc-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{rpc-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{rpc-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{rpc-wjj7prxr.js → persistent-pty-wjj7prxr.js} +0 -0
- /package/dist/chunks/{rpc-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{rpc-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{rpc-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
- /package/dist/chunks/{rpc-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{rpc-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{rpc-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{rpc-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{rpc-z5v4ffb3.js → persistent-pty-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{rpc-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
|
@@ -2,28 +2,28 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service85,
|
|
4
4
|
node89
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./persistent-pty-hq42ga31.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service70,
|
|
8
|
+
node73
|
|
9
|
+
} from "./persistent-pty-3dk6vdcf.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event15,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service69,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
26
|
-
resolve: () =>
|
|
25
|
+
node: () => node72,
|
|
26
|
+
resolve: () => resolve2
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
29
29
|
import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service69 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event15 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var requestTimeout = "15 seconds";
|
|
@@ -57,7 +57,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
|
57
57
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
58
58
|
return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.timeout(requestTimeout), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
|
|
59
59
|
});
|
|
60
|
-
var
|
|
60
|
+
var resolve2 = Effect.fn("WellKnown.resolve")(function* (input) {
|
|
61
61
|
const manifest = yield* inspect2(input.origin);
|
|
62
62
|
return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
|
|
63
63
|
});
|
|
@@ -79,9 +79,9 @@ var Sources = Schema.Array(Schema.String);
|
|
|
79
79
|
var manifestKey = (origin) => `wellknown:manifest:${origin}`;
|
|
80
80
|
var configKey = (origin) => `wellknown:config:${origin}`;
|
|
81
81
|
var Configs = Schema.Array(Config2);
|
|
82
|
-
var layer = Layer.effect(
|
|
82
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
83
83
|
const http = yield* HttpClient.HttpClient;
|
|
84
|
-
const kv = yield*
|
|
84
|
+
const kv = yield* Service70;
|
|
85
85
|
const bus = yield* Service85;
|
|
86
86
|
const cache = yield* Ref.make(new Map);
|
|
87
87
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -113,10 +113,10 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
113
113
|
if (!changed)
|
|
114
114
|
return false;
|
|
115
115
|
yield* Ref.set(cache, next);
|
|
116
|
-
yield* bus.publish(
|
|
116
|
+
yield* bus.publish(Event15.Updated, {}, { global: true });
|
|
117
117
|
return true;
|
|
118
118
|
}, (effect) => lock.withPermit(effect));
|
|
119
|
-
return
|
|
119
|
+
return Service69.of({
|
|
120
120
|
entries: load,
|
|
121
121
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
122
122
|
refresh,
|
|
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
129
129
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
130
130
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
131
131
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
132
|
-
yield* bus.publish(
|
|
132
|
+
yield* bus.publish(Event15.Updated, {}, { global: true });
|
|
133
133
|
return entry;
|
|
134
134
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
135
135
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -144,7 +144,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
144
144
|
next.delete(origin);
|
|
145
145
|
return next;
|
|
146
146
|
});
|
|
147
|
-
yield* bus.publish(
|
|
147
|
+
yield* bus.publish(Event15.Updated, {}, { global: true });
|
|
148
148
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
149
149
|
resolve: Effect.fn("WellKnown.resolveEntry")(function* (entry, variables) {
|
|
150
150
|
const configs = yield* resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http));
|
|
@@ -157,6 +157,6 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
157
157
|
})
|
|
158
158
|
});
|
|
159
159
|
}));
|
|
160
|
-
var
|
|
160
|
+
var node72 = makeGlobalNode({ service: Service69, layer, deps: [httpClient, node73, node89] });
|
|
161
161
|
|
|
162
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
162
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service69, Event15, inspect2, resolve2, node72, exports_wellknown };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service58
|
|
3
|
+
} from "./persistent-pty-v40z4tye.js";
|
|
4
4
|
import {
|
|
5
5
|
ID4,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service45
|
|
10
|
+
} from "./persistent-pty-tv4xwgy3.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
16
|
+
var exports_skill = {};
|
|
17
|
+
__export(exports_skill, {
|
|
18
18
|
Input: () => Input13,
|
|
19
19
|
Output: () => Output9,
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
20
|
+
Plugin: () => Plugin15,
|
|
21
|
+
SkillTool: () => exports_skill,
|
|
22
22
|
description: () => description5,
|
|
23
23
|
name: () => name13,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
@@ -43,12 +43,12 @@ var description5 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin15 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service45;
|
|
51
|
+
const permission = yield* Service58;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
53
|
name: name13,
|
|
54
54
|
options: { codemode: false },
|
|
@@ -79,4 +79,4 @@ var Plugin50 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export { name13, Input13, Output9, description5, toModelOutput2,
|
|
82
|
+
export { name13, Input13, Output9, description5, toModelOutput2, Plugin15, exports_skill };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info6,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info6 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info6, exports_mcp5 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service39
|
|
4
|
+
} from "./persistent-pty-er69x7n9.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service49
|
|
7
|
+
} from "./persistent-pty-z0gbbqnd.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
17
17
|
__export(exports_snapshot, {
|
|
18
18
|
ConfigSnapshotPlugin: () => exports_snapshot,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin49
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin49 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service39;
|
|
27
|
+
const snapshot = yield* Service49;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -35,4 +35,4 @@ var Plugin30 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin49, exports_snapshot };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-3h7b0ae1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service52
|
|
6
|
+
} from "./persistent-pty-xcd0eash.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-9sh4wc5j.js";
|
|
10
10
|
import {
|
|
11
11
|
preview2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-7ht1svp9.js";
|
|
13
13
|
import {
|
|
14
14
|
baseTranscript2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./persistent-pty-6e60yqyp.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service25
|
|
18
|
+
} from "./persistent-pty-pzs9fcbn.js";
|
|
19
19
|
import {
|
|
20
20
|
retry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./persistent-pty-fcy631f0.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
|
-
var
|
|
28
|
-
__export(
|
|
29
|
-
SessionGenerate: () =>
|
|
27
|
+
var exports_generate2 = {};
|
|
28
|
+
__export(exports_generate2, {
|
|
29
|
+
SessionGenerate: () => exports_generate2,
|
|
30
30
|
generate: () => generate2
|
|
31
31
|
});
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service52;
|
|
36
36
|
const database = yield* Service86;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service25;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, model.ref);
|
|
@@ -71,4 +71,4 @@ var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
|
71
71
|
}).pipe(instances.provide(input.session));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { generate2,
|
|
74
|
+
export { generate2, exports_generate2 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-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: () => Plugin32
|
|
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 Plugin32 = 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 Plugin17 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin32, exports_mcp_codemode_defaults };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
create3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-rdw6cm16.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool-output.ts
|
|
12
12
|
var exports_tool_output2 = {};
|
|
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
|
|
|
15
15
|
MAX_BYTES: () => MAX_BYTES2,
|
|
16
16
|
MAX_LINES: () => MAX_LINES2,
|
|
17
17
|
RETENTION: () => RETENTION3,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service66,
|
|
19
19
|
ToolOutput: () => exports_tool_output2,
|
|
20
20
|
fileName: () => fileName2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node69
|
|
22
22
|
});
|
|
23
23
|
import path from "path";
|
|
24
24
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
|
|
|
32
32
|
var DIRECTORY3 = "tool-output";
|
|
33
33
|
var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service66 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
116
116
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
117
117
|
};
|
|
118
118
|
});
|
|
119
|
-
return
|
|
119
|
+
return Service66.of({
|
|
120
120
|
transform: state.transform,
|
|
121
121
|
reload: state.reload,
|
|
122
122
|
truncate,
|
|
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
133
133
|
layer: cleanupLayer,
|
|
134
134
|
deps: [FSUtil.node, Global.node]
|
|
135
135
|
});
|
|
136
|
-
var
|
|
137
|
-
service:
|
|
136
|
+
var node69 = makeLocationNode({
|
|
137
|
+
service: Service66,
|
|
138
138
|
layer,
|
|
139
139
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
140
140
|
});
|
|
141
141
|
|
|
142
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2,
|
|
142
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service66, node69, exports_tool_output2 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getViewSelectedFieldsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/select.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
7
7
|
__export(exports_driver, {
|
|
8
8
|
Binding: () => Binding2,
|
|
9
|
-
Error: () =>
|
|
9
|
+
Error: () => Error5,
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
|
-
make: () =>
|
|
14
|
-
node: () =>
|
|
13
|
+
make: () => make21,
|
|
14
|
+
node: () => node88,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -19,7 +19,7 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
20
20
|
var Binding2 = Schema.Record(Schema.String, Schema.Json);
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class Error5 extends Schema.TaggedError()("WorkspaceDriver.Error", {
|
|
23
23
|
message: Schema.optional(Schema.String),
|
|
24
24
|
cause: Schema.optional(Schema.Defect())
|
|
25
25
|
}) {
|
|
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
|
|
|
29
29
|
provider: Schema.String
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var make21 = (driver) => driver;
|
|
33
33
|
|
|
34
34
|
class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
|
|
35
35
|
}
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node88 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2,
|
|
49
|
+
export { Binding2, Error5, ProviderNotFound2, make21, RegistryService2, registry2, registryNode2, node88, exports_driver };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Service56,
|
|
3
3
|
node58
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-45swxcnn.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./persistent-pty-rrt0a0ha.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/session/runner/model.ts
|
|
13
13
|
var exports_model = {};
|
|
@@ -16,7 +16,7 @@ __export(exports_model, {
|
|
|
16
16
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
17
17
|
Service: () => Service54,
|
|
18
18
|
SessionRunnerModel: () => exports_model,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node56,
|
|
20
20
|
resolved: () => resolved2
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -55,7 +55,7 @@ var resolved2 = (model, options) => ({
|
|
|
55
55
|
transport: options.transport
|
|
56
56
|
});
|
|
57
57
|
var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
58
|
-
const resolver = yield*
|
|
58
|
+
const resolver = yield* Service56;
|
|
59
59
|
return Service54.of({
|
|
60
60
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
61
61
|
if (!session.model) {
|
|
@@ -74,6 +74,6 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
}));
|
|
77
|
-
var
|
|
77
|
+
var node56 = makeLocationNode({ service: Service54, layer, deps: [node58] });
|
|
78
78
|
|
|
79
|
-
export { ModelNotSelectedError2, ModelUnavailableError2, Service54, resolved2,
|
|
79
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, Service54, resolved2, node56, exports_model };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service39
|
|
4
|
+
} from "./persistent-pty-er69x7n9.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./persistent-pty-qsdy395h.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service58
|
|
10
|
+
} from "./persistent-pty-v40z4tye.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/todo.ts
|
|
16
16
|
var exports_todo = {};
|
|
17
17
|
__export(exports_todo, {
|
|
18
18
|
Info: () => Info2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
Output: () =>
|
|
21
|
-
Plugin: () =>
|
|
19
|
+
Input: () => Input7,
|
|
20
|
+
Output: () => Output4,
|
|
21
|
+
Plugin: () => Plugin7,
|
|
22
22
|
TodoTool: () => exports_todo,
|
|
23
|
-
name: () =>
|
|
23
|
+
name: () => name7,
|
|
24
24
|
summarize: () => summarize2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
@@ -37,17 +37,17 @@ Use it proactively when a task has 3 or more distinct steps, or when the user gi
|
|
|
37
37
|
`;
|
|
38
38
|
|
|
39
39
|
// src/tool/plugin/todo.ts
|
|
40
|
-
var
|
|
40
|
+
var name7 = "todowrite";
|
|
41
41
|
var Info2 = Schema.Struct({
|
|
42
42
|
content: Schema.String.annotate({ description: "Brief description of the task" }),
|
|
43
43
|
status: Schema.Literals(["pending", "in_progress", "completed", "cancelled"]).annotate({
|
|
44
44
|
description: "Current status of the task: pending, in_progress, completed, cancelled"
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var Input7 = Schema.Struct({
|
|
48
48
|
todos: Schema.Array(Info2).annotate({ description: "The updated todo list" })
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Output4 = Schema.Struct({
|
|
51
51
|
todos: Schema.Array(Info2)
|
|
52
52
|
});
|
|
53
53
|
var summarize2 = (todos) => {
|
|
@@ -61,24 +61,24 @@ var summarize2 = (todos) => {
|
|
|
61
61
|
const active = todos.filter((todo) => todo.status === "in_progress").map((todo) => JSON.stringify(todo.content));
|
|
62
62
|
return `Todos updated: ${counts}${active.length ? `. In progress: ${active.join(", ")}` : ""}`;
|
|
63
63
|
};
|
|
64
|
-
var
|
|
64
|
+
var Plugin7 = {
|
|
65
65
|
id: "opencode.tool.todo",
|
|
66
66
|
effect: Effect.fn("TodoTool.Plugin")(function* (ctx) {
|
|
67
|
-
const config = yield*
|
|
68
|
-
const permission = yield*
|
|
67
|
+
const config = yield* Service39;
|
|
68
|
+
const permission = yield* Service58;
|
|
69
69
|
const loaded = yield* observe2(config, ctx.event, ctx.tool.reload());
|
|
70
70
|
const enabled = () => latest2(loaded.entries, "experimental")?.todo === true;
|
|
71
71
|
yield* ctx.tool.transform((editor) => {
|
|
72
72
|
if (!enabled())
|
|
73
73
|
return;
|
|
74
74
|
editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name7,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: todowrite_default,
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input7,
|
|
79
|
+
output: Output4,
|
|
80
80
|
execute: (input, context) => permission.assert({
|
|
81
|
-
action:
|
|
81
|
+
action: name7,
|
|
82
82
|
resources: ["*"],
|
|
83
83
|
save: ["*"],
|
|
84
84
|
sessionID: context.sessionID,
|
|
@@ -94,4 +94,4 @@ var Plugin37 = {
|
|
|
94
94
|
})
|
|
95
95
|
};
|
|
96
96
|
|
|
97
|
-
export {
|
|
97
|
+
export { name7, Info2, Input7, Output4, summarize2, Plugin7, exports_todo };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/integration/connection.ts
|
|
6
6
|
var exports_connection = {};
|
|
7
7
|
__export(exports_connection, {
|
|
8
8
|
CredentialInfo: () => CredentialInfo2,
|
|
9
9
|
EnvInfo: () => EnvInfo2,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info23,
|
|
11
11
|
IntegrationConnection: () => exports_connection,
|
|
12
12
|
Status: () => Status3,
|
|
13
13
|
key: () => key2
|
|
@@ -15,7 +15,7 @@ __export(exports_connection, {
|
|
|
15
15
|
import { Connection } from "@opencode/schema/connection";
|
|
16
16
|
var CredentialInfo2 = Connection.CredentialInfo;
|
|
17
17
|
var EnvInfo2 = Connection.EnvInfo;
|
|
18
|
-
var
|
|
18
|
+
var Info23 = Connection.Info;
|
|
19
19
|
var Status3 = Connection.Status;
|
|
20
20
|
function key2(connection) {
|
|
21
21
|
if (!connection)
|
|
@@ -23,4 +23,4 @@ function key2(connection) {
|
|
|
23
23
|
return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
export { CredentialInfo2, EnvInfo2,
|
|
26
|
+
export { CredentialInfo2, EnvInfo2, Info23, Status3, key2, exports_connection };
|