@opencode/core 0.0.0-dev-877 → 0.0.0-dev-878
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 +94 -94
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +7 -7
- package/dist/artifact.js +254 -254
- package/dist/bus.js +80 -80
- package/dist/chunks/{git-ws6bkvx4.js → pty-0082486v.js} +12 -12
- package/dist/chunks/pty-00ve6mdn.js +18 -0
- package/dist/chunks/{git-034tev2y.js → pty-034tev2y.js} +2 -2
- package/dist/chunks/{git-e388bv6v.js → pty-04qyyzkb.js} +7 -7
- package/dist/chunks/{git-9vmsqv1h.js → pty-04taggxf.js} +1 -1
- package/dist/chunks/{git-9cgrg5sn.js → pty-08zs3z5t.js} +36 -36
- package/dist/chunks/{git-91pq3adq.js → pty-0apqa2j6.js} +3 -3
- package/dist/chunks/{git-6795q8e3.js → pty-0bm0vtwv.js} +11 -11
- package/dist/chunks/{git-gb1g2x4k.js → pty-0cs6619n.js} +27 -27
- package/dist/chunks/{git-jsc8ycs5.js → pty-0dbdcyb4.js} +22 -22
- package/dist/chunks/{git-p29q87c6.js → pty-0jk4gzvn.js} +13 -13
- package/dist/chunks/{git-0ma9gw4f.js → pty-0ma9gw4f.js} +2 -2
- package/dist/chunks/{git-x2cyss11.js → pty-0p2chd15.js} +18 -18
- package/dist/chunks/{git-03bqgv3d.js → pty-0pcgz03n.js} +16 -16
- package/dist/chunks/{git-aqsf8b5y.js → pty-0t2mkgep.js} +4 -4
- package/dist/chunks/{git-sj3sd7dm.js → pty-0xgshe2y.js} +10 -10
- package/dist/chunks/{git-s49mjxh7.js → pty-0yg79bww.js} +5 -5
- package/dist/chunks/{git-1xckstgy.js → pty-18b1hh0p.js} +11 -11
- package/dist/chunks/{git-1aqsckx4.js → pty-1aqsckx4.js} +1 -1
- package/dist/chunks/{git-1ep2p91f.js → pty-1ep2p91f.js} +2 -2
- package/dist/chunks/{git-tqqy5sm4.js → pty-1gpdc67x.js} +29 -29
- package/dist/chunks/{git-0gqnrxt9.js → pty-1p738f31.js} +20 -20
- package/dist/chunks/{git-7b03s8dy.js → pty-1sfhq3gh.js} +20 -20
- package/dist/chunks/{git-pxrqm68d.js → pty-1v2g13eq.js} +8 -8
- package/dist/chunks/{git-1x2knyw4.js → pty-1x2knyw4.js} +1 -1
- package/dist/chunks/{git-b5h8zkmc.js → pty-1xn430j4.js} +16 -16
- package/dist/chunks/{git-bdhd9h6e.js → pty-1yq9hg58.js} +5 -5
- package/dist/chunks/{git-cp6k9vjq.js → pty-1z2ezsn0.js} +4 -4
- package/dist/chunks/{git-z0c26qk4.js → pty-22wp63zj.js} +2 -2
- package/dist/chunks/{git-25h84942.js → pty-25h84942.js} +1 -1
- package/dist/chunks/{git-v4bj6baw.js → pty-26wfx3k0.js} +4 -4
- package/dist/chunks/{git-4t2sgz32.js → pty-27rxkcxv.js} +20 -20
- package/dist/chunks/{git-tn46mmh5.js → pty-2cdpqtk9.js} +4 -4
- package/dist/chunks/{git-5z0ewh0k.js → pty-2eh0f1sg.js} +24 -24
- package/dist/chunks/{git-2fc7eemy.js → pty-2fc7eemy.js} +1 -1
- package/dist/chunks/{git-pcyqp9fj.js → pty-2kkn5h22.js} +2 -2
- package/dist/chunks/{git-ew421enx.js → pty-2n6tcy7a.js} +19 -19
- package/dist/chunks/{git-2p60zmnr.js → pty-2p60zmnr.js} +2 -2
- package/dist/chunks/{git-qaytk5qx.js → pty-2ss5f5ss.js} +5 -5
- package/dist/chunks/{git-wq7h4fzf.js → pty-2twxdwbq.js} +13 -13
- package/dist/chunks/{git-yjs4xt5n.js → pty-2zz3xz3r.js} +9 -9
- package/dist/chunks/{git-rzg6y5rp.js → pty-38aws4xb.js} +4 -4
- package/dist/chunks/{git-d5z6mkpf.js → pty-38nka762.js} +9 -9
- package/dist/chunks/{git-39sgvy3e.js → pty-39sgvy3e.js} +4 -4
- package/dist/chunks/{git-fjydg50v.js → pty-3bzhzpnf.js} +4 -4
- package/dist/chunks/{git-rt18gyq5.js → pty-3cse29s9.js} +6 -6
- package/dist/chunks/{git-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{git-3nnrz6f6.js → pty-3nnrz6f6.js} +1 -1
- package/dist/chunks/{git-9j9dggvf.js → pty-3p62j0nb.js} +6 -6
- package/dist/chunks/{git-63xym3gh.js → pty-3ryz99p0.js} +4 -4
- package/dist/chunks/{git-pty4hktj.js → pty-3txdrh00.js} +23 -23
- package/dist/chunks/{git-mm27w63f.js → pty-3txg0pd7.js} +11 -11
- package/dist/chunks/{git-0qak39qg.js → pty-3z8vx0gr.js} +11 -11
- package/dist/chunks/{git-44h066km.js → pty-3zjvswjq.js} +18 -18
- package/dist/chunks/{git-bfef7565.js → pty-40vsxc6j.js} +36 -36
- package/dist/chunks/{git-40y6dtc2.js → pty-40y6dtc2.js} +1 -1
- package/dist/chunks/{git-44pmzq9c.js → pty-44pmzq9c.js} +2 -2
- package/dist/chunks/{git-bx2ghzcj.js → pty-46cyrfev.js} +24 -24
- package/dist/chunks/{git-qz8etm46.js → pty-47rsk148.js} +4 -4
- package/dist/chunks/{git-xsskj9ss.js → pty-47t61vtt.js} +9 -9
- package/dist/chunks/{git-4dx1dgte.js → pty-4dx1dgte.js} +1 -1
- package/dist/chunks/{git-4f25tdd0.js → pty-4f25tdd0.js} +1 -1
- package/dist/chunks/{git-y9x9m3cp.js → pty-4g3sdj5g.js} +9 -9
- package/dist/chunks/{git-qax158c6.js → pty-4kkdjnw8.js} +2 -2
- package/dist/chunks/{git-4pyp9zr9.js → pty-4pyp9zr9.js} +1 -1
- package/dist/chunks/{git-6a8yk7g9.js → pty-4rzh7d7z.js} +3 -3
- package/dist/chunks/{git-0frc0r1x.js → pty-4tc4dv8y.js} +23 -23
- package/dist/chunks/{git-4v008n1t.js → pty-4v008n1t.js} +1 -1
- package/dist/chunks/{git-83shbj64.js → pty-4vtpdmjt.js} +17 -17
- package/dist/chunks/{git-tp0ex5xf.js → pty-4wh9bgn2.js} +13 -13
- package/dist/chunks/{git-wgz5mth4.js → pty-50emzza2.js} +9 -9
- package/dist/chunks/{git-rfyfdpdh.js → pty-54x8tjhq.js} +21 -21
- package/dist/chunks/{git-h3bkzmev.js → pty-58yve0v1.js} +9 -9
- package/dist/chunks/{git-kxhqpggx.js → pty-59t9ct3m.js} +25 -25
- package/dist/chunks/{git-5enarcya.js → pty-5enarcya.js} +2 -2
- package/dist/chunks/{git-5m9w47nd.js → pty-5m9w47nd.js} +1 -1
- package/dist/chunks/{git-6ss6ngz0.js → pty-5w1mdqt7.js} +4 -4
- package/dist/chunks/{git-hrav46rw.js → pty-5yffcetz.js} +16 -16
- package/dist/chunks/{git-pavzvnye.js → pty-5zdad6yg.js} +32 -32
- package/dist/chunks/{git-vevq54rd.js → pty-60zgrctx.js} +23 -23
- package/dist/chunks/{git-4ckwpsmh.js → pty-633pgj7g.js} +9 -9
- package/dist/chunks/{git-bvtjjqvm.js → pty-69e6bcea.js} +46 -46
- package/dist/chunks/{git-fd7zzepq.js → pty-6ba9x97p.js} +2 -2
- package/dist/chunks/{git-0jb5754p.js → pty-6eqzpwgz.js} +15 -15
- package/dist/chunks/{git-775hqbnd.js → pty-775hqbnd.js} +3 -3
- package/dist/chunks/{git-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{git-v56pf686.js → pty-7f6k4x6h.js} +28 -28
- package/dist/chunks/{git-mrpnjyvf.js → pty-7nqkf5r1.js} +6 -6
- package/dist/chunks/{git-9d9y7nf6.js → pty-7vr8248e.js} +10 -10
- package/dist/chunks/{git-7w2ypzdf.js → pty-7w2ypzdf.js} +1 -1
- package/dist/chunks/{git-7weczvnd.js → pty-7weczvnd.js} +1 -1
- package/dist/chunks/{git-kwhhx56s.js → pty-809by22w.js} +8 -8
- package/dist/chunks/{git-31avdb49.js → pty-80m5xgxj.js} +11 -11
- package/dist/chunks/{git-89287pr7.js → pty-89287pr7.js} +1 -1
- package/dist/chunks/{git-92x12kkd.js → pty-8b1rxbth.js} +12 -12
- package/dist/chunks/{git-5whx36p1.js → pty-8cg7mtm3.js} +4 -4
- package/dist/chunks/{git-hced1q2j.js → pty-8dfptpqb.js} +4 -4
- package/dist/chunks/{git-s2t1sdmb.js → pty-8faw8f8c.js} +15 -15
- package/dist/chunks/{git-cqa12jg5.js → pty-8j47f66f.js} +17 -17
- package/dist/chunks/{git-0z761sfe.js → pty-8ktfmd0n.js} +19 -19
- package/dist/chunks/{git-53yc0731.js → pty-8mz1epvh.js} +5 -5
- package/dist/chunks/{git-wjxd5znf.js → pty-8mz64x2b.js} +11 -11
- package/dist/chunks/{git-wtr4aekm.js → pty-8nbbg8x2.js} +26 -26
- package/dist/chunks/{git-8sxe6kv8.js → pty-8sxe6kv8.js} +2 -2
- package/dist/chunks/{git-3qgwywyc.js → pty-8t99kr38.js} +4 -4
- package/dist/chunks/{git-fyfzbt3s.js → pty-8vct2pgr.js} +2 -2
- package/dist/chunks/{git-8wtp7s3z.js → pty-8wtp7s3z.js} +1 -1
- package/dist/chunks/{git-8xz27cp9.js → pty-8xz27cp9.js} +1 -1
- package/dist/chunks/{git-8zv0xmg5.js → pty-8zv0xmg5.js} +1 -1
- package/dist/chunks/{git-g71ss1xn.js → pty-921m9cvt.js} +18 -18
- package/dist/chunks/{git-sx27c7qs.js → pty-93xmyh8q.js} +5 -5
- package/dist/chunks/{git-963hk181.js → pty-963hk181.js} +2 -2
- package/dist/chunks/{git-3zz32vjr.js → pty-96n9kpwt.js} +5 -5
- package/dist/chunks/{git-j384620m.js → pty-98nhdtpx.js} +18 -18
- package/dist/chunks/{git-7twge7vh.js → pty-99p0pbf1.js} +10 -10
- package/dist/chunks/{git-97d9kncm.js → pty-9hqnwgn2.js} +18 -18
- package/dist/chunks/{git-fyg08hs0.js → pty-9kx878ab.js} +17 -17
- package/dist/chunks/{git-znw5ah2c.js → pty-9kzszawf.js} +20 -20
- package/dist/chunks/{git-4k4h4j8h.js → pty-9njvccht.js} +4 -4
- package/dist/chunks/{git-x9aygtt9.js → pty-9nn8jzqe.js} +10 -10
- package/dist/chunks/{git-v0t96s7a.js → pty-9q8g9sv8.js} +4 -4
- package/dist/chunks/{git-kvmx4gfp.js → pty-9rqhy0gk.js} +7 -7
- package/dist/chunks/{git-jfw03jt9.js → pty-9tqcrzep.js} +3 -3
- package/dist/chunks/{git-3ewxmk4s.js → pty-9w05e4yq.js} +11 -11
- package/dist/chunks/{git-sp3g7ra2.js → pty-9yd64rvx.js} +8 -8
- package/dist/chunks/{git-dkhpjg5z.js → pty-a1bywv3g.js} +11 -11
- package/dist/chunks/{git-ggx84v7x.js → pty-a6s57dw6.js} +6 -6
- package/dist/chunks/{git-7ms6p5ct.js → pty-a88a05zy.js} +58 -58
- package/dist/chunks/{git-49433ye1.js → pty-a8fw8dpm.js} +8 -8
- package/dist/chunks/{git-9trbd0dd.js → pty-a9t87r5b.js} +9 -9
- package/dist/chunks/{git-611b2d5d.js → pty-abdd1da8.js} +1 -1
- package/dist/chunks/{git-2eze3ev9.js → pty-adwjc2gj.js} +9 -9
- package/dist/chunks/{git-ayjs7tqn.js → pty-ayjs7tqn.js} +2 -2
- package/dist/chunks/{git-b26ddj6h.js → pty-b26ddj6h.js} +4 -4
- package/dist/chunks/{git-0m3b16eq.js → pty-b4gxanwm.js} +11 -11
- package/dist/chunks/{git-yczr3d9p.js → pty-b54npr3t.js} +154 -154
- package/dist/chunks/{git-pekb3kta.js → pty-bb3v7csw.js} +31 -31
- package/dist/chunks/{git-s26c8eb5.js → pty-bhfd478d.js} +4 -4
- package/dist/chunks/{git-pnvbew7m.js → pty-bkex9085.js} +16 -16
- package/dist/chunks/{git-va4hdphv.js → pty-bpby739f.js} +22 -22
- package/dist/chunks/{git-r4ra5fvg.js → pty-bss83mh3.js} +6 -6
- package/dist/chunks/{git-bstexjd6.js → pty-bstexjd6.js} +1 -1
- package/dist/chunks/{git-ezh572rb.js → pty-cbe0rfx5.js} +32 -32
- package/dist/chunks/{git-xtevw68n.js → pty-cejnyw8d.js} +13 -13
- package/dist/chunks/{git-1mjfhd2z.js → pty-ceq6pwch.js} +6 -6
- package/dist/chunks/{git-2pvm1zmp.js → pty-ceqba5fk.js} +6 -6
- package/dist/chunks/{git-7ke2z32d.js → pty-cfgfe6qy.js} +6 -6
- package/dist/chunks/pty-ckk0m6t8.js +26 -0
- package/dist/chunks/{git-tcp6xf8t.js → pty-cvkznf98.js} +14 -14
- package/dist/chunks/{git-cwrgdav8.js → pty-cwrgdav8.js} +2 -2
- package/dist/chunks/{git-eb8qw4j6.js → pty-cyba7k96.js} +19 -19
- package/dist/chunks/{git-5ssd9z4k.js → pty-cype4qj0.js} +8 -8
- package/dist/chunks/{git-7862g246.js → pty-d0348f81.js} +22 -22
- package/dist/chunks/{git-4a6d9e1s.js → pty-d0aryzzk.js} +3 -3
- package/dist/chunks/{git-d4v9tmah.js → pty-d4v9tmah.js} +2 -2
- package/dist/chunks/{git-36qg6swj.js → pty-dgr674m3.js} +7 -7
- package/dist/chunks/{git-fmz0vg6g.js → pty-dngp1z67.js} +17 -17
- package/dist/chunks/{git-zx9gjdah.js → pty-dqshaehc.js} +13 -13
- package/dist/chunks/{git-dt77769w.js → pty-dt77769w.js} +1 -1
- package/dist/chunks/{git-yhwpy9x1.js → pty-dtcxya6b.js} +138 -138
- package/dist/chunks/{git-h9bh2nqk.js → pty-dy9yr7n6.js} +2 -2
- package/dist/chunks/{git-wer643hq.js → pty-dztdy51g.js} +3 -3
- package/dist/chunks/{git-2dahv1c9.js → pty-e122xtr5.js} +4 -4
- package/dist/chunks/{git-e834z07m.js → pty-e834z07m.js} +1 -1
- package/dist/chunks/{git-kj8281nx.js → pty-eet2z5pg.js} +4 -4
- package/dist/chunks/{git-6gmb6c3p.js → pty-eh10xta4.js} +22 -22
- package/dist/chunks/{git-g5ysjf19.js → pty-ehzz4f29.js} +12 -12
- package/dist/chunks/{git-eqw4pqj1.js → pty-eqw4pqj1.js} +2 -2
- package/dist/chunks/{git-s8xvt5rk.js → pty-esg4am8y.js} +6 -6
- package/dist/chunks/{git-98j9v5dh.js → pty-ewsep2p7.js} +333 -333
- package/dist/chunks/{git-1djj0b5c.js → pty-f19t754q.js} +9 -9
- package/dist/chunks/{git-h1x2z473.js → pty-f3qa8j51.js} +27 -27
- package/dist/chunks/{git-vgrhwy1q.js → pty-f4p513t7.js} +31 -31
- package/dist/chunks/{git-9csbj8z0.js → pty-fepdw2rr.js} +5 -5
- package/dist/chunks/{git-fffv3p7h.js → pty-fffv3p7h.js} +1 -1
- package/dist/chunks/{git-fg9p65nk.js → pty-fg9p65nk.js} +2 -2
- package/dist/chunks/{git-rsfbxv4d.js → pty-fjqbmyx6.js} +15 -15
- package/dist/chunks/{git-zpzp6d8n.js → pty-fk8gtyjw.js} +4 -4
- package/dist/chunks/{git-h9jz8k2w.js → pty-fnswmh6e.js} +37 -37
- package/dist/chunks/{git-8v80kk81.js → pty-fr8k9c85.js} +84 -84
- package/dist/chunks/{git-vs8t80zk.js → pty-frxkz94v.js} +7 -7
- package/dist/chunks/{git-m8zx2yvr.js → pty-fs2dvzz7.js} +3 -3
- package/dist/chunks/{git-8wyfgy84.js → pty-fsks4cma.js} +50 -50
- package/dist/chunks/{git-394p07bv.js → pty-fwc2svcw.js} +17 -17
- package/dist/chunks/{git-41q5jgkh.js → pty-fyb4e8dn.js} +3 -3
- package/dist/chunks/{git-4s2fjq3h.js → pty-fym87a9z.js} +9 -9
- package/dist/chunks/{git-kk89jyzz.js → pty-fz8d4r01.js} +23 -23
- package/dist/chunks/{git-r169pjrs.js → pty-g3jbxykj.js} +6 -6
- package/dist/chunks/{git-bybkjpkj.js → pty-g3rnwk3w.js} +22 -22
- package/dist/chunks/{git-ye3hegqv.js → pty-g3vstw99.js} +79 -79
- package/dist/chunks/{git-9n47qn5z.js → pty-g6c3fb9v.js} +33 -33
- package/dist/chunks/{git-scfsrjt6.js → pty-g6dqhxga.js} +19 -19
- package/dist/chunks/{git-gbjdnr5j.js → pty-gbjdnr5j.js} +2 -2
- package/dist/chunks/{git-dfsy2zcm.js → pty-gdqab8my.js} +5 -5
- package/dist/chunks/{git-x7p75687.js → pty-ge1ywzqw.js} +5 -5
- package/dist/chunks/{git-04whjz6n.js → pty-gerka9tj.js} +9 -9
- package/dist/chunks/{git-ghrv1g9c.js → pty-ghrv1g9c.js} +1 -1
- package/dist/chunks/{git-gxs71cxp.js → pty-gxs71cxp.js} +1 -1
- package/dist/chunks/{git-78q90azy.js → pty-gywgbd97.js} +7 -7
- package/dist/chunks/{git-7z34tv57.js → pty-h3bhj36x.js} +9 -9
- package/dist/chunks/{git-q0yp49a8.js → pty-h7y6kpk3.js} +29 -29
- package/dist/chunks/{git-yxvhnmhq.js → pty-haa2gdgc.js} +1 -1
- package/dist/chunks/{git-9b3g47fp.js → pty-hbkh6egr.js} +11 -11
- package/dist/chunks/{git-rk1rnymw.js → pty-hed8x5pp.js} +4 -4
- package/dist/chunks/{git-hgzwgvze.js → pty-hgzwgvze.js} +2 -2
- package/dist/chunks/{git-tsz3kxr2.js → pty-hhhpeewf.js} +13 -13
- package/dist/chunks/{git-nbkgmrnq.js → pty-hksc1h4c.js} +9 -9
- package/dist/chunks/{git-4cbycqt3.js → pty-hvafhk7n.js} +10 -10
- package/dist/chunks/{git-pb9ydyhq.js → pty-hxe8y6dz.js} +26 -26
- package/dist/chunks/{git-a96kghqz.js → pty-hyhbfk1d.js} +5 -5
- package/dist/chunks/{git-nf2d1zh5.js → pty-hzd41w0g.js} +31 -31
- package/dist/chunks/{git-00varkfn.js → pty-j76rc6j0.js} +12 -12
- package/dist/chunks/{git-j9nxzz3g.js → pty-j9nxzz3g.js} +3 -3
- package/dist/chunks/{git-kqnb2wzg.js → pty-jars5984.js} +20 -20
- package/dist/chunks/{git-nteew1ty.js → pty-jdtdxccs.js} +16 -16
- package/dist/chunks/{git-p0tjaf5p.js → pty-jjv5dbsr.js} +80 -80
- package/dist/chunks/{git-kv1m4r0t.js → pty-jk53xk4x.js} +9 -9
- package/dist/chunks/{git-jm70asfg.js → pty-jm70asfg.js} +1 -1
- package/dist/chunks/{git-61qraad9.js → pty-jv5ccajn.js} +5 -5
- package/dist/chunks/{git-azzq76h2.js → pty-jv83zg00.js} +26 -26
- package/dist/chunks/{git-r0jctb9s.js → pty-jw43pf4q.js} +2 -2
- package/dist/chunks/{git-v758rt9q.js → pty-kg8bz2x9.js} +8 -8
- package/dist/chunks/{git-vmqe41cb.js → pty-kj9n5bvh.js} +4 -4
- package/dist/chunks/{git-b8ba6mjn.js → pty-kse531ts.js} +6 -6
- package/dist/chunks/{git-sjj4ev8f.js → pty-ktgmmb4d.js} +12 -12
- package/dist/chunks/{git-kzczzf4v.js → pty-kzczzf4v.js} +1 -1
- package/dist/chunks/{git-m1714858.js → pty-m1714858.js} +1 -1
- package/dist/chunks/{git-0cty9tzn.js → pty-m47b2bw1.js} +6 -6
- package/dist/chunks/{git-gw8qytxn.js → pty-m4stcnjn.js} +30 -30
- package/dist/chunks/{git-nyjexfs1.js → pty-m51r4pbd.js} +59 -59
- package/dist/chunks/{git-gvr1wrwc.js → pty-m8nksg7b.js} +15 -15
- package/dist/chunks/{git-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{git-mb7mbhnz.js → pty-mb7mbhnz.js} +3 -3
- package/dist/chunks/{git-f8y715rk.js → pty-mcq5r29y.js} +18 -18
- package/dist/chunks/{git-mm06edep.js → pty-mm06edep.js} +1 -1
- package/dist/chunks/{git-j41w8xdk.js → pty-mn8fajdh.js} +14 -14
- package/dist/chunks/{git-fekv06st.js → pty-n106aawh.js} +32 -32
- package/dist/chunks/{git-n320gsn2.js → pty-n320gsn2.js} +1 -1
- package/dist/chunks/{git-gtxqc62w.js → pty-nf9c1y2s.js} +18 -18
- package/dist/chunks/{git-jxqms9w4.js → pty-npb1cd9b.js} +10 -10
- package/dist/chunks/{git-rj7jtxy8.js → pty-nt907s04.js} +3 -3
- package/dist/chunks/{git-ykerj1ry.js → pty-nx29rwgw.js} +40 -40
- package/dist/chunks/{git-bqzcd44k.js → pty-nxby5gjy.js} +8 -8
- package/dist/chunks/{git-p82q7yen.js → pty-p0e36eh4.js} +17 -17
- package/dist/chunks/{git-3gv0spa2.js → pty-p76me67c.js} +4 -4
- package/dist/chunks/{git-9ycj3fcq.js → pty-pbcbsg1z.js} +12 -12
- package/dist/chunks/{git-kq493ejx.js → pty-pg4gvk7m.js} +13 -13
- package/dist/chunks/{git-pknna89w.js → pty-pknna89w.js} +1 -1
- package/dist/chunks/{git-gr3xza4k.js → pty-pm9a3we5.js} +7 -7
- package/dist/chunks/{git-w4vxjk9w.js → pty-ppmfd51v.js} +37 -37
- package/dist/chunks/{git-e8m9b6pv.js → pty-psbgffb8.js} +5 -5
- package/dist/chunks/{git-vt2d6wap.js → pty-px7qpgcn.js} +4 -4
- package/dist/chunks/{git-f9zhf18s.js → pty-pxzaa117.js} +8 -8
- package/dist/chunks/{git-6t40r86m.js → pty-q342b858.js} +11 -11
- package/dist/chunks/{git-r6z5xtd7.js → pty-q9aerynr.js} +8 -8
- package/dist/chunks/{git-0x3y91hs.js → pty-q9n4gdzj.js} +2 -2
- package/dist/chunks/{git-60tvtmqn.js → pty-qkv3rem4.js} +10 -10
- package/dist/chunks/{git-nh2md1vs.js → pty-qp0z4bg5.js} +8 -8
- package/dist/chunks/{git-qp7r0hxv.js → pty-qp7r0hxv.js} +1 -1
- package/dist/chunks/{git-4rbegt9x.js → pty-qte9jbze.js} +24 -24
- package/dist/chunks/{git-r7zrbnjn.js → pty-r7zrbnjn.js} +1 -1
- package/dist/chunks/{git-fnx943sm.js → pty-rata28ys.js} +4 -4
- package/dist/chunks/{git-5pf1s9ew.js → pty-rb71q7y6.js} +40 -40
- package/dist/chunks/{git-rb9dy4dg.js → pty-rb9dy4dg.js} +1 -1
- package/dist/chunks/{git-rgc9cx3e.js → pty-rgc9cx3e.js} +2 -2
- package/dist/chunks/{git-ec3jn864.js → pty-rgz6n6rx.js} +6 -6
- package/dist/chunks/{git-rt5dr6hb.js → pty-rt5dr6hb.js} +1 -1
- package/dist/chunks/{git-cvs0tqag.js → pty-rxb1p1s1.js} +7 -7
- package/dist/chunks/{git-gwv2mpj6.js → pty-s6edmc55.js} +33 -33
- package/dist/chunks/{git-m3m5k6hy.js → pty-s7n17px4.js} +16 -16
- package/dist/chunks/{git-sbya78hr.js → pty-sbya78hr.js} +1 -1
- package/dist/chunks/{git-g1s7606r.js → pty-scjesttz.js} +10 -10
- package/dist/chunks/{git-q9z2tc81.js → pty-sdphcbdy.js} +39 -39
- package/dist/chunks/{git-p9605bcp.js → pty-seytm3nm.js} +13 -13
- package/dist/chunks/{git-2h7yn6a1.js → pty-skz1c840.js} +4 -4
- package/dist/chunks/{git-92y7h8dm.js → pty-sp6fxa1v.js} +3 -3
- package/dist/chunks/{git-cr44ae3x.js → pty-sp85y8nd.js} +5 -5
- package/dist/chunks/{git-sqjzf8x2.js → pty-sqjzf8x2.js} +1 -1
- package/dist/chunks/{git-p7kjdt1b.js → pty-stavab1t.js} +4 -4
- package/dist/chunks/{git-svcy3p9a.js → pty-svcy3p9a.js} +1 -1
- package/dist/chunks/{git-y1n277rb.js → pty-t48jrnqq.js} +3 -3
- package/dist/chunks/{git-jtsrwzj5.js → pty-t8jwajwe.js} +6 -6
- package/dist/chunks/{git-tbpn7jtk.js → pty-tbpn7jtk.js} +1 -1
- package/dist/chunks/{git-1r07hmxk.js → pty-tbr06ty0.js} +3 -3
- package/dist/chunks/{git-tczq8hjw.js → pty-tczq8hjw.js} +1 -1
- package/dist/chunks/{git-20hs46rx.js → pty-teqb63yc.js} +2 -2
- package/dist/chunks/{git-hw621kav.js → pty-tg1vr1qt.js} +8 -8
- package/dist/chunks/{git-tr8x705m.js → pty-tr8x705m.js} +1 -1
- package/dist/chunks/{git-f4pvszhr.js → pty-trznscfr.js} +14 -14
- package/dist/chunks/{git-twssxy5n.js → pty-twssxy5n.js} +2 -2
- package/dist/chunks/{git-cshqytk6.js → pty-tww72jes.js} +29 -29
- package/dist/chunks/{git-v2r1d0zg.js → pty-v2r1d0zg.js} +1 -1
- package/dist/chunks/{git-vveecbvg.js → pty-v3bet1kp.js} +12 -12
- package/dist/chunks/{git-mbk8h3wg.js → pty-v7mmdcvx.js} +9 -9
- package/dist/chunks/{git-fhagczq0.js → pty-v855rb8b.js} +12 -12
- package/dist/chunks/{git-c4zh2v72.js → pty-vengajp4.js} +2 -2
- package/dist/chunks/{git-vjf35v1f.js → pty-vjf35v1f.js} +1 -1
- package/dist/chunks/{git-hvqp069m.js → pty-vytcc3n6.js} +11 -11
- package/dist/chunks/{git-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{git-w687dnns.js → pty-w687dnns.js} +1 -1
- package/dist/chunks/{git-4vsk53av.js → pty-w6dd7dqy.js} +19 -19
- package/dist/chunks/{git-hh6wnwm8.js → pty-w6jv0akn.js} +5 -5
- package/dist/chunks/{git-j3kswyhf.js → pty-w79yem6f.js} +6 -6
- package/dist/chunks/{git-gnkmn8c6.js → pty-w9mgb9cs.js} +1 -1
- package/dist/chunks/{git-wakvkjy4.js → pty-wakvkjy4.js} +1 -1
- package/dist/chunks/{git-wd87259q.js → pty-wd87259q.js} +1 -1
- package/dist/chunks/{git-wegkxhrn.js → pty-wegkxhrn.js} +2 -2
- package/dist/chunks/{git-qsdghx1p.js → pty-wfdx5ztx.js} +4 -4
- package/dist/chunks/{git-wt99tj4q.js → pty-wt99tj4q.js} +2 -2
- package/dist/chunks/{git-nyxvvj5y.js → pty-wvr8xscb.js} +4 -4
- package/dist/chunks/{git-8kpj8dgw.js → pty-wxdqhy8h.js} +41 -41
- package/dist/chunks/{git-9zxzvr8s.js → pty-x29g231t.js} +26 -26
- package/dist/chunks/{git-4csvnawe.js → pty-x6nv49v7.js} +12 -12
- package/dist/chunks/{git-x95n2smq.js → pty-x6ys3mke.js} +19 -19
- package/dist/chunks/{git-hkaenk79.js → pty-xa8p5b4w.js} +9 -9
- package/dist/chunks/{git-x9g5m248.js → pty-xbvcmb25.js} +11 -11
- package/dist/chunks/{git-abgnc9fg.js → pty-xm0ds19w.js} +10 -10
- package/dist/chunks/{git-c019f3c1.js → pty-xr467vmq.js} +34 -34
- package/dist/chunks/{git-0q8f2k41.js → pty-xrayn4mq.js} +12 -12
- package/dist/chunks/{git-fregt7rm.js → pty-xw67e2bj.js} +5 -5
- package/dist/chunks/{git-2g9wma4e.js → pty-xwat37db.js} +36 -36
- package/dist/chunks/{git-zy7phst8.js → pty-xxp4v5x7.js} +9 -9
- package/dist/chunks/{git-vk5ee1tp.js → pty-xxs4k7t5.js} +10 -10
- package/dist/chunks/{git-xxschbft.js → pty-xxschbft.js} +1 -1
- package/dist/chunks/{git-kzva7xr5.js → pty-y2nftq3q.js} +21 -21
- package/dist/chunks/pty-y32xxt00.js +16 -0
- package/dist/chunks/{git-jw32pn92.js → pty-y3553xwh.js} +10 -10
- package/dist/chunks/{git-frv9eft2.js → pty-y4fhefma.js} +31 -31
- package/dist/chunks/{git-1d9m9zxv.js → pty-y8hmd71w.js} +28 -28
- package/dist/chunks/{git-ntzzxe9p.js → pty-y9jn183w.js} +5 -5
- package/dist/chunks/{git-g4sh17b8.js → pty-yav2mz9j.js} +39 -39
- package/dist/chunks/{git-yb20nhc3.js → pty-yb20nhc3.js} +1 -1
- package/dist/chunks/{git-20sbf82m.js → pty-ygrf3vfw.js} +3 -3
- package/dist/chunks/{git-jp5e8g4e.js → pty-yqvbvejr.js} +22 -22
- package/dist/chunks/{git-yr705xyq.js → pty-yr705xyq.js} +1 -1
- package/dist/chunks/{git-yvtc2x31.js → pty-yvtc2x31.js} +1 -1
- package/dist/chunks/{git-4y1dkp2x.js → pty-yz34gs5w.js} +11 -11
- package/dist/chunks/{git-md69vhb1.js → pty-zfst2eag.js} +18 -18
- package/dist/chunks/{git-zpdbqgja.js → pty-zpdbqgja.js} +1 -1
- package/dist/chunks/{git-1ecdfnj3.js → pty-ztbk0tnv.js} +4 -4
- package/dist/chunks/{git-bwrw929x.js → pty-zwdqw3m7.js} +6 -6
- package/dist/chunks/{git-tq5mrxsw.js → pty-zyqshqmw.js} +4 -4
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +148 -148
- package/dist/codemode/instructions.js +5 -5
- 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 +131 -131
- package/dist/config/plugin/command.js +238 -238
- 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 +141 -141
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +130 -130
- package/dist/config/plugin/skill-file.js +149 -149
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +154 -154
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +132 -132
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +129 -129
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +135 -135
- package/dist/console-access.js +7 -7
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +77 -77
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +76 -76
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/v1-migration.bun.js +98 -98
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +440 -440
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +101 -101
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +105 -105
- 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 +81 -81
- package/dist/file-access.js +160 -160
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +164 -164
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/file-watch.js +88 -88
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +253 -253
- 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 +118 -118
- package/dist/flag.js +127 -127
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +118 -118
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +112 -112
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/notice.js +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 +431 -431
- package/dist/instruction-discovery.js +93 -93
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +88 -88
- 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 +182 -182
- package/dist/location-lifecycle.js +153 -153
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +428 -428
- package/dist/location.js +94 -94
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +158 -158
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/index.js +126 -126
- package/dist/mcp/instructions.js +189 -189
- package/dist/mcp/oauth.js +86 -86
- package/dist/mcp/pool.js +112 -112
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +157 -157
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +112 -112
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +103 -103
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +115 -115
- 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 +154 -154
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +101 -101
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +85 -85
- package/dist/plugin/command.js +117 -117
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +244 -244
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +407 -407
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +149 -149
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +106 -106
- package/dist/plugin/provider/azure.js +131 -131
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +133 -133
- package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
- package/dist/plugin/provider/claude-agent/claude/session.js +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 +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 +108 -108
- package/dist/plugin/provider/claude-agent/session.js +114 -114
- 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 +1 -1
- 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 +130 -130
- package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +109 -109
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +111 -111
- package/dist/plugin/provider/gitlab.js +109 -109
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +140 -140
- package/dist/plugin/provider/local.js +137 -137
- package/dist/plugin/provider/modal.js +108 -108
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +140 -140
- package/dist/plugin/provider/openai-context-caps.js +106 -106
- package/dist/plugin/provider/openai.js +135 -135
- package/dist/plugin/provider/opencode.js +159 -159
- package/dist/plugin/provider/openrouter.js +104 -104
- package/dist/plugin/provider/poe.js +90 -90
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +131 -131
- package/dist/plugin/provider/vllm.js +140 -140
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +237 -237
- package/dist/plugin/sdk.js +85 -85
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +150 -150
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +417 -417
- 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 +128 -128
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +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 +9 -9
- package/dist/plugin.js +255 -255
- 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 +102 -102
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +113 -113
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +91 -91
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +111 -111
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +249 -249
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +263 -263
- 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 +132 -132
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +175 -175
- package/dist/session/context.js +205 -205
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +247 -247
- package/dist/session/execution.js +171 -171
- package/dist/session/generate.js +204 -204
- package/dist/session/history.js +139 -139
- package/dist/session/inbox.js +148 -148
- 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 +5 -5
- package/dist/session/runner/step.js +166 -166
- package/dist/session/runner/to-llm-message.js +140 -140
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +188 -188
- package/dist/session/shell.js +145 -145
- package/dist/session/skill.js +150 -150
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +145 -145
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +237 -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 +242 -242
- package/dist/session/usage.js +1 -1
- package/dist/session.js +239 -239
- package/dist/shared-cache.js +5 -5
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +147 -147
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +152 -152
- package/dist/skill.js +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 +236 -236
- package/dist/tool/plugin/edit.js +170 -170
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +172 -172
- package/dist/tool/plugin/grep.js +173 -173
- package/dist/tool/plugin/image-generate.js +243 -243
- package/dist/tool/plugin/mcp-resource.js +169 -169
- package/dist/tool/plugin/opencode.js +166 -166
- package/dist/tool/plugin/patch.js +169 -169
- package/dist/tool/plugin/question.js +149 -149
- package/dist/tool/plugin/read.js +175 -175
- package/dist/tool/plugin/schedule.js +255 -255
- package/dist/tool/plugin/shell.js +241 -241
- package/dist/tool/plugin/skill.js +156 -156
- package/dist/tool/plugin/subagent.js +244 -244
- package/dist/tool/plugin/todo.js +154 -154
- package/dist/tool/plugin/webfetch.js +158 -158
- package/dist/tool/plugin/websearch.js +156 -156
- package/dist/tool/plugin/write.js +171 -171
- package/dist/tool/read-filesystem.js +116 -116
- 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/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +105 -105
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +99 -99
- package/dist/websearch.js +101 -101
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +92 -92
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +89 -89
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- 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/git-a4h8tact.js +0 -16
- package/dist/chunks/git-fcwwbh22.js +0 -26
- package/dist/chunks/git-vdh3rgac.js +0 -18
- /package/dist/chunks/{git-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{git-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{git-108x4f4w.js → pty-108x4f4w.js} +0 -0
- /package/dist/chunks/{git-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{git-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{git-1kah00gy.js → pty-1kah00gy.js} +0 -0
- /package/dist/chunks/{git-24dcb14g.js → pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{git-2710q6r3.js → pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{git-2bv980vf.js → pty-2bv980vf.js} +0 -0
- /package/dist/chunks/{git-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{git-359p4xyc.js → pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{git-3af0jn4w.js → pty-3af0jn4w.js} +0 -0
- /package/dist/chunks/{git-3asan66x.js → pty-3asan66x.js} +0 -0
- /package/dist/chunks/{git-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{git-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{git-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{git-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{git-4qk9sjk2.js → pty-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{git-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{git-53557ph1.js → pty-53557ph1.js} +0 -0
- /package/dist/chunks/{git-550bvhaj.js → pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{git-5w3e23ze.js → pty-5w3e23ze.js} +0 -0
- /package/dist/chunks/{git-6agm2x70.js → pty-6agm2x70.js} +0 -0
- /package/dist/chunks/{git-6prwharc.js → pty-6prwharc.js} +0 -0
- /package/dist/chunks/{git-6q2bdcd1.js → pty-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{git-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{git-7m9af43g.js → pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{git-822emrt2.js → pty-822emrt2.js} +0 -0
- /package/dist/chunks/{git-84wd9syh.js → pty-84wd9syh.js} +0 -0
- /package/dist/chunks/{git-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{git-8n3pysct.js → pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{git-8wj87zfr.js → pty-8wj87zfr.js} +0 -0
- /package/dist/chunks/{git-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{git-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{git-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{git-af5trqkr.js → pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{git-afrmfg78.js → pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{git-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{git-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{git-beh6qq61.js → pty-beh6qq61.js} +0 -0
- /package/dist/chunks/{git-bhmrqjy3.js → pty-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{git-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{git-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{git-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{git-cqv5kn06.js → pty-cqv5kn06.js} +0 -0
- /package/dist/chunks/{git-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{git-d9fn303g.js → pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{git-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{git-dap0rakb.js → pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{git-df08tz66.js → pty-df08tz66.js} +0 -0
- /package/dist/chunks/{git-dy18nga0.js → pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{git-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{git-ean2d8b5.js → pty-ean2d8b5.js} +0 -0
- /package/dist/chunks/{git-ec1grn59.js → pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{git-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{git-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{git-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{git-faypxj3z.js → pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{git-fd410y7t.js → pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{git-fkpq3x5p.js → pty-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{git-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{git-g86h250q.js → pty-g86h250q.js} +0 -0
- /package/dist/chunks/{git-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{git-gftt206x.js → pty-gftt206x.js} +0 -0
- /package/dist/chunks/{git-hcxmzztb.js → pty-hcxmzztb.js} +0 -0
- /package/dist/chunks/{git-hk9envan.js → pty-hk9envan.js} +0 -0
- /package/dist/chunks/{git-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{git-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{git-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{git-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{git-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{git-jwr30sdr.js → pty-jwr30sdr.js} +0 -0
- /package/dist/chunks/{git-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{git-m18g726c.js → pty-m18g726c.js} +0 -0
- /package/dist/chunks/{git-mp448xyj.js → pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{git-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{git-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{git-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{git-nh4v3znn.js → pty-nh4v3znn.js} +0 -0
- /package/dist/chunks/{git-njntx4h6.js → pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{git-p71gwv9c.js → pty-p71gwv9c.js} +0 -0
- /package/dist/chunks/{git-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{git-q74kybfr.js → pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{git-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{git-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{git-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{git-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{git-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{git-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{git-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{git-syrav9an.js → pty-syrav9an.js} +0 -0
- /package/dist/chunks/{git-t03h4f5z.js → pty-t03h4f5z.js} +0 -0
- /package/dist/chunks/{git-ty7weeps.js → pty-ty7weeps.js} +0 -0
- /package/dist/chunks/{git-ve7vex1e.js → pty-ve7vex1e.js} +0 -0
- /package/dist/chunks/{git-vtarvj67.js → pty-vtarvj67.js} +0 -0
- /package/dist/chunks/{git-w803qqfp.js → pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{git-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{git-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{git-wtztk69x.js → pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{git-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{git-x4th4bpe.js → pty-x4th4bpe.js} +0 -0
- /package/dist/chunks/{git-x61499pn.js → pty-x61499pn.js} +0 -0
- /package/dist/chunks/{git-y44na4kk.js → pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{git-y8f7s663.js → pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{git-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{git-z0h12gs8.js → pty-z0h12gs8.js} +0 -0
- /package/dist/chunks/{git-z5v4ffb3.js → pty-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{git-z9919s4g.js → pty-z9919s4g.js} +0 -0
- /package/dist/chunks/{git-zxpyjp51.js → pty-zxpyjp51.js} +0 -0
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isTextual2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-4pyp9zr9.js";
|
|
4
4
|
import {
|
|
5
5
|
invocation2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service62
|
|
7
|
+
} from "./pty-fnswmh6e.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_MARKDOWN_BYTES2,
|
|
10
10
|
convertHTMLToMarkdown2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./pty-zxpyjp51.js";
|
|
12
12
|
import {
|
|
13
13
|
collectBoundedResponseBody2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./pty-3v8g72cx.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./pty-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: () => Input13,
|
|
24
24
|
MAX_REDIRECTS: () => MAX_REDIRECTS2,
|
|
25
25
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
26
26
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
27
|
-
Plugin: () =>
|
|
27
|
+
Plugin: () => Plugin51,
|
|
28
28
|
WebFetchTool: () => exports_webfetch,
|
|
29
29
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
30
|
-
description: () =>
|
|
30
|
+
description: () => description6,
|
|
31
31
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
32
|
-
name: () =>
|
|
32
|
+
name: () => name13
|
|
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
|
|
38
|
+
var name13 = "webfetch";
|
|
39
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 description6 = `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 Input13 = 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 Input7 = Schema.Struct({
|
|
|
53
53
|
var Output = Schema.Struct({
|
|
54
54
|
url: Schema.String,
|
|
55
55
|
contentType: Schema.String,
|
|
56
|
-
format:
|
|
56
|
+
format: Input13.fields.format,
|
|
57
57
|
output: Schema.String
|
|
58
58
|
});
|
|
59
59
|
var acceptHeader = (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 Plugin51 = {
|
|
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* Service62;
|
|
127
127
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
128
|
-
name:
|
|
128
|
+
name: name13,
|
|
129
129
|
options: { codemode: false },
|
|
130
|
-
description:
|
|
131
|
-
input:
|
|
130
|
+
description: description6,
|
|
131
|
+
input: Input13,
|
|
132
132
|
output: Output,
|
|
133
133
|
execute: (input, context) => Effect.gen(function* () {
|
|
134
134
|
const url = yield* Effect.try({
|
|
@@ -141,7 +141,7 @@ var Plugin44 = {
|
|
|
141
141
|
catch: (error) => error
|
|
142
142
|
});
|
|
143
143
|
yield* permission.assert({
|
|
144
|
-
action:
|
|
144
|
+
action: name13,
|
|
145
145
|
resources: [url],
|
|
146
146
|
save: ["*"],
|
|
147
147
|
metadata: input,
|
|
@@ -149,7 +149,7 @@ var Plugin44 = {
|
|
|
149
149
|
});
|
|
150
150
|
const { body, contentType } = yield* Effect.gen(function* () {
|
|
151
151
|
const check = (next) => permission.assertNotDenied({
|
|
152
|
-
action:
|
|
152
|
+
action: name13,
|
|
153
153
|
resources: [next],
|
|
154
154
|
metadata: { ...input, url: next },
|
|
155
155
|
...invocation2(context)
|
|
@@ -203,4 +203,4 @@ function extractTextFromHTML2(html) {
|
|
|
203
203
|
parser.end();
|
|
204
204
|
return text.trim();
|
|
205
205
|
}
|
|
206
|
-
export {
|
|
206
|
+
export { name13, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description6, Input13, MAX_REDIRECTS2, Plugin51, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-qkv3rem4.js";
|
|
4
4
|
import {
|
|
5
5
|
collectBoundedResponseBody2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-3v8g72cx.js";
|
|
7
7
|
import {
|
|
8
8
|
MAX_RESPONSE_BYTES2,
|
|
9
9
|
call2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-5enarcya.js";
|
|
11
11
|
import {
|
|
12
12
|
register3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./pty-xxschbft.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./pty-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/plugin/websearch/tinyfish.ts
|
|
19
19
|
var exports_tinyfish = {};
|
|
20
20
|
__export(exports_tinyfish, {
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin21,
|
|
22
22
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
23
|
-
endpoint: () =>
|
|
23
|
+
endpoint: () => endpoint4
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Duration, Effect, Option, Schema } from "effect";
|
|
27
27
|
import { HttpClient, HttpClientRequest } from "effect/http";
|
|
28
|
-
var
|
|
28
|
+
var endpoint4 = "https://agent.tinyfish.ai/mcp";
|
|
29
29
|
var McpInput = Schema.Struct({
|
|
30
30
|
query: Schema.String
|
|
31
31
|
});
|
|
@@ -54,7 +54,7 @@ var InitializedNotification = Schema.Struct({
|
|
|
54
54
|
jsonrpc: Schema.Literal("2.0"),
|
|
55
55
|
method: Schema.Literal("notifications/initialized")
|
|
56
56
|
});
|
|
57
|
-
var
|
|
57
|
+
var Plugin21 = define({
|
|
58
58
|
id: "opencode.websearch.tinyfish",
|
|
59
59
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
60
60
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -68,7 +68,7 @@ var Plugin22 = define({
|
|
|
68
68
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
69
69
|
};
|
|
70
70
|
const session = credential?.type === "key" ? yield* initialize(http, headers) : undefined;
|
|
71
|
-
const result = yield* call2(http,
|
|
71
|
+
const result = yield* call2(http, endpoint4, "search", { input: McpInput, output: McpOutput }, { query: input.query }, { ...headers, ...session === undefined ? {} : { "Mcp-Session-Id": session } });
|
|
72
72
|
const content = result?.content.find((item) => item.text);
|
|
73
73
|
const response = content ? Option.getOrUndefined(decodeSearchResponse(content.text)) : undefined;
|
|
74
74
|
return response?.results.map((item) => ({
|
|
@@ -83,7 +83,7 @@ var Plugin22 = define({
|
|
|
83
83
|
});
|
|
84
84
|
var initialize = (http, headers) => Effect.gen(function* () {
|
|
85
85
|
const client = HttpClient.withScope(HttpClient.filterStatusOk(http));
|
|
86
|
-
const request = yield* HttpClientRequest.post(
|
|
86
|
+
const request = yield* HttpClientRequest.post(endpoint4).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders(headers), HttpClientRequest.schemaBodyJson(InitializeRequest)({
|
|
87
87
|
jsonrpc: "2.0",
|
|
88
88
|
id: 1,
|
|
89
89
|
method: "initialize",
|
|
@@ -98,7 +98,7 @@ var initialize = (http, headers) => Effect.gen(function* () {
|
|
|
98
98
|
const session = response.headers["mcp-session-id"];
|
|
99
99
|
if (session === undefined)
|
|
100
100
|
return yield* Effect.fail(new Error("TinyFish MCP initialize did not return an Mcp-Session-Id header"));
|
|
101
|
-
const notification = yield* HttpClientRequest.post(
|
|
101
|
+
const notification = yield* HttpClientRequest.post(endpoint4).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders({ ...headers, "Mcp-Session-Id": session }), HttpClientRequest.schemaBodyJson(InitializedNotification)({
|
|
102
102
|
jsonrpc: "2.0",
|
|
103
103
|
method: "notifications/initialized"
|
|
104
104
|
}));
|
|
@@ -109,4 +109,4 @@ var initialize = (http, headers) => Effect.gen(function* () {
|
|
|
109
109
|
orElse: () => Effect.fail(new Error("TinyFish initialize request timed out"))
|
|
110
110
|
}));
|
|
111
111
|
|
|
112
|
-
export {
|
|
112
|
+
export { endpoint4, Plugin21, exports_tinyfish };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service91
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-3bzhzpnf.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service72
|
|
6
|
+
} from "./pty-8nbbg8x2.js";
|
|
7
7
|
import {
|
|
8
8
|
StepFailedError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-cfgfe6qy.js";
|
|
10
10
|
import {
|
|
11
11
|
SessionEvent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-ec1grn59.js";
|
|
13
13
|
import {
|
|
14
14
|
toSessionError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./pty-esg4am8y.js";
|
|
16
16
|
import {
|
|
17
17
|
Error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./pty-y8hmd71w.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service70
|
|
21
|
+
} from "./pty-q342b858.js";
|
|
22
22
|
import {
|
|
23
23
|
record2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./pty-4f25tdd0.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./pty-tbr06ty0.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./pty-a6s57dw6.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./pty-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
37
37
|
__export(exports_step, {
|
|
38
38
|
Outcome: () => Outcome2,
|
|
39
39
|
SessionStep: () => exports_step,
|
|
40
|
-
make: () =>
|
|
40
|
+
make: () => make18
|
|
41
41
|
});
|
|
42
42
|
import {
|
|
43
43
|
AIError,
|
|
@@ -50,11 +50,11 @@ var Outcome2 = Data.taggedEnum();
|
|
|
50
50
|
var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
|
|
51
51
|
var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
|
|
52
52
|
var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
|
|
53
|
-
var
|
|
53
|
+
var make18 = Effect.gen(function* () {
|
|
54
54
|
const bus = yield* Service91;
|
|
55
55
|
const llm = yield* LLMClient.Service;
|
|
56
|
-
const snapshots = yield*
|
|
57
|
-
const toolOutput = yield*
|
|
56
|
+
const snapshots = yield* Service72;
|
|
57
|
+
const toolOutput = yield* Service70;
|
|
58
58
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
59
59
|
const pendingStartSnapshot = yield* snapshots.capture().pipe(Effect.forkScoped);
|
|
60
60
|
const started = yield* Clock.currentTimeMillis;
|
|
@@ -231,4 +231,4 @@ var classifyToolExits = (settled, runs) => {
|
|
|
231
231
|
return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
|
|
232
232
|
};
|
|
233
233
|
|
|
234
|
-
export { Outcome2,
|
|
234
|
+
export { Outcome2, make18, exports_step };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service92
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-rata28ys.js";
|
|
4
4
|
import {
|
|
5
5
|
Service91
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-3bzhzpnf.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service53
|
|
9
|
+
} from "./pty-ceq6pwch.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-z5v4ffb3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service72
|
|
15
|
+
} from "./pty-8nbbg8x2.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./pty-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
MessageNotFoundError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./pty-cfgfe6qy.js";
|
|
22
22
|
import {
|
|
23
23
|
SessionMessageTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./pty-mb7mbhnz.js";
|
|
25
25
|
import {
|
|
26
26
|
decodeMessageRowSync2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./pty-hvafhk7n.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./pty-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/session/revert.ts
|
|
33
33
|
var exports_revert = {};
|
|
@@ -40,11 +40,11 @@ __export(exports_revert, {
|
|
|
40
40
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
41
41
|
import { Effect } from "effect";
|
|
42
42
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
43
|
-
const instances = yield*
|
|
43
|
+
const instances = yield* Service53;
|
|
44
44
|
const database = yield* Service92;
|
|
45
45
|
const bus = yield* Service91;
|
|
46
46
|
return yield* Effect.gen(function* () {
|
|
47
|
-
const snapshot = yield*
|
|
47
|
+
const snapshot = yield* Service72;
|
|
48
48
|
const original = input.session.revert?.snapshot ?? (yield* snapshot.capture());
|
|
49
49
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
50
50
|
const restore = new Map;
|
|
@@ -72,10 +72,10 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
72
72
|
}).pipe(instances.provide(input.session));
|
|
73
73
|
});
|
|
74
74
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
75
|
-
const instances = yield*
|
|
75
|
+
const instances = yield* Service53;
|
|
76
76
|
const bus = yield* Service91;
|
|
77
77
|
yield* Effect.gen(function* () {
|
|
78
|
-
const snapshot = yield*
|
|
78
|
+
const snapshot = yield* Service72;
|
|
79
79
|
if (!session.revert)
|
|
80
80
|
return;
|
|
81
81
|
const original = session.revert.snapshot;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
Service84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-bss83mh3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service66
|
|
7
|
+
} from "./pty-yav2mz9j.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
12
|
const providers = yield* Service84;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service66);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service92,
|
|
3
3
|
node96
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-rata28ys.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./pty-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-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: () => Service69,
|
|
17
|
+
node: () => node71
|
|
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 Service69 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service92).db;
|
|
26
|
-
return
|
|
26
|
+
return Service69.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 node71 = makeGlobalNode({ service: Service69, layer, deps: [node96] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service69, node71, exports_kv };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-qkv3rem4.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service66
|
|
7
|
+
} from "./pty-yav2mz9j.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/flag.ts
|
|
13
13
|
var exports_flag = {};
|
|
@@ -43,7 +43,7 @@ var resolver2 = Effect.gen(function* () {
|
|
|
43
43
|
return (entries) => resolve3({ entries, channel: app.channel, overrides });
|
|
44
44
|
});
|
|
45
45
|
var all2 = Effect.gen(function* () {
|
|
46
|
-
const config = yield* Effect.serviceOption(
|
|
46
|
+
const config = yield* Effect.serviceOption(Service66);
|
|
47
47
|
const entries = Option.isSome(config) ? yield* config.value.entries() : [];
|
|
48
48
|
const read = yield* resolver2;
|
|
49
49
|
return read(entries);
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
make9
|
|
3
|
+
} from "./pty-26wfx3k0.js";
|
|
4
4
|
import {
|
|
5
5
|
original2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-gxs71cxp.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
make10
|
|
9
|
+
} from "./pty-38aws4xb.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/plugin/provider/claude-agent/language-model/convert-claude-stream.ts
|
|
15
15
|
var exports_convert_claude_stream = {};
|
|
16
16
|
__export(exports_convert_claude_stream, {
|
|
17
17
|
ConvertClaudeStream: () => exports_convert_claude_stream,
|
|
18
|
-
make: () =>
|
|
18
|
+
make: () => make8
|
|
19
19
|
});
|
|
20
20
|
import { Provider } from "@opencode/schema/provider";
|
|
21
|
-
function
|
|
22
|
-
const usage =
|
|
23
|
-
const failure =
|
|
21
|
+
function make8(tools) {
|
|
22
|
+
const usage = make9();
|
|
23
|
+
const failure = make10();
|
|
24
24
|
const streamed = new Set;
|
|
25
25
|
const blocks = new Map;
|
|
26
26
|
let messageID = "";
|
|
@@ -152,4 +152,4 @@ function make11(tools) {
|
|
|
152
152
|
};
|
|
153
153
|
}
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { make8, exports_convert_claude_stream };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-034tev2y.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service91,
|
|
3
3
|
node95
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-3bzhzpnf.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./pty-trznscfr.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-bhmrqjy3.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./pty-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
19
|
InvalidCwdError: () => InvalidCwdError2,
|
|
20
|
-
NotFoundError: () =>
|
|
21
|
-
Options: () =>
|
|
20
|
+
NotFoundError: () => NotFoundError4,
|
|
21
|
+
Options: () => Options4,
|
|
22
22
|
PersistentPty: () => exports_persistent_pty,
|
|
23
|
-
Service: () =>
|
|
24
|
-
UnavailableError: () =>
|
|
23
|
+
Service: () => Service21,
|
|
24
|
+
UnavailableError: () => UnavailableError3,
|
|
25
25
|
UnsupportedError: () => UnsupportedError2,
|
|
26
|
-
available: () =>
|
|
27
|
-
configured: () =>
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
26
|
+
available: () => available3,
|
|
27
|
+
configured: () => configured4,
|
|
28
|
+
layer: () => layer11,
|
|
29
|
+
node: () => node25
|
|
30
30
|
});
|
|
31
31
|
import { stat } from "node:fs/promises";
|
|
32
32
|
import path from "node:path";
|
|
@@ -44,18 +44,18 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
44
44
|
import { Global } from "@opencode/util/global";
|
|
45
45
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
46
46
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
47
|
-
import { available as
|
|
48
|
-
var
|
|
47
|
+
import { available as available3 } from "#persistent-pty-binary";
|
|
48
|
+
var Options4 = Schema.Struct({
|
|
49
49
|
handoff: Schema.optional(Handoff),
|
|
50
50
|
root: Schema.optional(Schema.String)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
54
54
|
message: Schema.String
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class NotFoundError4 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
59
59
|
ptyID: Pty.ID
|
|
60
60
|
}) {
|
|
61
61
|
}
|
|
@@ -71,9 +71,9 @@ class UnsupportedError2 extends Schema.TaggedError()("PersistentPty.UnsupportedE
|
|
|
71
71
|
}) {
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service21 extends Context.Service()("@opencode/PersistentPty") {
|
|
75
75
|
}
|
|
76
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
76
|
+
var makeLayer = (options = {}) => Layer.effect(Service21, Effect.gen(function* () {
|
|
77
77
|
const bus = yield* Service91;
|
|
78
78
|
const global = yield* Global.Service;
|
|
79
79
|
const context = yield* Effect.context();
|
|
@@ -96,7 +96,7 @@ var makeLayer = (options = {}) => Layer.effect(Service53, Effect.gen(function* (
|
|
|
96
96
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
97
97
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
98
98
|
if (!found)
|
|
99
|
-
return yield* new
|
|
99
|
+
return yield* new NotFoundError4({ ptyID: id });
|
|
100
100
|
return found;
|
|
101
101
|
});
|
|
102
102
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -158,7 +158,7 @@ var makeLayer = (options = {}) => Layer.effect(Service53, Effect.gen(function* (
|
|
|
158
158
|
});
|
|
159
159
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
160
160
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
161
|
-
return yield* new
|
|
161
|
+
return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
|
|
162
162
|
const id = current.get(sessionID);
|
|
163
163
|
if (!id)
|
|
164
164
|
return null;
|
|
@@ -244,7 +244,7 @@ var makeLayer = (options = {}) => Layer.effect(Service53, Effect.gen(function* (
|
|
|
244
244
|
detach: attachment.detach
|
|
245
245
|
};
|
|
246
246
|
});
|
|
247
|
-
return
|
|
247
|
+
return Service21.of({
|
|
248
248
|
list,
|
|
249
249
|
get,
|
|
250
250
|
create,
|
|
@@ -261,17 +261,17 @@ var makeLayer = (options = {}) => Layer.effect(Service53, Effect.gen(function* (
|
|
|
261
261
|
attach
|
|
262
262
|
});
|
|
263
263
|
}));
|
|
264
|
-
var
|
|
265
|
-
var
|
|
266
|
-
service:
|
|
267
|
-
layer: options === undefined ?
|
|
264
|
+
var layer11 = makeLayer();
|
|
265
|
+
var configured4 = (options) => makeGlobalNode({
|
|
266
|
+
service: Service21,
|
|
267
|
+
layer: options === undefined ? layer11 : makeLayer(options),
|
|
268
268
|
deps: [node95, Global.node]
|
|
269
269
|
});
|
|
270
|
-
var
|
|
270
|
+
var node25 = configured4();
|
|
271
271
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
272
272
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
273
|
-
var unexpected = (response) => Effect.fail(new
|
|
274
|
-
var unavailable = (error) => new
|
|
273
|
+
var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
274
|
+
var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
|
|
275
275
|
function toInfo(value) {
|
|
276
276
|
const status = value.lifecycle.status;
|
|
277
277
|
return {
|
|
@@ -304,4 +304,4 @@ function fromID(value) {
|
|
|
304
304
|
return parsed;
|
|
305
305
|
}
|
|
306
306
|
|
|
307
|
-
export {
|
|
307
|
+
export { Options4, UnavailableError3, NotFoundError4, InvalidCwdError2, UnsupportedError2, Service21, layer11, configured4, node25, exports_persistent_pty, Handoff2, available3 };
|