@opencode/core 0.0.0-dev-21176 → 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/{variant-0tm86nq6.js → pty-072y95tq.js} +7 -7
- package/dist/chunks/{variant-vbysqr17.js → pty-0dcab6yb.js} +12 -12
- package/dist/chunks/{variant-755d9eqq.js → pty-0gva8j83.js} +2 -2
- package/dist/chunks/{variant-5jvdcdbe.js → pty-0s4jjkv3.js} +24 -24
- package/dist/chunks/{variant-vste0f9s.js → pty-0ss45e0g.js} +15 -15
- package/dist/chunks/{variant-0vbcp93d.js → pty-0vbcp93d.js} +2 -2
- package/dist/chunks/{variant-kq4w7yff.js → pty-0xndvgp0.js} +8 -8
- package/dist/chunks/{variant-6tw77w91.js → pty-14wynrn6.js} +36 -36
- package/dist/chunks/{variant-ndk58h8z.js → pty-1bqj5c5m.js} +13 -13
- package/dist/chunks/{variant-5fmj7ta4.js → pty-1cy1fvz2.js} +21 -21
- package/dist/chunks/{variant-bzeyqsqd.js → pty-1ep4rre3.js} +4 -4
- package/dist/chunks/{variant-dy42zcpp.js → pty-1fde4gmb.js} +3 -3
- package/dist/chunks/{variant-h3j7tw64.js → pty-1gwhweqv.js} +16 -16
- package/dist/chunks/{variant-w98xyk9k.js → pty-1kmnnw2n.js} +43 -43
- package/dist/chunks/{variant-npnc5hq3.js → pty-1qawy49j.js} +14 -14
- package/dist/chunks/{variant-gzgdncdj.js → pty-1ycz83fm.js} +18 -18
- package/dist/chunks/{variant-a2qe2ev9.js → pty-2ktf0ed2.js} +8 -8
- package/dist/chunks/{variant-5epw05xb.js → pty-2wak32hr.js} +86 -86
- package/dist/chunks/{variant-zewbgjb2.js → pty-2yf9htnm.js} +2 -2
- package/dist/chunks/{variant-9wggzhwd.js → pty-332j5t5e.js} +77 -77
- package/dist/chunks/{variant-qve0vfwn.js → pty-35ddvwna.js} +4 -4
- package/dist/chunks/{variant-s375a249.js → pty-37sfe3bm.js} +13 -13
- package/dist/chunks/{variant-dzw83ac5.js → pty-3b9qt4hj.js} +9 -9
- package/dist/chunks/{variant-jrx5985g.js → pty-3cxe0ccz.js} +32 -32
- package/dist/chunks/{variant-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{variant-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{variant-3hwn7j4h.js → pty-3hwn7j4h.js} +2 -2
- package/dist/chunks/{variant-dxzrtcw7.js → pty-3s2wwjdv.js} +4 -4
- package/dist/chunks/{variant-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{variant-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{variant-86vxb3sx.js → pty-3zk10d63.js} +14 -14
- package/dist/chunks/{variant-3zsf4n22.js → pty-3zsf4n22.js} +1 -1
- package/dist/chunks/{variant-vwe4kmr6.js → pty-409dx5e0.js} +11 -11
- package/dist/chunks/{variant-je3ncztn.js → pty-4esk8sqt.js} +13 -13
- package/dist/chunks/{variant-xazgbj1z.js → pty-4fnc5vpd.js} +16 -16
- package/dist/chunks/{variant-jygkwv30.js → pty-4g4s6x68.js} +17 -17
- package/dist/chunks/{variant-8rhc360h.js → pty-4z5pf2em.js} +15 -15
- package/dist/chunks/{variant-54ma36ye.js → pty-54ma36ye.js} +1 -1
- package/dist/chunks/{variant-hnsqakx3.js → pty-58h69jjx.js} +15 -15
- package/dist/chunks/{variant-ynh10gny.js → pty-58hng72m.js} +5 -5
- package/dist/chunks/{variant-5m9w47nd.js → pty-5m9w47nd.js} +1 -1
- package/dist/chunks/{variant-rk8bth6d.js → pty-5w01hbp6.js} +11 -11
- package/dist/chunks/{variant-phstrbs2.js → pty-5xtgfte3.js} +8 -8
- package/dist/chunks/{variant-77pc7aym.js → pty-628d53px.js} +25 -25
- package/dist/chunks/{variant-8kyvgn7h.js → pty-65wgkzmg.js} +3 -3
- package/dist/chunks/{variant-e81pay9y.js → pty-66etgr7v.js} +3 -3
- package/dist/chunks/{variant-v5gx96xa.js → pty-67ajme4p.js} +7 -7
- package/dist/chunks/{variant-6827pfxn.js → pty-6827pfxn.js} +1 -1
- package/dist/chunks/{variant-zsp4bc1b.js → pty-68tnz3e8.js} +11 -11
- package/dist/chunks/{variant-3hfvw01m.js → pty-69nb7mte.js} +11 -11
- package/dist/chunks/{variant-cbhr45qc.js → pty-6afr2rje.js} +13 -13
- package/dist/chunks/{variant-1trmznht.js → pty-6cywv53g.js} +7 -7
- package/dist/chunks/{variant-w6sjmjwz.js → pty-6q74b9t9.js} +20 -20
- package/dist/chunks/{variant-6xb47vfp.js → pty-6xb47vfp.js} +1 -1
- package/dist/chunks/{variant-rrj8saf7.js → pty-6yvmd6g0.js} +5 -5
- package/dist/chunks/{variant-g6yfr6ja.js → pty-6yz0wx8n.js} +5 -5
- package/dist/chunks/{variant-txz88p3m.js → pty-72b35rd4.js} +16 -16
- package/dist/chunks/{variant-775gj3j1.js → pty-775gj3j1.js} +2 -2
- package/dist/chunks/{variant-dk66jcm6.js → pty-7a63cxzq.js} +20 -20
- package/dist/chunks/{variant-s6wmg1yx.js → pty-7baah2nz.js} +5 -5
- package/dist/chunks/{variant-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{variant-rp03b2v5.js → pty-7dks1d1n.js} +6 -6
- package/dist/chunks/{variant-qgn6gcr1.js → pty-7dqw4kz8.js} +5 -5
- package/dist/chunks/{variant-xcp33tng.js → pty-7k3t91vn.js} +12 -12
- package/dist/chunks/{variant-kwd6154r.js → pty-7k8jbme7.js} +34 -34
- package/dist/chunks/{variant-h0vknvkg.js → pty-7ppyhzjx.js} +8 -8
- package/dist/chunks/{variant-8ndt9d3t.js → pty-7y4pe9zb.js} +23 -23
- package/dist/chunks/{variant-hmf53ygj.js → pty-80xcpyq8.js} +24 -24
- package/dist/chunks/{variant-sb8kphm5.js → pty-81y4a27x.js} +39 -39
- package/dist/chunks/{variant-gxwgwve4.js → pty-835y3cmd.js} +25 -25
- package/dist/chunks/{variant-s8kn2x8c.js → pty-83gy3yq2.js} +19 -19
- package/dist/chunks/{variant-84txncab.js → pty-84txncab.js} +1 -1
- package/dist/chunks/{variant-c7aydyf0.js → pty-88sqq7ae.js} +34 -34
- package/dist/chunks/{variant-8m6m0r52.js → pty-8m6m0r52.js} +1 -1
- package/dist/chunks/{variant-btfhnvjh.js → pty-8whp40kv.js} +2 -2
- package/dist/chunks/{variant-pcp44bm4.js → pty-8ww2gede.js} +6 -6
- package/dist/chunks/{variant-4mwpykj0.js → pty-909p1r3q.js} +6 -6
- package/dist/chunks/{variant-91qna3x0.js → pty-91qna3x0.js} +3 -3
- package/dist/chunks/{variant-aje92c6g.js → pty-94204gn9.js} +11 -11
- package/dist/chunks/{variant-n61013np.js → pty-967benbv.js} +11 -11
- package/dist/chunks/{variant-9a249s8k.js → pty-97s3qq9m.js} +14 -14
- package/dist/chunks/{variant-8eq3291x.js → pty-9m6qkdem.js} +25 -25
- package/dist/chunks/pty-9sh4wc5j.js +18 -0
- package/dist/chunks/{variant-4ahkyf94.js → pty-9xagcj41.js} +21 -21
- package/dist/chunks/{variant-2x94txpx.js → pty-a0bbkc97.js} +322 -322
- package/dist/chunks/{variant-dky2mvnp.js → pty-a0r78awy.js} +10 -10
- package/dist/chunks/{variant-ax7wezry.js → pty-a7a43a3w.js} +25 -25
- package/dist/chunks/{variant-wqb8epsc.js → pty-amwms54f.js} +13 -13
- package/dist/chunks/{variant-5xn2s2y6.js → pty-apzkc9dc.js} +1 -1
- package/dist/chunks/{variant-a5h0t34w.js → pty-aqrjem7b.js} +17 -17
- package/dist/chunks/{variant-hv8trv8t.js → pty-aw5400a1.js} +9 -9
- package/dist/chunks/{variant-qnjf4cxx.js → pty-awrjh9yh.js} +5 -5
- package/dist/chunks/{variant-d6gyv2zn.js → pty-axj4d8xa.js} +29 -29
- package/dist/chunks/{variant-da4mxm4z.js → pty-b0jp0bej.js} +25 -25
- package/dist/chunks/{variant-wfwdvame.js → pty-b2n2c3pj.js} +14 -14
- package/dist/chunks/{variant-skerjvek.js → pty-b5k0m31y.js} +5 -5
- package/dist/chunks/{variant-80z0vyq9.js → pty-bacj9t34.js} +9 -9
- package/dist/chunks/{variant-mfrqb4hk.js → pty-bd0ch2rs.js} +16 -16
- package/dist/chunks/{variant-1ch5ceza.js → pty-bdcde2ps.js} +9 -9
- package/dist/chunks/{variant-39m7k5ja.js → pty-bfabrp63.js} +7 -7
- package/dist/chunks/{variant-ywt8jp22.js → pty-bjx1sjef.js} +9 -9
- package/dist/chunks/{variant-ts8pmwjm.js → pty-brpn0yq7.js} +11 -11
- package/dist/chunks/{variant-es1vcfrp.js → pty-c1fqxshp.js} +3 -3
- package/dist/chunks/{variant-4shtx8xv.js → pty-c23c3mz0.js} +24 -24
- package/dist/chunks/{variant-rd19d09e.js → pty-c29rd6g0.js} +5 -5
- package/dist/chunks/{variant-wc02s9yn.js → pty-c2qwrsdn.js} +12 -12
- package/dist/chunks/{variant-814d0nh1.js → pty-cansen50.js} +8 -8
- package/dist/chunks/{variant-ce26274z.js → pty-cf5e3918.js} +29 -29
- package/dist/chunks/{variant-t86fkjrn.js → pty-cvftb236.js} +41 -41
- package/dist/chunks/{variant-8gebk434.js → pty-d0epqsfp.js} +49 -49
- package/dist/chunks/{variant-mrtxs28p.js → pty-d0we51xq.js} +4 -4
- package/dist/chunks/{variant-d1a28jh7.js → pty-d1a28jh7.js} +2 -2
- package/dist/chunks/{variant-t69yyt7n.js → pty-d9vhn3nc.js} +10 -10
- package/dist/chunks/pty-dexk7st3.js +26 -0
- package/dist/chunks/{variant-bjfzzc5s.js → pty-deyktbey.js} +11 -11
- package/dist/chunks/{variant-g6q9qykm.js → pty-djszqvmq.js} +9 -9
- package/dist/chunks/{variant-bfxnahs9.js → pty-e0qr5ad7.js} +25 -25
- package/dist/chunks/{variant-x82e3n7x.js → pty-e2f4d7w4.js} +20 -20
- package/dist/chunks/{variant-5qd3pb7m.js → pty-e3qxr5gk.js} +2 -2
- package/dist/chunks/{variant-vtqn14gq.js → pty-e5dabrwz.js} +10 -10
- package/dist/chunks/{variant-sxcaecc0.js → pty-e80seqcp.js} +3 -3
- package/dist/chunks/{variant-eej6y6fw.js → pty-eej6y6fw.js} +2 -2
- package/dist/chunks/{variant-ef5x83kb.js → pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{variant-2zfs5392.js → pty-efs6wv9h.js} +22 -22
- package/dist/chunks/{variant-1zp4z7qa.js → pty-eqhzy62x.js} +15 -15
- package/dist/chunks/{variant-p102tpkp.js → pty-fce1ctzp.js} +33 -33
- package/dist/chunks/{variant-fcy631f0.js → pty-fcy631f0.js} +1 -1
- package/dist/chunks/{variant-g0knnnvb.js → pty-fhh11s5w.js} +11 -11
- package/dist/chunks/{variant-hzmbbkvz.js → pty-fkbnvjhs.js} +33 -33
- package/dist/chunks/{variant-dq407baf.js → pty-fn9t717r.js} +6 -6
- package/dist/chunks/{variant-h07937sj.js → pty-fncnja3r.js} +17 -17
- package/dist/chunks/{variant-0gdhy7gs.js → pty-frxe1693.js} +11 -11
- package/dist/chunks/{variant-g42k3yx8.js → pty-fwkr8rng.js} +31 -31
- package/dist/chunks/{variant-xcnx8s4x.js → pty-g049fyg0.js} +18 -18
- package/dist/chunks/{variant-a99sy4q1.js → pty-g72yd4k4.js} +5 -5
- package/dist/chunks/{variant-4w4z2t1w.js → pty-gd41frsq.js} +14 -14
- package/dist/chunks/{variant-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{variant-6br1b9vz.js → pty-gfwb8sf1.js} +22 -22
- package/dist/chunks/{variant-pbp0m9hy.js → pty-ggbzsg95.js} +32 -32
- package/dist/chunks/{variant-p10qf8gn.js → pty-gv7bhpe8.js} +11 -11
- package/dist/chunks/{variant-5skg1say.js → pty-h2tq07ke.js} +11 -11
- package/dist/chunks/{variant-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{variant-jvb9xte8.js → pty-h71w788e.js} +9 -9
- package/dist/chunks/pty-h75fbyn9.js +257 -0
- package/dist/chunks/{variant-a97kj8b3.js → pty-h7nv9fm5.js} +13 -13
- package/dist/chunks/{variant-4j4tgtq5.js → pty-h9wp8z5w.js} +4 -4
- package/dist/chunks/{variant-mwn3kz1y.js → pty-hbazd458.js} +24 -24
- package/dist/chunks/{variant-t95r54st.js → pty-hfbyhya8.js} +10 -10
- package/dist/chunks/{variant-vp263n6k.js → pty-hfeceh65.js} +30 -30
- package/dist/chunks/{variant-n91cq9nb.js → pty-hghq5j4z.js} +5 -5
- package/dist/chunks/{variant-fkgrsjec.js → pty-hgpdn4cj.js} +11 -11
- package/dist/chunks/{variant-hgz4x7wa.js → pty-hgz4x7wa.js} +1 -1
- package/dist/chunks/{variant-erv565xg.js → pty-hj273wnv.js} +1 -1
- package/dist/chunks/{variant-1w2wqhfv.js → pty-hq3c8me3.js} +4 -4
- package/dist/chunks/{variant-jj71mszr.js → pty-hr141zjg.js} +11 -11
- package/dist/chunks/{variant-kxbqcyhs.js → pty-hst5n1cs.js} +15 -15
- package/dist/chunks/{variant-hyc6nb5f.js → pty-hzaj131z.js} +18 -18
- package/dist/chunks/{variant-qscxgnxz.js → pty-jd7jt2a4.js} +9 -9
- package/dist/chunks/{variant-gj86fx9c.js → pty-jeqqnt0n.js} +172 -172
- package/dist/chunks/{variant-8zkgpeg7.js → pty-jgvqkc2b.js} +4 -4
- package/dist/chunks/{variant-hdzzamp5.js → pty-jkg51xq8.js} +24 -24
- package/dist/chunks/{variant-j15f634k.js → pty-jmzfcjas.js} +36 -36
- package/dist/chunks/{variant-0frz0xt1.js → pty-jr8d78rx.js} +15 -15
- package/dist/chunks/{variant-5nrxcrff.js → pty-k2yecyca.js} +33 -33
- package/dist/chunks/{variant-bjgf8e3h.js → pty-k76gfw63.js} +6 -6
- package/dist/chunks/{variant-jn2j5c43.js → pty-k8h85fj7.js} +2 -2
- package/dist/chunks/{variant-cnx16wxb.js → pty-kj9v1f3y.js} +4 -4
- package/dist/chunks/{variant-875k33ja.js → pty-kmz0bz7s.js} +18 -18
- package/dist/chunks/{variant-97aeaand.js → pty-kqv3x6rj.js} +9 -9
- package/dist/chunks/{variant-pyg4v0b6.js → pty-kqx1b4hy.js} +4 -4
- package/dist/chunks/{variant-kwb1v3vj.js → pty-kwb1v3vj.js} +1 -1
- package/dist/chunks/{variant-7a5zdfdw.js → pty-kxx41s58.js} +27 -27
- package/dist/chunks/{variant-083yp1m0.js → pty-kzp2p6b7.js} +5 -5
- package/dist/chunks/{variant-yzxehce5.js → pty-m2nf4q9z.js} +16 -16
- package/dist/chunks/{variant-59zxysqc.js → pty-m79dkcvs.js} +6 -6
- package/dist/chunks/{variant-321f1ejv.js → pty-m997ahh4.js} +12 -12
- package/dist/chunks/{variant-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{variant-maspj1v3.js → pty-maspj1v3.js} +1 -1
- package/dist/chunks/{variant-gqtdsdt7.js → pty-mxvxcxwy.js} +4 -4
- package/dist/chunks/{variant-ehrc2hrr.js → pty-n8j0ad3c.js} +6 -6
- package/dist/chunks/{variant-046g8s2b.js → pty-n96cp4bh.js} +14 -14
- package/dist/chunks/{variant-m4t6kx0z.js → pty-njarxngx.js} +17 -17
- package/dist/chunks/{variant-pdc02abw.js → pty-nmbh15fm.js} +9 -9
- package/dist/chunks/{variant-d6rrdh68.js → pty-p1rwgv3d.js} +11 -11
- package/dist/chunks/{variant-4gbdnm18.js → pty-p2ccqsff.js} +26 -26
- package/dist/chunks/{variant-erac1yxk.js → pty-p4pkk9xt.js} +19 -19
- package/dist/chunks/{variant-kr7jy07f.js → pty-pa5kwetm.js} +30 -30
- package/dist/chunks/{variant-2a62y8q7.js → pty-phb1sbsg.js} +11 -11
- package/dist/chunks/{variant-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{variant-pknna89w.js → pty-pknna89w.js} +1 -1
- package/dist/chunks/{variant-tczk5dww.js → pty-pp87jdt4.js} +18 -18
- package/dist/chunks/{variant-z9m5qar5.js → pty-pqkvj9g1.js} +14 -14
- package/dist/chunks/{variant-6pc27hjz.js → pty-py3kkmfq.js} +6 -6
- package/dist/chunks/{variant-byaywwgc.js → pty-q1r0pa81.js} +4 -4
- package/dist/chunks/{variant-ve2mjq42.js → pty-q62wak94.js} +24 -24
- package/dist/chunks/{variant-k76krqzs.js → pty-qa3qhgw8.js} +4 -4
- package/dist/chunks/{variant-wnnvyxh9.js → pty-qcfsp7vy.js} +23 -23
- package/dist/chunks/{variant-ake6y9r0.js → pty-qfrtht0v.js} +9 -9
- package/dist/chunks/{variant-rsfafasw.js → pty-qfw355cv.js} +31 -31
- package/dist/chunks/{variant-m91gvp7t.js → pty-qh8vdwx1.js} +8 -8
- package/dist/chunks/{variant-qnc92qwc.js → pty-qnc92qwc.js} +1 -1
- package/dist/chunks/{variant-qsdy395h.js → pty-qsdy395h.js} +1 -1
- package/dist/chunks/{variant-6jk8qrvt.js → pty-qzsep9jm.js} +23 -23
- package/dist/chunks/{variant-hkbk155w.js → pty-r04b27we.js} +9 -9
- package/dist/chunks/{variant-3rtxz4nr.js → pty-r61qxybf.js} +8 -8
- package/dist/chunks/{variant-3ha9j4b5.js → pty-r84pq0rk.js} +7 -7
- package/dist/chunks/{variant-qdvnb8q8.js → pty-r8mqjg1b.js} +5 -5
- package/dist/chunks/{variant-tx25dm1j.js → pty-rbakw9sr.js} +19 -19
- package/dist/chunks/{variant-ysjrn4yj.js → pty-rbnwg7cj.js} +26 -26
- package/dist/chunks/{variant-1pbhk94w.js → pty-rcgycnpc.js} +16 -16
- package/dist/chunks/{variant-rdw6cm16.js → pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{variant-tkb22qbm.js → pty-rert0e01.js} +2 -2
- package/dist/chunks/{variant-987vp8h5.js → pty-ret9kwh0.js} +24 -24
- package/dist/chunks/{variant-eaj1djv9.js → pty-rhjbct0v.js} +8 -8
- package/dist/chunks/{variant-c41wscbt.js → pty-rj3eygr5.js} +2 -2
- package/dist/chunks/{variant-5zhj8ry3.js → pty-rnmvysgz.js} +4 -4
- package/dist/chunks/{variant-f1cc1b27.js → pty-rwkv9rtx.js} +13 -13
- package/dist/chunks/{variant-h55ev976.js → pty-s7r2tet0.js} +23 -23
- package/dist/chunks/{variant-d9wzmzc3.js → pty-s857ash9.js} +5 -5
- package/dist/chunks/{variant-77gc1d6b.js → pty-s88jxsq4.js} +20 -20
- package/dist/chunks/{variant-jm1yb898.js → pty-s8pxmgfm.js} +50 -50
- package/dist/chunks/{variant-2bpk9f3k.js → pty-sa09w3ef.js} +40 -40
- package/dist/chunks/{variant-c8ax2afj.js → pty-sa8ekw3f.js} +2 -2
- package/dist/chunks/{variant-nkvwea84.js → pty-sajpmnx7.js} +9 -9
- package/dist/chunks/{variant-y2mqe777.js → pty-sn3stvbn.js} +57 -57
- package/dist/chunks/{variant-4p4gbhws.js → pty-sq9yydtn.js} +21 -21
- package/dist/chunks/{variant-qdnm7966.js → pty-st0368v5.js} +3 -3
- package/dist/chunks/{variant-syv4x271.js → pty-syv4x271.js} +1 -1
- package/dist/chunks/{variant-hcwq51g4.js → pty-tafwdsvs.js} +3 -3
- package/dist/chunks/{variant-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{variant-tcezcvh9.js → pty-tcezcvh9.js} +1 -1
- package/dist/chunks/{variant-tdstcens.js → pty-tdstcens.js} +1 -1
- package/dist/chunks/{variant-tm0kqsz3.js → pty-tm0kqsz3.js} +1 -1
- package/dist/chunks/{variant-046wpshp.js → pty-tnmnn7e4.js} +31 -31
- package/dist/chunks/{variant-tyytaxap.js → pty-tyytaxap.js} +1 -1
- package/dist/chunks/{variant-v210v162.js → pty-v210v162.js} +2 -2
- package/dist/chunks/{variant-v7p4zvkq.js → pty-v7p4zvkq.js} +2 -2
- package/dist/chunks/{variant-xbsw244s.js → pty-v7xcn73q.js} +7 -7
- package/dist/chunks/{variant-y5rf7nzv.js → pty-v7z2bvyd.js} +4 -4
- package/dist/chunks/{variant-b3cx5dwc.js → pty-va5r0dq2.js} +6 -6
- package/dist/chunks/{variant-kkp8zx71.js → pty-vbfgae2j.js} +4 -4
- package/dist/chunks/{variant-yhmqr890.js → pty-vcqq2ea7.js} +10 -10
- package/dist/chunks/{variant-veqvce7d.js → pty-veqvce7d.js} +1 -1
- package/dist/chunks/{variant-mc9a8anj.js → pty-vgdf0v3q.js} +44 -44
- package/dist/chunks/{variant-05p7sv4b.js → pty-vqeq0fhp.js} +65 -65
- package/dist/chunks/{variant-er9v8e0b.js → pty-vqjddh0d.js} +4 -4
- package/dist/chunks/{variant-srjn715j.js → pty-vv9rr97d.js} +8 -8
- package/dist/chunks/{variant-vzs5sf6e.js → pty-vzs5sf6e.js} +1 -1
- package/dist/chunks/{variant-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{variant-4c90nbtc.js → pty-wb9rhkdy.js} +48 -48
- package/dist/chunks/{variant-wd87259q.js → pty-wd87259q.js} +1 -1
- package/dist/chunks/{variant-ejvnp2ks.js → pty-wps1s803.js} +11 -11
- package/dist/chunks/{variant-wksaar7t.js → pty-x21xsnty.js} +5 -5
- package/dist/chunks/{variant-yq5gx6k0.js → pty-x3kre6es.js} +1 -1
- package/dist/chunks/{variant-6e96tf19.js → pty-x4yz0ptf.js} +26 -26
- package/dist/chunks/{variant-drwq78ky.js → pty-xfkkasph.js} +4 -4
- package/dist/chunks/{variant-e7fj9rcp.js → pty-xhfpyqwv.js} +11 -11
- package/dist/chunks/{variant-r65fsh7z.js → pty-y14wdc3z.js} +14 -14
- package/dist/chunks/{variant-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{variant-dpkg50ah.js → pty-y71avatq.js} +4 -4
- package/dist/chunks/{variant-4zh3rk77.js → pty-y9exhfjj.js} +17 -17
- package/dist/chunks/{variant-057ebw4n.js → pty-ybqv58y2.js} +17 -17
- package/dist/chunks/{variant-ynry5ybj.js → pty-yfzaheh6.js} +18 -18
- package/dist/chunks/{variant-e26mw538.js → pty-yn45kn81.js} +43 -43
- package/dist/chunks/{variant-yp2x3t23.js → pty-yp2x3t23.js} +1 -1
- package/dist/chunks/{variant-5wx7ars0.js → pty-ypxfhh66.js} +18 -18
- package/dist/chunks/{variant-xt4njr3s.js → pty-yqc6bamn.js} +1 -1
- package/dist/chunks/{variant-70zyjq8j.js → pty-ysa5gsqv.js} +30 -30
- package/dist/chunks/{variant-40tzx1cc.js → pty-ywxwm15a.js} +37 -37
- package/dist/chunks/{variant-dtvwj1st.js → pty-z09azjc0.js} +26 -26
- package/dist/chunks/{variant-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{variant-zhy09m26.js → pty-z0scchpv.js} +19 -19
- package/dist/chunks/{variant-bx0gyb4h.js → pty-z6c3x22d.js} +5 -5
- package/dist/chunks/{variant-tq17wahx.js → pty-z8esweh3.js} +24 -24
- package/dist/chunks/{variant-y0b9s196.js → pty-zmkc6qbt.js} +6 -6
- package/dist/chunks/{variant-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{variant-zcrspsvn.js → pty-zvt5dnpc.js} +4 -4
- package/dist/chunks/{variant-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
- package/dist/chunks/{variant-2gprhkyr.js → pty-zxxshg8d.js} +13 -13
- package/dist/chunks/{variant-pssjzh93.js → pty-zysym8wc.js} +26 -26
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +208 -208
- 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 +125 -125
- 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 +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +138 -138
- 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 +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- 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 +83 -83
- 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 +219 -219
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +108 -108
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +106 -106
- package/dist/git.js +6 -6
- 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 +93 -93
- 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 +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- 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 +83 -83
- 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 +129 -129
- 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 +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +100 -100
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +86 -86
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +119 -119
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- 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 +5 -5
- 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 +117 -117
- 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 +123 -123
- 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 +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- 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 +134 -134
- 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 +125 -125
- package/dist/session/generate.js +157 -157
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- 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 +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- 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 +5 -5
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- 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 +89 -89
- 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 +157 -157
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +206 -206
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- package/dist/shell/parse.js +8 -8
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +93 -93
- 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 +130 -130
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- 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 +122 -122
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +211 -211
- 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 +16 -16
- 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 +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- 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/variant-3mxr4v0x.js +0 -257
- package/dist/chunks/variant-5gcwdx7a.js +0 -26
- package/dist/chunks/variant-dxj72tfx.js +0 -18
- /package/dist/chunks/{variant-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{variant-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{variant-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{variant-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{variant-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{variant-24dcb14g.js → pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{variant-2710q6r3.js → pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{variant-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{variant-2bv980vf.js → pty-2bv980vf.js} +0 -0
- /package/dist/chunks/{variant-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{variant-359p4xyc.js → pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{variant-3asan66x.js → pty-3asan66x.js} +0 -0
- /package/dist/chunks/{variant-3t0ybcrp.js → pty-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{variant-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{variant-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{variant-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{variant-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{variant-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{variant-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{variant-53557ph1.js → pty-53557ph1.js} +0 -0
- /package/dist/chunks/{variant-550bvhaj.js → pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{variant-6prwharc.js → pty-6prwharc.js} +0 -0
- /package/dist/chunks/{variant-6q2bdcd1.js → pty-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{variant-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{variant-7m9af43g.js → pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{variant-822emrt2.js → pty-822emrt2.js} +0 -0
- /package/dist/chunks/{variant-84wd9syh.js → pty-84wd9syh.js} +0 -0
- /package/dist/chunks/{variant-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{variant-8n3pysct.js → pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{variant-8wj87zfr.js → pty-8wj87zfr.js} +0 -0
- /package/dist/chunks/{variant-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{variant-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{variant-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{variant-af5trqkr.js → pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{variant-afrmfg78.js → pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{variant-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{variant-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{variant-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{variant-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{variant-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{variant-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{variant-d9fn303g.js → pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{variant-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{variant-dajrwvna.js → pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{variant-dap0rakb.js → pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{variant-df08tz66.js → pty-df08tz66.js} +0 -0
- /package/dist/chunks/{variant-dy18nga0.js → pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{variant-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{variant-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{variant-ec1grn59.js → pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{variant-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{variant-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{variant-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{variant-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{variant-faypxj3z.js → pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{variant-fd410y7t.js → pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{variant-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{variant-g86h250q.js → pty-g86h250q.js} +0 -0
- /package/dist/chunks/{variant-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{variant-gftt206x.js → pty-gftt206x.js} +0 -0
- /package/dist/chunks/{variant-hcxmzztb.js → pty-hcxmzztb.js} +0 -0
- /package/dist/chunks/{variant-hk9envan.js → pty-hk9envan.js} +0 -0
- /package/dist/chunks/{variant-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{variant-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{variant-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{variant-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{variant-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{variant-jze0r7bz.js → pty-jze0r7bz.js} +0 -0
- /package/dist/chunks/{variant-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{variant-m18g726c.js → pty-m18g726c.js} +0 -0
- /package/dist/chunks/{variant-mp448xyj.js → pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{variant-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{variant-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{variant-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{variant-njntx4h6.js → pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{variant-pkyv6v7h.js → pty-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{variant-pyv0edze.js → pty-pyv0edze.js} +0 -0
- /package/dist/chunks/{variant-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{variant-q74kybfr.js → pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{variant-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{variant-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{variant-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{variant-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{variant-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{variant-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{variant-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{variant-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{variant-ve7vex1e.js → pty-ve7vex1e.js} +0 -0
- /package/dist/chunks/{variant-w803qqfp.js → pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{variant-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{variant-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{variant-wjj7prxr.js → pty-wjj7prxr.js} +0 -0
- /package/dist/chunks/{variant-wtztk69x.js → pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{variant-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{variant-x61499pn.js → pty-x61499pn.js} +0 -0
- /package/dist/chunks/{variant-y44na4kk.js → pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{variant-y8f7s663.js → pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{variant-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{variant-ym463w8f.js → pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{variant-z5v4ffb3.js → pty-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{variant-z9919s4g.js → pty-z9919s4g.js} +0 -0
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service77
|
|
3
|
+
} from "./pty-9m6qkdem.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service60
|
|
6
|
+
} from "./pty-sn3stvbn.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID3,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service18
|
|
14
|
+
} from "./pty-628d53px.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./pty-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
22
|
-
Input: () =>
|
|
20
|
+
var exports_websearch = {};
|
|
21
|
+
__export(exports_websearch, {
|
|
22
|
+
Input: () => Input8,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
25
|
-
WebSearchTool: () =>
|
|
24
|
+
Plugin: () => Plugin26,
|
|
25
|
+
WebSearchTool: () => exports_websearch,
|
|
26
26
|
description: () => description5,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name8
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/http";
|
|
32
|
-
var
|
|
32
|
+
var name8 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
@@ -39,28 +39,28 @@ var httpErrors = new Map([
|
|
|
39
39
|
var description5 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input8 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID3,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin26 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service60;
|
|
53
|
+
const forms = yield* Service77;
|
|
54
|
+
const websearch = yield* Service18;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name8,
|
|
57
57
|
options: { codemode: false },
|
|
58
58
|
description: description5,
|
|
59
|
-
input:
|
|
59
|
+
input: Input8,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name8,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name8];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name8, NO_RESULTS2, description5, Input8, Plugin26, exports_websearch };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-66etgr7v.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./pty-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
Service85,
|
|
10
10
|
node89
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./pty-jgvqkc2b.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./pty-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./pty-gftt206x.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionSchema2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./pty-8whp40kv.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessageTable2,
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./pty-c1fqxshp.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./pty-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/session/inbox.ts
|
|
30
30
|
var exports_inbox = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_inbox, {
|
|
|
32
32
|
Compaction: () => Compaction2,
|
|
33
33
|
CompactionPayload: () => CompactionPayload2,
|
|
34
34
|
Delivery: () => Delivery2,
|
|
35
|
-
Info: () =>
|
|
35
|
+
Info: () => Info7,
|
|
36
36
|
Item: () => Item2,
|
|
37
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
38
38
|
Move: () => Move2,
|
|
39
39
|
MovePayload: () => MovePayload2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service45,
|
|
41
41
|
SessionInbox: () => exports_inbox,
|
|
42
42
|
Synthetic: () => Synthetic2,
|
|
43
43
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -47,10 +47,10 @@ __export(exports_inbox, {
|
|
|
47
47
|
has: () => has2,
|
|
48
48
|
layer: () => layer20,
|
|
49
49
|
list: () => list3,
|
|
50
|
-
make: () =>
|
|
50
|
+
make: () => make17,
|
|
51
51
|
moveIDs: () => moveIDs2,
|
|
52
52
|
nextPromotable: () => nextPromotable2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node47,
|
|
54
54
|
projectAdmitted: () => projectAdmitted2,
|
|
55
55
|
projectCancelled: () => projectCancelled2,
|
|
56
56
|
projectDelivered: () => projectDelivered2,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
Compaction as Compaction2,
|
|
66
66
|
CompactionPayload as CompactionPayload2,
|
|
67
67
|
Delivery as Delivery2,
|
|
68
|
-
Info as
|
|
68
|
+
Info as Info7,
|
|
69
69
|
Item as Item2,
|
|
70
70
|
Move as Move2,
|
|
71
71
|
MovePayload as MovePayload2,
|
|
@@ -151,9 +151,9 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
151
151
|
return yield* new LifecycleConflict2({ id });
|
|
152
152
|
});
|
|
153
153
|
|
|
154
|
-
class
|
|
154
|
+
class Service45 extends Context.Service()("@opencode/SessionInbox") {
|
|
155
155
|
}
|
|
156
|
-
var
|
|
156
|
+
var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
157
157
|
const database = yield* Service86;
|
|
158
158
|
const db = database.db;
|
|
159
159
|
const bus = yield* Service85;
|
|
@@ -173,7 +173,7 @@ var make15 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
173
173
|
inboxID: request.id,
|
|
174
174
|
sessionID: request.sessionID,
|
|
175
175
|
item: request.item
|
|
176
|
-
}).pipe(Effect.map((event) =>
|
|
176
|
+
}).pipe(Effect.map((event) => Info7.make({
|
|
177
177
|
id: request.id,
|
|
178
178
|
sessionID: request.sessionID,
|
|
179
179
|
time: { created: DateTime.makeUnsafe(event.created) },
|
|
@@ -227,8 +227,8 @@ var make15 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
227
227
|
queue
|
|
228
228
|
};
|
|
229
229
|
});
|
|
230
|
-
var layer20 = Layer.effect(
|
|
231
|
-
var
|
|
230
|
+
var layer20 = Layer.effect(Service45, make17());
|
|
231
|
+
var node47 = makeGlobalNode({ service: Service45, layer: layer20, deps: [node90, node89] });
|
|
232
232
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
233
233
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
234
234
|
if (message !== undefined)
|
|
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
326
326
|
return rows;
|
|
327
327
|
}));
|
|
328
328
|
|
|
329
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
329
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info7, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service45, make17, layer20, node47, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info15,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info15 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -95,4 +95,4 @@ var Info8 = Schema.Struct({
|
|
|
95
95
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
96
96
|
}).annotate({ identifier: "ProviderConfig" });
|
|
97
97
|
|
|
98
|
-
export { ModelStatus2, Model2,
|
|
98
|
+
export { ModelStatus2, Model2, Info15, exports_provider2 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service68,
|
|
3
|
+
node71
|
|
4
|
+
} from "./pty-gfwb8sf1.js";
|
|
5
5
|
import {
|
|
6
6
|
Service82,
|
|
7
7
|
node86
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./pty-2yf9htnm.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service67,
|
|
11
|
+
node70
|
|
12
|
+
} from "./pty-sa09w3ef.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./pty-zxq2ej10.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./pty-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/source.ts
|
|
22
22
|
var exports_source = {};
|
|
23
23
|
__export(exports_source, {
|
|
24
24
|
ConfigPluginSource: () => exports_source,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service13,
|
|
26
26
|
empty: () => empty2,
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
27
|
+
layer: () => layer8,
|
|
28
|
+
node: () => node15
|
|
29
29
|
});
|
|
30
30
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
31
31
|
import { Host } from "@opencode/plugin/host";
|
|
@@ -33,11 +33,11 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
33
33
|
import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
36
|
-
class
|
|
36
|
+
class Service13 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
39
|
-
const config = yield*
|
|
40
|
-
const watcher = yield*
|
|
38
|
+
var layer8 = Layer.effect(Service13, Effect.gen(function* () {
|
|
39
|
+
const config = yield* Service67;
|
|
40
|
+
const watcher = yield* Service68;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
42
|
const location = yield* Service82;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
@@ -58,7 +58,7 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
58
58
|
yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
return
|
|
61
|
+
return Service13.of({
|
|
62
62
|
operations: Effect.fn("ConfigPluginSource.operations")(function* () {
|
|
63
63
|
const entries = yield* config.entries();
|
|
64
64
|
const operations = yield* scan(fs, location, entries);
|
|
@@ -70,14 +70,14 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
70
70
|
})), Stream.fromPubSub(configuredChanges))
|
|
71
71
|
});
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node15 = makeLocationNode({
|
|
74
|
+
service: Service13,
|
|
75
|
+
layer: layer8,
|
|
76
|
+
deps: [node70, FSUtil.node, node71, node86]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
|
-
service:
|
|
80
|
-
layer: Layer.succeed(
|
|
79
|
+
service: Service13,
|
|
80
|
+
layer: Layer.succeed(Service13, Service13.of({
|
|
81
81
|
operations: () => Effect.succeed([]),
|
|
82
82
|
changes: () => Stream.never
|
|
83
83
|
})),
|
|
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
|
|
|
137
137
|
return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service13, layer8, node15, empty2, exports_source };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service70
|
|
4
|
+
} from "./pty-cf5e3918.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service67
|
|
7
|
+
} from "./pty-sa09w3ef.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
|
-
const providers = yield*
|
|
12
|
+
const providers = yield* Service70;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service67);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service44,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service44 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service44, exports_runner };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
batch2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service67
|
|
6
|
+
} from "./pty-sa09w3ef.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
Service15,
|
|
12
12
|
statements2,
|
|
13
13
|
decision2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./pty-hfbyhya8.js";
|
|
15
15
|
import {
|
|
16
16
|
observe2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./pty-qsdy395h.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./pty-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/config/plugin/policy.ts
|
|
23
23
|
var exports_policy = {};
|
|
24
24
|
__export(exports_policy, {
|
|
25
25
|
ConfigPolicyPlugin: () => exports_policy,
|
|
26
|
-
Plugin: () =>
|
|
26
|
+
Plugin: () => Plugin38
|
|
27
27
|
});
|
|
28
28
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
29
29
|
import { Effect, Stream } from "effect";
|
|
30
|
-
var
|
|
30
|
+
var Plugin38 = define({
|
|
31
31
|
id: "opencode.config.policy",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const managed = yield*
|
|
33
|
+
const config = yield* Service67;
|
|
34
|
+
const managed = yield* Service15;
|
|
35
35
|
const reload = batch2(Effect.all([ctx.provider.reload(), ctx.mcp.reload(), ctx.skill.reload()], { discard: true }));
|
|
36
36
|
const loaded = yield* observe2(config, ctx.event, reload);
|
|
37
37
|
yield* managed.changes().pipe(Stream.runForEach(() => reload), Effect.forkScoped({ startImmediately: true }));
|
|
@@ -76,4 +76,4 @@ var Plugin18 = define({
|
|
|
76
76
|
})
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
export {
|
|
79
|
+
export { Plugin38, exports_policy };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Failed2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-hgz4x7wa.js";
|
|
4
4
|
import {
|
|
5
5
|
execDefaults2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-eej6y6fw.js";
|
|
7
7
|
import {
|
|
8
8
|
Service86,
|
|
9
9
|
node90
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-66etgr7v.js";
|
|
11
11
|
import {
|
|
12
12
|
makeUnsafe2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./pty-y71avatq.js";
|
|
14
14
|
import {
|
|
15
15
|
Binding2,
|
|
16
16
|
RegistryService2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
node79
|
|
18
|
+
} from "./pty-qh8vdwx1.js";
|
|
19
19
|
import {
|
|
20
20
|
WorkspaceTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./pty-faypxj3z.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./pty-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/workspace.ts
|
|
27
27
|
var exports_workspace = {};
|
|
28
28
|
__export(exports_workspace, {
|
|
29
29
|
CreateConflict: () => CreateConflict2,
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
30
|
+
ID: () => ID13,
|
|
31
|
+
Info: () => Info24,
|
|
32
32
|
NotFound: () => NotFound2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service75,
|
|
34
34
|
Workspace: () => exports_workspace,
|
|
35
35
|
configured: () => configured10,
|
|
36
|
-
node: () =>
|
|
36
|
+
node: () => node78
|
|
37
37
|
});
|
|
38
38
|
import { Workspace } from "@opencode/schema/workspace";
|
|
39
39
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,10 +41,10 @@ import { eq } from "drizzle-orm";
|
|
|
41
41
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
42
42
|
import { systemError } from "effect/PlatformError";
|
|
43
43
|
import { make } from "effect/process/ChildProcessSpawner";
|
|
44
|
-
var
|
|
44
|
+
var ID13 = Workspace.ID;
|
|
45
45
|
|
|
46
|
-
class
|
|
47
|
-
id:
|
|
46
|
+
class Info24 extends Schema.Class("Workspace.Info")({
|
|
47
|
+
id: ID13,
|
|
48
48
|
provider: Schema.String,
|
|
49
49
|
binding: Binding2,
|
|
50
50
|
createdAt: Schema.Number,
|
|
@@ -52,24 +52,24 @@ class Info15 extends Schema.Class("Workspace.Info")({
|
|
|
52
52
|
}) {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
55
|
+
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID13 }) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
59
|
-
workspaceID:
|
|
59
|
+
workspaceID: ID13,
|
|
60
60
|
provider: Schema.String,
|
|
61
61
|
existingProvider: Schema.String
|
|
62
62
|
}) {
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service75 extends Context.Service()("@opencode/Workspace") {
|
|
66
66
|
}
|
|
67
67
|
var configured10 = (options = {}) => makeGlobalNode({
|
|
68
|
-
service:
|
|
68
|
+
service: Service75,
|
|
69
69
|
layer: layer(options),
|
|
70
|
-
deps: [node90,
|
|
70
|
+
deps: [node90, node79]
|
|
71
71
|
});
|
|
72
|
-
var layer = (options) => Layer.effect(
|
|
72
|
+
var layer = (options) => Layer.effect(Service75, Effect.gen(function* () {
|
|
73
73
|
const db = (yield* Service86).db;
|
|
74
74
|
const registry = yield* RegistryService2;
|
|
75
75
|
const lifetime = yield* Scope.Scope;
|
|
@@ -86,7 +86,7 @@ var layer = (options) => Layer.effect(Service65, Effect.gen(function* () {
|
|
|
86
86
|
return row;
|
|
87
87
|
});
|
|
88
88
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
89
|
-
const info = (row, binding) => new
|
|
89
|
+
const info = (row, binding) => new Info24({
|
|
90
90
|
id: row.id,
|
|
91
91
|
provider: row.provider,
|
|
92
92
|
binding,
|
|
@@ -164,9 +164,9 @@ var layer = (options) => Layer.effect(Service65, Effect.gen(function* () {
|
|
|
164
164
|
yield* Scope.close(connection.scope, Exit.void);
|
|
165
165
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
166
166
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
167
|
-
return
|
|
167
|
+
return Service75.of({
|
|
168
168
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
169
|
-
const workspaceID = input.id ??
|
|
169
|
+
const workspaceID = input.id ?? ID13.create();
|
|
170
170
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
171
171
|
if (existing) {
|
|
172
172
|
if (existing.provider === input.provider)
|
|
@@ -242,6 +242,6 @@ var layer = (options) => Layer.effect(Service65, Effect.gen(function* () {
|
|
|
242
242
|
})
|
|
243
243
|
});
|
|
244
244
|
}));
|
|
245
|
-
var
|
|
245
|
+
var node78 = configured10();
|
|
246
246
|
|
|
247
|
-
export {
|
|
247
|
+
export { ID13, Info24, NotFound2, CreateConflict2, Service75, configured10, node78, exports_workspace };
|
package/dist/codemode/catalog.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
render2,
|
|
3
3
|
update3,
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
} from "../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
4
|
+
make14,
|
|
5
|
+
exports_instructions4
|
|
6
|
+
} from "../chunks/pty-37sfe3bm.js";
|
|
7
|
+
import"../chunks/pty-3fc6dm20.js";
|
|
8
|
+
import"../chunks/pty-rhjbct0v.js";
|
|
9
9
|
export {
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
exports_instructions4 as CodeModeInstructions,
|
|
11
|
+
make14 as make,
|
|
12
12
|
render2 as render,
|
|
13
13
|
update3 as update
|
|
14
14
|
};
|
package/dist/codemode/tool.js
CHANGED
|
@@ -2,9 +2,9 @@ import {
|
|
|
2
2
|
create2,
|
|
3
3
|
catalog2,
|
|
4
4
|
exports_tool2
|
|
5
|
-
} from "../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
5
|
+
} from "../chunks/pty-91qna3x0.js";
|
|
6
|
+
import"../chunks/pty-syv4x271.js";
|
|
7
|
+
import"../chunks/pty-pyv0edze.js";
|
|
8
8
|
export {
|
|
9
9
|
exports_tool2 as CodeModeTool,
|
|
10
10
|
catalog2 as catalog,
|