You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: cueapi message-to <name> + agents list --online-only + agents describe alias
Three server-independent CLI additions ahead of the agents-roster
endpoint (CTO greenlight 2026-05-05, token
CTO-AGENT-DIR-CLI-V2-GREENLIGHT).
- `cueapi message-to <recipient>` top-level wrapper. Resolves
<recipient> against the calling key's agent roster:
- agent_id (`agt_*`) and slug-form (`slug@user`) pass through
unchanged — no lookup, no extra round-trip.
- bare names match case-insensitive against `display_name` and
`slug` via `GET /agents`. Zero matches errors with the roster.
Multiple matches errors with the candidate IDs and points users
at `messages send` for unambiguous addressing.
Reuses the existing `POST /messages` request shape and response
handling (idempotency 200/201, 409 conflict messaging,
X-CueAPI-Priority-Downgraded surfacing).
- `agents list --online-only` shortcut for `--status online`.
Mutually exclusive with `--status`. Server already supports the
filter; the flag is just a friendlier surface.
- `agents describe <ref>` alias for `agents get <ref>`. Same
argument and `--include-deleted` flag; defers to `agents_get`.
Universal `message-to` (Q8 wrapper) is canonical over per-agent
scripts (anti-pattern repeat / migration cost / onboarding /
Surface 5 composition all rule against per-agent scripts).
last_seen_at surfacing and `agents roster` debug command land
after the server-side Surface 1 endpoint ships.
Tests: 19 new (3 --online-only, 2 describe, 14 message-to —
pass-through, display-name match, slug match, no-match,
ambiguous, optionals, defaults, validation). 169/169 pass.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,13 @@
2
2
3
3
All notable changes to cueapi-cli will be documented here.
4
4
5
+
## [Unreleased]
6
+
7
+
### Added
8
+
-`cueapi message-to <recipient>` top-level wrapper for sending a message by name. Resolves `<recipient>` against your agent roster: `agent_id` (`agt_*`) and slug-form (`slug@user`) pass through unchanged; bare names match case-insensitively against `display_name` and `slug` via `GET /agents`. Same flag set as `messages send` (sans `--to`).
9
+
-`agents list --online-only` shortcut for `--status online`. Mutually exclusive with `--status`.
10
+
-`agents describe <ref>` alias for `agents get <ref>`.
0 commit comments