|
@@ -47,7 +47,7 @@ wss.on('connection', (ws) => {
|
|
|
ws.on('message', (data) => {
|
|
ws.on('message', (data) => {
|
|
|
// User interaction event - write to stdout for Claude
|
|
// User interaction event - write to stdout for Claude
|
|
|
const event = JSON.parse(data.toString());
|
|
const event = JSON.parse(data.toString());
|
|
|
- console.log(JSON.stringify({ type: 'user-event', ...event }));
|
|
|
|
|
|
|
+ console.log(JSON.stringify({ ...event, type: 'user-event' }));
|
|
|
});
|
|
});
|
|
|
});
|
|
});
|
|
|
|
|
|