@shepai/cli 1.20.0 → 1.21.0

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 (113) hide show
  1. package/dist/eslint.config.mjs +1 -0
  2. package/dist/src/application/ports/output/services/index.d.ts +1 -0
  3. package/dist/src/application/ports/output/services/index.d.ts.map +1 -1
  4. package/dist/src/application/ports/output/services/tool-installer.service.d.ts +35 -0
  5. package/dist/src/application/ports/output/services/tool-installer.service.d.ts.map +1 -0
  6. package/dist/src/application/ports/output/services/tool-installer.service.js +7 -0
  7. package/dist/src/application/use-cases/features/create/create-feature.use-case.d.ts +37 -0
  8. package/dist/src/application/use-cases/features/create/create-feature.use-case.d.ts.map +1 -0
  9. package/dist/src/application/use-cases/features/{create-feature.use-case.js → create/create-feature.use-case.js} +17 -100
  10. package/dist/src/application/use-cases/features/create/metadata-generator.d.ts +28 -0
  11. package/dist/src/application/use-cases/features/create/metadata-generator.d.ts.map +1 -0
  12. package/dist/src/application/use-cases/features/create/metadata-generator.js +109 -0
  13. package/dist/src/application/use-cases/features/create/slug-resolver.d.ts +24 -0
  14. package/dist/src/application/use-cases/features/create/slug-resolver.d.ts.map +1 -0
  15. package/dist/src/application/use-cases/features/create/slug-resolver.js +66 -0
  16. package/dist/src/application/use-cases/features/create/types.d.ts +16 -0
  17. package/dist/src/application/use-cases/features/create/types.d.ts.map +1 -0
  18. package/dist/src/application/use-cases/features/create/types.js +1 -0
  19. package/dist/src/application/use-cases/tools/install-tool.use-case.d.ts +21 -0
  20. package/dist/src/application/use-cases/tools/install-tool.use-case.d.ts.map +1 -0
  21. package/dist/src/application/use-cases/tools/install-tool.use-case.js +41 -0
  22. package/dist/src/application/use-cases/tools/validate-tool-availability.use-case.d.ts +20 -0
  23. package/dist/src/application/use-cases/tools/validate-tool-availability.use-case.d.ts.map +1 -0
  24. package/dist/src/application/use-cases/tools/validate-tool-availability.use-case.js +40 -0
  25. package/dist/src/domain/generated/output.d.ts +97 -0
  26. package/dist/src/domain/generated/output.d.ts.map +1 -1
  27. package/dist/src/domain/generated/output.js +10 -0
  28. package/dist/src/domain/value-objects/index.d.ts +2 -0
  29. package/dist/src/domain/value-objects/index.d.ts.map +1 -1
  30. package/dist/src/domain/value-objects/index.js +1 -0
  31. package/dist/src/domain/value-objects/tool-installation-status.d.ts +70 -0
  32. package/dist/src/domain/value-objects/tool-installation-status.d.ts.map +1 -0
  33. package/dist/src/domain/value-objects/tool-installation-status.js +111 -0
  34. package/dist/src/infrastructure/di/container.d.ts.map +1 -1
  35. package/dist/src/infrastructure/di/container.js +11 -1
  36. package/dist/src/infrastructure/services/agents/common/executors/mock-executor.service.js +2 -2
  37. package/dist/src/infrastructure/services/tool-installer/tool-installer.service.d.ts +36 -0
  38. package/dist/src/infrastructure/services/tool-installer/tool-installer.service.d.ts.map +1 -0
  39. package/dist/src/infrastructure/services/tool-installer/tool-installer.service.js +179 -0
  40. package/dist/src/infrastructure/services/tool-installer/tool-metadata.d.ts +37 -0
  41. package/dist/src/infrastructure/services/tool-installer/tool-metadata.d.ts.map +1 -0
  42. package/dist/src/infrastructure/services/tool-installer/tool-metadata.js +52 -0
  43. package/dist/src/infrastructure/services/tool-installer/tools/antigravity.json +20 -0
  44. package/dist/src/infrastructure/services/tool-installer/tools/claude-code.json +16 -0
  45. package/dist/src/infrastructure/services/tool-installer/tools/cursor-cli.json +16 -0
  46. package/dist/src/infrastructure/services/tool-installer/tools/cursor.json +17 -0
  47. package/dist/src/infrastructure/services/tool-installer/tools/vscode.json +17 -0
  48. package/dist/src/infrastructure/services/tool-installer/tools/windsurf.json +17 -0
  49. package/dist/src/infrastructure/services/tool-installer/tools/zed.json +17 -0
  50. package/dist/src/presentation/cli/commands/feat/new.command.js +1 -1
  51. package/dist/src/presentation/cli/commands/install.command.d.ts +14 -0
  52. package/dist/src/presentation/cli/commands/install.command.d.ts.map +1 -0
  53. package/dist/src/presentation/cli/commands/install.command.js +134 -0
  54. package/dist/src/presentation/cli/index.js +2 -0
  55. package/dist/src/presentation/cli/ui/index.d.ts +1 -0
  56. package/dist/src/presentation/cli/ui/index.d.ts.map +1 -1
  57. package/dist/src/presentation/cli/ui/index.js +1 -0
  58. package/dist/src/presentation/cli/ui/install-messages.d.ts +23 -0
  59. package/dist/src/presentation/cli/ui/install-messages.d.ts.map +1 -0
  60. package/dist/src/presentation/cli/ui/install-messages.js +36 -0
  61. package/dist/tsconfig.build.tsbuildinfo +1 -1
  62. package/package.json +4 -2
  63. package/web/.next/BUILD_ID +1 -1
  64. package/web/.next/build-manifest.json +2 -2
  65. package/web/.next/cache/.previewinfo +1 -1
  66. package/web/.next/cache/.rscinfo +1 -1
  67. package/web/.next/cache/config.json +3 -3
  68. package/web/.next/fallback-build-manifest.json +2 -2
  69. package/web/.next/prerender-manifest.json +3 -3
  70. package/web/.next/required-server-files.js +1 -1
  71. package/web/.next/required-server-files.json +1 -1
  72. package/web/.next/server/app/_global-error.html +2 -2
  73. package/web/.next/server/app/_global-error.rsc +1 -1
  74. package/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  75. package/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  76. package/web/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  77. package/web/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  78. package/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  79. package/web/.next/server/app/_not-found.html +2 -2
  80. package/web/.next/server/app/_not-found.rsc +1 -1
  81. package/web/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
  82. package/web/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  83. package/web/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
  84. package/web/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  85. package/web/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  86. package/web/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  87. package/web/.next/server/app/index.html +2 -2
  88. package/web/.next/server/app/index.rsc +1 -1
  89. package/web/.next/server/app/index.segments/__PAGE__.segment.rsc +1 -1
  90. package/web/.next/server/app/index.segments/_full.segment.rsc +1 -1
  91. package/web/.next/server/app/index.segments/_head.segment.rsc +1 -1
  92. package/web/.next/server/app/index.segments/_index.segment.rsc +1 -1
  93. package/web/.next/server/app/index.segments/_tree.segment.rsc +1 -1
  94. package/web/.next/server/app/version.html +2 -2
  95. package/web/.next/server/app/version.rsc +1 -1
  96. package/web/.next/server/app/version.segments/_full.segment.rsc +1 -1
  97. package/web/.next/server/app/version.segments/_head.segment.rsc +1 -1
  98. package/web/.next/server/app/version.segments/_index.segment.rsc +1 -1
  99. package/web/.next/server/app/version.segments/_tree.segment.rsc +1 -1
  100. package/web/.next/server/app/version.segments/version/__PAGE__.segment.rsc +1 -1
  101. package/web/.next/server/app/version.segments/version.segment.rsc +1 -1
  102. package/web/.next/server/chunks/ssr/_19be0743._.js +1 -1
  103. package/web/.next/server/pages/404.html +2 -2
  104. package/web/.next/server/pages/500.html +2 -2
  105. package/web/.next/server/server-reference-manifest.js +1 -1
  106. package/web/.next/server/server-reference-manifest.json +1 -1
  107. package/web/.next/trace +1 -1
  108. package/web/.next/trace-build +1 -1
  109. package/dist/src/application/use-cases/features/create-feature.use-case.d.ts +0 -53
  110. package/dist/src/application/use-cases/features/create-feature.use-case.d.ts.map +0 -1
  111. /package/web/.next/static/{u-tyZUMnsIne6K_0rPmPO → 64iQn2RbdM-TFYWmABhXw}/_buildManifest.js +0 -0
  112. /package/web/.next/static/{u-tyZUMnsIne6K_0rPmPO → 64iQn2RbdM-TFYWmABhXw}/_clientMiddlewareManifest.json +0 -0
  113. /package/web/.next/static/{u-tyZUMnsIne6K_0rPmPO → 64iQn2RbdM-TFYWmABhXw}/_ssgManifest.js +0 -0
