Workspace 事件内容可能进入终端记录或长期保存在本地 JSON 文件中
原文依据:3 处命令会以 NDJSON 输出事件,并可把每个事件写入指定目录;示例订阅的是聊天消息创建事件。事件载荷可能包含消息内容、人员或空间标识等 Workspace 数据。
共享终端日志、代理会话记录、备份或权限宽松的输出目录可能让其他人读取这些事件数据。
该 Skill 明确把 Workspace 事件流输出为 NDJSON,并允许将每个事件写入本地目录;示例订阅聊天消息创建事件。因此,在用户启用 `--output-dir` 或终端输出被记录时,事件载荷可能留存在本地文件或日志中。来源未展示具体载荷字段,不能断定一定包含消息正文。用户可要求作者说明字段与保留策略,并将输出限制到受保护的临时目录。
Subscribe to Workspace events and stream them as NDJSON查看另外 2 个位置
| `--no-ack` | — | — | Don't auto-acknowledge messages || `--output-dir` | — | — | Write each event to a separate JSON file in this directory |```bashgws events +subscribe --target '//chat.googleapis.com/spaces/SPACE' --event-types 'google.workspace.chat.message.v1.created' --project my-projectgws events +subscribe --subscription projects/p/subscriptions/my-sub --once