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

Function createResetMode

cli/src/opencode/opencodeRemoteLauncher.test.ts:104–109  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

102}
103
104function createResetMode(): OpencodeMode {
105 return {
106 permissionMode: 'default' as PermissionMode,
107 model: null
108 };
109}
110
111function createSessionStub(items: Array<{ message: string; mode: OpencodeMode }>) {
112 const queue = new MessageQueue2<OpencodeMode>((mode) => JSON.stringify(mode));

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected