Version 2.55.0 Release: Rebranding to Astra

This commit is contained in:
g1nation
2026-05-03 20:40:40 +09:00
parent d8ae0b5964
commit a5f3e383d4
19 changed files with 140 additions and 67 deletions
+13 -13
View File
@@ -626,7 +626,7 @@ export class SidebarChatProvider implements vscode.WebviewViewProvider, BridgeIn
if (!name) return;
const description = await vscode.window.showInputBox({
prompt: 'Optional description shown in the G1nation sidebar',
prompt: 'Optional description shown in the Astra sidebar',
value: ''
});
@@ -687,7 +687,7 @@ export class SidebarChatProvider implements vscode.WebviewViewProvider, BridgeIn
if (!folder) return;
const description = await vscode.window.showInputBox({
prompt: 'Edit optional description shown in the G1nation sidebar',
prompt: 'Edit optional description shown in the Astra sidebar',
value: target.description || ''
});
@@ -819,7 +819,7 @@ export class SidebarChatProvider implements vscode.WebviewViewProvider, BridgeIn
`title: "${this._escapeYamlString(this._summarizeForTitle(firstUserMessage))}"`,
`category: "${this._escapeYamlString(meta.category)}"`,
`created_at: "${meta.createdAt}"`,
`source: "ConnectAI conversation"`,
`source: "Astra conversation"`,
`brain: "${this._escapeYamlString(meta.activeBrainName)}"`,
'status: raw',
'---',
@@ -874,7 +874,7 @@ export class SidebarChatProvider implements vscode.WebviewViewProvider, BridgeIn
private _summarizeForTitle(value: string): string {
const normalized = value.replace(/\s+/g, ' ').trim();
if (!normalized) return 'ConnectAI Conversation Raw Data';
if (!normalized) return 'Astra Conversation Raw Data';
return normalized.length > 80 ? `${normalized.slice(0, 80)}...` : normalized;
}
@@ -930,7 +930,7 @@ export class SidebarChatProvider implements vscode.WebviewViewProvider, BridgeIn
}
vscode.window.withProgress({
location: vscode.ProgressLocation.Notification,
title: "G1nation: Syncing Second Brain...",
title: "Astra: Syncing Second Brain...",
cancellable: false
}, async () => {
try {
@@ -1573,7 +1573,7 @@ export class SidebarChatProvider implements vscode.WebviewViewProvider, BridgeIn
this._chronicle.appendTimeline(profile, [`Auto ${recordType} record created: ${result.relativePath}`], createdAt);
await this._context.globalState.update(SidebarChatProvider.lastAutoChronicleSignatureStateKey, signature);
await this._sendChronicleRecords();
vscode.window.setStatusBarMessage(`G1nation: Chronicle auto-saved ${recordType}`, 3500);
vscode.window.setStatusBarMessage(`Astra: Chronicle auto-saved ${recordType}`, 3500);
} catch (err: any) {
logError('Automatic Chronicle record write failed.', { error: err?.message || String(err), recordType });
}
@@ -1944,7 +1944,7 @@ export class SidebarChatProvider implements vscode.WebviewViewProvider, BridgeIn
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<title>G1nation</title>
<title>Astra</title>
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
<style>
:root {
@@ -2558,7 +2558,7 @@ export class SidebarChatProvider implements vscode.WebviewViewProvider, BridgeIn
<body>
<div class="header">
<div class="header-top">
<div class="brand"><div class="logo">✦</div> G1nation</div>
<div class="brand"><div class="logo">✦</div> Astra</div>
<div class="header-actions">
<button class="icon-btn" id="newChatBtn" data-tooltip="New Chat">New</button>
<button class="icon-btn" id="saveWikiRawBtn" data-tooltip="Save Wiki Raw">Wiki</button>
@@ -2639,7 +2639,7 @@ export class SidebarChatProvider implements vscode.WebviewViewProvider, BridgeIn
<div class="chat" id="chat">
<div class="welcome">
<div class="welcome-logo">✦</div>
<div class="welcome-title">Welcome to G1nation</div>
<div class="welcome-title">Welcome to Astra</div>
<p>Your premium local AI assistant.<br>Ready to analyze projects and build reports.</p>
</div>
</div>
@@ -2686,7 +2686,7 @@ export class SidebarChatProvider implements vscode.WebviewViewProvider, BridgeIn
// [State Persistence - Tier 0] 즉시 복원 (Instant Restore from WebView State)
const previousState = vscode.getState();
if (previousState && previousState.history && previousState.history.length > 0) {
console.log('[G1nation] Restoring from Webview State...');
console.log('[Astra] Restoring from Webview State...');
renderHistory(previousState.history);
}
@@ -2899,7 +2899,7 @@ export class SidebarChatProvider implements vscode.WebviewViewProvider, BridgeIn
const head = document.createElement('div');
head.className = 'msg-head';
head.innerHTML = isUser ? '<div class="av av-user">U</div> You' : '<div class="av av-ai">✦</div> G1nation';
head.innerHTML = isUser ? '<div class="av av-user">U</div> You' : '<div class="av av-ai">✦</div> Astra';
const body = document.createElement('div');
body.className = 'msg-body markdown-body';
@@ -2985,7 +2985,7 @@ export class SidebarChatProvider implements vscode.WebviewViewProvider, BridgeIn
historyOverlay.classList.remove('visible');
break;
case 'clearChat':
chat.innerHTML = '<div class="welcome"><div class="welcome-logo">✦</div><div class="welcome-title">Welcome to G1nation</div><p>Your premium local AI assistant.<br>Ready to analyze projects and build reports.</p></div>';
chat.innerHTML = '<div class="welcome"><div class="welcome-logo">✦</div><div class="welcome-title">Welcome to Astra</div><p>Your premium local AI assistant.<br>Ready to analyze projects and build reports.</p></div>';
break;
case 'focusInput':
input.focus();
@@ -3325,7 +3325,7 @@ export class SidebarChatProvider implements vscode.WebviewViewProvider, BridgeIn
try {
localStorage.setItem('g1nation_last_model', _selectedModel);
} catch(e) {
console.warn('[G1nation] LocalStorage 저장 실패:', e);
console.warn('[Astra] LocalStorage 저장 실패:', e);
}
// [State Persistence - Tier 1] VS Code 전역 설정에 동기화 (영구 저장)
vscode.postMessage({ type: 'model', value: _selectedModel });