Repository navigation
v0.4.1
[0.4.1] - 2026-11-01
file_mover plugin: move(src, dst, overwrite=False, dry_run=False, create_dirs=False), undo_last() and list_moves() move and rename files and directories identically on Linux, macOS and Windows (pure Python, no shell). Atomic rename on one volume; across volumes it copies, verifies size and SHA-256, moves the copy into place and only then removes the source. Case-only renames work on case-insensitive disks; symlinks move as links. dst is always the full new path; conflicts are refused and overwrite=True replaces a file with a file only (and cannot be undone). Scope is the operator's: base_dir by default, plus allowed_roots, or allow_any_path=True; the model cannot widen it. Every move is written to a monthly journal in ~/.maki/moves (retention_months, default 12) and undo_last() reverses only the latest move, refusing if the item changed since. Windows file-name rules apply on a Windows host, or everywhere with strict_names=True. move and undo_last need Agent(allow_dangerous_tools=True). list_moves and undo_last only see journal entries inside the plugin's own scope, so agents with different scopes can share a journal safely
Agent.load_plugin(name, plugin_path=None, **options) forwards options to the plugin's register_plugin(maki, **options)
CI runs the file_mover tests on macOS and Windows (Windows is best effort)
Documentation
docs/user/plugins.md lists file_mover and postgres_store and describes load_plugin options; plugin count corrected to 18 in the README and index
docs/user/loops.md and examples/loop_fix_tests.py: on_iteration is not called for the iteration that ends the loop; the example prints that last event from result.events