@opencode-ai/core 0.0.0-beta-19228 → 0.0.0-beta-19266
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 +73 -73
- package/dist/catalog.js +77 -77
- package/dist/chunks/{integration-sh7bh2kf.js → schema-01w7s3hf.js} +5 -5
- package/dist/chunks/{integration-0e0xafbb.js → schema-0e0xafbb.js} +2 -2
- package/dist/chunks/{integration-0paq2nw3.js → schema-0paq2nw3.js} +1 -1
- package/dist/chunks/{integration-0q0f95c6.js → schema-0q0f95c6.js} +1 -1
- package/dist/chunks/{integration-az4t7x9p.js → schema-0qvt9njx.js} +39 -39
- package/dist/chunks/{integration-jp7d3tsh.js → schema-0r9t8f77.js} +18 -18
- package/dist/chunks/{integration-0s9ayhjt.js → schema-0s9ayhjt.js} +1 -1
- package/dist/chunks/{integration-mq9r6drf.js → schema-0vqp07g5.js} +3 -3
- package/dist/chunks/{integration-a4rgs0hc.js → schema-17hja9f4.js} +6 -6
- package/dist/chunks/{integration-e1rfyyrx.js → schema-1awmdn6g.js} +6 -6
- package/dist/chunks/{integration-1ct4r87x.js → schema-1ct4r87x.js} +1 -1
- package/dist/chunks/{integration-hf3t0h2k.js → schema-1hnatcq2.js} +6 -6
- package/dist/chunks/{integration-t3jgv66k.js → schema-1nt798q2.js} +11 -11
- package/dist/chunks/{integration-30z9ekqv.js → schema-1s4vv42h.js} +5 -5
- package/dist/chunks/{integration-tkhgbb47.js → schema-1v896bp7.js} +17 -17
- package/dist/chunks/{integration-n0tc3be6.js → schema-20evr3mp.js} +11 -11
- package/dist/chunks/{integration-21r38tys.js → schema-21r38tys.js} +1 -1
- package/dist/chunks/{integration-8aa81zbh.js → schema-234pz9hm.js} +14 -14
- package/dist/chunks/{integration-amcb702e.js → schema-23bjxdcp.js} +24 -24
- package/dist/chunks/{integration-4qnq6xhv.js → schema-23r2qrzy.js} +39 -39
- package/dist/chunks/{integration-6h73sxmp.js → schema-2402vzrj.js} +5 -5
- package/dist/chunks/{integration-z63w68vq.js → schema-29x78va6.js} +6 -6
- package/dist/chunks/{integration-qja7rspw.js → schema-2a1acymz.js} +8 -8
- package/dist/chunks/{integration-2a5m3afh.js → schema-2a5m3afh.js} +1 -1
- package/dist/chunks/{integration-pe587v0q.js → schema-2cr5jxfp.js} +7 -7
- package/dist/chunks/{integration-m5kbf3jc.js → schema-2g49wpqd.js} +11 -11
- package/dist/chunks/{integration-2ht70gj7.js → schema-2ht70gj7.js} +1 -1
- package/dist/chunks/{integration-vmb983vf.js → schema-2t24vjmc.js} +25 -25
- package/dist/chunks/{integration-5nrew705.js → schema-35ng7dkh.js} +5 -5
- package/dist/chunks/{integration-rn3ywvk5.js → schema-39k66fkr.js} +23 -23
- package/dist/chunks/{integration-3fc6dm20.js → schema-3fc6dm20.js} +1 -1
- package/dist/chunks/{integration-sspp9p5y.js → schema-3g0e3esv.js} +18 -18
- package/dist/chunks/{integration-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
- package/dist/chunks/{integration-j83byb14.js → schema-3j8sdtpz.js} +4 -4
- package/dist/chunks/{integration-3qzbfqsy.js → schema-3qzbfqsy.js} +2 -2
- package/dist/chunks/{integration-3smtnn6g.js → schema-3smtnn6g.js} +1 -1
- package/dist/chunks/{integration-3tvqynh2.js → schema-3tvqynh2.js} +1 -1
- package/dist/chunks/{integration-zbp985em.js → schema-418ebam3.js} +4 -4
- package/dist/chunks/{integration-454k5vzh.js → schema-454k5vzh.js} +1 -1
- package/dist/chunks/{integration-5vxncqj9.js → schema-46e97tr7.js} +10 -10
- package/dist/chunks/{integration-xtrrbz3n.js → schema-4a774hnm.js} +17 -17
- package/dist/chunks/{integration-a8z03gk5.js → schema-4jtjn2gj.js} +24 -24
- package/dist/chunks/{integration-czarjmjc.js → schema-4p7snnyp.js} +24 -24
- package/dist/chunks/{integration-4r2nyarf.js → schema-4r2nyarf.js} +1 -1
- package/dist/chunks/{integration-m1rpt5yb.js → schema-525tn4kx.js} +2 -2
- package/dist/chunks/{integration-rke5v8gv.js → schema-54m6nc3n.js} +2 -2
- package/dist/chunks/schema-54v3xmsq.js +22 -0
- package/dist/chunks/{integration-327n2tt7.js → schema-54y1e3qg.js} +8 -8
- package/dist/chunks/{integration-5daktx2q.js → schema-5daktx2q.js} +1 -1
- package/dist/chunks/{integration-5fmxt4p5.js → schema-5fmxt4p5.js} +1 -1
- package/dist/chunks/{integration-5jvc5tg2.js → schema-5jvc5tg2.js} +1 -1
- package/dist/chunks/{integration-1n116cmy.js → schema-637qq8n2.js} +9 -9
- package/dist/chunks/{integration-2gk5cp3r.js → schema-686b062j.js} +15 -15
- package/dist/chunks/{integration-pgaw07cd.js → schema-6926ty5t.js} +8 -8
- package/dist/chunks/{integration-gmfar029.js → schema-6bsa9frc.js} +15 -15
- package/dist/chunks/{integration-mtcjf44p.js → schema-6e958v7x.js} +4 -4
- package/dist/chunks/{integration-2pvtkfrt.js → schema-6fpeds7j.js} +12 -12
- package/dist/chunks/{integration-5phv6q8y.js → schema-6gdx6h15.js} +10 -10
- package/dist/chunks/{integration-scmtthwv.js → schema-6qptncg2.js} +16 -16
- package/dist/chunks/{integration-mmb49dvx.js → schema-6y0247yb.js} +9 -9
- package/dist/chunks/{integration-711hfp6y.js → schema-711hfp6y.js} +2 -2
- package/dist/chunks/{integration-72nftnjy.js → schema-72nftnjy.js} +2 -2
- package/dist/chunks/{integration-p8j18qeb.js → schema-74y2dvrh.js} +34 -34
- package/dist/chunks/{integration-ezt9sm97.js → schema-7a2q0zfc.js} +6 -6
- package/dist/chunks/{integration-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
- package/dist/chunks/{integration-9exd6xtw.js → schema-7d8vear2.js} +1 -1
- package/dist/chunks/{integration-2k8khapm.js → schema-7dqw4kz8.js} +5 -5
- package/dist/chunks/{integration-gdkjhw4h.js → schema-7e1496vv.js} +27 -4
- package/dist/chunks/{integration-xzhshwgm.js → schema-7gg2m3zr.js} +15 -12
- package/dist/chunks/{integration-y3c3mzvm.js → schema-7gq8qbc1.js} +18 -18
- package/dist/chunks/{integration-7s54ph47.js → schema-7rv5x4wn.js} +16 -16
- package/dist/chunks/{integration-7w3s9kd0.js → schema-7sd9q442.js} +6 -6
- package/dist/chunks/{integration-kfrje9nb.js → schema-7w1c3z11.js} +28 -28
- package/dist/chunks/schema-7zk4hah4.js +4 -0
- package/dist/chunks/{integration-r4e2f98f.js → schema-7zsnkm1p.js} +36 -44
- package/dist/chunks/{integration-bpnz08mb.js → schema-809xf7e2.js} +2 -2
- package/dist/chunks/{integration-z4btfpw8.js → schema-81ggxfts.js} +9 -9
- package/dist/chunks/{integration-yfbd16n1.js → schema-81htp2jj.js} +7 -5
- package/dist/chunks/{integration-4ktjq5jv.js → schema-85jr47cf.js} +13 -9
- package/dist/chunks/{integration-tpg9ytbh.js → schema-8ak5gdn6.js} +14 -14
- package/dist/chunks/{integration-wy76m6zk.js → schema-8aw20fxv.js} +187 -92
- package/dist/chunks/{integration-0arvn5f6.js → schema-8ay24fmk.js} +21 -21
- package/dist/chunks/{integration-tm74we8j.js → schema-8d0pmt0f.js} +10 -10
- package/dist/chunks/{integration-5fq934vj.js → schema-8da146zc.js} +5 -5
- package/dist/chunks/{integration-radpzgs0.js → schema-8gsst550.js} +18 -18
- package/dist/chunks/{integration-0khar44x.js → schema-8h2x3rhz.js} +11 -11
- package/dist/chunks/{integration-2571w2b0.js → schema-8jn5w37c.js} +5 -5
- package/dist/chunks/{integration-56kfp8bc.js → schema-8mvvefrh.js} +22 -22
- package/dist/chunks/{integration-3jwyfetg.js → schema-8x2kyzb6.js} +8 -8
- package/dist/chunks/{integration-1jp9daeg.js → schema-92mcpazx.js} +5 -5
- package/dist/chunks/{integration-4ha7507h.js → schema-934rg3e5.js} +23 -23
- package/dist/chunks/{integration-93a8yfjt.js → schema-93a8yfjt.js} +2 -2
- package/dist/chunks/{integration-dz86g41b.js → schema-9c51rpw1.js} +9 -9
- package/dist/chunks/{integration-vjxchawq.js → schema-9k252bfj.js} +29 -29
- package/dist/chunks/{integration-sv1bgkh6.js → schema-9qkzxvef.js} +3 -3
- package/dist/chunks/{integration-9qm9egsn.js → schema-9qm9egsn.js} +2 -2
- package/dist/chunks/{integration-kx2gvdct.js → schema-9tjsbxxt.js} +4 -4
- package/dist/chunks/{integration-t89cxbfz.js → schema-9tk8rzfb.js} +4 -4
- package/dist/chunks/{integration-z8145smf.js → schema-a35es3dn.js} +48 -57
- package/dist/chunks/{integration-cqvb8n3q.js → schema-a6h88whx.js} +22 -22
- package/dist/chunks/{integration-aaet6srn.js → schema-aaet6srn.js} +2 -2
- package/dist/chunks/{integration-jgx0heh4.js → schema-ah4q1w3j.js} +5 -5
- package/dist/chunks/schema-ahspyapp.js +247 -0
- package/dist/chunks/{integration-ajtjthsy.js → schema-ajtjthsy.js} +2 -2
- package/dist/chunks/{integration-hha4zry8.js → schema-axmvebxj.js} +21 -21
- package/dist/chunks/{integration-b6gygkdw.js → schema-b6gygkdw.js} +2 -2
- package/dist/chunks/{integration-b9wsbatv.js → schema-b9wsbatv.js} +1 -1
- package/dist/chunks/{integration-9x9phxhw.js → schema-be3ps6fk.js} +10 -10
- package/dist/chunks/{integration-bphmvjfp.js → schema-bnfahk6g.js} +22 -6
- package/dist/chunks/{integration-npjzd5yf.js → schema-bpxz7ydq.js} +11 -11
- package/dist/chunks/{integration-rtyzczqf.js → schema-c7jvcatc.js} +5 -5
- package/dist/chunks/{integration-gart8bfz.js → schema-cm19gqaq.js} +16 -16
- package/dist/chunks/{integration-4sxg11az.js → schema-cv95fcmp.js} +5 -5
- package/dist/chunks/{integration-80nx285x.js → schema-cy23n0eh.js} +26 -26
- package/dist/chunks/{integration-kzzvpjj3.js → schema-cyjkg8gk.js} +12 -12
- package/dist/chunks/{integration-9sftbbn6.js → schema-d5agjf18.js} +29 -58
- package/dist/chunks/{integration-d72308c8.js → schema-d72308c8.js} +2 -2
- package/dist/chunks/{integration-hdd17qa4.js → schema-d73w0rgx.js} +17 -17
- package/dist/chunks/{integration-051qdrr2.js → schema-d910tjb6.js} +9 -9
- package/dist/chunks/{integration-wp8mzxcn.js → schema-dcxg8drc.js} +32 -32
- package/dist/chunks/{integration-psgkh1f7.js → schema-dged69jn.js} +4 -4
- package/dist/chunks/{integration-3qbt326n.js → schema-e51fc25h.js} +11 -11
- package/dist/chunks/{integration-5hy0rtfk.js → schema-e8qch614.js} +16 -16
- package/dist/chunks/{integration-7tzxs4gx.js → schema-ecpey84z.js} +40 -47
- package/dist/chunks/{integration-h63taqsq.js → schema-ehj7vx0b.js} +11 -11
- package/dist/chunks/{integration-e3ntb6n0.js → schema-ep3g8qaw.js} +27 -27
- package/dist/chunks/{integration-xxht2zme.js → schema-es1szyat.js} +15 -15
- package/dist/chunks/{integration-0zbay0d2.js → schema-ey2qyrhf.js} +21 -21
- package/dist/chunks/{integration-0naqfmpk.js → schema-f00jbxzz.js} +5 -4
- package/dist/chunks/{integration-e82pn39z.js → schema-f7502g1v.js} +6 -6
- package/dist/chunks/{integration-axrkenmh.js → schema-fee8q97m.js} +13 -13
- package/dist/chunks/{integration-6g5h5enh.js → schema-fk6yh78j.js} +13 -13
- package/dist/chunks/{integration-ryr25ayn.js → schema-fm2qvscf.js} +4 -4
- package/dist/chunks/{integration-b5nf4epv.js → schema-fnxm8qas.js} +15 -15
- package/dist/chunks/{integration-gny0aj3z.js → schema-fv0bxyhd.js} +11 -11
- package/dist/chunks/{integration-fxbjtjnd.js → schema-fxbjtjnd.js} +1 -1
- package/dist/chunks/{integration-fxypknc8.js → schema-fxypknc8.js} +1 -1
- package/dist/chunks/{integration-0bhrx1x9.js → schema-fygtvtfb.js} +59 -59
- package/dist/chunks/{integration-p8zhn1ry.js → schema-g1bsba7w.js} +22 -22
- package/dist/chunks/{integration-gr0yca18.js → schema-g608hw24.js} +16 -16
- package/dist/chunks/{integration-es2wkwv6.js → schema-g8qt226p.js} +5 -5
- package/dist/chunks/{integration-26bs89kh.js → schema-ga3x3tkz.js} +11 -11
- package/dist/chunks/{integration-gd4qta3r.js → schema-gd4qta3r.js} +1 -1
- package/dist/chunks/{integration-n4q030rw.js → schema-gjk5sn8n.js} +4 -4
- package/dist/chunks/{integration-00th4a5r.js → schema-gnwcgnjb.js} +33 -33
- package/dist/chunks/{integration-skm6vzx1.js → schema-h5fs3t0a.js} +25 -25
- package/dist/chunks/{integration-h6vf3j39.js → schema-h6vf3j39.js} +1 -1
- package/dist/chunks/{integration-089r6rfv.js → schema-he4jbf8x.js} +29 -29
- package/dist/chunks/{integration-heyhwy2w.js → schema-heyhwy2w.js} +1 -1
- package/dist/chunks/{integration-x9ktxn4p.js → schema-hf6ertck.js} +34 -34
- package/dist/chunks/{integration-hjt4xg1x.js → schema-hjt4xg1x.js} +1 -1
- package/dist/chunks/{integration-hrvm11jt.js → schema-hrvm11jt.js} +3 -3
- package/dist/chunks/{integration-h8zz2ecm.js → schema-hsq9qkqb.js} +47 -47
- package/dist/chunks/{integration-9r8ws15v.js → schema-hys3c6ky.js} +21 -20
- package/dist/chunks/{integration-jyprvyx1.js → schema-j53fc2s1.js} +6 -6
- package/dist/chunks/{integration-nqh50ffv.js → schema-j8bjgp0m.js} +23 -23
- package/dist/chunks/{integration-paphc93g.js → schema-j935v87r.js} +2 -2
- package/dist/chunks/{integration-3mygrb37.js → schema-jdcvk5y7.js} +11 -11
- package/dist/chunks/{integration-6a04dbgb.js → schema-jdd7wz44.js} +34 -43
- package/dist/chunks/{integration-n3scjepk.js → schema-jhzxqtm7.js} +71 -66
- package/dist/chunks/{integration-avsd5b6b.js → schema-jp934b96.js} +10 -10
- package/dist/chunks/{integration-k4bwy1x5.js → schema-k4bwy1x5.js} +1 -1
- package/dist/chunks/{integration-pdxe2edq.js → schema-k7e3e2sr.js} +16 -16
- package/dist/chunks/{integration-ga2g4a2e.js → schema-kaqw06zw.js} +1 -1
- package/dist/chunks/{integration-kg06axw8.js → schema-kg06axw8.js} +1 -1
- package/dist/chunks/{integration-knh3mbp0.js → schema-kh25xj5f.js} +36 -43
- package/dist/chunks/{integration-baaqp4zd.js → schema-kne8f3cn.js} +4 -4
- package/dist/chunks/{integration-6w2ebves.js → schema-kqtq9r6d.js} +24 -24
- package/dist/chunks/{integration-hw4pv20g.js → schema-kvsjn1dr.js} +2 -2
- package/dist/chunks/{integration-rbqj5q8p.js → schema-kwt11tv7.js} +17 -17
- package/dist/chunks/{integration-0zgbz30q.js → schema-m2dwvqty.js} +9 -9
- package/dist/chunks/{integration-krtzpnj6.js → schema-m9hdf67d.js} +28 -28
- package/dist/chunks/{integration-7dwyp953.js → schema-m9p8h4jk.js} +12 -12
- package/dist/chunks/{integration-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
- package/dist/chunks/{integration-nhczefgv.js → schema-mbj5j0dx.js} +39 -39
- package/dist/chunks/{integration-wzny3sya.js → schema-me8n0gqn.js} +17 -17
- package/dist/chunks/{integration-1ygqh575.js → schema-mfqp6xfm.js} +6 -6
- package/dist/chunks/{integration-73tb2d7t.js → schema-mhkvc446.js} +3 -3
- package/dist/chunks/{integration-js3a5baj.js → schema-mj8wbps0.js} +49 -33
- package/dist/chunks/{integration-433q4afj.js → schema-ne1yvy6p.js} +43 -43
- package/dist/chunks/{integration-zw0t7b2b.js → schema-njdd8kjn.js} +87 -87
- package/dist/chunks/{integration-sz4gjawx.js → schema-npx3gdza.js} +88 -85
- package/dist/chunks/{integration-y1sxvda5.js → schema-ntvpvfq2.js} +7 -7
- package/dist/chunks/{integration-n8295sxz.js → schema-p6rz0yzk.js} +4 -4
- package/dist/chunks/{integration-5xzsz4y7.js → schema-p7v84xw5.js} +32 -32
- package/dist/chunks/{integration-tppvcy65.js → schema-p7xgpz7y.js} +9 -9
- package/dist/chunks/{integration-vzvx7g7e.js → schema-p9071pdt.js} +46 -46
- package/dist/chunks/{integration-re8qbn3m.js → schema-pac8pssg.js} +23 -23
- package/dist/chunks/{integration-0dh1sqzr.js → schema-pe5crvt1.js} +30 -22
- package/dist/chunks/{integration-pvg228j8.js → schema-pfvd2csc.js} +1 -1
- package/dist/chunks/{integration-pjvnvgmy.js → schema-pjvnvgmy.js} +1 -1
- package/dist/chunks/{integration-pknna89w.js → schema-pknna89w.js} +1 -1
- package/dist/chunks/{integration-pdp8j59c.js → schema-pkqzam1k.js} +11 -11
- package/dist/chunks/{integration-w19w1qkx.js → schema-ps2ypmnz.js} +1 -1
- package/dist/chunks/{integration-1kjrg5h4.js → schema-pt07xbnp.js} +16 -16
- package/dist/chunks/{integration-p9vx44pc.js → schema-pydn0w3e.js} +1 -1
- package/dist/chunks/{integration-ava0yb97.js → schema-q1nkzk48.js} +36 -29
- package/dist/chunks/{integration-wjzbj88c.js → schema-q1q8dpek.js} +23 -23
- package/dist/chunks/{integration-sxnbked4.js → schema-q2cdtxy5.js} +6 -6
- package/dist/chunks/{integration-68y46v3g.js → schema-qb2yjf91.js} +22 -22
- package/dist/chunks/{integration-k2en0fft.js → schema-qk9vesgb.js} +7 -7
- package/dist/chunks/{integration-qsdy395h.js → schema-qsdy395h.js} +1 -1
- package/dist/chunks/{integration-wqpfxacs.js → schema-qwh8c2js.js} +9 -9
- package/dist/chunks/{integration-whyqf77n.js → schema-qwxk75cg.js} +8 -8
- package/dist/chunks/{integration-nkd0m12v.js → schema-r1dq9xr8.js} +5 -5
- package/dist/chunks/{integration-m6jbwjsh.js → schema-r25t3ann.js} +4 -4
- package/dist/chunks/{integration-r8dhm0tv.js → schema-r8dhm0tv.js} +1 -1
- package/dist/chunks/{integration-wr27bwq7.js → schema-r9pjqsyf.js} +21 -29
- package/dist/chunks/{integration-13gt56f3.js → schema-raa16g9g.js} +6 -6
- package/dist/chunks/schema-rap9a73h.js +18 -0
- package/dist/chunks/{integration-sz4dw7gm.js → schema-raxsvy8j.js} +14 -14
- package/dist/chunks/{integration-zkn0w8ks.js → schema-rbhd1hv4.js} +3 -3
- package/dist/chunks/{integration-xg3vtz5h.js → schema-rm3yzcsd.js} +4 -4
- package/dist/chunks/{integration-r33ff4dw.js → schema-rp8jz6x1.js} +6 -6
- package/dist/chunks/{integration-a7pjgb0j.js → schema-rqa18smj.js} +11 -11
- package/dist/chunks/schema-rqdcv1n1.js +55 -0
- package/dist/chunks/{integration-pg4tqg4j.js → schema-s2e3zm9h.js} +53 -53
- package/dist/chunks/{integration-ebbs9ney.js → schema-s53bq4vw.js} +36 -36
- package/dist/chunks/{integration-ba8a6aak.js → schema-s698gkv6.js} +6 -6
- package/dist/chunks/{integration-sba4qhjf.js → schema-sba4qhjf.js} +1 -1
- package/dist/chunks/{integration-6k1x2hq7.js → schema-sdygzg6k.js} +30 -30
- package/dist/chunks/{integration-a5n2dake.js → schema-se2vkk77.js} +20 -20
- package/dist/chunks/{integration-reyds50y.js → schema-sn3nkvtj.js} +11 -11
- package/dist/chunks/{integration-x8nhbgtx.js → schema-spftfn4p.js} +51 -51
- package/dist/chunks/{integration-21pvg7kt.js → schema-sr948aj6.js} +19 -19
- package/dist/chunks/{integration-2h194s0m.js → schema-sy7czwgb.js} +6 -6
- package/dist/chunks/{integration-cv4ckjj3.js → schema-sz9840t7.js} +9 -9
- package/dist/chunks/{integration-w0968pv7.js → schema-t0dq411k.js} +5 -5
- package/dist/chunks/{integration-6kzsdjmr.js → schema-tan6veb8.js} +37 -37
- package/dist/chunks/{integration-tazgh4e4.js → schema-tazgh4e4.js} +1 -1
- package/dist/chunks/{integration-tcezcvh9.js → schema-tcezcvh9.js} +1 -1
- package/dist/chunks/{integration-tjykrgmx.js → schema-tjykrgmx.js} +1 -1
- package/dist/chunks/{integration-588w1t3p.js → schema-tnn3pxdz.js} +31 -31
- package/dist/chunks/{integration-wd5ma2ph.js → schema-trhjdf47.js} +24 -24
- package/dist/chunks/{integration-k2gqysrh.js → schema-ts04ntb8.js} +11 -11
- package/dist/chunks/{integration-0t8hhwgh.js → schema-ttmf2k06.js} +5 -5
- package/dist/chunks/{integration-rkar1xve.js → schema-v45en8pj.js} +19 -18
- package/dist/chunks/{integration-ag62pq98.js → schema-v610d21f.js} +24 -24
- package/dist/chunks/{integration-zbjnn3ac.js → schema-v72m8j26.js} +7 -0
- package/dist/chunks/{integration-d7rthvks.js → schema-vecstcyh.js} +46 -46
- package/dist/chunks/{integration-tq9bnbkc.js → schema-vmv31r6s.js} +22 -22
- package/dist/chunks/{integration-qgj1bmkg.js → schema-vpwgshky.js} +13 -13
- package/dist/chunks/{integration-sgv69984.js → schema-vrwt7trm.js} +8 -8
- package/dist/chunks/{integration-r7ddtr8e.js → schema-vt9wfr9s.js} +23 -23
- package/dist/chunks/{integration-w8ztvw7q.js → schema-vwd3d859.js} +29 -29
- package/dist/chunks/{integration-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
- package/dist/chunks/{integration-h6phs3m3.js → schema-w7xrk89n.js} +15 -15
- package/dist/chunks/{integration-gks1q0wj.js → schema-wa8a7neb.js} +1 -1
- package/dist/chunks/{integration-nngpx1ez.js → schema-wabsntfg.js} +20 -20
- package/dist/chunks/{integration-5ajcezws.js → schema-wb2q69yx.js} +27 -27
- package/dist/chunks/{integration-cp2fwpzt.js → schema-wbvdvtzj.js} +27 -27
- package/dist/chunks/{integration-wd87259q.js → schema-wd87259q.js} +1 -1
- package/dist/chunks/{integration-gej0j4pk.js → schema-wf52tegj.js} +42 -42
- package/dist/chunks/{integration-g3by5vjq.js → schema-whnf76s8.js} +14 -27
- package/dist/chunks/{integration-pfwd1k69.js → schema-wpa91s1b.js} +162 -162
- package/dist/chunks/{integration-fn34x8gt.js → schema-wvycr4s3.js} +4 -4
- package/dist/chunks/{integration-10fgs14z.js → schema-wwqw8y3k.js} +19 -19
- package/dist/chunks/{integration-x1ezjp6w.js → schema-x1ezjp6w.js} +1 -1
- package/dist/chunks/{integration-5fex8bb2.js → schema-x71fjkw5.js} +7 -7
- package/dist/chunks/{integration-a1w1fpj3.js → schema-x8z6j3kk.js} +3 -3
- package/dist/chunks/{integration-chtrmnkp.js → schema-xfrwv263.js} +11 -6
- package/dist/chunks/{integration-mjzw1bzx.js → schema-xgjy9czn.js} +9 -9
- package/dist/chunks/{integration-n38qs1ar.js → schema-xr5vwsd4.js} +9 -9
- package/dist/chunks/{integration-gzx0b0mt.js → schema-xrtvrd4c.js} +8 -5
- package/dist/chunks/{integration-d1qjg7yf.js → schema-xvjj1qqy.js} +1 -1
- package/dist/chunks/{integration-53b1td34.js → schema-xzzg2aw3.js} +13 -13
- package/dist/chunks/{integration-y1fvbwt7.js → schema-y1fvbwt7.js} +1 -1
- package/dist/chunks/{integration-3g2y1byn.js → schema-y4nzzd5t.js} +5 -5
- package/dist/chunks/{integration-jwcy2c2z.js → schema-y71avatq.js} +4 -4
- package/dist/chunks/{integration-02gvdgew.js → schema-yf1d8svm.js} +11 -11
- package/dist/chunks/schema-yjw6p547.js +114 -0
- package/dist/chunks/{integration-yp2x3t23.js → schema-yp2x3t23.js} +1 -1
- package/dist/chunks/{integration-ey04d52n.js → schema-yx2cz2pp.js} +14 -14
- package/dist/chunks/{integration-z1k01bn4.js → schema-z1k01bn4.js} +2 -2
- package/dist/chunks/{integration-7nzzgtdj.js → schema-z44293nx.js} +28 -28
- package/dist/chunks/{integration-pmbgjyp9.js → schema-za2svx48.js} +292 -290
- package/dist/chunks/{integration-bjp14p5h.js → schema-zmgxegv8.js} +16 -16
- package/dist/chunks/{integration-432pw3c5.js → schema-zs79rajt.js} +24 -24
- package/dist/chunks/{integration-zxq2ej10.js → schema-zxq2ej10.js} +1 -1
- package/dist/chunks/{integration-5t9nxpj3.js → schema-zy7s2m3e.js} +15 -11
- 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 +117 -117
- package/dist/config/plugin/command.js +209 -208
- package/dist/config/plugin/compaction.js +155 -154
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +97 -96
- package/dist/config/plugin/skill.js +136 -135
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +70 -70
- 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 +360 -359
- 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 +88 -88
- 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-access.js +112 -0
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +218 -217
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +96 -96
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +83 -83
- 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 +5 -5
- package/dist/instance.js +351 -350
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +131 -130
- package/dist/location-mutation.js +102 -83
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +348 -347
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +122 -121
- package/dist/mcp/oauth.js +24 -4
- 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 +84 -82
- package/dist/model.js +10 -10
- 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 +104 -103
- 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 +99 -98
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -212
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +322 -321
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +97 -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 +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- 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 +80 -80
- 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 +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -80
- package/dist/plugin/provider/opencode.js +76 -76
- 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 +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +337 -336
- 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 +112 -112
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +224 -223
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- 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 +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +129 -126
- package/dist/session/context.js +147 -146
- 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 +219 -218
- package/dist/session/execution.js +122 -121
- package/dist/session/generate.js +146 -145
- package/dist/session/history.js +15 -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 +92 -91
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -112
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -125
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -99
- package/dist/session/provider-context.js +20 -0
- 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 +223 -222
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +88 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -5
- package/dist/session/runner/step.js +119 -118
- package/dist/session/runner/to-llm-message.js +2 -1
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -168
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +85 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -204
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +145 -144
- package/dist/session/to-session-error.js +107 -106
- package/dist/session/transfer.js +216 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -208
- 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 +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -101
- package/dist/skill.js +99 -98
- 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 +121 -120
- package/dist/tool/plugin/edit.js +115 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -119
- package/dist/tool/plugin/grep.js +120 -119
- package/dist/tool/plugin/opencode.js +5 -3
- package/dist/tool/plugin/patch.js +117 -116
- package/dist/tool/plugin/question.js +98 -97
- package/dist/tool/plugin/read.js +121 -120
- package/dist/tool/plugin/shell.js +212 -211
- package/dist/tool/plugin/skill.js +106 -105
- package/dist/tool/plugin/subagent.js +214 -213
- package/dist/tool/plugin/webfetch.js +105 -104
- package/dist/tool/plugin/websearch.js +109 -108
- package/dist/tool/plugin/write.js +109 -108
- 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 +13 -13
- package/dist/types/file-access.d.ts +52 -0
- package/dist/types/file-mutation.d.ts +2 -4
- package/dist/types/instance.d.ts +2 -2
- package/dist/types/location-activity.d.ts +1 -1
- package/dist/types/location-mutation.d.ts +3 -52
- package/dist/types/mcp/oauth.d.ts +10 -1
- package/dist/types/model-resolver.d.ts +25 -3
- package/dist/types/model.d.ts +11 -0
- package/dist/types/plugin/host.d.ts +2 -2
- package/dist/types/plugin/internal.d.ts +3 -3
- package/dist/types/provider.d.ts +11 -0
- package/dist/types/session/compaction.d.ts +11 -2
- package/dist/types/session/execution/restart.d.ts +1 -1
- package/dist/types/session/execution.d.ts +1 -1
- package/dist/types/session/generate.d.ts +1 -1
- package/dist/types/session/history.d.ts +59 -4
- package/dist/types/session/provider-context.d.ts +46 -0
- package/dist/types/session/runner/model.d.ts +4 -0
- package/dist/types/session/runner/retry.d.ts +5 -0
- package/dist/types/session/session.d.ts +3 -3
- package/dist/types/session/sql.d.ts +3 -3
- package/dist/types/session/transfer.d.ts +47 -0
- package/dist/types/tool/mcp.d.ts +1 -1
- package/dist/types/tool/plugin/edit.d.ts +2 -2
- package/dist/types/tool/plugin/glob.d.ts +2 -2
- package/dist/types/tool/plugin/grep.d.ts +2 -2
- package/dist/types/tool/plugin/opencode.d.ts +7 -0
- package/dist/types/tool/plugin/patch.d.ts +2 -2
- package/dist/types/tool/plugin/read.d.ts +2 -3
- package/dist/types/tool/plugin/shell.d.ts +2 -2
- package/dist/types/tool/plugin/websearch.d.ts +1 -1
- package/dist/types/tool/plugin/write.d.ts +2 -2
- package/dist/types/v1/config/agent.d.ts +4 -4
- package/dist/types/v1/config/config.d.ts +46 -46
- package/dist/types/v1/config/migrate.d.ts +19 -7
- package/dist/types/v1/config/permission.d.ts +3 -3
- package/dist/util/error-summary.js +1 -1
- 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 +3 -3
- 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 +5 -5
- 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 +78 -78
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- 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 +5 -5
- package/dist/worktree/refresh.js +338 -337
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +87 -87
- package/package.json +8 -7
- package/dist/chunks/integration-3nf7bh68.js +0 -84
- package/dist/chunks/integration-4y7bcn0g.js +0 -4
- package/dist/chunks/integration-e62b8887.js +0 -22
- package/dist/chunks/integration-h8c5g50t.js +0 -247
- package/dist/chunks/integration-pf31ssb9.js +0 -18
- /package/dist/chunks/{integration-0fabt78z.js → schema-0fabt78z.js} +0 -0
- /package/dist/chunks/{integration-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{integration-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
- /package/dist/chunks/{integration-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
- /package/dist/chunks/{integration-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
- /package/dist/chunks/{integration-1kg9ymc8.js → schema-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{integration-2710q6r3.js → schema-2710q6r3.js} +0 -0
- /package/dist/chunks/{integration-2axfhc9x.js → schema-2axfhc9x.js} +0 -0
- /package/dist/chunks/{integration-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{integration-359p4xyc.js → schema-359p4xyc.js} +0 -0
- /package/dist/chunks/{integration-3asan66x.js → schema-3asan66x.js} +0 -0
- /package/dist/chunks/{integration-3t738kvx.js → schema-3t738kvx.js} +0 -0
- /package/dist/chunks/{integration-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
- /package/dist/chunks/{integration-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
- /package/dist/chunks/{integration-41nvscxy.js → schema-41nvscxy.js} +0 -0
- /package/dist/chunks/{integration-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
- /package/dist/chunks/{integration-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
- /package/dist/chunks/{integration-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
- /package/dist/chunks/{integration-53557ph1.js → schema-53557ph1.js} +0 -0
- /package/dist/chunks/{integration-550bvhaj.js → schema-550bvhaj.js} +0 -0
- /package/dist/chunks/{integration-6prwharc.js → schema-6prwharc.js} +0 -0
- /package/dist/chunks/{integration-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
- /package/dist/chunks/{integration-7m9af43g.js → schema-7m9af43g.js} +0 -0
- /package/dist/chunks/{integration-822emrt2.js → schema-822emrt2.js} +0 -0
- /package/dist/chunks/{integration-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
- /package/dist/chunks/{integration-8n3pysct.js → schema-8n3pysct.js} +0 -0
- /package/dist/chunks/{integration-982e01ww.js → schema-982e01ww.js} +0 -0
- /package/dist/chunks/{integration-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
- /package/dist/chunks/{integration-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{integration-a1tpkmh4.js → schema-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{integration-af5trqkr.js → schema-af5trqkr.js} +0 -0
- /package/dist/chunks/{integration-afrmfg78.js → schema-afrmfg78.js} +0 -0
- /package/dist/chunks/{integration-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{integration-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
- /package/dist/chunks/{integration-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{integration-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{integration-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
- /package/dist/chunks/{integration-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{integration-d9fn303g.js → schema-d9fn303g.js} +0 -0
- /package/dist/chunks/{integration-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{integration-dajrwvna.js → schema-dajrwvna.js} +0 -0
- /package/dist/chunks/{integration-dap0rakb.js → schema-dap0rakb.js} +0 -0
- /package/dist/chunks/{integration-df08tz66.js → schema-df08tz66.js} +0 -0
- /package/dist/chunks/{integration-dy18nga0.js → schema-dy18nga0.js} +0 -0
- /package/dist/chunks/{integration-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
- /package/dist/chunks/{integration-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
- /package/dist/chunks/{integration-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
- /package/dist/chunks/{integration-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
- /package/dist/chunks/{integration-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
- /package/dist/chunks/{integration-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{integration-faypxj3z.js → schema-faypxj3z.js} +0 -0
- /package/dist/chunks/{integration-fd410y7t.js → schema-fd410y7t.js} +0 -0
- /package/dist/chunks/{integration-fxgpk5d8.js → schema-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{integration-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
- /package/dist/chunks/{integration-g86h250q.js → schema-g86h250q.js} +0 -0
- /package/dist/chunks/{integration-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
- /package/dist/chunks/{integration-hk9envan.js → schema-hk9envan.js} +0 -0
- /package/dist/chunks/{integration-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
- /package/dist/chunks/{integration-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{integration-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{integration-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{integration-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{integration-mntxs535.js → schema-mntxs535.js} +0 -0
- /package/dist/chunks/{integration-mp448xyj.js → schema-mp448xyj.js} +0 -0
- /package/dist/chunks/{integration-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
- /package/dist/chunks/{integration-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
- /package/dist/chunks/{integration-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
- /package/dist/chunks/{integration-njntx4h6.js → schema-njntx4h6.js} +0 -0
- /package/dist/chunks/{integration-p8qxwesx.js → schema-p8qxwesx.js} +0 -0
- /package/dist/chunks/{integration-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
- /package/dist/chunks/{integration-q74kybfr.js → schema-q74kybfr.js} +0 -0
- /package/dist/chunks/{integration-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
- /package/dist/chunks/{integration-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
- /package/dist/chunks/{integration-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
- /package/dist/chunks/{integration-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
- /package/dist/chunks/{integration-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{integration-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{integration-se0s1eqw.js → schema-se0s1eqw.js} +0 -0
- /package/dist/chunks/{integration-sk3qaz4a.js → schema-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{integration-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
- /package/dist/chunks/{integration-twg0f83k.js → schema-twg0f83k.js} +0 -0
- /package/dist/chunks/{integration-w803qqfp.js → schema-w803qqfp.js} +0 -0
- /package/dist/chunks/{integration-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
- /package/dist/chunks/{integration-wtztk69x.js → schema-wtztk69x.js} +0 -0
- /package/dist/chunks/{integration-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
- /package/dist/chunks/{integration-x1b8g1yb.js → schema-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{integration-x61499pn.js → schema-x61499pn.js} +0 -0
- /package/dist/chunks/{integration-y44na4kk.js → schema-y44na4kk.js} +0 -0
- /package/dist/chunks/{integration-y8cydn3q.js → schema-y8cydn3q.js} +0 -0
- /package/dist/chunks/{integration-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{integration-z9919s4g.js → schema-z9919s4g.js} +0 -0
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./schema-3t738kvx.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./schema-72nftnjy.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./schema-kg06axw8.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service53,
|
|
17
|
+
node56
|
|
18
|
+
} from "./schema-d910tjb6.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service69,
|
|
21
|
+
node73
|
|
22
|
+
} from "./schema-54y1e3qg.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./schema-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./schema-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
32
32
|
__export(exports_tool, {
|
|
33
33
|
CallID: () => CallID2,
|
|
34
34
|
Content: () => Content3,
|
|
35
|
-
Error: () =>
|
|
35
|
+
Error: () => Error4,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service52,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node55
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as Content3, Error as
|
|
43
|
+
import { CallID as CallID2, Content as Content3, Error as Error4, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode-ai/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode-ai/ai";
|
|
45
45
|
import { Tool } from "@opencode-ai/schema/tool";
|
|
46
46
|
import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service52 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service69;
|
|
58
|
+
const image = yield* Service53;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
180
180
|
error: error.message
|
|
181
181
|
}), { discard: true })
|
|
182
182
|
});
|
|
183
|
-
return
|
|
183
|
+
return Service52.of({
|
|
184
184
|
transform: state.transform,
|
|
185
185
|
reload: state.reload,
|
|
186
186
|
snapshot: Effect.fn("Tool.snapshot")((permissions) => Effect.sync(() => {
|
|
@@ -262,10 +262,10 @@ function namespaceError(name) {
|
|
|
262
262
|
return;
|
|
263
263
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
264
264
|
}
|
|
265
|
-
var
|
|
266
|
-
service:
|
|
265
|
+
var node55 = makeLocationNode({
|
|
266
|
+
service: Service52,
|
|
267
267
|
layer,
|
|
268
|
-
deps: [
|
|
268
|
+
deps: [node73, node56]
|
|
269
269
|
});
|
|
270
270
|
|
|
271
|
-
export { RegistrationError2,
|
|
271
|
+
export { RegistrationError2, Service52, node55, exports_tool, CallID2, Content3, Error4, FileContent3, TextContent2 };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./schema-6qptncg2.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node71
|
|
7
|
+
} from "./schema-kqtq9r6d.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service3,
|
|
10
|
+
node6
|
|
11
|
+
} from "./schema-wbvdvtzj.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service33
|
|
14
|
+
} from "./schema-rap9a73h.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
node17,
|
|
17
|
+
ID3
|
|
18
|
+
} from "./schema-g1bsba7w.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service7,
|
|
21
|
+
node10
|
|
22
|
+
} from "./schema-2a1acymz.js";
|
|
23
23
|
import {
|
|
24
24
|
requirements2,
|
|
25
25
|
list2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./schema-za2svx48.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
make5,
|
|
29
29
|
LoadError2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./schema-vrwt7trm.js";
|
|
31
31
|
import {
|
|
32
32
|
Updated2,
|
|
33
|
+
Service6,
|
|
34
|
+
node9
|
|
35
|
+
} from "./schema-xzzg2aw3.js";
|
|
36
|
+
import {
|
|
33
37
|
Service5,
|
|
34
38
|
node8
|
|
35
|
-
} from "./
|
|
36
|
-
import {
|
|
37
|
-
Service4,
|
|
38
|
-
node7
|
|
39
|
-
} from "./integration-mjzw1bzx.js";
|
|
39
|
+
} from "./schema-xgjy9czn.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./schema-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/plugin/supervisor.ts
|
|
45
45
|
var exports_supervisor = {};
|
|
@@ -115,7 +115,7 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
115
115
|
failures: [
|
|
116
116
|
...failures.values(),
|
|
117
117
|
...ordered.filter(duplicate).map((plugin) => ({
|
|
118
|
-
id:
|
|
118
|
+
id: ID3.make(plugin.id),
|
|
119
119
|
source: plugin.source ?? { type: "builtin" },
|
|
120
120
|
state: { status: "failed", error: `Duplicate plugin ID: ${plugin.id}` },
|
|
121
121
|
features: { server: true, ...plugin.features }
|
|
@@ -125,13 +125,13 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
125
125
|
};
|
|
126
126
|
});
|
|
127
127
|
var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
128
|
-
const registry = yield*
|
|
129
|
-
const sdk = yield*
|
|
130
|
-
const instance = yield*
|
|
131
|
-
const sources = yield*
|
|
132
|
-
const modules = yield*
|
|
133
|
-
const bus = yield*
|
|
134
|
-
const updates = yield*
|
|
128
|
+
const registry = yield* Service33;
|
|
129
|
+
const sdk = yield* Service6;
|
|
130
|
+
const instance = yield* Service7;
|
|
131
|
+
const sources = yield* Service3;
|
|
132
|
+
const modules = yield* make5();
|
|
133
|
+
const bus = yield* Service79;
|
|
134
|
+
const updates = yield* Service5;
|
|
135
135
|
const internal = yield* list2();
|
|
136
136
|
let release = yield* registry.hold();
|
|
137
137
|
yield* Effect.addFinalizer(() => release ?? Effect.void);
|
|
@@ -206,14 +206,14 @@ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
206
206
|
})), Effect.forkScoped({ startImmediately: true }));
|
|
207
207
|
}));
|
|
208
208
|
var nodeDeps = [
|
|
209
|
-
|
|
210
|
-
|
|
209
|
+
node17,
|
|
210
|
+
node9,
|
|
211
|
+
node10,
|
|
211
212
|
node6,
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
node82,
|
|
213
|
+
node8,
|
|
214
|
+
node84,
|
|
215
215
|
Npm.node,
|
|
216
|
-
|
|
216
|
+
node71,
|
|
217
217
|
requirements2
|
|
218
218
|
];
|
|
219
219
|
function pluginSource(target) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/repository.ts
|
|
6
6
|
var exports_repository = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_repository, {
|
|
|
13
13
|
cachePath: () => cachePath2,
|
|
14
14
|
isFile: () => isFile2,
|
|
15
15
|
isRemote: () => isRemote2,
|
|
16
|
-
parse: () =>
|
|
16
|
+
parse: () => parse4,
|
|
17
17
|
parseRemote: () => parseRemote2,
|
|
18
18
|
same: () => same2,
|
|
19
19
|
validateBranch: () => validateBranch3
|
|
@@ -39,7 +39,7 @@ class InvalidBranchError3 extends Schema.TaggedError()("RepositoryInvalidBranchE
|
|
|
39
39
|
message: Schema.String
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function parse4(input) {
|
|
43
43
|
const cleaned = normalizeInput(input);
|
|
44
44
|
if (!cleaned)
|
|
45
45
|
return;
|
|
@@ -72,7 +72,7 @@ function parse5(input) {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
function parseRemote2(input) {
|
|
75
|
-
const reference =
|
|
75
|
+
const reference = parse4(input);
|
|
76
76
|
if (!reference) {
|
|
77
77
|
throw new InvalidReferenceError2({
|
|
78
78
|
repository: input,
|
|
@@ -172,4 +172,4 @@ function buildFile(input) {
|
|
|
172
172
|
};
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3,
|
|
175
|
+
export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3, parse4, parseRemote2, validateBranch3, isFile2, isRemote2, cachePath2, cacheIdentity2, same2, exports_repository };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NamedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-2axfhc9x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/error.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
11
|
-
ConfigErrorV1: () =>
|
|
9
|
+
var exports_error2 = {};
|
|
10
|
+
__export(exports_error2, {
|
|
11
|
+
ConfigErrorV1: () => exports_error2,
|
|
12
12
|
DirectoryTypoError: () => DirectoryTypoError2,
|
|
13
13
|
FrontmatterError: () => FrontmatterError2,
|
|
14
14
|
InvalidError: () => InvalidError2,
|
|
@@ -43,4 +43,4 @@ var RemoteAuthError2 = NamedError2.create("ConfigRemoteAuthError", {
|
|
|
43
43
|
remote: Schema.String
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2,
|
|
46
|
+
export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2, exports_error2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service7,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node10
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service7 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node10 = makeLocationNode({
|
|
19
|
+
service: Service7,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service7, Service7.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service7, node10, bound2, exports_instance2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-982e01ww.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-0vqp07g5.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
12
|
+
var exports_error = {};
|
|
13
|
+
__export(exports_error, {
|
|
14
14
|
AgentNotFoundError: () => AgentNotFoundError2,
|
|
15
15
|
AttachmentError: () => AttachmentError2,
|
|
16
16
|
BusyError: () => BusyError2,
|
|
@@ -24,7 +24,7 @@ __export(exports_error2, {
|
|
|
24
24
|
MessageToolIncompleteError: () => MessageToolIncompleteError2,
|
|
25
25
|
NotFoundError: () => NotFoundError7,
|
|
26
26
|
PromptConflictError: () => PromptConflictError2,
|
|
27
|
-
SessionErrors: () =>
|
|
27
|
+
SessionErrors: () => exports_error,
|
|
28
28
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
29
29
|
StepFailedError: () => StepFailedError2,
|
|
30
30
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
@@ -144,4 +144,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
|
|
|
144
144
|
}) {
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
export { NotFoundError7, MessageNotFoundError2, MessageNotAssistantError2, MessageIncompleteError2, MessageToolIncompleteError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, UserInterruptedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2,
|
|
147
|
+
export { NotFoundError7, MessageNotFoundError2, MessageNotAssistantError2, MessageIncompleteError2, MessageToolIncompleteError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, UserInterruptedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node85
|
|
4
|
+
} from "./schema-fv0bxyhd.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./schema-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./schema-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: () => Service77,
|
|
17
|
+
node: () => node82
|
|
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 Service77 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service80).db;
|
|
26
|
-
return
|
|
26
|
+
return Service77.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 node82 = makeGlobalNode({ service: Service77, layer, deps: [node85] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service77, node82, exports_kv };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./schema-6qptncg2.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./schema-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./schema-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
13
|
var exports_command4 = {};
|
|
14
14
|
__export(exports_command4, {
|
|
15
15
|
Command: () => exports_command4,
|
|
16
|
-
Event: () =>
|
|
16
|
+
Event: () => Event10,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
18
|
+
Info: () => Info10,
|
|
19
|
+
NotFoundError: () => NotFoundError5,
|
|
20
|
+
Service: () => Service51,
|
|
21
|
+
layer: () => layer19,
|
|
22
|
+
node: () => node54
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode-ai/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event10 } from "@opencode-ai/schema/command";
|
|
28
|
+
var Info10 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError5 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,10 +39,10 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service51 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
45
|
-
const bus = yield*
|
|
44
|
+
var layer19 = Layer.effect(Service51, Effect.gen(function* () {
|
|
45
|
+
const bus = yield* Service79;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
48
48
|
initial: () => new Map,
|
|
@@ -51,11 +51,11 @@ var layer16 = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info10.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service51.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,15 +66,15 @@ var layer16 = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError5({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
77
|
-
deps: [
|
|
74
|
+
var node54 = makeLocationNode({
|
|
75
|
+
service: Service51,
|
|
76
|
+
layer: layer19,
|
|
77
|
+
deps: [node84]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
80
80
|
if (error instanceof Error)
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info10, NotFoundError5, ExecutionError2, Service51, layer19, node54, exports_command4, Event10 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
codeInterpreterArgsSchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-eh3zwz77.js";
|
|
4
4
|
import {
|
|
5
5
|
fileSearchArgsSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-e73j6tqm.js";
|
|
7
7
|
import {
|
|
8
8
|
webSearchArgsSchema2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-3wcehsnq.js";
|
|
10
10
|
import {
|
|
11
11
|
webSearchPreviewArgsSchema2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./schema-dap0rakb.js";
|
|
13
13
|
import {
|
|
14
14
|
imageGenerationArgsSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./schema-4y7fprxs.js";
|
|
16
16
|
|
|
17
17
|
// src/github-copilot/responses/openai-responses-prepare-tools.ts
|
|
18
18
|
import {
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service74,
|
|
6
|
+
node79
|
|
7
|
+
} from "./schema-46e97tr7.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./schema-2402vzrj.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service77,
|
|
16
|
+
node82
|
|
17
|
+
} from "./schema-2g49wpqd.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./schema-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service50,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node53,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service50 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,25 +101,25 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service74;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service77;
|
|
110
|
+
return Service50.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
114
114
|
const repository = input.reference.label;
|
|
115
115
|
const localPath = cachePath2(global.repos, input.reference, input.branch);
|
|
116
116
|
const key = `repository-cache:${localPath}`;
|
|
117
|
-
const cloneTarget =
|
|
117
|
+
const cloneTarget = parse4(input.reference.remote) ?? input.reference;
|
|
118
118
|
return yield* flock.withLock(Effect.gen(function* () {
|
|
119
119
|
yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
|
|
120
120
|
const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
|
|
121
121
|
const origin = existing ? yield* git.remote.get(existing) : undefined;
|
|
122
|
-
const originReference = origin ?
|
|
122
|
+
const originReference = origin ? parse4(origin) : undefined;
|
|
123
123
|
const worktree = existing ? yield* fs.resolve(localPath) : undefined;
|
|
124
124
|
const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
|
|
125
125
|
if (!reuse && (yield* fs.existsSafe(localPath))) {
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node53 = makeGlobalNode({
|
|
171
|
+
service: Service50,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node79, Global.node, node82]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service50, isError2, validateBranch2, node53, exports_repository_cache };
|