595f68e252
yahweh-shell se presenta al Init brahman como módulo Widget mediante un sidecar en thread aparte. La GUI GPUI levanta normalmente; el sidecar mantiene la sesión brahman en paralelo, desacoplado. Cambios: - crates/apps/yahweh-shell/Cargo.toml: deps brahman-card, brahman-handshake, ulid. - crates/apps/yahweh-shell/src/brahman_client.rs: thread con tokio current_thread runtime que arma una Card, llama Client::connect, y loop de pings cada 30s. Si el Init no está disponible, loggea y termina — yahweh sigue funcionando standalone. - crates/apps/yahweh-shell/src/main.rs: brahman_client::spawn() antes de Application::new(). El spawn no bloquea. Card declarada por yahweh: - label: "brahman.ui_engine" - lifecycle: Widget - payload: Virtual (yahweh no se inicia desde el Init, se presenta) - supervision: Delegate - permissions: filesystem read-write (persiste layout.json), IPC wit-v1 - flow.input: render-data (json) - flow.output: user-intent (json) Validación end-to-end: $ ente-zero & $ probe → session=...8G, init_attached=true $ yahweh → [brahman] attached: session=...Y7 Ambos clientes (probe + yahweh sidecar) se registran en el broker del Init en sesiones distintas. yahweh es el primer módulo "real" — no un tester — que vive como nodo del fractal mientras corre. Tests: 27/27 verdes. cargo check --workspace: 0 errores. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
37 lines
1.2 KiB
TOML
37 lines
1.2 KiB
TOML
[package]
|
|
name = "yahweh-shell"
|
|
version = { workspace = true }
|
|
edition = { workspace = true }
|
|
license = { workspace = true }
|
|
description = "Bootstrap GPUI + LayoutHost de Yahweh."
|
|
|
|
[dependencies]
|
|
yahweh-core = { workspace = true }
|
|
yahweh-theme = { workspace = true }
|
|
yahweh-provider-fs = { workspace = true }
|
|
yahweh-provider-sqlite = { workspace = true }
|
|
yahweh-widget-tree = { workspace = true }
|
|
yahweh-widget-container-core = { workspace = true }
|
|
yahweh-widget-splitter = { workspace = true }
|
|
yahweh-widget-tabs = { workspace = true }
|
|
yahweh-widget-tiled = { workspace = true }
|
|
yahweh-bus = { workspace = true }
|
|
yahweh-file-explorer = { workspace = true }
|
|
yahweh-database-explorer = { workspace = true }
|
|
yahweh-text-viewer = { workspace = true }
|
|
yahweh-image-viewer = { workspace = true }
|
|
gpui = { workspace = true }
|
|
tokio = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
notify = { workspace = true }
|
|
|
|
# Brahman protocol — sidecar thread que se presenta al Init.
|
|
brahman-card = { path = "../../core/brahman-card" }
|
|
brahman-handshake = { path = "../../core/brahman-handshake" }
|
|
ulid = { workspace = true }
|
|
|
|
[[bin]]
|
|
name = "yahweh"
|
|
path = "src/main.rs"
|