8000 feat: claude-code workspace persistence by DevelopmentCats · Pull Request #154 · coder/registry · GitHub
[go: up one dir, main page]

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
Merged
Changes from 1 commit
Commits
Show all changes
15 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
docs: add session persistence section to claude-code README
  • Loading branch information
DevelopmentCats committed Jun 12, 2025
commit 65320bef0e4b923b09a702f424df755380f2a4ea
23 changes: 23 additions & 0 deletions registry/coder/modules/claude-code/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,29 @@ module "claude-code" {
}
```

## Session Persistence (Experimental)

Enable automatic session persistence to maintain Claude Code sessions across workspace restarts:

```tf
module "claude-code" {
count = data.coder_workspace.me.start_count
source = "registry.coder.com/coder/claude-code/coder"
version = "1.4.0"
agent_id = coder_agent.example.id
folder = "/home/coder"
install_claude_code = true

# Enable tmux with session persistence
experiment_use_tmux = true
experiment_tmux_session_persistence = true
experiment_tmux_session_save_interval = "10" # Save every 10 minutes
experiment_report_tasks = true
}
```

Session persistence automatically saves and restores your Claude Code environment, including working directory and command history.

## Run standalone

Run Claude Code as a standalone app in your workspace. This will install Claude Code and run it directly without using screen or any task reporting to the Coder UI.
Expand Down
0