Skip to content

codewhale init 根据当前codewhale使用的语言生成对应的agents.md #6964

Open

Description

@Asteria1028

Before you start

  • I searched existing issues and this is not a duplicate. 我已搜索过现有 issue。

What problem does this solve? 要解决什么问题?

codewhale init 根据当前codewhale使用的语言生成对应的agents.md

What should Codewhale do? 希望 Codewhale 怎么做?

添加多语言的AGENTS.md

Where? 在哪里?

TUI (terminal interface)

Workarounds or other tools (optional)

No response

Contributing

  • I would like to open a pull request for this. 我愿意提交 PR。

Activity

  1. added
    needs-triageNew external report awaiting maintainer triage; repro, logs and version output help
    on Oct 12, 2026
  2. Hmbown commented on Oct 13, 2026

    @Hmbown
    Collaborator

    @Asteria1028,感谢你指出 codewhale init 生成的 AGENTS.md 与界面语言不一致。这个需求很明确:首次初始化应使用当前选择的语言,同时保留用户已经写好的文件。已将它作为初始化本地化需求进行分诊;目前尚未实现,也不计入 0.10.2 已完成项。

    Thank you for the concrete localization request. I’m treating this as an initialization feature: generate AGENTS.md in the selected language while preserving existing user-authored files. It is not implemented yet and is not being represented as completed in the 0.10.2 candidate.

  3. Hmbown commented on Oct 16, 2026

    @Hmbown
    Collaborator

    🤖 This reply is from Claude Opus 5.5, an AI agent working on behalf of the Codewhale maintainers. It is posted through @Hmbown's account, but Hunter did not write it.
    (本回复由 AI 代理 Claude Opus 5.5 代表 Codewhale 维护者撰写,经 @Hmbown 的账号发布,并非 Hunter 本人所写。)

    Thanks @Asteria1028, this was a clear and easy request to act on. The /init prompt always told the model "Write in English", which overrode the interface language.

    8867749 (on main) changes this. /init now asks the model to write the whole AGENTS.md in the TUI's interface language, headings included, and to keep commands, file paths and code identifiers unchanged. We checked it in a real TUI session against a local stub model: with a zh-Hans interface the prompt says "Simplified Chinese (简体中文)", with Japanese it says Japanese, and English stays English.

    Limits:

    • It is not in 0.10.2, which is already frozen; it will ship in the release after that.
    • The non-interactive codewhale init command still writes the fixed English template.
    • We have not judged the quality of the Chinese file a real model writes.

    简要:8867749f54(已在 main)让 /init 按界面语言(例如简体中文)生成整个 AGENTS.md,命令、路径和代码标识符保持原样。该改动不在已冻结的 0.10.2 中,会随下一个版本发布;非交互的 codewhale init 仍写入英文模板。

    — Written by Claude Opus 5.5 (AI agent) on behalf of the maintainers.

  4. removed
    needs-triageNew external report awaiting maintainer triage; repro, logs and version output help
    on Oct 17, 2026
  5. Hmbown commented on Oct 20, 2026

    @Hmbown
    Collaborator

    🤖 This reply is from Claude Opus 5.5, an AI agent working on behalf of the Codewhale maintainers. It is posted through @Hmbown's account, but Hunter did not write it.

    @Asteria1028,再次感谢你提出让 AGENTS.md 跟随 Codewhale 当前界面语言生成的需求。这里需要更正我上一条回复:我当时说 8867749 不在 0.10.2 中、要等下一个版本,这是错的。main 上的 CHANGELOG 已把它列在 0.10.2 下:TUI 里的 /init 会要求模型按界面语言(例如简体中文)写整个 AGENTS.md,标题也一样,命令、文件路径和代码标识符保持原样。0.10.2 尚未发布,v0.10.1 中没有这项改动。

    没有变化的部分:非交互的 codewhale init 命令仍写入固定的英文模板。我们只确认了发给模型的指令带上了目标语言,还没有评估真实模型写出的中文文件质量,也没有在 Windows 上运行过。

    想请你确认一下:你需要的是 TUI 里的 /init,还是命令行 codewhale init 也要生成中文模板?如果 /init 已经够用,这个 issue 可以在 0.10.2 发布后关闭。

  6. Asteria1028 commented on Oct 21, 2026

    @Asteria1028
    ContributorAuthor

    10. 🤖 This reply is from Claude Opus 5.5, an AI agent working on behalf of the Codewhale maintainers. It is posted through @Hmbown's account, but Hunter did not write it.
    @Asteria1028,再次感谢你提出让 AGENTS.md 跟随 Codewhale 当前界面语言生成的需求。这里需要更正我上一条回复:我当时说 8867749 不在 0.10.2 中、要等下一个版本,这是错的。main 上的 CHANGELOG 已把它列在 0.10.2 下:TUI 里的 /init 会要求模型按界面语言(例如简体中文)写整个 AGENTS.md,标题也一样,命令、文件路径和代码标识符保持原样。0.10.2 尚未发布,v0.10.1 中没有这项改动。
    没有变化的部分:非交互的 codewhale init 命令仍写入固定的英文模板。我们只确认了发给模型的指令带上了目标语言,还没有评估真实模型写出的中文文件质量,也没有在 Windows 上运行过。
    想请你确认一下:你需要的是 TUI 里的 /init,还是命令行 codewhale init 也要生成中文模板?如果 /init 已经够用,这个 issue 可以在 0.10.2 发布后关闭。

    TUI里的/init就已经足够了!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions