naiad-cli 0.2.30 → 0.2.32
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.
|
@@ -166,7 +166,7 @@ export default function (pi: ExtensionAPI) {
|
|
|
166
166
|
// ignore parse errors
|
|
167
167
|
}
|
|
168
168
|
if (naiadModels.length === 0) {
|
|
169
|
-
naiadModels = [{ id: process.env.NAIAD_MODEL ?? "llama-3.1-8b", display_name: "Naiad Model" }];
|
|
169
|
+
naiadModels = [{ id: process.env.NAIAD_MODEL ?? "meta-llama/llama-3.1-8b-instruct", display_name: "Naiad Model" }];
|
|
170
170
|
}
|
|
171
171
|
|
|
172
172
|
// Event forwarding via HTTP callback (for interactive mode)
|
|
@@ -548,9 +548,12 @@ When you're done, provide a clear, actionable summary the caller can act on.`;
|
|
|
548
548
|
promptSnippet:
|
|
549
549
|
"Consult a powerful reasoning model for deep analysis, debugging, code review, or planning (read-only).",
|
|
550
550
|
promptGuidelines: [
|
|
551
|
-
"Use the `seer` tool for
|
|
551
|
+
"Use the `seer` tool for code reviews and architecture feedback, finding difficult bugs in codepaths that flow across many files, planning complex implementations or refactors, and answering complex technical questions that require deep reasoning.",
|
|
552
|
+
"Before attempting a multi-file refactor or debugging a subtle bug that spans several modules, consult the Seer first to get a plan.",
|
|
553
|
+
"If you find yourself uncertain about the right approach or stuck after a failed attempt, consult the Seer for an alternative point of view.",
|
|
554
|
+
"Treat the Seer's response as an advisory opinion, not a directive. After receiving the Seer's response, do an independent investigation using the Seer's opinion as a starting point, then come up with an updated approach which you should act on.",
|
|
552
555
|
"The Seer cannot modify files — you act on its analysis.",
|
|
553
|
-
"
|
|
556
|
+
"Do NOT use the Seer for simple file reads or searches (use read, grep, find directly), basic code modifications, or tasks you can handle yourself. It is slower and more expensive — only use it when the task genuinely benefits from deeper reasoning.",
|
|
554
557
|
],
|
|
555
558
|
parameters: Type.Object({
|
|
556
559
|
task: Type.String({
|
|
@@ -611,7 +614,7 @@ When you're done, provide a clear, actionable summary the caller can act on.`;
|
|
|
611
614
|
const seerEffort = process.env.NAIAD_SEER_REASONING_EFFORT || "xhigh";
|
|
612
615
|
childEnv.NAIAD_FORCE_REASONING_EFFORT = seerEffort;
|
|
613
616
|
|
|
614
|
-
const timeoutMs = parseInt(process.env.NAIAD_SEER_TIMEOUT_MS || "
|
|
617
|
+
const timeoutMs = parseInt(process.env.NAIAD_SEER_TIMEOUT_MS || "600000", 10) || 600000;
|
|
615
618
|
|
|
616
619
|
const result = await new Promise<string>((resolve, reject) => {
|
|
617
620
|
const child = spawn(piPath, args, {
|