Skip to content

Commit 3a66772

Browse files
committed
refactor: Create CHANGELOG.md documenting version history and recent improvements
1 parent 5e24744 commit 3a66772

File tree

1 file changed

+75
-0
lines changed

1 file changed

+75
-0
lines changed

CHANGELOG.md

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
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+
## [1.0.0] - 2026-01-18
9+
10+
### Added
11+
- **Metrics System** - Track cycles, tasks, token usage, and estimated costs
12+
- `--status` CLI flag to display metrics summary without starting the loop
13+
- `--metrics-reset` CLI flag to reset all metrics to default values with confirmation
14+
- Comprehensive metrics tracking in `metrics.json` including token counts and cost estimation
15+
- **Token Usage Tracking** - Enhanced token tracking with accurate model cost estimation
16+
- Support for all major model providers: Claude (Anthropic), GPT (OpenAI), Gemini (Google)
17+
- Automatic cost calculation based on current market pricing
18+
- Token tracking integration in plan and build phases
19+
- **Session Statistics** - Detailed session-level statistics including:
20+
- Input and output token counts per operation
21+
- Session duration tracking
22+
- Summary logging at end of each cycle
23+
- **Git Integration Improvements**
24+
- Proper escaping of special characters in commit messages
25+
- `hasUnpushedCommits()` function to detect unpushed changes
26+
- Better handling of git operations with improved error messages
27+
- **Ideas Queue Enhancements** - Improved reliability and crash safety
28+
- Idea backup before processing
29+
- Idea tracking in state for crash recovery
30+
- Auto-cleanup of empty/invalid ideas
31+
- **Comprehensive Test Coverage** - Full test suite for all modules
32+
- 443 tests covering CLI, build, git, metrics, eval, and more
33+
- High confidence in code reliability
34+
35+
### Changed
36+
- **Terminology Update** - Renamed "Planning" to "Plan" throughout codebase
37+
- Updated documentation and variable names for consistency
38+
- Improved naming clarity in phase descriptions
39+
- **Build Phase Naming** - Renamed "builder" module to "build"
40+
- More concise and idiomatic naming
41+
- Updated all related imports and test files
42+
- **Evaluation Phase** - Renamed "evaluation" to "eval"
43+
- Shorter terminology for consistency with phase naming
44+
- Updated all functions and types accordingly
45+
- **Directory Structure** - Standardized on `.opencode/opencoder/` directory
46+
- All OpenCoder artifacts stored under this path
47+
- Improved organization and clarity
48+
49+
### Fixed
50+
- Improved idea handling reliability with better crash safety mechanisms
51+
- Better null/undefined handling in message part extraction
52+
- Special character escaping in git commit messages
53+
- State validation for invalid phase names
54+
55+
### Technical Improvements
56+
- Exponential backoff retry mechanism for transient failures
57+
- Cycle timeout/watchdog mechanism to prevent infinite loops
58+
- Visual feedback for AI thinking and tool usage during development
59+
- Improved logger output with file change notifications
60+
- Enhanced FS utilities for better file operations
61+
62+
## [0.1.0] - 2026-01-16
63+
64+
### Added
65+
- Initial OpenCoder release
66+
- Autonomous development loop with three phases: Plan, Build, Eval
67+
- Ideas queue system for directing AI toward specific tasks
68+
- OpenCode SDK integration with real-time event streaming
69+
- Two-model architecture (separate models for plan and build)
70+
- Live output streaming of AI thinking and tool calls
71+
- State persistence for resumable development cycles
72+
- Automatic git operations (commit and push)
73+
- Plan history archival
74+
- Comprehensive logging and metrics
75+

0 commit comments

Comments
 (0)