✨ feat(vscode): 设置和看板按仓库类型区分 GitHub 与 Gitea,GitHub 显示 gh 登录状态,文案去 Gitea 化

This commit is contained in:
cruldra committed 2026-10-19 08:25:10 +11:00
1 parent ac3c882672
commit ae06c8e5d1
42 files changed
+443 -195

No files matched your search

+5
View File
@@ -4,6 +4,7 @@
* Kept in sync manually; if the two ever diverge that's a step-3+ concern.
*/
import type { ForgeKind } from '../../../src/forge/types'
import type { Issue, IssueColumn, ManagedSessionsData } from '../types'
export interface ToastLink {
@@ -107,6 +108,10 @@ export type ExtensionToWebview
| {
type: 'settings/show'
host: string
/** 当前工作区仓库是哪一家,决定设置里显示 Token 输入框还是 gh 登录状态。 */
forgeKind: ForgeKind
/** gh 当前登录的 GitHub 账号;没登录或登录失效时没有。 */
ghLogin?: string
errorMessage?: string
canCancel?: boolean
tokenSaved: boolean