@proxysoul/soulforge 1.3.6 → 1.3.8
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 +6 -3
- package/dist/bin.sh +11 -0
- package/dist/index.js +4922 -1684
- package/package.json +6 -3
package/README.md
CHANGED
|
@@ -291,13 +291,16 @@ brew install soulforge
|
|
|
291
291
|
</details>
|
|
292
292
|
|
|
293
293
|
<details>
|
|
294
|
-
<summary><strong>
|
|
294
|
+
<summary><strong>Bun (global install)</strong></summary>
|
|
295
295
|
|
|
296
|
-
Requires [Bun](https://bun.sh) >= 1.
|
|
296
|
+
Requires [Bun](https://bun.sh) >= 1.2 as the runtime — SoulForge uses Bun-specific APIs (Workers, native modules, PTY).
|
|
297
297
|
|
|
298
298
|
```bash
|
|
299
|
+
# Install Bun if you don't have it
|
|
300
|
+
curl -fsSL https://bun.sh/install | bash
|
|
301
|
+
|
|
302
|
+
# Install SoulForge globally
|
|
299
303
|
bun install -g @proxysoul/soulforge
|
|
300
|
-
# or: npm install -g @proxysoul/soulforge
|
|
301
304
|
|
|
302
305
|
soulforge # or: sf
|
|
303
306
|
```
|
package/dist/bin.sh
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
if ! command -v bun >/dev/null 2>&1; then
|
|
3
|
+
echo "SoulForge requires Bun (https://bun.sh)" >&2
|
|
4
|
+
echo "" >&2
|
|
5
|
+
echo "Install Bun:" >&2
|
|
6
|
+
echo " curl -fsSL https://bun.sh/install | bash" >&2
|
|
7
|
+
echo "" >&2
|
|
8
|
+
echo "Then run: soulforge" >&2
|
|
9
|
+
exit 1
|
|
10
|
+
fi
|
|
11
|
+
exec bun "$(dirname "$0")/index.js" "$@"
|