Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2138,6 +2138,17 @@ async fn main() -> anyhow::Result<()> {
(None, None, None, None, None)
} else {
let n = keeper.vigils.len();
#[cfg(feature = "plugin")]
{
if let Some(ref vig_tx) = keeper.vigil_plugin_tx {
crate::plugin::worker::vigil_bridge::install_vigil_tx(
vig_tx.clone(),
);
}
let names: Vec<String> =
keeper.vigils.iter().map(|v| v.name.clone()).collect();
crate::plugin::worker::vigil_bridge::install_vigil_names(names);
}
eprintln!("info: vigil-keeper started with {n} vigil(s)");
let wake = keeper.wake_rx.take();
let obs = keeper.observance_rx.take();
Expand Down
4 changes: 4 additions & 0 deletions src/plugin/loader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ pub const HOOK_NAMES: &[&str] = &[
// ctx :messages (JSON); may call harness/set-compact-summary to
// supply a summary instead of the LLM summarizer.
"on-compact",
// --- vigil hooks (dirge-vigil) ---
"on-vigil-event",
"on-vigil-reap",
"on-vigil-observance",
];

/// Filter an input candidate list to only paths that exist as
Expand Down
Loading
Loading