@dxos/app-framework - v0.15.0
    Preparing search index...

    Function getAtomValueOption

    • Get the current value of an atom capability, or Option.none() when either the registry or the atom itself is uncontributed.

      For operations that run on both the app and a headless host (the edge operation-service, dx mcp serve): those hosts have a capability manager but activate no UI plugins, so getAtomValue fails on capabilities like Layout that only the app contributes.

      Type Parameters

      • T

      Parameters

      Returns Effect<Option<T>, never, Capability.Service>

      const layout = yield* Capabilities.getAtomValueOption(AppCapabilities.Layout);