/** @astrale-os/shell-react — curated React runtime over Shell and Kernel Client Store. */ // Root/provider and authenticated caller. export { ShellProvider, useConnection, useKernelClient, useKernelInstance, useShell, } from './session/index.js' export type { KernelInstance, ShellError, ShellProviderProps } from './session/index.js' export { ActAs, useAuth, useCan, useSelf } from './auth/index.js' export type { ActAsProps, PolicyObject } from './auth/index.js' // One Store path and named SDK definitions. Raw Query/Mutation builders are intentionally absent. export { ClientError, NodeUnavailableError, ProtocolError, ResponseError, StaleRouteError, TransportError, isClientError, isNodeUnavailableError, useCall, useGraphStore, useQuery, useStream, } from './graph/index.js' export type { CallOptions, GraphResource, GraphResourceState, GraphStore, QueryResourceOptions, StreamHandle, StreamOptions, } from './graph/index.js' // Rich exact Domain bindings. export { RelationUnavailableError, queryRefresh, useAction, useDomain, useDomains, useDynamicDomain, useDynamicObject, useKernel, useMutation, useObject, useRelation, } from './schema/index.js' export type { ActionOptions, ActionRefresh, DomainAction, MutationOptions, QueryRefresh, RelationOptions, RelationResource, RelationUnavailable, RichReadOptions, } from './schema/index.js' // Typed navigation and selection. export { Link, NavigationScope, NavScope, NodeLink, pathParam, ViewLink, defineNavigation, enumParam, location, memoryAdapter, urlAdapter, useAncestors, useLocation, useNavigate, useNavigation, useNavScope, } from './navigation/index.js' export type { LinkProps, LocationDefinition, MissingPolicy, NavAdapter, NavLocation, NavScopeHandle, NavScopeProps, NavSnapshot, NavTarget, NavigationDefinition, NavigationParam, NavigationParams, NavigationRoutes, NavigationTarget, NodeLinkProps, Navigate, SerializedLocation, ViewLinkProps, } from './navigation/index.js' export { SelectionScope, useSelection } from './selection/index.js' export type { Selection, SelectionScopeProps } from './selection/index.js' // View/window lifecycle and host effects. export { ViewHost, ViewStage, useCloseGuard, useTargetNode, useTargetPath, useViewsFor, useWindow, useWindowList, useWindows, } from './window/index.js' export type { CloseGuard, CloseVerdict, ResolvedView, SandboxPolicy, ViewHostHandle, ViewHostProps, ViewsForResult, WindowListEntry, WindowState, WindowView, } from './window/index.js' export { HostDialog, NestedView, Notify, RequestAccess, useExternalOpen, useHostCapabilities, useHostDialog, useNotify, useOpenView, useRequestAccess, } from './host/index.js' export type { ExternalOpenApi, HostDialogApi, NotifyApi, OpenViewApi, RequestAccessApi, } from './host/index.js' export { HostCapabilityUnavailableError } from './host/index.js' export { useEmitIntent, useIntent, useSendIntent } from './intents/index.js' export type { EmitIntent, IntentCtx, IntentPayload, IntentReply, SendIntent, } from './intents/index.js' // Headless composition kit. export { Can, ConnectionBoundary, CredentialBoundary, defaultViewError, defaultViewLoading, GraphBoundary, Astrale, ViewBoundary, ViewErrorBoundary, } from './components/index.js' export type { AstraleProps, ViewErrorBoundaryProps } from './components/index.js' // Shell application conveniences. export { AppHost, AppLogo, useApps, useCurrentSpace, useOpenApp, useSpace, useSpaces, useUser, } from './application/index.js' export type { AppHostFallbackState, AppHostProps, AppLogoProps, AppsResult, CurrentSpaceResult, SpaceResult, SpacesResult, } from './application/index.js' // Canonical identity carriers used by View props and rich hooks. export { NodeId } from '@astrale-os/sdk/graph/node' export { NodePath, Path } from '@astrale-os/sdk/graph/path' export type { Node } from '@astrale-os/sdk/graph/node' export type { PathLike } from '@astrale-os/sdk/graph/path' export type { AuthApi, Identity, PolicyDecisionInput } from '@astrale-os/sdk/auth' export type { DomainBinding } from '@astrale-os/shell' // Shell contracts retained at the package root for custom full-app composition. export type { App, CloseResult, CredentialSnapshot, HostCapabilities, IntentRegistry, KernelClient, MountCredential, NodeTarget, Shell, ShellConfig, SpaceNode, UserNode, ViewLocation, ViewPresentation, ViewPresentationRequest, Window, } from '@astrale-os/shell'