@opencode/core 0.0.0-dev-21426 → 0.0.0-dev-21441
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 +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +7 -7
- package/dist/bus.js +75 -75
- package/dist/chunks/{config-034tev2y.js → model-034tev2y.js} +2 -2
- package/dist/chunks/{config-faecte32.js → model-08jnn3k2.js} +33 -33
- package/dist/chunks/{config-e2b9fjdx.js → model-0dhmp2yd.js} +35 -35
- package/dist/chunks/{config-20b9eb0y.js → model-0dkhwkzm.js} +13 -13
- package/dist/chunks/{config-nt0mbjfb.js → model-0kpm6ny7.js} +30 -19
- package/dist/chunks/{config-0asg5kcx.js → model-0ry3h72d.js} +32 -32
- package/dist/chunks/{config-0vbcp93d.js → model-0vbcp93d.js} +2 -2
- package/dist/chunks/{config-1j2f4qsr.js → model-0xpx2h3j.js} +8 -8
- package/dist/chunks/{config-y8ar35d9.js → model-15kwxkkw.js} +34 -34
- package/dist/chunks/{config-1ep2p91f.js → model-1ep2p91f.js} +2 -2
- package/dist/chunks/{config-pq6k2t1k.js → model-1nxqr4r9.js} +45 -45
- package/dist/chunks/{config-kjdm35cs.js → model-1pxz8ven.js} +5 -5
- package/dist/chunks/{config-g2g98bkp.js → model-1w8evpxr.js} +7 -7
- package/dist/chunks/model-1x11rq2a.js +18 -0
- package/dist/chunks/{config-fc6jq9j4.js → model-1xasrt0z.js} +17 -17
- package/dist/chunks/{config-1wsr3dh3.js → model-1xc2j506.js} +29 -29
- package/dist/chunks/{config-b4ytdsdb.js → model-2395y7e1.js} +11 -11
- package/dist/chunks/{config-7z9ajsa5.js → model-27b5n917.js} +5 -5
- package/dist/chunks/{config-52kcknyt.js → model-2akrk0qn.js} +3 -3
- package/dist/chunks/{config-52hc0txd.js → model-2amemk0s.js} +13 -13
- package/dist/chunks/{config-awrk3fb0.js → model-2dk47r97.js} +13 -13
- package/dist/chunks/{config-byhx8kym.js → model-2n2s27fs.js} +17 -17
- package/dist/chunks/{config-zp3yatdq.js → model-2vtc1qv7.js} +33 -33
- package/dist/chunks/{config-x6y6dcgj.js → model-2y6xfkhh.js} +1 -1
- package/dist/chunks/{config-8v71k0zv.js → model-2z6g8rew.js} +4 -4
- package/dist/chunks/{config-n4rnyzk2.js → model-30xa8m6v.js} +1 -1
- package/dist/chunks/{config-595xcfmx.js → model-33hq420q.js} +157 -157
- package/dist/chunks/{config-h7ev3d7m.js → model-34596wkg.js} +4 -4
- package/dist/chunks/{config-2vqdzajb.js → model-3c7a270v.js} +325 -325
- package/dist/chunks/{config-3hepkmqq.js → model-3hepkmqq.js} +1 -1
- package/dist/chunks/{config-3hwn7j4h.js → model-3hwn7j4h.js} +2 -2
- package/dist/chunks/{config-rs1m2fsr.js → model-3m9ff5cy.js} +14 -14
- package/dist/chunks/{config-4envctst.js → model-3tt614cf.js} +12 -12
- package/dist/chunks/{config-3tvqynh2.js → model-3tvqynh2.js} +1 -1
- package/dist/chunks/{config-w3jg838k.js → model-3z0hjn58.js} +9 -9
- package/dist/chunks/{config-3zsf4n22.js → model-3zsf4n22.js} +1 -1
- package/dist/chunks/{config-pw3j8gkm.js → model-4qx9rxvs.js} +11 -11
- package/dist/chunks/{config-ncf68bzz.js → model-4rqs6yce.js} +8 -8
- package/dist/chunks/{config-nwb8xr43.js → model-4tv8d2yj.js} +3 -3
- package/dist/chunks/{config-07pek4cx.js → model-4w56xpem.js} +2 -2
- package/dist/chunks/{config-b2dv2ce0.js → model-4zjt8g5w.js} +26 -26
- package/dist/chunks/{config-a6vnn6sk.js → model-53b0axgb.js} +24 -24
- package/dist/chunks/{config-54ma36ye.js → model-54ma36ye.js} +1 -1
- package/dist/chunks/{config-kn42yqxp.js → model-54x82z2x.js} +12 -12
- package/dist/chunks/{config-vm948sk0.js → model-5a9tc6z0.js} +25 -25
- package/dist/chunks/{config-9ma1f7k9.js → model-5b8v8zrf.js} +11 -11
- package/dist/chunks/{config-302tx58t.js → model-5ja1d4ns.js} +7 -7
- package/dist/chunks/{config-bepc8xst.js → model-5kyqk3pq.js} +22 -22
- package/dist/chunks/{config-5m9w47nd.js → model-5m9w47nd.js} +1 -1
- package/dist/chunks/{config-e3qxr5gk.js → model-5qd3pb7m.js} +2 -2
- package/dist/chunks/{config-x6k018ha.js → model-5vj573xy.js} +19 -19
- package/dist/chunks/{config-1bf0fc7d.js → model-5w4y226k.js} +11 -11
- package/dist/chunks/{config-6827pfxn.js → model-6827pfxn.js} +1 -1
- package/dist/chunks/{config-6gb59z7y.js → model-6ac9zck1.js} +2 -2
- package/dist/chunks/{config-6907env3.js → model-6bsfpg63.js} +32 -32
- package/dist/chunks/{config-e885zgyg.js → model-6f4br6b4.js} +15 -15
- package/dist/chunks/{config-6xb47vfp.js → model-6xb47vfp.js} +1 -1
- package/dist/chunks/{config-w0cy9m9e.js → model-6ytk35w5.js} +8 -8
- package/dist/chunks/{config-waxg8h9f.js → model-7428ym6e.js} +38 -38
- package/dist/chunks/{config-775gj3j1.js → model-775gj3j1.js} +2 -2
- package/dist/chunks/{config-pc9qwa86.js → model-77yby8k2.js} +8 -8
- package/dist/chunks/{config-7bmhse3q.js → model-7bmhse3q.js} +1 -1
- package/dist/chunks/{config-35ng7dkh.js → model-7d2a7xbs.js} +5 -5
- package/dist/chunks/{config-dhy8wzd4.js → model-7emsy3e5.js} +11 -11
- package/dist/chunks/{config-g92cw1z2.js → model-7fhvptcd.js} +10 -10
- package/dist/chunks/{config-4x3ndnvr.js → model-7rsrdkkd.js} +5 -5
- package/dist/chunks/{config-txkw7pkq.js → model-81e2q9d2.js} +6 -6
- package/dist/chunks/{config-h63x9vp7.js → model-85wqss2v.js} +23 -23
- package/dist/chunks/{config-vjyee8yk.js → model-86adn4hf.js} +19 -19
- package/dist/chunks/{config-f25fcgnf.js → model-87d4rxkd.js} +25 -25
- package/dist/chunks/{config-v3gvycs7.js → model-89bp7pxy.js} +37 -37
- package/dist/chunks/{config-tcezcvh9.js → model-89znhe33.js} +4 -4
- package/dist/chunks/{config-xcvbpcg3.js → model-8f2rgp07.js} +11 -11
- package/dist/chunks/{config-yr1dkphx.js → model-8f3yd2r3.js} +14 -14
- package/dist/chunks/{config-3v851aqh.js → model-8faye2d5.js} +3 -3
- package/dist/chunks/{config-8m6m0r52.js → model-8m6m0r52.js} +1 -1
- package/dist/chunks/{config-8mywswrd.js → model-8mywswrd.js} +1 -1
- package/dist/chunks/{config-568n7c7m.js → model-8ppdvrmr.js} +32 -32
- package/dist/chunks/{config-e55fgsma.js → model-8xb7wkp5.js} +5 -5
- package/dist/chunks/{config-snf3gk9w.js → model-8xxqt97s.js} +12 -12
- package/dist/chunks/{config-xj3qrrcf.js → model-8yj6gt86.js} +19 -19
- package/dist/chunks/{config-hhjjafxr.js → model-90vjyywb.js} +22 -22
- package/dist/chunks/{config-dv1qgsyq.js → model-9hn6k4tm.js} +4 -4
- package/dist/chunks/{config-msrd37ae.js → model-9s88q58m.js} +32 -32
- package/dist/chunks/{config-9wev2pgg.js → model-9wev2pgg.js} +1 -1
- package/dist/chunks/{config-cntk2pgp.js → model-9zh18pxw.js} +14 -14
- package/dist/chunks/{config-a20pjse5.js → model-a20pjse5.js} +3 -3
- package/dist/chunks/{config-7c4qa9ts.js → model-a3azppd8.js} +20 -20
- package/dist/chunks/{config-vv6vh0dz.js → model-am1tmpj5.js} +10 -10
- package/dist/chunks/{config-sxp0tgh5.js → model-avhh8dq0.js} +51 -51
- package/dist/chunks/{config-am1vdybj.js → model-avvce0kw.js} +4 -4
- package/dist/chunks/{config-ztk2zx25.js → model-awq6q12e.js} +16 -16
- package/dist/chunks/{config-4xe88sh8.js → model-ay72y2y9.js} +11 -11
- package/dist/chunks/{config-x661k3y3.js → model-azwe5p1w.js} +4 -4
- package/dist/chunks/{config-461nxmbv.js → model-b4nzaj04.js} +5 -5
- package/dist/chunks/{config-sx7k6tns.js → model-b58xtxx6.js} +36 -36
- package/dist/chunks/{config-feks9h3c.js → model-b66sbxdz.js} +36 -36
- package/dist/chunks/{config-gj0f7hmv.js → model-b8gd3dkx.js} +9 -9
- package/dist/chunks/{config-bjx1sjef.js → model-bjx1sjef.js} +2 -2
- package/dist/chunks/{config-7cx595n2.js → model-bmr56wjg.js} +9 -9
- package/dist/chunks/{config-crwbn2y9.js → model-bpxfg8jv.js} +24 -24
- package/dist/chunks/{config-jfy7efkq.js → model-br1q80at.js} +53 -53
- package/dist/chunks/{config-fah73bdr.js → model-brrmpkdk.js} +13 -13
- package/dist/chunks/{config-qne3fa44.js → model-bx0gyb4h.js} +5 -5
- package/dist/chunks/{config-bzeyqsqd.js → model-bzeyqsqd.js} +1 -1
- package/dist/chunks/{config-56c3x50a.js → model-c3rxg466.js} +37 -37
- package/dist/chunks/{config-dpd3efqc.js → model-c5kkdnkt.js} +21 -21
- package/dist/chunks/{config-jkter17d.js → model-c6tn7fe1.js} +24 -24
- package/dist/chunks/{config-m70sbz6t.js → model-ca7w653e.js} +4 -4
- package/dist/chunks/{config-xmcppnpw.js → model-cgbdwjd7.js} +19 -19
- package/dist/chunks/{config-zjahv0kn.js → model-cxnntska.js} +86 -86
- package/dist/chunks/{config-205njdx0.js → model-d2e8srxd.js} +20 -20
- package/dist/chunks/{config-gm3zmfrd.js → model-d8wdsj84.js} +5 -5
- package/dist/chunks/{config-jwsr2jqg.js → model-dbqzdb30.js} +7 -7
- package/dist/chunks/{config-dgzq35zb.js → model-dgzq35zb.js} +3 -3
- package/dist/chunks/{config-xp5n5vja.js → model-dp7s877j.js} +4 -4
- package/dist/chunks/{config-s018hf8z.js → model-dq6h6djq.js} +3 -3
- package/dist/chunks/{config-drwq78ky.js → model-drwq78ky.js} +1 -1
- package/dist/chunks/{config-qdsg7kg5.js → model-dsbszv0b.js} +5 -5
- package/dist/chunks/{config-gjqsfh0v.js → model-dwapqv7g.js} +22 -22
- package/dist/chunks/{config-1ar5vknn.js → model-e23enc76.js} +11 -11
- package/dist/chunks/{config-zgxkm1v3.js → model-e4w4kj9m.js} +5 -5
- package/dist/chunks/{config-e80seqcp.js → model-e80seqcp.js} +1 -1
- package/dist/chunks/{config-26fsx0a3.js → model-e9fdq14h.js} +11 -11
- package/dist/chunks/{config-ph842b28.js → model-eahhehpg.js} +4 -4
- package/dist/chunks/{config-eej6y6fw.js → model-eej6y6fw.js} +2 -2
- package/dist/chunks/{config-ef5x83kb.js → model-ef5x83kb.js} +1 -1
- package/dist/chunks/{config-w4ac3p39.js → model-ev10eca8.js} +43 -43
- package/dist/chunks/{config-8bt0p1st.js → model-exttmg6k.js} +54 -54
- package/dist/chunks/{config-mc3j0fpx.js → model-f4bf12x2.js} +37 -37
- package/dist/chunks/{config-c42rzcd8.js → model-f68rgk4v.js} +11 -11
- package/dist/chunks/{config-9n959v4g.js → model-f8ak2qw6.js} +14 -14
- package/dist/chunks/{config-chwf2abb.js → model-fa88cff1.js} +44 -44
- package/dist/chunks/{config-fcy631f0.js → model-fcy631f0.js} +1 -1
- package/dist/chunks/{config-n37c4crj.js → model-fdms3n6w.js} +9 -9
- package/dist/chunks/{config-yqtzk2wa.js → model-fh73kyk7.js} +4 -4
- package/dist/chunks/{config-vgx6weyf.js → model-fqhbsnr5.js} +8 -8
- package/dist/chunks/{config-cbtvbhw1.js → model-ftyq7w3n.js} +26 -26
- package/dist/chunks/{config-80j02cg4.js → model-gctjtgeh.js} +25 -25
- package/dist/chunks/{config-gd4qta3r.js → model-gd4qta3r.js} +1 -1
- package/dist/chunks/{config-enx3y4vw.js → model-gqpz6z8g.js} +25 -25
- package/dist/chunks/{config-hvvwjwyw.js → model-gscfk59s.js} +4 -4
- package/dist/chunks/{config-h6vf3j39.js → model-h6vf3j39.js} +1 -1
- package/dist/chunks/{config-zn2p44k5.js → model-h9snv32e.js} +25 -25
- package/dist/chunks/{config-fn9t717r.js → model-hbb7npd7.js} +3 -3
- package/dist/chunks/{config-8fchc7zc.js → model-hcmqm60a.js} +34 -34
- package/dist/chunks/{config-hgz4x7wa.js → model-hgz4x7wa.js} +1 -1
- package/dist/chunks/{config-9r5hwe0j.js → model-hwdjztbp.js} +23 -23
- package/dist/chunks/{config-j5w2yx54.js → model-j5w2yx54.js} +1 -1
- package/dist/chunks/{config-87ywznqb.js → model-jcdh4pz8.js} +5 -5
- package/dist/chunks/{config-7cxds5z9.js → model-jew53rqn.js} +192 -192
- package/dist/chunks/{config-fy1v1v3w.js → model-jgm9yn5c.js} +20 -20
- package/dist/chunks/{config-zs8bw0hs.js → model-jn9d9ctp.js} +9 -9
- package/dist/chunks/{config-feaxzjj3.js → model-jy4cskw3.js} +12 -12
- package/dist/chunks/{config-rvev36qg.js → model-k4rzk3de.js} +23 -23
- package/dist/chunks/{config-amqabej0.js → model-k5rzg22z.js} +13 -13
- package/dist/chunks/{config-ezf7jcbt.js → model-khvb0rwv.js} +29 -29
- package/dist/chunks/{config-20tcvkr4.js → model-kknjmmkb.js} +52 -52
- package/dist/chunks/{config-zfpzcwk9.js → model-ktx3g641.js} +27 -27
- package/dist/chunks/{config-kwb1v3vj.js → model-kwb1v3vj.js} +1 -1
- package/dist/chunks/{config-6favvbp3.js → model-kzfz4mgv.js} +6 -6
- package/dist/chunks/{config-20vf2h00.js → model-kzr27bp7.js} +31 -31
- package/dist/chunks/{config-dndk2997.js → model-m256j290.js} +43 -43
- package/dist/chunks/{config-v9vmdvvc.js → model-m2t04kmm.js} +48 -48
- package/dist/chunks/{config-8ntw25jb.js → model-m39x472g.js} +10 -10
- package/dist/chunks/{config-n7d88tpn.js → model-m5jcjszt.js} +3 -3
- package/dist/chunks/{config-1vmdeh7r.js → model-m5qzm2bd.js} +28 -28
- package/dist/chunks/{config-r8jbq22n.js → model-m8v7608e.js} +6 -6
- package/dist/chunks/{config-m9w0rfyh.js → model-m9w0rfyh.js} +1 -1
- package/dist/chunks/{config-maspj1v3.js → model-maspj1v3.js} +1 -1
- package/dist/chunks/{config-f1p7pa8k.js → model-mwbfd4d0.js} +23 -23
- package/dist/chunks/{config-fh9gh03y.js → model-mwez8230.js} +23 -23
- package/dist/chunks/{config-4987t165.js → model-n16tn8ct.js} +6 -6
- package/dist/chunks/{config-3bh6rbdv.js → model-n1vev70q.js} +32 -32
- package/dist/chunks/{config-pq0y0frh.js → model-n58kta93.js} +8 -8
- package/dist/chunks/{config-qtx6733w.js → model-n9xrk5dn.js} +27 -27
- package/dist/chunks/{config-epeaaket.js → model-nckr5t4x.js} +4 -4
- package/dist/chunks/{config-s5met55r.js → model-ngts6ef0.js} +8 -8
- package/dist/chunks/{config-3dhryxx4.js → model-nhf8j9q0.js} +23 -23
- package/dist/chunks/{config-wx0954d0.js → model-njf7xda2.js} +8 -8
- package/dist/chunks/{config-hq3c8me3.js → model-ny8edt06.js} +4 -4
- package/dist/chunks/{config-9pw60qma.js → model-nyz2bd3h.js} +10 -10
- package/dist/chunks/{config-nz56sr1f.js → model-nz56sr1f.js} +2 -2
- package/dist/chunks/{config-yz6198zk.js → model-p6mr1rmw.js} +32 -32
- package/dist/chunks/{config-59zfea0h.js → model-p7rtpkhv.js} +28 -28
- package/dist/chunks/{config-kw6jxsk0.js → model-pew5zx78.js} +5 -5
- package/dist/chunks/{config-2hyn57wn.js → model-phs6h013.js} +27 -27
- package/dist/chunks/{config-pjvnvgmy.js → model-pjvnvgmy.js} +1 -1
- package/dist/chunks/{config-pknna89w.js → model-pknna89w.js} +1 -1
- package/dist/chunks/{config-shj7x14z.js → model-pr0snp0j.js} +14 -14
- package/dist/chunks/{config-42deak0c.js → model-pw60dnzh.js} +9 -9
- package/dist/chunks/{config-ezd1262t.js → model-pw8bav78.js} +8 -8
- package/dist/chunks/{config-nvhwy6q6.js → model-pwfw76w7.js} +11 -11
- package/dist/chunks/{config-3dzxwfjp.js → model-py3gqn7c.js} +14 -14
- package/dist/chunks/{config-bspgb8ad.js → model-q0qyqwgx.js} +20 -20
- package/dist/chunks/{config-x94symkw.js → model-q6ad194x.js} +17 -17
- package/dist/chunks/{config-xp361r34.js → model-qb0nxf2n.js} +18 -18
- package/dist/chunks/{config-7dqw4kz8.js → model-qgn6gcr1.js} +5 -5
- package/dist/chunks/{config-349sgcxm.js → model-qkxbdw2e.js} +45 -45
- package/dist/chunks/{config-s8a7kdxx.js → model-qn4zc13r.js} +9 -9
- package/dist/chunks/{config-3pcv17pz.js → model-qrp2wwz7.js} +26 -26
- package/dist/chunks/{config-qsdy395h.js → model-qsdy395h.js} +1 -1
- package/dist/chunks/{config-9h0kmg1t.js → model-qx1ath16.js} +22 -22
- package/dist/chunks/{config-cwa6csj7.js → model-r2m716tb.js} +9 -9
- package/dist/chunks/{config-qa96c720.js → model-r7nsrefv.js} +4 -4
- package/dist/chunks/{config-phz50fbd.js → model-ra67jj04.js} +9 -9
- package/dist/chunks/{config-bmyy5mys.js → model-rcepm1f5.js} +35 -35
- package/dist/chunks/{config-nqbnnj1c.js → model-rdkdw8j4.js} +16 -16
- package/dist/chunks/{config-rdw6cm16.js → model-rdw6cm16.js} +1 -1
- package/dist/chunks/{config-nb4t1njv.js → model-rgdzsb23.js} +26 -26
- package/dist/chunks/{config-6pc27hjz.js → model-rkprpv83.js} +6 -6
- package/dist/chunks/{config-vefrakjx.js → model-rnn7w1p4.js} +7 -7
- package/dist/chunks/{config-x4m4mg1p.js → model-rrb7xk1e.js} +11 -11
- package/dist/chunks/{config-vz4s7aff.js → model-s1qgsmy4.js} +22 -22
- package/dist/chunks/{config-w90xvrpk.js → model-skg07gn4.js} +19 -19
- package/dist/chunks/{config-pcx0zree.js → model-spzr18gk.js} +10 -10
- package/dist/chunks/{config-vdac0er2.js → model-svdetgap.js} +29 -29
- package/dist/chunks/{config-syv4x271.js → model-syv4x271.js} +1 -1
- package/dist/chunks/{config-zx07qeyt.js → model-t2vetksk.js} +9 -9
- package/dist/chunks/{config-s8d7rejh.js → model-t550f9t1.js} +4 -4
- package/dist/chunks/{config-1g7epwpd.js → model-t6vsspdg.js} +4 -4
- package/dist/chunks/{config-tazgh4e4.js → model-tazgh4e4.js} +1 -1
- package/dist/chunks/{config-8hedw0ek.js → model-tbrkfg2j.js} +35 -35
- package/dist/chunks/{config-tdstcens.js → model-tdstcens.js} +1 -1
- package/dist/chunks/{config-2t62vza4.js → model-te2qnrax.js} +27 -27
- package/dist/chunks/{config-w9apwqk6.js → model-te35nyvt.js} +21 -21
- package/dist/chunks/{config-mtshcjcm.js → model-tevdrw4n.js} +12 -12
- package/dist/chunks/{config-3sfz3gfe.js → model-tg52m06j.js} +4 -4
- package/dist/chunks/{config-tm0kqsz3.js → model-tm0kqsz3.js} +1 -1
- package/dist/chunks/{config-48q2nkwy.js → model-tsspjr8t.js} +15 -15
- package/dist/chunks/{config-tyytaxap.js → model-tyytaxap.js} +1 -1
- package/dist/chunks/{config-2p600f2y.js → model-tz64kvcc.js} +15 -15
- package/dist/chunks/{config-zsj6gmjs.js → model-tzbng3th.js} +11 -11
- package/dist/chunks/{config-sr7jmsgt.js → model-v210v162.js} +7 -7
- package/dist/chunks/{config-q4ywch8c.js → model-v2naxce5.js} +17 -17
- package/dist/chunks/{config-czs8vvbs.js → model-v37eec1m.js} +8 -8
- package/dist/chunks/{config-0tqq5k4f.js → model-v7jr1a0f.js} +18 -18
- package/dist/chunks/{config-v7p4zvkq.js → model-v7p4zvkq.js} +2 -2
- package/dist/chunks/{config-h6310vsd.js → model-v7z2bvyd.js} +4 -4
- package/dist/chunks/{config-vep9yay1.js → model-vep9yay1.js} +1 -1
- package/dist/chunks/{config-veqvce7d.js → model-veqvce7d.js} +1 -1
- package/dist/chunks/{config-vzs5sf6e.js → model-vzs5sf6e.js} +1 -1
- package/dist/chunks/{config-84txncab.js → model-w1eejvng.js} +5 -5
- package/dist/chunks/{config-0pey3jm5.js → model-w234dzpk.js} +1 -1
- package/dist/chunks/{config-w3wsvvr9.js → model-w3wsvvr9.js} +1 -1
- package/dist/chunks/{config-x0ec8gbe.js → model-w77emq9p.js} +18 -18
- package/dist/chunks/{config-rn6he5ra.js → model-w8tsas1h.js} +6 -6
- package/dist/chunks/{config-wakvkjy4.js → model-wakvkjy4.js} +1 -1
- package/dist/chunks/{config-wd87259q.js → model-wd87259q.js} +1 -1
- package/dist/chunks/{config-2pq7936q.js → model-wmsy6ejg.js} +47 -47
- package/dist/chunks/{config-d5qyj1cx.js → model-wsw3qazc.js} +16 -16
- package/dist/chunks/{config-ed399rt4.js → model-wt7gg852.js} +13 -13
- package/dist/chunks/{config-e8k3m892.js → model-x9d5zs2r.js} +7 -7
- package/dist/chunks/{config-c5zzfjak.js → model-xe4x800z.js} +12 -12
- package/dist/chunks/{config-35qg6615.js → model-xftgp53z.js} +12 -12
- package/dist/chunks/{config-e7e0kxqn.js → model-xqpjqq35.js} +17 -17
- package/dist/chunks/{config-f4p4s2dp.js → model-xqwg9xjb.js} +18 -18
- package/dist/chunks/{config-xw9fg8fb.js → model-xw9fg8fb.js} +2 -2
- package/dist/chunks/{config-hf0nszqz.js → model-xx1330xd.js} +50 -50
- package/dist/chunks/{config-b4gz5vkn.js → model-xx3qrjat.js} +11 -11
- package/dist/chunks/{config-y1fvbwt7.js → model-y1fvbwt7.js} +1 -1
- package/dist/chunks/{config-dpkg50ah.js → model-y71avatq.js} +4 -4
- package/dist/chunks/{config-n5ydym07.js → model-y72932aq.js} +15 -15
- package/dist/chunks/{config-mq70b39w.js → model-y8hhzqsr.js} +20 -20
- package/dist/chunks/{config-9tcbax0s.js → model-yjnk86sx.js} +70 -70
- package/dist/chunks/{config-62xe7jwg.js → model-yk480cxy.js} +4 -4
- package/dist/chunks/{config-t8r4mfn9.js → model-yqbdvskr.js} +17 -17
- package/dist/chunks/{config-ce6zma9w.js → model-ysh87z2r.js} +80 -80
- package/dist/chunks/{config-2fnj739t.js → model-yvhtzdrt.js} +11 -11
- package/dist/chunks/{config-z0bkrqjs.js → model-z0bkrqjs.js} +1 -1
- package/dist/chunks/{config-z18fegx4.js → model-z18fegx4.js} +1 -1
- package/dist/chunks/{config-m2azh2y0.js → model-z3qwewxj.js} +23 -23
- package/dist/chunks/{config-zq3wqe3s.js → model-z6m6eyhw.js} +3 -3
- package/dist/chunks/{config-t95zrypp.js → model-z8y91tz7.js} +12 -12
- package/dist/chunks/{config-204j7sp1.js → model-z9xssfm8.js} +3 -3
- package/dist/chunks/{config-jvt300by.js → model-zbj3bdxr.js} +26 -26
- package/dist/chunks/{config-zr2ceqn5.js → model-zr2ceqn5.js} +1 -1
- package/dist/chunks/{config-w1tfqne5.js → model-ztysxpw9.js} +30 -30
- package/dist/chunks/{config-zxq2ej10.js → model-zxq2ej10.js} +1 -1
- package/dist/chunks/{config-ngz91grz.js → model-zxqf7zeg.js} +7 -7
- package/dist/chunks/{config-hfn6fzew.js → model-zye99vjm.js} +2 -2
- 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 +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 +212 -212
- 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 +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 +85 -85
- 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 +364 -364
- 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 +76 -76
- 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 +225 -225
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- 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 +1 -1
- package/dist/instance.js +357 -357
- 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 +158 -158
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- 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 +138 -138
- 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 +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +88 -88
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- 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 +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +332 -332
- 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 +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +101 -101
- 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 +97 -97
- 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 +164 -164
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +224 -224
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +164 -164
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +87 -87
- 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 +120 -120
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- 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 +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- 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 +212 -212
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +168 -168
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +220 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- 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 +135 -135
- 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 +126 -126
- package/dist/tool/plugin/opencode.js +109 -109
- 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 +215 -215
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +111 -111
- 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/types/voice.d.ts +12 -1
- 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 +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +3 -3
- 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 +98 -98
- package/package.json +8 -8
- package/dist/chunks/config-pf31ssb9.js +0 -18
- /package/dist/chunks/{config-0qkdqm5v.js → model-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{config-0zkw76rk.js → model-0zkw76rk.js} +0 -0
- /package/dist/chunks/{config-17cy0kzp.js → model-17cy0kzp.js} +0 -0
- /package/dist/chunks/{config-1cnp2v09.js → model-1cnp2v09.js} +0 -0
- /package/dist/chunks/{config-1kg9ymc8.js → model-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{config-24dcb14g.js → model-24dcb14g.js} +0 -0
- /package/dist/chunks/{config-2710q6r3.js → model-2710q6r3.js} +0 -0
- /package/dist/chunks/{config-2axfhc9x.js → model-2axfhc9x.js} +0 -0
- /package/dist/chunks/{config-2bv980vf.js → model-2bv980vf.js} +0 -0
- /package/dist/chunks/{config-2c3vjs8z.js → model-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{config-359p4xyc.js → model-359p4xyc.js} +0 -0
- /package/dist/chunks/{config-3asan66x.js → model-3asan66x.js} +0 -0
- /package/dist/chunks/{config-3t0ybcrp.js → model-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{config-3v8g72cx.js → model-3v8g72cx.js} +0 -0
- /package/dist/chunks/{config-3wcehsnq.js → model-3wcehsnq.js} +0 -0
- /package/dist/chunks/{config-43n2bw4t.js → model-43n2bw4t.js} +0 -0
- /package/dist/chunks/{config-4knz6hnm.js → model-4knz6hnm.js} +0 -0
- /package/dist/chunks/{config-4vcrnpx2.js → model-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{config-4y7fprxs.js → model-4y7fprxs.js} +0 -0
- /package/dist/chunks/{config-53557ph1.js → model-53557ph1.js} +0 -0
- /package/dist/chunks/{config-550bvhaj.js → model-550bvhaj.js} +0 -0
- /package/dist/chunks/{config-6prwharc.js → model-6prwharc.js} +0 -0
- /package/dist/chunks/{config-6q2bdcd1.js → model-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{config-7akdwqpd.js → model-7akdwqpd.js} +0 -0
- /package/dist/chunks/{config-7m9af43g.js → model-7m9af43g.js} +0 -0
- /package/dist/chunks/{config-822emrt2.js → model-822emrt2.js} +0 -0
- /package/dist/chunks/{config-84wd9syh.js → model-84wd9syh.js} +0 -0
- /package/dist/chunks/{config-88xbtdfr.js → model-88xbtdfr.js} +0 -0
- /package/dist/chunks/{config-8n3pysct.js → model-8n3pysct.js} +0 -0
- /package/dist/chunks/{config-8wj87zfr.js → model-8wj87zfr.js} +0 -0
- /package/dist/chunks/{config-9a4afbnw.js → model-9a4afbnw.js} +0 -0
- /package/dist/chunks/{config-9rqn6x4v.js → model-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{config-a6k6eb26.js → model-a6k6eb26.js} +0 -0
- /package/dist/chunks/{config-af5trqkr.js → model-af5trqkr.js} +0 -0
- /package/dist/chunks/{config-afrmfg78.js → model-afrmfg78.js} +0 -0
- /package/dist/chunks/{config-aqzs7mqg.js → model-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{config-atq7p7m5.js → model-atq7p7m5.js} +0 -0
- /package/dist/chunks/{config-bkyjaxrp.js → model-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{config-bmr6ed5q.js → model-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{config-cf4snx6d.js → model-cf4snx6d.js} +0 -0
- /package/dist/chunks/{config-cvy3z8tj.js → model-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{config-d9fn303g.js → model-d9fn303g.js} +0 -0
- /package/dist/chunks/{config-d9jj8t3e.js → model-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{config-dajrwvna.js → model-dajrwvna.js} +0 -0
- /package/dist/chunks/{config-dap0rakb.js → model-dap0rakb.js} +0 -0
- /package/dist/chunks/{config-df08tz66.js → model-df08tz66.js} +0 -0
- /package/dist/chunks/{config-dy18nga0.js → model-dy18nga0.js} +0 -0
- /package/dist/chunks/{config-e5kj55wp.js → model-e5kj55wp.js} +0 -0
- /package/dist/chunks/{config-e73j6tqm.js → model-e73j6tqm.js} +0 -0
- /package/dist/chunks/{config-ec1grn59.js → model-ec1grn59.js} +0 -0
- /package/dist/chunks/{config-eh3zwz77.js → model-eh3zwz77.js} +0 -0
- /package/dist/chunks/{config-emrn6kk6.js → model-emrn6kk6.js} +0 -0
- /package/dist/chunks/{config-f0mxakyp.js → model-f0mxakyp.js} +0 -0
- /package/dist/chunks/{config-f6n9ztr4.js → model-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{config-faypxj3z.js → model-faypxj3z.js} +0 -0
- /package/dist/chunks/{config-fd410y7t.js → model-fd410y7t.js} +0 -0
- /package/dist/chunks/{config-g4wezp1m.js → model-g4wezp1m.js} +0 -0
- /package/dist/chunks/{config-g86h250q.js → model-g86h250q.js} +0 -0
- /package/dist/chunks/{config-gebd4c9n.js → model-gebd4c9n.js} +0 -0
- /package/dist/chunks/{config-gftt206x.js → model-gftt206x.js} +0 -0
- /package/dist/chunks/{config-hcxmzztb.js → model-hcxmzztb.js} +0 -0
- /package/dist/chunks/{config-hk9envan.js → model-hk9envan.js} +0 -0
- /package/dist/chunks/{config-j2ntwpah.js → model-j2ntwpah.js} +0 -0
- /package/dist/chunks/{config-j5zkgpj8.js → model-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{config-jjkms2e6.js → model-jjkms2e6.js} +0 -0
- /package/dist/chunks/{config-jr7sbwjy.js → model-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{config-jwfs4k6c.js → model-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{config-jze0r7bz.js → model-jze0r7bz.js} +0 -0
- /package/dist/chunks/{config-jzg6c2d5.js → model-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{config-m18g726c.js → model-m18g726c.js} +0 -0
- /package/dist/chunks/{config-mp448xyj.js → model-mp448xyj.js} +0 -0
- /package/dist/chunks/{config-msx8hqn2.js → model-msx8hqn2.js} +0 -0
- /package/dist/chunks/{config-n05xt0ee.js → model-n05xt0ee.js} +0 -0
- /package/dist/chunks/{config-n3j8tn72.js → model-n3j8tn72.js} +0 -0
- /package/dist/chunks/{config-njntx4h6.js → model-njntx4h6.js} +0 -0
- /package/dist/chunks/{config-pkyv6v7h.js → model-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{config-pyv0edze.js → model-pyv0edze.js} +0 -0
- /package/dist/chunks/{config-q3sfg36h.js → model-q3sfg36h.js} +0 -0
- /package/dist/chunks/{config-q74kybfr.js → model-q74kybfr.js} +0 -0
- /package/dist/chunks/{config-qaymkmh1.js → model-qaymkmh1.js} +0 -0
- /package/dist/chunks/{config-qb87gjwd.js → model-qb87gjwd.js} +0 -0
- /package/dist/chunks/{config-qfa1cgps.js → model-qfa1cgps.js} +0 -0
- /package/dist/chunks/{config-qg3g05ea.js → model-qg3g05ea.js} +0 -0
- /package/dist/chunks/{config-qrg20bc0.js → model-qrg20bc0.js} +0 -0
- /package/dist/chunks/{config-rcb2kzg1.js → model-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{config-sdp7kfr6.js → model-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{config-ssg3fenm.js → model-ssg3fenm.js} +0 -0
- /package/dist/chunks/{config-ve7vex1e.js → model-ve7vex1e.js} +0 -0
- /package/dist/chunks/{config-w803qqfp.js → model-w803qqfp.js} +0 -0
- /package/dist/chunks/{config-wc3fc9cn.js → model-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{config-wer8tq1h.js → model-wer8tq1h.js} +0 -0
- /package/dist/chunks/{config-wjj7prxr.js → model-wjj7prxr.js} +0 -0
- /package/dist/chunks/{config-wtztk69x.js → model-wtztk69x.js} +0 -0
- /package/dist/chunks/{config-x0ckcb58.js → model-x0ckcb58.js} +0 -0
- /package/dist/chunks/{config-x61499pn.js → model-x61499pn.js} +0 -0
- /package/dist/chunks/{config-y44na4kk.js → model-y44na4kk.js} +0 -0
- /package/dist/chunks/{config-y8f7s663.js → model-y8f7s663.js} +0 -0
- /package/dist/chunks/{config-ygaqb7jw.js → model-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{config-ym463w8f.js → model-ym463w8f.js} +0 -0
- /package/dist/chunks/{config-z5v4ffb3.js → model-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{config-z9919s4g.js → model-z9919s4g.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service36
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-j5w2yx54.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-1x11rq2a.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service41
|
|
9
|
+
} from "./model-avhh8dq0.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -23,7 +23,7 @@ __export(exports_shell3, {
|
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
25
|
const instances = yield* Service36;
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service41), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-wakvkjy4.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-034tev2y.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-8m6m0r52.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
8
|
ID4,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-dwapqv7g.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-xx1330xd.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-pkyv6v7h.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID12,
|
|
3
|
+
Service65
|
|
4
|
+
} from "./model-1xc2j506.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/provider/llmgateway.ts
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
9
9
|
var LLMGatewayPlugin2 = define({
|
|
10
10
|
id: "opencode.provider.llmgateway",
|
|
11
11
|
effect: Effect.fn(function* (ctx) {
|
|
12
|
-
const integrations = yield*
|
|
12
|
+
const integrations = yield* Service65;
|
|
13
13
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
14
14
|
yield* ctx.provider.transform((evt) => {
|
|
15
15
|
for (const item of evt.list()) {
|
|
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
19
19
|
continue;
|
|
20
20
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
21
21
|
continue;
|
|
22
|
-
if (!configured.has(
|
|
22
|
+
if (!configured.has(ID12.make(item.provider.id)))
|
|
23
23
|
continue;
|
|
24
24
|
evt.update(item.provider.id, (provider) => {
|
|
25
25
|
provider.headers = {
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./model-tevdrw4n.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-exttmg6k.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
20
|
+
Event: () => Event7,
|
|
21
21
|
ID: () => ID4,
|
|
22
|
-
Info: () =>
|
|
22
|
+
Info: () => Info12,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service47,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
26
|
Source: () => Source3,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
|
-
available: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
available: () => available2,
|
|
29
|
+
node: () => node49,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -35,15 +35,15 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Context, Effect, Layer } from "effect";
|
|
37
37
|
import { Skill } from "@opencode/schema/skill";
|
|
38
|
-
import { Event as
|
|
38
|
+
import { Event as Event7 } from "@opencode/schema/skill";
|
|
39
39
|
var DirectorySource2 = Skill.DirectorySource;
|
|
40
40
|
var UrlSource2 = Skill.UrlSource;
|
|
41
41
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
42
42
|
var Source3 = Skill.Source;
|
|
43
|
-
var
|
|
43
|
+
var Info12 = Skill.Info;
|
|
44
44
|
var ID4 = Skill.ID;
|
|
45
45
|
var Name2 = Skill.Name;
|
|
46
|
-
var
|
|
46
|
+
var available2 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
|
|
47
47
|
var toModelOutput3 = (skill, files) => {
|
|
48
48
|
const directory = path.dirname(skill.path);
|
|
49
49
|
return [
|
|
@@ -78,10 +78,10 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
78
78
|
};
|
|
79
79
|
});
|
|
80
80
|
|
|
81
|
-
class
|
|
81
|
+
class Service47 extends Context.Service()("@opencode/Skill") {
|
|
82
82
|
}
|
|
83
|
-
var layer = Layer.effect(
|
|
84
|
-
const bus = yield*
|
|
83
|
+
var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
84
|
+
const bus = yield* Service82;
|
|
85
85
|
const state = create3({
|
|
86
86
|
name: "skill",
|
|
87
87
|
initial: () => ({ skills: new Map }),
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
104
104
|
}),
|
|
105
105
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service47.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -115,10 +115,10 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
115
115
|
})
|
|
116
116
|
});
|
|
117
117
|
}));
|
|
118
|
-
var
|
|
119
|
-
service:
|
|
118
|
+
var node49 = makeLocationNode({
|
|
119
|
+
service: Service47,
|
|
120
120
|
layer,
|
|
121
|
-
deps: [
|
|
121
|
+
deps: [node86]
|
|
122
122
|
});
|
|
123
123
|
|
|
124
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3,
|
|
124
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info12, ID4, Name2, available2, toModelOutput3, prepare3, Service47, node49, exports_skill5, Event7 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make19,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-t550f9t1.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize3,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-z18fegx4.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CodeModeInstructions: () =>
|
|
20
|
-
make: () =>
|
|
17
|
+
var exports_instructions4 = {};
|
|
18
|
+
__export(exports_instructions4, {
|
|
19
|
+
CodeModeInstructions: () => exports_instructions4,
|
|
20
|
+
make: () => make13,
|
|
21
21
|
render: () => render2,
|
|
22
22
|
update: () => update3
|
|
23
23
|
});
|
|
@@ -111,9 +111,9 @@ ${render2(current)}`;
|
|
|
111
111
|
}
|
|
112
112
|
var key = Key3.make("core/codemode");
|
|
113
113
|
var codec = Schema.toCodecJson(Summary2);
|
|
114
|
-
var
|
|
114
|
+
var make13 = (inventory) => {
|
|
115
115
|
const catalog = inventory === undefined ? removed2 : summarize3(inventory);
|
|
116
|
-
return
|
|
116
|
+
return make19({
|
|
117
117
|
key,
|
|
118
118
|
codec,
|
|
119
119
|
read: Effect.succeed(catalog),
|
|
@@ -125,4 +125,4 @@ var make12 = (inventory) => {
|
|
|
125
125
|
});
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export { render2, update3,
|
|
128
|
+
export { render2, update3, make13, exports_instructions4 };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-z6m6eyhw.js";
|
|
5
5
|
import {
|
|
6
6
|
CorrectedError2,
|
|
7
7
|
BlockedError2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-exttmg6k.js";
|
|
9
9
|
import {
|
|
10
10
|
AuthorizationError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-1xc2j506.js";
|
|
12
12
|
import {
|
|
13
13
|
VariantUnavailableError2,
|
|
14
14
|
UnsupportedPackageError2,
|
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
ModelInitializationError2,
|
|
17
17
|
UnresolvedProviderVariablesError2,
|
|
18
18
|
UnsupportedCompactionError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-1nxqr4r9.js";
|
|
20
20
|
import {
|
|
21
21
|
ModelNotSelectedError2,
|
|
22
22
|
ModelUnavailableError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-wt7gg852.js";
|
|
24
24
|
|
|
25
25
|
// src/session/to-session-error.ts
|
|
26
26
|
import { AIError, ToolFailure } from "@opencode/ai";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-v37eec1m.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service66
|
|
7
|
+
} from "./model-kzr27bp7.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID12,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-1xc2j506.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID11,
|
|
14
14
|
mergeOverlay2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-2vtc1qv7.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/provider/xai.ts
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
|
|
|
24
24
|
var pollingSafetyMargin = 3000;
|
|
25
25
|
var browserMethodID = MethodID2.make("browser");
|
|
26
26
|
var deviceMethodID = MethodID2.make("device");
|
|
27
|
-
var providerID =
|
|
27
|
+
var providerID = ID11.make("xai");
|
|
28
28
|
var Token = Schema.Struct({
|
|
29
29
|
access_token: Schema.String,
|
|
30
30
|
refresh_token: Schema.optional(Schema.String),
|
|
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
|
|
|
44
44
|
});
|
|
45
45
|
var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
|
|
46
46
|
var device = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID12.make("xai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: deviceMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -69,8 +69,8 @@ var device = (app) => ({
|
|
|
69
69
|
var XAIPlugin2 = define({
|
|
70
70
|
id: "opencode.provider.xai",
|
|
71
71
|
effect: Effect.fn(function* (ctx) {
|
|
72
|
-
const credentials = yield*
|
|
73
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
72
|
+
const credentials = yield* Service66;
|
|
73
|
+
yield* Effect.forEach(yield* credentials.list(ID12.make("xai")), (credential) => {
|
|
74
74
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
75
75
|
return Effect.void;
|
|
76
76
|
return credentials.update(credential.id, {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/identity.ts
|
|
6
6
|
var exports_identity = {};
|
|
7
7
|
__export(exports_identity, {
|
|
8
8
|
IdentityPlugin: () => exports_identity,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin11,
|
|
10
10
|
identity: () => identity2
|
|
11
11
|
});
|
|
12
12
|
import { SystemPart } from "@opencode/ai";
|
|
@@ -22,7 +22,7 @@ function identity2(model) {
|
|
|
22
22
|
].join(`
|
|
23
23
|
`);
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var Plugin11 = define({
|
|
26
26
|
id: "opencode.prompt.identity",
|
|
27
27
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
28
28
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -35,4 +35,4 @@ var Plugin12 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export { identity2,
|
|
38
|
+
export { identity2, Plugin11, exports_identity };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./model-hgz4x7wa.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/exec-defaults.ts
|
|
11
11
|
var exports_exec_defaults = {};
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service43
|
|
7
|
+
} from "./model-br1q80at.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-hgz4x7wa.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service73
|
|
13
|
+
} from "./model-c6tn7fe1.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service45
|
|
16
|
+
} from "./model-py3gqn7c.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service58
|
|
19
|
+
} from "./model-exttmg6k.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service57,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-qb0nxf2n.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./model-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service76,
|
|
32
32
|
name16
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./model-8yj6gt86.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError3,
|
|
36
|
+
Service41
|
|
37
|
+
} from "./model-avhh8dq0.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service17
|
|
40
|
+
} from "./model-ysh87z2r.js";
|
|
41
41
|
import {
|
|
42
42
|
scan3
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./model-2z6g8rew.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./model-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell2 = {};
|
|
50
50
|
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input3,
|
|
53
|
+
Plugin: () => Plugin38,
|
|
54
54
|
ShellTool: () => exports_shell2,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name3
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
59
|
import { shellParserWasm } from "#shell-parser-wasm";
|
|
60
|
-
var
|
|
60
|
+
var name3 = "shell";
|
|
61
61
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
62
62
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
63
63
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -71,7 +71,7 @@ var description = (shell) => [
|
|
|
71
71
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
72
72
|
"Background commands return immediately, and you will be notified when they complete."
|
|
73
73
|
].join(" ");
|
|
74
|
-
var
|
|
74
|
+
var Input3 = Schema.Struct({
|
|
75
75
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
76
76
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
77
77
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
|
|
|
117
117
|
truncated: false,
|
|
118
118
|
status: "running"
|
|
119
119
|
});
|
|
120
|
-
var
|
|
120
|
+
var Plugin38 = {
|
|
121
121
|
id: "opencode.tool.shell",
|
|
122
122
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
123
|
-
const sessions = yield*
|
|
124
|
-
const jobs = yield*
|
|
123
|
+
const sessions = yield* Service17;
|
|
124
|
+
const jobs = yield* Service45;
|
|
125
125
|
const scope = yield* Scope.Scope;
|
|
126
|
-
const environment = yield*
|
|
127
|
-
const access = yield*
|
|
128
|
-
const shell = yield*
|
|
129
|
-
const shellSelect = yield*
|
|
126
|
+
const environment = yield* Service73;
|
|
127
|
+
const access = yield* Service57;
|
|
128
|
+
const shell = yield* Service41;
|
|
129
|
+
const shellSelect = yield* Service76;
|
|
130
130
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
131
|
-
const permission = yield*
|
|
132
|
-
const config = yield*
|
|
131
|
+
const permission = yield* Service58;
|
|
132
|
+
const config = yield* Service43;
|
|
133
133
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
134
134
|
const source = {
|
|
135
135
|
type: "tool",
|
|
@@ -148,7 +148,7 @@ var Plugin49 = {
|
|
|
148
148
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
149
149
|
if (parsed.commands.length > 0)
|
|
150
150
|
yield* permission.assert({
|
|
151
|
-
action:
|
|
151
|
+
action: name3,
|
|
152
152
|
resources: parsed.commands.map((command) => command.resource),
|
|
153
153
|
save: parsed.commands.map((command) => command.save),
|
|
154
154
|
sessionID: context.sessionID,
|
|
@@ -185,10 +185,10 @@ var Plugin49 = {
|
|
|
185
185
|
yield* jobs.completeBackground(info.notificationID);
|
|
186
186
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
187
187
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
188
|
-
name:
|
|
188
|
+
name: name3,
|
|
189
189
|
options: { codemode: false },
|
|
190
190
|
description: description(),
|
|
191
|
-
input:
|
|
191
|
+
input: Input3,
|
|
192
192
|
output: Output,
|
|
193
193
|
execute: (input, context) => Effect.gen(function* () {
|
|
194
194
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -211,7 +211,7 @@ var Plugin49 = {
|
|
|
211
211
|
const run = Effect.gen(function* () {
|
|
212
212
|
const result = yield* shell.result(info);
|
|
213
213
|
if (!result.capture)
|
|
214
|
-
return yield* new
|
|
214
|
+
return yield* new NotFoundError3({ id: info.id });
|
|
215
215
|
const output = output2(result);
|
|
216
216
|
return {
|
|
217
217
|
...output,
|
|
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
225
225
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
226
226
|
const job = yield* jobs.start({
|
|
227
227
|
id: info.id,
|
|
228
|
-
type:
|
|
228
|
+
type: name3,
|
|
229
229
|
title: info.command,
|
|
230
230
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
231
231
|
recovery: {
|
|
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
255
255
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
256
256
|
})).pipe(Effect.orDie);
|
|
257
257
|
const hook = (event) => Effect.gen(function* () {
|
|
258
|
-
const tool = event.tools[
|
|
258
|
+
const tool = event.tools[name3];
|
|
259
259
|
if (!tool)
|
|
260
260
|
return;
|
|
261
261
|
tool.description = description(name16(yield* compatibleShell));
|
|
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
266
266
|
})
|
|
267
267
|
};
|
|
268
268
|
|
|
269
|
-
export {
|
|
269
|
+
export { name3, DEFAULT_TIMEOUT_MS2, Input3, Plugin38, exports_shell2 };
|