network-ai 4.13.1 → 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.1-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-1924%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)
@@ -98,6 +98,10 @@ Runs priority preemption, AuthGuardian permission gating, FSM governance, and co
98
98
  | ✅ Confidence filtering | Multi-agent result scoring, threshold validation, and consensus aggregation |
99
99
  | ✅ Matcher-based hooks | Glob patterns on agent/action/tool for targeted hook filtering |
100
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 |
101
105
  | ✅ TypeScript native | ES2022 strict mode, zero native dependencies |
102
106
 
103
107
  ---
@@ -391,9 +395,10 @@ npm run test:a2a # A2A protocol adapter
391
395
  npm run test:codex # Codex adapter
392
396
  npm run test:priority # Priority & preemption
393
397
  npm run test:cli # CLI layer
398
+ npm run test:phase9 # Agent runtime, console, strategy agent
394
399
  ```
395
400
 
396
- **1,924 passing assertions across 23 test suites** (`npm run test:all`):
401
+ **2,204 passing assertions across 24 test suites** (`npm run test:all`):
397
402
 
398
403
  | Suite | Assertions | Covers |
399
404
  |---|---|---|
@@ -419,6 +424,7 @@ npm run test:cli # CLI layer
419
424
  | `test-qa.ts` | 67 | QA orchestrator: scenarios, feedback loop, regression, contradictions |
420
425
  | `test-phase7.ts` | 94 | Deferred init, hook middleware, flow control, skill composer, semantic search |
421
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 |
422
428
 
423
429
  ---
424
430
 
package/SKILL.md CHANGED
@@ -498,7 +498,7 @@ 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.13.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.
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
502
 
503
503
  ### Example Parallel Workflow
504
504