openstoat 0.2.0 → 0.2.2
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 +109 -0
- package/package.json +2 -1
package/README.md
ADDED
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
# OpenStoat
|
|
2
|
+
|
|
3
|
+
> AI ↔ Human task queue — orchestrate work between AI agents and humans with a local-first CLI.
|
|
4
|
+
|
|
5
|
+
[](https://www.npmjs.com/package/openstoat)
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Who should read what
|
|
10
|
+
|
|
11
|
+
**This README is written for humans.** If you're a human and want to quickly understand what OpenStoat is and how to use it, read this.
|
|
12
|
+
|
|
13
|
+
**`openstoat --help` is written for AI agents.** If you're an AI agent, use `openstoat --help` (and `openstoat manual`) for the full operational guide — task commands, workflows, and rules.
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## What is OpenStoat?
|
|
18
|
+
|
|
19
|
+
OpenStoat is a **decoupled task queue** that coordinates AI agents and humans. AI handles tasks that don't require human input; when humans complete their tasks, downstream AI tasks are triggered automatically. No cloud, no API keys, no built-in LLM — just a local SQLite store and a CLI.
|
|
20
|
+
|
|
21
|
+
- **Local-first**: All data in `~/.openstoat/` (SQLite)
|
|
22
|
+
- **1 human + N agents**: Humans are the bottleneck; AI fills idle time
|
|
23
|
+
- **Transparent**: Clear task states, dependencies, and handoffs
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
## Install
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
npm install -g openstoat
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
## 1. Initialize a project
|
|
36
|
+
|
|
37
|
+
**How:**
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
openstoat project init --id my_project --name "My Project" --template checkout-default-v1
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
**Why:** Every task belongs to a project. You must create a project before agents can create or work on tasks. The project ID (`my_project`) is used in all task commands.
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
47
|
+
## 2. Install skills in your OpenClaw project
|
|
48
|
+
|
|
49
|
+
**How:** In your OpenClaw project directory (where you run OpenClaw as Agent Planner):
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
openstoat install skill --here
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
This installs planner and worker skills to the current directory (`./openstoat-planner`, `./openstoat-worker`).
|
|
56
|
+
|
|
57
|
+
**Why:** OpenClaw (or other agents) need these skills to know how to use OpenStoat — creating tasks, claiming, executing, handing off. Without them, the agent won't know the CLI workflow. Use OpenClaw as your Agent Planner because it has memory and timer features that help with planning over time.
|
|
58
|
+
|
|
59
|
+
---
|
|
60
|
+
|
|
61
|
+
## 3. Start the daemon
|
|
62
|
+
|
|
63
|
+
**How:**
|
|
64
|
+
|
|
65
|
+
```bash
|
|
66
|
+
openstoat daemon init # First time: interactively create .openstoat.json
|
|
67
|
+
openstoat daemon start # Start the daemon
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
Run these from your **project source root** (where your code lives and where `.openstoat.json` will be created).
|
|
71
|
+
|
|
72
|
+
**What it does:** The daemon polls for `ready` tasks owned by `agent_worker`. When it finds one, it invokes your configured agent (e.g. Cursor CLI, Claude Code) with the task prompt. The agent then claims the task, implements it, and marks it done. One task per poll; the daemon keeps running.
|
|
73
|
+
|
|
74
|
+
**Why:** So your coding agents can pick up work automatically without you manually triggering them. Configure the agent path in `.openstoat.json` — recommend Claude Code or Cursor CLI for coding tasks.
|
|
75
|
+
|
|
76
|
+
---
|
|
77
|
+
|
|
78
|
+
## 4. Start the Web UI
|
|
79
|
+
|
|
80
|
+
**How:**
|
|
81
|
+
|
|
82
|
+
```bash
|
|
83
|
+
openstoat web
|
|
84
|
+
# Opens http://localhost:3080
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
**Why:** To view the Kanban board and monitor task progress.
|
|
88
|
+
|
|
89
|
+
**Recommendation:** For interacting with OpenStoat (e.g. marking your human tasks done), use an **agent in project x0** instead of the web UI. Create a dedicated project `x0` for human tasks. When you finish your work, tell the agent in x0 that you're done and ask it to run `openstoat task done <task_id>` for your task. The agent handles the CLI; you just talk to it.
|
|
90
|
+
|
|
91
|
+
---
|
|
92
|
+
|
|
93
|
+
## Requirements
|
|
94
|
+
|
|
95
|
+
- **Node.js 22+** or **Bun**
|
|
96
|
+
- No account or API key required
|
|
97
|
+
|
|
98
|
+
---
|
|
99
|
+
|
|
100
|
+
## Links
|
|
101
|
+
|
|
102
|
+
- [GitHub](https://github.com/meside-ai/openstoat)
|
|
103
|
+
- [npm](https://www.npmjs.com/package/openstoat)
|
|
104
|
+
|
|
105
|
+
---
|
|
106
|
+
|
|
107
|
+
## License
|
|
108
|
+
|
|
109
|
+
MIT
|