pum-agent 0.2.30-beta.1 → 0.2.32-beta.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 +18 -0
- package/package.json +1 -1
- package/src/app.tsx +177 -117
- package/src/bash-tail-text.ts +15 -0
- package/src/commands.ts +28 -1
- package/src/headless.ts +13 -7
- package/src/help-popup.tsx +6 -2
- package/src/login-controller.ts +2 -0
- package/src/main.tsx +18 -17
- package/src/model-command.ts +80 -0
- package/src/model-settings.ts +15 -0
- package/src/pasted-text.ts +19 -65
- package/src/session-lock-runtime.ts +63 -0
- package/src/session-lock.ts +137 -0
- package/src/session-resume-alias.ts +2 -7
- package/src/settings-autocomplete.ts +13 -0
- package/src/settings-command.ts +1 -1
- package/src/status-bar.tsx +16 -16
- package/src/subagents/fork-session.ts +5 -1
- package/src/subagents/manager.ts +28 -1
- package/src/transcript.tsx +65 -26
package/README.md
CHANGED
|
@@ -27,6 +27,17 @@ Select a model in `Ctrl+P`. GPT-6 Astra is listed for OpenAI and Codex;
|
|
|
27
27
|
using it requires access on your provider account. Press `r` in the model
|
|
28
28
|
list to refresh providers that support catalog discovery.
|
|
29
29
|
|
|
30
|
+
Use `/model <name or provider/model-id> [effort]` to change the main-agent model.
|
|
31
|
+
Names and IDs match exactly, without case sensitivity. Display names can contain spaces.
|
|
32
|
+
Use the provider-qualified ID when a name matches more than one model.
|
|
33
|
+
`/model` opens the model picker. `/effort <level>` changes only reasoning effort.
|
|
34
|
+
`/effort` shows the current effort and supported levels.
|
|
35
|
+
Both commands autocomplete available values and reject unsupported efforts before changing the model.
|
|
36
|
+
Model and effort changes use the same authentication and persistence as Settings.
|
|
37
|
+
Run these commands from the main transcript while the agent is idle; child models remain unchanged.
|
|
38
|
+
Use `/store` or `/s` to save current settings as global defaults, exactly like `s` in Settings.
|
|
39
|
+
These aliases promote PUM settings and clear session overrides. Pi already persists model and effort separately.
|
|
40
|
+
|
|
30
41
|
> [!WARNING]
|
|
31
42
|
> PUM can read, write, and delete files. Check mode adds deterministic policy
|
|
32
43
|
> checks, and supported hosts can enforce native Bash isolation, but the
|
|
@@ -107,6 +118,13 @@ bun run start
|
|
|
107
118
|
|
|
108
119
|
Use `bun run start -r` to resume the latest session for the current directory,
|
|
109
120
|
and `/login` to add or update a provider later.
|
|
121
|
+
Inside the TUI, `/history` or its alias `/resume` opens the saved-session browser.
|
|
122
|
+
|
|
123
|
+
Only one PUM instance can own a saved session at a time. Close the owning
|
|
124
|
+
session before resuming it elsewhere. This also applies to headless runs,
|
|
125
|
+
managed agents, and worktree resume aliases. A locked history selection leaves
|
|
126
|
+
the current session unchanged. PUM automatically recovers locks from dead
|
|
127
|
+
processes when it can verify the owner. It never expires a live process lock.
|
|
110
128
|
|
|
111
129
|
The published package is called `pum-agent` because the bare `pum` name is
|
|
112
130
|
taken; the installed command is still `pum`. `npm i -g pum-agent` copies the
|