Skip to content

feat(soul): register /btw slash command in soul-level registry#1876

Open
LeonEthan wants to merge 6 commits intoMoonshotAI:mainfrom
LeonEthan:feat/register-btw-slash-command
Open

feat(soul): register /btw slash command in soul-level registry#1876
LeonEthan wants to merge 6 commits intoMoonshotAI:mainfrom
LeonEthan:feat/register-btw-slash-command

Conversation

@LeonEthan
Copy link
Copy Markdown

@LeonEthan LeonEthan commented Apr 14, 2026

Summary

Register "/btw" as a soul-level slash command so it is available in all execution modes, not just the interactive shell.

Changes

  • Added \ to \ in \
  • The handler validates input and delegates to the existing \ API
  • Non-interactive modes (print, web, ACP) now emit standard \ / \ wire events when "/btw" is used
  • Interactive shell behavior is unchanged because \ intercepts "/btw" earlier and routes it to the modal overlay

Testing

  • \ (46 cases) ✅
  • \ ✅
  • Ruff lint check ✅

Open with Devin

Make /btw available as a soul-level slash command so it works in
non-interactive modes (print, web, ACP) via the standard wire
BtwBegin/BtwEnd events. Shell interactive mode continues to intercept
/btw earlier via classify_input() for modal overlay behavior.
Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 1 additional finding.

Open in Devin Review

chatgpt-codex-connector[bot]

This comment was marked as resolved.

chatgpt-codex-connector[bot]

This comment was marked as resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant