@gguf/claw
Version:
Multi-channel AI gateway with extensible messaging integrations
12 lines (11 loc) • 366 B
TypeScript
import type { OpenClawConfig } from "../config/config.js";
type SessionDepthEntry = {
sessionId?: unknown;
spawnDepth?: unknown;
spawnedBy?: unknown;
};
export declare function getSubagentDepthFromSessionStore(sessionKey: string | undefined | null, opts?: {
cfg?: OpenClawConfig;
store?: Record<string, SessionDepthEntry>;
}): number;
export {};