{"version":"2.1.324","anchor":"pending-action-cards-are-shrunk-to-fit-a-size-budget","canonical_anchor":"pending-action-cards-are-shrunk-to-fit-a-size-budget","heading":"Pending permission cards are trimmed to fit a size limit, and cut ones are recorded","tier":"internal","area":"Sessions","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.324\/e\/pending-action-cards-are-shrunk-to-fit-a-size-budget","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.324","markdown":"### Pending permission cards are trimmed to fit a size limit, and cut ones are recorded\n\nPending-action cards are now slimmed or dropped to fit a byte budget, and permission events record which requests were cut or suppressed\n\n**What**\n\nWhen Claude Code waits on you, for example for a permission prompt, it writes \"pending action\" cards into the session state. Other apps showing the session read those cards. The code that writes them was reworked.\n\n- It picks a lead card, slims down cards that are too large, and drops cards that do not fit a byte budget (`maxPendingActionWriteBytes`).\n\n- It now tracks which cards it cut for size.\n\n- Event data about permission requests gains `suppressed_request_id`, `cut_request_id` and `shown_texts_whole`.\n\n**Why**\n\nLarge permission prompts are less likely to break the session state that remote apps read. When a card is shortened or dropped, there is now a record of which request was affected.\n\n- Area: Sessions\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}