MCPcopy Create free account
hub / github.com/Noumena-Network/code / validateLogId

Function validateLogId

src/main.tsx:4540–4544  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

4538 // ant-only commands
4539 if (isInternalBuild()) {
4540 const validateLogId = (value: string) => {
4541 const maybeSessionId = validateUuid(value);
4542 if (maybeSessionId) return maybeSessionId;
4543 return Number(value);
4544 };
4545 // claude log
4546 program.command('log').description('[NOUMENA-ONLY] Manage conversation logs.').argument('[number|sessionId]', 'A number (0, 1, 2, etc.) to display a specific log, or the sesssion ID (uuid) of a log', validateLogId).action(async (logId: string | number | undefined) => {
4547 const {

Callers

nothing calls this directly

Calls 1

validateUuidFunction · 0.50

Tested by

no test coverage detected