feat(core): filter sessions by path and add setting to disable (#24849)
This commit is contained in:
@@ -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" },
|
||||
|
||||
@@ -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)
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user