anvil-engineering-workbench 1.0.2 → 1.0.5
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/CHANGELOG.md +33 -0
- package/LICENSE +17 -17
- package/README.md +793 -778
- package/dist/cli.js +298 -185
- package/dist/cli.js.map +1 -1
- package/dist/core/agent-config-release.js +1 -1
- package/dist/core/agent-config-versioning.js +1 -1
- package/dist/core/agent-evaluation-intelligence.js +1 -1
- package/dist/core/agent-evolution.js +1 -1
- package/dist/core/agent-experiment-studio.js +2 -2
- package/dist/core/agent-optimization.js +1 -1
- package/dist/core/agent-security-audit.js +1 -1
- package/dist/core/architecture-map.js +181 -20
- package/dist/core/architecture-map.js.map +1 -1
- package/dist/core/benchmark-engine.js +1 -1
- package/dist/core/benchmark-matrix.js +1 -1
- package/dist/core/benchmark-regression.js +1 -1
- package/dist/core/change-intelligence.js +1 -1
- package/dist/core/code-intelligence.js +1 -1
- package/dist/core/code-review.js +1 -1
- package/dist/core/dashboard-server.js +1809 -393
- package/dist/core/dashboard-server.js.map +1 -1
- package/dist/core/dependency-impact.js +1 -1
- package/dist/core/dependency-intelligence.js +1 -1
- package/dist/core/doctor.d.ts +6 -0
- package/dist/core/doctor.js +175 -19
- package/dist/core/doctor.js.map +1 -1
- package/dist/core/engineering-risk.js +3 -3
- package/dist/core/git-intelligence.js +1 -1
- package/dist/core/intelligence-timeline.js +1 -1
- package/dist/core/patch-validation.js +1 -1
- package/dist/core/project-cleaner.d.ts +78 -0
- package/dist/core/project-cleaner.js +847 -0
- package/dist/core/project-cleaner.js.map +1 -0
- package/dist/core/project-health.js +1 -1
- package/dist/core/project-init.js +156 -156
- package/dist/core/project-inspector.js +2 -2
- package/dist/core/quality-audit.js +2 -2
- package/dist/core/regression-intelligence.js +1 -1
- package/dist/core/remediation-planner.js +4 -4
- package/dist/core/review-history.js +1 -1
- package/dist/core/sandbox-cleanup-audit.js +2 -2
- package/dist/core/sandbox-compliance.js +1 -1
- package/dist/core/sandbox-lifecycle.js +3 -3
- package/dist/core/sandbox-policy.js +1 -1
- package/dist/core/sandbox-runtime.js +1 -1
- package/dist/core/skill-registry.js +1 -1
- package/dist/core/verification.js +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/mcp/server.js +39 -2
- package/dist/mcp/server.js.map +1 -1
- package/package.json +75 -67
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,38 @@
|
|
|
1
1
|
# ANVIL Changelog
|
|
2
2
|
|
|
3
|
+
## 1.0.5 — Seamless Single-Page Dashboard & Showcase Telemetry Hub
|
|
4
|
+
|
|
5
|
+
ANVIL 1.0.5 enhances the local engineering experience with a seamless single-page dashboard architecture, pre-populated interactive showcase telemetry, automatic port fallback (`4173..4183`), and complete release pipeline synchronization.
|
|
6
|
+
|
|
7
|
+
### Features & Improvements
|
|
8
|
+
- **Seamless Single-Page Dashboard:** Converted the dashboard from hidden tabs into an all-in-one view where System Health, Self-Healing Cleaner, Specialist Agents & Workflow Studio, Architecture Graph, Benchmarks & Evaluation, and Workspace Explorer are all visible simultaneously, accompanied by sticky smooth-scroll navigation pills.
|
|
9
|
+
- **✨ Showcase Telemetry Mode:** Embedded an interactive toggle (active by default when 0 local runs exist) that simulates multi-agent execution traces, benchmark candidate matrices, token budget gauges, and self-healing verification trails so developers can explore ANVIL's full power out of the box.
|
|
10
|
+
- **Automatic Port Fallback Scanner:** Prevented `EADDRINUSE` fatal startup errors by automatically scanning available ports in range `4173..4183` if the default port is held by another process.
|
|
11
|
+
- **Self-Healing Cleaner Dashboard Hub:** Direct interactive browser controls to preview junk cleanup (`/api/clean/preview`), trigger safe repairs, list snapshots (`/api/clean/snapshots`), and execute single-click undo rollback directly from the web interface.
|
|
12
|
+
- **Client Script Hardening:** Eliminated font string escaping anomalies and reinforced element hydration lifecycle for error-free dashboard startup.
|
|
13
|
+
|
|
14
|
+
## 1.0.4 — Zero-Fear Rollback, Self-Healing Verification Loop & Framework Entrypoint Engine
|
|
15
|
+
|
|
16
|
+
ANVIL 1.0.4 introduces production-grade safety nets and developer velocity superpowers: instant single-command rollback (`anvil undo`), an automated self-healing test verification gate (`--verify`), Git pre-commit hook automation (`anvil hook install`), and framework-aware entrypoint resolution for modern full-stack frameworks.
|
|
17
|
+
|
|
18
|
+
### Features & Capabilities
|
|
19
|
+
- **Instant Rollback Engine (`anvil undo`):** Every destructive action (`anvil clean --apply` or `anvil fix`) automatically creates a byte-accurate snapshot in `.anvil/backups/<backup-id>/` before touching disk. Running `anvil undo` instantly restores deleted files, re-creates pruned directories, and reverts modified source code with 100% byte fidelity.
|
|
20
|
+
- **Self-Healing Test Verification Gate (`--verify`):** When `--verify` is passed to `anvil clean` or `anvil fix`, ANVIL automatically detects the project's test suite (`npm test`, `cargo test`, `pytest`, `go test ./...`) and runs it after applying repairs. If tests fail, ANVIL **automatically rolls back all changes** before the developer even notices, guaranteeing zero regression.
|
|
21
|
+
- **Framework-Aware Entry Point Manifests:** Solves false-positive orphan file detection across modern full-stack frameworks including Next.js, Remix, Nuxt, SvelteKit, FastAPI, Django, Celery, and Go/Rust CLI binaries. Convention-based routes (`page.tsx`, `layout.tsx`, `route.ts`, `urls.py`, `conftest.py`, `build.rs`, `cmd/**/main.go`) are automatically recognized as entrypoints.
|
|
22
|
+
- **Automated Git Pre-commit Hook (`anvil hook install`):** Generates and installs a lightweight `.git/hooks/pre-commit` hook that intercepts commits and prevents OS junk, partial downloads, and syntax errors from entering Git staging.
|
|
23
|
+
|
|
24
|
+
## 1.0.3 — Multi-Language Architecture Mapping, Farzi Cleaner & Self-Healing Wizard
|
|
25
|
+
|
|
26
|
+
ANVIL 1.0.3 introduces comprehensive multi-language architecture mapping (Python, Go, Rust, Java, C/C++), an automated junk/farzi-file scrubber (`anvil clean`), automated code repair (`anvil fix`), and a one-command environment doctor auto-fix wizard (`anvil doctor --fix`).
|
|
27
|
+
|
|
28
|
+
### Features & Capabilities
|
|
29
|
+
- **Multi-Language Architecture Mapping (`anvil map`):** Expanded from JS/TS to Python (with relative package imports), Go, Rust (`mod` resolution), Java/Kotlin, and C/C++ (`#include`). Internal import resolution accurately maps hundreds of module relationships across mixed-language repositories with 0 false-positive circular loops.
|
|
30
|
+
- **Automated Cleaner Engine (`anvil clean`):** Scans and safely prunes OS clutter (`.DS_Store`, `Thumbs.db`), incomplete downloads (`.crdownload`, `.part`, `.tmp`), error logs, editor swap/backup files, multi-language build caches (Python `__pycache__`/`*.pyc`, Java `*.class`, Rust/C++ `*.o`/`*.obj`/`*.pdb`), and empty directory residue. Supports safe dry-run preview by default, with `--apply` to execute.
|
|
31
|
+
- **Code Auto-Repair (`anvil fix` & `anvil clean --fix`):** Safely detects and prunes unused named imports in TypeScript/JavaScript and Python (`from x import a, b`), preserves TypeScript type specifiers, normalizes trailing whitespace, collapses excessive blank lines, and guarantees trailing newlines without breaking compilations.
|
|
32
|
+
- **Self-Healing Doctor Wizard (`anvil doctor --fix`):** Scaffolds missing `.anvil/` configuration directories (`agents/`, `skills/`, `workflows/`), creates multi-language safe `.gitignore`, generates `.env.example` templates, and initializes Git if absent.
|
|
33
|
+
- **Dashboard Stability & Null-Safety:** Resolved deferred element listener binding in `src/core/dashboard-server.ts` with universal safe listener wrappers (`on()`), ensuring real-time dashboard telemetry populates instantly without script halts.
|
|
34
|
+
- **CLI Brand & Help Unification:** Aligned all commands, help strings, and examples under the official `anvil` command.
|
|
35
|
+
|
|
3
36
|
## 1.0.2 — Maintainer & Contact Verification
|
|
4
37
|
|
|
5
38
|
ANVIL 1.0.2 updates official maintainer contact information, aligning all security, support, and package metadata with Aditya Tiwari (`m.g.atiwari28@gmail.com`).
|
package/LICENSE
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026 Aditya Tiwari (ANVIL)
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Aditya Tiwari (ANVIL)
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|