@opencode/core 0.0.0-dev-521 → 0.0.0-dev-524
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +92 -92
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +9 -9
- package/dist/artifact.js +244 -244
- package/dist/bus.js +80 -80
- package/dist/chunks/{bus-034tev2y.js → shell-034tev2y.js} +2 -2
- package/dist/chunks/{bus-52khf8gr.js → shell-038m8ne0.js} +43 -43
- package/dist/chunks/{bus-5qj5pbk7.js → shell-0a6k6phd.js} +8 -8
- package/dist/chunks/{bus-cpvd08na.js → shell-0ahs07zn.js} +4 -4
- package/dist/chunks/{bus-jah7jz88.js → shell-0b0ckd4f.js} +12 -12
- package/dist/chunks/{bus-yhn9yqy6.js → shell-0djcdsjt.js} +12 -12
- package/dist/chunks/{bus-mbeqmc6f.js → shell-0g554w4n.js} +36 -36
- package/dist/chunks/{bus-8bq4ths3.js → shell-0hckme0g.js} +23 -23
- package/dist/chunks/{bus-atpbpd9s.js → shell-0hqdgkh5.js} +5 -5
- package/dist/chunks/{bus-0j7gp832.js → shell-0j7gp832.js} +1 -1
- package/dist/chunks/{bus-yprbzjm3.js → shell-0ke53cpn.js} +13 -13
- package/dist/chunks/{bus-0ma9gw4f.js → shell-0ma9gw4f.js} +2 -2
- package/dist/chunks/{bus-wy9fkgmh.js → shell-0n2fsn41.js} +21 -21
- package/dist/chunks/{bus-0ezgpwkc.js → shell-12h4y8ck.js} +33 -33
- package/dist/chunks/{bus-0ftyx8tf.js → shell-19ckm0ck.js} +16 -16
- package/dist/chunks/{bus-1aqsckx4.js → shell-1aqsckx4.js} +1 -1
- package/dist/chunks/{bus-1ep2p91f.js → shell-1ep2p91f.js} +2 -2
- package/dist/chunks/{bus-fnexbcks.js → shell-1pw3h209.js} +16 -16
- package/dist/chunks/{bus-5hk1j3a1.js → shell-1red2kdm.js} +59 -59
- package/dist/chunks/{bus-68fjv3bw.js → shell-1ryprd9x.js} +11 -11
- package/dist/chunks/{bus-7mvxqbtz.js → shell-1wsmx976.js} +15 -15
- package/dist/chunks/{bus-1x2knyw4.js → shell-1x2knyw4.js} +1 -1
- package/dist/chunks/{bus-5zrxpy3q.js → shell-1yq9hg58.js} +5 -5
- package/dist/chunks/{bus-8mxrv7vx.js → shell-22dry1sr.js} +13 -13
- package/dist/chunks/{bus-vg0erq9k.js → shell-2cdjxzfg.js} +3 -3
- package/dist/chunks/{bus-yg1r97sy.js → shell-2ktchv7q.js} +51 -51
- package/dist/chunks/{bus-sc6ve54j.js → shell-2r77nwhq.js} +4 -4
- package/dist/chunks/{bus-43a86ed8.js → shell-2sgmqb4r.js} +6 -6
- package/dist/chunks/{bus-myqg03ks.js → shell-2vfjfeag.js} +20 -20
- package/dist/chunks/{bus-jjsrzkjm.js → shell-30qjv57a.js} +15 -15
- package/dist/chunks/{bus-vn50qq6e.js → shell-32c1ngxd.js} +9 -9
- package/dist/chunks/{bus-pyc3gczw.js → shell-3ay6yzp4.js} +5 -5
- package/dist/chunks/{bus-jdj5qprp.js → shell-3c6bvymb.js} +8 -8
- package/dist/chunks/{bus-p24z06k5.js → shell-3dbxf0x7.js} +47 -47
- package/dist/chunks/{bus-dwx3nxgv.js → shell-3fe1jga9.js} +2 -2
- package/dist/chunks/{bus-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
- package/dist/chunks/{bus-3nnrz6f6.js → shell-3nnrz6f6.js} +1 -1
- package/dist/chunks/{bus-00kj77v3.js → shell-3pb2qskw.js} +27 -27
- package/dist/chunks/{bus-0y15sqga.js → shell-3qevzq3v.js} +11 -11
- package/dist/chunks/{bus-6k0d5a0h.js → shell-3qzs2pb5.js} +8 -8
- package/dist/chunks/{bus-n8szhp98.js → shell-3yaf1m62.js} +5 -5
- package/dist/chunks/{bus-mcf9ewwc.js → shell-3zek37hk.js} +18 -18
- package/dist/chunks/{bus-40y6dtc2.js → shell-40y6dtc2.js} +1 -1
- package/dist/chunks/{bus-w2eysc6j.js → shell-40za9wsf.js} +9 -9
- package/dist/chunks/{bus-4gcmks0q.js → shell-45qe9p54.js} +25 -25
- package/dist/chunks/shell-47mgcevd.js +18 -0
- package/dist/chunks/{bus-5jdnat6g.js → shell-4bkthaey.js} +31 -31
- package/dist/chunks/{bus-4dx1dgte.js → shell-4dx1dgte.js} +1 -1
- package/dist/chunks/{bus-r542h3bh.js → shell-4f25tdd0.js} +5 -5
- package/dist/chunks/{bus-vt4r9rmy.js → shell-4g3sdj5g.js} +9 -9
- package/dist/chunks/{bus-88c6r276.js → shell-4nh513ck.js} +3 -3
- package/dist/chunks/{bus-4pyp9zr9.js → shell-4pyp9zr9.js} +1 -1
- package/dist/chunks/{bus-4v008n1t.js → shell-4v008n1t.js} +1 -1
- package/dist/chunks/{bus-rgbv672r.js → shell-4xbt6kt3.js} +11 -11
- package/dist/chunks/{bus-7d8t5v66.js → shell-5060mq2j.js} +17 -17
- package/dist/chunks/{bus-5qfvhg2d.js → shell-51kwf5nv.js} +10 -10
- package/dist/chunks/{bus-9gxex9v0.js → shell-53qfbpfe.js} +15 -15
- package/dist/chunks/{bus-pgqxr0th.js → shell-55jhk77d.js} +4 -4
- package/dist/chunks/{bus-jq9gmw53.js → shell-57q7h3sb.js} +13 -13
- package/dist/chunks/{bus-6n4ncf2g.js → shell-5958t36d.js} +30 -30
- package/dist/chunks/{bus-es3hber9.js → shell-5a65b5yp.js} +26 -26
- package/dist/chunks/{bus-mjzq44fw.js → shell-5b4k3yeg.js} +16 -16
- package/dist/chunks/{bus-1stqc8b1.js → shell-5bhey0ap.js} +27 -27
- package/dist/chunks/{bus-2525w213.js → shell-5jx03shd.js} +183 -183
- package/dist/chunks/{bus-7d1t0b3t.js → shell-5jztgy8x.js} +8 -8
- package/dist/chunks/{bus-x4etfqmn.js → shell-5kvjt3bj.js} +4 -4
- package/dist/chunks/{bus-5m9w47nd.js → shell-5m9w47nd.js} +1 -1
- package/dist/chunks/{bus-j43gwz94.js → shell-5v51mt63.js} +6 -6
- package/dist/chunks/{bus-5awth4d3.js → shell-5vpw0qat.js} +6 -6
- package/dist/chunks/{bus-z896v4z2.js → shell-5vxk5b4t.js} +20 -20
- package/dist/chunks/{bus-8cg7mtm3.js → shell-5whx36p1.js} +4 -4
- package/dist/chunks/{bus-gbx89qhp.js → shell-5xshmq58.js} +16 -16
- package/dist/chunks/{bus-w9t8cew6.js → shell-5ygc3h7c.js} +36 -36
- package/dist/chunks/{bus-jv5ccajn.js → shell-61qraad9.js} +5 -5
- package/dist/chunks/{bus-dz9apbxd.js → shell-6e65c26n.js} +17 -17
- package/dist/chunks/{bus-tf9r37f3.js → shell-6f6jm3cp.js} +11 -11
- package/dist/chunks/{bus-58zm6vp0.js → shell-6krg8p5y.js} +32 -32
- package/dist/chunks/{bus-9f9vgk7y.js → shell-6p0htpnz.js} +4 -4
- package/dist/chunks/{bus-9kwx3s0r.js → shell-6ppdhvbm.js} +31 -31
- package/dist/chunks/{bus-j7q27a7z.js → shell-6s2f0w57.js} +15 -15
- package/dist/chunks/{bus-rc848qwm.js → shell-6s2zeekk.js} +9 -9
- package/dist/chunks/{bus-y6bv49mt.js → shell-6snqk0kd.js} +31 -31
- package/dist/chunks/{bus-vwcz1f45.js → shell-6y2b864j.js} +7 -7
- package/dist/chunks/{bus-xn70ah2m.js → shell-6y4awd4z.js} +14 -14
- package/dist/chunks/{bus-kcrrt9zw.js → shell-6yam1bnf.js} +10 -10
- package/dist/chunks/{bus-ms34cacd.js → shell-70bbyff8.js} +6 -6
- package/dist/chunks/{bus-80mg3ag8.js → shell-775hqbnd.js} +3 -3
- package/dist/chunks/{bus-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
- package/dist/chunks/{bus-2eb7vdkt.js → shell-7f4r8bs9.js} +5 -5
- package/dist/chunks/{bus-7tgyfk06.js → shell-7jqp1j3q.js} +26 -26
- package/dist/chunks/shell-7m4xrat3.js +265 -0
- package/dist/chunks/{bus-nwr3e9pg.js → shell-7rzq90wh.js} +8 -8
- package/dist/chunks/{bus-7w2ypzdf.js → shell-7w2ypzdf.js} +1 -1
- package/dist/chunks/{bus-7weczvnd.js → shell-7weczvnd.js} +1 -1
- package/dist/chunks/{bus-t2dwtrkq.js → shell-7y2zpb6b.js} +4 -4
- package/dist/chunks/{bus-89287pr7.js → shell-89287pr7.js} +1 -1
- package/dist/chunks/{bus-8b3vzgkx.js → shell-8b3vzgkx.js} +1 -1
- package/dist/chunks/{bus-zyng0yj9.js → shell-8hze26f7.js} +35 -35
- package/dist/chunks/{bus-8sxe6kv8.js → shell-8sxe6kv8.js} +2 -2
- package/dist/chunks/{bus-8wtp7s3z.js → shell-8wtp7s3z.js} +1 -1
- package/dist/chunks/{bus-yw0jzrgx.js → shell-8xd9qe3w.js} +8 -8
- package/dist/chunks/{bus-sf9y72b7.js → shell-90ct6wq4.js} +4 -4
- package/dist/chunks/{bus-90zstvax.js → shell-90zstvax.js} +1 -1
- package/dist/chunks/{bus-3h8m143y.js → shell-938dqyhe.js} +26 -26
- package/dist/chunks/{bus-szwm4crx.js → shell-96djdqw5.js} +4 -4
- package/dist/chunks/{bus-sf7kk5v3.js → shell-97rp36fc.js} +7 -7
- package/dist/chunks/{bus-ys9zdn9n.js → shell-9cfr47nv.js} +18 -18
- package/dist/chunks/{bus-dwcmmxzn.js → shell-9gamnqat.js} +19 -19
- package/dist/chunks/{bus-txjws9vm.js → shell-9gt3wynh.js} +11 -11
- package/dist/chunks/{bus-0s9xq3m6.js → shell-9h0egadk.js} +11 -11
- package/dist/chunks/{bus-3adyfz8v.js → shell-9kgh7y83.js} +35 -35
- package/dist/chunks/{bus-5qaedt7h.js → shell-9mjjkw01.js} +3 -3
- package/dist/chunks/{bus-jx8x5mjv.js → shell-9rbvzweb.js} +5 -5
- package/dist/chunks/{bus-kmekj7m2.js → shell-9sk33afj.js} +8 -8
- package/dist/chunks/{bus-94174fzk.js → shell-9zqj0zpf.js} +45 -45
- package/dist/chunks/{bus-kyh18yxw.js → shell-a53xz8je.js} +9 -9
- package/dist/chunks/{bus-x9kbp3hd.js → shell-a5wrqxe8.js} +4 -4
- package/dist/chunks/{bus-4mxa7xsc.js → shell-akx86dnn.js} +36 -36
- package/dist/chunks/{bus-z04rt3ve.js → shell-av7hf5pb.js} +27 -27
- package/dist/chunks/{bus-ayjs7tqn.js → shell-ayjs7tqn.js} +2 -2
- package/dist/chunks/{bus-zybtfqav.js → shell-b3a32pfz.js} +4 -4
- package/dist/chunks/{bus-g3ptzmb6.js → shell-b64vemre.js} +8 -8
- package/dist/chunks/{bus-b6vsg801.js → shell-b6vsg801.js} +2 -2
- package/dist/chunks/{bus-wr3re1en.js → shell-b6z35kmf.js} +4 -4
- package/dist/chunks/{bus-yrjktvt0.js → shell-b7sygazy.js} +15 -15
- package/dist/chunks/{bus-yyh7aaps.js → shell-bbv7h0sc.js} +8 -8
- package/dist/chunks/{bus-fx71xthw.js → shell-bc28fm4b.js} +17 -17
- package/dist/chunks/{bus-s8qtxmzm.js → shell-bfmm6xpm.js} +4 -4
- package/dist/chunks/{bus-q6a7h9km.js → shell-bj78ahtb.js} +7 -7
- package/dist/chunks/{bus-mj11r9mp.js → shell-bnrmk4xj.js} +12 -12
- package/dist/chunks/{bus-xd9cc171.js → shell-bstexjd6.js} +5 -5
- package/dist/chunks/{bus-gqejezaz.js → shell-by86as2b.js} +37 -37
- package/dist/chunks/{bus-25pgyrsw.js → shell-c51xvhgg.js} +19 -19
- package/dist/chunks/{bus-s5x5z5v7.js → shell-c5syj3x8.js} +82 -82
- package/dist/chunks/{bus-0gdrrj59.js → shell-c7gk57p6.js} +4 -4
- package/dist/chunks/{bus-xnmk3xsa.js → shell-c83hkj5n.js} +18 -18
- package/dist/chunks/{bus-283f2gnz.js → shell-cc5m3ng3.js} +2 -2
- package/dist/chunks/{bus-d64dqc6h.js → shell-ccgfr9ez.js} +21 -21
- package/dist/chunks/{bus-9ttv4q8q.js → shell-ceg1n2ed.js} +49 -49
- package/dist/chunks/{bus-8hws48p9.js → shell-chbgvwzv.js} +18 -18
- package/dist/chunks/{bus-ypdv3b38.js → shell-cjp0k87c.js} +11 -11
- package/dist/chunks/{bus-r6khc3n5.js → shell-ckbkj3gw.js} +28 -28
- package/dist/chunks/{bus-xvdd2r56.js → shell-cq1t411c.js} +49 -49
- package/dist/chunks/{bus-cwrgdav8.js → shell-cwrgdav8.js} +2 -2
- package/dist/chunks/{bus-pzm37b6s.js → shell-d0z9ywe4.js} +28 -28
- package/dist/chunks/{bus-d4v9tmah.js → shell-d4v9tmah.js} +2 -2
- package/dist/chunks/{bus-8wf0t3vd.js → shell-d779t86q.js} +34 -34
- package/dist/chunks/{bus-f1hnjyam.js → shell-dcsvd9bq.js} +17 -17
- package/dist/chunks/{bus-w82716pr.js → shell-dg2hskz2.js} +8 -8
- package/dist/chunks/{bus-61d06eve.js → shell-dh9vehck.js} +28 -28
- package/dist/chunks/{bus-za9vg3rv.js → shell-dn75egny.js} +18 -18
- package/dist/chunks/{bus-dt77769w.js → shell-dt77769w.js} +1 -1
- package/dist/chunks/{bus-1mf6mf1k.js → shell-e27xj7a8.js} +24 -24
- package/dist/chunks/{bus-qmtc18p6.js → shell-e69hcays.js} +19 -19
- package/dist/chunks/{bus-e834z07m.js → shell-e834z07m.js} +1 -1
- package/dist/chunks/{bus-2qdbb86w.js → shell-ej8c8e21.js} +4 -4
- package/dist/chunks/{bus-dd3dt1h3.js → shell-ek2jw6a6.js} +16 -16
- package/dist/chunks/{bus-78x25e93.js → shell-ekxc8d5q.js} +5 -5
- package/dist/chunks/{bus-ea55qy06.js → shell-en619q7r.js} +43 -43
- package/dist/chunks/{bus-w7vy65gz.js → shell-ep83ykpf.js} +3 -3
- package/dist/chunks/{bus-eqw4pqj1.js → shell-eqw4pqj1.js} +2 -2
- package/dist/chunks/{bus-56qxc1g1.js → shell-esm60jbr.js} +15 -15
- package/dist/chunks/{bus-4smyxkmz.js → shell-evjzfwys.js} +32 -32
- package/dist/chunks/{bus-epcavnnt.js → shell-ewd4v74g.js} +26 -26
- package/dist/chunks/{bus-vd1kjsrz.js → shell-ey5vfp9s.js} +39 -39
- package/dist/chunks/{bus-x0rn644k.js → shell-f0d8bamp.js} +23 -23
- package/dist/chunks/{bus-b5j45rh7.js → shell-f475w8cc.js} +27 -27
- package/dist/chunks/{bus-bxs5ctch.js → shell-f5fj0026.js} +21 -21
- package/dist/chunks/{bus-g1wg1sjq.js → shell-f9j325ak.js} +7 -7
- package/dist/chunks/{bus-hjxyb41m.js → shell-fer7ek0z.js} +6 -6
- package/dist/chunks/{bus-fffv3p7h.js → shell-fffv3p7h.js} +1 -1
- package/dist/chunks/{bus-fg9p65nk.js → shell-fg9p65nk.js} +2 -2
- package/dist/chunks/{bus-dwvydzer.js → shell-fxgpkf86.js} +9 -9
- package/dist/chunks/{bus-4mwxa58x.js → shell-g8kgv83r.js} +17 -17
- package/dist/chunks/{bus-gbjdnr5j.js → shell-gbjdnr5j.js} +2 -2
- package/dist/chunks/{bus-rp6t20zc.js → shell-gerka9tj.js} +9 -9
- package/dist/chunks/{bus-knjdssrv.js → shell-gg6ydb9v.js} +4 -4
- package/dist/chunks/{bus-ky8ryepb.js → shell-gh1c3w3b.js} +13 -13
- package/dist/chunks/{bus-ghrv1g9c.js → shell-ghrv1g9c.js} +1 -1
- package/dist/chunks/{bus-jgpy2akj.js → shell-gk0y4mdb.js} +16 -16
- package/dist/chunks/{bus-62zd5tzk.js → shell-gmemj5zs.js} +7 -7
- package/dist/chunks/{bus-a1qwck5h.js → shell-gn6qas9s.js} +8 -8
- package/dist/chunks/{bus-tg7s7b5t.js → shell-gxs71cxp.js} +4 -4
- package/dist/chunks/{bus-f51e4fnj.js → shell-h0xn00cp.js} +5 -5
- package/dist/chunks/{bus-99d1n6p2.js → shell-h511s8tx.js} +5 -5
- package/dist/chunks/{bus-nt907s04.js → shell-h5chy42v.js} +3 -3
- package/dist/chunks/{bus-w8tcjrgy.js → shell-h879y26b.js} +4 -4
- package/dist/chunks/{bus-czc3e01s.js → shell-hq3r0yyq.js} +3 -3
- package/dist/chunks/shell-hsexgbfa.js +26 -0
- package/dist/chunks/{bus-5j137cd1.js → shell-hwwehp3g.js} +18 -18
- package/dist/chunks/{bus-gb11fqdm.js → shell-j0dfz3p0.js} +14 -14
- package/dist/chunks/{bus-wwm42y5s.js → shell-j29mft07.js} +9 -9
- package/dist/chunks/{bus-tr8x705m.js → shell-j376ae4e.js} +5 -5
- package/dist/chunks/{bus-8q07052d.js → shell-j37rnbkx.js} +11 -11
- package/dist/chunks/{bus-ze75qvmd.js → shell-j9nxzz3g.js} +3 -3
- package/dist/chunks/{bus-vbkd2vca.js → shell-jevmxyvj.js} +50 -50
- package/dist/chunks/{bus-wjm1hmrr.js → shell-jk3qt3nm.js} +26 -26
- package/dist/chunks/{bus-sc73t0y9.js → shell-jpj143sy.js} +31 -31
- package/dist/chunks/{bus-y468wp7h.js → shell-jr3xr1h7.js} +45 -45
- package/dist/chunks/{bus-44pmzq9c.js → shell-jxd6f16v.js} +2 -2
- package/dist/chunks/{bus-vsv0w8m2.js → shell-jxgppkd5.js} +5 -5
- package/dist/chunks/{bus-c3k8f38f.js → shell-k2pt82t5.js} +7 -7
- package/dist/chunks/{bus-yap6wetc.js → shell-kd0nmecv.js} +7 -7
- package/dist/chunks/{bus-hfdfeqmt.js → shell-kfwe892m.js} +12 -12
- package/dist/chunks/{bus-hmc1gkc2.js → shell-kgmdm1mc.js} +6 -6
- package/dist/chunks/{bus-kh8gdsej.js → shell-kh8gdsej.js} +1 -1
- package/dist/chunks/{bus-tqx9c315.js → shell-kmzgegqq.js} +8 -8
- package/dist/chunks/{bus-3p85jtfv.js → shell-kn5pgt03.js} +12 -12
- package/dist/chunks/{bus-hfdeyy56.js → shell-ks3cm6m9.js} +11 -11
- package/dist/chunks/{bus-kt3bjfbg.js → shell-kt3bjfbg.js} +1 -1
- package/dist/chunks/{bus-281qarhz.js → shell-kwdx365q.js} +5 -5
- package/dist/chunks/{bus-kzczzf4v.js → shell-kzczzf4v.js} +1 -1
- package/dist/chunks/{bus-8hfctyyf.js → shell-kzdam8c6.js} +7 -7
- package/dist/chunks/{bus-m1714858.js → shell-m1714858.js} +1 -1
- package/dist/chunks/{bus-2eqkfqpq.js → shell-m2tvmwk7.js} +18 -18
- package/dist/chunks/{bus-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
- package/dist/chunks/{bus-3xxxzx40.js → shell-mae2tq53.js} +31 -31
- package/dist/chunks/{bus-mb7mbhnz.js → shell-mb7mbhnz.js} +3 -3
- package/dist/chunks/{bus-bsfkzme1.js → shell-mbk8h3wg.js} +9 -9
- package/dist/chunks/{bus-n0eajme7.js → shell-mjb4x3wz.js} +15 -15
- package/dist/chunks/{bus-gps7pya6.js → shell-mjmpc5sw.js} +8 -8
- package/dist/chunks/{bus-vmgd1b2n.js → shell-mk8zq1xj.js} +28 -28
- package/dist/chunks/{bus-g0s7vqpm.js → shell-mq213kg4.js} +10 -10
- package/dist/chunks/{bus-d77r7070.js → shell-mwzkn054.js} +81 -81
- package/dist/chunks/{bus-qxcze8af.js → shell-n95h2jb4.js} +16 -16
- package/dist/chunks/{bus-pvjjxckp.js → shell-nb93nqqa.js} +31 -31
- package/dist/chunks/{bus-wzr2nckg.js → shell-ndpbz77q.js} +3 -3
- package/dist/chunks/{bus-6f7n0eyd.js → shell-nec8svhy.js} +34 -34
- package/dist/chunks/{bus-pv4pr5bm.js → shell-njcn97q6.js} +19 -19
- package/dist/chunks/{bus-qr61aex2.js → shell-nkxfbf5e.js} +23 -23
- package/dist/chunks/{bus-2ctpxvpm.js → shell-nmwmadty.js} +12 -12
- package/dist/chunks/{bus-vsmhcep0.js → shell-npdgcan7.js} +20 -20
- package/dist/chunks/{bus-hf12nyt3.js → shell-nvdvnz35.js} +29 -29
- package/dist/chunks/{bus-3ev6762c.js → shell-p3qgwpvm.js} +20 -20
- package/dist/chunks/{bus-j15ynj1b.js → shell-pczp76wy.js} +19 -19
- package/dist/chunks/{bus-97pd5eqw.js → shell-pd38x771.js} +4 -4
- package/dist/chunks/{bus-94cfsgt1.js → shell-pdjjkz20.js} +15 -15
- package/dist/chunks/{bus-yewnkzsz.js → shell-pgd10jsf.js} +81 -81
- package/dist/chunks/{bus-pknna89w.js → shell-pknna89w.js} +1 -1
- package/dist/chunks/{bus-6vmdyhkr.js → shell-psr002z0.js} +11 -11
- package/dist/chunks/{bus-rds5ff12.js → shell-q2pyecvj.js} +5 -5
- package/dist/chunks/{bus-wccr2qkb.js → shell-q4r31kbf.js} +24 -24
- package/dist/chunks/{bus-jhwp234h.js → shell-q65mdntm.js} +4 -4
- package/dist/chunks/{bus-swqqhfca.js → shell-q7xcpsfa.js} +7 -7
- package/dist/chunks/{bus-776tn0xc.js → shell-q878chk0.js} +358 -358
- package/dist/chunks/{bus-wm2h9wn1.js → shell-qa6d23rc.js} +3 -3
- package/dist/chunks/{bus-nn6w55pc.js → shell-qa8wq1bx.js} +9 -9
- package/dist/chunks/{bus-spt8e44j.js → shell-qby2zbqt.js} +17 -17
- package/dist/chunks/{bus-20pht57w.js → shell-qfz6bxfd.js} +4 -4
- package/dist/chunks/{bus-vsnnaxjq.js → shell-qkc3z5ds.js} +4 -4
- package/dist/chunks/{bus-qp7r0hxv.js → shell-qp7r0hxv.js} +1 -1
- package/dist/chunks/{bus-1v62x7nb.js → shell-qqrzc0yh.js} +11 -11
- package/dist/chunks/{bus-qqvy8y24.js → shell-qqvy8y24.js} +1 -1
- package/dist/chunks/{bus-qsdghx1p.js → shell-qsdghx1p.js} +1 -1
- package/dist/chunks/{bus-1xb40zjp.js → shell-qtf35215.js} +3 -3
- package/dist/chunks/{bus-j5q72a4r.js → shell-qv9r50zm.js} +18 -18
- package/dist/chunks/{bus-vp38q3z5.js → shell-qxc3vksa.js} +11 -11
- package/dist/chunks/{bus-dfaw6ypd.js → shell-r0qadsyg.js} +18 -18
- package/dist/chunks/{bus-8t99kr38.js → shell-r17fbvme.js} +4 -4
- package/dist/chunks/{bus-qnqasnye.js → shell-r1fnsf7p.js} +6 -6
- package/dist/chunks/{bus-nz0vwcmr.js → shell-r3tcmkcs.js} +14 -14
- package/dist/chunks/{bus-wxttsjt8.js → shell-r56mgjcm.js} +16 -16
- package/dist/chunks/{bus-8wn3zh93.js → shell-r82j83q4.js} +27 -27
- package/dist/chunks/{bus-4ngryqn9.js → shell-rahnahn3.js} +6 -6
- package/dist/chunks/{bus-rb9dy4dg.js → shell-rb9dy4dg.js} +1 -1
- package/dist/chunks/{bus-gs4n4z2g.js → shell-rdrzgfkv.js} +6 -6
- package/dist/chunks/{bus-rgc9cx3e.js → shell-rgc9cx3e.js} +2 -2
- package/dist/chunks/{bus-wt7wzq6n.js → shell-rghhz6zv.js} +11 -11
- package/dist/chunks/{bus-xfmn1200.js → shell-rh3shmtx.js} +10 -10
- package/dist/chunks/{bus-y1xg28a3.js → shell-rhapzdzw.js} +22 -22
- package/dist/chunks/{bus-rjxx2gf5.js → shell-rm3e3cyj.js} +12 -12
- package/dist/chunks/{bus-xer2fb76.js → shell-rmhx75t3.js} +19 -19
- package/dist/chunks/{bus-narzxsz3.js → shell-rp7apy8s.js} +18 -18
- package/dist/chunks/{bus-rt5dr6hb.js → shell-rt5dr6hb.js} +1 -1
- package/dist/chunks/{bus-7sztb6xg.js → shell-rvxxwe6w.js} +11 -11
- package/dist/chunks/{bus-afnfa54c.js → shell-rxtbt6kv.js} +12 -12
- package/dist/chunks/{bus-cy70qkhv.js → shell-ry0v614g.js} +20 -20
- package/dist/chunks/{bus-2p60zmnr.js → shell-s1ba0vj0.js} +2 -2
- package/dist/chunks/{bus-5gynpj2j.js → shell-s4vamwkg.js} +11 -11
- package/dist/chunks/{bus-5ckkk9bj.js → shell-s79v6bct.js} +4 -4
- package/dist/chunks/{bus-sa3fpqfw.js → shell-sa3fpqfw.js} +2 -2
- package/dist/chunks/{bus-sbya78hr.js → shell-sbya78hr.js} +1 -1
- package/dist/chunks/{bus-grxgxjek.js → shell-sh62exzy.js} +21 -21
- package/dist/chunks/{bus-qe5vhkh7.js → shell-sh9a1hwy.js} +7 -7
- package/dist/chunks/{bus-qkg60srj.js → shell-sp4wf9at.js} +43 -43
- package/dist/chunks/{bus-svcy3p9a.js → shell-svcy3p9a.js} +1 -1
- package/dist/chunks/{bus-ecm1d7a2.js → shell-t55b5cgh.js} +16 -16
- package/dist/chunks/{bus-wfej2c90.js → shell-t9vheqbg.js} +5 -5
- package/dist/chunks/{bus-3rapmj7b.js → shell-tah62rx7.js} +8 -8
- package/dist/chunks/{bus-tczq8hjw.js → shell-tczq8hjw.js} +1 -1
- package/dist/chunks/{bus-60an6ctf.js → shell-tt6gt43w.js} +5 -5
- package/dist/chunks/{bus-tvtps2q9.js → shell-tvtps2q9.js} +1 -1
- package/dist/chunks/{bus-twssxy5n.js → shell-twssxy5n.js} +2 -2
- package/dist/chunks/{bus-agyrz8xh.js → shell-v257k2g9.js} +39 -39
- package/dist/chunks/{bus-v2r1d0zg.js → shell-v2r1d0zg.js} +1 -1
- package/dist/chunks/{bus-bx3zhw10.js → shell-vd0ryday.js} +34 -34
- package/dist/chunks/{bus-vjf35v1f.js → shell-vjf35v1f.js} +1 -1
- package/dist/chunks/{bus-s26c8eb5.js → shell-vmxsyvj6.js} +4 -4
- package/dist/chunks/{bus-2magbsmb.js → shell-vv8kfd4w.js} +24 -24
- package/dist/chunks/{bus-50w7720n.js → shell-vvpmgzp6.js} +35 -35
- package/dist/chunks/{bus-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
- package/dist/chunks/{bus-8e2q6s6v.js → shell-w4e86a8d.js} +3 -3
- package/dist/chunks/{bus-w35wzz9x.js → shell-w79nt68w.js} +4 -4
- package/dist/chunks/{bus-wakvkjy4.js → shell-wakvkjy4.js} +1 -1
- package/dist/chunks/{bus-sbma5mtc.js → shell-wcrzq7nt.js} +27 -27
- package/dist/chunks/{bus-wd87259q.js → shell-wd87259q.js} +1 -1
- package/dist/chunks/{bus-wegkxhrn.js → shell-wegkxhrn.js} +2 -2
- package/dist/chunks/{bus-kak9xpb9.js → shell-whdsx4c1.js} +14 -14
- package/dist/chunks/{bus-wnhgecwx.js → shell-wnhgecwx.js} +1 -1
- package/dist/chunks/{bus-k50k7jc0.js → shell-wxs085yw.js} +11 -11
- package/dist/chunks/{bus-b8s66ae1.js → shell-x150ncgg.js} +2 -2
- package/dist/chunks/{bus-dtwk4r39.js → shell-x423karh.js} +1 -1
- package/dist/chunks/{bus-jy6kj5ph.js → shell-x950xzef.js} +19 -19
- package/dist/chunks/{bus-afdgc3vs.js → shell-xbfvprv6.js} +43 -43
- package/dist/chunks/{bus-awkn3h2h.js → shell-xertjmz1.js} +5 -5
- package/dist/chunks/{bus-xxschbft.js → shell-xjr6c8m4.js} +4 -4
- package/dist/chunks/{bus-yts2a8qm.js → shell-xksw6ev0.js} +4 -4
- package/dist/chunks/{bus-8n09hdvs.js → shell-xp6dqf4j.js} +8 -8
- package/dist/chunks/{bus-bx8nq7pr.js → shell-xw8c6gnm.js} +14 -14
- package/dist/chunks/{bus-qdwsperk.js → shell-y7t9x7tn.js} +6 -6
- package/dist/chunks/{bus-yb20nhc3.js → shell-yb20nhc3.js} +1 -1
- package/dist/chunks/{bus-6xc88389.js → shell-yb6m76fq.js} +10 -10
- package/dist/chunks/{bus-msd2a3qm.js → shell-ybws1qgk.js} +4 -4
- package/dist/chunks/{bus-17d3gt7t.js → shell-yd109x35.js} +20 -20
- package/dist/chunks/{bus-9rgr5dz2.js → shell-yfmbdz01.js} +4 -4
- package/dist/chunks/{bus-qw6nz8fx.js → shell-yh1setas.js} +4 -4
- package/dist/chunks/{bus-jjc8p30h.js → shell-yjsamv7j.js} +32 -32
- package/dist/chunks/{bus-wjyjrd90.js → shell-ym7qyz8p.js} +23 -23
- package/dist/chunks/{bus-yr705xyq.js → shell-yr705xyq.js} +1 -1
- package/dist/chunks/{bus-yvtc2x31.js → shell-yvtc2x31.js} +1 -1
- package/dist/chunks/{bus-73ncaqjh.js → shell-ywz0n6pd.js} +9 -9
- package/dist/chunks/{bus-36rv6gqa.js → shell-zadskqzh.js} +15 -15
- package/dist/chunks/{bus-e9d62zj1.js → shell-zdt1g382.js} +18 -18
- package/dist/chunks/{bus-24by7f9w.js → shell-zh1vrc3z.js} +14 -14
- package/dist/chunks/{bus-vrqpnmfa.js → shell-znq320h5.js} +33 -33
- package/dist/chunks/{bus-qs66m7qc.js → shell-zsqh38e7.js} +11 -11
- package/dist/chunks/{bus-spz5sz38.js → shell-zyfhsknv.js} +9 -9
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +145 -145
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +151 -151
- 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 +112 -112
- package/dist/config/plugin/agent.js +133 -133
- package/dist/config/plugin/command.js +234 -234
- package/dist/config/plugin/compaction.js +171 -171
- package/dist/config/plugin/compatibility.js +150 -150
- 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 +143 -143
- 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 +132 -132
- package/dist/config/plugin/skill-file.js +146 -146
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +153 -153
- 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 +131 -131
- 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/database.js +77 -77
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/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 +62 -62
- 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/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +435 -435
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +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 +157 -157
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +161 -161
- 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 +245 -245
- 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 +114 -114
- package/dist/form.js +95 -95
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +122 -122
- package/dist/git.js +9 -9
- 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 +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 +426 -426
- package/dist/instruction-discovery.js +93 -93
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +100 -100
- package/dist/job/sql.js +2 -2
- package/dist/job.js +86 -86
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +176 -176
- package/dist/location-lifecycle.js +150 -150
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +423 -423
- package/dist/location.js +100 -100
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +105 -105
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/index.js +122 -122
- package/dist/mcp/instructions.js +183 -183
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +104 -104
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +112 -112
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +113 -113
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +117 -117
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +91 -91
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +149 -149
- 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 +117 -117
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +238 -238
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +402 -402
- 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 +146 -146
- 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 +115 -115
- 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 +148 -148
- package/dist/plugin/provider/claude-agent/instructions.js +114 -114
- 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 +3 -3
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +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 +140 -140
- package/dist/plugin/provider/openai-context-caps.js +106 -106
- package/dist/plugin/provider/openai.js +135 -135
- package/dist/plugin/provider/opencode.js +157 -157
- 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 +235 -235
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +149 -149
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +414 -414
- 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 +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +6 -6
- 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 +245 -245
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +101 -101
- package/dist/provider.js +110 -110
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +113 -113
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +101 -101
- 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 +243 -243
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +249 -249
- 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 +129 -129
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +171 -171
- package/dist/session/context.js +200 -200
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +241 -241
- package/dist/session/execution.js +161 -161
- package/dist/session/generate.js +202 -202
- package/dist/session/history.js +136 -136
- package/dist/session/inbox.js +143 -143
- 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 +143 -143
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +168 -168
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +165 -165
- package/dist/session/projector.js +143 -143
- package/dist/session/prompt.js +148 -148
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +139 -139
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +252 -252
- 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 +149 -149
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +163 -163
- package/dist/session/runner/to-llm-message.js +137 -137
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +180 -180
- package/dist/session/shell.js +145 -145
- package/dist/session/skill.js +147 -147
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +84 -84
- package/dist/session/store.js +142 -142
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +231 -231
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +204 -204
- package/dist/session/to-session-error.js +148 -148
- package/dist/session/transfer.js +238 -238
- package/dist/session/usage.js +3 -3
- package/dist/session.js +233 -233
- package/dist/shared-cache.js +5 -5
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +147 -147
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +151 -151
- package/dist/skill.js +154 -154
- 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 +182 -182
- package/dist/tool/plugin/artifact.js +230 -230
- package/dist/tool/plugin/edit.js +167 -167
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +165 -165
- package/dist/tool/plugin/grep.js +170 -170
- package/dist/tool/plugin/image-generate.js +241 -241
- package/dist/tool/plugin/mcp-resource.js +164 -164
- package/dist/tool/plugin/opencode.js +163 -163
- package/dist/tool/plugin/patch.js +164 -164
- package/dist/tool/plugin/question.js +148 -148
- package/dist/tool/plugin/read.js +172 -172
- package/dist/tool/plugin/schedule.js +247 -247
- package/dist/tool/plugin/shell.js +237 -237
- package/dist/tool/plugin/skill.js +155 -155
- package/dist/tool/plugin/subagent.js +238 -238
- package/dist/tool/plugin/todo.js +153 -153
- package/dist/tool/plugin/webfetch.js +157 -157
- package/dist/tool/plugin/websearch.js +155 -155
- package/dist/tool/plugin/write.js +162 -162
- 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 +157 -157
- 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 +7 -7
- package/dist/v1/config/command.js +3 -3
- 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 +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +99 -99
- package/dist/websearch.js +101 -101
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +92 -92
- package/dist/workspace/driver.js +5 -5
- 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 +8 -8
- package/dist/chunks/bus-bhhj5802.js +0 -26
- package/dist/chunks/bus-hnjwtrny.js +0 -265
- package/dist/chunks/bus-v8vhf2as.js +0 -18
- /package/dist/chunks/{bus-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{bus-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
- /package/dist/chunks/{bus-108x4f4w.js → shell-108x4f4w.js} +0 -0
- /package/dist/chunks/{bus-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
- /package/dist/chunks/{bus-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
- /package/dist/chunks/{bus-1kah00gy.js → shell-1kah00gy.js} +0 -0
- /package/dist/chunks/{bus-24dcb14g.js → shell-24dcb14g.js} +0 -0
- /package/dist/chunks/{bus-2710q6r3.js → shell-2710q6r3.js} +0 -0
- /package/dist/chunks/{bus-2bv980vf.js → shell-2bv980vf.js} +0 -0
- /package/dist/chunks/{bus-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{bus-359p4xyc.js → shell-359p4xyc.js} +0 -0
- /package/dist/chunks/{bus-3af0jn4w.js → shell-3af0jn4w.js} +0 -0
- /package/dist/chunks/{bus-3asan66x.js → shell-3asan66x.js} +0 -0
- /package/dist/chunks/{bus-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
- /package/dist/chunks/{bus-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
- /package/dist/chunks/{bus-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
- /package/dist/chunks/{bus-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
- /package/dist/chunks/{bus-4qk9sjk2.js → shell-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{bus-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
- /package/dist/chunks/{bus-53557ph1.js → shell-53557ph1.js} +0 -0
- /package/dist/chunks/{bus-550bvhaj.js → shell-550bvhaj.js} +0 -0
- /package/dist/chunks/{bus-5w3e23ze.js → shell-5w3e23ze.js} +0 -0
- /package/dist/chunks/{bus-6agm2x70.js → shell-6agm2x70.js} +0 -0
- /package/dist/chunks/{bus-6prwharc.js → shell-6prwharc.js} +0 -0
- /package/dist/chunks/{bus-6q2bdcd1.js → shell-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{bus-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
- /package/dist/chunks/{bus-7m9af43g.js → shell-7m9af43g.js} +0 -0
- /package/dist/chunks/{bus-822emrt2.js → shell-822emrt2.js} +0 -0
- /package/dist/chunks/{bus-84wd9syh.js → shell-84wd9syh.js} +0 -0
- /package/dist/chunks/{bus-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
- /package/dist/chunks/{bus-8n3pysct.js → shell-8n3pysct.js} +0 -0
- /package/dist/chunks/{bus-8wj87zfr.js → shell-8wj87zfr.js} +0 -0
- /package/dist/chunks/{bus-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
- /package/dist/chunks/{bus-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{bus-a6k6eb26.js → shell-a6k6eb26.js} +0 -0
- /package/dist/chunks/{bus-af5trqkr.js → shell-af5trqkr.js} +0 -0
- /package/dist/chunks/{bus-afrmfg78.js → shell-afrmfg78.js} +0 -0
- /package/dist/chunks/{bus-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{bus-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
- /package/dist/chunks/{bus-beh6qq61.js → shell-beh6qq61.js} +0 -0
- /package/dist/chunks/{bus-bhmrqjy3.js → shell-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{bus-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{bus-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{bus-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
- /package/dist/chunks/{bus-cqv5kn06.js → shell-cqv5kn06.js} +0 -0
- /package/dist/chunks/{bus-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{bus-d9fn303g.js → shell-d9fn303g.js} +0 -0
- /package/dist/chunks/{bus-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{bus-dap0rakb.js → shell-dap0rakb.js} +0 -0
- /package/dist/chunks/{bus-df08tz66.js → shell-df08tz66.js} +0 -0
- /package/dist/chunks/{bus-dy18nga0.js → shell-dy18nga0.js} +0 -0
- /package/dist/chunks/{bus-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
- /package/dist/chunks/{bus-ean2d8b5.js → shell-ean2d8b5.js} +0 -0
- /package/dist/chunks/{bus-ec1grn59.js → shell-ec1grn59.js} +0 -0
- /package/dist/chunks/{bus-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
- /package/dist/chunks/{bus-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
- /package/dist/chunks/{bus-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{bus-faypxj3z.js → shell-faypxj3z.js} +0 -0
- /package/dist/chunks/{bus-fd410y7t.js → shell-fd410y7t.js} +0 -0
- /package/dist/chunks/{bus-fkpq3x5p.js → shell-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{bus-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
- /package/dist/chunks/{bus-g86h250q.js → shell-g86h250q.js} +0 -0
- /package/dist/chunks/{bus-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
- /package/dist/chunks/{bus-gftt206x.js → shell-gftt206x.js} +0 -0
- /package/dist/chunks/{bus-hcxmzztb.js → shell-hcxmzztb.js} +0 -0
- /package/dist/chunks/{bus-hk9envan.js → shell-hk9envan.js} +0 -0
- /package/dist/chunks/{bus-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
- /package/dist/chunks/{bus-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{bus-jjkms2e6.js → shell-jjkms2e6.js} +0 -0
- /package/dist/chunks/{bus-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{bus-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{bus-jwr30sdr.js → shell-jwr30sdr.js} +0 -0
- /package/dist/chunks/{bus-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{bus-m18g726c.js → shell-m18g726c.js} +0 -0
- /package/dist/chunks/{bus-mp448xyj.js → shell-mp448xyj.js} +0 -0
- /package/dist/chunks/{bus-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
- /package/dist/chunks/{bus-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
- /package/dist/chunks/{bus-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
- /package/dist/chunks/{bus-nh4v3znn.js → shell-nh4v3znn.js} +0 -0
- /package/dist/chunks/{bus-njntx4h6.js → shell-njntx4h6.js} +0 -0
- /package/dist/chunks/{bus-p71gwv9c.js → shell-p71gwv9c.js} +0 -0
- /package/dist/chunks/{bus-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
- /package/dist/chunks/{bus-q74kybfr.js → shell-q74kybfr.js} +0 -0
- /package/dist/chunks/{bus-qaymkmh1.js → shell-qaymkmh1.js} +0 -0
- /package/dist/chunks/{bus-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
- /package/dist/chunks/{bus-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
- /package/dist/chunks/{bus-qg3g05ea.js → shell-qg3g05ea.js} +0 -0
- /package/dist/chunks/{bus-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
- /package/dist/chunks/{bus-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{bus-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{bus-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
- /package/dist/chunks/{bus-syrav9an.js → shell-syrav9an.js} +0 -0
- /package/dist/chunks/{bus-t03h4f5z.js → shell-t03h4f5z.js} +0 -0
- /package/dist/chunks/{bus-ty7weeps.js → shell-ty7weeps.js} +0 -0
- /package/dist/chunks/{bus-ve7vex1e.js → shell-ve7vex1e.js} +0 -0
- /package/dist/chunks/{bus-vtarvj67.js → shell-vtarvj67.js} +0 -0
- /package/dist/chunks/{bus-w803qqfp.js → shell-w803qqfp.js} +0 -0
- /package/dist/chunks/{bus-wc3fc9cn.js → shell-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{bus-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
- /package/dist/chunks/{bus-wtztk69x.js → shell-wtztk69x.js} +0 -0
- /package/dist/chunks/{bus-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
- /package/dist/chunks/{bus-x61499pn.js → shell-x61499pn.js} +0 -0
- /package/dist/chunks/{bus-y44na4kk.js → shell-y44na4kk.js} +0 -0
- /package/dist/chunks/{bus-y8f7s663.js → shell-y8f7s663.js} +0 -0
- /package/dist/chunks/{bus-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{bus-z0h12gs8.js → shell-z0h12gs8.js} +0 -0
- /package/dist/chunks/{bus-z5v4ffb3.js → shell-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{bus-z9919s4g.js → shell-z9919s4g.js} +0 -0
- /package/dist/chunks/{bus-zxpyjp51.js → shell-zxpyjp51.js} +0 -0
|
@@ -1,53 +1,53 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service91,
|
|
6
6
|
node94
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./shell-4nh513ck.js";
|
|
8
8
|
import {
|
|
9
9
|
Service90,
|
|
10
10
|
node93
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./shell-6p0htpnz.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service86,
|
|
14
14
|
node88
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./shell-s4vamwkg.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID19,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info28,
|
|
20
20
|
UpdateInput5,
|
|
21
|
-
|
|
21
|
+
Event18,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./shell-zyfhsknv.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./shell-034tev2y.js";
|
|
28
28
|
import {
|
|
29
29
|
refresh2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./shell-8sxe6kv8.js";
|
|
31
31
|
import {
|
|
32
32
|
WorktreeTable2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./shell-ayjs7tqn.js";
|
|
34
34
|
import {
|
|
35
35
|
__export
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./shell-9rqn6x4v.js";
|
|
37
37
|
|
|
38
38
|
// src/project.ts
|
|
39
39
|
var exports_project = {};
|
|
40
40
|
__export(exports_project, {
|
|
41
41
|
ACTIVATE_INTERVAL: () => ACTIVATE_INTERVAL2,
|
|
42
42
|
Current: () => Current2,
|
|
43
|
-
ID: () =>
|
|
44
|
-
Info: () =>
|
|
43
|
+
ID: () => ID18,
|
|
44
|
+
Info: () => Info27,
|
|
45
45
|
NotFoundError: () => NotFoundError13,
|
|
46
46
|
Project: () => exports_project,
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service85,
|
|
48
48
|
UpdateInput: () => UpdateInput4,
|
|
49
49
|
Vcs: () => Vcs2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured11,
|
|
51
51
|
node: () => node87,
|
|
52
52
|
root: () => root2,
|
|
53
53
|
sweepNode: () => sweepNode2
|
|
@@ -61,14 +61,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
61
61
|
import { AppProcess } from "@opencode/util/process";
|
|
62
62
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
63
63
|
import { Hash } from "@opencode/util/hash";
|
|
64
|
-
var
|
|
64
|
+
var ID18 = ID19;
|
|
65
65
|
var Vcs2 = Vcs3;
|
|
66
66
|
var Current2 = Current3;
|
|
67
|
-
var
|
|
67
|
+
var Info27 = Info28;
|
|
68
68
|
var UpdateInput4 = UpdateInput5;
|
|
69
69
|
|
|
70
70
|
class NotFoundError13 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
71
|
-
projectID:
|
|
71
|
+
projectID: ID18
|
|
72
72
|
}) {
|
|
73
73
|
}
|
|
74
74
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -87,7 +87,7 @@ var ACTIVATE_INTERVAL2 = 60000;
|
|
|
87
87
|
var SWEEP_INTERVAL = Duration.hours(1);
|
|
88
88
|
var Now = Context.Reference("@opencode/Project/Now", { defaultValue: () => Date.now });
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service85 extends Context.Service()("@opencode/Project") {
|
|
91
91
|
}
|
|
92
92
|
function fromRow(row) {
|
|
93
93
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -111,10 +111,10 @@ function fromRow(row) {
|
|
|
111
111
|
sandboxes: row.sandboxes
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
|
-
var layer = Layer.effect(
|
|
114
|
+
var layer = Layer.effect(Service85, Effect.gen(function* () {
|
|
115
115
|
const now = yield* Now;
|
|
116
116
|
const fs = yield* FSUtil.Service;
|
|
117
|
-
const git = yield*
|
|
117
|
+
const git = yield* Service86;
|
|
118
118
|
const proc = yield* AppProcess.Service;
|
|
119
119
|
const bus = yield* Service90;
|
|
120
120
|
const db = (yield* Service91).db;
|
|
@@ -127,8 +127,8 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
127
127
|
const replaced = previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true))) ? yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie) : undefined;
|
|
128
128
|
const changed = replaced ?? unarchived;
|
|
129
129
|
if (changed)
|
|
130
|
-
yield* bus.publish(
|
|
131
|
-
yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(
|
|
130
|
+
yield* bus.publish(Event18.Updated, fromRow(changed));
|
|
131
|
+
yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(Event18.Updated, fromRow(row)) : Effect.void), Effect.ignoreCause, Effect.forkIn(scope));
|
|
132
132
|
if (!project.vcs)
|
|
133
133
|
return project;
|
|
134
134
|
const directories = [
|
|
@@ -164,7 +164,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
164
164
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
165
165
|
projectID: item.projectID,
|
|
166
166
|
directory: item.directory,
|
|
167
|
-
previous: project.previous ??
|
|
167
|
+
previous: project.previous ?? ID18.global,
|
|
168
168
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
169
169
|
}, {
|
|
170
170
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -189,14 +189,14 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
189
189
|
if (!row)
|
|
190
190
|
return yield* new NotFoundError13({ projectID: input.projectID });
|
|
191
191
|
const project = fromRow(row);
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event18.Updated, project);
|
|
193
193
|
return project;
|
|
194
194
|
});
|
|
195
195
|
const activated = new Map;
|
|
196
196
|
const persistActivate = Effect.fn("Project.activate")(function* (projectID, timestamp) {
|
|
197
197
|
const row = yield* db.update(ProjectTable2).set({ time_active: timestamp, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
|
|
198
198
|
if (row)
|
|
199
|
-
yield* bus.publish(
|
|
199
|
+
yield* bus.publish(Event18.Updated, fromRow(row));
|
|
200
200
|
});
|
|
201
201
|
const activate = (projectID, options) => Effect.suspend(() => {
|
|
202
202
|
const timestamp = now();
|
|
@@ -208,7 +208,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
208
208
|
return options?.forkIn ? write.pipe(Effect.forkIn(options.forkIn), Effect.asVoid) : write;
|
|
209
209
|
});
|
|
210
210
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
211
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
211
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID18.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
212
212
|
return;
|
|
213
213
|
}));
|
|
214
214
|
});
|
|
@@ -219,7 +219,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
219
219
|
const normalized = url(origin);
|
|
220
220
|
if (!normalized)
|
|
221
221
|
return;
|
|
222
|
-
return
|
|
222
|
+
return ID18.make(Hash.fast(`git-remote:${normalized}`));
|
|
223
223
|
});
|
|
224
224
|
function url(input) {
|
|
225
225
|
const value = input.trim();
|
|
@@ -244,7 +244,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
244
244
|
}
|
|
245
245
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
246
246
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
247
|
-
return root ?
|
|
247
|
+
return root ? ID18.make(root) : undefined;
|
|
248
248
|
});
|
|
249
249
|
const gitDiscover = Effect.fnUntraced(function* (dotGit) {
|
|
250
250
|
const repo = yield* git.repo.discover(AbsolutePath2.make(path.dirname(dotGit)));
|
|
@@ -260,7 +260,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
260
260
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), fallback(repo.worktree));
|
|
261
261
|
const resolved = {
|
|
262
262
|
previous,
|
|
263
|
-
id: id ??
|
|
263
|
+
id: id ?? ID18.global,
|
|
264
264
|
directory: repo.worktree,
|
|
265
265
|
canonical,
|
|
266
266
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -285,7 +285,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
285
285
|
return;
|
|
286
286
|
const node = result.stdout.toString("utf8").split(`
|
|
287
287
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
288
|
-
return node ?
|
|
288
|
+
return node ? ID18.make(node) : undefined;
|
|
289
289
|
});
|
|
290
290
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
291
291
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -293,7 +293,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
293
293
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
294
294
|
return {
|
|
295
295
|
previous,
|
|
296
|
-
id: id ??
|
|
296
|
+
id: id ?? ID18.global,
|
|
297
297
|
directory: worktree,
|
|
298
298
|
vcs: { type: "hg", store: dotHg }
|
|
299
299
|
};
|
|
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
320
320
|
});
|
|
321
321
|
}
|
|
322
322
|
return yield* save({
|
|
323
|
-
id:
|
|
323
|
+
id: ID18.make(Hash.fast(`directory:${directory}`)),
|
|
324
324
|
directory,
|
|
325
325
|
canonical: directory,
|
|
326
326
|
vcs: undefined
|
|
@@ -329,7 +329,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
329
329
|
const sweep = Effect.fn("Project.sweep")(function* () {
|
|
330
330
|
const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
|
|
331
331
|
const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
|
|
332
|
-
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id,
|
|
332
|
+
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID18.global))).all().pipe(Effect.orDie);
|
|
333
333
|
const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
|
|
334
334
|
const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
|
|
335
335
|
yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
|
|
@@ -342,26 +342,26 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
342
342
|
return;
|
|
343
343
|
const row = yield* db.update(ProjectTable2).set(main ? { worktree: main.directory } : { time_archived: Date.now(), time_updated: sql`${ProjectTable2.time_updated}` }).where(and(eq(ProjectTable2.id, project.id), idle)).returning().get().pipe(Effect.orDie);
|
|
344
344
|
if (row)
|
|
345
|
-
yield* bus.publish(
|
|
345
|
+
yield* bus.publish(Event18.Updated, fromRow(row));
|
|
346
346
|
}), { concurrency: 8, discard: true });
|
|
347
347
|
});
|
|
348
|
-
return
|
|
348
|
+
return Service85.of({ list, update, activate, resolve, sweep });
|
|
349
349
|
}));
|
|
350
|
-
function
|
|
350
|
+
function configured11(options) {
|
|
351
351
|
return makeGlobalNode({
|
|
352
|
-
service:
|
|
352
|
+
service: Service85,
|
|
353
353
|
layer: options?.now ? layer.pipe(Layer.provide(Layer.succeed(Now, options.now))) : layer,
|
|
354
354
|
deps: [node93, node94, FSUtil.node, node88, AppProcess.node]
|
|
355
355
|
});
|
|
356
356
|
}
|
|
357
|
-
var node87 =
|
|
357
|
+
var node87 = configured11();
|
|
358
358
|
var sweepNode2 = makeGlobalNode({
|
|
359
359
|
name: "project-archive-sweep",
|
|
360
360
|
layer: Layer.effectDiscard(Effect.gen(function* () {
|
|
361
|
-
const project = yield*
|
|
361
|
+
const project = yield* Service85;
|
|
362
362
|
yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
|
|
363
363
|
})),
|
|
364
364
|
deps: [node87]
|
|
365
365
|
});
|
|
366
366
|
|
|
367
|
-
export {
|
|
367
|
+
export { ID18, Vcs2, Current2, Info27, UpdateInput4, NotFoundError13, root2, ACTIVATE_INTERVAL2, Service85, configured11, node87, sweepNode2, exports_project };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service78
|
|
4
|
+
} from "./shell-3dbxf0x7.js";
|
|
5
5
|
import {
|
|
6
6
|
Content2,
|
|
7
|
-
|
|
7
|
+
Event6,
|
|
8
8
|
ID7,
|
|
9
|
-
|
|
9
|
+
Info8,
|
|
10
10
|
ProviderID2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service28
|
|
12
|
+
} from "./shell-cq1t411c.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./shell-tvtps2q9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./shell-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/plugin/artifact.ts
|
|
21
21
|
var exports_artifact = {};
|
|
@@ -23,7 +23,7 @@ __export(exports_artifact, {
|
|
|
23
23
|
ArtifactTools: () => exports_artifact,
|
|
24
24
|
CreateToolInput: () => CreateToolInput2,
|
|
25
25
|
DeleteToolInput: () => DeleteToolInput2,
|
|
26
|
-
Plugin: () =>
|
|
26
|
+
Plugin: () => Plugin33,
|
|
27
27
|
ReadToolInput: () => ReadToolInput2,
|
|
28
28
|
UpdateToolInput: () => UpdateToolInput2
|
|
29
29
|
});
|
|
@@ -60,18 +60,18 @@ var DeleteToolOutput = Schema.Struct({
|
|
|
60
60
|
id: ID7,
|
|
61
61
|
deleted: Schema.Boolean
|
|
62
62
|
});
|
|
63
|
-
var
|
|
63
|
+
var Plugin33 = {
|
|
64
64
|
id: "opencode.tool.artifact",
|
|
65
65
|
effect: Effect.fn("ArtifactTools.Plugin")(function* (ctx) {
|
|
66
|
-
const config = yield*
|
|
67
|
-
const artifacts = yield*
|
|
66
|
+
const config = yield* Service78;
|
|
67
|
+
const artifacts = yield* Service28;
|
|
68
68
|
const promptSnapshot = { text: yield* renderCreateDescription(artifacts) };
|
|
69
69
|
const refreshTools = Effect.gen(function* () {
|
|
70
70
|
promptSnapshot.text = yield* renderCreateDescription(artifacts);
|
|
71
71
|
yield* ctx.tool.reload();
|
|
72
72
|
});
|
|
73
73
|
const loaded = yield* observe2(config, ctx.event, refreshTools);
|
|
74
|
-
yield* ctx.event.subscribe({ types: [
|
|
74
|
+
yield* ctx.event.subscribe({ types: [Event6.Updated.type] }).pipe(Stream.runForEach(() => refreshTools), Effect.forkScoped({ startImmediately: true }));
|
|
75
75
|
const enabled = () => latest2(loaded.entries, "experimental")?.artifacts === true;
|
|
76
76
|
const failure = (error) => new ToolFailure({ message: error.message, error });
|
|
77
77
|
yield* ctx.tool.transform((editor) => {
|
|
@@ -81,7 +81,7 @@ var Plugin34 = {
|
|
|
81
81
|
name: "artifact_create",
|
|
82
82
|
description: promptSnapshot.text,
|
|
83
83
|
input: CreateToolInput2,
|
|
84
|
-
output:
|
|
84
|
+
output: Info8,
|
|
85
85
|
options: { namespace: "opencode", codemode: true },
|
|
86
86
|
execute: (input, context) => artifacts.create({
|
|
87
87
|
title: input.title,
|
|
@@ -109,7 +109,7 @@ var Plugin34 = {
|
|
|
109
109
|
name: "artifact_update",
|
|
110
110
|
description: "Replace an existing artifact's files at the same ID and URL.",
|
|
111
111
|
input: UpdateToolInput2,
|
|
112
|
-
output:
|
|
112
|
+
output: Info8,
|
|
113
113
|
options: { namespace: "opencode", codemode: true },
|
|
114
114
|
execute: (input, context) => artifacts.update(input.id, {
|
|
115
115
|
title: input.title,
|
|
@@ -149,4 +149,4 @@ function renderCreateDescription(artifacts) {
|
|
|
149
149
|
}));
|
|
150
150
|
}
|
|
151
151
|
|
|
152
|
-
export { CreateToolInput2, ReadToolInput2, UpdateToolInput2, DeleteToolInput2,
|
|
152
|
+
export { CreateToolInput2, ReadToolInput2, UpdateToolInput2, DeleteToolInput2, Plugin33, exports_artifact };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID17
|
|
3
|
+
} from "./shell-5a65b5yp.js";
|
|
4
4
|
import {
|
|
5
5
|
configuredSettings2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-70bbyff8.js";
|
|
7
7
|
import {
|
|
8
8
|
credentialSettings2,
|
|
9
9
|
metadataSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./shell-y7t9x7tn.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
13
13
|
import { Effect } from "effect";
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Form } from "@opencode/schema/form";
|
|
16
|
-
var providerID =
|
|
16
|
+
var providerID = ID17.make("cloudflare-workers-ai");
|
|
17
17
|
var CloudflareWorkersAIPlugin2 = define({
|
|
18
18
|
id: "opencode.provider.cloudflare.workers.ai",
|
|
19
19
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
make7
|
|
3
|
+
} from "./shell-3qevzq3v.js";
|
|
4
4
|
import {
|
|
5
5
|
HEADER2,
|
|
6
6
|
SESSION_HEADER2,
|
|
7
7
|
FORK_HEADER2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./shell-yr705xyq.js";
|
|
9
9
|
import {
|
|
10
10
|
AGENT_OPTION2,
|
|
11
11
|
INSTRUCTIONS_OPTION2,
|
|
12
|
-
|
|
12
|
+
make10,
|
|
13
13
|
utility2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./shell-qfz6bxfd.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./shell-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/plugin/provider/claude-agent/language-model/claude-agent-language-model.ts
|
|
20
20
|
var exports_claude_agent_language_model = {};
|
|
@@ -56,8 +56,8 @@ class Model2 {
|
|
|
56
56
|
const sessionID = primary ? session : undefined;
|
|
57
57
|
const sourceID = primary ? headers[FORK_HEADER2] : branch ? session : undefined;
|
|
58
58
|
const offered = primary || branch ? tools : [];
|
|
59
|
-
const convert =
|
|
60
|
-
const system = primary || branch ?
|
|
59
|
+
const convert = make7(offered);
|
|
60
|
+
const system = primary || branch ? make10(agent, instructions) : utility2(options.prompt);
|
|
61
61
|
let cancelled = false;
|
|
62
62
|
let task;
|
|
63
63
|
const stream = new ReadableStream({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID20,
|
|
3
|
+
Service87
|
|
4
|
+
} from "./shell-dh9vehck.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/provider/llmgateway.ts
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
9
9
|
var LLMGatewayPlugin2 = define({
|
|
10
10
|
id: "opencode.provider.llmgateway",
|
|
11
11
|
effect: Effect.fn(function* (ctx) {
|
|
12
|
-
const integrations = yield*
|
|
12
|
+
const integrations = yield* Service87;
|
|
13
13
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
14
14
|
yield* ctx.provider.transform((evt) => {
|
|
15
15
|
for (const item of evt.list()) {
|
|
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
19
19
|
continue;
|
|
20
20
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
21
21
|
continue;
|
|
22
|
-
if (!configured.has(
|
|
22
|
+
if (!configured.has(ID20.make(item.provider.id)))
|
|
23
23
|
continue;
|
|
24
24
|
evt.update(item.provider.id, (provider) => {
|
|
25
25
|
provider.headers = {
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-zsqh38e7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID21,
|
|
6
6
|
OAuth3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./shell-ckbkj3gw.js";
|
|
8
8
|
import {
|
|
9
9
|
AbsolutePath2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./shell-z5v4ffb3.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./shell-q65mdntm.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID20,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./shell-dh9vehck.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
ID17
|
|
21
|
+
} from "./shell-5a65b5yp.js";
|
|
22
22
|
import {
|
|
23
23
|
Remote3,
|
|
24
24
|
Document3,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
make32
|
|
26
|
+
} from "./shell-r17fbvme.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service78
|
|
29
|
+
} from "./shell-3dbxf0x7.js";
|
|
30
30
|
import {
|
|
31
31
|
integrate2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./shell-rxtbt6kv.js";
|
|
33
33
|
import {
|
|
34
34
|
uri2,
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
35
|
+
Service43
|
|
36
|
+
} from "./shell-m2tvmwk7.js";
|
|
37
37
|
import {
|
|
38
38
|
parse2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./shell-pd38x771.js";
|
|
40
40
|
import {
|
|
41
41
|
defaultServer2,
|
|
42
42
|
server2,
|
|
43
43
|
headers2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./shell-kt3bjfbg.js";
|
|
45
45
|
import {
|
|
46
46
|
File2,
|
|
47
|
-
|
|
48
|
-
} from "./
|
|
47
|
+
Service44
|
|
48
|
+
} from "./shell-f5fj0026.js";
|
|
49
49
|
import {
|
|
50
50
|
isSafeSegment2,
|
|
51
51
|
isSafeRelativePath2
|
|
52
|
-
} from "./
|
|
52
|
+
} from "./shell-gerka9tj.js";
|
|
53
53
|
import {
|
|
54
|
-
|
|
55
|
-
|
|
54
|
+
ID6,
|
|
55
|
+
Input15,
|
|
56
56
|
Response2
|
|
57
|
-
} from "./
|
|
57
|
+
} from "./shell-znq320h5.js";
|
|
58
58
|
import {
|
|
59
59
|
onSwitch2
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./shell-q7xcpsfa.js";
|
|
61
61
|
|
|
62
62
|
// src/plugin/provider/opencode.ts
|
|
63
63
|
import { Clock, Duration, Effect, Equal, FiberHandle, Option, Schema, Scope, Semaphore } from "effect";
|
|
@@ -121,7 +121,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
121
121
|
}
|
|
122
122
|
function oauth(http) {
|
|
123
123
|
return {
|
|
124
|
-
integrationID:
|
|
124
|
+
integrationID: ID20.make("opencode"),
|
|
125
125
|
method: {
|
|
126
126
|
id: methodID,
|
|
127
127
|
type: "oauth",
|
|
@@ -188,9 +188,9 @@ var OpencodePlugin2 = define({
|
|
|
188
188
|
const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
|
|
189
189
|
const client = yield* HttpClient.HttpClient;
|
|
190
190
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
191
|
-
const config = yield*
|
|
192
|
-
const discovery = yield*
|
|
193
|
-
const skills = yield*
|
|
191
|
+
const config = yield* Service78;
|
|
192
|
+
const discovery = yield* Service44;
|
|
193
|
+
const skills = yield* Service43;
|
|
194
194
|
const scope = yield* Scope.Scope;
|
|
195
195
|
const loading = Semaphore.makeUnsafe(1);
|
|
196
196
|
let snapshot = { remote: undefined, connection: undefined, organization: undefined };
|
|
@@ -230,13 +230,13 @@ var OpencodePlugin2 = define({
|
|
|
230
230
|
});
|
|
231
231
|
let integrated;
|
|
232
232
|
const integrate = Effect.fnUntraced(function* (document) {
|
|
233
|
-
yield* config.integration?.(
|
|
234
|
-
integrated = (yield* config.entries()).find((entry) => entry instanceof Document3 && entry.integrationID ===
|
|
233
|
+
yield* config.integration?.(ID20.make("opencode"), document) ?? Effect.void;
|
|
234
|
+
integrated = (yield* config.entries()).find((entry) => entry instanceof Document3 && entry.integrationID === ID20.make("opencode"));
|
|
235
235
|
});
|
|
236
236
|
const publish = Effect.fnUntraced(function* (next) {
|
|
237
|
-
const document = next.remote && next.connection &&
|
|
238
|
-
integrationID:
|
|
239
|
-
connection: next.connection.type === "credential" ? { ...next.connection, id:
|
|
237
|
+
const document = next.remote && next.connection && make32({
|
|
238
|
+
integrationID: ID20.make("opencode"),
|
|
239
|
+
connection: next.connection.type === "credential" ? { ...next.connection, id: ID21.make(next.connection.id) } : next.connection,
|
|
240
240
|
organization: next.organization,
|
|
241
241
|
info: next.remote
|
|
242
242
|
});
|
|
@@ -288,7 +288,7 @@ var OpencodePlugin2 = define({
|
|
|
288
288
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
289
289
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
290
290
|
const server = yield* normalizeServer(server2(credential));
|
|
291
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
291
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input15)({
|
|
292
292
|
query: input.query,
|
|
293
293
|
providerID
|
|
294
294
|
}));
|
|
@@ -316,7 +316,7 @@ var OpencodePlugin2 = define({
|
|
|
316
316
|
integrate2(providers, integrated);
|
|
317
317
|
});
|
|
318
318
|
yield* ctx.provider.transform((providers) => {
|
|
319
|
-
const item = providers.get(
|
|
319
|
+
const item = providers.get(ID17.opencode);
|
|
320
320
|
if (!item)
|
|
321
321
|
return;
|
|
322
322
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -328,7 +328,7 @@ var OpencodePlugin2 = define({
|
|
|
328
328
|
});
|
|
329
329
|
});
|
|
330
330
|
yield* ctx.model.transform((models) => {
|
|
331
|
-
const item = models.provider.get(
|
|
331
|
+
const item = models.provider.get(ID17.opencode);
|
|
332
332
|
if (!item)
|
|
333
333
|
return;
|
|
334
334
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -343,7 +343,7 @@ var OpencodePlugin2 = define({
|
|
|
343
343
|
}
|
|
344
344
|
});
|
|
345
345
|
yield* ctx.websearch.transform((editor) => {
|
|
346
|
-
const provider =
|
|
346
|
+
const provider = ID6.make("opencode");
|
|
347
347
|
if (snapshot.remote?.websearch && snapshot.remote.websearch.provider === provider && snapshot.connection)
|
|
348
348
|
editor.add(search(provider, snapshot.connection));
|
|
349
349
|
});
|
|
@@ -384,7 +384,7 @@ var OpencodePlugin2 = define({
|
|
|
384
384
|
});
|
|
385
385
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
386
386
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
387
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
387
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID17.opencode, ...Object.keys(next.remote?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
388
388
|
});
|
|
389
389
|
yield* guard(snapshot);
|
|
390
390
|
const polling = yield* FiberHandle.make();
|