MCPcopy
hub / github.com/claude-code-best/claude-code / phase

Function phase

packages/workflow-engine/src/engine/hooks.ts:272–278  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

270 }
271
272 const phase: WorkflowHooks['phase'] = title => {
273 if (ctx.currentPhase) {
274 emit({ type: 'phase_done', phase: ctx.currentPhase })
275 }
276 ctx.currentPhase = title
277 emit({ type: 'phase_started', phase: title })
278 }
279
280 const log: WorkflowHooks['log'] = message => {
281 emit({ type: 'log', message })

Callers 1

Calls 1

emitFunction · 0.70

Tested by

no test coverage detected