@opencode-ai/client 0.0.0-next-17134 → 0.0.0-next-17137

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.
@@ -60,6 +60,7 @@ export type SessionMessageAgentSelected = {
60
60
  };
61
61
  type: "agent-switched";
62
62
  agent: string;
63
+ previous?: string;
63
64
  };
64
65
  export type PromptBase64 = string;
65
66
  export type PromptFileSource = {
@@ -3308,6 +3309,7 @@ export type SessionImportInput = {
3308
3309
  };
3309
3310
  readonly type: "agent-switched";
3310
3311
  readonly agent: string;
3312
+ readonly previous?: string;
3311
3313
  } | {
3312
3314
  readonly id: string;
3313
3315
  readonly metadata?: {
@@ -3690,6 +3692,7 @@ export type SessionImportInput = {
3690
3692
  };
3691
3693
  readonly type: "agent-switched";
3692
3694
  readonly agent: string;
3695
+ readonly previous?: string;
3693
3696
  } | {
3694
3697
  readonly id: string;
3695
3698
  readonly metadata?: {
@@ -4072,6 +4075,7 @@ export type SessionImportInput = {
4072
4075
  };
4073
4076
  readonly type: "agent-switched";
4074
4077
  readonly agent: string;
4078
+ readonly previous?: string;
4075
4079
  } | {
4076
4080
  readonly id: string;
4077
4081
  readonly metadata?: {
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-17134",
4
+ "version": "0.0.0-next-17137",
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-17134",
57
- "@opencode-ai/protocol": "0.0.0-next-17134"
56
+ "@opencode-ai/schema": "0.0.0-next-17137",
57
+ "@opencode-ai/protocol": "0.0.0-next-17137"
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-17134",
69
+ "@opencode-ai/httpapi-codegen": "0.0.0-next-17137",
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",