codeforge-cli 0.1.3 → 0.1.5

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.
Files changed (2) hide show
  1. package/bin/forge +13 -1
  2. package/package.json +6 -1
package/bin/forge CHANGED
@@ -1,6 +1,18 @@
1
1
  #!/bin/sh
2
2
  # Forge CLI wrapper - launches the actual binary from lib/
3
- SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
3
+
4
+ # Resolve symlinks to find the real script location
5
+ SCRIPT="$0"
6
+ while [ -L "$SCRIPT" ]; do
7
+ SCRIPT_DIR="$(cd "$(dirname "$SCRIPT")" && pwd)"
8
+ SCRIPT="$(readlink "$SCRIPT")"
9
+ # Handle relative symlinks
10
+ case "$SCRIPT" in
11
+ /*) ;;
12
+ *) SCRIPT="$SCRIPT_DIR/$SCRIPT" ;;
13
+ esac
14
+ done
15
+ SCRIPT_DIR="$(cd "$(dirname "$SCRIPT")" && pwd)"
4
16
  LIB_DIR="$SCRIPT_DIR/../lib"
5
17
 
6
18
  if [ -x "$LIB_DIR/forge" ]; then
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codeforge-cli",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "Terminal-first AI coding agent that works with any IDE. Think Cursor, but for your terminal.",
5
5
  "keywords": [
6
6
  "ai",
@@ -45,5 +45,10 @@
45
45
  ],
46
46
  "engines": {
47
47
  "node": ">=18.0.0"
48
+ },
49
+ "dependencies": {
50
+ "@grpc/reflection": "^1.0.4",
51
+ "better-sqlite3": "^12.4.1",
52
+ "grpc-health-check": "^2.0.2"
48
53
  }
49
54
  }