@su-record/vibe 2.0.0 → 2.0.1

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 (65) hide show
  1. package/.claude/agents/explorer.md +48 -48
  2. package/.claude/agents/implementer.md +53 -53
  3. package/.claude/agents/searcher.md +54 -54
  4. package/.claude/agents/simplifier.md +119 -119
  5. package/.claude/agents/tester.md +49 -49
  6. package/.claude/commands/vibe.analyze.md +239 -239
  7. package/.claude/commands/vibe.continue.md +88 -88
  8. package/.claude/commands/vibe.diagram.md +178 -178
  9. package/.claude/commands/vibe.reason.md +306 -306
  10. package/.claude/commands/vibe.run.md +760 -760
  11. package/.claude/commands/vibe.spec.md +339 -339
  12. package/.claude/commands/vibe.tool.md +153 -153
  13. package/.claude/commands/vibe.ui.md +137 -137
  14. package/.claude/commands/vibe.verify.md +238 -238
  15. package/.claude/settings.json +152 -152
  16. package/.claude/settings.local.json +4 -57
  17. package/.vibe/config.json +9 -0
  18. package/.vibe/constitution.md +184 -184
  19. package/.vibe/rules/core/communication-guide.md +104 -104
  20. package/.vibe/rules/core/development-philosophy.md +52 -52
  21. package/.vibe/rules/core/quick-start.md +120 -120
  22. package/.vibe/rules/quality/bdd-contract-testing.md +388 -388
  23. package/.vibe/rules/quality/checklist.md +276 -276
  24. package/.vibe/rules/quality/testing-strategy.md +437 -437
  25. package/.vibe/rules/standards/anti-patterns.md +369 -369
  26. package/.vibe/rules/standards/code-structure.md +291 -291
  27. package/.vibe/rules/standards/complexity-metrics.md +312 -312
  28. package/.vibe/rules/standards/naming-conventions.md +198 -198
  29. package/.vibe/rules/tools/mcp-hi-ai-guide.md +665 -665
  30. package/.vibe/rules/tools/mcp-workflow.md +51 -51
  31. package/.vibe/setup.sh +31 -31
  32. package/CLAUDE.md +122 -122
  33. package/LICENSE +21 -21
  34. package/README.md +568 -568
  35. package/dist/cli/index.d.ts.map +1 -1
  36. package/dist/cli/index.js +391 -406
  37. package/dist/cli/index.js.map +1 -1
  38. package/dist/lib/MemoryManager.js +92 -92
  39. package/dist/lib/PythonParser.js +108 -108
  40. package/dist/lib/gemini-mcp.js +15 -15
  41. package/dist/lib/gemini-oauth.js +35 -35
  42. package/dist/lib/gpt-mcp.js +17 -17
  43. package/dist/lib/gpt-oauth.js +44 -44
  44. package/dist/tools/analytics/getUsageAnalytics.js +12 -12
  45. package/dist/tools/memory/createMemoryTimeline.js +10 -10
  46. package/dist/tools/memory/getMemoryGraph.js +12 -12
  47. package/dist/tools/memory/getSessionContext.js +9 -9
  48. package/dist/tools/memory/linkMemories.js +14 -14
  49. package/dist/tools/memory/listMemories.js +4 -4
  50. package/dist/tools/memory/recallMemory.js +4 -4
  51. package/dist/tools/memory/saveMemory.js +4 -4
  52. package/dist/tools/memory/searchMemoriesAdvanced.js +22 -22
  53. package/dist/tools/planning/generatePrd.js +46 -46
  54. package/dist/tools/prompt/enhancePromptGemini.js +160 -160
  55. package/dist/tools/reasoning/applyReasoningFramework.js +56 -56
  56. package/dist/tools/semantic/analyzeDependencyGraph.js +12 -12
  57. package/package.json +67 -67
  58. package/templates/constitution-template.md +184 -184
  59. package/templates/contract-backend-template.md +517 -517
  60. package/templates/contract-frontend-template.md +594 -594
  61. package/templates/feature-template.md +96 -96
  62. package/templates/hooks-template.json +103 -103
  63. package/templates/spec-template.md +199 -199
  64. package/dist/lib/vibe-mcp.d.ts.map +0 -1
  65. package/dist/lib/vibe-mcp.js.map +0 -1
