umouse_get_events
Fetch device events since a cursor without blocking, optionally filtering by event type. Pass the returned nextSince as the next since value to continue reading.
Instructions
非阻塞拉取自上次游标以来的设备事件。返回 {events:[{seq,ts,deviceId,type,payload}], nextSince, buffer}。务必把返回的 nextSince 作为下次调用的 since 续读(seq 严格递增,不重放)。可用 type:connected | disconnected | keyEvent | deviceInfo | dpiChanged | meetingCreated | meetingDestroyed(origin=device-frame 设备确认 / transport-down 异常结束) | meetingBusy | meetingCreateFailed | audioSegmentComplete(本段音频已全部交付:segment 采集代次 + reason) | queueOverflow | warning | lavalierMicStatus | lavalierMicBattery | speechCaptured(server 生成:语音键自动录音完成,payload 含 WAV 路径) | speechTranscribed(转写状态已落盘,payload 含 eventId/status;全文用 umouse_voice_inbox) | sleepReset(120 秒重置睡眠计时,写入与 ACK 独立记录) | voiceSession / voiceBusy / voiceUnavailable / voiceCloseUnconfirmed / voiceKeyHoldIsolation(v2 语音编排会话事件)。keyEvent payload={key: speech|translation|m|ai|capture|raw, action: down|up|hold|click, index(M 键序号)};speechCaptured payload={path(WAV), durationMs, bytes, autoStopped}。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 本次最多返回条数 | |
| since | No | 上次返回的 nextSince;首次传 0 | |
| types | No | 按 type 过滤(如 ["keyEvent"]) |