@opencode-ai/sdk 0.0.0-next-15585 → 0.0.0-next-15587
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
|
@@ -1834,10 +1834,7 @@ export declare class Session3 extends HeyApiClient {
|
|
|
1834
1834
|
*/
|
|
1835
1835
|
move<ThrowOnError extends boolean = false>(parameters: {
|
|
1836
1836
|
sessionID: string;
|
|
1837
|
-
|
|
1838
|
-
directory: string;
|
|
1839
|
-
};
|
|
1840
|
-
moveChanges?: boolean | null;
|
|
1837
|
+
locationRefV2: LocationRefV2;
|
|
1841
1838
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2SessionMoveResponses, V2SessionMoveErrors, ThrowOnError, "fields">;
|
|
1842
1839
|
/**
|
|
1843
1840
|
* Send message
|
package/dist/v2/gen/sdk.gen.js
CHANGED
|
@@ -3729,8 +3729,7 @@ export class Session3 extends HeyApiClient {
|
|
|
3729
3729
|
{
|
|
3730
3730
|
args: [
|
|
3731
3731
|
{ in: "path", key: "sessionID" },
|
|
3732
|
-
{
|
|
3733
|
-
{ in: "body", key: "moveChanges" },
|
|
3732
|
+
{ key: "locationRefV2", map: "body" },
|
|
3734
3733
|
],
|
|
3735
3734
|
},
|
|
3736
3735
|
]);
|
|
@@ -576,6 +576,7 @@ export type GlobalEvent = {
|
|
|
576
576
|
properties: {
|
|
577
577
|
sessionID: string;
|
|
578
578
|
location: LocationRef;
|
|
579
|
+
projectID?: string;
|
|
579
580
|
subpath?: string;
|
|
580
581
|
};
|
|
581
582
|
} | {
|
|
@@ -2987,6 +2988,7 @@ export type SyncEventSessionMoved = {
|
|
|
2987
2988
|
data: {
|
|
2988
2989
|
sessionID: string;
|
|
2989
2990
|
location: LocationRef;
|
|
2991
|
+
projectID?: string;
|
|
2990
2992
|
subpath?: string;
|
|
2991
2993
|
};
|
|
2992
2994
|
};
|
|
@@ -3945,6 +3947,7 @@ export type SessionMoved = {
|
|
|
3945
3947
|
data: {
|
|
3946
3948
|
sessionID: string;
|
|
3947
3949
|
location: LocationRef;
|
|
3950
|
+
projectID?: string;
|
|
3948
3951
|
subpath?: string;
|
|
3949
3952
|
};
|
|
3950
3953
|
};
|
|
@@ -6030,6 +6033,7 @@ export type EventSessionMoved = {
|
|
|
6030
6033
|
properties: {
|
|
6031
6034
|
sessionID: string;
|
|
6032
6035
|
location: LocationRef;
|
|
6036
|
+
projectID?: string;
|
|
6033
6037
|
subpath?: string;
|
|
6034
6038
|
};
|
|
6035
6039
|
};
|
|
@@ -7657,6 +7661,7 @@ export type SessionMovedV2 = {
|
|
|
7657
7661
|
data: {
|
|
7658
7662
|
sessionID: string;
|
|
7659
7663
|
location: LocationRefV2;
|
|
7664
|
+
projectID?: string;
|
|
7660
7665
|
subpath?: string;
|
|
7661
7666
|
};
|
|
7662
7667
|
};
|
|
@@ -13351,12 +13356,7 @@ export type V2SessionRenameResponses = {
|
|
|
13351
13356
|
};
|
|
13352
13357
|
export type V2SessionRenameResponse = V2SessionRenameResponses[keyof V2SessionRenameResponses];
|
|
13353
13358
|
export type V2SessionMoveData = {
|
|
13354
|
-
body:
|
|
13355
|
-
destination: {
|
|
13356
|
-
directory: string;
|
|
13357
|
-
};
|
|
13358
|
-
moveChanges?: boolean | null;
|
|
13359
|
-
};
|
|
13359
|
+
body: LocationRefV2;
|
|
13360
13360
|
path: {
|
|
13361
13361
|
sessionID: string;
|
|
13362
13362
|
};
|