@opencode-ai/sdk 0.7.5 → 0.7.7

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.
@@ -278,6 +278,7 @@ export type ToolStateCompleted = {
278
278
  time: {
279
279
  start: number;
280
280
  end: number;
281
+ compacted?: number;
281
282
  };
282
283
  };
283
284
  export type ToolStateError = {
@@ -400,10 +401,6 @@ export type Session = {
400
401
  };
401
402
  title: string;
402
403
  version: string;
403
- compaction?: {
404
- full?: string;
405
- micro?: string;
406
- };
407
404
  time: {
408
405
  created: number;
409
406
  updated: number;
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.7.5",
4
+ "version": "0.7.7",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "typecheck": "tsc --noEmit"