@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);
|
package/dist/cli/flow-weaver.mjs
CHANGED
|
@@ -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.
|
|
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.
|
|
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.
|
|
1
|
+
export declare const VERSION = "0.26.7";
|
|
2
2
|
//# sourceMappingURL=generated-version.d.ts.map
|
package/package.json
CHANGED