@modelprofile.com/flexharness 8.2.0 → 8.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/dist_ts/00_commitinfo_data.js +1 -1
- package/dist_ts/classes.flexharness.d.ts +11 -0
- package/dist_ts/classes.flexharness.js +91 -13
- package/dist_ts/errors.d.ts +4 -1
- package/dist_ts/errors.js +20 -1
- package/dist_ts/interfaces.d.ts +42 -1
- package/dist_ts/interfaces.js +1 -1
- package/dist_ts/plugins.d.ts +4 -1
- package/dist_ts/plugins.js +3 -1
- package/dist_ts/utils.json.js +11 -2
- package/dist_ts/utils.validation.js +23 -15
- package/dist_ts_compaction/plugins.d.ts +5 -2
- package/dist_ts_compaction/plugins.js +5 -3
- package/dist_ts_compaction/smartagent.compaction.d.ts +8 -1
- package/dist_ts_compaction/smartagent.compaction.js +52 -10
- package/package.json +3 -3
- package/ts/00_commitinfo_data.ts +1 -1
- package/ts/classes.flexharness.ts +99 -11
- package/ts/errors.ts +22 -1
- package/ts/interfaces.ts +45 -0
- package/ts/plugins.ts +9 -0
- package/ts/utils.json.ts +11 -1
- package/ts/utils.validation.ts +22 -16
- package/ts_compaction/plugins.ts +8 -2
- package/ts_compaction/smartagent.compaction.ts +56 -9
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export const commitinfo = {
|
|
5
5
|
name: '@modelprofile.com/flexharness',
|
|
6
|
-
version: '8.
|
|
6
|
+
version: '8.4.0',
|
|
7
7
|
description: 'The FlexHarness toolbox source repository and shared dependency catalog.'
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSwrQkFBK0I7SUFDckMsT0FBTyxFQUFFLE9BQU87SUFDaEIsV0FBVyxFQUFFLDBFQUEwRTtDQUN4RixDQUFBIn0=
|
|
@@ -239,6 +239,17 @@ export declare class FlexHarness<TScope = unknown> {
|
|
|
239
239
|
private onToolStart;
|
|
240
240
|
private onToolFinish;
|
|
241
241
|
private onToolUpdate;
|
|
242
|
+
private onRetry;
|
|
243
|
+
/**
|
|
244
|
+
* Emits the usage of every model call and adds reported usage to its run. A run executes a
|
|
245
|
+
* transactional generation, and `AgentSession.generate()` settles a transactional generation only
|
|
246
|
+
* after it has reported each of its model calls, also when it is aborted. `executeRun()` awaits
|
|
247
|
+
* that settlement before it builds the terminal, so the run is still active for each of its
|
|
248
|
+
* events: they all reach `run.usage` and precede its `run.finished`. The events bypass the
|
|
249
|
+
* callback limits and a failed callback: their number is bounded by the run's model calls, and
|
|
250
|
+
* the usage of a run that exhausted its callback budget or failed in a callback must not be lost.
|
|
251
|
+
*/
|
|
252
|
+
private onModelCallUsage;
|
|
242
253
|
private callbackRun;
|
|
243
254
|
private reserveCallbackCapacity;
|
|
244
255
|
private failCallback;
|