ReadonlyagentView-mode options for the shared
Protecteddestroy$ReadonlyexecutionReadonlyexposeProtectednavigationTab ID for query param notification scoping. Set by resource wrappers that render child dashboards, so the child knows which tab it belongs to. If not set, falls back to Data.Configuration.tabId.
If specified, this provider will be used for communication and for all metadata purposes. By default, if not provided, the Metadata and RunView classes are used for this and the default GraphQLDataProvider is used which is connected to the same back-end MJAPI instance as the Metadata and RunView classes. If you want to have this component connect to a different MJAPI back-end, create an instance of a ProviderBase sub-class like GraphQLDataProvider/etc, and configure it as appropriate to connect to the MJAPI back-end you want to use, and then pass it in here.
Current category selection for the tree dropdown (Category is projected into mj-filter-panel as a custom widget).
ReadonlystatusStatic option arrays for the shared mj-filter-panel.
StaticɵdirStaticɵfacNumber of currently-applied filter criteria inside the popover (excludes searchTerm — surfaced separately in the header).
Field config consumed by the centralized
Dynamic agent-type options built from AIEngineBase metadata.
Dynamic parent-agent options built from the loaded agents (top-level only).
Returns either the default Metadata provider or the one specified in the Provider property, if it was specified
Returns either the default RunQuery provider or the one specified in the Provider property, if it was specified
Returns either the default RunReport provider or the one specified in the Provider property, if it was specified
Returns either the default RunView provider or the one specified in the Provider property, if it was specified
Check if user can create AI Agents
Check if user can delete AI Agents
Check if user can read AI Agents
Check if user can update AI Agents
Clears the permission cache. Call this when user context changes or permissions are updated.
Close the detail panel
Opens the create agent slide-in panel. Upon successful creation, saves the agent and navigates to the new record.
Gets the agent's display icon Prioritizes LogoURL, falls back to IconClass, then default robot icon
Get the parent agent name if it exists
ProtectedGetRead current query params from tab configuration. Use in initDashboard() / ngOnInit() to get initial URL state.
Get this component's tab ID. Checks ParentTabId input first (set by resource wrappers for child dashboards), then falls back to Data.Configuration.tabId.
Checks if the agent has a logo URL (for image display)
A callback method that is invoked immediately after Angular has completed initialization of a component's view. It is invoked only once when the view is instantiated.
A callback method that performs custom clean-up, invoked immediately before a directive, pipe, or service instance is destroyed.
A callback method that is invoked immediately after the default change detector has checked the directive's data-bound properties for the first time, and before any of the view or content children have been checked. It is invoked only once when the directive is instantiated.
ProtectedNotifyAsk the host shell to close/dismiss this resource (typically: close the tab). Called by subclasses that hosted a form that emitted a 'dismiss' navigation event — most often, a brand-new record where the user clicked Discard. The record was never saved, the form is empty, and leaving it open serves no purpose. The tab-container listens for this and closes the workspace tab.
ProtectedNotifyCall this to notify the tab system that the resource's display name has changed. The tab container will update the tab title and browser title accordingly.
ProtectedNotifyProtectedNotifyHandler for the projected mj-tree-dropdown — extracts the entity ID from the CompositeKey.
Receive the updated values record from
ProtectedOnCalled by the framework when query params change from an external source (browser back/forward, deep link navigation). Override in subclasses to react to query param changes.
The new query params from the URL
'popstate' for back/forward, 'deeplink' for external URL entry
Handler for the inline mj-page-search input in the page-header toolbar.
Handle click on a tree node — open detail panel for agents
Handle double-click on a tree node — open full record for agents
Open the full entity record from the detail panel
ProtectedRefreshMarks this component's view (and its ancestors) as needing change detection and schedules a tick — the reliable way for a resource component to re-render after updating state from async work (RunView/RunQuery continuations, timers, websocket pushes, RxJS subscriptions).
WHY THIS EXISTS: the Explorer shell hosts resource components dynamically — createComponent()
ApplicationRef.attachView() — because tab content mounts into Golden Layout / cached DOM
containers, not into an Angular template. Since Angular 18's change-detection scheduler
rework (Explorer is on Angular 21), ApplicationRef.tick() only refreshes attached views
that are FLAGGED dirty; a root-level attached view whose component mutates plain fields from
an async continuation is never flagged, so the view silently never re-renders — even though
the component uses default (non-OnPush) change detection (issue #3106).The framework calls this automatically from NotifyLoadStarted() / NotifyLoadComplete(), so the standard load lifecycle re-renders without any subclass action. Call it yourself after any LATER async state change that must reach the DOM outside those signals.
ProtectedResourceShow the detail panel for an agent
Optionalevent: EventSort the agents by the specified column
ProtectedUpdatePush query param changes to the URL. Creates a browser history entry. Safe to call during OnQueryParamsChanged — auto-suppressed to prevent loops.
AI Agents Resource - displays AI agent configuration and management Extends BaseResourceComponent to work with the resource type system