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
commit 9209c04370
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 360 additions and 27 deletions

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" },

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)
*/