mcp/pkg/mcp
Virgil a0caa6918c fix(mcp): make notifications nil-safe
Guard the notification broadcast helpers against nil Service and nil server values so they degrade to no-ops instead of panicking. Add coverage for zero-value and nil-server use.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 13:13:04 +00:00
..
agentic docs(mcp): add usage examples to constructors 2026-04-02 13:06:28 +00:00
brain docs(mcp): add usage examples to constructors 2026-04-02 13:06:28 +00:00
ide docs(mcp): add usage examples to constructors 2026-04-02 13:06:28 +00:00
bridge.go fix(mcp): enforce REST bridge body limit 2026-04-02 07:39:19 +00:00
bridge_test.go fix(mcp): enforce REST bridge body limit 2026-04-02 07:39:19 +00:00
integration_test.go refactor(mcp): Options{} struct + notification broadcasting + claude/channel 2026-03-21 13:51:14 +00:00
iter_test.go refactor(mcp): remove unused registry iterator helper 2026-04-02 07:29:59 +00:00
mcp.go refactor(mcp): align service descriptions with runtime behavior 2026-04-02 13:01:41 +00:00
mcp_test.go fix(mcp): resolve workspace paths for tools 2026-04-02 11:01:11 +00:00
notify.go fix(mcp): make notifications nil-safe 2026-04-02 13:13:04 +00:00
notify_test.go fix(mcp): make notifications nil-safe 2026-04-02 13:13:04 +00:00
process_notifications.go feat(mcp): enrich process notifications with runtime context 2026-04-02 12:51:27 +00:00
register.go refactor(mcp): align service descriptions with runtime behavior 2026-04-02 13:01:41 +00:00
register_test.go feat(mcp): enrich process notifications with runtime context 2026-04-02 12:51:27 +00:00
registry.go refactor(mcp): remove unused registry iterator helper 2026-04-02 07:29:59 +00:00
registry_test.go feat(mcp): register built-in tool groups 2026-04-02 07:25:48 +00:00
subsystem.go refactor(mcp): assert notifier conformance 2026-03-31 18:18:16 +00:00
subsystem_test.go refactor(mcp): Options{} struct + notification broadcasting + claude/channel 2026-03-21 13:51:14 +00:00
tools_metrics.go feat(mcp): register built-in tool groups 2026-04-02 07:25:48 +00:00
tools_metrics_test.go refactor(mcp): Options{} struct + notification broadcasting + claude/channel 2026-03-21 13:51:14 +00:00
tools_process.go feat(mcp): enrich process notifications with runtime context 2026-04-02 12:51:27 +00:00
tools_process_ci_test.go Merge origin/dev into agent/update-the-migration-plan-at-docs-plans 2026-03-24 11:42:10 +00:00
tools_process_test.go fix(mcp): resolve codex review findings — spelling, imports, tests, assertions 2026-03-22 02:14:33 +00:00
tools_rag.go fix(mcp): resolve workspace paths for tools 2026-04-02 11:01:11 +00:00
tools_rag_ci_test.go refactor(mcp): Options{} struct + notification broadcasting + claude/channel 2026-03-21 13:51:14 +00:00
tools_rag_test.go refactor(mcp): Options{} struct + notification broadcasting + claude/channel 2026-03-21 13:51:14 +00:00
tools_webview.go feat(mcp): honor webview screenshot format 2026-04-02 12:46:03 +00:00
tools_webview_test.go feat(mcp): honor webview screenshot format 2026-04-02 12:46:03 +00:00
tools_ws.go feat(mcp): register built-in tool groups 2026-04-02 07:25:48 +00:00
tools_ws_test.go refactor(mcp): Options{} struct + notification broadcasting + claude/channel 2026-03-21 13:51:14 +00:00
transport_e2e_test.go fix(mcp): resolve codex review findings — spelling, imports, tests, assertions 2026-03-22 02:14:33 +00:00
transport_http.go fix(mcp): allow unauthenticated HTTP transport when token is unset 2026-04-02 07:35:35 +00:00
transport_http_test.go fix(mcp): allow unauthenticated HTTP transport when token is unset 2026-04-02 07:35:35 +00:00
transport_stdio.go refactor(mcp): remove dead stdio transport state 2026-03-31 18:08:03 +00:00
transport_tcp.go refactor(mcp): align service descriptions with runtime behavior 2026-04-02 13:01:41 +00:00
transport_tcp_test.go fix(test): use port 0 instead of hardcoded 9101 in TCP warning test 2026-03-21 17:48:48 +00:00
transport_unix.go docs(mcp): add usage-example comments to all public types 2026-03-21 13:51:14 +00:00
transport_unix_test.go feat(mcp): auto-select unix socket transport 2026-04-02 12:56:30 +00:00