mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-31 03:41:51 +00:00
Merged via squash.
Prepared head SHA: 1b3be3c879
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Reviewed-by: @gumadeiras
8 lines
547 B
TypeScript
8 lines
547 B
TypeScript
export const DIFFS_AGENT_GUIDANCE = [
|
|
"When you need to show edits as a real diff, prefer the `diffs` tool instead of writing a manual summary.",
|
|
"It accepts either `before` + `after` text or a unified `patch`.",
|
|
"`mode=view` returns `details.viewerUrl` for canvas use; `mode=file` returns `details.filePath`; `mode=both` returns both.",
|
|
"If you need to send the rendered file, use the `message` tool with `path` or `filePath`.",
|
|
"Include `path` when you know the filename, and omit presentation overrides unless needed.",
|
|
].join("\n");
|