Elffuss BraidHub

kikocis/continue public

feat: cli commit signature
Changeset53f2f2d156201f015897150a20396c1cb10dd0f45920d7856425c27fc4c8d508
AuthorDallin Romney <dallinromney@gmail.com> · 2025-09-06 18:25 -07:00
CommitterDallin Romney <dallinromney@gmail.com> · 2025-09-06 18:25 -07:00
Parentsf679de86c340

Browse the files at this changeset

1 file changed

modified extensions/cli/src/systemMessage.ts +7 −0
@@ -176,6 +176,13 @@
176176 if (currentMode === "plan") {
177177 systemMessage +=
178178 '\n<context name="planMode">You 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.</context>\n';
179+ } else {
180+ // TODO - make including this coauthor commit configurable
181+ systemMessage += `\n<context name="commitSignature">When creating commits using any CLI or tool, include the following in the commit message:
182+Generated with [Continue](https://continue.dev)
183+
184+Co-Authored-By: Continue <noreply@continue.dev>
185+</context>\n`;
179186 }
180187
181188 // In headless mode, add instructions to be concise and only provide final answers