style: format agent workspace and prompts
This commit is contained in:
1 parent
87baca82db
commit
1a8b106f34
8 files changed
+85
-1
No files matched your search
@@ -115,6 +115,15 @@ describe("buildAgentSystemPrompt", () => {
|
||||
);
|
||||
});
|
||||
|
||||
it("includes workspace notes when provided", () => {
|
||||
const prompt = buildAgentSystemPrompt({
|
||||
workspaceDir: "/tmp/clawd",
|
||||
workspaceNotes: ["Reminder: commit your changes in this workspace after edits."],
|
||||
});
|
||||
|
||||
expect(prompt).toContain("Reminder: commit your changes in this workspace after edits.");
|
||||
});
|
||||
|
||||
it("includes user time when provided (12-hour)", () => {
|
||||
const prompt = buildAgentSystemPrompt({
|
||||
workspaceDir: "/tmp/clawd",
|
||||
|
||||
Reference in new issue
Block a user