From 441c21f1e8da20dafdf7e71b5c27d2c5eb769e1d Mon Sep 17 00:00:00 2001 From: twokidsCarl Date: Tue, 7 Apr 2026 21:50:52 -0700 Subject: [PATCH] Clean up docs: remove stale command references - Remove /shell, /memory, /forget from tab completion candidates (these commands don't exist in TUI) - Remove /role from tab completion (already covered via Commands::COMMANDS) - Update ObjectExplorer docstring: remove /ls and /whereami references Co-Authored-By: Claude Opus 4.6 --- lib/claw/tui/input_handler.rb | 2 +- lib/claw/tui/object_explorer.rb | 2 +- lib/claw/version.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/claw/tui/input_handler.rb b/lib/claw/tui/input_handler.rb index 392e90a..2dc30b0 100644 --- a/lib/claw/tui/input_handler.rb +++ b/lib/claw/tui/input_handler.rb @@ -41,7 +41,7 @@ def self.completions(prefix, binding:, memory: nil) # Slash commands candidates.concat(Claw::Commands::COMMANDS.map { |c| "/#{c}" }) - candidates.concat(%w[/plan /role /cd /source /doc /find /shell /memory /forget /help /ask /new]) + candidates.concat(%w[/help /ask /new /plan /cd /source /doc /find]) # Memory keywords if memory diff --git a/lib/claw/tui/object_explorer.rb b/lib/claw/tui/object_explorer.rb index c7c4032..c04b8fe 100644 --- a/lib/claw/tui/object_explorer.rb +++ b/lib/claw/tui/object_explorer.rb @@ -2,7 +2,7 @@ module Claw module TUI - # Object exploration commands (pry-style): /ls, /cd, /source, /doc, /find, /whereami. + # Object exploration commands (pry-style): /cd, /source, /doc, /find. module ObjectExplorer # @param binding [Binding] # @return [Hash] { type:, data: } diff --git a/lib/claw/version.rb b/lib/claw/version.rb index e92ac47..7284284 100644 --- a/lib/claw/version.rb +++ b/lib/claw/version.rb @@ -2,5 +2,5 @@ module Claw VERSION = "0.2.2" - BUILD = "20260407-010" + BUILD = "20260407-011" end