repositories
loading repo index
repositories
loading repo index
repository
loading code, commits, and activity
public Clawd ADK gateway launch mirror
stars
latest
clone command
git clone gitlawb://did:key:z6Mkq5mY...iFZ5/my-project-publ...git clone gitlawb://did:key:z6Mkq5mY.../my-project-publ...2fa351d6docs: add automaton and perps launch sources15d ago| #1 | #!/bin/sh |
| #2 | # CLAWD Automaton One-Shot Installer |
| #3 | # curl -fsSL https://x402.wtf/automation/install.sh | sh |
| #4 | set -e |
| #5 | |
| #6 | REPO_URL="https://github.com/x402agent/openclawd.git" |
| #7 | INSTALL_DIR="${CLAWD_AUTOMATON_INSTALL_DIR:-$HOME/.clawd/automaton}" |
| #8 | BIN_DIR="${HOME}/.local/bin" |
| #9 | BIN_TARGET="${BIN_DIR}/clawd-automaton" |
| #10 | |
| #11 | echo "🦞 Crustacean Automation — One-Shot Install" |
| #12 | echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━" |
| #13 | |
| #14 | # Check Node.js |
| #15 | if ! command -v node >/dev/null 2>&1; then |
| #16 | echo "❌ Node.js v20+ required. Install from https://nodejs.org" |
| #17 | exit 1 |
| #18 | fi |
| #19 | |
| #20 | # Check/install pnpm |
| #21 | if ! command -v pnpm >/dev/null 2>&1; then |
| #22 | echo "Installing pnpm..." |
| #23 | npm install -g pnpm |
| #24 | fi |
| #25 | |
| #26 | # Clone or update |
| #27 | mkdir -p "$(dirname "${INSTALL_DIR}")" |
| #28 | |
| #29 | if [ -d "${INSTALL_DIR}" ]; then |
| #30 | echo "Updating existing install at ${INSTALL_DIR}..." |
| #31 | git -C "${INSTALL_DIR}" pull --ff-only |
| #32 | else |
| #33 | echo "Cloning to ${INSTALL_DIR}..." |
| #34 | git clone "${REPO_URL}" "${INSTALL_DIR}" |
| #35 | fi |
| #36 | |
| #37 | cd "${INSTALL_DIR}/automaton-main" |
| #38 | pnpm install --frozen-lockfile |
| #39 | pnpm build |
| #40 | |
| #41 | mkdir -p "${BIN_DIR}" |
| #42 | ln -sf "${INSTALL_DIR}/automaton-main/dist/index.js" "${BIN_TARGET}" |
| #43 | |
| #44 | echo "" |
| #45 | echo "✅ Installation complete!" |
| #46 | echo "" |
| #47 | echo " clawd-automaton --help Show available commands" |
| #48 | echo " clawd-automaton --run Start the agent loop" |
| #49 | echo " clawd-automaton --status Check runtime status" |
| #50 | echo " ${INSTALL_DIR}/agents/agents-catalog.json Agent registry catalog" |
| #51 | echo " ${INSTALL_DIR}/agents/templates/index.json Agent template registry" |
| #52 | echo " ${INSTALL_DIR}/agents/skills/index.json Formal skill hub" |
| #53 | echo " ${INSTALL_DIR}/agents/skills/README.md Full local skill library" |
| #54 | echo " Binary linked at ${BIN_TARGET}" |
| #55 | echo "" |
| #56 | echo " The shell molts. The laws do not. 🦞" |
| #57 | echo "" |
| #58 | |
| #59 | exec node dist/index.js --help |
| #60 |