pagesight 0.14.2 → 0.14.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pagesight",
3
- "version": "0.14.2",
3
+ "version": "0.14.3",
4
4
  "description": "See your site the way search engines and AI see it.",
5
5
  "keywords": [
6
6
  "seo",
package/src/tools/page.ts CHANGED
@@ -927,8 +927,8 @@ export function registerPageTool(server: McpServer): void {
927
927
  results.push({
928
928
  url: finalUrl,
929
929
  title: parsed.title
930
- ? parsed.title.length > 40
931
- ? `${parsed.title.slice(0, 40)}...`
930
+ ? parsed.title.length > 60
931
+ ? `${parsed.title.slice(0, parsed.title.lastIndexOf(" ", 60) > 20 ? parsed.title.lastIndexOf(" ", 60) : 60)}...`
932
932
  : parsed.title
933
933
  : "(missing)",
934
934
  description: getMeta(parsed.meta, "description") ? "yes" : "no",