Skip to content

Move agent management into profile sidebar#1200

Open
klopez4212 wants to merge 1 commit into
mainfrom
kennylopez-agent-profile-sidebar
Open

Move agent management into profile sidebar#1200
klopez4212 wants to merge 1 commit into
mainfrom
kennylopez-agent-profile-sidebar

Conversation

@klopez4212

@klopez4212 klopez4212 commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Moves agent and persona management into the Agents profile sidebar while keeping this PR standalone on main.
  • Replaces the per-agent and per-persona action menus on the existing Agents list with profile-sidebar manage entrypoints.
  • Adds profile panel action helpers, edit/delete submission utilities, and focused tests.

Notes

  • This PR intentionally does not depend on the agents/teams card simplification PR.

Validation

  • cd desktop && pnpm check
  • cd desktop && pnpm typecheck

@klopez4212 klopez4212 force-pushed the kennylopez-agent-profile-sidebar branch from 37d03e8 to 309889d Compare June 23, 2026 16:15
@klopez4212 klopez4212 force-pushed the kennylopez-agents-page-cards branch from 9b87d11 to 60822a4 Compare June 23, 2026 16:15
@klopez4212 klopez4212 changed the base branch from kennylopez-agents-page-cards to main June 23, 2026 16:15
@klopez4212 klopez4212 marked this pull request as ready for review June 23, 2026 16:16

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 309889d000

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@@ -196,15 +259,40 @@ export function UserProfilePanel({
);
useActiveAgentTurnsBridge(bridgeAgents);
useManagedAgentObserverBridge(bridgeAgents);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Avoid clobbering the global observer trust set

When this panel opens or switches targets, this per-profile bridge runs with bridgeAgents set to either a single managed agent or [] for non-managed profiles. useManagedAgentObserverBridge clears the module-level knownAgentPubkeys before adding its argument, while the Agents and Channel screens also call the same bridge for all active agents, so opening a profile can replace the trusted set and cause observer telemetry from every other agent to be ignored until another full-list bridge reruns. This breaks working badges/activity for other agents while a profile panel is open; the profile panel should not clear the global registration or the bridge should merge registrations across callers.

Useful? React with 👍 / 👎.

diagnosticsSummary={diagnosticsSummary}
modelLabel={modelLabel}
onOpenAgentInfo={() => setView("info")}
onOpenAgentSettings={() => setView("settings")}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Accept new profile views in history state

In ChannelPane and Pulse this panel is controlled by profilePanelView, but their URL-state parsers still preserve only memories and channels. Clicking this new Settings ingress writes profileView=settings through onViewChange, then the next render coerces it back to summary, so Settings (and the other new subviews wired here) cannot be opened outside the unmanaged Agents page. Please update the controlled profile view parsing to accept all ProfilePanelView values before emitting these new views.

Useful? React with 👍 / 👎.

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