MCPcopy Create free account
hub / github.com/agentforce314/clawcodex / LocalAgentTask

Class LocalAgentTask

src/tasks/local_agent.py:391–405  ·  view source on GitHub ↗

``Task`` adapter for ``local_agent`` entries. Polymorphic dispatch target for ``stop_task`` (Phase 5). The Chunk-C body delegates to ``kill_async_agent`` so the registry update + abort signal stay in one place.

Source from the content-addressed store, hash-verified

389
390
391class LocalAgentTask:
392 """``Task`` adapter for ``local_agent`` entries.
393
394 Polymorphic dispatch target for ``stop_task`` (Phase 5). The
395 Chunk-C body delegates to ``kill_async_agent`` so the registry
396 update + abort signal stay in one place.
397 """
398
399 name: str = "LocalAgentTask"
400 type: Literal["local_agent"] = "local_agent"
401
402 async def kill(
403 self, task_id: str, registry: "RuntimeTaskRegistry"
404 ) -> None:
405 kill_async_agent(task_id, registry)
406
407
408__all__ = [

Callers 1

__init__.pyFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected