✨ feat(vscode): 设置面板可配置 Claude profiles 目录并修正探测顺序
This commit is contained in:
@@ -5,7 +5,9 @@ import type {
|
||||
TreeItem,
|
||||
} from 'vscode'
|
||||
import { EventEmitter, commands, window } from 'vscode'
|
||||
import { setProfilesDirOverride } from './cc/profiles'
|
||||
import { KanbanWebviewPanel } from './panel/KanbanPanel'
|
||||
import { getSettings } from './settings/store'
|
||||
import { webhookCoordinator } from './webhook/coordinator'
|
||||
|
||||
/**
|
||||
@@ -26,6 +28,8 @@ class EmptyTreeProvider implements TreeDataProvider<never> {
|
||||
}
|
||||
|
||||
export function activate(context: ExtensionContext): void {
|
||||
// Profiles 目录 override 在 panel 未打开时也要生效(list / launch 共用)。
|
||||
setProfilesDirOverride(getSettings(context).profilesDirectory || undefined)
|
||||
// Start the webhook server immediately so PR callbacks are received even
|
||||
// when the Kanban panel is closed. Disposed automatically via subscriptions.
|
||||
webhookCoordinator.init(context)
|
||||
|
||||
Reference in New Issue
Block a user