rird-ai 2.3.8 → 2.3.9

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/package.json +12 -12
  2. package/postinstall.mjs +13 -12
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rird-ai",
3
- "version": "2.3.8",
3
+ "version": "2.3.9",
4
4
  "description": "RIRD - Computer Use Agent for work automation",
5
5
  "bin": {
6
6
  "rird": "./bin/rird"
@@ -9,17 +9,17 @@
9
9
  "postinstall": "node ./postinstall.mjs"
10
10
  },
11
11
  "optionalDependencies": {
12
- "rird-darwin-arm64": "2.3.8",
13
- "rird-darwin-x64": "2.3.8",
14
- "rird-darwin-x64-baseline": "2.3.8",
15
- "rird-linux-arm64": "2.3.8",
16
- "rird-linux-arm64-musl": "2.3.8",
17
- "rird-linux-x64": "2.3.8",
18
- "rird-linux-x64-baseline": "2.3.8",
19
- "rird-linux-x64-baseline-musl": "2.3.8",
20
- "rird-linux-x64-musl": "2.3.8",
21
- "rird-windows-x64": "2.3.8",
22
- "rird-windows-x64-baseline": "2.3.8"
12
+ "rird-darwin-arm64": "2.3.9",
13
+ "rird-darwin-x64": "2.3.9",
14
+ "rird-darwin-x64-baseline": "2.3.9",
15
+ "rird-linux-arm64": "2.3.9",
16
+ "rird-linux-arm64-musl": "2.3.9",
17
+ "rird-linux-x64": "2.3.9",
18
+ "rird-linux-x64-baseline": "2.3.9",
19
+ "rird-linux-x64-baseline-musl": "2.3.9",
20
+ "rird-linux-x64-musl": "2.3.9",
21
+ "rird-windows-x64": "2.3.9",
22
+ "rird-windows-x64-baseline": "2.3.9"
23
23
  },
24
24
  "repository": {
25
25
  "type": "git",
package/postinstall.mjs CHANGED
@@ -19,7 +19,7 @@ const RIRD_HOME = process.env.RIRD_HOME || path.join(os.homedir(), ".rird")
19
19
  const BIN_DIR = path.join(RIRD_HOME, "bin")
20
20
  const ENGINE_DIR = path.join(RIRD_HOME, "engine")
21
21
  const VENV_DIR = path.join(RIRD_HOME, "venv")
22
- const MCP_DIR = path.join(ENGINE_DIR, "chrome-browser-mcp")
22
+ const MCP_DIR = path.join(ENGINE_DIR, "stealth-browser-mcp")
23
23
 
24
24
  // Installation mode: A = Browser + Files, B = Full Computer Use
25
25
  const INSTALL_MODE = process.env.RIRD_MODE || "A"
@@ -115,14 +115,14 @@ function installPythonDeps(pipCmd) {
115
115
  }
116
116
  }
117
117
 
118
- // Clone browser MCP (Chrome)
119
- function cloneChromeBrowserMcp() {
118
+ // Clone browser MCP (Stealth)
119
+ function cloneStealthBrowserMcp() {
120
120
  if (fs.existsSync(MCP_DIR)) {
121
- log("Chrome browser integration already installed")
121
+ log("Browser automation already installed")
122
122
  return true
123
123
  }
124
124
 
125
- log("Installing Chrome browser integration...")
125
+ log("Installing browser automation...")
126
126
 
127
127
  // Try git clone - use spawnSync for better cross-platform path handling
128
128
  if (execSafe("git --version")) {
@@ -133,7 +133,7 @@ function cloneChromeBrowserMcp() {
133
133
  shell: isWindows
134
134
  })
135
135
  if (result.status === 0 || fs.existsSync(MCP_DIR)) {
136
- log("Chrome browser integration installed")
136
+ log("Browser automation installed")
137
137
  return true
138
138
  }
139
139
  } catch (e) {
@@ -146,8 +146,8 @@ function cloneChromeBrowserMcp() {
146
146
  // Create placeholder for now
147
147
  fs.mkdirSync(path.join(MCP_DIR, "src"), { recursive: true })
148
148
  fs.writeFileSync(path.join(MCP_DIR, "src", "server.py"), `#!/usr/bin/env python3
149
- # Placeholder - install the Chrome browser integration repo into ~/.rird/engine/chrome-browser-mcp
150
- print("Chrome browser integration not installed. Install Git and re-run setup.")
149
+ # Placeholder - install the browser automation repo into ~/.rird/engine/stealth-browser-mcp
150
+ print("Browser automation not installed. Install Git and re-run setup.")
151
151
  `)
152
152
  return false
153
153
  }
@@ -281,7 +281,7 @@ function createConfig(pythonCmd) {
281
281
  log(`Creating config (Mode ${INSTALL_MODE})...`)
282
282
 
283
283
  const mcpConfig = {
284
- "chrome-browser": {
284
+ "stealth-browser": {
285
285
  type: "local",
286
286
  command: [pythonCmd, path.join(MCP_DIR, "src", "server.py"), "--minimal"],
287
287
  environment: {
@@ -289,7 +289,8 @@ function createConfig(pythonCmd) {
289
289
  PYTHONPATH: path.join(MCP_DIR, "src"),
290
290
  RIRD_PROXIES: "${ROYAL_PROXY}"
291
291
  },
292
- timeout: 30000
292
+ timeout: 30000,
293
+ enabled: true
293
294
  }
294
295
  }
295
296
 
@@ -541,8 +542,8 @@ async function main() {
541
542
  }
542
543
  }
543
544
 
544
- // Install browser MCP (Chrome)
545
- cloneChromeBrowserMcp()
545
+ // Install browser MCP (Stealth)
546
+ cloneStealthBrowserMcp()
546
547
 
547
548
  // Create license validator
548
549
  createLicenseValidator()