claudeforge-cli 1.0.3 → 1.0.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claudeforge-cli",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "Forge production-ready AI agent projects — agents, slash commands, memory, CI/CD, and devcontainers in one command",
5
5
  "bin": {
6
6
  "claudeforge": "bin/cli.js"
@@ -15,17 +15,17 @@ Do not ask the user for a description. Read the codebase directly to infer every
15
15
 
16
16
  ### 1b. Full dependency map
17
17
 
18
- !`cat package.json 2>/dev/null`
19
- !`cat requirements.txt 2>/dev/null || cat pyproject.toml 2>/dev/null`
20
- !`cat go.mod 2>/dev/null`
21
- !`cat Cargo.toml 2>/dev/null`
22
- !`cat pom.xml 2>/dev/null | head -80`
23
- !`cat Gemfile 2>/dev/null`
18
+ !`cat package.json 2>/dev/null || echo "(no package.json)"`
19
+ !`cat requirements.txt 2>/dev/null || cat pyproject.toml 2>/dev/null || echo "(no python deps)"`
20
+ !`cat go.mod 2>/dev/null || echo "(no go.mod)"`
21
+ !`cat Cargo.toml 2>/dev/null || echo "(no Cargo.toml)"`
22
+ !`cat pom.xml 2>/dev/null | head -80 || echo "(no pom.xml)"`
23
+ !`cat Gemfile 2>/dev/null || echo "(no Gemfile)"`
24
24
 
25
25
  ### 1c. Project structure
26
26
 
27
- !`find . -type f \( -name "*.js" -o -name "*.ts" -o -name "*.py" -o -name "*.go" -o -name "*.rs" -o -name "*.java" -o -name "*.rb" \) -not -path "*/node_modules/*" -not -path "*/.git/*" -not -path "*/dist/*" -not -path "*/__pycache__/*" -not -path "*/target/*" | head -80`
28
- !`find . -type d -not -path "*/node_modules/*" -not -path "*/.git/*" -not -path "*/__pycache__/*" -not -path "*/target/*" -not -path "*/dist/*" | head -40`
27
+ !`find . -type f \( -name "*.js" -o -name "*.ts" -o -name "*.py" -o -name "*.go" -o -name "*.rs" -o -name "*.java" -o -name "*.rb" \) -not -path "*/node_modules/*" -not -path "*/.git/*" -not -path "*/dist/*" -not -path "*/__pycache__/*" -not -path "*/target/*" 2>/dev/null | head -80 || echo "(no source files found)"`
28
+ !`find . -type d -not -path "*/node_modules/*" -not -path "*/.git/*" -not -path "*/__pycache__/*" -not -path "*/target/*" -not -path "*/dist/*" 2>/dev/null | head -40 || echo "(no directories found)"`
29
29
 
30
30
  ### 1d. Read actual source code — infer real patterns
31
31
 
@@ -49,13 +49,13 @@ Read enough code to answer:
49
49
  ### 1e. Git history — understand how the project evolved
50
50
 
51
51
  !`git log --oneline -20 2>/dev/null || echo "(no git history)"`
52
- !`git log --pretty=format:"%s" -50 2>/dev/null | sort | uniq -c | sort -rn | head -20`
52
+ !`git log --pretty=format:"%s" -50 2>/dev/null | sort | uniq -c | sort -rn | head -20 || echo "(no commits)"`
53
53
 
54
54
  What do the commit messages reveal about the team's workflow and focus areas?
55
55
 
56
56
  ### 1f. Existing CI/CD and infrastructure
57
57
 
58
- !`cat .github/workflows/*.yml 2>/dev/null | head -100 || echo "(no GitHub Actions)"`
58
+ !`find .github/workflows -name "*.yml" 2>/dev/null | head -5 | xargs cat 2>/dev/null | head -100 || echo "(no GitHub Actions)"`
59
59
  !`cat Dockerfile 2>/dev/null | head -40 || echo "(no Dockerfile)"`
60
60
  !`cat docker-compose.yml 2>/dev/null || echo "(no docker-compose)"`
61
61
  !`cat .env.example 2>/dev/null || cat .env.sample 2>/dev/null || echo "(no .env.example)"`