Repository navigation
0.8.5
Commands can replace the Agent's history directly, and applications can inject user preferences through ConfigurationStore.
New features
- The displayed conversation follows history replacement after a command and before its notices, warnings, errors or prompts. Existing display state is preserved when the history object is unchanged.
- Inject
configurationStore:intoTui::make()or the constructor. Commands access the same preferences through$adapter->configurationStore(). - Adds focused
basic,sessions,modelandfullexamples. The model example persists the selected model between runs.
Breaking API changes
Requires Neuron Interaction ~0.8.5.
- Custom commands now implement
run(CommandAdapterInterface $adapter, string $value): void. Replace the previousCommandArgumentsparameter with the raw string value. - Replace
SelectionRequestwithSelectionwhen callingrequestSelection(). - Replace
$adapter->useSession($session)with$adapter->agent()->setChatHistory($session). Synchronization detects replacement of the history object, not arbitrary edits inside the same object. - The new
configurationStoreparameter precedesinputHistory. If passing input history positionally, update that argument position or useinputHistory:.
Neuron Interaction configuration now uses direct preferences instead of named Configuration objects:
$settings->write('model', $model);
$model = $settings->read('model', $defaultModel);The fallback determines the expected value type. Legacy named configurations are not read automatically; migrate any saved preferences your application needs.