Skip to content

Commit 7a12e50

Browse files
authored
Install sprout-cli skill at repo root + fix desktop clippy (#818)
1 parent 2ea3fd8 commit 7a12e50

7 files changed

Lines changed: 31 additions & 3 deletions

File tree

‎.agents/skills/sprout-cli/SKILL.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../desktop/src-tauri/src/managed_agents/nest_skill.md

‎.claude/skills/sprout-cli/SKILL.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../desktop/src-tauri/src/managed_agents/nest_skill.md

‎.codex/skills/sprout-cli/SKILL.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../desktop/src-tauri/src/managed_agents/nest_skill.md

‎.goose/skills/sprout-cli/SKILL.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../desktop/src-tauri/src/managed_agents/nest_skill.md

‎AGENTS.md‎

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,30 @@ check existing reply handlers for the pattern.
165165

166166
`sprout` is the agent-first CLI replacing `sprout-mcp`. Auth env vars
167167
(`SPROUT_RELAY_URL`, `SPROUT_PRIVATE_KEY`, `SPROUT_AUTH_TAG`) are auto-injected
168-
by the ACP harness into managed agent subprocesses.
168+
by the ACP harness into managed agent subprocesses. In development, set
169+
`SPROUT_PRIVATE_KEY` and `SPROUT_RELAY_URL` in your environment manually.
170+
171+
### Building the CLI
172+
173+
```bash
174+
cargo build --release -p sprout-cli
175+
```
176+
177+
Binary location: `./target/release/sprout`. Add `./target/release` to `PATH`
178+
or invoke with the full path.
179+
180+
### Deep Links
181+
182+
`sprout://message?channel=<uuid>&id=<hex>` links reference a specific message
183+
thread. To read the linked thread:
184+
185+
```bash
186+
sprout messages thread --channel <uuid> --event <hex> --format compact
187+
```
188+
189+
Extract `channel` and `id` from the URL query parameters. The optional
190+
`thread` parameter (root event ID) can be ignored — `messages thread` resolves
191+
the full thread from the event ID alone.
169192

170193
All reads return sig-stripped JSON arrays; all writes return
171194
`{event_id, accepted, message}`; creates add the entity ID. Exit codes:

‎CLAUDE.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
AGENTS.md

‎desktop/src-tauri/src/managed_agents/nest_skill.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ version: 1
1010

1111
## Environment
1212

13-
`SPROUT_PRIVATE_KEY` is pre-set by the harness. Never prompt for it, never read it, never echo it.
13+
`SPROUT_PRIVATE_KEY` is set by the harness at runtime or by the developer's environment. If missing, tell the user to set it (hex or nsec format). Never read or echo the value.
1414

15-
`SPROUT_RELAY_URL` defaults to `http://localhost:3000`. Override only if explicitly instructed.
15+
`SPROUT_RELAY_URL` defaults to `http://localhost:3000`. In development, the user may need to set this to a staging or production relay URL.
1616

1717
Run `sprout --help` and `sprout <command> <subcommand> --help` to discover all flags, arguments, and usage. This skill documents only what `--help` cannot tell you.
1818

0 commit comments

Comments
 (0)