Repository navigation
Releases
Releases · URaux/ArchViber
v0.2.0 — Data Layer & Storage Enhancement
What's New in v0.2.0
This release delivers the complete data modeling layer and local persistence infrastructure — the backbone for ArchViber's schema-aware architecture generation.
🗄️ Schema Data Modeling (New from scratch)
- SchemaEditor — full-featured visual schema editor component with field/type/constraint editing
- Schema Linter (
schema-linter.ts) — validates schema contracts: type consistency, naming conventions, required field checks - FK Edge Utils (
fk-edge-utils.ts) — cross-service foreign key modeling; auto-generates relationship edges on the canvas - Schema Contract format finalized — canonical JSON structure for inter-service data contracts
💾 Local Storage Enhancement
- Session Storage (
session-storage.ts) — dual-write to IndexedDB + LocalStorage for resilience; auto-restore on reload - Brainstorm history now persisted across sessions
- Canvas state auto-saved at each significant action
🤖 AI Pipeline Improvements
- Brainstorm convergence — AI now detects when the requirements discussion is "complete" and auto-proposes transition to design phase
- Context Engine expanded (+139 lines) — richer context passed to LLM for more accurate architecture generation
- Skeleton Generator enhanced — generates more complete service scaffolds including data layer stubs
- Project Scanner (
project-scanner.ts) — analyzes existing codebases to pre-populate canvas with detected services/schemas
🧪 Test Coverage (28 new tests)
| Test Suite | Tests |
|---|---|
schema-linter.test.ts |
Schema validation rules |
fk-edge-utils.test.ts |
FK relationship detection |
session-storage.test.ts |
Persistence read/write/restore |
brainstorm-convergence.test.ts |
AI convergence detection |
chat-actions.test.ts |
Chat action strip/parse |
full-flow.spec.ts (E2E) |
End-to-end Playwright flow |
📦 Other
- Playwright added for E2E testing
- README updated: data modeling section, brainstorm convergence docs, session storage behavior
.env.exampleadded for easier setup
Full diff since v0.1.0: 27 files changed, +2704 / -56 lines
v0.1.0 — First Public Release
ArchViber v0.1.0
一句话描述你的想法,AI 帮你设计架构、画出来、写代码。
Describe your idea in one sentence. AI designs the architecture, draws it on a canvas, and generates the code.
Highlights
- AI brainstorm workflow — Three-phase guided design (brainstorm → design → iterate), not one-shot generation
- Interactive canvas — React Flow + ELK.js auto-layout, drag & drop, undo/redo
- Build All — Topological sort → wave-parallel AI code generation with live progress
- 4 AI backends — Claude Code, Codex, Gemini CLI, or any OpenAI-compatible API (Custom API)
- Import any codebase — Two-phase reverse engineering: instant skeleton scan + AI enrichment
- 9 export formats — YAML / JSON / PNG / Mermaid / Markdown / session backup / project archive / clipboard
- 15+ built-in skills — Auto-matched by tech stack, GitHub one-click import
- Bilingual — Chinese + English i18n
Quick Start
git clone https://github.com/URaux/arch-viber.git
cd arch-viber
npm install
npm run dev # http://localhost:3000Open Settings → choose Custom API (recommended, zero-install) or install a CLI backend.
Tech Stack
Next.js 16 · React Flow v12 · ELK.js · Tailwind CSS v4 · Zustand v5 · TypeScript · Vitest