@opencode-ai/sdk 1.1.49 → 1.1.51

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.
@@ -1227,9 +1227,9 @@ export type AgentConfig = {
1227
1227
  [key: string]: unknown;
1228
1228
  };
1229
1229
  /**
1230
- * Hex color code for the agent (e.g., #FF5733)
1230
+ * Hex color code (e.g., #FF5733) or theme color (e.g., primary)
1231
1231
  */
1232
- color?: string;
1232
+ color?: string | "primary" | "secondary" | "accent" | "success" | "warning" | "error" | "info";
1233
1233
  /**
1234
1234
  * Maximum number of agentic iterations before forcing text-only response
1235
1235
  */
@@ -1243,7 +1243,7 @@ export type AgentConfig = {
1243
1243
  [key: string]: boolean;
1244
1244
  } | boolean | "subagent" | "primary" | "all" | {
1245
1245
  [key: string]: unknown;
1246
- } | string | number | PermissionConfig | undefined;
1246
+ } | string | "primary" | "secondary" | "accent" | "success" | "warning" | "error" | "info" | number | PermissionConfig | undefined;
1247
1247
  };
1248
1248
  export type ProviderConfig = {
1249
1249
  api?: 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.1.49",
4
+ "version": "1.1.51",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "scripts": {