Skip to content

Commit e71b794

Browse files
authored
Merge pull request #20 from gramaziokohler/rework
Rework
2 parents fcaf0cd + ee38f05 commit e71b794

15 files changed

Lines changed: 2343 additions & 538 deletions

.agents/prd-sse-session-stream.md

Lines changed: 0 additions & 117 deletions
This file was deleted.

.agents/runners/afk-ralph.py

Lines changed: 0 additions & 80 deletions
This file was deleted.

.agents/runners/afk-ralph.sh

Lines changed: 0 additions & 39 deletions
This file was deleted.

.agents/runners/ralph-once.sh

Lines changed: 0 additions & 9 deletions
This file was deleted.

.github/workflows/test.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Test
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v4
16+
17+
- name: Set up Node.js
18+
uses: actions/setup-node@v4
19+
with:
20+
node-version: 20
21+
cache: npm
22+
23+
- name: Install dependencies
24+
run: npm ci
25+
26+
- name: Run tests
27+
run: npm test

CHANGELOG.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## Unreleased
9+
10+
### Added
11+
12+
- `useSessionStream` hook owning the full SSE lifecycle: blueprint snapshot fetch, incremental `task_state_changed` / `session_state_changed` patching, auto-reconnect with back-off, and teardown on unmount.
13+
- Datastore panel hydrates on connect/reconnect and updates incrementally via `datastore_updated` SSE events as tasks complete.
14+
15+
### Changed
16+
17+
- `SessionMonitor` replaced its 500ms polling loop with `useSessionStream`; only a single long-lived SSE connection is opened per session.
18+
- Pause and resume apply optimistic state updates immediately; the stream confirms or corrects them.
19+
- `task_state_changed` events are filtered by `visibleBlueprintId` so drilling into a composite task's inner blueprint does not apply outer events to the displayed graph.
20+
21+
### Removed
22+
23+
- Poll-interval settings panel (`showSettings`, `pollInterval`, `antikythera.pollInterval` localStorage key) removed entirely.

0 commit comments

Comments
 (0)