@shepai/cli 1.20.1 → 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.
- package/dist/src/application/ports/output/services/index.d.ts +1 -0
- package/dist/src/application/ports/output/services/index.d.ts.map +1 -1
- package/dist/src/application/ports/output/services/tool-installer.service.d.ts +35 -0
- package/dist/src/application/ports/output/services/tool-installer.service.d.ts.map +1 -0
- package/dist/src/application/ports/output/services/tool-installer.service.js +7 -0
- package/dist/src/application/use-cases/tools/install-tool.use-case.d.ts +21 -0
- package/dist/src/application/use-cases/tools/install-tool.use-case.d.ts.map +1 -0
- package/dist/src/application/use-cases/tools/install-tool.use-case.js +41 -0
- package/dist/src/application/use-cases/tools/validate-tool-availability.use-case.d.ts +20 -0
- package/dist/src/application/use-cases/tools/validate-tool-availability.use-case.d.ts.map +1 -0
- package/dist/src/application/use-cases/tools/validate-tool-availability.use-case.js +40 -0
- package/dist/src/domain/generated/output.d.ts +97 -0
- package/dist/src/domain/generated/output.d.ts.map +1 -1
- package/dist/src/domain/generated/output.js +10 -0
- package/dist/src/domain/value-objects/index.d.ts +2 -0
- package/dist/src/domain/value-objects/index.d.ts.map +1 -1
- package/dist/src/domain/value-objects/index.js +1 -0
- package/dist/src/domain/value-objects/tool-installation-status.d.ts +70 -0
- package/dist/src/domain/value-objects/tool-installation-status.d.ts.map +1 -0
- package/dist/src/domain/value-objects/tool-installation-status.js +111 -0
- package/dist/src/infrastructure/di/container.d.ts.map +1 -1
- package/dist/src/infrastructure/di/container.js +6 -0
- package/dist/src/infrastructure/services/tool-installer/tool-installer.service.d.ts +36 -0
- package/dist/src/infrastructure/services/tool-installer/tool-installer.service.d.ts.map +1 -0
- package/dist/src/infrastructure/services/tool-installer/tool-installer.service.js +179 -0
- package/dist/src/infrastructure/services/tool-installer/tool-metadata.d.ts +37 -0
- package/dist/src/infrastructure/services/tool-installer/tool-metadata.d.ts.map +1 -0
- package/dist/src/infrastructure/services/tool-installer/tool-metadata.js +52 -0
- package/dist/src/infrastructure/services/tool-installer/tools/antigravity.json +20 -0
- package/dist/src/infrastructure/services/tool-installer/tools/claude-code.json +16 -0
- package/dist/src/infrastructure/services/tool-installer/tools/cursor-cli.json +16 -0
- package/dist/src/infrastructure/services/tool-installer/tools/cursor.json +17 -0
- package/dist/src/infrastructure/services/tool-installer/tools/vscode.json +17 -0
- package/dist/src/infrastructure/services/tool-installer/tools/windsurf.json +17 -0
- package/dist/src/infrastructure/services/tool-installer/tools/zed.json +17 -0
- package/dist/src/presentation/cli/commands/install.command.d.ts +14 -0
- package/dist/src/presentation/cli/commands/install.command.d.ts.map +1 -0
- package/dist/src/presentation/cli/commands/install.command.js +134 -0
- package/dist/src/presentation/cli/index.js +2 -0
- package/dist/src/presentation/cli/ui/index.d.ts +1 -0
- package/dist/src/presentation/cli/ui/index.d.ts.map +1 -1
- package/dist/src/presentation/cli/ui/index.js +1 -0
- package/dist/src/presentation/cli/ui/install-messages.d.ts +23 -0
- package/dist/src/presentation/cli/ui/install-messages.d.ts.map +1 -0
- package/dist/src/presentation/cli/ui/install-messages.js +36 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/web/.next/BUILD_ID +1 -1
- package/web/.next/build-manifest.json +2 -2
- package/web/.next/cache/.previewinfo +1 -1
- package/web/.next/cache/.rscinfo +1 -1
- package/web/.next/cache/config.json +3 -3
- package/web/.next/fallback-build-manifest.json +2 -2
- package/web/.next/prerender-manifest.json +3 -3
- package/web/.next/required-server-files.js +1 -1
- package/web/.next/required-server-files.json +1 -1
- package/web/.next/server/app/_global-error.html +2 -2
- package/web/.next/server/app/_global-error.rsc +1 -1
- package/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/web/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/web/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/web/.next/server/app/_not-found.html +2 -2
- package/web/.next/server/app/_not-found.rsc +1 -1
- package/web/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
- package/web/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/web/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
- package/web/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/web/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/web/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/web/.next/server/app/index.html +2 -2
- package/web/.next/server/app/index.rsc +1 -1
- package/web/.next/server/app/index.segments/__PAGE__.segment.rsc +1 -1
- package/web/.next/server/app/index.segments/_full.segment.rsc +1 -1
- package/web/.next/server/app/index.segments/_head.segment.rsc +1 -1
- package/web/.next/server/app/index.segments/_index.segment.rsc +1 -1
- package/web/.next/server/app/index.segments/_tree.segment.rsc +1 -1
- package/web/.next/server/app/version.html +2 -2
- package/web/.next/server/app/version.rsc +1 -1
- package/web/.next/server/app/version.segments/_full.segment.rsc +1 -1
- package/web/.next/server/app/version.segments/_head.segment.rsc +1 -1
- package/web/.next/server/app/version.segments/_index.segment.rsc +1 -1
- package/web/.next/server/app/version.segments/_tree.segment.rsc +1 -1
- package/web/.next/server/app/version.segments/version/__PAGE__.segment.rsc +1 -1
- package/web/.next/server/app/version.segments/version.segment.rsc +1 -1
- package/web/.next/server/chunks/ssr/_19be0743._.js +1 -1
- package/web/.next/server/pages/404.html +2 -2
- package/web/.next/server/pages/500.html +2 -2
- package/web/.next/server/server-reference-manifest.js +1 -1
- package/web/.next/server/server-reference-manifest.json +1 -1
- package/web/.next/trace +1 -1
- package/web/.next/trace-build +1 -1
- /package/web/.next/static/{xKJulVMYO_ZRGoqa6eM7G → 64iQn2RbdM-TFYWmABhXw}/_buildManifest.js +0 -0
- /package/web/.next/static/{xKJulVMYO_ZRGoqa6eM7G → 64iQn2RbdM-TFYWmABhXw}/_clientMiddlewareManifest.json +0 -0
- /package/web/.next/static/{xKJulVMYO_ZRGoqa6eM7G → 64iQn2RbdM-TFYWmABhXw}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
/** Messages for the install command */
|
|
9
|
+
export declare const installMessages: {
|
|
10
|
+
/** Display tool already available message */
|
|
11
|
+
alreadyInstalled(toolName: string): void;
|
|
12
|
+
/** Display installation success */
|
|
13
|
+
installSuccess(toolName: string): void;
|
|
14
|
+
/** Display installation failure */
|
|
15
|
+
installFailed(toolName: string, errorMessage: string): void;
|
|
16
|
+
/** Display unknown tool error */
|
|
17
|
+
unknownTool(toolName: string, availableTools: string[]): void;
|
|
18
|
+
/** Display checking availability message */
|
|
19
|
+
checkingAvailability(toolName: string): void;
|
|
20
|
+
/** Display starting installation message */
|
|
21
|
+
startingInstall(toolName: string): void;
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=install-messages.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"install-messages.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/cli/ui/install-messages.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,uCAAuC;AACvC,eAAO,MAAM,eAAe;IAC1B,6CAA6C;+BAClB,MAAM,GAAG,IAAI;IAIxC,mCAAmC;6BACV,MAAM,GAAG,IAAI;IAItC,mCAAmC;4BACX,MAAM,gBAAgB,MAAM,GAAG,IAAI;IAI3D,iCAAiC;0BACX,MAAM,kBAAkB,MAAM,EAAE,GAAG,IAAI;IAO7D,4CAA4C;mCACb,MAAM,GAAG,IAAI;IAI5C,4CAA4C;8BAClB,MAAM,GAAG,IAAI;CAIxC,CAAC"}
|
|
@@ -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
|
+
};
|