This commit is contained in:
jparkerweb committed 2026-02-18 15:16:11 -08:00
1 parent 6f98f6bd7f
commit b7b2595fe1
23 files changed
+331 -776

No files matched your search

+5 -5
View File
@@ -23,11 +23,11 @@ async function selectSpec(cwd: string = process.cwd()): Promise<string | null> {
logger.info('');
logger.info('To get started:');
logger.info('');
logger.info('1. Create a spec using `smarsh2code-1--plan`');
logger.info('1. Create a spec using `plan2code-1--plan`');
logger.info(' command in our AI Agent');
logger.info('');
logger.info('2. Come back here and run `smarsh2code-loop`');
logger.info(' as an alternative to `smarsh2code-3--implement`');
logger.info('2. Come back here and run `plan2code-loop`');
logger.info(' as an alternative to `plan2code-3--implement`');
logger.info('');
return null;
}
@@ -67,8 +67,6 @@ async function selectSpec(cwd: string = process.cwd()): Promise<string | null> {
async function selectAgent(): Promise<string> {
const allAgents = agentRegistry.getAll();
const agentName = await select({
message: 'Select AI agent:',
choices: allAgents.map((agent) => ({
@@ -108,6 +106,7 @@ async function selectMaxIterations(): Promise<number> {
return max;
}
/**
* Select loop mode: one task per loop or one phase per loop
*/
@@ -126,6 +125,7 @@ async function selectLoopMode(): Promise<LoopMode> {
],
default: 'task',
});
return mode;
}