@opencode/core 0.0.0-dev-1039 → 0.0.0-dev-1042
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 +11 -11
- package/dist/artifact.js +241 -240
- package/dist/bus.js +84 -84
- package/dist/chunks/{workspace-dqjf3rq4.js → bus-0015kxwm.js} +3 -3
- package/dist/chunks/{workspace-m6tdssjc.js → bus-00fdt2tm.js} +26 -26
- package/dist/chunks/{workspace-r4ck78gy.js → bus-06176jfj.js} +9 -9
- package/dist/chunks/{workspace-k97dz2de.js → bus-0ectkb14.js} +11 -11
- package/dist/chunks/{workspace-9wjcjbgb.js → bus-0em17d49.js} +6 -6
- package/dist/chunks/{workspace-9z7m8h5t.js → bus-0hm4tbfh.js} +27 -27
- package/dist/chunks/{workspace-0ma9gw4f.js → bus-0ma9gw4f.js} +2 -2
- package/dist/chunks/{workspace-598a2sf2.js → bus-0n2a1qk2.js} +19 -19
- package/dist/chunks/{workspace-brpyjdqe.js → bus-151fqda0.js} +31 -31
- package/dist/chunks/{workspace-stybskzm.js → bus-16scm4ef.js} +5 -5
- package/dist/chunks/{workspace-x449xwqz.js → bus-16wq0j6y.js} +52 -52
- package/dist/chunks/{workspace-4e1tqqbe.js → bus-198m81bp.js} +40 -40
- package/dist/chunks/{workspace-1aqsckx4.js → bus-1aqsckx4.js} +1 -1
- package/dist/chunks/{workspace-74x45bv1.js → bus-1n53kyqe.js} +16 -16
- package/dist/chunks/{workspace-5618vcn8.js → bus-1pa0bq3j.js} +3 -3
- package/dist/chunks/{workspace-2g4hvwna.js → bus-1rdwhyj0.js} +30 -30
- package/dist/chunks/{workspace-msd2a3qm.js → bus-1v2g13eq.js} +4 -4
- package/dist/chunks/{workspace-9qvnmhte.js → bus-1vtvmq53.js} +20 -20
- package/dist/chunks/{workspace-m2wjx6q0.js → bus-1wh2zfrk.js} +3 -3
- package/dist/chunks/{workspace-1x2knyw4.js → bus-1x2knyw4.js} +1 -1
- package/dist/chunks/{workspace-ma9gvec9.js → bus-1ykz8atw.js} +13 -13
- package/dist/chunks/{workspace-1yq9hg58.js → bus-1yq9hg58.js} +1 -1
- package/dist/chunks/{workspace-8b3vzgkx.js → bus-25h84942.js} +4 -4
- package/dist/chunks/{workspace-dnq8553e.js → bus-25hf0acc.js} +26 -26
- package/dist/chunks/{workspace-1ep2p91f.js → bus-27w5k9zf.js} +2 -2
- package/dist/chunks/{workspace-2fc7eemy.js → bus-2fc7eemy.js} +1 -1
- package/dist/chunks/{workspace-3gtxmydm.js → bus-2mbrdm9z.js} +37 -37
- package/dist/chunks/{workspace-serj3vts.js → bus-2mkcm49b.js} +43 -43
- package/dist/chunks/{workspace-2p60zmnr.js → bus-2p60zmnr.js} +2 -2
- package/dist/chunks/{workspace-rdnxe97n.js → bus-2vj8sj7w.js} +12 -12
- package/dist/chunks/{workspace-v08f8bae.js → bus-32gk5by6.js} +18 -18
- package/dist/chunks/{workspace-res4w25d.js → bus-3417wq9v.js} +16 -16
- package/dist/chunks/{workspace-sfamv88v.js → bus-36ysmkbx.js} +43 -43
- package/dist/chunks/{workspace-859w1rtj.js → bus-3adw4bt5.js} +9 -9
- package/dist/chunks/{workspace-4v01986m.js → bus-3bgd5sjx.js} +8 -8
- package/dist/chunks/{workspace-ayjs7tqn.js → bus-3cbjf1nt.js} +2 -2
- package/dist/chunks/{workspace-4d93v9kz.js → bus-3g4ta2mf.js} +20 -20
- package/dist/chunks/{workspace-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
- package/dist/chunks/{workspace-tmc7xdjs.js → bus-3nnrz6f6.js} +4 -4
- package/dist/chunks/{workspace-c0df41yj.js → bus-3sa3aw4f.js} +4 -4
- package/dist/chunks/{workspace-40y6dtc2.js → bus-40y6dtc2.js} +1 -1
- package/dist/chunks/{workspace-w2eysc6j.js → bus-40za9wsf.js} +9 -9
- package/dist/chunks/{workspace-44pmzq9c.js → bus-44pmzq9c.js} +2 -2
- package/dist/chunks/{workspace-tet8ratn.js → bus-48rr5x9q.js} +33 -33
- package/dist/chunks/{workspace-tt91mykf.js → bus-4ccyxzpx.js} +12 -12
- package/dist/chunks/{workspace-4dx1dgte.js → bus-4dx1dgte.js} +1 -1
- package/dist/chunks/{workspace-4f25tdd0.js → bus-4f25tdd0.js} +1 -1
- package/dist/chunks/{workspace-b5bw7g94.js → bus-4fbn38qv.js} +22 -22
- package/dist/chunks/{workspace-4pyp9zr9.js → bus-4pyp9zr9.js} +1 -1
- package/dist/chunks/{workspace-4v008n1t.js → bus-4v008n1t.js} +1 -1
- package/dist/chunks/{workspace-cb11h7rh.js → bus-4x5z0db1.js} +5 -5
- package/dist/chunks/{workspace-25h9cy8f.js → bus-4xyjnezy.js} +8 -8
- package/dist/chunks/{workspace-2y8q1569.js → bus-4zcepfyr.js} +4 -4
- package/dist/chunks/{workspace-vq5ktqnp.js → bus-50pah8qy.js} +29 -29
- package/dist/chunks/{workspace-cdxvzye2.js → bus-54t61653.js} +10 -10
- package/dist/chunks/{workspace-tsbzkan4.js → bus-556k5691.js} +18 -18
- package/dist/chunks/{workspace-z6ggcv4j.js → bus-56p6knmh.js} +25 -25
- package/dist/chunks/{workspace-rtbk02r0.js → bus-581b71gv.js} +11 -11
- package/dist/chunks/{workspace-71jx2zh9.js → bus-5dysszqg.js} +33 -33
- package/dist/chunks/{workspace-x26g66pj.js → bus-5fk6rhyy.js} +6 -6
- package/dist/chunks/{workspace-xjfsy72k.js → bus-5h95z62t.js} +39 -39
- package/dist/chunks/{workspace-5m9w47nd.js → bus-5m9w47nd.js} +1 -1
- package/dist/chunks/{workspace-p440r897.js → bus-5qtzhdys.js} +16 -16
- package/dist/chunks/{workspace-6kfvc88n.js → bus-5t8he5w1.js} +5 -5
- package/dist/chunks/{workspace-5whx36p1.js → bus-5whx36p1.js} +1 -1
- package/dist/chunks/{workspace-wgcy5ye5.js → bus-63ctbp5a.js} +16 -16
- package/dist/chunks/{workspace-tpxy298n.js → bus-658w8b62.js} +40 -40
- package/dist/chunks/{workspace-a3fn0gmm.js → bus-6cfzbdsr.js} +2 -2
- package/dist/chunks/{workspace-hrpg1pdd.js → bus-6cqkw5v2.js} +5 -5
- package/dist/chunks/{workspace-9f3jsh1d.js → bus-6h8vcvjm.js} +9 -9
- package/dist/chunks/{workspace-z7y810kk.js → bus-6ma32zzk.js} +2 -2
- package/dist/chunks/{workspace-2z817b9w.js → bus-6nh09x13.js} +17 -17
- package/dist/chunks/{workspace-34eceh7a.js → bus-6v88d4ef.js} +2 -2
- package/dist/chunks/{workspace-7pg86t1t.js → bus-6wq2d2af.js} +33 -33
- package/dist/chunks/{workspace-694y1dy8.js → bus-6xp52zax.js} +23 -23
- package/dist/chunks/{workspace-agje4kmn.js → bus-6y2b864j.js} +4 -4
- package/dist/chunks/{workspace-jgcas92x.js → bus-72db5z1x.js} +8 -8
- package/dist/chunks/{workspace-fzc9baxt.js → bus-73zbh47y.js} +21 -21
- package/dist/chunks/{workspace-ctqn5xr2.js → bus-74v5ckbq.js} +59 -59
- package/dist/chunks/{workspace-yzj6na13.js → bus-79essn6v.js} +15 -15
- package/dist/chunks/{workspace-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
- package/dist/chunks/{workspace-a1ytbjbv.js → bus-7bqqe1yk.js} +87 -87
- package/dist/chunks/{workspace-jcq84z9d.js → bus-7h63c6pd.js} +24 -24
- package/dist/chunks/{workspace-xsk74dna.js → bus-7j5p66f9.js} +15 -15
- package/dist/chunks/{workspace-kh53kjvg.js → bus-7j9nqbx0.js} +32 -32
- package/dist/chunks/{workspace-7w2ypzdf.js → bus-7w2ypzdf.js} +1 -1
- package/dist/chunks/{workspace-7weczvnd.js → bus-7weczvnd.js} +1 -1
- package/dist/chunks/{workspace-q05kpyda.js → bus-801676je.js} +170 -170
- package/dist/chunks/{workspace-jxbvx59w.js → bus-801bk1qd.js} +41 -41
- package/dist/chunks/{workspace-80mg3ag8.js → bus-80mg3ag8.js} +3 -3
- package/dist/chunks/{workspace-80pdk984.js → bus-80pdk984.js} +1 -1
- package/dist/chunks/{workspace-85jq8dht.js → bus-85jq8dht.js} +1 -1
- package/dist/chunks/{workspace-r599gh2z.js → bus-8aatcdpk.js} +4 -4
- package/dist/chunks/{workspace-nggsj8ja.js → bus-8brp5tjd.js} +2 -2
- package/dist/chunks/{workspace-5sbm6tnp.js → bus-8c3892rt.js} +7 -7
- package/dist/chunks/{workspace-2merx6cy.js → bus-8cg9c955.js} +11 -11
- package/dist/chunks/{workspace-h9xvjfqn.js → bus-8es3pha2.js} +11 -11
- package/dist/chunks/{workspace-vgf4z6ys.js → bus-8v1093m8.js} +12 -12
- package/dist/chunks/{workspace-aecmbawk.js → bus-8vfsrj74.js} +23 -23
- package/dist/chunks/{workspace-8wtp7s3z.js → bus-8wtp7s3z.js} +1 -1
- package/dist/chunks/{workspace-5azf7efg.js → bus-8x6444sg.js} +18 -18
- package/dist/chunks/{workspace-mb7mbhnz.js → bus-8z6m94af.js} +3 -3
- package/dist/chunks/{workspace-8zv0xmg5.js → bus-8zv0xmg5.js} +1 -1
- package/dist/chunks/{workspace-hn4qxmk3.js → bus-928yv3s6.js} +11 -11
- package/dist/chunks/{workspace-4vzr2b15.js → bus-94e33dpz.js} +3 -3
- package/dist/chunks/{workspace-963hk181.js → bus-963hk181.js} +2 -2
- package/dist/chunks/{workspace-nma40609.js → bus-9ax4h32b.js} +26 -26
- package/dist/chunks/{workspace-s22zvc49.js → bus-9dmyw2j4.js} +10 -10
- package/dist/chunks/{workspace-e29emhj5.js → bus-9etdqcxj.js} +18 -18
- package/dist/chunks/{workspace-dhsyh00d.js → bus-9gxaxr59.js} +45 -45
- package/dist/chunks/{workspace-00tw5qc0.js → bus-9h2twn7g.js} +14 -14
- package/dist/chunks/{workspace-hggwr7g8.js → bus-9hr42dse.js} +9 -9
- package/dist/chunks/{workspace-mrnsy1sb.js → bus-9j8b0v77.js} +13 -13
- package/dist/chunks/{workspace-41hgxd3n.js → bus-9jj0wnay.js} +16 -16
- package/dist/chunks/{workspace-9rqfe4ad.js → bus-9rqfe4ad.js} +1 -1
- package/dist/chunks/{workspace-w4xw9ac5.js → bus-9sk33afj.js} +6 -6
- package/dist/chunks/{workspace-034tev2y.js → bus-aj7mw0zk.js} +2 -2
- package/dist/chunks/{workspace-x8wd2r05.js → bus-aqwkm5ba.js} +12 -12
- package/dist/chunks/{workspace-62kjwa3q.js → bus-av2rnfm3.js} +37 -37
- package/dist/chunks/{workspace-cmwbrth2.js → bus-b1dp4yt3.js} +77 -77
- package/dist/chunks/{workspace-b26ddj6h.js → bus-b26ddj6h.js} +4 -4
- package/dist/chunks/{workspace-bh6934t1.js → bus-b6n3k85m.js} +17 -17
- package/dist/chunks/{workspace-8sxe6kv8.js → bus-bb3mmwvh.js} +2 -2
- package/dist/chunks/{workspace-xc664b6w.js → bus-bra5p0kf.js} +40 -40
- package/dist/chunks/{workspace-8fjs3r6w.js → bus-bwtkx0y7.js} +12 -12
- package/dist/chunks/{workspace-06hfc2zm.js → bus-bza6pfvq.js} +3 -3
- package/dist/chunks/{workspace-rbh1nbw6.js → bus-c2ks2kp5.js} +4 -4
- package/dist/chunks/{workspace-f1ta10aj.js → bus-c8cdzs4e.js} +41 -41
- package/dist/chunks/{workspace-bqfp32qw.js → bus-ccsg3nm8.js} +15 -15
- package/dist/chunks/{workspace-4wjkxzaf.js → bus-cdbp2khs.js} +11 -11
- package/dist/chunks/{workspace-mfme2p3f.js → bus-cftr61h9.js} +76 -76
- package/dist/chunks/{workspace-vg3zfqzq.js → bus-cp4x1195.js} +12 -12
- package/dist/chunks/{workspace-etp2nyx7.js → bus-cqt8w9dp.js} +21 -21
- package/dist/chunks/{workspace-cwrgdav8.js → bus-cwrgdav8.js} +2 -2
- package/dist/chunks/{workspace-sndvtvh7.js → bus-d45mbdg7.js} +12 -12
- package/dist/chunks/{workspace-d4v9tmah.js → bus-d4v9tmah.js} +2 -2
- package/dist/chunks/{workspace-72sb0qx7.js → bus-d52ays1g.js} +4 -4
- package/dist/chunks/{workspace-b6fks4eb.js → bus-d61yjsrc.js} +24 -24
- package/dist/chunks/bus-d6mjcrv9.js +26 -0
- package/dist/chunks/{workspace-9dm5ycx5.js → bus-d8razpqw.js} +16 -16
- package/dist/chunks/{workspace-8fjjqcvw.js → bus-d95zeqcs.js} +34 -34
- package/dist/chunks/{workspace-da7vv5qs.js → bus-d9htjgdm.js} +17 -17
- package/dist/chunks/{workspace-nk8ra572.js → bus-db70zt1b.js} +18 -18
- package/dist/chunks/{workspace-ncbjb39v.js → bus-dcxs0b6s.js} +25 -25
- package/dist/chunks/{workspace-78s6qfrs.js → bus-dn0a84zb.js} +33 -33
- package/dist/chunks/{workspace-s05hbgh9.js → bus-dshtyjtw.js} +15 -15
- package/dist/chunks/{workspace-dt77769w.js → bus-dt77769w.js} +1 -1
- package/dist/chunks/{workspace-27mf3p81.js → bus-dvh91sh2.js} +9 -9
- package/dist/chunks/{workspace-73e0dtrh.js → bus-dzxny3rz.js} +5 -5
- package/dist/chunks/{workspace-syazfkbr.js → bus-dzymtfjj.js} +25 -25
- package/dist/chunks/{workspace-2shrqbn8.js → bus-e2hn6m9v.js} +13 -13
- package/dist/chunks/{workspace-9wkfvd86.js → bus-e9rgj90c.js} +5 -5
- package/dist/chunks/{workspace-p43pvj3x.js → bus-ebf8vqhv.js} +42 -42
- package/dist/chunks/{workspace-ht9qex5w.js → bus-eca0ka8c.js} +7 -7
- package/dist/chunks/{workspace-4krr2nde.js → bus-ecn0hng3.js} +3 -3
- package/dist/chunks/{workspace-h39ntvfa.js → bus-ek8sxpxj.js} +8 -8
- package/dist/chunks/{workspace-m4yj4656.js → bus-ekb1srkm.js} +8 -8
- package/dist/chunks/{workspace-kan1xajj.js → bus-emgta0qf.js} +51 -51
- package/dist/chunks/{workspace-00884c5c.js → bus-ep4f328x.js} +36 -36
- package/dist/chunks/{workspace-eqw4pqj1.js → bus-eqw4pqj1.js} +2 -2
- package/dist/chunks/{workspace-p2y69mfz.js → bus-ewjc12ba.js} +21 -21
- package/dist/chunks/{workspace-49hgasep.js → bus-ey7q2a1x.js} +7 -7
- package/dist/chunks/{workspace-pty7ddkk.js → bus-eywx1qkn.js} +13 -13
- package/dist/chunks/{workspace-51khm69f.js → bus-ez6t7bp1.js} +27 -27
- package/dist/chunks/{workspace-j7r5vxqc.js → bus-f0yx1d0v.js} +13 -13
- package/dist/chunks/{workspace-wcsde1k8.js → bus-f1estfch.js} +17 -17
- package/dist/chunks/{workspace-22fm032a.js → bus-f428d6bc.js} +36 -36
- package/dist/chunks/{workspace-ner56pww.js → bus-f8b6mfmk.js} +40 -40
- package/dist/chunks/{workspace-p191jbjh.js → bus-fcgtcm52.js} +8 -8
- package/dist/chunks/{workspace-0n720z3p.js → bus-ffw8jmjk.js} +5 -5
- package/dist/chunks/{workspace-fg9p65nk.js → bus-fg9p65nk.js} +2 -2
- package/dist/chunks/bus-ftnqgna6.js +273 -0
- package/dist/chunks/{workspace-24h02a6m.js → bus-gb1hs61z.js} +17 -17
- package/dist/chunks/{workspace-gbjdnr5j.js → bus-gbjdnr5j.js} +2 -2
- package/dist/chunks/{workspace-gwyytpcj.js → bus-ggx84v7x.js} +3 -3
- package/dist/chunks/{workspace-ghrv1g9c.js → bus-ghrv1g9c.js} +1 -1
- package/dist/chunks/{workspace-qbyvray2.js → bus-gvjzqshq.js} +37 -37
- package/dist/chunks/{workspace-a1tswj55.js → bus-gvvef5k8.js} +12 -12
- package/dist/chunks/{workspace-tg7s7b5t.js → bus-gxs71cxp.js} +4 -4
- package/dist/chunks/{workspace-h5m2cdyb.js → bus-h51tqxww.js} +362 -362
- package/dist/chunks/{workspace-2cdz0hxw.js → bus-h53ewaq3.js} +13 -13
- package/dist/chunks/{workspace-b8y2jd3x.js → bus-h5rm7hp5.js} +21 -21
- package/dist/chunks/{workspace-kpd6fkkz.js → bus-h6x9tj8n.js} +5 -5
- package/dist/chunks/bus-h8zsr8hw.js +35 -0
- package/dist/chunks/{workspace-zh4hvapz.js → bus-hdafr18b.js} +6 -6
- package/dist/chunks/{workspace-hgzwgvze.js → bus-hgzwgvze.js} +2 -2
- package/dist/chunks/{workspace-7nb8tm12.js → bus-hj0xet7m.js} +5 -5
- package/dist/chunks/{workspace-e1qt2fr5.js → bus-hky59wx7.js} +19 -19
- package/dist/chunks/{workspace-aedwt843.js → bus-hy8c1z76.js} +8 -8
- package/dist/chunks/{workspace-skc22c6z.js → bus-j079p4r2.js} +16 -16
- package/dist/chunks/{workspace-520zv1z0.js → bus-j7vr9qw7.js} +3 -3
- package/dist/chunks/{workspace-55edmcdq.js → bus-j98by1g6.js} +31 -31
- package/dist/chunks/{workspace-vs7eet1f.js → bus-j9h7e5k3.js} +14 -14
- package/dist/chunks/{workspace-wfdx5ztx.js → bus-jg11hrrc.js} +4 -4
- package/dist/chunks/{workspace-vmxsyvj6.js → bus-jkdcm5hg.js} +4 -4
- package/dist/chunks/{workspace-jm70asfg.js → bus-jm70asfg.js} +1 -1
- package/dist/chunks/{workspace-hf9m9cmn.js → bus-jqnjqztd.js} +19 -19
- package/dist/chunks/{workspace-pwt4cxzm.js → bus-jxprk461.js} +25 -25
- package/dist/chunks/{workspace-gf4twwwe.js → bus-k2eg62ex.js} +16 -14
- package/dist/chunks/{workspace-fxpbvz8b.js → bus-k48z3nds.js} +12 -12
- package/dist/chunks/{workspace-4pc8k6ps.js → bus-k5yce6v3.js} +10 -10
- package/dist/chunks/bus-k62y2wy8.js +18 -0
- package/dist/chunks/{workspace-d7ghtrxv.js → bus-k8thje4j.js} +8 -8
- package/dist/chunks/{workspace-9kqkq9ey.js → bus-k8yah48n.js} +8 -8
- package/dist/chunks/{workspace-mwvy6k0c.js → bus-kp3zbcyf.js} +18 -18
- package/dist/chunks/{workspace-kt3bjfbg.js → bus-kt3bjfbg.js} +1 -1
- package/dist/chunks/{workspace-xtyxcf1m.js → bus-kxzeq1qr.js} +14 -14
- package/dist/chunks/{workspace-751vknd9.js → bus-kz3t0brc.js} +11 -11
- package/dist/chunks/{workspace-kzczzf4v.js → bus-kzczzf4v.js} +1 -1
- package/dist/chunks/{workspace-6edbc7zm.js → bus-kzdam8c6.js} +4 -4
- package/dist/chunks/{workspace-6km18sfr.js → bus-m0yma98g.js} +5 -5
- package/dist/chunks/{workspace-m1714858.js → bus-m1714858.js} +1 -1
- package/dist/chunks/{workspace-xfk79g22.js → bus-m1h42yqa.js} +11 -11
- package/dist/chunks/{workspace-f927gtrb.js → bus-m2nt66af.js} +21 -21
- package/dist/chunks/{workspace-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
- package/dist/chunks/{workspace-9j9hzbb5.js → bus-mf67fygn.js} +4 -4
- package/dist/chunks/{workspace-srt9fcc5.js → bus-mfcfh2mw.js} +29 -29
- package/dist/chunks/{workspace-qysx7kqw.js → bus-mjj4mtkf.js} +25 -25
- package/dist/chunks/{workspace-mf63ygpr.js → bus-mmx1mfjr.js} +4 -4
- package/dist/chunks/{workspace-cbabmgan.js → bus-n2qpmnf7.js} +25 -25
- package/dist/chunks/{workspace-n320gsn2.js → bus-n320gsn2.js} +1 -1
- package/dist/chunks/{workspace-2c7rmx2w.js → bus-n8yxtff3.js} +27 -27
- package/dist/chunks/{workspace-6mmwetw0.js → bus-n8zbz3r6.js} +35 -35
- package/dist/chunks/{workspace-76atc448.js → bus-nbxakk53.js} +26 -26
- package/dist/chunks/{workspace-0gpzbbmj.js → bus-nd6558ke.js} +30 -30
- package/dist/chunks/{workspace-bh40pkda.js → bus-ng6a0rc6.js} +29 -29
- package/dist/chunks/{workspace-sbzezcpx.js → bus-nkzb5f1v.js} +8 -8
- package/dist/chunks/{workspace-rbwyy842.js → bus-npmkbx31.js} +7 -7
- package/dist/chunks/{workspace-twhmf8m6.js → bus-nprzpnkx.js} +7 -7
- package/dist/chunks/{workspace-qfz6bxfd.js → bus-nr915jn7.js} +4 -4
- package/dist/chunks/{workspace-9nkjg9qd.js → bus-nv9tsjma.js} +6 -6
- package/dist/chunks/{workspace-wegkxhrn.js → bus-nx4vzyjd.js} +2 -2
- package/dist/chunks/{workspace-8bjrjs1n.js → bus-nyc4jwvb.js} +4 -4
- package/dist/chunks/{workspace-c6x7d2ts.js → bus-p0tsr9h6.js} +4 -4
- package/dist/chunks/{workspace-qpb35ste.js → bus-p3wvg938.js} +12 -12
- package/dist/chunks/{workspace-yqx33qse.js → bus-p6camsqx.js} +5 -5
- package/dist/chunks/{workspace-yqveydy6.js → bus-p76me67c.js} +4 -4
- package/dist/chunks/{workspace-t62dywgn.js → bus-p94p4v4n.js} +4 -4
- package/dist/chunks/{workspace-pknna89w.js → bus-pknna89w.js} +1 -1
- package/dist/chunks/{workspace-q42tzrxa.js → bus-q42tzrxa.js} +1 -1
- package/dist/chunks/{workspace-xkaydag2.js → bus-q5880n4k.js} +22 -22
- package/dist/chunks/{workspace-wpevp5sd.js → bus-q6qcva9p.js} +30 -30
- package/dist/chunks/{workspace-59qf6w8q.js → bus-q9qpc1pg.js} +3 -3
- package/dist/chunks/{workspace-8nk240wm.js → bus-qe8jh99s.js} +19 -19
- package/dist/chunks/{workspace-rh0qb0sj.js → bus-qf1gd9f9.js} +26 -26
- package/dist/chunks/{workspace-q6n41c1v.js → bus-qkba2c8n.js} +18 -18
- package/dist/chunks/{workspace-qp7r0hxv.js → bus-qp7r0hxv.js} +1 -1
- package/dist/chunks/{workspace-nc0bh77k.js → bus-qrfb6w5q.js} +13 -13
- package/dist/chunks/{workspace-7spdfq8c.js → bus-qsvk5dwx.js} +15 -15
- package/dist/chunks/{workspace-xacrkbdt.js → bus-r17fbvme.js} +4 -4
- package/dist/chunks/{workspace-ktjdgvwb.js → bus-r2r9xwmr.js} +29 -29
- package/dist/chunks/{workspace-5ga3qt8n.js → bus-r32r7z8r.js} +6 -6
- package/dist/chunks/{workspace-4ygb74tw.js → bus-r7xar5ns.js} +8 -8
- package/dist/chunks/{workspace-rb9dy4dg.js → bus-rb9dy4dg.js} +1 -1
- package/dist/chunks/{workspace-zc7vahjk.js → bus-rd033cwh.js} +40 -40
- package/dist/chunks/{workspace-rgc9cx3e.js → bus-rgc9cx3e.js} +2 -2
- package/dist/chunks/{workspace-ge0ya7h8.js → bus-rh7s0vh6.js} +22 -22
- package/dist/chunks/{workspace-px7qpgcn.js → bus-rj7j5fvs.js} +4 -4
- package/dist/chunks/{workspace-y3drsnph.js → bus-rkwzs9pn.js} +22 -22
- package/dist/chunks/{workspace-zk4m0wc5.js → bus-rnypq4p5.js} +28 -28
- package/dist/chunks/{workspace-530xg6vw.js → bus-rp82cnfd.js} +3 -3
- package/dist/chunks/{workspace-agy7b3sy.js → bus-rrym2d7k.js} +9 -9
- package/dist/chunks/{workspace-1q451vc1.js → bus-rtyb78q8.js} +17 -17
- package/dist/chunks/{workspace-6vpwybh1.js → bus-rwkapwv8.js} +15 -15
- package/dist/chunks/{workspace-xmfbe4bd.js → bus-s07mf38c.js} +17 -17
- package/dist/chunks/{workspace-2qe45pye.js → bus-s4pad48m.js} +3 -3
- package/dist/chunks/{workspace-za1h6cmh.js → bus-s818qefp.js} +5 -5
- package/dist/chunks/{workspace-afvmwxsa.js → bus-s8zkkj71.js} +14 -14
- package/dist/chunks/{workspace-sbya78hr.js → bus-sbya78hr.js} +1 -1
- package/dist/chunks/{workspace-jv5ccajn.js → bus-scmk72rv.js} +5 -5
- package/dist/chunks/{workspace-hvwpt1mk.js → bus-snyk3k0k.js} +30 -30
- package/dist/chunks/{workspace-0j7gp832.js → bus-sqjzf8x2.js} +4 -4
- package/dist/chunks/{workspace-svcy3p9a.js → bus-svcy3p9a.js} +1 -1
- package/dist/chunks/{workspace-rht8amak.js → bus-t3cgs4x0.js} +11 -11
- package/dist/chunks/{workspace-tpxq49sd.js → bus-t6f09pg1.js} +4 -4
- package/dist/chunks/{workspace-qqdmrqfx.js → bus-t8jzx9s4.js} +8 -8
- package/dist/chunks/{workspace-8v3h3pkr.js → bus-t9b3vnwe.js} +8 -8
- package/dist/chunks/{workspace-26wfx3k0.js → bus-tb2mrvc9.js} +4 -4
- package/dist/chunks/{workspace-tbpn7jtk.js → bus-tbpn7jtk.js} +1 -1
- package/dist/chunks/{workspace-tczq8hjw.js → bus-tczq8hjw.js} +1 -1
- package/dist/chunks/{workspace-2n444ktb.js → bus-tdnhqmff.js} +3 -3
- package/dist/chunks/{workspace-6tc549z2.js → bus-tncgfpd3.js} +13 -13
- package/dist/chunks/{workspace-tr8x705m.js → bus-tr8x705m.js} +1 -1
- package/dist/chunks/{workspace-h80ecpt5.js → bus-ts77hb5k.js} +19 -19
- package/dist/chunks/{workspace-ynwsyvmh.js → bus-tse6wty1.js} +8 -8
- package/dist/chunks/{workspace-xypfb8jg.js → bus-ttm4wxh5.js} +9 -9
- package/dist/chunks/{workspace-tvtps2q9.js → bus-tvtps2q9.js} +1 -1
- package/dist/chunks/{workspace-twssxy5n.js → bus-twssxy5n.js} +2 -2
- package/dist/chunks/{workspace-sccyzqgr.js → bus-v14nhabx.js} +6 -6
- package/dist/chunks/{workspace-v2r1d0zg.js → bus-v2r1d0zg.js} +1 -1
- package/dist/chunks/{workspace-w5vb9bn8.js → bus-v3rt7ekk.js} +4 -4
- package/dist/chunks/{workspace-sesyp2g9.js → bus-vdrdgm3z.js} +6 -6
- package/dist/chunks/{workspace-4sv1z4wq.js → bus-vfm7pq2k.js} +12 -12
- package/dist/chunks/{workspace-vjf35v1f.js → bus-vjf35v1f.js} +1 -1
- package/dist/chunks/{workspace-61prxpw3.js → bus-vre17ymf.js} +9 -9
- package/dist/chunks/{workspace-k33wsh8d.js → bus-vzwcg5h4.js} +3 -3
- package/dist/chunks/{workspace-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
- package/dist/chunks/{workspace-5fhr4sz1.js → bus-w9bwac65.js} +29 -29
- package/dist/chunks/{workspace-wakvkjy4.js → bus-wakvkjy4.js} +1 -1
- package/dist/chunks/{workspace-g175b8z9.js → bus-wc7kbwdp.js} +12 -12
- package/dist/chunks/{workspace-wd87259q.js → bus-wd87259q.js} +1 -1
- package/dist/chunks/{workspace-jjx6aha5.js → bus-wgvnftve.js} +8 -8
- package/dist/chunks/{workspace-p7tz0n1m.js → bus-wnbdv4gz.js} +35 -35
- package/dist/chunks/{workspace-w687dnns.js → bus-wr3re1en.js} +4 -4
- package/dist/chunks/{workspace-wt99tj4q.js → bus-wt99tj4q.js} +2 -2
- package/dist/chunks/{workspace-aj4f24z5.js → bus-x10rxyj2.js} +1 -1
- package/dist/chunks/{workspace-9cvebhsv.js → bus-x666adrx.js} +12 -12
- package/dist/chunks/{workspace-y455wd3s.js → bus-xacpxd3g.js} +21 -21
- package/dist/chunks/{workspace-0aqgkge0.js → bus-xd081837.js} +24 -24
- package/dist/chunks/{workspace-bstexjd6.js → bus-xd9cc171.js} +5 -5
- package/dist/chunks/{workspace-xxschbft.js → bus-xjr6c8m4.js} +4 -4
- package/dist/chunks/{workspace-67wwskyb.js → bus-xksw6ev0.js} +4 -4
- package/dist/chunks/{workspace-cxrpq2vw.js → bus-xp0aamge.js} +3 -3
- package/dist/chunks/{workspace-sha8wjrn.js → bus-xsvz6nty.js} +32 -32
- package/dist/chunks/{workspace-1qbjy8pk.js → bus-xtvxmv3z.js} +8 -8
- package/dist/chunks/{workspace-snh4mdm1.js → bus-xtyctmh1.js} +14 -14
- package/dist/chunks/{workspace-444r3w2c.js → bus-xwbhve7h.js} +7 -7
- package/dist/chunks/{workspace-e8pm465n.js → bus-y4n6pw34.js} +4 -4
- package/dist/chunks/{workspace-pn22hexz.js → bus-y645zrem.js} +11 -11
- package/dist/chunks/{workspace-yb20nhc3.js → bus-yb20nhc3.js} +1 -1
- package/dist/chunks/{workspace-me215f18.js → bus-yd8wpznk.js} +1 -1
- package/dist/chunks/{workspace-yr705xyq.js → bus-yr705xyq.js} +1 -1
- package/dist/chunks/{workspace-nbg8wmvj.js → bus-yrffr8qq.js} +11 -11
- package/dist/chunks/{workspace-daaa7x5w.js → bus-yt92m3sf.js} +11 -11
- package/dist/chunks/{workspace-yvtc2x31.js → bus-yvtc2x31.js} +1 -1
- package/dist/chunks/{workspace-kej1jtpy.js → bus-ywkrtdyp.js} +1 -1
- package/dist/chunks/{workspace-zk3m7qs8.js → bus-yzd8fzv9.js} +21 -21
- package/dist/chunks/{workspace-anvcme1c.js → bus-z080rjh6.js} +4 -4
- package/dist/chunks/{workspace-p82nen0h.js → bus-z18wgake.js} +5 -5
- package/dist/chunks/{workspace-2vch0phr.js → bus-z5geynz5.js} +45 -45
- package/dist/chunks/{workspace-1rpp84ap.js → bus-z7df3a7e.js} +3 -3
- package/dist/chunks/{workspace-z6nad2b9.js → bus-zcgyh6pc.js} +19 -19
- package/dist/chunks/{workspace-wzksmcjn.js → bus-zd2c73rd.js} +12 -12
- package/dist/chunks/{workspace-ze75qvmd.js → bus-ze75qvmd.js} +3 -3
- package/dist/chunks/{workspace-23r89wcg.js → bus-zk5ckyvg.js} +11 -11
- package/dist/chunks/{workspace-aqczazaa.js → bus-zkbhzvnx.js} +4 -4
- package/dist/chunks/{workspace-zpdbqgja.js → bus-zpdbqgja.js} +1 -1
- package/dist/chunks/{workspace-d3tnx52b.js → bus-zyaj2qhk.js} +14 -14
- package/dist/chunks/{workspace-efxjnt5q.js → bus-zymv40sd.js} +34 -34
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +148 -148
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +155 -155
- package/dist/command.js +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 +241 -240
- package/dist/config/plugin/compaction.js +173 -173
- package/dist/config/plugin/compatibility.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +130 -130
- package/dist/config/plugin/mcp.js +145 -145
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +132 -132
- package/dist/config/plugin/skill-file.js +149 -149
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +156 -156
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +134 -134
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +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 +88 -88
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +77 -77
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +76 -76
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/v1-migration.bun.js +98 -98
- package/dist/effect/app-node-builder.js +441 -441
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +107 -107
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +85 -85
- package/dist/file-access.js +160 -160
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +164 -164
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/file-watch.js +91 -91
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +252 -251
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +113 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +116 -116
- package/dist/flag.js +133 -133
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +100 -100
- package/dist/generate.js +120 -120
- package/dist/git.js +11 -11
- package/dist/github-copilot/models.js +112 -112
- package/dist/image/notice.js +3 -3
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +432 -432
- package/dist/instruction-discovery.js +95 -95
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +92 -92
- package/dist/job/list.js +5 -5
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +185 -185
- package/dist/location-lifecycle.js +153 -153
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +429 -429
- package/dist/location.js +94 -94
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +158 -158
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/index.js +122 -122
- package/dist/mcp/instructions.js +187 -187
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/pool.js +110 -110
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +157 -157
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +112 -112
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +115 -115
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +121 -121
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +91 -91
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +156 -156
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +101 -101
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +87 -87
- package/dist/plugin/command.js +119 -119
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +245 -244
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +408 -408
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +149 -149
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +106 -106
- package/dist/plugin/provider/azure.js +133 -133
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +133 -133
- package/dist/plugin/provider/claude-agent/aisdk.js +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 +1 -1
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +148 -148
- package/dist/plugin/provider/claude-agent/instructions.js +110 -110
- 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 +3 -3
- 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 +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
- package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +109 -109
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +111 -111
- package/dist/plugin/provider/gitlab.js +109 -109
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +140 -140
- package/dist/plugin/provider/local.js +137 -137
- package/dist/plugin/provider/modal.js +108 -108
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +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-watches.js +4 -4
- package/dist/plugin/provider/opencode.js +161 -161
- 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 +138 -138
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +239 -239
- 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 +418 -418
- 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 +6 -6
- 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 +254 -253
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +93 -93
- package/dist/provider.js +112 -112
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +99 -99
- 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 +250 -249
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +258 -257
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +132 -132
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +171 -171
- package/dist/session/context.js +205 -205
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +255 -254
- package/dist/session/execution.js +169 -169
- package/dist/session/generate.js +205 -204
- package/dist/session/history.js +139 -139
- package/dist/session/inbox.js +150 -150
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +90 -90
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +144 -144
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +171 -171
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +171 -171
- package/dist/session/projector.js +146 -146
- package/dist/session/prompt.js +151 -151
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +142 -142
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +258 -258
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +153 -153
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +164 -164
- package/dist/session/runner/to-llm-message.js +140 -140
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +186 -186
- package/dist/session/shell.js +145 -145
- package/dist/session/skill.js +152 -152
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +145 -145
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +3 -3
- package/dist/session/subagent-job.js +238 -237
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +209 -209
- package/dist/session/to-session-error.js +152 -152
- package/dist/session/transfer.js +248 -247
- package/dist/session/usage.js +1 -1
- package/dist/session.js +242 -241
- package/dist/shared-cache.js +5 -5
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +145 -145
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +154 -154
- package/dist/skill.js +161 -161
- 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 +186 -186
- package/dist/tool/plugin/artifact.js +237 -236
- package/dist/tool/plugin/edit.js +170 -170
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +174 -174
- package/dist/tool/plugin/grep.js +173 -173
- package/dist/tool/plugin/image-generate.js +244 -243
- package/dist/tool/plugin/mcp-resource.js +169 -169
- package/dist/tool/plugin/opencode.js +166 -166
- package/dist/tool/plugin/patch.js +171 -171
- package/dist/tool/plugin/question.js +149 -149
- package/dist/tool/plugin/read.js +175 -175
- package/dist/tool/plugin/schedule.js +256 -255
- package/dist/tool/plugin/shell.js +244 -243
- package/dist/tool/plugin/skill.js +158 -158
- package/dist/tool/plugin/subagent.js +243 -242
- package/dist/tool/plugin/todo.js +156 -156
- package/dist/tool/plugin/webfetch.js +160 -160
- package/dist/tool/plugin/websearch.js +158 -158
- package/dist/tool/plugin/write.js +171 -171
- package/dist/tool/read-filesystem.js +112 -112
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +163 -163
- package/dist/types/session/generate.d.ts +10 -2
- package/dist/types/session.d.ts +1 -1
- package/dist/usage-limits.js +100 -100
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +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 +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +101 -101
- package/dist/websearch.js +93 -93
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +90 -90
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +109 -109
- package/package.json +8 -8
- package/dist/chunks/workspace-dj52zamc.js +0 -273
- package/dist/chunks/workspace-grzehpz7.js +0 -18
- package/dist/chunks/workspace-j5ahpr82.js +0 -26
- package/dist/chunks/workspace-wb5wsb2j.js +0 -35
- /package/dist/chunks/{workspace-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{workspace-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
- /package/dist/chunks/{workspace-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
- /package/dist/chunks/{workspace-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
- /package/dist/chunks/{workspace-1kah00gy.js → bus-1kah00gy.js} +0 -0
- /package/dist/chunks/{workspace-24dcb14g.js → bus-24dcb14g.js} +0 -0
- /package/dist/chunks/{workspace-2710q6r3.js → bus-2710q6r3.js} +0 -0
- /package/dist/chunks/{workspace-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{workspace-359p4xyc.js → bus-359p4xyc.js} +0 -0
- /package/dist/chunks/{workspace-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
- /package/dist/chunks/{workspace-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
- /package/dist/chunks/{workspace-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
- /package/dist/chunks/{workspace-4qk9sjk2.js → bus-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{workspace-53557ph1.js → bus-53557ph1.js} +0 -0
- /package/dist/chunks/{workspace-5w3e23ze.js → bus-5w3e23ze.js} +0 -0
- /package/dist/chunks/{workspace-6agm2x70.js → bus-6agm2x70.js} +0 -0
- /package/dist/chunks/{workspace-6prwharc.js → bus-6prwharc.js} +0 -0
- /package/dist/chunks/{workspace-6q2bdcd1.js → bus-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{workspace-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
- /package/dist/chunks/{workspace-7m9af43g.js → bus-7m9af43g.js} +0 -0
- /package/dist/chunks/{workspace-822emrt2.js → bus-822emrt2.js} +0 -0
- /package/dist/chunks/{workspace-84wd9syh.js → bus-84wd9syh.js} +0 -0
- /package/dist/chunks/{workspace-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
- /package/dist/chunks/{workspace-8n3pysct.js → bus-8n3pysct.js} +0 -0
- /package/dist/chunks/{workspace-8wj87zfr.js → bus-8wj87zfr.js} +0 -0
- /package/dist/chunks/{workspace-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
- /package/dist/chunks/{workspace-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{workspace-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{workspace-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
- /package/dist/chunks/{workspace-beh6qq61.js → bus-beh6qq61.js} +0 -0
- /package/dist/chunks/{workspace-bhmrqjy3.js → bus-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{workspace-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{workspace-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{workspace-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
- /package/dist/chunks/{workspace-cqv5kn06.js → bus-cqv5kn06.js} +0 -0
- /package/dist/chunks/{workspace-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{workspace-d9fn303g.js → bus-d9fn303g.js} +0 -0
- /package/dist/chunks/{workspace-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{workspace-df08tz66.js → bus-df08tz66.js} +0 -0
- /package/dist/chunks/{workspace-dy18nga0.js → bus-dy18nga0.js} +0 -0
- /package/dist/chunks/{workspace-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
- /package/dist/chunks/{workspace-ean2d8b5.js → bus-ean2d8b5.js} +0 -0
- /package/dist/chunks/{workspace-ec1grn59.js → bus-ec1grn59.js} +0 -0
- /package/dist/chunks/{workspace-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
- /package/dist/chunks/{workspace-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
- /package/dist/chunks/{workspace-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{workspace-faypxj3z.js → bus-faypxj3z.js} +0 -0
- /package/dist/chunks/{workspace-fd410y7t.js → bus-fd410y7t.js} +0 -0
- /package/dist/chunks/{workspace-fkpq3x5p.js → bus-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{workspace-g86h250q.js → bus-g86h250q.js} +0 -0
- /package/dist/chunks/{workspace-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
- /package/dist/chunks/{workspace-gftt206x.js → bus-gftt206x.js} +0 -0
- /package/dist/chunks/{workspace-hcxmzztb.js → bus-hcxmzztb.js} +0 -0
- /package/dist/chunks/{workspace-hk9envan.js → bus-hk9envan.js} +0 -0
- /package/dist/chunks/{workspace-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
- /package/dist/chunks/{workspace-jjkms2e6.js → bus-jjkms2e6.js} +0 -0
- /package/dist/chunks/{workspace-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{workspace-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{workspace-jwr30sdr.js → bus-jwr30sdr.js} +0 -0
- /package/dist/chunks/{workspace-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{workspace-m18g726c.js → bus-m18g726c.js} +0 -0
- /package/dist/chunks/{workspace-mp448xyj.js → bus-mp448xyj.js} +0 -0
- /package/dist/chunks/{workspace-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
- /package/dist/chunks/{workspace-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
- /package/dist/chunks/{workspace-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
- /package/dist/chunks/{workspace-nh4v3znn.js → bus-nh4v3znn.js} +0 -0
- /package/dist/chunks/{workspace-njntx4h6.js → bus-njntx4h6.js} +0 -0
- /package/dist/chunks/{workspace-p71gwv9c.js → bus-p71gwv9c.js} +0 -0
- /package/dist/chunks/{workspace-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
- /package/dist/chunks/{workspace-q74kybfr.js → bus-q74kybfr.js} +0 -0
- /package/dist/chunks/{workspace-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
- /package/dist/chunks/{workspace-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
- /package/dist/chunks/{workspace-qg3g05ea.js → bus-qg3g05ea.js} +0 -0
- /package/dist/chunks/{workspace-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
- /package/dist/chunks/{workspace-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{workspace-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{workspace-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
- /package/dist/chunks/{workspace-syrav9an.js → bus-syrav9an.js} +0 -0
- /package/dist/chunks/{workspace-t03h4f5z.js → bus-t03h4f5z.js} +0 -0
- /package/dist/chunks/{workspace-ty7weeps.js → bus-ty7weeps.js} +0 -0
- /package/dist/chunks/{workspace-ve7vex1e.js → bus-ve7vex1e.js} +0 -0
- /package/dist/chunks/{workspace-vtarvj67.js → bus-vtarvj67.js} +0 -0
- /package/dist/chunks/{workspace-w803qqfp.js → bus-w803qqfp.js} +0 -0
- /package/dist/chunks/{workspace-wc3fc9cn.js → bus-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{workspace-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
- /package/dist/chunks/{workspace-wtztk69x.js → bus-wtztk69x.js} +0 -0
- /package/dist/chunks/{workspace-x4th4bpe.js → bus-x4th4bpe.js} +0 -0
- /package/dist/chunks/{workspace-y44na4kk.js → bus-y44na4kk.js} +0 -0
- /package/dist/chunks/{workspace-y8f7s663.js → bus-y8f7s663.js} +0 -0
- /package/dist/chunks/{workspace-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{workspace-z0h12gs8.js → bus-z0h12gs8.js} +0 -0
- /package/dist/chunks/{workspace-z5v4ffb3.js → bus-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{workspace-z9919s4g.js → bus-z9919s4g.js} +0 -0
- /package/dist/chunks/{workspace-zxpyjp51.js → bus-zxpyjp51.js} +0 -0
- /package/dist/chunks/{workspace-zz5vv3aq.js → bus-zz5vv3aq.js} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make29
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make29 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -79,4 +79,4 @@ var make28 = (options) => Effect.gen(function* () {
|
|
|
79
79
|
return { active: Effect.sync(() => new Set(executions.keys())), isActive, run, wake, interrupt, awaitIdle };
|
|
80
80
|
});
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { make29, exports_run_coordinator };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/claude-agent/tools/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
ToolHooks: () => exports_hooks,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make13
|
|
10
10
|
});
|
|
11
|
-
function
|
|
11
|
+
function make13(pending) {
|
|
12
12
|
const before = async (input) => {
|
|
13
13
|
if (input.hook_event_name === "PreToolUse")
|
|
14
14
|
pending.before(input.tool_use_id, input.tool_name);
|
|
@@ -28,4 +28,4 @@ function make11(pending) {
|
|
|
28
28
|
};
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { make13, exports_hooks };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service66
|
|
3
|
+
} from "./bus-9gxaxr59.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service62
|
|
6
|
+
} from "./bus-7h63c6pd.js";
|
|
7
7
|
import {
|
|
8
8
|
Content2,
|
|
9
|
-
|
|
9
|
+
Event6,
|
|
10
10
|
ID7,
|
|
11
|
-
|
|
11
|
+
Info7,
|
|
12
12
|
ProviderID2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service19
|
|
14
|
+
} from "./bus-av2rnfm3.js";
|
|
15
15
|
import {
|
|
16
16
|
observe2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./bus-tvtps2q9.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./bus-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/tool/plugin/artifact.ts
|
|
23
23
|
var exports_artifact = {};
|
|
@@ -25,7 +25,7 @@ __export(exports_artifact, {
|
|
|
25
25
|
ArtifactTools: () => exports_artifact,
|
|
26
26
|
CreateToolInput: () => CreateToolInput2,
|
|
27
27
|
DeleteToolInput: () => DeleteToolInput2,
|
|
28
|
-
Plugin: () =>
|
|
28
|
+
Plugin: () => Plugin22,
|
|
29
29
|
ReadToolInput: () => ReadToolInput2,
|
|
30
30
|
UpdateToolInput: () => UpdateToolInput2
|
|
31
31
|
});
|
|
@@ -62,19 +62,19 @@ var DeleteToolOutput = Schema.Struct({
|
|
|
62
62
|
id: ID7,
|
|
63
63
|
deleted: Schema.Boolean
|
|
64
64
|
});
|
|
65
|
-
var
|
|
65
|
+
var Plugin22 = {
|
|
66
66
|
id: "opencode.tool.artifact",
|
|
67
67
|
effect: Effect.fn("ArtifactTools.Plugin")(function* (ctx) {
|
|
68
|
-
const config = yield*
|
|
69
|
-
const artifacts = yield*
|
|
68
|
+
const config = yield* Service66;
|
|
69
|
+
const artifacts = yield* Service19;
|
|
70
70
|
const promptSnapshot = { text: yield* renderCreateDescription(artifacts) };
|
|
71
71
|
const refreshTools = Effect.gen(function* () {
|
|
72
72
|
promptSnapshot.text = yield* renderCreateDescription(artifacts);
|
|
73
73
|
yield* ctx.tool.reload();
|
|
74
74
|
});
|
|
75
75
|
const loaded = yield* observe2(config, ctx.event, refreshTools);
|
|
76
|
-
yield* ctx.event.subscribe({ types: [
|
|
77
|
-
const flags = yield*
|
|
76
|
+
yield* ctx.event.subscribe({ types: [Event6.Updated.type] }).pipe(Stream.runForEach(() => refreshTools), Effect.forkScoped({ startImmediately: true }));
|
|
77
|
+
const flags = yield* Service62;
|
|
78
78
|
const enabled = () => flags.resolve(loaded.entries).artifacts.enabled;
|
|
79
79
|
const failure = (error) => new ToolFailure({ message: error.message, error });
|
|
80
80
|
yield* ctx.tool.transform((editor) => {
|
|
@@ -84,7 +84,7 @@ var Plugin19 = {
|
|
|
84
84
|
name: "artifact_create",
|
|
85
85
|
description: promptSnapshot.text,
|
|
86
86
|
input: CreateToolInput2,
|
|
87
|
-
output:
|
|
87
|
+
output: Info7,
|
|
88
88
|
options: { namespace: "opencode", codemode: true },
|
|
89
89
|
execute: (input, context) => artifacts.create({
|
|
90
90
|
title: input.title,
|
|
@@ -112,7 +112,7 @@ var Plugin19 = {
|
|
|
112
112
|
name: "artifact_update",
|
|
113
113
|
description: "Replace an existing artifact's files at the same ID and URL.",
|
|
114
114
|
input: UpdateToolInput2,
|
|
115
|
-
output:
|
|
115
|
+
output: Info7,
|
|
116
116
|
options: { namespace: "opencode", codemode: true },
|
|
117
117
|
execute: (input, context) => artifacts.update(input.id, {
|
|
118
118
|
title: input.title,
|
|
@@ -152,4 +152,4 @@ function renderCreateDescription(artifacts) {
|
|
|
152
152
|
}));
|
|
153
153
|
}
|
|
154
154
|
|
|
155
|
-
export { CreateToolInput2, ReadToolInput2, UpdateToolInput2, DeleteToolInput2,
|
|
155
|
+
export { CreateToolInput2, ReadToolInput2, UpdateToolInput2, DeleteToolInput2, Plugin22, exports_artifact };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isTextual2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-4pyp9zr9.js";
|
|
4
4
|
import {
|
|
5
5
|
invocation2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service59
|
|
7
|
+
} from "./bus-ebf8vqhv.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_MARKDOWN_BYTES2,
|
|
10
10
|
convertHTMLToMarkdown2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./bus-zxpyjp51.js";
|
|
12
12
|
import {
|
|
13
13
|
collectBoundedResponseBody2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./bus-3v8g72cx.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./bus-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/webfetch.ts
|
|
20
20
|
var exports_webfetch = {};
|
|
21
21
|
__export(exports_webfetch, {
|
|
22
22
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
23
|
-
Input: () =>
|
|
23
|
+
Input: () => Input14,
|
|
24
24
|
MAX_REDIRECTS: () => MAX_REDIRECTS2,
|
|
25
|
-
MAX_RESPONSE_BYTES: () =>
|
|
25
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
26
26
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
27
|
-
Plugin: () =>
|
|
27
|
+
Plugin: () => Plugin36,
|
|
28
28
|
WebFetchTool: () => exports_webfetch,
|
|
29
29
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
30
|
-
description: () =>
|
|
30
|
+
description: () => description7,
|
|
31
31
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
32
|
-
name: () =>
|
|
32
|
+
name: () => name14
|
|
33
33
|
});
|
|
34
34
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
35
35
|
import { Duration, Effect, Schema } from "effect";
|
|
36
36
|
import { FetchHttpClient, HttpClient, HttpClientError, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
37
37
|
import { Parser } from "htmlparser2";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name14 = "webfetch";
|
|
39
|
+
var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
|
|
40
40
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
41
41
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
42
|
-
var
|
|
42
|
+
var description7 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
43
43
|
|
|
44
44
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
45
45
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
46
|
-
var
|
|
46
|
+
var Input14 = Schema.Struct({
|
|
47
47
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
48
48
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
49
49
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -53,7 +53,7 @@ var Input11 = Schema.Struct({
|
|
|
53
53
|
var Output = Schema.Struct({
|
|
54
54
|
url: Schema.String,
|
|
55
55
|
contentType: Schema.String,
|
|
56
|
-
format:
|
|
56
|
+
format: Input14.fields.format,
|
|
57
57
|
output: Schema.String
|
|
58
58
|
});
|
|
59
59
|
var acceptHeader = (format) => {
|
|
@@ -107,7 +107,7 @@ var execute = (http, check, url, format, userAgent = openCodeUserAgent, redirect
|
|
|
107
107
|
return yield* execute(http, check, next, format, userAgent, redirects + 1);
|
|
108
108
|
});
|
|
109
109
|
}));
|
|
110
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
110
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
|
|
111
111
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
112
112
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
113
113
|
var convert = (content, contentType, format) => {
|
|
@@ -119,16 +119,16 @@ var convert = (content, contentType, format) => {
|
|
|
119
119
|
return extractTextFromHTML2(content);
|
|
120
120
|
return content;
|
|
121
121
|
};
|
|
122
|
-
var
|
|
122
|
+
var Plugin36 = {
|
|
123
123
|
id: "opencode.tool.webfetch",
|
|
124
124
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
125
125
|
const http = yield* HttpClient.HttpClient;
|
|
126
|
-
const permission = yield*
|
|
126
|
+
const permission = yield* Service59;
|
|
127
127
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
128
|
-
name:
|
|
128
|
+
name: name14,
|
|
129
129
|
options: { codemode: false },
|
|
130
|
-
description:
|
|
131
|
-
input:
|
|
130
|
+
description: description7,
|
|
131
|
+
input: Input14,
|
|
132
132
|
output: Output,
|
|
133
133
|
execute: (input, context) => Effect.gen(function* () {
|
|
134
134
|
const url = input.url.split("#")[0];
|
|
@@ -137,7 +137,7 @@ var Plugin32 = {
|
|
|
137
137
|
catch: (error) => error
|
|
138
138
|
});
|
|
139
139
|
yield* permission.assert({
|
|
140
|
-
action:
|
|
140
|
+
action: name14,
|
|
141
141
|
resources: [url],
|
|
142
142
|
save: ["*"],
|
|
143
143
|
metadata: input,
|
|
@@ -145,7 +145,7 @@ var Plugin32 = {
|
|
|
145
145
|
});
|
|
146
146
|
const { body, contentType } = yield* Effect.gen(function* () {
|
|
147
147
|
const check = (next) => permission.assertNotDenied({
|
|
148
|
-
action:
|
|
148
|
+
action: name14,
|
|
149
149
|
resources: [next],
|
|
150
150
|
metadata: { ...input, url: next },
|
|
151
151
|
...invocation2(context)
|
|
@@ -199,4 +199,4 @@ function extractTextFromHTML2(html) {
|
|
|
199
199
|
parser.end();
|
|
200
200
|
return text.trim();
|
|
201
201
|
}
|
|
202
|
-
export {
|
|
202
|
+
export { name14, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description7, Input14, MAX_REDIRECTS2, Plugin36, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,27 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service94
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-3sa3aw4f.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service52
|
|
6
|
+
} from "./bus-nv9tsjma.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./bus-k62y2wy8.js";
|
|
10
10
|
import {
|
|
11
11
|
preview2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./bus-9dmyw2j4.js";
|
|
13
13
|
import {
|
|
14
14
|
retry2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-2fc7eemy.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./bus-2mbrdm9z.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service22
|
|
21
|
+
} from "./bus-cftr61h9.js";
|
|
22
|
+
import {
|
|
23
|
+
record2
|
|
24
|
+
} from "./bus-4f25tdd0.js";
|
|
22
25
|
import {
|
|
23
26
|
__export
|
|
24
|
-
} from "./
|
|
27
|
+
} from "./bus-9rqn6x4v.js";
|
|
25
28
|
|
|
26
29
|
// src/session/generate.ts
|
|
27
30
|
var exports_generate = {};
|
|
@@ -32,12 +35,12 @@ __export(exports_generate, {
|
|
|
32
35
|
import { LLMClient, Message } from "@opencode/ai/effect";
|
|
33
36
|
import { Effect } from "effect";
|
|
34
37
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
38
|
+
const instances = yield* Service52;
|
|
36
39
|
const database = yield* Service94;
|
|
37
40
|
const llm = yield* LLMClient.Service;
|
|
38
41
|
return yield* Effect.gen(function* () {
|
|
39
42
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
43
|
+
const context = yield* Service22;
|
|
41
44
|
const selection = yield* context.select(input.session.id);
|
|
42
45
|
const model = yield* context.resolveModel(selection.session);
|
|
43
46
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, model.ref);
|
|
@@ -66,8 +69,7 @@ var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
|
66
69
|
modelID: model.ref.id
|
|
67
70
|
});
|
|
68
71
|
const response = yield* llm.generate(prepared.request, prepared.options).pipe(retry2);
|
|
69
|
-
|
|
70
|
-
return response.text;
|
|
72
|
+
return { text: response.text, ...record2(response.usage, model.cost) };
|
|
71
73
|
}).pipe(instances.provide(input.session));
|
|
72
74
|
});
|
|
73
75
|
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service90
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-8brp5tjd.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID14,
|
|
6
6
|
Family2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./bus-zymv40sd.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service66
|
|
10
|
+
} from "./bus-9gxaxr59.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service75
|
|
13
|
+
} from "./bus-6nh09x13.js";
|
|
14
14
|
import {
|
|
15
15
|
spawner2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./bus-wr3re1en.js";
|
|
17
17
|
import {
|
|
18
18
|
foldSettings2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./bus-vdrdgm3z.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/provider/local.ts
|
|
22
22
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -32,8 +32,8 @@ function createLocalProviderPlugin2(input) {
|
|
|
32
32
|
id: input.id,
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
34
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
35
|
-
const config = yield*
|
|
36
|
-
const environment = yield* Effect.serviceOption(
|
|
35
|
+
const config = yield* Service66;
|
|
36
|
+
const environment = yield* Effect.serviceOption(Service75);
|
|
37
37
|
const location = yield* Effect.serviceOption(Service90);
|
|
38
38
|
const defaultOrigin = origin ?? (photonWasm === "" || Option.isSome(location) && location.value.workspaceID !== undefined || Option.isSome(environment) && environment.value.spawner === spawner2 ? undefined : input.origin);
|
|
39
39
|
const source = { current: configured(yield* config.entries(), input.providerID, defaultOrigin, suffix) };
|
|
@@ -63,7 +63,7 @@ function createLocalProviderPlugin2(input) {
|
|
|
63
63
|
for (const item of loaded.models) {
|
|
64
64
|
const spec = input.model(item);
|
|
65
65
|
providers.models.update(input.providerID, spec.id, (model) => {
|
|
66
|
-
model.modelID =
|
|
66
|
+
model.modelID = ID14.make(spec.id);
|
|
67
67
|
model.name = spec.name || spec.id;
|
|
68
68
|
model.family = spec.family ? Family2.make(spec.family) : undefined;
|
|
69
69
|
model.capabilities = {
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service94,
|
|
3
3
|
node96
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./bus-3sa3aw4f.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./bus-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service87,
|
|
17
|
+
node: () => node89
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service87 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service87, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service94).db;
|
|
26
|
-
return
|
|
26
|
+
return Service87.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node89 = makeGlobalNode({ service: Service87, layer, deps: [node96] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service87, node89, exports_kv };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./bus-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service24,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service24 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service24.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service24, awaitActivation2, exports_service };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/shared-cache.ts
|
|
6
6
|
var exports_shared_cache = {};
|
|
7
7
|
__export(exports_shared_cache, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service85,
|
|
9
9
|
SharedCache: () => exports_shared_cache,
|
|
10
10
|
fingerprint: () => fingerprint2,
|
|
11
11
|
interval: () => interval2,
|
|
12
|
-
node: () =>
|
|
12
|
+
node: () => node87,
|
|
13
13
|
transient: () => transient2
|
|
14
14
|
});
|
|
15
15
|
import { Cause, Clock, Context, Duration, Effect, Exit, Fiber, FiberSet, Layer, Schedule } from "effect";
|
|
@@ -18,12 +18,12 @@ import { Hash } from "@opencode/util/hash";
|
|
|
18
18
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
var interval2 = Duration.minutes(10);
|
|
20
20
|
|
|
21
|
-
class
|
|
21
|
+
class Service85 extends Context.Service()("@opencode/SharedCache") {
|
|
22
22
|
}
|
|
23
23
|
var fingerprint2 = (secret) => Hash.sha256(secret).slice(0, 16);
|
|
24
24
|
var transient2 = (error) => Cause.isTimeoutError(error) || HttpClientError.isHttpClientError(error) && (error.reason._tag === "TransportError" || error.reason._tag === "StatusCodeError" && [408, 429, 500, 502, 503, 504].includes(error.reason.response.status));
|
|
25
25
|
var unread = Duration.toMillis(Duration.hours(24));
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service85, Effect.gen(function* () {
|
|
27
27
|
const run = yield* FiberSet.makeRuntime();
|
|
28
28
|
const entries = new Map;
|
|
29
29
|
const start = Effect.fnUntraced(function* (key, entry, load) {
|
|
@@ -59,8 +59,8 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
59
59
|
}))));
|
|
60
60
|
return yield* Fiber.join(entry.loading);
|
|
61
61
|
});
|
|
62
|
-
return
|
|
62
|
+
return Service85.of({ get });
|
|
63
63
|
}));
|
|
64
|
-
var
|
|
64
|
+
var node87 = makeGlobalNode({ service: Service85, layer, deps: [] });
|
|
65
65
|
|
|
66
|
-
export { interval2,
|
|
66
|
+
export { interval2, Service85, fingerprint2, transient2, node87, exports_shared_cache };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-h8zsr8hw.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service84
|
|
7
|
+
} from "./bus-79essn6v.js";
|
|
8
8
|
import {
|
|
9
9
|
ID18,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./bus-h5rm7hp5.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID15,
|
|
14
14
|
mergeOverlay2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-00fdt2tm.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/provider/xai.ts
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
|
|
|
24
24
|
var pollingSafetyMargin = 3000;
|
|
25
25
|
var browserMethodID = MethodID2.make("browser");
|
|
26
26
|
var deviceMethodID = MethodID2.make("device");
|
|
27
|
-
var providerID =
|
|
27
|
+
var providerID = ID15.make("xai");
|
|
28
28
|
var Token = Schema.Struct({
|
|
29
29
|
access_token: Schema.String,
|
|
30
30
|
refresh_token: Schema.optional(Schema.String),
|
|
@@ -69,7 +69,7 @@ var device = (app) => ({
|
|
|
69
69
|
var XAIPlugin2 = define({
|
|
70
70
|
id: "opencode.provider.xai",
|
|
71
71
|
effect: Effect.fn(function* (ctx) {
|
|
72
|
-
const credentials = yield*
|
|
72
|
+
const credentials = yield* Service84;
|
|
73
73
|
yield* Effect.forEach(yield* credentials.list(ID18.make("xai")), (credential) => {
|
|
74
74
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
75
75
|
return Effect.void;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-mmx1mfjr.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info15
|
|
9
|
+
} from "./bus-r7xar5ns.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info14
|
|
12
|
+
} from "./bus-p0tsr9h6.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info17
|
|
15
|
+
} from "./bus-scmk72rv.js";
|
|
16
16
|
import {
|
|
17
17
|
Spec2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./bus-1yq9hg58.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Info18
|
|
21
|
+
} from "./bus-hj0xet7m.js";
|
|
22
22
|
import {
|
|
23
23
|
normalizeAction2,
|
|
24
24
|
migrateAgent2,
|
|
@@ -28,10 +28,10 @@ import {
|
|
|
28
28
|
migrateMcp2,
|
|
29
29
|
migrateProvider2,
|
|
30
30
|
providerID2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./bus-c2ks2kp5.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./bus-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/config/normalize.ts
|
|
37
37
|
var exports_normalize = {};
|
|
@@ -98,12 +98,12 @@ function normalize3(input) {
|
|
|
98
98
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
99
99
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
100
100
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
101
|
-
const legacyCommands = decodeMap(input.command,
|
|
101
|
+
const legacyCommands = decodeMap(input.command, Info14, ["command"], diagnostics, decodeValue);
|
|
102
102
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
103
103
|
const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
|
|
104
104
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
105
105
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
106
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
106
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info15, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
107
107
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
108
108
|
const migratedSmallModel = modelSelection2(legacySmallModel);
|
|
109
109
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -117,7 +117,7 @@ function normalize3(input) {
|
|
|
117
117
|
model: migratedSmallModel,
|
|
118
118
|
...legacyAgents.title
|
|
119
119
|
};
|
|
120
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
120
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info15, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
121
121
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
122
122
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
123
123
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -220,7 +220,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
220
220
|
normalizeMcpTimeout(typeof value === "number" ? migrateMcpTimeout2(value) : value, timeout, path, diagnostics);
|
|
221
221
|
return;
|
|
222
222
|
}
|
|
223
|
-
const server = decodeValue(
|
|
223
|
+
const server = decodeValue(Info17, value, path, diagnostics);
|
|
224
224
|
if (server !== undefined)
|
|
225
225
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
226
226
|
});
|
|
@@ -428,7 +428,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
428
428
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
429
429
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
430
430
|
return [];
|
|
431
|
-
const provider = decodeValue(
|
|
431
|
+
const provider = decodeValue(Info18, raw, path, diagnostics);
|
|
432
432
|
if (provider === undefined)
|
|
433
433
|
return [];
|
|
434
434
|
const destination = providerID2(name);
|