Skip to main content

Module agent

Module agent 

Source
Expand description

Agent command building + tmux invocation.

Supports Claude, Codex, OpenCode, Grok (plus Kimi/MiniMax as Claude aliases). Runs the agent via a runner.sh script executed as the tmux session shell.

Re-exports§

pub use crate::engine::git::shipcheck::Shipcheck;
pub use crate::engine::git::shipcheck::install_shipcheck_hooks;

Structs§

AgentInvocation
Agent invocation configuration.

Functions§

build_agent_message
Build the agent message (task prompt).
build_review_prompt
Build the review prompt for the review agent.
build_system_prompt
Build the system prompt for the agent.
review_system_prompt
Build the system prompt for the review agent.
spawn_in_tmux
Spawn the agent in a tmux session.