Add agent catalog modal#1302
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d9e848bc3e
ℹ️ 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".
d9e848b to
d885698
Compare
💡 Codex Reviewbuzz/crates/buzz-agent/src/builtin.rs Lines 203 to 205 in d885698 The main buzz/crates/buzz-agent/src/hints.rs Lines 174 to 176 in d885698 Following symlinks here without tracking visited canonical directories lets a repo-provided skill hang startup with a symlink cycle such as ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 693ff02e89
ℹ️ 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".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 564e1b2b40
ℹ️ 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".
Co-authored-by: Taylor Ho <taylorkmho@gmail.com> Signed-off-by: Taylor Ho <taylorkmho@gmail.com>
tellaho
left a comment
There was a problem hiding this comment.
Hey @klopez4212 — some feedback from my agent review team before this goes in. A few things worth tightening up:
1. Swap the persona avatars to base64 data URIs (or small bundled assets), and give each a simple generated placeholder for now. Right now the built-in avatars point at third-party CDNs — Google image thumbnails, Reddit, SoundCloud, Screen Rant. Those links aren't stable and will eventually 404, and we don't want external URLs like that written into the codebase. Fizz already does this right with a base64 data URI; let's follow that pattern. A plain generated placeholder per persona is totally fine for now. (Same goes for the e2e test — assert the avatar is present with a non-empty src, not the exact URL.)
While you're in there: the persona display names are recognizable cartoon characters. Since the system prompts are already role-based, let's rename them to generic role names — just the display names and ids need to change.
2. Fix "Added by You" for built-ins. PersonaAddedBy always renders "Added by You," including for built-in personas in the catalog. Users didn't add those, so either pass real attribution or hide it for built-ins.
3. Reframe the "Share" dialog as local-only for now. The catalog-visibility toggle writes to localStorage, so it's a per-device preference — nothing's actually shared yet. Let's just shape the copy to match what it does today (something like "Show in my catalog") so we can land this. The real cross-user sharing is a great follow-up and I'd love to scope it with you in a separate PR.
|
🤖 Addressed the requested changes in
Checks passed:
No unresolved inline review threads were open when I checked, so there was nothing left to resolve there. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: cf330cb73c
ℹ️ 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".
|
🤖 Follow-up pushed in
Checks passed:
I also rechecked the requested-change UI feedback: no unresolved inline review threads remain; the old external avatar URLs and cartoon persona names/IDs are gone; built-ins hide “Added by You”; and the visible copy is local catalog wording. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 36bf5ebfa0
ℹ️ 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".
| onDelete: (persona: AgentPersona) => void; | ||
| }) { | ||
| const disabled = isActionPending || isPending; | ||
| const canEdit = !persona.isBuiltIn && !persona.sourceTeam; |
There was a problem hiding this comment.
Block team persona edits from the profile panel
This only applies the sourceTeam edit guard to the new card menu. When a team-managed persona is opened from its profile panel, UserProfilePanel still passes handleEditPersona whenever the persona is owner-managed and not built-in, and the Tauri update_persona command only rejects built-ins, so in that profile-panel path users can still edit a team-managed persona's prompt/runtime/env vars despite the card menu saying it is managed by the team. Please use the same sourceTeam guard on that edit path or reject it server-side.
Useful? React with 👍 / 👎.
Summary
Screenshots
Agent Catalog
Share Agent
Checks
git diff --check origin/main..HEADcd desktop && ./node_modules/.bin/tsc --noEmitcd desktop && node scripts/check-px-text.mjscd desktop && node --import ./test-loader.mjs --experimental-strip-types --test src/features/agents/lib/catalog.test.mjs. ./bin/activate-hermit && cargo test --manifest-path desktop/src-tauri/Cargo.toml managed_agents::personas::tests --libcd desktop && ./node_modules/.bin/vite buildcd desktop && ./node_modules/.bin/playwright test --project=integration agents.spec.tsNote: pre-commit/pre-push hooks and
pnpm ... biome checkwere attempted but blocked onpnpm installregistry retries, so commit/push used--no-verifyafter the checks above passed.