vibe-commander 0.2.0 โ†’ 0.2.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 (37) hide show
  1. package/AGENTS.md +1 -0
  2. package/README.ko.md +643 -0
  3. package/README.md +643 -0
  4. package/dist/adapters/cli/commands/git-helpers.js +5 -3
  5. package/dist/adapters/cli/commands/init-helpers.js +1 -1
  6. package/dist/adapters/cli/commands/io-helpers.js +6 -2
  7. package/dist/adapters/cli/commands/schema.js +7 -3
  8. package/dist/adapters/cli/commands/set-unit.js +8 -2
  9. package/dist/adapters/cli/commands/skill-install.js +10 -4
  10. package/dist/adapters/cli/formatters-schema.d.ts +17 -0
  11. package/dist/adapters/cli/formatters-schema.js +155 -0
  12. package/dist/adapters/cli/formatters-unit.d.ts +0 -8
  13. package/dist/adapters/cli/formatters-unit.js +0 -146
  14. package/dist/adapters/cli/index.js +2 -1
  15. package/dist/adapters/cli/router.d.ts +0 -12
  16. package/dist/adapters/cli/router.js +4 -103
  17. package/dist/adapters/cli/stdin-parser.d.ts +23 -0
  18. package/dist/adapters/cli/stdin-parser.js +109 -0
  19. package/dist/config/schema.d.ts +0 -9
  20. package/dist/config/schema.js +138 -56
  21. package/dist/core/renderers/index.d.ts +1 -1
  22. package/dist/core/renderers/index.js +1 -1
  23. package/dist/core/renderers/marker-utils.js +5 -3
  24. package/dist/core/renderers/schema-renderer.d.ts +16 -0
  25. package/dist/core/renderers/schema-renderer.js +21 -0
  26. package/dist/core/resolvers/index.d.ts +0 -2
  27. package/examples/nextjs-web.config.json +73 -0
  28. package/examples/python-backend.config.json +91 -0
  29. package/examples/tauri-app.config.json +95 -0
  30. package/examples/vscode-tasks.json +101 -0
  31. package/package.json +14 -2
  32. package/schemas/config-schema.json +409 -0
  33. package/skills/claude/SKILL.md +22 -0
  34. package/skills/common/cli-reference.md +22 -0
  35. package/skills/cursor/SKILL.md +22 -0
  36. package/dist/adapters/cli/formatters.d.ts +0 -2
  37. package/dist/adapters/cli/formatters.js +0 -3
