@opencode-ai/client 0.0.0-next-15020 → 0.0.0-next-15021
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.
|
@@ -547,6 +547,10 @@ export declare const make: (options?: {
|
|
|
547
547
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"WorkspaceV2.ID">) | undefined;
|
|
548
548
|
};
|
|
549
549
|
readonly parentID?: (string & import("effect/Brand").Brand<"SessionID">) | undefined;
|
|
550
|
+
readonly fork?: {
|
|
551
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
552
|
+
readonly messageID?: (string & import("effect/Brand").Brand<"Session.Message.ID">) | undefined;
|
|
553
|
+
} | undefined;
|
|
550
554
|
readonly agent?: (string & import("effect/Brand").Brand<"AgentV2.ID">) | undefined;
|
|
551
555
|
readonly model?: {
|
|
552
556
|
readonly id: string & import("effect/Brand").Brand<"ModelV2.ID">;
|
|
@@ -597,6 +601,10 @@ export declare const make: (options?: {
|
|
|
597
601
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"WorkspaceV2.ID">) | undefined;
|
|
598
602
|
};
|
|
599
603
|
readonly parentID?: (string & import("effect/Brand").Brand<"SessionID">) | undefined;
|
|
604
|
+
readonly fork?: {
|
|
605
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
606
|
+
readonly messageID?: (string & import("effect/Brand").Brand<"Session.Message.ID">) | undefined;
|
|
607
|
+
} | undefined;
|
|
600
608
|
readonly agent?: (string & import("effect/Brand").Brand<"AgentV2.ID">) | undefined;
|
|
601
609
|
readonly model?: {
|
|
602
610
|
readonly id: string & import("effect/Brand").Brand<"ModelV2.ID">;
|
|
@@ -647,6 +655,10 @@ export declare const make: (options?: {
|
|
|
647
655
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"WorkspaceV2.ID">) | undefined;
|
|
648
656
|
};
|
|
649
657
|
readonly parentID?: (string & import("effect/Brand").Brand<"SessionID">) | undefined;
|
|
658
|
+
readonly fork?: {
|
|
659
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
660
|
+
readonly messageID?: (string & import("effect/Brand").Brand<"Session.Message.ID">) | undefined;
|
|
661
|
+
} | undefined;
|
|
650
662
|
readonly agent?: (string & import("effect/Brand").Brand<"AgentV2.ID">) | undefined;
|
|
651
663
|
readonly model?: {
|
|
652
664
|
readonly id: string & import("effect/Brand").Brand<"ModelV2.ID">;
|
|
@@ -692,6 +704,10 @@ export declare const make: (options?: {
|
|
|
692
704
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"WorkspaceV2.ID">) | undefined;
|
|
693
705
|
};
|
|
694
706
|
readonly parentID?: (string & import("effect/Brand").Brand<"SessionID">) | undefined;
|
|
707
|
+
readonly fork?: {
|
|
708
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
709
|
+
readonly messageID?: (string & import("effect/Brand").Brand<"Session.Message.ID">) | undefined;
|
|
710
|
+
} | undefined;
|
|
695
711
|
readonly agent?: (string & import("effect/Brand").Brand<"AgentV2.ID">) | undefined;
|
|
696
712
|
readonly model?: {
|
|
697
713
|
readonly id: string & import("effect/Brand").Brand<"ModelV2.ID">;
|
|
@@ -26,6 +26,10 @@ export declare function make(options: ClientOptions): {
|
|
|
26
26
|
create: (input?: SessionCreateInput, requestOptions?: RequestOptions) => Promise<{
|
|
27
27
|
readonly id: string;
|
|
28
28
|
readonly parentID?: string;
|
|
29
|
+
readonly fork?: {
|
|
30
|
+
readonly sessionID: string;
|
|
31
|
+
readonly messageID?: string;
|
|
32
|
+
};
|
|
29
33
|
readonly projectID: string;
|
|
30
34
|
readonly agent?: string;
|
|
31
35
|
readonly model?: {
|
|
@@ -76,6 +80,10 @@ export declare function make(options: ClientOptions): {
|
|
|
76
80
|
get: (input: SessionGetInput, requestOptions?: RequestOptions) => Promise<{
|
|
77
81
|
readonly id: string;
|
|
78
82
|
readonly parentID?: string;
|
|
83
|
+
readonly fork?: {
|
|
84
|
+
readonly sessionID: string;
|
|
85
|
+
readonly messageID?: string;
|
|
86
|
+
};
|
|
79
87
|
readonly projectID: string;
|
|
80
88
|
readonly agent?: string;
|
|
81
89
|
readonly model?: {
|
|
@@ -121,6 +129,10 @@ export declare function make(options: ClientOptions): {
|
|
|
121
129
|
fork: (input: SessionForkInput, requestOptions?: RequestOptions) => Promise<{
|
|
122
130
|
readonly id: string;
|
|
123
131
|
readonly parentID?: string;
|
|
132
|
+
readonly fork?: {
|
|
133
|
+
readonly sessionID: string;
|
|
134
|
+
readonly messageID?: string;
|
|
135
|
+
};
|
|
124
136
|
readonly projectID: string;
|
|
125
137
|
readonly agent?: string;
|
|
126
138
|
readonly model?: {
|
|
@@ -324,6 +324,10 @@ export type SessionListOutput = {
|
|
|
324
324
|
readonly data: ReadonlyArray<{
|
|
325
325
|
readonly id: string;
|
|
326
326
|
readonly parentID?: string;
|
|
327
|
+
readonly fork?: {
|
|
328
|
+
readonly sessionID: string;
|
|
329
|
+
readonly messageID?: string;
|
|
330
|
+
};
|
|
327
331
|
readonly projectID: string;
|
|
328
332
|
readonly agent?: string;
|
|
329
333
|
readonly model?: {
|
|
@@ -429,6 +433,10 @@ export type SessionCreateOutput = {
|
|
|
429
433
|
readonly data: {
|
|
430
434
|
readonly id: string;
|
|
431
435
|
readonly parentID?: string;
|
|
436
|
+
readonly fork?: {
|
|
437
|
+
readonly sessionID: string;
|
|
438
|
+
readonly messageID?: string;
|
|
439
|
+
};
|
|
432
440
|
readonly projectID: string;
|
|
433
441
|
readonly agent?: string;
|
|
434
442
|
readonly model?: {
|
|
@@ -488,6 +496,10 @@ export type SessionGetOutput = {
|
|
|
488
496
|
readonly data: {
|
|
489
497
|
readonly id: string;
|
|
490
498
|
readonly parentID?: string;
|
|
499
|
+
readonly fork?: {
|
|
500
|
+
readonly sessionID: string;
|
|
501
|
+
readonly messageID?: string;
|
|
502
|
+
};
|
|
491
503
|
readonly projectID: string;
|
|
492
504
|
readonly agent?: string;
|
|
493
505
|
readonly model?: {
|
|
@@ -543,6 +555,10 @@ export type SessionForkOutput = {
|
|
|
543
555
|
readonly data: {
|
|
544
556
|
readonly id: string;
|
|
545
557
|
readonly parentID?: string;
|
|
558
|
+
readonly fork?: {
|
|
559
|
+
readonly sessionID: string;
|
|
560
|
+
readonly messageID?: string;
|
|
561
|
+
};
|
|
546
562
|
readonly projectID: string;
|
|
547
563
|
readonly agent?: string;
|
|
548
564
|
readonly model?: {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@opencode-ai/client",
|
|
4
|
-
"version": "0.0.0-next-
|
|
4
|
+
"version": "0.0.0-next-15021",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
"typecheck": "tsgo --noEmit"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@opencode-ai/schema": "0.0.0-next-
|
|
45
|
-
"@opencode-ai/protocol": "0.0.0-next-
|
|
44
|
+
"@opencode-ai/schema": "0.0.0-next-15021",
|
|
45
|
+
"@opencode-ai/protocol": "0.0.0-next-15021"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
48
|
"effect": "4.0.0-beta.83"
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@effect/platform-node": "4.0.0-beta.83",
|
|
57
|
-
"@opencode-ai/httpapi-codegen": "0.0.0-next-
|
|
57
|
+
"@opencode-ai/httpapi-codegen": "0.0.0-next-15021",
|
|
58
58
|
"@tsconfig/bun": "1.0.9",
|
|
59
59
|
"@types/bun": "1.3.13",
|
|
60
60
|
"@typescript/native-preview": "7.0.0-dev.20251207.1",
|