MCPcopy Create free account
hub / github.com/apache/maka / isSessionToolProfile

Function isSessionToolProfile

packages/core/src/session.ts:179–181  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

177export type SessionToolProfile = (typeof SESSION_TOOL_PROFILES)[number];
178
179export function isSessionToolProfile(value: unknown): value is SessionToolProfile {
180 return typeof value === 'string' && (SESSION_TOOL_PROFILES as readonly string[]).includes(value);
181}
182
183export interface SessionHeader {
184 // Identity

Callers 3

normalizeSessionHeaderFunction · 0.90
decodeConfigFunction · 0.90
sessionToolProfileFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected