-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpermissions.py
44 lines (40 loc) · 1.25 KB
/
permissions.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
UTTERANCES = ["recognizer_loop:utterance"]
INTENTS = [
"mycroft.skill.handler.start",
"mycroft.skill.handler.complete",
"intent.service.intent.get",
"intent.service.skills.get",
"intent.service.active_skills.get",
"intent.service.adapt.get",
"intent.service.padatious.get",
"intent.service.adapt.manifest.get",
"intent.service.padatious.manifest.get",
"intent.service.adapt.vocab.manifest.get",
"intent.service.padatious.entities.manifest.get",
"register_vocab",
"register_intent",
"detach_intent",
"detach_skill",
"add_context",
"remove_context",
"clear_context",
'padatious:register_intent',
'padatious:register_entity',
"mycroft.skill.set_cross_context",
"mycroft.skill.remove_cross_context"
]
CONVERSE = [
# "skill.converse.request", # handle in internal protocol - localhive -> skill
# "skill.converse.ping", # handle in internal protocol - localhive -> skill
"skill.converse.response",
"skill.converse.pong",
"active_skill_request",
"intent.service.skills.activated",
"intent.service.skills.deactivated",
]
SPEAK = ["speak"]
STOP = ["mycroft.stop"]
DEFAULT = INTENTS + \
CONVERSE + \
SPEAK + \
["mycroft.skills.loaded"]