Skip to content

Conversation

@rabi
Copy link
Contributor

@rabi rabi commented Jan 16, 2026

Summary

Several methods were performing direct lookups without normalizing input names, while add_extension and remove_extension normalize names. This inconsistency causes lookups to fail when the input name format differs from the stored (normalized) name.

Type of Change

  • Feature
  • Bug fix
  • Refactor / Code quality
  • Performance improvement
  • Documentation
  • Tests
  • Security fix
  • Build / Release
  • Other (specify below)

Several methods were performing direct lookups without normalizing input names,
while add_extension and remove_extension normalize names. This inconsistency
causes lookups to fail when the input name format differs from the stored
(normalized) name.

Methods updated to normalize inputs:
- get_server_client
- filter_tools (extension_name and exclude params)
- is_extension_enabled
- add_client

Signed-off-by: rabi <[email protected]>
@rabi rabi changed the title fix: normalize extension name in get_server_client fix: normalize extension names consistently in ExtensionManager Jan 16, 2026
Copy link
Collaborator

@DOsinga DOsinga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for doing this. to be honest, I am not sure we should normalize names at all. the server should just use whatever it has and then the client can make it pretty if needed at the very last moment when displaying

@DOsinga DOsinga merged commit 5b757c7 into block:main Jan 28, 2026
18 checks passed
lifeizhou-ap added a commit that referenced this pull request Jan 28, 2026
* main: (47 commits)
  Upgrade error handling (#6747)
  Fix/filter audience 6703 local (#6773)
  chore: re-sync package-lock.json (#6783)
  upgrade electron to 39.3.0 (#6779)
  allow skipping providers in test_providers.sh (#6778)
  fix: enable custom model entry for OpenRouter provider (#6761)
  Remove codex skills flag support (#6775)
  Improve mcp test (#6671)
  Feat/anthropic custom headers (#6774)
  Fix/GitHub copilot error handling 5845 (#6771)
  fix(ui): respect width parameter in MCP app size-changed notifications (#6376)
  fix: address compilation issue in main (#6776)
  Upgrade GitHub Actions for Node 24 compatibility (#6699)
  fix(google): preserve thought signatures in streaming responses (#6708)
  added reduce motion support for css animations and streaming text (#6551)
  fix: Re-enable subagents for Gemini models (#6513)
  fix(google): use parametersJsonSchema for full JSON Schema support (#6555)
  fix: respect GOOSE_CLI_MIN_PRIORITY for shell streaming output (#6558)
  feat: add requires_auth flag for custom providers without authentication (#6705)
  fix: normalize extension names consistently in ExtensionManager (#6529)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants