aura-basetools-dsh 0.7.0 → 0.13.1
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 +74 -5
- package/aura-edit/index.js +309 -32
- package/aura-read/index.js +78 -27
- package/cordis.patch.yml +1 -0
- package/dsh/argv-shell.mjs +290 -0
- package/dsh/hook-inproc.mjs +407 -0
- package/package.json +23 -9
package/README.md
CHANGED
|
@@ -1,10 +1,79 @@
|
|
|
1
|
-
# aura-basetools-dsh 0.
|
|
1
|
+
# aura-basetools-dsh 0.13.1
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
DeepSeek Harness adapter for `aura-basetools`. The core package is DSH-free; this package adds the `aura_basetools_*` tools and the hook executor.
|
|
4
|
+
|
|
5
|
+
`aura-basetools` 的 DeepSeek Harness 适配器。核心包不依赖 DSH;本包只添加 `aura_basetools_*` 工具与钩子执行器。
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## English
|
|
10
|
+
|
|
11
|
+
### Install
|
|
4
12
|
|
|
5
13
|
```bash
|
|
6
|
-
npm i aura-basetools-dsh
|
|
7
|
-
# or:
|
|
14
|
+
npm i aura-basetools-dsh@0.13.1
|
|
15
|
+
# or:
|
|
16
|
+
dsh plugin --profile web add aura-basetools-dsh@0.13.1
|
|
8
17
|
```
|
|
9
18
|
|
|
10
|
-
|
|
19
|
+
Requires a DSH host that provides `@deepseek-ai/dsh-tools`, `@deepseek-ai/dsh-shell`, and `@deepseek-ai/schemastery`. These peers are declared optional so a plain npm install does not try to fetch private packages; a missing peer fails loudly when the module is imported.
|
|
20
|
+
|
|
21
|
+
### Tools
|
|
22
|
+
|
|
23
|
+
- `aura_basetools_read`
|
|
24
|
+
- `aura_basetools_edit`
|
|
25
|
+
- `aura_basetools_write`
|
|
26
|
+
- `aura_basetools_undo`
|
|
27
|
+
- `aura_basetools_transactions`
|
|
28
|
+
|
|
29
|
+
Built-in DSH `read` / `write` / `edit` / `read_image` remain enabled. Restart the DSH host after installation so the new tool names are registered.
|
|
30
|
+
|
|
31
|
+
### Hook executor
|
|
32
|
+
|
|
33
|
+
The package ships `dsh/argv-shell.mjs` and `dsh/hook-inproc.mjs`. Point the profile's `polaris-hooks-shell` entry at the installed copy:
|
|
34
|
+
|
|
35
|
+
```yaml
|
|
36
|
+
- id: polaris-hooks-shell
|
|
37
|
+
name: '<profile>/node_modules/aura-basetools-dsh/dsh/argv-shell.mjs'
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
### Boundary
|
|
41
|
+
|
|
42
|
+
This package is only the DSH adapter. Core behavior, CLI, MCP, byte-fidelity guarantees, and transaction semantics are documented and tested in `aura-basetools`.
|
|
43
|
+
|
|
44
|
+
---
|
|
45
|
+
|
|
46
|
+
## 中文
|
|
47
|
+
|
|
48
|
+
### 安装
|
|
49
|
+
|
|
50
|
+
```bash
|
|
51
|
+
npm i aura-basetools-dsh@0.13.1
|
|
52
|
+
# 或:
|
|
53
|
+
dsh plugin --profile web add aura-basetools-dsh@0.13.1
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
需要 DSH 宿主提供 `@deepseek-ai/dsh-tools`、`@deepseek-ai/dsh-shell`、`@deepseek-ai/schemastery`。这些 peer 标为 optional,避免普通 npm 安装去解析私有包;缺 peer 时在 import 阶段明确失败。
|
|
57
|
+
|
|
58
|
+
### 工具
|
|
59
|
+
|
|
60
|
+
- `aura_basetools_read`
|
|
61
|
+
- `aura_basetools_edit`
|
|
62
|
+
- `aura_basetools_write`
|
|
63
|
+
- `aura_basetools_undo`
|
|
64
|
+
- `aura_basetools_transactions`
|
|
65
|
+
|
|
66
|
+
DSH 内置的 `read` / `write` / `edit` / `read_image` 保持启用。安装后需要重启 DSH 宿主,新工具名才会注册。
|
|
67
|
+
|
|
68
|
+
### 钩子执行器
|
|
69
|
+
|
|
70
|
+
包内包含 `dsh/argv-shell.mjs` 与 `dsh/hook-inproc.mjs`。profile 中 `polaris-hooks-shell` 应指向安装副本:
|
|
71
|
+
|
|
72
|
+
```yaml
|
|
73
|
+
- id: polaris-hooks-shell
|
|
74
|
+
name: '<profile>/node_modules/aura-basetools-dsh/dsh/argv-shell.mjs'
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
### 边界
|
|
78
|
+
|
|
79
|
+
本包只负责 DSH 适配。核心行为、CLI、MCP、字节保真保证与事务语义由 `aura-basetools` 提供并测试。
|