CARVIEW |
Select Language
HTTP/2 200
date: Fri, 25 Jul 2025 02:54:33 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/"0ee0318be611ba1880994cf5f9637891"
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=VhxS13qbp137u2Dm9%2Fjf3jhv6rZ4FVctX4BTweHSbC5s1AzSr2yfgHTLRx5UMzXojRgHrhA%2FUJjvxjZPKSJEwYJFaLpYFKzGwSj2rbJgC8AUE%2F6uruyTOpj9fuUvgIwNkbdaCVLsi%2FqQUJQWdh1K3tyAFgakz4NJmagqRhJ2XRVlLDqiMR3eZGzRldWVkp6luiq29OJSbwagQ1T70QAbWJC%2FmqU%2FLvVDYb%2FFeu2ejJFS82dFuvowpPKNTmW12N48tpJdXfSBI%2F%2FlXzhzl%2FZG%2Fw%3D%3D--K3b0ldRO7PvdfD5o--QZhD7AaoxVU4jmqH7URohQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1263642456.1753412072; Path=/; Domain=github.com; Expires=Sat, 25 Jul 2026 02:54:32 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sat, 25 Jul 2026 02:54:32 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: B458:DBBD4:E0C5A:151F48:6882F1E8
feat: Use event bus for MCP status/tool updates · co-browser/agent-browser@dd1e1f7 · GitHub
Copy file name to clipboardExpand all lines: internal/backend/service.go
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit dd1e1f7
committed
feat: Use event bus for MCP status/tool updates
Removes the API client dependency from ConnectionManager.
ConnectionManager now publishes ServerStatusChanged and ToolsUpdated
events directly to the event bus instead of calling back into the Web API.
BackendService subscribes to these events to handle DB updates.
InitModule now publishes ServerAddedEvent for existing servers at startup
to ensure ConnectionManager connects to them.1 parent e68f428 commit dd1e1f7Copy full SHA for dd1e1f7
File tree
Expand file treeCollapse file tree
4 files changed
+426
-259
lines changedFilter options
- internal
- app
- backend
- events
- mcp
Expand file treeCollapse file tree
4 files changed
+426
-259
lines changed+36-16Lines changed: 36 additions & 16 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
68 | 68 |
| |
69 | 69 |
| |
70 | 70 |
| |
| 71 | + | |
71 | 72 |
| |
72 | 73 |
| |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
73 | 80 |
| |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
74 | 88 |
| |
75 | 89 |
| |
76 | 90 |
| |
| |||
91 | 105 |
| |
92 | 106 |
| |
93 | 107 |
| |
| 108 | + | |
| 109 | + | |
94 | 110 |
| |
95 | 111 |
| |
96 | 112 |
| |
| |||
116 | 132 |
| |
117 | 133 |
| |
118 | 134 |
| |
119 |
| - | |
120 |
| - | |
| 135 | + | |
| 136 | + | |
121 | 137 |
| |
122 |
| - | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
123 | 141 |
| |
124 | 142 |
| |
125 | 143 |
| |
126 |
| - | |
127 |
| - | |
| 144 | + | |
| 145 | + | |
128 | 146 |
| |
129 | 147 |
| |
130 | 148 |
| |
131 |
| - | |
| 149 | + | |
132 | 150 |
| |
133 | 151 |
| |
134 |
| - | |
135 | 152 |
| |
136 |
| - | |
137 | 153 |
| |
138 | 154 |
| |
139 | 155 |
| |
140 | 156 |
| |
141 | 157 |
| |
142 | 158 |
| |
143 | 159 |
| |
144 |
| - | |
| 160 | + | |
145 | 161 |
| |
146 | 162 |
| |
147 | 163 |
| |
148 | 164 |
| |
149 | 165 |
| |
150 | 166 |
| |
151 |
| - | |
| 167 | + | |
| 168 | + | |
152 | 169 |
| |
153 |
| - | |
154 | 170 |
| |
155 | 171 |
| |
156 | 172 |
| |
157 | 173 |
| |
158 |
| - | |
159 | 174 |
| |
160 |
| - | |
| 175 | + | |
161 | 176 |
| |
162 | 177 |
| |
163 | 178 |
| |
164 | 179 |
| |
165 |
| - | |
166 |
| - | |
| 180 | + | |
167 | 181 |
| |
168 | 182 |
| |
169 |
| - | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
170 | 190 |
| |
171 | 191 |
| |
172 | 192 |
| |
|
internal/backend/service.go
Copy file name to clipboardExpand all lines: internal/backend/service.go+122-4Lines changed: 122 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
167 | 167 |
| |
168 | 168 |
| |
169 | 169 |
| |
170 |
| - | |
171 | 170 |
| |
172 | 171 |
| |
173 | 172 |
| |
| |||
180 | 179 |
| |
181 | 180 |
| |
182 | 181 |
| |
183 |
| - | |
184 |
| - | |
185 |
| - | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
186 | 185 |
| |
187 | 186 |
| |
188 | 187 |
| |
| |||
229 | 228 |
| |
230 | 229 |
| |
231 | 230 |
| |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + |
+12-8Lines changed: 12 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
81 | 81 |
| |
82 | 82 |
| |
83 | 83 |
| |
84 |
| - | |
85 |
| - | |
86 |
| - | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
87 | 87 |
| |
88 | 88 |
| |
89 | 89 |
| |
90 |
| - | |
| 90 | + | |
91 | 91 |
| |
92 | 92 |
| |
93 | 93 |
| |
94 |
| - | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
95 | 97 |
| |
96 | 98 |
| |
97 | 99 |
| |
| |||
100 | 102 |
| |
101 | 103 |
| |
102 | 104 |
| |
103 |
| - | |
104 |
| - | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
105 | 108 |
| |
106 | 109 |
| |
107 | 110 |
| |
108 |
| - | |
| 111 | + | |
109 | 112 |
| |
110 | 113 |
| |
111 | 114 |
| |
| 115 | + | |
112 | 116 |
| |
113 | 117 |
| |
114 | 118 |
| |
|
You can’t perform that action at this time.
0 commit comments