Skip to content

Commit 9ecd498

Browse files
committed
chore: release v0.4.2 - resumable sessions
- Add comprehensive resumable session functionality - Immediate pause with Ctrl+Z and /pause command - Auto-save state on quit - Session management with /resume and /sessions commands - Full memory and conversation history restoration - See CHANGELOG.md for complete list of changes
1 parent 64446ff commit 9ecd498

File tree

2 files changed

+37
-13
lines changed

2 files changed

+37
-13
lines changed

CHANGELOG.md

Lines changed: 36 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,26 +8,49 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88
## [Unreleased]
99

1010
### Added
11-
- Initial project structure
12-
- React frontend (honeycomb) with Vite and TypeScript
13-
- Node.js backend (hive) with Express and TypeScript
14-
- Docker Compose configuration for local development
15-
- Configuration system via `config.yaml`
16-
- GitHub Actions CI/CD workflows
17-
- Comprehensive documentation
1811

1912
### Changed
20-
- N/A
13+
14+
### Fixed
15+
16+
### Security
17+
18+
## [0.4.2] - 2026-02-08
19+
20+
### Added
21+
- Resumable sessions: agents now automatically save state and can resume after interruptions
22+
- `/resume` command in TUI to resume latest paused/failed session
23+
- `/resume <session_id>` command to resume specific sessions
24+
- `/sessions` command to list all sessions for current agent
25+
- `--resume-session` CLI flag for automatic session resumption on startup
26+
- `--checkpoint <checkpoint_id>` CLI flag for checkpoint-based recovery
27+
- Ctrl+Z now immediately pauses execution with full state capture
28+
- `/pause` command for immediate pause during execution
29+
- Session state persistence: memory, execution path, node positions, visit counts
30+
- Unified session storage at `~/.hive/agents/{agent_name}/sessions/`
31+
- Automatic memory restoration on resume with full conversation history
32+
33+
### Changed
34+
- TUI quit now pauses execution and saves state instead of cancelling
35+
- Pause operations now use immediate task cancellation instead of waiting for node boundaries
36+
- Session cleanup timeout increased from 0.5s to 5s to ensure proper state saving
37+
- Session status now tracked as: active, paused, completed, failed, cancelled
2138

2239
### Deprecated
23-
- N/A
40+
- Pause nodes (use client-facing EventLoopNodes instead)
41+
- `request_pause()` method (replaced with immediate task cancellation)
2442

2543
### Removed
2644
- N/A
2745

28-
2946
### Fixed
30-
- tools: Fixed web_scrape tool attempting to parse non-HTML content (PDF, JSON) as HTML (#487)
47+
- Memory persistence: ExecutionResult.session_state["memory"] now populated at all exit points
48+
- Resume now starts at correct paused_at node instead of intake node
49+
- Visit count double-counting on resume (paused node count now properly adjusted)
50+
- Session selection now picks most recent session instead of oldest
51+
- Quit state save failures due to insufficient timeout
52+
- Ctrl+Z pause implementation (was only showing notification without pausing)
53+
- Empty memory on resume by ensuring session_state["memory"] is properly populated
3154

3255
### Security
3356
- N/A
@@ -37,5 +60,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3760
### Added
3861
- Initial release
3962

40-
[Unreleased]: https://github.com/adenhq/hive/compare/v0.1.0...HEAD
63+
[Unreleased]: https://github.com/adenhq/hive/compare/v0.4.2...HEAD
64+
[0.4.2]: https://github.com/adenhq/hive/compare/v0.4.0...v0.4.2
4165
[0.1.0]: https://github.com/adenhq/hive/releases/tag/v0.1.0

core/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "framework"
3-
version = "0.1.0"
3+
version = "0.4.2"
44
description = "Goal-driven agent runtime with Builder-friendly observability"
55
readme = "README.md"
66
requires-python = ">=3.11"

0 commit comments

Comments
 (0)