@opencode-ai/client 0.0.0-next-17430 → 0.0.0-next-17444
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.
package/dist/effect/api/api.d.ts
CHANGED
|
@@ -1695,7 +1695,6 @@ export type Endpoint15_3Input = {
|
|
|
1695
1695
|
readonly action: string;
|
|
1696
1696
|
readonly resources: ReadonlyArray<string>;
|
|
1697
1697
|
readonly save?: ReadonlyArray<string> | undefined;
|
|
1698
|
-
readonly opaque?: boolean | undefined;
|
|
1699
1698
|
readonly metadata?: {
|
|
1700
1699
|
readonly [x: string]: unknown;
|
|
1701
1700
|
} | undefined;
|
|
@@ -447,7 +447,6 @@ export declare const make: (options?: {
|
|
|
447
447
|
readonly [x: string]: unknown;
|
|
448
448
|
} | undefined;
|
|
449
449
|
readonly save?: readonly string[] | undefined;
|
|
450
|
-
readonly opaque?: boolean | undefined;
|
|
451
450
|
readonly source?: {
|
|
452
451
|
readonly type: "tool";
|
|
453
452
|
readonly messageID: string;
|
|
@@ -303,7 +303,6 @@ const Endpoint15_3 = (raw) => (input) => preserveEffect()(raw["session.permissio
|
|
|
303
303
|
action: input["action"],
|
|
304
304
|
resources: input["resources"],
|
|
305
305
|
save: input["save"],
|
|
306
|
-
opaque: input["opaque"],
|
|
307
306
|
metadata: input["metadata"],
|
|
308
307
|
source: input["source"],
|
|
309
308
|
agent: input["agent"],
|
|
@@ -2019,7 +2019,6 @@ export type PermissionRequest = {
|
|
|
2019
2019
|
action: string;
|
|
2020
2020
|
resources: Array<string>;
|
|
2021
2021
|
save?: Array<string>;
|
|
2022
|
-
opaque?: boolean;
|
|
2023
2022
|
metadata?: {
|
|
2024
2023
|
[x: string]: JsonValue;
|
|
2025
2024
|
};
|
|
@@ -2039,7 +2038,6 @@ export type PermissionAsked = {
|
|
|
2039
2038
|
action: string;
|
|
2040
2039
|
resources: Array<string>;
|
|
2041
2040
|
save?: Array<string>;
|
|
2042
|
-
opaque?: boolean;
|
|
2043
2041
|
metadata?: {
|
|
2044
2042
|
[x: string]: any;
|
|
2045
2043
|
};
|
|
@@ -7030,7 +7028,6 @@ export type PermissionCreateInput = {
|
|
|
7030
7028
|
readonly action: string;
|
|
7031
7029
|
readonly resources: ReadonlyArray<string>;
|
|
7032
7030
|
readonly save?: ReadonlyArray<string>;
|
|
7033
|
-
readonly opaque?: boolean;
|
|
7034
7031
|
readonly metadata?: {
|
|
7035
7032
|
readonly [x: string]: JsonValue;
|
|
7036
7033
|
};
|
|
@@ -7046,7 +7043,6 @@ export type PermissionCreateInput = {
|
|
|
7046
7043
|
readonly action: string;
|
|
7047
7044
|
readonly resources: ReadonlyArray<string>;
|
|
7048
7045
|
readonly save?: ReadonlyArray<string>;
|
|
7049
|
-
readonly opaque?: boolean;
|
|
7050
7046
|
readonly metadata?: {
|
|
7051
7047
|
readonly [x: string]: JsonValue;
|
|
7052
7048
|
};
|
|
@@ -7062,7 +7058,6 @@ export type PermissionCreateInput = {
|
|
|
7062
7058
|
readonly action: string;
|
|
7063
7059
|
readonly resources: ReadonlyArray<string>;
|
|
7064
7060
|
readonly save?: ReadonlyArray<string>;
|
|
7065
|
-
readonly opaque?: boolean;
|
|
7066
7061
|
readonly metadata?: {
|
|
7067
7062
|
readonly [x: string]: JsonValue;
|
|
7068
7063
|
};
|
|
@@ -7078,7 +7073,6 @@ export type PermissionCreateInput = {
|
|
|
7078
7073
|
readonly action: string;
|
|
7079
7074
|
readonly resources: ReadonlyArray<string>;
|
|
7080
7075
|
readonly save?: ReadonlyArray<string>;
|
|
7081
|
-
readonly opaque?: boolean;
|
|
7082
7076
|
readonly metadata?: {
|
|
7083
7077
|
readonly [x: string]: JsonValue;
|
|
7084
7078
|
};
|
|
@@ -7089,28 +7083,11 @@ export type PermissionCreateInput = {
|
|
|
7089
7083
|
};
|
|
7090
7084
|
readonly agent?: string | null;
|
|
7091
7085
|
}["save"];
|
|
7092
|
-
readonly opaque?: {
|
|
7093
|
-
readonly id?: string | null;
|
|
7094
|
-
readonly action: string;
|
|
7095
|
-
readonly resources: ReadonlyArray<string>;
|
|
7096
|
-
readonly save?: ReadonlyArray<string>;
|
|
7097
|
-
readonly opaque?: boolean;
|
|
7098
|
-
readonly metadata?: {
|
|
7099
|
-
readonly [x: string]: JsonValue;
|
|
7100
|
-
};
|
|
7101
|
-
readonly source?: {
|
|
7102
|
-
readonly type: "tool";
|
|
7103
|
-
readonly messageID: string;
|
|
7104
|
-
readonly id: string;
|
|
7105
|
-
};
|
|
7106
|
-
readonly agent?: string | null;
|
|
7107
|
-
}["opaque"];
|
|
7108
7086
|
readonly metadata?: {
|
|
7109
7087
|
readonly id?: string | null;
|
|
7110
7088
|
readonly action: string;
|
|
7111
7089
|
readonly resources: ReadonlyArray<string>;
|
|
7112
7090
|
readonly save?: ReadonlyArray<string>;
|
|
7113
|
-
readonly opaque?: boolean;
|
|
7114
7091
|
readonly metadata?: {
|
|
7115
7092
|
readonly [x: string]: JsonValue;
|
|
7116
7093
|
};
|
|
@@ -7126,7 +7103,6 @@ export type PermissionCreateInput = {
|
|
|
7126
7103
|
readonly action: string;
|
|
7127
7104
|
readonly resources: ReadonlyArray<string>;
|
|
7128
7105
|
readonly save?: ReadonlyArray<string>;
|
|
7129
|
-
readonly opaque?: boolean;
|
|
7130
7106
|
readonly metadata?: {
|
|
7131
7107
|
readonly [x: string]: JsonValue;
|
|
7132
7108
|
};
|
|
@@ -7142,7 +7118,6 @@ export type PermissionCreateInput = {
|
|
|
7142
7118
|
readonly action: string;
|
|
7143
7119
|
readonly resources: ReadonlyArray<string>;
|
|
7144
7120
|
readonly save?: ReadonlyArray<string>;
|
|
7145
|
-
readonly opaque?: boolean;
|
|
7146
7121
|
readonly metadata?: {
|
|
7147
7122
|
readonly [x: string]: JsonValue;
|
|
7148
7123
|
};
|
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-
|
|
4
|
+
"version": "0.0.0-next-17444",
|
|
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-
|
|
57
|
-
"@opencode-ai/protocol": "0.0.0-next-
|
|
56
|
+
"@opencode-ai/schema": "0.0.0-next-17444",
|
|
57
|
+
"@opencode-ai/protocol": "0.0.0-next-17444"
|
|
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-
|
|
69
|
+
"@opencode-ai/httpapi-codegen": "0.0.0-next-17444",
|
|
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",
|