@kiran_nandi_123/conxa 1.0.2 → 1.0.4

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/lib/cli.js CHANGED
@@ -103,6 +103,11 @@ function updateGlobalClaudeMd(reg) {
103
103
  "2. Collect any required inputs from the user's message (or ask once if missing)",
104
104
  "3. Call execute_plan immediately — do not explain, do not confirm",
105
105
  "",
106
+ "## Installing New Plugins",
107
+ "If the user asks to install a new conxa plugin (e.g. 'install the Vercel plugin'):",
108
+ "- Call the install_plugin MCP tool with the plugin ref (e.g. 'cannonboldoff-hue/vercel')",
109
+ "- No terminal or command needed — the MCP tool handles everything",
110
+ "",
106
111
  "## Installed Plugins",
107
112
  pluginLines,
108
113
  "",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kiran_nandi_123/conxa",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "Conxa CLI — install and manage shared-runtime automation plugins",
5
5
  "license": "MIT",
6
6
  "bin": {
@@ -14,12 +14,26 @@ if ! command -v node &>/dev/null; then
14
14
  if command -v brew &>/dev/null; then
15
15
  brew install node
16
16
  else
17
- echo "[conxa] Homebrew not found. Install it first: https://brew.sh"
18
- exit 1
17
+ NODE_VER="20.18.0"
18
+ echo "[conxa] Downloading Node.js ${NODE_VER}..."
19
+ curl -fsSL "https://nodejs.org/dist/v${NODE_VER}/node-v${NODE_VER}.pkg" -o /tmp/_conxa_node.pkg
20
+ sudo installer -pkg /tmp/_conxa_node.pkg -target /
21
+ rm -f /tmp/_conxa_node.pkg
19
22
  fi
20
- else
23
+ elif command -v apt-get &>/dev/null; then
21
24
  curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash -
22
25
  sudo apt-get install -y nodejs
26
+ elif command -v yum &>/dev/null; then
27
+ curl -fsSL https://rpm.nodesource.com/setup_lts.x | sudo bash -
28
+ sudo yum install -y nodejs
29
+ else
30
+ NODE_VER="20.18.0"
31
+ ARCH=$(uname -m)
32
+ [[ "$ARCH" == "x86_64" ]] && ARCH="x64"
33
+ [[ "$ARCH" == "aarch64" ]] && ARCH="arm64"
34
+ echo "[conxa] Downloading Node.js binary..."
35
+ curl -fsSL "https://nodejs.org/dist/v${NODE_VER}/node-v${NODE_VER}-linux-${ARCH}.tar.xz" \
36
+ | sudo tar -xJ -C /usr/local --strip-components=1
23
37
  fi
24
38
  fi
25
39