* feat(spawn): add required --name flag for sidebar display name Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> * feat(spawn): require --name for sidebar label; cap at 20 chars Add a required --name flag to `ao spawn` that sets the session's sidebar display name. The CLI rejects a missing or >20-character name before contacting the daemon. The daemon's POST /sessions keeps displayName optional (the desktop new-task dialog omits it and the read model falls back to the session id) but enforces the same 20-character cap when present, so a direct API call cannot exceed it. The value flows CLI -> SpawnSessionRequest -> SpawnConfig -> session record, and the existing read-model fallback (displayName ?? issueId ?? id) renders it in the sidebar unchanged. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| dto.go | ||
| imports.go | ||
| imports_test.go | ||
| notifications.go | ||
| notifications_test.go | ||
| projects.go | ||
| projects_test.go | ||
| prs.go | ||
| prs_test.go | ||
| reviews.go | ||
| reviews_test.go | ||
| sessions.go | ||
| sessions_activity_test.go | ||
| sessions_test.go | ||