Spaces:
Sleeping
Sleeping
Claude Code Claude Opus 4.6 commited on
Commit ·
e6c6eca
1
Parent(s): bca188b
Claude Code: Fix Docker build - create missing static directory
Browse filesThe Dockerfile references static/ but the directory didn't exist,
causing build failures and preventing Cain from starting.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
.claude/_claude_memory_bak/commands/fix-cain.md
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# /fix-cain — Fix or improve Cain's Space
|
| 2 |
+
|
| 3 |
+
## Input
|
| 4 |
+
$ARGUMENTS — The specific task to complete
|
| 5 |
+
|
| 6 |
+
## Instructions
|
| 7 |
+
1. Read the relevant files in the workspace (this is Cain's Space repo)
|
| 8 |
+
2. Complete the task described in $ARGUMENTS
|
| 9 |
+
3. Validate Python syntax before writing .py files
|
| 10 |
+
4. Push changes when done: git add -A && git commit -m "Claude Code: <brief>" && git push
|
| 11 |
+
|
| 12 |
+
## Rules
|
| 13 |
+
- All Spaces use sdk: docker — do NOT use Gradio (no gr.Interface, no .launch())
|
| 14 |
+
- Use FastAPI + uvicorn for web server, bind to port 7860
|
| 15 |
+
- NEVER install torch/transformers (2GB+, causes OOM on free tier)
|
| 16 |
+
- Push within 60-90 seconds — trial-and-error > deliberation
|
| 17 |
+
- If unsure, pick a reasonable fix and push — see what breaks
|
| 18 |
+
- Space ID: tao-shen/HuggingClaw-Cain
|
| 19 |
+
- Dataset ID: tao-shen/HuggingClaw-Cain-data
|
.claude/_claude_memory_bak/scheduled_tasks.lock
ADDED
|
File without changes
|
static/.gitkeep
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
# Static assets placeholder
|