agent-nuvira 1.23.0 → 1.25.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.
Files changed (2) hide show
  1. package/README.md +23 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1384,6 +1384,15 @@ npx tsc --noEmit
1384
1384
  | 5.3 | Follow-up suggestions — LLM-powered contextual next-step recommendations | ✅ Complete |
1385
1385
  | 5.4 | /fix command — retry last failed goal with failure context | ✅ Complete |
1386
1386
  | 5.5 | Test coverage — 1830+ tests across 55 test files | ✅ Complete |
1387
+ | **Phase 6: Architecture Migration** | | |
1388
+ | 6.1 | RecoverModule — extracted from ErrorRepairEngine with RepairBudget | ✅ Complete (v1.18.0) |
1389
+ | 6.2 | ModuleRegistry — plugin-based agent loading replacing createAgent() | ✅ Complete (v1.18.0) |
1390
+ | 6.3 | EventBus — structured observability with 37+ typed events | ✅ Complete (v1.19.0) |
1391
+ | 6.4 | ReportModule — 4 output formats (text/JSON/MD/GHA) | ✅ Complete (v1.20.0) |
1392
+ | 6.5 | InspectModule — keyword + LLM codebase scanning | ✅ Complete (v1.20.0) |
1393
+ | 6.6 | VerifyModule — security scan + explicit verification pipeline | ✅ Complete (v1.21.0) |
1394
+ | 6.7 | PlanModule + EditModule — goal decomposition + file change generation | ✅ Complete (v1.22.0) |
1395
+ | 6.8 | ExecuteModule + TestModule — command execution + sandboxed testing | ✅ Complete (v1.23.0) |
1387
1396
 
1388
1397
  ---
1389
1398
 
@@ -1492,6 +1501,20 @@ npx tsc --noEmit
1492
1501
  | **/fix Command** | Retry last failed goal with failure context |
1493
1502
  | **Graceful Error Recovery** | Rate-limit handling, auth failures, and network error recovery |
1494
1503
 
1504
+ ### Phase 6: Architecture Migration — Modular Plugin Architecture
1505
+ | Feature | Description |
1506
+ |---------|-------------|
1507
+ | **RecoverModule (Phase 1)** | Extracted from ErrorRepairEngine — discriminated union strategies + RepairBudget (3 attempts with exponential backoff) |
1508
+ | **ModuleRegistry (Phase 2)** | Plugin-based agent loading — 14 built-in agent modules, `register()` / `load()` / `unload()` lifecycle, EventBus integration |
1509
+ | **EventBus (Phase 3)** | Structured observability — 37+ typed events, 4 built-in consumers (Logger, Metrics, Audit, MetricsBuffer), typed event schema |
1510
+ | **ReportModule (Phase 4)** | 4 output formats (markdown, JSON, summary, verbose) — extractable from buildResult() |
1511
+ | **InspectModule (Phase 5)** | Keyword scanning + LLM-based file classification — ContextGatherer wrapper with depth-limited walk, .buffignore support |
1512
+ | **VerifyModule (Phase 6)** | 4 check types (security, goal-alignment, tests, code-quality) — configurable strictness (low/medium/high), pass/fail scoring |
1513
+ | **PlanModule (Phase 7)** | Goal decomposition — 3 JSON parsing strategies, step normalization, fallback plan, EventBus events |
1514
+ | **EditModule (Phase 7)** | File change generation — AST syntax validation, token-budget-aware file selection, 2-attempt retry loop, model-switch support |
1515
+ | **ExecuteModule (Phase 8)** | Command execution — 5-strategy command inference (backtick, Run prefix, npm patterns, file extension), npm test validation |
1516
+ | **TestModule (Phase 8)** | Sandboxed test execution — temp directory, multi-framework output parsing (vitest, jest, generic), EventBus events |
1517
+
1495
1518
  ### Agent Catalog — 15 Agent Roles & Management
1496
1519
  | Agent/Component | Type | Description |
1497
1520
  |-----------------|------|-------------|
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-nuvira",
3
- "version": "1.23.0",
3
+ "version": "1.25.0",
4
4
  "description": "Agent-Nuvira: Multi-agent AI coding CLI — plan, write, review, test, and publish code with local models (Ollama) or cloud APIs (Groq, NVIDIA NIM, Google Gemini, OpenRouter)",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",