Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

feat(core): add event namespace and variant name constants

Steven Enamakel82685117201d
diff --git a/crates/openhuman-core/src/core/all.rs b/crates/openhuman-core/src/core/all.rs
index 1bc1377bce..6fef035c87 100644
--- a/crates/openhuman-core/src/core/all.rs
+++ b/crates/openhuman-core/src/core/all.rs
@@ -53,8 +53,10 @@ impl RegisteredController {
pub use super::domain_group::DomainGroup;
mod components_gate;
+mod namespaces;
mod validate;
pub use components_gate::disabled_component_for_method;
+pub use namespaces::namespace_description;
use validate::validate_registry;
/// A [`RegisteredController`] tagged with the [`DomainGroup`] it belongs to.
@@ -774,121 +776,6 @@ pub fn rpc_method_name(schema: &ControllerSchema) -> String {
format!("openhuman.{}_{}", schema.namespace, schema.function)
}
-/// Returns a human-readable description for a given namespace.
-///
-/// This is used for CLI help output.
-pub fn namespace_description(namespace: &str) -> Option<&'static str> {
- match namespace {
- "about_app" => Some("Catalog the app's user-facing capabilities and where to find them."),
- "agent" => Some("Per-thread agent run-mode control (Plan vs Build)."),
- "ai" => Some("Agent-generated artifact storage, retrieval, and lifecycle management."),
- "app_state" => Some("Expose core-owned app shell state for frontend polling."),
- "profiles" => {
- Some("SaaS operator plane: provision and inspect the profile serving each user.")
- }
- "auth" => Some("Manage app session and provider credentials."),
- "agent_experience" => Some("Local procedural experience capture and retrieval for agents."),
- "channels" => Some("Channel definitions, connections, and lifecycle management."),
- "composio" => Some(
- "Composio OAuth integrations proxied via the backend — toolkits, connections, tools, and actions.",
- ),
- "config" => Some("Read and update persisted runtime configuration."),
- "connectivity" => Some(
- "Connectivity diagnostics for the local sidecar, listening port, and backend Socket.IO state.",
- ),
- "cron" => Some("Manage scheduled jobs and run history."),
- "inbound" => Some(
- "Inbound event queues: depths and outcome counts, dead letters and redrive.",
- ),
- "flows" => Some("Create, store, and run automation workflows."),
- "dashboard" => {
- Some("Operator-facing dashboard aggregations: per-model health comparison rows.")
- }
- "mcp_clients" => Some(
- "Browse the MCP registries, declare the user's servers in one mcp.json document, manage their connections and credentials, and expose their tools to the agent.",
- ),
- "mcp_ui" => Some("Serve MCP tool widgets their documents and run their tool calls."),
- "decrypt" => Some("Decrypt secure values managed by secret storage."),
- "doctor" => Some("Run diagnostics for workspace and runtime health."),
- "hooks" => Some(
- "User-authored hooks: list what is configured, reload every hooks.json layer, and test-fire one event.",
- ),
- "encrypt" => Some("Encrypt secure values managed by secret storage."),
- "health" => Some("Process and component health snapshots."),
- "inference" => {
- Some("Connect to configured text, vision, and embedding inference runtimes.")
- }
- "javascript" => {
- Some("First-class JavaScript runtime bridge for listing and dispatching tools.")
- }
- "security" => Some("Security policy and autonomy guardrail metadata."),
- "service" => Some("Desktop service lifecycle management."),
- "session_import" => {
- Some("One-time import of legacy session transcripts into TinyAgents stores.")
- }
- "skill_registry" => Some(
- "Browse, search, install, and uninstall skills from remote registries (OpenHuman, Hermes, OpenClaw).",
- ),
- "skill_runtime" => {
- Some("Run installed skills, inspect run logs, and resolve Node/Python skill runtimes.")
- }
- "skills" => {
- Some("Discovered SKILL.md skills (discovery, parse, install, run) and their resources.")
- }
- "socket" => Some("Backend Socket.IO bridge controls."),
- "memory" => Some(
- "Memory v2: engine selection, recall, fetch, learn, forget, conversations, document sources, context.md and v1 import.",
- ),
- "run_ledger" => Some(
- "Durable agent and workflow run state, child lineage, events, telemetry, and checkpoint references.",
- ),
- "agent_work" => Some(
- "Background agent command center — recent agent runs grouped by status (needs-input, working, completed, failed, stopped).",
- ),
- "workflow_run" => Some(
- "Durable dynamic workflow runs — declarative multi-agent definitions and the read surface over persisted runs.",
- ),
- "agent_team" => Some(
- "Durable agent-team coordination: teams, members, dependency-aware task claiming, and teammate messaging.",
- ),
- "tool_registry" => Some(
- "Read-only discovery for MCP stdio tools and controller-backed tools, including routes, schemas, version, allowed agents, and health.",
- ),
- "test" => Some("E2E test support — wipe sidecar state in-place between specs."),
- "wallet" => {
- Some("Local wallet onboarding status and derived multi-chain account metadata.")
- }
- "web3_swap" => Some("Single-chain crypto swaps via deBridge, built on the local wallet."),
- "web3_bridge" => {
- Some("Cross-chain crypto bridges via deBridge DLN, built on the local wallet.")
- }
- "web3_dapp" => Some("Generic EVM dapp contract calls signed by the local wallet."),
- "provider_surfaces" => {
- Some("Local-first assistive surfaces for provider events, respond queues, and drafts.")
- }
- "voice" => Some("Speech-to-text and text-to-speech using local models."),
- "webhooks" => {
- Some("Webhook tunnel registrations and captured request/response debug logs.")
- }
- "update" => {
- Some("Self-update: check GitHub Releases for newer core binary and stage updates.")
- }
-
- "notification" => Some(
- "Integration notification ingest, triage scoring, listing, read-state, \
- and per-provider routing settings.",
- ),
- "devices" => Some(
- "Paired mobile device management — pairing channel creation, listing, and revocation.",
- ),
- "storage" => Some("Storage layout v1 to v2 migration, schema status and restore."),
- "subsystems" => Some(
- "Kernel subsystem slots and their bound drivers: class, health, contract version, and advertised capabilities.",
- ),
- other => extension_namespace_description(other),
- }
-}
-
/// Returns the CLI handler for a given namespace, if one is registered.
pub fn cli_handler_for_namespace(namespace: &str) -> Option<CliHandler> {
cli_adapters()
diff --git a/crates/openhuman-core/src/core/all/namespaces.rs b/crates/openhuman-core/src/core/all/namespaces.rs
new file mode 100644
index 0000000000..e3cb222f9f
--- /dev/null
+++ b/crates/openhuman-core/src/core/all/namespaces.rs
@@ -0,0 +1,118 @@
+//! Human-readable descriptions of the RPC namespaces, for CLI help output.
+
+use super::extension_namespace_description;
+
+/// Returns a human-readable description for a given namespace.
+///
+/// This is used for CLI help output.
+pub fn namespace_description(namespace: &str) -> Option<&'static str> {
+ match namespace {
+ "about_app" => Some("Catalog the app's user-facing capabilities and where to find them."),
+ "agent" => Some("Per-thread agent run-mode control (Plan vs Build)."),
+ "ai" => Some("Agent-generated artifact storage, retrieval, and lifecycle management."),
+ "app_state" => Some("Expose core-owned app shell state for frontend polling."),
+ "profiles" => {
+ Some("SaaS operator plane: provision and inspect the profile serving each user.")
+ }
+ "auth" => Some("Manage app session and provider credentials."),
+ "agent_experience" => Some("Local procedural experience capture and retrieval for agents."),
+ "channels" => Some("Channel definitions, connections, and lifecycle management."),
+ "composio" => Some(
+ "Composio OAuth integrations proxied via the backend — toolkits, connections, tools, and actions.",
+ ),
+ "config" => Some("Read and update persisted runtime configuration."),
+ "connectivity" => Some(
+ "Connectivity diagnostics for the local sidecar, listening port, and backend Socket.IO state.",
+ ),
+ "cron" => Some("Manage scheduled jobs and run history."),
+ "inbound" => Some(
+ "Inbound event queues: depths and outcome counts, dead letters and redrive.",
+ ),
+ "flows" => Some("Create, store, and run automation workflows."),
+ "dashboard" => {
+ Some("Operator-facing dashboard aggregations: per-model health comparison rows.")
+ }
+ "mcp_clients" => Some(
+ "Browse the MCP registries, declare the user's servers in one mcp.json document, manage their connections and credentials, and expose their tools to the agent.",
+ ),
+ "mcp_ui" => Some("Serve MCP tool widgets their documents and run their tool calls."),
+ "decrypt" => Some("Decrypt secure values managed by secret storage."),
+ "doctor" => Some("Run diagnostics for workspace and runtime health."),
+ "hooks" => Some(
+ "User-authored hooks: list what is configured, reload every hooks.json layer, and test-fire one event.",
+ ),
+ "encrypt" => Some("Encrypt secure values managed by secret storage."),
+ "health" => Some("Process and component health snapshots."),
+ "inference" => {
+ Some("Connect to configured text, vision, and embedding inference runtimes.")
+ }
+ "javascript" => {
+ Some("First-class JavaScript runtime bridge for listing and dispatching tools.")
+ }
+ "security" => Some("Security policy and autonomy guardrail metadata."),
+ "service" => Some("Desktop service lifecycle management."),
+ "session_import" => {
+ Some("One-time import of legacy session transcripts into TinyAgents stores.")
+ }
+ "skill_registry" => Some(
+ "Browse, search, install, and uninstall skills from remote registries (OpenHuman, Hermes, OpenClaw).",
+ ),
+ "skill_runtime" => {
+ Some("Run installed skills, inspect run logs, and resolve Node/Python skill runtimes.")
+ }
+ "skills" => {
+ Some("Discovered SKILL.md skills (discovery, parse, install, run) and their resources.")
+ }
+ "socket" => Some("Backend Socket.IO bridge controls."),
+ "memory" => Some(
+ "Memory v2: engine selection, recall, fetch, learn, forget, conversations, document sources, context.md and v1 import.",
+ ),
+ "run_ledger" => Some(
+ "Durable agent and workflow run state, child lineage, events, telemetry, and checkpoint references.",
+ ),
+ "agent_work" => Some(
+ "Background agent command center — recent agent runs grouped by status (needs-input, working, completed, failed, stopped).",
+ ),
+ "workflow_run" => Some(
+ "Durable dynamic workflow runs — declarative multi-agent definitions and the read surface over persisted runs.",
+ ),
+ "agent_team" => Some(
+ "Durable agent-team coordination: teams, members, dependency-aware task claiming, and teammate messaging.",
+ ),
+ "tool_registry" => Some(
+ "Read-only discovery for MCP stdio tools and controller-backed tools, including routes, schemas, version, allowed agents, and health.",
+ ),
+ "test" => Some("E2E test support — wipe sidecar state in-place between specs."),
+ "wallet" => {
+ Some("Local wallet onboarding status and derived multi-chain account metadata.")
+ }
+ "web3_swap" => Some("Single-chain crypto swaps via deBridge, built on the local wallet."),
+ "web3_bridge" => {
+ Some("Cross-chain crypto bridges via deBridge DLN, built on the local wallet.")
+ }
+ "web3_dapp" => Some("Generic EVM dapp contract calls signed by the local wallet."),
+ "provider_surfaces" => {
+ Some("Local-first assistive surfaces for provider events, respond queues, and drafts.")
+ }
+ "voice" => Some("Speech-to-text and text-to-speech using local models."),
+ "webhooks" => {
+ Some("Webhook tunnel registrations and captured request/response debug logs.")
+ }
+ "update" => {
+ Some("Self-update: check GitHub Releases for newer core binary and stage updates.")
+ }
+
+ "notification" => Some(
+ "Integration notification ingest, triage scoring, listing, read-state, \
+ and per-provider routing settings.",
+ ),
+ "devices" => Some(
+ "Paired mobile device management — pairing channel creation, listing, and revocation.",
+ ),
+ "storage" => Some("Storage layout v1 to v2 migration, schema status and restore."),
+ "subsystems" => Some(
+ "Kernel subsystem slots and their bound drivers: class, health, contract version, and advertised capabilities.",
+ ),
+ other => extension_namespace_description(other),
+ }
+}
diff --git a/crates/openhuman-core/src/core/events.rs b/crates/openhuman-core/src/core/events.rs
index 0a5fb7689f..45ce23d938 100644
--- a/crates/openhuman-core/src/core/events.rs
+++ b/crates/openhuman-core/src/core/events.rs
@@ -1501,126 +1501,6 @@ impl DomainEvent {
}
}
- /// Stable variant name without payload (avoids Debug format coupling).
- pub fn variant_name(&self) -> &'static str {
- match self {
- Self::AgentTurnStarted { .. } => "AgentTurnStarted",
- Self::AgentTurnCompleted { .. } => "AgentTurnCompleted",
- Self::ConversationTurnCommitted { .. } => "ConversationTurnCommitted",
- Self::AgentError { .. } => "AgentError",
- Self::SubagentSpawned { .. } => "SubagentSpawned",
- Self::SubagentCompleted { .. } => "SubagentCompleted",
- Self::SubagentFailed { .. } => "SubagentFailed",
- Self::SubagentAwaitingUser { .. } => "SubagentAwaitingUser",
- Self::AgentOrchestrationSpawned { .. } => "AgentOrchestrationSpawned",
- Self::AgentOrchestrationCompleted { .. } => "AgentOrchestrationCompleted",
- Self::AgentOrchestrationFailed { .. } => "AgentOrchestrationFailed",
- Self::AgentOrchestrationClosed { .. } => "AgentOrchestrationClosed",
- Self::RunQueueMessageQueued { .. } => "RunQueueMessageQueued",
- Self::RunQueueFollowupDispatched { .. } => "RunQueueFollowupDispatched",
- Self::RunQueueInterrupted { .. } => "RunQueueInterrupted",
- Self::RunQueueMessageDelivered { .. } => "RunQueueMessageDelivered",
- Self::RunQueueSteerRequeued { .. } => "RunQueueSteerRequeued",
- Self::MonitorStatusChanged { .. } => "MonitorStatusChanged",
- Self::MonitorLine { .. } => "MonitorLine",
- Self::MemoryStored { .. } => "MemoryStored",
- Self::MemoryRecalled { .. } => "MemoryRecalled",
- Self::ChannelInboundMessage { .. } => "ChannelInboundMessage",
- Self::ChannelMessageReceived { .. } => "ChannelMessageReceived",
- Self::ChannelMessageProcessed { .. } => "ChannelMessageProcessed",
- Self::ChannelReactionReceived { .. } => "ChannelReactionReceived",
- Self::ChannelReactionSent { .. } => "ChannelReactionSent",
- Self::ChannelConnected { .. } => "ChannelConnected",
- Self::ChannelDisconnected { .. } => "ChannelDisconnected",
- Self::CronJobTriggered { .. } => "CronJobTriggered",
- Self::CronJobCompleted { .. } => "CronJobCompleted",
- Self::CronDeliveryRequested { .. } => "CronDeliveryRequested",
- Self::ProactiveMessageRequested { .. } => "ProactiveMessageRequested",
- Self::CronSystemJobDue { .. } => "CronSystemJobDue",
- Self::FlowRunProgress { .. } => "FlowRunProgress",
- Self::FlowRunStarted { .. } => "FlowRunStarted",
- Self::FlowRunFinished { .. } => "FlowRunFinished",
- Self::FlowChanged { .. } => "FlowChanged",
- Self::WorkflowLoaded { .. } => "WorkflowLoaded",
- Self::WorkflowStopped { .. } => "WorkflowStopped",
- Self::WorkflowStartFailed { .. } => "WorkflowStartFailed",
- Self::WorkflowExecuted { .. } => "WorkflowExecuted",
- Self::WorkflowsChanged { .. } => "WorkflowsChanged",
- Self::ToolExecutionStarted { .. } => "ToolExecutionStarted",
- Self::ToolExecutionCompleted { .. } => "ToolExecutionCompleted",
- Self::WorkspacePrepared { .. } => "WorkspacePrepared",
- Self::WorkspaceViolation { .. } => "WorkspaceViolation",
- Self::WorkspaceCleanup { .. } => "WorkspaceCleanup",
- Self::WebhookIncomingRequest { .. } => "WebhookIncomingRequest",
- Self::WebhookReceived { .. } => "WebhookReceived",
- Self::WebhookRegistered { .. } => "WebhookRegistered",
- Self::WebhookUnregistered { .. } => "WebhookUnregistered",
- Self::WebhookProcessed { .. } => "WebhookProcessed",
- Self::ComposioTriggerReceived { .. } => "ComposioTriggerReceived",
- Self::ComposioConnectionCreated { .. } => "ComposioConnectionCreated",
- Self::ComposioConnectionDeleted { .. } => "ComposioConnectionDeleted",
- Self::ComposioIntegrationsChanged { .. } => "ComposioIntegrationsChanged",
- Self::ComposioActionExecuted { .. } => "ComposioActionExecuted",
- Self::ComposioConfigChanged { .. } => "ComposioConfigChanged",
- Self::TriggerEvaluated { .. } => "TriggerEvaluated",
- Self::TriggerEscalated { .. } => "TriggerEscalated",
- Self::TriggerEscalationFailed { .. } => "TriggerEscalationFailed",
- Self::NotificationIngested { .. } => "NotificationIngested",
- Self::NotificationTriaged { .. } => "NotificationTriaged",
- Self::InboundEventDropped { .. } => "InboundEventDropped",
- Self::InboundDeferred { .. } => "InboundDeferred",
- Self::InboundDeadLettered { .. } => "InboundDeadLettered",
- Self::DevicePaired { .. } => "DevicePaired",
- Self::DeviceRevoked { .. } => "DeviceRevoked",
- Self::DevicePeerOnline { .. } => "DevicePeerOnline",
- Self::DevicePeerOffline { .. } => "DevicePeerOffline",
- Self::DeviceTunnelFrame { .. } => "DeviceTunnelFrame",
- Self::SystemStartup { .. } => "SystemStartup",
- Self::SystemShutdown { .. } => "SystemShutdown",
- Self::SystemRestartRequested { .. } => "SystemRestartRequested",
- Self::SystemShutdownRequested { .. } => "SystemShutdownRequested",
- Self::AutonomyConfigChanged => "AutonomyConfigChanged",
- Self::AgentPathsChanged => "AgentPathsChanged",
- Self::ActiveWorkspaceChanged { .. } => "ActiveWorkspaceChanged",
- Self::HealthChanged { .. } => "HealthChanged",
- Self::HealthRestarted { .. } => "HealthRestarted",
- Self::KeyringConsentRequired => "KeyringConsentRequired",
- Self::KeyringDecryptFailed { .. } => "KeyringDecryptFailed",
- Self::SessionExpired { .. } => "SessionExpired",
- Self::CredentialChanged { .. } => "CredentialChanged",
- Self::ApprovalRequested { .. } => "ApprovalRequested",
- Self::ApprovalDecided { .. } => "ApprovalDecided",
- Self::FlowApprovalRequested { .. } => "FlowApprovalRequested",
- Self::PlanReviewRequested { .. } => "PlanReviewRequested",
- Self::PlanReviewDecided { .. } => "PlanReviewDecided",
- Self::ExternalTransferPending { .. } => "ExternalTransferPending",
- Self::ApprovalGateOverrideIgnored { .. } => "ApprovalGateOverrideIgnored",
- Self::ApprovalGateDisabled { .. } => "ApprovalGateDisabled",
- Self::ArtifactReady { .. } => "ArtifactReady",
- Self::ArtifactFailed { .. } => "ArtifactFailed",
- Self::ArtifactPending { .. } => "ArtifactPending",
- Self::McpServerInstalled { .. } => "McpServerInstalled",
- Self::McpServerConnected { .. } => "McpServerConnected",
- Self::McpServerDisconnected { .. } => "McpServerDisconnected",
- Self::McpClientToolExecuted { .. } => "McpClientToolExecuted",
- Self::McpToolRejected { .. } => "McpToolRejected",
- Self::McpServerProbeTimedOut { .. } => "McpServerProbeTimedOut",
- Self::McpServerTransportDropped { .. } => "McpServerTransportDropped",
- Self::McpServerReconnected { .. } => "McpServerReconnected",
- Self::McpServerReconnectFailed { .. } => "McpServerReconnectFailed",
- Self::McpServerParked { .. } => "McpServerParked",
- Self::EmbeddingModelUnhealthy { .. } => "EmbeddingModelUnhealthy",
- Self::ProviderApiKeyRejected { .. } => "ProviderApiKeyRejected",
- Self::TaskSourceFetched { .. } => "TaskSourceFetched",
- Self::TaskSourceTaskIngested { .. } => "TaskSourceTaskIngested",
- Self::TaskSourceFetchFailed { .. } => "TaskSourceFetchFailed",
- Self::ThreadGoalUpdated { .. } => "ThreadGoalUpdated",
- Self::ThreadGoalCleared { .. } => "ThreadGoalCleared",
- Self::ThreadTodosChanged { .. } => "ThreadTodosChanged",
- Self::ThreadRunModeChanged { .. } => "ThreadRunModeChanged",
- }
- }
-
/// Best-effort agent/session hint for display (not all events carry one).
pub fn agent_hint(&self) -> Option<&str> {
match self {
diff --git a/crates/openhuman-core/src/core/events/variant_names.rs b/crates/openhuman-core/src/core/events/variant_names.rs
new file mode 100644
index 0000000000..d0dc541e62
--- /dev/null
+++ b/crates/openhuman-core/src/core/events/variant_names.rs
@@ -0,0 +1,125 @@
+//! [`DomainEvent::variant_name`]: the stable name of each variant.
+
+use super::DomainEvent;
+
+impl DomainEvent {
+ /// Stable variant name without payload (avoids Debug format coupling).
+ pub fn variant_name(&self) -> &'static str {
+ match self {
+ Self::AgentTurnStarted { .. } => "AgentTurnStarted",
+ Self::AgentTurnCompleted { .. } => "AgentTurnCompleted",
+ Self::ConversationTurnCommitted { .. } => "ConversationTurnCommitted",
+ Self::AgentError { .. } => "AgentError",
+ Self::SubagentSpawned { .. } => "SubagentSpawned",
+ Self::SubagentCompleted { .. } => "SubagentCompleted",
+ Self::SubagentFailed { .. } => "SubagentFailed",
+ Self::SubagentAwaitingUser { .. } => "SubagentAwaitingUser",
+ Self::AgentOrchestrationSpawned { .. } => "AgentOrchestrationSpawned",
+ Self::AgentOrchestrationCompleted { .. } => "AgentOrchestrationCompleted",
+ Self::AgentOrchestrationFailed { .. } => "AgentOrchestrationFailed",
+ Self::AgentOrchestrationClosed { .. } => "AgentOrchestrationClosed",
+ Self::RunQueueMessageQueued { .. } => "RunQueueMessageQueued",
+ Self::RunQueueFollowupDispatched { .. } => "RunQueueFollowupDispatched",
+ Self::RunQueueInterrupted { .. } => "RunQueueInterrupted",
+ Self::RunQueueMessageDelivered { .. } => "RunQueueMessageDelivered",
+ Self::RunQueueSteerRequeued { .. } => "RunQueueSteerRequeued",
+ Self::MonitorStatusChanged { .. } => "MonitorStatusChanged",
+ Self::MonitorLine { .. } => "MonitorLine",
+ Self::MemoryStored { .. } => "MemoryStored",
+ Self::MemoryRecalled { .. } => "MemoryRecalled",
+ Self::ChannelInboundMessage { .. } => "ChannelInboundMessage",
+ Self::ChannelMessageReceived { .. } => "ChannelMessageReceived",
+ Self::ChannelMessageProcessed { .. } => "ChannelMessageProcessed",
+ Self::ChannelReactionReceived { .. } => "ChannelReactionReceived",
+ Self::ChannelReactionSent { .. } => "ChannelReactionSent",
+ Self::ChannelConnected { .. } => "ChannelConnected",
+ Self::ChannelDisconnected { .. } => "ChannelDisconnected",
+ Self::CronJobTriggered { .. } => "CronJobTriggered",
+ Self::CronJobCompleted { .. } => "CronJobCompleted",
+ Self::CronDeliveryRequested { .. } => "CronDeliveryRequested",
+ Self::ProactiveMessageRequested { .. } => "ProactiveMessageRequested",
+ Self::CronSystemJobDue { .. } => "CronSystemJobDue",
+ Self::FlowRunProgress { .. } => "FlowRunProgress",
+ Self::FlowRunStarted { .. } => "FlowRunStarted",
+ Self::FlowRunFinished { .. } => "FlowRunFinished",
+ Self::FlowChanged { .. } => "FlowChanged",
+ Self::WorkflowLoaded { .. } => "WorkflowLoaded",
+ Self::WorkflowStopped { .. } => "WorkflowStopped",
+ Self::WorkflowStartFailed { .. } => "WorkflowStartFailed",
+ Self::WorkflowExecuted { .. } => "WorkflowExecuted",
+ Self::WorkflowsChanged { .. } => "WorkflowsChanged",
+ Self::ToolExecutionStarted { .. } => "ToolExecutionStarted",
+ Self::ToolExecutionCompleted { .. } => "ToolExecutionCompleted",
+ Self::WorkspacePrepared { .. } => "WorkspacePrepared",
+ Self::WorkspaceViolation { .. } => "WorkspaceViolation",
+ Self::WorkspaceCleanup { .. } => "WorkspaceCleanup",
+ Self::WebhookIncomingRequest { .. } => "WebhookIncomingRequest",
+ Self::WebhookReceived { .. } => "WebhookReceived",
+ Self::WebhookRegistered { .. } => "WebhookRegistered",
+ Self::WebhookUnregistered { .. } => "WebhookUnregistered",
+ Self::WebhookProcessed { .. } => "WebhookProcessed",
+ Self::ComposioTriggerReceived { .. } => "ComposioTriggerReceived",
+ Self::ComposioConnectionCreated { .. } => "ComposioConnectionCreated",
+ Self::ComposioConnectionDeleted { .. } => "ComposioConnectionDeleted",
+ Self::ComposioIntegrationsChanged { .. } => "ComposioIntegrationsChanged",
+ Self::ComposioActionExecuted { .. } => "ComposioActionExecuted",
+ Self::ComposioConfigChanged { .. } => "ComposioConfigChanged",
+ Self::TriggerEvaluated { .. } => "TriggerEvaluated",
+ Self::TriggerEscalated { .. } => "TriggerEscalated",
+ Self::TriggerEscalationFailed { .. } => "TriggerEscalationFailed",
+ Self::NotificationIngested { .. } => "NotificationIngested",
+ Self::NotificationTriaged { .. } => "NotificationTriaged",
+ Self::InboundEventDropped { .. } => "InboundEventDropped",
+ Self::InboundDeferred { .. } => "InboundDeferred",
+ Self::InboundDeadLettered { .. } => "InboundDeadLettered",
+ Self::DevicePaired { .. } => "DevicePaired",
+ Self::DeviceRevoked { .. } => "DeviceRevoked",
+ Self::DevicePeerOnline { .. } => "DevicePeerOnline",
+ Self::DevicePeerOffline { .. } => "DevicePeerOffline",
+ Self::DeviceTunnelFrame { .. } => "DeviceTunnelFrame",
+ Self::SystemStartup { .. } => "SystemStartup",
+ Self::SystemShutdown { .. } => "SystemShutdown",
+ Self::SystemRestartRequested { .. } => "SystemRestartRequested",
+ Self::SystemShutdownRequested { .. } => "SystemShutdownRequested",
+ Self::AutonomyConfigChanged => "AutonomyConfigChanged",
+ Self::AgentPathsChanged => "AgentPathsChanged",
+ Self::ActiveWorkspaceChanged { .. } => "ActiveWorkspaceChanged",
+ Self::HealthChanged { .. } => "HealthChanged",
+ Self::HealthRestarted { .. } => "HealthRestarted",
+ Self::KeyringConsentRequired => "KeyringConsentRequired",
+ Self::KeyringDecryptFailed { .. } => "KeyringDecryptFailed",
+ Self::SessionExpired { .. } => "SessionExpired",
+ Self::CredentialChanged { .. } => "CredentialChanged",
+ Self::ApprovalRequested { .. } => "ApprovalRequested",
+ Self::ApprovalDecided { .. } => "ApprovalDecided",
+ Self::FlowApprovalRequested { .. } => "FlowApprovalRequested",
+ Self::PlanReviewRequested { .. } => "PlanReviewRequested",
+ Self::PlanReviewDecided { .. } => "PlanReviewDecided",
+ Self::ExternalTransferPending { .. } => "ExternalTransferPending",
+ Self::ApprovalGateOverrideIgnored { .. } => "ApprovalGateOverrideIgnored",
+ Self::ApprovalGateDisabled { .. } => "ApprovalGateDisabled",
+ Self::ArtifactReady { .. } => "ArtifactReady",
+ Self::ArtifactFailed { .. } => "ArtifactFailed",
+ Self::ArtifactPending { .. } => "ArtifactPending",
+ Self::McpServerInstalled { .. } => "McpServerInstalled",
+ Self::McpServerConnected { .. } => "McpServerConnected",
+ Self::McpServerDisconnected { .. } => "McpServerDisconnected",
+ Self::McpClientToolExecuted { .. } => "McpClientToolExecuted",
+ Self::McpToolRejected { .. } => "McpToolRejected",
+ Self::McpServerProbeTimedOut { .. } => "McpServerProbeTimedOut",
+ Self::McpServerTransportDropped { .. } => "McpServerTransportDropped",
+ Self::McpServerReconnected { .. } => "McpServerReconnected",
+ Self::McpServerReconnectFailed { .. } => "McpServerReconnectFailed",
+ Self::McpServerParked { .. } => "McpServerParked",
+ Self::EmbeddingModelUnhealthy { .. } => "EmbeddingModelUnhealthy",
+ Self::ProviderApiKeyRejected { .. } => "ProviderApiKeyRejected",
+ Self::TaskSourceFetched { .. } => "TaskSourceFetched",
+ Self::TaskSourceTaskIngested { .. } => "TaskSourceTaskIngested",
+ Self::TaskSourceFetchFailed { .. } => "TaskSourceFetchFailed",
+ Self::ThreadGoalUpdated { .. } => "ThreadGoalUpdated",
+ Self::ThreadGoalCleared { .. } => "ThreadGoalCleared",
+ Self::ThreadTodosChanged { .. } => "ThreadTodosChanged",
+ Self::ThreadRunModeChanged { .. } => "ThreadRunModeChanged",
+ }
+ }
+}