- Updated the `createRouterAgentPluginFn` to accept an optional `hooks` parameter for better plugin customization. - Introduced `usePluginInput` for accessing plugin input context. - Refactored `AgentPlugin` to utilize hooks and context, improving flexibility and functionality. - Cleaned up commented-out code for clarity.
2.6 KiB
2.6 KiB