Voyager Repo

io.github.dir-ai由 GitHub 帳號 dir-ai 發布v0.7.0更新於 Oct 24, 2026

An AI agent's safe read-only scout to orient in an unknown repository before touching it.

已驗證STDIO僅桌面開發者工具安全與監控

概覽

AI 產生的概覽

唯讀的儲存庫偵察工具,讓 AI 助理在陌生程式碼庫中快速定位,產出關於用途、結構、建置、健康度、相依性與風險的結構化簡報。

可以做什麼
  • 偵察儲存庫並產出定位簡報:推斷用途、語言、關鍵目錄與進入點。
  • 辨識安裝、建置、測試與執行指令,但不會實際執行。
  • 回報 git 健康訊號,例如提交數、巴士因子、近期活躍度與變動熱點。
  • 標示風險,包括安裝鉤子、已提交的密鑰、缺少鎖定檔與大型不透明二進位檔。
  • 可選擇透過 Voyager 對限定數量的相依套件做經 OSV 檢核的評估。
  • 最後給出有序的推進計畫,並遵守儲存庫中 Repotector 的活躍區域與租約。
適用情境
適合在助理即將進入從未接觸過的程式碼庫時,先了解其結構、建置步驟、維護者分布與潛在風險。適用於謹慎的上手與修改前評估,而非實際開發或執行程式碼。
執行需求
以本機程序執行,透過 npx 從 npm 套件 @dir-ai/voyager-repo 啟動(需要 Node.js),或使用 mcp 子指令。僅限桌面端;未宣告驗證、環境變數或標頭。相依性評估需搭配 Voyager。
安裝前請注意
預設唯讀;安裝相依套件、執行程式碼或複製遠端儲存庫需明確允許,執行應在沙箱中進行。README、提交訊息等由儲存庫擁有者控制的文字視為不可信並做注入清理。專案處於 0.x 階段,行為可能變動。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Voyager Repo,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

voyager-repo

Voyager's repo-penetration organ — the eyes an AI agent sends ahead before it touches an unknown repository.

Voyager penetrates the web (@dir-ai/voyager), the repo (this), and — next — networks. Repotector is the repo's guardian that receives and controls; Voyager Repo is the agent's counterpart that reaches outward and reports back, safely.

bash
npx @dir-ai/voyager-repo scout .          # orient in the repo you're standing innpx @dir-ai/voyager-repo scout . --check-deps 10   # + vet 10 deps via Voyager

What it does

Like how Claude or Codex orient themselves in a new codebase — but as a safe, repeatable tool. scout produces an orientation brief:

  • purpose — inferred from the manifest/README, framed as untrusted (owner text is injection-stripped before it reaches your model)
  • structure — languages, key dirs (with role guesses), entrypoints
  • build — the install/build/test/run commands (detected, never run)
  • health — git signals: commit count, bus factor (top-author share), recency, churn hotspots
  • dependencies — composes with Voyager to give each dependency a real OSV-gated verdict (--check-deps N)
  • risks — install hooks (RCE on npm install), committed secrets, missing lockfile, large opaque binaries
  • approach plan — see below

The approach protocol (the point)

A careful newcomer, not a bulldozer:

  1. Handshake with Repotector if the repo carries one (.repotector/) — read its active zones/leases and respect them before editing.
  2. Fail-closed permissions. Everything is read-only by default. Installing dependencies, executing code, or cloning a remote is withheld until you consent (--allow-install / --allow-exec / --allow-clone) — and execution, when allowed, belongs in a sandbox.
  3. An orderly tour — the brief ends with the ordered next steps a well-behaved agent should take, so it explores on purpose instead of poking at random.

Guarantees

  • Nothing in the target is executed on the host. scout reads files and git; it never runs the repo's code. (Execution, when consented, runs in Voyager's hardened container.)
  • Every owner-controlled byte is untrusted — README, description, commit messages, the Repotector ledger — injection-stripped and framed before your model sees it.
  • Exit codes: 0 oriented · 1 oriented + HIGH-risk finding(s) · 2 tool error.

MCP

bash
voyager-repo mcp

Tool: scout_repo — same orientation, safe-by-default (invasive flags off).

Library

ts
import { scout } from '@dir-ai/voyager-repo'const brief = await scout('/path/to/repo', { checkDeps: 10 })if (brief.risks.some((r) => r.level === 'high')) { /* caution */ }

Status

0.x — Phase 1 (repo orientation) of the Voyager "senses" line. Roadmap: capability analysis of a package's tarball, PyPI/cargo/go dependency vetting, and the net organ (cloud/infra introspection).

License

MIT

來源:README.md,提交 b760ece

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.7.0最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分