feat: browser-MCP auf OpenCode browse umstellen, talk-Skill vendoren
mcp/browser.yaml startet jetzt browse.exe mcp statt @playwright/mcp@latest (ungepinnt über bun x). Der Server-Key bleibt browser, die Fleet-Allowlist browser_* gilt weiter. talk-Skill als externe Quelle, gepinnt auf v0.1.2 (gleiche Version wie die Fleet-Binary). Erst nach dem Fleet-Rollout von browse.exe mergen (az-fleet-ehf). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -192,6 +192,27 @@
|
||||
"brainstorming"
|
||||
]
|
||||
}
|
||||
},
|
||||
"talk": {
|
||||
"url": "https://code.m3ta.dev/m3tam3re/talk.git",
|
||||
"ref": "v0.1.2",
|
||||
"rev": "02d66a141e41e174302a1d8339b34ed05f814d92",
|
||||
"selection": {
|
||||
"mode": "include",
|
||||
"include": [
|
||||
"talk"
|
||||
],
|
||||
"exclude_types": [
|
||||
"agents",
|
||||
"commands",
|
||||
"mcp"
|
||||
]
|
||||
},
|
||||
"inventory": {
|
||||
"skills": [
|
||||
"talk"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
# Standing order for talk (copy into the project's AGENTS.md)
|
||||
|
||||
```markdown
|
||||
## Voice notifications (talk)
|
||||
Speak via `talk "<1-2 sentences>"` when a task ran longer than ~30 s and is
|
||||
done, when you are blocked and need me (then `talk --now`), or when something
|
||||
failed. Content: status, next step, what you need me for; never the answer
|
||||
itself. `muted` and `discarded` are my decision: respect them, do not work
|
||||
around them.
|
||||
```
|
||||
|
||||
Without this block (and without a request in the session) an agent does not
|
||||
speak; talk is strict opt-in.
|
||||
Vendored
+83
@@ -0,0 +1,83 @@
|
||||
---
|
||||
name: talk
|
||||
description: "Use when the user has asked for voice notifications, either explicitly in this session or as a standing order in the project's AGENTS.md, and (1) a long-running task finishes (build, tests, deploy, data job), (2) the agent is blocked and needs the user's decision or approval, or (3) something failed that the user should know about now. Triggers: talk, say it, sag Bescheid, melde dich, notify me, let me know when done, voice, Ansage. Strict opt-in: never speak without the user's trigger or standing order."
|
||||
compatibility: opencode, claude-code, codex
|
||||
---
|
||||
|
||||
# talk: voice notifications for agents
|
||||
|
||||
`talk "Build done"` speaks a short announcement through the local talk daemon
|
||||
(queue, rate limit, mute, quiet hours). One binary; it starts the daemon
|
||||
itself on the first call. Nothing to install except `talk` in the PATH.
|
||||
|
||||
## When to Use: strict opt-in
|
||||
|
||||
Speak **only** if one of these holds:
|
||||
|
||||
1. The user asked for it in this session ("let me know when the build is
|
||||
through", "tell me when you need me"). That then applies
|
||||
**session-sticky until revoked**; do not ask again with every reply.
|
||||
2. The project's AGENTS.md contains a standing order (see
|
||||
`AGENTS-snippet.md`).
|
||||
|
||||
Then speak on: completion of long tasks (> ~30 s), blockers that need the
|
||||
user (decision, approval, password), failures that matter right now.
|
||||
|
||||
## When NOT to Use
|
||||
|
||||
- Without a trigger or standing order. Never chatter on your own.
|
||||
- For short replies, intermediate status, or any tool output.
|
||||
- To read the long answer aloud. The daemon truncates at 400 characters,
|
||||
but the goal is 1 to 2 sentences.
|
||||
- When `talk` returns `muted` or `discarded: quiet_hours`: that is the
|
||||
user's decision. Do not work around it, do not follow up with `--now`.
|
||||
|
||||
## What makes a good announcement
|
||||
|
||||
**Status, next step, what the user is needed for.** Never the answer
|
||||
itself.
|
||||
|
||||
| good | bad |
|
||||
| --- | --- |
|
||||
| "Tests green, PR is ready for review." | "I ran the tests and all 247 tests passed successfully, and I also ..." |
|
||||
| "Deploy failed, code 1. I need your decision on the migration." | "Error." |
|
||||
| "I need your sudo password in the terminal." | (waiting silently) |
|
||||
|
||||
Language: write in the user's language. talk speaks English by default and
|
||||
German when the configured language is `de` or when detection says so
|
||||
(`--lang` forces it).
|
||||
|
||||
## Usage
|
||||
|
||||
```bash
|
||||
talk "Tests green, PR ready for review." # non-blocking, item ID on stdout
|
||||
talk --wait "Deploy finished." # return only once spoken
|
||||
talk --priority high "Build red, code 2." # may break the rate limit
|
||||
talk --now "I need you: approval in the terminal." # jumps the queue, also in quiet hours; blockers only
|
||||
echo "Import finished" | talk # stdin works too
|
||||
talk wrap -- make test # run a command, announce success/failure and duration
|
||||
```
|
||||
|
||||
Replies on stdout: an item ID (accepted), `muted`, or
|
||||
`discarded: rate_limit|quiet_hours`. Exit 0 in all three cases; a discard
|
||||
is not an error. Non-zero exit only on real problems (no text, invalid
|
||||
flags, broken config); then do not retry, tell the user instead.
|
||||
|
||||
## Etiquette towards the daemon
|
||||
|
||||
- **Rate limit** (default 1 announcement / 30 s): `normal` waits, `low` is
|
||||
discarded, `high` may pass. Not everything is `high`.
|
||||
- **`--now`** is for blockers that need the user, not for "done". It breaks
|
||||
out of quiet hours and the rate limit; that is a deliberate interruption.
|
||||
- **Mute and quiet hours** are user decisions. Respect them, do not work
|
||||
around them. The daemon enforces them anyway.
|
||||
- Several things at once? **One** announcement that summarises, not five.
|
||||
|
||||
## Pitfalls
|
||||
|
||||
- `talk` not found: do not improvise (no `say`, `espeak`, `notify-send`).
|
||||
Tell the user that talk is missing.
|
||||
- No sound on the user's side: suggest `talk doctor`; do not fiddle with
|
||||
keys or config yourself.
|
||||
- Keys come from `TALK_ELEVENLABS_KEY` / `TALK_OPENAI_KEY` (env). Never
|
||||
write them to files, never print them in announcements or logs.
|
||||
+9
-2
@@ -1,6 +1,13 @@
|
||||
# OpenCode browse (github.com/anomalyco/browse): steuert den echten Browser
|
||||
# des Nutzers (Chrome/Edge/Vivaldi) über die browse-Extension. browse.exe
|
||||
# rollt az-fleet versionsgepinnt nach C:\Program Files\browse aus (Machine-
|
||||
# PATH), die Extension per Browser-Policy (az-fleet-ehf). Server-Key bleibt
|
||||
# "browser", damit die Fleet-Allowlist browser_* weiter greift.
|
||||
# Erst mergen, wenn browse.exe fleetweit ausgerollt ist — sonst startet der
|
||||
# Server nicht.
|
||||
browser:
|
||||
type: local
|
||||
command: ["bun", "x", "@playwright/mcp@latest", "--extension"]
|
||||
command: ["browse", "mcp"]
|
||||
environment:
|
||||
PLAYWRIGHT_BROWSERS_PATH: ""
|
||||
OPENCODE_BROWSER_AUTO_UPDATE: "off"
|
||||
codemode: false
|
||||
|
||||
Reference in New Issue
Block a user