{"version":"2.1.277","anchor":"cloud-session-creation-can-defer-sending-the-first-prompt-un","canonical_anchor":"cloud-session-creation-can-defer-sending-the-first-prompt-un","heading":"Cloud session creation can defer sending the first prompt until permission mode is confirmed","tier":"internal","area":"Cloud Sessions","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.277\/e\/cloud-session-creation-can-defer-sending-the-first-prompt-un","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.277","markdown":"### Cloud session creation can defer sending the first prompt until permission mode is confirmed\n\nCloud session creation can now send the first prompt separately, after permission mode is confirmed\n\n**What**\n\nWhen creating a remote or cloud (\"teleport\") session, the client can now opt in to a mode where the first prompt is left out of the initial signed session-create request and sent separately afterward, once the permission mode it establishes has been stored on the server. This is controlled by a new `deferInitialMessage` option, and the create response can indicate the first prompt was withheld so the caller knows to send it itself.\n\n**Why**\n\nThis ensures the permission mode for a new remote session is confirmed and stored before the first prompt is sent, avoiding a case where a prompt could be processed before its governing permission mode is actually in effect.\n\n- Area: Cloud Sessions\n- Names: `deferInitialMessage`\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 2\/5"}