@synergenius/flow-weaver 0.25.1 → 0.25.2

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.
@@ -96,7 +96,10 @@ export class CliSession {
96
96
  model,
97
97
  ];
98
98
  if (mcpConfigPath) {
99
- args.push('--mcp-config', mcpConfigPath, '--strict-mcp-config');
99
+ args.push('--mcp-config', mcpConfigPath);
100
+ }
101
+ if (this.opts.strictMcpConfig || mcpConfigPath) {
102
+ args.push('--strict-mcp-config');
100
103
  }
101
104
  const { disallowedTools, tools, systemPrompt, appendSystemPrompt } = this.opts;
102
105
  if (disallowedTools && disallowedTools.length > 0) {
@@ -276,6 +279,7 @@ export class CliSession {
276
279
  return JSON.stringify({
277
280
  model: options.model,
278
281
  mcpConfigPath: options.mcpConfigPath,
282
+ strictMcpConfig: options.strictMcpConfig,
279
283
  disallowedTools: options.disallowedTools,
280
284
  tools: options.tools,
281
285
  systemPrompt: options.systemPrompt,
@@ -189,6 +189,8 @@ export interface CliSessionOptions {
189
189
  model: string;
190
190
  /** Pre-configured MCP config path. */
191
191
  mcpConfigPath?: string;
192
+ /** When true, ignore user/project MCP servers — only use --mcp-config if provided. */
193
+ strictMcpConfig?: boolean;
192
194
  /** Disable specific built-in tools (e.g. ['Read', 'Edit', 'Write', 'Bash'] to force MCP tools). */
193
195
  disallowedTools?: string[];
194
196
  /**
@@ -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.25.1";
9889
+ VERSION = "0.25.2";
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.25.1" : "0.0.0-dev";
95976
+ var version2 = true ? "0.25.2" : "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.25.1";
1
+ export declare const VERSION = "0.25.2";
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.25.1';
2
+ export const VERSION = '0.25.2';
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.25.1",
3
+ "version": "0.25.2",
4
4
  "description": "Deterministic workflow compiler for AI agents. Compiles to standalone TypeScript, no runtime dependencies.",
5
5
  "private": false,
6
6
  "type": "module",