@opencode-ai/sdk 1.0.103 → 1.0.105

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.
@@ -4,6 +4,12 @@ export type EventInstallationUpdated = {
4
4
  version: string;
5
5
  };
6
6
  };
7
+ export type EventInstallationUpdateAvailable = {
8
+ type: "installation.update-available";
9
+ properties: {
10
+ version: string;
11
+ };
12
+ };
7
13
  export type EventLspClientDiagnostics = {
8
14
  type: "lsp.client.diagnostics";
9
15
  properties: {
@@ -546,7 +552,7 @@ export type EventFileWatcherUpdated = {
546
552
  event: "add" | "change" | "unlink";
547
553
  };
548
554
  };
549
- export type Event = EventInstallationUpdated | EventLspClientDiagnostics | EventLspUpdated | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventPermissionUpdated | EventPermissionReplied | EventSessionStatus | EventSessionIdle | EventSessionCompacted | EventFileEdited | EventTodoUpdated | EventCommandExecuted | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventSessionDiff | EventSessionError | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventServerConnected | EventFileWatcherUpdated;
555
+ export type Event = EventInstallationUpdated | EventInstallationUpdateAvailable | EventLspClientDiagnostics | EventLspUpdated | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventPermissionUpdated | EventPermissionReplied | EventSessionStatus | EventSessionIdle | EventSessionCompacted | EventFileEdited | EventTodoUpdated | EventCommandExecuted | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventSessionDiff | EventSessionError | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventServerConnected | EventFileWatcherUpdated;
550
556
  export type GlobalEvent = {
551
557
  directory: string;
552
558
  payload: Event;
@@ -724,6 +730,10 @@ export type KeybindsConfig = {
724
730
  * Previous child session
725
731
  */
726
732
  session_child_cycle_reverse?: string;
733
+ /**
734
+ * Suspend terminal
735
+ */
736
+ terminal_suspend?: string;
727
737
  };
728
738
  export type AgentConfig = {
729
739
  model?: 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": "1.0.103",
4
+ "version": "1.0.105",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "typecheck": "tsgo --noEmit",