vector-setup
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseVector Setup
Vector 设置
Bootstraps and its optional add-ons so every subcommand actually works on first run.
ruvector@0.2.25/vector引导及其可选插件完成配置,确保首次运行时所有子命令均可正常工作。
ruvector@0.2.25/vectorWhy this exists
为什么需要这个设置
Out of the box, several subcommands fail with a confusing dep error:
/vector| Error | Missing package |
|---|---|
| |
| |
| |
| |
This skill installs them in one pass.
默认情况下,多个子命令会因依赖缺失报错,且错误信息不够清晰:
/vector| 错误信息 | 缺失的包 |
|---|---|
| |
| |
| |
| |
本设置可一次性安装所有缺失的依赖包。
Steps
步骤
- Pin ruvector:
bash
npm install ruvector@0.2.25 - Install the add-ons (idempotent — only what's missing):
For a leaner install, passbash
npm install ruvector-onnx-embeddings-wasm \ @ruvector/pi-brain \ @ruvector/ruvllmto also pull--fulland@ruvector/graph-node:@ruvector/routerbashnpm install ruvector-onnx-embeddings-wasm \ @ruvector/pi-brain \ @ruvector/ruvllm \ @ruvector/graph-node \ @ruvector/router - Verify the binary:
bash
npx -y ruvector@0.2.25 doctor npx -y ruvector@0.2.25 info - Register the MCP server:
bash
claude mcp add ruvector -- npx -y ruvector@0.2.25 mcp start claude mcp list | grep ruvector - Sanity check the most common subcommands:
bash
npx -y ruvector@0.2.25 hooks route "test" npx -y ruvector@0.2.25 attention list npx -y ruvector@0.2.25 rvf examples - (Optional) Generate a pi identity for brain + edge:
bash
npx -y ruvector@0.2.25 identity generate npx -y ruvector@0.2.25 identity show
- 固定ruvector版本:
bash
npm install ruvector@0.2.25 - 安装插件(幂等操作——仅安装缺失的包):
若需要完整安装,添加bash
npm install ruvector-onnx-embeddings-wasm \ @ruvector/pi-brain \ @ruvector/ruvllm参数以同时安装--full和@ruvector/graph-node:@ruvector/routerbashnpm install ruvector-onnx-embeddings-wasm \ @ruvector/pi-brain \ @ruvector/ruvllm \ @ruvector/graph-node \ @ruvector/router - 验证二进制文件:
bash
npx -y ruvector@0.2.25 doctor npx -y ruvector@0.2.25 info - 注册MCP服务器:
bash
claude mcp add ruvector -- npx -y ruvector@0.2.25 mcp start claude mcp list | grep ruvector - 完整性检查最常用的子命令:
bash
npx -y ruvector@0.2.25 hooks route "test" npx -y ruvector@0.2.25 attention list npx -y ruvector@0.2.25 rvf examples - (可选)为brain + edge生成pi身份标识:
bash
npx -y ruvector@0.2.25 identity generate npx -y ruvector@0.2.25 identity show
Smoke test
冒烟测试
For a deterministic verification of the install, run the plugin's bundled smoke script:
bash
bash plugins/ruflo-ruvector/scripts/smoke.shIt checks: version pin, top-level subcommand visibility, , , , , and . Exits non-zero if any drift from the contracted surface is detected.
hooks ast-analyzehooks routeattention listrvf examplesinfo如需确定性验证安装结果,运行插件附带的冒烟测试脚本:
bash
bash plugins/ruflo-ruvector/scripts/smoke.sh该脚本会检查:版本固定情况、顶层子命令可见性、、、、和命令。若检测到任何与预期不符的情况,将返回非零退出码。
hooks ast-analyzehooks routeattention listrvf examplesinfoWhat this does not install
本设置不包含的安装项
- Native Rust toolchain (optional; only needed for source builds)
- Platform-specific native bindings (auto-detected by )
@ruvector/core - native binding (the JS fallback via
@ruvector/sonais sufficient on macOS arm64; Linux x64 has its own native binding)@ruvector/ruvllm
If still reports a problem after this skill runs, paste its output verbatim and ask.
doctor- Rust原生工具链(可选;仅源码编译时需要)
- 特定平台的原生绑定(由自动检测)
@ruvector/core - 原生绑定(在macOS arm64平台上,
@ruvector/sona提供的JS回退版本已足够;Linux x64平台有其专属的原生绑定)@ruvector/ruvllm
若运行命令后仍报告问题,请复制完整输出并咨询相关支持。
doctor