Skip to content

i18n: replace Chinese string literals with English in agent.ts#57

Open
kirillreutski wants to merge 1 commit into
shareAI-lab:mainfrom
kirillreutski:fix/english-strings
Open

i18n: replace Chinese string literals with English in agent.ts#57
kirillreutski wants to merge 1 commit into
shareAI-lab:mainfrom
kirillreutski:fix/english-strings

Conversation

@kirillreutski
Copy link
Copy Markdown

Problem

src/core/agent.ts contains 38 string literals written in Chinese — error messages, recommendations, and diagnostic text surfaced to developers and agent consumers. This makes the SDK inaccessible to non-Chinese-speaking users and hard to debug in international teams.

Changes

All Chinese strings in src/core/agent.ts translated to English:

  • Tool error recommendations (确认工具是否已注册Check if the tool is registered, etc.)
  • Session seal messages (会话中断,系统已自动封口session sealed automatically, etc.)
  • Recovery suggestions for tool validation, permission, timeout, and filesystem errors
  • Bash/command error guidance

No logic changes — purely string content.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant