@signaliz/cli 1.0.81 → 1.0.82

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.
Files changed (3) hide show
  1. package/README.md +2 -0
  2. package/dist/bin.js +3 -10
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -68,6 +68,8 @@ signaliz awareness delete --domain acme.com
68
68
  signaliz flow --signal-query "companies with recent hiring" \
69
69
  --campaign-offer "pipeline intelligence"
70
70
  signaliz flow --run-id run_... --json
71
+ # Keep polling the returned run ID until status is completed or failed.
72
+ # Flow leaves generated copy in review and never sends outreach.
71
73
  ```
72
74
 
73
75
  Use `--json` with any product command for structured output.
package/dist/bin.js CHANGED
@@ -1619,6 +1619,9 @@ async function flow() {
1619
1619
  if (!signalQuery || !campaignOffer) {
1620
1620
  fail('Usage: signaliz flow --signal-query "companies with recent hiring" --campaign-offer "your offer" [--limit 5]');
1621
1621
  }
1622
+ if (hasFlag("dry-run")) {
1623
+ throw new CliInputError("Signaliz Flow starts immediately; --dry-run is no longer supported.");
1624
+ }
1622
1625
  const removedFlowControls = [
1623
1626
  "after-date",
1624
1627
  "before-date",
@@ -1660,16 +1663,6 @@ async function flow() {
1660
1663
  requireIntegerInRange(request.signalLimit, "limit", 1, 25);
1661
1664
  requireIntegerInRange(request.lookbackDays, "lookbackDays", 1, 365);
1662
1665
  requireIntegerInRange(request.peoplePerCompany, "peoplePerCompany", 1, 5);
1663
- if (hasFlag("dry-run")) {
1664
- const result2 = await createClient().startFlow({ ...request, dryRun: true });
1665
- output(result2, () => {
1666
- process.stdout.write(`Signaliz Flow plan: up to ${result2.plan.maximumReviewCandidates} review candidates. No work was dispatched.
1667
- `);
1668
- for (const safeguard of result2.plan.safeguards) process.stdout.write(`- ${safeguard}
1669
- `);
1670
- });
1671
- return;
1672
- }
1673
1666
  const result = await createClient().startFlow(request);
1674
1667
  output(result, () => process.stdout.write(`Signaliz Flow started: ${result.runId}
1675
1668
  Check status: signaliz flow --run-id ${result.runId}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@signaliz/cli",
3
- "version": "1.0.81",
3
+ "version": "1.0.82",
4
4
  "description": "Signaliz CLI for Company Signal Enrichment, Signals First, Signal Awareness, Signal to Copy AI, and Signaliz Flow.",
5
5
  "bin": {
6
6
  "signaliz": "dist/bin.js"