@letterstory/cli 0.176.55 → 0.176.57

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/lib/cli.mjs CHANGED
@@ -85,7 +85,7 @@ import {
85
85
  import { fetchParkedSections, withoutParked } from "./parked.mjs";
86
86
 
87
87
  // Matches cli/package.json; publish-cli.yml rewrites both to the published version.
88
- export const VERSION = "0.176.55";
88
+ export const VERSION = "0.176.57";
89
89
 
90
90
  /** The exit code for a gate refusal (CARD_REQUIRED, PAYMENT_FAILED, OUT_OF_TOKENS): 1 is a plain error. */
91
91
  export const EXIT_PAYMENT_REQUIRED = 3;
@@ -640,8 +640,9 @@ Reviewers:
640
640
  and what Letterpress then does
641
641
  automate show <automation-id>
642
642
  automate add [--template post_new_issues|fix_new_issues|recommended_actions|competitor_pages|competitor_takes|
643
- icp_visitors|vc_visitors|plan_updates|weekly_release_notes|monthly_page_refresh]
644
- [--name <n>] [--trigger competitor_page|visitor_identified|issue_found|build_suggestion|plan_update|custom|schedule]
643
+ competitor_changes|icp_visitors|vc_visitors|plan_updates|weekly_release_notes|monthly_page_refresh]
644
+ [--name <n>] [--trigger competitor_page|competitor_change|visitor_identified|issue_found|build_suggestion|plan_update|custom|
645
+ schedule]
645
646
  [--prompt <what Letterpress does with each event>] [--slack-channel <C…>] [--instruction <which events>]
646
647
  [--event <name>] [--kind post|landing] [--competitor <host>] [--site <host>]
647
648
  [--every <n> --unit hours|days|weeks|months] [--sandbox]
@@ -9,6 +9,7 @@ import { printResult, ok, argsFromFlags, flagList, flagStr, refuseUnknownFlags }
9
9
 
10
10
  const TRIGGERS = [
11
11
  "competitor_page",
12
+ "competitor_change",
12
13
  "visitor_identified",
13
14
  "issue_found",
14
15
  "build_suggestion",
@@ -22,6 +23,7 @@ const TEMPLATES = [
22
23
  "recommended_actions",
23
24
  "competitor_pages",
24
25
  "competitor_takes",
26
+ "competitor_changes",
25
27
  "icp_visitors",
26
28
  "vc_visitors",
27
29
  "plan_updates",
@@ -8,7 +8,7 @@
8
8
  // letterstory visits --kind agent_file --paths 100 --since 7d
9
9
  // letterstory visits compare chatgpt claude --path '/docs/*' --since 7d
10
10
  // letterstory visits citations --since 30d
11
- // letterstory visits people --since 30d people who read the site, and how many were identified
11
+ // letterstory visits people --since 30d [--path /pricing] people who read the site, and how many were identified
12
12
  // letterstory visits export --since 30d --format csv
13
13
  // letterstory visits sites
14
14
  // letterstory visits domain composal.com [--site <id>] move the site to a new domain, keeping its key
@@ -42,7 +42,7 @@ export const ARGS = {
42
42
  paths_limit: { flag: "paths", type: "num" },
43
43
  },
44
44
  visitors_get_citations: { site_id: "site", days },
45
- visitors_get_human_visits: { site_id: "site", days },
45
+ visitors_get_human_visits: { site_id: "site", days, path: "path" },
46
46
  visitors_admin_coverage: { site_id: "site" },
47
47
  visitors_add_connector: {
48
48
  site_id: "site",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@letterstory/cli",
3
- "version": "0.176.55",
3
+ "version": "0.176.57",
4
4
  "description": "Spin up and manage Letter phantom blogs from your terminal.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",