@opencode-ai/sdk 0.10.0 → 0.10.2

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.
@@ -1008,12 +1008,6 @@ export type EventSessionError = {
1008
1008
  error?: ProviderAuthError | UnknownError | MessageOutputLengthError | MessageAbortedError;
1009
1009
  };
1010
1010
  };
1011
- export type EventServerConnected = {
1012
- type: "server.connected";
1013
- properties: {
1014
- [key: string]: unknown;
1015
- };
1016
- };
1017
1011
  export type EventFileWatcherUpdated = {
1018
1012
  type: "file.watcher.updated";
1019
1013
  properties: {
@@ -1021,13 +1015,19 @@ export type EventFileWatcherUpdated = {
1021
1015
  event: "add" | "change" | "unlink";
1022
1016
  };
1023
1017
  };
1018
+ export type EventServerConnected = {
1019
+ type: "server.connected";
1020
+ properties: {
1021
+ [key: string]: unknown;
1022
+ };
1023
+ };
1024
1024
  export type EventIdeInstalled = {
1025
1025
  type: "ide.installed";
1026
1026
  properties: {
1027
1027
  ide: string;
1028
1028
  };
1029
1029
  };
1030
- export type Event = EventInstallationUpdated | EventLspClientDiagnostics | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventSessionCompacted | EventPermissionUpdated | EventPermissionReplied | EventFileEdited | EventSessionIdle | EventSessionUpdated | EventSessionDeleted | EventSessionError | EventServerConnected | EventFileWatcherUpdated | EventIdeInstalled;
1030
+ export type Event = EventInstallationUpdated | EventLspClientDiagnostics | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventSessionCompacted | EventPermissionUpdated | EventPermissionReplied | EventFileEdited | EventSessionIdle | EventSessionUpdated | EventSessionDeleted | EventSessionError | EventFileWatcherUpdated | EventServerConnected | EventIdeInstalled;
1031
1031
  export type ProjectListData = {
1032
1032
  body?: never;
1033
1033
  path?: never;
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@opencode-ai/sdk",
4
- "version": "0.10.0",
4
+ "version": "0.10.2",
5
5
  "type": "module",
6
6
  "scripts": {
7
- "typecheck": "tsc --noEmit"
7
+ "typecheck": "tsc --noEmit",
8
+ "build": "tsc"
8
9
  },
9
10
  "exports": {
10
11
  ".": {