@opencode/core 0.0.0-dev-20831 → 0.0.0-dev-20833
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 +75 -75
- package/dist/chunks/{persistent-pty-cpav9ert.js → skill-054svtv6.js} +34 -34
- package/dist/chunks/{persistent-pty-jvp385my.js → skill-0fdwtpfh.js} +4 -4
- package/dist/chunks/{persistent-pty-0paq2nw3.js → skill-0paq2nw3.js} +1 -1
- package/dist/chunks/{persistent-pty-2k9fjx65.js → skill-0r3c1bmw.js} +5 -5
- package/dist/chunks/{persistent-pty-pjkmwrrf.js → skill-0s02n0bf.js} +33 -33
- package/dist/chunks/{persistent-pty-3pxm667c.js → skill-0sxmr5rs.js} +28 -28
- package/dist/chunks/{persistent-pty-0vbcp93d.js → skill-0vbcp93d.js} +2 -2
- package/dist/chunks/{persistent-pty-2rx9dk58.js → skill-0xz1meda.js} +16 -16
- package/dist/chunks/{persistent-pty-701ma3hz.js → skill-0yeeqf1s.js} +13 -13
- package/dist/chunks/{persistent-pty-2m4gzwzp.js → skill-0za2k72q.js} +20 -20
- package/dist/chunks/{persistent-pty-0hvbv0av.js → skill-1016d4rp.js} +3 -3
- package/dist/chunks/{persistent-pty-6pc27hjz.js → skill-1p07q0wb.js} +8 -8
- package/dist/chunks/{persistent-pty-64wq75pw.js → skill-2d9r571f.js} +4 -4
- package/dist/chunks/{persistent-pty-ra3p1t16.js → skill-2eegc9fr.js} +5 -5
- package/dist/chunks/{persistent-pty-2k8khapm.js → skill-2k8khapm.js} +1 -1
- package/dist/chunks/skill-2m8bs1wq.js +26 -0
- package/dist/chunks/{persistent-pty-ynmknp8q.js → skill-2r1j4600.js} +11 -11
- package/dist/chunks/{persistent-pty-kqx1b4hy.js → skill-2ryng5r3.js} +4 -4
- package/dist/chunks/{persistent-pty-cdxr622n.js → skill-2s02rqce.js} +4 -4
- package/dist/chunks/{persistent-pty-2vvh33eb.js → skill-2vvh33eb.js} +2 -2
- package/dist/chunks/{persistent-pty-p6r2aq8t.js → skill-2wc77t1t.js} +20 -20
- package/dist/chunks/{persistent-pty-738f4ns0.js → skill-32m338mk.js} +45 -45
- package/dist/chunks/{persistent-pty-3fc6dm20.js → skill-3fc6dm20.js} +1 -1
- package/dist/chunks/{persistent-pty-kkrhqh6v.js → skill-3gt51074.js} +6 -6
- package/dist/chunks/{persistent-pty-3hepkmqq.js → skill-3hepkmqq.js} +1 -1
- package/dist/chunks/{persistent-pty-3hwn7j4h.js → skill-3hwn7j4h.js} +2 -2
- package/dist/chunks/{persistent-pty-52wkb7v6.js → skill-3rcp1bkh.js} +4 -4
- package/dist/chunks/{persistent-pty-hnv2pp8r.js → skill-3s8rp8kd.js} +14 -14
- package/dist/chunks/{persistent-pty-3smtnn6g.js → skill-3smtnn6g.js} +1 -1
- package/dist/chunks/{persistent-pty-3tvqynh2.js → skill-3tvqynh2.js} +1 -1
- package/dist/chunks/{persistent-pty-3zsf4n22.js → skill-3zsf4n22.js} +1 -1
- package/dist/chunks/{persistent-pty-yx87fey7.js → skill-405chrpt.js} +17 -17
- package/dist/chunks/{persistent-pty-ydgy0jv4.js → skill-40ptwz48.js} +6 -6
- package/dist/chunks/{persistent-pty-d5xadgfy.js → skill-4dq07bfp.js} +7 -7
- package/dist/chunks/{persistent-pty-tazea7qp.js → skill-4pg8xtk6.js} +35 -35
- package/dist/chunks/{persistent-pty-stbxd7bn.js → skill-4q6sd4ev.js} +13 -13
- package/dist/chunks/{persistent-pty-2ccvkpx1.js → skill-4ts7tf6z.js} +2 -2
- package/dist/chunks/{persistent-pty-cf44fsv6.js → skill-5260vjed.js} +19 -19
- package/dist/chunks/{persistent-pty-54ma36ye.js → skill-54ma36ye.js} +1 -1
- package/dist/chunks/{persistent-pty-89eza7wr.js → skill-552s16s7.js} +13 -13
- package/dist/chunks/{persistent-pty-1djs0tvz.js → skill-55ej53y0.js} +7 -7
- package/dist/chunks/{persistent-pty-sxbw7s6f.js → skill-569ytrch.js} +23 -23
- package/dist/chunks/{persistent-pty-drwq78ky.js → skill-57b9ws8p.js} +5 -5
- package/dist/chunks/{persistent-pty-zfth3bf2.js → skill-5e7wkws8.js} +13 -13
- package/dist/chunks/{persistent-pty-s3rjfqbz.js → skill-5fkgkkf7.js} +11 -11
- package/dist/chunks/{persistent-pty-5m9w47nd.js → skill-5m9w47nd.js} +1 -1
- package/dist/chunks/{persistent-pty-ykj0gtdh.js → skill-5nbh0nh0.js} +13 -13
- package/dist/chunks/{persistent-pty-e3qxr5gk.js → skill-5qd3pb7m.js} +2 -2
- package/dist/chunks/{persistent-pty-14gpq9b7.js → skill-5z2sj3fs.js} +24 -24
- package/dist/chunks/{persistent-pty-pjsfg289.js → skill-67xjq50c.js} +31 -31
- package/dist/chunks/{persistent-pty-a2zybenq.js → skill-6eshf08m.js} +19 -19
- package/dist/chunks/{persistent-pty-s538wvfd.js → skill-6p45mqr9.js} +20 -20
- package/dist/chunks/{persistent-pty-vhyre1cv.js → skill-6qf8t02h.js} +5 -5
- package/dist/chunks/{persistent-pty-6xb47vfp.js → skill-6xb47vfp.js} +1 -1
- package/dist/chunks/{persistent-pty-kar50817.js → skill-70swvzd8.js} +4 -4
- package/dist/chunks/{persistent-pty-955crbjz.js → skill-724rf6bp.js} +6 -6
- package/dist/chunks/{persistent-pty-w851cde3.js → skill-73yz4zg3.js} +27 -27
- package/dist/chunks/{persistent-pty-q1rsbgjb.js → skill-75s66m2y.js} +11 -11
- package/dist/chunks/{persistent-pty-eh6ej367.js → skill-782zrs06.js} +5 -5
- package/dist/chunks/{persistent-pty-8km2h22m.js → skill-78vr1b9m.js} +46 -46
- package/dist/chunks/{persistent-pty-7bmhse3q.js → skill-7bmhse3q.js} +1 -1
- package/dist/chunks/{persistent-pty-8ztybvde.js → skill-7caqxz4m.js} +12 -12
- package/dist/chunks/{persistent-pty-vxywbpnc.js → skill-7feea0h6.js} +11 -11
- package/dist/chunks/{persistent-pty-0gwkcvrc.js → skill-7h08sh5e.js} +36 -36
- package/dist/chunks/{persistent-pty-zze9cfmm.js → skill-7jytaq0t.js} +31 -31
- package/dist/chunks/{persistent-pty-r94ff4c7.js → skill-7my2nqf1.js} +2 -2
- package/dist/chunks/{persistent-pty-qxrb0a0w.js → skill-7q2avqby.js} +16 -16
- package/dist/chunks/{persistent-pty-n1a1n825.js → skill-7qv68cd5.js} +11 -11
- package/dist/chunks/{persistent-pty-a45pyh1f.js → skill-7s8haqk2.js} +3 -3
- package/dist/chunks/{persistent-pty-02xr1zsh.js → skill-7vknfave.js} +8 -8
- package/dist/chunks/{persistent-pty-58cqhhht.js → skill-8044bj4y.js} +18 -18
- package/dist/chunks/{persistent-pty-yka93msf.js → skill-8184nqf7.js} +59 -59
- package/dist/chunks/{persistent-pty-93224vja.js → skill-81vzgppv.js} +6 -6
- package/dist/chunks/{persistent-pty-sbvtryh7.js → skill-8224dges.js} +12 -12
- package/dist/chunks/{persistent-pty-e8kqavre.js → skill-8382cxrx.js} +34 -34
- package/dist/chunks/{persistent-pty-gex86280.js → skill-87d4vk9c.js} +20 -20
- package/dist/chunks/{persistent-pty-3a83a0n4.js → skill-8ank75fn.js} +8 -8
- package/dist/chunks/{persistent-pty-7rk69q0z.js → skill-8cn6pkt4.js} +6 -6
- package/dist/chunks/{persistent-pty-8m6m0r52.js → skill-8m6m0r52.js} +1 -1
- package/dist/chunks/{persistent-pty-61q6e95h.js → skill-8qgvra92.js} +9 -9
- package/dist/chunks/{persistent-pty-nx42me8w.js → skill-8sbesgs4.js} +9 -9
- package/dist/chunks/{persistent-pty-qbqbaz6q.js → skill-8tsdq50x.js} +4 -4
- package/dist/chunks/{persistent-pty-m6dfkh4w.js → skill-98byex5e.js} +10 -10
- package/dist/chunks/{persistent-pty-na2yjdh0.js → skill-9dbv26z0.js} +33 -33
- package/dist/chunks/{persistent-pty-8bve28yq.js → skill-9k7hrna8.js} +12 -12
- package/dist/chunks/{persistent-pty-144fxwck.js → skill-9mcfctbe.js} +26 -26
- package/dist/chunks/{persistent-pty-9cv60dsd.js → skill-9weh3wzf.js} +45 -45
- package/dist/chunks/{persistent-pty-qp9vg2jq.js → skill-9y9sk2j9.js} +2 -2
- package/dist/chunks/{persistent-pty-x661k3y3.js → skill-addxnjmp.js} +4 -4
- package/dist/chunks/{persistent-pty-e8e8f3ja.js → skill-adwg6g1g.js} +45 -45
- package/dist/chunks/{persistent-pty-t5rwxd7y.js → skill-ahymfmgv.js} +28 -28
- package/dist/chunks/{persistent-pty-e0hy65w0.js → skill-atsyc4d9.js} +18 -18
- package/dist/chunks/{persistent-pty-5epte933.js → skill-axe3mf62.js} +3 -3
- package/dist/chunks/{persistent-pty-fhs0xn1t.js → skill-azwtswd0.js} +5 -5
- package/dist/chunks/{persistent-pty-sncdfffp.js → skill-b3cxevkr.js} +14 -14
- package/dist/chunks/{persistent-pty-xd5pbsdm.js → skill-bascbawg.js} +11 -11
- package/dist/chunks/{persistent-pty-wdg4dznf.js → skill-bgjshvdd.js} +180 -180
- package/dist/chunks/{persistent-pty-j8m1p4p1.js → skill-bp8fbaqn.js} +4 -4
- package/dist/chunks/{persistent-pty-wt8rq1bh.js → skill-bzfkpd6q.js} +8 -8
- package/dist/chunks/{persistent-pty-rj3eygr5.js → skill-c41wscbt.js} +2 -2
- package/dist/chunks/{persistent-pty-sa8ekw3f.js → skill-c8ax2afj.js} +2 -2
- package/dist/chunks/{persistent-pty-dzse07y5.js → skill-c8bydgjz.js} +6 -6
- package/dist/chunks/{persistent-pty-2prrfhe7.js → skill-ca4nzew3.js} +15 -15
- package/dist/chunks/{persistent-pty-nsrqd5vn.js → skill-ck9gwgf3.js} +4 -4
- package/dist/chunks/{persistent-pty-aat6v70y.js → skill-cmm4jbpf.js} +38 -38
- package/dist/chunks/{persistent-pty-90y2bcva.js → skill-crhgbc5p.js} +13 -13
- package/dist/chunks/{persistent-pty-a2ew8a62.js → skill-d216944b.js} +7 -7
- package/dist/chunks/{persistent-pty-4z58m4b4.js → skill-d2czbp48.js} +4 -4
- package/dist/chunks/{persistent-pty-3r587zht.js → skill-d2jq4w4b.js} +15 -15
- package/dist/chunks/{persistent-pty-jbhnyrkm.js → skill-d2wqpwe4.js} +16 -16
- package/dist/chunks/{persistent-pty-b4tw85s5.js → skill-d49krybn.js} +15 -15
- package/dist/chunks/{persistent-pty-m8w6th39.js → skill-d4he2qe1.js} +9 -9
- package/dist/chunks/{persistent-pty-q0n7r88m.js → skill-dac8vsng.js} +74 -74
- package/dist/chunks/{persistent-pty-dxjhrr1d.js → skill-ddegw46w.js} +20 -20
- package/dist/chunks/{persistent-pty-e6bj23tj.js → skill-def4v9zx.js} +17 -17
- package/dist/chunks/{persistent-pty-8gxqpgph.js → skill-dhmh7aw6.js} +4 -4
- package/dist/chunks/{persistent-pty-pp537qc4.js → skill-dpgmwnc4.js} +20 -20
- package/dist/chunks/{persistent-pty-y71avatq.js → skill-dpkg50ah.js} +4 -4
- package/dist/chunks/{persistent-pty-yyqwftvn.js → skill-drmqggy3.js} +8 -8
- package/dist/chunks/{persistent-pty-faewp65y.js → skill-dtdf0bvj.js} +17 -17
- package/dist/chunks/{persistent-pty-nk0sw8df.js → skill-dyxreg6v.js} +4 -4
- package/dist/chunks/{persistent-pty-5gz9c728.js → skill-dza32a7m.js} +17 -17
- package/dist/chunks/{persistent-pty-vck5jyqy.js → skill-e2xzawa4.js} +11 -11
- package/dist/chunks/{persistent-pty-6hf42gwj.js → skill-e5nxv3vq.js} +14 -14
- package/dist/chunks/{persistent-pty-sxcaecc0.js → skill-ed1g29hy.js} +3 -3
- package/dist/chunks/{persistent-pty-eej6y6fw.js → skill-eej6y6fw.js} +2 -2
- package/dist/chunks/{persistent-pty-ef5x83kb.js → skill-ef5x83kb.js} +1 -1
- package/dist/chunks/{persistent-pty-vh135k6x.js → skill-eq0yeex0.js} +13 -13
- package/dist/chunks/{persistent-pty-c1fqxshp.js → skill-es1vcfrp.js} +3 -3
- package/dist/chunks/{persistent-pty-mx2cfqsv.js → skill-escw4zgr.js} +9 -9
- package/dist/chunks/{persistent-pty-wvf4y7rr.js → skill-f1fr68yy.js} +24 -24
- package/dist/chunks/{persistent-pty-cw4cmn70.js → skill-f2k9zecx.js} +1 -1
- package/dist/chunks/{persistent-pty-qxyen8t8.js → skill-f50qka02.js} +29 -29
- package/dist/chunks/{persistent-pty-42qnv940.js → skill-fgwtchw0.js} +30 -30
- package/dist/chunks/{persistent-pty-68j1m62m.js → skill-fne91c8b.js} +1 -1
- package/dist/chunks/{persistent-pty-14d24921.js → skill-fnvcpqmt.js} +32 -32
- package/dist/chunks/{persistent-pty-wrazxve0.js → skill-ftb54e0p.js} +5 -5
- package/dist/chunks/{persistent-pty-syp6aatx.js → skill-fw4wre8b.js} +23 -23
- package/dist/chunks/{persistent-pty-90shh64c.js → skill-fwbwyram.js} +9 -9
- package/dist/chunks/{persistent-pty-f456mqff.js → skill-g08k2zh7.js} +15 -15
- package/dist/chunks/{persistent-pty-ts4rn5wj.js → skill-g2gac3xs.js} +5 -5
- package/dist/chunks/{persistent-pty-h9d22378.js → skill-g5nsxxxe.js} +15 -15
- package/dist/chunks/{persistent-pty-5bcesxs9.js → skill-g6wep00f.js} +50 -50
- package/dist/chunks/{persistent-pty-8813t3ja.js → skill-ga6p1d4m.js} +58 -58
- package/dist/chunks/{persistent-pty-3pk3ecam.js → skill-gc8ctcma.js} +17 -17
- package/dist/chunks/{persistent-pty-gd4qta3r.js → skill-gd4qta3r.js} +1 -1
- package/dist/chunks/{persistent-pty-gk8qb678.js → skill-gk8qb678.js} +1 -1
- package/dist/chunks/{persistent-pty-89xxfcnj.js → skill-gtv9dk19.js} +3 -3
- package/dist/chunks/{persistent-pty-ezr5zw50.js → skill-gvs8fea6.js} +26 -26
- package/dist/chunks/{persistent-pty-jka8wpce.js → skill-h5y6xa2t.js} +8 -8
- package/dist/chunks/{persistent-pty-h6vf3j39.js → skill-h6vf3j39.js} +1 -1
- package/dist/chunks/{persistent-pty-h7s7r6s9.js → skill-h7s7r6s9.js} +2 -2
- package/dist/chunks/{persistent-pty-b3f8fkhc.js → skill-hdkng2sj.js} +5 -5
- package/dist/chunks/{persistent-pty-hgz4x7wa.js → skill-hgz4x7wa.js} +1 -1
- package/dist/chunks/{persistent-pty-5tdr691p.js → skill-hrpnb9ff.js} +49 -49
- package/dist/chunks/{persistent-pty-h9azkfyn.js → skill-hz47x616.js} +34 -34
- package/dist/chunks/{persistent-pty-f0d3kyvk.js → skill-hzpy5m7f.js} +6 -6
- package/dist/chunks/{persistent-pty-91qna3x0.js → skill-j09zfasm.js} +3 -3
- package/dist/chunks/{persistent-pty-vn1b2x6c.js → skill-j2g33a1c.js} +27 -27
- package/dist/chunks/{persistent-pty-634seer4.js → skill-j4kvmnhv.js} +45 -45
- package/dist/chunks/{persistent-pty-bfh6ts0t.js → skill-j56at9tr.js} +19 -19
- package/dist/chunks/{persistent-pty-j56e64zr.js → skill-j56e64zr.js} +1 -1
- package/dist/chunks/{persistent-pty-r91gjw8r.js → skill-j6w7t3kf.js} +14 -14
- package/dist/chunks/{persistent-pty-a5mn6de8.js → skill-je0cjxy7.js} +22 -22
- package/dist/chunks/{persistent-pty-y0mc46pw.js → skill-jvvc3tfq.js} +9 -9
- package/dist/chunks/{persistent-pty-g866pcx9.js → skill-jy0k167r.js} +11 -11
- package/dist/chunks/{persistent-pty-9thege9a.js → skill-jzrsbs88.js} +17 -17
- package/dist/chunks/{persistent-pty-gmtsq7zw.js → skill-k16p1bxt.js} +11 -11
- package/dist/chunks/{persistent-pty-6894dtb6.js → skill-k9gjc60j.js} +14 -14
- package/dist/chunks/{persistent-pty-8vhvath1.js → skill-k9nsdntx.js} +10 -10
- package/dist/chunks/{persistent-pty-nganhbx0.js → skill-ka3752hn.js} +10 -10
- package/dist/chunks/{persistent-pty-fxaymqdw.js → skill-khmqacep.js} +4 -4
- package/dist/chunks/{persistent-pty-atfs7mew.js → skill-kw4nzx18.js} +25 -25
- package/dist/chunks/{persistent-pty-z5j4efsn.js → skill-kx3hc9sa.js} +51 -51
- package/dist/chunks/{persistent-pty-wv7c6n2j.js → skill-m2ty9nkc.js} +10 -10
- package/dist/chunks/{persistent-pty-agxmfjyz.js → skill-m329mjby.js} +12 -12
- package/dist/chunks/{persistent-pty-m9w0rfyh.js → skill-m9w0rfyh.js} +1 -1
- package/dist/chunks/{persistent-pty-rthjw13s.js → skill-mg81a4xy.js} +20 -20
- package/dist/chunks/{persistent-pty-hp24zg0v.js → skill-mge78gw6.js} +20 -20
- package/dist/chunks/{persistent-pty-0e0f2wa7.js → skill-mhbm5qcp.js} +21 -21
- package/dist/chunks/{persistent-pty-k1rn6435.js → skill-mqrxernt.js} +34 -34
- package/dist/chunks/{persistent-pty-y5pr3jtj.js → skill-mt9hgtdy.js} +5 -5
- package/dist/chunks/{persistent-pty-e14jwtmp.js → skill-n7js4ddx.js} +15 -15
- package/dist/chunks/skill-n95b3jav.js +18 -0
- package/dist/chunks/{persistent-pty-nnc7vpek.js → skill-naqa8k3j.js} +24 -24
- package/dist/chunks/{persistent-pty-sbgx06h9.js → skill-nghc8s7q.js} +11 -11
- package/dist/chunks/{persistent-pty-84q8ddyg.js → skill-nx80jqtx.js} +35 -35
- package/dist/chunks/{persistent-pty-gsd95hce.js → skill-ny2kewhb.js} +13 -13
- package/dist/chunks/{persistent-pty-dqtqfvp1.js → skill-p09nk2vw.js} +23 -23
- package/dist/chunks/{persistent-pty-qftzrsf9.js → skill-p1dwhgj1.js} +26 -26
- package/dist/chunks/{persistent-pty-vcb8c7ee.js → skill-pdve0n95.js} +16 -16
- package/dist/chunks/{persistent-pty-nd4tfyg0.js → skill-phz50fbd.js} +9 -9
- package/dist/chunks/{persistent-pty-0zdym56s.js → skill-pjsqfx9m.js} +9 -9
- package/dist/chunks/{persistent-pty-pjvnvgmy.js → skill-pjvnvgmy.js} +1 -1
- package/dist/chunks/{persistent-pty-pknna89w.js → skill-pknna89w.js} +1 -1
- package/dist/chunks/{persistent-pty-8hdcmxy1.js → skill-pp05avfq.js} +18 -18
- package/dist/chunks/{persistent-pty-f4mdd15q.js → skill-ppbj35cq.js} +28 -28
- package/dist/chunks/{persistent-pty-ps96y3dp.js → skill-prgac22y.js} +5 -5
- package/dist/chunks/{persistent-pty-0j77ygfz.js → skill-q0xm7vwc.js} +6 -6
- package/dist/chunks/{persistent-pty-6z6j1hvd.js → skill-q7hrjn7r.js} +13 -13
- package/dist/chunks/{persistent-pty-7nzg23qc.js → skill-q869bsgd.js} +10 -10
- package/dist/chunks/{persistent-pty-qnc92qwc.js → skill-qnc92qwc.js} +1 -1
- package/dist/chunks/{persistent-pty-qsdy395h.js → skill-qsdy395h.js} +1 -1
- package/dist/chunks/{persistent-pty-6zz29p9f.js → skill-r6543sev.js} +35 -35
- package/dist/chunks/{persistent-pty-sbd1m1b7.js → skill-r7ady3br.js} +29 -29
- package/dist/chunks/{persistent-pty-1jb7jqa2.js → skill-rd755b8h.js} +8 -8
- package/dist/chunks/{persistent-pty-rdw6cm16.js → skill-rdw6cm16.js} +1 -1
- package/dist/chunks/{persistent-pty-zz23ack4.js → skill-rfp5zzsq.js} +12 -12
- package/dist/chunks/{persistent-pty-g6q22p7g.js → skill-rhbg084w.js} +35 -35
- package/dist/chunks/{persistent-pty-rhjbct0v.js → skill-rhjbct0v.js} +1 -1
- package/dist/chunks/{persistent-pty-6c8xqbzr.js → skill-s0q95er0.js} +3 -3
- package/dist/chunks/{persistent-pty-x7zkx1rm.js → skill-s4tq5zkz.js} +47 -47
- package/dist/chunks/{persistent-pty-1nwxscpy.js → skill-sfkj0ta1.js} +5 -5
- package/dist/chunks/{persistent-pty-dmfebxy7.js → skill-skc70r5h.js} +21 -21
- package/dist/chunks/{persistent-pty-8v692fxg.js → skill-smfwgzza.js} +20 -20
- package/dist/chunks/{persistent-pty-fkn54x0f.js → skill-srcpm4ff.js} +11 -11
- package/dist/chunks/{persistent-pty-syv4x271.js → skill-syv4x271.js} +1 -1
- package/dist/chunks/{persistent-pty-bphmfkp7.js → skill-syxdd2xa.js} +4 -4
- package/dist/chunks/{persistent-pty-rm2gr2zw.js → skill-t1megmfx.js} +9 -9
- package/dist/chunks/{persistent-pty-tazgh4e4.js → skill-tazgh4e4.js} +1 -1
- package/dist/chunks/{persistent-pty-89znhe33.js → skill-tcezcvh9.js} +4 -4
- package/dist/chunks/{persistent-pty-tdstcens.js → skill-tdstcens.js} +1 -1
- package/dist/chunks/{persistent-pty-1j1f6xcv.js → skill-th0tys96.js} +16 -16
- package/dist/chunks/{persistent-pty-rert0e01.js → skill-tkb22qbm.js} +2 -2
- package/dist/chunks/{persistent-pty-9hn6k4tm.js → skill-tpw6cwsb.js} +8 -8
- package/dist/chunks/{persistent-pty-5fec3t3w.js → skill-txm3e8qz.js} +9 -9
- package/dist/chunks/{persistent-pty-tyytaxap.js → skill-tyytaxap.js} +1 -1
- package/dist/chunks/{persistent-pty-v0es1rhs.js → skill-v0es1rhs.js} +2 -2
- package/dist/chunks/{persistent-pty-fyav22tq.js → skill-v6kwrd5g.js} +9 -9
- package/dist/chunks/{persistent-pty-v7p4zvkq.js → skill-v7p4zvkq.js} +2 -2
- package/dist/chunks/{persistent-pty-t7yfe90q.js → skill-vc3yqv7h.js} +46 -46
- package/dist/chunks/{persistent-pty-veqvce7d.js → skill-veqvce7d.js} +1 -1
- package/dist/chunks/{persistent-pty-sghgg3s0.js → skill-vfwyw16r.js} +96 -96
- package/dist/chunks/{persistent-pty-xa9kdnre.js → skill-vq1egqyg.js} +13 -13
- package/dist/chunks/{persistent-pty-vzs5sf6e.js → skill-vzs5sf6e.js} +1 -1
- package/dist/chunks/{persistent-pty-84txncab.js → skill-w1eejvng.js} +5 -5
- package/dist/chunks/{persistent-pty-wd47s8yt.js → skill-w2hcdfr2.js} +15 -15
- package/dist/chunks/{persistent-pty-w2h15q85.js → skill-w39jehkq.js} +5 -5
- package/dist/chunks/{persistent-pty-w3wsvvr9.js → skill-w3wsvvr9.js} +1 -1
- package/dist/chunks/{persistent-pty-g0e7481p.js → skill-w6q9gv7w.js} +11 -11
- package/dist/chunks/{persistent-pty-160dstxj.js → skill-w7zc90am.js} +25 -25
- package/dist/chunks/{persistent-pty-wd87259q.js → skill-wd87259q.js} +1 -1
- package/dist/chunks/{persistent-pty-8zz30m54.js → skill-wda1rmmt.js} +26 -26
- package/dist/chunks/{persistent-pty-cmd80gk0.js → skill-wp0p5d3x.js} +28 -28
- package/dist/chunks/{persistent-pty-x7hadnwb.js → skill-wqaw1cba.js} +11 -11
- package/dist/chunks/skill-wsaedz03.js +513 -0
- package/dist/chunks/{persistent-pty-fkpjc2rv.js → skill-wsmkzf2y.js} +11 -11
- package/dist/chunks/{persistent-pty-z1e0ewtp.js → skill-wv2bk7tv.js} +5 -5
- package/dist/chunks/{persistent-pty-y73n6frr.js → skill-x24eaf8s.js} +32 -32
- package/dist/chunks/{persistent-pty-cphsypwy.js → skill-x3sq15ye.js} +23 -23
- package/dist/chunks/{persistent-pty-4gkdfnn9.js → skill-x3wf1psf.js} +25 -25
- package/dist/chunks/{persistent-pty-569s51gv.js → skill-x4npy98r.js} +26 -26
- package/dist/chunks/{persistent-pty-6dnepcx2.js → skill-x5qhrbsh.js} +35 -35
- package/dist/chunks/skill-xe7nf68j.js +253 -0
- package/dist/chunks/{persistent-pty-cexy6923.js → skill-xfcvf5p3.js} +3 -3
- package/dist/chunks/{persistent-pty-5vz17b4s.js → skill-xjg7zrhk.js} +29 -29
- package/dist/chunks/{persistent-pty-j4pfkapa.js → skill-xnbxhycs.js} +29 -29
- package/dist/chunks/{persistent-pty-7etbtvrg.js → skill-xqdvt29a.js} +88 -88
- package/dist/chunks/{persistent-pty-avs8edt6.js → skill-xqfqvw8r.js} +11 -11
- package/dist/chunks/{persistent-pty-gd0tnyjc.js → skill-xybefm6f.js} +1 -1
- package/dist/chunks/{persistent-pty-y1fvbwt7.js → skill-y1fvbwt7.js} +1 -1
- package/dist/chunks/{persistent-pty-x2aynqqh.js → skill-y56ehv6b.js} +8 -8
- package/dist/chunks/{persistent-pty-0tzy42a9.js → skill-y72zmemf.js} +8 -8
- package/dist/chunks/{persistent-pty-r8xr0va3.js → skill-yp2x3t23.js} +4 -4
- package/dist/chunks/{persistent-pty-sjaxrz5m.js → skill-yta13bge.js} +10 -10
- package/dist/chunks/{persistent-pty-xax0y1c2.js → skill-yvmxv5ps.js} +6 -6
- package/dist/chunks/{persistent-pty-ywt8jp22.js → skill-ywt8jp22.js} +2 -2
- package/dist/chunks/{persistent-pty-grey5ade.js → skill-ywwge2w7.js} +32 -32
- package/dist/chunks/{persistent-pty-mpye8y33.js → skill-yystcyqc.js} +11 -11
- package/dist/chunks/{persistent-pty-z0bkrqjs.js → skill-z0bkrqjs.js} +1 -1
- package/dist/chunks/{persistent-pty-ja3e6986.js → skill-z0dmr40s.js} +8 -8
- package/dist/chunks/{persistent-pty-zxxyec0p.js → skill-z5pcptfa.js} +11 -11
- package/dist/chunks/{persistent-pty-hzecydg6.js → skill-z9w0eb3r.js} +14 -14
- package/dist/chunks/{persistent-pty-gpk600j1.js → skill-zfa7ynd8.js} +13 -13
- package/dist/chunks/{persistent-pty-zr2ceqn5.js → skill-zr2ceqn5.js} +1 -1
- package/dist/chunks/{persistent-pty-tgr3sw9p.js → skill-zrnd17ej.js} +40 -40
- package/dist/chunks/{persistent-pty-zxq2ej10.js → skill-zxq2ej10.js} +1 -1
- package/dist/chunks/{persistent-pty-hv8vheb4.js → skill-zyc0r4e4.js} +3 -3
- package/dist/chunks/{persistent-pty-4vfrtg94.js → skill-zzds4v72.js} +17 -17
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- 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 +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +92 -92
- package/dist/config/plugin/location-watcher.js +120 -120
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +119 -119
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +79 -79
- 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 +368 -368
- 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 +95 -95
- 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 +222 -222
- 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 +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- 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 +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 +359 -359
- package/dist/instruction-discovery.js +87 -87
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +1 -1
- 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 +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- 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.js +104 -104
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +117 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- 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 +213 -213
- 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 +119 -119
- 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 +119 -119
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +96 -96
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- 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 +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- 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 +127 -127
- package/dist/plugin/provider/openai.js +97 -97
- package/dist/plugin/provider/opencode.js +99 -99
- 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 +92 -92
- 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 +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- 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 +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- 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 +116 -116
- 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 +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +101 -101
- 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 +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +135 -135
- 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 +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +156 -156
- 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 +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- 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 +4 -4
- package/dist/session/runner/step.js +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +166 -166
- package/dist/session/shell.js +132 -132
- 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 +207 -207
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +116 -116
- 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 +118 -118
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +112 -112
- 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 +14 -14
- 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 +5 -5
- package/dist/v1/config/error.js +4 -4
- 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 +1 -1
- 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/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/persistent-pty-24d7twmp.js +0 -253
- package/dist/chunks/persistent-pty-94sdztrq.js +0 -513
- package/dist/chunks/persistent-pty-hqrz8ks6.js +0 -26
- package/dist/chunks/persistent-pty-v1faaxn9.js +0 -18
- /package/dist/chunks/{persistent-pty-0qkdqm5v.js → skill-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{persistent-pty-0zkw76rk.js → skill-0zkw76rk.js} +0 -0
- /package/dist/chunks/{persistent-pty-17cy0kzp.js → skill-17cy0kzp.js} +0 -0
- /package/dist/chunks/{persistent-pty-1cnp2v09.js → skill-1cnp2v09.js} +0 -0
- /package/dist/chunks/{persistent-pty-1kg9ymc8.js → skill-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{persistent-pty-24dcb14g.js → skill-24dcb14g.js} +0 -0
- /package/dist/chunks/{persistent-pty-2710q6r3.js → skill-2710q6r3.js} +0 -0
- /package/dist/chunks/{persistent-pty-2axfhc9x.js → skill-2axfhc9x.js} +0 -0
- /package/dist/chunks/{persistent-pty-2bv980vf.js → skill-2bv980vf.js} +0 -0
- /package/dist/chunks/{persistent-pty-2c3vjs8z.js → skill-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{persistent-pty-359p4xyc.js → skill-359p4xyc.js} +0 -0
- /package/dist/chunks/{persistent-pty-3asan66x.js → skill-3asan66x.js} +0 -0
- /package/dist/chunks/{persistent-pty-3t0ybcrp.js → skill-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-3v8g72cx.js → skill-3v8g72cx.js} +0 -0
- /package/dist/chunks/{persistent-pty-3wcehsnq.js → skill-3wcehsnq.js} +0 -0
- /package/dist/chunks/{persistent-pty-43n2bw4t.js → skill-43n2bw4t.js} +0 -0
- /package/dist/chunks/{persistent-pty-4knz6hnm.js → skill-4knz6hnm.js} +0 -0
- /package/dist/chunks/{persistent-pty-4vcrnpx2.js → skill-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{persistent-pty-4y7fprxs.js → skill-4y7fprxs.js} +0 -0
- /package/dist/chunks/{persistent-pty-53557ph1.js → skill-53557ph1.js} +0 -0
- /package/dist/chunks/{persistent-pty-550bvhaj.js → skill-550bvhaj.js} +0 -0
- /package/dist/chunks/{persistent-pty-6prwharc.js → skill-6prwharc.js} +0 -0
- /package/dist/chunks/{persistent-pty-6q2bdcd1.js → skill-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{persistent-pty-7akdwqpd.js → skill-7akdwqpd.js} +0 -0
- /package/dist/chunks/{persistent-pty-7m9af43g.js → skill-7m9af43g.js} +0 -0
- /package/dist/chunks/{persistent-pty-822emrt2.js → skill-822emrt2.js} +0 -0
- /package/dist/chunks/{persistent-pty-84wd9syh.js → skill-84wd9syh.js} +0 -0
- /package/dist/chunks/{persistent-pty-88xbtdfr.js → skill-88xbtdfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-8n3pysct.js → skill-8n3pysct.js} +0 -0
- /package/dist/chunks/{persistent-pty-8wj87zfr.js → skill-8wj87zfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-9a4afbnw.js → skill-9a4afbnw.js} +0 -0
- /package/dist/chunks/{persistent-pty-9rqn6x4v.js → skill-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{persistent-pty-a6k6eb26.js → skill-a6k6eb26.js} +0 -0
- /package/dist/chunks/{persistent-pty-af5trqkr.js → skill-af5trqkr.js} +0 -0
- /package/dist/chunks/{persistent-pty-afrmfg78.js → skill-afrmfg78.js} +0 -0
- /package/dist/chunks/{persistent-pty-aqzs7mqg.js → skill-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{persistent-pty-atq7p7m5.js → skill-atq7p7m5.js} +0 -0
- /package/dist/chunks/{persistent-pty-bkyjaxrp.js → skill-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-bmr6ed5q.js → skill-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{persistent-pty-bw78ga2c.js → skill-bw78ga2c.js} +0 -0
- /package/dist/chunks/{persistent-pty-cf4snx6d.js → skill-cf4snx6d.js} +0 -0
- /package/dist/chunks/{persistent-pty-cvy3z8tj.js → skill-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9fn303g.js → skill-d9fn303g.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9jj8t3e.js → skill-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{persistent-pty-dajrwvna.js → skill-dajrwvna.js} +0 -0
- /package/dist/chunks/{persistent-pty-dap0rakb.js → skill-dap0rakb.js} +0 -0
- /package/dist/chunks/{persistent-pty-df08tz66.js → skill-df08tz66.js} +0 -0
- /package/dist/chunks/{persistent-pty-dy18nga0.js → skill-dy18nga0.js} +0 -0
- /package/dist/chunks/{persistent-pty-e5kj55wp.js → skill-e5kj55wp.js} +0 -0
- /package/dist/chunks/{persistent-pty-e73j6tqm.js → skill-e73j6tqm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ec1grn59.js → skill-ec1grn59.js} +0 -0
- /package/dist/chunks/{persistent-pty-eh3zwz77.js → skill-eh3zwz77.js} +0 -0
- /package/dist/chunks/{persistent-pty-emrn6kk6.js → skill-emrn6kk6.js} +0 -0
- /package/dist/chunks/{persistent-pty-f0mxakyp.js → skill-f0mxakyp.js} +0 -0
- /package/dist/chunks/{persistent-pty-f6n9ztr4.js → skill-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{persistent-pty-faypxj3z.js → skill-faypxj3z.js} +0 -0
- /package/dist/chunks/{persistent-pty-fd410y7t.js → skill-fd410y7t.js} +0 -0
- /package/dist/chunks/{persistent-pty-g4wezp1m.js → skill-g4wezp1m.js} +0 -0
- /package/dist/chunks/{persistent-pty-g86h250q.js → skill-g86h250q.js} +0 -0
- /package/dist/chunks/{persistent-pty-gebd4c9n.js → skill-gebd4c9n.js} +0 -0
- /package/dist/chunks/{persistent-pty-gftt206x.js → skill-gftt206x.js} +0 -0
- /package/dist/chunks/{persistent-pty-hk9envan.js → skill-hk9envan.js} +0 -0
- /package/dist/chunks/{persistent-pty-j2ntwpah.js → skill-j2ntwpah.js} +0 -0
- /package/dist/chunks/{persistent-pty-j5zkgpj8.js → skill-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{persistent-pty-jjkms2e6.js → skill-jjkms2e6.js} +0 -0
- /package/dist/chunks/{persistent-pty-jr7sbwjy.js → skill-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwfs4k6c.js → skill-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{persistent-pty-jze0r7bz.js → skill-jze0r7bz.js} +0 -0
- /package/dist/chunks/{persistent-pty-jzg6c2d5.js → skill-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{persistent-pty-m18g726c.js → skill-m18g726c.js} +0 -0
- /package/dist/chunks/{persistent-pty-mp448xyj.js → skill-mp448xyj.js} +0 -0
- /package/dist/chunks/{persistent-pty-msx8hqn2.js → skill-msx8hqn2.js} +0 -0
- /package/dist/chunks/{persistent-pty-n05xt0ee.js → skill-n05xt0ee.js} +0 -0
- /package/dist/chunks/{persistent-pty-n3j8tn72.js → skill-n3j8tn72.js} +0 -0
- /package/dist/chunks/{persistent-pty-njntx4h6.js → skill-njntx4h6.js} +0 -0
- /package/dist/chunks/{persistent-pty-pkyv6v7h.js → skill-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{persistent-pty-pyv0edze.js → skill-pyv0edze.js} +0 -0
- /package/dist/chunks/{persistent-pty-q3sfg36h.js → skill-q3sfg36h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q74kybfr.js → skill-q74kybfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-qaymkmh1.js → skill-qaymkmh1.js} +0 -0
- /package/dist/chunks/{persistent-pty-qb87gjwd.js → skill-qb87gjwd.js} +0 -0
- /package/dist/chunks/{persistent-pty-qfa1cgps.js → skill-qfa1cgps.js} +0 -0
- /package/dist/chunks/{persistent-pty-qg3g05ea.js → skill-qg3g05ea.js} +0 -0
- /package/dist/chunks/{persistent-pty-qrg20bc0.js → skill-qrg20bc0.js} +0 -0
- /package/dist/chunks/{persistent-pty-rcb2kzg1.js → skill-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{persistent-pty-sdp7kfr6.js → skill-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{persistent-pty-ssg3fenm.js → skill-ssg3fenm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ve7vex1e.js → skill-ve7vex1e.js} +0 -0
- /package/dist/chunks/{persistent-pty-w803qqfp.js → skill-w803qqfp.js} +0 -0
- /package/dist/chunks/{persistent-pty-wc3fc9cn.js → skill-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{persistent-pty-wer8tq1h.js → skill-wer8tq1h.js} +0 -0
- /package/dist/chunks/{persistent-pty-wtztk69x.js → skill-wtztk69x.js} +0 -0
- /package/dist/chunks/{persistent-pty-x0ckcb58.js → skill-x0ckcb58.js} +0 -0
- /package/dist/chunks/{persistent-pty-x61499pn.js → skill-x61499pn.js} +0 -0
- /package/dist/chunks/{persistent-pty-y44na4kk.js → skill-y44na4kk.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8f7s663.js → skill-y8f7s663.js} +0 -0
- /package/dist/chunks/{persistent-pty-ygaqb7jw.js → skill-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{persistent-pty-ym463w8f.js → skill-ym463w8f.js} +0 -0
- /package/dist/chunks/{persistent-pty-z5v4ffb3.js → skill-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{persistent-pty-z9919s4g.js → skill-z9919s4g.js} +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
6
|
+
var exports_permission = {};
|
|
7
|
+
__export(exports_permission, {
|
|
8
8
|
Action: () => Action2,
|
|
9
|
-
ConfigPermissionV1: () =>
|
|
9
|
+
ConfigPermissionV1: () => exports_permission,
|
|
10
10
|
Entries: () => Entries2,
|
|
11
|
-
Info: () =>
|
|
11
|
+
Info: () => Info12,
|
|
12
12
|
Object: () => Object2,
|
|
13
|
-
Rule: () =>
|
|
13
|
+
Rule: () => Rule2
|
|
14
14
|
});
|
|
15
15
|
import { Schema, SchemaGetter } from "effect";
|
|
16
16
|
var Action2 = Schema.Literals(["ask", "allow", "deny"]).annotate({ identifier: "PermissionActionConfig" });
|
|
@@ -19,13 +19,13 @@ var Entries2 = (value) => Schema.ObjectKeyword.check(Schema.makeFilter((input) =
|
|
|
19
19
|
encode: SchemaGetter.transform((entries) => globalThis.Object.fromEntries(entries))
|
|
20
20
|
}));
|
|
21
21
|
var Object2 = Entries2(Action2).annotate({ identifier: "PermissionObjectConfig" });
|
|
22
|
-
var
|
|
22
|
+
var Rule2 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
|
|
23
23
|
var actionOnly = new Set(["question", "websearch", "doom_loop"]);
|
|
24
|
-
var
|
|
24
|
+
var Info12 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(Rule2), {
|
|
25
25
|
decode: SchemaGetter.transform((input) => typeof input === "string" ? { "*": input } : input),
|
|
26
26
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
27
27
|
})).check(Schema.makeFilter((rules) => rules.every(([key, rule]) => !actionOnly.has(key) || typeof rule === "string"), {
|
|
28
28
|
expected: "question, websearch, and doom_loop to be ask, allow, or deny"
|
|
29
29
|
})).annotate({ identifier: "PermissionConfig" });
|
|
30
30
|
|
|
31
|
-
export { Action2, Entries2, Object2,
|
|
31
|
+
export { Action2, Entries2, Object2, Rule2, Info12, exports_permission };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-e2xzawa4.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-ywt8jp22.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./skill-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin37,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint3
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint3 = "https://mcp.firecrawl.dev/v2/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String,
|
|
24
24
|
limit: Schema.Number.pipe(Schema.optional)
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin37 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -59,7 +59,7 @@ var Plugin34 = define({
|
|
|
59
59
|
execute: (input) => Effect.gen(function* () {
|
|
60
60
|
const connection = yield* ctx.integration.connection.active("firecrawl");
|
|
61
61
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint3, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
|
|
63
63
|
"User-Agent": useragent2(ctx.app),
|
|
64
64
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
|
|
65
65
|
});
|
|
@@ -77,4 +77,4 @@ var Plugin34 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint3, Plugin37, exports_firecrawl };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./skill-hgz4x7wa.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./skill-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service53
|
|
7
|
+
} from "./skill-78vr1b9m.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./skill-hgz4x7wa.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service61
|
|
13
|
+
} from "./skill-569ytrch.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service67
|
|
16
|
+
} from "./skill-j6w7t3kf.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service71
|
|
19
|
+
} from "./skill-8184nqf7.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service18,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./skill-jzrsbs88.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./skill-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service56,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./skill-d49krybn.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError6,
|
|
36
|
+
Service51
|
|
37
|
+
} from "./skill-hrpnb9ff.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service30
|
|
40
|
+
} from "./skill-vfwyw16r.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./skill-2d9r571f.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./skill-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell2 = {};
|
|
50
|
+
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input12,
|
|
53
|
+
Plugin: () => Plugin33,
|
|
54
|
+
ShellTool: () => exports_shell2,
|
|
55
|
+
name: () => name12
|
|
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 name12 = "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 Input12 = 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 Plugin33 = {
|
|
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* Service30;
|
|
124
|
+
const jobs = yield* Service67;
|
|
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* Service61;
|
|
127
|
+
const access = yield* Service18;
|
|
128
|
+
const shell = yield* Service51;
|
|
129
|
+
const shellSelect = yield* Service56;
|
|
130
130
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
131
|
-
const permission = yield*
|
|
132
|
-
const config = yield*
|
|
131
|
+
const permission = yield* Service71;
|
|
132
|
+
const config = yield* Service53;
|
|
133
133
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
134
134
|
const source = {
|
|
135
135
|
type: "tool",
|
|
@@ -148,7 +148,7 @@ var Plugin5 = {
|
|
|
148
148
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
149
149
|
if (parsed.commands.length > 0)
|
|
150
150
|
yield* permission.assert({
|
|
151
|
-
action:
|
|
151
|
+
action: name12,
|
|
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 Plugin5 = {
|
|
|
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: name12,
|
|
189
189
|
options: { codemode: false },
|
|
190
190
|
description: description(),
|
|
191
|
-
input:
|
|
191
|
+
input: Input12,
|
|
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 Plugin5 = {
|
|
|
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 NotFoundError6({ 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: name12,
|
|
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[name12];
|
|
259
259
|
if (!tool)
|
|
260
260
|
return;
|
|
261
261
|
tool.description = description(name15(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 { name12, DEFAULT_TIMEOUT_MS2, Input12, Plugin33, exports_shell2 };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ID12,
|
|
3
|
+
Info21,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./skill-axe3mf62.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./skill-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
10
|
Service85,
|
|
11
11
|
node89
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./skill-zyc0r4e4.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service84,
|
|
16
|
+
node88
|
|
17
|
+
} from "./skill-8224dges.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service82,
|
|
20
|
+
node86
|
|
21
|
+
} from "./skill-5z2sj3fs.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service49,
|
|
24
|
+
node51
|
|
25
|
+
} from "./skill-c8bydgjz.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./skill-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./skill-es1vcfrp.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
node49
|
|
34
|
+
} from "./skill-mhbm5qcp.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./skill-2ryng5r3.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./skill-ny2kewhb.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./skill-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
46
|
+
node41
|
|
47
|
+
} from "./skill-6eshf08m.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node85
|
|
51
|
+
} from "./skill-e2xzawa4.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
53
|
+
NotFoundError9,
|
|
54
54
|
MessageNotFoundError2,
|
|
55
55
|
ForkEmptyError2,
|
|
56
56
|
MessageDecodeError2,
|
|
@@ -61,58 +61,58 @@ import {
|
|
|
61
61
|
BusyError2,
|
|
62
62
|
InboxConflictError2,
|
|
63
63
|
SkillNotFoundError2
|
|
64
|
-
} from "./
|
|
64
|
+
} from "./skill-pjsqfx9m.js";
|
|
65
65
|
import {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
66
|
+
ListInput5,
|
|
67
|
+
Service73,
|
|
68
|
+
node76
|
|
69
|
+
} from "./skill-th0tys96.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
71
|
+
Service67,
|
|
72
|
+
node70
|
|
73
|
+
} from "./skill-j6w7t3kf.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
75
|
+
Service45,
|
|
76
|
+
node48
|
|
77
|
+
} from "./skill-zrnd17ej.js";
|
|
78
78
|
import {
|
|
79
79
|
llmClient2
|
|
80
|
-
} from "./
|
|
80
|
+
} from "./skill-2vvh33eb.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
82
|
+
Service36,
|
|
83
|
+
node39
|
|
84
|
+
} from "./skill-7feea0h6.js";
|
|
85
85
|
import {
|
|
86
86
|
generate2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./skill-d2wqpwe4.js";
|
|
88
88
|
import {
|
|
89
89
|
execute2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./skill-7vknfave.js";
|
|
91
91
|
import {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
} from "./
|
|
92
|
+
Service64,
|
|
93
|
+
node67
|
|
94
|
+
} from "./skill-8qgvra92.js";
|
|
95
95
|
import {
|
|
96
96
|
DestinationNotFoundError2,
|
|
97
97
|
DestinationNotDirectoryError2,
|
|
98
98
|
DestinationUnavailableError2,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./
|
|
99
|
+
Service37,
|
|
100
|
+
node40
|
|
101
|
+
} from "./skill-ga6p1d4m.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./
|
|
103
|
+
Service52,
|
|
104
|
+
node54
|
|
105
|
+
} from "./skill-y72zmemf.js";
|
|
106
106
|
import {
|
|
107
|
-
|
|
108
|
-
} from "./
|
|
107
|
+
make13
|
|
108
|
+
} from "./skill-r6543sev.js";
|
|
109
109
|
import {
|
|
110
110
|
TurnRangeError2,
|
|
111
111
|
turn2
|
|
112
|
-
} from "./
|
|
112
|
+
} from "./skill-rd755b8h.js";
|
|
113
113
|
import {
|
|
114
114
|
__export
|
|
115
|
-
} from "./
|
|
115
|
+
} from "./skill-9rqn6x4v.js";
|
|
116
116
|
|
|
117
117
|
// src/session.ts
|
|
118
118
|
var exports_session = {};
|
|
@@ -123,22 +123,22 @@ __export(exports_session, {
|
|
|
123
123
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
124
124
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
125
125
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
126
|
-
ID: () =>
|
|
126
|
+
ID: () => ID12,
|
|
127
127
|
InboxConflictError: () => InboxConflictError2,
|
|
128
|
-
Info: () =>
|
|
128
|
+
Info: () => Info21,
|
|
129
129
|
ListAnchor: () => ListAnchor2,
|
|
130
|
-
ListInput: () =>
|
|
130
|
+
ListInput: () => ListInput3,
|
|
131
131
|
MessageDecodeError: () => MessageDecodeError2,
|
|
132
132
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
133
|
-
NotFoundError: () =>
|
|
133
|
+
NotFoundError: () => NotFoundError9,
|
|
134
134
|
PromptConflictError: () => PromptConflictError2,
|
|
135
|
-
Service: () =>
|
|
135
|
+
Service: () => Service30,
|
|
136
136
|
Session: () => exports_session,
|
|
137
137
|
SessionSchema: () => SessionSchema2,
|
|
138
138
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
139
139
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
140
140
|
TurnRangeError: () => TurnRangeError2,
|
|
141
|
-
node: () =>
|
|
141
|
+
node: () => node33
|
|
142
142
|
});
|
|
143
143
|
import { Effect, Layer, Schema, Context, Stream } from "effect";
|
|
144
144
|
import { LLMClient } from "@opencode/ai";
|
|
@@ -148,27 +148,27 @@ import { Model } from "@opencode/schema/model";
|
|
|
148
148
|
import path from "path";
|
|
149
149
|
import { Node } from "@opencode/util/effect/app-node";
|
|
150
150
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
151
|
-
var
|
|
152
|
-
class
|
|
151
|
+
var ListInput3 = ListInput5;
|
|
152
|
+
class Service30 extends Context.Service()("@opencode/Session") {
|
|
153
153
|
}
|
|
154
|
-
var layer = Layer.effect(
|
|
154
|
+
var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
155
155
|
const app = yield* Metadata2;
|
|
156
156
|
const database = yield* Service85;
|
|
157
157
|
const db = database.db;
|
|
158
|
-
const bus = yield*
|
|
159
|
-
const projects = yield*
|
|
160
|
-
const execution = yield*
|
|
158
|
+
const bus = yield* Service84;
|
|
159
|
+
const projects = yield* Service82;
|
|
160
|
+
const execution = yield* Service45;
|
|
161
161
|
const llm = yield* LLMClient.Service;
|
|
162
|
-
const transport = yield*
|
|
163
|
-
const store = yield*
|
|
164
|
-
const instances = yield*
|
|
165
|
-
const moves = yield*
|
|
166
|
-
const jobs = yield*
|
|
167
|
-
const environments = yield*
|
|
168
|
-
const locations = yield*
|
|
169
|
-
const sessions = yield*
|
|
162
|
+
const transport = yield* Service36;
|
|
163
|
+
const store = yield* Service73;
|
|
164
|
+
const instances = yield* Service49;
|
|
165
|
+
const moves = yield* Service37;
|
|
166
|
+
const jobs = yield* Service67;
|
|
167
|
+
const environments = yield* Service52;
|
|
168
|
+
const locations = yield* Service64;
|
|
169
|
+
const sessions = yield* make13();
|
|
170
170
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
171
|
-
const result =
|
|
171
|
+
const result = Service30.of({
|
|
172
172
|
create: Effect.fn("Session.create")(function* (input) {
|
|
173
173
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
174
174
|
const recorded = yield* store.get(sessionID);
|
|
@@ -176,7 +176,7 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
176
176
|
return recorded;
|
|
177
177
|
const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
|
|
178
178
|
if (input.parentID && parent === undefined)
|
|
179
|
-
return yield* new
|
|
179
|
+
return yield* new NotFoundError9({ sessionID: input.parentID });
|
|
180
180
|
const location = parent?.location ?? input.location;
|
|
181
181
|
if (location === undefined)
|
|
182
182
|
return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
|
|
@@ -281,11 +281,11 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
281
281
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
282
282
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
283
283
|
const session = yield* result.get(input.sessionID);
|
|
284
|
-
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
284
|
+
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service49, instances), Effect.provideService(Service85, database), Effect.provideService(LLMClient.Service, llm));
|
|
285
285
|
}),
|
|
286
286
|
command: Effect.fn("Session.command")(function* (input) {
|
|
287
287
|
const session = yield* result.get(input.sessionID);
|
|
288
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
288
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service49, instances));
|
|
289
289
|
}),
|
|
290
290
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
291
291
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -327,27 +327,27 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
327
327
|
});
|
|
328
328
|
return result;
|
|
329
329
|
}));
|
|
330
|
-
var
|
|
331
|
-
service:
|
|
330
|
+
var node33 = Node.makeGlobalNode({
|
|
331
|
+
service: Service30,
|
|
332
332
|
layer,
|
|
333
333
|
deps: [
|
|
334
|
-
|
|
335
|
-
|
|
334
|
+
node70,
|
|
335
|
+
node54,
|
|
336
336
|
node89,
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
337
|
+
node88,
|
|
338
|
+
node86,
|
|
339
|
+
node48,
|
|
340
|
+
node39,
|
|
341
341
|
llmClient2,
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
342
|
+
node76,
|
|
343
|
+
node51,
|
|
344
|
+
node49,
|
|
345
|
+
node40,
|
|
346
|
+
node41,
|
|
347
|
+
node67,
|
|
348
348
|
FSUtil.node,
|
|
349
|
-
|
|
349
|
+
node85
|
|
350
350
|
]
|
|
351
351
|
});
|
|
352
352
|
|
|
353
|
-
export { ListAnchor2,
|
|
353
|
+
export { ListAnchor2, ListInput3, Service30, node33, exports_session };
|