indus-swarms 0.1.0 → 0.1.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 +2 -35
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# indus-swarms
|
|
1
|
+
# indus-swarms
|
|
2
2
|
|
|
3
3
|
A lightweight extension for the `indusagi` CLI that brings Claude-style agent teams to your Pi workflows. The leader process manages shared task lists, mailboxes, and team status while spawning autonomous teammates (workers) that claim, execute, and report on tasks.
|
|
4
4
|
|
|
@@ -21,13 +21,7 @@ npm install indusagi indusagi-coding-agent
|
|
|
21
21
|
**Option A — install from npm:**
|
|
22
22
|
|
|
23
23
|
```bash
|
|
24
|
-
indusagi install npm
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
**Option A2 — install the renamed package (if published):**
|
|
28
|
-
|
|
29
|
-
```bash
|
|
30
|
-
indusagi install indus-swarms
|
|
24
|
+
indusagi install npm:indus-swarms
|
|
31
25
|
```
|
|
32
26
|
|
|
33
27
|
**Option B — load directly for development:**
|
|
@@ -44,15 +38,6 @@ indusagi install /Users/varunisrani/indusagi-ts/indus-swarms
|
|
|
44
38
|
|
|
45
39
|
Once installed, run `indusagi` as usual and the extension auto-discovers.
|
|
46
40
|
|
|
47
|
-
If you prefer installing directly via npm (without `indusagi install`), run:
|
|
48
|
-
```
|
|
49
|
-
npm install indus-swarms
|
|
50
|
-
```
|
|
51
|
-
Then load it via
|
|
52
|
-
```
|
|
53
|
-
indusagi -e ./node_modules/indus-swarms/extensions/teams/index.ts
|
|
54
|
-
```
|
|
55
|
-
|
|
56
41
|
## Quick usage
|
|
57
42
|
|
|
58
43
|
1. Start `indusagi`.
|
|
@@ -95,24 +80,6 @@ Alternatively, `/swarm <task>` lets the model spawn teammates, delegate tasks, a
|
|
|
95
80
|
| `INDUS_TEAMS_HOOKS_MAX_REOPENS_PER_TASK` | Max reopen count when hooks requeue tasks. | `3` |
|
|
96
81
|
| `INDUS_TEAMS_HOOKS_FOLLOWUP_OWNER` | Owner of follow-up tasks created after hook failures (`member`, `lead`, `none`). | `member` |
|
|
97
82
|
|
|
98
|
-
Add custom styles under `~/.indusagi/agent/teams/_styles/<style>.json` to override naming and lifecycle copy.
|
|
99
|
-
|
|
100
|
-
## Development & tests
|
|
101
|
-
|
|
102
|
-
```bash
|
|
103
|
-
npm run check # typecheck + lint via tsx/eslint
|
|
104
|
-
npm run smoke-test # automated filesystem smoke test
|
|
105
|
-
node scripts/e2e-rpc-test.mjs # leader + RPC teammate handshake
|
|
106
|
-
./scripts/start-tmux-team.sh # helper that launches leader + tmux worker panes
|
|
107
|
-
```
|
|
108
|
-
|
|
109
|
-
Worker processes run `indusagi --mode rpc` with the same extension in worker mode via `scripts/lib/pi-workers.ts`.
|
|
110
|
-
|
|
111
|
-
## Tips
|
|
112
|
-
|
|
113
|
-
- Use `/team attach list` and `/team attach <teamId>` to reconnect to another leader session.
|
|
114
|
-
- For structured automation, invoke the built-in `teams` tool manually via JSON (see `extensions/teams/leader-teams-tool.ts`).
|
|
115
|
-
- Keep `PI_TEAMS_ROOT_DIR` isolated per experiment to easily clean team directories.
|
|
116
83
|
|
|
117
84
|
## License
|
|
118
85
|
|
package/package.json
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "indus-swarms",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Claude Code agent teams style workflow for Pi.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Varun Israni",
|
|
7
7
|
"private": false,
|
|
8
8
|
"type": "module",
|
|
9
9
|
"keywords": [
|
|
10
|
-
"
|
|
10
|
+
"indusagi-package",
|
|
11
|
+
"ai",
|
|
11
12
|
"indus",
|
|
12
13
|
"agent",
|
|
13
14
|
"teams",
|