Skip to content

feat(agents): pin agents to the top of the Agents list (v0.449.0) - #841

Merged
vikasprogrammer merged 1 commit into
mainfrom
feat/pin-agents
Sep 30, 2026
Merged

vikasprogrammer merged 1 commit into
mainfrom
feat/pin-agents

Conversation

@vikasprogrammer

Copy link
Copy Markdown
Owner

Each member can pin agents; pinned agents lift into a leading Pinned group (pin order) in both gallery and list views, and become the default selection on a bare #/agents with no last-used agent.

  • Server: sanitizeAgentPins (types.ts), TeamStore.agentPins/setAgentPins in member_prefs beside navPins; shipped on /api/auth/me; PUT /api/me/agent-pins. Display-only, grants nothing.
  • Console: hover pin toggle on rows/cards (sibling of the link, so no nav), pin button in composer header; optimistic save with rollback.

Validated: typecheck, web build, test:governance, scratch-home round trip (dedupe/order, survives navPins + notification-pref saves).

🤖 Generated with Claude Code

Per-member agentPins in member_prefs (beside navPins), shipped on /api/auth/me and saved via
PUT /api/me/agent-pins. The Agents page lifts pinned agents into a leading Pinned group in pin
order (gallery + list), with hover pin toggles and a pin button in the composer header.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vikasprogrammer
vikasprogrammer merged commit ef7f461 into main Sep 30, 2026
1 check 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.

1 participant