Spaces:
Runtime error
Runtime error
Commit History
-
feat: migrate all Claude Code invocations to ACP protocol via acpx
All Claude Code calls now go through ACP (Agent Client Protocol) using acpx as the backend, replacing direct CLI invocations. This includes conversation-loop.py, coding-agent extension, and infrastructure config. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>9d3acbc
-
feat: integrate Claude Code as coding-agent backend (z.ai/Zhipu GLM)
Replace custom HF API tools with Claude Code CLI sub-agent. The extension now spawns `claude -p` with ANTHROPIC_BASE_URL=api.z.ai to autonomously clone, analyze, fix, and push code changes to HF Spaces. - Dockerfile: install @anthropic-ai/claude-code globally - index.ts: 3 tools (claude_code, hf_space_status, hf_restart_space) - sync_hf.py: add ZAI_API_KEY env var passthrough - plugin.json: add zaiApiKey config field, bump to v2.0.0 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>d653b4e -
feat: add coding-agent OpenClaw extension with 8 HF Space tools
New extension at extensions/coding-agent/ that registers tools directly into OpenClaw's agent runtime, giving Adam & Eve real coding capabilities: Tools registered: - hf_read_file: Read files from Space/Dataset - hf_write_file: Write files with auto Python syntax validation - hf_delete_file: Delete files from repos - hf_list_files: List all files in a repo - hf_space_status: Check Space health/stage - hf_restart_space: Restart the target Space - hf_search_code: Grep-like regex search across code files - python_syntax_check: Validate Python syntax before committing Key features: - Python .py files are syntax-checked BEFORE writing (prevents the blind-write-then-wait-for-build-failure loop) - Configured via CODING_AGENT_TARGET_SPACE/DATASET env vars - Follows A2A gateway extension pattern (registerTool API) Also adds: - workspace-templates/ with IDENTITY.md and SOUL.md for coding agent behavior (deployed on first boot if workspace files are default) - Dockerfile updated to COPY ex…b44dfca