Skip to content

feat: finish Star, Watch and Fork for agents#2430

Merged
hsluoyz merged 1 commit into
the-open-agent:masterfrom
lulululu-debug:feat/star-watch-fork
Jul 4, 2026
Merged

feat: finish Star, Watch and Fork for agents#2430
hsluoyz merged 1 commit into
the-open-agent:masterfrom
lulululu-debug:feat/star-watch-fork

Conversation

@lulululu-debug

Copy link
Copy Markdown
Contributor

Summary

  1. Star & Watch: add a StoreFavorite entity (one table, type=star/watch) with toggle / status+count / list endpoints. Wire the store header Star and Watch buttons to real state and live counts, and add a "Starred / Watching" filter on the agent hub so users can browse their own starred and watched agents.
  2. Fork: block forking your own agent or re-forking one you have already forked (enforced server-side and surfaced as a disabled button with a tooltip), keep the fork spinner visible for ~1.2s, and show a "Forked from" tag on forked agents.
  3. authz: ​​Added fork-store, get-hub-stores, get-user-info, and the three "favorite" endpoints to the whitelist (otherwise, regular users would be blocked, consistent with production behavior); FileTree skips get-permissions for non-admin users.

Closes #2428

Star & Watch: add a StoreFavorite entity (one table, type=star/watch) with
toggle / status+count / list endpoints. Wire the store header Star and Watch
buttons to real state and live counts, and add a "Starred / Watching" filter
on the agent hub so users can browse their own starred and watched agents.

Fork: block forking your own agent or re-forking one you have already forked
(enforced server-side and surfaced as a disabled button with a tooltip),
keep the fork spinner visible for ~1.2s, and show a "Forked from" tag on
forked agents.

Closes the-open-agent#2428
@hsluoyz hsluoyz merged commit 5d44ac1 into the-open-agent:master Jul 4, 2026
7 checks 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.

[feature] finish Star, Watch and Fork

2 participants