@opencode/core 0.0.0-dev-1031 → 0.0.0-dev-1032
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 +9 -9
- package/dist/artifact.js +248 -248
- package/dist/bus.js +86 -86
- package/dist/chunks/{formatter-qttwr2a1.js → persistent-pty-02sw5z67.js} +18 -18
- package/dist/chunks/{formatter-7zjv642j.js → persistent-pty-02x640a5.js} +16 -16
- package/dist/chunks/{formatter-qafq71hg.js → persistent-pty-052w9z54.js} +20 -20
- package/dist/chunks/{formatter-4ppw7d8f.js → persistent-pty-05rmg206.js} +8 -8
- package/dist/chunks/{formatter-ydyg5jyf.js → persistent-pty-0aepn986.js} +5 -5
- package/dist/chunks/{formatter-xnsbcc1j.js → persistent-pty-0dbea112.js} +31 -31
- package/dist/chunks/{formatter-0j7gp832.js → persistent-pty-0j7gp832.js} +1 -1
- package/dist/chunks/{formatter-9v24zc9y.js → persistent-pty-0kwzp1h3.js} +11 -11
- package/dist/chunks/{formatter-0ma9gw4f.js → persistent-pty-0ma9gw4f.js} +2 -2
- package/dist/chunks/{formatter-z3zgh8c2.js → persistent-pty-0xt30dj7.js} +9 -9
- package/dist/chunks/{formatter-jdqgttkk.js → persistent-pty-13s9knam.js} +38 -38
- package/dist/chunks/{formatter-1aqsckx4.js → persistent-pty-1aqsckx4.js} +1 -1
- package/dist/chunks/{formatter-81zvk8rn.js → persistent-pty-1ghd4wvb.js} +18 -18
- package/dist/chunks/{formatter-26wfx3k0.js → persistent-pty-1q07fp1w.js} +4 -4
- package/dist/chunks/{formatter-1x2knyw4.js → persistent-pty-1x2knyw4.js} +1 -1
- package/dist/chunks/{formatter-32d8keng.js → persistent-pty-1yyk7nd3.js} +22 -22
- package/dist/chunks/{formatter-ra5q7n0q.js → persistent-pty-20apqqgx.js} +16 -16
- package/dist/chunks/{formatter-bx70nhrz.js → persistent-pty-266besvt.js} +16 -16
- package/dist/chunks/{formatter-1ep2p91f.js → persistent-pty-27w5k9zf.js} +2 -2
- package/dist/chunks/{formatter-2fc7eemy.js → persistent-pty-2fc7eemy.js} +1 -1
- package/dist/chunks/{formatter-5j85k3et.js → persistent-pty-2j4fkh89.js} +17 -17
- package/dist/chunks/{formatter-s58991ss.js → persistent-pty-2naa2pyn.js} +20 -20
- package/dist/chunks/{formatter-2p60zmnr.js → persistent-pty-2p60zmnr.js} +2 -2
- package/dist/chunks/{formatter-2s9mae96.js → persistent-pty-2s9mae96.js} +3 -3
- package/dist/chunks/{formatter-h2wx27k7.js → persistent-pty-2xaxmgsp.js} +6 -6
- package/dist/chunks/{formatter-rckb00sc.js → persistent-pty-36dpt3f9.js} +13 -13
- package/dist/chunks/{formatter-c8vztqjj.js → persistent-pty-39j3dj9y.js} +19 -19
- package/dist/chunks/{formatter-4s73n2vd.js → persistent-pty-3aq5kzzx.js} +33 -33
- package/dist/chunks/{formatter-dchb4z2j.js → persistent-pty-3c49005s.js} +41 -41
- package/dist/chunks/{formatter-j7frev63.js → persistent-pty-3c8g2tnf.js} +5 -5
- package/dist/chunks/{formatter-ayjs7tqn.js → persistent-pty-3cbjf1nt.js} +2 -2
- package/dist/chunks/{formatter-fh8q6azd.js → persistent-pty-3h6zqhk3.js} +66 -66
- package/dist/chunks/{formatter-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{formatter-xhyqsbxm.js → persistent-pty-3m0b6qpz.js} +48 -48
- package/dist/chunks/{formatter-3nnrz6f6.js → persistent-pty-3nnrz6f6.js} +1 -1
- package/dist/chunks/{formatter-34g3tmqr.js → persistent-pty-3p3vrp57.js} +37 -37
- package/dist/chunks/{formatter-mj8yevpa.js → persistent-pty-3rmaysnb.js} +18 -18
- package/dist/chunks/{formatter-tx1nbh2n.js → persistent-pty-3wy79f45.js} +4 -4
- package/dist/chunks/{formatter-40y6dtc2.js → persistent-pty-40y6dtc2.js} +1 -1
- package/dist/chunks/{formatter-d9vcbz3r.js → persistent-pty-4159fx6g.js} +38 -38
- package/dist/chunks/{formatter-44pmzq9c.js → persistent-pty-44pmzq9c.js} +2 -2
- package/dist/chunks/{formatter-0tpy91ck.js → persistent-pty-479eyxvy.js} +14 -14
- package/dist/chunks/{formatter-4dx1dgte.js → persistent-pty-4dx1dgte.js} +1 -1
- package/dist/chunks/{formatter-cyn995ws.js → persistent-pty-4ed64wak.js} +11 -11
- package/dist/chunks/{formatter-4f25tdd0.js → persistent-pty-4f25tdd0.js} +1 -1
- package/dist/chunks/{formatter-9f3jsh1d.js → persistent-pty-4g3sdj5g.js} +9 -9
- package/dist/chunks/persistent-pty-4jm3sk83.js +26 -0
- package/dist/chunks/{formatter-4pyp9zr9.js → persistent-pty-4pyp9zr9.js} +1 -1
- package/dist/chunks/{formatter-rxmn9bey.js → persistent-pty-4s0af25y.js} +12 -12
- package/dist/chunks/{formatter-bfkzj9r6.js → persistent-pty-4tkbxcjd.js} +12 -12
- package/dist/chunks/{formatter-4v008n1t.js → persistent-pty-4v008n1t.js} +1 -1
- package/dist/chunks/{formatter-xdtrv718.js → persistent-pty-4xkt0fpb.js} +9 -9
- package/dist/chunks/{formatter-k7nrjv1e.js → persistent-pty-50mnmyd9.js} +1 -1
- package/dist/chunks/{formatter-k1kv1s4p.js → persistent-pty-529v019t.js} +32 -32
- package/dist/chunks/{formatter-qtj5sjwf.js → persistent-pty-54d1fxz7.js} +26 -26
- package/dist/chunks/{formatter-nva5nq6p.js → persistent-pty-54kb3r0y.js} +14 -14
- package/dist/chunks/{formatter-19gkfjnk.js → persistent-pty-55g2q5p5.js} +2 -2
- package/dist/chunks/{formatter-8q8a0map.js → persistent-pty-55mce0kc.js} +30 -30
- package/dist/chunks/{formatter-3gmwvcf5.js → persistent-pty-5fv5qszf.js} +10 -10
- package/dist/chunks/{formatter-p9jvgf3w.js → persistent-pty-5m6a7xby.js} +6 -6
- package/dist/chunks/{formatter-5m9w47nd.js → persistent-pty-5m9w47nd.js} +1 -1
- package/dist/chunks/{formatter-xstwqhrk.js → persistent-pty-5thev09r.js} +8 -8
- package/dist/chunks/{formatter-089ychqj.js → persistent-pty-5xfnvs9t.js} +90 -90
- package/dist/chunks/{formatter-5a1x9gsa.js → persistent-pty-6166w2t8.js} +19 -19
- package/dist/chunks/{formatter-zz88hnjw.js → persistent-pty-61c202f5.js} +11 -11
- package/dist/chunks/{formatter-7n0s5017.js → persistent-pty-66bn7b26.js} +6 -6
- package/dist/chunks/{formatter-536xpmcn.js → persistent-pty-67mr8n5m.js} +5 -5
- package/dist/chunks/{formatter-2mg8bjdy.js → persistent-pty-69r9trhz.js} +9 -9
- package/dist/chunks/{formatter-3vahy3b1.js → persistent-pty-6dwjhfha.js} +8 -8
- package/dist/chunks/{formatter-7zjp33zg.js → persistent-pty-6kvezxzn.js} +72 -72
- package/dist/chunks/{formatter-bdsca43p.js → persistent-pty-6nqa5c8e.js} +30 -30
- package/dist/chunks/{formatter-6nk9ma33.js → persistent-pty-6v3nz0sg.js} +10 -10
- package/dist/chunks/{formatter-kgxq34jd.js → persistent-pty-72ghnh0f.js} +19 -19
- package/dist/chunks/{formatter-z0h6cps0.js → persistent-pty-73xb0yka.js} +11 -11
- package/dist/chunks/{formatter-80mg3ag8.js → persistent-pty-775hqbnd.js} +3 -3
- package/dist/chunks/{formatter-4e2gfdsn.js → persistent-pty-7906w3qj.js} +36 -36
- package/dist/chunks/{formatter-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{formatter-cjq358ck.js → persistent-pty-7csf6rvh.js} +13 -13
- package/dist/chunks/{formatter-kbp3dwff.js → persistent-pty-7d9xhrrr.js} +5 -5
- package/dist/chunks/{formatter-y7j9fz73.js → persistent-pty-7kd3kb55.js} +20 -20
- package/dist/chunks/{formatter-qb3bfbrc.js → persistent-pty-7m7xz3kt.js} +32 -32
- package/dist/chunks/{formatter-q6jghnyz.js → persistent-pty-7thzb1bs.js} +32 -32
- package/dist/chunks/{formatter-7w2ypzdf.js → persistent-pty-7w2ypzdf.js} +1 -1
- package/dist/chunks/{formatter-7weczvnd.js → persistent-pty-7weczvnd.js} +1 -1
- package/dist/chunks/{formatter-ah6swppq.js → persistent-pty-7wt2j25k.js} +19 -19
- package/dist/chunks/{formatter-80pdk984.js → persistent-pty-80pdk984.js} +1 -1
- package/dist/chunks/{formatter-85jq8dht.js → persistent-pty-85jq8dht.js} +1 -1
- package/dist/chunks/{formatter-htfy5zbs.js → persistent-pty-8a1dtk4b.js} +11 -11
- package/dist/chunks/{formatter-8b3vzgkx.js → persistent-pty-8b3vzgkx.js} +1 -1
- package/dist/chunks/{formatter-0s9yz038.js → persistent-pty-8q0qjtas.js} +12 -12
- package/dist/chunks/{formatter-8wtp7s3z.js → persistent-pty-8wtp7s3z.js} +1 -1
- package/dist/chunks/{formatter-vchespqv.js → persistent-pty-8xb43s2n.js} +11 -11
- package/dist/chunks/{formatter-hkm9ftdh.js → persistent-pty-8xfrfp31.js} +15 -15
- package/dist/chunks/{formatter-6tn70seb.js → persistent-pty-8y4adk89.js} +14 -14
- package/dist/chunks/{formatter-0vf60ac0.js → persistent-pty-8z2w2hfr.js} +50 -50
- package/dist/chunks/{formatter-mb7mbhnz.js → persistent-pty-8z6m94af.js} +3 -3
- package/dist/chunks/{formatter-8zv0xmg5.js → persistent-pty-8zv0xmg5.js} +1 -1
- package/dist/chunks/{formatter-gxnmsq1q.js → persistent-pty-90ej29g3.js} +25 -25
- package/dist/chunks/{formatter-h5chy42v.js → persistent-pty-94e33dpz.js} +3 -3
- package/dist/chunks/{formatter-54w0kz98.js → persistent-pty-99dq7pwz.js} +22 -22
- package/dist/chunks/{formatter-fdtp6zbm.js → persistent-pty-99eawj82.js} +11 -11
- package/dist/chunks/{formatter-a1aaf2dh.js → persistent-pty-9ct73esb.js} +41 -41
- package/dist/chunks/{formatter-ky2dqq29.js → persistent-pty-9mhjgwg6.js} +8 -8
- package/dist/chunks/{formatter-jpkaw8rk.js → persistent-pty-9npe7we1.js} +28 -28
- package/dist/chunks/{formatter-bpfc3t9v.js → persistent-pty-9xd27y89.js} +6 -6
- package/dist/chunks/persistent-pty-a610t88q.js +18 -0
- package/dist/chunks/{formatter-034tev2y.js → persistent-pty-aj7mw0zk.js} +2 -2
- package/dist/chunks/{formatter-38aws4xb.js → persistent-pty-anvcme1c.js} +4 -4
- package/dist/chunks/{formatter-8yqshvxy.js → persistent-pty-ar7zn80h.js} +27 -27
- package/dist/chunks/{formatter-xemr4hjv.js → persistent-pty-arjrttjv.js} +26 -26
- package/dist/chunks/{formatter-8ahaz9zm.js → persistent-pty-av2grgkj.js} +3 -3
- package/dist/chunks/{formatter-5mgr22v3.js → persistent-pty-axkw7k22.js} +13 -13
- package/dist/chunks/{formatter-xxvkshwn.js → persistent-pty-b1h36zfr.js} +7 -7
- package/dist/chunks/{formatter-hzpw1dn8.js → persistent-pty-b1zmcwxq.js} +9 -9
- package/dist/chunks/{formatter-b26ddj6h.js → persistent-pty-b26ddj6h.js} +4 -4
- package/dist/chunks/{formatter-n8vrw8we.js → persistent-pty-b5fbxp4f.js} +6 -6
- package/dist/chunks/{formatter-nk2t5jpy.js → persistent-pty-ba2680mm.js} +4 -4
- package/dist/chunks/{formatter-8xz27cp9.js → persistent-pty-babktaw3.js} +4 -4
- package/dist/chunks/{formatter-8sxe6kv8.js → persistent-pty-bb3mmwvh.js} +2 -2
- package/dist/chunks/{formatter-7p6h9s3m.js → persistent-pty-bq5mnsak.js} +18 -18
- package/dist/chunks/{formatter-qfwweb6d.js → persistent-pty-bqtkhzzp.js} +5 -5
- package/dist/chunks/{formatter-zd2qfn8h.js → persistent-pty-bykntp9t.js} +199 -199
- package/dist/chunks/{formatter-c5zvymhv.js → persistent-pty-c5zvymhv.js} +1 -1
- package/dist/chunks/{formatter-wt99tj4q.js → persistent-pty-c7cw818c.js} +5 -5
- package/dist/chunks/{formatter-g100t6c2.js → persistent-pty-cbyt66wj.js} +2 -2
- package/dist/chunks/{formatter-mwfxtk8q.js → persistent-pty-ch55aqef.js} +23 -23
- package/dist/chunks/{formatter-84gg30s4.js → persistent-pty-ckdg7d4d.js} +40 -40
- package/dist/chunks/{formatter-dh6f7k67.js → persistent-pty-cs3vapk0.js} +23 -23
- package/dist/chunks/{formatter-vskvzh30.js → persistent-pty-cwqy654b.js} +45 -45
- package/dist/chunks/{formatter-cwrgdav8.js → persistent-pty-cwrgdav8.js} +2 -2
- package/dist/chunks/{formatter-d4v9tmah.js → persistent-pty-d4v9tmah.js} +2 -2
- package/dist/chunks/{formatter-x26wqd07.js → persistent-pty-d8p3t516.js} +4 -4
- package/dist/chunks/{formatter-1yrxe5t3.js → persistent-pty-d92j7ps2.js} +19 -19
- package/dist/chunks/{formatter-9h54smkt.js → persistent-pty-daccadq3.js} +31 -31
- package/dist/chunks/{formatter-dbatw319.js → persistent-pty-dbatw319.js} +1 -1
- package/dist/chunks/{formatter-1ysh6hsz.js → persistent-pty-dkpjsqx5.js} +6 -6
- package/dist/chunks/persistent-pty-dnk52k5g.js +273 -0
- package/dist/chunks/{formatter-tdt6yfq7.js → persistent-pty-dr9jq6ps.js} +19 -19
- package/dist/chunks/{formatter-x941z0nt.js → persistent-pty-ds68585e.js} +21 -21
- package/dist/chunks/{formatter-dt77769w.js → persistent-pty-dt77769w.js} +1 -1
- package/dist/chunks/{formatter-22tpp30t.js → persistent-pty-e5per85x.js} +19 -19
- package/dist/chunks/{formatter-ev440vcp.js → persistent-pty-e9f91jjt.js} +31 -31
- package/dist/chunks/{formatter-44y5pezd.js → persistent-pty-ebr616tk.js} +6 -6
- package/dist/chunks/{formatter-45e3qj9k.js → persistent-pty-ef9rmxvn.js} +20 -20
- package/dist/chunks/{formatter-jh287szh.js → persistent-pty-efq2r9mz.js} +19 -19
- package/dist/chunks/{formatter-x4pw0kh4.js → persistent-pty-enbdjs5f.js} +11 -11
- package/dist/chunks/{formatter-eqw4pqj1.js → persistent-pty-eqw4pqj1.js} +2 -2
- package/dist/chunks/{formatter-m2qxxst9.js → persistent-pty-eyg57hv5.js} +3 -3
- package/dist/chunks/{formatter-4btpy1cq.js → persistent-pty-f33r9zn5.js} +7 -7
- package/dist/chunks/{formatter-193f6bxt.js → persistent-pty-f6krd2ps.js} +9 -9
- package/dist/chunks/{formatter-azqdag7d.js → persistent-pty-fcrd7kek.js} +4 -4
- package/dist/chunks/{formatter-fg9p65nk.js → persistent-pty-fg9p65nk.js} +2 -2
- package/dist/chunks/{formatter-7e8qs3v0.js → persistent-pty-fhsyb8a2.js} +18 -18
- package/dist/chunks/{formatter-e27qwqja.js → persistent-pty-fjsbg05v.js} +26 -26
- package/dist/chunks/{formatter-he4kky7q.js → persistent-pty-fmdh6ntc.js} +9 -9
- package/dist/chunks/{formatter-0aacennw.js → persistent-pty-fqzc6vv2.js} +22 -22
- package/dist/chunks/{formatter-8pyfbf64.js → persistent-pty-fwcjjeez.js} +37 -37
- package/dist/chunks/{formatter-2whqw02m.js → persistent-pty-fzvzvf7m.js} +29 -29
- package/dist/chunks/{formatter-c0tz6aqz.js → persistent-pty-g6axq7c8.js} +9 -9
- package/dist/chunks/{formatter-g2pf9fpq.js → persistent-pty-g701k7s0.js} +27 -27
- package/dist/chunks/{formatter-1y6qrzh7.js → persistent-pty-gaczjh3k.js} +24 -24
- package/dist/chunks/{formatter-3qwxmnxm.js → persistent-pty-gb55vkr1.js} +13 -13
- package/dist/chunks/{formatter-gbjdnr5j.js → persistent-pty-gbjdnr5j.js} +2 -2
- package/dist/chunks/{formatter-859w1rtj.js → persistent-pty-gerka9tj.js} +9 -9
- package/dist/chunks/{formatter-bvqmy171.js → persistent-pty-ggh1vzxf.js} +12 -12
- package/dist/chunks/{formatter-9n2g2284.js → persistent-pty-ghdv7bgm.js} +16 -16
- package/dist/chunks/{formatter-ghrv1g9c.js → persistent-pty-ghrv1g9c.js} +1 -1
- package/dist/chunks/{formatter-rkta95x7.js → persistent-pty-gj5mtfrs.js} +43 -43
- package/dist/chunks/{formatter-065t7ewe.js → persistent-pty-gk9vpw29.js} +11 -11
- package/dist/chunks/persistent-pty-gkb3m8fg.js +16 -0
- package/dist/chunks/{formatter-k3qhjn84.js → persistent-pty-gkh3b8fz.js} +11 -11
- package/dist/chunks/{formatter-4fnqvqne.js → persistent-pty-gvm60899.js} +32 -32
- package/dist/chunks/{formatter-6wpv6edb.js → persistent-pty-h28t7544.js} +3 -3
- package/dist/chunks/{formatter-4khh4kfj.js → persistent-pty-h6rfbwat.js} +13 -13
- package/dist/chunks/{formatter-hgzwgvze.js → persistent-pty-hgzwgvze.js} +2 -2
- package/dist/chunks/{formatter-7trt7kgg.js → persistent-pty-hj0xet7m.js} +5 -5
- package/dist/chunks/{formatter-m0mcb9rq.js → persistent-pty-hj7m51sm.js} +15 -15
- package/dist/chunks/{formatter-dzxny3rz.js → persistent-pty-j5k2q35g.js} +5 -5
- package/dist/chunks/{formatter-sv77p967.js → persistent-pty-j6kp0q3a.js} +4 -4
- package/dist/chunks/{formatter-bth1a64v.js → persistent-pty-j95aavqs.js} +37 -37
- package/dist/chunks/{formatter-ze75qvmd.js → persistent-pty-j9nxzz3g.js} +3 -3
- package/dist/chunks/{formatter-jm70asfg.js → persistent-pty-jm70asfg.js} +1 -1
- package/dist/chunks/{formatter-zxpa49gx.js → persistent-pty-jrfjmkz9.js} +29 -29
- package/dist/chunks/{formatter-dzq3aq2p.js → persistent-pty-jt10jbkf.js} +24 -24
- package/dist/chunks/{formatter-qmna52rz.js → persistent-pty-jvna2xk7.js} +18 -18
- package/dist/chunks/{formatter-p2krc7sn.js → persistent-pty-kj3403fm.js} +12 -12
- package/dist/chunks/{formatter-a0f8fvmt.js → persistent-pty-kmekj7m2.js} +8 -8
- package/dist/chunks/{formatter-kt3bjfbg.js → persistent-pty-kt3bjfbg.js} +1 -1
- package/dist/chunks/{formatter-wc642pbg.js → persistent-pty-kx5zn6kr.js} +9 -9
- package/dist/chunks/{formatter-kzczzf4v.js → persistent-pty-kzczzf4v.js} +1 -1
- package/dist/chunks/{formatter-rssytve0.js → persistent-pty-m0qw8bp9.js} +10 -10
- package/dist/chunks/{formatter-m1714858.js → persistent-pty-m1714858.js} +1 -1
- package/dist/chunks/{formatter-25ek5axs.js → persistent-pty-m2436x33.js} +24 -24
- package/dist/chunks/{formatter-m16ftr7s.js → persistent-pty-m3bwdyvc.js} +20 -20
- package/dist/chunks/{formatter-gn3wczxr.js → persistent-pty-m3j6vy3e.js} +25 -25
- package/dist/chunks/{formatter-8dfptpqb.js → persistent-pty-m528r48h.js} +4 -4
- package/dist/chunks/{formatter-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{formatter-wrj6efy5.js → persistent-pty-mj7rnnrd.js} +28 -28
- package/dist/chunks/{formatter-44vh4yvp.js → persistent-pty-mjncsf6d.js} +43 -43
- package/dist/chunks/{formatter-my0ryxyz.js → persistent-pty-mqsrdytg.js} +12 -12
- package/dist/chunks/{formatter-2ftm8cxz.js → persistent-pty-ms3ackzp.js} +17 -17
- package/dist/chunks/{formatter-msd2a3qm.js → persistent-pty-msd2a3qm.js} +4 -4
- package/dist/chunks/{formatter-ffvvmdd5.js → persistent-pty-n18yd1gk.js} +7 -7
- package/dist/chunks/{formatter-n3j33rb6.js → persistent-pty-n3j33rb6.js} +1 -1
- package/dist/chunks/{formatter-cydss4t7.js → persistent-pty-n8y2t71q.js} +5 -5
- package/dist/chunks/{formatter-f2nzj6et.js → persistent-pty-nd2qx06s.js} +9 -9
- package/dist/chunks/{formatter-gyp7vtv8.js → persistent-pty-nm6gbtbr.js} +4 -4
- package/dist/chunks/persistent-pty-nnqmkxkb.js +577 -0
- package/dist/chunks/{formatter-zzxsfh0g.js → persistent-pty-nw5eecxx.js} +1 -1
- package/dist/chunks/{formatter-wegkxhrn.js → persistent-pty-nx4vzyjd.js} +2 -2
- package/dist/chunks/{formatter-ktxas4w4.js → persistent-pty-ny6mnk2g.js} +15 -15
- package/dist/chunks/{formatter-k1bbw1a7.js → persistent-pty-nyg080gc.js} +15 -15
- package/dist/chunks/{formatter-1yq9hg58.js → persistent-pty-p7vhpwh8.js} +5 -5
- package/dist/chunks/{formatter-dv0y9qgh.js → persistent-pty-p8pjvayg.js} +3 -3
- package/dist/chunks/{formatter-adtp61g2.js → persistent-pty-pa83dvsw.js} +20 -20
- package/dist/chunks/{formatter-kdw5x83m.js → persistent-pty-pev27ssz.js} +19 -19
- package/dist/chunks/{formatter-3vyp4h3j.js → persistent-pty-pg1md4vx.js} +16 -16
- package/dist/chunks/{formatter-pqgdhvet.js → persistent-pty-pha4g85c.js} +14 -14
- package/dist/chunks/{formatter-8yseh9qv.js → persistent-pty-phrewnzr.js} +36 -36
- package/dist/chunks/{formatter-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
- package/dist/chunks/{formatter-9bhxqsgq.js → persistent-pty-pm8j4n8z.js} +20 -20
- package/dist/chunks/{formatter-t0jjn6ax.js → persistent-pty-pw9jqd11.js} +41 -41
- package/dist/chunks/{formatter-3we77h6d.js → persistent-pty-q2m9hkf6.js} +26 -26
- package/dist/chunks/{formatter-69tqwgyd.js → persistent-pty-q2wvz720.js} +6 -6
- package/dist/chunks/{formatter-q42tzrxa.js → persistent-pty-q42tzrxa.js} +1 -1
- package/dist/chunks/{formatter-9cjk3842.js → persistent-pty-q4374hh0.js} +16 -16
- package/dist/chunks/{formatter-jpxxp39p.js → persistent-pty-q4dd99bp.js} +31 -31
- package/dist/chunks/{formatter-ezfrwfnx.js → persistent-pty-q8epvwh5.js} +15 -15
- package/dist/chunks/{formatter-1pvedp21.js → persistent-pty-qa0vgdwz.js} +24 -24
- package/dist/chunks/{formatter-68rfd0qt.js → persistent-pty-qgtht8ak.js} +59 -59
- package/dist/chunks/{formatter-6ktzjf03.js → persistent-pty-qmcvqmmr.js} +10 -10
- package/dist/chunks/{formatter-qp7r0hxv.js → persistent-pty-qp7r0hxv.js} +1 -1
- package/dist/chunks/{formatter-btv73634.js → persistent-pty-qz9v9b44.js} +12 -12
- package/dist/chunks/{formatter-r17fbvme.js → persistent-pty-r17fbvme.js} +1 -1
- package/dist/chunks/{formatter-r41sfy63.js → persistent-pty-r41sfy63.js} +2 -2
- package/dist/chunks/{formatter-qa8wq1bx.js → persistent-pty-r45nfa48.js} +2 -2
- package/dist/chunks/{formatter-rb9dy4dg.js → persistent-pty-rb9dy4dg.js} +1 -1
- package/dist/chunks/{formatter-kzfme09m.js → persistent-pty-rem7qn2m.js} +8 -8
- package/dist/chunks/{formatter-rgc9cx3e.js → persistent-pty-rgc9cx3e.js} +2 -2
- package/dist/chunks/{formatter-a4jzhknj.js → persistent-pty-rmy5batf.js} +2 -2
- package/dist/chunks/{formatter-rt5dr6hb.js → persistent-pty-rt5dr6hb.js} +1 -1
- package/dist/chunks/{formatter-ymfd7mce.js → persistent-pty-s2fyzqp6.js} +5 -5
- package/dist/chunks/{formatter-5whx36p1.js → persistent-pty-s47rahr7.js} +4 -4
- package/dist/chunks/{formatter-fd3q7j53.js → persistent-pty-s5k2yxe7.js} +27 -27
- package/dist/chunks/{formatter-4tn3d13d.js → persistent-pty-s5qqf86t.js} +19 -19
- package/dist/chunks/{formatter-g3wj12x4.js → persistent-pty-s5zrq09q.js} +8 -8
- package/dist/chunks/{formatter-sbya78hr.js → persistent-pty-sbya78hr.js} +1 -1
- package/dist/chunks/{formatter-8n7z29xy.js → persistent-pty-sdwrp5t9.js} +5 -5
- package/dist/chunks/{formatter-hqbn688m.js → persistent-pty-sgfnyq3m.js} +11 -11
- package/dist/chunks/{formatter-x656a9h0.js → persistent-pty-spg3d6gt.js} +8 -8
- package/dist/chunks/{formatter-svcy3p9a.js → persistent-pty-svcy3p9a.js} +1 -1
- package/dist/chunks/{formatter-xh8dakkv.js → persistent-pty-syht00xc.js} +21 -21
- package/dist/chunks/{formatter-w5j8ztpz.js → persistent-pty-t5n3652n.js} +28 -28
- package/dist/chunks/{formatter-78p2h4ex.js → persistent-pty-t8erkws8.js} +5 -5
- package/dist/chunks/{formatter-jrf7s79w.js → persistent-pty-ta65xwbd.js} +13 -13
- package/dist/chunks/{formatter-tbpn7jtk.js → persistent-pty-tbpn7jtk.js} +1 -1
- package/dist/chunks/{formatter-0xz9mrse.js → persistent-pty-tc6a3jrq.js} +5 -5
- package/dist/chunks/{formatter-tczq8hjw.js → persistent-pty-tczq8hjw.js} +1 -1
- package/dist/chunks/{formatter-tg1vr1qt.js → persistent-pty-tg1vr1qt.js} +1 -1
- package/dist/chunks/{formatter-tg7s7b5t.js → persistent-pty-tg7s7b5t.js} +1 -1
- package/dist/chunks/{formatter-ck0z3kmn.js → persistent-pty-tjvb8cdj.js} +9 -9
- package/dist/chunks/{formatter-tr8x705m.js → persistent-pty-tr8x705m.js} +1 -1
- package/dist/chunks/{formatter-tvtps2q9.js → persistent-pty-tvtps2q9.js} +1 -1
- package/dist/chunks/{formatter-7afd39rf.js → persistent-pty-twhczwgq.js} +23 -23
- package/dist/chunks/{formatter-twssxy5n.js → persistent-pty-twssxy5n.js} +2 -2
- package/dist/chunks/{formatter-h9gzweg8.js → persistent-pty-ty8hj3pf.js} +6 -6
- package/dist/chunks/{formatter-0php2d2a.js → persistent-pty-tycv7n3a.js} +4 -4
- package/dist/chunks/{formatter-pyzx7pr8.js → persistent-pty-tyhh164w.js} +23 -23
- package/dist/chunks/{formatter-v0t96s7a.js → persistent-pty-v0t96s7a.js} +1 -1
- package/dist/chunks/{formatter-v2r1d0zg.js → persistent-pty-v2r1d0zg.js} +1 -1
- package/dist/chunks/{formatter-6tnb18a1.js → persistent-pty-vhnx89g9.js} +6 -6
- package/dist/chunks/{formatter-vjf35v1f.js → persistent-pty-vjf35v1f.js} +1 -1
- package/dist/chunks/{formatter-bhfd478d.js → persistent-pty-vmxsyvj6.js} +4 -4
- package/dist/chunks/{formatter-0dhcrzts.js → persistent-pty-vqvjgts4.js} +40 -40
- package/dist/chunks/{formatter-gt3fd4t1.js → persistent-pty-vsm2qhy0.js} +46 -46
- package/dist/chunks/{formatter-wsyvzwqg.js → persistent-pty-vsn8s1db.js} +11 -11
- package/dist/chunks/{formatter-agje4kmn.js → persistent-pty-vwcz1f45.js} +7 -7
- package/dist/chunks/{formatter-xn7xenkq.js → persistent-pty-vyy6dw9k.js} +7 -7
- package/dist/chunks/{formatter-qkz9x2vr.js → persistent-pty-w0vng6zx.js} +27 -27
- package/dist/chunks/{formatter-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{formatter-7exvse1f.js → persistent-pty-w5f4t4jj.js} +8 -8
- package/dist/chunks/{formatter-64h3j8c3.js → persistent-pty-w6a4rfzh.js} +51 -51
- package/dist/chunks/{formatter-nbrc8887.js → persistent-pty-w8mjxz1x.js} +8 -8
- package/dist/chunks/{formatter-fwp9mfc9.js → persistent-pty-w9w8mt4n.js} +4 -4
- package/dist/chunks/{formatter-wakvkjy4.js → persistent-pty-wakvkjy4.js} +1 -1
- package/dist/chunks/{formatter-e2v6sa3k.js → persistent-pty-wc1zf1mw.js} +6 -6
- package/dist/chunks/{formatter-b0ah0v4z.js → persistent-pty-wcm5dmz2.js} +10 -10
- package/dist/chunks/{formatter-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
- package/dist/chunks/{formatter-1njtx4es.js → persistent-pty-weqc7sb9.js} +2 -2
- package/dist/chunks/{formatter-qmnhv3v7.js → persistent-pty-wfd0njk8.js} +11 -11
- package/dist/chunks/{formatter-wfdx5ztx.js → persistent-pty-wfdx5ztx.js} +1 -1
- package/dist/chunks/{formatter-x6wvnb2x.js → persistent-pty-wkx8cfqz.js} +8 -8
- package/dist/chunks/{formatter-ptgxdyg0.js → persistent-pty-wma4bvzc.js} +58 -58
- package/dist/chunks/{formatter-fznmdakp.js → persistent-pty-wr3re1en.js} +4 -4
- package/dist/chunks/{formatter-kxwhfc4h.js → persistent-pty-wsecr1wj.js} +51 -51
- package/dist/chunks/{formatter-gs9y78q6.js → persistent-pty-wxs8n6r9.js} +12 -12
- package/dist/chunks/{formatter-fb6tnbrg.js → persistent-pty-wzb0nzr7.js} +5 -5
- package/dist/chunks/{formatter-kj9n5bvh.js → persistent-pty-wzfa06mn.js} +4 -4
- package/dist/chunks/{formatter-h985bphy.js → persistent-pty-x165wbyp.js} +7 -7
- package/dist/chunks/{formatter-m8sdy3w5.js → persistent-pty-x9q7tyzk.js} +17 -17
- package/dist/chunks/{formatter-v7knp929.js → persistent-pty-xcj8ebhb.js} +10 -10
- package/dist/chunks/{formatter-bstexjd6.js → persistent-pty-xd9cc171.js} +5 -5
- package/dist/chunks/{formatter-zyfhsknv.js → persistent-pty-xe6pezxp.js} +9 -9
- package/dist/chunks/{formatter-ydwqg7pv.js → persistent-pty-xex4k2qj.js} +35 -35
- package/dist/chunks/{formatter-xjr6c8m4.js → persistent-pty-xjr6c8m4.js} +1 -1
- package/dist/chunks/{formatter-qqg9c0kv.js → persistent-pty-xmx7xj34.js} +4 -4
- package/dist/chunks/{formatter-htntv93q.js → persistent-pty-xnrb1esw.js} +80 -80
- package/dist/chunks/{formatter-d6gsefxn.js → persistent-pty-xq3kv1yr.js} +13 -13
- package/dist/chunks/{formatter-yhrykne9.js → persistent-pty-xv6pghre.js} +5 -5
- package/dist/chunks/{formatter-23arw30t.js → persistent-pty-xw1at7cb.js} +4 -4
- package/dist/chunks/{formatter-0e6venv3.js → persistent-pty-xww8vq85.js} +25 -25
- package/dist/chunks/{formatter-2d746526.js → persistent-pty-xy9cmw47.js} +41 -41
- package/dist/chunks/{formatter-m06qa9cv.js → persistent-pty-xynthp8b.js} +8 -8
- package/dist/chunks/{formatter-7x2qvv57.js → persistent-pty-y2nh019w.js} +5 -5
- package/dist/chunks/{formatter-r18hx3yy.js → persistent-pty-y5ydw4mn.js} +29 -29
- package/dist/chunks/{formatter-fcmwsafa.js → persistent-pty-y68qyc85.js} +46 -46
- package/dist/chunks/{formatter-gzgvz7q2.js → persistent-pty-y9hymxjv.js} +4 -4
- package/dist/chunks/{formatter-yb20nhc3.js → persistent-pty-yb20nhc3.js} +1 -1
- package/dist/chunks/{formatter-e0nd6rg0.js → persistent-pty-ybd7cc9e.js} +11 -11
- package/dist/chunks/{formatter-gw7zny7t.js → persistent-pty-yc0zpe5z.js} +10 -10
- package/dist/chunks/{formatter-qk5sk9d1.js → persistent-pty-ycmh1q3e.js} +5 -5
- package/dist/chunks/{formatter-86az5728.js → persistent-pty-ydbwe5aa.js} +7 -7
- package/dist/chunks/{formatter-qkemqmdw.js → persistent-pty-yg04shzz.js} +11 -11
- package/dist/chunks/{formatter-dcmkhtm3.js → persistent-pty-ygyn9pw1.js} +31 -31
- package/dist/chunks/{formatter-2bcxb7aa.js → persistent-pty-yqzk7gxy.js} +7 -7
- package/dist/chunks/{formatter-yr705xyq.js → persistent-pty-yr705xyq.js} +1 -1
- package/dist/chunks/{formatter-2997jpjr.js → persistent-pty-ysae8jbx.js} +31 -31
- package/dist/chunks/{formatter-w7jfwa7t.js → persistent-pty-yswt24xe.js} +5 -5
- package/dist/chunks/{formatter-5kcab62a.js → persistent-pty-ytgt8nph.js} +15 -15
- package/dist/chunks/{formatter-yvtc2x31.js → persistent-pty-yvtc2x31.js} +1 -1
- package/dist/chunks/{formatter-rkgkpnxn.js → persistent-pty-yz7qpr75.js} +6 -6
- package/dist/chunks/{formatter-j594pepr.js → persistent-pty-yzcavgq9.js} +12 -12
- package/dist/chunks/{formatter-yq3kg6s7.js → persistent-pty-z1w6mwej.js} +38 -38
- package/dist/chunks/{formatter-bmvvtns5.js → persistent-pty-z51dkrce.js} +10 -10
- package/dist/chunks/{formatter-xqy02ay2.js → persistent-pty-z5hjdsb2.js} +35 -35
- package/dist/chunks/{formatter-kw9a7wpq.js → persistent-pty-zbnt2kpn.js} +11 -11
- package/dist/chunks/{formatter-3eppzrq9.js → persistent-pty-zd7gysdr.js} +4 -4
- package/dist/chunks/{formatter-kbbajj7z.js → persistent-pty-zeej7hz5.js} +28 -28
- package/dist/chunks/{formatter-15kx30sr.js → persistent-pty-zkm723st.js} +13 -13
- package/dist/chunks/{formatter-zpdbqgja.js → persistent-pty-zpdbqgja.js} +1 -1
- 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 +11 -11
- 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 +1 -1
- 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 +130 -130
- 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 +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +77 -77
- package/dist/database/drizzle/effect-sqlite/driver.js +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 +105 -105
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +441 -441
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +109 -109
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +85 -85
- package/dist/file-access.js +160 -160
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +164 -164
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/file-watch.js +91 -91
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +251 -251
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +113 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +116 -116
- package/dist/flag.js +135 -135
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +100 -100
- package/dist/generate.js +120 -120
- package/dist/git.js +11 -11
- package/dist/github-copilot/models.js +104 -104
- 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 +432 -432
- 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 +3 -3
- package/dist/integration.js +100 -100
- package/dist/job/list.js +5 -5
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +185 -185
- package/dist/location-lifecycle.js +153 -153
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +429 -429
- package/dist/location.js +100 -100
- 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 +89 -89
- 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 +104 -104
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +115 -115
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +117 -117
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +93 -93
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +156 -156
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +101 -101
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +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 +5 -5
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +408 -408
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +149 -149
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +106 -106
- package/dist/plugin/provider/azure.js +133 -133
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +133 -133
- package/dist/plugin/provider/claude-agent/aisdk.js +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 +9 -9
- package/dist/plugin/provider/claude-agent/index.js +148 -148
- package/dist/plugin/provider/claude-agent/instructions.js +112 -112
- 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 +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 +1 -1
- package/dist/plugin/provider/claude-agent/tools/pending.js +1 -1
- 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-watches.js +4 -4
- package/dist/plugin/provider/opencode.js +161 -161
- package/dist/plugin/provider/openrouter.js +104 -104
- package/dist/plugin/provider/poe.js +90 -90
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +131 -131
- package/dist/plugin/provider/vllm.js +140 -140
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +239 -239
- package/dist/plugin/sdk.js +81 -81
- 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 +416 -416
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +106 -106
- package/dist/plugin/warming.js +130 -130
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +1 -1
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +7 -7
- package/dist/plugin.js +255 -255
- 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 +101 -101
- package/dist/reference.js +101 -101
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +109 -109
- 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 +171 -171
- package/dist/session/context.js +203 -203
- 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 +250 -250
- package/dist/session/execution.js +171 -171
- package/dist/session/generate.js +206 -206
- 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 +4 -4
- 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 +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +256 -256
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +153 -153
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +164 -164
- package/dist/session/runner/to-llm-message.js +140 -140
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +186 -186
- 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 +5 -5
- package/dist/session/title.js +209 -209
- package/dist/session/to-session-error.js +152 -152
- package/dist/session/transfer.js +247 -247
- 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 +13 -13
- package/dist/shell.js +147 -147
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +154 -154
- package/dist/skill.js +159 -159
- 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 +188 -188
- 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 +174 -174
- package/dist/tool/plugin/grep.js +173 -173
- package/dist/tool/plugin/image-generate.js +241 -241
- package/dist/tool/plugin/mcp-resource.js +169 -169
- package/dist/tool/plugin/opencode.js +166 -166
- package/dist/tool/plugin/patch.js +171 -171
- package/dist/tool/plugin/question.js +149 -149
- package/dist/tool/plugin/read.js +175 -175
- package/dist/tool/plugin/schedule.js +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 +156 -156
- package/dist/tool/plugin/webfetch.js +158 -158
- package/dist/tool/plugin/websearch.js +156 -156
- package/dist/tool/plugin/write.js +169 -169
- package/dist/tool/read-filesystem.js +114 -114
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +161 -161
- 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 +1 -1
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +106 -106
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +101 -101
- package/dist/websearch.js +93 -93
- package/dist/wellknown/plugin.js +85 -85
- package/dist/wellknown.js +90 -90
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +109 -109
- package/package.json +8 -8
- package/dist/chunks/formatter-4wc608fg.js +0 -273
- package/dist/chunks/formatter-d77dj7jw.js +0 -18
- package/dist/chunks/formatter-fer3526p.js +0 -26
- package/dist/chunks/formatter-fy8wzmxg.js +0 -577
- package/dist/chunks/formatter-mzffn9bc.js +0 -16
- /package/dist/chunks/{formatter-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{formatter-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{formatter-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{formatter-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{formatter-1kah00gy.js → persistent-pty-1kah00gy.js} +0 -0
- /package/dist/chunks/{formatter-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{formatter-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{formatter-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{formatter-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{formatter-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{formatter-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{formatter-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{formatter-4qk9sjk2.js → persistent-pty-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{formatter-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
- /package/dist/chunks/{formatter-5w3e23ze.js → persistent-pty-5w3e23ze.js} +0 -0
- /package/dist/chunks/{formatter-6agm2x70.js → persistent-pty-6agm2x70.js} +0 -0
- /package/dist/chunks/{formatter-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
- /package/dist/chunks/{formatter-6q2bdcd1.js → persistent-pty-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{formatter-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{formatter-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{formatter-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
- /package/dist/chunks/{formatter-84wd9syh.js → persistent-pty-84wd9syh.js} +0 -0
- /package/dist/chunks/{formatter-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{formatter-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{formatter-8wj87zfr.js → persistent-pty-8wj87zfr.js} +0 -0
- /package/dist/chunks/{formatter-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{formatter-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{formatter-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{formatter-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{formatter-beh6qq61.js → persistent-pty-beh6qq61.js} +0 -0
- /package/dist/chunks/{formatter-bhmrqjy3.js → persistent-pty-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{formatter-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{formatter-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{formatter-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{formatter-cqv5kn06.js → persistent-pty-cqv5kn06.js} +0 -0
- /package/dist/chunks/{formatter-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{formatter-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{formatter-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{formatter-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
- /package/dist/chunks/{formatter-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{formatter-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{formatter-ean2d8b5.js → persistent-pty-ean2d8b5.js} +0 -0
- /package/dist/chunks/{formatter-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{formatter-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{formatter-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{formatter-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{formatter-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{formatter-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{formatter-fkpq3x5p.js → persistent-pty-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{formatter-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
- /package/dist/chunks/{formatter-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{formatter-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
- /package/dist/chunks/{formatter-hcxmzztb.js → persistent-pty-hcxmzztb.js} +0 -0
- /package/dist/chunks/{formatter-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
- /package/dist/chunks/{formatter-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{formatter-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{formatter-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{formatter-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{formatter-jwr30sdr.js → persistent-pty-jwr30sdr.js} +0 -0
- /package/dist/chunks/{formatter-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{formatter-m18g726c.js → persistent-pty-m18g726c.js} +0 -0
- /package/dist/chunks/{formatter-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{formatter-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{formatter-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{formatter-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{formatter-nh4v3znn.js → persistent-pty-nh4v3znn.js} +0 -0
- /package/dist/chunks/{formatter-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{formatter-p71gwv9c.js → persistent-pty-p71gwv9c.js} +0 -0
- /package/dist/chunks/{formatter-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{formatter-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{formatter-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{formatter-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{formatter-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{formatter-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{formatter-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{formatter-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{formatter-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{formatter-syrav9an.js → persistent-pty-syrav9an.js} +0 -0
- /package/dist/chunks/{formatter-t03h4f5z.js → persistent-pty-t03h4f5z.js} +0 -0
- /package/dist/chunks/{formatter-ty7weeps.js → persistent-pty-ty7weeps.js} +0 -0
- /package/dist/chunks/{formatter-ve7vex1e.js → persistent-pty-ve7vex1e.js} +0 -0
- /package/dist/chunks/{formatter-vtarvj67.js → persistent-pty-vtarvj67.js} +0 -0
- /package/dist/chunks/{formatter-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{formatter-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{formatter-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{formatter-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{formatter-x4th4bpe.js → persistent-pty-x4th4bpe.js} +0 -0
- /package/dist/chunks/{formatter-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{formatter-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{formatter-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{formatter-z0h12gs8.js → persistent-pty-z0h12gs8.js} +0 -0
- /package/dist/chunks/{formatter-z5v4ffb3.js → persistent-pty-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{formatter-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
- /package/dist/chunks/{formatter-zxpyjp51.js → persistent-pty-zxpyjp51.js} +0 -0
- /package/dist/chunks/{formatter-zz5vv3aq.js → persistent-pty-zz5vv3aq.js} +0 -0
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
onSwitch2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-tjvb8cdj.js";
|
|
4
4
|
import {
|
|
5
5
|
isLoggedIn2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-2p60zmnr.js";
|
|
7
7
|
import {
|
|
8
8
|
ID3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-ms3ackzp.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/plugin/provider/claude-agent/integration.ts
|
|
15
15
|
var exports_integration = {};
|
|
16
16
|
__export(exports_integration, {
|
|
17
17
|
ClaudeIntegration: () => exports_integration,
|
|
18
18
|
METHOD_ID: () => METHOD_ID2,
|
|
19
|
-
register: () =>
|
|
19
|
+
register: () => register5
|
|
20
20
|
});
|
|
21
21
|
import { Effect, Stream, SubscriptionRef } from "effect";
|
|
22
22
|
var METHOD_ID2 = "claude-login";
|
|
23
|
-
var
|
|
23
|
+
var register5 = Effect.fn("ClaudeIntegration.register")(function* (ctx, status) {
|
|
24
24
|
yield* ctx.integration.transform((editor) => {
|
|
25
25
|
editor.update(ID3, (integration) => {
|
|
26
26
|
integration.name = "Claude Agent";
|
|
@@ -58,4 +58,4 @@ function problem(state) {
|
|
|
58
58
|
return;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
export { METHOD_ID2,
|
|
61
|
+
export { METHOD_ID2, register5, exports_integration };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service50
|
|
3
|
+
} from "./persistent-pty-5m6a7xby.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-a610t88q.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service57
|
|
9
|
+
} from "./persistent-pty-3m0b6qpz.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-q42tzrxa.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start4 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service50;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service57), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/integration/connection.ts
|
|
6
6
|
var exports_connection2 = {};
|
|
7
7
|
__export(exports_connection2, {
|
|
8
8
|
CredentialInfo: () => CredentialInfo2,
|
|
9
9
|
EnvInfo: () => EnvInfo2,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info25,
|
|
11
11
|
IntegrationConnection: () => exports_connection2,
|
|
12
12
|
Status: () => Status4,
|
|
13
13
|
key: () => key3
|
|
@@ -15,7 +15,7 @@ __export(exports_connection2, {
|
|
|
15
15
|
import { Connection } from "@opencode/schema/connection";
|
|
16
16
|
var CredentialInfo2 = Connection.CredentialInfo;
|
|
17
17
|
var EnvInfo2 = Connection.EnvInfo;
|
|
18
|
-
var
|
|
18
|
+
var Info25 = Connection.Info;
|
|
19
19
|
var Status4 = Connection.Status;
|
|
20
20
|
function key3(connection) {
|
|
21
21
|
if (!connection)
|
|
@@ -23,4 +23,4 @@ function key3(connection) {
|
|
|
23
23
|
return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
export { CredentialInfo2, EnvInfo2,
|
|
26
|
+
export { CredentialInfo2, EnvInfo2, Info25, Status4, key3, exports_connection2 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./persistent-pty-xww8vq85.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info17
|
|
9
|
+
} from "./persistent-pty-g6axq7c8.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-y9hymxjv.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service74
|
|
16
|
+
} from "./persistent-pty-w6a4rfzh.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./persistent-pty-80pdk984.js";
|
|
20
20
|
import {
|
|
21
21
|
observeSources2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./persistent-pty-tvtps2q9.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/config/plugin/agent.ts
|
|
28
28
|
var exports_agent2 = {};
|
|
29
29
|
__export(exports_agent2, {
|
|
30
30
|
ConfigAgentPlugin: () => exports_agent2,
|
|
31
|
-
Plugin: () =>
|
|
31
|
+
Plugin: () => Plugin42
|
|
32
32
|
});
|
|
33
33
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
34
34
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -43,15 +43,15 @@ var legacySources = [
|
|
|
43
43
|
];
|
|
44
44
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
45
45
|
var decodeAgent = SchemaParser.decodeUnknownResult(ConfigAgent.Info);
|
|
46
|
-
var decodeLegacyAgent = SchemaParser.decodeUnknownResult(
|
|
46
|
+
var decodeLegacyAgent = SchemaParser.decodeUnknownResult(Info17);
|
|
47
47
|
var formatIssue = SchemaIssue.makeFormatterDefault();
|
|
48
48
|
var pathActions = ["external_directory", "read", "edit"];
|
|
49
49
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
50
50
|
var nativeKeys = ["permissions", "request", "system", "disabled"];
|
|
51
|
-
var
|
|
51
|
+
var Plugin42 = define({
|
|
52
52
|
id: "opencode.config.agent",
|
|
53
53
|
effect: Effect.fn(function* (ctx) {
|
|
54
|
-
const config = yield*
|
|
54
|
+
const config = yield* Service74;
|
|
55
55
|
const fs = yield* FSUtil.Service;
|
|
56
56
|
const global = yield* Global.Service;
|
|
57
57
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -78,13 +78,13 @@ var Plugin51 = define({
|
|
|
78
78
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
79
79
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
80
80
|
if (configuredDefault !== undefined)
|
|
81
|
-
editor.default(
|
|
81
|
+
editor.default(ID12.make(configuredDefault));
|
|
82
82
|
for (const current of editor.list()) {
|
|
83
83
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
84
84
|
}
|
|
85
85
|
for (const document of loaded.documents) {
|
|
86
86
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
87
|
-
const agentID =
|
|
87
|
+
const agentID = ID12.make(id);
|
|
88
88
|
if (item.disabled) {
|
|
89
89
|
editor.remove(agentID);
|
|
90
90
|
continue;
|
|
@@ -171,4 +171,4 @@ var decode = Effect.fnUntraced(function* (file, content) {
|
|
|
171
171
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
172
172
|
});
|
|
173
173
|
|
|
174
|
-
export {
|
|
174
|
+
export { Plugin42, exports_agent2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service89,
|
|
3
|
+
node90
|
|
4
|
+
} from "./persistent-pty-479eyxvy.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,31 +12,31 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event18,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID17,
|
|
20
|
+
Info: () => Info26,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError12,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service82,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When3,
|
|
28
28
|
layer: () => layer29,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node83,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event18 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID17 = Form.ID;
|
|
39
|
+
var Info26 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When3 = Form.When;
|
|
@@ -44,8 +44,8 @@ var State3 = Form.State;
|
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError12 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID17
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError14 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID17
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID17
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID17,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service82 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var layer29 = Layer.effect(
|
|
85
|
-
const bus = yield*
|
|
84
|
+
var layer29 = Layer.effect(Service82, Effect.gen(function* () {
|
|
85
|
+
const bus = yield* Service89;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
89
89
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
90
90
|
});
|
|
91
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
91
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError12({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID17.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -162,9 +162,9 @@ var layer29 = Layer.effect(Service92, Effect.gen(function* () {
|
|
|
162
162
|
closed = true;
|
|
163
163
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
164
164
|
yield* Effect.addFinalizer(() => close);
|
|
165
|
-
return
|
|
165
|
+
return Service82.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
167
|
+
var node83 = makeLocationNode({ service: Service82, layer: layer29, deps: [node90] });
|
|
168
168
|
function validateAnswer2(form, answer) {
|
|
169
169
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
170
170
|
for (const key of Object.keys(answer)) {
|
|
@@ -316,4 +316,4 @@ function isDateTime(value) {
|
|
|
316
316
|
return !Number.isNaN(new Date(value).getTime());
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export {
|
|
319
|
+
export { ID17, Info26, Field2, Fields2, When3, State3, Answer2, Reply3, NotFoundError12, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service82, layer29, node83, validateAnswer2, validateFields2, exports_form, Event18 };
|
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
deletePatch2,
|
|
8
8
|
countPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-rb9dy4dg.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service87
|
|
13
|
+
} from "./persistent-pty-pha4g85c.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./persistent-pty-twhczwgq.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin20,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin20 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
|
-
const location = yield*
|
|
36
|
+
const location = yield* Service87;
|
|
37
37
|
if (location.vcs && location.vcs.type !== "hg")
|
|
38
38
|
return;
|
|
39
39
|
const processes = yield* AppProcess.Service;
|
|
@@ -198,4 +198,4 @@ function makeHg(proc, worktree) {
|
|
|
198
198
|
return { status, diff, branch, ancestor, cat };
|
|
199
199
|
}
|
|
200
200
|
|
|
201
|
-
export {
|
|
201
|
+
export { Plugin20, exports_hg };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isTextual2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-4pyp9zr9.js";
|
|
4
4
|
import {
|
|
5
5
|
invocation2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service68
|
|
7
|
+
} from "./persistent-pty-vsm2qhy0.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_MARKDOWN_BYTES2,
|
|
10
10
|
convertHTMLToMarkdown2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./persistent-pty-zxpyjp51.js";
|
|
12
12
|
import {
|
|
13
13
|
collectBoundedResponseBody2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./persistent-pty-3v8g72cx.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./persistent-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: () => Input14,
|
|
24
24
|
MAX_REDIRECTS: () => MAX_REDIRECTS2,
|
|
25
25
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
26
26
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
27
|
-
Plugin: () =>
|
|
27
|
+
Plugin: () => Plugin18,
|
|
28
28
|
WebFetchTool: () => exports_webfetch,
|
|
29
29
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
30
|
-
description: () =>
|
|
30
|
+
description: () => description6,
|
|
31
31
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
32
|
-
name: () =>
|
|
32
|
+
name: () => name14
|
|
33
33
|
});
|
|
34
34
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
35
35
|
import { Duration, Effect, Schema } from "effect";
|
|
36
36
|
import { FetchHttpClient, HttpClient, HttpClientError, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
37
37
|
import { Parser } from "htmlparser2";
|
|
38
|
-
var
|
|
38
|
+
var name14 = "webfetch";
|
|
39
39
|
var MAX_RESPONSE_BYTES2 = 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 Input14 = Schema.Struct({
|
|
47
47
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
48
48
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
49
49
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -53,7 +53,7 @@ var Input7 = Schema.Struct({
|
|
|
53
53
|
var Output = Schema.Struct({
|
|
54
54
|
url: Schema.String,
|
|
55
55
|
contentType: Schema.String,
|
|
56
|
-
format:
|
|
56
|
+
format: Input14.fields.format,
|
|
57
57
|
output: Schema.String
|
|
58
58
|
});
|
|
59
59
|
var acceptHeader = (format) => {
|
|
@@ -119,16 +119,16 @@ var convert = (content, contentType, format) => {
|
|
|
119
119
|
return extractTextFromHTML2(content);
|
|
120
120
|
return content;
|
|
121
121
|
};
|
|
122
|
-
var
|
|
122
|
+
var Plugin18 = {
|
|
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* Service68;
|
|
127
127
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
128
|
-
name:
|
|
128
|
+
name: name14,
|
|
129
129
|
options: { codemode: false },
|
|
130
|
-
description:
|
|
131
|
-
input:
|
|
130
|
+
description: description6,
|
|
131
|
+
input: Input14,
|
|
132
132
|
output: Output,
|
|
133
133
|
execute: (input, context) => Effect.gen(function* () {
|
|
134
134
|
const url = input.url.split("#")[0];
|
|
@@ -137,7 +137,7 @@ var Plugin9 = {
|
|
|
137
137
|
catch: (error) => error
|
|
138
138
|
});
|
|
139
139
|
yield* permission.assert({
|
|
140
|
-
action:
|
|
140
|
+
action: name14,
|
|
141
141
|
resources: [url],
|
|
142
142
|
save: ["*"],
|
|
143
143
|
metadata: input,
|
|
@@ -145,7 +145,7 @@ var Plugin9 = {
|
|
|
145
145
|
});
|
|
146
146
|
const { body, contentType } = yield* Effect.gen(function* () {
|
|
147
147
|
const check = (next) => permission.assertNotDenied({
|
|
148
|
-
action:
|
|
148
|
+
action: name14,
|
|
149
149
|
resources: [next],
|
|
150
150
|
metadata: { ...input, url: next },
|
|
151
151
|
...invocation2(context)
|
|
@@ -199,4 +199,4 @@ function extractTextFromHTML2(html) {
|
|
|
199
199
|
parser.end();
|
|
200
200
|
return text.trim();
|
|
201
201
|
}
|
|
202
|
-
export {
|
|
202
|
+
export { name14, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description6, Input14, MAX_REDIRECTS2, Plugin18, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toolFailure2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-z0h12gs8.js";
|
|
4
4
|
import {
|
|
5
5
|
Ref3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service79
|
|
7
|
+
} from "./persistent-pty-phrewnzr.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service74
|
|
10
|
+
} from "./persistent-pty-w6a4rfzh.js";
|
|
11
11
|
import {
|
|
12
12
|
observe2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./persistent-pty-tvtps2q9.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service78
|
|
16
|
+
} from "./persistent-pty-pev27ssz.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionMessage2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./persistent-pty-gftt206x.js";
|
|
20
20
|
import {
|
|
21
21
|
invocation2,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service68
|
|
23
|
+
} from "./persistent-pty-vsm2qhy0.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service67
|
|
26
|
+
} from "./persistent-pty-gaczjh3k.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service62
|
|
29
|
+
} from "./persistent-pty-0dbea112.js";
|
|
30
30
|
import {
|
|
31
31
|
text2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./persistent-pty-8b3vzgkx.js";
|
|
33
33
|
import {
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
34
|
+
Service52
|
|
35
|
+
} from "./persistent-pty-gb55vkr1.js";
|
|
36
36
|
import {
|
|
37
37
|
detect2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./persistent-pty-4pyp9zr9.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
40
|
+
Service25
|
|
41
|
+
} from "./persistent-pty-5xfnvs9t.js";
|
|
42
42
|
import {
|
|
43
43
|
collectBoundedResponseBody2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./persistent-pty-3v8g72cx.js";
|
|
45
45
|
import {
|
|
46
46
|
__export
|
|
47
|
-
} from "./
|
|
47
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
48
48
|
|
|
49
49
|
// src/tool/plugin/image-generate.ts
|
|
50
50
|
var exports_image_generate = {};
|
|
@@ -53,9 +53,9 @@ __export(exports_image_generate, {
|
|
|
53
53
|
Input: () => Input9,
|
|
54
54
|
MAX_INPUT_BYTES: () => MAX_INPUT_BYTES2,
|
|
55
55
|
Output: () => Output8,
|
|
56
|
-
Plugin: () =>
|
|
56
|
+
Plugin: () => Plugin11,
|
|
57
57
|
defaultModel: () => defaultModel2,
|
|
58
|
-
description: () =>
|
|
58
|
+
description: () => description4,
|
|
59
59
|
name: () => name9
|
|
60
60
|
});
|
|
61
61
|
import path from "path";
|
|
@@ -75,7 +75,7 @@ var EXTENSIONS = {
|
|
|
75
75
|
"image/webp": ".webp",
|
|
76
76
|
"image/gif": ".gif"
|
|
77
77
|
};
|
|
78
|
-
var
|
|
78
|
+
var description4 = [
|
|
79
79
|
"Generates a new image, or edits existing ones.",
|
|
80
80
|
"Only call this when the user asks you to create or edit an image. If you think an image would help but the user didn't ask for one, ask them first instead of generating it.",
|
|
81
81
|
"Images you pass are used as the source to edit, or as references for style and subject.",
|
|
@@ -103,20 +103,20 @@ var Output8 = Schema.Struct({
|
|
|
103
103
|
path: Schema.String.annotate({ description: "Where the image is saved, without its extension" }),
|
|
104
104
|
model: Schema.String.annotate({ description: "providerID/modelID" })
|
|
105
105
|
});
|
|
106
|
-
var
|
|
106
|
+
var Plugin11 = {
|
|
107
107
|
id: "opencode.tool.image-generate",
|
|
108
108
|
effect: Effect.fn("ImageGenerateTool.Plugin")(function* (ctx) {
|
|
109
|
-
const access = yield*
|
|
110
|
-
const environment = yield*
|
|
111
|
-
const generate = yield*
|
|
109
|
+
const access = yield* Service67;
|
|
110
|
+
const environment = yield* Service78;
|
|
111
|
+
const generate = yield* Service62;
|
|
112
112
|
const global = yield* Global.Service;
|
|
113
113
|
const http = yield* HttpClient.HttpClient;
|
|
114
|
-
const config = yield*
|
|
115
|
-
const jobs = yield*
|
|
114
|
+
const config = yield* Service74;
|
|
115
|
+
const jobs = yield* Service52;
|
|
116
116
|
const scope = yield* Scope.Scope;
|
|
117
|
-
const sessions = yield*
|
|
118
|
-
const models = yield*
|
|
119
|
-
const permission = yield*
|
|
117
|
+
const sessions = yield* Service25;
|
|
118
|
+
const models = yield* Service79;
|
|
119
|
+
const permission = yield* Service68;
|
|
120
120
|
const resolveModel = Effect.fn("ImageGenerateTool.resolveModel")(function* (input, sessionID, images) {
|
|
121
121
|
const available = yield* models.available(["image"]);
|
|
122
122
|
if (!input) {
|
|
@@ -222,7 +222,7 @@ var Plugin12 = {
|
|
|
222
222
|
editor.add({
|
|
223
223
|
name: name9,
|
|
224
224
|
options: { codemode: false },
|
|
225
|
-
description:
|
|
225
|
+
description: description4,
|
|
226
226
|
input: Input9,
|
|
227
227
|
output: Output8,
|
|
228
228
|
execute: (input, context) => Effect.gen(function* () {
|
|
@@ -326,4 +326,4 @@ function acceptsImages(model) {
|
|
|
326
326
|
return model.capabilities.input.some((item) => item.startsWith("image"));
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export { name9, MAX_INPUT_BYTES2,
|
|
329
|
+
export { name9, MAX_INPUT_BYTES2, description4, Input9, Output8, Plugin11, defaultModel2, exports_image_generate };
|