feat(core): filter sessions by path and add setting to disable (#24849)

This commit is contained in:
James Long
2026-04-28 16:49:13 -04:00
committed by GitHub
parent 379e7f3f20
commit 9209c04370
10 changed files with 360 additions and 27 deletions
+4
View File
@@ -1647,6 +1647,8 @@ export class Session2 extends HeyApiClient {
parameters?: {
directory?: string
workspace?: string
scope?: "project"
path?: string
roots?: boolean | "true" | "false"
start?: number
search?: string
@@ -1661,6 +1663,8 @@ export class Session2 extends HeyApiClient {
args: [
{ in: "query", key: "directory" },
{ in: "query", key: "workspace" },
{ in: "query", key: "scope" },
{ in: "query", key: "path" },
{ in: "query", key: "roots" },
{ in: "query", key: "start" },
{ in: "query", key: "search" },
+8
View File
@@ -3289,6 +3289,14 @@ export type SessionListData = {
*/
directory?: string
workspace?: string
/**
* List all sessions for the current project
*/
scope?: "project"
/**
* Filter sessions by project-relative path
*/
path?: string
/**
* Only return root sessions (no parentID)
*/