@sakanano-moe/agenthelm 6.13.1 → 6.14.0-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (117) hide show
  1. package/package.json +1 -1
  2. package/runtime/index.json +6 -6
  3. package/runtime/plugins/agent-pack/.codex-plugin/plugin.json +1 -1
  4. package/runtime/plugins/agent-pack/plugin.json +1 -1
  5. package/runtime/plugins/agent-pack/references/capability-config.md +10 -0
  6. package/runtime/plugins/agent-pack/references/check-opinion-migrate.en.md +31 -0
  7. package/runtime/plugins/agent-pack/references/check-opinion-migrate.md +31 -0
  8. package/runtime/plugins/agent-pack/references/dedupe-contract.en.md +27 -0
  9. package/runtime/plugins/agent-pack/references/dedupe-contract.md +27 -0
  10. package/runtime/plugins/agent-pack/references/inventory-contract.en.md +83 -0
  11. package/runtime/plugins/agent-pack/references/inventory-contract.md +83 -0
  12. package/runtime/plugins/agent-pack/references/nudge.en.md +10 -2
  13. package/runtime/plugins/agent-pack/references/nudge.md +10 -2
  14. package/runtime/plugins/agent-pack/references/relocate-contract.en.md +41 -0
  15. package/runtime/plugins/agent-pack/references/relocate-contract.md +41 -0
  16. package/runtime/plugins/agent-pack/runtime/agent_pack_claude.py +572 -30
  17. package/runtime/plugins/agent-pack/runtime/agent_pack_clients.py +233 -0
  18. package/runtime/plugins/agent-pack/runtime/agent_pack_config.py +112 -4
  19. package/runtime/plugins/agent-pack/runtime/agent_pack_dedupe.py +502 -0
  20. package/runtime/plugins/agent-pack/runtime/agent_pack_desktop.py +92 -0
  21. package/runtime/plugins/agent-pack/runtime/agent_pack_ext_common.py +251 -0
  22. package/runtime/plugins/agent-pack/runtime/agent_pack_inventory.py +989 -0
  23. package/runtime/plugins/agent-pack/runtime/agent_pack_mcp_write.py +447 -0
  24. package/runtime/plugins/agent-pack/runtime/agent_pack_nudge.py +29 -4
  25. package/runtime/plugins/agent-pack/runtime/agent_pack_relocate.py +385 -0
  26. package/runtime/plugins/agent-pack/runtime/agent_pack_scope.py +233 -0
  27. package/runtime/plugins/agent-pack/runtime/agenthelm.py +183 -14
  28. package/runtime/plugins/agent-pack/runtime/locale/en.json +250 -1
  29. package/runtime/plugins/agent-pack/runtime/mcp_server.py +12 -0
  30. package/runtime/plugins/agent-pack/runtime/nudge_text.py +8 -2
  31. package/runtime/plugins/agent-pack/runtime/user_settings.py +2 -1
  32. package/runtime/plugins/agent-pack/skills/agent-pack/SKILL.md +15 -0
  33. package/runtime/plugins/agents-init/.codex-plugin/plugin.json +1 -1
  34. package/runtime/plugins/agents-init/content.json +4 -2
  35. package/runtime/plugins/agents-init/plugin.json +1 -1
  36. package/runtime/plugins/agents-init/skills/agents-init/SKILL.md +2 -0
  37. package/runtime/plugins/agents-init/skills/agents-init/launcher.en.sh +93 -0
  38. package/runtime/plugins/agents-init/skills/agents-init/project.schema.json +27 -0
  39. package/runtime/plugins/agents-init/skills/agents-init/scripts/baseline.py +4 -1
  40. package/runtime/plugins/agents-init/skills/agents-init/scripts/init_project.py +24 -9
  41. package/runtime/plugins/agents-init/skills/agents-init/skill.json +1 -1
  42. package/runtime/plugins/opinion-manager/.codex-plugin/plugin.json +1 -1
  43. package/runtime/plugins/opinion-manager/catalog/README.md +3 -1
  44. package/runtime/plugins/opinion-manager/catalog/rules/om.align-requirements/versions/1.1.0.json +34 -0
  45. package/runtime/plugins/opinion-manager/catalog/rules/om.assumptions-authority/versions/1.1.0.json +34 -0
  46. package/runtime/plugins/opinion-manager/catalog/rules/om.batch-questions/versions/1.1.0.json +34 -0
  47. package/runtime/plugins/opinion-manager/catalog/rules/om.bilingual-terms/versions/1.1.0.json +34 -0
  48. package/runtime/plugins/opinion-manager/catalog/rules/om.calculations/versions/1.1.0.json +34 -0
  49. package/runtime/plugins/opinion-manager/catalog/rules/om.chinese-response/versions/1.1.0.json +34 -0
  50. package/runtime/plugins/opinion-manager/catalog/rules/om.clean-deliverable/versions/1.1.0.json +34 -0
  51. package/runtime/plugins/opinion-manager/catalog/rules/om.complete-options/versions/1.1.0.json +34 -0
  52. package/runtime/plugins/opinion-manager/catalog/rules/om.conclusion-first/versions/1.1.0.json +34 -0
  53. package/runtime/plugins/opinion-manager/catalog/rules/om.concrete-titles/versions/1.1.0.json +34 -0
  54. package/runtime/plugins/opinion-manager/catalog/rules/om.consistent-items/versions/1.1.0.json +34 -0
  55. package/runtime/plugins/opinion-manager/catalog/rules/om.device-readable/versions/1.1.0.json +34 -0
  56. package/runtime/plugins/opinion-manager/catalog/rules/om.editable-diagrams/versions/1.1.0.json +34 -0
  57. package/runtime/plugins/opinion-manager/catalog/rules/om.evidence-inference/versions/1.1.0.json +34 -0
  58. package/runtime/plugins/opinion-manager/catalog/rules/om.maintenance-chinese/versions/1.1.0.json +34 -0
  59. package/runtime/plugins/opinion-manager/catalog/rules/om.maintenance-project-language/versions/1.1.0.json +34 -0
  60. package/runtime/plugins/opinion-manager/catalog/rules/om.markdown-structure/versions/1.1.0.json +34 -0
  61. package/runtime/plugins/opinion-manager/catalog/rules/om.portable-files/versions/1.1.0.json +34 -0
  62. package/runtime/plugins/opinion-manager/catalog/rules/om.report-context/versions/1.1.0.json +34 -0
  63. package/runtime/plugins/opinion-manager/catalog/rules/om.report-formats/versions/1.1.0.json +34 -0
  64. package/runtime/plugins/opinion-manager/catalog/rules/om.report-review/versions/1.1.0.json +34 -0
  65. package/runtime/plugins/opinion-manager/catalog/rules/om.response-brief/versions/1.1.0.json +34 -0
  66. package/runtime/plugins/opinion-manager/catalog/rules/om.response-dense/versions/1.1.0.json +34 -0
  67. package/runtime/plugins/opinion-manager/catalog/rules/om.rules-tools/versions/1.1.0.json +34 -0
  68. package/runtime/plugins/opinion-manager/catalog/rules/om.semantic-wrap/versions/1.1.0.json +34 -0
  69. package/runtime/plugins/opinion-manager/catalog/rules/om.solutions-proportional/versions/1.1.0.json +34 -0
  70. package/runtime/plugins/opinion-manager/catalog/rules/om.solutions-three-level/versions/1.1.0.json +34 -0
  71. package/runtime/plugins/opinion-manager/catalog/rules/om.tables-compact/versions/1.1.0.json +34 -0
  72. package/runtime/plugins/opinion-manager/catalog/rules/om.tables-list-first/versions/1.1.0.json +34 -0
  73. package/runtime/plugins/opinion-manager/catalog/rules/om.test-evidence/versions/1.1.0.json +34 -0
  74. package/runtime/plugins/opinion-manager/catalog/rules/om.versioned-files/versions/1.1.0.json +34 -0
  75. package/runtime/plugins/opinion-manager/catalog/templates/delivery-standard/compact-tables/versions/1.1.0.json +32 -0
  76. package/runtime/plugins/opinion-manager/catalog/templates/delivery-standard/list-first/versions/1.1.0.json +32 -0
  77. package/runtime/plugins/opinion-manager/catalog/templates/development-standard/chinese-maintenance/versions/1.1.0.json +26 -0
  78. package/runtime/plugins/opinion-manager/catalog/templates/development-standard/project-language/versions/1.1.0.json +26 -0
  79. package/runtime/plugins/opinion-manager/catalog/templates/response-style/brief-chinese/versions/1.1.0.json +30 -0
  80. package/runtime/plugins/opinion-manager/catalog/templates/response-style/dense-chinese/versions/1.1.0.json +30 -0
  81. package/runtime/plugins/opinion-manager/catalog/templates/scenario/concise-project/versions/1.1.0.json +181 -0
  82. package/runtime/plugins/opinion-manager/catalog/templates/scenario/reviewed-project/versions/1.1.0.json +179 -0
  83. package/runtime/plugins/opinion-manager/catalog/templates/work-method/proportional/versions/1.1.0.json +31 -0
  84. package/runtime/plugins/opinion-manager/catalog/templates/work-method/three-level/versions/1.1.0.json +31 -0
  85. package/runtime/plugins/opinion-manager/content.json +44 -3
  86. package/runtime/plugins/opinion-manager/plugin.json +1 -1
  87. package/runtime/plugins/opinion-manager/references/inbox.en.md +25 -4
  88. package/runtime/plugins/opinion-manager/references/inbox.md +25 -4
  89. package/runtime/plugins/opinion-manager/references/profile.schema.json +19 -2
  90. package/runtime/plugins/opinion-manager/references/rule.schema.json +25 -3
  91. package/runtime/plugins/opinion-manager/references/versioned-template.schema.json +5 -4
  92. package/runtime/plugins/opinion-manager/references/versioning.md +89 -4
  93. package/runtime/plugins/opinion-manager/runtime/context.py +26 -19
  94. package/runtime/plugins/opinion-manager/runtime/inbox.py +400 -25
  95. package/runtime/plugins/opinion-manager/runtime/inbox_relations.py +106 -0
  96. package/runtime/plugins/opinion-manager/runtime/inbox_routes.py +132 -0
  97. package/runtime/plugins/opinion-manager/runtime/inbox_text.py +117 -11
  98. package/runtime/plugins/opinion-manager/runtime/lifecycle.py +35 -5
  99. package/runtime/plugins/opinion-manager/runtime/locale/en.json +137 -2
  100. package/runtime/plugins/opinion-manager/runtime/migrate.py +582 -0
  101. package/runtime/plugins/opinion-manager/runtime/opinion_manager.py +9 -4
  102. package/runtime/plugins/opinion-manager/runtime/rule_lines.py +247 -0
  103. package/runtime/plugins/opinion-manager/runtime/tags.py +217 -0
  104. package/runtime/plugins/opinion-manager/runtime/versioned.py +289 -41
  105. package/runtime/plugins/opinion-manager/skills/opinion-manager/SKILL.md +8 -7
  106. package/runtime/plugins/project-orchestrator/.codex-plugin/plugin.json +1 -1
  107. package/runtime/plugins/project-orchestrator/plugin.json +1 -1
  108. package/runtime/plugins/project-orchestrator/runtime/locale/en.json +305 -3
  109. package/runtime/plugins/project-orchestrator/runtime/private_paths.py +11 -1
  110. package/runtime/plugins/project-orchestrator/runtime/project_cli.py +101 -1
  111. package/runtime/plugins/project-orchestrator/runtime/project_demo.py +13 -1
  112. package/runtime/plugins/project-orchestrator/runtime/project_ext_actions.py +415 -0
  113. package/runtime/plugins/project-orchestrator/runtime/project_extensions.py +971 -0
  114. package/runtime/plugins/project-orchestrator/runtime/project_extensions_demo.py +86 -0
  115. package/runtime/plugins/project-orchestrator/runtime/project_menu.py +345 -2
  116. package/runtime/plugins/project-orchestrator/runtime/project_real.py +17 -1
  117. package/runtime/plugins/project-orchestrator/skills/project-orchestrator/SKILL.md +2 -0
