MCPcopy Index your code
hub / github.com/ChatLab/ChatLab / autoStart

Function autoStart

apps/desktop/main/api/index.ts:125–134  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

123 * Failures are silently recorded (does not affect normal app usage).
124 */
125export async function autoStart(): Promise<void> {
126 const config = cm().load()
127 if (!config.enabled) return
128
129 try {
130 await start()
131 } catch {
132 // silent failure, lastError already recorded
133 }
134}
135
136/**
137 * Set enabled state (persisted)

Callers

nothing calls this directly

Calls 3

cmFunction · 0.85
startFunction · 0.85
loadMethod · 0.45

Tested by

no test coverage detected