vibecodingmachine-cli 1.0.5 → 1.0.6

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 (37) hide show
  1. package/.allnightai/REQUIREMENTS.md +11 -11
  2. package/.allnightai/temp/auto-status.json +6 -0
  3. package/.env +7 -0
  4. package/.eslintrc.js +16 -16
  5. package/README.md +85 -85
  6. package/bin/vibecodingmachine.js +274 -274
  7. package/jest.config.js +8 -8
  8. package/logs/audit/2025-11-07.jsonl +2 -2
  9. package/package.json +62 -62
  10. package/scripts/README.md +128 -128
  11. package/scripts/auto-start-wrapper.sh +92 -92
  12. package/scripts/postinstall.js +81 -81
  13. package/src/commands/auth.js +96 -96
  14. package/src/commands/auto-direct.js +1748 -1748
  15. package/src/commands/auto.js +4692 -4692
  16. package/src/commands/auto.js.bak +710 -710
  17. package/src/commands/ide.js +70 -70
  18. package/src/commands/repo.js +159 -159
  19. package/src/commands/requirements.js +161 -161
  20. package/src/commands/setup.js +91 -91
  21. package/src/commands/status.js +88 -88
  22. package/src/index.js +5 -5
  23. package/src/utils/auth.js +571 -577
  24. package/src/utils/auto-mode-ansi-ui.js +238 -238
  25. package/src/utils/auto-mode-simple-ui.js +161 -161
  26. package/src/utils/auto-mode-ui.js.bak.blessed +207 -207
  27. package/src/utils/auto-mode.js +65 -65
  28. package/src/utils/config.js +64 -64
  29. package/src/utils/interactive.js +3616 -3616
  30. package/src/utils/keyboard-handler.js +153 -152
  31. package/src/utils/logger.js +4 -4
  32. package/src/utils/persistent-header.js +116 -116
  33. package/src/utils/provider-registry.js +128 -128
  34. package/src/utils/status-card.js +120 -120
  35. package/src/utils/stdout-interceptor.js +127 -127
  36. package/tests/auto-mode.test.js +37 -37
  37. package/tests/config.test.js +34 -34
