MCPcopy Create free account
hub / github.com/clawbot7/cli-gateway / createDefaultConfig

Function createDefaultConfig

src/config.ts:141–153  ·  view source on GitHub ↗
(defaults: {
  defaultWorkspaceRoot: string;
  defaultDbPath: string;
})

Source from the content-addressed store, hash-verified

139}
140
141function createDefaultConfig(defaults: {
142 defaultWorkspaceRoot: string;
143 defaultDbPath: string;
144}): Record<string, unknown> {
145 return {
146 workspaceRoot: defaults.defaultWorkspaceRoot,
147 dbPath: defaults.defaultDbPath,
148 acpAgentCommand: 'npx',
149 acpAgentArgs: ['-y', '@zed-industries/codex-acp@latest'],
150 uiDefaultMode: 'summary',
151 schedulerEnabled: true,
152 };
153}
154
155function isInteractiveTerminal(
156 input: NodeJS.ReadStream,

Callers 1

loadConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected