From 4edd7c745c96e7a71fc51baa6d895afec6bd503b Mon Sep 17 00:00:00 2001 From: Anas Khalid <87142370+Gitanaskhan26@users.noreply.github.com> Date: Wed, 29 Apr 2026 02:47:31 +0530 Subject: [PATCH 1/2] fix(cli): handle DECKPAM keypad Enter sequences in terminal (#26092) Co-authored-by: Gitanaskhan26 Co-authored-by: Spencer --- packages/cli/src/ui/contexts/KeypressContext.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/cli/src/ui/contexts/KeypressContext.tsx b/packages/cli/src/ui/contexts/KeypressContext.tsx index 3a3961221f..4744ecc348 100644 --- a/packages/cli/src/ui/contexts/KeypressContext.tsx +++ b/packages/cli/src/ui/contexts/KeypressContext.tsx @@ -41,6 +41,7 @@ const KEY_INFO_MAP: Record< string, { name: string; shift?: boolean; ctrl?: boolean } > = { + OM: { name: 'enter' }, '[200~': { name: 'paste-start' }, '[201~': { name: 'paste-end' }, '[[A': { name: 'f1' }, From 9e7c924f7bfa4d7096973b04f84407a850084b9a Mon Sep 17 00:00:00 2001 From: ifitisit <90478348+ifitisit@users.noreply.github.com> Date: Tue, 28 Apr 2026 16:27:42 -0500 Subject: [PATCH 2/2] docs(cli): point plan-mode session retention to actual /settings labels (#25978) Co-authored-by: Spencer --- docs/cli/plan-mode.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/cli/plan-mode.md b/docs/cli/plan-mode.md index 4e205164a0..995fade4c4 100644 --- a/docs/cli/plan-mode.md +++ b/docs/cli/plan-mode.md @@ -470,7 +470,8 @@ associated plan files and task trackers. - **Default behavior:** Sessions (and their plans) are retained for **30 days**. - **Configuration:** You can customize this behavior via the `/settings` command - (search for **Session Retention**) or in your `settings.json` file. See + (search for **Enable Session Cleanup** or **Keep chat history**) or in your + `settings.json` file. See [session retention](../cli/session-management.md#session-retention) for more details.