max-agent-ui 0.0.33 → 0.0.34

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/index.d.ts CHANGED
@@ -181,13 +181,14 @@ interface AssistantDisplayResponse {
181
181
  rota?: AssistantRotaCalendar;
182
182
  markdown?: string;
183
183
  }
184
- type AssistantHelpIcon = 'budget' | 'calendar' | 'document' | 'knowledge' | 'megaphone' | 'people' | 'team' | 'time-off' | 'timesheet' | 'workflow';
184
+ type AssistantHelpIcon = 'action' | 'analytics' | 'budget' | 'calendar' | 'document' | 'knowledge' | 'megaphone' | 'people' | 'team' | 'time-off' | 'timesheet' | 'workflow';
185
185
  interface AssistantHelpGuide {
186
- kind?: 'procedure' | 'information';
186
+ kind?: 'help' | 'knowledge' | 'analytics' | 'action' | 'procedure' | 'information';
187
187
  title: string;
188
188
  summary: string;
189
189
  icon: AssistantHelpIcon;
190
190
  steps: string[];
191
+ continuation?: boolean;
191
192
  content?: string;
192
193
  tips?: string[];
193
194
  restrictions?: string[];
@@ -543,6 +544,7 @@ declare class MaxAssistantComponent implements OnInit {
543
544
  private readonly destroyRef;
544
545
  private readonly defaultConfig;
545
546
  private messagesViewport?;
547
+ private activeTurnAnchorMessageId?;
546
548
  private composerInput?;
547
549
  private supportQueryInput?;
548
550
  private feedbackInput?;
@@ -621,6 +623,9 @@ declare class MaxAssistantComponent implements OnInit {
621
623
  protected searchResultIcon(type: string): string;
622
624
  protected searchActionIcon(action: AssistantSearchResult['actions'][number]): string;
623
625
  protected helpIcon(icon: AssistantHelpGuide['icon']): string;
626
+ protected helpGuideLabel(kind: AssistantHelpGuide['kind']): string;
627
+ protected isContentGuide(kind: AssistantHelpGuide['kind']): boolean;
628
+ protected helpGuideMarkdownVariant(kind: AssistantHelpGuide['kind']): 'default' | 'information';
624
629
  protected getTableRowActions(table: AssistantResponseTable, rowIndex: number): AssistantResponseTableAction[];
625
630
  protected useTableAction(action: AssistantResponseTableAction): void;
626
631
  protected resolvePendingAction(message: AssistantMessage, decision: AssistantConfirmation['decision']): void;
@@ -681,6 +686,7 @@ declare class MaxAssistantComponent implements OnInit {
681
686
  private createAssistantResponseMessage;
682
687
  private createMessage;
683
688
  private createDisplayResponse;
689
+ private typedHelpGuide;
684
690
  private createExtractedIntent;
685
691
  private getToolApiCalls;
686
692
  private getSampleJsonResponseFallback;
@@ -697,6 +703,7 @@ declare class MaxAssistantComponent implements OnInit {
697
703
  private traceStepKey;
698
704
  private getConversationHistory;
699
705
  private scrollToLatest;
706
+ private scrollToMessage;
700
707
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaxAssistantComponent, never>;
701
708
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaxAssistantComponent, "max-assistant", never, { "app": { "alias": "app"; "required": false; }; "assistantApiUrl": { "alias": "assistantApiUrl"; "required": false; }; "user": { "alias": "user"; "required": false; }; "context": { "alias": "context"; "required": false; }; "requestHeaders": { "alias": "requestHeaders"; "required": false; }; "developerDetailsEnabled": { "alias": "developerDetailsEnabled"; "required": false; }; }, { "hostAction": "hostAction"; "closeRequested": "closeRequested"; }, never, never, true, never>;
702
709
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "max-agent-ui",
3
- "version": "0.0.33",
3
+ "version": "0.0.34",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/"
6
6
  },