@modelprofile.com/flexharness 5.2.0 → 5.3.1
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 +19 -0
- package/dist_ts/00_commitinfo_data.js +1 -1
- package/dist_ts/classes.flexharness.d.ts +12 -0
- package/dist_ts/classes.flexharness.js +413 -32
- package/dist_ts/interfaces.d.ts +45 -3
- package/dist_ts/interfaces.js +1 -1
- package/dist_ts/utils.json.js +77 -2
- package/package.json +1 -1
- package/readme.hints.md +2 -2
- package/readme.md +50 -8
- package/ts/00_commitinfo_data.ts +1 -1
- package/ts/classes.flexharness.ts +556 -32
- package/ts/interfaces.ts +52 -1
- package/ts/utils.json.ts +116 -1
package/changelog.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2026-08-30 - 5.3.1
|
|
4
|
+
|
|
5
|
+
### Fixes
|
|
6
|
+
|
|
7
|
+
- complete delegated child provenance for host authorization (subagents)
|
|
8
|
+
- Expose immutable creation origin separately from the current parent delegate invocation and include the reserved child ID in subagent.start permission metadata.
|
|
9
|
+
- Carry atomic parent generation, origin, agent, and actual-depth provenance through the optional third `load` and fifth `tombstoneSession` project-management context arguments.
|
|
10
|
+
- Persist that provenance in new child cleanup tombstones; older strict schema-1 readers reject the new key, so rollback or mixed-version readers are unsupported after such a snapshot is written.
|
|
11
|
+
|
|
12
|
+
## 2026-08-30 - 5.3.0
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
- add delegated child-run admission leases (subagents)
|
|
17
|
+
- Add a frozen exact child/current-parent admission context and an optional delegatedRunAdmissionProvider for internally delegated runs.
|
|
18
|
+
- Acquire before generation-side reversion, compaction, model, tool, and resource callbacks, while retaining generation-scoped ownership through terminal reversion finalization.
|
|
19
|
+
- 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.
|
|
20
|
+
- Explain new-child versus later-run resume semantics in the model-visible delegate schema and return safe corrective feedback for unknown task IDs.
|
|
21
|
+
|
|
3
22
|
## 2026-08-26 - 5.2.0
|
|
4
23
|
|
|
5
24
|
### 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.1',
|
|
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;
|
|
@@ -157,6 +164,8 @@ export declare class FlexHarness<TScope = unknown> {
|
|
|
157
164
|
private readProjectManagementState;
|
|
158
165
|
private mutateProjectManagementState;
|
|
159
166
|
private projectStateResult;
|
|
167
|
+
private createSubagentProvenance;
|
|
168
|
+
private createProjectManagementSessionContext;
|
|
160
169
|
private projectTaskResult;
|
|
161
170
|
private projectTasksResult;
|
|
162
171
|
private projectGoalResult;
|
|
@@ -185,6 +194,7 @@ export declare class FlexHarness<TScope = unknown> {
|
|
|
185
194
|
private createProjectTaskId;
|
|
186
195
|
private createSubagentTool;
|
|
187
196
|
private executeSubagentTask;
|
|
197
|
+
private createDelegatedRunAdmissionSeed;
|
|
188
198
|
private acquireSubagentSession;
|
|
189
199
|
private createSubagentSessionId;
|
|
190
200
|
private updateSubagentToolPart;
|
|
@@ -251,6 +261,8 @@ export declare class FlexHarness<TScope = unknown> {
|
|
|
251
261
|
private runDetachedCleanup;
|
|
252
262
|
private beginDetachedCleanupSettlement;
|
|
253
263
|
private settleDetachedCleanups;
|
|
264
|
+
private delegatedRunAdmissionOwnersForGeneration;
|
|
265
|
+
private settleDelegatedRunAdmissionOwners;
|
|
254
266
|
private projectExternalError;
|
|
255
267
|
private projectOperationError;
|
|
256
268
|
private trustInternalError;
|