feat(plugins): confirm trusted code on first enable

This commit is contained in:
tianma-if committed 2026-09-08 16:09:52 +08:00
1 parent ee906cf1bb
commit 5480a7efbc
7 files changed
+145 -2

No files matched your search

+2
View File
@@ -8,6 +8,8 @@ Theme packages contain only a validated manifest and documented design tokens. T
Client plugins use an Obsidian-style trusted-code model. Enabling a plugin trusts it with the full EdgeEver plugin context; declared capabilities are optional descriptive metadata and do not gate API calls. The plugin module runs in the client JavaScript environment, so users must install plugins only from developers they trust.
The first time a user enables a client plugin on a device, EdgeEver presents a community-plugin trust confirmation. Once acknowledged, it is not shown for every plugin. Theme packages do not trigger the confirmation because they cannot execute JavaScript.
Plugins never receive EdgeEver's repository, IndexedDB database, Cloudflare bindings, or internal React state through the public API.
## Plugin manifest