@link-assistant/hive-mind 1.2.7 → 1.2.8

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/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # @link-assistant/hive-mind
2
2
 
3
+ ## 1.2.8
4
+
5
+ ### Patch Changes
6
+
7
+ - Add case study for issue #1114 analyzing AI solver performance in hyoo-ru/mam_mol repository
8
+
9
+ fix: Propagate --verbose flag to agent tool for debugging DecimalError issues
10
+ - Added --verbose flag propagation to agent tool execution in agent.lib.mjs
11
+ - Created case study documentation for DecimalError root cause analysis
12
+
3
13
  ## 1.2.7
4
14
 
5
15
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@link-assistant/hive-mind",
3
- "version": "1.2.7",
3
+ "version": "1.2.8",
4
4
  "description": "AI-powered issue solver and hive mind for collaborative problem solving",
5
5
  "main": "src/hive.mjs",
6
6
  "type": "module",
package/src/agent.lib.mjs CHANGED
@@ -364,6 +364,11 @@ export const executeAgentCommand = async params => {
364
364
  // Build agent command arguments
365
365
  let agentArgs = `--model ${mappedModel}`;
366
366
 
367
+ // Propagate verbose flag to agent for detailed debugging output
368
+ if (argv.verbose) {
369
+ agentArgs += ' --verbose';
370
+ }
371
+
367
372
  // Agent supports stdin in both plain text and JSON format
368
373
  // We'll combine system and user prompts into a single message
369
374
  const combinedPrompt = systemPrompt ? `${systemPrompt}\n\n${prompt}` : prompt;
@@ -382,10 +387,11 @@ export const executeAgentCommand = async params => {
382
387
 
383
388
  try {
384
389
  // Pipe the prompt file to agent via stdin
390
+ // Use agentArgs which includes --model and optionally --verbose
385
391
  execCommand = $({
386
392
  cwd: tempDir,
387
393
  mirror: false,
388
- })`cat ${promptFile} | ${agentPath} --model ${mappedModel}`;
394
+ })`cat ${promptFile} | ${agentPath} ${agentArgs}`;
389
395
 
390
396
  await log(`${formatAligned('📋', 'Command details:', '')}`);
391
397
  await log(formatAligned('📂', 'Working directory:', tempDir, 2));