network-ai 4.0.2 → 4.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 +1 -1
- package/SKILL.md +13 -11
- package/dist/lib/mcp-tools-control.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
[](https://github.com/jovanSAPFIONEER/Network-AI/actions/workflows/ci.yml)
|
|
6
6
|
[](https://github.com/jovanSAPFIONEER/Network-AI/actions/workflows/codeql.yml)
|
|
7
|
-
[](https://github.com/jovanSAPFIONEER/Network-AI/releases)
|
|
8
8
|
[](https://www.npmjs.com/package/network-ai)
|
|
9
9
|
[](https://clawhub.ai/skills/network-ai)
|
|
10
10
|
[](https://nodejs.org)
|
package/SKILL.md
CHANGED
|
@@ -130,7 +130,7 @@ python {baseDir}/scripts/blackboard.py write "task:001:final" \
|
|
|
130
130
|
|
|
131
131
|
- **Task Delegation**: Route work to specialized agents (data_analyst, strategy_advisor, risk_assessor)
|
|
132
132
|
- **Parallel Execution**: Run multiple agents simultaneously and synthesize results
|
|
133
|
-
- **Permission Wall**: Gate access to
|
|
133
|
+
- **Permission Wall**: Gate access to DATABASE, PAYMENTS, EMAIL, or FILE_EXPORT operations (abstract local resource types — no external credentials required)
|
|
134
134
|
- **Shared Blackboard**: Coordinate agent state via persistent markdown file
|
|
135
135
|
|
|
136
136
|
## Quick Start
|
|
@@ -170,7 +170,7 @@ Before accessing SAP or Financial APIs, evaluate the request:
|
|
|
170
170
|
# Run the permission checker script
|
|
171
171
|
python {baseDir}/scripts/check_permission.py \
|
|
172
172
|
--agent "data_analyst" \
|
|
173
|
-
--resource "
|
|
173
|
+
--resource "DATABASE" \
|
|
174
174
|
--justification "Need Q4 invoice data for quarterly report" \
|
|
175
175
|
--scope "read:invoices"
|
|
176
176
|
```
|
|
@@ -262,10 +262,12 @@ sessions_history data_analyst # Get the response
|
|
|
262
262
|
## Permission Wall (AuthGuardian)
|
|
263
263
|
|
|
264
264
|
**CRITICAL**: Always check permissions before accessing:
|
|
265
|
-
- `
|
|
266
|
-
- `
|
|
267
|
-
- `
|
|
268
|
-
- `
|
|
265
|
+
- `DATABASE` - Internal database / data store access
|
|
266
|
+
- `PAYMENTS` - Financial/payment data services
|
|
267
|
+
- `EMAIL` - Email sending capability
|
|
268
|
+
- `FILE_EXPORT` - Exporting data to local files
|
|
269
|
+
|
|
270
|
+
> **Note**: These are abstract local resource type names used by `check_permission.py`. No external API credentials are required or used — all permission evaluation runs locally.
|
|
269
271
|
|
|
270
272
|
### Permission Evaluation Criteria
|
|
271
273
|
|
|
@@ -281,7 +283,7 @@ sessions_history data_analyst # Get the response
|
|
|
281
283
|
# Request permission
|
|
282
284
|
python {baseDir}/scripts/check_permission.py \
|
|
283
285
|
--agent "your_agent_id" \
|
|
284
|
-
--resource "
|
|
286
|
+
--resource "PAYMENTS" \
|
|
285
287
|
--justification "Generating quarterly financial summary for board presentation" \
|
|
286
288
|
--scope "read:revenue,read:expenses"
|
|
287
289
|
|
|
@@ -300,10 +302,10 @@ python {baseDir}/scripts/check_permission.py \
|
|
|
300
302
|
|
|
301
303
|
| Resource | Default Restrictions |
|
|
302
304
|
|----------|---------------------|
|
|
303
|
-
|
|
|
304
|
-
|
|
|
305
|
-
|
|
|
306
|
-
|
|
|
305
|
+
| DATABASE | `read_only`, `max_records:100` |
|
|
306
|
+
| PAYMENTS | `read_only`, `no_pii_fields`, `audit_required` |
|
|
307
|
+
| EMAIL | `rate_limit:10_per_minute` |
|
|
308
|
+
| FILE_EXPORT | `anonymize_pii`, `local_only` |
|
|
307
309
|
|
|
308
310
|
## Shared Blackboard Pattern
|
|
309
311
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "network-ai",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.3",
|
|
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
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|