Merge pull request #6647 from Kilo-Org/fix/6403-filter-subagent-sessions

fix: filter subagent sessions from session history
This commit is contained in:
Mark IJbema
2026-03-05 16:21:49 +01:00
committed by GitHub
+2 -1
View File
@@ -870,7 +870,8 @@ export class KiloProvider implements vscode.WebviewViewProvider, TelemetryProper
pendingSessionRefresh: this.pendingSessionRefresh,
connectionState: this.connectionState,
listSessions: client
? (dir: string) => client.session.list({ directory: dir }, { throwOnError: true }).then(({ data }) => data)
? (dir: string) =>
client.session.list({ directory: dir, roots: true }, { throwOnError: true }).then(({ data }) => data)
: null,
sessionDirectories: this.sessionDirectories,
workspaceDirectory: this.getWorkspaceDirectory(),