claude-flow 1.0.0
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.
- package/LICENSE +21 -0
- package/README.md +612 -0
- package/bin/claude-flow +0 -0
- package/bin/claude-flow-simple +0 -0
- package/bin/claude-flow-typecheck +0 -0
- package/deno.json +84 -0
- package/package.json +45 -0
- package/scripts/check-links.ts +274 -0
- package/scripts/check-performance-regression.ts +168 -0
- package/scripts/claude-sparc.sh +562 -0
- package/scripts/coverage-report.ts +692 -0
- package/scripts/demo-task-system.ts +224 -0
- package/scripts/install.js +72 -0
- package/scripts/test-batch-tasks.ts +29 -0
- package/scripts/test-coordination-features.ts +238 -0
- package/scripts/test-mcp.ts +251 -0
- package/scripts/test-runner.ts +571 -0
- package/scripts/validate-examples.ts +288 -0
- package/src/cli/cli-core.ts +273 -0
- package/src/cli/commands/agent.ts +83 -0
- package/src/cli/commands/config.ts +442 -0
- package/src/cli/commands/help.ts +765 -0
- package/src/cli/commands/index.ts +963 -0
- package/src/cli/commands/mcp.ts +191 -0
- package/src/cli/commands/memory.ts +74 -0
- package/src/cli/commands/monitor.ts +403 -0
- package/src/cli/commands/session.ts +595 -0
- package/src/cli/commands/start.ts +156 -0
- package/src/cli/commands/status.ts +345 -0
- package/src/cli/commands/task.ts +79 -0
- package/src/cli/commands/workflow.ts +763 -0
- package/src/cli/completion.ts +553 -0
- package/src/cli/formatter.ts +310 -0
- package/src/cli/index.ts +211 -0
- package/src/cli/main.ts +23 -0
- package/src/cli/repl.ts +1050 -0
- package/src/cli/simple-cli.js +211 -0
- package/src/cli/simple-cli.ts +211 -0
- package/src/coordination/README.md +400 -0
- package/src/coordination/advanced-scheduler.ts +487 -0
- package/src/coordination/circuit-breaker.ts +366 -0
- package/src/coordination/conflict-resolution.ts +490 -0
- package/src/coordination/dependency-graph.ts +475 -0
- package/src/coordination/index.ts +63 -0
- package/src/coordination/manager.ts +460 -0
- package/src/coordination/messaging.ts +290 -0
- package/src/coordination/metrics.ts +585 -0
- package/src/coordination/resources.ts +322 -0
- package/src/coordination/scheduler.ts +390 -0
- package/src/coordination/work-stealing.ts +224 -0
- package/src/core/config.ts +627 -0
- package/src/core/event-bus.ts +186 -0
- package/src/core/json-persistence.ts +183 -0
- package/src/core/logger.ts +262 -0
- package/src/core/orchestrator-fixed.ts +312 -0
- package/src/core/orchestrator.ts +1234 -0
- package/src/core/persistence.ts +276 -0
- package/src/mcp/auth.ts +438 -0
- package/src/mcp/claude-flow-tools.ts +1280 -0
- package/src/mcp/load-balancer.ts +510 -0
- package/src/mcp/router.ts +240 -0
- package/src/mcp/server.ts +548 -0
- package/src/mcp/session-manager.ts +418 -0
- package/src/mcp/tools.ts +180 -0
- package/src/mcp/transports/base.ts +21 -0
- package/src/mcp/transports/http.ts +457 -0
- package/src/mcp/transports/stdio.ts +254 -0
- package/src/memory/backends/base.ts +22 -0
- package/src/memory/backends/markdown.ts +283 -0
- package/src/memory/backends/sqlite.ts +329 -0
- package/src/memory/cache.ts +238 -0
- package/src/memory/indexer.ts +238 -0
- package/src/memory/manager.ts +572 -0
- package/src/terminal/adapters/base.ts +29 -0
- package/src/terminal/adapters/native.ts +504 -0
- package/src/terminal/adapters/vscode.ts +340 -0
- package/src/terminal/manager.ts +308 -0
- package/src/terminal/pool.ts +271 -0
- package/src/terminal/session.ts +250 -0
- package/src/terminal/vscode-bridge.ts +242 -0
- package/src/utils/errors.ts +231 -0
- package/src/utils/helpers.ts +476 -0
- package/src/utils/types.ts +493 -0
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
#!/usr/bin/env -S deno run --allow-all
|
|
2
|
+
/**
|
|
3
|
+
* Simple CLI wrapper for Claude-Flow (JavaScript version)
|
|
4
|
+
* This version avoids TypeScript issues in node_modules
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
const VERSION = '1.0.0';
|
|
8
|
+
|
|
9
|
+
function printHelp() {
|
|
10
|
+
console.log(`
|
|
11
|
+
🧠 Claude-Flow v${VERSION} - Advanced AI Agent Orchestration System
|
|
12
|
+
|
|
13
|
+
USAGE:
|
|
14
|
+
claude-flow [COMMAND] [OPTIONS]
|
|
15
|
+
|
|
16
|
+
COMMANDS:
|
|
17
|
+
start Start the orchestration system
|
|
18
|
+
agent Manage agents (spawn, list, terminate, info)
|
|
19
|
+
task Manage tasks (create, list, status, cancel, workflow)
|
|
20
|
+
memory Manage memory (query, export, import, stats, cleanup)
|
|
21
|
+
config Manage configuration (show, get, set, init, validate)
|
|
22
|
+
status Show system status
|
|
23
|
+
monitor Monitor system in real-time
|
|
24
|
+
session Manage terminal sessions
|
|
25
|
+
workflow Execute workflow files
|
|
26
|
+
repl Start interactive REPL mode
|
|
27
|
+
version Show version information
|
|
28
|
+
help Show this help message
|
|
29
|
+
|
|
30
|
+
GLOBAL OPTIONS:
|
|
31
|
+
-c, --config <path> Path to configuration file
|
|
32
|
+
-v, --verbose Enable verbose logging
|
|
33
|
+
--log-level <level> Set log level (debug, info, warn, error)
|
|
34
|
+
--help Show help for specific command
|
|
35
|
+
|
|
36
|
+
EXAMPLES:
|
|
37
|
+
claude-flow start # Start orchestrator
|
|
38
|
+
claude-flow agent spawn researcher --name "Bot" # Spawn research agent
|
|
39
|
+
claude-flow task create research "Analyze data" # Create task
|
|
40
|
+
claude-flow config init # Initialize config
|
|
41
|
+
claude-flow status # Show system status
|
|
42
|
+
claude-flow workflow my-workflow.json # Execute workflow
|
|
43
|
+
|
|
44
|
+
For more detailed help on specific commands, use:
|
|
45
|
+
claude-flow [COMMAND] --help
|
|
46
|
+
|
|
47
|
+
Documentation: https://github.com/ruvnet/claude-code-flow
|
|
48
|
+
Issues: https://github.com/ruvnet/claude-code-flow/issues
|
|
49
|
+
|
|
50
|
+
Created by rUv - Built with ❤️ for the Claude community
|
|
51
|
+
`);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
function printVersion() {
|
|
55
|
+
console.log(`Claude-Flow v${VERSION}`);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
function printError(message) {
|
|
59
|
+
console.error(`❌ Error: ${message}`);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
function printSuccess(message) {
|
|
63
|
+
console.log(`✅ ${message}`);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
function printWarning(message) {
|
|
67
|
+
console.warn(`⚠️ Warning: ${message}`);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
async function main() {
|
|
71
|
+
const args = Deno.args;
|
|
72
|
+
|
|
73
|
+
if (args.length === 0) {
|
|
74
|
+
printHelp();
|
|
75
|
+
return;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
const command = args[0];
|
|
79
|
+
const subArgs = args.slice(1);
|
|
80
|
+
|
|
81
|
+
switch (command) {
|
|
82
|
+
case 'version':
|
|
83
|
+
case '--version':
|
|
84
|
+
case '-v':
|
|
85
|
+
printVersion();
|
|
86
|
+
break;
|
|
87
|
+
|
|
88
|
+
case 'help':
|
|
89
|
+
case '--help':
|
|
90
|
+
case '-h':
|
|
91
|
+
printHelp();
|
|
92
|
+
break;
|
|
93
|
+
|
|
94
|
+
case 'start':
|
|
95
|
+
printSuccess('Starting Claude-Flow orchestration system...');
|
|
96
|
+
printWarning('Full orchestrator implementation coming soon!');
|
|
97
|
+
console.log('🚀 System would start with the following components:');
|
|
98
|
+
console.log(' - Event Bus');
|
|
99
|
+
console.log(' - Orchestrator Engine');
|
|
100
|
+
console.log(' - Memory Manager');
|
|
101
|
+
console.log(' - Terminal Pool');
|
|
102
|
+
console.log(' - MCP Server');
|
|
103
|
+
console.log(' - Coordination Manager');
|
|
104
|
+
break;
|
|
105
|
+
|
|
106
|
+
case 'agent':
|
|
107
|
+
const agentCmd = subArgs[0];
|
|
108
|
+
switch (agentCmd) {
|
|
109
|
+
case 'spawn':
|
|
110
|
+
const agentType = subArgs[1] || 'researcher';
|
|
111
|
+
printSuccess(`Spawning ${agentType} agent...`);
|
|
112
|
+
console.log(`📝 Agent ID: agent-${Date.now()}`);
|
|
113
|
+
console.log(`🤖 Type: ${agentType}`);
|
|
114
|
+
console.log(`⚡ Status: Active`);
|
|
115
|
+
break;
|
|
116
|
+
case 'list':
|
|
117
|
+
printSuccess('Active agents:');
|
|
118
|
+
console.log('📋 No agents currently active (orchestrator not running)');
|
|
119
|
+
break;
|
|
120
|
+
default:
|
|
121
|
+
console.log('Agent commands: spawn, list, terminate, info');
|
|
122
|
+
}
|
|
123
|
+
break;
|
|
124
|
+
|
|
125
|
+
case 'task':
|
|
126
|
+
const taskCmd = subArgs[0];
|
|
127
|
+
switch (taskCmd) {
|
|
128
|
+
case 'create':
|
|
129
|
+
const taskType = subArgs[1] || 'general';
|
|
130
|
+
const description = subArgs[2] || 'No description';
|
|
131
|
+
printSuccess(`Creating ${taskType} task: "${description}"`);
|
|
132
|
+
console.log(`📝 Task ID: task-${Date.now()}`);
|
|
133
|
+
console.log(`🎯 Type: ${taskType}`);
|
|
134
|
+
console.log(`📄 Description: ${description}`);
|
|
135
|
+
break;
|
|
136
|
+
case 'list':
|
|
137
|
+
printSuccess('Active tasks:');
|
|
138
|
+
console.log('📋 No tasks currently active (orchestrator not running)');
|
|
139
|
+
break;
|
|
140
|
+
default:
|
|
141
|
+
console.log('Task commands: create, list, status, cancel, workflow');
|
|
142
|
+
}
|
|
143
|
+
break;
|
|
144
|
+
|
|
145
|
+
case 'config':
|
|
146
|
+
const configCmd = subArgs[0];
|
|
147
|
+
switch (configCmd) {
|
|
148
|
+
case 'init':
|
|
149
|
+
printSuccess('Initializing Claude-Flow configuration...');
|
|
150
|
+
console.log('📝 Configuration file would be created at: claude-flow.config.json');
|
|
151
|
+
break;
|
|
152
|
+
case 'show':
|
|
153
|
+
printSuccess('Current configuration:');
|
|
154
|
+
console.log('📋 Configuration display would show here');
|
|
155
|
+
break;
|
|
156
|
+
default:
|
|
157
|
+
console.log('Config commands: init, show, get, set, validate');
|
|
158
|
+
}
|
|
159
|
+
break;
|
|
160
|
+
|
|
161
|
+
case 'status':
|
|
162
|
+
printSuccess('Claude-Flow System Status:');
|
|
163
|
+
console.log('🟡 Status: Not Running (orchestrator not started)');
|
|
164
|
+
console.log('🤖 Agents: 0 active');
|
|
165
|
+
console.log('📋 Tasks: 0 in queue');
|
|
166
|
+
console.log('💾 Memory: Ready');
|
|
167
|
+
console.log('🖥️ Terminal Pool: Ready');
|
|
168
|
+
console.log('🌐 MCP Server: Stopped');
|
|
169
|
+
break;
|
|
170
|
+
|
|
171
|
+
case 'memory':
|
|
172
|
+
printSuccess('Memory system ready');
|
|
173
|
+
console.log('💾 Memory operations would be handled here');
|
|
174
|
+
break;
|
|
175
|
+
|
|
176
|
+
case 'monitor':
|
|
177
|
+
printSuccess('Starting system monitor...');
|
|
178
|
+
console.log('📊 Real-time monitoring would display here');
|
|
179
|
+
break;
|
|
180
|
+
|
|
181
|
+
case 'session':
|
|
182
|
+
printSuccess('Terminal session manager ready');
|
|
183
|
+
console.log('🖥️ Session operations would be handled here');
|
|
184
|
+
break;
|
|
185
|
+
|
|
186
|
+
case 'workflow':
|
|
187
|
+
const workflowFile = subArgs[0];
|
|
188
|
+
if (workflowFile) {
|
|
189
|
+
printSuccess(`Executing workflow: ${workflowFile}`);
|
|
190
|
+
console.log('🔄 Workflow execution would start here');
|
|
191
|
+
} else {
|
|
192
|
+
printError('Please specify a workflow file');
|
|
193
|
+
}
|
|
194
|
+
break;
|
|
195
|
+
|
|
196
|
+
case 'repl':
|
|
197
|
+
printSuccess('Starting interactive REPL mode...');
|
|
198
|
+
console.log('🚀 Interactive mode coming soon!');
|
|
199
|
+
console.log('💡 This will provide a full interactive shell for Claude-Flow operations');
|
|
200
|
+
break;
|
|
201
|
+
|
|
202
|
+
default:
|
|
203
|
+
printError(`Unknown command: ${command}`);
|
|
204
|
+
console.log('Run "claude-flow help" for available commands');
|
|
205
|
+
Deno.exit(1);
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
if (import.meta.main) {
|
|
210
|
+
await main();
|
|
211
|
+
}
|
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
#!/usr/bin/env -S deno run --allow-all
|
|
2
|
+
/**
|
|
3
|
+
* Simple CLI wrapper for Claude-Flow (without cliffy dependencies)
|
|
4
|
+
* This version avoids import assertion issues while maintaining functionality
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
const VERSION = '1.0.0';
|
|
8
|
+
|
|
9
|
+
function printHelp() {
|
|
10
|
+
console.log(`
|
|
11
|
+
🧠 Claude-Flow v${VERSION} - Advanced AI Agent Orchestration System
|
|
12
|
+
|
|
13
|
+
USAGE:
|
|
14
|
+
claude-flow [COMMAND] [OPTIONS]
|
|
15
|
+
|
|
16
|
+
COMMANDS:
|
|
17
|
+
start Start the orchestration system
|
|
18
|
+
agent Manage agents (spawn, list, terminate, info)
|
|
19
|
+
task Manage tasks (create, list, status, cancel, workflow)
|
|
20
|
+
memory Manage memory (query, export, import, stats, cleanup)
|
|
21
|
+
config Manage configuration (show, get, set, init, validate)
|
|
22
|
+
status Show system status
|
|
23
|
+
monitor Monitor system in real-time
|
|
24
|
+
session Manage terminal sessions
|
|
25
|
+
workflow Execute workflow files
|
|
26
|
+
repl Start interactive REPL mode
|
|
27
|
+
version Show version information
|
|
28
|
+
help Show this help message
|
|
29
|
+
|
|
30
|
+
GLOBAL OPTIONS:
|
|
31
|
+
-c, --config <path> Path to configuration file
|
|
32
|
+
-v, --verbose Enable verbose logging
|
|
33
|
+
--log-level <level> Set log level (debug, info, warn, error)
|
|
34
|
+
--help Show help for specific command
|
|
35
|
+
|
|
36
|
+
EXAMPLES:
|
|
37
|
+
claude-flow start # Start orchestrator
|
|
38
|
+
claude-flow agent spawn researcher --name "Bot" # Spawn research agent
|
|
39
|
+
claude-flow task create research "Analyze data" # Create task
|
|
40
|
+
claude-flow config init # Initialize config
|
|
41
|
+
claude-flow status # Show system status
|
|
42
|
+
claude-flow workflow my-workflow.json # Execute workflow
|
|
43
|
+
|
|
44
|
+
For more detailed help on specific commands, use:
|
|
45
|
+
claude-flow [COMMAND] --help
|
|
46
|
+
|
|
47
|
+
Documentation: https://github.com/ruvnet/claude-code-flow
|
|
48
|
+
Issues: https://github.com/ruvnet/claude-code-flow/issues
|
|
49
|
+
|
|
50
|
+
Created by rUv - Built with ❤️ for the Claude community
|
|
51
|
+
`);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
function printVersion() {
|
|
55
|
+
console.log(`Claude-Flow v${VERSION}`);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
function printError(message: string) {
|
|
59
|
+
console.error(`❌ Error: ${message}`);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
function printSuccess(message: string) {
|
|
63
|
+
console.log(`✅ ${message}`);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
function printWarning(message: string) {
|
|
67
|
+
console.warn(`⚠️ Warning: ${message}`);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
async function main() {
|
|
71
|
+
const args = Deno.args;
|
|
72
|
+
|
|
73
|
+
if (args.length === 0) {
|
|
74
|
+
printHelp();
|
|
75
|
+
return;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
const command = args[0];
|
|
79
|
+
const subArgs = args.slice(1);
|
|
80
|
+
|
|
81
|
+
switch (command) {
|
|
82
|
+
case 'version':
|
|
83
|
+
case '--version':
|
|
84
|
+
case '-v':
|
|
85
|
+
printVersion();
|
|
86
|
+
break;
|
|
87
|
+
|
|
88
|
+
case 'help':
|
|
89
|
+
case '--help':
|
|
90
|
+
case '-h':
|
|
91
|
+
printHelp();
|
|
92
|
+
break;
|
|
93
|
+
|
|
94
|
+
case 'start':
|
|
95
|
+
printSuccess('Starting Claude-Flow orchestration system...');
|
|
96
|
+
printWarning('Full orchestrator implementation coming soon!');
|
|
97
|
+
console.log('🚀 System would start with the following components:');
|
|
98
|
+
console.log(' - Event Bus');
|
|
99
|
+
console.log(' - Orchestrator Engine');
|
|
100
|
+
console.log(' - Memory Manager');
|
|
101
|
+
console.log(' - Terminal Pool');
|
|
102
|
+
console.log(' - MCP Server');
|
|
103
|
+
console.log(' - Coordination Manager');
|
|
104
|
+
break;
|
|
105
|
+
|
|
106
|
+
case 'agent':
|
|
107
|
+
const agentCmd = subArgs[0];
|
|
108
|
+
switch (agentCmd) {
|
|
109
|
+
case 'spawn':
|
|
110
|
+
const agentType = subArgs[1] || 'researcher';
|
|
111
|
+
printSuccess(`Spawning ${agentType} agent...`);
|
|
112
|
+
console.log(`📝 Agent ID: agent-${Date.now()}`);
|
|
113
|
+
console.log(`🤖 Type: ${agentType}`);
|
|
114
|
+
console.log(`⚡ Status: Active`);
|
|
115
|
+
break;
|
|
116
|
+
case 'list':
|
|
117
|
+
printSuccess('Active agents:');
|
|
118
|
+
console.log('📋 No agents currently active (orchestrator not running)');
|
|
119
|
+
break;
|
|
120
|
+
default:
|
|
121
|
+
console.log('Agent commands: spawn, list, terminate, info');
|
|
122
|
+
}
|
|
123
|
+
break;
|
|
124
|
+
|
|
125
|
+
case 'task':
|
|
126
|
+
const taskCmd = subArgs[0];
|
|
127
|
+
switch (taskCmd) {
|
|
128
|
+
case 'create':
|
|
129
|
+
const taskType = subArgs[1] || 'general';
|
|
130
|
+
const description = subArgs[2] || 'No description';
|
|
131
|
+
printSuccess(`Creating ${taskType} task: "${description}"`);
|
|
132
|
+
console.log(`📝 Task ID: task-${Date.now()}`);
|
|
133
|
+
console.log(`🎯 Type: ${taskType}`);
|
|
134
|
+
console.log(`📄 Description: ${description}`);
|
|
135
|
+
break;
|
|
136
|
+
case 'list':
|
|
137
|
+
printSuccess('Active tasks:');
|
|
138
|
+
console.log('📋 No tasks currently active (orchestrator not running)');
|
|
139
|
+
break;
|
|
140
|
+
default:
|
|
141
|
+
console.log('Task commands: create, list, status, cancel, workflow');
|
|
142
|
+
}
|
|
143
|
+
break;
|
|
144
|
+
|
|
145
|
+
case 'config':
|
|
146
|
+
const configCmd = subArgs[0];
|
|
147
|
+
switch (configCmd) {
|
|
148
|
+
case 'init':
|
|
149
|
+
printSuccess('Initializing Claude-Flow configuration...');
|
|
150
|
+
console.log('📝 Configuration file would be created at: claude-flow.config.json');
|
|
151
|
+
break;
|
|
152
|
+
case 'show':
|
|
153
|
+
printSuccess('Current configuration:');
|
|
154
|
+
console.log('📋 Configuration display would show here');
|
|
155
|
+
break;
|
|
156
|
+
default:
|
|
157
|
+
console.log('Config commands: init, show, get, set, validate');
|
|
158
|
+
}
|
|
159
|
+
break;
|
|
160
|
+
|
|
161
|
+
case 'status':
|
|
162
|
+
printSuccess('Claude-Flow System Status:');
|
|
163
|
+
console.log('🟡 Status: Not Running (orchestrator not started)');
|
|
164
|
+
console.log('🤖 Agents: 0 active');
|
|
165
|
+
console.log('📋 Tasks: 0 in queue');
|
|
166
|
+
console.log('💾 Memory: Ready');
|
|
167
|
+
console.log('🖥️ Terminal Pool: Ready');
|
|
168
|
+
console.log('🌐 MCP Server: Stopped');
|
|
169
|
+
break;
|
|
170
|
+
|
|
171
|
+
case 'memory':
|
|
172
|
+
printSuccess('Memory system ready');
|
|
173
|
+
console.log('💾 Memory operations would be handled here');
|
|
174
|
+
break;
|
|
175
|
+
|
|
176
|
+
case 'monitor':
|
|
177
|
+
printSuccess('Starting system monitor...');
|
|
178
|
+
console.log('📊 Real-time monitoring would display here');
|
|
179
|
+
break;
|
|
180
|
+
|
|
181
|
+
case 'session':
|
|
182
|
+
printSuccess('Terminal session manager ready');
|
|
183
|
+
console.log('🖥️ Session operations would be handled here');
|
|
184
|
+
break;
|
|
185
|
+
|
|
186
|
+
case 'workflow':
|
|
187
|
+
const workflowFile = subArgs[0];
|
|
188
|
+
if (workflowFile) {
|
|
189
|
+
printSuccess(`Executing workflow: ${workflowFile}`);
|
|
190
|
+
console.log('🔄 Workflow execution would start here');
|
|
191
|
+
} else {
|
|
192
|
+
printError('Please specify a workflow file');
|
|
193
|
+
}
|
|
194
|
+
break;
|
|
195
|
+
|
|
196
|
+
case 'repl':
|
|
197
|
+
printSuccess('Starting interactive REPL mode...');
|
|
198
|
+
console.log('🚀 Interactive mode coming soon!');
|
|
199
|
+
console.log('💡 This will provide a full interactive shell for Claude-Flow operations');
|
|
200
|
+
break;
|
|
201
|
+
|
|
202
|
+
default:
|
|
203
|
+
printError(`Unknown command: ${command}`);
|
|
204
|
+
console.log('Run "claude-flow help" for available commands');
|
|
205
|
+
Deno.exit(1);
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
if (import.meta.main) {
|
|
210
|
+
await main();
|
|
211
|
+
}
|