@modelprofile.com/flexharness 18.9.1 → 18.10.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 +2 -2
- package/dist_ts/classes.flexharness.core.d.ts +13 -1
- package/dist_ts/classes.flexharness.core.js +169 -2
- package/dist_ts/classes.flexharness.d.ts +3 -1
- package/dist_ts/classes.flexharness.js +5 -1
- package/dist_ts/classes.flexharness.reversions.d.ts +2 -1
- package/dist_ts/classes.flexharness.reversions.js +15 -75
- package/dist_ts/classes.flexharness.sessions.js +5 -5
- package/dist_ts/index.d.ts +1 -0
- package/dist_ts/index.js +2 -1
- package/dist_ts/interfaces.d.ts +20 -0
- package/dist_ts/interfaces.js +1 -1
- package/dist_ts/utils.reversionpresentation.d.ts +12 -0
- package/dist_ts/utils.reversionpresentation.js +219 -0
- package/dist_ts_stores_nosqldb/classes.nosqldbstores.js +76 -4
- package/dist_ts_stores_nosqldb/classes.recordstore.d.ts +1 -1
- package/dist_ts_stores_nosqldb/classes.recordstore.js +1 -1
- package/package.json +3 -3
- package/readme.md +4 -0
- package/ts/00_commitinfo_data.ts +1 -1
- package/ts/classes.flexharness.core.ts +180 -0
- package/ts/classes.flexharness.reversions.ts +19 -69
- package/ts/classes.flexharness.sessions.ts +3 -4
- package/ts/classes.flexharness.ts +10 -0
- package/ts/index.ts +4 -0
- package/ts/interfaces.ts +32 -0
- package/ts/readme.md +4 -0
- package/ts/utils.reversionpresentation.ts +227 -0
- package/ts_stores_nosqldb/classes.nosqldbstores.ts +101 -2
- package/ts_stores_nosqldb/classes.recordstore.ts +1 -0
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export const commitinfo = {
|
|
5
5
|
name: '@modelprofile.com/flexharness',
|
|
6
|
-
version: '18.
|
|
6
|
+
version: '18.10.0',
|
|
7
7
|
description: 'The FlexHarness toolbox source repository and shared dependency catalog.'
|
|
8
8
|
};
|
|
9
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
9
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSwrQkFBK0I7SUFDckMsT0FBTyxFQUFFLFNBQVM7SUFDbEIsV0FBVyxFQUFFLDBFQUEwRTtDQUN4RixDQUFBIn0=
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as plugins from './plugins.js';
|
|
2
2
|
import { FlexHarnessAbortError } from './errors.js';
|
|
3
|
-
import type { IFlexAgentSessionPolicy, IFlexCacheWarmClock, IFlexCallbackLimits, IFlexHarnessOptions, IFlexHarnessStores, IFlexMessage, IFlexPartSnapshotEvent, IFlexPromptQueueLimits, IFlexProjectionSnapshotCurrent, IFlexReversionLimits, IFlexResolvedScope, IFlexResultLimits, IFlexSession, IFlexSessionImportLimits, IFlexSubagentDefinition, IFlexToolCatalogOptions, IJsonObject, TFlexExternalErrorSource, TFlexHarnessEventListener, TFlexMessagePart, TFlexProjectionSnapshot, TFlexReversionPolicy } from './interfaces.js';
|
|
3
|
+
import type { IFlexAgentSessionPolicy, IFlexCacheWarmClock, IFlexCallbackLimits, IFlexHarnessOptions, IFlexHarnessStores, IFlexMessage, IFlexPartSnapshotEvent, IFlexPromptQueueLimits, IFlexProjectionSnapshotCurrent, IFlexReversionLimits, IFlexResolvedScope, IFlexResultLimits, IFlexSession, IFlexSessionAuxiliarySummary, IFlexSessionImportLimits, IFlexSubagentDefinition, IFlexToolCatalogOptions, IJsonObject, TFlexExternalErrorSource, TFlexHarnessEventListener, TFlexMessagePart, TFlexProjectionSnapshot, TFlexReversionPolicy } from './interfaces.js';
|
|
4
4
|
import { FlexCodeSandbox } from './classes.codesandbox.js';
|
|
5
5
|
import { type INormalizedBuiltInTools, type INormalizedCacheWarmOptions, type TRegisteredSlashCommand } from './utils.harnessoptions.js';
|
|
6
6
|
import type { TCanonicalOutcome, IStoredSessionState, IStorageState, IActiveRun, IScopeAdmissionState, IFlexMessageCursor, IScopeLoadPass, TEventDetails, TProjectionSaved } from './interfaces.flexharness.js';
|
|
@@ -138,6 +138,18 @@ export declare class FlexHarnessCore<TScope> {
|
|
|
138
138
|
withRecoveryPublication<TValue>(state: IStorageState, sessionId: string, operation: () => Promise<TValue>): Promise<TValue>;
|
|
139
139
|
/** Reads a cold session through one exclusive, authenticated recovery frontier. */
|
|
140
140
|
readGuardedCleanSessionMetadata(state: IStorageState, sessionId: string): Promise<IFlexSession | undefined>;
|
|
141
|
+
/** Reads an exact-head auxiliary summary without acquiring a session runtime. */
|
|
142
|
+
readGuardedCleanSessionAuxiliarySummary(state: IStorageState, sessionId: string): Promise<IFlexSessionAuxiliarySummary | undefined>;
|
|
143
|
+
/** Uses a proved bounded summary or coalesces the target's ordinary hydration. */
|
|
144
|
+
readSessionAuxiliarySource(scopeId: string, sessionId: string, signal?: AbortSignal): Promise<{
|
|
145
|
+
summary: IFlexSessionAuxiliarySummary;
|
|
146
|
+
stored?: never;
|
|
147
|
+
} | {
|
|
148
|
+
summary?: never;
|
|
149
|
+
stored: IStoredSessionState;
|
|
150
|
+
}>;
|
|
151
|
+
/** Backfills a missing summary after exact hydration of an already clean session. */
|
|
152
|
+
private populateSettledAuxiliarySummary;
|
|
141
153
|
/** Settle a fully repaired session after its producers and pending effects have drained. */
|
|
142
154
|
settleQuiescentSessionRecovery(state: IStorageState, sessionId: string): Promise<void>;
|
|
143
155
|
/** A generation may keep executing tools after its admission method has returned. */
|