feat(theme): define a versioned portable contract - #101
Closed
rwang23 wants to merge 1 commit into
Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary / 摘要
中文
schemaVersion、image、id、name、appearance与art的跨平台核心语义,同时为平台扩展和社区元数据保留兼容空间。schemaVersion: 1,无效类型和未来版本直接拒绝。English
schemaVersion,image,id,name,appearance, andartcore while preserving a safe extension seam for platform and community metadata.schemaVersion: 1; invalid types and future versions fail closed.Closes #63
Type / 类型
Platform / 平台
Self-check / 自测
Check what you actually ran. Skip items that do not apply and say so under Notes.
请勾选实际跑过的项;不适用的在 Notes 说明。
Docs-only / 仅文档
macOS (when code under
macos/changes)macos/tests/run-tests.shpassed / 已通过macos/scripts/doctor-macos.shverify-dream-skin-macos.shor Desktop VerifyWindows (when code under
windows/changes)install/start/verify/restorescripts exercised / 已按改动跑过对应脚本User-facing / 用户可见变更
macos/CHANGELOG.md(andmacos/VERSIONif release-worthy) / 已更新 changelog(发版时再 bump VERSION)Security / 安全
127.0.0.1) where applicable / CDP 仍仅本机回环(如适用)Notes / 补充
中文
schemaVersion的旧描述文件按 v1 读取,但显式null、字符串"1"和不支持的未来版本不会被猜测接受。未知 v1 字段由可移植核心忽略,平台已识别的扩展仍由各自适配器处理。10.0.26200(Build 26200),Node.jsv24.15.0,Windows PowerShell5.1.26100.8875,PowerShell7.6.3;Codex 来源为官方 Windows 桌面发行版,回归使用仓库夹具和隔离临时状态。main的a1c48b3,实现集中在一个提交中;没有新增运行时依赖,也没有改变 CDP 边界、API 配置或官方安装文件。English
schemaVersionis read as v1, while explicitnull, string"1", and unsupported future versions are never guessed into compatibility. Unknown v1 fields are ignored by the portable core, and recognized platform extensions remain owned by their local adapters.10.0.26200(Build 26200), Node.jsv24.15.0, Windows PowerShell5.1.26100.8875, and PowerShell7.6.3. Codex source: the official Windows desktop distribution; regressions use repository fixtures and isolated temporary state.mainata1c48b3and kept in one commit. It adds no runtime dependency and does not alter the CDP boundary, API configuration, or official installation files.