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 CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  [![CI](https://github.com/jovanSAPFIONEER/Network-AI/actions/workflows/ci.yml/badge.svg)](https://github.com/jovanSAPFIONEER/Network-AI/actions/workflows/ci.yml)
6
6
  [![CodeQL](https://github.com/jovanSAPFIONEER/Network-AI/actions/workflows/codeql.yml/badge.svg)](https://github.com/jovanSAPFIONEER/Network-AI/actions/workflows/codeql.yml)
7
- [![Release](https://img.shields.io/badge/release-v4.0.2-blue.svg)](https://github.com/jovanSAPFIONEER/Network-AI/releases)
7
+ [![Release](https://img.shields.io/badge/release-v4.0.3-blue.svg)](https://github.com/jovanSAPFIONEER/Network-AI/releases)
8
8
  [![npm](https://img.shields.io/npm/dw/network-ai.svg?label=npm%20downloads)](https://www.npmjs.com/package/network-ai)
9
9
  [![ClawHub](https://img.shields.io/badge/ClawHub-network--ai-orange.svg)](https://clawhub.ai/skills/network-ai)
10
10
  [![Node.js](https://img.shields.io/badge/node-%3E%3D18.0.0-brightgreen.svg)](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 SAP_API, FINANCIAL_API, or DATA_EXPORT operations
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 "SAP_API" \
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
- - `SAP_API` - SAP system connections
266
- - `FINANCIAL_API` - Financial data services
267
- - `EXTERNAL_SERVICE` - Third-party APIs
268
- - `DATA_EXPORT` - Exporting sensitive data
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 "FINANCIAL_API" \
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
- | SAP_API | `read_only`, `max_records:100` |
304
- | FINANCIAL_API | `read_only`, `no_pii_fields`, `audit_required` |
305
- | EXTERNAL_SERVICE | `rate_limit:10_per_minute` |
306
- | DATA_EXPORT | `anonymize_pii`, `local_only` |
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
 
@@ -358,7 +358,7 @@ class ControlMcpTools {
358
358
  ok: true,
359
359
  tool: 'orchestrator_info',
360
360
  data: {
361
- version: '4.0.2',
361
+ version: '4.0.3',
362
362
  config: snapshot,
363
363
  agents: {
364
364
  registered: this._agentRegistry?.size ?? 0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "network-ai",
3
- "version": "4.0.2",
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",