mlx-bun library API
    Preparing search index...

    Guidance a module adds to the chat's system prompt and skill set, for its own tools.

    interface ChatGuidanceContribution {
        available?(): boolean | Promise<boolean>;
        hint?(): string | Promise<string>;
        skillPath?(): string | Promise<string>;
    }
    Index
    • Checked when each chat session is built, like a tool's; guidance that is not available is left out. Default available.

      Returns boolean | Promise<boolean>

    • A directory holding a SKILL.md the session loads; the contributor makes sure it exists when this is called.

      Returns string | Promise<string>