@zhushanwen/subagent-engine-sdk 0.12.0 → 0.12.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.
@@ -16,7 +16,11 @@ var ENGINE_ENV_DENY_LIST = [
16
16
  // 预设回落事实(env 名 SSOT = shared PRESET_FALLBACK_ENV_KEYS):「本进程本次运行」
17
17
  // 事实只对 runtime 直接 spawn 的 pi 成立,引擎一跳继承会造成子 agent pi 假披露
18
18
  "TAIJI_PRESET_FALLBACK_FROM",
19
- "TAIJI_PRESET_FALLBACK_TO"
19
+ "TAIJI_PRESET_FALLBACK_TO",
20
+ // runtime 实例标识(connection-datasync-ssot §6.1,env 名 SSOT = shared
21
+ // RUNTIME_ID_ENV):supervisor 每次 spawn 签发的生命周期标志,只有 runtime 自身
22
+ // 消费;引擎一跳继承陈旧值 = 后代进程持有已死实例标识,出站剥除
23
+ "TAIJI_RUNTIME_ID"
20
24
  ];
21
25
  var ENGINE_ENV_L0_INFRA_KEYS = [
22
26
  "TAIJI_AGENT_DATA_DIR",
package/dist/env.cjs CHANGED
@@ -97,7 +97,11 @@ var ENGINE_ENV_DENY_LIST = [
97
97
  // 预设回落事实(env 名 SSOT = shared PRESET_FALLBACK_ENV_KEYS):「本进程本次运行」
98
98
  // 事实只对 runtime 直接 spawn 的 pi 成立,引擎一跳继承会造成子 agent pi 假披露
99
99
  "TAIJI_PRESET_FALLBACK_FROM",
100
- "TAIJI_PRESET_FALLBACK_TO"
100
+ "TAIJI_PRESET_FALLBACK_TO",
101
+ // runtime 实例标识(connection-datasync-ssot §6.1,env 名 SSOT = shared
102
+ // RUNTIME_ID_ENV):supervisor 每次 spawn 签发的生命周期标志,只有 runtime 自身
103
+ // 消费;引擎一跳继承陈旧值 = 后代进程持有已死实例标识,出站剥除
104
+ "TAIJI_RUNTIME_ID"
101
105
  ];
102
106
  var ENGINE_ENV_L0_INFRA_KEYS = [
103
107
  "TAIJI_AGENT_DATA_DIR",
package/dist/env.js CHANGED
@@ -4,7 +4,7 @@ import {
4
4
  ENGINE_ENV_PREFIXES,
5
5
  buildEngineChildEnv,
6
6
  buildOutboundChildEnv
7
- } from "./chunk-2L3I2TWJ.js";
7
+ } from "./chunk-2JLFRKHK.js";
8
8
  import "./chunk-NXNNXGTY.js";
9
9
  import "./chunk-JSBRDJBE.js";
10
10
  export {
package/dist/index.cjs CHANGED
@@ -7876,7 +7876,11 @@ var ENGINE_ENV_DENY_LIST = [
7876
7876
  // 预设回落事实(env 名 SSOT = shared PRESET_FALLBACK_ENV_KEYS):「本进程本次运行」
7877
7877
  // 事实只对 runtime 直接 spawn 的 pi 成立,引擎一跳继承会造成子 agent pi 假披露
7878
7878
  "TAIJI_PRESET_FALLBACK_FROM",
7879
- "TAIJI_PRESET_FALLBACK_TO"
7879
+ "TAIJI_PRESET_FALLBACK_TO",
7880
+ // runtime 实例标识(connection-datasync-ssot §6.1,env 名 SSOT = shared
7881
+ // RUNTIME_ID_ENV):supervisor 每次 spawn 签发的生命周期标志,只有 runtime 自身
7882
+ // 消费;引擎一跳继承陈旧值 = 后代进程持有已死实例标识,出站剥除
7883
+ "TAIJI_RUNTIME_ID"
7880
7884
  ];
7881
7885
  var ENGINE_ENV_L0_INFRA_KEYS = [
7882
7886
  "TAIJI_AGENT_DATA_DIR",
package/dist/index.js CHANGED
@@ -41,7 +41,7 @@ import {
41
41
  ENGINE_ENV_PREFIXES,
42
42
  buildEngineChildEnv,
43
43
  buildOutboundChildEnv
44
- } from "./chunk-2L3I2TWJ.js";
44
+ } from "./chunk-2JLFRKHK.js";
45
45
  import {
46
46
  DEFAULT_ENGINE_HOST_REQUEST_TIMEOUT_MS,
47
47
  ENGINE_ABORT_KILL_GRACE_MS,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zhushanwen/subagent-engine-sdk",
3
- "version": "0.12.0",
3
+ "version": "0.12.1",
4
4
  "description": "Engine-side SDK for the subagent engine protocol: NDJSON stdio contract types, engine primitives (schema emulation, nesting guard, kill chain, journal replay projection, data-dir/paths resolution) — the shared contract root between subagent-core and engine CLI packages (engines import SDK only, never core)",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -72,7 +72,7 @@
72
72
  },
73
73
  "scripts": {
74
74
  "build": "tsup",
75
- "test": "vitest run",
75
+ "test": "vitest run --pool=threads",
76
76
  "typecheck": "tsc --noEmit"
77
77
  }
78
78
  }