From 0edfc7f36a4bcf3a41f09259e8a4417dbea4c697 Mon Sep 17 00:00:00 2001 From: justsisyphus Date: Thu, 22 Jan 2026 22:45:57 +0900 Subject: [PATCH] feat(config): add description field to category schema Allow users to override category descriptions via config. The description is shown in delegate_task prompt to help LLMs understand category purpose. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus --- assets/oh-my-opencode.schema.json | 3 +++ src/config/schema.ts | 2 ++ 2 files changed, 5 insertions(+) diff --git a/assets/oh-my-opencode.schema.json b/assets/oh-my-opencode.schema.json index 8636df6a5..2c22747ab 100644 --- a/assets/oh-my-opencode.schema.json +++ b/assets/oh-my-opencode.schema.json @@ -1741,6 +1741,9 @@ "additionalProperties": { "type": "object", "properties": { + "description": { + "type": "string" + }, "model": { "type": "string" }, diff --git a/src/config/schema.ts b/src/config/schema.ts index 2fdde902c..e827a5ce0 100644 --- a/src/config/schema.ts +++ b/src/config/schema.ts @@ -148,6 +148,8 @@ export const SisyphusAgentConfigSchema = z.object({ }) export const CategoryConfigSchema = z.object({ + /** Human-readable description of the category's purpose. Shown in delegate_task prompt. */ + description: z.string().optional(), model: z.string().optional(), variant: z.string().optional(), temperature: z.number().min(0).max(2).optional(),