@profoundlogic/coderflow-cli 0.12.59 → 0.12.61

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -19,7 +19,7 @@ export async function attachToContainer(args = []) {
19
19
  } else if (arg === '--agent') {
20
20
  const next = args[index + 1];
21
21
  if (!next) {
22
- console.error('Error: --agent requires a value (claude or codex)');
22
+ console.error('Error: --agent requires a value (claude, codex, gemini, bob, grok)');
23
23
  process.exit(1);
24
24
  }
25
25
  agentOverride = next;
@@ -92,9 +92,13 @@ export async function attachToContainer(args = []) {
92
92
  } else if (agentOverride === 'codex') {
93
93
  cmd = 'cd /workspace && codex resume';
94
94
  descriptiveAction = 'Resuming with Codex';
95
+ } else if (agentOverride === 'grok') {
96
+ // Grok continues the most recent session in the current cwd with -c.
97
+ cmd = 'cd /workspace && grok -c';
98
+ descriptiveAction = 'Resuming with Grok';
95
99
  } else {
96
100
  console.error(`Error: Unknown agent: ${agentOverride}`);
97
- console.error('Valid agents: claude, codex');
101
+ console.error('Valid agents: claude, codex, grok');
98
102
  process.exit(1);
99
103
  }
100
104
  } else {
@@ -106,6 +110,9 @@ export async function attachToContainer(args = []) {
106
110
  } else if (agent === 'codex') {
107
111
  cmd = 'cd /workspace && codex resume';
108
112
  descriptiveAction = 'Resuming with Codex';
113
+ } else if (agent === 'grok') {
114
+ cmd = 'cd /workspace && grok -c';
115
+ descriptiveAction = 'Resuming with Grok';
109
116
  } else {
110
117
  // Fallback for unknown agents
111
118
  cmd = `cd /workspace && ${agent}`;
package/lib/help.js CHANGED
@@ -46,7 +46,7 @@ Arguments:
46
46
  container-id Container ID to attach to (optional - uses last container if omitted)
47
47
 
48
48
  Options:
49
- --agent=<agent> Agent to use (claude, codex)
49
+ --agent=<agent> Agent to use (claude, codex, gemini, bob, grok)
50
50
  --shell Start bash shell instead of agent
51
51
 
52
52
  Examples:
@@ -219,7 +219,7 @@ Arguments:
219
219
  environment Environment to start session in (required)
220
220
 
221
221
  Options:
222
- --agent=<agent> Agent to use (claude, codex)
222
+ --agent=<agent> Agent to use (claude, codex, gemini, bob, grok)
223
223
  --no-attach Start container but don't auto-connect
224
224
  --branch <repo>=<branch> Override branch for specific repository
225
225
  --env=<KEY>=<value> Pass custom environment variables
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@profoundlogic/coderflow-cli",
3
- "version": "0.12.59",
3
+ "version": "0.12.61",
4
4
  "description": "AI Coder CLI - Command-line interface for managing AI coding tasks",
5
5
  "main": "coder.js",
6
6
  "type": "module",