Skip to main content

Module uninstall

Module uninstall 

Source
Expand description

Implementation of the seshat uninstall command. Implementation of the seshat uninstall command.

Removes all Seshat configuration from detected AI clients:

  • MCP entries from config files
  • Instruction sections from AGENTS.md/CLAUDE.md/.cursorrules
  • Skill directories
  • Hook scripts and entries

Reverses the operations performed by seshat init.

Re-exports§

pub use crate::init::ScopeRequest;

Structs§

ClientUninstallPlan
What would be removed for a specific client.

Enums§

UninstallResult
Result of an uninstall operation.
UninstallTarget
A single item that can be removed during uninstall.

Functions§

detect_all_targets
Detect all uninstall targets for detected clients.
remove_hooks
Remove hook scripts and hook entries from settings.json.
remove_instructions
Remove ALL <!-- seshat:start -->...<!-- seshat:end --> blocks from a file.
remove_mcp_entry
Remove seshat entry from a JSON config file.
remove_skill_dir
Remove a skill directory.
run_uninstall
Run the seshat uninstall command.