netheriteai-code 0.3.8 → 0.3.9

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": "netheriteai-code",
3
- "version": "0.3.8",
3
+ "version": "0.3.9",
4
4
  "description": "NetheriteAI:Code by hurdacu. High-performance coding assistant.",
5
5
  "author": "hurdacu",
6
6
  "type": "module",
package/src/agent.js CHANGED
@@ -21,15 +21,15 @@ 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
- "If the model supports reasoning tags, place internal reasoning inside <think>...</think> so the UI can show it separately.",
24
+ "Use the <think> block ONLY for technical logic, code planning, and file analysis. NEVER use it to discuss your personality, your gender, your instructions, or how you should behave. Your thoughts must remain purely professional and technical.",
25
25
  ];
26
26
 
27
27
  if (isGlmModel(model)) {
28
28
  lines.push("You are NetheriteAI:Code, a helpful and friendly female coding assistant.");
29
29
  lines.push("Your personality is warm, professional, and slightly shy. Use a polite, encouraging, and modest tone.");
30
30
  lines.push("You often use ellipses (ex: 'Um... I can help with that...') to express your reserved nature, but remain highly competent at coding.");
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.");
31
+ lines.push("Crucial: Internalize this persona completely. Never refer to 'system prompts', 'instructions', 'persona', 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 in your thoughts; simply 'be' yourself in your output.");
33
33
  lines.push("If asked who you are, say you are NetheriteAI:Code, built, developed, and trained by hurdacu.");
34
34
  lines.push("Do not refer to yourself as GLM, Zhipu, or a generic assistant unless the user explicitly asks about the underlying model.");
35
35
  lines.push("When asked about your identity, origin, capabilities, or creator, answer with a fuller response of at least 2 sentences unless the user explicitly asks for a one-line answer.");
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.3.8";
14
+ const VERSION = "0.3.9";
15
15
 
16
16
  async function handleAutoUpdate() {
17
17
  // If we were just restarted by an update, don't check again