@opencode-ai/client 0.0.0-dev-18211 → 0.0.0-dev-18212

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.
@@ -449,6 +449,7 @@ export declare const make: (options?: {
449
449
  readonly metadata?: {
450
450
  readonly [x: string]: unknown;
451
451
  } | undefined;
452
+ readonly message?: string | undefined;
452
453
  readonly save?: readonly string[] | undefined;
453
454
  readonly source?: {
454
455
  readonly type: "tool";
@@ -3,10 +3,12 @@ export type AgentApi = Client["agent"];
3
3
  export type CommandApi = Client["command"];
4
4
  export type ConfigApi = Client["config"];
5
5
  export type EventApi = Client["event"];
6
+ export type GenerateApi = Client["generate"];
6
7
  export type IntegrationApi = Client["integration"];
7
8
  export type McpApi = Client["mcp"];
8
9
  export type ModelApi = Client["model"];
9
10
  export type PluginApi = Client["plugin"];
11
+ export type PermissionApi = Client["permission"];
10
12
  export type ProviderApi = Client["provider"];
11
13
  export type ReferenceApi = Client["reference"];
12
14
  export type WebSearchApi = Client["websearch"];
@@ -2083,6 +2083,7 @@ export type PermissionRequest = {
2083
2083
  [x: string]: JsonValue;
2084
2084
  };
2085
2085
  source?: PermissionSource;
2086
+ message?: string;
2086
2087
  };
2087
2088
  export type PermissionAsked = {
2088
2089
  id: string;
@@ -2102,6 +2103,7 @@ export type PermissionAsked = {
2102
2103
  [x: string]: any;
2103
2104
  };
2104
2105
  source?: PermissionSource;
2106
+ message?: string;
2105
2107
  };
2106
2108
  };
2107
2109
  export type PermissionReplied = {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@opencode-ai/client",
4
- "version": "0.0.0-dev-18211",
4
+ "version": "0.0.0-dev-18212",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -57,8 +57,8 @@
57
57
  "typecheck": "tsgo --noEmit"
58
58
  },
59
59
  "dependencies": {
60
- "@opencode-ai/schema": "0.0.0-dev-18211",
61
- "@opencode-ai/protocol": "0.0.0-dev-18211"
60
+ "@opencode-ai/schema": "0.0.0-dev-18212",
61
+ "@opencode-ai/protocol": "0.0.0-dev-18212"
62
62
  },
63
63
  "peerDependencies": {
64
64
  "effect": "4.0.0-rc.111",
@@ -74,7 +74,7 @@
74
74
  },
75
75
  "devDependencies": {
76
76
  "@effect/platform-node": "4.0.0-rc.111",
77
- "@opencode-ai/httpapi-codegen": "0.0.0-dev-18211",
77
+ "@opencode-ai/httpapi-codegen": "0.0.0-dev-18212",
78
78
  "@tsconfig/bun": "1.0.9",
79
79
  "@types/bun": "1.3.13",
80
80
  "@typescript/native-preview": "7.0.0-dev.20251207.1",