From 8ca7708a1265c5343ff6307c01321f03aee3bd8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E6=A9=98?= Date: Sun, 24 May 2026 04:17:29 +0000 Subject: [PATCH] fix: add cas_ref format to claude-code-detail turns schema MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The turns array items in CLAUDE_CODE_DETAIL_SCHEMA were missing format: 'cas_ref', so expandDeep in step-details couldn't resolve turn hashes to their payloads. Hermes schema already had this. 小橘 --- packages/workflow-agent-claude-code/src/schemas.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/workflow-agent-claude-code/src/schemas.ts b/packages/workflow-agent-claude-code/src/schemas.ts index 17c4695..9626249 100644 --- a/packages/workflow-agent-claude-code/src/schemas.ts +++ b/packages/workflow-agent-claude-code/src/schemas.ts @@ -34,7 +34,7 @@ export const CLAUDE_CODE_DETAIL_SCHEMA: JSONSchema = { }, turns: { type: "array", - items: { type: "string" }, + items: { type: "string", format: "cas_ref" }, }, }, additionalProperties: false,