MCPcopy
hub / github.com/codeaashu/claude-code / completeOnboarding

Function completeOnboarding

src/interactiveHelpers.tsx:32–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30import { getSettingsWithAllErrors } from './utils/settings/allErrors.js';
31import { hasAutoModeOptIn, hasSkipDangerousModePermissionPrompt } from './utils/settings/settings.js';
32export function completeOnboarding(): void {
33 saveGlobalConfig(current => ({
34 ...current,
35 hasCompletedOnboarding: true,
36 lastOnboardingVersion: MACRO.VERSION
37 }));
38}
39export function showDialog<T = void>(root: Root, renderer: (done: (result: T) => void) => React.ReactNode): Promise<T> {
40 return new Promise<T>(resolve => {
41 const done = (result: T): void => void resolve(result);

Callers 1

showSetupScreensFunction · 0.85

Calls 1

saveGlobalConfigFunction · 0.85

Tested by

no test coverage detected