feat: migrate backend features and add skills support#7
Merged
Conversation
- Configurable allowed/auto-allowed tools via ALLOWED_TOOLS and AUTO_ALLOW_TOOLS env vars - MCP server support: load from ~/.claude/mcp.json, manage via API (CRUD endpoints) - Session auto-reconnect via get_or_ensure_session() when model/MCP config changes - S3 backup trigger after send_message_stream completes - Environment variables management API (CRUD for ~/.claude/settings.json env section) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add claude_sync_manager, s3_client, workspace_sync modules for S3 backup - Add pyjwt and s5cmd dependencies to pyproject.toml - Add Bedrock model and S3 sync config to CDK env-config and stack - Remove legacy deploy/ shell scripts (replaced by CDK infrastructure) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Create .claude/skills/slide-theme-generator/SKILL.md: generates
cohesive CSS custom-property themes from keywords or brand colors
- Update setting_sources from ["user"] to ["user", "project"] so the
SDK discovers skills in both ~/.claude/skills/ and {cwd}/.claude/skills/
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Dockerfile: COPY .claude/skills/ into /app/skills/ in the image - serve: copy bundled skills to /root/.claude/skills/ on startup using cp -rn (no-clobber) so S3-restored user modifications are preserved Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ALLOWED_TOOLS/AUTO_ALLOW_TOOLSenv vars~/.claude/mcp.json, CRUD API endpointsget_or_ensure_session()recreates session when model/MCP config changessend_message_streamfinishes~/.claude/settings.jsonenv sectionslide-theme-generatorskill, installed to~/.claude/skills/at container startupTest plan
ENABLE_S3_SYNC=false— verify no S3 errorsALLOWED_TOOLS=Read,Write,Bash— verify only those tools are enabledGET /env-vars,POST /env-vars,DELETE /env-vars/{key}— verify CRUDGET /mcp-servers,POST /mcp-servers,DELETE /mcp-servers/{name}— verify CRUDmodel— verify session auto-reconnects~/.claude/skills/at container startup🤖 Generated with Claude Code