network-ai 4.13.0 → 4.14.0

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.
@@ -409,7 +409,7 @@ Run these before declaring the integration production-ready:
409
409
  - [ ] `npx ts-node test-phase4.ts` — 147 behavioral tests pass
410
410
  - [ ] `npx ts-node test-qa.ts` — 67 QA orchestrator tests pass
411
411
  - [ ] `npx ts-node test-phase7.ts` — 94 Phase 7 tests pass (hooks, flow control, composer, semantic search)
412
- - [ ] `npm run test:all` — all 1,924 tests pass across 23 suites
412
+ - [ ] `npm run test:all` — all 2,204 tests pass across 24 suites
413
413
  - [ ] `npm run demo -- --08` runs to completion in < 10 seconds
414
414
 
415
415
  ### Race Condition Safety
@@ -477,4 +477,4 @@ Run these before declaring the integration production-ready:
477
477
 
478
478
  ---
479
479
 
480
- *Network-AI v4.0.6 · MIT License · https://github.com/Jovancoding/Network-AI*
480
+ *Network-AI v4.14.0 · MIT License · https://github.com/Jovancoding/Network-AI*
package/QUICKSTART.md CHANGED
@@ -405,6 +405,15 @@ npx ts-node run.ts
405
405
  # Run tests
406
406
  npm test
407
407
  npm run test:all
408
+
409
+ # Interactive console (TUI dashboard)
410
+ npx network-ai-console
411
+
412
+ # Pipe mode for AI-driven control (JSON stdin/stdout)
413
+ npx network-ai-console --pipe
414
+
415
+ # Console with custom settings
416
+ npx network-ai-console --base-path ./workspace --budget 50000 --allow "npm *,git status"
408
417
  ```
409
418
 
410
419
  To persist `OPENAI_API_KEY` across sessions, add it to your PowerShell profile or set it via *System Properties → Environment Variables*.
package/README.md CHANGED
@@ -5,9 +5,9 @@
5
5
  [![Website](https://img.shields.io/badge/website-network--ai.org-4b9df2?style=flat&logo=web&logoColor=white)](https://network-ai.org/)
6
6
  [![CI](https://github.com/Jovancoding/Network-AI/actions/workflows/ci.yml/badge.svg)](https://github.com/Jovancoding/Network-AI/actions/workflows/ci.yml)
7
7
  [![CodeQL](https://github.com/Jovancoding/Network-AI/actions/workflows/codeql.yml/badge.svg)](https://github.com/Jovancoding/Network-AI/actions/workflows/codeql.yml)
8
- [![Release](https://img.shields.io/badge/release-v4.13.0-blue.svg)](https://github.com/Jovancoding/Network-AI/releases)
8
+ [![Release](https://img.shields.io/badge/release-v4.14.0-blue.svg)](https://github.com/Jovancoding/Network-AI/releases)
9
9
  [![npm](https://img.shields.io/npm/dw/network-ai.svg?label=npm%20downloads)](https://www.npmjs.com/package/network-ai)
10
- [![Tests](https://img.shields.io/badge/tests-1778%20passing-brightgreen.svg)](#testing)
10
+ [![Tests](https://img.shields.io/badge/tests-2204%20passing-brightgreen.svg)](#testing)
11
11
  [![Adapters](https://img.shields.io/badge/frameworks-17%20supported-blueviolet.svg)](#adapter-system)
12
12
  [![License](https://img.shields.io/badge/license-MIT-brightgreen.svg)](LICENSE)
13
13
  [![Socket](https://socket.dev/api/badge/npm/package/network-ai)](https://socket.dev/npm/package/network-ai/overview)
@@ -94,6 +94,14 @@ Runs priority preemption, AuthGuardian permission gating, FSM governance, and co
94
94
  | ✅ Flow control | Pause / resume / throttle writes on the blackboard |
95
95
  | ✅ Skill composition | `chain()` / `batch()` / `loop()` / `verify()` meta-operations over agent calls |
96
96
  | ✅ Semantic memory search | BYOE vector store with cosine similarity over blackboard data |
97
+ | ✅ Phase pipeline | Multi-phase workflows with human-in-the-loop approval gates |
98
+ | ✅ Confidence filtering | Multi-agent result scoring, threshold validation, and consensus aggregation |
99
+ | ✅ Matcher-based hooks | Glob patterns on agent/action/tool for targeted hook filtering |
100
+ | ✅ Fan-out / fan-in | Parallel agent spawning with pluggable aggregation strategies |
101
+ | ✅ Agent runtime sandbox | Sandboxed shell execution with policy enforcement and approval gates |
102
+ | ✅ Interactive console | TUI dashboard for live monitoring, agent control, blackboard/budget/FSM management |
103
+ | ✅ Pipe mode | JSON stdin/stdout protocol for programmatic AI-to-orchestrator control |
104
+ | ✅ Strategy agent | Meta-orchestrator with elastic agent pools, workload partitioning, and adaptive scaling |
97
105
  | ✅ TypeScript native | ES2022 strict mode, zero native dependencies |
98
106
 
99
107
  ---
@@ -387,9 +395,10 @@ npm run test:a2a # A2A protocol adapter
387
395
  npm run test:codex # Codex adapter
388
396
  npm run test:priority # Priority & preemption
389
397
  npm run test:cli # CLI layer
398
+ npm run test:phase9 # Agent runtime, console, strategy agent
390
399
  ```
