@opencode-ai/sdk 1.14.29 → 1.14.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/v2/gen/sdk.gen.d.ts
CHANGED
|
@@ -495,6 +495,8 @@ export declare class Session2 extends HeyApiClient {
|
|
|
495
495
|
list<ThrowOnError extends boolean = false>(parameters?: {
|
|
496
496
|
directory?: string;
|
|
497
497
|
workspace?: string;
|
|
498
|
+
scope?: "project";
|
|
499
|
+
path?: string;
|
|
498
500
|
roots?: boolean | "true" | "false";
|
|
499
501
|
start?: number;
|
|
500
502
|
search?: string;
|
package/dist/v2/gen/sdk.gen.js
CHANGED
|
@@ -980,6 +980,8 @@ export class Session2 extends HeyApiClient {
|
|
|
980
980
|
args: [
|
|
981
981
|
{ in: "query", key: "directory" },
|
|
982
982
|
{ in: "query", key: "workspace" },
|
|
983
|
+
{ in: "query", key: "scope" },
|
|
984
|
+
{ in: "query", key: "path" },
|
|
983
985
|
{ in: "query", key: "roots" },
|
|
984
986
|
{ in: "query", key: "start" },
|
|
985
987
|
{ in: "query", key: "search" },
|
|
@@ -1001,7 +1001,6 @@ export type PermissionConfig = PermissionActionConfig | {
|
|
|
1001
1001
|
question?: PermissionActionConfig;
|
|
1002
1002
|
webfetch?: PermissionActionConfig;
|
|
1003
1003
|
websearch?: PermissionActionConfig;
|
|
1004
|
-
codesearch?: PermissionActionConfig;
|
|
1005
1004
|
lsp?: PermissionRuleConfig;
|
|
1006
1005
|
doom_loop?: PermissionActionConfig;
|
|
1007
1006
|
skill?: PermissionRuleConfig;
|
|
@@ -2747,10 +2746,18 @@ export type SessionListData = {
|
|
|
2747
2746
|
path?: never;
|
|
2748
2747
|
query?: {
|
|
2749
2748
|
/**
|
|
2750
|
-
* Filter sessions by
|
|
2749
|
+
* Filter sessions by directory
|
|
2751
2750
|
*/
|
|
2752
2751
|
directory?: string;
|
|
2753
2752
|
workspace?: string;
|
|
2753
|
+
/**
|
|
2754
|
+
* List all sessions for the current project
|
|
2755
|
+
*/
|
|
2756
|
+
scope?: "project";
|
|
2757
|
+
/**
|
|
2758
|
+
* Filter sessions by project-relative path
|
|
2759
|
+
*/
|
|
2760
|
+
path?: string;
|
|
2754
2761
|
/**
|
|
2755
2762
|
* Only return root sessions (no parentID)
|
|
2756
2763
|
*/
|