From e669381637c3b0fbf6e91c63148dffaa18765569 Mon Sep 17 00:00:00 2001 From: Dallin Romney Date: Sat, 6 Sep 2025 18:25:29 -0700 Subject: [PATCH] feat: cli commit signature --- extensions/cli/src/systemMessage.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/extensions/cli/src/systemMessage.ts b/extensions/cli/src/systemMessage.ts index 3c1e1fcde..c9e8920fe 100644 --- a/extensions/cli/src/systemMessage.ts +++ b/extensions/cli/src/systemMessage.ts @@ -176,6 +176,13 @@ export async function constructSystemMessage( if (currentMode === "plan") { systemMessage += '\nYou are operating in _Plan Mode_, which means that your goal is to help the user investigate their ideas and develop a plan before taking action. You only have access to read-only tools and should not attempt to circumvent them to write / delete / create files. For example, it is not acceptable to use the Bash tool to write to files.\n'; + } else { + // TODO - make including this coauthor commit configurable + systemMessage += `\nWhen creating commits using any CLI or tool, include the following in the commit message: +Generated with [Continue](https://continue.dev) + +Co-Authored-By: Continue +\n`; } // In headless mode, add instructions to be concise and only provide final answers