@opencode/core 0.0.0-dev-19673 → 0.0.0-dev-19676
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 +82 -82
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{form-48n7atp3.js → mime-02w4s5j2.js} +24 -24
- package/dist/chunks/{form-070qa63s.js → mime-03vjrbdx.js} +9 -9
- package/dist/chunks/{form-vvza37g4.js → mime-04tfxcdr.js} +10 -10
- package/dist/chunks/{form-mpn4hqsh.js → mime-0aa0h9xn.js} +5 -5
- package/dist/chunks/{form-eaj1djv9.js → mime-0gdmqesm.js} +8 -8
- package/dist/chunks/{form-q554ycqp.js → mime-0p4r5z7z.js} +3 -3
- package/dist/chunks/{form-0paq2nw3.js → mime-0paq2nw3.js} +1 -1
- package/dist/chunks/{form-0q0f95c6.js → mime-0q0f95c6.js} +1 -1
- package/dist/chunks/{form-qq0y10mb.js → mime-0szpgk4d.js} +31 -31
- package/dist/chunks/{form-q5xvhvda.js → mime-11qgt1va.js} +6 -6
- package/dist/chunks/{form-pp7qxtmx.js → mime-1765dzhp.js} +104 -76
- package/dist/chunks/{form-d8nc1xcx.js → mime-18e56dsp.js} +4 -4
- package/dist/chunks/{form-vncycja5.js → mime-1a6p2twq.js} +4 -4
- package/dist/chunks/{form-3w9wgdme.js → mime-1bx7pb99.js} +8 -8
- package/dist/chunks/{form-1dazxqgg.js → mime-1dazxqgg.js} +2 -2
- package/dist/chunks/{form-c5cawmgv.js → mime-1mc3rdpb.js} +8 -8
- package/dist/chunks/{form-9na2z02n.js → mime-1qzraqgc.js} +41 -41
- package/dist/chunks/{form-1c1svyyd.js → mime-1s8fjf9r.js} +8 -8
- package/dist/chunks/{form-6t298p2h.js → mime-1v6wmkfd.js} +12 -12
- package/dist/chunks/{form-2q2vv6fc.js → mime-1zpnajcw.js} +11 -11
- package/dist/chunks/{form-21r38tys.js → mime-21r38tys.js} +1 -1
- package/dist/chunks/{form-6c03qjnv.js → mime-21rnv1zr.js} +11 -11
- package/dist/chunks/{form-2402vzrj.js → mime-2402vzrj.js} +1 -1
- package/dist/chunks/{form-02w8qtn4.js → mime-2593zg0c.js} +24 -24
- package/dist/chunks/{form-z63w68vq.js → mime-29x78va6.js} +6 -6
- package/dist/chunks/{form-2a5m3afh.js → mime-2a5m3afh.js} +1 -1
- package/dist/chunks/{form-74ak9fgp.js → mime-2f2be1sz.js} +11 -11
- package/dist/chunks/{form-7dqw4kz8.js → mime-2k8khapm.js} +5 -5
- package/dist/chunks/{form-27s9zfaa.js → mime-2n5k2cty.js} +27 -27
- package/dist/chunks/{form-magykp64.js → mime-2pnhn36q.js} +21 -21
- package/dist/chunks/{form-2qp6y8xf.js → mime-2qp6y8xf.js} +2 -2
- package/dist/chunks/{form-crygsd6q.js → mime-2zjw9q23.js} +24 -24
- package/dist/chunks/{form-6gpcy8we.js → mime-31besbt1.js} +16 -16
- package/dist/chunks/{form-db4ykqcp.js → mime-35bpgycj.js} +15 -15
- package/dist/chunks/{form-87v6f6zb.js → mime-3aemhp6x.js} +25 -25
- package/dist/chunks/{form-3fc6dm20.js → mime-3fc6dm20.js} +1 -1
- package/dist/chunks/{form-3hepkmqq.js → mime-3hepkmqq.js} +1 -1
- package/dist/chunks/{form-p37cw4rj.js → mime-3hfr6h8q.js} +8 -8
- package/dist/chunks/{form-3smtnn6g.js → mime-3smtnn6g.js} +1 -1
- package/dist/chunks/{form-3tvqynh2.js → mime-3tvqynh2.js} +1 -1
- package/dist/chunks/{form-7rjabepb.js → mime-3wkg3shk.js} +26 -26
- package/dist/chunks/{form-07mvx74x.js → mime-4416c72h.js} +30 -30
- package/dist/chunks/{form-xxqeaexg.js → mime-49g88a08.js} +4 -4
- package/dist/chunks/{form-5nthzge1.js → mime-4b3a3k2s.js} +22 -22
- package/dist/chunks/{form-gcdm2p5s.js → mime-4bfa0ewn.js} +59 -59
- package/dist/chunks/{form-7pvf4f7x.js → mime-4d0m0hwd.js} +43 -43
- package/dist/chunks/{form-2a3tj3av.js → mime-4jpncxq3.js} +9 -9
- package/dist/chunks/mime-4v7qdvcn.js +18 -0
- package/dist/chunks/{form-41kmqf54.js → mime-4vy2cx8a.js} +35 -35
- package/dist/chunks/{form-ef14z6bm.js → mime-50px0bpn.js} +22 -22
- package/dist/chunks/{form-56gdpj1q.js → mime-56gdpj1q.js} +2 -2
- package/dist/chunks/{form-bfkydnd4.js → mime-57ez7d0k.js} +9 -9
- package/dist/chunks/{form-pxs7xdf8.js → mime-59zrdmmg.js} +15 -15
- package/dist/chunks/{form-cz5b5dad.js → mime-5b28hma2.js} +12 -12
- package/dist/chunks/{form-cpneeje0.js → mime-5d607bsg.js} +9 -9
- package/dist/chunks/{form-5daktx2q.js → mime-5daktx2q.js} +1 -1
- package/dist/chunks/{form-4rcyc4ba.js → mime-5mc1avxv.js} +11 -11
- package/dist/chunks/{form-va1crcxs.js → mime-5qmhr9cv.js} +22 -22
- package/dist/chunks/{form-5t3nmthw.js → mime-5t3nmthw.js} +2 -2
- package/dist/chunks/{form-5x2mg89e.js → mime-6217hwpf.js} +18 -18
- package/dist/chunks/{form-kjxk56xd.js → mime-658y826x.js} +17 -17
- package/dist/chunks/{form-1xn9w7tk.js → mime-65ay1smp.js} +20 -20
- package/dist/chunks/{form-669tq793.js → mime-669tq793.js} +1 -1
- package/dist/chunks/{form-dt87bqqw.js → mime-6jhr0q17.js} +6 -6
- package/dist/chunks/{form-6msgmcgs.js → mime-6msgmcgs.js} +1 -1
- package/dist/chunks/{form-rx9gwjsv.js → mime-6rhtevmb.js} +10 -10
- package/dist/chunks/{form-n9zwszbz.js → mime-6s8mww07.js} +11 -11
- package/dist/chunks/{form-mdzm3s1n.js → mime-6vjs791k.js} +23 -23
- package/dist/chunks/{form-wg2twdrw.js → mime-78rkm6ft.js} +10 -10
- package/dist/chunks/{form-7bmhse3q.js → mime-7bmhse3q.js} +1 -1
- package/dist/chunks/{form-r19xfkay.js → mime-7hx8j49b.js} +13 -13
- package/dist/chunks/{form-kfyzk7df.js → mime-7jws6rem.js} +299 -299
- package/dist/chunks/{form-vdsxw2st.js → mime-7s5w9y6x.js} +37 -37
- package/dist/chunks/{form-zs8gzsxx.js → mime-7tbaktnp.js} +15 -15
- package/dist/chunks/{form-9gwp62br.js → mime-859cc6bp.js} +37 -37
- package/dist/chunks/{form-w49382pb.js → mime-89bb6baa.js} +7 -7
- package/dist/chunks/{form-tcezcvh9.js → mime-89znhe33.js} +4 -4
- package/dist/chunks/{form-8d7r5vzw.js → mime-8d7r5vzw.js} +1 -1
- package/dist/chunks/{form-0g17b04h.js → mime-8htb71ed.js} +12 -12
- package/dist/chunks/{form-rdeha5t8.js → mime-8m9832bt.js} +27 -27
- package/dist/chunks/{form-8p4f9s12.js → mime-8p4f9s12.js} +2 -2
- package/dist/chunks/{form-r9mregkx.js → mime-8phwd4yj.js} +29 -25
- package/dist/chunks/{form-v6bgmm6z.js → mime-92atbx3b.js} +8 -8
- package/dist/chunks/{form-wre2kbs2.js → mime-9cg1cz13.js} +14 -14
- package/dist/chunks/{form-r1613th1.js → mime-9jq91ht4.js} +27 -27
- package/dist/chunks/{form-kex729ae.js → mime-9r7qax81.js} +13 -13
- package/dist/chunks/{form-3qesnv1p.js → mime-9tpvgkm4.js} +9 -9
- package/dist/chunks/{form-w7fzs9qk.js → mime-9w5xwdkh.js} +15 -15
- package/dist/chunks/{form-490gc394.js → mime-9wp7cw93.js} +21 -21
- package/dist/chunks/{form-3c9vtvry.js → mime-9xx6hc8d.js} +26 -26
- package/dist/chunks/{form-a1bz86dw.js → mime-a1bz86dw.js} +3 -3
- package/dist/chunks/{form-aaet6srn.js → mime-aaet6srn.js} +2 -2
- package/dist/chunks/{form-yt0fqk68.js → mime-af04s6ss.js} +5 -5
- package/dist/chunks/{form-8ytytfcy.js → mime-aya75d5a.js} +9 -9
- package/dist/chunks/{form-1ddyqjqr.js → mime-azt3m59k.js} +14 -14
- package/dist/chunks/{form-b04b8x2j.js → mime-b1vqta1q.js} +8 -8
- package/dist/chunks/{form-njkvqt0e.js → mime-b4ahrz2h.js} +20 -20
- package/dist/chunks/{form-b6gygkdw.js → mime-b6gygkdw.js} +2 -2
- package/dist/chunks/{form-0hs93vrc.js → mime-b9spxxcf.js} +15 -15
- package/dist/chunks/{form-dpxmc42p.js → mime-bbe2nkwj.js} +18 -18
- package/dist/chunks/{form-3az6px2n.js → mime-bg2g1xyx.js} +16 -16
- package/dist/chunks/{form-e7nn28ya.js → mime-bk4n5516.js} +12 -12
- package/dist/chunks/{form-f7hcv0t5.js → mime-bnf67f0t.js} +6 -6
- package/dist/chunks/{form-52t4x136.js → mime-c6s0q70p.js} +2 -2
- package/dist/chunks/{form-1ehkaych.js → mime-c82sf4kt.js} +41 -41
- package/dist/chunks/{form-cfpkc3c9.js → mime-cfpkc3c9.js} +2 -2
- package/dist/chunks/{form-nqnvpjgb.js → mime-cfzsy5dn.js} +10 -10
- package/dist/chunks/{form-6qzar0j9.js → mime-cgxdsxqf.js} +7 -7
- package/dist/chunks/{form-r3q6pmcz.js → mime-cjwramev.js} +6 -6
- package/dist/chunks/{form-nwxvpf5q.js → mime-cpqxnny0.js} +15 -15
- package/dist/chunks/{form-26k5bknw.js → mime-csf2jhsg.js} +4 -4
- package/dist/chunks/{form-4rc3z4mm.js → mime-cswecm5v.js} +24 -24
- package/dist/chunks/{form-p0b4ytnr.js → mime-d1b248br.js} +6 -6
- package/dist/chunks/{form-3c1tgrea.js → mime-d1mtykxg.js} +6 -6
- package/dist/chunks/{form-yxryw68f.js → mime-d338qq6w.js} +55 -55
- package/dist/chunks/{form-1py910mb.js → mime-d3xmts5k.js} +30 -30
- package/dist/chunks/{form-b8f97kt2.js → mime-d5zrkzmf.js} +5 -5
- package/dist/chunks/{form-6jeq82a3.js → mime-d89gs2xh.js} +3 -3
- package/dist/chunks/{form-y08pppv8.js → mime-d9age9tx.js} +16 -16
- package/dist/chunks/{form-j8zm7c5e.js → mime-dab9gdbe.js} +4 -4
- package/dist/chunks/{form-ekq8a7pk.js → mime-db3cn5xg.js} +5 -5
- package/dist/chunks/{form-06x8he3q.js → mime-ddt2bs9e.js} +4 -4
- package/dist/chunks/{form-28026pp3.js → mime-de09dxhj.js} +3 -3
- package/dist/chunks/{form-xg6b0g27.js → mime-dfg0bpnz.js} +11 -11
- package/dist/chunks/{form-y71avatq.js → mime-dpkg50ah.js} +4 -4
- package/dist/chunks/{form-xfkkasph.js → mime-drwq78ky.js} +4 -4
- package/dist/chunks/{form-sg16g4sp.js → mime-dtqm20v3.js} +6 -6
- package/dist/chunks/{form-1n008kkv.js → mime-dv2t2cas.js} +25 -25
- package/dist/chunks/{form-jw1rkjx5.js → mime-dv7jba04.js} +3 -3
- package/dist/chunks/{form-7sd8y4b9.js → mime-dys6fa9v.js} +23 -23
- package/dist/chunks/{form-1chv122m.js → mime-dyte7aq0.js} +38 -38
- package/dist/chunks/{form-mphgtbj1.js → mime-dzw83ac5.js} +9 -9
- package/dist/chunks/{form-5qd3pb7m.js → mime-e3qxr5gk.js} +2 -2
- package/dist/chunks/{form-b2da4m4w.js → mime-e5b7myd9.js} +4 -4
- package/dist/chunks/{form-2y34zzjz.js → mime-e6d6pdps.js} +4 -4
- package/dist/chunks/{form-5cecdezf.js → mime-e6yqvfab.js} +17 -17
- package/dist/chunks/{form-7s2t5wav.js → mime-ebd70zp7.js} +3 -3
- package/dist/chunks/{form-ef5x83kb.js → mime-ef5x83kb.js} +1 -1
- package/dist/chunks/{form-6ywb64n6.js → mime-et3m3hv9.js} +11 -11
- package/dist/chunks/{form-etq0c3wd.js → mime-etq0c3wd.js} +1 -1
- package/dist/chunks/{form-9x5vnv11.js → mime-ewpsdr79.js} +17 -17
- package/dist/chunks/{form-kjz94mhw.js → mime-ex7fm8gg.js} +4 -4
- package/dist/chunks/{form-r8xr0va3.js → mime-f2n192rq.js} +4 -4
- package/dist/chunks/{form-f828m53h.js → mime-f828m53h.js} +2 -2
- package/dist/chunks/{form-s4e34zx0.js → mime-f8vcdpta.js} +27 -27
- package/dist/chunks/{form-29sseqcj.js → mime-fejzv7cs.js} +19 -19
- package/dist/chunks/{form-584rndta.js → mime-fka8s72p.js} +21 -21
- package/dist/chunks/{form-fxbjtjnd.js → mime-fxbjtjnd.js} +1 -1
- package/dist/chunks/{form-pccga3by.js → mime-g70g2r7n.js} +9 -9
- package/dist/chunks/{form-gd4qta3r.js → mime-gd4qta3r.js} +1 -1
- package/dist/chunks/{form-bznknjz1.js → mime-ggj56nfp.js} +23 -23
- package/dist/chunks/{form-qfx5mycz.js → mime-gnrjfmn5.js} +10 -10
- package/dist/chunks/{form-9es5d59e.js → mime-gq9ay3kp.js} +17 -17
- package/dist/chunks/{form-gv6a8nnw.js → mime-gv6a8nnw.js} +2 -2
- package/dist/chunks/{form-px1chy1r.js → mime-gyv66jpz.js} +5 -5
- package/dist/chunks/{form-h03wrkyp.js → mime-h03wrkyp.js} +2 -2
- package/dist/chunks/{form-4rxdkz28.js → mime-h1957gbp.js} +38 -38
- package/dist/chunks/{form-b2qe6s06.js → mime-h4c27ev9.js} +1 -1
- package/dist/chunks/{form-nzyhnfxz.js → mime-h6r3nrb9.js} +4 -4
- package/dist/chunks/{form-h6vf3j39.js → mime-h6vf3j39.js} +1 -1
- package/dist/chunks/{form-w7gxyz39.js → mime-hag8cqx7.js} +19 -19
- package/dist/chunks/{form-0g36tn83.js → mime-hefg7mzt.js} +25 -25
- package/dist/chunks/{form-cvmce7ec.js → mime-hnbtvde1.js} +18 -18
- package/dist/chunks/{form-xk747vep.js → mime-j3s2z371.js} +9 -9
- package/dist/chunks/{form-j56e64zr.js → mime-j56e64zr.js} +1 -1
- package/dist/chunks/{form-pzc50za5.js → mime-jenzj19r.js} +5 -5
- package/dist/chunks/{form-b27vhd2z.js → mime-jfqtm2ew.js} +4 -4
- package/dist/chunks/{form-4ey6h455.js → mime-jm4d1k5k.js} +21 -21
- package/dist/chunks/{form-jppvw2tx.js → mime-k3gnzxs0.js} +5 -5
- package/dist/chunks/{form-p605sn5x.js → mime-k7p6gza5.js} +25 -25
- package/dist/chunks/{form-7r2knygt.js → mime-kb5bv2n4.js} +31 -31
- package/dist/chunks/{form-njhqdk9p.js → mime-kdq8v965.js} +9 -9
- package/dist/chunks/{form-vtry8cvx.js → mime-khfmzn3h.js} +9 -9
- package/dist/chunks/{form-mckgp5zd.js → mime-khwtb84z.js} +5 -5
- package/dist/chunks/{form-44ke2mar.js → mime-knb7evpn.js} +2 -2
- package/dist/chunks/{form-7xq5hsgn.js → mime-ky8k1321.js} +10 -10
- package/dist/chunks/{form-m9w0rfyh.js → mime-m9w0rfyh.js} +1 -1
- package/dist/chunks/{form-myebtmet.js → mime-mbhmg47f.js} +17 -17
- package/dist/chunks/{form-8pp4fzpy.js → mime-me1tt2vw.js} +10 -10
- package/dist/chunks/mime-mggzc1am.js +26 -0
- package/dist/chunks/{form-6kcmw7z7.js → mime-mjhwwr1h.js} +10 -10
- package/dist/chunks/{form-xa5rtzqw.js → mime-mkf4aqmw.js} +20 -20
- package/dist/chunks/{form-432ewbjd.js → mime-mkhs8n3r.js} +6 -6
- package/dist/chunks/{form-smn8w5fw.js → mime-mqb6w0rk.js} +4 -4
- package/dist/chunks/{form-j028xdjb.js → mime-mvfsc1pv.js} +3 -3
- package/dist/chunks/{form-0sst3ssg.js → mime-na6wbzjd.js} +86 -86
- package/dist/chunks/{form-5sbeve3p.js → mime-nagyd8v8.js} +29 -29
- package/dist/chunks/{form-nm29pd5d.js → mime-nknd4ny9.js} +7 -7
- package/dist/chunks/{form-0msxzen6.js → mime-nszcs87g.js} +15 -15
- package/dist/chunks/{form-d7702bf7.js → mime-nvxqht09.js} +3 -3
- package/dist/chunks/{form-f6hmevzm.js → mime-ny4f3s0v.js} +3 -3
- package/dist/chunks/{form-r2jew814.js → mime-p3p972wa.js} +5 -5
- package/dist/chunks/{form-837hypdd.js → mime-p8vshhkt.js} +9 -9
- package/dist/chunks/{form-tg6fsj70.js → mime-p8z9n6pf.js} +5 -5
- package/dist/chunks/{form-d94k38r4.js → mime-pbpjca3p.js} +9 -9
- package/dist/chunks/{form-pjvnvgmy.js → mime-pjvnvgmy.js} +1 -1
- package/dist/chunks/{form-0c8rzwj9.js → mime-pk5h2d3g.js} +4 -4
- package/dist/chunks/{form-pknna89w.js → mime-pknna89w.js} +1 -1
- package/dist/chunks/{form-njz9ejr1.js → mime-pky3fvqk.js} +29 -29
- package/dist/chunks/{form-h063bc46.js → mime-pn533w1y.js} +87 -87
- package/dist/chunks/{form-dvg8xh0j.js → mime-px5d9yap.js} +8 -8
- package/dist/chunks/{form-wn153y2n.js → mime-pzbdg5ae.js} +4 -4
- package/dist/chunks/{form-5keaa817.js → mime-q5ptgr8r.js} +11 -11
- package/dist/chunks/{form-ahgmes2r.js → mime-qqevf9na.js} +24 -24
- package/dist/chunks/{form-qsdy395h.js → mime-qsdy395h.js} +1 -1
- package/dist/chunks/{form-s2m3rc45.js → mime-qst8j85x.js} +18 -18
- package/dist/chunks/{form-ech5h453.js → mime-qvwwf4fp.js} +22 -22
- package/dist/chunks/{form-rdw6cm16.js → mime-rdw6cm16.js} +1 -1
- package/dist/chunks/{form-barsakm8.js → mime-rqd9fwpe.js} +1 -1
- package/dist/chunks/{form-5zagxq5m.js → mime-rqv9ygtn.js} +19 -19
- package/dist/chunks/{form-fy873rr3.js → mime-rvws15xt.js} +15 -15
- package/dist/chunks/{form-qcrknf4r.js → mime-rw2tks3h.js} +23 -23
- package/dist/chunks/{form-yrznvahk.js → mime-s4enseaf.js} +2 -2
- package/dist/chunks/{form-7m03zbcz.js → mime-s5a290ta.js} +13 -13
- package/dist/chunks/{form-d55k9g75.js → mime-s6wmy0wz.js} +6 -6
- package/dist/chunks/{form-rnn39vbf.js → mime-sarbwdm8.js} +11 -11
- package/dist/chunks/{form-nfnqtnrv.js → mime-sat34sqy.js} +16 -16
- package/dist/chunks/{form-mahn52f6.js → mime-stxr33d1.js} +10 -10
- package/dist/chunks/{form-yw2erdgw.js → mime-t8pjkv49.js} +43 -42
- package/dist/chunks/{form-tazgh4e4.js → mime-tazgh4e4.js} +1 -1
- package/dist/chunks/{form-tdstcens.js → mime-tdstcens.js} +1 -1
- package/dist/chunks/{form-fpebg25n.js → mime-tphheadp.js} +10 -10
- package/dist/chunks/{form-w227x3vc.js → mime-tprcptpe.js} +38 -38
- package/dist/chunks/{form-3zkkx5kj.js → mime-tqkrwgse.js} +2 -2
- package/dist/chunks/{form-b97cbvw3.js → mime-ts2x07a1.js} +1 -1
- package/dist/chunks/{form-3m0hf24a.js → mime-tt83xs7d.js} +22 -22
- package/dist/chunks/{form-2rm69wzy.js → mime-ttvrg1dv.js} +33 -33
- package/dist/chunks/{form-q64m8st2.js → mime-tvjtxmeb.js} +16 -16
- package/dist/chunks/{form-tvtrv512.js → mime-tvtrv512.js} +1 -1
- package/dist/chunks/mime-twjzhaa3.js +247 -0
- package/dist/chunks/{form-ywk6qw3f.js → mime-v5anqx5b.js} +9 -9
- package/dist/chunks/{form-cqfg3mf7.js → mime-v9shbp9h.js} +32 -32
- package/dist/chunks/{form-52njpcvg.js → mime-veh1f6j0.js} +7 -7
- package/dist/chunks/{form-veqvce7d.js → mime-veqvce7d.js} +1 -1
- package/dist/chunks/{form-bha4atvq.js → mime-vkxpz7g2.js} +4 -4
- package/dist/chunks/{form-cmyv28vq.js → mime-vme96mrp.js} +15 -15
- package/dist/chunks/{form-vecw0n3r.js → mime-vv2e8ggb.js} +26 -26
- package/dist/chunks/{form-q63062h2.js → mime-vwpcvpsn.js} +32 -32
- package/dist/chunks/{form-vww7ttk4.js → mime-vx1605wv.js} +5 -5
- package/dist/chunks/{form-vzcthcp8.js → mime-vzcthcp8.js} +1 -1
- package/dist/chunks/{form-7n7mxp8t.js → mime-w22xa3ag.js} +17 -17
- package/dist/chunks/{form-me96najc.js → mime-w3byk4vz.js} +180 -180
- package/dist/chunks/{form-w3wsvvr9.js → mime-w3wsvvr9.js} +1 -1
- package/dist/chunks/{form-zh59mys5.js → mime-w93avjv0.js} +8 -8
- package/dist/chunks/{form-nvztqs8h.js → mime-wa5xcfdj.js} +44 -44
- package/dist/chunks/{form-ctzssw83.js → mime-was7srj9.js} +8 -8
- package/dist/chunks/{form-jv01nqvq.js → mime-wbkyxrgf.js} +5 -5
- package/dist/chunks/{form-wd87259q.js → mime-wd87259q.js} +1 -1
- package/dist/chunks/{form-5nae8tex.js → mime-wgcccx00.js} +46 -46
- package/dist/chunks/{form-zmf4yxek.js → mime-wpdxnz6z.js} +11 -11
- package/dist/chunks/{form-6d4pkxf4.js → mime-wryja361.js} +19 -19
- package/dist/chunks/{form-x1ezjp6w.js → mime-x1ezjp6w.js} +1 -1
- package/dist/chunks/{form-0jf398hq.js → mime-x1q5t1cj.js} +17 -17
- package/dist/chunks/{form-58d8ceg3.js → mime-x233q2fk.js} +49 -49
- package/dist/chunks/{form-nt0cntaq.js → mime-x2q6da39.js} +4 -4
- package/dist/chunks/{form-1c6v2m1h.js → mime-x3ws3syc.js} +47 -47
- package/dist/chunks/{form-6cfbbzhv.js → mime-xf04dma3.js} +32 -32
- package/dist/chunks/{form-dgsn220j.js → mime-xgtksw21.js} +4 -4
- package/dist/chunks/{form-4yxk42sw.js → mime-xhj2ag2n.js} +20 -20
- package/dist/chunks/{form-gb1jwk5m.js → mime-xj9vawve.js} +30 -30
- package/dist/chunks/{form-bqz7g32x.js → mime-xvw106k3.js} +15 -15
- package/dist/chunks/{form-y1fvbwt7.js → mime-y1fvbwt7.js} +1 -1
- package/dist/chunks/{form-166kng33.js → mime-y2yt4szk.js} +8 -8
- package/dist/chunks/{form-fp5nfsfv.js → mime-yn99wfgb.js} +20 -20
- package/dist/chunks/{form-hc71r317.js → mime-yp7kb132.js} +8 -8
- package/dist/chunks/{form-vd0wz1cw.js → mime-yqz1tghx.js} +11 -11
- package/dist/chunks/{form-5zrhx2a4.js → mime-yr3ynvqg.js} +54 -54
- package/dist/chunks/{form-yrhqyw5v.js → mime-yrhqyw5v.js} +1 -1
- package/dist/chunks/{form-h0a58rb9.js → mime-ysv8z11j.js} +38 -38
- package/dist/chunks/{form-z0bkrqjs.js → mime-z0bkrqjs.js} +1 -1
- package/dist/chunks/{form-bgqnaqd7.js → mime-z8jfcem0.js} +11 -11
- package/dist/chunks/{form-zeh9ct20.js → mime-zeh9ct20.js} +2 -2
- package/dist/chunks/{form-ray0b3pm.js → mime-zhq7v0p7.js} +15 -15
- package/dist/chunks/{form-saz9k09t.js → mime-zn83cexa.js} +11 -11
- package/dist/chunks/{form-p3pfb0eg.js → mime-zqcrhym3.js} +13 -13
- package/dist/chunks/{form-zr2ceqn5.js → mime-zr2ceqn5.js} +1 -1
- package/dist/chunks/{form-t7vjf41v.js → mime-zshjmg5c.js} +21 -21
- package/dist/chunks/{form-zxq2ej10.js → mime-zxq2ej10.js} +1 -1
- package/dist/chunks/{form-ep6z9mt6.js → mime-zyr433b0.js} +11 -11
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +210 -210
- package/dist/config/plugin/compaction.js +158 -158
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +120 -120
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +141 -141
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- 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/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -364
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +92 -92
- 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 +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- 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 -219
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +105 -105
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +102 -102
- package/dist/git.js +10 -10
- 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 +98 -98
- 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 +355 -355
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +352 -352
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +99 -99
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +116 -116
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +216 -216
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +119 -119
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -87
- package/dist/provider.js +100 -100
- 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 +85 -85
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +150 -150
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +3 -3
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +149 -149
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +115 -115
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +122 -122
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +154 -154
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- 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 +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +88 -88
- 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 +125 -125
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +115 -115
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +6 -6
- package/dist/tool.js +11 -11
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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 +3 -3
- 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 +91 -91
- 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/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/form-4cw7we48.js +0 -247
- package/dist/chunks/form-qdzyan6r.js +0 -26
- package/dist/chunks/form-v1faaxn9.js +0 -18
- /package/dist/chunks/{form-0mesazry.js → mime-0mesazry.js} +0 -0
- /package/dist/chunks/{form-0qkdqm5v.js → mime-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{form-0zkw76rk.js → mime-0zkw76rk.js} +0 -0
- /package/dist/chunks/{form-17cy0kzp.js → mime-17cy0kzp.js} +0 -0
- /package/dist/chunks/{form-1cnp2v09.js → mime-1cnp2v09.js} +0 -0
- /package/dist/chunks/{form-1kg9ymc8.js → mime-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{form-24dcb14g.js → mime-24dcb14g.js} +0 -0
- /package/dist/chunks/{form-2710q6r3.js → mime-2710q6r3.js} +0 -0
- /package/dist/chunks/{form-2axfhc9x.js → mime-2axfhc9x.js} +0 -0
- /package/dist/chunks/{form-2c3vjs8z.js → mime-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{form-359p4xyc.js → mime-359p4xyc.js} +0 -0
- /package/dist/chunks/{form-3asan66x.js → mime-3asan66x.js} +0 -0
- /package/dist/chunks/{form-3v8g72cx.js → mime-3v8g72cx.js} +0 -0
- /package/dist/chunks/{form-3w5fmr99.js → mime-3w5fmr99.js} +0 -0
- /package/dist/chunks/{form-3wcehsnq.js → mime-3wcehsnq.js} +0 -0
- /package/dist/chunks/{form-43n2bw4t.js → mime-43n2bw4t.js} +0 -0
- /package/dist/chunks/{form-4knz6hnm.js → mime-4knz6hnm.js} +0 -0
- /package/dist/chunks/{form-4vcrnpx2.js → mime-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{form-4y7fprxs.js → mime-4y7fprxs.js} +0 -0
- /package/dist/chunks/{form-53557ph1.js → mime-53557ph1.js} +0 -0
- /package/dist/chunks/{form-550bvhaj.js → mime-550bvhaj.js} +0 -0
- /package/dist/chunks/{form-6prwharc.js → mime-6prwharc.js} +0 -0
- /package/dist/chunks/{form-7akdwqpd.js → mime-7akdwqpd.js} +0 -0
- /package/dist/chunks/{form-7m9af43g.js → mime-7m9af43g.js} +0 -0
- /package/dist/chunks/{form-822emrt2.js → mime-822emrt2.js} +0 -0
- /package/dist/chunks/{form-88xbtdfr.js → mime-88xbtdfr.js} +0 -0
- /package/dist/chunks/{form-8n3pysct.js → mime-8n3pysct.js} +0 -0
- /package/dist/chunks/{form-922hggd3.js → mime-922hggd3.js} +0 -0
- /package/dist/chunks/{form-9a4afbnw.js → mime-9a4afbnw.js} +0 -0
- /package/dist/chunks/{form-9rqn6x4v.js → mime-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{form-a6k6eb26.js → mime-a6k6eb26.js} +0 -0
- /package/dist/chunks/{form-af5trqkr.js → mime-af5trqkr.js} +0 -0
- /package/dist/chunks/{form-afrmfg78.js → mime-afrmfg78.js} +0 -0
- /package/dist/chunks/{form-aqzs7mqg.js → mime-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{form-atq7p7m5.js → mime-atq7p7m5.js} +0 -0
- /package/dist/chunks/{form-bkyjaxrp.js → mime-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{form-bmr6ed5q.js → mime-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{form-cf4snx6d.js → mime-cf4snx6d.js} +0 -0
- /package/dist/chunks/{form-cvy3z8tj.js → mime-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{form-d9fn303g.js → mime-d9fn303g.js} +0 -0
- /package/dist/chunks/{form-d9jj8t3e.js → mime-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{form-dajrwvna.js → mime-dajrwvna.js} +0 -0
- /package/dist/chunks/{form-dap0rakb.js → mime-dap0rakb.js} +0 -0
- /package/dist/chunks/{form-df08tz66.js → mime-df08tz66.js} +0 -0
- /package/dist/chunks/{form-dy18nga0.js → mime-dy18nga0.js} +0 -0
- /package/dist/chunks/{form-e5kj55wp.js → mime-e5kj55wp.js} +0 -0
- /package/dist/chunks/{form-e73j6tqm.js → mime-e73j6tqm.js} +0 -0
- /package/dist/chunks/{form-ec1grn59.js → mime-ec1grn59.js} +0 -0
- /package/dist/chunks/{form-eh3zwz77.js → mime-eh3zwz77.js} +0 -0
- /package/dist/chunks/{form-emrn6kk6.js → mime-emrn6kk6.js} +0 -0
- /package/dist/chunks/{form-f0mxakyp.js → mime-f0mxakyp.js} +0 -0
- /package/dist/chunks/{form-f6n9ztr4.js → mime-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{form-faypxj3z.js → mime-faypxj3z.js} +0 -0
- /package/dist/chunks/{form-fd410y7t.js → mime-fd410y7t.js} +0 -0
- /package/dist/chunks/{form-fxgpk5d8.js → mime-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{form-g4wezp1m.js → mime-g4wezp1m.js} +0 -0
- /package/dist/chunks/{form-g86h250q.js → mime-g86h250q.js} +0 -0
- /package/dist/chunks/{form-gebd4c9n.js → mime-gebd4c9n.js} +0 -0
- /package/dist/chunks/{form-gftt206x.js → mime-gftt206x.js} +0 -0
- /package/dist/chunks/{form-hjbc5kem.js → mime-hjbc5kem.js} +0 -0
- /package/dist/chunks/{form-hk9envan.js → mime-hk9envan.js} +0 -0
- /package/dist/chunks/{form-j2ntwpah.js → mime-j2ntwpah.js} +0 -0
- /package/dist/chunks/{form-j5zkgpj8.js → mime-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{form-jjkms2e6.js → mime-jjkms2e6.js} +0 -0
- /package/dist/chunks/{form-jr7sbwjy.js → mime-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{form-jwfs4k6c.js → mime-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{form-jzg6c2d5.js → mime-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{form-mp448xyj.js → mime-mp448xyj.js} +0 -0
- /package/dist/chunks/{form-msx8hqn2.js → mime-msx8hqn2.js} +0 -0
- /package/dist/chunks/{form-n05xt0ee.js → mime-n05xt0ee.js} +0 -0
- /package/dist/chunks/{form-n3j8tn72.js → mime-n3j8tn72.js} +0 -0
- /package/dist/chunks/{form-njntx4h6.js → mime-njntx4h6.js} +0 -0
- /package/dist/chunks/{form-q3sfg36h.js → mime-q3sfg36h.js} +0 -0
- /package/dist/chunks/{form-q74kybfr.js → mime-q74kybfr.js} +0 -0
- /package/dist/chunks/{form-qaymkmh1.js → mime-qaymkmh1.js} +0 -0
- /package/dist/chunks/{form-qb87gjwd.js → mime-qb87gjwd.js} +0 -0
- /package/dist/chunks/{form-qfa1cgps.js → mime-qfa1cgps.js} +0 -0
- /package/dist/chunks/{form-qg3g05ea.js → mime-qg3g05ea.js} +0 -0
- /package/dist/chunks/{form-qrg20bc0.js → mime-qrg20bc0.js} +0 -0
- /package/dist/chunks/{form-rcb2kzg1.js → mime-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{form-sdp7kfr6.js → mime-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{form-sk3qaz4a.js → mime-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{form-ssg3fenm.js → mime-ssg3fenm.js} +0 -0
- /package/dist/chunks/{form-twg0f83k.js → mime-twg0f83k.js} +0 -0
- /package/dist/chunks/{form-w803qqfp.js → mime-w803qqfp.js} +0 -0
- /package/dist/chunks/{form-wc3fc9cn.js → mime-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{form-wer8tq1h.js → mime-wer8tq1h.js} +0 -0
- /package/dist/chunks/{form-wtztk69x.js → mime-wtztk69x.js} +0 -0
- /package/dist/chunks/{form-x0ckcb58.js → mime-x0ckcb58.js} +0 -0
- /package/dist/chunks/{form-x61499pn.js → mime-x61499pn.js} +0 -0
- /package/dist/chunks/{form-y44na4kk.js → mime-y44na4kk.js} +0 -0
- /package/dist/chunks/{form-y8cydn3q.js → mime-y8cydn3q.js} +0 -0
- /package/dist/chunks/{form-y8f7s663.js → mime-y8f7s663.js} +0 -0
- /package/dist/chunks/{form-ygaqb7jw.js → mime-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{form-ym463w8f.js → mime-ym463w8f.js} +0 -0
- /package/dist/chunks/{form-z9919s4g.js → mime-z9919s4g.js} +0 -0
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID8
|
|
3
|
+
} from "./mime-qqevf9na.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info17
|
|
9
|
+
} from "./mime-zyr433b0.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./mime-x2q6da39.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service58
|
|
16
|
+
} from "./mime-wgcccx00.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./mime-5daktx2q.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./mime-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
25
|
var exports_agent = {};
|
|
26
26
|
__export(exports_agent, {
|
|
27
27
|
ConfigAgentPlugin: () => exports_agent,
|
|
28
|
-
Plugin: () =>
|
|
28
|
+
Plugin: () => Plugin15
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info17);
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin15 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service58;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin18 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID8.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID8.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -161,4 +161,4 @@ function decode(file, content) {
|
|
|
161
161
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { Plugin15, exports_agent };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
5
|
Service81,
|
|
6
6
|
node85
|
|
7
|
-
} from "./
|
|
8
|
-
import {
|
|
9
|
-
Event15,
|
|
10
|
-
Service67,
|
|
11
|
-
node71
|
|
12
|
-
} from "./form-gb1jwk5m.js";
|
|
7
|
+
} from "./mime-pk5h2d3g.js";
|
|
13
8
|
import {
|
|
9
|
+
Event19,
|
|
14
10
|
Service76,
|
|
15
11
|
node80
|
|
16
|
-
} from "./
|
|
12
|
+
} from "./mime-xj9vawve.js";
|
|
17
13
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
14
|
+
Service78,
|
|
15
|
+
node82
|
|
16
|
+
} from "./mime-d9age9tx.js";
|
|
21
17
|
import {
|
|
22
|
-
|
|
23
|
-
Service68,
|
|
18
|
+
Service69,
|
|
24
19
|
node72
|
|
25
|
-
} from "./
|
|
20
|
+
} from "./mime-2zjw9q23.js";
|
|
21
|
+
import {
|
|
22
|
+
ID16,
|
|
23
|
+
Service77,
|
|
24
|
+
node81
|
|
25
|
+
} from "./mime-hefg7mzt.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./mime-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID14,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service75,
|
|
34
|
+
node79
|
|
35
|
+
} from "./mime-pky3fvqk.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./mime-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
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError3,
|
|
45
|
+
Options: () => Options2,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
|
|
|
50
50
|
ResourceContentPart: () => ResourceContentPart2,
|
|
51
51
|
ResourceTemplate: () => ResourceTemplate2,
|
|
52
52
|
ServerName: () => ServerName2,
|
|
53
|
-
Service: () =>
|
|
53
|
+
Service: () => Service25,
|
|
54
54
|
Status: () => Status2,
|
|
55
55
|
ToolCallError: () => ToolCallError2,
|
|
56
|
-
configured: () =>
|
|
57
|
-
layer: () =>
|
|
58
|
-
node: () =>
|
|
56
|
+
configured: () => configured2,
|
|
57
|
+
layer: () => layer11,
|
|
58
|
+
node: () => node28
|
|
59
59
|
});
|
|
60
60
|
import { Mcp } from "@opencode/schema/mcp";
|
|
61
61
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -74,7 +74,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
|
74
74
|
var ResourceContentPart2 = Mcp.ResourceContentPart;
|
|
75
75
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class NotFoundError3 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
78
78
|
server: ServerName2
|
|
79
79
|
}) {
|
|
80
80
|
get message() {
|
|
@@ -92,21 +92,21 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
|
|
|
92
92
|
var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
93
93
|
var cloneConfig = (config) => structuredClone(config);
|
|
94
94
|
|
|
95
|
-
class
|
|
95
|
+
class Service25 extends Context.Service()("@opencode/MCP") {
|
|
96
96
|
}
|
|
97
|
-
var
|
|
97
|
+
var Options2 = Schema.Struct({
|
|
98
98
|
clientInfo: Schema.optional(Schema.Struct({
|
|
99
99
|
name: Schema.String,
|
|
100
100
|
version: Schema.String
|
|
101
101
|
}))
|
|
102
102
|
});
|
|
103
|
-
var
|
|
104
|
-
const location = yield*
|
|
105
|
-
const environment = yield*
|
|
103
|
+
var layer11 = (options) => Layer.effect(Service25, Effect.gen(function* () {
|
|
104
|
+
const location = yield* Service78;
|
|
105
|
+
const environment = yield* Service69;
|
|
106
106
|
const bus = yield* Service81;
|
|
107
|
-
const forms = yield*
|
|
108
|
-
const integration = yield*
|
|
109
|
-
const credentials = yield*
|
|
107
|
+
const forms = yield* Service77;
|
|
108
|
+
const integration = yield* Service75;
|
|
109
|
+
const credentials = yield* Service76;
|
|
110
110
|
const root = yield* Effect.scope;
|
|
111
111
|
const fork = yield* FiberSet.makeRuntime();
|
|
112
112
|
const entries = new Map;
|
|
@@ -118,7 +118,7 @@ var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
118
118
|
return;
|
|
119
119
|
const remote = entry.config;
|
|
120
120
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
121
|
-
const integrationID =
|
|
121
|
+
const integrationID = ID14.make(suffix);
|
|
122
122
|
entry.integrationID = integrationID;
|
|
123
123
|
owned.add(integrationID);
|
|
124
124
|
const methodID = MethodID2.make(suffix);
|
|
@@ -134,7 +134,7 @@ var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
134
134
|
method: { id: methodID, type: "oauth", label: name },
|
|
135
135
|
authorize: () => Effect.gen(function* () {
|
|
136
136
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
137
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
137
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service76, credentials));
|
|
138
138
|
})
|
|
139
139
|
});
|
|
140
140
|
}).pipe(Scope.provide(scope));
|
|
@@ -143,19 +143,19 @@ var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
143
143
|
const name = ServerName2.make(server);
|
|
144
144
|
const entry = entries.get(name);
|
|
145
145
|
if (!entry)
|
|
146
|
-
return yield* new
|
|
146
|
+
return yield* new NotFoundError3({ server: name });
|
|
147
147
|
return { name, entry };
|
|
148
148
|
});
|
|
149
149
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
150
150
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
151
151
|
return;
|
|
152
152
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
153
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
153
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service76, credentials));
|
|
154
154
|
});
|
|
155
155
|
const elicitation = {
|
|
156
156
|
create: (input) => Effect.gen(function* () {
|
|
157
157
|
if (input.params.mode === "url") {
|
|
158
|
-
const formID =
|
|
158
|
+
const formID = ID16.create();
|
|
159
159
|
const elicitationID = input.params.elicitationId;
|
|
160
160
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
161
161
|
if (key)
|
|
@@ -239,7 +239,7 @@ var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
239
239
|
entry.scope = scope;
|
|
240
240
|
const authProvider = yield* connectProvider(entry);
|
|
241
241
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
242
|
-
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(
|
|
242
|
+
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(Service69, environment), Scope.provide(scope), Effect.exit);
|
|
243
243
|
if (Exit.isSuccess(result)) {
|
|
244
244
|
entry.client = result.value.connection;
|
|
245
245
|
entry.tools = result.value.tools.map((tool) => toTool(name, entry, tool));
|
|
@@ -363,7 +363,7 @@ var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
363
363
|
yield* startServer(name, entry);
|
|
364
364
|
}).pipe(locks.withLock(name));
|
|
365
365
|
});
|
|
366
|
-
fork(bus.subscribe(
|
|
366
|
+
fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
367
367
|
const state = create3({
|
|
368
368
|
name: "mcp",
|
|
369
369
|
initial: () => ({
|
|
@@ -389,7 +389,7 @@ var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
389
389
|
}),
|
|
390
390
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
391
391
|
});
|
|
392
|
-
return
|
|
392
|
+
return Service25.of({
|
|
393
393
|
transform: state.transform,
|
|
394
394
|
reload: state.reload,
|
|
395
395
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -508,14 +508,14 @@ var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
508
508
|
})
|
|
509
509
|
});
|
|
510
510
|
}));
|
|
511
|
-
function
|
|
511
|
+
function configured2(options) {
|
|
512
512
|
return makeLocationNode({
|
|
513
|
-
service:
|
|
514
|
-
layer:
|
|
515
|
-
deps: [
|
|
513
|
+
service: Service25,
|
|
514
|
+
layer: layer11(options),
|
|
515
|
+
deps: [node82, node72, node85, node81, node79, node80]
|
|
516
516
|
});
|
|
517
517
|
}
|
|
518
|
-
var
|
|
518
|
+
var node28 = configured2();
|
|
519
519
|
function toElicitationField(key, property, required) {
|
|
520
520
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
521
521
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -566,4 +566,4 @@ function toElicitationField(key, property, required) {
|
|
|
566
566
|
}
|
|
567
567
|
}
|
|
568
568
|
|
|
569
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2,
|
|
569
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2, Service25, Options2, layer11, configured2, node28, exports_mcp4 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
provider2,
|
|
3
3
|
model2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./mime-0paq2nw3.js";
|
|
5
5
|
import {
|
|
6
6
|
aisdk2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./mime-t8pjkv49.js";
|
|
8
8
|
import {
|
|
9
9
|
Capabilities2,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./mime-1765dzhp.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./mime-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/v1/config/migrate.ts
|
|
17
17
|
var exports_migrate = {};
|
|
@@ -1,144 +1,144 @@
|
|
|
1
1
|
import {
|
|
2
2
|
_20260127222353_familiar_lady_ursula_default
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-jzg6c2d5.js";
|
|
4
4
|
import {
|
|
5
5
|
_20260211171708_add_project_commands_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-q3sfg36h.js";
|
|
7
7
|
import {
|
|
8
8
|
_20260213144116_wakeful_the_professor_default
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./mime-1cnp2v09.js";
|
|
10
10
|
import {
|
|
11
11
|
_20260225215848_workspace_default
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./mime-rcb2kzg1.js";
|
|
13
13
|
import {
|
|
14
14
|
_20260227213759_add_session_workspace_id_default
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./mime-msx8hqn2.js";
|
|
16
16
|
import {
|
|
17
17
|
_20260228203230_blue_harpoon_default
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./mime-bkyjaxrp.js";
|
|
19
19
|
import {
|
|
20
20
|
_20260303231226_add_workspace_fields_default
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./mime-g86h250q.js";
|
|
22
22
|
import {
|
|
23
23
|
_20260309230000_move_org_to_state_default
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./mime-jr7sbwjy.js";
|
|
25
25
|
import {
|
|
26
26
|
_20260312043431_session_message_cursor_default
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./mime-7m9af43g.js";
|
|
28
28
|
import {
|
|
29
29
|
_20260323234822_events_default
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./mime-j2ntwpah.js";
|
|
31
31
|
import {
|
|
32
32
|
_20260410174513_workspace_name_default
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./mime-njntx4h6.js";
|
|
34
34
|
import {
|
|
35
35
|
_20260413175956_chief_energizer_default
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./mime-qrg20bc0.js";
|
|
37
37
|
import {
|
|
38
38
|
_20260423070820_add_icon_url_override_default
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./mime-z9919s4g.js";
|
|
40
40
|
import {
|
|
41
41
|
_20260427172553_slow_nightmare_default
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./mime-43n2bw4t.js";
|
|
43
43
|
import {
|
|
44
44
|
_20260428004200_add_session_path_default
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./mime-n3j8tn72.js";
|
|
46
46
|
import {
|
|
47
47
|
_20260501142318_next_venus_default
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./mime-d9jj8t3e.js";
|
|
49
49
|
import {
|
|
50
50
|
_20260504145000_add_sync_owner_default
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./mime-fd410y7t.js";
|
|
52
52
|
import {
|
|
53
53
|
_20260507164347_add_workspace_time_default
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./mime-e5kj55wp.js";
|
|
55
55
|
import {
|
|
56
56
|
_20260510033149_session_usage_default
|
|
57
|
-
} from "./
|
|
57
|
+
} from "./mime-f6n9ztr4.js";
|
|
58
58
|
import {
|
|
59
59
|
_20260511000411_data_migration_state_default
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./mime-q74kybfr.js";
|
|
61
61
|
import {
|
|
62
62
|
_20260511173437_session_metadata_default
|
|
63
|
-
} from "./
|
|
63
|
+
} from "./mime-53557ph1.js";
|
|
64
64
|
import {
|
|
65
65
|
_20260601010001_normalize_storage_paths_default
|
|
66
|
-
} from "./
|
|
66
|
+
} from "./mime-7akdwqpd.js";
|
|
67
67
|
import {
|
|
68
68
|
_20260601202201_amazing_prowler_default
|
|
69
|
-
} from "./
|
|
69
|
+
} from "./mime-wer8tq1h.js";
|
|
70
70
|
import {
|
|
71
71
|
_20260602002951_lowly_union_jack_default
|
|
72
|
-
} from "./
|
|
72
|
+
} from "./mime-wtztk69x.js";
|
|
73
73
|
import {
|
|
74
74
|
_20260602182828_add_project_directories_default
|
|
75
|
-
} from "./
|
|
75
|
+
} from "./mime-ssg3fenm.js";
|
|
76
76
|
import {
|
|
77
77
|
_20260603001617_session_message_projection_indexes_default
|
|
78
|
-
} from "./
|
|
78
|
+
} from "./mime-2c3vjs8z.js";
|
|
79
79
|
import {
|
|
80
80
|
_20260603040000_session_message_projection_order_default
|
|
81
|
-
} from "./
|
|
81
|
+
} from "./mime-17cy0kzp.js";
|
|
82
82
|
import {
|
|
83
83
|
_20260603141458_session_input_inbox_default
|
|
84
|
-
} from "./
|
|
84
|
+
} from "./mime-hk9envan.js";
|
|
85
85
|
import {
|
|
86
86
|
_20260603160727_jittery_ezekiel_stane_default
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./mime-w803qqfp.js";
|
|
88
88
|
import {
|
|
89
89
|
_20260604172448_event_sourced_session_input_default
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./mime-jwfs4k6c.js";
|
|
91
91
|
import {
|
|
92
92
|
_20260605003541_add_session_context_snapshot_default
|
|
93
|
-
} from "./
|
|
93
|
+
} from "./mime-mp448xyj.js";
|
|
94
94
|
import {
|
|
95
95
|
_20260605042240_add_context_epoch_agent_default
|
|
96
|
-
} from "./
|
|
96
|
+
} from "./mime-aqzs7mqg.js";
|
|
97
97
|
import {
|
|
98
98
|
_20260611035744_credential_default
|
|
99
|
-
} from "./
|
|
99
|
+
} from "./mime-ygaqb7jw.js";
|
|
100
100
|
import {
|
|
101
101
|
_20260611192811_lush_chimera_default
|
|
102
|
-
} from "./
|
|
102
|
+
} from "./mime-8n3pysct.js";
|
|
103
103
|
import {
|
|
104
104
|
_20260612174303_project_dir_strategy_default
|
|
105
|
-
} from "./
|
|
105
|
+
} from "./mime-d9fn303g.js";
|
|
106
106
|
import {
|
|
107
107
|
_20260622142730_simplify_session_context_epoch_default
|
|
108
|
-
} from "./
|
|
108
|
+
} from "./mime-cvy3z8tj.js";
|
|
109
109
|
import {
|
|
110
110
|
_20260622170816_reset_v2_session_state_default
|
|
111
|
-
} from "./
|
|
111
|
+
} from "./mime-9a4afbnw.js";
|
|
112
112
|
import {
|
|
113
113
|
_20260622202450_simplify_session_input_default
|
|
114
|
-
} from "./
|
|
114
|
+
} from "./mime-n05xt0ee.js";
|
|
115
115
|
import {
|
|
116
116
|
_20260804233008_loose_psylocke_default
|
|
117
|
-
} from "./
|
|
117
|
+
} from "./mime-sdp7kfr6.js";
|
|
118
118
|
import {
|
|
119
119
|
_20260805200742_import_legacy_credentials_default
|
|
120
|
-
} from "./
|
|
120
|
+
} from "./mime-a6k6eb26.js";
|
|
121
121
|
import {
|
|
122
122
|
_20260808023530_workspace_domain_default
|
|
123
|
-
} from "./
|
|
123
|
+
} from "./mime-4knz6hnm.js";
|
|
124
124
|
import {
|
|
125
125
|
_20260811161259_execution_claim_attempts_default
|
|
126
|
-
} from "./
|
|
126
|
+
} from "./mime-df08tz66.js";
|
|
127
127
|
import {
|
|
128
128
|
_20260812181746_session_inbox_default
|
|
129
|
-
} from "./
|
|
129
|
+
} from "./mime-bmr6ed5q.js";
|
|
130
130
|
import {
|
|
131
131
|
_20260812213948_worktree_default
|
|
132
|
-
} from "./
|
|
132
|
+
} from "./mime-atq7p7m5.js";
|
|
133
133
|
import {
|
|
134
134
|
_20260819222447_session_viewed_state_default
|
|
135
|
-
} from "./
|
|
135
|
+
} from "./mime-qb87gjwd.js";
|
|
136
136
|
import {
|
|
137
137
|
_20260823191254_nullable_workspace_binding_default
|
|
138
|
-
} from "./
|
|
138
|
+
} from "./mime-359p4xyc.js";
|
|
139
139
|
import {
|
|
140
140
|
_20260910120000_clear_v1_session_permission_default
|
|
141
|
-
} from "./
|
|
141
|
+
} from "./mime-y8f7s663.js";
|
|
142
142
|
|
|
143
143
|
// src/database/migration.gen.ts
|
|
144
144
|
var migrations2 = [
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service69
|
|
3
|
+
} from "./mime-2zjw9q23.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service14,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./mime-s5a290ta.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service41
|
|
11
|
+
} from "./mime-rvws15xt.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service47
|
|
14
|
+
} from "./mime-4bfa0ewn.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service42
|
|
17
|
+
} from "./mime-bbe2nkwj.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./mime-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./mime-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input11,
|
|
29
|
+
Output: () => Output8,
|
|
30
|
+
Plugin: () => Plugin12,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name11,
|
|
33
|
+
toModelContent: () => toModelContent6
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name11 = "write";
|
|
39
|
+
var Input11 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output8 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent6 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin12 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service42;
|
|
56
|
+
const fileMutation = yield* Service14;
|
|
57
|
+
const environment = yield* Service69;
|
|
58
|
+
const formatter = yield* Service41;
|
|
59
|
+
const permission = yield* Service47;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name11,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input11,
|
|
69
|
+
output: Output8,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent6(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name11, Input11, Output8, toModelContent6, Plugin12, exports_write };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/tool/plugin/opencode.ts
|
|
6
6
|
var exports_opencode = {};
|
|
7
7
|
__export(exports_opencode, {
|
|
8
8
|
MoveInput: () => MoveInput2,
|
|
9
9
|
OpenCodeTools: () => exports_opencode,
|
|
10
|
-
Plugin: () =>
|
|
10
|
+
Plugin: () => Plugin4,
|
|
11
11
|
RenameInput: () => RenameInput2
|
|
12
12
|
});
|
|
13
13
|
import { SystemPart, ToolFailure } from "@opencode/ai";
|
|
@@ -26,7 +26,7 @@ var MoveInput2 = Schema.Struct({
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
var MoveOutput = Schema.Struct({ sessionID: Session.ID, directory: AbsolutePath });
|
|
29
|
-
var
|
|
29
|
+
var Plugin4 = {
|
|
30
30
|
id: "opencode.tools",
|
|
31
31
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
32
32
|
const hook = (event) => Effect.sync(() => {
|
|
@@ -77,4 +77,4 @@ var Plugin3 = {
|
|
|
77
77
|
})
|
|
78
78
|
};
|
|
79
79
|
|
|
80
|
-
export { RenameInput2, MoveInput2,
|
|
80
|
+
export { RenameInput2, MoveInput2, Plugin4, exports_opencode };
|