thanh-kit 2.5.2 → 2.5.4

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 (81) hide show
  1. package/dist/index.js +30 -0
  2. package/dist/index.js.map +1 -1
  3. package/package.json +1 -1
  4. package/templates/.env.example +100 -0
  5. package/templates/commands/bootstrap/auto/fast.md +111 -0
  6. package/templates/commands/bootstrap/auto/parallel.md +66 -0
  7. package/templates/commands/bootstrap/auto.md +115 -0
  8. package/templates/commands/bootstrap.md +137 -0
  9. package/templates/commands/code/auto.md +203 -0
  10. package/templates/commands/code/no-test.md +174 -0
  11. package/templates/commands/code/parallel.md +100 -0
  12. package/templates/commands/code.md +205 -0
  13. package/templates/commands/content/cro.md +43 -0
  14. package/templates/commands/content/enhance.md +14 -0
  15. package/templates/commands/content/fast.md +13 -0
  16. package/templates/commands/content/good.md +16 -0
  17. package/templates/commands/cook/auto/fast.md +26 -0
  18. package/templates/commands/cook/auto/parallel.md +49 -0
  19. package/templates/commands/cook/auto.md +15 -0
  20. package/templates/commands/cook.md +105 -0
  21. package/templates/commands/debug.md +13 -0
  22. package/templates/commands/design/3d.md +83 -0
  23. package/templates/commands/design/describe.md +23 -0
  24. package/templates/commands/design/fast.md +31 -0
  25. package/templates/commands/design/good.md +35 -0
  26. package/templates/commands/design/screenshot.md +34 -0
  27. package/templates/commands/design/video.md +34 -0
  28. package/templates/commands/fix/ci.md +17 -0
  29. package/templates/commands/fix/fast.md +19 -0
  30. package/templates/commands/fix/hard.md +39 -0
  31. package/templates/commands/fix/logs.md +26 -0
  32. package/templates/commands/fix/parallel.md +54 -0
  33. package/templates/commands/fix/test.md +20 -0
  34. package/templates/commands/fix/types.md +9 -0
  35. package/templates/commands/fix/ui.md +48 -0
  36. package/templates/commands/fix.md +43 -0
  37. package/templates/commands/plan/ci.md +33 -0
  38. package/templates/commands/plan/cro.md +69 -0
  39. package/templates/commands/plan/fast.md +82 -0
  40. package/templates/commands/plan/hard.md +108 -0
  41. package/templates/commands/plan/parallel.md +145 -0
  42. package/templates/commands/plan/two.md +45 -0
  43. package/templates/commands/plan.md +30 -0
  44. package/templates/commands/scout/ext.md +39 -0
  45. package/templates/commands/scout.md +28 -0
  46. package/templates/commands/skill/add.md +36 -0
  47. package/templates/commands/skill/create.md +29 -0
  48. package/templates/commands/skill/fix-logs.md +22 -0
  49. package/templates/commands/skill/optimize/auto.md +25 -0
  50. package/templates/commands/skill/optimize.md +34 -0
  51. package/templates/commands/skill/update.md +36 -0
  52. package/templates/skills/.env.example +1 -0
  53. package/templates/statusline.cjs +0 -0
  54. package/templates/statusline.sh +0 -0
  55. package/templates/AGENTS.md +0 -104
  56. package/templates/README.md +0 -241
  57. package/templates/command-archive/ask.md +0 -56
  58. package/templates/command-archive/ck-help.md +0 -129
  59. package/templates/command-archive/coding-level.md +0 -48
  60. package/templates/command-archive/docs/init.md +0 -38
  61. package/templates/command-archive/docs/summarize.md +0 -22
  62. package/templates/command-archive/docs/update.md +0 -76
  63. package/templates/command-archive/journal.md +0 -18
  64. package/templates/command-archive/kanban.md +0 -99
  65. package/templates/command-archive/plan/archive.md +0 -57
  66. package/templates/command-archive/plan/red-team.md +0 -200
  67. package/templates/command-archive/plan/validate.md +0 -188
  68. package/templates/command-archive/preview.md +0 -283
  69. package/templates/command-archive/review/codebase/parallel.md +0 -122
  70. package/templates/command-archive/review/codebase.md +0 -49
  71. package/templates/command-archive/test/ui.md +0 -92
  72. package/templates/command-archive/test.md +0 -8
  73. package/templates/command-archive/use-mcp.md +0 -38
  74. package/templates/command-archive/watzup.md +0 -8
  75. package/templates/command-archive/worktree.md +0 -109
  76. package/templates/discord/README.md +0 -274
  77. package/templates/discord/config.json5 +0 -87
  78. package/templates/discord/skills/auto-intent-router/SKILL.md +0 -195
  79. package/templates/discord/skills/train-prompt/SKILL.md +0 -306
  80. package/templates/discord/start-bot.sh +0 -47
  81. package/templates/gemini/settings.json +0 -12
package/dist/index.js CHANGED
@@ -559,6 +559,23 @@ var init_claude_adapter = __esm({
559
559
  }
560
560
  return copied;
561
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
+ }
562
579
  };
563
580
  }
564
581
  });
@@ -2067,6 +2084,19 @@ async function initCommand(projectName, options) {
2067
2084
  const targetDir = join9(projectDir, adapter.config.directory);
2068
2085
  await fs8.ensureDir(targetDir);
2069
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
+ }
2070
2100
  const filteredItems = adapter.filterInstallItems(toInstall);
2071
2101
  spinner.text = mergeMode ? `Merging agents (${targetLabel})...` : `Copying agents (${targetLabel})...`;
2072
2102
  await adapter.copyAgents(filteredItems.agents, source.claudeDir, targetDir, mergeMode);