normalizeModel() turned bare aliases like 'haiku' into 'anthropic/haiku', which is not a valid OpenCode model ID. This caused ProviderModelNotFoundError when agents using model: haiku (e.g. learnings-researcher, lint) were invoked during workflows like /plan. Add CLAUDE_FAMILY_ALIASES map to resolve haiku, sonnet, and opus to their full model IDs (e.g. anthropic/claude-haiku-4-5). A console.warn alerts during conversion so the map can be updated when new versions release.
9.1 KiB
9.1 KiB