EG

entelligentsia/grove

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

36 stars 2 forks 质量 72 趋势 4MIT

为编码代理提供结构化、字节精确、令牌低廉的代码库访问——通过CLI和MCP服务器进行树状管理。

概览

两个曲面 · 一个树状置机引擎 · 运行时有27种语言 Asciinema 演员阵容:Docs/Assets/grove_demo.Cast — 用 Asciinema 播放 DOCS/ASSETS/grove_demo.cast 重播 编码代理会烧毁令牌和往返,通过grep和读取整个文件来回答这个定义在哪里、它做什么、谁调用它。Grove用——在一个稳定的ID背后,代理人在回合中重复使用。这不是LSP;而是它下面的廉价语法层。 无论哪种表面,每个答案都以相同的形式返回: 将整串字符串传递给源代码以读取符号正文,或传给调用者查找其调用地点。 一行——检测你的平台,验证sha256,安装grove和grove-explore,并遵守HTTP(S)_PROXY/ALL_PROXY/NO_PROXY。你更喜欢Homebrew、npm、cargo、PowerShell,还是从源码构建?→ . Grove init 检测你的语言,获取它们的语法,并 pins Grove。

概述(AI 翻译)

问在哪里,得到准确的台词

两个曲面 · 一个树状置机引擎 · 运行时有27种语言

开始 · 七种工具 · 工作原理 · 证明 · 探索 · 建模 · 文档

无序球铸像:docs/assets/grove_demo.cast — 与[[T1]重播]

编码代理会刻录令牌和往返grep,并读取整个文件到 回答:这在哪里定义,它的作用是什么,谁说的。 格罗夫回答了每一个 用一个符号,按精确字节 — 在一个稳定的ID后面,代理在 转折。它不是LSP;而是LSP下面那层廉价的句法层。

无论哪种表面,每个答案都以相同的形式返回:

将整串传递给source以读取符号正体,或传递给callers 寻找其呼叫地点。

60秒开始

1 · 安装

一条线——检测你的平台,验证 sha256,安装两个 grove 和 grove-explore,并致敬 HTTP(S)_PROXY/ALL_PROXY/NO_PROXY。 更喜欢自制软件、npm、cargo、PowerShell,还是从源代码构建?→ 安装。

2 · 把它接进你的项目里

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Coding agents burn tokens and round-trips grep-ing and reading whole files to answer where is this defined, what does it do, who calls it. grove answers each with one symbol, by exact bytes — behind a stable id the agent reuses across turns. It’s not an LSP; it’s the cheap syntactic layer beneath one.

Every answer, from either surface, comes back in the same shape:

javascript:routes/user.js#isLoggedIn@50
└── grammar  └── path      └── symbol  └── line (1-based)

Pass that whole string to source to read the symbol’s body, or to callers to find its call sites.

60-second start

1 · Install

curl -fsSL https://raw.githubusercontent.com/Entelligentsia/grove/main/install.sh | sh

One line — detects your platform, verifies the sha256, installs both grove and grove-explore, and honors HTTP(S)_PROXY/ALL_PROXY/NO_PROXY. Prefer Homebrew, npm, cargo, PowerShell, or building from source? → Install.

2 · Wire it into your project

cd your-project
grove init

grove init detects your languages, fetches their grammars, pins grove.lock, and registers grove with every coding agent it finds — Claude Code, Cursor, Codex, Gemini CLI, Windsurf, VS Code — each at its own config path, plus a steering note so the agent reaches for grove instead of grep. Scope it with --agents claude-code,cursor,… (or all). → Setup.

3 · Ask your agent

在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →