@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,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./workspace-xn3w44n0.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service71,
|
|
8
|
+
node75
|
|
9
|
+
} from "./workspace-ht3swkvd.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./workspace-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./workspace-tgz09txt.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./workspace-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/integration.ts
|
|
22
22
|
var exports_integration = {};
|
|
@@ -30,17 +30,17 @@ __export(exports_integration, {
|
|
|
30
30
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
31
31
|
CommandMethod: () => CommandMethod2,
|
|
32
32
|
EnvMethod: () => EnvMethod2,
|
|
33
|
-
Event: () =>
|
|
34
|
-
ID: () =>
|
|
35
|
-
Info: () =>
|
|
33
|
+
Event: () => Event10,
|
|
34
|
+
ID: () => ID8,
|
|
35
|
+
Info: () => Info10,
|
|
36
36
|
Integration: () => exports_integration,
|
|
37
37
|
KeyMethod: () => KeyMethod2,
|
|
38
38
|
Method: () => Method2,
|
|
39
39
|
MethodID: () => MethodID2,
|
|
40
40
|
OAuthMethod: () => OAuthMethod2,
|
|
41
|
-
Ref: () =>
|
|
42
|
-
Service: () =>
|
|
43
|
-
node: () =>
|
|
41
|
+
Ref: () => Ref2,
|
|
42
|
+
Service: () => Service52,
|
|
43
|
+
node: () => node55
|
|
44
44
|
});
|
|
45
45
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
46
46
|
import {
|
|
@@ -61,8 +61,8 @@ import {
|
|
|
61
61
|
import { Integration } from "@opencode-ai/schema/integration";
|
|
62
62
|
import { AppProcess } from "@opencode-ai/util/process";
|
|
63
63
|
import { ChildProcess } from "effect/unstable/process";
|
|
64
|
-
import { Event as
|
|
65
|
-
var
|
|
64
|
+
import { Event as Event10 } from "@opencode-ai/schema/integration";
|
|
65
|
+
var ID8 = Integration.ID;
|
|
66
66
|
var MethodID2 = Integration.MethodID;
|
|
67
67
|
var AttemptID2 = Integration.AttemptID;
|
|
68
68
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -70,7 +70,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
70
70
|
var KeyMethod2 = Integration.KeyMethod;
|
|
71
71
|
var EnvMethod2 = Integration.EnvMethod;
|
|
72
72
|
var Method2 = Integration.Method;
|
|
73
|
-
var
|
|
73
|
+
var Info10 = Integration.Info;
|
|
74
74
|
var Attempt2 = Integration.Attempt;
|
|
75
75
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
76
76
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -85,16 +85,16 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
85
85
|
cause: Schema.Defect()
|
|
86
86
|
}) {
|
|
87
87
|
}
|
|
88
|
-
var
|
|
88
|
+
var Ref2 = Integration.Ref;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service52 extends Context.Service()("@opencode/Integration") {
|
|
91
91
|
}
|
|
92
92
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
93
93
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
94
94
|
var scrubInterval = Duration.seconds(30);
|
|
95
|
-
var layer = Layer.effect(
|
|
96
|
-
const credentials = yield*
|
|
97
|
-
const bus = yield*
|
|
95
|
+
var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
96
|
+
const credentials = yield* Service71;
|
|
97
|
+
const bus = yield* Service79;
|
|
98
98
|
const processes = yield* AppProcess.Service;
|
|
99
99
|
const scope = yield* Scope.Scope;
|
|
100
100
|
const attempts = SynchronizedRef.makeUnsafe(new Map);
|
|
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
187
187
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
188
188
|
return [...credentials, ...env];
|
|
189
189
|
};
|
|
190
|
-
const project = (entry, connections) =>
|
|
190
|
+
const project = (entry, connections) => Info10.make({
|
|
191
191
|
id: entry.ref.id,
|
|
192
192
|
name: entry.ref.name,
|
|
193
193
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -417,7 +417,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
417
417
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
418
418
|
return CommandAttempt2.make({ attemptID, time });
|
|
419
419
|
});
|
|
420
|
-
return
|
|
420
|
+
return Service52.of({
|
|
421
421
|
transform: state.transform,
|
|
422
422
|
reload: state.reload,
|
|
423
423
|
get: Effect.fn("Integration.get")(function* (id) {
|
|
@@ -565,10 +565,10 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
565
565
|
}
|
|
566
566
|
});
|
|
567
567
|
}));
|
|
568
|
-
var
|
|
569
|
-
service:
|
|
568
|
+
var node55 = makeLocationNode({
|
|
569
|
+
service: Service52,
|
|
570
570
|
layer,
|
|
571
|
-
deps: [
|
|
571
|
+
deps: [node75, node84, AppProcess.node]
|
|
572
572
|
});
|
|
573
573
|
|
|
574
|
-
export {
|
|
574
|
+
export { ID8, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info10, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref2, Service52, node55, exports_integration, Event10 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-yrgt9021.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./workspace-xn3w44n0.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event18
|
|
10
|
+
} from "./workspace-ht3swkvd.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID8,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./workspace-k167vvtr.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID15,
|
|
17
17
|
isAISDK2,
|
|
18
18
|
packageName2,
|
|
19
19
|
mergeOverlay2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./workspace-w2426zxz.js";
|
|
21
21
|
import {
|
|
22
22
|
iife2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./workspace-1kg9ymc8.js";
|
|
24
24
|
import {
|
|
25
25
|
which2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./workspace-qaymkmh1.js";
|
|
27
27
|
import {
|
|
28
28
|
configuredSettings2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./workspace-hs0g3405.js";
|
|
30
30
|
|
|
31
31
|
// src/plugin/provider/azure.ts
|
|
32
32
|
import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -57,9 +57,9 @@ function selectLanguage(sdk, modelID, useChat) {
|
|
|
57
57
|
var AzurePlugin2 = define({
|
|
58
58
|
id: "opencode.provider.azure",
|
|
59
59
|
effect: Effect.fn(function* (ctx) {
|
|
60
|
-
const configured = yield* configuredSettings2(
|
|
60
|
+
const configured = yield* configuredSettings2(ID15.azure);
|
|
61
61
|
const processes = yield* AppProcess.Service;
|
|
62
|
-
const bus = yield*
|
|
62
|
+
const bus = yield* Service79;
|
|
63
63
|
const tokens = new Map;
|
|
64
64
|
const loading = Semaphore.makeUnsafe(1);
|
|
65
65
|
const loaded = {};
|
|
@@ -93,13 +93,13 @@ var AzurePlugin2 = define({
|
|
|
93
93
|
});
|
|
94
94
|
yield* ctx.integration.transform((editor) => {
|
|
95
95
|
editor.method.update({
|
|
96
|
-
integrationID:
|
|
96
|
+
integrationID: ID15.azure,
|
|
97
97
|
method: { type: "key", label: "API key", form: form() }
|
|
98
98
|
});
|
|
99
99
|
if (!available)
|
|
100
100
|
return;
|
|
101
101
|
editor.method.update({
|
|
102
|
-
integrationID:
|
|
102
|
+
integrationID: ID15.azure,
|
|
103
103
|
method: {
|
|
104
104
|
id: methodID,
|
|
105
105
|
type: "oauth",
|
|
@@ -131,7 +131,7 @@ var AzurePlugin2 = define({
|
|
|
131
131
|
});
|
|
132
132
|
});
|
|
133
133
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
134
|
-
const connection = yield* ctx.integration.connection.active(
|
|
134
|
+
const connection = yield* ctx.integration.connection.active(ID15.azure);
|
|
135
135
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
136
136
|
return;
|
|
137
137
|
})) : undefined;
|
|
@@ -145,7 +145,7 @@ var AzurePlugin2 = define({
|
|
|
145
145
|
yield* load();
|
|
146
146
|
yield* ctx.catalog.transform((evt) => {
|
|
147
147
|
for (const item of evt.provider.list()) {
|
|
148
|
-
if (item.provider.id !==
|
|
148
|
+
if (item.provider.id !== ID15.azure && packageName2(item.provider.package) !== "@ai-sdk/azure")
|
|
149
149
|
continue;
|
|
150
150
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
151
151
|
if (resourceName)
|
|
@@ -167,11 +167,11 @@ var AzurePlugin2 = define({
|
|
|
167
167
|
}
|
|
168
168
|
});
|
|
169
169
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
170
|
-
yield* bus.subscribe(
|
|
170
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
171
171
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
172
|
-
if (evt.model.providerID !==
|
|
172
|
+
if (evt.model.providerID !== ID15.azure)
|
|
173
173
|
return;
|
|
174
|
-
const connection = yield* ctx.integration.connection.active(
|
|
174
|
+
const connection = yield* ctx.integration.connection.active(ID15.azure);
|
|
175
175
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
176
176
|
return;
|
|
177
177
|
})) : undefined;
|
|
@@ -184,11 +184,11 @@ var AzurePlugin2 = define({
|
|
|
184
184
|
evt.request.headers.delete("x-api-key");
|
|
185
185
|
evt.request.headers.set("authorization", `Bearer ${current.access}`);
|
|
186
186
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
187
|
-
}), { providerID:
|
|
187
|
+
}), { providerID: ID15.azure });
|
|
188
188
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
189
189
|
if (evt.package !== "@ai-sdk/azure")
|
|
190
190
|
return;
|
|
191
|
-
if (evt.model.providerID ===
|
|
191
|
+
if (evt.model.providerID === ID15.azure) {
|
|
192
192
|
if (!evt.options.resourceName && !evt.options.baseURL && (!isAISDK2(evt.model.package) || typeof evt.model.settings?.baseURL !== "string")) {
|
|
193
193
|
throw new Error("Azure resource name is missing; set AZURE_RESOURCE_NAME or configure resourceName/baseURL");
|
|
194
194
|
}
|
|
@@ -197,7 +197,7 @@ var AzurePlugin2 = define({
|
|
|
197
197
|
evt.sdk = mod.createAzure(evt.options);
|
|
198
198
|
}));
|
|
199
199
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
200
|
-
if (evt.model.providerID !==
|
|
200
|
+
if (evt.model.providerID !== ID15.azure)
|
|
201
201
|
return;
|
|
202
202
|
evt.language = selectLanguage(evt.sdk, evt.model.modelID ?? evt.model.id, Boolean(evt.options.useCompletionUrls));
|
|
203
203
|
}));
|
|
@@ -2,27 +2,27 @@ import {
|
|
|
2
2
|
VariantUnavailableError3,
|
|
3
3
|
UnsupportedPackageError3,
|
|
4
4
|
UnresolvedProviderVariablesError3,
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service47,
|
|
6
|
+
node50
|
|
7
|
+
} from "./workspace-068b73xf.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./workspace-wkjngxy5.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./workspace-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/session/runner/model.ts
|
|
16
16
|
var exports_model = {};
|
|
17
17
|
__export(exports_model, {
|
|
18
18
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
19
19
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
20
|
-
Service: () =>
|
|
20
|
+
Service: () => Service39,
|
|
21
21
|
SessionRunnerModel: () => exports_model,
|
|
22
22
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
23
23
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
24
24
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node42,
|
|
26
26
|
resolved: () => resolved2
|
|
27
27
|
});
|
|
28
28
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
@@ -48,7 +48,7 @@ var VariantUnavailableError2 = VariantUnavailableError3;
|
|
|
48
48
|
var UnsupportedPackageError2 = UnsupportedPackageError3;
|
|
49
49
|
var UnresolvedProviderVariablesError2 = UnresolvedProviderVariablesError3;
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service39 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
52
52
|
}
|
|
53
53
|
var resolved2 = (model, options) => ({
|
|
54
54
|
model,
|
|
@@ -61,9 +61,9 @@ var resolved2 = (model, options) => ({
|
|
|
61
61
|
cost: options.cost,
|
|
62
62
|
limit: options.limit
|
|
63
63
|
});
|
|
64
|
-
var layer = Layer.effect(
|
|
65
|
-
const resolver = yield*
|
|
66
|
-
return
|
|
64
|
+
var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
65
|
+
const resolver = yield* Service47;
|
|
66
|
+
return Service39.of({
|
|
67
67
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
68
68
|
if (!session.model) {
|
|
69
69
|
const resolved = yield* resolver.resolve();
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node42 = makeLocationNode({ service: Service39, layer, deps: [node50] });
|
|
85
85
|
|
|
86
|
-
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, UnresolvedProviderVariablesError2,
|
|
86
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, UnresolvedProviderVariablesError2, Service39, resolved2, node42, exports_model };
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service68
|
|
7
|
+
} from "./workspace-5xr1m2vs.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./workspace-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service72
|
|
13
|
+
} from "./workspace-bw8t122c.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service50
|
|
16
|
+
} from "./workspace-v4q1q4qr.js";
|
|
17
17
|
import {
|
|
18
18
|
resolvePath2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service14
|
|
20
|
+
} from "./workspace-ys3raqdw.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service41
|
|
23
|
+
} from "./workspace-3f3b7fxe.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./workspace-fxbjtjnd.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service67,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./workspace-j6w5vbga.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError9,
|
|
36
|
+
Service63
|
|
37
|
+
} from "./workspace-0vfsfq09.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service18
|
|
40
|
+
} from "./workspace-c18cyq95.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./workspace-prv5r0xz.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./workspace-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell2 = {};
|
|
50
|
+
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input10,
|
|
53
|
+
Plugin: () => Plugin42,
|
|
54
|
+
ShellTool: () => exports_shell2,
|
|
55
|
+
name: () => name10
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name10 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. DO NOT run sleep commands or poll the output file to check for completion. You can read from the file when its current output would be useful, such as when inspecting logs from a background server. Otherwise, continue with other work or end your response.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input10 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
|
|
|
115
115
|
truncated: false,
|
|
116
116
|
status: "running"
|
|
117
117
|
});
|
|
118
|
-
var
|
|
118
|
+
var Plugin42 = {
|
|
119
119
|
id: "opencode.tool.shell",
|
|
120
120
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
121
|
-
const sessions = yield*
|
|
122
|
-
const jobs = yield*
|
|
121
|
+
const sessions = yield* Service18;
|
|
122
|
+
const jobs = yield* Service50;
|
|
123
123
|
const scope = yield* Scope.Scope;
|
|
124
|
-
const environment = yield*
|
|
125
|
-
const mutation = yield*
|
|
126
|
-
const shell = yield*
|
|
127
|
-
const shellSelect = yield*
|
|
124
|
+
const environment = yield* Service72;
|
|
125
|
+
const mutation = yield* Service14;
|
|
126
|
+
const shell = yield* Service63;
|
|
127
|
+
const shellSelect = yield* Service67;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
|
-
const permission = yield*
|
|
130
|
-
const config = yield*
|
|
129
|
+
const permission = yield* Service41;
|
|
130
|
+
const config = yield* Service68;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -155,7 +155,7 @@ var Plugin9 = {
|
|
|
155
155
|
});
|
|
156
156
|
if (parsed.commands.length > 0)
|
|
157
157
|
yield* permission.assert({
|
|
158
|
-
action:
|
|
158
|
+
action: name10,
|
|
159
159
|
resources: parsed.commands.map((command) => command.resource),
|
|
160
160
|
save: parsed.commands.map((command) => command.save),
|
|
161
161
|
sessionID: context.sessionID,
|
|
@@ -192,10 +192,10 @@ var Plugin9 = {
|
|
|
192
192
|
yield* jobs.completeBackground(info.notificationID);
|
|
193
193
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
194
194
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
195
|
-
name:
|
|
195
|
+
name: name10,
|
|
196
196
|
options: { codemode: false },
|
|
197
197
|
description: description(),
|
|
198
|
-
input:
|
|
198
|
+
input: Input10,
|
|
199
199
|
output: Output,
|
|
200
200
|
execute: (input, context) => Effect.gen(function* () {
|
|
201
201
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -214,7 +214,7 @@ var Plugin9 = {
|
|
|
214
214
|
const run = Effect.gen(function* () {
|
|
215
215
|
const result = yield* shell.result(info);
|
|
216
216
|
if (!result.capture)
|
|
217
|
-
return yield* new
|
|
217
|
+
return yield* new NotFoundError9({ id: info.id });
|
|
218
218
|
const output = output2(result);
|
|
219
219
|
return {
|
|
220
220
|
...output,
|
|
@@ -228,7 +228,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
228
228
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
229
229
|
const job = yield* jobs.start({
|
|
230
230
|
id: info.id,
|
|
231
|
-
type:
|
|
231
|
+
type: name10,
|
|
232
232
|
title: info.command,
|
|
233
233
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
234
234
|
recovery: {
|
|
@@ -258,7 +258,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
258
258
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
259
259
|
})).pipe(Effect.orDie);
|
|
260
260
|
yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
|
|
261
|
-
const tool = event.tools[
|
|
261
|
+
const tool = event.tools[name10];
|
|
262
262
|
if (!tool)
|
|
263
263
|
return;
|
|
264
264
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
266
266
|
})
|
|
267
267
|
};
|
|
268
268
|
|
|
269
|
-
export {
|
|
269
|
+
export { name10, DEFAULT_TIMEOUT_MS2, Input10, Plugin42, exports_shell2 };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./workspace-xn3w44n0.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service35
|
|
6
|
+
} from "./workspace-1zdha367.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Error2
|
|
9
|
+
} from "./workspace-sf6ny1gj.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service65
|
|
12
|
+
} from "./workspace-j7xarp0s.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./workspace-dsfx0j74.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./workspace-mntxs535.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./workspace-yy2d2dnd.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./workspace-tjykrgmx.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./workspace-3qzbfqsy.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./workspace-je9hks3h.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./workspace-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
37
37
|
__export(exports_step, {
|
|
38
38
|
Outcome: () => Outcome2,
|
|
39
39
|
SessionStep: () => exports_step,
|
|
40
|
-
make: () =>
|
|
40
|
+
make: () => make3
|
|
41
41
|
});
|
|
42
42
|
import {
|
|
43
43
|
AIError,
|
|
@@ -51,11 +51,11 @@ var Outcome2 = Data.taggedEnum();
|
|
|
51
51
|
var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
|
|
52
52
|
var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
|
|
53
53
|
var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
|
|
54
|
-
var
|
|
55
|
-
const bus = yield*
|
|
54
|
+
var make3 = Effect.gen(function* () {
|
|
55
|
+
const bus = yield* Service79;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service35;
|
|
58
|
+
const toolOutput = yield* Service65;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const startSnapshot = yield* snapshots.capture();
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -70,7 +70,7 @@ var make8 = Effect.gen(function* () {
|
|
|
70
70
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
71
71
|
const executeTool = (call) => {
|
|
72
72
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
73
|
-
return new
|
|
73
|
+
return new Error2({ message: "Tools are disabled after the maximum agent steps" });
|
|
74
74
|
return input.prepared.executeTool({
|
|
75
75
|
sessionID: input.sessionID,
|
|
76
76
|
agent: input.agent,
|
|
@@ -205,4 +205,4 @@ var classifyToolExits = (settled, runs) => {
|
|
|
205
205
|
return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
|
|
206
206
|
};
|
|
207
207
|
|
|
208
|
-
export { Outcome2,
|
|
208
|
+
export { Outcome2, make3, exports_step };
|