391
400
 
392
- **1,778 passing assertions across 22 test suites** (`npm run test:all`):
401
+ **2,204 passing assertions across 24 test suites** (`npm run test:all`):
393
402
 
394
403
  | Suite | Assertions | Covers |
395
404
  |---|---|---|
@@ -414,6 +423,8 @@ npm run test:cli # CLI layer
414
423
  | `test-cli.ts` | 65 | CLI layer: bb, auth, budget, audit commands |
415
424
  | `test-qa.ts` | 67 | QA orchestrator: scenarios, feedback loop, regression, contradictions |
416
425
  | `test-phase7.ts` | 94 | Deferred init, hook middleware, flow control, skill composer, semantic search |
426
+ | `test-phase8.ts` | 146 | Phase pipeline, confidence filter, matcher-based hooks, fan-out/fan-in |
427
+ | `test-phase9.ts` | 280 | Agent runtime, sandbox policy, shell executor, file accessor, approval gate, console UI, orchestrator wiring, pipe mode, strategy agent |
417
428
 
418
429
  ---
419
430
 
package/SKILL.md CHANGED
@@ -498,6 +498,8 @@ Use for redundancy - take first successful result.
498
498
  ### Strategy 4: Chain
499
499
  Sequential processing - output of one feeds into next.
500
500
 
501
+ > **TypeScript engine (v4.14.0):** These strategies map directly to the `FanOutFanIn` module (`lib/fan-out.ts`) which provides `merge`, `vote`, `firstSuccess`, and `consensus` fan-in strategies with concurrency control. For multi-phase workflows with approval gates, see `PhasePipeline` (`lib/phase-pipeline.ts`). For result scoring and threshold filtering, see `ConfidenceFilter` (`lib/confidence-filter.ts`). Matcher-based hooks (`lib/adapter-hooks.ts`) can target specific agents or tools via glob patterns. For sandboxed agent execution, see `AgentRuntime` (`lib/agent-runtime.ts`). For large-scale agent coordination, see `StrategyAgent` (`lib/strategy-agent.ts`).
502
+
501
503
  ### Example Parallel Workflow
502
504
 
503
505
  > **Platform note:** `sessions_send` and `sessions_history` are **OpenClaw host platform built-ins**, not provided by this skill. This skill provides only the `swarm_guard.py` budget/handoff check that runs before each delegation.