Bake the former Python bridge.py into emby-mcp as internal/bridge.
/mcp and /call/{tool} share one process. Session init errors are
returned instead of swallowed, and 401/400/404 trigger a fresh
initialize plus retry with the caller's Authorization header.
20 lines
530 B
Markdown
20 lines
530 B
Markdown
# Development guidance
|
|
|
|
## Upstream endpoint changes
|
|
|
|
Every new or changed REST call in `internal/emby` must update the endpoint
|
|
manifest and known-issues registry in
|
|
`internal/emby/spec_conformance_test.go`. Add or update the corresponding row
|
|
in `docs/api/endpoint_validation.md` when the call inventory or findings
|
|
change. The conformance test is static; it does not require a live Emby
|
|
server.
|
|
|
|
## Verification commands
|
|
|
|
```sh
|
|
go build ./...
|
|
go vet ./...
|
|
go test ./...
|
|
go test ./internal/emby/ -run TestSpecConformance -v
|
|
```
|