@adityaaria/spark 6.0.9 → 6.0.11
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/package.json
CHANGED
package/src/cli/install.js
CHANGED
|
@@ -67,14 +67,6 @@ export function createAdapter({
|
|
|
67
67
|
});
|
|
68
68
|
|
|
69
69
|
if (result.error) {
|
|
70
|
-
if (result.error.code === 'ENOENT') {
|
|
71
|
-
throw new InstallerError(
|
|
72
|
-
`\n\u2715 ${label} install failed: Command '${entry.file}' not found.\n` +
|
|
73
|
-
`SPARK requires ${label} to be installed first.\n` +
|
|
74
|
-
`Please install ${label} from its official source (e.g. npm install -g <package-name>)\n` +
|
|
75
|
-
`and ensure '${entry.file}' is in your PATH before retrying.\n`
|
|
76
|
-
);
|
|
77
|
-
}
|
|
78
70
|
throw new InstallerError(`${label} install failed: ${result.error.message}`);
|
|
79
71
|
}
|
|
80
72
|
|
|
@@ -50,6 +50,7 @@ export function createGeminiAdapter() {
|
|
|
50
50
|
id: 'gemini',
|
|
51
51
|
label: 'Gemini CLI',
|
|
52
52
|
kind: 'context-file',
|
|
53
|
+
packageRoot,
|
|
53
54
|
envKeys: ['GEMINI_HOME', 'GOOGLE_GEMINI_CLI'],
|
|
54
55
|
binaryNames: ['gemini'],
|
|
55
56
|
configPaths: ['GEMINI.md', 'gemini-extension.json'],
|
|
@@ -73,6 +74,7 @@ export function createAntigravityAdapter() {
|
|
|
73
74
|
id: 'antigravity',
|
|
74
75
|
label: 'Antigravity',
|
|
75
76
|
kind: 'context-file',
|
|
77
|
+
packageRoot,
|
|
76
78
|
envKeys: ['ANTIGRAVITY_PLUGIN_ROOT'],
|
|
77
79
|
binaryNames: ['agy'],
|
|
78
80
|
bootstrap: 'using-spark -> agy plugin install -> contextFileName bootstrap',
|