Skip to content

Commit ee477fa

Browse files
committed
feat: Add Qdrant MCP and multi-auth plugin
1 parent d58e5f4 commit ee477fa

7 files changed

Lines changed: 431 additions & 13 deletions

File tree

AGENTS.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,19 @@ Prefer exact matches, then workspace files, then the newest readable file. Ask f
2020

2121
For remote files: use `crawlberg` to download first, then pass the resulting local file to `xberg`.
2222

23+
# Project Memory
24+
25+
Use the Qdrant MCP server as durable, project-scoped memory for non-trivial work.
26+
27+
1. Recall: before planning or editing, call `qdrant-find` with a concise semantic query containing the current goal plus relevant errors, components, or symbols. If Qdrant is unavailable or returns no useful result, continue without blocking the task.
28+
2. Validate: treat recalled memory as a lead, not as authority. Confirm it against the current repository, configuration, tests, and user request; current evidence wins whenever memory is stale or conflicting.
29+
3. Persist: after successful verification, call `qdrant-find` once more to avoid duplicates, then use `qdrant-store` only for new durable knowledge such as architectural decisions, project conventions, confirmed fixes, recurring pitfalls, or reliable commands.
30+
31+
- Store one self-contained fact per memory, including enough rationale or evidence to make it useful in a future session.
32+
- Add compact metadata when useful, such as `type`, `component`, and `source`; do not rely on metadata instead of clear memory text.
33+
- Do not store transient progress, full conversation summaries, speculative conclusions, raw logs, large code blocks, generated artifacts, secrets, credentials, tokens, or personal data.
34+
- Do not persist a memory until the relevant change or conclusion has been validated. If a previous memory is wrong, follow current repository evidence and store a clearly labeled correction only when it will prevent recurrence.
35+
2336
# Python Scripting
2437

2538
- Use `uv` for execution, dependencies, environments, and tools: `uv run`, `uv add`, `uv sync`, and `uv tool run`. Preserve another workflow only when the project explicitly standardizes on it.

bun.lock

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

opencode.jsonc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,22 @@
7979
"@xberg-io/opencode-crawlberg",
8080
"@xberg-io/opencode-html-to-markdown",
8181
"@xberg-io/opencode-tree-sitter-language-pack",
82+
"@nguyenthdat/opencode-multi-auth-codex@1.5.5",
83+
// "@guard22/opencode-multi-auth-codex@latest",
8284
],
8385
"lsp": true,
8486
"mcp": {
8587
// @mcp-group core | Core MCP services
88+
"qdrant": {
89+
"type": "local",
90+
"enabled": true,
91+
"command": ["{env:HOME}/.config/opencode/scripts/run-qdrant-mcp.sh"],
92+
"environment": {
93+
"QDRANT_LOCAL_PATH": ".qdrant",
94+
"EMBEDDING_MODEL": "intfloat/multilingual-e5-large",
95+
},
96+
"timeout": 120000,
97+
},
8698
"codebase-memory": { "enabled": true, "type": "local", "command": ["codebase-memory-mcp"] },
8799
"git": { "enabled": true, "type": "local", "command": ["uvx", "mcp-server-git"] },
88100
"github": {

0 commit comments

Comments
 (0)