golem-cc 0.1.28 → 0.1.30

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/golem CHANGED
@@ -181,7 +181,6 @@ print_banner() {
181
181
  echo " ╚═════╝ ╚═════╝ ╚══════╝╚══════╝╚═╝ ╚═╝"
182
182
  echo -e "${NC}"
183
183
  echo -e " ${DIM}\"Ruby's son is a doctor, and you're letting a computer write your code?\"${NC}"
184
- echo ""
185
184
  }
186
185
 
187
186
  print_usage() {
@@ -230,6 +229,11 @@ cmd_install() {
230
229
  version=$(get_version)
231
230
  header_box "INSTALLING v$version" "$BLUE"
232
231
  echo ""
232
+ echo -e " ${YELLOW}What's New:${NC}"
233
+ echo -e " ${DIM}• Pretty markdown output (bundled renderer)${NC}"
234
+ echo -e " ${DIM}• Better build loop progress (task display, timing)${NC}"
235
+ echo -e " ${DIM}• All files now inside .golem/ directory${NC}"
236
+ echo ""
233
237
 
234
238
  # Create directories
235
239
  mkdir -p .golem/prompts
@@ -237,20 +241,14 @@ cmd_install() {
237
241
  mkdir -p .golem/specs
238
242
 
239
243
  # Copy prompts and agents (don't overwrite existing)
240
- local copied_agents=false
241
- if [[ -d "$GOLEM_DIR/golem/agents" ]]; then
242
- if cp -n "$GOLEM_DIR/golem/prompts/"*.md .golem/prompts/ 2>/dev/null && \
243
- cp -n "$GOLEM_DIR/golem/agents/"*.md .golem/agents/ 2>/dev/null; then
244
- copied_agents=true
245
- echo -e "${GREEN}✓${NC} Copied prompts and agents"
246
- fi
247
- fi
248
-
249
- if [[ "$copied_agents" == "false" ]]; then
250
- echo -e "${YELLOW}⚠${NC} Could not copy agents from $GOLEM_DIR/golem/"
251
- echo -e " ${DIM}Expected: $GOLEM_DIR/golem/agents/*.md${NC}"
252
- echo -e " ${DIM}Spec building will use inline prompts instead${NC}"
253
- echo -e " ${DIM}Try reinstalling: npx golem-cc --global${NC}"
244
+ if [[ -d "$GOLEM_DIR/golem/agents" ]] && [[ -d "$GOLEM_DIR/golem/prompts" ]]; then
245
+ # cp -n doesn't overwrite but returns error if file exists, so ignore exit code
246
+ cp -n "$GOLEM_DIR/golem/prompts/"*.md .golem/prompts/ 2>/dev/null || true
247
+ cp -n "$GOLEM_DIR/golem/agents/"*.md .golem/agents/ 2>/dev/null || true
248
+ echo -e "${GREEN}✓${NC} Synced prompts and agents"
249
+ else
250
+ echo -e "${YELLOW}⚠${NC} No global prompts/agents found"
251
+ echo -e " ${DIM}Run: npx golem-cc --global${NC}"
254
252
  fi
255
253
 
256
254
  # Create AGENTS.md if it doesn't exist
package/bin/install.cjs CHANGED
@@ -25,6 +25,11 @@ ${cyan} ██████╗ ██████╗ ██╗ ███
25
25
 
26
26
  Golem ${dim}v${pkg.version}${reset}
27
27
  ${dim}"Ruby's son is a doctor, and you're letting a computer write your code?"${reset}
28
+
29
+ ${yellow}What's New:${reset}
30
+ ${dim}• Pretty markdown output (bundled renderer)${reset}
31
+ ${dim}• Better build loop progress (task display, timing)${reset}
32
+ ${dim}• All files now inside .golem/ directory${reset}
28
33
  `;
29
34
 
30
35
  // Parse args
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "golem-cc",
3
- "version": "0.1.28",
3
+ "version": "0.1.30",
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"