@shepai/cli 1.22.0 → 1.22.1
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/packages/core/src/infrastructure/services/tool-installer/tool-installer.service.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/services/tool-installer/tool-installer.service.js +16 -2
- package/dist/packages/core/src/infrastructure/services/tool-installer/tools/cursor-cli.json +5 -5
- package/dist/packages/core/src/infrastructure/services/tool-installer/tools/cursor.json +5 -5
- package/dist/packages/core/src/infrastructure/services/tool-installer/tools/vscode.json +2 -2
- package/dist/packages/core/src/infrastructure/services/tool-installer/tools/windsurf.json +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- 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/[root-of-the-server]__f12b60be._.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/{50v5TcK4kMIcF3xxCPBNl → Ox87EvwGC4i-5d3Y6mR8W}/_buildManifest.js +0 -0
- /package/web/.next/static/{50v5TcK4kMIcF3xxCPBNl → Ox87EvwGC4i-5d3Y6mR8W}/_clientMiddlewareManifest.json +0 -0
- /package/web/.next/static/{50v5TcK4kMIcF3xxCPBNl → Ox87EvwGC4i-5d3Y6mR8W}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool-installer.service.d.ts","sourceRoot":"","sources":["../../../../../../../packages/core/src/infrastructure/services/tool-installer/tool-installer.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAKH,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sEAAsE,CAAC;AAClH,OAAO,KAAK,EACV,sBAAsB,EACtB,kBAAkB,EAEnB,MAAM,qCAAqC,CAAC;AA6B7C,qBACa,wBAAyB,YAAW,qBAAqB;IACpE;;OAEG;IACG,iBAAiB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,sBAAsB,CAAC;IA8B1E;;;OAGG;IACH,iBAAiB,CAAC,QAAQ,EAAE,MAAM,GAAG,kBAAkB,GAAG,IAAI;IAqB9D;;;OAGG;IACG,cAAc,CAClB,QAAQ,EAAE,MAAM,EAChB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,GAChC,OAAO,CAAC,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"tool-installer.service.d.ts","sourceRoot":"","sources":["../../../../../../../packages/core/src/infrastructure/services/tool-installer/tool-installer.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAKH,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sEAAsE,CAAC;AAClH,OAAO,KAAK,EACV,sBAAsB,EACtB,kBAAkB,EAEnB,MAAM,qCAAqC,CAAC;AA6B7C,qBACa,wBAAyB,YAAW,qBAAqB;IACpE;;OAEG;IACG,iBAAiB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,sBAAsB,CAAC;IA8B1E;;;OAGG;IACH,iBAAiB,CAAC,QAAQ,EAAE,MAAM,GAAG,kBAAkB,GAAG,IAAI;IAqB9D;;;OAGG;IACG,cAAc,CAClB,QAAQ,EAAE,MAAM,EAChB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,GAChC,OAAO,CAAC,sBAAsB,CAAC;IAuElC;;OAEG;IACH,OAAO,CAAC,6BAA6B;CA4BtC"}
|
package/dist/packages/core/src/infrastructure/services/tool-installer/tool-installer.service.js
CHANGED
|
@@ -134,9 +134,23 @@ let ToolInstallerServiceImpl = class ToolInstallerServiceImpl {
|
|
|
134
134
|
: createAvailableStatus(toolName);
|
|
135
135
|
resolve(returnStatus);
|
|
136
136
|
};
|
|
137
|
-
child.on('close', (code) => {
|
|
137
|
+
child.on('close', async (code) => {
|
|
138
138
|
if (code === 0) {
|
|
139
|
-
|
|
139
|
+
// Verify the installation by checking if binary exists
|
|
140
|
+
const metadata = TOOL_METADATA[toolName];
|
|
141
|
+
if (metadata) {
|
|
142
|
+
const binary = resolveBinary(metadata);
|
|
143
|
+
const verifyResult = await checkBinaryExists(binary);
|
|
144
|
+
if (verifyResult.found) {
|
|
145
|
+
cleanup();
|
|
146
|
+
}
|
|
147
|
+
else {
|
|
148
|
+
cleanup(`Installation completed but binary '${binary}' not found in PATH. The installation may require a shell restart or PATH update.`);
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
else {
|
|
152
|
+
cleanup();
|
|
153
|
+
}
|
|
140
154
|
}
|
|
141
155
|
else {
|
|
142
156
|
cleanup(`Installation failed with exit code ${code}. Output: ${output.slice(0, 200)}`);
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "Cursor CLI",
|
|
3
|
-
"summary": "AI-powered
|
|
4
|
-
"description": "Cursor CLI
|
|
3
|
+
"summary": "AI-powered terminal coding agent",
|
|
4
|
+
"description": "Cursor CLI is a terminal-based AI coding agent that brings conversational AI assistance directly to your command line for any IDE or terminal.",
|
|
5
5
|
"category": "cli-agent",
|
|
6
|
-
"binary": "cursor",
|
|
6
|
+
"binary": "cursor-agent",
|
|
7
7
|
"packageManager": "curl",
|
|
8
8
|
"commands": {
|
|
9
9
|
"linux": "curl https://cursor.com/install -fsS | bash",
|
|
10
10
|
"darwin": "curl https://cursor.com/install -fsS | bash"
|
|
11
11
|
},
|
|
12
12
|
"timeout": 300000,
|
|
13
|
-
"documentationUrl": "https://
|
|
14
|
-
"verifyCommand": "cursor --version",
|
|
13
|
+
"documentationUrl": "https://www.codecademy.com/article/getting-started-with-cursor-cli",
|
|
14
|
+
"verifyCommand": "cursor-agent --version",
|
|
15
15
|
"autoInstall": true
|
|
16
16
|
}
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
"description": "Cursor is an AI-powered code editor built on VS Code, designed to streamline development workflows with advanced AI-assisted coding capabilities.",
|
|
5
5
|
"category": "ide",
|
|
6
6
|
"binary": "cursor",
|
|
7
|
-
"packageManager": "
|
|
7
|
+
"packageManager": "manual",
|
|
8
8
|
"commands": {
|
|
9
|
-
"linux": "
|
|
10
|
-
"darwin": "
|
|
9
|
+
"linux": "Download from https://cursor.com/download and install the AppImage manually",
|
|
10
|
+
"darwin": "Download from https://cursor.com/download or use: brew install --cask cursor"
|
|
11
11
|
},
|
|
12
12
|
"timeout": 600000,
|
|
13
|
-
"documentationUrl": "https://
|
|
13
|
+
"documentationUrl": "https://cursor.com/download",
|
|
14
14
|
"verifyCommand": "cursor --version",
|
|
15
|
-
"autoInstall":
|
|
15
|
+
"autoInstall": false,
|
|
16
16
|
"openDirectory": "cursor ."
|
|
17
17
|
}
|
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
"binary": "code",
|
|
7
7
|
"packageManager": "apt",
|
|
8
8
|
"commands": {
|
|
9
|
-
"linux": "sudo apt update && sudo apt install -y code",
|
|
9
|
+
"linux": "curl -fsSL https://packages.microsoft.com/keys/microsoft.asc | sudo gpg --dearmor -o /usr/share/keyrings/packages.microsoft.gpg && echo \"deb [arch=amd64 signed-by=/usr/share/keyrings/packages.microsoft.gpg] https://packages.microsoft.com/repos/code stable main\" | sudo tee /etc/apt/sources.list.d/vscode.list > /dev/null && sudo apt-get update && sudo apt-get install -y code",
|
|
10
10
|
"darwin": "brew install visual-studio-code"
|
|
11
11
|
},
|
|
12
12
|
"timeout": 300000,
|
|
13
13
|
"documentationUrl": "https://code.visualstudio.com/docs/setup/linux",
|
|
14
|
-
"verifyCommand": "code --version",
|
|
14
|
+
"verifyCommand": "code --version --no-sandbox --user-data-dir=/tmp/vscode-test",
|
|
15
15
|
"autoInstall": true,
|
|
16
16
|
"openDirectory": "code ."
|
|
17
17
|
}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
},
|
|
12
12
|
"timeout": 300000,
|
|
13
13
|
"documentationUrl": "https://docs.windsurf.com/windsurf/getting-started",
|
|
14
|
-
"verifyCommand": "windsurf --version",
|
|
14
|
+
"verifyCommand": "windsurf --version --no-sandbox --user-data-dir=/tmp/windsurf-test",
|
|
15
15
|
"autoInstall": true,
|
|
16
16
|
"openDirectory": "windsurf ."
|
|
17
17
|
}
|