@openclaw/googlechat 2026.7.2-beta.4 → 2026.7.2-beta.7

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.
Files changed (326) hide show
  1. package/README.md +1 -1
  2. package/dist/{actions-DBF3ImbA.js → actions-D81dCtkC.js} +4 -12
  3. package/dist/api.js +2 -2
  4. package/dist/{approval-auth-BztBRceh.js → approval-auth-ykO6i_ub.js} +2 -2
  5. package/dist/{approval-handler.runtime-CWoYapMp.js → approval-handler.runtime-CBeHrXtL.js} +3 -3
  6. package/dist/{channel-base-BOLIr2sb.js → channel-base-hw9ErEr5.js} +58 -55
  7. package/dist/{channel-DMP6V9MO.js → channel-kouqKs2x.js} +21 -19
  8. package/dist/channel-plugin-api.js +1 -1
  9. package/dist/{channel.adapters-X7Hlcajj.js → channel.adapters-DaipaeYt.js} +9 -19
  10. package/dist/{channel.runtime-rGazhnxA.js → channel.runtime-BbwE9vOC.js} +48 -66
  11. package/dist/directory-contract-api.js +1 -1
  12. package/dist/{doctor-contract-CWlBAcKf.js → doctor-contract-BpuSvJro.js} +14 -43
  13. package/dist/doctor-contract-api.js +1 -1
  14. package/dist/setup-plugin-api.js +1 -1
  15. package/node_modules/google-auth-library/build/src/auth/googleauth.js +24 -19
  16. package/node_modules/google-auth-library/node_modules/gaxios/build/cjs/tsconfig.cjs.tsbuildinfo +1 -0
  17. package/node_modules/google-auth-library/node_modules/gaxios/build/esm/tsconfig.tsbuildinfo +1 -0
  18. package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/package.json +1 -1
  19. package/node_modules/google-auth-library/node_modules/gcp-metadata/node_modules/google-logging-utils/package.json +47 -0
  20. package/node_modules/google-auth-library/node_modules/google-logging-utils/LICENSE +202 -0
  21. package/node_modules/google-auth-library/node_modules/google-logging-utils/README.md +73 -0
  22. package/node_modules/google-auth-library/node_modules/google-logging-utils/build/src/colours.d.ts +29 -0
  23. package/node_modules/google-auth-library/node_modules/google-logging-utils/build/src/colours.js +81 -0
  24. package/node_modules/google-auth-library/node_modules/google-logging-utils/build/src/colours.js.map +1 -0
  25. package/node_modules/google-auth-library/node_modules/google-logging-utils/build/src/index.d.ts +1 -0
  26. package/node_modules/google-auth-library/node_modules/google-logging-utils/build/src/index.js +31 -0
  27. package/node_modules/google-auth-library/node_modules/google-logging-utils/build/src/index.js.map +1 -0
  28. package/node_modules/google-auth-library/node_modules/google-logging-utils/build/src/logging-utils.d.ts +222 -0
  29. package/node_modules/google-auth-library/node_modules/google-logging-utils/build/src/logging-utils.js +437 -0
  30. package/node_modules/google-auth-library/node_modules/google-logging-utils/build/src/logging-utils.js.map +1 -0
  31. package/node_modules/google-auth-library/node_modules/google-logging-utils/build/src/temporal.d.ts +45 -0
  32. package/node_modules/google-auth-library/node_modules/google-logging-utils/build/src/temporal.js +68 -0
  33. package/node_modules/google-auth-library/node_modules/google-logging-utils/build/src/temporal.js.map +1 -0
  34. package/node_modules/{google-logging-utils → google-auth-library/node_modules/google-logging-utils}/package.json +9 -11
  35. package/node_modules/google-auth-library/package.json +1 -1
  36. package/package.json +5 -6
  37. package/node_modules/gaxios/build/cjs/tsconfig.cjs.tsbuildinfo +0 -1
  38. package/node_modules/gaxios/build/esm/tsconfig.tsbuildinfo +0 -1
  39. package/npm-shrinkwrap.json +0 -313
  40. /package/node_modules/{agent-base → google-auth-library/node_modules/agent-base}/LICENSE +0 -0
  41. /package/node_modules/{agent-base → google-auth-library/node_modules/agent-base}/README.md +0 -0
  42. /package/node_modules/{agent-base → google-auth-library/node_modules/agent-base}/dist/helpers.d.ts +0 -0
  43. /package/node_modules/{agent-base → google-auth-library/node_modules/agent-base}/dist/helpers.d.ts.map +0 -0
  44. /package/node_modules/{agent-base → google-auth-library/node_modules/agent-base}/dist/helpers.js +0 -0
  45. /package/node_modules/{agent-base → google-auth-library/node_modules/agent-base}/dist/helpers.js.map +0 -0
  46. /package/node_modules/{agent-base → google-auth-library/node_modules/agent-base}/dist/index.d.ts +0 -0
  47. /package/node_modules/{agent-base → google-auth-library/node_modules/agent-base}/dist/index.d.ts.map +0 -0
  48. /package/node_modules/{agent-base → google-auth-library/node_modules/agent-base}/dist/index.js +0 -0
  49. /package/node_modules/{agent-base → google-auth-library/node_modules/agent-base}/dist/index.js.map +0 -0
  50. /package/node_modules/{agent-base → google-auth-library/node_modules/agent-base}/package.json +0 -0
  51. /package/node_modules/{base64-js → google-auth-library/node_modules/base64-js}/LICENSE +0 -0
  52. /package/node_modules/{base64-js → google-auth-library/node_modules/base64-js}/README.md +0 -0
  53. /package/node_modules/{base64-js → google-auth-library/node_modules/base64-js}/base64js.min.js +0 -0
  54. /package/node_modules/{base64-js → google-auth-library/node_modules/base64-js}/index.d.ts +0 -0
  55. /package/node_modules/{base64-js → google-auth-library/node_modules/base64-js}/index.js +0 -0
  56. /package/node_modules/{base64-js → google-auth-library/node_modules/base64-js}/package.json +0 -0
  57. /package/node_modules/{bignumber.js → google-auth-library/node_modules/bignumber.js}/CHANGELOG.md +0 -0
  58. /package/node_modules/{bignumber.js → google-auth-library/node_modules/bignumber.js}/LICENCE.md +0 -0
  59. /package/node_modules/{bignumber.js → google-auth-library/node_modules/bignumber.js}/README.md +0 -0
  60. /package/node_modules/{bignumber.js → google-auth-library/node_modules/bignumber.js}/bignumber.d.mts +0 -0
  61. /package/node_modules/{bignumber.js → google-auth-library/node_modules/bignumber.js}/bignumber.d.ts +0 -0
  62. /package/node_modules/{bignumber.js → google-auth-library/node_modules/bignumber.js}/bignumber.js +0 -0
  63. /package/node_modules/{bignumber.js → google-auth-library/node_modules/bignumber.js}/bignumber.mjs +0 -0
  64. /package/node_modules/{bignumber.js → google-auth-library/node_modules/bignumber.js}/doc/API.html +0 -0
  65. /package/node_modules/{bignumber.js → google-auth-library/node_modules/bignumber.js}/package.json +0 -0
  66. /package/node_modules/{bignumber.js → google-auth-library/node_modules/bignumber.js}/types.d.ts +0 -0
  67. /package/node_modules/{buffer-equal-constant-time → google-auth-library/node_modules/buffer-equal-constant-time}/.npmignore +0 -0
  68. /package/node_modules/{buffer-equal-constant-time → google-auth-library/node_modules/buffer-equal-constant-time}/.travis.yml +0 -0
  69. /package/node_modules/{buffer-equal-constant-time → google-auth-library/node_modules/buffer-equal-constant-time}/LICENSE.txt +0 -0
  70. /package/node_modules/{buffer-equal-constant-time → google-auth-library/node_modules/buffer-equal-constant-time}/README.md +0 -0
  71. /package/node_modules/{buffer-equal-constant-time → google-auth-library/node_modules/buffer-equal-constant-time}/index.js +0 -0
  72. /package/node_modules/{buffer-equal-constant-time → google-auth-library/node_modules/buffer-equal-constant-time}/package.json +0 -0
  73. /package/node_modules/{buffer-equal-constant-time → google-auth-library/node_modules/buffer-equal-constant-time}/test.js +0 -0
  74. /package/node_modules/{data-uri-to-buffer → google-auth-library/node_modules/data-uri-to-buffer}/README.md +0 -0
  75. /package/node_modules/{data-uri-to-buffer → google-auth-library/node_modules/data-uri-to-buffer}/dist/index.d.ts +0 -0
  76. /package/node_modules/{data-uri-to-buffer → google-auth-library/node_modules/data-uri-to-buffer}/dist/index.js +0 -0
  77. /package/node_modules/{data-uri-to-buffer → google-auth-library/node_modules/data-uri-to-buffer}/dist/index.js.map +0 -0
  78. /package/node_modules/{data-uri-to-buffer → google-auth-library/node_modules/data-uri-to-buffer}/package.json +0 -0
  79. /package/node_modules/{data-uri-to-buffer → google-auth-library/node_modules/data-uri-to-buffer}/src/index.ts +0 -0
  80. /package/node_modules/{debug → google-auth-library/node_modules/debug}/LICENSE +0 -0
  81. /package/node_modules/{debug → google-auth-library/node_modules/debug}/README.md +0 -0
  82. /package/node_modules/{debug → google-auth-library/node_modules/debug}/package.json +0 -0
  83. /package/node_modules/{debug → google-auth-library/node_modules/debug}/src/browser.js +0 -0
  84. /package/node_modules/{debug → google-auth-library/node_modules/debug}/src/common.js +0 -0
  85. /package/node_modules/{debug → google-auth-library/node_modules/debug}/src/index.js +0 -0
  86. /package/node_modules/{debug → google-auth-library/node_modules/debug}/src/node.js +0 -0
  87. /package/node_modules/{ecdsa-sig-formatter → google-auth-library/node_modules/ecdsa-sig-formatter}/CODEOWNERS +0 -0
  88. /package/node_modules/{ecdsa-sig-formatter → google-auth-library/node_modules/ecdsa-sig-formatter}/LICENSE +0 -0
  89. /package/node_modules/{ecdsa-sig-formatter → google-auth-library/node_modules/ecdsa-sig-formatter}/README.md +0 -0
  90. /package/node_modules/{ecdsa-sig-formatter → google-auth-library/node_modules/ecdsa-sig-formatter}/package.json +0 -0
  91. /package/node_modules/{ecdsa-sig-formatter → google-auth-library/node_modules/ecdsa-sig-formatter}/src/ecdsa-sig-formatter.d.ts +0 -0
  92. /package/node_modules/{ecdsa-sig-formatter → google-auth-library/node_modules/ecdsa-sig-formatter}/src/ecdsa-sig-formatter.js +0 -0
  93. /package/node_modules/{ecdsa-sig-formatter → google-auth-library/node_modules/ecdsa-sig-formatter}/src/param-bytes-for-alg.js +0 -0
  94. /package/node_modules/{extend → google-auth-library/node_modules/extend}/.editorconfig +0 -0
  95. /package/node_modules/{extend → google-auth-library/node_modules/extend}/.eslintrc +0 -0
  96. /package/node_modules/{extend → google-auth-library/node_modules/extend}/.jscs.json +0 -0
  97. /package/node_modules/{extend → google-auth-library/node_modules/extend}/.travis.yml +0 -0
  98. /package/node_modules/{extend → google-auth-library/node_modules/extend}/CHANGELOG.md +0 -0
  99. /package/node_modules/{extend → google-auth-library/node_modules/extend}/LICENSE +0 -0
  100. /package/node_modules/{extend → google-auth-library/node_modules/extend}/README.md +0 -0
  101. /package/node_modules/{extend → google-auth-library/node_modules/extend}/component.json +0 -0
  102. /package/node_modules/{extend → google-auth-library/node_modules/extend}/index.js +0 -0
  103. /package/node_modules/{extend → google-auth-library/node_modules/extend}/package.json +0 -0
  104. /package/node_modules/{fetch-blob → google-auth-library/node_modules/fetch-blob}/LICENSE +0 -0
  105. /package/node_modules/{fetch-blob → google-auth-library/node_modules/fetch-blob}/README.md +0 -0
  106. /package/node_modules/{fetch-blob → google-auth-library/node_modules/fetch-blob}/file.d.ts +0 -0
  107. /package/node_modules/{fetch-blob → google-auth-library/node_modules/fetch-blob}/file.js +0 -0
  108. /package/node_modules/{fetch-blob → google-auth-library/node_modules/fetch-blob}/from.d.ts +0 -0
  109. /package/node_modules/{fetch-blob → google-auth-library/node_modules/fetch-blob}/from.js +0 -0
  110. /package/node_modules/{fetch-blob → google-auth-library/node_modules/fetch-blob}/index.d.ts +0 -0
  111. /package/node_modules/{fetch-blob → google-auth-library/node_modules/fetch-blob}/index.js +0 -0
  112. /package/node_modules/{fetch-blob → google-auth-library/node_modules/fetch-blob}/package.json +0 -0
  113. /package/node_modules/{fetch-blob → google-auth-library/node_modules/fetch-blob}/streams.cjs +0 -0
  114. /package/node_modules/{formdata-polyfill → google-auth-library/node_modules/formdata-polyfill}/FormData.js +0 -0
  115. /package/node_modules/{formdata-polyfill → google-auth-library/node_modules/formdata-polyfill}/LICENSE +0 -0
  116. /package/node_modules/{formdata-polyfill → google-auth-library/node_modules/formdata-polyfill}/README.md +0 -0
  117. /package/node_modules/{formdata-polyfill → google-auth-library/node_modules/formdata-polyfill}/esm.min.d.ts +0 -0
  118. /package/node_modules/{formdata-polyfill → google-auth-library/node_modules/formdata-polyfill}/esm.min.js +0 -0
  119. /package/node_modules/{formdata-polyfill → google-auth-library/node_modules/formdata-polyfill}/formdata-to-blob.js +0 -0
  120. /package/node_modules/{formdata-polyfill → google-auth-library/node_modules/formdata-polyfill}/formdata.min.js +0 -0
  121. /package/node_modules/{formdata-polyfill → google-auth-library/node_modules/formdata-polyfill}/package.json +0 -0
  122. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/LICENSE +0 -0
  123. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/README.md +0 -0
  124. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/cjs/browser-test/browser-test-runner.d.ts +0 -0
  125. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/cjs/browser-test/browser-test-runner.js +0 -0
  126. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/cjs/browser-test/browser-test-runner.js.map +0 -0
  127. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/cjs/browser-test/test.browser.d.ts +0 -0
  128. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/cjs/browser-test/test.browser.js +0 -0
  129. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/cjs/browser-test/test.browser.js.map +0 -0
  130. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/cjs/src/common.d.ts +0 -0
  131. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/cjs/src/common.js +0 -0
  132. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/cjs/src/common.js.map +0 -0
  133. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/cjs/src/gaxios.d.ts +0 -0
  134. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/cjs/src/gaxios.js +0 -0
  135. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/cjs/src/gaxios.js.map +0 -0
  136. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/cjs/src/index.d.ts +0 -0
  137. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/cjs/src/index.js +0 -0
  138. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/cjs/src/index.js.map +0 -0
  139. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/cjs/src/interceptor.d.ts +0 -0
  140. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/cjs/src/interceptor.js +0 -0
  141. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/cjs/src/interceptor.js.map +0 -0
  142. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/cjs/src/retry.d.ts +0 -0
  143. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/cjs/src/retry.js +0 -0
  144. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/cjs/src/retry.js.map +0 -0
  145. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/cjs/src/util.cjs +0 -0
  146. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/cjs/src/util.cjs.map +0 -0
  147. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/cjs/src/util.d.cts +0 -0
  148. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/cjs/system-test/test.install.d.ts +0 -0
  149. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/cjs/system-test/test.install.js +0 -0
  150. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/cjs/system-test/test.install.js.map +0 -0
  151. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/cjs/test/test.getch.d.ts +0 -0
  152. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/cjs/test/test.getch.js +0 -0
  153. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/cjs/test/test.getch.js.map +0 -0
  154. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/cjs/test/test.index.d.ts +0 -0
  155. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/cjs/test/test.index.js +0 -0
  156. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/cjs/test/test.index.js.map +0 -0
  157. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/cjs/test/test.retry.d.ts +0 -0
  158. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/cjs/test/test.retry.js +0 -0
  159. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/cjs/test/test.retry.js.map +0 -0
  160. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/esm/browser-test/browser-test-runner.d.ts +0 -0
  161. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/esm/browser-test/browser-test-runner.js +0 -0
  162. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/esm/browser-test/browser-test-runner.js.map +0 -0
  163. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/esm/browser-test/test.browser.d.ts +0 -0
  164. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/esm/browser-test/test.browser.js +0 -0
  165. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/esm/browser-test/test.browser.js.map +0 -0
  166. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/esm/package.json +0 -0
  167. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/esm/src/common.d.ts +0 -0
  168. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/esm/src/common.js +0 -0
  169. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/esm/src/common.js.map +0 -0
  170. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/esm/src/gaxios.d.ts +0 -0
  171. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/esm/src/gaxios.js +0 -0
  172. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/esm/src/gaxios.js.map +0 -0
  173. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/esm/src/index.d.ts +0 -0
  174. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/esm/src/index.js +0 -0
  175. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/esm/src/index.js.map +0 -0
  176. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/esm/src/interceptor.d.ts +0 -0
  177. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/esm/src/interceptor.js +0 -0
  178. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/esm/src/interceptor.js.map +0 -0
  179. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/esm/src/retry.d.ts +0 -0
  180. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/esm/src/retry.js +0 -0
  181. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/esm/src/retry.js.map +0 -0
  182. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/esm/src/util.cjs +0 -0
  183. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/esm/src/util.cjs.map +0 -0
  184. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/esm/src/util.d.cts +0 -0
  185. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/esm/system-test/test.install.d.ts +0 -0
  186. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/esm/system-test/test.install.js +0 -0
  187. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/esm/system-test/test.install.js.map +0 -0
  188. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/esm/test/test.getch.d.ts +0 -0
  189. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/esm/test/test.getch.js +0 -0
  190. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/esm/test/test.getch.js.map +0 -0
  191. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/esm/test/test.index.d.ts +0 -0
  192. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/esm/test/test.index.js +0 -0
  193. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/esm/test/test.index.js.map +0 -0
  194. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/esm/test/test.retry.d.ts +0 -0
  195. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/esm/test/test.retry.js +0 -0
  196. /package/node_modules/{gaxios → google-auth-library/node_modules/gaxios}/build/esm/test/test.retry.js.map +0 -0
  197. /package/node_modules/{gcp-metadata → google-auth-library/node_modules/gcp-metadata}/LICENSE +0 -0
  198. /package/node_modules/{gcp-metadata → google-auth-library/node_modules/gcp-metadata}/README.md +0 -0
  199. /package/node_modules/{gcp-metadata → google-auth-library/node_modules/gcp-metadata}/build/src/gcp-residency.d.ts +0 -0
  200. /package/node_modules/{gcp-metadata → google-auth-library/node_modules/gcp-metadata}/build/src/gcp-residency.js +0 -0
  201. /package/node_modules/{gcp-metadata → google-auth-library/node_modules/gcp-metadata}/build/src/gcp-residency.js.map +0 -0
  202. /package/node_modules/{gcp-metadata → google-auth-library/node_modules/gcp-metadata}/build/src/index.d.ts +0 -0
  203. /package/node_modules/{gcp-metadata → google-auth-library/node_modules/gcp-metadata}/build/src/index.js +0 -0
  204. /package/node_modules/{gcp-metadata → google-auth-library/node_modules/gcp-metadata}/build/src/index.js.map +0 -0
  205. /package/node_modules/{google-logging-utils → google-auth-library/node_modules/gcp-metadata/node_modules/google-logging-utils}/LICENSE +0 -0
  206. /package/node_modules/{google-logging-utils → google-auth-library/node_modules/gcp-metadata/node_modules/google-logging-utils}/README.md +0 -0
  207. /package/node_modules/{google-logging-utils → google-auth-library/node_modules/gcp-metadata/node_modules/google-logging-utils}/build/src/colours.d.ts +0 -0
  208. /package/node_modules/{google-logging-utils → google-auth-library/node_modules/gcp-metadata/node_modules/google-logging-utils}/build/src/colours.js +0 -0
  209. /package/node_modules/{google-logging-utils → google-auth-library/node_modules/gcp-metadata/node_modules/google-logging-utils}/build/src/colours.js.map +0 -0
  210. /package/node_modules/{google-logging-utils → google-auth-library/node_modules/gcp-metadata/node_modules/google-logging-utils}/build/src/index.d.ts +0 -0
  211. /package/node_modules/{google-logging-utils → google-auth-library/node_modules/gcp-metadata/node_modules/google-logging-utils}/build/src/index.js +0 -0
  212. /package/node_modules/{google-logging-utils → google-auth-library/node_modules/gcp-metadata/node_modules/google-logging-utils}/build/src/index.js.map +0 -0
  213. /package/node_modules/{google-logging-utils → google-auth-library/node_modules/gcp-metadata/node_modules/google-logging-utils}/build/src/logging-utils.d.ts +0 -0
  214. /package/node_modules/{google-logging-utils → google-auth-library/node_modules/gcp-metadata/node_modules/google-logging-utils}/build/src/logging-utils.js +0 -0
  215. /package/node_modules/{google-logging-utils → google-auth-library/node_modules/gcp-metadata/node_modules/google-logging-utils}/build/src/logging-utils.js.map +0 -0
  216. /package/node_modules/{google-logging-utils → google-auth-library/node_modules/gcp-metadata/node_modules/google-logging-utils}/build/src/temporal.d.ts +0 -0
  217. /package/node_modules/{google-logging-utils → google-auth-library/node_modules/gcp-metadata/node_modules/google-logging-utils}/build/src/temporal.js +0 -0
  218. /package/node_modules/{google-logging-utils → google-auth-library/node_modules/gcp-metadata/node_modules/google-logging-utils}/build/src/temporal.js.map +0 -0
  219. /package/node_modules/{google-logging-utils → google-auth-library/node_modules/gcp-metadata/node_modules/google-logging-utils}/build/src/types.d.ts +0 -0
  220. /package/node_modules/{google-logging-utils → google-auth-library/node_modules/gcp-metadata/node_modules/google-logging-utils}/build/src/types.js +0 -0
  221. /package/node_modules/{google-logging-utils → google-auth-library/node_modules/gcp-metadata/node_modules/google-logging-utils}/build/src/types.js.map +0 -0
  222. /package/node_modules/{gcp-metadata → google-auth-library/node_modules/gcp-metadata}/package.json +0 -0
  223. /package/node_modules/{https-proxy-agent → google-auth-library/node_modules/https-proxy-agent}/LICENSE +0 -0
  224. /package/node_modules/{https-proxy-agent → google-auth-library/node_modules/https-proxy-agent}/README.md +0 -0
  225. /package/node_modules/{https-proxy-agent → google-auth-library/node_modules/https-proxy-agent}/dist/index.d.ts +0 -0
  226. /package/node_modules/{https-proxy-agent → google-auth-library/node_modules/https-proxy-agent}/dist/index.d.ts.map +0 -0
  227. /package/node_modules/{https-proxy-agent → google-auth-library/node_modules/https-proxy-agent}/dist/index.js +0 -0
  228. /package/node_modules/{https-proxy-agent → google-auth-library/node_modules/https-proxy-agent}/dist/index.js.map +0 -0
  229. /package/node_modules/{https-proxy-agent → google-auth-library/node_modules/https-proxy-agent}/dist/parse-proxy-response.d.ts +0 -0
  230. /package/node_modules/{https-proxy-agent → google-auth-library/node_modules/https-proxy-agent}/dist/parse-proxy-response.d.ts.map +0 -0
  231. /package/node_modules/{https-proxy-agent → google-auth-library/node_modules/https-proxy-agent}/dist/parse-proxy-response.js +0 -0
  232. /package/node_modules/{https-proxy-agent → google-auth-library/node_modules/https-proxy-agent}/dist/parse-proxy-response.js.map +0 -0
  233. /package/node_modules/{https-proxy-agent → google-auth-library/node_modules/https-proxy-agent}/package.json +0 -0
  234. /package/node_modules/{json-bigint → google-auth-library/node_modules/json-bigint}/LICENSE +0 -0
  235. /package/node_modules/{json-bigint → google-auth-library/node_modules/json-bigint}/README.md +0 -0
  236. /package/node_modules/{json-bigint → google-auth-library/node_modules/json-bigint}/index.js +0 -0
  237. /package/node_modules/{json-bigint → google-auth-library/node_modules/json-bigint}/lib/parse.js +0 -0
  238. /package/node_modules/{json-bigint → google-auth-library/node_modules/json-bigint}/lib/stringify.js +0 -0
  239. /package/node_modules/{json-bigint → google-auth-library/node_modules/json-bigint}/package.json +0 -0
  240. /package/node_modules/{jwa → google-auth-library/node_modules/jwa}/LICENSE +0 -0
  241. /package/node_modules/{jwa → google-auth-library/node_modules/jwa}/README.md +0 -0
  242. /package/node_modules/{jwa → google-auth-library/node_modules/jwa}/index.js +0 -0
  243. /package/node_modules/{jwa → google-auth-library/node_modules/jwa}/opslevel.yml +0 -0
  244. /package/node_modules/{jwa → google-auth-library/node_modules/jwa}/package.json +0 -0
  245. /package/node_modules/{jws → google-auth-library/node_modules/jws}/CHANGELOG.md +0 -0
  246. /package/node_modules/{jws → google-auth-library/node_modules/jws}/LICENSE +0 -0
  247. /package/node_modules/{jws → google-auth-library/node_modules/jws}/index.js +0 -0
  248. /package/node_modules/{jws → google-auth-library/node_modules/jws}/lib/data-stream.js +0 -0
  249. /package/node_modules/{jws → google-auth-library/node_modules/jws}/lib/sign-stream.js +0 -0
  250. /package/node_modules/{jws → google-auth-library/node_modules/jws}/lib/tostring.js +0 -0
  251. /package/node_modules/{jws → google-auth-library/node_modules/jws}/lib/verify-stream.js +0 -0
  252. /package/node_modules/{jws → google-auth-library/node_modules/jws}/opslevel.yml +0 -0
  253. /package/node_modules/{jws → google-auth-library/node_modules/jws}/package.json +0 -0
  254. /package/node_modules/{jws → google-auth-library/node_modules/jws}/readme.md +0 -0
  255. /package/node_modules/{ms → google-auth-library/node_modules/ms}/index.js +0 -0
  256. /package/node_modules/{ms → google-auth-library/node_modules/ms}/license.md +0 -0
  257. /package/node_modules/{ms → google-auth-library/node_modules/ms}/package.json +0 -0
  258. /package/node_modules/{ms → google-auth-library/node_modules/ms}/readme.md +0 -0
  259. /package/node_modules/{node-domexception → google-auth-library/node_modules/node-domexception}/LICENSE +0 -0
  260. /package/node_modules/{node-domexception → google-auth-library/node_modules/node-domexception}/index.js +0 -0
  261. /package/node_modules/{node-domexception → google-auth-library/node_modules/node-domexception}/package.json +0 -0
  262. /package/node_modules/{node-fetch → google-auth-library/node_modules/node-fetch}/@types/index.d.ts +0 -0
  263. /package/node_modules/{node-fetch → google-auth-library/node_modules/node-fetch}/LICENSE.md +0 -0
  264. /package/node_modules/{node-fetch → google-auth-library/node_modules/node-fetch}/README.md +0 -0
  265. /package/node_modules/{node-fetch → google-auth-library/node_modules/node-fetch}/package.json +0 -0
  266. /package/node_modules/{node-fetch → google-auth-library/node_modules/node-fetch}/src/body.js +0 -0
  267. /package/node_modules/{node-fetch → google-auth-library/node_modules/node-fetch}/src/errors/abort-error.js +0 -0
  268. /package/node_modules/{node-fetch → google-auth-library/node_modules/node-fetch}/src/errors/base.js +0 -0
  269. /package/node_modules/{node-fetch → google-auth-library/node_modules/node-fetch}/src/errors/fetch-error.js +0 -0
  270. /package/node_modules/{node-fetch → google-auth-library/node_modules/node-fetch}/src/headers.js +0 -0
  271. /package/node_modules/{node-fetch → google-auth-library/node_modules/node-fetch}/src/index.js +0 -0
  272. /package/node_modules/{node-fetch → google-auth-library/node_modules/node-fetch}/src/request.js +0 -0
  273. /package/node_modules/{node-fetch → google-auth-library/node_modules/node-fetch}/src/response.js +0 -0
  274. /package/node_modules/{node-fetch → google-auth-library/node_modules/node-fetch}/src/utils/get-search.js +0 -0
  275. /package/node_modules/{node-fetch → google-auth-library/node_modules/node-fetch}/src/utils/is-redirect.js +0 -0
  276. /package/node_modules/{node-fetch → google-auth-library/node_modules/node-fetch}/src/utils/is.js +0 -0
  277. /package/node_modules/{node-fetch → google-auth-library/node_modules/node-fetch}/src/utils/multipart-parser.js +0 -0
  278. /package/node_modules/{node-fetch → google-auth-library/node_modules/node-fetch}/src/utils/referrer.js +0 -0
  279. /package/node_modules/{safe-buffer → google-auth-library/node_modules/safe-buffer}/LICENSE +0 -0
  280. /package/node_modules/{safe-buffer → google-auth-library/node_modules/safe-buffer}/README.md +0 -0
  281. /package/node_modules/{safe-buffer → google-auth-library/node_modules/safe-buffer}/index.d.ts +0 -0
  282. /package/node_modules/{safe-buffer → google-auth-library/node_modules/safe-buffer}/index.js +0 -0
  283. /package/node_modules/{safe-buffer → google-auth-library/node_modules/safe-buffer}/package.json +0 -0
  284. /package/node_modules/{web-streams-polyfill → google-auth-library/node_modules/web-streams-polyfill}/LICENSE +0 -0
  285. /package/node_modules/{web-streams-polyfill → google-auth-library/node_modules/web-streams-polyfill}/README.md +0 -0
  286. /package/node_modules/{web-streams-polyfill → google-auth-library/node_modules/web-streams-polyfill}/dist/polyfill.es2018.js +0 -0
  287. /package/node_modules/{web-streams-polyfill → google-auth-library/node_modules/web-streams-polyfill}/dist/polyfill.es2018.js.map +0 -0
  288. /package/node_modules/{web-streams-polyfill → google-auth-library/node_modules/web-streams-polyfill}/dist/polyfill.es2018.min.js +0 -0
  289. /package/node_modules/{web-streams-polyfill → google-auth-library/node_modules/web-streams-polyfill}/dist/polyfill.es2018.min.js.map +0 -0
  290. /package/node_modules/{web-streams-polyfill → google-auth-library/node_modules/web-streams-polyfill}/dist/polyfill.es2018.mjs +0 -0
  291. /package/node_modules/{web-streams-polyfill → google-auth-library/node_modules/web-streams-polyfill}/dist/polyfill.es2018.mjs.map +0 -0
  292. /package/node_modules/{web-streams-polyfill → google-auth-library/node_modules/web-streams-polyfill}/dist/polyfill.es6.js +0 -0
  293. /package/node_modules/{web-streams-polyfill → google-auth-library/node_modules/web-streams-polyfill}/dist/polyfill.es6.js.map +0 -0
  294. /package/node_modules/{web-streams-polyfill → google-auth-library/node_modules/web-streams-polyfill}/dist/polyfill.es6.min.js +0 -0
  295. /package/node_modules/{web-streams-polyfill → google-auth-library/node_modules/web-streams-polyfill}/dist/polyfill.es6.min.js.map +0 -0
  296. /package/node_modules/{web-streams-polyfill → google-auth-library/node_modules/web-streams-polyfill}/dist/polyfill.es6.mjs +0 -0
  297. /package/node_modules/{web-streams-polyfill → google-auth-library/node_modules/web-streams-polyfill}/dist/polyfill.es6.mjs.map +0 -0
  298. /package/node_modules/{web-streams-polyfill → google-auth-library/node_modules/web-streams-polyfill}/dist/polyfill.js +0 -0
  299. /package/node_modules/{web-streams-polyfill → google-auth-library/node_modules/web-streams-polyfill}/dist/polyfill.js.map +0 -0
  300. /package/node_modules/{web-streams-polyfill → google-auth-library/node_modules/web-streams-polyfill}/dist/polyfill.min.js +0 -0
  301. /package/node_modules/{web-streams-polyfill → google-auth-library/node_modules/web-streams-polyfill}/dist/polyfill.min.js.map +0 -0
  302. /package/node_modules/{web-streams-polyfill → google-auth-library/node_modules/web-streams-polyfill}/dist/polyfill.mjs +0 -0
  303. /package/node_modules/{web-streams-polyfill → google-auth-library/node_modules/web-streams-polyfill}/dist/polyfill.mjs.map +0 -0
  304. /package/node_modules/{web-streams-polyfill → google-auth-library/node_modules/web-streams-polyfill}/dist/ponyfill.es2018.js +0 -0
  305. /package/node_modules/{web-streams-polyfill → google-auth-library/node_modules/web-streams-polyfill}/dist/ponyfill.es2018.js.map +0 -0
  306. /package/node_modules/{web-streams-polyfill → google-auth-library/node_modules/web-streams-polyfill}/dist/ponyfill.es2018.mjs +0 -0
  307. /package/node_modules/{web-streams-polyfill → google-auth-library/node_modules/web-streams-polyfill}/dist/ponyfill.es2018.mjs.map +0 -0
  308. /package/node_modules/{web-streams-polyfill → google-auth-library/node_modules/web-streams-polyfill}/dist/ponyfill.es6.js +0 -0
  309. /package/node_modules/{web-streams-polyfill → google-auth-library/node_modules/web-streams-polyfill}/dist/ponyfill.es6.js.map +0 -0
  310. /package/node_modules/{web-streams-polyfill → google-auth-library/node_modules/web-streams-polyfill}/dist/ponyfill.es6.mjs +0 -0
  311. /package/node_modules/{web-streams-polyfill → google-auth-library/node_modules/web-streams-polyfill}/dist/ponyfill.es6.mjs.map +0 -0
  312. /package/node_modules/{web-streams-polyfill → google-auth-library/node_modules/web-streams-polyfill}/dist/ponyfill.js +0 -0
  313. /package/node_modules/{web-streams-polyfill → google-auth-library/node_modules/web-streams-polyfill}/dist/ponyfill.js.map +0 -0
  314. /package/node_modules/{web-streams-polyfill → google-auth-library/node_modules/web-streams-polyfill}/dist/ponyfill.mjs +0 -0
  315. /package/node_modules/{web-streams-polyfill → google-auth-library/node_modules/web-streams-polyfill}/dist/ponyfill.mjs.map +0 -0
  316. /package/node_modules/{web-streams-polyfill → google-auth-library/node_modules/web-streams-polyfill}/dist/types/polyfill.d.ts +0 -0
  317. /package/node_modules/{web-streams-polyfill → google-auth-library/node_modules/web-streams-polyfill}/dist/types/ponyfill.d.ts +0 -0
  318. /package/node_modules/{web-streams-polyfill → google-auth-library/node_modules/web-streams-polyfill}/dist/types/ts3.6/polyfill.d.ts +0 -0
  319. /package/node_modules/{web-streams-polyfill → google-auth-library/node_modules/web-streams-polyfill}/dist/types/ts3.6/ponyfill.d.ts +0 -0
  320. /package/node_modules/{web-streams-polyfill → google-auth-library/node_modules/web-streams-polyfill}/dist/types/tsdoc-metadata.json +0 -0
  321. /package/node_modules/{web-streams-polyfill → google-auth-library/node_modules/web-streams-polyfill}/es2018/package.json +0 -0
  322. /package/node_modules/{web-streams-polyfill → google-auth-library/node_modules/web-streams-polyfill}/es6/package.json +0 -0
  323. /package/node_modules/{web-streams-polyfill → google-auth-library/node_modules/web-streams-polyfill}/package.json +0 -0
  324. /package/node_modules/{web-streams-polyfill → google-auth-library/node_modules/web-streams-polyfill}/ponyfill/es2018/package.json +0 -0
  325. /package/node_modules/{web-streams-polyfill → google-auth-library/node_modules/web-streams-polyfill}/ponyfill/es6/package.json +0 -0
  326. /package/node_modules/{web-streams-polyfill → google-auth-library/node_modules/web-streams-polyfill}/ponyfill/package.json +0 -0
