code: function info(agentInfoFolder, defaultBuildMode) {
      return new Promise((resolve, reject) => {
          const result = generateAgentInfoFile(agentInfoFolder || "./src/", undefined, undefined, defaultBuildMode);
          resolve(result[1]);
      });
  }
docs: Coaty script command for generating agent info file.
  Returns a promise that resolves to the generated `AgentInfo` object.