Docs/CLI reference

CLI reference

tama adaptive uninstall

Restores the newest timestamped legacy-runner backup over the currently installed adaptive shim.

Restores the newest timestamped legacy-runner backup over the currently installed adaptive shim.

#Invocation

tama adaptive uninstall

The command takes no positional input or public options. The sealed dispatcher does not read DEVICE_HOOK_EDIT_APPROVED for uninstall; possession of a usable backup is its operational prerequisite.

#Output and state

Tama finds the newest run-hook.mjs.* entry under the adaptive backup directory and copies it to ~/.shared-hooks/run-hook.mjs. Success prints restored <target> from <backup-name> and exits 0.

#Refusals and failures

  • No backup directory: no backup dir at <path>.
  • No matching backup: no runner backups under <path>.
  • Copy failure: cannot restore runner backup.

Each refusal exits 1 and leaves the current runner in place.

Return to the adaptive command group or the complete CLI tree.