inspector/cli
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Felix Weinberger acf6c1e118
feat: Auto-detect transport type from config files
When launching the inspector with --config, automatically set the transport
dropdown and server URL based on the config file contents. This eliminates
the need to manually switch between stdio/sse/streamable-http in the UI.

- Use discriminated union for ServerConfig to properly type different transports
- Detect transport type and URL from config, pass via query params
- Maintain backwards compatibility for configs without explicit 'type' field
- Add comprehensive tests for the new functionality

Improves UX by making the config file the single source of truth for
server settings.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-05 14:08:57 +01:00
..
scripts Merge branch 'main' into ci-test-cli 2025-07-15 16:04:47 -04:00
src feat: Auto-detect transport type from config files 2025-08-05 14:08:57 +01:00
package.json chore: update ts-sdk to 0.17.0 and bump version to 0.16.2 2025-07-25 15:57:43 +01:00
tsconfig.json Add CLI and config file support 2025-03-10 20:19:23 -04:00