Implement Rhai scripting support #3

Closed
opened 2026-03-17 14:21:20 +00:00 by thabeta · 1 comment
Owner

Add full Rhai scripting capabilities to the zinit ecosystem.

Tasks

  • Create zinit_sdk::rhai module with manual bindings.
  • Implement ZinitHandle, ServiceStatus, ReloadResult and ServiceConfigBuilder bindings.
  • Add zinit singleton and system() helper for scripts.
  • Add rhai subcommand to zinit CLI.
  • Verify with integration tests.
Add full Rhai scripting capabilities to the zinit ecosystem. ### Tasks - [x] Create `zinit_sdk::rhai` module with manual bindings. - [x] Implement `ZinitHandle`, `ServiceStatus`, `ReloadResult` and `ServiceConfigBuilder` bindings. - [x] Add `zinit` singleton and `system()` helper for scripts. - [x] Add `rhai` subcommand to `zinit` CLI. - [x] Verify with integration tests.
Author
Owner

Implementation Summary

  • Implemented zinit_sdk::rhai module with manual bindings for ZinitHandle, ServiceStatus, ReloadResult, and ServiceConfigBuilder.
  • Added zinit singleton and system() helper for Rhai scripts.
  • Added rhai subcommand to zinit CLI.
  • Verified all 4 Rhai integration tests pass in CI.
### Implementation Summary - Implemented `zinit_sdk::rhai` module with manual bindings for `ZinitHandle`, `ServiceStatus`, `ReloadResult`, and `ServiceConfigBuilder`. - Added `zinit` singleton and `system()` helper for Rhai scripts. - Added `rhai` subcommand to `zinit` CLI. - Verified all 4 Rhai integration tests pass in CI.
thabeta added this to the ACTIVE project 2026-03-17 14:45:47 +00:00
thabeta self-assigned this 2026-03-17 14:45:51 +00:00
Sign in to join this conversation.
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
geomind_code/my_init#3
No description provided.