Skip to content

0.8.5

Latest

Choose a tag to compare

@asterixcapri asterixcapri released this 10 Sep 20:57
· 3 commits to 0.8.x since this release

Sessions, commands and preferences now use simpler interfaces for applications built with Neuron AI.

  • Replace CommandArguments with a plain string $value in command execution.
  • Rename SelectionRequest to Selection, retaining deferred selection through requestSelection().
  • Remove CommandAdapterInterface::useSession(); commands install history directly with agent()->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.