Saxonberg Server API
    Preparing search index...

    Interface MqlContext

    Resolution context for an MQL query.

    • commandGiver — the actor whose perspective drives the lookup. Inventory, pronoun memory, and "you" pronouns flow from this Stuff.

    • scope — an MQL fragment string identifying the search area. Per the unified-scope model, scope is just another query — "here", "inventory, here", "online", "/obj/Avatar/*", "#abc123". The dispatcher resolves the fragment to anchor Stuff(s); the resolver walks each anchor's neighborhood (own keywords, contents, details, environment, exits) to score query candidates.

    interface MqlContext {
        commandGiver: Stuff & CommandGiver;
        permission?: { coreMemberIds?: ReadonlySet<string>; isAuthor: boolean };
        scope: string;
    }
    Index

    Properties

    commandGiver: Stuff & CommandGiver
    permission?: { coreMemberIds?: ReadonlySet<string>; isAuthor: boolean }

    Precomputed permission snapshot stamped by the command dispatcher before sync resolve runs. The resolver consults it synchronously:

    • isAuthor gates pre-resolution operators (:online, path seeds, prop: / mixin: / class: / template: filters).
    • coreMemberIds is the per-target check input for the :admin(target) predicate.

    Absent → permits (server-internal callers building MqlContexts directly without going through the dispatcher continue to work unchanged; the legacy _MqlAdminFlag.granter default returned false but those callers bypassed the gate by precondition).

    scope: string