Slice-based VM compute manager for the Hero Ecosystem, built on hero_rpc OSIS framework
  • Rust 71.3%
  • JavaScript 13.7%
  • HTML 13.3%
  • CSS 1.7%
Find a file
Mahmoud-Emad 569ab23f2c
Some checks failed
Test / test (push) Failing after 2m30s
feat(zos_admin): replace native confirm with reusable confirmModal
Match the explorer admin pattern. Add confirmModal HTML to base.html
and a showConfirm helper to dashboard.js with the same signature so
both UIs stay aligned. The helper supports promise-returning callbacks
which show a spinner on the action button and disable cancel until the
work settles then auto-hide on success.

Replace all three native confirm sites:
  deleteVm        : VM delete from the detail modal Delete button
  deleteVmPage    : VM delete from the row action button on vms page
  deleteSshKey    : SSH key delete from Settings

Confirm body now uses HTML so the sid renders in monospace and the
irreversible warning sits below as muted text.

Also drop the noisy console warn calls from the slice fetch fallback
since the fallback already covers the failure cleanly.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-19 12:54:17 +02:00
.deepseek fix(playground,zos): fix module aliasing and reorder cloud/mod.rs declarations 2026-05-18 11:53:58 +02:00
.forgejo/workflows docs: Update hero-compute setup and config documentation 2026-05-13 11:07:04 +03:00
.hero feat: add --info flag and startup banners to all binaries; add hero_builder artifacts 2026-05-10 13:36:11 +02:00
crates feat(zos_admin): replace native confirm with reusable confirmModal 2026-05-19 12:54:17 +02:00
docs refactor: restructure workspace into three-layer my_compute / hero_compute architecture 2026-05-13 11:26:33 +02:00
schemas merge: integrate development_tfgrid 2026-05-08 07:00:14 +02:00
.env.example refactor: Update service socket paths and dependencies 2026-05-13 10:59:29 +03:00
.gitignore feat: add hero_compute_tfgrid with explicit node registration via RPC 2026-04-09 21:26:19 +02:00
Cargo.lock Merge branch 'development' of forge.ourworld.tf:lhumina_code/hero_compute into development 2026-05-17 21:00:19 +02:00
Cargo.toml Rename hero_service → hero_lifecycle (#55 downstream) (#112) 2026-05-19 02:32:32 +00:00
PURPOSE.md refactor: restructure workspace into three-layer my_compute / hero_compute architecture 2026-05-13 11:26:33 +02:00
README.md refactor: restructure workspace into three-layer my_compute / hero_compute architecture 2026-05-13 11:26:33 +02:00

hero_compute

Multi-platform compute management for the Hero ecosystem.

A user, agent, or HeroOS application uses one clean compute interface. The platform routes workloads transparently to either ZeroOS (ThreeFold Grid 3) or MyceliumOS nodes.

Full specification: docs/architecture.md


Layers

Layer 1 — HeroOS
    hero_compute_server       User-facing compute API
    hero_compute_sdk          Client library for apps and agents
    hero_compute_admin        End-user / HeroOS admin UI (talks to hero_compute_server)

Layer 2 — Mycelium Compute Services
    my_compute_explorer_server  Central aggregation, node registry, routing
    my_compute_explorer_sdk     Client SDK for the explorer
    my_compute_explorer_admin   Infrastructure operator dashboard

    my_compute_zos_server     Compatibility adapter for ThreeFold Grid 3 / ZeroOS
    my_compute_zos_sdk        Client SDK for the ZOS adapter
    my_compute_zos_admin      ZOS / Grid 3 debug and operations UI

Layer 3 — Compute Execution (per node)
    my_compute_mos_server     Local agent running on each MyceliumOS node
    my_compute_mos_sdk        Client SDK for the MOS agent
    my_compute_mos_admin      MOS node-local debug and operations UI

Crates

Crate Layer What it is Status
hero_compute_server HeroOS User-facing compute API server skeleton
hero_compute_sdk HeroOS Client library for apps and agents skeleton
my_compute_explorer_server Mycelium Node registry, fleet aggregation, RPC routing implemented
my_compute_explorer_sdk Mycelium Client SDK for the explorer skeleton
my_compute_explorer_admin Mycelium Infrastructure operator dashboard implemented
my_compute_zos_server Mycelium ThreeFold Grid 3 / ZeroOS adapter implemented
my_compute_zos_sdk Mycelium Client SDK for the ZOS adapter skeleton
my_compute_zos_admin Mycelium ZOS / Grid 3 debug UI skeleton
my_compute_mos_server MOS Node Local node agent, talks to local hypervisor implemented
my_compute_mos_sdk MOS Node Client SDK for the MOS agent skeleton
my_compute_mos_admin MOS Node MOS node-local debug UI skeleton

Operating systems

Name Short Meaning
ZeroOS ZOS Existing OS used by ThreeFold Grid 3 nodes
MyceliumOS MOS New OS for next-generation nodes (Ubuntu + ZeroOS4)
HeroOS HeroOS User-facing environment where apps and agents run