@@ -30,7 +30,6 @@
30
30
  "规则束至少需要一条路由:{0}": "A rule bundle needs at least one route: {0}",
31
31
  "路由必须是非空对象:{0}": "A route must be a non-empty object: {0}",
32
32
  "路由使用了未声明的信号:{0}.{1}": "A route uses an undeclared signal: {0}.{1}",
33
- "Profile schema_version 必须为 2.0 或 2.1": "Profile schema_version must be 2.0 or 2.1",
34
33
  "sources 项必须是数组": "sources entries must be an array",
35
34
  "source 类型不一致": "source types are inconsistent",
36
35
  "source 指纹或引用不一致:{0}": "source fingerprint or reference is inconsistent: {0}",
@@ -189,5 +188,141 @@
189
188
  "## 规则束索引": "## Rule bundle index",
190
189
  "任务命中触发条件时用 `context bundle <系列>` 读取对应规则束;判断不清时一并读取。": "When a task matches a trigger, read the bundle with `context bundle <family>`; when unsure, read it too.",
191
190
  "- `{0}`({1},{2} 条):{3}。不适用:{4}。": "- `{0}` ({1}; rules: {2}): {3}. Not applicable: {4}.",
192
- "# 规则束 `{0}`": "# Rule bundle `{0}`"
191
+ "# 规则束 `{0}`": "# Rule bundle `{0}`",
192
+ "锁定文件的 language 无效:{0!r}": "The language in the lock file is invalid: {0!r}",
193
+ "{0} 的本地化写法只能包含 zh、en,且至少一种语言": "The localized form of {0} may only contain zh and en, with at least one language",
194
+ "项目文件语言为 {0},但这些公开内容没有对应译文,会按原文写入:{1}": "The project file language is {0}, but these public items have no translation and are written as published: {1}",
195
+ "本输出是完整正文的只读切片,始终适用。按需规则见文末标签索引,命中时再读取。": "This output is a read-only slice of the full text and always applies. On-demand rules are listed in the tag index at the end; read them when a task matches.",
196
+ "check 至少需要一个 --tag 或 --signal": "check needs at least one --tag or --signal",
197
+ "--tag 只用于 select 与 check": "--tag is only used by select and check",
198
+ "## 标签索引": "## Tag index",
199
+ "任务命中标签的触发条件时用 `context select --tag <标签>` 读取对应规则;可重复 --tag,取并集;判断不清时一并读取。": "When a task matches a tag trigger, read its rules with `context select --tag <tag>`; repeat --tag to take the union; if unsure, read them too.",
200
+ "core 是常驻集合,由 context core 输出,不能作为 --tag 选择": "core is the always-loaded set printed by context core; it cannot be selected with --tag",
201
+ "# 按需规则:{0}": "# On-demand rules: {0}",
202
+ "none 表示不涉及按需标签,不能与其他标签同时声明": "none means no on-demand tag is involved and cannot be declared together with other tags",
203
+ "select 需要至少一个 --tag;有效标签:{0}": "select needs at least one --tag; valid tags: {0}",
204
+ "该 Profile 使用标签选择(schema 2.2),请用 context select --tag <标签>;有效标签:{0}": "This Profile uses tag selection (schema 2.2); use context select --tag <tag>; valid tags: {0}",
205
+ "未知标签:{0};有效标签:{1}": "Unknown tag: {0}; valid tags: {1}",
206
+ "标签 {0} 的规则全部常驻,已随 context core 输出,无需选择": "All rules of tag {0} are always loaded and already printed by context core; no selection needed",
207
+ "标签 {0} 当前没有有效规则(成员规则已停用)": "Tag {0} currently has no effective rules (its member rules are disabled)",
208
+ "select 只接受 --tag,不接受位置参数:{0}": "select only accepts --tag, not positional arguments: {0}",
209
+ "loading.tags 至少包含一个标签": "loading.tags must contain at least one tag",
210
+ "loading.tags 项": "loading.tags item",
211
+ "loading.members 必须是对象": "loading.members must be an object",
212
+ "Profile schema_version 必须为 2.0、2.1 或 2.2": "Profile schema_version must be 2.0, 2.1 or 2.2",
213
+ "{0} 必须是 ASCII 标签 id(小写字母、数字、连字符,1 到 {1} 字符):{2!r}": "{0} must be an ASCII tag id (lowercase letters, digits, hyphens, 1 to {1} characters): {2!r}",
214
+ "{0} 不能使用保留名:{1}": "{0} cannot use a reserved name: {1}",
215
+ "{0} 必须是只含 zh、en 的对象": "{0} must be an object with exactly zh and en",
216
+ "标签没有任何成员规则:{0}": "Tags without any member rule: {0}",
217
+ "loading.tags 声明需要 schema_version 2.2": "A loading.tags declaration needs schema_version 2.2",
218
+ "loading.always 引用了不存在的规则:{0}": "loading.always refers to a rule that does not exist: {0}",
219
+ "标签 id 重复:{0}": "Duplicate tag id: {0}",
220
+ "loading.members 引用了不存在的规则:{0}": "loading.members refers to a rule that does not exist: {0}",
221
+ "loading.members 使用了未知标签:{0};有效标签:{1}": "loading.members uses unknown tags: {0}; valid tags: {1}",
222
+ "标签 id(schema 2.2),select 与 check 使用,可重复,取并集": "Tag id (schema 2.2) for select and check; repeatable, takes the union",
223
+ "该 Profile 使用规则束声明(schema 2.1),请用 context bundle;select 与 --tag 只用于标签声明(schema 2.2)": "This Profile uses a bundle declaration (schema 2.1); use context bundle; select and --tag only work with a tag declaration (schema 2.2)",
224
+ "当前 Profile 使用标签声明(schema 2.2),请改用 {0}": "This Profile uses a tag declaration (schema 2.2); use {0} instead",
225
+ "当前 Profile 未声明标签(schema 2.2),不能记录 {0};规则束声明请用 loaded_bundles 与 routing_miss": "This Profile declares no tags (schema 2.2), so {0} cannot be recorded; for a bundle declaration use loaded_bundles and routing_miss",
226
+ "{0} 必须是标签 id 的列表": "{0} must be a list of tag ids",
227
+ "{0} 含有重复标签": "{0} contains a duplicate tag",
228
+ "{0} 含有未声明的标签:{1};有效标签:{2}": "{0} contains undeclared tags: {1}; valid tags: {2}",
229
+ "标签定义冲突:{0}": "Conflicting tag definitions: {0}",
230
+ "{0}(来源:{1})": "{0} (sources: {1})",
231
+ "--no-tags 与 --loading-file 不能同时使用": "--no-tags and --loading-file cannot be used together",
232
+ "不由所选模板物化标签加载声明,保持完整读取(schema 2.0)": "Do not materialize the tag-loading declaration from the selected templates; keep full reading (schema 2.0)",
233
+ "所选模板声明了标签加载,但本 Profile 已有手写的 loading,未自动合并;建议声明见 loading_suggestion,需要时用 --loading-file 整体写入": "The selected templates declare tag loading, but this Profile already has a hand-written loading, so nothing was merged automatically; see loading_suggestion for the proposed declaration and write it as a whole with --loading-file if wanted",
234
+ "patch 版本不能改变加载声明": "A patch version cannot change the loading declaration",
235
+ ";": "; ",
236
+ "OPINION.md 不可读": "OPINION.md is not readable",
237
+ "锁文件不可读": "The lock file is not readable",
238
+ "锁文件或 Profile 无效": "The lock file or its Profile is invalid",
239
+ "公开 catalog 与 Profile 记录的来源不一致": "The public catalog differs from the sources recorded in the Profile",
240
+ "无法生成新的 Profile 预览": "Cannot draft the new Profile preview",
241
+ "所选模板的标签声明无法合并": "The tag declarations of the selected templates cannot be merged",
242
+ "无法生成新的 OPINION.md 预览": "Cannot draft the new OPINION.md preview",
243
+ "备份 manifest 不可读": "The backup manifest is not readable",
244
+ "预览(未写入任何文件)": "Preview (nothing written)",
245
+ "已迁移": "Migrated",
246
+ "无需改动": "Nothing to change",
247
+ "没有可迁移的内容": "Nothing to migrate",
248
+ "已回滚": "Rolled back",
249
+ "无法迁移(未写入任何文件)": "Cannot migrate (nothing written)",
250
+ "已拒绝(未写入任何文件)": "Refused (nothing written)",
251
+ "失败": "Failed",
252
+ "# Opinion 迁移": "# Opinion migration",
253
+ "项目没有 opinion.lock.json,OPINION.md 又含有内容,无法确定它来自哪个 Profile;迁移不会猜测": "The project has no opinion.lock.json but OPINION.md has content, so its Profile cannot be determined; migrate does not guess",
254
+ "OPINION.md 不存在,但项目有锁文件;先用锁里的 Profile 重建正文": "OPINION.md is missing although the project has a lock file; rebuild the text from the locked Profile first",
255
+ "OPINION.md 使用 CRLF 行尾;迁移后的正文统一为 LF,回滚会逐字节还原原文件": "OPINION.md uses CRLF line endings; the migrated text uses LF, and a rollback restores the original file byte for byte",
256
+ "改用标签会把规则束声明(core / signals / bundles)整体替换为标签声明;新旧声明互斥,改写后不再有 bundles,context bundle 不再可用": "Switching to tags replaces the bundle declaration (core / signals / bundles) with a tag declaration; the two are mutually exclusive, so afterwards there are no bundles and context bundle no longer works",
257
+ "写入后读回的 OPINION.md 与预览不一致": "The OPINION.md read back after writing differs from the preview",
258
+ "写入后读回的 Profile 与预览不一致": "The Profile read back after writing differs from the preview",
259
+ "写入需要 --apply --confirm <预览指纹>;先审阅预览": "Writing needs --apply --confirm <preview fingerprint>; review the preview first",
260
+ "确认指纹与当前预览不一致:预览之后 Profile、OPINION.md、收件箱或 catalog 有变化;请重新预览并审阅": "The confirmation fingerprint does not match the current preview: the Profile, OPINION.md, inbox or catalog changed after it; preview again and review",
261
+ "备份 manifest 格式无效": "The backup manifest format is invalid",
262
+ "备份没有迁移后的状态记录(迁移未完成),无法确认是否可以安全回滚;该目录只是失败现场的备份": "The backup has no record of the migrated state (the migration did not finish), so a safe rollback cannot be confirmed; this directory only preserves a failed run",
263
+ "当前状态已经等于迁移前,无需回滚": "The current state already equals the pre-migration state; nothing to roll back",
264
+ "把现有 Opinion 迁移到标签选择加载:默认预览,--apply --confirm 才写入,可回滚": "Migrate the existing Opinion to tag-based loading: preview by default, written only with --apply --confirm, can be rolled back",
265
+ "写入迁移(需要 --confirm)": "Write the migration (needs --confirm)",
266
+ "预览返回的确认指纹": "The confirmation fingerprint returned by the preview",
267
+ "还原到迁移前:.opinion/backups/ 下的备份目录": "Restore the pre-migration state: a backup directory under .opinion/backups/",
268
+ "2.1(规则束声明)的项目改用标签声明;默认保持 2.1 不动": "Switch a 2.1 (bundle declaration) project to the tag declaration; 2.1 is left untouched by default",
269
+ "不升级这个模板(family/variant)或规则编号,可重复": "Do not upgrade this template (family/variant) or rule id; repeatable",
270
+ "升级冲突的处理:编号到 keep-local 或 use-upstream 的 JSON": "Upgrade conflict resolutions: JSON mapping an id to keep-local or use-upstream",
271
+ "用 profile 预览、确认后写入一个 Profile,再用 compose --profile 生成带锁的 OPINION.md(选择模板或把现有内容放进 --custom-file);完成后重新运行 migrate": "Preview and write a Profile with profile, then generate a locked OPINION.md with compose --profile (select a template or put the existing content in --custom-file); then run migrate again",
272
+ "把改动写成自定义规则(放在“用户自定义规则”小节,或用 inbox add / adopt),或还原被改动的生成内容,再重新运行 migrate;规则本身的修订用 profile --overrides-file": "Turn the change into a custom rule (in the user-defined rules section, or with inbox add / adopt), or restore the generated content you changed, then run migrate again; revise a rule itself with profile --overrides-file",
273
+ "没有可迁移的内容:OPINION.md 不存在或只是初始化出来的空白文件": "Nothing to migrate: OPINION.md is missing or only the blank file created at initialization",
274
+ "已经是带标签声明的 Profile(schema 2.2),无需迁移": "The Profile already has a tag declaration (schema 2.2); no migration needed",
275
+ "Profile 使用规则束声明(schema 2.1),按约定保持不动,context bundle 继续可用": "The Profile uses a bundle declaration (schema 2.1) and is left untouched by default; context bundle keeps working",
276
+ "若此前用 --no-tags 有意保持完整读取,迁移会重新生成标签声明;不迁移则保持原样,迁移后可用 --rollback 或 profile --remove-loading 恢复完整读取": "If you used --no-tags on purpose to keep full reading, the migration generates the tag declaration again; without migrating nothing changes, and after migrating --rollback or profile --remove-loading restores full reading",
277
+ "OPINION.md 删除了全部自定义规则,迁移无法表示这种改动;迁移不会让已删除的行复活": "OPINION.md deleted all custom rules, which the migration cannot represent; it will not bring deleted lines back",
278
+ "所选的公开模板没有可物化的标签声明(没有选用公开模板,或模板版本不带标签),保持完整读取,没有可迁移的内容": "The selected public templates have no tag declaration to materialize (no public template is used, or the template versions carry no tags); full reading stays and there is nothing to migrate",
279
+ "已迁移到 {0}(schema {1}),备份在 {2}": "Migrated to {0} (schema {1}); backup at {2}",
280
+ "已按备份还原 Profile、OPINION.md 与锁,并删除迁移写入的 Profile {0}": "Restored the Profile, OPINION.md and lock from the backup and removed the Profile {0} written by the migration",
281
+ "- 状态:{0}": "- Status: {0}",
282
+ "## 模板与规则升级": "## Template and rule upgrades",
283
+ "## 加载声明": "## Loading declaration",
284
+ "## 自定义规则": "## Custom rules",
285
+ "## 收件箱中缺字段的旧候选(只列出,不改写,不影响迁移)": "## Old inbox candidates with missing fields (listed only; not rewritten, no effect on the migration)",
286
+ "## 下一步": "## Next steps",
287
+ "--confirm 需要和 --apply 一起使用": "--confirm must be used together with --apply",
288
+ "OPINION.md 与锁不一致,且改动落在生成内容里(改写或删除了规则正文或元数据),无法并入自定义规则:{0}": "OPINION.md differs from the lock and the changes fall in generated content (rule text or metadata was rewritten or deleted), so they cannot be folded into the custom rules: {0}",
289
+ "--skip 引用了没有可升级版本的项:{0};可用的项:{1}": "--skip names items without an upgrade available: {0}; available items: {1}",
290
+ "先用 profile 派生一个不含这些自定义规则的新版本,或还原被删除的行,再重新运行 migrate": "Derive a new Profile version without these custom rules with profile, or restore the deleted lines, then run migrate again",
291
+ "先处理升级冲突:为 {0} 写 resolutions 文件(每项 keep-local 或 use-upstream),再加 --resolutions-file 重新预览": "Resolve the upgrade conflicts first: write a resolutions file for {0} (keep-local or use-upstream for each), then preview again with --resolutions-file",
292
+ "迁移在“{0}”阶段失败:{1}": "The migration failed in the \"{0}\" phase: {1}",
293
+ "不满意时回滚:{0}": "To undo, roll back: {0}",
294
+ "回滚目录必须是本项目 .opinion/backups/ 下的 *-migrate 目录:{0}": "The rollback directory must be a *-migrate directory under this project's .opinion/backups/: {0}",
295
+ "当前状态不等于迁移后的状态(迁移之后这些文件又被修改:{0}),回滚会丢失后续修改,已拒绝;需要时手工从备份目录取回文件": "The current state differs from the migrated state (these files changed after the migration: {0}); a rollback would lose those changes, so it is refused; recover files from the backup directory by hand if needed",
296
+ "- 说明:{0}": "- Detail: {0}",
297
+ "- 原因代码:{0}": "- Reason code: {0}",
298
+ "- 当前 Profile:`{0}@{1}`(schema {2})": "- Current Profile: `{0}@{1}` (schema {2})",
299
+ "- 迁移后 Profile:`{0}`(schema {1})": "- Profile after migration: `{0}` (schema {1})",
300
+ "- 新旧正文差异:+{0} / -{1} 行(完整新正文见 --output json 的 content)": "- Text difference: +{0} / -{1} lines (the full new text is in content with --output json)",
301
+ "- 注意:{0}": "- Note: {0}",
302
+ "- 警告:{0}": "- Warning: {0}",
303
+ "--rollback 不能与 --apply、--confirm、--tags、--skip、--resolutions-file 同用": "--rollback cannot be combined with --apply, --confirm, --tags, --skip or --resolutions-file",
304
+ "{0}:{1}": "{0}: {1}",
305
+ "python3 {0} compose --project {1} --profile <锁里 Profile 的文件> --apply --confirm <预览指纹>": "python3 {0} compose --project {1} --profile <the Profile file named in the lock> --apply --confirm <preview fingerprint>",
306
+ "第 {0} 行:{1}": "line {0}: {1}",
307
+ "审阅后确认:{0}": "After reviewing, confirm: {0}",
308
+ ";已按备份逐字节还原,项目与迁移前相同": "; restored from the backup byte for byte, the project equals its pre-migration state",
309
+ "备份文件缺失或指纹不符:{0}": "A backup file is missing or its fingerprint does not match: {0}",
310
+ "回滚失败:{0};已恢复到回滚前的状态": "The rollback failed: {0}; the state before the rollback was restored",
311
+ "- `{0}` → `{1}`({2})": "- `{0}` → `{1}` ({2})",
312
+ "- 迁移前:{0}": "- Before: {0}",
313
+ "- 迁移后:{0}": "- After: {0}",
314
+ "- 是否被手工修改:{0}": "- Edited by hand: {0}",
315
+ "是": "yes",
316
+ "否": "no",
317
+ "- 手工内容并入自定义规则(原样保留、常驻):追加 {0} 行,自定义小节内改动 {1} 行": "- Hand-written content folded into the custom rules (kept as is, always loaded): {0} appended lines, {1} lines changed inside the custom section",
318
+ "- 已带标签:{0};常驻:{1};可手工加标签的建议:{2}": "- Already tagged: {0}; always loaded: {1}; suggestions you can tag by hand: {2}",
319
+ "- `{0}` {1}:缺 {2}": "- `{0}` {1}: missing {2}",
320
+ "确认指纹:`{0}`": "Confirmation fingerprint: `{0}`",
321
+ "如要改用标签,先预览:{0}": "To switch to tags, preview first: {0}",
322
+ ";自动还原也失败了({0}),备份目录已保留:{1}": "; the automatic restore failed too ({0}); the backup directory is kept: {1}",
323
+ "还原后核对失败:{0}": "The check after restoring failed: {0}",
324
+ " - 第 {0} 行可在行尾追加 `[tags 标签]`(可用标签:{1}):{2}": " - line {0} can take a trailing `[tags TAG]` (available tags: {1}): {2}",
325
+ "升级": "upgrade",
326
+ "按 --skip 保持当前版本": "kept at the current version by --skip",
327
+ "可升级,本次未采用": "upgrade available, not used this time"
193
328
  }