Skip to content

src

Module summary

Module src

Exports

NameKindDefault
Orchestratorclassno
PHASESvariableno
createTelegramLoggerAdapterfunctionno

Detail

Orchestrator

Orchestrator

Params

None.

Returns

None.

Examples

None.

PHASES

PHASES

Params

None.

Returns

None.

Examples

None.

createTelegramLoggerAdapter

createTelegramLoggerAdapter(impl): object

Build an adapter that bridges the orchestrator’s structured-event logging and the {logUpdate, logError} string-or-object instance interface the publisher modules (git_publisher, auto_merge) require.

telegram_logger.js exports module-level logUpdate(event)/logError(event) where event is {message, ...meta}. git_publisher.publishFiles calls logger.logUpdate('git_publisher: ...') with a plain string. The adapter normalizes a string argument to {message} so both call shapes reach the underlying implementation as event objects.

Params

  • impl = { logUpdate: realLogUpdate, logError: realLogError }

Returns

object

Examples

None.