@kolisachint/hoocode-agent 0.4.159 → 0.4.160

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.
@@ -837,6 +837,16 @@ export class InteractiveMode {
837
837
  getActiveMode: () => this.footerDataProvider.getActiveMode(),
838
838
  getSubagentEnabled: () => this.footerDataProvider.getSubagentEnabled(),
839
839
  getAgentCount: () => this.getDispatchableAgentCount(),
840
+ getAgents: () => {
841
+ if (!this.footerDataProvider.getSubagentEnabled())
842
+ return [];
843
+ try {
844
+ return loadAgentRegistry({ cwd: this.sessionManager.getCwd() }).list();
845
+ }
846
+ catch {
847
+ return [];
848
+ }
849
+ },
840
850
  getStateLine: () => this.buildSessionStateLine(),
841
851
  quietStartup: () => this.settingsManager.getQuietStartup(),
842
852
  verbose: this.options.verbose ?? false,