@opencode/core 0.0.0-dev-904 → 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 +88 -88
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +7 -7
- package/dist/artifact.js +254 -254
- package/dist/bus.js +80 -80
- package/dist/chunks/{tool-zgpeczg8.js → rpc-000tmj6z.js} +11 -11
- package/dist/chunks/{tool-2pwd5hea.js → rpc-00ym8a76.js} +6 -6
- package/dist/chunks/{tool-aj7mw0zk.js → rpc-034tev2y.js} +2 -2
- package/dist/chunks/{tool-5c9ayr0a.js → rpc-05s98443.js} +23 -23
- package/dist/chunks/{tool-b7nkz392.js → rpc-060dfe6n.js} +1 -1
- package/dist/chunks/{tool-padba6h1.js → rpc-08axshga.js} +3 -3
- package/dist/chunks/{tool-q9sa360e.js → rpc-08wx8eqd.js} +18 -18
- package/dist/chunks/{tool-vek77fn1.js → rpc-0c7bpw4e.js} +4 -4
- package/dist/chunks/{tool-j63r4wxs.js → rpc-0gags66x.js} +356 -356
- package/dist/chunks/{tool-2qr0rzrp.js → rpc-0hxfk2gz.js} +8 -8
- package/dist/chunks/{tool-sqjzf8x2.js → rpc-0j7gp832.js} +4 -4
- package/dist/chunks/{tool-0ma9gw4f.js → rpc-0ma9gw4f.js} +2 -2
- package/dist/chunks/{tool-q11dte8f.js → rpc-0n09err4.js} +16 -16
- package/dist/chunks/{tool-vfpdh65y.js → rpc-0yrg2qs0.js} +12 -12
- package/dist/chunks/{tool-wsv88edq.js → rpc-137mjkgg.js} +78 -78
- package/dist/chunks/{tool-ddvn7d3w.js → rpc-160yv0cs.js} +8 -8
- package/dist/chunks/{tool-6p2yvgd8.js → rpc-16dqnm0w.js} +24 -24
- package/dist/chunks/{tool-1aqsckx4.js → rpc-1aqsckx4.js} +1 -1
- package/dist/chunks/{tool-27w5k9zf.js → rpc-1ep2p91f.js} +2 -2
- package/dist/chunks/{tool-ft7ja7xf.js → rpc-1kqf4tcz.js} +9 -9
- package/dist/chunks/{tool-sn4t5eh4.js → rpc-1qcjt96s.js} +25 -25
- package/dist/chunks/{tool-0z237fz4.js → rpc-1s9qej89.js} +24 -24
- package/dist/chunks/{tool-dm0jrs5z.js → rpc-1sfa5jwh.js} +11 -11
- package/dist/chunks/{tool-rfjyfe4k.js → rpc-1ts7fydz.js} +10 -10
- package/dist/chunks/{tool-1x2knyw4.js → rpc-1x2knyw4.js} +1 -1
- package/dist/chunks/{tool-1yq9hg58.js → rpc-1yq9hg58.js} +1 -1
- package/dist/chunks/{tool-jkfj84cm.js → rpc-2bf0k86m.js} +13 -13
- package/dist/chunks/{tool-ypmz62e0.js → rpc-2c70hj3m.js} +13 -13
- package/dist/chunks/{tool-qp8qp7xq.js → rpc-2c71q0dy.js} +9 -9
- package/dist/chunks/{tool-nnapdt59.js → rpc-2edhfmbq.js} +14 -14
- package/dist/chunks/{tool-2fc7eemy.js → rpc-2fc7eemy.js} +1 -1
- package/dist/chunks/{tool-1cnspxhw.js → rpc-2hbad2em.js} +22 -22
- package/dist/chunks/{tool-pak53k0g.js → rpc-2nb6y5rx.js} +72 -72
- package/dist/chunks/{tool-2p60zmnr.js → rpc-2p60zmnr.js} +2 -2
- package/dist/chunks/{tool-nnvmas47.js → rpc-2qdwq1pf.js} +19 -19
- package/dist/chunks/{tool-405anx19.js → rpc-2w5rper3.js} +3 -3
- package/dist/chunks/{tool-2t9rfbr1.js → rpc-2zz882qd.js} +27 -27
- package/dist/chunks/{tool-f0sqvxyf.js → rpc-353jb4ye.js} +15 -15
- package/dist/chunks/{tool-hkh4ktw2.js → rpc-3gr30ncd.js} +12 -12
- package/dist/chunks/{tool-3hepkmqq.js → rpc-3hepkmqq.js} +1 -1
- package/dist/chunks/{tool-3nnrz6f6.js → rpc-3nnrz6f6.js} +1 -1
- package/dist/chunks/{tool-z5c1r2f6.js → rpc-3x627g1t.js} +23 -23
- package/dist/chunks/{tool-9g08pa91.js → rpc-40h0vsdk.js} +15 -15
- package/dist/chunks/{tool-40y6dtc2.js → rpc-40y6dtc2.js} +1 -1
- package/dist/chunks/{tool-8m8kx3ws.js → rpc-44hmc39s.js} +12 -12
- package/dist/chunks/{tool-44pmzq9c.js → rpc-44pmzq9c.js} +2 -2
- package/dist/chunks/{tool-4dx1dgte.js → rpc-4dx1dgte.js} +1 -1
- package/dist/chunks/{tool-r542h3bh.js → rpc-4f25tdd0.js} +5 -5
- package/dist/chunks/{tool-6b8qs503.js → rpc-4g3q8yec.js} +21 -21
- package/dist/chunks/{tool-1pbe9gq9.js → rpc-4hmbpgss.js} +3 -3
- package/dist/chunks/{tool-t19d8bxp.js → rpc-4j3rk5we.js} +3 -3
- package/dist/chunks/{tool-pfzasy7k.js → rpc-4kbmgfrg.js} +6 -6
- package/dist/chunks/{tool-4pyp9zr9.js → rpc-4pyp9zr9.js} +1 -1
- package/dist/chunks/{tool-d581z8cy.js → rpc-4pzxqgpv.js} +17 -17
- package/dist/chunks/{tool-v9gj58d7.js → rpc-4r2w5wea.js} +5 -5
- package/dist/chunks/{tool-4v008n1t.js → rpc-4v008n1t.js} +1 -1
- package/dist/chunks/{tool-6ay1c1t0.js → rpc-4vejtydw.js} +35 -35
- package/dist/chunks/{tool-f6r9v5q7.js → rpc-4vkrtwby.js} +16 -16
- package/dist/chunks/{tool-d4p3rnnj.js → rpc-50aj546h.js} +6 -6
- package/dist/chunks/{tool-v9p4ps2q.js → rpc-520kcj15.js} +5 -5
- package/dist/chunks/{tool-22z3ngk3.js → rpc-55bat24a.js} +22 -22
- package/dist/chunks/{tool-wftqf8ja.js → rpc-56y85chy.js} +27 -27
- package/dist/chunks/{tool-zw5t7e3y.js → rpc-5agvq6gt.js} +19 -19
- package/dist/chunks/{tool-5ckkk9bj.js → rpc-5ckkk9bj.js} +1 -1
- package/dist/chunks/{tool-5m9w47nd.js → rpc-5m9w47nd.js} +1 -1
- package/dist/chunks/{tool-b1zs6axd.js → rpc-5qv1r4ge.js} +7 -7
- package/dist/chunks/{tool-6q4fvzhp.js → rpc-5rhfndcf.js} +5 -5
- package/dist/chunks/{tool-xjf7t5qy.js → rpc-5rqc56t7.js} +11 -11
- package/dist/chunks/{tool-7jh0e0w6.js → rpc-5x069c1t.js} +6 -6
- package/dist/chunks/{tool-1460q3hj.js → rpc-5xcmw5gy.js} +29 -29
- package/dist/chunks/{tool-m0ge85pr.js → rpc-5xvnesv1.js} +35 -35
- package/dist/chunks/{tool-5zpqhmp2.js → rpc-65pfp3r6.js} +6 -6
- package/dist/chunks/{tool-1w0d05zm.js → rpc-68fmn9ed.js} +84 -84
- package/dist/chunks/{tool-tvjkm9e1.js → rpc-6akzqt8t.js} +40 -40
- package/dist/chunks/{tool-mzjgx79y.js → rpc-6m2y1wmr.js} +4 -4
- package/dist/chunks/{tool-xd94f5nm.js → rpc-6nqc9h5e.js} +20 -20
- package/dist/chunks/{tool-pgqxr0th.js → rpc-6ss6ngz0.js} +4 -4
- package/dist/chunks/{tool-fyzk5b1r.js → rpc-6w2z781c.js} +31 -31
- package/dist/chunks/rpc-6zjm2phc.js +18 -0
- package/dist/chunks/{tool-atgf0zmr.js → rpc-747ewpcy.js} +21 -21
- package/dist/chunks/{tool-80mg3ag8.js → rpc-775hqbnd.js} +3 -3
- package/dist/chunks/{tool-tn7x3vke.js → rpc-78dchhg8.js} +9 -9
- package/dist/chunks/{tool-79k544d0.js → rpc-79k544d0.js} +1 -1
- package/dist/chunks/{tool-7bmhse3q.js → rpc-7bmhse3q.js} +1 -1
- package/dist/chunks/{tool-00gmy8xm.js → rpc-7bvj6htm.js} +178 -178
- package/dist/chunks/{tool-155c7zz5.js → rpc-7fwv0nnm.js} +36 -36
- package/dist/chunks/{tool-cc7ea13d.js → rpc-7kp36tfx.js} +18 -18
- package/dist/chunks/{tool-3ay6yzp4.js → rpc-7trt7kgg.js} +7 -7
- package/dist/chunks/{tool-7w2ypzdf.js → rpc-7w2ypzdf.js} +1 -1
- package/dist/chunks/{tool-7weczvnd.js → rpc-7weczvnd.js} +1 -1
- package/dist/chunks/{tool-96vqe6h0.js → rpc-83e1vsvy.js} +16 -16
- package/dist/chunks/{tool-v5wd13jm.js → rpc-846r3g72.js} +7 -7
- package/dist/chunks/{tool-89287pr7.js → rpc-89287pr7.js} +1 -1
- package/dist/chunks/{tool-25h84942.js → rpc-8b3vzgkx.js} +4 -4
- package/dist/chunks/{tool-8cg7mtm3.js → rpc-8cg7mtm3.js} +1 -1
- package/dist/chunks/{tool-nbrkvs9p.js → rpc-8cjzkr7p.js} +8 -8
- package/dist/chunks/{tool-85vpeagd.js → rpc-8eyzqd2d.js} +12 -12
- package/dist/chunks/{tool-bb3mmwvh.js → rpc-8sxe6kv8.js} +2 -2
- package/dist/chunks/{tool-b0d5d3xj.js → rpc-8ve3yefv.js} +23 -23
- package/dist/chunks/{tool-8wtp7s3z.js → rpc-8wtp7s3z.js} +1 -1
- package/dist/chunks/{tool-zr0eec27.js → rpc-8xn2g8ef.js} +17 -17
- package/dist/chunks/{tool-yts2a8qm.js → rpc-8xz27cp9.js} +4 -4
- package/dist/chunks/{tool-vag1bze5.js → rpc-8zbvyw2h.js} +22 -22
- package/dist/chunks/{tool-8zv0xmg5.js → rpc-8zv0xmg5.js} +1 -1
- package/dist/chunks/{tool-51q9w6yf.js → rpc-8zzd5y3a.js} +15 -15
- package/dist/chunks/{tool-edt06h0g.js → rpc-905eah8s.js} +29 -29
- package/dist/chunks/{tool-z080rjh6.js → rpc-90ct6wq4.js} +4 -4
- package/dist/chunks/{tool-2bd99pfg.js → rpc-90ekmj7h.js} +6 -6
- package/dist/chunks/{tool-wvk4qw2j.js → rpc-90nyrst3.js} +14 -14
- package/dist/chunks/{tool-m4d441dw.js → rpc-939d1apm.js} +12 -12
- package/dist/chunks/{tool-963hk181.js → rpc-963hk181.js} +2 -2
- package/dist/chunks/{tool-svr136ng.js → rpc-99vrd1gz.js} +4 -4
- package/dist/chunks/{tool-xfdma5f7.js → rpc-9haqge1d.js} +21 -21
- package/dist/chunks/{tool-gdqab8my.js → rpc-9hf24b53.js} +5 -5
- package/dist/chunks/{tool-4pk3sz26.js → rpc-9jra0vrn.js} +11 -11
- package/dist/chunks/{tool-e1gdjb2y.js → rpc-9m4xay5y.js} +11 -11
- package/dist/chunks/{tool-kjgrvgjg.js → rpc-9np51ewf.js} +12 -12
- package/dist/chunks/{tool-w79nt68w.js → rpc-9q8g9sv8.js} +4 -4
- package/dist/chunks/{tool-74h3v0cj.js → rpc-9rryw1yq.js} +27 -27
- package/dist/chunks/{tool-wyfwz6yz.js → rpc-9w6gycrx.js} +4 -4
- package/dist/chunks/{tool-k72r4xn5.js → rpc-a0kvvzns.js} +7 -7
- package/dist/chunks/{tool-54vy2vdt.js → rpc-amyb05nb.js} +21 -21
- package/dist/chunks/{tool-q1y2c6x5.js → rpc-avgaw935.js} +31 -31
- package/dist/chunks/{tool-3cbjf1nt.js → rpc-ayjs7tqn.js} +2 -2
- package/dist/chunks/{tool-et9cjmd7.js → rpc-b1nbxbv8.js} +7 -7
- package/dist/chunks/{tool-b26ddj6h.js → rpc-b26ddj6h.js} +4 -4
- package/dist/chunks/{tool-4qgen1r6.js → rpc-b6d7ypgj.js} +32 -32
- package/dist/chunks/{tool-t62dywgn.js → rpc-bfmm6xpm.js} +6 -6
- package/dist/chunks/{tool-xdxfw927.js → rpc-bfw7nf23.js} +27 -27
- package/dist/chunks/{tool-t3qgac3j.js → rpc-bh8z3mjv.js} +5 -5
- package/dist/chunks/{tool-njx9gg5k.js → rpc-bhfd478d.js} +4 -4
- package/dist/chunks/{tool-m5rpg4mw.js → rpc-bhxsxtpd.js} +8 -8
- package/dist/chunks/{tool-fxgynan5.js → rpc-bkvywscx.js} +8 -8
- package/dist/chunks/{tool-bstexjd6.js → rpc-bstexjd6.js} +1 -1
- package/dist/chunks/{tool-by8ty0bx.js → rpc-by8ty0bx.js} +1 -1
- package/dist/chunks/{tool-x150ncgg.js → rpc-c5rvjt5f.js} +2 -2
- package/dist/chunks/{tool-c7cw818c.js → rpc-c7cw818c.js} +2 -2
- package/dist/chunks/{tool-ax9rm43e.js → rpc-cfyy2xj9.js} +30 -30
- package/dist/chunks/{tool-3pa842pg.js → rpc-cjkvy830.js} +29 -29
- package/dist/chunks/{tool-ktck1cjp.js → rpc-ckn0kvtp.js} +6 -6
- package/dist/chunks/{tool-w76xjer3.js → rpc-cnj75yzs.js} +4 -4
- package/dist/chunks/{tool-ttb0zajd.js → rpc-cpht761n.js} +45 -45
- package/dist/chunks/{tool-nrqvtcd8.js → rpc-cw7qhzds.js} +25 -25
- package/dist/chunks/{tool-cwrgdav8.js → rpc-cwrgdav8.js} +2 -2
- package/dist/chunks/{tool-cpqh714d.js → rpc-d1vdx8dt.js} +13 -13
- package/dist/chunks/{tool-d4v9tmah.js → rpc-d4v9tmah.js} +2 -2
- package/dist/chunks/{tool-3bbjthkp.js → rpc-d7skv30y.js} +15 -15
- package/dist/chunks/{tool-gnz2hs5p.js → rpc-d8pyebd3.js} +8 -8
- package/dist/chunks/{tool-5myx731x.js → rpc-df27q7rx.js} +5 -5
- package/dist/chunks/{tool-f3z4j9vv.js → rpc-dfgkkdq4.js} +13 -13
- package/dist/chunks/{tool-5nqnk5zt.js → rpc-dkxwjms4.js} +16 -16
- package/dist/chunks/{tool-706wky23.js → rpc-dq0g767b.js} +43 -43
- package/dist/chunks/{tool-dt77769w.js → rpc-dt77769w.js} +1 -1
- package/dist/chunks/{tool-45s7g4aj.js → rpc-dx2qsd0k.js} +58 -58
- package/dist/chunks/{tool-yy48g898.js → rpc-dyz5f41f.js} +19 -19
- package/dist/chunks/{tool-r1zdtk3v.js → rpc-e3fdrgr9.js} +28 -28
- package/dist/chunks/{tool-e834z07m.js → rpc-e834z07m.js} +1 -1
- package/dist/chunks/{tool-pez7as0x.js → rpc-eak39b4f.js} +38 -38
- package/dist/chunks/{tool-y9h7p0q4.js → rpc-ej1b7y7v.js} +13 -13
- package/dist/chunks/{tool-eqw4pqj1.js → rpc-eqw4pqj1.js} +2 -2
- package/dist/chunks/{tool-p5dv4rwg.js → rpc-exespdcw.js} +34 -34
- package/dist/chunks/{tool-v2xkqqn9.js → rpc-f7mmkkj6.js} +19 -19
- package/dist/chunks/{tool-fffv3p7h.js → rpc-fffv3p7h.js} +1 -1
- package/dist/chunks/{tool-y67jcnvv.js → rpc-ffvvmdd5.js} +7 -7
- package/dist/chunks/{tool-prq7xxp2.js → rpc-fg9p65nk.js} +6 -6
- package/dist/chunks/{tool-86x0psh9.js → rpc-g6eaqmyv.js} +16 -16
- package/dist/chunks/{tool-k4y08jtq.js → rpc-g7rajma4.js} +28 -28
- package/dist/chunks/{tool-pfnrdc1y.js → rpc-gbfybf69.js} +8 -8
- package/dist/chunks/{tool-gbjdnr5j.js → rpc-gbjdnr5j.js} +2 -2
- package/dist/chunks/{tool-ghrv1g9c.js → rpc-ghrv1g9c.js} +1 -1
- package/dist/chunks/{tool-x30nvd7p.js → rpc-ghvm46kv.js} +18 -18
- package/dist/chunks/{tool-vj50rhab.js → rpc-gn6qas9s.js} +8 -8
- package/dist/chunks/{tool-qna7kvz1.js → rpc-grf86wrj.js} +5 -5
- package/dist/chunks/{tool-g8vemvpr.js → rpc-gx76kxxn.js} +11 -11
- package/dist/chunks/{tool-hdrb5058.js → rpc-gya5epk9.js} +33 -33
- package/dist/chunks/{tool-0af2ej1h.js → rpc-gycf0q5e.js} +12 -12
- package/dist/chunks/{tool-0yktd958.js → rpc-h0r3stt9.js} +11 -11
- package/dist/chunks/{tool-k7cnkcnj.js → rpc-h0th52h7.js} +12 -12
- package/dist/chunks/{tool-fgv8yzeg.js → rpc-h4xh44nf.js} +11 -11
- package/dist/chunks/{tool-rj7jtxy8.js → rpc-h5chy42v.js} +3 -3
- package/dist/chunks/{tool-zq96bstz.js → rpc-h9vrndxk.js} +8 -8
- package/dist/chunks/{tool-7j1hj9ek.js → rpc-hb3pn0ak.js} +7 -7
- package/dist/chunks/{tool-74nkrfhp.js → rpc-hbca72xj.js} +7 -7
- package/dist/chunks/{tool-gzbn54hn.js → rpc-hgfv1brc.js} +1 -1
- package/dist/chunks/{tool-rs87zcqc.js → rpc-hgqy4ayf.js} +59 -59
- package/dist/chunks/{tool-hgzwgvze.js → rpc-hgzwgvze.js} +2 -2
- package/dist/chunks/{tool-9vnsmb12.js → rpc-hkkd6zqp.js} +34 -34
- package/dist/chunks/{tool-d88ap0rw.js → rpc-hm5rd2j1.js} +17 -17
- package/dist/chunks/{tool-x4mcewfn.js → rpc-hmhcwfpk.js} +6 -6
- package/dist/chunks/{tool-fw86ygjm.js → rpc-hyr5bkta.js} +3 -3
- package/dist/chunks/{tool-2224nmbs.js → rpc-j155csb5.js} +28 -28
- package/dist/chunks/{tool-pbbrhaxk.js → rpc-j4301k6z.js} +36 -36
- package/dist/chunks/{tool-sgx9k6cw.js → rpc-j5va1scs.js} +12 -12
- package/dist/chunks/{tool-ze75qvmd.js → rpc-j9nxzz3g.js} +3 -3
- package/dist/chunks/{tool-71bdgds2.js → rpc-ja4cq3nt.js} +27 -27
- package/dist/chunks/{tool-qsdghx1p.js → rpc-jg11hrrc.js} +4 -4
- package/dist/chunks/{tool-jm70asfg.js → rpc-jm70asfg.js} +1 -1
- package/dist/chunks/{tool-61qraad9.js → rpc-jv5ccajn.js} +5 -5
- package/dist/chunks/{tool-f1qx1v58.js → rpc-jvcygd6j.js} +9 -9
- package/dist/chunks/{tool-msa5m8am.js → rpc-kew8g758.js} +16 -16
- package/dist/chunks/{tool-20pht57w.js → rpc-kj9n5bvh.js} +4 -4
- package/dist/chunks/{tool-3nsns975.js → rpc-kqskj2te.js} +8 -8
- package/dist/chunks/{tool-kt3bjfbg.js → rpc-kt3bjfbg.js} +1 -1
- package/dist/chunks/{tool-an1v5wex.js → rpc-kth4h1tc.js} +8 -8
- package/dist/chunks/{tool-083k8jjw.js → rpc-kxd8s961.js} +38 -38
- package/dist/chunks/{tool-szfm0m93.js → rpc-kybyxdae.js} +27 -27
- package/dist/chunks/{tool-kzczzf4v.js → rpc-kzczzf4v.js} +1 -1
- package/dist/chunks/{tool-vtsctq43.js → rpc-m0kh8ns9.js} +12 -12
- package/dist/chunks/{tool-m1714858.js → rpc-m1714858.js} +1 -1
- package/dist/chunks/{tool-sk7x78xs.js → rpc-m55yyqtz.js} +8 -8
- package/dist/chunks/{tool-m9w0rfyh.js → rpc-m9w0rfyh.js} +1 -1
- package/dist/chunks/{tool-8z6m94af.js → rpc-mb7mbhnz.js} +3 -3
- package/dist/chunks/{tool-4260v68q.js → rpc-mbfdeyzs.js} +9 -9
- package/dist/chunks/{tool-msd2a3qm.js → rpc-msd2a3qm.js} +4 -4
- package/dist/chunks/{tool-ha1v2dhf.js → rpc-mvzqt1t6.js} +18 -18
- package/dist/chunks/{tool-q36dsedj.js → rpc-myqwvcme.js} +55 -55
- package/dist/chunks/{tool-n320gsn2.js → rpc-n320gsn2.js} +1 -1
- package/dist/chunks/{tool-7w7ts1mc.js → rpc-n40reqfs.js} +22 -22
- package/dist/chunks/{tool-1r35gkft.js → rpc-n95g7385.js} +11 -11
- package/dist/chunks/{tool-fmdffz6v.js → rpc-naea0drd.js} +20 -20
- package/dist/chunks/{tool-gn56hyyd.js → rpc-nee3jvga.js} +6 -6
- package/dist/chunks/{tool-bsq94p9g.js → rpc-nfshpcq9.js} +41 -41
- package/dist/chunks/{tool-y05fgwsx.js → rpc-nnyzb809.js} +8 -8
- package/dist/chunks/{tool-qtf35215.js → rpc-np3cybhk.js} +3 -3
- package/dist/chunks/{tool-3ktek22a.js → rpc-nykc7h8t.js} +6 -6
- package/dist/chunks/{tool-84h32f71.js → rpc-p1cgtrjg.js} +24 -24
- package/dist/chunks/{tool-sby54dqk.js → rpc-p8zwmrjs.js} +2 -2
- package/dist/chunks/{tool-pknna89w.js → rpc-pknna89w.js} +1 -1
- package/dist/chunks/{tool-ehts27c3.js → rpc-pmmz8ew7.js} +28 -28
- package/dist/chunks/{tool-y4864fy3.js → rpc-pn6anbv0.js} +11 -11
- package/dist/chunks/{tool-6f6jm3cp.js → rpc-pnwsrq7c.js} +8 -8
- package/dist/chunks/{tool-0gfhqxdg.js → rpc-pqe0096k.js} +11 -11
- package/dist/chunks/{tool-g3v175ht.js → rpc-pxm9qt5h.js} +3 -3
- package/dist/chunks/{tool-cg3fcpn4.js → rpc-py4yjbmy.js} +6 -6
- package/dist/chunks/{tool-0ahs07zn.js → rpc-q2jwrh60.js} +7 -7
- package/dist/chunks/{tool-19b2ztj7.js → rpc-q9jzns4g.js} +11 -11
- package/dist/chunks/{tool-s1td2z6q.js → rpc-qbm9mea2.js} +51 -51
- package/dist/chunks/{tool-tew3ekv0.js → rpc-qf1vbv9t.js} +14 -14
- package/dist/chunks/{tool-1z3v6jst.js → rpc-qk5sk9d1.js} +5 -5
- package/dist/chunks/{tool-nr7prwvg.js → rpc-qmy53j84.js} +15 -15
- package/dist/chunks/{tool-qp7r0hxv.js → rpc-qp7r0hxv.js} +1 -1
- package/dist/chunks/{tool-0w17snvd.js → rpc-qs1783nw.js} +10 -10
- package/dist/chunks/{tool-edv5vwyt.js → rpc-qwyyt6wr.js} +29 -29
- package/dist/chunks/{tool-p1p5zv4x.js → rpc-qx15mdxn.js} +5 -5
- package/dist/chunks/{tool-3qgwywyc.js → rpc-r17fbvme.js} +4 -4
- package/dist/chunks/{tool-f9vhsqwm.js → rpc-r41bp2n7.js} +20 -20
- package/dist/chunks/{tool-w2eysc6j.js → rpc-r41sfy63.js} +6 -6
- package/dist/chunks/{tool-ysnehdgc.js → rpc-r7etgc1n.js} +23 -23
- package/dist/chunks/{tool-cgg9h89b.js → rpc-r9dmgv7v.js} +28 -28
- package/dist/chunks/{tool-q9djgp4e.js → rpc-r9hsxkkd.js} +15 -15
- package/dist/chunks/{tool-rb9dy4dg.js → rpc-rb9dy4dg.js} +1 -1
- package/dist/chunks/{tool-g0sw756x.js → rpc-rbbqzm9j.js} +3 -3
- package/dist/chunks/{tool-yrv28rr1.js → rpc-rdfnhgq5.js} +21 -21
- package/dist/chunks/{tool-qrj805cr.js → rpc-rfwmafs8.js} +44 -44
- package/dist/chunks/{tool-rgc9cx3e.js → rpc-rgc9cx3e.js} +2 -2
- package/dist/chunks/{tool-p2tvx8t7.js → rpc-rhx7sxcq.js} +9 -9
- package/dist/chunks/{tool-r6r1w0bn.js → rpc-rj7ztx4b.js} +154 -154
- package/dist/chunks/{tool-dsxayadk.js → rpc-rkgkpnxn.js} +6 -6
- package/dist/chunks/{tool-pheg3pak.js → rpc-rm31hkb4.js} +11 -11
- package/dist/chunks/{tool-q48415cr.js → rpc-rn56gr54.js} +18 -18
- package/dist/chunks/{tool-3adw4bt5.js → rpc-rp6t20zc.js} +9 -9
- package/dist/chunks/{tool-9sr5avzc.js → rpc-rqqkm55v.js} +3 -3
- package/dist/chunks/{tool-rt5dr6hb.js → rpc-rt5dr6hb.js} +1 -1
- package/dist/chunks/{tool-jaftvzjf.js → rpc-s0whbjnr.js} +1 -1
- package/dist/chunks/{tool-x09zhxa3.js → rpc-s1zqdndx.js} +22 -22
- package/dist/chunks/{tool-mfnrxmk2.js → rpc-s44fzehs.js} +4 -4
- package/dist/chunks/{tool-j1ms48vw.js → rpc-sbx9kcqs.js} +21 -21
- package/dist/chunks/{tool-sbya78hr.js → rpc-sbya78hr.js} +1 -1
- package/dist/chunks/{tool-5yy869d1.js → rpc-sj8ez368.js} +5 -5
- package/dist/chunks/{tool-vwdemqyb.js → rpc-sm110pnw.js} +6 -6
- package/dist/chunks/{tool-hhegnqrw.js → rpc-sr3dnvks.js} +6 -6
- package/dist/chunks/{tool-svcy3p9a.js → rpc-svcy3p9a.js} +1 -1
- package/dist/chunks/{tool-qe8srvhz.js → rpc-swsq3th8.js} +14 -14
- package/dist/chunks/{tool-egjbmy1y.js → rpc-t0dw9tqp.js} +16 -16
- package/dist/chunks/{tool-73ff1310.js → rpc-t48jrnqq.js} +3 -3
- package/dist/chunks/{tool-cyvaxqay.js → rpc-t557wa0f.js} +4 -4
- package/dist/chunks/{tool-694dpcrp.js → rpc-tb2mrvc9.js} +7 -7
- package/dist/chunks/{tool-tbpn7jtk.js → rpc-tbpn7jtk.js} +1 -1
- package/dist/chunks/{tool-tczq8hjw.js → rpc-tczq8hjw.js} +1 -1
- package/dist/chunks/{tool-3dcz9emx.js → rpc-tdcnrcty.js} +7 -7
- package/dist/chunks/{tool-vq0qa3sh.js → rpc-teav1bzy.js} +9 -9
- package/dist/chunks/{tool-tg7s7b5t.js → rpc-tg7s7b5t.js} +1 -1
- package/dist/chunks/{tool-w778kp5v.js → rpc-th732hew.js} +9 -9
- package/dist/chunks/{tool-tr8x705m.js → rpc-tr8x705m.js} +1 -1
- package/dist/chunks/{tool-tvtps2q9.js → rpc-tvtps2q9.js} +1 -1
- package/dist/chunks/{tool-twssxy5n.js → rpc-twssxy5n.js} +2 -2
- package/dist/chunks/{tool-v2r1d0zg.js → rpc-v2r1d0zg.js} +1 -1
- package/dist/chunks/{tool-9mnt82q7.js → rpc-v4sxsms7.js} +9 -9
- package/dist/chunks/{tool-hna9x47e.js → rpc-v7x7q31v.js} +27 -27
- package/dist/chunks/{tool-4v0wh7cn.js → rpc-v91rzx05.js} +13 -13
- package/dist/chunks/{tool-5gwtjps0.js → rpc-vbvpztye.js} +16 -16
- package/dist/chunks/{tool-65j8xpqd.js → rpc-vc47ztas.js} +23 -23
- package/dist/chunks/{tool-pc077hap.js → rpc-ves1rs50.js} +11 -11
- package/dist/chunks/{tool-vjf35v1f.js → rpc-vjf35v1f.js} +1 -1
- package/dist/chunks/{tool-nhshg12m.js → rpc-vpc4myvz.js} +5 -5
- package/dist/chunks/{tool-1bbvyrj8.js → rpc-vt6hhs3b.js} +27 -27
- package/dist/chunks/{tool-y98jxswp.js → rpc-w22pzn0k.js} +12 -12
- package/dist/chunks/{tool-kjef077q.js → rpc-w2vsfrrr.js} +12 -12
- package/dist/chunks/{tool-w3wsvvr9.js → rpc-w3wsvvr9.js} +1 -1
- package/dist/chunks/{tool-wr3re1en.js → rpc-w687dnns.js} +4 -4
- package/dist/chunks/{tool-cjehnj7d.js → rpc-w6km6b30.js} +13 -13
- package/dist/chunks/{tool-vztdkk27.js → rpc-w7fcv3yp.js} +31 -31
- package/dist/chunks/{tool-wakvkjy4.js → rpc-wakvkjy4.js} +1 -1
- package/dist/chunks/{tool-v6j3d7ww.js → rpc-wbxm7ybs.js} +4 -4
- package/dist/chunks/{tool-wd87259q.js → rpc-wd87259q.js} +1 -1
- package/dist/chunks/{tool-71jvkvdc.js → rpc-we4fasy2.js} +13 -13
- package/dist/chunks/{tool-nx4vzyjd.js → rpc-wegkxhrn.js} +2 -2
- package/dist/chunks/{tool-7fsc8m4k.js → rpc-wf26njaz.js} +22 -22
- package/dist/chunks/{tool-k732j073.js → rpc-wgvnftve.js} +8 -8
- package/dist/chunks/{tool-wzpeeaw7.js → rpc-wrnqz81f.js} +32 -32
- package/dist/chunks/{tool-g093g6qd.js → rpc-wsng76yh.js} +18 -18
- package/dist/chunks/{tool-w2y7d4w3.js → rpc-x07ct04a.js} +2 -2
- package/dist/chunks/rpc-x3c9tvtc.js +16 -0
- package/dist/chunks/{tool-4mx18a8z.js → rpc-x3nh0avt.js} +18 -18
- package/dist/chunks/{tool-5h9rmw1n.js → rpc-x4ggb1fy.js} +5 -5
- package/dist/chunks/{tool-4b8smedx.js → rpc-x5tpxx7h.js} +24 -24
- package/dist/chunks/{tool-6p47f7n7.js → rpc-x78gz5v1.js} +2 -2
- package/dist/chunks/{tool-fbkmqcfv.js → rpc-x8tjm333.js} +4 -4
- package/dist/chunks/{tool-qd0hwsad.js → rpc-xdhztcsa.js} +11 -11
- package/dist/chunks/{tool-pr7b356r.js → rpc-xj9efrc3.js} +8 -8
- package/dist/chunks/{tool-xxschbft.js → rpc-xjr6c8m4.js} +4 -4
- package/dist/chunks/{tool-6ge1y5qj.js → rpc-xpa10h0c.js} +18 -18
- package/dist/chunks/{tool-kxhajdy2.js → rpc-xqqwedxj.js} +5 -5
- package/dist/chunks/{tool-avqh07yg.js → rpc-xrk2h63a.js} +5 -5
- package/dist/chunks/{tool-d4r41s9p.js → rpc-xwdfm221.js} +7 -7
- package/dist/chunks/{tool-tjakpvzb.js → rpc-xyw0merk.js} +8 -8
- package/dist/chunks/{tool-0fzn8tne.js → rpc-y0gw67s9.js} +20 -20
- package/dist/chunks/{tool-ppy7a7my.js → rpc-y7nnbvk0.js} +6 -6
- package/dist/chunks/{tool-2946nwq7.js → rpc-y7zjd31c.js} +39 -39
- package/dist/chunks/{tool-yb20nhc3.js → rpc-yb20nhc3.js} +1 -1
- package/dist/chunks/{tool-144d3hy7.js → rpc-yb6k0ax0.js} +12 -12
- package/dist/chunks/{tool-0mgprbja.js → rpc-yfmbdz01.js} +6 -6
- package/dist/chunks/{tool-efeabf90.js → rpc-yqqjaxb9.js} +5 -5
- package/dist/chunks/{tool-yr705xyq.js → rpc-yr705xyq.js} +1 -1
- package/dist/chunks/{tool-be7sh31c.js → rpc-yskdkqyn.js} +17 -17
- package/dist/chunks/{tool-yvtc2x31.js → rpc-yvtc2x31.js} +1 -1
- package/dist/chunks/{tool-b5atjet8.js → rpc-zg33e2gq.js} +43 -43
- package/dist/chunks/{tool-yk4ram99.js → rpc-zjsrq9ak.js} +6 -6
- package/dist/chunks/{tool-jy9jrrph.js → rpc-zk3cqagx.js} +35 -35
- package/dist/chunks/{tool-bm3kvz7r.js → rpc-zsgwahqd.js} +13 -13
- package/dist/chunks/{tool-4dfd3vjk.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 +3 -3
- 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 +133 -133
- package/dist/config/plugin/command.js +240 -240
- 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 +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +130 -130
- package/dist/config/plugin/mcp.js +145 -145
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- 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 +156 -156
- 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 +133 -133
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- 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 +107 -107
- 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 +247 -247
- 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 +11 -11
- package/dist/filesystem.js +116 -116
- package/dist/flag.js +127 -127
- package/dist/form.js +87 -87
- package/dist/formatter/builtins.js +4 -4
- 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 +112 -112
- 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 +3 -3
- 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 +97 -97
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- 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 +112 -112
- package/dist/model-resolver.js +110 -110
- 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 +93 -93
- 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 +101 -101
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +87 -87
- package/dist/plugin/command.js +119 -119
- 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 +407 -407
- 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 +4 -4
- 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 +112 -112
- package/dist/plugin/provider/claude-agent/integration.js +115 -115
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- 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 +6 -6
- 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 +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +5 -5
- package/dist/plugin/provider/claude-agent/provider.js +110 -110
- 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 +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/pending.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- 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 +135 -135
- 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 +83 -83
- 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 +415 -415
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- 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 +7 -7
- 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 +3 -3
- package/dist/plugin/websearch/tavily.js +5 -5
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +253 -253
- 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 +99 -99
- package/dist/reference.js +101 -101
- 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 +255 -255
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +134 -134
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +173 -173
- 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 +251 -251
- 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 +144 -144
- package/dist/session/message-updater.js +2 -2
- 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 +256 -256
- 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 +5 -5
- package/dist/session/runner/step.js +164 -164
- 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 +4 -4
- package/dist/session/subagent-completion.js +3 -3
- package/dist/session/subagent-job.js +237 -237
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +203 -203
- package/dist/session/to-session-error.js +152 -152
- package/dist/session/transfer.js +242 -242
- package/dist/session/usage.js +3 -3
- package/dist/session.js +241 -241
- 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 +11 -11
- package/dist/shell.js +147 -147
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +152 -152
- package/dist/skill.js +159 -159
- package/dist/snapshot.js +102 -102
- 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 +168 -168
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +174 -174
- package/dist/tool/plugin/grep.js +169 -169
- package/dist/tool/plugin/image-generate.js +247 -247
- package/dist/tool/plugin/mcp-resource.js +169 -169
- package/dist/tool/plugin/opencode.js +166 -166
- package/dist/tool/plugin/patch.js +167 -167
- package/dist/tool/plugin/question.js +149 -149
- package/dist/tool/plugin/read.js +175 -175
- package/dist/tool/plugin/schedule.js +255 -255
- package/dist/tool/plugin/shell.js +241 -241
- 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 +156 -156
- 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/types/v1/config/migrate.d.ts +2 -2
- package/dist/types/v1/config/provider.d.ts +4 -4
- 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 +96 -96
- package/dist/voice.js +97 -97
- package/dist/websearch.js +101 -101
- package/dist/wellknown/plugin.js +85 -85
- 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/tool-3qhreq2y.js +0 -16
- package/dist/chunks/tool-8x060fmy.js +0 -18
- package/dist/chunks/tool-bma3xgyt.js +0 -26
- /package/dist/chunks/{tool-0qkdqm5v.js → rpc-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{tool-0zkw76rk.js → rpc-0zkw76rk.js} +0 -0
- /package/dist/chunks/{tool-108x4f4w.js → rpc-108x4f4w.js} +0 -0
- /package/dist/chunks/{tool-17cy0kzp.js → rpc-17cy0kzp.js} +0 -0
- /package/dist/chunks/{tool-1cnp2v09.js → rpc-1cnp2v09.js} +0 -0
- /package/dist/chunks/{tool-1kah00gy.js → rpc-1kah00gy.js} +0 -0
- /package/dist/chunks/{tool-24dcb14g.js → rpc-24dcb14g.js} +0 -0
- /package/dist/chunks/{tool-2710q6r3.js → rpc-2710q6r3.js} +0 -0
- /package/dist/chunks/{tool-2bv980vf.js → rpc-2bv980vf.js} +0 -0
- /package/dist/chunks/{tool-2c3vjs8z.js → rpc-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{tool-359p4xyc.js → rpc-359p4xyc.js} +0 -0
- /package/dist/chunks/{tool-3af0jn4w.js → rpc-3af0jn4w.js} +0 -0
- /package/dist/chunks/{tool-3asan66x.js → rpc-3asan66x.js} +0 -0
- /package/dist/chunks/{tool-3v8g72cx.js → rpc-3v8g72cx.js} +0 -0
- /package/dist/chunks/{tool-3wcehsnq.js → rpc-3wcehsnq.js} +0 -0
- /package/dist/chunks/{tool-43n2bw4t.js → rpc-43n2bw4t.js} +0 -0
- /package/dist/chunks/{tool-4knz6hnm.js → rpc-4knz6hnm.js} +0 -0
- /package/dist/chunks/{tool-4qk9sjk2.js → rpc-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{tool-4y7fprxs.js → rpc-4y7fprxs.js} +0 -0
- /package/dist/chunks/{tool-53557ph1.js → rpc-53557ph1.js} +0 -0
- /package/dist/chunks/{tool-550bvhaj.js → rpc-550bvhaj.js} +0 -0
- /package/dist/chunks/{tool-5w3e23ze.js → rpc-5w3e23ze.js} +0 -0
- /package/dist/chunks/{tool-6agm2x70.js → rpc-6agm2x70.js} +0 -0
- /package/dist/chunks/{tool-6prwharc.js → rpc-6prwharc.js} +0 -0
- /package/dist/chunks/{tool-6q2bdcd1.js → rpc-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{tool-7akdwqpd.js → rpc-7akdwqpd.js} +0 -0
- /package/dist/chunks/{tool-7m9af43g.js → rpc-7m9af43g.js} +0 -0
- /package/dist/chunks/{tool-822emrt2.js → rpc-822emrt2.js} +0 -0
- /package/dist/chunks/{tool-84wd9syh.js → rpc-84wd9syh.js} +0 -0
- /package/dist/chunks/{tool-88xbtdfr.js → rpc-88xbtdfr.js} +0 -0
- /package/dist/chunks/{tool-8n3pysct.js → rpc-8n3pysct.js} +0 -0
- /package/dist/chunks/{tool-8wj87zfr.js → rpc-8wj87zfr.js} +0 -0
- /package/dist/chunks/{tool-9a4afbnw.js → rpc-9a4afbnw.js} +0 -0
- /package/dist/chunks/{tool-9rqn6x4v.js → rpc-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{tool-a6k6eb26.js → rpc-a6k6eb26.js} +0 -0
- /package/dist/chunks/{tool-af5trqkr.js → rpc-af5trqkr.js} +0 -0
- /package/dist/chunks/{tool-afrmfg78.js → rpc-afrmfg78.js} +0 -0
- /package/dist/chunks/{tool-aqzs7mqg.js → rpc-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{tool-atq7p7m5.js → rpc-atq7p7m5.js} +0 -0
- /package/dist/chunks/{tool-beh6qq61.js → rpc-beh6qq61.js} +0 -0
- /package/dist/chunks/{tool-bhmrqjy3.js → rpc-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{tool-bkyjaxrp.js → rpc-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{tool-bmr6ed5q.js → rpc-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{tool-cf4snx6d.js → rpc-cf4snx6d.js} +0 -0
- /package/dist/chunks/{tool-cqv5kn06.js → rpc-cqv5kn06.js} +0 -0
- /package/dist/chunks/{tool-cvy3z8tj.js → rpc-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{tool-d9fn303g.js → rpc-d9fn303g.js} +0 -0
- /package/dist/chunks/{tool-d9jj8t3e.js → rpc-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{tool-dap0rakb.js → rpc-dap0rakb.js} +0 -0
- /package/dist/chunks/{tool-df08tz66.js → rpc-df08tz66.js} +0 -0
- /package/dist/chunks/{tool-dy18nga0.js → rpc-dy18nga0.js} +0 -0
- /package/dist/chunks/{tool-e5kj55wp.js → rpc-e5kj55wp.js} +0 -0
- /package/dist/chunks/{tool-ean2d8b5.js → rpc-ean2d8b5.js} +0 -0
- /package/dist/chunks/{tool-ec1grn59.js → rpc-ec1grn59.js} +0 -0
- /package/dist/chunks/{tool-emrn6kk6.js → rpc-emrn6kk6.js} +0 -0
- /package/dist/chunks/{tool-f0mxakyp.js → rpc-f0mxakyp.js} +0 -0
- /package/dist/chunks/{tool-f6n9ztr4.js → rpc-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{tool-faypxj3z.js → rpc-faypxj3z.js} +0 -0
- /package/dist/chunks/{tool-fd410y7t.js → rpc-fd410y7t.js} +0 -0
- /package/dist/chunks/{tool-fkpq3x5p.js → rpc-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{tool-g4wezp1m.js → rpc-g4wezp1m.js} +0 -0
- /package/dist/chunks/{tool-g86h250q.js → rpc-g86h250q.js} +0 -0
- /package/dist/chunks/{tool-gebd4c9n.js → rpc-gebd4c9n.js} +0 -0
- /package/dist/chunks/{tool-gftt206x.js → rpc-gftt206x.js} +0 -0
- /package/dist/chunks/{tool-hcxmzztb.js → rpc-hcxmzztb.js} +0 -0
- /package/dist/chunks/{tool-hk9envan.js → rpc-hk9envan.js} +0 -0
- /package/dist/chunks/{tool-j2ntwpah.js → rpc-j2ntwpah.js} +0 -0
- /package/dist/chunks/{tool-j5zkgpj8.js → rpc-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{tool-jjkms2e6.js → rpc-jjkms2e6.js} +0 -0
- /package/dist/chunks/{tool-jr7sbwjy.js → rpc-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{tool-jwfs4k6c.js → rpc-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{tool-jwr30sdr.js → rpc-jwr30sdr.js} +0 -0
- /package/dist/chunks/{tool-jzg6c2d5.js → rpc-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{tool-m18g726c.js → rpc-m18g726c.js} +0 -0
- /package/dist/chunks/{tool-mp448xyj.js → rpc-mp448xyj.js} +0 -0
- /package/dist/chunks/{tool-msx8hqn2.js → rpc-msx8hqn2.js} +0 -0
- /package/dist/chunks/{tool-n05xt0ee.js → rpc-n05xt0ee.js} +0 -0
- /package/dist/chunks/{tool-n3j8tn72.js → rpc-n3j8tn72.js} +0 -0
- /package/dist/chunks/{tool-nh4v3znn.js → rpc-nh4v3znn.js} +0 -0
- /package/dist/chunks/{tool-njntx4h6.js → rpc-njntx4h6.js} +0 -0
- /package/dist/chunks/{tool-p71gwv9c.js → rpc-p71gwv9c.js} +0 -0
- /package/dist/chunks/{tool-q3sfg36h.js → rpc-q3sfg36h.js} +0 -0
- /package/dist/chunks/{tool-q74kybfr.js → rpc-q74kybfr.js} +0 -0
- /package/dist/chunks/{tool-qb87gjwd.js → rpc-qb87gjwd.js} +0 -0
- /package/dist/chunks/{tool-qfa1cgps.js → rpc-qfa1cgps.js} +0 -0
- /package/dist/chunks/{tool-qg3g05ea.js → rpc-qg3g05ea.js} +0 -0
- /package/dist/chunks/{tool-qrg20bc0.js → rpc-qrg20bc0.js} +0 -0
- /package/dist/chunks/{tool-rcb2kzg1.js → rpc-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{tool-sdp7kfr6.js → rpc-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{tool-ssg3fenm.js → rpc-ssg3fenm.js} +0 -0
- /package/dist/chunks/{tool-syrav9an.js → rpc-syrav9an.js} +0 -0
- /package/dist/chunks/{tool-t03h4f5z.js → rpc-t03h4f5z.js} +0 -0
- /package/dist/chunks/{tool-ty7weeps.js → rpc-ty7weeps.js} +0 -0
- /package/dist/chunks/{tool-ve7vex1e.js → rpc-ve7vex1e.js} +0 -0
- /package/dist/chunks/{tool-vtarvj67.js → rpc-vtarvj67.js} +0 -0
- /package/dist/chunks/{tool-w803qqfp.js → rpc-w803qqfp.js} +0 -0
- /package/dist/chunks/{tool-wc3fc9cn.js → rpc-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{tool-wer8tq1h.js → rpc-wer8tq1h.js} +0 -0
- /package/dist/chunks/{tool-wtztk69x.js → rpc-wtztk69x.js} +0 -0
- /package/dist/chunks/{tool-x0ckcb58.js → rpc-x0ckcb58.js} +0 -0
- /package/dist/chunks/{tool-x4th4bpe.js → rpc-x4th4bpe.js} +0 -0
- /package/dist/chunks/{tool-x61499pn.js → rpc-x61499pn.js} +0 -0
- /package/dist/chunks/{tool-y44na4kk.js → rpc-y44na4kk.js} +0 -0
- /package/dist/chunks/{tool-y8f7s663.js → rpc-y8f7s663.js} +0 -0
- /package/dist/chunks/{tool-ygaqb7jw.js → rpc-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{tool-z0h12gs8.js → rpc-z0h12gs8.js} +0 -0
- /package/dist/chunks/{tool-z5v4ffb3.js → rpc-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{tool-z9919s4g.js → rpc-z9919s4g.js} +0 -0
- /package/dist/chunks/{tool-zxpyjp51.js → rpc-zxpyjp51.js} +0 -0
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service90,
|
|
6
6
|
node93
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./rpc-qx15mdxn.js";
|
|
8
8
|
import {
|
|
9
9
|
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./rpc-bstexjd6.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service86,
|
|
16
|
+
node89
|
|
17
|
+
} from "./rpc-1ts7fydz.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./rpc-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service50,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node52,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service50 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
var isError2 = Schema.is(Schema.Union([
|
|
96
96
|
InvalidBranchError2,
|
|
@@ -107,13 +107,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
107
107
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
108
108
|
});
|
|
109
109
|
});
|
|
110
|
-
var layer = Layer.effect(
|
|
110
|
+
var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
111
111
|
const fs = yield* FSUtil.Service;
|
|
112
112
|
const git = yield* Service90;
|
|
113
113
|
const flock = yield* EffectFlock.Service;
|
|
114
114
|
const global = yield* Global.Service;
|
|
115
|
-
const kv = yield*
|
|
116
|
-
return
|
|
115
|
+
const kv = yield* Service86;
|
|
116
|
+
return Service50.of({
|
|
117
117
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
118
118
|
if (input.branch)
|
|
119
119
|
yield* validateBranch2(input.branch);
|
|
@@ -175,10 +175,10 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
175
175
|
})
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
179
|
-
service:
|
|
178
|
+
var node52 = makeGlobalNode({
|
|
179
|
+
service: Service50,
|
|
180
180
|
layer,
|
|
181
|
-
deps: [EffectFlock.node, FSUtil.node, node93, Global.node,
|
|
181
|
+
deps: [EffectFlock.node, FSUtil.node, node93, Global.node, node89]
|
|
182
182
|
});
|
|
183
183
|
function errorMessage(error) {
|
|
184
184
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -187,4 +187,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
187
187
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
190
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service50, isError2, validateBranch2, node52, exports_repository_cache };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/claude-agent/sync/record.ts
|
|
6
6
|
var exports_record = {};
|
|
7
7
|
__export(exports_record, {
|
|
8
8
|
SessionRecord: () => exports_record,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make7
|
|
10
10
|
});
|
|
11
11
|
import { Effect, Option, Schema } from "effect";
|
|
12
12
|
var Checkpoint = Schema.Struct({ hash: Schema.String, claudeMessageID: Schema.optional(Schema.String) });
|
|
@@ -15,7 +15,7 @@ var Record = Schema.Struct({
|
|
|
15
15
|
history: Schema.optional(Schema.Array(Checkpoint)),
|
|
16
16
|
interrupted: Schema.optional(Schema.Boolean)
|
|
17
17
|
});
|
|
18
|
-
function
|
|
18
|
+
function make7(storage) {
|
|
19
19
|
return {
|
|
20
20
|
get: Effect.fn("SessionRecord.get")(function* (sessionID) {
|
|
21
21
|
const saved = Schema.decodeUnknownOption(Record)(yield* storage.get(`sessions/${sessionID}`));
|
|
@@ -25,4 +25,4 @@ function make9(storage) {
|
|
|
25
25
|
};
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
export {
|
|
28
|
+
export { make7, exports_record };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./rpc-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
8
|
Service90,
|
|
9
9
|
node93
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./rpc-qx15mdxn.js";
|
|
11
11
|
import {
|
|
12
12
|
Service88,
|
|
13
13
|
node91
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./rpc-x78gz5v1.js";
|
|
15
15
|
import {
|
|
16
16
|
create4
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./rpc-40y6dtc2.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./rpc-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
25
|
+
Error: () => Error4,
|
|
26
26
|
ID: () => ID9,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service51,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node53,
|
|
30
30
|
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -36,16 +36,16 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import { ID as ID9 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error4 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service51 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const git = yield* Service90;
|
|
51
51
|
const global = yield* Global.Service;
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error4({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const directory = yield* fs.realPath(location.directory).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
75
75
|
if (!FSUtil.contains(worktree, directory))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error4({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(path.relative(worktree, directory).replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -142,25 +142,25 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
142
142
|
for (const [file, snapshot] of input.files) {
|
|
143
143
|
const absolute = path.resolve(worktree, file);
|
|
144
144
|
if (!FSUtil.contains(worktree, absolute))
|
|
145
|
-
return yield* new
|
|
145
|
+
return yield* new Error4({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
146
146
|
files.set(file, TreeID2.make(snapshot));
|
|
147
147
|
}
|
|
148
148
|
return files;
|
|
149
149
|
});
|
|
150
150
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
151
151
|
if (!enabled())
|
|
152
|
-
return yield* new
|
|
152
|
+
return yield* new Error4({ operation: "restore", message: "Snapshots are disabled" });
|
|
153
153
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
154
154
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
155
155
|
});
|
|
156
|
-
return
|
|
156
|
+
return Service51.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
157
157
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
158
|
-
var
|
|
159
|
-
service:
|
|
158
|
+
var node53 = makeLocationNode({
|
|
159
|
+
service: Service51,
|
|
160
160
|
layer,
|
|
161
161
|
deps: [FSUtil.node, node93, Global.node, node91]
|
|
162
162
|
});
|
|
163
|
-
var noopLayer2 = Layer.succeed(
|
|
163
|
+
var noopLayer2 = Layer.succeed(Service51, Service51.of({
|
|
164
164
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
165
165
|
reload: () => Effect.void,
|
|
166
166
|
capture: () => Effect.undefined,
|
|
@@ -169,13 +169,13 @@ var noopLayer2 = Layer.succeed(Service45, Service45.of({
|
|
|
169
169
|
restore: () => Effect.void
|
|
170
170
|
}));
|
|
171
171
|
function failure(operation, cause) {
|
|
172
|
-
if (cause instanceof
|
|
172
|
+
if (cause instanceof Error4 && cause.operation === operation)
|
|
173
173
|
return cause;
|
|
174
|
-
return new
|
|
174
|
+
return new Error4({
|
|
175
175
|
operation,
|
|
176
176
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
177
177
|
cause
|
|
178
178
|
});
|
|
179
179
|
}
|
|
180
180
|
|
|
181
|
-
export { ID9,
|
|
181
|
+
export { ID9, Error4, Service51, node53, noopLayer2, exports_snapshot2 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-xyw0merk.js";
|
|
4
4
|
import {
|
|
5
5
|
collectBoundedResponseBody2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-3v8g72cx.js";
|
|
7
7
|
import {
|
|
8
8
|
MAX_RESPONSE_BYTES3,
|
|
9
9
|
call2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./rpc-r41sfy63.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
register2
|
|
13
|
+
} from "./rpc-xjr6c8m4.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./rpc-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/plugin/websearch/tinyfish.ts
|
|
19
19
|
var exports_tinyfish = {};
|
|
20
20
|
__export(exports_tinyfish, {
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin25,
|
|
22
22
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
23
|
-
endpoint: () =>
|
|
23
|
+
endpoint: () => endpoint6
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Duration, Effect, Option, Schema } from "effect";
|
|
27
27
|
import { HttpClient, HttpClientRequest } from "effect/http";
|
|
28
|
-
var
|
|
28
|
+
var endpoint6 = "https://agent.tinyfish.ai/mcp";
|
|
29
29
|
var McpInput = Schema.Struct({
|
|
30
30
|
query: Schema.String
|
|
31
31
|
});
|
|
@@ -54,11 +54,11 @@ var InitializedNotification = Schema.Struct({
|
|
|
54
54
|
jsonrpc: Schema.Literal("2.0"),
|
|
55
55
|
method: Schema.Literal("notifications/initialized")
|
|
56
56
|
});
|
|
57
|
-
var
|
|
57
|
+
var Plugin25 = define({
|
|
58
58
|
id: "opencode.websearch.tinyfish",
|
|
59
59
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
60
60
|
const http = yield* HttpClient.HttpClient;
|
|
61
|
-
yield*
|
|
61
|
+
yield* register2(ctx, {
|
|
62
62
|
id: "tinyfish",
|
|
63
63
|
name: "TinyFish",
|
|
64
64
|
env: "TINYFISH_API_KEY",
|
|
@@ -68,7 +68,7 @@ var Plugin41 = define({
|
|
|
68
68
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
69
69
|
};
|
|
70
70
|
const session = credential?.type === "key" ? yield* initialize(http, headers) : undefined;
|
|
71
|
-
const result = yield* call2(http,
|
|
71
|
+
const result = yield* call2(http, endpoint6, "search", { input: McpInput, output: McpOutput }, { query: input.query }, { ...headers, ...session === undefined ? {} : { "Mcp-Session-Id": session } });
|
|
72
72
|
const content = result?.content.find((item) => item.text);
|
|
73
73
|
const response = content ? Option.getOrUndefined(decodeSearchResponse(content.text)) : undefined;
|
|
74
74
|
return response?.results.map((item) => ({
|
|
@@ -83,7 +83,7 @@ var Plugin41 = define({
|
|
|
83
83
|
});
|
|
84
84
|
var initialize = (http, headers) => Effect.gen(function* () {
|
|
85
85
|
const client = HttpClient.withScope(HttpClient.filterStatusOk(http));
|
|
86
|
-
const request = yield* HttpClientRequest.post(
|
|
86
|
+
const request = yield* HttpClientRequest.post(endpoint6).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders(headers), HttpClientRequest.schemaBodyJson(InitializeRequest)({
|
|
87
87
|
jsonrpc: "2.0",
|
|
88
88
|
id: 1,
|
|
89
89
|
method: "initialize",
|
|
@@ -98,7 +98,7 @@ var initialize = (http, headers) => Effect.gen(function* () {
|
|
|
98
98
|
const session = response.headers["mcp-session-id"];
|
|
99
99
|
if (session === undefined)
|
|
100
100
|
return yield* Effect.fail(new Error("TinyFish MCP initialize did not return an Mcp-Session-Id header"));
|
|
101
|
-
const notification = yield* HttpClientRequest.post(
|
|
101
|
+
const notification = yield* HttpClientRequest.post(endpoint6).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders({ ...headers, "Mcp-Session-Id": session }), HttpClientRequest.schemaBodyJson(InitializedNotification)({
|
|
102
102
|
jsonrpc: "2.0",
|
|
103
103
|
method: "notifications/initialized"
|
|
104
104
|
}));
|
|
@@ -109,4 +109,4 @@ var initialize = (http, headers) => Effect.gen(function* () {
|
|
|
109
109
|
orElse: () => Effect.fail(new Error("TinyFish initialize request timed out"))
|
|
110
110
|
}));
|
|
111
111
|
|
|
112
|
-
export {
|
|
112
|
+
export { endpoint6, Plugin25, exports_tinyfish };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service91,
|
|
3
3
|
node94
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./rpc-t557wa0f.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create4
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./rpc-40y6dtc2.js";
|
|
9
9
|
import {
|
|
10
10
|
Service88,
|
|
11
11
|
node91
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./rpc-x78gz5v1.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID15,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
19
|
+
Service78,
|
|
20
|
+
node81,
|
|
21
|
+
Event15
|
|
22
|
+
} from "./rpc-bfw7nf23.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./rpc-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,19 +30,19 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event14,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID14,
|
|
36
|
+
Info: () => Info22,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref3,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service77,
|
|
41
41
|
Type: () => Type2,
|
|
42
42
|
VariantID: () => VariantID2,
|
|
43
43
|
compatibility: () => compatibility2,
|
|
44
44
|
mergeCapabilities: () => mergeCapabilities2,
|
|
45
|
-
node: () =>
|
|
45
|
+
node: () => node80,
|
|
46
46
|
parse: () => parse5,
|
|
47
47
|
supportsText: () => supportsText2
|
|
48
48
|
});
|
|
@@ -50,8 +50,8 @@ import { Model } from "@opencode/schema/model";
|
|
|
50
50
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
51
51
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
52
52
|
import { freeze } from "immer";
|
|
53
|
-
import { Event as
|
|
54
|
-
var
|
|
53
|
+
import { Event as Event14 } from "@opencode/schema/model";
|
|
54
|
+
var ID14 = Model.ID;
|
|
55
55
|
var VariantID2 = Model.VariantID;
|
|
56
56
|
var Family2 = Model.Family;
|
|
57
57
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -69,12 +69,12 @@ var mergeCapabilities2 = (config, base) => {
|
|
|
69
69
|
var Cost2 = Model.Cost;
|
|
70
70
|
var Type2 = Model.Type;
|
|
71
71
|
var Ref3 = Model.Ref;
|
|
72
|
-
var
|
|
72
|
+
var Info22 = Model.Info;
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service77 extends Context.Service()("@opencode/Model") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
77
|
-
const providers = yield*
|
|
76
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
77
|
+
const providers = yield* Service78;
|
|
78
78
|
const bus = yield* Service91;
|
|
79
79
|
const location = yield* Service88;
|
|
80
80
|
const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
122
122
|
const models = writable(providerID);
|
|
123
123
|
if (!models)
|
|
124
124
|
return;
|
|
125
|
-
const model = draft(providerID, modelID) ??
|
|
125
|
+
const model = draft(providerID, modelID) ?? Info22.default(providerID, modelID);
|
|
126
126
|
update(model);
|
|
127
127
|
model.id = modelID;
|
|
128
128
|
model.providerID = providerID;
|
|
@@ -191,7 +191,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
191
191
|
];
|
|
192
192
|
}));
|
|
193
193
|
if (disableFree)
|
|
194
|
-
for (const providerID of [
|
|
194
|
+
for (const providerID of [ID15.opencode, ID15.make("opencode-go")])
|
|
195
195
|
byProvider.get(providerID)?.forEach((model, id, models) => {
|
|
196
196
|
if (!model.cost.some((cost) => cost.input > 0))
|
|
197
197
|
models.delete(id);
|
|
@@ -227,8 +227,8 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
227
227
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
228
228
|
});
|
|
229
229
|
});
|
|
230
|
-
yield* bus.subscribe(
|
|
231
|
-
return
|
|
230
|
+
yield* bus.subscribe(Event15.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
231
|
+
return Service77.of({
|
|
232
232
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
233
233
|
reload,
|
|
234
234
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -247,7 +247,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
247
247
|
})
|
|
248
248
|
});
|
|
249
249
|
}));
|
|
250
|
-
var
|
|
250
|
+
var node80 = makeLocationNode({ service: Service77, layer, deps: [node81, node94, node91] });
|
|
251
251
|
var PREFERRED_FREE = [
|
|
252
252
|
"big-pickle",
|
|
253
253
|
"deepseek-v4.1-flash-free",
|
|
@@ -255,7 +255,7 @@ var PREFERRED_FREE = [
|
|
|
255
255
|
"muse-spark-1.3-contributor-free"
|
|
256
256
|
];
|
|
257
257
|
function preferFree(models) {
|
|
258
|
-
const freeOnly = models.every((model) => model.providerID ===
|
|
258
|
+
const freeOnly = models.every((model) => model.providerID === ID15.opencode && !model.cost.some((cost) => cost.input > 0));
|
|
259
259
|
if (!freeOnly)
|
|
260
260
|
return models;
|
|
261
261
|
const picks = PREFERRED_FREE.flatMap((id) => models.find((model) => model.id === id) ?? []);
|
|
@@ -274,9 +274,9 @@ function compatibility2(input) {
|
|
|
274
274
|
function parse5(input) {
|
|
275
275
|
const index = input.indexOf("/");
|
|
276
276
|
return {
|
|
277
|
-
providerID:
|
|
278
|
-
modelID:
|
|
277
|
+
providerID: ID15.make(index === -1 ? input : input.slice(0, index)),
|
|
278
|
+
modelID: ID14.make(index === -1 ? "" : input.slice(index + 1))
|
|
279
279
|
};
|
|
280
280
|
}
|
|
281
281
|
|
|
282
|
-
export {
|
|
282
|
+
export { ID14, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Type2, Ref3, Info22, Service77, node80, supportsText2, compatibility2, parse5, exports_model2, Event14 };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/claude-agent/language-model/claude-agent-error.ts
|
|
6
6
|
var exports_claude_agent_error = {};
|
|
7
7
|
__export(exports_claude_agent_error, {
|
|
8
8
|
ClaudeAgentError: () => exports_claude_agent_error,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make9
|
|
10
10
|
});
|
|
11
|
-
function
|
|
11
|
+
function make9() {
|
|
12
12
|
let code;
|
|
13
13
|
let rejected;
|
|
14
14
|
return (message) => {
|
|
@@ -40,4 +40,4 @@ function make11() {
|
|
|
40
40
|
};
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { make9, exports_claude_agent_error };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AGENT_OPTION2,
|
|
3
3
|
INSTRUCTIONS_OPTION2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./rpc-kj9n5bvh.js";
|
|
5
5
|
import {
|
|
6
6
|
ID3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./rpc-naea0drd.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./rpc-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/claude-agent/instructions.ts
|
|
13
13
|
var exports_instructions2 = {};
|
|
14
14
|
__export(exports_instructions2, {
|
|
15
15
|
ClaudeInstructions: () => exports_instructions2,
|
|
16
|
-
register: () =>
|
|
16
|
+
register: () => register4
|
|
17
17
|
});
|
|
18
18
|
import { Effect, Option, Schema } from "effect";
|
|
19
19
|
var KINDS = ["context", "generate", "compaction"];
|
|
@@ -23,7 +23,7 @@ var InstructionsMetadata = Schema.Struct({
|
|
|
23
23
|
})
|
|
24
24
|
});
|
|
25
25
|
var SUPPLIED_BY_CLAUDE = new Set(["core/date", "core/environment"]);
|
|
26
|
-
var
|
|
26
|
+
var register4 = Effect.fn("ClaudeInstructions.register")(function* (ctx) {
|
|
27
27
|
yield* Effect.forEach(KINDS, (kind) => ctx.session.hook(kind, (event) => Effect.gen(function* () {
|
|
28
28
|
const agent = yield* ctx.agent.get({ agentID: event.agent }).pipe(Effect.orDie);
|
|
29
29
|
event.options[AGENT_OPTION2] = agent.data.system ?? "";
|
|
@@ -49,4 +49,4 @@ function instructions(system) {
|
|
|
49
49
|
`);
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
export {
|
|
52
|
+
export { register4, exports_instructions2 };
|
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./rpc-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service56,
|
|
8
|
+
node58
|
|
9
|
+
} from "./rpc-4pzxqgpv.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./rpc-tbpn7jtk.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./rpc-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
@@ -20,8 +20,8 @@ __export(exports_ripgrep, {
|
|
|
20
20
|
Error: () => Error3,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service47,
|
|
24
|
+
node: () => node49
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/process";
|
|
@@ -59,13 +59,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
59
59
|
}) {
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
class
|
|
62
|
+
class Service47 extends Context.Service()("@opencode/Ripgrep") {
|
|
63
63
|
}
|
|
64
64
|
var failure = (message, cause) => new Error3({ message, cause });
|
|
65
65
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
66
66
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
67
|
-
var layer = Layer.effect(
|
|
68
|
-
const environment = yield*
|
|
67
|
+
var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
68
|
+
const environment = yield* Service56;
|
|
69
69
|
const binary = yield* RipgrepBinary2.Service;
|
|
70
70
|
const run = (input) => {
|
|
71
71
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -93,7 +93,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
93
93
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
94
94
|
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error3 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
95
95
|
};
|
|
96
|
-
return
|
|
96
|
+
return Service47.of({
|
|
97
97
|
glob: (input) => run({
|
|
98
98
|
cwd: input.cwd,
|
|
99
99
|
limit: input.limit,
|
|
@@ -179,6 +179,6 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
179
179
|
}))))
|
|
180
180
|
});
|
|
181
181
|
}));
|
|
182
|
-
var
|
|
182
|
+
var node49 = makeLocationNode({ service: Service47, layer, deps: [node58, RipgrepBinary2.node] });
|
|
183
183
|
|
|
184
|
-
export { Error3, InvalidPatternError2,
|
|
184
|
+
export { Error3, InvalidPatternError2, Service47, node49, exports_ripgrep };
|