Skip to content

Releases

@cobola/dsh-geo v0.15.0 — M2

Choose a tag to compare

@cobola cobola released this 30 Nov 02:23

M2「看完分数知道先改什么、改完能证明改对了」

新增

  • 每条规则声明 effort(改几行 / 改模板或内容 / 动架构)与 rootCause。修复清单按根因分组,组间按「一次改动能清几条 ÷ 成本」排序,组内先出便宜的。
  • docs/WORKFLOW.md:一次完整的「改 → 扫 → 验证」,含四种常见误判(--now 不一致、改动碰坏别的规则、本地与 CI 配置不同、平台分与 Core 分混淆)。

成本与根因是工程判断,不参与任何评分,只决定先后。分数、findings、等级均未改变,--now 仍保证逐字节可复现。

修复(真实站点审计中发现)

  • AI 爬虫策略按用途判定。拒绝训练爬虫、保留搜索爬虫是正常的内容策略,不是可见性缺陷;只有封掉搜索爬虫才会让站点从 AI 答案中消失。此前一条 robots.txt 拒绝 7 个训练爬虫、保留 4 个搜索爬虫的站点被判为 warn「明确拒绝 AI 爬虫」。
  • 死链接单独报告。页脚有 href="#" 的 “Privacy Policy” 时,此前报「没有隐私政策链接」;现在指出链接存在但无效——站点确实声称有政策。
  • 入口页数字标注范围。入口页 0/64 不再被误读为全站总数。
  • 排除的维度不再显示为 0 分。summarizeReport 保留 scored / ruleCount / effort,模型读到的文本写 not evaluated (excluded from the total)。
  • 无 robots.txt 时给出提示:平台分高意味着「没有拦截」,不等于「优化得好」。
  • 分数报告与修复清单共用一套排序(rules.js 的 orderActions),不会再互相矛盾。

校验

