Auto sync connectai update

This commit is contained in:
2026-05-19 19:20:24 +09:00
parent 59e0139bbe
commit 3fb05e7b13
9 changed files with 36 additions and 17 deletions
+3
View File
@@ -55,6 +55,9 @@ export async function handleSlashCommand(
const arg = spaceIdx === -1 ? '' : trimmed.slice(spaceIdx + 1).trim();
logInfo(`[SLASH] handleSlashCommand start head=${head} arg="${arg.slice(0, 60)}" bridge=${getBridgeBaseUrl()}`);
// 사용자가 OutputChannel을 안 봐도 진입 사실을 확인할 수 있도록 일회성 toast.
// chunk(view, ...)가 webview 비활성 등으로 silently drop돼도 toast는 항상 표시.
void vscode.window.setStatusBarMessage(`📻 Datacollect Radio: ${head} 처리 중…`, 5000);
chunk(view, `\n\n**📻 Datacollect Radio** · \`${head}\` · bridge=\`${getBridgeBaseUrl()}\`\n\n`);
try {
+6
View File
@@ -859,6 +859,12 @@ export class SidebarChatProvider implements vscode.WebviewViewProvider, BridgeIn
void this._sendReadyStatus();
webviewView.webview.onDidReceiveMessage(async (data) => {
// dispatch root 진입 trace — "/benchmark 입력했는데 아무 응답 없음" 같은
// 보고가 들어왔을 때 webview message가 정말 도착했는지부터 즉시 판별.
const valuePreview = typeof data?.value === 'string'
? JSON.stringify(data.value.slice(0, 80))
: '(non-string)';
logInfo(`[DISPATCH] type=${data?.type} value=${valuePreview}`);
if (await handleChatMessage(this, data)) return;
if (await handleBrainMessage(this, data)) return;
if (await handleChronicleMessage(this, data)) return;