@agimon-ai/doompi-team 0.0.1-alpha.21 → 0.0.1-alpha.23
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 +78 -33
- package/package.json +13 -11
package/README.md
CHANGED
|
@@ -1,61 +1,106 @@
|
|
|
1
1
|
# @agimon-ai/doompi-team
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
An asynchronous subagent runtime for Pi: agent discovery, background runs, membership, intercom, and model/tool policy.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
and one task board shared with the parent. Agents can work in parallel and use the model
|
|
7
|
-
policy owned by the selected Team package entry without turning the main conversation
|
|
8
|
-
into a wall of child transcripts.
|
|
5
|
+
Part of the [DoomPi distribution](https://www.npmjs.com/package/@agimon-ai/doompi).
|
|
9
6
|
|
|
10
|
-
|
|
11
|
-
them. Each child gets its own resolved harness state, so recovery does not depend on the
|
|
12
|
-
parent still being around to explain itself.
|
|
7
|
+
Team does not own Task's graph. When both packages are loaded, Team fulfills Task delegation requests while Task remains the source of truth for task status and dependencies.
|
|
13
8
|
|
|
14
|
-
|
|
15
|
-
it through a major-mode layer.
|
|
9
|
+
> **Alpha:** run, policy, and intercom contracts may change between releases.
|
|
16
10
|
|
|
17
|
-
##
|
|
11
|
+
## Requirements
|
|
18
12
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
```
|
|
13
|
+
- Node.js 22.19.0 or newer
|
|
14
|
+
- Pi Agent Core, Pi AI, Pi, and Pi TUI 0.84.2
|
|
22
15
|
|
|
23
|
-
##
|
|
16
|
+
## Install
|
|
24
17
|
|
|
25
|
-
|
|
26
|
-
configuration, use the package-object form so the options stay with their owner:
|
|
18
|
+
Add Team to a DoomPi layer. Add Task separately when you want graph-backed delegation:
|
|
27
19
|
|
|
28
20
|
```yaml
|
|
29
21
|
layers:
|
|
30
|
-
|
|
22
|
+
coordination:
|
|
31
23
|
packages:
|
|
24
|
+
- '@agimon-ai/doompi-task'
|
|
32
25
|
- name: '@agimon-ai/doompi-team'
|
|
33
26
|
config:
|
|
34
27
|
models:
|
|
35
|
-
- model:
|
|
36
|
-
thinking:
|
|
37
|
-
excludeTools: [ask_user_question
|
|
28
|
+
- model: provider/model-id
|
|
29
|
+
thinking: high
|
|
30
|
+
excludeTools: [ask_user_question]
|
|
38
31
|
|
|
39
32
|
majorMode:
|
|
40
|
-
|
|
41
|
-
description: Development
|
|
42
|
-
layers: [
|
|
33
|
+
development:
|
|
34
|
+
description: Development with tasks and delegated agents.
|
|
35
|
+
layers: [coordination]
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
For Team without Task in standalone Pi:
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
pi install npm:@agimon-ai/doompi-team
|
|
43
42
|
```
|
|
44
43
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
44
|
+
Team-only sessions can launch and manage agents directly; they simply have no Task-owned graph to update.
|
|
45
|
+
|
|
46
|
+
## Commands and tools
|
|
47
|
+
|
|
48
|
+
Slash commands include:
|
|
49
|
+
|
|
50
|
+
```text
|
|
51
|
+
/run
|
|
52
|
+
/parallel
|
|
53
|
+
/subagents-doctor
|
|
54
|
+
/subagents-stop
|
|
55
|
+
/subagents-list
|
|
56
|
+
/subagents-fleet
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
The `subagent` tool exposes `agents`, `run`, `status`, `steer`, `stop`, `suspended`, and `restore`. The `intercom` tool exposes `members`, `send`, `ask`, `pending`, and `reply`.
|
|
60
|
+
|
|
61
|
+
Use `SPC a l` to browse agents and `SPC a r` to inspect current-session runs. TUI views require an interactive host; tools and commands support headless orchestration.
|
|
62
|
+
|
|
63
|
+
## Run lifecycle
|
|
49
64
|
|
|
50
|
-
|
|
65
|
+
Runs are asynchronous. The parent receives a run identifier and later completion or failure rather than an inline child transcript. A shutdown requests suspension and writes restorable state. A later session can list suspended work and explicitly restore it; reopening does not automatically restart children, and Team does not promise that every run continues after its parent exits.
|
|
51
66
|
|
|
52
|
-
|
|
53
|
-
|
|
67
|
+
The root session scopes run results, transcripts, control inboxes, membership, intercom, and suspended records. State is stored in private, per-user temporary directories with per-session subdirectories. Launch contracts can contain full prompts and are written with private permissions and removed after handoff. Intercom messages expire after 24 hours; stale membership and run state are swept through liveness checks.
|
|
68
|
+
|
|
69
|
+
## Model and tool policy
|
|
70
|
+
|
|
71
|
+
Package configuration belongs on the Team package entry. When several selected entries contribute configuration, later entries replace the `models` list and `excludeTools` values are unioned in layer order.
|
|
72
|
+
|
|
73
|
+
Agent configuration, explicit launch options, Team policy, and provider availability determine the final model and tools. A child cannot exceed the capability ceiling supplied by its parent/provider policy. Allowed MCP and stdio tools can execute commands, so treat agent definitions and inherited environment as trusted configuration.
|
|
74
|
+
|
|
75
|
+
## Task delegation bridge
|
|
76
|
+
|
|
77
|
+
With Task installed:
|
|
78
|
+
|
|
79
|
+
1. Task selects a pending, unblocked task and sends a delegation request.
|
|
80
|
+
2. Team resolves the named agent, context, model, skills, and capability policy.
|
|
81
|
+
3. Team owns the background run, messaging, steering, and suspension.
|
|
82
|
+
4. Task records the terminal result on its own task.
|
|
83
|
+
|
|
84
|
+
This is a protocol relationship, not shared persistence.
|
|
54
85
|
|
|
55
86
|
## Public API
|
|
56
87
|
|
|
57
|
-
|
|
58
|
-
|
|
88
|
+
```ts
|
|
89
|
+
import { createExtensionContainer, resolveSubagentLaunchContract } from '@agimon-ai/doompi-team';
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
Focused subpaths expose background-work, capability-ceiling, delegation, and team-snapshot contracts. Host adapters are available at `/extensions/pi` and `/extensions/doom`.
|
|
93
|
+
|
|
94
|
+
## Development
|
|
95
|
+
|
|
96
|
+
```bash
|
|
97
|
+
pnpm build
|
|
98
|
+
pnpm typecheck
|
|
99
|
+
pnpm test
|
|
100
|
+
pnpm lint
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
Maintained by [Agimon](https://agimon.ai/about).
|
|
59
104
|
|
|
60
105
|
## License
|
|
61
106
|
|
package/package.json
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agimon-ai/doompi-team",
|
|
3
|
-
"version": "0.0.1-alpha.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.0.1-alpha.23",
|
|
4
|
+
"description": "Asynchronous named subagents, team runs, intercom, and model policy for Pi coding agents.",
|
|
5
5
|
"keywords": [
|
|
6
|
-
"
|
|
6
|
+
"agent-team",
|
|
7
7
|
"coding-agent",
|
|
8
|
-
"developer-tools",
|
|
9
8
|
"doompi",
|
|
10
|
-
"
|
|
9
|
+
"inter-agent-communication",
|
|
10
|
+
"multi-agent",
|
|
11
|
+
"pi-coding-agent",
|
|
12
|
+
"subagents"
|
|
11
13
|
],
|
|
12
14
|
"homepage": "https://agimon.ai",
|
|
13
15
|
"license": "MIT",
|
|
@@ -38,12 +40,12 @@
|
|
|
38
40
|
"reflect-metadata": "0.2.2",
|
|
39
41
|
"typebox": "1.1.38",
|
|
40
42
|
"yaml": "2.9.0",
|
|
41
|
-
"@agimon-ai/doompi-
|
|
42
|
-
"@agimon-ai/doompi-
|
|
43
|
-
"@agimon-ai/doompi-
|
|
44
|
-
"@agimon-ai/
|
|
45
|
-
"@agimon-ai/
|
|
46
|
-
"@agimon-ai/doompi-
|
|
43
|
+
"@agimon-ai/doompi-extension-contracts": "0.0.1-alpha.23",
|
|
44
|
+
"@agimon-ai/doompi-ui": "0.0.1-alpha.23",
|
|
45
|
+
"@agimon-ai/doompi-telemetry": "0.0.1-alpha.23",
|
|
46
|
+
"@agimon-ai/mcp-proxy": "0.31.13",
|
|
47
|
+
"@agimon-ai/doompi-config": "0.0.1-alpha.23",
|
|
48
|
+
"@agimon-ai/doompi-mcp": "0.0.1-alpha.23"
|
|
47
49
|
},
|
|
48
50
|
"devDependencies": {
|
|
49
51
|
"@earendil-works/pi-agent-core": "0.84.2",
|