Skip to content

Commit ac2b1f3

Browse files
authored
Merge pull request #16 from odefun/ode_1770280714.189709
chore: guide git author usage
2 parents 880b1c2 + 2cb432c commit ac2b1f3

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Ode
22

3-
Ode is a Chat bot that bridges your coding agents (currently only opencode, more coming soon) to your favourite chat apps.
3+
Ode is a chat bot that bridges your coding agents (currently only opencode, more coming soon) to your favorite chat apps.
44

55
![Ode demo](static/ode-demo.png)
66

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ode",
3-
"version": "0.0.26",
3+
"version": "0.0.27",
44
"description": "Ode - OpenCode chat controller for Slack",
55
"module": "packages/core/index.ts",
66
"type": "module",

packages/agents/shared.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,16 @@ export function buildSlackSystemPrompt(slack?: SlackContext): string {
1212
"- Use short paragraphs, avoid walls of text",
1313
"- Get straight to the point",
1414
"",
15-
"MESSAGE BREVITY:",
16-
"- Prefer short results over step-by-step narration",
17-
"- Skip tool call labels like ':arrow_forward: bash'",
18-
"- If listing tasks, keep it compact",
19-
"",
2015
"PROGRESS CHECKLIST:",
2116
"- Share a short checklist of what you're doing",
2217
"- Mention searches once with a result count if known",
2318
"- List edits with the file path and a brief why",
2419
"",
20+
"GIT AUTHORING:",
21+
"- If GIT_AUTHOR_NAME and GIT_AUTHOR_EMAIL are set, use them explicitly in commit commands.",
22+
"- Prefer: git commit --author=\"$GIT_AUTHOR_NAME <$GIT_AUTHOR_EMAIL>\" -m \"...\"",
23+
"- Use GH_TOKEN for gh commands when available.",
24+
"",
2525
"SLACK CONTEXT:",
2626
];
2727

0 commit comments

Comments
 (0)