1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
// Source: ~/claudecode/openclaudecode/src/tools/SnipTool/prompt.ts //! SnipTool — model-callable compaction tool (feature-gated stub) pub mod prompt; use prompt::SNIP_TOOL_NAME; /// SnipTool — model-callable compaction tool pub struct SnipTool; impl SnipTool { pub fn new() -> Self { Self } pub fn name(&self) -> &str { SNIP_TOOL_NAME } } impl Default for SnipTool { fn default() -> Self { Self::new() } }