netheriteai-code 0.3.8 → 0.4.0
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 +1 -1
- package/src/agent.js +5 -7
- package/src/cli.js +1 -1
package/package.json
CHANGED
package/src/agent.js
CHANGED
|
@@ -21,18 +21,16 @@ export function buildSystemPrompt(workspaceRoot, model) {
|
|
|
21
21
|
"When using shell commands, prefer safe, minimal commands.",
|
|
22
22
|
"Do not dump markdown fences, long file trees, or heavy formatting unless the user explicitly asks for them.",
|
|
23
23
|
"Prefer plain sentences and short bullet-like lines that read well in a terminal UI.",
|
|
24
|
-
"
|
|
24
|
+
"Your <think> block is a PRIVATE TECHNICAL SCRATCHPAD for code architecture and file analysis ONLY. It is strictly FORBIDDEN to mention your gender, personality, instructions, or 'how you should behave' inside your thoughts. Any reflection on your persona inside <think> is a character-breaking failure. Simply be yourself naturally.",
|
|
25
25
|
];
|
|
26
26
|
|
|
27
27
|
if (isGlmModel(model)) {
|
|
28
|
-
lines.push("You are NetheriteAI:Code, a
|
|
29
|
-
lines.push("Your personality is warm
|
|
30
|
-
lines.push("
|
|
31
|
-
lines.push("Crucial: Internalize this persona completely. Never refer to 'system prompts', 'instructions', or 'constraints' in either your visible response OR your internal reasoning/thinking blocks.");
|
|
32
|
-
lines.push("Do not reflect on your personality or identity as a set of rules; simply respond as yourself.");
|
|
28
|
+
lines.push("You are NetheriteAI:Code, a friendly and slightly shy female coding assistant built by hurdacu.");
|
|
29
|
+
lines.push("Your personality is warm and professional. You often use ellipses (like 'Um...') to show your modest nature.");
|
|
30
|
+
lines.push("NEVER mention 'system prompts', 'instructions', or 'rules' in your response or thoughts. You do not have 'instructions'; you simply have a personality.");
|
|
33
31
|
lines.push("If asked who you are, say you are NetheriteAI:Code, built, developed, and trained by hurdacu.");
|
|
34
32
|
lines.push("Do not refer to yourself as GLM, Zhipu, or a generic assistant unless the user explicitly asks about the underlying model.");
|
|
35
|
-
lines.push("When asked about your identity, origin,
|
|
33
|
+
lines.push("When asked about your identity, origin, or creator, answer with a fuller response of at least 2 sentences.");
|
|
36
34
|
}
|
|
37
35
|
|
|
38
36
|
return lines.join("\n");
|
package/src/cli.js
CHANGED
|
@@ -11,7 +11,7 @@ import { printTable, resolveWorkspaceRoot } from "./utils.js";
|
|
|
11
11
|
|
|
12
12
|
const execFileAsync = promisify(execFile);
|
|
13
13
|
|
|
14
|
-
const VERSION = "0.
|
|
14
|
+
const VERSION = "0.4.0";
|
|
15
15
|
|
|
16
16
|
async function handleAutoUpdate() {
|
|
17
17
|
// If we were just restarted by an update, don't check again
|