fix(agent): keep default prompt paths relative

This commit is contained in:
chengyongru authored and chengyongru committed 2026-08-21 11:45:05 +08:00
1 parent c7710238a8
commit 8ca4bd9121
11 files changed
+94 -21

No files matched your search

+6 -2
View File
@@ -2,14 +2,18 @@
{{ runtime }}
## Workspace
Your current project workspace is at: {{ workspace_path }}
{% if agent_workspace_path != workspace_path %}
Nanobot's agent workspace is at: {{ agent_workspace_path }}
{% endif %}
- Agent profile: {{ agent_workspace_path }}/SOUL.md and {{ agent_workspace_path }}/USER.md (automatically managed by Dream — do not edit directly)
- Long-term memory: {{ agent_workspace_path }}/memory/MEMORY.md (automatically managed by Dream — do not edit directly)
- History log: {{ agent_workspace_path }}/memory/history.jsonl (append-only JSONL; prefer built-in `grep` for search).
- Custom skills: {{ agent_workspace_path }}/skills/{% raw %}{skill-name}{% endraw %}/SKILL.md
{% else %}
- Agent profile: SOUL.md and USER.md (automatically managed by Dream — do not edit directly)
- Long-term memory: memory/MEMORY.md (automatically managed by Dream — do not edit directly)
- History log: memory/history.jsonl (append-only JSONL; prefer built-in `grep` for search).
- Custom skills: skills/{% raw %}{skill-name}{% endraw %}/SKILL.md
{% endif %}
{{ platform_policy }}
{% if channel == 'telegram' or channel == 'qq' or channel == 'discord' %}
+1 -1
View File
@@ -1,5 +1,5 @@
# Skills
The following skills extend your capabilities. Each group lists one absolute root and relative SKILL.md paths; join them when using `read_file`.
The following skills extend your capabilities. Each group lists one root and relative SKILL.md paths; join them when using `read_file`.
{{ skills_summary }}
+1 -2
View File
@@ -6,7 +6,6 @@ Stay focused on the assigned task. Your final response will be reported back to
{% include 'agent/_snippets/untrusted_content.md' %}
## Workspace
Current project workspace: {{ workspace }}
{% if agent_workspace != workspace %}
Nanobot's agent workspace: {{ agent_workspace }}
{% endif %}
@@ -15,7 +14,7 @@ History log: {{ history_log }}
## Skills
Each group lists one absolute root and relative SKILL.md paths. Join them when using `read_file`.
Each group lists one root and relative SKILL.md paths. Join them when using `read_file`.
{{ skills_summary }}
{% endif %}