@synergenius/flow-weaver 0.21.11 → 0.21.13

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/LICENSE CHANGED
@@ -37,6 +37,9 @@ Never permitted:
37
37
  Remove or circumvent license keys Applies to software and derivatives
38
38
  Remove licensing or copyright notices Must always be retained
39
39
  Strip license key checks from forks Derivatives must retain protections
40
+ Reverse-engineer to build replacements Manual, automated, or AI-assisted
41
+ Use as AI/ML input to replicate features Training, prompting, or code generation
42
+ Extract specs for third-party cloning Indirect circumvention via intermediaries
40
43
 
41
44
  ---
42
45
 
@@ -81,6 +84,26 @@ mechanisms, and licensing notices present in the original software. Distributing
81
84
  derivative works with license key protections removed, disabled, or bypassed
82
85
  constitutes a violation of this license.
83
86
 
87
+ You may not use any part of the software, including but not limited to its
88
+ source code, test suites, documentation, specifications, observable behavior,
89
+ inputs, outputs, or error messages, to develop, train, fine-tune, prompt, or
90
+ otherwise assist in the creation of software that replicates, reimplements, or
91
+ substitutes for any functionality of the software. This restriction applies
92
+ whether the development is performed manually, through automated tools, or
93
+ through artificial intelligence or machine learning systems, and regardless of
94
+ whether the resulting software contains any code from the original.
95
+
96
+ You may not use any part of the software as input to any artificial intelligence,
97
+ machine learning, or large language model system for the purpose of generating,
98
+ synthesizing, or deriving source code, algorithms, data structures, or
99
+ architectures that replicate or approximate the functionality of the software.
100
+
101
+ You may not circumvent the limitations in this license through indirect means,
102
+ including but not limited to extracting specifications, behavioral descriptions,
103
+ or functional requirements from the software and providing them to third parties
104
+ or automated systems for the purpose of developing competing or functionally
105
+ equivalent software.
106
+
84
107
  You may not alter, remove, or obscure any licensing, copyright, or other notices
85
108
  of the licensor in the software. Any use of the licensor's trademarks is subject
86
109
  to applicable law.
@@ -9671,7 +9671,7 @@ var VERSION;
9671
9671
  var init_generated_version = __esm({
9672
9672
  "src/generated-version.ts"() {
9673
9673
  "use strict";
9674
- VERSION = "0.21.11";
9674
+ VERSION = "0.21.13";
9675
9675
  }
9676
9676
  });
9677
9677
 