@@ -1,11 +1,11 @@
1
-
2
-
3
- ## ✅ Requirements completed
4
- - TEST
5
- - Add Cline CLI IDE
6
-
7
- ### Add Cline CLI to list of IDEs
8
-
9
- ### NEW REQUIREMENT
10
-
11
- ### Add Cline CLI to list of IDEs
1
+
2
+
3
+ ## ✅ Requirements completed
4
+ - TEST
5
+ - Add Cline CLI IDE
6
+
7
+ ### Add Cline CLI to list of IDEs
8
+
9
+ ### NEW REQUIREMENT
10
+
11
+ ### Add Cline CLI to list of IDEs
@@ -0,0 +1,6 @@
1
+ {
2
+ "running": false,
3
+ "startedAt": "2025-11-05T00:44:44.363Z",
4
+ "chatCount": 1,
5
+ "ide": "continue"
6
+ }
package/.env ADDED
@@ -0,0 +1,7 @@
1
+ # Vibe Coding Machine AWS Cognito Configuration
2
+ AWS_REGION=us-east-1
3
+ COGNITO_USER_POOL_ID=us-east-1_EjZ4Kbtgd
4
+ COGNITO_APP_CLIENT_ID=igc6madjovggt89cmv17h5p15
5
+ COGNITO_DOMAIN=allnightai-auth-1763598779.auth.us-east-1.amazoncognito.com
6
+ AUTH_URL=https://allnightai-auth-1763598779.auth.us-east-1.amazoncognito.com
7
+ GOOGLE_CLIENT_ID=820601514351-tcjvhvugi4225pdkhrnq8bht8c5gkvm0.apps.googleusercontent.com
package/.eslintrc.js CHANGED
@@ -1,16 +1,16 @@
1
- module.exports = {
2
- env: {
3
- node: true,
4
- es2021: true,
5
- jest: true
6
- },
7
- extends: 'eslint:recommended',
8
- parserOptions: {
9
- ecmaVersion: 2021,
10
- sourceType: 'module'
11
- },
12
- rules: {
13
- 'no-unused-vars': ['error', { argsIgnorePattern: '^_' }],
14
- 'no-console': 'off'
15
- }
16
- };
1
+ module.exports = {
2
+ env: {
3
+ node: true,
4
+ es2021: true,
5
+ jest: true
6
+ },
7
+ extends: 'eslint:recommended',
8
+ parserOptions: {
9
+ ecmaVersion: 2021,
10
+ sourceType: 'module'
11
+ },
12
+ rules: {
13
+ 'no-unused-vars': ['error', { argsIgnorePattern: '^_' }],
14
+ 'no-console': 'off'
15
+ }
16
+ };
package/README.md CHANGED
@@ -1,85 +1,85 @@
1
- # Vibe Coding Machine CLI
2
-
3
- Vibe Coding Machine command-line interface for managing repositories, auto mode, requirements, IDE actions, and status.
4
-
5
- ## Install
6
-
7
- From the monorepo root:
8
-
9
- ```bash
10
- npm install
11
- # optional: link locally for global access
12
- npm run --workspaces --if-present build
13
- npm link ./packages/cli
14
- ```
15
-
16
- Then run `vibecodingmachine` or `vcm` (short version).
17
-
18
- **Note**: The `vcm` shortcut will only be installed if you don't already have another `vcm` command on your system. If a conflict is detected, you can still use the full `vibecodingmachine` command.
19
-
20
- ## Usage
21
-
22
- ```bash
23
- vibecodingmachine --help # or: ana --help (if installed)
24
- vibecodingmachine -v # or: ana -v (if installed)
25
- ```
26
-
27
- **Note**: You can use either `vibecodingmachine` or `vcm` - they're the same command!
28
-
29
- ### Repository
30
- ```bash
31
- ana repo:init # initialize .vibecodingmachine in CWD and set repo
32
- ana repo:set /path/to/repo # set active repository
33
- ana repo:get # print current repo path
34
- ```
35
-
36
- ### Auto Mode
37
- ```bash
38
- ana auto:start --ide cursor --max-chats 10
39
- ana auto:status
40
- ana auto:config --max-chats 25 --never-stop
41
- ana auto:stop
42
- ```
43
-
44
- ### Requirements
45
- ```bash
46
- ana req:list
47
- ana req:add "Build initial CLI MVP"
48
- ana req:current
49
- ana req:next
50
- ana req:edit
51
- ana req:watch
52
- ```
53
-
54
- ### IDE
55
- ```bash
56
- ana ide:list
57
- ana ide:open cursor # or vscode, windsurf
58
- ana ide:send "Summarize failures" -i cursor
59
- ```
60
-
61
- ### Status
62
- ```bash
63
- ana status
64
- ana progress
65
- ana logs -n 100
66
- ```
67
-
68
- ### Interactive
69
- ```bash
70
- ana interactive
71
- ```
72
-
73
- ## Configuration
74
- - Stored at `~/.config/vibecodingmachine/config.json` by default
75
- - Override for testing with env var `ALLNIGHTAI_CONFIG_PATH=/tmp/your-test-config.json`
76
-
77
- ## Development
78
- ```bash
79
- # format and lint
80
- npm run -w @vibecodingmachine/cli format
81
- npm run -w @vibecodingmachine/cli lint
82
-
83
- # tests
84
- npm run -w @vibecodingmachine/cli test
85
- ```
1
+ # Vibe Coding Machine CLI
2
+
3
+ Vibe Coding Machine command-line interface for managing repositories, auto mode, requirements, IDE actions, and status.
4
+
5
+ ## Install
6
+
7
+ From the monorepo root:
8
+
9
+ ```bash
10
+ npm install
11
+ # optional: link locally for global access
12
+ npm run --workspaces --if-present build
13
+ npm link ./packages/cli
14
+ ```
15
+
16
+ Then run `vibecodingmachine` or `vcm` (short version).
17
+
18
+ **Note**: The `vcm` shortcut will only be installed if you don't already have another `vcm` command on your system. If a conflict is detected, you can still use the full `vibecodingmachine` command.
19
+
20
+ ## Usage
21
+
22
+ ```bash
23
+ vibecodingmachine --help # or: ana --help (if installed)
24
+ vibecodingmachine -v # or: ana -v (if installed)
25
+ ```
26
+
27
+ **Note**: You can use either `vibecodingmachine` or `vcm` - they're the same command!
28
+
29
+ ### Repository
30
+ ```bash
31
+ ana repo:init # initialize .vibecodingmachine in CWD and set repo
32
+ ana repo:set /path/to/repo # set active repository
33
+ ana repo:get # print current repo path
34
+ ```
35
+
36
+ ### Auto Mode
37
+ ```bash
38
+ ana auto:start --ide cursor --max-chats 10
39
+ ana auto:status
40
+ ana auto:config --max-chats 25 --never-stop
41
+ ana auto:stop
42
+ ```
43
+
44
+ ### Requirements
45
+ ```bash
46
+ ana req:list
47
+ ana req:add "Build initial CLI MVP"
48
+ ana req:current
49
+ ana req:next
50
+ ana req:edit
51
+ ana req:watch
52
+ ```
53
+
54
+ ### IDE
55
+ ```bash
56
+ ana ide:list
57
+ ana ide:open cursor # or vscode, windsurf
58
+ ana ide:send "Summarize failures" -i cursor
59
+ ```
60
+
61
+ ### Status
62
+ ```bash
63
+ ana status
64
+ ana progress
65
+ ana logs -n 100
66
+ ```
67
+
68
+ ### Interactive
69
+ ```bash
70
+ ana interactive
71
+ ```
72
+
73
+ ## Configuration
74
+ - Stored at `~/.config/vibecodingmachine/config.json` by default
75
+ - Override for testing with env var `ALLNIGHTAI_CONFIG_PATH=/tmp/your-test-config.json`
76
+
77
+ ## Development
78
+ ```bash
79
+ # format and lint
80
+ npm run -w @vibecodingmachine/cli format
81
+ npm run -w @vibecodingmachine/cli lint
82
+
83
+ # tests
84
+ npm run -w @vibecodingmachine/cli test
85
+ ```