Auto sync connectai update
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user