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
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
feishuswitch inmanagedRuntimeCommand. Read the command and environment variable injection rules directly fromIntegrationRuntimeSpec.CommandandIntegrationRuntimeSpec.Env. Support interpolating host environment variables via${env:VAR}.gatewayagent type alongsideopenclawandcustom.gatewaytypes only support theinputsurface and reject attempts to configure them with managed runtimes./internal/agent-typesto dynamically serve supported types and their capabilities to the frontend console.Based on:
design-04-gateway-agent-type.md