Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.
Python agent-orchestrationai-agentai-coding-assistantclaude-codecoding-agentcomputer-usedesktop-applocal-firstmcppersonal-jarvisvoice-assistantvoice-coding
from dodaios.core.capabilities import Capability, CapabilityRegistry
def _cap(cid: str) -> Capability:
return Capability(
id=cid, source="mcp", verbs=("lies",), objects=("postfach",),
description="x", risk_tier="ask", requires_evidence=True,
)
def test_deregister_removes_capability():
reg = CapabilityRegistry()
reg.register(_cap("plugin.gmail"))
assert reg.resolve_intent("lies mein postfach") is not None
reg.deregister("plugin.gmail")
assert reg.resolve_intent("lies mein postfach") is None
def test_deregister_unknown_is_noop():
reg = CapabilityRegistry()
reg.deregister("does.not.exist") # must not raise