CARVIEW |
Select Language
HTTP/2 200
date: Wed, 23 Jul 2025 23:21:11 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/co-browser/agent-browser.git
etag: W/"8c95a805ccf3cf6c0fe2e0da2e577bf2"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=YCQZ2Mz64xqelDrAt9SQlmIOvuPyiWOhUqzzLxCnwgjtInWjWjh%2Br53J46c8WbiIxKGyNrxf1YSSX9GP1KYUTNEUepfzwDwQVQjotkVTLE6tLwZTy%2F25zs96VALjLH6MycoIIWpx2bB%2B8%2FQDGytgJwFBBpJ%2FSFb6jGGLwEpaFy5InhjSfxNROAtuPJDK0wAIEXrFFDytuMUO%2F5i24ZUPipJMg1eyXSw%2BYKx9U1QfphclyYajZPwdkkDiW0X0SVyqfvCYXkaXrgy1Jnvli%2FYBKw%3D%3D--fxegMRFuGbbVGeXZ--k22Ak3KOdKqaX7%2FVXsblHA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1867909690.1753312870; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 23:21:10 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 23:21:10 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: AB1A:35B563:114EDA3:14C8B19:68816E66
feat: Integrate SSE handler and fix real-time UI updates · co-browser/agent-browser@ca2ec09 · GitHub
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit ca2ec09
committed
feat: Integrate SSE handler and fix real-time UI updates
Refactors the MCP ConnectionManager to correctly track server IDs and include them in published events (ServerStatusChanged, ToolsUpdated). This ensures the SSEHandler receives the correct ID.
Integrates the SSEHandler into the Fx application wiring, providing the handler, registering its `/api/events` route, and adding lifecycle hooks.
Removes conflicting root route registration and fixes minor template issues. Resolves race condition where UI could fetch stale data by ensuring SSE notifications rely on backend data persistence confirmation (via ServerDataUpdated event pattern).1 parent 451ccd2 commit ca2ec09Copy full SHA for ca2ec09
File tree
Expand file treeCollapse file tree
9 files changed
+636
-139
lines changedFilter options
- internal
- app
- mcp
- web
- handlers
- templates
Expand file treeCollapse file tree
9 files changed
+636
-139
lines changed+45-9Lines changed: 45 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
| 18 | + | |
18 | 19 |
| |
19 | 20 |
| |
20 | 21 |
| |
| |||
24 | 25 |
| |
25 | 26 |
| |
26 | 27 |
| |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
27 | 32 |
| |
28 | 33 |
| |
29 | 34 |
| |
| |||
109 | 114 |
| |
110 | 115 |
| |
111 | 116 |
| |
112 |
| - | |
113 |
| - | |
| 117 | + | |
114 | 118 |
| |
115 | 119 |
| |
116 |
| - | |
| 120 | + | |
117 | 121 |
| |
118 |
| - | |
| 122 | + | |
119 | 123 |
| |
120 | 124 |
| |
121 | 125 |
| |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
122 | 142 |
| |
123 |
| - | |
124 |
| - | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
125 | 150 |
| |
126 | 151 |
| |
127 |
| - | |
128 |
| - | |
129 |
| - | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
130 | 163 |
| |
131 | 164 |
| |
132 | 165 |
| |
| 166 | + | |
| 167 | + | |
| 168 | + | |
133 | 169 |
| |
134 | 170 |
| |
135 | 171 |
| |
|
+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
| 16 | + | |
16 | 17 |
| |
17 | 18 |
| |
18 | 19 |
| |
|
+73-115Lines changed: 73 additions & 115 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
64 | 64 |
| |
65 | 65 |
| |
66 | 66 |
| |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
67 | 73 |
| |
68 | 74 |
| |
69 | 75 |
| |
| |||
88 | 94 |
| |
89 | 95 |
| |
90 | 96 |
| |
91 |
| - | |
| 97 | + | |
92 | 98 |
| |
93 | 99 |
| |
94 | 100 |
| |
| |||
105 | 111 |
| |
106 | 112 |
| |
107 | 113 |
| |
108 |
| - | |
| 114 | + | |
109 | 115 |
| |
110 | 116 |
| |
111 | 117 |
| |
| |||
673 | 679 |
| |
674 | 680 |
| |
675 | 681 |
| |
676 |
| - | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
677 | 695 |
| |
678 |
| - | |
| 696 | + | |
679 | 697 |
| |
680 |
| - | |
681 |
| - | |
682 |
| - | |
683 |
| - | |
684 |
| - | |
685 |
| - | |
686 |
| - | |
687 |
| - | |
688 |
| - | |
689 |
| - | |
690 |
| - | |
691 |
| - | |
692 |
| - | |
693 |
| - | |
694 |
| - | |
| 698 | + | |
695 | 699 |
| |
696 | 700 |
| |
697 | 701 |
| |
698 | 702 |
| |
699 |
| - | |
700 |
| - | |
701 |
| - | |
702 |
| - | |
| 703 | + | |
703 | 704 |
| |
704 | 705 |
| |
705 | 706 |
| |
706 | 707 |
| |
707 |
| - | |
708 |
| - | |
709 |
| - | |
710 |
| - | |
711 |
| - | |
712 |
| - | |
713 |
| - | |
714 |
| - | |
715 |
| - | |
716 |
| - | |
717 |
| - | |
718 |
| - | |
719 |
| - | |
720 |
| - | |
721 |
| - | |
722 |
| - | |
723 |
| - | |
724 |
| - | |
725 |
| - | |
726 |
| - | |
727 |
| - | |
728 |
| - | |
729 |
| - | |
730 |
| - | |
731 |
| - | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
732 | 713 |
| |
733 |
| - | |
734 |
| - | |
735 |
| - | |
736 |
| - | |
737 |
| - | |
738 |
| - | |
739 |
| - | |
740 |
| - | |
741 |
| - | |
742 |
| - | |
743 |
| - | |
744 |
| - | |
745 |
| - | |
746 |
| - | |
747 |
| - | |
748 |
| - | |
| 714 | + | |
| 715 | + | |
749 | 716 |
| |
750 | 717 |
| |
751 | 718 |
| |
752 | 719 |
| |
753 | 720 |
| |
754 | 721 |
| |
755 |
| - | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
756 | 726 |
| |
757 | 727 |
| |
758 | 728 |
| |
759 | 729 |
| |
760 |
| - | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
761 | 742 |
| |
762 | 743 |
| |
763 | 744 |
| |
| |||
766 | 747 |
| |
767 | 748 |
| |
768 | 749 |
| |
769 |
| - | |
770 |
| - | |
771 |
| - | |
772 |
| - | |
773 |
| - | |
774 |
| - | |
775 |
| - | |
| 750 | + | |
776 | 751 |
| |
777 | 752 |
| |
778 |
| - | |
779 | 753 |
| |
780 | 754 |
| |
781 |
| - | |
782 | 755 |
| |
783 |
| - | |
784 |
| - | |
| 756 | + | |
| 757 | + | |
785 | 758 |
| |
786 | 759 |
| |
787 |
| - | |
788 | 760 |
| |
789 | 761 |
| |
790 | 762 |
| |
791 |
| - | |
792 |
| - | |
| 763 | + | |
| 764 | + | |
793 | 765 |
| |
794 |
| - | |
795 |
| - | |
796 |
| - | |
797 |
| - | |
798 |
| - | |
799 |
| - | |
800 |
| - | |
801 |
| - | |
802 |
| - | |
803 |
| - | |
804 |
| - | |
805 |
| - | |
806 |
| - | |
807 |
| - | |
808 |
| - | |
809 |
| - | |
810 |
| - | |
811 |
| - | |
812 |
| - | |
813 |
| - | |
814 |
| - | |
815 |
| - | |
816 |
| - | |
817 | 766 |
| |
818 | 767 |
| |
819 | 768 |
| |
| |||
904 | 853 |
| |
905 | 854 |
| |
906 | 855 |
| |
| 856 | + | |
907 | 857 |
| |
908 | 858 |
| |
909 | 859 |
| |
910 | 860 |
| |
| 861 | + | |
911 | 862 |
| |
912 | 863 |
| |
913 |
| - | |
| 864 | + | |
914 | 865 |
| |
915 | 866 |
| |
916 | 867 |
| |
917 | 868 |
| |
918 | 869 |
| |
| 870 | + | |
| 871 | + | |
| 872 | + | |
| 873 | + | |
| 874 | + | |
| 875 | + | |
| 876 | + | |
| 877 | + | |
919 | 878 |
| |
920 | 879 |
| |
921 | 880 |
| |
| |||
934 | 893 |
| |
935 | 894 |
| |
936 | 895 |
| |
937 |
| - | |
| 896 | + | |
938 | 897 |
| |
939 | 898 |
| |
940 | 899 |
| |
| |||
954 | 913 |
| |
955 | 914 |
| |
956 | 915 |
| |
957 |
| - | |
| 916 | + | |
958 | 917 |
| |
959 | 918 |
| |
| 919 | + | |
960 | 920 |
| |
961 |
| - | |
| 921 | + | |
962 | 922 |
| |
963 | 923 |
| |
964 | 924 |
| |
| |||
991 | 951 |
| |
992 | 952 |
| |
993 | 953 |
| |
994 |
| - | |
995 |
| - | |
996 |
| - | |
997 |
| - | |
998 |
| - | |
999 |
| - | |
1000 |
| - | |
| 954 | + | |
| 955 | + | |
| 956 | + | |
1001 | 957 |
| |
1002 | 958 |
| |
1003 |
| - | |
| 959 | + | |
| 960 | + | |
| 961 | + | |
1004 | 962 |
| |
1005 | 963 |
| |
1006 | 964 |
| |
|
You can’t perform that action at this time.
0 commit comments