perf(control-ui): hydrate chat startup state · openclaw/openclaw@c69a8d6
vincentkoc
·
2026-06-01
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -200,6 +200,7 @@ export const CORE_GATEWAY_METHOD_SPECS: readonly CoreGatewayMethodSpec[] = [
|
200 | 200 | { name: "agent.identity.get", scope: "operator.read" }, |
201 | 201 | { name: "agent.wait", scope: "operator.write", startup: true }, |
202 | 202 | { name: "chat.history", scope: "operator.read", startup: true }, |
| 203 | +{ name: "chat.startup", scope: "operator.read", startup: true }, |
203 | 204 | { name: "chat.message.get", scope: "operator.read", startup: true }, |
204 | 205 | { name: "chat.abort", scope: "operator.write" }, |
205 | 206 | { name: "chat.send", scope: "operator.write" }, |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -277,7 +277,14 @@ export const coreGatewayHandlers: GatewayRequestHandlers = {
|
277 | 277 | loadHandlers: loadChannelsHandlers, |
278 | 278 | }), |
279 | 279 | ...createLazyCoreHandlers({ |
280 | | -methods: ["chat.history", "chat.message.get", "chat.abort", "chat.send", "chat.inject"], |
| 280 | +methods: [ |
| 281 | +"chat.history", |
| 282 | +"chat.startup", |
| 283 | +"chat.message.get", |
| 284 | +"chat.abort", |
| 285 | +"chat.send", |
| 286 | +"chat.inject", |
| 287 | +], |
281 | 288 | loadHandlers: loadChatHandlers, |
282 | 289 | }), |
283 | 290 | ...createLazyCoreHandlers({ |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。