Files
openclaw/extensions/googlechat/package.json
T
Peter Steinberger 99d662473c fix(channels): fail-fast headless channel setup with plugin-declared env contracts (#122530)
* fix(channels): validate headless channel setup

* docs(channels): document headless provisioning

* fix(channels): repair setup metadata typing

* chore(channels): regenerate official channel catalog for env metadata

* fix(slack): keep mode-conditional env contract plugin-owned

Static --use-env declaration keeps only the unconditional SLACK_BOT_TOKEN;
socket-vs-HTTP conditional requirements (app token, signing secret) stay in
Slack's own setup validation so HTTP mode no longer demands an irrelevant
SLACK_APP_TOKEN.

* chore(sdk): regenerate api baselines and catalog after rebase

* fix(slack): align manifest env declaration with runtime contract

* chore(sdk): regenerate api baselines after rebase

* chore(sdk): regenerate api baselines after rebase

* chore(sdk): regenerate api baselines after rebase
2026-08-12 17:12:15 +00:00

149 lines
3.8 KiB
JSON

{
"name": "@openclaw/googlechat",
"version": "2026.8.1",
"description": "OpenClaw Google Chat channel plugin for spaces and direct messages.",
"repository": {
"type": "git",
"url": "https://github.com/openclaw/openclaw"
},
"type": "module",
"dependencies": {
"google-auth-library": "10.9.1",
"zod": "4.4.3"
},
"devDependencies": {
"@openclaw/plugin-sdk": "workspace:*",
"openclaw": "workspace:*"
},
"peerDependencies": {
"openclaw": ">=2026.8.1"
},
"peerDependenciesMeta": {
"openclaw": {
"optional": true
}
},
"openclaw": {
"extensions": [
"./index.ts"
],
"setupEntry": "./setup-entry.ts",
"channel": {
"id": "googlechat",
"configuredState": {
"env": {
"anyOf": [
"GOOGLE_CHAT_SERVICE_ACCOUNT",
"GOOGLE_CHAT_SERVICE_ACCOUNT_FILE"
]
}
},
"approvalFlags": [
"native"
],
"label": "Google Chat",
"selectionLabel": "Google Chat (Chat API)",
"detailLabel": "Google Chat",
"docsPath": "/channels/googlechat",
"docsLabel": "googlechat",
"blurb": "Google Workspace Chat app with HTTP webhook.",
"aliases": [
"gchat",
"google-chat"
],
"order": 55,
"systemImage": "message.badge",
"markdownCapable": true,
"doctorCapabilities": {
"dmAllowFromMode": "topOnly",
"groupModel": "route",
"groupAllowFromFallbackToAllowFrom": false,
"warnOnEmptyGroupSenderAllowlist": false
},
"setup": {
"fields": [
{
"key": "token",
"kind": "string",
"sensitive": true,
"cli": {
"flags": "--token <json>",
"description": "Google Chat service account JSON"
}
},
{
"key": "tokenFile",
"kind": "string",
"sensitive": true,
"cli": {
"flags": "--token-file <path>",
"description": "Google Chat service account file"
}
},
{
"key": "audienceType",
"kind": "choice",
"choices": [
"app-url",
"project-number"
],
"cli": {
"flags": "--audience-type <type>",
"description": "Google Chat audience type"
}
},
{
"key": "audience",
"kind": "string",
"cli": {
"flags": "--audience <value>",
"description": "Google Chat audience value"
}
},
{
"key": "webhookPath",
"kind": "string",
"cli": {
"flags": "--webhook-path <path>",
"description": "Google Chat webhook path"
}
},
{
"key": "webhookUrl",
"kind": "string",
"cli": {
"flags": "--webhook-url <url>",
"description": "Google Chat webhook URL"
}
},
{
"key": "useEnv",
"kind": "boolean",
"cli": {
"flags": "--use-env",
"description": "Use Google Chat environment credentials"
},
"envVars": ["GOOGLE_CHAT_SERVICE_ACCOUNT", "GOOGLE_CHAT_SERVICE_ACCOUNT_FILE"],
"envVarMode": "any"
}
]
}
},
"install": {
"npmSpec": "@openclaw/googlechat",
"defaultChoice": "npm",
"minHostVersion": ">=2026.4.10"
},
"compat": {
"pluginApi": ">=2026.8.1"
},
"build": {
"openclawVersion": "2026.8.1"
},
"release": {
"publishToClawHub": true,
"publishToNpm": true
}
}
}