@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,67 +1,67 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-qx15mdxn.js";
|
|
7
7
|
import {
|
|
8
8
|
Slug2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./rpc-gebd4c9n.js";
|
|
10
10
|
import {
|
|
11
11
|
Service92,
|
|
12
12
|
node95
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./rpc-6m2y1wmr.js";
|
|
14
14
|
import {
|
|
15
15
|
Service91,
|
|
16
16
|
node94
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./rpc-t557wa0f.js";
|
|
18
18
|
import {
|
|
19
19
|
ProjectTable2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./rpc-034tev2y.js";
|
|
21
21
|
import {
|
|
22
22
|
WorktreeTable2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./rpc-ayjs7tqn.js";
|
|
24
24
|
import {
|
|
25
25
|
ID21,
|
|
26
26
|
NotFoundError14
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./rpc-mbfdeyzs.js";
|
|
28
28
|
import {
|
|
29
29
|
Ref5
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./rpc-x78gz5v1.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service68,
|
|
33
|
+
node70
|
|
34
|
+
} from "./rpc-78dchhg8.js";
|
|
35
35
|
import {
|
|
36
36
|
DirectoryUnavailableError2,
|
|
37
37
|
canonical2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./rpc-d4v9tmah.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
40
|
+
Service17
|
|
41
|
+
} from "./rpc-qf1vbv9t.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./rpc-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
48
48
|
__export(exports_worktree2, {
|
|
49
|
-
CreateInput: () =>
|
|
49
|
+
CreateInput: () => CreateInput3,
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
|
-
Event: () =>
|
|
53
|
-
Info: () =>
|
|
52
|
+
Event: () => Event3,
|
|
53
|
+
Info: () => Info5,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
56
56
|
ListEntry: () => ListEntry2,
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RemoveInput: () => RemoveInput2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service16,
|
|
60
60
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
61
61
|
StrategyID: () => StrategyID2,
|
|
62
62
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
63
63
|
Worktree: () => exports_worktree2,
|
|
64
|
-
node: () =>
|
|
64
|
+
node: () => node19
|
|
65
65
|
});
|
|
66
66
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
67
67
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -73,9 +73,9 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
73
73
|
import { ChildProcess } from "effect/process";
|
|
74
74
|
import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
75
75
|
var StrategyID2 = Worktree.StrategyID;
|
|
76
|
-
var
|
|
76
|
+
var CreateInput3 = Worktree.CreateInput;
|
|
77
77
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
78
|
-
var
|
|
78
|
+
var Info5 = Worktree.Info;
|
|
79
79
|
var List2 = Worktree.List;
|
|
80
80
|
var ListEntry2 = Worktree.ListEntry;
|
|
81
81
|
|
|
@@ -90,17 +90,17 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
|
|
|
90
90
|
|
|
91
91
|
class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
|
|
92
92
|
}
|
|
93
|
-
var
|
|
93
|
+
var Event3 = Worktree.Event;
|
|
94
94
|
|
|
95
|
-
class
|
|
95
|
+
class Service16 extends Context.Service()("@opencode/Worktree") {
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
99
|
const database = yield* Service92;
|
|
100
100
|
const db = database.db;
|
|
101
101
|
const bus = yield* Service91;
|
|
102
102
|
const processService = yield* AppProcess.Service;
|
|
103
|
-
const locations = yield*
|
|
103
|
+
const locations = yield* Service68;
|
|
104
104
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
105
105
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
106
106
|
if (!row)
|
|
@@ -115,11 +115,11 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
115
115
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
116
116
|
const context = yield* locations.contextEffect(Ref5.make({ directory }));
|
|
117
117
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
118
|
-
return Context.get(context,
|
|
118
|
+
return Context.get(context, Service17).get();
|
|
119
119
|
});
|
|
120
120
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
121
121
|
if (update)
|
|
122
|
-
yield* bus.publish(
|
|
122
|
+
yield* bus.publish(Event3.Updated, { projectID });
|
|
123
123
|
});
|
|
124
124
|
const ops = {
|
|
125
125
|
list: Effect.fnUntraced(function* (projectID) {
|
|
@@ -246,7 +246,7 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
246
246
|
})).pipe(Effect.orDie);
|
|
247
247
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
248
248
|
}, Effect.scoped);
|
|
249
|
-
return
|
|
249
|
+
return Service16.of({
|
|
250
250
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
251
251
|
yield* project(input.projectID);
|
|
252
252
|
return yield* ops.list(input.projectID);
|
|
@@ -256,10 +256,10 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
256
256
|
refresh
|
|
257
257
|
});
|
|
258
258
|
}));
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
259
|
+
var node19 = Node.makeGlobalNode({
|
|
260
|
+
service: Service16,
|
|
261
261
|
layer,
|
|
262
|
-
deps: [FSUtil.node, node94, node95, AppProcess.node,
|
|
262
|
+
deps: [FSUtil.node, node94, node95, AppProcess.node, node70]
|
|
263
263
|
});
|
|
264
264
|
function operationError(strategy, operation, error) {
|
|
265
265
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -269,4 +269,4 @@ function operationError(strategy, operation, error) {
|
|
|
269
269
|
});
|
|
270
270
|
}
|
|
271
271
|
|
|
272
|
-
export { StrategyID2,
|
|
272
|
+
export { StrategyID2, CreateInput3, RemoveInput2, Info5, List2, ListEntry2, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event3, Service16, node19, exports_worktree2, OperationError2 };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service91
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-t557wa0f.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service51
|
|
6
|
+
} from "./rpc-8zbvyw2h.js";
|
|
7
7
|
import {
|
|
8
8
|
StepFailedError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./rpc-65pfp3r6.js";
|
|
10
10
|
import {
|
|
11
11
|
SessionEvent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./rpc-ec1grn59.js";
|
|
13
13
|
import {
|
|
14
14
|
toSessionError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./rpc-4kbmgfrg.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Error2
|
|
18
|
+
} from "./rpc-pmmz8ew7.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service44
|
|
21
|
+
} from "./rpc-q9jzns4g.js";
|
|
22
22
|
import {
|
|
23
23
|
record2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./rpc-4f25tdd0.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./rpc-4j3rk5we.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./rpc-ckn0kvtp.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./rpc-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
@@ -53,8 +53,8 @@ var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not r
|
|
|
53
53
|
var make3 = Effect.gen(function* () {
|
|
54
54
|
const bus = yield* Service91;
|
|
55
55
|
const llm = yield* LLMClient.Service;
|
|
56
|
-
const snapshots = yield*
|
|
57
|
-
const toolOutput = yield*
|
|
56
|
+
const snapshots = yield* Service51;
|
|
57
|
+
const toolOutput = yield* Service44;
|
|
58
58
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
59
59
|
const pendingStartSnapshot = yield* snapshots.capture().pipe(Effect.forkScoped);
|
|
60
60
|
const started = yield* Clock.currentTimeMillis;
|
|
@@ -76,7 +76,7 @@ var make3 = Effect.gen(function* () {
|
|
|
76
76
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
77
77
|
const executeTool = (call) => {
|
|
78
78
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
79
|
-
return new
|
|
79
|
+
return new Error2({ message: "Tools are disabled after the maximum agent steps" });
|
|
80
80
|
return input.prepared.executeTool({
|
|
81
81
|
sessionID: input.sessionID,
|
|
82
82
|
agent: input.agent,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
render2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-79k544d0.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/optimize.ts
|
|
9
9
|
var exports_optimize = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_optimize, {
|
|
|
13
13
|
ArceePlugin: () => ArceePlugin2,
|
|
14
14
|
KimiPlugin: () => KimiPlugin2,
|
|
15
15
|
MetaPlugin: () => MetaPlugin2,
|
|
16
|
-
OpenAIPlugin: () =>
|
|
16
|
+
OpenAIPlugin: () => OpenAIPlugin2,
|
|
17
17
|
OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
|
|
18
18
|
OptimizePlugin: () => exports_optimize,
|
|
19
19
|
Plugins: () => Plugins2,
|
|
@@ -375,7 +375,7 @@ By default, match the surrounding comment density: where the code has none, add
|
|
|
375
375
|
`;
|
|
376
376
|
|
|
377
377
|
// src/plugin/optimize.ts
|
|
378
|
-
var
|
|
378
|
+
var OpenAIPlugin2 = make("opencode.prompt.openai", (model) => {
|
|
379
379
|
const id = model.id.toLowerCase();
|
|
380
380
|
if (!id.includes("gpt"))
|
|
381
381
|
return;
|
|
@@ -410,7 +410,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
|
|
|
410
410
|
return;
|
|
411
411
|
return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
|
|
412
412
|
});
|
|
413
|
-
var Plugins2 = [
|
|
413
|
+
var Plugins2 = [OpenAIPlugin2, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
|
|
414
414
|
var models = new WeakMap;
|
|
415
415
|
var resolveModel2 = (ctx, event) => Effect.gen(function* () {
|
|
416
416
|
const cached = models.get(event);
|
|
@@ -447,4 +447,4 @@ ${rendered}` : rendered;
|
|
|
447
447
|
});
|
|
448
448
|
}
|
|
449
449
|
|
|
450
|
-
export {
|
|
450
|
+
export { OpenAIPlugin2, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, resolveModel2, exports_optimize };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID14
|
|
3
|
+
} from "./rpc-905eah8s.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/openrouter.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
for (const item of models.provider.list()) {
|
|
22
22
|
if (item.provider.package !== "@opencode/ai/providers/openrouter")
|
|
23
23
|
continue;
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID14.make("gpt-5-chat-latest"), ID14.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!models.get(item.provider.id, modelID))
|
|
26
26
|
continue;
|
|
27
27
|
models.update(item.provider.id, modelID, (model) => {
|
|
@@ -1,67 +1,67 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service84
|
|
3
|
+
} from "./rpc-n95g7385.js";
|
|
4
4
|
import {
|
|
5
5
|
invocation2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service69
|
|
7
|
+
} from "./rpc-j4301k6z.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID20,
|
|
10
10
|
Result2,
|
|
11
11
|
ProviderRequiredError2,
|
|
12
|
-
|
|
12
|
+
DisabledError4,
|
|
13
13
|
RequestError2,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service85
|
|
15
|
+
} from "./rpc-gya5epk9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./rpc-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/plugin/websearch.ts
|
|
21
21
|
var exports_websearch = {};
|
|
22
22
|
__export(exports_websearch, {
|
|
23
|
-
Input: () =>
|
|
23
|
+
Input: () => Input13,
|
|
24
24
|
NO_RESULTS: () => NO_RESULTS2,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin17,
|
|
26
26
|
WebSearchTool: () => exports_websearch,
|
|
27
|
-
description: () =>
|
|
28
|
-
name: () =>
|
|
27
|
+
description: () => description6,
|
|
28
|
+
name: () => name13
|
|
29
29
|
});
|
|
30
30
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
31
31
|
import { Effect, Schema, Semaphore } from "effect";
|
|
32
32
|
import { HttpClientError } from "effect/http";
|
|
33
|
-
var
|
|
33
|
+
var name13 = "websearch";
|
|
34
34
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
35
35
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
36
36
|
var httpErrors = new Map([
|
|
37
37
|
[429, "Web search rate limited (HTTP 429)"],
|
|
38
38
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
39
39
|
]);
|
|
40
|
-
var
|
|
40
|
+
var description6 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
41
41
|
|
|
42
42
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
43
|
-
var
|
|
43
|
+
var Input13 = Schema.Struct({
|
|
44
44
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
45
45
|
});
|
|
46
46
|
var Output = Schema.Struct({
|
|
47
|
-
provider:
|
|
47
|
+
provider: ID20,
|
|
48
48
|
results: Schema.Array(Result2)
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Plugin17 = {
|
|
51
51
|
id: "opencode.tool.websearch",
|
|
52
52
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
53
|
-
const permission = yield*
|
|
54
|
-
const forms = yield*
|
|
55
|
-
const websearch = yield*
|
|
53
|
+
const permission = yield* Service69;
|
|
54
|
+
const forms = yield* Service84;
|
|
55
|
+
const websearch = yield* Service85;
|
|
56
56
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
57
|
-
name:
|
|
57
|
+
name: name13,
|
|
58
58
|
options: { codemode: false },
|
|
59
|
-
description:
|
|
60
|
-
input:
|
|
59
|
+
description: description6,
|
|
60
|
+
input: Input13,
|
|
61
61
|
output: Output,
|
|
62
62
|
execute: (input, context) => Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name13,
|
|
65
65
|
resources: [input.query],
|
|
66
66
|
save: ["*"],
|
|
67
67
|
metadata: input,
|
|
@@ -108,7 +108,7 @@ var Plugin5 = {
|
|
|
108
108
|
return yield* Effect.fail(new Error("Web search cancelled"));
|
|
109
109
|
if (response.answer.choice === "disable") {
|
|
110
110
|
yield* websearch.select(false);
|
|
111
|
-
return yield* new
|
|
111
|
+
return yield* new DisabledError4;
|
|
112
112
|
}
|
|
113
113
|
const selection = response.answer.choice === "choose" ? yield* forms.ask({
|
|
114
114
|
sessionID: context.sessionID,
|
|
@@ -175,7 +175,7 @@ ${result.content}` : ""}`;
|
|
|
175
175
|
const hook = (event) => Effect.gen(function* () {
|
|
176
176
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
177
177
|
if (disabled || (yield* websearch.providers()).length === 0)
|
|
178
|
-
delete event.tools[
|
|
178
|
+
delete event.tools[name13];
|
|
179
179
|
});
|
|
180
180
|
yield* ctx.session.hook("context", hook);
|
|
181
181
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -183,4 +183,4 @@ ${result.content}` : ""}`;
|
|
|
183
183
|
})
|
|
184
184
|
};
|
|
185
185
|
|
|
186
|
-
export {
|
|
186
|
+
export { name13, NO_RESULTS2, description6, Input13, Plugin17, exports_websearch };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service91,
|
|
3
3
|
node94
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./rpc-t557wa0f.js";
|
|
5
5
|
import {
|
|
6
6
|
Service88,
|
|
7
7
|
node91
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./rpc-x78gz5v1.js";
|
|
9
9
|
import {
|
|
10
10
|
Service73,
|
|
11
11
|
node75
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./rpc-2bf0k86m.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
NotFoundError10
|
|
15
|
+
} from "./rpc-65pfp3r6.js";
|
|
16
16
|
import {
|
|
17
17
|
match3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./rpc-1aqsckx4.js";
|
|
19
|
+
import {
|
|
20
|
+
Service70,
|
|
21
|
+
node72
|
|
22
|
+
} from "./rpc-j5va1scs.js";
|
|
19
23
|
import {
|
|
20
24
|
Service71,
|
|
21
25
|
node73
|
|
22
|
-
} from "./
|
|
26
|
+
} from "./rpc-747ewpcy.js";
|
|
23
27
|
import {
|
|
24
28
|
Service72,
|
|
25
29
|
node74
|
|
26
|
-
} from "./
|
|
27
|
-
import {
|
|
28
|
-
Service74,
|
|
29
|
-
node76
|
|
30
|
-
} from "./tool-vj50rhab.js";
|
|
30
|
+
} from "./rpc-gn6qas9s.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./rpc-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/permission.ts
|
|
36
36
|
var exports_permission = {};
|
|
@@ -39,30 +39,30 @@ __export(exports_permission, {
|
|
|
39
39
|
CorrectedError: () => CorrectedError2,
|
|
40
40
|
DeclinedError: () => DeclinedError2,
|
|
41
41
|
Effect: () => PermissionEffect,
|
|
42
|
-
Event: () =>
|
|
43
|
-
ID: () =>
|
|
44
|
-
NotFoundError: () =>
|
|
42
|
+
Event: () => Event11,
|
|
43
|
+
ID: () => ID11,
|
|
44
|
+
NotFoundError: () => NotFoundError9,
|
|
45
45
|
Permission: () => exports_permission,
|
|
46
46
|
Reply: () => Reply2,
|
|
47
47
|
Request: () => Request3,
|
|
48
48
|
Rule: () => Rule2,
|
|
49
49
|
Ruleset: () => Ruleset2,
|
|
50
|
-
Service: () =>
|
|
50
|
+
Service: () => Service69,
|
|
51
51
|
Source: () => Source5,
|
|
52
52
|
Unattended: () => Unattended2,
|
|
53
53
|
evaluate: () => evaluate3,
|
|
54
54
|
invocation: () => invocation2,
|
|
55
55
|
merge: () => merge2,
|
|
56
|
-
node: () =>
|
|
56
|
+
node: () => node71
|
|
57
57
|
});
|
|
58
58
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
59
59
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
60
60
|
import { Permission } from "@opencode/schema/permission";
|
|
61
61
|
import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
62
|
-
import { Event as
|
|
62
|
+
import { Event as Event11 } from "@opencode/schema/permission";
|
|
63
63
|
var PermissionEffect = Permission.Effect;
|
|
64
64
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
65
|
-
var
|
|
65
|
+
var ID11 = Permission.ID;
|
|
66
66
|
var Source5 = Permission.Source;
|
|
67
67
|
var Request3 = Permission.Request;
|
|
68
68
|
var Reply2 = Permission.Reply;
|
|
@@ -99,8 +99,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
class
|
|
103
|
-
requestID:
|
|
102
|
+
class NotFoundError9 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
103
|
+
requestID: ID11
|
|
104
104
|
}) {
|
|
105
105
|
}
|
|
106
106
|
function evaluate3(action, resource, ...rulesets) {
|
|
@@ -114,15 +114,15 @@ function merge2(...rulesets) {
|
|
|
114
114
|
return rulesets.flat();
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service69 extends Context.Service()("@opencode/Permission") {
|
|
118
118
|
}
|
|
119
|
-
var layer = Layer.effect(
|
|
119
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
120
120
|
const bus = yield* Service91;
|
|
121
121
|
const location = yield* Service88;
|
|
122
122
|
const agents = yield* Service73;
|
|
123
|
-
const sessions = yield*
|
|
124
|
-
const saved = yield*
|
|
125
|
-
const hooks = yield*
|
|
123
|
+
const sessions = yield* Service70;
|
|
124
|
+
const saved = yield* Service71;
|
|
125
|
+
const hooks = yield* Service72;
|
|
126
126
|
const pending = new Map;
|
|
127
127
|
let closed = false;
|
|
128
128
|
const close = Effect.gen(function* () {
|
|
@@ -145,7 +145,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
145
145
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
146
146
|
const session = yield* sessions.get(sessionID);
|
|
147
147
|
if (!session)
|
|
148
|
-
return yield* new
|
|
148
|
+
return yield* new NotFoundError10({ sessionID });
|
|
149
149
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
150
150
|
return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
|
|
151
151
|
});
|
|
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
186
186
|
});
|
|
187
187
|
function request(input, message) {
|
|
188
188
|
return {
|
|
189
|
-
id: input.id ??
|
|
189
|
+
id: input.id ?? ID11.create(),
|
|
190
190
|
sessionID: input.sessionID,
|
|
191
191
|
action: input.action,
|
|
192
192
|
resources: input.resources,
|
|
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
211
211
|
}));
|
|
212
212
|
const ask = Effect.fn("Permission.ask")(function* (input) {
|
|
213
213
|
if (closed)
|
|
214
|
-
return { id: input.id ??
|
|
214
|
+
return { id: input.id ?? ID11.create(), effect: "deny" };
|
|
215
215
|
const result = yield* evaluateInput(input);
|
|
216
216
|
const value = request(input, result.message);
|
|
217
217
|
if (result.effect === "ask")
|
|
@@ -258,7 +258,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
258
258
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
259
259
|
const existing = pending.get(input.requestID);
|
|
260
260
|
if (!existing)
|
|
261
|
-
return yield* new
|
|
261
|
+
return yield* new NotFoundError9({ requestID: input.requestID });
|
|
262
262
|
yield* bus.publish(Permission.Event.Replied, {
|
|
263
263
|
sessionID: existing.request.sessionID,
|
|
264
264
|
requestID: existing.request.id,
|
|
@@ -313,12 +313,12 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
313
313
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
314
314
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
315
315
|
});
|
|
316
|
-
return
|
|
316
|
+
return Service69.of({ ask, assert, assertNotDenied, allows, reply, get, forSession, list, close });
|
|
317
317
|
}));
|
|
318
|
-
var
|
|
319
|
-
service:
|
|
318
|
+
var node71 = makeLocationNode({
|
|
319
|
+
service: Service69,
|
|
320
320
|
layer,
|
|
321
|
-
deps: [node94, node91, node75, node73, node74
|
|
321
|
+
deps: [node94, node91, node75, node72, node73, node74]
|
|
322
322
|
});
|
|
323
323
|
|
|
324
|
-
export { PermissionEffect,
|
|
324
|
+
export { PermissionEffect, ID11, Source5, Request3, Reply2, invocation2, Unattended2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError9, evaluate3, merge2, Service69, node71, exports_permission, Rule2, Ruleset2, Event11 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service92,
|
|
3
3
|
node95
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./rpc-6m2y1wmr.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./rpc-mb7mbhnz.js";
|
|
9
9
|
import {
|
|
10
10
|
decodeMessageRows2,
|
|
11
11
|
decodeMessageRowsWithRefs2,
|
|
12
12
|
load6
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./rpc-939d1apm.js";
|
|
14
14
|
import {
|
|
15
15
|
fromRow2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./rpc-c5rvjt5f.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./rpc-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/store.ts
|
|
22
22
|
var exports_store = {};
|
|
23
23
|
__export(exports_store, {
|
|
24
24
|
ListInput: () => ListInput3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service70,
|
|
26
26
|
SessionStore: () => exports_store,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node72
|
|
28
28
|
});
|
|
29
29
|
import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -54,9 +54,9 @@ var ListProjectInput = Schema.Struct({
|
|
|
54
54
|
var ListAllInput = Schema.Struct(ListInputBase);
|
|
55
55
|
var ListInput3 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service70 extends Context.Service()("@opencode/SessionStore") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
60
60
|
const { db } = yield* Service92;
|
|
61
61
|
const messageRows = Effect.fnUntraced(function* (input) {
|
|
62
62
|
const direction = input.cursor?.direction ?? "next";
|
|
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
71
71
|
return direction === "previous" ? rows.toReversed() : rows;
|
|
72
72
|
});
|
|
73
73
|
const messageRow = (messageID) => db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
|
|
74
|
-
return
|
|
74
|
+
return Service70.of({
|
|
75
75
|
get: Effect.fnUntraced(function* (sessionID) {
|
|
76
76
|
const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
|
|
77
77
|
return row ? fromRow2(row) : undefined;
|
|
@@ -143,6 +143,6 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
143
143
|
})
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node72 = makeGlobalNode({ service: Service70, layer, deps: [node95] });
|
|
147
147
|
|
|
148
|
-
export { ListInput3,
|
|
148
|
+
export { ListInput3, Service70, node72, exports_store };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
content3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-sbya78hr.js";
|
|
4
4
|
import {
|
|
5
5
|
groups2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-vjf35v1f.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./rpc-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/claude-agent/tools/result.ts
|
|
12
12
|
var exports_result = {};
|