@quantiya/codevibe 1.0.2 → 1.0.3

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/codevibe CHANGED
@@ -17,7 +17,13 @@
17
17
 
18
18
  export ENVIRONMENT="${ENVIRONMENT:-production}"
19
19
 
20
- SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
20
+ SOURCE="${BASH_SOURCE[0]}"
21
+ while [ -L "$SOURCE" ]; do
22
+ DIR="$(cd "$(dirname "$SOURCE")" && pwd)"
23
+ SOURCE="$(readlink "$SOURCE")"
24
+ [[ "$SOURCE" != /* ]] && SOURCE="$DIR/$SOURCE"
25
+ done
26
+ SCRIPT_DIR="$(cd "$(dirname "$SOURCE")" && pwd)"
21
27
  PACKAGE_DIR="$(dirname "$SCRIPT_DIR")"
22
28
 
23
29
  CORE_CLI="$PACKAGE_DIR/node_modules/@quantiya/codevibe-core/bin/codevibe.js"
@@ -1,8 +1,14 @@
1
1
  #!/bin/bash
2
2
  # Thin wrapper that delegates to @quantiya/codevibe-claude-plugin
3
- # Resolves the actual binary from the installed dependency
4
3
 
5
- SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
4
+ SOURCE="${BASH_SOURCE[0]}"
5
+ while [ -L "$SOURCE" ]; do
6
+ DIR="$(cd "$(dirname "$SOURCE")" && pwd)"
7
+ SOURCE="$(readlink "$SOURCE")"
8
+ [[ "$SOURCE" != /* ]] && SOURCE="$DIR/$SOURCE"
9
+ done
10
+ SCRIPT_DIR="$(cd "$(dirname "$SOURCE")" && pwd)"
11
+
6
12
  DELEGATE="$SCRIPT_DIR/../node_modules/@quantiya/codevibe-claude-plugin/bin/codevibe-claude"
7
13
 
8
14
  if [ ! -f "$DELEGATE" ]; then
@@ -1,8 +1,14 @@
1
1
  #!/bin/bash
2
2
  # Thin wrapper that delegates to @quantiya/codevibe-codex-plugin
3
- # Resolves the actual binary from the installed dependency
4
3
 
5
- SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
4
+ SOURCE="${BASH_SOURCE[0]}"
5
+ while [ -L "$SOURCE" ]; do
6
+ DIR="$(cd "$(dirname "$SOURCE")" && pwd)"
7
+ SOURCE="$(readlink "$SOURCE")"
8
+ [[ "$SOURCE" != /* ]] && SOURCE="$DIR/$SOURCE"
9
+ done
10
+ SCRIPT_DIR="$(cd "$(dirname "$SOURCE")" && pwd)"
11
+
6
12
  DELEGATE="$SCRIPT_DIR/../node_modules/@quantiya/codevibe-codex-plugin/bin/codevibe-codex"
7
13
 
8
14
  if [ ! -f "$DELEGATE" ]; then
@@ -1,8 +1,14 @@
1
1
  #!/bin/bash
2
2
  # Thin wrapper that delegates to @quantiya/codevibe-gemini-plugin
3
- # Resolves the actual binary from the installed dependency
4
3
 
5
- SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
4
+ SOURCE="${BASH_SOURCE[0]}"
5
+ while [ -L "$SOURCE" ]; do
6
+ DIR="$(cd "$(dirname "$SOURCE")" && pwd)"
7
+ SOURCE="$(readlink "$SOURCE")"
8
+ [[ "$SOURCE" != /* ]] && SOURCE="$DIR/$SOURCE"
9
+ done
10
+ SCRIPT_DIR="$(cd "$(dirname "$SOURCE")" && pwd)"
11
+
6
12
  DELEGATE="$SCRIPT_DIR/../node_modules/@quantiya/codevibe-gemini-plugin/bin/codevibe-gemini"
7
13
 
8
14
  if [ ! -f "$DELEGATE" ]; then
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quantiya/codevibe",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "CodeVibe - Monitor and control AI coding agents (Claude Code, Gemini CLI, Codex CLI) from your mobile device",
5
5
  "bin": {
6
6
  "codevibe": "./bin/codevibe",