Imported from MovieHolic-Plex/lazycc (
plugins/omo/components/lsp/AGENTS.md). Install upstream withnpx skills add MovieHolic-Plex/lazycc --skill lsp. Copyright stays with the author.
Repository Conventions
Conventions for humans and agents working on this repository.
Style
- TypeScript strict mode. No
any,@ts-ignore,@ts-expect-error, or enums. - ESM modules with
.jssuffix in import paths. - Tabs for indentation. Double quotes for strings.
- Runtime is Node only.
- Tests use vitest and should exercise Codex hook/MCP behavior before implementation changes.
Commands
npm installinstalls dependencies.npm testruns the test suite once.npm run typecheckruns strict TypeScript checking.npm run checkruns typecheck, Biome, and build.
LSP Constraints
- LSP server processes are owned by
LspManager. - Tool execution acquires clients through
withLspClient(...)unless it only reports static status. lsp.renamemutates files by applying workspace edits; keep it sequential at the MCP caller level.- Do not add pi-coding-agent or omo source dependencies. This package is standalone.