Replies: 1 comment
|
核验通过(HEAD 两点补充: 1. "read without executing" 是正确的安全原则,值得写进提案成为硬性要求 你提的"静态清单不做代码执行就能读取"与 awesome-dsh-plugin 收录 gate 的设计完全一致(pr-gate 用 2. 清单字段建议对齐 ThemeRegistry 的既有语义
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Context
Third-party themes register through
ThemeRuntime.register()in-process, but there is no cross-package manifest contract and no list API, so a theme marketplace cannot validate or enumerate installed themes without executing them.Proposal
A minimal static theme manifest (id, package/wiring id,
--dsw-alias-*palette per mode, contrast declarations) read without executing code, plus a listing API over registered themes.Why
YoDsh ships a theme catalog and validates palettes/contrast statically; the validation is duplicated because the runtime registry exposes no manifest.
All reactions