fix(app): use reconcile for session_status in bootstrap to clear stale entries
(cherry picked from commit 912ba2c57f)
pull/17593/head
parent
6bfce604bf
commit
5a7a86810a
|
|
@ -151,7 +151,7 @@ export async function bootstrapDirectory(input: {
|
|||
Promise.all([
|
||||
input.sdk.path.get().then((x) => input.setStore("path", x.data!)),
|
||||
input.sdk.command.list().then((x) => input.setStore("command", x.data ?? [])),
|
||||
input.sdk.session.status().then((x) => input.setStore("session_status", x.data!)),
|
||||
input.sdk.session.status().then((x) => input.setStore("session_status", reconcile(x.data!))),
|
||||
input.loadSessions(input.directory),
|
||||
input.sdk.mcp.status().then((x) => input.setStore("mcp", x.data!)),
|
||||
input.sdk.lsp.status().then((x) => input.setStore("lsp", x.data!)),
|
||||
|
|
|
|||
Loading…
Reference in New Issue