MCPcopy Create free account
hub / github.com/Noumena-Network/code / formatTaskSummary

Function formatTaskSummary

src/cli/handlers/ant.ts:100–112  ·  view source on GitHub ↗
(task: Task)

Source from the content-addressed store, hash-verified

98}
99
100function formatTaskSummary(task: Task): string {
101 const parts = [`#${task.id}`, `[${task.status}]`, task.subject]
102 if (task.owner) {
103 parts.push(`owner=${task.owner}`)
104 }
105 if (task.blockedBy.length > 0) {
106 parts.push(`blockedBy=${task.blockedBy.join(',')}`)
107 }
108 if (task.blocks.length > 0) {
109 parts.push(`blocks=${task.blocks.join(',')}`)
110 }
111 return parts.join(' ')
112}
113
114function normalizeSelectionIndex(
115 value: number,

Callers 1

taskListHandlerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected