Sessions, commands and preferences now use simpler interfaces for applications built with Neuron AI.
- Replace
CommandArgumentswith a plainstring $valuein command execution. - Rename
SelectionRequesttoSelection, retaining deferred selection throughrequestSelection(). - Remove
CommandAdapterInterface::useSession(); commands install history directly withagent()->setChatHistory(). - Replace named configuration objects with direct per-user preferences through
ConfigurationStore, including typed fallback reads. - Clarify the library description and update examples and documentation.
Upgrade notes
Custom commands and adapters must adopt the new signatures and selection type. Replace calls to useSession() with direct Agent history updates and synchronize presentation in the host application. Replace configuration object reads and writes with read($key, $fallback), write($key, $value), delete($key) and entries(). Legacy named configuration documents remain untouched and are not automatically migrated.
This release stays in the 0.8.x series according to the repository release policy, despite these interface changes.
Validation
- 164 tests, 706 assertions passed.
- PHPStan passed.
- Composer metadata validated with Neuron AI 3 dependencies.