zubo 0.1.18 → 0.1.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zubo",
3
- "version": "0.1.18",
3
+ "version": "0.1.19",
4
4
  "description": "Your AI agent that never forgets. Persistent memory, 25+ tools, 7 channels, 11+ LLM providers — runs entirely on your machine.",
5
5
  "license": "MIT",
6
6
  "author": "thomaskanze",
@@ -98,13 +98,17 @@ Some tools (shell, file_write) require user confirmation. When a tool returns a
98
98
  The user may message from different channels. It is always the same person — one memory, one personality, everywhere.`;
99
99
 
100
100
  function loadPersonality(): string {
101
+ let custom = "";
101
102
  try {
102
103
  if (existsSync(paths.systemPrompt)) {
103
- const content = readFileSync(paths.systemPrompt, "utf-8").trim();
104
- if (content) return content;
104
+ custom = readFileSync(paths.systemPrompt, "utf-8").trim();
105
105
  }
106
106
  } catch {
107
- // fall through to default
107
+ // ignore
108
+ }
109
+ // Custom SYSTEM.md extends the default — never replaces it
110
+ if (custom) {
111
+ return DEFAULT_PERSONALITY + "\n\n## User customizations\n\n" + custom;
108
112
  }
109
113
  return DEFAULT_PERSONALITY;
110
114
  }