Function: useMastraConfig()
useMastraConfig():
object
Read the Mastra plugin’s clientConfig() payload (basePath,
default agent, registered agent list). One call per render; values
are cached at boot by usePluginClientConfig.
Returns
Section titled “Returns”object
agents
Section titled “agents”agents:
string[]
basePath
Section titled “basePath”basePath:
string
chatAlwaysAvailable
Section titled “chatAlwaysAvailable”chatAlwaysAvailable:
boolean
defaultAgent
Section titled “defaultAgent”defaultAgent:
string
feedbackEnabled
Section titled “feedbackEnabled”feedbackEnabled:
boolean