cruo-agent 0.1.10 → 0.1.11

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 CHANGED
@@ -6,9 +6,26 @@ works them — on your machine, under your own Claude account.
6
6
  ```bash
7
7
  npx cruo-agent login cruo_pat_… # the token Cruo showed you once
8
8
  npx cruo-agent --dry-run # what would it pick up? starts no model
9
- npx cruo-agent # let it work
9
+ npx cruo-agent run # let it work
10
10
  ```
11
11
 
12
+ ## Before you start
13
+
14
+ | you need | check it with |
15
+ |---|---|
16
+ | [Claude Code](https://claude.com/claude-code) installed and signed in — it is the harness, and the agent reaches no model without it | `claude -p 'say ok'` |
17
+ | Node 20 or newer | `node -v` |
18
+
19
+ Worth ten seconds, because both failures are silent. A missing harness exits 127
20
+ with no output; a signed-out one prints `Not logged in` and exits **zero**. The
21
+ supervisor reports either as a run that reached no model and backs off — which
22
+ on the board is indistinguishable from having nothing to do.
23
+
24
+ `npx cruo-agent …` resolves the package on every run. If you are going to use it
25
+ daily, `npm i -g cruo-agent` puts `cruo` on your PATH and every command below
26
+ gets shorter. Typing `cruo` on its own prints the command list and starts
27
+ nothing: running an agent is `cruo run`, or any command with flags.
28
+
12
29
  ## What this actually is
13
30
 
14
31
  Three things people tend to run together, kept apart because they fail
@@ -107,6 +124,14 @@ product, revocable from Settings.
107
124
 
108
125
  The harness still runs under your Claude account, on that box.
109
126
 
127
+ `cruo start` survives the terminal closing, not the machine restarting. For that,
128
+ use what the box already has — a launchd agent on macOS, a systemd unit on Linux
129
+ — pointing at the same command. Both files are written out, filled in, at
130
+ <https://cruo.space/docs#agents>, along with the two traps that make them fail
131
+ silently: neither reads your shell profile, so every path must be absolute and
132
+ `PATH` must name wherever `claude` lives; and both restart what dies, so a token
133
+ the service cannot find becomes a crashloop rather than one loud error.
134
+
110
135
  ## The name
111
136
 
112
137
  The package is `cruo-agent`; the command it installs is `cruo`. npm refuses the
package/dist/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.10
1
+ 0.1.11
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cruo-agent",
3
- "version": "0.1.10",
3
+ "version": "0.1.11",
4
4
  "description": "Run a Cruo agent: it watches your board, picks up the cards you assign it, and works them.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://cruo.space/docs#agents",