Saxonberg Server API
    Preparing search index...

    Function buildPromptContext

    • Build the Liquid render context for the base-prompt template. v1 exposes a single variable, focus, sourced from FocusedMixin.getFocus() when present (otherwise the empty string). Future tokens (posture, location.name, time) land additively here.

      Module-local helper for PromptLogic.renderPromptRefresh; exported solely so the prompt-format unit test can exercise it in isolation (no production consumer outside the prompt subsystem).

      Parameters

      Returns Record<string, unknown>