@epoch-agent/plugin-terminal 3.1.2 → 3.2.0

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.
Files changed (2) hide show
  1. package/README.md +3 -2
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -21,7 +21,8 @@
21
21
  **护栏**——它拦的是手滑,不是对抗,**上了沙箱之后这条一个字没松**。
22
22
  后台任务和持久会话**都不能活过 epoch 进程**(刻意的,见下)。
23
23
  不做 `shell_signal`、不做 `shell_wait`、不做跨会话共享(判据见下)
24
- - **依赖**:`node-pty`。[protocol](../../protocol) 和 [infra](../../infra) 是 peer
24
+ - **依赖**:`node-pty`。[protocol](../../protocol) 和 [infra](../../infra) 都是 `dependencies`
25
+ (本包**没有 `peerDependencies`** —— 2026-11-03 核)
25
26
 
26
27
  ## 沙箱:三条路径都接上了,但**只管写入**,而且关得掉
27
28
 
@@ -470,7 +471,7 @@ node-pty 的报错后面一起返回,而不是让人对着 `posix_spawnp faile
470
471
  ## 开发
471
472
 
472
473
  ```bash
473
- pnpm --filter @epoch-agent/plugin-terminal test
474
+ npx vitest run --project=plugin-terminal
474
475
  ```
475
476
 
476
477
  两个真起进程、真杀、真查残留的端到端用例文件,**改 kill 逻辑必须跑**:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epoch-agent/plugin-terminal",
3
- "version": "3.1.2",
3
+ "version": "3.2.0",
4
4
  "private": false,
5
5
  "description": "epoch-agent 终端命令执行插件",
6
6
  "repository": {
@@ -22,8 +22,8 @@
22
22
  ],
23
23
  "dependencies": {
24
24
  "node-pty": "^1.1.0",
25
- "@epoch-agent/infra": "3.1.2",
26
- "@epoch-agent/protocol": "3.1.2"
25
+ "@epoch-agent/infra": "3.2.0",
26
+ "@epoch-agent/protocol": "3.2.0"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@types/node": "^26.1.2",