@opencode-ai/sdk 0.0.0-next-14855 → 0.0.0-next-14870

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.
@@ -3496,6 +3496,7 @@ export type SessionMessageModelSelected = {
3496
3496
  };
3497
3497
  type: "model-switched";
3498
3498
  model: ModelRef;
3499
+ previous?: ModelRef;
3499
3500
  };
3500
3501
  export type SessionMessageUser = {
3501
3502
  id: string;
@@ -6795,6 +6796,7 @@ export type SessionMessageModelSelected2 = {
6795
6796
  };
6796
6797
  type: "model-switched";
6797
6798
  model: ModelRef2;
6799
+ previous?: ModelRef2;
6798
6800
  };
6799
6801
  export type SessionMessageUser2 = {
6800
6802
  id: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@opencode-ai/sdk",
4
- "version": "0.0.0-next-14855",
4
+ "version": "0.0.0-next-14870",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "scripts": {