@sema-agent/core 7.61.0 → 7.62.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 (176) hide show
  1. package/CHANGELOG.md +312 -0
  2. package/dist/agents/cascade.d.ts +11 -3
  3. package/dist/agents/cascade.js +1 -1
  4. package/dist/agents/peer-held-queue.d.ts +27 -4
  5. package/dist/agents/peer-held-queue.js +81 -36
  6. package/dist/agents/peer-session-drain.js +13 -3
  7. package/dist/agents/subagent.d.ts +6 -1
  8. package/dist/agents/subagent.js +66 -12
  9. package/dist/agents/suspend-guard.d.ts +38 -16
  10. package/dist/agents/suspend-guard.js +9 -4
  11. package/dist/agents/verify.js +4 -3
  12. package/dist/core/checkpoint-features.d.ts +722 -0
  13. package/dist/core/checkpoint-features.js +98 -0
  14. package/dist/core/checkpoint-requirements.d.ts +9 -2
  15. package/dist/core/checkpoint-requirements.js +9 -4
  16. package/dist/core/checkpoint-row-verdict.d.ts +99 -0
  17. package/dist/core/checkpoint-row-verdict.js +225 -0
  18. package/dist/core/checkpoint-store.d.ts +55 -745
  19. package/dist/core/checkpoint-store.js +39 -141
  20. package/dist/core/engine-notice.d.ts +19 -3
  21. package/dist/core/engine-notice.js +9 -2
  22. package/dist/core/gate-fold.js +2 -2
  23. package/dist/core/governance-codes.d.ts +3 -1
  24. package/dist/core/governance-codes.js +3 -0
  25. package/dist/core/hooks.d.ts +13 -0
  26. package/dist/core/human-input-projection.d.ts +1 -0
  27. package/dist/core/human-input-projection.js +3 -0
  28. package/dist/core/image-admission.d.ts +1 -1
  29. package/dist/core/locked-config.d.ts +2 -2
  30. package/dist/core/mcp-host-seat.js +6 -1
  31. package/dist/core/memory-engine/consolidation-driver.d.ts +1 -1
  32. package/dist/core/memory-vector.d.ts +1 -1
  33. package/dist/core/memory.d.ts +10 -10
  34. package/dist/core/mode-policy.js +1 -1
  35. package/dist/core/mods/classic-events.d.ts +9 -1
  36. package/dist/core/mods/dollar.d.ts +32 -1
  37. package/dist/core/mods/dollar.js +13 -1
  38. package/dist/core/mods/kernel/events.d.ts +11 -3
  39. package/dist/core/mods/kernel/events.js +13 -10
  40. package/dist/core/mods/lifecycle-stations.d.ts +36 -4
  41. package/dist/core/mods/lifecycle-stations.js +44 -9
  42. package/dist/core/mods/session-append.d.ts +4 -1
  43. package/dist/core/mods/session-append.js +7 -0
  44. package/dist/core/mods/session-receive.js +12 -15
  45. package/dist/core/mods/stations.d.ts +51 -6
  46. package/dist/core/mods/stations.js +124 -0
  47. package/dist/core/own-property-receipt.d.ts +7 -0
  48. package/dist/core/own-property-receipt.js +3 -0
  49. package/dist/core/read-root-candidate.js +1 -1
  50. package/dist/core/resume-startup-cause.d.ts +5 -4
  51. package/dist/core/runner/compact-session.js +5 -2
  52. package/dist/core/runner/contracts.d.ts +18 -8
  53. package/dist/core/runner/delegation-owner.d.ts +43 -0
  54. package/dist/core/runner/delegation-owner.js +59 -0
  55. package/dist/core/runner/lineage-reroot-view.d.ts +56 -0
  56. package/dist/core/runner/lineage-reroot-view.js +108 -0
  57. package/dist/core/runner/permission-rule-lanes.d.ts +2 -1
  58. package/dist/core/runner/permission-rule-lanes.js +2 -2
  59. package/dist/core/runner/person-path-rows.d.ts +15 -0
  60. package/dist/core/runner/person-path-rows.js +26 -3
  61. package/dist/core/runner/prepare-acquire-reconcile.d.ts +4 -1
  62. package/dist/core/runner/prepare-acquire-reconcile.js +7 -2
  63. package/dist/core/runner/prepare-caps-and-workflow.d.ts +1 -0
  64. package/dist/core/runner/prepare-caps-and-workflow.js +1 -1
  65. package/dist/core/runner/prepare-config-doors.d.ts +6 -6
  66. package/dist/core/runner/prepare-config-doors.js +3 -4
  67. package/dist/core/runner/prepare-hands-readface.d.ts +1 -1
  68. package/dist/core/runner/prepare-hands-readface.js +28 -7
  69. package/dist/core/runner/prepare-inherited-gate.d.ts +2 -0
  70. package/dist/core/runner/prepare-inherited-gate.js +7 -3
  71. package/dist/core/runner/prepare-task.js +10 -7
  72. package/dist/core/runner/resume-admission.d.ts +3 -3
  73. package/dist/core/runner/resume-admission.js +6 -3
  74. package/dist/core/runner/resume-apply.d.ts +4 -0
  75. package/dist/core/runner/resume-apply.js +11 -4
  76. package/dist/core/runner/resume-checkpoint-screen.d.ts +9 -0
  77. package/dist/core/runner/resume-checkpoint-screen.js +4 -84
  78. package/dist/core/runner/run-git-lane.d.ts +2 -0
  79. package/dist/core/runner/run-git-lane.js +4 -1
  80. package/dist/core/runner/run-harness-handlers.d.ts +2 -0
  81. package/dist/core/runner/run-harness-handlers.js +3 -2
  82. package/dist/core/runner/run-leg.js +24 -7
  83. package/dist/core/runner/run-settle-and-teardown.js +3 -2
  84. package/dist/core/runner/run-stop-and-final-verify.js +2 -1
  85. package/dist/core/runner/run-turn-boundary.js +7 -4
  86. package/dist/core/runner/runtask.js +6 -6
  87. package/dist/core/runner/steering-preview.d.ts +9 -0
  88. package/dist/core/runner/steering-preview.js +5 -0
  89. package/dist/core/runner/stream-steer-verb.js +8 -0
  90. package/dist/core/runner/tool-face-overlay.js +2 -0
  91. package/dist/core/runner/turn-attachments.d.ts +5 -0
  92. package/dist/core/runner/turn-attachments.js +1 -1
  93. package/dist/core/runner-deps.d.ts +2 -2
  94. package/dist/core/secret-env.d.ts +8 -5
  95. package/dist/core/secret-env.js +37 -18
  96. package/dist/core/session-store.d.ts +1 -1
  97. package/dist/core/session-store.js +5 -1
  98. package/dist/core/session.d.ts +14 -4
  99. package/dist/core/store-contracts/checkpoint-store-contract.d.ts +6 -0
  100. package/dist/core/store-contracts/checkpoint-store-contract.js +68 -0
  101. package/dist/core/store-contracts/session-store-contract.js +22 -8
  102. package/dist/core/task-event.d.ts +7 -1
  103. package/dist/core/task-notification.js +2 -1
  104. package/dist/core/task-registry-agent.d.ts +27 -7
  105. package/dist/core/task-registry-agent.js +12 -5
  106. package/dist/core/task-registry-shared.d.ts +7 -0
  107. package/dist/core/task-registry-workflow.js +4 -3
  108. package/dist/core/task-registry.d.ts +13 -2
  109. package/dist/core/task-registry.js +11 -4
  110. package/dist/core/task-result.d.ts +5 -5
  111. package/dist/core/task-spec.d.ts +1 -1
  112. package/dist/core/terminal-cause.d.ts +6 -6
  113. package/dist/core/tool-face.d.ts +6 -2
  114. package/dist/core/tool-face.js +1 -1
  115. package/dist/core/tool-policy.d.ts +2 -1
  116. package/dist/core/tool-roster.d.ts +4 -4
  117. package/dist/core/tool-spec.d.ts +4 -0
  118. package/dist/core/types.d.ts +1 -1
  119. package/dist/core/types.js +1 -1
  120. package/dist/engine/execution-env/node-execution-env.d.ts +3 -0
  121. package/dist/engine/execution-env/node-execution-env.js +12 -5
  122. package/dist/engine/harness/types.d.ts +11 -0
  123. package/dist/engine/session/parent-chain-guard.d.ts +3 -3
  124. package/dist/engine/session/parent-chain-guard.js +1 -1
  125. package/dist/engine/session/path-to-root.d.ts +18 -3
  126. package/dist/engine/session/path-to-root.js +15 -1
  127. package/dist/engine/session/repo-utils.d.ts +12 -1
  128. package/dist/engine/session/repo-utils.js +41 -0
  129. package/dist/engine/session/session.js +1 -1
  130. package/dist/engine/session/storage-base.d.ts +20 -0
  131. package/dist/engine/session/storage-base.js +28 -9
  132. package/dist/index.d.ts +9 -8
  133. package/dist/index.js +4 -4
  134. package/dist/internal/harness.d.ts +4 -3
  135. package/dist/internal/harness.js +3 -2
  136. package/dist/orchestration/run-workflow-tool.d.ts +3 -0
  137. package/dist/orchestration/run-workflow-tool.js +27 -11
  138. package/dist/orchestration/workflow-governance.d.ts +1 -1
  139. package/dist/orchestration/workflow.d.ts +3 -0
  140. package/dist/orchestration/workflow.js +2 -7
  141. package/dist/stores/file/checkpoint-store.d.ts +2 -0
  142. package/dist/stores/file/checkpoint-store.js +7 -6
  143. package/dist/stores/file/fs-atomic.d.ts +0 -22
  144. package/dist/stores/file/fs-atomic.js +0 -17
  145. package/dist/stores/file/index.d.ts +2 -9
  146. package/dist/stores/file/index.js +2 -4
  147. package/dist/stores/file/session-store.d.ts +13 -7
  148. package/dist/stores/file/session-store.js +40 -17
  149. package/dist/tools/fs/bash-program-position.d.ts +3 -2
  150. package/dist/tools/fs/bash-program-position.js +7 -7
  151. package/dist/tools/fs/removal-targets.js +2 -2
  152. package/dist/tools/fs/shell-read-argv.d.ts +4 -2
  153. package/dist/tools/fs/shell-read-argv.js +14 -3
  154. package/dist/tools/fs/shell-read-bindings.d.ts +18 -2
  155. package/dist/tools/fs/shell-read-bindings.js +148 -68
  156. package/dist/tools/fs/shell-read-check.js +20 -4
  157. package/dist/tools/fs/shell-read-establish.js +22 -8
  158. package/dist/tools/fs/shell-read-functions.js +2 -2
  159. package/dist/tools/fs/shell-read-object-path.d.ts +59 -0
  160. package/dist/tools/fs/shell-read-object-path.js +119 -0
  161. package/dist/tools/fs/shell-read-plan.d.ts +8 -0
  162. package/dist/tools/fs/shell-read-plan.js +47 -30
  163. package/dist/tools/fs/shell-read-start.d.ts +66 -13
  164. package/dist/tools/fs/shell-read-start.js +89 -17
  165. package/dist/tools/fs/shell-read-workdir.d.ts +29 -8
  166. package/dist/tools/fs/shell-read-workdir.js +31 -8
  167. package/package.json +2 -2
  168. package/test/export-surface.snapshot.json +21 -33
  169. package/wire-changes/core-stores-sql@7.62.0.json +30 -0
  170. package/wire-changes/core@7.62.0.json +2181 -0
  171. package/wire-changes/mods-kernel@7.62.0.json +42 -0
  172. package/wire-changes/primitives@7.62.0.json +30 -0
  173. package/dist/core/consolidate-scope.d.ts +0 -93
  174. package/dist/core/consolidate-scope.js +0 -98
  175. package/dist/core/runner/memory-consolidation.d.ts +0 -109
  176. package/dist/core/runner/memory-consolidation.js +0 -251
