MCPcopy
hub / github.com/opactorai/Claudable / publishStatus

Function publishStatus

lib/services/cli/cursor.ts:68–77  ·  view source on GitHub ↗
(projectId: string, status: keyof typeof STATUS_LABELS, requestId?: string, message?: string)

Source from the content-addressed store, hash-verified

66Keep responses concise and focus on the code or command outputs that unblock the user.`;
67
68function publishStatus(projectId: string, status: keyof typeof STATUS_LABELS, requestId?: string, message?: string) {
69 streamManager.publish(projectId, {
70 type: 'status',
71 data: {
72 status,
73 message: message ?? STATUS_LABELS[status] ?? '',
74 ...(requestId ? { requestId } : {}),
75 },
76 });
77}
78
79async function ensureProjectPath(projectId: string, projectPath: string): Promise<string> {
80 const project = await getProjectById(projectId);

Callers 3

handleCursorFailureFunction · 0.70
executeCursorFunction · 0.70
runCursorOnceFunction · 0.70

Calls 1

publishMethod · 0.80

Tested by

no test coverage detected