assistme 0.6.3 → 0.6.4

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/dist/index.js CHANGED
@@ -4125,6 +4125,15 @@ async function runAnalysisQuery(model, prompt) {
4125
4125
  log.debug(
4126
4126
  `Self-analysis cost: $${successMsg.total_cost_usd.toFixed(4)}`
4127
4127
  );
4128
+ if (!structuredOutput) {
4129
+ log.warn(
4130
+ `Self-analysis: success but no structured_output. result text: ${String(successMsg.result ?? "").slice(0, 500)}`
4131
+ );
4132
+ }
4133
+ } else {
4134
+ log.warn(
4135
+ `Self-analysis: query returned subtype="${resultMsg.subtype}". result: ${String(resultMsg.result ?? "").slice(0, 500)}`
4136
+ );
4128
4137
  }
4129
4138
  }
4130
4139
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "assistme",
3
- "version": "0.6.3",
3
+ "version": "0.6.4",
4
4
  "description": "AssistMe CLI Agent - AI-powered assistant that controls your real browser",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -370,6 +370,16 @@ async function runAnalysisQuery(model: string, prompt: string): Promise<unknown>
370
370
  log.debug(
371
371
  `Self-analysis cost: $${successMsg.total_cost_usd.toFixed(4)}`
372
372
  );
373
+ if (!structuredOutput) {
374
+ // structured_output can be undefined even on success — log the text result
375
+ log.warn(
376
+ `Self-analysis: success but no structured_output. result text: ${String((successMsg as any).result ?? "").slice(0, 500)}`
377
+ );
378
+ }
379
+ } else {
380
+ log.warn(
381
+ `Self-analysis: query returned subtype="${resultMsg.subtype}". result: ${String((resultMsg as any).result ?? "").slice(0, 500)}`
382
+ );
373
383
  }
374
384
  }
375
385
  }