Repository navigation
feat: localize plugin metadata - #3
Merged
Merged
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.
问题与结果
插件列表此前只显示包名和英文 package description,不会随 DSH 当前语言切换。本 PR 参考
dsh-task-sound的原生包元数据方式,为dsh-ssh-operator增加导出的locale/zh.json和locale/en.json,并准备0.2.1。同时明确三个运行配置的产品边界:
serverName决定公开工具命名空间,应保持稳定;toolCallTimeoutMs和failOnStartupError只适合作为高级设置。验证
pnpm install --frozen-lockfilepnpm peers checkpnpm run check(72 个核心测试 + 4 个 Bundle/Skill/locale 测试)pnpm run release:prepare -- v0.2.1npm pack --dry-run --json --ignore-scripts(确认两个 locale 文件进入归档)git diff --check