@@ -1,153 +1,153 @@
1
- {
2
- "permissions": {
3
- "allow": [
4
- "Bash(cat:*)",
5
- "Bash(mv:*)",
6
- "Bash(sed:*)",
7
- "Bash(git add:*)",
8
- "Bash(git commit:*)",
9
- "Bash(npm publish:*)",
10
- "Bash(git push:*)",
11
- "Bash(npm pack)",
12
- "Bash(npm install:*)",
13
- "Read(//private/tmp/test-vibe-bdd/.vibe/**)",
14
- "Read(//private/tmp/test-vibe-bdd/.claude/commands/**)",
15
- "Bash(npm view:*)",
16
- "Bash(gh release create:*)",
17
- "Bash(gh release view:*)",
18
- "Bash(npm run build:*)",
19
- "Bash(pbcopy)",
20
- "Bash(openskills --help:*)",
21
- "Bash(mkdir:*)",
22
- "Bash(openskills sync:*)",
23
- "Bash(openskills list:*)",
24
- "Bash(openskills read:*)",
25
- "Bash(./bin/vibe list:*)",
26
- "Bash(./bin/vibe read:*)",
27
- "Bash(./bin/vibe sync:*)",
28
- "Bash(npm link:*)",
29
- "Bash(vibe list:*)",
30
- "Bash(vibe read:*)",
31
- "Bash(vibe init:*)",
32
- "SlashCommand(/vibe.spec \"로그인 기능\")",
33
- "SlashCommand(/vibe.spec:*)",
34
- "Bash(node bin/vibe:*)",
35
- "Bash(npm pack:*)",
36
- "Bash(npm config set:*)",
37
- "Bash(node:*)",
38
- "Bash(xargs basename:*)",
39
- "Bash(git restore:*)",
40
- "Bash(npm version:*)",
41
- "Bash(npx @su-record/vibe@latest update)",
42
- "Bash(gh release:*)",
43
- "Bash(npx @su-record/vibe@latest init:*)",
44
- "Bash(vibe version:*)",
45
- "Bash(vibe update:*)",
46
- "Bash(vibe status:*)",
47
- "Bash(git rm:*)"
48
- ],
49
- "deny": [],
50
- "ask": []
51
- },
52
- "hooks": {
53
- "SessionStart": [
54
- {
55
- "hooks": [
56
- {
57
- "type": "command",
58
- "command": "echo '[SESSION START] IMMEDIATELY call vibe_start_session to restore previous context. Do this before responding to the user.'"
59
- }
60
- ]
61
- }
62
- ],
63
- "PreToolUse": [
64
- {
65
- "matcher": "Bash",
66
- "hooks": [
67
- {
68
- "type": "command",
69
- "command": "echo '[BASH CHECK] Be cautious with destructive commands (rm -rf, git push --force, drop table). Verify paths before deletion.'"
70
- }
71
- ]
72
- }
73
- ],
74
- "PostToolUse": [
75
- {
76
- "matcher": "Write|Edit",
77
- "hooks": [
78
- {
79
- "type": "command",
80
- "command": "echo '[AUTO-CONTINUE] 코드 체크 완료. 문제 발견 시 다음 edit에서 수정하고 작업 계속. 절대 멈추지 말 것.'"
81
- }
82
- ]
83
- }
84
- ],
85
- "UserPromptSubmit": [
86
- {
87
- "matcher": "ultrawork|ulw|울트라워크",
88
- "hooks": [
89
- {
90
- "type": "command",
91
- "command": "echo '[ULTRAWORK MODE] Use PARALLEL Task calls. Auto-continue through ALL phases. Auto-retry on errors up to 3 times. Run vibe_auto_save_context at 70%+ context. Do NOT ask for confirmation between phases.'"
92
- }
93
- ]
94
- },
95
- {
96
- "matcher": "analyze|분석|analysis",
97
- "hooks": [
98
- {
99
- "type": "command",
100
- "command": "echo '[ANALYZE MODE] Thoroughly examine the codebase. Use vibe_analyze_complexity and vibe_find_references for deep analysis.'"
101
- }
102
- ]
103
- },
104
- {
105
- "matcher": "debug|디버그|debugging",
106
- "hooks": [
107
- {
108
- "type": "command",
109
- "command": "echo '[DEBUG MODE] Focus on finding root cause. Check logs, trace execution flow, verify assumptions step by step.'"
110
- }
111
- ]
112
- },
113
- {
114
- "matcher": "test|테스트|testing",
115
- "hooks": [
116
- {
117
- "type": "command",
118
- "command": "echo '[TEST MODE] Write comprehensive tests. Cover edge cases, error scenarios, and happy paths.'"
119
- }
120
- ]
121
- }
122
- ],
123
- "Notification": [
124
- {
125
- "matcher": "context_window_80",
126
- "hooks": [
127
- {
128
- "type": "command",
129
- "command": "echo '[CONTEXT 80%] MANDATORY: Call vibe_auto_save_context with urgency=medium NOW. This is NOT optional - save context before it is lost.'"
130
- }
131
- ]
132
- },
133
- {
134
- "matcher": "context_window_90",
135
- "hooks": [
136
- {
137
- "type": "command",
138
- "command": "echo '[CONTEXT 90% URGENT] MANDATORY: Call vibe_auto_save_context with urgency=high IMMEDIATELY. Do NOT proceed without saving.'"
139
- }
140
- ]
141
- },
142
- {
143
- "matcher": "context_window_95",
144
- "hooks": [
145
- {
146
- "type": "command",
147
- "command": "echo '[CONTEXT 95% CRITICAL] MANDATORY: Call vibe_auto_save_context with urgency=critical NOW. Session transition imminent - save everything.'"
148
- }
149
- ]
150
- }
151
- ]
152
- }
1
+ {
2
+ "permissions": {
3
+ "allow": [
4
+ "Bash(cat:*)",
5
+ "Bash(mv:*)",
6
+ "Bash(sed:*)",
7
+ "Bash(git add:*)",
8
+ "Bash(git commit:*)",
9
+ "Bash(npm publish:*)",
10
+ "Bash(git push:*)",
11
+ "Bash(npm pack)",
12
+ "Bash(npm install:*)",
13
+ "Read(//private/tmp/test-vibe-bdd/.vibe/**)",
14
+ "Read(//private/tmp/test-vibe-bdd/.claude/commands/**)",
15
+ "Bash(npm view:*)",
16
+ "Bash(gh release create:*)",
17
+ "Bash(gh release view:*)",
18
+ "Bash(npm run build:*)",
19
+ "Bash(pbcopy)",
20
+ "Bash(openskills --help:*)",
21
+ "Bash(mkdir:*)",
22
+ "Bash(openskills sync:*)",
23
+ "Bash(openskills list:*)",
24
+ "Bash(openskills read:*)",
25
+ "Bash(./bin/vibe list:*)",
26
+ "Bash(./bin/vibe read:*)",
27
+ "Bash(./bin/vibe sync:*)",
28
+ "Bash(npm link:*)",
29
+ "Bash(vibe list:*)",
30
+ "Bash(vibe read:*)",
31
+ "Bash(vibe init:*)",
32
+ "SlashCommand(/vibe.spec \"로그인 기능\")",
33
+ "SlashCommand(/vibe.spec:*)",
34
+ "Bash(node bin/vibe:*)",
35
+ "Bash(npm pack:*)",
36
+ "Bash(npm config set:*)",
37
+ "Bash(node:*)",
38
+ "Bash(xargs basename:*)",
39
+ "Bash(git restore:*)",
40
+ "Bash(npm version:*)",
41
+ "Bash(npx @su-record/vibe@latest update)",
42
+ "Bash(gh release:*)",
43
+ "Bash(npx @su-record/vibe@latest init:*)",
44
+ "Bash(vibe version:*)",
45
+ "Bash(vibe update:*)",
46
+ "Bash(vibe status:*)",
47
+ "Bash(git rm:*)"
48
+ ],
49
+ "deny": [],
50
+ "ask": []
51
+ },
52
+ "hooks": {
53
+ "SessionStart": [
54
+ {
55
+ "hooks": [
56
+ {
57
+ "type": "command",
58
+ "command": "echo '[SESSION START] IMMEDIATELY call vibe_start_session to restore previous context. Do this before responding to the user.'"
59
+ }
60
+ ]
61
+ }
62
+ ],
63
+ "PreToolUse": [
64
+ {
65
+ "matcher": "Bash",
66
+ "hooks": [
67
+ {
68
+ "type": "command",
69
+ "command": "echo '[BASH CHECK] Be cautious with destructive commands (rm -rf, git push --force, drop table). Verify paths before deletion.'"
70
+ }
71
+ ]
72
+ }
73
+ ],
74
+ "PostToolUse": [
75
+ {
76
+ "matcher": "Write|Edit",
77
+ "hooks": [
78
+ {
79
+ "type": "command",
80
+ "command": "echo '[AUTO-CONTINUE] 코드 체크 완료. 문제 발견 시 다음 edit에서 수정하고 작업 계속. 절대 멈추지 말 것.'"
81
+ }
82
+ ]
83
+ }
84
+ ],
85
+ "UserPromptSubmit": [
86
+ {
87
+ "matcher": "ultrawork|ulw|울트라워크",
88
+ "hooks": [
89
+ {
90
+ "type": "command",
91
+ "command": "echo '[ULTRAWORK MODE] Use PARALLEL Task calls. Auto-continue through ALL phases. Auto-retry on errors up to 3 times. Run vibe_auto_save_context at 70%+ context. Do NOT ask for confirmation between phases.'"
92
+ }
93
+ ]
94
+ },
95
+ {
96
+ "matcher": "analyze|분석|analysis",
97
+ "hooks": [
98
+ {
99
+ "type": "command",
100
+ "command": "echo '[ANALYZE MODE] Thoroughly examine the codebase. Use vibe_analyze_complexity and vibe_find_references for deep analysis.'"
101
+ }
102
+ ]
103
+ },
104
+ {
105
+ "matcher": "debug|디버그|debugging",
106
+ "hooks": [
107
+ {
108
+ "type": "command",
109
+ "command": "echo '[DEBUG MODE] Focus on finding root cause. Check logs, trace execution flow, verify assumptions step by step.'"
110
+ }
111
+ ]
112
+ },
113
+ {
114
+ "matcher": "test|테스트|testing",
115
+ "hooks": [
116
+ {
117
+ "type": "command",
118
+ "command": "echo '[TEST MODE] Write comprehensive tests. Cover edge cases, error scenarios, and happy paths.'"
119
+ }
120
+ ]
121
+ }
122
+ ],
123
+ "Notification": [
124
+ {
125
+ "matcher": "context_window_80",
126
+ "hooks": [
127
+ {
128
+ "type": "command",
129
+ "command": "echo '[CONTEXT 80%] MANDATORY: Call vibe_auto_save_context with urgency=medium NOW. This is NOT optional - save context before it is lost.'"
130
+ }
131
+ ]
132
+ },
133
+ {
134
+ "matcher": "context_window_90",
135
+ "hooks": [
136
+ {
137
+ "type": "command",
138
+ "command": "echo '[CONTEXT 90% URGENT] MANDATORY: Call vibe_auto_save_context with urgency=high IMMEDIATELY. Do NOT proceed without saving.'"
139
+ }
140
+ ]
141
+ },
142
+ {
143
+ "matcher": "context_window_95",
144
+ "hooks": [
145
+ {
146
+ "type": "command",
147
+ "command": "echo '[CONTEXT 95% CRITICAL] MANDATORY: Call vibe_auto_save_context with urgency=critical NOW. Session transition imminent - save everything.'"
148
+ }
149
+ ]
150
+ }
151
+ ]
152
+ }
153
153
  }
@@ -1,62 +1,9 @@
1
1
  {
2
2
  "permissions": {
3
3
  "allow": [
4
- "Bash(git tag:*)",
5
- "Bash(npm ls:*)",
6
- "Bash(git pull:*)",
7
- "Bash(git stash:*)",
8
- "Bash(curl:*)",
9
- "Bash(python3:*)",
10
- "Bash(npm search:*)",
11
- "Bash(npx @su-record/vibe@latest update:*)",
12
- "Bash(pnpm install)",
13
- "SlashCommand(/vibe.analyze 에이전트 개발)",
14
- "SlashCommand(/vibe.analyze:*)",
15
- "Bash(claude --version:*)",
16
- "Skill(vibe.spec)",
17
- "Skill(vibe.spec:*)",
18
- "Bash(NODE_OPTIONS=\"--max-old-space-size=8192\" claude:*)",
19
- "Skill(vibe.analyze)",
20
- "Skill(vibe.analyze:*)",
21
- "Bash(wc:*)",
22
- "Bash(grep:*)",
23
- "Bash(claude mcp list:*)",
24
- "Bash(claude mcp remove:*)",
25
- "Bash(claude mcp add:*)",
26
- "Bash(for f in ~/workspace/fallingo/.claude/settings.json ~/workspace/meeting-room-react/.claude/settings.json ~/workspace/meeting-room-api/.claude/settings.json ~/workspace/test-vibe-project/.claude/settings.json ~/workspace/test/.claude/settings.json)",
27
- "Bash(do)",
28
- "Bash(if [ -f \"$f\" ])",
29
- "Bash(then)",
30
- "Bash(fi)",
31
- "Bash(done)",
32
- "Bash(/Users/grove/workspace/vibe/bin/vibe update:*)",
33
- "Bash(npm show:*)",
34
- "Bash(npm init:*)",
35
- "Bash(git check-ignore:*)",
36
- "Bash(git checkout:*)",
37
- "Bash(git revert:*)",
38
- "Bash(ls:*)",
39
- "Bash(npx @su-record/vibe@1.2.14 update:*)",
40
- "Bash(npm unpublish:*)",
41
- "Bash(git clone:*)",
42
- "Bash(ANTIGRAVITY_DEBUG=1 node:*)",
43
- "Bash(npm root:*)",
44
- "Bash(vibe gemini:*)",
45
- "Bash(timeout 10 node:*)",
46
- "Bash(gtimeout 10 node:*)",
47
- "Bash(./bin/vibe update:*)",
48
- "Bash(vibe gpt:*)",
49
- "Bash(npm update:*)",
50
- "Bash(pkill:*)",
51
- "Bash(npm cache clean:*)",
52
- "Bash(tree:*)",
53
- "Bash(vibe help:*)",
54
- "Bash(./dist/cli/index.js gpt:*)",
55
- "Bash(for f in *.js)",
56
- "Bash(do mv \"$f\" \"$f%.js.cjs\")",
57
- "Bash(./dist/cli/index.js:*)"
58
- ],
59
- "deny": [],
60
- "ask": []
4
+ "Bash(npx tsc:*)",
5
+ "Bash(npm login:*)",
6
+ "Bash(npm whoami:*)"
7
+ ]
61
8
  }
62
9
  }
@@ -0,0 +1,9 @@
1
+ {
2
+ "models": {
3
+ "gpt": {
4
+ "enabled": true,
5
+ "role": "architecture",
6
+ "description": "아키텍처/디버깅 (GPT 5.2)"
7
+ }
8
+ }
9
+ }