Skip to content

🦌 Skip claude config dir setup when resuming existing session - #302

Merged
zdavison merged 1 commit into
mainfrom
deer/skip-claude-config-setup-on-resume
Apr 24, 2026
Merged

🦌 Skip claude config dir setup when resuming existing session#302
zdavison merged 1 commit into
mainfrom
deer/skip-claude-config-setup-on-resume

Conversation

@zdavison

Copy link
Copy Markdown
Owner

Summary

When resuming an existing session, the claude config directory already exists and contains read-only git pack files from the plugin cache. Attempting to re-run setupClaudeConfigDir would fail with EACCES when trying to overwrite those files.

This change guards the setup call so it only runs when the config directory does not already exist.

Changes

  • packages/deerbox/src/session.ts: Added existence check before calling setupClaudeConfigDir to skip re-initialization on session resume

Created by deer — review carefully.

@zdavison
zdavison merged commit e38b70f into main Apr 24, 2026
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