@@ -1,33 +1,35 @@
1
1
  import { argvOf, lexShell } from "../../shell/lex.js";
2
2
  import { shellWordsOf } from "../../shell/shell-words.js";
3
- import { resolveOperandLexically } from "./bash-readonly-classifier.js";
3
+ import { resolveOperandLexically, resolveOperandSpellings } from "./bash-readonly-classifier.js";
4
4
  import { readProgramPosition } from "./bash-program-position.js";
5
5
  import { valueOf } from "./shell-read-bindings.js";
6
6
  import { evalDefinedFunctions, functionCallOf } from "./shell-read-functions.js";
7
7
  import { codeBodies } from "./shell-reentry-text.js";
8
8
  import { isAbsoluteForFamily } from "./safety.js";
9
+ import { walkFromStart } from "./shell-read-start.js";
9
10
  const TEXT_RUNNING_PROGRAMS = new Set(["eval", "source", "."]);
10
11
  const BASE_CANDIDATE_MAX = 256;
11
12
  const tableSays = (name, at, ctx) => ctx.textBinds(name) || at.table.commandSets.has(name);
12
13
  export class WorkdirThread {
13
- readable;
14
14
  candidates;
15
15
  lostAt = false;
16
16
  floors;
17
17
  physical;
18
18
  movedAt = -1;
19
- constructor(start, readable, startsPhysical = false) {
20
- this.readable = readable;
19
+ readable;
20
+ constructor(start, startsPhysical = false) {
21
21
  this.physical = startsPhysical;
22
22
  this.lostAt = start === "unmodelled";
23
- this.candidates = start === "unmodelled" ? [] : start.map((c) => (typeof c === "string" ? { base: c, skippedCd: -1, ...(readable && isAbsoluteForFamily("own", c) ? { pwd: c } : {}), dirStack: [] } : { ...c, skippedCd: -1 }));
23
+ this.readable = start === "unmodelled" || start.every((c) => walkFromStart(typeof c === "string" ? c : c.base) === undefined);
24
+ this.candidates = start === "unmodelled" ? [] : start.map((c) => (typeof c === "string" ? { base: c, skippedCd: -1, ...(this.readable && isAbsoluteForFamily("own", c) ? { pwd: c } : {}), dirStack: [] } : { ...c, skippedCd: -1 }));
24
25
  }
25
26
  get lost() {
26
27
  return this.lostAt;
27
28
  }
28
29
  get floorBases() {
29
- return this.floors;
30
+ return this.closedFloors.length === 0 ? this.floors : [...new Set([...(this.floors ?? []), ...this.closedFloors])];
30
31
  }
32
+ closedFloors = [];
31
33
  reachable(andRunStart) {
32
34
  return this.candidates.filter((c) => c.skippedCd < andRunStart);
33
35
  }
@@ -56,10 +58,30 @@ export class WorkdirThread {
56
58
  get mayBePhysical() {
57
59
  return this.physical;
58
60
  }
61
+ snapshot() {
62
+ return { candidates: this.candidates, lost: this.lostAt, floors: this.floors, physical: this.physical, movedAt: this.movedAt };
63
+ }
64
+ restore(s) {
65
+ this.reach(this.lostAt ? (this.floors ?? []) : this.candidates.map((c) => c.base));
66
+ if (this.lostAt && this.floors !== undefined)
67
+ this.closedFloors = [...this.closedFloors, ...this.floors];
68
+ this.candidates = s.candidates;
69
+ this.lostAt = s.lost;
70
+ this.floors = s.floors;
71
+ this.physical = s.physical;
72
+ this.movedAt = s.movedAt;
73
+ }
74
+ scopeReached = new Set();
75
+ get reached() {
76
+ return this.scopeReached;
77
+ }
78
+ reach(bases) {
79
+ this.scopeReached = new Set([...this.scopeReached, ...bases]);
80
+ }
59
81
  lose(at, reachable, floorTargets = []) {
60
82
  this.movedAt = Math.max(this.movedAt, at);
61
83
  this.lostAt = true;
62
- this.floors ??= [...new Set([...reachable.map((c) => c.base), ...floorTargets])];
84
+ this.floors ??= [...new Set([...reachable.map((c) => c.base), ...floorTargets, ...this.scopeReached])];
63
85
  }
64
86
  shift(si, at, ctx) {
65
87
  if (this.lostAt) {
@@ -106,6 +128,7 @@ export class WorkdirThread {
106
128
  const ran = ctx.evalEnd(s.text, c, at.table);
107
129
  if (ran.physical)
108
130
  this.physical = true;
131
+ this.reach(ran.reached);
109
132
  return ran.end === "unmodelled" ? "lost" : ran.end.map((e) => (this.physical ? withoutPwd(e) : e));
110
133
  }
111
134
  const old = tableSays("PWD", at, ctx) ? {} : c.pwd !== undefined ? { old: c.pwd } : {};
@@ -143,7 +166,7 @@ function floorOf(s, reachable, ctx) {
143
166
  if (typeof s.target === "string")
144
167
  return [];
145
168
  const target = s.target;
146
- return [...(target.floorSpelled !== undefined ? [target.floorSpelled] : []), ...(target.expands === false ? reachable.flatMap((c) => resolveOperandLexically(c.base, target.spelled, ctx.homeDir) ?? []) : [])];
169
+ return [...(target.floorSpelled !== undefined ? [target.floorSpelled] : []), ...(target.expands === false ? reachable.flatMap((c) => { const at = resolveOperandSpellings(c.base, target.spelled, ctx.homeDir); return at === undefined ? [] : [at.spelled ?? at.folded]; }) : [])];
147
170
  }
148
171
  function targetsOf(target, c, at, ctx) {
149
172
  if (target === "home")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sema-agent/core",
3
- "version": "7.61.0",
3
+ "version": "7.62.0",
4
4
  "description": "Stateless, task-oriented AI agent core",
5
5
  "type": "module",
6
6
  "license": "BUSL-1.1",
@@ -124,7 +124,7 @@
124
124
  "dependencies": {
125
125
  "@modelcontextprotocol/client": "2.4.0",
126
126
  "@modelcontextprotocol/core": "2.4.0",
127
- "@sema-agent/primitives": "7.61.0",
127
+ "@sema-agent/primitives": "7.62.0",
128
128
  "typebox": "1.1.39",
129
129
  "undici": "7.30.0"
130
130
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "_comment": "design/87 L3 — frozen public export surface of src/index.ts (name -> kind). DO NOT edit by hand to silence a red test. A removed/changed entry = a BREAKING change: name every removed entry in the CHANGELOG's BREAKING lines (what was removed / who is hurt / what to read instead) and update this fixture in the SAME commit. Regenerate via REGEN in test/export-surface.test.ts.",
3
3
  "_tierComment": "#435 v1 — machine-readable layering of the public surface: stable = demonstrated by README.md / src/examples; internal = an `Internal`-marked name or a runner/engine deep-subtree declaration (the model seam src/engine/llm is excluded — it is the BYOM contract, not an engine internal); advanced = a supported export the front door does not walk you through. THIS IS AN INITIAL HEURISTIC, derived mechanically and expected to be refined ticket by ticket: no human reviewed these 1700+ entries one by one, and nothing here claims otherwise. Known bias: a short or English-word export name (ok, err, Result, Usage) can match ordinary prose in README.md and land `stable` on a coincidence. Every export MUST carry a tier — a new export with no row fails the gate in export-surface.test.ts.",
4
- "count": 3134,
4
+ "count": 3128,
5
5
  "exports": {
6
6
  "A2ATaskState": "type",
7
7
  "A2ATaskStateReversal": "type",
@@ -296,7 +296,6 @@
296
296
  "CONSOLIDATION_DRIVER_PLANS_DIR": "variable",
297
297
  "CONSOLIDATION_DRIVER_RUNS_FILE": "variable",
298
298
  "CONSOLIDATION_RUN_STOP_REASONS": "variable",
299
- "CONSOLIDATION_SYSTEM_PROMPT": "variable",
300
299
  "CONSOLIDATION_WRITE_REFUSED_CODE": "variable",
301
300
  "CONTRACT_KIT_ENGINE_VERSION": "variable",
302
301
  "COORDINATOR_ROLE_PROMPT": "variable",
@@ -363,6 +362,7 @@
363
362
  "CheckpointPause": "type",
364
363
  "CheckpointRow": "interface",
365
364
  "CheckpointRowRead": "type",
365
+ "CheckpointRowVerdict": "type",
366
366
  "CheckpointSessionCursor": "interface",
367
367
  "CheckpointSessionQuery": "interface",
368
368
  "CheckpointSessionQueryReading": "interface",
@@ -413,8 +413,6 @@
413
413
  "ConfigProvenance": "type",
414
414
  "ConfirmRefusalReason": "type",
415
415
  "ConfirmResult": "type",
416
- "ConsolidateScopeDeps": "interface",
417
- "ConsolidateScopeOptions": "interface",
418
416
  "ConsolidationCommitReceipt": "interface",
419
417
  "ConsolidationDistillFn": "type",
420
418
  "ConsolidationDriveCycleRow": "interface",
@@ -427,10 +425,7 @@
427
425
  "ConsolidationGateRow": "interface",
428
426
  "ConsolidationIntent": "type",
429
427
  "ConsolidationIntentCredentialRow": "interface",
430
- "ConsolidationLLM": "interface",
431
428
  "ConsolidationLeaseSeat": "interface",
432
- "ConsolidationNote": "interface",
433
- "ConsolidationParams": "interface",
434
429
  "ConsolidationPlanFoldEvidence": "type",
435
430
  "ConsolidationPlanSummary": "interface",
436
431
  "ConsolidationProductProposal": "interface",
@@ -440,7 +435,6 @@
440
435
  "ConsolidationResolveReceipt": "interface",
441
436
  "ConsolidationRunReceipt": "interface",
442
437
  "ConsolidationRunStopReason": "type",
443
- "ConsolidationStats": "interface",
444
438
  "ConsolidationWriteGate": "type",
445
439
  "ConsolidationWriteJudge": "type",
446
440
  "ConsolidationWriteJudgeInput": "interface",
@@ -452,6 +446,7 @@
452
446
  "ContainmentFaceLayer": "type",
453
447
  "Context": "interface",
454
448
  "ContextEditOptions": "interface",
449
+ "ContextOccupancy": "type",
455
450
  "ContextUsageSection": "interface",
456
451
  "ContractAssertionRunner": "type",
457
452
  "ControlPlaneCorruptError": "class",
@@ -491,9 +486,6 @@
491
486
  "DECLARATION_PATH_RULES": "variable",
492
487
  "DECLARE_DONE_TOOL_NAME": "variable",
493
488
  "DEFAULT_COMPACTION_INSTRUCTIONS": "variable",
494
- "DEFAULT_CONSOLIDATION_BAND": "variable",
495
- "DEFAULT_CONSOLIDATION_MAX_NOTES": "variable",
496
- "DEFAULT_CONSOLIDATION_SEARCH_LIMIT": "variable",
497
489
  "DEFAULT_EFFORT_LEVELS": "variable",
498
490
  "DEFAULT_FILE_HISTORY_BOUNDARY_KEEP": "variable",
499
491
  "DEFAULT_HARVEST_DEADLINE_MS": "variable",
@@ -1013,7 +1005,6 @@
1013
1005
  "MemorySelector": "type",
1014
1006
  "MemorySessionHandle": "interface",
1015
1007
  "MemorySpecInput": "type",
1016
- "MemoryStore": "interface",
1017
1008
  "MemorySyncClientConflict": "interface",
1018
1009
  "MemorySyncClientResult": "interface",
1019
1010
  "MemorySyncConflict": "interface",
@@ -1258,6 +1249,7 @@
1258
1249
  "PeerHeldQueue": "interface",
1259
1250
  "PeerHeldQueueConfig": "interface",
1260
1251
  "PeerHeldQueueSink": "interface",
1252
+ "PeerHeldQueueSnapshot": "interface",
1261
1253
  "PeerHeldSettleOutcome": "type",
1262
1254
  "PeerHeldSettleReason": "type",
1263
1255
  "PeerHeldSettlement": "type",
@@ -1763,6 +1755,7 @@
1763
1755
  "SessionCaptureOptOutRecord": "interface",
1764
1756
  "SessionCaptureRecordStore": "interface",
1765
1757
  "SessionCompactAnswer": "interface",
1758
+ "SessionEndEvent": "interface",
1766
1759
  "SessionError": "class",
1767
1760
  "SessionHead": "interface",
1768
1761
  "SessionListQuery": "interface",
@@ -1797,6 +1790,7 @@
1797
1790
  "SessionRulesRecord": "interface",
1798
1791
  "SessionSendAnswer": "type",
1799
1792
  "SessionSendOrigin": "type",
1793
+ "SessionStartEvent": "interface",
1800
1794
  "SessionStorage": "interface",
1801
1795
  "SessionStore": "interface",
1802
1796
  "SessionStoreContractHooks": "interface",
@@ -1804,6 +1798,8 @@
1804
1798
  "SessionStoreSummary": "interface",
1805
1799
  "SessionToken": "type",
1806
1800
  "SessionTreeEntry": "type",
1801
+ "SessionUsage": "interface",
1802
+ "SessionVersion": "interface",
1807
1803
  "SessionWarmup": "interface",
1808
1804
  "SessionWriteOptions": "interface",
1809
1805
  "Settlement": "type",
@@ -2197,7 +2193,6 @@
2197
2193
  "admitSessionPlacement": "function",
2198
2194
  "adoptFilePermissionRuleStore": "function",
2199
2195
  "adoptLocalDataRoot": "function",
2200
- "advanceCursorAfterInline": "function",
2201
2196
  "advisorAttachVerdict": "function",
2202
2197
  "advisorHoldOf": "function",
2203
2198
  "agentStateSourceOfRecord": "function",
@@ -2343,7 +2338,6 @@
2343
2338
  "computeShapeDigest": "function",
2344
2339
  "confineShellStart": "function",
2345
2340
  "confirmRuleApproval": "function",
2346
- "consolidateScope": "function",
2347
2341
  "consolidationExposedFrontmatter": "function",
2348
2342
  "consolidationTypeEligible": "function",
2349
2343
  "constraintChainDigest": "function",
@@ -2371,7 +2365,6 @@
2371
2365
  "createDegradingBrain": "function",
2372
2366
  "createDurableQuestionPolicy": "function",
2373
2367
  "createFailoverBrain": "function",
2374
- "createFileConsolidationLock": "function",
2375
2368
  "createFileTaskListStore": "function",
2376
2369
  "createFileWorkflowScriptStore": "function",
2377
2370
  "createFrameDecoder": "function",
@@ -2653,6 +2646,7 @@
2653
2646
  "joinRequestUrl": "function",
2654
2647
  "joinRuleStates": "function",
2655
2648
  "judgeApprovalObject": "function",
2649
+ "judgeCheckpointRow": "function",
2656
2650
  "judgeCrossSessionInbound": "function",
2657
2651
  "judgeMailboxAppendById": "function",
2658
2652
  "judgeMcpNames": "function",
@@ -2669,6 +2663,7 @@
2669
2663
  "leafIdAfterEntry": "function",
2670
2664
  "lexicalSearchMatch": "function",
2671
2665
  "listAdoptionQuarantine": "function",
2666
+ "listPeerHeldQueues": "function",
2672
2667
  "listSessionCaptureOptOut": "function",
2673
2668
  "listWorkflowRuns": "function",
2674
2669
  "llmPlanDistiller": "function",
@@ -2741,7 +2736,6 @@
2741
2736
  "nextSyncBaseline": "function",
2742
2737
  "noApproverSeatDeny": "function",
2743
2738
  "normalizeAgentName": "function",
2744
- "normalizeForExactMatch": "function",
2745
2739
  "normalizeMemorySpec": "function",
2746
2740
  "normalizePeerName": "function",
2747
2741
  "normalizePersistedRuleHit": "function",
@@ -2999,7 +2993,6 @@
2999
2993
  "runDeveloperTask": "function",
3000
2994
  "runExecGate": "function",
3001
2995
  "runGoal": "function",
3002
- "runMemoryConsolidation": "function",
3003
2996
  "runMemoryConsolidationDriver": "function",
3004
2997
  "runOracle": "function",
3005
2998
  "runParkedOf": "function",
@@ -3053,6 +3046,7 @@
3053
3046
  "sessionRepoContract": "function",
3054
3047
  "sessionRowMatches": "function",
3055
3048
  "sessionStoreContract": "function",
3049
+ "setDefaultEngineNoticeSeat": "function",
3056
3050
  "settleOnAbort": "function",
3057
3051
  "settledForkOptions": "function",
3058
3052
  "sharedMemoryStoreContract": "function",
@@ -3432,7 +3426,6 @@
3432
3426
  "CONSOLIDATION_DRIVER_PLANS_DIR": "advanced",
3433
3427
  "CONSOLIDATION_DRIVER_RUNS_FILE": "advanced",
3434
3428
  "CONSOLIDATION_RUN_STOP_REASONS": "advanced",
3435
- "CONSOLIDATION_SYSTEM_PROMPT": "internal",
3436
3429
  "CONSOLIDATION_WRITE_REFUSED_CODE": "advanced",
3437
3430
  "CONTRACT_KIT_ENGINE_VERSION": "advanced",
3438
3431
  "COORDINATOR_ROLE_PROMPT": "advanced",
@@ -3499,6 +3492,7 @@
3499
3492
  "CheckpointPause": "advanced",
3500
3493
  "CheckpointRow": "advanced",
3501
3494
  "CheckpointRowRead": "advanced",
3495
+ "CheckpointRowVerdict": "advanced",
3502
3496
  "CheckpointSessionCursor": "advanced",
3503
3497
  "CheckpointSessionQuery": "advanced",
3504
3498
  "CheckpointSessionQueryReading": "advanced",
@@ -3549,8 +3543,6 @@
3549
3543
  "ConfigProvenance": "advanced",
3550
3544
  "ConfirmRefusalReason": "advanced",
3551
3545
  "ConfirmResult": "advanced",
3552
- "ConsolidateScopeDeps": "advanced",
3553
- "ConsolidateScopeOptions": "advanced",
3554
3546
  "ConsolidationCommitReceipt": "advanced",
3555
3547
  "ConsolidationDistillFn": "advanced",
3556
3548
  "ConsolidationDriveCycleRow": "advanced",
@@ -3563,10 +3555,7 @@
3563
3555
  "ConsolidationGateRow": "advanced",
3564
3556
  "ConsolidationIntent": "advanced",
3565
3557
  "ConsolidationIntentCredentialRow": "advanced",
3566
- "ConsolidationLLM": "internal",
3567
3558
  "ConsolidationLeaseSeat": "advanced",
3568
- "ConsolidationNote": "internal",
3569
- "ConsolidationParams": "internal",
3570
3559
  "ConsolidationPlanFoldEvidence": "advanced",
3571
3560
  "ConsolidationPlanSummary": "advanced",
3572
3561
  "ConsolidationProductProposal": "advanced",
@@ -3576,7 +3565,6 @@
3576
3565
  "ConsolidationResolveReceipt": "advanced",
3577
3566
  "ConsolidationRunReceipt": "advanced",
3578
3567
  "ConsolidationRunStopReason": "advanced",
3579
- "ConsolidationStats": "internal",
3580
3568
  "ConsolidationWriteGate": "advanced",
3581
3569
  "ConsolidationWriteJudge": "advanced",
3582
3570
  "ConsolidationWriteJudgeInput": "internal",
@@ -3588,6 +3576,7 @@
3588
3576
  "ContainmentFaceLayer": "advanced",
3589
3577
  "Context": "stable",
3590
3578
  "ContextEditOptions": "advanced",
3579
+ "ContextOccupancy": "advanced",
3591
3580
  "ContextUsageSection": "advanced",
3592
3581
  "ContractAssertionRunner": "advanced",
3593
3582
  "ControlPlaneCorruptError": "advanced",
@@ -3627,9 +3616,6 @@
3627
3616
  "DECLARATION_PATH_RULES": "advanced",
3628
3617
  "DECLARE_DONE_TOOL_NAME": "advanced",
3629
3618
  "DEFAULT_COMPACTION_INSTRUCTIONS": "advanced",
3630
- "DEFAULT_CONSOLIDATION_BAND": "internal",
3631
- "DEFAULT_CONSOLIDATION_MAX_NOTES": "internal",
3632
- "DEFAULT_CONSOLIDATION_SEARCH_LIMIT": "internal",
3633
3619
  "DEFAULT_EFFORT_LEVELS": "advanced",
3634
3620
  "DEFAULT_FILE_HISTORY_BOUNDARY_KEEP": "advanced",
3635
3621
  "DEFAULT_HARVEST_DEADLINE_MS": "advanced",
@@ -4149,7 +4135,6 @@
4149
4135
  "MemorySelector": "advanced",
4150
4136
  "MemorySessionHandle": "advanced",
4151
4137
  "MemorySpecInput": "advanced",
4152
- "MemoryStore": "stable",
4153
4138
  "MemorySyncClientConflict": "advanced",
4154
4139
  "MemorySyncClientResult": "advanced",
4155
4140
  "MemorySyncConflict": "advanced",
@@ -4394,6 +4379,7 @@
4394
4379
  "PeerHeldQueue": "advanced",
4395
4380
  "PeerHeldQueueConfig": "advanced",
4396
4381
  "PeerHeldQueueSink": "advanced",
4382
+ "PeerHeldQueueSnapshot": "advanced",
4397
4383
  "PeerHeldSettleOutcome": "advanced",
4398
4384
  "PeerHeldSettleReason": "advanced",
4399
4385
  "PeerHeldSettlement": "advanced",
@@ -4899,6 +4885,7 @@
4899
4885
  "SessionCaptureOptOutRecord": "advanced",
4900
4886
  "SessionCaptureRecordStore": "advanced",
4901
4887
  "SessionCompactAnswer": "advanced",
4888
+ "SessionEndEvent": "advanced",
4902
4889
  "SessionError": "stable",
4903
4890
  "SessionHead": "internal",
4904
4891
  "SessionListQuery": "advanced",
@@ -4933,6 +4920,7 @@
4933
4920
  "SessionRulesRecord": "advanced",
4934
4921
  "SessionSendAnswer": "advanced",
4935
4922
  "SessionSendOrigin": "advanced",
4923
+ "SessionStartEvent": "advanced",
4936
4924
  "SessionStorage": "internal",
4937
4925
  "SessionStore": "advanced",
4938
4926
  "SessionStoreContractHooks": "advanced",
@@ -4940,6 +4928,8 @@
4940
4928
  "SessionStoreSummary": "advanced",
4941
4929
  "SessionToken": "advanced",
4942
4930
  "SessionTreeEntry": "stable",
4931
+ "SessionUsage": "advanced",
4932
+ "SessionVersion": "advanced",
4943
4933
  "SessionWarmup": "advanced",
4944
4934
  "SessionWriteOptions": "stable",
4945
4935
  "Settlement": "advanced",
@@ -5333,7 +5323,6 @@
5333
5323
  "admitSessionPlacement": "advanced",
5334
5324
  "adoptFilePermissionRuleStore": "advanced",
5335
5325
  "adoptLocalDataRoot": "advanced",
5336
- "advanceCursorAfterInline": "advanced",
5337
5326
  "advisorAttachVerdict": "advanced",
5338
5327
  "advisorHoldOf": "advanced",
5339
5328
  "agentStateSourceOfRecord": "advanced",
@@ -5479,7 +5468,6 @@
5479
5468
  "computeShapeDigest": "advanced",
5480
5469
  "confineShellStart": "advanced",
5481
5470
  "confirmRuleApproval": "advanced",
5482
- "consolidateScope": "advanced",
5483
5471
  "consolidationExposedFrontmatter": "advanced",
5484
5472
  "consolidationTypeEligible": "advanced",
5485
5473
  "constraintChainDigest": "advanced",
@@ -5507,7 +5495,6 @@
5507
5495
  "createDegradingBrain": "advanced",
5508
5496
  "createDurableQuestionPolicy": "advanced",
5509
5497
  "createFailoverBrain": "stable",
5510
- "createFileConsolidationLock": "advanced",
5511
5498
  "createFileTaskListStore": "advanced",
5512
5499
  "createFileWorkflowScriptStore": "advanced",
5513
5500
  "createFrameDecoder": "internal",
@@ -5789,6 +5776,7 @@
5789
5776
  "joinRequestUrl": "stable",
5790
5777
  "joinRuleStates": "advanced",
5791
5778
  "judgeApprovalObject": "advanced",
5779
+ "judgeCheckpointRow": "advanced",
5792
5780
  "judgeCrossSessionInbound": "advanced",
5793
5781
  "judgeMailboxAppendById": "advanced",
5794
5782
  "judgeMcpNames": "advanced",
@@ -5805,6 +5793,7 @@
5805
5793
  "leafIdAfterEntry": "internal",
5806
5794
  "lexicalSearchMatch": "stable",
5807
5795
  "listAdoptionQuarantine": "advanced",
5796
+ "listPeerHeldQueues": "advanced",
5808
5797
  "listSessionCaptureOptOut": "advanced",
5809
5798
  "listWorkflowRuns": "advanced",
5810
5799
  "llmPlanDistiller": "advanced",
@@ -5877,7 +5866,6 @@
5877
5866
  "nextSyncBaseline": "advanced",
5878
5867
  "noApproverSeatDeny": "advanced",
5879
5868
  "normalizeAgentName": "advanced",
5880
- "normalizeForExactMatch": "internal",
5881
5869
  "normalizeMemorySpec": "advanced",
5882
5870
  "normalizePeerName": "advanced",
5883
5871
  "normalizePersistedRuleHit": "advanced",
@@ -6135,7 +6123,6 @@
6135
6123
  "runDeveloperTask": "advanced",
6136
6124
  "runExecGate": "advanced",
6137
6125
  "runGoal": "advanced",
6138
- "runMemoryConsolidation": "internal",
6139
6126
  "runMemoryConsolidationDriver": "advanced",
6140
6127
  "runOracle": "advanced",
6141
6128
  "runParkedOf": "advanced",
@@ -6189,6 +6176,7 @@
6189
6176
  "sessionRepoContract": "advanced",
6190
6177
  "sessionRowMatches": "internal",
6191
6178
  "sessionStoreContract": "advanced",
6179
+ "setDefaultEngineNoticeSeat": "advanced",
6192
6180
  "settleOnAbort": "advanced",
6193
6181
  "settledForkOptions": "advanced",
6194
6182
  "sharedMemoryStoreContract": "advanced",
@@ -0,0 +1,30 @@
1
+ {
2
+ "repo": "core",
3
+ "package": "@sema-agent/core-stores-sql",
4
+ "version": "7.62.0",
5
+ "from": "039e5ecf552494dca0785926ba9a11b578b76fc6",
6
+ "to": "v7.62.0",
7
+ "added": [],
8
+ "removed": [],
9
+ "changed": [],
10
+ "narrowed": [],
11
+ "closedSetMembers": [],
12
+ "closedSetsUnreadable": [],
13
+ "typeKeys": [],
14
+ "typeKeysUnreadableArms": [],
15
+ "typeKeysFlattenedCount": 3,
16
+ "signatures": [],
17
+ "versionLiterals": [],
18
+ "declarationMoves": [],
19
+ "mintMoves": [],
20
+ "criteriaObserves": [],
21
+ "consumersHint": {
22
+ "cli": [],
23
+ "server": [],
24
+ "sdk": [],
25
+ "note": "scanned cli@96d121f5 server@a1dd9533 sdk@2a96276 — a name listed is MENTIONED there today, which is evidence of consumption, not proof of it"
26
+ },
27
+ "breakingCount": 0,
28
+ "breakingItems": [],
29
+ "toResolvedAt": "e7a79c60b2661009601ead4ccf2c8b48451ff5ed"
30
+ }