+
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 48 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,54 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.0.72] - 2025-09-11

### Summary
This release includes a major architectural improvement with enum-based state machine implementation, enhanced system prompt updates, and improved tool validation configuration.

### Added
- **Enum-Based State Machine for Agent Completion Detection**
- Implemented AgentState enum with 4 states: USER_INPUT, ASSISTANT, TOOL_EXECUTION, RESPONSE
- Created AgentStateMachine with thread-safe state transition validation
- Added state transition rules to prevent invalid state changes
- Enhanced completion detection logic to eliminate premature completion issues
- Maintained full backward compatibility with existing boolean flags

### Changed
- **System Prompt Updates**
- Updated task completion marker from `TUNACODE_TASK_COMPLETE` to `TUNACODE DONE:`
- Enhanced tool documentation and examples
- Improved agent behavior rules and instructions
- Fixed test cases to match new completion marker format

### Fixed
- **Test Alignment Issues** - Updated test cases to use correct completion marker format
- **System Prompt Consistency** - Ensured all documentation and tests use consistent completion signaling

## [0.0.71] - 2025-09-11

### Added
- **Configurable Tool Strict Validation** - Users can now control tool parameter validation behavior through `tool_strict_validation` setting in tunacode.json
- Added configuration option for tool strict validation (defaults to false for backward compatibility)
- Updated all Tool constructors to use configurable setting

### Fixed
- **Tool Constructor Validation Issues** - Added `strict=False` parameter to prevent validation failures when tool parameters don't exactly match function signatures
- Updated Tool constructors in agent configuration to include strict parameter
- Improved system reliability and user experience

## [0.0.70] - 2025-09-11

### Added
- **Enhanced Configuration Documentation** - Added comprehensive documentation for new tunacode.json settings
- Documented tool validation configuration options
- Added examples and usage guidelines

### Changed
- **Model Configuration Updates** - Updated OpenRouter model references and configurations
- Enhanced model selection and validation logic
- Improved integration with models.dev service

## [0.0.69] - 2025-08-21

### Summary
Expand All @@ -31,12 +79,6 @@ This release includes comprehensive command system documentation, updated model
### Fixed
- Removed broken link to non-existent `templates.md` file in documentation

## [Unreleased]

### Added
- **Configurable Tool Strict Validation** - Users can now control tool parameter validation behavior through `tool_strict_validation` setting in tunacode.json
- Added configuration option for tool strict validation (defaults to false for backward compatibility)
- Updated all Tool constructors to use configurable setting
- Enhanced configuration documentation with new setting details

### Fixed
Expand Down
Loading
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载