Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions packages/cli/src/commands/iterate.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { Command } from 'commander';
import kleur from 'kleur';
import { describeInput, resolveInput } from '../input.js';
import { agentsCmd } from './agents.js';

// agentsCmd moved to root level — see https://github.com/profullstack/sh1pt/issues/235

export const iterateCmd = new Command('iterate')
.description('Observe metrics, have an agent propose changes, ship, measure. Powered by Claude / Codex / Qwen.')
Expand All @@ -18,10 +19,7 @@ export const iterateCmd = new Command('iterate')
iterateCmd.help();
});

// AI-CLI orchestration lives under iterate (was top-level `sh1pt agents`).
// sh1pt iterate agents [list|setup|talk|run|generate]
iterateCmd.addCommand(agentsCmd);

// AI-CLI agents moved to root level — see #235.
iterateCmd
.command('run')
.description('Single-shot cycle: pull metrics → have agent propose changes → apply (with confirmation) → ship')
Expand Down
2 changes: 2 additions & 0 deletions packages/cli/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import { makeCategoryCmd } from './commands/adapter-cmd.js';
import { CATEGORIES } from './adapter-registry.js';
import { skillsCmd } from './commands/skills.js';
import { agentsCmd } from './commands/agents.js';
import { deployCmd } from './commands/deploy.js';

const program = new Command();

Expand Down Expand Up @@ -44,6 +45,7 @@ program.addCommand(secretsCmd);
program.addCommand(configCmd);
program.addCommand(skillsCmd); // skills · package/promote SKILL.md agent skills across marketplaces
program.addCommand(agentsCmd); // agents · generate/run/talk with AI coding CLIs
program.addCommand(deployCmd); // deploy · provision cloud infrastructure

// Self-management — sh1pt update / upgrade / remove / uninstall.
program.addCommand(updateCmd);
Expand Down
Loading