Polyman Documentation - v3.1.0
    Preparing search index...

    Reads and writes the spec, in memory or in the problem folder.

    Index
    memory: string | null = null
    flushing: Promise<void> = ...

    The chat bus. The store listens for problem_dir_changed and emits notes_updated.

    problemDir: () => string | null

    The problem folder now, or null before one exists.

    • The notes not written to a folder yet, or null when there are none. The chat prompt shows these before the folder exists.

      Returns string | null

    • Replaces the spec. Returns where it was saved.

      Parameters

      • content: string

      Returns Promise<string>

    • Writes the in-memory notes into the new problem folder.

      Parameters

      • dir: string

      Returns Promise<void>