@opencode/core 0.0.0-dev-20546 → 0.0.0-dev-20549
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{tool-cvskdek3.js → skill-01mnn7z9.js} +10 -10
- package/dist/chunks/{tool-62qykytd.js → skill-03r07v8r.js} +29 -29
- package/dist/chunks/{tool-nbfyeqag.js → skill-0950byjh.js} +12 -12
- package/dist/chunks/{tool-mmds1kx3.js → skill-0abth3v5.js} +4 -4
- package/dist/chunks/{tool-5qgdse83.js → skill-0czqcgkk.js} +30 -30
- package/dist/chunks/{tool-m0nk61gg.js → skill-0h9agxwz.js} +11 -11
- package/dist/chunks/{tool-as7cf5zz.js → skill-0me0fk48.js} +4 -4
- package/dist/chunks/{tool-a1yrwfg3.js → skill-0nyf8g8a.js} +10 -10
- package/dist/chunks/{tool-0paq2nw3.js → skill-0paq2nw3.js} +1 -1
- package/dist/chunks/{tool-49exe669.js → skill-0ryd0fps.js} +5 -5
- package/dist/chunks/{tool-0vbcp93d.js → skill-0vbcp93d.js} +2 -2
- package/dist/chunks/{tool-h19eb42x.js → skill-19a83w2j.js} +27 -27
- package/dist/chunks/{tool-7frfzztj.js → skill-1baywqc3.js} +31 -35
- package/dist/chunks/{tool-1dazxqgg.js → skill-1dazxqgg.js} +2 -2
- package/dist/chunks/{tool-0b5fx6ax.js → skill-1kc6jmgc.js} +36 -36
- package/dist/chunks/{tool-eymvbjgc.js → skill-1p60wd67.js} +23 -23
- package/dist/chunks/{tool-g6yfr6ja.js → skill-1pxz8ven.js} +5 -5
- package/dist/chunks/{tool-msz05mbq.js → skill-204qze95.js} +50 -50
- package/dist/chunks/{tool-v50kha1c.js → skill-21ndh2pa.js} +28 -28
- package/dist/chunks/{tool-zm4ejasx.js → skill-24zweb5e.js} +8 -8
- package/dist/chunks/{tool-2a5m3afh.js → skill-2a5m3afh.js} +1 -1
- package/dist/chunks/{tool-axvnfcqc.js → skill-2aq8k941.js} +11 -11
- package/dist/chunks/{tool-s9d5z7w1.js → skill-2e0qgnqs.js} +16 -16
- package/dist/chunks/{tool-7jm88nzg.js → skill-2tk69wqd.js} +11 -11
- package/dist/chunks/{tool-3gv4e0z7.js → skill-313f7sf4.js} +13 -13
- package/dist/chunks/{tool-h2b79v29.js → skill-3cegwx68.js} +2 -2
- package/dist/chunks/{tool-3fc6dm20.js → skill-3fc6dm20.js} +1 -1
- package/dist/chunks/{tool-3hepkmqq.js → skill-3hepkmqq.js} +1 -1
- package/dist/chunks/{tool-2ptc9fn1.js → skill-3m9cba8p.js} +10 -10
- package/dist/chunks/{tool-3aqn2ebh.js → skill-3nfjvcck.js} +21 -21
- package/dist/chunks/{tool-5v4tq1pr.js → skill-3rm7g93w.js} +2 -2
- package/dist/chunks/{tool-3smtnn6g.js → skill-3smtnn6g.js} +1 -1
- package/dist/chunks/{tool-3tvqynh2.js → skill-3tvqynh2.js} +1 -1
- package/dist/chunks/{tool-3zsf4n22.js → skill-3zsf4n22.js} +1 -1
- package/dist/chunks/{tool-0kq1vnt2.js → skill-42jk16ft.js} +18 -18
- package/dist/chunks/{tool-ppkw63qq.js → skill-44j8xkc5.js} +24 -24
- package/dist/chunks/{tool-my4zabxr.js → skill-4a7gy6vj.js} +3 -3
- package/dist/chunks/{tool-z7yfvg9g.js → skill-4d2zrdm3.js} +9 -9
- package/dist/chunks/{tool-m08rtf02.js → skill-4p0s9fw7.js} +13 -13
- package/dist/chunks/{tool-d6efkfyd.js → skill-4r5jmef3.js} +9 -9
- package/dist/chunks/{tool-7t6j2s4e.js → skill-4s49zy95.js} +60 -60
- package/dist/chunks/{tool-4ts7tf6z.js → skill-4ts7tf6z.js} +2 -2
- package/dist/chunks/{tool-3yysf8sw.js → skill-54f8996e.js} +26 -26
- package/dist/chunks/{tool-54ma36ye.js → skill-54ma36ye.js} +1 -1
- package/dist/chunks/{tool-5b84avn1.js → skill-56b3zt1s.js} +8 -8
- package/dist/chunks/{tool-mfqp6xfm.js → skill-56gdpj1q.js} +6 -6
- package/dist/chunks/{tool-0xq2rqz7.js → skill-57mzwree.js} +12 -12
- package/dist/chunks/{tool-zxfp7yka.js → skill-5bfybkpt.js} +4 -4
- package/dist/chunks/{tool-5daktx2q.js → skill-5daktx2q.js} +1 -1
- package/dist/chunks/{tool-vk2pwt7v.js → skill-5ht3dsc4.js} +84 -84
- package/dist/chunks/{tool-hr7m8caa.js → skill-5j1ay8ry.js} +8 -8
- package/dist/chunks/{tool-xph0hbvx.js → skill-5mz8kqs7.js} +5 -5
- package/dist/chunks/{tool-xxndcd6m.js → skill-5qwkxp89.js} +4 -4
- package/dist/chunks/{tool-8ty7ydja.js → skill-5rp263n0.js} +147 -147
- package/dist/chunks/{tool-vrwhxzcp.js → skill-5sfmmyr7.js} +11 -11
- package/dist/chunks/{tool-cjp93f4e.js → skill-5szw1sth.js} +6 -6
- package/dist/chunks/{tool-5t3nmthw.js → skill-5t3nmthw.js} +2 -2
- package/dist/chunks/{tool-adzfz996.js → skill-5v0ektps.js} +3 -3
- package/dist/chunks/{tool-m72e62eq.js → skill-5zmtd2z9.js} +26 -26
- package/dist/chunks/{tool-s4ebpbt7.js → skill-64qxmar2.js} +23 -23
- package/dist/chunks/{tool-669tq793.js → skill-669tq793.js} +1 -1
- package/dist/chunks/{tool-j3s83qj1.js → skill-66vha7qm.js} +4 -4
- package/dist/chunks/{tool-6kd4vhpq.js → skill-6bkgq6v1.js} +10 -10
- package/dist/chunks/{tool-2wh4yf7q.js → skill-6djkftks.js} +16 -16
- package/dist/chunks/{tool-bsjtdjkq.js → skill-6nxrbw4w.js} +6 -6
- package/dist/chunks/{tool-qgj7yrzy.js → skill-6sn5cjnr.js} +21 -21
- package/dist/chunks/{tool-x6xy5z7t.js → skill-72p3wnsc.js} +3 -3
- package/dist/chunks/{tool-wy4z08by.js → skill-78bdb58w.js} +16 -16
- package/dist/chunks/{tool-7bmhse3q.js → skill-7bmhse3q.js} +1 -1
- package/dist/chunks/{tool-cjhbag6k.js → skill-7fxvqdxk.js} +8 -8
- package/dist/chunks/{tool-9g3b7e36.js → skill-7kq9c397.js} +39 -39
- package/dist/chunks/{tool-m7zns4k5.js → skill-7q4asrqv.js} +11 -11
- package/dist/chunks/{tool-6kcqjz9a.js → skill-7s9zzz11.js} +31 -31
- package/dist/chunks/{tool-esqy5ctd.js → skill-7znzy1a8.js} +11 -11
- package/dist/chunks/{tool-1dvck2a7.js → skill-84h8c373.js} +2 -2
- package/dist/chunks/{tool-84txncab.js → skill-84txncab.js} +1 -1
- package/dist/chunks/{tool-srq8z0b0.js → skill-8a6ws7jr.js} +9 -9
- package/dist/chunks/{tool-t9t0jv1h.js → skill-8acbzghs.js} +33 -33
- package/dist/chunks/{tool-8w6rjg68.js → skill-8apeemca.js} +6 -6
- package/dist/chunks/{tool-cbpj3q1n.js → skill-8cngkqqv.js} +14 -14
- package/dist/chunks/{tool-8d7r5vzw.js → skill-8d7r5vzw.js} +1 -1
- package/dist/chunks/{tool-zwekp0gr.js → skill-8etyx8dn.js} +11 -11
- package/dist/chunks/{tool-kn319mpc.js → skill-8fxtk4vp.js} +14 -14
- package/dist/chunks/{tool-4x25yqhm.js → skill-8me93e25.js} +44 -44
- package/dist/chunks/{tool-btvs9fn2.js → skill-8ndffx4j.js} +7 -7
- package/dist/chunks/{tool-50hs44sv.js → skill-8xty08kc.js} +11 -11
- package/dist/chunks/{tool-mhtvex29.js → skill-8y2amx6f.js} +16 -16
- package/dist/chunks/{tool-6j114ajh.js → skill-8zfn737k.js} +1 -1
- package/dist/chunks/{tool-gwys9v9v.js → skill-956jqvkw.js} +4 -4
- package/dist/chunks/{tool-g461mq4r.js → skill-97fg007x.js} +11 -11
- package/dist/chunks/{tool-x9rf5mb3.js → skill-9epfchn5.js} +25 -25
- package/dist/chunks/{tool-xdyxb27p.js → skill-9ewbjpe3.js} +29 -29
- package/dist/chunks/{tool-hfm4ryn4.js → skill-9g5z0wv0.js} +35 -35
- package/dist/chunks/{tool-kmgma77j.js → skill-9gejvy20.js} +5 -5
- package/dist/chunks/{tool-2mmss7gn.js → skill-9k1rebz0.js} +18 -18
- package/dist/chunks/{tool-gmmdfr2g.js → skill-9mfnyqzm.js} +8 -8
- package/dist/chunks/{tool-qkdpfp31.js → skill-9r817s3s.js} +22 -22
- package/dist/chunks/{tool-a9tf878g.js → skill-9s8cx701.js} +314 -314
- package/dist/chunks/{tool-zgc7nk2q.js → skill-a97s5rsz.js} +15 -15
- package/dist/chunks/{tool-aaet6srn.js → skill-aaet6srn.js} +2 -2
- package/dist/chunks/{tool-29vra2hc.js → skill-aw6zf7vf.js} +27 -27
- package/dist/chunks/{tool-8563jwpe.js → skill-az5709rs.js} +11 -11
- package/dist/chunks/{tool-v32h9fqj.js → skill-b1cd8vzz.js} +13 -13
- package/dist/chunks/{tool-ycmwc3zb.js → skill-b2zsh4zx.js} +23 -23
- package/dist/chunks/{tool-81j4nbmx.js → skill-b38ner4f.js} +20 -20
- package/dist/chunks/{tool-ncnm8wen.js → skill-b69jv39p.js} +1 -1
- package/dist/chunks/{tool-b6gygkdw.js → skill-b6gygkdw.js} +2 -2
- package/dist/chunks/{tool-8n3m7eek.js → skill-btrb2kn9.js} +12 -12
- package/dist/chunks/{tool-r1n3g566.js → skill-bv4yyc6x.js} +30 -30
- package/dist/chunks/{tool-b674v2dg.js → skill-bx0gyb4h.js} +5 -5
- package/dist/chunks/{tool-dygb53dv.js → skill-bx9egp8a.js} +8 -8
- package/dist/chunks/{tool-zab19jja.js → skill-c8jj867k.js} +9 -9
- package/dist/chunks/{tool-s0596caj.js → skill-ccgffmts.js} +9 -9
- package/dist/chunks/{tool-cfsekr6v.js → skill-cfsekr6v.js} +2 -2
- package/dist/chunks/{tool-zah869sz.js → skill-cksh6vzh.js} +27 -27
- package/dist/chunks/{tool-rj37jpce.js → skill-d5h7byfj.js} +16 -16
- package/dist/chunks/{tool-f8yfhtys.js → skill-d8d1xeyb.js} +15 -15
- package/dist/chunks/{tool-g78cewbc.js → skill-d8qf9njz.js} +42 -42
- package/dist/chunks/{tool-0xn4eefx.js → skill-dmgq9rsa.js} +27 -27
- package/dist/chunks/{tool-dmqcgk4z.js → skill-dmqcgk4z.js} +2 -2
- package/dist/chunks/{tool-sxysp3dr.js → skill-dx8zaj32.js} +20 -20
- package/dist/chunks/{tool-fb0xn3fq.js → skill-e3tvp305.js} +17 -17
- package/dist/chunks/{tool-tv3z232p.js → skill-e8fwf20g.js} +19 -19
- package/dist/chunks/{tool-7xersvtf.js → skill-e9t4d1jv.js} +11 -11
- package/dist/chunks/{tool-21x7xb6a.js → skill-ebpzjdje.js} +44 -44
- package/dist/chunks/{tool-17qe7d48.js → skill-ecg5vx20.js} +31 -31
- package/dist/chunks/{tool-ef5x83kb.js → skill-ef5x83kb.js} +1 -1
- package/dist/chunks/{tool-bsdt1m9e.js → skill-emv93qq1.js} +7 -7
- package/dist/chunks/{tool-bzjcg73h.js → skill-ep9add8h.js} +17 -17
- package/dist/chunks/{tool-etq0c3wd.js → skill-etq0c3wd.js} +1 -1
- package/dist/chunks/{tool-rszfxwsg.js → skill-eye7bpsw.js} +3 -3
- package/dist/chunks/{tool-gnmk0d0j.js → skill-f1x83a2j.js} +17 -17
- package/dist/chunks/{tool-zav06jzw.js → skill-f73rjn58.js} +4 -4
- package/dist/chunks/{tool-71az546q.js → skill-f75zav2x.js} +2 -2
- package/dist/chunks/{tool-0bgxsef1.js → skill-f9bwzz6b.js} +4 -4
- package/dist/chunks/{tool-pyfenggm.js → skill-fb37g870.js} +14 -14
- package/dist/chunks/{tool-abe982cs.js → skill-fermrrd4.js} +11 -11
- package/dist/chunks/{tool-59nf0k73.js → skill-fhqaa1bv.js} +17 -17
- package/dist/chunks/{tool-kq9ercpw.js → skill-fn41217q.js} +11 -11
- package/dist/chunks/{tool-hdab2k61.js → skill-fpq9acqp.js} +6 -6
- package/dist/chunks/{tool-pt3xaqgj.js → skill-frz8dvr7.js} +8 -8
- package/dist/chunks/{tool-kearqegd.js → skill-ft8zwvba.js} +13 -13
- package/dist/chunks/{tool-jm32gaew.js → skill-ftyasa8y.js} +16 -16
- package/dist/chunks/{tool-fvz0khbb.js → skill-fwmeava6.js} +3 -3
- package/dist/chunks/{tool-s027k0rf.js → skill-fwszetqs.js} +16 -16
- package/dist/chunks/{tool-7w0c1qzs.js → skill-fwx8k2v9.js} +16 -16
- package/dist/chunks/{tool-k2nxqkde.js → skill-g4nxgwtw.js} +20 -20
- package/dist/chunks/{tool-g5w8qwbj.js → skill-g5w8qwbj.js} +1 -1
- package/dist/chunks/{tool-gd4qta3r.js → skill-gd4qta3r.js} +1 -1
- package/dist/chunks/{tool-kq17zeba.js → skill-ghjbhsdc.js} +13 -13
- package/dist/chunks/{tool-qxmaq0sm.js → skill-gn2hfjap.js} +8 -8
- package/dist/chunks/{tool-4p0zdh5f.js → skill-gsjnmz30.js} +5 -5
- package/dist/chunks/{tool-gc9bwprx.js → skill-gts7m20h.js} +13 -13
- package/dist/chunks/{tool-54fnz2xn.js → skill-h4z318tq.js} +30 -28
- package/dist/chunks/{tool-h6vf3j39.js → skill-h6vf3j39.js} +1 -1
- package/dist/chunks/{tool-gfdr60m0.js → skill-hb7naxz9.js} +10 -10
- package/dist/chunks/{tool-hdkng2sj.js → skill-hdkng2sj.js} +2 -2
- package/dist/chunks/{tool-a2z3evab.js → skill-hdnns55v.js} +3 -3
- package/dist/chunks/{tool-aydwcdnc.js → skill-hh6grysg.js} +4 -4
- package/dist/chunks/{tool-bw6g5bvn.js → skill-htssgadd.js} +16 -16
- package/dist/chunks/{tool-stdkdhj9.js → skill-hyakt2q8.js} +9 -9
- package/dist/chunks/{tool-6g22x1cx.js → skill-hzjscxj6.js} +20 -20
- package/dist/chunks/{tool-m406kgbt.js → skill-j0gnjy6r.js} +11 -11
- package/dist/chunks/{tool-j56e64zr.js → skill-j56e64zr.js} +1 -1
- package/dist/chunks/{tool-p8fxgfb9.js → skill-j5hz68na.js} +3 -3
- package/dist/chunks/{tool-7wyknn3n.js → skill-j65xbngf.js} +44 -44
- package/dist/chunks/{tool-c93yrxa6.js → skill-jaxce8wn.js} +15 -15
- package/dist/chunks/{tool-ycvgqbex.js → skill-jd3ch19c.js} +5 -5
- package/dist/chunks/{tool-y6mhz57t.js → skill-jewzahs7.js} +4 -4
- package/dist/chunks/skill-jqh9b0xq.js +18 -0
- package/dist/chunks/{tool-k1gkpfdk.js → skill-k1gkpfdk.js} +1 -1
- package/dist/chunks/{tool-0gc3e589.js → skill-k3d6nw88.js} +23 -23
- package/dist/chunks/{tool-9e5bzkjp.js → skill-kb9j3d72.js} +3 -3
- package/dist/chunks/{tool-a7r9jb6t.js → skill-kj770y4x.js} +25 -25
- package/dist/chunks/{tool-kjw8fq0d.js → skill-kk15n38j.js} +45 -45
- package/dist/chunks/{tool-130d0t9b.js → skill-krn7pgx5.js} +30 -30
- package/dist/chunks/{tool-qxz2f3rt.js → skill-krv2mqyr.js} +11 -11
- package/dist/chunks/{tool-qkdffjrw.js → skill-ktgztcgk.js} +17 -17
- package/dist/chunks/{tool-j32e3heq.js → skill-kyvayzm9.js} +172 -172
- package/dist/chunks/{tool-m3fdjcah.js → skill-m3fdjcah.js} +1 -1
- package/dist/chunks/{tool-q0bsvjra.js → skill-m7qqtvvt.js} +48 -48
- package/dist/chunks/{tool-m9w0rfyh.js → skill-m9w0rfyh.js} +1 -1
- package/dist/chunks/{tool-e91ztryz.js → skill-mewbwgnd.js} +9 -9
- package/dist/chunks/{tool-bydnjh3t.js → skill-mhcp204s.js} +9 -9
- package/dist/chunks/{tool-31aerb0s.js → skill-mhpkdsge.js} +16 -16
- package/dist/chunks/{tool-q33hc3az.js → skill-mj9ayqyd.js} +12 -4
- package/dist/chunks/{tool-sgwh5nyn.js → skill-mm5kxf07.js} +8 -8
- package/dist/chunks/{tool-0fewaqv1.js → skill-mnwcrtbx.js} +9 -9
- package/dist/chunks/{tool-mtrbqqrq.js → skill-mtrbqqrq.js} +5 -5
- package/dist/chunks/{tool-r5x6zcsm.js → skill-mvfsc1pv.js} +3 -3
- package/dist/chunks/{tool-105phwgw.js → skill-mx461553.js} +22 -22
- package/dist/chunks/{tool-x661k3y3.js → skill-mxvxcxwy.js} +4 -4
- package/dist/chunks/{tool-hbftnxjp.js → skill-my61f61y.js} +5 -5
- package/dist/chunks/{tool-w5h262jq.js → skill-n30ttybe.js} +12 -12
- package/dist/chunks/{tool-544bd9dc.js → skill-n90naw0r.js} +12 -12
- package/dist/chunks/{tool-30ddhjt6.js → skill-nk433a2k.js} +10 -10
- package/dist/chunks/{tool-1acjjqhc.js → skill-nkf980df.js} +4 -4
- package/dist/chunks/{tool-1j8zt5zt.js → skill-nx5bgegm.js} +5 -5
- package/dist/chunks/{tool-dpkg50ah.js → skill-nxm207yx.js} +4 -4
- package/dist/chunks/{tool-hnh533wc.js → skill-p7eqnh0e.js} +11 -11
- package/dist/chunks/{tool-cmwkp3r5.js → skill-pa8pe2x7.js} +8 -8
- package/dist/chunks/{tool-hqn60twj.js → skill-pb4687ty.js} +5 -5
- package/dist/chunks/{tool-mxp2wkr3.js → skill-pce31vy2.js} +23 -23
- package/dist/chunks/{tool-bmhb8y01.js → skill-pe508z78.js} +22 -22
- package/dist/chunks/{tool-pjvnvgmy.js → skill-pjvnvgmy.js} +1 -1
- package/dist/chunks/{tool-4vp46et4.js → skill-pk6g247z.js} +6 -6
- package/dist/chunks/{tool-pknna89w.js → skill-pknna89w.js} +1 -1
- package/dist/chunks/{tool-1sxecr9b.js → skill-psybf3th.js} +9 -9
- package/dist/chunks/{tool-q0xm7vwc.js → skill-q0xm7vwc.js} +2 -2
- package/dist/chunks/{tool-2k8khapm.js → skill-qgn6gcr1.js} +5 -5
- package/dist/chunks/{tool-djszqvmq.js → skill-qmqgtz8f.js} +9 -9
- package/dist/chunks/{tool-sbtfeqxe.js → skill-qmxdhjst.js} +27 -27
- package/dist/chunks/{tool-qnc92qwc.js → skill-qnc92qwc.js} +1 -1
- package/dist/chunks/{tool-qsdy395h.js → skill-qsdy395h.js} +1 -1
- package/dist/chunks/{tool-f49rpt0h.js → skill-qweyhg8k.js} +20 -20
- package/dist/chunks/{tool-qxjc9qry.js → skill-qxjc9qry.js} +3 -3
- package/dist/chunks/{tool-erezfsje.js → skill-rb99ds0a.js} +17 -17
- package/dist/chunks/{tool-rdw6cm16.js → skill-rdw6cm16.js} +1 -1
- package/dist/chunks/{tool-x05pqzzn.js → skill-rjeax7xv.js} +15 -15
- package/dist/chunks/{tool-1gpb38yh.js → skill-rjg4p9d1.js} +6 -6
- package/dist/chunks/{tool-6rm5yzkt.js → skill-rk7s9xkn.js} +4 -4
- package/dist/chunks/{tool-1aq3p2fw.js → skill-rm4bhxsp.js} +5 -5
- package/dist/chunks/{tool-h67113sj.js → skill-rrjzfwx8.js} +24 -24
- package/dist/chunks/{tool-t6yz5g0a.js → skill-rwrdjr4d.js} +18 -18
- package/dist/chunks/{tool-n0pp1gq0.js → skill-s0wvxc5c.js} +26 -26
- package/dist/chunks/{tool-ahe9zwyk.js → skill-s1mfz8gf.js} +8 -8
- package/dist/chunks/{tool-g5gfjdv3.js → skill-s3n2d5f4.js} +18 -18
- package/dist/chunks/{tool-ew325twr.js → skill-s5gzpmhw.js} +82 -82
- package/dist/chunks/{tool-7aqqc3we.js → skill-s6ba26vb.js} +3 -3
- package/dist/chunks/{tool-ytj3j3zq.js → skill-t1gchkmx.js} +32 -32
- package/dist/chunks/{tool-83xtr5qh.js → skill-t68szqhq.js} +29 -29
- package/dist/chunks/{tool-6hh8tjw2.js → skill-t6vsspdg.js} +7 -7
- package/dist/chunks/{tool-bvx99qdh.js → skill-t7x7w9dx.js} +7 -7
- package/dist/chunks/{tool-p7sh5qae.js → skill-t87qf2za.js} +28 -28
- package/dist/chunks/{tool-tazgh4e4.js → skill-tazgh4e4.js} +1 -1
- package/dist/chunks/{tool-tcezcvh9.js → skill-tcezcvh9.js} +1 -1
- package/dist/chunks/{tool-tdstcens.js → skill-tdstcens.js} +1 -1
- package/dist/chunks/{tool-rztnjz0s.js → skill-tp6x8zae.js} +7 -7
- package/dist/chunks/{tool-ty1e6sjz.js → skill-tpf861g3.js} +15 -15
- package/dist/chunks/{tool-9zkmnpa0.js → skill-tttafqsw.js} +11 -11
- package/dist/chunks/{tool-7nztcbt0.js → skill-txmzhkwh.js} +11 -11
- package/dist/chunks/{tool-9qqkxast.js → skill-v6f9c3ds.js} +40 -40
- package/dist/chunks/{tool-veqvce7d.js → skill-veqvce7d.js} +1 -1
- package/dist/chunks/{tool-mnhe0asj.js → skill-vg3fw4mm.js} +17 -17
- package/dist/chunks/{tool-vzcthcp8.js → skill-vzcthcp8.js} +1 -1
- package/dist/chunks/{tool-vzs5sf6e.js → skill-vzs5sf6e.js} +1 -1
- package/dist/chunks/{tool-drnf6xwf.js → skill-w0tfgnf2.js} +2 -2
- package/dist/chunks/{tool-95jzr6md.js → skill-w13frx98.js} +8 -8
- package/dist/chunks/{tool-8fejdm01.js → skill-w17qbrxs.js} +4 -4
- package/dist/chunks/{tool-3maez1s4.js → skill-w1d288hs.js} +11 -11
- package/dist/chunks/{tool-thye16kd.js → skill-w1gsm6w1.js} +1 -1
- package/dist/chunks/{tool-w3wsvvr9.js → skill-w3wsvvr9.js} +1 -1
- package/dist/chunks/{tool-jmh888fr.js → skill-wb9wmhgc.js} +10 -10
- package/dist/chunks/{tool-wd87259q.js → skill-wd87259q.js} +1 -1
- package/dist/chunks/{tool-magykp64.js → skill-wdfkj30x.js} +4 -4
- package/dist/chunks/{tool-vjbhnzss.js → skill-wh3fh10e.js} +4 -4
- package/dist/chunks/{tool-rhjbct0v.js → skill-wv396vej.js} +8 -8
- package/dist/chunks/{tool-xxrhtzpv.js → skill-wwgwrvz8.js} +24 -24
- package/dist/chunks/{tool-8y7m5rtw.js → skill-x11epez3.js} +23 -23
- package/dist/chunks/{tool-x1ezjp6w.js → skill-x1ezjp6w.js} +1 -1
- package/dist/chunks/skill-x9ntbx8t.js +26 -0
- package/dist/chunks/{tool-0f5zvaaa.js → skill-xv6fnqjt.js} +12 -12
- package/dist/chunks/{tool-vf6n3kbk.js → skill-y19gyp96.js} +23 -23
- package/dist/chunks/{tool-y1fvbwt7.js → skill-y1fvbwt7.js} +1 -1
- package/dist/chunks/{tool-q0pz77ry.js → skill-y7qb863k.js} +26 -26
- package/dist/chunks/{tool-k82aj4rb.js → skill-yah7n84t.js} +3 -3
- package/dist/chunks/{tool-zsr4wwhv.js → skill-yrcj3v3g.js} +4 -4
- package/dist/chunks/{tool-ywr1xztk.js → skill-yy74e5r0.js} +29 -29
- package/dist/chunks/{tool-z0bkrqjs.js → skill-z0bkrqjs.js} +1 -1
- package/dist/chunks/{tool-34y0nsfd.js → skill-z2ga4bmk.js} +7 -7
- package/dist/chunks/{tool-vsja1s7z.js → skill-z8hqvw9j.js} +27 -27
- package/dist/chunks/{tool-6ckhwffg.js → skill-z9e6h83k.js} +9 -9
- package/dist/chunks/{tool-x5cr8ne6.js → skill-zmm2h1v7.js} +9 -9
- package/dist/chunks/{tool-3ffx6953.js → skill-znmfwznf.js} +5 -5
- package/dist/chunks/{tool-zr2ceqn5.js → skill-zr2ceqn5.js} +1 -1
- package/dist/chunks/{tool-drtsxde7.js → skill-zx605zr2.js} +5 -5
- package/dist/chunks/{tool-zxq2ej10.js → skill-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- 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 +99 -99
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- 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 +90 -90
- 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 +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +113 -113
- 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 +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -364
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +70 -70
- package/dist/file-access.js +100 -100
- package/dist/file-mutation.js +94 -94
- 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 +214 -214
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- package/dist/git.js +6 -6
- 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 +91 -91
- 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 +354 -355
- 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 +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -352
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +129 -129
- 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 +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +99 -99
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +107 -107
- 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 +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +1 -1
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -327
- 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 +2 -2
- 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 +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- 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/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 +95 -95
- 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 +78 -78
- package/dist/plugin/provider/lmstudio.js +115 -115
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +113 -113
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- 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 +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -156
- package/dist/plugin/sdk.js +74 -74
- 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 +341 -342
- 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/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- 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 +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +216 -216
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +87 -87
- 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/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- 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 +214 -214
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- 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 +118 -118
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +129 -129
- 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 +222 -222
- 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 +113 -113
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +207 -207
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +93 -93
- 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 +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +120 -120
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- 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 +92 -92
- 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 +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- 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 +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +92 -92
- package/package.json +8 -9
- package/dist/chunks/tool-9ahwsrv3.js +0 -26
- package/dist/chunks/tool-f81tjggh.js +0 -18
- package/dist/chunks/tool-yrhqyw5v.js +0 -15
- package/dist/plugin/provider/venice.js +0 -7
- package/dist/types/plugin/provider/venice.d.ts +0 -1
- /package/dist/chunks/{tool-0qkdqm5v.js → skill-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{tool-0zkw76rk.js → skill-0zkw76rk.js} +0 -0
- /package/dist/chunks/{tool-17cy0kzp.js → skill-17cy0kzp.js} +0 -0
- /package/dist/chunks/{tool-1cnp2v09.js → skill-1cnp2v09.js} +0 -0
- /package/dist/chunks/{tool-1kg9ymc8.js → skill-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{tool-24dcb14g.js → skill-24dcb14g.js} +0 -0
- /package/dist/chunks/{tool-2710q6r3.js → skill-2710q6r3.js} +0 -0
- /package/dist/chunks/{tool-2axfhc9x.js → skill-2axfhc9x.js} +0 -0
- /package/dist/chunks/{tool-2c3vjs8z.js → skill-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{tool-34c7v6d4.js → skill-34c7v6d4.js} +0 -0
- /package/dist/chunks/{tool-359p4xyc.js → skill-359p4xyc.js} +0 -0
- /package/dist/chunks/{tool-3asan66x.js → skill-3asan66x.js} +0 -0
- /package/dist/chunks/{tool-3t0ybcrp.js → skill-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{tool-3v8g72cx.js → skill-3v8g72cx.js} +0 -0
- /package/dist/chunks/{tool-3w5fmr99.js → skill-3w5fmr99.js} +0 -0
- /package/dist/chunks/{tool-3wcehsnq.js → skill-3wcehsnq.js} +0 -0
- /package/dist/chunks/{tool-43n2bw4t.js → skill-43n2bw4t.js} +0 -0
- /package/dist/chunks/{tool-4knz6hnm.js → skill-4knz6hnm.js} +0 -0
- /package/dist/chunks/{tool-4vcrnpx2.js → skill-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{tool-4y7fprxs.js → skill-4y7fprxs.js} +0 -0
- /package/dist/chunks/{tool-53557ph1.js → skill-53557ph1.js} +0 -0
- /package/dist/chunks/{tool-550bvhaj.js → skill-550bvhaj.js} +0 -0
- /package/dist/chunks/{tool-5qd3pb7m.js → skill-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{tool-6prwharc.js → skill-6prwharc.js} +0 -0
- /package/dist/chunks/{tool-7akdwqpd.js → skill-7akdwqpd.js} +0 -0
- /package/dist/chunks/{tool-7m9af43g.js → skill-7m9af43g.js} +0 -0
- /package/dist/chunks/{tool-822emrt2.js → skill-822emrt2.js} +0 -0
- /package/dist/chunks/{tool-88xbtdfr.js → skill-88xbtdfr.js} +0 -0
- /package/dist/chunks/{tool-8n3pysct.js → skill-8n3pysct.js} +0 -0
- /package/dist/chunks/{tool-8wj87zfr.js → skill-8wj87zfr.js} +0 -0
- /package/dist/chunks/{tool-9a4afbnw.js → skill-9a4afbnw.js} +0 -0
- /package/dist/chunks/{tool-9rqn6x4v.js → skill-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{tool-a6k6eb26.js → skill-a6k6eb26.js} +0 -0
- /package/dist/chunks/{tool-af5trqkr.js → skill-af5trqkr.js} +0 -0
- /package/dist/chunks/{tool-afrmfg78.js → skill-afrmfg78.js} +0 -0
- /package/dist/chunks/{tool-aqzs7mqg.js → skill-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{tool-atq7p7m5.js → skill-atq7p7m5.js} +0 -0
- /package/dist/chunks/{tool-bkyjaxrp.js → skill-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{tool-bmr6ed5q.js → skill-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{tool-cf4snx6d.js → skill-cf4snx6d.js} +0 -0
- /package/dist/chunks/{tool-cvy3z8tj.js → skill-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{tool-d9fn303g.js → skill-d9fn303g.js} +0 -0
- /package/dist/chunks/{tool-d9jj8t3e.js → skill-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{tool-dajrwvna.js → skill-dajrwvna.js} +0 -0
- /package/dist/chunks/{tool-dap0rakb.js → skill-dap0rakb.js} +0 -0
- /package/dist/chunks/{tool-df08tz66.js → skill-df08tz66.js} +0 -0
- /package/dist/chunks/{tool-dy18nga0.js → skill-dy18nga0.js} +0 -0
- /package/dist/chunks/{tool-e5kj55wp.js → skill-e5kj55wp.js} +0 -0
- /package/dist/chunks/{tool-e73j6tqm.js → skill-e73j6tqm.js} +0 -0
- /package/dist/chunks/{tool-ec1grn59.js → skill-ec1grn59.js} +0 -0
- /package/dist/chunks/{tool-eh3zwz77.js → skill-eh3zwz77.js} +0 -0
- /package/dist/chunks/{tool-emrn6kk6.js → skill-emrn6kk6.js} +0 -0
- /package/dist/chunks/{tool-f0mxakyp.js → skill-f0mxakyp.js} +0 -0
- /package/dist/chunks/{tool-f6n9ztr4.js → skill-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{tool-faypxj3z.js → skill-faypxj3z.js} +0 -0
- /package/dist/chunks/{tool-fd410y7t.js → skill-fd410y7t.js} +0 -0
- /package/dist/chunks/{tool-fxgpk5d8.js → skill-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{tool-g4wezp1m.js → skill-g4wezp1m.js} +0 -0
- /package/dist/chunks/{tool-g86h250q.js → skill-g86h250q.js} +0 -0
- /package/dist/chunks/{tool-gebd4c9n.js → skill-gebd4c9n.js} +0 -0
- /package/dist/chunks/{tool-gftt206x.js → skill-gftt206x.js} +0 -0
- /package/dist/chunks/{tool-hjbc5kem.js → skill-hjbc5kem.js} +0 -0
- /package/dist/chunks/{tool-hk9envan.js → skill-hk9envan.js} +0 -0
- /package/dist/chunks/{tool-j2ntwpah.js → skill-j2ntwpah.js} +0 -0
- /package/dist/chunks/{tool-j5zkgpj8.js → skill-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{tool-jjkms2e6.js → skill-jjkms2e6.js} +0 -0
- /package/dist/chunks/{tool-jr7sbwjy.js → skill-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{tool-jwfs4k6c.js → skill-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{tool-jzg6c2d5.js → skill-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{tool-mp448xyj.js → skill-mp448xyj.js} +0 -0
- /package/dist/chunks/{tool-msx8hqn2.js → skill-msx8hqn2.js} +0 -0
- /package/dist/chunks/{tool-n05xt0ee.js → skill-n05xt0ee.js} +0 -0
- /package/dist/chunks/{tool-n3j8tn72.js → skill-n3j8tn72.js} +0 -0
- /package/dist/chunks/{tool-njntx4h6.js → skill-njntx4h6.js} +0 -0
- /package/dist/chunks/{tool-q3sfg36h.js → skill-q3sfg36h.js} +0 -0
- /package/dist/chunks/{tool-q74kybfr.js → skill-q74kybfr.js} +0 -0
- /package/dist/chunks/{tool-qaymkmh1.js → skill-qaymkmh1.js} +0 -0
- /package/dist/chunks/{tool-qb87gjwd.js → skill-qb87gjwd.js} +0 -0
- /package/dist/chunks/{tool-qfa1cgps.js → skill-qfa1cgps.js} +0 -0
- /package/dist/chunks/{tool-qg3g05ea.js → skill-qg3g05ea.js} +0 -0
- /package/dist/chunks/{tool-qrg20bc0.js → skill-qrg20bc0.js} +0 -0
- /package/dist/chunks/{tool-rcb2kzg1.js → skill-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{tool-sdp7kfr6.js → skill-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{tool-ssg3fenm.js → skill-ssg3fenm.js} +0 -0
- /package/dist/chunks/{tool-w803qqfp.js → skill-w803qqfp.js} +0 -0
- /package/dist/chunks/{tool-wc3fc9cn.js → skill-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{tool-wer8tq1h.js → skill-wer8tq1h.js} +0 -0
- /package/dist/chunks/{tool-wtztk69x.js → skill-wtztk69x.js} +0 -0
- /package/dist/chunks/{tool-x0ckcb58.js → skill-x0ckcb58.js} +0 -0
- /package/dist/chunks/{tool-x61499pn.js → skill-x61499pn.js} +0 -0
- /package/dist/chunks/{tool-y44na4kk.js → skill-y44na4kk.js} +0 -0
- /package/dist/chunks/{tool-y8cydn3q.js → skill-y8cydn3q.js} +0 -0
- /package/dist/chunks/{tool-y8f7s663.js → skill-y8f7s663.js} +0 -0
- /package/dist/chunks/{tool-ygaqb7jw.js → skill-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{tool-ym463w8f.js → skill-ym463w8f.js} +0 -0
- /package/dist/chunks/{tool-z5v4ffb3.js → skill-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{tool-z9919s4g.js → skill-z9919s4g.js} +0 -0
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service70,
|
|
6
|
+
node74
|
|
7
|
+
} from "./skill-j65xbngf.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./skill-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Generate: () =>
|
|
13
|
+
var exports_generate2 = {};
|
|
14
|
+
__export(exports_generate2, {
|
|
15
|
+
Generate: () => exports_generate2,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
18
|
-
UnavailableError: () =>
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
17
|
+
Service: () => Service69,
|
|
18
|
+
UnavailableError: () => UnavailableError3,
|
|
19
|
+
layer: () => layer21,
|
|
20
|
+
node: () => node73
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { SessionID } from "@opencode/schema/session-id";
|
|
@@ -28,17 +28,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
|
|
|
28
28
|
}) {
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
class
|
|
31
|
+
class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
32
32
|
message: Schema.String,
|
|
33
33
|
service: Schema.optional(Schema.String)
|
|
34
34
|
}) {
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class Service69 extends Context.Service()("@opencode/Generate") {
|
|
38
38
|
}
|
|
39
|
-
var
|
|
39
|
+
var layer21 = Layer.effect(Service69, Effect.gen(function* () {
|
|
40
40
|
const llm = yield* LLMClient.Service;
|
|
41
|
-
const resolver = yield*
|
|
41
|
+
const resolver = yield* Service70;
|
|
42
42
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
43
43
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
44
44
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -48,7 +48,7 @@ var layer9 = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
48
48
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
49
49
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
50
50
|
], (error) => {
|
|
51
|
-
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new
|
|
51
|
+
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: error.providerID });
|
|
52
52
|
return Effect.fail(mapped);
|
|
53
53
|
}));
|
|
54
54
|
if (!resolved)
|
|
@@ -59,21 +59,21 @@ var layer9 = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
59
59
|
model: resolved.model,
|
|
60
60
|
prompt: input.prompt,
|
|
61
61
|
http: { headers: { "x-opencode-session": SessionID.create() } }
|
|
62
|
-
})).pipe(Effect.mapError((error) => new
|
|
62
|
+
})).pipe(Effect.mapError((error) => new UnavailableError3({
|
|
63
63
|
message: error.message,
|
|
64
64
|
service: resolved.ref.providerID
|
|
65
65
|
})));
|
|
66
66
|
return response.text;
|
|
67
67
|
});
|
|
68
|
-
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
68
|
+
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
|
|
69
69
|
message: "Generation credentials are unavailable"
|
|
70
70
|
})));
|
|
71
|
-
return
|
|
71
|
+
return Service69.of({ text });
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node73 = makeLocationNode({
|
|
74
|
+
service: Service69,
|
|
75
|
+
layer: layer21,
|
|
76
|
+
deps: [node74, llmClient2]
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
export { ModelSelectionError2,
|
|
79
|
+
export { ModelSelectionError2, UnavailableError3, Service69, layer21, node73, exports_generate2 };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./skill-wh3fh10e.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service35,
|
|
7
|
+
node39
|
|
8
|
+
} from "./skill-8me93e25.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service64,
|
|
11
|
+
node68
|
|
12
|
+
} from "./skill-1kc6jmgc.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service52,
|
|
15
|
+
node57
|
|
16
|
+
} from "./skill-e8fwf20g.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./skill-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
name: () =>
|
|
25
|
+
Service: () => Service28,
|
|
26
|
+
layer: () => layer12,
|
|
27
|
+
name: () => name13,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node31
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
33
33
|
import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
|
-
var
|
|
36
|
+
var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service28 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
40
|
+
var layer12 = Layer.effect(Service28, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service35;
|
|
42
|
+
const tools = yield* Service52;
|
|
43
43
|
const bus = yield* Service83;
|
|
44
|
-
const permission = yield*
|
|
44
|
+
const permission = yield* Service64;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -56,7 +56,7 @@ var layer16 = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
56
56
|
output: tool.outputSchema ?? {},
|
|
57
57
|
execute: (input, context) => Effect.gen(function* () {
|
|
58
58
|
yield* permission.assert({
|
|
59
|
-
action:
|
|
59
|
+
action: name13(tool.server, tool.name),
|
|
60
60
|
resources: ["*"],
|
|
61
61
|
save: ["*"],
|
|
62
62
|
metadata: {},
|
|
@@ -105,7 +105,7 @@ var layer16 = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
105
105
|
output: output(),
|
|
106
106
|
...content.length === 0 ? {} : { content }
|
|
107
107
|
};
|
|
108
|
-
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${
|
|
108
|
+
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name13(tool.server, tool.name)}` })))
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
111
|
});
|
|
@@ -118,12 +118,12 @@ var layer16 = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
118
118
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
119
119
|
const updates = yield* PubSub.subscribe(changes);
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
|
-
return
|
|
121
|
+
return Service28.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
124
|
-
service:
|
|
125
|
-
layer:
|
|
126
|
-
deps: [
|
|
123
|
+
var node31 = makeLocationNode({
|
|
124
|
+
service: Service28,
|
|
125
|
+
layer: layer12,
|
|
126
|
+
deps: [node57, node39, node87, node68]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2,
|
|
129
|
+
export { namespace2, name13, Service28, layer12, node31, exports_mcp3 };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./skill-yah7n84t.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./skill-wh3fh10e.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service61,
|
|
11
|
+
node65
|
|
12
|
+
} from "./skill-6djkftks.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service59,
|
|
15
|
+
node63
|
|
16
|
+
} from "./skill-fpq9acqp.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./skill-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make20
|
|
22
|
+
} from "./skill-nkf980df.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service57
|
|
26
|
+
} from "./skill-f73rjn58.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service66,
|
|
29
|
+
node70
|
|
30
|
+
} from "./skill-n90naw0r.js";
|
|
31
31
|
import {
|
|
32
32
|
toSessionError2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./skill-5mz8kqs7.js";
|
|
34
34
|
import {
|
|
35
35
|
nextPromotable2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./skill-b2zsh4zx.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./skill-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/session/execution.ts
|
|
42
42
|
var exports_execution = {};
|
|
43
43
|
__export(exports_execution, {
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service56,
|
|
45
45
|
SessionExecution: () => exports_execution,
|
|
46
46
|
layer: () => layer19,
|
|
47
|
-
node: () =>
|
|
48
|
-
noopLayer: () =>
|
|
47
|
+
node: () => node61,
|
|
48
|
+
noopLayer: () => noopLayer3,
|
|
49
49
|
terminal: () => terminal2
|
|
50
50
|
});
|
|
51
51
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
52
52
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
53
|
-
class
|
|
53
|
+
class Service56 extends Context.Service()("@opencode/SessionExecution") {
|
|
54
54
|
}
|
|
55
55
|
function terminal2(exit, reason) {
|
|
56
56
|
if (Exit.isSuccess(exit))
|
|
@@ -59,11 +59,11 @@ function terminal2(exit, reason) {
|
|
|
59
59
|
return { type: "interrupted", reason: reason ?? "shutdown" };
|
|
60
60
|
return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
|
|
61
61
|
}
|
|
62
|
-
var layer19 = Layer.effect(
|
|
63
|
-
const store = yield*
|
|
64
|
-
const instances = yield*
|
|
62
|
+
var layer19 = Layer.effect(Service56, Effect.gen(function* () {
|
|
63
|
+
const store = yield* Service66;
|
|
64
|
+
const instances = yield* Service59;
|
|
65
65
|
const bus = yield* Service83;
|
|
66
|
-
const jobs = yield*
|
|
66
|
+
const jobs = yield* Service61;
|
|
67
67
|
const db = (yield* Service84).db;
|
|
68
68
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
69
69
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -76,14 +76,14 @@ var layer19 = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
76
76
|
const session = yield* store.get(sessionID);
|
|
77
77
|
if (!session)
|
|
78
78
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
79
|
-
const result = yield*
|
|
79
|
+
const result = yield* Service57.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
80
80
|
return yield* DrainResult2.$match(result, {
|
|
81
81
|
Complete: () => Effect.void,
|
|
82
82
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable),
|
|
83
83
|
Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
|
|
84
84
|
});
|
|
85
85
|
});
|
|
86
|
-
const coordinator = yield*
|
|
86
|
+
const coordinator = yield* make20({
|
|
87
87
|
started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
|
|
88
88
|
drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
|
|
89
89
|
settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
|
|
@@ -104,7 +104,7 @@ var layer19 = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
104
104
|
}, releaseOnCommit(sessionID));
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service56.of({
|
|
108
108
|
active: coordinator.active,
|
|
109
109
|
isActive: coordinator.isActive,
|
|
110
110
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -123,12 +123,12 @@ var layer19 = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
123
123
|
awaitIdle: coordinator.awaitIdle
|
|
124
124
|
});
|
|
125
125
|
}));
|
|
126
|
-
var
|
|
127
|
-
service:
|
|
126
|
+
var node61 = makeGlobalNode({
|
|
127
|
+
service: Service56,
|
|
128
128
|
layer: layer19,
|
|
129
|
-
deps: [
|
|
129
|
+
deps: [node70, node63, node87, node88, node65]
|
|
130
130
|
});
|
|
131
|
-
var
|
|
131
|
+
var noopLayer3 = Layer.succeed(Service56, Service56.of({
|
|
132
132
|
active: Effect.succeed(new Set),
|
|
133
133
|
isActive: () => Effect.succeed(false),
|
|
134
134
|
resume: () => Effect.void,
|
|
@@ -137,4 +137,4 @@ var noopLayer2 = Layer.succeed(Service47, Service47.of({
|
|
|
137
137
|
awaitIdle: () => Effect.void
|
|
138
138
|
}));
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service56, terminal2, layer19, node61, noopLayer3, exports_execution };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./skill-h4z318tq.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/google-vertex.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -24,7 +24,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
25
|
yield* ctx.provider.transform((evt) => {
|
|
26
26
|
for (const item of evt.list()) {
|
|
27
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
27
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
28
28
|
continue;
|
|
29
29
|
const project = resolveProject(item.provider.settings ?? {});
|
|
30
30
|
const location = String(resolveLocation(item.provider.settings ?? {}));
|
|
@@ -42,7 +42,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
42
42
|
});
|
|
43
43
|
yield* ctx.model.transform((models) => {
|
|
44
44
|
for (const item of models.provider.list()) {
|
|
45
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
45
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
46
46
|
continue;
|
|
47
47
|
const project = resolveProject(item.provider.settings ?? {});
|
|
48
48
|
const location = String(resolveLocation(item.provider.settings ?? {}));
|
|
@@ -59,7 +59,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
61
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
62
|
-
if (evt.model.providerID !==
|
|
62
|
+
if (evt.model.providerID !== ID13.googleVertex)
|
|
63
63
|
return;
|
|
64
64
|
evt.language = evt.sdk.languageModel(String(evt.model.modelID ?? evt.model.id).trim());
|
|
65
65
|
}));
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-wdfkj30x.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info6
|
|
9
|
+
} from "./skill-9mfnyqzm.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info9
|
|
12
|
+
} from "./skill-t6vsspdg.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info10
|
|
15
|
+
} from "./skill-1pxz8ven.js";
|
|
16
16
|
import {
|
|
17
17
|
Spec2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./skill-qgn6gcr1.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Info8
|
|
21
|
+
} from "./skill-bx0gyb4h.js";
|
|
22
22
|
import {
|
|
23
23
|
normalizeAction2,
|
|
24
24
|
migrateAgent2,
|
|
@@ -27,10 +27,10 @@ import {
|
|
|
27
27
|
migrateMcp2,
|
|
28
28
|
migrateProvider2,
|
|
29
29
|
providerID2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./skill-f9bwzz6b.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./skill-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/config/normalize.ts
|
|
36
36
|
var exports_normalize = {};
|
|
@@ -97,12 +97,12 @@ function normalize2(input) {
|
|
|
97
97
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
98
98
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
99
99
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
100
|
-
const legacyCommands = decodeMap(input.command,
|
|
100
|
+
const legacyCommands = decodeMap(input.command, Info9, ["command"], diagnostics, decodeValue);
|
|
101
101
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
102
102
|
const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
|
|
103
103
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
104
104
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
105
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
105
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info6, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
106
106
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
107
107
|
const migratedSmallModel = modelSelection2(legacySmallModel);
|
|
108
108
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -116,7 +116,7 @@ function normalize2(input) {
|
|
|
116
116
|
model: migratedSmallModel,
|
|
117
117
|
...legacyAgents.title
|
|
118
118
|
};
|
|
119
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
119
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info6, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
120
120
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
121
121
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
122
122
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -217,7 +217,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
217
217
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
218
218
|
return;
|
|
219
219
|
}
|
|
220
|
-
const server = decodeValue(
|
|
220
|
+
const server = decodeValue(Info10, value, path, diagnostics);
|
|
221
221
|
if (server !== undefined)
|
|
222
222
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
223
223
|
});
|
|
@@ -413,7 +413,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
413
413
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
414
414
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
415
415
|
return [];
|
|
416
|
-
const provider = decodeValue(
|
|
416
|
+
const provider = decodeValue(Info8, raw, path, diagnostics);
|
|
417
417
|
if (provider === undefined)
|
|
418
418
|
return [];
|
|
419
419
|
const destination = providerID2(name);
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Info7
|
|
6
|
+
} from "./skill-wdfkj30x.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./skill-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/v1/config/agent.ts
|
|
12
12
|
var exports_agent3 = {};
|
|
13
13
|
__export(exports_agent3, {
|
|
14
14
|
ConfigAgentV1: () => exports_agent3,
|
|
15
|
-
Info: () =>
|
|
15
|
+
Info: () => Info6
|
|
16
16
|
});
|
|
17
17
|
import { Schema, SchemaGetter } from "effect";
|
|
18
18
|
var Color = Schema.Union([
|
|
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
44
44
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
45
45
|
}),
|
|
46
46
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
47
|
-
permission: Schema.optional(
|
|
47
|
+
permission: Schema.optional(Info7)
|
|
48
48
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
49
49
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
50
50
|
var normalize = (agent) => {
|
|
@@ -66,9 +66,9 @@ var normalize = (agent) => {
|
|
|
66
66
|
const steps = agent.steps ?? agent.maxSteps;
|
|
67
67
|
return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
|
|
68
68
|
};
|
|
69
|
-
var
|
|
69
|
+
var Info6 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
|
|
70
70
|
decode: SchemaGetter.transform(normalize),
|
|
71
71
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
72
72
|
})).annotate({ identifier: "AgentConfig" });
|
|
73
73
|
|
|
74
|
-
export {
|
|
74
|
+
export { Info6, exports_agent3 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load4
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-5qd3pb7m.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./skill-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event8,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options8,
|
|
17
|
+
Service: () => Service43,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured8,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer18,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node47,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event8 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
39
|
return createWrapper(load4());
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options8 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service43 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer18 = (options) => Layer.effect(Service43, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service43.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer22 = (options) => Layer.effect(Service58, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service43.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer18().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service43).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service43, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured8(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service43, layer: layer18(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node47 = configured8();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event8, hasNativeBinding2, Native3, Options8, Service43, Test3, layer18, testLayer3, nativeLayer2, nativeNode2, configured8, node47, exports_watcher };
|