@opencode-ai/sdk 1.0.58 → 1.0.59

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.
@@ -186,6 +186,10 @@ export type AgentConfig = {
186
186
  */
187
187
  description?: string;
188
188
  mode?: "subagent" | "primary" | "all";
189
+ /**
190
+ * Hex color code for the agent (e.g., #FF5733)
191
+ */
192
+ color?: string;
189
193
  permission?: {
190
194
  edit?: "ask" | "allow" | "deny";
191
195
  bash?: ("ask" | "allow" | "deny") | {
@@ -960,6 +964,7 @@ export type Agent = {
960
964
  builtIn: boolean;
961
965
  topP?: number;
962
966
  temperature?: number;
967
+ color?: string;
963
968
  permission: {
964
969
  edit: "ask" | "allow" | "deny";
965
970
  bash: {
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.0.58",
4
+ "version": "1.0.59",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "typecheck": "tsgo --noEmit",