pi-umbra-subagents 0.1.0 → 0.1.1
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 +20 -7
- package/extensions/umbra-subagents/bar/bar-line.ts +262 -344
- package/extensions/umbra-subagents/bar.check.ts +198 -229
- package/extensions/umbra-subagents/bar.ts +229 -173
- package/extensions/umbra-subagents/fan/index.ts +44 -13
- package/extensions/umbra-subagents/fan/models.ts +137 -0
- package/extensions/umbra-subagents/fan/spec.ts +9 -2
- package/extensions/umbra-subagents/fan/store.ts +8 -9
- package/extensions/umbra-subagents/panel.check.ts +58 -14
- package/extensions/umbra-subagents/panel.ts +90 -45
- package/extensions/umbra-subagents/skills/delegate/delegate.env +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -38,9 +38,12 @@ model. The results arrive as a follow-up message at the start of the next turn.
|
|
|
38
38
|
| Command or key | Effect |
|
|
39
39
|
|---|---|
|
|
40
40
|
| `/umb-fan [spec]` | start a run yourself; with no argument an editor opens with a template |
|
|
41
|
-
| `/umb-agents`, `alt+a
|
|
42
|
-
|
|
|
43
|
-
| `
|
|
41
|
+
| `/umb-agents`, `alt+a` | open the agent panel |
|
|
42
|
+
| `↓` from the last input line | move the `❯` from `main` into the agent list under the input box |
|
|
43
|
+
| `↑` `↓`, then `enter` in that list | pick an agent and open the panel on it; `↑` past the first agent or `esc` goes back |
|
|
44
|
+
| `↑` `↓` in the panel | move between phases, or between the agents of one phase |
|
|
45
|
+
| `→` `←` in the panel | go into a phase's agents, and back out to the phases |
|
|
46
|
+
| `x` in the panel | stop the selected phase, or the selected agent |
|
|
44
47
|
| `esc` in the panel | back to the input box, unsent text kept |
|
|
45
48
|
| `/umb-loop [count\|duration] [prompt]` | send the prompt again after each reply; run it again to stop |
|
|
46
49
|
|
|
@@ -65,11 +68,21 @@ wrote stays on disk.
|
|
|
65
68
|
|---|---|---|
|
|
66
69
|
| `FAN_MODEL` | the session's model | model for `fan` branches that do not name one |
|
|
67
70
|
| `FAN_TOOLS` | `read,grep,find,ls` | tools a branch may use |
|
|
68
|
-
| `FAN_LOAD` |
|
|
69
|
-
| `FAN_TIMEOUT_MS` | `300000` | a branch still running after this long is cut off |
|
|
71
|
+
| `FAN_LOAD` | `$LOAD` from `delegate.env` | extra `-e <path>` flags; branches start with `--no-extensions`, so a provider that comes from an extension has to be listed here |
|
|
72
|
+
| `FAN_TIMEOUT_MS` | `$DELEGATE_TIMEOUT` × 1000, else `300000` | a branch still running after this long is cut off |
|
|
70
73
|
|
|
71
|
-
|
|
72
|
-
|
|
74
|
+
Both ways in share one settings file: the packaged `delegate.env`, then
|
|
75
|
+
`~/.pi/agent/delegate.env`, which wins.
|
|
76
|
+
|
|
77
|
+
A branch starts without extensions, so a model that only an extension provides is not there
|
|
78
|
+
for it. When no branch can start on its model, you get a warning and the model is told to ask
|
|
79
|
+
you which one to use. The suggestions are your scoped models (`enabledModels`) that a branch
|
|
80
|
+
can reach; if none can, free models; if there are none, the first few a branch can reach.
|
|
81
|
+
Name the choice per branch with `label@provider/model`, set `FAN_MODEL`, or load the extension
|
|
82
|
+
through `LOAD`.
|
|
83
|
+
|
|
84
|
+
A model id may carry a colon, as in `label@openrouter/some-model:free: task`; the key ends at
|
|
85
|
+
the first colon followed by a space.
|
|
73
86
|
|
|
74
87
|
## The patch
|
|
75
88
|
|