Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <your notes folder>`.
`uvx --python 3.12 --from 'sqlite-graph-memory[embeddings]' sgm-index <your notes folder>`.

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
Expand Down
2 changes: 1 addition & 1 deletion README.ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
14 changes: 7 additions & 7 deletions docs/EXISTING-SETUP.ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -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` (или конфиг, указанный настройками вашего запуска), сохранив остальные настройки:
Expand All @@ -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" }
```

Expand Down
4 changes: 3 additions & 1 deletion plugins/memory/.claude-plugin/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,16 @@
"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 <your notes folder>",
"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 <your notes folder>",
"required": true
}
},
"mcpServers": {
"sgm-mcp": {
"command": "uvx",
"args": [
"--python",
"3.12",
"--with",
"sqlite-graph-memory[embeddings]>=0.3.1,<0.4",
"sqlite-graph-memory"
Expand Down
Loading