@astrofoundry/pi-astro 0.2.1 → 0.2.9
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 +32 -34
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,17 +1,43 @@
|
|
|
1
1
|
# @astrofoundry/pi-astro
|
|
2
2
|
|
|
3
|
-
Personal customizations for the [pi coding agent](https://github.com/badlogic/pi-mono).
|
|
3
|
+
Personal customizations for the [pi coding agent](https://github.com/badlogic/pi-mono) — registers an `astro_agent` tool and ships 8 curated subagents.
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## Full setup
|
|
6
|
+
|
|
7
|
+
### 1. Install pi
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm install -g @mariozechner/pi-coding-agent
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Verify:
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
pi --version
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
### 2. Install this package
|
|
6
20
|
|
|
7
21
|
```bash
|
|
8
22
|
pi install npm:@astrofoundry/pi-astro
|
|
9
23
|
```
|
|
10
24
|
|
|
25
|
+
### 3. Verify
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
pi list
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Launch pi and confirm the `astro_agent` tool is available:
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
pi
|
|
35
|
+
```
|
|
36
|
+
|
|
11
37
|
## What's inside
|
|
12
38
|
|
|
13
39
|
- **`astro-agents` extension** — registers the `astro_agent` tool to delegate tasks to named subagents running in isolated `pi` subprocesses.
|
|
14
|
-
- **8 bundled agents
|
|
40
|
+
- **8 bundled agents**:
|
|
15
41
|
- `code-reviewer`
|
|
16
42
|
- `google-tech-lead`
|
|
17
43
|
- `spec-writer`
|
|
@@ -34,40 +60,12 @@ Inside pi, call the `astro_agent` tool with an agent name and a task:
|
|
|
34
60
|
|
|
35
61
|
Agent discovery priority (highest first):
|
|
36
62
|
|
|
37
|
-
1. **Project
|
|
38
|
-
2. **User
|
|
39
|
-
3. **Bundle
|
|
63
|
+
1. **Project** — nearest `.pi/agents/*.md` walked from the current working directory. Requires `scope: "project"` or `scope: "both"` and interactive confirmation.
|
|
64
|
+
2. **User** — `~/.pi/agent/agents/*.md`.
|
|
65
|
+
3. **Bundle** — the 8 agents shipped with this package.
|
|
40
66
|
|
|
41
67
|
Agents override by name — a project agent named `code-reviewer` wins over the bundled one when `scope` allows.
|
|
42
68
|
|
|
43
|
-
## v1 scope
|
|
44
|
-
|
|
45
|
-
The `astro-agents` extension v1 wires `name`, `description`, `color`, and the system-prompt body from each agent's frontmatter. The fields `tools`, `model`, `effort`, `skills`, `memory` are preserved on disk but not wired — each migrated agent carries a `_notWired:` frontmatter entry listing its unwired fields so future work is grep-able:
|
|
46
|
-
|
|
47
|
-
```bash
|
|
48
|
-
rg -n "_notWired" extensions/astro-agents/agents
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
## Development
|
|
52
|
-
|
|
53
|
-
```bash
|
|
54
|
-
pnpm install
|
|
55
|
-
pnpm check # typecheck + lint + tests
|
|
56
|
-
pnpm typecheck
|
|
57
|
-
pnpm lint
|
|
58
|
-
pnpm test
|
|
59
|
-
```
|
|
60
|
-
|
|
61
|
-
## Release
|
|
62
|
-
|
|
63
|
-
```bash
|
|
64
|
-
pnpm release:patch # 0.1.0 -> 0.1.1
|
|
65
|
-
pnpm release:minor # 0.1.0 -> 0.2.0
|
|
66
|
-
pnpm release:major # 0.1.0 -> 1.0.0
|
|
67
|
-
```
|
|
68
|
-
|
|
69
|
-
Tag push triggers the GitHub Actions workflow that runs checks and publishes to npm.
|
|
70
|
-
|
|
71
69
|
## License
|
|
72
70
|
|
|
73
71
|
ISC
|