Files
Peter SteinbergerandGitHub f810fb35d5 refactor(reef): centralize peer trust in SQLite (#108375)
* feat(plugin-sdk): support removing pairing requests

* refactor(reef): centralize peer trust in SQLite

* chore: defer Reef release note

* fix(reef): share runtime state across module instances

* refactor(reef): narrow trust store boundary

* test(reef): pass config to account description
2026-07-15 10:21:54 -07:00

168 lines
3.8 KiB
JSON

{
"id": "reef",
"name": "Reef",
"description": "Guarded end-to-end encrypted claw channel",
"activation": {
"onStartup": true,
"onCommands": [
"reef"
]
},
"channels": [
"reef"
],
"configSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"relayUrl": {
"type": "string",
"format": "uri",
"pattern": "^[hH][tT][tT][pP][sS]?://[^\\\\/?#@]+/?$",
"default": "https://reefwire.ai"
},
"handle": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9_-]{0,62}$"
},
"email": {
"type": "string",
"format": "email"
},
"guard": {
"type": "object",
"additionalProperties": false,
"required": [
"provider",
"pinnedModel",
"apiKeyEnv",
"policyVersion",
"timeoutMs"
],
"properties": {
"provider": {
"enum": [
"anthropic",
"openai"
]
},
"pinnedModel": {
"type": "string",
"minLength": 1
},
"apiKeyEnv": {
"type": "string",
"pattern": "^[A-Z_][A-Z0-9_]*$"
},
"policyVersion": {
"type": "string",
"minLength": 1
},
"timeoutMs": {
"type": "integer",
"minimum": 100,
"maximum": 120000
}
}
},
"stateDir": {
"type": "string",
"minLength": 1
},
"requestPolicy": {
"enum": [
"code-only",
"friends-of-friends",
"open"
],
"default": "code-only"
},
"enabled": {
"type": "boolean",
"default": true
}
}
},
"channelConfigs": {
"reef": {
"schema": {
"type": "object",
"additionalProperties": false,
"properties": {
"relayUrl": {
"type": "string",
"format": "uri",
"pattern": "^[hH][tT][tT][pP][sS]?://[^\\\\/?#@]+/?$",
"default": "https://reefwire.ai"
},
"handle": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9_-]{0,62}$"
},
"email": {
"type": "string",
"format": "email"
},
"guard": {
"type": "object",
"additionalProperties": false,
"required": [
"provider",
"pinnedModel",
"apiKeyEnv",
"policyVersion",
"timeoutMs"
],
"properties": {
"provider": {
"enum": [
"anthropic",
"openai"
]
},
"pinnedModel": {
"type": "string",
"minLength": 1
},
"apiKeyEnv": {
"type": "string",
"pattern": "^[A-Z_][A-Z0-9_]*$"
},
"policyVersion": {
"type": "string",
"minLength": 1
},
"timeoutMs": {
"type": "integer",
"minimum": 100,
"maximum": 120000
}
}
},
"stateDir": {
"type": "string",
"minLength": 1
},
"requestPolicy": {
"enum": [
"code-only",
"friends-of-friends",
"open"
],
"default": "code-only"
},
"enabled": {
"type": "boolean",
"default": true
}
}
}
}
},
"commandAliases": [
{
"name": "reef"
}
]
}