Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
feat(claude-cli): list the Claude 5 models the CLI already serves (#3976)
test033029f25d80
diff --git a/src/core/ai/recipes/claude-cli.ts b/src/core/ai/recipes/claude-cli.tsindex 2f1accbfe6..bb1a5db8c2 100644--- a/src/core/ai/recipes/claude-cli.ts+++ b/src/core/ai/recipes/claude-cli.ts@@ -35,7 +35,11 @@ export const claudeCli: Recipe = {// No embedding or expansion touchpoints — chat-only.chat: {models: [+ 'claude-fable-5',+ 'claude-opus-5',+ 'claude-opus-4-8','claude-opus-4-7',+ 'claude-sonnet-5','claude-sonnet-4-6','claude-haiku-4-5-20251001',],diff --git a/test/claude-cli-recipe.test.ts b/test/claude-cli-recipe.test.tsindex 26339b4570..429a6b028b 100644--- a/test/claude-cli-recipe.test.ts+++ b/test/claude-cli-recipe.test.ts@@ -88,6 +88,11 @@ describe('claude-cli recipe registration', () => {expect(recipe!.touchpoints.chat!.supports_tools).toBe(true);expect(recipe!.touchpoints.chat!.supports_subagent_loop).toBe(true);expect(recipe!.touchpoints.chat!.models).toContain('claude-sonnet-4-6');+ // Wave rider for #3976: pin the Claude 5 family the CLI already serves.+ expect(recipe!.touchpoints.chat!.models).toContain('claude-fable-5');+ expect(recipe!.touchpoints.chat!.models).toContain('claude-opus-5');+ expect(recipe!.touchpoints.chat!.models).toContain('claude-opus-4-8');+ expect(recipe!.touchpoints.chat!.models).toContain('claude-sonnet-5');expect(recipe!.touchpoints.embedding).toBeUndefined();expect(recipe!.touchpoints.expansion).toBeUndefined();});