MCPcopy Create free account
hub / github.com/oboard/claude-code-rev / validateLogId

Function validateLogId

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

Source from the content-addressed store, hash-verified

4410 // ant-only commands
4411 if ("external" === 'ant') {
4412 const validateLogId = (value: string) => {
4413 const maybeSessionId = validateUuid(value);
4414 if (maybeSessionId) return maybeSessionId;
4415 return Number(value);
4416 };
4417 // claude log
4418 program.command('log').description('[ANT-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) => {
4419 const {

Callers

nothing calls this directly

Calls 1

validateUuidFunction · 0.50

Tested by

no test coverage detected