@opencode-ai/client 0.0.0-next-17173 → 0.0.0-next-17176
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/effect/api/api.d.ts
CHANGED
|
@@ -391,6 +391,7 @@ export type Endpoint5_31Output = ({
|
|
|
391
391
|
readonly data: {
|
|
392
392
|
readonly sessionID: Session.ID;
|
|
393
393
|
readonly agent: Agent.ID;
|
|
394
|
+
readonly previous?: Agent.ID | undefined;
|
|
394
395
|
};
|
|
395
396
|
} | {
|
|
396
397
|
readonly id: Event.ID;
|
|
@@ -408,6 +409,7 @@ export type Endpoint5_31Output = ({
|
|
|
408
409
|
readonly data: {
|
|
409
410
|
readonly sessionID: Session.ID;
|
|
410
411
|
readonly model: Model.Ref;
|
|
412
|
+
readonly previous?: Model.Ref | undefined;
|
|
411
413
|
};
|
|
412
414
|
} | {
|
|
413
415
|
readonly id: Event.ID;
|
|
@@ -592,8 +592,9 @@ export declare const make: (options?: {
|
|
|
592
592
|
} | {
|
|
593
593
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
594
594
|
readonly data: {
|
|
595
|
-
readonly agent: string & import("effect/Brand").Brand<"Agent.ID">;
|
|
596
595
|
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
596
|
+
readonly agent: string & import("effect/Brand").Brand<"Agent.ID">;
|
|
597
|
+
readonly previous?: (string & import("effect/Brand").Brand<"Agent.ID">) | undefined;
|
|
597
598
|
};
|
|
598
599
|
readonly durable: {
|
|
599
600
|
readonly aggregateID: string;
|
|
@@ -612,12 +613,17 @@ export declare const make: (options?: {
|
|
|
612
613
|
} | {
|
|
613
614
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
614
615
|
readonly data: {
|
|
616
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
615
617
|
readonly model: {
|
|
616
618
|
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
617
619
|
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
618
620
|
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
619
621
|
};
|
|
620
|
-
readonly
|
|
622
|
+
readonly previous?: {
|
|
623
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
624
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
625
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
626
|
+
} | undefined;
|
|
621
627
|
};
|
|
622
628
|
readonly durable: {
|
|
623
629
|
readonly aggregateID: string;
|
|
@@ -660,6 +660,7 @@ export type SessionAgentSelected = {
|
|
|
660
660
|
data: {
|
|
661
661
|
sessionID: string;
|
|
662
662
|
agent: string;
|
|
663
|
+
previous?: string;
|
|
663
664
|
};
|
|
664
665
|
};
|
|
665
666
|
export type SessionModelSelected = {
|
|
@@ -678,6 +679,7 @@ export type SessionModelSelected = {
|
|
|
678
679
|
data: {
|
|
679
680
|
sessionID: string;
|
|
680
681
|
model: ModelRef;
|
|
682
|
+
previous?: ModelRef;
|
|
681
683
|
};
|
|
682
684
|
};
|
|
683
685
|
export type SessionMoved = {
|
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-17176",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
"typecheck": "tsgo --noEmit"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@opencode-ai/schema": "0.0.0-next-
|
|
57
|
-
"@opencode-ai/protocol": "0.0.0-next-
|
|
56
|
+
"@opencode-ai/schema": "0.0.0-next-17176",
|
|
57
|
+
"@opencode-ai/protocol": "0.0.0-next-17176"
|
|
58
58
|
},
|
|
59
59
|
"peerDependencies": {
|
|
60
60
|
"effect": "4.0.0-beta.101"
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
68
|
"@effect/platform-node": "4.0.0-beta.101",
|
|
69
|
-
"@opencode-ai/httpapi-codegen": "0.0.0-next-
|
|
69
|
+
"@opencode-ai/httpapi-codegen": "0.0.0-next-17176",
|
|
70
70
|
"@tsconfig/bun": "1.0.9",
|
|
71
71
|
"@types/bun": "1.3.13",
|
|
72
72
|
"@typescript/native-preview": "7.0.0-dev.20251207.1",
|