Skip to content

feat: claude-code workspace persistence #154

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
Jun 19, 2025

Conversation

DevelopmentCats
Copy link
Contributor

@DevelopmentCats DevelopmentCats commented Jun 18, 2025

Description

Add Tmux Plugin Manager with resurrect and continuum plugins. Add functionality to be able to enable workspace persistence to save the tmux session automatically so that it can persist through workspace restarts.


Type of Change

  • New module
  • Bug fix
  • Feature/enhancement
  • Documentation
  • Other

Module Information

Path: registry/coder/modules/claude-code
New version: v1.4.0
Breaking change: [ ] Yes [X] No


Testing & Validation

  • Tests pass (bun test)
  • Code formatted (bun run fmt)
  • Changes tested locally

Related Issues

Closes #29

… in claude-code module

- Added a function to install tmux using various package managers if not already present.
- Improved validation for session persistence requirements, ensuring tmux is enabled when persistence is requested.
- Streamlined the installation process for git and tmux plugins within the tmux session configuration.
…dule

- Removed redundant comments and improved script clarity.
- Enhanced session management for tmux, ensuring proper handling of existing sessions.
- Added configuration to save bash history and ensure tmux sessions are created only when they do not already exist.
- Streamlined the logic for starting Claude within existing sessions, enhancing user experience and session handling.
@DevelopmentCats DevelopmentCats changed the title Cat/claude code workspace resume feat: claude-code workspace persistence Jun 18, 2025
@DevelopmentCats DevelopmentCats added the version:minor Add to PRs requiring a minor version upgrade label Jun 18, 2025
@coder coder deleted a comment from github-actions bot Jun 19, 2025
@DevelopmentCats DevelopmentCats added version:minor Add to PRs requiring a minor version upgrade and removed version:minor Add to PRs requiring a minor version upgrade labels Jun 19, 2025
@DevelopmentCats DevelopmentCats merged commit e5ccf74 into main Jun 19, 2025
5 checks passed
@DevelopmentCats DevelopmentCats deleted the cat/claude-code-workspace-resume branch June 19, 2025 21:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
version:minor Add to PRs requiring a minor version upgrade
Projects
None yet
Development

Successfully merging this pull request may close these issues.

agent modules: Persist agentic chat sessions across workspace restarts
2 participants