@zhushanwen/pi-smart-context 0.1.2 → 0.1.3

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/package.json +3 -3
  2. package/src/pure.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zhushanwen/pi-smart-context",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "type": "module",
5
5
  "main": "index.ts",
6
6
  "xyz-agent": {
@@ -36,8 +36,8 @@
36
36
  "pi-package"
37
37
  ],
38
38
  "dependencies": {
39
- "@zhushanwen/pi-extension-logger": "0.3.1",
40
- "@zhushanwen/pi-llm-shared": "0.4.2"
39
+ "@zhushanwen/pi-extension-logger": "0.4.0",
40
+ "@zhushanwen/pi-llm-shared": "0.5.0"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@vitest/coverage-v8": "^4.1.9",
package/src/pure.ts CHANGED
@@ -251,7 +251,7 @@ export function buildReinjectSection(contents: ReadonlyArray<{ path: string; con
251
251
  // ──────────────────────── subagent 识别(R6) ────────────────────────
252
252
 
253
253
  /**
254
- * subagent 子进程检测(D9/R6):subagent-workflow 无条件注入 PI_SUBAGENT_ROOT_SESSION_ID。
254
+ * subagent 子进程检测(D9/R6):subagent-core session-runner 无条件注入 PI_SUBAGENT_ROOT_SESSION_ID。
255
255
  * 命中 → 本进程不注册工具、不提醒(宁缺勿污)。
256
256
  */
257
257
  export function isSubagentProcess(env: NodeJS.ProcessEnv = process.env): boolean {