forked from cleveragents/cleveragents-core
23803f14ec
Added minimal LSP server entrypoint supporting initialize/shutdown/exit handshake over JSON-RPC stdin/stdout transport with Content-Length framing. Unsupported methods return MethodNotFound error with descriptive message. Wired LSP requests through ACP facade in local mode. Added agents lsp serve CLI command with --log-level flag, PID output, and startup banner. Created reference documentation for the stub server. Includes Behave BDD tests for protocol handshake, Robot smoke test, and ASV startup latency benchmark. ISSUES CLOSED: #203
18 lines
531 B
Python
18 lines
531 B
Python
"""Mock implementations for testing.
|
|
|
|
This package contains mock implementations used only during testing.
|
|
Following the mock placement rule, all mocks must exist only in the
|
|
features/ directory and never in production code (implementation_plan.md).
|
|
"""
|
|
|
|
from .lsp_transport_mock import MockLspTransport, parse_lsp_responses
|
|
from .mock_ai_provider import MockAIProvider
|
|
from .mock_mcp_transport import MockMCPTransport
|
|
|
|
__all__ = [
|
|
"MockAIProvider",
|
|
"MockLspTransport",
|
|
"MockMCPTransport",
|
|
"parse_lsp_responses",
|
|
]
|