diff --git a/README.md b/README.md index f08c401..e6a3399 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ marketplace, because its embeddings stack downloads about 2 GB on first start: It registers the [sqlite-graph-memory](https://github.com/tonydzi/sqlite-graph-memory) MCP server (`sgm-mcp`) and asks for one setting, the index folder (`BRAIN_INDEX_DIR`) you built with -`uvx --from 'sqlite-graph-memory[embeddings]' sgm-index `. +`uvx --python 3.12 --from 'sqlite-graph-memory[embeddings]' sgm-index `. It is MIT, it costs nothing, and nothing here phones home. Take what you need, delete the rest, and open an issue if a skill breaks on your machine. Paths are documented in diff --git a/README.ru.md b/README.ru.md index b8acacb..7126e98 100644 --- a/README.ru.md +++ b/README.ru.md @@ -53,7 +53,7 @@ npx skills add tonydzi/second-brain-starter-kit Плагин регистрирует MCP-сервер [sqlite-graph-memory](https://github.com/tonydzi/sqlite-graph-memory) (`sgm-mcp`) и спрашивает одну настройку: папку индекса (`BRAIN_INDEX_DIR`), собранную командой -`uvx --from 'sqlite-graph-memory[embeddings]' sgm-index <папка с заметками>`. +`uvx --python 3.12 --from 'sqlite-graph-memory[embeddings]' sgm-index <папка с заметками>`. MIT, бесплатно, никуда не звонит. Берите нужное, лишнее удаляйте, а если скилл сломался на вашей машине, заводите issue. Пути описаны в [docs/PATHS.md](docs/PATHS.md). diff --git a/docs/EXISTING-SETUP.ru.md b/docs/EXISTING-SETUP.ru.md index 0c6d63f..aecccf1 100644 --- a/docs/EXISTING-SETUP.ru.md +++ b/docs/EXISTING-SETUP.ru.md @@ -73,18 +73,18 @@ macOS/Linux, в терминале: ```bash export BRAIN_INDEX_DIR="$PWD/.sgm-index" -uvx --from 'sqlite-graph-memory[embeddings]==0.3.5' sgm-index ./notes -uvx --from 'sqlite-graph-memory[embeddings]==0.3.5' sgm-ask --ab "What decision is recorded in the sample notes?" -claude mcp add -s local sqlite-graph-memory -e "BRAIN_INDEX_DIR=$BRAIN_INDEX_DIR" -- uvx --from 'sqlite-graph-memory[embeddings]==0.3.5' sgm-mcp +uvx --python 3.12 --from 'sqlite-graph-memory[embeddings]==0.3.5' sgm-index ./notes +uvx --python 3.12 --from 'sqlite-graph-memory[embeddings]==0.3.5' sgm-ask --ab "What decision is recorded in the sample notes?" +claude mcp add -s local sqlite-graph-memory -e "BRAIN_INDEX_DIR=$BRAIN_INDEX_DIR" -- uvx --python 3.12 --from 'sqlite-graph-memory[embeddings]==0.3.5' sgm-mcp ``` Windows PowerShell, в терминале: ```powershell $env:BRAIN_INDEX_DIR = Join-Path (Get-Location) '.sgm-index' -uvx --from 'sqlite-graph-memory[embeddings]==0.3.5' sgm-index ./notes -uvx --from 'sqlite-graph-memory[embeddings]==0.3.5' sgm-ask --ab 'What decision is recorded in the sample notes?' -claude mcp add -s local sqlite-graph-memory -e "BRAIN_INDEX_DIR=$env:BRAIN_INDEX_DIR" -- uvx --from 'sqlite-graph-memory[embeddings]==0.3.5' sgm-mcp +uvx --python 3.12 --from 'sqlite-graph-memory[embeddings]==0.3.5' sgm-index ./notes +uvx --python 3.12 --from 'sqlite-graph-memory[embeddings]==0.3.5' sgm-ask --ab 'What decision is recorded in the sample notes?' +claude mcp add -s local sqlite-graph-memory -e "BRAIN_INDEX_DIR=$env:BRAIN_INDEX_DIR" -- uvx --python 3.12 --from 'sqlite-graph-memory[embeddings]==0.3.5' sgm-mcp ``` Последняя команда только для Claude Code: область `local` относится к текущему проекту. Новый проверочный чат открывайте **в этой же папке**, затем выполните `claude mcp list` и проверьте подключение. В среде только с Codex последнюю строку пропустите. Для Codex добавьте **одну** запись в существующий `~/.codex/config.toml` (или конфиг, указанный настройками вашего запуска), сохранив остальные настройки: @@ -96,7 +96,7 @@ claude mcp add -s local sqlite-graph-memory -e "BRAIN_INDEX_DIR=$env:BRAIN_INDEX ```toml [mcp_servers.sqlite-graph-memory] command = "uvx" -args = ["--from", "sqlite-graph-memory[embeddings]==0.3.5", "sgm-mcp"] +args = ["--python", "3.12", "--from", "sqlite-graph-memory[embeddings]==0.3.5", "sgm-mcp"] env = { BRAIN_INDEX_DIR = "/absolute/path/to/.sgm-index" } ``` diff --git a/plugins/memory/.claude-plugin/plugin.json b/plugins/memory/.claude-plugin/plugin.json index f8d0338..8a6f752 100644 --- a/plugins/memory/.claude-plugin/plugin.json +++ b/plugins/memory/.claude-plugin/plugin.json @@ -12,7 +12,7 @@ "index_dir": { "type": "directory", "title": "Index directory", - "description": "The folder `sgm-index` wrote for your notes (BRAIN_INDEX_DIR). Build it once with: uvx --from 'sqlite-graph-memory[embeddings]' sgm-index ", + "description": "The folder `sgm-index` wrote for your notes (BRAIN_INDEX_DIR). Build it once with: uvx --python 3.12 --from 'sqlite-graph-memory[embeddings]' sgm-index ", "required": true } }, @@ -20,6 +20,8 @@ "sgm-mcp": { "command": "uvx", "args": [ + "--python", + "3.12", "--with", "sqlite-graph-memory[embeddings]>=0.3.1,<0.4", "sqlite-graph-memory"