Fix CI snapshot and docs checks

This commit is contained in:
Andrey Avtomonov 2026-05-16 11:24:31 +02:00
parent f99ca7fa30
commit 1ead1c9cc4
3 changed files with 1052 additions and 1048 deletions

View file

@ -34,7 +34,7 @@ SQLite.
## Quick Start
```bash
pnpm add --global @kaelio/ktx
npm install -g @kaelio/ktx
ktx setup
ktx status
```
@ -42,6 +42,19 @@ ktx status
`ktx setup` creates or resumes a local KTX project, configures providers and
connections, builds context, and installs agent integration.
Example `ktx status` output after setup:
```text
KTX project: /home/user/analytics
Project ready: yes
LLM ready: yes (claude-sonnet-4-6)
Embeddings ready: yes (text-embedding-3-small)
Databases configured: yes (postgres-warehouse)
Context sources configured: yes (dbt-main)
KTX context built: yes
Agent integration ready: yes (codex:project)
```
## Common Commands
| Command | Purpose |

File diff suppressed because it is too large Load diff

View file

@ -201,7 +201,9 @@ describe('createKtxMcpServer', () => {
const toolNames = result.tools.map((tool) => tool.name).sort();
expect(toolNames).toEqual([...retainedToolNames].sort());
await expect(result.tools).toMatchFileSnapshot('__snapshots__/mcp-tools-list.json');
await expect(`${JSON.stringify(result.tools, null, 2)}\n`).toMatchFileSnapshot(
'__snapshots__/mcp-tools-list.json',
);
});
it('registers context tools without memory capture tools when memory capture is omitted', async () => {