@zhushanwen/pi-base-tool-enhance 0.4.0 → 0.4.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zhushanwen/pi-base-tool-enhance",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "Base tool enhancement - override builtin bash tool: foreground delegates to pi official factory, incremental background mode (design: docs/design/base-tool-enhance.md)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.ts",
|
|
@@ -28,10 +28,10 @@
|
|
|
28
28
|
"skills/"
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@xyz-agent/extension-protocol": "0.8.
|
|
32
|
-
"@zhushanwen/pi-extension-logger": "0.4.
|
|
33
|
-
"@zhushanwen/pi-file-lock": "0.2.
|
|
34
|
-
"@zhushanwen/pi-llm-shared": "0.5.
|
|
31
|
+
"@xyz-agent/extension-protocol": "0.8.1",
|
|
32
|
+
"@zhushanwen/pi-extension-logger": "0.4.1",
|
|
33
|
+
"@zhushanwen/pi-file-lock": "0.2.1",
|
|
34
|
+
"@zhushanwen/pi-llm-shared": "0.5.1"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@vitest/coverage-v8": "^4.1.9",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"@earendil-works/pi-coding-agent": "^0.84.4",
|
|
42
42
|
"typebox": "*",
|
|
43
|
-
"@zhushanwen/pi-pending-notifications": "0.5.
|
|
43
|
+
"@zhushanwen/pi-pending-notifications": "0.5.3"
|
|
44
44
|
},
|
|
45
45
|
"peerDependenciesMeta": {
|
|
46
46
|
"@zhushanwen/pi-pending-notifications": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* subagent 进程识别(D14 降级判据,探针 P5)。
|
|
3
3
|
*
|
|
4
|
-
* subagent-core 的 buildChildEnv(packages/subagent-core/src/execution/session-runner.ts)
|
|
4
|
+
* subagent-core 的 buildChildEnv(packages/subagent-core/src/execution/engine/engines/pi/session-runner.ts)
|
|
5
5
|
* 对每个子 agent 进程**无条件**注入身份贯穿 env(PI_SUBAGENT_ROOT_SESSION_ID / SELF_RECORD_ID /
|
|
6
6
|
* DEPTH / ROOT_CWD,见其源码注释「无条件注入每个 subagent」)。任一存在 = 当前
|
|
7
7
|
* pi 进程是 subagent 子进程 → 本扩展降级:background:true 被忽略走前台同步语义。
|