Skip to content

Add /clear alias for fresh sessions / 增加 /clear 新上下文命令#3575

Merged
esengine merged 1 commit into
main-v2from
codex/clear-command-alias
Jun 8, 2026
Merged

Add /clear alias for fresh sessions / 增加 /clear 新上下文命令#3575
esengine merged 1 commit into
main-v2from
codex/clear-command-alias

Conversation

@SivanCola

Copy link
Copy Markdown
Collaborator

Summary

  • add /clear as a Claude Code-compatible alias for /new
  • clarify that fresh context preserves the previous transcript for history/resume
  • expose /clear in slash completion, help text, i18n, README, and SPEC docs

Verification

  • go test ./internal/cli
  • go test ./internal/control with isolated user config

@SivanCola SivanCola requested a review from esengine as a code owner June 8, 2026 10:41
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@github-actions github-actions Bot added tui Terminal UI / CLI (internal/cli, internal/control) agent Core agent loop (internal/agent, internal/control) v2 Go rewrite (1.x) — main-v2 branch, active development labels Jun 8, 2026

@esengine esengine left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Verified: the /clear alias rotates to a fresh context and saves the transcript (controller test passes). Clean Claude Code-compatible alias.

@esengine esengine merged commit cf7e483 into main-v2 Jun 8, 2026
10 checks passed
@esengine esengine deleted the codex/clear-command-alias branch June 8, 2026 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent Core agent loop (internal/agent, internal/control) tui Terminal UI / CLI (internal/cli, internal/control) v2 Go rewrite (1.x) — main-v2 branch, active development

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants