{"version":"2.1.330","anchor":"permission-requests-carry-detachedagent","canonical_anchor":"permission-requests-carry-detachedagent","heading":"Permission requests now say whether a detached agent sent them","tier":"internal","area":"SDK","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.330\/e\/permission-requests-carry-detachedagent","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.330","markdown":"### Permission requests now say whether a detached agent sent them\n\nPermission requests sent to remote and SDK clients now include a `detachedAgent` field saying whether a detached agent made the request\n\n**What**\n\nWhen Claude Code needs approval before doing something, it sends a permission request. Apps that drive Claude Code remotely or through the SDK (the kit for building programs on top of Claude Code) receive these requests. Each request now carries a `detachedAgent` field, worked out from the session, saying whether it came from a detached agent. Before, the extra details held only the expiry time and whether bypass was available.\n\n**Why**\n\nApps that handle permission requests can now tell when one came from a detached agent.\n\n- Area: SDK\n- Names: `detachedAgent`\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}