feat: enable permission-aware subagents

This commit is contained in:
叶林立
2026-08-26 10:49:26 +08:00
parent d3bf562189
commit 7571ba6dd9
185 changed files with 48365 additions and 26 deletions
@@ -0,0 +1,9 @@
---
description: "A tool registered at session_start reaches the subagent (#125)."
extensions: "./ext-lazy.mjs"
tools: "*"
expect_tools_present: "read, bash, lazy_tool"
---
e2e template: ext-lazy registers `lazy_tool` from `session_start`, i.e. AFTER
loader.reload() has already run. Any scoping that snapshots the tool set at
construction drops it permanently — this asserts it survives.