vibecodingmachine-cli 1.0.4 → 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/.allnightai/REQUIREMENTS.md +11 -11
- package/.eslintrc.js +16 -16
- package/README.md +85 -85
- package/bin/vibecodingmachine.js +274 -274
- package/jest.config.js +8 -8
- package/logs/audit/2025-11-07.jsonl +2 -2
- package/package.json +62 -66
- package/scripts/README.md +128 -128
- package/scripts/auto-start-wrapper.sh +92 -92
- package/scripts/postinstall.js +81 -81
- package/src/commands/auth.js +96 -96
- package/src/commands/auto-direct.js +1748 -1748
- package/src/commands/auto.js +4692 -4692
- package/src/commands/auto.js.bak +710 -710
- package/src/commands/ide.js +70 -70
- package/src/commands/repo.js +159 -159
- package/src/commands/requirements.js +161 -161
- package/src/commands/setup.js +91 -91
- package/src/commands/status.js +88 -88
- package/src/index.js +5 -5
- package/src/utils/auth.js +577 -577
- package/src/utils/auto-mode-ansi-ui.js +238 -238
- package/src/utils/auto-mode-simple-ui.js +161 -161
- package/src/utils/auto-mode-ui.js.bak.blessed +207 -207
- package/src/utils/auto-mode.js +65 -65
- package/src/utils/config.js +64 -64
- package/src/utils/interactive.js +3616 -3616
- package/src/utils/keyboard-handler.js +152 -152
- package/src/utils/logger.js +4 -4
- package/src/utils/persistent-header.js +116 -116
- package/src/utils/provider-registry.js +128 -128
- package/src/utils/status-card.js +120 -120
- package/src/utils/stdout-interceptor.js +127 -127
- package/tests/auto-mode.test.js +37 -37
- package/tests/config.test.js +34 -34
- package/.allnightai/temp/auto-status.json +0 -6
- package/.env +0 -7
|
@@ -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
|
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
|
+
```
|