MCPcopy Index your code
hub / github.com/ChatLab/ChatLab / createCliRuntimeIdentity

Function createCliRuntimeIdentity

apps/cli/src/runtime-compat.ts:10–12  ·  view source on GitHub ↗
(kind: Extract<RuntimeKind, 'cli' | 'mcp'>)

Source from the content-addressed store, hash-verified

8import { getVersion } from './version'
9
10export function createCliRuntimeIdentity(kind: Extract<RuntimeKind, 'cli' | 'mcp'>): RuntimeIdentity {
11 return { version: getVersion(), kind }
12}
13
14export function assertCliDataDirCompatible(
15 pathProvider: PathProvider,

Callers

nothing calls this directly

Calls 1

getVersionFunction · 0.90

Tested by

no test coverage detected