@memnexus-ai/mx-agent-cli 0.1.95 → 0.1.97

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.
@@ -802,12 +802,12 @@ echo " Setting up ${projectName}"
802
802
  echo "========================================"
803
803
 
804
804
  # Fix volume permissions (named volumes created as root)
805
- sudo chown -R \\$(id -u):\\$(id -g) /home/vscode/.config/gh 2>/dev/null || true
806
- sudo chown -R \\$(id -u):\\$(id -g) /home/vscode/.claude 2>/dev/null || true
805
+ sudo chown -R $(id -u):$(id -g) /home/vscode/.config/gh 2>/dev/null || true
806
+ sudo chown -R $(id -u):$(id -g) /home/vscode/.claude 2>/dev/null || true
807
807
 
808
808
  # Configure persistent shell history
809
809
  if [ -d /commandhistory ]; then
810
- sudo chown -R \\$(id -u):\\$(id -g) /commandhistory 2>/dev/null || true
810
+ sudo chown -R $(id -u):$(id -g) /commandhistory 2>/dev/null || true
811
811
  touch /commandhistory/.bash_history 2>/dev/null || true
812
812
  if ! grep -q "HISTFILE=/commandhistory/.bash_history" ~/.bashrc 2>/dev/null; then
813
813
  echo 'export HISTFILE=/commandhistory/.bash_history' >> ~/.bashrc
@@ -820,26 +820,26 @@ git config --global --add safe.directory /workspace
820
820
 
821
821
  # Configure npm global prefix (avoids EACCES when running as non-root vscode user)
822
822
  echo "Configuring npm..."
823
- mkdir -p "\\$HOME/.npm-global"
824
- npm config set prefix "\\$HOME/.npm-global"
825
- if ! grep -q 'export PATH="\\$HOME/.npm-global/bin:\\$PATH"' ~/.bashrc 2>/dev/null; then
826
- echo 'export PATH="\\$HOME/.npm-global/bin:\\$PATH"' >> ~/.bashrc
823
+ mkdir -p "$HOME/.npm-global"
824
+ npm config set prefix "$HOME/.npm-global"
825
+ if ! grep -q 'export PATH="$HOME/.npm-global/bin:$PATH"' ~/.bashrc 2>/dev/null; then
826
+ echo 'export PATH="$HOME/.npm-global/bin:$PATH"' >> ~/.bashrc
827
827
  fi
828
- export PATH="\\$HOME/.npm-global/bin:\\$PATH"
828
+ export PATH="$HOME/.npm-global/bin:$PATH"
829
829
 
830
830
  # Install Claude Code CLI
831
831
  echo "Installing Claude Code..."
832
832
  curl -fsSL https://claude.ai/install.sh | bash || true
833
- if [ -f "\\$HOME/.local/bin/claude" ]; then
834
- if ! grep -q 'export PATH="\\$HOME/.local/bin:\\$PATH"' ~/.bashrc 2>/dev/null; then
835
- echo 'export PATH="\\$HOME/.local/bin:\\$PATH"' >> ~/.bashrc
833
+ if [ -f "$HOME/.local/bin/claude" ]; then
834
+ if ! grep -q 'export PATH="$HOME/.local/bin:$PATH"' ~/.bashrc 2>/dev/null; then
835
+ echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
836
836
  fi
837
- export PATH="\\$HOME/.local/bin:\\$PATH"
838
- elif [ -f "\\$HOME/.claude/bin/claude" ]; then
839
- if ! grep -q 'export PATH="\\$HOME/.claude/bin:\\$PATH"' ~/.bashrc 2>/dev/null; then
840
- echo 'export PATH="\\$HOME/.claude/bin:\\$PATH"' >> ~/.bashrc
837
+ export PATH="$HOME/.local/bin:$PATH"
838
+ elif [ -f "$HOME/.claude/bin/claude" ]; then
839
+ if ! grep -q 'export PATH="$HOME/.claude/bin:$PATH"' ~/.bashrc 2>/dev/null; then
840
+ echo 'export PATH="$HOME/.claude/bin:$PATH"' >> ~/.bashrc
841
841
  fi
842
- export PATH="\\$HOME/.claude/bin:\\$PATH"
842
+ export PATH="$HOME/.claude/bin:$PATH"
843
843
  fi
844
844
 
845
845
  # Clear any stale npm auth token (prevents E404 for public packages when token has expired)
@@ -871,7 +871,7 @@ export function newProjectPostStartShTemplate(projectName) {
871
871
 
872
872
  # Configure persistent shell history
873
873
  if [ -d /commandhistory ]; then
874
- sudo chown -R \\$(id -u):\\$(id -g) /commandhistory 2>/dev/null || true
874
+ sudo chown -R $(id -u):$(id -g) /commandhistory 2>/dev/null || true
875
875
  touch /commandhistory/.bash_history 2>/dev/null || true
876
876
  if ! grep -q "HISTFILE=/commandhistory/.bash_history" ~/.bashrc 2>/dev/null; then
877
877
  echo 'export HISTFILE=/commandhistory/.bash_history' >> ~/.bashrc
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@memnexus-ai/mx-agent-cli",
3
- "version": "0.1.95",
3
+ "version": "0.1.97",
4
4
  "description": "CLI for creating and managing AI agent teams",
5
5
  "type": "module",
6
6
  "bin": {