Enhanced Sandbox Command Filtering #
What: Added support for substring-based command filtering in the sandbox configuration through the new tengu_sandbox_disabled_commands feature gate.
How it works:
The sandbox now supports two methods for disabling commands:
- Exact command matching (existing
unsandboxedCommands in settings) - Substring matching (new
tengu_sandbox_disabled_commands feature flag)
Details:
- Substring matching allows blocking commands that contain specific patterns anywhere in the command string
- The new
tengu_sandbox_disabled_commands feature flag provides commands and substrings arrays - Both methods are combined when evaluating whether a command should bypass sandboxing
- Evidence:
Qg2() function at line 379010 in v1.0.127 (replaces qu2() at line 383844 in v1.0.126)
Clearer History Search Prompts #
What: Updated history search interface text for better clarity.
Changes:
- Changed "bck-i-search:" to "search prompts:"
- Changed "failing bck-i-search:" to "no matching prompt:"
- Added visible cursor in search field (previously hidden)
- Evidence: Modified in function at line 425036 in v1.0.127 (was at line 429928 in v1.0.126)
Why it matters: The new prompts use plain language instead of technical terminal jargon, making the feature more discoverable and user-friendly.
Better File Restore Messaging #
What: Improved clarity when viewing file restoration previews.
Changes:
- When no files changed: Now shows "The code has not changed" instead of "The code will be restored"
- Simplified multi-file display using the new
kGB component - More consistent formatting across different restore scenarios
- Evidence: Function
ey6() at line 413105 in v1.0.127 (was ek6() at line 415828 in v1.0.126)
Why it matters: Users can now immediately understand whether there are actual changes to review or if the code state is unchanged.
Color Scheme Refactoring #
What: Internal refactoring of color definitions from hex values to ANSI color names.
Changes:
- Light theme colors now use
"ansi:colorName" format (e.g., "ansi:magenta", "ansi:blueBright") - Dark theme colors similarly use ANSI names
- Added new
clawd_body color property - Evidence: Color objects
QlQ and ZlQ around line 356107-356221 in v1.0.127 (replaced rlQ and olQ at line 356102-356158 in v1.0.126)
Why it matters: While mostly internal, this improves cross-platform color rendering and maintainability. Users may notice slightly improved color consistency across different terminal emulators.