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: "prompt_mode replace (default) — body is the full system prompt."
prompt_mode: replace
expect_tools_present: "read"
expect_prompt_contains: "REPLACE_BODY_MARKER"
expect_prompt_absent: "PARENT_PROMPT_MARKER"
---
REPLACE_BODY_MARKER — in replace mode the parent prompt is NOT inherited, so the
real session's system prompt contains this body but not the parent's marker.