let-them-talk 4.0.1 → 4.0.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.
package/cli.js CHANGED
@@ -9,7 +9,7 @@ const command = process.argv[2];
9
9
 
10
10
  function printUsage() {
11
11
  console.log(`
12
- Let Them Talk — Agent Bridge v4.0.1
12
+ Let Them Talk — Agent Bridge v4.0.2
13
13
  MCP message broker for inter-agent communication
14
14
  Supports: Claude Code, Gemini CLI, Codex CLI, Ollama
15
15
 
package/dashboard.html CHANGED
@@ -11,8 +11,8 @@
11
11
  <script type="importmap">
12
12
  {
13
13
  "imports": {
14
- "three": "https://unpkg.com/three@0.170.0/build/three.module.js",
15
- "three/addons/": "https://unpkg.com/three@0.170.0/examples/jsm/"
14
+ "three": "/lib/three/build/three.module.js",
15
+ "three/addons/": "/lib/three/examples/jsm/"
16
16
  }
17
17
  }
18
18
  </script>
package/dashboard.js CHANGED
@@ -1388,15 +1388,20 @@ const server = http.createServer(async (req, res) => {
1388
1388
  if (libPath.includes('..') || libPath.includes('\\')) {
1389
1389
  res.writeHead(400); res.end('Bad path'); return;
1390
1390
  }
1391
- const filePath = path.join(__dirname, '..', 'node_modules', libPath);
1392
- if (fs.existsSync(filePath)) {
1391
+ // Search multiple node_modules locations (handles npx, local dev, monorepo)
1392
+ const searchPaths = [
1393
+ path.join(__dirname, 'node_modules', libPath), // inside agent-bridge (npx installs deps here)
1394
+ path.join(__dirname, '..', 'node_modules', libPath), // repo root (local dev)
1395
+ ];
1396
+ const filePath = searchPaths.find(p => fs.existsSync(p));
1397
+ if (filePath) {
1393
1398
  const ext = path.extname(filePath);
1394
1399
  const mimeTypes = { '.js': 'application/javascript', '.mjs': 'application/javascript', '.json': 'application/json', '.wasm': 'application/wasm' };
1395
1400
  const contentType = mimeTypes[ext] || 'application/octet-stream';
1396
1401
  res.writeHead(200, { 'Content-Type': contentType, 'Cache-Control': 'public, max-age=604800' });
1397
1402
  res.end(fs.readFileSync(filePath));
1398
1403
  } else {
1399
- res.writeHead(404); res.end('Not found');
1404
+ res.writeHead(404); res.end('Not found: ' + libPath);
1400
1405
  }
1401
1406
  return;
1402
1407
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "let-them-talk",
3
- "version": "4.0.1",
3
+ "version": "4.0.2",
4
4
  "description": "MCP message broker + web dashboard for inter-agent communication. Let AI CLI agents talk to each other.",
5
5
  "main": "server.js",
6
6
  "bin": {
@@ -53,6 +53,7 @@
53
53
  "author": "Dekelelz <contact@talk.unrealai.studio>",
54
54
  "license": "SEE LICENSE IN LICENSE",
55
55
  "dependencies": {
56
- "@modelcontextprotocol/sdk": "1.27.1"
56
+ "@modelcontextprotocol/sdk": "1.27.1",
57
+ "three": "0.170.0"
57
58
  }
58
59
  }
package/server.js CHANGED
@@ -3368,7 +3368,7 @@ function toolSuggestTask() {
3368
3368
  // --- MCP Server setup ---
3369
3369
 
3370
3370
  const server = new Server(
3371
- { name: 'agent-bridge', version: '4.0.1' },
3371
+ { name: 'agent-bridge', version: '4.0.2' },
3372
3372
  { capabilities: { tools: {} } }
3373
3373
  );
3374
3374