@opencode-ai/sdk 0.15.14 → 0.15.15

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.
@@ -504,11 +504,21 @@ export type Path = {
504
504
  worktree: string;
505
505
  directory: string;
506
506
  };
507
+ export type FileDiff = {
508
+ file: string;
509
+ before: string;
510
+ after: string;
511
+ additions: number;
512
+ deletions: number;
513
+ };
507
514
  export type Session = {
508
515
  id: string;
509
516
  projectID: string;
510
517
  directory: string;
511
518
  parentID?: string;
519
+ summary?: {
520
+ diffs: Array<FileDiff>;
521
+ };
512
522
  share?: {
513
523
  url: string;
514
524
  };
@@ -550,13 +560,6 @@ export type Todo = {
550
560
  */
551
561
  id: string;
552
562
  };
553
- export type FileDiff = {
554
- file: string;
555
- before: string;
556
- after: string;
557
- additions: number;
558
- deletions: number;
559
- };
560
563
  export type UserMessage = {
561
564
  id: string;
562
565
  sessionID: 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.15.14",
4
+ "version": "0.15.15",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "typecheck": "tsgo --noEmit",