network-ai 4.0.12 → 4.0.14
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/QUICKSTART.md +170 -0
- package/README.md +120 -1031
- package/SKILL.md +4 -4
- package/bin/mcp-server.ts +3 -3
- package/dist/bin/mcp-server.d.ts +1 -1
- package/dist/bin/mcp-server.js +3 -3
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/lib/mcp-transport-sse.js +1 -1
- package/package.json +1 -1
package/SKILL.md
CHANGED
|
@@ -13,13 +13,13 @@ metadata:
|
|
|
13
13
|
env:
|
|
14
14
|
SWARM_TOKEN_SECRET:
|
|
15
15
|
required: false
|
|
16
|
-
description: "
|
|
16
|
+
description: "Node.js MCP server only — not used by these Python scripts. The Python permission layer uses UUID-based tokens stored in data/active_grants.json."
|
|
17
17
|
SWARM_ENCRYPTION_KEY:
|
|
18
18
|
required: false
|
|
19
|
-
description: "
|
|
19
|
+
description: "Node.js MCP server only — not used by these Python scripts. The Python blackboard does not encrypt data at rest."
|
|
20
20
|
OPENAI_API_KEY:
|
|
21
21
|
required: false
|
|
22
|
-
description: "
|
|
22
|
+
description: "Not used by these Python scripts. Only used by the optional Node.js demo examples when running the companion npm package."
|
|
23
23
|
privacy:
|
|
24
24
|
audit_log:
|
|
25
25
|
path: data/audit_log.jsonl
|
|
@@ -29,7 +29,7 @@ metadata:
|
|
|
29
29
|
|
|
30
30
|
# Swarm Orchestrator Skill
|
|
31
31
|
|
|
32
|
-
> **Scope of this skill bundle:** All instructions below run local Python scripts (`scripts/*.py`). No network calls are made by this skill.
|
|
32
|
+
> **Scope of this skill bundle:** All instructions below run local Python scripts (`scripts/*.py`). No network calls are made by this skill. Tokens are UUID-based (`grant_{uuid4().hex}`) stored in `data/active_grants.json`. Audit logging is plain JSONL (`data/audit_log.jsonl`) — no HMAC signing in the Python layer. HMAC-signed tokens, AES-256 encryption, and the standalone MCP server are all features of the **companion Node.js package** (`npm install -g network-ai`) — they are **not** implemented in these Python scripts and do **not** run automatically.
|
|
33
33
|
|
|
34
34
|
Multi-agent coordination system for complex workflows requiring task delegation, parallel execution, and permission-controlled access to sensitive APIs.
|
|
35
35
|
|
package/bin/mcp-server.ts
CHANGED
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
* http://localhost:3001/tools (list all tools)
|
|
30
30
|
*
|
|
31
31
|
* @module bin/mcp-server
|
|
32
|
-
* @version 4.0.
|
|
32
|
+
* @version 4.0.13
|
|
33
33
|
*/
|
|
34
34
|
|
|
35
35
|
import {
|
|
@@ -106,7 +106,7 @@ function parseArgs(argv: string[]): ServerArgs {
|
|
|
106
106
|
|
|
107
107
|
function printHelp(): void {
|
|
108
108
|
console.log(`
|
|
109
|
-
network-ai-server — Network-AI MCP Server v4.0.
|
|
109
|
+
network-ai-server — Network-AI MCP Server v4.0.13
|
|
110
110
|
|
|
111
111
|
Usage: npx ts-node bin/mcp-server.ts [options]
|
|
112
112
|
|
|
@@ -144,7 +144,7 @@ async function main(): Promise<void> {
|
|
|
144
144
|
process.exit(0);
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
console.log(`\n[network-ai-server] Starting MCP Server v4.0.
|
|
147
|
+
console.log(`\n[network-ai-server] Starting MCP Server v4.0.13`);
|
|
148
148
|
console.log(`[network-ai-server] Board: ${args.board} | Port: ${args.port}`);
|
|
149
149
|
|
|
150
150
|
// --------------------------------------------------------------------------
|
package/dist/bin/mcp-server.d.ts
CHANGED
package/dist/bin/mcp-server.js
CHANGED
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
* http://localhost:3001/tools (list all tools)
|
|
31
31
|
*
|
|
32
32
|
* @module bin/mcp-server
|
|
33
|
-
* @version 4.0.
|
|
33
|
+
* @version 4.0.13
|
|
34
34
|
*/
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
36
|
const index_1 = require("../index");
|
|
@@ -106,7 +106,7 @@ function parseArgs(argv) {
|
|
|
106
106
|
}
|
|
107
107
|
function printHelp() {
|
|
108
108
|
console.log(`
|
|
109
|
-
network-ai-server — Network-AI MCP Server v4.0.
|
|
109
|
+
network-ai-server — Network-AI MCP Server v4.0.13
|
|
110
110
|
|
|
111
111
|
Usage: npx ts-node bin/mcp-server.ts [options]
|
|
112
112
|
|
|
@@ -140,7 +140,7 @@ async function main() {
|
|
|
140
140
|
printHelp();
|
|
141
141
|
process.exit(0);
|
|
142
142
|
}
|
|
143
|
-
console.log(`\n[network-ai-server] Starting MCP Server v4.0.
|
|
143
|
+
console.log(`\n[network-ai-server] Starting MCP Server v4.0.13`);
|
|
144
144
|
console.log(`[network-ai-server] Board: ${args.board} | Port: ${args.port}`);
|
|
145
145
|
// --------------------------------------------------------------------------
|
|
146
146
|
// 1. Create orchestrator + blackboard
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -125,7 +125,7 @@ class McpCombinedBridge {
|
|
|
125
125
|
return this._ok(id, {
|
|
126
126
|
protocolVersion: '2024-11-05',
|
|
127
127
|
capabilities: { tools: {} },
|
|
128
|
-
serverInfo: { name: this.name ?? 'network-ai', version: '4.0.
|
|
128
|
+
serverInfo: { name: this.name ?? 'network-ai', version: '4.0.13' },
|
|
129
129
|
});
|
|
130
130
|
// Client signals it's ready — notification (no response needed, but
|
|
131
131
|
// some clients send it as a request with an id)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "network-ai",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.14",
|
|
4
4
|
"description": "AI agent orchestration framework for TypeScript/Node.js - plug-and-play multi-agent coordination with 12 frameworks (LangChain, AutoGen, CrewAI, OpenAI Assistants, LlamaIndex, Semantic Kernel, Haystack, DSPy, Agno, MCP, OpenClaw). Built-in security, swarm intelligence, and agentic workflow patterns.",
|
|
5
5
|
"homepage": "https://github.com/jovanSAPFIONEER/Network-AI#readme",
|
|
6
6
|
"main": "dist/index.js",
|