MCPcopy Create free account
hub / github.com/tiann/hapi / sessionFlagsHookStateKey

Function sessionFlagsHookStateKey

cli/src/codex/utils/codexMcpConfig.ts:90–95  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

88}
89
90function sessionFlagsHookStateKey(): string {
91 const sourcePath = process.platform === 'win32'
92 ? 'C:\\<session-flags>\\config.toml'
93 : '/<session-flags>/config.toml';
94 return `${sourcePath}:session_start:0:0`;
95}
96
97export function buildSessionStartHookConfigArgs(port: number, token: string): string[] {
98 const { command, args } = getHappyCliCommand([

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected