@modelprofile.com/flexharness 4.1.2 → 5.1.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,23 @@
1
1
  # Changelog
2
2
 
3
+ ## 2026-08-26 - 5.1.0
4
+
5
+ ### Features
6
+
7
+ - expose session generation in host-operation callback contexts (harness)
8
+ - Add sessionGenerationId and sessionGenerationSequence to tool-provider, resource-resolver, slash-command handler, and turn-reversion contexts.
9
+ - Propagate session generation through reversion recovery and deleted-session tombstone cleanup.
10
+ - Document generation-aware callback contexts and add coverage for providers, slash commands, and reversion cleanup.
11
+
12
+ ## 2026-08-21 - 5.0.0
13
+
14
+ ### Breaking Changes
15
+
16
+ - stream exact text and reasoning part deltas (events)
17
+ - Replace cumulative part.delta payloads with exact untruncated deltas and incremental UTF-8 byte coordinates.
18
+ - Separate snapshot and delta event interfaces under TFlexPartEvent and remove IFlexPartChangedEvent.
19
+ - Emit empty part.started snapshots before the first text or reasoning delta.
20
+
3
21
  ## 2026-08-21 - 4.1.2
4
22
 
5
23
  ### Fixes
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@modelprofile.com/flexharness',
6
- version: '4.1.2',
6
+ version: '5.1.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=
@@ -217,6 +217,7 @@ export declare class FlexHarness<TScope = unknown> {
217
217
  private onReasoningStart;
218
218
  private onReasoningDelta;
219
219
  private onReasoningEnd;
220
+ private textAppendAccounting;
220
221
  private onToolStart;
221
222
  private onToolFinish;
222
223
  private onToolUpdate;
@@ -313,6 +314,8 @@ export declare class FlexHarness<TScope = unknown> {
313
314
  private requireMessage;
314
315
  private isTombstoned;
315
316
  private emitPartEvent;
317
+ private emitPartDeltaEvent;
318
+ private partEventCoordinates;
316
319
  private emitEvent;
317
320
  private validateRuntimeEvent;
318
321
  private projectBackgroundExecution;