@opencode/core 0.0.0-dev-1238 → 0.0.0-dev-1243
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 +1 -1
- package/dist/aisdk.js +109 -109
- package/dist/app.js +11 -11
- package/dist/artifact.js +264 -264
- package/dist/bus.js +84 -84
- package/dist/chunks/{usage-limits-6fev4qrq.js → pty-01tg60gd.js} +58 -58
- package/dist/chunks/{usage-limits-034tev2y.js → pty-034tev2y.js} +2 -2
- package/dist/chunks/{usage-limits-yweqnfz1.js → pty-0358g6ev.js} +26 -26
- package/dist/chunks/{usage-limits-0ahs07zn.js → pty-0ahs07zn.js} +1 -1
- package/dist/chunks/{usage-limits-0fvxehme.js → pty-0fvxehme.js} +2 -2
- package/dist/chunks/{usage-limits-cnht8gpz.js → pty-0gxmeqpy.js} +2 -2
- package/dist/chunks/{usage-limits-0ma9gw4f.js → pty-0ma9gw4f.js} +2 -2
- package/dist/chunks/{usage-limits-pbekeqkd.js → pty-0n9984s6.js} +5 -5
- package/dist/chunks/{usage-limits-5pdvach8.js → pty-0qs2w0pq.js} +6 -6
- package/dist/chunks/pty-0ra0vqbe.js +35 -0
- package/dist/chunks/{usage-limits-0wgt5m72.js → pty-13v654k4.js} +8 -8
- package/dist/chunks/{usage-limits-w56sqjkv.js → pty-16bpzxh6.js} +17 -17
- package/dist/chunks/{usage-limits-y59f87j3.js → pty-1a0381qm.js} +36 -36
- package/dist/chunks/{usage-limits-1aqsckx4.js → pty-1aqsckx4.js} +1 -1
- package/dist/chunks/{usage-limits-1aryjtsy.js → pty-1aryjtsy.js} +1 -1
- package/dist/chunks/{usage-limits-1ep2p91f.js → pty-1ep2p91f.js} +2 -2
- package/dist/chunks/{usage-limits-1kama452.js → pty-1kama452.js} +4 -4
- package/dist/chunks/{usage-limits-9qwchkv5.js → pty-1kkxmvxd.js} +12 -12
- package/dist/chunks/{usage-limits-gnt929wh.js → pty-1n3sjdt8.js} +5 -5
- package/dist/chunks/{usage-limits-1bdx8zme.js → pty-1pba5shw.js} +22 -22
- package/dist/chunks/{usage-limits-eeebv6gt.js → pty-1q9ek849.js} +10 -10
- package/dist/chunks/{usage-limits-1x2knyw4.js → pty-1x2knyw4.js} +1 -1
- package/dist/chunks/{usage-limits-1yped5qa.js → pty-1yped5qa.js} +1 -1
- package/dist/chunks/{usage-limits-jx0sx8ya.js → pty-20s3wvje.js} +9 -9
- package/dist/chunks/{usage-limits-vt2d6wap.js → pty-229tvxdn.js} +4 -4
- package/dist/chunks/{usage-limits-ge9fynsm.js → pty-24wpkw88.js} +7 -7
- package/dist/chunks/{usage-limits-6b3334xr.js → pty-266r7tj0.js} +25 -25
- package/dist/chunks/{usage-limits-paf8q09r.js → pty-27kg7kae.js} +16 -16
- package/dist/chunks/{usage-limits-qqgpnk16.js → pty-28q4f2dz.js} +41 -41
- package/dist/chunks/{usage-limits-2dmm504v.js → pty-29gzk825.js} +5 -5
- package/dist/chunks/{usage-limits-t1t3f0k1.js → pty-2bz3yr90.js} +13 -13
- package/dist/chunks/{usage-limits-cw34w1pa.js → pty-2cskqkp8.js} +24 -24
- package/dist/chunks/{usage-limits-2fc7eemy.js → pty-2fc7eemy.js} +1 -1
- package/dist/chunks/{usage-limits-c0hb77hp.js → pty-2jdb2eg5.js} +4 -4
- package/dist/chunks/{usage-limits-np3cybhk.js → pty-2n444ktb.js} +3 -3
- package/dist/chunks/{usage-limits-cz4sefxy.js → pty-2n467pca.js} +11 -11
- package/dist/chunks/{usage-limits-2p60zmnr.js → pty-2p60zmnr.js} +2 -2
- package/dist/chunks/{usage-limits-n30r346h.js → pty-2qabxkjj.js} +10 -10
- package/dist/chunks/{usage-limits-c4vkwfh0.js → pty-31zy42j6.js} +4 -4
- package/dist/chunks/{usage-limits-c47ednt4.js → pty-391bh81e.js} +13 -13
- package/dist/chunks/{usage-limits-04whjz6n.js → pty-3adw4bt5.js} +9 -9
- package/dist/chunks/{usage-limits-hgdt1qqt.js → pty-3af34bnj.js} +12 -12
- package/dist/chunks/{usage-limits-ja8sw7cz.js → pty-3dtf6evj.js} +11 -11
- package/dist/chunks/{usage-limits-ndyvc033.js → pty-3f4j1rex.js} +4 -4
- package/dist/chunks/{usage-limits-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{usage-limits-eakb62ee.js → pty-3js0jpnw.js} +31 -31
- package/dist/chunks/{usage-limits-dd9r0kv5.js → pty-3km2fvrr.js} +3 -3
- package/dist/chunks/{usage-limits-t858yf49.js → pty-3mxbgqpa.js} +22 -22
- package/dist/chunks/{usage-limits-3nnrz6f6.js → pty-3nnrz6f6.js} +1 -1
- package/dist/chunks/{usage-limits-cjadehym.js → pty-3xg6332j.js} +24 -24
- package/dist/chunks/{usage-limits-hvzjsh33.js → pty-3yatfvwm.js} +15 -15
- package/dist/chunks/{usage-limits-40y6dtc2.js → pty-40y6dtc2.js} +1 -1
- package/dist/chunks/{usage-limits-fmmkyq8s.js → pty-41g8xtb0.js} +25 -25
- package/dist/chunks/{usage-limits-44pmzq9c.js → pty-44pmzq9c.js} +2 -2
- package/dist/chunks/{usage-limits-4dfqsw0d.js → pty-4dfqsw0d.js} +1 -1
- package/dist/chunks/{usage-limits-4dx1dgte.js → pty-4dx1dgte.js} +1 -1
- package/dist/chunks/{usage-limits-4f25tdd0.js → pty-4f25tdd0.js} +1 -1
- package/dist/chunks/{usage-limits-4pyp9zr9.js → pty-4pyp9zr9.js} +1 -1
- package/dist/chunks/{usage-limits-4v008n1t.js → pty-4v008n1t.js} +1 -1
- package/dist/chunks/{usage-limits-9makpa9k.js → pty-4w04ps7a.js} +46 -46
- package/dist/chunks/{usage-limits-bz7enze9.js → pty-4xbnrh7k.js} +39 -39
- package/dist/chunks/{usage-limits-65j55bd6.js → pty-55h31vwm.js} +9 -9
- package/dist/chunks/{usage-limits-sa7656xq.js → pty-5fmxz15n.js} +5 -5
- package/dist/chunks/pty-5m7pjpxg.js +26 -0
- package/dist/chunks/{usage-limits-5m9w47nd.js → pty-5m9w47nd.js} +1 -1
- package/dist/chunks/{usage-limits-s26c8eb5.js → pty-5n0rnk8e.js} +4 -4
- package/dist/chunks/{usage-limits-j9rwb56n.js → pty-5r4rh8je.js} +12 -12
- package/dist/chunks/{usage-limits-71tc3098.js → pty-63wq4pxn.js} +15 -15
- package/dist/chunks/{usage-limits-nezk9gtw.js → pty-69ek80f6.js} +17 -17
- package/dist/chunks/{usage-limits-vbha2v4z.js → pty-6b62wfya.js} +7 -7
- package/dist/chunks/{usage-limits-y0ymwnnt.js → pty-6bxkbwm4.js} +4 -4
- package/dist/chunks/{usage-limits-vt4r9rmy.js → pty-6h8vcvjm.js} +9 -9
- package/dist/chunks/{usage-limits-c5hy02kh.js → pty-6j3at20h.js} +39 -39
- package/dist/chunks/{usage-limits-ns8r7khp.js → pty-6k06m789.js} +15 -15
- package/dist/chunks/{usage-limits-ywf8hsxe.js → pty-6ksmbjyz.js} +45 -45
- package/dist/chunks/{usage-limits-40cqa2b9.js → pty-6x9fp5f4.js} +8 -8
- package/dist/chunks/{usage-limits-6y2b864j.js → pty-6y2b864j.js} +1 -1
- package/dist/chunks/{usage-limits-73ff1310.js → pty-73ff1310.js} +1 -1
- package/dist/chunks/{usage-limits-8zqnhd65.js → pty-7709bxzy.js} +14 -14
- package/dist/chunks/{usage-limits-775hqbnd.js → pty-775hqbnd.js} +3 -3
- package/dist/chunks/{usage-limits-t8erkws8.js → pty-78p2h4ex.js} +5 -5
- package/dist/chunks/{usage-limits-4pw98qd4.js → pty-7a2bwsmz.js} +4 -4
- package/dist/chunks/{usage-limits-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{usage-limits-rtffe0az.js → pty-7dvrcskb.js} +12 -12
- package/dist/chunks/{usage-limits-5m8m9tfh.js → pty-7e040g5a.js} +3 -3
- package/dist/chunks/{usage-limits-e1qx2d3g.js → pty-7ry3j0qz.js} +14 -14
- package/dist/chunks/{usage-limits-e0zepttq.js → pty-7vt9741m.js} +18 -18
- package/dist/chunks/{usage-limits-7w2ypzdf.js → pty-7w2ypzdf.js} +1 -1
- package/dist/chunks/{usage-limits-7weczvnd.js → pty-7weczvnd.js} +1 -1
- package/dist/chunks/{usage-limits-xacrkbdt.js → pty-7zs4mqwf.js} +4 -4
- package/dist/chunks/{usage-limits-nw9g42em.js → pty-80dhscwa.js} +3 -3
- package/dist/chunks/{usage-limits-80pdk984.js → pty-80pdk984.js} +1 -1
- package/dist/chunks/{usage-limits-djjvhe0x.js → pty-824gpnnf.js} +32 -32
- package/dist/chunks/{usage-limits-85jq8dht.js → pty-85jq8dht.js} +1 -1
- package/dist/chunks/{usage-limits-5ar0v554.js → pty-87kxp3gn.js} +11 -11
- package/dist/chunks/{usage-limits-8kwaqvxs.js → pty-89zbmavv.js} +25 -25
- package/dist/chunks/{usage-limits-8b3vzgkx.js → pty-8b3vzgkx.js} +1 -1
- package/dist/chunks/{usage-limits-btz4vdf2.js → pty-8bgnr0we.js} +9 -9
- package/dist/chunks/{usage-limits-dt2b1ft5.js → pty-8cp8083w.js} +35 -35
- package/dist/chunks/{usage-limits-3anzfpv5.js → pty-8jacd5hs.js} +14 -14
- package/dist/chunks/{usage-limits-8kjyvwy5.js → pty-8kjyvwy5.js} +1 -1
- package/dist/chunks/{usage-limits-k6fz1720.js → pty-8n0v893p.js} +6 -6
- package/dist/chunks/{usage-limits-8sxe6kv8.js → pty-8sxe6kv8.js} +2 -2
- package/dist/chunks/{usage-limits-8wtp7s3z.js → pty-8wtp7s3z.js} +1 -1
- package/dist/chunks/{usage-limits-8zv0xmg5.js → pty-8zv0xmg5.js} +1 -1
- package/dist/chunks/{usage-limits-aksfkwfs.js → pty-95zraw8z.js} +21 -21
- package/dist/chunks/{usage-limits-fykynvr0.js → pty-99a0tav3.js} +20 -20
- package/dist/chunks/{usage-limits-022avmva.js → pty-9djh2dnz.js} +21 -21
- package/dist/chunks/{usage-limits-6pgrd9fn.js → pty-9pggkc0r.js} +3 -3
- package/dist/chunks/{usage-limits-1g6s3ad4.js → pty-9rsr036j.js} +11 -11
- package/dist/chunks/{usage-limits-9sk33afj.js → pty-9sk33afj.js} +2 -2
- package/dist/chunks/{usage-limits-e697hyry.js → pty-9x59b6dp.js} +8 -8
- package/dist/chunks/{usage-limits-4vzr2b15.js → pty-9zfcngb4.js} +3 -3
- package/dist/chunks/{usage-limits-c5rvjt5f.js → pty-a3fn0gmm.js} +2 -2
- package/dist/chunks/{usage-limits-hhncf6cq.js → pty-a643e63t.js} +25 -25
- package/dist/chunks/{usage-limits-3aayj6rj.js → pty-a7f6w5my.js} +11 -11
- package/dist/chunks/{usage-limits-ytjg7nj9.js → pty-aqbfnays.js} +8 -8
- package/dist/chunks/{usage-limits-5zz0qr8a.js → pty-axvjv86p.js} +11 -11
- package/dist/chunks/{usage-limits-ayjs7tqn.js → pty-ayjs7tqn.js} +2 -2
- package/dist/chunks/{usage-limits-azqdag7d.js → pty-azqdag7d.js} +1 -1
- package/dist/chunks/{usage-limits-jd9k3bx2.js → pty-b09zhmpv.js} +6 -6
- package/dist/chunks/{usage-limits-4nxqjhfz.js → pty-b1g5y16h.js} +5 -5
- package/dist/chunks/{usage-limits-b26ddj6h.js → pty-b26ddj6h.js} +4 -4
- package/dist/chunks/{usage-limits-t6jswgfk.js → pty-b5amajw5.js} +15 -15
- package/dist/chunks/{usage-limits-tb2mrvc9.js → pty-ba5f9dy2.js} +4 -4
- package/dist/chunks/{usage-limits-fj03w27r.js → pty-be6e81x0.js} +27 -27
- package/dist/chunks/{usage-limits-h1kmnj7a.js → pty-bepvt4sc.js} +8 -8
- package/dist/chunks/{usage-limits-2jnt6yq2.js → pty-beq04nbz.js} +17 -17
- package/dist/chunks/{usage-limits-xd9cc171.js → pty-bstexjd6.js} +5 -5
- package/dist/chunks/{usage-limits-dpzfy3zk.js → pty-c2fvvja0.js} +10 -10
- package/dist/chunks/{usage-limits-98bv7nvm.js → pty-c4970w7t.js} +6 -6
- package/dist/chunks/{usage-limits-7ng6ma80.js → pty-c5f61zhz.js} +4 -4
- package/dist/chunks/{usage-limits-8r4rpetw.js → pty-c6qa2vhr.js} +2 -2
- package/dist/chunks/{usage-limits-jhw29x85.js → pty-cf626arh.js} +21 -21
- package/dist/chunks/{usage-limits-snqqz3gq.js → pty-cg25xdhg.js} +8 -8
- package/dist/chunks/{usage-limits-e1c361n4.js → pty-cmyqft71.js} +10 -10
- package/dist/chunks/{usage-limits-1dc1e622.js → pty-cnmbkzbq.js} +9 -9
- package/dist/chunks/{usage-limits-d0h5j0ms.js → pty-csjc8g2d.js} +98 -98
- package/dist/chunks/{usage-limits-2xwe9vpn.js → pty-cvz8as22.js} +33 -33
- package/dist/chunks/{usage-limits-cwrgdav8.js → pty-cwrgdav8.js} +2 -2
- package/dist/chunks/{usage-limits-7b508f0b.js → pty-cx82y38a.js} +17 -17
- package/dist/chunks/{usage-limits-sqqnbqvh.js → pty-d30zf05b.js} +29 -29
- package/dist/chunks/{usage-limits-c1sfsxsr.js → pty-d34c0f98.js} +8 -8
- package/dist/chunks/{usage-limits-d4v9tmah.js → pty-d4v9tmah.js} +2 -2
- package/dist/chunks/{usage-limits-4vn6jvs2.js → pty-d5kqx8fq.js} +4 -4
- package/dist/chunks/{usage-limits-vddj1jr1.js → pty-d8n3983h.js} +24 -24
- package/dist/chunks/{usage-limits-v5hpj9dd.js → pty-ddvn7d3w.js} +8 -8
- package/dist/chunks/{usage-limits-qxvtyt4g.js → pty-dm3h919p.js} +14 -14
- package/dist/chunks/{usage-limits-n8pgg7jm.js → pty-dngwd1ze.js} +59 -59
- package/dist/chunks/{usage-limits-3q1ed4mk.js → pty-dp2tm4a1.js} +10 -10
- package/dist/chunks/{usage-limits-m0mqgapp.js → pty-dstq7h4s.js} +15 -15
- package/dist/chunks/{usage-limits-p2r1x6g9.js → pty-dszd57sv.js} +16 -16
- package/dist/chunks/{usage-limits-dt77769w.js → pty-dt77769w.js} +1 -1
- package/dist/chunks/{usage-limits-qkax0n6t.js → pty-e6g6zadt.js} +22 -21
- package/dist/chunks/{usage-limits-49yx19s2.js → pty-egabjtks.js} +39 -39
- package/dist/chunks/{usage-limits-p4wvt3pf.js → pty-egrqhvf4.js} +25 -25
- package/dist/chunks/{usage-limits-19n1nd98.js → pty-em1bf5bb.js} +24 -24
- package/dist/chunks/{usage-limits-17nkpt1v.js → pty-ep6pe98a.js} +5 -5
- package/dist/chunks/{usage-limits-8sw5qww9.js → pty-eqh9gttx.js} +8 -8
- package/dist/chunks/{usage-limits-eqw4pqj1.js → pty-eqw4pqj1.js} +2 -2
- package/dist/chunks/{usage-limits-etrnj9s7.js → pty-etrnj9s7.js} +3 -3
- package/dist/chunks/{usage-limits-q6c3abhm.js → pty-exts65k0.js} +19 -19
- package/dist/chunks/{usage-limits-actpcp95.js → pty-f0ek8akq.js} +61 -61
- package/dist/chunks/{usage-limits-f2zjpyt5.js → pty-f2zjpyt5.js} +2 -2
- package/dist/chunks/{usage-limits-ktck1cjp.js → pty-f80thpwy.js} +3 -3
- package/dist/chunks/{usage-limits-xpbx2wdz.js → pty-fdh5529n.js} +15 -15
- package/dist/chunks/{usage-limits-fg9p65nk.js → pty-fg9p65nk.js} +2 -2
- package/dist/chunks/{usage-limits-x3t11r60.js → pty-fjwkbb1x.js} +5 -5
- package/dist/chunks/{usage-limits-bxntb5qg.js → pty-fkqcej35.js} +14 -14
- package/dist/chunks/{usage-limits-x0p7xr8s.js → pty-fmk2x3nt.js} +4 -4
- package/dist/chunks/{usage-limits-mwtqyyah.js → pty-fr2kfbk9.js} +20 -20
- package/dist/chunks/{usage-limits-vcd1wzav.js → pty-fztzyxrs.js} +4 -4
- package/dist/chunks/{usage-limits-kcq16adv.js → pty-g0f7dmkp.js} +1 -1
- package/dist/chunks/{usage-limits-xqgkr30w.js → pty-ga3jps5v.js} +86 -86
- package/dist/chunks/{usage-limits-gbjdnr5j.js → pty-gbjdnr5j.js} +2 -2
- package/dist/chunks/{usage-limits-rb8s88t2.js → pty-ghpx7yqc.js} +22 -22
- package/dist/chunks/{usage-limits-ghrv1g9c.js → pty-ghrv1g9c.js} +1 -1
- package/dist/chunks/{usage-limits-qn3k9f8k.js → pty-gk96ttsb.js} +3 -3
- package/dist/chunks/{usage-limits-xz3p33y3.js → pty-h359ybnh.js} +23 -23
- package/dist/chunks/{usage-limits-qddj8sb8.js → pty-h5gm5jf1.js} +7 -7
- package/dist/chunks/{usage-limits-3g3kacj5.js → pty-h8tg0dws.js} +23 -23
- package/dist/chunks/pty-hbcj4zg4.js +273 -0
- package/dist/chunks/{usage-limits-hgzwgvze.js → pty-hgzwgvze.js} +2 -2
- package/dist/chunks/{usage-limits-jvxr7m52.js → pty-hpp5gkvg.js} +19 -19
- package/dist/chunks/{usage-limits-6fsx9x3g.js → pty-hqqb2y2p.js} +12 -12
- package/dist/chunks/{usage-limits-3nxjebc4.js → pty-hvhjm4c6.js} +16 -16
- package/dist/chunks/{usage-limits-x2xahzqq.js → pty-hx8b3d18.js} +64 -64
- package/dist/chunks/{usage-limits-rvqd526n.js → pty-j18wr2rk.js} +16 -16
- package/dist/chunks/{usage-limits-4907wgrs.js → pty-j1g6sam5.js} +17 -17
- package/dist/chunks/{usage-limits-j9nxzz3g.js → pty-j9nxzz3g.js} +3 -3
- package/dist/chunks/{usage-limits-63wvayvp.js → pty-j9s2adqk.js} +22 -22
- package/dist/chunks/{usage-limits-13q1svt3.js → pty-jdrretfy.js} +7 -7
- package/dist/chunks/{usage-limits-b2wvxe9b.js → pty-jkfnhp6c.js} +9 -9
- package/dist/chunks/{usage-limits-jm70asfg.js → pty-jm70asfg.js} +1 -1
- package/dist/chunks/{usage-limits-g43spp1d.js → pty-jpzxqxqy.js} +83 -83
- package/dist/chunks/{usage-limits-524v4bf4.js → pty-k1cgmjrv.js} +31 -31
- package/dist/chunks/{usage-limits-9yjczwdh.js → pty-k3qp21jq.js} +3 -3
- package/dist/chunks/{usage-limits-p62tgczn.js → pty-k7spm4sx.js} +25 -25
- package/dist/chunks/{usage-limits-85pcep6j.js → pty-k99kdhj8.js} +31 -31
- package/dist/chunks/{usage-limits-8xz27cp9.js → pty-kbgs7tyr.js} +4 -4
- package/dist/chunks/{usage-limits-k3b4kj7e.js → pty-kcr186t0.js} +22 -22
- package/dist/chunks/{usage-limits-s10k1ywp.js → pty-knf2v3cz.js} +25 -25
- package/dist/chunks/{usage-limits-3pysx2bx.js → pty-knq5zpdc.js} +8 -8
- package/dist/chunks/{usage-limits-kt3bjfbg.js → pty-kt3bjfbg.js} +1 -1
- package/dist/chunks/{usage-limits-x3rkfjbz.js → pty-ktzn0v6q.js} +8 -8
- package/dist/chunks/{usage-limits-90zgzdbt.js → pty-kyhf42q8.js} +30 -30
- package/dist/chunks/{usage-limits-kzczzf4v.js → pty-kzczzf4v.js} +1 -1
- package/dist/chunks/{usage-limits-47aebhg1.js → pty-m0j7ss87.js} +35 -35
- package/dist/chunks/{usage-limits-m1714858.js → pty-m1714858.js} +1 -1
- package/dist/chunks/{usage-limits-6k43px9w.js → pty-m4q5xxb9.js} +27 -27
- package/dist/chunks/{usage-limits-kcgd5paj.js → pty-m754kb2h.js} +24 -24
- package/dist/chunks/{usage-limits-7fs36abq.js → pty-m7a8s6rd.js} +8 -8
- package/dist/chunks/{usage-limits-m90tx7mw.js → pty-m90tx7mw.js} +1 -1
- package/dist/chunks/{usage-limits-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{usage-limits-h5hjj3jc.js → pty-macje4cw.js} +11 -11
- package/dist/chunks/{usage-limits-mb7mbhnz.js → pty-mb7mbhnz.js} +3 -3
- package/dist/chunks/{usage-limits-nqy4mssg.js → pty-mdqwgwkn.js} +6 -6
- package/dist/chunks/{usage-limits-w5d69s4w.js → pty-mdyw5z6p.js} +3 -3
- package/dist/chunks/{usage-limits-060dfe6n.js → pty-me215f18.js} +1 -1
- package/dist/chunks/{usage-limits-8hched65.js → pty-mm4jyspx.js} +25 -25
- package/dist/chunks/{usage-limits-3kvz8enc.js → pty-msktpew6.js} +12 -12
- package/dist/chunks/{usage-limits-n7067pk0.js → pty-mw0dakk6.js} +36 -36
- package/dist/chunks/{usage-limits-7kmre4rx.js → pty-mx18j166.js} +26 -26
- package/dist/chunks/{usage-limits-nygn36dy.js → pty-myzn5d47.js} +16 -16
- package/dist/chunks/{usage-limits-2merx6cy.js → pty-n1aahvmz.js} +11 -11
- package/dist/chunks/{usage-limits-5hbqf4dz.js → pty-n1r0kv9c.js} +3 -3
- package/dist/chunks/{usage-limits-3vwsgfh5.js → pty-n8pyq7pd.js} +37 -37
- package/dist/chunks/{usage-limits-6nrvdd6j.js → pty-nh1mayqc.js} +5 -5
- package/dist/chunks/{usage-limits-vv7z5mef.js → pty-nvbqw4pr.js} +20 -20
- package/dist/chunks/{usage-limits-xrmxt9zm.js → pty-nwgt7meq.js} +2 -2
- package/dist/chunks/{usage-limits-td21y9x2.js → pty-ny2c3vnr.js} +25 -25
- package/dist/chunks/{usage-limits-ye67b55d.js → pty-p00j488m.js} +5 -5
- package/dist/chunks/{usage-limits-6zej6sks.js → pty-p2tw0r9g.js} +27 -27
- package/dist/chunks/{usage-limits-b1jqq0j5.js → pty-p4rgaht7.js} +28 -28
- package/dist/chunks/{usage-limits-ek8dn5z5.js → pty-p6ptthry.js} +4 -4
- package/dist/chunks/{usage-limits-1yq9hg58.js → pty-p7vhpwh8.js} +5 -5
- package/dist/chunks/{usage-limits-pknna89w.js → pty-pknna89w.js} +1 -1
- package/dist/chunks/{usage-limits-0ppb1egd.js → pty-q21w6f4c.js} +16 -16
- package/dist/chunks/{usage-limits-vj5vx7b8.js → pty-q7ca3t4c.js} +9 -9
- package/dist/chunks/{usage-limits-7e6ga78e.js → pty-qd4akt1k.js} +19 -19
- package/dist/chunks/{usage-limits-jq5hegwx.js → pty-qgvh6b4a.js} +12 -12
- package/dist/chunks/pty-qmh7vbk2.js +18 -0
- package/dist/chunks/{usage-limits-egmvztax.js → pty-qnax57px.js} +12 -12
- package/dist/chunks/{usage-limits-5ybe6nvy.js → pty-qnz51mn9.js} +31 -31
- package/dist/chunks/{usage-limits-qp7r0hxv.js → pty-qp7r0hxv.js} +1 -1
- package/dist/chunks/{usage-limits-y6ncc4jc.js → pty-qwd1edte.js} +158 -158
- package/dist/chunks/{usage-limits-7jencd8m.js → pty-qxr7e54z.js} +11 -11
- package/dist/chunks/{usage-limits-9q38tpdd.js → pty-r1jdstg5.js} +8 -8
- package/dist/chunks/{usage-limits-qg897spj.js → pty-r4y210a3.js} +23 -23
- package/dist/chunks/{usage-limits-tkd4k0kp.js → pty-r5yhnbcg.js} +2 -2
- package/dist/chunks/{usage-limits-tca2sw22.js → pty-r6j6qbdv.js} +26 -26
- package/dist/chunks/{usage-limits-5zcyx99g.js → pty-ranh0xe7.js} +4 -4
- package/dist/chunks/{usage-limits-3p2586z8.js → pty-raqhn8qk.js} +42 -42
- package/dist/chunks/{usage-limits-v8px89mz.js → pty-rb56y7d9.js} +9 -9
- package/dist/chunks/{usage-limits-rb9dy4dg.js → pty-rb9dy4dg.js} +1 -1
- package/dist/chunks/{usage-limits-g2t745pt.js → pty-rby4rswg.js} +12 -12
- package/dist/chunks/{usage-limits-a64j6h79.js → pty-rdyjny1j.js} +3 -3
- package/dist/chunks/{usage-limits-e8vnx16j.js → pty-rfvharvn.js} +10 -10
- package/dist/chunks/{usage-limits-rgc9cx3e.js → pty-rgc9cx3e.js} +2 -2
- package/dist/chunks/{usage-limits-1e2a2z37.js → pty-rrbtwe8v.js} +5 -5
- package/dist/chunks/{usage-limits-vj87v2cd.js → pty-rw34hs10.js} +12 -12
- package/dist/chunks/{usage-limits-s47rahr7.js → pty-s47rahr7.js} +1 -1
- package/dist/chunks/{usage-limits-8nvpmny3.js → pty-sacm4myh.js} +61 -61
- package/dist/chunks/{usage-limits-sbya78hr.js → pty-sbya78hr.js} +1 -1
- package/dist/chunks/{usage-limits-z080rjh6.js → pty-sf9y72b7.js} +4 -4
- package/dist/chunks/{usage-limits-43tas341.js → pty-sj2darqv.js} +9 -9
- package/dist/chunks/{usage-limits-2mz0r38e.js → pty-sr7ay77s.js} +33 -33
- package/dist/chunks/{usage-limits-kpmse0pm.js → pty-ssr8tzqd.js} +7 -7
- package/dist/chunks/{usage-limits-svcy3p9a.js → pty-svcy3p9a.js} +1 -1
- package/dist/chunks/{usage-limits-5f6z8sjb.js → pty-t096wk8a.js} +39 -39
- package/dist/chunks/{usage-limits-tbpn7jtk.js → pty-tbpn7jtk.js} +1 -1
- package/dist/chunks/{usage-limits-tczq8hjw.js → pty-tczq8hjw.js} +1 -1
- package/dist/chunks/{usage-limits-cw3wtkpb.js → pty-tegd4n18.js} +4 -4
- package/dist/chunks/{usage-limits-tg7s7b5t.js → pty-tg7s7b5t.js} +1 -1
- package/dist/chunks/{usage-limits-sgf985je.js → pty-thjfc5mn.js} +20 -20
- package/dist/chunks/{usage-limits-tr8x705m.js → pty-tr8x705m.js} +1 -1
- package/dist/chunks/{usage-limits-g4arn59x.js → pty-ts0bt9c0.js} +6 -6
- package/dist/chunks/{usage-limits-tvtps2q9.js → pty-tvtps2q9.js} +1 -1
- package/dist/chunks/{usage-limits-twssxy5n.js → pty-twssxy5n.js} +2 -2
- package/dist/chunks/{usage-limits-2a9cbddp.js → pty-txhtnhhs.js} +6 -6
- package/dist/chunks/{usage-limits-v2r1d0zg.js → pty-v2r1d0zg.js} +1 -1
- package/dist/chunks/{usage-limits-crfddmzc.js → pty-v8vd993n.js} +8 -8
- package/dist/chunks/{usage-limits-yqv7wggv.js → pty-vaa3556q.js} +23 -23
- package/dist/chunks/{usage-limits-mxevbgsx.js → pty-vbhat5wh.js} +31 -31
- package/dist/chunks/{usage-limits-41ns4cf9.js → pty-vcre4fmr.js} +11 -11
- package/dist/chunks/{usage-limits-p9j2z5m0.js → pty-vek77fn1.js} +4 -4
- package/dist/chunks/{usage-limits-nbagjf1b.js → pty-vfv2prrm.js} +35 -35
- package/dist/chunks/{usage-limits-vjf35v1f.js → pty-vjf35v1f.js} +1 -1
- package/dist/chunks/{usage-limits-3h1nzpna.js → pty-vjmzca5d.js} +27 -27
- package/dist/chunks/{usage-limits-pkzgcacp.js → pty-vm46z34s.js} +48 -48
- package/dist/chunks/{usage-limits-k46dd5bg.js → pty-vmqe41cb.js} +4 -4
- package/dist/chunks/{usage-limits-emadjdea.js → pty-vs8ykjes.js} +6 -6
- package/dist/chunks/{usage-limits-n99k6vy4.js → pty-vwc5wm1t.js} +42 -42
- package/dist/chunks/{usage-limits-w2eysc6j.js → pty-w2eysc6j.js} +2 -2
- package/dist/chunks/{usage-limits-hgncmr8t.js → pty-w2ny3zd8.js} +7 -7
- package/dist/chunks/{usage-limits-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{usage-limits-w79nt68w.js → pty-w79nt68w.js} +1 -1
- package/dist/chunks/{usage-limits-syncbfr5.js → pty-w9w8mt4n.js} +4 -4
- package/dist/chunks/{usage-limits-t55sm04j.js → pty-wahtbzf8.js} +22 -22
- package/dist/chunks/{usage-limits-wakvkjy4.js → pty-wakvkjy4.js} +1 -1
- package/dist/chunks/{usage-limits-wd87259q.js → pty-wd87259q.js} +1 -1
- package/dist/chunks/{usage-limits-wegkxhrn.js → pty-wegkxhrn.js} +2 -2
- package/dist/chunks/{usage-limits-gghksefc.js → pty-wy0ga8wg.js} +13 -13
- package/dist/chunks/{usage-limits-eyvh684h.js → pty-wy1tx2gb.js} +11 -11
- package/dist/chunks/{usage-limits-ajknekjb.js → pty-x1dpdrcs.js} +9 -9
- package/dist/chunks/{usage-limits-zvj4h8b9.js → pty-x53htnnp.js} +9 -9
- package/dist/chunks/{usage-limits-4fff71xm.js → pty-x682s0p9.js} +30 -30
- package/dist/chunks/{usage-limits-41z8sn4e.js → pty-x7rwe091.js} +19 -19
- package/dist/chunks/pty-xbr4bv73.js +587 -0
- package/dist/chunks/{usage-limits-9svta84z.js → pty-xm7bkqev.js} +14 -14
- package/dist/chunks/{usage-limits-qajqy026.js → pty-xmf4xk58.js} +23 -23
- package/dist/chunks/{usage-limits-wh3g8zt4.js → pty-xr37vh5b.js} +13 -13
- package/dist/chunks/{usage-limits-78v4fp2w.js → pty-xtcw8074.js} +9 -9
- package/dist/chunks/{usage-limits-qvyrpqkp.js → pty-xwa956xd.js} +35 -35
- package/dist/chunks/{usage-limits-xxschbft.js → pty-xxschbft.js} +1 -1
- package/dist/chunks/{usage-limits-ha6pfv37.js → pty-y4c383t6.js} +37 -37
- package/dist/chunks/{usage-limits-g2rz1m78.js → pty-y4ty39w2.js} +9 -9
- package/dist/chunks/{usage-limits-y0c5rgh9.js → pty-y5y8fdry.js} +11 -11
- package/dist/chunks/{usage-limits-yb6vavz7.js → pty-y7y3440m.js} +20 -20
- package/dist/chunks/{usage-limits-yb20nhc3.js → pty-yb20nhc3.js} +1 -1
- package/dist/chunks/{usage-limits-7x6m7b1d.js → pty-ybg8zss5.js} +11 -11
- package/dist/chunks/{usage-limits-hj0xet7m.js → pty-yepd7x5v.js} +5 -5
- package/dist/chunks/{usage-limits-sg4q7e4t.js → pty-yhg0k745.js} +3 -3
- package/dist/chunks/{usage-limits-336nvx06.js → pty-yjbhdt29.js} +18 -18
- package/dist/chunks/{usage-limits-3z90y075.js → pty-yk8qeqv5.js} +46 -46
- package/dist/chunks/{usage-limits-r4hg5tw5.js → pty-ymj14b15.js} +5 -5
- package/dist/chunks/{usage-limits-aqzqmjb5.js → pty-ypzfmdvb.js} +4 -4
- package/dist/chunks/{usage-limits-yr705xyq.js → pty-yr705xyq.js} +1 -1
- package/dist/chunks/{usage-limits-t0v6vcxe.js → pty-yrzkg30c.js} +13 -13
- package/dist/chunks/{usage-limits-1h2gmhkn.js → pty-yvccjmj1.js} +44 -44
- package/dist/chunks/{usage-limits-yvtc2x31.js → pty-yvtc2x31.js} +1 -1
- package/dist/chunks/{usage-limits-dr9fe9dk.js → pty-z0b945q9.js} +6 -6
- package/dist/chunks/{usage-limits-z0wbgq7s.js → pty-z0wbgq7s.js} +1 -1
- package/dist/chunks/{usage-limits-r4ak64er.js → pty-z4yba2tb.js} +13 -13
- package/dist/chunks/{usage-limits-7s5wj1pt.js → pty-z6b1dhbd.js} +26 -26
- package/dist/chunks/{usage-limits-y77c2mpj.js → pty-ze530hxp.js} +15 -15
- package/dist/chunks/{usage-limits-r1131j7g.js → pty-zhnybebr.js} +10 -10
- package/dist/chunks/{usage-limits-gpat6g0m.js → pty-zhyeaj2c.js} +24 -24
- package/dist/chunks/{usage-limits-prkcydyg.js → pty-zjee4atp.js} +55 -55
- package/dist/chunks/{usage-limits-xxjq3x9p.js → pty-zkj5hvqk.js} +20 -20
- package/dist/chunks/{usage-limits-ybbk6fth.js → pty-zm4ckv44.js} +11 -11
- package/dist/chunks/{usage-limits-ztmds42j.js → pty-ztmds42j.js} +3 -3
- package/dist/chunks/{usage-limits-qyaeyj8j.js → pty-zvjthybj.js} +31 -31
- package/dist/chunks/{usage-limits-zyfhsknv.js → pty-zyfhsknv.js} +2 -2
- package/dist/chunks/{usage-limits-hanjyc12.js → pty-zyrhd8rm.js} +13 -13
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +150 -150
- package/dist/codemode/instructions.js +4 -4
- package/dist/codemode/tool.js +157 -157
- package/dist/command.js +92 -92
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +3 -3
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +113 -113
- package/dist/config/plugin/agent.js +132 -132
- package/dist/config/plugin/command.js +247 -247
- package/dist/config/plugin/compaction.js +175 -175
- package/dist/config/plugin/compatibility.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +132 -132
- package/dist/config/plugin/image.js +131 -131
- package/dist/config/plugin/instruction.js +132 -132
- package/dist/config/plugin/location-watcher.js +133 -133
- package/dist/config/plugin/mcp.js +146 -146
- package/dist/config/plugin/policy.js +131 -131
- package/dist/config/plugin/provider.js +131 -131
- package/dist/config/plugin/reference.js +133 -133
- package/dist/config/plugin/shell.js +131 -131
- package/dist/config/plugin/skill-file.js +151 -151
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +156 -156
- package/dist/config/plugin/snapshot.js +131 -131
- package/dist/config/plugin/source.js +133 -133
- package/dist/config/plugin/tool-output.js +132 -132
- package/dist/config/plugin/websearch.js +130 -130
- package/dist/config/plugin/worktree.js +133 -133
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +136 -136
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +77 -77
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +76 -76
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/v1-migration.bun.js +100 -100
- package/dist/effect/app-node-builder.js +450 -450
- 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 +109 -109
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +85 -85
- package/dist/file-access.js +162 -162
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +166 -166
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/file-watch.js +91 -91
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +260 -260
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +113 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +114 -114
- package/dist/flag.js +136 -136
- package/dist/form.js +91 -91
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +100 -100
- package/dist/generate.js +121 -121
- package/dist/git.js +11 -11
- package/dist/github-copilot/models.js +113 -113
- package/dist/image/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +441 -441
- package/dist/instruction-discovery.js +96 -96
- package/dist/instructions/builtins.js +101 -101
- package/dist/instructions/index.js +2 -2
- 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 +90 -90
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +190 -190
- package/dist/location-lifecycle.js +155 -155
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +438 -438
- package/dist/location.js +98 -98
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +161 -161
- package/dist/mcp/connection.js +104 -104
- package/dist/mcp/event-errors.js +1 -1
- package/dist/mcp/index.js +151 -151
- package/dist/mcp/instructions.js +192 -192
- package/dist/mcp/oauth.js +90 -90
- package/dist/mcp/pool.js +112 -112
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +161 -161
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +113 -113
- package/dist/model-resolver.js +113 -113
- package/dist/model-retry.js +1 -1
- package/dist/model.js +114 -114
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +116 -116
- package/dist/oauth/page.js +1 -1
- package/dist/oauth/redirect.js +1 -1
- package/dist/permission/saved.js +91 -91
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +158 -158
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +103 -103
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +85 -85
- package/dist/plugin/command.js +146 -146
- package/dist/plugin/fork-notice.js +3 -3
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +251 -251
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +418 -418
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +111 -111
- package/dist/plugin/module.js +128 -128
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +151 -151
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +107 -107
- package/dist/plugin/provider/azure.js +134 -134
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +135 -135
- package/dist/plugin/provider/claude-agent/aisdk.js +116 -116
- 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 +6 -6
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +149 -149
- package/dist/plugin/provider/claude-agent/instructions.js +113 -113
- package/dist/plugin/provider/claude-agent/integration.js +116 -116
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +109 -109
- package/dist/plugin/provider/claude-agent/session.js +115 -115
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +131 -131
- package/dist/plugin/provider/cloudflare-workers-ai.js +131 -131
- package/dist/plugin/provider/configured.js +127 -127
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +110 -110
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +112 -112
- package/dist/plugin/provider/gitlab.js +111 -111
- package/dist/plugin/provider/google-vertex.js +128 -128
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +144 -144
- package/dist/plugin/provider/local.js +141 -141
- package/dist/plugin/provider/modal.js +109 -109
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +144 -144
- package/dist/plugin/provider/openai-context-caps.js +107 -107
- package/dist/plugin/provider/openai.js +135 -135
- package/dist/plugin/provider/opencode-watches.js +4 -4
- package/dist/plugin/provider/opencode.js +163 -163
- package/dist/plugin/provider/openrouter.js +105 -105
- package/dist/plugin/provider/poe.js +91 -91
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +105 -105
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +133 -133
- package/dist/plugin/provider/vllm.js +144 -144
- package/dist/plugin/provider/xai.js +105 -105
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +242 -242
- package/dist/plugin/sdk.js +85 -85
- 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 +428 -428
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +107 -107
- package/dist/plugin/warming.js +131 -131
- package/dist/plugin/websearch/exa.js +6 -6
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +1 -1
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +7 -7
- package/dist/plugin.js +262 -262
- 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 +97 -97
- package/dist/provider.js +103 -103
- 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 +102 -102
- package/dist/reference.js +99 -99
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +109 -109
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +256 -256
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +268 -268
- 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 +133 -133
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +177 -177
- package/dist/session/context.js +208 -208
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +276 -276
- package/dist/session/execution/subagent-report.js +147 -147
- package/dist/session/execution.js +172 -172
- package/dist/session/generate.js +210 -210
- package/dist/session/history.js +141 -141
- package/dist/session/inbox.js +154 -154
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +89 -89
- package/dist/session/instruction-state.js +9 -9
- package/dist/session/instructions.js +146 -146
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +173 -173
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +176 -176
- package/dist/session/projector.js +148 -148
- package/dist/session/prompt.js +153 -153
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +144 -144
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +263 -263
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +115 -115
- package/dist/session/runner/publish-llm-event.js +155 -155
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +166 -166
- package/dist/session/runner/to-llm-message.js +142 -142
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +194 -194
- package/dist/session/shell.js +149 -149
- package/dist/session/skill.js +152 -152
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +147 -147
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +173 -173
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +210 -210
- package/dist/session/to-session-error.js +154 -154
- package/dist/session/transfer.js +260 -260
- package/dist/session/usage.js +1 -1
- package/dist/session.js +253 -253
- 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 +15 -15
- package/dist/shell.js +151 -151
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +156 -156
- package/dist/skill.js +161 -161
- 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 +189 -189
- package/dist/tool/plugin/artifact.js +246 -246
- package/dist/tool/plugin/edit.js +172 -172
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +176 -176
- package/dist/tool/plugin/grep.js +175 -175
- package/dist/tool/plugin/image-generate.js +255 -255
- package/dist/tool/plugin/mcp-events.js +168 -168
- package/dist/tool/plugin/mcp-resource.js +172 -172
- package/dist/tool/plugin/opencode.js +168 -168
- package/dist/tool/plugin/patch.js +173 -173
- package/dist/tool/plugin/question.js +151 -151
- package/dist/tool/plugin/read.js +177 -177
- package/dist/tool/plugin/schedule.js +262 -262
- package/dist/tool/plugin/shell.js +251 -251
- package/dist/tool/plugin/skill.js +160 -160
- package/dist/tool/plugin/subagent.js +253 -253
- package/dist/tool/plugin/todo.js +158 -158
- package/dist/tool/plugin/webfetch.js +160 -160
- package/dist/tool/plugin/websearch.js +158 -158
- package/dist/tool/plugin/write.js +173 -173
- package/dist/tool/read-filesystem.js +114 -114
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +163 -163
- package/dist/usage-limits.js +100 -100
- package/dist/util/canonical-json.js +1 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +3 -3
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +106 -106
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +105 -105
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +101 -101
- package/dist/websearch.js +103 -103
- 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 +109 -109
- package/package.json +8 -8
- package/dist/chunks/usage-limits-5xgr5p8k.js +0 -26
- package/dist/chunks/usage-limits-7yv5xa0k.js +0 -18
- package/dist/chunks/usage-limits-9hyze6gm.js +0 -273
- package/dist/chunks/usage-limits-bgsdyws9.js +0 -35
- package/dist/chunks/usage-limits-zbb2x72m.js +0 -587
- /package/dist/chunks/{usage-limits-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{usage-limits-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{usage-limits-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{usage-limits-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{usage-limits-1kah00gy.js → pty-1kah00gy.js} +0 -0
- /package/dist/chunks/{usage-limits-24dcb14g.js → pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{usage-limits-2710q6r3.js → pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{usage-limits-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{usage-limits-359p4xyc.js → pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{usage-limits-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{usage-limits-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{usage-limits-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{usage-limits-4qk9sjk2.js → pty-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{usage-limits-53557ph1.js → pty-53557ph1.js} +0 -0
- /package/dist/chunks/{usage-limits-5w3e23ze.js → pty-5w3e23ze.js} +0 -0
- /package/dist/chunks/{usage-limits-6agm2x70.js → pty-6agm2x70.js} +0 -0
- /package/dist/chunks/{usage-limits-6prwharc.js → pty-6prwharc.js} +0 -0
- /package/dist/chunks/{usage-limits-6q2bdcd1.js → pty-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{usage-limits-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{usage-limits-7m9af43g.js → pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{usage-limits-7rvsyqjv.js → pty-7rvsyqjv.js} +0 -0
- /package/dist/chunks/{usage-limits-822emrt2.js → pty-822emrt2.js} +0 -0
- /package/dist/chunks/{usage-limits-84wd9syh.js → pty-84wd9syh.js} +0 -0
- /package/dist/chunks/{usage-limits-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{usage-limits-8n3pysct.js → pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{usage-limits-8wj87zfr.js → pty-8wj87zfr.js} +0 -0
- /package/dist/chunks/{usage-limits-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{usage-limits-9ceax7yg.js → pty-9ceax7yg.js} +0 -0
- /package/dist/chunks/{usage-limits-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{usage-limits-ade8csyh.js → pty-ade8csyh.js} +0 -0
- /package/dist/chunks/{usage-limits-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{usage-limits-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{usage-limits-beh6qq61.js → pty-beh6qq61.js} +0 -0
- /package/dist/chunks/{usage-limits-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{usage-limits-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{usage-limits-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{usage-limits-cqv5kn06.js → pty-cqv5kn06.js} +0 -0
- /package/dist/chunks/{usage-limits-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{usage-limits-d9fn303g.js → pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{usage-limits-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{usage-limits-df08tz66.js → pty-df08tz66.js} +0 -0
- /package/dist/chunks/{usage-limits-dy18nga0.js → pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{usage-limits-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{usage-limits-ean2d8b5.js → pty-ean2d8b5.js} +0 -0
- /package/dist/chunks/{usage-limits-ec1grn59.js → pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{usage-limits-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{usage-limits-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{usage-limits-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{usage-limits-faypxj3z.js → pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{usage-limits-fd410y7t.js → pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{usage-limits-fkpq3x5p.js → pty-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{usage-limits-g86h250q.js → pty-g86h250q.js} +0 -0
- /package/dist/chunks/{usage-limits-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{usage-limits-gftt206x.js → pty-gftt206x.js} +0 -0
- /package/dist/chunks/{usage-limits-hcxmzztb.js → pty-hcxmzztb.js} +0 -0
- /package/dist/chunks/{usage-limits-hk9envan.js → pty-hk9envan.js} +0 -0
- /package/dist/chunks/{usage-limits-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{usage-limits-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{usage-limits-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{usage-limits-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{usage-limits-jwr30sdr.js → pty-jwr30sdr.js} +0 -0
- /package/dist/chunks/{usage-limits-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{usage-limits-m18g726c.js → pty-m18g726c.js} +0 -0
- /package/dist/chunks/{usage-limits-mp448xyj.js → pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{usage-limits-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{usage-limits-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{usage-limits-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{usage-limits-nh4v3znn.js → pty-nh4v3znn.js} +0 -0
- /package/dist/chunks/{usage-limits-njntx4h6.js → pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{usage-limits-p71gwv9c.js → pty-p71gwv9c.js} +0 -0
- /package/dist/chunks/{usage-limits-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{usage-limits-q74kybfr.js → pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{usage-limits-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{usage-limits-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{usage-limits-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{usage-limits-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{usage-limits-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{usage-limits-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{usage-limits-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{usage-limits-syrav9an.js → pty-syrav9an.js} +0 -0
- /package/dist/chunks/{usage-limits-t03h4f5z.js → pty-t03h4f5z.js} +0 -0
- /package/dist/chunks/{usage-limits-ty7weeps.js → pty-ty7weeps.js} +0 -0
- /package/dist/chunks/{usage-limits-v2dnd5dt.js → pty-v2dnd5dt.js} +0 -0
- /package/dist/chunks/{usage-limits-ve7vex1e.js → pty-ve7vex1e.js} +0 -0
- /package/dist/chunks/{usage-limits-vtarvj67.js → pty-vtarvj67.js} +0 -0
- /package/dist/chunks/{usage-limits-w803qqfp.js → pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{usage-limits-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{usage-limits-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{usage-limits-wtztk69x.js → pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{usage-limits-x4th4bpe.js → pty-x4th4bpe.js} +0 -0
- /package/dist/chunks/{usage-limits-y44na4kk.js → pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{usage-limits-y8f7s663.js → pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{usage-limits-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{usage-limits-z5v4ffb3.js → pty-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{usage-limits-z9919s4g.js → pty-z9919s4g.js} +0 -0
- /package/dist/chunks/{usage-limits-zxpyjp51.js → pty-zxpyjp51.js} +0 -0
- /package/dist/chunks/{usage-limits-zz5vv3aq.js → pty-zz5vv3aq.js} +0 -0
|
@@ -1,115 +1,115 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service94,
|
|
3
3
|
node96
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-fztzyxrs.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service86,
|
|
7
|
+
node88
|
|
8
|
+
} from "./pty-xm7bkqev.js";
|
|
9
9
|
import {
|
|
10
10
|
VariantID2,
|
|
11
11
|
Ref3,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service82,
|
|
13
|
+
node84
|
|
14
|
+
} from "./pty-be6e81x0.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
16
|
+
ID13,
|
|
17
|
+
Service70,
|
|
18
|
+
node72
|
|
19
|
+
} from "./pty-kcr186t0.js";
|
|
20
20
|
import {
|
|
21
21
|
AgentNotFoundError2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./pty-b09zhmpv.js";
|
|
23
23
|
import {
|
|
24
24
|
combine2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./pty-f2zjpyt5.js";
|
|
26
26
|
import {
|
|
27
27
|
entriesForRunner2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./pty-rfvharvn.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
} from "./
|
|
30
|
+
Service68,
|
|
31
|
+
node70
|
|
32
|
+
} from "./pty-hqqb2y2p.js";
|
|
33
33
|
import {
|
|
34
34
|
merge2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./pty-vm46z34s.js";
|
|
36
36
|
import {
|
|
37
37
|
make25
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./pty-ztmds42j.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
} from "./
|
|
40
|
+
Service54,
|
|
41
|
+
node56
|
|
42
|
+
} from "./pty-a643e63t.js";
|
|
43
43
|
import {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
} from "./
|
|
44
|
+
Service33,
|
|
45
|
+
node37
|
|
46
|
+
} from "./pty-2bz3yr90.js";
|
|
47
47
|
import {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
} from "./
|
|
51
|
-
import {
|
|
52
|
-
Service67,
|
|
53
|
-
node70
|
|
54
|
-
} from "./usage-limits-tca2sw22.js";
|
|
48
|
+
Service66,
|
|
49
|
+
node68
|
|
50
|
+
} from "./pty-wahtbzf8.js";
|
|
55
51
|
import {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
} from "./
|
|
52
|
+
Service64,
|
|
53
|
+
node67
|
|
54
|
+
} from "./pty-r6j6qbdv.js";
|
|
59
55
|
import {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
} from "./
|
|
56
|
+
Service35,
|
|
57
|
+
node39
|
|
58
|
+
} from "./pty-xwa956xd.js";
|
|
63
59
|
import {
|
|
64
60
|
Service34,
|
|
65
61
|
node38
|
|
66
|
-
} from "./
|
|
67
|
-
import {
|
|
68
|
-
Service37,
|
|
69
|
-
node40
|
|
70
|
-
} from "./usage-limits-xxjq3x9p.js";
|
|
62
|
+
} from "./pty-qd4akt1k.js";
|
|
71
63
|
import {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
} from "./
|
|
64
|
+
Service40,
|
|
65
|
+
node43
|
|
66
|
+
} from "./pty-q21w6f4c.js";
|
|
75
67
|
import {
|
|
76
68
|
Service32,
|
|
77
69
|
node36
|
|
78
|
-
} from "./
|
|
70
|
+
} from "./pty-zkj5hvqk.js";
|
|
71
|
+
import {
|
|
72
|
+
Service29,
|
|
73
|
+
node33
|
|
74
|
+
} from "./pty-3dtf6evj.js";
|
|
75
|
+
import {
|
|
76
|
+
Service30,
|
|
77
|
+
node34
|
|
78
|
+
} from "./pty-k1cgmjrv.js";
|
|
79
79
|
import {
|
|
80
80
|
__export
|
|
81
|
-
} from "./
|
|
81
|
+
} from "./pty-9rqn6x4v.js";
|
|
82
82
|
|
|
83
83
|
// src/session/context.ts
|
|
84
84
|
var exports_context = {};
|
|
85
85
|
__export(exports_context, {
|
|
86
|
-
Service: () =>
|
|
86
|
+
Service: () => Service28,
|
|
87
87
|
SessionContext: () => exports_context,
|
|
88
|
-
node: () =>
|
|
88
|
+
node: () => node32
|
|
89
89
|
});
|
|
90
90
|
import { Context, Effect, Layer } from "effect";
|
|
91
91
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
92
|
-
class
|
|
92
|
+
class Service28 extends Context.Service()("@opencode/SessionContext") {
|
|
93
93
|
}
|
|
94
|
-
var layer = Layer.effect(
|
|
95
|
-
const agents = yield*
|
|
96
|
-
const builtins = yield*
|
|
97
|
-
const model = yield*
|
|
94
|
+
var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
95
|
+
const agents = yield* Service70;
|
|
96
|
+
const builtins = yield* Service33;
|
|
97
|
+
const model = yield* Service82;
|
|
98
98
|
const db = (yield* Service94).db;
|
|
99
|
-
const discovery = yield*
|
|
100
|
-
const entries = yield*
|
|
101
|
-
const location = yield*
|
|
102
|
-
const mcpInstructions = yield*
|
|
103
|
-
const mcpTools = yield*
|
|
104
|
-
const models = yield*
|
|
105
|
-
const request = yield*
|
|
106
|
-
const referenceInstructions = yield*
|
|
107
|
-
const skillInstructions = yield*
|
|
108
|
-
const store = yield*
|
|
109
|
-
const registry = yield*
|
|
99
|
+
const discovery = yield* Service54;
|
|
100
|
+
const entries = yield* Service29;
|
|
101
|
+
const location = yield* Service86;
|
|
102
|
+
const mcpInstructions = yield* Service34;
|
|
103
|
+
const mcpTools = yield* Service35;
|
|
104
|
+
const models = yield* Service66;
|
|
105
|
+
const request = yield* Service30;
|
|
106
|
+
const referenceInstructions = yield* Service40;
|
|
107
|
+
const skillInstructions = yield* Service32;
|
|
108
|
+
const store = yield* Service68;
|
|
109
|
+
const registry = yield* Service64;
|
|
110
110
|
const resolveModel = (session, request) => models.resolve(session, model.available, request);
|
|
111
111
|
const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
|
|
112
|
-
const agent = yield* agents.get(
|
|
112
|
+
const agent = yield* agents.get(ID13.make("title"));
|
|
113
113
|
if (!agent)
|
|
114
114
|
return;
|
|
115
115
|
const primary = yield* resolveModel(session, { kind: "title", agent: agent.id }).pipe(Effect.orElseSucceed(() => {
|
|
@@ -191,7 +191,7 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
191
191
|
tools: selection.tools
|
|
192
192
|
};
|
|
193
193
|
});
|
|
194
|
-
return
|
|
194
|
+
return Service28.of({ select, load, resolveModel, selectTitle, request });
|
|
195
195
|
}));
|
|
196
196
|
var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => VariantID2.make(id));
|
|
197
197
|
var minimalVariant = (info) => MINIMAL_REASONING_VARIANTS.find((id) => info.variants.some((item) => item.id === id));
|
|
@@ -199,26 +199,26 @@ var lowerVariant = (info, selected) => {
|
|
|
199
199
|
const rank = (id) => info.variants.findIndex((item) => item.id === id);
|
|
200
200
|
return MINIMAL_REASONING_VARIANTS.find((id) => rank(id) !== -1 && (id !== "low" || rank(id) < rank(selected)));
|
|
201
201
|
};
|
|
202
|
-
var
|
|
203
|
-
service:
|
|
202
|
+
var node32 = makeLocationNode({
|
|
203
|
+
service: Service28,
|
|
204
204
|
layer,
|
|
205
205
|
deps: [
|
|
206
|
-
|
|
207
|
-
|
|
206
|
+
node72,
|
|
207
|
+
node84,
|
|
208
208
|
node96,
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
node41,
|
|
214
|
-
node42,
|
|
209
|
+
node37,
|
|
210
|
+
node56,
|
|
211
|
+
node33,
|
|
212
|
+
node88,
|
|
215
213
|
node38,
|
|
216
|
-
|
|
214
|
+
node39,
|
|
215
|
+
node43,
|
|
216
|
+
node68,
|
|
217
|
+
node34,
|
|
218
|
+
node70,
|
|
217
219
|
node36,
|
|
218
|
-
|
|
219
|
-
node40,
|
|
220
|
-
node70
|
|
220
|
+
node67
|
|
221
221
|
]
|
|
222
222
|
});
|
|
223
223
|
|
|
224
|
-
export {
|
|
224
|
+
export { Service28, node32, exports_context };
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Service76,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node78
|
|
5
|
+
} from "./pty-0ra0vqbe.js";
|
|
6
6
|
import {
|
|
7
7
|
join2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./pty-f2zjpyt5.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service71,
|
|
11
|
+
node73
|
|
12
|
+
} from "./pty-d34c0f98.js";
|
|
13
13
|
import {
|
|
14
14
|
DeclinedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./pty-vm46z34s.js";
|
|
16
16
|
import {
|
|
17
17
|
CancelledError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./pty-zm4ckv44.js";
|
|
19
19
|
import {
|
|
20
20
|
Error5
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./pty-r6j6qbdv.js";
|
|
22
22
|
import {
|
|
23
23
|
get5
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./pty-3nnrz6f6.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service31,
|
|
27
|
+
node35
|
|
28
|
+
} from "./pty-n1aahvmz.js";
|
|
29
29
|
import {
|
|
30
30
|
make26
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./pty-6y2b864j.js";
|
|
32
32
|
import {
|
|
33
33
|
toLLMMessages2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./pty-nwgt7meq.js";
|
|
35
35
|
import {
|
|
36
36
|
__export
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./pty-9rqn6x4v.js";
|
|
38
38
|
|
|
39
39
|
// src/session/model-request.ts
|
|
40
40
|
var exports_model_request = {};
|
|
41
41
|
__export(exports_model_request, {
|
|
42
|
-
Service: () =>
|
|
42
|
+
Service: () => Service30,
|
|
43
43
|
SessionModelRequest: () => exports_model_request,
|
|
44
44
|
baseTranscript: () => baseTranscript2,
|
|
45
45
|
boundImages: () => boundImages2,
|
|
46
|
-
layer: () =>
|
|
47
|
-
node: () =>
|
|
46
|
+
layer: () => layer12,
|
|
47
|
+
node: () => node34,
|
|
48
48
|
outputLimit: () => outputLimit2,
|
|
49
49
|
unsupportedParts: () => unsupportedParts2
|
|
50
50
|
});
|
|
@@ -187,12 +187,12 @@ var boundImages2 = (messages) => {
|
|
|
187
187
|
});
|
|
188
188
|
};
|
|
189
189
|
|
|
190
|
-
class
|
|
190
|
+
class Service30 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
191
191
|
}
|
|
192
|
-
var
|
|
193
|
-
const hooks = yield*
|
|
194
|
-
const transport = yield*
|
|
195
|
-
const app = yield*
|
|
192
|
+
var layer12 = Layer.effect(Service30, Effect.gen(function* () {
|
|
193
|
+
const hooks = yield* Service71;
|
|
194
|
+
const transport = yield* Service31;
|
|
195
|
+
const app = yield* Service76;
|
|
196
196
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
197
197
|
const session = input.session;
|
|
198
198
|
const model = input.model;
|
|
@@ -290,17 +290,17 @@ var layer14 = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
290
290
|
};
|
|
291
291
|
});
|
|
292
292
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
293
|
-
return
|
|
293
|
+
return Service30.of({
|
|
294
294
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
295
295
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
296
296
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
297
297
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
298
298
|
});
|
|
299
299
|
}));
|
|
300
|
-
var
|
|
301
|
-
service:
|
|
302
|
-
layer:
|
|
303
|
-
deps: [
|
|
300
|
+
var node34 = makeLocationNode({
|
|
301
|
+
service: Service30,
|
|
302
|
+
layer: layer12,
|
|
303
|
+
deps: [node73, node35, node78]
|
|
304
304
|
});
|
|
305
305
|
|
|
306
|
-
export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2,
|
|
306
|
+
export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2, Service30, layer12, node34, exports_model_request };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
stringify2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-7rvsyqjv.js";
|
|
7
7
|
import {
|
|
8
8
|
contentFilterError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-mdqwgwkn.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/publish-llm-event.ts
|
|
12
12
|
import { isRecord } from "@opencode/util/record";
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
server2,
|
|
3
3
|
headers2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-kt3bjfbg.js";
|
|
5
5
|
import {
|
|
6
6
|
ID20,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service90,
|
|
8
|
+
node92
|
|
9
|
+
} from "./pty-95zraw8z.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/usage-limits.ts
|
|
15
15
|
var exports_usage_limits = {};
|
|
16
16
|
__export(exports_usage_limits, {
|
|
17
|
-
Info: () =>
|
|
18
|
-
Service: () =>
|
|
19
|
-
UnavailableError: () =>
|
|
17
|
+
Info: () => Info3,
|
|
18
|
+
Service: () => Service13,
|
|
19
|
+
UnavailableError: () => UnavailableError2,
|
|
20
20
|
UsageLimits: () => exports_usage_limits,
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
21
|
+
layer: () => layer10,
|
|
22
|
+
node: () => node15
|
|
23
23
|
});
|
|
24
24
|
import { Model } from "@opencode/schema/model";
|
|
25
25
|
import { Money } from "@opencode/schema/money";
|
|
@@ -29,23 +29,23 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
29
29
|
import { httpClient } from "@opencode/util/effect/app-node-platform";
|
|
30
30
|
import { Context, Duration, Effect, Layer, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
32
|
-
var
|
|
32
|
+
var Info3 = UsageLimits.Info;
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class UnavailableError2 extends Schema.TaggedError()("UsageLimits.UnavailableError", {
|
|
35
35
|
message: Schema.String
|
|
36
36
|
}) {
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service13 extends Context.Service()("@opencode/UsageLimits") {
|
|
40
40
|
}
|
|
41
|
-
var
|
|
42
|
-
const integrations = yield*
|
|
41
|
+
var layer10 = Layer.effect(Service13, Effect.gen(function* () {
|
|
42
|
+
const integrations = yield* Service90;
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
44
44
|
const get = Effect.fn("UsageLimits.get")(function* () {
|
|
45
45
|
const connection = yield* integrations.connection.active(ID20.make("opencode"));
|
|
46
46
|
if (!connection)
|
|
47
47
|
return;
|
|
48
|
-
const credential = yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new
|
|
48
|
+
const credential = yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError2({ message: error.message })));
|
|
49
49
|
if (!credential || credential.type === "external")
|
|
50
50
|
return;
|
|
51
51
|
const workspaceID = credential.metadata?.orgID;
|
|
@@ -54,7 +54,7 @@ var layer12 = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
54
54
|
const server = server2(credential);
|
|
55
55
|
const [budgets, go] = yield* Effect.all([readBudgets(http, server, credential), readGo(http, server, credential, workspaceID)], { concurrency: 2 }).pipe(Effect.timeoutOrElse({
|
|
56
56
|
duration: Duration.seconds(15),
|
|
57
|
-
orElse: () => Effect.fail(new
|
|
57
|
+
orElse: () => Effect.fail(new UnavailableError2({ message: "OpenCode Console usage limits timed out" }))
|
|
58
58
|
}));
|
|
59
59
|
return {
|
|
60
60
|
workspace: {
|
|
@@ -66,12 +66,12 @@ var layer12 = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
66
66
|
budgets
|
|
67
67
|
};
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service13.of({ get });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
72
|
-
service:
|
|
73
|
-
layer:
|
|
74
|
-
deps: [
|
|
71
|
+
var node15 = makeLocationNode({
|
|
72
|
+
service: Service13,
|
|
73
|
+
layer: layer10,
|
|
74
|
+
deps: [node92, httpClient]
|
|
75
75
|
});
|
|
76
76
|
var ConsoleBudget = Schema.Struct({
|
|
77
77
|
ruleID: Schema.String,
|
|
@@ -117,17 +117,17 @@ function readBudgets(http, server, credential) {
|
|
|
117
117
|
picked: budget.picked,
|
|
118
118
|
shared: budget.shared,
|
|
119
119
|
resetsAt: budget.resetsAt.getTime()
|
|
120
|
-
}))))), Effect.scoped, Effect.mapError((error) => new
|
|
120
|
+
}))))), Effect.scoped, Effect.mapError((error) => new UnavailableError2({ message: `OpenCode Console budgets are unavailable: ${error.message}` })));
|
|
121
121
|
}
|
|
122
122
|
function readGo(http, server, credential, workspaceID) {
|
|
123
123
|
return HttpClient.withScope(http).execute(HttpClientRequest.get(`${new URL(server).origin}/zen/go/v1/usage`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(credential.type === "oauth" ? credential.access : credential.key), HttpClientRequest.setHeader("x-opencode-org-id", workspaceID))).pipe(Effect.flatMap((response) => response.status === 403 ? Effect.succeed(undefined) : HttpClientResponse.filterStatusOk(response).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(GoUsage)), Effect.map((body) => ({
|
|
124
124
|
rolling: meter(body.usage.rolling),
|
|
125
125
|
weekly: meter(body.usage.weekly),
|
|
126
126
|
monthly: meter(body.usage.monthly)
|
|
127
|
-
})))), Effect.scoped, Effect.mapError((error) => new
|
|
127
|
+
})))), Effect.scoped, Effect.mapError((error) => new UnavailableError2({ message: `OpenCode Go usage is unavailable: ${error.message}` })));
|
|
128
128
|
}
|
|
129
129
|
function meter(value) {
|
|
130
130
|
return { percent: value.percent, limited: value.status === "rate-limited", resetsAt: value.resetsAt.getTime() };
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
export {
|
|
133
|
+
export { Info3, UnavailableError2, Service13, layer10, node15, exports_usage_limits };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service94
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-fztzyxrs.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service93
|
|
6
|
+
} from "./pty-msktpew6.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service51
|
|
9
|
+
} from "./pty-c4970w7t.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-8kjyvwy5.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./pty-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
NotFoundError10,
|
|
18
18
|
PromptConflictError2,
|
|
19
19
|
SyntheticConflictError2,
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./pty-b09zhmpv.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./pty-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
28
|
SyntheticPayload2,
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
Service50
|
|
30
|
+
} from "./pty-d30zf05b.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
Service68
|
|
33
|
+
} from "./pty-hqqb2y2p.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
35
|
+
Service48
|
|
36
|
+
} from "./pty-6ksmbjyz.js";
|
|
37
37
|
import {
|
|
38
38
|
prepare2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./pty-j18wr2rk.js";
|
|
40
40
|
import {
|
|
41
41
|
stage2,
|
|
42
42
|
clear2,
|
|
43
43
|
commit2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./pty-hpp5gkvg.js";
|
|
45
45
|
import {
|
|
46
46
|
start5
|
|
47
|
-
} from "./
|
|
47
|
+
} from "./pty-xtcw8074.js";
|
|
48
48
|
import {
|
|
49
49
|
get4
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./pty-x53htnnp.js";
|
|
51
51
|
import {
|
|
52
52
|
__export
|
|
53
|
-
} from "./
|
|
53
|
+
} from "./pty-9rqn6x4v.js";
|
|
54
54
|
|
|
55
55
|
// src/session/session.ts
|
|
56
56
|
var exports_session4 = {};
|
|
@@ -62,18 +62,18 @@ import { DateTime, Effect, Fiber, Scope } from "effect";
|
|
|
62
62
|
import { Event } from "@opencode/schema/event";
|
|
63
63
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
64
64
|
var make24 = Effect.fn("Session.make")(function* () {
|
|
65
|
-
const bus = yield*
|
|
65
|
+
const bus = yield* Service93;
|
|
66
66
|
const database = yield* Service94;
|
|
67
|
-
const store = yield*
|
|
68
|
-
const instances = yield*
|
|
69
|
-
const execution = yield*
|
|
70
|
-
const admission = yield*
|
|
67
|
+
const store = yield* Service68;
|
|
68
|
+
const instances = yield* Service51;
|
|
69
|
+
const execution = yield* Service48;
|
|
70
|
+
const admission = yield* Service50;
|
|
71
71
|
const fs = yield* FSUtil.Service;
|
|
72
72
|
const scope = yield* Scope.Scope;
|
|
73
73
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
74
74
|
const session = yield* store.get(sessionID);
|
|
75
75
|
if (!session)
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new NotFoundError10({ sessionID });
|
|
77
77
|
return session;
|
|
78
78
|
});
|
|
79
79
|
const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
|
|
@@ -164,7 +164,7 @@ var make24 = Effect.fn("Session.make")(function* () {
|
|
|
164
164
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
165
165
|
const session = yield* get(sessionID);
|
|
166
166
|
const running = yield* Effect.gen(function* () {
|
|
167
|
-
const started = yield* start5({ session, command: input.command }).pipe(Effect.provideService(
|
|
167
|
+
const started = yield* start5({ session, command: input.command }).pipe(Effect.provideService(Service51, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
168
168
|
text: `User shell command failed to start:
|
|
169
169
|
${input.command}
|
|
170
170
|
|
|
@@ -193,7 +193,7 @@ ${error.message}`,
|
|
|
193
193
|
});
|
|
194
194
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
195
195
|
const session = yield* get(sessionID);
|
|
196
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
196
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service51, instances));
|
|
197
197
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
198
198
|
sessionID,
|
|
199
199
|
id: skill.id,
|
|
@@ -250,13 +250,13 @@ ${error.message}`,
|
|
|
250
250
|
const session = yield* get(sessionID);
|
|
251
251
|
if (yield* execution.isActive(sessionID))
|
|
252
252
|
return yield* new BusyError2({ sessionID });
|
|
253
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
253
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service51, instances), Effect.provideService(Service94, database), Effect.provideService(Service93, bus));
|
|
254
254
|
});
|
|
255
255
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
256
256
|
const session = yield* get(sessionID);
|
|
257
257
|
if (yield* execution.isActive(sessionID))
|
|
258
258
|
return yield* new BusyError2({ sessionID });
|
|
259
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
259
|
+
yield* clear2(session).pipe(Effect.provideService(Service51, instances), Effect.provideService(Service93, bus));
|
|
260
260
|
return yield* execution.wake(sessionID);
|
|
261
261
|
});
|
|
262
262
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/claude-agent/sync/record.ts
|
|
6
6
|
var exports_record = {};
|
|
7
7
|
__export(exports_record, {
|
|
8
8
|
SessionRecord: () => exports_record,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make8
|
|
10
10
|
});
|
|
11
11
|
import { Effect, Option, Schema } from "effect";
|
|
12
12
|
var Checkpoint = Schema.Struct({ hash: Schema.String, claudeMessageID: Schema.optional(Schema.String) });
|
|
@@ -15,7 +15,7 @@ var Record = Schema.Struct({
|
|
|
15
15
|
history: Schema.optional(Schema.Array(Checkpoint)),
|
|
16
16
|
interrupted: Schema.optional(Schema.Boolean)
|
|
17
17
|
});
|
|
18
|
-
function
|
|
18
|
+
function make8(storage) {
|
|
19
19
|
return {
|
|
20
20
|
get: Effect.fn("SessionRecord.get")(function* (sessionID) {
|
|
21
21
|
const saved = Schema.decodeUnknownOption(Record)(yield* storage.get(`sessions/${sessionID}`));
|
|
@@ -25,4 +25,4 @@ function make7(storage) {
|
|
|
25
25
|
};
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
export {
|
|
28
|
+
export { make8, exports_record };
|