auq-mcp-server 2.7.2 → 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
@@ -594,8 +594,9 @@ export const runTui = async (config) => {
594
594
  await runOpenTui(mergedConfig);
595
595
  }
596
596
  catch (err) {
597
- console.warn(`⚠️ OpenTUI failed to initialize: ${err instanceof Error ? err.message : String(err)}. Falling back to ink renderer.`);
598
- await runInkTui(mergedConfig);
597
+ console.error(`❌ OpenTUI failed to initialize: ${err instanceof Error ? err.message : String(err)}`);
598
+ console.error(`\n To use the legacy ink renderer, set AUQ_RENDERER=ink or add "renderer": "ink" to your .auqrc.json\n`);
599
+ process.exit(1);
599
600
  }
600
601
  }
601
602
  else {
package/dist/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "auq-mcp-server",
3
- "version": "2.7.2",
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": "2.7.2",
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"