openrune 0.1.1 → 0.1.2

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/rune.js +10 -1
  2. package/package.json +2 -1
package/bin/rune.js CHANGED
@@ -54,7 +54,16 @@ function install() {
54
54
  process.exit(1)
55
55
  }
56
56
 
57
- // 2. Store project path for later use
57
+ // 2. Rebuild native modules for Electron (node-pty)
58
+ console.log(' Rebuilding native modules for Electron...')
59
+ try {
60
+ execSync('npx electron-rebuild -m .', { cwd: projectRoot, stdio: 'inherit' })
61
+ console.log(' ✅ Native modules rebuilt')
62
+ } catch (e) {
63
+ console.error(' ⚠️ electron-rebuild failed (terminal may not work)')
64
+ }
65
+
66
+ // 3. Store project path for later use
58
67
  fs.writeFileSync(path.join(RUNE_HOME, 'project-path'), projectRoot)
59
68
  console.log(` ✅ App built at ${projectRoot}`)
60
69
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openrune",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Rune — File-based AI Agent Desktop App",
5
5
  "keywords": ["ai", "agent", "claude", "desktop", "electron", "mcp", "claude-code"],
6
6
  "repository": {
@@ -33,6 +33,7 @@
33
33
  "typescript": "^5.7.0"
34
34
  },
35
35
  "dependencies": {
36
+ "@electron/rebuild": "^3.7.1",
36
37
  "@modelcontextprotocol/sdk": "^1.27.1",
37
38
  "@tailwindcss/vite": "^4.2.2",
38
39
  "@vitejs/plugin-react": "^6.0.1",