Skip to content

feat: migrate backend features and add skills support#7

Merged
IanLiYi1996 merged 4 commits into
mainfrom
dev
Feb 6, 2026
Merged

feat: migrate backend features and add skills support#7
IanLiYi1996 merged 4 commits into
mainfrom
dev

Conversation

@IanLiYi1996
Copy link
Copy Markdown
Owner

Summary

  • Configurable allowed/auto-allowed tools via ALLOWED_TOOLS / AUTO_ALLOW_TOOLS env vars
  • MCP server support — load from ~/.claude/mcp.json, CRUD API endpoints
  • Session auto-reconnectget_or_ensure_session() recreates session when model/MCP config changes
  • S3 backup after task completion — triggered when send_message_stream finishes
  • Environment variables management API — CRUD for ~/.claude/settings.json env section
  • Skills support — bundled slide-theme-generator skill, installed to ~/.claude/skills/ at container startup
  • S3 sync infrastructure — claude_sync_manager, s3_client, workspace_sync modules
  • Remove legacy deploy/ shell scripts (replaced by CDK infrastructure)

Test plan

  • Start server with ENABLE_S3_SYNC=false — verify no S3 errors
  • Set ALLOWED_TOOLS=Read,Write,Bash — verify only those tools are enabled
  • Call GET /env-vars, POST /env-vars, DELETE /env-vars/{key} — verify CRUD
  • Call GET /mcp-servers, POST /mcp-servers, DELETE /mcp-servers/{name} — verify CRUD
  • Send streaming message with different model — verify session auto-reconnects
  • Verify bundled skills are copied to ~/.claude/skills/ at container startup

🤖 Generated with Claude Code

ianleely and others added 4 commits February 6, 2026 02:47
- 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>
@IanLiYi1996 IanLiYi1996 merged commit 6b88612 into main Feb 6, 2026
2 of 4 checks passed
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