Skip to content

feat: support managed resume hints - #13

Open
alupao wants to merge 1 commit into
StringKe:mainfrom
alupao:feat/resume-hint-override
Open

feat: support managed resume hints#13
alupao wants to merge 1 commit into
StringKe:mainfrom
alupao:feat/resume-hint-override

Conversation

@alupao

@alupao alupao commented Aug 3, 2026

Copy link
Copy Markdown

What changed

  • add an optional CLAUDEX_RESUME_HINT environment variable for launchers that own session recovery
  • replace Claude Code's native claude --resume ... line with that managed command in interactive Unix sessions
  • suppress Claudex's duplicate resume footer only when replacement succeeds
  • preserve partial resume output across PTY read timeouts and keep default behavior unchanged when the variable is absent or invalid
  • document the integration in English and Chinese

Why

Managed launchers such as Orichum expose their own logical session identifiers and recovery command. Printing both the native Claude command and a second wrapper-specific command is noisy and can encourage users to bypass the managed runtime on resume.

Closes #12.

Validation

  • cargo fmt --check
  • cargo clippy -- -D warnings
  • cargo check
  • cargo test (348 unit tests and 1 integration test passed)

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.

feat: allow launchers to override the resume hint

2 participants