@opencode-ai/client 0.0.0-next-16042 → 0.0.0-next-16046
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.
|
@@ -636,7 +636,7 @@ export declare const make: (options?: {
|
|
|
636
636
|
readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
637
637
|
readonly mode: Schema.Literals<readonly ["subagent", "primary", "all"]>;
|
|
638
638
|
readonly hidden: Schema.Boolean;
|
|
639
|
-
readonly color: Schema.decodeTo<Schema.optional<Schema.toType<Schema.
|
|
639
|
+
readonly color: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
640
640
|
readonly steps: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
641
641
|
readonly permissions: Schema.$Array<Schema.Struct<{
|
|
642
642
|
readonly action: Schema.String;
|
|
@@ -8784,7 +8784,7 @@ export declare const make: (options?: {
|
|
|
8784
8784
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8785
8785
|
readonly data: {
|
|
8786
8786
|
readonly message: string;
|
|
8787
|
-
readonly variant: "error" | "success" | "
|
|
8787
|
+
readonly variant: "error" | "success" | "info" | "warning";
|
|
8788
8788
|
readonly duration: number;
|
|
8789
8789
|
readonly title?: string | undefined;
|
|
8790
8790
|
};
|
|
@@ -17,7 +17,6 @@ export type ModelRef = {
|
|
|
17
17
|
export type ProviderSettings = {
|
|
18
18
|
[x: string]: JsonValue;
|
|
19
19
|
};
|
|
20
|
-
export type AgentColor = string | "primary" | "secondary" | "accent" | "success" | "warning" | "error" | "info";
|
|
21
20
|
export type PermissionV2Effect = "allow" | "deny" | "ask";
|
|
22
21
|
export type PluginInfo = {
|
|
23
22
|
id: string;
|
|
@@ -2781,7 +2780,7 @@ export type AgentInfo = {
|
|
|
2781
2780
|
description?: string;
|
|
2782
2781
|
mode: "subagent" | "primary" | "all";
|
|
2783
2782
|
hidden: boolean;
|
|
2784
|
-
color?:
|
|
2783
|
+
color?: string;
|
|
2785
2784
|
steps?: number;
|
|
2786
2785
|
permissions: PermissionV2Ruleset;
|
|
2787
2786
|
};
|
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-16046",
|
|
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-16046",
|
|
57
|
+
"@opencode-ai/protocol": "0.0.0-next-16046"
|
|
58
58
|
},
|
|
59
59
|
"peerDependencies": {
|
|
60
60
|
"effect": "4.0.0-beta.98"
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
68
|
"@effect/platform-node": "4.0.0-beta.98",
|
|
69
|
-
"@opencode-ai/httpapi-codegen": "0.0.0-next-
|
|
69
|
+
"@opencode-ai/httpapi-codegen": "0.0.0-next-16046",
|
|
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",
|