Skip to content

[design] Implement Gateway Agent Type and Plugin Runtimes #26

Description

@nkanf-dev

Background

Managed runtimes currently hardcode the execution path for the Feishu adapter. Additionally, there is no standardized way to connect 'dumb' agents that lack bespoke adapters.

Goals

  • Runtime Pluginization: Remove the hardcoded feishu switch in managedRuntimeCommand. Read the command and environment variable injection rules directly from IntegrationRuntimeSpec.Command and IntegrationRuntimeSpec.Env. Support interpolating host environment variables via ${env:VAR}.
  • Gateway Agent Type: Formally define the gateway agent type alongside openclaw and custom.
  • Validation Rules: Ensure gateway types only support the input surface and reject attempts to configure them with managed runtimes.
  • Agent Types Endpoint: Implement /internal/agent-types to dynamically serve supported types and their capabilities to the frontend console.

Based on: design-04-gateway-agent-type.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions