/**
 * Shared definitions of "trivial" tool names used by every transcript parser
 * to decide whether a wake cycle is worth indexing.
 *
 * MCP tools are often prefixed (e.g. `mcp__visionclaw__memory`), so the
 * matcher compares both bare names and suffix-matches.
 */
const TRIVIAL_TOOL_SUFFIXES = [
    "memory",
    "memory_transcript_search",
    "memory_transcript_detail",
    "finish",
    "wait",
    "switch_session",
];
/**
 * Exact tool names that should always count as trivial regardless of prefix
 * (Claude Agent SDK built-ins like `ToolSearch`).
 */
const TRIVIAL_EXACT_NAMES = new Set([
    "ToolSearch",
]);
export function isTrivialToolName(name) {
    if (TRIVIAL_EXACT_NAMES.has(name))
        return true;
    for (const suffix of TRIVIAL_TOOL_SUFFIXES) {
        if (name === suffix || name.endsWith(`__${suffix}`))
            return true;
    }
    return false;
}
//# sourceMappingURL=trivial-tools.js.map