@cobola/dsh-geo 0.3.0 → 0.3.1
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/CHANGELOG.md +15 -0
- package/client.js +17 -4
- package/docs/index.json +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.3.1 - 2026-11-29
|
|
4
|
+
|
|
5
|
+
### Fixes
|
|
6
|
+
|
|
7
|
+
- The visibility dashboard now names the audited site in its header, so it is
|
|
8
|
+
clear which site the score, trend and platform results belong to.
|
|
9
|
+
- The settings panel states that it configures scan behaviour only and is not
|
|
10
|
+
tied to any site.
|
|
11
|
+
|
|
12
|
+
### Tests
|
|
13
|
+
|
|
14
|
+
- Panel tests now render the dashboard component in loading, empty, error and
|
|
15
|
+
ready states, and assert the audited site URL is displayed.
|
|
16
|
+
|
|
17
|
+
|
|
3
18
|
## 0.2.0 - 2026-11-29
|
|
4
19
|
|
|
5
20
|
- Published as the scoped npm package `@cobola/dsh-geo` (the unscoped `dsh-geo` name was refused by npm for being too similar to `d3-geo`).
|
package/client.js
CHANGED
|
@@ -20,7 +20,7 @@ window.__ModuleLoader__.load({
|
|
|
20
20
|
zh: {
|
|
21
21
|
nav: '网站可见性体检',
|
|
22
22
|
title: '网站可见性体检设置',
|
|
23
|
-
lede: '
|
|
23
|
+
lede: '这里只配置扫描行为和报告位置,不对应任何具体网站;站点数据由每次 geo_scan 产生。改动立即生效,不影响评分规则。',
|
|
24
24
|
tools: '可用工具',
|
|
25
25
|
toolsHint: '在对话里让 agent 扫描站点、生成修复清单,改完代码后再扫一次对比分数。报告写入工作区里配置的报告目录(默认 .dsh-geo/)。',
|
|
26
26
|
crawl: '抓取',
|
|
@@ -56,7 +56,8 @@ window.__ModuleLoader__.load({
|
|
|
56
56
|
badge: '可复现规则评分 · 不预测排名',
|
|
57
57
|
navDashboard: '可见性效果看板',
|
|
58
58
|
dashTitle: '可见性效果看板',
|
|
59
|
-
|
|
59
|
+
dashSite: '体检站点',
|
|
60
|
+
dashLede: '下面所有数据都针对上方这一个站点,来自本地 .dsh-geo/ 扫描历史。这不是 GSC 或 Perplexity 的流量数据,真实曝光与点击请到对应平台查看。',
|
|
60
61
|
dashScore: '总分',
|
|
61
62
|
dashDelta: '较上次',
|
|
62
63
|
dashDimensions: '五维',
|
|
@@ -81,7 +82,7 @@ window.__ModuleLoader__.load({
|
|
|
81
82
|
en: {
|
|
82
83
|
nav: 'Website visibility audit',
|
|
83
84
|
title: 'Website visibility audit settings',
|
|
84
|
-
lede: 'These settings
|
|
85
|
+
lede: 'These settings configure scan behaviour and report location only — they are not tied to any site. Site data comes from each geo_scan run, and these values never change the rubric.',
|
|
85
86
|
tools: 'Tools',
|
|
86
87
|
toolsHint: 'Ask the agent to audit a site, generate a fix plan, then audit again after the code changes. Reports live in the configured report directory (default .dsh-geo/).',
|
|
87
88
|
crawl: 'Crawl',
|
|
@@ -117,7 +118,8 @@ window.__ModuleLoader__.load({
|
|
|
117
118
|
badge: 'Reproducible checks · no ranking prediction',
|
|
118
119
|
navDashboard: 'Visibility dashboard',
|
|
119
120
|
dashTitle: 'Visibility dashboard',
|
|
120
|
-
|
|
121
|
+
dashSite: 'Audited site',
|
|
122
|
+
dashLede: 'Everything below describes the single site above, from local .dsh-geo/ scan history. This is not GSC or Perplexity traffic data; see those platforms for real impressions and clicks.',
|
|
121
123
|
dashScore: 'Score',
|
|
122
124
|
dashDelta: 'vs previous',
|
|
123
125
|
dashDimensions: 'Dimensions',
|
|
@@ -489,6 +491,7 @@ window.__ModuleLoader__.load({
|
|
|
489
491
|
}, []);
|
|
490
492
|
|
|
491
493
|
const children = [];
|
|
494
|
+
const auditedSite = state.data && state.data.url ? state.data.url : null;
|
|
492
495
|
children.push(h('div', { key: 'head', style: { display: 'flex', flexDirection: 'column', gap: 8 } },
|
|
493
496
|
h('div', { style: { display: 'flex', alignItems: 'center', justifyContent: 'space-between', gap: 12 } },
|
|
494
497
|
h('h2', { style: styles.title }, t('dashTitle')),
|
|
@@ -496,6 +499,16 @@ window.__ModuleLoader__.load({
|
|
|
496
499
|
type: 'button', style: styles.ghost, disabled: refreshing,
|
|
497
500
|
onClick: () => { void load(true); },
|
|
498
501
|
}, refreshing ? t('loading') : t('dashRefresh'))),
|
|
502
|
+
auditedSite
|
|
503
|
+
? h('div', { style: { display: 'flex', alignItems: 'baseline', gap: 8, flexWrap: 'wrap' } },
|
|
504
|
+
h('span', { style: styles.dashCap }, `${t('dashSite')}:`),
|
|
505
|
+
h('a', {
|
|
506
|
+
href: auditedSite,
|
|
507
|
+
target: '_blank',
|
|
508
|
+
rel: 'noreferrer',
|
|
509
|
+
style: { ...styles.mono, fontSize: 14, fontWeight: 600, color: 'var(--dsw-alias-brand-primary, #0969da)' },
|
|
510
|
+
}, auditedSite))
|
|
511
|
+
: null,
|
|
499
512
|
h('p', { style: styles.lede }, t('dashLede')),
|
|
500
513
|
state.session && state.session.cwd
|
|
501
514
|
? h('div', { style: styles.hint },
|
package/docs/index.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cobola/dsh-geo",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "Read-only, reproducible GEO/SEO website audits for DeepSeek Harness: inspect crawlability and citation-ready structure, return evidence and prioritized fixes, and never edit the site or promise rankings.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|