niahere 0.2.1 → 0.2.2
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/bin/nia +11 -0
- package/package.json +4 -4
package/bin/nia
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
if ! command -v bun >/dev/null 2>&1; then
|
|
3
|
+
echo "niahere requires Bun runtime."
|
|
4
|
+
echo ""
|
|
5
|
+
echo "Install Bun:"
|
|
6
|
+
echo " curl -fsSL https://bun.sh/install | bash"
|
|
7
|
+
echo ""
|
|
8
|
+
echo "Then run: nia $*"
|
|
9
|
+
exit 1
|
|
10
|
+
fi
|
|
11
|
+
exec bun "$(dirname "$0")/../src/cli/index.ts" "$@"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "niahere",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "A personal AI assistant daemon — scheduled jobs, chat across Telegram and Slack, persona system, and visual identity.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -11,8 +11,7 @@
|
|
|
11
11
|
"test": "tsc --noEmit && LOG_LEVEL=silent bun test --reporter=dots",
|
|
12
12
|
"test:bun": "bun test",
|
|
13
13
|
"typecheck": "tsc --noEmit",
|
|
14
|
-
"seed": "bun run src/db/seed.ts"
|
|
15
|
-
"postinstall": "command -v bun >/dev/null 2>&1 || echo '\\n⚠ niahere requires Bun runtime.\\nInstall: curl -fsSL https://bun.sh/install | bash\\n'"
|
|
14
|
+
"seed": "bun run src/db/seed.ts"
|
|
16
15
|
},
|
|
17
16
|
"keywords": [
|
|
18
17
|
"ai",
|
|
@@ -28,9 +27,10 @@
|
|
|
28
27
|
"bun": ">=1.0.0"
|
|
29
28
|
},
|
|
30
29
|
"bin": {
|
|
31
|
-
"nia": "
|
|
30
|
+
"nia": "bin/nia"
|
|
32
31
|
},
|
|
33
32
|
"files": [
|
|
33
|
+
"bin/",
|
|
34
34
|
"src/",
|
|
35
35
|
"defaults/",
|
|
36
36
|
"skills/",
|