UNPKG

@adonis-agora/agent

Version:

Governed, durable-backed AI agent (chat + tool-calling + governance) for AdonisJS — part of the Agora ecosystem.

18 lines • 1.33 kB
/** * Generative UI for React Native: the sandbox renderer (`createNativeSandboxRenderer`, drawn in a * hardened `react-native-webview`), and the React Native-safe part of `@adonis-agora/agent/react/genui` * — the provider, `GenerativeUI`, the action context and the types. Import these from here in an app: * the web entry also carries the iframe renderer, whose module touches `window` as it loads. * * Needs `react-native` and `react-native-webview` (optional peers of the package, used by this * entry only). */ export { readUiActionText, uiActionSummary, } from '../../genui/actions.js'; export { SANDBOX_COMPONENT, SANDBOX_DEFAULTS, } from '../../genui/sandbox.js'; export { GenerativeUI, GenerativeUIScope, GenuiNodeScope, GenuiTree, useGenerativeUI, useGenuiNode, useGenuiProvider, } from '../../react/core/genui/generative-ui.js'; export { GENUI_TREE_COMPONENT, } from '../../react/core/genui/types.js'; export { toGenerativeUIItem } from '../../react/core/genui/use-generative-ui.js'; export { GenuiActionProvider, GenuiProvider, nativeGenuiFallback, useGenuiAction, } from './provider.js'; export { createNativeSandboxRenderer, NATIVE_SANDBOX_WEBVIEW_PROPS, NativeSandboxView, } from './sandbox.js'; export { isInlineDocumentUrl, nativeThemeCss, } from './sandbox-host.js'; //# sourceMappingURL=index.js.map