MCPcopy Index your code
hub / github.com/tiann/hapi / createMode

Function createMode

cli/src/codex/codexRemoteLauncher.test.ts:813–819  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

811};
812
813function createMode(): EnhancedMode {
814 return {
815 permissionMode: 'default',
816 collaborationMode: 'default',
817 model: 'gpt-5.4'
818 };
819}
820
821function createSessionStub(messages = ['hello from launcher test'], mode = createMode()) {
822 const queue = new MessageQueue2<EnhancedMode>((mode) => JSON.stringify(mode));

Callers 1

createSessionStubFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected