@opencode/core 0.0.0-dev-1288 → 0.0.0-dev-1290
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 +90 -90
- package/dist/aisdk-native.js +1 -1
- package/dist/aisdk.js +107 -107
- package/dist/app.js +11 -11
- package/dist/artifact.js +256 -256
- package/dist/bus.js +84 -84
- package/dist/chunks/{skill-mzp60shv.js → shell-02jtd6tm.js} +43 -40
- package/dist/chunks/{skill-034tev2y.js → shell-034tev2y.js} +2 -2
- package/dist/chunks/{skill-m9n49n2a.js → shell-036h8fdp.js} +59 -59
- package/dist/chunks/{skill-qvb92zbx.js → shell-041v5tdm.js} +33 -33
- package/dist/chunks/{skill-kf1ntdb9.js → shell-07bwg3ag.js} +28 -28
- package/dist/chunks/{skill-cpvd08na.js → shell-0ahs07zn.js} +4 -4
- package/dist/chunks/{skill-vzqtskbr.js → shell-0nhh32tw.js} +32 -32
- package/dist/chunks/{skill-f2zjpyt5.js → shell-0x1mgtk1.js} +7 -7
- package/dist/chunks/{skill-94hpwp71.js → shell-10gr9x6r.js} +7 -7
- package/dist/chunks/{skill-1aqsckx4.js → shell-1aqsckx4.js} +1 -1
- package/dist/chunks/{skill-1ep2p91f.js → shell-1ep2p91f.js} +2 -2
- package/dist/chunks/{skill-vk29xtdn.js → shell-1ht684zy.js} +10 -10
- package/dist/chunks/{skill-779a1kce.js → shell-1kc3dxqe.js} +11 -11
- package/dist/chunks/{skill-26ap4nbq.js → shell-1kjevvsj.js} +29 -29
- package/dist/chunks/{skill-5462zn5f.js → shell-1kydnfe0.js} +17 -17
- package/dist/chunks/{skill-70b87wq7.js → shell-1sktch6z.js} +4 -4
- package/dist/chunks/{skill-1x2knyw4.js → shell-1x2knyw4.js} +1 -1
- package/dist/chunks/{skill-w687dnns.js → shell-1yped5qa.js} +4 -4
- package/dist/chunks/{skill-0tfnrs7b.js → shell-1z8rd4y7.js} +86 -86
- package/dist/chunks/{skill-k78pvvak.js → shell-1zwszevj.js} +12 -12
- package/dist/chunks/{skill-0xr7csge.js → shell-272251ye.js} +35 -35
- package/dist/chunks/{skill-j186219z.js → shell-2752nbda.js} +18 -18
- package/dist/chunks/{skill-9bk4t4nz.js → shell-2axadjqp.js} +28 -28
- package/dist/chunks/{skill-pdc5q8mj.js → shell-2bjcmpmd.js} +27 -27
- package/dist/chunks/{skill-hretfjjx.js → shell-2c6sxtb9.js} +2 -2
- package/dist/chunks/{skill-2fc7eemy.js → shell-2fc7eemy.js} +1 -1
- package/dist/chunks/{skill-b8mx8zzt.js → shell-2hd8jcxt.js} +7 -7
- package/dist/chunks/{skill-pmvha8p2.js → shell-2hgs491h.js} +12 -12
- package/dist/chunks/{skill-7dkfmmsp.js → shell-2j1p6fst.js} +25 -25
- package/dist/chunks/{skill-ypzfmdvb.js → shell-2prt43t7.js} +4 -4
- package/dist/chunks/{skill-ztxtkq44.js → shell-2rr4ndnk.js} +21 -21
- package/dist/chunks/{skill-xcdwrw2g.js → shell-2vy30qsk.js} +9 -9
- package/dist/chunks/{skill-7t89jwbf.js → shell-2x1v243r.js} +3 -3
- package/dist/chunks/shell-2xwbf6wj.js +273 -0
- package/dist/chunks/{skill-jt6dz72n.js → shell-30rhazf7.js} +27 -27
- package/dist/chunks/{skill-jq1k8593.js → shell-372fjf10.js} +15 -15
- package/dist/chunks/{skill-3adw4bt5.js → shell-3adw4bt5.js} +2 -2
- package/dist/chunks/{skill-nv2c5e9q.js → shell-3beq3wdw.js} +3 -3
- package/dist/chunks/{skill-tsq3zbsd.js → shell-3d2mm3vx.js} +6 -6
- package/dist/chunks/{skill-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
- package/dist/chunks/{skill-2brepv0z.js → shell-3k3qn6df.js} +33 -33
- package/dist/chunks/{skill-75fqvagm.js → shell-3n05fcw1.js} +21 -21
- package/dist/chunks/{skill-3nnrz6f6.js → shell-3nnrz6f6.js} +1 -1
- package/dist/chunks/{skill-xacrkbdt.js → shell-3qgwywyc.js} +4 -4
- package/dist/chunks/{skill-ybsqb9vh.js → shell-3wtd29rm.js} +16 -16
- package/dist/chunks/{skill-g49394pz.js → shell-3wy9pjwk.js} +8 -8
- package/dist/chunks/{skill-40y6dtc2.js → shell-40y6dtc2.js} +1 -1
- package/dist/chunks/{skill-ad03y81a.js → shell-40z5th0b.js} +46 -46
- package/dist/chunks/{skill-40za9wsf.js → shell-40za9wsf.js} +2 -2
- package/dist/chunks/{skill-88fk8ra6.js → shell-49qe5vn3.js} +9 -9
- package/dist/chunks/{skill-dtfy0h3z.js → shell-4c2herfy.js} +19 -19
- package/dist/chunks/{skill-4dx1dgte.js → shell-4dx1dgte.js} +1 -1
- package/dist/chunks/{skill-4f25tdd0.js → shell-4f25tdd0.js} +1 -1
- package/dist/chunks/{skill-wt6a3mqf.js → shell-4gmbvmjy.js} +4 -4
- package/dist/chunks/{skill-7fze536j.js → shell-4k15ewm4.js} +58 -58
- package/dist/chunks/{skill-03tcc1wc.js → shell-4mc83bbn.js} +11 -11
- package/dist/chunks/{skill-xrnga7ra.js → shell-4pfgtjx9.js} +39 -39
- package/dist/chunks/{skill-t5ymqest.js → shell-4tqh0wa0.js} +18 -18
- package/dist/chunks/{skill-4v008n1t.js → shell-4v008n1t.js} +1 -1
- package/dist/chunks/{skill-s98wrfw7.js → shell-5580khtc.js} +5 -5
- package/dist/chunks/{skill-5d5yp73e.js → shell-581gww9a.js} +31 -31
- package/dist/chunks/{skill-mjcdh3gk.js → shell-5a8bvt48.js} +18 -18
- package/dist/chunks/{skill-ggtm172q.js → shell-5ajstdpj.js} +3 -3
- package/dist/chunks/{skill-e8d2b6mn.js → shell-5ap0fmqs.js} +46 -46
- package/dist/chunks/{skill-y2j4d7b6.js → shell-5fhygy7x.js} +5 -5
- package/dist/chunks/{skill-z0jdm4k5.js → shell-5fvnbb7g.js} +18 -18
- package/dist/chunks/{skill-ewstw71d.js → shell-5g3sqtzq.js} +13 -13
- package/dist/chunks/{skill-3j862yd2.js → shell-5hk26ct8.js} +4 -4
- package/dist/chunks/{skill-461vt668.js → shell-5k30pa83.js} +11 -11
- package/dist/chunks/{skill-bhmwncm1.js → shell-5kjh3fp2.js} +8 -8
- package/dist/chunks/{skill-hvd5tw3z.js → shell-5kx0tcwv.js} +19 -19
- package/dist/chunks/{skill-5m9w47nd.js → shell-5m9w47nd.js} +1 -1
- package/dist/chunks/{skill-af5h9vj2.js → shell-5pe9a1ah.js} +358 -358
- package/dist/chunks/{skill-zkdm0p6x.js → shell-5rwvcsk1.js} +20 -20
- package/dist/chunks/{skill-s47rahr7.js → shell-5whx36p1.js} +4 -4
- package/dist/chunks/{skill-wq1xd5na.js → shell-5yydhn6j.js} +11 -11
- package/dist/chunks/{skill-tt9rk80g.js → shell-64qpjjtt.js} +4 -4
- package/dist/chunks/{skill-w7a3yet4.js → shell-68awjq2g.js} +4 -4
- package/dist/chunks/{skill-44erdk8z.js → shell-6ajzzf30.js} +17 -17
- package/dist/chunks/{skill-gm1em1g1.js → shell-6n1a95p2.js} +21 -21
- package/dist/chunks/{skill-86zcfc4c.js → shell-6x377egw.js} +12 -12
- package/dist/chunks/{skill-e0zepttq.js → shell-70fr565a.js} +16 -16
- package/dist/chunks/{skill-54hyepmp.js → shell-71sysy2y.js} +9 -9
- package/dist/chunks/{skill-6n3z4peb.js → shell-757br8qe.js} +3 -3
- package/dist/chunks/{skill-q4h3vea2.js → shell-764k30td.js} +15 -15
- package/dist/chunks/{skill-9npybxqx.js → shell-79f993sj.js} +185 -185
- package/dist/chunks/{skill-55x0ca6n.js → shell-7b24kfpk.js} +6 -6
- package/dist/chunks/{skill-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
- package/dist/chunks/{skill-6adb23kb.js → shell-7kr13cwj.js} +30 -30
- package/dist/chunks/{skill-6cen8r5r.js → shell-7m6fmr2n.js} +18 -18
- package/dist/chunks/{skill-ytfevedp.js → shell-7rg6wp20.js} +34 -34
- package/dist/chunks/{skill-s209603a.js → shell-7rwwc7c6.js} +30 -30
- package/dist/chunks/{skill-tax8e16k.js → shell-7s8ymmn3.js} +6 -6
- package/dist/chunks/{skill-439vg8zg.js → shell-7tgrc4pb.js} +3 -3
- package/dist/chunks/{skill-7tx5zndv.js → shell-7tx5zndv.js} +2 -2
- package/dist/chunks/{skill-7w2ypzdf.js → shell-7w2ypzdf.js} +1 -1
- package/dist/chunks/{skill-7weczvnd.js → shell-7weczvnd.js} +1 -1
- package/dist/chunks/{skill-qn714ycf.js → shell-7wm1zxcp.js} +10 -10
- package/dist/chunks/{skill-80mg3ag8.js → shell-80mg3ag8.js} +3 -3
- package/dist/chunks/{skill-80pdk984.js → shell-80pdk984.js} +1 -1
- package/dist/chunks/{skill-96m3d58b.js → shell-80x6bn8s.js} +16 -16
- package/dist/chunks/{skill-85jq8dht.js → shell-85jq8dht.js} +1 -1
- package/dist/chunks/{skill-8b3vzgkx.js → shell-8b3vzgkx.js} +1 -1
- package/dist/chunks/{skill-9rqfe4ad.js → shell-8bcc8xgx.js} +3 -3
- package/dist/chunks/{skill-vvhvz5v6.js → shell-8bzbvxx5.js} +8 -8
- package/dist/chunks/{skill-8kjyvwy5.js → shell-8kjyvwy5.js} +1 -1
- package/dist/chunks/{skill-776n154v.js → shell-8ks4m3f8.js} +11 -11
- package/dist/chunks/{skill-h4zg6gzy.js → shell-8rdgdyq1.js} +12 -12
- package/dist/chunks/{skill-nhwnw7z8.js → shell-8rkwdy0x.js} +35 -35
- package/dist/chunks/{skill-8sxe6kv8.js → shell-8sxe6kv8.js} +2 -2
- package/dist/chunks/{skill-xekq0vej.js → shell-8tqnf2bj.js} +41 -41
- package/dist/chunks/{skill-8wtp7s3z.js → shell-8wtp7s3z.js} +1 -1
- package/dist/chunks/shell-8x060fmy.js +18 -0
- package/dist/chunks/{skill-8zv0xmg5.js → shell-8zv0xmg5.js} +1 -1
- package/dist/chunks/{skill-zcqr2s0j.js → shell-937z30ry.js} +1 -1
- package/dist/chunks/shell-954nhh0r.js +35 -0
- package/dist/chunks/{skill-xmm0678x.js → shell-9ajdwvay.js} +6 -6
- package/dist/chunks/{skill-vpaj1tc4.js → shell-9d8ym846.js} +20 -20
- package/dist/chunks/{skill-gdadnt0q.js → shell-9ggbr50n.js} +8 -8
- package/dist/chunks/{skill-4vh8e1q7.js → shell-9gj0vyre.js} +8 -8
- package/dist/chunks/{skill-cendkn2m.js → shell-9jv0p77m.js} +18 -18
- package/dist/chunks/{skill-495vdj1c.js → shell-9k2g0ym6.js} +8 -8
- package/dist/chunks/{skill-ct1nm8d1.js → shell-9mg7wdw4.js} +7 -7
- package/dist/chunks/{skill-9agfr4d6.js → shell-9pgwy7mp.js} +3 -3
- package/dist/chunks/{skill-9cy7bv90.js → shell-9pj7rt5g.js} +14 -14
- package/dist/chunks/{skill-e6xsdcex.js → shell-9qsncqnw.js} +5 -5
- package/dist/chunks/{skill-6559t45n.js → shell-9ssz4sbn.js} +15 -15
- package/dist/chunks/{skill-cey47jp0.js → shell-a0v1tzpz.js} +62 -62
- package/dist/chunks/{skill-h78cq6gt.js → shell-a7tnx6tz.js} +6 -6
- package/dist/chunks/{skill-9aprp0hr.js → shell-afmrm9jp.js} +15 -15
- package/dist/chunks/{skill-agje4kmn.js → shell-agje4kmn.js} +1 -1
- package/dist/chunks/{skill-fe9kz23p.js → shell-amf76w9b.js} +4 -4
- package/dist/chunks/{skill-y4gmpd10.js → shell-an3v1ppn.js} +8 -8
- package/dist/chunks/{skill-xjxz5vy8.js → shell-aw3y0msm.js} +10 -10
- package/dist/chunks/{skill-fd1fb83z.js → shell-aw40mjd5.js} +15 -15
- package/dist/chunks/{skill-ayjs7tqn.js → shell-ayjs7tqn.js} +2 -2
- package/dist/chunks/{skill-zjweszz6.js → shell-b5ye62tg.js} +13 -13
- package/dist/chunks/{skill-hr60ecax.js → shell-b6nv4j0d.js} +44 -44
- package/dist/chunks/{skill-8xn5wnt4.js → shell-bfpzgz6w.js} +5 -5
- package/dist/chunks/{skill-he42nnyh.js → shell-bmve9sd3.js} +14 -14
- package/dist/chunks/{skill-0ev6yt64.js → shell-bq43x4h4.js} +32 -32
- package/dist/chunks/{skill-dy41a2ws.js → shell-bsfkzme1.js} +9 -9
- package/dist/chunks/{skill-9ts8ce21.js → shell-bwy1nbck.js} +8 -8
- package/dist/chunks/{skill-r0wrga32.js → shell-c1sfsxsr.js} +8 -8
- package/dist/chunks/{skill-88gs4f06.js → shell-c4amkny1.js} +7 -7
- package/dist/chunks/{skill-rj7j5fvs.js → shell-c5zvymhv.js} +4 -4
- package/dist/chunks/{skill-q32ndhrq.js → shell-cg3fcpn4.js} +6 -6
- package/dist/chunks/{skill-6sf4gdbt.js → shell-cg9h77xb.js} +20 -20
- package/dist/chunks/{skill-xccw6ckh.js → shell-cj92zmqh.js} +37 -37
- package/dist/chunks/{skill-kzdam8c6.js → shell-ckk44cdz.js} +5 -5
- package/dist/chunks/{skill-e164s8vb.js → shell-cm8m770w.js} +23 -23
- package/dist/chunks/{skill-pnyht9cq.js → shell-cnajk3fc.js} +2 -2
- package/dist/chunks/{skill-qy5agx8k.js → shell-ct0vk1dd.js} +16 -16
- package/dist/chunks/{skill-cwrgdav8.js → shell-cwrgdav8.js} +2 -2
- package/dist/chunks/{skill-2w5yyhv1.js → shell-d13dydqg.js} +26 -26
- package/dist/chunks/{skill-d4v9tmah.js → shell-d4v9tmah.js} +2 -2
- package/dist/chunks/{skill-21jyc2zq.js → shell-daknqgt1.js} +7 -7
- package/dist/chunks/{skill-kwfh7c08.js → shell-dhzvbg85.js} +11 -11
- package/dist/chunks/{skill-dt77769w.js → shell-dt77769w.js} +1 -1
- package/dist/chunks/{skill-0a6gezy6.js → shell-dz72rk26.js} +14 -14
- package/dist/chunks/{skill-c5m2a8vb.js → shell-e174pryb.js} +8 -8
- package/dist/chunks/{skill-f0t7yv95.js → shell-e78r2htc.js} +6 -6
- package/dist/chunks/{skill-m73zgh3e.js → shell-e7v33rxr.js} +17 -17
- package/dist/chunks/{skill-cpzt8qfw.js → shell-e9gkae3p.js} +5 -5
- package/dist/chunks/{skill-a9q5y6nq.js → shell-eab5a047.js} +8 -8
- package/dist/chunks/{skill-y9fr1g04.js → shell-eadhmztq.js} +12 -12
- package/dist/chunks/{skill-eqw4pqj1.js → shell-eqw4pqj1.js} +2 -2
- package/dist/chunks/{skill-yf162282.js → shell-erw1n1n0.js} +10 -10
- package/dist/chunks/{skill-etrnj9s7.js → shell-etrnj9s7.js} +3 -3
- package/dist/chunks/{skill-rwz4qwm5.js → shell-exc0wzcc.js} +43 -43
- package/dist/chunks/{skill-xamez0gd.js → shell-f0nrrz8m.js} +15 -15
- package/dist/chunks/{skill-nxgd89cq.js → shell-f2nnq1r4.js} +3 -3
- package/dist/chunks/{skill-q963thn8.js → shell-ffbj9x3w.js} +6 -6
- package/dist/chunks/{skill-fg9p65nk.js → shell-fg9p65nk.js} +2 -2
- package/dist/chunks/{skill-2gmad1r4.js → shell-fjzamaa5.js} +9 -9
- package/dist/chunks/{skill-fnrhryqq.js → shell-fnrhryqq.js} +1 -1
- package/dist/chunks/{skill-cqwx6s5k.js → shell-fqndkgn5.js} +28 -28
- package/dist/chunks/{skill-0zjy86nb.js → shell-ft0tgf2k.js} +54 -53
- package/dist/chunks/{skill-e39q5v3d.js → shell-fvbnqws7.js} +9 -9
- package/dist/chunks/{skill-jmcdzceq.js → shell-fxzjpcmt.js} +29 -29
- package/dist/chunks/{skill-g4j39vhd.js → shell-g3rhqpf5.js} +7 -7
- package/dist/chunks/{skill-b26ddj6h.js → shell-g4txs7zc.js} +4 -4
- package/dist/chunks/{skill-z080rjh6.js → shell-g5ajqn12.js} +4 -4
- package/dist/chunks/{skill-gbjdnr5j.js → shell-gbjdnr5j.js} +2 -2
- package/dist/chunks/{skill-6kpkha8e.js → shell-geh962y4.js} +24 -24
- package/dist/chunks/{skill-se3qh63c.js → shell-ghfv61hj.js} +89 -89
- package/dist/chunks/{skill-ghrv1g9c.js → shell-ghrv1g9c.js} +1 -1
- package/dist/chunks/{skill-26wfx3k0.js → shell-gmemj5zs.js} +4 -4
- package/dist/chunks/{skill-xkbnm6m8.js → shell-gncv9nvm.js} +49 -49
- package/dist/chunks/{skill-gxs71cxp.js → shell-gxs71cxp.js} +1 -1
- package/dist/chunks/{skill-mykrynga.js → shell-h2n6s98n.js} +15 -15
- package/dist/chunks/{skill-srd5t2wx.js → shell-h4wgpeav.js} +12 -12
- package/dist/chunks/{skill-gqbzaqtg.js → shell-hb1x6x0z.js} +7 -7
- package/dist/chunks/{skill-wsy9w2q0.js → shell-hd06affw.js} +14 -14
- package/dist/chunks/{skill-rxysp2vp.js → shell-hfzkpyfn.js} +36 -28
- package/dist/chunks/{skill-hgzwgvze.js → shell-hgzwgvze.js} +2 -2
- package/dist/chunks/{skill-yepd7x5v.js → shell-hj0xet7m.js} +5 -5
- package/dist/chunks/{skill-2m68rr6d.js → shell-hrahdv8w.js} +25 -25
- package/dist/chunks/{skill-prkekjc8.js → shell-hv5xef7n.js} +11 -11
- package/dist/chunks/{skill-160yv0cs.js → shell-hy8c1z76.js} +8 -8
- package/dist/chunks/{skill-66sjh686.js → shell-hztb2r9y.js} +21 -21
- package/dist/chunks/{skill-dzrdx94s.js → shell-j213mr59.js} +11 -11
- package/dist/chunks/{skill-tr8x705m.js → shell-j376ae4e.js} +5 -5
- package/dist/chunks/{skill-q4c6m8h2.js → shell-j8vxazm1.js} +6 -6
- package/dist/chunks/{skill-jm70asfg.js → shell-jm70asfg.js} +1 -1
- package/dist/chunks/{skill-rcycq7bh.js → shell-jx447tda.js} +11 -11
- package/dist/chunks/{skill-44pmzq9c.js → shell-jxd6f16v.js} +2 -2
- package/dist/chunks/{skill-yaann9ba.js → shell-k5pg2vff.js} +5 -5
- package/dist/chunks/{skill-3f0anman.js → shell-k6vxp0a4.js} +10 -10
- package/dist/chunks/{skill-jvqk8r7t.js → shell-k7789h1b.js} +26 -26
- package/dist/chunks/{skill-gj096rv2.js → shell-k7zh4qxb.js} +29 -29
- package/dist/chunks/{skill-8pvbfnhx.js → shell-k8e4adbp.js} +16 -16
- package/dist/chunks/{skill-qw4fr088.js → shell-kagsm6zy.js} +14 -14
- package/dist/chunks/{skill-trexsjkk.js → shell-kasxvdxm.js} +4 -4
- package/dist/chunks/{skill-t63sx3rf.js → shell-kaxn7z09.js} +4 -4
- package/dist/chunks/{skill-kt3bjfbg.js → shell-kt3bjfbg.js} +1 -1
- package/dist/chunks/{skill-kzczzf4v.js → shell-kzczzf4v.js} +1 -1
- package/dist/chunks/{skill-m1714858.js → shell-m1714858.js} +1 -1
- package/dist/chunks/{skill-rzk485s7.js → shell-m2h1jkgr.js} +24 -24
- package/dist/chunks/{skill-m4p4r8nc.js → shell-m4p4r8nc.js} +1 -1
- package/dist/chunks/{skill-m90tx7mw.js → shell-m90tx7mw.js} +1 -1
- package/dist/chunks/{skill-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
- package/dist/chunks/{skill-mb7mbhnz.js → shell-mb7mbhnz.js} +3 -3
- package/dist/chunks/{skill-cb28kjhz.js → shell-mw9xdda0.js} +34 -34
- package/dist/chunks/{skill-4pyp9zr9.js → shell-mwnxvxbk.js} +16 -6
- package/dist/chunks/{skill-k6haj2vm.js → shell-mx1gj7nh.js} +13 -13
- package/dist/chunks/{skill-bdv8sqrq.js → shell-mym403hh.js} +1 -1
- package/dist/chunks/{skill-rj6htxtc.js → shell-n5bh3gbw.js} +5 -5
- package/dist/chunks/{skill-q7vty0a9.js → shell-n6b4qgy2.js} +31 -31
- package/dist/chunks/{skill-ez0tast9.js → shell-n9tts9fd.js} +35 -35
- package/dist/chunks/{skill-qfg6bwge.js → shell-nggd68pp.js} +41 -41
- package/dist/chunks/{skill-np243n95.js → shell-nhdzyn4z.js} +7 -7
- package/dist/chunks/{skill-0fchx9hj.js → shell-nnnm13xp.js} +15 -15
- package/dist/chunks/{skill-cd4gqj6m.js → shell-nt0p6bwp.js} +9 -9
- package/dist/chunks/{skill-w4fj6w8c.js → shell-ntdvbcs0.js} +8 -8
- package/dist/chunks/{skill-jdf9jawx.js → shell-p0b45h9y.js} +36 -36
- package/dist/chunks/{skill-zt9ejasa.js → shell-p59sgmrh.js} +25 -25
- package/dist/chunks/{skill-1yq9hg58.js → shell-p7vhpwh8.js} +5 -5
- package/dist/chunks/{skill-f392mvjm.js → shell-pb50psz6.js} +16 -16
- package/dist/chunks/{skill-7y3b0gxe.js → shell-pearrrbc.js} +28 -28
- package/dist/chunks/{skill-adjefrk5.js → shell-pjdtbhha.js} +35 -35
- package/dist/chunks/{skill-pknna89w.js → shell-pknna89w.js} +1 -1
- package/dist/chunks/{skill-849655md.js → shell-pmvcj5s4.js} +13 -13
- package/dist/chunks/{skill-edhbmgy4.js → shell-pq0bpjxc.js} +24 -24
- package/dist/chunks/{skill-kpjpjwkm.js → shell-pq303be6.js} +34 -34
- package/dist/chunks/{skill-pqpekw9r.js → shell-ptvgvc4z.js} +2 -2
- package/dist/chunks/{skill-ftahzyhk.js → shell-pvzkbksm.js} +5 -5
- package/dist/chunks/{skill-0nk245hp.js → shell-q4patx0z.js} +22 -22
- package/dist/chunks/{skill-9rpw5thf.js → shell-qazjmsnp.js} +34 -34
- package/dist/chunks/{skill-q0eja2hs.js → shell-qhrxe0vb.js} +27 -27
- package/dist/chunks/{skill-dzfx4xpa.js → shell-qmrpjht5.js} +9 -9
- package/dist/chunks/{skill-qp7r0hxv.js → shell-qp7r0hxv.js} +1 -1
- package/dist/chunks/{skill-857aqfhe.js → shell-qpr57af0.js} +25 -25
- package/dist/chunks/{skill-e7w2jmab.js → shell-qq7aj88b.js} +22 -22
- package/dist/chunks/{skill-q4kv02me.js → shell-qva942db.js} +37 -37
- package/dist/chunks/{skill-h4kbzpph.js → shell-r81r4p67.js} +19 -19
- package/dist/chunks/{skill-rb9dy4dg.js → shell-rb9dy4dg.js} +1 -1
- package/dist/chunks/{skill-rgc9cx3e.js → shell-rgc9cx3e.js} +2 -2
- package/dist/chunks/{skill-04qc8z7j.js → shell-rj7jtxy8.js} +3 -3
- package/dist/chunks/{skill-5gsrpjps.js → shell-rkq0saay.js} +22 -22
- package/dist/chunks/{skill-7mbas0vy.js → shell-rq907yb1.js} +10 -10
- package/dist/chunks/{skill-xz6s9d9v.js → shell-rteg8arh.js} +30 -30
- package/dist/chunks/{skill-6aysq5vq.js → shell-rz0bdam7.js} +21 -21
- package/dist/chunks/{skill-2p60zmnr.js → shell-s1ba0vj0.js} +2 -2
- package/dist/chunks/{skill-h1hexrfd.js → shell-s2kx8gr8.js} +11 -11
- package/dist/chunks/{skill-23s8wbct.js → shell-s5n6q5ds.js} +5 -5
- package/dist/chunks/{skill-ac21q9d8.js → shell-s9zs2xcc.js} +22 -22
- package/dist/chunks/{skill-pcds1c82.js → shell-sa5ymv28.js} +3 -3
- package/dist/chunks/{skill-sbya78hr.js → shell-sbya78hr.js} +1 -1
- package/dist/chunks/{skill-nm2a7b5s.js → shell-sh2rytp3.js} +44 -44
- package/dist/chunks/{skill-s4kyhetj.js → shell-sj9zktea.js} +6 -6
- package/dist/chunks/{skill-svcy3p9a.js → shell-svcy3p9a.js} +1 -1
- package/dist/chunks/{skill-8wxtd3nx.js → shell-t08bqacs.js} +9 -9
- package/dist/chunks/{skill-p722s6re.js → shell-t1yc66r4.js} +12 -12
- package/dist/chunks/{skill-xjr6c8m4.js → shell-t54kw4zq.js} +7 -7
- package/dist/chunks/{skill-63najkvs.js → shell-t6r3642g.js} +3 -3
- package/dist/chunks/{skill-jv5ccajn.js → shell-t8erkws8.js} +5 -5
- package/dist/chunks/{skill-tbpn7jtk.js → shell-tbpn7jtk.js} +1 -1
- package/dist/chunks/{skill-tczq8hjw.js → shell-tczq8hjw.js} +1 -1
- package/dist/chunks/{skill-pkdgdegd.js → shell-tfphg607.js} +18 -18
- package/dist/chunks/{skill-ty4vgx73.js → shell-thvcez77.js} +16 -16
- package/dist/chunks/{skill-67wqnxeg.js → shell-tj2sjr5c.js} +14 -14
- package/dist/chunks/{skill-yz12r0jf.js → shell-tsrkkeqa.js} +24 -24
- package/dist/chunks/{skill-w6ax8ecs.js → shell-tt5wt9yz.js} +24 -24
- package/dist/chunks/{skill-0fvxehme.js → shell-ttz31trp.js} +5 -5
- package/dist/chunks/{skill-tvtps2q9.js → shell-tvtps2q9.js} +1 -1
- package/dist/chunks/{skill-twssxy5n.js → shell-twssxy5n.js} +2 -2
- package/dist/chunks/{skill-3ex1ss0s.js → shell-tz8eqr11.js} +9 -9
- package/dist/chunks/{skill-m84krmx1.js → shell-v04yavvf.js} +32 -32
- package/dist/chunks/{skill-v2r1d0zg.js → shell-v2r1d0zg.js} +1 -1
- package/dist/chunks/{skill-g2gzn0dm.js → shell-v39gqq5m.js} +9 -9
- package/dist/chunks/{skill-9fs44kj1.js → shell-v4v9657q.js} +5 -5
- package/dist/chunks/{skill-ysr13b6p.js → shell-v6wbag8k.js} +22 -22
- package/dist/chunks/{skill-vnx5c0hq.js → shell-va9hr0w3.js} +61 -61
- package/dist/chunks/{skill-vjf35v1f.js → shell-vjf35v1f.js} +1 -1
- package/dist/chunks/{skill-jkdcm5hg.js → shell-vmxsyvj6.js} +4 -4
- package/dist/chunks/{skill-fsty9ef7.js → shell-vmyr72m2.js} +18 -18
- package/dist/chunks/{skill-ctmpqb7w.js → shell-vq0qa3sh.js} +9 -9
- package/dist/chunks/{skill-qyfb1dw6.js → shell-vsgxp1k0.js} +17 -17
- package/dist/chunks/{skill-kx82nz73.js → shell-vvztb4kx.js} +6 -6
- package/dist/chunks/{skill-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
- package/dist/chunks/{skill-9a7a2vmy.js → shell-w4g7at0m.js} +22 -22
- package/dist/chunks/{skill-a0f8fvmt.js → shell-w4xw9ac5.js} +6 -6
- package/dist/chunks/{skill-gwyytpcj.js → shell-w75qynz4.js} +6 -6
- package/dist/chunks/{skill-rbg54dp1.js → shell-w76xjer3.js} +4 -4
- package/dist/chunks/{skill-w79nt68w.js → shell-w79nt68w.js} +1 -1
- package/dist/chunks/{skill-tx91wa5k.js → shell-w8s7kw9w.js} +4 -4
- package/dist/chunks/{skill-wakvkjy4.js → shell-wakvkjy4.js} +1 -1
- package/dist/chunks/{skill-wd87259q.js → shell-wd87259q.js} +1 -1
- package/dist/chunks/{skill-wegkxhrn.js → shell-wegkxhrn.js} +2 -2
- package/dist/chunks/{skill-w2b8mj54.js → shell-why81pqx.js} +15 -15
- package/dist/chunks/{skill-5v1kbzzt.js → shell-wmqsmj2z.js} +21 -21
- package/dist/chunks/{skill-sk5qsbcw.js → shell-wrr9v7mg.js} +5 -5
- package/dist/chunks/{skill-h4g6nytk.js → shell-wrym42g3.js} +30 -30
- package/dist/chunks/{skill-f86yk39q.js → shell-wz6tsw30.js} +11 -11
- package/dist/chunks/{skill-qfz6bxfd.js → shell-wzfa06mn.js} +4 -4
- package/dist/chunks/{skill-x3eexw8z.js → shell-x3fp8cfn.js} +4 -4
- package/dist/chunks/{skill-gdmbfj8d.js → shell-xb8t2nmd.js} +41 -41
- package/dist/chunks/{skill-bstexjd6.js → shell-xd9cc171.js} +5 -5
- package/dist/chunks/{skill-68qm1786.js → shell-xdjtm0yc.js} +11 -11
- package/dist/chunks/{skill-963hk181.js → shell-xe6pezxp.js} +7 -7
- package/dist/chunks/{skill-ntjqk3rm.js → shell-xfjjrkn6.js} +18 -18
- package/dist/chunks/{skill-71fa4tkx.js → shell-xq0rqgfp.js} +43 -43
- package/dist/chunks/{skill-xb05ve8s.js → shell-xs87htzy.js} +28 -28
- package/dist/chunks/{skill-n320gsn2.js → shell-xvn8mnch.js} +4 -4
- package/dist/chunks/{skill-0kd8641e.js → shell-y8xyk16v.js} +8 -8
- package/dist/chunks/{skill-yb20nhc3.js → shell-yb20nhc3.js} +1 -1
- package/dist/chunks/{skill-1v2g13eq.js → shell-ybws1qgk.js} +4 -4
- package/dist/chunks/{skill-5b2gq477.js → shell-ye88az5n.js} +12 -12
- package/dist/chunks/{skill-mh4srk08.js → shell-yew5a929.js} +27 -27
- package/dist/chunks/shell-ymjwz6zw.js +26 -0
- package/dist/chunks/{skill-h3ks57pr.js → shell-yqa6mfj0.js} +98 -98
- package/dist/chunks/{skill-yr705xyq.js → shell-yr705xyq.js} +1 -1
- package/dist/chunks/{skill-yvtc2x31.js → shell-yvtc2x31.js} +1 -1
- package/dist/chunks/{skill-xksw6ev0.js → shell-yybgvvmq.js} +4 -4
- package/dist/chunks/{skill-92m3eqsk.js → shell-yyz5p1rz.js} +15 -15
- package/dist/chunks/{skill-z0wbgq7s.js → shell-z0wbgq7s.js} +1 -1
- package/dist/chunks/{skill-rzx3251q.js → shell-z139d152.js} +14 -14
- package/dist/chunks/{skill-1x2p7x5n.js → shell-z623dwd7.js} +32 -32
- package/dist/chunks/{skill-ze75qvmd.js → shell-ze75qvmd.js} +3 -3
- package/dist/chunks/{skill-kg05dcep.js → shell-ze7xdjdc.js} +51 -51
- package/dist/chunks/{skill-8fd4mn1c.js → shell-zfnf49qv.js} +5 -5
- package/dist/chunks/{skill-mb7e7qw7.js → shell-zgnkmp4d.js} +11 -11
- package/dist/chunks/{skill-exayx9c2.js → shell-zr9ah954.js} +20 -20
- package/dist/chunks/{skill-8mb4vsq0.js → shell-zs5kbm43.js} +38 -38
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +150 -150
- package/dist/codemode/instructions.js +10 -10
- package/dist/codemode/tool.js +157 -157
- package/dist/command.js +94 -94
- 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 +113 -113
- package/dist/config/plugin/agent.js +132 -132
- package/dist/config/plugin/command.js +247 -247
- package/dist/config/plugin/compaction.js +175 -175
- package/dist/config/plugin/compatibility.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +132 -132
- package/dist/config/plugin/image.js +131 -131
- package/dist/config/plugin/instruction.js +132 -132
- package/dist/config/plugin/location-watcher.js +133 -133
- package/dist/config/plugin/mcp.js +146 -146
- package/dist/config/plugin/policy.js +131 -131
- package/dist/config/plugin/provider.js +131 -131
- package/dist/config/plugin/reference.js +133 -133
- package/dist/config/plugin/shell.js +133 -133
- package/dist/config/plugin/skill-file.js +151 -151
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +158 -158
- package/dist/config/plugin/snapshot.js +131 -131
- package/dist/config/plugin/source.js +135 -135
- package/dist/config/plugin/tool-output.js +132 -132
- package/dist/config/plugin/websearch.js +132 -132
- package/dist/config/plugin/worktree.js +133 -133
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +134 -134
- 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 +105 -105
- package/dist/effect/app-node-builder.js +450 -450
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/client-tls/client-tls.bun.js +1 -1
- package/dist/effect/client-tls/client-tls.node.js +1 -1
- package/dist/effect/client-tls/client-tls.workerd.js +1 -1
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +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 +85 -85
- package/dist/file-access.js +162 -162
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +162 -162
- 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 +91 -91
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +260 -260
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +113 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +116 -116
- package/dist/flag.js +136 -136
- package/dist/form.js +89 -89
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +123 -123
- package/dist/git.js +7 -7
- package/dist/github-copilot/models.js +113 -113
- package/dist/image/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +441 -441
- package/dist/instruction-discovery.js +92 -92
- package/dist/instructions/builtins.js +101 -101
- package/dist/instructions/index.js +6 -6
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +96 -96
- package/dist/job/list.js +7 -7
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +90 -90
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +190 -190
- package/dist/location-lifecycle.js +155 -155
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +438 -438
- package/dist/location.js +100 -100
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +161 -161
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/event-errors.js +1 -1
- package/dist/mcp/index.js +151 -151
- package/dist/mcp/instructions.js +192 -192
- package/dist/mcp/oauth.js +90 -90
- package/dist/mcp/pool.js +108 -108
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +159 -159
- package/dist/mime.js +3 -1
- package/dist/modal/models.js +113 -113
- package/dist/model-resolver.js +109 -109
- package/dist/model-retry.js +1 -1
- package/dist/model.js +114 -114
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +122 -122
- package/dist/oauth/page.js +1 -1
- package/dist/oauth/redirect.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 +85 -85
- package/dist/plugin/command.js +146 -146
- package/dist/plugin/fork-notice.js +3 -3
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +251 -251
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +418 -418
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +111 -111
- package/dist/plugin/module.js +130 -130
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +151 -151
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +107 -107
- package/dist/plugin/provider/azure.js +134 -134
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +135 -135
- package/dist/plugin/provider/claude-agent/aisdk.js +118 -118
- 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 +3 -3
- 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 +149 -149
- package/dist/plugin/provider/claude-agent/instructions.js +113 -113
- package/dist/plugin/provider/claude-agent/integration.js +116 -116
- 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 +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +113 -113
- package/dist/plugin/provider/claude-agent/session.js +113 -113
- 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 +3 -3
- 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 +131 -131
- package/dist/plugin/provider/cloudflare-workers-ai.js +131 -131
- package/dist/plugin/provider/configured.js +127 -127
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +110 -110
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +112 -112
- package/dist/plugin/provider/gitlab.js +111 -111
- package/dist/plugin/provider/google-vertex.js +128 -128
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +144 -144
- package/dist/plugin/provider/local.js +141 -141
- package/dist/plugin/provider/modal.js +109 -109
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +144 -144
- package/dist/plugin/provider/openai-context-caps.js +107 -107
- package/dist/plugin/provider/openai.js +137 -137
- package/dist/plugin/provider/opencode-watches.js +4 -4
- package/dist/plugin/provider/opencode.js +163 -163
- package/dist/plugin/provider/openrouter.js +105 -105
- package/dist/plugin/provider/poe.js +91 -91
- 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 +105 -105
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +133 -133
- package/dist/plugin/provider/vllm.js +144 -144
- package/dist/plugin/provider/xai.js +105 -105
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +242 -242
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +152 -152
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +430 -430
- 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 +107 -107
- package/dist/plugin/warming.js +131 -131
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +7 -7
- package/dist/plugin/websearch/provider.js +5 -5
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +258 -258
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +101 -101
- package/dist/provider.js +111 -111
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +109 -109
- package/dist/reference/instructions.js +102 -102
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +111 -111
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +256 -256
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +264 -264
- 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 +135 -135
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +175 -175
- package/dist/session/context.js +208 -208
- 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 +275 -275
- package/dist/session/execution/subagent-report.js +147 -147
- package/dist/session/execution.js +172 -172
- package/dist/session/generate.js +210 -210
- package/dist/session/history.js +141 -141
- package/dist/session/inbox.js +150 -150
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +91 -91
- package/dist/session/instruction-state.js +9 -9
- package/dist/session/instructions.js +142 -142
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +173 -173
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +176 -176
- package/dist/session/projector.js +148 -148
- package/dist/session/prompt.js +153 -153
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +144 -144
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +263 -263
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +115 -115
- package/dist/session/runner/publish-llm-event.js +155 -155
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +168 -168
- package/dist/session/runner/to-llm-message.js +142 -142
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +196 -196
- package/dist/session/shell.js +149 -149
- package/dist/session/skill.js +152 -152
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +147 -147
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +167 -167
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +212 -212
- package/dist/session/to-session-error.js +154 -154
- package/dist/session/transfer.js +260 -260
- package/dist/session/usage.js +1 -1
- package/dist/session.js +251 -251
- package/dist/shared-cache.js +5 -5
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +151 -151
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +156 -156
- package/dist/skill.js +163 -163
- package/dist/snapshot.js +106 -106
- 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 +189 -189
- package/dist/tool/plugin/artifact.js +246 -246
- package/dist/tool/plugin/edit.js +172 -172
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +176 -176
- package/dist/tool/plugin/grep.js +173 -173
- package/dist/tool/plugin/image-generate.js +257 -257
- package/dist/tool/plugin/mcp-events.js +168 -168
- package/dist/tool/plugin/mcp-resource.js +172 -172
- package/dist/tool/plugin/opencode.js +168 -168
- package/dist/tool/plugin/patch.js +171 -171
- package/dist/tool/plugin/question.js +149 -149
- package/dist/tool/plugin/read.js +177 -177
- package/dist/tool/plugin/schedule.js +262 -262
- package/dist/tool/plugin/shell.js +253 -253
- package/dist/tool/plugin/skill.js +162 -162
- package/dist/tool/plugin/subagent.js +251 -251
- package/dist/tool/plugin/todo.js +158 -158
- package/dist/tool/plugin/webfetch.js +158 -158
- package/dist/tool/plugin/websearch.js +154 -154
- package/dist/tool/plugin/write.js +171 -171
- package/dist/tool/read-filesystem.js +114 -114
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +165 -165
- package/dist/types/mime.d.ts +1 -0
- package/dist/types/tool/read-filesystem.d.ts +1 -0
- package/dist/usage-limits.js +98 -98
- package/dist/util/canonical-json.js +1 -1
- 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 +3 -3
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +106 -106
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +105 -105
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +100 -100
- package/dist/voice.js +101 -101
- package/dist/websearch.js +95 -95
- 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 +107 -107
- package/package.json +9 -9
- package/dist/chunks/skill-bgsdyws9.js +0 -35
- package/dist/chunks/skill-gmqcaesv.js +0 -273
- package/dist/chunks/skill-m9fc8chp.js +0 -26
- package/dist/chunks/skill-me0dhgxs.js +0 -18
- /package/dist/chunks/{skill-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{skill-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
- /package/dist/chunks/{skill-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
- /package/dist/chunks/{skill-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
- /package/dist/chunks/{skill-1kah00gy.js → shell-1kah00gy.js} +0 -0
- /package/dist/chunks/{skill-24dcb14g.js → shell-24dcb14g.js} +0 -0
- /package/dist/chunks/{skill-2710q6r3.js → shell-2710q6r3.js} +0 -0
- /package/dist/chunks/{skill-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{skill-359p4xyc.js → shell-359p4xyc.js} +0 -0
- /package/dist/chunks/{skill-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
- /package/dist/chunks/{skill-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
- /package/dist/chunks/{skill-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
- /package/dist/chunks/{skill-4qk9sjk2.js → shell-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{skill-53557ph1.js → shell-53557ph1.js} +0 -0
- /package/dist/chunks/{skill-5w3e23ze.js → shell-5w3e23ze.js} +0 -0
- /package/dist/chunks/{skill-6agm2x70.js → shell-6agm2x70.js} +0 -0
- /package/dist/chunks/{skill-6prwharc.js → shell-6prwharc.js} +0 -0
- /package/dist/chunks/{skill-6q2bdcd1.js → shell-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{skill-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
- /package/dist/chunks/{skill-7m9af43g.js → shell-7m9af43g.js} +0 -0
- /package/dist/chunks/{skill-7rvsyqjv.js → shell-7rvsyqjv.js} +0 -0
- /package/dist/chunks/{skill-822emrt2.js → shell-822emrt2.js} +0 -0
- /package/dist/chunks/{skill-84wd9syh.js → shell-84wd9syh.js} +0 -0
- /package/dist/chunks/{skill-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
- /package/dist/chunks/{skill-8n3pysct.js → shell-8n3pysct.js} +0 -0
- /package/dist/chunks/{skill-8wj87zfr.js → shell-8wj87zfr.js} +0 -0
- /package/dist/chunks/{skill-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
- /package/dist/chunks/{skill-9ceax7yg.js → shell-9ceax7yg.js} +0 -0
- /package/dist/chunks/{skill-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{skill-ade8csyh.js → shell-ade8csyh.js} +0 -0
- /package/dist/chunks/{skill-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{skill-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
- /package/dist/chunks/{skill-beh6qq61.js → shell-beh6qq61.js} +0 -0
- /package/dist/chunks/{skill-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{skill-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{skill-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
- /package/dist/chunks/{skill-cqv5kn06.js → shell-cqv5kn06.js} +0 -0
- /package/dist/chunks/{skill-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{skill-d9fn303g.js → shell-d9fn303g.js} +0 -0
- /package/dist/chunks/{skill-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{skill-df08tz66.js → shell-df08tz66.js} +0 -0
- /package/dist/chunks/{skill-dy18nga0.js → shell-dy18nga0.js} +0 -0
- /package/dist/chunks/{skill-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
- /package/dist/chunks/{skill-ean2d8b5.js → shell-ean2d8b5.js} +0 -0
- /package/dist/chunks/{skill-ec1grn59.js → shell-ec1grn59.js} +0 -0
- /package/dist/chunks/{skill-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
- /package/dist/chunks/{skill-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
- /package/dist/chunks/{skill-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{skill-faypxj3z.js → shell-faypxj3z.js} +0 -0
- /package/dist/chunks/{skill-fd410y7t.js → shell-fd410y7t.js} +0 -0
- /package/dist/chunks/{skill-fkpq3x5p.js → shell-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{skill-g86h250q.js → shell-g86h250q.js} +0 -0
- /package/dist/chunks/{skill-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
- /package/dist/chunks/{skill-gftt206x.js → shell-gftt206x.js} +0 -0
- /package/dist/chunks/{skill-hcxmzztb.js → shell-hcxmzztb.js} +0 -0
- /package/dist/chunks/{skill-hk9envan.js → shell-hk9envan.js} +0 -0
- /package/dist/chunks/{skill-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
- /package/dist/chunks/{skill-jjkms2e6.js → shell-jjkms2e6.js} +0 -0
- /package/dist/chunks/{skill-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{skill-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{skill-jwr30sdr.js → shell-jwr30sdr.js} +0 -0
- /package/dist/chunks/{skill-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{skill-m18g726c.js → shell-m18g726c.js} +0 -0
- /package/dist/chunks/{skill-mp448xyj.js → shell-mp448xyj.js} +0 -0
- /package/dist/chunks/{skill-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
- /package/dist/chunks/{skill-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
- /package/dist/chunks/{skill-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
- /package/dist/chunks/{skill-nh4v3znn.js → shell-nh4v3znn.js} +0 -0
- /package/dist/chunks/{skill-njntx4h6.js → shell-njntx4h6.js} +0 -0
- /package/dist/chunks/{skill-p71gwv9c.js → shell-p71gwv9c.js} +0 -0
- /package/dist/chunks/{skill-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
- /package/dist/chunks/{skill-q74kybfr.js → shell-q74kybfr.js} +0 -0
- /package/dist/chunks/{skill-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
- /package/dist/chunks/{skill-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
- /package/dist/chunks/{skill-qg3g05ea.js → shell-qg3g05ea.js} +0 -0
- /package/dist/chunks/{skill-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
- /package/dist/chunks/{skill-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{skill-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{skill-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
- /package/dist/chunks/{skill-syrav9an.js → shell-syrav9an.js} +0 -0
- /package/dist/chunks/{skill-t03h4f5z.js → shell-t03h4f5z.js} +0 -0
- /package/dist/chunks/{skill-ty7weeps.js → shell-ty7weeps.js} +0 -0
- /package/dist/chunks/{skill-v2dnd5dt.js → shell-v2dnd5dt.js} +0 -0
- /package/dist/chunks/{skill-ve7vex1e.js → shell-ve7vex1e.js} +0 -0
- /package/dist/chunks/{skill-vtarvj67.js → shell-vtarvj67.js} +0 -0
- /package/dist/chunks/{skill-w803qqfp.js → shell-w803qqfp.js} +0 -0
- /package/dist/chunks/{skill-wc3fc9cn.js → shell-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{skill-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
- /package/dist/chunks/{skill-wtztk69x.js → shell-wtztk69x.js} +0 -0
- /package/dist/chunks/{skill-x4th4bpe.js → shell-x4th4bpe.js} +0 -0
- /package/dist/chunks/{skill-y44na4kk.js → shell-y44na4kk.js} +0 -0
- /package/dist/chunks/{skill-y8f7s663.js → shell-y8f7s663.js} +0 -0
- /package/dist/chunks/{skill-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{skill-z5v4ffb3.js → shell-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{skill-z9919s4g.js → shell-z9919s4g.js} +0 -0
- /package/dist/chunks/{skill-zxpyjp51.js → shell-zxpyjp51.js} +0 -0
- /package/dist/chunks/{skill-zz5vv3aq.js → shell-zz5vv3aq.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
content3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-sbya78hr.js";
|
|
4
4
|
import {
|
|
5
5
|
groups2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-vjf35v1f.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./shell-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/claude-agent/tools/result.ts
|
|
12
12
|
var exports_result = {};
|
|
@@ -1,71 +1,71 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service91,
|
|
3
|
+
node93
|
|
4
|
+
} from "./shell-eadhmztq.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
6
|
+
ID18,
|
|
7
|
+
Event19,
|
|
8
|
+
Service85,
|
|
9
|
+
node87
|
|
10
|
+
} from "./shell-581gww9a.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service79,
|
|
13
|
+
node81
|
|
14
|
+
} from "./shell-70fr565a.js";
|
|
15
15
|
import {
|
|
16
16
|
AbsolutePath2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./shell-z5v4ffb3.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service89,
|
|
20
|
+
node91
|
|
21
|
+
} from "./shell-k8e4adbp.js";
|
|
22
22
|
import {
|
|
23
23
|
substitute2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./shell-7w2ypzdf.js";
|
|
25
25
|
import {
|
|
26
26
|
normalize3
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./shell-764k30td.js";
|
|
28
28
|
import {
|
|
29
29
|
names4,
|
|
30
30
|
stripPreferenceMetadata2,
|
|
31
31
|
discover3
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./shell-pvzkbksm.js";
|
|
33
33
|
import {
|
|
34
34
|
plan2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./shell-1x2knyw4.js";
|
|
36
36
|
import {
|
|
37
37
|
Document3,
|
|
38
38
|
WellKnownDocument2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./shell-3qgwywyc.js";
|
|
40
40
|
import {
|
|
41
41
|
Document2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./shell-4dx1dgte.js";
|
|
43
43
|
import {
|
|
44
44
|
statements2,
|
|
45
45
|
decision2,
|
|
46
46
|
integrationResource2,
|
|
47
47
|
account2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./shell-rj7jtxy8.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
50
|
+
Service80,
|
|
51
51
|
Event15,
|
|
52
|
-
|
|
53
|
-
} from "./
|
|
52
|
+
node82
|
|
53
|
+
} from "./shell-5fvnbb7g.js";
|
|
54
54
|
import {
|
|
55
55
|
__export
|
|
56
|
-
} from "./
|
|
56
|
+
} from "./shell-9rqn6x4v.js";
|
|
57
57
|
|
|
58
58
|
// src/config.ts
|
|
59
59
|
var exports_config = {};
|
|
60
60
|
__export(exports_config, {
|
|
61
61
|
Config: () => exports_config,
|
|
62
|
-
Options: () =>
|
|
63
|
-
Service: () =>
|
|
62
|
+
Options: () => Options6,
|
|
63
|
+
Service: () => Service78,
|
|
64
64
|
Test: () => Test2,
|
|
65
|
-
configured: () =>
|
|
65
|
+
configured: () => configured8,
|
|
66
66
|
latest: () => latest2,
|
|
67
67
|
layer: () => layer27,
|
|
68
|
-
node: () =>
|
|
68
|
+
node: () => node80,
|
|
69
69
|
testLayer: () => testLayer3
|
|
70
70
|
});
|
|
71
71
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -81,7 +81,7 @@ import { ChildProcess } from "effect/process";
|
|
|
81
81
|
function latest2(entries, key) {
|
|
82
82
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
83
83
|
}
|
|
84
|
-
var
|
|
84
|
+
var Options6 = Schema.Struct({
|
|
85
85
|
project: Schema.optional(Schema.Boolean),
|
|
86
86
|
global: Schema.optional(Schema.Boolean),
|
|
87
87
|
system: Schema.optional(Schema.Union([Schema.Boolean, Schema.String])),
|
|
@@ -90,7 +90,7 @@ var Options7 = Schema.Struct({
|
|
|
90
90
|
content: Schema.optional(Schema.String)
|
|
91
91
|
});
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service78 extends Context.Service()("@opencode/Config") {
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -116,16 +116,16 @@ var testLayer3 = (initial = [], compatibility = {
|
|
|
116
116
|
return document ? next.set(integrationID, document) : next;
|
|
117
117
|
})
|
|
118
118
|
});
|
|
119
|
-
return Context.empty().pipe(Context.add(
|
|
119
|
+
return Context.empty().pipe(Context.add(Service78, service), Context.add(Test2, service));
|
|
120
120
|
}));
|
|
121
|
-
var layer27 = (options) => Layer.effect(
|
|
121
|
+
var layer27 = (options) => Layer.effect(Service78, Effect.gen(function* () {
|
|
122
122
|
const fs = yield* FSUtil.Service;
|
|
123
|
-
const location = yield*
|
|
124
|
-
const watcher = yield*
|
|
125
|
-
const bus = yield*
|
|
126
|
-
const credentials = yield*
|
|
123
|
+
const location = yield* Service89;
|
|
124
|
+
const watcher = yield* Service79;
|
|
125
|
+
const bus = yield* Service91;
|
|
126
|
+
const credentials = yield* Service85;
|
|
127
127
|
const globalService = yield* Global.Service;
|
|
128
|
-
const wellknown = yield*
|
|
128
|
+
const wellknown = yield* Service80;
|
|
129
129
|
const processes = yield* AppProcess.Service;
|
|
130
130
|
const integrations = new Map;
|
|
131
131
|
const context = yield* Effect.context();
|
|
@@ -201,7 +201,7 @@ var layer27 = (options) => Layer.effect(Service79, Effect.gen(function* () {
|
|
|
201
201
|
return yield* Effect.forEach(entries, (entry) => loadWellknownEntry(entry).pipe(Effect.map((documents) => ({ integrationID: entry.integrationID, documents }))));
|
|
202
202
|
});
|
|
203
203
|
const supplies = Effect.fnUntraced(function* (lockdown, integrationID, connection) {
|
|
204
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
204
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID18.make(connection.id)) : undefined;
|
|
205
205
|
const resource = integrationResource2(integrationID, stored ? account2(stored.value) : undefined);
|
|
206
206
|
return decision2(lockdown, "integration.use", resource) !== "deny";
|
|
207
207
|
});
|
|
@@ -299,7 +299,7 @@ var layer27 = (options) => Layer.effect(Service79, Effect.gen(function* () {
|
|
|
299
299
|
}, (effect) => reloadLock.withPermit(effect));
|
|
300
300
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
301
301
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
302
|
-
yield* bus.subscribe(
|
|
302
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
303
303
|
yield* bus.subscribe(Event15.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
304
304
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
305
305
|
if (!wellknown.snapshot().length)
|
|
@@ -328,7 +328,7 @@ var layer27 = (options) => Layer.effect(Service79, Effect.gen(function* () {
|
|
|
328
328
|
`);
|
|
329
329
|
yield* requestReload;
|
|
330
330
|
}, (effect) => updateLock.withPermit(effect));
|
|
331
|
-
return
|
|
331
|
+
return Service78.of({
|
|
332
332
|
entries: Effect.fnUntraced(function* () {
|
|
333
333
|
return configs;
|
|
334
334
|
}),
|
|
@@ -348,22 +348,22 @@ var layer27 = (options) => Layer.effect(Service79, Effect.gen(function* () {
|
|
|
348
348
|
})
|
|
349
349
|
});
|
|
350
350
|
}));
|
|
351
|
-
function
|
|
351
|
+
function configured8(options) {
|
|
352
352
|
return makeLocationNode({
|
|
353
|
-
service:
|
|
353
|
+
service: Service78,
|
|
354
354
|
layer: layer27(options),
|
|
355
355
|
deps: [
|
|
356
|
-
|
|
357
|
-
|
|
356
|
+
node81,
|
|
357
|
+
node93,
|
|
358
358
|
FSUtil.node,
|
|
359
359
|
Global.node,
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
360
|
+
node91,
|
|
361
|
+
node87,
|
|
362
|
+
node82,
|
|
363
363
|
AppProcess.node
|
|
364
364
|
]
|
|
365
365
|
});
|
|
366
366
|
}
|
|
367
|
-
var
|
|
367
|
+
var node80 = configured8();
|
|
368
368
|
|
|
369
|
-
export { latest2,
|
|
369
|
+
export { latest2, Options6, Service78, Test2, testLayer3, layer27, configured8, node80, exports_config };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./shell-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./shell-5whx36p1.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_TOTAL_PATCH_BYTES2,
|
|
10
10
|
emptyPatch2,
|
|
11
11
|
chunksByFile2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./shell-rb9dy4dg.js";
|
|
13
13
|
import {
|
|
14
14
|
gitExecutable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./shell-hgzwgvze.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./shell-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/git.ts
|
|
21
21
|
var exports_git3 = {};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-954nhh0r.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
register7
|
|
6
|
+
} from "./shell-t54kw4zq.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./shell-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/tavily.ts
|
|
12
12
|
var exports_tavily = {};
|
|
13
13
|
__export(exports_tavily, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin6,
|
|
15
15
|
WebSearchTavily: () => exports_tavily,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint3
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Duration, Effect, Schema } from "effect";
|
|
20
20
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint3 = "https://api.tavily.com/search";
|
|
22
22
|
var SearchRequest = Schema.Struct({
|
|
23
23
|
query: Schema.String,
|
|
24
24
|
search_depth: Schema.Literal("basic"),
|
|
@@ -32,16 +32,16 @@ var SearchResponse = Schema.Struct({
|
|
|
32
32
|
content: Schema.String
|
|
33
33
|
}))
|
|
34
34
|
});
|
|
35
|
-
var
|
|
35
|
+
var Plugin6 = define({
|
|
36
36
|
id: "opencode.websearch.tavily",
|
|
37
37
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
38
38
|
const http = yield* HttpClient.HttpClient;
|
|
39
|
-
yield*
|
|
39
|
+
yield* register7(ctx, {
|
|
40
40
|
id: "tavily",
|
|
41
41
|
name: "Tavily",
|
|
42
42
|
env: "TAVILY_API_KEY",
|
|
43
43
|
execute: (input, credential) => Effect.gen(function* () {
|
|
44
|
-
const request = yield* HttpClientRequest.post(
|
|
44
|
+
const request = yield* HttpClientRequest.post(endpoint3).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
45
45
|
"User-Agent": useragent2(ctx.app),
|
|
46
46
|
"X-Client-Name": "opencode2",
|
|
47
47
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -66,4 +66,4 @@ var Plugin2 = define({
|
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { endpoint3, Plugin6, exports_tavily };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service91
|
|
3
|
+
} from "./shell-eadhmztq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
5
|
+
ID18,
|
|
6
|
+
Event19,
|
|
7
|
+
Service85
|
|
8
|
+
} from "./shell-581gww9a.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID16
|
|
11
|
+
} from "./shell-7kr13cwj.js";
|
|
12
12
|
import {
|
|
13
13
|
configuredSettings2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./shell-nhdzyn4z.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/provider/google-vertex.ts
|
|
17
17
|
import { Effect, Option, Schema, Stream } from "effect";
|
|
@@ -43,8 +43,8 @@ var GoogleVertexPlugin2 = define({
|
|
|
43
43
|
id: "opencode.provider.google.vertex",
|
|
44
44
|
effect: Effect.fn(function* (ctx) {
|
|
45
45
|
const fs = yield* FSUtil.Service;
|
|
46
|
-
const credentials = yield*
|
|
47
|
-
const bus = yield*
|
|
46
|
+
const credentials = yield* Service85;
|
|
47
|
+
const bus = yield* Service91;
|
|
48
48
|
const read = (file) => fs.readFileStringSafe(file).pipe(Effect.orElseSucceed(() => {
|
|
49
49
|
return;
|
|
50
50
|
}));
|
|
@@ -53,7 +53,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
53
53
|
const configs = (yield* fs.readDirectory(path.join(gcloud, "configurations")).pipe(Effect.orElseSucceed(() => []))).filter((name) => name.startsWith("config_")).toSorted((a, b) => Number(b === active) - Number(a === active) || a.localeCompare(b));
|
|
54
54
|
const contents = yield* Effect.forEach(configs, (name) => read(path.join(gcloud, "configurations", name)));
|
|
55
55
|
const adcFile = yield* read(path.join(gcloud, "application_default_credentials.json"));
|
|
56
|
-
const configured = (yield* configuredSettings2(
|
|
56
|
+
const configured = (yield* configuredSettings2(ID16.googleVertex)) ?? {};
|
|
57
57
|
const projects = Array.from(new Set([
|
|
58
58
|
resolveProject(configured),
|
|
59
59
|
...contents.map((content) => content?.match(/^project\s*=\s*(\S+)/m)?.[1]),
|
|
@@ -67,8 +67,8 @@ var GoogleVertexPlugin2 = define({
|
|
|
67
67
|
...contents.flatMap((content) => Array.from((content ?? "").matchAll(/^region\s*=\s*(\S+)/gm), (match) => match[1]))
|
|
68
68
|
]));
|
|
69
69
|
const load = Effect.fn("GoogleVertexPlugin.load")(function* () {
|
|
70
|
-
const connection = yield* ctx.integration.connection.active(
|
|
71
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
70
|
+
const connection = yield* ctx.integration.connection.active(ID16.googleVertex);
|
|
71
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID18.make(connection.id)) : undefined;
|
|
72
72
|
if (stored?.value.type !== "external" || stored.value.methodID !== ADC_METHOD)
|
|
73
73
|
return {};
|
|
74
74
|
return { project: stored.value.metadata?.project, location: stored.value.metadata?.location };
|
|
@@ -76,15 +76,15 @@ var GoogleVertexPlugin2 = define({
|
|
|
76
76
|
const selected = { settings: yield* load() };
|
|
77
77
|
const settingsFor = (provider) => ({
|
|
78
78
|
...provider.settings,
|
|
79
|
-
...(provider.integrationID ?? provider.id) ===
|
|
79
|
+
...(provider.integrationID ?? provider.id) === ID16.googleVertex ? selected.settings : {}
|
|
80
80
|
});
|
|
81
81
|
yield* ctx.integration.transform((editor) => {
|
|
82
82
|
editor.method.update({
|
|
83
|
-
integrationID:
|
|
83
|
+
integrationID: ID16.googleVertex,
|
|
84
84
|
method: { type: "env", names: ["GOOGLE_VERTEX_API_KEY"] }
|
|
85
85
|
});
|
|
86
86
|
editor.method.update({
|
|
87
|
-
integrationID:
|
|
87
|
+
integrationID: ID16.googleVertex,
|
|
88
88
|
method: {
|
|
89
89
|
id: ADC_METHOD,
|
|
90
90
|
type: "external",
|
|
@@ -122,7 +122,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
122
122
|
});
|
|
123
123
|
yield* ctx.provider.transform((evt) => {
|
|
124
124
|
for (const item of evt.list()) {
|
|
125
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
125
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID16.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
126
126
|
continue;
|
|
127
127
|
const settings = settingsFor(item.provider);
|
|
128
128
|
const project = resolveProject(settings);
|
|
@@ -141,7 +141,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
141
141
|
});
|
|
142
142
|
yield* ctx.model.transform((models) => {
|
|
143
143
|
for (const item of models.provider.list()) {
|
|
144
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
144
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID16.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
145
145
|
continue;
|
|
146
146
|
const settings = settingsFor(item.provider);
|
|
147
147
|
const project = resolveProject(settings);
|
|
@@ -159,7 +159,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
159
159
|
}
|
|
160
160
|
}
|
|
161
161
|
});
|
|
162
|
-
yield* bus.subscribe([
|
|
162
|
+
yield* bus.subscribe([Event19.Updated, Event19.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
|
|
163
163
|
const next = yield* load();
|
|
164
164
|
if (JSON.stringify(next) === JSON.stringify(selected.settings))
|
|
165
165
|
return;
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-xvn8mnch.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-581gww9a.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID17,
|
|
9
9
|
MethodID2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./shell-2bjcmpmd.js";
|
|
11
11
|
import {
|
|
12
12
|
mergeOverlay2
|
|
13
|
-
} from "./
|
|
14
|
-
import {
|
|
15
|
-
ID17,
|
|
16
|
-
Service85
|
|
17
|
-
} from "./skill-6adb23kb.js";
|
|
13
|
+
} from "./shell-m90tx7mw.js";
|
|
18
14
|
import {
|
|
19
15
|
ID16,
|
|
16
|
+
Service83
|
|
17
|
+
} from "./shell-7kr13cwj.js";
|
|
18
|
+
import {
|
|
19
|
+
ID15,
|
|
20
20
|
Ref3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./shell-mw9xdda0.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
load5,
|
|
24
|
+
derive3,
|
|
25
25
|
auto2,
|
|
26
26
|
autoModel2,
|
|
27
27
|
routeFor2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./shell-k7789h1b.js";
|
|
29
29
|
import {
|
|
30
30
|
useragent2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./shell-954nhh0r.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
ID13
|
|
34
|
+
} from "./shell-cg9h77xb.js";
|
|
35
35
|
import {
|
|
36
36
|
get5
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./shell-3nnrz6f6.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
39
|
+
Service55,
|
|
40
40
|
fingerprint2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./shell-9k2g0ym6.js";
|
|
42
42
|
import {
|
|
43
43
|
start3
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./shell-fvbnqws7.js";
|
|
45
45
|
import {
|
|
46
46
|
activeCredential2,
|
|
47
47
|
credentialSettings2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./shell-a7tnx6tz.js";
|
|
49
49
|
|
|
50
50
|
// src/plugin/provider/github-copilot.ts
|
|
51
51
|
import { isRecord } from "@opencode/util/record";
|
|
@@ -84,7 +84,7 @@ var AutoRoute = Schema.Struct({
|
|
|
84
84
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
85
85
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
86
86
|
var oauth = (app) => ({
|
|
87
|
-
integrationID:
|
|
87
|
+
integrationID: ID17.make("github-copilot"),
|
|
88
88
|
method: {
|
|
89
89
|
id: methodID,
|
|
90
90
|
type: "oauth",
|
|
@@ -182,8 +182,8 @@ var oauth = (app) => ({
|
|
|
182
182
|
var GithubCopilotPlugin2 = define({
|
|
183
183
|
id: "opencode.provider.github.copilot",
|
|
184
184
|
effect: Effect.fn(function* (ctx) {
|
|
185
|
-
const providers = yield*
|
|
186
|
-
const cache = yield*
|
|
185
|
+
const providers = yield* Service83;
|
|
186
|
+
const cache = yield* Service55;
|
|
187
187
|
const http = yield* HttpClient.HttpClient;
|
|
188
188
|
const outbound = yield* FetchHttpClient.Fetch;
|
|
189
189
|
const routes = new Map;
|
|
@@ -210,11 +210,11 @@ var GithubCopilotPlugin2 = define({
|
|
|
210
210
|
return;
|
|
211
211
|
}));
|
|
212
212
|
const url = endpoint || copilotBaseURL2(credential.metadata);
|
|
213
|
-
const headers = (yield* providers.get(
|
|
213
|
+
const headers = (yield* providers.get(ID16.githubCopilot))?.headers ?? {};
|
|
214
214
|
const models = yield* cache.get({
|
|
215
215
|
key: modelsKey(connection, url, headers),
|
|
216
216
|
...options,
|
|
217
|
-
load: ctx.integration.connection.resolve(connection).pipe(Effect.flatMap((current) => current?.type === "oauth" ?
|
|
217
|
+
load: ctx.integration.connection.resolve(connection).pipe(Effect.flatMap((current) => current?.type === "oauth" ? load5(http, url, {
|
|
218
218
|
...headers,
|
|
219
219
|
Authorization: `Bearer ${current.refresh}`,
|
|
220
220
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -231,7 +231,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
231
231
|
editor.method.update(oauth(ctx.app));
|
|
232
232
|
});
|
|
233
233
|
yield* ctx.provider.transform((evt) => {
|
|
234
|
-
const item = evt.get(
|
|
234
|
+
const item = evt.get(ID16.githubCopilot);
|
|
235
235
|
if (!item)
|
|
236
236
|
return;
|
|
237
237
|
const loaded = discovered.current;
|
|
@@ -241,7 +241,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
241
241
|
evt.add({
|
|
242
242
|
info: item.provider,
|
|
243
243
|
models: [
|
|
244
|
-
...
|
|
244
|
+
...derive3(url, loaded.models, Array.from(item.models.values())).values(),
|
|
245
245
|
...router ? [router] : []
|
|
246
246
|
],
|
|
247
247
|
sourceConnection: loaded.connection
|
|
@@ -257,8 +257,8 @@ var GithubCopilotPlugin2 = define({
|
|
|
257
257
|
}
|
|
258
258
|
});
|
|
259
259
|
yield* ctx.model.transform((models) => {
|
|
260
|
-
if (models.get(
|
|
261
|
-
models.update(
|
|
260
|
+
if (models.get(ID16.githubCopilot, ID15.make("gpt-5-chat-latest"))) {
|
|
261
|
+
models.update(ID16.githubCopilot, ID15.make("gpt-5-chat-latest"), (model) => {
|
|
262
262
|
model.enabled = false;
|
|
263
263
|
});
|
|
264
264
|
}
|
|
@@ -275,7 +275,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
275
275
|
const route = routes.get(evt.sessionID);
|
|
276
276
|
if (route?.token && route.model === evt.model.id)
|
|
277
277
|
evt.headers["Copilot-Session-Token"] = route.token;
|
|
278
|
-
}), { providerID:
|
|
278
|
+
}), { providerID: ID16.githubCopilot });
|
|
279
279
|
const route = Effect.fn("GithubCopilotPlugin.route")(function* (sessionID) {
|
|
280
280
|
const loaded = discovered.current;
|
|
281
281
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
@@ -283,7 +283,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
283
283
|
const user = yield* ctx.session.context({ sessionID }).pipe(Effect.map((messages) => messages.findLast((message) => message.type === "user")), Effect.orElseSucceed(() => {
|
|
284
284
|
return;
|
|
285
285
|
}));
|
|
286
|
-
const headers = (yield* providers.get(
|
|
286
|
+
const headers = (yield* providers.get(ID16.githubCopilot))?.headers ?? {};
|
|
287
287
|
const picked = yield* HttpClient.filterStatusOk(http).execute(HttpClientRequest.post(`${loaded.baseURL}/auto`).pipe(HttpClientRequest.setHeaders({
|
|
288
288
|
...headers,
|
|
289
289
|
Authorization: `Bearer ${loaded.token}`,
|
|
@@ -317,18 +317,18 @@ var GithubCopilotPlugin2 = define({
|
|
|
317
317
|
if (route.until <= now)
|
|
318
318
|
routes.delete(id);
|
|
319
319
|
routes.set(evt.sessionID, current);
|
|
320
|
-
evt.model = Ref3.make({ providerID:
|
|
321
|
-
}), { providerID:
|
|
320
|
+
evt.model = Ref3.make({ providerID: ID16.githubCopilot, id: ID15.make(current.model) });
|
|
321
|
+
}), { providerID: ID16.githubCopilot });
|
|
322
322
|
yield* ctx.session.hook("compaction", (evt) => Effect.sync(() => {
|
|
323
323
|
const route = routes.get(evt.sessionID);
|
|
324
324
|
if (route)
|
|
325
325
|
route.until = 0;
|
|
326
|
-
}), { providerID:
|
|
326
|
+
}), { providerID: ID16.githubCopilot });
|
|
327
327
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
328
328
|
const loaded = discovered.current;
|
|
329
329
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
330
330
|
return;
|
|
331
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
331
|
+
const agent = yield* ctx.agent.get({ agentID: ID13.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
332
332
|
return;
|
|
333
333
|
}));
|
|
334
334
|
if (agent?.data.model)
|
|
@@ -339,7 +339,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
339
339
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app, fetch: outbound }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
340
340
|
return;
|
|
341
341
|
}));
|
|
342
|
-
}), { providerID:
|
|
342
|
+
}), { providerID: ID16.githubCopilot });
|
|
343
343
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
344
344
|
const token = evt.request.headers.get("x-api-key") ?? evt.request.headers.get("authorization")?.replace(/^Bearer\s+/i, "");
|
|
345
345
|
if (!token)
|
|
@@ -347,7 +347,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
347
347
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
348
348
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
349
349
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body));
|
|
350
|
-
}), { providerID:
|
|
350
|
+
}), { providerID: ID16.githubCopilot });
|
|
351
351
|
})
|
|
352
352
|
});
|
|
353
353
|
function modelsKey(connection, url, headers) {
|
package/dist/codemode/catalog.js
CHANGED