Skip to main content

Module setup

Module setup 

Source
Expand description

First-use setup wizard for TotalReclaw.

Handles:

  • Recovery phrase generation/import (saved to ~/.totalreclaw/credentials.json)
  • Embedding mode selection (saved to ~/.totalreclaw/embedding-config.json)

Structs§

Credentials
Stored credentials.
EmbeddingConfig
Persisted embedding configuration.

Functions§

config_dir
Get the TotalReclaw config directory (~/.totalreclaw/).
config_to_mode
Convert saved config to EmbeddingMode.
credentials_path
Get the credentials file path.
embedding_config_path
Get the embedding config file path.
generate_mnemonic
Generate a fresh BIP-39 mnemonic.
load_credentials
Load credentials from disk.
load_embedding_config
Load embedding config from disk.
save_credentials
Save credentials to disk.
save_embedding_config
Save embedding config to disk.