* 完善所有用到的type对象,并添加中文注释

* 补充遗失的type

* 修复claude-for-chrome-mcp中的type和interface类型缺失

* 完善注释
This commit is contained in:
xiaoFjun-eng
2026-05-19 15:04:59 +08:00
committed by GitHub
parent ea399f1862
commit 27b665ac79
14 changed files with 194 additions and 60 deletions

View File

@@ -1897,12 +1897,12 @@ export function getAccountInformation() {
accountInfo.apiKeySource = apiKeySource
}
// We don't know the organization if we're relying on an external API key or auth token
// 如果我们依赖外部 API 密钥或认证令牌,则不知道组织
if (
authTokenSource === 'claude.ai' ||
apiKeySource === '/login managed key'
) {
// Get organization name from OAuth account info
// 从 OAuth 账户信息获取组织名称
const orgName = getOauthAccountInfo()?.organizationName
if (orgName) {
accountInfo.organization = orgName