@appoly/multiagent-chat 1.0.1 → 1.0.3
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/README.md +16 -27
- package/main.js +14 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<a href="https://appoly.co.uk"><img src="appoly-logo-white-bg.png" alt="Appoly" height="50"></a>
|
|
3
|
+
|
|
4
|
+
<img src="robot.png" alt="Multi-Agent Chat" height="80">
|
|
5
|
+
</p>
|
|
6
|
+
|
|
1
7
|
# Multi-Agent Chat
|
|
2
8
|
|
|
3
9
|
An Electron app that enables multiple AI agents (Claude, Codex, etc.) to collaborate on challenges through a shared chat interface.
|
|
@@ -6,27 +12,21 @@ Uses your local installations of AI agents via command line. Bring your own API
|
|
|
6
12
|
|
|
7
13
|
## Installation
|
|
8
14
|
|
|
9
|
-
### Global Install (Recommended)
|
|
10
|
-
|
|
11
15
|
```bash
|
|
12
16
|
npm i -g @appoly/multiagent-chat
|
|
13
17
|
```
|
|
14
18
|
|
|
15
|
-
|
|
19
|
+
## Usage
|
|
20
|
+
|
|
21
|
+
Run in your project directory:
|
|
16
22
|
|
|
17
23
|
```bash
|
|
18
|
-
|
|
19
|
-
cd multiagent-chat
|
|
20
|
-
npm install
|
|
21
|
-
npm start
|
|
24
|
+
multiagent-chat
|
|
22
25
|
```
|
|
23
26
|
|
|
24
|
-
|
|
27
|
+
### Advanced
|
|
25
28
|
|
|
26
29
|
```bash
|
|
27
|
-
# Run in current directory (uses cwd as workspace)
|
|
28
|
-
multiagent-chat
|
|
29
|
-
|
|
30
30
|
# Specify workspace explicitly
|
|
31
31
|
multiagent-chat /path/to/project
|
|
32
32
|
multiagent-chat --workspace /path/to/project
|
|
@@ -76,24 +76,13 @@ You can override with a project-local config using `--config /path/to/config.yam
|
|
|
76
76
|
- **Node.js**: v18.x - v22.x (Node 23+ not yet supported due to native module compatibility)
|
|
77
77
|
- **AI CLI tools**: Claude Code, Codex, or other compatible agents installed separately
|
|
78
78
|
|
|
79
|
-
##
|
|
80
|
-
|
|
81
|
-
### Native Module Errors
|
|
82
|
-
|
|
83
|
-
If you encounter errors with native modules (node-pty), try rebuilding:
|
|
84
|
-
|
|
85
|
-
```bash
|
|
86
|
-
cd $(npm root -g)/@appoly/multiagent-chat
|
|
87
|
-
npx @electron/rebuild
|
|
88
|
-
```
|
|
89
|
-
|
|
90
|
-
### Node Version Issues
|
|
91
|
-
|
|
92
|
-
This package requires Node.js 18-22. If you're on Node 23+, use nvm to switch:
|
|
79
|
+
## Contributing
|
|
93
80
|
|
|
94
81
|
```bash
|
|
95
|
-
|
|
96
|
-
|
|
82
|
+
git clone https://github.com/appoly/multiagent-chat.git
|
|
83
|
+
cd multiagent-chat
|
|
84
|
+
npm install
|
|
85
|
+
npm start
|
|
97
86
|
```
|
|
98
87
|
|
|
99
88
|
## License
|
package/main.js
CHANGED
|
@@ -3,6 +3,20 @@ const { spawn, exec } = require('child_process');
|
|
|
3
3
|
const { promisify } = require('util');
|
|
4
4
|
const pty = require('node-pty');
|
|
5
5
|
const path = require('path');
|
|
6
|
+
|
|
7
|
+
// Diagnostic: Log node-pty module info for debugging ABI issues
|
|
8
|
+
// Enable with MULTIAGENT_PTY_DEBUG=1
|
|
9
|
+
if (process.env.MULTIAGENT_PTY_DEBUG) {
|
|
10
|
+
try {
|
|
11
|
+
const ptyPath = require.resolve('node-pty');
|
|
12
|
+
console.log('[node-pty] Module path:', ptyPath);
|
|
13
|
+
console.log('[node-pty] Node version:', process.version);
|
|
14
|
+
console.log('[node-pty] Electron version:', process.versions.electron || 'N/A');
|
|
15
|
+
console.log('[node-pty] ABI:', process.versions.modules);
|
|
16
|
+
} catch (e) {
|
|
17
|
+
console.warn('[node-pty] Could not resolve module path:', e.message);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
6
20
|
const fs = require('fs').promises;
|
|
7
21
|
const fsSync = require('fs');
|
|
8
22
|
const os = require('os');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@appoly/multiagent-chat",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "Multi-agent chat for collaborative AI discussions",
|
|
5
5
|
"main": "main.js",
|
|
6
6
|
"bin": {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
],
|
|
19
19
|
"scripts": {
|
|
20
20
|
"start": "electron .",
|
|
21
|
-
"
|
|
21
|
+
"postinstall": "npx @electron/rebuild@3.7.2 -w node-pty -f"
|
|
22
22
|
},
|
|
23
23
|
"keywords": [
|
|
24
24
|
"ai",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"url": "https://github.com/appoly/multiagent-chat/issues"
|
|
38
38
|
},
|
|
39
39
|
"engines": {
|
|
40
|
-
"node": ">=18.0.0
|
|
40
|
+
"node": ">=18.0.0"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@xterm/addon-fit": "^0.10.0",
|