cli/pkg
Vi d34053e21d fix(mcp): add default address and warning for TCP transport (#332)
* fix(io): apply gofmt formatting to local/client.go

Remove extra blank line before closing parenthesis in import block.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* fix(mcp): add default address and warning for TCP transport

NewTCPTransport now properly handles edge cases:
- Sets default address to 127.0.0.1:9100 when empty string is passed
- Prints security warning to stderr when binding to 0.0.0.0 (all interfaces)

This fixes TestNewTCPTransport_Defaults and TestNewTCPTransport_Warning
tests that were causing CI failures in PRs #298 and #313.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude <developers@lethean.io>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05 10:52:48 +00:00
..
agentic Add logging for security events (authentication, access) (#320) 2026-02-05 10:26:48 +00:00
ai feat: infrastructure packages and lint cleanup (#281) 2026-02-04 11:34:43 +00:00
ansible Remove StrictHostKeyChecking=no from SSH commands (#315) 2026-02-05 07:09:34 +00:00
build Centralized Configuration Service Implementation (#319) 2026-02-05 10:26:44 +00:00
cache chore(io): migrate pkg/cache to Medium abstraction (#288) 2026-02-04 15:15:46 +00:00
cli Add logging for security events (authentication, access) (#320) 2026-02-05 10:26:48 +00:00
collect feat: infrastructure packages and lint cleanup (#281) 2026-02-04 11:34:43 +00:00
config Centralized Configuration Service Implementation (#319) 2026-02-05 10:26:44 +00:00
container Remove StrictHostKeyChecking=no from SSH commands (#315) 2026-02-05 07:09:34 +00:00
crypt Implement Authentication and Authorization Features (#314) 2026-02-05 06:55:50 +00:00
deploy feat: wire release command, add tar.xz support, unified installers (#277) 2026-02-04 00:49:57 +00:00
devops Centralized Configuration Service Implementation (#319) 2026-02-05 10:26:44 +00:00
framework Implement Background Goroutines for Long-Running Operations (#309) 2026-02-05 10:26:45 +00:00
git feat: git command, build improvements, and go fmt git-aware (#74) 2026-02-01 10:48:44 +00:00
gitea feat(gitea): add Gitea Go SDK integration and CLI commands (#324) 2026-02-04 21:12:12 +00:00
help feat(help): Implement full-text search (#294) 2026-02-05 10:26:16 +00:00
i18n fix(i18n): add British English verb forms and fix locale-dependent tests (#328) 2026-02-05 10:05:57 +00:00
io fix(mcp): add default address and warning for TCP transport (#332) 2026-02-05 10:52:48 +00:00
jobrunner feat(jobrunner): add automated PR workflow system (#329) 2026-02-05 10:36:21 +00:00
log Add logging for security events (authentication, access) (#320) 2026-02-05 10:26:48 +00:00
mcp fix(mcp): add default address and warning for TCP transport (#332) 2026-02-05 10:52:48 +00:00
plugin feat: infrastructure packages and lint cleanup (#281) 2026-02-04 11:34:43 +00:00
process Implement panic recovery and graceful service retrieval (#316) 2026-02-05 07:52:23 +00:00
rag style: fix gofmt formatting across all affected files (#279) 2026-02-04 01:27:01 +00:00
release Centralized Configuration Service Implementation (#319) 2026-02-05 10:26:44 +00:00
repos Migrate pkg/repos to Medium abstraction (#291) 2026-02-04 18:03:54 +00:00
unifi Add logging for security events (authentication, access) (#320) 2026-02-05 10:26:48 +00:00
workspace feat: add tests for edge cases, error paths, and integration scenarios (#308) 2026-02-05 10:10:07 +00:00