Skip to main content

Crate zeph_subagent

Crate zeph_subagent 

Source
Expand description

Subagent management: spawning, grants, transcripts, and lifecycle hooks.

Re-exports§

pub use command::AgentCommand;
pub use command::AgentsCommand;
pub use def::SubAgentDef;
pub use def::SubAgentPermissions;
pub use def::is_valid_agent_name;
pub use error::SubAgentError;
pub use filter::FilteredToolExecutor;
pub use filter::PlanModeExecutor;
pub use filter::filter_skills;
pub use grants::Grant;
pub use grants::GrantKind;
pub use grants::PermissionGrants;
pub use grants::SecretRequest;
pub use hooks::HookError;
pub use hooks::fire_hooks;
pub use hooks::matching_hooks;
pub use manager::SubAgentHandle;
pub use manager::SubAgentManager;
pub use manager::SubAgentStatus;
pub use memory::ensure_memory_dir;
pub use memory::load_memory_content;
pub use resolve::resolve_agent_paths;
pub use state::SubAgentState;
pub use transcript::TranscriptMeta;
pub use transcript::TranscriptReader;
pub use transcript::TranscriptWriter;
pub use transcript::sweep_old_transcripts;

Modules§

command
def
error
filter
grants
hooks
Lifecycle hooks for sub-agents.
manager
memory
resolve
state
transcript

Structs§

HookDef
A single hook definition.
HookMatcher
Tool-name matcher with associated hooks.
SkillFilter
SubagentHooks
Per-agent frontmatter hook collections (PreToolUse / PostToolUse).

Enums§

HookType
The type of hook — currently only shell command hooks are supported.
MemoryScope
Persistence scope for sub-agent memory files.
PermissionMode
Controls tool execution and prompt interactivity for a sub-agent.
ToolPolicy