互动收藏爪繁殖演示
概览
ClawPark 是一个本地的 OpenClaw 代理育种实验室。将代理导入为 ZIP,将它们交配以产生带有追踪谱系的子嗣,并可选择发布到市场供发现和分享。 - Node.js 18+ - npm - (可选)OAuth Discord机器人令牌 此程序开始于:- Vite 前端位于 http://localhost:5173 - 节点市场服务器位于 http://localhost:8787 前端会自动向后端发送 /api/* 请求。 Node服务器同时从同一主机上服务构建的Dist/前端和API端点。 - npm 运行 lint 通过 - npm 运行类型检查通过 - npm 运行测试通过 - 前端和流程由合同式测试覆盖,但它们涉及真实用户交互和真实的 ZIP 上传 - GitHub issue 跟踪这一空白:验证前端上传和繁殖流程的端到端(手动 + 自动化) 1. — 加载本地 OpenClaw 代理 ZIP(包括 IDENTITY.md、SOUL.md、TOOLS.md 和技能)2.
概述(AI 翻译)
ClawPark 是一个本地的 OpenClaw 代理育种实验室。将代理导入为 ZIP,将它们交配以产生带有追踪谱系的子嗣,并可选择发布到市场供发现和分享。
快速启动
先决条件
- Node.js 18+
- NPM
- (可选)OAuth 的 Discord 机器人令牌
安装
地方发展
同时启动前端和服务器端:
内容是:
- Vite 前端在
http://localhost:5173 - 节点市场服务器,位于
http://localhost:8787
前端代理/api/*会自动向后端请求。
仅前端使用:
仅限服务器使用:
制作版本
Node服务器在同一主机上同时为构建的dist/前端和API端点提供服务。
当前验证状态
npm run lint通过npm run typecheck通过npm run test通过- 前端上传/导入和breed流程通过合同式测试覆盖,但尚未**通过浏览器手动端到端测试,包含真实用户互动和真实ZIP上传
- GitHub issue 跟踪该空白:#20
Validate frontend upload and breeding flows end-to-end (manual + automated)
什么是ClawPark?
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
ClawPark
ClawPark is a local agent breeding lab for OpenClaw agents. Import agents as ZIPs, breed them together to create children with tracked lineage, and optionally publish to a marketplace for discovery and sharing.
Quick Start
Prerequisites
- Node.js 18+
- npm
- (Optional) Discord bot token for OAuth
Installation
npm install
Local Development
Start both frontend and server:
export MARKETPLACE_SESSION_SECRET="change-me"
npm run dev
This starts:
- Vite frontend at
http://localhost:5173 - Node marketplace server at
http://localhost:8787
The frontend proxies /api/* requests to the backend automatically.
For frontend only:
npm run dev:web
For server only:
npm run server:dev
Production Build
npm run build
npm run server:start
The Node server serves both the built dist/ frontend and the API endpoints from the same host.
Current validation status
npm run lintpassesnpm run typecheckpassesnpm run testpasses- The frontend upload/import and breed flows are covered by contract-style tests, but they have not yet been manually browser-tested end-to-end with real user interaction and real ZIP uploads
- GitHub issue tracking that gap: #20
Validate frontend upload and breeding flows end-to-end (manual + automated)
What is ClawPark?
ClawPark lets you:
- Import — Load local OpenClaw agent ZIPs (including IDENTITY.md, SOUL.md, TOOLS.md, and skills)
- Browse — View agents in your Nursery with their traits, skills, and tools
- Breed — Select two agents and create a child with inherited traits
- Explore — View lineage showing where each trait came from
- Share — Optionally publish agents to marketplace (Discord-authenticated)
- Discuss — Talk to parents before breeding to shape the child’s doctrine
All data is local by default. Marketplace publishing is optional.
Architecture Overview
Core Components
Frontend (src/)
- React + Vite
- Pages: Home, Import, Nursery, Breed Lab, Lineage, Exchange (Marketplace)
- State managed via Zustand (
src/store/useClawStore.ts)
Backend (server/)
- Express.js server
- SQLite database for listings and specimens
- Discord OAuth integration
- OpenAPI documentation at
/api/docs
Breeding Engine (src/engine/)
breed.ts— Orchestrationinherit.ts— Trait inheritance algorithmmutate.ts— Mutation systempredict.ts— Pre-breed predictionvisual.ts— Visual blendingarchetype.ts— Archetype resolutionopenclaw.ts— Identity fusion and doctrine
Breeding Orchestration (server/)
breedingOrchestrator.ts— 7-stage breeding lifecyclebreedingConsent.ts— Consent model for cross-owner breeding
API Endpoints Summary
Authentication
GET /api/auth/session— Current user sessionGET /api/auth/discord/start— Begin Discord OAuth flow
推荐工具
换一个关键词,或者移除筛选条件。
安装
npx skillfish add realsigridjin/clawpark