@deathbeam/pi-delegate 0.0.27 → 0.0.28
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 +7 -13
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -28,11 +28,6 @@ Optional `delegate` settings live in `~/.pi/agent/settings.json` or `.pi/setting
|
|
|
28
28
|
}
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
Relative `agentDirs` resolve against the project cwd, later same-name definitions win. Project `models` override global
|
|
32
|
-
tiers (`cheap`, `balanced`, `strong`); a tier is a `provider/model` string with an optional `:<thinking>` suffix, as in
|
|
33
|
-
pi's `--model`. An unset tier makes the child use the current session model. Thinking resolves from the agent's
|
|
34
|
-
`model` suffix first, then the tier suffix, then the session level.
|
|
35
|
-
|
|
36
31
|
Agents are Markdown files with frontmatter, the body becomes the child's system prompt:
|
|
37
32
|
|
|
38
33
|
```markdown
|
|
@@ -41,17 +36,17 @@ name: scout
|
|
|
41
36
|
description: Explore the codebase
|
|
42
37
|
tools: read, grep
|
|
43
38
|
model: cheap
|
|
39
|
+
isolated: false
|
|
44
40
|
---
|
|
45
41
|
|
|
46
42
|
Explore the codebase and report relevant paths.
|
|
47
43
|
```
|
|
48
44
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
resets on each prompt and each `delegate` call.
|
|
45
|
+
- `name` is required and must be unique
|
|
46
|
+
- `descripion` is required
|
|
47
|
+
- `tools` is optional, a comma-separated list of tool names. Defaults to the session tools.
|
|
48
|
+
- `model` is optional, a tier name or `provider/model[:thinking]`. Defaults to the session model.
|
|
49
|
+
- `isolated` is optional, defaults to `false`. See [Isolation](#isolation).
|
|
55
50
|
|
|
56
51
|
## Isolation
|
|
57
52
|
|
|
@@ -59,8 +54,7 @@ resets on each prompt and each `delegate` call.
|
|
|
59
54
|
`.pi/worktrees/<id>`, starting from your current working tree including uncommitted changes. Add `.pi/worktrees/` to
|
|
60
55
|
`.gitignore`.
|
|
61
56
|
|
|
62
|
-
`delegate_apply` merges the result into your working tree as uncommitted changes.
|
|
63
|
-
can steer the delegate to resolve it. `discard: true` drops the clone instead.
|
|
57
|
+
`delegate_apply` merges the result into your working tree as uncommitted changes.
|
|
64
58
|
|
|
65
59
|
## Development
|
|
66
60
|
|