@adityaaria/spark 6.0.15 → 6.0.17
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/README.md +27 -3
- package/bin/spark-install.sh +861 -0
- package/package.json +1 -1
- package/skills/using-spark/SKILL.md +7 -3
- package/src/cli/index.js +6 -12
- package/src/cli/install.js +38 -166
- package/src/cli/output.js +6 -3
- package/src/cli/parse-args.js +0 -46
- package/src/cli/prompt.js +0 -11
- package/src/installer/adapters/claude-staging.js +0 -68
- package/src/installer/adapters/codex-staging.js +0 -77
- package/src/installer/adapters/common.js +0 -158
- package/src/installer/adapters/cursor-staging.js +0 -42
- package/src/installer/adapters/extension-style.js +0 -93
- package/src/installer/adapters/opencode-staging.js +0 -61
- package/src/installer/adapters/shell-hook.js +0 -138
- package/src/installer/adapters/vscode-staging.js +0 -75
- package/src/installer/detect.js +0 -257
- package/src/installer/errors.js +0 -7
- package/src/installer/registry.js +0 -37
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
createClaudeCodeAdapter,
|
|
3
|
-
createCodexAdapter,
|
|
4
|
-
createCopilotAdapter,
|
|
5
|
-
createCursorAdapter,
|
|
6
|
-
createVsCodeAdapter,
|
|
7
|
-
} from './adapters/shell-hook.js';
|
|
8
|
-
import {
|
|
9
|
-
createAntigravityAdapter,
|
|
10
|
-
createGeminiAdapter,
|
|
11
|
-
createOpenCodeAdapter,
|
|
12
|
-
createPiAdapter,
|
|
13
|
-
} from './adapters/extension-style.js';
|
|
14
|
-
|
|
15
|
-
const ADAPTERS = [
|
|
16
|
-
createClaudeCodeAdapter(),
|
|
17
|
-
createCodexAdapter(),
|
|
18
|
-
createVsCodeAdapter(),
|
|
19
|
-
createCursorAdapter(),
|
|
20
|
-
createCopilotAdapter(),
|
|
21
|
-
createOpenCodeAdapter(),
|
|
22
|
-
createGeminiAdapter(),
|
|
23
|
-
createPiAdapter(),
|
|
24
|
-
createAntigravityAdapter(),
|
|
25
|
-
];
|
|
26
|
-
|
|
27
|
-
export function listAdapters() {
|
|
28
|
-
return ADAPTERS.map((adapter) => ({ ...adapter }));
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
export function getAdapterById(id) {
|
|
32
|
-
return ADAPTERS.find((adapter) => adapter.id === id) ?? null;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
export function getAdapterLabels() {
|
|
36
|
-
return ADAPTERS.map((adapter) => adapter.label);
|
|
37
|
-
}
|