workspacePlugins.ts 637 B

12345678910111213141516171819
  1. export interface BotMcpPlugin {
  2. id: string
  3. name: string
  4. transport: 'stdio' | 'http'
  5. command?: string
  6. args?: string[]
  7. url?: string
  8. envKeys: string[]
  9. headerKeys: string[]
  10. enabled: boolean
  11. agentIds: string[]
  12. revision: number
  13. testedAt?: number
  14. toolCount: number
  15. }
  16. export interface BotAppCard { slug: string; name: string; description: string }
  17. export interface BotAppAccount { id: string; alias?: string; status: string }
  18. export interface BotAppConnection { slug: string; accounts: BotAppAccount[]; agentIds: string[]; revision: number }
  19. export interface BotPluginSettings { configured: boolean; revision: number }