@opencode-ai/core 0.0.0-dev-19145 → 0.0.0-dev-19146
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 +81 -81
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/catalog.js +82 -82
- package/dist/chunks/{file-mutation-0e0xafbb.js → skill-0e0xafbb.js} +2 -2
- package/dist/chunks/{file-mutation-f36g7wv5.js → skill-0f618yfd.js} +13 -13
- package/dist/chunks/{file-mutation-9ghjyck9.js → skill-0facaex5.js} +22 -22
- package/dist/chunks/{file-mutation-vaqgp3x5.js → skill-0fxpns9x.js} +12 -12
- package/dist/chunks/{file-mutation-0paq2nw3.js → skill-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-mutation-6h02bg3y.js → skill-0r4csqbj.js} +17 -17
- package/dist/chunks/{file-mutation-0s9ayhjt.js → skill-0s9ayhjt.js} +1 -1
- package/dist/chunks/{file-mutation-06zhcttw.js → skill-0ykzsznw.js} +7 -7
- package/dist/chunks/{file-mutation-5xeyd98q.js → skill-108gejms.js} +15 -15
- package/dist/chunks/{file-mutation-t0h3w515.js → skill-16yckt1f.js} +9 -9
- package/dist/chunks/{file-mutation-y724s5yt.js → skill-1bwaarmf.js} +4 -4
- package/dist/chunks/{file-mutation-y3f9wfx6.js → skill-1c2ffca4.js} +22 -22
- package/dist/chunks/{file-mutation-1ct4r87x.js → skill-1ct4r87x.js} +1 -1
- package/dist/chunks/{file-mutation-kh3skkyd.js → skill-1drfm42n.js} +11 -11
- package/dist/chunks/{file-mutation-22xjknbc.js → skill-1hr809fs.js} +15 -15
- package/dist/chunks/{file-mutation-7ry09vv5.js → skill-1hy241bm.js} +3 -3
- package/dist/chunks/{file-mutation-hx63qw1f.js → skill-1pja1p92.js} +52 -52
- package/dist/chunks/{file-mutation-m7a9j46m.js → skill-1q44t0as.js} +31 -31
- package/dist/chunks/{file-mutation-z7zpek7w.js → skill-1t58wnn1.js} +11 -11
- package/dist/chunks/{file-mutation-9g2qkkxg.js → skill-1thvpp6x.js} +27 -27
- package/dist/chunks/{file-mutation-tbhfrc53.js → skill-1v037h4n.js} +19 -19
- package/dist/chunks/{file-mutation-21r38tys.js → skill-21r38tys.js} +1 -1
- package/dist/chunks/{file-mutation-2402vzrj.js → skill-2402vzrj.js} +1 -1
- package/dist/chunks/{file-mutation-nx7brarr.js → skill-2404hjbe.js} +4 -4
- package/dist/chunks/{file-mutation-d2peqda8.js → skill-26hrw514.js} +25 -25
- package/dist/chunks/{file-mutation-29x78va6.js → skill-29x78va6.js} +2 -2
- package/dist/chunks/{file-mutation-2a5m3afh.js → skill-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-mutation-b8ae5phz.js → skill-2bq890yg.js} +13 -13
- package/dist/chunks/{file-mutation-2ht70gj7.js → skill-2ht70gj7.js} +1 -1
- package/dist/chunks/{file-mutation-2jqmte8w.js → skill-2jqmte8w.js} +2 -2
- package/dist/chunks/{file-mutation-9xpfpwey.js → skill-2jyb19dr.js} +5 -5
- package/dist/chunks/{file-mutation-bgt6msk1.js → skill-2pgk7vty.js} +2 -2
- package/dist/chunks/{file-mutation-g75qfjc9.js → skill-2qjw0q0a.js} +44 -44
- package/dist/chunks/{file-mutation-ykv0c0be.js → skill-2saxr98m.js} +30 -30
- package/dist/chunks/{file-mutation-txtxjcd6.js → skill-2tyh9zea.js} +18 -18
- package/dist/chunks/{file-mutation-v8gy3pjr.js → skill-2w6bfmvf.js} +1 -1
- package/dist/chunks/{file-mutation-k8feg6vv.js → skill-36mzbjn4.js} +4 -4
- package/dist/chunks/{file-mutation-xz6pmd8f.js → skill-377jfr6a.js} +17 -17
- package/dist/chunks/skill-38fdwfqw.js +247 -0
- package/dist/chunks/{file-mutation-3fc6dm20.js → skill-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-mutation-17yyz20s.js → skill-3gbyeyxe.js} +25 -25
- package/dist/chunks/{file-mutation-3hepkmqq.js → skill-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-mutation-bxnxw8jj.js → skill-3jj6bjb6.js} +5 -5
- package/dist/chunks/{file-mutation-pjvn5h54.js → skill-3mrm2hwf.js} +12 -12
- package/dist/chunks/{file-mutation-52exjygq.js → skill-3pecn819.js} +25 -25
- package/dist/chunks/{file-mutation-zc50sfb7.js → skill-3qbt326n.js} +9 -9
- package/dist/chunks/{file-mutation-3qzbfqsy.js → skill-3qzbfqsy.js} +2 -2
- package/dist/chunks/{file-mutation-3smtnn6g.js → skill-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-mutation-3tvqynh2.js → skill-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-mutation-sr4h8txr.js → skill-3v8n0207.js} +4 -4
- package/dist/chunks/{file-mutation-y07pc62d.js → skill-3z1xmqjc.js} +11 -11
- package/dist/chunks/{file-mutation-cq7p734r.js → skill-44bhcd4v.js} +23 -23
- package/dist/chunks/{file-mutation-454k5vzh.js → skill-454k5vzh.js} +1 -1
- package/dist/chunks/{file-mutation-4j4x9s5w.js → skill-4ebjt7kz.js} +27 -27
- package/dist/chunks/{file-mutation-45a3e49b.js → skill-4hdyv2zw.js} +6 -6
- package/dist/chunks/{file-mutation-qrpj1s4j.js → skill-4hjr9hb9.js} +29 -29
- package/dist/chunks/{file-mutation-j8swj2w1.js → skill-4kkev07m.js} +11 -11
- package/dist/chunks/{file-mutation-119my715.js → skill-4mwpxvm9.js} +15 -15
- package/dist/chunks/{file-mutation-4r2nyarf.js → skill-4r2nyarf.js} +1 -1
- package/dist/chunks/{file-mutation-z3s9j4q6.js → skill-505p5ry7.js} +12 -12
- package/dist/chunks/{file-mutation-4kda9sbw.js → skill-51rtrhk0.js} +10 -10
- package/dist/chunks/{file-mutation-txaenkad.js → skill-59hmewq5.js} +17 -17
- package/dist/chunks/{file-mutation-5daktx2q.js → skill-5daktx2q.js} +1 -1
- package/dist/chunks/{file-mutation-5fmxt4p5.js → skill-5fmxt4p5.js} +1 -1
- package/dist/chunks/{file-mutation-7rzac2j8.js → skill-5hbbg0tf.js} +16 -16
- package/dist/chunks/{file-mutation-5jvc5tg2.js → skill-5jvc5tg2.js} +1 -1
- package/dist/chunks/{file-mutation-sxhwk0c0.js → skill-61qb9z8b.js} +4 -4
- package/dist/chunks/{file-mutation-5aa0x91g.js → skill-63hy88sb.js} +26 -26
- package/dist/chunks/{file-mutation-xspyb9m3.js → skill-6926ty5t.js} +8 -8
- package/dist/chunks/{file-mutation-1ypdbbt4.js → skill-6chny00m.js} +43 -43
- package/dist/chunks/{file-mutation-zwj404z1.js → skill-6czbt3sh.js} +32 -32
- package/dist/chunks/{file-mutation-bbngg50h.js → skill-6vgms480.js} +21 -21
- package/dist/chunks/{file-mutation-t2ddn6kb.js → skill-6zfrtyfr.js} +32 -32
- package/dist/chunks/{file-mutation-pv0a80ht.js → skill-705hjevc.js} +24 -24
- package/dist/chunks/{file-mutation-3x6030n9.js → skill-711hfp6y.js} +2 -2
- package/dist/chunks/{file-mutation-72nftnjy.js → skill-72nftnjy.js} +2 -2
- package/dist/chunks/{file-mutation-7nxyxket.js → skill-768z0hjh.js} +1 -1
- package/dist/chunks/{file-mutation-ntfpb4pt.js → skill-77b3df6j.js} +11 -11
- package/dist/chunks/{file-mutation-7bmhse3q.js → skill-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-mutation-xqne8rgr.js → skill-7btjpst1.js} +8 -8
- package/dist/chunks/{file-mutation-7dqw4kz8.js → skill-7dqw4kz8.js} +1 -1
- package/dist/chunks/{file-mutation-ptrtafvx.js → skill-7g7xka39.js} +11 -11
- package/dist/chunks/{file-mutation-5dh6cndq.js → skill-7gwyswp8.js} +14 -14
- package/dist/chunks/{file-mutation-6nd37hr3.js → skill-7ng38tyy.js} +17 -17
- package/dist/chunks/{file-mutation-kx181zyf.js → skill-7t6f6eaq.js} +51 -51
- package/dist/chunks/{file-mutation-q1v8m6jv.js → skill-8230h201.js} +11 -11
- package/dist/chunks/{file-mutation-1kvgva6x.js → skill-82zka58v.js} +22 -22
- package/dist/chunks/{file-mutation-6dqhqmxd.js → skill-888k7gfv.js} +10 -10
- package/dist/chunks/{file-mutation-kkxc5154.js → skill-8dbsynwt.js} +4 -4
- package/dist/chunks/{file-mutation-qhmvtman.js → skill-8frzc6qw.js} +6 -6
- package/dist/chunks/{file-mutation-7cnkxtbd.js → skill-8hx3mbfc.js} +9 -9
- package/dist/chunks/{file-mutation-5es8c9fg.js → skill-8jewxnbd.js} +4 -4
- package/dist/chunks/{file-mutation-gb73cz2w.js → skill-8ph8xft0.js} +23 -23
- package/dist/chunks/{file-mutation-v28ws7kz.js → skill-8rrfe7cb.js} +13 -13
- package/dist/chunks/{file-mutation-6kza5psa.js → skill-91d7ewqk.js} +28 -28
- package/dist/chunks/{file-mutation-hhpzk61m.js → skill-93a8yfjt.js} +2 -2
- package/dist/chunks/{file-mutation-73dc4en3.js → skill-96zakvq3.js} +7 -7
- package/dist/chunks/{file-mutation-2kq45tcm.js → skill-98smnk5z.js} +12 -12
- package/dist/chunks/{file-mutation-bby8cgbn.js → skill-9ccg1j3a.js} +5 -5
- package/dist/chunks/{file-mutation-n79tw2ag.js → skill-9et72e7w.js} +7 -7
- package/dist/chunks/{file-mutation-qvbcabdc.js → skill-9qm9egsn.js} +2 -2
- package/dist/chunks/skill-9sh4wc5j.js +18 -0
- package/dist/chunks/{file-mutation-jzvq323k.js → skill-a1y2q22t.js} +58 -58
- package/dist/chunks/{file-mutation-vep9yay1.js → skill-a3x9xvd8.js} +4 -4
- package/dist/chunks/{file-mutation-aaet6srn.js → skill-aaet6srn.js} +2 -2
- package/dist/chunks/{file-mutation-dyqxbeha.js → skill-aaqac0b9.js} +11 -11
- package/dist/chunks/{file-mutation-7bh11fvr.js → skill-ab9f4t14.js} +24 -24
- package/dist/chunks/{file-mutation-mcx7a78c.js → skill-achegbeh.js} +10 -10
- package/dist/chunks/{file-mutation-crdp7enc.js → skill-ahcbzqnj.js} +21 -21
- package/dist/chunks/{file-mutation-apjnhj61.js → skill-aj7d9r5a.js} +3 -3
- package/dist/chunks/{file-mutation-yg7sb877.js → skill-ajtjthsy.js} +2 -2
- package/dist/chunks/{file-mutation-45b1kca6.js → skill-apz3xhc7.js} +25 -25
- package/dist/chunks/{file-mutation-r3xt2kax.js → skill-b2624nj0.js} +18 -18
- package/dist/chunks/{file-mutation-a2ew8a62.js → skill-b27vhd2z.js} +4 -4
- package/dist/chunks/{file-mutation-babn4frh.js → skill-b2r752qe.js} +11 -11
- package/dist/chunks/{file-mutation-13fpjj1h.js → skill-b2rxqb9q.js} +20 -20
- package/dist/chunks/{file-mutation-r062cge9.js → skill-b4j510f0.js} +41 -41
- package/dist/chunks/{file-mutation-b6gygkdw.js → skill-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-mutation-b9wsbatv.js → skill-b9wsbatv.js} +1 -1
- package/dist/chunks/{file-mutation-dfe8djrf.js → skill-bf0ztrs3.js} +4 -4
- package/dist/chunks/{file-mutation-h6hfrtqv.js → skill-bpghvxt7.js} +17 -17
- package/dist/chunks/{file-mutation-eesgpqrv.js → skill-c3x8qrt8.js} +16 -16
- package/dist/chunks/{file-mutation-c2sa0bfw.js → skill-c562961a.js} +11 -11
- package/dist/chunks/{file-mutation-zset28aw.js → skill-ck0n87y5.js} +87 -87
- package/dist/chunks/{file-mutation-986p65m9.js → skill-d1a1bt21.js} +5 -5
- package/dist/chunks/{file-mutation-xdff1234.js → skill-d70t4mkn.js} +57 -57
- package/dist/chunks/{file-mutation-g2gt0w0k.js → skill-d72308c8.js} +2 -2
- package/dist/chunks/{file-mutation-sjnqgbe6.js → skill-d8qsmb6k.js} +13 -13
- package/dist/chunks/{file-mutation-xkc72jxy.js → skill-d94dr7n2.js} +10 -10
- package/dist/chunks/{file-mutation-pd4v9smd.js → skill-dcwd2kjw.js} +13 -13
- package/dist/chunks/{file-mutation-fmf5kng9.js → skill-de8ypev3.js} +29 -29
- package/dist/chunks/{file-mutation-w9q489q5.js → skill-dnwcjnnq.js} +22 -22
- package/dist/chunks/{file-mutation-sm2vbrgr.js → skill-dw67r187.js} +8 -8
- package/dist/chunks/{file-mutation-ttq12bnp.js → skill-e0ek2j91.js} +17 -17
- package/dist/chunks/{file-mutation-e6v427vd.js → skill-e1hrx4vk.js} +2 -2
- package/dist/chunks/{file-mutation-4y9q5fy2.js → skill-e3t0axx9.js} +8 -8
- package/dist/chunks/skill-e3ze3pba.js +4 -0
- package/dist/chunks/{file-mutation-2s6dtgtx.js → skill-ebmahs1r.js} +35 -35
- package/dist/chunks/{file-mutation-9pk3p303.js → skill-ecthgzsh.js} +8 -8
- package/dist/chunks/{file-mutation-81x7eskd.js → skill-eph91qt2.js} +9 -9
- package/dist/chunks/{file-mutation-3ty3h0mk.js → skill-eqzm8707.js} +6 -6
- package/dist/chunks/{file-mutation-ez5b8bq3.js → skill-ez5b8bq3.js} +1 -1
- package/dist/chunks/{file-mutation-2c009s0k.js → skill-f4d7scyv.js} +29 -29
- package/dist/chunks/{file-mutation-ts6w764v.js → skill-fbtenrpe.js} +8 -8
- package/dist/chunks/{file-mutation-4nf6feq9.js → skill-fdm74xhe.js} +12 -12
- package/dist/chunks/{file-mutation-g20rb2e2.js → skill-fkxfpsqq.js} +15 -15
- package/dist/chunks/{file-mutation-zez4nnyf.js → skill-fqbqb51f.js} +10 -10
- package/dist/chunks/{file-mutation-3ks4yd53.js → skill-fsh8xs9r.js} +9 -9
- package/dist/chunks/{file-mutation-fxbjtjnd.js → skill-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-mutation-fxypknc8.js → skill-fxypknc8.js} +1 -1
- package/dist/chunks/{file-mutation-shfaz11f.js → skill-fy6n5twb.js} +4 -4
- package/dist/chunks/{file-mutation-fz1pdqz4.js → skill-fz1pdqz4.js} +2 -2
- package/dist/chunks/{file-mutation-av1j229j.js → skill-g3m9axkp.js} +4 -4
- package/dist/chunks/{file-mutation-8xta96ty.js → skill-g9k1ggqm.js} +6 -6
- package/dist/chunks/{file-mutation-gq2dhm0f.js → skill-gb2wy085.js} +6 -6
- package/dist/chunks/{file-mutation-pcsdq11k.js → skill-gd0s6wzk.js} +16 -16
- package/dist/chunks/{file-mutation-gd4qta3r.js → skill-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-mutation-9stdvdcq.js → skill-geg7b9pt.js} +20 -20
- package/dist/chunks/{file-mutation-tmd7jntm.js → skill-gfwtb2jm.js} +39 -39
- package/dist/chunks/{file-mutation-01vtss9b.js → skill-gpcgjjbg.js} +7 -7
- package/dist/chunks/{file-mutation-7w3s9kd0.js → skill-gzbkpp9m.js} +4 -4
- package/dist/chunks/{file-mutation-dkvwewr4.js → skill-h25myfp2.js} +23 -23
- package/dist/chunks/{file-mutation-h6vf3j39.js → skill-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-mutation-heyhwy2w.js → skill-heyhwy2w.js} +1 -1
- package/dist/chunks/{file-mutation-txs58e9j.js → skill-hfzd6k88.js} +36 -36
- package/dist/chunks/{file-mutation-g2dy4bvs.js → skill-hrvm11jt.js} +3 -3
- package/dist/chunks/skill-hwjyq29s.js +460 -0
- package/dist/chunks/{file-mutation-enamxrz2.js → skill-hzdqfeee.js} +2 -2
- package/dist/chunks/{file-mutation-n29tzj9t.js → skill-hzscb7xf.js} +23 -23
- package/dist/chunks/{file-mutation-n9bnhgwz.js → skill-j17p3z02.js} +17 -17
- package/dist/chunks/{file-mutation-zzjwypeh.js → skill-j3pby61b.js} +6 -6
- package/dist/chunks/{file-mutation-rx48f0w5.js → skill-j97x952a.js} +39 -39
- package/dist/chunks/{file-mutation-hnyf01b0.js → skill-je9hks3h.js} +5 -5
- package/dist/chunks/{file-mutation-ww2ebcpy.js → skill-jkqz6tyv.js} +7 -7
- package/dist/chunks/{file-mutation-raxt0ax7.js → skill-jmwgnw0m.js} +9 -9
- package/dist/chunks/{file-mutation-7ng7exzm.js → skill-jnmmvqjs.js} +1 -1
- package/dist/chunks/{file-mutation-kx4bd44t.js → skill-jtvd6mbe.js} +6 -6
- package/dist/chunks/{file-mutation-jwcy2c2z.js → skill-jwcy2c2z.js} +1 -1
- package/dist/chunks/{file-mutation-326th3fr.js → skill-jxbbcmy5.js} +7 -7
- package/dist/chunks/{file-mutation-k4bwy1x5.js → skill-k4bwy1x5.js} +1 -1
- package/dist/chunks/{file-mutation-dnys7mv6.js → skill-k8cz2ymp.js} +3 -3
- package/dist/chunks/{file-mutation-ev7pq6rs.js → skill-ka1d01ec.js} +5 -5
- package/dist/chunks/{file-mutation-fmhb14bc.js → skill-kcj2w5je.js} +9 -9
- package/dist/chunks/{file-mutation-kg06axw8.js → skill-kg06axw8.js} +1 -1
- package/dist/chunks/{file-mutation-ba9wjnjy.js → skill-krd5cmp0.js} +6 -6
- package/dist/chunks/{file-mutation-pv1dbmgw.js → skill-krvqxvv7.js} +8 -8
- package/dist/chunks/{file-mutation-kvsjn1dr.js → skill-kvsjn1dr.js} +2 -2
- package/dist/chunks/{file-mutation-yp0nmk3h.js → skill-kyrcqpxm.js} +22 -22
- package/dist/chunks/{file-mutation-tdpndm1c.js → skill-kzdcqyn1.js} +5 -5
- package/dist/chunks/{file-mutation-xw0r27ex.js → skill-m1ggyr73.js} +4 -4
- package/dist/chunks/{file-mutation-mpsa3nes.js → skill-m9p8h4jk.js} +12 -12
- package/dist/chunks/{file-mutation-m9w0rfyh.js → skill-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-mutation-k7g5btme.js → skill-mq6ebpf7.js} +170 -170
- package/dist/chunks/{file-mutation-mtcjf44p.js → skill-mtcjf44p.js} +1 -1
- package/dist/chunks/{file-mutation-f12kng77.js → skill-n4zjznhm.js} +8 -8
- package/dist/chunks/{file-mutation-4d0qyyca.js → skill-nf7qpkg2.js} +32 -32
- package/dist/chunks/{file-mutation-sbnvhk9g.js → skill-nj1fe1jb.js} +4 -4
- package/dist/chunks/{file-mutation-9vjz8vaq.js → skill-pcqms43p.js} +26 -26
- package/dist/chunks/{file-mutation-440fe95r.js → skill-pgw35ab3.js} +29 -29
- package/dist/chunks/{file-mutation-pjvnvgmy.js → skill-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-mutation-pknna89w.js → skill-pknna89w.js} +1 -1
- package/dist/chunks/{file-mutation-qbyj8qxd.js → skill-pt7wq7x0.js} +1 -1
- package/dist/chunks/{file-mutation-9zg8we79.js → skill-q4thqt71.js} +20 -20
- package/dist/chunks/{file-mutation-c47pbdfk.js → skill-qfv98y5r.js} +29 -29
- package/dist/chunks/{file-mutation-ftvhvnyg.js → skill-qn08p3qt.js} +80 -80
- package/dist/chunks/{file-mutation-cq35m6me.js → skill-qq0tkz6q.js} +3 -3
- package/dist/chunks/{file-mutation-f9x6rp1j.js → skill-qs4avvkb.js} +1 -1
- package/dist/chunks/{file-mutation-qsdy395h.js → skill-qsdy395h.js} +1 -1
- package/dist/chunks/{file-mutation-cdra1vae.js → skill-qweq2v4b.js} +11 -11
- package/dist/chunks/{file-mutation-cpy6gm2a.js → skill-qz49fwgp.js} +4 -4
- package/dist/chunks/{file-mutation-mfv0zw27.js → skill-r5w2ssxe.js} +9 -9
- package/dist/chunks/{file-mutation-mvfsc1pv.js → skill-r5x6zcsm.js} +3 -3
- package/dist/chunks/{file-mutation-r8dhm0tv.js → skill-r8dhm0tv.js} +1 -1
- package/dist/chunks/{file-mutation-rae26gbb.js → skill-rae26gbb.js} +1 -1
- package/dist/chunks/{file-mutation-9rye7j78.js → skill-reqwpk3p.js} +3 -3
- package/dist/chunks/{file-mutation-gvqp5mcx.js → skill-rkhn366t.js} +18 -18
- package/dist/chunks/{file-mutation-4b1sg654.js → skill-rme1whxk.js} +13 -13
- package/dist/chunks/{file-mutation-dkyd48ce.js → skill-rrnwvmz2.js} +32 -32
- package/dist/chunks/{file-mutation-64z8z5x5.js → skill-rvb2zp0m.js} +6 -6
- package/dist/chunks/{file-mutation-m7xx730c.js → skill-rz2zvdba.js} +13 -13
- package/dist/chunks/{file-mutation-9295dqc9.js → skill-s7b9zbm6.js} +11 -11
- package/dist/chunks/{file-mutation-sba4qhjf.js → skill-sba4qhjf.js} +1 -1
- package/dist/chunks/{file-mutation-fmthvvtq.js → skill-t4cav981.js} +35 -35
- package/dist/chunks/{file-mutation-wwr3ap19.js → skill-t4rggybx.js} +25 -25
- package/dist/chunks/{file-mutation-2sk5e31d.js → skill-tap9rc33.js} +30 -30
- package/dist/chunks/{file-mutation-tazgh4e4.js → skill-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-mutation-tcezcvh9.js → skill-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-mutation-4wbn6k17.js → skill-te0e5arw.js} +9 -9
- package/dist/chunks/{file-mutation-pez43mez.js → skill-tf6cqnqn.js} +7 -7
- package/dist/chunks/{file-mutation-tjykrgmx.js → skill-tjykrgmx.js} +1 -1
- package/dist/chunks/{file-mutation-hpbtcqba.js → skill-tppvcy65.js} +9 -9
- package/dist/chunks/{file-mutation-76smfv87.js → skill-tptg6stc.js} +7 -7
- package/dist/chunks/{file-mutation-shp7mea9.js → skill-tpvznqg8.js} +7 -7
- package/dist/chunks/{file-mutation-k9tare26.js → skill-tsjc1en0.js} +31 -31
- package/dist/chunks/{file-mutation-2t77ycv7.js → skill-tzcj45k0.js} +24 -24
- package/dist/chunks/{file-mutation-0tqc2v94.js → skill-v5sp78z3.js} +3 -3
- package/dist/chunks/{file-mutation-vjwmbaty.js → skill-v6whbxwh.js} +28 -28
- package/dist/chunks/{file-mutation-etamtscj.js → skill-v7j1z2wq.js} +5 -5
- package/dist/chunks/{file-mutation-s4z7bqeh.js → skill-vbncmk2w.js} +66 -66
- package/dist/chunks/{file-mutation-dsstwbg7.js → skill-vmaddhmt.js} +16 -16
- package/dist/chunks/{file-mutation-k0wt6c02.js → skill-vsgh5kw9.js} +15 -15
- package/dist/chunks/{file-mutation-3tv1tpm6.js → skill-w23s81zh.js} +42 -42
- package/dist/chunks/{file-mutation-6abnk40k.js → skill-w3jym6ha.js} +6 -6
- package/dist/chunks/{file-mutation-w3wsvvr9.js → skill-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-mutation-j67hz4sr.js → skill-w5c7hha5.js} +32 -32
- package/dist/chunks/{file-mutation-wd87259q.js → skill-wd87259q.js} +1 -1
- package/dist/chunks/{file-mutation-k0g96r8n.js → skill-wkxv5gdj.js} +4 -4
- package/dist/chunks/{file-mutation-91x3tn6q.js → skill-wst6vyk0.js} +15 -15
- package/dist/chunks/{file-mutation-99vgbsyy.js → skill-ww8c32hp.js} +2 -2
- package/dist/chunks/{file-mutation-0egemd82.js → skill-wwb03vrn.js} +9 -9
- package/dist/chunks/{file-mutation-hfr11a94.js → skill-x00g5gps.js} +9 -9
- package/dist/chunks/{file-mutation-x1ezjp6w.js → skill-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-mutation-qzgw1bvz.js → skill-x40q6527.js} +24 -24
- package/dist/chunks/{file-mutation-0vyk9fdn.js → skill-xat1tws6.js} +44 -44
- package/dist/chunks/{file-mutation-z7e42eas.js → skill-xbehdes5.js} +23 -23
- package/dist/chunks/{file-mutation-2ed8104q.js → skill-xc2m3snf.js} +46 -46
- package/dist/chunks/skill-xqf4p8hn.js +22 -0
- package/dist/chunks/{file-mutation-5c2dffx6.js → skill-xvtcmct4.js} +29 -29
- package/dist/chunks/{file-mutation-dek5y14m.js → skill-y0gwj0vf.js} +4 -4
- package/dist/chunks/{file-mutation-y1fvbwt7.js → skill-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-mutation-z48dvxa8.js → skill-y6zr9m49.js} +1 -1
- package/dist/chunks/{file-mutation-yfbd16n1.js → skill-yfbd16n1.js} +2 -2
- package/dist/chunks/{file-mutation-yhtqjkzd.js → skill-yhtqjkzd.js} +1 -1
- package/dist/chunks/{file-mutation-hgeb4s25.js → skill-yj3e99fm.js} +1 -1
- package/dist/chunks/{file-mutation-tnxkc6a0.js → skill-yq07z3qa.js} +37 -37
- package/dist/chunks/{file-mutation-jc9sh6gt.js → skill-yttv0zt4.js} +16 -16
- package/dist/chunks/{file-mutation-q732cfnv.js → skill-yxckwajw.js} +17 -17
- package/dist/chunks/{file-mutation-mv29cp6n.js → skill-z0nz70kd.js} +28 -28
- package/dist/chunks/{file-mutation-a975ej57.js → skill-z0syrazk.js} +28 -28
- package/dist/chunks/{file-mutation-js2ntk6a.js → skill-z100w0rg.js} +13 -13
- package/dist/chunks/{file-mutation-z1k01bn4.js → skill-z1k01bn4.js} +2 -2
- package/dist/chunks/{file-mutation-cv89hz1h.js → skill-z62gh9db.js} +35 -35
- package/dist/chunks/{file-mutation-kxnt8qcg.js → skill-zajwd6at.js} +5 -5
- package/dist/chunks/{file-mutation-3gvz0573.js → skill-zqgjvfag.js} +7 -7
- package/dist/chunks/{file-mutation-mfzandgw.js → skill-zr5bq73b.js} +29 -29
- package/dist/chunks/{file-mutation-zxq2ej10.js → skill-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +114 -114
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +116 -116
- package/dist/config/plugin/image.js +114 -114
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +114 -114
- package/dist/config/plugin/mcp.js +121 -121
- package/dist/config/plugin/policy.js +113 -113
- package/dist/config/plugin/provider.js +112 -112
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +113 -113
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +132 -132
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +110 -110
- package/dist/config/plugin/tool-output.js +116 -116
- package/dist/config/plugin/websearch.js +112 -112
- package/dist/config/plugin/worktree.js +117 -117
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +116 -116
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +352 -352
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +218 -218
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +95 -95
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +100 -100
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +92 -92
- package/dist/git.js +7 -7
- 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 +3 -3
- 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/id/id.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 +345 -345
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +86 -86
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +346 -346
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +102 -102
- package/dist/mcp/instructions.js +118 -118
- package/dist/mcp/oauth.js +2 -2
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +85 -85
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +107 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +96 -96
- package/dist/plugin/command.js +93 -93
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +320 -320
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +2 -2
- package/dist/plugin/plan.js +96 -96
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +79 -79
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +75 -75
- package/dist/plugin/provider/lmstudio.js +114 -114
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +78 -78
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +77 -77
- package/dist/plugin/provider/opencode.js +75 -75
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +76 -76
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +154 -154
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +335 -335
- package/dist/plugin/system-prompt.js +1 -1
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +111 -111
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +125 -125
- package/dist/session/context.js +143 -143
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +12 -12
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +73 -73
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +91 -91
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +124 -124
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +99 -99
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +85 -85
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +117 -117
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +147 -147
- package/dist/session/to-session-error.js +105 -105
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +9 -9
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +99 -99
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +86 -86
- 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 +117 -117
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +112 -112
- package/dist/tool/plugin/question.js +95 -95
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +208 -208
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +106 -106
- package/dist/tool/plugin/write.js +114 -114
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +9 -9
- package/dist/util/error.js +1 -1
- 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/attachment.js +2 -2
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +78 -78
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +338 -338
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +7 -7
- package/dist/chunks/file-mutation-7zk4hah4.js +0 -4
- package/dist/chunks/file-mutation-chcw50cn.js +0 -460
- package/dist/chunks/file-mutation-dxj72tfx.js +0 -18
- package/dist/chunks/file-mutation-kahasfee.js +0 -247
- package/dist/chunks/file-mutation-wsejc6g3.js +0 -22
- /package/dist/chunks/{file-mutation-0fabt78z.js → skill-0fabt78z.js} +0 -0
- /package/dist/chunks/{file-mutation-0qkdqm5v.js → skill-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-mutation-0zkw76rk.js → skill-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-mutation-17cy0kzp.js → skill-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-mutation-1cnp2v09.js → skill-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-mutation-1kg9ymc8.js → skill-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-mutation-2710q6r3.js → skill-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-mutation-2axfhc9x.js → skill-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-mutation-2c3vjs8z.js → skill-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-mutation-359p4xyc.js → skill-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-mutation-3asan66x.js → skill-3asan66x.js} +0 -0
- /package/dist/chunks/{file-mutation-3t738kvx.js → skill-3t738kvx.js} +0 -0
- /package/dist/chunks/{file-mutation-3v8g72cx.js → skill-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-mutation-3wcehsnq.js → skill-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-mutation-41nvscxy.js → skill-41nvscxy.js} +0 -0
- /package/dist/chunks/{file-mutation-43n2bw4t.js → skill-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-mutation-4knz6hnm.js → skill-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-mutation-4y7fprxs.js → skill-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-mutation-53557ph1.js → skill-53557ph1.js} +0 -0
- /package/dist/chunks/{file-mutation-550bvhaj.js → skill-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-mutation-5qd3pb7m.js → skill-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{file-mutation-6prwharc.js → skill-6prwharc.js} +0 -0
- /package/dist/chunks/{file-mutation-7akdwqpd.js → skill-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-mutation-7m9af43g.js → skill-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-mutation-822emrt2.js → skill-822emrt2.js} +0 -0
- /package/dist/chunks/{file-mutation-88xbtdfr.js → skill-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-mutation-8n3pysct.js → skill-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-mutation-982e01ww.js → skill-982e01ww.js} +0 -0
- /package/dist/chunks/{file-mutation-9a4afbnw.js → skill-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-mutation-9rqn6x4v.js → skill-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-mutation-a1tpkmh4.js → skill-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{file-mutation-af5trqkr.js → skill-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-mutation-afrmfg78.js → skill-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-mutation-aqzs7mqg.js → skill-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-mutation-atq7p7m5.js → skill-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-mutation-bkyjaxrp.js → skill-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-mutation-bmr6ed5q.js → skill-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-mutation-cf4snx6d.js → skill-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-mutation-cvy3z8tj.js → skill-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-mutation-d9fn303g.js → skill-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-mutation-d9jj8t3e.js → skill-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-mutation-dajrwvna.js → skill-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-mutation-dap0rakb.js → skill-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-mutation-df08tz66.js → skill-df08tz66.js} +0 -0
- /package/dist/chunks/{file-mutation-dy18nga0.js → skill-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-mutation-e5kj55wp.js → skill-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-mutation-e73j6tqm.js → skill-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-mutation-eh3zwz77.js → skill-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-mutation-emrn6kk6.js → skill-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-mutation-f0mxakyp.js → skill-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-mutation-f6n9ztr4.js → skill-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-mutation-faypxj3z.js → skill-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-mutation-fd410y7t.js → skill-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-mutation-fxgpk5d8.js → skill-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-mutation-g4wezp1m.js → skill-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-mutation-g86h250q.js → skill-g86h250q.js} +0 -0
- /package/dist/chunks/{file-mutation-gebd4c9n.js → skill-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-mutation-hk9envan.js → skill-hk9envan.js} +0 -0
- /package/dist/chunks/{file-mutation-j2ntwpah.js → skill-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-mutation-j5zkgpj8.js → skill-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-mutation-jr7sbwjy.js → skill-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-mutation-jwfs4k6c.js → skill-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-mutation-jzg6c2d5.js → skill-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mutation-mntxs535.js → skill-mntxs535.js} +0 -0
- /package/dist/chunks/{file-mutation-mp448xyj.js → skill-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-mutation-msx8hqn2.js → skill-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-mutation-n05xt0ee.js → skill-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-mutation-n3j8tn72.js → skill-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-mutation-njntx4h6.js → skill-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-mutation-p8qxwesx.js → skill-p8qxwesx.js} +0 -0
- /package/dist/chunks/{file-mutation-q3sfg36h.js → skill-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-mutation-q74kybfr.js → skill-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-mutation-qaymkmh1.js → skill-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-mutation-qb87gjwd.js → skill-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-mutation-qfa1cgps.js → skill-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-mutation-qrg20bc0.js → skill-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-mutation-rcb2kzg1.js → skill-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-mutation-sdp7kfr6.js → skill-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-mutation-se0s1eqw.js → skill-se0s1eqw.js} +0 -0
- /package/dist/chunks/{file-mutation-sk3qaz4a.js → skill-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-mutation-ssg3fenm.js → skill-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-mutation-twg0f83k.js → skill-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-mutation-w803qqfp.js → skill-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-mutation-wer8tq1h.js → skill-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-mutation-wtztk69x.js → skill-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-mutation-x0ckcb58.js → skill-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-mutation-x1b8g1yb.js → skill-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{file-mutation-x61499pn.js → skill-x61499pn.js} +0 -0
- /package/dist/chunks/{file-mutation-y44na4kk.js → skill-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-mutation-y8cydn3q.js → skill-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-mutation-ygaqb7jw.js → skill-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-mutation-z9919s4g.js → skill-z9919s4g.js} +0 -0
- /package/dist/chunks/{file-mutation-zbjnn3ac.js → skill-zbjnn3ac.js} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./skill-p8qxwesx.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service78,
|
|
9
|
+
node83
|
|
10
|
+
} from "./skill-888k7gfv.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service76,
|
|
13
|
+
node81
|
|
14
|
+
} from "./skill-0r4csqbj.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./skill-kg06axw8.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./skill-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error2,
|
|
26
|
+
ID: () => ID3,
|
|
27
|
+
Service: () => Service38,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node41,
|
|
30
30
|
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
@@ -34,22 +34,22 @@ import path from "path";
|
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode-ai/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID3 } from "@opencode-ai/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode-ai/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error2 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service38 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service78;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service76;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID3.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -122,25 +122,25 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
122
122
|
for (const [file, snapshot] of input.files) {
|
|
123
123
|
const absolute = path.resolve(worktree, file);
|
|
124
124
|
if (!FSUtil.contains(worktree, absolute))
|
|
125
|
-
return yield* new
|
|
125
|
+
return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
126
126
|
files.set(file, TreeID2.make(snapshot));
|
|
127
127
|
}
|
|
128
128
|
return files;
|
|
129
129
|
});
|
|
130
130
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
131
131
|
if (!enabled())
|
|
132
|
-
return yield* new
|
|
132
|
+
return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
|
|
133
133
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
134
134
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service38.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
137
137
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
138
|
-
var
|
|
139
|
-
service:
|
|
138
|
+
var node41 = makeLocationNode({
|
|
139
|
+
service: Service38,
|
|
140
140
|
layer,
|
|
141
|
-
deps: [FSUtil.node,
|
|
141
|
+
deps: [FSUtil.node, node83, Global.node, node81]
|
|
142
142
|
});
|
|
143
|
-
var noopLayer3 = Layer.succeed(
|
|
143
|
+
var noopLayer3 = Layer.succeed(Service38, Service38.of({
|
|
144
144
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
145
145
|
reload: () => Effect.void,
|
|
146
146
|
capture: () => Effect.undefined,
|
|
@@ -149,13 +149,13 @@ var noopLayer3 = Layer.succeed(Service41, Service41.of({
|
|
|
149
149
|
restore: () => Effect.void
|
|
150
150
|
}));
|
|
151
151
|
function failure(operation, cause) {
|
|
152
|
-
if (cause instanceof
|
|
152
|
+
if (cause instanceof Error2 && cause.operation === operation)
|
|
153
153
|
return cause;
|
|
154
|
-
return new
|
|
154
|
+
return new Error2({
|
|
155
155
|
operation,
|
|
156
156
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
157
157
|
cause
|
|
158
158
|
});
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
export {
|
|
161
|
+
export { ID3, Error2, Service38, node41, noopLayer3, exports_snapshot2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
6
|
var exports_permission2 = {};
|
|
7
7
|
__export(exports_permission2, {
|
|
8
8
|
Action: () => Action2,
|
|
9
9
|
ConfigPermissionV1: () => exports_permission2,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info22,
|
|
11
11
|
Object: () => Object2,
|
|
12
12
|
Rule: () => Rule3
|
|
13
13
|
});
|
|
@@ -33,9 +33,9 @@ var InputObject = Schema.StructWithRest(Schema.Struct({
|
|
|
33
33
|
}), [Schema.Record(Schema.String, Rule3)]);
|
|
34
34
|
var InputSchema = Schema.Union([Action2, InputObject]);
|
|
35
35
|
var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
|
|
36
|
-
var
|
|
36
|
+
var Info22 = InputSchema.pipe(Schema.decodeTo(InputObject, {
|
|
37
37
|
decode: SchemaGetter.transform(normalizeInput),
|
|
38
38
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
39
39
|
})).annotate({ identifier: "PermissionConfig" });
|
|
40
40
|
|
|
41
|
-
export { Action2, Object2, Rule3,
|
|
41
|
+
export { Action2, Object2, Rule3, Info22, exports_permission2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node85
|
|
4
|
+
} from "./skill-qweq2v4b.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./skill-jwcy2c2z.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service79,
|
|
10
|
+
node84
|
|
11
|
+
} from "./skill-vmaddhmt.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./skill-mntxs535.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./skill-982e01ww.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionSchema2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./skill-qq0tkz6q.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessageTable2,
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./skill-hrvm11jt.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./skill-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/session/inbox.ts
|
|
30
30
|
var exports_inbox = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_inbox, {
|
|
|
32
32
|
Compaction: () => Compaction2,
|
|
33
33
|
CompactionPayload: () => CompactionPayload2,
|
|
34
34
|
Delivery: () => Delivery2,
|
|
35
|
-
Info: () =>
|
|
35
|
+
Info: () => Info4,
|
|
36
36
|
Item: () => Item2,
|
|
37
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
38
38
|
Move: () => Move2,
|
|
39
39
|
MovePayload: () => MovePayload2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service22,
|
|
41
41
|
SessionInbox: () => exports_inbox,
|
|
42
42
|
Synthetic: () => Synthetic2,
|
|
43
43
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -45,12 +45,12 @@ __export(exports_inbox, {
|
|
|
45
45
|
UserPayload: () => UserPayload2,
|
|
46
46
|
find: () => find2,
|
|
47
47
|
has: () => has2,
|
|
48
|
-
layer: () =>
|
|
48
|
+
layer: () => layer10,
|
|
49
49
|
list: () => list3,
|
|
50
|
-
make: () =>
|
|
50
|
+
make: () => make13,
|
|
51
51
|
moveIDs: () => moveIDs2,
|
|
52
52
|
nextPromotable: () => nextPromotable2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node26,
|
|
54
54
|
projectAdmitted: () => projectAdmitted2,
|
|
55
55
|
projectCancelled: () => projectCancelled2,
|
|
56
56
|
projectDelivered: () => projectDelivered2,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
Compaction as Compaction2,
|
|
66
66
|
CompactionPayload as CompactionPayload2,
|
|
67
67
|
Delivery as Delivery2,
|
|
68
|
-
Info as
|
|
68
|
+
Info as Info4,
|
|
69
69
|
Item as Item2,
|
|
70
70
|
Move as Move2,
|
|
71
71
|
MovePayload as MovePayload2,
|
|
@@ -151,12 +151,12 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
151
151
|
return yield* new LifecycleConflict2({ id });
|
|
152
152
|
});
|
|
153
153
|
|
|
154
|
-
class
|
|
154
|
+
class Service22 extends Context.Service()("@opencode/SessionInbox") {
|
|
155
155
|
}
|
|
156
|
-
var
|
|
157
|
-
const database = yield*
|
|
156
|
+
var make13 = Effect.fn("SessionInbox.make")(function* () {
|
|
157
|
+
const database = yield* Service80;
|
|
158
158
|
const db = database.db;
|
|
159
|
-
const bus = yield*
|
|
159
|
+
const bus = yield* Service79;
|
|
160
160
|
const reconcile = Effect.fn("SessionInbox.reconcile")(function* (request) {
|
|
161
161
|
const existing = (yield* find2(db, request.id)) ?? (yield* promotedFromMessage(db, request.sessionID, request.id, request.delivery));
|
|
162
162
|
if (existing === undefined)
|
|
@@ -173,7 +173,7 @@ var make14 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
173
173
|
inboxID: request.id,
|
|
174
174
|
sessionID: request.sessionID,
|
|
175
175
|
item: request.item
|
|
176
|
-
}).pipe(Effect.map((event) =>
|
|
176
|
+
}).pipe(Effect.map((event) => Info4.make({
|
|
177
177
|
id: request.id,
|
|
178
178
|
sessionID: request.sessionID,
|
|
179
179
|
timeCreated: DateTime.makeUnsafe(event.created),
|
|
@@ -227,8 +227,8 @@ var make14 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
227
227
|
queue
|
|
228
228
|
};
|
|
229
229
|
});
|
|
230
|
-
var
|
|
231
|
-
var
|
|
230
|
+
var layer10 = Layer.effect(Service22, make13());
|
|
231
|
+
var node26 = makeGlobalNode({ service: Service22, layer: layer10, deps: [node85, node84] });
|
|
232
232
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
233
233
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
234
234
|
if (message !== undefined)
|
|
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
326
326
|
return rows;
|
|
327
327
|
}));
|
|
328
328
|
|
|
329
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
329
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info4, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service22, make13, layer10, node26, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,53 +1,53 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./skill-vmaddhmt.js";
|
|
1
5
|
import {
|
|
2
6
|
Service78,
|
|
3
7
|
node83
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Service69,
|
|
7
|
-
node74
|
|
8
|
-
} from "./file-mutation-6dqhqmxd.js";
|
|
8
|
+
} from "./skill-888k7gfv.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service76,
|
|
11
|
+
node81
|
|
12
|
+
} from "./skill-0r4csqbj.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./skill-9sh4wc5j.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service67,
|
|
18
|
+
node71
|
|
19
|
+
} from "./skill-q4thqt71.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node16
|
|
22
|
+
} from "./skill-kyrcqpxm.js";
|
|
23
23
|
import {
|
|
24
24
|
Service7,
|
|
25
25
|
node10
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./skill-fz1pdqz4.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./skill-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
32
|
var exports_location_watcher = {};
|
|
33
33
|
__export(exports_location_watcher, {
|
|
34
34
|
LocationWatcher: () => exports_location_watcher,
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
Service: () => Service3,
|
|
36
|
+
node: () => node5
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode-ai/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service3 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
48
|
-
const bus = yield*
|
|
45
|
+
var layer = Layer.effect(Service3, Effect.gen(function* () {
|
|
46
|
+
const location = yield* Service76;
|
|
47
|
+
const watcher = yield* Service67;
|
|
48
|
+
const bus = yield* Service79;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service78;
|
|
51
51
|
const policy = yield* Service7;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service3.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node5 = makeLocationNode({
|
|
106
|
+
service: Service3,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node71, FSUtil.node, node81, node83, node84, node16, node10]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service3, node5, exports_location_watcher };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load4
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-5qd3pb7m.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./skill-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event17,
|
|
15
15
|
Native: () => Native3,
|
|
16
16
|
Options: () => Options8,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service67,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured9,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer25,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node71,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper";
|
|
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event17 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
39
|
return createWrapper(load4());
|
|
@@ -57,14 +57,14 @@ var Options8 = Schema.Struct({
|
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service67 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer25 = (options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service67.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer21 = (options) => Layer.effect(Service57, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service67.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer25().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service67).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service67, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured9(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service67, layer: layer25(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node71 = configured9();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event17, hasNativeBinding2, Native3, Options8, Service67, Test3, layer25, testLayer3, nativeLayer2, nativeNode2, configured9, node71, exports_watcher };
|
|
@@ -1,73 +1,73 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service72
|
|
3
|
+
} from "./skill-ab9f4t14.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service59,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./skill-rz2zvdba.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service17
|
|
11
|
+
} from "./skill-fkxfpsqq.js";
|
|
12
12
|
import {
|
|
13
13
|
externalDirectoryPermission2,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service16
|
|
15
|
+
} from "./skill-c3x8qrt8.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service56
|
|
18
|
+
} from "./skill-d70t4mkn.js";
|
|
19
19
|
import {
|
|
20
20
|
fileDiff2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./skill-6prwharc.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./skill-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/tool/plugin/write.ts
|
|
27
27
|
var exports_write = {};
|
|
28
28
|
__export(exports_write, {
|
|
29
|
-
Input: () =>
|
|
30
|
-
Output: () =>
|
|
31
|
-
Plugin: () =>
|
|
29
|
+
Input: () => Input9,
|
|
30
|
+
Output: () => Output8,
|
|
31
|
+
Plugin: () => Plugin41,
|
|
32
32
|
WriteTool: () => exports_write,
|
|
33
|
-
name: () =>
|
|
33
|
+
name: () => name9,
|
|
34
34
|
toModelContent: () => toModelContent5
|
|
35
35
|
});
|
|
36
36
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
37
37
|
import { Effect, Schema } from "effect";
|
|
38
38
|
import { Bom } from "@opencode-ai/util/bom";
|
|
39
|
-
var
|
|
40
|
-
var
|
|
39
|
+
var name9 = "write";
|
|
40
|
+
var Input9 = Schema.Struct({
|
|
41
41
|
path: Schema.String.annotate({
|
|
42
42
|
description: "Path to the file to write to"
|
|
43
43
|
}),
|
|
44
44
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
45
45
|
});
|
|
46
|
-
var
|
|
46
|
+
var Output8 = Schema.Struct({
|
|
47
47
|
operation: Schema.Literal("write"),
|
|
48
48
|
target: Schema.String,
|
|
49
49
|
resource: Schema.String,
|
|
50
50
|
existed: Schema.Boolean
|
|
51
51
|
});
|
|
52
52
|
var toModelContent5 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
53
|
-
var
|
|
53
|
+
var Plugin41 = {
|
|
54
54
|
id: "opencode.tool.write",
|
|
55
55
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
56
|
-
const mutation = yield*
|
|
57
|
-
const fileMutation = yield*
|
|
58
|
-
const environment = yield*
|
|
59
|
-
const formatter = yield*
|
|
60
|
-
const permission = yield*
|
|
56
|
+
const mutation = yield* Service16;
|
|
57
|
+
const fileMutation = yield* Service59;
|
|
58
|
+
const environment = yield* Service72;
|
|
59
|
+
const formatter = yield* Service17;
|
|
60
|
+
const permission = yield* Service56;
|
|
61
61
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
62
|
-
name:
|
|
62
|
+
name: name9,
|
|
63
63
|
options: { codemode: false, permission: "edit" },
|
|
64
64
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
65
65
|
|
|
66
66
|
Missing parent directories are created automatically.
|
|
67
67
|
|
|
68
68
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
69
|
-
input:
|
|
70
|
-
output:
|
|
69
|
+
input: Input9,
|
|
70
|
+
output: Output8,
|
|
71
71
|
execute: (input, context) => Effect.gen(function* () {
|
|
72
72
|
const source = {
|
|
73
73
|
type: "tool",
|
|
@@ -106,4 +106,4 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
106
106
|
})
|
|
107
107
|
};
|
|
108
108
|
|
|
109
|
-
export {
|
|
109
|
+
export { name9, Input9, Output8, toModelContent5, Plugin41, exports_write };
|