@lv24/seo 0.5.1 → 0.5.3

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 (2) hide show
  1. package/README.md +41 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -20,16 +20,16 @@ into the unpinned (`latest`) lookup.
20
20
 
21
21
  ## Status
22
22
 
23
- Beta. The current Python/NPM line ships 11 MCP tools (9 read-only; the two local-state
24
- writers are annotated `readOnlyHint: false`), 3 resources,
25
- 3 prompts, the full CLI, scheduler generators and a product-grade weekly email. Recent
23
+ Beta. `@lv24/seo 0.5.3` launches `lv24-seo 0.5.3` and ships 11 MCP tools (9 read-class: 7 pure
24
+ read-only plus the two local-state writers annotated `readOnlyHint: false`), 3 resources, 3 prompts,
25
+ 3 skills, the 17-command CLI, scheduler generators and a product-grade weekly email. Recent
26
26
  additions:
27
27
 
28
28
  * **Localized product email** — `report weekly --send` renders a 600px inline-CSS digest in
29
29
  `ru`, `en` or `zh`: KPI cards for clicks/impressions/CTR/position, top-3 opportunities,
30
30
  issue severities, merged sources, data notes and a property/UTC footer. Plain-text fallback
31
31
  and subject are localized too; JSON/MCP payloads stay canonical English. Unknown values stay
32
- unknown, CTR changes are shown in percentage points, and Metrica is labelled as sessions,
32
+ unknown, CTR changes are shown in percentage points, and Metrika is labelled as sessions,
33
33
  never as clicks. Set the language once with `report.locale`.
34
34
  * **Week-over-week report diff** — `report diff` and the `seo_report_diff` MCP tool compare two
35
35
  stored weekly snapshots without provider calls. Metrics present on one side only stay unknown,
@@ -42,6 +42,29 @@ additions:
42
42
  * **Honest bounds** — `meta.complete`, `truncated`, `total` and `limitations[]` are carried through
43
43
  MCP, CLI and reports; unknown totals stay `null`; delivery is idempotent per period and channel.
44
44
 
45
+ ### MCP tools
46
+
47
+ | Tool | Kind | Notes |
48
+ |---|---|---|
49
+ | `seo_properties` | read | Configured providers, targets, token presence |
50
+ | `gsc_search_analytics` | read | GSC query/page/country/device rows |
51
+ | `yandex_query_stats` | read | Top Yandex queries |
52
+ | `yandex_indexing_state` | read | Indexing history, events, problems |
53
+ | `seo_crawl_site` | read + local state | Crawl; stores pages/issues, `readOnlyHint: false` |
54
+ | `seo_weekly_report` | read + local state | Weekly digest; stores a snapshot, `readOnlyHint: false` |
55
+ | `seo_report_diff` | read | Diff two stored snapshots |
56
+ | `seo_indexing_triage` | read | Group indexing problems into actions |
57
+ | `seo_opportunities` | read | Striking-distance and decay opportunities |
58
+ | `seo_recrawl_request` | write | Yandex recrawl queue, `allow_write=true` |
59
+ | `seo_sitemap_submit` | write | GSC/Bing sitemap, `allow_write=true` |
60
+
61
+ The two local-state tools are not destructive; the two provider writes are
62
+ annotated `destructiveHint: true`, gated by `allow_write=true`, and return `WRITE_DISABLED` in 0.5.3
63
+ because the write adapters are not wired yet. Yandex Metrika has its own auth provider:
64
+ `npx @lv24/seo auth set --provider metrika --stdin` stores `yandex_metrika_token`, separate from the
65
+ Webmaster token. Full inputs and limits:
66
+ [`docs/mcp.md`](https://github.com/LevapVeeskela/lv24-seo-optimizer/blob/main/docs/mcp.md).
67
+
45
68
  ## Requirements
46
69
 
47
70
  * [uv](https://docs.astral.sh/uv/) (recommended) **or** an installed `lv24-seo` binary
@@ -54,10 +77,13 @@ additions:
54
77
  npx @lv24/seo doctor --json
55
78
  npx @lv24/seo init --property https://example.com
56
79
  npx @lv24/seo auth set --provider gsc --stdin
80
+ npx @lv24/seo auth set --provider metrika --stdin
81
+ npx @lv24/seo properties --json # configured providers + token presence
57
82
  npx @lv24/seo gsc query --start 2026-11-01 --end 2026-11-07 --dimensions query,page
58
83
  npx @lv24/seo report weekly --json --out reports/
59
84
  npx @lv24/seo report weekly --send # product email/Telegram digest
60
85
  npx @lv24/seo report diff --markdown # diff of two stored weekly snapshots
86
+ npx @lv24/seo stats --days 7 --json # per-provider dashboard snapshot
61
87
  npx @lv24/seo crawl --json # issues + sitemap↔crawl coverage diff
62
88
  npx @lv24/seo mcp serve # stdio MCP server for Claude/OpenCode/Cursor
63
89
  npx @lv24/seo export skills --out ./skills # packaged agent skills
@@ -108,6 +134,14 @@ called; write tools require `allow_write=true` and are disabled by default.
108
134
  Tokens are read from the keychain (set them with `lv24-seo auth set`) or from `LV24_SEO_*`
109
135
  environment variables. Nothing is written by this wrapper.
110
136
 
137
+ The desktop app and the CLI share the same OS keychain entry per provider (and per delivery secret):
138
+ service `lv24-seo`, usernames `gsc_token`, `yandex_webmaster_token`, `yandex_metrika_token`,
139
+ `bing_api_key`, `crux_api_key`, `psi_api_key`, `smtp_password`, `telegram_bot_token`. A token entered
140
+ with `lv24-seo auth set` is visible to the desktop's `auth status` and vice versa. `LV24_SEO_*`
141
+ variables are inherited by the desktop's CLI runner. The opt-in `<data-dir>/secrets.json` fallback
142
+ (0600 on POSIX, ACLs on Windows) is shared only when both surfaces use the same workspace/data
143
+ directory.
144
+
111
145
  If auto-detection picks the wrong binary, point it explicitly (must be absolute):
112
146
 
113
147
  ```bash
@@ -133,6 +167,9 @@ npm test # node --test test/launcher.test.js, offline: pinning, guards, exit c
133
167
  ## Links
134
168
 
135
169
  * Repository and full docs: <https://github.com/LevapVeeskela/lv24-seo-optimizer>
170
+ * Desktop app (same engine): Windows NSIS/portable ZIP, Linux AppImage/deb/rpm, macOS arm64/x64
171
+ DMG; signed updates for NSIS, `.app` and AppImage:
172
+ <https://github.com/LevapVeeskela/lv24-seo-optimizer-desktop>
136
173
  * CLI, MCP tools, email scheduling and limits: `docs/cli.md`, `docs/mcp.md`,
137
174
  `docs/scheduling.md`, `docs/data-sources.md`
138
175
  * Release notes: <https://github.com/LevapVeeskela/lv24-seo-optimizer/tree/main/docs/releases>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lv24/seo",
3
- "version": "0.5.1",
3
+ "version": "0.5.3",
4
4
  "description": "SEO audits and diff reports from Search Console, Yandex, Bing, CrUX and PSI - npx CLI + MCP.",
5
5
  "keywords": [
6
6
  "seo",