@opencode-ai/client 0.0.0-next-17400 → 0.0.0-next-17428

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.
@@ -1705,6 +1705,7 @@ export type Endpoint15_3Input = {
1705
1705
  readonly action: string;
1706
1706
  readonly resources: ReadonlyArray<string>;
1707
1707
  readonly save?: ReadonlyArray<string> | undefined;
1708
+ readonly opaque?: boolean | undefined;
1708
1709
  readonly metadata?: {
1709
1710
  readonly [x: string]: unknown;
1710
1711
  } | undefined;
@@ -451,6 +451,7 @@ export declare const make: (options?: {
451
451
  readonly [x: string]: unknown;
452
452
  } | undefined;
453
453
  readonly save?: readonly string[] | undefined;
454
+ readonly opaque?: boolean | undefined;
454
455
  readonly source?: {
455
456
  readonly type: "tool";
456
457
  readonly messageID: string;
@@ -311,6 +311,7 @@ const Endpoint15_3 = (raw) => (input) => preserveEffect()(raw["session.permissio
311
311
  action: input["action"],
312
312
  resources: input["resources"],
313
313
  save: input["save"],
314
+ opaque: input["opaque"],
314
315
  metadata: input["metadata"],
315
316
  source: input["source"],
316
317
  agent: input["agent"],
@@ -840,6 +840,7 @@ export function make(options) {
840
840
  action: input["action"],
841
841
  resources: input["resources"],
842
842
  save: input["save"],
843
+ opaque: input["opaque"],
843
844
  metadata: input["metadata"],
844
845
  source: input["source"],
845
846
  agent: input["agent"],
@@ -2020,6 +2020,7 @@ export type PermissionRequest = {
2020
2020
  action: string;
2021
2021
  resources: Array<string>;
2022
2022
  save?: Array<string>;
2023
+ opaque?: boolean;
2023
2024
  metadata?: {
2024
2025
  [x: string]: JsonValue;
2025
2026
  };
@@ -2039,6 +2040,7 @@ export type PermissionAsked = {
2039
2040
  action: string;
2040
2041
  resources: Array<string>;
2041
2042
  save?: Array<string>;
2043
+ opaque?: boolean;
2042
2044
  metadata?: {
2043
2045
  [x: string]: any;
2044
2046
  };
@@ -7040,6 +7042,7 @@ export type PermissionCreateInput = {
7040
7042
  readonly action: string;
7041
7043
  readonly resources: ReadonlyArray<string>;
7042
7044
  readonly save?: ReadonlyArray<string>;
7045
+ readonly opaque?: boolean;
7043
7046
  readonly metadata?: {
7044
7047
  readonly [x: string]: JsonValue;
7045
7048
  };
@@ -7055,6 +7058,7 @@ export type PermissionCreateInput = {
7055
7058
  readonly action: string;
7056
7059
  readonly resources: ReadonlyArray<string>;
7057
7060
  readonly save?: ReadonlyArray<string>;
7061
+ readonly opaque?: boolean;
7058
7062
  readonly metadata?: {
7059
7063
  readonly [x: string]: JsonValue;
7060
7064
  };
@@ -7070,6 +7074,7 @@ export type PermissionCreateInput = {
7070
7074
  readonly action: string;
7071
7075
  readonly resources: ReadonlyArray<string>;
7072
7076
  readonly save?: ReadonlyArray<string>;
7077
+ readonly opaque?: boolean;
7073
7078
  readonly metadata?: {
7074
7079
  readonly [x: string]: JsonValue;
7075
7080
  };
@@ -7085,6 +7090,7 @@ export type PermissionCreateInput = {
7085
7090
  readonly action: string;
7086
7091
  readonly resources: ReadonlyArray<string>;
7087
7092
  readonly save?: ReadonlyArray<string>;
7093
+ readonly opaque?: boolean;
7088
7094
  readonly metadata?: {
7089
7095
  readonly [x: string]: JsonValue;
7090
7096
  };
@@ -7095,11 +7101,28 @@ export type PermissionCreateInput = {
7095
7101
  };
7096
7102
  readonly agent?: string | null;
7097
7103
  }["save"];
7104
+ readonly opaque?: {
7105
+ readonly id?: string | null;
7106
+ readonly action: string;
7107
+ readonly resources: ReadonlyArray<string>;
7108
+ readonly save?: ReadonlyArray<string>;
7109
+ readonly opaque?: boolean;
7110
+ readonly metadata?: {
7111
+ readonly [x: string]: JsonValue;
7112
+ };
7113
+ readonly source?: {
7114
+ readonly type: "tool";
7115
+ readonly messageID: string;
7116
+ readonly id: string;
7117
+ };
7118
+ readonly agent?: string | null;
7119
+ }["opaque"];
7098
7120
  readonly metadata?: {
7099
7121
  readonly id?: string | null;
7100
7122
  readonly action: string;
7101
7123
  readonly resources: ReadonlyArray<string>;
7102
7124
  readonly save?: ReadonlyArray<string>;
7125
+ readonly opaque?: boolean;
7103
7126
  readonly metadata?: {
7104
7127
  readonly [x: string]: JsonValue;
7105
7128
  };
@@ -7115,6 +7138,7 @@ export type PermissionCreateInput = {
7115
7138
  readonly action: string;
7116
7139
  readonly resources: ReadonlyArray<string>;
7117
7140
  readonly save?: ReadonlyArray<string>;
7141
+ readonly opaque?: boolean;
7118
7142
  readonly metadata?: {
7119
7143
  readonly [x: string]: JsonValue;
7120
7144
  };
@@ -7130,6 +7154,7 @@ export type PermissionCreateInput = {
7130
7154
  readonly action: string;
7131
7155
  readonly resources: ReadonlyArray<string>;
7132
7156
  readonly save?: ReadonlyArray<string>;
7157
+ readonly opaque?: boolean;
7133
7158
  readonly metadata?: {
7134
7159
  readonly [x: string]: JsonValue;
7135
7160
  };
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-next-17400",
4
+ "version": "0.0.0-next-17428",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -53,8 +53,8 @@
53
53
  "typecheck": "tsgo --noEmit"
54
54
  },
55
55
  "dependencies": {
56
- "@opencode-ai/schema": "0.0.0-next-17400",
57
- "@opencode-ai/protocol": "0.0.0-next-17400"
56
+ "@opencode-ai/schema": "0.0.0-next-17428",
57
+ "@opencode-ai/protocol": "0.0.0-next-17428"
58
58
  },
59
59
  "peerDependencies": {
60
60
  "effect": "4.0.0-beta.101"
@@ -66,7 +66,7 @@
66
66
  },
67
67
  "devDependencies": {
68
68
  "@effect/platform-node": "4.0.0-beta.101",
69
- "@opencode-ai/httpapi-codegen": "0.0.0-next-17400",
69
+ "@opencode-ai/httpapi-codegen": "0.0.0-next-17428",
70
70
  "@tsconfig/bun": "1.0.9",
71
71
  "@types/bun": "1.3.13",
72
72
  "@typescript/native-preview": "7.0.0-dev.20251207.1",