Muharrir
Muharrir (Arabic: محرر — editor/author) — Shared editor primitives for AGNOS creative applications.
Reusable building blocks for editor UIs: undo/redo history, expression evaluation, hardware detection, hierarchy trees, and property inspection.
Consumers
| App | Domain | Uses |
|---|---|---|
| salai | Game editor | hierarchy, inspector, history, expr, hw |
| rasa | Image editor | history, inspector, hierarchy, hw |
| tazama | Video editor | history, hierarchy, hw, expr |
| shruti | Audio DAW | history, inspector, hierarchy, expr |
Feature Flags
| Feature | Default | Dependencies | Description |
|---|---|---|---|
history |
yes | libro, serde_json | Undo/redo with tamper-evident audit chain |
expr |
yes | abaco | Math expression evaluation for property fields |
hw |
yes | ai-hwaccel | Hardware detection and quality tiers |
hierarchy |
yes | — | Generic parent-child tree building |
inspector |
yes | — | Property sheet for editor panels |
personality |
no | bhava | NPC personality/emotion editing |
full |
no | all above | Everything enabled |
Quick Start
use ;
// Build a hierarchy tree
let tree = build_hierarchy;
let flat = flatten;
// Build a property sheet
let mut sheet = new;
sheet.push;
License
GPL-3.0