Skip to content

feat: add update-profile command to change account name#1

Open
shmlkv wants to merge 2 commits intoslopus:mainfrom
shmlkv:feature/update-profile
Open

feat: add update-profile command to change account name#1
shmlkv wants to merge 2 commits intoslopus:mainfrom
shmlkv:feature/update-profile

Conversation

@shmlkv
Copy link

@shmlkv shmlkv commented Jan 26, 2026

Adds a new CLI command murmur update-profile that allows changing the firstName and lastName of an existing account.

Usage

murmur update-profile --first-name "Andre"
murmur update-profile --first-name "Andre" --last-name "Sh"

Changes

  • Added updateProfile method to MurmurEngine that:
    • Creates a new encrypted profile with updated name
    • Re-signs the profile key
    • Uploads to server via existing api.updateProfile endpoint
    • Updates local account data and persists to database
  • Added update-profile command to CLI
  • Added signProfileKey to imports from profile.ts

Why

Currently, if you want to change your display name, you have to delete your account and create a new one, losing your ID and contacts. This command allows updating the profile while keeping the same identity.

Adds a new CLI command `murmur update-profile` that allows changing
the firstName and lastName of an existing account.

Usage:
  murmur update-profile --first-name <name> [--last-name <name>]

Changes:
- Added updateProfile method to MurmurEngine
- Added update-profile command to CLI
- Imports signProfileKey for re-signing the profile
Adds 'text' field to WebhookContext so webhooks receive the actual
message content without needing a separate sync call.

Usage in webhook-body:
  --webhook-body '{"text": "{{text}}", ...}'
@ex3ndr
Copy link
Contributor

ex3ndr commented Jan 26, 2026

nice! can you make it me update instead?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants