Skip to content

sync agent-compose proto to v2609.3.0 - #79

Merged
innomentats merged 3 commits into
chaitin:mainfrom
yorkew-east8:sync-agent-compose-proto-v2609.3.0
Sep 20, 2026
Merged

innomentats merged 3 commits into
chaitin:mainfrom
yorkew-east8:sync-agent-compose-proto-v2609.3.0

Conversation

@yorkew-east8

@yorkew-east8 yorkew-east8 commented Sep 19, 2026

Copy link
Copy Markdown

Summary

  • Accept Agent Compose Token/RBAC URLs that include a path prefix, and treat api_key as an alias for api_token.
  • Pin the Agent Compose protobuf snapshot to 493af1c (v2609.3.0) and regenerate Connect clients.
  • Update agent-compose command wiring for Timestamp fields, ProjectRef oneof selectors, offset pagination, and renamed stream RPCs (StreamAgentRun, StartAgentRun, StreamExec).

This unblocks chaitin-cli agent-compose project ls against current daemon/UI Token API responses that previously failed with string field contains invalid UTF-8.

This CLI must be used with Agent Compose daemon v2609.3.0. Older daemons are not supported.

User-visible changes

  • --url may include a path prefix.
  • api_key / AGENT_COMPOSE_API_KEY are aliases of api_token / AGENT_COMPOSE_API_TOKEN.
  • Pagination flags --cursor are replaced by --offset on ps, run events, scheduler runs, and scheduler logs.
  • JSON continuation field next_cursor is now next_offset (uint).
  • Streaming JSON event_type prefixes changed:
    • run_agent_stream_event_type_* -> stream_agent_run_event_type_*
    • exec_stream_event_type_* -> stream_exec_event_type_*
  • Timestamp fields are formatted by the CLI instead of being echoed as raw proto strings.

Config

agent-compose:
  url: http://127.0.0.1:8081
  api_token: YOUR_API_TOKEN
  default_project: optional-project

api_key remains accepted as an alias. Environment overrides:
AGENT_COMPOSE_URL, AGENT_COMPOSE_API_TOKEN (or AGENT_COMPOSE_API_KEY), AGENT_COMPOSE_DEFAULT_PROJECT.

Example

chaitin-cli agent-compose --url http://127.0.0.1:8081 project ls
chaitin-cli agent-compose --url http://127.0.0.1:8081 --project my-project agent ls

王越 added 3 commits September 19, 2026 20:57
Allow a path prefix on the Token/RBAC base URL and read api_key as an alias for api_token so existing config.yaml files work.
Pin the protobuf snapshot to agent-compose 493af1c and update generated clients plus command wiring for timestamps, ProjectRef, offset pagination, and renamed stream RPCs.
Mark token_source as environment only when the selected token came from the matching env var, warn logout about AGENT_COMPOSE_API_KEY, and document default_project plus the api_key alias.
@innomentats
innomentats merged commit 2d4b5d8 into chaitin:main Sep 20, 2026
3 checks passed
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