claude-code-remote-remake/test-extraction-fix.js

22 lines
611 B
JavaScript

#!/usr/bin/env node
/**
* Test script for extractConversation function fix
* Tests the improved response detection logic
*/
const TmuxMonitor = require('./src/utils/tmux-monitor');
// Create test tmux buffer content that mimics actual Claude Code output
const testBuffer1 = `
Welcome to Claude Code
? for shortcuts
───────────────────────────
> what does this project do?
I'll help you understand what this project does. Let me analyze the codebase structure first.
<function_calls>
<invoke name="Read">
<parameter name="file_path">/path/to/file.js