@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
package/README.md
CHANGED
|
@@ -23,16 +23,40 @@ There's a bunch more to it, but that's the core of the system. And because the s
|
|
|
23
23
|
|
|
24
24
|
Installation differs by harness. If you use more than one, install SPARK separately for each one.
|
|
25
25
|
|
|
26
|
+
### Native Installer (Recommended)
|
|
27
|
+
|
|
28
|
+
The native installer auto-detects which coding agents you have installed and sets up SPARK for all of them — skills AND hooks — with zero external dependencies.
|
|
29
|
+
|
|
30
|
+
**From a fresh clone:**
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
git clone https://github.com/adityaaria/SPARK.git && cd SPARK && bash bin/spark-install.sh
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
**If you already have the repo cloned:**
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
bash bin/spark-install.sh
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
**Global install** (applies to all projects):
|
|
43
|
+
|
|
44
|
+
```bash
|
|
45
|
+
bash bin/spark-install.sh -g
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
The installer creates symlinks from the repo's `skills/` directory to each agent's config, so future `git pull` updates are picked up automatically. Run `bash bin/spark-install.sh --help` for all options.
|
|
49
|
+
|
|
26
50
|
### NPM Meta-Installer
|
|
27
51
|
|
|
28
|
-
|
|
52
|
+
Alternative if you prefer using npm (requires Node.js). This command acts as a thin wrapper around the native installer (`bin/spark-install.sh`), executing the exact same bash script and supporting the same options:
|
|
29
53
|
|
|
30
54
|
```bash
|
|
31
55
|
npx @adityaaria/spark install
|
|
56
|
+
npx @adityaaria/spark install -g # Install to global agent config
|
|
57
|
+
npx @adityaaria/spark install --force # Re-install over existing installations
|
|
32
58
|
```
|
|
33
59
|
|
|
34
|
-
You can force a specific harness with `--harness <name>` if you already know it.
|
|
35
|
-
|
|
36
60
|
### Claude Code
|
|
37
61
|
|
|
38
62
|
SPARK is available via the [official Claude plugin marketplace](https://claude.com/plugins/spark)
|