Skip to content

Add devcontainer template and move tmux config into feature - #8

Merged
Gnnng merged 3 commits into
mainfrom
add-tmux-to-claude-code-feature
Feb 22, 2026
Merged

Gnnng merged 3 commits into
mainfrom
add-tmux-to-claude-code-feature

Conversation

@Gnnng

@Gnnng Gnnng commented Feb 22, 2026

Copy link
Copy Markdown
Owner

Summary

  • Devcontainer template: Add devcontainer-templates/src/devcontainer for GHCR publishing (ghcr.io/Gnnng/cc-kit/devcontainer), so users can scaffold a complete Claude Code devcontainer setup with devcontainer templates apply
  • tmux config in feature: Move set -g mouse on into the claude-code feature's install.sh so all feature users get it automatically — no more postCreateCommand needed
  • Simplified cc-devcontainer skill: Remove tmux.conf template and postCreateCommand from the devcontainer-init skill
  • Unified publish workflow: Rename publish-features.ymlpublish-devcontainers.yml and add template publishing step
  • CI: Add JSON validation for devcontainer-template.json

Test plan

  • jq . devcontainer-templates/src/devcontainer/devcontainer-template.json validates
  • shellcheck devcontainer-features/src/claude-code/install.sh passes
  • Rebuild devcontainer and verify ~/.tmux.conf exists with set -g mouse on
  • devcontainer templates apply --template-id ghcr.io/Gnnng/cc-kit/devcontainer works after publish

Install tmux as part of the claude-code devcontainer feature using
distribution-agnostic package detection (apt-get/dnf/yum/apk). This
removes the need for a custom Dockerfile in cc-devcontainer, switching
the skill template to an image-based setup with the claude-code feature
handling all installation (Claude Code, tmux, cc-headless, cc-launcher).
- Add devcontainer template (devcontainer-templates/src/devcontainer) for
  GHCR publishing so users can scaffold a complete Claude Code setup
- Move tmux config (set -g mouse on) into the claude-code feature
  install.sh so all feature users get it automatically
- Remove tmux.conf template and postCreateCommand from cc-devcontainer
  skill (no longer needed)
- Rename publish-features.yml to publish-devcontainers.yml and add
  template publishing step
- Add template JSON validation to CI
@Gnnng Gnnng changed the title Add tmux to claude-code feature and simplify cc-devcontainer templates Add devcontainer template and move tmux config into feature Feb 22, 2026
- Add LANG/LC_ALL to containerEnv in devcontainer-feature.json so all
  feature users get UTF-8 locale automatically
- Remove containerEnv and runArgs --env-file from both devcontainer.json
  templates (feature handles locale, env-file was fragile)
- Add remoteEnv with CLAUDE_CODE_OAUTH_TOKEN to devcontainer template
  for host-to-container auth passthrough
- Update devcontainer-init skill to inject remoteEnv instead of .env
@Gnnng
Gnnng merged commit 1da870e into main Feb 22, 2026
3 checks passed
@Gnnng
Gnnng deleted the add-tmux-to-claude-code-feature branch February 22, 2026 14:12
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