Skip to content

feat: show claude's cursor on the objects it is working on - #11

Merged
kpal81xd merged 1 commit into
mainfrom
feat/claude-cursor
Nov 11, 2026
Merged

kpal81xd merged 1 commit into
mainfrom
feat/claude-cursor

Conversation

@kpal81xd

Copy link
Copy Markdown
Owner

When a comment sent to Claude is being worked on, the viewer now shows Claude working beside you, in the style of the hosted Artifacts viewer's live presence:

  • A clay pointer with a Claude name tag lands on the object or element the comment is anchored to and taps it. It flies in from the top edge when Claude picks up a new comment.
  • With several comments in progress, it glides between their anchors every 3s.
  • It follows its target as the page scrolls or the 3D camera moves. It reuses the pins' claude:pin lookup, so existing scenes need no template change. It hides while the spot is off screen or covered.
  • It shows with the comments panel closed, and never blocks clicks, orbit or gizmos (pointer-events: none).
  • It leaves when Claude replies, when the session goes away, or when an older version is being viewed.
  • The header's Claude avatar fills with Claude's colour and pulses while any sent comment is being worked on.
  • When reduce motion is on, the pointer jumps instead of gliding and doesn't tap.

The cursor runs on the existing per-thread working status, so there are no server changes.

Smoke test

  1. Ask Claude for a 3D scene, then close the comments panel. Press C, click an object, write a comment and click Send to Claude. When Claude picks it up, a pointer tagged "Claude" flies in and taps that object, and the header avatar turns orange and pulses.
  2. Orbit the camera. The pointer stays on the object, and hides when the object is off screen.
  3. Send a second comment on another object. The pointer glides between the two objects every few seconds.
  4. Let Claude republish the scene. After the page reloads, the pointer reappears on its object.
  5. When Claude replies on both threads, the pointer disappears and the avatar returns to normal.
  6. Repeat step 1 on a 2D page. The pointer lands on the commented element.

@kpal81xd kpal81xd added the enhancement New feature or request label Nov 11, 2026
@kpal81xd kpal81xd self-assigned this Nov 11, 2026
@kpal81xd
kpal81xd merged commit c92a2cd into main Nov 11, 2026
3 checks passed
@kpal81xd
kpal81xd deleted the feat/claude-cursor branch November 11, 2026 00:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant