Skip to content

Commit 9efb533

Browse files
lroollelroolle
authored andcommitted
init: Initial release v0.1.0
Docker-based Claude Code CLI with safe --dangerously-skip-permissions via container isolation.
0 parents  commit 9efb533

48 files changed

Lines changed: 8094 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.dockerignore

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Git
2+
.git
3+
.gitignore
4+
5+
# Documentation
6+
*.md
7+
LICENSE
8+
SECURITY.md
9+
CHANGELOG.md
10+
11+
# Local files
12+
.DS_Store
13+
*.log
14+
*.tmp
15+
.env
16+
.env.*
17+
18+
# Docker
19+
.dockerignore
20+
docker-compose.yml
21+
docker-compose.yaml
22+
compose.yml
23+
compose.yaml
24+
25+
# Development
26+
.vscode/
27+
.idea/
28+
*.swp
29+
*.swo
30+
*~
31+
32+
# References directory (don't need in image)
33+
references/
34+
35+
# Claude trace logs
36+
.claude-trace/
37+
38+
# Build artifacts
39+
*.tar
40+
*.tar.gz
41+
*.zip

.gitignore

Lines changed: 144 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,144 @@
1+
# Created by https://www.toptal.com/developers/gitignore/api/node
2+
# Edit at https://www.toptal.com/developers/gitignore?templates=node
3+
4+
### Node ###
5+
# Logs
6+
logs
7+
*.log
8+
npm-debug.log*
9+
yarn-debug.log*
10+
yarn-error.log*
11+
lerna-debug.log*
12+
.pnpm-debug.log*
13+
14+
# Diagnostic reports (https://nodejs.org/api/report.html)
15+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
16+
17+
# Runtime data
18+
pids
19+
*.pid
20+
*.seed
21+
*.pid.lock
22+
23+
# Directory for instrumented libs generated by jscoverage/JSCover
24+
lib-cov
25+
26+
# Coverage directory used by tools like istanbul
27+
coverage
28+
*.lcov
29+
30+
# nyc test coverage
31+
.nyc_output
32+
33+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
34+
.grunt
35+
36+
# Bower dependency directory (https://bower.io/)
37+
bower_components
38+
39+
# node-waf configuration
40+
.lock-wscript
41+
42+
# Compiled binary addons (https://nodejs.org/api/addons.html)
43+
build/Release
44+
45+
# Dependency directories
46+
node_modules/
47+
jspm_packages/
48+
49+
# Snowpack dependency directory (https://snowpack.dev/)
50+
web_modules/
51+
52+
# TypeScript cache
53+
*.tsbuildinfo
54+
55+
# Optional npm cache directory
56+
.npm
57+
58+
# Optional eslint cache
59+
.eslintcache
60+
61+
# Optional stylelint cache
62+
.stylelintcache
63+
64+
# Microbundle cache
65+
.rpt2_cache/
66+
.rts2_cache_cjs/
67+
.rts2_cache_es/
68+
.rts2_cache_umd/
69+
70+
# Optional REPL history
71+
.node_repl_history
72+
73+
# Output of 'npm pack'
74+
*.tgz
75+
76+
# Yarn Integrity file
77+
.yarn-integrity
78+
79+
# dotenv environment variable files
80+
.env
81+
.env.development.local
82+
.env.test.local
83+
.env.production.local
84+
.env.local
85+
86+
# parcel-bundler cache (https://parceljs.org/)
87+
.cache
88+
.parcel-cache
89+
90+
# Next.js build output
91+
.next
92+
out
93+
94+
# Nuxt.js build / generate output
95+
.nuxt
96+
dist
97+
98+
# Gatsby files
99+
.cache/
100+
# Comment in the public line in if your project uses Gatsby and not Next.js
101+
# https://nextjs.org/blog/next-9-1#public-directory-support
102+
# public
103+
104+
# vuepress build output
105+
.vuepress/dist
106+
107+
# vuepress v2.x temp and cache directory
108+
.temp
109+
110+
# Docusaurus cache and generated files
111+
.docusaurus
112+
113+
# Serverless directories
114+
.serverless/
115+
116+
# FuseBox cache
117+
.fusebox/
118+
119+
# DynamoDB Local files
120+
.dynamodb/
121+
122+
# TernJS port file
123+
.tern-port
124+
125+
# Stores VSCode versions used for testing VSCode extensions
126+
.vscode-test
127+
128+
# yarn v2
129+
.yarn/cache
130+
.yarn/unplugged
131+
.yarn/build-state.yml
132+
.yarn/install-state.gz
133+
.pnp.*
134+
135+
### Node Patch ###
136+
# Serverless Webpack directories
137+
.webpack/
138+
139+
# Optional stylelint cache
140+
141+
# SvelteKit build / generate output
142+
.svelte-kit
143+
144+
# End of https://www.toptal.com/developers/gitignore/api/node

CHANGELOG.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Changelog
2+
3+
All notable changes to claude-code-yolo will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [0.1.0] - 2025-06-21
9+
10+
### Added
11+
- Initial release of claude-code-yolo Docker wrapper
12+
- Dual-mode architecture: Local mode (default) and YOLO mode (Docker)
13+
- Support for 4 authentication methods:
14+
- Claude App OAuth (`--claude`, `-c`)
15+
- Anthropic API Key (`--api-key`, `-a`)
16+
- AWS Bedrock (`--bedrock`, `-b`)
17+
- Google Vertex AI (`--vertex`, `-v`)
18+
- Full development environment in Docker image:
19+
- Ubuntu 24.04 base
20+
- Python 3.12, Node.js 22, Go 1.22, Rust
21+
- Development tools: git, docker, aws, jq, ripgrep, fzf
22+
- Claude CLI and claude-trace pre-installed
23+
- Automatic `--dangerously-skip-permissions` in YOLO mode
24+
- Non-root user support with UID/GID mapping
25+
- Authentication file mounting and permission handling
26+
- Proxy support with automatic localhost translation
27+
- Model alias system for easy model selection
28+
- Docker socket mounting option (disabled by default)
29+
- Shell access to container (`--shell`)
30+
- Request tracing support (`--trace`)
31+
- Dangerous directory detection with user confirmation prompt
32+
- Quick install script for one-line setup
33+
- Standalone `claude-yolo` script for convenient access
34+
- Prefixed logging with `[claude.sh]` for better identification
35+
- Updated documentation with claude-trace integration details
36+
37+
### Security
38+
- Container isolation for safe execution
39+
- Directory access limited to current working directory
40+
- Non-root execution inside container
41+
- Docker socket mounting disabled by default
42+
- Warning system for dangerous directories (home, system directories)

0 commit comments

Comments
 (0)