Files
openclaw/extensions/googlechat/package.json
Jesse Merhi 4a2a600809 feat(channels): add channel-owned setup contracts (#112176)
* feat(channels): add channel-owned setup contracts

* test(channels): align legacy setup fixtures

* chore(channels): regenerate config and SDK baselines after rebase

* fix(update): run fresh doctor after current-process core changes

* fix(channels): align add pre-scan with execution precedence

* style(cli): format channels-cli test additions

* fix(channels): restore option-before-positional channel resolution via metadata arity scan

* fix(channels): keep help flags out of metadata arity escalation

* test(update): mock fresh post-update doctor in current-process suites

* style: format review fixes and correct entrypoint mock type

* fix(channels): register only modern contract options for dual-publishing plugins

* test(update): align downgrade suites with fresh-doctor child invocation

* docs(channels): record empty-contract and input-forwarding invariants

* fix(line): keep the shipped --token switch as a channel access token alias

* fix(signal): stop treating exact cross-family loopback endpoints as bind-aligned

* chore(config): regenerate docs config baselines after second rebase

* style: format rebased channels add tests

* fix(channels): enforce field-key and flag-name agreement in setup contracts

* fix(signal): detect container endpoints for bare --http-url setup

* fix(signal): ignore unconfigured accounts in transport collision checks

* fix(channels): validate negated setup flags in contract and normalizer

* fix(signal): preserve existing transport kind when setup detection is unreachable

* style(signal): use direct boolean check in collision guard

* style(signal): type test config literals

* docs(update): record two-read design of fresh-doctor validation gate

* fix(channels): satisfy post-rebase architecture gates

* docs: refresh channel setup map

---------

Co-authored-by: Peter Steinberger <steipete@gmail.com>
2026-07-22 19:57:42 -04:00

121 lines
3.3 KiB
JSON

{
"name": "@openclaw/googlechat",
"version": "2026.7.2",
"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.0",
"zod": "4.4.3"
},
"devDependencies": {
"@openclaw/plugin-sdk": "workspace:*",
"openclaw": "workspace:*"
},
"peerDependencies": {
"openclaw": ">=2026.7.2"
},
"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": "nestedOnly",
"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" }
}
]
}
},
"install": {
"npmSpec": "@openclaw/googlechat",
"defaultChoice": "npm",
"minHostVersion": ">=2026.4.10"
},
"compat": {
"pluginApi": ">=2026.7.2"
},
"build": {
"openclawVersion": "2026.7.2"
},
"release": {
"publishToClawHub": true,
"publishToNpm": true
}
}
}