@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,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ID11,
|
|
3
|
+
Info15,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./workspace-wkjngxy5.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./workspace-p8qxwesx.js";
|
|
9
9
|
import {
|
|
10
10
|
Service80,
|
|
11
11
|
node85
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./workspace-jg1y1cps.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
|
+
Service79,
|
|
16
|
+
node84
|
|
17
|
+
} from "./workspace-xn3w44n0.js";
|
|
18
|
+
import {
|
|
15
19
|
Service77,
|
|
16
20
|
node82
|
|
17
|
-
} from "./
|
|
18
|
-
import {
|
|
19
|
-
Service67,
|
|
20
|
-
node72
|
|
21
|
-
} from "./permission-2tr0vbqd.js";
|
|
21
|
+
} from "./workspace-wyhh9vp5.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service40,
|
|
24
|
+
node43
|
|
25
|
+
} from "./workspace-wgcrfrpe.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./workspace-mntxs535.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./workspace-hrvm11jt.js";
|
|
32
32
|
import {
|
|
33
33
|
node41
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./workspace-emc8vkxa.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./workspace-hr77wr0b.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./workspace-jcpdywpz.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./workspace-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
46
|
+
node24
|
|
47
|
+
} from "./workspace-m82bvrgm.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node65
|
|
51
|
+
} from "./workspace-yrgt9021.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
53
|
+
NotFoundError4,
|
|
54
54
|
MessageNotFoundError2,
|
|
55
55
|
MessageNotAssistantError2,
|
|
56
56
|
MessageIncompleteError2,
|
|
@@ -64,50 +64,50 @@ import {
|
|
|
64
64
|
BusyError2,
|
|
65
65
|
InboxConflictError2,
|
|
66
66
|
SkillNotFoundError2
|
|
67
|
-
} from "./
|
|
67
|
+
} from "./workspace-dsfx0j74.js";
|
|
68
68
|
import {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
} from "./
|
|
69
|
+
ListInput4,
|
|
70
|
+
Service42,
|
|
71
|
+
node45
|
|
72
|
+
} from "./workspace-2dxxnwvn.js";
|
|
73
73
|
import {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
} from "./
|
|
74
|
+
Service50,
|
|
75
|
+
node53
|
|
76
|
+
} from "./workspace-v4q1q4qr.js";
|
|
77
77
|
import {
|
|
78
78
|
Service36,
|
|
79
79
|
node40
|
|
80
|
-
} from "./
|
|
80
|
+
} from "./workspace-7c6pxk1q.js";
|
|
81
81
|
import {
|
|
82
82
|
llmClient2
|
|
83
|
-
} from "./
|
|
83
|
+
} from "./workspace-0e0xafbb.js";
|
|
84
84
|
import {
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
} from "./
|
|
85
|
+
Service27,
|
|
86
|
+
node32
|
|
87
|
+
} from "./workspace-p9tbkvt9.js";
|
|
88
88
|
import {
|
|
89
89
|
generate3
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./workspace-t5em3jnm.js";
|
|
91
91
|
import {
|
|
92
92
|
execute2
|
|
93
|
-
} from "./
|
|
93
|
+
} from "./workspace-gx1t8w3s.js";
|
|
94
94
|
import {
|
|
95
95
|
DestinationNotFoundError2,
|
|
96
96
|
DestinationNotDirectoryError2,
|
|
97
97
|
DestinationUnavailableError2,
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
} from "./
|
|
98
|
+
Service19,
|
|
99
|
+
node23
|
|
100
|
+
} from "./workspace-sf62yp7w.js";
|
|
101
101
|
import {
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
} from "./
|
|
102
|
+
Service64,
|
|
103
|
+
node68
|
|
104
|
+
} from "./workspace-yf1j450z.js";
|
|
105
105
|
import {
|
|
106
106
|
make12
|
|
107
|
-
} from "./
|
|
107
|
+
} from "./workspace-wrec6qs9.js";
|
|
108
108
|
import {
|
|
109
109
|
__export
|
|
110
|
-
} from "./
|
|
110
|
+
} from "./workspace-9rqn6x4v.js";
|
|
111
111
|
|
|
112
112
|
// src/session.ts
|
|
113
113
|
var exports_session = {};
|
|
@@ -118,9 +118,9 @@ __export(exports_session, {
|
|
|
118
118
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
119
119
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
120
120
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
121
|
-
ID: () =>
|
|
121
|
+
ID: () => ID11,
|
|
122
122
|
InboxConflictError: () => InboxConflictError2,
|
|
123
|
-
Info: () =>
|
|
123
|
+
Info: () => Info15,
|
|
124
124
|
ListAnchor: () => ListAnchor2,
|
|
125
125
|
ListInput: () => ListInput3,
|
|
126
126
|
MessageDecodeError: () => MessageDecodeError2,
|
|
@@ -128,14 +128,14 @@ __export(exports_session, {
|
|
|
128
128
|
MessageNotAssistantError: () => MessageNotAssistantError2,
|
|
129
129
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
130
130
|
MessageToolIncompleteError: () => MessageToolIncompleteError2,
|
|
131
|
-
NotFoundError: () =>
|
|
131
|
+
NotFoundError: () => NotFoundError4,
|
|
132
132
|
PromptConflictError: () => PromptConflictError2,
|
|
133
|
-
Service: () =>
|
|
133
|
+
Service: () => Service18,
|
|
134
134
|
Session: () => exports_session,
|
|
135
135
|
SessionSchema: () => SessionSchema2,
|
|
136
136
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
137
137
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
138
|
-
node: () =>
|
|
138
|
+
node: () => node22
|
|
139
139
|
});
|
|
140
140
|
import { Effect, Layer, Schema, Context, Stream } from "effect";
|
|
141
141
|
import { LLMClient } from "@opencode-ai/ai";
|
|
@@ -145,26 +145,26 @@ import { Model } from "@opencode-ai/schema/model";
|
|
|
145
145
|
import path from "path";
|
|
146
146
|
import { Node } from "@opencode-ai/util/effect/app-node";
|
|
147
147
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
148
|
-
var ListInput3 =
|
|
149
|
-
class
|
|
148
|
+
var ListInput3 = ListInput4;
|
|
149
|
+
class Service18 extends Context.Service()("@opencode/Session") {
|
|
150
150
|
}
|
|
151
|
-
var layer = Layer.effect(
|
|
151
|
+
var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
152
152
|
const app = yield* Metadata2;
|
|
153
153
|
const database = yield* Service80;
|
|
154
154
|
const db = database.db;
|
|
155
|
-
const bus = yield*
|
|
156
|
-
const projects = yield*
|
|
155
|
+
const bus = yield* Service79;
|
|
156
|
+
const projects = yield* Service77;
|
|
157
157
|
const execution = yield* Service36;
|
|
158
158
|
const llm = yield* LLMClient.Service;
|
|
159
|
-
const transport = yield*
|
|
160
|
-
const store = yield*
|
|
161
|
-
const instances = yield*
|
|
162
|
-
const moves = yield*
|
|
163
|
-
const jobs = yield*
|
|
164
|
-
const environments = yield*
|
|
159
|
+
const transport = yield* Service27;
|
|
160
|
+
const store = yield* Service42;
|
|
161
|
+
const instances = yield* Service40;
|
|
162
|
+
const moves = yield* Service19;
|
|
163
|
+
const jobs = yield* Service50;
|
|
164
|
+
const environments = yield* Service64;
|
|
165
165
|
const sessions = yield* make12();
|
|
166
166
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
167
|
-
const result =
|
|
167
|
+
const result = Service18.of({
|
|
168
168
|
create: Effect.fn("Session.create")(function* (input) {
|
|
169
169
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
170
170
|
const recorded = yield* store.get(sessionID);
|
|
@@ -172,7 +172,7 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
172
172
|
return recorded;
|
|
173
173
|
const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
|
|
174
174
|
if (input.parentID && parent === undefined)
|
|
175
|
-
return yield* new
|
|
175
|
+
return yield* new NotFoundError4({ sessionID: input.parentID });
|
|
176
176
|
const location = parent?.location ?? input.location;
|
|
177
177
|
if (location === undefined)
|
|
178
178
|
return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
|
|
@@ -266,11 +266,11 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
266
266
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
267
267
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
268
268
|
const session = yield* result.get(input.sessionID);
|
|
269
|
-
return yield* generate3({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
269
|
+
return yield* generate3({ session, prompt: input.prompt }).pipe(Effect.provideService(Service40, instances), Effect.provideService(Service80, database), Effect.provideService(LLMClient.Service, llm));
|
|
270
270
|
}),
|
|
271
271
|
command: Effect.fn("Session.command")(function* (input) {
|
|
272
272
|
const session = yield* result.get(input.sessionID);
|
|
273
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
273
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service40, instances));
|
|
274
274
|
}),
|
|
275
275
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
276
276
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -310,26 +310,26 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
310
310
|
});
|
|
311
311
|
return result;
|
|
312
312
|
}));
|
|
313
|
-
var
|
|
314
|
-
service:
|
|
313
|
+
var node22 = Node.makeGlobalNode({
|
|
314
|
+
service: Service18,
|
|
315
315
|
layer,
|
|
316
316
|
deps: [
|
|
317
|
-
|
|
318
|
-
|
|
317
|
+
node53,
|
|
318
|
+
node68,
|
|
319
319
|
node85,
|
|
320
|
+
node84,
|
|
320
321
|
node82,
|
|
321
|
-
node72,
|
|
322
322
|
node40,
|
|
323
|
-
|
|
323
|
+
node32,
|
|
324
324
|
llmClient2,
|
|
325
|
-
|
|
326
|
-
|
|
325
|
+
node45,
|
|
326
|
+
node43,
|
|
327
327
|
node41,
|
|
328
|
-
|
|
329
|
-
|
|
328
|
+
node23,
|
|
329
|
+
node24,
|
|
330
330
|
FSUtil.node,
|
|
331
|
-
|
|
331
|
+
node65
|
|
332
332
|
]
|
|
333
333
|
});
|
|
334
334
|
|
|
335
|
-
export { ListAnchor2, ListInput3,
|
|
335
|
+
export { ListAnchor2, ListInput3, Service18, node22, exports_session };
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./workspace-p8qxwesx.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service72,
|
|
8
|
+
node76
|
|
9
|
+
} from "./workspace-bw8t122c.js";
|
|
10
10
|
import {
|
|
11
11
|
Content2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./workspace-xnbskdmk.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./workspace-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./workspace-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service12,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node15,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service12 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -326,13 +326,13 @@ var nthNewline = (bytes, count) => {
|
|
|
326
326
|
return index + 1;
|
|
327
327
|
}
|
|
328
328
|
};
|
|
329
|
-
var layer = Layer.effect(
|
|
330
|
-
const environment = yield*
|
|
331
|
-
return
|
|
329
|
+
var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
330
|
+
const environment = yield* Service72;
|
|
331
|
+
return Service12.of({
|
|
332
332
|
list: environment.files.list,
|
|
333
333
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
334
334
|
});
|
|
335
335
|
}));
|
|
336
|
-
var
|
|
336
|
+
var node15 = makeLocationNode({ service: Service12, layer, deps: [node76] });
|
|
337
337
|
|
|
338
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
338
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service12, read2, node15, exports_read_filesystem };
|
|
@@ -4,29 +4,29 @@ import {
|
|
|
4
4
|
empty3,
|
|
5
5
|
make20,
|
|
6
6
|
diffByKey2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./workspace-97f5v037.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID3,
|
|
10
10
|
Name2,
|
|
11
11
|
available2,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service34,
|
|
13
|
+
node38
|
|
14
|
+
} from "./workspace-1a51ccws.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./workspace-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/skill/instructions.ts
|
|
20
20
|
var exports_instructions5 = {};
|
|
21
21
|
__export(exports_instructions5, {
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service24,
|
|
23
23
|
SkillInstructions: () => exports_instructions5,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node29
|
|
25
25
|
});
|
|
26
26
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
27
27
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
28
28
|
var Summary = Schema.Struct({
|
|
29
|
-
id:
|
|
29
|
+
id: ID3,
|
|
30
30
|
name: Name2,
|
|
31
31
|
description: Schema.String
|
|
32
32
|
});
|
|
@@ -60,11 +60,11 @@ var update = (previous, current) => {
|
|
|
60
60
|
`);
|
|
61
61
|
};
|
|
62
62
|
|
|
63
|
-
class
|
|
63
|
+
class Service24 extends Context.Service()("@opencode/SkillInstructions") {
|
|
64
64
|
}
|
|
65
|
-
var layer = Layer.effect(
|
|
66
|
-
const skills = yield*
|
|
67
|
-
return
|
|
65
|
+
var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
66
|
+
const skills = yield* Service34;
|
|
67
|
+
return Service24.of({
|
|
68
68
|
load: Effect.fn("SkillInstructions.load")(function* (selection) {
|
|
69
69
|
const agent = selection.info;
|
|
70
70
|
if (!agent)
|
|
@@ -83,6 +83,6 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
83
83
|
})
|
|
84
84
|
});
|
|
85
85
|
}));
|
|
86
|
-
var
|
|
86
|
+
var node29 = makeLocationNode({ service: Service24, layer, deps: [node38] });
|
|
87
87
|
|
|
88
|
-
export {
|
|
88
|
+
export { Service24, node29, exports_instructions5 };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node65
|
|
5
|
+
} from "./workspace-yrgt9021.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
Service66,
|
|
8
8
|
node70
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./workspace-tcvwtwdv.js";
|
|
10
10
|
import {
|
|
11
11
|
DeclinedError2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./workspace-3f3b7fxe.js";
|
|
13
13
|
import {
|
|
14
14
|
CancelledError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./workspace-1gg2jxya.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Error2
|
|
18
|
+
} from "./workspace-sf6ny1gj.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service27,
|
|
21
|
+
node32
|
|
22
|
+
} from "./workspace-p9tbkvt9.js";
|
|
23
23
|
import {
|
|
24
24
|
make14
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./workspace-nhy5jxhy.js";
|
|
26
26
|
import {
|
|
27
27
|
toLLMMessages2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./workspace-zbjnn3ac.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./workspace-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/model-request.ts
|
|
34
34
|
var exports_model_request = {};
|
|
35
35
|
__export(exports_model_request, {
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service26,
|
|
37
37
|
SessionModelRequest: () => exports_model_request,
|
|
38
38
|
baseTranscript: () => baseTranscript2,
|
|
39
39
|
boundImages: () => boundImages2,
|
|
40
|
-
layer: () =>
|
|
41
|
-
node: () =>
|
|
40
|
+
layer: () => layer10,
|
|
41
|
+
node: () => node31,
|
|
42
42
|
unsupportedParts: () => unsupportedParts2
|
|
43
43
|
});
|
|
44
44
|
import { HttpOptions, LanguageModel, LLM, LLMRequest, Message, SystemPart } from "@opencode-ai/ai";
|
|
@@ -185,11 +185,11 @@ var httpMiddleware = (hooks, scope) => (request, handler) => Effect.gen(function
|
|
|
185
185
|
return HttpClientResponse.fromWeb(sent, after.response);
|
|
186
186
|
}).pipe(Effect.mapError((cause) => cause instanceof Error ? cause : new Error(String(cause))));
|
|
187
187
|
|
|
188
|
-
class
|
|
188
|
+
class Service26 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
189
189
|
}
|
|
190
|
-
var
|
|
191
|
-
const hooks = yield*
|
|
192
|
-
const transport = yield*
|
|
190
|
+
var layer10 = Layer.effect(Service26, Effect.gen(function* () {
|
|
191
|
+
const hooks = yield* Service66;
|
|
192
|
+
const transport = yield* Service27;
|
|
193
193
|
const app = yield* Metadata2;
|
|
194
194
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (input) {
|
|
195
195
|
const session = input.scope.session;
|
|
@@ -197,7 +197,7 @@ var layer13 = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
197
197
|
const model = resolved.model;
|
|
198
198
|
const tools = input.scope.tools ?? {
|
|
199
199
|
definitions: [],
|
|
200
|
-
execute: () => new
|
|
200
|
+
execute: () => new Error2({ message: "Tools are not available for this request" })
|
|
201
201
|
};
|
|
202
202
|
const registry = new Map(tools.definitions.map((tool) => [tool.name, tool]));
|
|
203
203
|
const given = new Map(tools.definitions.map((tool) => [{ description: tool.description, input: { ...tool.inputSchema } }, tool]));
|
|
@@ -254,12 +254,12 @@ var layer13 = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
254
254
|
executeTool
|
|
255
255
|
};
|
|
256
256
|
});
|
|
257
|
-
return
|
|
257
|
+
return Service26.of({ prepare });
|
|
258
258
|
}));
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
261
|
-
layer:
|
|
262
|
-
deps: [node70,
|
|
259
|
+
var node31 = makeLocationNode({
|
|
260
|
+
service: Service26,
|
|
261
|
+
layer: layer10,
|
|
262
|
+
deps: [node70, node32, node65]
|
|
263
263
|
});
|
|
264
264
|
|
|
265
|
-
export { baseTranscript2, unsupportedParts2, boundImages2,
|
|
265
|
+
export { baseTranscript2, unsupportedParts2, boundImages2, Service26, layer10, node31, exports_model_request };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-nj1fe1jb.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info21
|
|
9
|
+
} from "./workspace-b2r752qe.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info25
|
|
12
|
+
} from "./workspace-r1dq9xr8.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info19
|
|
15
|
+
} from "./workspace-jfqtm2ew.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Info20
|
|
18
|
+
} from "./workspace-0xd2d7hb.js";
|
|
19
19
|
import {
|
|
20
20
|
Spec2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./workspace-7dqw4kz8.js";
|
|
22
22
|
import {
|
|
23
23
|
Info17
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./workspace-0rh3kdcc.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Info16
|
|
27
|
+
} from "./workspace-w6t9st8m.js";
|
|
28
28
|
import {
|
|
29
29
|
migrate2,
|
|
30
30
|
normalizeAction2,
|
|
@@ -33,10 +33,10 @@ import {
|
|
|
33
33
|
migrateMcp2,
|
|
34
34
|
migrateProvider2,
|
|
35
35
|
providerID2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./workspace-4b5q5rw6.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./workspace-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/config/normalize.ts
|
|
42
42
|
var exports_normalize = {};
|
|
@@ -84,10 +84,10 @@ function normalize2(input) {
|
|
|
84
84
|
const encoded = {};
|
|
85
85
|
unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
|
|
86
86
|
const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
|
|
87
|
-
const legacyUpdate = own(input, "autoupdate") ? decodeValue(
|
|
87
|
+
const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info16.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
|
|
88
88
|
const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
|
|
89
89
|
const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
|
|
90
|
-
const legacyMedia = own(input, "attachment") ? decodeValue(
|
|
90
|
+
const legacyMedia = own(input, "attachment") ? decodeValue(Info25, input.attachment, ["attachment"], diagnostics) : undefined;
|
|
91
91
|
if (legacyMedia !== undefined) {
|
|
92
92
|
const migrated = migrate2({ attachment: legacyMedia }).media;
|
|
93
93
|
if (migrated !== undefined)
|
|
@@ -104,7 +104,7 @@ function normalize2(input) {
|
|
|
104
104
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
105
105
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
106
106
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
107
|
-
const legacyCommands = decodeMap(input.command,
|
|
107
|
+
const legacyCommands = decodeMap(input.command, Info19, ["command"], diagnostics, decodeValue);
|
|
108
108
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
109
109
|
const migratedCommands = mapValues(legacyCommands, (value) => {
|
|
110
110
|
const migrated = commands2({ value })?.value;
|
|
@@ -112,7 +112,7 @@ function normalize2(input) {
|
|
|
112
112
|
});
|
|
113
113
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
114
114
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
115
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
115
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info21, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
116
116
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
117
117
|
const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
|
|
118
118
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -126,7 +126,7 @@ function normalize2(input) {
|
|
|
126
126
|
model: migratedSmallModel,
|
|
127
127
|
...legacyAgents.title
|
|
128
128
|
};
|
|
129
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
129
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info21, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
130
130
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
131
131
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
132
132
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
225
225
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
226
226
|
return;
|
|
227
227
|
}
|
|
228
|
-
const server = decodeValue(
|
|
228
|
+
const server = decodeValue(Info20, value, path, diagnostics);
|
|
229
229
|
if (server !== undefined)
|
|
230
230
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
231
231
|
});
|