@@ -0,0 +1,91 @@
1
+ {
2
+ "$schema": "https://raw.githubusercontent.com/viilab/vibe-commander/main/schemas/config-schema.json",
3
+ "version": 1,
4
+
5
+ "paths": {
6
+ "commands": ".dev/context.md",
7
+ "roadmap": ".dev/backlog.md",
8
+ "docRoots": {
9
+ "plan": ".dev/plans",
10
+ "result": ".dev/results",
11
+ "runbook": ".dev/runbooks"
12
+ },
13
+ "refactorSubDir": null
14
+ },
15
+
16
+ "unitTypes": [
17
+ {
18
+ "key": "task",
19
+ "displayName": "Task",
20
+ "idPattern": "^TASK-\\d{3,}$",
21
+ "planDir": "plan",
22
+ "commandSection": "# Current Task",
23
+ "collectDeps": true,
24
+ "headerTemplate": "### Task: {{title}}\n- Plan: @{{planPath}}\n- Commit: -"
25
+ },
26
+ {
27
+ "key": "refactor",
28
+ "displayName": "Refactor",
29
+ "idPattern": "^REFACTOR-\\d{3,}$",
30
+ "planDir": "plan",
31
+ "commandSection": "# Current Refactor",
32
+ "collectDeps": false,
33
+ "headerTemplate": "### Refactor: {{title}}\n- Plan: @{{planPath}}\n- Commit: -"
34
+ }
35
+ ],
36
+
37
+ "docDiscovery": {
38
+ "plan": { "pattern": "{{unitId}}.md" },
39
+ "result": { "pattern": "{{unitId}}.md" },
40
+ "runbook": { "pattern": "{{shortId}}-*-runbook.md", "glob": true }
41
+ },
42
+
43
+ "planParsing": {
44
+ "titleSource": "h1",
45
+ "dependsSource": "metadata-table",
46
+ "dependsSectionName": null,
47
+ "pairingQuestionSection": "Open Questions",
48
+ "metadataTable": {
49
+ "idField": "Task ID",
50
+ "phaseField": "Sprint",
51
+ "dependsField": "Depends On"
52
+ }
53
+ },
54
+
55
+ "backlogParsing": {
56
+ "sectionHeader": "## Sprint Backlog",
57
+ "entryPattern": "- (?<status>[โฌœ๐Ÿ”„โœ…โŒ]) \\[(?<id>\\S+)\\]\\((?<path>[^)]+)\\)\\s*(?<title>[^(]+?)(?:\\s*\\(deps: (?<deps>[^)]+)\\))?$",
58
+ "completedSection": "### Completed",
59
+ "statusMap": {
60
+ "ready": "โฌœ",
61
+ "inProgress": "๐Ÿ”„",
62
+ "completed": "โœ…",
63
+ "blocked": "โŒ"
64
+ }
65
+ },
66
+
67
+ "commitSearch": {
68
+ "strategy": "git-log-grep",
69
+ "extractId": "shortId",
70
+ "maxResults": 5,
71
+ "excludePaths": [".dev/**"],
72
+ "requirePaths": ["src/**", "apps/**", "tests/**"]
73
+ },
74
+
75
+ "commandSections": {
76
+ "separator": "---",
77
+ "preserveOtherSections": true,
78
+ "commitFieldName": "Latest Commit",
79
+ "useMarkers": true
80
+ },
81
+
82
+ "defaultSpecialRequests": [
83
+ "**Follow Django best practices and PEP 8**",
84
+ "**Run `pytest` before marking complete**"
85
+ ],
86
+
87
+ "customRequests": {
88
+ "migration": "**Create and test Django migrations for any model changes**",
89
+ "api-docs": "**Update OpenAPI/Swagger documentation for API changes**"
90
+ }
91
+ }
@@ -0,0 +1,95 @@
1
+ {
2
+ "$schema": "https://raw.githubusercontent.com/viilab/vibe-commander/main/schemas/config-schema.json",
3
+ "version": 1,
4
+
5
+ "paths": {
6
+ "commands": "vibe/commands.md",
7
+ "roadmap": "vibe/roadmap.md",
8
+ "docRoots": {
9
+ "plan": "vibe/unit-plans",
10
+ "result": "vibe/unit-results",
11
+ "runbook": "vibe/unit-runbooks",
12
+ "refactorSub": "vibe/refactors"
13
+ },
14
+ "refactorSubDir": "vibe/refactors"
15
+ },
16
+
17
+ "unitTypes": [
18
+ {
19
+ "key": "refactor-sub",
20
+ "displayName": "๋ฆฌํŒฉํ† ๋ง ์„œ๋ธŒ์œ ๋‹›",
21
+ "idPattern": "^RU-\\d+-[A-Z]\\d+$",
22
+ "planDir": "refactorSub",
23
+ "commandSection": "# ๋ฆฌํŒฉํ† ๋ง ์œ ๋‹› ๊ตฌํ˜„ (์˜์กดX)",
24
+ "collectDeps": false,
25
+ "headerTemplate": "### ํ˜„์žฌ ๋ฆฌํŒฉํ† ๋ง ์œ ๋‹›: [ID: {{unitId}}] {{titleOnly}}\n- ๊ณ„ํš์„œ: @{{planPath}}\n- Commit: -"
26
+ },
27
+ {
28
+ "key": "implement",
29
+ "displayName": "์œ ๋‹› ๊ตฌํ˜„",
30
+ "idPattern": "^(U-\\d+|CP-).*",
31
+ "planDir": "plan",
32
+ "commandSection": "# ์œ ๋‹› ๊ตฌํ˜„",
33
+ "collectDeps": true,
34
+ "headerTemplate": "### ํ˜„์žฌ ๊ตฌํ˜„ ์œ ๋‹›: {{title}}\n- ๊ฐœ๋ฐœ ๊ณ„ํš์„œ: @{{planPath}}\n- Commit: -"
35
+ },
36
+ {
37
+ "key": "refactor",
38
+ "displayName": "๋ฆฌํŒฉํ† ๋ง ์œ ๋‹›",
39
+ "idPattern": "^RU-\\d+\\[.*\\]$",
40
+ "planDir": "plan",
41
+ "commandSection": "# ๋ฆฌํŒฉํ† ๋ง ์œ ๋‹› ์ œ์•ˆ",
42
+ "collectDeps": true,
43
+ "headerTemplate": "### ํ˜„์žฌ ๋ฆฌํŒฉํ† ๋ง ์œ ๋‹›: {{title}}\n- ๊ณ„ํš์„œ: @{{planPath}}\n- Commit: -"
44
+ }
45
+ ],
46
+
47
+ "docDiscovery": {
48
+ "plan": { "pattern": "{{unitId}}.md" },
49
+ "result": { "pattern": "{{unitId}}.md" },
50
+ "runbook": { "pattern": "{{shortId}}-*-runbook.md", "glob": true },
51
+ "refactorSub": { "pattern": "{{unitId}}.md" }
52
+ },
53
+
54
+ "planParsing": {
55
+ "titleSource": "h1",
56
+ "dependsSource": "section",
57
+ "dependsSectionName": "์ด์ „ ์ž‘์—…์—์„œ ๊ฐ€์ ธ์˜ฌ ๊ฒƒ",
58
+ "pairingQuestionSection": "ํŽ˜์–ด๋ง ์งˆ๋ฌธ",
59
+ "metadataTable": {
60
+ "idField": "Unit ID",
61
+ "phaseField": "Phase",
62
+ "dependsField": "์˜์กด์„ฑ"
63
+ }
64
+ },
65
+
66
+ "commitSearch": {
67
+ "strategy": "git-log-grep",
68
+ "extractId": "shortId",
69
+ "maxResults": 5,
70
+ "excludePaths": ["vibe/**", "docs/**"],
71
+ "requirePaths": ["src/**", "src-tauri/**"]
72
+ },
73
+
74
+ "commandSections": {
75
+ "separator": "---------------------------------------------------",
76
+ "preserveOtherSections": true,
77
+ "useMarkers": true
78
+ },
79
+
80
+ "defaultSpecialRequests": [
81
+ "**ํŽ˜์–ด๋ง ์งˆ๋ฌธ์˜ ๊ฒฐ์ •์„ ํ™•์ธํ•ฉ๋‹ˆ๋‹ค**"
82
+ ],
83
+
84
+ "specialRequestsByType": {
85
+ "implement": [
86
+ "**Tauri v2 ๊ณต์‹ ๋ฌธ์„œ๋ฅผ ์ฐธ๊ณ ํ•˜์—ฌ ๊ตฌํ˜„ํ•ฉ๋‹ˆ๋‹ค**",
87
+ "**Shell Tool์„ ์ด์šฉํ•˜์—ฌ ์ง์ ‘ ํ…Œ์ŠคํŠธํ•ฉ๋‹ˆ๋‹ค**"
88
+ ]
89
+ },
90
+
91
+ "customRequests": {
92
+ "doc-update": "**vibe/architecture.md, vibe/progress.md, vibe/roadmap.md ๋ฌธ์„œ๋ฅผ ์—…๋ฐ์ดํŠธํ•ฉ๋‹ˆ๋‹ค**",
93
+ "playwright": "**Playwright๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ E2E ํ…Œ์ŠคํŠธ๋ฅผ ์‹คํ–‰ํ•ฉ๋‹ˆ๋‹ค**"
94
+ }
95
+ }
@@ -0,0 +1,101 @@
1
+ {
2
+ "version": "2.0.0",
3
+ "tasks": [
4
+ {
5
+ "label": "vc: Set Unit",
6
+ "type": "shell",
7
+ "command": "npx vc set-unit ${input:unitId}",
8
+ "group": "build",
9
+ "presentation": {
10
+ "reveal": "always",
11
+ "panel": "shared",
12
+ "clear": true
13
+ },
14
+ "problemMatcher": []
15
+ },
16
+ {
17
+ "label": "vc: Set Unit (Dry Run)",
18
+ "type": "shell",
19
+ "command": "npx vc set-unit ${input:unitId} --dry-run",
20
+ "group": "build",
21
+ "presentation": {
22
+ "reveal": "always",
23
+ "panel": "shared",
24
+ "clear": true
25
+ },
26
+ "problemMatcher": []
27
+ },
28
+ {
29
+ "label": "vc: Update Commit (HEAD)",
30
+ "type": "shell",
31
+ "command": "npx vc update-commit",
32
+ "group": "build",
33
+ "presentation": {
34
+ "reveal": "always",
35
+ "panel": "shared",
36
+ "clear": true
37
+ },
38
+ "problemMatcher": []
39
+ },
40
+ {
41
+ "label": "vc: Update Commit (N)",
42
+ "type": "shell",
43
+ "command": "npx vc update-commit ${input:commitCount}",
44
+ "group": "build",
45
+ "presentation": {
46
+ "reveal": "always",
47
+ "panel": "shared",
48
+ "clear": true
49
+ },
50
+ "problemMatcher": []
51
+ },
52
+ {
53
+ "label": "vc: List Units",
54
+ "type": "shell",
55
+ "command": "npx vc list-units",
56
+ "group": "build",
57
+ "presentation": {
58
+ "reveal": "always",
59
+ "panel": "shared",
60
+ "clear": true
61
+ },
62
+ "problemMatcher": []
63
+ },
64
+ {
65
+ "label": "vc: Validate",
66
+ "type": "shell",
67
+ "command": "npx vc validate",
68
+ "group": "build",
69
+ "presentation": {
70
+ "reveal": "always",
71
+ "panel": "shared",
72
+ "clear": true
73
+ },
74
+ "problemMatcher": []
75
+ },
76
+ {
77
+ "label": "vc: Context (JSON)",
78
+ "type": "shell",
79
+ "command": "npx vc context ${input:unitId} --json",
80
+ "group": "build",
81
+ "presentation": {
82
+ "reveal": "always",
83
+ "panel": "shared",
84
+ "clear": true
85
+ },
86
+ "problemMatcher": []
87
+ }
88
+ ],
89
+ "inputs": [
90
+ {
91
+ "id": "unitId",
92
+ "type": "promptString",
93
+ "description": "์œ ๋‹› ID ์ž…๋ ฅ (์˜ˆ: U-001[Mvp])"
94
+ },
95
+ {
96
+ "id": "commitCount",
97
+ "type": "promptString",
98
+ "description": "์ตœ๊ทผ ์ปค๋ฐ‹ ์ˆ˜ (์˜ˆ: 3)"
99
+ }
100
+ ]
101
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vibe-commander",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "type": "module",
5
5
  "description": "Unit-based vibe coding workflow automation CLI โ€” automate context collection from unit ID to command file in 10 seconds",
6
6
  "license": "MIT",
@@ -34,9 +34,12 @@
34
34
  "dist/**/*.d.ts",
35
35
  "!dist/**/*.d.ts.map",
36
36
  "skills/",
37
+ "schemas/",
38
+ "examples/",
37
39
  "AGENTS.md",
38
40
  "LICENSE",
39
- "README.md"
41
+ "README.md",
42
+ "README.ko.md"
40
43
  ],
41
44
  "scripts": {
42
45
  "dev": "tsx src/adapters/cli/index.ts",
@@ -73,6 +76,15 @@
73
76
  "typescript-eslint": "^8.54.0",
74
77
  "vitest": "^4.0.18"
75
78
  },
79
+ "main": "./dist/index.js",
80
+ "types": "./dist/index.d.ts",
81
+ "exports": {
82
+ ".": {
83
+ "types": "./dist/index.d.ts",
84
+ "import": "./dist/index.js"
85
+ },
86
+ "./package.json": "./package.json"
87
+ },
76
88
  "engines": {
77
89
  "node": ">=24.0.0"
78
90
  }