feat(core): filter sessions by path and add setting to disable (#24849)
This commit is contained in:
parent
379e7f3f20
commit
9209c04370
10 changed files with 360 additions and 27 deletions
|
|
@ -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)
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue