@synergenius/flow-weaver 0.26.6 → 0.26.7

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.
@@ -191,9 +191,11 @@ export class CliSession {
191
191
  // later events including the result's usage with total_cost_usd.
192
192
  const originalPush = this.pushEvent.bind(this);
193
193
  this.parser = new StreamJsonParser((event) => {
194
- if (event.type === 'message_stop' && !sawResult) {
194
+ if (event.type === 'message_stop' && !sawResult && event.finishReason !== 'error') {
195
195
  // Suppress — not the real turn end. The result event will emit
196
196
  // the final message_stop after all usage data is captured.
197
+ // Error stops (e.g. authentication_failed) must pass through
198
+ // so runAgentLoop can detect the failure.
197
199
  return;
198
200
  }
199
201
  originalPush(event);
@@ -9886,7 +9886,7 @@ var VERSION;
9886
9886
  var init_generated_version = __esm({
9887
9887
  "src/generated-version.ts"() {
9888
9888
  "use strict";
9889
- VERSION = "0.26.6";
9889
+ VERSION = "0.26.7";
9890
9890
  }
9891
9891
  });
9892
9892
 
@@ -95973,7 +95973,7 @@ function parseIntStrict(value) {
95973
95973
  // src/cli/index.ts
95974
95974
  init_logger();
95975
95975
  init_error_utils();
95976
- var version2 = true ? "0.26.6" : "0.0.0-dev";
95976
+ var version2 = true ? "0.26.7" : "0.0.0-dev";
95977
95977
  var program2 = new Command();
95978
95978
  program2.name("fw").description("Flow Weaver Annotations - Compile and validate workflow files").option("-v, --version", "Output the current version").option("--no-color", "Disable colors").option("--color", "Force colors").on("option:version", () => {
95979
95979
  logger.banner(version2);
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.26.6";
1
+ export declare const VERSION = "0.26.7";
2
2
  //# sourceMappingURL=generated-version.d.ts.map
@@ -1,3 +1,3 @@
1
1
  // Auto-generated by scripts/generate-version.ts — do not edit manually
2
- export const VERSION = '0.26.6';
2
+ export const VERSION = '0.26.7';
3
3
  //# sourceMappingURL=generated-version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synergenius/flow-weaver",
3
- "version": "0.26.6",
3
+ "version": "0.26.7",
4
4
  "description": "Deterministic workflow compiler for AI agents. Compiles to standalone TypeScript, no runtime dependencies.",
5
5
  "private": false,
6
6
  "type": "module",