package/README.md CHANGED
@@ -5,7 +5,7 @@ Official OpenClaw channel plugin for Google Chat spaces and direct messages.
5
5
  Install from OpenClaw:
6
6
 
7
7
  ```bash
8
- openclaw plugin add @openclaw/googlechat
8
+ openclaw plugins install @openclaw/googlechat
9
9
  ```
10
10
 
11
11
  Configure the Google Chat app credentials and allowed spaces in OpenClaw. The plugin lets agents receive Google Chat events and reply through the configured app.
@@ -1,12 +1,10 @@
1
- import { l as resolveGoogleChatAccount, o as listEnabledGoogleChatAccounts } from "./channel-base-BOLIr2sb.js";
2
- import { m as resolveGoogleChatOutboundSpace, v as sendGoogleChatMessage } from "./channel.adapters-X7Hlcajj.js";
1
+ import { l as resolveGoogleChatAccount } from "./channel-base-hw9ErEr5.js";
2
+ import { m as resolveGoogleChatOutboundSpace, v as sendGoogleChatMessage } from "./channel.adapters-DaipaeYt.js";
3
+ import { n as describeGoogleChatMessageTool } from "./channel-kouqKs2x.js";
3
4
  import { extractToolSend } from "openclaw/plugin-sdk/tool-send";
