Bump version to v1.0.3 with Information Message and fresh View ID

This commit is contained in:
Jay
2026-04-11 23:16:38 +09:00
parent 537c3c10ca
commit dcbba522c4
4 changed files with 653 additions and 4 deletions
+7 -2
View File
@@ -58,11 +58,12 @@ RULES:
// ============================================================
export function activate(context: vscode.ExtensionContext) {
console.log('Connect AI LAB extension activated.');
vscode.window.showInformationMessage('🔥 Connect AI LAB V2 활성화 완료!');
console.log('Connect AI LAB extension activated.');
const provider = new SidebarChatProvider(context.extensionUri, context);
context.subscriptions.push(
vscode.window.registerWebviewViewProvider('local-ai-chat-view', provider, {
vscode.window.registerWebviewViewProvider('connect-ai-lab-v2-view', provider, {
webviewOptions: { retainContextWhenHidden: true }
})
);
@@ -602,6 +603,7 @@ textarea::placeholder{color:var(--text-dim)}
<div class="input-footer"><span class="input-hint">Enter \uc804\uc1a1 \u00b7 Shift+Enter \uc904\ubc14\uafc8</span>
<div class="input-btns"><button class="stop-btn" id="stopBtn">\u25a0</button><button class="send-btn" id="sendBtn">\u2191</button></div></div></div></div>
<script>
try {
const vscode=acquireVsCodeApi(),chat=document.getElementById('chat'),input=document.getElementById('input'),
sendBtn=document.getElementById('sendBtn'),stopBtn=document.getElementById('stopBtn'),
modelSel=document.getElementById('modelSel'),newChatBtn=document.getElementById('newChatBtn');
@@ -647,6 +649,9 @@ window.addEventListener('message',e=>{const msg=e.data;switch(msg.type){
case 'focusInput':input.focus();break;
case 'injectPrompt':input.value=msg.value;input.style.height='auto';input.style.height=Math.min(input.scrollHeight,150)+'px';send();break;
} });
} catch(err) {
document.body.innerHTML = '<div style="color:#ff4444;padding:20px;background:#111;height:100%;font-size:14px;overflow:auto;"><h2>⚠️ WEBVIEW JS CRASH</h2><pre>' + err.name + ': ' + err.message + '\n' + err.stack + '</pre></div>';
}
</script></body></html>`;
}
}