Add a Claude Code-like chat experience to the VS Code extension with: - Streaming chat panel (sidebar + editor tab) with markdown rendering - Tool use visualization with inline diffs (replace/with display) - Session history browser with JSONL transcript parsing - Thinking block indicator with elapsed time and token count - Clickable file paths that open in the editor - Permission mode setting (acceptEdits default) - Multi-turn conversation support via NDJSON stream-json protocol - Status bar with live activity indicators - Ctrl+Shift+L keybinding to open chat panel Made-with: Cursor Co-authored-by: henriquepasquini2 <henriquepasquini2@users.noreply.github.com>
18 lines
493 B
JavaScript
18 lines
493 B
JavaScript
const { readdirSync } = require('node:fs');
|
|
const { execFileSync } = require('node:child_process');
|
|
const { join } = require('node:path');
|
|
|
|
function check(dir) {
|
|
for (const f of readdirSync(dir, { withFileTypes: true })) {
|
|
if (f.isDirectory()) {
|
|
check(join(dir, f.name));
|
|
} else if (f.name.endsWith('.js') && !f.name.endsWith('.test.js')) {
|
|
execFileSync(process.execPath, ['--check', join(dir, f.name)], {
|
|
stdio: 'inherit',
|
|
});
|
|
}
|
|
}
|
|
}
|
|
|
|
check('./src');
|