golem-cc 0.1.3 → 0.1.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.
Files changed (2) hide show
  1. package/bin/golem +17 -4
  2. package/package.json +1 -1
package/bin/golem CHANGED
@@ -89,9 +89,20 @@ cmd_install() {
89
89
  mkdir -p specs
90
90
 
91
91
  # Copy prompts and agents
92
- if [[ -d "$GOLEM_DIR/golem" ]]; then
93
- cp "$GOLEM_DIR/golem/prompts/"*.md .golem/prompts/ 2>/dev/null || true
94
- cp "$GOLEM_DIR/golem/agents/"*.md .golem/agents/ 2>/dev/null || true
92
+ local copied_agents=false
93
+ if [[ -d "$GOLEM_DIR/golem/agents" ]]; then
94
+ if cp "$GOLEM_DIR/golem/prompts/"*.md .golem/prompts/ 2>/dev/null && \
95
+ cp "$GOLEM_DIR/golem/agents/"*.md .golem/agents/ 2>/dev/null; then
96
+ copied_agents=true
97
+ echo -e "${GREEN}✓${NC} Copied prompts and agents"
98
+ fi
99
+ fi
100
+
101
+ if [[ "$copied_agents" == "false" ]]; then
102
+ echo -e "${YELLOW}⚠${NC} Could not copy agents from $GOLEM_DIR/golem/"
103
+ echo -e " ${DIM}Expected: $GOLEM_DIR/golem/agents/*.md${NC}"
104
+ echo -e " ${DIM}Spec building will use inline prompts instead${NC}"
105
+ echo -e " ${DIM}Try reinstalling: npx golem-cc --global${NC}"
95
106
  fi
96
107
 
97
108
  # Create AGENTS.md if it doesn't exist
@@ -213,7 +224,9 @@ cmd_spec() {
213
224
  if [[ -f ".golem/agents/spec-builder.md" ]]; then
214
225
  claude --agent .golem/agents/spec-builder.md
215
226
  else
216
- claude "Help me define specs for this project. Ask me about what I'm building, break it into topics of concern, and create spec files in specs/ directory. Also set up AGENTS.md with test/build commands."
227
+ echo -e "${YELLOW}Note: Using inline prompt (agents not installed)${NC}"
228
+ echo ""
229
+ claude "You are a spec-builder. Guide me through defining requirements for this project. Ask what I'm building, break it into topics of concern (3-7 topics), create spec files in specs/ for each topic, and set up AGENTS.md with test/build commands. Start by asking: What are you building?"
217
230
  fi
218
231
  }
219
232
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "golem-cc",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Autonomous coding loop with Claude - structured specs, ralph loop execution, code simplification",
5
5
  "bin": {
6
6
  "golem-cc": "./bin/install.cjs"