aura-basetools 0.13.1 → 0.13.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/bin/aura-mcp.mjs +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# aura-basetools 0.13.
|
|
1
|
+
# aura-basetools 0.13.2
|
|
2
2
|
|
|
3
3
|
Byte-exact file tools for coding agents: read by intent, edit by intent, and write whole files without corrupting bytes. One engine shared by a standalone CLI and an MCP server.
|
|
4
4
|
|
|
@@ -21,7 +21,7 @@ The engine is intentionally not a general file manager: it reads and edits UTF-8
|
|
|
21
21
|
### Install
|
|
22
22
|
|
|
23
23
|
```bash
|
|
24
|
-
npm i -g aura-basetools@0.13.
|
|
24
|
+
npm i -g aura-basetools@0.13.2
|
|
25
25
|
aura --version
|
|
26
26
|
```
|
|
27
27
|
|
|
@@ -137,7 +137,7 @@ MIT.
|
|
|
137
137
|
### 安装
|
|
138
138
|
|
|
139
139
|
```bash
|
|
140
|
-
npm i -g aura-basetools@0.13.
|
|
140
|
+
npm i -g aura-basetools@0.13.2
|
|
141
141
|
aura --version
|
|
142
142
|
```
|
|
143
143
|
|
package/bin/aura-mcp.mjs
CHANGED
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
* aura_basetools_transactions 列出当前工作区写事务
|
|
14
14
|
*
|
|
15
15
|
* 接法(写进各家的 MCP 配置即可):
|
|
16
|
-
* codex: codex mcp add aura -- npx -y --package aura-basetools aura mcp
|
|
17
|
-
* claude code: claude mcp add aura -- npx -y --package aura-basetools aura mcp
|
|
18
|
-
* cursor/zed: command = "npx", args = ["-y", "--package", "aura-basetools", "aura", "mcp"]
|
|
16
|
+
* codex: codex mcp add aura -- npx -y --package aura-basetools aura basetools mcp
|
|
17
|
+
* claude code: claude mcp add aura -- npx -y --package aura-basetools aura basetools mcp
|
|
18
|
+
* cursor/zed: command = "npx", args = ["-y", "--package", "aura-basetools", "aura", "basetools", "mcp"]
|
|
19
19
|
*
|
|
20
20
|
* 为什么必须带 `--package`:本包有两个 bin(`aura` / `aura-mcp`),**没有**一个叫
|
|
21
21
|
* `aura-basetools`;npx 在"多个 bin 且没有与包名同名的"时候会拒绝猜,直接报
|
|
@@ -559,7 +559,7 @@ export async function serve() {
|
|
|
559
559
|
await chain
|
|
560
560
|
}
|
|
561
561
|
|
|
562
|
-
// 直接运行本文件(`aura-mcp`,package.json 里声明的第二个 bin)也要起服务,与 `aura mcp` 等价。
|
|
562
|
+
// 直接运行本文件(`aura-mcp`,package.json 里声明的第二个 bin)也要起服务,与 `aura basetools mcp` 等价。
|
|
563
563
|
// 用 pathToFileURL 比手拼 file:// 靠得住(Windows 盘符就是那种手拼会踩的地方)。
|
|
564
564
|
if (process.argv[1] !== undefined && import.meta.url === pathToFileURL(process.argv[1]).href) {
|
|
565
565
|
await serve()
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aura-basetools",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.2",
|
|
4
4
|
"description": "Byte-exact read, edit and write tools for coding agents. Standalone CLI and MCP server; no DSH required. 面向 coding agent 的逐字节读写工具;独立 CLI / MCP,可选 DSH 适配器。",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|