@modelprofile.com/flexharness 9.6.0 → 9.7.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.
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@modelprofile.com/flexharness',
6
- version: '9.6.0',
6
+ version: '9.7.0',
7
7
  description: 'The FlexHarness toolbox source repository and shared dependency catalog.'
8
8
  };
9
9
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSwrQkFBK0I7SUFDckMsT0FBTyxFQUFFLE9BQU87SUFDaEIsV0FBVyxFQUFFLDBFQUEwRTtDQUN4RixDQUFBIn0=
@@ -4,6 +4,7 @@ export declare function createFlexResourceToolName(namespace: string, toolName:
4
4
  export declare class FlexHarness<TScope = unknown> {
5
5
  private readonly scopeResolver;
6
6
  private readonly modelResolver;
7
+ private readonly sessionConfigurationResolver;
7
8
  private readonly toolProvider;
8
9
  private readonly resourceToolProviderResolver;
9
10
  private readonly executionContextProvider;
@@ -25,6 +26,7 @@ export declare class FlexHarness<TScope = unknown> {
25
26
  private readonly maxSubagentDepth;
26
27
  private readonly maxSubagentCallsPerRun;
27
28
  private readonly stateLoads;
29
+ private readonly sessionConfigurations;
28
30
  private readonly scopeAdmissions;
29
31
  private readonly scopeRetirements;
30
32
  private readonly storageDrains;
@@ -98,9 +100,14 @@ export declare class FlexHarness<TScope = unknown> {
98
100
  getMessages(scopeId: string, sessionId: string): Promise<IFlexMessage[]>;
99
101
  listMessagePage(scopeId: string, sessionId: string, options?: IFlexMessagePageOptions): Promise<IFlexMessagePage>;
100
102
  getMessage(scopeId: string, sessionId: string, messageId: string): Promise<IFlexMessage>;
103
+ private resolveSessionConfiguration;
104
+ private abortSessionConfigurations;
101
105
  listSlashCommands(scopeId: string, sessionId: string): Promise<IFlexSlashCommandDescriptor[]>;
102
106
  private createSlashCommandDescriptors;
103
107
  executeSlashCommand(scopeId: string, sessionId: string, untouchedInput: string, options?: IFlexSlashCommandExecutionOptions): Promise<TFlexSlashCommandExecutionResult>;
108
+ /** Resolves the exact session configuration before looking up custom commands. */
109
+ executeSessionSlashCommand(scopeId: string, sessionId: string, untouchedInput: string, options?: IFlexSlashCommandExecutionOptions): Promise<TFlexSlashCommandExecutionResult>;
110
+ private executeSlashCommandInternal;
104
111
  private isSessionAvailableForSlashCommand;
105
112
  private slashCommandPromptUnavailableReason;
106
113
  private slashCommandPromptAvailability;