localclawd 1.7.1 → 1.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +58 -23
- package/dist/cli.mjs +9507 -8016
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,12 +1,17 @@
|
|
|
1
|
-
***BROKEN AT THE MOMENT, I NEED MORE TOKENS!***
|
|
2
|
-
|
|
3
1
|
# localclawd
|
|
4
2
|
|
|
5
|
-
localclawd is a local-first
|
|
3
|
+
localclawd is a local-first coding CLI for self-hosted and user-controlled inference. It preserves the terminal-first workflow, tool orchestration, agents, and computer-use capabilities of the upstream coding assistant experience while replacing the hosted model dependency with local or privately managed backends such as vLLM, Ollama, and OpenAI-compatible gateways.
|
|
6
4
|
|
|
7
5
|
## Overview
|
|
8
6
|
|
|
9
|
-
localclawd
|
|
7
|
+
localclawd is designed for teams and individual developers who want an autonomous coding assistant in the terminal without depending on a vendor-hosted runtime. It supports local inference, project-local workflows, multimodal review when the connected model supports it, and a release/install story that works across Windows, Linux, and macOS.
|
|
8
|
+
|
|
9
|
+
The project focuses on four areas:
|
|
10
|
+
|
|
11
|
+
- Local-first model connectivity for vLLM, Ollama, and compatible APIs.
|
|
12
|
+
- Autonomous coding workflows with shell tools, file tools, slash commands, and agent loops.
|
|
13
|
+
- Project-local state and workflow scaffolding under `.localclawd/`.
|
|
14
|
+
- Cross-platform installation with npm, bootstrap scripts, and native release assets.
|
|
10
15
|
|
|
11
16
|
### Key additions
|
|
12
17
|
|
|
@@ -19,9 +24,22 @@ localclawd keeps the parts of the upstream CLI that were operationally strong an
|
|
|
19
24
|
- **Lattice memory scoring** — memory files tagged with `tags:` frontmatter are ranked using Jaccard similarity and co-occurrence lattice math. Works offline as a fallback when a hosted side-query model is unavailable.
|
|
20
25
|
- **`/keepgoing`** — autonomous task continuation loop. The model works through all outstanding steps without waiting for user input and re-queues itself after each response. Stops when the model emits `TASK COMPLETE:` or `NEEDS INPUT:`. Aliases: `/kg`, `/continue`.
|
|
21
26
|
- **`/buddy`** — spawns a named ASCII animal companion for the session with a personality. Use `/buddy pet` to hear their thoughts on the current codebase.
|
|
27
|
+
- **`/images`** — quick-start slash command that forwards into the project-local image pipeline setup flow, with ComfyUI-first defaults and helper scaffolding.
|
|
28
|
+
- **`/image-pipeline`** — scaffolds and uses a project-local image generation workflow for game textures, sprites, and related art assets under `.localclawd/image-pipeline/`, then visually reviews outputs when the current model/runtime supports image reads.
|
|
22
29
|
- **`/thinkharder`** — enables careful mode: the model double-checks its reasoning at each step, verifies assumptions by reading files, and queries memory more frequently. Use `/thinknormal` to return to the default pipeline.
|
|
23
30
|
- **`/thinknormal`** — resets to the default pipeline. Lattice memory is fallback-only, as designed. Alias: `/tn`.
|
|
24
31
|
|
|
32
|
+
## Quick start
|
|
33
|
+
|
|
34
|
+
Install the CLI, launch it in a project, and complete backend setup from inside the terminal UI:
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
npm install -g localclawd
|
|
38
|
+
localclawd
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
After launch, use `/setup` to configure a local or remote-compatible backend. The same flow is available later through `/config` if you need to change model, endpoint, or auth settings.
|
|
42
|
+
|
|
25
43
|
## Installation
|
|
26
44
|
|
|
27
45
|
The bootstrap installers use a release-first strategy. They attempt to install a platform-native binary from GitHub Releases and fall back to a source checkout when no matching release asset is available yet.
|
|
@@ -40,8 +58,6 @@ Run without installing globally:
|
|
|
40
58
|
npx localclawd --version
|
|
41
59
|
```
|
|
42
60
|
|
|
43
|
-
The npm package name is lowercase: `localclawd`. Any mixed-case install attempt will fail because npm package names cannot contain capital letters. The published CLI command is also `localclawd`.
|
|
44
|
-
|
|
45
61
|
### Windows
|
|
46
62
|
|
|
47
63
|
One-line install in PowerShell:
|
|
@@ -122,6 +138,35 @@ Default macOS paths:
|
|
|
122
138
|
- Source fallback checkout: `~/.localclawd/source`
|
|
123
139
|
- Source fallback launcher: `~/.local/bin/localclawd`
|
|
124
140
|
|
|
141
|
+
## Core workflows
|
|
142
|
+
|
|
143
|
+
### Backend configuration
|
|
144
|
+
|
|
145
|
+
localclawd does not require an account or managed login flow. Connect it directly to a local model server or any OpenAI-compatible endpoint.
|
|
146
|
+
|
|
147
|
+
- Use `/setup` for first-run configuration.
|
|
148
|
+
- Use `/config` to update provider, endpoint, model, or key later.
|
|
149
|
+
- Use `localclawd doctor` to verify reachability, auth, and backend health.
|
|
150
|
+
|
|
151
|
+
### Autonomous task execution
|
|
152
|
+
|
|
153
|
+
The CLI is built for longer coding loops, not only one-shot prompts.
|
|
154
|
+
|
|
155
|
+
- `/keepgoing` continues through pending work until the model emits a completion or input-needed signal.
|
|
156
|
+
- `/thinkharder` increases verification rigor and model self-checking for complex changes.
|
|
157
|
+
- `/buddy` creates a persistent ASCII companion persona for the current session.
|
|
158
|
+
|
|
159
|
+
### Project-local image workflow
|
|
160
|
+
|
|
161
|
+
localclawd can scaffold a reproducible local art pipeline inside each repository under `.localclawd/image-pipeline/`.
|
|
162
|
+
|
|
163
|
+
- `/images` starts the workflow with ComfyUI-first defaults.
|
|
164
|
+
- `/images setup pixel-art UI icons` creates prompts, helper files, config, and workflow placeholders for a concrete brief.
|
|
165
|
+
- `/images review stone floor texture batch` reviews the latest outputs and produces the next-pass refinement guidance.
|
|
166
|
+
- `/image-pipeline` exposes the full underlying skill and workflow directly.
|
|
167
|
+
|
|
168
|
+
The bundled workflow keeps prompts, generated outputs, reviews, and backend configuration inside the project. It prefers ComfyUI on `http://127.0.0.1:8188`, falls back to Automatic1111 on `http://127.0.0.1:7860`, and supports a project-defined custom command when needed. When the connected runtime supports image reads, generated images are reviewed visually rather than only by prompt text or filenames.
|
|
169
|
+
|
|
125
170
|
### Release asset naming
|
|
126
171
|
|
|
127
172
|
The bootstrap scripts expect release assets to follow the native installer platform naming already used in the codebase:
|
|
@@ -175,23 +220,13 @@ If you want to use the Anthropic API directly, set `ANTHROPIC_API_KEY` in your e
|
|
|
175
220
|
|
|
176
221
|
## Release status
|
|
177
222
|
|
|
178
|
-
`v1.
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
- `1.
|
|
183
|
-
- `1.1
|
|
184
|
-
- `1.
|
|
185
|
-
- `1.1.16` — Complete branding purge (no Claude/Anthropic references anywhere in UI or prompts); Grove data-sharing and subscription features fully disabled; MCP client identity updated to localclawd; all cloud-only error messages reworded to be backend-agnostic.
|
|
186
|
-
- `1.1.15` — Full branding cleanup (no Anthropic/Claude references in UI); global crash handler shows errors instead of silent exit; auth commands hidden (use env vars or /setup); all startup errors surfaced with actionable messages.
|
|
187
|
-
- `1.1.14` — Error handling for all startup awaits; clean build artifacts before rebuild to prevent stale cache issues.
|
|
188
|
-
- `1.1.13` — Go straight to dashboard on launch; /setup for configuration; fix all stuck menus; useRef guards everywhere.
|
|
189
|
-
- `1.1.12` — Fix onboarding blank screen; no stuck menus; VSCode Enter handling.
|
|
190
|
-
- `1.1.11` — Ctrl+C everywhere; clean command list; lint fixes.
|
|
191
|
-
- `1.1.10` — Fix Enter key on VSCode/ConPTY.
|
|
192
|
-
- `1.0.5` — Geometric algebra lattice; /keepgoing upgraded with subagent support; /thinkharder 4-phase pipeline.
|
|
193
|
-
- `1.0.4` — Fix `util is not defined` crash; add `/buddy`, `/thinkharder`, `/thinknormal`; fix `/keepgoing`.
|
|
194
|
-
- `1.0.0` — Initial release.
|
|
223
|
+
`v1.7.2` is live on npm. Install globally with `npm install -g localclawd` or run without installing with `npx localclawd`.
|
|
224
|
+
|
|
225
|
+
Current release highlights:
|
|
226
|
+
|
|
227
|
+
- `1.7.2` adds `/images`, the bundled `/image-pipeline` workflow, project-local image pipeline scaffolding, ComfyUI helper/templates, and visual review for generated assets when the runtime supports image reads.
|
|
228
|
+
- `1.7.1` introduced the autonomous `/keepgoing` loop, the `/buddy` companion flow, lattice-ranked local memory fallback, and the paired `/thinkharder` / `/thinknormal` operating modes.
|
|
229
|
+
- `1.0.0` was the initial public release.
|
|
195
230
|
|
|
196
231
|
External native update metadata is now expected under `release-manifests/`, the main verification workflow lives in `.github/workflows/ci.yml`, and the native asset publication workflow lives in `.github/workflows/publish-release-assets.yml`. See `docs/release.md` for the expected asset set and publish sequence.
|
|
197
232
|
|