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.
Files changed (123) hide show
  1. package/dist/index.js +50 -61
  2. package/dist/index.js.map +1 -1
  3. package/package.json +1 -1
  4. package/templates/{commands → command-archive}/ask.md +5 -5
  5. package/templates/{commands → command-archive}/ck-help.md +18 -2
  6. package/templates/command-archive/docs/init.md +38 -0
  7. package/templates/command-archive/docs/summarize.md +22 -0
  8. package/templates/command-archive/docs/update.md +76 -0
  9. package/templates/command-archive/journal.md +18 -0
  10. package/templates/{commands → command-archive}/kanban.md +5 -7
  11. package/templates/{commands → command-archive}/plan/archive.md +2 -2
  12. package/templates/command-archive/plan/red-team.md +200 -0
  13. package/templates/command-archive/plan/validate.md +188 -0
  14. package/templates/command-archive/preview.md +283 -0
  15. package/templates/command-archive/review/codebase/parallel.md +122 -0
  16. package/templates/{commands → command-archive}/test/ui.md +3 -3
  17. package/templates/{commands → command-archive}/use-mcp.md +6 -2
  18. package/templates/command-archive/worktree.md +109 -0
  19. package/templates/{workflows → rules}/development-rules.md +12 -53
  20. package/templates/rules/orchestration-protocol.md +43 -0
  21. package/templates/{workflows → rules}/primary-workflow.md +16 -4
  22. package/templates/rules/team-coordination-rules.md +90 -0
  23. package/templates/schemas/ck-config.schema.json +381 -0
  24. package/templates/commands/README.md +0 -251
  25. package/templates/commands/bootstrap/auto/fast.md +0 -111
  26. package/templates/commands/bootstrap/auto/parallel.md +0 -66
  27. package/templates/commands/bootstrap/auto.md +0 -115
  28. package/templates/commands/bootstrap.md +0 -137
  29. package/templates/commands/brainstorm.md +0 -74
  30. package/templates/commands/build.md +0 -39
  31. package/templates/commands/checkpoint.md +0 -156
  32. package/templates/commands/code/auto.md +0 -170
  33. package/templates/commands/code/no-test.md +0 -158
  34. package/templates/commands/code/parallel.md +0 -55
  35. package/templates/commands/code-simplifier.md +0 -71
  36. package/templates/commands/code.md +0 -176
  37. package/templates/commands/compact.md +0 -57
  38. package/templates/commands/content/cro.md +0 -43
  39. package/templates/commands/content/enhance.md +0 -14
  40. package/templates/commands/content/fast.md +0 -13
  41. package/templates/commands/content/good.md +0 -16
  42. package/templates/commands/context.md +0 -48
  43. package/templates/commands/cook/auto/fast.md +0 -26
  44. package/templates/commands/cook/auto/parallel.md +0 -49
  45. package/templates/commands/cook/auto.md +0 -15
  46. package/templates/commands/cook/fast.md +0 -47
  47. package/templates/commands/cook/hard.md +0 -80
  48. package/templates/commands/cook/parallel.md +0 -90
  49. package/templates/commands/cook.md +0 -105
  50. package/templates/commands/create-feature.md +0 -48
  51. package/templates/commands/db-migrate.md +0 -52
  52. package/templates/commands/debug.md +0 -13
  53. package/templates/commands/design/3d.md +0 -83
  54. package/templates/commands/design/describe.md +0 -23
  55. package/templates/commands/design/fast.md +0 -31
  56. package/templates/commands/design/good.md +0 -35
  57. package/templates/commands/design/screenshot.md +0 -34
  58. package/templates/commands/design/video.md +0 -34
  59. package/templates/commands/docs/init.md +0 -39
  60. package/templates/commands/docs/summarize.md +0 -31
  61. package/templates/commands/docs/update.md +0 -57
  62. package/templates/commands/feature.md +0 -62
  63. package/templates/commands/fix/ci.md +0 -17
  64. package/templates/commands/fix/fast.md +0 -19
  65. package/templates/commands/fix/hard.md +0 -39
  66. package/templates/commands/fix/logs.md +0 -26
  67. package/templates/commands/fix/parallel.md +0 -54
  68. package/templates/commands/fix/test.md +0 -20
  69. package/templates/commands/fix/types.md +0 -9
  70. package/templates/commands/fix/ui.md +0 -48
  71. package/templates/commands/fix-issue.md +0 -177
  72. package/templates/commands/fix.md +0 -43
  73. package/templates/commands/generate-dto.md +0 -67
  74. package/templates/commands/git/cm.md +0 -5
  75. package/templates/commands/git/cp.md +0 -4
  76. package/templates/commands/git/merge.md +0 -40
  77. package/templates/commands/git/pr.md +0 -48
  78. package/templates/commands/integrate/polar.md +0 -28
  79. package/templates/commands/integrate/sepay.md +0 -28
  80. package/templates/commands/investigate.md +0 -324
  81. package/templates/commands/journal.md +0 -7
  82. package/templates/commands/lint.md +0 -47
  83. package/templates/commands/migration.md +0 -111
  84. package/templates/commands/performance.md +0 -110
  85. package/templates/commands/plan/ci.md +0 -33
  86. package/templates/commands/plan/cro.md +0 -69
  87. package/templates/commands/plan/fast.md +0 -86
  88. package/templates/commands/plan/hard.md +0 -103
  89. package/templates/commands/plan/parallel.md +0 -152
  90. package/templates/commands/plan/preview.md +0 -40
  91. package/templates/commands/plan/two.md +0 -52
  92. package/templates/commands/plan/validate.md +0 -132
  93. package/templates/commands/plan.md +0 -36
  94. package/templates/commands/pr.md +0 -49
  95. package/templates/commands/preview.md +0 -87
  96. package/templates/commands/release-notes.md +0 -144
  97. package/templates/commands/review/post-task.md +0 -157
  98. package/templates/commands/review-changes.md +0 -46
  99. package/templates/commands/review.md +0 -56
  100. package/templates/commands/scout/ext.md +0 -35
  101. package/templates/commands/scout.md +0 -283
  102. package/templates/commands/security.md +0 -119
  103. package/templates/commands/skill/add.md +0 -36
  104. package/templates/commands/skill/create.md +0 -29
  105. package/templates/commands/skill/fix-logs.md +0 -22
  106. package/templates/commands/skill/optimize/auto.md +0 -25
  107. package/templates/commands/skill/optimize.md +0 -34
  108. package/templates/commands/skill/plan.md +0 -45
  109. package/templates/commands/worktree.md +0 -126
  110. package/templates/memory/session-log.md +0 -186
  111. package/templates/router/README.md +0 -294
  112. package/templates/router/agents-guide.md +0 -38
  113. package/templates/router/commands-guide.md +0 -122
  114. package/templates/router/decision-flow.md +0 -92
  115. package/templates/router/skills-guide.md +0 -127
  116. package/templates/router/workflows-guide.md +0 -68
  117. package/templates/workflows/README.md +0 -241
  118. package/templates/workflows/orchestration-protocol.md +0 -16
  119. /package/templates/{commands → command-archive}/coding-level.md +0 -0
  120. /package/templates/{commands → command-archive}/review/codebase.md +0 -0
  121. /package/templates/{commands → command-archive}/test.md +0 -0
  122. /package/templates/{commands → command-archive}/watzup.md +0 -0
  123. /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
- "debugging",
43
+ "debug",
65
44
  "code-review",
66
- "planning",
67
- "problem-solving"
45
+ "fix",
46
+ "cook"
68
47
  ],
69
- workflows: ["feature-development", "bug-fixing"],
70
- includeRouter: true,
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
- "scout",
88
- "scout/ext",
89
- "investigate",
63
+ commands: [],
64
+ skills: [
65
+ "ask",
90
66
  "brainstorm",
91
67
  "docs",
92
- "docs/init",
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: true,
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-ux-pro-max",
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: ["plan", "fix", "code"],
142
- skills: ["planning", "debugging"],
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, commands, and skills",
108
+ description: "Complete kit with ALL agents and skills",
150
109
  emoji: "\u{1F680}",
151
110
  color: "cyan",
152
111
  agents: "all",
153
- commands: "all",
112
+ commands: [],
154
113
  skills: "all",
155
- workflows: "all",
156
- includeRouter: true,
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);