Repository navigation
DevAnvil v1.1.0 — 13 Offline Studios, OpenAPI-to-Mock, Secret Guard & Benchmarks
Highlights in DevAnvil v1.1.0
Still 0 runtime npm dependencies ("dependencies": {}), 100% offline, and 29/29 automated tests passing.
New Studios & Features
- OpenAPI 3.x / Swagger -> Instant Mock Server: Paste YAML or JSON specs, resolve
$refschemas safely (circular-ref guarded), and mount every endpoint live to/mock/*in one click — or rundevanvil openapi spec.yaml --servefrom CLI. - Offline Secret &
.envGuard: 18 linear-time provider secret detectors + Shannon entropy scanner, 1-click safe redaction,.envvs.env.exampledrift checker, plusdevanvil scan/devanvil envCI gates andredact_secretspipeline op. - LLM Token & Context Budget Studio: Offline BPE-calibrated multi-script tokenizer (English/Arabic/CJK/code), multi-model cost & context gauges, and Smart Context Compactor (
devanvil tokens). - Workflow Upgrades: API Studio Auth Helper Bar (Bearer / API Key / Basic), persistent local request history, Webhook Replay -> API Studio, Mock JSON Export, and 4 Pipeline Starter Recipes.
Performance & Security
- In-memory SHA-256
ETag(304) + Gzip static UI cache. - Sub-millisecond core engines verified via
npm run bench(279k UUIDv7/s, 60k Secret scans/s, 44k JWT verifies/s, 17k OpenAPI YAML parses/s). - Slowloris timeouts (
headersTimeout,requestTimeout,maxHeadersCount) + strict runtime type validators returning clean400 Bad Request. - Dogfood ReDoS test verifying every built-in secret rule is ReDoS-safe.
- Hardened
docker-compose.yml(read_only: true,cap_drop: ALL,no-new-privileges).