LemonChannels.EngineRegistry (lemon_channels v0.1.0)

View Source

Temporary compatibility parser for resume lines.

Validation and formatting belong in LemonCore.EngineCatalog and LemonCore.ResumeToken. This module remains only because engine-runtime engines may expose additional resume syntax, which we ask for through LemonCore.EngineInfoBridge rather than by reaching into the gateway.

Summary

Functions

extract_resume(text)

@spec extract_resume(String.t()) :: {:ok, LemonCore.ResumeToken.t()} | :none