Hands-free and voice: queued work moves on by itself, and the person hears what is waiting
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- javascript, macos, swift
调研方向
Start with the queue and approval flow in mcp-server/godkend.js and mcp-server/index.js, then read mcp-server/status.js and the status helper under helper/Sources/cmcp-status/. The issue splits the work across auto-continuing queued calls, optional macOS speech, client notification measurements, and Voice Control checks; pick one part and trace its existing tests. Done for the full issue includes the stated acceptance criteria, including measured client results in the README and tests showing speech cannot approve.
由索引模型根据 Issue 内容生成。
描述
Why
People increasingly drive their agents hands-free: a voice mode in the chat app, dictation, macOS Voice Control, a phone call into an agent. In those setups nobody is looking at the menu bar and nobody types "try again". Today computer-mcp assumes someone will: when something is waiting, it waits for the agent to call again or the person to notice the icon. For hands-free use, work that lands in the queue should move on by itself, and the person should be able to hear what is waiting.
How it works today (measured from the code, 25 Nov)
- No voice code at all. A code search for
voice,speech,dictationin the repo finds nothing. The only audio is one sound per new question (helper/Sources/cmcp-status/Lyd.swift,test/ikon-lyd.mjs), plus the notification banner added in 0.4.1. - A stdio server cannot start a turn. The server only acts when its client calls a tool (
StdioServerTransportinmcp-server/index.js). It cannot make a voice assistant speak or start a new turn by itself. - Waiting means "call again". A menu bar question answers after about 45 s with "has not answered yet", and the answer is collected only when the agent calls again with exactly the same tool and arguments (
CMCP_ASK_WINDOW/CMCP_ASK_KEEPinmcp-server/godkend.js,test/svar-senere.mjs). A screen request with another agent holding the screen returns "ask again in a moment" (skaermLaaninindex.js). In voice mode, that "again" never comes. - Approvals need Touch ID or the Mac's password in the icon, every time. That stays: a spoken "yes" can be faked by anything that can play audio, so voice must never be a yes.
Proposed approach (each part can be its own PR)
- Auto-continue from the queue - builds on #17. When the per-app lock or the screen becomes free, the waiting call proceeds in the same call (with
notifications/progresskeeping it alive), so a hands-free session never has to say "try again". - Wake on queue - builds on #18. With the icon running at login, it watches the queue (
pending.jsonl, the lock folder) and wakes up when something lands: banner + sound today, and optionally speaks a short line ("Claude wants to send a message in Mail - approve with Touch ID") using macOS speech (AVSpeechSynthesizer, no third-party dependency). Off by default, switchable in the icon's menu, and the spoken text says what and where, never what is being typed. - Hand the answer back without a retry. After the person approves in the icon, a call that is still open gets its answer directly. For a call that has already returned "has not answered yet", investigate what MCP offers to tell the client (
notifications/message,notifications/progress, a resource update) and measure which clients actually turn that into a new turn or a spoken line - Claude desktop/mobile voice, ChatGPT voice, Cursor, Claude Code, Raycast, Siri Shortcuts. Write down what was measured; do not assume. - Voice Control friendly. Check that the box's
Deny/Donebuttons and the icon's menu can be operated by macOS Voice Control ("Click Deny"), whileAllowstill requires Touch ID.
Acceptance criteria
- With the icon started at login (#18), a request that lands in the queue is announced with no manual step, and the queued action runs by itself when it is its turn (#17).
- Spoken announcements are opt-in, contain no typed text and no window contents beyond what the box already shows, and are covered by a test like
test/ikon-lyd.mjs. - Voice can never approve: a test proves that no path from speech or a banner reaches
verified: 'owner'without Touch ID or the password. - A table in the README of which clients turn a server notification into something the person hears, measured.
Pointers
mcp-server/godkend.js, mcp-server/index.js (skaermLaan, server setup), mcp-server/audit.js (pending.jsonl), mcp-server/status.js (startIkon), helper/Sources/cmcp-status/main.swift, helper/Sources/cmcp-status/Lyd.swift, test/ikon-lyd.mjs, test/svar-senere.mjs, test/ikon-boks.mjs.
Related: #17 (the queue) and #18 (switching on by itself). If you use your Mac hands-free, or work on a voice client, your measurements are the most valuable thing here - even a comment saying "in client X, a progress notification did / did not get spoken" helps. Comment if you want to take a part.
- 主要语言
- JavaScript
- 星标
- 1
- 派生
- 0
- 平均合并
- 1 天 21 小时
- 30 天内合并 PR
- 9
环境准备
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Agent360dk/computerMCP 的其他 Issue
-
Recipes for the native Mac apps everyone uses (Finder, Mail, Notes, System Settings, Safari, ...)未关闭good first issue recipe
难度 2/5 1-3 小时 新手友好度 82/100
Agent360dk/computerMCP#21 ·
-
documentation good first issue
难度 2/5 1-3 小时 新手友好度 76/100
Agent360dk/computerMCP#20 ·
-
good first issue help wanted protection-list
难度 1/5 1 小时以内 新手友好度 94/100
-
enhancement help wanted
难度 4/5 3-5 天 新手友好度 50/100
Agent360dk/computerMCP#24 ·
-
documentation good first issue
难度 3/5 1-2 天 新手友好度 72/100
Agent360dk/computerMCP#23 ·
查看 Agent360dk/computerMCP 的全部 Issue
相似的 Issue
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:auth-provider issue-rating: 🦞 diamond lobster no-stale P2
难度 2/5 1-3 小时 新手友好度 82/100
openclaw/clawrouter#1348 · 1 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
Missing repro Platform: Android
难度 2/5 1-3 小时 新手友好度 76/100
software-mansion/react-native-reanimated#11554 · 1 条评论 ·
维护者通常 1 天内回复
-
[DOCS]: Correct ESM initialization in the README examples可能已有人在做 @VIOLETee0 今天认领。 未关闭
难度 1/5 1-3 小时 新手友好度 88/100
octokit/graphql.js#716 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
directus/directus#28558 · 1 条评论 ·
维护者通常 2 天内回复