@opencode-ai/core 0.0.0-dev-19194 → 0.0.0-dev-19195
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/catalog.js +83 -82
- package/dist/chunks/{permission-qgqe8wdv.js → workspace-068b73xf.js} +39 -39
- package/dist/chunks/{permission-0e0xafbb.js → workspace-0e0xafbb.js} +2 -2
- package/dist/chunks/{permission-ty4tv0p8.js → workspace-0fjt40yb.js} +6 -6
- package/dist/chunks/{permission-bp1yp9s7.js → workspace-0fw9qd1b.js} +17 -17
- package/dist/chunks/{permission-xmsqqspp.js → workspace-0g1xepjd.js} +1 -1
- package/dist/chunks/workspace-0hbxperx.js +4 -0
- package/dist/chunks/{permission-0paq2nw3.js → workspace-0paq2nw3.js} +1 -1
- package/dist/chunks/workspace-0q0f95c6.js +37 -0
- package/dist/chunks/{permission-vevwt92b.js → workspace-0re6vwmn.js} +14 -14
- package/dist/chunks/{permission-0rh3kdcc.js → workspace-0rh3kdcc.js} +2 -2
- package/dist/chunks/{permission-0s9ayhjt.js → workspace-0s9ayhjt.js} +1 -1
- package/dist/chunks/{permission-06g9tmzq.js → workspace-0vfsfq09.js} +49 -49
- package/dist/chunks/{permission-y4nzzd5t.js → workspace-0xd2d7hb.js} +5 -5
- package/dist/chunks/{permission-jkypfbqd.js → workspace-0yz53w83.js} +5 -5
- package/dist/chunks/{permission-tvba162w.js → workspace-15vkkqfs.js} +24 -24
- package/dist/chunks/{permission-rnfh5tzx.js → workspace-16ktxr8e.js} +10 -10
- package/dist/chunks/{permission-c3edmaeq.js → workspace-1a51ccws.js} +26 -26
- package/dist/chunks/{permission-x5996nqq.js → workspace-1aejntzd.js} +1 -1
- package/dist/chunks/{permission-1ct4r87x.js → workspace-1ct4r87x.js} +1 -1
- package/dist/chunks/{permission-za303knc.js → workspace-1d2qgftm.js} +11 -11
- package/dist/chunks/{permission-0y3y70eh.js → workspace-1gg2jxya.js} +11 -11
- package/dist/chunks/{permission-1fnn203z.js → workspace-1v0az01t.js} +46 -46
- package/dist/chunks/{permission-90dkb0a5.js → workspace-1zdha367.js} +30 -30
- package/dist/chunks/{permission-21r38tys.js → workspace-21r38tys.js} +1 -1
- package/dist/chunks/{permission-2402vzrj.js → workspace-2402vzrj.js} +1 -1
- package/dist/chunks/{permission-z63w68vq.js → workspace-29x78va6.js} +6 -6
- package/dist/chunks/{permission-9xd69fg1.js → workspace-2a3akjqp.js} +9 -9
- package/dist/chunks/{permission-2a5m3afh.js → workspace-2a5m3afh.js} +1 -1
- package/dist/chunks/{permission-ee4j062y.js → workspace-2ay9xfby.js} +27 -27
- package/dist/chunks/{permission-naee4z7c.js → workspace-2c82d34x.js} +4 -4
- package/dist/chunks/{permission-pen6f378.js → workspace-2dxxnwvn.js} +16 -16
- package/dist/chunks/{permission-1hvvsyxb.js → workspace-2faag0yz.js} +1 -1
- package/dist/chunks/{permission-q4rx8yxr.js → workspace-2ffx8tza.js} +32 -32
- package/dist/chunks/{permission-2ht70gj7.js → workspace-2ht70gj7.js} +1 -1
- package/dist/chunks/{permission-8dpf37y4.js → workspace-2r9yknnn.js} +16 -16
- package/dist/chunks/{permission-a5kby1rv.js → workspace-2rmdj2fd.js} +13 -13
- package/dist/chunks/{permission-0jeydt1r.js → workspace-2tw22e3n.js} +12 -12
- package/dist/chunks/{permission-d7baysx9.js → workspace-33g5bhj5.js} +19 -19
- package/dist/chunks/{permission-rph3zd4r.js → workspace-35agz59w.js} +4 -4
- package/dist/chunks/{permission-36vsdr69.js → workspace-36vsdr69.js} +2 -2
- package/dist/chunks/{permission-6kqmr9wh.js → workspace-3a8w8bgx.js} +25 -25
- package/dist/chunks/{permission-4c7vbtbn.js → workspace-3f3b7fxe.js} +56 -56
- package/dist/chunks/{permission-3fc6dm20.js → workspace-3fc6dm20.js} +1 -1
- package/dist/chunks/{permission-3hepkmqq.js → workspace-3hepkmqq.js} +1 -1
- package/dist/chunks/{permission-3pxrk450.js → workspace-3pxrk450.js} +3 -3
- package/dist/chunks/{permission-a1bqr6mg.js → workspace-3qs8c17p.js} +9 -9
- package/dist/chunks/{permission-3qzbfqsy.js → workspace-3qzbfqsy.js} +2 -2
- package/dist/chunks/{permission-1g20fj6k.js → workspace-3rzw8re5.js} +38 -38
- package/dist/chunks/{permission-3smtnn6g.js → workspace-3smtnn6g.js} +1 -1
- package/dist/chunks/{permission-3tvqynh2.js → workspace-3tvqynh2.js} +1 -1
- package/dist/chunks/{permission-0kc0bztd.js → workspace-3z407xgg.js} +11 -11
- package/dist/chunks/{permission-454k5vzh.js → workspace-454k5vzh.js} +1 -1
- package/dist/chunks/{permission-798c5d35.js → workspace-4b5q5rw6.js} +4 -4
- package/dist/chunks/{permission-kbs6ktxn.js → workspace-4p715j90.js} +1 -1
- package/dist/chunks/{permission-drfs6y29.js → workspace-4q86jpqz.js} +13 -13
- package/dist/chunks/{permission-4r2nyarf.js → workspace-4r2nyarf.js} +1 -1
- package/dist/chunks/{permission-ehncr9ys.js → workspace-4stb02hv.js} +22 -22
- package/dist/chunks/{permission-skvhtt2n.js → workspace-4tegd15c.js} +44 -44
- package/dist/chunks/{permission-34yjfdzm.js → workspace-4xc43mfd.js} +32 -32
- package/dist/chunks/{permission-p6kvckg5.js → workspace-4z9ne5jz.js} +9 -9
- package/dist/chunks/{permission-vddeh64n.js → workspace-53smh5bh.js} +7 -7
- package/dist/chunks/{permission-cpxv7qgy.js → workspace-5d4cs7v3.js} +10 -10
- package/dist/chunks/{permission-5daktx2q.js → workspace-5daktx2q.js} +1 -1
- package/dist/chunks/{permission-5fmxt4p5.js → workspace-5fmxt4p5.js} +1 -1
- package/dist/chunks/{permission-5jvc5tg2.js → workspace-5jvc5tg2.js} +1 -1
- package/dist/chunks/{permission-d0b0j5m4.js → workspace-5vdh38nh.js} +20 -20
- package/dist/chunks/{permission-q2n1byss.js → workspace-5xr1m2vs.js} +44 -44
- package/dist/chunks/{permission-jjr4j3fd.js → workspace-60xfgdbs.js} +8 -8
- package/dist/chunks/{permission-86wx1ee5.js → workspace-6cysz5dw.js} +5 -5
- package/dist/chunks/{permission-845a489e.js → workspace-6fxxj0b0.js} +2 -2
- package/dist/chunks/{permission-a0m130rn.js → workspace-6t6zj863.js} +11 -11
- package/dist/chunks/{permission-711hfp6y.js → workspace-711hfp6y.js} +2 -2
- package/dist/chunks/{permission-kftt56g4.js → workspace-71q9t6ba.js} +13 -13
- package/dist/chunks/{permission-72nftnjy.js → workspace-72nftnjy.js} +2 -2
- package/dist/chunks/{permission-5z48x7pe.js → workspace-74vpyb3b.js} +301 -301
- package/dist/chunks/{permission-rrksnp7n.js → workspace-79c9y92c.js} +9 -9
- package/dist/chunks/{permission-7bmhse3q.js → workspace-7bmhse3q.js} +1 -1
- package/dist/chunks/{permission-ary78n1n.js → workspace-7c6pxk1q.js} +33 -33
- package/dist/chunks/{permission-2k8khapm.js → workspace-7dqw4kz8.js} +5 -5
- package/dist/chunks/{permission-hb5dw269.js → workspace-7kacr3xp.js} +9 -9
- package/dist/chunks/{permission-nrhxst0m.js → workspace-7m57xn6p.js} +25 -25
- package/dist/chunks/{permission-rrthq9em.js → workspace-7s43nks0.js} +35 -35
- package/dist/chunks/{permission-pc2frccz.js → workspace-7y1dpja0.js} +21 -21
- package/dist/chunks/{permission-tjvcjkky.js → workspace-81xk1twe.js} +11 -11
- package/dist/chunks/{permission-5em8x407.js → workspace-81z2r11y.js} +13 -13
- package/dist/chunks/{permission-jtgqb2ba.js → workspace-845gn4k5.js} +29 -29
- package/dist/chunks/{permission-y7zybnf0.js → workspace-8amcsk7y.js} +5 -5
- package/dist/chunks/{permission-y0vg58g0.js → workspace-8c15vfp7.js} +20 -20
- package/dist/chunks/{permission-th9cb3a2.js → workspace-8d3ap7rh.js} +8 -8
- package/dist/chunks/{permission-97f5v037.js → workspace-97f5v037.js} +1 -1
- package/dist/chunks/{permission-basdkhxq.js → workspace-9envm5e0.js} +28 -28
- package/dist/chunks/{permission-y7y73wg0.js → workspace-9menw9ez.js} +5 -5
- package/dist/chunks/{permission-etm14sfn.js → workspace-9pvcw3n1.js} +46 -46
- package/dist/chunks/{permission-fs8mreb3.js → workspace-9q7wgxy9.js} +25 -25
- package/dist/chunks/{permission-9qm9egsn.js → workspace-9qm9egsn.js} +2 -2
- package/dist/chunks/{permission-9xwybkd6.js → workspace-9qw7vjgy.js} +1 -1
- package/dist/chunks/{permission-ssvhf1t0.js → workspace-a118mjrx.js} +20 -20
- package/dist/chunks/{permission-ta6mxwq1.js → workspace-a38p2nxc.js} +36 -36
- package/dist/chunks/{permission-aaet6srn.js → workspace-aaet6srn.js} +2 -2
- package/dist/chunks/{permission-ajtjthsy.js → workspace-ajtjthsy.js} +2 -2
- package/dist/chunks/workspace-ap7ve986.js +247 -0
- package/dist/chunks/{permission-x2et6yvz.js → workspace-av5jma75.js} +12 -12
- package/dist/chunks/{permission-nfnj84cy.js → workspace-axn5xzr3.js} +11 -11
- package/dist/chunks/{permission-xx3n06zn.js → workspace-b2r752qe.js} +11 -11
- package/dist/chunks/{permission-b6gygkdw.js → workspace-b6gygkdw.js} +2 -2
- package/dist/chunks/{permission-b9wsbatv.js → workspace-b9wsbatv.js} +1 -1
- package/dist/chunks/{permission-3kbzmjgj.js → workspace-bbjenryc.js} +23 -23
- package/dist/chunks/{permission-6717p8ax.js → workspace-bw8t122c.js} +24 -24
- package/dist/chunks/{permission-7g2wv44g.js → workspace-bybqvbgv.js} +20 -20
- package/dist/chunks/{permission-wmeds191.js → workspace-c18cyq95.js} +79 -79
- package/dist/chunks/{permission-shr5ah0e.js → workspace-c75m57ar.js} +15 -15
- package/dist/chunks/{permission-f64a3ghm.js → workspace-c9nf16bb.js} +15 -15
- package/dist/chunks/{permission-mvq70mme.js → workspace-cdg11xfw.js} +28 -28
- package/dist/chunks/{permission-59wa6ec1.js → workspace-cevw79xn.js} +22 -22
- package/dist/chunks/{permission-549p75yk.js → workspace-cf2hac63.js} +170 -170
- package/dist/chunks/{permission-kj392b1j.js → workspace-ckwerkzg.js} +20 -20
- package/dist/chunks/{permission-s3m1ant6.js → workspace-cmk7q4nn.js} +35 -35
- package/dist/chunks/{permission-zkxx2fyd.js → workspace-d2vs47x1.js} +15 -15
- package/dist/chunks/{permission-6vhs0r56.js → workspace-d71pqjd0.js} +32 -32
- package/dist/chunks/{permission-d72308c8.js → workspace-d72308c8.js} +2 -2
- package/dist/chunks/{permission-ndjbqfda.js → workspace-dhsaksrz.js} +22 -22
- package/dist/chunks/{permission-91y84mbe.js → workspace-dnkajh91.js} +15 -15
- package/dist/chunks/{permission-jwcy2c2z.js → workspace-dpkg50ah.js} +4 -4
- package/dist/chunks/{permission-734paghm.js → workspace-dsfx0j74.js} +9 -9
- package/dist/chunks/{permission-1ezdn4hp.js → workspace-dshdanpk.js} +7 -7
- package/dist/chunks/{permission-3ne54r9x.js → workspace-ecr6q9gm.js} +13 -13
- package/dist/chunks/{permission-cze9nqnn.js → workspace-eg9r2xh4.js} +15 -15
- package/dist/chunks/{permission-v6616nmc.js → workspace-eh6627qw.js} +16 -16
- package/dist/chunks/{permission-y4jvkgbx.js → workspace-emc8vkxa.js} +20 -20
- package/dist/chunks/{permission-vdptz04f.js → workspace-emz89tv7.js} +6 -6
- package/dist/chunks/{permission-7kmhxb86.js → workspace-ezqspp1y.js} +12 -12
- package/dist/chunks/{permission-yp2x3t23.js → workspace-f2n192rq.js} +4 -4
- package/dist/chunks/{permission-fxbjtjnd.js → workspace-fxbjtjnd.js} +1 -1
- package/dist/chunks/{permission-z53jqebf.js → workspace-fxf1dnqb.js} +18 -18
- package/dist/chunks/{permission-fxypknc8.js → workspace-fxypknc8.js} +1 -1
- package/dist/chunks/{permission-6gvvcmqp.js → workspace-fyfh7zkb.js} +8 -8
- package/dist/chunks/{permission-gd4qta3r.js → workspace-gd4qta3r.js} +1 -1
- package/dist/chunks/{permission-gst7axd9.js → workspace-gst7axd9.js} +1 -1
- package/dist/chunks/{permission-ecyqkc7t.js → workspace-gx1t8w3s.js} +8 -8
- package/dist/chunks/{permission-7rwf1fkz.js → workspace-gy68fj6j.js} +6 -6
- package/dist/chunks/{permission-11tw25g0.js → workspace-gzd7t3bg.js} +4 -4
- package/dist/chunks/{permission-tevfa6wa.js → workspace-h0cq6hzf.js} +1 -1
- package/dist/chunks/{permission-h6vf3j39.js → workspace-h6vf3j39.js} +1 -1
- package/dist/chunks/{permission-9d4vrqc0.js → workspace-hejkh9nt.js} +9 -9
- package/dist/chunks/{permission-bgdcyqqr.js → workspace-hexrr955.js} +4 -4
- package/dist/chunks/{permission-heyhwy2w.js → workspace-heyhwy2w.js} +1 -1
- package/dist/chunks/{permission-j6c3dt9j.js → workspace-hq38dvr8.js} +16 -16
- package/dist/chunks/{permission-63kze1d3.js → workspace-hr77wr0b.js} +4 -4
- package/dist/chunks/{permission-hrvm11jt.js → workspace-hrvm11jt.js} +3 -3
- package/dist/chunks/{permission-xqe4xt8f.js → workspace-hs0g3405.js} +7 -7
- package/dist/chunks/{permission-gdw6r6rf.js → workspace-ht3swkvd.js} +84 -39
- package/dist/chunks/workspace-ht5y0zrb.js +18 -0
- package/dist/chunks/{permission-f60nab11.js → workspace-hwhmgy08.js} +30 -30
- package/dist/chunks/{permission-bxj8vx9k.js → workspace-j56dwvq0.js} +15 -15
- package/dist/chunks/{permission-qfyttvec.js → workspace-j6w5vbga.js} +13 -13
- package/dist/chunks/{permission-kecsmh6z.js → workspace-j7xarp0s.js} +12 -12
- package/dist/chunks/{permission-paphc93g.js → workspace-j935v87r.js} +2 -2
- package/dist/chunks/{permission-ndqtf2h8.js → workspace-jbjr1a4g.js} +4 -4
- package/dist/chunks/{permission-06wykemb.js → workspace-jcpdywpz.js} +13 -13
- package/dist/chunks/{permission-bsvvsrn1.js → workspace-je9hks3h.js} +5 -5
- package/dist/chunks/{permission-d9r6yxfs.js → workspace-jegy9gdg.js} +13 -13
- package/dist/chunks/{permission-v5dkyp31.js → workspace-jfqtm2ew.js} +4 -4
- package/dist/chunks/{permission-7pzsxwre.js → workspace-jg1y1cps.js} +3 -3
- package/dist/chunks/{permission-zcdkhb99.js → workspace-jk5fkwzf.js} +16 -16
- package/dist/chunks/{permission-vps2nv09.js → workspace-jx6b2bsj.js} +36 -36
- package/dist/chunks/{permission-8rc8m2aj.js → workspace-k167vvtr.js} +29 -29
- package/dist/chunks/{permission-k4bwy1x5.js → workspace-k4bwy1x5.js} +1 -1
- package/dist/chunks/{permission-41g6g5mm.js → workspace-kej5w9g7.js} +24 -24
- package/dist/chunks/{permission-kg06axw8.js → workspace-kg06axw8.js} +1 -1
- package/dist/chunks/{permission-t1v0cqqz.js → workspace-kkhk00bj.js} +13 -13
- package/dist/chunks/{permission-0hmgtzsc.js → workspace-kptjv56s.js} +46 -46
- package/dist/chunks/{permission-hw4pv20g.js → workspace-kvsjn1dr.js} +2 -2
- package/dist/chunks/{permission-t18jrk1b.js → workspace-kvst4ern.js} +22 -22
- package/dist/chunks/{permission-abvwjazp.js → workspace-kzw66bh9.js} +12 -12
- package/dist/chunks/{permission-kdz37j01.js → workspace-m14vb86n.js} +17 -17
- package/dist/chunks/{permission-sg76v7pb.js → workspace-m5m6jp7r.js} +22 -22
- package/dist/chunks/{permission-33yxnv13.js → workspace-m7qt7787.js} +11 -11
- package/dist/chunks/{permission-rwbzb0j9.js → workspace-m82bvrgm.js} +19 -19
- package/dist/chunks/{permission-m9w0rfyh.js → workspace-m9w0rfyh.js} +1 -1
- package/dist/chunks/{permission-dcs5gde8.js → workspace-maeftwq7.js} +4 -4
- package/dist/chunks/{permission-r07gm0bm.js → workspace-mbd11dqj.js} +6 -6
- package/dist/chunks/{permission-1bbkgx8g.js → workspace-mhkvc446.js} +3 -3
- package/dist/chunks/workspace-mrbb05hy.js +22 -0
- package/dist/chunks/{permission-qbgs5603.js → workspace-mrv5p0t7.js} +25 -25
- package/dist/chunks/{permission-2dxzc6st.js → workspace-mzv08p01.js} +9 -9
- package/dist/chunks/{permission-j4522nkd.js → workspace-n7ehfhw4.js} +15 -15
- package/dist/chunks/{permission-w794wtw1.js → workspace-n8j5hvcz.js} +82 -82
- package/dist/chunks/{permission-ystvjdgv.js → workspace-ng39vjdn.js} +2 -2
- package/dist/chunks/{permission-nhy5jxhy.js → workspace-nhy5jxhy.js} +1 -1
- package/dist/chunks/{permission-wtm3m4mv.js → workspace-nj1fe1jb.js} +20 -20
- package/dist/chunks/{permission-q1rpvv9s.js → workspace-ns54cwdc.js} +10 -10
- package/dist/chunks/{permission-jn3vpcr2.js → workspace-nw4f25v3.js} +31 -31
- package/dist/chunks/{permission-0mktrftt.js → workspace-nz7385rw.js} +18 -18
- package/dist/chunks/{permission-s76kmyqn.js → workspace-p1em5hbw.js} +22 -22
- package/dist/chunks/{permission-sj8yj28g.js → workspace-p9tbkvt9.js} +11 -11
- package/dist/chunks/{permission-pjvnvgmy.js → workspace-pjvnvgmy.js} +1 -1
- package/dist/chunks/{permission-pknna89w.js → workspace-pknna89w.js} +1 -1
- package/dist/chunks/{permission-s8ds8jcd.js → workspace-prv5r0xz.js} +4 -4
- package/dist/chunks/{permission-b1gft069.js → workspace-py9bx3em.js} +17 -17
- package/dist/chunks/{permission-wrwy3hc7.js → workspace-qbghqg6x.js} +9 -9
- package/dist/chunks/{permission-9y67xgrt.js → workspace-qmgk9w2w.js} +11 -11
- package/dist/chunks/{permission-r2yagys3.js → workspace-qmkbf54x.js} +21 -21
- package/dist/chunks/{permission-pmr4s4kc.js → workspace-qq11w61w.js} +4 -4
- package/dist/chunks/{permission-qsdy395h.js → workspace-qsdy395h.js} +1 -1
- package/dist/chunks/{permission-m3fm0fm8.js → workspace-r1dq9xr8.js} +5 -5
- package/dist/chunks/{permission-674xz2ws.js → workspace-r6a3d7k7.js} +3 -3
- package/dist/chunks/{permission-r8dhm0tv.js → workspace-r8dhm0tv.js} +1 -1
- package/dist/chunks/{permission-tpjsp3rq.js → workspace-rkqj9vd2.js} +4 -4
- package/dist/chunks/{permission-1554gh0k.js → workspace-rwp76w0w.js} +10 -10
- package/dist/chunks/{permission-xxhpgjtn.js → workspace-sa4mskcd.js} +6 -6
- package/dist/chunks/{permission-sba4qhjf.js → workspace-sba4qhjf.js} +1 -1
- package/dist/chunks/{permission-56hhj1k0.js → workspace-sf62yp7w.js} +50 -50
- package/dist/chunks/{permission-d8vvpswg.js → workspace-sf6ny1gj.js} +23 -23
- package/dist/chunks/{permission-jw57zqaw.js → workspace-sfvvrn0t.js} +9 -9
- package/dist/chunks/{permission-maxga7za.js → workspace-sg0pwknn.js} +11 -11
- package/dist/chunks/{permission-27k9sb4m.js → workspace-szxxy2tp.js} +25 -25
- package/dist/chunks/{permission-7xw9zsz9.js → workspace-t2bg0eyh.js} +27 -27
- package/dist/chunks/{permission-ahgb5763.js → workspace-t5em3jnm.js} +11 -11
- package/dist/chunks/{permission-03418nvg.js → workspace-t86gsvkf.js} +26 -26
- package/dist/chunks/{permission-tazgh4e4.js → workspace-tazgh4e4.js} +1 -1
- package/dist/chunks/{permission-tcezcvh9.js → workspace-tcezcvh9.js} +1 -1
- package/dist/chunks/{permission-d83vdxpb.js → workspace-tcvwtwdv.js} +7 -7
- package/dist/chunks/{permission-dmp12eyw.js → workspace-tgz09txt.js} +27 -27
- package/dist/chunks/{permission-tjykrgmx.js → workspace-tjykrgmx.js} +1 -1
- package/dist/chunks/{permission-2rpq0xmv.js → workspace-tppvcy65.js} +9 -9
- package/dist/chunks/{permission-1epdwr0s.js → workspace-ty5hvd6t.js} +23 -23
- package/dist/chunks/{permission-m75mcjf9.js → workspace-v2pza5zk.js} +8 -8
- package/dist/chunks/{permission-zca6dyxv.js → workspace-v4q1q4qr.js} +17 -17
- package/dist/chunks/{permission-yjjng2s7.js → workspace-v6zycaf8.js} +14 -14
- package/dist/chunks/{permission-gvj8s4nn.js → workspace-v706g9gb.js} +14 -14
- package/dist/chunks/{permission-g213rqq5.js → workspace-vcsvgwjs.js} +7 -7
- package/dist/chunks/{permission-pawvfhab.js → workspace-vgx5yp2y.js} +63 -63
- package/dist/chunks/{permission-1th2e3gc.js → workspace-vmsm1wad.js} +22 -22
- package/dist/chunks/{permission-tsp2em4c.js → workspace-w2426zxz.js} +6 -6
- package/dist/chunks/{permission-saak5ttd.js → workspace-w3jym6ha.js} +9 -9
- package/dist/chunks/{permission-w3wsvvr9.js → workspace-w3wsvvr9.js} +1 -1
- package/dist/chunks/{permission-rtqtxd9a.js → workspace-w64jnvj3.js} +5 -5
- package/dist/chunks/{permission-7bj47tff.js → workspace-w6t9st8m.js} +41 -41
- package/dist/chunks/{permission-h9rm1rrn.js → workspace-w8xr7nv8.js} +5 -5
- package/dist/chunks/{permission-at3tw8h2.js → workspace-wbewyepm.js} +9 -9
- package/dist/chunks/{permission-wd87259q.js → workspace-wd87259q.js} +1 -1
- package/dist/chunks/{permission-9vm9s1a5.js → workspace-wfb2eacg.js} +1 -1
- package/dist/chunks/{permission-jpg38yrs.js → workspace-wgcrfrpe.js} +6 -6
- package/dist/chunks/{permission-ywm3nvxx.js → workspace-wj9hqsdt.js} +6 -6
- package/dist/chunks/{permission-nvw3xbya.js → workspace-wkjngxy5.js} +3 -3
- package/dist/chunks/{permission-qpj255cf.js → workspace-wrec6qs9.js} +28 -28
- package/dist/chunks/{permission-71z2dbxd.js → workspace-wv6bpcdh.js} +2 -2
- package/dist/chunks/{permission-gzhrweeb.js → workspace-ww4qd3f3.js} +12 -12
- package/dist/chunks/{permission-2tr0vbqd.js → workspace-wyhh9vp5.js} +44 -44
- package/dist/chunks/{permission-x1ezjp6w.js → workspace-x1ezjp6w.js} +1 -1
- package/dist/chunks/{permission-zxqn6njn.js → workspace-x6s6v7c0.js} +36 -36
- package/dist/chunks/{permission-1c2kc3me.js → workspace-x7a4wc9r.js} +5 -5
- package/dist/chunks/{permission-npw9qs6v.js → workspace-xajw8b0s.js} +28 -28
- package/dist/chunks/{permission-ybh27hq8.js → workspace-xf9bz295.js} +9 -9
- package/dist/chunks/{permission-0hte1e32.js → workspace-xgzcv0sk.js} +20 -20
- package/dist/chunks/{permission-1gdk2rz4.js → workspace-xj0ngf9s.js} +3 -3
- package/dist/chunks/{permission-kbhpdv1e.js → workspace-xn3w44n0.js} +12 -12
- package/dist/chunks/{permission-yc7hetwv.js → workspace-xnbskdmk.js} +8 -8
- package/dist/chunks/{permission-bfhm9gkj.js → workspace-xtddbfj7.js} +6 -6
- package/dist/chunks/{permission-cbh3af09.js → workspace-xv7dhr1k.js} +8 -8
- package/dist/chunks/{permission-5ssekc67.js → workspace-xwx3yayk.js} +35 -35
- package/dist/chunks/{permission-y1fvbwt7.js → workspace-y1fvbwt7.js} +1 -1
- package/dist/chunks/{permission-93a8yfjt.js → workspace-y2cqme3r.js} +5 -5
- package/dist/chunks/{permission-3fm4dcxc.js → workspace-y5ktg927.js} +91 -61
- package/dist/chunks/{permission-rd8ts1z3.js → workspace-yc4m39s8.js} +11 -11
- package/dist/chunks/{permission-fjbphwaw.js → workspace-yd25cjpk.js} +4 -4
- package/dist/chunks/{permission-tqqej2s1.js → workspace-yf1j450z.js} +8 -8
- package/dist/chunks/{permission-yfbd16n1.js → workspace-yfbd16n1.js} +2 -2
- package/dist/chunks/{permission-5vq8ad1q.js → workspace-yhqyctfv.js} +11 -11
- package/dist/chunks/{permission-9ht0v476.js → workspace-yjcdyz30.js} +3 -3
- package/dist/chunks/{permission-0pame0fb.js → workspace-ymgv4m5p.js} +10 -10
- package/dist/chunks/{permission-q4y969yg.js → workspace-yrgt9021.js} +11 -11
- package/dist/chunks/{permission-kepsre9z.js → workspace-ys3raqdw.js} +16 -16
- package/dist/chunks/{permission-2nk48w4v.js → workspace-ysj08v9t.js} +9 -9
- package/dist/chunks/{permission-qfrq97rd.js → workspace-yy2d2dnd.js} +4 -4
- package/dist/chunks/{permission-z1k01bn4.js → workspace-z1k01bn4.js} +2 -2
- package/dist/chunks/{permission-tsbfn723.js → workspace-z43npzr4.js} +28 -28
- package/dist/chunks/{permission-zxq2ej10.js → workspace-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- 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 -116
- package/dist/config/plugin/command.js +208 -207
- package/dist/config/plugin/compaction.js +154 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -116
- package/dist/config/plugin/image.js +115 -114
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +117 -116
- package/dist/config/plugin/mcp.js +126 -125
- package/dist/config/plugin/policy.js +114 -113
- package/dist/config/plugin/provider.js +113 -112
- package/dist/config/plugin/reference.js +117 -116
- package/dist/config/plugin/shell.js +118 -117
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +135 -134
- package/dist/config/plugin/snapshot.js +115 -114
- package/dist/config/plugin/source.js +115 -114
- package/dist/config/plugin/tool-output.js +117 -116
- package/dist/config/plugin/websearch.js +115 -114
- package/dist/config/plugin/worktree.js +118 -117
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +117 -116
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -80
- 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 +359 -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 +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-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 +221 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +89 -89
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +90 -90
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +91 -90
- 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 +350 -349
- package/dist/instruction-discovery.js +79 -79
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -85
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +129 -128
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +347 -346
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +90 -87
- package/dist/mcp/index.js +103 -102
- package/dist/mcp/instructions.js +121 -120
- package/dist/mcp/oauth.js +78 -12
- 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 +86 -85
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +107 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +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 +96 -95
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +212 -211
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +321 -320
- 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 +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 +118 -117
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -116
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -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 +80 -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 +76 -75
- package/dist/plugin/provider/lmstudio.js +117 -116
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -78
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -116
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -77
- package/dist/plugin/provider/opencode.js +76 -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 +115 -114
- package/dist/plugin/provider/xai.js +77 -76
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +155 -154
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +128 -127
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +340 -339
- 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 -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 +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +223 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +92 -92
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +128 -127
- package/dist/session/context.js +146 -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 +215 -214
- package/dist/session/execution.js +119 -118
- package/dist/session/generate.js +145 -144
- package/dist/session/history.js +14 -14
- package/dist/session/inbox.js +82 -82
- 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 +91 -91
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +125 -124
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +99 -99
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +1 -1
- package/dist/session/runner/llm.js +224 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -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 +120 -119
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +166 -165
- package/dist/session/shell.js +131 -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 +204 -203
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +150 -149
- package/dist/session/to-session-error.js +106 -105
- package/dist/session/transfer.js +214 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -209
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +133 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +99 -99
- package/dist/skill.js +104 -104
- 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 +120 -119
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +97 -97
- package/dist/tool/plugin/read.js +116 -116
- package/dist/tool/plugin/shell.js +211 -210
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +211 -210
- package/dist/tool/plugin/webfetch.js +104 -104
- package/dist/tool/plugin/websearch.js +102 -102
- package/dist/tool/plugin/write.js +116 -116
- 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/mcp/oauth.d.ts +6 -0
- package/dist/types/util/error-summary.d.ts +7 -0
- package/dist/util/error-summary.js +8 -0
- 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 +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +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 +2 -2
- 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 +5 -5
- 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 +7 -7
- package/dist/worktree/refresh.js +339 -338
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +7 -7
- package/dist/chunks/permission-7zk4hah4.js +0 -4
- package/dist/chunks/permission-9zdhvgqs.js +0 -18
- package/dist/chunks/permission-em9v05e0.js +0 -22
- package/dist/chunks/permission-tpr57ds6.js +0 -247
- /package/dist/chunks/{permission-0fabt78z.js → workspace-0fabt78z.js} +0 -0
- /package/dist/chunks/{permission-0qkdqm5v.js → workspace-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{permission-0zkw76rk.js → workspace-0zkw76rk.js} +0 -0
- /package/dist/chunks/{permission-17cy0kzp.js → workspace-17cy0kzp.js} +0 -0
- /package/dist/chunks/{permission-1cnp2v09.js → workspace-1cnp2v09.js} +0 -0
- /package/dist/chunks/{permission-1kg9ymc8.js → workspace-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{permission-2710q6r3.js → workspace-2710q6r3.js} +0 -0
- /package/dist/chunks/{permission-2axfhc9x.js → workspace-2axfhc9x.js} +0 -0
- /package/dist/chunks/{permission-2c3vjs8z.js → workspace-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{permission-359p4xyc.js → workspace-359p4xyc.js} +0 -0
- /package/dist/chunks/{permission-3asan66x.js → workspace-3asan66x.js} +0 -0
- /package/dist/chunks/{permission-3t738kvx.js → workspace-3t738kvx.js} +0 -0
- /package/dist/chunks/{permission-3v8g72cx.js → workspace-3v8g72cx.js} +0 -0
- /package/dist/chunks/{permission-3wcehsnq.js → workspace-3wcehsnq.js} +0 -0
- /package/dist/chunks/{permission-41nvscxy.js → workspace-41nvscxy.js} +0 -0
- /package/dist/chunks/{permission-43n2bw4t.js → workspace-43n2bw4t.js} +0 -0
- /package/dist/chunks/{permission-4knz6hnm.js → workspace-4knz6hnm.js} +0 -0
- /package/dist/chunks/{permission-4y7fprxs.js → workspace-4y7fprxs.js} +0 -0
- /package/dist/chunks/{permission-53557ph1.js → workspace-53557ph1.js} +0 -0
- /package/dist/chunks/{permission-550bvhaj.js → workspace-550bvhaj.js} +0 -0
- /package/dist/chunks/{permission-6prwharc.js → workspace-6prwharc.js} +0 -0
- /package/dist/chunks/{permission-7akdwqpd.js → workspace-7akdwqpd.js} +0 -0
- /package/dist/chunks/{permission-7m9af43g.js → workspace-7m9af43g.js} +0 -0
- /package/dist/chunks/{permission-822emrt2.js → workspace-822emrt2.js} +0 -0
- /package/dist/chunks/{permission-88xbtdfr.js → workspace-88xbtdfr.js} +0 -0
- /package/dist/chunks/{permission-8n3pysct.js → workspace-8n3pysct.js} +0 -0
- /package/dist/chunks/{permission-982e01ww.js → workspace-982e01ww.js} +0 -0
- /package/dist/chunks/{permission-9a4afbnw.js → workspace-9a4afbnw.js} +0 -0
- /package/dist/chunks/{permission-9rqn6x4v.js → workspace-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{permission-a1tpkmh4.js → workspace-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{permission-af5trqkr.js → workspace-af5trqkr.js} +0 -0
- /package/dist/chunks/{permission-afrmfg78.js → workspace-afrmfg78.js} +0 -0
- /package/dist/chunks/{permission-aqzs7mqg.js → workspace-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{permission-atq7p7m5.js → workspace-atq7p7m5.js} +0 -0
- /package/dist/chunks/{permission-bkyjaxrp.js → workspace-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{permission-bmr6ed5q.js → workspace-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{permission-cf4snx6d.js → workspace-cf4snx6d.js} +0 -0
- /package/dist/chunks/{permission-cvy3z8tj.js → workspace-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{permission-d9fn303g.js → workspace-d9fn303g.js} +0 -0
- /package/dist/chunks/{permission-d9jj8t3e.js → workspace-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{permission-dajrwvna.js → workspace-dajrwvna.js} +0 -0
- /package/dist/chunks/{permission-dap0rakb.js → workspace-dap0rakb.js} +0 -0
- /package/dist/chunks/{permission-df08tz66.js → workspace-df08tz66.js} +0 -0
- /package/dist/chunks/{permission-dy18nga0.js → workspace-dy18nga0.js} +0 -0
- /package/dist/chunks/{permission-e5kj55wp.js → workspace-e5kj55wp.js} +0 -0
- /package/dist/chunks/{permission-e73j6tqm.js → workspace-e73j6tqm.js} +0 -0
- /package/dist/chunks/{permission-eh3zwz77.js → workspace-eh3zwz77.js} +0 -0
- /package/dist/chunks/{permission-emrn6kk6.js → workspace-emrn6kk6.js} +0 -0
- /package/dist/chunks/{permission-f0mxakyp.js → workspace-f0mxakyp.js} +0 -0
- /package/dist/chunks/{permission-f6n9ztr4.js → workspace-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{permission-faypxj3z.js → workspace-faypxj3z.js} +0 -0
- /package/dist/chunks/{permission-fd410y7t.js → workspace-fd410y7t.js} +0 -0
- /package/dist/chunks/{permission-fxgpk5d8.js → workspace-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{permission-g4wezp1m.js → workspace-g4wezp1m.js} +0 -0
- /package/dist/chunks/{permission-g86h250q.js → workspace-g86h250q.js} +0 -0
- /package/dist/chunks/{permission-gebd4c9n.js → workspace-gebd4c9n.js} +0 -0
- /package/dist/chunks/{permission-hk9envan.js → workspace-hk9envan.js} +0 -0
- /package/dist/chunks/{permission-j2ntwpah.js → workspace-j2ntwpah.js} +0 -0
- /package/dist/chunks/{permission-j5zkgpj8.js → workspace-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{permission-jr7sbwjy.js → workspace-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{permission-jwfs4k6c.js → workspace-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{permission-jzg6c2d5.js → workspace-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{permission-mntxs535.js → workspace-mntxs535.js} +0 -0
- /package/dist/chunks/{permission-mp448xyj.js → workspace-mp448xyj.js} +0 -0
- /package/dist/chunks/{permission-msx8hqn2.js → workspace-msx8hqn2.js} +0 -0
- /package/dist/chunks/{permission-n05xt0ee.js → workspace-n05xt0ee.js} +0 -0
- /package/dist/chunks/{permission-n3j8tn72.js → workspace-n3j8tn72.js} +0 -0
- /package/dist/chunks/{permission-njntx4h6.js → workspace-njntx4h6.js} +0 -0
- /package/dist/chunks/{permission-p8qxwesx.js → workspace-p8qxwesx.js} +0 -0
- /package/dist/chunks/{permission-q3sfg36h.js → workspace-q3sfg36h.js} +0 -0
- /package/dist/chunks/{permission-q74kybfr.js → workspace-q74kybfr.js} +0 -0
- /package/dist/chunks/{permission-qaymkmh1.js → workspace-qaymkmh1.js} +0 -0
- /package/dist/chunks/{permission-qb87gjwd.js → workspace-qb87gjwd.js} +0 -0
- /package/dist/chunks/{permission-qfa1cgps.js → workspace-qfa1cgps.js} +0 -0
- /package/dist/chunks/{permission-qrg20bc0.js → workspace-qrg20bc0.js} +0 -0
- /package/dist/chunks/{permission-rcb2kzg1.js → workspace-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{permission-sdp7kfr6.js → workspace-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{permission-se0s1eqw.js → workspace-se0s1eqw.js} +0 -0
- /package/dist/chunks/{permission-sk3qaz4a.js → workspace-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{permission-ssg3fenm.js → workspace-ssg3fenm.js} +0 -0
- /package/dist/chunks/{permission-twg0f83k.js → workspace-twg0f83k.js} +0 -0
- /package/dist/chunks/{permission-w803qqfp.js → workspace-w803qqfp.js} +0 -0
- /package/dist/chunks/{permission-wer8tq1h.js → workspace-wer8tq1h.js} +0 -0
- /package/dist/chunks/{permission-wtztk69x.js → workspace-wtztk69x.js} +0 -0
- /package/dist/chunks/{permission-x0ckcb58.js → workspace-x0ckcb58.js} +0 -0
- /package/dist/chunks/{permission-x1b8g1yb.js → workspace-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{permission-x61499pn.js → workspace-x61499pn.js} +0 -0
- /package/dist/chunks/{permission-y44na4kk.js → workspace-y44na4kk.js} +0 -0
- /package/dist/chunks/{permission-y8cydn3q.js → workspace-y8cydn3q.js} +0 -0
- /package/dist/chunks/{permission-ygaqb7jw.js → workspace-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{permission-z9919s4g.js → workspace-z9919s4g.js} +0 -0
- /package/dist/chunks/{permission-zbjnn3ac.js → workspace-zbjnn3ac.js} +0 -0
|
@@ -1,128 +1,128 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node65
|
|
4
|
+
} from "./workspace-yrgt9021.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service79,
|
|
7
|
+
node84
|
|
8
|
+
} from "./workspace-xn3w44n0.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID10,
|
|
11
|
+
Service54,
|
|
12
|
+
node57
|
|
13
|
+
} from "./workspace-t2bg0eyh.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
ID15
|
|
16
|
+
} from "./workspace-w2426zxz.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service48,
|
|
19
|
+
node51
|
|
20
|
+
} from "./workspace-axn5xzr3.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID14
|
|
23
|
+
} from "./workspace-2tw22e3n.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
25
|
+
ID12,
|
|
26
26
|
OAuth3
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./workspace-ht3swkvd.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
29
|
+
ID8,
|
|
30
30
|
MethodID2,
|
|
31
31
|
AttemptID2,
|
|
32
32
|
Method2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service52,
|
|
34
|
+
node55
|
|
35
|
+
} from "./workspace-k167vvtr.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
37
|
+
Service51,
|
|
38
|
+
node54
|
|
39
|
+
} from "./workspace-xajw8b0s.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service58,
|
|
42
|
+
node61
|
|
43
|
+
} from "./workspace-7m57xn6p.js";
|
|
44
44
|
import {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
45
|
+
Service76,
|
|
46
|
+
node81
|
|
47
|
+
} from "./workspace-ns54cwdc.js";
|
|
48
48
|
import {
|
|
49
49
|
AbsolutePath2
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./workspace-p8qxwesx.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
} from "./
|
|
52
|
+
Info27,
|
|
53
|
+
Ref3,
|
|
54
|
+
Service73,
|
|
55
|
+
node77
|
|
56
|
+
} from "./workspace-m14vb86n.js";
|
|
57
57
|
import {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
} from "./
|
|
58
|
+
Service44,
|
|
59
|
+
node47
|
|
60
|
+
} from "./workspace-ezqspp1y.js";
|
|
61
61
|
import {
|
|
62
|
-
|
|
63
|
-
} from "./
|
|
62
|
+
ID13
|
|
63
|
+
} from "./workspace-t86gsvkf.js";
|
|
64
64
|
import {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
} from "./
|
|
65
|
+
Service30,
|
|
66
|
+
node34
|
|
67
|
+
} from "./workspace-y5ktg927.js";
|
|
68
68
|
import {
|
|
69
|
-
|
|
69
|
+
Service66,
|
|
70
70
|
node70
|
|
71
|
-
} from "./
|
|
72
|
-
import {
|
|
73
|
-
Service61,
|
|
74
|
-
node66
|
|
75
|
-
} from "./permission-4c7vbtbn.js";
|
|
71
|
+
} from "./workspace-tcvwtwdv.js";
|
|
76
72
|
import {
|
|
77
73
|
Service41,
|
|
78
74
|
node44
|
|
79
|
-
} from "./
|
|
75
|
+
} from "./workspace-3f3b7fxe.js";
|
|
76
|
+
import {
|
|
77
|
+
Service33,
|
|
78
|
+
node37
|
|
79
|
+
} from "./workspace-sf6ny1gj.js";
|
|
80
80
|
import {
|
|
81
81
|
Source3,
|
|
82
|
+
Service31,
|
|
83
|
+
node35
|
|
84
|
+
} from "./workspace-2ay9xfby.js";
|
|
85
|
+
import {
|
|
86
|
+
Info5,
|
|
82
87
|
Service34,
|
|
83
88
|
node38
|
|
84
|
-
} from "./
|
|
89
|
+
} from "./workspace-1a51ccws.js";
|
|
85
90
|
import {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
} from "./permission-c3edmaeq.js";
|
|
90
|
-
import {
|
|
91
|
-
Service21,
|
|
92
|
-
node25
|
|
93
|
-
} from "./permission-wmeds191.js";
|
|
94
|
-
import {
|
|
95
|
-
Service52,
|
|
96
|
-
node57
|
|
97
|
-
} from "./permission-tsbfn723.js";
|
|
91
|
+
Service18,
|
|
92
|
+
node22
|
|
93
|
+
} from "./workspace-c18cyq95.js";
|
|
98
94
|
import {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./
|
|
95
|
+
Service55,
|
|
96
|
+
node58
|
|
97
|
+
} from "./workspace-z43npzr4.js";
|
|
102
98
|
import {
|
|
103
|
-
|
|
99
|
+
Service56,
|
|
104
100
|
node59
|
|
105
|
-
} from "./
|
|
101
|
+
} from "./workspace-ty5hvd6t.js";
|
|
106
102
|
import {
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
103
|
+
Service57,
|
|
104
|
+
node60
|
|
105
|
+
} from "./workspace-bbjenryc.js";
|
|
106
|
+
import {
|
|
107
|
+
ID16,
|
|
108
|
+
Service75,
|
|
109
|
+
node80
|
|
110
|
+
} from "./workspace-mrv5p0t7.js";
|
|
111
111
|
import {
|
|
112
112
|
StrategyID2,
|
|
113
|
-
|
|
113
|
+
Info9,
|
|
114
114
|
ListEntry3,
|
|
115
115
|
UnsupportedLocationError2,
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
} from "./
|
|
116
|
+
Service49,
|
|
117
|
+
node52
|
|
118
|
+
} from "./workspace-4tegd15c.js";
|
|
119
119
|
import {
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
} from "./
|
|
120
|
+
Service46,
|
|
121
|
+
node49
|
|
122
|
+
} from "./workspace-p1em5hbw.js";
|
|
123
123
|
import {
|
|
124
124
|
__export
|
|
125
|
-
} from "./
|
|
125
|
+
} from "./workspace-9rqn6x4v.js";
|
|
126
126
|
|
|
127
127
|
// src/plugin/host.ts
|
|
128
128
|
var exports_host = {};
|
|
@@ -140,36 +140,36 @@ var mutable = (value) => value;
|
|
|
140
140
|
var isRpcEvent = (event) => event.type.startsWith("rpc.");
|
|
141
141
|
var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test") {
|
|
142
142
|
const app = yield* Metadata2;
|
|
143
|
-
const agents = yield*
|
|
144
|
-
const aisdk = yield*
|
|
145
|
-
const catalog = yield*
|
|
146
|
-
const commands = yield*
|
|
147
|
-
const bus = yield*
|
|
148
|
-
const integration = yield*
|
|
149
|
-
const kv = yield*
|
|
150
|
-
const mcp = yield*
|
|
151
|
-
const location = yield*
|
|
152
|
-
const reference = yield*
|
|
153
|
-
const rpc = yield*
|
|
154
|
-
const skill = yield*
|
|
155
|
-
const tools = yield*
|
|
156
|
-
const vcs = yield*
|
|
157
|
-
const websearch = yield*
|
|
158
|
-
const generate = yield*
|
|
159
|
-
const permission = yield*
|
|
160
|
-
const hooks = yield*
|
|
161
|
-
const sessions = yield*
|
|
162
|
-
const persistentPty = yield*
|
|
163
|
-
const locations = yield*
|
|
164
|
-
const worktrees = yield*
|
|
165
|
-
const locationInfo = () => new
|
|
143
|
+
const agents = yield* Service54;
|
|
144
|
+
const aisdk = yield* Service48;
|
|
145
|
+
const catalog = yield* Service51;
|
|
146
|
+
const commands = yield* Service58;
|
|
147
|
+
const bus = yield* Service79;
|
|
148
|
+
const integration = yield* Service52;
|
|
149
|
+
const kv = yield* Service76;
|
|
150
|
+
const mcp = yield* Service30;
|
|
151
|
+
const location = yield* Service73;
|
|
152
|
+
const reference = yield* Service31;
|
|
153
|
+
const rpc = yield* Service56;
|
|
154
|
+
const skill = yield* Service34;
|
|
155
|
+
const tools = yield* Service33;
|
|
156
|
+
const vcs = yield* Service57;
|
|
157
|
+
const websearch = yield* Service75;
|
|
158
|
+
const generate = yield* Service46;
|
|
159
|
+
const permission = yield* Service41;
|
|
160
|
+
const hooks = yield* Service66;
|
|
161
|
+
const sessions = yield* Service18;
|
|
162
|
+
const persistentPty = yield* Service55;
|
|
163
|
+
const locations = yield* Service44;
|
|
164
|
+
const worktrees = yield* Service49;
|
|
165
|
+
const locationInfo = () => new Info27({
|
|
166
166
|
directory: location.directory,
|
|
167
167
|
workspaceID: location.workspaceID,
|
|
168
168
|
project: location.project
|
|
169
169
|
});
|
|
170
|
-
const locationRef = (input) => input?.location === undefined ? undefined :
|
|
170
|
+
const locationRef = (input) => input?.location === undefined ? undefined : Ref3.make({
|
|
171
171
|
directory: AbsolutePath2.make(input.location.directory ?? location.directory),
|
|
172
|
-
workspaceID: input.location.workspace === undefined ? location.workspaceID :
|
|
172
|
+
workspaceID: input.location.workspace === undefined ? location.workspaceID : ID13.make(input.location.workspace)
|
|
173
173
|
});
|
|
174
174
|
const isCurrentLocation = (ref) => ref.directory === location.directory && ref.workspaceID === location.workspaceID;
|
|
175
175
|
const response = (effect) => effect.pipe(Effect.map((data) => ({ location: locationInfo(), data })));
|
|
@@ -181,18 +181,18 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
181
181
|
return Effect.gen(function* () {
|
|
182
182
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
183
183
|
const plugins = yield* Plugin.Service;
|
|
184
|
-
const target = yield*
|
|
184
|
+
const target = yield* Service49;
|
|
185
185
|
yield* plugins.awaitActivation;
|
|
186
186
|
return yield* run(target);
|
|
187
187
|
}).pipe(Effect.provide(locations.get(ref)));
|
|
188
188
|
};
|
|
189
|
-
const decodeWorktree = Schema.decodeUnknownEffect(
|
|
189
|
+
const decodeWorktree = Schema.decodeUnknownEffect(Info9);
|
|
190
190
|
const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry3));
|
|
191
191
|
const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.gen(function* () {
|
|
192
|
-
const location = yield*
|
|
193
|
-
const agents = yield*
|
|
192
|
+
const location = yield* Service73;
|
|
193
|
+
const agents = yield* Service54;
|
|
194
194
|
return {
|
|
195
|
-
location: new
|
|
195
|
+
location: new Info27({
|
|
196
196
|
directory: location.directory,
|
|
197
197
|
workspaceID: location.workspaceID,
|
|
198
198
|
project: location.project
|
|
@@ -224,10 +224,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
224
224
|
transform: (callback) => agents.transform((editor) => {
|
|
225
225
|
callback({
|
|
226
226
|
list: () => mutable(editor.list()),
|
|
227
|
-
get: (id) => mutable(editor.get(
|
|
228
|
-
default: (id) => editor.default(id === undefined ? undefined :
|
|
229
|
-
update: (id, update) => editor.update(
|
|
230
|
-
remove: (id) => editor.remove(
|
|
227
|
+
get: (id) => mutable(editor.get(ID10.make(id))),
|
|
228
|
+
default: (id) => editor.default(id === undefined ? undefined : ID10.make(id)),
|
|
229
|
+
update: (id, update) => editor.update(ID10.make(id), update),
|
|
230
|
+
remove: (id) => editor.remove(ID10.make(id))
|
|
231
231
|
});
|
|
232
232
|
})
|
|
233
233
|
},
|
|
@@ -262,7 +262,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
262
262
|
catalog: {
|
|
263
263
|
provider: {
|
|
264
264
|
list: () => response(catalog.provider.available()),
|
|
265
|
-
get: (input) => catalog.provider.get(
|
|
265
|
+
get: (input) => catalog.provider.get(ID15.make(input.providerID)).pipe(Effect.flatMap((provider) => provider === undefined ? Effect.fail(new Error(`Provider not found: ${input.providerID}`)) : response(Effect.succeed(provider))))
|
|
266
266
|
},
|
|
267
267
|
model: {
|
|
268
268
|
list: () => response(catalog.model.available()),
|
|
@@ -273,17 +273,17 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
273
273
|
callback({
|
|
274
274
|
provider: {
|
|
275
275
|
list: () => mutable(editor.provider.list()),
|
|
276
|
-
get: (id) => mutable(editor.provider.get(
|
|
277
|
-
update: (id, update) => editor.provider.update(
|
|
278
|
-
remove: (id) => editor.provider.remove(
|
|
276
|
+
get: (id) => mutable(editor.provider.get(ID15.make(id))),
|
|
277
|
+
update: (id, update) => editor.provider.update(ID15.make(id), update),
|
|
278
|
+
remove: (id) => editor.provider.remove(ID15.make(id))
|
|
279
279
|
},
|
|
280
280
|
model: {
|
|
281
|
-
get: (providerID, modelID) => mutable(editor.model.get(
|
|
282
|
-
update: (providerID, modelID, update) => editor.model.update(
|
|
283
|
-
remove: (providerID, modelID) => editor.model.remove(
|
|
281
|
+
get: (providerID, modelID) => mutable(editor.model.get(ID15.make(providerID), ID14.make(modelID))),
|
|
282
|
+
update: (providerID, modelID, update) => editor.model.update(ID15.make(providerID), ID14.make(modelID), update),
|
|
283
|
+
remove: (providerID, modelID) => editor.model.remove(ID15.make(providerID), ID14.make(modelID)),
|
|
284
284
|
default: {
|
|
285
285
|
get: editor.model.default.get,
|
|
286
|
-
set: (providerID, modelID) => editor.model.default.set(
|
|
286
|
+
set: (providerID, modelID) => editor.model.default.set(ID15.make(providerID), ID14.make(modelID))
|
|
287
287
|
}
|
|
288
288
|
}
|
|
289
289
|
});
|
|
@@ -307,10 +307,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
307
307
|
},
|
|
308
308
|
integration: {
|
|
309
309
|
list: () => response(integration.list()),
|
|
310
|
-
get: (input) => response(integration.get(
|
|
310
|
+
get: (input) => response(integration.get(ID8.make(input.integrationID))),
|
|
311
311
|
connect: {
|
|
312
312
|
key: (input) => integration.connection.key({
|
|
313
|
-
integrationID:
|
|
313
|
+
integrationID: ID8.make(input.integrationID),
|
|
314
314
|
key: input.key,
|
|
315
315
|
answer: input.answer,
|
|
316
316
|
label: input.label
|
|
@@ -318,55 +318,55 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
318
318
|
},
|
|
319
319
|
oauth: {
|
|
320
320
|
connect: (input) => response(integration.oauth.connect({
|
|
321
|
-
integrationID:
|
|
321
|
+
integrationID: ID8.make(input.integrationID),
|
|
322
322
|
methodID: MethodID2.make(input.methodID),
|
|
323
323
|
answer: input.answer,
|
|
324
324
|
label: input.label
|
|
325
325
|
})),
|
|
326
326
|
status: (input) => response(integration.oauth.status({
|
|
327
|
-
integrationID:
|
|
327
|
+
integrationID: ID8.make(input.integrationID),
|
|
328
328
|
attemptID: AttemptID2.make(input.attemptID)
|
|
329
329
|
})),
|
|
330
330
|
complete: (input) => integration.oauth.complete({
|
|
331
|
-
integrationID:
|
|
331
|
+
integrationID: ID8.make(input.integrationID),
|
|
332
332
|
attemptID: AttemptID2.make(input.attemptID),
|
|
333
333
|
code: input.code
|
|
334
334
|
}),
|
|
335
335
|
cancel: (input) => integration.oauth.cancel({
|
|
336
|
-
integrationID:
|
|
336
|
+
integrationID: ID8.make(input.integrationID),
|
|
337
337
|
attemptID: AttemptID2.make(input.attemptID)
|
|
338
338
|
})
|
|
339
339
|
},
|
|
340
340
|
command: {
|
|
341
341
|
connect: (input) => response(integration.command.connect({
|
|
342
|
-
integrationID:
|
|
342
|
+
integrationID: ID8.make(input.integrationID),
|
|
343
343
|
methodID: MethodID2.make(input.methodID),
|
|
344
344
|
label: input.label
|
|
345
345
|
})),
|
|
346
346
|
status: (input) => response(integration.command.status({
|
|
347
|
-
integrationID:
|
|
347
|
+
integrationID: ID8.make(input.integrationID),
|
|
348
348
|
attemptID: AttemptID2.make(input.attemptID)
|
|
349
349
|
})),
|
|
350
350
|
cancel: (input) => integration.command.cancel({
|
|
351
|
-
integrationID:
|
|
351
|
+
integrationID: ID8.make(input.integrationID),
|
|
352
352
|
attemptID: AttemptID2.make(input.attemptID)
|
|
353
353
|
})
|
|
354
354
|
},
|
|
355
355
|
reload: integration.reload,
|
|
356
356
|
connection: {
|
|
357
|
-
active: (id) => integration.connection.active(
|
|
358
|
-
resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id:
|
|
357
|
+
active: (id) => integration.connection.active(ID8.make(id)),
|
|
358
|
+
resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID12.make(connection.id) } : connection)
|
|
359
359
|
},
|
|
360
360
|
transform: (callback) => integration.transform((editor) => {
|
|
361
361
|
callback({
|
|
362
362
|
list: () => mutable(editor.list()),
|
|
363
|
-
get: (id) => mutable(editor.get(
|
|
364
|
-
update: (id, update) => editor.update(
|
|
365
|
-
remove: (id) => editor.remove(
|
|
363
|
+
get: (id) => mutable(editor.get(ID8.make(id))),
|
|
364
|
+
update: (id, update) => editor.update(ID8.make(id), update),
|
|
365
|
+
remove: (id) => editor.remove(ID8.make(id)),
|
|
366
366
|
method: {
|
|
367
|
-
list: (id) => editor.method.list(
|
|
367
|
+
list: (id) => editor.method.list(ID8.make(id)),
|
|
368
368
|
update: (input) => editor.method.update(methodImplementation(input)),
|
|
369
|
-
remove: (id, method) => editor.method.remove(
|
|
369
|
+
remove: (id, method) => editor.method.remove(ID8.make(id), Schema.decodeUnknownSync(Method2)(method))
|
|
370
370
|
}
|
|
371
371
|
});
|
|
372
372
|
})
|
|
@@ -376,10 +376,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
376
376
|
const ref = locationRef(input);
|
|
377
377
|
if (ref && !isCurrentLocation(ref))
|
|
378
378
|
return Effect.gen(function* () {
|
|
379
|
-
const location = yield*
|
|
380
|
-
const mcp = yield*
|
|
379
|
+
const location = yield* Service73;
|
|
380
|
+
const mcp = yield* Service30;
|
|
381
381
|
return {
|
|
382
|
-
location: new
|
|
382
|
+
location: new Info27({
|
|
383
383
|
directory: location.directory,
|
|
384
384
|
workspaceID: location.workspaceID,
|
|
385
385
|
project: location.project
|
|
@@ -428,7 +428,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
428
428
|
callback({
|
|
429
429
|
list: () => mutable(editor.list()),
|
|
430
430
|
get: editor.get,
|
|
431
|
-
add: (value) => editor.add(Schema.decodeUnknownSync(
|
|
431
|
+
add: (value) => editor.add(Schema.decodeUnknownSync(Info5)(value)),
|
|
432
432
|
update: editor.update,
|
|
433
433
|
remove: editor.remove
|
|
434
434
|
});
|
|
@@ -456,19 +456,19 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
456
456
|
providers: () => response(websearch.providers()),
|
|
457
457
|
query: (input) => response(websearch.query({
|
|
458
458
|
query: input.query,
|
|
459
|
-
providerID: input.providerID === undefined ? undefined :
|
|
459
|
+
providerID: input.providerID === undefined ? undefined : ID16.make(input.providerID)
|
|
460
460
|
})),
|
|
461
461
|
reload: websearch.reload,
|
|
462
462
|
transform: (callback) => websearch.transform((editor) => {
|
|
463
463
|
callback({
|
|
464
464
|
add: (definition) => editor.add({
|
|
465
|
-
id:
|
|
465
|
+
id: ID16.make(definition.id),
|
|
466
466
|
name: definition.name,
|
|
467
467
|
execute: definition.execute
|
|
468
468
|
}),
|
|
469
469
|
default: {
|
|
470
470
|
get: editor.default.get,
|
|
471
|
-
set: (selection) => editor.default.set(selection === false || selection === "random" ? selection :
|
|
471
|
+
set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID16.make(selection))
|
|
472
472
|
}
|
|
473
473
|
});
|
|
474
474
|
})
|
|
@@ -495,7 +495,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
495
495
|
title: input?.title,
|
|
496
496
|
agent: input?.agent,
|
|
497
497
|
model: input?.model,
|
|
498
|
-
location: input?.location ??
|
|
498
|
+
location: input?.location ?? Ref3.make({ directory: location.directory, workspaceID: location.workspaceID })
|
|
499
499
|
}),
|
|
500
500
|
get: (input) => sessions.get(input.sessionID),
|
|
501
501
|
switchAgent: sessions.switchAgent,
|
|
@@ -514,29 +514,29 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
514
514
|
return context;
|
|
515
515
|
});
|
|
516
516
|
var requirements3 = LayerNode.group([
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
node82,
|
|
523
|
-
node78,
|
|
517
|
+
node65,
|
|
518
|
+
node57,
|
|
519
|
+
node51,
|
|
520
|
+
node54,
|
|
521
|
+
node61,
|
|
524
522
|
node84,
|
|
525
|
-
|
|
526
|
-
|
|
523
|
+
node55,
|
|
524
|
+
node81,
|
|
525
|
+
node34,
|
|
526
|
+
node77,
|
|
527
|
+
node35,
|
|
528
|
+
node59,
|
|
527
529
|
node38,
|
|
528
|
-
|
|
530
|
+
node37,
|
|
531
|
+
node60,
|
|
532
|
+
node80,
|
|
529
533
|
node52,
|
|
534
|
+
node49,
|
|
530
535
|
node44,
|
|
531
|
-
node59,
|
|
532
|
-
node81,
|
|
533
|
-
node64,
|
|
534
|
-
node63,
|
|
535
|
-
node66,
|
|
536
536
|
node70,
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
537
|
+
node22,
|
|
538
|
+
node58,
|
|
539
|
+
node47
|
|
540
540
|
]);
|
|
541
541
|
function storage2(kv, pluginID) {
|
|
542
542
|
const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
|
|
@@ -563,7 +563,7 @@ function methodImplementation(input) {
|
|
|
563
563
|
if ("authorize" in input) {
|
|
564
564
|
const refresh = input.refresh;
|
|
565
565
|
return {
|
|
566
|
-
integrationID:
|
|
566
|
+
integrationID: ID8.make(input.integrationID),
|
|
567
567
|
method: { ...input.method, id: MethodID2.make(input.method.id) },
|
|
568
568
|
authorize: (answer) => input.authorize(answer).pipe(Effect.map((authorization) => {
|
|
569
569
|
if (authorization.mode === "auto") {
|
|
@@ -583,18 +583,18 @@ function methodImplementation(input) {
|
|
|
583
583
|
}
|
|
584
584
|
if (input.method.type === "env") {
|
|
585
585
|
return {
|
|
586
|
-
integrationID:
|
|
586
|
+
integrationID: ID8.make(input.integrationID),
|
|
587
587
|
method: input.method
|
|
588
588
|
};
|
|
589
589
|
}
|
|
590
590
|
if (input.method.type === "command") {
|
|
591
591
|
return {
|
|
592
|
-
integrationID:
|
|
592
|
+
integrationID: ID8.make(input.integrationID),
|
|
593
593
|
method: { ...input.method, id: MethodID2.make(input.method.id) }
|
|
594
594
|
};
|
|
595
595
|
}
|
|
596
596
|
return {
|
|
597
|
-
integrationID:
|
|
597
|
+
integrationID: ID8.make(input.integrationID),
|
|
598
598
|
method: input.method
|
|
599
599
|
};
|
|
600
600
|
}
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
Service77,
|
|
4
|
-
node82
|
|
5
|
-
} from "./permission-kbhpdv1e.js";
|
|
6
|
-
import {
|
|
7
3
|
Service79,
|
|
8
4
|
node84
|
|
9
|
-
} from "./
|
|
5
|
+
} from "./workspace-xn3w44n0.js";
|
|
6
|
+
import {
|
|
7
|
+
Service76,
|
|
8
|
+
node81
|
|
9
|
+
} from "./workspace-ns54cwdc.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./workspace-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event17,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service70,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node74,
|
|
26
26
|
resolve: () => resolve3
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode-ai/schema/integration";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service70 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event17 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
@@ -75,10 +75,10 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
|
|
|
75
75
|
});
|
|
76
76
|
var sourcesKey = "wellknown:sources";
|
|
77
77
|
var Sources = Schema.Array(Schema.String);
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
79
79
|
const http = yield* HttpClient.HttpClient;
|
|
80
|
-
const kv = yield*
|
|
81
|
-
const bus = yield*
|
|
80
|
+
const kv = yield* Service76;
|
|
81
|
+
const bus = yield* Service79;
|
|
82
82
|
const cache = yield* Ref.make(new Map);
|
|
83
83
|
const lock = Semaphore.makeUnsafe(1);
|
|
84
84
|
const loadEntry = Effect.fn("WellKnown.loadEntry")(function* (origin) {
|
|
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
109
109
|
if (!changed)
|
|
110
110
|
return false;
|
|
111
111
|
yield* Ref.set(cache, next);
|
|
112
|
-
yield* bus.publish(
|
|
112
|
+
yield* bus.publish(Event17.Updated, {});
|
|
113
113
|
return true;
|
|
114
114
|
}, (effect) => lock.withPermit(effect));
|
|
115
|
-
return
|
|
115
|
+
return Service70.of({
|
|
116
116
|
entries: load,
|
|
117
117
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
118
118
|
refresh,
|
|
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
125
125
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
126
126
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
127
127
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event17.Updated, {});
|
|
129
129
|
return entry;
|
|
130
130
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
131
131
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
138
138
|
next.delete(origin);
|
|
139
139
|
return next;
|
|
140
140
|
});
|
|
141
|
-
yield* bus.publish(
|
|
141
|
+
yield* bus.publish(Event17.Updated, {});
|
|
142
142
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
143
143
|
resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node74 = makeGlobalNode({ service: Service70, layer, deps: [httpClient, node81, node84] });
|
|
147
147
|
|
|
148
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
148
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service70, Event17, inspect2, resolve3, node74, exports_wellknown };
|