Skip to content

feat: add per-agent CAS default endpoints#117

Open
Yehonal wants to merge 19 commits into
pwrdrvr:mainfrom
Yehonal:pr/cas-agent-default-endpoints
Open

feat: add per-agent CAS default endpoints#117
Yehonal wants to merge 19 commits into
pwrdrvr:mainfrom
Yehonal:pr/cas-agent-default-endpoints

Conversation

@Yehonal
Copy link
Copy Markdown

@Yehonal Yehonal commented May 11, 2026

Summary

  • add agentEndpoints config to map OpenClaw agent ids to default CAS endpoint ids
  • resolve endpoints in the requested precedence: explicit endpoint, manual conversation override, exec/node context, agent default, global default
  • expose agent endpoint defaults through codex_workers_describe_endpoints and document the config

Stack

Stacked on #110 (pr/cas-endpoint-resolution-policy). This branch is based on pr/cas-endpoint-resolution-policy, so review/merge should happen after #110.

Validation

  • pnpm typecheck
  • pnpm vitest run src/config.test.ts
  • pnpm vitest run src/controller.test.ts --testNamePattern "agent default|manual conversation endpoint|explicit endpoint selection|exec-context endpoint"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants