microsoft/amplifier-agent v0.5.1
microsoft/amplifier-agent
Captured source
source ↗v0.5.1 — hooks-approval unmounted from default bundle
Repository: microsoft/amplifier-agent
Tag: v0.5.1
Published: 2026-06-05T13:04:46Z
Prerelease: no
Release notes:
Highlights
`hooks-approval` is no longer mounted by default. Per the upstream USAGE_GUIDE — *"Backward compatible — Tools work without approval hook."* — the module is opt-in. The engine's default bundle had been mounting it unconditionally, which caused sub-session delegation to auto-deny any command that fell outside the bundled DEFAULT_RULES auto-approve list (e.g. cat, env, curl).
What changed
- Removed
hooks-approvalfrom the default bundle composition (src/amplifier_agent_lib/bundle/bundle.md) - Updated
admin/doctor.pyto drop thehooks-approvalpresence check (it would have permanently failed post-unmount) - Updated
tests/test_admin_doctor_phase2.pyto match the new doctor expectations - Added
ISSUES.mdtracking the deferred work needed to re-wirehooks-approvalend-to-end in the future (5 concrete pieces — see ISSUE-001) - Bumped
pyproject.toml:0.5.0→0.5.1
The LICENSE is unchanged. Pre-PR 0.5.0-era sessions remain resumable but delegation flows will still hit the old auto-deny behavior on those sessions; start a fresh session to get the new behavior.
How to install
uv tool install --reinstall --force git+https://github.com/microsoft/amplifier-agent@v0.5.1
Compatibility
- Wire protocol:
0.3.0(unchanged from 0.5.0) - amplifier-agent-ts wrapper:
>= 0.6.1 - Hosts: any caller using
host_config.approval.mode = "yes"or passing-yworks unchanged
Why this matters
For hosts running headless (paperclip, CI/CD), the engine no longer requires a separate hooks-approval registration step. For interactive CLI use, add hooks-approval to your profile per the USAGE_GUIDE.
Reference
- PR: microsoft/amplifier-agent#40
- Merge commit: 0c69c88b36217cd395e937fc97f5ce246bc02887
🤖 Generated with Amplifier
What's Changed
- feat(wrapper-ts)!: hardening release 0.6.0 (NDJSON events, configPath, approval, getEngineInfo, +5 more) by @manojp99 in https://github.com/microsoft/amplifier-agent/pull/36
- fix(wrapper-ts): transport test timeout for CI (v0.6.1, supersedes failed 0.6.0 publish) by @manojp99 in https://github.com/microsoft/amplifier-agent/pull/37
- feat(cli): amplifier-agent update subcommand (v0.5.0) by @manojp99 in https://github.com/microsoft/amplifier-agent/pull/38
- fix(bundle): unmount hooks-approval from default mount (v0.5.1) by @manojp99 in https://github.com/microsoft/amplifier-agent/pull/40
Full Changelog: https://github.com/microsoft/amplifier-agent/compare/v0.4.1...v0.5.1
Notability
notability 2.0/10Minor release, no notable traction.