thanh-kit 2.5.1 → 2.5.3
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/dist/index.js +50 -61
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/templates/{commands → command-archive}/ask.md +5 -5
- package/templates/{commands → command-archive}/ck-help.md +18 -2
- package/templates/command-archive/docs/init.md +38 -0
- package/templates/command-archive/docs/summarize.md +22 -0
- package/templates/command-archive/docs/update.md +76 -0
- package/templates/command-archive/journal.md +18 -0
- package/templates/{commands → command-archive}/kanban.md +5 -7
- package/templates/{commands → command-archive}/plan/archive.md +2 -2
- package/templates/command-archive/plan/red-team.md +200 -0
- package/templates/command-archive/plan/validate.md +188 -0
- package/templates/command-archive/preview.md +283 -0
- package/templates/command-archive/review/codebase/parallel.md +122 -0
- package/templates/{commands → command-archive}/test/ui.md +3 -3
- package/templates/{commands → command-archive}/use-mcp.md +6 -2
- package/templates/command-archive/worktree.md +109 -0
- package/templates/{workflows → rules}/development-rules.md +12 -53
- package/templates/rules/orchestration-protocol.md +43 -0
- package/templates/{workflows → rules}/primary-workflow.md +16 -4
- package/templates/rules/team-coordination-rules.md +90 -0
- package/templates/schemas/ck-config.schema.json +381 -0
- package/templates/commands/README.md +0 -251
- package/templates/commands/bootstrap/auto/fast.md +0 -111
- package/templates/commands/bootstrap/auto/parallel.md +0 -66
- package/templates/commands/bootstrap/auto.md +0 -115
- package/templates/commands/bootstrap.md +0 -137
- package/templates/commands/brainstorm.md +0 -74
- package/templates/commands/build.md +0 -39
- package/templates/commands/checkpoint.md +0 -156
- package/templates/commands/code/auto.md +0 -170
- package/templates/commands/code/no-test.md +0 -158
- package/templates/commands/code/parallel.md +0 -55
- package/templates/commands/code-simplifier.md +0 -71
- package/templates/commands/code.md +0 -176
- package/templates/commands/compact.md +0 -57
- package/templates/commands/content/cro.md +0 -43
- package/templates/commands/content/enhance.md +0 -14
- package/templates/commands/content/fast.md +0 -13
- package/templates/commands/content/good.md +0 -16
- package/templates/commands/context.md +0 -48
- package/templates/commands/cook/auto/fast.md +0 -26
- package/templates/commands/cook/auto/parallel.md +0 -49
- package/templates/commands/cook/auto.md +0 -15
- package/templates/commands/cook/fast.md +0 -47
- package/templates/commands/cook/hard.md +0 -80
- package/templates/commands/cook/parallel.md +0 -90
- package/templates/commands/cook.md +0 -105
- package/templates/commands/create-feature.md +0 -48
- package/templates/commands/db-migrate.md +0 -52
- package/templates/commands/debug.md +0 -13
- package/templates/commands/design/3d.md +0 -83
- package/templates/commands/design/describe.md +0 -23
- package/templates/commands/design/fast.md +0 -31
- package/templates/commands/design/good.md +0 -35
- package/templates/commands/design/screenshot.md +0 -34
- package/templates/commands/design/video.md +0 -34
- package/templates/commands/docs/init.md +0 -39
- package/templates/commands/docs/summarize.md +0 -31
- package/templates/commands/docs/update.md +0 -57
- package/templates/commands/feature.md +0 -62
- package/templates/commands/fix/ci.md +0 -17
- package/templates/commands/fix/fast.md +0 -19
- package/templates/commands/fix/hard.md +0 -39
- package/templates/commands/fix/logs.md +0 -26
- package/templates/commands/fix/parallel.md +0 -54
- package/templates/commands/fix/test.md +0 -20
- package/templates/commands/fix/types.md +0 -9
- package/templates/commands/fix/ui.md +0 -48
- package/templates/commands/fix-issue.md +0 -177
- package/templates/commands/fix.md +0 -43
- package/templates/commands/generate-dto.md +0 -67
- package/templates/commands/git/cm.md +0 -5
- package/templates/commands/git/cp.md +0 -4
- package/templates/commands/git/merge.md +0 -40
- package/templates/commands/git/pr.md +0 -48
- package/templates/commands/integrate/polar.md +0 -28
- package/templates/commands/integrate/sepay.md +0 -28
- package/templates/commands/investigate.md +0 -324
- package/templates/commands/journal.md +0 -7
- package/templates/commands/lint.md +0 -47
- package/templates/commands/migration.md +0 -111
- package/templates/commands/performance.md +0 -110
- package/templates/commands/plan/ci.md +0 -33
- package/templates/commands/plan/cro.md +0 -69
- package/templates/commands/plan/fast.md +0 -86
- package/templates/commands/plan/hard.md +0 -103
- package/templates/commands/plan/parallel.md +0 -152
- package/templates/commands/plan/preview.md +0 -40
- package/templates/commands/plan/two.md +0 -52
- package/templates/commands/plan/validate.md +0 -132
- package/templates/commands/plan.md +0 -36
- package/templates/commands/pr.md +0 -49
- package/templates/commands/preview.md +0 -87
- package/templates/commands/release-notes.md +0 -144
- package/templates/commands/review/post-task.md +0 -157
- package/templates/commands/review-changes.md +0 -46
- package/templates/commands/review.md +0 -56
- package/templates/commands/scout/ext.md +0 -35
- package/templates/commands/scout.md +0 -283
- package/templates/commands/security.md +0 -119
- package/templates/commands/skill/add.md +0 -36
- package/templates/commands/skill/create.md +0 -29
- package/templates/commands/skill/fix-logs.md +0 -22
- package/templates/commands/skill/optimize/auto.md +0 -25
- package/templates/commands/skill/optimize.md +0 -34
- package/templates/commands/skill/plan.md +0 -45
- package/templates/commands/worktree.md +0 -126
- package/templates/memory/session-log.md +0 -186
- package/templates/router/README.md +0 -294
- package/templates/router/agents-guide.md +0 -38
- package/templates/router/commands-guide.md +0 -122
- package/templates/router/decision-flow.md +0 -92
- package/templates/router/skills-guide.md +0 -127
- package/templates/router/workflows-guide.md +0 -68
- package/templates/workflows/README.md +0 -241
- package/templates/workflows/orchestration-protocol.md +0 -16
- /package/templates/{commands → command-archive}/coding-level.md +0 -0
- /package/templates/{commands → command-archive}/review/codebase.md +0 -0
- /package/templates/{commands → command-archive}/test.md +0 -0
- /package/templates/{commands → command-archive}/watzup.md +0 -0
- /package/templates/{workflows → rules}/documentation-management.md +0 -0
package/dist/index.js
CHANGED
|
@@ -33,41 +33,20 @@ var init_kits = __esm({
|
|
|
33
33
|
"fullstack-developer",
|
|
34
34
|
"tester",
|
|
35
35
|
"code-reviewer",
|
|
36
|
-
"git-manager"
|
|
37
|
-
"database-admin"
|
|
38
|
-
],
|
|
39
|
-
commands: [
|
|
40
|
-
"plan",
|
|
41
|
-
"plan/parallel",
|
|
42
|
-
"plan/fast",
|
|
43
|
-
"plan/hard",
|
|
44
|
-
"code",
|
|
45
|
-
"code/auto",
|
|
46
|
-
"code/parallel",
|
|
47
|
-
"fix",
|
|
48
|
-
"fix/test",
|
|
49
|
-
"fix/types",
|
|
50
|
-
"fix/fast",
|
|
51
|
-
"fix/ci",
|
|
52
|
-
"test",
|
|
53
|
-
"test/ui",
|
|
54
|
-
"review",
|
|
55
|
-
"review/codebase",
|
|
56
|
-
"scout",
|
|
57
|
-
"build",
|
|
58
|
-
"lint"
|
|
36
|
+
"git-manager"
|
|
59
37
|
],
|
|
38
|
+
commands: [],
|
|
60
39
|
skills: [
|
|
61
40
|
"frontend-development",
|
|
62
41
|
"backend-development",
|
|
63
42
|
"databases",
|
|
64
|
-
"
|
|
43
|
+
"debug",
|
|
65
44
|
"code-review",
|
|
66
|
-
"
|
|
67
|
-
"
|
|
45
|
+
"fix",
|
|
46
|
+
"cook"
|
|
68
47
|
],
|
|
69
|
-
workflows: [
|
|
70
|
-
includeRouter:
|
|
48
|
+
workflows: [],
|
|
49
|
+
includeRouter: false,
|
|
71
50
|
includeHooks: true
|
|
72
51
|
},
|
|
73
52
|
researcher: {
|
|
@@ -77,33 +56,19 @@ var init_kits = __esm({
|
|
|
77
56
|
color: "green",
|
|
78
57
|
agents: [
|
|
79
58
|
"researcher",
|
|
80
|
-
"scout",
|
|
81
|
-
"scout-external",
|
|
82
59
|
"brainstormer",
|
|
83
60
|
"docs-manager",
|
|
84
61
|
"planner"
|
|
85
62
|
],
|
|
86
|
-
commands: [
|
|
87
|
-
|
|
88
|
-
"
|
|
89
|
-
"investigate",
|
|
63
|
+
commands: [],
|
|
64
|
+
skills: [
|
|
65
|
+
"ask",
|
|
90
66
|
"brainstorm",
|
|
91
67
|
"docs",
|
|
92
|
-
"
|
|
93
|
-
"docs/update",
|
|
94
|
-
"docs/summarize",
|
|
95
|
-
"plan",
|
|
96
|
-
"ask",
|
|
97
|
-
"context"
|
|
98
|
-
],
|
|
99
|
-
skills: [
|
|
100
|
-
"research",
|
|
101
|
-
"planning-with-files",
|
|
102
|
-
"documentation",
|
|
103
|
-
"project-index"
|
|
68
|
+
"find-skills"
|
|
104
69
|
],
|
|
105
70
|
workflows: [],
|
|
106
|
-
includeRouter:
|
|
71
|
+
includeRouter: false,
|
|
107
72
|
includeHooks: false
|
|
108
73
|
},
|
|
109
74
|
designer: {
|
|
@@ -116,15 +81,9 @@ var init_kits = __esm({
|
|
|
116
81
|
"fullstack-developer",
|
|
117
82
|
"code-reviewer"
|
|
118
83
|
],
|
|
119
|
-
commands: [
|
|
120
|
-
"code",
|
|
121
|
-
"fix",
|
|
122
|
-
"fix/ui",
|
|
123
|
-
"test/ui",
|
|
124
|
-
"review"
|
|
125
|
-
],
|
|
84
|
+
commands: [],
|
|
126
85
|
skills: [
|
|
127
|
-
"ui-
|
|
86
|
+
"ui-styling",
|
|
128
87
|
"frontend-development",
|
|
129
88
|
"frontend-design"
|
|
130
89
|
],
|
|
@@ -138,22 +97,22 @@ var init_kits = __esm({
|
|
|
138
97
|
emoji: "\u{1F4E6}",
|
|
139
98
|
color: "yellow",
|
|
140
99
|
agents: ["planner", "debugger"],
|
|
141
|
-
commands: [
|
|
142
|
-
skills: ["
|
|
100
|
+
commands: [],
|
|
101
|
+
skills: ["fix", "cook"],
|
|
143
102
|
workflows: [],
|
|
144
103
|
includeRouter: false,
|
|
145
104
|
includeHooks: false
|
|
146
105
|
},
|
|
147
106
|
full: {
|
|
148
107
|
name: "full",
|
|
149
|
-
description: "Complete kit with ALL agents
|
|
108
|
+
description: "Complete kit with ALL agents and skills",
|
|
150
109
|
emoji: "\u{1F680}",
|
|
151
110
|
color: "cyan",
|
|
152
111
|
agents: "all",
|
|
153
|
-
commands:
|
|
112
|
+
commands: [],
|
|
154
113
|
skills: "all",
|
|
155
|
-
workflows:
|
|
156
|
-
includeRouter:
|
|
114
|
+
workflows: [],
|
|
115
|
+
includeRouter: false,
|
|
157
116
|
includeHooks: true
|
|
158
117
|
}
|
|
159
118
|
};
|
|
@@ -600,6 +559,23 @@ var init_claude_adapter = __esm({
|
|
|
600
559
|
}
|
|
601
560
|
return copied;
|
|
602
561
|
}
|
|
562
|
+
/**
|
|
563
|
+
* Copy entire source directory to target (simple full copy)
|
|
564
|
+
*/
|
|
565
|
+
async copyFullSource(sourceDir, targetDir, mergeMode) {
|
|
566
|
+
const copiedItems = [];
|
|
567
|
+
const items = await fs2.readdir(sourceDir);
|
|
568
|
+
for (const item of items) {
|
|
569
|
+
const srcPath = join3(sourceDir, item);
|
|
570
|
+
const destPath = join3(targetDir, item);
|
|
571
|
+
if (mergeMode && await fs2.pathExists(destPath)) {
|
|
572
|
+
continue;
|
|
573
|
+
}
|
|
574
|
+
await fs2.copy(srcPath, destPath, { overwrite: !mergeMode });
|
|
575
|
+
copiedItems.push(item);
|
|
576
|
+
}
|
|
577
|
+
return { success: true, copiedItems };
|
|
578
|
+
}
|
|
603
579
|
};
|
|
604
580
|
}
|
|
605
581
|
});
|
|
@@ -2108,6 +2084,19 @@ async function initCommand(projectName, options) {
|
|
|
2108
2084
|
const targetDir = join9(projectDir, adapter.config.directory);
|
|
2109
2085
|
await fs8.ensureDir(targetDir);
|
|
2110
2086
|
const targetLabel = adapter.config.displayName;
|
|
2087
|
+
if (kitName === "full" && target === "claude") {
|
|
2088
|
+
spinner.text = mergeMode ? `Merging full kit (${targetLabel})...` : `Copying full kit (${targetLabel})...`;
|
|
2089
|
+
const items = await fs8.readdir(source.claudeDir);
|
|
2090
|
+
for (const item of items) {
|
|
2091
|
+
const srcPath = join9(source.claudeDir, item);
|
|
2092
|
+
const destPath = join9(targetDir, item);
|
|
2093
|
+
if (mergeMode && await fs8.pathExists(destPath)) {
|
|
2094
|
+
continue;
|
|
2095
|
+
}
|
|
2096
|
+
await fs8.copy(srcPath, destPath, { overwrite: !mergeMode });
|
|
2097
|
+
}
|
|
2098
|
+
continue;
|
|
2099
|
+
}
|
|
2111
2100
|
const filteredItems = adapter.filterInstallItems(toInstall);
|
|
2112
2101
|
spinner.text = mergeMode ? `Merging agents (${targetLabel})...` : `Copying agents (${targetLabel})...`;
|
|
2113
2102
|
await adapter.copyAgents(filteredItems.agents, source.claudeDir, targetDir, mergeMode);
|