@opencode-ai/sdk 1.0.25 → 1.0.27

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.
@@ -502,6 +502,7 @@ export type Session = {
502
502
  summary?: {
503
503
  additions: number;
504
504
  deletions: number;
505
+ files: number;
505
506
  diffs?: Array<FileDiff>;
506
507
  };
507
508
  share?: {
@@ -1122,13 +1123,6 @@ export type EventFileEdited = {
1122
1123
  file: string;
1123
1124
  };
1124
1125
  };
1125
- export type EventFileWatcherUpdated = {
1126
- type: "file.watcher.updated";
1127
- properties: {
1128
- file: string;
1129
- event: "add" | "change" | "unlink";
1130
- };
1131
- };
1132
1126
  export type EventTodoUpdated = {
1133
1127
  type: "todo.updated";
1134
1128
  properties: {
@@ -1182,7 +1176,14 @@ export type EventServerConnected = {
1182
1176
  [key: string]: unknown;
1183
1177
  };
1184
1178
  };
1185
- export type Event = EventInstallationUpdated | EventLspClientDiagnostics | EventLspUpdated | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventSessionCompacted | EventPermissionUpdated | EventPermissionReplied | EventFileEdited | EventFileWatcherUpdated | EventTodoUpdated | EventCommandExecuted | EventSessionIdle | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventSessionError | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventServerConnected;
1179
+ export type EventFileWatcherUpdated = {
1180
+ type: "file.watcher.updated";
1181
+ properties: {
1182
+ file: string;
1183
+ event: "add" | "change" | "unlink";
1184
+ };
1185
+ };
1186
+ export type Event = EventInstallationUpdated | EventLspClientDiagnostics | EventLspUpdated | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventSessionCompacted | EventPermissionUpdated | EventPermissionReplied | EventFileEdited | EventTodoUpdated | EventCommandExecuted | EventSessionIdle | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventSessionError | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventServerConnected | EventFileWatcherUpdated;
1186
1187
  export type ProjectListData = {
1187
1188
  body?: never;
1188
1189
  path?: never;
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": "1.0.25",
4
+ "version": "1.0.27",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "typecheck": "tsgo --noEmit",