MCPcopy Create free account
hub / github.com/Gan-Xing/CodexBridge / formatProgressNote

Function formatProgressNote

packages/mission-control/src/progress.ts:168–180  ·  view source on GitHub ↗
(kind: MissionProgressKind, message: string)

Source from the content-addressed store, hash-verified

166}
167
168function formatProgressNote(kind: MissionProgressKind, message: string): string | null {
169 switch (kind) {
170 case 'summary':
171 return `Summary: ${message}`;
172 case 'blocker':
173 return `Blocker: ${message}`;
174 case 'artifact':
175 return `Artifact: ${message}`;
176 case 'substep':
177 case 'note':
178 return message;
179 }
180}
181
182function normalizeText(value: string | null | undefined): string | null {
183 if (typeof value !== 'string') {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected