UNPKG

@adonis-agora/agent

Version:

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

34 lines • 3.02 kB
export { agUiChatStream, reframeAgUiStream, } from './ag-ui-backend.js'; export { AgentChatTransport, } from './agent-chat-transport.js'; export { approvalCountdown, useApprovalCountdown, } from './approvals/countdown.js'; export { proposalNeedsPolling, reconcileProposalMessages, } from './approvals/proposals.js'; export { useActionProposals } from './approvals/use-action-proposals.js'; export { acceptsFile, attachmentFile, dragHasFiles, fileKind, filesFromClipboard, messageFiles, } from './attachments/files.js'; export { useAttachments, } from './attachments/use-attachments.js'; export { AgentBackendUnsupportedError, requireBackendMethod, } from './backend.js'; export { backgroundRunsFromThread } from './background-runs.js'; export { useAgents } from './catalog/use-agents.js'; export { useModels, } from './catalog/use-models.js'; export { AgentClient, AgentHttpError, } from './client.js'; // Named, never `export *`: a wildcard re-export from a barrel defeats a bundler's ability to see // which names a consumer actually uses, and has broken a downstream build in this ecosystem before. export { AmbientRenderUiContext, ChatInput, DEFAULT_SPEECH_LANG, formatRelativeTime, loadStoredSpeechLang, MessageItem, MessageItemView, MessageList, persistSpeechLang, SPEECH_LANGUAGES, useAmbientRenderUi, useSpeechRecognition, } from './components/index.js'; export { applyCompletion, createSkillsSource, filterAutocompleteItems, findActiveTrigger, useComposerAutocomplete, } from './composer/index.js'; export { useAgentConfig, } from './config/use-agent-config.js'; export { coerceAnswer, validateAnswer, validateAnswerValue, } from './elicitation/answers.js'; export { useMessageFeedback, } from './feedback/use-message-feedback.js'; export { fillTemplate, phraseFor, readPath, toolCatalogFrom, } from './presentation/phrasing.js'; export { inferResultView, resolveResultView, } from './presentation/result-view.js'; export { correctedCallIds, describeToolCall, groupToolActivity, isActionCall, retriedCallIds, toolCallState, } from './presentation/tool-activity.js'; export { ALL_AGENTS, useToolCatalog, } from './presentation/use-tool-catalog.js'; export { AgentProvider, useAgentBackend } from './provider.js'; export { useQuota } from './quota/use-quota.js'; export { formatElapsed, readReasoningMs, useElapsed, } from './reasoning/timing.js'; export { AGENT_RUN_ERROR_CODES, isRunNotActiveError, RUN_NOT_ACTIVE_CODE, } from './run-errors.js'; export { storedMessageToUiMessage } from './stored-message-to-ui-message.js'; export { storedThreadToUiMessages, } from './stored-thread-to-ui-messages.js'; export { notifyThreads, onThreadsEvent, } from './threads/threads-events.js'; export { useThreads } from './threads/use-threads.js'; export { buildTranscriptBlocks, describeTimestamp, describeUsage, extractMessageText, useChatTranscript, useStickToBottom, useTranscriptItem, } from './transcript/index.js'; export { QuotaBlockedError, useAgentChat, } from './use-agent-chat.js'; //# sourceMappingURL=index.js.map