Skip to content

0.8.4

Choose a tag to compare

@asterixcapri asterixcapri released this 10 Sep 21:26
· 11 commits to 0.8.x since this release

This release simplifies command mounting and distinguishes informational messages, warnings and expected errors.

Changes

  • Add ConcurrentCommandInterface for commands that can run without interfering with active Agent work. Help and Leave implement the marker; admission remains the Adapter's responsibility.
  • Replace command kits with explicit command instances or arrays. Remove CommandKitInterface, AbstractCommandKit and SessionCommandKit.
  • Replace say() with notify() and add error() alongside warn() on CommandAdapterInterface.
  • Report an unknown Session key as an error and an empty Session collection as a warning.
  • Rename ConfigurationStore::save() to write().
  • Update backend examples and documentation for the revised contracts.

Upgrade notes

Replace say($text) calls with notify($text) and implement error() in custom Adapters. Messages do not interrupt execution or change its technical status: return explicitly when a command cannot continue.

Mount new ClearCommand() and new ResumeCommand() directly instead of using SessionCommandKit. Replace custom kits with arrays of commands. Rename configuration persistence calls from save($configuration) to write($configuration).

These interface changes remain in the 0.8.x series according to the repository release policy.

Full changelog