@modelprofile.com/flexharness 3.4.0 → 3.5.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 +19 -0
- package/dist_ts/classes.flexharness.js +753 -96
- package/dist_ts/interfaces.d.ts +25 -1
- package/dist_ts/plugins.d.ts +2 -2
- package/dist_ts/plugins.js +3 -3
- package/dist_ts/utils.json.js +176 -8
- package/package.json +1 -1
- package/readme.hints.md +11 -0
- package/readme.md +49 -2
- package/ts/00_commitinfo_data.ts +1 -1
- package/ts/classes.flexharness.ts +998 -100
- package/ts/interfaces.ts +26 -1
- package/ts/plugins.ts +4 -0
- package/ts/utils.json.ts +202 -8
package/changelog.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2026-08-13 - 3.5.0
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
- add first-class foreground subagent sessions (harness)
|
|
8
|
+
- Expose bounded configured subagents through a reserved permission-gated `task` tool with durable child sessions and later-run resume by `taskId`.
|
|
9
|
+
- Project child session and model metadata through cumulative `part.updated` events while preserving the terminal tool result.
|
|
10
|
+
- Validate persisted parent, origin, agent, depth, and tombstone relationships without changing the existing snapshot schema version.
|
|
11
|
+
- Cancel and delete complete session subtrees child-first with retryable cleanup ownership, exact alias contexts, and deadlock-safe namespace fencing.
|
|
12
|
+
|
|
3
13
|
## 2026-08-13 - 3.4.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.
|
|
6
|
+
version: '3.5.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=
|
|
@@ -10,6 +10,9 @@ export declare class FlexHarness<TScope = unknown> {
|
|
|
10
10
|
private readonly callbackLimits;
|
|
11
11
|
private readonly promptQueueLimits;
|
|
12
12
|
private readonly externalErrorProjector?;
|
|
13
|
+
private readonly subagents;
|
|
14
|
+
private readonly maxSubagentDepth;
|
|
15
|
+
private readonly maxSubagentCallsPerRun;
|
|
13
16
|
private readonly stateLoads;
|
|
14
17
|
private readonly scopeAdmissions;
|
|
15
18
|
private readonly scopeRetirements;
|
|
@@ -82,6 +85,12 @@ export declare class FlexHarness<TScope = unknown> {
|
|
|
82
85
|
private executeRun;
|
|
83
86
|
private finishFailedRun;
|
|
84
87
|
private prepareGeneration;
|
|
88
|
+
private createSubagentTool;
|
|
89
|
+
private executeSubagentTask;
|
|
90
|
+
private acquireSubagentSession;
|
|
91
|
+
private createSubagentSessionId;
|
|
92
|
+
private updateSubagentToolPart;
|
|
93
|
+
private abortExactRun;
|
|
85
94
|
private createReservation;
|
|
86
95
|
private buildTerminal;
|
|
87
96
|
private promoteCompletedTerminal;
|
|
@@ -133,9 +142,19 @@ export declare class FlexHarness<TScope = unknown> {
|
|
|
133
142
|
private createScopeSnapshot;
|
|
134
143
|
private createProjectionSnapshot;
|
|
135
144
|
private cleanupSessionDomains;
|
|
145
|
+
private collectSessionSubtree;
|
|
146
|
+
private tombstoneGroup;
|
|
147
|
+
private descendantTombstoneRoots;
|
|
148
|
+
private orderTombstoneRootsChildFirst;
|
|
136
149
|
private finishTombstoneCleanup;
|
|
137
150
|
private finishTombstoneCleanupInternal;
|
|
138
151
|
private fenceNamespace;
|
|
152
|
+
private deferNamespaceDrain;
|
|
153
|
+
private sessionsAreDependencyRelated;
|
|
154
|
+
private isSessionAncestor;
|
|
155
|
+
private sessionAncestryDepth;
|
|
156
|
+
private sessionParentSessionId;
|
|
157
|
+
private sessionMetadata;
|
|
139
158
|
private closeStoredSession;
|
|
140
159
|
private abortStoredSession;
|
|
141
160
|
private storedSessionCleanupCompleted;
|