Skip to content

Sync marketplace permissions and Personal Agent reliability updates - #231

Merged
Luhaozhu merged 2 commits into
mainfrom
sync/ce-20261114-marketplace-personal-agent
Nov 14, 2026
Merged

Luhaozhu merged 2 commits into
mainfrom
sync/ce-20261114-marketplace-personal-agent

Conversation

@Luhaozhu

Copy link
Copy Markdown
Contributor

Purpose and behavior

  • Before: Marketplace installation shared permissions with authoring and import. Personal Agent task details could lag behind live runs, computer and channel views polled for updates, and successful tool calls could repeat without making progress.
  • After: Skills, MCP servers, plugins and sub-agents have independent install permissions. Personal Agent follows active task runs and refreshes device, computer and channel status when events arrive. Stall detection recognizes repeated output and reports the observed pattern.

Change walkthrough

  • Flow: src/backend/features/marketplace/install_permission.py checks the user's permission and item visibility. The marketplace routes and private chat mode use those checks before installing items or dependencies. src/frontend/src/hooks/runFollow.ts shares run-following behavior between chat recovery and Personal Agent task history.
  • Decisions: This generated sync includes the still-open changes from Sync independent sites permissions, sidebar layouts and Personal Agent fixes #229 because the current source already includes them. CE migration ce_0047_market_install_permissions.py copies personal settings for PostgreSQL and preserves explicit values. SQLite uses a one-time data repair. The CE tree excludes organization settings UI and internal App Studio drafts.

Risk and compatibility

  • Risk: high
  • Boundaries: Review existing grants and denials, permission checks on bundled dependencies, interrupted task streams and duplicate followers. The sync preserves public review and contribution files.
  • Human review: A maintainer should review migration semantics and run recovery before merging.

Verification

  • Evidence: CE derivation passed edition boundaries, brand and license checks, import/OpenAPI/ORM checks, CE release regressions and a production frontend build. The public checkout passed 116 targeted backend tests and 19 PR-context tests. An isolated migration probe preserved grants, denials and explicit settings. Git diff whitespace checks passed.
  • Limits: The migration probe used SQLite. The PR checks do not establish installed desktop upgrades or browser behavior on every platform.

Recovery

  • Steps: Revert the sync and restore the previous application build. The previous version ignores the additional permission keys. Database or workspace changes that require reversal should be recovered from a verified pre-upgrade backup.

Review follow-up

  • Disposition: Initial maintainer review is pending.

Community checklist

  • This is a generated upstream sync.
  • Relevant public documentation is updated in English and Chinese.
  • CONTRIBUTING.md was reviewed and the referenced paths were checked.

@Luhaozhu
Luhaozhu merged commit c0e4bc5 into main Nov 14, 2026
6 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.

1 participant