Skip to content

Commit ec767e5

Browse files
committed
fix(hu-plugin-template): drop divergent plugin-event WIT variant, fix CI doc
Remove the extra plugin-event variant absent from the canonical wit/v0.1 contract, and reword the crate doc to describe the actual CI wasm plugin job instead of a nonexistent check-console step.
1 parent 09ba098 commit ec767e5

2 files changed

Lines changed: 1 addition & 11 deletions

File tree

crates/hiroz-union/plugins/hu-plugin-template/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//! Minimal CLI plugin — mirrors the "Quick start" code in docs/tools/hu-plugins.md.
22
//!
3-
//! This crate is compiled in CI (`check-console` step, `wasm32-wasip2` target)
3+
//! This crate is built in CI by the WASM plugin job (`wasm32-wasip2` target)
44
//! to ensure the authoring guide stays valid as the WIT interface evolves.
55
//! It is not shipped as part of the hiroz release.
66

crates/hiroz-union/plugins/hu-plugin-template/wit/hu-plugin.wit

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -63,16 +63,6 @@ interface types {
6363
interrupt,
6464
}
6565

66-
// v0.3 alias — kept so existing binaries that declare plugin-event in their
67-
// manifest type still link against a v0.3 host. New plugins use tui-event.
68-
variant plugin-event {
69-
startup(list<string>),
70-
key-action(string),
71-
topic-selected(string),
72-
tick,
73-
interrupt,
74-
}
75-
7666
record plugin-manifest {
7767
name: string,
7868
version: string,

0 commit comments

Comments
 (0)