npm test → 141 pass / 0 fail
语法:index.js client.js lib/*.js lib/platforms/*.js bin/*.js 全部通过
JSON:package.json package-lock.json docs/index.json locale/*.json 全部合法

@cobola/dsh-geo v0.14.0 — M1

Choose a tag to compare

@cobola cobola released this 29 Nov 16:01

首个按里程碑发布的版本。此前 0.x 每个版本只装一个功能,从本版起按 MILESTONES.md 的规则发版。

M1「陌生人装上,问一句,拿到可信的答案」

装好插件、重启 DSH,在网站项目里直接问「我这个站的 GEO 得分怎么样?」。

新增

  • 从项目推断站点:package.json 的 dshGeo.site → .dsh-geo/site.json → Nginx server_name → Caddy → CNAME → package 元数据。
  • 置信度分级:声明和部署事实算 high;package 元数据算 low,此时工具停下来问,不拿猜测去抓。
  • rememberSiteUrl:站点一旦确定就写进 package.json 的 dshGeo.site(没有 manifest 时写 .dsh-geo/site.json),下次不用再给 URL。
  • README 说明:第一句话问什么、分数怎么读、报告落在哪、本地/预发开关怎么找。

变更

  • 审计工具不再要求 URL。
  • 工具描述按用户提问方式编写,中英双语触发词,并指示模型跟随用户语言回复。
  • 项目不发布网站是正当结论:工具会说明并停止,而不是去找一个相邻的站点来凑。

修复

  • package.json 的 homepage 指向代码托管站时,不再被当成站点。
  • 卡片行布局不再截断标签,进度条与分数列比例正确。

移除

  • README 里过期的版本号(停在 0.2.0,落后十一个版本)。

校验

npm test → 137 pass / 0 fail
语法检查:index.js client.js lib/*.js lib/platforms/*.js bin/*.js 全部通过
JSON 校验:package.json package-lock.json docs/index.json locale/*.json 全部合法

@cobola/dsh-geo v0.13.0

Choose a tag to compare

@cobola cobola released this 29 Nov 15:21

Changed

  • The audit tools no longer require a URL. When a user asks "how does my site
    score", the site is resolved from the workspace (.dsh-geo/site.json,
    package.json homepage or repository, CNAME) and the source is reported.
  • When nothing resolves, the tools fail with an instruction to ask the user
    which site to audit. There is no fallback site.
  • Tool descriptions now lead with the user questions the tools answer rather
    than with the mechanism, and drop the stale "45 checks" and old settings name.

Fixed

  • A package.json homepage pointing at a code host is no longer treated as the
    site. A GitHub repository instead derives its Pages URL; other code hosts
    resolve to nothing rather than to a wrong target.

@cobola/dsh-geo v0.12.0

Choose a tag to compare

@cobola cobola released this 29 Nov 13:02

Removed

  • Delete lib/profiles.js and its test. It was the original platform evidence
    registry, superseded by lib/platforms/*; no production code imported it.
  • Stop writing .dsh-geo/dashboard.json. It duplicated state already held in
    history/, and nothing read it after the dashboard page left Settings.
  • Drop the unused sessions and remote.workspaceFiles injections from the
    client half.

Features

  • Add dsh-geo trend, which derives the score trend from history/ instead of a
    separately maintained file. Exits 4 when there is no history.

@cobola/dsh-geo v0.11.0

Choose a tag to compare

@cobola cobola released this 29 Nov 10:51

Features

  • Schema.org completeness: every typed entity is compared against the
    properties its type needs, and the gap is named.
  • Page-type/schema matching, inferred from observable signals only and reported
    as a warning — never a hard failure.
  • Optional WebMCP check (W3C Web ML CG draft): forms declaring
    toolname/tooldescription are recognised; plain search forms report skip.
  • Rubric 53 → 56 checks (SEO 28 / AEO 16 / GEO 12).

Notes

  • Google rich-result membership is encoded separately from schema.org
    requirements, so the audit never implies a rich result it cannot verify.

@cobola/dsh-geo v0.10.0

Choose a tag to compare

@cobola cobola released this 29 Nov 10:51

Features

  • Add the SEO / AEO / GEO pillar view. Every rule declares one pillar, and pillar
    scores appear in the CLI, audit report, tool result and in-chat card. Pillars
    are a second view over the same findings and never change the Core total.
  • Add eight checks: viewport, image dimensions, lazy loading, URL structure and
    hreflang (SEO); answer-first opening, question-heading density and extractable
    term blocks (AEO).
  • Rubric 45 → 53 checks (SEO 26 / AEO 16 / GEO 11).

@cobola/dsh-geo v0.9.0

Choose a tag to compare

@cobola cobola released this 29 Nov 10:26

Features

  • Add generate-llms and generate-faq (CLI) plus geo_generate_llms and
    geo_generate_faq (MCP): build an llms.txt and FAQPage JSON-LD from the pages
    that were actually crawled.
  • Section extraction now groups each heading with the prose and lists that
    follow it, which both generators read.

Fixes

  • The content container is now the largest <article>/<main> rather than the
    first one. A decorative card placed before the real content used to make a
    content-rich page look like a JavaScript shell: journal123.com scored 79.3
    instead of 71.9 once that false finding disappeared.

Boundaries

  • Both generators only extract: llms.txt sections come from real headings and
    anchors, FAQ answers are each section's own prose, and a missing meta
    description is stated rather than invented.
  • A site with no question-shaped heading that has a real answer yields no FAQ
    document (exit code 4) instead of a fabricated one.
  • Both outputs state that Google Search does not use llms.txt, and that Google
    restricted FAQ rich results to authoritative government and health sites in
    August 2023.

@cobola/dsh-geo v0.8.0

Choose a tag to compare

@cobola cobola released this 29 Nov 10:16

Features

  • Add a zero-dependency MCP server (dsh-geo mcp, plus the dsh-geo-mcp
    binary) exposing geo_scan, geo_fix_plan and geo_history over stdio
    JSON-RPC, so MCP clients such as Cursor and Claude Code can audit a workspace
    directly.
  • geo_scan over MCP persists reports by default, since the usual next call is
    geo_fix_plan, which reads the saved audit.

Design notes

  • The stdio transport is implemented directly rather than through the official
    SDK: the protocol surface used here is small, while the SDK brings ~6 MB plus
    express, hono and ajv.
  • Tool failures return isError: true results rather than protocol errors, so a
    model can read the reason and decide what to do next.
  • allowPrivate / insecureTls exist only in test contexts; the stdio server
    never enables them, so external MCP clients cannot reach private networks.

Usage

{
  "mcpServers": {
    "dsh-geo": { "command": "npx", "args": ["-y", "@cobola/dsh-geo", "mcp"] }
  }
}

@cobola/dsh-geo v0.7.0

Choose a tag to compare

@cobola cobola released this 29 Nov 10:06

Features

  • Add the OpenAI profile: OAI-SearchBot (search) and GPTBot (training) are
    checked separately, including a warning when a training block also removes the
    site from search.
  • Add the Perplexity profile: PerplexityBot (index) and Perplexity-User
    (live fetch) are checked separately, with an explicit verdict for the
    index-only trade-off.
  • The scan artifact now records per-crawler robots facts.

Fixtures

  • The good fixture declares OAI-SearchBot and Perplexity-User, demonstrating
    the separate search/training and index/fetch declarations.

Profiles today

Bing / Copilot, 百度搜索, OpenAI / ChatGPT and Perplexity each score separately and
never change the Core total. Every profile states what its platform has not
published.

@cobola/dsh-geo v0.6.0

Choose a tag to compare

@cobola cobola released this 29 Nov 09:55

Features

  • dsh-geo ci plus a bundled GitHub composite action: audit a site, compare it
    with a baseline committed in the repository, and fail the job when the score
    drops or a previously passing rule regresses.
  • Emits a Markdown summary for $GITHUB_STEP_SUMMARY, a machine-readable JSON
    report, and an optional human-readable report.
  • Example workflows for the audit job and for creating the baseline.

Fixes

  • A baseline describing another site is reported as different-site and is never
    overwritten; a new baseline is written only when none was supplied.

Documentation

  • The README now leads with the readiness-versus-results boundary: the score
    describes crawlable structure, not rankings, traffic or AI citations.