src/: TypeScript source for the MCP server and integrations.bin/: CLI setup and install scripts (Node CJS).docs/: User documentation (CONFIG.md,TOOLS.md,DATA.md,TROUBLESHOOTING.md).assets/: Static assets used in docs.dist/: Build output generated bytsc(do not edit by hand).
npm run build: Compile TypeScript todist/.npm run dev: Run the server from source viatsx.npm run watch: Run with file watching (tsx watch).npm start: Run the built server fromdist/.npm run setup: Launch interactive setup (bin/setup.cjs).npm test: Smoke test that prints readiness (no test runner).
- Language: TypeScript (ES2022 modules), strict mode enabled in
tsconfig.json. - Indentation: 2 spaces (match existing formatting).
- File naming: kebab-case in
src/(e.g.,git-context-engine.ts). - Prefer explicit, descriptive function names; keep modules focused.
- No automated test suite is defined.
npm testis a placeholder. - If you add tests, keep them close to the feature area and document how to run them.
- Commit messages follow Conventional Commits (examples:
feat:,fix:,perf:,refactor:,chore(release):). - PRs should include: a short description, rationale, and any user-facing changes. Link related issues when applicable. Add screenshots only for docs/UI changes.
- User config and platform integration details live in
docs/CONFIG.md. - Update
docs/RELEASE_NOTES.mdwhen shipping user-facing changes. prepublishOnlyrunsnpm run build && npm test, so keep those scripts passing before publish.