auq-mcp-server 3.0.0 → 3.0.1

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/auq ADDED
@@ -0,0 +1,19 @@
1
+ #!/bin/sh
2
+ # Runtime auto-detection wrapper for auq
3
+ # Prefers bun (required for OpenTUI renderer), falls back to node (ink renderer only)
4
+
5
+ # Resolve the real path of this script (handles symlinks from global installs)
6
+ SCRIPT="$0"
7
+ while [ -L "$SCRIPT" ]; do
8
+ SCRIPT_DIR="$(cd -P "$(dirname "$SCRIPT")" && pwd)"
9
+ SCRIPT="$(readlink "$SCRIPT")"
10
+ [ "${SCRIPT#/}" = "$SCRIPT" ] && SCRIPT="$SCRIPT_DIR/$SCRIPT"
11
+ done
12
+ SCRIPT_DIR="$(cd -P "$(dirname "$SCRIPT")" && pwd)"
13
+ ENTRY="$SCRIPT_DIR/../dist/bin/auq.js"
14
+
15
+ if command -v bun >/dev/null 2>&1; then
16
+ exec bun "$ENTRY" "$@"
17
+ else
18
+ exec node "$ENTRY" "$@"
19
+ fi
package/dist/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "auq-mcp-server",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "main": "dist/index.js",
5
5
  "bin": {
6
- "auq": "dist/bin/auq.js"
6
+ "auq": "bin/auq"
7
7
  },
8
8
  "files": [
9
9
  "dist",
10
+ "bin/auq",
10
11
  "scripts/postinstall.cjs",
11
12
  "README.md",
12
13
  "LICENSE"
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "auq-mcp-server",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "main": "dist/index.js",
5
5
  "bin": {
6
- "auq": "dist/bin/auq.js"
6
+ "auq": "bin/auq"
7
7
  },
8
8
  "files": [
9
9
  "dist",
10
+ "bin/auq",
10
11
  "scripts/postinstall.cjs",
11
12
  "README.md",
12
13
  "LICENSE"