f5987d9cfc
Primer paso del refactor yahweh. El schema de UI declarativa no tiene acoplamiento real con Nakui (sólo dep en serde/thiserror) — movemos a yahweh para que cualquier app metadata-driven lo use sin pasar por nakui. Mecánico: - git mv crates/modules/nakui/ui-schema → crates/modules/ui_engine/libs/meta-schema. - Crate name: nakui-ui-schema → yahweh-meta-schema. - Workspace members[] actualizado (sección yahweh, no nakui). - Consumers actualizados: brahman-cards (Cargo.toml + lib.rs + readers.rs), nakui-ui (Cargo.toml + main.rs). - Self-test (example_modules.rs): import + path rebase (5 niveles arriba ahora). Documental: - Doc del crate ahora dice "metainterfaz (yahweh meta-schema)" + "backend-agnostic" en filosofía. - Module.nakui_module_dir documentado como "path opaco al backend"; se conserva el nombre por compat con módulos ya escritos + serde alias "backend_module_dir" para futuro rename suave. Tests: 13 yahweh-meta-schema + 26 brahman-cards + 48 nakui-ui verdes. Workspace build verde. NO hace Fase 1: mover widgets a yahweh (Fase 2), trait MetaBackend (Fase 3), renombrar nakui_module_dir. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
24 lines
857 B
TOML
24 lines
857 B
TOML
[package]
|
|
name = "nakui-ui"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
description = "Nakui — runtime GPUI de la metainterfaz: carga module.json desde un directorio, monta sidebar de menús + área principal con listas y formularios sin código compilado por módulo."
|
|
|
|
[dependencies]
|
|
nakui-core = { path = "../../modules/nakui/core" }
|
|
yahweh-meta-schema = { path = "../../modules/ui_engine/libs/meta-schema" }
|
|
brahman-cards = { path = "../../core/brahman-cards" }
|
|
yahweh-widget-text-input = { path = "../../modules/ui_engine/widgets/text_input" }
|
|
yahweh-theme = { path = "../../modules/ui_engine/libs/theme" }
|
|
gpui = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
uuid = { workspace = true, features = ["serde"] }
|
|
|
|
[[bin]]
|
|
name = "nakui-ui"
|
|
path = "src/main.rs"
|
|
|
|
[dev-dependencies]
|
|
tempfile = { workspace = true }
|