@opencode-ai/sdk 1.14.45 → 1.14.46
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 +10 -0
- package/dist/v2/gen/sdk.gen.js +10 -0
- package/dist/v2/gen/types.gen.d.ts +16 -0
- package/package.json +1 -1
package/dist/v2/gen/sdk.gen.d.ts
CHANGED
|
@@ -1304,6 +1304,13 @@ export declare class Session3 extends HeyApiClient {
|
|
|
1304
1304
|
list<ThrowOnError extends boolean = false>(parameters?: {
|
|
1305
1305
|
directory?: string;
|
|
1306
1306
|
workspace?: string;
|
|
1307
|
+
limit?: number;
|
|
1308
|
+
order?: "asc" | "desc";
|
|
1309
|
+
path?: string;
|
|
1310
|
+
roots?: boolean | "true" | "false";
|
|
1311
|
+
start?: number;
|
|
1312
|
+
search?: string;
|
|
1313
|
+
cursor?: string;
|
|
1307
1314
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2SessionListResponses, V2SessionListErrors, ThrowOnError, "fields">;
|
|
1308
1315
|
/**
|
|
1309
1316
|
* Send v2 message
|
|
@@ -1356,6 +1363,9 @@ export declare class Session3 extends HeyApiClient {
|
|
|
1356
1363
|
sessionID: string;
|
|
1357
1364
|
directory?: string;
|
|
1358
1365
|
workspace?: string;
|
|
1366
|
+
limit?: number;
|
|
1367
|
+
order?: "asc" | "desc";
|
|
1368
|
+
cursor?: string;
|
|
1359
1369
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2SessionMessagesResponses, V2SessionMessagesErrors, ThrowOnError, "fields">;
|
|
1360
1370
|
}
|
|
1361
1371
|
export declare class V2 extends HeyApiClient {
|
package/dist/v2/gen/sdk.gen.js
CHANGED
|
@@ -2614,6 +2614,13 @@ export class Session3 extends HeyApiClient {
|
|
|
2614
2614
|
args: [
|
|
2615
2615
|
{ in: "query", key: "directory" },
|
|
2616
2616
|
{ in: "query", key: "workspace" },
|
|
2617
|
+
{ in: "query", key: "limit" },
|
|
2618
|
+
{ in: "query", key: "order" },
|
|
2619
|
+
{ in: "query", key: "path" },
|
|
2620
|
+
{ in: "query", key: "roots" },
|
|
2621
|
+
{ in: "query", key: "start" },
|
|
2622
|
+
{ in: "query", key: "search" },
|
|
2623
|
+
{ in: "query", key: "cursor" },
|
|
2617
2624
|
],
|
|
2618
2625
|
},
|
|
2619
2626
|
]);
|
|
@@ -2726,6 +2733,9 @@ export class Session3 extends HeyApiClient {
|
|
|
2726
2733
|
{ in: "path", key: "sessionID" },
|
|
2727
2734
|
{ in: "query", key: "directory" },
|
|
2728
2735
|
{ in: "query", key: "workspace" },
|
|
2736
|
+
{ in: "query", key: "limit" },
|
|
2737
|
+
{ in: "query", key: "order" },
|
|
2738
|
+
{ in: "query", key: "cursor" },
|
|
2729
2739
|
],
|
|
2730
2740
|
},
|
|
2731
2741
|
]);
|
|
@@ -5249,6 +5249,16 @@ export type V2SessionListData = {
|
|
|
5249
5249
|
query?: {
|
|
5250
5250
|
directory?: string;
|
|
5251
5251
|
workspace?: string;
|
|
5252
|
+
limit?: number;
|
|
5253
|
+
order?: "asc" | "desc";
|
|
5254
|
+
path?: string;
|
|
5255
|
+
roots?: boolean | "true" | "false";
|
|
5256
|
+
start?: number;
|
|
5257
|
+
search?: string;
|
|
5258
|
+
/**
|
|
5259
|
+
* Opaque pagination cursor returned as cursor.previous or cursor.next in the previous response. Do not combine with order or filters.
|
|
5260
|
+
*/
|
|
5261
|
+
cursor?: string;
|
|
5252
5262
|
};
|
|
5253
5263
|
url: "/api/session";
|
|
5254
5264
|
};
|
|
@@ -5349,6 +5359,12 @@ export type V2SessionMessagesData = {
|
|
|
5349
5359
|
query?: {
|
|
5350
5360
|
directory?: string;
|
|
5351
5361
|
workspace?: string;
|
|
5362
|
+
limit?: number;
|
|
5363
|
+
order?: "asc" | "desc";
|
|
5364
|
+
/**
|
|
5365
|
+
* Opaque pagination cursor returned as cursor.previous or cursor.next in the previous response. Do not combine with order.
|
|
5366
|
+
*/
|
|
5367
|
+
cursor?: string;
|
|
5352
5368
|
};
|
|
5353
5369
|
url: "/api/session/{sessionID}/message";
|
|
5354
5370
|
};
|