Files
descrybe/apps/web/src/lib/assistant/index.ts
T
greeneclipse 8580c996c3 Initial commit of Descrybe v2 without local scratch artifacts.
Drop one-shot tmp/axe scripts and agent i18n scratch so the Gitea tree is deployable.
2026-08-09 22:47:43 +02:00

48 lines
1.0 KiB
TypeScript

export type {
IntentId,
AssistantMode,
AssistantMessage,
AssistantMessageKind,
ConfirmAction,
IntentDefinition,
IntentMatch,
FlowState,
ExecutorResult,
SpotlightTarget
} from "./types.ts";
export { INTENT_REGISTRY, intentById, QUICK_START_REPLIES } from "./intents.ts";
export { matchIntent, matchIdentityQuestion, normalizeUtterance, extractUrl } from "./match.ts";
export {
makeMessage,
idleFlow,
buildConfirmCard,
buildHelpOverview,
buildUnknownReply,
buildGuideMessages,
buildIdentityReply,
buildApiExamplesMessage,
buildFailureSupportOffer,
startCollectFlow,
isHttpUrl,
inferFeedType,
sanitizeAssistantText,
redactSecrets,
normalizeAttributeType,
slugAttributeKey
} from "./engine.ts";
export { executeIntent } from "./executor.ts";
export {
navigateForIntent,
navigateTo,
measureSelector,
waitForSelector,
sameClientRect,
nextTargetRect,
resolveMapFieldsGuide,
routePathname,
MAP_FIELDS_SELECTOR,
ADD_FEED_SELECTOR
} from "./navigator.ts";
export { assistant } from "./state.svelte.ts";