feat: Brain UX upgrade (v1.0.14)

This commit is contained in:
Jay
2026-04-13 12:53:29 +09:00
parent 4b8d272e83
commit 538879527d
2 changed files with 13 additions and 4 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
"name": "connect-ai-lab",
"displayName": "Connect AI",
"description": "100% 로컬 AI 코딩 에이전트 — 파일 생성, 코드 편집, 터미널 실행을 오프라인으로. Ollama + Gemma/Llama/DeepSeek 지원.",
"version": "1.0.13",
"version": "1.0.14",
"publisher": "connectailab",
"license": "MIT",
"icon": "assets/icon.png",
+12 -3
View File
@@ -290,11 +290,20 @@ class SidebarChatProvider implements vscode.WebviewViewProvider {
// --------------------------------------------------------
private async _syncSecondBrain() {
if (!this._view) { return; }
const { secondBrainRepo } = getConfig();
let { secondBrainRepo } = getConfig();
// UX 극대화: 안 채워져 있으면 에러 내뱉지 말고 입력창 띄우기!
if (!secondBrainRepo) {
vscode.window.showErrorMessage('설정에서 Second Brain Github 주소를 먼저 입력해주세요!');
return;
const inputUrl = await vscode.window.showInputBox({
prompt: '🧠 뇌를 연결할 깃허브 저장소 주소를 입력하세요 (Second Brain URL)',
placeHolder: '예: https://github.com/사용자/레포지토리'
});
if (!inputUrl) { return; } // 사용자가 취소한 경우 종료
// 설정창에 자동 입력 및 저장
await vscode.workspace.getConfiguration('connectAiLab').update('secondBrainRepo', inputUrl, vscode.ConfigurationTarget.Global);
secondBrainRepo = inputUrl;
vscode.window.showInformationMessage('✅ 깃허브 주소가 자동 저장되었습니다. 즉시 동기화를 시작합니다!');
}
const brainDir = path.join(os.homedir(), '.connect-ai-brain');