@opencode/core 0.0.0-dev-482 → 0.0.0-dev-513
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +90 -90
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +9 -9
- package/dist/artifact.js +242 -241
- package/dist/bus.js +84 -84
- package/dist/chunks/{location-7tt9v2zf.js → pty-0023dqyf.js} +37 -41
- package/dist/chunks/{location-xjbsd7zy.js → pty-04whjz6n.js} +9 -9
- package/dist/chunks/{location-phsdbd2h.js → pty-06x2tb2z.js} +42 -47
- package/dist/chunks/{location-6dk0e5c5.js → pty-08bhk29w.js} +80 -87
- package/dist/chunks/{location-cpf1ce0h.js → pty-0afnvty9.js} +28 -36
- package/dist/chunks/{location-sqjzf8x2.js → pty-0j7gp832.js} +4 -4
- package/dist/chunks/{location-1serdbm0.js → pty-0jr76kac.js} +30 -30
- package/dist/chunks/{location-0ma9gw4f.js → pty-0ma9gw4f.js} +2 -2
- package/dist/chunks/{location-s8wwhb0c.js → pty-0qfwrc6c.js} +13 -10
- package/dist/chunks/{location-v8114j4p.js → pty-0te9byq8.js} +41 -62
- package/dist/chunks/pty-0zjr29y6.js +86 -0
- package/dist/chunks/{location-1aqsckx4.js → pty-1aqsckx4.js} +1 -1
- package/dist/chunks/{location-ytjw7m49.js → pty-1er6rw3f.js} +9 -9
- package/dist/chunks/{location-nbw5wvhd.js → pty-1fa7jad0.js} +19 -19
- package/dist/chunks/{location-c09c9xx3.js → pty-1p367p45.js} +19 -17
- package/dist/chunks/pty-1t1eb7kp.js +28 -0
- package/dist/chunks/{location-1x2knyw4.js → pty-1x2knyw4.js} +1 -1
- package/dist/chunks/pty-208nbn7x.js +16 -0
- package/dist/chunks/{location-rrym2d7k.js → pty-24cv518k.js} +9 -9
- package/dist/chunks/{location-5kwzkdf2.js → pty-2518a6av.js} +18 -18
- package/dist/chunks/{location-1ep2p91f.js → pty-27w5k9zf.js} +2 -2
- package/dist/chunks/{location-988q4p70.js → pty-288dktsv.js} +4 -4
- package/dist/chunks/{location-9abj58ej.js → pty-28tn5j34.js} +13 -13
- package/dist/chunks/{location-9f7zehfv.js → pty-2awgd92s.js} +9 -7
- package/dist/chunks/{location-f4y3d2yt.js → pty-2ks6fys2.js} +16 -16
- package/dist/chunks/{location-2p60zmnr.js → pty-2p60zmnr.js} +2 -2
- package/dist/chunks/{location-k9g0cjwj.js → pty-2rvvwxmf.js} +5 -5
- package/dist/chunks/{location-rzgk87mw.js → pty-2tcca9zd.js} +26 -26
- package/dist/chunks/{location-38ys11y3.js → pty-2xwkyk0m.js} +5 -5
- package/dist/chunks/{location-wq4p4nz0.js → pty-2y6sjp8j.js} +10 -10
- package/dist/chunks/{location-x8b2j0eq.js → pty-392kfhz5.js} +9 -9
- package/dist/chunks/{location-jget9c6q.js → pty-39w45v6e.js} +11 -11
- package/dist/chunks/{location-txkgt4s1.js → pty-3b7wqyfh.js} +107 -127
- package/dist/chunks/{location-ayjs7tqn.js → pty-3cbjf1nt.js} +2 -2
- package/dist/chunks/{location-5gesekxb.js → pty-3dn304yc.js} +8 -8
- package/dist/chunks/{location-tyc6z1sz.js → pty-3fyhdc57.js} +29 -29
- package/dist/chunks/{location-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-tmc7xdjs.js → pty-3nnrz6f6.js} +4 -4
- package/dist/chunks/{location-add59bdf.js → pty-3wb7g1gt.js} +2 -2
- package/dist/chunks/{location-40y6dtc2.js → pty-40y6dtc2.js} +1 -1
- package/dist/chunks/{location-44pmzq9c.js → pty-44pmzq9c.js} +2 -2
- package/dist/chunks/{location-bdtb8h02.js → pty-488wrreq.js} +15 -15
- package/dist/chunks/{location-4dx1dgte.js → pty-4dx1dgte.js} +1 -1
- package/dist/chunks/{location-4f25tdd0.js → pty-4f25tdd0.js} +1 -1
- package/dist/chunks/{location-4pyp9zr9.js → pty-4pyp9zr9.js} +1 -1
- package/dist/chunks/{location-dvn4vb83.js → pty-4r9sfa39.js} +14 -14
- package/dist/chunks/{location-fc12czj4.js → pty-4rj068ra.js} +3 -3
- package/dist/chunks/{location-dzxh8mds.js → pty-4rv3z8zz.js} +33 -60
- package/dist/chunks/{location-4v008n1t.js → pty-4v008n1t.js} +1 -1
- package/dist/chunks/{location-vex3khmr.js → pty-50j5ra4n.js} +31 -32
- package/dist/chunks/{location-cz3wcpwd.js → pty-55858vys.js} +23 -23
- package/dist/chunks/{location-3jcyqs0x.js → pty-55tsekh9.js} +50 -50
- package/dist/chunks/{location-ph23jcdx.js → pty-5ar0v554.js} +11 -11
- package/dist/chunks/{location-9d2m9w7e.js → pty-5cmp3exa.js} +11 -11
- package/dist/chunks/{location-ewa1ec51.js → pty-5gheszdj.js} +6 -14
- package/dist/chunks/{location-5m9w47nd.js → pty-5m9w47nd.js} +1 -1
- package/dist/chunks/{location-7k96bt42.js → pty-5qs3xxfj.js} +12 -12
- package/dist/chunks/{location-rv7pwnv1.js → pty-6095q8tb.js} +33 -30
- package/dist/chunks/{location-9xfh3qx1.js → pty-654bsdn4.js} +11 -11
- package/dist/chunks/{location-chgv8zg3.js → pty-659k2zkq.js} +2 -2
- package/dist/chunks/{location-t8erkws8.js → pty-67zhfnr5.js} +5 -5
- package/dist/chunks/{location-0tydawpq.js → pty-6935jb0f.js} +18 -18
- package/dist/chunks/{location-xnvebmwh.js → pty-6a8kqfnf.js} +197 -212
- package/dist/chunks/{location-q65mdntm.js → pty-6dqyy18z.js} +4 -4
- package/dist/chunks/{location-zt6jbzn6.js → pty-6dtfbb2g.js} +25 -33
- package/dist/chunks/{location-xdff7p3p.js → pty-6f7774sy.js} +15 -15
- package/dist/chunks/{location-sk97y4pa.js → pty-76ek7j69.js} +6 -6
- package/dist/chunks/pty-77ehzzh1.js +45 -0
- package/dist/chunks/{location-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-vr233qkz.js → pty-7dp4g980.js} +49 -56
- package/dist/chunks/{location-9km3nys4.js → pty-7h22etv1.js} +5 -5
- package/dist/chunks/{location-hm0x9a2y.js → pty-7nsaabgw.js} +5 -5
- package/dist/chunks/{location-tg1vr1qt.js → pty-7tpyp9vw.js} +4 -4
- package/dist/chunks/{location-7w2ypzdf.js → pty-7w2ypzdf.js} +1 -1
- package/dist/chunks/{location-7weczvnd.js → pty-7weczvnd.js} +1 -1
- package/dist/chunks/{location-vkp5tjg3.js → pty-7y5ejeck.js} +75 -75
- package/dist/chunks/{location-775hqbnd.js → pty-80mg3ag8.js} +3 -3
- package/dist/chunks/{location-89287pr7.js → pty-89287pr7.js} +1 -1
- package/dist/chunks/{location-25h84942.js → pty-8b3vzgkx.js} +4 -4
- package/dist/chunks/{location-8cg7mtm3.js → pty-8cg7mtm3.js} +1 -1
- package/dist/chunks/{location-78z55vz9.js → pty-8n09hdvs.js} +8 -8
- package/dist/chunks/{location-r17fbvme.js → pty-8t99kr38.js} +4 -4
- package/dist/chunks/{location-rmv7fhs4.js → pty-8wjgamp7.js} +3 -3
- package/dist/chunks/{location-8wtp7s3z.js → pty-8wtp7s3z.js} +1 -1
- package/dist/chunks/{location-rw9z8c7r.js → pty-8yb9m984.js} +15 -15
- package/dist/chunks/{location-ys7rp9j6.js → pty-8ykbxn4t.js} +12 -12
- package/dist/chunks/{location-d390zwf3.js → pty-8ykqf5wm.js} +8 -8
- package/dist/chunks/{location-mb7mbhnz.js → pty-8z6m94af.js} +3 -3
- package/dist/chunks/{location-90zstvax.js → pty-90zstvax.js} +1 -1
- package/dist/chunks/{location-vz06f061.js → pty-9bxrat4n.js} +155 -151
- package/dist/chunks/{location-3dvadycf.js → pty-9cnt8tq7.js} +16 -17
- package/dist/chunks/{location-zzdpwr6m.js → pty-9h0cdvnk.js} +34 -34
- package/dist/chunks/{location-1jshsnt4.js → pty-9wenq46a.js} +11 -11
- package/dist/chunks/pty-9wydm227.js +69 -0
- package/dist/chunks/{location-efd7k9cd.js → pty-ab8ej67z.js} +5 -5
- package/dist/chunks/{location-034tev2y.js → pty-aj7mw0zk.js} +2 -2
- package/dist/chunks/{location-g5by8gkj.js → pty-ak5gz8d8.js} +6 -6
- package/dist/chunks/{location-ac9tw622.js → pty-apk2e2bs.js} +17 -17
- package/dist/chunks/{location-bbmkcywa.js → pty-awz4eek6.js} +9 -9
- package/dist/chunks/{location-kh9rtkn7.js → pty-ayz3ejvk.js} +57 -66
- package/dist/chunks/{location-fgj5a68r.js → pty-b2d6kd10.js} +25 -25
- package/dist/chunks/{location-x1bzrmrv.js → pty-b5ppfg7c.js} +67 -31
- package/dist/chunks/{location-5nnwax6m.js → pty-b6vsg801.js} +5 -5
- package/dist/chunks/{location-bpmnncyw.js → pty-b7q2kk65.js} +22 -33
- package/dist/chunks/{location-n2tjkr8q.js → pty-b7xq4dcs.js} +5 -6
- package/dist/chunks/pty-b8dwq97p.js +69 -0
- package/dist/chunks/{location-8sxe6kv8.js → pty-bb3mmwvh.js} +2 -2
- package/dist/chunks/{location-fygak80s.js → pty-be2xj2mn.js} +17 -17
- package/dist/chunks/{location-23mg205d.js → pty-bekm5p4a.js} +22 -22
- package/dist/chunks/{location-1pevy3nx.js → pty-bhmrqjy3.js} +12 -21
- package/dist/chunks/{location-3fqv35td.js → pty-bmy4z589.js} +11 -11
- package/dist/chunks/{location-484j8fpd.js → pty-bnr8j2y9.js} +28 -30
- package/dist/chunks/{location-vkx30h9m.js → pty-btjprcgw.js} +17 -17
- package/dist/chunks/{location-z6cfvfba.js → pty-bv0keema.js} +3 -3
- package/dist/chunks/{location-7xxafhkb.js → pty-c0a85cxq.js} +30 -30
- package/dist/chunks/{location-805dh4kb.js → pty-c0z0yn58.js} +16 -16
- package/dist/chunks/{location-9e6160nv.js → pty-c1gh3vn9.js} +46 -46
- package/dist/chunks/{location-nrczc6t4.js → pty-c3p97ra1.js} +22 -22
- package/dist/chunks/{location-tenkbk6f.js → pty-c3wwghza.js} +9 -9
- package/dist/chunks/{location-3ryz99p0.js → pty-c6x7d2ts.js} +4 -4
- package/dist/chunks/{location-bhfd478d.js → pty-cr4rfj9z.js} +4 -4
- package/dist/chunks/{location-cwrgdav8.js → pty-cwrgdav8.js} +2 -2
- package/dist/chunks/{location-gjzp0g0k.js → pty-cwwdfq61.js} +8 -8
- package/dist/chunks/{location-t6fwc9q0.js → pty-czhsb2q6.js} +25 -25
- package/dist/chunks/{location-d4v9tmah.js → pty-d4v9tmah.js} +2 -2
- package/dist/chunks/{location-rxzbcqxf.js → pty-da6gh99y.js} +2 -2
- package/dist/chunks/pty-dm24tqc7.js +42 -0
- package/dist/chunks/{location-dt77769w.js → pty-dt77769w.js} +1 -1
- package/dist/chunks/{location-vj50rhab.js → pty-e18eb6k2.js} +8 -8
- package/dist/chunks/{location-e45fk36t.js → pty-e45fk36t.js} +1 -1
- package/dist/chunks/{location-tv15tdwr.js → pty-e6hhhbsa.js} +28 -28
- package/dist/chunks/{location-e834z07m.js → pty-e834z07m.js} +1 -1
- package/dist/chunks/{location-01pgc6t1.js → pty-ea27ppw6.js} +7 -7
- package/dist/chunks/{location-wwa90kkq.js → pty-ea5kk55q.js} +9 -9
- package/dist/chunks/{location-swedj7af.js → pty-eab6qpsk.js} +23 -23
- package/dist/chunks/{location-xshjxwsy.js → pty-ebys333n.js} +8 -8
- package/dist/chunks/{location-eqw4pqj1.js → pty-eqw4pqj1.js} +2 -2
- package/dist/chunks/{location-ktsssdpw.js → pty-erfgee4t.js} +28 -28
- package/dist/chunks/{location-z3deh3n3.js → pty-etatbea9.js} +30 -30
- package/dist/chunks/pty-ezna1kdx.js +18 -0
- package/dist/chunks/{location-csmfmyj6.js → pty-f2cwqqap.js} +50 -70
- package/dist/chunks/{location-wzzmpzmb.js → pty-f6pp4qky.js} +46 -46
- package/dist/chunks/{location-4eqsjcsp.js → pty-f96z8a64.js} +13 -13
- package/dist/chunks/{location-nbcpa24h.js → pty-fdn86re1.js} +6 -6
- package/dist/chunks/{location-52g8y578.js → pty-fe97g4vx.js} +10 -10
- package/dist/chunks/{location-fffv3p7h.js → pty-fffv3p7h.js} +1 -1
- package/dist/chunks/{location-3r0vrc21.js → pty-fg52mjqa.js} +7 -7
- package/dist/chunks/{location-fg9p65nk.js → pty-fg9p65nk.js} +2 -2
- package/dist/chunks/{location-a5m75t4w.js → pty-fmyvpwrx.js} +14 -17
- package/dist/chunks/{location-629vq7qf.js → pty-fn274a08.js} +139 -226
- package/dist/chunks/{location-jv56tjdv.js → pty-fr031yhe.js} +21 -21
- package/dist/chunks/{location-5zvrjgbk.js → pty-frh3mjer.js} +24 -67
- package/dist/chunks/{location-zsxzvz5w.js → pty-fvf45ej9.js} +54 -69
- package/dist/chunks/{location-gnf80hfn.js → pty-fvwmbxrt.js} +5 -5
- package/dist/chunks/{location-4trnm1hn.js → pty-g1h0e984.js} +9 -10
- package/dist/chunks/{location-vnjc296t.js → pty-g1x3338p.js} +2 -2
- package/dist/chunks/{location-x2h3wh5t.js → pty-g2s3kvm8.js} +33 -36
- package/dist/chunks/{location-nd6ydzwa.js → pty-g9y97szr.js} +1 -1
- package/dist/chunks/{location-h7xy8a2s.js → pty-gapbp5pm.js} +3 -3
- package/dist/chunks/{location-gbjdnr5j.js → pty-gbjdnr5j.js} +2 -2
- package/dist/chunks/{location-2sck34ne.js → pty-gd52an9j.js} +23 -23
- package/dist/chunks/{location-671yt1fh.js → pty-ge41aakr.js} +20 -20
- package/dist/chunks/{location-rktfw7eb.js → pty-gh24x7dt.js} +10 -10
- package/dist/chunks/pty-ghrv1g9c.js +38 -0
- package/dist/chunks/{location-kbjg1c6q.js → pty-gmn6pm9k.js} +12 -12
- package/dist/chunks/{location-1zda8fgz.js → pty-gpqwk5ba.js} +8 -8
- package/dist/chunks/{location-8req33qf.js → pty-gqq2rd3z.js} +63 -69
- package/dist/chunks/{location-a5hjg2v1.js → pty-h16d3r43.js} +54 -59
- package/dist/chunks/{location-hpgfvtnm.js → pty-haj55tp1.js} +18 -18
- package/dist/chunks/{location-q08pa1nj.js → pty-hav9640s.js} +23 -23
- package/dist/chunks/{location-bvffa3bg.js → pty-hbvmt4xp.js} +4 -4
- package/dist/chunks/{location-ynygqj77.js → pty-he6fdh83.js} +4 -4
- package/dist/chunks/{location-tdrhngm4.js → pty-he8e2fqg.js} +24 -28
- package/dist/chunks/{location-5tc3n98b.js → pty-j1m6936b.js} +32 -32
- package/dist/chunks/{location-a0rbws35.js → pty-jbze84ed.js} +31 -39
- package/dist/chunks/{location-gyckkmpa.js → pty-jgktxrwk.js} +15 -15
- package/dist/chunks/{location-c13b592v.js → pty-jkmfd651.js} +37 -38
- package/dist/chunks/{location-wm4pme2q.js → pty-jraeh57d.js} +13 -13
- package/dist/chunks/{location-nkhc0b8e.js → pty-jw5816mk.js} +17 -17
- package/dist/chunks/{location-8j03m598.js → pty-k07ws8by.js} +6 -6
- package/dist/chunks/{location-z5v37w21.js → pty-k46dd5bg.js} +4 -4
- package/dist/chunks/{location-vp2t5zgg.js → pty-k634w52t.js} +26 -26
- package/dist/chunks/{location-d573hr5k.js → pty-k63t3j85.js} +11 -11
- package/dist/chunks/{location-2axvd6s3.js → pty-kazckff2.js} +81 -81
- package/dist/chunks/{location-qaxfcnsv.js → pty-kb91f2ce.js} +11 -11
- package/dist/chunks/{location-7kr66rt3.js → pty-kh8gdsej.js} +55 -92
- package/dist/chunks/{location-cavp24mx.js → pty-kjzwj302.js} +19 -19
- package/dist/chunks/{location-0vdywerr.js → pty-knrrsbj9.js} +25 -25
- package/dist/chunks/{location-37356421.js → pty-kq3sm1ep.js} +23 -23
- package/dist/chunks/{location-kt3bjfbg.js → pty-kt3bjfbg.js} +1 -1
- package/dist/chunks/{location-v6cyb2p5.js → pty-kthmjft2.js} +3 -3
- package/dist/chunks/{location-mf853z88.js → pty-kv7gpwre.js} +7 -7
- package/dist/chunks/{location-3w8s8xp3.js → pty-kvbbjz3k.js} +59 -59
- package/dist/chunks/{location-kzczzf4v.js → pty-kzczzf4v.js} +1 -1
- package/dist/chunks/{location-m1714858.js → pty-m1714858.js} +1 -1
- package/dist/chunks/{location-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-nhk04w5x.js → pty-mat0qw5s.js} +21 -21
- package/dist/chunks/{location-g2mgh60t.js → pty-mgcjyd9g.js} +18 -18
- package/dist/chunks/{location-badf1jx5.js → pty-mpb394t4.js} +41 -53
- package/dist/chunks/{location-e3rsyggn.js → pty-mqg1yz44.js} +21 -19
- package/dist/chunks/{location-1v2g13eq.js → pty-msd2a3qm.js} +4 -4
- package/dist/chunks/{location-43s7a0t3.js → pty-mypzkbjq.js} +17 -17
- package/dist/chunks/{location-rbnrb63z.js → pty-n515v1q6.js} +39 -49
- package/dist/chunks/{location-gcwte8wz.js → pty-nd7r4c3m.js} +32 -32
- package/dist/chunks/{location-k892zkmz.js → pty-nkwvx6n5.js} +21 -21
- package/dist/chunks/{location-94e33dpz.js → pty-nt907s04.js} +3 -3
- package/dist/chunks/{location-px88z4yq.js → pty-nvwv1dfk.js} +21 -21
- package/dist/chunks/{location-eavcrtrz.js → pty-nw314s9d.js} +2 -2
- package/dist/chunks/{location-wegkxhrn.js → pty-nx4vzyjd.js} +2 -2
- package/dist/chunks/{location-nyxvvj5y.js → pty-nyxvvj5y.js} +1 -1
- package/dist/chunks/{location-512tdftc.js → pty-nz5h4cjb.js} +1 -1
- package/dist/chunks/{location-1yq9hg58.js → pty-p7vhpwh8.js} +5 -5
- package/dist/chunks/{location-xv6tcr0w.js → pty-p85kh4b9.js} +33 -41
- package/dist/chunks/{location-50emzza2.js → pty-pkkerzhz.js} +9 -9
- package/dist/chunks/{location-pknna89w.js → pty-pknna89w.js} +1 -1
- package/dist/chunks/{location-jwaey7ys.js → pty-ppcv2fse.js} +11 -11
- package/dist/chunks/{location-1a140ev3.js → pty-prvyngaa.js} +6 -6
- package/dist/chunks/{location-0wgmn1kb.js → pty-pwnwjmpk.js} +24 -24
- package/dist/chunks/{location-tvzzcc9t.js → pty-pzmcnx89.js} +12 -12
- package/dist/chunks/{location-wq4rsx08.js → pty-q187sr27.js} +57 -57
- package/dist/chunks/{location-hdreqhvr.js → pty-q53j9prd.js} +3 -3
- package/dist/chunks/{location-4k2smf6b.js → pty-q8h8ge1b.js} +3 -3
- package/dist/chunks/{location-j6qjs6cp.js → pty-qgxn53r2.js} +37 -39
- package/dist/chunks/{location-qj27ec1j.js → pty-qj27ec1j.js} +2 -2
- package/dist/chunks/{location-nn2nd58t.js → pty-qk5sk9d1.js} +7 -7
- package/dist/chunks/{location-qp7r0hxv.js → pty-qp7r0hxv.js} +1 -1
- package/dist/chunks/{location-ytkajd2z.js → pty-qqht4f3t.js} +43 -44
- package/dist/chunks/{location-qqvy8y24.js → pty-qqvy8y24.js} +1 -1
- package/dist/chunks/{location-bd27wa44.js → pty-qrnhzphe.js} +21 -21
- package/dist/chunks/{location-qsdghx1p.js → pty-qsdghx1p.js} +1 -1
- package/dist/chunks/{location-mje1y6t4.js → pty-qv4xbp49.js} +7 -7
- package/dist/chunks/{location-5enarcya.js → pty-r41sfy63.js} +9 -9
- package/dist/chunks/{location-rb9dy4dg.js → pty-rb9dy4dg.js} +1 -1
- package/dist/chunks/{location-g3v5zqn8.js → pty-rbvjmsc7.js} +31 -31
- package/dist/chunks/{location-0f7kkqtf.js → pty-rcx3bfwc.js} +4 -4
- package/dist/chunks/{location-jtnps1zs.js → pty-rgc9cx3e.js} +9 -4
- package/dist/chunks/{location-mjhey12a.js → pty-rhc46xz4.js} +11 -11
- package/dist/chunks/{location-dg5naf6e.js → pty-rj7j5fvs.js} +4 -4
- package/dist/chunks/{location-hyevg830.js → pty-rm3930ch.js} +25 -25
- package/dist/chunks/{location-zva2cc2v.js → pty-rqr4sfbw.js} +49 -43
- package/dist/chunks/{location-rt5dr6hb.js → pty-rt5dr6hb.js} +1 -1
- package/dist/chunks/{location-s2pfznc4.js → pty-s2pfznc4.js} +1 -1
- package/dist/chunks/{location-zmh55w6z.js → pty-s5mwnp51.js} +8 -8
- package/dist/chunks/{location-2kg89srt.js → pty-s7kyse9r.js} +4 -4
- package/dist/chunks/{location-390xskpw.js → pty-s8qtxmzm.js} +19 -4
- package/dist/chunks/{location-sa3fpqfw.js → pty-sa3fpqfw.js} +2 -2
- package/dist/chunks/{location-sbya78hr.js → pty-sbya78hr.js} +1 -1
- package/dist/chunks/{location-sbz71ybr.js → pty-sbz71ybr.js} +1 -1
- package/dist/chunks/{location-tfn5dkze.js → pty-scj3yyxn.js} +45 -58
- package/dist/chunks/{location-ds54zjme.js → pty-sjtej4jg.js} +5 -5
- package/dist/chunks/{location-mv3cjvqe.js → pty-skdkpe37.js} +28 -31
- package/dist/chunks/pty-smsep8gg.js +61 -0
- package/dist/chunks/{location-6w51fm74.js → pty-snyjxc4r.js} +19 -19
- package/dist/chunks/{location-bnzx9dwt.js → pty-sp85y8nd.js} +8 -8
- package/dist/chunks/{location-v5kg2n5y.js → pty-srvw3mxg.js} +4 -4
- package/dist/chunks/{location-svcy3p9a.js → pty-svcy3p9a.js} +1 -1
- package/dist/chunks/{location-mjye3rax.js → pty-sz3tm3gm.js} +52 -52
- package/dist/chunks/{location-szwm4crx.js → pty-szwm4crx.js} +4 -4
- package/dist/chunks/{location-0q8q98et.js → pty-t41k4f06.js} +16 -16
- package/dist/chunks/{location-3sm8rpg8.js → pty-t600mkfg.js} +16 -16
- package/dist/chunks/{location-qqf3gkjm.js → pty-t9s2jeab.js} +11 -11
- package/dist/chunks/{location-9qqfewpb.js → pty-tb2mrvc9.js} +4 -4
- package/dist/chunks/{location-r9w18wee.js → pty-tcyq6bhw.js} +10 -17
- package/dist/chunks/{location-tczq8hjw.js → pty-tczq8hjw.js} +1 -1
- package/dist/chunks/pty-tfhtby8v.js +26 -0
- package/dist/chunks/{location-hv45qt1z.js → pty-tfphs1zq.js} +31 -31
- package/dist/chunks/{location-gxs71cxp.js → pty-tg7s7b5t.js} +4 -4
- package/dist/chunks/{location-nq8md5pc.js → pty-tgc5wewm.js} +45 -51
- package/dist/chunks/{location-d9tv0j4w.js → pty-tnzj1417.js} +8 -8
- package/dist/chunks/{location-tr8x705m.js → pty-tr8x705m.js} +1 -1
- package/dist/chunks/{location-1nresfvs.js → pty-trbkmgn6.js} +25 -28
- package/dist/chunks/pty-tvtps2q9.js +40 -0
- package/dist/chunks/{location-twssxy5n.js → pty-twssxy5n.js} +2 -2
- package/dist/chunks/{location-v2r1d0zg.js → pty-v2r1d0zg.js} +1 -1
- package/dist/chunks/{location-80ebm126.js → pty-v3hpn5wv.js} +17 -17
- package/dist/chunks/{location-8vk3va5c.js → pty-vgv0ynd3.js} +15 -15
- package/dist/chunks/{location-dxdc95em.js → pty-vh8cf7c0.js} +3 -3
- package/dist/chunks/{location-vjf35v1f.js → pty-vjf35v1f.js} +1 -1
- package/dist/chunks/{location-ctmpqb7w.js → pty-vq0qa3sh.js} +9 -9
- package/dist/chunks/{location-xh5xpxzv.js → pty-vr57n06r.js} +11 -11
- package/dist/chunks/{location-d3074txc.js → pty-vsp3v0h1.js} +12 -12
- package/dist/chunks/{location-2vytr4qs.js → pty-vwqd7bxt.js} +39 -38
- package/dist/chunks/{location-7e31cxcq.js → pty-vyb022hh.js} +25 -25
- package/dist/chunks/{location-jy4bs43h.js → pty-w0dbrkjj.js} +32 -26
- package/dist/chunks/{location-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-wr3re1en.js → pty-w687dnns.js} +4 -4
- package/dist/chunks/{location-z838ayja.js → pty-w6zht2k8.js} +2 -2
- package/dist/chunks/{location-a42agwqf.js → pty-w96t5dx5.js} +15 -15
- package/dist/chunks/{location-wakvkjy4.js → pty-wakvkjy4.js} +1 -1
- package/dist/chunks/{location-wd87259q.js → pty-wd87259q.js} +1 -1
- package/dist/chunks/{location-6narqht5.js → pty-we1nkpqm.js} +36 -47
- package/dist/chunks/{location-fc7r79k5.js → pty-we7ta21m.js} +8 -8
- package/dist/chunks/{location-gse8hrf9.js → pty-wedqffd6.js} +9 -9
- package/dist/chunks/{location-wnhgecwx.js → pty-wnhgecwx.js} +1 -1
- package/dist/chunks/{location-ew5p7j1s.js → pty-wxerkmn2.js} +11 -11
- package/dist/chunks/{location-0xqbsrqr.js → pty-wzk0sywq.js} +370 -362
- package/dist/chunks/{location-0fcqkqe0.js → pty-x04h5mrv.js} +17 -17
- package/dist/chunks/{location-6ss6ngz0.js → pty-x26wqd07.js} +4 -4
- package/dist/chunks/{location-3gbdv6d6.js → pty-x29wv32c.js} +48 -56
- package/dist/chunks/{location-5pqzpska.js → pty-x4qk82bb.js} +14 -14
- package/dist/chunks/{location-bb3pv0r8.js → pty-xad1gvt8.js} +7 -7
- package/dist/chunks/{location-kee5eaqe.js → pty-xcx3vbqx.js} +17 -17
- package/dist/chunks/{location-gate3zxc.js → pty-xczh4mb3.js} +11 -11
- package/dist/chunks/{location-bstexjd6.js → pty-xd9cc171.js} +5 -5
- package/dist/chunks/{location-1smrtfhf.js → pty-xf13msbn.js} +47 -47
- package/dist/chunks/{location-aza0qgdg.js → pty-xg3etxpz.js} +9 -24
- package/dist/chunks/{location-wzjdj14d.js → pty-xj846p5w.js} +10 -10
- package/dist/chunks/pty-xjr6c8m4.js +37 -0
- package/dist/chunks/{location-brv6mkyx.js → pty-xksw6ev0.js} +4 -4
- package/dist/chunks/{location-bfwvr4qd.js → pty-xngq7d9m.js} +84 -84
- package/dist/chunks/{location-ghv8rcpm.js → pty-xwkfc1jv.js} +15 -15
- package/dist/chunks/{location-yzddgs9q.js → pty-xygagwej.js} +21 -21
- package/dist/chunks/{location-hz1m7hmp.js → pty-xygzzjxz.js} +3 -3
- package/dist/chunks/{location-xym735jc.js → pty-xym735jc.js} +1 -1
- package/dist/chunks/{location-zrm3sqe8.js → pty-xzakt4mt.js} +37 -37
- package/dist/chunks/pty-y63cdny4.js +85 -0
- package/dist/chunks/{location-k9swty0g.js → pty-y99mgccj.js} +5 -5
- package/dist/chunks/{location-yb20nhc3.js → pty-yb20nhc3.js} +1 -1
- package/dist/chunks/{location-3t9tbebp.js → pty-ycjen0nk.js} +30 -30
- package/dist/chunks/{location-970zrxzb.js → pty-ygqv5g3p.js} +30 -31
- package/dist/chunks/{location-m528r48h.js → pty-yh1frphp.js} +4 -4
- package/dist/chunks/{location-jx1cej34.js → pty-yhg19nad.js} +16 -16
- package/dist/chunks/{location-nrzjm3wv.js → pty-yhqe6hsm.js} +21 -21
- package/dist/chunks/{location-5gfssad4.js → pty-yj36cpkw.js} +6 -6
- package/dist/chunks/{location-yr705xyq.js → pty-yr705xyq.js} +1 -1
- package/dist/chunks/{location-spwvyatr.js → pty-yrx88kft.js} +12 -12
- package/dist/chunks/{location-yvtc2x31.js → pty-yvtc2x31.js} +1 -1
- package/dist/chunks/{location-0jkcjdkb.js → pty-yw6v6yt8.js} +17 -17
- package/dist/chunks/{location-k8zhcgth.js → pty-yx0s3wdh.js} +17 -17
- package/dist/chunks/{location-snhk3d40.js → pty-yxaknd5c.js} +32 -32
- package/dist/chunks/{location-w9b0ha22.js → pty-yxrmjvdn.js} +114 -147
- package/dist/chunks/{location-1cdwtwnn.js → pty-z080rjh6.js} +4 -4
- package/dist/chunks/{location-dbht28n9.js → pty-z0h12gs8.js} +3 -2
- package/dist/chunks/{location-s3571hbf.js → pty-z51hj4f3.js} +28 -32
- package/dist/chunks/{location-zyfhsknv.js → pty-z7881fav.js} +9 -9
- package/dist/chunks/{location-0jpvqtke.js → pty-z9fr3t5s.js} +34 -43
- package/dist/chunks/{location-j9nxzz3g.js → pty-ze75qvmd.js} +3 -3
- package/dist/chunks/{location-bn5c4xpj.js → pty-zmx3s5hb.js} +51 -51
- package/dist/chunks/{location-gedds2h4.js → pty-zvcp0hmn.js} +5 -7
- package/dist/chunks/{location-4vcrnpx2.js → pty-zxpyjp51.js} +9 -19
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +145 -145
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +151 -151
- package/dist/command.js +94 -94
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +3 -3
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +133 -132
- package/dist/config/plugin/command.js +234 -232
- package/dist/config/plugin/compaction.js +171 -171
- package/dist/config/plugin/compatibility.js +150 -150
- package/dist/config/plugin/entry-observer.js +6 -2
- 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 +132 -132
- package/dist/config/plugin/mcp.js +143 -142
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +132 -132
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +132 -132
- package/dist/config/plugin/skill-file.js +146 -146
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +153 -153
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +134 -133
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +131 -131
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +133 -133
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/database.js +81 -81
- 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 +62 -62
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/v1-migration.bun.js +108 -108
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +429 -425
- 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 +107 -108
- package/dist/environment/exec-defaults.js +5 -3
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +113 -111
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +85 -85
- package/dist/file-access.js +157 -156
- package/dist/file-mutation.js +108 -107
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +166 -0
- 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 +247 -246
- package/dist/filesystem/protected.js +2 -4
- package/dist/filesystem/search.js +115 -114
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +116 -115
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +100 -100
- package/dist/generate.js +118 -118
- package/dist/git.js +11 -11
- 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 +3 -3
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +1 -1
- package/dist/instance.js +422 -418
- package/dist/instruction-discovery.js +91 -91
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +5 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +100 -100
- package/dist/job/sql.js +2 -2
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +174 -174
- package/dist/location-lifecycle.js +146 -146
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +423 -419
- package/dist/location.js +102 -102
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +109 -110
- package/dist/mcp/connection.js +106 -105
- package/dist/mcp/index.js +120 -119
- package/dist/mcp/instructions.js +181 -180
- package/dist/mcp/oauth.js +92 -103
- package/dist/mcp/socket-client.js +2 -4
- package/dist/mcp/stdio.js +104 -103
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +112 -112
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +113 -113
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +117 -117
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +91 -91
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +155 -153
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +89 -89
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +87 -87
- package/dist/plugin/command.js +117 -116
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +238 -237
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +402 -398
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +131 -129
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +146 -146
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +104 -104
- package/dist/plugin/provider/azure.js +132 -132
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +130 -130
- 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 +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +7 -7
- package/dist/plugin/provider/claude-agent/index.js +146 -145
- package/dist/plugin/provider/claude-agent/instructions.js +112 -112
- package/dist/plugin/provider/claude-agent/integration.js +111 -111
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +110 -110
- package/dist/plugin/provider/claude-agent/session.js +112 -112
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +128 -128
- package/dist/plugin/provider/cloudflare-workers-ai.js +128 -128
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +85 -85
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +108 -108
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +110 -110
- package/dist/plugin/provider/gitlab.js +107 -107
- 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 -139
- package/dist/plugin/provider/local.js +137 -136
- package/dist/plugin/provider/modal.js +107 -107
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +140 -139
- package/dist/plugin/provider/openai-context-caps.js +103 -103
- package/dist/plugin/provider/openai.js +130 -130
- package/dist/plugin/provider/opencode.js +155 -155
- 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 +129 -129
- package/dist/plugin/provider/vllm.js +140 -139
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +235 -234
- package/dist/plugin/sdk.js +85 -85
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +147 -147
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +414 -410
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +106 -106
- package/dist/plugin/warming.js +130 -130
- package/dist/plugin/websearch/exa.js +8 -7
- package/dist/plugin/websearch/firecrawl.js +9 -8
- package/dist/plugin/websearch/index.js +10 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +9 -8
- package/dist/plugin/websearch/provider.js +8 -0
- package/dist/plugin/websearch/tavily.js +5 -4
- package/dist/plugin/websearch/tinyfish.js +9 -8
- package/dist/plugin.js +247 -246
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +103 -103
- package/dist/provider.js +112 -112
- 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 +99 -99
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +111 -110
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +243 -242
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +257 -256
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +129 -129
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +173 -173
- package/dist/session/context.js +200 -199
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +245 -244
- package/dist/session/execution.js +159 -159
- package/dist/session/generate.js +202 -201
- package/dist/session/history.js +136 -142
- package/dist/session/inbox.js +139 -139
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +90 -90
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +143 -143
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +166 -166
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +165 -165
- package/dist/session/projector.js +143 -143
- package/dist/session/prompt.js +148 -148
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +139 -139
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +1 -1
- package/dist/session/runner/llm.js +252 -251
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +149 -149
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +163 -163
- package/dist/session/runner/to-llm-message.js +137 -137
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +182 -181
- package/dist/session/shell.js +145 -144
- package/dist/session/skill.js +149 -149
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +86 -86
- package/dist/session/store.js +142 -142
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +3 -3
- package/dist/session/subagent-job.js +231 -230
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +204 -203
- package/dist/session/to-session-error.js +148 -148
- package/dist/session/transfer.js +240 -239
- package/dist/session/usage.js +1 -1
- package/dist/session.js +233 -232
- package/dist/shared-cache.js +1 -1
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +147 -146
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +151 -151
- package/dist/skill.js +154 -154
- package/dist/snapshot.js +104 -104
- 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 +180 -179
- package/dist/tool/plugin/artifact.js +230 -229
- package/dist/tool/plugin/edit.js +167 -164
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +169 -166
- package/dist/tool/plugin/grep.js +170 -168
- package/dist/tool/plugin/image-generate.js +241 -240
- package/dist/tool/plugin/mcp-resource.js +164 -163
- package/dist/tool/plugin/opencode.js +163 -161
- package/dist/tool/plugin/patch.js +168 -166
- package/dist/tool/plugin/question.js +144 -144
- package/dist/tool/plugin/read.js +168 -167
- package/dist/tool/plugin/schedule.js +249 -248
- package/dist/tool/plugin/shell.js +237 -236
- package/dist/tool/plugin/skill.js +157 -157
- package/dist/tool/plugin/subagent.js +236 -235
- package/dist/tool/plugin/todo.js +149 -149
- package/dist/tool/plugin/webfetch.js +157 -157
- package/dist/tool/plugin/websearch.js +155 -155
- package/dist/tool/plugin/write.js +168 -166
- package/dist/tool/read-filesystem.js +116 -115
- package/dist/tool/runtime.js +5 -3
- package/dist/tool/search.js +118 -0
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +161 -161
- package/dist/types/config/plugin/entry-observer.d.ts +15 -0
- package/dist/types/environment/exec-defaults.d.ts +3 -1
- package/dist/types/environment/index.d.ts +1 -4
- package/dist/types/file-write.d.ts +30 -0
- package/dist/types/filesystem/protected.d.ts +0 -2
- package/dist/types/instance.d.ts +2 -1
- package/dist/types/instructions/index.d.ts +16 -0
- package/dist/types/mcp/index.d.ts +3 -9
- package/dist/types/mcp/oauth.d.ts +1 -44
- package/dist/types/permission.d.ts +11 -0
- package/dist/types/persistent-pty/daemon.d.ts +10 -16
- package/dist/types/persistent-pty/index.d.ts +3 -16
- package/dist/types/plugin/host.d.ts +1 -1
- package/dist/types/plugin/internal.d.ts +19 -4
- package/dist/types/plugin/module.d.ts +13 -6
- package/dist/types/plugin/websearch/provider.d.ts +12 -0
- package/dist/types/plugin.d.ts +1 -1
- package/dist/types/repository-cache.d.ts +1 -1
- package/dist/types/session/history.d.ts +1 -304
- package/dist/types/session/runner/publish-llm-event.d.ts +0 -1
- package/dist/types/tool/plugin/edit.d.ts +2 -3
- package/dist/types/tool/plugin/write.d.ts +2 -6
- package/dist/types/tool/runtime.d.ts +5 -3
- package/dist/types/tool/search.d.ts +9 -0
- package/dist/usage-limits.js +98 -98
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +105 -105
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +6 -6
- package/dist/variant.js +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +97 -97
- package/dist/websearch.js +93 -93
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +92 -92
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +113 -113
- package/package.json +9 -9
- package/dist/chunks/location-27rfk046.js +0 -105
- package/dist/chunks/location-6bshxcsx.js +0 -18
- package/dist/chunks/location-76cb1hcw.js +0 -63
- package/dist/chunks/location-epzk50yp.js +0 -26
- package/dist/chunks/location-hpg1pkwy.js +0 -20
- package/dist/chunks/location-j1n85xqv.js +0 -80
- package/dist/chunks/location-rz41xnze.js +0 -81
- package/dist/chunks/location-w563xz5b.js +0 -80
- package/dist/chunks/location-xn7cqzsq.js +0 -16
- package/dist/chunks/location-zyne38h8.js +0 -96
- /package/dist/chunks/{location-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-1kah00gy.js → pty-1kah00gy.js} +0 -0
- /package/dist/chunks/{location-24dcb14g.js → pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-2710q6r3.js → pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-2bv980vf.js → pty-2bv980vf.js} +0 -0
- /package/dist/chunks/{location-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-359p4xyc.js → pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-3asan66x.js → pty-3asan66x.js} +0 -0
- /package/dist/chunks/{location-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-4qk9sjk2.js → pty-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{location-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-53557ph1.js → pty-53557ph1.js} +0 -0
- /package/dist/chunks/{location-550bvhaj.js → pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-5w3e23ze.js → pty-5w3e23ze.js} +0 -0
- /package/dist/chunks/{location-6agm2x70.js → pty-6agm2x70.js} +0 -0
- /package/dist/chunks/{location-6prwharc.js → pty-6prwharc.js} +0 -0
- /package/dist/chunks/{location-6q2bdcd1.js → pty-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{location-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-7m9af43g.js → pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-822emrt2.js → pty-822emrt2.js} +0 -0
- /package/dist/chunks/{location-84wd9syh.js → pty-84wd9syh.js} +0 -0
- /package/dist/chunks/{location-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-8n3pysct.js → pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-8wj87zfr.js → pty-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-af5trqkr.js → pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-afrmfg78.js → pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-beh6qq61.js → pty-beh6qq61.js} +0 -0
- /package/dist/chunks/{location-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-cqv5kn06.js → pty-cqv5kn06.js} +0 -0
- /package/dist/chunks/{location-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-d9fn303g.js → pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-dap0rakb.js → pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-df08tz66.js → pty-df08tz66.js} +0 -0
- /package/dist/chunks/{location-dy18nga0.js → pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-ean2d8b5.js → pty-ean2d8b5.js} +0 -0
- /package/dist/chunks/{location-ec1grn59.js → pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-faypxj3z.js → pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-fd410y7t.js → pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-fkpq3x5p.js → pty-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{location-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-g86h250q.js → pty-g86h250q.js} +0 -0
- /package/dist/chunks/{location-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-gftt206x.js → pty-gftt206x.js} +0 -0
- /package/dist/chunks/{location-hcxmzztb.js → pty-hcxmzztb.js} +0 -0
- /package/dist/chunks/{location-hk9envan.js → pty-hk9envan.js} +0 -0
- /package/dist/chunks/{location-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-jwr30sdr.js → pty-jwr30sdr.js} +0 -0
- /package/dist/chunks/{location-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-m18g726c.js → pty-m18g726c.js} +0 -0
- /package/dist/chunks/{location-mp448xyj.js → pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-nh4v3znn.js → pty-nh4v3znn.js} +0 -0
- /package/dist/chunks/{location-njntx4h6.js → pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-p71gwv9c.js → pty-p71gwv9c.js} +0 -0
- /package/dist/chunks/{location-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-q74kybfr.js → pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-syrav9an.js → pty-syrav9an.js} +0 -0
- /package/dist/chunks/{location-t03h4f5z.js → pty-t03h4f5z.js} +0 -0
- /package/dist/chunks/{location-ty7weeps.js → pty-ty7weeps.js} +0 -0
- /package/dist/chunks/{location-ve7vex1e.js → pty-ve7vex1e.js} +0 -0
- /package/dist/chunks/{location-vtarvj67.js → pty-vtarvj67.js} +0 -0
- /package/dist/chunks/{location-w803qqfp.js → pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-wtztk69x.js → pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-x61499pn.js → pty-x61499pn.js} +0 -0
- /package/dist/chunks/{location-y44na4kk.js → pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-y8f7s663.js → pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-z5v4ffb3.js → pty-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-z9919s4g.js → pty-z9919s4g.js} +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service90,
|
|
3
|
+
node93
|
|
4
|
+
} from "./pty-n515v1q6.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./pty-ge41aakr.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 = {};
|
|
@@ -20,13 +20,13 @@ __export(exports_persistent_pty, {
|
|
|
20
20
|
NotFoundError: () => NotFoundError4,
|
|
21
21
|
Options: () => Options3,
|
|
22
22
|
PersistentPty: () => exports_persistent_pty,
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service26,
|
|
24
24
|
UnavailableError: () => UnavailableError4,
|
|
25
25
|
UnsupportedError: () => UnsupportedError2,
|
|
26
26
|
available: () => available3,
|
|
27
27
|
configured: () => configured3,
|
|
28
28
|
layer: () => layer12,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node29
|
|
30
30
|
});
|
|
31
31
|
import { stat } from "node:fs/promises";
|
|
32
32
|
import path from "node:path";
|
|
@@ -71,10 +71,10 @@ class UnsupportedError2 extends Schema.TaggedError()("PersistentPty.UnsupportedE
|
|
|
71
71
|
}) {
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service26 extends Context.Service()("@opencode/PersistentPty") {
|
|
75
75
|
}
|
|
76
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
77
|
-
const bus = yield*
|
|
76
|
+
var makeLayer = (options = {}) => Layer.effect(Service26, Effect.gen(function* () {
|
|
77
|
+
const bus = yield* Service90;
|
|
78
78
|
const global = yield* Global.Service;
|
|
79
79
|
const context = yield* Effect.context();
|
|
80
80
|
const runFork = Effect.runForkWith(context);
|
|
@@ -121,61 +121,18 @@ var makeLayer = (options = {}) => Layer.effect(Service23, Effect.gen(function* (
|
|
|
121
121
|
yield* bus.publish(Added, { sessionID, terminal });
|
|
122
122
|
return terminal;
|
|
123
123
|
});
|
|
124
|
-
const
|
|
125
|
-
yield* get(id);
|
|
126
|
-
const response = yield* request(daemon, {
|
|
127
|
-
op: "write",
|
|
128
|
-
id: fromID(id),
|
|
129
|
-
attachment_id: attachmentID ?? null,
|
|
130
|
-
data_base64: Buffer.from(data).toString("base64")
|
|
131
|
-
});
|
|
132
|
-
if (response.type !== "ok")
|
|
133
|
-
return yield* unexpected(response);
|
|
134
|
-
return;
|
|
135
|
-
});
|
|
136
|
-
const resize = Effect.fn("PersistentPty.resize")(function* (id, cols, rows, attachmentID) {
|
|
137
|
-
const terminal = yield* get(id);
|
|
138
|
-
const response = yield* request(daemon, {
|
|
139
|
-
op: "resize",
|
|
140
|
-
id: fromID(id),
|
|
141
|
-
attachment_id: attachmentID ?? null,
|
|
142
|
-
cols,
|
|
143
|
-
rows
|
|
144
|
-
});
|
|
145
|
-
if (response.type !== "ok")
|
|
146
|
-
return yield* unexpected(response);
|
|
147
|
-
current.set(terminal.sessionID, id);
|
|
148
|
-
return;
|
|
149
|
-
});
|
|
150
|
-
const control = Effect.fn("PersistentPty.control")(function* (id, attachmentID, cols, rows) {
|
|
151
|
-
const terminal = yield* get(id);
|
|
152
|
-
const response = yield* request(daemon, {
|
|
153
|
-
op: "control",
|
|
154
|
-
id: fromID(id),
|
|
155
|
-
attachment_id: attachmentID,
|
|
156
|
-
cols,
|
|
157
|
-
rows
|
|
158
|
-
});
|
|
159
|
-
if (response.type !== "ok")
|
|
160
|
-
return yield* unexpected(response);
|
|
161
|
-
current.set(terminal.sessionID, id);
|
|
162
|
-
return;
|
|
163
|
-
});
|
|
164
|
-
const input = Effect.fn("PersistentPty.input")(function* (id, attachmentID, cols, rows, data) {
|
|
124
|
+
const command = (id, op, body, select) => Effect.gen(function* () {
|
|
165
125
|
const terminal = yield* get(id);
|
|
166
|
-
const response = yield* request(daemon, {
|
|
167
|
-
op: "input",
|
|
168
|
-
id: fromID(id),
|
|
169
|
-
attachment_id: attachmentID,
|
|
170
|
-
cols,
|
|
171
|
-
rows,
|
|
172
|
-
data_base64: Buffer.from(data).toString("base64")
|
|
173
|
-
});
|
|
126
|
+
const response = yield* request(daemon, { op, id: fromID(id), ...body });
|
|
174
127
|
if (response.type !== "ok")
|
|
175
128
|
return yield* unexpected(response);
|
|
176
|
-
|
|
177
|
-
|
|
129
|
+
if (select)
|
|
130
|
+
current.set(terminal.sessionID, id);
|
|
178
131
|
});
|
|
132
|
+
const write = Effect.fn("PersistentPty.write")((id, data, attachmentID) => command(id, "write", { attachment_id: attachmentID ?? null, data_base64: Buffer.from(data).toString("base64") }, false));
|
|
133
|
+
const resize = Effect.fn("PersistentPty.resize")((id, cols, rows, attachmentID) => command(id, "resize", { attachment_id: attachmentID ?? null, cols, rows }, true));
|
|
134
|
+
const control = Effect.fn("PersistentPty.control")((id, attachmentID, cols, rows) => command(id, "control", { attachment_id: attachmentID, cols, rows }, true));
|
|
135
|
+
const input = Effect.fn("PersistentPty.input")((id, attachmentID, cols, rows, data) => command(id, "input", { attachment_id: attachmentID, cols, rows, data_base64: Buffer.from(data).toString("base64") }, true));
|
|
179
136
|
const rename = Effect.fn("PersistentPty.rename")(function* (id, title) {
|
|
180
137
|
const terminal = yield* get(id);
|
|
181
138
|
if (!(yield* daemon.supports("rename").pipe(Effect.mapError(unavailable))))
|
|
@@ -287,7 +244,7 @@ var makeLayer = (options = {}) => Layer.effect(Service23, Effect.gen(function* (
|
|
|
287
244
|
detach: attachment.detach
|
|
288
245
|
};
|
|
289
246
|
});
|
|
290
|
-
return
|
|
247
|
+
return Service26.of({
|
|
291
248
|
list,
|
|
292
249
|
get,
|
|
293
250
|
create,
|
|
@@ -306,11 +263,11 @@ var makeLayer = (options = {}) => Layer.effect(Service23, Effect.gen(function* (
|
|
|
306
263
|
}));
|
|
307
264
|
var layer12 = makeLayer();
|
|
308
265
|
var configured3 = (options) => makeGlobalNode({
|
|
309
|
-
service:
|
|
266
|
+
service: Service26,
|
|
310
267
|
layer: options === undefined ? layer12 : makeLayer(options),
|
|
311
|
-
deps: [
|
|
268
|
+
deps: [node93, Global.node]
|
|
312
269
|
});
|
|
313
|
-
var
|
|
270
|
+
var node29 = configured3();
|
|
314
271
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
315
272
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
316
273
|
var unexpected = (response) => Effect.fail(new UnavailableError4({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
@@ -347,4 +304,4 @@ function fromID(value) {
|
|
|
347
304
|
return parsed;
|
|
348
305
|
}
|
|
349
306
|
|
|
350
|
-
export { Options3, UnavailableError4, NotFoundError4, InvalidCwdError2, UnsupportedError2,
|
|
307
|
+
export { Options3, UnavailableError4, NotFoundError4, InvalidCwdError2, UnsupportedError2, Service26, layer12, configured3, node29, exports_persistent_pty, Handoff2, available3 };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service66
|
|
3
|
+
} from "./pty-haj55tp1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service84
|
|
6
|
+
} from "./pty-x04h5mrv.js";
|
|
7
7
|
import {
|
|
8
8
|
Unattended2,
|
|
9
9
|
merge2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service63
|
|
11
|
+
} from "./pty-rqr4sfbw.js";
|
|
12
12
|
import {
|
|
13
13
|
qualifiedName2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./pty-ea5kk55q.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service57
|
|
17
|
+
} from "./pty-77ehzzh1.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service16,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./pty-z51hj4f3.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
awaitActivation2
|
|
24
|
+
} from "./pty-ezna1kdx.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service42
|
|
27
|
+
} from "./pty-x29wv32c.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
Service32
|
|
30
|
+
} from "./pty-qqht4f3t.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
32
|
+
Service75,
|
|
33
33
|
args2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./pty-ge41aakr.js";
|
|
35
35
|
import {
|
|
36
36
|
scan3
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./pty-b7xq4dcs.js";
|
|
38
38
|
import {
|
|
39
39
|
__export
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./pty-9rqn6x4v.js";
|
|
41
41
|
|
|
42
42
|
// src/schedule/check.ts
|
|
43
43
|
var exports_check = {};
|
|
@@ -122,8 +122,7 @@ function describe2(condition) {
|
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
var authorize2 = Effect.fnUntraced(function* (session, name, when, check) {
|
|
125
|
-
|
|
126
|
-
yield* plugins.awaitActivation;
|
|
125
|
+
yield* awaitActivation2;
|
|
127
126
|
switch (check.condition.type) {
|
|
128
127
|
case "shell":
|
|
129
128
|
return yield* authorizeShell(session, name, when, check.mode, check.condition);
|
|
@@ -133,8 +132,7 @@ var authorize2 = Effect.fnUntraced(function* (session, name, when, check) {
|
|
|
133
132
|
});
|
|
134
133
|
var evaluate2 = Effect.fnUntraced(function* (session, check, prevState, context) {
|
|
135
134
|
const run = Effect.gen(function* () {
|
|
136
|
-
|
|
137
|
-
yield* plugins.awaitActivation;
|
|
135
|
+
yield* awaitActivation2;
|
|
138
136
|
switch (check.condition.type) {
|
|
139
137
|
case "shell":
|
|
140
138
|
return yield* runShell(session, check.condition, prevState);
|
|
@@ -147,9 +145,15 @@ var evaluate2 = Effect.fnUntraced(function* (session, check, prevState, context)
|
|
|
147
145
|
onSome: (outcome) => outcome
|
|
148
146
|
})));
|
|
149
147
|
});
|
|
150
|
-
var
|
|
151
|
-
|
|
152
|
-
|
|
148
|
+
var wakeOutcome = (wake, state, message) => ({
|
|
149
|
+
ok: true,
|
|
150
|
+
wake,
|
|
151
|
+
state,
|
|
152
|
+
...wake && message !== undefined ? { message } : {}
|
|
153
|
+
});
|
|
154
|
+
var codeActions = Effect.fnUntraced(function* (paths) {
|
|
155
|
+
const mcp = yield* Service32;
|
|
156
|
+
const tools = yield* Service42;
|
|
153
157
|
if (paths.length > 0)
|
|
154
158
|
yield* mcp.flush;
|
|
155
159
|
const registered = yield* tools.list();
|
|
@@ -166,11 +170,11 @@ var resolveCodeTools = Effect.fnUntraced(function* (paths) {
|
|
|
166
170
|
}
|
|
167
171
|
resolved.push(found);
|
|
168
172
|
}
|
|
169
|
-
return { tools, resolved };
|
|
173
|
+
return { tools, actions: Array.dedupe(resolved.map((tool) => tool.options?.permission ?? tool.id)) };
|
|
170
174
|
});
|
|
171
175
|
var authorizeCode = Effect.fnUntraced(function* (session, name, when, mode, condition) {
|
|
172
|
-
const permission = yield*
|
|
173
|
-
const agents = yield*
|
|
176
|
+
const permission = yield* Service63;
|
|
177
|
+
const agents = yield* Service66;
|
|
174
178
|
const agent = yield* agents.select(session.agent);
|
|
175
179
|
const scanned = CodeMode.scanTools(condition.code);
|
|
176
180
|
if (Result.isFailure(scanned))
|
|
@@ -182,8 +186,7 @@ var authorizeCode = Effect.fnUntraced(function* (session, name, when, mode, cond
|
|
|
182
186
|
sessionID: session.id,
|
|
183
187
|
agent: agent.id
|
|
184
188
|
});
|
|
185
|
-
const
|
|
186
|
-
const actions = Array.dedupe(resolved.map((tool) => tool.options?.permission ?? tool.id));
|
|
189
|
+
const actions = (yield* codeActions(paths)).actions;
|
|
187
190
|
if (actions.length === 0) {
|
|
188
191
|
yield* permission.assert({
|
|
189
192
|
action: "execute",
|
|
@@ -209,8 +212,8 @@ var authorizeCode = Effect.fnUntraced(function* (session, name, when, mode, cond
|
|
|
209
212
|
}), { discard: true });
|
|
210
213
|
});
|
|
211
214
|
var runCode = Effect.fnUntraced(function* (session, condition, prevState, context) {
|
|
212
|
-
const permission = yield*
|
|
213
|
-
const agents = yield*
|
|
215
|
+
const permission = yield* Service63;
|
|
216
|
+
const agents = yield* Service66;
|
|
214
217
|
const agent = yield* agents.select(session.agent);
|
|
215
218
|
if (!agent.info)
|
|
216
219
|
return { ok: false, error: `Agent not found: ${agent.id}` };
|
|
@@ -218,10 +221,10 @@ var runCode = Effect.fnUntraced(function* (session, condition, prevState, contex
|
|
|
218
221
|
if (Result.isFailure(scanned))
|
|
219
222
|
return { ok: false, error: scanned.failure.message };
|
|
220
223
|
const paths = scanned.success;
|
|
221
|
-
const
|
|
222
|
-
if (Result.isFailure(
|
|
223
|
-
return { ok: false, error:
|
|
224
|
-
const actions =
|
|
224
|
+
const resolved = yield* Effect.result(codeActions(paths));
|
|
225
|
+
if (Result.isFailure(resolved))
|
|
226
|
+
return { ok: false, error: resolved.failure };
|
|
227
|
+
const actions = resolved.success.actions;
|
|
225
228
|
const unattended = ["execute", ...actions].map((action) => ({
|
|
226
229
|
action,
|
|
227
230
|
resource: "*",
|
|
@@ -241,7 +244,7 @@ var runCode = Effect.fnUntraced(function* (session, condition, prevState, contex
|
|
|
241
244
|
runs: context.checks,
|
|
242
245
|
input: { state: prevState, now: context.now, runs: context.checks }
|
|
243
246
|
};
|
|
244
|
-
const result = yield*
|
|
247
|
+
const result = yield* resolved.success.tools.check({
|
|
245
248
|
code: condition.code,
|
|
246
249
|
tools: paths,
|
|
247
250
|
bindings,
|
|
@@ -272,17 +275,12 @@ var runCode = Effect.fnUntraced(function* (session, condition, prevState, contex
|
|
|
272
275
|
const state = decoded.success.state === undefined ? prevState : decoded.success.state;
|
|
273
276
|
const trimmed = decoded.success.message?.trim();
|
|
274
277
|
const message = trimmed ? trimmed : undefined;
|
|
275
|
-
return
|
|
276
|
-
ok: true,
|
|
277
|
-
wake: decoded.success.wake,
|
|
278
|
-
state,
|
|
279
|
-
...decoded.success.wake && message !== undefined ? { message } : {}
|
|
280
|
-
};
|
|
278
|
+
return wakeOutcome(decoded.success.wake, state, message);
|
|
281
279
|
});
|
|
282
280
|
var scanShell = Effect.fnUntraced(function* (command) {
|
|
283
|
-
const location = yield*
|
|
284
|
-
const access = yield*
|
|
285
|
-
const shellSelect = yield*
|
|
281
|
+
const location = yield* Service84;
|
|
282
|
+
const access = yield* Service16;
|
|
283
|
+
const shellSelect = yield* Service75;
|
|
286
284
|
const target = yield* access.resolve({ path: location.directory, kind: "directory" }).pipe(Effect.mapError((error) => error.message));
|
|
287
285
|
const shell = yield* shellSelect.resolve({ priority: "compat" });
|
|
288
286
|
const parsed = yield* scan3(command, shell, target.absolute).pipe(Effect.mapError((error) => error.message));
|
|
@@ -292,8 +290,8 @@ var scanShell = Effect.fnUntraced(function* (command) {
|
|
|
292
290
|
return { shell, cwd: target.absolute, workspaceID: location.workspaceID, external, commands };
|
|
293
291
|
});
|
|
294
292
|
var assertShellPermissions = Effect.fnUntraced(function* (session, scanned, metadata) {
|
|
295
|
-
const permission = yield*
|
|
296
|
-
const agents = yield*
|
|
293
|
+
const permission = yield* Service63;
|
|
294
|
+
const agents = yield* Service66;
|
|
297
295
|
const agent = yield* agents.select(session.agent);
|
|
298
296
|
if (scanned.external.length > 0) {
|
|
299
297
|
yield* permission.assert({
|
|
@@ -325,7 +323,7 @@ var authorizeShell = Effect.fnUntraced(function* (session, name, when, mode, con
|
|
|
325
323
|
});
|
|
326
324
|
});
|
|
327
325
|
var runShell = Effect.fnUntraced(function* (session, condition, prevState) {
|
|
328
|
-
const environment = yield*
|
|
326
|
+
const environment = yield* Service57;
|
|
329
327
|
const scannedExit = yield* Effect.result(scanShell(condition.run));
|
|
330
328
|
if (Result.isFailure(scannedExit))
|
|
331
329
|
return { ok: false, error: scannedExit.failure };
|
|
@@ -368,12 +366,7 @@ var runShell = Effect.fnUntraced(function* (session, condition, prevState) {
|
|
|
368
366
|
const message = trimmed === "" ? undefined : trimmed;
|
|
369
367
|
const hasPredicate = condition.is !== undefined || condition.matches !== undefined || condition.changes === true;
|
|
370
368
|
if (!hasPredicate) {
|
|
371
|
-
return
|
|
372
|
-
ok: true,
|
|
373
|
-
wake: output.exitCode === 0,
|
|
374
|
-
state: null,
|
|
375
|
-
...output.exitCode === 0 && message !== undefined ? { message } : {}
|
|
376
|
-
};
|
|
369
|
+
return wakeOutcome(output.exitCode === 0, null, message);
|
|
377
370
|
}
|
|
378
371
|
if (output.exitCode !== 0) {
|
|
379
372
|
const detail = output.stderr.trim() || trimmed;
|
|
@@ -383,21 +376,13 @@ var runShell = Effect.fnUntraced(function* (session, condition, prevState) {
|
|
|
383
376
|
};
|
|
384
377
|
}
|
|
385
378
|
if (condition.is !== undefined) {
|
|
386
|
-
|
|
387
|
-
return { ok: true, wake, state: null, ...wake && message !== undefined ? { message } : {} };
|
|
379
|
+
return wakeOutcome(trimmed === condition.is.trim(), null, message);
|
|
388
380
|
}
|
|
389
381
|
if (condition.matches !== undefined) {
|
|
390
|
-
|
|
391
|
-
return { ok: true, wake, state: null, ...wake && message !== undefined ? { message } : {} };
|
|
382
|
+
return wakeOutcome(new RegExp(condition.matches).test(output.stdout), null, message);
|
|
392
383
|
}
|
|
393
384
|
const prevStdout = isRecord(prevState) && typeof prevState.stdout === "string" ? prevState.stdout : null;
|
|
394
|
-
|
|
395
|
-
return {
|
|
396
|
-
ok: true,
|
|
397
|
-
wake,
|
|
398
|
-
state: { stdout: output.stdout },
|
|
399
|
-
...wake && message !== undefined ? { message } : {}
|
|
400
|
-
};
|
|
385
|
+
return wakeOutcome(prevStdout !== null && output.stdout !== prevStdout, { stdout: output.stdout }, message);
|
|
401
386
|
});
|
|
402
387
|
function utf8Decode(bytes) {
|
|
403
388
|
const text = new TextDecoder("utf-8").decode(bytes);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID18,
|
|
3
|
+
Service81
|
|
4
|
+
} from "./pty-fn274a08.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/provider/llmgateway.ts
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
9
9
|
var LLMGatewayPlugin2 = define({
|
|
10
10
|
id: "opencode.provider.llmgateway",
|
|
11
11
|
effect: Effect.fn(function* (ctx) {
|
|
12
|
-
const integrations = yield*
|
|
12
|
+
const integrations = yield* Service81;
|
|
13
13
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
14
14
|
yield* ctx.provider.transform((evt) => {
|
|
15
15
|
for (const item of evt.list()) {
|
|
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
19
19
|
continue;
|
|
20
20
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
21
21
|
continue;
|
|
22
|
-
if (!configured.has(
|
|
22
|
+
if (!configured.has(ID18.make(item.provider.id)))
|
|
23
23
|
continue;
|
|
24
24
|
evt.update(item.provider.id, (provider) => {
|
|
25
25
|
provider.headers = {
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./pty-2tcca9zd.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
invocation2,
|
|
6
|
+
Service63
|
|
7
|
+
} from "./pty-rqr4sfbw.js";
|
|
7
8
|
import {
|
|
8
9
|
__export
|
|
9
|
-
} from "./
|
|
10
|
+
} from "./pty-9rqn6x4v.js";
|
|
10
11
|
|
|
11
12
|
// src/tool/plugin/question.ts
|
|
12
13
|
var exports_question = {};
|
|
@@ -53,8 +54,8 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
54
|
var Plugin55 = {
|
|
54
55
|
id: "opencode.tool.question",
|
|
55
56
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
57
|
+
const forms = yield* Service82;
|
|
58
|
+
const permission = yield* Service63;
|
|
58
59
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
60
|
name: name16,
|
|
60
61
|
options: { codemode: false },
|
|
@@ -64,9 +65,7 @@ var Plugin55 = {
|
|
|
64
65
|
execute: (input, context) => permission.assert({
|
|
65
66
|
action: "question",
|
|
66
67
|
resources: ["*"],
|
|
67
|
-
|
|
68
|
-
agent: context.agent,
|
|
69
|
-
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
68
|
+
...invocation2(context)
|
|
70
69
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: "Permission denied: question", error })), Effect.andThen(forms.ask({
|
|
71
70
|
sessionID: context.sessionID,
|
|
72
71
|
title: "Questions",
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
4
|
var ID14 = Session.ID;
|
|
5
|
-
var
|
|
5
|
+
var Info20 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export { ID14,
|
|
7
|
+
export { ID14, Info20, SessionSchema2 };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Failed2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-svcy3p9a.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
makeFiles2
|
|
6
|
+
} from "./pty-rgc9cx3e.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service91,
|
|
9
|
+
node94
|
|
10
|
+
} from "./pty-wxerkmn2.js";
|
|
11
11
|
import {
|
|
12
12
|
makeUnsafe2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./pty-8cg7mtm3.js";
|
|
14
14
|
import {
|
|
15
15
|
Binding2,
|
|
16
16
|
RegistryService2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
node61
|
|
18
|
+
} from "./pty-cwwdfq61.js";
|
|
19
19
|
import {
|
|
20
20
|
WorkspaceTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./pty-faypxj3z.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./pty-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/workspace.ts
|
|
27
27
|
var exports_workspace = {};
|
|
28
28
|
__export(exports_workspace, {
|
|
29
29
|
CreateConflict: () => CreateConflict2,
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
30
|
+
ID: () => ID9,
|
|
31
|
+
Info: () => Info12,
|
|
32
32
|
NotFound: () => NotFound2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service58,
|
|
34
34
|
Workspace: () => exports_workspace,
|
|
35
|
-
configured: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
configured: () => configured7,
|
|
36
|
+
node: () => node60
|
|
37
37
|
});
|
|
38
38
|
import { Workspace } from "@opencode/schema/workspace";
|
|
39
39
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,10 +41,10 @@ import { eq } from "drizzle-orm";
|
|
|
41
41
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
42
42
|
import { systemError } from "effect/PlatformError";
|
|
43
43
|
import { make } from "effect/process/ChildProcessSpawner";
|
|
44
|
-
var
|
|
44
|
+
var ID9 = Workspace.ID;
|
|
45
45
|
|
|
46
|
-
class
|
|
47
|
-
id:
|
|
46
|
+
class Info12 extends Schema.Class("Workspace.Info")({
|
|
47
|
+
id: ID9,
|
|
48
48
|
provider: Schema.String,
|
|
49
49
|
binding: Binding2,
|
|
50
50
|
createdAt: Schema.Number,
|
|
@@ -52,25 +52,25 @@ class Info23 extends Schema.Class("Workspace.Info")({
|
|
|
52
52
|
}) {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
55
|
+
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID9 }) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
59
|
-
workspaceID:
|
|
59
|
+
workspaceID: ID9,
|
|
60
60
|
provider: Schema.String,
|
|
61
61
|
existingProvider: Schema.String
|
|
62
62
|
}) {
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service58 extends Context.Service()("@opencode/Workspace") {
|
|
66
66
|
}
|
|
67
|
-
var
|
|
68
|
-
service:
|
|
67
|
+
var configured7 = (options = {}) => makeGlobalNode({
|
|
68
|
+
service: Service58,
|
|
69
69
|
layer: layer(options),
|
|
70
|
-
deps: [
|
|
70
|
+
deps: [node94, node61]
|
|
71
71
|
});
|
|
72
|
-
var layer = (options) => Layer.effect(
|
|
73
|
-
const db = (yield*
|
|
72
|
+
var layer = (options) => Layer.effect(Service58, Effect.gen(function* () {
|
|
73
|
+
const db = (yield* Service91).db;
|
|
74
74
|
const registry = yield* RegistryService2;
|
|
75
75
|
const lifetime = yield* Scope.Scope;
|
|
76
76
|
const connections = new Map;
|
|
@@ -86,7 +86,7 @@ var layer = (options) => Layer.effect(Service80, Effect.gen(function* () {
|
|
|
86
86
|
return row;
|
|
87
87
|
});
|
|
88
88
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
89
|
-
const info = (row, binding) => new
|
|
89
|
+
const info = (row, binding) => new Info12({
|
|
90
90
|
id: row.id,
|
|
91
91
|
provider: row.provider,
|
|
92
92
|
binding,
|
|
@@ -129,10 +129,7 @@ var layer = (options) => Layer.effect(Service80, Effect.gen(function* () {
|
|
|
129
129
|
const connection = {
|
|
130
130
|
driver,
|
|
131
131
|
environment,
|
|
132
|
-
files:
|
|
133
|
-
...execDefaults2(environment.spawner),
|
|
134
|
-
...environment.overrides
|
|
135
|
-
},
|
|
132
|
+
files: makeFiles2(environment),
|
|
136
133
|
saveBinding: persistBinding,
|
|
137
134
|
lastActivity: yield* Ref.make(now),
|
|
138
135
|
active: yield* Ref.make(0),
|
|
@@ -164,9 +161,9 @@ var layer = (options) => Layer.effect(Service80, Effect.gen(function* () {
|
|
|
164
161
|
yield* Scope.close(connection.scope, Exit.void);
|
|
165
162
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
166
163
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
167
|
-
return
|
|
164
|
+
return Service58.of({
|
|
168
165
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
169
|
-
const workspaceID = input.id ??
|
|
166
|
+
const workspaceID = input.id ?? ID9.create();
|
|
170
167
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
171
168
|
if (existing) {
|
|
172
169
|
if (existing.provider === input.provider)
|
|
@@ -242,6 +239,6 @@ var layer = (options) => Layer.effect(Service80, Effect.gen(function* () {
|
|
|
242
239
|
})
|
|
243
240
|
});
|
|
244
241
|
}));
|
|
245
|
-
var
|
|
242
|
+
var node60 = configured7();
|
|
246
243
|
|
|
247
|
-
export {
|
|
244
|
+
export { ID9, Info12, NotFound2, CreateConflict2, Service58, configured7, node60, exports_workspace };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID17
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-jkmfd651.js";
|
|
4
4
|
import {
|
|
5
5
|
configuredSettings2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-yj36cpkw.js";
|
|
7
7
|
import {
|
|
8
8
|
credentialSettings2,
|
|
9
9
|
metadataSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-xj846p5w.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
13
13
|
import { Effect } from "effect";
|