pi-sermo-translate
Translate Pi replies and thinking, and rewrite outgoing prompts into English.
Package details
Install pi-sermo-translate from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:pi-sermo-translate- Package
pi-sermo-translate- Version
0.1.4- Published
- Nov 5, 2026
- Downloads
- 286/mo · 38/wk
- Author
- jhao413
- License
- unknown
- Types
- extension
- Size
- 52.8 KB
- Dependencies
- 0 dependencies · 2 peers
Pi manifest JSON
{
"extensions": [
"./pi/sermo-translate.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
Sermo
面向 Claude Code 和 Pi 的语言辅助扩展。sermo-translate 将外文提示词翻成英文,回复和思考内容按需译回你的语言。

Pi 安装
pi install npm:pi-sermo-translate
重启 Pi,或在已有会话中运行 /reload。完整说明见 Pi 安装与使用。
Claude Code 安装
claude plugin marketplace add jhao0413/sermo
claude plugin install sermo-translate@sermo
需要 Claude Code v2.1.287+(mods API)。完整说明见 Claude Code 安装与使用。
旧版迁移
pi-sermo-translate 已发布到 npm,可直接使用上方命令安装。
已有用户先运行 pi remove npm:pi-parrot-translate,再安装 pi-sermo-translate,避免重复加载扩展。Claude Code 用户安装新版前先运行 claude plugin uninstall parrot-translate@parrot-agent-extensions 和 claude plugin marketplace remove parrot-agent-extensions;将 ~/.claude/settings.json 中 pluginConfigs 的旧键 parrot-translate@parrot-agent-extensions 改为 sermo-translate@sermo,保留其配置内容。
使用说明
回复译文只影响显示,不写入模型上下文;会话保存实际发送的提示词。默认使用微软翻译接口,也可以配置会话模型或 OpenAI 兼容服务。
网站
运行 npm run dev,打开 http://localhost:5173 预览 Sermo 网站,无需安装依赖。静态部署说明见 website/README.md。
致谢
感谢 Linux.do 社区 的支持与帮助。