@robinpath/cli 1.93.0 → 1.94.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.
Files changed (2) hide show
  1. package/dist/cli.mjs +9 -1
  2. package/package.json +1 -1
package/dist/cli.mjs CHANGED
@@ -18598,7 +18598,7 @@ function getNativeModules() {
18598
18598
  import { join as join3, basename as basename2 } from "node:path";
18599
18599
  import { homedir as homedir2, platform as platform2 } from "node:os";
18600
18600
  import { existsSync as existsSync2 } from "node:fs";
18601
- var CLI_VERSION = true ? "1.93.0" : "1.93.0";
18601
+ var CLI_VERSION = true ? "1.94.0" : "1.94.0";
18602
18602
  var FLAG_QUIET = false;
18603
18603
  var FLAG_VERBOSE = false;
18604
18604
  var FLAG_AUTO_ACCEPT = false;
@@ -21947,6 +21947,14 @@ async function fetchBrainStream(prompt, { onToken, conversationHistory, provider
21947
21947
  doneData = parsed;
21948
21948
  } else if (eventType === "error") {
21949
21949
  logVerbose("Brain stream error:", parsed.message);
21950
+ return {
21951
+ code: fullText,
21952
+ sources: metadata?.sources || [],
21953
+ context: metadata?.context || {},
21954
+ validation: null,
21955
+ usage: doneData?.usage || null,
21956
+ error: parsed.message || "AI model error"
21957
+ };
21950
21958
  }
21951
21959
  } catch {
21952
21960
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@robinpath/cli",
3
- "version": "1.93.0",
3
+ "version": "1.94.0",
4
4
  "description": "AI-powered scripting CLI — automate anything from your terminal",
5
5
  "type": "module",
6
6
  "license": "MIT",