Skip to content

fix(codex): pass --resume through to initial session start#2

Open
cjb0001 wants to merge 1 commit intomainfrom
fix/codex-resume-passthrough
Open

fix(codex): pass --resume through to initial session start#2
cjb0001 wants to merge 1 commit intomainfrom
fix/codex-resume-passthrough

Conversation

@cjb0001
Copy link
Owner

@cjb0001 cjb0001 commented Feb 27, 2026

Summary

Fixes Codex resume wiring in Happy CLI by passing --resume through to the initial Codex session start path.

Problem

happy codex --resume <id> did not consistently restore the expected Codex context/history at startup because resume information was not passed into the first runCodex invocation path.

Changes

  • Parse and forward resume session ID from CLI argument handling.
  • Thread resumeSessionId through to Codex startup so initial session bootstrap receives resume target.

Files changed

  • packages/happy-cli/src/index.ts
  • packages/happy-cli/src/codex/runCodex.ts

Notes

This PR is scoped to resume passthrough only.

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