@@ -0,0 +1,36 @@
1
+ /**
2
+ * Install Command UI Messages
3
+ *
4
+ * Message templates for the tool installation flow.
5
+ * Provides consistent formatting for confirmation prompts,
6
+ * progress indicators, and result messages.
7
+ */
8
+ import { colors, fmt, messages } from './index.js';
9
+ /** Messages for the install command */
10
+ export const installMessages = {
11
+ /** Display tool already available message */
12
+ alreadyInstalled(toolName) {
13
+ messages.success(`${toolName} is already installed`);
14
+ },
15
+ /** Display installation success */
16
+ installSuccess(toolName) {
17
+ messages.success(`${toolName} installed successfully`);
18
+ },
19
+ /** Display installation failure */
20
+ installFailed(toolName, errorMessage) {
21
+ messages.error(`Failed to install ${toolName}: ${errorMessage}`, new Error(errorMessage));
22
+ },
23
+ /** Display unknown tool error */
24
+ unknownTool(toolName, availableTools) {
25
+ messages.error(`Unknown tool: "${toolName}". Available: ${availableTools.join(', ')}`, new Error(`Unknown tool: ${toolName}`));
26
+ },
27
+ /** Display checking availability message */
28
+ checkingAvailability(toolName) {
29
+ console.log(colors.muted(`Checking if ${toolName} is available...`));
30
+ },
31
+ /** Display starting installation message */
32
+ startingInstall(toolName) {
33
+ console.log(fmt.heading(`Installing ${toolName}`));
34
+ console.log();
35
+ },
36
+ };