MCPcopy Create free account
hub / github.com/Bitterbot-AI/bitterbot-desktop / createProgramContext

Function createProgramContext

src/cli/program/context.ts:11–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9};
10
11export function createProgramContext(): ProgramContext {
12 const channelOptions = resolveCliChannelOptions();
13 return {
14 programVersion: VERSION,
15 channelOptions,
16 messageChannelOptions: channelOptions.join("|"),
17 agentChannelOptions: ["last", ...channelOptions].join("|"),
18 };
19}

Callers 1

buildProgramFunction · 0.85

Calls 1

resolveCliChannelOptionsFunction · 0.85

Tested by

no test coverage detected