[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-256":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":10,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":22,"hasPages":22,"topics":24,"createdAt":10,"pushedAt":10,"updatedAt":25,"readmeContent":26,"aiSummary":27,"trendingCount":16,"starSnapshotCount":16,"syncStatus":28,"lastSyncTime":29,"discoverSource":30},256,"claw-code","ultraworkers\u002Fclaw-code","ultraworkers","An agent-managed museum exhibit, built in Rust with Gajae-Code \u002F LazyCodex — developed and maintained with no human intervention.","",null,"Rust",193910,109957,1999,3,0,70,378,2148,330,117,false,"main",[],"2026-06-17 04:00:02","# Claw Code\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fultraworkers\u002Fclaw-code\">ultraworkers\u002Fclaw-code\u003C\u002Fa>\n  ·\n  \u003Ca href=\".\u002FUSAGE.md\">Usage\u003C\u002Fa>\n  ·\n  \u003Ca href=\".\u002Frust\u002FREADME.md\">Rust workspace\u003C\u002Fa>\n  ·\n  \u003Ca href=\".\u002FPARITY.md\">Parity\u003C\u002Fa>\n  ·\n  \u003Ca href=\".\u002FROADMAP.md\">Roadmap\u003C\u002Fa>\n  ·\n  \u003Ca href=\"https:\u002F\u002Fdiscord.gg\u002F5TUQKqFWd\">UltraWorkers Discord\u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fstar-history.com\u002F#ultraworkers\u002Fclaw-code&Date\">\n    \u003Cpicture>\n      \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"https:\u002F\u002Fapi.star-history.com\u002Fsvg?repos=ultraworkers\u002Fclaw-code&type=Date&theme=dark\" \u002F>\n      \u003Csource media=\"(prefers-color-scheme: light)\" srcset=\"https:\u002F\u002Fapi.star-history.com\u002Fsvg?repos=ultraworkers\u002Fclaw-code&type=Date\" \u002F>\n      \u003Cimg alt=\"Star history for ultraworkers\u002Fclaw-code\" src=\"https:\u002F\u002Fapi.star-history.com\u002Fsvg?repos=ultraworkers\u002Fclaw-code&type=Date\" width=\"600\" \u002F>\n    \u003C\u002Fpicture>\n  \u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"assets\u002Fclaw-hero.jpeg\" alt=\"Claw Code\" width=\"300\" \u002F>\n\u003C\u002Fp>\n\nClaw Code is the public Rust implementation of the `claw` CLI agent harness.\nThe canonical implementation lives in [`rust\u002F`](.\u002Frust), and the current source of truth for this repository is **ultraworkers\u002Fclaw-code**.\n\n> [!IMPORTANT]\n> Start with [`USAGE.md`](.\u002FUSAGE.md) for build, auth, CLI, session, and parity-harness workflows. Make `claw doctor` your first health check after building, use [`rust\u002FREADME.md`](.\u002Frust\u002FREADME.md) for crate-level details, read [`PARITY.md`](.\u002FPARITY.md) for the current Rust-port checkpoint, and see [`docs\u002Fcontainer.md`](.\u002Fdocs\u002Fcontainer.md) for the container-first workflow.\n>\n> **ACP \u002F Zed status:** `claw-code` does not ship an ACP\u002FZed daemon entrypoint yet. Run `claw acp` (or `claw --acp`) for the current status instead of guessing from source layout; `claw acp serve` is currently a discoverability alias only, and real ACP support remains tracked separately in `ROADMAP.md`.\n\n## Current repository shape\n\n- **`rust\u002F`** — canonical Rust workspace and the `claw` CLI binary\n- **`USAGE.md`** — task-oriented usage guide for the current product surface\n- **`PARITY.md`** — Rust-port parity status and migration notes\n- **`ROADMAP.md`** — active roadmap and cleanup backlog\n- **`PHILOSOPHY.md`** — project intent and system-design framing\n- **`src\u002F` + `tests\u002F`** — companion Python\u002Freference workspace and audit helpers; not the primary runtime surface\n\n## Quick start\n\n> [!NOTE]\n> [!WARNING]\n> **`cargo install claw-code` installs the wrong thing.** The `claw-code` crate on crates.io is a deprecated stub that places `claw-code-deprecated.exe` — not `claw`. Running it only prints `\"claw-code has been renamed to agent-code\"`. **Do not use `cargo install claw-code`.** Either build from source (this repo) or install the upstream binary:\n> ```bash\n> cargo install agent-code   # upstream binary — installs 'agent.exe' (Windows) \u002F 'agent' (Unix), NOT 'agent-code'\n> ```\n> This repo (`ultraworkers\u002Fclaw-code`) is **build-from-source only** — follow the steps below.\n\n```bash\n# 1. Clone and build\ngit clone https:\u002F\u002Fgithub.com\u002Fultraworkers\u002Fclaw-code\ncd claw-code\u002Frust\ncargo build --workspace\n\n# 2. Set your API key (Anthropic API key — not a Claude subscription)\nexport ANTHROPIC_API_KEY=\"sk-ant-...\"\n\n# 3. Verify everything is wired correctly\n.\u002Ftarget\u002Fdebug\u002Fclaw doctor\n\n# 4. Run a prompt\n.\u002Ftarget\u002Fdebug\u002Fclaw prompt \"say hello\"\n```\n\n> [!NOTE]\n> **Windows (PowerShell):** the binary is `claw.exe`, not `claw`. Use `.\\target\\debug\\claw.exe` or run `cargo run -- prompt \"say hello\"` to skip the path lookup.\n\n### Windows setup\n\n**PowerShell is a supported Windows path.** Use whichever shell works for you. The common onboarding issues on Windows are:\n\n1. **Install Rust first** — download from \u003Chttps:\u002F\u002Frustup.rs\u002F> and run the installer. Close and reopen your terminal when it finishes.\n2. **Verify Rust is on PATH:**\n   ```powershell\n   cargo --version\n   ```\n   If this fails, reopen your terminal or run the PATH setup from the Rust installer output, then retry.\n3. **Clone and build** (works in PowerShell, Git Bash, or WSL):\n   ```powershell\n   git clone https:\u002F\u002Fgithub.com\u002Fultraworkers\u002Fclaw-code\n   cd claw-code\u002Frust\n   cargo build --workspace\n   ```\n4. **Run** (PowerShell — note `.exe` and backslash):\n   ```powershell\n   $env:ANTHROPIC_API_KEY = \"sk-ant-...\"\n   .\\target\\debug\\claw.exe prompt \"say hello\"\n   ```\n\n**Git Bash \u002F WSL** are optional alternatives, not requirements. If you prefer bash-style paths (`\u002Fc\u002FUsers\u002Fyou\u002F...` instead of `C:\\Users\\you\\...`), Git Bash (ships with Git for Windows) works well. In Git Bash, the `MINGW64` prompt is expected and normal — not a broken install.\n\n## Post-build: locate the binary and verify\n\nAfter running `cargo build --workspace`, the `claw` binary is built but **not** automatically installed to your system. Here's where to find it and how to verify the build succeeded.\n\n### Binary location\n\nAfter `cargo build --workspace` in `claw-code\u002Frust\u002F`:\n\n**Debug build (default, faster compile):**\n- **macOS\u002FLinux:** `rust\u002Ftarget\u002Fdebug\u002Fclaw`\n- **Windows:** `rust\u002Ftarget\u002Fdebug\u002Fclaw.exe`\n\n**Release build (optimized, slower compile):**\n- **macOS\u002FLinux:** `rust\u002Ftarget\u002Frelease\u002Fclaw`\n- **Windows:** `rust\u002Ftarget\u002Frelease\u002Fclaw.exe`\n\nIf you ran `cargo build` without `--release`, the binary is in the `debug\u002F` folder.\n\n### Verify the build succeeded\n\nTest the binary directly using its path:\n\n```bash\n# macOS\u002FLinux (debug build)\n.\u002Frust\u002Ftarget\u002Fdebug\u002Fclaw --help\n.\u002Frust\u002Ftarget\u002Fdebug\u002Fclaw doctor\n\n# Windows PowerShell (debug build)\n.\\rust\\target\\debug\\claw.exe --help\n.\\rust\\target\\debug\\claw.exe doctor\n```\n\nIf these commands succeed, the build is working. `claw doctor` is your first health check — it validates your API key, model access, and tool configuration.\n\n### Optional: Add to PATH\n\nIf you want to run `claw` from any directory without the full path, choose one of these approaches:\n\n**Option 1: Symlink (macOS\u002FLinux)**\n```bash\nln -s $(pwd)\u002Frust\u002Ftarget\u002Fdebug\u002Fclaw \u002Fusr\u002Flocal\u002Fbin\u002Fclaw\n```\nThen reload your shell and test:\n```bash\nclaw --help\n```\n\n**Option 2: Use `cargo install` (all platforms)**\n\nBuild and install to Cargo's default location (`~\u002F.cargo\u002Fbin\u002F`, which is usually on PATH):\n```bash\n# From the claw-code\u002Frust\u002F directory\ncargo install --path . --force\n\n# Then from anywhere\nclaw --help\n```\n\n**Option 3: Update shell profile (bash\u002Fzsh)**\n\nAdd this line to `~\u002F.bashrc` or `~\u002F.zshrc`:\n```bash\nexport PATH=\"$(pwd)\u002Frust\u002Ftarget\u002Fdebug:$PATH\"\n```\n\nReload your shell:\n```bash\nsource ~\u002F.bashrc  # or source ~\u002F.zshrc\nclaw --help\n```\n\n### Troubleshooting\n\n- **\"command not found: claw\"** — The binary is in `rust\u002Ftarget\u002Fdebug\u002Fclaw`, but it's not on your PATH. Use the full path `.\u002Frust\u002Ftarget\u002Fdebug\u002Fclaw` or symlink\u002Finstall as above.\n- **\"permission denied\"** — On macOS\u002FLinux, you may need `chmod +x rust\u002Ftarget\u002Fdebug\u002Fclaw` if the executable bit isn't set (rare).\n- **Debug vs. release** — If the build is slow, you're in debug mode (default). Add `--release` to `cargo build` for faster runtime, but the build itself will take 5–10 minutes.\n\n> [!NOTE]\n> **Auth:** claw requires an **API key** (`ANTHROPIC_API_KEY`, `OPENAI_API_KEY`, etc.) — Claude subscription login is not a supported auth path.\n\nRun the workspace test suite after verifying the binary works:\n\n```bash\ncd rust\ncargo test --workspace\n```\n\n## Documentation map\n\n- [`USAGE.md`](.\u002FUSAGE.md) — quick commands, auth, sessions, config, parity harness\n- [`rust\u002FREADME.md`](.\u002Frust\u002FREADME.md) — crate map, CLI surface, features, workspace layout\n- [`PARITY.md`](.\u002FPARITY.md) — parity status for the Rust port\n- [`rust\u002FMOCK_PARITY_HARNESS.md`](.\u002Frust\u002FMOCK_PARITY_HARNESS.md) — deterministic mock-service harness details\n- [`ROADMAP.md`](.\u002FROADMAP.md) — active roadmap and open cleanup work\n- [`PHILOSOPHY.md`](.\u002FPHILOSOPHY.md) — why the project exists and how it is operated\n\n## Ecosystem\n\nClaw Code is built in the open alongside the broader UltraWorkers toolchain:\n\n- [clawhip](https:\u002F\u002Fgithub.com\u002FYeachan-Heo\u002Fclawhip)\n- [oh-my-openagent](https:\u002F\u002Fgithub.com\u002Fcode-yeongyu\u002Foh-my-openagent)\n- [oh-my-claudecode](https:\u002F\u002Fgithub.com\u002FYeachan-Heo\u002Foh-my-claudecode)\n- [oh-my-codex](https:\u002F\u002Fgithub.com\u002FYeachan-Heo\u002Foh-my-codex)\n- [UltraWorkers Discord](https:\u002F\u002Fdiscord.gg\u002F5TUQKqFWd)\n\n## Ownership \u002F affiliation disclaimer\n\n- This repository does **not** claim ownership of the original Claude Code source material.\n- This repository is **not affiliated with, endorsed by, or maintained by Anthropic**.\n","Claw Code 是一个用 Rust 语言实现的 `claw` CLI 代理工具。它提供了强大的命令行接口，支持构建、认证、会话管理和兼容性检查等功能，并且具有高性能和高效率的特点。项目使用了 oh-my-codex 进行开发，确保了代码质量和可维护性。Claw Code 适合需要通过命令行进行高效系统管理与操作的场景，如自动化部署、持续集成\u002F持续交付（CI\u002FCD）流程以及运维任务等。",2,"2026-06-16 02:32:19","top_all"]