{
  "id": "meet",
  "channels": ["meet"],
  "skills": ["./skills"],
  "channelConfigs": {
    "meet": {
      "label": "Meet",
      "description": "Meet channel configuration",
      "schema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "enabled": { "type": "boolean" },
          "defaultAccount": { "type": "string" },
          "apiEndpoint": { "type": "string" },
          "token": { "type": "string" },
          "apiToken": { "type": "string" },
          "pollTimeout": { "type": "number", "minimum": 1000, "maximum": 300000 },
          "pollLimit": { "type": "number", "minimum": 1, "maximum": 1000 },
          "logLevel": { "type": "string", "enum": ["silent", "info"] },
          "dmPolicy": { "type": "string", "enum": ["open", "pairing", "allowlist"] },
          "allowFrom": {
            "type": "array",
            "items": { "anyOf": [{ "type": "string" }, { "type": "number" }] }
          },
          "groupPolicy": { "type": "string", "enum": ["open", "allowlist", "disabled"] },
          "groupAllowFrom": {
            "type": "array",
            "items": { "anyOf": [{ "type": "string" }, { "type": "number" }] }
          },
          "execApprovals": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "enabled": {
                "anyOf": [{ "type": "boolean" }, { "type": "string", "const": "auto" }]
              },
              "approvers": {
                "type": "array",
                "items": { "anyOf": [{ "type": "string" }, { "type": "number" }] }
              },
              "target": { "type": "string", "enum": ["dm", "channel", "both"] },
              "agentFilter": { "type": "array", "items": { "type": "string" } },
              "sessionFilter": { "type": "array", "items": { "type": "string" } }
            }
          },
          "requireMention": { "type": "boolean" },
          "systemPrompt": { "type": "string" },
          "channels": {
            "type": "object",
            "additionalProperties": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "enabled": { "type": "boolean" },
                "systemPrompt": { "type": "string" },
                "requireMention": { "type": "boolean" }
              }
            }
          },
          "groups": {
            "type": "object",
            "additionalProperties": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "enabled": { "type": "boolean" },
                "name": { "type": "string" },
                "requireMention": { "type": "boolean" },
                "systemPrompt": { "type": "string" },
                "users": {
                  "type": "array",
                  "items": { "anyOf": [{ "type": "string" }, { "type": "number" }] }
                },
                "groupPolicy": { "type": "string", "enum": ["open", "allowlist", "disabled"] }
              }
            }
          },
          "historyLimit": { "type": "number", "minimum": 0 },
          "dmHistoryLimit": { "type": "number", "minimum": 0 },
          "textChunkLimit": { "type": "number", "minimum": 1 },
          "mediaMaxMb": { "type": "number", "minimum": 0 },
          "accounts": {
            "type": "object",
            "additionalProperties": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "enabled": { "type": "boolean" },
                "name": { "type": "string" },
                "apiEndpoint": { "type": "string" },
                "token": { "type": "string" },
                "apiToken": { "type": "string" },
                "pollTimeout": { "type": "number", "minimum": 1000, "maximum": 300000 },
                "pollLimit": { "type": "number", "minimum": 1, "maximum": 1000 },
                "logLevel": { "type": "string", "enum": ["silent", "info"] },
                "dmPolicy": { "type": "string", "enum": ["open", "pairing", "allowlist"] },
                "allowFrom": {
                  "type": "array",
                  "items": { "anyOf": [{ "type": "string" }, { "type": "number" }] }
                },
                "groupPolicy": { "type": "string", "enum": ["open", "allowlist", "disabled"] },
                "groupAllowFrom": {
                  "type": "array",
                  "items": { "anyOf": [{ "type": "string" }, { "type": "number" }] }
                },
                "execApprovals": {
                  "type": "object",
                  "additionalProperties": false,
                  "properties": {
                    "enabled": {
                      "anyOf": [{ "type": "boolean" }, { "type": "string", "const": "auto" }]
                    },
                    "approvers": {
                      "type": "array",
                      "items": { "anyOf": [{ "type": "string" }, { "type": "number" }] }
                    },
                    "target": { "type": "string", "enum": ["dm", "channel", "both"] },
                    "agentFilter": { "type": "array", "items": { "type": "string" } },
                    "sessionFilter": { "type": "array", "items": { "type": "string" } }
                  }
                },
                "requireMention": { "type": "boolean" },
                "systemPrompt": { "type": "string" },
                "historyLimit": { "type": "number", "minimum": 0 },
                "dmHistoryLimit": { "type": "number", "minimum": 0 },
                "textChunkLimit": { "type": "number", "minimum": 1 },
                "mediaMaxMb": { "type": "number", "minimum": 0 },
                "groups": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "object",
                    "additionalProperties": false,
                    "properties": {
                      "enabled": { "type": "boolean" },
                      "name": { "type": "string" },
                      "requireMention": { "type": "boolean" },
                      "systemPrompt": { "type": "string" },
                      "users": {
                        "type": "array",
                        "items": { "anyOf": [{ "type": "string" }, { "type": "number" }] }
                      },
                      "groupPolicy": { "type": "string", "enum": ["open", "allowlist", "disabled"] }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "configSchema": {
    "type": "object",
    "additionalProperties": false,
    "properties": {}
  }
}
