feat(deploy): add restricted checkin-bot agent for DMs
- Add checkin-bot agent as default with tools.deny: ["*"] - Add binding to route admin DM to main agent with full access - Change dm.policy to "open" so anyone can DM - Regular users get checkin-bot (no tools), admin gets main agent
This commit is contained in:
parent
f1820b9cb5
commit
6b1c6678ce
@ -4,6 +4,17 @@
|
|||||||
},
|
},
|
||||||
"agents": {
|
"agents": {
|
||||||
"list": [
|
"list": [
|
||||||
|
{
|
||||||
|
"id": "checkin-bot",
|
||||||
|
"default": true,
|
||||||
|
"identity": {
|
||||||
|
"name": "tobais",
|
||||||
|
"emoji": "🤖"
|
||||||
|
},
|
||||||
|
"tools": {
|
||||||
|
"deny": ["*"]
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"id": "main",
|
"id": "main",
|
||||||
"identity": {
|
"identity": {
|
||||||
@ -21,14 +32,26 @@
|
|||||||
"maxConcurrent": 2
|
"maxConcurrent": 2
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"bindings": [
|
||||||
|
{
|
||||||
|
"agentId": "main",
|
||||||
|
"match": {
|
||||||
|
"channel": "discord",
|
||||||
|
"peer": {
|
||||||
|
"kind": "dm",
|
||||||
|
"id": "213199879525105664"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
"channels": {
|
"channels": {
|
||||||
"discord": {
|
"discord": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"groupPolicy": "allowlist",
|
"groupPolicy": "allowlist",
|
||||||
"dm": {
|
"dm": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"policy": "allowlist",
|
"policy": "open",
|
||||||
"allowFrom": ["213199879525105664"]
|
"allowFrom": ["*"]
|
||||||
},
|
},
|
||||||
"guilds": {
|
"guilds": {
|
||||||
"884603707658997780": {
|
"884603707658997780": {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user