JarbasHiveMind / HiveMind-core

Join the OVOS collective, utils for OpenVoiceOS mesh networking
Apache License 2.0
98 stars 14 forks source link

feat/skill_intent_blacklist_per_client #89

Closed JarbasAl closed 4 months ago

JarbasAl commented 5 months ago

companion to https://github.com/OpenVoiceOS/ovos-core/pull/492

intents are of the format "skill_id:intent_name" skills are the default "skill_id" used everywhere else

$ hivemind-core --help
Usage: hivemind-core [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  add-client          add credentials for a client
  allow-msg           allow message types sent from a client
  blacklist-intent    blacklist intents from being triggered by a client
  blacklist-skill     blacklist skills from being triggered by a client
  delete-client       remove credentials for a client (numeric unique ID)
  list-clients        list clients and credentials
  listen              start listening for HiveMind connections
  unblacklist-intent  remove intents from a client blacklist
  unblacklist-skill   remove skills from a client blacklist

satellite devices can define EXTRA blacklisted skills or intents in their session/mycroft.conf

goldyfruit commented 5 months ago

Maybe this PR should be rebased with https://github.com/JarbasHiveMind/HiveMind-core/pull/94 changes.

JarbasAl commented 5 months ago

Maybe this PR should be rebased with #94 changes.

done