@modelprofile.com/flexharness 3.3.0 → 3.4.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.
package/changelog.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Changelog
2
2
 
3
+ ## 2026-08-13 - 3.4.0
4
+
5
+ ### Features
6
+
7
+ - provide exact invocation context to session compactors (harness)
8
+ - Add resolved scope, storage namespace, and session identity to the existing compactor options.
9
+ - Keep storage-key aliases isolated across manual, retention, context-overflow, scheduled-cancellation, lifecycle, restoration, and autonomous job-event compaction.
10
+ - Emit one terminal part event for each callback-backed streamed text part before run completion.
11
+ - Document the projected inputs and no-event compaction case, with shared-storage regression coverage.
12
+
3
13
  ## 2026-08-11 - 3.3.0
4
14
 
5
15
  ### Features
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@modelprofile.com/flexharness',
6
- version: '3.3.0',
6
+ version: '3.4.0',
7
7
  description: 'Provider-neutral model-session runtime with durable history, permissions, typed events, and pluggable local or remote tool execution.'
8
8
  };
9
9
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSwrQkFBK0I7SUFDckMsT0FBTyxFQUFFLE9BQU87SUFDaEIsV0FBVyxFQUFFLHVJQUF1STtDQUNySixDQUFBIn0=
@@ -14,13 +14,17 @@ export declare class FlexHarness<TScope = unknown> {
14
14
  private readonly scopeAdmissions;
15
15
  private readonly scopeRetirements;
16
16
  private readonly storageDrains;
17
+ private readonly storageCompactorLifecycleControllers;
17
18
  private orphanedResourceQueue;
18
19
  private readonly listeners;
19
20
  private readonly trustedInternalErrors;
20
21
  private readonly orphanedStoredSessions;
21
22
  private readonly orphanedExecutionContexts;
22
23
  private readonly orphanedProviderReleases;
24
+ private readonly orphanedTombstoneCleanups;
23
25
  private readonly pendingPromptAdmissionOwners;
26
+ private readonly compactorInvocationContext;
27
+ private readonly deferredCompactorContexts;
24
28
  private sequence;
25
29
  private promptQueueSequence;
26
30
  private pendingPromptAdmissions;
@@ -138,6 +142,7 @@ export declare class FlexHarness<TScope = unknown> {
138
142
  private releasePartialProviderSession;
139
143
  private retainPartialProviderSession;
140
144
  private hasOrphanedSessionResources;
145
+ private retainOrphanedTombstoneCleanup;
141
146
  private closeOrphanedResources;
142
147
  private closeOrphanedResourcesInternal;
143
148
  private orphanedResourceStorageKeys;
@@ -146,11 +151,17 @@ export declare class FlexHarness<TScope = unknown> {
146
151
  private drainStorageInternal;
147
152
  private disposeInternal;
148
153
  private appendUnexpectedErrors;
154
+ private abortCompactorLifecycle;
149
155
  private resolveState;
150
156
  private getScopeAdmission;
151
157
  private pruneScopeAdmission;
152
158
  private createScopeRetirementError;
153
159
  private assertStateAcceptingWork;
160
+ private createCompactorContext;
161
+ private withCompactorContext;
162
+ private createRunCompactorContext;
163
+ private effectiveRunCompactorContext;
164
+ private withRunCompactorContext;
154
165
  private requireSession;
155
166
  private requireMutableSession;
156
167
  private requireMessage;