@openclaw/googlechat 2026.7.2-beta.5 → 2026.7.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/.setup/actions-DeT_GgtP.mjs +167 -0
- package/dist/.setup/approval-auth-CQP5ZS_f.mjs +27 -0
- package/dist/{approval-handler.runtime-BJXVLK9y.js → .setup/approval-handler.runtime-DWNRBf9B.mjs} +5 -6
- package/dist/{channel-CehfTiWZ.js → .setup/channel-BPjomke4.mjs} +80 -58
- package/dist/{channel-base-CC85hRUC.js → .setup/channel-base-DJICAvKH.mjs} +80 -148
- package/dist/{channel.adapters-DLatFGZz.js → .setup/channel.adapters-T6wPzrpo.mjs} +164 -379
- package/dist/{channel.runtime-Bz0__ttC.js → .setup/channel.runtime-CpT-qT67.mjs} +241 -458
- package/dist/.setup/doctor-contract-BcEqUZ4j.mjs +151 -0
- package/dist/{runtime-api-Dh0CNVS4.js → .setup/runtime-api-BbVoWRxq.mjs} +7 -3
- package/dist/.setup/secret-contract-api-BGDBptmu.mjs +3 -0
- package/dist/.setup/secret-contract-lCMHqumt.mjs +99 -0
- package/dist/.setup/setup-plugin-api-BgwvQMls.mjs +5 -0
- package/dist/.setup/setup-plugin-api-Ce08GSFO.mjs +2 -0
- package/dist/api.js +2 -2
- package/dist/channel-config-api.js +2 -1
- package/dist/channel-plugin-api.js +1 -1
- package/dist/directory-contract-api.js +1 -1
- package/dist/doctor-contract-api.js +1 -1
- package/dist/runtime-api.js +2 -3
- package/dist/secret-contract-api.js +1 -1
- package/dist/setup-entry.js +3 -2
- package/dist/setup-plugin-api.js +1 -4
- package/node_modules/gaxios/build/cjs/src/gaxios.js +1 -1
- package/node_modules/gaxios/build/cjs/src/gaxios.js.map +1 -1
- package/node_modules/gaxios/build/cjs/test/test.getch.js +0 -66
- package/node_modules/gaxios/build/cjs/test/test.getch.js.map +1 -1
- package/node_modules/gaxios/build/cjs/tsconfig.cjs.tsbuildinfo +1 -1
- package/node_modules/gaxios/build/esm/src/gaxios.js +1 -1
- package/node_modules/gaxios/build/esm/src/gaxios.js.map +1 -1
- package/node_modules/gaxios/build/esm/test/test.getch.js +0 -66
- package/node_modules/gaxios/build/esm/test/test.getch.js.map +1 -1
- package/node_modules/gaxios/build/esm/tsconfig.tsbuildinfo +1 -1
- package/node_modules/gaxios/package.json +4 -4
- package/openclaw.plugin.json +488 -416
- package/package.json +24 -81
- package/dist/actions-wnreW-IQ.js +0 -76
- package/dist/approval-auth-G-OFufNc.js +0 -30
- package/dist/config-api-CsD0IFxF.js +0 -3
- package/dist/doctor-contract-BpuSvJro.js +0 -115
- package/dist/secret-contract-BFYyuE0F.js +0 -88
- /package/node_modules/{agent-base → gaxios/node_modules/agent-base}/LICENSE +0 -0
- /package/node_modules/{agent-base → gaxios/node_modules/agent-base}/README.md +0 -0
- /package/node_modules/{agent-base → gaxios/node_modules/agent-base}/dist/helpers.d.ts +0 -0
- /package/node_modules/{agent-base → gaxios/node_modules/agent-base}/dist/helpers.d.ts.map +0 -0
- /package/node_modules/{agent-base → gaxios/node_modules/agent-base}/dist/helpers.js +0 -0
- /package/node_modules/{agent-base → gaxios/node_modules/agent-base}/dist/helpers.js.map +0 -0
- /package/node_modules/{agent-base → gaxios/node_modules/agent-base}/dist/index.d.ts +0 -0
- /package/node_modules/{agent-base → gaxios/node_modules/agent-base}/dist/index.d.ts.map +0 -0
- /package/node_modules/{agent-base → gaxios/node_modules/agent-base}/dist/index.js +0 -0
- /package/node_modules/{agent-base → gaxios/node_modules/agent-base}/dist/index.js.map +0 -0
- /package/node_modules/{agent-base → gaxios/node_modules/agent-base}/package.json +0 -0
- /package/node_modules/{data-uri-to-buffer → gaxios/node_modules/data-uri-to-buffer}/README.md +0 -0
- /package/node_modules/{data-uri-to-buffer → gaxios/node_modules/data-uri-to-buffer}/dist/index.d.ts +0 -0
- /package/node_modules/{data-uri-to-buffer → gaxios/node_modules/data-uri-to-buffer}/dist/index.js +0 -0
- /package/node_modules/{data-uri-to-buffer → gaxios/node_modules/data-uri-to-buffer}/dist/index.js.map +0 -0
- /package/node_modules/{data-uri-to-buffer → gaxios/node_modules/data-uri-to-buffer}/package.json +0 -0
- /package/node_modules/{data-uri-to-buffer → gaxios/node_modules/data-uri-to-buffer}/src/index.ts +0 -0
- /package/node_modules/{debug → gaxios/node_modules/debug}/LICENSE +0 -0
- /package/node_modules/{debug → gaxios/node_modules/debug}/README.md +0 -0
- /package/node_modules/{debug → gaxios/node_modules/debug}/package.json +0 -0
- /package/node_modules/{debug → gaxios/node_modules/debug}/src/browser.js +0 -0
- /package/node_modules/{debug → gaxios/node_modules/debug}/src/common.js +0 -0
- /package/node_modules/{debug → gaxios/node_modules/debug}/src/index.js +0 -0
- /package/node_modules/{debug → gaxios/node_modules/debug}/src/node.js +0 -0
- /package/node_modules/{extend → gaxios/node_modules/extend}/.editorconfig +0 -0
- /package/node_modules/{extend → gaxios/node_modules/extend}/.eslintrc +0 -0
- /package/node_modules/{extend → gaxios/node_modules/extend}/.jscs.json +0 -0
- /package/node_modules/{extend → gaxios/node_modules/extend}/.travis.yml +0 -0
- /package/node_modules/{extend → gaxios/node_modules/extend}/CHANGELOG.md +0 -0
- /package/node_modules/{extend → gaxios/node_modules/extend}/LICENSE +0 -0
- /package/node_modules/{extend → gaxios/node_modules/extend}/README.md +0 -0
- /package/node_modules/{extend → gaxios/node_modules/extend}/component.json +0 -0
- /package/node_modules/{extend → gaxios/node_modules/extend}/index.js +0 -0
- /package/node_modules/{extend → gaxios/node_modules/extend}/package.json +0 -0
- /package/node_modules/{fetch-blob → gaxios/node_modules/fetch-blob}/LICENSE +0 -0
- /package/node_modules/{fetch-blob → gaxios/node_modules/fetch-blob}/README.md +0 -0
- /package/node_modules/{fetch-blob → gaxios/node_modules/fetch-blob}/file.d.ts +0 -0
- /package/node_modules/{fetch-blob → gaxios/node_modules/fetch-blob}/file.js +0 -0
- /package/node_modules/{fetch-blob → gaxios/node_modules/fetch-blob}/from.d.ts +0 -0
- /package/node_modules/{fetch-blob → gaxios/node_modules/fetch-blob}/from.js +0 -0
- /package/node_modules/{fetch-blob → gaxios/node_modules/fetch-blob}/index.d.ts +0 -0
- /package/node_modules/{fetch-blob → gaxios/node_modules/fetch-blob}/index.js +0 -0
- /package/node_modules/{fetch-blob → gaxios/node_modules/fetch-blob}/package.json +0 -0
- /package/node_modules/{fetch-blob → gaxios/node_modules/fetch-blob}/streams.cjs +0 -0
- /package/node_modules/{formdata-polyfill → gaxios/node_modules/formdata-polyfill}/FormData.js +0 -0
- /package/node_modules/{formdata-polyfill → gaxios/node_modules/formdata-polyfill}/LICENSE +0 -0
- /package/node_modules/{formdata-polyfill → gaxios/node_modules/formdata-polyfill}/README.md +0 -0
- /package/node_modules/{formdata-polyfill → gaxios/node_modules/formdata-polyfill}/esm.min.d.ts +0 -0
- /package/node_modules/{formdata-polyfill → gaxios/node_modules/formdata-polyfill}/esm.min.js +0 -0
- /package/node_modules/{formdata-polyfill → gaxios/node_modules/formdata-polyfill}/formdata-to-blob.js +0 -0
- /package/node_modules/{formdata-polyfill → gaxios/node_modules/formdata-polyfill}/formdata.min.js +0 -0
- /package/node_modules/{formdata-polyfill → gaxios/node_modules/formdata-polyfill}/package.json +0 -0
- /package/node_modules/{https-proxy-agent → gaxios/node_modules/https-proxy-agent}/LICENSE +0 -0
- /package/node_modules/{https-proxy-agent → gaxios/node_modules/https-proxy-agent}/README.md +0 -0
- /package/node_modules/{https-proxy-agent → gaxios/node_modules/https-proxy-agent}/dist/index.d.ts +0 -0
- /package/node_modules/{https-proxy-agent → gaxios/node_modules/https-proxy-agent}/dist/index.d.ts.map +0 -0
- /package/node_modules/{https-proxy-agent → gaxios/node_modules/https-proxy-agent}/dist/index.js +0 -0
- /package/node_modules/{https-proxy-agent → gaxios/node_modules/https-proxy-agent}/dist/index.js.map +0 -0
- /package/node_modules/{https-proxy-agent → gaxios/node_modules/https-proxy-agent}/dist/parse-proxy-response.d.ts +0 -0
- /package/node_modules/{https-proxy-agent → gaxios/node_modules/https-proxy-agent}/dist/parse-proxy-response.d.ts.map +0 -0
- /package/node_modules/{https-proxy-agent → gaxios/node_modules/https-proxy-agent}/dist/parse-proxy-response.js +0 -0
- /package/node_modules/{https-proxy-agent → gaxios/node_modules/https-proxy-agent}/dist/parse-proxy-response.js.map +0 -0
- /package/node_modules/{https-proxy-agent → gaxios/node_modules/https-proxy-agent}/package.json +0 -0
- /package/node_modules/{ms → gaxios/node_modules/ms}/index.js +0 -0
- /package/node_modules/{ms → gaxios/node_modules/ms}/license.md +0 -0
- /package/node_modules/{ms → gaxios/node_modules/ms}/package.json +0 -0
- /package/node_modules/{ms → gaxios/node_modules/ms}/readme.md +0 -0
- /package/node_modules/{node-domexception → gaxios/node_modules/node-domexception}/LICENSE +0 -0
- /package/node_modules/{node-domexception → gaxios/node_modules/node-domexception}/index.js +0 -0
- /package/node_modules/{node-domexception → gaxios/node_modules/node-domexception}/package.json +0 -0
- /package/node_modules/{node-fetch → gaxios/node_modules/node-fetch}/@types/index.d.ts +0 -0
- /package/node_modules/{node-fetch → gaxios/node_modules/node-fetch}/LICENSE.md +0 -0
- /package/node_modules/{node-fetch → gaxios/node_modules/node-fetch}/README.md +0 -0
- /package/node_modules/{node-fetch → gaxios/node_modules/node-fetch}/package.json +0 -0
- /package/node_modules/{node-fetch → gaxios/node_modules/node-fetch}/src/body.js +0 -0
- /package/node_modules/{node-fetch → gaxios/node_modules/node-fetch}/src/errors/abort-error.js +0 -0
- /package/node_modules/{node-fetch → gaxios/node_modules/node-fetch}/src/errors/base.js +0 -0
- /package/node_modules/{node-fetch → gaxios/node_modules/node-fetch}/src/errors/fetch-error.js +0 -0
- /package/node_modules/{node-fetch → gaxios/node_modules/node-fetch}/src/headers.js +0 -0
- /package/node_modules/{node-fetch → gaxios/node_modules/node-fetch}/src/index.js +0 -0
- /package/node_modules/{node-fetch → gaxios/node_modules/node-fetch}/src/request.js +0 -0
- /package/node_modules/{node-fetch → gaxios/node_modules/node-fetch}/src/response.js +0 -0
- /package/node_modules/{node-fetch → gaxios/node_modules/node-fetch}/src/utils/get-search.js +0 -0
- /package/node_modules/{node-fetch → gaxios/node_modules/node-fetch}/src/utils/is-redirect.js +0 -0
- /package/node_modules/{node-fetch → gaxios/node_modules/node-fetch}/src/utils/is.js +0 -0
- /package/node_modules/{node-fetch → gaxios/node_modules/node-fetch}/src/utils/multipart-parser.js +0 -0
- /package/node_modules/{node-fetch → gaxios/node_modules/node-fetch}/src/utils/referrer.js +0 -0
- /package/node_modules/{web-streams-polyfill → gaxios/node_modules/web-streams-polyfill}/LICENSE +0 -0
- /package/node_modules/{web-streams-polyfill → gaxios/node_modules/web-streams-polyfill}/README.md +0 -0
- /package/node_modules/{web-streams-polyfill → gaxios/node_modules/web-streams-polyfill}/dist/polyfill.es2018.js +0 -0
- /package/node_modules/{web-streams-polyfill → gaxios/node_modules/web-streams-polyfill}/dist/polyfill.es2018.js.map +0 -0
- /package/node_modules/{web-streams-polyfill → gaxios/node_modules/web-streams-polyfill}/dist/polyfill.es2018.min.js +0 -0
- /package/node_modules/{web-streams-polyfill → gaxios/node_modules/web-streams-polyfill}/dist/polyfill.es2018.min.js.map +0 -0
- /package/node_modules/{web-streams-polyfill → gaxios/node_modules/web-streams-polyfill}/dist/polyfill.es2018.mjs +0 -0
- /package/node_modules/{web-streams-polyfill → gaxios/node_modules/web-streams-polyfill}/dist/polyfill.es2018.mjs.map +0 -0
- /package/node_modules/{web-streams-polyfill → gaxios/node_modules/web-streams-polyfill}/dist/polyfill.es6.js +0 -0
- /package/node_modules/{web-streams-polyfill → gaxios/node_modules/web-streams-polyfill}/dist/polyfill.es6.js.map +0 -0
- /package/node_modules/{web-streams-polyfill → gaxios/node_modules/web-streams-polyfill}/dist/polyfill.es6.min.js +0 -0
- /package/node_modules/{web-streams-polyfill → gaxios/node_modules/web-streams-polyfill}/dist/polyfill.es6.min.js.map +0 -0
- /package/node_modules/{web-streams-polyfill → gaxios/node_modules/web-streams-polyfill}/dist/polyfill.es6.mjs +0 -0
- /package/node_modules/{web-streams-polyfill → gaxios/node_modules/web-streams-polyfill}/dist/polyfill.es6.mjs.map +0 -0
- /package/node_modules/{web-streams-polyfill → gaxios/node_modules/web-streams-polyfill}/dist/polyfill.js +0 -0
- /package/node_modules/{web-streams-polyfill → gaxios/node_modules/web-streams-polyfill}/dist/polyfill.js.map +0 -0
- /package/node_modules/{web-streams-polyfill → gaxios/node_modules/web-streams-polyfill}/dist/polyfill.min.js +0 -0
- /package/node_modules/{web-streams-polyfill → gaxios/node_modules/web-streams-polyfill}/dist/polyfill.min.js.map +0 -0
- /package/node_modules/{web-streams-polyfill → gaxios/node_modules/web-streams-polyfill}/dist/polyfill.mjs +0 -0
- /package/node_modules/{web-streams-polyfill → gaxios/node_modules/web-streams-polyfill}/dist/polyfill.mjs.map +0 -0
- /package/node_modules/{web-streams-polyfill → gaxios/node_modules/web-streams-polyfill}/dist/ponyfill.es2018.js +0 -0
- /package/node_modules/{web-streams-polyfill → gaxios/node_modules/web-streams-polyfill}/dist/ponyfill.es2018.js.map +0 -0
- /package/node_modules/{web-streams-polyfill → gaxios/node_modules/web-streams-polyfill}/dist/ponyfill.es2018.mjs +0 -0
- /package/node_modules/{web-streams-polyfill → gaxios/node_modules/web-streams-polyfill}/dist/ponyfill.es2018.mjs.map +0 -0
- /package/node_modules/{web-streams-polyfill → gaxios/node_modules/web-streams-polyfill}/dist/ponyfill.es6.js +0 -0
- /package/node_modules/{web-streams-polyfill → gaxios/node_modules/web-streams-polyfill}/dist/ponyfill.es6.js.map +0 -0
- /package/node_modules/{web-streams-polyfill → gaxios/node_modules/web-streams-polyfill}/dist/ponyfill.es6.mjs +0 -0
- /package/node_modules/{web-streams-polyfill → gaxios/node_modules/web-streams-polyfill}/dist/ponyfill.es6.mjs.map +0 -0
- /package/node_modules/{web-streams-polyfill → gaxios/node_modules/web-streams-polyfill}/dist/ponyfill.js +0 -0
- /package/node_modules/{web-streams-polyfill → gaxios/node_modules/web-streams-polyfill}/dist/ponyfill.js.map +0 -0
- /package/node_modules/{web-streams-polyfill → gaxios/node_modules/web-streams-polyfill}/dist/ponyfill.mjs +0 -0
- /package/node_modules/{web-streams-polyfill → gaxios/node_modules/web-streams-polyfill}/dist/ponyfill.mjs.map +0 -0
- /package/node_modules/{web-streams-polyfill → gaxios/node_modules/web-streams-polyfill}/dist/types/polyfill.d.ts +0 -0
- /package/node_modules/{web-streams-polyfill → gaxios/node_modules/web-streams-polyfill}/dist/types/ponyfill.d.ts +0 -0
- /package/node_modules/{web-streams-polyfill → gaxios/node_modules/web-streams-polyfill}/dist/types/ts3.6/polyfill.d.ts +0 -0
- /package/node_modules/{web-streams-polyfill → gaxios/node_modules/web-streams-polyfill}/dist/types/ts3.6/ponyfill.d.ts +0 -0
- /package/node_modules/{web-streams-polyfill → gaxios/node_modules/web-streams-polyfill}/dist/types/tsdoc-metadata.json +0 -0
- /package/node_modules/{web-streams-polyfill → gaxios/node_modules/web-streams-polyfill}/es2018/package.json +0 -0
- /package/node_modules/{web-streams-polyfill → gaxios/node_modules/web-streams-polyfill}/es6/package.json +0 -0
- /package/node_modules/{web-streams-polyfill → gaxios/node_modules/web-streams-polyfill}/package.json +0 -0
- /package/node_modules/{web-streams-polyfill → gaxios/node_modules/web-streams-polyfill}/ponyfill/es2018/package.json +0 -0
- /package/node_modules/{web-streams-polyfill → gaxios/node_modules/web-streams-polyfill}/ponyfill/es6/package.json +0 -0
- /package/node_modules/{web-streams-polyfill → gaxios/node_modules/web-streams-polyfill}/ponyfill/package.json +0 -0
- /package/node_modules/{base64-js → google-auth-library/node_modules/base64-js}/LICENSE +0 -0
- /package/node_modules/{base64-js → google-auth-library/node_modules/base64-js}/README.md +0 -0
- /package/node_modules/{base64-js → google-auth-library/node_modules/base64-js}/base64js.min.js +0 -0
- /package/node_modules/{base64-js → google-auth-library/node_modules/base64-js}/index.d.ts +0 -0
- /package/node_modules/{base64-js → google-auth-library/node_modules/base64-js}/index.js +0 -0
- /package/node_modules/{base64-js → google-auth-library/node_modules/base64-js}/package.json +0 -0
- /package/node_modules/{bignumber.js → google-auth-library/node_modules/bignumber.js}/CHANGELOG.md +0 -0
- /package/node_modules/{bignumber.js → google-auth-library/node_modules/bignumber.js}/LICENCE.md +0 -0
- /package/node_modules/{bignumber.js → google-auth-library/node_modules/bignumber.js}/README.md +0 -0
- /package/node_modules/{bignumber.js → google-auth-library/node_modules/bignumber.js}/bignumber.d.mts +0 -0
- /package/node_modules/{bignumber.js → google-auth-library/node_modules/bignumber.js}/bignumber.d.ts +0 -0
- /package/node_modules/{bignumber.js → google-auth-library/node_modules/bignumber.js}/bignumber.js +0 -0
- /package/node_modules/{bignumber.js → google-auth-library/node_modules/bignumber.js}/bignumber.mjs +0 -0
- /package/node_modules/{bignumber.js → google-auth-library/node_modules/bignumber.js}/doc/API.html +0 -0
- /package/node_modules/{bignumber.js → google-auth-library/node_modules/bignumber.js}/package.json +0 -0
- /package/node_modules/{bignumber.js → google-auth-library/node_modules/bignumber.js}/types.d.ts +0 -0
- /package/node_modules/{buffer-equal-constant-time → google-auth-library/node_modules/buffer-equal-constant-time}/.npmignore +0 -0
- /package/node_modules/{buffer-equal-constant-time → google-auth-library/node_modules/buffer-equal-constant-time}/.travis.yml +0 -0
- /package/node_modules/{buffer-equal-constant-time → google-auth-library/node_modules/buffer-equal-constant-time}/LICENSE.txt +0 -0
- /package/node_modules/{buffer-equal-constant-time → google-auth-library/node_modules/buffer-equal-constant-time}/README.md +0 -0
- /package/node_modules/{buffer-equal-constant-time → google-auth-library/node_modules/buffer-equal-constant-time}/index.js +0 -0
- /package/node_modules/{buffer-equal-constant-time → google-auth-library/node_modules/buffer-equal-constant-time}/package.json +0 -0
- /package/node_modules/{buffer-equal-constant-time → google-auth-library/node_modules/buffer-equal-constant-time}/test.js +0 -0
- /package/node_modules/{ecdsa-sig-formatter → google-auth-library/node_modules/ecdsa-sig-formatter}/CODEOWNERS +0 -0
- /package/node_modules/{ecdsa-sig-formatter → google-auth-library/node_modules/ecdsa-sig-formatter}/LICENSE +0 -0
- /package/node_modules/{ecdsa-sig-formatter → google-auth-library/node_modules/ecdsa-sig-formatter}/README.md +0 -0
- /package/node_modules/{ecdsa-sig-formatter → google-auth-library/node_modules/ecdsa-sig-formatter}/package.json +0 -0
- /package/node_modules/{ecdsa-sig-formatter → google-auth-library/node_modules/ecdsa-sig-formatter}/src/ecdsa-sig-formatter.d.ts +0 -0
- /package/node_modules/{ecdsa-sig-formatter → google-auth-library/node_modules/ecdsa-sig-formatter}/src/ecdsa-sig-formatter.js +0 -0
- /package/node_modules/{ecdsa-sig-formatter → google-auth-library/node_modules/ecdsa-sig-formatter}/src/param-bytes-for-alg.js +0 -0
- /package/node_modules/{gcp-metadata → google-auth-library/node_modules/gcp-metadata}/LICENSE +0 -0
- /package/node_modules/{gcp-metadata → google-auth-library/node_modules/gcp-metadata}/README.md +0 -0
- /package/node_modules/{gcp-metadata → google-auth-library/node_modules/gcp-metadata}/build/src/gcp-residency.d.ts +0 -0
- /package/node_modules/{gcp-metadata → google-auth-library/node_modules/gcp-metadata}/build/src/gcp-residency.js +0 -0
- /package/node_modules/{gcp-metadata → google-auth-library/node_modules/gcp-metadata}/build/src/gcp-residency.js.map +0 -0
- /package/node_modules/{gcp-metadata → google-auth-library/node_modules/gcp-metadata}/build/src/index.d.ts +0 -0
- /package/node_modules/{gcp-metadata → google-auth-library/node_modules/gcp-metadata}/build/src/index.js +0 -0
- /package/node_modules/{gcp-metadata → google-auth-library/node_modules/gcp-metadata}/build/src/index.js.map +0 -0
- /package/node_modules/{gcp-metadata → google-auth-library/node_modules/gcp-metadata}/package.json +0 -0
- /package/node_modules/{google-logging-utils → google-auth-library/node_modules/google-logging-utils}/LICENSE +0 -0
- /package/node_modules/{google-logging-utils → google-auth-library/node_modules/google-logging-utils}/README.md +0 -0
- /package/node_modules/{google-logging-utils → google-auth-library/node_modules/google-logging-utils}/build/src/colours.d.ts +0 -0
- /package/node_modules/{google-logging-utils → google-auth-library/node_modules/google-logging-utils}/build/src/colours.js +0 -0
- /package/node_modules/{google-logging-utils → google-auth-library/node_modules/google-logging-utils}/build/src/colours.js.map +0 -0
- /package/node_modules/{google-logging-utils → google-auth-library/node_modules/google-logging-utils}/build/src/index.d.ts +0 -0
- /package/node_modules/{google-logging-utils → google-auth-library/node_modules/google-logging-utils}/build/src/index.js +0 -0
- /package/node_modules/{google-logging-utils → google-auth-library/node_modules/google-logging-utils}/build/src/index.js.map +0 -0
- /package/node_modules/{google-logging-utils → google-auth-library/node_modules/google-logging-utils}/build/src/logging-utils.d.ts +0 -0
- /package/node_modules/{google-logging-utils → google-auth-library/node_modules/google-logging-utils}/build/src/logging-utils.js +0 -0
- /package/node_modules/{google-logging-utils → google-auth-library/node_modules/google-logging-utils}/build/src/logging-utils.js.map +0 -0
- /package/node_modules/{google-logging-utils → google-auth-library/node_modules/google-logging-utils}/build/src/temporal.d.ts +0 -0
- /package/node_modules/{google-logging-utils → google-auth-library/node_modules/google-logging-utils}/build/src/temporal.js +0 -0
- /package/node_modules/{google-logging-utils → google-auth-library/node_modules/google-logging-utils}/build/src/temporal.js.map +0 -0
- /package/node_modules/{google-logging-utils → google-auth-library/node_modules/google-logging-utils}/package.json +0 -0
- /package/node_modules/{json-bigint → google-auth-library/node_modules/json-bigint}/LICENSE +0 -0
- /package/node_modules/{json-bigint → google-auth-library/node_modules/json-bigint}/README.md +0 -0
- /package/node_modules/{json-bigint → google-auth-library/node_modules/json-bigint}/index.js +0 -0
- /package/node_modules/{json-bigint → google-auth-library/node_modules/json-bigint}/lib/parse.js +0 -0
- /package/node_modules/{json-bigint → google-auth-library/node_modules/json-bigint}/lib/stringify.js +0 -0
- /package/node_modules/{json-bigint → google-auth-library/node_modules/json-bigint}/package.json +0 -0
- /package/node_modules/{jwa → google-auth-library/node_modules/jwa}/LICENSE +0 -0
- /package/node_modules/{jwa → google-auth-library/node_modules/jwa}/README.md +0 -0
- /package/node_modules/{jwa → google-auth-library/node_modules/jwa}/index.js +0 -0
- /package/node_modules/{jwa → google-auth-library/node_modules/jwa}/opslevel.yml +0 -0
- /package/node_modules/{jwa → google-auth-library/node_modules/jwa}/package.json +0 -0
- /package/node_modules/{jws → google-auth-library/node_modules/jws}/CHANGELOG.md +0 -0
- /package/node_modules/{jws → google-auth-library/node_modules/jws}/LICENSE +0 -0
- /package/node_modules/{jws → google-auth-library/node_modules/jws}/index.js +0 -0
- /package/node_modules/{jws → google-auth-library/node_modules/jws}/lib/data-stream.js +0 -0
- /package/node_modules/{jws → google-auth-library/node_modules/jws}/lib/sign-stream.js +0 -0
- /package/node_modules/{jws → google-auth-library/node_modules/jws}/lib/tostring.js +0 -0
- /package/node_modules/{jws → google-auth-library/node_modules/jws}/lib/verify-stream.js +0 -0
- /package/node_modules/{jws → google-auth-library/node_modules/jws}/opslevel.yml +0 -0
- /package/node_modules/{jws → google-auth-library/node_modules/jws}/package.json +0 -0
- /package/node_modules/{jws → google-auth-library/node_modules/jws}/readme.md +0 -0
- /package/node_modules/{safe-buffer → google-auth-library/node_modules/safe-buffer}/LICENSE +0 -0
- /package/node_modules/{safe-buffer → google-auth-library/node_modules/safe-buffer}/README.md +0 -0
- /package/node_modules/{safe-buffer → google-auth-library/node_modules/safe-buffer}/index.d.ts +0 -0
- /package/node_modules/{safe-buffer → google-auth-library/node_modules/safe-buffer}/index.js +0 -0
- /package/node_modules/{safe-buffer → google-auth-library/node_modules/safe-buffer}/package.json +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/googlechat",
|
|
3
|
-
"version": "2026.7.
|
|
3
|
+
"version": "2026.7.33",
|
|
4
4
|
"description": "OpenClaw Google Chat channel plugin for spaces and direct messages.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -8,11 +8,12 @@
|
|
|
8
8
|
},
|
|
9
9
|
"type": "module",
|
|
10
10
|
"dependencies": {
|
|
11
|
+
"gaxios": "7.1.5",
|
|
11
12
|
"google-auth-library": "10.9.0",
|
|
12
13
|
"zod": "4.4.3"
|
|
13
14
|
},
|
|
14
15
|
"peerDependencies": {
|
|
15
|
-
"openclaw": ">=2026.7.
|
|
16
|
+
"openclaw": ">=2026.7.33"
|
|
16
17
|
},
|
|
17
18
|
"peerDependenciesMeta": {
|
|
18
19
|
"openclaw": {
|
|
@@ -26,17 +27,6 @@
|
|
|
26
27
|
"setupEntry": "./dist/setup-entry.js",
|
|
27
28
|
"channel": {
|
|
28
29
|
"id": "googlechat",
|
|
29
|
-
"configuredState": {
|
|
30
|
-
"env": {
|
|
31
|
-
"anyOf": [
|
|
32
|
-
"GOOGLE_CHAT_SERVICE_ACCOUNT",
|
|
33
|
-
"GOOGLE_CHAT_SERVICE_ACCOUNT_FILE"
|
|
34
|
-
]
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
"approvalFlags": [
|
|
38
|
-
"native"
|
|
39
|
-
],
|
|
40
30
|
"label": "Google Chat",
|
|
41
31
|
"selectionLabel": "Google Chat (Chat API)",
|
|
42
32
|
"detailLabel": "Google Chat",
|
|
@@ -56,72 +46,24 @@
|
|
|
56
46
|
"groupAllowFromFallbackToAllowFrom": false,
|
|
57
47
|
"warnOnEmptyGroupSenderAllowlist": false
|
|
58
48
|
},
|
|
59
|
-
"
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
}
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
"key": "audienceType",
|
|
81
|
-
"kind": "choice",
|
|
82
|
-
"choices": [
|
|
83
|
-
"app-url",
|
|
84
|
-
"project-number"
|
|
85
|
-
],
|
|
86
|
-
"cli": {
|
|
87
|
-
"flags": "--audience-type <type>",
|
|
88
|
-
"description": "Google Chat audience type"
|
|
89
|
-
}
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
"key": "audience",
|
|
93
|
-
"kind": "string",
|
|
94
|
-
"cli": {
|
|
95
|
-
"flags": "--audience <value>",
|
|
96
|
-
"description": "Google Chat audience value"
|
|
97
|
-
}
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
"key": "webhookPath",
|
|
101
|
-
"kind": "string",
|
|
102
|
-
"cli": {
|
|
103
|
-
"flags": "--webhook-path <path>",
|
|
104
|
-
"description": "Google Chat webhook path"
|
|
105
|
-
}
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
"key": "webhookUrl",
|
|
109
|
-
"kind": "string",
|
|
110
|
-
"cli": {
|
|
111
|
-
"flags": "--webhook-url <url>",
|
|
112
|
-
"description": "Google Chat webhook URL"
|
|
113
|
-
}
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
"key": "useEnv",
|
|
117
|
-
"kind": "boolean",
|
|
118
|
-
"cli": {
|
|
119
|
-
"flags": "--use-env",
|
|
120
|
-
"description": "Use Google Chat environment credentials"
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
]
|
|
124
|
-
}
|
|
49
|
+
"cliAddOptions": [
|
|
50
|
+
{
|
|
51
|
+
"flags": "--webhook-path <path>",
|
|
52
|
+
"description": "Google Chat webhook path"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"flags": "--webhook-url <url>",
|
|
56
|
+
"description": "Google Chat webhook URL"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"flags": "--audience-type <type>",
|
|
60
|
+
"description": "Google Chat audience type (app-url|project-number)"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"flags": "--audience <value>",
|
|
64
|
+
"description": "Google Chat audience value (app URL or project number)"
|
|
65
|
+
}
|
|
66
|
+
]
|
|
125
67
|
},
|
|
126
68
|
"install": {
|
|
127
69
|
"npmSpec": "@openclaw/googlechat",
|
|
@@ -129,10 +71,10 @@
|
|
|
129
71
|
"minHostVersion": ">=2026.4.10"
|
|
130
72
|
},
|
|
131
73
|
"compat": {
|
|
132
|
-
"pluginApi": ">=2026.7.
|
|
74
|
+
"pluginApi": ">=2026.7.33"
|
|
133
75
|
},
|
|
134
76
|
"build": {
|
|
135
|
-
"openclawVersion": "2026.7.
|
|
77
|
+
"openclawVersion": "2026.7.33"
|
|
136
78
|
},
|
|
137
79
|
"release": {
|
|
138
80
|
"publishToClawHub": true,
|
|
@@ -149,6 +91,7 @@
|
|
|
149
91
|
"README.md"
|
|
150
92
|
],
|
|
151
93
|
"bundledDependencies": [
|
|
94
|
+
"gaxios",
|
|
152
95
|
"google-auth-library",
|
|
153
96
|
"zod"
|
|
154
97
|
]
|
package/dist/actions-wnreW-IQ.js
DELETED
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import { l as resolveGoogleChatAccount, o as listEnabledGoogleChatAccounts } from "./channel-base-CC85hRUC.js";
|
|
2
|
-
import { m as resolveGoogleChatOutboundSpace, v as sendGoogleChatMessage } from "./channel.adapters-DLatFGZz.js";
|
|
3
|
-
import { extractToolSend } from "openclaw/plugin-sdk/tool-send";
|
|
4
|
-
import { jsonResult, readStringArrayParam, readStringParam } from "openclaw/plugin-sdk/channel-actions";
|
|
5
|
-
//#region extensions/googlechat/src/actions.ts
|
|
6
|
-
const providerId = "googlechat";
|
|
7
|
-
function listEnabledAccounts(cfg) {
|
|
8
|
-
return listEnabledGoogleChatAccounts(cfg).filter((account) => account.enabled && account.credentialSource !== "none" && account.tokenStatus !== "configured_unavailable");
|
|
9
|
-
}
|
|
10
|
-
const OUTBOUND_MEDIA_KEYS = [
|
|
11
|
-
"media",
|
|
12
|
-
"mediaUrl",
|
|
13
|
-
"path",
|
|
14
|
-
"filePath",
|
|
15
|
-
"fileUrl"
|
|
16
|
-
];
|
|
17
|
-
const STRUCTURED_ATTACHMENT_MEDIA_KEYS = [...OUTBOUND_MEDIA_KEYS, "url"];
|
|
18
|
-
function hasGoogleChatOutboundAttachment(params) {
|
|
19
|
-
if (OUTBOUND_MEDIA_KEYS.some((key) => readStringParam(params, key) !== void 0)) return true;
|
|
20
|
-
if (readStringArrayParam(params, "mediaUrls") !== void 0) return true;
|
|
21
|
-
if (!Array.isArray(params.attachments)) return false;
|
|
22
|
-
return params.attachments.some((attachment) => {
|
|
23
|
-
if (!attachment || typeof attachment !== "object" || Array.isArray(attachment)) return false;
|
|
24
|
-
const record = attachment;
|
|
25
|
-
return STRUCTURED_ATTACHMENT_MEDIA_KEYS.some((key) => readStringParam(record, key) !== void 0);
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
|
-
const googlechatMessageActions = {
|
|
29
|
-
describeMessageTool: ({ cfg, accountId }) => {
|
|
30
|
-
if ((accountId ? [resolveGoogleChatAccount({
|
|
31
|
-
cfg,
|
|
32
|
-
accountId
|
|
33
|
-
})].filter((account) => account.enabled && account.credentialSource !== "none" && account.tokenStatus !== "configured_unavailable") : listEnabledAccounts(cfg)).length === 0) return null;
|
|
34
|
-
return { actions: ["send"] };
|
|
35
|
-
},
|
|
36
|
-
supportsAction: ({ action }) => action === "send",
|
|
37
|
-
extractToolSend: ({ args }) => {
|
|
38
|
-
return extractToolSend(args, "sendMessage");
|
|
39
|
-
},
|
|
40
|
-
handleAction: async ({ action, params, cfg, accountId }) => {
|
|
41
|
-
if (action === "upload-file") throw new Error("Google Chat outbound attachments require user OAuth and are not supported by this service-account channel.");
|
|
42
|
-
if (action === "send") {
|
|
43
|
-
if (hasGoogleChatOutboundAttachment(params)) throw new Error("Google Chat outbound attachments require user OAuth and are not supported by this service-account channel.");
|
|
44
|
-
}
|
|
45
|
-
const account = resolveGoogleChatAccount({
|
|
46
|
-
cfg,
|
|
47
|
-
accountId
|
|
48
|
-
});
|
|
49
|
-
if (account.credentialSource === "none" || account.tokenStatus === "configured_unavailable") throw new Error("Google Chat credentials are missing.");
|
|
50
|
-
if (action === "send") {
|
|
51
|
-
const to = readStringParam(params, "to", { required: true });
|
|
52
|
-
const content = readStringParam(params, "message", {
|
|
53
|
-
required: true,
|
|
54
|
-
allowEmpty: true
|
|
55
|
-
});
|
|
56
|
-
const threadId = readStringParam(params, "threadId") ?? readStringParam(params, "replyTo");
|
|
57
|
-
const space = await resolveGoogleChatOutboundSpace({
|
|
58
|
-
account,
|
|
59
|
-
target: to
|
|
60
|
-
});
|
|
61
|
-
return jsonResult({
|
|
62
|
-
ok: true,
|
|
63
|
-
to: space,
|
|
64
|
-
...await sendGoogleChatMessage({
|
|
65
|
-
account,
|
|
66
|
-
space,
|
|
67
|
-
text: content,
|
|
68
|
-
thread: threadId ?? void 0
|
|
69
|
-
})
|
|
70
|
-
});
|
|
71
|
-
}
|
|
72
|
-
throw new Error(`Action ${action} is not supported for provider ${providerId}.`);
|
|
73
|
-
}
|
|
74
|
-
};
|
|
75
|
-
//#endregion
|
|
76
|
-
export { googlechatMessageActions };
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { l as resolveGoogleChatAccount } from "./channel-base-CC85hRUC.js";
|
|
2
|
-
import { d as isGoogleChatUserTarget, f as normalizeGoogleChatTarget } from "./channel.adapters-DLatFGZz.js";
|
|
3
|
-
import { normalizeLowercaseStringOrEmpty } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
4
|
-
import { createChannelApprovalAuth } from "openclaw/plugin-sdk/approval-auth-runtime";
|
|
5
|
-
//#region extensions/googlechat/src/approval-auth.ts
|
|
6
|
-
function normalizeGoogleChatApproverId(value) {
|
|
7
|
-
const normalized = normalizeGoogleChatTarget(String(value));
|
|
8
|
-
if (!normalized || !isGoogleChatUserTarget(normalized)) return;
|
|
9
|
-
const suffix = normalizeLowercaseStringOrEmpty(normalized.slice(6));
|
|
10
|
-
if (!suffix || suffix.includes("@")) return;
|
|
11
|
-
return `users/${suffix}`;
|
|
12
|
-
}
|
|
13
|
-
const googleChatApproval = createChannelApprovalAuth({
|
|
14
|
-
channelLabel: "Google Chat",
|
|
15
|
-
resolveInputs: ({ cfg, accountId }) => {
|
|
16
|
-
const account = resolveGoogleChatAccount({
|
|
17
|
-
cfg,
|
|
18
|
-
accountId
|
|
19
|
-
}).config;
|
|
20
|
-
return {
|
|
21
|
-
allowFrom: account.allowFrom,
|
|
22
|
-
defaultTo: account.defaultTo
|
|
23
|
-
};
|
|
24
|
-
},
|
|
25
|
-
normalizeApprover: normalizeGoogleChatApproverId
|
|
26
|
-
});
|
|
27
|
-
const getGoogleChatApprovalApprovers = googleChatApproval.resolveApprovers;
|
|
28
|
-
const googleChatApprovalAuth = googleChatApproval.approvalAuth;
|
|
29
|
-
//#endregion
|
|
30
|
-
export { googleChatApprovalAuth as n, normalizeGoogleChatApproverId as r, getGoogleChatApprovalApprovers as t };
|
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
import { asObjectRecord, defineChannelAliasMigration, defineKeyMoveMigration, hasLegacyAccountStreamingAliases, normalizeChannelConfigEntries } from "openclaw/plugin-sdk/runtime-doctor";
|
|
2
|
-
//#region extensions/googlechat/src/doctor-contract.ts
|
|
3
|
-
const streamingAliasMigration = defineChannelAliasMigration({
|
|
4
|
-
channelId: "googlechat",
|
|
5
|
-
streaming: {
|
|
6
|
-
defaultMode: "partial",
|
|
7
|
-
deliveryOnly: true
|
|
8
|
-
},
|
|
9
|
-
accountStreamingInheritsDefaultAccount: true,
|
|
10
|
-
dm: {
|
|
11
|
-
root: true,
|
|
12
|
-
accounts: true
|
|
13
|
-
}
|
|
14
|
-
});
|
|
15
|
-
function hasLegacyGoogleChatStreamMode(value) {
|
|
16
|
-
return asObjectRecord(value)?.streamMode !== void 0;
|
|
17
|
-
}
|
|
18
|
-
function hasRetiredReactions(value) {
|
|
19
|
-
return Object.hasOwn(asObjectRecord(asObjectRecord(value)?.actions) ?? {}, "reactions");
|
|
20
|
-
}
|
|
21
|
-
const groupAllowMigration = defineKeyMoveMigration({
|
|
22
|
-
scope: ["groups", "*"],
|
|
23
|
-
from: ["allow"],
|
|
24
|
-
to: ["enabled"]
|
|
25
|
-
});
|
|
26
|
-
function normalizeGoogleChatEntry(params) {
|
|
27
|
-
let updated = params.entry;
|
|
28
|
-
let changed = false;
|
|
29
|
-
if (updated.streamMode !== void 0) {
|
|
30
|
-
updated = { ...updated };
|
|
31
|
-
delete updated.streamMode;
|
|
32
|
-
params.changes.push(`Removed ${params.pathPrefix}.streamMode (legacy key no longer used).`);
|
|
33
|
-
changed = true;
|
|
34
|
-
}
|
|
35
|
-
if (hasRetiredReactions(updated)) {
|
|
36
|
-
const actions = { ...asObjectRecord(updated.actions) };
|
|
37
|
-
delete actions.reactions;
|
|
38
|
-
updated = { ...updated };
|
|
39
|
-
if (Object.keys(actions).length > 0) updated.actions = actions;
|
|
40
|
-
else delete updated.actions;
|
|
41
|
-
params.changes.push(`Removed ${params.pathPrefix}.actions.reactions (Google Chat does not support reactions).`);
|
|
42
|
-
changed = true;
|
|
43
|
-
}
|
|
44
|
-
const groups = groupAllowMigration.normalize({
|
|
45
|
-
...params,
|
|
46
|
-
entry: updated
|
|
47
|
-
});
|
|
48
|
-
updated = groups.entry;
|
|
49
|
-
changed = changed || groups.changed;
|
|
50
|
-
return {
|
|
51
|
-
entry: updated,
|
|
52
|
-
changed
|
|
53
|
-
};
|
|
54
|
-
}
|
|
55
|
-
const legacyConfigRules = [
|
|
56
|
-
{
|
|
57
|
-
path: ["channels", "googlechat"],
|
|
58
|
-
message: "channels.googlechat.actions.reactions is retired and ignored. Run \"openclaw doctor --fix\".",
|
|
59
|
-
match: hasRetiredReactions
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
path: [
|
|
63
|
-
"channels",
|
|
64
|
-
"googlechat",
|
|
65
|
-
"accounts"
|
|
66
|
-
],
|
|
67
|
-
message: "channels.googlechat.accounts.<id>.actions.reactions is retired and ignored. Run \"openclaw doctor --fix\".",
|
|
68
|
-
match: (value) => hasLegacyAccountStreamingAliases(value, hasRetiredReactions)
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
path: ["channels", "googlechat"],
|
|
72
|
-
message: "channels.googlechat.streamMode is legacy and no longer used; it is removed on load.",
|
|
73
|
-
match: hasLegacyGoogleChatStreamMode
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
path: [
|
|
77
|
-
"channels",
|
|
78
|
-
"googlechat",
|
|
79
|
-
"accounts"
|
|
80
|
-
],
|
|
81
|
-
message: "channels.googlechat.accounts.<id>.streamMode is legacy and no longer used; it is removed on load.",
|
|
82
|
-
match: (value) => hasLegacyAccountStreamingAliases(value, hasLegacyGoogleChatStreamMode)
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
path: ["channels", "googlechat"],
|
|
86
|
-
message: "channels.googlechat.groups.<id>.allow is legacy; use channels.googlechat.groups.<id>.enabled instead. Run \"openclaw doctor --fix\".",
|
|
87
|
-
match: groupAllowMigration.hasLegacy
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
path: [
|
|
91
|
-
"channels",
|
|
92
|
-
"googlechat",
|
|
93
|
-
"accounts"
|
|
94
|
-
],
|
|
95
|
-
message: "channels.googlechat.accounts.<id>.groups.<id>.allow is legacy; use channels.googlechat.accounts.<id>.groups.<id>.enabled instead. Run \"openclaw doctor --fix\".",
|
|
96
|
-
match: (value) => hasLegacyAccountStreamingAliases(value, groupAllowMigration.hasLegacy)
|
|
97
|
-
},
|
|
98
|
-
...streamingAliasMigration.legacyConfigRules
|
|
99
|
-
];
|
|
100
|
-
function normalizeRetiredGoogleChatKeys(cfg) {
|
|
101
|
-
return normalizeChannelConfigEntries({
|
|
102
|
-
cfg,
|
|
103
|
-
channelId: "googlechat",
|
|
104
|
-
normalizeEntry: normalizeGoogleChatEntry
|
|
105
|
-
});
|
|
106
|
-
}
|
|
107
|
-
function normalizeCompatibilityConfig({ cfg }) {
|
|
108
|
-
const retired = normalizeRetiredGoogleChatKeys(cfg);
|
|
109
|
-
return streamingAliasMigration.normalizeChannelConfig({
|
|
110
|
-
cfg: retired.config,
|
|
111
|
-
changes: retired.changes
|
|
112
|
-
});
|
|
113
|
-
}
|
|
114
|
-
//#endregion
|
|
115
|
-
export { normalizeCompatibilityConfig as n, legacyConfigRules as t };
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import { normalizeAccountId } from "openclaw/plugin-sdk/account-id";
|
|
2
|
-
import { createChannelSecretTargetRegistryEntries, getChannelSurface, hasOwnProperty, pushAssignment, pushInactiveSurfaceWarning, resolveChannelAccountSurface } from "openclaw/plugin-sdk/channel-secret-basic-runtime";
|
|
3
|
-
import { coerceSecretRef } from "openclaw/plugin-sdk/secret-ref-runtime";
|
|
4
|
-
//#region extensions/googlechat/src/secret-contract.ts
|
|
5
|
-
function accountSecretOwner(accountId) {
|
|
6
|
-
return {
|
|
7
|
-
ownerKind: "account",
|
|
8
|
-
ownerId: `googlechat:${normalizeAccountId(accountId)}`,
|
|
9
|
-
requiredForGateway: false,
|
|
10
|
-
disposition: "isolate"
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
const secretTargetRegistryEntries = createChannelSecretTargetRegistryEntries({
|
|
14
|
-
channelKey: "googlechat",
|
|
15
|
-
account: [{
|
|
16
|
-
path: "serviceAccount",
|
|
17
|
-
targetType: "channels.googlechat.serviceAccount",
|
|
18
|
-
targetTypeAliases: ["channels.googlechat.accounts.*.serviceAccount"],
|
|
19
|
-
secretShape: "secret_input",
|
|
20
|
-
expectedResolvedValue: "string-or-object",
|
|
21
|
-
accountIdPathSegmentIndex: 3
|
|
22
|
-
}],
|
|
23
|
-
channel: [{
|
|
24
|
-
path: "serviceAccount",
|
|
25
|
-
secretShape: "secret_input",
|
|
26
|
-
expectedResolvedValue: "string-or-object"
|
|
27
|
-
}]
|
|
28
|
-
});
|
|
29
|
-
function resolveSecretInputRef(params) {
|
|
30
|
-
return coerceSecretRef(params.value, params.defaults);
|
|
31
|
-
}
|
|
32
|
-
function collectGoogleChatAccountAssignment(params) {
|
|
33
|
-
const ref = resolveSecretInputRef({
|
|
34
|
-
value: params.target.serviceAccount,
|
|
35
|
-
defaults: params.defaults
|
|
36
|
-
});
|
|
37
|
-
if (!ref) return;
|
|
38
|
-
if (params.ownerAccountIds.length === 0) {
|
|
39
|
-
pushInactiveSurfaceWarning({
|
|
40
|
-
context: params.context,
|
|
41
|
-
path: `${params.path}.serviceAccount`,
|
|
42
|
-
details: params.inactiveReason
|
|
43
|
-
});
|
|
44
|
-
return;
|
|
45
|
-
}
|
|
46
|
-
for (const accountId of params.ownerAccountIds) pushAssignment(params.context, {
|
|
47
|
-
ref,
|
|
48
|
-
path: `${params.path}.serviceAccount`,
|
|
49
|
-
expected: "string-or-object",
|
|
50
|
-
...accountSecretOwner(accountId),
|
|
51
|
-
apply: (value) => {
|
|
52
|
-
params.target.serviceAccount = value;
|
|
53
|
-
}
|
|
54
|
-
});
|
|
55
|
-
}
|
|
56
|
-
function collectRuntimeConfigAssignments(params) {
|
|
57
|
-
const resolved = getChannelSurface(params.config, "googlechat");
|
|
58
|
-
if (!resolved) return;
|
|
59
|
-
const googleChat = resolved.channel;
|
|
60
|
-
const surface = resolveChannelAccountSurface(googleChat);
|
|
61
|
-
const topLevelServiceAccountOwners = !surface.channelEnabled ? [] : !surface.hasExplicitAccounts ? ["default"] : surface.accounts.filter(({ account, enabled }) => enabled && !hasOwnProperty(account, "serviceAccount")).map(({ accountId }) => accountId);
|
|
62
|
-
collectGoogleChatAccountAssignment({
|
|
63
|
-
target: googleChat,
|
|
64
|
-
path: "channels.googlechat",
|
|
65
|
-
defaults: params.defaults,
|
|
66
|
-
context: params.context,
|
|
67
|
-
ownerAccountIds: topLevelServiceAccountOwners,
|
|
68
|
-
inactiveReason: "no enabled account inherits this top-level Google Chat serviceAccount."
|
|
69
|
-
});
|
|
70
|
-
if (!surface.hasExplicitAccounts) return;
|
|
71
|
-
for (const { accountId, account, enabled } of surface.accounts) {
|
|
72
|
-
if (!hasOwnProperty(account, "serviceAccount")) continue;
|
|
73
|
-
collectGoogleChatAccountAssignment({
|
|
74
|
-
target: account,
|
|
75
|
-
path: `channels.googlechat.accounts.${accountId}`,
|
|
76
|
-
defaults: params.defaults,
|
|
77
|
-
context: params.context,
|
|
78
|
-
ownerAccountIds: enabled ? [accountId] : [],
|
|
79
|
-
inactiveReason: "Google Chat account is disabled."
|
|
80
|
-
});
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
const channelSecrets = {
|
|
84
|
-
secretTargetRegistryEntries,
|
|
85
|
-
collectRuntimeConfigAssignments
|
|
86
|
-
};
|
|
87
|
-
//#endregion
|
|
88
|
-
export { collectRuntimeConfigAssignments as n, secretTargetRegistryEntries as r, channelSecrets as t };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/node_modules/{data-uri-to-buffer → gaxios/node_modules/data-uri-to-buffer}/README.md
RENAMED
|
File without changes
|
/package/node_modules/{data-uri-to-buffer → gaxios/node_modules/data-uri-to-buffer}/dist/index.d.ts
RENAMED
|
File without changes
|
/package/node_modules/{data-uri-to-buffer → gaxios/node_modules/data-uri-to-buffer}/dist/index.js
RENAMED
|
File without changes
|
|
File without changes
|
/package/node_modules/{data-uri-to-buffer → gaxios/node_modules/data-uri-to-buffer}/package.json
RENAMED
|
File without changes
|
/package/node_modules/{data-uri-to-buffer → gaxios/node_modules/data-uri-to-buffer}/src/index.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/node_modules/{formdata-polyfill → gaxios/node_modules/formdata-polyfill}/FormData.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/node_modules/{formdata-polyfill → gaxios/node_modules/formdata-polyfill}/esm.min.d.ts
RENAMED
|
File without changes
|
/package/node_modules/{formdata-polyfill → gaxios/node_modules/formdata-polyfill}/esm.min.js
RENAMED
|
File without changes
|
|
File without changes
|
/package/node_modules/{formdata-polyfill → gaxios/node_modules/formdata-polyfill}/formdata.min.js
RENAMED
|
File without changes
|
/package/node_modules/{formdata-polyfill → gaxios/node_modules/formdata-polyfill}/package.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/node_modules/{https-proxy-agent → gaxios/node_modules/https-proxy-agent}/dist/index.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
/package/node_modules/{https-proxy-agent → gaxios/node_modules/https-proxy-agent}/dist/index.js
RENAMED
|
File without changes
|
/package/node_modules/{https-proxy-agent → gaxios/node_modules/https-proxy-agent}/dist/index.js.map
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/node_modules/{https-proxy-agent → gaxios/node_modules/https-proxy-agent}/package.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/node_modules/{node-domexception → gaxios/node_modules/node-domexception}/package.json
RENAMED
|
File without changes
|
|
File without changes
|