Skip to content

added uninstall option#2

Merged
hsyvy merged 2 commits into
helloagentai:mainfrom
hsyvy:main
May 11, 2026
Merged

added uninstall option#2
hsyvy merged 2 commits into
helloagentai:mainfrom
hsyvy:main

Conversation

@hsyvy

@hsyvy hsyvy commented May 11, 2026

Copy link
Copy Markdown
Contributor

No description provided.

hsyvy and others added 2 commits May 11, 2026 15:59
- Add lifecycle.onAccountRemoved adapter so a soft cfg-only account
  removal (e.g. unsetting channels.helloagent.accounts.work) tears down
  the live WS session and deletes the on-disk creds.json. Shares one
  cleanupAccount helper with gateway.logoutAccount; idempotent.
- Document the uninstall flow in the README. `openclaw plugins uninstall`
  is a hard-restart change that doesn't fire per-account lifecycle hooks
  before unloading the plugin, so creds persist by default. The README
  now points users at `channels logout` first, with a fallback `rm -rf`
  for already-uninstalled state.
- Fix manifest schema mismatch: openclaw.plugin.json
  channelConfigs.helloagent.schema now declares the `accounts` property
  to match the runtime configSchema, so multi-account writes via
  `openclaw config set channels.helloagent.accounts.<id>.<key>` are no
  longer rejected with "must NOT have additional properties".

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@hsyvy
hsyvy merged commit 66763e2 into helloagentai:main May 11, 2026
1 check passed
@hsyvy hsyvy mentioned this pull request May 12, 2026
5 tasks
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.

1 participant