@opencode/core 0.0.0-dev-21173 → 0.0.0-dev-21177
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{permission-drsr8dxn.js → pty-072y95tq.js} +7 -7
- package/dist/chunks/{permission-r4srm0at.js → pty-0dcab6yb.js} +11 -11
- package/dist/chunks/{permission-wnq6p54b.js → pty-0gva8j83.js} +2 -2
- package/dist/chunks/{permission-d9yvnbgr.js → pty-0s4jjkv3.js} +19 -19
- package/dist/chunks/{permission-ex63grbc.js → pty-0ss45e0g.js} +18 -18
- package/dist/chunks/{permission-0vbcp93d.js → pty-0vbcp93d.js} +2 -2
- package/dist/chunks/{permission-52nvs3jd.js → pty-0xndvgp0.js} +8 -8
- package/dist/chunks/{permission-z0sxxenh.js → pty-14wynrn6.js} +44 -44
- package/dist/chunks/{permission-vem2bndm.js → pty-1bqj5c5m.js} +13 -13
- package/dist/chunks/{permission-mssvzdjt.js → pty-1cy1fvz2.js} +18 -18
- package/dist/chunks/{permission-1ep4rre3.js → pty-1ep4rre3.js} +1 -1
- package/dist/chunks/{permission-mg40r85c.js → pty-1fde4gmb.js} +3 -3
- package/dist/chunks/{permission-j5c0rtpf.js → pty-1gwhweqv.js} +16 -16
- package/dist/chunks/{permission-86n1mj31.js → pty-1kmnnw2n.js} +45 -45
- package/dist/chunks/{permission-vn7rx3mx.js → pty-1qawy49j.js} +7 -7
- package/dist/chunks/{permission-qgv7edb0.js → pty-1ycz83fm.js} +19 -19
- package/dist/chunks/{permission-8ank75fn.js → pty-2ktf0ed2.js} +8 -8
- package/dist/chunks/{permission-7erdcn4e.js → pty-2wak32hr.js} +90 -88
- package/dist/chunks/{permission-3tsz0k1y.js → pty-2yf9htnm.js} +16 -16
- package/dist/chunks/{permission-am1g5jcw.js → pty-332j5t5e.js} +90 -90
- package/dist/chunks/{permission-6wb9g5se.js → pty-35ddvwna.js} +4 -4
- package/dist/chunks/{permission-k2a504bc.js → pty-37sfe3bm.js} +8 -8
- package/dist/chunks/{permission-fhff0x2d.js → pty-3b9qt4hj.js} +9 -9
- package/dist/chunks/{permission-34c6xbdq.js → pty-3cxe0ccz.js} +32 -32
- package/dist/chunks/{permission-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{permission-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{permission-3hwn7j4h.js → pty-3hwn7j4h.js} +2 -2
- package/dist/chunks/{permission-n33x0n62.js → pty-3s2wwjdv.js} +4 -4
- package/dist/chunks/{permission-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{permission-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{permission-1ve0sr6a.js → pty-3zk10d63.js} +12 -12
- package/dist/chunks/{permission-3zsf4n22.js → pty-3zsf4n22.js} +1 -1
- package/dist/chunks/{permission-679rbtpy.js → pty-409dx5e0.js} +11 -11
- package/dist/chunks/{permission-9d88y16z.js → pty-4esk8sqt.js} +10 -10
- package/dist/chunks/{permission-zv85pfc2.js → pty-4fnc5vpd.js} +19 -19
- package/dist/chunks/{permission-ybz1v3hc.js → pty-4g4s6x68.js} +21 -21
- package/dist/chunks/{permission-62weq7xx.js → pty-4z5pf2em.js} +17 -17
- package/dist/chunks/{permission-54ma36ye.js → pty-54ma36ye.js} +1 -1
- package/dist/chunks/{permission-z12mz8nn.js → pty-58h69jjx.js} +15 -15
- package/dist/chunks/{permission-a01j9zgm.js → pty-58hng72m.js} +5 -5
- package/dist/chunks/{permission-5m9w47nd.js → pty-5m9w47nd.js} +1 -1
- package/dist/chunks/{permission-kq8zwz2w.js → pty-5w01hbp6.js} +22 -22
- package/dist/chunks/{permission-5xtgfte3.js → pty-5xtgfte3.js} +1 -1
- package/dist/chunks/{permission-9vmy51qk.js → pty-628d53px.js} +21 -21
- package/dist/chunks/{permission-8ewgqdn5.js → pty-65wgkzmg.js} +3 -3
- package/dist/chunks/{permission-f9veggc8.js → pty-66etgr7v.js} +3 -3
- package/dist/chunks/{permission-twrxp6fg.js → pty-67ajme4p.js} +7 -7
- package/dist/chunks/{permission-6827pfxn.js → pty-6827pfxn.js} +1 -1
- package/dist/chunks/{permission-kgn3ypzw.js → pty-68tnz3e8.js} +15 -15
- package/dist/chunks/{permission-4t2fw5rj.js → pty-69nb7mte.js} +15 -15
- package/dist/chunks/{permission-ycjyx8h4.js → pty-6afr2rje.js} +13 -13
- package/dist/chunks/{permission-8zc1cckh.js → pty-6cywv53g.js} +4 -4
- package/dist/chunks/{permission-07v8h7rd.js → pty-6q74b9t9.js} +21 -21
- package/dist/chunks/{permission-6xb47vfp.js → pty-6xb47vfp.js} +1 -1
- package/dist/chunks/{permission-xvxcje8t.js → pty-6yvmd6g0.js} +5 -5
- package/dist/chunks/{permission-4xpgt2w9.js → pty-6yz0wx8n.js} +5 -5
- package/dist/chunks/{permission-nkttc7hj.js → pty-72b35rd4.js} +17 -14
- package/dist/chunks/{permission-775gj3j1.js → pty-775gj3j1.js} +2 -2
- package/dist/chunks/{permission-p2tdy616.js → pty-7a63cxzq.js} +17 -17
- package/dist/chunks/{permission-cqqwjfhv.js → pty-7baah2nz.js} +8 -8
- package/dist/chunks/{permission-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{permission-rd8qctj1.js → pty-7dks1d1n.js} +6 -6
- package/dist/chunks/{permission-0jwsre1p.js → pty-7dqw4kz8.js} +5 -5
- package/dist/chunks/{permission-bkn1ecx9.js → pty-7k3t91vn.js} +14 -14
- package/dist/chunks/{permission-e4q6xfnd.js → pty-7k8jbme7.js} +34 -34
- package/dist/chunks/{permission-wms60x7z.js → pty-7ppyhzjx.js} +8 -8
- package/dist/chunks/{permission-dvd777c1.js → pty-7y4pe9zb.js} +23 -23
- package/dist/chunks/{permission-e8xftk41.js → pty-80xcpyq8.js} +33 -33
- package/dist/chunks/{permission-2h6rptny.js → pty-81y4a27x.js} +42 -42
- package/dist/chunks/{permission-kefz2fe2.js → pty-835y3cmd.js} +23 -23
- package/dist/chunks/{permission-cgbfxkfx.js → pty-83gy3yq2.js} +19 -19
- package/dist/chunks/{permission-w1eejvng.js → pty-84txncab.js} +5 -5
- package/dist/chunks/{permission-sfhytqpz.js → pty-88sqq7ae.js} +38 -38
- package/dist/chunks/{permission-8m6m0r52.js → pty-8m6m0r52.js} +1 -1
- package/dist/chunks/{permission-mtpeagzc.js → pty-8whp40kv.js} +3 -3
- package/dist/chunks/{permission-q8rx9e2s.js → pty-8ww2gede.js} +8 -8
- package/dist/chunks/{permission-93ygb5af.js → pty-909p1r3q.js} +6 -6
- package/dist/chunks/{permission-91qna3x0.js → pty-91qna3x0.js} +3 -3
- package/dist/chunks/{permission-6rvxw5sn.js → pty-94204gn9.js} +11 -11
- package/dist/chunks/{permission-2r1j4600.js → pty-967benbv.js} +11 -11
- package/dist/chunks/{permission-8c1f8xcx.js → pty-97s3qq9m.js} +11 -11
- package/dist/chunks/{permission-njesq0nn.js → pty-9m6qkdem.js} +23 -23
- package/dist/chunks/pty-9sh4wc5j.js +18 -0
- package/dist/chunks/{permission-pyw7ptjn.js → pty-9xagcj41.js} +23 -23
- package/dist/chunks/pty-a0bbkc97.js +513 -0
- package/dist/chunks/{permission-sjj1ezhr.js → pty-a0r78awy.js} +10 -10
- package/dist/chunks/{permission-j3b4mjbm.js → pty-a7a43a3w.js} +22 -22
- package/dist/chunks/{permission-wsx3hvt7.js → pty-amwms54f.js} +12 -12
- package/dist/chunks/{permission-bhfq43n9.js → pty-apzkc9dc.js} +1 -1
- package/dist/chunks/{permission-hpcv5792.js → pty-aqrjem7b.js} +23 -23
- package/dist/chunks/{permission-9pvks7pb.js → pty-aw5400a1.js} +9 -9
- package/dist/chunks/{permission-xf9p42ms.js → pty-awrjh9yh.js} +5 -5
- package/dist/chunks/{permission-zp0dxnma.js → pty-axj4d8xa.js} +25 -25
- package/dist/chunks/{permission-k3ytq7h8.js → pty-b0jp0bej.js} +33 -33
- package/dist/chunks/{permission-wfxrttv2.js → pty-b2n2c3pj.js} +18 -18
- package/dist/chunks/{permission-217f33nw.js → pty-b5k0m31y.js} +5 -5
- package/dist/chunks/{permission-y7nndgyc.js → pty-bacj9t34.js} +9 -9
- package/dist/chunks/{permission-09m9v7wa.js → pty-bd0ch2rs.js} +14 -14
- package/dist/chunks/{permission-e854n5p3.js → pty-bdcde2ps.js} +9 -9
- package/dist/chunks/{permission-ed1k8py6.js → pty-bfabrp63.js} +9 -9
- package/dist/chunks/{permission-1ffvrpkg.js → pty-bjx1sjef.js} +6 -6
- package/dist/chunks/{permission-a1d774nw.js → pty-brpn0yq7.js} +11 -11
- package/dist/chunks/{permission-es1vcfrp.js → pty-c1fqxshp.js} +3 -3
- package/dist/chunks/{permission-jc443jqb.js → pty-c23c3mz0.js} +22 -22
- package/dist/chunks/{permission-bq6kd7ym.js → pty-c29rd6g0.js} +5 -5
- package/dist/chunks/{permission-k72kjj42.js → pty-c2qwrsdn.js} +17 -17
- package/dist/chunks/{permission-c1w56vrw.js → pty-cansen50.js} +10 -10
- package/dist/chunks/{permission-k9b3hqck.js → pty-cf5e3918.js} +32 -32
- package/dist/chunks/{permission-sracg0sp.js → pty-cvftb236.js} +45 -45
- package/dist/chunks/{permission-sdqebhr8.js → pty-d0epqsfp.js} +54 -54
- package/dist/chunks/{permission-fdv2f9s8.js → pty-d0we51xq.js} +4 -4
- package/dist/chunks/{permission-h7s7r6s9.js → pty-d1a28jh7.js} +4 -2
- package/dist/chunks/{permission-a7q9m0hx.js → pty-d9vhn3nc.js} +10 -10
- package/dist/chunks/pty-dexk7st3.js +26 -0
- package/dist/chunks/{permission-qkk6pvw8.js → pty-deyktbey.js} +11 -11
- package/dist/chunks/{permission-ft3hqk2c.js → pty-djszqvmq.js} +9 -9
- package/dist/chunks/{permission-jm1y66nn.js → pty-e0qr5ad7.js} +31 -31
- package/dist/chunks/{permission-ypbhf5bf.js → pty-e2f4d7w4.js} +20 -20
- package/dist/chunks/{permission-5qd3pb7m.js → pty-e3qxr5gk.js} +2 -2
- package/dist/chunks/{permission-t2jeqs59.js → pty-e5dabrwz.js} +10 -10
- package/dist/chunks/{permission-e80seqcp.js → pty-e80seqcp.js} +1 -1
- package/dist/chunks/{permission-eej6y6fw.js → pty-eej6y6fw.js} +2 -2
- package/dist/chunks/{permission-ef5x83kb.js → pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{permission-vwfnp5qh.js → pty-efs6wv9h.js} +21 -21
- package/dist/chunks/{permission-k0419ymk.js → pty-eqhzy62x.js} +17 -17
- package/dist/chunks/{permission-sg7hg3kh.js → pty-fce1ctzp.js} +51 -33
- package/dist/chunks/{permission-fcy631f0.js → pty-fcy631f0.js} +1 -1
- package/dist/chunks/{permission-pr8tz6aa.js → pty-fhh11s5w.js} +11 -11
- package/dist/chunks/{permission-ptcfasrv.js → pty-fkbnvjhs.js} +31 -31
- package/dist/chunks/{permission-fn9t717r.js → pty-fn9t717r.js} +3 -3
- package/dist/chunks/{permission-2284a349.js → pty-fncnja3r.js} +13 -13
- package/dist/chunks/{permission-1x3few19.js → pty-frxe1693.js} +11 -11
- package/dist/chunks/{permission-44ez1h4z.js → pty-fwkr8rng.js} +36 -36
- package/dist/chunks/{permission-ewftvr95.js → pty-g049fyg0.js} +18 -18
- package/dist/chunks/{permission-hqxt2sjs.js → pty-g72yd4k4.js} +12 -12
- package/dist/chunks/{permission-7vnwjbg5.js → pty-gd41frsq.js} +11 -11
- package/dist/chunks/{permission-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{permission-vhs5kszj.js → pty-gfwb8sf1.js} +24 -24
- package/dist/chunks/{permission-ba7z67q3.js → pty-ggbzsg95.js} +37 -37
- package/dist/chunks/{permission-hq7ypz19.js → pty-gv7bhpe8.js} +8 -8
- package/dist/chunks/{permission-jhze0r06.js → pty-h2tq07ke.js} +15 -15
- package/dist/chunks/{permission-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{permission-fwwk8vbp.js → pty-h71w788e.js} +9 -9
- package/dist/chunks/pty-h75fbyn9.js +257 -0
- package/dist/chunks/{permission-9013ynpr.js → pty-h7nv9fm5.js} +15 -15
- package/dist/chunks/{permission-4j4tgtq5.js → pty-h9wp8z5w.js} +4 -4
- package/dist/chunks/{permission-6dtzrycv.js → pty-hbazd458.js} +22 -22
- package/dist/chunks/{permission-qvw17ysa.js → pty-hfbyhya8.js} +10 -10
- package/dist/chunks/{permission-bsvpxg9q.js → pty-hfeceh65.js} +32 -32
- package/dist/chunks/{permission-90e9d9f0.js → pty-hghq5j4z.js} +5 -5
- package/dist/chunks/{permission-gehf44jm.js → pty-hgpdn4cj.js} +11 -11
- package/dist/chunks/{permission-hgz4x7wa.js → pty-hgz4x7wa.js} +1 -1
- package/dist/chunks/{permission-0stshzec.js → pty-hj273wnv.js} +1 -1
- package/dist/chunks/{permission-fxaymqdw.js → pty-hq3c8me3.js} +4 -4
- package/dist/chunks/{permission-r64pe9ar.js → pty-hr141zjg.js} +11 -11
- package/dist/chunks/{permission-ybx72fxx.js → pty-hst5n1cs.js} +15 -15
- package/dist/chunks/{permission-j4gjcjtj.js → pty-hzaj131z.js} +20 -20
- package/dist/chunks/{permission-t50d1m6t.js → pty-jd7jt2a4.js} +9 -9
- package/dist/chunks/{permission-cnjn3bnt.js → pty-jeqqnt0n.js} +184 -184
- package/dist/chunks/{permission-86vk3z46.js → pty-jgvqkc2b.js} +4 -4
- package/dist/chunks/{permission-j01kmr5k.js → pty-jkg51xq8.js} +22 -22
- package/dist/chunks/{permission-w35dv4fm.js → pty-jmzfcjas.js} +34 -34
- package/dist/chunks/{permission-9j1099w1.js → pty-jr8d78rx.js} +18 -18
- package/dist/chunks/{permission-h3wqeaw2.js → pty-k2yecyca.js} +35 -35
- package/dist/chunks/{permission-p0sm3d7e.js → pty-k76gfw63.js} +6 -6
- package/dist/chunks/{permission-127b9nq3.js → pty-k8h85fj7.js} +3 -3
- package/dist/chunks/{permission-fpvv6138.js → pty-kj9v1f3y.js} +6 -6
- package/dist/chunks/{permission-azvvqzwa.js → pty-kmz0bz7s.js} +20 -20
- package/dist/chunks/{permission-txm3e8qz.js → pty-kqv3x6rj.js} +9 -9
- package/dist/chunks/{permission-wte75qjz.js → pty-kqx1b4hy.js} +4 -4
- package/dist/chunks/{permission-kwb1v3vj.js → pty-kwb1v3vj.js} +1 -1
- package/dist/chunks/{permission-hafq2as1.js → pty-kxx41s58.js} +33 -33
- package/dist/chunks/{permission-tbfew0k9.js → pty-kzp2p6b7.js} +5 -5
- package/dist/chunks/{permission-sxyek8tm.js → pty-m2nf4q9z.js} +21 -21
- package/dist/chunks/{permission-8jjg13rq.js → pty-m79dkcvs.js} +8 -8
- package/dist/chunks/{permission-91kj5k6h.js → pty-m997ahh4.js} +23 -23
- package/dist/chunks/{permission-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{permission-maspj1v3.js → pty-maspj1v3.js} +1 -1
- package/dist/chunks/{permission-gqtdsdt7.js → pty-mxvxcxwy.js} +4 -4
- package/dist/chunks/{permission-swfsrv1g.js → pty-n8j0ad3c.js} +3 -3
- package/dist/chunks/{permission-kcbr4h58.js → pty-n96cp4bh.js} +11 -11
- package/dist/chunks/{permission-s0ekgt81.js → pty-njarxngx.js} +15 -15
- package/dist/chunks/{permission-vy0dehag.js → pty-nmbh15fm.js} +11 -11
- package/dist/chunks/{permission-eq0rhscs.js → pty-p1rwgv3d.js} +11 -11
- package/dist/chunks/{permission-erv48bnj.js → pty-p2ccqsff.js} +34 -34
- package/dist/chunks/{permission-s6pmxk2t.js → pty-p4pkk9xt.js} +16 -16
- package/dist/chunks/{permission-82d2ktkz.js → pty-pa5kwetm.js} +35 -35
- package/dist/chunks/{permission-phj4qgcq.js → pty-phb1sbsg.js} +13 -13
- package/dist/chunks/{permission-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{permission-pknna89w.js → pty-pknna89w.js} +1 -1
- package/dist/chunks/{permission-e322r7pm.js → pty-pp87jdt4.js} +18 -18
- package/dist/chunks/{permission-xydg9nj3.js → pty-pqkvj9g1.js} +16 -16
- package/dist/chunks/{permission-6pc27hjz.js → pty-py3kkmfq.js} +6 -6
- package/dist/chunks/{permission-6frk1szt.js → pty-q1r0pa81.js} +4 -4
- package/dist/chunks/{permission-2zrb9pfn.js → pty-q62wak94.js} +24 -24
- package/dist/chunks/{permission-ryr25ayn.js → pty-qa3qhgw8.js} +4 -4
- package/dist/chunks/{permission-yq6drjdh.js → pty-qcfsp7vy.js} +29 -29
- package/dist/chunks/{permission-14086wcg.js → pty-qfrtht0v.js} +26 -26
- package/dist/chunks/{permission-rjsr3vcn.js → pty-qfw355cv.js} +27 -27
- package/dist/chunks/{permission-had4kgfk.js → pty-qh8vdwx1.js} +6 -6
- package/dist/chunks/{permission-qnc92qwc.js → pty-qnc92qwc.js} +1 -1
- package/dist/chunks/{permission-qsdy395h.js → pty-qsdy395h.js} +1 -1
- package/dist/chunks/{permission-fef0arss.js → pty-qzsep9jm.js} +25 -25
- package/dist/chunks/{permission-qptxjfpk.js → pty-r04b27we.js} +9 -9
- package/dist/chunks/{permission-grxcxy9j.js → pty-r61qxybf.js} +8 -8
- package/dist/chunks/{permission-recxsxx3.js → pty-r84pq0rk.js} +9 -9
- package/dist/chunks/{permission-ar1n46mt.js → pty-r8mqjg1b.js} +5 -5
- package/dist/chunks/{permission-byj9yqak.js → pty-rbakw9sr.js} +21 -21
- package/dist/chunks/{permission-ykx2tj4g.js → pty-rbnwg7cj.js} +23 -23
- package/dist/chunks/{permission-aef7rqc7.js → pty-rcgycnpc.js} +18 -16
- package/dist/chunks/{permission-rdw6cm16.js → pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{permission-tkb22qbm.js → pty-rert0e01.js} +2 -2
- package/dist/chunks/{permission-fdy4yjdv.js → pty-ret9kwh0.js} +16 -16
- package/dist/chunks/{permission-02nrjc1r.js → pty-rhjbct0v.js} +6 -6
- package/dist/chunks/{permission-c41wscbt.js → pty-rj3eygr5.js} +2 -2
- package/dist/chunks/{permission-5e16jgyb.js → pty-rnmvysgz.js} +4 -4
- package/dist/chunks/{permission-y6gk02k8.js → pty-rwkv9rtx.js} +13 -13
- package/dist/chunks/{permission-jcm4bbxk.js → pty-s7r2tet0.js} +27 -27
- package/dist/chunks/{permission-1x75wf9g.js → pty-s857ash9.js} +5 -5
- package/dist/chunks/{permission-dp9dz0jq.js → pty-s88jxsq4.js} +18 -18
- package/dist/chunks/{permission-12tgygga.js → pty-s8pxmgfm.js} +50 -50
- package/dist/chunks/{permission-qksshjc5.js → pty-sa09w3ef.js} +49 -49
- package/dist/chunks/{permission-c8ax2afj.js → pty-sa8ekw3f.js} +2 -2
- package/dist/chunks/{permission-bhvq7qsz.js → pty-sajpmnx7.js} +9 -9
- package/dist/chunks/{permission-qcz0wrwd.js → pty-sn3stvbn.js} +57 -57
- package/dist/chunks/{permission-71cbbrtp.js → pty-sq9yydtn.js} +24 -24
- package/dist/chunks/{permission-e24zdz5m.js → pty-st0368v5.js} +10 -10
- package/dist/chunks/{permission-syv4x271.js → pty-syv4x271.js} +1 -1
- package/dist/chunks/{permission-j4c8x1sc.js → pty-tafwdsvs.js} +3 -3
- package/dist/chunks/{permission-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{permission-89znhe33.js → pty-tcezcvh9.js} +4 -4
- package/dist/chunks/{permission-tdstcens.js → pty-tdstcens.js} +1 -1
- package/dist/chunks/{permission-tm0kqsz3.js → pty-tm0kqsz3.js} +1 -1
- package/dist/chunks/{permission-9c9gt24k.js → pty-tnmnn7e4.js} +36 -36
- package/dist/chunks/{permission-tyytaxap.js → pty-tyytaxap.js} +1 -1
- package/dist/chunks/{permission-0javqkgf.js → pty-v210v162.js} +9 -9
- package/dist/chunks/{permission-v7p4zvkq.js → pty-v7p4zvkq.js} +2 -2
- package/dist/chunks/{permission-p345wmns.js → pty-v7xcn73q.js} +7 -7
- package/dist/chunks/{permission-btbmdjwj.js → pty-v7z2bvyd.js} +4 -4
- package/dist/chunks/{permission-8xncanqv.js → pty-va5r0dq2.js} +6 -6
- package/dist/chunks/{permission-z0aj456m.js → pty-vbfgae2j.js} +4 -4
- package/dist/chunks/{permission-vjq3qjw7.js → pty-vcqq2ea7.js} +10 -10
- package/dist/chunks/{permission-veqvce7d.js → pty-veqvce7d.js} +1 -1
- package/dist/chunks/{permission-w8hz4tvn.js → pty-vgdf0v3q.js} +48 -48
- package/dist/chunks/{permission-3rb3ap3k.js → pty-vqeq0fhp.js} +60 -60
- package/dist/chunks/{permission-hpvpcn7a.js → pty-vqjddh0d.js} +4 -4
- package/dist/chunks/{permission-qf384av7.js → pty-vv9rr97d.js} +46 -46
- package/dist/chunks/{permission-vzs5sf6e.js → pty-vzs5sf6e.js} +1 -1
- package/dist/chunks/{permission-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{permission-rya1tkyh.js → pty-wb9rhkdy.js} +43 -43
- package/dist/chunks/{permission-wd87259q.js → pty-wd87259q.js} +1 -1
- package/dist/chunks/{permission-n3cnth5e.js → pty-wps1s803.js} +11 -11
- package/dist/chunks/{permission-qaxwxvv2.js → pty-x21xsnty.js} +5 -5
- package/dist/chunks/{permission-6qm11y7v.js → pty-x3kre6es.js} +4 -4
- package/dist/chunks/{permission-ykt43d86.js → pty-x4yz0ptf.js} +25 -25
- package/dist/chunks/{permission-drwq78ky.js → pty-xfkkasph.js} +4 -4
- package/dist/chunks/{permission-kgfr93wy.js → pty-xhfpyqwv.js} +11 -11
- package/dist/chunks/{permission-482br3es.js → pty-y14wdc3z.js} +11 -11
- package/dist/chunks/{permission-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{permission-dpkg50ah.js → pty-y71avatq.js} +4 -4
- package/dist/chunks/{permission-tac8m9nk.js → pty-y9exhfjj.js} +18 -18
- package/dist/chunks/{permission-y14210vx.js → pty-ybqv58y2.js} +15 -15
- package/dist/chunks/{permission-x57v9ssy.js → pty-yfzaheh6.js} +30 -30
- package/dist/chunks/{permission-mcyszzrv.js → pty-yn45kn81.js} +45 -45
- package/dist/chunks/{permission-1acjjqhc.js → pty-yp2x3t23.js} +4 -4
- package/dist/chunks/{permission-6t7m39cn.js → pty-ypxfhh66.js} +28 -28
- package/dist/chunks/{permission-xt4njr3s.js → pty-yqc6bamn.js} +1 -1
- package/dist/chunks/{permission-kqjv193p.js → pty-ysa5gsqv.js} +30 -30
- package/dist/chunks/{permission-fmf6086p.js → pty-ywxwm15a.js} +35 -35
- package/dist/chunks/{permission-tsv76eat.js → pty-z09azjc0.js} +26 -26
- package/dist/chunks/{permission-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{permission-mavth47d.js → pty-z0scchpv.js} +24 -24
- package/dist/chunks/{permission-47jkzegy.js → pty-z6c3x22d.js} +5 -5
- package/dist/chunks/{permission-894fjdzg.js → pty-z8esweh3.js} +27 -27
- package/dist/chunks/{permission-jwn3wsmf.js → pty-zmkc6qbt.js} +6 -6
- package/dist/chunks/{permission-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{permission-afdssyjb.js → pty-zvt5dnpc.js} +4 -4
- package/dist/chunks/{permission-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
- package/dist/chunks/{permission-c23mvb43.js → pty-zxxshg8d.js} +13 -13
- package/dist/chunks/{permission-6mdckws8.js → pty-zysym8wc.js} +28 -28
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +206 -206
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +116 -116
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +68 -68
- 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.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- 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 +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- 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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +215 -215
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +106 -106
- package/dist/git.js +10 -10
- 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 +101 -101
- 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/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +357 -357
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +104 -104
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +117 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +115 -115
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +114 -114
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- 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 +215 -215
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +155 -155
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +92 -92
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -210
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +116 -116
- package/dist/snapshot.js +95 -95
- 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 +128 -128
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/types/session/session.d.ts +2 -0
- package/dist/types/session/store.d.ts +3 -0
- package/dist/types/session.d.ts +5 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- 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/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- 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 +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +88 -88
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/permission-2jd6s88s.js +0 -257
- package/dist/chunks/permission-740dsj1m.js +0 -513
- package/dist/chunks/permission-ewqg9zyh.js +0 -26
- package/dist/chunks/permission-ht5y0zrb.js +0 -18
- /package/dist/chunks/{permission-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{permission-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{permission-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{permission-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{permission-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{permission-24dcb14g.js → pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{permission-2710q6r3.js → pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{permission-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{permission-2bv980vf.js → pty-2bv980vf.js} +0 -0
- /package/dist/chunks/{permission-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{permission-359p4xyc.js → pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{permission-3asan66x.js → pty-3asan66x.js} +0 -0
- /package/dist/chunks/{permission-3t0ybcrp.js → pty-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{permission-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{permission-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{permission-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{permission-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{permission-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{permission-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{permission-53557ph1.js → pty-53557ph1.js} +0 -0
- /package/dist/chunks/{permission-550bvhaj.js → pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{permission-6prwharc.js → pty-6prwharc.js} +0 -0
- /package/dist/chunks/{permission-6q2bdcd1.js → pty-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{permission-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{permission-7m9af43g.js → pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{permission-822emrt2.js → pty-822emrt2.js} +0 -0
- /package/dist/chunks/{permission-84wd9syh.js → pty-84wd9syh.js} +0 -0
- /package/dist/chunks/{permission-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{permission-8n3pysct.js → pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{permission-8wj87zfr.js → pty-8wj87zfr.js} +0 -0
- /package/dist/chunks/{permission-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{permission-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{permission-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{permission-af5trqkr.js → pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{permission-afrmfg78.js → pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{permission-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{permission-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{permission-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{permission-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{permission-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{permission-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{permission-d9fn303g.js → pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{permission-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{permission-dajrwvna.js → pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{permission-dap0rakb.js → pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{permission-df08tz66.js → pty-df08tz66.js} +0 -0
- /package/dist/chunks/{permission-dy18nga0.js → pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{permission-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{permission-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{permission-ec1grn59.js → pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{permission-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{permission-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{permission-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{permission-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{permission-faypxj3z.js → pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{permission-fd410y7t.js → pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{permission-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{permission-g86h250q.js → pty-g86h250q.js} +0 -0
- /package/dist/chunks/{permission-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{permission-gftt206x.js → pty-gftt206x.js} +0 -0
- /package/dist/chunks/{permission-hcxmzztb.js → pty-hcxmzztb.js} +0 -0
- /package/dist/chunks/{permission-hk9envan.js → pty-hk9envan.js} +0 -0
- /package/dist/chunks/{permission-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{permission-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{permission-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{permission-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{permission-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{permission-jze0r7bz.js → pty-jze0r7bz.js} +0 -0
- /package/dist/chunks/{permission-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{permission-m18g726c.js → pty-m18g726c.js} +0 -0
- /package/dist/chunks/{permission-mp448xyj.js → pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{permission-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{permission-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{permission-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{permission-njntx4h6.js → pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{permission-pkyv6v7h.js → pty-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{permission-pyv0edze.js → pty-pyv0edze.js} +0 -0
- /package/dist/chunks/{permission-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{permission-q74kybfr.js → pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{permission-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{permission-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{permission-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{permission-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{permission-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{permission-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{permission-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{permission-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{permission-ve7vex1e.js → pty-ve7vex1e.js} +0 -0
- /package/dist/chunks/{permission-w803qqfp.js → pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{permission-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{permission-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{permission-wjj7prxr.js → pty-wjj7prxr.js} +0 -0
- /package/dist/chunks/{permission-wtztk69x.js → pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{permission-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{permission-x61499pn.js → pty-x61499pn.js} +0 -0
- /package/dist/chunks/{permission-y44na4kk.js → pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{permission-y8f7s663.js → pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{permission-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{permission-ym463w8f.js → pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{permission-z5v4ffb3.js → pty-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{permission-z9919s4g.js → pty-z9919s4g.js} +0 -0
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured6,
|
|
11
|
+
layer: () => layer23,
|
|
12
|
+
make: () => make18,
|
|
13
|
+
node: () => node52,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make18()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make18(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make16(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer23 = (input) => Layer.succeed(Metadata2, make18(input));
|
|
32
|
+
var configured6 = (input) => makeGlobalNode({ service: Metadata2, layer: layer23(input), deps: [] });
|
|
33
|
+
var node52 = configured6();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make18, useragent2, layer23, configured6, node52, exports_app };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node52
|
|
5
|
+
} from "./pty-fhh11s5w.js";
|
|
6
6
|
import {
|
|
7
7
|
provenance2,
|
|
8
8
|
compatible2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-h9wp8z5w.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service80,
|
|
12
|
+
node84
|
|
13
|
+
} from "./pty-2ktf0ed2.js";
|
|
14
14
|
import {
|
|
15
15
|
DeclinedError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./pty-sn3stvbn.js";
|
|
17
17
|
import {
|
|
18
18
|
CancelledError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./pty-1qawy49j.js";
|
|
20
20
|
import {
|
|
21
21
|
Error2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./pty-a7a43a3w.js";
|
|
23
23
|
import {
|
|
24
24
|
get5
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./pty-54ma36ye.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
27
|
+
Service36,
|
|
28
|
+
node39
|
|
29
|
+
} from "./pty-hgpdn4cj.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
} from "./
|
|
31
|
+
make15
|
|
32
|
+
} from "./pty-xfkkasph.js";
|
|
33
33
|
import {
|
|
34
34
|
toLLMMessages2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./pty-yqc6bamn.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./pty-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/session/model-request.ts
|
|
41
41
|
var exports_model_request = {};
|
|
42
42
|
__export(exports_model_request, {
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service35,
|
|
44
44
|
SessionModelRequest: () => exports_model_request,
|
|
45
45
|
baseTranscript: () => baseTranscript2,
|
|
46
46
|
boundImages: () => boundImages2,
|
|
47
|
-
layer: () =>
|
|
48
|
-
node: () =>
|
|
47
|
+
layer: () => layer16,
|
|
48
|
+
node: () => node38,
|
|
49
49
|
outputLimit: () => outputLimit2,
|
|
50
50
|
unsupportedParts: () => unsupportedParts2
|
|
51
51
|
});
|
|
@@ -83,7 +83,7 @@ var baseTranscript2 = (input) => {
|
|
|
83
83
|
return {
|
|
84
84
|
providerMetadataKey,
|
|
85
85
|
system: [
|
|
86
|
-
input.agent.system ? input.agent.system :
|
|
86
|
+
input.agent.system ? input.agent.system : make15(input.tools.definitions.map((tool) => tool.name)),
|
|
87
87
|
input.initial
|
|
88
88
|
].filter((part) => part.length > 0).map(SystemPart.make),
|
|
89
89
|
messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
|
|
@@ -156,11 +156,11 @@ var boundImages2 = (messages) => {
|
|
|
156
156
|
});
|
|
157
157
|
};
|
|
158
158
|
|
|
159
|
-
class
|
|
159
|
+
class Service35 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
160
160
|
}
|
|
161
|
-
var
|
|
162
|
-
const hooks = yield*
|
|
163
|
-
const transport = yield*
|
|
161
|
+
var layer16 = Layer.effect(Service35, Effect.gen(function* () {
|
|
162
|
+
const hooks = yield* Service80;
|
|
163
|
+
const transport = yield* Service36;
|
|
164
164
|
const app = yield* Metadata2;
|
|
165
165
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
166
166
|
const session = input.session;
|
|
@@ -265,17 +265,17 @@ var layer14 = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
265
265
|
};
|
|
266
266
|
});
|
|
267
267
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
268
|
-
return
|
|
268
|
+
return Service35.of({
|
|
269
269
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
270
270
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
271
271
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
272
272
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
273
273
|
});
|
|
274
274
|
}));
|
|
275
|
-
var
|
|
276
|
-
service:
|
|
277
|
-
layer:
|
|
278
|
-
deps: [
|
|
275
|
+
var node38 = makeLocationNode({
|
|
276
|
+
service: Service35,
|
|
277
|
+
layer: layer16,
|
|
278
|
+
deps: [node84, node39, node52]
|
|
279
279
|
});
|
|
280
280
|
|
|
281
|
-
export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2,
|
|
281
|
+
export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2, Service35, layer16, node38, exports_model_request };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
policy3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-fcy631f0.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionEvent2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-ec1grn59.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/retry.ts
|
|
12
12
|
var exports_retry = {};
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-66etgr7v.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service46
|
|
6
|
+
} from "./pty-909p1r3q.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-9sh4wc5j.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-h9wp8z5w.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./pty-brpn0yq7.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./pty-fkbnvjhs.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service28
|
|
21
|
+
} from "./pty-332j5t5e.js";
|
|
22
22
|
import {
|
|
23
23
|
retry2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./pty-fcy631f0.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./pty-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/session/generate.ts
|
|
30
30
|
var exports_generate2 = {};
|
|
@@ -35,12 +35,12 @@ __export(exports_generate2, {
|
|
|
35
35
|
import { LLMClient, Message } from "@opencode/ai";
|
|
36
36
|
import { Effect } from "effect";
|
|
37
37
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
38
|
-
const instances = yield*
|
|
38
|
+
const instances = yield* Service46;
|
|
39
39
|
const database = yield* Service86;
|
|
40
40
|
const llm = yield* LLMClient.Service;
|
|
41
41
|
return yield* Effect.gen(function* () {
|
|
42
42
|
yield* awaitActivation2;
|
|
43
|
-
const context = yield*
|
|
43
|
+
const context = yield* Service28;
|
|
44
44
|
const selection = yield* context.select(input.session.id);
|
|
45
45
|
const model = yield* context.resolveModel(selection.session);
|
|
46
46
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service67
|
|
3
|
+
} from "./pty-sa09w3ef.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service42
|
|
6
|
+
} from "./pty-3b9qt4hj.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin46
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin46 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service67;
|
|
26
|
+
const image = yield* Service42;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin32 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin46, exports_image };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-mxvxcxwy.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-jgvqkc2b.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event18
|
|
10
|
+
} from "./pty-yfzaheh6.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID11,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./pty-ysa5gsqv.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID10,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service70
|
|
20
|
+
} from "./pty-cf5e3918.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID9
|
|
23
|
+
} from "./pty-80xcpyq8.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
load3,
|
|
26
|
+
derive3
|
|
27
|
+
} from "./pty-5w01hbp6.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./pty-fhh11s5w.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID8
|
|
33
|
+
} from "./pty-q62wak94.js";
|
|
34
34
|
import {
|
|
35
35
|
get5
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./pty-54ma36ye.js";
|
|
37
37
|
|
|
38
38
|
// src/plugin/provider/github-copilot.ts
|
|
39
39
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -65,7 +65,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
65
65
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
66
66
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
67
67
|
var oauth = (app) => ({
|
|
68
|
-
integrationID:
|
|
68
|
+
integrationID: ID11.make("github-copilot"),
|
|
69
69
|
method: {
|
|
70
70
|
id: methodID,
|
|
71
71
|
type: "oauth",
|
|
@@ -163,7 +163,7 @@ var oauth = (app) => ({
|
|
|
163
163
|
var GithubCopilotPlugin2 = define({
|
|
164
164
|
id: "opencode.provider.github.copilot",
|
|
165
165
|
effect: Effect.fn(function* (ctx) {
|
|
166
|
-
const providers = yield*
|
|
166
|
+
const providers = yield* Service70;
|
|
167
167
|
const bus = yield* Service85;
|
|
168
168
|
const loading = Semaphore.makeUnsafe(1);
|
|
169
169
|
const loaded = {};
|
|
@@ -180,9 +180,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
180
180
|
return;
|
|
181
181
|
}
|
|
182
182
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
183
|
-
const provider = yield* providers.get(
|
|
183
|
+
const provider = yield* providers.get(ID10.githubCopilot);
|
|
184
184
|
const remote = yield* Effect.tryPromise({
|
|
185
|
-
try: () =>
|
|
185
|
+
try: () => load3(url, {
|
|
186
186
|
...provider?.headers,
|
|
187
187
|
Authorization: `Bearer ${credential.refresh}`,
|
|
188
188
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -202,13 +202,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
202
202
|
editor.method.update(oauth(ctx.app));
|
|
203
203
|
});
|
|
204
204
|
yield* ctx.provider.transform((evt) => {
|
|
205
|
-
const item = evt.get(
|
|
205
|
+
const item = evt.get(ID10.githubCopilot);
|
|
206
206
|
if (!item)
|
|
207
207
|
return;
|
|
208
208
|
if (loaded.models) {
|
|
209
209
|
evt.add({
|
|
210
210
|
info: item.provider,
|
|
211
|
-
models: Array.from(
|
|
211
|
+
models: Array.from(derive3(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
|
|
212
212
|
sourceConnection: loaded.connection
|
|
213
213
|
});
|
|
214
214
|
return;
|
|
@@ -230,17 +230,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
230
230
|
}
|
|
231
231
|
});
|
|
232
232
|
yield* ctx.model.transform((models) => {
|
|
233
|
-
if (models.get(
|
|
234
|
-
models.update(
|
|
233
|
+
if (models.get(ID10.githubCopilot, ID9.make("gpt-5-chat-latest"))) {
|
|
234
|
+
models.update(ID10.githubCopilot, ID9.make("gpt-5-chat-latest"), (model) => {
|
|
235
235
|
model.enabled = false;
|
|
236
236
|
});
|
|
237
237
|
}
|
|
238
238
|
});
|
|
239
239
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
240
|
-
yield* bus.subscribe(
|
|
240
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID11.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
241
241
|
yield* refresh().pipe(Effect.forkScoped);
|
|
242
242
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
243
|
-
if (evt.model.providerID !==
|
|
243
|
+
if (evt.model.providerID !== ID10.githubCopilot)
|
|
244
244
|
return;
|
|
245
245
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
246
246
|
return;
|
|
@@ -249,7 +249,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
249
249
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
250
250
|
}));
|
|
251
251
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
252
|
-
if (evt.model.providerID !==
|
|
252
|
+
if (evt.model.providerID !== ID10.githubCopilot)
|
|
253
253
|
return;
|
|
254
254
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
255
255
|
return;
|
|
@@ -259,13 +259,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
259
259
|
evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
|
|
260
260
|
if (interaction !== "conversation-agent")
|
|
261
261
|
evt.headers["x-initiator"] = "agent";
|
|
262
|
-
}), { providerID:
|
|
262
|
+
}), { providerID: ID10.githubCopilot });
|
|
263
263
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
264
|
-
if (evt.model.providerID !==
|
|
264
|
+
if (evt.model.providerID !== ID10.githubCopilot)
|
|
265
265
|
return;
|
|
266
266
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
267
267
|
return;
|
|
268
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
268
|
+
const agent = yield* ctx.agent.get({ agentID: ID8.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
269
269
|
return;
|
|
270
270
|
}));
|
|
271
271
|
if (agent?.data.model)
|
|
@@ -276,9 +276,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
276
276
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
277
277
|
return;
|
|
278
278
|
}));
|
|
279
|
-
}), { providerID:
|
|
279
|
+
}), { providerID: ID10.githubCopilot });
|
|
280
280
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
281
|
-
if (evt.model.providerID !==
|
|
281
|
+
if (evt.model.providerID !== ID10.githubCopilot)
|
|
282
282
|
return;
|
|
283
283
|
const token = evt.request.headers.get("x-api-key");
|
|
284
284
|
if (!token)
|
|
@@ -286,9 +286,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
286
286
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
287
287
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
288
288
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
289
|
-
}), { providerID:
|
|
289
|
+
}), { providerID: ID10.githubCopilot });
|
|
290
290
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
291
|
-
if (evt.model.providerID !==
|
|
291
|
+
if (evt.model.providerID !== ID10.githubCopilot)
|
|
292
292
|
return;
|
|
293
293
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
294
294
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-kqv3x6rj.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info17
|
|
9
|
+
} from "./pty-967benbv.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info14
|
|
12
|
+
} from "./pty-qa3qhgw8.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info16
|
|
15
|
+
} from "./pty-6yz0wx8n.js";
|
|
16
16
|
import {
|
|
17
17
|
Spec2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./pty-7dqw4kz8.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Info15
|
|
21
|
+
} from "./pty-z6c3x22d.js";
|
|
22
22
|
import {
|
|
23
23
|
normalizeAction2,
|
|
24
24
|
migrateAgent2,
|
|
@@ -28,10 +28,10 @@ import {
|
|
|
28
28
|
migrateMcp2,
|
|
29
29
|
migrateProvider2,
|
|
30
30
|
providerID2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./pty-q1r0pa81.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./pty-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/config/normalize.ts
|
|
37
37
|
var exports_normalize = {};
|
|
@@ -98,12 +98,12 @@ function normalize2(input) {
|
|
|
98
98
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
99
99
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
100
100
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
101
|
-
const legacyCommands = decodeMap(input.command,
|
|
101
|
+
const legacyCommands = decodeMap(input.command, Info14, ["command"], diagnostics, decodeValue);
|
|
102
102
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
103
103
|
const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
|
|
104
104
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
105
105
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
106
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
106
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info17, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
107
107
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
108
108
|
const migratedSmallModel = modelSelection2(legacySmallModel);
|
|
109
109
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -117,7 +117,7 @@ function normalize2(input) {
|
|
|
117
117
|
model: migratedSmallModel,
|
|
118
118
|
...legacyAgents.title
|
|
119
119
|
};
|
|
120
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
120
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info17, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
121
121
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
122
122
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
123
123
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -219,7 +219,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
219
219
|
normalizeMcpTimeout(typeof value === "number" ? migrateMcpTimeout2(value) : value, timeout, path, diagnostics);
|
|
220
220
|
return;
|
|
221
221
|
}
|
|
222
|
-
const server = decodeValue(
|
|
222
|
+
const server = decodeValue(Info16, value, path, diagnostics);
|
|
223
223
|
if (server !== undefined)
|
|
224
224
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
225
225
|
});
|
|
@@ -425,7 +425,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
425
425
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
426
426
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
427
427
|
return [];
|
|
428
|
-
const provider = decodeValue(
|
|
428
|
+
const provider = decodeValue(Info15, raw, path, diagnostics);
|
|
429
429
|
if (provider === undefined)
|
|
430
430
|
return [];
|
|
431
431
|
const destination = providerID2(name);
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./pty-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_TOTAL_PATCH_BYTES2,
|
|
10
10
|
emptyPatch2,
|
|
11
11
|
chunksByFile2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-tazgh4e4.js";
|
|
13
13
|
import {
|
|
14
14
|
gitExecutable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./pty-ef5x83kb.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./pty-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/git.ts
|
|
21
21
|
var exports_git3 = {};
|
|
@@ -23,11 +23,11 @@ __export(exports_git3, {
|
|
|
23
23
|
Git: () => exports_git3,
|
|
24
24
|
OperationError: () => OperationError3,
|
|
25
25
|
Repository: () => Repository2,
|
|
26
|
-
Service: () =>
|
|
26
|
+
Service: () => Service84,
|
|
27
27
|
TreeID: () => TreeID2,
|
|
28
28
|
Worktree: () => Worktree2,
|
|
29
29
|
WorktreeError: () => WorktreeError2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node88
|
|
31
31
|
});
|
|
32
32
|
import path from "path";
|
|
33
33
|
import { Cause, Context, Effect, Exit, Layer, Option, Schedule, Schema } from "effect";
|
|
@@ -100,9 +100,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
|
|
|
100
100
|
}) {
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
-
class
|
|
103
|
+
class Service84 extends Context.Service()("@opencode/Git") {
|
|
104
104
|
}
|
|
105
|
-
var layer = Layer.effect(
|
|
105
|
+
var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
106
106
|
const fs = yield* FSUtil.Service;
|
|
107
107
|
const proc = yield* AppProcess.Service;
|
|
108
108
|
const locks = makeUnsafe2();
|
|
@@ -722,7 +722,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
722
722
|
kind: index === 0 ? "main" : "linked"
|
|
723
723
|
}));
|
|
724
724
|
});
|
|
725
|
-
return
|
|
725
|
+
return Service84.of({
|
|
726
726
|
repo: { discover, clone, create },
|
|
727
727
|
remote: { get: remote },
|
|
728
728
|
history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
|
|
@@ -739,7 +739,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
739
739
|
objects: { pack: packObjects }
|
|
740
740
|
});
|
|
741
741
|
}));
|
|
742
|
-
var
|
|
742
|
+
var node88 = makeGlobalNode({ service: Service84, layer, deps: [FSUtil.node, AppProcess.node] });
|
|
743
743
|
function run(cwd, proc, args) {
|
|
744
744
|
return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
|
|
745
745
|
}
|
|
@@ -806,4 +806,4 @@ function resolvePath(cwd, value) {
|
|
|
806
806
|
return path.resolve(cwd, normalized);
|
|
807
807
|
}
|
|
808
808
|
|
|
809
|
-
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2,
|
|
809
|
+
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service84, node88, exports_git3 };
|