@swmansion/argent 0.18.1-next.21 → 0.18.1-next.22

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/dist/cli.js CHANGED
@@ -73,7 +73,7 @@ Commands:
73
73
  remove ${installerHelpEntry("remove")}
74
74
  tools List tools exposed by the tool-server
75
75
  run Invoke a tool by name (use \`argent run <tool> --help\` for flags)
76
- flow Run a saved flow (use \`argent flow --help\` for options)
76
+ flow Run a flow by name or YAML path (use \`argent flow --help\` for options)
77
77
  server Manage the shared tool-server (start / status / stop / logs)
78
78
  lens Open Argent Lens bound to a fresh coding-agent session (macOS)
79
79
  link Route client requests to a remote tool-server
@@ -16336,6 +16336,11 @@ import { stat } from "node:fs/promises";
16336
16336
  import { randomUUID } from "node:crypto";
16337
16337
  import { basename, extname } from "node:path";
16338
16338
 
16339
+ // ../registry/src/file-inputs.ts
16340
+ var FLOW_NAME_CHARSET = "[A-Za-z0-9_-]+";
16341
+ var FLOW_NAME_PATTERN = new RegExp(`^${FLOW_NAME_CHARSET}$`);
16342
+ var FLOW_FILE_NAME_PATTERN = new RegExp(`^${FLOW_NAME_CHARSET}\\.yaml$`);
16343
+
16339
16344
  // ../registry/src/failure-codes.ts
16340
16345
  var FAILURE_CODES = {
16341
16346
  ARGENT_UNCLASSIFIED_FAILURE: "ARGENT_UNCLASSIFIED_FAILURE",