Skip to content

fix(agent): 解决 kimi code 初始化和登陆问题#1566

Open
daniel20060210 wants to merge 1 commit into
tutti-os:mainfrom
daniel20060210:fix/kimi-code-uv-install
Open

fix(agent): 解决 kimi code 初始化和登陆问题#1566
daniel20060210 wants to merge 1 commit into
tutti-os:mainfrom
daniel20060210:fix/kimi-code-uv-install

Conversation

@daniel20060210

@daniel20060210 daniel20060210 commented Jul 23, 2026

Copy link
Copy Markdown

解决kimi code初始化和登陆问题,Tutti 自己下载一个固定版本、带 SHA256 校验的 uv 私有副本,安装 kimi-code 时只使用这个私有 uv,就地安装,失败回滚;登陆只支持kimi会员使用,需要新增使用api_key使用

api_key使用时不掉用云端kimicode,改为调用本地kimicode,必须更新本地kimicode,tutti中的kimicode才会更新


Open in Devin Review

解决kimi code初始化和登陆问题,Tutti 自己下载一个固定版本、带 SHA256 校验的 uv 私有副本,安装 kimi-code 时只使用这个私有 uv,就地安装,失败回滚;登陆只支持kimi会员使用,需要新增使用api_key使用

api_key使用时不掉用云端kimicode,改为调用本地kimicode,必须更新本地kimicode,tutti中的kimicode才会更新

Co-Authored-By: Claude <noreply@anthropic.com>
@tutti-pr-review-bot
tutti-pr-review-bot Bot requested a review from a team July 23, 2026 09:57

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 3 potential issues.

View 3 additional findings in Devin Review.

Open in Devin Review

targetSetupAuthFailed: "登录未完成",
targetSetupNoAuthMethods: "运行时未返回支持的登录方式,请重新检测",
targetSetupTerminalAuthHint:
"该登录方式需要在终端中完成。在终端运行以下命令,按提示完成登录后,回到这里点击「重新检测」。",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Chinese terminal sign-in hint ends with a forbidden full stop

The new Chinese sign-in hint text ends with a Chinese full stop (zh-CN.agentGui.ts:64), which the repository's copy rule forbids, while every neighboring setup string in the same file avoids it.
Impact: The sign-in hint shown to Chinese users is punctuated inconsistently with the rest of the product's Chinese UI copy.

Rule source and inconsistency

AGENTS.md states: "Chinese user-facing UI copy must not end with a Chinese full stop (。); keep this punctuation rule consistent across settings and other product surfaces." Adjacent strings like targetSetupAuthRequired (packages/agent/gui/app/renderer/i18n/locales/zh-CN.agentGui.ts:42) and targetSetupNoAuthMethods (:62) end without . Only the trailing is prohibited; the mid-sentence is fine.

Suggested change
"该登录方式需要在终端中完成。在终端运行以下命令,按提示完成登录后,回到这里点击「重新检测」",
"该登录方式需要在终端中完成。在终端运行以下命令,按提示完成登录后,回到这里点击「重新检测」",
Open in Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

targetSetupCommandCopied: "已复制",
targetSetupTerminalLoginStart: "开始登录",
targetSetupTerminalLoginWaiting:
"已在工作台中打开终端,请在终端中按提示完成登录,这里会自动检测登录状态。",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Chinese terminal waiting message ends with a forbidden full stop

The new Chinese "waiting for sign-in" message ends with a Chinese full stop (zh-CN.agentGui.ts:69), which the repository's copy rule forbids, unlike the surrounding setup strings in the same file.
Impact: The waiting message shown to Chinese users is punctuated inconsistently with the rest of the product's Chinese UI copy.

Rule source

AGENTS.md: "Chinese user-facing UI copy must not end with a Chinese full stop (。); keep this punctuation rule consistent across settings and other product surfaces." Neighboring entries such as targetSetupChecking (packages/agent/gui/app/renderer/i18n/locales/zh-CN.agentGui.ts:53) end without .

Suggested change
"已在工作台中打开终端,请在终端中按提示完成登录,这里会自动检测登录状态",
"已在工作台中打开终端,请在终端中按提示完成登录,这里会自动检测登录状态",
Open in Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

targetSetupTerminalLoginCancel: "取消",
targetSetupTerminalLoginTimedOut: "等待登录完成超时,请重试",
targetSetupTerminalLoginUnavailable:
"无法在此窗口打开终端,请复制命令后在自己的终端中执行。",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Chinese terminal-unavailable message ends with a forbidden full stop

The new Chinese "terminal unavailable" message ends with a Chinese full stop (zh-CN.agentGui.ts:73), which the repository's copy rule forbids, unlike the surrounding setup strings in the same file.
Impact: The fallback message shown to Chinese users is punctuated inconsistently with the rest of the product's Chinese UI copy.

Rule source

AGENTS.md: "Chinese user-facing UI copy must not end with a Chinese full stop (。); keep this punctuation rule consistent across settings and other product surfaces." Sibling entries like targetSetupTerminalLoginTimedOut (packages/agent/gui/app/renderer/i18n/locales/zh-CN.agentGui.ts:71) end without .

Suggested change
"无法在此窗口打开终端,请复制命令后在自己的终端中执行",
"无法在此窗口打开终端,请复制命令后在自己的终端中执行",
Open in Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

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