chore: checkpoint before DAG views UX overhaul

This commit is contained in:
zenchantlive 2026-02-22 20:43:59 -08:00
parent 5695125a75
commit a03def1ca1
125 changed files with 40711 additions and 581 deletions

24
test-sse.mjs Normal file
View file

@ -0,0 +1,24 @@
import EventSource from 'eventsource';
const projectRoot = 'C:\\Users\\Zenchant\\codex\\beadboard';
const url = `http://localhost:3001/api/events?projectRoot=${encodeURIComponent(projectRoot)}`;
console.log(`Connecting to ${url}...`);
const es = new EventSource(url);
es.on('open', () => console.log('OPEN'));
es.on('error', (e) => {
console.error('ERROR');
console.error(e);
});
['message', 'issues', 'telemetry', 'activity'].forEach(event => {
es.addEventListener(event, (e) => {
console.log(`[${event.toUpperCase()}]`, e.data);
});
});
setTimeout(() => {
console.log('Closing after 30s');
es.close();
}, 60000);