Register WebMCP tools in the dashboard so an in-browser agent can read tasks/events/health and recover stuck tasks, wrapping the same ui/src/lib/api.ts paths the UI uses. Feature-detect document.modelContext.registerTool and no-op when absent; signal-based unregister. Read-only: list_tasks, get_task, recent_events, daemon_health. Consequential: retry_task, stop_task, cancel_task. untrustedContentHint on tools returning agent/operator/inbound content.
Acceptance criteria
Framework-agnostic module (no component coupling); read-only tools readOnlyHint true; the three recovery tools consequentialHint true; every tool returning agent/operator/inbound content untrustedContentHint true; graceful no-op without document.modelContext; verified in system Chrome with --enable-features=WebMCP via getTools/executeTool; full task check green.
Close reason
Verified in Chrome 156 with --enable-features=WebMCP: getTools lists 7 tools, read-only hints on list_tasks/get_task/recent_events/daemon_health, consequentialHint on retry/stop/cancel, untrustedContentHint on content tools; executeTool daemon_health and list_tasks return data. Plain Chromium without the flag loads normally.
Imported from beads archie-core-1786637490224-17-26cbc53b.1 · GitHub #1101 · type epic · priority P2 · created 2026-09-22 · closed 2026-10-23
Register WebMCP tools in the dashboard so an in-browser agent can read tasks/events/health and recover stuck tasks, wrapping the same ui/src/lib/api.ts paths the UI uses. Feature-detect document.modelContext.registerTool and no-op when absent; signal-based unregister. Read-only: list_tasks, get_task, recent_events, daemon_health. Consequential: retry_task, stop_task, cancel_task. untrustedContentHint on tools returning agent/operator/inbound content.
### Acceptance criteria
Framework-agnostic module (no component coupling); read-only tools readOnlyHint true; the three recovery tools consequentialHint true; every tool returning agent/operator/inbound content untrustedContentHint true; graceful no-op without document.modelContext; verified in system Chrome with --enable-features=WebMCP via getTools/executeTool; full task check green.
### Close reason
Verified in Chrome 156 with --enable-features=WebMCP: getTools lists 7 tools, read-only hints on list_tasks/get_task/recent_events/daemon_health, consequentialHint on retry/stop/cancel, untrustedContentHint on content tools; executeTool daemon_health and list_tasks return data. Plain Chromium without the flag loads normally.
---
_Imported from beads `archie-core-1786637490224-17-26cbc53b.1` · GitHub #1101 · type epic · priority P2 · created 2026-09-22 · closed 2026-10-23_
sam
added the mediumepic labels 2026-10-27 13:34:34 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Register WebMCP tools in the dashboard so an in-browser agent can read tasks/events/health and recover stuck tasks, wrapping the same ui/src/lib/api.ts paths the UI uses. Feature-detect document.modelContext.registerTool and no-op when absent; signal-based unregister. Read-only: list_tasks, get_task, recent_events, daemon_health. Consequential: retry_task, stop_task, cancel_task. untrustedContentHint on tools returning agent/operator/inbound content.
Acceptance criteria
Framework-agnostic module (no component coupling); read-only tools readOnlyHint true; the three recovery tools consequentialHint true; every tool returning agent/operator/inbound content untrustedContentHint true; graceful no-op without document.modelContext; verified in system Chrome with --enable-features=WebMCP via getTools/executeTool; full task check green.
Close reason
Verified in Chrome 156 with --enable-features=WebMCP: getTools lists 7 tools, read-only hints on list_tasks/get_task/recent_events/daemon_health, consequentialHint on retry/stop/cancel, untrustedContentHint on content tools; executeTool daemon_health and list_tasks return data. Plain Chromium without the flag loads normally.
Imported from beads
archie-core-1786637490224-17-26cbc53b.1· GitHub #1101 · type epic · priority P2 · created 2026-09-22 · closed 2026-10-23