UNPKG

@adonis-agora/agent

Version:

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

18 lines • 2.59 kB
/** Isomorphic public GenUI contracts and implementation. */ export { jsonByteLength, readUiAction, readUiActionText, sandboxAction, UI_ACTION_MAX_BYTES, uiActionSummary, uiActionText, validateUiActionContext, } from './actions.js'; export { negotiateCatalog, prepareUiEmission, validateUiCapabilities, } from './capabilities.js'; export { COMPONENT_NAME, defineCatalog, defineComponent, toolNameFor, toSnakeCase, } from './catalog.js'; export { assertGenuiChannels, canRenderOnChannel, channelButtonAction, channelCatalog, channelInstructions, channelPrompt, DEFAULT_CHANNEL, describeChannelComponents, describeChannelDelivery, isMessagingChannel, MESSAGING_CHANNELS, renderChannelMessages, resolveGenuiChannel, textToHtml, turnChannel, WEB_CHANNEL, } from './channels.js'; export { partialTree, treeNodeId, } from './progressive.js'; export { chart, createComponent, createComponentRegistry, snapshotComponentPresentation, table, validatePresentationBatch, } from './registry.js'; export { assertSandboxPolicy, buildSandboxDocument, defineSandbox, previewHtml, SANDBOX_COMPONENT, SANDBOX_DEFAULTS, SANDBOX_FIELD_ORDER, SANDBOX_IFRAME_FLAGS, SANDBOX_MESSAGE, Sandbox, sandboxCallExample, sandboxCsp, sandboxDrawsJsx, sandboxPartialProps, sandboxPolicyOf, } from './sandbox.js'; export { prepareSandboxJsx, transpileJsx } from './sandbox-jsx.js'; export { kitDocsToModelText, kitHtmlInstructions, kitJsxInstructions, SANDBOX_ASSET_SIZES, sandboxJsxRuntime, } from './sandbox-kit.js'; export { compressClassNames, extractCssVocabulary, INLINE_ASSET_DEFAULTS, inlineCssUrls, tailwindDirectivesFromCss, tailwindTokensFromCss, tailwindToModelText, tailwindV3ConfigToCss, tailwindVersionOf, vocabularyToModelText, } from './sandbox-styles.js'; export { collectHostThemeVars, hostModeAttributes, hostThemeCss, isColorValue, isHostDark, isHslChannels, MODE_ATTRIBUTE, tailwindThemeCss, themeTokens, themeToModelText, themeVarsFromCss, watchHostTheme, } from './sandbox-theme.js'; export { formatSandboxIssue, validateSandboxCode, } from './sandbox-validate.js'; export { ajvValidator, builtinJsonSchemaValidator, formatIssues, isStandardSchema, toJsonSchema, validateProps, validatePropsSync, } from './schema.js'; export { catalogToModelText, componentToText, fillTemplate, getPath, summarizeSchema, treeToText, } from './text.js'; export { GENUI_SHOW_TOOL, genuiToolAbility, genuiTools, jsonStandardSchema, showToolJsonSchema, } from './tools.js'; export { GENUI_TREE_COMPONENT, normalizeTreeInput, treeJsonSchema, treeToFlatSpec, validateTree, } from './tree.js'; //# sourceMappingURL=public.js.map