@qilin-agent/session-snapshot 3.1.7 → 3.1.8

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/lib/index.js CHANGED
@@ -1713,7 +1713,8 @@ function parseSnapshotManifest(source, path = "snapshot.yml") {
1713
1713
  "workspace",
1714
1714
  "input",
1715
1715
  "session",
1716
- "sessionFormat"
1716
+ "sessionFormat",
1717
+ "settleChildren"
1717
1718
  ], "manifest");
1718
1719
  if (root.version !== 1) throw new Error("manifest.version must equal 1");
1719
1720
  const scenario = root.scenario === void 0 ? void 0 : name(root.scenario, "manifest.scenario");
@@ -1757,6 +1758,11 @@ function parseSnapshotManifest(source, path = "snapshot.yml") {
1757
1758
  if (value.override !== true) throw new Error("manifest.replay.override must equal true");
1758
1759
  replay = { override: true };
1759
1760
  }
1761
+ let settleChildren;
1762
+ if (root.settleChildren !== void 0) {
1763
+ if (root.settleChildren !== true) throw new Error("manifest.settleChildren must equal true when present");
1764
+ settleChildren = true;
1765
+ }
1760
1766
  let platform;
1761
1767
  if (root.platform !== void 0) {
1762
1768
  if (typeof root.platform !== "string" || !PLATFORMS.has(root.platform)) throw new Error("manifest.platform must be posix or pwsh");
@@ -1856,7 +1862,8 @@ function parseSnapshotManifest(source, path = "snapshot.yml") {
1856
1862
  ...workspace === void 0 ? {} : { workspace },
1857
1863
  ...input === void 0 ? {} : { input },
1858
1864
  ...session === void 0 ? {} : { session },
1859
- ...sessionFormat === void 0 ? {} : { sessionFormat }
1865
+ ...sessionFormat === void 0 ? {} : { sessionFormat },
1866
+ ...settleChildren === void 0 ? {} : { settleChildren }
1860
1867
  };
1861
1868
  } catch (error) {
1862
1869
  /* v8 ignore next -- every parser and validator above throws Error instances. */
@@ -96,6 +96,12 @@ export interface SnapshotManifest {
96
96
  workspace?: SnapshotWorkspaceManifest;
97
97
  /** Exceptional controller input absent for ordinary log-driven scenarios. */
98
98
  input?: SnapshotInputManifest;
99
+ /**
100
+ * Whether the run waits for every subagent it started to settle before closing the parent
101
+ * runtime. Declared by a scenario whose background child must persist a settled turn; absent
102
+ * for scenarios that leave children running on purpose.
103
+ */
104
+ settleChildren?: boolean;
99
105
  /** Absent when this directory owns its selected parent fixture; present for a read-only borrower. */
100
106
  session?: SnapshotSessionReference;
101
107
  /** Historical generation retained by an owner instead of tracking the current writer. */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@qilin-agent/session-snapshot",
3
3
  "description": "Session-log snapshot core with an ACP protocol adapter, expected-output normalization, and fixture invariants",
4
- "version": "3.1.7",
4
+ "version": "3.1.8",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -31,31 +31,31 @@
31
31
  "license": "MIT",
32
32
  "dependencies": {
33
33
  "@agentclientprotocol/sdk": "1.4.0",
34
+ "@qilin-agent/kylin-plugin-include": "~1.0.11-alpha.2",
35
+ "@qilin-agent/llm-replay": "3.1.8",
36
+ "@qilin-agent/loader-smoke": "3.1.8",
37
+ "@qilin-agent/session-format": "3.1.8",
34
38
  "js-yaml": "^4.3.2",
35
- "vitest": "^4.1.8",
36
- "@qilin-agent/kylin-plugin-include": "~1.0.10",
37
- "@qilin-agent/loader-smoke": "3.1.7",
38
- "@qilin-agent/llm-replay": "3.1.7",
39
- "@qilin-agent/session-format": "3.1.7"
39
+ "vitest": "^4.1.8"
40
40
  },
41
41
  "peerDependencies": {
42
- "@qilin-agent/kylin": "~4.0.5",
43
- "@qilin-agent/http-proxy": "3.1.7",
44
- "@qilin-agent/session": "3.1.7"
42
+ "@qilin-agent/kylin": "~4.0.6-alpha.2",
43
+ "@qilin-agent/session": "3.1.8",
44
+ "@qilin-agent/http-proxy": "3.1.8"
45
45
  },
46
46
  "devDependencies": {
47
+ "@qilin-agent/kylin": "~4.0.6-alpha.2",
48
+ "@qilin-agent/agent": "3.1.8",
49
+ "@qilin-agent/agent-loop": "3.1.8",
50
+ "@qilin-agent/compaction": "3.1.8",
51
+ "@qilin-agent/llm": "3.1.8",
52
+ "@qilin-agent/sandbox": "3.1.8",
53
+ "@qilin-agent/sandbox-policy": "3.1.8",
54
+ "@qilin-agent/session": "3.1.8",
55
+ "@qilin-agent/subagent": "3.1.8",
56
+ "@qilin-agent/tools": "3.1.8",
57
+ "@qilin-agent/user-questions": "3.1.8",
47
58
  "@types/js-yaml": "^4.0.9",
48
- "@qilin-agent/kylin": "~4.0.5",
49
- "@qilin-agent/agent": "3.1.7",
50
- "@qilin-agent/agent-loop": "3.1.7",
51
- "@qilin-agent/compaction": "3.1.7",
52
- "@qilin-agent/llm": "3.1.7",
53
- "@qilin-agent/sandbox": "3.1.7",
54
- "@qilin-agent/session": "3.1.7",
55
- "@qilin-agent/tools": "3.1.7",
56
- "@qilin-agent/user-questions": "3.1.7",
57
- "@qilin-agent/http-proxy": "3.1.7",
58
- "@qilin-agent/sandbox-policy": "3.1.7",
59
- "@qilin-agent/subagent": "3.1.7"
59
+ "@qilin-agent/http-proxy": "3.1.8"
60
60
  }
61
61
  }