Spaces:
Sleeping
Sleeping
Commit History
-
Infrastructure migration: Align Cain with HuggingClaw architecture
Claude Code +1: Claude Opus 4.6This commit migrates Cain from the simple Python/Gradio architecture to the full HuggingClaw OpenClaw gateway system. This is critical infrastructure work to enable proper OpenClaw functionality. Major changes: - Replace Python Dockerfile with Node.js-based OpenClaw runtime - Add complete sync_hf.py for HF Dataset persistence (39KB vs 1.5KB stub) - Add entrypoint.sh with DNS resolution, proxy setup, and preload scripts - Add coding-agent extension for autonomous HF Space management - Add workspace-templates for agent identity configuration - Add proper openclaw.json configuration for gateway and providers - Include dns-fix.cjs, telegram-proxy.cjs, token-redirect.cjs for HF Spaces This migration enables Cain to run as a full OpenClaw instance with: - OpenClaw gateway system on port 7860 - A2A gateway extension support - HF Dataset persistence for ~/.openclaw state - Coding agent tools for autonomous space management - Proper Telegram and WhatsApp integration Co-Authored-By: Claude Op…8907cf8 -
Upload scripts/openclaw.json.default with huggingface_hub
Verified signaturebaba131
-
fix: switch Zhipu provider to Anthropic-compatible endpoint
The OpenAI-compatible endpoint (paas/v4) returns "insufficient balance" but the Anthropic-compatible endpoint (open.bigmodel.cn/api/anthropic) works. Updated api type to "anthropic-messages" and new API key set. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>3227ad9 -
fix: update Zhipu model IDs in default config and dataset template
These files still referenced deprecated glm-4-flash/glm-4-plus models, causing "Fallback active: zhipu/glm-4-flash" → 400 model not found. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>2a1b70d
-
deploy: HuggingClaw with original Dockerfile
tao-shenb19d31a