@modelprofile.com/flexharness 5.2.0 → 5.3.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 +10 -0
- package/dist_ts/00_commitinfo_data.js +1 -1
- package/dist_ts/classes.flexharness.d.ts +10 -0
- package/dist_ts/classes.flexharness.js +338 -14
- package/dist_ts/interfaces.d.ts +28 -1
- package/package.json +1 -1
- package/readme.md +38 -4
- package/ts/00_commitinfo_data.ts +1 -1
- package/ts/classes.flexharness.ts +469 -16
- package/ts/interfaces.ts +33 -0
package/changelog.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2026-08-30 - 5.3.0
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
- add delegated child-run admission leases (subagents)
|
|
8
|
+
- Add a frozen exact child/current-parent admission context and an optional delegatedRunAdmissionProvider for internally delegated runs.
|
|
9
|
+
- Acquire before generation-side reversion, compaction, model, tool, and resource callbacks, while retaining generation-scoped ownership through terminal reversion finalization.
|
|
10
|
+
- Close before canonical acceptance or failed/cancelled finalization, preserve abort progress across late acquisition, and retry failed idempotent closes during exact deletion, retirement, or disposal.
|
|
11
|
+
- Explain new-child versus later-run resume semantics in the model-visible delegate schema and return safe corrective feedback for unknown task IDs.
|
|
12
|
+
|
|
3
13
|
## 2026-08-26 - 5.2.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: '5.
|
|
6
|
+
version: '5.3.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=
|
|
@@ -7,6 +7,7 @@ export declare class FlexHarness<TScope = unknown> {
|
|
|
7
7
|
private readonly toolProvider;
|
|
8
8
|
private readonly resourceToolProviderResolver;
|
|
9
9
|
private readonly executionContextProvider;
|
|
10
|
+
private readonly delegatedRunAdmissionProvider;
|
|
10
11
|
private readonly stores;
|
|
11
12
|
private readonly agentSessionPolicy;
|
|
12
13
|
private readonly toolOutputLimits;
|
|
@@ -137,6 +138,12 @@ export declare class FlexHarness<TScope = unknown> {
|
|
|
137
138
|
private drainPromptQueue;
|
|
138
139
|
private createActiveRun;
|
|
139
140
|
private assertPromptPromotion;
|
|
141
|
+
private assertDelegatedRunAdmissionOwnership;
|
|
142
|
+
private acquireDelegatedRunAdmission;
|
|
143
|
+
private normalizeDelegatedRunAdmissionLease;
|
|
144
|
+
private requestDelegatedRunAdmissionClose;
|
|
145
|
+
private startDelegatedRunAdmissionCloseAttempt;
|
|
146
|
+
private closeRunDelegatedRunAdmission;
|
|
140
147
|
private promoteQueuedPrompt;
|
|
141
148
|
private projectPromptQueueEntry;
|
|
142
149
|
private promptQueueEntry;
|
|
@@ -185,6 +192,7 @@ export declare class FlexHarness<TScope = unknown> {
|
|
|
185
192
|
private createProjectTaskId;
|
|
186
193
|
private createSubagentTool;
|
|
187
194
|
private executeSubagentTask;
|
|
195
|
+
private createDelegatedRunAdmissionSeed;
|
|
188
196
|
private acquireSubagentSession;
|
|
189
197
|
private createSubagentSessionId;
|
|
190
198
|
private updateSubagentToolPart;
|
|
@@ -251,6 +259,8 @@ export declare class FlexHarness<TScope = unknown> {
|
|
|
251
259
|
private runDetachedCleanup;
|
|
252
260
|
private beginDetachedCleanupSettlement;
|
|
253
261
|
private settleDetachedCleanups;
|
|
262
|
+
private delegatedRunAdmissionOwnersForGeneration;
|
|
263
|
+
private settleDelegatedRunAdmissionOwners;
|
|
254
264
|
private projectExternalError;
|
|
255
265
|
private projectOperationError;
|
|
256
266
|
private trustInternalError;
|