claudeforge-cli 1.0.3 → 1.0.5

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.5",
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"
@@ -10,17 +10,17 @@ Do not ask the user for a description. Read the codebase directly to infer every
10
10
  ### 1a. Project identity
11
11
 
12
12
  !`ls -la`
13
- !`cat package.json 2>/dev/null || cat pyproject.toml 2>/dev/null || cat go.mod 2>/dev/null || cat Cargo.toml 2>/dev/null || echo "(no manifest found)"`
14
- !`cat README.md 2>/dev/null | head -60 || echo "(no README)"`
13
+ !`test -f package.json && cat package.json || test -f pyproject.toml && cat pyproject.toml || test -f go.mod && cat go.mod || test -f Cargo.toml && cat Cargo.toml || echo "(no manifest found)"`
14
+ !`test -f README.md && head -60 README.md || echo "(no README)"`
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
+ !`test -f package.json && cat package.json || echo "(no package.json)"`
19
+ !`test -f requirements.txt && cat requirements.txt || test -f pyproject.toml && cat pyproject.toml || echo "(no python deps)"`
20
+ !`test -f go.mod && cat go.mod || echo "(no go.mod)"`
21
+ !`test -f Cargo.toml && cat Cargo.toml || echo "(no Cargo.toml)"`
22
+ !`test -f pom.xml && head -80 pom.xml || echo "(no pom.xml)"`
23
+ !`test -f Gemfile && cat Gemfile || echo "(no Gemfile)"`
24
24
 
25
25
  ### 1c. Project structure
26
26
 
@@ -48,17 +48,17 @@ Read enough code to answer:
48
48
 
49
49
  ### 1e. Git history — understand how the project evolved
50
50
 
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`
51
+ !`git log --oneline -20 || echo "(no git history)"`
52
+ !`git log --pretty=format:"%s" -50 | 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)"`
59
- !`cat Dockerfile 2>/dev/null | head -40 || echo "(no Dockerfile)"`
60
- !`cat docker-compose.yml 2>/dev/null || echo "(no docker-compose)"`
61
- !`cat .env.example 2>/dev/null || cat .env.sample 2>/dev/null || echo "(no .env.example)"`
58
+ !`test -d .github/workflows && find .github/workflows -name "*.yml" | head -5 | xargs head -100 || echo "(no GitHub Actions)"`
59
+ !`test -f Dockerfile && head -40 Dockerfile || echo "(no Dockerfile)"`
60
+ !`test -f docker-compose.yml && cat docker-compose.yml || echo "(no docker-compose)"`
61
+ !`test -f .env.example && cat .env.example || test -f .env.sample && cat .env.sample || echo "(no .env.example)"`
62
62
 
63
63
  ---
64
64