claude-autopm 1.10.1 → 1.10.2
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/bin/commands/config.js +20 -11
- package/install/install.js +29 -5
- package/package.json +1 -1
package/bin/commands/config.js
CHANGED
|
@@ -79,13 +79,28 @@ class ConfigCommand {
|
|
|
79
79
|
|
|
80
80
|
console.log('│ │');
|
|
81
81
|
|
|
82
|
-
//
|
|
83
|
-
const
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
82
|
+
// Installation Configuration - check both new and legacy formats
|
|
83
|
+
const dockerEnabled = config.tools?.docker?.enabled || config.features?.dockerFirst || false;
|
|
84
|
+
const dockerFirst = config.tools?.docker?.first || false;
|
|
85
|
+
const dockerStatus = dockerEnabled ? (dockerFirst ? '✅ Enabled (First)' : '✅ Enabled') : '❌ Disabled';
|
|
86
|
+
console.log(`│ Docker: ${this.padRight(dockerStatus, 22)} │`);
|
|
87
|
+
|
|
88
|
+
const k8sEnabled = config.tools?.kubernetes?.enabled || config.features?.kubernetes || false;
|
|
89
|
+
const k8sStatus = k8sEnabled ? '✅ Enabled' : '❌ Disabled';
|
|
87
90
|
console.log(`│ Kubernetes: ${this.padRight(k8sStatus, 22)} │`);
|
|
88
91
|
|
|
92
|
+
// Execution strategy - check both formats
|
|
93
|
+
const executionStrategy = config.execution_strategy || config.execution?.strategy || 'adaptive';
|
|
94
|
+
console.log(`│ Execution: ${this.padRight(executionStrategy, 22)} │`);
|
|
95
|
+
|
|
96
|
+
// Show parallel limit if hybrid strategy
|
|
97
|
+
if (executionStrategy === 'hybrid' && config.parallel_limit) {
|
|
98
|
+
console.log(`│ Parallel Limit: ${this.padRight(config.parallel_limit.toString(), 22)} │`);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
console.log('│ │');
|
|
102
|
+
|
|
103
|
+
// Features - optional/legacy features
|
|
89
104
|
const mcpStatus = config.features?.mcp ? '✅ Enabled' : '❌ Disabled';
|
|
90
105
|
console.log(`│ MCP: ${this.padRight(mcpStatus, 22)} │`);
|
|
91
106
|
|
|
@@ -96,12 +111,6 @@ class ConfigCommand {
|
|
|
96
111
|
const cicdPlatform = config.features?.cicd || 'not configured';
|
|
97
112
|
console.log(`│ CI/CD: ${this.padRight(cicdPlatform, 22)} │`);
|
|
98
113
|
|
|
99
|
-
console.log('│ │');
|
|
100
|
-
|
|
101
|
-
// Execution strategy
|
|
102
|
-
const executionStrategy = config.execution?.strategy || 'adaptive';
|
|
103
|
-
console.log(`│ Execution: ${this.padRight(executionStrategy, 22)} │`);
|
|
104
|
-
|
|
105
114
|
// Current team
|
|
106
115
|
const currentTeam = config.teams?.current || 'base';
|
|
107
116
|
console.log(`│ Team: ${this.padRight(currentTeam, 22)} │`);
|
package/install/install.js
CHANGED
|
@@ -39,6 +39,7 @@ class Installer {
|
|
|
39
39
|
'.claude/rules',
|
|
40
40
|
'.claude/scripts',
|
|
41
41
|
'.claude/checklists',
|
|
42
|
+
'.claude/strategies',
|
|
42
43
|
'.claude/mcp',
|
|
43
44
|
'.claude/.env.example',
|
|
44
45
|
'.claude-code'
|
|
@@ -345,11 +346,34 @@ ${this.colors.BOLD}Examples:${this.colors.NC}
|
|
|
345
346
|
console.log(`
|
|
346
347
|
${this.colors.BOLD}Select installation scenario:${this.colors.NC}
|
|
347
348
|
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
349
|
+
${this.colors.CYAN}1. Minimal${this.colors.NC} - Traditional development workflow
|
|
350
|
+
• Sequential agent execution (one at a time)
|
|
351
|
+
• Native tooling: npm, pip, local installs
|
|
352
|
+
• Best for: Simple projects, learning, debugging
|
|
353
|
+
• No containers or orchestration
|
|
354
|
+
|
|
355
|
+
${this.colors.CYAN}2. Docker-only${this.colors.NC} - Containerized local development
|
|
356
|
+
• Adaptive execution (smart sequential/parallel choice)
|
|
357
|
+
• Docker containers for development environment
|
|
358
|
+
• Best for: Microservices, consistent environments
|
|
359
|
+
• Local Docker only, no Kubernetes
|
|
360
|
+
|
|
361
|
+
${this.colors.GREEN}3. Full DevOps${this.colors.NC} - Complete CI/CD pipeline ${this.colors.BOLD}(RECOMMENDED)${this.colors.NC}
|
|
362
|
+
• Adaptive execution with Docker-first priority
|
|
363
|
+
• Kubernetes manifests and cloud deployment ready
|
|
364
|
+
• GitHub Actions with KIND clusters and Kaniko builds
|
|
365
|
+
• Best for: Production applications, enterprise projects
|
|
366
|
+
|
|
367
|
+
${this.colors.YELLOW}4. Performance${this.colors.NC} - Maximum parallel execution
|
|
368
|
+
• Hybrid strategy: up to 5 parallel agents
|
|
369
|
+
• Advanced context isolation and security
|
|
370
|
+
• Full DevOps capabilities with speed optimization
|
|
371
|
+
• Best for: Large projects, massive refactoring, power users
|
|
372
|
+
|
|
373
|
+
${this.colors.CYAN}5. Custom${this.colors.NC} - Manual configuration
|
|
374
|
+
• Configure execution strategy manually
|
|
375
|
+
• Choose your own agents and workflows
|
|
376
|
+
• Advanced users only
|
|
353
377
|
`);
|
|
354
378
|
|
|
355
379
|
if (process.env.AUTOPM_TEST_MODE === '1') {
|