pum-agent 0.2.6-beta.1 → 0.2.8-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 +2 -2
- package/package.json +1 -1
- package/src/app.tsx +438 -28
- package/src/check-mode-prompt.ts +94 -0
- package/src/check-mode.ts +14 -3
- package/src/check-mutation.ts +36 -5
- package/src/check-policy.ts +209 -20
- package/src/config.ts +20 -0
- package/src/help-popup.tsx +2 -0
- package/src/login-flow.ts +27 -8
- package/src/main.tsx +19 -16
- package/src/news-popup.tsx +114 -0
- package/src/news.ts +101 -0
- package/src/pasted-text.ts +65 -0
- package/src/status-metadata.ts +3 -3
- package/src/subagents/manager.ts +16 -10
- package/src/tool-groups.ts +318 -0
- package/src/transcript.tsx +15 -3
package/README.md
CHANGED
|
@@ -223,10 +223,10 @@ Trigger events target one exact main or retained child session. A missing sessio
|
|
|
223
223
|
Select a Check mode profile in `Ctrl+P`. It applies to `bash`, `edit`, `apply_patch`, and external-trigger process execution:
|
|
224
224
|
|
|
225
225
|
- **Strict:** Run deterministic hard rules, then require a clear verifier approval.
|
|
226
|
-
- **Balanced:** Block deterministic hard-rule or suspicious findings. Allow ordinary complete project-local calls, explicit non-sensitive external reads, and
|
|
226
|
+
- **Balanced:** Block deterministic hard-rule or suspicious findings. Allow ordinary complete project-local calls, explicit non-sensitive external reads, and narrow lifecycle-disabled npm release verification operations whose writes stay in approved roots. Verifier review is non-blocking unless the verifier returns explicit `UNSAFE`.
|
|
227
227
|
- **Ask:** Show the approval popup for every checked call that passes hard rules, unless an exact session or project approval already matches. A verifier `SAFE`, unclear, error, or unavailable result still requires approval.
|
|
228
228
|
|
|
229
|
-
Every active profile hard-blocks external writes, location changes, execution operands, ambiguous path access, escaping links, credential access, privilege escalation, persistence, remote-script execution, destructive Git operations, and broad deletion. Balanced permits explicit, deterministically classified, non-sensitive external reads. It
|
|
229
|
+
Every active profile hard-blocks external writes, location changes, execution operands, ambiguous path access, escaping links, credential access, privilege escalation, persistence, remote-script execution, destructive Git operations, and broad deletion. Balanced permits explicit, deterministically classified, non-sensitive external reads. It accepts one direct `npm pack` only when lifecycle scripts are disabled, an explicit cache stays in an approved root, output stays in an approved root, and any package operand is one exact registry version. Balanced also accepts one direct `npm install` of one exact registry version only when `--ignore-scripts`, an approved `--prefix`, and an approved `--cache` are explicit. File, Git, URL, tag, range, composed, general install, and global-install forms remain blocked. These hard blocks cannot be overridden and do not open the popup. An explicit verifier `UNSAFE` verdict also blocks without a popup. The only publication exception is a deterministic match for direct main-agent `npm publish` or `npm dist-tag add`. The verifier category does not control this exception. The exception still requires explicit popup approval. Managed subagents cannot use it.
|
|
230
230
|
|
|
231
231
|
Use `/check-path list`, `/check-path add <directory>`, `/check-path remove <directory>`, or `/check-path clear` to manage up to 16 additional directory roots for the current launch project. Bash, edit, and external-trigger checks can use these roots; `apply_patch` remains project-local. Added roots are canonicalized and remain subject to credential, traversal, symlink or junction, broad-deletion, and other hard blocks.
|
|
232
232
|
|