Skip to content

PluginManager

reference
1 min readUpdated

Kind: Class

Source: atloria-monorepo/libs/agent-core/src/plugins/plugin-manager.ts

Methods

MethodSignatureReturns
registerregister(plugin: LoadedPlugin)void
unregisterunregister(pluginName: string)void
getCommandsgetCommands()CommandDefinition[]
getAgentsgetAgents()AgentDefinition[]
getSkillsgetSkills()SkillDefinition[]
getPluginNamesgetPluginNames()string[]
getCommandgetCommand(name: string)`CommandDefinition
getAgentgetAgent(name: string)`AgentDefinition
activateSkillactivateSkill(skillName: string)void
deactivateSkilldeactivateSkill(skillName: string)void
isSkillActiveisSkillActive(skillName: string)boolean
getSkillDescriptionsgetSkillDescriptions()string

Where it refuses work

  • PluginManager stops the work with an early return when !plugin.
  • PluginManager stops the work with an early return when cmd.
  • PluginManager stops the work with an early return when agent.
  • PluginManager stops the work with an early return when allSkills.length === 0.

Was this page helpful?

Download as PDF