espressif/brookesia_agent_coze

0.7.3

Latest
uploaded 9 hours ago
ESP-Brookesia Coze Agent which provides Coze API integration, WebSocket communication, and agent management.

changelog

# ChangeLog

## v0.7.3 - 2026-04-10

### Bug Fixes:

- fix(chat): add null terminator to WebSocket message buffer before processing to prevent out-of-bounds reads
- fix(nvs): bind NVS service before calling `erase_keys()` in `try_erase_data()` to prevent invalid service access

### Enhancements:

- feat(docs): add Doxygen documentation to all public types and methods in `agent_coze.hpp` and `macro_configs.h`
- feat(build): include `macro_configs.h` in the umbrella header `brookesia/agent_coze.hpp`
- feat(build): replace global `-Wno-missing-field-initializers` compile flag with per-site `#pragma GCC diagnostic` suppression

### Refactoring:

- refactor(repo): move Coze backend C sources from `src/private/` to a dedicated `coze/` subdirectory with private include path

## v0.7.2 - 2026-02-25

### Enhancements:

- feat(agent): implement `on_manual_stop_listening()` override to handle manual listening stop in Coze agent
- feat(agent): add logic to stop manual listening when `ESP_COZE_CHAT_EVENT_CHAT_SPEECH_STOPED` event is received in Manual chat mode
- feat(agent): call `reset_interrupted_speaking()` in `on_interrupt_speaking()` to properly reset interrupted speaking state

### Bug Fixes:

- fix(log): fix typo in log messages ("char" -> "chat") for chat listening start/stop and speaking complete events

## v0.7.1 - 2026-02-02

### Breaking Changes:

- break(repo): integrate `esp_coze` subcomponent into main component as private implementation
- break(repo): change `esp_websocket_client` dependency to private
- break(repo): migrate agent helper from `service::helper::AgentCoze` to `agent::helper::Coze`
- break(repo): refactor lifecycle methods (`on_activate`, `on_startup`, `on_shutdown`, etc.)
- break(repo): move some dependencies from `REQUIRES` to `PRIV_REQUIRES`

### Enhancements:

- feat(Kconfig): add `BROOKESIA_AGENT_COZE_ENABLE_AUTO_REGISTER` option for automatic plugin registration
- feat(repo): add `on_interrupt_speaking()` method for interrupting agent speech
- feat(repo): add `support_general_functions` and `support_general_events` in agent attributes
- feat(repo): add `require_time_sync` attribute for time synchronization requirement
- feat(repo): move `fetch_data_size` into encoder configuration
- feat(repo): update `brookesia_agent_manager` dependency to `0.7.*`

## v0.7.0~1 - 2026-01-14

### Enhancements:

- feat(CMake): use linker option `-u` to register plugin instead of `WHOLE_ARCHIVE`

### Bug Fixes

- fix(base): correct debug log

## v0.7.0 - 2025-12-24

### Initial Release

- feat(repo): add Coze agent implementation for ESP-Brookesia ecosystem
- feat(repo): implement Coze API integration with WebSocket communication for real-time voice and text interaction
- feat(repo): support OAuth2 authentication with automatic access token management
- feat(repo): support multiple robot configuration with dynamic robot switching
- feat(repo): implement audio codec support with G711A format at 16kHz sample rate
- feat(repo): support emote events from Coze platform
- feat(repo): support NVS-based data persistence for agent configuration and active robot index
- feat(repo): implement Coze platform event handling (e.g., insufficient credits balance)
- feat(repo): integrate with agent manager framework for unified lifecycle management

Links

Supports all targets

License: Apache-2.0

To add this component to your project, run:

idf.py add-dependency "espressif/brookesia_agent_coze^0.7.3"

download archive

Stats

  • Archive size
    Archive size ~ 34.48 KB
  • Downloaded in total
    Downloaded in total 18 times
  • Downloaded this version
    This version: 0 times

Badge

espressif/brookesia_agent_coze version: 0.7.3
|