4
5
  import { jsonResult, readStringArrayParam, readStringParam } from "openclaw/plugin-sdk/channel-actions";
5
6
  //#region extensions/googlechat/src/actions.ts
6
7
  const providerId = "googlechat";
7
- function listEnabledAccounts(cfg) {
8
- return listEnabledGoogleChatAccounts(cfg).filter((account) => account.enabled && account.credentialSource !== "none" && account.tokenStatus !== "configured_unavailable");
9
- }
10
8
  const OUTBOUND_MEDIA_KEYS = [
11
9
  "media",
12
10
  "mediaUrl",
@@ -26,13 +24,7 @@ function hasGoogleChatOutboundAttachment(params) {
26
24
  });
27
25
  }
28
26
  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
- },
27
+ describeMessageTool: describeGoogleChatMessageTool,
36
28
  supportsAction: ({ action }) => action === "send",
37
29
  extractToolSend: ({ args }) => {
38
30
  return extractToolSend(args, "sendMessage");
package/dist/api.js CHANGED
@@ -1,3 +1,3 @@
1
- import { a as googlechatSetupAdapter, i as googlechatSetupWizard } from "./channel-base-BOLIr2sb.js";
2
- import { t as googlechatPlugin } from "./channel-DMP6V9MO.js";
1
+ import { a as googlechatSetupAdapter, i as googlechatSetupWizard } from "./channel-base-hw9ErEr5.js";
2
+ import { t as googlechatPlugin } from "./channel-kouqKs2x.js";
3
3
  export { googlechatPlugin, googlechatSetupAdapter, googlechatSetupWizard };
@@ -1,5 +1,5 @@
1
- import { l as resolveGoogleChatAccount } from "./channel-base-BOLIr2sb.js";
2
- import { d as isGoogleChatUserTarget, f as normalizeGoogleChatTarget } from "./channel.adapters-X7Hlcajj.js";
1
+ import { l as resolveGoogleChatAccount } from "./channel-base-hw9ErEr5.js";
2
+ import { d as isGoogleChatUserTarget, f as normalizeGoogleChatTarget } from "./channel.adapters-DaipaeYt.js";
3
3
  import { normalizeLowercaseStringOrEmpty } from "openclaw/plugin-sdk/string-coerce-runtime";
4
4
  import { createChannelApprovalAuth } from "openclaw/plugin-sdk/approval-auth-runtime";
5
5
  //#region extensions/googlechat/src/approval-auth.ts
@@ -1,6 +1,6 @@
1
- import { l as resolveGoogleChatAccount } from "./channel-base-BOLIr2sb.js";
2
- import { M as unregisterGoogleChatManualApprovalFollowupSuppression, O as registerGoogleChatApprovalCardBinding, S as buildGoogleChatApprovalActionParameters, T as createGoogleChatApprovalToken, j as unregisterGoogleChatApprovalCardBindings, k as registerGoogleChatManualApprovalFollowupSuppression, m as resolveGoogleChatOutboundSpace, v as sendGoogleChatMessage, x as GOOGLECHAT_APPROVAL_ACTION, y as updateGoogleChatMessage } from "./channel.adapters-X7Hlcajj.js";
3
- import { n as isGoogleChatNativeApprovalClientEnabled, r as shouldHandleGoogleChatNativeApprovalRequest } from "./channel-DMP6V9MO.js";
1
+ import { l as resolveGoogleChatAccount } from "./channel-base-hw9ErEr5.js";
2
+ import { M as unregisterGoogleChatManualApprovalFollowupSuppression, O as registerGoogleChatApprovalCardBinding, S as buildGoogleChatApprovalActionParameters, T as createGoogleChatApprovalToken, j as unregisterGoogleChatApprovalCardBindings, k as registerGoogleChatManualApprovalFollowupSuppression, m as resolveGoogleChatOutboundSpace, v as sendGoogleChatMessage, x as GOOGLECHAT_APPROVAL_ACTION, y as updateGoogleChatMessage } from "./channel.adapters-DaipaeYt.js";
3
+ import { i as shouldHandleGoogleChatNativeApprovalRequest, r as isGoogleChatNativeApprovalClientEnabled } from "./channel-kouqKs2x.js";
4
4
  import { buildChannelApprovalNativeTargetKey } from "openclaw/plugin-sdk/approval-native-runtime";
5
5
  import { normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
6
6
  import { truncateUtf16Safe } from "openclaw/plugin-sdk/text-utility-runtime";
@@ -1,17 +1,18 @@
1
1
  import { safeParseJsonWithSchema, safeParseWithSchema } from "openclaw/plugin-sdk/extension-shared";
2
2
  import { normalizeLowercaseStringOrEmpty, normalizeOptionalString, normalizeStringifiedOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
3
- import { DEFAULT_ACCOUNT_ID, createAccountListHelpers, normalizeAccountId, resolveAccountEntry, resolveMergedAccountConfig } from "openclaw/plugin-sdk/account-resolution";
3
+ import { createAccountListHelpers, describeAccountSnapshot } from "openclaw/plugin-sdk/account-helpers";
4
+ import { DEFAULT_ACCOUNT_ID, normalizeAccountId, resolveAccountEntry } from "openclaw/plugin-sdk/account-resolution";
4
5
  import { mergePairLoopGuardConfig } from "openclaw/plugin-sdk/pair-loop-guard-runtime";
5
6
  import { tryReadSecretFileSync } from "openclaw/plugin-sdk/secret-file-runtime";
6
- import { isSecretRef } from "openclaw/plugin-sdk/secret-input";
7
+ import { coerceSecretRef, isSecretRef, resolveSecretInputString } from "openclaw/plugin-sdk/secret-input";
7
8
  import { resolveUserPath } from "openclaw/plugin-sdk/text-utility-runtime";
8
9
  import { z } from "zod";
9
- import { describeAccountSnapshot } from "openclaw/plugin-sdk/account-helpers";
10
10
  import { formatNormalizedAllowFromEntries } from "openclaw/plugin-sdk/allow-from";
11
11
  import { adaptScopedAccountAccessor, createScopedChannelConfigAdapter } from "openclaw/plugin-sdk/channel-config-helpers";
12
12
  import { defineChannelSetupContract } from "openclaw/plugin-sdk/channel-setup";
13
13
  import { createPatchedAccountSetupAdapter, createSetupInputPresenceValidator } from "openclaw/plugin-sdk/setup-runtime";
14
- import { DEFAULT_ACCOUNT_ID as DEFAULT_ACCOUNT_ID$1, addWildcardAllowFrom, applySetupAccountConfigPatch, createPromptParsedAllowFromForAccount, createSetupTranslator, createStandardChannelSetupStatus, formatDocsLink, mergeAllowFromEntries, migrateBaseNameToDefaultAccount, splitSetupEntries } from "openclaw/plugin-sdk/setup";
14
+ import { createChannelDmPolicy } from "openclaw/plugin-sdk/channel-dm-policy";
15
+ import { DEFAULT_ACCOUNT_ID as DEFAULT_ACCOUNT_ID$1, applySetupAccountConfigPatch, createPromptParsedAllowFromForAccount, createSetupTranslator, createStandardChannelSetupStatus, formatDocsLink, mergeAllowFromEntries, migrateBaseNameToDefaultAccount, splitSetupEntries } from "openclaw/plugin-sdk/setup";
15
16
  //#region extensions/googlechat/src/google-auth-limits.ts
16
17
  const MAX_GOOGLE_CHAT_SERVICE_ACCOUNT_FILE_BYTES = 64 * 1024;
17
18
  //#endregion
@@ -19,19 +20,17 @@ const MAX_GOOGLE_CHAT_SERVICE_ACCOUNT_FILE_BYTES = 64 * 1024;
19
20
  const ENV_SERVICE_ACCOUNT$1 = "GOOGLE_CHAT_SERVICE_ACCOUNT";
20
21
  const ENV_SERVICE_ACCOUNT_FILE$1 = "GOOGLE_CHAT_SERVICE_ACCOUNT_FILE";
21
22
  const JsonRecordSchema = z.record(z.string(), z.unknown());
22
- const { listAccountIds: listGoogleChatAccountIds, resolveDefaultAccountId: resolveDefaultGoogleChatAccountId } = createAccountListHelpers("googlechat", { implicitDefaultAccount: {
23
- channelKeys: ["serviceAccount", "serviceAccountFile"],
24
- envVars: [ENV_SERVICE_ACCOUNT$1, ENV_SERVICE_ACCOUNT_FILE$1]
25
- } });
23
+ const { listAccountIds: listGoogleChatAccountIds, resolveDefaultAccountId: resolveDefaultGoogleChatAccountId, resolveAccountConfig: resolveMergedGoogleChatAccountConfig } = createAccountListHelpers("googlechat", {
24
+ implicitDefaultAccount: {
25
+ channelKeys: ["serviceAccount", "serviceAccountFile"],
26
+ envVars: [ENV_SERVICE_ACCOUNT$1, ENV_SERVICE_ACCOUNT_FILE$1]
27
+ },
28
+ omitKeys: ["defaultAccount"],
29
+ nestedObjectKeys: ["botLoopProtection"]
30
+ });
26
31
  function mergeGoogleChatAccountConfig(cfg, accountId) {
27
32
  const raw = cfg.channels?.["googlechat"] ?? {};
28
- const base = resolveMergedAccountConfig({
29
- channelConfig: raw,
30
- accounts: raw.accounts,
31
- accountId,
32
- omitKeys: ["defaultAccount"],
33
- nestedObjectKeys: ["botLoopProtection"]
34
- });
33
+ const base = resolveMergedGoogleChatAccountConfig(cfg, accountId);
35
34
  const defaultAccountConfig = resolveAccountEntry(raw.accounts, DEFAULT_ACCOUNT_ID) ?? {};
36
35
  if (accountId === DEFAULT_ACCOUNT_ID) return base;
37
36
  const { enabled: _ignoredEnabled, dangerouslyAllowNameMatching: _ignoredDangerouslyAllowNameMatching, serviceAccount: _ignoredServiceAccount, serviceAccountFile: _ignoredServiceAccountFile, ...defaultAccountShared } = defaultAccountConfig;
@@ -63,7 +62,18 @@ function resolveCredentialsFromConfig(params) {
63
62
  source: "inline",
64
63
  status: "available"
65
64
  };
66
- if (isSecretRef(account.serviceAccount)) throw new Error(`channels.googlechat.accounts.${accountId}.serviceAccount: unresolved SecretRef "${account.serviceAccount.source}:${account.serviceAccount.provider}:${account.serviceAccount.id}". Resolve this command against an active gateway runtime snapshot before reading it.`);
65
+ if (coerceSecretRef(account.serviceAccount, params.cfg.secrets?.defaults)) return resolveSecretInputString({
66
+ value: account.serviceAccount,
67
+ defaults: params.cfg.secrets?.defaults,
68
+ path: `channels.googlechat.accounts.${accountId}.serviceAccount`,
69
+ mode: params.mode
70
+ }).status === "configured_unavailable" ? {
71
+ source: "none",
72
+ status: "configured_unavailable"
73
+ } : {
74
+ source: "none",
75
+ status: "missing"
76
+ };
67
77
  const file = normalizeOptionalString(account.serviceAccountFile);
68
78
  if (file) {
69
79
  const result = tryReadSecretFileSync(resolveUserPath(file), "Google Chat service account file", {
@@ -114,15 +124,17 @@ function resolveCredentialsFromConfig(params) {
114
124
  status: "missing"
115
125
  };
116
126
  }
117
- function resolveGoogleChatAccount(params) {
127
+ function resolveGoogleChatAccountWithMode(params) {
118
128
  const accountId = normalizeAccountId(params.accountId ?? params.cfg.channels?.["googlechat"]?.defaultAccount);
119
129
  const baseEnabled = params.cfg.channels?.["googlechat"]?.enabled !== false;
120
130
  const merged = mergeGoogleChatAccountConfig(params.cfg, accountId);
121
131
  const accountEnabled = merged.enabled !== false;
122
132
  const enabled = baseEnabled && accountEnabled;
123
133
  const credentials = resolveCredentialsFromConfig({
134
+ cfg: params.cfg,
124
135
  accountId,
125
- account: merged
136
+ account: merged,
137
+ mode: params.mode
126
138
  });
127
139
  return {
128
140
  accountId,
@@ -136,11 +148,17 @@ function resolveGoogleChatAccount(params) {
136
148
  ...credentials.diagnostic ? { credentialDiagnostics: [credentials.diagnostic] } : {}
137
149
  };
138
150
  }
139
- function listEnabledGoogleChatAccounts(cfg) {
140
- return listGoogleChatAccountIds(cfg).map((accountId) => resolveGoogleChatAccount({
141
- cfg,
142
- accountId
143
- })).filter((account) => account.enabled);
151
+ function resolveGoogleChatAccount(params) {
152
+ return resolveGoogleChatAccountWithMode({
153
+ ...params,
154
+ mode: "strict"
155
+ });
156
+ }
157
+ function inspectGoogleChatAccount(params) {
158
+ return resolveGoogleChatAccountWithMode({
159
+ ...params,
160
+ mode: "inspect"
161
+ });
144
162
  }
145
163
  const googlechatSetupAdapter = createPatchedAccountSetupAdapter({
146
164
  channelKey: "googlechat",
@@ -232,38 +250,19 @@ const ENV_SERVICE_ACCOUNT = "GOOGLE_CHAT_SERVICE_ACCOUNT";
232
250
  const ENV_SERVICE_ACCOUNT_FILE = "GOOGLE_CHAT_SERVICE_ACCOUNT_FILE";
233
251
  const USE_ENV_FLAG = "__googlechatUseEnv";
234
252
  const AUTH_METHOD_FLAG = "__googlechatAuthMethod";
235
- const googlechatDmPolicy = {
253
+ const googlechatDmPolicy = createChannelDmPolicy({
236
254
  label: "Google Chat",
237
255
  channel,
238
- policyKey: "channels.googlechat.dmPolicy",
239
- allowFromKey: "channels.googlechat.allowFrom",
240
- resolveConfigKeys: (cfg, accountId) => (accountId ?? resolveDefaultGoogleChatAccountId(cfg)) !== DEFAULT_ACCOUNT_ID$1 ? {
241
- policyKey: `channels.googlechat.accounts.${accountId ?? resolveDefaultGoogleChatAccountId(cfg)}.dmPolicy`,
242
- allowFromKey: `channels.googlechat.accounts.${accountId ?? resolveDefaultGoogleChatAccountId(cfg)}.allowFrom`
243
- } : {
244
- policyKey: "channels.googlechat.dmPolicy",
245
- allowFromKey: "channels.googlechat.allowFrom"
246
- },
247
- getCurrent: (cfg, accountId) => resolveGoogleChatAccount({
256
+ resolveAccount: (cfg, accountId) => resolveGoogleChatAccount({
248
257
  cfg,
249
258
  accountId: accountId ?? resolveDefaultGoogleChatAccountId(cfg)
250
- }).config.dmPolicy ?? "pairing",
251
- setPolicy: (cfg, policy, accountId) => {
252
- const resolvedAccountId = accountId ?? resolveDefaultGoogleChatAccountId(cfg);
253
- const current = resolveGoogleChatAccount({
254
- cfg,
255
- accountId: resolvedAccountId
256
- }).config;
257
- return applySetupAccountConfigPatch({
258
- cfg,
259
- channelKey: channel,
260
- accountId: resolvedAccountId,
261
- patch: {
262
- dmPolicy: policy,
263
- ...policy === "open" ? { allowFrom: addWildcardAllowFrom(current.allowFrom) } : {}
264
- }
265
- });
266
- },
259
+ }),
260
+ applyPatch: ({ cfg, account, patch }) => applySetupAccountConfigPatch({
261
+ cfg,
262
+ channelKey: channel,
263
+ accountId: account.accountId,
264
+ patch
265
+ }),
267
266
  promptAllowFrom: createPromptParsedAllowFromForAccount({
268
267
  defaultAccountId: resolveDefaultGoogleChatAccountId,
269
268
  message: t("wizard.googlechat.allowFromPrompt"),
@@ -280,7 +279,7 @@ const googlechatDmPolicy = {
280
279
  patch: { allowFrom }
281
280
  })
282
281
  })
283
- };
282
+ });
284
283
  function createServiceAccountTextInput(params) {
285
284
  return {
286
285
  inputKey: params.inputKey,
@@ -446,6 +445,9 @@ const googleChatConfigAdapter = createScopedChannelConfigAdapter({
446
445
  }),
447
446
  resolveDefaultTo: (account) => account.config.defaultTo
448
447
  });
448
+ function isGoogleChatAccountConfigured(account) {
449
+ return account.tokenStatus ? account.tokenStatus !== "missing" : account.credentialSource !== "none";
450
+ }
449
451
  function createGoogleChatPluginBase(params = {}) {
450
452
  return {
451
453
  id: GOOGLECHAT_CHANNEL_ID,
@@ -472,10 +474,11 @@ function createGoogleChatPluginBase(params = {}) {
472
474
  ...params.configSchema ? { configSchema: params.configSchema } : {},
473
475
  config: {
474
476
  ...googleChatConfigAdapter,
475
- isConfigured: (account) => account.credentialSource !== "none",
477
+ inspectAccount: adaptScopedAccountAccessor(inspectGoogleChatAccount),
478
+ isConfigured: isGoogleChatAccountConfigured,
476
479
  describeAccount: (account) => describeAccountSnapshot({
477
480
  account,
478
- configured: account.credentialSource !== "none",
481
+ configured: isGoogleChatAccountConfigured(account),
479
482
  extra: {
480
483
  credentialSource: account.credentialSource,
481
484
  tokenStatus: account.tokenStatus
@@ -485,4 +488,4 @@ function createGoogleChatPluginBase(params = {}) {
485
488
  };
486
489
  }
487
490
  //#endregion
488
- export { googlechatSetupAdapter as a, resolveDefaultGoogleChatAccountId as c, googlechatSetupWizard as i, resolveGoogleChatAccount as l, createGoogleChatPluginBase as n, listEnabledGoogleChatAccounts as o, formatGoogleChatAllowFromEntry as r, listGoogleChatAccountIds as s, GOOGLECHAT_CHANNEL_ID as t, MAX_GOOGLE_CHAT_SERVICE_ACCOUNT_FILE_BYTES as u };
491
+ export { googlechatSetupAdapter as a, resolveDefaultGoogleChatAccountId as c, googlechatSetupWizard as i, resolveGoogleChatAccount as l, createGoogleChatPluginBase as n, inspectGoogleChatAccount as o, formatGoogleChatAllowFromEntry as r, listGoogleChatAccountIds as s, GOOGLECHAT_CHANNEL_ID as t, MAX_GOOGLE_CHAT_SERVICE_ACCOUNT_FILE_BYTES as u };
@@ -1,9 +1,9 @@
1
- import { c as resolveDefaultGoogleChatAccountId, l as resolveGoogleChatAccount, n as createGoogleChatPluginBase, s as listGoogleChatAccountIds, t as GOOGLECHAT_CHANNEL_ID } from "./channel-base-BOLIr2sb.js";
2
- import { a as googlechatPairingTextAdapter, d as isGoogleChatUserTarget, f as normalizeGoogleChatTarget, i as googlechatOutboundAdapter, n as googlechatGroupsAdapter, o as googlechatSecurityAdapter, p as resolveGoogleChatOutboundSessionRoute, r as googlechatMessageAdapter, s as googlechatThreadingAdapter, t as googlechatDirectoryAdapter, u as isGoogleChatSpaceTarget } from "./channel.adapters-X7Hlcajj.js";
1
+ import { c as resolveDefaultGoogleChatAccountId, l as resolveGoogleChatAccount, n as createGoogleChatPluginBase, o as inspectGoogleChatAccount, s as listGoogleChatAccountIds, t as GOOGLECHAT_CHANNEL_ID } from "./channel-base-hw9ErEr5.js";
2
+ import { a as googlechatPairingTextAdapter, d as isGoogleChatUserTarget, f as normalizeGoogleChatTarget, i as googlechatOutboundAdapter, n as googlechatGroupsAdapter, o as googlechatSecurityAdapter, p as resolveGoogleChatOutboundSessionRoute, r as googlechatMessageAdapter, s as googlechatThreadingAdapter, t as googlechatDirectoryAdapter, u as isGoogleChatSpaceTarget } from "./channel.adapters-DaipaeYt.js";
3
3
  import { n as buildChannelConfigSchema, t as GoogleChatConfigSchema } from "./config-api-CsD0IFxF.js";
4
4
  import { t as DEFAULT_ACCOUNT_ID } from "./runtime-api-Dh0CNVS4.js";
5
- import { n as googleChatApprovalAuth, r as normalizeGoogleChatApproverId, t as getGoogleChatApprovalApprovers } from "./approval-auth-BztBRceh.js";
6
- import { n as normalizeCompatibilityConfig, t as legacyConfigRules } from "./doctor-contract-CWlBAcKf.js";
5
+ import { n as googleChatApprovalAuth, r as normalizeGoogleChatApproverId, t as getGoogleChatApprovalApprovers } from "./approval-auth-ykO6i_ub.js";
6
+ import { n as normalizeCompatibilityConfig, t as legacyConfigRules } from "./doctor-contract-BpuSvJro.js";
7
7
  import { n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries } from "./secret-contract-BFYyuE0F.js";
8
8
  import { createChatChannelPlugin } from "openclaw/plugin-sdk/channel-core";
9
9
  import { buildPassiveProbedChannelStatusSummary } from "openclaw/plugin-sdk/extension-shared";
@@ -141,7 +141,7 @@ const googleChatApprovalCapability = createApproverRestrictedNativeApprovalCapab
141
141
  approvalKind,
142
142
  request
143
143
  }),
144
- load: async () => (await import("./approval-handler.runtime-CWoYapMp.js")).googleChatApprovalNativeRuntime
144
+ load: async () => (await import("./approval-handler.runtime-CBeHrXtL.js")).googleChatApprovalNativeRuntime
145
145
  })
146
146
  });
147
147
  const collectGoogleChatMutableAllowlistWarnings = createDangerousNameMatchingMutableAllowlistWarningCollector({
@@ -164,7 +164,7 @@ const collectGoogleChatMutableAllowlistWarnings = createDangerousNameMatchingMut
164
164
  });
165
165
  //#endregion
166
166
  //#region extensions/googlechat/src/gateway.ts
167
- const loadGoogleChatChannelRuntime$1 = createLazyRuntimeNamedExport(() => import("./channel.runtime-rGazhnxA.js"), "googleChatChannelRuntime");
167
+ const loadGoogleChatChannelRuntime$1 = createLazyRuntimeNamedExport(() => import("./channel.runtime-BbwE9vOC.js"), "googleChatChannelRuntime");
168
168
  async function startGoogleChatGatewayAccount(ctx) {
169
169
  const account = ctx.account;
170
170
  const statusSink = createAccountStatusSink({
@@ -225,23 +225,25 @@ async function startGoogleChatGatewayAccount(ctx) {
225
225
  }
226
226
  }
227
227
  //#endregion
228
+ //#region extensions/googlechat/src/message-tool-api.ts
229
+ function describeGoogleChatMessageTool({ cfg, accountId }) {
230
+ return (accountId ? [inspectGoogleChatAccount({
231
+ cfg,
232
+ accountId
233
+ })] : listGoogleChatAccountIds(cfg).map((listedAccountId) => inspectGoogleChatAccount({
234
+ cfg,
235
+ accountId: listedAccountId
236
+ }))).some((account) => account.enabled && account.credentialSource !== "none" && account.tokenStatus === "available") ? { actions: ["send"] } : null;
237
+ }
238
+ //#endregion
228
239
  //#region extensions/googlechat/src/channel.ts
229
- const loadGoogleChatChannelRuntime = createLazyRuntimeNamedExport(() => import("./channel.runtime-rGazhnxA.js"), "googleChatChannelRuntime");
240
+ const loadGoogleChatChannelRuntime = createLazyRuntimeNamedExport(() => import("./channel.runtime-BbwE9vOC.js"), "googleChatChannelRuntime");
230
241
  const googlechatActions = {
231
- describeMessageTool: ({ cfg, accountId }) => {
232
- if ((accountId ? [resolveGoogleChatAccount({
233
- cfg,
234
- accountId
235
- })].filter((account) => account.enabled && account.credentialSource !== "none" && account.tokenStatus !== "configured_unavailable") : listGoogleChatAccountIds(cfg).map((id) => resolveGoogleChatAccount({
236
- cfg,
237
- accountId: id
238
- })).filter((account) => account.enabled && account.credentialSource !== "none" && account.tokenStatus !== "configured_unavailable")).length === 0) return null;
239
- return { actions: ["send"] };
240
- },
242
+ describeMessageTool: describeGoogleChatMessageTool,
241
243
  supportsAction: ({ action }) => action === "send",
242
244
  extractToolSend: ({ args }) => extractToolSend(args, "sendMessage"),
243
245
  handleAction: async (ctx) => {
244
- const { googlechatMessageActions } = await import("./actions-DBF3ImbA.js");
246
+ const { googlechatMessageActions } = await import("./actions-D81dCtkC.js");
245
247
  if (!googlechatMessageActions.handleAction) throw new Error("Google Chat actions are not available.");
246
248
  return await googlechatMessageActions.handleAction(ctx);
247
249
  }
@@ -376,4 +378,4 @@ const googlechatPlugin = createChatChannelPlugin({
376
378
  }
377
379
  });
378
380
  //#endregion
379
- export { isGoogleChatNativeApprovalClientEnabled as n, shouldHandleGoogleChatNativeApprovalRequest as r, googlechatPlugin as t };
381
+ export { shouldHandleGoogleChatNativeApprovalRequest as i, describeGoogleChatMessageTool as n, isGoogleChatNativeApprovalClientEnabled as r, googlechatPlugin as t };
@@ -1,2 +1,2 @@
1
- import { t as googlechatPlugin } from "./channel-DMP6V9MO.js";
1
+ import { t as googlechatPlugin } from "./channel-kouqKs2x.js";
2
2
  export { googlechatPlugin };
@@ -1,4 +1,4 @@
1
- import { l as resolveGoogleChatAccount, r as formatGoogleChatAllowFromEntry, u as MAX_GOOGLE_CHAT_SERVICE_ACCOUNT_FILE_BYTES } from "./channel-base-BOLIr2sb.js";
1
+ import { l as resolveGoogleChatAccount, r as formatGoogleChatAllowFromEntry, u as MAX_GOOGLE_CHAT_SERVICE_ACCOUNT_FILE_BYTES } from "./channel-base-hw9ErEr5.js";
2
2
  import { d as fetchWithSsrFGuard$1, m as missingTargetError, r as PAIRING_APPROVED_MESSAGE } from "./runtime-api-Dh0CNVS4.js";
3
3
  import { buildChannelOutboundSessionRoute } from "openclaw/plugin-sdk/channel-core";
4
4
  import { createLazyRuntimeNamedExport } from "openclaw/plugin-sdk/lazy-runtime";
@@ -12,7 +12,7 @@ import crypto from "node:crypto";
12
12
  import { pruneMapToMaxSize } from "openclaw/plugin-sdk/collection-runtime";
13
13
  import { readProviderJsonResponse } from "openclaw/plugin-sdk/provider-http";
14
14
  import { createMessageReceiptFromOutboundResults, defineChannelMessageAdapter, sanitizeForPlainText } from "openclaw/plugin-sdk/channel-outbound";
15
- import { markdownToIR, renderMarkdownIRChunksWithinLimit, renderMarkdownWithMarkers, sanitizeAssistantVisibleText } from "openclaw/plugin-sdk/text-chunking";
15
+ import { FormatCapabilityProfile, markdownToIR, renderMarkdownIRChunksWithinLimit, renderMarkdownWithMarkers, sanitizeAssistantVisibleText } from "openclaw/plugin-sdk/text-chunking";
16
16
  import fs from "node:fs/promises";
17
17
  import { adaptScopedAccountAccessor } from "openclaw/plugin-sdk/channel-config-helpers";
18
18
  import { buildChannelGroupsScopeTree, composeAccountWarningCollectors, createAllowlistProviderOpenWarningCollector, resolveScopeRequireMention } from "openclaw/plugin-sdk/channel-policy";
@@ -616,6 +616,7 @@ const GOOGLECHAT_MEDIA_MAX_TIMEOUT_MS = 15 * 6e4;
616
616
  const GOOGLECHAT_RESPONSE_READ_IDLE_TIMEOUT_MS = 3e4;
617
617
  const GOOGLECHAT_JSON_RESPONSE_MAX_BYTES = 16 * 1024 * 1024;
618
618
  const GOOGLECHAT_ERROR_BODY_MAX_BYTES = 16 * 1024;
619
+ const GOOGLE_CHAT_MEDIA_RESPONSE_MAX_BYTES = 20 * 1024 * 1024;
619
620
  function resolveGoogleChatMediaTimeoutMs(maxBytes) {
620
621
  if (!maxBytes) return GOOGLECHAT_MEDIA_MAX_TIMEOUT_MS;
621
622
  const transferMs = Math.ceil(maxBytes / GOOGLECHAT_MEDIA_MIN_BYTES_PER_SECOND * 1e3);
@@ -664,6 +665,7 @@ async function withGoogleChatResponse(params) {
664
665
  }
665
666
  return await handleResponse(response);
666
667
  } finally {
668
+ if (!response.bodyUsed) response.body?.cancel().catch(() => void 0);
667
669
  await release();
668
670
  }
669
671
  }
@@ -699,16 +701,12 @@ async function fetchBuffer(account, url, init, options) {
699
701
  auditContext: "googlechat.api.buffer",
700
702
  timeoutMs: resolveGoogleChatMediaTimeoutMs(options?.maxBytes),
701
703
  handleResponse: async (res) => {
702
- const maxBytes = options?.maxBytes;
704
+ const maxBytes = options?.maxBytes ?? GOOGLE_CHAT_MEDIA_RESPONSE_MAX_BYTES;
703
705
  const lengthHeader = res.headers.get("content-length");
704
- if (maxBytes && lengthHeader) {
706
+ if (lengthHeader) {
705
707
  const length = parseMediaContentLength(lengthHeader);
706
708
  if (length !== null && length > maxBytes) throw new Error(`Google Chat media exceeds max bytes (${maxBytes})`);
707
709
  }
708
- if (!maxBytes) return {
709
- buffer: Buffer.from(await res.arrayBuffer()),
710
- contentType: res.headers.get("content-type") ?? void 0
711
- };
712
710
  return {
713
711
  buffer: await readResponseWithLimit(res, maxBytes, {
714
712
  chunkTimeoutMs: GOOGLECHAT_RESPONSE_READ_IDLE_TIMEOUT_MS,
@@ -868,24 +866,16 @@ async function resolveGoogleChatOutboundSessionRoute(params) {
868
866
  }
869
867
  //#endregion
870
868
  //#region extensions/googlechat/src/format.ts
871
- const GOOGLE_CHAT_FORMAT_PROFILE = {
869
+ const GOOGLE_CHAT_FORMAT_PROFILE = FormatCapabilityProfile.define({
872
870
  mechanism: "markdown",
873
871
  constructs: {
874
- bold: "native",
875
- italic: "native",
876
872
  underline: "fallback",
877
- strikethrough: "native",
878
873
  spoiler: "fallback",
879
- codeInline: "native",
880
- codeBlock: "native",
881
874
  codeLanguage: "fallback",
882
- linkLabel: "native",
883
875
  heading: "fallback",
884
- bulletList: "native",
885
876
  orderedList: "fallback",
886
877
  taskList: "fallback",
887
878
  table: "fallback",
888
- blockquote: "native",
889
879
  image: "fallback",
890
880
  mention: "strip"
891
881
  },
@@ -893,7 +883,7 @@ const GOOGLE_CHAT_FORMAT_PROFILE = {
893
883
  limit: 32e3,
894
884
  unit: "bytes"
895
885
  }
896
- };
886
+ });
897
887
  const GOOGLE_CHAT_LITERAL_FALLBACKS = /* @__PURE__ */ new Map([
898
888
  ["*", "*"],
899
889
  ["_", "_"],
@@ -1169,7 +1159,7 @@ function resolveGoogleChatGroupRequireMention(params) {
1169
1159
  }
1170
1160
  //#endregion
1171
1161
  //#region extensions/googlechat/src/channel.adapters.ts
1172
- const loadGoogleChatChannelRuntime = createLazyRuntimeNamedExport(() => import("./channel.runtime-rGazhnxA.js"), "googleChatChannelRuntime");
1162
+ const loadGoogleChatChannelRuntime = createLazyRuntimeNamedExport(() => import("./channel.runtime-BbwE9vOC.js"), "googleChatChannelRuntime");
1173
1163
  function createGoogleChatSendReceipt(params) {
1174
1164
  const messageId = params.messageId?.trim();
1175
1165
  return createMessageReceiptFromOutboundResults({