@modelprofile.com/flexharness 3.5.0 → 3.6.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 +9 -0
- package/dist_ts/00_commitinfo_data.js +1 -1
- package/dist_ts/classes.flexharness.d.ts +5 -0
- package/dist_ts/classes.flexharness.js +170 -4
- package/dist_ts/interfaces.d.ts +18 -0
- package/package.json +1 -1
- package/readme.hints.md +2 -0
- package/readme.md +35 -1
- package/ts/00_commitinfo_data.ts +1 -1
- package/ts/classes.flexharness.ts +208 -9
- package/ts/interfaces.ts +24 -0
package/changelog.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2026-08-13 - 3.6.0
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
- compose run-scoped resource tool providers (harness)
|
|
8
|
+
- Resolve fresh resource providers per run while preserving the existing application tool provider.
|
|
9
|
+
- Expose deterministic bounded tool namespaces and bind permissions to non-spoofable resource revision identity.
|
|
10
|
+
- Reject duplicate resources, namespaces, and exposed tools before execution, with complete retryable cleanup across failure, cancellation, retirement, and disposal.
|
|
11
|
+
|
|
3
12
|
## 2026-08-13 - 3.5.0
|
|
4
13
|
|
|
5
14
|
### Features
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export const commitinfo = {
|
|
5
5
|
name: '@modelprofile.com/flexharness',
|
|
6
|
-
version: '3.
|
|
6
|
+
version: '3.6.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=
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import type { IFlexBackgroundExecution, IFlexCreateSessionOptions, IFlexEventArchiveMetadata, IFlexHarnessOptions, IFlexMessage, IFlexMessagePage, IFlexMessagePageOptions, IFlexPermissionRequest, IFlexPromptAdmission, IFlexPromptQueueAdmission, IFlexPromptQueueEntry, IFlexPromptOptions, IFlexPromptResult, IFlexScheduledPromptAdmission, IFlexSchedulePromptOptions, IFlexSession, IFlexUncertainToolExecution, IFlexUpdateSessionOptions, IJsonObject, TFlexHarnessEventListener, TFlexPermissionDecision, TFlexPrompt, TFlexToolExecutionReconciliation } from './interfaces.js';
|
|
2
|
+
export declare function createFlexResourceToolNamespace(resourceId: string, attachmentRevision: number): string;
|
|
3
|
+
export declare function createFlexResourceToolName(namespace: string, toolName: string): string;
|
|
2
4
|
export declare class FlexHarness<TScope = unknown> {
|
|
3
5
|
private readonly scopeResolver;
|
|
4
6
|
private readonly modelResolver;
|
|
5
7
|
private readonly toolProvider;
|
|
8
|
+
private readonly resourceToolProviderResolver;
|
|
6
9
|
private readonly executionContextProvider;
|
|
7
10
|
private readonly stores;
|
|
8
11
|
private readonly agentSessionPolicy;
|
|
@@ -119,6 +122,8 @@ export declare class FlexHarness<TScope = unknown> {
|
|
|
119
122
|
private abortRunInternally;
|
|
120
123
|
private rollbackAdmission;
|
|
121
124
|
private normalizeToolHandle;
|
|
125
|
+
private provideRunToolHandle;
|
|
126
|
+
private normalizeResourceToolProviderDescriptors;
|
|
122
127
|
private closePartialToolHandle;
|
|
123
128
|
private retainDetachedCleanup;
|
|
124
129
|
private observeDetachedToolProvider;
|