@@ -35559,12 +35559,12 @@ var init_parser2 = __esm({
35559
35559
  if (this.loadedPackDirs.has(projectDir)) return;
35560
35560
  this.loadedPackDirs.add(projectDir);
35561
35561
  const { discoverTagHandlers: discoverTagHandlers2, discoverValidationRuleSets: discoverValidationRuleSets2 } = await Promise.resolve().then(() => (init_registry(), registry_exports));
35562
- const { pathToFileURL: pathToFileURL4 } = await import("node:url");
35562
+ const { pathToFileURL: pathToFileURL5 } = await import("node:url");
35563
35563
  const handlers = await discoverTagHandlers2(projectDir);
35564
35564
  for (const discovered of handlers) {
35565
35565
  if (discovered.tags.every((t) => this.tagRegistry.has(t))) continue;
35566
35566
  try {
35567
- const mod = await import(pathToFileURL4(discovered.absoluteFile).href);
35567
+ const mod = await import(pathToFileURL5(discovered.absoluteFile).href);
35568
35568
  const handlerFn = discovered.exportName ? mod[discovered.exportName] : mod.default;
35569
35569
  if (typeof handlerFn === "function") {
35570
35570
  this.tagRegistry.register(
@@ -35581,7 +35581,7 @@ var init_parser2 = __esm({
35581
35581
  const ruleSets = await discoverValidationRuleSets2(projectDir);
35582
35582
  for (const ruleSet of ruleSets) {
35583
35583
  try {
35584
- const mod = await import(pathToFileURL4(ruleSet.absoluteFile).href);
35584
+ const mod = await import(pathToFileURL5(ruleSet.absoluteFile).href);
35585
35585
  const detectFn = mod[ruleSet.detectExport ?? "detect"];
35586
35586
  const getRulesFn = mod[ruleSet.rulesExport ?? "getRules"];
35587
35587
  if (typeof detectFn === "function" && typeof getRulesFn === "function") {
@@ -61288,7 +61288,8 @@ async function executeWorkflowFromFile(filePath, params, options) {
61288
61288
  );
61289
61289
  if (fs20.existsSync(distEquivalent)) {
61290
61290
  const relative9 = path21.relative(srcDir, distEquivalent);
61291
- const normalized = relative9.startsWith(".") ? relative9 : `./${relative9}`;
61291
+ const posixRelative = relative9.replace(/\\/g, "/");
61292
+ const normalized = posixRelative.startsWith(".") ? posixRelative : `./${posixRelative}`;
61292
61293
  return `from '${normalized}'`;
61293
61294
  }
61294
61295
  }
@@ -70360,6 +70361,7 @@ __export(pack_commands_exports, {
70360
70361
  registerPackCommands: () => registerPackCommands
70361
70362
  });
70362
70363
  import * as path49 from "path";
70364
+ import { pathToFileURL as pathToFileURL4 } from "node:url";
70363
70365
  function compareVersions2(a, b) {
70364
70366
  const pa = a.split(".").map(Number);
70365
70367
  const pb = b.split(".").map(Number);
@@ -70419,7 +70421,7 @@ async function registerPackCommands(program3) {
70419
70421
  sub.allowUnknownOption(true);
70420
70422
  sub.action(async (...actionArgs) => {
70421
70423
  try {
70422
- const bridge = await import(entrypointPath);
70424
+ const bridge = await import(pathToFileURL4(entrypointPath).href);
70423
70425
  const rawArgs = sub.args ?? [];
70424
70426
  await bridge.handleCommand(cmd.name, rawArgs);
70425
70427
  } catch (err) {
@@ -93115,7 +93117,7 @@ function displayInstalledPackage(pkg) {
93115
93117
  // src/cli/index.ts
93116
93118
  init_logger();
93117
93119
  init_error_utils();
93118
- var version2 = true ? "0.21.11" : "0.0.0-dev";
93120
+ var version2 = true ? "0.21.13" : "0.0.0-dev";
93119
93121
  var program2 = new Command();
93120
93122
  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", () => {
93121
93123
  logger.banner(version2);
@@ -9,6 +9,7 @@
9
9
  * when the user actually invokes a pack command.
10
10
  */
11
11
  import * as path from 'path';
12
+ import { pathToFileURL } from 'node:url';
12
13
  import { listInstalledPackages } from '../marketplace/registry.js';
13
14
  import { VERSION } from '../generated-version.js';
14
15
  function compareVersions(a, b) {
@@ -81,7 +82,7 @@ export async function registerPackCommands(program) {
81
82
  sub.allowUnknownOption(true);
82
83
  sub.action(async (...actionArgs) => {
83
84
  try {
84
- const bridge = await import(entrypointPath);
85
+ const bridge = await import(pathToFileURL(entrypointPath).href);
85
86
  // Collect raw args from the sub command
86
87
  const rawArgs = sub.args ?? [];
87
88
  await bridge.handleCommand(cmd.name, rawArgs);
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.21.11";
1
+ export declare const VERSION = "0.21.13";
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.21.11';
2
+ export const VERSION = '0.21.13';
3
3
  //# sourceMappingURL=generated-version.js.map
@@ -86,7 +86,8 @@ export async function executeWorkflowFromFile(filePath, params, options) {
86
86
  const distEquivalent = resolvedSrc.replace(`${path.sep}src${path.sep}`, `${path.sep}dist${path.sep}`);
87
87
  if (fs.existsSync(distEquivalent)) {
88
88
  const relative = path.relative(srcDir, distEquivalent);
89
- const normalized = relative.startsWith('.') ? relative : `./${relative}`;
89
+ const posixRelative = relative.replace(/\\/g, '/');
90
+ const normalized = posixRelative.startsWith('.') ? posixRelative : `./${posixRelative}`;
90
91
  return `from '${normalized}'`;
91
92
  }
92
93
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synergenius/flow-weaver",
3
- "version": "0.21.11",
3
+ "version": "0.21.13",
4
4
  "description": "Deterministic workflow compiler for AI agents. Compiles to standalone TypeScript, no runtime dependencies.",
5
5
  "private": false,
6
6
  "type": "module",