• Build a callback that resolves the context item from the DOM and invokes the named method on the item's logic object.

    Parameters

    • functionName: string

      The logic method to invoke.

    • entryName: string

      The owning entry's display name, used in log output.

    Returns ContextMenuCallback

    A context-menu callback delegating to the logic method.

    Resolution goes through resolveContextItem — the one path every context-menu consumer shares — so a row identified by an actor-embedded data-item-id and one identified by its own data-uuid both resolve, and the two resolvers cannot drift apart (#1188). The speaker comes from the item's logic, which falls back to a blank speaker for a world (unowned) item rather than leaving the action context without one.