@opencode-ai/core 0.0.0-dev-19144 → 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 +77 -77
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +67 -67
- package/dist/catalog.js +82 -82
- package/dist/chunks/{catalog-0e0xafbb.js → skill-0e0xafbb.js} +2 -2
- package/dist/chunks/{catalog-4v3bt2dm.js → skill-0f618yfd.js} +16 -16
- package/dist/chunks/{catalog-vgq6njeh.js → skill-0facaex5.js} +9 -9
- package/dist/chunks/{catalog-t06gyjjb.js → skill-0fxpns9x.js} +10 -10
- package/dist/chunks/{catalog-0paq2nw3.js → skill-0paq2nw3.js} +1 -1
- package/dist/chunks/{catalog-w264x1w0.js → skill-0r4csqbj.js} +2 -2
- package/dist/chunks/{catalog-0s9ayhjt.js → skill-0s9ayhjt.js} +1 -1
- package/dist/chunks/{catalog-p4ggx0zr.js → skill-0ykzsznw.js} +10 -10
- package/dist/chunks/{catalog-h8v3acys.js → skill-108gejms.js} +13 -13
- package/dist/chunks/{catalog-ffhafkr6.js → skill-16yckt1f.js} +9 -9
- package/dist/chunks/{catalog-fhx55t4j.js → skill-1bwaarmf.js} +4 -4
- package/dist/chunks/{catalog-gxv8g9ts.js → skill-1c2ffca4.js} +16 -16
- package/dist/chunks/{catalog-1ct4r87x.js → skill-1ct4r87x.js} +1 -1
- package/dist/chunks/{catalog-m7vbppss.js → skill-1drfm42n.js} +11 -11
- package/dist/chunks/{catalog-hmmbvzaj.js → skill-1hr809fs.js} +20 -20
- package/dist/chunks/{catalog-vwwkt776.js → skill-1hy241bm.js} +3 -3
- package/dist/chunks/{catalog-0v5hqfxj.js → skill-1pja1p92.js} +47 -47
- package/dist/chunks/{catalog-qtsh6e7t.js → skill-1q44t0as.js} +25 -25
- package/dist/chunks/{catalog-96brsaer.js → skill-1t58wnn1.js} +11 -11
- package/dist/chunks/{catalog-khhh7gn8.js → skill-1thvpp6x.js} +26 -26
- package/dist/chunks/{catalog-0y5jk35w.js → skill-1v037h4n.js} +16 -16
- package/dist/chunks/{catalog-21r38tys.js → skill-21r38tys.js} +1 -1
- package/dist/chunks/{catalog-6h73sxmp.js → skill-2402vzrj.js} +5 -5
- package/dist/chunks/{catalog-z4actsg0.js → skill-2404hjbe.js} +4 -4
- package/dist/chunks/{catalog-gp6a0wx2.js → skill-26hrw514.js} +25 -25
- package/dist/chunks/{catalog-z63w68vq.js → skill-29x78va6.js} +6 -6
- package/dist/chunks/{catalog-2a5m3afh.js → skill-2a5m3afh.js} +1 -1
- package/dist/chunks/{catalog-9n2x0xpw.js → skill-2bq890yg.js} +11 -11
- package/dist/chunks/{catalog-2ht70gj7.js → skill-2ht70gj7.js} +1 -1
- package/dist/chunks/{catalog-2jqmte8w.js → skill-2jqmte8w.js} +2 -2
- package/dist/chunks/{catalog-s6d7mvtp.js → skill-2jyb19dr.js} +3 -3
- package/dist/chunks/{catalog-nw5vcmzd.js → skill-2pgk7vty.js} +2 -2
- package/dist/chunks/{catalog-m2fexv84.js → skill-2qjw0q0a.js} +8 -8
- package/dist/chunks/{catalog-b1sgfmxa.js → skill-2saxr98m.js} +28 -28
- package/dist/chunks/{catalog-sgpkqafy.js → skill-2tyh9zea.js} +16 -16
- package/dist/chunks/{catalog-b0z70ywn.js → skill-2w6bfmvf.js} +1 -1
- package/dist/chunks/{catalog-w4600456.js → skill-36mzbjn4.js} +4 -4
- package/dist/chunks/{catalog-00d2pdk5.js → skill-377jfr6a.js} +16 -16
- package/dist/chunks/skill-38fdwfqw.js +247 -0
- package/dist/chunks/{catalog-3fc6dm20.js → skill-3fc6dm20.js} +1 -1
- package/dist/chunks/{catalog-0z7gqxfb.js → skill-3gbyeyxe.js} +22 -22
- package/dist/chunks/{catalog-3hepkmqq.js → skill-3hepkmqq.js} +1 -1
- package/dist/chunks/{catalog-9d4efts8.js → skill-3jj6bjb6.js} +5 -5
- package/dist/chunks/{catalog-ygnxm451.js → skill-3mrm2hwf.js} +12 -12
- package/dist/chunks/{catalog-hm466dsx.js → skill-3pecn819.js} +25 -25
- package/dist/chunks/{catalog-z8ra65ms.js → skill-3qbt326n.js} +13 -13
- package/dist/chunks/{catalog-3qzbfqsy.js → skill-3qzbfqsy.js} +2 -2
- package/dist/chunks/{catalog-3smtnn6g.js → skill-3smtnn6g.js} +1 -1
- package/dist/chunks/{catalog-3tvqynh2.js → skill-3tvqynh2.js} +1 -1
- package/dist/chunks/{catalog-mj0e1dcv.js → skill-3v8n0207.js} +4 -4
- package/dist/chunks/{catalog-7y8dc31a.js → skill-3z1xmqjc.js} +11 -11
- package/dist/chunks/{catalog-vtakbz9w.js → skill-44bhcd4v.js} +20 -20
- package/dist/chunks/{catalog-454k5vzh.js → skill-454k5vzh.js} +1 -1
- package/dist/chunks/{catalog-h6ntvdmj.js → skill-4ebjt7kz.js} +18 -18
- package/dist/chunks/{catalog-rq7zmz6j.js → skill-4hdyv2zw.js} +9 -9
- package/dist/chunks/{catalog-kjpg6jc5.js → skill-4hjr9hb9.js} +26 -26
- package/dist/chunks/{catalog-gm74qtfa.js → skill-4kkev07m.js} +11 -11
- package/dist/chunks/{catalog-2twct0xa.js → skill-4mwpxvm9.js} +15 -15
- package/dist/chunks/{catalog-4r2nyarf.js → skill-4r2nyarf.js} +1 -1
- package/dist/chunks/{catalog-ta5vccxt.js → skill-505p5ry7.js} +12 -12
- package/dist/chunks/{catalog-0ew5k04w.js → skill-51rtrhk0.js} +10 -10
- package/dist/chunks/{catalog-7hm48gjh.js → skill-59hmewq5.js} +25 -25
- package/dist/chunks/{catalog-5daktx2q.js → skill-5daktx2q.js} +1 -1
- package/dist/chunks/{catalog-5fmxt4p5.js → skill-5fmxt4p5.js} +1 -1
- package/dist/chunks/{catalog-hb3eq2pb.js → skill-5hbbg0tf.js} +14 -14
- package/dist/chunks/{catalog-5jvc5tg2.js → skill-5jvc5tg2.js} +1 -1
- package/dist/chunks/{catalog-j935v87r.js → skill-5qd3pb7m.js} +2 -2
- package/dist/chunks/{catalog-g1e0p8wq.js → skill-61qb9z8b.js} +4 -4
- package/dist/chunks/{catalog-dq9466fq.js → skill-63hy88sb.js} +21 -21
- package/dist/chunks/{catalog-577kxxzn.js → skill-6926ty5t.js} +8 -8
- package/dist/chunks/{catalog-34raqpv6.js → skill-6chny00m.js} +43 -43
- package/dist/chunks/{catalog-5xbe1cp8.js → skill-6czbt3sh.js} +30 -30
- package/dist/chunks/{catalog-60ts9vcd.js → skill-6vgms480.js} +18 -18
- package/dist/chunks/{catalog-4869mxft.js → skill-6zfrtyfr.js} +32 -32
- package/dist/chunks/{catalog-nkw4q2q0.js → skill-705hjevc.js} +25 -25
- package/dist/chunks/{catalog-711hfp6y.js → skill-711hfp6y.js} +2 -2
- package/dist/chunks/{catalog-72nftnjy.js → skill-72nftnjy.js} +2 -2
- package/dist/chunks/{catalog-jp5dra8g.js → skill-768z0hjh.js} +1 -1
- package/dist/chunks/{catalog-vf5pren2.js → skill-77b3df6j.js} +11 -11
- package/dist/chunks/{catalog-7bmhse3q.js → skill-7bmhse3q.js} +1 -1
- package/dist/chunks/{catalog-ckth7tt7.js → skill-7btjpst1.js} +6 -6
- package/dist/chunks/{catalog-qgn6gcr1.js → skill-7dqw4kz8.js} +5 -5
- package/dist/chunks/{catalog-6vvbjket.js → skill-7g7xka39.js} +11 -11
- package/dist/chunks/{catalog-79t230dn.js → skill-7gwyswp8.js} +16 -16
- package/dist/chunks/{catalog-gj6r28re.js → skill-7ng38tyy.js} +15 -15
- package/dist/chunks/{catalog-7xsww9cr.js → skill-7t6f6eaq.js} +43 -43
- package/dist/chunks/{catalog-ntq3a6ba.js → skill-8230h201.js} +11 -11
- package/dist/chunks/{catalog-4px03tm0.js → skill-82zka58v.js} +24 -24
- package/dist/chunks/{catalog-eg4pr325.js → skill-888k7gfv.js} +3 -3
- package/dist/chunks/{catalog-gzd7t3bg.js → skill-8dbsynwt.js} +4 -4
- package/dist/chunks/{catalog-xkdhttmx.js → skill-8frzc6qw.js} +4 -4
- package/dist/chunks/{catalog-byqq6vvq.js → skill-8hx3mbfc.js} +9 -9
- package/dist/chunks/{catalog-m3rz6703.js → skill-8jewxnbd.js} +4 -4
- package/dist/chunks/{catalog-0v4q2g9j.js → skill-8ph8xft0.js} +21 -21
- package/dist/chunks/{catalog-wwk0x6bw.js → skill-8rrfe7cb.js} +13 -13
- package/dist/chunks/{catalog-cwm73t9c.js → skill-91d7ewqk.js} +20 -20
- package/dist/chunks/{catalog-y2cqme3r.js → skill-93a8yfjt.js} +5 -5
- package/dist/chunks/{catalog-4f7bsbtr.js → skill-96zakvq3.js} +9 -9
- package/dist/chunks/{catalog-j9n1qf66.js → skill-98smnk5z.js} +15 -15
- package/dist/chunks/{catalog-bftmqv3x.js → skill-9ccg1j3a.js} +5 -5
- package/dist/chunks/{catalog-5r4jskqp.js → skill-9et72e7w.js} +13 -13
- package/dist/chunks/{catalog-qvbcabdc.js → skill-9qm9egsn.js} +2 -2
- package/dist/chunks/skill-9sh4wc5j.js +18 -0
- package/dist/chunks/{catalog-ssjm719e.js → skill-a1y2q22t.js} +50 -50
- package/dist/chunks/{catalog-a3x9xvd8.js → skill-a3x9xvd8.js} +1 -1
- package/dist/chunks/{catalog-aaet6srn.js → skill-aaet6srn.js} +2 -2
- package/dist/chunks/{catalog-r44vzmrg.js → skill-aaqac0b9.js} +11 -11
- package/dist/chunks/{catalog-4qekkv1x.js → skill-ab9f4t14.js} +21 -21
- package/dist/chunks/{catalog-whm2hqcw.js → skill-achegbeh.js} +17 -17
- package/dist/chunks/{catalog-cbesmh4f.js → skill-ahcbzqnj.js} +23 -23
- package/dist/chunks/{catalog-rv49c601.js → skill-aj7d9r5a.js} +3 -3
- package/dist/chunks/{catalog-yg7sb877.js → skill-ajtjthsy.js} +2 -2
- package/dist/chunks/{catalog-sft75sz8.js → skill-apz3xhc7.js} +22 -22
- package/dist/chunks/{catalog-vcmnf23m.js → skill-b2624nj0.js} +18 -18
- package/dist/chunks/{catalog-d216944b.js → skill-b27vhd2z.js} +7 -7
- package/dist/chunks/{catalog-revr1jts.js → skill-b2r752qe.js} +11 -11
- package/dist/chunks/{catalog-1xc6cqxb.js → skill-b2rxqb9q.js} +20 -20
- package/dist/chunks/{catalog-ay57xzra.js → skill-b4j510f0.js} +43 -43
- package/dist/chunks/{catalog-b6gygkdw.js → skill-b6gygkdw.js} +2 -2
- package/dist/chunks/{catalog-b9wsbatv.js → skill-b9wsbatv.js} +1 -1
- package/dist/chunks/{catalog-pmr4s4kc.js → skill-bf0ztrs3.js} +4 -4
- package/dist/chunks/{catalog-4g01a3fh.js → skill-bpghvxt7.js} +11 -11
- package/dist/chunks/{catalog-9wavatnn.js → skill-c3x8qrt8.js} +12 -12
- package/dist/chunks/{catalog-v619pcw0.js → skill-c562961a.js} +8 -8
- package/dist/chunks/{catalog-2av0rbgw.js → skill-ck0n87y5.js} +79 -79
- package/dist/chunks/{catalog-7tfg2zmn.js → skill-d1a1bt21.js} +5 -5
- package/dist/chunks/{catalog-hcq427sc.js → skill-d70t4mkn.js} +43 -43
- package/dist/chunks/{catalog-g2gt0w0k.js → skill-d72308c8.js} +2 -2
- package/dist/chunks/{catalog-ymsakwg2.js → skill-d8qsmb6k.js} +12 -12
- package/dist/chunks/{catalog-k86r1c7g.js → skill-d94dr7n2.js} +10 -10
- package/dist/chunks/{catalog-cba76g8k.js → skill-dcwd2kjw.js} +10 -10
- package/dist/chunks/{catalog-624wrrgt.js → skill-de8ypev3.js} +26 -26
- package/dist/chunks/{catalog-ynx753px.js → skill-dnwcjnnq.js} +20 -20
- package/dist/chunks/{catalog-p32d7zzt.js → skill-dw67r187.js} +8 -8
- package/dist/chunks/{catalog-h21rdv57.js → skill-e0ek2j91.js} +20 -20
- package/dist/chunks/{catalog-m7nqr3y1.js → skill-e1hrx4vk.js} +2 -2
- package/dist/chunks/{catalog-ne5z97p7.js → skill-e3t0axx9.js} +8 -8
- package/dist/chunks/skill-e3ze3pba.js +4 -0
- package/dist/chunks/{catalog-mg12sz4w.js → skill-ebmahs1r.js} +33 -33
- package/dist/chunks/{catalog-1p24r0z9.js → skill-ecthgzsh.js} +8 -8
- package/dist/chunks/{catalog-f7jmtye2.js → skill-eph91qt2.js} +7 -7
- package/dist/chunks/{catalog-ydb80xvr.js → skill-eqzm8707.js} +6 -6
- package/dist/chunks/{catalog-ez5b8bq3.js → skill-ez5b8bq3.js} +1 -1
- package/dist/chunks/{catalog-vbxn9k95.js → skill-f4d7scyv.js} +28 -28
- package/dist/chunks/{catalog-rcy9vm7q.js → skill-fbtenrpe.js} +8 -8
- package/dist/chunks/{catalog-zrahtrf1.js → skill-fdm74xhe.js} +10 -10
- package/dist/chunks/{catalog-707m4ntd.js → skill-fkxfpsqq.js} +14 -14
- package/dist/chunks/{catalog-m9nshxaj.js → skill-fqbqb51f.js} +10 -10
- package/dist/chunks/{catalog-t8fhjk3m.js → skill-fsh8xs9r.js} +9 -9
- package/dist/chunks/{catalog-fxbjtjnd.js → skill-fxbjtjnd.js} +1 -1
- package/dist/chunks/{catalog-fxypknc8.js → skill-fxypknc8.js} +1 -1
- package/dist/chunks/{catalog-vbz70373.js → skill-fy6n5twb.js} +4 -4
- package/dist/chunks/{catalog-fz1pdqz4.js → skill-fz1pdqz4.js} +2 -2
- package/dist/chunks/{catalog-sty9sa82.js → skill-g3m9axkp.js} +4 -4
- package/dist/chunks/{catalog-dn0s6s3f.js → skill-g9k1ggqm.js} +6 -6
- package/dist/chunks/{catalog-fctdrsbv.js → skill-gb2wy085.js} +6 -6
- package/dist/chunks/{catalog-g9x6ek7t.js → skill-gd0s6wzk.js} +20 -20
- package/dist/chunks/{catalog-gd4qta3r.js → skill-gd4qta3r.js} +1 -1
- package/dist/chunks/{catalog-3xzydzwh.js → skill-geg7b9pt.js} +14 -14
- package/dist/chunks/{catalog-850rx6q7.js → skill-gfwtb2jm.js} +35 -35
- package/dist/chunks/{catalog-qdw9fccg.js → skill-gpcgjjbg.js} +7 -7
- package/dist/chunks/{catalog-marnn1hp.js → skill-gzbkpp9m.js} +7 -7
- package/dist/chunks/{catalog-2vthqeng.js → skill-h25myfp2.js} +26 -26
- package/dist/chunks/{catalog-h6vf3j39.js → skill-h6vf3j39.js} +1 -1
- package/dist/chunks/{catalog-heyhwy2w.js → skill-heyhwy2w.js} +1 -1
- package/dist/chunks/{catalog-p5snvvas.js → skill-hfzd6k88.js} +33 -33
- package/dist/chunks/{catalog-g2dy4bvs.js → skill-hrvm11jt.js} +3 -3
- package/dist/chunks/{catalog-ccke0yak.js → skill-hwjyq29s.js} +282 -282
- package/dist/chunks/{catalog-e5xx3mz6.js → skill-hzdqfeee.js} +2 -2
- package/dist/chunks/{catalog-f6zq2bz6.js → skill-hzscb7xf.js} +16 -16
- package/dist/chunks/{catalog-armqp8n7.js → skill-j17p3z02.js} +17 -17
- package/dist/chunks/{catalog-atnr5rgc.js → skill-j3pby61b.js} +8 -8
- package/dist/chunks/{catalog-bare1nk5.js → skill-j97x952a.js} +37 -37
- package/dist/chunks/{catalog-bcezcar3.js → skill-je9hks3h.js} +5 -5
- package/dist/chunks/{catalog-9p8r381m.js → skill-jkqz6tyv.js} +7 -7
- package/dist/chunks/{catalog-gs1rc0s2.js → skill-jmwgnw0m.js} +9 -9
- package/dist/chunks/{catalog-79xc10f4.js → skill-jnmmvqjs.js} +1 -1
- package/dist/chunks/{catalog-mypwhdkk.js → skill-jtvd6mbe.js} +6 -6
- package/dist/chunks/{catalog-y71avatq.js → skill-jwcy2c2z.js} +4 -4
- package/dist/chunks/{catalog-w19faqq8.js → skill-jxbbcmy5.js} +7 -7
- package/dist/chunks/{catalog-k4bwy1x5.js → skill-k4bwy1x5.js} +1 -1
- package/dist/chunks/{catalog-h0qjmrvp.js → skill-k8cz2ymp.js} +6 -6
- package/dist/chunks/{catalog-jjzmpkqm.js → skill-ka1d01ec.js} +5 -5
- package/dist/chunks/{catalog-wge8k7mw.js → skill-kcj2w5je.js} +9 -9
- package/dist/chunks/{catalog-kg06axw8.js → skill-kg06axw8.js} +1 -1
- package/dist/chunks/{catalog-wndz4y3a.js → skill-krd5cmp0.js} +8 -8
- package/dist/chunks/{catalog-zzanyre8.js → skill-krvqxvv7.js} +11 -11
- package/dist/chunks/{catalog-hw4pv20g.js → skill-kvsjn1dr.js} +2 -2
- package/dist/chunks/{catalog-5vnqtrq0.js → skill-kyrcqpxm.js} +20 -20
- package/dist/chunks/{catalog-6xw3seg4.js → skill-kzdcqyn1.js} +5 -5
- package/dist/chunks/{catalog-wsfy2223.js → skill-m1ggyr73.js} +4 -4
- package/dist/chunks/{catalog-3a1nyp1f.js → skill-m9p8h4jk.js} +12 -12
- package/dist/chunks/{catalog-m9w0rfyh.js → skill-m9w0rfyh.js} +1 -1
- package/dist/chunks/{catalog-r30tf761.js → skill-mq6ebpf7.js} +156 -156
- package/dist/chunks/{catalog-1z80kc63.js → skill-mtcjf44p.js} +8 -8
- package/dist/chunks/{catalog-0f1c069v.js → skill-n4zjznhm.js} +6 -6
- package/dist/chunks/{catalog-gwz3g6yj.js → skill-nf7qpkg2.js} +25 -25
- package/dist/chunks/{catalog-4f62ejdk.js → skill-nj1fe1jb.js} +20 -20
- package/dist/chunks/{catalog-bgcg3rg0.js → skill-pcqms43p.js} +18 -18
- package/dist/chunks/{catalog-sgx28bxk.js → skill-pgw35ab3.js} +16 -16
- package/dist/chunks/{catalog-pjvnvgmy.js → skill-pjvnvgmy.js} +1 -1
- package/dist/chunks/{catalog-pknna89w.js → skill-pknna89w.js} +1 -1
- package/dist/chunks/{catalog-42my878b.js → skill-pt7wq7x0.js} +1 -1
- package/dist/chunks/{catalog-nj69k6k5.js → skill-q4thqt71.js} +24 -24
- package/dist/chunks/{catalog-y3f8mgp4.js → skill-qfv98y5r.js} +29 -29
- package/dist/chunks/{catalog-gssy3erj.js → skill-qn08p3qt.js} +80 -80
- package/dist/chunks/{catalog-5p910kp8.js → skill-qq0tkz6q.js} +3 -3
- package/dist/chunks/{catalog-fhvjqr7f.js → skill-qs4avvkb.js} +1 -1
- package/dist/chunks/{catalog-qsdy395h.js → skill-qsdy395h.js} +1 -1
- package/dist/chunks/{catalog-qfh93msq.js → skill-qweq2v4b.js} +3 -3
- package/dist/chunks/{catalog-r33ff4dw.js → skill-qz49fwgp.js} +4 -4
- package/dist/chunks/{catalog-xr5vwsd4.js → skill-r5w2ssxe.js} +9 -9
- package/dist/chunks/{catalog-1bbkgx8g.js → skill-r5x6zcsm.js} +3 -3
- package/dist/chunks/{catalog-r8dhm0tv.js → skill-r8dhm0tv.js} +1 -1
- package/dist/chunks/{catalog-ajphwd6y.js → skill-rae26gbb.js} +8 -8
- package/dist/chunks/{catalog-kasamkbj.js → skill-reqwpk3p.js} +5 -5
- package/dist/chunks/{catalog-b7tve4sx.js → skill-rkhn366t.js} +15 -15
- package/dist/chunks/{catalog-g9d2f87j.js → skill-rme1whxk.js} +15 -15
- package/dist/chunks/{catalog-d2wjgy6a.js → skill-rrnwvmz2.js} +29 -29
- package/dist/chunks/{catalog-g19vc6v7.js → skill-rvb2zp0m.js} +6 -6
- package/dist/chunks/{catalog-qbp14av8.js → skill-rz2zvdba.js} +13 -13
- package/dist/chunks/{catalog-spgxdjsy.js → skill-s7b9zbm6.js} +8 -8
- package/dist/chunks/{catalog-sba4qhjf.js → skill-sba4qhjf.js} +1 -1
- package/dist/chunks/{catalog-tpn441k0.js → skill-t4cav981.js} +23 -23
- package/dist/chunks/{catalog-dykdd0ry.js → skill-t4rggybx.js} +24 -24
- package/dist/chunks/{catalog-k683s6db.js → skill-tap9rc33.js} +28 -28
- package/dist/chunks/{catalog-tazgh4e4.js → skill-tazgh4e4.js} +1 -1
- package/dist/chunks/{catalog-tcezcvh9.js → skill-tcezcvh9.js} +1 -1
- package/dist/chunks/{catalog-b1w8rqew.js → skill-te0e5arw.js} +7 -7
- package/dist/chunks/{catalog-t5baf3fg.js → skill-tf6cqnqn.js} +9 -9
- package/dist/chunks/{catalog-tjykrgmx.js → skill-tjykrgmx.js} +1 -1
- package/dist/chunks/{catalog-tppvcy65.js → skill-tppvcy65.js} +2 -2
- package/dist/chunks/{catalog-421v1d3c.js → skill-tptg6stc.js} +7 -7
- package/dist/chunks/{catalog-zsm41nak.js → skill-tpvznqg8.js} +10 -10
- package/dist/chunks/{catalog-pkm76574.js → skill-tsjc1en0.js} +24 -24
- package/dist/chunks/{catalog-xpxab4nw.js → skill-tzcj45k0.js} +22 -22
- package/dist/chunks/{catalog-4nwxsvyv.js → skill-v5sp78z3.js} +3 -3
- package/dist/chunks/{catalog-35fb5ktc.js → skill-v6whbxwh.js} +14 -14
- package/dist/chunks/{catalog-tv3exgx0.js → skill-v7j1z2wq.js} +5 -5
- package/dist/chunks/{catalog-edj9g7k7.js → skill-vbncmk2w.js} +55 -55
- package/dist/chunks/{catalog-9dhns7cj.js → skill-vmaddhmt.js} +4 -4
- package/dist/chunks/{catalog-y67kr919.js → skill-vsgh5kw9.js} +13 -13
- package/dist/chunks/{catalog-n605axxx.js → skill-w23s81zh.js} +34 -34
- package/dist/chunks/{catalog-6z5bwd8g.js → skill-w3jym6ha.js} +6 -6
- package/dist/chunks/{catalog-w3wsvvr9.js → skill-w3wsvvr9.js} +1 -1
- package/dist/chunks/{catalog-8neh5z3x.js → skill-w5c7hha5.js} +30 -30
- package/dist/chunks/{catalog-wd87259q.js → skill-wd87259q.js} +1 -1
- package/dist/chunks/{catalog-bqm545rz.js → skill-wkxv5gdj.js} +4 -4
- package/dist/chunks/{catalog-wd8yh26h.js → skill-wst6vyk0.js} +24 -24
- package/dist/chunks/{catalog-5jchreqx.js → skill-ww8c32hp.js} +5 -5
- package/dist/chunks/{catalog-sb3bnv8z.js → skill-wwb03vrn.js} +9 -9
- package/dist/chunks/{catalog-xgjy9czn.js → skill-x00g5gps.js} +9 -9
- package/dist/chunks/{catalog-x1ezjp6w.js → skill-x1ezjp6w.js} +1 -1
- package/dist/chunks/{catalog-2fjv9ds5.js → skill-x40q6527.js} +20 -20
- package/dist/chunks/{catalog-jf9pwdd0.js → skill-xat1tws6.js} +40 -40
- package/dist/chunks/{catalog-h8dgvbzz.js → skill-xbehdes5.js} +11 -11
- package/dist/chunks/{catalog-6a9d9ds8.js → skill-xc2m3snf.js} +46 -46
- package/dist/chunks/skill-xqf4p8hn.js +22 -0
- package/dist/chunks/{catalog-cse8k6tj.js → skill-xvtcmct4.js} +31 -31
- package/dist/chunks/{catalog-d7sktd1b.js → skill-y0gwj0vf.js} +4 -4
- package/dist/chunks/{catalog-y1fvbwt7.js → skill-y1fvbwt7.js} +1 -1
- package/dist/chunks/{catalog-am62x74j.js → skill-y6zr9m49.js} +1 -1
- package/dist/chunks/{catalog-yfbd16n1.js → skill-yfbd16n1.js} +2 -2
- package/dist/chunks/{catalog-8gtnf6t2.js → skill-yhtqjkzd.js} +6 -6
- package/dist/chunks/{catalog-2rcaaecz.js → skill-yj3e99fm.js} +1 -1
- package/dist/chunks/{catalog-ewh5hnhe.js → skill-yq07z3qa.js} +31 -31
- package/dist/chunks/{catalog-ytr8qtwy.js → skill-yttv0zt4.js} +23 -23
- package/dist/chunks/{catalog-bejqmcpv.js → skill-yxckwajw.js} +15 -15
- package/dist/chunks/{catalog-82dmd7av.js → skill-z0nz70kd.js} +31 -31
- package/dist/chunks/{catalog-smm3jkev.js → skill-z0syrazk.js} +25 -25
- package/dist/chunks/{catalog-cng0mx2j.js → skill-z100w0rg.js} +11 -11
- package/dist/chunks/{catalog-z1k01bn4.js → skill-z1k01bn4.js} +2 -2
- package/dist/chunks/{catalog-hx0v1se0.js → skill-z62gh9db.js} +32 -32
- package/dist/chunks/{catalog-2ady357n.js → skill-zajwd6at.js} +5 -5
- package/dist/chunks/{catalog-y70x778t.js → skill-zqgjvfag.js} +15 -15
- package/dist/chunks/{catalog-6y1qr4k5.js → skill-zr5bq73b.js} +16 -16
- package/dist/chunks/{catalog-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 +83 -83
- 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 +116 -116
- package/dist/config/plugin/command.js +207 -207
- 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 +125 -125
- 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 +115 -115
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +116 -116
- 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 +118 -118
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +64 -64
- 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.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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +358 -358
- 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 +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 +68 -68
- 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 +216 -216
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +95 -95
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- package/dist/generate.js +92 -92
- package/dist/git.js +3 -3
- 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 +5 -5
- package/dist/instance.js +349 -349
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +83 -83
- package/dist/job.js +75 -75
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +83 -83
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +346 -346
- package/dist/location.js +76 -76
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +102 -102
- package/dist/mcp/instructions.js +120 -120
- 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 +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +105 -105
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +98 -98
- package/dist/plugin/command.js +95 -95
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/instance.js +5 -5
- 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 +116 -116
- 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 +74 -74
- 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 +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +75 -75
- 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 +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- 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 +127 -127
- package/dist/session/context.js +145 -145
- 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 +214 -214
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +14 -14
- package/dist/session/inbox.js +84 -84
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +87 -87
- 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 +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +221 -221
- 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 +165 -165
- 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 +71 -71
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +201 -201
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +143 -143
- package/dist/session/to-session-error.js +105 -105
- package/dist/session/transfer.js +207 -207
- 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 +11 -11
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +100 -100
- 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 +113 -113
- 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 +103 -103
- package/dist/tool/plugin/subagent.js +208 -208
- package/dist/tool/plugin/webfetch.js +104 -104
- package/dist/tool/plugin/websearch.js +104 -104
- package/dist/tool/plugin/write.js +114 -114
- package/dist/tool/read-filesystem.js +92 -92
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- 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 +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- 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 +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/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 +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +5 -5
- 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/catalog-7zk4hah4.js +0 -4
- package/dist/chunks/catalog-fqc8w2xk.js +0 -247
- package/dist/chunks/catalog-ht5y0zrb.js +0 -18
- package/dist/chunks/catalog-v0x6vz5n.js +0 -22
- /package/dist/chunks/{catalog-0fabt78z.js → skill-0fabt78z.js} +0 -0
- /package/dist/chunks/{catalog-0qkdqm5v.js → skill-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{catalog-0zkw76rk.js → skill-0zkw76rk.js} +0 -0
- /package/dist/chunks/{catalog-17cy0kzp.js → skill-17cy0kzp.js} +0 -0
- /package/dist/chunks/{catalog-1cnp2v09.js → skill-1cnp2v09.js} +0 -0
- /package/dist/chunks/{catalog-1kg9ymc8.js → skill-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{catalog-2710q6r3.js → skill-2710q6r3.js} +0 -0
- /package/dist/chunks/{catalog-2axfhc9x.js → skill-2axfhc9x.js} +0 -0
- /package/dist/chunks/{catalog-2c3vjs8z.js → skill-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{catalog-359p4xyc.js → skill-359p4xyc.js} +0 -0
- /package/dist/chunks/{catalog-3asan66x.js → skill-3asan66x.js} +0 -0
- /package/dist/chunks/{catalog-3t738kvx.js → skill-3t738kvx.js} +0 -0
- /package/dist/chunks/{catalog-3v8g72cx.js → skill-3v8g72cx.js} +0 -0
- /package/dist/chunks/{catalog-3wcehsnq.js → skill-3wcehsnq.js} +0 -0
- /package/dist/chunks/{catalog-41nvscxy.js → skill-41nvscxy.js} +0 -0
- /package/dist/chunks/{catalog-43n2bw4t.js → skill-43n2bw4t.js} +0 -0
- /package/dist/chunks/{catalog-4knz6hnm.js → skill-4knz6hnm.js} +0 -0
- /package/dist/chunks/{catalog-4y7fprxs.js → skill-4y7fprxs.js} +0 -0
- /package/dist/chunks/{catalog-53557ph1.js → skill-53557ph1.js} +0 -0
- /package/dist/chunks/{catalog-550bvhaj.js → skill-550bvhaj.js} +0 -0
- /package/dist/chunks/{catalog-6prwharc.js → skill-6prwharc.js} +0 -0
- /package/dist/chunks/{catalog-7akdwqpd.js → skill-7akdwqpd.js} +0 -0
- /package/dist/chunks/{catalog-7m9af43g.js → skill-7m9af43g.js} +0 -0
- /package/dist/chunks/{catalog-822emrt2.js → skill-822emrt2.js} +0 -0
- /package/dist/chunks/{catalog-88xbtdfr.js → skill-88xbtdfr.js} +0 -0
- /package/dist/chunks/{catalog-8n3pysct.js → skill-8n3pysct.js} +0 -0
- /package/dist/chunks/{catalog-982e01ww.js → skill-982e01ww.js} +0 -0
- /package/dist/chunks/{catalog-9a4afbnw.js → skill-9a4afbnw.js} +0 -0
- /package/dist/chunks/{catalog-9rqn6x4v.js → skill-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{catalog-a1tpkmh4.js → skill-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{catalog-af5trqkr.js → skill-af5trqkr.js} +0 -0
- /package/dist/chunks/{catalog-afrmfg78.js → skill-afrmfg78.js} +0 -0
- /package/dist/chunks/{catalog-aqzs7mqg.js → skill-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{catalog-atq7p7m5.js → skill-atq7p7m5.js} +0 -0
- /package/dist/chunks/{catalog-bkyjaxrp.js → skill-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{catalog-bmr6ed5q.js → skill-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{catalog-cf4snx6d.js → skill-cf4snx6d.js} +0 -0
- /package/dist/chunks/{catalog-cvy3z8tj.js → skill-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{catalog-d9fn303g.js → skill-d9fn303g.js} +0 -0
- /package/dist/chunks/{catalog-d9jj8t3e.js → skill-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{catalog-dajrwvna.js → skill-dajrwvna.js} +0 -0
- /package/dist/chunks/{catalog-dap0rakb.js → skill-dap0rakb.js} +0 -0
- /package/dist/chunks/{catalog-df08tz66.js → skill-df08tz66.js} +0 -0
- /package/dist/chunks/{catalog-dy18nga0.js → skill-dy18nga0.js} +0 -0
- /package/dist/chunks/{catalog-e5kj55wp.js → skill-e5kj55wp.js} +0 -0
- /package/dist/chunks/{catalog-e73j6tqm.js → skill-e73j6tqm.js} +0 -0
- /package/dist/chunks/{catalog-eh3zwz77.js → skill-eh3zwz77.js} +0 -0
- /package/dist/chunks/{catalog-emrn6kk6.js → skill-emrn6kk6.js} +0 -0
- /package/dist/chunks/{catalog-f0mxakyp.js → skill-f0mxakyp.js} +0 -0
- /package/dist/chunks/{catalog-f6n9ztr4.js → skill-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{catalog-faypxj3z.js → skill-faypxj3z.js} +0 -0
- /package/dist/chunks/{catalog-fd410y7t.js → skill-fd410y7t.js} +0 -0
- /package/dist/chunks/{catalog-fxgpk5d8.js → skill-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{catalog-g4wezp1m.js → skill-g4wezp1m.js} +0 -0
- /package/dist/chunks/{catalog-g86h250q.js → skill-g86h250q.js} +0 -0
- /package/dist/chunks/{catalog-gebd4c9n.js → skill-gebd4c9n.js} +0 -0
- /package/dist/chunks/{catalog-hk9envan.js → skill-hk9envan.js} +0 -0
- /package/dist/chunks/{catalog-j2ntwpah.js → skill-j2ntwpah.js} +0 -0
- /package/dist/chunks/{catalog-j5zkgpj8.js → skill-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{catalog-jr7sbwjy.js → skill-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{catalog-jwfs4k6c.js → skill-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{catalog-jzg6c2d5.js → skill-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{catalog-mntxs535.js → skill-mntxs535.js} +0 -0
- /package/dist/chunks/{catalog-mp448xyj.js → skill-mp448xyj.js} +0 -0
- /package/dist/chunks/{catalog-msx8hqn2.js → skill-msx8hqn2.js} +0 -0
- /package/dist/chunks/{catalog-n05xt0ee.js → skill-n05xt0ee.js} +0 -0
- /package/dist/chunks/{catalog-n3j8tn72.js → skill-n3j8tn72.js} +0 -0
- /package/dist/chunks/{catalog-njntx4h6.js → skill-njntx4h6.js} +0 -0
- /package/dist/chunks/{catalog-p8qxwesx.js → skill-p8qxwesx.js} +0 -0
- /package/dist/chunks/{catalog-q3sfg36h.js → skill-q3sfg36h.js} +0 -0
- /package/dist/chunks/{catalog-q74kybfr.js → skill-q74kybfr.js} +0 -0
- /package/dist/chunks/{catalog-qaymkmh1.js → skill-qaymkmh1.js} +0 -0
- /package/dist/chunks/{catalog-qb87gjwd.js → skill-qb87gjwd.js} +0 -0
- /package/dist/chunks/{catalog-qfa1cgps.js → skill-qfa1cgps.js} +0 -0
- /package/dist/chunks/{catalog-qrg20bc0.js → skill-qrg20bc0.js} +0 -0
- /package/dist/chunks/{catalog-rcb2kzg1.js → skill-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{catalog-sdp7kfr6.js → skill-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{catalog-se0s1eqw.js → skill-se0s1eqw.js} +0 -0
- /package/dist/chunks/{catalog-sk3qaz4a.js → skill-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{catalog-ssg3fenm.js → skill-ssg3fenm.js} +0 -0
- /package/dist/chunks/{catalog-twg0f83k.js → skill-twg0f83k.js} +0 -0
- /package/dist/chunks/{catalog-w803qqfp.js → skill-w803qqfp.js} +0 -0
- /package/dist/chunks/{catalog-wer8tq1h.js → skill-wer8tq1h.js} +0 -0
- /package/dist/chunks/{catalog-wtztk69x.js → skill-wtztk69x.js} +0 -0
- /package/dist/chunks/{catalog-x0ckcb58.js → skill-x0ckcb58.js} +0 -0
- /package/dist/chunks/{catalog-x1b8g1yb.js → skill-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{catalog-x61499pn.js → skill-x61499pn.js} +0 -0
- /package/dist/chunks/{catalog-y44na4kk.js → skill-y44na4kk.js} +0 -0
- /package/dist/chunks/{catalog-y8cydn3q.js → skill-y8cydn3q.js} +0 -0
- /package/dist/chunks/{catalog-ygaqb7jw.js → skill-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{catalog-z9919s4g.js → skill-z9919s4g.js} +0 -0
- /package/dist/chunks/{catalog-zbjnn3ac.js → skill-zbjnn3ac.js} +0 -0
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-0r4csqbj.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
13
|
-
canonical: () =>
|
|
14
|
-
node: () =>
|
|
12
|
+
Service: () => Service52,
|
|
13
|
+
canonical: () => canonical3,
|
|
14
|
+
node: () => node55
|
|
15
15
|
});
|
|
16
16
|
import { Context, Effect, Layer } from "effect";
|
|
17
17
|
import { LayerNode } from "@opencode-ai/util/effect/layer-node";
|
|
18
18
|
import { Node } from "@opencode-ai/util/effect/app-node";
|
|
19
19
|
import { AbsolutePath } from "@opencode-ai/schema/schema";
|
|
20
20
|
import path from "path";
|
|
21
|
-
class
|
|
21
|
+
class Service52 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
22
22
|
static get(ref) {
|
|
23
|
-
return Layer.unwrap(Effect.map(
|
|
23
|
+
return Layer.unwrap(Effect.map(Service52, (locations) => locations.get(ref)));
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
function
|
|
26
|
+
var node55 = LayerNode.unbound(Service52, Node.tags.values.global);
|
|
27
|
+
function canonical3(ref) {
|
|
28
28
|
return Ref4.make({
|
|
29
29
|
directory: AbsolutePath.make(process.platform === "win32" ? path.normalize(ref.directory) : ref.directory),
|
|
30
30
|
workspaceID: ref.workspaceID
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
export {
|
|
34
|
+
export { Service52, node55, canonical3, exports_location_service_map };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./skill-qweq2v4b.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./skill-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./skill-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service74,
|
|
17
|
+
node: () => node79
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service74 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service80).db;
|
|
26
|
-
return
|
|
26
|
+
return Service74.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node79 = makeGlobalNode({ service: Service74, layer, deps: [node85] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service74, node79, exports_kv };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./skill-vmaddhmt.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./skill-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,40 +12,40 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event8,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID5,
|
|
20
|
+
Info: () => Info10,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
24
|
-
Reply: () =>
|
|
25
|
-
Service: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError4,
|
|
24
|
+
Reply: () => Reply2,
|
|
25
|
+
Service: () => Service47,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer18,
|
|
29
|
+
node: () => node50,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode-ai/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event8 } from "@opencode-ai/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID5 = Form.ID;
|
|
39
|
+
var Info10 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
43
43
|
var State3 = Form.State;
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
|
-
var
|
|
45
|
+
var Reply2 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError4 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID5
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError9 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID5
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID5
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID5,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,17 +79,17 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service47 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
84
|
+
var layer18 = Layer.effect(Service47, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service79;
|
|
86
86
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
87
87
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
88
88
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
89
89
|
});
|
|
90
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
90
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError4({ id })))));
|
|
91
91
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
92
|
-
const id = input.id ??
|
|
92
|
+
const id = input.id ?? ID5.create();
|
|
93
93
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
94
94
|
if (Option.isSome(existing))
|
|
95
95
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -153,9 +153,9 @@ var layer25 = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
153
153
|
yield* Deferred.succeed(entry.deferred, next);
|
|
154
154
|
})));
|
|
155
155
|
yield* Effect.addFinalizer(() => Cache.values(forms).pipe(Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true }))));
|
|
156
|
-
return
|
|
156
|
+
return Service47.of({ create, ask, get, list, state, reply, cancel });
|
|
157
157
|
}));
|
|
158
|
-
var
|
|
158
|
+
var node50 = makeLocationNode({ service: Service47, layer: layer18, deps: [node84] });
|
|
159
159
|
function validateAnswer2(form, answer) {
|
|
160
160
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
161
161
|
for (const key of Object.keys(answer)) {
|
|
@@ -307,4 +307,4 @@ function isDateTime(value) {
|
|
|
307
307
|
return !Number.isNaN(new Date(value).getTime());
|
|
308
308
|
}
|
|
309
309
|
|
|
310
|
-
export {
|
|
310
|
+
export { ID5, Info10, Field2, Fields2, When2, State3, Answer2, Reply2, NotFoundError4, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service47, layer18, node50, validateAnswer2, validateFields2, exports_form, Event8 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-qweq2v4b.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-vmaddhmt.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service33
|
|
9
|
+
} from "./skill-yhtqjkzd.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./skill-p8qxwesx.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID3,
|
|
15
|
+
Service38
|
|
16
|
+
} from "./skill-nf7qpkg2.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./skill-mntxs535.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./skill-982e01ww.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./skill-4hdyv2zw.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./skill-hrvm11jt.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./skill-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,12 +42,12 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
45
|
+
const instances = yield* Service33;
|
|
46
46
|
const database = yield* Service80;
|
|
47
47
|
const bus = yield* Service79;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
50
|
-
const original = input.session.revert?.snapshot ?
|
|
49
|
+
const snapshot = yield* Service38;
|
|
50
|
+
const original = input.session.revert?.snapshot ? ID3.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
53
53
|
if (original) {
|
|
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
77
|
+
const instances = yield* Service33;
|
|
78
78
|
const bus = yield* Service79;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service38;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
|
-
const original = session.revert.snapshot ?
|
|
83
|
+
const original = session.revert.snapshot ? ID3.make(session.revert.snapshot) : undefined;
|
|
84
84
|
if (original)
|
|
85
85
|
yield* snapshot.restore({
|
|
86
86
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
111
111
|
continue;
|
|
112
112
|
for (const file of message.snapshot.files ?? [])
|
|
113
113
|
if (!files.has(file))
|
|
114
|
-
files.set(file,
|
|
114
|
+
files.set(file, ID3.make(message.snapshot.start));
|
|
115
115
|
}
|
|
116
116
|
return files;
|
|
117
117
|
});
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-w3jym6ha.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin20,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint2
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint2 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin20 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin7 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint2);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint2, Plugin20, exports_exa };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID10
|
|
3
|
+
} from "./skill-4ebjt7kz.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-p8qxwesx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info21
|
|
9
|
+
} from "./skill-b2r752qe.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./skill-fy6n5twb.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service66
|
|
16
|
+
} from "./skill-xat1tws6.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./skill-5daktx2q.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./skill-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
|
-
var
|
|
26
|
-
__export(
|
|
27
|
-
ConfigAgentPlugin: () =>
|
|
28
|
-
Plugin: () =>
|
|
25
|
+
var exports_agent = {};
|
|
26
|
+
__export(exports_agent, {
|
|
27
|
+
ConfigAgentPlugin: () => exports_agent,
|
|
28
|
+
Plugin: () => Plugin16
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode-ai/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info21);
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin16 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service66;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin18 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID10.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID10.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -160,4 +160,4 @@ function decode(file, content) {
|
|
|
160
160
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
161
161
|
}
|
|
162
162
|
|
|
163
|
-
export {
|
|
163
|
+
export { Plugin16, exports_agent };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./skill-rvb2zp0m.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./skill-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/aisdk-native.ts
|
|
10
10
|
var exports_aisdk_native = {};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-s7b9zbm6.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin25,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint3
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint3 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin25 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin4 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint3).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin4 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint3, Plugin25, exports_tavily };
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-p8qxwesx.js";
|
|
7
7
|
import {
|
|
8
8
|
Service76
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./skill-0r4csqbj.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service72
|
|
12
|
+
} from "./skill-ab9f4t14.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service50
|
|
16
|
+
} from "./skill-b2624nj0.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./skill-3gbyeyxe.js";
|
|
24
24
|
import {
|
|
25
25
|
externalDirectoryPermission2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service16
|
|
27
|
+
} from "./skill-c3x8qrt8.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
Service56
|
|
30
|
+
} from "./skill-d70t4mkn.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./skill-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/tool/plugin/grep.ts
|
|
36
36
|
var exports_grep = {};
|
|
37
37
|
__export(exports_grep, {
|
|
38
38
|
GrepTool: () => exports_grep,
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
39
|
+
Input: () => Input3,
|
|
40
|
+
Output: () => Output2,
|
|
41
|
+
Plugin: () => Plugin34,
|
|
42
|
+
name: () => name3,
|
|
43
|
+
toModelContent: () => toModelContent2
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
46
46
|
import { Effect, Schema } from "effect";
|
|
47
47
|
import path from "path";
|
|
48
|
-
var
|
|
49
|
-
var
|
|
48
|
+
var name3 = "grep";
|
|
49
|
+
var Input3 = Schema.Struct({
|
|
50
50
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
51
51
|
description: "Regular expression or literal text to match in file contents."
|
|
52
52
|
}),
|
|
@@ -66,8 +66,8 @@ var Input12 = Schema.Struct({
|
|
|
66
66
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
67
67
|
})
|
|
68
68
|
});
|
|
69
|
-
var
|
|
70
|
-
var
|
|
69
|
+
var Output2 = Schema.Array(Match2);
|
|
70
|
+
var toModelContent2 = (matches, truncated = false) => {
|
|
71
71
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
72
72
|
let current = "";
|
|
73
73
|
for (const match of matches) {
|
|
@@ -84,20 +84,20 @@ var toModelContent6 = (matches, truncated = false) => {
|
|
|
84
84
|
return lines.join(`
|
|
85
85
|
`);
|
|
86
86
|
};
|
|
87
|
-
var
|
|
87
|
+
var Plugin34 = {
|
|
88
88
|
id: "opencode.tool.grep",
|
|
89
89
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
90
|
-
const environment = yield*
|
|
91
|
-
const ripgrep = yield*
|
|
90
|
+
const environment = yield* Service72;
|
|
91
|
+
const ripgrep = yield* Service50;
|
|
92
92
|
const location = yield* Service76;
|
|
93
|
-
const mutation = yield*
|
|
94
|
-
const permission = yield*
|
|
93
|
+
const mutation = yield* Service16;
|
|
94
|
+
const permission = yield* Service56;
|
|
95
95
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
96
|
-
name:
|
|
96
|
+
name: name3,
|
|
97
97
|
options: { codemode: false },
|
|
98
98
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
99
|
-
input:
|
|
100
|
-
output:
|
|
99
|
+
input: Input3,
|
|
100
|
+
output: Output2,
|
|
101
101
|
execute: (input, context) => Effect.gen(function* () {
|
|
102
102
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
103
103
|
const target = yield* mutation.resolve({ path: input.path ?? "." });
|
|
@@ -109,7 +109,7 @@ var Plugin44 = {
|
|
|
109
109
|
source
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name3,
|
|
113
113
|
resources: [input.pattern],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: {
|
|
@@ -151,7 +151,7 @@ var Plugin44 = {
|
|
|
151
151
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
152
152
|
}).pipe(Effect.map((result) => ({
|
|
153
153
|
output: result.matches,
|
|
154
|
-
content:
|
|
154
|
+
content: toModelContent2(result.matches.map((match) => ({
|
|
155
155
|
...match,
|
|
156
156
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
157
157
|
})), result.truncated),
|
|
@@ -161,4 +161,4 @@ var Plugin44 = {
|
|
|
161
161
|
})
|
|
162
162
|
};
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { name3, Input3, Output2, toModelContent2, Plugin34, exports_grep };
|