Skip to content

v0.2.0

Latest

Choose a tag to compare

@Xylo01 Xylo01 released this 25 Nov 23:32

AI Assistant 0.2.0

Requires panel >=1.2.10.

Added

  • Automatic pre-change snapshots & action rollback: before running reversible AI changes (write_file, edit_file, delete_files, update_startup_variables, rename_server, create_schedule), the assistant automatically snapshots the previous state (capped at 1 MB per file and 2 MB per delete_files batch, degrading gracefully when a file is oversized, binary, or a directory).
  • Single-action and checkpoint rollback: undo an individual action with Roll back (or Retry roll back after a failure), or revert a sequence of changes in reverse order with Roll back to here (N) directly from the action card. Irreversible actions in between are clearly reported as skipped.
  • Conflict detection & explicit force override: before rolling back, the panel verifies the target file hash, startup variables, or server name/description still match what the action wrote. If you edited a resource manually afterwards, rollback stops with a warning and lets you explicitly choose Force roll back or Cancel.
  • Permission, scope & AI context sync: rollbacks re-verify user permissions and server chat scope through the panel router, and rolled-back actions are automatically reflected in the model's conversation context (both in-window tool results and out-of-window system prompt notes) so the assistant never assumes reverted changes are still active.

Upgrading

Replace the extension archive and restart (or upload it under Admin → Extensions). This release includes a database migration (20261125220000_action_rollback) that adds rollback tracking columns (seq, rollback_status, rollback_summary, rollback_result, rolled_back) to dev_caloptreyx_aiassistant_actions and creates dev_caloptreyx_aiassistant_snapshots (with ON DELETE CASCADE for retention pruning).