MCPcopy Index your code
hub / github.com/coder/mux / getAgentTaskStatus

Method getAgentTaskStatus

src/node/services/taskService.ts:5562–5569  ·  view source on GitHub ↗
(taskId: string)

Source from the content-addressed store, hash-verified

5560 }
5561
5562 getAgentTaskStatus(taskId: string): AgentTaskStatus | null {
5563 assert(taskId.length > 0, "getAgentTaskStatus: taskId must be non-empty");
5564
5565 const cfg = this.config.loadConfigOrDefault();
5566 const entry = findWorkspaceEntry(cfg, taskId);
5567 const status = entry?.workspace.taskStatus;
5568 return status ?? null;
5569 }
5570
5571 getAgentTaskTimestamps(taskId: string): AgentTaskTimestamps | null {
5572 assert(taskId.length > 0, "getAgentTaskTimestamps: taskId must be non-empty");

Callers 4

sendMessageMethod · 0.80
resumeStreamMethod · 0.80
awaitOneFunction · 0.80

Calls 3

findWorkspaceEntryFunction · 0.90
loadConfigOrDefaultMethod · 0.80
assertFunction · 0.50

Tested by

no test coverage detected