@opencode/core 0.0.0-dev-913 → 0.0.0-dev-918
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 +92 -92
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +7 -7
- package/dist/artifact.js +248 -248
- package/dist/bus.js +80 -80
- package/dist/chunks/{command-6wzcrn91.js → rpc-000tmj6z.js} +11 -11
- package/dist/chunks/{command-gqkxq4pr.js → rpc-00ym8a76.js} +6 -6
- package/dist/chunks/{command-034tev2y.js → rpc-034tev2y.js} +2 -2
- package/dist/chunks/{command-a85fg51h.js → rpc-05s98443.js} +25 -25
- package/dist/chunks/{command-d6k65kk8.js → rpc-060dfe6n.js} +1 -1
- package/dist/chunks/{command-3fxt8nya.js → rpc-08axshga.js} +3 -3
- package/dist/chunks/{command-p5dn9afy.js → rpc-08wx8eqd.js} +18 -18
- package/dist/chunks/{command-nyc4jwvb.js → rpc-0c7bpw4e.js} +4 -4
- package/dist/chunks/{command-tah495xq.js → rpc-0gags66x.js} +363 -363
- package/dist/chunks/{command-0cvmjxzj.js → rpc-0hxfk2gz.js} +4 -4
- package/dist/chunks/{command-0j7gp832.js → rpc-0j7gp832.js} +1 -1
- package/dist/chunks/{command-0ma9gw4f.js → rpc-0ma9gw4f.js} +2 -2
- package/dist/chunks/{command-yrrscxj1.js → rpc-0n09err4.js} +16 -16
- package/dist/chunks/{command-rygtn875.js → rpc-0yrg2qs0.js} +12 -12
- package/dist/chunks/{command-j89db767.js → rpc-137mjkgg.js} +83 -83
- package/dist/chunks/{command-hy8c1z76.js → rpc-160yv0cs.js} +8 -8
- package/dist/chunks/{command-raa1pp1y.js → rpc-16dqnm0w.js} +30 -30
- package/dist/chunks/{command-1aqsckx4.js → rpc-1aqsckx4.js} +1 -1
- package/dist/chunks/{command-1ep2p91f.js → rpc-1ep2p91f.js} +2 -2
- package/dist/chunks/{command-a2d524wa.js → rpc-1kqf4tcz.js} +9 -9
- package/dist/chunks/{command-wxt7yapv.js → rpc-1qcjt96s.js} +25 -25
- package/dist/chunks/{command-xtwr0ba3.js → rpc-1s9qej89.js} +26 -26
- package/dist/chunks/{command-nma2f0f2.js → rpc-1sfa5jwh.js} +9 -9
- package/dist/chunks/{command-pbhvpg46.js → rpc-1ts7fydz.js} +10 -10
- package/dist/chunks/{command-1x2knyw4.js → rpc-1x2knyw4.js} +1 -1
- package/dist/chunks/{command-1yq9hg58.js → rpc-1yq9hg58.js} +1 -1
- package/dist/chunks/{command-bbw6s51r.js → rpc-2bf0k86m.js} +19 -19
- package/dist/chunks/{command-hzw15rf8.js → rpc-2c70hj3m.js} +13 -13
- package/dist/chunks/{command-26c2jvyw.js → rpc-2c71q0dy.js} +11 -11
- package/dist/chunks/{command-tywzvxnn.js → rpc-2edhfmbq.js} +17 -17
- package/dist/chunks/{command-2fc7eemy.js → rpc-2fc7eemy.js} +1 -1
- package/dist/chunks/{command-e75vykw5.js → rpc-2hbad2em.js} +22 -22
- package/dist/chunks/{command-8zrv9xj3.js → rpc-2nb6y5rx.js} +75 -75
- package/dist/chunks/{command-2p60zmnr.js → rpc-2p60zmnr.js} +2 -2
- package/dist/chunks/{command-z12eb085.js → rpc-2qdwq1pf.js} +19 -19
- package/dist/chunks/{command-xa1ec4eg.js → rpc-2w5rper3.js} +3 -3
- package/dist/chunks/{command-5w2qr5pg.js → rpc-2zz882qd.js} +29 -29
- package/dist/chunks/{command-dthwqf99.js → rpc-353jb4ye.js} +18 -18
- package/dist/chunks/{command-t4evkq04.js → rpc-3gr30ncd.js} +12 -12
- package/dist/chunks/{command-3hepkmqq.js → rpc-3hepkmqq.js} +1 -1
- package/dist/chunks/{command-3nnrz6f6.js → rpc-3nnrz6f6.js} +1 -1
- package/dist/chunks/{command-rvy88985.js → rpc-3x627g1t.js} +25 -25
- package/dist/chunks/{command-f2g7mmfk.js → rpc-40h0vsdk.js} +13 -13
- package/dist/chunks/{command-40y6dtc2.js → rpc-40y6dtc2.js} +1 -1
- package/dist/chunks/{command-n1007a44.js → rpc-44hmc39s.js} +12 -12
- package/dist/chunks/{command-44pmzq9c.js → rpc-44pmzq9c.js} +2 -2
- package/dist/chunks/{command-4dx1dgte.js → rpc-4dx1dgte.js} +1 -1
- package/dist/chunks/{command-4f25tdd0.js → rpc-4f25tdd0.js} +1 -1
- package/dist/chunks/{command-yywg802q.js → rpc-4g3q8yec.js} +21 -21
- package/dist/chunks/{command-1e3tbdfn.js → rpc-4hmbpgss.js} +3 -3
- package/dist/chunks/{command-1xht72s7.js → rpc-4j3rk5we.js} +3 -3
- package/dist/chunks/{command-1b79wqh4.js → rpc-4kbmgfrg.js} +6 -6
- package/dist/chunks/{command-4pyp9zr9.js → rpc-4pyp9zr9.js} +1 -1
- package/dist/chunks/{command-9r5vpkx0.js → rpc-4pzxqgpv.js} +17 -17
- package/dist/chunks/{command-3qywsp38.js → rpc-4r2w5wea.js} +5 -5
- package/dist/chunks/{command-4v008n1t.js → rpc-4v008n1t.js} +1 -1
- package/dist/chunks/{command-nafjxc76.js → rpc-4vejtydw.js} +29 -29
- package/dist/chunks/{command-x60a774f.js → rpc-4vkrtwby.js} +17 -17
- package/dist/chunks/{command-1m95t1p1.js → rpc-50aj546h.js} +17 -17
- package/dist/chunks/{command-hgs9egst.js → rpc-520kcj15.js} +5 -5
- package/dist/chunks/{command-knzeqe75.js → rpc-55bat24a.js} +22 -22
- package/dist/chunks/{command-pg1pzp6z.js → rpc-56y85chy.js} +27 -27
- package/dist/chunks/{command-yttvs4ek.js → rpc-5agvq6gt.js} +15 -15
- package/dist/chunks/{command-px7qpgcn.js → rpc-5ckkk9bj.js} +4 -4
- package/dist/chunks/{command-5m9w47nd.js → rpc-5m9w47nd.js} +1 -1
- package/dist/chunks/{command-5dp5p6d0.js → rpc-5qv1r4ge.js} +4 -4
- package/dist/chunks/{command-d4qhqabv.js → rpc-5rhfndcf.js} +3 -3
- package/dist/chunks/{command-ay06fsmt.js → rpc-5rqc56t7.js} +8 -8
- package/dist/chunks/{command-6gj63hbd.js → rpc-5x069c1t.js} +6 -6
- package/dist/chunks/{command-g80zygtn.js → rpc-5xcmw5gy.js} +24 -24
- package/dist/chunks/{command-qyp7wbts.js → rpc-5xvnesv1.js} +46 -46
- package/dist/chunks/{command-4xcsbp6b.js → rpc-65pfp3r6.js} +6 -6
- package/dist/chunks/{command-er1cyqye.js → rpc-68fmn9ed.js} +84 -84
- package/dist/chunks/{command-fqpe3gxd.js → rpc-6akzqt8t.js} +42 -42
- package/dist/chunks/{command-zfspbp5e.js → rpc-6m2y1wmr.js} +4 -4
- package/dist/chunks/{command-h94eg523.js → rpc-6nqc9h5e.js} +20 -20
- package/dist/chunks/{command-r96ere88.js → rpc-6ss6ngz0.js} +4 -4
- package/dist/chunks/{command-gf11xrvh.js → rpc-6w2z781c.js} +33 -33
- package/dist/chunks/rpc-6zjm2phc.js +18 -0
- package/dist/chunks/{command-ywg8d4kw.js → rpc-747ewpcy.js} +17 -17
- package/dist/chunks/{command-80mg3ag8.js → rpc-775hqbnd.js} +3 -3
- package/dist/chunks/{command-1fq0qm8t.js → rpc-78dchhg8.js} +9 -9
- package/dist/chunks/{command-wvr8xscb.js → rpc-79k544d0.js} +7 -7
- package/dist/chunks/{command-7bmhse3q.js → rpc-7bmhse3q.js} +1 -1
- package/dist/chunks/{command-sy9wp2tg.js → rpc-7bvj6htm.js} +164 -164
- package/dist/chunks/{command-vfgdymm7.js → rpc-7fwv0nnm.js} +36 -36
- package/dist/chunks/{command-3z33vgvx.js → rpc-7kp36tfx.js} +18 -18
- package/dist/chunks/{command-10pn4eb5.js → rpc-7trt7kgg.js} +5 -5
- package/dist/chunks/{command-7w2ypzdf.js → rpc-7w2ypzdf.js} +1 -1
- package/dist/chunks/{command-7weczvnd.js → rpc-7weczvnd.js} +1 -1
- package/dist/chunks/{command-9y1beaj8.js → rpc-83e1vsvy.js} +24 -24
- package/dist/chunks/{command-33en4btn.js → rpc-846r3g72.js} +7 -7
- package/dist/chunks/{command-89287pr7.js → rpc-89287pr7.js} +1 -1
- package/dist/chunks/{command-8b3vzgkx.js → rpc-8b3vzgkx.js} +1 -1
- package/dist/chunks/{command-8cg7mtm3.js → rpc-8cg7mtm3.js} +1 -1
- package/dist/chunks/{command-90ac77gn.js → rpc-8cjzkr7p.js} +11 -11
- package/dist/chunks/{command-f41k03vz.js → rpc-8eyzqd2d.js} +12 -12
- package/dist/chunks/{command-8sxe6kv8.js → rpc-8sxe6kv8.js} +2 -2
- package/dist/chunks/{command-d26b71we.js → rpc-8ve3yefv.js} +23 -23
- package/dist/chunks/{command-8wtp7s3z.js → rpc-8wtp7s3z.js} +1 -1
- package/dist/chunks/{command-ebr0238v.js → rpc-8xn2g8ef.js} +17 -17
- package/dist/chunks/{command-67wwskyb.js → rpc-8xz27cp9.js} +4 -4
- package/dist/chunks/{command-f96w9a59.js → rpc-8zbvyw2h.js} +25 -25
- package/dist/chunks/{command-8zv0xmg5.js → rpc-8zv0xmg5.js} +1 -1
- package/dist/chunks/{command-p337yctd.js → rpc-8zzd5y3a.js} +15 -15
- package/dist/chunks/{command-cfybz2aq.js → rpc-905eah8s.js} +29 -29
- package/dist/chunks/{command-90ct6wq4.js → rpc-90ct6wq4.js} +1 -1
- package/dist/chunks/{command-xahjgwpr.js → rpc-90ekmj7h.js} +9 -9
- package/dist/chunks/{command-dqdyz552.js → rpc-90nyrst3.js} +14 -14
- package/dist/chunks/{command-cac6m2se.js → rpc-939d1apm.js} +12 -12
- package/dist/chunks/{command-963hk181.js → rpc-963hk181.js} +2 -2
- package/dist/chunks/{command-fb4mvtz0.js → rpc-99vrd1gz.js} +4 -4
- package/dist/chunks/{command-3tzr3tgk.js → rpc-9haqge1d.js} +18 -18
- package/dist/chunks/{command-t7e366dh.js → rpc-9hf24b53.js} +5 -5
- package/dist/chunks/{command-7x7zqjfv.js → rpc-9jra0vrn.js} +11 -11
- package/dist/chunks/{command-s83qkgyk.js → rpc-9m4xay5y.js} +11 -11
- package/dist/chunks/{command-vv7sjkkg.js → rpc-9np51ewf.js} +12 -12
- package/dist/chunks/{command-w79nt68w.js → rpc-9q8g9sv8.js} +4 -4
- package/dist/chunks/{command-2pa18m2n.js → rpc-9rryw1yq.js} +27 -27
- package/dist/chunks/{command-c5c4j0d1.js → rpc-9w6gycrx.js} +4 -4
- package/dist/chunks/{command-nk8hrxbx.js → rpc-a0kvvzns.js} +10 -10
- package/dist/chunks/{command-6faw1d9j.js → rpc-amyb05nb.js} +19 -19
- package/dist/chunks/{command-580q6ksr.js → rpc-avgaw935.js} +33 -33
- package/dist/chunks/{command-ayjs7tqn.js → rpc-ayjs7tqn.js} +2 -2
- package/dist/chunks/{command-z6kqfz5m.js → rpc-b1nbxbv8.js} +7 -7
- package/dist/chunks/{command-b26ddj6h.js → rpc-b26ddj6h.js} +4 -4
- package/dist/chunks/{command-6j81be6m.js → rpc-b6d7ypgj.js} +32 -32
- package/dist/chunks/{command-t62dywgn.js → rpc-bfmm6xpm.js} +6 -6
- package/dist/chunks/{command-tq5bj24n.js → rpc-bfw7nf23.js} +25 -25
- package/dist/chunks/{command-dbwvxspc.js → rpc-bh8z3mjv.js} +5 -5
- package/dist/chunks/{command-bhfd478d.js → rpc-bhfd478d.js} +1 -1
- package/dist/chunks/{command-c9zk3e32.js → rpc-bhxsxtpd.js} +8 -8
- package/dist/chunks/{command-4wq72d97.js → rpc-bkvywscx.js} +9 -9
- package/dist/chunks/{command-bstexjd6.js → rpc-bstexjd6.js} +1 -1
- package/dist/chunks/{command-zpdbqgja.js → rpc-by8ty0bx.js} +4 -4
- package/dist/chunks/{command-4awjamkd.js → rpc-c5rvjt5f.js} +2 -2
- package/dist/chunks/{command-wt99tj4q.js → rpc-c7cw818c.js} +5 -5
- package/dist/chunks/{command-69tpahy1.js → rpc-cfyy2xj9.js} +41 -41
- package/dist/chunks/{command-1w95etyq.js → rpc-cjkvy830.js} +35 -35
- package/dist/chunks/{command-ckn0kvtp.js → rpc-ckn0kvtp.js} +3 -3
- package/dist/chunks/{command-rcbjwvze.js → rpc-cnj75yzs.js} +4 -4
- package/dist/chunks/{command-1tr3qjrs.js → rpc-cpht761n.js} +43 -43
- package/dist/chunks/{command-g22qdsb0.js → rpc-cw7qhzds.js} +25 -25
- package/dist/chunks/{command-cwrgdav8.js → rpc-cwrgdav8.js} +2 -2
- package/dist/chunks/{command-j4bh57a7.js → rpc-d1vdx8dt.js} +13 -13
- package/dist/chunks/{command-d4v9tmah.js → rpc-d4v9tmah.js} +2 -2
- package/dist/chunks/{command-pyaz3258.js → rpc-d7skv30y.js} +15 -15
- package/dist/chunks/{command-k1y6wcsj.js → rpc-d8pyebd3.js} +6 -6
- package/dist/chunks/{command-0z31hhpg.js → rpc-df27q7rx.js} +5 -5
- package/dist/chunks/{command-kkgfqycb.js → rpc-dfgkkdq4.js} +16 -16
- package/dist/chunks/{command-9n6fb455.js → rpc-dkxwjms4.js} +16 -16
- package/dist/chunks/{command-sxk6dszk.js → rpc-dq0g767b.js} +43 -43
- package/dist/chunks/{command-dt77769w.js → rpc-dt77769w.js} +1 -1
- package/dist/chunks/{command-h6hykmtc.js → rpc-dx2qsd0k.js} +49 -49
- package/dist/chunks/{command-qbs0tgkw.js → rpc-dyz5f41f.js} +17 -17
- package/dist/chunks/{command-75kb1dqt.js → rpc-e3fdrgr9.js} +24 -24
- package/dist/chunks/{command-e834z07m.js → rpc-e834z07m.js} +1 -1
- package/dist/chunks/{command-86ptcvb4.js → rpc-eak39b4f.js} +37 -37
- package/dist/chunks/{command-jgtjj2sx.js → rpc-ej1b7y7v.js} +13 -13
- package/dist/chunks/{command-eqw4pqj1.js → rpc-eqw4pqj1.js} +2 -2
- package/dist/chunks/{command-06zmwrsh.js → rpc-exespdcw.js} +31 -31
- package/dist/chunks/{command-c46rsbf1.js → rpc-f7mmkkj6.js} +19 -19
- package/dist/chunks/{command-fffv3p7h.js → rpc-fffv3p7h.js} +1 -1
- package/dist/chunks/{command-9rqhy0gk.js → rpc-ffvvmdd5.js} +3 -3
- package/dist/chunks/{command-fg9p65nk.js → rpc-fg9p65nk.js} +2 -2
- package/dist/chunks/{command-krvz20b8.js → rpc-g6eaqmyv.js} +12 -12
- package/dist/chunks/{command-j6sqcpf2.js → rpc-g7rajma4.js} +28 -28
- package/dist/chunks/{command-gj4hjmj0.js → rpc-gbfybf69.js} +8 -8
- package/dist/chunks/{command-gbjdnr5j.js → rpc-gbjdnr5j.js} +2 -2
- package/dist/chunks/{command-ghrv1g9c.js → rpc-ghrv1g9c.js} +1 -1
- package/dist/chunks/{command-spnhen4n.js → rpc-ghvm46kv.js} +18 -18
- package/dist/chunks/{command-sbzezcpx.js → rpc-gn6qas9s.js} +8 -8
- package/dist/chunks/{command-00trpnhe.js → rpc-grf86wrj.js} +5 -5
- package/dist/chunks/{command-17b8a7h3.js → rpc-gx76kxxn.js} +4 -4
- package/dist/chunks/{command-m2nw327t.js → rpc-gya5epk9.js} +23 -23
- package/dist/chunks/{command-wd57kq5n.js → rpc-gycf0q5e.js} +10 -10
- package/dist/chunks/{command-f1g16kct.js → rpc-h0r3stt9.js} +11 -11
- package/dist/chunks/{command-khf165tz.js → rpc-h0th52h7.js} +9 -9
- package/dist/chunks/{command-as52851a.js → rpc-h4xh44nf.js} +7 -7
- package/dist/chunks/{command-nt907s04.js → rpc-h5chy42v.js} +3 -3
- package/dist/chunks/{command-kr0x3sn9.js → rpc-h9vrndxk.js} +8 -8
- package/dist/chunks/{command-5b45kwht.js → rpc-hb3pn0ak.js} +7 -7
- package/dist/chunks/{command-z3a7xtye.js → rpc-hbca72xj.js} +7 -7
- package/dist/chunks/{command-1kcdp6tz.js → rpc-hgfv1brc.js} +1 -1
- package/dist/chunks/{command-1qf5wgfk.js → rpc-hgqy4ayf.js} +59 -59
- package/dist/chunks/{command-hgzwgvze.js → rpc-hgzwgvze.js} +2 -2
- package/dist/chunks/{command-5p9f52kb.js → rpc-hkkd6zqp.js} +34 -34
- package/dist/chunks/{command-3mzz78dd.js → rpc-hm5rd2j1.js} +20 -20
- package/dist/chunks/{command-a5fx33f2.js → rpc-hmhcwfpk.js} +4 -4
- package/dist/chunks/{command-8025sr0h.js → rpc-hyr5bkta.js} +3 -3
- package/dist/chunks/{command-bpbqk9d0.js → rpc-j155csb5.js} +23 -23
- package/dist/chunks/{command-rmfwkswd.js → rpc-j4301k6z.js} +42 -42
- package/dist/chunks/{command-vzrcnz7e.js → rpc-j5va1scs.js} +12 -12
- package/dist/chunks/{command-ze75qvmd.js → rpc-j9nxzz3g.js} +3 -3
- package/dist/chunks/{command-wcancq3b.js → rpc-ja4cq3nt.js} +23 -23
- package/dist/chunks/{command-qsdghx1p.js → rpc-jg11hrrc.js} +4 -4
- package/dist/chunks/{command-jm70asfg.js → rpc-jm70asfg.js} +1 -1
- package/dist/chunks/{command-t8erkws8.js → rpc-jv5ccajn.js} +5 -5
- package/dist/chunks/{command-cjqsf6bw.js → rpc-jvcygd6j.js} +9 -9
- package/dist/chunks/{command-c5hf02hq.js → rpc-kew8g758.js} +16 -16
- package/dist/chunks/{command-kj9n5bvh.js → rpc-kj9n5bvh.js} +1 -1
- package/dist/chunks/{command-ccrjcj8y.js → rpc-kqskj2te.js} +8 -8
- package/dist/chunks/{command-kt3bjfbg.js → rpc-kt3bjfbg.js} +1 -1
- package/dist/chunks/{command-wm9z83mr.js → rpc-kth4h1tc.js} +8 -8
- package/dist/chunks/{command-8nw4tyrr.js → rpc-kxd8s961.js} +31 -31
- package/dist/chunks/{command-ndvbzvsx.js → rpc-kybyxdae.js} +27 -27
- package/dist/chunks/{command-kzczzf4v.js → rpc-kzczzf4v.js} +1 -1
- package/dist/chunks/{command-bbmwqqf1.js → rpc-m0kh8ns9.js} +9 -9
- package/dist/chunks/{command-m1714858.js → rpc-m1714858.js} +1 -1
- package/dist/chunks/{command-5qk4cnnh.js → rpc-m55yyqtz.js} +8 -8
- package/dist/chunks/{command-m9w0rfyh.js → rpc-m9w0rfyh.js} +1 -1
- package/dist/chunks/{command-mb7mbhnz.js → rpc-mb7mbhnz.js} +3 -3
- package/dist/chunks/{command-pn2d0cya.js → rpc-mbfdeyzs.js} +9 -9
- package/dist/chunks/{command-1v2g13eq.js → rpc-msd2a3qm.js} +4 -4
- package/dist/chunks/{command-yb5mamag.js → rpc-mvzqt1t6.js} +16 -16
- package/dist/chunks/{command-bh1m2mqb.js → rpc-myqwvcme.js} +55 -55
- package/dist/chunks/{command-xvn8mnch.js → rpc-n320gsn2.js} +4 -4
- package/dist/chunks/{command-rrx98x4h.js → rpc-n40reqfs.js} +22 -22
- package/dist/chunks/{command-6fjarha2.js → rpc-n95g7385.js} +18 -18
- package/dist/chunks/{command-v0g9v9ya.js → rpc-naea0drd.js} +17 -17
- package/dist/chunks/{command-m990xwvr.js → rpc-nee3jvga.js} +4 -4
- package/dist/chunks/{command-6tysf92q.js → rpc-nfshpcq9.js} +43 -43
- package/dist/chunks/{command-t7100y82.js → rpc-nnyzb809.js} +8 -8
- package/dist/chunks/{command-81hxxa3v.js → rpc-np3cybhk.js} +3 -3
- package/dist/chunks/{command-hs663xhb.js → rpc-nykc7h8t.js} +10 -10
- package/dist/chunks/{command-9vzfckz4.js → rpc-p1cgtrjg.js} +24 -24
- package/dist/chunks/{command-f9anazer.js → rpc-p8zwmrjs.js} +2 -2
- package/dist/chunks/{command-pknna89w.js → rpc-pknna89w.js} +1 -1
- package/dist/chunks/{command-xttd6wrv.js → rpc-pmmz8ew7.js} +28 -28
- package/dist/chunks/{command-kt035rhs.js → rpc-pn6anbv0.js} +11 -11
- package/dist/chunks/{command-etrnj9s7.js → rpc-pnwsrq7c.js} +8 -8
- package/dist/chunks/{command-x2yyftaa.js → rpc-pqe0096k.js} +11 -11
- package/dist/chunks/{command-9k0dwq4f.js → rpc-pxm9qt5h.js} +3 -3
- package/dist/chunks/{command-cg3fcpn4.js → rpc-py4yjbmy.js} +6 -6
- package/dist/chunks/{command-cpvd08na.js → rpc-q2jwrh60.js} +7 -7
- package/dist/chunks/{command-6t40r86m.js → rpc-q9jzns4g.js} +11 -11
- package/dist/chunks/{command-rzt2zc2n.js → rpc-qbm9mea2.js} +46 -46
- package/dist/chunks/{command-4mjfmwy3.js → rpc-qf1vbv9t.js} +14 -14
- package/dist/chunks/{command-93xmyh8q.js → rpc-qk5sk9d1.js} +4 -4
- package/dist/chunks/{command-s6q3rn22.js → rpc-qmy53j84.js} +13 -13
- package/dist/chunks/{command-qp7r0hxv.js → rpc-qp7r0hxv.js} +1 -1
- package/dist/chunks/{command-228my02x.js → rpc-qs1783nw.js} +10 -10
- package/dist/chunks/{command-f2e43cgm.js → rpc-qwyyt6wr.js} +29 -29
- package/dist/chunks/{command-y3w3myjr.js → rpc-qx15mdxn.js} +5 -5
- package/dist/chunks/{command-8t99kr38.js → rpc-r17fbvme.js} +4 -4
- package/dist/chunks/{command-jq6tdsen.js → rpc-r41bp2n7.js} +15 -15
- package/dist/chunks/{command-40za9wsf.js → rpc-r41sfy63.js} +6 -6
- package/dist/chunks/{command-hpx4r85s.js → rpc-r7etgc1n.js} +12 -12
- package/dist/chunks/{command-40wp8tm1.js → rpc-r9dmgv7v.js} +33 -33
- package/dist/chunks/{command-rwzm73t1.js → rpc-r9hsxkkd.js} +15 -15
- package/dist/chunks/{command-rb9dy4dg.js → rpc-rb9dy4dg.js} +1 -1
- package/dist/chunks/{command-6y1rc5ns.js → rpc-rbbqzm9j.js} +3 -3
- package/dist/chunks/{command-1g5fh2vm.js → rpc-rdfnhgq5.js} +15 -15
- package/dist/chunks/{command-f831zzye.js → rpc-rfwmafs8.js} +35 -35
- package/dist/chunks/{command-rgc9cx3e.js → rpc-rgc9cx3e.js} +2 -2
- package/dist/chunks/{command-50emzza2.js → rpc-rhx7sxcq.js} +8 -8
- package/dist/chunks/rpc-rj7ztx4b.js +265 -0
- package/dist/chunks/{command-m0r9mrhn.js → rpc-rkgkpnxn.js} +6 -6
- package/dist/chunks/{command-w3m1wmg0.js → rpc-rm31hkb4.js} +11 -11
- package/dist/chunks/{command-wcm2h7g3.js → rpc-rn56gr54.js} +18 -18
- package/dist/chunks/{command-859w1rtj.js → rpc-rp6t20zc.js} +5 -5
- package/dist/chunks/{command-x5qdmv3a.js → rpc-rqqkm55v.js} +3 -3
- package/dist/chunks/{command-rt5dr6hb.js → rpc-rt5dr6hb.js} +1 -1
- package/dist/chunks/{command-e1afhnrj.js → rpc-s0whbjnr.js} +1 -1
- package/dist/chunks/{command-4epkq5p9.js → rpc-s1zqdndx.js} +11 -11
- package/dist/chunks/{command-wk79zm5y.js → rpc-s44fzehs.js} +4 -4
- package/dist/chunks/{command-zs3paaqc.js → rpc-sbx9kcqs.js} +21 -21
- package/dist/chunks/{command-sbya78hr.js → rpc-sbya78hr.js} +1 -1
- package/dist/chunks/{command-psk411ep.js → rpc-sj8ez368.js} +5 -5
- package/dist/chunks/{command-phtj74ja.js → rpc-sm110pnw.js} +6 -6
- package/dist/chunks/{command-7q96cqrd.js → rpc-sr3dnvks.js} +6 -6
- package/dist/chunks/{command-svcy3p9a.js → rpc-svcy3p9a.js} +1 -1
- package/dist/chunks/{command-s67xaphr.js → rpc-swsq3th8.js} +11 -11
- package/dist/chunks/{command-egpeh0k8.js → rpc-t0dw9tqp.js} +26 -26
- package/dist/chunks/{command-t48jrnqq.js → rpc-t48jrnqq.js} +1 -1
- package/dist/chunks/{command-6x6becs7.js → rpc-t557wa0f.js} +4 -4
- package/dist/chunks/{command-tb2mrvc9.js → rpc-tb2mrvc9.js} +1 -1
- package/dist/chunks/{command-tbpn7jtk.js → rpc-tbpn7jtk.js} +1 -1
- package/dist/chunks/{command-tczq8hjw.js → rpc-tczq8hjw.js} +1 -1
- package/dist/chunks/{command-dnk6derc.js → rpc-tdcnrcty.js} +7 -7
- package/dist/chunks/{command-x7de2wha.js → rpc-teav1bzy.js} +9 -9
- package/dist/chunks/{command-gxs71cxp.js → rpc-tg7s7b5t.js} +4 -4
- package/dist/chunks/{command-50d47a1p.js → rpc-th732hew.js} +10 -10
- package/dist/chunks/{command-tr8x705m.js → rpc-tr8x705m.js} +1 -1
- package/dist/chunks/{command-tvtps2q9.js → rpc-tvtps2q9.js} +1 -1
- package/dist/chunks/{command-twssxy5n.js → rpc-twssxy5n.js} +2 -2
- package/dist/chunks/{command-v2r1d0zg.js → rpc-v2r1d0zg.js} +1 -1
- package/dist/chunks/{command-69nhr23y.js → rpc-v4sxsms7.js} +9 -9
- package/dist/chunks/{command-xscct7ax.js → rpc-v7x7q31v.js} +25 -25
- package/dist/chunks/{command-d3xe1ges.js → rpc-v91rzx05.js} +15 -15
- package/dist/chunks/{command-0wgy0kyp.js → rpc-vbvpztye.js} +10 -10
- package/dist/chunks/{command-d92hqa40.js → rpc-vc47ztas.js} +24 -24
- package/dist/chunks/{command-zbxg7ead.js → rpc-ves1rs50.js} +11 -11
- package/dist/chunks/{command-vjf35v1f.js → rpc-vjf35v1f.js} +1 -1
- package/dist/chunks/{command-9s8e5srx.js → rpc-vpc4myvz.js} +5 -5
- package/dist/chunks/{command-scxj1mnc.js → rpc-vt6hhs3b.js} +23 -23
- package/dist/chunks/{command-s9rq4s3b.js → rpc-w22pzn0k.js} +10 -10
- package/dist/chunks/{command-d3ps5zqb.js → rpc-w2vsfrrr.js} +18 -18
- package/dist/chunks/{command-w3wsvvr9.js → rpc-w3wsvvr9.js} +1 -1
- package/dist/chunks/{command-wr3re1en.js → rpc-w687dnns.js} +4 -4
- package/dist/chunks/{command-aj1vmsda.js → rpc-w6km6b30.js} +18 -18
- package/dist/chunks/{command-t8295zw7.js → rpc-w7fcv3yp.js} +31 -31
- package/dist/chunks/{command-wakvkjy4.js → rpc-wakvkjy4.js} +1 -1
- package/dist/chunks/{command-4j5gbh4z.js → rpc-wbxm7ybs.js} +4 -4
- package/dist/chunks/{command-wd87259q.js → rpc-wd87259q.js} +1 -1
- package/dist/chunks/{command-7n6b9kmv.js → rpc-we4fasy2.js} +13 -13
- package/dist/chunks/{command-wegkxhrn.js → rpc-wegkxhrn.js} +2 -2
- package/dist/chunks/{command-7xft7tx6.js → rpc-wf26njaz.js} +22 -22
- package/dist/chunks/{command-3c7qpzd7.js → rpc-wgvnftve.js} +8 -8
- package/dist/chunks/{command-4hqqc0tb.js → rpc-wrnqz81f.js} +30 -30
- package/dist/chunks/{command-aj2q0md3.js → rpc-wsng76yh.js} +18 -18
- package/dist/chunks/{command-yw9j1nk8.js → rpc-x07ct04a.js} +2 -2
- package/dist/chunks/rpc-x3c9tvtc.js +16 -0
- package/dist/chunks/{command-gkgh0mmh.js → rpc-x3nh0avt.js} +16 -16
- package/dist/chunks/{command-j1qhn6xc.js → rpc-x4ggb1fy.js} +5 -5
- package/dist/chunks/{command-xbcvjbr6.js → rpc-x5tpxx7h.js} +24 -24
- package/dist/chunks/{command-a00r7tq5.js → rpc-x78gz5v1.js} +2 -2
- package/dist/chunks/{command-b06xh644.js → rpc-x8tjm333.js} +4 -4
- package/dist/chunks/{command-2tag6eys.js → rpc-xdhztcsa.js} +8 -8
- package/dist/chunks/{command-kchst7at.js → rpc-xj9efrc3.js} +8 -8
- package/dist/chunks/{command-xjr6c8m4.js → rpc-xjr6c8m4.js} +1 -1
- package/dist/chunks/{command-cvhx2cky.js → rpc-xpa10h0c.js} +18 -18
- package/dist/chunks/{command-jkgs08xq.js → rpc-xqqwedxj.js} +5 -5
- package/dist/chunks/{command-p9sdyysw.js → rpc-xrk2h63a.js} +3 -3
- package/dist/chunks/{command-n1n7gd8m.js → rpc-xwdfm221.js} +7 -7
- package/dist/chunks/{command-d0ct107g.js → rpc-xyw0merk.js} +10 -10
- package/dist/chunks/{command-z0y3kk74.js → rpc-y0gw67s9.js} +17 -17
- package/dist/chunks/{command-013mzpwz.js → rpc-y7nnbvk0.js} +6 -6
- package/dist/chunks/{command-mc3jbc04.js → rpc-y7zjd31c.js} +38 -38
- package/dist/chunks/{command-yb20nhc3.js → rpc-yb20nhc3.js} +1 -1
- package/dist/chunks/{command-7229sesc.js → rpc-yb6k0ax0.js} +12 -12
- package/dist/chunks/{command-4vw59fw4.js → rpc-yfmbdz01.js} +6 -6
- package/dist/chunks/{command-c36heay8.js → rpc-yqqjaxb9.js} +18 -18
- package/dist/chunks/{command-yr705xyq.js → rpc-yr705xyq.js} +1 -1
- package/dist/chunks/{command-n1ajx7pb.js → rpc-yskdkqyn.js} +17 -17
- package/dist/chunks/{command-yvtc2x31.js → rpc-yvtc2x31.js} +1 -1
- package/dist/chunks/{command-tappgj3r.js → rpc-zg33e2gq.js} +43 -43
- package/dist/chunks/{command-d92cn63z.js → rpc-zjsrq9ak.js} +6 -6
- package/dist/chunks/{command-2d7ax4bd.js → rpc-zk3cqagx.js} +35 -35
- package/dist/chunks/{command-avjy05q9.js → rpc-zsgwahqd.js} +13 -13
- package/dist/chunks/{command-e1jt5dma.js → rpc-zsxv381e.js} +50 -50
- package/dist/chunks/rpc-zwnbzevs.js +26 -0
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +148 -148
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +155 -155
- package/dist/command.js +96 -96
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +3 -3
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +131 -131
- package/dist/config/plugin/command.js +238 -238
- package/dist/config/plugin/compaction.js +173 -173
- package/dist/config/plugin/compatibility.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +128 -128
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +130 -130
- package/dist/config/plugin/mcp.js +141 -141
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +128 -128
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +130 -130
- package/dist/config/plugin/skill-file.js +149 -149
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +154 -154
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +134 -134
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +129 -129
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +131 -131
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +92 -92
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +77 -77
- 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/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +76 -76
- 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/v1-migration.bun.js +98 -98
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +440 -440
- 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 +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +109 -109
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +81 -81
- package/dist/file-access.js +160 -160
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +164 -164
- 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/file-watch.js +88 -88
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +251 -251
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +113 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +116 -116
- package/dist/flag.js +127 -127
- package/dist/form.js +89 -89
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +100 -100
- package/dist/generate.js +118 -118
- package/dist/git.js +7 -7
- 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 +104 -104
- 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/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +431 -431
- package/dist/instruction-discovery.js +95 -95
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +96 -96
- package/dist/job/list.js +7 -7
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +90 -90
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +182 -182
- package/dist/location-lifecycle.js +153 -153
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +428 -428
- package/dist/location.js +94 -94
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +158 -158
- package/dist/mcp/connection.js +104 -104
- package/dist/mcp/index.js +126 -126
- package/dist/mcp/instructions.js +187 -187
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/pool.js +112 -112
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +157 -157
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +104 -104
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +113 -113
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +121 -121
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +91 -91
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +156 -156
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +99 -99
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +85 -85
- package/dist/plugin/command.js +117 -117
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +244 -244
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +409 -409
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +149 -149
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +106 -106
- package/dist/plugin/provider/azure.js +133 -133
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +133 -133
- package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +148 -148
- package/dist/plugin/provider/claude-agent/instructions.js +114 -114
- package/dist/plugin/provider/claude-agent/integration.js +113 -113
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +4 -4
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/usage.js +1 -1
- package/dist/plugin/provider/claude-agent/provider.js +108 -108
- package/dist/plugin/provider/claude-agent/session.js +112 -112
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
- package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +109 -109
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +111 -111
- package/dist/plugin/provider/gitlab.js +109 -109
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +140 -140
- package/dist/plugin/provider/local.js +137 -137
- package/dist/plugin/provider/modal.js +108 -108
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +138 -138
- package/dist/plugin/provider/openai-context-caps.js +106 -106
- package/dist/plugin/provider/openai.js +133 -133
- package/dist/plugin/provider/opencode.js +159 -159
- package/dist/plugin/provider/openrouter.js +104 -104
- package/dist/plugin/provider/poe.js +90 -90
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +131 -131
- package/dist/plugin/provider/vllm.js +140 -140
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +237 -237
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +152 -152
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +419 -419
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +106 -106
- package/dist/plugin/warming.js +130 -130
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +1 -1
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +255 -255
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +93 -93
- package/dist/provider.js +112 -112
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +113 -113
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +109 -109
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +249 -249
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +263 -263
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +3 -3
- package/dist/session/blob.js +134 -134
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +171 -171
- package/dist/session/context.js +205 -205
- package/dist/session/diff.js +101 -101
- 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 +247 -247
- package/dist/session/execution.js +169 -169
- package/dist/session/generate.js +204 -204
- package/dist/session/history.js +139 -139
- package/dist/session/inbox.js +150 -150
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +90 -90
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +146 -146
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +171 -171
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +171 -171
- package/dist/session/projector.js +146 -146
- package/dist/session/prompt.js +151 -151
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +142 -142
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +258 -258
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +153 -153
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +166 -166
- package/dist/session/runner/to-llm-message.js +140 -140
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +186 -186
- package/dist/session/shell.js +145 -145
- package/dist/session/skill.js +150 -150
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +145 -145
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +237 -237
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +209 -209
- package/dist/session/to-session-error.js +152 -152
- package/dist/session/transfer.js +242 -242
- package/dist/session/usage.js +1 -1
- package/dist/session.js +243 -243
- package/dist/shared-cache.js +5 -5
- 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 +147 -147
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +152 -152
- package/dist/skill.js +161 -161
- package/dist/snapshot.js +104 -104
- 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 +186 -186
- package/dist/tool/plugin/artifact.js +236 -236
- package/dist/tool/plugin/edit.js +170 -170
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +172 -172
- package/dist/tool/plugin/grep.js +173 -173
- package/dist/tool/plugin/image-generate.js +245 -245
- package/dist/tool/plugin/mcp-resource.js +169 -169
- package/dist/tool/plugin/opencode.js +166 -166
- package/dist/tool/plugin/patch.js +171 -171
- package/dist/tool/plugin/question.js +147 -147
- package/dist/tool/plugin/read.js +175 -175
- package/dist/tool/plugin/schedule.js +255 -255
- package/dist/tool/plugin/shell.js +237 -237
- package/dist/tool/plugin/skill.js +158 -158
- package/dist/tool/plugin/subagent.js +244 -244
- package/dist/tool/plugin/todo.js +156 -156
- package/dist/tool/plugin/webfetch.js +158 -158
- package/dist/tool/plugin/websearch.js +154 -154
- package/dist/tool/plugin/write.js +171 -171
- package/dist/tool/read-filesystem.js +114 -114
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +163 -163
- package/dist/usage-limits.js +100 -100
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- 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/mcp.js +4 -4
- package/dist/v1/config/migrate.js +105 -105
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +95 -95
- package/dist/websearch.js +93 -93
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +90 -90
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +111 -111
- package/package.json +8 -8
- package/dist/chunks/command-8x060fmy.js +0 -18
- package/dist/chunks/command-aqczazaa.js +0 -16
- package/dist/chunks/command-vhaactr6.js +0 -26
- package/dist/chunks/command-vysqytr9.js +0 -265
- /package/dist/chunks/{command-0qkdqm5v.js → rpc-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{command-0zkw76rk.js → rpc-0zkw76rk.js} +0 -0
- /package/dist/chunks/{command-108x4f4w.js → rpc-108x4f4w.js} +0 -0
- /package/dist/chunks/{command-17cy0kzp.js → rpc-17cy0kzp.js} +0 -0
- /package/dist/chunks/{command-1cnp2v09.js → rpc-1cnp2v09.js} +0 -0
- /package/dist/chunks/{command-1kah00gy.js → rpc-1kah00gy.js} +0 -0
- /package/dist/chunks/{command-24dcb14g.js → rpc-24dcb14g.js} +0 -0
- /package/dist/chunks/{command-2710q6r3.js → rpc-2710q6r3.js} +0 -0
- /package/dist/chunks/{command-2bv980vf.js → rpc-2bv980vf.js} +0 -0
- /package/dist/chunks/{command-2c3vjs8z.js → rpc-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{command-359p4xyc.js → rpc-359p4xyc.js} +0 -0
- /package/dist/chunks/{command-3af0jn4w.js → rpc-3af0jn4w.js} +0 -0
- /package/dist/chunks/{command-3asan66x.js → rpc-3asan66x.js} +0 -0
- /package/dist/chunks/{command-3v8g72cx.js → rpc-3v8g72cx.js} +0 -0
- /package/dist/chunks/{command-3wcehsnq.js → rpc-3wcehsnq.js} +0 -0
- /package/dist/chunks/{command-43n2bw4t.js → rpc-43n2bw4t.js} +0 -0
- /package/dist/chunks/{command-4knz6hnm.js → rpc-4knz6hnm.js} +0 -0
- /package/dist/chunks/{command-4qk9sjk2.js → rpc-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{command-4y7fprxs.js → rpc-4y7fprxs.js} +0 -0
- /package/dist/chunks/{command-53557ph1.js → rpc-53557ph1.js} +0 -0
- /package/dist/chunks/{command-550bvhaj.js → rpc-550bvhaj.js} +0 -0
- /package/dist/chunks/{command-5w3e23ze.js → rpc-5w3e23ze.js} +0 -0
- /package/dist/chunks/{command-6agm2x70.js → rpc-6agm2x70.js} +0 -0
- /package/dist/chunks/{command-6prwharc.js → rpc-6prwharc.js} +0 -0
- /package/dist/chunks/{command-6q2bdcd1.js → rpc-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{command-7akdwqpd.js → rpc-7akdwqpd.js} +0 -0
- /package/dist/chunks/{command-7m9af43g.js → rpc-7m9af43g.js} +0 -0
- /package/dist/chunks/{command-822emrt2.js → rpc-822emrt2.js} +0 -0
- /package/dist/chunks/{command-84wd9syh.js → rpc-84wd9syh.js} +0 -0
- /package/dist/chunks/{command-88xbtdfr.js → rpc-88xbtdfr.js} +0 -0
- /package/dist/chunks/{command-8n3pysct.js → rpc-8n3pysct.js} +0 -0
- /package/dist/chunks/{command-8wj87zfr.js → rpc-8wj87zfr.js} +0 -0
- /package/dist/chunks/{command-9a4afbnw.js → rpc-9a4afbnw.js} +0 -0
- /package/dist/chunks/{command-9rqn6x4v.js → rpc-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{command-a6k6eb26.js → rpc-a6k6eb26.js} +0 -0
- /package/dist/chunks/{command-af5trqkr.js → rpc-af5trqkr.js} +0 -0
- /package/dist/chunks/{command-afrmfg78.js → rpc-afrmfg78.js} +0 -0
- /package/dist/chunks/{command-aqzs7mqg.js → rpc-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{command-atq7p7m5.js → rpc-atq7p7m5.js} +0 -0
- /package/dist/chunks/{command-beh6qq61.js → rpc-beh6qq61.js} +0 -0
- /package/dist/chunks/{command-bhmrqjy3.js → rpc-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{command-bkyjaxrp.js → rpc-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{command-bmr6ed5q.js → rpc-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{command-cf4snx6d.js → rpc-cf4snx6d.js} +0 -0
- /package/dist/chunks/{command-cqv5kn06.js → rpc-cqv5kn06.js} +0 -0
- /package/dist/chunks/{command-cvy3z8tj.js → rpc-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{command-d9fn303g.js → rpc-d9fn303g.js} +0 -0
- /package/dist/chunks/{command-d9jj8t3e.js → rpc-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{command-dap0rakb.js → rpc-dap0rakb.js} +0 -0
- /package/dist/chunks/{command-df08tz66.js → rpc-df08tz66.js} +0 -0
- /package/dist/chunks/{command-dy18nga0.js → rpc-dy18nga0.js} +0 -0
- /package/dist/chunks/{command-e5kj55wp.js → rpc-e5kj55wp.js} +0 -0
- /package/dist/chunks/{command-ean2d8b5.js → rpc-ean2d8b5.js} +0 -0
- /package/dist/chunks/{command-ec1grn59.js → rpc-ec1grn59.js} +0 -0
- /package/dist/chunks/{command-emrn6kk6.js → rpc-emrn6kk6.js} +0 -0
- /package/dist/chunks/{command-f0mxakyp.js → rpc-f0mxakyp.js} +0 -0
- /package/dist/chunks/{command-f6n9ztr4.js → rpc-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{command-faypxj3z.js → rpc-faypxj3z.js} +0 -0
- /package/dist/chunks/{command-fd410y7t.js → rpc-fd410y7t.js} +0 -0
- /package/dist/chunks/{command-fkpq3x5p.js → rpc-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{command-g4wezp1m.js → rpc-g4wezp1m.js} +0 -0
- /package/dist/chunks/{command-g86h250q.js → rpc-g86h250q.js} +0 -0
- /package/dist/chunks/{command-gebd4c9n.js → rpc-gebd4c9n.js} +0 -0
- /package/dist/chunks/{command-gftt206x.js → rpc-gftt206x.js} +0 -0
- /package/dist/chunks/{command-hcxmzztb.js → rpc-hcxmzztb.js} +0 -0
- /package/dist/chunks/{command-hk9envan.js → rpc-hk9envan.js} +0 -0
- /package/dist/chunks/{command-j2ntwpah.js → rpc-j2ntwpah.js} +0 -0
- /package/dist/chunks/{command-j5zkgpj8.js → rpc-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{command-jjkms2e6.js → rpc-jjkms2e6.js} +0 -0
- /package/dist/chunks/{command-jr7sbwjy.js → rpc-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{command-jwfs4k6c.js → rpc-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{command-jwr30sdr.js → rpc-jwr30sdr.js} +0 -0
- /package/dist/chunks/{command-jzg6c2d5.js → rpc-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{command-m18g726c.js → rpc-m18g726c.js} +0 -0
- /package/dist/chunks/{command-mp448xyj.js → rpc-mp448xyj.js} +0 -0
- /package/dist/chunks/{command-msx8hqn2.js → rpc-msx8hqn2.js} +0 -0
- /package/dist/chunks/{command-n05xt0ee.js → rpc-n05xt0ee.js} +0 -0
- /package/dist/chunks/{command-n3j8tn72.js → rpc-n3j8tn72.js} +0 -0
- /package/dist/chunks/{command-nh4v3znn.js → rpc-nh4v3znn.js} +0 -0
- /package/dist/chunks/{command-njntx4h6.js → rpc-njntx4h6.js} +0 -0
- /package/dist/chunks/{command-p71gwv9c.js → rpc-p71gwv9c.js} +0 -0
- /package/dist/chunks/{command-q3sfg36h.js → rpc-q3sfg36h.js} +0 -0
- /package/dist/chunks/{command-q74kybfr.js → rpc-q74kybfr.js} +0 -0
- /package/dist/chunks/{command-qb87gjwd.js → rpc-qb87gjwd.js} +0 -0
- /package/dist/chunks/{command-qfa1cgps.js → rpc-qfa1cgps.js} +0 -0
- /package/dist/chunks/{command-qg3g05ea.js → rpc-qg3g05ea.js} +0 -0
- /package/dist/chunks/{command-qrg20bc0.js → rpc-qrg20bc0.js} +0 -0
- /package/dist/chunks/{command-rcb2kzg1.js → rpc-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{command-sdp7kfr6.js → rpc-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{command-ssg3fenm.js → rpc-ssg3fenm.js} +0 -0
- /package/dist/chunks/{command-syrav9an.js → rpc-syrav9an.js} +0 -0
- /package/dist/chunks/{command-t03h4f5z.js → rpc-t03h4f5z.js} +0 -0
- /package/dist/chunks/{command-ty7weeps.js → rpc-ty7weeps.js} +0 -0
- /package/dist/chunks/{command-ve7vex1e.js → rpc-ve7vex1e.js} +0 -0
- /package/dist/chunks/{command-vtarvj67.js → rpc-vtarvj67.js} +0 -0
- /package/dist/chunks/{command-w803qqfp.js → rpc-w803qqfp.js} +0 -0
- /package/dist/chunks/{command-wc3fc9cn.js → rpc-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{command-wer8tq1h.js → rpc-wer8tq1h.js} +0 -0
- /package/dist/chunks/{command-wtztk69x.js → rpc-wtztk69x.js} +0 -0
- /package/dist/chunks/{command-x0ckcb58.js → rpc-x0ckcb58.js} +0 -0
- /package/dist/chunks/{command-x4th4bpe.js → rpc-x4th4bpe.js} +0 -0
- /package/dist/chunks/{command-x61499pn.js → rpc-x61499pn.js} +0 -0
- /package/dist/chunks/{command-y44na4kk.js → rpc-y44na4kk.js} +0 -0
- /package/dist/chunks/{command-y8f7s663.js → rpc-y8f7s663.js} +0 -0
- /package/dist/chunks/{command-ygaqb7jw.js → rpc-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{command-z0h12gs8.js → rpc-z0h12gs8.js} +0 -0
- /package/dist/chunks/{command-z5v4ffb3.js → rpc-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{command-z9919s4g.js → rpc-z9919s4g.js} +0 -0
- /package/dist/chunks/{command-zxpyjp51.js → rpc-zxpyjp51.js} +0 -0
|
@@ -1,68 +1,68 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-8cg7mtm3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service91,
|
|
6
6
|
node94
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./rpc-t557wa0f.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event18,
|
|
10
|
+
Service83,
|
|
11
|
+
node86
|
|
12
|
+
} from "./rpc-e3fdrgr9.js";
|
|
13
13
|
import {
|
|
14
14
|
Service88,
|
|
15
15
|
node91
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./rpc-x78gz5v1.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service56,
|
|
19
|
+
node58
|
|
20
|
+
} from "./rpc-4pzxqgpv.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID19,
|
|
23
|
+
Service84,
|
|
24
|
+
node87
|
|
25
|
+
} from "./rpc-n95g7385.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create4
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./rpc-40y6dtc2.js";
|
|
30
30
|
import {
|
|
31
31
|
ID17,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service82,
|
|
34
|
+
node85
|
|
35
|
+
} from "./rpc-8ve3yefv.js";
|
|
36
36
|
import {
|
|
37
37
|
make26
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./rpc-grf86wrj.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
40
|
+
Service35,
|
|
41
41
|
key2,
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
42
|
+
node38
|
|
43
|
+
} from "./rpc-dkxwjms4.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./rpc-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/mcp/index.ts
|
|
49
49
|
var exports_mcp4 = {};
|
|
50
50
|
__export(exports_mcp4, {
|
|
51
51
|
Mcp: () => exports_mcp4,
|
|
52
|
-
NotFoundError: () =>
|
|
53
|
-
Options: () =>
|
|
52
|
+
NotFoundError: () => NotFoundError4,
|
|
53
|
+
Options: () => Options3,
|
|
54
54
|
PromptsChanged: () => PromptsChanged2,
|
|
55
55
|
Resource: () => Resource2,
|
|
56
56
|
ResourceCatalog: () => ResourceCatalog2,
|
|
57
57
|
ResourceContent: () => ResourceContent2,
|
|
58
58
|
ResourceTemplate: () => ResourceTemplate2,
|
|
59
59
|
ServerName: () => ServerName2,
|
|
60
|
-
Service: () =>
|
|
60
|
+
Service: () => Service34,
|
|
61
61
|
Status: () => Status3,
|
|
62
62
|
ToolCallError: () => ToolCallError2,
|
|
63
|
-
configured: () =>
|
|
64
|
-
layer: () =>
|
|
65
|
-
node: () =>
|
|
63
|
+
configured: () => configured3,
|
|
64
|
+
layer: () => layer16,
|
|
65
|
+
node: () => node37
|
|
66
66
|
});
|
|
67
67
|
import { Mcp } from "@opencode/schema/mcp";
|
|
68
68
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -95,7 +95,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
|
|
|
95
95
|
var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
96
96
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
97
97
|
|
|
98
|
-
class
|
|
98
|
+
class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
99
99
|
server: ServerName2
|
|
100
100
|
}) {
|
|
101
101
|
get message() {
|
|
@@ -128,23 +128,23 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
128
128
|
var changes = { tools: McpEvent.ToolsChanged, resources: McpEvent.ResourcesChanged, prompts: PromptsChanged2 };
|
|
129
129
|
var cloneConfig = (config) => structuredClone(config);
|
|
130
130
|
|
|
131
|
-
class
|
|
131
|
+
class Service34 extends Context.Service()("@opencode/MCP") {
|
|
132
132
|
}
|
|
133
|
-
var
|
|
133
|
+
var Options3 = Schema.Struct({
|
|
134
134
|
clientInfo: Schema.optional(Schema.Struct({
|
|
135
135
|
name: Schema.String,
|
|
136
136
|
version: Schema.String
|
|
137
137
|
}))
|
|
138
138
|
});
|
|
139
|
-
var
|
|
139
|
+
var layer16 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
140
140
|
const location = yield* Service88;
|
|
141
|
-
const environment = yield*
|
|
141
|
+
const environment = yield* Service56;
|
|
142
142
|
const bus = yield* Service91;
|
|
143
|
-
const forms = yield*
|
|
144
|
-
const integration = yield*
|
|
145
|
-
const credentials = yield*
|
|
143
|
+
const forms = yield* Service84;
|
|
144
|
+
const integration = yield* Service82;
|
|
145
|
+
const credentials = yield* Service83;
|
|
146
146
|
const fetch = yield* FetchHttpClient.Fetch;
|
|
147
|
-
const pool = yield*
|
|
147
|
+
const pool = yield* Service35;
|
|
148
148
|
const root = yield* Effect.scope;
|
|
149
149
|
const fork = yield* FiberSet.makeRuntime();
|
|
150
150
|
const servers = yield* Scope.fork(root, "parallel");
|
|
@@ -175,7 +175,7 @@ var layer18 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
175
175
|
method: { id: methodID, type: "oauth", label: name },
|
|
176
176
|
authorize: () => Effect.gen(function* () {
|
|
177
177
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
178
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
178
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service83, credentials), Effect.provideService(FetchHttpClient.Fetch, fetch));
|
|
179
179
|
})
|
|
180
180
|
});
|
|
181
181
|
}).pipe(Scope.provide(scope));
|
|
@@ -183,7 +183,7 @@ var layer18 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
183
183
|
const requireServer = Effect.fnUntraced(function* (name) {
|
|
184
184
|
const entry = entries.get(name);
|
|
185
185
|
if (!entry)
|
|
186
|
-
return yield* new
|
|
186
|
+
return yield* new NotFoundError4({ server: name });
|
|
187
187
|
return entry;
|
|
188
188
|
});
|
|
189
189
|
const connected = Effect.fnUntraced(function* (name) {
|
|
@@ -196,12 +196,12 @@ var layer18 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
196
196
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
197
197
|
return;
|
|
198
198
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
199
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, credential }).pipe(Effect.provideService(
|
|
199
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, credential }).pipe(Effect.provideService(Service83, credentials), Effect.provideService(FetchHttpClient.Fetch, fetch));
|
|
200
200
|
});
|
|
201
201
|
const elicitation = {
|
|
202
202
|
create: (input) => Effect.gen(function* () {
|
|
203
203
|
if (input.params.mode === "url") {
|
|
204
|
-
const formID =
|
|
204
|
+
const formID = ID19.create();
|
|
205
205
|
const elicitationID = input.params.elicitationId;
|
|
206
206
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
207
207
|
if (key)
|
|
@@ -412,7 +412,7 @@ var layer18 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
412
412
|
clientInfo: options?.clientInfo
|
|
413
413
|
}).pipe(Effect.tap((connection) => Effect.sync(() => connection.onClose(() => {
|
|
414
414
|
closed = true;
|
|
415
|
-
}))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
415
|
+
}))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service56, environment), Scope.provide(scope), Effect.onError(() => Scope.close(scope, Exit.void)), Effect.mapError((error) => error instanceof McpClient.ConnectError ? error : new McpClient.ConnectError({ server: name, message: error.message })));
|
|
416
416
|
const register = Effect.gen(function* () {
|
|
417
417
|
if (closed) {
|
|
418
418
|
yield* Scope.close(scope, Exit.void);
|
|
@@ -485,7 +485,7 @@ var layer18 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
485
485
|
yield* entry.connection.start;
|
|
486
486
|
}).pipe(locks.withLock(name));
|
|
487
487
|
});
|
|
488
|
-
fork(bus.subscribe(
|
|
488
|
+
fork(bus.subscribe(Event18.Switched).pipe(Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
489
489
|
const state = create4({
|
|
490
490
|
name: "mcp",
|
|
491
491
|
initial: () => ({
|
|
@@ -511,7 +511,7 @@ var layer18 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
511
511
|
}),
|
|
512
512
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
513
513
|
});
|
|
514
|
-
return
|
|
514
|
+
return Service34.of({
|
|
515
515
|
transform: state.transform,
|
|
516
516
|
reload: state.reload,
|
|
517
517
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -643,23 +643,23 @@ function mergeCatalogs(catalogs) {
|
|
|
643
643
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
644
644
|
});
|
|
645
645
|
}
|
|
646
|
-
function
|
|
646
|
+
function configured3(options) {
|
|
647
647
|
return makeLocationNode({
|
|
648
|
-
service:
|
|
649
|
-
layer:
|
|
648
|
+
service: Service34,
|
|
649
|
+
layer: layer16(options),
|
|
650
650
|
deps: [
|
|
651
651
|
node91,
|
|
652
|
-
|
|
652
|
+
node58,
|
|
653
653
|
node94,
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
654
|
+
node87,
|
|
655
|
+
node85,
|
|
656
|
+
node86,
|
|
657
657
|
httpFetch,
|
|
658
|
-
|
|
658
|
+
node38
|
|
659
659
|
]
|
|
660
660
|
});
|
|
661
661
|
}
|
|
662
|
-
var
|
|
662
|
+
var node37 = configured3();
|
|
663
663
|
function toElicitationField(key, property, required) {
|
|
664
664
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
665
665
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -710,4 +710,4 @@ function toElicitationField(key, property, required) {
|
|
|
710
710
|
}
|
|
711
711
|
}
|
|
712
712
|
|
|
713
|
-
export { ServerName2, PromptsChanged2, Status3, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2,
|
|
713
|
+
export { ServerName2, PromptsChanged2, Status3, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2, Service34, Options3, layer16, configured3, node37, exports_mcp4 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/integration/connection.ts
|
|
6
6
|
var exports_connection2 = {};
|
|
7
7
|
__export(exports_connection2, {
|
|
8
8
|
CredentialInfo: () => CredentialInfo2,
|
|
9
9
|
EnvInfo: () => EnvInfo2,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info27,
|
|
11
11
|
IntegrationConnection: () => exports_connection2,
|
|
12
12
|
Status: () => Status4,
|
|
13
13
|
key: () => key3
|
|
@@ -15,7 +15,7 @@ __export(exports_connection2, {
|
|
|
15
15
|
import { Connection } from "@opencode/schema/connection";
|
|
16
16
|
var CredentialInfo2 = Connection.CredentialInfo;
|
|
17
17
|
var EnvInfo2 = Connection.EnvInfo;
|
|
18
|
-
var
|
|
18
|
+
var Info27 = Connection.Info;
|
|
19
19
|
var Status4 = Connection.Status;
|
|
20
20
|
function key3(connection) {
|
|
21
21
|
if (!connection)
|
|
@@ -23,4 +23,4 @@ function key3(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, Info27, Status4, key3, exports_connection2 };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isTextual2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-4pyp9zr9.js";
|
|
4
4
|
import {
|
|
5
5
|
invocation2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service69
|
|
7
|
+
} from "./rpc-j4301k6z.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_MARKDOWN_BYTES2,
|
|
10
10
|
convertHTMLToMarkdown2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./rpc-zxpyjp51.js";
|
|
12
12
|
import {
|
|
13
13
|
collectBoundedResponseBody2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./rpc-3v8g72cx.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./rpc-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/webfetch.ts
|
|
20
20
|
var exports_webfetch = {};
|
|
21
21
|
__export(exports_webfetch, {
|
|
22
22
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
23
|
-
Input: () =>
|
|
23
|
+
Input: () => Input9,
|
|
24
24
|
MAX_REDIRECTS: () => MAX_REDIRECTS2,
|
|
25
|
-
MAX_RESPONSE_BYTES: () =>
|
|
25
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
26
26
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
27
|
-
Plugin: () =>
|
|
27
|
+
Plugin: () => Plugin12,
|
|
28
28
|
WebFetchTool: () => exports_webfetch,
|
|
29
29
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
30
30
|
description: () => description4,
|
|
31
31
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
32
|
-
name: () =>
|
|
32
|
+
name: () => name9
|
|
33
33
|
});
|
|
34
34
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
35
35
|
import { Duration, Effect, Schema } from "effect";
|
|
36
36
|
import { FetchHttpClient, HttpClient, HttpClientError, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
37
37
|
import { Parser } from "htmlparser2";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name9 = "webfetch";
|
|
39
|
+
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
40
40
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
41
41
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
42
42
|
var description4 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
43
43
|
|
|
44
44
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
45
45
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
46
|
-
var
|
|
46
|
+
var Input9 = Schema.Struct({
|
|
47
47
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
48
48
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
49
49
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -53,7 +53,7 @@ var Input4 = Schema.Struct({
|
|
|
53
53
|
var Output = Schema.Struct({
|
|
54
54
|
url: Schema.String,
|
|
55
55
|
contentType: Schema.String,
|
|
56
|
-
format:
|
|
56
|
+
format: Input9.fields.format,
|
|
57
57
|
output: Schema.String
|
|
58
58
|
});
|
|
59
59
|
var acceptHeader = (format) => {
|
|
@@ -107,7 +107,7 @@ var execute = (http, check, url, format, userAgent = openCodeUserAgent, redirect
|
|
|
107
107
|
return yield* execute(http, check, next, format, userAgent, redirects + 1);
|
|
108
108
|
});
|
|
109
109
|
}));
|
|
110
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
110
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
|
|
111
111
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
112
112
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
113
113
|
var convert = (content, contentType, format) => {
|
|
@@ -119,16 +119,16 @@ var convert = (content, contentType, format) => {
|
|
|
119
119
|
return extractTextFromHTML2(content);
|
|
120
120
|
return content;
|
|
121
121
|
};
|
|
122
|
-
var
|
|
122
|
+
var Plugin12 = {
|
|
123
123
|
id: "opencode.tool.webfetch",
|
|
124
124
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
125
125
|
const http = yield* HttpClient.HttpClient;
|
|
126
|
-
const permission = yield*
|
|
126
|
+
const permission = yield* Service69;
|
|
127
127
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
128
|
-
name:
|
|
128
|
+
name: name9,
|
|
129
129
|
options: { codemode: false },
|
|
130
130
|
description: description4,
|
|
131
|
-
input:
|
|
131
|
+
input: Input9,
|
|
132
132
|
output: Output,
|
|
133
133
|
execute: (input, context) => Effect.gen(function* () {
|
|
134
134
|
const url = input.url.split("#")[0];
|
|
@@ -137,7 +137,7 @@ var Plugin22 = {
|
|
|
137
137
|
catch: (error) => error
|
|
138
138
|
});
|
|
139
139
|
yield* permission.assert({
|
|
140
|
-
action:
|
|
140
|
+
action: name9,
|
|
141
141
|
resources: [url],
|
|
142
142
|
save: ["*"],
|
|
143
143
|
metadata: input,
|
|
@@ -145,7 +145,7 @@ var Plugin22 = {
|
|
|
145
145
|
});
|
|
146
146
|
const { body, contentType } = yield* Effect.gen(function* () {
|
|
147
147
|
const check = (next) => permission.assertNotDenied({
|
|
148
|
-
action:
|
|
148
|
+
action: name9,
|
|
149
149
|
resources: [next],
|
|
150
150
|
metadata: { ...input, url: next },
|
|
151
151
|
...invocation2(context)
|
|
@@ -199,4 +199,4 @@ function extractTextFromHTML2(html) {
|
|
|
199
199
|
parser.end();
|
|
200
200
|
return text.trim();
|
|
201
201
|
}
|
|
202
|
-
export {
|
|
202
|
+
export { name9, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input9, MAX_REDIRECTS2, Plugin12, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service91,
|
|
3
3
|
node94
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./rpc-t557wa0f.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./rpc-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -16,17 +16,17 @@ __export(exports_form, {
|
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID19,
|
|
20
|
+
Info: () => Info29,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
23
|
NotFoundError: () => NotFoundError13,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service84,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When3,
|
|
28
28
|
layer: () => layer28,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node87,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
@@ -35,8 +35,8 @@ import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema
|
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
import { Event as Event19 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID19 = Form.ID;
|
|
39
|
+
var Info29 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When3 = Form.When;
|
|
@@ -45,7 +45,7 @@ var Answer2 = Form.Answer;
|
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
47
|
class NotFoundError13 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
-
id:
|
|
48
|
+
id: ID19
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError13 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID19
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID19
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID19,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,9 +79,9 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service84 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var layer28 = Layer.effect(
|
|
84
|
+
var layer28 = Layer.effect(Service84, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service91;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
@@ -90,7 +90,7 @@ var layer28 = Layer.effect(Service86, Effect.gen(function* () {
|
|
|
90
90
|
});
|
|
91
91
|
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError13({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID19.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -162,9 +162,9 @@ var layer28 = Layer.effect(Service86, Effect.gen(function* () {
|
|
|
162
162
|
closed = true;
|
|
163
163
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
164
164
|
yield* Effect.addFinalizer(() => close);
|
|
165
|
-
return
|
|
165
|
+
return Service84.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
167
|
+
var node87 = makeLocationNode({ service: Service84, layer: layer28, deps: [node94] });
|
|
168
168
|
function validateAnswer2(form, answer) {
|
|
169
169
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
170
170
|
for (const key of Object.keys(answer)) {
|
|
@@ -316,4 +316,4 @@ function isDateTime(value) {
|
|
|
316
316
|
return !Number.isNaN(new Date(value).getTime());
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export {
|
|
319
|
+
export { ID19, Info29, Field2, Fields2, When3, State3, Answer2, Reply3, NotFoundError13, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service84, layer28, node87, validateAnswer2, validateFields2, exports_form, Event19 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID15,
|
|
3
3
|
aisdk2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./rpc-bfw7nf23.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID14,
|
|
7
7
|
VariantID2,
|
|
8
8
|
Family2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Info22
|
|
10
|
+
} from "./rpc-905eah8s.js";
|
|
11
11
|
import {
|
|
12
12
|
connectionEnv2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./rpc-ffvvmdd5.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./rpc-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/plugin/provider/claude-agent/provider.ts
|
|
19
19
|
var exports_provider2 = {};
|
|
@@ -25,7 +25,7 @@ __export(exports_provider2, {
|
|
|
25
25
|
register: () => register7
|
|
26
26
|
});
|
|
27
27
|
import { Effect, Option, Schema, Stream, SubscriptionRef } from "effect";
|
|
28
|
-
var ID3 =
|
|
28
|
+
var ID3 = ID15.claudeAgent;
|
|
29
29
|
var PACKAGE2 = "@opencode/claude-agent";
|
|
30
30
|
var CatalogModel = Schema.Struct({
|
|
31
31
|
id: Schema.String,
|
|
@@ -35,18 +35,18 @@ var CatalogModel = Schema.Struct({
|
|
|
35
35
|
resolvedModel: Schema.optionalKey(Schema.String)
|
|
36
36
|
});
|
|
37
37
|
var Catalog = Schema.Struct({
|
|
38
|
-
priceSource: Schema.optionalKey(
|
|
38
|
+
priceSource: Schema.optionalKey(ID15),
|
|
39
39
|
models: Schema.Array(CatalogModel)
|
|
40
40
|
});
|
|
41
41
|
var CATALOG_KEY = "models";
|
|
42
42
|
var PRICE_SOURCES = {
|
|
43
|
-
firstParty:
|
|
44
|
-
anthropicAws:
|
|
45
|
-
anthropicGoogleCloud:
|
|
46
|
-
mantle:
|
|
47
|
-
bedrock:
|
|
48
|
-
vertex:
|
|
49
|
-
foundry:
|
|
43
|
+
firstParty: ID15.anthropic,
|
|
44
|
+
anthropicAws: ID15.anthropic,
|
|
45
|
+
anthropicGoogleCloud: ID15.anthropic,
|
|
46
|
+
mantle: ID15.anthropic,
|
|
47
|
+
bedrock: ID15.amazonBedrock,
|
|
48
|
+
vertex: ID15.googleVertex,
|
|
49
|
+
foundry: ID15.azure
|
|
50
50
|
};
|
|
51
51
|
var register7 = Effect.fn("ClaudeProvider.register")(function* (ctx, status, io) {
|
|
52
52
|
const saved = Schema.decodeUnknownOption(Catalog)(yield* ctx.storage.get(CATALOG_KEY));
|
|
@@ -117,7 +117,7 @@ function priceSource(account, baseURL) {
|
|
|
117
117
|
return PRICE_SOURCES[account.apiProvider];
|
|
118
118
|
}
|
|
119
119
|
function toModel(model, prices) {
|
|
120
|
-
const defaults =
|
|
120
|
+
const defaults = Info22.default(ID3, ID14.make(model.id));
|
|
121
121
|
const id = (model.resolvedModel ?? model.id).replace(/\[1m\]$/, "");
|
|
122
122
|
const priced = prices?.get(id) ?? prices?.get(id.replace(/^anthropic\./, "")) ?? prices?.get(`${id}@default`);
|
|
123
123
|
return {
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
provider2,
|
|
3
3
|
model2,
|
|
4
4
|
compatibleModel2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./rpc-dt77769w.js";
|
|
6
6
|
import {
|
|
7
7
|
aisdk2,
|
|
8
8
|
packageName2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./rpc-bfw7nf23.js";
|
|
10
10
|
import {
|
|
11
11
|
Capabilities2,
|
|
12
12
|
compatibility2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./rpc-905eah8s.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./rpc-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/v1/config/migrate.ts
|
|
19
19
|
var exports_migrate = {};
|