refactor(oschema): align layout with canonical hero_osis/hero_voice pattern #18

Merged
ashraf merged 1 commit from development_align_oschema_layout into main 2026-04-23 09:21:14 +00:00
Member

Summary

  • Promote schemas/, docs/schemas/, sdk/ to workspace root
  • Create hero_livekit core crate with canonical OschemaBuildConfig
  • Create hero_livekit_sdk crate (auto-generated OSIS client)
  • Server crate refactored to depend on core crate for types and server logic
  • Relocate openrpc.json to server crate root
  • Update all openrpc_client! paths in UI, examples, and rhai crates

Closes #15

Changes

  • New crates/hero_livekit/ core crate with build.rs using full canonical OschemaBuildConfig (schemas_dir, docs_dir, sdk_dir, client_crate_dir, sdk_types_crate, single_bin, bin_companions, bin_ui)
  • New crates/hero_livekit_sdk/ generated OSIS client crate
  • schemas/livekit/livekit.oschema moved to workspace root
  • docs/schemas/ moved to workspace root
  • sdk/js/types_generated.js moved to workspace root
  • Server crate: removed build.rs, removed src/livekit/core/ (now in core crate), added hero_livekit dependency
  • openrpc.json now at crates/hero_livekit_server/openrpc.json (was deeply nested)
  • Updated openrpc_client! paths in hero_livekit_ui, hero_livekit_examples, hero_livekit_rhai
  • Updated docs/architecture.md and docs/api.md

Test Results

  • cargo build --workspace: PASS
  • cargo clippy --workspace -- -D warnings: PASS
  • cargo test --workspace: 34 tests passed, 0 failed
## Summary - Promote schemas/, docs/schemas/, sdk/ to workspace root - Create hero_livekit core crate with canonical OschemaBuildConfig - Create hero_livekit_sdk crate (auto-generated OSIS client) - Server crate refactored to depend on core crate for types and server logic - Relocate openrpc.json to server crate root - Update all openrpc_client! paths in UI, examples, and rhai crates ## Related Issue Closes https://forge.ourworld.tf/lhumina_code/hero_livekit/issues/15 ## Changes - New `crates/hero_livekit/` core crate with build.rs using full canonical OschemaBuildConfig (schemas_dir, docs_dir, sdk_dir, client_crate_dir, sdk_types_crate, single_bin, bin_companions, bin_ui) - New `crates/hero_livekit_sdk/` generated OSIS client crate - `schemas/livekit/livekit.oschema` moved to workspace root - `docs/schemas/` moved to workspace root - `sdk/js/types_generated.js` moved to workspace root - Server crate: removed build.rs, removed src/livekit/core/ (now in core crate), added hero_livekit dependency - `openrpc.json` now at `crates/hero_livekit_server/openrpc.json` (was deeply nested) - Updated openrpc_client! paths in hero_livekit_ui, hero_livekit_examples, hero_livekit_rhai - Updated docs/architecture.md and docs/api.md ## Test Results - cargo build --workspace: PASS - cargo clippy --workspace -- -D warnings: PASS - cargo test --workspace: 34 tests passed, 0 failed
refactor(oschema): align layout with canonical hero_osis/hero_voice pattern
All checks were successful
Build & Test / check (pull_request) Successful in 2m57s
Build & Test / check (push) Successful in 2m42s
4e70394ea7
- Promote schemas/, docs/schemas/, sdk/ to workspace root
- Create hero_livekit core crate with canonical OschemaBuildConfig
- Create hero_livekit_sdk crate (auto-generated OSIS client)
- Server crate now depends on core crate for types and server logic
- Relocate openrpc.json to server crate root
- Update all openrpc_client! paths in UI, examples, and rhai crates
- Update workspace Cargo.toml with new members and dependencies

#15
ashraf merged commit 4e70394ea7 into main 2026-04-23 09:21:14 +00:00
ashraf deleted branch development_align_oschema_layout 2026-04-23 09:21:15 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lhumina_code/hero_livekit!18
No description provided.