@opencode-ai/sdk 1.0.192 → 1.0.194

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.
@@ -115,6 +115,9 @@ export type ApiError = {
115
115
  [key: string]: string;
116
116
  };
117
117
  responseBody?: string;
118
+ metadata?: {
119
+ [key: string]: string;
120
+ };
118
121
  };
119
122
  };
120
123
  export type AssistantMessage = {
@@ -501,6 +504,12 @@ export type EventTuiToastShow = {
501
504
  duration?: number;
502
505
  };
503
506
  };
507
+ export type EventMcpToolsChanged = {
508
+ type: "mcp.tools.changed";
509
+ properties: {
510
+ server: string;
511
+ };
512
+ };
504
513
  export type EventCommandExecuted = {
505
514
  type: "command.executed";
506
515
  properties: {
@@ -630,7 +639,7 @@ export type EventGlobalDisposed = {
630
639
  [key: string]: unknown;
631
640
  };
632
641
  };
633
- export type Event = EventInstallationUpdated | EventInstallationUpdateAvailable | EventProjectUpdated | EventServerInstanceDisposed | EventLspClientDiagnostics | EventLspUpdated | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventPermissionUpdated | EventPermissionReplied | EventFileEdited | EventTodoUpdated | EventSessionStatus | EventSessionIdle | EventSessionCompacted | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventCommandExecuted | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventSessionDiff | EventSessionError | EventFileWatcherUpdated | EventVcsBranchUpdated | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventServerConnected | EventGlobalDisposed;
642
+ export type Event = EventInstallationUpdated | EventInstallationUpdateAvailable | EventProjectUpdated | EventServerInstanceDisposed | EventLspClientDiagnostics | EventLspUpdated | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventPermissionUpdated | EventPermissionReplied | EventFileEdited | EventTodoUpdated | EventSessionStatus | EventSessionIdle | EventSessionCompacted | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventMcpToolsChanged | EventCommandExecuted | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventSessionDiff | EventSessionError | EventFileWatcherUpdated | EventVcsBranchUpdated | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventServerConnected | EventGlobalDisposed;
634
643
  export type GlobalEvent = {
635
644
  directory: string;
636
645
  payload: Event;
@@ -992,6 +1001,10 @@ export type KeybindsConfig = {
992
1001
  * Toggle terminal title
993
1002
  */
994
1003
  terminal_title_toggle?: string;
1004
+ /**
1005
+ * Toggle tips on home screen
1006
+ */
1007
+ tips_toggle?: string;
995
1008
  };
996
1009
  export type AgentConfig = {
997
1010
  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.192",
4
+ "version": "1.0.194",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "typecheck": "tsgo --noEmit",