feat(settings): 헤더 빌드 버전 배지 (v2.2.207)
Settings 헤더에 현재 확장 버전 표시(provider가 __VERSION__ 주입). 새 vsix 로딩 여부 확인 마커. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -1,5 +1,9 @@
|
|||||||
# Astra Patch Notes
|
# Astra Patch Notes
|
||||||
|
|
||||||
|
## v2.2.207 (2026-06-08)
|
||||||
|
### 🏷️ Settings 헤더에 빌드 버전 배지
|
||||||
|
- "Astra Settings" 옆에 현재 확장 버전(`v2.2.207`)을 표시 — 새 vsix가 실제로 로딩됐는지 한눈에 확인하는 마커. provider 가 `__VERSION__` 를 package 버전으로 주입(자동 동기화). ([settingsPanelProvider.ts](src/features/settings/settingsPanelProvider.ts) `_renderShell`).
|
||||||
|
|
||||||
## v2.2.206 (2026-06-08)
|
## v2.2.206 (2026-06-08)
|
||||||
### 🗂️ Settings 패널 카테고리 탭 정리
|
### 🗂️ Settings 패널 카테고리 탭 정리
|
||||||
- 길게 나열되던 9개 설정 섹션을 **4개 탭**으로 그룹핑 — **모델·연결**(연결+Cloud Providers) / **지식·기억**(메모리+두뇌) / **연동**(Datacollect+Telegram+Google) / **동작·고급**(Devil+고급).
|
- 길게 나열되던 9개 설정 섹션을 **4개 탭**으로 그룹핑 — **모델·연결**(연결+Cloud Providers) / **지식·기억**(메모리+두뇌) / **연동**(Datacollect+Telegram+Google) / **동작·고급**(Devil+고급).
|
||||||
|
|||||||
@@ -24,6 +24,18 @@ body {
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* 빌드 버전 배지 — 이 값이 보이면 새 빌드가 로딩된 것(검증 마커). */
|
||||||
|
.ver {
|
||||||
|
font-size: 10px;
|
||||||
|
font-weight: 600;
|
||||||
|
color: var(--vscode-descriptionForeground);
|
||||||
|
border: 1px solid var(--vscode-panel-border);
|
||||||
|
border-radius: 10px;
|
||||||
|
padding: 1px 7px;
|
||||||
|
margin-left: 8px;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
.section {
|
.section {
|
||||||
border: 1px solid var(--vscode-panel-border);
|
border: 1px solid var(--vscode-panel-border);
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header class="hd">
|
<header class="hd">
|
||||||
<h1>Astra Settings</h1>
|
<h1>Astra Settings <span class="ver" id="settingsVersion">v__VERSION__</span></h1>
|
||||||
<button id="openVscodeSettings" class="link">VS Code Settings 열기</button>
|
<button id="openVscodeSettings" class="link">VS Code Settings 열기</button>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
"name": "astra",
|
"name": "astra",
|
||||||
"displayName": "Astra",
|
"displayName": "Astra",
|
||||||
"description": "The personal intelligence layer for Antigravity and VS Code. A private cognitive partner for deep project context, memory, and proactive strategic decision-making.",
|
"description": "The personal intelligence layer for Antigravity and VS Code. A private cognitive partner for deep project context, memory, and proactive strategic decision-making.",
|
||||||
"version": "2.2.206",
|
"version": "2.2.207",
|
||||||
"publisher": "g1nation",
|
"publisher": "g1nation",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"icon": "assets/icon.png",
|
"icon": "assets/icon.png",
|
||||||
|
|||||||
@@ -717,9 +717,11 @@ export class SettingsPanelProvider implements vscode.WebviewViewProvider {
|
|||||||
const scriptUri = webview.asWebviewUri(vscode.Uri.joinPath(mediaRoot, 'settings-panel.js')).toString();
|
const scriptUri = webview.asWebviewUri(vscode.Uri.joinPath(mediaRoot, 'settings-panel.js')).toString();
|
||||||
const tplPath = path.join(this._deps.extensionUri.fsPath, 'media', 'settings-panel.html');
|
const tplPath = path.join(this._deps.extensionUri.fsPath, 'media', 'settings-panel.html');
|
||||||
const tpl = fs.readFileSync(tplPath, 'utf8');
|
const tpl = fs.readFileSync(tplPath, 'utf8');
|
||||||
|
const version = (this._deps.context?.extension?.packageJSON?.version as string) || '';
|
||||||
return tpl
|
return tpl
|
||||||
.replace('__STYLES_URI__', stylesUri)
|
.replace('__STYLES_URI__', stylesUri)
|
||||||
.replace('__SCRIPT_URI__', scriptUri);
|
.replace('__SCRIPT_URI__', scriptUri)
|
||||||
|
.replace('__VERSION__', version);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user