mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-10-30 19:32:39 +08:00
Merge pull request #6647 from Kilo-Org/fix/6403-filter-subagent-sessions
fix: filter subagent sessions from session history
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user