Repository navigation
feat(command-center-ai): animate agent icons only where they help - #15
Merged
Merged
Conversation
The platform may now deliver a colour agent icon as an animated PNG whose frame 0 is its still, and mark a colour icon imageRendering "pixelated" (tdag-django ADR-033, amended 2026-10-16). AgentIcon gains motion, "still" by default: an animated icon shows frame 0 in lists, the launcher, thread avatars and the application's agent pages, and moves only with motion="animate", which the rail header badge, the connecting stage and the avatar of the working agent pass. Reduced motion (useCommandCenterViewport) always shows frame 0, an animated avatar no longer also pulses, and a pixelated colour icon is drawn with image-rendering: pixelated. The cache makes the still once per delivery URL from the same bytes: dropping the acTL, fcTL and fdAT chunks leaves a static PNG of the default image (src/engine/apng-still.ts), so there is no second request, canvas or decode, and the still object URL is revoked with the icon's. The projection parser reads the optional imageRendering (absent means auto, pixelated only for colour). useAgentIconObjectUrl keeps its signature; the still comes through the new internal useAgentIconImage. ADR 090 amended (section 6, implementation scope, consequences); the UI README, the design-agent-conversation-capabilities skill and the changelog describe the behaviour. No storage key, skill name or path, installer, SDK peer range or route change. Tests: fixtures are the platform sanitizer's own APNG and PNG output. Node 22: command-center-ai npm run check exit 0, npm test 54 files / 403 tests passed (node --test 15 pass), npm run build exit 0; repo npm run check exit 0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Animated agent icons move only where they help (ADR 090 amended 2026-10-16, following the platform's ADR-033 amendment in Main-Sequence-Server-Side/tdag-django#1005).
AgentIcongainsmotion("still"by default). An animated color icon shows frame 0 in lists, the launcher, thread avatars and the application's agent pages. It animates only withmotion="animate", which three places pass: the rail header badge, the connecting stage, and the avatar of the agent that is working.useCommandCenterViewport().reducedMotion) always shows frame 0. An animated avatar no longer also runs thems-chat-pulseanimation.acTL/fcTL/fdATchunks once per icon and keeps a static PNG of frame 0 (src/engine/apng-still.ts). There is no second request, canvas or decode, and the still's object URL is revoked with the icon's.commandCenterIcon.imageRendering(absent meansauto;pixelatedonly for color), and a pixelated color icon is drawn withimage-rendering: pixelated.Compatibility: additive npm API (
AgentIcon.motion, optionalCommandCenterAgentIcon.imageRendering);useAgentIconObjectUrlkeeps its signature. There is one new stylesheet rule and skill content text. No storage key, skill name or path, installer behavior, SDK peer range or route changes. A static icon renders as before.Release: this PR adds to
## Unreleasedand has no version bump, so merging does not publish. Command Center picks it up after achore(release): prepare command-center-ai 0.0.14(which also ships the unreleased rail resizing) and a bump in Main-Sequence-Server-Side/CommandCenter.Test plan
command-center-ai:npm run checkexit 0;npm test54 files / 403 tests passed, plusnode --test15 passed;npm run buildexit 0.npm run checkexit 0.🤖 Generated with Claude Code