MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / AgentCommands

Enum AgentCommands

atomic-cli/src/commands/agent/mod.rs:93–214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91/// Available agent subcommands.
92#[derive(Debug, Subcommand)]
93pub enum AgentCommands {
94 /// Install agent hooks for turn-level recording.
95 ///
96 /// Writes hooks into the agent's configuration file (e.g.,
97 /// `.claude/settings.json`) that call back to `atomic agent hooks`
98 /// on each lifecycle event. Also creates the `.atomic/sessions/`
99 /// directory for session state persistence.
100 ///
101 /// # Examples
102 ///
103 /// ```text
104 /// # Auto-detect which agent is present
105 /// atomic agent enable
106 ///
107 /// # Specify the agent explicitly
108 /// atomic agent enable --agent claude-code
109 ///
110 /// # Force reinstall (removes existing Atomic hooks first)
111 /// atomic agent enable --force
112 ///
113 /// # Install for all detected agents
114 /// atomic agent enable --all
115 /// ```
116 Enable(Enable),
117
118 /// Remove agent hooks.
119 ///
120 /// Removes Atomic hooks from the agent's configuration file while
121 /// preserving any non-Atomic hooks. Session state files in
122 /// `.atomic/sessions/` are not deleted.
123 ///
124 /// # Examples
125 ///
126 /// ```text
127 /// # Disable for the auto-detected agent
128 /// atomic agent disable
129 ///
130 /// # Disable for a specific agent
131 /// atomic agent disable --agent claude-code
132 /// ```
133 Disable(Disable),
134
135 /// Show agent integration status.
136 ///
137 /// Displays information about installed hooks, active sessions,
138 /// file watcher state, and recent turn history.
139 ///
140 /// # Examples
141 ///
142 /// ```text
143 /// # Show status
144 /// atomic agent status
145 ///
146 /// # Show verbose status with session details
147 /// atomic agent status --verbose
148 /// ```
149 Status(AgentStatus),
150

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected