//#region src/cli/commands/onboard/onboard-config.ts
function applyOnboardingLocalWorkspaceConfig(baseConfig, workspaceDir) {
	return {
		...baseConfig,
		agents: {
			...baseConfig.agents,
			defaults: {
				...baseConfig.agents?.defaults,
				workspace: workspaceDir
			}
		},
		gateway: {
			...baseConfig.gateway,
			mode: "local"
		}
	};
}

//#endregion
export { applyOnboardingLocalWorkspaceConfig as t };