技能 2026-08-08 01:10 UTC
tintelatest
版本【latest】由提交人 Railly 提交,主要更新类型为:功能特性新增与扩展。提交说明:feat: tinte build --to <provider>, and themes for humans on the landing (#85)。为项目引入了新的能力与模块支持。
Commit提交信息原文
feat: tinte build --to <provider>, and themes for humans on the landing (#85) * feat(cli): tinte build --to <provider> for installable theme artifacts Routes an identity's theme graph through the providers in packages/providers and writes the artifact, closing the from -> build -> install pipeline. The VS Code target emits an envelope rather than the bare provider output. The classic installer reads `rawTheme || themeData` and needs light/dark blocks to generate a VSIX, so a raw VS Code theme (colors/tokenColors, no light/dark) is rejected by the generator. The envelope carries the TinteTheme the installer needs plus the converted colors as vscode_overrides. Targets are limited to providers whose artifact is a theme a tool consumes. shadcn, design-system and brand-guidelines emit UI/HTML documents, and banana and codex are preview surfaces, so none are valid --to targets. Providers are also named from the identity before export, since a config without theme.name otherwise inherits a provider's "Custom Theme" default in both the artifact and its filename. @tinte/providers is a devDependency like @tinte/core: tsup inlines both via noExternal, so a runtime dep would publish an unresolvable workspace:* range. * feat(web): promote themes for humans to a co-primary pillar The provider path was absent from the landing even though the CLI ships it. Adds a section with the real chain, from --normalize -> build --to vscode -> tinte <file> --code, rendered through the existing terminal tokenizer. Targets listed are the nine registered in src/lib/build-targets.ts and no others. Ids render in foreground rather than through CommandLine, since a target is a value and the command color reads as a link.