UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

8 lines (7 loc) 340 B
//#region extensions/anthropic/session-catalog-cursor.ts const CLAUDE_SESSION_CURSOR_MAX_LENGTH = 256; function isExactClaudeSessionCursor(value) { return typeof value === "string" && value.length > 0 && value.length <= CLAUDE_SESSION_CURSOR_MAX_LENGTH && value === value.trim(); } //#endregion export { isExactClaudeSessionCursor as t };