golem-cc 0.1.0 → 0.1.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/README.md CHANGED
@@ -1,16 +1,22 @@
1
1
  ```
2
+
2
3
  ██████╗ ██████╗ ██╗ ███████╗███╗ ███╗
3
4
  ██╔════╝ ██╔═══██╗██║ ██╔════╝████╗ ████║
4
5
  ██║ ███╗██║ ██║██║ █████╗ ██╔████╔██║
5
6
  ██║ ██║██║ ██║██║ ██╔══╝ ██║╚██╔╝██║
6
7
  ╚██████╔╝╚██████╔╝███████╗███████╗██║ ╚═╝ ██║
7
8
  ╚═════╝ ╚═════╝ ╚══════╝╚══════╝╚═╝ ╚═╝
9
+
8
10
  ```
9
11
 
10
- > Let it build. Let it test. Let it simplify. Let it loop.
12
+ > *"Ruby's son is a doctor, and you're letting a computer write your code?"*
11
13
 
12
14
  Golem is an autonomous coding loop that implements features while you watch (or grab coffee). Define your specs, kick off the loop, and let it work through your task list—implementing, testing, simplifying, and committing along the way.
13
15
 
16
+ <p align="center">
17
+ <img src="demo.gif" alt="golem-cc demo" width="700">
18
+ </p>
19
+
14
20
  ```
15
21
  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
16
22
  ITERATION 3 │ 9 tasks remaining
@@ -77,8 +83,22 @@ Golem is an autonomous coding loop that implements features while you watch (or
77
83
  ## Installation
78
84
 
79
85
  ```bash
86
+ # npm
80
87
  npx golem-cc --global
81
- source ~/.zshrc
88
+
89
+ # pnpm
90
+ pnpm dlx golem-cc --global
91
+
92
+ # yarn
93
+ yarn dlx golem-cc --global
94
+
95
+ # bun
96
+ bunx golem-cc --global
97
+ ```
98
+
99
+ Then reload your shell:
100
+ ```bash
101
+ source ~/.zshrc # or ~/.bashrc
82
102
  ```
83
103
 
84
104
  ## Quick Start
package/bin/golem CHANGED
@@ -33,6 +33,7 @@ DIM='\033[2m'
33
33
  NC='\033[0m'
34
34
 
35
35
  print_banner() {
36
+ echo ""
36
37
  echo -e "${CYAN}"
37
38
  echo " ██████╗ ██████╗ ██╗ ███████╗███╗ ███╗"
38
39
  echo " ██╔════╝ ██╔═══██╗██║ ██╔════╝████╗ ████║"
@@ -41,7 +42,7 @@ print_banner() {
41
42
  echo " ╚██████╔╝╚██████╔╝███████╗███████╗██║ ╚═╝ ██║"
42
43
  echo " ╚═════╝ ╚═════╝ ╚══════╝╚══════╝╚═╝ ╚═╝"
43
44
  echo -e "${NC}"
44
- echo -e " ${DIM}Autonomous Coding Loop${NC}"
45
+ echo -e " ${DIM}\"Ruby's son is a doctor, and you're letting a computer write your code?\"${NC}"
45
46
  echo ""
46
47
  }
47
48
 
package/bin/install.cjs CHANGED
@@ -24,8 +24,7 @@ ${cyan} ██████╗ ██████╗ ██╗ ███
24
24
  ╚═════╝ ╚═════╝ ╚══════╝╚══════╝╚═╝ ╚═╝${reset}
25
25
 
26
26
  Golem ${dim}v${pkg.version}${reset}
27
- Autonomous coding loop with Claude
28
- Structured specs → Ralph loop → Code simplification
27
+ ${dim}"Ruby's son is a doctor, and you're letting a computer write your code?"${reset}
29
28
  `;
30
29
 
31
30
  // Parse args
@@ -53,17 +52,16 @@ if (hasHelp) {
53
52
  npx golem-cc --local
54
53
 
55
54
  ${yellow}After Installation:${reset}
56
- golem Launch Claude Code
57
- golem --yolo Launch with --dangerously-skip-permissions
58
- golem --install Install/update golem
59
-
60
- ${yellow}Commands (in Claude):${reset}
61
- /golem:spec Build project specs through conversation
62
- /golem:plan Create implementation plan
63
- /golem:build Run autonomous build loop
64
- /golem:simplify Simplify code
65
- /golem:status Show project status
55
+ golem --install Install golem to current project
56
+ golem spec Build specs through conversation
57
+ golem run plan Create implementation plan
58
+ golem run build Run autonomous build loop
59
+ golem simplify Simplify code
60
+ golem status Show project status
61
+
62
+ ${yellow}Slash Commands (inside Claude):${reset}
66
63
  /golem:help Show all commands
64
+ /golem:status Show project status
67
65
  `);
68
66
  process.exit(0);
69
67
  }
@@ -263,25 +261,26 @@ function install(isGlobal) {
263
261
  console.log(` ${green}✓${reset} Wrote VERSION (${pkg.version})`);
264
262
 
265
263
  // Install shell alias
266
- installShellAlias();
264
+ const shellConfig = installShellAlias();
267
265
 
268
266
  if (failures.length > 0) {
269
267
  console.error(`\n ${yellow}Installation incomplete!${reset} Failed: ${failures.join(', ')}`);
270
268
  process.exit(1);
271
269
  }
272
270
 
271
+ const sourceCmd = shellConfig ? `source ~/${shellConfig}` : 'restart your shell';
272
+
273
273
  console.log(`
274
274
  ${green}Done!${reset}
275
275
 
276
276
  ${yellow}Next steps:${reset}
277
- 1. Restart your shell (or run: source ~/.zshrc)
278
- 2. Run ${cyan}golem${reset} to launch Claude Code
279
- 3. Run ${cyan}/golem:help${reset} to see available commands
277
+ 1. Restart your shell (or run: ${cyan}${sourceCmd}${reset})
278
+ 2. Run ${cyan}golem --install${reset} in your project directory
280
279
 
281
280
  ${yellow}Workflow:${reset}
282
- /golem:spec → Define requirements through conversation
283
- /golem:plan → Generate implementation plan
284
- /golem:build → Run autonomous coding loop
281
+ golem spec → Define requirements through conversation
282
+ golem run plan → Generate implementation plan
283
+ golem run build → Run autonomous coding loop
285
284
  `);
286
285
  }
287
286
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "golem-cc",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
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"