@opencode-ai/core 0.0.0-dev-19194 → 0.0.0-dev-19196
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 +79 -79
- 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-zcdkhb99.js → shell-00pcw284.js} +15 -15
- package/dist/chunks/{permission-1epdwr0s.js → shell-037vejbr.js} +18 -18
- package/dist/chunks/{permission-zxqn6njn.js → shell-04pvrnvk.js} +33 -33
- package/dist/chunks/{permission-npw9qs6v.js → shell-05mkz72h.js} +28 -28
- package/dist/chunks/{permission-1c2kc3me.js → shell-06337yqs.js} +5 -5
- package/dist/chunks/{permission-mvq70mme.js → shell-08gqv4wh.js} +29 -29
- package/dist/chunks/{permission-11tw25g0.js → shell-0ar19swb.js} +4 -4
- package/dist/chunks/{permission-0e0xafbb.js → shell-0e0xafbb.js} +2 -2
- package/dist/chunks/{permission-rph3zd4r.js → shell-0gaj4617.js} +6 -6
- package/dist/chunks/{permission-0paq2nw3.js → shell-0paq2nw3.js} +1 -1
- package/dist/chunks/shell-0q0f95c6.js +37 -0
- package/dist/chunks/{permission-drfs6y29.js → shell-0qkbcjwh.js} +13 -13
- package/dist/chunks/{permission-0s9ayhjt.js → shell-0s9ayhjt.js} +1 -1
- package/dist/chunks/{permission-06g9tmzq.js → shell-0xzew176.js} +51 -51
- package/dist/chunks/{permission-x5996nqq.js → shell-14s8ve6g.js} +1 -1
- package/dist/chunks/{permission-jtgqb2ba.js → shell-1a5eqtf0.js} +29 -29
- package/dist/chunks/{permission-1ct4r87x.js → shell-1ct4r87x.js} +1 -1
- package/dist/chunks/{permission-d83vdxpb.js → shell-1kmw8bw9.js} +8 -8
- package/dist/chunks/{permission-0rh3kdcc.js → shell-1mrma768.js} +5 -5
- package/dist/chunks/{permission-9d4vrqc0.js → shell-1n116cmy.js} +9 -9
- package/dist/chunks/{permission-rwbzb0j9.js → shell-1s3v4p4d.js} +21 -21
- package/dist/chunks/{permission-86wx1ee5.js → shell-1sfe7ky6.js} +5 -5
- package/dist/chunks/{permission-90dkb0a5.js → shell-1xtfawcg.js} +32 -32
- package/dist/chunks/{permission-s8ds8jcd.js → shell-21ahhajh.js} +4 -4
- package/dist/chunks/{permission-21r38tys.js → shell-21r38tys.js} +1 -1
- package/dist/chunks/{permission-2402vzrj.js → shell-2402vzrj.js} +1 -1
- package/dist/chunks/{permission-z63w68vq.js → shell-29x78va6.js} +6 -6
- package/dist/chunks/{permission-2a5m3afh.js → shell-2a5m3afh.js} +1 -1
- package/dist/chunks/{permission-734paghm.js → shell-2g7fb4sy.js} +9 -9
- package/dist/chunks/{permission-2ht70gj7.js → shell-2ht70gj7.js} +1 -1
- package/dist/chunks/{permission-sg76v7pb.js → shell-2r4smnpn.js} +27 -27
- package/dist/chunks/{permission-33yxnv13.js → shell-2sfwn1pw.js} +11 -11
- package/dist/chunks/{permission-ybh27hq8.js → shell-2ty14fk8.js} +9 -9
- package/dist/chunks/{permission-4c7vbtbn.js → shell-2x7hewgh.js} +57 -57
- package/dist/chunks/{permission-tjvcjkky.js → shell-2xph78ty.js} +11 -11
- package/dist/chunks/{permission-41g6g5mm.js → shell-2xs51w6t.js} +23 -23
- package/dist/chunks/{permission-q2n1byss.js → shell-2yk8myve.js} +44 -44
- package/dist/chunks/{permission-ty4tv0p8.js → shell-32wdy755.js} +6 -6
- package/dist/chunks/{permission-skvhtt2n.js → shell-35kceag9.js} +41 -41
- package/dist/chunks/{permission-36vsdr69.js → shell-36vsdr69.js} +2 -2
- package/dist/chunks/{permission-kecsmh6z.js → shell-3f9n5hdq.js} +12 -12
- package/dist/chunks/{permission-3fc6dm20.js → shell-3fc6dm20.js} +1 -1
- package/dist/chunks/{permission-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
- package/dist/chunks/{permission-3qzbfqsy.js → shell-3qzbfqsy.js} +2 -2
- package/dist/chunks/{permission-3smtnn6g.js → shell-3smtnn6g.js} +1 -1
- package/dist/chunks/{permission-3tvqynh2.js → shell-3tvqynh2.js} +1 -1
- package/dist/chunks/{permission-6kqmr9wh.js → shell-3w01mqch.js} +26 -26
- package/dist/chunks/{permission-jkypfbqd.js → shell-3wkxvcm2.js} +5 -5
- package/dist/chunks/{permission-qfrq97rd.js → shell-417y9pm1.js} +4 -4
- package/dist/chunks/{permission-549p75yk.js → shell-4192f9pk.js} +166 -166
- package/dist/chunks/{permission-g213rqq5.js → shell-42t0dhr4.js} +7 -7
- package/dist/chunks/{permission-xqe4xt8f.js → shell-43q760fm.js} +7 -7
- package/dist/chunks/{permission-x2et6yvz.js → shell-44x7fxmt.js} +12 -12
- package/dist/chunks/{permission-454k5vzh.js → shell-454k5vzh.js} +1 -1
- package/dist/chunks/{permission-xx3n06zn.js → shell-4b5qqsbn.js} +11 -11
- package/dist/chunks/{permission-9xwybkd6.js → shell-4c5k13je.js} +1 -1
- package/dist/chunks/{permission-zca6dyxv.js → shell-4kjzcy7g.js} +17 -17
- package/dist/chunks/{permission-4r2nyarf.js → shell-4r2nyarf.js} +1 -1
- package/dist/chunks/{permission-bp1yp9s7.js → shell-4t7hsdzk.js} +15 -15
- package/dist/chunks/{permission-hb5dw269.js → shell-4wt00r3g.js} +9 -9
- package/dist/chunks/{permission-rtqtxd9a.js → shell-4xew0z44.js} +3 -3
- package/dist/chunks/{permission-rrksnp7n.js → shell-585qr39b.js} +9 -9
- package/dist/chunks/{permission-5daktx2q.js → shell-5daktx2q.js} +1 -1
- package/dist/chunks/{permission-q4rx8yxr.js → shell-5ewtbtr0.js} +32 -32
- package/dist/chunks/{permission-5fmxt4p5.js → shell-5fmxt4p5.js} +1 -1
- package/dist/chunks/{permission-5jvc5tg2.js → shell-5jvc5tg2.js} +1 -1
- package/dist/chunks/{permission-1ezdn4hp.js → shell-5mxx68d3.js} +7 -7
- package/dist/chunks/{permission-ary78n1n.js → shell-66zzpgw2.js} +40 -40
- package/dist/chunks/{permission-saak5ttd.js → shell-6abnk40k.js} +6 -6
- package/dist/chunks/{permission-qpj255cf.js → shell-6erngkvb.js} +32 -32
- package/dist/chunks/{permission-7pzsxwre.js → shell-6rjzzdxy.js} +3 -3
- package/dist/chunks/{permission-y7y73wg0.js → shell-6ym5me7r.js} +5 -5
- package/dist/chunks/{permission-gzhrweeb.js → shell-70b0rhqw.js} +15 -15
- package/dist/chunks/{permission-711hfp6y.js → shell-711hfp6y.js} +2 -2
- package/dist/chunks/{permission-72nftnjy.js → shell-72nftnjy.js} +2 -2
- package/dist/chunks/{permission-3pxrk450.js → shell-78vzyx6d.js} +12 -12
- package/dist/chunks/{permission-cbh3af09.js → shell-7908ykgb.js} +8 -8
- package/dist/chunks/{permission-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
- package/dist/chunks/{permission-6gvvcmqp.js → shell-7gfpemw6.js} +8 -8
- package/dist/chunks/{permission-7bj47tff.js → shell-7nprwmah.js} +41 -41
- package/dist/chunks/{permission-ta6mxwq1.js → shell-7pb57fb0.js} +36 -36
- package/dist/chunks/{permission-ywm3nvxx.js → shell-7qtxbs4b.js} +6 -6
- package/dist/chunks/{permission-03418nvg.js → shell-7r4ym1qc.js} +26 -26
- package/dist/chunks/{permission-cpxv7qgy.js → shell-7sqp221s.js} +10 -10
- package/dist/chunks/{permission-674xz2ws.js → shell-7t18mxkv.js} +3 -3
- package/dist/chunks/{permission-5ssekc67.js → shell-7vcgspzg.js} +35 -35
- package/dist/chunks/{permission-t1v0cqqz.js → shell-7yp0j7my.js} +13 -13
- package/dist/chunks/{permission-59wa6ec1.js → shell-80bfyqqz.js} +22 -22
- package/dist/chunks/{permission-tvba162w.js → shell-84ws7vk9.js} +31 -31
- package/dist/chunks/{permission-9ht0v476.js → shell-8gfg9fa9.js} +3 -3
- package/dist/chunks/{permission-1554gh0k.js → shell-8nkz5pt3.js} +10 -10
- package/dist/chunks/{permission-p6kvckg5.js → shell-8tbsk23y.js} +9 -9
- package/dist/chunks/{permission-3kbzmjgj.js → shell-8tzngw7b.js} +20 -20
- package/dist/chunks/shell-8y6r9mz6.js +22 -0
- package/dist/chunks/{permission-y7zybnf0.js → shell-93wwsra1.js} +5 -5
- package/dist/chunks/{permission-s76kmyqn.js → shell-98fez8vh.js} +22 -22
- package/dist/chunks/{permission-0hmgtzsc.js → shell-9ap403n6.js} +46 -46
- package/dist/chunks/{permission-rrthq9em.js → shell-9cbk0p5b.js} +35 -35
- package/dist/chunks/{permission-71z2dbxd.js → shell-9gfdxbs4.js} +2 -2
- package/dist/chunks/{permission-9qm9egsn.js → shell-9qm9egsn.js} +2 -2
- package/dist/chunks/{permission-ssvhf1t0.js → shell-9sy3m4ps.js} +20 -20
- package/dist/chunks/{permission-kbs6ktxn.js → shell-9y1phk8d.js} +1 -1
- package/dist/chunks/{permission-basdkhxq.js → shell-9yjbvttw.js} +26 -26
- package/dist/chunks/{permission-v5dkyp31.js → shell-a46v4e4v.js} +4 -4
- package/dist/chunks/{permission-rd8ts1z3.js → shell-a6y0jgay.js} +11 -11
- package/dist/chunks/{permission-aaet6srn.js → shell-aaet6srn.js} +2 -2
- package/dist/chunks/{permission-ajtjthsy.js → shell-ajtjthsy.js} +2 -2
- package/dist/chunks/{permission-bxj8vx9k.js → shell-aszbaj7g.js} +15 -15
- package/dist/chunks/{permission-8dpf37y4.js → shell-aybqrser.js} +18 -18
- package/dist/chunks/{permission-tsbfn723.js → shell-b4xf332k.js} +29 -29
- package/dist/chunks/{permission-b6gygkdw.js → shell-b6gygkdw.js} +2 -2
- package/dist/chunks/shell-b7pyt6aj.js +460 -0
- package/dist/chunks/{permission-b9wsbatv.js → shell-b9wsbatv.js} +1 -1
- package/dist/chunks/{permission-sj8yj28g.js → shell-bb0kg1q4.js} +11 -11
- package/dist/chunks/{permission-pmr4s4kc.js → shell-bct739vz.js} +4 -4
- package/dist/chunks/{permission-qbgs5603.js → shell-bgee90x3.js} +27 -27
- package/dist/chunks/{permission-0y3y70eh.js → shell-bhmtg2kj.js} +11 -11
- package/dist/chunks/{permission-t18jrk1b.js → shell-bmfd242v.js} +22 -22
- package/dist/chunks/{permission-bfhm9gkj.js → shell-bpyk2zgp.js} +6 -6
- package/dist/chunks/{permission-th9cb3a2.js → shell-brg38b3f.js} +8 -8
- package/dist/chunks/{permission-bsvvsrn1.js → shell-bsvvsrn1.js} +2 -2
- package/dist/chunks/{permission-jn3vpcr2.js → shell-bvc9822d.js} +28 -28
- package/dist/chunks/{permission-c3edmaeq.js → shell-c88sz3qs.js} +22 -22
- package/dist/chunks/{permission-b1gft069.js → shell-cg0d0972.js} +17 -17
- package/dist/chunks/{permission-y0vg58g0.js → shell-ckv8rq3a.js} +16 -16
- package/dist/chunks/{permission-fjbphwaw.js → shell-ctd4qdmr.js} +4 -4
- package/dist/chunks/{permission-9xd69fg1.js → shell-d67bzqbb.js} +9 -9
- package/dist/chunks/{permission-kdz37j01.js → shell-d6se384q.js} +14 -14
- package/dist/chunks/{permission-d72308c8.js → shell-d72308c8.js} +2 -2
- package/dist/chunks/{permission-f60nab11.js → shell-djytekme.js} +29 -29
- package/dist/chunks/{permission-1g20fj6k.js → shell-dvxcgtgp.js} +39 -39
- package/dist/chunks/shell-dxj72tfx.js +18 -0
- package/dist/chunks/{permission-nrhxst0m.js → shell-dyrfwbsh.js} +25 -25
- package/dist/chunks/{permission-kj392b1j.js → shell-ecqg7bmw.js} +22 -22
- package/dist/chunks/{permission-3fm4dcxc.js → shell-ejmkr9z7.js} +86 -56
- package/dist/chunks/{permission-ystvjdgv.js → shell-enwn0tzc.js} +2 -2
- package/dist/chunks/{permission-vevwt92b.js → shell-ew0tmsyp.js} +11 -11
- package/dist/chunks/{permission-yc7hetwv.js → shell-eye58hw2.js} +21 -21
- package/dist/chunks/{permission-6717p8ax.js → shell-f086nceb.js} +24 -24
- package/dist/chunks/{permission-yp2x3t23.js → shell-f2n192rq.js} +4 -4
- package/dist/chunks/{permission-ee4j062y.js → shell-fcxhebz1.js} +29 -29
- package/dist/chunks/{permission-a5kby1rv.js → shell-fe9mb3y1.js} +13 -13
- package/dist/chunks/{permission-jpg38yrs.js → shell-fehrn2qm.js} +6 -6
- package/dist/chunks/{permission-pawvfhab.js → shell-fk8hrt4z.js} +65 -65
- package/dist/chunks/{permission-2tr0vbqd.js → shell-fkpvx5pg.js} +38 -38
- package/dist/chunks/{permission-wmeds191.js → shell-fr5cx72t.js} +85 -85
- package/dist/chunks/{permission-fxbjtjnd.js → shell-fxbjtjnd.js} +1 -1
- package/dist/chunks/{permission-fxypknc8.js → shell-fxypknc8.js} +1 -1
- package/dist/chunks/{permission-w794wtw1.js → shell-fy2metxv.js} +77 -77
- package/dist/chunks/{permission-7kmhxb86.js → shell-fzajb8v1.js} +10 -10
- package/dist/chunks/{permission-63kze1d3.js → shell-g3m9axkp.js} +4 -4
- package/dist/chunks/{permission-jjr4j3fd.js → shell-g47dvf5d.js} +8 -8
- package/dist/chunks/{permission-bgdcyqqr.js → shell-g52wq5zw.js} +4 -4
- package/dist/chunks/{permission-v6616nmc.js → shell-ga1tzhpe.js} +16 -16
- package/dist/chunks/{permission-0mktrftt.js → shell-gc168ysg.js} +14 -14
- package/dist/chunks/{permission-gd4qta3r.js → shell-gd4qta3r.js} +1 -1
- package/dist/chunks/{permission-etm14sfn.js → shell-gfv1e1ds.js} +46 -46
- package/dist/chunks/{permission-d7baysx9.js → shell-gp91837t.js} +23 -23
- package/dist/chunks/{permission-qfyttvec.js → shell-gqs2vad9.js} +19 -19
- package/dist/chunks/{permission-naee4z7c.js → shell-gr7vg3y5.js} +4 -4
- package/dist/chunks/{permission-wrwy3hc7.js → shell-gw8yqzg5.js} +6 -6
- package/dist/chunks/{permission-ndqtf2h8.js → shell-gzbkpp9m.js} +6 -6
- package/dist/chunks/{permission-r07gm0bm.js → shell-h5wpvtxr.js} +4 -4
- package/dist/chunks/{permission-h6vf3j39.js → shell-h6vf3j39.js} +1 -1
- package/dist/chunks/{permission-2nk48w4v.js → shell-haggcxkj.js} +9 -9
- package/dist/chunks/{permission-r2yagys3.js → shell-hay8k9wj.js} +28 -28
- package/dist/chunks/{permission-tsp2em4c.js → shell-hc4b3kyg.js} +6 -6
- package/dist/chunks/{permission-heyhwy2w.js → shell-heyhwy2w.js} +1 -1
- package/dist/chunks/{permission-kbhpdv1e.js → shell-hjjb040h.js} +12 -12
- package/dist/chunks/{permission-q4y969yg.js → shell-hmeey3k9.js} +11 -11
- package/dist/chunks/{permission-hrvm11jt.js → shell-hrvm11jt.js} +3 -3
- package/dist/chunks/{permission-kftt56g4.js → shell-hzxz3qkz.js} +12 -12
- package/dist/chunks/{permission-yjjng2s7.js → shell-j1pm0kh5.js} +14 -14
- package/dist/chunks/{permission-paphc93g.js → shell-j935v87r.js} +2 -2
- package/dist/chunks/{permission-1gdk2rz4.js → shell-jdnwrjf1.js} +3 -3
- package/dist/chunks/{permission-6vhs0r56.js → shell-jjz9kdpw.js} +29 -29
- package/dist/chunks/{permission-y4jvkgbx.js → shell-jphw73by.js} +23 -23
- package/dist/chunks/{permission-tqqej2s1.js → shell-jsdxtgmy.js} +8 -8
- package/dist/chunks/{permission-0hte1e32.js → shell-jzz3abdx.js} +17 -17
- package/dist/chunks/{permission-7xw9zsz9.js → shell-k0zgeteb.js} +21 -21
- package/dist/chunks/{permission-ecyqkc7t.js → shell-k1w98zgr.js} +8 -8
- package/dist/chunks/{permission-1hvvsyxb.js → shell-k2qp0rt7.js} +1 -1
- package/dist/chunks/{permission-rnfh5tzx.js → shell-k37p1w3a.js} +10 -10
- package/dist/chunks/{permission-k4bwy1x5.js → shell-k4bwy1x5.js} +1 -1
- package/dist/chunks/{permission-kg06axw8.js → shell-kg06axw8.js} +1 -1
- package/dist/chunks/{permission-yfbd16n1.js → shell-kk3rr3qh.js} +5 -5
- package/dist/chunks/{permission-1fnn203z.js → shell-kkqvv4hs.js} +38 -38
- package/dist/chunks/{permission-maxga7za.js → shell-kryk1pph.js} +11 -11
- package/dist/chunks/{permission-a0m130rn.js → shell-kv8syyjy.js} +11 -11
- package/dist/chunks/{permission-hw4pv20g.js → shell-kvsjn1dr.js} +2 -2
- package/dist/chunks/{permission-1th2e3gc.js → shell-ky97vkm0.js} +22 -22
- package/dist/chunks/{permission-dcs5gde8.js → shell-kyd4za44.js} +4 -4
- package/dist/chunks/{permission-nvw3xbya.js → shell-kz8th6jy.js} +3 -3
- package/dist/chunks/{permission-m3fm0fm8.js → shell-m3fm0fm8.js} +2 -2
- package/dist/chunks/{permission-gst7axd9.js → shell-m70sbz6t.js} +4 -4
- package/dist/chunks/{permission-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
- package/dist/chunks/{permission-jw57zqaw.js → shell-mek50901.js} +9 -9
- package/dist/chunks/{permission-845a489e.js → shell-mg8hyy97.js} +2 -2
- package/dist/chunks/{permission-xxhpgjtn.js → shell-mmj01rc6.js} +6 -6
- package/dist/chunks/{permission-97f5v037.js → shell-mtcjf44p.js} +4 -4
- package/dist/chunks/{permission-1bbkgx8g.js → shell-mvfsc1pv.js} +3 -3
- package/dist/chunks/{permission-0pame0fb.js → shell-myqn1vwn.js} +10 -10
- package/dist/chunks/{permission-cze9nqnn.js → shell-n3xn0h0f.js} +15 -15
- package/dist/chunks/{permission-ndjbqfda.js → shell-n7p3q306.js} +20 -20
- package/dist/chunks/{permission-nhy5jxhy.js → shell-nhy5jxhy.js} +1 -1
- package/dist/chunks/{permission-m75mcjf9.js → shell-nmgddbg4.js} +8 -8
- package/dist/chunks/{permission-d0b0j5m4.js → shell-nsw1yxtn.js} +20 -20
- package/dist/chunks/{permission-7rwf1fkz.js → shell-nv1z9knr.js} +3 -3
- package/dist/chunks/{permission-9vm9s1a5.js → shell-p3e4re21.js} +1 -1
- package/dist/chunks/{permission-pjvnvgmy.js → shell-pjvnvgmy.js} +1 -1
- package/dist/chunks/{permission-tpjsp3rq.js → shell-pjy2hnng.js} +4 -4
- package/dist/chunks/{permission-pknna89w.js → shell-pknna89w.js} +1 -1
- package/dist/chunks/{permission-abvwjazp.js → shell-pxcwkz2f.js} +12 -12
- package/dist/chunks/{permission-ahgb5763.js → shell-q39pj94r.js} +11 -11
- package/dist/chunks/{permission-2k8khapm.js → shell-qgn6gcr1.js} +5 -5
- package/dist/chunks/{permission-27k9sb4m.js → shell-qkar7ddm.js} +27 -27
- package/dist/chunks/{permission-qsdy395h.js → shell-qsdy395h.js} +1 -1
- package/dist/chunks/{permission-3ne54r9x.js → shell-qwjbpryz.js} +15 -15
- package/dist/chunks/{permission-xmsqqspp.js → shell-r48p3yav.js} +1 -1
- package/dist/chunks/{permission-r8dhm0tv.js → shell-r8dhm0tv.js} +1 -1
- package/dist/chunks/{permission-nfnj84cy.js → shell-r99b7fbd.js} +11 -11
- package/dist/chunks/{permission-q1rpvv9s.js → shell-r9fqtgme.js} +10 -10
- package/dist/chunks/{permission-06wykemb.js → shell-rca1y2wr.js} +6 -6
- package/dist/chunks/{permission-sba4qhjf.js → shell-sba4qhjf.js} +1 -1
- package/dist/chunks/{permission-vps2nv09.js → shell-sfrccsk6.js} +36 -36
- package/dist/chunks/{permission-f64a3ghm.js → shell-sh0vnv2k.js} +18 -18
- package/dist/chunks/{permission-za303knc.js → shell-sjn9e3ew.js} +11 -11
- package/dist/chunks/{permission-d8vvpswg.js → shell-sraw6zer.js} +24 -24
- package/dist/chunks/{permission-0jeydt1r.js → shell-sxaj9jh7.js} +10 -10
- package/dist/chunks/{permission-h9rm1rrn.js → shell-sykc9y4a.js} +5 -5
- package/dist/chunks/{permission-tazgh4e4.js → shell-tazgh4e4.js} +1 -1
- package/dist/chunks/{permission-tcezcvh9.js → shell-tcezcvh9.js} +1 -1
- package/dist/chunks/{permission-tjykrgmx.js → shell-tjykrgmx.js} +1 -1
- package/dist/chunks/{permission-34yjfdzm.js → shell-ts3fz7sh.js} +32 -32
- package/dist/chunks/{permission-d9r6yxfs.js → shell-v4r0s993.js} +13 -13
- package/dist/chunks/{permission-5vq8ad1q.js → shell-v63mh1hy.js} +11 -11
- package/dist/chunks/{permission-9y67xgrt.js → shell-v97587cg.js} +11 -11
- package/dist/chunks/{permission-gvj8s4nn.js → shell-v9mxw17g.js} +24 -24
- package/dist/chunks/{permission-91y84mbe.js → shell-vcnd030r.js} +15 -15
- package/dist/chunks/{permission-kepsre9z.js → shell-vh4awg6g.js} +16 -16
- package/dist/chunks/{permission-qgqe8wdv.js → shell-vn3xvc40.js} +37 -37
- package/dist/chunks/{permission-5em8x407.js → shell-vqcnb6e5.js} +13 -13
- package/dist/chunks/{permission-798c5d35.js → shell-vtq1wfzg.js} +4 -4
- package/dist/chunks/{permission-2rpq0xmv.js → shell-vwvvp157.js} +7 -7
- package/dist/chunks/{permission-s3m1ant6.js → shell-w2fyyd5g.js} +26 -26
- package/dist/chunks/{permission-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
- package/dist/chunks/{permission-wd87259q.js → shell-wd87259q.js} +1 -1
- package/dist/chunks/{permission-vdptz04f.js → shell-wgz7hchk.js} +6 -6
- package/dist/chunks/shell-wpc0p36r.js +247 -0
- package/dist/chunks/{permission-pen6f378.js → shell-x02ksyz9.js} +14 -14
- package/dist/chunks/{permission-x1ezjp6w.js → shell-x1ezjp6w.js} +1 -1
- package/dist/chunks/{permission-z53jqebf.js → shell-xa232ce3.js} +17 -17
- package/dist/chunks/{permission-shr5ah0e.js → shell-xaf20by6.js} +15 -15
- package/dist/chunks/{permission-8rc8m2aj.js → shell-xb5d6gcm.js} +27 -27
- package/dist/chunks/{permission-j4522nkd.js → shell-xhfw6gwk.js} +9 -9
- package/dist/chunks/{permission-56hhj1k0.js → shell-xjy0arej.js} +57 -57
- package/dist/chunks/{permission-pc2frccz.js → shell-xyxtpgsf.js} +21 -21
- package/dist/chunks/{permission-y1fvbwt7.js → shell-y1fvbwt7.js} +1 -1
- package/dist/chunks/{permission-93a8yfjt.js → shell-y2cqme3r.js} +5 -5
- package/dist/chunks/{permission-j6c3dt9j.js → shell-y68jbn75.js} +16 -16
- package/dist/chunks/{permission-jwcy2c2z.js → shell-y71avatq.js} +4 -4
- package/dist/chunks/{permission-dmp12eyw.js → shell-y7w5kr51.js} +23 -23
- package/dist/chunks/{permission-vddeh64n.js → shell-ya0kqzg7.js} +7 -7
- package/dist/chunks/{permission-at3tw8h2.js → shell-yc67yyny.js} +9 -9
- package/dist/chunks/{permission-a1bqr6mg.js → shell-yd426xvt.js} +9 -9
- package/dist/chunks/{permission-zkxx2fyd.js → shell-ysjs28ey.js} +15 -15
- package/dist/chunks/{permission-7g2wv44g.js → shell-ywcb5etp.js} +31 -31
- package/dist/chunks/{permission-0kc0bztd.js → shell-yykyxftz.js} +11 -11
- package/dist/chunks/{permission-z1k01bn4.js → shell-z1k01bn4.js} +2 -2
- package/dist/chunks/{permission-fs8mreb3.js → shell-z8c5n9kb.js} +25 -25
- package/dist/chunks/{permission-wtm3m4mv.js → shell-ze4dnq9c.js} +20 -20
- package/dist/chunks/{permission-tevfa6wa.js → shell-zfnpc7fv.js} +1 -1
- package/dist/chunks/{permission-2dxzc6st.js → shell-zhrc5y8g.js} +9 -9
- package/dist/chunks/{permission-y4nzzd5t.js → shell-zmjynawk.js} +5 -5
- package/dist/chunks/{permission-ehncr9ys.js → shell-zqyb8yat.js} +24 -24
- package/dist/chunks/{permission-gdw6r6rf.js → shell-zsf5n11x.js} +72 -27
- package/dist/chunks/{permission-zxq2ej10.js → shell-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +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 +115 -114
- 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 +117 -116
- 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 +119 -118
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +77 -76
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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 +90 -90
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +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 +219 -218
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +93 -93
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +96 -96
- package/dist/form.js +78 -78
- 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 +83 -83
- package/dist/instructions/builtins.js +80 -80
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -83
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +132 -131
- 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 +80 -80
- package/dist/mcp/client.js +90 -87
- package/dist/mcp/index.js +101 -100
- 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 +6 -6
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- 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 +5 -5
- 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 +132 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +336 -335
- 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 +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +219 -218
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +81 -81
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +88 -88
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +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 +218 -217
- package/dist/session/execution.js +121 -120
- package/dist/session/generate.js +145 -144
- package/dist/session/history.js +14 -14
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +71 -71
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +91 -91
- package/dist/session/message-updater.js +4 -4
- 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 +3 -3
- 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 +2 -2
- 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 +82 -82
- 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 +13 -13
- package/dist/shell.js +133 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- 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 +118 -117
- 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 +120 -120
- package/dist/tool/plugin/shell.js +211 -210
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +213 -212
- package/dist/tool/plugin/webfetch.js +104 -104
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +114 -114
- 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 +2 -2
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +83 -83
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +337 -336
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +87 -87
- package/package.json +7 -7
- package/dist/chunks/permission-5z48x7pe.js +0 -460
- 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 → shell-0fabt78z.js} +0 -0
- /package/dist/chunks/{permission-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{permission-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
- /package/dist/chunks/{permission-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
- /package/dist/chunks/{permission-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
- /package/dist/chunks/{permission-1kg9ymc8.js → shell-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{permission-2710q6r3.js → shell-2710q6r3.js} +0 -0
- /package/dist/chunks/{permission-2axfhc9x.js → shell-2axfhc9x.js} +0 -0
- /package/dist/chunks/{permission-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{permission-359p4xyc.js → shell-359p4xyc.js} +0 -0
- /package/dist/chunks/{permission-3asan66x.js → shell-3asan66x.js} +0 -0
- /package/dist/chunks/{permission-3t738kvx.js → shell-3t738kvx.js} +0 -0
- /package/dist/chunks/{permission-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
- /package/dist/chunks/{permission-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
- /package/dist/chunks/{permission-41nvscxy.js → shell-41nvscxy.js} +0 -0
- /package/dist/chunks/{permission-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
- /package/dist/chunks/{permission-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
- /package/dist/chunks/{permission-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
- /package/dist/chunks/{permission-53557ph1.js → shell-53557ph1.js} +0 -0
- /package/dist/chunks/{permission-550bvhaj.js → shell-550bvhaj.js} +0 -0
- /package/dist/chunks/{permission-6prwharc.js → shell-6prwharc.js} +0 -0
- /package/dist/chunks/{permission-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
- /package/dist/chunks/{permission-7m9af43g.js → shell-7m9af43g.js} +0 -0
- /package/dist/chunks/{permission-7zk4hah4.js → shell-7zk4hah4.js} +0 -0
- /package/dist/chunks/{permission-822emrt2.js → shell-822emrt2.js} +0 -0
- /package/dist/chunks/{permission-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
- /package/dist/chunks/{permission-8n3pysct.js → shell-8n3pysct.js} +0 -0
- /package/dist/chunks/{permission-982e01ww.js → shell-982e01ww.js} +0 -0
- /package/dist/chunks/{permission-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
- /package/dist/chunks/{permission-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{permission-a1tpkmh4.js → shell-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{permission-af5trqkr.js → shell-af5trqkr.js} +0 -0
- /package/dist/chunks/{permission-afrmfg78.js → shell-afrmfg78.js} +0 -0
- /package/dist/chunks/{permission-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{permission-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
- /package/dist/chunks/{permission-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{permission-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{permission-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
- /package/dist/chunks/{permission-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{permission-d9fn303g.js → shell-d9fn303g.js} +0 -0
- /package/dist/chunks/{permission-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{permission-dajrwvna.js → shell-dajrwvna.js} +0 -0
- /package/dist/chunks/{permission-dap0rakb.js → shell-dap0rakb.js} +0 -0
- /package/dist/chunks/{permission-df08tz66.js → shell-df08tz66.js} +0 -0
- /package/dist/chunks/{permission-dy18nga0.js → shell-dy18nga0.js} +0 -0
- /package/dist/chunks/{permission-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
- /package/dist/chunks/{permission-e73j6tqm.js → shell-e73j6tqm.js} +0 -0
- /package/dist/chunks/{permission-eh3zwz77.js → shell-eh3zwz77.js} +0 -0
- /package/dist/chunks/{permission-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
- /package/dist/chunks/{permission-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
- /package/dist/chunks/{permission-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{permission-faypxj3z.js → shell-faypxj3z.js} +0 -0
- /package/dist/chunks/{permission-fd410y7t.js → shell-fd410y7t.js} +0 -0
- /package/dist/chunks/{permission-fxgpk5d8.js → shell-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{permission-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
- /package/dist/chunks/{permission-g86h250q.js → shell-g86h250q.js} +0 -0
- /package/dist/chunks/{permission-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
- /package/dist/chunks/{permission-hk9envan.js → shell-hk9envan.js} +0 -0
- /package/dist/chunks/{permission-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
- /package/dist/chunks/{permission-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{permission-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{permission-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{permission-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{permission-mntxs535.js → shell-mntxs535.js} +0 -0
- /package/dist/chunks/{permission-mp448xyj.js → shell-mp448xyj.js} +0 -0
- /package/dist/chunks/{permission-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
- /package/dist/chunks/{permission-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
- /package/dist/chunks/{permission-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
- /package/dist/chunks/{permission-njntx4h6.js → shell-njntx4h6.js} +0 -0
- /package/dist/chunks/{permission-p8qxwesx.js → shell-p8qxwesx.js} +0 -0
- /package/dist/chunks/{permission-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
- /package/dist/chunks/{permission-q74kybfr.js → shell-q74kybfr.js} +0 -0
- /package/dist/chunks/{permission-qaymkmh1.js → shell-qaymkmh1.js} +0 -0
- /package/dist/chunks/{permission-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
- /package/dist/chunks/{permission-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
- /package/dist/chunks/{permission-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
- /package/dist/chunks/{permission-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{permission-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{permission-se0s1eqw.js → shell-se0s1eqw.js} +0 -0
- /package/dist/chunks/{permission-sk3qaz4a.js → shell-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{permission-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
- /package/dist/chunks/{permission-twg0f83k.js → shell-twg0f83k.js} +0 -0
- /package/dist/chunks/{permission-w803qqfp.js → shell-w803qqfp.js} +0 -0
- /package/dist/chunks/{permission-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
- /package/dist/chunks/{permission-wtztk69x.js → shell-wtztk69x.js} +0 -0
- /package/dist/chunks/{permission-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
- /package/dist/chunks/{permission-x1b8g1yb.js → shell-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{permission-x61499pn.js → shell-x61499pn.js} +0 -0
- /package/dist/chunks/{permission-y44na4kk.js → shell-y44na4kk.js} +0 -0
- /package/dist/chunks/{permission-y8cydn3q.js → shell-y8cydn3q.js} +0 -0
- /package/dist/chunks/{permission-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{permission-z9919s4g.js → shell-z9919s4g.js} +0 -0
- /package/dist/chunks/{permission-zbjnn3ac.js → shell-zbjnn3ac.js} +0 -0
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service79,
|
|
6
|
+
node84
|
|
7
|
+
} from "./shell-hjjb040h.js";
|
|
8
8
|
import {
|
|
9
9
|
Event19,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service77,
|
|
11
|
+
node82
|
|
12
|
+
} from "./shell-zsf5n11x.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service71,
|
|
15
|
+
node75
|
|
16
|
+
} from "./shell-d6se384q.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service65,
|
|
19
|
+
node68
|
|
20
|
+
} from "./shell-f086nceb.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID18,
|
|
23
|
+
Service78,
|
|
24
|
+
node83
|
|
25
|
+
} from "./shell-y7w5kr51.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./shell-kg06axw8.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID16,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service76,
|
|
34
|
+
node81
|
|
35
|
+
} from "./shell-xb5d6gcm.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./shell-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
44
|
NotFoundError: () => NotFoundError3,
|
|
45
|
-
Options: () =>
|
|
45
|
+
Options: () => Options3,
|
|
46
46
|
Prompt: () => Prompt2,
|
|
47
47
|
PromptArgument: () => PromptArgument2,
|
|
48
48
|
PromptMessage: () => PromptMessage2,
|
|
@@ -56,15 +56,15 @@ __export(exports_mcp4, {
|
|
|
56
56
|
ServerInfo: () => ServerInfo2,
|
|
57
57
|
ServerInstructions: () => ServerInstructions2,
|
|
58
58
|
ServerName: () => ServerName2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service27,
|
|
60
60
|
Status: () => Status2,
|
|
61
61
|
Tool: () => Tool3,
|
|
62
62
|
ToolCallError: () => ToolCallError2,
|
|
63
63
|
ToolResult: () => ToolResult2,
|
|
64
64
|
ToolResultContent: () => ToolResultContent2,
|
|
65
|
-
configured: () =>
|
|
66
|
-
layer: () =>
|
|
67
|
-
node: () =>
|
|
65
|
+
configured: () => configured3,
|
|
66
|
+
layer: () => layer11,
|
|
67
|
+
node: () => node31
|
|
68
68
|
});
|
|
69
69
|
import { Mcp } from "@opencode-ai/schema/mcp";
|
|
70
70
|
import { McpEvent } from "@opencode-ai/schema/mcp-event";
|
|
@@ -81,7 +81,7 @@ var Status2 = Mcp.Status;
|
|
|
81
81
|
class ServerInfo2 extends Schema.Class("MCP.ServerInfo")({
|
|
82
82
|
name: ServerName2,
|
|
83
83
|
status: Status2,
|
|
84
|
-
integrationID:
|
|
84
|
+
integrationID: ID16.pipe(Schema.optional)
|
|
85
85
|
}) {
|
|
86
86
|
}
|
|
87
87
|
|
|
@@ -165,21 +165,21 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
|
|
|
165
165
|
var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
166
166
|
var cloneConfig = (config) => structuredClone(config);
|
|
167
167
|
|
|
168
|
-
class
|
|
168
|
+
class Service27 extends Context.Service()("@opencode/MCP") {
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var Options3 = Schema.Struct({
|
|
171
171
|
clientInfo: Schema.optional(Schema.Struct({
|
|
172
172
|
name: Schema.String,
|
|
173
173
|
version: Schema.String
|
|
174
174
|
}))
|
|
175
175
|
});
|
|
176
|
-
var
|
|
177
|
-
const location = yield*
|
|
178
|
-
const environment = yield*
|
|
179
|
-
const bus = yield*
|
|
180
|
-
const forms = yield*
|
|
181
|
-
const integration = yield*
|
|
182
|
-
const credentials = yield*
|
|
176
|
+
var layer11 = (options) => Layer.effect(Service27, Effect.gen(function* () {
|
|
177
|
+
const location = yield* Service71;
|
|
178
|
+
const environment = yield* Service65;
|
|
179
|
+
const bus = yield* Service79;
|
|
180
|
+
const forms = yield* Service78;
|
|
181
|
+
const integration = yield* Service76;
|
|
182
|
+
const credentials = yield* Service77;
|
|
183
183
|
const root = yield* Effect.scope;
|
|
184
184
|
const fork = yield* FiberSet.makeRuntime();
|
|
185
185
|
const entries = new Map;
|
|
@@ -191,7 +191,7 @@ var layer12 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
191
191
|
return;
|
|
192
192
|
const remote = entry.config;
|
|
193
193
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
194
|
-
const integrationID =
|
|
194
|
+
const integrationID = ID16.make(suffix);
|
|
195
195
|
entry.integrationID = integrationID;
|
|
196
196
|
owned.add(integrationID);
|
|
197
197
|
const methodID = MethodID2.make(suffix);
|
|
@@ -225,31 +225,54 @@ var layer12 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
225
225
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
226
226
|
const remote = entry.config;
|
|
227
227
|
const oauth = remote.oauth || undefined;
|
|
228
|
+
const run = Effect.runPromiseWith(yield* Effect.context());
|
|
228
229
|
const base = {
|
|
229
230
|
redirectUrl: oauth?.redirect_uri ?? "http://127.0.0.1/callback",
|
|
230
231
|
scope: oauth?.scope,
|
|
231
232
|
client: oauth?.client_id ? { id: oauth.client_id, secret: oauth.client_secret } : undefined,
|
|
232
|
-
onRedirect: () =>
|
|
233
|
+
onRedirect: () => run(Effect.logInfo("mcp oauth authorization required"))
|
|
233
234
|
};
|
|
234
235
|
const found = (yield* credentials.list(entry.integrationID)).at(-1);
|
|
235
|
-
if (!found || found.value.type !== "oauth")
|
|
236
|
+
if (!found || found.value.type !== "oauth") {
|
|
237
|
+
yield* Effect.logInfo("mcp oauth credential unavailable", {
|
|
238
|
+
integrationID: entry.integrationID,
|
|
239
|
+
reason: found ? "not_oauth" : "missing"
|
|
240
|
+
});
|
|
236
241
|
return McpOAuth.provider({ ...base, store: McpOAuth.memoryStore() });
|
|
242
|
+
}
|
|
237
243
|
const credentialID = found.id;
|
|
238
244
|
const methodID = found.value.methodID;
|
|
245
|
+
const fields = { credentialID, integrationID: entry.integrationID };
|
|
246
|
+
yield* Effect.logInfo("mcp oauth credential loaded", {
|
|
247
|
+
...fields,
|
|
248
|
+
hasRefreshToken: Boolean(found.value.refresh),
|
|
249
|
+
hasClientInformation: Boolean(McpOAuth.clientFromCredential(found.value)),
|
|
250
|
+
expiresAt: found.value.expires,
|
|
251
|
+
expired: found.value.expires !== 0 && found.value.expires <= Date.now()
|
|
252
|
+
});
|
|
239
253
|
let presented = found.value.refresh;
|
|
240
254
|
const readOAuthCredential = async () => {
|
|
241
|
-
const stored = await
|
|
255
|
+
const stored = await run(credentials.get(credentialID));
|
|
242
256
|
return stored?.value.type === "oauth" ? stored.value : undefined;
|
|
243
257
|
};
|
|
244
258
|
return McpOAuth.provider({
|
|
245
259
|
...base,
|
|
246
260
|
invalidate: async (scope) => {
|
|
247
|
-
if (scope === "verifier" || scope === "discovery")
|
|
261
|
+
if (scope === "verifier" || scope === "discovery") {
|
|
262
|
+
await run(Effect.logDebug("mcp oauth invalidation skipped", { ...fields, scope, reason: "not_credentials" }));
|
|
248
263
|
return;
|
|
264
|
+
}
|
|
249
265
|
const oauth = await readOAuthCredential();
|
|
250
|
-
if (!oauth || oauth.refresh !== presented)
|
|
266
|
+
if (!oauth || oauth.refresh !== presented) {
|
|
267
|
+
await run(Effect.logInfo("mcp oauth invalidation skipped", {
|
|
268
|
+
...fields,
|
|
269
|
+
scope,
|
|
270
|
+
reason: oauth ? "token_rotated" : "credential_missing"
|
|
271
|
+
}));
|
|
251
272
|
return;
|
|
252
|
-
|
|
273
|
+
}
|
|
274
|
+
await run(Effect.logWarning("mcp oauth credential invalidation requested", { ...fields, scope }));
|
|
275
|
+
await run(credentials.remove(credentialID));
|
|
253
276
|
},
|
|
254
277
|
store: {
|
|
255
278
|
tokens: async () => {
|
|
@@ -268,7 +291,14 @@ var layer12 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
268
291
|
client: previous ? McpOAuth.clientFromCredential(previous) : undefined
|
|
269
292
|
});
|
|
270
293
|
presented = value.refresh;
|
|
271
|
-
await Effect.
|
|
294
|
+
await run(Effect.logInfo("mcp oauth tokens received", {
|
|
295
|
+
...fields,
|
|
296
|
+
credentialPresent: Boolean(previous),
|
|
297
|
+
refreshRotated: Boolean(previous && previous.refresh !== value.refresh),
|
|
298
|
+
hasRefreshToken: Boolean(value.refresh),
|
|
299
|
+
expiresAt: value.expires
|
|
300
|
+
}));
|
|
301
|
+
await run(credentials.update(credentialID, { value }));
|
|
272
302
|
},
|
|
273
303
|
clientInformation: async () => {
|
|
274
304
|
const oauth = await readOAuthCredential();
|
|
@@ -285,7 +315,7 @@ var layer12 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
285
315
|
const elicitation = {
|
|
286
316
|
create: (input) => Effect.gen(function* () {
|
|
287
317
|
if (input.params.mode === "url") {
|
|
288
|
-
const formID =
|
|
318
|
+
const formID = ID18.create();
|
|
289
319
|
const key = input.server + "\x00" + input.params.elicitationId;
|
|
290
320
|
urlElicitations.set(key, formID);
|
|
291
321
|
return yield* forms.ask({
|
|
@@ -403,7 +433,7 @@ var layer12 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
403
433
|
entry.scope = scope;
|
|
404
434
|
const authProvider = yield* connectProvider(entry);
|
|
405
435
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
406
|
-
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
436
|
+
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service65, environment), Scope.provide(scope), Effect.exit);
|
|
407
437
|
if (Exit.isSuccess(result)) {
|
|
408
438
|
entry.client = result.value.connection;
|
|
409
439
|
entry.tools = result.value.tools.map((def) => toTool(name, entry, def));
|
|
@@ -423,7 +453,7 @@ var layer12 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
423
453
|
entry.status = error instanceof McpClient.NeedsAuthError ? { status: "needs_auth" } : { status: "failed", error: error instanceof Error ? error.message : String(error) };
|
|
424
454
|
yield* Effect.logWarning("mcp connect failed", { server: name, status: entry.status });
|
|
425
455
|
yield* bus.publish(McpEvent.StatusChanged, { server: name });
|
|
426
|
-
}).pipe(Effect.ensuring(entry.startup.open));
|
|
456
|
+
}).pipe(Effect.ensuring(entry.startup.open), Effect.annotateLogs({ server: name, directory: location.directory, connectionID: crypto.randomUUID() }));
|
|
427
457
|
const stopServer = Effect.fnUntraced(function* (name, entry) {
|
|
428
458
|
const scope = entry.scope;
|
|
429
459
|
if (!scope)
|
|
@@ -557,7 +587,7 @@ var layer12 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
557
587
|
concurrency: "unbounded",
|
|
558
588
|
discard: true
|
|
559
589
|
}));
|
|
560
|
-
return
|
|
590
|
+
return Service27.of({
|
|
561
591
|
transform: state.transform,
|
|
562
592
|
reload: state.reload,
|
|
563
593
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -677,14 +707,14 @@ var layer12 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
677
707
|
})
|
|
678
708
|
});
|
|
679
709
|
}));
|
|
680
|
-
function
|
|
710
|
+
function configured3(options) {
|
|
681
711
|
return makeLocationNode({
|
|
682
|
-
service:
|
|
683
|
-
layer:
|
|
684
|
-
deps: [
|
|
712
|
+
service: Service27,
|
|
713
|
+
layer: layer11(options),
|
|
714
|
+
deps: [node75, node68, node84, node83, node81, node82]
|
|
685
715
|
});
|
|
686
716
|
}
|
|
687
|
-
var
|
|
717
|
+
var node31 = configured3();
|
|
688
718
|
function toElicitationField(key, property, required) {
|
|
689
719
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
690
720
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -735,4 +765,4 @@ function toElicitationField(key, property, required) {
|
|
|
735
765
|
}
|
|
736
766
|
}
|
|
737
767
|
|
|
738
|
-
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2,
|
|
768
|
+
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2, Service27, Options3, layer11, configured3, node31, exports_mcp4 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./shell-p8qxwesx.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./shell-kz8th6jy.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service63
|
|
3
|
+
} from "./shell-2yk8myve.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service12
|
|
6
|
+
} from "./shell-1n116cmy.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./shell-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./shell-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
15
|
var exports_location_watcher = {};
|
|
16
16
|
__export(exports_location_watcher, {
|
|
17
17
|
ConfigLocationWatcherPlugin: () => exports_location_watcher,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin14
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin14 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const policy = yield*
|
|
25
|
+
const config = yield* Service63;
|
|
26
|
+
const policy = yield* Service12;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -35,4 +35,4 @@ var Plugin39 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin14, exports_location_watcher };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./shell-p8qxwesx.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service71,
|
|
7
|
+
node75
|
|
8
|
+
} from "./shell-d6se384q.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service15,
|
|
11
|
+
node18
|
|
12
|
+
} from "./shell-v9mxw17g.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./shell-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/filesystem.ts
|
|
18
18
|
var exports_filesystem = {};
|
|
@@ -21,7 +21,7 @@ __export(exports_filesystem, {
|
|
|
21
21
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
22
22
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
23
23
|
Entry: () => Entry2,
|
|
24
|
-
Event: () =>
|
|
24
|
+
Event: () => Event3,
|
|
25
25
|
FileSystem: () => exports_filesystem,
|
|
26
26
|
FindInput: () => FindInput2,
|
|
27
27
|
GlobInput: () => GlobInput2,
|
|
@@ -29,9 +29,9 @@ __export(exports_filesystem, {
|
|
|
29
29
|
ListInput: () => ListInput2,
|
|
30
30
|
Match: () => Match2,
|
|
31
31
|
ReadInput: () => ReadInput2,
|
|
32
|
-
Service: () =>
|
|
32
|
+
Service: () => Service14,
|
|
33
33
|
Submatch: () => Submatch2,
|
|
34
|
-
node: () =>
|
|
34
|
+
node: () => node17
|
|
35
35
|
});
|
|
36
36
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
37
37
|
import path from "path";
|
|
@@ -72,14 +72,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
72
72
|
limit: Schema.optionalKey(PositiveInt2)
|
|
73
73
|
}) {
|
|
74
74
|
}
|
|
75
|
-
var
|
|
75
|
+
var Event3 = FileSystem.Event;
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class Service14 extends Context.Service()("@opencode/FileSystem") {
|
|
78
78
|
}
|
|
79
|
-
var baseLayer = Layer.effect(
|
|
79
|
+
var baseLayer = Layer.effect(Service14, Effect.gen(function* () {
|
|
80
80
|
const fs = yield* FSUtil.Service;
|
|
81
|
-
const location = yield*
|
|
82
|
-
const search = yield*
|
|
81
|
+
const location = yield* Service71;
|
|
82
|
+
const search = yield* Service15;
|
|
83
83
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
84
84
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
85
85
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -90,7 +90,7 @@ var baseLayer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
90
90
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
91
91
|
return { absolute, real, directory: location.directory };
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service14.of({
|
|
94
94
|
find: search.find,
|
|
95
95
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
96
96
|
const target = yield* resolve(input.path);
|
|
@@ -122,10 +122,10 @@ var baseLayer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
122
122
|
})
|
|
123
123
|
});
|
|
124
124
|
}));
|
|
125
|
-
var
|
|
126
|
-
service:
|
|
125
|
+
var node17 = makeLocationNode({
|
|
126
|
+
service: Service14,
|
|
127
127
|
layer: baseLayer,
|
|
128
|
-
deps: [FSUtil.node,
|
|
128
|
+
deps: [FSUtil.node, node75, node18]
|
|
129
129
|
});
|
|
130
130
|
|
|
131
|
-
export { FindInput2, ReadInput2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2,
|
|
131
|
+
export { FindInput2, ReadInput2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event3, Service14, node17, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -3,34 +3,34 @@ import {
|
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-2a5m3afh.js";
|
|
7
7
|
import {
|
|
8
8
|
execDefaults2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./shell-z1k01bn4.js";
|
|
10
10
|
import {
|
|
11
11
|
makeLocalDriver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./shell-b6gygkdw.js";
|
|
13
13
|
import {
|
|
14
14
|
makeMemoryDriver2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./shell-aaet6srn.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service71,
|
|
18
|
+
node75
|
|
19
|
+
} from "./shell-d6se384q.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service66,
|
|
22
|
+
node69
|
|
23
|
+
} from "./shell-7r4ym1qc.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./shell-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/environment/environment.ts
|
|
29
29
|
var exports_environment2 = {};
|
|
30
30
|
__export(exports_environment2, {
|
|
31
31
|
EnvironmentService: () => exports_environment2,
|
|
32
|
-
Service: () =>
|
|
33
|
-
node: () =>
|
|
32
|
+
Service: () => Service65,
|
|
33
|
+
node: () => node68
|
|
34
34
|
});
|
|
35
35
|
import { CrossSpawnSpawner } from "@opencode-ai/util/cross-spawn-spawner";
|
|
36
36
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
@@ -43,13 +43,13 @@ __export(exports_environment3, {
|
|
|
43
43
|
Environment: () => exports_environment3,
|
|
44
44
|
Failed: () => Failed2,
|
|
45
45
|
NotFound: () => NotFound2,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service65,
|
|
47
47
|
WrongKind: () => WrongKind2,
|
|
48
48
|
execDefaults: () => execDefaults2,
|
|
49
49
|
makeFiles: () => makeFiles2,
|
|
50
50
|
makeLocalDriver: () => makeLocalDriver2,
|
|
51
51
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node68,
|
|
53
53
|
typeFollowing: () => typeFollowing2
|
|
54
54
|
});
|
|
55
55
|
var makeFiles2 = (driver) => ({
|
|
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
|
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
// src/environment/environment.ts
|
|
61
|
-
class
|
|
61
|
+
class Service65 extends Context.Service()("@opencode/Environment") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
63
|
+
var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
64
64
|
const spawner = yield* ChildProcessSpawner;
|
|
65
|
-
const location = yield*
|
|
66
|
-
const workspace = yield*
|
|
65
|
+
const location = yield* Service71;
|
|
66
|
+
const workspace = yield* Service66;
|
|
67
67
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
68
|
-
return
|
|
68
|
+
return Service65.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
69
69
|
}));
|
|
70
|
-
var
|
|
71
|
-
service:
|
|
70
|
+
var node68 = makeLocationNode({
|
|
71
|
+
service: Service65,
|
|
72
72
|
layer,
|
|
73
|
-
deps: [CrossSpawnSpawner.node,
|
|
73
|
+
deps: [CrossSpawnSpawner.node, node75, node69]
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Service65, node68, exports_environment2, makeFiles2, exports_environment3 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make15
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make15 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -89,4 +89,4 @@ var make16 = (options) => Effect.gen(function* () {
|
|
|
89
89
|
};
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
-
export {
|
|
92
|
+
export { make15, exports_run_coordinator };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./shell-hjjb040h.js";
|
|
5
5
|
import {
|
|
6
6
|
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./shell-2402vzrj.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./shell-p8qxwesx.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service45,
|
|
17
|
+
node48
|
|
18
|
+
} from "./shell-nsw1yxtn.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./shell-kg06axw8.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./shell-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event8,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info8,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
35
|
-
Source: () =>
|
|
36
|
-
node: () =>
|
|
34
|
+
Service: () => Service44,
|
|
35
|
+
Source: () => Source5,
|
|
36
|
+
node: () => node47
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode-ai/schema/reference";
|
|
41
41
|
import { Global } from "@opencode-ai/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event8 } from "@opencode-ai/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var Source5 = Reference.Source;
|
|
46
|
+
var Info8 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service44 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const bus = yield*
|
|
53
|
-
const cache = yield*
|
|
52
|
+
const bus = yield* Service79;
|
|
53
|
+
const cache = yield* Service45;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
63
|
+
return [Info8.make({ ...info, path: source.path })];
|
|
64
64
|
const repository = parse4(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info8.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service44.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node47 = makeLocationNode({
|
|
116
|
+
service: Service44,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node,
|
|
118
|
+
deps: [Global.node, node84, node48]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2,
|
|
121
|
+
export { LocalSource2, GitSource2, Source5, Info8, Service44, node47, exports_reference2, Event8 };
|