UNPKG

@adonis-agora/agent

Version:

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

9 lines • 660 B
import type { Finding } from '../types.js'; /** Compiled once per pattern (global flag added), with a bounded cache. */ export declare function compileGuardPattern(pattern: string): RegExp; export declare function detectRegex(text: string, patterns: readonly string[], label?: string): Finding[]; /** Lower case without accents, keeping string length stable (one output char per input char). */ export declare function fold(s: string): string; /** Whole-word, case- and accent-insensitive keyword/phrase matching. */ export declare function detectKeywords(text: string, words: readonly string[], label?: string): Finding[]; //# sourceMappingURL=custom.d.ts.map